@bigbinary/neeto-commons-frontend 4.13.19 → 4.13.21
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 +1 -1
- package/dist/cjs/cypress-utils/commands.js +4 -4
- package/dist/cjs/cypress-utils/constants/routes.js +2 -1
- package/dist/cjs/cypress-utils/constants/routes.js.map +1 -1
- package/dist/cjs/cypress-utils/constants/selectors/common.js +2 -1
- package/dist/cjs/cypress-utils/constants/selectors/common.js.map +1 -1
- package/dist/cjs/cypress-utils/constants/selectors/editor.js +2 -1
- package/dist/cjs/cypress-utils/constants/selectors/editor.js.map +1 -1
- package/dist/cjs/cypress-utils/constants/selectors/ipRestriction.js +2 -1
- package/dist/cjs/cypress-utils/constants/selectors/ipRestriction.js.map +1 -1
- package/dist/cjs/cypress-utils/constants/selectors/login.js +2 -1
- package/dist/cjs/cypress-utils/constants/selectors/login.js.map +1 -1
- package/dist/cjs/cypress-utils/constants/selectors/member.js +2 -1
- package/dist/cjs/cypress-utils/constants/selectors/member.js.map +1 -1
- package/dist/cjs/cypress-utils/constants/selectors/navigation.js +2 -1
- package/dist/cjs/cypress-utils/constants/selectors/navigation.js.map +1 -1
- package/dist/cjs/cypress-utils/constants/selectors/signUp.js +2 -1
- package/dist/cjs/cypress-utils/constants/selectors/signUp.js.map +1 -1
- package/dist/cjs/cypress-utils/constants/selectors/tags.js +2 -1
- package/dist/cjs/cypress-utils/constants/selectors/tags.js.map +1 -1
- package/dist/cjs/cypress-utils/index.js +4 -4
- package/dist/cjs/cypress-utils/utils/authentication.js +2 -1
- package/dist/cjs/cypress-utils/utils/authentication.js.map +1 -1
- package/dist/cjs/cypress-utils/utils/common.js +2 -1
- package/dist/cjs/cypress-utils/utils/common.js.map +1 -1
- package/dist/cjs/cypress-utils/utils/email.js +2 -1
- package/dist/cjs/cypress-utils/utils/email.js.map +1 -1
- package/dist/cjs/cypress-utils/utils/member.js +2 -1
- package/dist/cjs/cypress-utils/utils/member.js.map +1 -1
- package/dist/cjs/cypress-utils/utils/navigation.js +2 -1
- package/dist/cjs/cypress-utils/utils/navigation.js.map +1 -1
- package/dist/cjs/cypress-utils/utils/organization.js +2 -1
- package/dist/cjs/cypress-utils/utils/organization.js.map +1 -1
- package/dist/cjs/cypress-utils/utils/validation.js +2 -1
- package/dist/cjs/cypress-utils/utils/validation.js.map +1 -1
- package/dist/cjs/defineProperty-Cm9b1C1w.js +32 -0
- package/dist/cjs/defineProperty-Cm9b1C1w.js.map +1 -0
- package/dist/cjs/index-DDd00LFf.js +378 -0
- package/dist/cjs/index-DDd00LFf.js.map +1 -0
- package/dist/cjs/initializers/axios.js +2 -2
- package/dist/cjs/initializers/axiosInitializer/index.js +2 -2
- package/dist/cjs/initializers/dayjs.js +4 -4
- package/dist/cjs/initializers/dayjs.js.map +1 -1
- package/dist/cjs/initializers/globalProps.js +3 -3
- package/dist/cjs/initializers/globalProps.js.map +1 -1
- package/dist/cjs/initializers/i18n.js +3 -3
- package/dist/cjs/initializers/index.js +4 -4
- package/dist/cjs/initializers/reactDevTools.js +1 -1
- package/dist/cjs/initializers/utils/utils.js +3 -3
- package/dist/cjs/objectWithoutProperties-DQlolGrE.js +26 -0
- package/dist/cjs/objectWithoutProperties-DQlolGrE.js.map +1 -0
- package/dist/cjs/react-utils/AppContainer/AppContainer.js +2 -1
- package/dist/cjs/react-utils/AppContainer/AppContainer.js.map +1 -1
- package/dist/cjs/react-utils/AppContainer/index.js +2 -1
- package/dist/cjs/react-utils/AppContainer/index.js.map +1 -1
- package/dist/cjs/react-utils/BrowserPushNotifications/index.js +1 -1
- package/dist/cjs/react-utils/BrowserPushNotifications/pushHelper.js +1 -1
- package/dist/cjs/react-utils/BrowserPushNotifications/registerServiceWorker.js +1 -1
- package/dist/cjs/react-utils/HoneybadgerErrorBoundary/FallbackComponent.js +5 -4
- package/dist/cjs/react-utils/HoneybadgerErrorBoundary/FallbackComponent.js.map +1 -1
- package/dist/cjs/react-utils/HoneybadgerErrorBoundary/HoneybadgerErrorBoundary.js +2 -1
- package/dist/cjs/react-utils/HoneybadgerErrorBoundary/HoneybadgerErrorBoundary.js.map +1 -1
- package/dist/cjs/react-utils/HoneybadgerErrorBoundary/constants.js +1 -1
- package/dist/cjs/react-utils/HoneybadgerErrorBoundary/constants.js.map +1 -1
- package/dist/cjs/react-utils/HoneybadgerErrorBoundary/index.js +2 -1
- package/dist/cjs/react-utils/HoneybadgerErrorBoundary/index.js.map +1 -1
- package/dist/cjs/react-utils/PrivateRoute/PrivateRoute.js +3 -2
- package/dist/cjs/react-utils/PrivateRoute/PrivateRoute.js.map +1 -1
- package/dist/cjs/react-utils/PrivateRoute/index.js +3 -2
- package/dist/cjs/react-utils/PrivateRoute/index.js.map +1 -1
- package/dist/cjs/react-utils/index.js +7 -6
- package/dist/cjs/react-utils/index.js.map +1 -1
- package/dist/cjs/react-utils/useBreakpoints/index.js +2 -1
- package/dist/cjs/react-utils/useBreakpoints/index.js.map +1 -1
- package/dist/cjs/react-utils/useBreakpoints/utils.js +2 -1
- 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/useFetchNeetoApps/index.js +6 -5
- package/dist/cjs/react-utils/useFetchNeetoApps/index.js.map +1 -1
- package/dist/cjs/react-utils/useFetchNeetoApps/useFetchNeetoApps.js +6 -5
- package/dist/cjs/react-utils/useFetchNeetoApps/useFetchNeetoApps.js.map +1 -1
- 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 +7 -6
- package/dist/cjs/react-utils/useLocalStorage/index.js.map +1 -1
- package/dist/cjs/react-utils/useLocalStorage/useLocalStorage.js +7 -6
- package/dist/cjs/react-utils/useLocalStorage/useLocalStorage.js.map +1 -1
- package/dist/cjs/react-utils/useMutationWithInvalidation/index.js +3 -2
- package/dist/cjs/react-utils/useMutationWithInvalidation/index.js.map +1 -1
- package/dist/cjs/react-utils/useMutationWithInvalidation/useMutationWithInvalidation.js +4 -3
- package/dist/cjs/react-utils/useMutationWithInvalidation/useMutationWithInvalidation.js.map +1 -1
- package/dist/cjs/react-utils/usePersistedQuery/index.js +6 -5
- package/dist/cjs/react-utils/usePersistedQuery/index.js.map +1 -1
- package/dist/cjs/react-utils/usePersistedQuery/usePersistedQuery.js +6 -5
- package/dist/cjs/react-utils/usePersistedQuery/usePersistedQuery.js.map +1 -1
- package/dist/cjs/react-utils/useQueryParams/index.js +6 -5
- package/dist/cjs/react-utils/useQueryParams/index.js.map +1 -1
- package/dist/cjs/react-utils/useQueryParams/useQueryParams.js +6 -5
- package/dist/cjs/react-utils/useQueryParams/useQueryParams.js.map +1 -1
- package/dist/cjs/react-utils/useRegisterNavigationCheckpoint/index.js +6 -5
- package/dist/cjs/react-utils/useRegisterNavigationCheckpoint/index.js.map +1 -1
- package/dist/cjs/react-utils/useRegisterNavigationCheckpoint/useRegisterNavigationCheckpoint.js +6 -5
- package/dist/cjs/react-utils/useRegisterNavigationCheckpoint/useRegisterNavigationCheckpoint.js.map +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 +2 -1
- package/dist/cjs/react-utils/withTitle/index.js.map +1 -1
- package/dist/cjs/react-utils/withTitle/withTitle.js +2 -1
- package/dist/cjs/react-utils/withTitle/withTitle.js.map +1 -1
- package/dist/cjs/slicedToArray-Cbh2WzDH.js +46 -0
- package/dist/cjs/slicedToArray-Cbh2WzDH.js.map +1 -0
- package/dist/cjs/toConsumableArray-tBKHqzE3.js +22 -0
- package/dist/cjs/toConsumableArray-tBKHqzE3.js.map +1 -0
- package/dist/cjs/typeof-D4ZZ_FlZ.js +14 -0
- package/dist/cjs/typeof-D4ZZ_FlZ.js.map +1 -0
- package/dist/cjs/unsupportedIterableToArray-BoHMiKNA.js +19 -0
- package/dist/cjs/unsupportedIterableToArray-BoHMiKNA.js.map +1 -0
- package/dist/cjs/utils/buildNestedAttributesPayload.js +4 -3
- package/dist/cjs/utils/buildNestedAttributesPayload.js.map +1 -1
- package/dist/cjs/utils/captureAnalyticsPageView.js +2 -1
- package/dist/cjs/utils/captureAnalyticsPageView.js.map +1 -1
- package/dist/cjs/utils/createSubscription.js +6 -5
- package/dist/cjs/utils/createSubscription.js.map +1 -1
- package/dist/cjs/utils/currencyFormat.js +2 -1
- package/dist/cjs/utils/currencyFormat.js.map +1 -1
- package/dist/cjs/utils/datetime.js +6 -5
- package/dist/cjs/utils/datetime.js.map +1 -1
- package/dist/cjs/utils/dayjs.js +14 -21
- package/dist/cjs/utils/dayjs.js.map +1 -1
- package/dist/cjs/utils/general.js +8 -7
- package/dist/cjs/utils/general.js.map +1 -1
- package/dist/cjs/utils/index.js +7 -6
- package/dist/cjs/utils/index.js.map +1 -1
- package/dist/cjs/utils/timezonePlugin.js +4 -3
- package/dist/cjs/utils/timezonePlugin.js.map +1 -1
- package/dist/cypress-utils/commands.js +4 -4
- package/dist/cypress-utils/constants/routes.js +2 -1
- package/dist/cypress-utils/constants/routes.js.map +1 -1
- package/dist/cypress-utils/constants/selectors/common.js +2 -1
- package/dist/cypress-utils/constants/selectors/common.js.map +1 -1
- package/dist/cypress-utils/constants/selectors/editor.js +2 -1
- package/dist/cypress-utils/constants/selectors/editor.js.map +1 -1
- package/dist/cypress-utils/constants/selectors/ipRestriction.js +2 -1
- package/dist/cypress-utils/constants/selectors/ipRestriction.js.map +1 -1
- package/dist/cypress-utils/constants/selectors/login.js +2 -1
- package/dist/cypress-utils/constants/selectors/login.js.map +1 -1
- package/dist/cypress-utils/constants/selectors/member.js +2 -1
- package/dist/cypress-utils/constants/selectors/member.js.map +1 -1
- package/dist/cypress-utils/constants/selectors/navigation.js +2 -1
- package/dist/cypress-utils/constants/selectors/navigation.js.map +1 -1
- package/dist/cypress-utils/constants/selectors/signUp.js +2 -1
- package/dist/cypress-utils/constants/selectors/signUp.js.map +1 -1
- package/dist/cypress-utils/constants/selectors/tags.js +2 -1
- package/dist/cypress-utils/constants/selectors/tags.js.map +1 -1
- package/dist/cypress-utils/index.js +4 -4
- package/dist/cypress-utils/utils/authentication.js +2 -1
- package/dist/cypress-utils/utils/authentication.js.map +1 -1
- package/dist/cypress-utils/utils/common.js +2 -1
- package/dist/cypress-utils/utils/common.js.map +1 -1
- package/dist/cypress-utils/utils/email.js +2 -1
- package/dist/cypress-utils/utils/email.js.map +1 -1
- package/dist/cypress-utils/utils/member.js +2 -1
- package/dist/cypress-utils/utils/member.js.map +1 -1
- package/dist/cypress-utils/utils/navigation.js +2 -1
- package/dist/cypress-utils/utils/navigation.js.map +1 -1
- package/dist/cypress-utils/utils/organization.js +2 -1
- package/dist/cypress-utils/utils/organization.js.map +1 -1
- package/dist/cypress-utils/utils/validation.js +2 -1
- package/dist/cypress-utils/utils/validation.js.map +1 -1
- package/dist/defineProperty-D_V-nTlo.js +29 -0
- package/dist/defineProperty-D_V-nTlo.js.map +1 -0
- package/dist/index-D_s_toMy.js +375 -0
- package/dist/index-D_s_toMy.js.map +1 -0
- package/dist/initializers/axios.js +2 -2
- package/dist/initializers/axiosInitializer/index.js +2 -2
- package/dist/initializers/dayjs.js +4 -4
- package/dist/initializers/dayjs.js.map +1 -1
- package/dist/initializers/globalProps.js +3 -3
- package/dist/initializers/globalProps.js.map +1 -1
- package/dist/initializers/i18n.js +3 -3
- package/dist/initializers/index.js +4 -4
- package/dist/initializers/reactDevTools.js +1 -1
- package/dist/initializers/utils/utils.js +3 -3
- package/dist/objectWithoutProperties-PcUN5OqL.js +24 -0
- package/dist/objectWithoutProperties-PcUN5OqL.js.map +1 -0
- package/dist/react-utils/AppContainer/AppContainer.js +2 -1
- package/dist/react-utils/AppContainer/AppContainer.js.map +1 -1
- package/dist/react-utils/AppContainer/index.js +2 -1
- package/dist/react-utils/AppContainer/index.js.map +1 -1
- package/dist/react-utils/BrowserPushNotifications/index.js +1 -1
- package/dist/react-utils/BrowserPushNotifications/pushHelper.js +1 -1
- package/dist/react-utils/BrowserPushNotifications/registerServiceWorker.js +1 -1
- package/dist/react-utils/HoneybadgerErrorBoundary/FallbackComponent.js +5 -4
- package/dist/react-utils/HoneybadgerErrorBoundary/FallbackComponent.js.map +1 -1
- package/dist/react-utils/HoneybadgerErrorBoundary/HoneybadgerErrorBoundary.js +2 -1
- package/dist/react-utils/HoneybadgerErrorBoundary/HoneybadgerErrorBoundary.js.map +1 -1
- package/dist/react-utils/HoneybadgerErrorBoundary/constants.js +1 -1
- package/dist/react-utils/HoneybadgerErrorBoundary/constants.js.map +1 -1
- package/dist/react-utils/HoneybadgerErrorBoundary/index.js +2 -1
- package/dist/react-utils/HoneybadgerErrorBoundary/index.js.map +1 -1
- package/dist/react-utils/PrivateRoute/PrivateRoute.js +3 -2
- package/dist/react-utils/PrivateRoute/PrivateRoute.js.map +1 -1
- package/dist/react-utils/PrivateRoute/index.js +3 -2
- package/dist/react-utils/PrivateRoute/index.js.map +1 -1
- package/dist/react-utils/index.js +7 -6
- package/dist/react-utils/index.js.map +1 -1
- package/dist/react-utils/useBreakpoints/index.js +2 -1
- package/dist/react-utils/useBreakpoints/index.js.map +1 -1
- package/dist/react-utils/useBreakpoints/utils.js +2 -1
- package/dist/react-utils/useBreakpoints/utils.js.map +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 -5
- package/dist/react-utils/useFetchNeetoApps/index.js.map +1 -1
- package/dist/react-utils/useFetchNeetoApps/useFetchNeetoApps.js +6 -5
- package/dist/react-utils/useFetchNeetoApps/useFetchNeetoApps.js.map +1 -1
- 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 +7 -6
- package/dist/react-utils/useLocalStorage/index.js.map +1 -1
- package/dist/react-utils/useLocalStorage/useLocalStorage.js +7 -6
- package/dist/react-utils/useLocalStorage/useLocalStorage.js.map +1 -1
- package/dist/react-utils/useMutationWithInvalidation/index.js +3 -2
- package/dist/react-utils/useMutationWithInvalidation/index.js.map +1 -1
- package/dist/react-utils/useMutationWithInvalidation/useMutationWithInvalidation.js +4 -3
- package/dist/react-utils/useMutationWithInvalidation/useMutationWithInvalidation.js.map +1 -1
- package/dist/react-utils/usePersistedQuery/index.js +6 -5
- package/dist/react-utils/usePersistedQuery/index.js.map +1 -1
- package/dist/react-utils/usePersistedQuery/usePersistedQuery.js +6 -5
- package/dist/react-utils/usePersistedQuery/usePersistedQuery.js.map +1 -1
- package/dist/react-utils/useQueryParams/index.js +6 -5
- package/dist/react-utils/useQueryParams/index.js.map +1 -1
- package/dist/react-utils/useQueryParams/useQueryParams.js +6 -5
- package/dist/react-utils/useQueryParams/useQueryParams.js.map +1 -1
- package/dist/react-utils/useRegisterNavigationCheckpoint/index.js +6 -5
- package/dist/react-utils/useRegisterNavigationCheckpoint/index.js.map +1 -1
- package/dist/react-utils/useRegisterNavigationCheckpoint/useRegisterNavigationCheckpoint.js +6 -5
- package/dist/react-utils/useRegisterNavigationCheckpoint/useRegisterNavigationCheckpoint.js.map +1 -1
- 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 +2 -1
- package/dist/react-utils/withTitle/index.js.map +1 -1
- package/dist/react-utils/withTitle/withTitle.js +2 -1
- package/dist/react-utils/withTitle/withTitle.js.map +1 -1
- package/dist/slicedToArray-BWOQ_OdI.js +44 -0
- package/dist/slicedToArray-BWOQ_OdI.js.map +1 -0
- package/dist/toConsumableArray-B7CFjjkW.js +20 -0
- package/dist/toConsumableArray-B7CFjjkW.js.map +1 -0
- package/dist/typeof-D-UKOauR.js +12 -0
- package/dist/typeof-D-UKOauR.js.map +1 -0
- package/dist/unsupportedIterableToArray-Dqz8Y8_I.js +16 -0
- package/dist/unsupportedIterableToArray-Dqz8Y8_I.js.map +1 -0
- package/dist/utils/buildNestedAttributesPayload.js +4 -3
- package/dist/utils/buildNestedAttributesPayload.js.map +1 -1
- package/dist/utils/captureAnalyticsPageView.js +2 -1
- package/dist/utils/captureAnalyticsPageView.js.map +1 -1
- package/dist/utils/createSubscription.js +6 -5
- package/dist/utils/createSubscription.js.map +1 -1
- package/dist/utils/currencyFormat.js +2 -1
- package/dist/utils/currencyFormat.js.map +1 -1
- package/dist/utils/datetime.js +6 -5
- package/dist/utils/datetime.js.map +1 -1
- package/dist/utils/dayjs.js +14 -21
- package/dist/utils/dayjs.js.map +1 -1
- package/dist/utils/general.js +8 -7
- package/dist/utils/general.js.map +1 -1
- package/dist/utils/index.js +7 -6
- package/dist/utils/index.js.map +1 -1
- package/dist/utils/timezonePlugin.js +4 -3
- package/dist/utils/timezonePlugin.js.map +1 -1
- package/package.json +44 -44
- package/dist/cjs/defineProperty-997UgAIV.js +0 -19
- package/dist/cjs/defineProperty-997UgAIV.js.map +0 -1
- package/dist/cjs/index-H4FWVZW-.js +0 -439
- package/dist/cjs/index-H4FWVZW-.js.map +0 -1
- package/dist/cjs/objectWithoutProperties-DKElrbI9.js +0 -38
- package/dist/cjs/objectWithoutProperties-DKElrbI9.js.map +0 -1
- package/dist/cjs/slicedToArray-xtNEn5LJ.js +0 -48
- package/dist/cjs/slicedToArray-xtNEn5LJ.js.map +0 -1
- package/dist/cjs/toConsumableArray-Da_S-3Fb.js +0 -22
- package/dist/cjs/toConsumableArray-Da_S-3Fb.js.map +0 -1
- package/dist/cjs/typeof-CKZ7gZmW.js +0 -14
- package/dist/cjs/typeof-CKZ7gZmW.js.map +0 -1
- package/dist/cjs/unsupportedIterableToArray-CP9uaN0w.js +0 -24
- package/dist/cjs/unsupportedIterableToArray-CP9uaN0w.js.map +0 -1
- package/dist/defineProperty-CEd-kZQW.js +0 -17
- package/dist/defineProperty-CEd-kZQW.js.map +0 -1
- package/dist/index-CRoDfiJc.js +0 -436
- package/dist/index-CRoDfiJc.js.map +0 -1
- package/dist/objectWithoutProperties-B90Wg9LD.js +0 -36
- package/dist/objectWithoutProperties-B90Wg9LD.js.map +0 -1
- package/dist/slicedToArray-B_J-CC8-.js +0 -46
- package/dist/slicedToArray-B_J-CC8-.js.map +0 -1
- package/dist/toConsumableArray-CQcqnqnw.js +0 -20
- package/dist/toConsumableArray-CQcqnqnw.js.map +0 -1
- package/dist/typeof-C6-BY_SI.js +0 -12
- package/dist/typeof-C6-BY_SI.js.map +0 -1
- package/dist/unsupportedIterableToArray-wRn9bJ2J.js +0 -21
- package/dist/unsupportedIterableToArray-wRn9bJ2J.js.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"objectWithoutProperties-DQlolGrE.js","sources":["../../node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js","../../node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js"],"sourcesContent":["function _objectWithoutPropertiesLoose(r, e) {\n if (null == r) return {};\n var t = {};\n for (var n in r) if ({}.hasOwnProperty.call(r, n)) {\n if (e.includes(n)) continue;\n t[n] = r[n];\n }\n return t;\n}\nexport { _objectWithoutPropertiesLoose as default };","import objectWithoutPropertiesLoose from \"./objectWithoutPropertiesLoose.js\";\nfunction _objectWithoutProperties(e, t) {\n if (null == e) return {};\n var o,\n r,\n i = objectWithoutPropertiesLoose(e, t);\n if (Object.getOwnPropertySymbols) {\n var s = Object.getOwnPropertySymbols(e);\n for (r = 0; r < s.length; r++) o = s[r], t.includes(o) || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]);\n }\n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;","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-Cm9b1C1w.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');
|
|
@@ -9,6 +9,7 @@ var reactToastify = require('react-toastify');
|
|
|
9
9
|
var reactUtils_HoneybadgerErrorBoundary_HoneybadgerErrorBoundary = require('../HoneybadgerErrorBoundary/HoneybadgerErrorBoundary.js');
|
|
10
10
|
var reactUtils_QueryClientProvider_QueryClientProvider = require('../QueryClientProvider/QueryClientProvider.js');
|
|
11
11
|
var jsxRuntime = require('react/jsx-runtime');
|
|
12
|
+
require('../../typeof-D4ZZ_FlZ.js');
|
|
12
13
|
require('@honeybadger-io/react');
|
|
13
14
|
require('../HoneybadgerErrorBoundary/constants.js');
|
|
14
15
|
require('../HoneybadgerErrorBoundary/FallbackComponent.js');
|
|
@@ -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,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BAA6B;IAC7BC,uBAAuB,GAAAN,IAAA,CAAvBM,uBAAuB;IACvBC,mBAAmB,GAAAP,IAAA,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,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var reactUtils_AppContainer_AppContainer = require('./AppContainer.js');
|
|
4
|
-
require('../../defineProperty-
|
|
4
|
+
require('../../defineProperty-Cm9b1C1w.js');
|
|
5
|
+
require('../../typeof-D4ZZ_FlZ.js');
|
|
5
6
|
require('@tanstack/react-query-devtools');
|
|
6
7
|
require('@bigbinary/neeto-molecules/BrowserSupport');
|
|
7
8
|
require('@bigbinary/neeto-molecules/StickyRibbonsContainer');
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var reactUtils_BrowserPushNotifications_pushHelper = require('./pushHelper.js');
|
|
4
|
-
require('../../index-
|
|
4
|
+
require('../../index-DDd00LFf.js');
|
|
5
5
|
require('../../_commonjsHelpers-CFO10eej.js');
|
|
6
6
|
require('./devices.js');
|
|
7
7
|
require('axios');
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('../../index-
|
|
3
|
+
var index = require('../../index-DDd00LFf.js');
|
|
4
4
|
var reactUtils_BrowserPushNotifications_devices = require('./devices.js');
|
|
5
5
|
var reactUtils_BrowserPushNotifications_registerServiceWorker = require('./registerServiceWorker.js');
|
|
6
6
|
require('../../_commonjsHelpers-CFO10eej.js');
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var defineProperty = require('../../defineProperty-
|
|
3
|
+
var defineProperty = require('../../defineProperty-Cm9b1C1w.js');
|
|
4
4
|
var react = require('react');
|
|
5
5
|
var DOMPurify = require('dompurify');
|
|
6
6
|
var Button = require('@bigbinary/neetoui/Button');
|
|
@@ -8,6 +8,7 @@ var Typography = require('@bigbinary/neetoui/Typography');
|
|
|
8
8
|
var ramda = require('ramda');
|
|
9
9
|
var reactI18next = require('react-i18next');
|
|
10
10
|
var jsxRuntime = require('react/jsx-runtime');
|
|
11
|
+
require('../../typeof-D4ZZ_FlZ.js');
|
|
11
12
|
|
|
12
13
|
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; }
|
|
13
14
|
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; }
|
|
@@ -87,9 +88,9 @@ var FallbackComponent = function FallbackComponent() {
|
|
|
87
88
|
contactus: /*#__PURE__*/jsxRuntime.jsx(Button, {
|
|
88
89
|
style: "link",
|
|
89
90
|
onClick: function onClick() {
|
|
90
|
-
var _window$NeetoChat, _window$
|
|
91
|
-
(_window$NeetoChat = window.NeetoChat) === null || _window$NeetoChat === void 0
|
|
92
|
-
(_window$NeetoChat2 = window.NeetoChat) === null || _window$NeetoChat2 === void 0
|
|
91
|
+
var _window$NeetoChat, _window$NeetoChat2;
|
|
92
|
+
(_window$NeetoChat = window.NeetoChat) === null || _window$NeetoChat === void 0 || (_window$NeetoChat = _window$NeetoChat.contextualHelp) === null || _window$NeetoChat === void 0 || _window$NeetoChat.maximizeWidget();
|
|
93
|
+
(_window$NeetoChat2 = window.NeetoChat) === null || _window$NeetoChat2 === void 0 || (_window$NeetoChat2 = _window$NeetoChat2.contextualHelp) === null || _window$NeetoChat2 === void 0 || _window$NeetoChat2.openWidget();
|
|
93
94
|
}
|
|
94
95
|
})
|
|
95
96
|
}
|
|
@@ -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 DOMPurify from \"dompurify\";\nimport { Button, Typography } from \"neetoui\";\nimport { isNil } from \"ramda\";\nimport { Trans, useTranslation } from \"react-i18next\";\n\nconst sanitize = DOMPurify.sanitize;\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","sanitize","DOMPurify","FallbackComponent","_useTranslation","useTranslation","t","useEffect","listener","e","_e$target","isNil","state","window","location","href","target","addEventListener","removeEventListener","className","Typography","component","style","weight","Trans","i18nKey","components","reloading","Button","onClick","reload","contactus","_window$NeetoChat","_window$
|
|
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 DOMPurify from \"dompurify\";\nimport { Button, Typography } from \"neetoui\";\nimport { isNil } from \"ramda\";\nimport { Trans, useTranslation } from \"react-i18next\";\n\nconst sanitize = DOMPurify.sanitize;\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","sanitize","DOMPurify","FallbackComponent","_useTranslation","useTranslation","t","useEffect","listener","e","_e$target","isNil","state","window","location","href","target","addEventListener","removeEventListener","className","Typography","component","style","weight","Trans","i18nKey","components","reloading","Button","onClick","reload","contactus","_window$NeetoChat","_window$NeetoChat2","NeetoChat","contextualHelp","maximizeWidget","openWidget"],"mappings":";;;;;;;;;;;;;;AAAkC,IAE3BA,sBAAsB,GAAA,SAAtBA,sBAAsBA,CAAAC,KA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ent = 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-Cm9b1C1w.js');
|
|
9
|
+
require('../../typeof-D4ZZ_FlZ.js');
|
|
9
10
|
require('react');
|
|
10
11
|
require('dompurify');
|
|
11
12
|
require('@bigbinary/neetoui/Button');
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HoneybadgerErrorBoundary.js","sources":["../../../../src/react-utils/HoneybadgerErrorBoundary/HoneybadgerErrorBoundary.jsx"],"sourcesContent":["import {\n Honeybadger,\n HoneybadgerErrorBoundary as ErrorBoundary,\n} from \"@honeybadger-io/react\";\n\nimport {\n IGNORABLE_ERROR_NAMES_REGEX,\n IGNORABLE_ERRORS_REGEX,\n} from \"./constants\";\nimport FallbackComponent from \"./FallbackComponent\";\nimport { attachContext, getSessionReplayUrl } from \"./utils\";\n\n/** @type {import(\"neetocommons/react-utils\").HoneybadgerErrorBoundary} */\nconst HoneybadgerErrorBoundary = ({\n children,\n ErrorComponent = FallbackComponent,\n filterErrors = undefined,\n}) => {\n Honeybadger.beforeNotify(notice => {\n if (!notice) return false;\n\n const isIgnorable =\n IGNORABLE_ERRORS_REGEX.test(notice.message) ||\n IGNORABLE_ERROR_NAMES_REGEX.test(notice.name) ||\n notice.stack.includes(\"chrome-extension://\") ||\n filterErrors?.(notice) === false;\n\n if (isIgnorable) return false;\n\n const context = { errorClass: notice.name };\n\n if (notice.name === \"ChunkLoadError\") {\n context.IGNORABLE_ERROR_NAMES_REGEX = IGNORABLE_ERROR_NAMES_REGEX;\n context.isChunkLoadError = IGNORABLE_ERROR_NAMES_REGEX.test(notice.name);\n }\n\n const user = globalProps.user?.email;\n if (user) context.user = user;\n\n const sessionReplay = getSessionReplayUrl();\n if (sessionReplay) context.sessionReplay = sessionReplay;\n\n attachContext(notice, context);\n\n return true;\n });\n\n const honeybadger = Honeybadger.configure({\n apiKey: globalProps.honeybadgerApiKey,\n environment: globalProps.railsEnv,\n revision: globalProps.honeybadgerRevision,\n developmentEnvironments: [\"development\", \"test\"],\n enableUncaught: true,\n async: true,\n breadcrumbsEnabled: true,\n projectRoot: \"webpack:///./\",\n enableUnhandledRejection: false,\n });\n\n return (\n <ErrorBoundary {...{ ErrorComponent, honeybadger }}>\n {children}\n </ErrorBoundary>\n );\n};\n\nexport default HoneybadgerErrorBoundary;\n"],"names":["HoneybadgerErrorBoundary","_ref","children","_ref$ErrorComponent","ErrorComponent","FallbackComponent","_ref$filterErrors","filterErrors","undefined","Honeybadger","beforeNotify","notice","_globalProps$user","isIgnorable","IGNORABLE_ERRORS_REGEX","test","message","IGNORABLE_ERROR_NAMES_REGEX","name","stack","includes","context","errorClass","isChunkLoadError","user","globalProps","email","sessionReplay","getSessionReplayUrl","attachContext","honeybadger","configure","apiKey","honeybadgerApiKey","environment","railsEnv","revision","honeybadgerRevision","developmentEnvironments","enableUncaught","async","breadcrumbsEnabled","projectRoot","enableUnhandledRejection","_jsx","ErrorBoundary"],"mappings":"
|
|
1
|
+
{"version":3,"file":"HoneybadgerErrorBoundary.js","sources":["../../../../src/react-utils/HoneybadgerErrorBoundary/HoneybadgerErrorBoundary.jsx"],"sourcesContent":["import {\n Honeybadger,\n HoneybadgerErrorBoundary as ErrorBoundary,\n} from \"@honeybadger-io/react\";\n\nimport {\n IGNORABLE_ERROR_NAMES_REGEX,\n IGNORABLE_ERRORS_REGEX,\n} from \"./constants\";\nimport FallbackComponent from \"./FallbackComponent\";\nimport { attachContext, getSessionReplayUrl } from \"./utils\";\n\n/** @type {import(\"neetocommons/react-utils\").HoneybadgerErrorBoundary} */\nconst HoneybadgerErrorBoundary = ({\n children,\n ErrorComponent = FallbackComponent,\n filterErrors = undefined,\n}) => {\n Honeybadger.beforeNotify(notice => {\n if (!notice) return false;\n\n const isIgnorable =\n IGNORABLE_ERRORS_REGEX.test(notice.message) ||\n IGNORABLE_ERROR_NAMES_REGEX.test(notice.name) ||\n notice.stack.includes(\"chrome-extension://\") ||\n filterErrors?.(notice) === false;\n\n if (isIgnorable) return false;\n\n const context = { errorClass: notice.name };\n\n if (notice.name === \"ChunkLoadError\") {\n context.IGNORABLE_ERROR_NAMES_REGEX = IGNORABLE_ERROR_NAMES_REGEX;\n context.isChunkLoadError = IGNORABLE_ERROR_NAMES_REGEX.test(notice.name);\n }\n\n const user = globalProps.user?.email;\n if (user) context.user = user;\n\n const sessionReplay = getSessionReplayUrl();\n if (sessionReplay) context.sessionReplay = sessionReplay;\n\n attachContext(notice, context);\n\n return true;\n });\n\n const honeybadger = Honeybadger.configure({\n apiKey: globalProps.honeybadgerApiKey,\n environment: globalProps.railsEnv,\n revision: globalProps.honeybadgerRevision,\n developmentEnvironments: [\"development\", \"test\"],\n enableUncaught: true,\n async: true,\n breadcrumbsEnabled: true,\n projectRoot: \"webpack:///./\",\n enableUnhandledRejection: false,\n });\n\n return (\n <ErrorBoundary {...{ ErrorComponent, honeybadger }}>\n {children}\n </ErrorBoundary>\n );\n};\n\nexport default HoneybadgerErrorBoundary;\n"],"names":["HoneybadgerErrorBoundary","_ref","children","_ref$ErrorComponent","ErrorComponent","FallbackComponent","_ref$filterErrors","filterErrors","undefined","Honeybadger","beforeNotify","notice","_globalProps$user","isIgnorable","IGNORABLE_ERRORS_REGEX","test","message","IGNORABLE_ERROR_NAMES_REGEX","name","stack","includes","context","errorClass","isChunkLoadError","user","globalProps","email","sessionReplay","getSessionReplayUrl","attachContext","honeybadger","configure","apiKey","honeybadgerApiKey","environment","railsEnv","revision","honeybadgerRevision","developmentEnvironments","enableUncaught","async","breadcrumbsEnabled","projectRoot","enableUnhandledRejection","_jsx","ErrorBoundary"],"mappings":";;;;;;;;;;;;;;;;AAaA,IAAMA,wBAAwB,GAAG,SAA3BA,wBAAwBA,CAAAC,IAAA,EAIxB;AAAA,EAAA,IAHJC,QAAQ,GAAAD,IAAA,CA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CAAA,GAAhBA,iBAAA,CAAkBc,KAAK,CAAA;AACpC,IAAA,IAAIF,IAAI,EAAEH,OAAO,CAACG,IAAI,GAAGA,IAAI,CAAA;AAE7B,IAAA,IAAMG,aAAa,GAAGC,6DAAmB,EAAE,CAAA;AAC3C,IAAA,IAAID,aAAa,EAAEN,OAAO,CAACM,aAAa,GAAGA,aAAa,CAAA;AAExDE,IAAAA,uDAAa,CAAClB,MAAM,EAAEU,OAAO,CAAC,CAAA;AAE9B,IAAA,OAAO,IAAI,CAAA;AACb,GAAC,CAAC,CAAA;AAEF,EAAA,IAAMS,WAAW,GAAGrB,iBAAW,CAACsB,SAAS,CAAC;IACxCC,MAAM,EAAEP,WAAW,CAACQ,iBAAiB;IACrCC,WAAW,EAAET,WAAW,CAACU,QAAQ;IACjCC,QAAQ,EAAEX,WAAW,CAACY,mBAAmB;AACzCC,IAAAA,uBAAuB,EAAE,CAAC,aAAa,EAAE,MAAM,CAAC;AAChDC,IAAAA,cAAc,EAAE,IAAI;AACpBC,IAAAA,KAAK,EAAE,IAAI;AACXC,IAAAA,kBAAkB,EAAE,IAAI;AACxBC,IAAAA,WAAW,EAAE,eAAe;AAC5BC,IAAAA,wBAAwB,EAAE,KAAA;AAC5B,GAAC,CAAC,CAAA;EAEF,oBACEC,cAAA,CAACC,8BAAa,EAAA;AAAOzC,IAAAA,cAAc,EAAdA,cAAc;AAAE0B,IAAAA,WAAW,EAAXA,WAAW;AAAA5B,IAAAA,QAAA,EAC7CA,QAAAA;AAAQ,GACI,CAAC,CAAA;AAEpB;;;;"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var IGNORABLE_ERRORS_REGEX = new RegExp(["window.requestAnimationFrame", "ResizeObserver", "ChunkLoadError", "window.webkit.messageHandlers", "Request aborted", "Network Error", "Cannot redefine property: googletag", "Failed to execute 'removeChild' on 'Node'", "Failed to execute 'insertBefore' on 'Node'", "Can't find variable: disableWebkitEnterFullscreen", "rendererInterfaces is null", "Can't find variable: gmo"].join("|"));
|
|
3
|
+
var IGNORABLE_ERRORS_REGEX = new RegExp(["window.requestAnimationFrame", "ResizeObserver", "ChunkLoadError", "window.webkit.messageHandlers", "Request aborted", "Network Error", "Cannot redefine property: googletag", "Failed to execute 'removeChild' on 'Node'", "Failed to execute 'insertBefore' on 'Node'", "Can't find variable: disableWebkitEnterFullscreen", "rendererInterfaces is null", "Can't find variable: gmo", "Uncaught NetworkError: Failed to execute 'importScripts' on 'WorkerGlobalScope': The script at 'blob:.*' failed to load."].join("|"));
|
|
4
4
|
var IGNORABLE_ERROR_NAMES_REGEX = /(ChunkLoadError)/;
|
|
5
5
|
|
|
6
6
|
exports.IGNORABLE_ERRORS_REGEX = IGNORABLE_ERRORS_REGEX;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.js","sources":["../../../../src/react-utils/HoneybadgerErrorBoundary/constants.js"],"sourcesContent":["export const IGNORABLE_ERRORS_REGEX = new RegExp(\n [\n \"window.requestAnimationFrame\",\n \"ResizeObserver\",\n \"ChunkLoadError\",\n \"window.webkit.messageHandlers\",\n \"Request aborted\",\n \"Network Error\",\n \"Cannot redefine property: googletag\",\n \"Failed to execute 'removeChild' on 'Node'\",\n \"Failed to execute 'insertBefore' on 'Node'\",\n \"Can't find variable: disableWebkitEnterFullscreen\",\n \"rendererInterfaces is null\",\n \"Can't find variable: gmo\",\n ].join(\"|\")\n);\nexport const IGNORABLE_ERROR_NAMES_REGEX = /(ChunkLoadError)/;\n"],"names":["IGNORABLE_ERRORS_REGEX","RegExp","join","IGNORABLE_ERROR_NAMES_REGEX"],"mappings":";;IAAaA,sBAAsB,GAAG,IAAIC,MAAM,CAC9C,CACE,8BAA8B,EAC9B,gBAAgB,EAChB,gBAAgB,EAChB,+BAA+B,EAC/B,iBAAiB,EACjB,eAAe,EACf,qCAAqC,EACrC,2CAA2C,EAC3C,4CAA4C,EAC5C,mDAAmD,EACnD,4BAA4B,EAC5B,0BAA0B,
|
|
1
|
+
{"version":3,"file":"constants.js","sources":["../../../../src/react-utils/HoneybadgerErrorBoundary/constants.js"],"sourcesContent":["export const IGNORABLE_ERRORS_REGEX = new RegExp(\n [\n \"window.requestAnimationFrame\",\n \"ResizeObserver\",\n \"ChunkLoadError\",\n \"window.webkit.messageHandlers\",\n \"Request aborted\",\n \"Network Error\",\n \"Cannot redefine property: googletag\",\n \"Failed to execute 'removeChild' on 'Node'\",\n \"Failed to execute 'insertBefore' on 'Node'\",\n \"Can't find variable: disableWebkitEnterFullscreen\",\n \"rendererInterfaces is null\",\n \"Can't find variable: gmo\",\n \"Uncaught NetworkError: Failed to execute 'importScripts' on 'WorkerGlobalScope': The script at 'blob:.*' failed to load.\",\n ].join(\"|\")\n);\nexport const IGNORABLE_ERROR_NAMES_REGEX = /(ChunkLoadError)/;\n"],"names":["IGNORABLE_ERRORS_REGEX","RegExp","join","IGNORABLE_ERROR_NAMES_REGEX"],"mappings":";;IAAaA,sBAAsB,GAAG,IAAIC,MAAM,CAC9C,CACE,8BAA8B,EAC9B,gBAAgB,EAChB,gBAAgB,EAChB,+BAA+B,EAC/B,iBAAiB,EACjB,eAAe,EACf,qCAAqC,EACrC,2CAA2C,EAC3C,4CAA4C,EAC5C,mDAAmD,EACnD,4BAA4B,EAC5B,0BAA0B,EAC1B,0HAA0H,CAC3H,CAACC,IAAI,CAAC,GAAG,CACZ,EAAC;AACM,IAAMC,2BAA2B,GAAG;;;;;"}
|
|
@@ -4,7 +4,8 @@ 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-Cm9b1C1w.js');
|
|
8
|
+
require('../../typeof-D4ZZ_FlZ.js');
|
|
8
9
|
require('react');
|
|
9
10
|
require('dompurify');
|
|
10
11
|
require('@bigbinary/neetoui/Button');
|
|
@@ -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,12 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var defineProperty = require('../../defineProperty-
|
|
4
|
-
var objectWithoutProperties = require('../../objectWithoutProperties-
|
|
3
|
+
var defineProperty = require('../../defineProperty-Cm9b1C1w.js');
|
|
4
|
+
var objectWithoutProperties = require('../../objectWithoutProperties-DQlolGrE.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
|
+
require('../../typeof-D4ZZ_FlZ.js');
|
|
9
10
|
|
|
10
11
|
var _excluded = ["condition", "redirectRoute", "errorPage", "permissions"];
|
|
11
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; }
|
|
@@ -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;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
|
3
3
|
var reactUtils_PrivateRoute_PrivateRoute = require('./PrivateRoute.js');
|
|
4
|
-
require('../../defineProperty-
|
|
5
|
-
require('../../
|
|
4
|
+
require('../../defineProperty-Cm9b1C1w.js');
|
|
5
|
+
require('../../typeof-D4ZZ_FlZ.js');
|
|
6
|
+
require('../../objectWithoutProperties-DQlolGrE.js');
|
|
6
7
|
require('@bigbinary/neeto-molecules/ErrorPage');
|
|
7
8
|
require('ramda');
|
|
8
9
|
require('react-router-dom');
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;"}
|
|
@@ -33,7 +33,8 @@ var reactUtils_AppContainer_AppContainer = require('./AppContainer/AppContainer.
|
|
|
33
33
|
require('@honeybadger-io/react');
|
|
34
34
|
require('./HoneybadgerErrorBoundary/constants.js');
|
|
35
35
|
require('./HoneybadgerErrorBoundary/FallbackComponent.js');
|
|
36
|
-
require('../defineProperty-
|
|
36
|
+
require('../defineProperty-Cm9b1C1w.js');
|
|
37
|
+
require('../typeof-D4ZZ_FlZ.js');
|
|
37
38
|
require('react');
|
|
38
39
|
require('dompurify');
|
|
39
40
|
require('@bigbinary/neetoui/Button');
|
|
@@ -42,13 +43,13 @@ require('ramda');
|
|
|
42
43
|
require('react-i18next');
|
|
43
44
|
require('react/jsx-runtime');
|
|
44
45
|
require('./HoneybadgerErrorBoundary/utils.js');
|
|
45
|
-
require('../objectWithoutProperties-
|
|
46
|
+
require('../objectWithoutProperties-DQlolGrE.js');
|
|
46
47
|
require('@bigbinary/neeto-molecules/ErrorPage');
|
|
47
48
|
require('react-router-dom');
|
|
48
49
|
require('@bigbinary/neeto-commons-frontend/initializers');
|
|
49
50
|
require('react-helmet');
|
|
50
|
-
require('../slicedToArray-
|
|
51
|
-
require('../unsupportedIterableToArray-
|
|
51
|
+
require('../slicedToArray-Cbh2WzDH.js');
|
|
52
|
+
require('../unsupportedIterableToArray-BoHMiKNA.js');
|
|
52
53
|
require('zustand');
|
|
53
54
|
require('@bigbinary/neeto-cist');
|
|
54
55
|
require('./useFetchNeetoApps/apis/neeto_apps.js');
|
|
@@ -59,13 +60,13 @@ require('./useIsElementVisibleInDom/useForceUpdate.js');
|
|
|
59
60
|
require('zustand/shallow');
|
|
60
61
|
require('../initializers/constants.js');
|
|
61
62
|
require('../utils/general.js');
|
|
62
|
-
require('../index-
|
|
63
|
+
require('../index-DDd00LFf.js');
|
|
63
64
|
require('../_commonjsHelpers-CFO10eej.js');
|
|
64
65
|
require('i18next');
|
|
65
66
|
require('@bigbinary/neetoui/Toastr');
|
|
66
67
|
require('qs');
|
|
67
68
|
require('../utils/dayjs.js');
|
|
68
|
-
require('../toConsumableArray-
|
|
69
|
+
require('../toConsumableArray-tBKHqzE3.js');
|
|
69
70
|
require('dayjs');
|
|
70
71
|
require('../utils/createSubscription.js');
|
|
71
72
|
require('@rails/actioncable');
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -3,7 +3,8 @@
|
|
|
3
3
|
var react = require('react');
|
|
4
4
|
var ramda = require('ramda');
|
|
5
5
|
var reactUtils_useBreakpoints_utils = require('./utils.js');
|
|
6
|
-
require('../../defineProperty-
|
|
6
|
+
require('../../defineProperty-Cm9b1C1w.js');
|
|
7
|
+
require('../../typeof-D4ZZ_FlZ.js');
|
|
7
8
|
|
|
8
9
|
var useBreakpoints = function useBreakpoints(breakpointOverrides) {
|
|
9
10
|
var getSnapshot = function getSnapshot() {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../../src/react-utils/useBreakpoints/index.js"],"sourcesContent":["import { useSyncExternalStore } from \"react\";\n\nimport { equals } from \"ramda\";\n\nimport { getCurrentSize, subscribe } from \"./utils\";\n\nconst useBreakpoints = breakpointOverrides => {\n const getSnapshot = () => getCurrentSize(window, breakpointOverrides);\n const currentSize = useSyncExternalStore(subscribe, getSnapshot);\n\n return { currentSize, isSize: equals(currentSize) };\n};\n\nexport default useBreakpoints;\n"],"names":["useBreakpoints","breakpointOverrides","getSnapshot","getCurrentSize","window","currentSize","useSyncExternalStore","subscribe","isSize","equals"],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../src/react-utils/useBreakpoints/index.js"],"sourcesContent":["import { useSyncExternalStore } from \"react\";\n\nimport { equals } from \"ramda\";\n\nimport { getCurrentSize, subscribe } from \"./utils\";\n\nconst useBreakpoints = breakpointOverrides => {\n const getSnapshot = () => getCurrentSize(window, breakpointOverrides);\n const currentSize = useSyncExternalStore(subscribe, getSnapshot);\n\n return { currentSize, isSize: equals(currentSize) };\n};\n\nexport default useBreakpoints;\n"],"names":["useBreakpoints","breakpointOverrides","getSnapshot","getCurrentSize","window","currentSize","useSyncExternalStore","subscribe","isSize","equals"],"mappings":";;;;;;;;AAMA,IAAMA,cAAc,GAAG,SAAjBA,cAAcA,CAAGC,mBAAmB,EAAI;AAC5C,EAAA,IAAMC,WAAW,GAAG,SAAdA,WAAWA,GAAA;AAAA,IAAA,OAASC,8CAAc,CAACC,MAAM,EAAEH,mBAAmB,CAAC,CAAA;AAAA,GAAA,CAAA;AACrE,EAAA,IAAMI,WAAW,GAAGC,0BAAoB,CAACC,yCAAS,EAAEL,WAAW,CAAC,CAAA;EAEhE,OAAO;AAAEG,IAAAA,WAAW,EAAXA,WAAW;IAAEG,MAAM,EAAEC,YAAM,CAACJ,WAAW,CAAA;GAAG,CAAA;AACrD;;;;"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var defineProperty = require('../../defineProperty-
|
|
3
|
+
var defineProperty = require('../../defineProperty-Cm9b1C1w.js');
|
|
4
|
+
require('../../typeof-D4ZZ_FlZ.js');
|
|
4
5
|
|
|
5
6
|
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; }
|
|
6
7
|
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; }
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.js","sources":["../../../../src/react-utils/useBreakpoints/utils.js"],"sourcesContent":["export const subscribe = listener => {\n window.addEventListener(\"resize\", listener);\n\n return () => window.removeEventListener(\"resize\", listener);\n};\n\nexport const getCurrentSize = (window, breakpointOverrides) => {\n const { innerWidth } = window;\n const sizes = {\n mobile: innerWidth < 768,\n tablet: innerWidth >= 768 && innerWidth < 1024,\n desktop: innerWidth >= 1024 && innerWidth < 1280,\n largeDesktop: innerWidth >= 1280,\n ...breakpointOverrides?.(window),\n };\n\n const size = Object.keys(sizes).find(breakpoint => sizes[breakpoint]) || \"\";\n\n return size;\n};\n"],"names":["subscribe","listener","window","addEventListener","removeEventListener","getCurrentSize","breakpointOverrides","innerWidth","sizes","_objectSpread","mobile","tablet","desktop","largeDesktop","size","Object","keys","find","breakpoint"],"mappings":"
|
|
1
|
+
{"version":3,"file":"utils.js","sources":["../../../../src/react-utils/useBreakpoints/utils.js"],"sourcesContent":["export const subscribe = listener => {\n window.addEventListener(\"resize\", listener);\n\n return () => window.removeEventListener(\"resize\", listener);\n};\n\nexport const getCurrentSize = (window, breakpointOverrides) => {\n const { innerWidth } = window;\n const sizes = {\n mobile: innerWidth < 768,\n tablet: innerWidth >= 768 && innerWidth < 1024,\n desktop: innerWidth >= 1024 && innerWidth < 1280,\n largeDesktop: innerWidth >= 1280,\n ...breakpointOverrides?.(window),\n };\n\n const size = Object.keys(sizes).find(breakpoint => sizes[breakpoint]) || \"\";\n\n return size;\n};\n"],"names":["subscribe","listener","window","addEventListener","removeEventListener","getCurrentSize","breakpointOverrides","innerWidth","sizes","_objectSpread","mobile","tablet","desktop","largeDesktop","size","Object","keys","find","breakpoint"],"mappings":";;;;;;;IAAaA,SAAS,GAAG,SAAZA,SAASA,CAAGC,QAAQ,EAAI;AACnCC,EAAAA,MAAM,CAACC,gBAAgB,CAAC,QAAQ,EAAEF,QAAQ,CAAC,CAAA;EAE3C,OAAO,YAAA;AAAA,IAAA,OAAMC,MAAM,CAACE,mBAAmB,CAAC,QAAQ,EAAEH,QAAQ,CAAC,CAAA;AAAA,GAAA,CAAA;AAC7D,EAAC;AAEM,IAAMI,cAAc,GAAG,SAAjBA,cAAcA,CAAIH,MAAM,EAAEI,mBAAmB,EAAK;AAC7D,EAAA,IAAQC,UAAU,GAAKL,MAAM,CAArBK,UAAU,CAAA;EAClB,IAAMC,KAAK,GAAAC,aAAA,CAAA;IACTC,MAAM,EAAEH,UAAU,GAAG,GAAG;AACxBI,IAAAA,MAAM,EAAEJ,UAAU,IAAI,GAAG,IAAIA,UAAU,GAAG,IAAI;AAC9CK,IAAAA,OAAO,EAAEL,UAAU,IAAI,IAAI,IAAIA,UAAU,GAAG,IAAI;IAChDM,YAAY,EAAEN,UAAU,IAAI,IAAA;GACzBD,EAAAA,mBAAmB,aAAnBA,mBAAmB,KAAA,KAAA,CAAA,GAAA,KAAA,CAAA,GAAnBA,mBAAmB,CAAGJ,MAAM,CAAC,CACjC,CAAA;AAED,EAAA,IAAMY,IAAI,GAAGC,MAAM,CAACC,IAAI,CAACR,KAAK,CAAC,CAACS,IAAI,CAAC,UAAAC,UAAU,EAAA;IAAA,OAAIV,KAAK,CAACU,UAAU,CAAC,CAAA;AAAA,GAAA,CAAC,IAAI,EAAE,CAAA;AAE3E,EAAA,OAAOJ,IAAI,CAAA;AACb;;;;;"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var reactUtils_useDebounce_useDebounce = require('./useDebounce.js');
|
|
4
|
-
require('../../slicedToArray-
|
|
5
|
-
require('../../unsupportedIterableToArray-
|
|
4
|
+
require('../../slicedToArray-Cbh2WzDH.js');
|
|
5
|
+
require('../../unsupportedIterableToArray-BoHMiKNA.js');
|
|
6
6
|
require('react');
|
|
7
7
|
|
|
8
8
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var slicedToArray = require('../../slicedToArray-
|
|
3
|
+
var slicedToArray = require('../../slicedToArray-Cbh2WzDH.js');
|
|
4
4
|
var react = require('react');
|
|
5
|
-
require('../../unsupportedIterableToArray-
|
|
5
|
+
require('../../unsupportedIterableToArray-BoHMiKNA.js');
|
|
6
6
|
|
|
7
7
|
var useDebounce = function useDebounce(value) {
|
|
8
8
|
var delay = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 350;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var reactUtils_useFetchNeetoApps_useFetchNeetoApps = require('./useFetchNeetoApps.js');
|
|
4
|
-
require('../../defineProperty-
|
|
4
|
+
require('../../defineProperty-Cm9b1C1w.js');
|
|
5
|
+
require('../../typeof-D4ZZ_FlZ.js');
|
|
5
6
|
require('@bigbinary/neeto-cist');
|
|
6
7
|
require('../usePersistedQuery/usePersistedQuery.js');
|
|
7
8
|
require('react');
|
|
@@ -9,10 +10,10 @@ require('@tanstack/react-query');
|
|
|
9
10
|
require('ramda');
|
|
10
11
|
require('../constants/constants.js');
|
|
11
12
|
require('../../utils/general.js');
|
|
12
|
-
require('../../objectWithoutProperties-
|
|
13
|
-
require('../../slicedToArray-
|
|
14
|
-
require('../../unsupportedIterableToArray-
|
|
15
|
-
require('../../index-
|
|
13
|
+
require('../../objectWithoutProperties-DQlolGrE.js');
|
|
14
|
+
require('../../slicedToArray-Cbh2WzDH.js');
|
|
15
|
+
require('../../unsupportedIterableToArray-BoHMiKNA.js');
|
|
16
|
+
require('../../index-DDd00LFf.js');
|
|
16
17
|
require('../../_commonjsHelpers-CFO10eej.js');
|
|
17
18
|
require('i18next');
|
|
18
19
|
require('@bigbinary/neetoui/Toastr');
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,19 +1,20 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var defineProperty = require('../../defineProperty-
|
|
3
|
+
var defineProperty = require('../../defineProperty-Cm9b1C1w.js');
|
|
4
4
|
var neetoCist = require('@bigbinary/neeto-cist');
|
|
5
5
|
var reactUtils_usePersistedQuery_usePersistedQuery = require('../usePersistedQuery/usePersistedQuery.js');
|
|
6
6
|
var reactUtils_useFetchNeetoApps_apis_neeto_apps = require('./apis/neeto_apps.js');
|
|
7
7
|
var reactUtils_constants_constants = require('../constants/constants.js');
|
|
8
8
|
var reactUtils_constants_query = require('../constants/query.js');
|
|
9
|
+
require('../../typeof-D4ZZ_FlZ.js');
|
|
9
10
|
require('react');
|
|
10
11
|
require('@tanstack/react-query');
|
|
11
12
|
require('ramda');
|
|
12
13
|
require('../../utils/general.js');
|
|
13
|
-
require('../../objectWithoutProperties-
|
|
14
|
-
require('../../slicedToArray-
|
|
15
|
-
require('../../unsupportedIterableToArray-
|
|
16
|
-
require('../../index-
|
|
14
|
+
require('../../objectWithoutProperties-DQlolGrE.js');
|
|
15
|
+
require('../../slicedToArray-Cbh2WzDH.js');
|
|
16
|
+
require('../../unsupportedIterableToArray-BoHMiKNA.js');
|
|
17
|
+
require('../../index-DDd00LFf.js');
|
|
17
18
|
require('../../_commonjsHelpers-CFO10eej.js');
|
|
18
19
|
require('i18next');
|
|
19
20
|
require('@bigbinary/neetoui/Toastr');
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useFetchNeetoApps.js","sources":["../../../../src/react-utils/useFetchNeetoApps/useFetchNeetoApps.js"],"sourcesContent":["import { isNotPresent } from \"neetocist\";\nimport usePersistedQuery from \"react-utils/usePersistedQuery\";\n\nimport neetoAppsApi from \"./apis/neeto_apps\";\n\nimport { NEETO_APPS_LIST_STALE_TIME } from \"../constants\";\nimport { QUERY_KEYS } from \"../constants/query\";\n\nconst useFetchNeetoApps = options => {\n const scopedQueryKey = [\n `${QUERY_KEYS.NEETO_APPS_LIST}-${globalProps.user?.id}`,\n ];\n\n const { data, modifiedAt } = usePersistedQuery.getCache(scopedQueryKey) || {};\n const expired = modifiedAt <= Date.now() - NEETO_APPS_LIST_STALE_TIME;\n\n return usePersistedQuery(scopedQueryKey, neetoAppsApi.fetch, {\n staleTime: NEETO_APPS_LIST_STALE_TIME,\n enabled: expired || isNotPresent(data),\n ...options,\n });\n};\n\nexport default useFetchNeetoApps;\n"],"names":["useFetchNeetoApps","options","_globalProps$user","scopedQueryKey","concat","QUERY_KEYS","NEETO_APPS_LIST","globalProps","user","id","_ref","usePersistedQuery","getCache","data","modifiedAt","expired","Date","now","NEETO_APPS_LIST_STALE_TIME","neetoAppsApi","fetch","_objectSpread","staleTime","enabled","isNotPresent"],"mappings":"
|
|
1
|
+
{"version":3,"file":"useFetchNeetoApps.js","sources":["../../../../src/react-utils/useFetchNeetoApps/useFetchNeetoApps.js"],"sourcesContent":["import { isNotPresent } from \"neetocist\";\nimport usePersistedQuery from \"react-utils/usePersistedQuery\";\n\nimport neetoAppsApi from \"./apis/neeto_apps\";\n\nimport { NEETO_APPS_LIST_STALE_TIME } from \"../constants\";\nimport { QUERY_KEYS } from \"../constants/query\";\n\nconst useFetchNeetoApps = options => {\n const scopedQueryKey = [\n `${QUERY_KEYS.NEETO_APPS_LIST}-${globalProps.user?.id}`,\n ];\n\n const { data, modifiedAt } = usePersistedQuery.getCache(scopedQueryKey) || {};\n const expired = modifiedAt <= Date.now() - NEETO_APPS_LIST_STALE_TIME;\n\n return usePersistedQuery(scopedQueryKey, neetoAppsApi.fetch, {\n staleTime: NEETO_APPS_LIST_STALE_TIME,\n enabled: expired || isNotPresent(data),\n ...options,\n });\n};\n\nexport default useFetchNeetoApps;\n"],"names":["useFetchNeetoApps","options","_globalProps$user","scopedQueryKey","concat","QUERY_KEYS","NEETO_APPS_LIST","globalProps","user","id","_ref","usePersistedQuery","getCache","data","modifiedAt","expired","Date","now","NEETO_APPS_LIST_STALE_TIME","neetoAppsApi","fetch","_objectSpread","staleTime","enabled","isNotPresent"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAQA,IAAMA,iBAAiB,GAAG,SAApBA,iBAAiBA,CAAGC,OAAO,EAAI;AAAA,EAAA,IAAAC,iBAAA,CAAA;EACnC,IAAMC,cAAc,GAAG,CAAAC,EAAAA,CAAAA,MAAA,CAClBC,qCAAU,CAACC,eAAe,EAAA,GAAA,CAAA,CAAAF,MAAA,CAAA,CAAAF,iBAAA,GAAIK,WAAW,CAACC,IAAI,MAAA,IAAA,IAAAN,iBAAA,KAAhBA,KAAAA,CAAAA,GAAAA,KAAAA,CAAAA,GAAAA,iBAAA,CAAkBO,EAAE,CACtD,CAAA,CAAA;EAED,IAAAC,IAAA,GAA6BC,8CAAiB,CAACC,QAAQ,CAACT,cAAc,CAAC,IAAI,EAAE;IAArEU,IAAI,GAAAH,IAAA,CAAJG,IAAI;IAAEC,UAAU,GAAAJ,IAAA,CAAVI,UAAU,CAAA;EACxB,IAAMC,OAAO,GAAGD,UAAU,IAAIE,IAAI,CAACC,GAAG,EAAE,GAAGC,yDAA0B,CAAA;EAErE,OAAOP,8CAAiB,CAACR,cAAc,EAAEgB,4CAAY,CAACC,KAAK,EAAAC,aAAA,CAAA;AACzDC,IAAAA,SAAS,EAAEJ,yDAA0B;AACrCK,IAAAA,OAAO,EAAER,OAAO,IAAIS,sBAAY,CAACX,IAAI,CAAA;GAClCZ,EAAAA,OAAO,CACX,CAAC,CAAA;AACJ;;;;"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var reactUtils_useIsElementVisibleInDom_useIsElementVisibleInDom = require('./useIsElementVisibleInDom.js');
|
|
4
|
-
require('../../slicedToArray-
|
|
5
|
-
require('../../unsupportedIterableToArray-
|
|
4
|
+
require('../../slicedToArray-Cbh2WzDH.js');
|
|
5
|
+
require('../../unsupportedIterableToArray-BoHMiKNA.js');
|
|
6
6
|
require('react');
|
|
7
7
|
require('./useForceUpdate.js');
|
|
8
8
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var slicedToArray = require('../../slicedToArray-
|
|
3
|
+
var slicedToArray = require('../../slicedToArray-Cbh2WzDH.js');
|
|
4
4
|
var react = require('react');
|
|
5
|
-
require('../../unsupportedIterableToArray-
|
|
5
|
+
require('../../unsupportedIterableToArray-BoHMiKNA.js');
|
|
6
6
|
|
|
7
7
|
var useForceUpdate = function useForceUpdate() {
|
|
8
8
|
// eslint-disable-next-line react/hook-use-state
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var slicedToArray = require('../../slicedToArray-
|
|
3
|
+
var slicedToArray = require('../../slicedToArray-Cbh2WzDH.js');
|
|
4
4
|
var react = require('react');
|
|
5
5
|
var reactUtils_useIsElementVisibleInDom_useForceUpdate = require('./useForceUpdate.js');
|
|
6
|
-
require('../../unsupportedIterableToArray-
|
|
6
|
+
require('../../unsupportedIterableToArray-BoHMiKNA.js');
|
|
7
7
|
|
|
8
8
|
var useIsElementVisibleInDom = function useIsElementVisibleInDom(target) {
|
|
9
9
|
var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : undefined;
|
|
@@ -1,23 +1,24 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var reactUtils_useLocalStorage_useLocalStorage = require('./useLocalStorage.js');
|
|
4
|
-
require('../../slicedToArray-
|
|
5
|
-
require('../../unsupportedIterableToArray-
|
|
4
|
+
require('../../slicedToArray-Cbh2WzDH.js');
|
|
5
|
+
require('../../unsupportedIterableToArray-BoHMiKNA.js');
|
|
6
6
|
require('react');
|
|
7
7
|
require('ramda');
|
|
8
8
|
require('axios');
|
|
9
9
|
require('../../initializers/constants.js');
|
|
10
10
|
require('../../utils/general.js');
|
|
11
|
-
require('../../objectWithoutProperties-
|
|
12
|
-
require('../../index-
|
|
11
|
+
require('../../objectWithoutProperties-DQlolGrE.js');
|
|
12
|
+
require('../../index-DDd00LFf.js');
|
|
13
13
|
require('../../_commonjsHelpers-CFO10eej.js');
|
|
14
|
-
require('../../defineProperty-
|
|
14
|
+
require('../../defineProperty-Cm9b1C1w.js');
|
|
15
|
+
require('../../typeof-D4ZZ_FlZ.js');
|
|
15
16
|
require('i18next');
|
|
16
17
|
require('@bigbinary/neeto-cist');
|
|
17
18
|
require('@bigbinary/neetoui/Toastr');
|
|
18
19
|
require('qs');
|
|
19
20
|
require('../../utils/dayjs.js');
|
|
20
|
-
require('../../toConsumableArray-
|
|
21
|
+
require('../../toConsumableArray-tBKHqzE3.js');
|
|
21
22
|
require('dayjs');
|
|
22
23
|
require('../../utils/createSubscription.js');
|
|
23
24
|
require('@rails/actioncable');
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var slicedToArray = require('../../slicedToArray-
|
|
3
|
+
var slicedToArray = require('../../slicedToArray-Cbh2WzDH.js');
|
|
4
4
|
var react = require('react');
|
|
5
5
|
var ramda = require('ramda');
|
|
6
6
|
require('axios');
|
|
@@ -13,14 +13,15 @@ require('i18next');
|
|
|
13
13
|
require('yup');
|
|
14
14
|
require('../../mixpanel.cjs-DyVaCR4W.js');
|
|
15
15
|
require('@bigbinary/neeto-cist');
|
|
16
|
-
require('../../unsupportedIterableToArray-
|
|
17
|
-
require('../../objectWithoutProperties-
|
|
18
|
-
require('../../index-
|
|
16
|
+
require('../../unsupportedIterableToArray-BoHMiKNA.js');
|
|
17
|
+
require('../../objectWithoutProperties-DQlolGrE.js');
|
|
18
|
+
require('../../index-DDd00LFf.js');
|
|
19
19
|
require('../../_commonjsHelpers-CFO10eej.js');
|
|
20
|
-
require('../../defineProperty-
|
|
20
|
+
require('../../defineProperty-Cm9b1C1w.js');
|
|
21
|
+
require('../../typeof-D4ZZ_FlZ.js');
|
|
21
22
|
require('@bigbinary/neetoui/Toastr');
|
|
22
23
|
require('qs');
|
|
23
|
-
require('../../toConsumableArray-
|
|
24
|
+
require('../../toConsumableArray-tBKHqzE3.js');
|
|
24
25
|
require('@rails/actioncable');
|
|
25
26
|
|
|
26
27
|
var getStorageValue = function getStorageValue(key, defaultValue) {
|