@bigbinary/neeto-commons-frontend 4.8.2 → 4.8.6
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/dist/{_commonjsHelpers-ae89b920.js → _commonjsHelpers-B85MJLTf.js} +1 -1
- package/dist/_commonjsHelpers-B85MJLTf.js.map +1 -0
- package/dist/cjs/{_commonjsHelpers-755157d3.js → _commonjsHelpers-CFO10eej.js} +1 -1
- package/dist/cjs/_commonjsHelpers-CFO10eej.js.map +1 -0
- package/dist/cjs/constants/index.js +0 -2
- package/dist/cjs/constants/index.js.map +1 -1
- package/dist/cjs/constants/regex.js +0 -2
- package/dist/cjs/constants/regex.js.map +1 -1
- package/dist/cjs/cypress-utils/.eslintrc.js +1 -1
- package/dist/cjs/cypress-utils/commands.js +4 -6
- package/dist/cjs/cypress-utils/commands.js.map +1 -1
- package/dist/cjs/cypress-utils/constants/index.js +0 -2
- package/dist/cjs/cypress-utils/constants/index.js.map +1 -1
- package/dist/cjs/cypress-utils/constants/routes.js +1 -3
- package/dist/cjs/cypress-utils/constants/routes.js.map +1 -1
- package/dist/cjs/cypress-utils/constants/selectors/common.js +1 -3
- package/dist/cjs/cypress-utils/constants/selectors/common.js.map +1 -1
- package/dist/cjs/cypress-utils/constants/selectors/editor.js +1 -3
- package/dist/cjs/cypress-utils/constants/selectors/editor.js.map +1 -1
- package/dist/cjs/cypress-utils/constants/selectors/ipRestriction.js +1 -3
- package/dist/cjs/cypress-utils/constants/selectors/ipRestriction.js.map +1 -1
- package/dist/cjs/cypress-utils/constants/selectors/login.js +1 -3
- package/dist/cjs/cypress-utils/constants/selectors/login.js.map +1 -1
- package/dist/cjs/cypress-utils/constants/selectors/member.js +1 -3
- package/dist/cjs/cypress-utils/constants/selectors/member.js.map +1 -1
- package/dist/cjs/cypress-utils/constants/selectors/navigation.js +1 -3
- package/dist/cjs/cypress-utils/constants/selectors/navigation.js.map +1 -1
- package/dist/cjs/cypress-utils/constants/selectors/roles.js +0 -2
- package/dist/cjs/cypress-utils/constants/selectors/roles.js.map +1 -1
- package/dist/cjs/cypress-utils/constants/selectors/signUp.js +1 -3
- package/dist/cjs/cypress-utils/constants/selectors/signUp.js.map +1 -1
- package/dist/cjs/cypress-utils/constants/selectors/tags.js +1 -3
- package/dist/cjs/cypress-utils/constants/selectors/tags.js.map +1 -1
- package/dist/cjs/cypress-utils/constants/texts/common.js +0 -2
- package/dist/cjs/cypress-utils/constants/texts/common.js.map +1 -1
- package/dist/cjs/cypress-utils/constants/texts/member.js +0 -2
- package/dist/cjs/cypress-utils/constants/texts/member.js.map +1 -1
- package/dist/cjs/cypress-utils/constants/texts/navigation.js +0 -2
- package/dist/cjs/cypress-utils/constants/texts/navigation.js.map +1 -1
- package/dist/cjs/cypress-utils/constants/texts/roles.js +0 -2
- package/dist/cjs/cypress-utils/constants/texts/roles.js.map +1 -1
- package/dist/cjs/cypress-utils/constants/texts/signUp.js +0 -2
- package/dist/cjs/cypress-utils/constants/texts/signUp.js.map +1 -1
- package/dist/cjs/cypress-utils/constants/texts/tags.js +0 -2
- package/dist/cjs/cypress-utils/constants/texts/tags.js.map +1 -1
- package/dist/cjs/cypress-utils/fixtures/fake.js +0 -2
- package/dist/cjs/cypress-utils/fixtures/fake.js.map +1 -1
- package/dist/cjs/cypress-utils/index.js +4 -6
- package/dist/cjs/cypress-utils/index.js.map +1 -1
- package/dist/cjs/cypress-utils/jsconfig.js +1 -1
- package/dist/cjs/cypress-utils/utils/authentication.js +1 -3
- package/dist/cjs/cypress-utils/utils/authentication.js.map +1 -1
- package/dist/cjs/cypress-utils/utils/common.js +1 -3
- package/dist/cjs/cypress-utils/utils/common.js.map +1 -1
- package/dist/cjs/cypress-utils/utils/date.js +3 -9
- package/dist/cjs/cypress-utils/utils/date.js.map +1 -1
- package/dist/cjs/cypress-utils/utils/email.js +1 -3
- package/dist/cjs/cypress-utils/utils/email.js.map +1 -1
- package/dist/cjs/cypress-utils/utils/member.js +1 -3
- package/dist/cjs/cypress-utils/utils/member.js.map +1 -1
- package/dist/cjs/cypress-utils/utils/navigation.js +1 -3
- package/dist/cjs/cypress-utils/utils/navigation.js.map +1 -1
- package/dist/cjs/cypress-utils/utils/organization.js +1 -3
- package/dist/cjs/cypress-utils/utils/organization.js.map +1 -1
- package/dist/cjs/cypress-utils/utils/validation.js +1 -3
- package/dist/cjs/cypress-utils/utils/validation.js.map +1 -1
- package/dist/cjs/{defineProperty-ba7cd53d.js → defineProperty-997UgAIV.js} +1 -1
- package/dist/cjs/{defineProperty-ba7cd53d.js.map → defineProperty-997UgAIV.js.map} +1 -1
- package/dist/cjs/{index-25a068b1.js → index-H4FWVZW-.js} +2 -6
- package/dist/cjs/{index-25a068b1.js.map → index-H4FWVZW-.js.map} +1 -1
- package/dist/cjs/initializers/axios.js +2 -2
- package/dist/cjs/initializers/axiosInitializer/index.js +15 -21
- package/dist/cjs/initializers/axiosInitializer/index.js.map +1 -1
- package/dist/cjs/initializers/axiosInitializer/paramsSerializer.js +2 -7
- package/dist/cjs/initializers/axiosInitializer/paramsSerializer.js.map +1 -1
- package/dist/cjs/initializers/constants.js +0 -2
- package/dist/cjs/initializers/constants.js.map +1 -1
- package/dist/cjs/initializers/dayjs.js +32 -56
- package/dist/cjs/initializers/dayjs.js.map +1 -1
- package/dist/cjs/initializers/i18n.js +7 -12
- package/dist/cjs/initializers/i18n.js.map +1 -1
- package/dist/cjs/initializers/index.js +10 -10
- package/dist/cjs/initializers/index.js.map +1 -1
- package/dist/cjs/initializers/logger.js +3 -7
- package/dist/cjs/initializers/logger.js.map +1 -1
- package/dist/cjs/initializers/mixpanel.js +2 -2
- package/dist/cjs/initializers/reactDevTools.js +1 -1
- package/dist/cjs/initializers/utils/customFormatters.js +1 -7
- package/dist/cjs/initializers/utils/customFormatters.js.map +1 -1
- package/dist/cjs/initializers/utils/customPostProcessors.js +0 -2
- package/dist/cjs/initializers/utils/customPostProcessors.js.map +1 -1
- package/dist/cjs/initializers/utils/utils.js +4 -10
- package/dist/cjs/initializers/utils/utils.js.map +1 -1
- package/dist/cjs/{mixpanel.cjs-e97a1ff5.js → mixpanel.cjs-DyVaCR4W.js} +2 -2
- package/dist/cjs/{mixpanel.cjs-e97a1ff5.js.map → mixpanel.cjs-DyVaCR4W.js.map} +1 -1
- package/dist/cjs/{objectWithoutProperties-60b52fdb.js → objectWithoutProperties-DKElrbI9.js} +1 -1
- package/dist/cjs/{objectWithoutProperties-60b52fdb.js.map → objectWithoutProperties-DKElrbI9.js.map} +1 -1
- package/dist/cjs/react-utils/AppContainer/AppContainer.js +3 -8
- package/dist/cjs/react-utils/AppContainer/AppContainer.js.map +1 -1
- package/dist/cjs/react-utils/AppContainer/index.js +1 -1
- package/dist/cjs/react-utils/BrowserPushNotifications/devices.js +5 -6
- package/dist/cjs/react-utils/BrowserPushNotifications/devices.js.map +1 -1
- package/dist/cjs/react-utils/BrowserPushNotifications/index.js +2 -4
- package/dist/cjs/react-utils/BrowserPushNotifications/index.js.map +1 -1
- package/dist/cjs/react-utils/BrowserPushNotifications/pushHelper.js +2 -4
- package/dist/cjs/react-utils/BrowserPushNotifications/pushHelper.js.map +1 -1
- package/dist/cjs/react-utils/BrowserPushNotifications/registerServiceWorker.js +2 -4
- package/dist/cjs/react-utils/BrowserPushNotifications/registerServiceWorker.js.map +1 -1
- package/dist/cjs/react-utils/HoneybadgerErrorBoundary/FallbackComponent.js +5 -10
- package/dist/cjs/react-utils/HoneybadgerErrorBoundary/FallbackComponent.js.map +1 -1
- package/dist/cjs/react-utils/HoneybadgerErrorBoundary/HoneybadgerErrorBoundary.js +1 -1
- package/dist/cjs/react-utils/HoneybadgerErrorBoundary/constants.js +0 -2
- package/dist/cjs/react-utils/HoneybadgerErrorBoundary/constants.js.map +1 -1
- package/dist/cjs/react-utils/HoneybadgerErrorBoundary/index.js +1 -1
- package/dist/cjs/react-utils/HoneybadgerErrorBoundary/utils.js +0 -2
- package/dist/cjs/react-utils/HoneybadgerErrorBoundary/utils.js.map +1 -1
- package/dist/cjs/react-utils/PageTitle/PageTitle.js +1 -5
- package/dist/cjs/react-utils/PageTitle/PageTitle.js.map +1 -1
- package/dist/cjs/react-utils/PrivateRoute/PrivateRoute.js +4 -8
- package/dist/cjs/react-utils/PrivateRoute/PrivateRoute.js.map +1 -1
- package/dist/cjs/react-utils/PrivateRoute/index.js +2 -2
- package/dist/cjs/react-utils/QueryClientProvider/index.js +1 -1
- package/dist/cjs/react-utils/constants/constants.js +0 -2
- package/dist/cjs/react-utils/constants/constants.js.map +1 -1
- package/dist/cjs/react-utils/constants/index.js +0 -2
- package/dist/cjs/react-utils/constants/index.js.map +1 -1
- package/dist/cjs/react-utils/constants/query.js +0 -2
- package/dist/cjs/react-utils/constants/query.js.map +1 -1
- package/dist/cjs/react-utils/index.js +12 -12
- package/dist/cjs/react-utils/metaClick/index.js +0 -2
- package/dist/cjs/react-utils/metaClick/index.js.map +1 -1
- package/dist/cjs/react-utils/metaClick/metaClick.js +0 -2
- package/dist/cjs/react-utils/metaClick/metaClick.js.map +1 -1
- package/dist/cjs/react-utils/useBreakpoints/index.js +1 -1
- package/dist/cjs/react-utils/useBreakpoints/utils.js +1 -3
- package/dist/cjs/react-utils/useBreakpoints/utils.js.map +1 -1
- package/dist/cjs/react-utils/useDebounce/index.js +2 -2
- package/dist/cjs/react-utils/useDebounce/useDebounce.js +2 -2
- package/dist/cjs/react-utils/useDisplayErrorPage/index.js +1 -1
- package/dist/cjs/react-utils/useDisplayErrorPage/useDisplayErrorPage.js +1 -1
- package/dist/cjs/react-utils/useFetchNeetoApps/apis/neeto_apps.js +1 -5
- package/dist/cjs/react-utils/useFetchNeetoApps/apis/neeto_apps.js.map +1 -1
- package/dist/cjs/react-utils/useFetchNeetoApps/index.js +6 -6
- package/dist/cjs/react-utils/useFetchNeetoApps/useFetchNeetoApps.js +6 -6
- package/dist/cjs/react-utils/useIsElementVisibleInDom/index.js +2 -2
- package/dist/cjs/react-utils/useIsElementVisibleInDom/useForceUpdate.js +2 -2
- package/dist/cjs/react-utils/useIsElementVisibleInDom/useIsElementVisibleInDom.js +2 -2
- package/dist/cjs/react-utils/useLocalStorage/index.js +9 -7
- package/dist/cjs/react-utils/useLocalStorage/index.js.map +1 -1
- package/dist/cjs/react-utils/useLocalStorage/useLocalStorage.js +10 -8
- package/dist/cjs/react-utils/useLocalStorage/useLocalStorage.js.map +1 -1
- package/dist/cjs/react-utils/useMutationWithInvalidation/index.js +2 -2
- package/dist/cjs/react-utils/useMutationWithInvalidation/useMutationWithInvalidation.js +2 -2
- package/dist/cjs/react-utils/usePersistedQuery/index.js +6 -6
- package/dist/cjs/react-utils/usePersistedQuery/usePersistedQuery.js +6 -6
- package/dist/cjs/react-utils/useQueryParams/index.js +6 -6
- package/dist/cjs/react-utils/useQueryParams/useQueryParams.js +6 -6
- package/dist/cjs/react-utils/useRegisterNavigationCheckpoint/index.js +7 -7
- package/dist/cjs/react-utils/useRegisterNavigationCheckpoint/useRegisterNavigationCheckpoint.js +7 -7
- package/dist/cjs/react-utils/useRestoreScrollPosition/index.js +1 -1
- package/dist/cjs/react-utils/useRestoreScrollPosition/useRestoreScrollPosition.js +1 -1
- package/dist/cjs/react-utils/useStateWithDependency/index.js +2 -2
- package/dist/cjs/react-utils/useStateWithDependency/useStateWithDependency.js +2 -2
- package/dist/cjs/react-utils/withTitle/index.js +1 -1
- package/dist/cjs/react-utils/withTitle/withTitle.js +1 -1
- package/dist/cjs/{slicedToArray-c9e22c6a.js → slicedToArray-xtNEn5LJ.js} +2 -2
- package/dist/cjs/{slicedToArray-c9e22c6a.js.map → slicedToArray-xtNEn5LJ.js.map} +1 -1
- package/dist/cjs/{toConsumableArray-7afb7984.js → toConsumableArray-Da_S-3Fb.js} +2 -2
- package/dist/cjs/{toConsumableArray-7afb7984.js.map → toConsumableArray-Da_S-3Fb.js.map} +1 -1
- package/dist/cjs/{typeof-a861d137.js → typeof-CKZ7gZmW.js} +1 -1
- package/dist/cjs/{typeof-a861d137.js.map → typeof-CKZ7gZmW.js.map} +1 -1
- package/dist/cjs/{unsupportedIterableToArray-294d47a8.js → unsupportedIterableToArray-CP9uaN0w.js} +1 -1
- package/dist/cjs/{unsupportedIterableToArray-294d47a8.js.map → unsupportedIterableToArray-CP9uaN0w.js.map} +1 -1
- package/dist/cjs/utils/axios.js +1 -7
- package/dist/cjs/utils/axios.js.map +1 -1
- package/dist/cjs/utils/buildNestedAttributesPayload.js +3 -5
- package/dist/cjs/utils/buildNestedAttributesPayload.js.map +1 -1
- package/dist/cjs/utils/captureAnalyticsEvent.js +2 -4
- package/dist/cjs/utils/captureAnalyticsEvent.js.map +1 -1
- package/dist/cjs/utils/captureAnalyticsPageView.js +3 -5
- package/dist/cjs/utils/captureAnalyticsPageView.js.map +1 -1
- package/dist/cjs/utils/createSubscription.js +6 -8
- package/dist/cjs/utils/createSubscription.js.map +1 -1
- package/dist/cjs/utils/currencyFormat.js +2 -8
- package/dist/cjs/utils/currencyFormat.js.map +1 -1
- package/dist/cjs/utils/datetime.js +21 -23
- package/dist/cjs/utils/datetime.js.map +1 -1
- package/dist/cjs/utils/dayjs.js +32 -6
- package/dist/cjs/utils/dayjs.js.map +1 -1
- package/dist/cjs/utils/general.js +13 -20
- package/dist/cjs/utils/general.js.map +1 -1
- package/dist/cjs/utils/index.js +11 -19
- package/dist/cjs/utils/index.js.map +1 -1
- package/dist/cjs/utils/permissions.js +0 -2
- package/dist/cjs/utils/permissions.js.map +1 -1
- package/dist/cjs/utils/validators/index.js +0 -2
- package/dist/cjs/utils/validators/index.js.map +1 -1
- package/dist/cjs/utils/validators/slug.js +3 -6
- package/dist/cjs/utils/validators/slug.js.map +1 -1
- package/dist/cypress-utils/.eslintrc.js +1 -1
- package/dist/cypress-utils/commands.js +4 -4
- package/dist/cypress-utils/constants/routes.js +1 -1
- package/dist/cypress-utils/constants/selectors/common.js +1 -1
- package/dist/cypress-utils/constants/selectors/editor.js +1 -1
- package/dist/cypress-utils/constants/selectors/ipRestriction.js +1 -1
- package/dist/cypress-utils/constants/selectors/login.js +1 -1
- package/dist/cypress-utils/constants/selectors/member.js +1 -1
- package/dist/cypress-utils/constants/selectors/navigation.js +1 -1
- package/dist/cypress-utils/constants/selectors/signUp.js +1 -1
- package/dist/cypress-utils/constants/selectors/tags.js +1 -1
- package/dist/cypress-utils/index.js +4 -4
- package/dist/cypress-utils/utils/authentication.js +1 -1
- package/dist/cypress-utils/utils/common.js +1 -1
- package/dist/cypress-utils/utils/email.js +1 -1
- package/dist/cypress-utils/utils/member.js +1 -1
- package/dist/cypress-utils/utils/navigation.js +1 -1
- package/dist/cypress-utils/utils/organization.js +1 -1
- package/dist/cypress-utils/utils/validation.js +1 -1
- package/dist/{defineProperty-18999f8e.js → defineProperty-CEd-kZQW.js} +1 -1
- package/dist/{defineProperty-18999f8e.js.map → defineProperty-CEd-kZQW.js.map} +1 -1
- package/dist/{index-fa7de82b.js → index-CRoDfiJc.js} +2 -6
- package/dist/{index-fa7de82b.js.map → index-CRoDfiJc.js.map} +1 -1
- package/dist/initializers/axios.js +6 -3
- package/dist/initializers/axios.js.map +1 -1
- package/dist/initializers/axiosInitializer/index.js +2 -2
- package/dist/initializers/dayjs.js +16 -20
- package/dist/initializers/dayjs.js.map +1 -1
- package/dist/initializers/i18n.js +5 -6
- package/dist/initializers/i18n.js.map +1 -1
- package/dist/initializers/index.js +6 -6
- package/dist/initializers/mixpanel.js +2 -2
- package/dist/initializers/reactDevTools.js +1 -1
- package/dist/initializers/utils/utils.js +3 -3
- package/dist/{mixpanel.cjs-55fbae33.js → mixpanel.cjs-DTVxnNUt.js} +2 -2
- package/dist/{mixpanel.cjs-55fbae33.js.map → mixpanel.cjs-DTVxnNUt.js.map} +1 -1
- package/dist/{objectWithoutProperties-00c72f1d.js → objectWithoutProperties-B90Wg9LD.js} +1 -1
- package/dist/{objectWithoutProperties-00c72f1d.js.map → objectWithoutProperties-B90Wg9LD.js.map} +1 -1
- package/dist/react-utils/AppContainer/AppContainer.js +1 -1
- package/dist/react-utils/AppContainer/AppContainer.js.map +1 -1
- package/dist/react-utils/AppContainer/index.js +1 -1
- package/dist/react-utils/BrowserPushNotifications/devices.js +3 -0
- package/dist/react-utils/BrowserPushNotifications/devices.js.map +1 -1
- package/dist/react-utils/BrowserPushNotifications/index.js +2 -2
- package/dist/react-utils/BrowserPushNotifications/pushHelper.js +2 -2
- package/dist/react-utils/BrowserPushNotifications/registerServiceWorker.js +2 -2
- package/dist/react-utils/HoneybadgerErrorBoundary/FallbackComponent.js +1 -1
- package/dist/react-utils/HoneybadgerErrorBoundary/HoneybadgerErrorBoundary.js +1 -1
- package/dist/react-utils/HoneybadgerErrorBoundary/index.js +1 -1
- package/dist/react-utils/PrivateRoute/PrivateRoute.js +2 -2
- package/dist/react-utils/PrivateRoute/index.js +2 -2
- package/dist/react-utils/index.js +9 -7
- package/dist/react-utils/index.js.map +1 -1
- package/dist/react-utils/useBreakpoints/index.js +1 -1
- package/dist/react-utils/useBreakpoints/utils.js +1 -1
- package/dist/react-utils/useDebounce/index.js +2 -2
- package/dist/react-utils/useDebounce/useDebounce.js +2 -2
- package/dist/react-utils/useFetchNeetoApps/index.js +6 -6
- package/dist/react-utils/useFetchNeetoApps/useFetchNeetoApps.js +6 -6
- package/dist/react-utils/useIsElementVisibleInDom/index.js +2 -2
- package/dist/react-utils/useIsElementVisibleInDom/useForceUpdate.js +2 -2
- package/dist/react-utils/useIsElementVisibleInDom/useIsElementVisibleInDom.js +2 -2
- package/dist/react-utils/useLocalStorage/index.js +9 -7
- package/dist/react-utils/useLocalStorage/index.js.map +1 -1
- package/dist/react-utils/useLocalStorage/useLocalStorage.js +10 -8
- package/dist/react-utils/useLocalStorage/useLocalStorage.js.map +1 -1
- package/dist/react-utils/useMutationWithInvalidation/index.js +2 -2
- package/dist/react-utils/useMutationWithInvalidation/useMutationWithInvalidation.js +2 -2
- package/dist/react-utils/usePersistedQuery/index.js +6 -6
- package/dist/react-utils/usePersistedQuery/usePersistedQuery.js +6 -6
- package/dist/react-utils/useQueryParams/index.js +6 -6
- package/dist/react-utils/useQueryParams/useQueryParams.js +6 -6
- package/dist/react-utils/useRegisterNavigationCheckpoint/index.js +6 -6
- package/dist/react-utils/useRegisterNavigationCheckpoint/useRegisterNavigationCheckpoint.js +6 -6
- package/dist/react-utils/useStateWithDependency/index.js +2 -2
- package/dist/react-utils/useStateWithDependency/useStateWithDependency.js +2 -2
- package/dist/react-utils/withTitle/index.js +1 -1
- package/dist/react-utils/withTitle/withTitle.js +1 -1
- package/dist/{slicedToArray-5531a6cb.js → slicedToArray-B_J-CC8-.js} +2 -2
- package/dist/{slicedToArray-5531a6cb.js.map → slicedToArray-B_J-CC8-.js.map} +1 -1
- package/dist/{toConsumableArray-7f764fb5.js → toConsumableArray-CQcqnqnw.js} +2 -2
- package/dist/{toConsumableArray-7f764fb5.js.map → toConsumableArray-CQcqnqnw.js.map} +1 -1
- package/dist/{typeof-92b42de1.js → typeof-C6-BY_SI.js} +1 -1
- package/dist/{typeof-92b42de1.js.map → typeof-C6-BY_SI.js.map} +1 -1
- package/dist/{unsupportedIterableToArray-577176bf.js → unsupportedIterableToArray-wRn9bJ2J.js} +1 -1
- package/dist/{unsupportedIterableToArray-577176bf.js.map → unsupportedIterableToArray-wRn9bJ2J.js.map} +1 -1
- package/dist/utils/buildNestedAttributesPayload.js +3 -3
- package/dist/utils/captureAnalyticsEvent.js +2 -2
- package/dist/utils/captureAnalyticsPageView.js +3 -3
- package/dist/utils/createSubscription.js +6 -6
- package/dist/utils/currencyFormat.js +1 -1
- package/dist/utils/datetime.js +21 -17
- package/dist/utils/datetime.js.map +1 -1
- package/dist/utils/dayjs.js +34 -1
- package/dist/utils/dayjs.js.map +1 -1
- package/dist/utils/general.js +6 -6
- package/dist/utils/index.js +10 -9
- package/dist/utils/index.js.map +1 -1
- package/package.json +4 -4
- package/dist/_commonjsHelpers-ae89b920.js.map +0 -1
- package/dist/cjs/_commonjsHelpers-755157d3.js.map +0 -1
package/dist/cjs/{objectWithoutProperties-60b52fdb.js.map → objectWithoutProperties-DKElrbI9.js.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"objectWithoutProperties-
|
|
1
|
+
{"version":3,"file":"objectWithoutProperties-DKElrbI9.js","sources":["../../node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js","../../node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js"],"sourcesContent":["export default function _objectWithoutPropertiesLoose(source, excluded) {\n if (source == null) return {};\n var target = {};\n var sourceKeys = Object.keys(source);\n var key, i;\n\n for (i = 0; i < sourceKeys.length; i++) {\n key = sourceKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n target[key] = source[key];\n }\n\n return target;\n}","import objectWithoutPropertiesLoose from \"./objectWithoutPropertiesLoose.js\";\nexport default function _objectWithoutProperties(source, excluded) {\n if (source == null) return {};\n var target = objectWithoutPropertiesLoose(source, excluded);\n var key, i;\n\n if (Object.getOwnPropertySymbols) {\n var sourceSymbolKeys = Object.getOwnPropertySymbols(source);\n\n for (i = 0; i < sourceSymbolKeys.length; i++) {\n key = sourceSymbolKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;\n target[key] = source[key];\n }\n }\n\n return target;\n}"],"names":["objectWithoutPropertiesLoose"],"mappings":";;AAAe,SAAS,6BAA6B,CAAC,MAAM,EAAE,QAAQ,EAAE;AACxE,EAAE,IAAI,MAAM,IAAI,IAAI,EAAE,OAAO,EAAE,CAAC;AAChC,EAAE,IAAI,MAAM,GAAG,EAAE,CAAC;AAClB,EAAE,IAAI,UAAU,GAAG,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;AACvC,EAAE,IAAI,GAAG,EAAE,CAAC,CAAC;AACb;AACA,EAAE,KAAK,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,UAAU,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE;AAC1C,IAAI,GAAG,GAAG,UAAU,CAAC,CAAC,CAAC,CAAC;AACxB,IAAI,IAAI,QAAQ,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,SAAS;AAC7C,IAAI,MAAM,CAAC,GAAG,CAAC,GAAG,MAAM,CAAC,GAAG,CAAC,CAAC;AAC9B,GAAG;AACH;AACA,EAAE,OAAO,MAAM,CAAC;AAChB;;ACZe,SAAS,wBAAwB,CAAC,MAAM,EAAE,QAAQ,EAAE;AACnE,EAAE,IAAI,MAAM,IAAI,IAAI,EAAE,OAAO,EAAE,CAAC;AAChC,EAAE,IAAI,MAAM,GAAGA,6BAA4B,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;AAC9D,EAAE,IAAI,GAAG,EAAE,CAAC,CAAC;AACb;AACA,EAAE,IAAI,MAAM,CAAC,qBAAqB,EAAE;AACpC,IAAI,IAAI,gBAAgB,GAAG,MAAM,CAAC,qBAAqB,CAAC,MAAM,CAAC,CAAC;AAChE;AACA,IAAI,KAAK,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,gBAAgB,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE;AAClD,MAAM,GAAG,GAAG,gBAAgB,CAAC,CAAC,CAAC,CAAC;AAChC,MAAM,IAAI,QAAQ,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,SAAS;AAC/C,MAAM,IAAI,CAAC,MAAM,CAAC,SAAS,CAAC,oBAAoB,CAAC,IAAI,CAAC,MAAM,EAAE,GAAG,CAAC,EAAE,SAAS;AAC7E,MAAM,MAAM,CAAC,GAAG,CAAC,GAAG,MAAM,CAAC,GAAG,CAAC,CAAC;AAChC,KAAK;AACL,GAAG;AACH;AACA,EAAE,OAAO,MAAM,CAAC;AAChB;;;;","x_google_ignoreList":[0,1]}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var defineProperty = require('../../defineProperty-
|
|
3
|
+
var defineProperty = require('../../defineProperty-997UgAIV.js');
|
|
4
4
|
var reactQueryDevtools = require('@tanstack/react-query-devtools');
|
|
5
5
|
var BrowserSupport = require('@bigbinary/neeto-molecules/BrowserSupport');
|
|
6
6
|
var StickyRibbonsContainer = require('@bigbinary/neeto-molecules/StickyRibbonsContainer');
|
|
@@ -24,11 +24,6 @@ require('../QueryClientProvider/queryClient.js');
|
|
|
24
24
|
require('../../constants/index.js');
|
|
25
25
|
require('../../constants/regex.js');
|
|
26
26
|
|
|
27
|
-
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
28
|
-
|
|
29
|
-
var BrowserSupport__default = /*#__PURE__*/_interopDefaultLegacy(BrowserSupport);
|
|
30
|
-
var StickyRibbonsContainer__default = /*#__PURE__*/_interopDefaultLegacy(StickyRibbonsContainer);
|
|
31
|
-
|
|
32
27
|
var e=[],t=[];function n(n,r){if(n&&"undefined"!=typeof document){var a,s=!0===r.prepend?"prepend":"append",d=!0===r.singleTag,i="string"==typeof r.container?document.querySelector(r.container):document.getElementsByTagName("head")[0];if(d){var u=e.indexOf(i);-1===u&&(u=e.push(i)-1,t[u]={}),a=t[u]&&t[u][s]?t[u][s]:t[u][s]=c();}else a=c();65279===n.charCodeAt(0)&&(n=n.substring(1)),a.styleSheet?a.styleSheet.cssText+=n:a.appendChild(document.createTextNode(n));}function c(){var e=document.createElement("style");if(e.setAttribute("type","text/css"),r.attributes)for(var t=Object.keys(r.attributes),n=0;n<t.length;n++)e.setAttribute(t[n],r.attributes[t[n]]);var a="prepend"===s?"afterbegin":"beforeend";return i.insertAdjacentElement(a,e),e}}
|
|
33
28
|
|
|
34
29
|
var css = ".tsqd-transitions-container aside{z-index:99999}";
|
|
@@ -45,9 +40,9 @@ var AppContainer = function AppContainer(_ref) {
|
|
|
45
40
|
reactQueryDevtoolsProps = _ref.reactQueryDevtoolsProps,
|
|
46
41
|
toastContainerProps = _ref.toastContainerProps;
|
|
47
42
|
return /*#__PURE__*/jsxRuntime.jsx(reactUtils_HoneybadgerErrorBoundary_HoneybadgerErrorBoundary, _objectSpread(_objectSpread({}, honeybadgerErrorBoundaryProps), {}, {
|
|
48
|
-
children: /*#__PURE__*/jsxRuntime.jsxs(
|
|
43
|
+
children: /*#__PURE__*/jsxRuntime.jsxs(BrowserSupport, _objectSpread(_objectSpread({}, browserSupportProps), {}, {
|
|
49
44
|
children: [/*#__PURE__*/jsxRuntime.jsx(reactToastify.ToastContainer, _objectSpread({}, toastContainerProps)), /*#__PURE__*/jsxRuntime.jsxs(reactUtils_QueryClientProvider_QueryClientProvider, {
|
|
50
|
-
children: [globalProps.authenticated && enableStickyRibbons && /*#__PURE__*/jsxRuntime.jsx(
|
|
45
|
+
children: [globalProps.authenticated && enableStickyRibbons && /*#__PURE__*/jsxRuntime.jsx(StickyRibbonsContainer, {}), /*#__PURE__*/jsxRuntime.jsx(reactRouterDom.BrowserRouter, {
|
|
51
46
|
children: children
|
|
52
47
|
}), /*#__PURE__*/jsxRuntime.jsx(reactQueryDevtools.ReactQueryDevtools, _objectSpread({
|
|
53
48
|
initialIsOpen: false,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AppContainer.js","sources":["../../../../node_modules/rollup-plugin-styles/dist/runtime/inject-css.js","../../../../src/react-utils/AppContainer/AppContainer.jsx"],"sourcesContent":["var e=[],t=[];function n(n,r){if(n&&\"undefined\"!=typeof document){var a,s=!0===r.prepend?\"prepend\":\"append\",d=!0===r.singleTag,i=\"string\"==typeof r.container?document.querySelector(r.container):document.getElementsByTagName(\"head\")[0];if(d){var u=e.indexOf(i);-1===u&&(u=e.push(i)-1,t[u]={}),a=t[u]&&t[u][s]?t[u][s]:t[u][s]=c()}else a=c();65279===n.charCodeAt(0)&&(n=n.substring(1)),a.styleSheet?a.styleSheet.cssText+=n:a.appendChild(document.createTextNode(n))}function c(){var e=document.createElement(\"style\");if(e.setAttribute(\"type\",\"text/css\"),r.attributes)for(var t=Object.keys(r.attributes),n=0;n<t.length;n++)e.setAttribute(t[n],r.attributes[t[n]]);var a=\"prepend\"===s?\"afterbegin\":\"beforeend\";return i.insertAdjacentElement(a,e),e}}export{n as default};\n","import { ReactQueryDevtools } from \"@tanstack/react-query-devtools\";\nimport \"assets/stylesheets/app-container.css\";\nimport BrowserSupport from \"neetomolecules/BrowserSupport\";\nimport StickyRibbonsContainer from \"neetomolecules/StickyRibbonsContainer\";\nimport { BrowserRouter } from \"react-router-dom\";\nimport { ToastContainer } from \"react-toastify\";\nimport HoneybadgerErrorBoundary from \"react-utils/HoneybadgerErrorBoundary\";\nimport QueryClientProvider from \"react-utils/QueryClientProvider/QueryClientProvider\";\n\nconst AppContainer = ({\n children,\n browserSupportProps,\n enableStickyRibbons = true,\n honeybadgerErrorBoundaryProps,\n reactQueryDevtoolsProps,\n toastContainerProps,\n}) => (\n <HoneybadgerErrorBoundary {...honeybadgerErrorBoundaryProps}>\n <BrowserSupport {...browserSupportProps}>\n <ToastContainer {...toastContainerProps} />\n <QueryClientProvider>\n {globalProps.authenticated && enableStickyRibbons && (\n <StickyRibbonsContainer />\n )}\n <BrowserRouter>{children}</BrowserRouter>\n <ReactQueryDevtools\n initialIsOpen={false}\n position=\"bottom\"\n {...reactQueryDevtoolsProps}\n />\n </QueryClientProvider>\n </BrowserSupport>\n </HoneybadgerErrorBoundary>\n);\n\nexport default AppContainer;\n"],"names":["AppContainer","_ref","children","browserSupportProps","_ref$enableStickyRibb","enableStickyRibbons","honeybadgerErrorBoundaryProps","reactQueryDevtoolsProps","toastContainerProps","_jsx","HoneybadgerErrorBoundary","_objectSpread","_jsxs","BrowserSupport","ToastContainer","QueryClientProvider","globalProps","authenticated","StickyRibbonsContainer","BrowserRouter","ReactQueryDevtools","initialIsOpen","position"],"mappings":"
|
|
1
|
+
{"version":3,"file":"AppContainer.js","sources":["../../../../node_modules/rollup-plugin-styles/dist/runtime/inject-css.js","../../../../src/react-utils/AppContainer/AppContainer.jsx"],"sourcesContent":["var e=[],t=[];function n(n,r){if(n&&\"undefined\"!=typeof document){var a,s=!0===r.prepend?\"prepend\":\"append\",d=!0===r.singleTag,i=\"string\"==typeof r.container?document.querySelector(r.container):document.getElementsByTagName(\"head\")[0];if(d){var u=e.indexOf(i);-1===u&&(u=e.push(i)-1,t[u]={}),a=t[u]&&t[u][s]?t[u][s]:t[u][s]=c()}else a=c();65279===n.charCodeAt(0)&&(n=n.substring(1)),a.styleSheet?a.styleSheet.cssText+=n:a.appendChild(document.createTextNode(n))}function c(){var e=document.createElement(\"style\");if(e.setAttribute(\"type\",\"text/css\"),r.attributes)for(var t=Object.keys(r.attributes),n=0;n<t.length;n++)e.setAttribute(t[n],r.attributes[t[n]]);var a=\"prepend\"===s?\"afterbegin\":\"beforeend\";return i.insertAdjacentElement(a,e),e}}export{n as default};\n","import { ReactQueryDevtools } from \"@tanstack/react-query-devtools\";\nimport \"assets/stylesheets/app-container.css\";\nimport BrowserSupport from \"neetomolecules/BrowserSupport\";\nimport StickyRibbonsContainer from \"neetomolecules/StickyRibbonsContainer\";\nimport { BrowserRouter } from \"react-router-dom\";\nimport { ToastContainer } from \"react-toastify\";\nimport HoneybadgerErrorBoundary from \"react-utils/HoneybadgerErrorBoundary\";\nimport QueryClientProvider from \"react-utils/QueryClientProvider/QueryClientProvider\";\n\nconst AppContainer = ({\n children,\n browserSupportProps,\n enableStickyRibbons = true,\n honeybadgerErrorBoundaryProps,\n reactQueryDevtoolsProps,\n toastContainerProps,\n}) => (\n <HoneybadgerErrorBoundary {...honeybadgerErrorBoundaryProps}>\n <BrowserSupport {...browserSupportProps}>\n <ToastContainer {...toastContainerProps} />\n <QueryClientProvider>\n {globalProps.authenticated && enableStickyRibbons && (\n <StickyRibbonsContainer />\n )}\n <BrowserRouter>{children}</BrowserRouter>\n <ReactQueryDevtools\n initialIsOpen={false}\n position=\"bottom\"\n {...reactQueryDevtoolsProps}\n />\n </QueryClientProvider>\n </BrowserSupport>\n </HoneybadgerErrorBoundary>\n);\n\nexport default AppContainer;\n"],"names":["AppContainer","_ref","children","browserSupportProps","_ref$enableStickyRibb","enableStickyRibbons","honeybadgerErrorBoundaryProps","reactQueryDevtoolsProps","toastContainerProps","_jsx","HoneybadgerErrorBoundary","_objectSpread","_jsxs","BrowserSupport","ToastContainer","QueryClientProvider","globalProps","authenticated","StickyRibbonsContainer","BrowserRouter","ReactQueryDevtools","initialIsOpen","position"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,EAAE,WAAW,EAAE,OAAO,QAAQ,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,OAAO,CAAC,SAAS,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,QAAQ,CAAC,oBAAoB,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,GAAE,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,KAAK,GAAG,CAAC,CAAC,UA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A,CAAnBO,mBAAmB,CAAA;EAAA,oBAEnBC,cAAA,CAACC,4DAAwB,EAAAC,aAAA,CAAAA,aAAA,KAAKL,6BAA6B,CAAA,EAAA,EAAA,EAAA;IAAAJ,QAAA,eACzDU,eAAA,CAACC,cAAc,EAAAF,aAAA,CAAAA,aAAA,CAAA,EAAA,EAAKR,mBAAmB,CAAA,EAAA,EAAA,EAAA;AAAAD,MAAAA,QAAA,EACrCO,cAAAA,cAAA,CAACK,4BAAc,EAAAH,aAAA,CAAKH,EAAAA,EAAAA,mBAAmB,CAAG,CAAC,eAC3CI,eAAA,CAACG,kDAAmB,EAAA;AAAAb,QAAAA,QAAA,EACjBc,CAAAA,WAAW,CAACC,aAAa,IAAIZ,mBAAmB,iBAC/CI,cAAA,CAACS,sBAAsB,EAAE,EAAA,CAC1B,eACDT,cAAA,CAACU,4BAAa,EAAA;AAAAjB,UAAAA,QAAA,EAAEA,QAAAA;AAAQ,SAAgB,CAAC,eACzCO,cAAA,CAACW,qCAAkB,EAAAT,aAAA,CAAA;AACjBU,UAAAA,aAAa,EAAE,KAAM;AACrBC,UAAAA,QAAQ,EAAC,QAAA;SACLf,EAAAA,uBAAuB,CAC5B,CAAC,CAAA;AAAA,OACiB,CAAC,CAAA;KACR,CAAA,CAAA;AAAC,GAAA,CACO,CAAC,CAAA;AAAA;;;;","x_google_ignoreList":[0]}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var reactUtils_AppContainer_AppContainer = require('./AppContainer.js');
|
|
4
|
-
require('../../defineProperty-
|
|
4
|
+
require('../../defineProperty-997UgAIV.js');
|
|
5
5
|
require('@tanstack/react-query-devtools');
|
|
6
6
|
require('@bigbinary/neeto-molecules/BrowserSupport');
|
|
7
7
|
require('@bigbinary/neeto-molecules/StickyRibbonsContainer');
|
|
@@ -2,19 +2,18 @@
|
|
|
2
2
|
|
|
3
3
|
var axios = require('axios');
|
|
4
4
|
|
|
5
|
-
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
6
|
-
|
|
7
|
-
var axios__default = /*#__PURE__*/_interopDefaultLegacy(axios);
|
|
8
|
-
|
|
9
5
|
// THIS FILE HAS BEEN ADDED BY NEETO NOTIFICATIONS ENGINE
|
|
6
|
+
// AND IS USED FOR BROWSER NOTIFICATIONS
|
|
7
|
+
// CONTACT NEETO NOTIFICATIONS TEAM BEFORE MODIFYING THIS FILE
|
|
8
|
+
|
|
10
9
|
var devicesBaseUrl = "/neeto_notifications/api/v1/devices";
|
|
11
10
|
var create = function create(payload) {
|
|
12
|
-
return
|
|
11
|
+
return axios.post(devicesBaseUrl, payload, {
|
|
13
12
|
showToastr: false
|
|
14
13
|
});
|
|
15
14
|
};
|
|
16
15
|
var destroy = function destroy(deviceId) {
|
|
17
|
-
return
|
|
16
|
+
return axios["delete"]("".concat(devicesBaseUrl, "/").concat(deviceId), {
|
|
18
17
|
showToastr: false
|
|
19
18
|
});
|
|
20
19
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"devices.js","sources":["../../../../src/react-utils/BrowserPushNotifications/devices.js"],"sourcesContent":["// THIS FILE HAS BEEN ADDED BY NEETO NOTIFICATIONS ENGINE\n// AND IS USED FOR BROWSER NOTIFICATIONS\n// CONTACT NEETO NOTIFICATIONS TEAM BEFORE MODIFYING THIS FILE\n\nimport axios from \"axios\";\n\nconst devicesBaseUrl = \"/neeto_notifications/api/v1/devices\";\n\nconst create = payload =>\n axios.post(devicesBaseUrl, payload, { showToastr: false });\n\nconst destroy = deviceId =>\n axios.delete(`${devicesBaseUrl}/${deviceId}`, { showToastr: false });\n\nconst devicesApi = { create, destroy };\n\nexport default devicesApi;\n"],"names":["devicesBaseUrl","create","payload","axios","post","showToastr","destroy","deviceId","concat","devicesApi"],"mappings":"
|
|
1
|
+
{"version":3,"file":"devices.js","sources":["../../../../src/react-utils/BrowserPushNotifications/devices.js"],"sourcesContent":["// THIS FILE HAS BEEN ADDED BY NEETO NOTIFICATIONS ENGINE\n// AND IS USED FOR BROWSER NOTIFICATIONS\n// CONTACT NEETO NOTIFICATIONS TEAM BEFORE MODIFYING THIS FILE\n\nimport axios from \"axios\";\n\nconst devicesBaseUrl = \"/neeto_notifications/api/v1/devices\";\n\nconst create = payload =>\n axios.post(devicesBaseUrl, payload, { showToastr: false });\n\nconst destroy = deviceId =>\n axios.delete(`${devicesBaseUrl}/${deviceId}`, { showToastr: false });\n\nconst devicesApi = { create, destroy };\n\nexport default devicesApi;\n"],"names":["devicesBaseUrl","create","payload","axios","post","showToastr","destroy","deviceId","concat","devicesApi"],"mappings":";;;;AAAA;AACA;AACA;;AAIA,IAAMA,cAAc,GAAG,qCAAqC,CAAA;AAE5D,IAAMC,MAAM,GAAG,SAATA,MAAMA,CAAGC,OAAO,EAAA;AAAA,EAAA,OACpBC,KAAK,CAACC,IAAI,CAACJ,cAAc,EAAEE,OAAO,EAAE;AAAEG,IAAAA,UAAU,EAAE,KAAA;AAAM,GAAC,CAAC,CAAA;AAAA,CAAA,CAAA;AAE5D,IAAMC,OAAO,GAAG,SAAVA,OAAOA,CAAGC,QAAQ,EAAA;EAAA,OACtBJ,KAAK,CAAO,QAAA,CAAA,CAAA,EAAA,CAAAK,MAAA,CAAIR,cAAc,EAAAQ,GAAAA,CAAAA,CAAAA,MAAA,CAAID,QAAQ,CAAI,EAAA;AAAEF,IAAAA,UAAU,EAAE,KAAA;AAAM,GAAC,CAAC,CAAA;AAAA,CAAA,CAAA;AAEtE,IAAMI,UAAU,GAAG;AAAER,EAAAA,MAAM,EAANA,MAAM;AAAEK,EAAAA,OAAO,EAAPA,OAAAA;AAAQ;;;;"}
|
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
3
|
var reactUtils_BrowserPushNotifications_pushHelper = require('./pushHelper.js');
|
|
6
|
-
require('../../index-
|
|
7
|
-
require('../../_commonjsHelpers-
|
|
4
|
+
require('../../index-H4FWVZW-.js');
|
|
5
|
+
require('../../_commonjsHelpers-CFO10eej.js');
|
|
8
6
|
require('./devices.js');
|
|
9
7
|
require('axios');
|
|
10
8
|
require('./registerServiceWorker.js');
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;"}
|
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
var index = require('../../index-25a068b1.js');
|
|
3
|
+
var index = require('../../index-H4FWVZW-.js');
|
|
6
4
|
var reactUtils_BrowserPushNotifications_devices = require('./devices.js');
|
|
7
5
|
var reactUtils_BrowserPushNotifications_registerServiceWorker = require('./registerServiceWorker.js');
|
|
8
|
-
require('../../_commonjsHelpers-
|
|
6
|
+
require('../../_commonjsHelpers-CFO10eej.js');
|
|
9
7
|
require('axios');
|
|
10
8
|
|
|
11
9
|
var createBrowserSubscription = /*#__PURE__*/function () {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pushHelper.js","sources":["../../../../src/react-utils/BrowserPushNotifications/pushHelper.js"],"sourcesContent":["// THIS FILE HAS BEEN ADDED BY NEETO NOTIFICATIONS ENGINE\n// AND IS USED FOR BROWSER NOTIFICATIONS\n// CONTACT NEETO NOTIFICATIONS TEAM BEFORE MODIFYING THIS FILE\n\nimport devicesApi from \"./devices\";\nimport {\n unsubscribeBrowserNotifications,\n registerServiceWorker,\n} from \"./registerServiceWorker\";\n\nconst createBrowserSubscription = async subscription => {\n if (subscription) {\n const payload = { device: { subscription, platform: \"browser\" } };\n try {\n await devicesApi.create(payload);\n localStorage.setItem(\n \"deviceId\",\n JSON.stringify(subscription.toJSON().keys.auth)\n );\n } catch (err) {\n logger.error(\"Device registration Failed: \", err);\n }\n } else {\n logger.error(\n \"Something went wrong while registering device for browser subscription\"\n );\n }\n};\n\nexport const destroyBrowserSubscription = async () => {\n try {\n await unsubscribeBrowserNotifications();\n const deviceId = JSON.parse(localStorage.getItem(\"deviceId\"));\n await devicesApi.destroy(deviceId);\n localStorage.removeItem(\"deviceId\");\n } catch (err) {\n logger.error(\n \"Something went wrong while unsubscribing browser notification:\",\n err\n );\n }\n};\n\nexport const registerBrowserNotifications = async (\n vapidPublicKey = process.env.VAPID_PUBLIC_KEY\n) => {\n const response = await registerServiceWorker(vapidPublicKey);\n await createBrowserSubscription(response);\n};\n"],"names":["createBrowserSubscription","_ref","_asyncToGenerator","_regeneratorRuntime","mark","_callee","subscription","payload","wrap","_callee$","_context","prev","next","device","platform","devicesApi","create","localStorage","setItem","JSON","stringify","toJSON","keys","auth","t0","logger","error","stop","_x","apply","arguments","destroyBrowserSubscription","_ref2","_callee2","deviceId","_callee2$","_context2","unsubscribeBrowserNotifications","parse","getItem","destroy","removeItem","registerBrowserNotifications","_ref3","_callee3","vapidPublicKey","response","_args3","_callee3$","_context3","length","undefined","process","env","VAPID_PUBLIC_KEY","registerServiceWorker","sent"],"mappings":"
|
|
1
|
+
{"version":3,"file":"pushHelper.js","sources":["../../../../src/react-utils/BrowserPushNotifications/pushHelper.js"],"sourcesContent":["// THIS FILE HAS BEEN ADDED BY NEETO NOTIFICATIONS ENGINE\n// AND IS USED FOR BROWSER NOTIFICATIONS\n// CONTACT NEETO NOTIFICATIONS TEAM BEFORE MODIFYING THIS FILE\n\nimport devicesApi from \"./devices\";\nimport {\n unsubscribeBrowserNotifications,\n registerServiceWorker,\n} from \"./registerServiceWorker\";\n\nconst createBrowserSubscription = async subscription => {\n if (subscription) {\n const payload = { device: { subscription, platform: \"browser\" } };\n try {\n await devicesApi.create(payload);\n localStorage.setItem(\n \"deviceId\",\n JSON.stringify(subscription.toJSON().keys.auth)\n );\n } catch (err) {\n logger.error(\"Device registration Failed: \", err);\n }\n } else {\n logger.error(\n \"Something went wrong while registering device for browser subscription\"\n );\n }\n};\n\nexport const destroyBrowserSubscription = async () => {\n try {\n await unsubscribeBrowserNotifications();\n const deviceId = JSON.parse(localStorage.getItem(\"deviceId\"));\n await devicesApi.destroy(deviceId);\n localStorage.removeItem(\"deviceId\");\n } catch (err) {\n logger.error(\n \"Something went wrong while unsubscribing browser notification:\",\n err\n );\n }\n};\n\nexport const registerBrowserNotifications = async (\n vapidPublicKey = process.env.VAPID_PUBLIC_KEY\n) => {\n const response = await registerServiceWorker(vapidPublicKey);\n await createBrowserSubscription(response);\n};\n"],"names":["createBrowserSubscription","_ref","_asyncToGenerator","_regeneratorRuntime","mark","_callee","subscription","payload","wrap","_callee$","_context","prev","next","device","platform","devicesApi","create","localStorage","setItem","JSON","stringify","toJSON","keys","auth","t0","logger","error","stop","_x","apply","arguments","destroyBrowserSubscription","_ref2","_callee2","deviceId","_callee2$","_context2","unsubscribeBrowserNotifications","parse","getItem","destroy","removeItem","registerBrowserNotifications","_ref3","_callee3","vapidPublicKey","response","_args3","_callee3$","_context3","length","undefined","process","env","VAPID_PUBLIC_KEY","registerServiceWorker","sent"],"mappings":";;;;;;;;AAUA,IAAMA,yBAAyB,gBAAA,YAAA;EAAA,IAAAC,IAAA,GAAAC,uBAAA,cAAAC,yBAAA,CAAAC,IAAA,CAAG,SAAAC,OAAAA,CAAMC,YAAY,EAAA;AAAA,IAAA,IAAAC,OAAA,CAAA;AAAA,IAAA,OAAAJ,yBAAA,CAAAK,IAAA,CAAA,SAAAC,SAAAC,QAAA,EAAA;AAAA,MAAA,OAAA,CAAA,EAAA,QAAAA,QAAA,CAAAC,IAAA,GAAAD,QAAA,CAAAE,IAAA;AAAA,QAAA,KAAA,CAAA;AAAA,UAAA,IAAA,CAC9CN,YAAY,EAAA;AAAAI,YAAAA,QAAA,CAAAE,IAAA,GAAA,EAAA,CAAA;AAAA,YAAA,MAAA;AAAA,WAAA;AACRL,UAAAA,OA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AA,CAAA,CAAA;AAAA,QAAA,KAAA,KAAA;UAAA,OAAAG,SAAA,CAAAtB,IAAA,EAAA,CAAA;AAAA,OAAA;AAAA,KAAA,EAAAiB,QAAA,CAAA,CAAA;GAC1C,CAAA,CAAA,CAAA;AAAA,EAAA,OAAA,SALYF,4BAA4BA,GAAA;AAAA,IAAA,OAAAC,KAAA,CAAAd,KAAA,CAAA,IAAA,EAAAC,SAAA,CAAA,CAAA;AAAA,GAAA,CAAA;AAAA,CAKxC;;;;;"}
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
var index = require('../../index-25a068b1.js');
|
|
6
|
-
require('../../_commonjsHelpers-755157d3.js');
|
|
3
|
+
var index = require('../../index-H4FWVZW-.js');
|
|
4
|
+
require('../../_commonjsHelpers-CFO10eej.js');
|
|
7
5
|
|
|
8
6
|
// THIS FILE HAS BEEN ADDED BY NEETO NOTIFICATIONS ENGINE
|
|
9
7
|
// AND IS USED FOR BROWSER NOTIFICATIONS
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"registerServiceWorker.js","sources":["../../../../src/react-utils/BrowserPushNotifications/registerServiceWorker.js"],"sourcesContent":["// THIS FILE HAS BEEN ADDED BY NEETO NOTIFICATIONS ENGINE\n// AND IS USED FOR BROWSER NOTIFICATIONS\n// CONTACT NEETO NOTIFICATIONS TEAM BEFORE MODIFYING THIS FILE\n\nfunction urlB64ToUint8Array(base64String) {\n const padding = \"=\".repeat((4 - (base64String.length % 4)) % 4);\n const base64 = (base64String + padding).replace(/-/g, \"+\").replace(/_/g, \"/\");\n\n const rawData = window.atob(base64);\n const outputArray = new Uint8Array(rawData.length);\n\n for (let i = 0; i < rawData.length; ++i) {\n outputArray[i] = rawData.charCodeAt(i);\n }\n\n return outputArray;\n}\n\nconst subscribeBrowserNotifications = async vapidPublicKey => {\n let subscription = {};\n try {\n const permission = await Notification.requestPermission();\n if (permission !== \"denied\") {\n await navigator.serviceWorker.register(\"/serviceworker.js\");\n const sw = await navigator.serviceWorker.ready;\n subscription = await sw.pushManager.subscribe({\n userVisibleOnly: true,\n applicationServerKey: urlB64ToUint8Array(vapidPublicKey),\n });\n\n return subscription;\n }\n logger.error(\"Notification Permission Denied\");\n } catch (error) {\n logger.error(error);\n }\n\n return null;\n};\nexport const unsubscribeBrowserNotifications = async () => {\n try {\n const sw = await navigator.serviceWorker.ready;\n const subscription = await sw.pushManager.getSubscription();\n if (subscription) {\n const res = await subscription.unsubscribe();\n logger.error(res);\n }\n } catch (error) {\n logger.error(error);\n }\n};\n\nexport const registerServiceWorker = async vapidPublicKey => {\n if (navigator.serviceWorker && vapidPublicKey) {\n const res = await subscribeBrowserNotifications(vapidPublicKey);\n\n return res;\n }\n logger.error(\"Service worker is not supported in this Browser\");\n\n return null;\n};\n"],"names":["urlB64ToUint8Array","base64String","padding","repeat","length","base64","replace","rawData","window","atob","outputArray","Uint8Array","i","charCodeAt","subscribeBrowserNotifications","_ref","_asyncToGenerator","_regeneratorRuntime","mark","_callee","vapidPublicKey","subscription","permission","sw","wrap","_callee$","_context","prev","next","Notification","requestPermission","sent","navigator","serviceWorker","register","ready","pushManager","subscribe","userVisibleOnly","applicationServerKey","abrupt","logger","error","t0","stop","_x","apply","arguments","unsubscribeBrowserNotifications","_ref2","_callee2","res","_callee2$","_context2","getSubscription","unsubscribe","registerServiceWorker","_ref3","_callee3","_callee3$","_context3","_x2"],"mappings":"
|
|
1
|
+
{"version":3,"file":"registerServiceWorker.js","sources":["../../../../src/react-utils/BrowserPushNotifications/registerServiceWorker.js"],"sourcesContent":["// THIS FILE HAS BEEN ADDED BY NEETO NOTIFICATIONS ENGINE\n// AND IS USED FOR BROWSER NOTIFICATIONS\n// CONTACT NEETO NOTIFICATIONS TEAM BEFORE MODIFYING THIS FILE\n\nfunction urlB64ToUint8Array(base64String) {\n const padding = \"=\".repeat((4 - (base64String.length % 4)) % 4);\n const base64 = (base64String + padding).replace(/-/g, \"+\").replace(/_/g, \"/\");\n\n const rawData = window.atob(base64);\n const outputArray = new Uint8Array(rawData.length);\n\n for (let i = 0; i < rawData.length; ++i) {\n outputArray[i] = rawData.charCodeAt(i);\n }\n\n return outputArray;\n}\n\nconst subscribeBrowserNotifications = async vapidPublicKey => {\n let subscription = {};\n try {\n const permission = await Notification.requestPermission();\n if (permission !== \"denied\") {\n await navigator.serviceWorker.register(\"/serviceworker.js\");\n const sw = await navigator.serviceWorker.ready;\n subscription = await sw.pushManager.subscribe({\n userVisibleOnly: true,\n applicationServerKey: urlB64ToUint8Array(vapidPublicKey),\n });\n\n return subscription;\n }\n logger.error(\"Notification Permission Denied\");\n } catch (error) {\n logger.error(error);\n }\n\n return null;\n};\nexport const unsubscribeBrowserNotifications = async () => {\n try {\n const sw = await navigator.serviceWorker.ready;\n const subscription = await sw.pushManager.getSubscription();\n if (subscription) {\n const res = await subscription.unsubscribe();\n logger.error(res);\n }\n } catch (error) {\n logger.error(error);\n }\n};\n\nexport const registerServiceWorker = async vapidPublicKey => {\n if (navigator.serviceWorker && vapidPublicKey) {\n const res = await subscribeBrowserNotifications(vapidPublicKey);\n\n return res;\n }\n logger.error(\"Service worker is not supported in this Browser\");\n\n return null;\n};\n"],"names":["urlB64ToUint8Array","base64String","padding","repeat","length","base64","replace","rawData","window","atob","outputArray","Uint8Array","i","charCodeAt","subscribeBrowserNotifications","_ref","_asyncToGenerator","_regeneratorRuntime","mark","_callee","vapidPublicKey","subscription","permission","sw","wrap","_callee$","_context","prev","next","Notification","requestPermission","sent","navigator","serviceWorker","register","ready","pushManager","subscribe","userVisibleOnly","applicationServerKey","abrupt","logger","error","t0","stop","_x","apply","arguments","unsubscribeBrowserNotifications","_ref2","_callee2","res","_callee2$","_context2","getSubscription","unsubscribe","registerServiceWorker","_ref3","_callee3","_callee3$","_context3","_x2"],"mappings":";;;;;AAAA;AACA;AACA;;AAEA,SAASA,kBAAkBA,CAACC,YAAY,EAAE;AACxC,EAA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
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var defineProperty = require('../../defineProperty-
|
|
3
|
+
var defineProperty = require('../../defineProperty-997UgAIV.js');
|
|
4
4
|
var react = require('react');
|
|
5
5
|
var DOMPurify = require('dompurify');
|
|
6
6
|
var Button = require('@bigbinary/neetoui/Button');
|
|
@@ -9,11 +9,6 @@ var ramda = require('ramda');
|
|
|
9
9
|
var reactI18next = require('react-i18next');
|
|
10
10
|
var jsxRuntime = require('react/jsx-runtime');
|
|
11
11
|
|
|
12
|
-
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
13
|
-
|
|
14
|
-
var Button__default = /*#__PURE__*/_interopDefaultLegacy(Button);
|
|
15
|
-
var Typography__default = /*#__PURE__*/_interopDefaultLegacy(Typography);
|
|
16
|
-
|
|
17
12
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
18
13
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { defineProperty._defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
19
14
|
var FallbackComponentImage = function FallbackComponentImage(props) {
|
|
@@ -68,13 +63,13 @@ var FallbackComponent = function FallbackComponent() {
|
|
|
68
63
|
children: [/*#__PURE__*/jsxRuntime.jsx("div", {
|
|
69
64
|
className: "m-auto mb-8 flex items-center justify-center",
|
|
70
65
|
children: /*#__PURE__*/jsxRuntime.jsx(FallbackComponentImage, {})
|
|
71
|
-
}), /*#__PURE__*/jsxRuntime.jsx(
|
|
66
|
+
}), /*#__PURE__*/jsxRuntime.jsx(Typography, {
|
|
72
67
|
className: "mb-4",
|
|
73
68
|
component: "h2",
|
|
74
69
|
style: "h2",
|
|
75
70
|
weight: "semibold",
|
|
76
71
|
children: t("neetoCommons.fallbackComponent.somethingWentWrong")
|
|
77
|
-
}), /*#__PURE__*/jsxRuntime.jsx(
|
|
72
|
+
}), /*#__PURE__*/jsxRuntime.jsx(Typography, {
|
|
78
73
|
className: "neeto-ui-text-gray-600 mb-8",
|
|
79
74
|
component: "p",
|
|
80
75
|
style: "body1",
|
|
@@ -82,13 +77,13 @@ var FallbackComponent = function FallbackComponent() {
|
|
|
82
77
|
children: /*#__PURE__*/jsxRuntime.jsx(reactI18next.Trans, {
|
|
83
78
|
i18nKey: "neetoCommons.fallbackComponent.description",
|
|
84
79
|
components: {
|
|
85
|
-
reloading: /*#__PURE__*/jsxRuntime.jsx(
|
|
80
|
+
reloading: /*#__PURE__*/jsxRuntime.jsx(Button, {
|
|
86
81
|
style: "link",
|
|
87
82
|
onClick: function onClick() {
|
|
88
83
|
return window.location.reload();
|
|
89
84
|
}
|
|
90
85
|
}),
|
|
91
|
-
contactus: /*#__PURE__*/jsxRuntime.jsx(
|
|
86
|
+
contactus: /*#__PURE__*/jsxRuntime.jsx(Button, {
|
|
92
87
|
style: "link",
|
|
93
88
|
onClick: function onClick() {
|
|
94
89
|
var _window$NeetoChat, _window$NeetoChat$con, _window$NeetoChat2, _window$NeetoChat2$co;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FallbackComponent.js","sources":["../../../../src/react-utils/HoneybadgerErrorBoundary/FallbackComponent.jsx"],"sourcesContent":["import { useEffect } from \"react\";\n\nimport FallbackComponentImage from \"assets/images/fallback-component.svg\";\nimport { sanitize } from \"dompurify\";\nimport { Button, Typography } from \"neetoui\";\nimport { isNil } from \"ramda\";\nimport { Trans, useTranslation } from \"react-i18next\";\n\nconst FallbackComponent = () => {\n const { t } = useTranslation();\n\n useEffect(() => {\n const listener = e => {\n if (isNil(e.state)) return;\n window.location.href = sanitize(e.target?.location.href);\n };\n window.addEventListener(\"popstate\", listener);\n\n return () => window.removeEventListener(\"popstate\", listener);\n }, []);\n\n return (\n <div className=\"flex h-screen w-full flex-row items-start justify-start\">\n <div className=\"m-auto text-center\">\n <div className=\"m-auto mb-8 flex items-center justify-center\">\n <FallbackComponentImage />\n </div>\n <Typography\n className=\"mb-4\"\n component=\"h2\"\n style=\"h2\"\n weight=\"semibold\"\n >\n {t(\"neetoCommons.fallbackComponent.somethingWentWrong\")}\n </Typography>\n <Typography\n className=\"neeto-ui-text-gray-600 mb-8\"\n component=\"p\"\n style=\"body1\"\n weight=\"normal\"\n >\n <Trans\n i18nKey=\"neetoCommons.fallbackComponent.description\"\n components={{\n reloading: (\n <Button style=\"link\" onClick={() => window.location.reload()} />\n ),\n contactus: (\n <Button\n style=\"link\"\n onClick={() => {\n window.NeetoChat?.contextualHelp?.maximizeWidget();\n window.NeetoChat?.contextualHelp?.openWidget();\n }}\n />\n ),\n }}\n />\n </Typography>\n </div>\n </div>\n );\n};\n\nexport default FallbackComponent;\n"],"names":["FallbackComponentImage","props","_jsxs","_objectSpread","children","_jsx","d","fill","defaultProps","width","height","viewBox","xmlns","FallbackComponent","_useTranslation","useTranslation","t","useEffect","listener","e","_e$target","isNil","state","window","location","href","sanitize","target","addEventListener","removeEventListener","className","Typography","component","style","weight","Trans","i18nKey","components","reloading","Button","onClick","reload","contactus","_window$NeetoChat","_window$NeetoChat$con","_window$NeetoChat2","_window$NeetoChat2$co","NeetoChat","contextualHelp","maximizeWidget","openWidget"],"mappings":"
|
|
1
|
+
{"version":3,"file":"FallbackComponent.js","sources":["../../../../src/react-utils/HoneybadgerErrorBoundary/FallbackComponent.jsx"],"sourcesContent":["import { useEffect } from \"react\";\n\nimport FallbackComponentImage from \"assets/images/fallback-component.svg\";\nimport { sanitize } from \"dompurify\";\nimport { Button, Typography } from \"neetoui\";\nimport { isNil } from \"ramda\";\nimport { Trans, useTranslation } from \"react-i18next\";\n\nconst FallbackComponent = () => {\n const { t } = useTranslation();\n\n useEffect(() => {\n const listener = e => {\n if (isNil(e.state)) return;\n window.location.href = sanitize(e.target?.location.href);\n };\n window.addEventListener(\"popstate\", listener);\n\n return () => window.removeEventListener(\"popstate\", listener);\n }, []);\n\n return (\n <div className=\"flex h-screen w-full flex-row items-start justify-start\">\n <div className=\"m-auto text-center\">\n <div className=\"m-auto mb-8 flex items-center justify-center\">\n <FallbackComponentImage />\n </div>\n <Typography\n className=\"mb-4\"\n component=\"h2\"\n style=\"h2\"\n weight=\"semibold\"\n >\n {t(\"neetoCommons.fallbackComponent.somethingWentWrong\")}\n </Typography>\n <Typography\n className=\"neeto-ui-text-gray-600 mb-8\"\n component=\"p\"\n style=\"body1\"\n weight=\"normal\"\n >\n <Trans\n i18nKey=\"neetoCommons.fallbackComponent.description\"\n components={{\n reloading: (\n <Button style=\"link\" onClick={() => window.location.reload()} />\n ),\n contactus: (\n <Button\n style=\"link\"\n onClick={() => {\n window.NeetoChat?.contextualHelp?.maximizeWidget();\n window.NeetoChat?.contextualHelp?.openWidget();\n }}\n />\n ),\n }}\n />\n </Typography>\n </div>\n </div>\n );\n};\n\nexport default FallbackComponent;\n"],"names":["FallbackComponentImage","props","_jsxs","_objectSpread","children","_jsx","d","fill","defaultProps","width","height","viewBox","xmlns","FallbackComponent","_useTranslation","useTranslation","t","useEffect","listener","e","_e$target","isNil","state","window","location","href","sanitize","target","addEventListener","removeEventListener","className","Typography","component","style","weight","Trans","i18nKey","components","reloading","Button","onClick","reload","contactus","_window$NeetoChat","_window$NeetoChat$con","_window$NeetoChat2","_window$NeetoChat2$co","NeetoChat","contextualHelp","maximizeWidget","openWidget"],"mappings":";;;;;;;;;;;;;AAAkC,IAE3BA,sBAAsB,GAAA,SAAtBA,sBAAsBA,CAAAC,KAAA,EAAA;AAAA,EAAA,oBAAAC,eAAA,CAAAC,KAAAA,EAAAA,aAAA,CA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C,QAAQ;QAAA9B,QAAA,eAEfC,cAAA,CAAC8B,kBAAK,EAAA;AACJC,UAAAA,OAAO,EAAC,4CAA4C;AACpDC,UAAAA,UAAU,EAAE;YACVC,SAAS,eACPjC,cAAA,CAACkC,MAAM,EAAA;AAACN,cAAAA,KAAK,EAAC,MAAM;cAACO,OAAO,EAAE,SAATA,OAAOA,GAAA;AAAA,gBAAA,OAAQjB,MAAM,CAACC,QAAQ,CAACiB,MAAM,EAAE,CAAA;AAAA,eAAA;AAAC,aAAE,CAChE;YACDC,SAAS,eACPrC,cAAA,CAACkC,MAAM,EAAA;AACLN,cAAAA,KAAK,EAAC,MAAM;AACZO,cAAAA,OAAO,EAAE,SAATA,OAAOA,GAAQ;AAAA,gBAAA,IAAAG,iBAAA,EAAAC,qBAAA,EAAAC,kBAAA,EAAAC,qBAAA,CAAA;gBACb,CAAAH,iBAAA,GAAApB,MAAM,CAACwB,SAAS,MAAAJ,IAAAA,IAAAA,iBAAA,wBAAAC,qBAAA,GAAhBD,iBAAA,CAAkBK,cAAc,cAAAJ,qBAAA,KAAA,KAAA,CAAA,GAAA,KAAA,CAAA,GAAhCA,qBAAA,CAAkCK,cAAc,EAAE,CAAA;gBAClD,CAAAJ,kBAAA,GAAAtB,MAAM,CAACwB,SAAS,MAAAF,IAAAA,IAAAA,kBAAA,wBAAAC,qBAAA,GAAhBD,kBAAA,CAAkBG,cAAc,cAAAF,qBAAA,KAAA,KAAA,CAAA,GAAA,KAAA,CAAA,GAAhCA,qBAAA,CAAkCI,UAAU,EAAE,CAAA;AAChD,eAAA;aACD,CAAA;AAEL,WAAA;SACD,CAAA;AAAC,OACQ,CAAC,CAAA;KACV,CAAA;AAAC,GACH,CAAC,CAAA;AAEV;;;;"}
|
|
@@ -5,7 +5,7 @@ var reactUtils_HoneybadgerErrorBoundary_constants = require('./constants.js');
|
|
|
5
5
|
var reactUtils_HoneybadgerErrorBoundary_FallbackComponent = require('./FallbackComponent.js');
|
|
6
6
|
var reactUtils_HoneybadgerErrorBoundary_utils = require('./utils.js');
|
|
7
7
|
var jsxRuntime = require('react/jsx-runtime');
|
|
8
|
-
require('../../defineProperty-
|
|
8
|
+
require('../../defineProperty-997UgAIV.js');
|
|
9
9
|
require('react');
|
|
10
10
|
require('dompurify');
|
|
11
11
|
require('@bigbinary/neetoui/Button');
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
3
|
var IGNORABLE_ERRORS_REGEX = /(window\.requestAnimationFrame|ResizeObserver|ChunkLoadError|window\.webkit\.messageHandlers|Request aborted|Network Error|Cannot redefine property: googletag|Failed to execute 'removeChild' on 'Node')/;
|
|
6
4
|
var IGNORABLE_ERROR_NAMES_REGEX = /(ChunkLoadError)/;
|
|
7
5
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.js","sources":["../../../../src/react-utils/HoneybadgerErrorBoundary/constants.js"],"sourcesContent":["export const IGNORABLE_ERRORS_REGEX =\n /(window\\.requestAnimationFrame|ResizeObserver|ChunkLoadError|window\\.webkit\\.messageHandlers|Request aborted|Network Error|Cannot redefine property: googletag|Failed to execute 'removeChild' on 'Node')/;\nexport const IGNORABLE_ERROR_NAMES_REGEX = /(ChunkLoadError)/;\n"],"names":["IGNORABLE_ERRORS_REGEX","IGNORABLE_ERROR_NAMES_REGEX"],"mappings":"
|
|
1
|
+
{"version":3,"file":"constants.js","sources":["../../../../src/react-utils/HoneybadgerErrorBoundary/constants.js"],"sourcesContent":["export const IGNORABLE_ERRORS_REGEX =\n /(window\\.requestAnimationFrame|ResizeObserver|ChunkLoadError|window\\.webkit\\.messageHandlers|Request aborted|Network Error|Cannot redefine property: googletag|Failed to execute 'removeChild' on 'Node')/;\nexport const IGNORABLE_ERROR_NAMES_REGEX = /(ChunkLoadError)/;\n"],"names":["IGNORABLE_ERRORS_REGEX","IGNORABLE_ERROR_NAMES_REGEX"],"mappings":";;AAAO,IAAMA,sBAAsB,GACjC,4MAA2M;AACtM,IAAMC,2BAA2B,GAAG;;;;;"}
|
|
@@ -4,7 +4,7 @@ var reactUtils_HoneybadgerErrorBoundary_HoneybadgerErrorBoundary = require('./Ho
|
|
|
4
4
|
require('@honeybadger-io/react');
|
|
5
5
|
require('./constants.js');
|
|
6
6
|
require('./FallbackComponent.js');
|
|
7
|
-
require('../../defineProperty-
|
|
7
|
+
require('../../defineProperty-997UgAIV.js');
|
|
8
8
|
require('react');
|
|
9
9
|
require('dompurify');
|
|
10
10
|
require('@bigbinary/neetoui/Button');
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.js","sources":["../../../../src/react-utils/HoneybadgerErrorBoundary/utils.js"],"sourcesContent":["export const attachContext = (notice, context) => {\n if (notice.context) Object.assign(notice.context, context);\n else notice.context = context;\n};\n\nexport const getSessionReplayUrl = () => {\n const storage = sessionStorage.getItem(\"neeto-replay-widget--session\");\n const currentTimestamp = new Date().getTime();\n\n return storage ? `${JSON.parse(storage).url}?goto=${currentTimestamp}` : \"\";\n};\n"],"names":["attachContext","notice","context","Object","assign","getSessionReplayUrl","storage","sessionStorage","getItem","currentTimestamp","Date","getTime","concat","JSON","parse","url"],"mappings":"
|
|
1
|
+
{"version":3,"file":"utils.js","sources":["../../../../src/react-utils/HoneybadgerErrorBoundary/utils.js"],"sourcesContent":["export const attachContext = (notice, context) => {\n if (notice.context) Object.assign(notice.context, context);\n else notice.context = context;\n};\n\nexport const getSessionReplayUrl = () => {\n const storage = sessionStorage.getItem(\"neeto-replay-widget--session\");\n const currentTimestamp = new Date().getTime();\n\n return storage ? `${JSON.parse(storage).url}?goto=${currentTimestamp}` : \"\";\n};\n"],"names":["attachContext","notice","context","Object","assign","getSessionReplayUrl","storage","sessionStorage","getItem","currentTimestamp","Date","getTime","concat","JSON","parse","url"],"mappings":";;AAAO,IAAMA,aAAa,GAAG,SAAhBA,aAAaA,CAAIC,MAAM,EAAEC,OAAO,EAAK;EAChD,IAAID,MAAM,CAACC,OAAO,EAAEC,MAAM,CAACC,MAAM,CAACH,MAAM,CAACC,OAAO,EAAEA,OAAO,CAAC,CAAC,KACtDD,MAAM,CAACC,OAAO,GAAGA,OAAO,CAAA;AAC/B,EAAC;IAEYG,mBAAmB,GAAG,SAAtBA,mBAAmBA,GAAS;AACvC,EAAA,IAAMC,OAAO,GAAGC,cAAc,CAACC,OAAO,CAAC,8BAA8B,CAAC,CAAA;EACtE,IAAMC,gBAAgB,GAAG,IAAIC,IAAI,EAAE,CAACC,OAAO,EAAE,CAAA;AAE7C,EAAA,OAAOL,OAAO,GAAAM,EAAAA,CAAAA,MAAA,CAAMC,IAAI,CAACC,KAAK,CAACR,OAAO,CAAC,CAACS,GAAG,EAAA,QAAA,CAAA,CAAAH,MAAA,CAASH,gBAAgB,IAAK,EAAE,CAAA;AAC7E;;;;;"}
|
|
@@ -4,14 +4,10 @@ var initializers = require('@bigbinary/neeto-commons-frontend/initializers');
|
|
|
4
4
|
var Helmet = require('react-helmet');
|
|
5
5
|
var jsxRuntime = require('react/jsx-runtime');
|
|
6
6
|
|
|
7
|
-
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
8
|
-
|
|
9
|
-
var Helmet__default = /*#__PURE__*/_interopDefaultLegacy(Helmet);
|
|
10
|
-
|
|
11
7
|
var PageTitle = function PageTitle(_ref) {
|
|
12
8
|
var title = _ref.title;
|
|
13
9
|
var pageTitle = title ? "".concat(title, " | ").concat(initializers.globalProps.appName) : initializers.globalProps.appName;
|
|
14
|
-
return /*#__PURE__*/jsxRuntime.jsx(
|
|
10
|
+
return /*#__PURE__*/jsxRuntime.jsx(Helmet, {
|
|
15
11
|
children: /*#__PURE__*/jsxRuntime.jsx("title", {
|
|
16
12
|
children: pageTitle
|
|
17
13
|
})
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PageTitle.js","sources":["../../../../src/react-utils/PageTitle/PageTitle.jsx"],"sourcesContent":["import { globalProps } from \"neetocommons/initializers\";\nimport PropTypes from \"prop-types\";\nimport Helmet from \"react-helmet\";\n\nconst PageTitle = ({ title }) => {\n const pageTitle = title\n ? `${title} | ${globalProps.appName}`\n : globalProps.appName;\n\n return (\n <Helmet>\n <title>{pageTitle}</title>\n </Helmet>\n );\n};\n\nPageTitle.propTypes = {\n /**\n * Title to be set to the page.\n */\n title: PropTypes.string,\n};\n\nexport default PageTitle;\n"],"names":["PageTitle","_ref","title","pageTitle","concat","globalProps","appName","_jsx","Helmet","children"],"mappings":"
|
|
1
|
+
{"version":3,"file":"PageTitle.js","sources":["../../../../src/react-utils/PageTitle/PageTitle.jsx"],"sourcesContent":["import { globalProps } from \"neetocommons/initializers\";\nimport PropTypes from \"prop-types\";\nimport Helmet from \"react-helmet\";\n\nconst PageTitle = ({ title }) => {\n const pageTitle = title\n ? `${title} | ${globalProps.appName}`\n : globalProps.appName;\n\n return (\n <Helmet>\n <title>{pageTitle}</title>\n </Helmet>\n );\n};\n\nPageTitle.propTypes = {\n /**\n * Title to be set to the page.\n */\n title: PropTypes.string,\n};\n\nexport default PageTitle;\n"],"names":["PageTitle","_ref","title","pageTitle","concat","globalProps","appName","_jsx","Helmet","children"],"mappings":";;;;;;AAIA,IAAMA,SAAS,GAAG,SAAZA,SAASA,CAAAC,IAAA,EAAkB;AAAA,EAAA,IAAZC,KAAK,GAAAD,IAAA,CAALC,KAAK,CAAA;AACxB,EAAA,IAAMC,SAAS,GAAGD,KAAK,GAAAE,EAAAA,CAAAA,MAAA,CAChBF,KAAK,EAAA,KAAA,CAAA,CAAAE,MAAA,CAAMC,wBAAW,CAACC,OAAO,CACjCD,GAAAA,wBAAW,CAACC,OAAO,CAAA;EAEvB,oBACEC,cAAA,CAACC,MAAM,EAAA;AAAAC,IAAAA,QAAA,eACLF,cAAA,CAAA,OAAA,EAAA;AAAAE,MAAAA,QAAA,EAAQN,SAAAA;KAAiB,CAAA;AAAC,GACpB,CAAC,CAAA;AAEb;;;;"}
|
|
@@ -1,16 +1,12 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var defineProperty = require('../../defineProperty-
|
|
4
|
-
var objectWithoutProperties = require('../../objectWithoutProperties-
|
|
3
|
+
var defineProperty = require('../../defineProperty-997UgAIV.js');
|
|
4
|
+
var objectWithoutProperties = require('../../objectWithoutProperties-DKElrbI9.js');
|
|
5
5
|
var ErrorPage = require('@bigbinary/neeto-molecules/ErrorPage');
|
|
6
6
|
var ramda = require('ramda');
|
|
7
7
|
var reactRouterDom = require('react-router-dom');
|
|
8
8
|
var jsxRuntime = require('react/jsx-runtime');
|
|
9
9
|
|
|
10
|
-
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
11
|
-
|
|
12
|
-
var ErrorPage__default = /*#__PURE__*/_interopDefaultLegacy(ErrorPage);
|
|
13
|
-
|
|
14
10
|
var _excluded = ["condition", "redirectRoute", "errorPage", "permissions"];
|
|
15
11
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
16
12
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { defineProperty._defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
@@ -26,7 +22,7 @@ var PrivateRoute = function PrivateRoute(_ref) {
|
|
|
26
22
|
props = objectWithoutProperties._objectWithoutProperties(_ref, _excluded);
|
|
27
23
|
if (condition) {
|
|
28
24
|
if (permissions) {
|
|
29
|
-
return globalProps.permissions.some(ramda.includes(ramda.__, permissions)) ? /*#__PURE__*/jsxRuntime.jsx(reactRouterDom.Route, _objectSpread({}, props)) : errorPage || /*#__PURE__*/jsxRuntime.jsx(
|
|
25
|
+
return globalProps.permissions.some(ramda.includes(ramda.__, permissions)) ? /*#__PURE__*/jsxRuntime.jsx(reactRouterDom.Route, _objectSpread({}, props)) : errorPage || /*#__PURE__*/jsxRuntime.jsx(ErrorPage, {
|
|
30
26
|
status: 403
|
|
31
27
|
});
|
|
32
28
|
}
|
|
@@ -39,7 +35,7 @@ var PrivateRoute = function PrivateRoute(_ref) {
|
|
|
39
35
|
}
|
|
40
36
|
});
|
|
41
37
|
}
|
|
42
|
-
return errorPage || /*#__PURE__*/jsxRuntime.jsx(
|
|
38
|
+
return errorPage || /*#__PURE__*/jsxRuntime.jsx(ErrorPage, {
|
|
43
39
|
status: 403
|
|
44
40
|
});
|
|
45
41
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PrivateRoute.js","sources":["../../../../src/react-utils/PrivateRoute/PrivateRoute.jsx"],"sourcesContent":["import ErrorPage from \"neetomolecules/ErrorPage\";\nimport { __, includes } from \"ramda\";\nimport { Redirect, Route } from \"react-router-dom\";\n\nconst PrivateRoute = ({\n condition = globalProps.authenticated,\n redirectRoute = undefined,\n errorPage = undefined,\n permissions = undefined,\n ...props\n}) => {\n if (condition) {\n if (permissions) {\n return globalProps.permissions.some(includes(__, permissions)) ? (\n <Route {...props} />\n ) : (\n errorPage || <ErrorPage status={403} />\n );\n }\n\n return <Route {...props} />;\n }\n\n if (redirectRoute) {\n return <Redirect to={{ pathname: redirectRoute }} />;\n }\n\n return errorPage || <ErrorPage status={403} />;\n};\n\nexport default PrivateRoute;\n"],"names":["PrivateRoute","_ref","_ref$condition","condition","globalProps","authenticated","_ref$redirectRoute","redirectRoute","undefined","_ref$errorPage","errorPage","_ref$permissions","permissions","props","_objectWithoutProperties","_excluded","some","includes","__","_jsx","Route","_objectSpread","ErrorPage","status","Redirect","to","pathname"],"mappings":"
|
|
1
|
+
{"version":3,"file":"PrivateRoute.js","sources":["../../../../src/react-utils/PrivateRoute/PrivateRoute.jsx"],"sourcesContent":["import ErrorPage from \"neetomolecules/ErrorPage\";\nimport { __, includes } from \"ramda\";\nimport { Redirect, Route } from \"react-router-dom\";\n\nconst PrivateRoute = ({\n condition = globalProps.authenticated,\n redirectRoute = undefined,\n errorPage = undefined,\n permissions = undefined,\n ...props\n}) => {\n if (condition) {\n if (permissions) {\n return globalProps.permissions.some(includes(__, permissions)) ? (\n <Route {...props} />\n ) : (\n errorPage || <ErrorPage status={403} />\n );\n }\n\n return <Route {...props} />;\n }\n\n if (redirectRoute) {\n return <Redirect to={{ pathname: redirectRoute }} />;\n }\n\n return errorPage || <ErrorPage status={403} />;\n};\n\nexport default PrivateRoute;\n"],"names":["PrivateRoute","_ref","_ref$condition","condition","globalProps","authenticated","_ref$redirectRoute","redirectRoute","undefined","_ref$errorPage","errorPage","_ref$permissions","permissions","props","_objectWithoutProperties","_excluded","some","includes","__","_jsx","Route","_objectSpread","ErrorPage","status","Redirect","to","pathname"],"mappings":";;;;;;;;;;;;AAIA,IAAMA,YAAY,GAAG,SAAfA,YAAYA,CAAAC,IAAA,EAMZ;AAAA,EAAA,IAAAC,cAAA,GAAAD,IAAA,CALJE,SAAS;AAATA,IAAAA,SAAS,GAAAD,cAAA,KAAA,KAAA,CAAA,GAAGE,WAAW,CAACC,aAAa,GAAAH,cAAA;IAAAI,kBAAA,GAAAL,IAAA,CACrCM,aAAa;AAAbA,IAAAA,aAAa,GAAAD,kBAAA,KAAGE,KAAAA,CAAAA,GAAAA,SAAS,GAAAF,kBAAA;IAAAG,cAAA,GAAAR,IAAA,CACzBS,SAAS;AAATA,IAAAA,SAAS,GAAAD,cAAA,KAAGD,KAAAA,CAAAA,GAAAA,SAAS,GAAAC,cAAA;IAAAE,gBAAA,GAAAV,IAAA,CACrBW,WAAW;AAAXA,IAAAA,WAAW,GAAAD,gBAAA,KAAGH,KAAAA,CAAAA,GAAAA,SAAS,GAAAG,gBAAA;AACpBE,IAAAA,KAAK,GAAAC,gDAAA,CAAAb,IAAA,EAAAc,SAAA,CAAA,CAAA;AAER,EAAA,IAAIZ,SAAS,EAAE;AACb,IAAA,IAAIS,WAAW,EAAE;AACf,MAAA,OAAOR,WAAW,CAACQ,WAAW,CAACI,IAAI,CAACC,cAAQ,CAACC,QAAE,EAAEN,WAAW,CAAC,CAAC,gBAC5DO,cAAA,CAACC,oBAAK,EAAAC,aAAA,CAAA,EAAA,EAAKR,KAAK,CAAG,CAAC,GAEpBH,SAAS,iBAAIS,cAAA,CAACG,SAAS,EAAA;AAACC,QAAAA,MAAM,EAAE,GAAA;AAAI,OAAE,CACvC,CAAA;AACH,KAAA;IAEA,oBAAOJ,cAAA,CAACC,oBAAK,EAAAC,aAAA,CAAKR,EAAAA,EAAAA,KAAK,CAAG,CAAC,CAAA;AAC7B,GAAA;AAEA,EAAA,IAAIN,aAAa,EAAE;IACjB,oBAAOY,cAAA,CAACK,uBAAQ,EAAA;AAACC,MAAAA,EAAE,EAAE;AAAEC,QAAAA,QAAQ,EAAEnB,aAAAA;AAAc,OAAA;AAAE,KAAE,CAAC,CAAA;AACtD,GAAA;AAEA,EAAA,OAAOG,SAAS,iBAAIS,cAAA,CAACG,SAAS,EAAA;AAACC,IAAAA,MAAM,EAAE,GAAA;AAAI,GAAE,CAAC,CAAA;AAChD;;;;"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var reactUtils_PrivateRoute_PrivateRoute = require('./PrivateRoute.js');
|
|
4
|
-
require('../../defineProperty-
|
|
5
|
-
require('../../objectWithoutProperties-
|
|
4
|
+
require('../../defineProperty-997UgAIV.js');
|
|
5
|
+
require('../../objectWithoutProperties-DKElrbI9.js');
|
|
6
6
|
require('@bigbinary/neeto-molecules/ErrorPage');
|
|
7
7
|
require('ramda');
|
|
8
8
|
require('react-router-dom');
|
|
@@ -11,6 +11,6 @@ require('../../constants/regex.js');
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
exports
|
|
14
|
+
exports.default = reactUtils_QueryClientProvider_QueryClientProvider;
|
|
15
15
|
exports.queryClient = reactUtils_QueryClientProvider_queryClient;
|
|
16
16
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.js","sources":["../../../../src/react-utils/constants/constants.js"],"sourcesContent":["export const QUERY_CACHE_NAME_SPACE = \"queryCache\";\nexport const NEETO_APPS_LIST_STALE_TIME = 30 * 24 * 60 * 60 * 1000; // 30 days\nexport const STORAGE_KEY = \"navigationCheckpoints\";\n"],"names":["QUERY_CACHE_NAME_SPACE","NEETO_APPS_LIST_STALE_TIME","STORAGE_KEY"],"mappings":"
|
|
1
|
+
{"version":3,"file":"constants.js","sources":["../../../../src/react-utils/constants/constants.js"],"sourcesContent":["export const QUERY_CACHE_NAME_SPACE = \"queryCache\";\nexport const NEETO_APPS_LIST_STALE_TIME = 30 * 24 * 60 * 60 * 1000; // 30 days\nexport const STORAGE_KEY = \"navigationCheckpoints\";\n"],"names":["QUERY_CACHE_NAME_SPACE","NEETO_APPS_LIST_STALE_TIME","STORAGE_KEY"],"mappings":";;AAAO,IAAMA,sBAAsB,GAAG,aAAY;AACrCC,IAAAA,0BAA0B,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,KAAK;AAC5D,IAAMC,WAAW,GAAG;;;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"query.js","sources":["../../../../src/react-utils/constants/query.js"],"sourcesContent":["export const QUERY_KEYS = { NEETO_APPS_LIST: \"neeto-apps-list\" };\n"],"names":["QUERY_KEYS","NEETO_APPS_LIST"],"mappings":"
|
|
1
|
+
{"version":3,"file":"query.js","sources":["../../../../src/react-utils/constants/query.js"],"sourcesContent":["export const QUERY_KEYS = { NEETO_APPS_LIST: \"neeto-apps-list\" };\n"],"names":["QUERY_KEYS","NEETO_APPS_LIST"],"mappings":";;AAAO,IAAMA,UAAU,GAAG;AAAEC,EAAAA,eAAe,EAAE,iBAAA;AAAkB;;;;"}
|