@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
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as _unsupportedIterableToArray } from './unsupportedIterableToArray-
|
|
1
|
+
import { _ as _unsupportedIterableToArray } from './unsupportedIterableToArray-wRn9bJ2J.js';
|
|
2
2
|
|
|
3
3
|
function _arrayWithHoles(arr) {
|
|
4
4
|
if (Array.isArray(arr)) return arr;
|
|
@@ -43,4 +43,4 @@ function _slicedToArray(arr, i) {
|
|
|
43
43
|
}
|
|
44
44
|
|
|
45
45
|
export { _slicedToArray as _ };
|
|
46
|
-
//# sourceMappingURL=slicedToArray-
|
|
46
|
+
//# sourceMappingURL=slicedToArray-B_J-CC8-.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"slicedToArray-
|
|
1
|
+
{"version":3,"file":"slicedToArray-B_J-CC8-.js","sources":["../node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js","../node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js","../node_modules/@babel/runtime/helpers/esm/nonIterableRest.js","../node_modules/@babel/runtime/helpers/esm/slicedToArray.js"],"sourcesContent":["export default function _arrayWithHoles(arr) {\n if (Array.isArray(arr)) return arr;\n}","export default function _iterableToArrayLimit(arr, i) {\n var _i = arr == null ? null : typeof Symbol !== \"undefined\" && arr[Symbol.iterator] || arr[\"@@iterator\"];\n\n if (_i == null) return;\n var _arr = [];\n var _n = true;\n var _d = false;\n\n var _s, _e;\n\n try {\n for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) {\n _arr.push(_s.value);\n\n if (i && _arr.length === i) break;\n }\n } catch (err) {\n _d = true;\n _e = err;\n } finally {\n try {\n if (!_n && _i[\"return\"] != null) _i[\"return\"]();\n } finally {\n if (_d) throw _e;\n }\n }\n\n return _arr;\n}","export default function _nonIterableRest() {\n throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}","import arrayWithHoles from \"./arrayWithHoles.js\";\nimport iterableToArrayLimit from \"./iterableToArrayLimit.js\";\nimport unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nimport nonIterableRest from \"./nonIterableRest.js\";\nexport default function _slicedToArray(arr, i) {\n return arrayWithHoles(arr) || iterableToArrayLimit(arr, i) || unsupportedIterableToArray(arr, i) || nonIterableRest();\n}"],"names":["arrayWithHoles","iterableToArrayLimit","unsupportedIterableToArray","nonIterableRest"],"mappings":";;AAAe,SAAS,eAAe,CAAC,GAAG,EAAE;AAC7C,EAAE,IAAI,KAAK,CAAC,OAAO,CAAC,GAAG,CAAC,EAAE,OAAO,GAAG,CAAC;AACrC;;ACFe,SAAS,qBAAqB,CAAC,GAAG,EAAE,CAAC,EAAE;AACtD,EAAE,IAAI,EAAE,GAAG,GAAG,IAAI,IAAI,GAAG,IAAI,GAAG,OAAO,MAAM,KAAK,WAAW,IAAI,GAAG,CAAC,MAAM,CAAC,QAAQ,CAAC,IAAI,GAAG,CAAC,YAAY,CAAC,CAAC;AAC3G;AACA,EAAE,IAAI,EAAE,IAAI,IAAI,EAAE,OAAO;AACzB,EAAE,IAAI,IAAI,GAAG,EAAE,CAAC;AAChB,EAAE,IAAI,EAAE,GAAG,IAAI,CAAC;AAChB,EAAE,IAAI,EAAE,GAAG,KAAK,CAAC;AACjB;AACA,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC;AACb;AACA,EAAE,IAAI;AACN,IAAI,KAAK,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,EAAE,EAAE,GAAG,CAAC,EAAE,GAAG,EAAE,CAAC,IAAI,EAAE,EAAE,IAAI,CAAC,EAAE,EAAE,GAAG,IAAI,EAAE;AACtE,MAAM,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,KAAK,CAAC,CAAC;AAC1B;AACA,MAAM,IAAI,CAAC,IAAI,IAAI,CAAC,MAAM,KAAK,CAAC,EAAE,MAAM;AACxC,KAAK;AACL,GAAG,CAAC,OAAO,GAAG,EAAE;AAChB,IAAI,EAAE,GAAG,IAAI,CAAC;AACd,IAAI,EAAE,GAAG,GAAG,CAAC;AACb,GAAG,SAAS;AACZ,IAAI,IAAI;AACR,MAAM,IAAI,CAAC,EAAE,IAAI,EAAE,CAAC,QAAQ,CAAC,IAAI,IAAI,EAAE,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;AACtD,KAAK,SAAS;AACd,MAAM,IAAI,EAAE,EAAE,MAAM,EAAE,CAAC;AACvB,KAAK;AACL,GAAG;AACH;AACA,EAAE,OAAO,IAAI,CAAC;AACd;;AC5Be,SAAS,gBAAgB,GAAG;AAC3C,EAAE,MAAM,IAAI,SAAS,CAAC,2IAA2I,CAAC,CAAC;AACnK;;ACEe,SAAS,cAAc,CAAC,GAAG,EAAE,CAAC,EAAE;AAC/C,EAAE,OAAOA,eAAc,CAAC,GAAG,CAAC,IAAIC,qBAAoB,CAAC,GAAG,EAAE,CAAC,CAAC,IAAIC,2BAA0B,CAAC,GAAG,EAAE,CAAC,CAAC,IAAIC,gBAAe,EAAE,CAAC;AACxH;;;;","x_google_ignoreList":[0,1,2,3]}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as _arrayLikeToArray, _ as _unsupportedIterableToArray } from './unsupportedIterableToArray-
|
|
1
|
+
import { a as _arrayLikeToArray, _ as _unsupportedIterableToArray } from './unsupportedIterableToArray-wRn9bJ2J.js';
|
|
2
2
|
|
|
3
3
|
function _arrayWithoutHoles(arr) {
|
|
4
4
|
if (Array.isArray(arr)) return _arrayLikeToArray(arr);
|
|
@@ -17,4 +17,4 @@ function _toConsumableArray(arr) {
|
|
|
17
17
|
}
|
|
18
18
|
|
|
19
19
|
export { _toConsumableArray as _ };
|
|
20
|
-
//# sourceMappingURL=toConsumableArray-
|
|
20
|
+
//# sourceMappingURL=toConsumableArray-CQcqnqnw.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toConsumableArray-
|
|
1
|
+
{"version":3,"file":"toConsumableArray-CQcqnqnw.js","sources":["../node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js","../node_modules/@babel/runtime/helpers/esm/iterableToArray.js","../node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js","../node_modules/@babel/runtime/helpers/esm/toConsumableArray.js"],"sourcesContent":["import arrayLikeToArray from \"./arrayLikeToArray.js\";\nexport default function _arrayWithoutHoles(arr) {\n if (Array.isArray(arr)) return arrayLikeToArray(arr);\n}","export default function _iterableToArray(iter) {\n if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter);\n}","export default function _nonIterableSpread() {\n throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}","import arrayWithoutHoles from \"./arrayWithoutHoles.js\";\nimport iterableToArray from \"./iterableToArray.js\";\nimport unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nimport nonIterableSpread from \"./nonIterableSpread.js\";\nexport default function _toConsumableArray(arr) {\n return arrayWithoutHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableSpread();\n}"],"names":["arrayLikeToArray","arrayWithoutHoles","iterableToArray","unsupportedIterableToArray","nonIterableSpread"],"mappings":";;AACe,SAAS,kBAAkB,CAAC,GAAG,EAAE;AAChD,EAAE,IAAI,KAAK,CAAC,OAAO,CAAC,GAAG,CAAC,EAAE,OAAOA,iBAAgB,CAAC,GAAG,CAAC,CAAC;AACvD;;ACHe,SAAS,gBAAgB,CAAC,IAAI,EAAE;AAC/C,EAAE,IAAI,OAAO,MAAM,KAAK,WAAW,IAAI,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,IAAI,IAAI,IAAI,IAAI,CAAC,YAAY,CAAC,IAAI,IAAI,EAAE,OAAO,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AAC5H;;ACFe,SAAS,kBAAkB,GAAG;AAC7C,EAAE,MAAM,IAAI,SAAS,CAAC,sIAAsI,CAAC,CAAC;AAC9J;;ACEe,SAAS,kBAAkB,CAAC,GAAG,EAAE;AAChD,EAAE,OAAOC,kBAAiB,CAAC,GAAG,CAAC,IAAIC,gBAAe,CAAC,GAAG,CAAC,IAAIC,2BAA0B,CAAC,GAAG,CAAC,IAAIC,kBAAiB,EAAE,CAAC;AAClH;;;;","x_google_ignoreList":[0,1,2,3]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"typeof-
|
|
1
|
+
{"version":3,"file":"typeof-C6-BY_SI.js","sources":["../node_modules/@babel/runtime/helpers/esm/typeof.js"],"sourcesContent":["export default function _typeof(obj) {\n \"@babel/helpers - typeof\";\n\n return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) {\n return typeof obj;\n } : function (obj) {\n return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n }, _typeof(obj);\n}"],"names":[],"mappings":"AAAe,SAAS,OAAO,CAAC,GAAG,EAAE;AACrC,EAAE,yBAAyB,CAAC;AAC5B;AACA,EAAE,OAAO,OAAO,GAAG,UAAU,IAAI,OAAO,MAAM,IAAI,QAAQ,IAAI,OAAO,MAAM,CAAC,QAAQ,GAAG,UAAU,GAAG,EAAE;AACtG,IAAI,OAAO,OAAO,GAAG,CAAC;AACtB,GAAG,GAAG,UAAU,GAAG,EAAE;AACrB,IAAI,OAAO,GAAG,IAAI,UAAU,IAAI,OAAO,MAAM,IAAI,GAAG,CAAC,WAAW,KAAK,MAAM,IAAI,GAAG,KAAK,MAAM,CAAC,SAAS,GAAG,QAAQ,GAAG,OAAO,GAAG,CAAC;AAChI,GAAG,EAAE,OAAO,CAAC,GAAG,CAAC,CAAC;AAClB;;;;","x_google_ignoreList":[0]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"unsupportedIterableToArray-
|
|
1
|
+
{"version":3,"file":"unsupportedIterableToArray-wRn9bJ2J.js","sources":["../node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js","../node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js"],"sourcesContent":["export default function _arrayLikeToArray(arr, len) {\n if (len == null || len > arr.length) len = arr.length;\n\n for (var i = 0, arr2 = new Array(len); i < len; i++) {\n arr2[i] = arr[i];\n }\n\n return arr2;\n}","import arrayLikeToArray from \"./arrayLikeToArray.js\";\nexport default function _unsupportedIterableToArray(o, minLen) {\n if (!o) return;\n if (typeof o === \"string\") return arrayLikeToArray(o, minLen);\n var n = Object.prototype.toString.call(o).slice(8, -1);\n if (n === \"Object\" && o.constructor) n = o.constructor.name;\n if (n === \"Map\" || n === \"Set\") return Array.from(o);\n if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return arrayLikeToArray(o, minLen);\n}"],"names":["arrayLikeToArray"],"mappings":"AAAe,SAAS,iBAAiB,CAAC,GAAG,EAAE,GAAG,EAAE;AACpD,EAAE,IAAI,GAAG,IAAI,IAAI,IAAI,GAAG,GAAG,GAAG,CAAC,MAAM,EAAE,GAAG,GAAG,GAAG,CAAC,MAAM,CAAC;AACxD;AACA,EAAE,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,IAAI,GAAG,IAAI,KAAK,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,GAAG,EAAE,CAAC,EAAE,EAAE;AACvD,IAAI,IAAI,CAAC,CAAC,CAAC,GAAG,GAAG,CAAC,CAAC,CAAC,CAAC;AACrB,GAAG;AACH;AACA,EAAE,OAAO,IAAI,CAAC;AACd;;ACPe,SAAS,2BAA2B,CAAC,CAAC,EAAE,MAAM,EAAE;AAC/D,EAAE,IAAI,CAAC,CAAC,EAAE,OAAO;AACjB,EAAE,IAAI,OAAO,CAAC,KAAK,QAAQ,EAAE,OAAOA,iBAAgB,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC;AAChE,EAAE,IAAI,CAAC,GAAG,MAAM,CAAC,SAAS,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;AACzD,EAAE,IAAI,CAAC,KAAK,QAAQ,IAAI,CAAC,CAAC,WAAW,EAAE,CAAC,GAAG,CAAC,CAAC,WAAW,CAAC,IAAI,CAAC;AAC9D,EAAE,IAAI,CAAC,KAAK,KAAK,IAAI,CAAC,KAAK,KAAK,EAAE,OAAO,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AACvD,EAAE,IAAI,CAAC,KAAK,WAAW,IAAI,0CAA0C,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,OAAOA,iBAAgB,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC;AAClH;;;;","x_google_ignoreList":[0,1]}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { _ as _toConsumableArray } from '../toConsumableArray-
|
|
2
|
-
import { _ as _defineProperty } from '../defineProperty-
|
|
1
|
+
import { _ as _toConsumableArray } from '../toConsumableArray-CQcqnqnw.js';
|
|
2
|
+
import { _ as _defineProperty } from '../defineProperty-CEd-kZQW.js';
|
|
3
3
|
import { isNotPresent, findBy } from '@bigbinary/neeto-cist';
|
|
4
4
|
import { omit } from 'ramda';
|
|
5
|
-
import '../unsupportedIterableToArray-
|
|
5
|
+
import '../unsupportedIterableToArray-wRn9bJ2J.js';
|
|
6
6
|
|
|
7
7
|
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; }
|
|
8
8
|
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(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,5 +1,5 @@
|
|
|
1
|
-
import { m as mixpanel } from '../mixpanel.cjs-
|
|
2
|
-
import '../_commonjsHelpers-
|
|
1
|
+
import { m as mixpanel } from '../mixpanel.cjs-DTVxnNUt.js';
|
|
2
|
+
import '../_commonjsHelpers-B85MJLTf.js';
|
|
3
3
|
|
|
4
4
|
var captureAnalyticsEvent = function captureAnalyticsEvent(name) {
|
|
5
5
|
var properties = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { _ as _defineProperty } from '../defineProperty-
|
|
2
|
-
import { m as mixpanel } from '../mixpanel.cjs-
|
|
3
|
-
import '../_commonjsHelpers-
|
|
1
|
+
import { _ as _defineProperty } from '../defineProperty-CEd-kZQW.js';
|
|
2
|
+
import { m as mixpanel } from '../mixpanel.cjs-DTVxnNUt.js';
|
|
3
|
+
import '../_commonjsHelpers-B85MJLTf.js';
|
|
4
4
|
|
|
5
5
|
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
6
|
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(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,11 +1,11 @@
|
|
|
1
1
|
import { createConsumer } from '@rails/actioncable';
|
|
2
2
|
import { buildUrl } from './general.js';
|
|
3
|
-
import '../objectWithoutProperties-
|
|
4
|
-
import '../slicedToArray-
|
|
5
|
-
import '../unsupportedIterableToArray-
|
|
6
|
-
import '../index-
|
|
7
|
-
import '../_commonjsHelpers-
|
|
8
|
-
import '../defineProperty-
|
|
3
|
+
import '../objectWithoutProperties-B90Wg9LD.js';
|
|
4
|
+
import '../slicedToArray-B_J-CC8-.js';
|
|
5
|
+
import '../unsupportedIterableToArray-wRn9bJ2J.js';
|
|
6
|
+
import '../index-CRoDfiJc.js';
|
|
7
|
+
import '../_commonjsHelpers-B85MJLTf.js';
|
|
8
|
+
import '../defineProperty-CEd-kZQW.js';
|
|
9
9
|
import 'i18next';
|
|
10
10
|
import '@bigbinary/neeto-cist';
|
|
11
11
|
import '@bigbinary/neetoui/Toastr';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as _defineProperty } from '../defineProperty-
|
|
1
|
+
import { _ as _defineProperty } from '../defineProperty-CEd-kZQW.js';
|
|
2
2
|
import pureDayjs from 'dayjs';
|
|
3
3
|
|
|
4
4
|
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; }
|
package/dist/utils/datetime.js
CHANGED
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
import
|
|
1
|
+
import dayjs from './dayjs.js';
|
|
2
|
+
import '../defineProperty-CEd-kZQW.js';
|
|
3
|
+
import '../toConsumableArray-CQcqnqnw.js';
|
|
4
|
+
import '../unsupportedIterableToArray-wRn9bJ2J.js';
|
|
5
|
+
import 'dayjs';
|
|
2
6
|
|
|
3
7
|
/* eslint-disable @bigbinary/neeto/use-standard-date-time-formats */
|
|
4
8
|
var getDefaultFormat = function getDefaultFormat() {
|
|
@@ -7,51 +11,51 @@ var getDefaultFormat = function getDefaultFormat() {
|
|
|
7
11
|
};
|
|
8
12
|
var timeFormat = {
|
|
9
13
|
fromNow: function fromNow(time) {
|
|
10
|
-
return
|
|
14
|
+
return dayjs(time).fromNow();
|
|
11
15
|
},
|
|
12
16
|
time: function time(_time) {
|
|
13
|
-
return
|
|
17
|
+
return dayjs(_time).format("LT");
|
|
14
18
|
},
|
|
15
19
|
timeWithSeconds: function timeWithSeconds(time) {
|
|
16
|
-
return
|
|
20
|
+
return dayjs(time).format("LTS");
|
|
17
21
|
},
|
|
18
22
|
date: function date(time) {
|
|
19
|
-
return
|
|
23
|
+
return dayjs(time).format("ll");
|
|
20
24
|
},
|
|
21
25
|
dateWeek: function dateWeek(time) {
|
|
22
|
-
return
|
|
26
|
+
return dayjs(time).format("ll ddd");
|
|
23
27
|
},
|
|
24
28
|
dateWeekDayExtended: function dateWeekDayExtended(time) {
|
|
25
|
-
return
|
|
29
|
+
return dayjs(time).format("ll dddd");
|
|
26
30
|
},
|
|
27
31
|
dateWeekWithoutYear: function dateWeekWithoutYear(time) {
|
|
28
|
-
return
|
|
32
|
+
return dayjs(time).format("MMM D, ddd");
|
|
29
33
|
},
|
|
30
34
|
dateWeekWithoutYearDayExtended: function dateWeekWithoutYearDayExtended(time) {
|
|
31
|
-
return
|
|
35
|
+
return dayjs(time).format("MMM D, dddd");
|
|
32
36
|
},
|
|
33
37
|
dateTime: function dateTime(time) {
|
|
34
|
-
return
|
|
38
|
+
return dayjs(time).format("ll LT");
|
|
35
39
|
},
|
|
36
40
|
dateTimeWithSeconds: function dateTimeWithSeconds(time) {
|
|
37
|
-
return
|
|
41
|
+
return dayjs(time).format("ll LTS");
|
|
38
42
|
},
|
|
39
43
|
dateWeekTime: function dateWeekTime(time) {
|
|
40
|
-
return
|
|
44
|
+
return dayjs(time).format("ll ddd LT");
|
|
41
45
|
},
|
|
42
46
|
dateWeekTimeDayExtended: function dateWeekTimeDayExtended(time) {
|
|
43
|
-
return
|
|
47
|
+
return dayjs(time).format("ll dddd LT");
|
|
44
48
|
},
|
|
45
49
|
extended: function extended(time) {
|
|
46
|
-
var dateTime =
|
|
47
|
-
var fromNow =
|
|
50
|
+
var dateTime = dayjs(time).format("dddd LL LT");
|
|
51
|
+
var fromNow = dayjs(time).fromNow();
|
|
48
52
|
return "".concat(dateTime, " (").concat(fromNow, ")");
|
|
49
53
|
},
|
|
50
54
|
"default": function _default(time) {
|
|
51
|
-
return
|
|
55
|
+
return dayjs(time).format(getDefaultFormat());
|
|
52
56
|
},
|
|
53
57
|
defaultWithTime: function defaultWithTime(time) {
|
|
54
|
-
return
|
|
58
|
+
return dayjs(time).format("".concat(getDefaultFormat(), " LTS"));
|
|
55
59
|
}
|
|
56
60
|
};
|
|
57
61
|
var dateFormat = timeFormat;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"datetime.js","sources":["../../src/utils/datetime.js"],"sourcesContent":["/* eslint-disable @bigbinary/neeto/use-standard-date-time-formats */\nimport dayjs from \"./dayjs\";\n\nconst getDefaultFormat = () => globalProps?.user?.dateFormat ?? \"DD/MM/YYYY\";\n\nexport const timeFormat = {\n fromNow: time => dayjs(time).fromNow(),\n time: time => dayjs(time).format(\"LT\"),\n timeWithSeconds: time => dayjs(time).format(\"LTS\"),\n date: time => dayjs(time).format(\"ll\"),\n dateWeek: time => dayjs(time).format(\"ll ddd\"),\n dateWeekDayExtended: time => dayjs(time).format(\"ll dddd\"),\n dateWeekWithoutYear: time => dayjs(time).format(\"MMM D, ddd\"),\n dateWeekWithoutYearDayExtended: time => dayjs(time).format(\"MMM D, dddd\"),\n dateTime: time => dayjs(time).format(\"ll LT\"),\n dateTimeWithSeconds: time => dayjs(time).format(\"ll LTS\"),\n dateWeekTime: time => dayjs(time).format(\"ll ddd LT\"),\n dateWeekTimeDayExtended: time => dayjs(time).format(\"ll dddd LT\"),\n extended: time => {\n const dateTime = dayjs(time).format(\"dddd LL LT\");\n const fromNow = dayjs(time).fromNow();\n\n return `${dateTime} (${fromNow})`;\n },\n default: time => dayjs(time).format(getDefaultFormat()),\n defaultWithTime: time => dayjs(time).format(`${getDefaultFormat()} LTS`),\n};\n\nexport const dateFormat = timeFormat;\n"],"names":["getDefaultFormat","_globalProps$user$dat","_globalProps","_globalProps$user","globalProps","user","dateFormat","timeFormat","fromNow","time","dayjs","format","timeWithSeconds","date","dateWeek","dateWeekDayExtended","dateWeekWithoutYear","dateWeekWithoutYearDayExtended","dateTime","dateTimeWithSeconds","dateWeekTime","dateWeekTimeDayExtended","extended","concat","default","defaultWithTime"],"mappings":"
|
|
1
|
+
{"version":3,"file":"datetime.js","sources":["../../src/utils/datetime.js"],"sourcesContent":["/* eslint-disable @bigbinary/neeto/use-standard-date-time-formats */\nimport dayjs from \"./dayjs\";\n\nconst getDefaultFormat = () => globalProps?.user?.dateFormat ?? \"DD/MM/YYYY\";\n\nexport const timeFormat = {\n fromNow: time => dayjs(time).fromNow(),\n time: time => dayjs(time).format(\"LT\"),\n timeWithSeconds: time => dayjs(time).format(\"LTS\"),\n date: time => dayjs(time).format(\"ll\"),\n dateWeek: time => dayjs(time).format(\"ll ddd\"),\n dateWeekDayExtended: time => dayjs(time).format(\"ll dddd\"),\n dateWeekWithoutYear: time => dayjs(time).format(\"MMM D, ddd\"),\n dateWeekWithoutYearDayExtended: time => dayjs(time).format(\"MMM D, dddd\"),\n dateTime: time => dayjs(time).format(\"ll LT\"),\n dateTimeWithSeconds: time => dayjs(time).format(\"ll LTS\"),\n dateWeekTime: time => dayjs(time).format(\"ll ddd LT\"),\n dateWeekTimeDayExtended: time => dayjs(time).format(\"ll dddd LT\"),\n extended: time => {\n const dateTime = dayjs(time).format(\"dddd LL LT\");\n const fromNow = dayjs(time).fromNow();\n\n return `${dateTime} (${fromNow})`;\n },\n default: time => dayjs(time).format(getDefaultFormat()),\n defaultWithTime: time => dayjs(time).format(`${getDefaultFormat()} LTS`),\n};\n\nexport const dateFormat = timeFormat;\n"],"names":["getDefaultFormat","_globalProps$user$dat","_globalProps","_globalProps$user","globalProps","user","dateFormat","timeFormat","fromNow","time","dayjs","format","timeWithSeconds","date","dateWeek","dateWeekDayExtended","dateWeekWithoutYear","dateWeekWithoutYearDayExtended","dateTime","dateTimeWithSeconds","dateWeekTime","dateWeekTimeDayExtended","extended","concat","default","defaultWithTime"],"mappings":"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"}
|
package/dist/utils/dayjs.js
CHANGED
|
@@ -1,3 +1,36 @@
|
|
|
1
|
+
import { _ as _defineProperty } from '../defineProperty-CEd-kZQW.js';
|
|
2
|
+
import { _ as _toConsumableArray } from '../toConsumableArray-CQcqnqnw.js';
|
|
1
3
|
import pureDayjs from 'dayjs';
|
|
2
|
-
|
|
4
|
+
import '../unsupportedIterableToArray-wRn9bJ2J.js';
|
|
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; }
|
|
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(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; }
|
|
8
|
+
var hasTimezone = function hasTimezone(dateString) {
|
|
9
|
+
var timezoneRegex = /Z|[+-]\d{2}:\d{2}$|GMT([+-]\d{4})?$/;
|
|
10
|
+
return timezoneRegex.test(dateString);
|
|
11
|
+
};
|
|
12
|
+
var dayjs = function dayjs() {
|
|
13
|
+
var _args$;
|
|
14
|
+
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
15
|
+
args[_key] = arguments[_key];
|
|
16
|
+
}
|
|
17
|
+
if (pureDayjs.tz().$x.$timezone === pureDayjs.tz.guess() || pureDayjs.tz().$x.$timezone === undefined) {
|
|
18
|
+
return pureDayjs.apply(void 0, args);
|
|
19
|
+
}
|
|
20
|
+
if (args.length > 0 && typeof args[0] === "string") {
|
|
21
|
+
var pureDayjsArgs = args.slice(0, Math.min(args.length, 2));
|
|
22
|
+
if (hasTimezone(args[0])) {
|
|
23
|
+
args[0] = pureDayjs.apply(void 0, _toConsumableArray(pureDayjsArgs));
|
|
24
|
+
} else {
|
|
25
|
+
args[0] = pureDayjs.apply(void 0, _toConsumableArray(pureDayjsArgs)).format("YYYY-MM-DD HH:mm:ss");
|
|
26
|
+
args[1] = "YYYY-MM-DD HH:mm:ss";
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
if (((_args$ = args[0]) === null || _args$ === void 0 ? void 0 : _args$.toString()) === "Invalid Date") return pureDayjs.apply(void 0, args);
|
|
30
|
+
var timezone = pureDayjs.tz().$x.$timezone || pureDayjs.tz.guess();
|
|
31
|
+
return args.length === 2 ? pureDayjs.tz.apply(pureDayjs, args.concat([timezone])) : pureDayjs.tz.apply(pureDayjs, args);
|
|
32
|
+
};
|
|
33
|
+
Object.assign(dayjs, _objectSpread({}, pureDayjs));
|
|
34
|
+
|
|
35
|
+
export { dayjs as default };
|
|
3
36
|
//# sourceMappingURL=dayjs.js.map
|
package/dist/utils/dayjs.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dayjs.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
1
|
+
{"version":3,"file":"dayjs.js","sources":["../../src/utils/dayjs.js"],"sourcesContent":["// eslint-disable-next-line @bigbinary/neeto/use-dayjs-from-neeto-commons-fronted\nimport pureDayjs from \"dayjs\";\n\nconst hasTimezone = dateString => {\n const timezoneRegex = /Z|[+-]\\d{2}:\\d{2}$|GMT([+-]\\d{4})?$/;\n\n return timezoneRegex.test(dateString);\n};\n\nconst dayjs = (...args) => {\n if (\n pureDayjs.tz().$x.$timezone === pureDayjs.tz.guess() ||\n pureDayjs.tz().$x.$timezone === undefined\n ) {\n return pureDayjs(...args);\n }\n\n if (args.length > 0 && typeof args[0] === \"string\") {\n const pureDayjsArgs = args.slice(0, Math.min(args.length, 2));\n\n if (hasTimezone(args[0])) {\n args[0] = pureDayjs(...pureDayjsArgs);\n } else {\n args[0] = pureDayjs(...pureDayjsArgs).format(\"YYYY-MM-DD HH:mm:ss\");\n args[1] = \"YYYY-MM-DD HH:mm:ss\";\n }\n }\n\n if (args[0]?.toString() === \"Invalid Date\") return pureDayjs(...args);\n\n const timezone = pureDayjs.tz().$x.$timezone || pureDayjs.tz.guess();\n\n return args.length === 2\n ? pureDayjs.tz(...args, timezone)\n : pureDayjs.tz(...args);\n};\n\nObject.assign(dayjs, { ...pureDayjs });\n\nexport default dayjs;\n"],"names":["hasTimezone","dateString","timezoneRegex","test","dayjs","_args$","_len","arguments","length","args","Array","_key","pureDayjs","tz","$x","$timezone","guess","undefined","apply","pureDayjsArgs","slice","Math","min","_toConsumableArray","format","toString","timezone","concat","Object","assign","_objectSpread"],"mappings":";;;;;;;AAGA,IAAMA,WAAW,GAAG,SAAdA,WAAWA,CAAGC,UAAU,EAAI;EAChC,IAAMC,aAAa,GAAG,qCAAqC,CAAA;AAE3D,EAAA,OAAOA,aAAa,CAACC,IAAI,CAACF,UAAU,CAAC,CAAA;AACvC,CAAC,CAAA;AAED,IAAMG,KAAK,GAAG,SAARA,KAAKA,GAAgB;AAAA,EAAA,IAAAC,MAAA,CAAA;AAAA,EAAA,KAAA,IAAAC,IAAA,GAAAC,SAAA,CAAAC,MAAA,EAATC,IAAI,GAAAC,IAAAA,KAAA,CAAAJ,IAAA,GAAAK,IAAA,GAAA,CAAA,EAAAA,IAAA,GAAAL,IAAA,EAAAK,IAAA,EAAA,EAAA;AAAJF,IAAAA,IAAI,CAAAE,IAAA,CAAAJ,GAAAA,SAAA,CAAAI,IAAA,CAAA,CAAA;AAAA,GAAA;AACpB,EAAA,IACEC,SAAS,CAACC,EAAE,EAAE,CAACC,EAAE,CAACC,SAAS,KAAKH,SAAS,CAACC,EAAE,CAACG,KAAK,EAAE,IACpDJ,SAAS,CAACC,EAAE,EAAE,CAACC,EAAE,CAACC,SAAS,KAAKE,SAAS,EACzC;AACA,IAAA,OAAOL,SAAS,CAAAM,KAAA,CAAA,KAAA,CAAA,EAAIT,IAAI,CAAC,CAAA;AAC3B,GAAA;AAEA,EAAA,IAAIA,IAAI,CAACD,MAAM,GAAG,CAAC,IAAI,OAAOC,IAAI,CAAC,CAAC,CAAC,KAAK,QAAQ,EAAE;AAClD,IAAA,IAAMU,aAAa,GAAGV,IAAI,CAACW,KAAK,CAAC,CAAC,EAAEC,IAAI,CAACC,GAAG,CAACb,IAAI,CAACD,MAAM,EAAE,CAAC,CAAC,CAAC,CAAA;AAE7D,IAAA,IAAIR,WAAW,CAACS,IAAI,CAAC,CAAC,CAAC,CAAC,EAAE;MACxBA,IAAI,CAAC,CAAC,CAAC,GAAGG,SAAS,CAAAM,KAAA,CAAAK,KAAAA,CAAAA,EAAAA,kBAAA,CAAIJ,aAAa,CAAC,CAAA,CAAA;AACvC,KAAC,MAAM;AACLV,MAAAA,IAAI,CAAC,CAAC,CAAC,GAAGG,SAAS,CAAAM,KAAA,CAAA,KAAA,CAAA,EAAAK,kBAAA,CAAIJ,aAAa,CAAC,CAAA,CAACK,MAAM,CAAC,qBAAqB,CAAC,CAAA;AACnEf,MAAAA,IAAI,CAAC,CAAC,CAAC,GAAG,qBAAqB,CAAA;AACjC,KAAA;AACF,GAAA;EAEA,IAAI,CAAA,CAAAJ,MAAA,GAAAI,IAAI,CAAC,CAAC,CAAC,MAAA,IAAA,IAAAJ,MAAA,KAAA,KAAA,CAAA,GAAA,KAAA,CAAA,GAAPA,MAAA,CAASoB,QAAQ,EAAE,MAAK,cAAc,EAAE,OAAOb,SAAS,CAAAM,KAAA,CAAIT,KAAAA,CAAAA,EAAAA,IAAI,CAAC,CAAA;AAErE,EAAA,IAAMiB,QAAQ,GAAGd,SAAS,CAACC,EAAE,EAAE,CAACC,EAAE,CAACC,SAAS,IAAIH,SAAS,CAACC,EAAE,CAACG,KAAK,EAAE,CAAA;AAEpE,EAAA,OAAOP,IAAI,CAACD,MAAM,KAAK,CAAC,GACpBI,SAAS,CAACC,EAAE,CAAAK,KAAA,CAAZN,SAAS,EAAOH,IAAI,CAAAkB,MAAA,CAAED,CAAAA,QAAQ,CAAC,CAAA,CAAA,GAC/Bd,SAAS,CAACC,EAAE,CAAAK,KAAA,CAAZN,SAAS,EAAOH,IAAI,CAAC,CAAA;AAC3B,EAAC;AAEDmB,MAAM,CAACC,MAAM,CAACzB,KAAK,EAAA0B,aAAA,CAAA,EAAA,EAAOlB,SAAS,CAAE,CAAC;;;;"}
|
package/dist/utils/general.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { _ as _objectWithoutProperties } from '../objectWithoutProperties-
|
|
2
|
-
import { _ as _slicedToArray } from '../slicedToArray-
|
|
3
|
-
import { _ as _asyncToGenerator, a as _regeneratorRuntime } from '../index-
|
|
4
|
-
import { _ as _defineProperty } from '../defineProperty-
|
|
1
|
+
import { _ as _objectWithoutProperties } from '../objectWithoutProperties-B90Wg9LD.js';
|
|
2
|
+
import { _ as _slicedToArray } from '../slicedToArray-B_J-CC8-.js';
|
|
3
|
+
import { _ as _asyncToGenerator, a as _regeneratorRuntime } from '../index-CRoDfiJc.js';
|
|
4
|
+
import { _ as _defineProperty } from '../defineProperty-CEd-kZQW.js';
|
|
5
5
|
import i18next from 'i18next';
|
|
6
6
|
import { getRandomInt, transformObjectDeep, camelToSnakeCase } from '@bigbinary/neeto-cist';
|
|
7
7
|
import Toastr from '@bigbinary/neetoui/Toastr';
|
|
8
8
|
import { stringify, parse } from 'qs';
|
|
9
9
|
import { curry, toPairs, pipe, omit, isEmpty, identity } from 'ramda';
|
|
10
|
-
import '../unsupportedIterableToArray-
|
|
11
|
-
import '../_commonjsHelpers-
|
|
10
|
+
import '../unsupportedIterableToArray-wRn9bJ2J.js';
|
|
11
|
+
import '../_commonjsHelpers-B85MJLTf.js';
|
|
12
12
|
|
|
13
13
|
var _this = undefined;
|
|
14
14
|
var _excluded = ["toCamelCase"];
|
package/dist/utils/index.js
CHANGED
|
@@ -8,23 +8,24 @@ export { slugValidator } from './validators/slug.js';
|
|
|
8
8
|
export { captureAnalyticsEvent } from './captureAnalyticsEvent.js';
|
|
9
9
|
export { captureAnalyticsPageView } from './captureAnalyticsPageView.js';
|
|
10
10
|
export { buildNestedAttributesPayload } from './buildNestedAttributesPayload.js';
|
|
11
|
-
export { default as dayjs } from 'dayjs';
|
|
11
|
+
export { default as dayjs } from './dayjs.js';
|
|
12
12
|
import 'axios';
|
|
13
13
|
import '../initializers/constants.js';
|
|
14
14
|
import 'ramda';
|
|
15
|
-
import '../objectWithoutProperties-
|
|
16
|
-
import '../slicedToArray-
|
|
17
|
-
import '../unsupportedIterableToArray-
|
|
18
|
-
import '../index-
|
|
19
|
-
import '../_commonjsHelpers-
|
|
20
|
-
import '../defineProperty-
|
|
15
|
+
import '../objectWithoutProperties-B90Wg9LD.js';
|
|
16
|
+
import '../slicedToArray-B_J-CC8-.js';
|
|
17
|
+
import '../unsupportedIterableToArray-wRn9bJ2J.js';
|
|
18
|
+
import '../index-CRoDfiJc.js';
|
|
19
|
+
import '../_commonjsHelpers-B85MJLTf.js';
|
|
20
|
+
import '../defineProperty-CEd-kZQW.js';
|
|
21
21
|
import 'i18next';
|
|
22
22
|
import '@bigbinary/neeto-cist';
|
|
23
23
|
import '@bigbinary/neetoui/Toastr';
|
|
24
24
|
import 'qs';
|
|
25
25
|
import '@rails/actioncable';
|
|
26
|
+
import 'dayjs';
|
|
26
27
|
import '../constants/regex.js';
|
|
27
28
|
import 'yup';
|
|
28
|
-
import '../mixpanel.cjs-
|
|
29
|
-
import '../toConsumableArray-
|
|
29
|
+
import '../mixpanel.cjs-DTVxnNUt.js';
|
|
30
|
+
import '../toConsumableArray-CQcqnqnw.js';
|
|
30
31
|
//# sourceMappingURL=index.js.map
|
package/dist/utils/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bigbinary/neeto-commons-frontend",
|
|
3
|
-
"version": "4.8.
|
|
3
|
+
"version": "4.8.6",
|
|
4
4
|
"description": "A package encapsulating common code across neeto projects including initializers, utility functions, common components and hooks and so on.",
|
|
5
5
|
"repository": "git@github.com:bigbinary/neeto-commons-frontend.git",
|
|
6
6
|
"author": "Amaljith K <amaljith.k@bigbinary.com>",
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"remove-unused-translation-keys": "./configs/scripts/remove-unused-translation-keys/index.js"
|
|
11
11
|
},
|
|
12
12
|
"scripts": {
|
|
13
|
-
"build": "yarn build:jsdoc && NODE_ENV=production rollup -c rollup.config.js --environment production",
|
|
13
|
+
"build": "yarn build:jsdoc && NODE_ENV=production rollup --bundleConfigAsCjs -c rollup.config.js --environment production",
|
|
14
14
|
"build:jsdoc": "node ./.scripts/jsdoc-builder.mjs",
|
|
15
15
|
"prepare": "husky install",
|
|
16
16
|
"sync_with_wheel": "./.scripts/sync_with_wheel.sh",
|
|
@@ -189,9 +189,9 @@
|
|
|
189
189
|
"react-router-dom": "5.3.3",
|
|
190
190
|
"react-toastify": "8.0.2",
|
|
191
191
|
"remark-parse": "^10.0.1",
|
|
192
|
-
"rollup": "
|
|
192
|
+
"rollup": "^4.24.0",
|
|
193
193
|
"rollup-plugin-analyzer": "4.0.0",
|
|
194
|
-
"rollup-plugin-copy": "
|
|
194
|
+
"rollup-plugin-copy": "3.5.0",
|
|
195
195
|
"rollup-plugin-peer-deps-external": "2.2.4",
|
|
196
196
|
"rollup-plugin-styles": "4.0.0",
|
|
197
197
|
"sass": "^1.54.9",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"_commonjsHelpers-ae89b920.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"_commonjsHelpers-755157d3.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
|