@bigbinary/neeto-commons-frontend 4.6.2 → 4.8.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +195 -0
- package/configs/babel.js +0 -1
- package/configs/scripts/getPkgTranslations.js +1 -1
- package/configs/scripts/jsdoc-builder/constants.mjs +0 -1
- package/configs/scripts/jsdoc-builder/index.mjs +4 -11
- package/configs/scripts/jsdoc-builder/utils.mjs +2 -4
- package/configs/webpack/rules.js +1 -1
- package/dist/_commonjsHelpers-ae89b920.js +6 -0
- package/dist/_commonjsHelpers-ae89b920.js.map +1 -0
- package/dist/cjs/_commonjsHelpers-755157d3.js +8 -0
- package/dist/cjs/_commonjsHelpers-755157d3.js.map +1 -0
- package/dist/cjs/constants/index.js +29 -0
- package/dist/cjs/constants/index.js.map +1 -0
- package/dist/cjs/constants/regex.js +12 -0
- package/dist/cjs/constants/regex.js.map +1 -0
- package/dist/cjs/cypress-utils/.eslintrc.js +40 -0
- package/dist/cjs/cypress-utils/.eslintrc.js.map +1 -0
- package/dist/cjs/cypress-utils/commands.js +290 -0
- package/dist/cjs/cypress-utils/commands.js.map +1 -0
- package/dist/cjs/cypress-utils/constants/index.js +13 -0
- package/dist/cjs/cypress-utils/constants/index.js.map +1 -0
- package/dist/cjs/cypress-utils/constants/routes.js +42 -0
- package/dist/cjs/cypress-utils/constants/routes.js.map +1 -0
- package/dist/cjs/cypress-utils/constants/selectors/common.js +105 -0
- package/dist/cjs/cypress-utils/constants/selectors/common.js.map +1 -0
- package/dist/cjs/cypress-utils/constants/selectors/editor.js +31 -0
- package/dist/cjs/cypress-utils/constants/selectors/editor.js.map +1 -0
- package/dist/cjs/cypress-utils/constants/selectors/ipRestriction.js +21 -0
- package/dist/cjs/cypress-utils/constants/selectors/ipRestriction.js.map +1 -0
- package/dist/cjs/cypress-utils/constants/selectors/login.js +23 -0
- package/dist/cjs/cypress-utils/constants/selectors/login.js.map +1 -0
- package/dist/cjs/cypress-utils/constants/selectors/member.js +68 -0
- package/dist/cjs/cypress-utils/constants/selectors/member.js.map +1 -0
- package/dist/cjs/cypress-utils/constants/selectors/navigation.js +30 -0
- package/dist/cjs/cypress-utils/constants/selectors/navigation.js.map +1 -0
- package/dist/cjs/cypress-utils/constants/selectors/roles.js +24 -0
- package/dist/cjs/cypress-utils/constants/selectors/roles.js.map +1 -0
- package/dist/cjs/cypress-utils/constants/selectors/signUp.js +25 -0
- package/dist/cjs/cypress-utils/constants/selectors/signUp.js.map +1 -0
- package/dist/cjs/cypress-utils/constants/selectors/tags.js +33 -0
- package/dist/cjs/cypress-utils/constants/selectors/tags.js.map +1 -0
- package/dist/cjs/cypress-utils/constants/texts/common.js +39 -0
- package/dist/cjs/cypress-utils/constants/texts/common.js.map +1 -0
- package/dist/cjs/cypress-utils/constants/texts/member.js +67 -0
- package/dist/cjs/cypress-utils/constants/texts/member.js.map +1 -0
- package/dist/cjs/cypress-utils/constants/texts/navigation.js +23 -0
- package/dist/cjs/cypress-utils/constants/texts/navigation.js.map +1 -0
- package/dist/cjs/cypress-utils/constants/texts/roles.js +24 -0
- package/dist/cjs/cypress-utils/constants/texts/roles.js.map +1 -0
- package/dist/cjs/cypress-utils/constants/texts/signUp.js +13 -0
- package/dist/cjs/cypress-utils/constants/texts/signUp.js.map +1 -0
- package/dist/cjs/cypress-utils/constants/texts/tags.js +27 -0
- package/dist/cjs/cypress-utils/constants/texts/tags.js.map +1 -0
- package/dist/cjs/cypress-utils/fixtures/fake.js +177 -0
- package/dist/cjs/cypress-utils/fixtures/fake.js.map +1 -0
- package/dist/cjs/cypress-utils/index.js +74 -0
- package/dist/cjs/cypress-utils/index.js.map +1 -0
- package/dist/cjs/cypress-utils/jsconfig.js +33 -0
- package/dist/cjs/cypress-utils/jsconfig.js.map +1 -0
- package/dist/cjs/cypress-utils/utils/authentication.js +51 -0
- package/dist/cjs/cypress-utils/utils/authentication.js.map +1 -0
- package/dist/cjs/cypress-utils/utils/common.js +91 -0
- package/dist/cjs/cypress-utils/utils/common.js.map +1 -0
- package/dist/cjs/cypress-utils/utils/date.js +31 -0
- package/dist/cjs/cypress-utils/utils/date.js.map +1 -0
- package/dist/cjs/cypress-utils/utils/email.js +164 -0
- package/dist/cjs/cypress-utils/utils/email.js.map +1 -0
- package/dist/cjs/cypress-utils/utils/member.js +354 -0
- package/dist/cjs/cypress-utils/utils/member.js.map +1 -0
- package/dist/cjs/cypress-utils/utils/navigation.js +215 -0
- package/dist/cjs/cypress-utils/utils/navigation.js.map +1 -0
- package/dist/cjs/cypress-utils/utils/organization.js +111 -0
- package/dist/cjs/cypress-utils/utils/organization.js.map +1 -0
- package/dist/cjs/cypress-utils/utils/validation.js +20 -0
- package/dist/cjs/cypress-utils/utils/validation.js.map +1 -0
- package/dist/cjs/defineProperty-ba7cd53d.js +19 -0
- package/dist/cjs/defineProperty-ba7cd53d.js.map +1 -0
- package/dist/cjs/index-25a068b1.js +443 -0
- package/dist/cjs/index-25a068b1.js.map +1 -0
- package/dist/cjs/initializers/axios.js +22 -0
- package/dist/cjs/initializers/axios.js.map +1 -0
- package/dist/cjs/initializers/axiosInitializer/index.js +280 -0
- package/dist/cjs/initializers/axiosInitializer/index.js.map +1 -0
- package/dist/cjs/initializers/axiosInitializer/paramsSerializer.js +22 -0
- package/dist/cjs/initializers/axiosInitializer/paramsSerializer.js.map +1 -0
- package/dist/cjs/initializers/constants.js +26 -0
- package/dist/cjs/initializers/constants.js.map +1 -0
- package/dist/cjs/initializers/dayjs.js +81 -0
- package/dist/cjs/initializers/dayjs.js.map +1 -0
- package/dist/cjs/initializers/globalProps.js +16 -0
- package/dist/cjs/initializers/globalProps.js.map +1 -0
- package/dist/cjs/initializers/i18n.js +615 -0
- package/dist/cjs/initializers/i18n.js.map +1 -0
- package/dist/cjs/initializers/index.js +82 -0
- package/dist/cjs/initializers/index.js.map +1 -0
- package/dist/cjs/initializers/logger.js +19 -0
- package/dist/cjs/initializers/logger.js.map +1 -0
- package/dist/cjs/initializers/mixpanel.js +30 -0
- package/dist/cjs/initializers/mixpanel.js.map +1 -0
- package/dist/cjs/initializers/reactDevTools.js +24 -0
- package/dist/cjs/initializers/reactDevTools.js.map +1 -0
- package/dist/cjs/initializers/utils/customFormatters.js +55 -0
- package/dist/cjs/initializers/utils/customFormatters.js.map +1 -0
- package/dist/cjs/initializers/utils/customPostProcessors.js +21 -0
- package/dist/cjs/initializers/utils/customPostProcessors.js.map +1 -0
- package/dist/cjs/initializers/utils/utils.js +41 -0
- package/dist/cjs/initializers/utils/utils.js.map +1 -0
- package/dist/cjs/mixpanel.cjs-e97a1ff5.js +6346 -0
- package/dist/cjs/mixpanel.cjs-e97a1ff5.js.map +1 -0
- package/dist/cjs/objectWithoutProperties-60b52fdb.js +38 -0
- package/dist/cjs/objectWithoutProperties-60b52fdb.js.map +1 -0
- package/dist/cjs/react-utils/AppContainer/AppContainer.js +62 -0
- package/dist/cjs/react-utils/AppContainer/AppContainer.js.map +1 -0
- package/dist/cjs/react-utils/AppContainer/index.js +31 -0
- package/dist/cjs/react-utils/AppContainer/index.js.map +1 -0
- package/dist/cjs/react-utils/BrowserPushNotifications/devices.js +27 -0
- package/dist/cjs/react-utils/BrowserPushNotifications/devices.js.map +1 -0
- package/dist/cjs/react-utils/BrowserPushNotifications/index.js +16 -0
- package/dist/cjs/react-utils/BrowserPushNotifications/index.js.map +1 -0
- package/dist/cjs/react-utils/BrowserPushNotifications/pushHelper.js +112 -0
- package/dist/cjs/react-utils/BrowserPushNotifications/pushHelper.js.map +1 -0
- package/dist/cjs/react-utils/BrowserPushNotifications/registerServiceWorker.js +145 -0
- package/dist/cjs/react-utils/BrowserPushNotifications/registerServiceWorker.js.map +1 -0
- package/dist/cjs/react-utils/HoneybadgerErrorBoundary/FallbackComponent.js +107 -0
- package/dist/cjs/react-utils/HoneybadgerErrorBoundary/FallbackComponent.js.map +1 -0
- package/dist/cjs/react-utils/HoneybadgerErrorBoundary/HoneybadgerErrorBoundary.js +60 -0
- package/dist/cjs/react-utils/HoneybadgerErrorBoundary/HoneybadgerErrorBoundary.js.map +1 -0
- package/dist/cjs/react-utils/HoneybadgerErrorBoundary/constants.js +10 -0
- package/dist/cjs/react-utils/HoneybadgerErrorBoundary/constants.js.map +1 -0
- package/dist/cjs/react-utils/HoneybadgerErrorBoundary/index.js +20 -0
- package/dist/cjs/react-utils/HoneybadgerErrorBoundary/index.js.map +1 -0
- package/dist/cjs/react-utils/HoneybadgerErrorBoundary/utils.js +16 -0
- package/dist/cjs/react-utils/HoneybadgerErrorBoundary/utils.js.map +1 -0
- package/dist/cjs/react-utils/PageTitle/PageTitle.js +22 -0
- package/dist/cjs/react-utils/PageTitle/PageTitle.js.map +1 -0
- package/dist/cjs/react-utils/PageTitle/index.js +11 -0
- package/dist/cjs/react-utils/PageTitle/index.js.map +1 -0
- package/dist/cjs/react-utils/PrivateRoute/PrivateRoute.js +48 -0
- package/dist/cjs/react-utils/PrivateRoute/PrivateRoute.js.map +1 -0
- package/dist/cjs/react-utils/PrivateRoute/index.js +14 -0
- package/dist/cjs/react-utils/PrivateRoute/index.js.map +1 -0
- package/dist/cjs/react-utils/QueryClientProvider/QueryClientProvider.js +18 -0
- package/dist/cjs/react-utils/QueryClientProvider/QueryClientProvider.js.map +1 -0
- package/dist/cjs/react-utils/QueryClientProvider/index.js +16 -0
- package/dist/cjs/react-utils/QueryClientProvider/index.js.map +1 -0
- package/dist/cjs/react-utils/QueryClientProvider/queryClient.js +19 -0
- package/dist/cjs/react-utils/QueryClientProvider/queryClient.js.map +1 -0
- package/dist/cjs/react-utils/constants/constants.js +12 -0
- package/dist/cjs/react-utils/constants/constants.js.map +1 -0
- package/dist/cjs/react-utils/constants/index.js +14 -0
- package/dist/cjs/react-utils/constants/index.js.map +1 -0
- package/dist/cjs/react-utils/constants/query.js +10 -0
- package/dist/cjs/react-utils/constants/query.js.map +1 -0
- package/dist/cjs/react-utils/index.js +125 -0
- package/dist/cjs/react-utils/index.js.map +1 -0
- package/dist/cjs/react-utils/metaClick/index.js +12 -0
- package/dist/cjs/react-utils/metaClick/index.js.map +1 -0
- package/dist/cjs/react-utils/metaClick/metaClick.js +23 -0
- package/dist/cjs/react-utils/metaClick/metaClick.js.map +1 -0
- package/dist/cjs/react-utils/useBreakpoints/index.js +20 -0
- package/dist/cjs/react-utils/useBreakpoints/index.js.map +1 -0
- package/dist/cjs/react-utils/useBreakpoints/utils.js +31 -0
- package/dist/cjs/react-utils/useBreakpoints/utils.js.map +1 -0
- package/dist/cjs/react-utils/useDebounce/index.js +11 -0
- package/dist/cjs/react-utils/useDebounce/index.js.map +1 -0
- package/dist/cjs/react-utils/useDebounce/useDebounce.js +25 -0
- package/dist/cjs/react-utils/useDebounce/useDebounce.js.map +1 -0
- package/dist/cjs/react-utils/useDisplayErrorPage/index.js +13 -0
- package/dist/cjs/react-utils/useDisplayErrorPage/index.js.map +1 -0
- package/dist/cjs/react-utils/useDisplayErrorPage/useDisplayErrorPage.js +22 -0
- package/dist/cjs/react-utils/useDisplayErrorPage/useDisplayErrorPage.js.map +1 -0
- package/dist/cjs/react-utils/useFetchNeetoApps/apis/neeto_apps.js +17 -0
- package/dist/cjs/react-utils/useFetchNeetoApps/apis/neeto_apps.js.map +1 -0
- package/dist/cjs/react-utils/useFetchNeetoApps/index.js +27 -0
- package/dist/cjs/react-utils/useFetchNeetoApps/index.js.map +1 -0
- package/dist/cjs/react-utils/useFetchNeetoApps/useFetchNeetoApps.js +39 -0
- package/dist/cjs/react-utils/useFetchNeetoApps/useFetchNeetoApps.js.map +1 -0
- package/dist/cjs/react-utils/useFieldSubmit/index.js +9 -0
- package/dist/cjs/react-utils/useFieldSubmit/index.js.map +1 -0
- package/dist/cjs/react-utils/useFieldSubmit/useFieldSubmit.js +30 -0
- package/dist/cjs/react-utils/useFieldSubmit/useFieldSubmit.js.map +1 -0
- package/dist/cjs/react-utils/useFuncDebounce/index.js +9 -0
- package/dist/cjs/react-utils/useFuncDebounce/index.js.map +1 -0
- package/dist/cjs/react-utils/useFuncDebounce/useFuncDebounce.js +24 -0
- package/dist/cjs/react-utils/useFuncDebounce/useFuncDebounce.js.map +1 -0
- package/dist/cjs/react-utils/useIsElementVisibleInDom/index.js +12 -0
- package/dist/cjs/react-utils/useIsElementVisibleInDom/index.js.map +1 -0
- package/dist/cjs/react-utils/useIsElementVisibleInDom/useForceUpdate.js +20 -0
- package/dist/cjs/react-utils/useIsElementVisibleInDom/useForceUpdate.js.map +1 -0
- package/dist/cjs/react-utils/useIsElementVisibleInDom/useIsElementVisibleInDom.js +31 -0
- package/dist/cjs/react-utils/useIsElementVisibleInDom/useIsElementVisibleInDom.js.map +1 -0
- package/dist/cjs/react-utils/useKeyboardShortcutsPaneState/index.js +10 -0
- package/dist/cjs/react-utils/useKeyboardShortcutsPaneState/index.js.map +1 -0
- package/dist/cjs/react-utils/useKeyboardShortcutsPaneState/useKeyboardShortcutsPaneState.js +33 -0
- package/dist/cjs/react-utils/useKeyboardShortcutsPaneState/useKeyboardShortcutsPaneState.js.map +1 -0
- package/dist/cjs/react-utils/useLocalStorage/index.js +28 -0
- package/dist/cjs/react-utils/useLocalStorage/index.js.map +1 -0
- package/dist/cjs/react-utils/useLocalStorage/useLocalStorage.js +55 -0
- package/dist/cjs/react-utils/useLocalStorage/useLocalStorage.js.map +1 -0
- package/dist/cjs/react-utils/useMutationWithInvalidation/index.js +12 -0
- package/dist/cjs/react-utils/useMutationWithInvalidation/index.js.map +1 -0
- package/dist/cjs/react-utils/useMutationWithInvalidation/useMutationWithInvalidation.js +41 -0
- package/dist/cjs/react-utils/useMutationWithInvalidation/useMutationWithInvalidation.js.map +1 -0
- package/dist/cjs/react-utils/useOnClickOutside/index.js +9 -0
- package/dist/cjs/react-utils/useOnClickOutside/index.js.map +1 -0
- package/dist/cjs/react-utils/useOnClickOutside/useOnClickOutside.js +29 -0
- package/dist/cjs/react-utils/useOnClickOutside/useOnClickOutside.js.map +1 -0
- package/dist/cjs/react-utils/usePersistedQuery/index.js +23 -0
- package/dist/cjs/react-utils/usePersistedQuery/index.js.map +1 -0
- package/dist/cjs/react-utils/usePersistedQuery/usePersistedQuery.js +67 -0
- package/dist/cjs/react-utils/usePersistedQuery/usePersistedQuery.js.map +1 -0
- package/dist/cjs/react-utils/usePrevious/index.js +9 -0
- package/dist/cjs/react-utils/usePrevious/index.js.map +1 -0
- package/dist/cjs/react-utils/usePrevious/usePrevious.js +14 -0
- package/dist/cjs/react-utils/usePrevious/usePrevious.js.map +1 -0
- package/dist/cjs/react-utils/useQueryParams/index.js +21 -0
- package/dist/cjs/react-utils/useQueryParams/index.js.map +1 -0
- package/dist/cjs/react-utils/useQueryParams/useQueryParams.js +23 -0
- package/dist/cjs/react-utils/useQueryParams/useQueryParams.js.map +1 -0
- package/dist/cjs/react-utils/useRegisterNavigationCheckpoint/index.js +29 -0
- package/dist/cjs/react-utils/useRegisterNavigationCheckpoint/index.js.map +1 -0
- package/dist/cjs/react-utils/useRegisterNavigationCheckpoint/useRegisterNavigationCheckpoint.js +85 -0
- package/dist/cjs/react-utils/useRegisterNavigationCheckpoint/useRegisterNavigationCheckpoint.js.map +1 -0
- package/dist/cjs/react-utils/useRestoreScrollPosition/index.js +18 -0
- package/dist/cjs/react-utils/useRestoreScrollPosition/index.js.map +1 -0
- package/dist/cjs/react-utils/useRestoreScrollPosition/useRestoreScrollPosition.js +70 -0
- package/dist/cjs/react-utils/useRestoreScrollPosition/useRestoreScrollPosition.js.map +1 -0
- package/dist/cjs/react-utils/useStateWithDependency/index.js +11 -0
- package/dist/cjs/react-utils/useStateWithDependency/index.js.map +1 -0
- package/dist/cjs/react-utils/useStateWithDependency/useStateWithDependency.js +20 -0
- package/dist/cjs/react-utils/useStateWithDependency/useStateWithDependency.js.map +1 -0
- package/dist/cjs/react-utils/useTimer/index.js +10 -0
- package/dist/cjs/react-utils/useTimer/index.js.map +1 -0
- package/dist/cjs/react-utils/useTimer/useTimer.js +43 -0
- package/dist/cjs/react-utils/useTimer/useTimer.js.map +1 -0
- package/dist/cjs/react-utils/useUpdateEffect/index.js +9 -0
- package/dist/cjs/react-utils/useUpdateEffect/index.js.map +1 -0
- package/dist/cjs/react-utils/useUpdateEffect/useUpdateEffect.js +18 -0
- package/dist/cjs/react-utils/useUpdateEffect/useUpdateEffect.js.map +1 -0
- package/dist/cjs/react-utils/withImmutableActions/index.js +9 -0
- package/dist/cjs/react-utils/withImmutableActions/index.js.map +1 -0
- package/dist/cjs/react-utils/withImmutableActions/withImmutableActions.js +26 -0
- package/dist/cjs/react-utils/withImmutableActions/withImmutableActions.js.map +1 -0
- package/dist/cjs/react-utils/withT/index.js +9 -0
- package/dist/cjs/react-utils/withT/index.js.map +1 -0
- package/dist/cjs/react-utils/withT/withT.js +11 -0
- package/dist/cjs/react-utils/withT/withT.js.map +1 -0
- package/dist/cjs/react-utils/withTitle/index.js +11 -0
- package/dist/cjs/react-utils/withTitle/index.js.map +1 -0
- package/dist/cjs/react-utils/withTitle/withTitle.js +24 -0
- package/dist/cjs/react-utils/withTitle/withTitle.js.map +1 -0
- package/dist/cjs/slicedToArray-c9e22c6a.js +48 -0
- package/dist/cjs/slicedToArray-c9e22c6a.js.map +1 -0
- package/dist/cjs/toConsumableArray-7afb7984.js +22 -0
- package/dist/cjs/toConsumableArray-7afb7984.js.map +1 -0
- package/dist/cjs/typeof-a861d137.js +14 -0
- package/dist/cjs/typeof-a861d137.js.map +1 -0
- package/dist/cjs/unsupportedIterableToArray-294d47a8.js +24 -0
- package/dist/cjs/unsupportedIterableToArray-294d47a8.js.map +1 -0
- package/dist/cjs/utils/axios.js +20 -0
- package/dist/cjs/utils/axios.js.map +1 -0
- package/dist/cjs/utils/buildNestedAttributesPayload.js +40 -0
- package/dist/cjs/utils/buildNestedAttributesPayload.js.map +1 -0
- package/dist/cjs/utils/captureAnalyticsEvent.js +14 -0
- package/dist/cjs/utils/captureAnalyticsEvent.js.map +1 -0
- package/dist/cjs/utils/captureAnalyticsPageView.js +19 -0
- package/dist/cjs/utils/captureAnalyticsPageView.js.map +1 -0
- package/dist/cjs/utils/createSubscription.js +32 -0
- package/dist/cjs/utils/createSubscription.js.map +1 -0
- package/dist/cjs/utils/currencyFormat.js +53 -0
- package/dist/cjs/utils/currencyFormat.js.map +1 -0
- package/dist/cjs/utils/datetime.js +69 -0
- package/dist/cjs/utils/datetime.js.map +1 -0
- package/dist/cjs/utils/dayjs.js +12 -0
- package/dist/cjs/utils/dayjs.js.map +1 -0
- package/dist/cjs/utils/general.js +231 -0
- package/dist/cjs/utils/general.js.map +1 -0
- package/dist/cjs/utils/index.js +72 -0
- package/dist/cjs/utils/index.js.map +1 -0
- package/dist/cjs/utils/permissions.js +26 -0
- package/dist/cjs/utils/permissions.js.map +1 -0
- package/dist/cjs/utils/validators/index.js +13 -0
- package/dist/cjs/utils/validators/index.js.map +1 -0
- package/dist/cjs/utils/validators/slug.js +75 -0
- package/dist/cjs/utils/validators/slug.js.map +1 -0
- package/dist/constants/index.js +17 -0
- package/dist/constants/index.js.map +1 -0
- package/dist/constants/regex.js +6 -0
- package/dist/constants/regex.js.map +1 -0
- package/dist/cypress-utils/.eslintrc.js +38 -0
- package/dist/cypress-utils/.eslintrc.js.map +1 -0
- package/dist/cypress-utils/commands.js +286 -0
- package/dist/cypress-utils/commands.js.map +1 -0
- package/dist/cypress-utils/constants/index.js +9 -0
- package/dist/cypress-utils/constants/index.js.map +1 -0
- package/dist/cypress-utils/constants/routes.js +37 -0
- package/dist/cypress-utils/constants/routes.js.map +1 -0
- package/dist/cypress-utils/constants/selectors/common.js +99 -0
- package/dist/cypress-utils/constants/selectors/common.js.map +1 -0
- package/dist/cypress-utils/constants/selectors/editor.js +27 -0
- package/dist/cypress-utils/constants/selectors/editor.js.map +1 -0
- package/dist/cypress-utils/constants/selectors/ipRestriction.js +17 -0
- package/dist/cypress-utils/constants/selectors/ipRestriction.js.map +1 -0
- package/dist/cypress-utils/constants/selectors/login.js +19 -0
- package/dist/cypress-utils/constants/selectors/login.js.map +1 -0
- package/dist/cypress-utils/constants/selectors/member.js +62 -0
- package/dist/cypress-utils/constants/selectors/member.js.map +1 -0
- package/dist/cypress-utils/constants/selectors/navigation.js +25 -0
- package/dist/cypress-utils/constants/selectors/navigation.js.map +1 -0
- package/dist/cypress-utils/constants/selectors/roles.js +20 -0
- package/dist/cypress-utils/constants/selectors/roles.js.map +1 -0
- package/dist/cypress-utils/constants/selectors/signUp.js +21 -0
- package/dist/cypress-utils/constants/selectors/signUp.js.map +1 -0
- package/dist/cypress-utils/constants/selectors/tags.js +28 -0
- package/dist/cypress-utils/constants/selectors/tags.js.map +1 -0
- package/dist/cypress-utils/constants/texts/common.js +35 -0
- package/dist/cypress-utils/constants/texts/common.js.map +1 -0
- package/dist/cypress-utils/constants/texts/member.js +61 -0
- package/dist/cypress-utils/constants/texts/member.js.map +1 -0
- package/dist/cypress-utils/constants/texts/navigation.js +18 -0
- package/dist/cypress-utils/constants/texts/navigation.js.map +1 -0
- package/dist/cypress-utils/constants/texts/roles.js +20 -0
- package/dist/cypress-utils/constants/texts/roles.js.map +1 -0
- package/dist/cypress-utils/constants/texts/signUp.js +9 -0
- package/dist/cypress-utils/constants/texts/signUp.js.map +1 -0
- package/dist/cypress-utils/constants/texts/tags.js +23 -0
- package/dist/cypress-utils/constants/texts/tags.js.map +1 -0
- package/dist/cypress-utils/fixtures/fake.js +173 -0
- package/dist/cypress-utils/fixtures/fake.js.map +1 -0
- package/dist/cypress-utils/index.js +28 -0
- package/dist/cypress-utils/index.js.map +1 -0
- package/dist/cypress-utils/jsconfig.js +26 -0
- package/dist/cypress-utils/jsconfig.js.map +1 -0
- package/dist/cypress-utils/utils/authentication.js +47 -0
- package/dist/cypress-utils/utils/authentication.js.map +1 -0
- package/dist/cypress-utils/utils/common.js +77 -0
- package/dist/cypress-utils/utils/common.js.map +1 -0
- package/dist/cypress-utils/utils/date.js +23 -0
- package/dist/cypress-utils/utils/date.js.map +1 -0
- package/dist/cypress-utils/utils/email.js +159 -0
- package/dist/cypress-utils/utils/email.js.map +1 -0
- package/dist/cypress-utils/utils/member.js +350 -0
- package/dist/cypress-utils/utils/member.js.map +1 -0
- package/dist/cypress-utils/utils/navigation.js +211 -0
- package/dist/cypress-utils/utils/navigation.js.map +1 -0
- package/dist/cypress-utils/utils/organization.js +107 -0
- package/dist/cypress-utils/utils/organization.js.map +1 -0
- package/dist/cypress-utils/utils/validation.js +16 -0
- package/dist/cypress-utils/utils/validation.js.map +1 -0
- package/dist/defineProperty-18999f8e.js +17 -0
- package/dist/defineProperty-18999f8e.js.map +1 -0
- package/dist/index-fa7de82b.js +440 -0
- package/dist/index-fa7de82b.js.map +1 -0
- package/dist/initializers/axios.js +17 -0
- package/dist/initializers/axios.js.map +1 -0
- package/dist/initializers/axiosInitializer/index.js +272 -0
- package/dist/initializers/axiosInitializer/index.js.map +1 -0
- package/dist/initializers/axiosInitializer/paramsSerializer.js +15 -0
- package/dist/initializers/axiosInitializer/paramsSerializer.js.map +1 -0
- package/dist/initializers/constants.js +17 -0
- package/dist/initializers/constants.js.map +1 -0
- package/dist/initializers/dayjs.js +59 -0
- package/dist/initializers/dayjs.js.map +1 -0
- package/dist/initializers/globalProps.js +14 -0
- package/dist/initializers/globalProps.js.map +1 -0
- package/dist/initializers/i18n.js +607 -0
- package/dist/initializers/i18n.js.map +1 -0
- package/dist/initializers/index.js +74 -0
- package/dist/initializers/index.js.map +1 -0
- package/dist/initializers/logger.js +13 -0
- package/dist/initializers/logger.js.map +1 -0
- package/dist/initializers/mixpanel.js +28 -0
- package/dist/initializers/mixpanel.js.map +1 -0
- package/dist/initializers/reactDevTools.js +22 -0
- package/dist/initializers/reactDevTools.js.map +1 -0
- package/dist/initializers/utils/customFormatters.js +46 -0
- package/dist/initializers/utils/customFormatters.js.map +1 -0
- package/dist/initializers/utils/customPostProcessors.js +17 -0
- package/dist/initializers/utils/customPostProcessors.js.map +1 -0
- package/dist/initializers/utils/utils.js +33 -0
- package/dist/initializers/utils/utils.js.map +1 -0
- package/dist/mixpanel.cjs-55fbae33.js +6344 -0
- package/dist/mixpanel.cjs-55fbae33.js.map +1 -0
- package/dist/objectWithoutProperties-00c72f1d.js +36 -0
- package/dist/objectWithoutProperties-00c72f1d.js.map +1 -0
- package/dist/react-utils/AppContainer/AppContainer.js +55 -0
- package/dist/react-utils/AppContainer/AppContainer.js.map +1 -0
- package/dist/react-utils/AppContainer/index.js +25 -0
- package/dist/react-utils/AppContainer/index.js.map +1 -0
- package/dist/react-utils/BrowserPushNotifications/devices.js +21 -0
- package/dist/react-utils/BrowserPushNotifications/devices.js.map +1 -0
- package/dist/react-utils/BrowserPushNotifications/index.js +7 -0
- package/dist/react-utils/BrowserPushNotifications/index.js.map +1 -0
- package/dist/react-utils/BrowserPushNotifications/pushHelper.js +107 -0
- package/dist/react-utils/BrowserPushNotifications/pushHelper.js.map +1 -0
- package/dist/react-utils/BrowserPushNotifications/registerServiceWorker.js +140 -0
- package/dist/react-utils/BrowserPushNotifications/registerServiceWorker.js.map +1 -0
- package/dist/react-utils/HoneybadgerErrorBoundary/FallbackComponent.js +100 -0
- package/dist/react-utils/HoneybadgerErrorBoundary/FallbackComponent.js.map +1 -0
- package/dist/react-utils/HoneybadgerErrorBoundary/HoneybadgerErrorBoundary.js +58 -0
- package/dist/react-utils/HoneybadgerErrorBoundary/HoneybadgerErrorBoundary.js.map +1 -0
- package/dist/react-utils/HoneybadgerErrorBoundary/constants.js +5 -0
- package/dist/react-utils/HoneybadgerErrorBoundary/constants.js.map +1 -0
- package/dist/react-utils/HoneybadgerErrorBoundary/index.js +14 -0
- package/dist/react-utils/HoneybadgerErrorBoundary/index.js.map +1 -0
- package/dist/react-utils/HoneybadgerErrorBoundary/utils.js +11 -0
- package/dist/react-utils/HoneybadgerErrorBoundary/utils.js.map +1 -0
- package/dist/react-utils/PageTitle/PageTitle.js +16 -0
- package/dist/react-utils/PageTitle/PageTitle.js.map +1 -0
- package/dist/react-utils/PageTitle/index.js +5 -0
- package/dist/react-utils/PageTitle/index.js.map +1 -0
- package/dist/react-utils/PrivateRoute/PrivateRoute.js +42 -0
- package/dist/react-utils/PrivateRoute/PrivateRoute.js.map +1 -0
- package/dist/react-utils/PrivateRoute/index.js +8 -0
- package/dist/react-utils/PrivateRoute/index.js.map +1 -0
- package/dist/react-utils/QueryClientProvider/QueryClientProvider.js +16 -0
- package/dist/react-utils/QueryClientProvider/QueryClientProvider.js.map +1 -0
- package/dist/react-utils/QueryClientProvider/index.js +7 -0
- package/dist/react-utils/QueryClientProvider/index.js.map +1 -0
- package/dist/react-utils/QueryClientProvider/queryClient.js +17 -0
- package/dist/react-utils/QueryClientProvider/queryClient.js.map +1 -0
- package/dist/react-utils/constants/constants.js +6 -0
- package/dist/react-utils/constants/constants.js.map +1 -0
- package/dist/react-utils/constants/index.js +3 -0
- package/dist/react-utils/constants/index.js.map +1 -0
- package/dist/react-utils/constants/query.js +6 -0
- package/dist/react-utils/constants/query.js.map +1 -0
- package/dist/react-utils/index.js +80 -0
- package/dist/react-utils/index.js.map +1 -0
- package/dist/react-utils/metaClick/index.js +3 -0
- package/dist/react-utils/metaClick/index.js.map +1 -0
- package/dist/react-utils/metaClick/metaClick.js +18 -0
- package/dist/react-utils/metaClick/metaClick.js.map +1 -0
- package/dist/react-utils/useBreakpoints/index.js +18 -0
- package/dist/react-utils/useBreakpoints/index.js.map +1 -0
- package/dist/react-utils/useBreakpoints/utils.js +26 -0
- package/dist/react-utils/useBreakpoints/utils.js.map +1 -0
- package/dist/react-utils/useDebounce/index.js +5 -0
- package/dist/react-utils/useDebounce/index.js.map +1 -0
- package/dist/react-utils/useDebounce/useDebounce.js +23 -0
- package/dist/react-utils/useDebounce/useDebounce.js.map +1 -0
- package/dist/react-utils/useDisplayErrorPage/index.js +4 -0
- package/dist/react-utils/useDisplayErrorPage/index.js.map +1 -0
- package/dist/react-utils/useDisplayErrorPage/useDisplayErrorPage.js +17 -0
- package/dist/react-utils/useDisplayErrorPage/useDisplayErrorPage.js.map +1 -0
- package/dist/react-utils/useFetchNeetoApps/apis/neeto_apps.js +11 -0
- package/dist/react-utils/useFetchNeetoApps/apis/neeto_apps.js.map +1 -0
- package/dist/react-utils/useFetchNeetoApps/index.js +21 -0
- package/dist/react-utils/useFetchNeetoApps/index.js.map +1 -0
- package/dist/react-utils/useFetchNeetoApps/useFetchNeetoApps.js +37 -0
- package/dist/react-utils/useFetchNeetoApps/useFetchNeetoApps.js.map +1 -0
- package/dist/react-utils/useFieldSubmit/index.js +3 -0
- package/dist/react-utils/useFieldSubmit/index.js.map +1 -0
- package/dist/react-utils/useFieldSubmit/useFieldSubmit.js +28 -0
- package/dist/react-utils/useFieldSubmit/useFieldSubmit.js.map +1 -0
- package/dist/react-utils/useFuncDebounce/index.js +3 -0
- package/dist/react-utils/useFuncDebounce/index.js.map +1 -0
- package/dist/react-utils/useFuncDebounce/useFuncDebounce.js +22 -0
- package/dist/react-utils/useFuncDebounce/useFuncDebounce.js.map +1 -0
- package/dist/react-utils/useIsElementVisibleInDom/index.js +6 -0
- package/dist/react-utils/useIsElementVisibleInDom/index.js.map +1 -0
- package/dist/react-utils/useIsElementVisibleInDom/useForceUpdate.js +18 -0
- package/dist/react-utils/useIsElementVisibleInDom/useForceUpdate.js.map +1 -0
- package/dist/react-utils/useIsElementVisibleInDom/useIsElementVisibleInDom.js +29 -0
- package/dist/react-utils/useIsElementVisibleInDom/useIsElementVisibleInDom.js.map +1 -0
- package/dist/react-utils/useKeyboardShortcutsPaneState/index.js +4 -0
- package/dist/react-utils/useKeyboardShortcutsPaneState/index.js.map +1 -0
- package/dist/react-utils/useKeyboardShortcutsPaneState/useKeyboardShortcutsPaneState.js +31 -0
- package/dist/react-utils/useKeyboardShortcutsPaneState/useKeyboardShortcutsPaneState.js.map +1 -0
- package/dist/react-utils/useLocalStorage/index.js +22 -0
- package/dist/react-utils/useLocalStorage/index.js.map +1 -0
- package/dist/react-utils/useLocalStorage/useLocalStorage.js +53 -0
- package/dist/react-utils/useLocalStorage/useLocalStorage.js.map +1 -0
- package/dist/react-utils/useMutationWithInvalidation/index.js +6 -0
- package/dist/react-utils/useMutationWithInvalidation/index.js.map +1 -0
- package/dist/react-utils/useMutationWithInvalidation/useMutationWithInvalidation.js +39 -0
- package/dist/react-utils/useMutationWithInvalidation/useMutationWithInvalidation.js.map +1 -0
- package/dist/react-utils/useOnClickOutside/index.js +3 -0
- package/dist/react-utils/useOnClickOutside/index.js.map +1 -0
- package/dist/react-utils/useOnClickOutside/useOnClickOutside.js +27 -0
- package/dist/react-utils/useOnClickOutside/useOnClickOutside.js.map +1 -0
- package/dist/react-utils/usePersistedQuery/index.js +17 -0
- package/dist/react-utils/usePersistedQuery/index.js.map +1 -0
- package/dist/react-utils/usePersistedQuery/usePersistedQuery.js +65 -0
- package/dist/react-utils/usePersistedQuery/usePersistedQuery.js.map +1 -0
- package/dist/react-utils/usePrevious/index.js +3 -0
- package/dist/react-utils/usePrevious/index.js.map +1 -0
- package/dist/react-utils/usePrevious/usePrevious.js +12 -0
- package/dist/react-utils/usePrevious/usePrevious.js.map +1 -0
- package/dist/react-utils/useQueryParams/index.js +15 -0
- package/dist/react-utils/useQueryParams/index.js.map +1 -0
- package/dist/react-utils/useQueryParams/useQueryParams.js +21 -0
- package/dist/react-utils/useQueryParams/useQueryParams.js.map +1 -0
- package/dist/react-utils/useRegisterNavigationCheckpoint/index.js +19 -0
- package/dist/react-utils/useRegisterNavigationCheckpoint/index.js.map +1 -0
- package/dist/react-utils/useRegisterNavigationCheckpoint/useRegisterNavigationCheckpoint.js +79 -0
- package/dist/react-utils/useRegisterNavigationCheckpoint/useRegisterNavigationCheckpoint.js.map +1 -0
- package/dist/react-utils/useRestoreScrollPosition/index.js +7 -0
- package/dist/react-utils/useRestoreScrollPosition/index.js.map +1 -0
- package/dist/react-utils/useRestoreScrollPosition/useRestoreScrollPosition.js +63 -0
- package/dist/react-utils/useRestoreScrollPosition/useRestoreScrollPosition.js.map +1 -0
- package/dist/react-utils/useStateWithDependency/index.js +5 -0
- package/dist/react-utils/useStateWithDependency/index.js.map +1 -0
- package/dist/react-utils/useStateWithDependency/useStateWithDependency.js +18 -0
- package/dist/react-utils/useStateWithDependency/useStateWithDependency.js.map +1 -0
- package/dist/react-utils/useTimer/index.js +4 -0
- package/dist/react-utils/useTimer/index.js.map +1 -0
- package/dist/react-utils/useTimer/useTimer.js +41 -0
- package/dist/react-utils/useTimer/useTimer.js.map +1 -0
- package/dist/react-utils/useUpdateEffect/index.js +3 -0
- package/dist/react-utils/useUpdateEffect/index.js.map +1 -0
- package/dist/react-utils/useUpdateEffect/useUpdateEffect.js +16 -0
- package/dist/react-utils/useUpdateEffect/useUpdateEffect.js.map +1 -0
- package/dist/react-utils/withImmutableActions/index.js +3 -0
- package/dist/react-utils/withImmutableActions/index.js.map +1 -0
- package/dist/react-utils/withImmutableActions/withImmutableActions.js +24 -0
- package/dist/react-utils/withImmutableActions/withImmutableActions.js.map +1 -0
- package/dist/react-utils/withT/index.js +3 -0
- package/dist/react-utils/withT/index.js.map +1 -0
- package/dist/react-utils/withT/withT.js +9 -0
- package/dist/react-utils/withT/withT.js.map +1 -0
- package/dist/react-utils/withTitle/index.js +5 -0
- package/dist/react-utils/withTitle/index.js.map +1 -0
- package/dist/react-utils/withTitle/withTitle.js +22 -0
- package/dist/react-utils/withTitle/withTitle.js.map +1 -0
- package/dist/slicedToArray-5531a6cb.js +46 -0
- package/dist/slicedToArray-5531a6cb.js.map +1 -0
- package/dist/toConsumableArray-7f764fb5.js +20 -0
- package/dist/toConsumableArray-7f764fb5.js.map +1 -0
- package/dist/typeof-92b42de1.js +12 -0
- package/dist/typeof-92b42de1.js.map +1 -0
- package/dist/unsupportedIterableToArray-577176bf.js +21 -0
- package/dist/unsupportedIterableToArray-577176bf.js.map +1 -0
- package/dist/utils/axios.js +12 -0
- package/dist/utils/axios.js.map +1 -0
- package/dist/utils/buildNestedAttributesPayload.js +36 -0
- package/dist/utils/buildNestedAttributesPayload.js.map +1 -0
- package/dist/utils/captureAnalyticsEvent.js +10 -0
- package/dist/utils/captureAnalyticsEvent.js.map +1 -0
- package/dist/utils/captureAnalyticsPageView.js +15 -0
- package/dist/utils/captureAnalyticsPageView.js.map +1 -0
- package/dist/utils/createSubscription.js +28 -0
- package/dist/utils/createSubscription.js.map +1 -0
- package/dist/utils/currencyFormat.js +45 -0
- package/dist/utils/currencyFormat.js.map +1 -0
- package/dist/utils/datetime.js +60 -0
- package/dist/utils/datetime.js.map +1 -0
- package/dist/utils/dayjs.js +3 -0
- package/dist/utils/dayjs.js.map +1 -0
- package/dist/utils/general.js +208 -0
- package/dist/utils/general.js.map +1 -0
- package/dist/utils/index.js +30 -0
- package/dist/utils/index.js.map +1 -0
- package/dist/utils/permissions.js +20 -0
- package/dist/utils/permissions.js.map +1 -0
- package/dist/utils/validators/index.js +5 -0
- package/dist/utils/validators/index.js.map +1 -0
- package/dist/utils/validators/slug.js +51 -0
- package/dist/utils/validators/slug.js.map +1 -0
- package/package.json +154 -20
- package/types.d.ts +54 -0
- package/assets/stylesheets/app-container.css +0 -3
- package/cjs/assets/stylesheets/app-container.css +0 -3
- package/cjs/configs/babel.js +0 -57
- package/cjs/configs/constants.js +0 -93
- package/cjs/configs/eslint/globals.js +0 -14
- package/cjs/configs/eslint/helpers/index.js +0 -74
- package/cjs/configs/eslint/imports/enforced.js +0 -29
- package/cjs/configs/eslint/imports/order.js +0 -65
- package/cjs/configs/eslint/index.js +0 -171
- package/cjs/configs/eslint/overrides.js +0 -26
- package/cjs/configs/eslint/promise.js +0 -8
- package/cjs/configs/eslint/react.js +0 -90
- package/cjs/configs/nanos/eslint/imports/order.js +0 -25
- package/cjs/configs/nanos/eslint/index.js +0 -28
- package/cjs/configs/nanos/tailwind.js +0 -7
- package/cjs/configs/nanos/webpack/resolve.js +0 -54
- package/cjs/configs/nextjs/eslint/imports/order.js +0 -25
- package/cjs/configs/nextjs/eslint/index.js +0 -22
- package/cjs/configs/nextjs/webpack/resolve.js +0 -1
- package/cjs/configs/prettier.js +0 -16
- package/cjs/configs/scripts/dead-code-eliminator/constants.js +0 -21
- package/cjs/configs/scripts/dead-code-eliminator/index.js +0 -268
- package/cjs/configs/scripts/getPkgTranslations.js +0 -45
- package/cjs/configs/scripts/jsdoc-builder/constants.mjs +0 -42
- package/cjs/configs/scripts/jsdoc-builder/index.mjs +0 -67
- package/cjs/configs/scripts/jsdoc-builder/utils.mjs +0 -219
- package/cjs/configs/scripts/remove-unused-translation-keys/constants.js +0 -11
- package/cjs/configs/scripts/remove-unused-translation-keys/index.js +0 -186
- package/cjs/configs/tailwind.js +0 -9
- package/cjs/configs/utils.js +0 -82
- package/cjs/configs/webpack/helpers/customize-default-rules.js +0 -54
- package/cjs/configs/webpack/index.js +0 -106
- package/cjs/configs/webpack/resolve.js +0 -54
- package/cjs/configs/webpack/rules.js +0 -34
- package/cjs/constants/index.js +0 -39
- package/cjs/constants/index.js.map +0 -1
- package/cjs/constants/regex.js +0 -10
- package/cjs/constants/regex.js.map +0 -1
- package/cjs/cypress-configs/initializer.js +0 -32
- package/cjs/cypress-configs/plugins.js +0 -114
- package/cjs/cypress-configs/resolve.js +0 -17
- package/cjs/cypress-configs/webpack.config.js +0 -19
- package/cjs/cypress-utils/commands.js +0 -288
- package/cjs/cypress-utils/commands.js.map +0 -1
- package/cjs/cypress-utils/constants/index.js +0 -13
- package/cjs/cypress-utils/constants/index.js.map +0 -1
- package/cjs/cypress-utils/constants/routes.js +0 -38
- package/cjs/cypress-utils/constants/routes.js.map +0 -1
- package/cjs/cypress-utils/constants/selectors/common.js +0 -100
- package/cjs/cypress-utils/constants/selectors/common.js.map +0 -1
- package/cjs/cypress-utils/constants/selectors/editor.js +0 -28
- package/cjs/cypress-utils/constants/selectors/editor.js.map +0 -1
- package/cjs/cypress-utils/constants/selectors/ipRestriction.js +0 -18
- package/cjs/cypress-utils/constants/selectors/ipRestriction.js.map +0 -1
- package/cjs/cypress-utils/constants/selectors/login.js +0 -20
- package/cjs/cypress-utils/constants/selectors/login.js.map +0 -1
- package/cjs/cypress-utils/constants/selectors/member.js +0 -63
- package/cjs/cypress-utils/constants/selectors/member.js.map +0 -1
- package/cjs/cypress-utils/constants/selectors/navigation.js +0 -26
- package/cjs/cypress-utils/constants/selectors/navigation.js.map +0 -1
- package/cjs/cypress-utils/constants/selectors/roles.js +0 -23
- package/cjs/cypress-utils/constants/selectors/roles.js.map +0 -1
- package/cjs/cypress-utils/constants/selectors/signUp.js +0 -22
- package/cjs/cypress-utils/constants/selectors/signUp.js.map +0 -1
- package/cjs/cypress-utils/constants/selectors/tags.js +0 -29
- package/cjs/cypress-utils/constants/selectors/tags.js.map +0 -1
- package/cjs/cypress-utils/constants/texts/common.js +0 -39
- package/cjs/cypress-utils/constants/texts/common.js.map +0 -1
- package/cjs/cypress-utils/constants/texts/member.js +0 -65
- package/cjs/cypress-utils/constants/texts/member.js.map +0 -1
- package/cjs/cypress-utils/constants/texts/navigation.js +0 -22
- package/cjs/cypress-utils/constants/texts/navigation.js.map +0 -1
- package/cjs/cypress-utils/constants/texts/roles.js +0 -24
- package/cjs/cypress-utils/constants/texts/roles.js.map +0 -1
- package/cjs/cypress-utils/constants/texts/signUp.js +0 -13
- package/cjs/cypress-utils/constants/texts/signUp.js.map +0 -1
- package/cjs/cypress-utils/constants/texts/tags.js +0 -27
- package/cjs/cypress-utils/constants/texts/tags.js.map +0 -1
- package/cjs/cypress-utils/fixtures/fake.js +0 -176
- package/cjs/cypress-utils/fixtures/fake.js.map +0 -1
- package/cjs/cypress-utils/index.js +0 -226
- package/cjs/cypress-utils/index.js.map +0 -1
- package/cjs/cypress-utils/utils/authentication.js +0 -44
- package/cjs/cypress-utils/utils/authentication.js.map +0 -1
- package/cjs/cypress-utils/utils/common.js +0 -81
- package/cjs/cypress-utils/utils/common.js.map +0 -1
- package/cjs/cypress-utils/utils/date.js +0 -27
- package/cjs/cypress-utils/utils/date.js.map +0 -1
- package/cjs/cypress-utils/utils/email.js +0 -163
- package/cjs/cypress-utils/utils/email.js.map +0 -1
- package/cjs/cypress-utils/utils/member.js +0 -353
- package/cjs/cypress-utils/utils/member.js.map +0 -1
- package/cjs/cypress-utils/utils/navigation.js +0 -212
- package/cjs/cypress-utils/utils/navigation.js.map +0 -1
- package/cjs/cypress-utils/utils/organization.js +0 -108
- package/cjs/cypress-utils/utils/organization.js.map +0 -1
- package/cjs/cypress-utils/utils/validation.js +0 -16
- package/cjs/cypress-utils/utils/validation.js.map +0 -1
- package/cjs/initializers/axios.js +0 -10
- package/cjs/initializers/axios.js.map +0 -1
- package/cjs/initializers/axiosInitializer/index.js +0 -276
- package/cjs/initializers/axiosInitializer/index.js.map +0 -1
- package/cjs/initializers/axiosInitializer/paramsSerializer.js +0 -21
- package/cjs/initializers/axiosInitializer/paramsSerializer.js.map +0 -1
- package/cjs/initializers/constants.js +0 -21
- package/cjs/initializers/constants.js.map +0 -1
- package/cjs/initializers/dayjs.js +0 -65
- package/cjs/initializers/dayjs.js.map +0 -1
- package/cjs/initializers/globalProps.js +0 -18
- package/cjs/initializers/globalProps.js.map +0 -1
- package/cjs/initializers/i18n.js +0 -72
- package/cjs/initializers/i18n.js.map +0 -1
- package/cjs/initializers/index.js +0 -56
- package/cjs/initializers/index.js.map +0 -1
- package/cjs/initializers/logger.js +0 -17
- package/cjs/initializers/logger.js.map +0 -1
- package/cjs/initializers/mixpanel.js +0 -31
- package/cjs/initializers/mixpanel.js.map +0 -1
- package/cjs/initializers/reactDevTools.js +0 -26
- package/cjs/initializers/reactDevTools.js.map +0 -1
- package/cjs/initializers/utils/customFormatters.js +0 -50
- package/cjs/initializers/utils/customFormatters.js.map +0 -1
- package/cjs/initializers/utils/customPostProcessors.js +0 -20
- package/cjs/initializers/utils/customPostProcessors.js.map +0 -1
- package/cjs/initializers/utils/utils.js +0 -36
- package/cjs/initializers/utils/utils.js.map +0 -1
- package/cjs/react-utils/AppContainer/AppContainer.js +0 -42
- package/cjs/react-utils/AppContainer/AppContainer.js.map +0 -1
- package/cjs/react-utils/AppContainer/index.js +0 -14
- package/cjs/react-utils/AppContainer/index.js.map +0 -1
- package/cjs/react-utils/BrowserPushNotifications/devices.js +0 -29
- package/cjs/react-utils/BrowserPushNotifications/devices.js.map +0 -1
- package/cjs/react-utils/BrowserPushNotifications/index.js +0 -19
- package/cjs/react-utils/BrowserPushNotifications/index.js.map +0 -1
- package/cjs/react-utils/BrowserPushNotifications/pushHelper.js +0 -114
- package/cjs/react-utils/BrowserPushNotifications/pushHelper.js.map +0 -1
- package/cjs/react-utils/BrowserPushNotifications/registerServiceWorker.js +0 -144
- package/cjs/react-utils/BrowserPushNotifications/registerServiceWorker.js.map +0 -1
- package/cjs/react-utils/HoneybadgerErrorBoundary/FallbackComponent.js +0 -108
- package/cjs/react-utils/HoneybadgerErrorBoundary/FallbackComponent.js.map +0 -1
- package/cjs/react-utils/HoneybadgerErrorBoundary/HoneybadgerErrorBoundary.js +0 -56
- package/cjs/react-utils/HoneybadgerErrorBoundary/HoneybadgerErrorBoundary.js.map +0 -1
- package/cjs/react-utils/HoneybadgerErrorBoundary/constants.js +0 -9
- package/cjs/react-utils/HoneybadgerErrorBoundary/constants.js.map +0 -1
- package/cjs/react-utils/HoneybadgerErrorBoundary/index.js +0 -14
- package/cjs/react-utils/HoneybadgerErrorBoundary/index.js.map +0 -1
- package/cjs/react-utils/HoneybadgerErrorBoundary/utils.js +0 -15
- package/cjs/react-utils/HoneybadgerErrorBoundary/utils.js.map +0 -1
- package/cjs/react-utils/PageTitle/PageTitle.js +0 -21
- package/cjs/react-utils/PageTitle/PageTitle.js.map +0 -1
- package/cjs/react-utils/PageTitle/index.js +0 -14
- package/cjs/react-utils/PageTitle/index.js.map +0 -1
- package/cjs/react-utils/PrivateRoute/PrivateRoute.js +0 -48
- package/cjs/react-utils/PrivateRoute/PrivateRoute.js.map +0 -1
- package/cjs/react-utils/PrivateRoute/index.js +0 -14
- package/cjs/react-utils/PrivateRoute/index.js.map +0 -1
- package/cjs/react-utils/QueryClientProvider/QueryClientProvider.js +0 -19
- package/cjs/react-utils/QueryClientProvider/QueryClientProvider.js.map +0 -1
- package/cjs/react-utils/QueryClientProvider/index.js +0 -21
- package/cjs/react-utils/QueryClientProvider/index.js.map +0 -1
- package/cjs/react-utils/QueryClientProvider/queryClient.js +0 -22
- package/cjs/react-utils/QueryClientProvider/queryClient.js.map +0 -1
- package/cjs/react-utils/constants/constants.js +0 -10
- package/cjs/react-utils/constants/constants.js.map +0 -1
- package/cjs/react-utils/constants/index.js +0 -28
- package/cjs/react-utils/constants/index.js.map +0 -1
- package/cjs/react-utils/constants/query.js +0 -10
- package/cjs/react-utils/constants/query.js.map +0 -1
- package/cjs/react-utils/index.js +0 -296
- package/cjs/react-utils/index.js.map +0 -1
- package/cjs/react-utils/metaClick/index.js +0 -17
- package/cjs/react-utils/metaClick/index.js.map +0 -1
- package/cjs/react-utils/metaClick/metaClick.js +0 -22
- package/cjs/react-utils/metaClick/metaClick.js.map +0 -1
- package/cjs/react-utils/useBreakpoints/index.js +0 -22
- package/cjs/react-utils/useBreakpoints/index.js.map +0 -1
- package/cjs/react-utils/useBreakpoints/utils.js +0 -30
- package/cjs/react-utils/useBreakpoints/utils.js.map +0 -1
- package/cjs/react-utils/useDebounce/index.js +0 -14
- package/cjs/react-utils/useDebounce/index.js.map +0 -1
- package/cjs/react-utils/useDebounce/useDebounce.js +0 -27
- package/cjs/react-utils/useDebounce/useDebounce.js.map +0 -1
- package/cjs/react-utils/useDisplayErrorPage/index.js +0 -28
- package/cjs/react-utils/useDisplayErrorPage/index.js.map +0 -1
- package/cjs/react-utils/useDisplayErrorPage/useDisplayErrorPage.js +0 -22
- package/cjs/react-utils/useDisplayErrorPage/useDisplayErrorPage.js.map +0 -1
- package/cjs/react-utils/useFetchNeetoApps/apis/neeto_apps.js +0 -16
- package/cjs/react-utils/useFetchNeetoApps/apis/neeto_apps.js.map +0 -1
- package/cjs/react-utils/useFetchNeetoApps/index.js +0 -14
- package/cjs/react-utils/useFetchNeetoApps/index.js.map +0 -1
- package/cjs/react-utils/useFetchNeetoApps/useFetchNeetoApps.js +0 -29
- package/cjs/react-utils/useFetchNeetoApps/useFetchNeetoApps.js.map +0 -1
- package/cjs/react-utils/useFieldSubmit/index.js +0 -14
- package/cjs/react-utils/useFieldSubmit/index.js.map +0 -1
- package/cjs/react-utils/useFieldSubmit/useFieldSubmit.js +0 -32
- package/cjs/react-utils/useFieldSubmit/useFieldSubmit.js.map +0 -1
- package/cjs/react-utils/useFuncDebounce/index.js +0 -14
- package/cjs/react-utils/useFuncDebounce/index.js.map +0 -1
- package/cjs/react-utils/useFuncDebounce/useFuncDebounce.js +0 -26
- package/cjs/react-utils/useFuncDebounce/useFuncDebounce.js.map +0 -1
- package/cjs/react-utils/useIsElementVisibleInDom/index.js +0 -14
- package/cjs/react-utils/useIsElementVisibleInDom/index.js.map +0 -1
- package/cjs/react-utils/useIsElementVisibleInDom/useForceUpdate.js +0 -22
- package/cjs/react-utils/useIsElementVisibleInDom/useForceUpdate.js.map +0 -1
- package/cjs/react-utils/useIsElementVisibleInDom/useIsElementVisibleInDom.js +0 -33
- package/cjs/react-utils/useIsElementVisibleInDom/useIsElementVisibleInDom.js.map +0 -1
- package/cjs/react-utils/useKeyboardShortcutsPaneState/index.js +0 -14
- package/cjs/react-utils/useKeyboardShortcutsPaneState/index.js.map +0 -1
- package/cjs/react-utils/useKeyboardShortcutsPaneState/useKeyboardShortcutsPaneState.js +0 -35
- package/cjs/react-utils/useKeyboardShortcutsPaneState/useKeyboardShortcutsPaneState.js.map +0 -1
- package/cjs/react-utils/useLocalStorage/index.js +0 -14
- package/cjs/react-utils/useLocalStorage/index.js.map +0 -1
- package/cjs/react-utils/useLocalStorage/useLocalStorage.js +0 -44
- package/cjs/react-utils/useLocalStorage/useLocalStorage.js.map +0 -1
- package/cjs/react-utils/useMutationWithInvalidation/index.js +0 -14
- package/cjs/react-utils/useMutationWithInvalidation/index.js.map +0 -1
- package/cjs/react-utils/useMutationWithInvalidation/useMutationWithInvalidation.js +0 -44
- package/cjs/react-utils/useMutationWithInvalidation/useMutationWithInvalidation.js.map +0 -1
- package/cjs/react-utils/useOnClickOutside/index.js +0 -14
- package/cjs/react-utils/useOnClickOutside/index.js.map +0 -1
- package/cjs/react-utils/useOnClickOutside/useOnClickOutside.js +0 -31
- package/cjs/react-utils/useOnClickOutside/useOnClickOutside.js.map +0 -1
- package/cjs/react-utils/usePersistedQuery/index.js +0 -14
- package/cjs/react-utils/usePersistedQuery/index.js.map +0 -1
- package/cjs/react-utils/usePersistedQuery/usePersistedQuery.js +0 -61
- package/cjs/react-utils/usePersistedQuery/usePersistedQuery.js.map +0 -1
- package/cjs/react-utils/usePrevious/index.js +0 -14
- package/cjs/react-utils/usePrevious/index.js.map +0 -1
- package/cjs/react-utils/usePrevious/usePrevious.js +0 -16
- package/cjs/react-utils/usePrevious/usePrevious.js.map +0 -1
- package/cjs/react-utils/useQueryParams/index.js +0 -14
- package/cjs/react-utils/useQueryParams/index.js.map +0 -1
- package/cjs/react-utils/useQueryParams/useQueryParams.js +0 -14
- package/cjs/react-utils/useQueryParams/useQueryParams.js.map +0 -1
- package/cjs/react-utils/useRegisterNavigationCheckpoint/index.js +0 -28
- package/cjs/react-utils/useRegisterNavigationCheckpoint/index.js.map +0 -1
- package/cjs/react-utils/useRegisterNavigationCheckpoint/useRegisterNavigationCheckpoint.js +0 -78
- package/cjs/react-utils/useRegisterNavigationCheckpoint/useRegisterNavigationCheckpoint.js.map +0 -1
- package/cjs/react-utils/useRestoreScrollPosition/index.js +0 -28
- package/cjs/react-utils/useRestoreScrollPosition/index.js.map +0 -1
- package/cjs/react-utils/useRestoreScrollPosition/useRestoreScrollPosition.js +0 -70
- package/cjs/react-utils/useRestoreScrollPosition/useRestoreScrollPosition.js.map +0 -1
- package/cjs/react-utils/useStateWithDependency/index.js +0 -14
- package/cjs/react-utils/useStateWithDependency/index.js.map +0 -1
- package/cjs/react-utils/useStateWithDependency/useStateWithDependency.js +0 -22
- package/cjs/react-utils/useStateWithDependency/useStateWithDependency.js.map +0 -1
- package/cjs/react-utils/useTimer/index.js +0 -14
- package/cjs/react-utils/useTimer/index.js.map +0 -1
- package/cjs/react-utils/useTimer/useTimer.js +0 -45
- package/cjs/react-utils/useTimer/useTimer.js.map +0 -1
- package/cjs/react-utils/useUpdateEffect/index.js +0 -14
- package/cjs/react-utils/useUpdateEffect/index.js.map +0 -1
- package/cjs/react-utils/useUpdateEffect/useUpdateEffect.js +0 -20
- package/cjs/react-utils/useUpdateEffect/useUpdateEffect.js.map +0 -1
- package/cjs/react-utils/withImmutableActions/index.js +0 -14
- package/cjs/react-utils/withImmutableActions/index.js.map +0 -1
- package/cjs/react-utils/withImmutableActions/withImmutableActions.js +0 -30
- package/cjs/react-utils/withImmutableActions/withImmutableActions.js.map +0 -1
- package/cjs/react-utils/withT/index.js +0 -14
- package/cjs/react-utils/withT/index.js.map +0 -1
- package/cjs/react-utils/withT/withT.js +0 -13
- package/cjs/react-utils/withT/withT.js.map +0 -1
- package/cjs/react-utils/withTitle/index.js +0 -14
- package/cjs/react-utils/withTitle/index.js.map +0 -1
- package/cjs/react-utils/withTitle/withTitle.js +0 -27
- package/cjs/react-utils/withTitle/withTitle.js.map +0 -1
- package/cjs/utils/axios.js +0 -16
- package/cjs/utils/axios.js.map +0 -1
- package/cjs/utils/buildNestedAttributesPayload.js +0 -39
- package/cjs/utils/buildNestedAttributesPayload.js.map +0 -1
- package/cjs/utils/captureAnalyticsEvent.js +0 -13
- package/cjs/utils/captureAnalyticsEvent.js.map +0 -1
- package/cjs/utils/captureAnalyticsPageView.js +0 -18
- package/cjs/utils/captureAnalyticsPageView.js.map +0 -1
- package/cjs/utils/createSubscription.js +0 -20
- package/cjs/utils/createSubscription.js.map +0 -1
- package/cjs/utils/currencyFormat.js +0 -49
- package/cjs/utils/currencyFormat.js.map +0 -1
- package/cjs/utils/datetime.js +0 -65
- package/cjs/utils/datetime.js.map +0 -1
- package/cjs/utils/dayjs.js +0 -24
- package/cjs/utils/dayjs.js.map +0 -1
- package/cjs/utils/general.js +0 -216
- package/cjs/utils/general.js.map +0 -1
- package/cjs/utils/index.js +0 -137
- package/cjs/utils/index.js.map +0 -1
- package/cjs/utils/permissions.js +0 -24
- package/cjs/utils/permissions.js.map +0 -1
- package/cjs/utils/validators/index.js +0 -17
- package/cjs/utils/validators/index.js.map +0 -1
- package/cjs/utils/validators/slug.js +0 -57
- package/cjs/utils/validators/slug.js.map +0 -1
- package/constants/index.js +0 -14
- package/constants/index.js.map +0 -1
- package/constants/regex.js +0 -4
- package/constants/regex.js.map +0 -1
- package/cypress-utils/commands.js +0 -281
- package/cypress-utils/commands.js.map +0 -1
- package/cypress-utils/constants/index.js +0 -7
- package/cypress-utils/constants/index.js.map +0 -1
- package/cypress-utils/constants/routes.js +0 -33
- package/cypress-utils/constants/routes.js.map +0 -1
- package/cypress-utils/constants/selectors/common.js +0 -94
- package/cypress-utils/constants/selectors/common.js.map +0 -1
- package/cypress-utils/constants/selectors/editor.js +0 -22
- package/cypress-utils/constants/selectors/editor.js.map +0 -1
- package/cypress-utils/constants/selectors/ipRestriction.js +0 -12
- package/cypress-utils/constants/selectors/ipRestriction.js.map +0 -1
- package/cypress-utils/constants/selectors/login.js +0 -14
- package/cypress-utils/constants/selectors/login.js.map +0 -1
- package/cypress-utils/constants/selectors/member.js +0 -57
- package/cypress-utils/constants/selectors/member.js.map +0 -1
- package/cypress-utils/constants/selectors/navigation.js +0 -20
- package/cypress-utils/constants/selectors/navigation.js.map +0 -1
- package/cypress-utils/constants/selectors/roles.js +0 -17
- package/cypress-utils/constants/selectors/roles.js.map +0 -1
- package/cypress-utils/constants/selectors/signUp.js +0 -16
- package/cypress-utils/constants/selectors/signUp.js.map +0 -1
- package/cypress-utils/constants/selectors/tags.js +0 -23
- package/cypress-utils/constants/selectors/tags.js.map +0 -1
- package/cypress-utils/constants/texts/common.js +0 -33
- package/cypress-utils/constants/texts/common.js.map +0 -1
- package/cypress-utils/constants/texts/member.js +0 -59
- package/cypress-utils/constants/texts/member.js.map +0 -1
- package/cypress-utils/constants/texts/navigation.js +0 -16
- package/cypress-utils/constants/texts/navigation.js.map +0 -1
- package/cypress-utils/constants/texts/roles.js +0 -18
- package/cypress-utils/constants/texts/roles.js.map +0 -1
- package/cypress-utils/constants/texts/signUp.js +0 -7
- package/cypress-utils/constants/texts/signUp.js.map +0 -1
- package/cypress-utils/constants/texts/tags.js +0 -21
- package/cypress-utils/constants/texts/tags.js.map +0 -1
- package/cypress-utils/fixtures/fake.js +0 -171
- package/cypress-utils/fixtures/fake.js.map +0 -1
- package/cypress-utils/index.js +0 -21
- package/cypress-utils/index.js.map +0 -1
- package/cypress-utils/utils/authentication.js +0 -38
- package/cypress-utils/utils/authentication.js.map +0 -1
- package/cypress-utils/utils/common.js +0 -75
- package/cypress-utils/utils/common.js.map +0 -1
- package/cypress-utils/utils/date.js +0 -20
- package/cypress-utils/utils/date.js.map +0 -1
- package/cypress-utils/utils/email.js +0 -156
- package/cypress-utils/utils/email.js.map +0 -1
- package/cypress-utils/utils/member.js +0 -346
- package/cypress-utils/utils/member.js.map +0 -1
- package/cypress-utils/utils/navigation.js +0 -205
- package/cypress-utils/utils/navigation.js.map +0 -1
- package/cypress-utils/utils/organization.js +0 -102
- package/cypress-utils/utils/organization.js.map +0 -1
- package/cypress-utils/utils/validation.js +0 -10
- package/cypress-utils/utils/validation.js.map +0 -1
- package/initializers/axios.js +0 -3
- package/initializers/axios.js.map +0 -1
- package/initializers/axiosInitializer/index.js +0 -269
- package/initializers/axiosInitializer/index.js.map +0 -1
- package/initializers/axiosInitializer/paramsSerializer.js +0 -13
- package/initializers/axiosInitializer/paramsSerializer.js.map +0 -1
- package/initializers/constants.js +0 -15
- package/initializers/constants.js.map +0 -1
- package/initializers/dayjs.js +0 -59
- package/initializers/dayjs.js.map +0 -1
- package/initializers/globalProps.js +0 -11
- package/initializers/globalProps.js.map +0 -1
- package/initializers/i18n.js +0 -67
- package/initializers/i18n.js.map +0 -1
- package/initializers/index.js +0 -34
- package/initializers/index.js.map +0 -1
- package/initializers/logger.js +0 -10
- package/initializers/logger.js.map +0 -1
- package/initializers/mixpanel.js +0 -24
- package/initializers/mixpanel.js.map +0 -1
- package/initializers/reactDevTools.js +0 -19
- package/initializers/reactDevTools.js.map +0 -1
- package/initializers/utils/customFormatters.js +0 -43
- package/initializers/utils/customFormatters.js.map +0 -1
- package/initializers/utils/customPostProcessors.js +0 -14
- package/initializers/utils/customPostProcessors.js.map +0 -1
- package/initializers/utils/utils.js +0 -30
- package/initializers/utils/utils.js.map +0 -1
- package/react-utils/AppContainer/AppContainer.js +0 -35
- package/react-utils/AppContainer/AppContainer.js.map +0 -1
- package/react-utils/AppContainer/index.js +0 -1
- package/react-utils/AppContainer/index.js.map +0 -1
- package/react-utils/BrowserPushNotifications/devices.js +0 -22
- package/react-utils/BrowserPushNotifications/devices.js.map +0 -1
- package/react-utils/BrowserPushNotifications/index.js +0 -1
- package/react-utils/BrowserPushNotifications/index.js.map +0 -1
- package/react-utils/BrowserPushNotifications/pushHelper.js +0 -107
- package/react-utils/BrowserPushNotifications/pushHelper.js.map +0 -1
- package/react-utils/BrowserPushNotifications/registerServiceWorker.js +0 -137
- package/react-utils/BrowserPushNotifications/registerServiceWorker.js.map +0 -1
- package/react-utils/HoneybadgerErrorBoundary/FallbackComponent.js +0 -99
- package/react-utils/HoneybadgerErrorBoundary/FallbackComponent.js.map +0 -1
- package/react-utils/HoneybadgerErrorBoundary/HoneybadgerErrorBoundary.js +0 -51
- package/react-utils/HoneybadgerErrorBoundary/HoneybadgerErrorBoundary.js.map +0 -1
- package/react-utils/HoneybadgerErrorBoundary/constants.js +0 -3
- package/react-utils/HoneybadgerErrorBoundary/constants.js.map +0 -1
- package/react-utils/HoneybadgerErrorBoundary/index.js +0 -1
- package/react-utils/HoneybadgerErrorBoundary/index.js.map +0 -1
- package/react-utils/HoneybadgerErrorBoundary/utils.js +0 -9
- package/react-utils/HoneybadgerErrorBoundary/utils.js.map +0 -1
- package/react-utils/PageTitle/PageTitle.js +0 -14
- package/react-utils/PageTitle/PageTitle.js.map +0 -1
- package/react-utils/PageTitle/index.js +0 -1
- package/react-utils/PageTitle/index.js.map +0 -1
- package/react-utils/PrivateRoute/PrivateRoute.js +0 -41
- package/react-utils/PrivateRoute/PrivateRoute.js.map +0 -1
- package/react-utils/PrivateRoute/index.js +0 -1
- package/react-utils/PrivateRoute/index.js.map +0 -1
- package/react-utils/QueryClientProvider/QueryClientProvider.js +0 -12
- package/react-utils/QueryClientProvider/QueryClientProvider.js.map +0 -1
- package/react-utils/QueryClientProvider/index.js +0 -3
- package/react-utils/QueryClientProvider/index.js.map +0 -1
- package/react-utils/QueryClientProvider/queryClient.js +0 -16
- package/react-utils/QueryClientProvider/queryClient.js.map +0 -1
- package/react-utils/constants/constants.js +0 -4
- package/react-utils/constants/constants.js.map +0 -1
- package/react-utils/constants/index.js +0 -3
- package/react-utils/constants/index.js.map +0 -1
- package/react-utils/constants/query.js +0 -4
- package/react-utils/constants/query.js.map +0 -1
- package/react-utils/index.js +0 -39
- package/react-utils/index.js.map +0 -1
- package/react-utils/metaClick/index.js +0 -1
- package/react-utils/metaClick/index.js.map +0 -1
- package/react-utils/metaClick/metaClick.js +0 -15
- package/react-utils/metaClick/metaClick.js.map +0 -1
- package/react-utils/useBreakpoints/index.js +0 -15
- package/react-utils/useBreakpoints/index.js.map +0 -1
- package/react-utils/useBreakpoints/utils.js +0 -23
- package/react-utils/useBreakpoints/utils.js.map +0 -1
- package/react-utils/useDebounce/index.js +0 -1
- package/react-utils/useDebounce/index.js.map +0 -1
- package/react-utils/useDebounce/useDebounce.js +0 -20
- package/react-utils/useDebounce/useDebounce.js.map +0 -1
- package/react-utils/useDisplayErrorPage/index.js +0 -3
- package/react-utils/useDisplayErrorPage/index.js.map +0 -1
- package/react-utils/useDisplayErrorPage/useDisplayErrorPage.js +0 -15
- package/react-utils/useDisplayErrorPage/useDisplayErrorPage.js.map +0 -1
- package/react-utils/useFetchNeetoApps/apis/neeto_apps.js +0 -9
- package/react-utils/useFetchNeetoApps/apis/neeto_apps.js.map +0 -1
- package/react-utils/useFetchNeetoApps/index.js +0 -1
- package/react-utils/useFetchNeetoApps/index.js.map +0 -1
- package/react-utils/useFetchNeetoApps/useFetchNeetoApps.js +0 -22
- package/react-utils/useFetchNeetoApps/useFetchNeetoApps.js.map +0 -1
- package/react-utils/useFieldSubmit/index.js +0 -1
- package/react-utils/useFieldSubmit/index.js.map +0 -1
- package/react-utils/useFieldSubmit/useFieldSubmit.js +0 -26
- package/react-utils/useFieldSubmit/useFieldSubmit.js.map +0 -1
- package/react-utils/useFuncDebounce/index.js +0 -1
- package/react-utils/useFuncDebounce/index.js.map +0 -1
- package/react-utils/useFuncDebounce/useFuncDebounce.js +0 -20
- package/react-utils/useFuncDebounce/useFuncDebounce.js.map +0 -1
- package/react-utils/useIsElementVisibleInDom/index.js +0 -1
- package/react-utils/useIsElementVisibleInDom/index.js.map +0 -1
- package/react-utils/useIsElementVisibleInDom/useForceUpdate.js +0 -15
- package/react-utils/useIsElementVisibleInDom/useForceUpdate.js.map +0 -1
- package/react-utils/useIsElementVisibleInDom/useIsElementVisibleInDom.js +0 -26
- package/react-utils/useIsElementVisibleInDom/useIsElementVisibleInDom.js.map +0 -1
- package/react-utils/useKeyboardShortcutsPaneState/index.js +0 -1
- package/react-utils/useKeyboardShortcutsPaneState/index.js.map +0 -1
- package/react-utils/useKeyboardShortcutsPaneState/useKeyboardShortcutsPaneState.js +0 -29
- package/react-utils/useKeyboardShortcutsPaneState/useKeyboardShortcutsPaneState.js.map +0 -1
- package/react-utils/useLocalStorage/index.js +0 -1
- package/react-utils/useLocalStorage/index.js.map +0 -1
- package/react-utils/useLocalStorage/useLocalStorage.js +0 -37
- package/react-utils/useLocalStorage/useLocalStorage.js.map +0 -1
- package/react-utils/useMutationWithInvalidation/index.js +0 -1
- package/react-utils/useMutationWithInvalidation/index.js.map +0 -1
- package/react-utils/useMutationWithInvalidation/useMutationWithInvalidation.js +0 -37
- package/react-utils/useMutationWithInvalidation/useMutationWithInvalidation.js.map +0 -1
- package/react-utils/useOnClickOutside/index.js +0 -1
- package/react-utils/useOnClickOutside/index.js.map +0 -1
- package/react-utils/useOnClickOutside/useOnClickOutside.js +0 -25
- package/react-utils/useOnClickOutside/useOnClickOutside.js.map +0 -1
- package/react-utils/usePersistedQuery/index.js +0 -1
- package/react-utils/usePersistedQuery/index.js.map +0 -1
- package/react-utils/usePersistedQuery/usePersistedQuery.js +0 -54
- package/react-utils/usePersistedQuery/usePersistedQuery.js.map +0 -1
- package/react-utils/usePrevious/index.js +0 -1
- package/react-utils/usePrevious/index.js.map +0 -1
- package/react-utils/usePrevious/usePrevious.js +0 -10
- package/react-utils/usePrevious/usePrevious.js.map +0 -1
- package/react-utils/useQueryParams/index.js +0 -1
- package/react-utils/useQueryParams/index.js.map +0 -1
- package/react-utils/useQueryParams/useQueryParams.js +0 -8
- package/react-utils/useQueryParams/useQueryParams.js.map +0 -1
- package/react-utils/useRegisterNavigationCheckpoint/index.js +0 -3
- package/react-utils/useRegisterNavigationCheckpoint/index.js.map +0 -1
- package/react-utils/useRegisterNavigationCheckpoint/useRegisterNavigationCheckpoint.js +0 -71
- package/react-utils/useRegisterNavigationCheckpoint/useRegisterNavigationCheckpoint.js.map +0 -1
- package/react-utils/useRestoreScrollPosition/index.js +0 -3
- package/react-utils/useRestoreScrollPosition/index.js.map +0 -1
- package/react-utils/useRestoreScrollPosition/useRestoreScrollPosition.js +0 -64
- package/react-utils/useRestoreScrollPosition/useRestoreScrollPosition.js.map +0 -1
- package/react-utils/useStateWithDependency/index.js +0 -1
- package/react-utils/useStateWithDependency/index.js.map +0 -1
- package/react-utils/useStateWithDependency/useStateWithDependency.js +0 -15
- package/react-utils/useStateWithDependency/useStateWithDependency.js.map +0 -1
- package/react-utils/useTimer/index.js +0 -1
- package/react-utils/useTimer/index.js.map +0 -1
- package/react-utils/useTimer/useTimer.js +0 -39
- package/react-utils/useTimer/useTimer.js.map +0 -1
- package/react-utils/useUpdateEffect/index.js +0 -1
- package/react-utils/useUpdateEffect/index.js.map +0 -1
- package/react-utils/useUpdateEffect/useUpdateEffect.js +0 -14
- package/react-utils/useUpdateEffect/useUpdateEffect.js.map +0 -1
- package/react-utils/withImmutableActions/index.js +0 -1
- package/react-utils/withImmutableActions/index.js.map +0 -1
- package/react-utils/withImmutableActions/withImmutableActions.js +0 -23
- package/react-utils/withImmutableActions/withImmutableActions.js.map +0 -1
- package/react-utils/withT/index.js +0 -1
- package/react-utils/withT/index.js.map +0 -1
- package/react-utils/withT/withT.js +0 -7
- package/react-utils/withT/withT.js.map +0 -1
- package/react-utils/withTitle/index.js +0 -1
- package/react-utils/withTitle/index.js.map +0 -1
- package/react-utils/withTitle/withTitle.js +0 -21
- package/react-utils/withTitle/withTitle.js.map +0 -1
- package/translations/en.json +0 -110
- package/utils/axios.js +0 -10
- package/utils/axios.js.map +0 -1
- package/utils/buildNestedAttributesPayload.js +0 -32
- package/utils/buildNestedAttributesPayload.js.map +0 -1
- package/utils/captureAnalyticsEvent.js +0 -6
- package/utils/captureAnalyticsEvent.js.map +0 -1
- package/utils/captureAnalyticsPageView.js +0 -11
- package/utils/captureAnalyticsPageView.js.map +0 -1
- package/utils/createSubscription.js +0 -14
- package/utils/createSubscription.js.map +0 -1
- package/utils/currencyFormat.js +0 -42
- package/utils/currencyFormat.js.map +0 -1
- package/utils/datetime.js +0 -57
- package/utils/datetime.js.map +0 -1
- package/utils/dayjs.js +0 -24
- package/utils/dayjs.js.map +0 -1
- package/utils/general.js +0 -209
- package/utils/general.js.map +0 -1
- package/utils/index.js +0 -12
- package/utils/index.js.map +0 -1
- package/utils/permissions.js +0 -18
- package/utils/permissions.js.map +0 -1
- package/utils/validators/index.js +0 -1
- package/utils/validators/index.js.map +0 -1
- package/utils/validators/slug.js +0 -48
- package/utils/validators/slug.js.map +0 -1
- /package/{cjs → dist}/translations/en.json +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"i18n.js","sources":["../../../node_modules/i18next-browser-languagedetector/node_modules/@babel/runtime/helpers/esm/classCallCheck.js","../../../node_modules/i18next-browser-languagedetector/node_modules/@babel/runtime/helpers/esm/typeof.js","../../../node_modules/i18next-browser-languagedetector/node_modules/@babel/runtime/helpers/esm/toPrimitive.js","../../../node_modules/i18next-browser-languagedetector/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js","../../../node_modules/i18next-browser-languagedetector/node_modules/@babel/runtime/helpers/esm/createClass.js","../../../node_modules/i18next-browser-languagedetector/dist/esm/i18nextBrowserLanguageDetector.js","../../../src/initializers/i18n.js"],"sourcesContent":["export default function _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n}","export default function _typeof(obj) {\n \"@babel/helpers - typeof\";\n\n return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) {\n return typeof obj;\n } : function (obj) {\n return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n }, _typeof(obj);\n}","import _typeof from \"./typeof.js\";\nexport default function _toPrimitive(input, hint) {\n if (_typeof(input) !== \"object\" || input === null) return input;\n var prim = input[Symbol.toPrimitive];\n if (prim !== undefined) {\n var res = prim.call(input, hint || \"default\");\n if (_typeof(res) !== \"object\") return res;\n throw new TypeError(\"@@toPrimitive must return a primitive value.\");\n }\n return (hint === \"string\" ? String : Number)(input);\n}","import _typeof from \"./typeof.js\";\nimport toPrimitive from \"./toPrimitive.js\";\nexport default function _toPropertyKey(arg) {\n var key = toPrimitive(arg, \"string\");\n return _typeof(key) === \"symbol\" ? key : String(key);\n}","import toPropertyKey from \"./toPropertyKey.js\";\nfunction _defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if (\"value\" in descriptor) descriptor.writable = true;\n Object.defineProperty(target, toPropertyKey(descriptor.key), descriptor);\n }\n}\nexport default function _createClass(Constructor, protoProps, staticProps) {\n if (protoProps) _defineProperties(Constructor.prototype, protoProps);\n if (staticProps) _defineProperties(Constructor, staticProps);\n Object.defineProperty(Constructor, \"prototype\", {\n writable: false\n });\n return Constructor;\n}","import _classCallCheck from '@babel/runtime/helpers/esm/classCallCheck';\nimport _createClass from '@babel/runtime/helpers/esm/createClass';\n\nvar arr = [];\nvar each = arr.forEach;\nvar slice = arr.slice;\nfunction defaults(obj) {\n each.call(slice.call(arguments, 1), function (source) {\n if (source) {\n for (var prop in source) {\n if (obj[prop] === undefined) obj[prop] = source[prop];\n }\n }\n });\n return obj;\n}\n\n// eslint-disable-next-line no-control-regex\nvar fieldContentRegExp = /^[\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+$/;\nvar serializeCookie = function serializeCookie(name, val, options) {\n var opt = options || {};\n opt.path = opt.path || '/';\n var value = encodeURIComponent(val);\n var str = \"\".concat(name, \"=\").concat(value);\n if (opt.maxAge > 0) {\n var maxAge = opt.maxAge - 0;\n if (Number.isNaN(maxAge)) throw new Error('maxAge should be a Number');\n str += \"; Max-Age=\".concat(Math.floor(maxAge));\n }\n if (opt.domain) {\n if (!fieldContentRegExp.test(opt.domain)) {\n throw new TypeError('option domain is invalid');\n }\n str += \"; Domain=\".concat(opt.domain);\n }\n if (opt.path) {\n if (!fieldContentRegExp.test(opt.path)) {\n throw new TypeError('option path is invalid');\n }\n str += \"; Path=\".concat(opt.path);\n }\n if (opt.expires) {\n if (typeof opt.expires.toUTCString !== 'function') {\n throw new TypeError('option expires is invalid');\n }\n str += \"; Expires=\".concat(opt.expires.toUTCString());\n }\n if (opt.httpOnly) str += '; HttpOnly';\n if (opt.secure) str += '; Secure';\n if (opt.sameSite) {\n var sameSite = typeof opt.sameSite === 'string' ? opt.sameSite.toLowerCase() : opt.sameSite;\n switch (sameSite) {\n case true:\n str += '; SameSite=Strict';\n break;\n case 'lax':\n str += '; SameSite=Lax';\n break;\n case 'strict':\n str += '; SameSite=Strict';\n break;\n case 'none':\n str += '; SameSite=None';\n break;\n default:\n throw new TypeError('option sameSite is invalid');\n }\n }\n return str;\n};\nvar cookie = {\n create: function create(name, value, minutes, domain) {\n var cookieOptions = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : {\n path: '/',\n sameSite: 'strict'\n };\n if (minutes) {\n cookieOptions.expires = new Date();\n cookieOptions.expires.setTime(cookieOptions.expires.getTime() + minutes * 60 * 1000);\n }\n if (domain) cookieOptions.domain = domain;\n document.cookie = serializeCookie(name, encodeURIComponent(value), cookieOptions);\n },\n read: function read(name) {\n var nameEQ = \"\".concat(name, \"=\");\n var ca = document.cookie.split(';');\n for (var i = 0; i < ca.length; i++) {\n var c = ca[i];\n while (c.charAt(0) === ' ') {\n c = c.substring(1, c.length);\n }\n if (c.indexOf(nameEQ) === 0) return c.substring(nameEQ.length, c.length);\n }\n return null;\n },\n remove: function remove(name) {\n this.create(name, '', -1);\n }\n};\nvar cookie$1 = {\n name: 'cookie',\n lookup: function lookup(options) {\n var found;\n if (options.lookupCookie && typeof document !== 'undefined') {\n var c = cookie.read(options.lookupCookie);\n if (c) found = c;\n }\n return found;\n },\n cacheUserLanguage: function cacheUserLanguage(lng, options) {\n if (options.lookupCookie && typeof document !== 'undefined') {\n cookie.create(options.lookupCookie, lng, options.cookieMinutes, options.cookieDomain, options.cookieOptions);\n }\n }\n};\n\nvar querystring = {\n name: 'querystring',\n lookup: function lookup(options) {\n var found;\n if (typeof window !== 'undefined') {\n var search = window.location.search;\n if (!window.location.search && window.location.hash && window.location.hash.indexOf('?') > -1) {\n search = window.location.hash.substring(window.location.hash.indexOf('?'));\n }\n var query = search.substring(1);\n var params = query.split('&');\n for (var i = 0; i < params.length; i++) {\n var pos = params[i].indexOf('=');\n if (pos > 0) {\n var key = params[i].substring(0, pos);\n if (key === options.lookupQuerystring) {\n found = params[i].substring(pos + 1);\n }\n }\n }\n }\n return found;\n }\n};\n\nvar hasLocalStorageSupport = null;\nvar localStorageAvailable = function localStorageAvailable() {\n if (hasLocalStorageSupport !== null) return hasLocalStorageSupport;\n try {\n hasLocalStorageSupport = window !== 'undefined' && window.localStorage !== null;\n var testKey = 'i18next.translate.boo';\n window.localStorage.setItem(testKey, 'foo');\n window.localStorage.removeItem(testKey);\n } catch (e) {\n hasLocalStorageSupport = false;\n }\n return hasLocalStorageSupport;\n};\nvar localStorage = {\n name: 'localStorage',\n lookup: function lookup(options) {\n var found;\n if (options.lookupLocalStorage && localStorageAvailable()) {\n var lng = window.localStorage.getItem(options.lookupLocalStorage);\n if (lng) found = lng;\n }\n return found;\n },\n cacheUserLanguage: function cacheUserLanguage(lng, options) {\n if (options.lookupLocalStorage && localStorageAvailable()) {\n window.localStorage.setItem(options.lookupLocalStorage, lng);\n }\n }\n};\n\nvar hasSessionStorageSupport = null;\nvar sessionStorageAvailable = function sessionStorageAvailable() {\n if (hasSessionStorageSupport !== null) return hasSessionStorageSupport;\n try {\n hasSessionStorageSupport = window !== 'undefined' && window.sessionStorage !== null;\n var testKey = 'i18next.translate.boo';\n window.sessionStorage.setItem(testKey, 'foo');\n window.sessionStorage.removeItem(testKey);\n } catch (e) {\n hasSessionStorageSupport = false;\n }\n return hasSessionStorageSupport;\n};\nvar sessionStorage = {\n name: 'sessionStorage',\n lookup: function lookup(options) {\n var found;\n if (options.lookupSessionStorage && sessionStorageAvailable()) {\n var lng = window.sessionStorage.getItem(options.lookupSessionStorage);\n if (lng) found = lng;\n }\n return found;\n },\n cacheUserLanguage: function cacheUserLanguage(lng, options) {\n if (options.lookupSessionStorage && sessionStorageAvailable()) {\n window.sessionStorage.setItem(options.lookupSessionStorage, lng);\n }\n }\n};\n\nvar navigator$1 = {\n name: 'navigator',\n lookup: function lookup(options) {\n var found = [];\n if (typeof navigator !== 'undefined') {\n if (navigator.languages) {\n // chrome only; not an array, so can't use .push.apply instead of iterating\n for (var i = 0; i < navigator.languages.length; i++) {\n found.push(navigator.languages[i]);\n }\n }\n if (navigator.userLanguage) {\n found.push(navigator.userLanguage);\n }\n if (navigator.language) {\n found.push(navigator.language);\n }\n }\n return found.length > 0 ? found : undefined;\n }\n};\n\nvar htmlTag = {\n name: 'htmlTag',\n lookup: function lookup(options) {\n var found;\n var htmlTag = options.htmlTag || (typeof document !== 'undefined' ? document.documentElement : null);\n if (htmlTag && typeof htmlTag.getAttribute === 'function') {\n found = htmlTag.getAttribute('lang');\n }\n return found;\n }\n};\n\nvar path = {\n name: 'path',\n lookup: function lookup(options) {\n var found;\n if (typeof window !== 'undefined') {\n var language = window.location.pathname.match(/\\/([a-zA-Z-]*)/g);\n if (language instanceof Array) {\n if (typeof options.lookupFromPathIndex === 'number') {\n if (typeof language[options.lookupFromPathIndex] !== 'string') {\n return undefined;\n }\n found = language[options.lookupFromPathIndex].replace('/', '');\n } else {\n found = language[0].replace('/', '');\n }\n }\n }\n return found;\n }\n};\n\nvar subdomain = {\n name: 'subdomain',\n lookup: function lookup(options) {\n // If given get the subdomain index else 1\n var lookupFromSubdomainIndex = typeof options.lookupFromSubdomainIndex === 'number' ? options.lookupFromSubdomainIndex + 1 : 1;\n // get all matches if window.location. is existing\n // first item of match is the match itself and the second is the first group macht which sould be the first subdomain match\n // is the hostname no public domain get the or option of localhost\n var language = typeof window !== 'undefined' && window.location && window.location.hostname && window.location.hostname.match(/^(\\w{2,5})\\.(([a-z0-9-]{1,63}\\.[a-z]{2,6})|localhost)/i);\n\n // if there is no match (null) return undefined\n if (!language) return undefined;\n // return the given group match\n return language[lookupFromSubdomainIndex];\n }\n};\n\nfunction getDefaults() {\n return {\n order: ['querystring', 'cookie', 'localStorage', 'sessionStorage', 'navigator', 'htmlTag'],\n lookupQuerystring: 'lng',\n lookupCookie: 'i18next',\n lookupLocalStorage: 'i18nextLng',\n lookupSessionStorage: 'i18nextLng',\n // cache user language\n caches: ['localStorage'],\n excludeCacheFor: ['cimode'],\n // cookieMinutes: 10,\n // cookieDomain: 'myDomain'\n\n convertDetectedLanguage: function convertDetectedLanguage(l) {\n return l;\n }\n };\n}\nvar Browser = /*#__PURE__*/function () {\n function Browser(services) {\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n _classCallCheck(this, Browser);\n this.type = 'languageDetector';\n this.detectors = {};\n this.init(services, options);\n }\n _createClass(Browser, [{\n key: \"init\",\n value: function init(services) {\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n var i18nOptions = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n this.services = services || {\n languageUtils: {}\n }; // this way the language detector can be used without i18next\n this.options = defaults(options, this.options || {}, getDefaults());\n if (typeof this.options.convertDetectedLanguage === 'string' && this.options.convertDetectedLanguage.indexOf('15897') > -1) {\n this.options.convertDetectedLanguage = function (l) {\n return l.replace('-', '_');\n };\n }\n\n // backwards compatibility\n if (this.options.lookupFromUrlIndex) this.options.lookupFromPathIndex = this.options.lookupFromUrlIndex;\n this.i18nOptions = i18nOptions;\n this.addDetector(cookie$1);\n this.addDetector(querystring);\n this.addDetector(localStorage);\n this.addDetector(sessionStorage);\n this.addDetector(navigator$1);\n this.addDetector(htmlTag);\n this.addDetector(path);\n this.addDetector(subdomain);\n }\n }, {\n key: \"addDetector\",\n value: function addDetector(detector) {\n this.detectors[detector.name] = detector;\n }\n }, {\n key: \"detect\",\n value: function detect(detectionOrder) {\n var _this = this;\n if (!detectionOrder) detectionOrder = this.options.order;\n var detected = [];\n detectionOrder.forEach(function (detectorName) {\n if (_this.detectors[detectorName]) {\n var lookup = _this.detectors[detectorName].lookup(_this.options);\n if (lookup && typeof lookup === 'string') lookup = [lookup];\n if (lookup) detected = detected.concat(lookup);\n }\n });\n detected = detected.map(function (d) {\n return _this.options.convertDetectedLanguage(d);\n });\n if (this.services.languageUtils.getBestMatchFromCodes) return detected; // new i18next v19.5.0\n return detected.length > 0 ? detected[0] : null; // a little backward compatibility\n }\n }, {\n key: \"cacheUserLanguage\",\n value: function cacheUserLanguage(lng, caches) {\n var _this2 = this;\n if (!caches) caches = this.options.caches;\n if (!caches) return;\n if (this.options.excludeCacheFor && this.options.excludeCacheFor.indexOf(lng) > -1) return;\n caches.forEach(function (cacheName) {\n if (_this2.detectors[cacheName]) _this2.detectors[cacheName].cacheUserLanguage(lng, _this2.options);\n });\n }\n }]);\n return Browser;\n}();\nBrowser.type = 'languageDetector';\n\nexport { Browser as default };\n","import i18n from \"i18next\";\nimport LanguageDetector from \"i18next-browser-languagedetector\";\nimport { mergeDeepLeft } from \"ramda\";\nimport { initReactI18next } from \"react-i18next\";\n\nimport { LIST_FORMATS } from \"./constants\";\nimport {\n listFormatter,\n lowerCaseDynamicTextFormatter,\n} from \"./utils/customFormatters\";\nimport { sentenceCaseProcessor } from \"./utils/customPostProcessors\";\nimport { replaceNullValuesWithGetter } from \"./utils/utils\";\n\nimport commonsEn from \"../translations/en.json\";\n\n// eslint-disable-next-line import/no-mutable-exports\nlet taxonomies = {};\n\nconst initializeI18n = hostTranslations => {\n // eslint-disable-next-line no-undef\n const packageTranslations = preval.require(\n \"../../configs/scripts/getPkgTranslations.js\"\n );\n\n const commonsTranslations = { en: { translation: commonsEn } };\n\n const resources = [\n hostTranslations,\n commonsTranslations,\n packageTranslations,\n ].reduce(mergeDeepLeft);\n\n const defaultTaxonomyKeys = Object.keys(\n resources.en.translation.taxonomyDefaultLabels || {}\n );\n\n const defaultTaxonomies = Object.fromEntries(\n defaultTaxonomyKeys.map(key => [key, { singular: null, plural: null }])\n );\n\n const hostTaxonomies = window.globalProps?.taxonomies || {};\n\n taxonomies = replaceNullValuesWithGetter(\n mergeDeepLeft(hostTaxonomies, defaultTaxonomies)\n );\n\n i18n\n .use(LanguageDetector)\n .use(initReactI18next)\n .use(sentenceCaseProcessor)\n .init({\n resources,\n fallbackLng: \"en\",\n interpolation: {\n defaultVariables: { taxonomies },\n escapeValue: false,\n skipOnVariables: false,\n alwaysFormat: true,\n format: (value, format, lng, options) => {\n let newValue = value;\n\n if (LIST_FORMATS.includes(format)) {\n newValue = listFormatter({ value: newValue, format, lng, options });\n\n return newValue;\n }\n\n return lowerCaseDynamicTextFormatter(newValue, format);\n },\n },\n postProcess: [sentenceCaseProcessor.name],\n detection: {\n order: [\"querystring\", \"cookie\", \"navigator\", \"path\"],\n caches: [\"cookie\"],\n lookupQuerystring: \"lang\",\n lookupCookie: \"lang\",\n },\n });\n};\n\nexport { taxonomies };\n\nexport default initializeI18n;\n"],"names":["toPrimitive","toPropertyKey","taxonomies","initializeI18n","hostTranslations","_window$globalProps","packageTranslations","preval","require","commonsTranslations","en","translation","commonsEn","resources","reduce","mergeDeepLeft","defaultTaxonomyKeys","Object","keys","taxonomyDefaultLabels","defaultTaxonomies","fromEntries","map","key","singular","plural","hostTaxonomies","window","globalProps","replaceNullValuesWithGetter","i18n","use","LanguageDetector","initReactI18next","sentenceCaseProcessor","init","fallbackLng","interpolation","defaultVariables","escapeValue","skipOnVariables","alwaysFormat","format","value","lng","options","newValue","LIST_FORMATS","includes","listFormatter","lowerCaseDynamicTextFormatter","postProcess","name","detection","order","caches","lookupQuerystring","lookupCookie"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAe,SAAS,eAAe,CAAC,QAAQ,EAAE,WAAW,EAAE;AAC/D,EAAE,IAAI,EAAE,QAAQ,YAAY,WAAW,CAAC,EAAE;AAC1C,IAAI,MAAM,IAAI,SAAS,CAAC,mCAAmC,CAAC,CAAC;AAC7D,GAAG;AACH;;ACJe,SAAS,OAAO,CAAC,GAAG,EAAE;AACrC,EAAE,yBAAyB,CAAC;AAC5B;AACA,EAAE,OAAO,OAAO,GAAG,UAAU,IAAI,OAAO,MAAM,IAAI,QAAQ,IAAI,OAAO,MAAM,CAAC,QAAQ,GAAG,UAAU,GAAG,EAAE;AACtG,IAAI,OAAO,OAAO,GAAG,CAAC;AACtB,GAAG,GAAG,UAAU,GAAG,EAAE;AACrB,IAAI,OAAO,GAAG,IAAI,UAAU,IAAI,OAAO,MAAM,IAAI,GAAG,CAAC,WAAW,KAAK,MAAM,IAAI,GAAG,KAAK,MAAM,CAAC,SAAS,G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AC,QAAQ,CAAC;AAClBC,MAAAA,iBAAiB,EAAE,MAAM;AACzBC,MAAAA,YAAY,EAAE,MAAA;AAChB,KAAA;AACF,GAAC,CAAC,CAAA;AACN;;;;"}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var _typeof = require('../typeof-a861d137.js');
|
|
6
|
+
var reactUtils_useDisplayErrorPage_useDisplayErrorPage = require('../react-utils/useDisplayErrorPage/useDisplayErrorPage.js');
|
|
7
|
+
var initializers_axiosInitializer_index = require('./axiosInitializer/index.js');
|
|
8
|
+
var initializers_dayjs = require('./dayjs.js');
|
|
9
|
+
var initializers_globalProps = require('./globalProps.js');
|
|
10
|
+
var initializers_i18n = require('./i18n.js');
|
|
11
|
+
var initializers_logger = require('./logger.js');
|
|
12
|
+
var initializers_mixpanel = require('./mixpanel.js');
|
|
13
|
+
var initializers_reactDevTools = require('./reactDevTools.js');
|
|
14
|
+
require('ramda');
|
|
15
|
+
require('zustand');
|
|
16
|
+
require('../defineProperty-ba7cd53d.js');
|
|
17
|
+
require('axios');
|
|
18
|
+
require('i18next');
|
|
19
|
+
require('@bigbinary/neeto-cist');
|
|
20
|
+
require('@bigbinary/neetoui/Toastr');
|
|
21
|
+
require('react-toastify');
|
|
22
|
+
require('../utils/axios.js');
|
|
23
|
+
require('./constants.js');
|
|
24
|
+
require('./axiosInitializer/paramsSerializer.js');
|
|
25
|
+
require('qs');
|
|
26
|
+
require('dayjs');
|
|
27
|
+
require('dayjs/plugin/advancedFormat');
|
|
28
|
+
require('dayjs/plugin/customParseFormat');
|
|
29
|
+
require('dayjs/plugin/duration');
|
|
30
|
+
require('dayjs/plugin/isSameOrAfter');
|
|
31
|
+
require('dayjs/plugin/isSameOrBefore');
|
|
32
|
+
require('dayjs/plugin/isToday');
|
|
33
|
+
require('dayjs/plugin/localeData');
|
|
34
|
+
require('dayjs/plugin/localizedFormat');
|
|
35
|
+
require('dayjs/plugin/minMax');
|
|
36
|
+
require('dayjs/plugin/quarterOfYear');
|
|
37
|
+
require('dayjs/plugin/relativeTime');
|
|
38
|
+
require('dayjs/plugin/timezone');
|
|
39
|
+
require('dayjs/plugin/updateLocale');
|
|
40
|
+
require('dayjs/plugin/utc');
|
|
41
|
+
require('dayjs/plugin/weekday');
|
|
42
|
+
require('dayjs/plugin/weekOfYear');
|
|
43
|
+
require('react-i18next');
|
|
44
|
+
require('./utils/customFormatters.js');
|
|
45
|
+
require('dompurify');
|
|
46
|
+
require('./utils/customPostProcessors.js');
|
|
47
|
+
require('./utils/utils.js');
|
|
48
|
+
require('../slicedToArray-c9e22c6a.js');
|
|
49
|
+
require('../unsupportedIterableToArray-294d47a8.js');
|
|
50
|
+
require('js-logger');
|
|
51
|
+
require('../mixpanel.cjs-e97a1ff5.js');
|
|
52
|
+
require('../_commonjsHelpers-755157d3.js');
|
|
53
|
+
|
|
54
|
+
// eslint-disable-next-line import/no-mutable-exports
|
|
55
|
+
exports.globalProps = {};
|
|
56
|
+
function initializeApplication(_ref) {
|
|
57
|
+
var translationResources = _ref.translationResources,
|
|
58
|
+
skip = _ref.skip;
|
|
59
|
+
if (!(skip !== null && skip !== void 0 && skip.globalProps)) {
|
|
60
|
+
initializers_globalProps();
|
|
61
|
+
// eslint-disable-next-line @bigbinary/neeto/no-globalProps-reassignment
|
|
62
|
+
exports.globalProps = window.globalProps;
|
|
63
|
+
}
|
|
64
|
+
if (_typeof._typeof(skip === null || skip === void 0 ? void 0 : skip.axios) === "object" || !(skip !== null && skip !== void 0 && skip.axios)) {
|
|
65
|
+
initializers_axiosInitializer_index(skip === null || skip === void 0 ? void 0 : skip.axios);
|
|
66
|
+
}
|
|
67
|
+
if (!(skip !== null && skip !== void 0 && skip.i18n)) initializers_i18n["default"](translationResources);
|
|
68
|
+
if (!(skip !== null && skip !== void 0 && skip.logger)) initializers_logger();
|
|
69
|
+
if (!(skip !== null && skip !== void 0 && skip.dayjs)) initializers_dayjs(skip === null || skip === void 0 ? void 0 : skip.timezone);
|
|
70
|
+
if (process.env.NODE_ENV === "production") initializers_reactDevTools();
|
|
71
|
+
var pageLoader = document.getElementById("neeto-page-loader");
|
|
72
|
+
if (pageLoader) pageLoader.remove();
|
|
73
|
+
initializers_mixpanel(skip);
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
exports.useDisplayErrorPage = reactUtils_useDisplayErrorPage_useDisplayErrorPage["default"];
|
|
77
|
+
Object.defineProperty(exports, 'taxonomies', {
|
|
78
|
+
enumerable: true,
|
|
79
|
+
get: function () { return initializers_i18n.taxonomies; }
|
|
80
|
+
});
|
|
81
|
+
exports["default"] = initializeApplication;
|
|
82
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../src/initializers/index.js"],"sourcesContent":["// TODO: kept for backward compatibility.\nimport useDisplayErrorPage from \"react-utils/useDisplayErrorPage\";\n\nimport initializeAxios from \"./axios\";\nimport initializeDayjs from \"./dayjs\";\nimport initializeGlobalProps from \"./globalProps\";\nimport initializeI18n, { taxonomies } from \"./i18n\";\nimport initializeLogger from \"./logger\";\nimport initializeMixpanel from \"./mixpanel\";\nimport disableReactDevTools from \"./reactDevTools\";\n\n// eslint-disable-next-line import/no-mutable-exports\nlet globalProps = {};\n\nexport { globalProps, useDisplayErrorPage, taxonomies };\n\nexport default function initializeApplication({ translationResources, skip }) {\n if (!skip?.globalProps) {\n initializeGlobalProps();\n // eslint-disable-next-line @bigbinary/neeto/no-globalProps-reassignment\n globalProps = window.globalProps;\n }\n\n if (typeof skip?.axios === \"object\" || !skip?.axios) {\n initializeAxios(skip?.axios);\n }\n\n if (!skip?.i18n) initializeI18n(translationResources);\n\n if (!skip?.logger) initializeLogger();\n\n if (!skip?.dayjs) initializeDayjs(skip?.timezone);\n\n if (process.env.NODE_ENV === \"production\") disableReactDevTools();\n\n const pageLoader = document.getElementById(\"neeto-page-loader\");\n if (pageLoader) pageLoader.remove();\n\n initializeMixpanel(skip);\n}\n"],"names":["globalProps","initializeApplication","_ref","translationResources","skip","initializeGlobalProps","window","_typeof","axios","initializeAxios","i18n","initializeI18n","logger","initializeLogger","dayjs","initializeDayjs","timezone","process","env","NODE_ENV","disableReactDevTools","pageLoader","document","getElementById","remove","initializeMixpanel"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAWA;AACIA,mBAAW,GAAG,GAAE;AAIL,SAASC,qBAAqBA,CAAAC,IAAA,EAAiC;AAAA,EAAA,IAA9BC,oBAAoB,GAAAD,IAAA,CAApBC,oBAAoB;IAAEC,IAAI,GAAAF,IAAA,CAAJE,IAAI,CAAA;EACxE,IAAI,EAACA,IAAI,KAAJA,IAAAA,IAAAA,IAAI,eAAJA,IAAI,CAAEJ,WAAW,CAAE,EAAA;AACtBK,IAAAA,wBAAqB,EAAE,CAAA;AACvB;IACAL,mBAAW,GAAGM,MAAM,CAACN,WAAW,CAAA;AAClC,GAAA;EAEA,IAAIO,eAAA,CAAOH,IAAI,KAAA,IAAA,IAAJA,IAAI,KAAJA,KAAAA,CAAAA,GAAAA,KAAAA,CAAAA,GAAAA,IAAI,CAAEI,KAAK,CAAA,KAAK,QAAQ,IAAI,EAACJ,IAAI,KAAJA,IAAAA,IAAAA,IAAI,eAAJA,IAAI,CAAEI,KAAK,CAAE,EAAA;IACnDC,mCAAe,CAACL,IAAI,KAAJA,IAAAA,IAAAA,IAAI,uBAAJA,IAAI,CAAEI,KAAK,CAAC,CAAA;AAC9B,GAAA;AAEA,EAAA,IAAI,EAACJ,IAAI,KAAJA,IAAAA,IAAAA,IAAI,KAAJA,KAAAA,CAAAA,IAAAA,IAAI,CAAEM,IAAI,CAAEC,EAAAA,4BAAc,CAACR,oBAAoB,CAAC,CAAA;EAErD,IAAI,EAACC,IAAI,KAAA,IAAA,IAAJA,IAAI,KAAA,KAAA,CAAA,IAAJA,IAAI,CAAEQ,MAAM,CAAA,EAAEC,mBAAgB,EAAE,CAAA;AAErC,EAAA,IAAI,EAACT,IAAI,KAAA,IAAA,IAAJA,IAAI,KAAJA,KAAAA,CAAAA,IAAAA,IAAI,CAAEU,KAAK,CAAA,EAAEC,kBAAe,CAACX,IAAI,KAAJA,IAAAA,IAAAA,IAAI,uBAAJA,IAAI,CAAEY,QAAQ,CAAC,CAAA;EAEjD,IAAIC,OAAO,CAACC,GAAG,CAACC,QAAQ,KAAK,YAAY,EAAEC,0BAAoB,EAAE,CAAA;AAEjE,EAAA,IAAMC,UAAU,GAAGC,QAAQ,CAACC,cAAc,CAAC,mBAAmB,CAAC,CAAA;AAC/D,EAAA,IAAIF,UAAU,EAAEA,UAAU,CAACG,MAAM,EAAE,CAAA;EAEnCC,qBAAkB,CAACrB,IAAI,CAAC,CAAA;AAC1B;;;;;;;;;"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var Logger = require('js-logger');
|
|
4
|
+
|
|
5
|
+
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
6
|
+
|
|
7
|
+
var Logger__default = /*#__PURE__*/_interopDefaultLegacy(Logger);
|
|
8
|
+
|
|
9
|
+
function initializeLogger() {
|
|
10
|
+
/* eslint react-hooks/rules-of-hooks: "off" */
|
|
11
|
+
Logger__default["default"].useDefaults();
|
|
12
|
+
if (process.env.RAILS_ENV === "production") {
|
|
13
|
+
Logger__default["default"].setLevel(Logger__default["default"].OFF);
|
|
14
|
+
}
|
|
15
|
+
window.logger = Logger__default["default"];
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
module.exports = initializeLogger;
|
|
19
|
+
//# sourceMappingURL=logger.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"logger.js","sources":["../../../src/initializers/logger.js"],"sourcesContent":["import Logger from \"js-logger\";\n\nexport default function initializeLogger() {\n /* eslint react-hooks/rules-of-hooks: \"off\" */\n Logger.useDefaults();\n if (process.env.RAILS_ENV === \"production\") {\n Logger.setLevel(Logger.OFF);\n }\n window.logger = Logger;\n}\n"],"names":["initializeLogger","Logger","useDefaults","process","env","RAILS_ENV","setLevel","OFF","window","logger"],"mappings":";;;;;;;;AAEe,SAASA,gBAAgBA,GAAG;AACzC;EACAC,0BAAM,CAACC,WAAW,EAAE,CAAA;AACpB,EAAA,IAAIC,OAAO,CAACC,GAAG,CAACC,SAAS,KAAK,YAAY,EAAE;AAC1CJ,IAAAA,0BAAM,CAACK,QAAQ,CAACL,0BAAM,CAACM,GAAG,CAAC,CAAA;AAC7B,GAAA;EACAC,MAAM,CAACC,MAAM,GAAGR,0BAAM,CAAA;AACxB;;;;"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var mixpanel_cjs = require('../mixpanel.cjs-e97a1ff5.js');
|
|
4
|
+
require('../_commonjsHelpers-755157d3.js');
|
|
5
|
+
|
|
6
|
+
function initializeMixpanel(skip) {
|
|
7
|
+
var _globalProps$user, _globalProps$organiza;
|
|
8
|
+
var analyticsId = "".concat((_globalProps$user = globalProps.user) === null || _globalProps$user === void 0 ? void 0 : _globalProps$user.email, "-").concat((_globalProps$organiza = globalProps.organization) === null || _globalProps$organiza === void 0 ? void 0 : _globalProps$organiza.subdomain);
|
|
9
|
+
if (globalProps.mixpanelProjectToken && !(skip !== null && skip !== void 0 && skip.mixpanel)) {
|
|
10
|
+
var _globalProps$user2, _globalProps$user3, _globalProps$user4, _globalProps$user5, _globalProps$organiza2;
|
|
11
|
+
mixpanel_cjs.mixpanel.init(globalProps.mixpanelProjectToken);
|
|
12
|
+
mixpanel_cjs.mixpanel.people.set({
|
|
13
|
+
$first_name: (_globalProps$user2 = globalProps.user) === null || _globalProps$user2 === void 0 ? void 0 : _globalProps$user2.firstName,
|
|
14
|
+
$last_name: (_globalProps$user3 = globalProps.user) === null || _globalProps$user3 === void 0 ? void 0 : _globalProps$user3.lastName,
|
|
15
|
+
$email: (_globalProps$user4 = globalProps.user) === null || _globalProps$user4 === void 0 ? void 0 : _globalProps$user4.email,
|
|
16
|
+
user: (_globalProps$user5 = globalProps.user) === null || _globalProps$user5 === void 0 ? void 0 : _globalProps$user5.email,
|
|
17
|
+
subdomain: (_globalProps$organiza2 = globalProps.organization) === null || _globalProps$organiza2 === void 0 ? void 0 : _globalProps$organiza2.subdomain
|
|
18
|
+
});
|
|
19
|
+
mixpanel_cjs.mixpanel.identify(analyticsId);
|
|
20
|
+
} else {
|
|
21
|
+
/*
|
|
22
|
+
We need to initialize mixpanel with a bogus token in development and test environment to
|
|
23
|
+
prevent mixpanel library from throwing an error when we use mixpanel.track() method in react components.
|
|
24
|
+
*/
|
|
25
|
+
mixpanel_cjs.mixpanel.init("TEST_TOKEN");
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
module.exports = initializeMixpanel;
|
|
30
|
+
//# sourceMappingURL=mixpanel.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mixpanel.js","sources":["../../../src/initializers/mixpanel.js"],"sourcesContent":["import mixpanel from \"mixpanel-browser\";\n\nexport default function initializeMixpanel(skip) {\n const analyticsId = `${globalProps.user?.email}-${globalProps.organization?.subdomain}`;\n\n if (globalProps.mixpanelProjectToken && !skip?.mixpanel) {\n mixpanel.init(globalProps.mixpanelProjectToken);\n mixpanel.people.set({\n $first_name: globalProps.user?.firstName,\n $last_name: globalProps.user?.lastName,\n $email: globalProps.user?.email,\n user: globalProps.user?.email,\n subdomain: globalProps.organization?.subdomain,\n });\n mixpanel.identify(analyticsId);\n } else {\n /*\n We need to initialize mixpanel with a bogus token in development and test environment to\n prevent mixpanel library from throwing an error when we use mixpanel.track() method in react components.\n */\n mixpanel.init(\"TEST_TOKEN\");\n }\n}\n"],"names":["initializeMixpanel","skip","_globalProps$user","_globalProps$organiza","analyticsId","concat","globalProps","user","email","organization","subdomain","mixpanelProjectToken","mixpanel","_globalProps$user2","_globalProps$user3","_globalProps$user4","_globalProps$user5","_globalProps$organiza2","init","people","set","$first_name","firstName","$last_name","lastName","$email","identify"],"mappings":";;;;;AAEe,SAASA,kBAAkBA,CAACC,IAAI,EAAE;EAAA,IAAAC,iBAAA,EAAAC,qBAAA,CAAA;AAC/C,EAAA,IAAMC,WAAW,GAAA,EAAA,CAAAC,MAAA,CAAA,CAAAH,iBAAA,GAAMI,WAAW,CAACC,IAAI,MAAA,IAAA,IAAAL,iBAAA,KAAA,KAAA,CAAA,GAAA,KAAA,CAAA,GAAhBA,iBAAA,CAAkBM,KAAK,EAAA,GAAA,CAAA,CAAAH,MAAA,CAAA,CAAAF,qBAAA,GAAIG,WAAW,CAACG,YAAY,MAAA,IAAA,IAAAN,qBAAA,KAAA,KAAA,CAAA,GAAA,KAAA,CAAA,GAAxBA,qBAAA,CAA0BO,SAAS,CAAE,CAAA;AAEvF,EAAA,IAAIJ,WAAW,CAACK,oBAAoB,IAAI,EAACV,IAAI,KAAJA,IAAAA,IAAAA,IAAI,KAAJA,KAAAA,CAAAA,IAAAA,IAAI,CAAEW,QAAQ,CAAE,EAAA;IAAA,IAAAC,kBAAA,EAAAC,kBAAA,EAAAC,kBAAA,EAAAC,kBAAA,EAAAC,sBAAA,CAAA;AACvDL,IAAAA,qBAAQ,CAACM,IAAI,CAACZ,WAAW,CAACK,oBAAoB,CAAC,CAAA;AAC/CC,IAAAA,qBAAQ,CAACO,MAAM,CAACC,GAAG,CAAC;MAClBC,WAAW,EAAA,CAAAR,kBAAA,GAAEP,WAAW,CAACC,IAAI,MAAA,IAAA,IAAAM,kBAAA,KAAA,KAAA,CAAA,GAAA,KAAA,CAAA,GAAhBA,kBAAA,CAAkBS,SAAS;MACxCC,UAAU,EAAA,CAAAT,kBAAA,GAAER,WAAW,CAACC,IAAI,MAAA,IAAA,IAAAO,kBAAA,KAAA,KAAA,CAAA,GAAA,KAAA,CAAA,GAAhBA,kBAAA,CAAkBU,QAAQ;MACtCC,MAAM,EAAA,CAAAV,kBAAA,GAAET,WAAW,CAACC,IAAI,MAAA,IAAA,IAAAQ,kBAAA,KAAA,KAAA,CAAA,GAAA,KAAA,CAAA,GAAhBA,kBAAA,CAAkBP,KAAK;MAC/BD,IAAI,EAAA,CAAAS,kBAAA,GAAEV,WAAW,CAACC,IAAI,MAAA,IAAA,IAAAS,kBAAA,KAAA,KAAA,CAAA,GAAA,KAAA,CAAA,GAAhBA,kBAAA,CAAkBR,KAAK;MAC7BE,SAAS,EAAA,CAAAO,sBAAA,GAAEX,WAAW,CAACG,YAAY,MAAAQ,IAAAA,IAAAA,sBAAA,KAAxBA,KAAAA,CAAAA,GAAAA,KAAAA,CAAAA,GAAAA,sBAAA,CAA0BP,SAAAA;AACvC,KAAC,CAAC,CAAA;AACFE,IAAAA,qBAAQ,CAACc,QAAQ,CAACtB,WAAW,CAAC,CAAA;AAChC,GAAC,MAAM;AACL;AACJ;AACA;AACA;AACIQ,IAAAA,qBAAQ,CAACM,IAAI,CAAC,YAAY,CAAC,CAAA;AAC7B,GAAA;AACF;;;;"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var _typeof = require('../typeof-a861d137.js');
|
|
4
|
+
|
|
5
|
+
var isObjectOrFunction = function isObjectOrFunction(object) {
|
|
6
|
+
var type = _typeof._typeof(object);
|
|
7
|
+
return type === "function" || type === "object" && !!object;
|
|
8
|
+
};
|
|
9
|
+
function disableReactDevTools() {
|
|
10
|
+
if (window && window.document) {
|
|
11
|
+
var developerToolsHook = window.__REACT_DEVTOOLS_GLOBAL_HOOK__;
|
|
12
|
+
if (!isObjectOrFunction(developerToolsHook)) return;
|
|
13
|
+
for (var prop in developerToolsHook) {
|
|
14
|
+
if (prop === "renderers") {
|
|
15
|
+
developerToolsHook[prop] = new Map();
|
|
16
|
+
} else {
|
|
17
|
+
developerToolsHook[prop] = typeof developerToolsHook[prop] === "function" ? Function.prototype : null;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
module.exports = disableReactDevTools;
|
|
24
|
+
//# sourceMappingURL=reactDevTools.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"reactDevTools.js","sources":["../../../src/initializers/reactDevTools.js"],"sourcesContent":["const isObjectOrFunction = object => {\n const type = typeof object;\n\n return type === \"function\" || (type === \"object\" && !!object);\n};\n\nexport default function disableReactDevTools() {\n if (window && window.document) {\n const developerToolsHook = window.__REACT_DEVTOOLS_GLOBAL_HOOK__;\n\n if (!isObjectOrFunction(developerToolsHook)) return;\n\n for (const prop in developerToolsHook) {\n if (prop === \"renderers\") {\n developerToolsHook[prop] = new Map();\n } else {\n developerToolsHook[prop] =\n typeof developerToolsHook[prop] === \"function\"\n ? Function.prototype\n : null;\n }\n }\n }\n}\n"],"names":["isObjectOrFunction","object","type","_typeof","disableReactDevTools","window","document","developerToolsHook","__REACT_DEVTOOLS_GLOBAL_HOOK__","prop","Map","Function","prototype"],"mappings":";;;;AAAA,IAAMA,kBAAkB,GAAG,SAArBA,kBAAkBA,CAAGC,MAAM,EAAI;AACnC,EAAA,IAAMC,IAAI,GAAAC,eAAA,CAAUF,MAAM,CAAA,CAAA;EAE1B,OAAOC,IAAI,KAAK,UAAU,IAAKA,IAAI,KAAK,QAAQ,IAAI,CAAC,CAACD,MAAO,CAAA;AAC/D,CAAC,CAAA;AAEc,SAASG,oBAAoBA,GAAG;AAC7C,EAAA,IAAIC,MAAM,IAAIA,MAAM,CAACC,QAAQ,EAAE;AAC7B,IAAA,IAAMC,kBAAkB,GAAGF,MAAM,CAACG,8BAA8B,CAAA;AAEhE,IAAA,IAAI,CAACR,kBAAkB,CAACO,kBAAkB,CAAC,EAAE,OAAA;AAE7C,IAAA,KAAK,IAAME,IAAI,IAAIF,kBAAkB,EAAE;MACrC,IAAIE,IAAI,KAAK,WAAW,EAAE;AACxBF,QAAAA,kBAAkB,CAACE,IAAI,CAAC,GAAG,IAAIC,GAAG,EAAE,CAAA;AACtC,OAAC,MAAM;AACLH,QAAAA,kBAAkB,CAACE,IAAI,CAAC,GACtB,OAAOF,kBAAkB,CAACE,IAAI,CAAC,KAAK,UAAU,GAC1CE,QAAQ,CAACC,SAAS,GAClB,IAAI,CAAA;AACZ,OAAA;AACF,KAAA;AACF,GAAA;AACF;;;;"}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var DOMPurify = require('dompurify');
|
|
6
|
+
var initializers_constants = require('../constants.js');
|
|
7
|
+
|
|
8
|
+
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
9
|
+
|
|
10
|
+
var DOMPurify__default = /*#__PURE__*/_interopDefaultLegacy(DOMPurify);
|
|
11
|
+
|
|
12
|
+
var sanitizer = function sanitizer(array) {
|
|
13
|
+
return DOMPurify__default["default"].sanitize(array, {
|
|
14
|
+
USE_PROFILES: {
|
|
15
|
+
html: true
|
|
16
|
+
}
|
|
17
|
+
});
|
|
18
|
+
};
|
|
19
|
+
var cacheStore = new Map();
|
|
20
|
+
var fetchCachedOrInvoke = function fetchCachedOrInvoke(func, lng, options) {
|
|
21
|
+
var _cacheStore$get;
|
|
22
|
+
var cache = (_cacheStore$get = cacheStore.get(lng)) === null || _cacheStore$get === void 0 ? void 0 : _cacheStore$get.get(options);
|
|
23
|
+
if (cache) return cache;
|
|
24
|
+
cache = func(lng, options);
|
|
25
|
+
var lngCache = cacheStore.get(lng);
|
|
26
|
+
if (lngCache) lngCache.set(options, cache);else cacheStore.set(lng, new Map([[options, cache]]));
|
|
27
|
+
return cache;
|
|
28
|
+
};
|
|
29
|
+
var lowerCaseDynamicTextFormatter = function lowerCaseDynamicTextFormatter(value, format) {
|
|
30
|
+
if (!value || format === initializers_constants.FORMATS.anyCase || typeof value !== "string") {
|
|
31
|
+
return value;
|
|
32
|
+
}
|
|
33
|
+
return initializers_constants.LOWERCASED + value.toLocaleLowerCase();
|
|
34
|
+
};
|
|
35
|
+
var listFormatter = function listFormatter(_ref) {
|
|
36
|
+
var value = _ref.value,
|
|
37
|
+
format = _ref.format,
|
|
38
|
+
lng = _ref.lng,
|
|
39
|
+
options = _ref.options;
|
|
40
|
+
var formatter = fetchCachedOrInvoke(function (lng, options) {
|
|
41
|
+
return new Intl.ListFormat(lng, options);
|
|
42
|
+
}, lng, options);
|
|
43
|
+
var newValue = value;
|
|
44
|
+
if (format === initializers_constants.FORMATS.boldList) {
|
|
45
|
+
newValue = value.map(function (item) {
|
|
46
|
+
return "<strong>".concat(item, "</strong>");
|
|
47
|
+
});
|
|
48
|
+
}
|
|
49
|
+
var sanitizedItems = sanitizer(newValue).split(",");
|
|
50
|
+
return formatter.format(sanitizedItems);
|
|
51
|
+
};
|
|
52
|
+
|
|
53
|
+
exports.listFormatter = listFormatter;
|
|
54
|
+
exports.lowerCaseDynamicTextFormatter = lowerCaseDynamicTextFormatter;
|
|
55
|
+
//# sourceMappingURL=customFormatters.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"customFormatters.js","sources":["../../../../src/initializers/utils/customFormatters.js"],"sourcesContent":["import DOMPurify from \"dompurify\";\n\nimport { LOWERCASED, FORMATS } from \"../constants\";\n\nconst sanitizer = array =>\n DOMPurify.sanitize(array, { USE_PROFILES: { html: true } });\n\nconst cacheStore = new Map();\n\nconst fetchCachedOrInvoke = (func, lng, options) => {\n let cache = cacheStore.get(lng)?.get(options);\n if (cache) return cache;\n\n cache = func(lng, options);\n const lngCache = cacheStore.get(lng);\n if (lngCache) lngCache.set(options, cache);\n else cacheStore.set(lng, new Map([[options, cache]]));\n\n return cache;\n};\n\nexport const lowerCaseDynamicTextFormatter = (value, format) => {\n if (!value || format === FORMATS.anyCase || typeof value !== \"string\") {\n return value;\n }\n\n return LOWERCASED + value.toLocaleLowerCase();\n};\n\nexport const listFormatter = ({ value, format, lng, options }) => {\n const formatter = fetchCachedOrInvoke(\n (lng, options) => new Intl.ListFormat(lng, options),\n lng,\n options\n );\n\n let newValue = value;\n if (format === FORMATS.boldList) {\n newValue = value.map(item => `<strong>${item}</strong>`);\n }\n const sanitizedItems = sanitizer(newValue).split(\",\");\n\n return formatter.format(sanitizedItems);\n};\n"],"names":["sanitizer","array","DOMPurify","sanitize","USE_PROFILES","html","cacheStore","Map","fetchCachedOrInvoke","func","lng","options","_cacheStore$get","cache","get","lngCache","set","lowerCaseDynamicTextFormatter","value","format","FORMATS","anyCase","LOWERCASED","toLocaleLowerCase","listFormatter","_ref","formatter","Intl","ListFormat","newValue","boldList","map","item","concat","sanitizedItems","split"],"mappings":";;;;;;;;;;;AAIA,IAAMA,SAAS,GAAG,SAAZA,SAASA,CAAGC,KAAK,EAAA;AAAA,EAAA,OACrBC,6BAAS,CAACC,QAAQ,CAACF,KAAK,EAAE;AAAEG,IAAAA,YAAY,EAAE;AAAEC,MAAAA,IAAI,EAAE,IAAA;AAAK,KAAA;AAAE,GAAC,CAAC,CAAA;AAAA,CAAA,CAAA;AAE7D,IAAMC,UAAU,GAAG,IAAIC,GAAG,EAAE,CAAA;AAE5B,IAAMC,mBAAmB,GAAG,SAAtBA,mBAAmBA,CAAIC,IAAI,EAAEC,GAAG,EAAEC,OAAO,EAAK;AAAA,EAAA,IAAAC,eAAA,CAAA;AAClD,EAAA,IAAIC,KAAK,GAAAD,CAAAA,eAAA,GAAGN,UAAU,CAACQ,GAAG,CAACJ,GAAG,CAAC,MAAA,IAAA,IAAAE,eAAA,KAAnBA,KAAAA,CAAAA,GAAAA,KAAAA,CAAAA,GAAAA,eAAA,CAAqBE,GAAG,CAACH,OAAO,CAAC,CAAA;EAC7C,IAAIE,KAAK,EAAE,OAAOA,KAAK,CAAA;AAEvBA,EAAAA,KAAK,GAAGJ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,IAAAA,QAAQ,GAAGX,KAAK,CAACa,GAAG,CAAC,UAAAC,IAAI,EAAA;MAAA,OAAAC,UAAAA,CAAAA,MAAA,CAAeD,IAAI,EAAA,WAAA,CAAA,CAAA;AAAA,KAAW,CAAC,CAAA;AAC1D,GAAA;EACA,IAAME,cAAc,GAAGlC,SAAS,CAAC6B,QAAQ,CAAC,CAACM,KAAK,CAAC,GAAG,CAAC,CAAA;AAErD,EAAA,OAAOT,SAAS,CAACP,MAAM,CAACe,cAAc,CAAC,CAAA;AACzC;;;;;"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var initializers_constants = require('../constants.js');
|
|
6
|
+
|
|
7
|
+
var sentenceCase = function sentenceCase(value) {
|
|
8
|
+
return value.charAt(0).toLocaleUpperCase() + value.slice(1);
|
|
9
|
+
};
|
|
10
|
+
var sentenceCaseProcessor = {
|
|
11
|
+
type: "postProcessor",
|
|
12
|
+
name: "sentenceCaseProcessor",
|
|
13
|
+
process: function process(value) {
|
|
14
|
+
var shouldSentenceCase = value.startsWith(initializers_constants.LOWERCASED);
|
|
15
|
+
value = value.replace(initializers_constants.LOWERCASED_GLOBAL_REGEX, "");
|
|
16
|
+
return shouldSentenceCase ? sentenceCase(value) : value;
|
|
17
|
+
}
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
exports.sentenceCaseProcessor = sentenceCaseProcessor;
|
|
21
|
+
//# sourceMappingURL=customPostProcessors.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"customPostProcessors.js","sources":["../../../../src/initializers/utils/customPostProcessors.js"],"sourcesContent":["import { LOWERCASED, LOWERCASED_GLOBAL_REGEX } from \"../constants\";\n\nconst sentenceCase = value =>\n value.charAt(0).toLocaleUpperCase() + value.slice(1);\n\nexport const sentenceCaseProcessor = {\n type: \"postProcessor\",\n name: \"sentenceCaseProcessor\",\n process: value => {\n const shouldSentenceCase = value.startsWith(LOWERCASED);\n value = value.replace(LOWERCASED_GLOBAL_REGEX, \"\");\n\n return shouldSentenceCase ? sentenceCase(value) : value;\n },\n};\n"],"names":["sentenceCase","value","charAt","toLocaleUpperCase","slice","sentenceCaseProcessor","type","name","process","shouldSentenceCase","startsWith","LOWERCASED","replace","LOWERCASED_GLOBAL_REGEX"],"mappings":";;;;;;AAEA,IAAMA,YAAY,GAAG,SAAfA,YAAYA,CAAGC,KAAK,EAAA;AAAA,EAAA,OACxBA,KAAK,CAACC,MAAM,CAAC,CAAC,CAAC,CAACC,iBAAiB,EAAE,GAAGF,KAAK,CAACG,KAAK,CAAC,CAAC,CAAC,CAAA;AAAA,CAAA,CAAA;AAE/C,IAAMC,qBAAqB,GAAG;AACnCC,EAAAA,IAAI,EAAE,eAAe;AACrBC,EAAAA,IAAI,EAAE,uBAAuB;AAC7BC,EAAAA,OAAO,EAAE,SAATA,OAAOA,CAAEP,KAAK,EAAI;AAChB,IAAA,IAAMQ,kBAAkB,GAAGR,KAAK,CAACS,UAAU,CAACC,iCAAU,CAAC,CAAA;IACvDV,KAAK,GAAGA,KAAK,CAACW,OAAO,CAACC,8CAAuB,EAAE,EAAE,CAAC,CAAA;AAElD,IAAA,OAAOJ,kBAAkB,GAAGT,YAAY,CAACC,KAAK,CAAC,GAAGA,KAAK,CAAA;AACzD,GAAA;AACF;;;;"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var _typeof = require('../../typeof-a861d137.js');
|
|
6
|
+
var slicedToArray = require('../../slicedToArray-c9e22c6a.js');
|
|
7
|
+
var i18next = require('i18next');
|
|
8
|
+
require('../../unsupportedIterableToArray-294d47a8.js');
|
|
9
|
+
|
|
10
|
+
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
11
|
+
|
|
12
|
+
var i18next__default = /*#__PURE__*/_interopDefaultLegacy(i18next);
|
|
13
|
+
|
|
14
|
+
var getter = function getter(key) {
|
|
15
|
+
return function () {
|
|
16
|
+
return i18next__default["default"].t("taxonomyDefaultLabels.".concat(key));
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
var _replaceNullValuesWithGetter = function replaceNullValuesWithGetter(inputObject) {
|
|
20
|
+
var parentKey = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : "";
|
|
21
|
+
var result = {};
|
|
22
|
+
for (var _i = 0, _Object$entries = Object.entries(inputObject); _i < _Object$entries.length; _i++) {
|
|
23
|
+
var _Object$entries$_i = slicedToArray._slicedToArray(_Object$entries[_i], 2),
|
|
24
|
+
key = _Object$entries$_i[0],
|
|
25
|
+
value = _Object$entries$_i[1];
|
|
26
|
+
var transKey = parentKey ? "".concat(parentKey, ".").concat(key) : key;
|
|
27
|
+
if (value === null) {
|
|
28
|
+
Object.defineProperty(result, key, {
|
|
29
|
+
get: getter(transKey)
|
|
30
|
+
});
|
|
31
|
+
} else if (_typeof._typeof(value) === "object") {
|
|
32
|
+
result[key] = _replaceNullValuesWithGetter(value, transKey);
|
|
33
|
+
} else {
|
|
34
|
+
result[key] = value;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
return result;
|
|
38
|
+
};
|
|
39
|
+
|
|
40
|
+
exports.replaceNullValuesWithGetter = _replaceNullValuesWithGetter;
|
|
41
|
+
//# sourceMappingURL=utils.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utils.js","sources":["../../../../src/initializers/utils/utils.js"],"sourcesContent":["import i18n from \"i18next\";\n\nconst getter = key => () => i18n.t(`taxonomyDefaultLabels.${key}`);\n\nexport const replaceNullValuesWithGetter = (inputObject, parentKey = \"\") => {\n const result = {};\n\n for (const [key, value] of Object.entries(inputObject)) {\n const transKey = parentKey ? `${parentKey}.${key}` : key;\n\n if (value === null) {\n Object.defineProperty(result, key, {\n get: getter(transKey),\n });\n } else if (typeof value === \"object\") {\n result[key] = replaceNullValuesWithGetter(value, transKey);\n } else {\n result[key] = value;\n }\n }\n\n return result;\n};\n"],"names":["getter","key","i18n","t","concat","replaceNullValuesWithGetter","inputObject","parentKey","arguments","length","undefined","result","_i","_Object$entries","Object","entries","_Object$entries$_i","_slicedToArray","value","transKey","defineProperty","get","_typeof"],"mappings":";;;;;;;;;;;;;AAEA,IAAMA,MAAM,GAAG,SAATA,MAAMA,CAAGC,GAAG,EAAA;EAAA,OAAI,YAAA;IAAA,OAAMC,2BAAI,CAACC,CAAC,CAAA,wBAAA,CAAAC,MAAA,CAA0BH,GAAG,CAAE,CAAC,CAAA;AAAA,GAAA,CAAA;AAAA,CAAA,CAAA;AAE3D,IAAMI,4BAA2B,GAAG,SAA9BA,2BAA2BA,CAAIC,WAAW,EAAqB;AAAA,EAAA,IAAnBC,SAAS,GAAAC,SAAA,CAAAC,MAAA,GAAA,CAAA,IAAAD,SAAA,CAAA,CAAA,CAAA,KAAAE,SAAA,GAAAF,SAAA,CAAA,CAAA,CAAA,GAAG,EAAE,CAAA;EACrE,IAAMG,MAAM,GAAG,EAAE,CAAA;AAEjB,EAAA,KAAA,IAAAC,EAAA,GAAAC,CAAAA,EAAAA,eAAA,GAA2BC,MAAM,CAACC,OAAO,CAACT,WAAW,CAAC,EAAAM,EAAA,GAAAC,eAAA,CAAAJ,MAAA,EAAAG,EAAA,EAAE,EAAA;AAAnD,IAAA,IAAAI,kBAAA,GAAAC,4BAAA,CAAAJ,eAAA,CAAAD,EAAA,CAAA,EAAA,CAAA,CAAA;AAAOX,MAAAA,GAAG,GAAAe,kBAAA,CAAA,CAAA,CAAA;AAAEE,MAAAA,KAAK,GAAAF,kBAAA,CAAA,CAAA,CAAA,CAAA;AACpB,IAAA,IAAMG,QAAQ,GAAGZ,SAAS,GAAA,EAAA,CAAAH,MAAA,CAAMG,SAAS,EAAA,GAAA,CAAA,CAAAH,MA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