All Downloads are FREE. Search and download functionalities are using the official Maven repository.

package.cjs.react-utils.index.js Maven / Gradle / Ivy

Go to download

A package encapsulating common code across neeto projects including initializers, utility functions, common components and hooks and so on.

There is a newer version: 4.12.3
Show newest version
"use strict";

var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
var _typeof = require("@babel/runtime/helpers/typeof");
Object.defineProperty(exports, "__esModule", {
  value: true
});
var _exportNames = {
  HoneybadgerErrorBoundary: true,
  PrivateRoute: true,
  PageTitle: true,
  useDebounce: true,
  useDisplayErrorPage: true,
  useFetchNeetoApps: true,
  useFieldSubmit: true,
  useFuncDebounce: true,
  useIsElementVisibleInDom: true,
  useKeyboardShortcutsPaneState: true,
  useLocalStorage: true,
  useMutationWithInvalidation: true,
  useOnClickOutside: true,
  usePersistedQuery: true,
  usePrevious: true,
  useQueryParams: true,
  useRegisterNavigationCheckpoint: true,
  useStateWithDependency: true,
  useTimer: true,
  useUpdateEffect: true,
  useBreakpoints: true,
  useRestoreScrollPosition: true,
  withImmutableActions: true,
  withT: true,
  withTitle: true,
  QueryClientProvider: true,
  AppContainer: true
};
Object.defineProperty(exports, "AppContainer", {
  enumerable: true,
  get: function get() {
    return _AppContainer["default"];
  }
});
Object.defineProperty(exports, "HoneybadgerErrorBoundary", {
  enumerable: true,
  get: function get() {
    return _HoneybadgerErrorBoundary["default"];
  }
});
Object.defineProperty(exports, "PageTitle", {
  enumerable: true,
  get: function get() {
    return _PageTitle["default"];
  }
});
Object.defineProperty(exports, "PrivateRoute", {
  enumerable: true,
  get: function get() {
    return _PrivateRoute["default"];
  }
});
Object.defineProperty(exports, "QueryClientProvider", {
  enumerable: true,
  get: function get() {
    return _QueryClientProvider["default"];
  }
});
Object.defineProperty(exports, "useBreakpoints", {
  enumerable: true,
  get: function get() {
    return _useBreakpoints["default"];
  }
});
Object.defineProperty(exports, "useDebounce", {
  enumerable: true,
  get: function get() {
    return _useDebounce["default"];
  }
});
Object.defineProperty(exports, "useDisplayErrorPage", {
  enumerable: true,
  get: function get() {
    return _useDisplayErrorPage["default"];
  }
});
Object.defineProperty(exports, "useFetchNeetoApps", {
  enumerable: true,
  get: function get() {
    return _useFetchNeetoApps["default"];
  }
});
Object.defineProperty(exports, "useFieldSubmit", {
  enumerable: true,
  get: function get() {
    return _useFieldSubmit["default"];
  }
});
Object.defineProperty(exports, "useFuncDebounce", {
  enumerable: true,
  get: function get() {
    return _useFuncDebounce["default"];
  }
});
Object.defineProperty(exports, "useIsElementVisibleInDom", {
  enumerable: true,
  get: function get() {
    return _useIsElementVisibleInDom["default"];
  }
});
Object.defineProperty(exports, "useKeyboardShortcutsPaneState", {
  enumerable: true,
  get: function get() {
    return _useKeyboardShortcutsPaneState["default"];
  }
});
Object.defineProperty(exports, "useLocalStorage", {
  enumerable: true,
  get: function get() {
    return _useLocalStorage["default"];
  }
});
Object.defineProperty(exports, "useMutationWithInvalidation", {
  enumerable: true,
  get: function get() {
    return _useMutationWithInvalidation["default"];
  }
});
Object.defineProperty(exports, "useOnClickOutside", {
  enumerable: true,
  get: function get() {
    return _useOnClickOutside["default"];
  }
});
Object.defineProperty(exports, "usePersistedQuery", {
  enumerable: true,
  get: function get() {
    return _usePersistedQuery["default"];
  }
});
Object.defineProperty(exports, "usePrevious", {
  enumerable: true,
  get: function get() {
    return _usePrevious["default"];
  }
});
Object.defineProperty(exports, "useQueryParams", {
  enumerable: true,
  get: function get() {
    return _useQueryParams["default"];
  }
});
Object.defineProperty(exports, "useRegisterNavigationCheckpoint", {
  enumerable: true,
  get: function get() {
    return _useRegisterNavigationCheckpoint["default"];
  }
});
Object.defineProperty(exports, "useRestoreScrollPosition", {
  enumerable: true,
  get: function get() {
    return _useRestoreScrollPosition["default"];
  }
});
Object.defineProperty(exports, "useStateWithDependency", {
  enumerable: true,
  get: function get() {
    return _useStateWithDependency["default"];
  }
});
Object.defineProperty(exports, "useTimer", {
  enumerable: true,
  get: function get() {
    return _useTimer["default"];
  }
});
Object.defineProperty(exports, "useUpdateEffect", {
  enumerable: true,
  get: function get() {
    return _useUpdateEffect["default"];
  }
});
Object.defineProperty(exports, "withImmutableActions", {
  enumerable: true,
  get: function get() {
    return _withImmutableActions["default"];
  }
});
Object.defineProperty(exports, "withT", {
  enumerable: true,
  get: function get() {
    return _withT["default"];
  }
});
Object.defineProperty(exports, "withTitle", {
  enumerable: true,
  get: function get() {
    return _withTitle["default"];
  }
});
var _HoneybadgerErrorBoundary = _interopRequireDefault(require("./HoneybadgerErrorBoundary"));
var _PrivateRoute = _interopRequireDefault(require("./PrivateRoute"));
var _PageTitle = _interopRequireDefault(require("./PageTitle"));
var _useDebounce = _interopRequireDefault(require("./useDebounce"));
var _useDisplayErrorPage = _interopRequireWildcard(require("./useDisplayErrorPage"));
Object.keys(_useDisplayErrorPage).forEach(function (key) {
  if (key === "default" || key === "__esModule") return;
  if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
  if (key in exports && exports[key] === _useDisplayErrorPage[key]) return;
  Object.defineProperty(exports, key, {
    enumerable: true,
    get: function get() {
      return _useDisplayErrorPage[key];
    }
  });
});
var _useFetchNeetoApps = _interopRequireDefault(require("./useFetchNeetoApps"));
var _useFieldSubmit = _interopRequireDefault(require("./useFieldSubmit"));
var _useFuncDebounce = _interopRequireDefault(require("./useFuncDebounce"));
var _useIsElementVisibleInDom = _interopRequireDefault(require("./useIsElementVisibleInDom"));
var _useKeyboardShortcutsPaneState = _interopRequireDefault(require("./useKeyboardShortcutsPaneState"));
var _useLocalStorage = _interopRequireDefault(require("./useLocalStorage"));
var _useMutationWithInvalidation = _interopRequireDefault(require("./useMutationWithInvalidation"));
var _useOnClickOutside = _interopRequireDefault(require("./useOnClickOutside"));
var _usePersistedQuery = _interopRequireDefault(require("./usePersistedQuery"));
var _usePrevious = _interopRequireDefault(require("./usePrevious"));
var _useQueryParams = _interopRequireDefault(require("./useQueryParams"));
var _useRegisterNavigationCheckpoint = _interopRequireWildcard(require("./useRegisterNavigationCheckpoint"));
Object.keys(_useRegisterNavigationCheckpoint).forEach(function (key) {
  if (key === "default" || key === "__esModule") return;
  if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
  if (key in exports && exports[key] === _useRegisterNavigationCheckpoint[key]) return;
  Object.defineProperty(exports, key, {
    enumerable: true,
    get: function get() {
      return _useRegisterNavigationCheckpoint[key];
    }
  });
});
var _useStateWithDependency = _interopRequireDefault(require("./useStateWithDependency"));
var _useTimer = _interopRequireDefault(require("./useTimer"));
var _useUpdateEffect = _interopRequireDefault(require("./useUpdateEffect"));
var _useBreakpoints = _interopRequireDefault(require("./useBreakpoints"));
var _useRestoreScrollPosition = _interopRequireWildcard(require("./useRestoreScrollPosition"));
Object.keys(_useRestoreScrollPosition).forEach(function (key) {
  if (key === "default" || key === "__esModule") return;
  if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
  if (key in exports && exports[key] === _useRestoreScrollPosition[key]) return;
  Object.defineProperty(exports, key, {
    enumerable: true,
    get: function get() {
      return _useRestoreScrollPosition[key];
    }
  });
});
var _BrowserPushNotifications = require("./BrowserPushNotifications");
Object.keys(_BrowserPushNotifications).forEach(function (key) {
  if (key === "default" || key === "__esModule") return;
  if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
  if (key in exports && exports[key] === _BrowserPushNotifications[key]) return;
  Object.defineProperty(exports, key, {
    enumerable: true,
    get: function get() {
      return _BrowserPushNotifications[key];
    }
  });
});
var _metaClick = require("./metaClick");
Object.keys(_metaClick).forEach(function (key) {
  if (key === "default" || key === "__esModule") return;
  if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
  if (key in exports && exports[key] === _metaClick[key]) return;
  Object.defineProperty(exports, key, {
    enumerable: true,
    get: function get() {
      return _metaClick[key];
    }
  });
});
var _withImmutableActions = _interopRequireDefault(require("./withImmutableActions"));
var _withT = _interopRequireDefault(require("./withT"));
var _withTitle = _interopRequireDefault(require("./withTitle"));
var _QueryClientProvider = _interopRequireWildcard(require("./QueryClientProvider"));
Object.keys(_QueryClientProvider).forEach(function (key) {
  if (key === "default" || key === "__esModule") return;
  if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
  if (key in exports && exports[key] === _QueryClientProvider[key]) return;
  Object.defineProperty(exports, key, {
    enumerable: true,
    get: function get() {
      return _QueryClientProvider[key];
    }
  });
});
var _AppContainer = _interopRequireDefault(require("./AppContainer"));
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
//# sourceMappingURL=index.js.map




© 2015 - 2024 Weber Informatics LLC | Privacy Policy