@bigbinary/neeto-commons-frontend 4.13.30 → 4.13.31
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/configs/eslint/globals.mjs +22 -0
- package/configs/eslint/helpers/{index.js → index.mjs} +8 -4
- package/configs/eslint/imports/enforced.mjs +34 -0
- package/configs/eslint/imports/order.mjs +71 -0
- package/configs/eslint/index.mjs +206 -0
- package/configs/eslint/overrides.mjs +28 -0
- package/configs/eslint/promise.mjs +12 -0
- package/configs/eslint/react.mjs +94 -0
- package/configs/nanos/eslint/imports/order.mjs +44 -0
- package/configs/nanos/eslint/index.mjs +21 -0
- package/configs/nextjs/eslint/imports/order.mjs +46 -0
- package/configs/nextjs/eslint/index.mjs +21 -0
- package/dist/cjs/constants/index.js.map +1 -1
- package/dist/cjs/constants/regex.js.map +1 -1
- package/dist/cjs/cypress-utils/.eslintrc.js.map +1 -1
- package/dist/cjs/cypress-utils/commands.js +2 -3
- package/dist/cjs/cypress-utils/commands.js.map +1 -1
- package/dist/cjs/cypress-utils/constants/index.js.map +1 -1
- package/dist/cjs/cypress-utils/constants/routes.js +1 -2
- package/dist/cjs/cypress-utils/constants/routes.js.map +1 -1
- package/dist/cjs/cypress-utils/constants/selectors/common.js +1 -2
- package/dist/cjs/cypress-utils/constants/selectors/common.js.map +1 -1
- package/dist/cjs/cypress-utils/constants/selectors/editor.js +1 -2
- package/dist/cjs/cypress-utils/constants/selectors/editor.js.map +1 -1
- package/dist/cjs/cypress-utils/constants/selectors/ipRestriction.js +1 -2
- package/dist/cjs/cypress-utils/constants/selectors/ipRestriction.js.map +1 -1
- package/dist/cjs/cypress-utils/constants/selectors/login.js +1 -2
- package/dist/cjs/cypress-utils/constants/selectors/login.js.map +1 -1
- package/dist/cjs/cypress-utils/constants/selectors/member.js +1 -2
- package/dist/cjs/cypress-utils/constants/selectors/member.js.map +1 -1
- package/dist/cjs/cypress-utils/constants/selectors/navigation.js +1 -2
- package/dist/cjs/cypress-utils/constants/selectors/navigation.js.map +1 -1
- package/dist/cjs/cypress-utils/constants/selectors/roles.js.map +1 -1
- package/dist/cjs/cypress-utils/constants/selectors/signUp.js +1 -2
- package/dist/cjs/cypress-utils/constants/selectors/signUp.js.map +1 -1
- package/dist/cjs/cypress-utils/constants/selectors/tags.js +1 -2
- package/dist/cjs/cypress-utils/constants/selectors/tags.js.map +1 -1
- package/dist/cjs/cypress-utils/constants/texts/common.js.map +1 -1
- package/dist/cjs/cypress-utils/constants/texts/member.js.map +1 -1
- package/dist/cjs/cypress-utils/constants/texts/navigation.js.map +1 -1
- package/dist/cjs/cypress-utils/constants/texts/roles.js.map +1 -1
- package/dist/cjs/cypress-utils/constants/texts/signUp.js.map +1 -1
- package/dist/cjs/cypress-utils/constants/texts/tags.js.map +1 -1
- package/dist/cjs/cypress-utils/fixtures/fake.js.map +1 -1
- package/dist/cjs/cypress-utils/index.js +1 -2
- package/dist/cjs/cypress-utils/index.js.map +1 -1
- package/dist/cjs/cypress-utils/utils/authentication.js +1 -2
- package/dist/cjs/cypress-utils/utils/authentication.js.map +1 -1
- package/dist/cjs/cypress-utils/utils/common.js +2 -3
- package/dist/cjs/cypress-utils/utils/common.js.map +1 -1
- package/dist/cjs/cypress-utils/utils/date.js.map +1 -1
- package/dist/cjs/cypress-utils/utils/email.js +2 -3
- package/dist/cjs/cypress-utils/utils/email.js.map +1 -1
- package/dist/cjs/cypress-utils/utils/member.js +11 -12
- package/dist/cjs/cypress-utils/utils/member.js.map +1 -1
- package/dist/cjs/cypress-utils/utils/navigation.js +1 -2
- package/dist/cjs/cypress-utils/utils/navigation.js.map +1 -1
- package/dist/cjs/cypress-utils/utils/organization.js +1 -2
- package/dist/cjs/cypress-utils/utils/organization.js.map +1 -1
- package/dist/cjs/cypress-utils/utils/validation.js +1 -2
- package/dist/cjs/cypress-utils/utils/validation.js.map +1 -1
- package/dist/cjs/{toPropertyKey-CRgrohXG.js → defineProperty-lChFfVqi.js} +12 -2
- package/dist/cjs/defineProperty-lChFfVqi.js.map +1 -0
- package/dist/cjs/{index-DDd00LFf.js → index-CUYe6FO0.js} +16 -16
- package/dist/cjs/index-CUYe6FO0.js.map +1 -0
- package/dist/cjs/initializers/axios.js +1 -2
- package/dist/cjs/initializers/axios.js.map +1 -1
- package/dist/cjs/initializers/axiosInitializer/index.js +1 -2
- package/dist/cjs/initializers/axiosInitializer/index.js.map +1 -1
- package/dist/cjs/initializers/axiosInitializer/paramsSerializer.js.map +1 -1
- package/dist/cjs/initializers/constants.js.map +1 -1
- package/dist/cjs/initializers/dayjs.js.map +1 -1
- package/dist/cjs/initializers/globalProps.js.map +1 -1
- package/dist/cjs/initializers/i18n.js +59 -11
- package/dist/cjs/initializers/i18n.js.map +1 -1
- package/dist/cjs/initializers/index.js +3 -6
- package/dist/cjs/initializers/index.js.map +1 -1
- package/dist/cjs/initializers/logger.js.map +1 -1
- package/dist/cjs/initializers/mixpanel.js +5 -6
- package/dist/cjs/initializers/mixpanel.js.map +1 -1
- package/dist/cjs/initializers/reactDevTools.js.map +1 -1
- package/dist/cjs/initializers/utils/customFormatters.js.map +1 -1
- package/dist/cjs/initializers/utils/customPostProcessors.js.map +1 -1
- package/dist/cjs/initializers/utils/utils.js +1 -1
- package/dist/cjs/initializers/utils/utils.js.map +1 -1
- package/dist/cjs/mixpanel.module-ajRn5e0J.js +22401 -0
- package/dist/cjs/mixpanel.module-ajRn5e0J.js.map +1 -0
- package/dist/cjs/objectWithoutProperties-wSsbHFcG.js.map +1 -1
- package/dist/cjs/react-utils/AppContainer/AppContainer.js +3 -4
- package/dist/cjs/react-utils/AppContainer/AppContainer.js.map +1 -1
- package/dist/cjs/react-utils/AppContainer/index.js +1 -2
- package/dist/cjs/react-utils/AppContainer/index.js.map +1 -1
- package/dist/cjs/react-utils/BrowserPushNotifications/devices.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/pushHelper.js.map +1 -1
- package/dist/cjs/react-utils/BrowserPushNotifications/registerServiceWorker.js +1 -1
- package/dist/cjs/react-utils/BrowserPushNotifications/registerServiceWorker.js.map +1 -1
- package/dist/cjs/react-utils/HoneybadgerErrorBoundary/FallbackComponent.js +2 -3
- package/dist/cjs/react-utils/HoneybadgerErrorBoundary/FallbackComponent.js.map +1 -1
- package/dist/cjs/react-utils/HoneybadgerErrorBoundary/HoneybadgerErrorBoundary.js +1 -2
- package/dist/cjs/react-utils/HoneybadgerErrorBoundary/HoneybadgerErrorBoundary.js.map +1 -1
- package/dist/cjs/react-utils/HoneybadgerErrorBoundary/constants.js.map +1 -1
- package/dist/cjs/react-utils/HoneybadgerErrorBoundary/index.js +1 -2
- package/dist/cjs/react-utils/HoneybadgerErrorBoundary/index.js.map +1 -1
- package/dist/cjs/react-utils/HoneybadgerErrorBoundary/utils.js.map +1 -1
- package/dist/cjs/react-utils/PageTitle/PageTitle.js.map +1 -1
- package/dist/cjs/react-utils/PrivateRoute/PrivateRoute.js +2 -3
- package/dist/cjs/react-utils/PrivateRoute/PrivateRoute.js.map +1 -1
- package/dist/cjs/react-utils/PrivateRoute/index.js +1 -2
- package/dist/cjs/react-utils/PrivateRoute/index.js.map +1 -1
- package/dist/cjs/react-utils/QueryClientProvider/QueryClientProvider.js.map +1 -1
- package/dist/cjs/react-utils/QueryClientProvider/queryClient.js.map +1 -1
- package/dist/cjs/react-utils/constants/constants.js.map +1 -1
- package/dist/cjs/react-utils/constants/query.js.map +1 -1
- package/dist/cjs/react-utils/index.js +4 -6
- package/dist/cjs/react-utils/index.js.map +1 -1
- package/dist/cjs/react-utils/metaClick/metaClick.js.map +1 -1
- package/dist/cjs/react-utils/useBreakpoints/index.js +1 -2
- package/dist/cjs/react-utils/useBreakpoints/index.js.map +1 -1
- package/dist/cjs/react-utils/useBreakpoints/utils.js +2 -3
- package/dist/cjs/react-utils/useBreakpoints/utils.js.map +1 -1
- package/dist/cjs/react-utils/useDebounce/index.js +1 -1
- package/dist/cjs/react-utils/useDebounce/useDebounce.js +1 -1
- package/dist/cjs/react-utils/useDebounce/useDebounce.js.map +1 -1
- package/dist/cjs/react-utils/useDisplayErrorPage/useDisplayErrorPage.js.map +1 -1
- package/dist/cjs/react-utils/useFetchNeetoApps/apis/neeto_apps.js.map +1 -1
- package/dist/cjs/react-utils/useFetchNeetoApps/index.js +3 -4
- package/dist/cjs/react-utils/useFetchNeetoApps/index.js.map +1 -1
- package/dist/cjs/react-utils/useFetchNeetoApps/useFetchNeetoApps.js +4 -5
- package/dist/cjs/react-utils/useFetchNeetoApps/useFetchNeetoApps.js.map +1 -1
- package/dist/cjs/react-utils/useFieldSubmit/useFieldSubmit.js.map +1 -1
- package/dist/cjs/react-utils/useFuncDebounce/useFuncDebounce.js.map +1 -1
- package/dist/cjs/react-utils/useIsElementVisibleInDom/index.js +1 -1
- package/dist/cjs/react-utils/useIsElementVisibleInDom/useForceUpdate.js +1 -1
- package/dist/cjs/react-utils/useIsElementVisibleInDom/useForceUpdate.js.map +1 -1
- package/dist/cjs/react-utils/useIsElementVisibleInDom/useIsElementVisibleInDom.js +1 -1
- package/dist/cjs/react-utils/useIsElementVisibleInDom/useIsElementVisibleInDom.js.map +1 -1
- package/dist/cjs/react-utils/useKeyboardShortcutsPaneState/useKeyboardShortcutsPaneState.js.map +1 -1
- package/dist/cjs/react-utils/useLocalStorage/index.js +4 -6
- package/dist/cjs/react-utils/useLocalStorage/index.js.map +1 -1
- package/dist/cjs/react-utils/useLocalStorage/useLocalStorage.js +4 -6
- package/dist/cjs/react-utils/useLocalStorage/useLocalStorage.js.map +1 -1
- package/dist/cjs/react-utils/useMutationWithInvalidation/index.js +1 -2
- package/dist/cjs/react-utils/useMutationWithInvalidation/index.js.map +1 -1
- package/dist/cjs/react-utils/useMutationWithInvalidation/useMutationWithInvalidation.js +2 -3
- package/dist/cjs/react-utils/useMutationWithInvalidation/useMutationWithInvalidation.js.map +1 -1
- package/dist/cjs/react-utils/useOnClickOutside/useOnClickOutside.js.map +1 -1
- package/dist/cjs/react-utils/usePersistedQuery/index.js +3 -4
- package/dist/cjs/react-utils/usePersistedQuery/index.js.map +1 -1
- package/dist/cjs/react-utils/usePersistedQuery/usePersistedQuery.js +4 -5
- package/dist/cjs/react-utils/usePersistedQuery/usePersistedQuery.js.map +1 -1
- package/dist/cjs/react-utils/usePrevious/usePrevious.js.map +1 -1
- package/dist/cjs/react-utils/useQueryParams/index.js +3 -4
- package/dist/cjs/react-utils/useQueryParams/index.js.map +1 -1
- package/dist/cjs/react-utils/useQueryParams/useQueryParams.js +3 -4
- package/dist/cjs/react-utils/useQueryParams/useQueryParams.js.map +1 -1
- package/dist/cjs/react-utils/useRegisterNavigationCheckpoint/index.js +3 -4
- package/dist/cjs/react-utils/useRegisterNavigationCheckpoint/index.js.map +1 -1
- package/dist/cjs/react-utils/useRegisterNavigationCheckpoint/useRegisterNavigationCheckpoint.js +4 -5
- package/dist/cjs/react-utils/useRegisterNavigationCheckpoint/useRegisterNavigationCheckpoint.js.map +1 -1
- package/dist/cjs/react-utils/useRestoreScrollPosition/useRestoreScrollPosition.js.map +1 -1
- package/dist/cjs/react-utils/useStateWithDependency/index.js +1 -1
- package/dist/cjs/react-utils/useStateWithDependency/useStateWithDependency.js +1 -1
- package/dist/cjs/react-utils/useStateWithDependency/useStateWithDependency.js.map +1 -1
- package/dist/cjs/react-utils/useTimer/useTimer.js.map +1 -1
- package/dist/cjs/react-utils/useUpdateEffect/useUpdateEffect.js.map +1 -1
- package/dist/cjs/react-utils/withImmutableActions/withImmutableActions.js.map +1 -1
- package/dist/cjs/react-utils/withT/withT.js.map +1 -1
- package/dist/cjs/react-utils/withTitle/index.js +1 -2
- package/dist/cjs/react-utils/withTitle/index.js.map +1 -1
- package/dist/cjs/react-utils/withTitle/withTitle.js +2 -3
- package/dist/cjs/react-utils/withTitle/withTitle.js.map +1 -1
- package/dist/cjs/{slicedToArray-Cbh2WzDH.js → slicedToArray-BcL7fKuL.js} +4 -4
- package/dist/cjs/{slicedToArray-Cbh2WzDH.js.map → slicedToArray-BcL7fKuL.js.map} +1 -1
- package/dist/cjs/toConsumableArray-tBKHqzE3.js.map +1 -1
- package/dist/cjs/typeof-D4ZZ_FlZ.js.map +1 -1
- package/dist/cjs/unsupportedIterableToArray-BoHMiKNA.js.map +1 -1
- package/dist/cjs/utils/axios.js.map +1 -1
- package/dist/cjs/utils/buildNestedAttributesPayload.js +2 -3
- package/dist/cjs/utils/buildNestedAttributesPayload.js.map +1 -1
- package/dist/cjs/utils/captureAnalyticsEvent.js +2 -3
- package/dist/cjs/utils/captureAnalyticsEvent.js.map +1 -1
- package/dist/cjs/utils/captureAnalyticsPageView.js +4 -6
- package/dist/cjs/utils/captureAnalyticsPageView.js.map +1 -1
- package/dist/cjs/utils/createSubscription.js +3 -4
- package/dist/cjs/utils/createSubscription.js.map +1 -1
- package/dist/cjs/utils/currencyFormat.js +2 -3
- package/dist/cjs/utils/currencyFormat.js.map +1 -1
- package/dist/cjs/utils/datetime.js +1 -3
- package/dist/cjs/utils/datetime.js.map +1 -1
- package/dist/cjs/utils/dayjs.js +20 -6
- package/dist/cjs/utils/dayjs.js.map +1 -1
- package/dist/cjs/utils/general.js +4 -5
- package/dist/cjs/utils/general.js.map +1 -1
- package/dist/cjs/utils/index.js +4 -6
- package/dist/cjs/utils/index.js.map +1 -1
- package/dist/cjs/utils/loadGoogleFonts.js.map +1 -1
- package/dist/cjs/utils/permissions.js.map +1 -1
- package/dist/cjs/utils/timezonePlugin.js +3 -4
- package/dist/cjs/utils/timezonePlugin.js.map +1 -1
- package/dist/cjs/utils/validators/slug.js.map +1 -1
- package/dist/constants/index.js.map +1 -1
- package/dist/constants/regex.js.map +1 -1
- package/dist/cypress-utils/.eslintrc.js.map +1 -1
- package/dist/cypress-utils/commands.js +2 -3
- package/dist/cypress-utils/commands.js.map +1 -1
- package/dist/cypress-utils/constants/index.js.map +1 -1
- package/dist/cypress-utils/constants/routes.js +2 -3
- package/dist/cypress-utils/constants/routes.js.map +1 -1
- package/dist/cypress-utils/constants/selectors/common.js +2 -3
- package/dist/cypress-utils/constants/selectors/common.js.map +1 -1
- package/dist/cypress-utils/constants/selectors/editor.js +1 -2
- package/dist/cypress-utils/constants/selectors/editor.js.map +1 -1
- package/dist/cypress-utils/constants/selectors/ipRestriction.js +1 -2
- package/dist/cypress-utils/constants/selectors/ipRestriction.js.map +1 -1
- package/dist/cypress-utils/constants/selectors/login.js +1 -2
- package/dist/cypress-utils/constants/selectors/login.js.map +1 -1
- package/dist/cypress-utils/constants/selectors/member.js +1 -2
- package/dist/cypress-utils/constants/selectors/member.js.map +1 -1
- package/dist/cypress-utils/constants/selectors/navigation.js +1 -2
- package/dist/cypress-utils/constants/selectors/navigation.js.map +1 -1
- package/dist/cypress-utils/constants/selectors/roles.js.map +1 -1
- package/dist/cypress-utils/constants/selectors/signUp.js +1 -2
- package/dist/cypress-utils/constants/selectors/signUp.js.map +1 -1
- package/dist/cypress-utils/constants/selectors/tags.js +1 -2
- package/dist/cypress-utils/constants/selectors/tags.js.map +1 -1
- package/dist/cypress-utils/constants/texts/common.js.map +1 -1
- package/dist/cypress-utils/constants/texts/member.js.map +1 -1
- package/dist/cypress-utils/constants/texts/navigation.js.map +1 -1
- package/dist/cypress-utils/constants/texts/roles.js.map +1 -1
- package/dist/cypress-utils/constants/texts/signUp.js.map +1 -1
- package/dist/cypress-utils/constants/texts/tags.js.map +1 -1
- package/dist/cypress-utils/fixtures/fake.js.map +1 -1
- package/dist/cypress-utils/index.js +1 -2
- package/dist/cypress-utils/index.js.map +1 -1
- package/dist/cypress-utils/utils/authentication.js +2 -3
- package/dist/cypress-utils/utils/authentication.js.map +1 -1
- package/dist/cypress-utils/utils/common.js +2 -3
- package/dist/cypress-utils/utils/common.js.map +1 -1
- package/dist/cypress-utils/utils/date.js.map +1 -1
- package/dist/cypress-utils/utils/email.js +2 -3
- package/dist/cypress-utils/utils/email.js.map +1 -1
- package/dist/cypress-utils/utils/member.js +12 -13
- package/dist/cypress-utils/utils/member.js.map +1 -1
- package/dist/cypress-utils/utils/navigation.js +3 -4
- package/dist/cypress-utils/utils/navigation.js.map +1 -1
- package/dist/cypress-utils/utils/organization.js +1 -2
- package/dist/cypress-utils/utils/organization.js.map +1 -1
- package/dist/cypress-utils/utils/validation.js +1 -2
- package/dist/cypress-utils/utils/validation.js.map +1 -1
- package/dist/{toPropertyKey-C6Y0u0Sf.js → defineProperty-CrCYjjU3.js} +12 -3
- package/dist/defineProperty-CrCYjjU3.js.map +1 -0
- package/dist/{index-D_s_toMy.js → index-COfUw8MU.js} +16 -16
- package/dist/index-COfUw8MU.js.map +1 -0
- package/dist/initializers/axios.js +1 -2
- package/dist/initializers/axios.js.map +1 -1
- package/dist/initializers/axiosInitializer/index.js +1 -2
- package/dist/initializers/axiosInitializer/index.js.map +1 -1
- package/dist/initializers/axiosInitializer/paramsSerializer.js.map +1 -1
- package/dist/initializers/constants.js.map +1 -1
- package/dist/initializers/dayjs.js.map +1 -1
- package/dist/initializers/globalProps.js.map +1 -1
- package/dist/initializers/i18n.js +58 -10
- package/dist/initializers/i18n.js.map +1 -1
- package/dist/initializers/index.js +3 -6
- package/dist/initializers/index.js.map +1 -1
- package/dist/initializers/logger.js.map +1 -1
- package/dist/initializers/mixpanel.js +1 -2
- package/dist/initializers/mixpanel.js.map +1 -1
- package/dist/initializers/reactDevTools.js.map +1 -1
- package/dist/initializers/utils/customFormatters.js.map +1 -1
- package/dist/initializers/utils/customPostProcessors.js.map +1 -1
- package/dist/initializers/utils/utils.js +1 -1
- package/dist/initializers/utils/utils.js.map +1 -1
- package/dist/mixpanel.module-Bu2zrBMQ.js +22399 -0
- package/dist/mixpanel.module-Bu2zrBMQ.js.map +1 -0
- package/dist/objectWithoutProperties-DN7d1SzH.js.map +1 -1
- package/dist/react-utils/AppContainer/AppContainer.js +3 -4
- package/dist/react-utils/AppContainer/AppContainer.js.map +1 -1
- package/dist/react-utils/AppContainer/index.js +1 -2
- package/dist/react-utils/AppContainer/index.js.map +1 -1
- package/dist/react-utils/BrowserPushNotifications/devices.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/pushHelper.js.map +1 -1
- package/dist/react-utils/BrowserPushNotifications/registerServiceWorker.js +1 -1
- package/dist/react-utils/BrowserPushNotifications/registerServiceWorker.js.map +1 -1
- package/dist/react-utils/HoneybadgerErrorBoundary/FallbackComponent.js +2 -3
- package/dist/react-utils/HoneybadgerErrorBoundary/FallbackComponent.js.map +1 -1
- package/dist/react-utils/HoneybadgerErrorBoundary/HoneybadgerErrorBoundary.js +1 -2
- package/dist/react-utils/HoneybadgerErrorBoundary/HoneybadgerErrorBoundary.js.map +1 -1
- package/dist/react-utils/HoneybadgerErrorBoundary/constants.js.map +1 -1
- package/dist/react-utils/HoneybadgerErrorBoundary/index.js +1 -2
- package/dist/react-utils/HoneybadgerErrorBoundary/index.js.map +1 -1
- package/dist/react-utils/HoneybadgerErrorBoundary/utils.js.map +1 -1
- package/dist/react-utils/PageTitle/PageTitle.js.map +1 -1
- package/dist/react-utils/PrivateRoute/PrivateRoute.js +2 -3
- package/dist/react-utils/PrivateRoute/PrivateRoute.js.map +1 -1
- package/dist/react-utils/PrivateRoute/index.js +1 -2
- package/dist/react-utils/PrivateRoute/index.js.map +1 -1
- package/dist/react-utils/QueryClientProvider/QueryClientProvider.js.map +1 -1
- package/dist/react-utils/QueryClientProvider/queryClient.js +1 -1
- package/dist/react-utils/QueryClientProvider/queryClient.js.map +1 -1
- package/dist/react-utils/constants/constants.js.map +1 -1
- package/dist/react-utils/constants/query.js.map +1 -1
- package/dist/react-utils/index.js +4 -6
- package/dist/react-utils/index.js.map +1 -1
- package/dist/react-utils/metaClick/metaClick.js.map +1 -1
- package/dist/react-utils/useBreakpoints/index.js +1 -2
- package/dist/react-utils/useBreakpoints/index.js.map +1 -1
- package/dist/react-utils/useBreakpoints/utils.js +2 -3
- package/dist/react-utils/useBreakpoints/utils.js.map +1 -1
- package/dist/react-utils/useDebounce/index.js +1 -1
- package/dist/react-utils/useDebounce/useDebounce.js +1 -1
- package/dist/react-utils/useDebounce/useDebounce.js.map +1 -1
- package/dist/react-utils/useDisplayErrorPage/useDisplayErrorPage.js.map +1 -1
- package/dist/react-utils/useFetchNeetoApps/apis/neeto_apps.js.map +1 -1
- package/dist/react-utils/useFetchNeetoApps/index.js +3 -4
- package/dist/react-utils/useFetchNeetoApps/index.js.map +1 -1
- package/dist/react-utils/useFetchNeetoApps/useFetchNeetoApps.js +4 -5
- package/dist/react-utils/useFetchNeetoApps/useFetchNeetoApps.js.map +1 -1
- package/dist/react-utils/useFieldSubmit/useFieldSubmit.js.map +1 -1
- package/dist/react-utils/useFuncDebounce/useFuncDebounce.js.map +1 -1
- package/dist/react-utils/useIsElementVisibleInDom/index.js +1 -1
- package/dist/react-utils/useIsElementVisibleInDom/useForceUpdate.js +1 -1
- package/dist/react-utils/useIsElementVisibleInDom/useForceUpdate.js.map +1 -1
- package/dist/react-utils/useIsElementVisibleInDom/useIsElementVisibleInDom.js +1 -1
- package/dist/react-utils/useIsElementVisibleInDom/useIsElementVisibleInDom.js.map +1 -1
- package/dist/react-utils/useKeyboardShortcutsPaneState/useKeyboardShortcutsPaneState.js.map +1 -1
- package/dist/react-utils/useLocalStorage/index.js +4 -6
- package/dist/react-utils/useLocalStorage/index.js.map +1 -1
- package/dist/react-utils/useLocalStorage/useLocalStorage.js +4 -6
- package/dist/react-utils/useLocalStorage/useLocalStorage.js.map +1 -1
- package/dist/react-utils/useMutationWithInvalidation/index.js +1 -2
- package/dist/react-utils/useMutationWithInvalidation/index.js.map +1 -1
- package/dist/react-utils/useMutationWithInvalidation/useMutationWithInvalidation.js +2 -3
- package/dist/react-utils/useMutationWithInvalidation/useMutationWithInvalidation.js.map +1 -1
- package/dist/react-utils/useOnClickOutside/useOnClickOutside.js.map +1 -1
- package/dist/react-utils/usePersistedQuery/index.js +3 -4
- package/dist/react-utils/usePersistedQuery/index.js.map +1 -1
- package/dist/react-utils/usePersistedQuery/usePersistedQuery.js +5 -6
- package/dist/react-utils/usePersistedQuery/usePersistedQuery.js.map +1 -1
- package/dist/react-utils/usePrevious/usePrevious.js.map +1 -1
- package/dist/react-utils/useQueryParams/index.js +3 -4
- package/dist/react-utils/useQueryParams/index.js.map +1 -1
- package/dist/react-utils/useQueryParams/useQueryParams.js +3 -4
- package/dist/react-utils/useQueryParams/useQueryParams.js.map +1 -1
- package/dist/react-utils/useRegisterNavigationCheckpoint/index.js +3 -4
- package/dist/react-utils/useRegisterNavigationCheckpoint/index.js.map +1 -1
- package/dist/react-utils/useRegisterNavigationCheckpoint/useRegisterNavigationCheckpoint.js +5 -6
- package/dist/react-utils/useRegisterNavigationCheckpoint/useRegisterNavigationCheckpoint.js.map +1 -1
- package/dist/react-utils/useRestoreScrollPosition/useRestoreScrollPosition.js +1 -1
- package/dist/react-utils/useRestoreScrollPosition/useRestoreScrollPosition.js.map +1 -1
- package/dist/react-utils/useStateWithDependency/index.js +1 -1
- package/dist/react-utils/useStateWithDependency/useStateWithDependency.js +1 -1
- package/dist/react-utils/useStateWithDependency/useStateWithDependency.js.map +1 -1
- package/dist/react-utils/useTimer/useTimer.js.map +1 -1
- package/dist/react-utils/useUpdateEffect/useUpdateEffect.js.map +1 -1
- package/dist/react-utils/withImmutableActions/withImmutableActions.js.map +1 -1
- package/dist/react-utils/withT/withT.js.map +1 -1
- package/dist/react-utils/withTitle/index.js +1 -2
- package/dist/react-utils/withTitle/index.js.map +1 -1
- package/dist/react-utils/withTitle/withTitle.js +2 -3
- package/dist/react-utils/withTitle/withTitle.js.map +1 -1
- package/dist/{slicedToArray-BWOQ_OdI.js → slicedToArray-DmsZvA_9.js} +4 -4
- package/dist/{slicedToArray-BWOQ_OdI.js.map → slicedToArray-DmsZvA_9.js.map} +1 -1
- package/dist/toConsumableArray-B7CFjjkW.js.map +1 -1
- package/dist/typeof-D-UKOauR.js.map +1 -1
- package/dist/unsupportedIterableToArray-Dqz8Y8_I.js.map +1 -1
- package/dist/utils/axios.js.map +1 -1
- package/dist/utils/buildNestedAttributesPayload.js +2 -3
- package/dist/utils/buildNestedAttributesPayload.js.map +1 -1
- package/dist/utils/captureAnalyticsEvent.js +1 -2
- package/dist/utils/captureAnalyticsEvent.js.map +1 -1
- package/dist/utils/captureAnalyticsPageView.js +3 -5
- package/dist/utils/captureAnalyticsPageView.js.map +1 -1
- package/dist/utils/createSubscription.js +3 -4
- package/dist/utils/createSubscription.js.map +1 -1
- package/dist/utils/currencyFormat.js +2 -3
- package/dist/utils/currencyFormat.js.map +1 -1
- package/dist/utils/datetime.js +1 -3
- package/dist/utils/datetime.js.map +1 -1
- package/dist/utils/dayjs.js +18 -4
- package/dist/utils/dayjs.js.map +1 -1
- package/dist/utils/general.js +6 -7
- package/dist/utils/general.js.map +1 -1
- package/dist/utils/index.js +4 -6
- package/dist/utils/index.js.map +1 -1
- package/dist/utils/loadGoogleFonts.js.map +1 -1
- package/dist/utils/permissions.js.map +1 -1
- package/dist/utils/timezonePlugin.js +3 -4
- package/dist/utils/timezonePlugin.js.map +1 -1
- package/dist/utils/validators/slug.js.map +1 -1
- package/package.json +27 -21
- package/configs/eslint/globals.js +0 -14
- package/configs/eslint/imports/enforced.js +0 -29
- package/configs/eslint/imports/order.js +0 -65
- package/configs/eslint/index.js +0 -172
- package/configs/eslint/overrides.js +0 -26
- package/configs/eslint/promise.js +0 -8
- package/configs/eslint/react.js +0 -90
- package/configs/nanos/eslint/imports/order.js +0 -25
- package/configs/nanos/eslint/index.js +0 -28
- package/configs/nextjs/eslint/imports/order.js +0 -25
- package/configs/nextjs/eslint/index.js +0 -22
- package/dist/cjs/createClass-DtcoOmOY.js +0 -23
- package/dist/cjs/createClass-DtcoOmOY.js.map +0 -1
- package/dist/cjs/defineProperty-BB_r6qQ2.js +0 -15
- package/dist/cjs/defineProperty-BB_r6qQ2.js.map +0 -1
- package/dist/cjs/index-DDd00LFf.js.map +0 -1
- package/dist/cjs/mixpanel.cjs-DyVaCR4W.js +0 -6346
- package/dist/cjs/mixpanel.cjs-DyVaCR4W.js.map +0 -1
- package/dist/cjs/toPropertyKey-CRgrohXG.js.map +0 -1
- package/dist/createClass-BvEaZs3T.js +0 -20
- package/dist/createClass-BvEaZs3T.js.map +0 -1
- package/dist/defineProperty-DuFCEj0A.js +0 -13
- package/dist/defineProperty-DuFCEj0A.js.map +0 -1
- package/dist/index-D_s_toMy.js.map +0 -1
- package/dist/mixpanel.cjs-DTVxnNUt.js +0 -6344
- package/dist/mixpanel.cjs-DTVxnNUt.js.map +0 -1
- package/dist/toPropertyKey-C6Y0u0Sf.js.map +0 -1
package/configs/eslint/index.js
DELETED
|
@@ -1,172 +0,0 @@
|
|
|
1
|
-
module.exports = {
|
|
2
|
-
env: {
|
|
3
|
-
browser: true, // window object etc part of browser are made available globally.
|
|
4
|
-
es2020: true, // to include BigInt support
|
|
5
|
-
es6: true,
|
|
6
|
-
commonjs: true,
|
|
7
|
-
node: true,
|
|
8
|
-
},
|
|
9
|
-
/*
|
|
10
|
-
* The order of extending each plugin matters a LOT!!
|
|
11
|
-
* Thus don't change order of items in this array
|
|
12
|
-
* unless you're sure of it.
|
|
13
|
-
*/
|
|
14
|
-
extends: [
|
|
15
|
-
"plugin:@bigbinary/neeto/recommended",
|
|
16
|
-
"plugin:cypress/recommended",
|
|
17
|
-
"plugin:json/recommended",
|
|
18
|
-
"eslint:recommended",
|
|
19
|
-
"plugin:react/recommended",
|
|
20
|
-
"./node_modules/@bigbinary/neeto-commons-frontend/configs/eslint/globals",
|
|
21
|
-
"./node_modules/@bigbinary/neeto-commons-frontend/configs/eslint/imports/order",
|
|
22
|
-
"./node_modules/@bigbinary/neeto-commons-frontend/configs/eslint/overrides",
|
|
23
|
-
"./node_modules/@bigbinary/neeto-commons-frontend/configs/eslint/imports/enforced",
|
|
24
|
-
"./node_modules/@bigbinary/neeto-commons-frontend/configs/eslint/react",
|
|
25
|
-
"./node_modules/@bigbinary/neeto-commons-frontend/configs/eslint/promise",
|
|
26
|
-
"prettier",
|
|
27
|
-
],
|
|
28
|
-
settings: {
|
|
29
|
-
react: { version: "detect" },
|
|
30
|
-
// We need this for the import/extensions rule to work: https://github.com/import-js/eslint-plugin-import#importextensions
|
|
31
|
-
"import/resolver": {
|
|
32
|
-
node: {
|
|
33
|
-
extensions: [".js", ".jsx", ".ts", ".tsx", ".svg", ".json"],
|
|
34
|
-
},
|
|
35
|
-
},
|
|
36
|
-
},
|
|
37
|
-
parserOptions: {
|
|
38
|
-
ecmaFeatures: { jsx: true },
|
|
39
|
-
ecmaVersion: 2018,
|
|
40
|
-
sourceType: "module",
|
|
41
|
-
babelOptions: { presets: ["@babel/preset-react"] },
|
|
42
|
-
},
|
|
43
|
-
// babel-eslint is deprecated now. This is the latest package.
|
|
44
|
-
parser: "@babel/eslint-parser",
|
|
45
|
-
plugins: [
|
|
46
|
-
"react",
|
|
47
|
-
"prettier",
|
|
48
|
-
"import",
|
|
49
|
-
"react-hooks",
|
|
50
|
-
"promise",
|
|
51
|
-
"jam3",
|
|
52
|
-
"unused-imports",
|
|
53
|
-
"sonarjs",
|
|
54
|
-
"security",
|
|
55
|
-
"xss",
|
|
56
|
-
"@bigbinary/neeto",
|
|
57
|
-
],
|
|
58
|
-
rules: {
|
|
59
|
-
// auto-fixable: Respect all Prettier rules and apply it.
|
|
60
|
-
"prettier/prettier": "error",
|
|
61
|
-
// not-auto-fixable: No unused variables allowed.
|
|
62
|
-
"no-unused-vars": [
|
|
63
|
-
"error",
|
|
64
|
-
{
|
|
65
|
-
args: "all",
|
|
66
|
-
argsIgnorePattern: "^_",
|
|
67
|
-
destructuredArrayIgnorePattern: "^_",
|
|
68
|
-
caughtErrors: "all",
|
|
69
|
-
},
|
|
70
|
-
],
|
|
71
|
-
// not-auto-fixable: No undefined variables allowed.
|
|
72
|
-
"no-undef": "error",
|
|
73
|
-
// not-auto-fixable: Dont use console statements. Use logger which babel will remove during bundling.
|
|
74
|
-
"no-console": "error",
|
|
75
|
-
// not-auto-fixable: require `return` statements to either always or never specify values.
|
|
76
|
-
"consistent-return": "error",
|
|
77
|
-
// auto-fixable: disallows repeating variable name when declaring object properties.
|
|
78
|
-
"object-shorthand": "error",
|
|
79
|
-
// auto-fixable: sadly this doesn't support guard clauses yet.
|
|
80
|
-
"padding-line-between-statements": [
|
|
81
|
-
"error",
|
|
82
|
-
{ blankLine: "always", prev: "if", next: ["if", "return"] },
|
|
83
|
-
// The newline-before-return rule is deprecated in favor of the following:
|
|
84
|
-
{ blankLine: "always", prev: "*", next: "return" },
|
|
85
|
-
// Add newline between function declarations
|
|
86
|
-
{
|
|
87
|
-
blankLine: "always",
|
|
88
|
-
prev: [
|
|
89
|
-
"block",
|
|
90
|
-
"multiline-block-like",
|
|
91
|
-
"function",
|
|
92
|
-
"iife",
|
|
93
|
-
"multiline-const",
|
|
94
|
-
"multiline-expression",
|
|
95
|
-
],
|
|
96
|
-
next: ["function", "iife", "multiline-const", "multiline-expression"],
|
|
97
|
-
},
|
|
98
|
-
],
|
|
99
|
-
// auto-fixable: Single line statements needn't have any braces. But in all other cases enforce curly braces.
|
|
100
|
-
curly: ["error", "multi-line"],
|
|
101
|
-
// auto-fixable: Remove the else part, if the "if" or "else-if" chain has a return statement
|
|
102
|
-
"no-else-return": "error",
|
|
103
|
-
// not-auto-fixable: Prevent un-sanitized dangerouslySetInnerHTML.
|
|
104
|
-
"jam3/no-sanitizer-with-danger": [
|
|
105
|
-
2,
|
|
106
|
-
{ wrapperName: ["dompurify", "sanitizer", "sanitize"] },
|
|
107
|
-
],
|
|
108
|
-
// auto-fixable: Requires trailing commas when the last element or property is in a different line than the closing ] or }
|
|
109
|
-
"comma-dangle": [
|
|
110
|
-
"error",
|
|
111
|
-
{
|
|
112
|
-
arrays: "always-multiline",
|
|
113
|
-
objects: "always-multiline",
|
|
114
|
-
imports: "always-multiline",
|
|
115
|
-
exports: "always-multiline",
|
|
116
|
-
functions: "never",
|
|
117
|
-
},
|
|
118
|
-
],
|
|
119
|
-
// auto-fixable: If a variable is never reassigned, using the const declaration is better.
|
|
120
|
-
"prefer-const": "error",
|
|
121
|
-
// auto-fixable: It is considered good practice to use the type-safe equality operators === and !==.
|
|
122
|
-
eqeqeq: "error",
|
|
123
|
-
// not-auto-fixable: Rule flags optional chaining expressions in positions where short-circuiting to undefined causes throwing a TypeError afterward.
|
|
124
|
-
"no-unsafe-optional-chaining": "error",
|
|
125
|
-
// auto-fixable: Remove all unused imports.
|
|
126
|
-
"unused-imports/no-unused-imports": "error",
|
|
127
|
-
// auto-fixable-1-level-deep: Using nested ternary operators make the code unreadable. Use if/else or switch with if/else. If it's JSX then move it out into a function or a variable. It's fine to use nestedTernary in JSX when it makes code more readable.
|
|
128
|
-
"no-nested-ternary": "warn",
|
|
129
|
-
// auto-fixable: Enforces no braces where they can be omitted.
|
|
130
|
-
"arrow-body-style": ["error", "as-needed"],
|
|
131
|
-
// auto-fixable: Suggests using template literals instead of string concatenation.
|
|
132
|
-
"prefer-template": "error",
|
|
133
|
-
// auto-fixable: Disallows ternary operators when simpler alternatives exist.
|
|
134
|
-
"no-unneeded-ternary": ["error", { defaultAssignment: false }],
|
|
135
|
-
// not-auto-fixable: Enforces declaring default params last
|
|
136
|
-
"default-param-last": "error",
|
|
137
|
-
// not-auto-fixable: Remove redundant async-awaits
|
|
138
|
-
"no-return-await": "warn",
|
|
139
|
-
// not-auto-fixable: Disallow empty block statements
|
|
140
|
-
"no-empty": ["error", { allowEmptyCatch: true }],
|
|
141
|
-
// not-auto-fixable: Enforce return statements in callbacks of array methods.
|
|
142
|
-
"array-callback-return": ["error"],
|
|
143
|
-
// auto-fixable: Partially fixable. Unless there's a need to the this keyword, there's no advantage of using a plain function.
|
|
144
|
-
"prefer-arrow-callback": ["error", { allowUnboundThis: true }],
|
|
145
|
-
// not-auto-fixable: Convert multiple imports from same module into a single import.
|
|
146
|
-
"no-duplicate-imports": ["error", { includeExports: true }],
|
|
147
|
-
// auto-fixable: Partially fixable. In JavaScript, there are a lot of different ways to convert value types. Allow only readable coercions.
|
|
148
|
-
"no-implicit-coercion": ["error", { allow: ["!!"] }],
|
|
149
|
-
// auto-fixable: Require let or const instead of var.
|
|
150
|
-
"no-var": "error",
|
|
151
|
-
// auto-fixable: This rule conflicts with prettier rules. Thus we've NOT kept this rule in react file. This rule ensures we don't add blank lines in JSX.
|
|
152
|
-
"react/jsx-newline": ["error", { prevent: true }],
|
|
153
|
-
// not-auto-fixable: Disallow async functions which have no await expression
|
|
154
|
-
"require-await": "error",
|
|
155
|
-
// auto-fixable: This rule ensures immediate returns in functions where constants are declared and then directly returned.
|
|
156
|
-
"sonarjs/prefer-immediate-return": "error",
|
|
157
|
-
// not-auto-fixable: This rule enforces merging adjacent collapsible if statements.
|
|
158
|
-
"sonarjs/no-collapsible-if": "error",
|
|
159
|
-
// not-auto-fixable: This rule prevents identical conditions inside if-else statements.
|
|
160
|
-
"sonarjs/no-identical-conditions": "error",
|
|
161
|
-
// not-auto-fixable: This rule prevents using a function with no return as output, passing it to another function, or assigning its result to a variable.
|
|
162
|
-
"sonarjs/no-use-of-empty-return-value": "error",
|
|
163
|
-
// not-auto-fixable: This rule prevents using loops with at most one iteration.
|
|
164
|
-
"sonarjs/no-one-iteration-loop": "error",
|
|
165
|
-
// not-auto-fixable: This rule prevents using catch clause that only throws an error.
|
|
166
|
-
"sonarjs/no-useless-catch": "error",
|
|
167
|
-
// not-auto-fixable: This rule warns against "eval(variable)" which can allow an attacker to run arbitrary code inside your process.
|
|
168
|
-
"security/detect-eval-with-expression": "warn",
|
|
169
|
-
// not-auto-fixable: This rule ensures that you are calling escape function before location.href assignment.
|
|
170
|
-
"xss/no-location-href-assign": ["error", { escapeFunc: "sanitize" }],
|
|
171
|
-
},
|
|
172
|
-
};
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
module.exports = {
|
|
2
|
-
// Currently we are using this section for excluding certain files from certain rules.
|
|
3
|
-
overrides: [
|
|
4
|
-
{
|
|
5
|
-
files: [
|
|
6
|
-
".eslintrc.js",
|
|
7
|
-
".prettierrc.js",
|
|
8
|
-
"app/assets/**/*",
|
|
9
|
-
"app/javascript/packs/**/*",
|
|
10
|
-
"*.json",
|
|
11
|
-
],
|
|
12
|
-
rules: {
|
|
13
|
-
"import/order": "off",
|
|
14
|
-
"react-hooks/rules-of-hooks": "off",
|
|
15
|
-
},
|
|
16
|
-
},
|
|
17
|
-
{
|
|
18
|
-
files: ["app/javascript/packs/**/*.{js,jsx}"],
|
|
19
|
-
rules: { "no-redeclare": "off" },
|
|
20
|
-
},
|
|
21
|
-
{
|
|
22
|
-
files: ["**/*.spec.js", "**/*.spec.jsx", "**/*.test.jsx"],
|
|
23
|
-
env: { jest: true },
|
|
24
|
-
},
|
|
25
|
-
],
|
|
26
|
-
};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
module.exports = {
|
|
2
|
-
rules: {
|
|
3
|
-
// not-auto-fixable: ensure people use async/await promising chaining rather than using "then-catch-finally" statements
|
|
4
|
-
"promise/prefer-await-to-then": "error",
|
|
5
|
-
// auto-fixable: avoid calling "new" on a Promise static method like reject, resolve etc
|
|
6
|
-
"promise/no-new-statics": "error",
|
|
7
|
-
},
|
|
8
|
-
};
|
package/configs/eslint/react.js
DELETED
|
@@ -1,90 +0,0 @@
|
|
|
1
|
-
module.exports = {
|
|
2
|
-
rules: {
|
|
3
|
-
// not-auto-fixable: Prevent missing props validation in a React component definition.
|
|
4
|
-
"react/prop-types": "off",
|
|
5
|
-
// not-auto-fixable: Detect unescaped HTML entities, which might represent malformed tags.
|
|
6
|
-
"react/no-unescaped-entities": "off",
|
|
7
|
-
// not-auto-fixable: Prevent missing displayName in a React component definition. Useful when using React extensions in browser and checking for component name.
|
|
8
|
-
"react/display-name": "error",
|
|
9
|
-
// not-auto-fixable: Reports when this.state is accessed within setState.
|
|
10
|
-
"react/no-access-state-in-setstate": "error",
|
|
11
|
-
// not-auto-fixable: Prevent usage of dangerous JSX props. Currently jam3 plugin will take care of handling this.
|
|
12
|
-
"react/no-danger": "off",
|
|
13
|
-
// not-auto-fixable: Report when a DOM element is using both children and dangerouslySetInnerHTML.
|
|
14
|
-
"react/no-danger-with-children": "warn",
|
|
15
|
-
// not-auto-fixable: Prevent definitions of unused prop types.
|
|
16
|
-
"react/no-unused-prop-types": "error",
|
|
17
|
-
// not-auto-fixable: Report missing key props in iterators/collection literals. Important rule!
|
|
18
|
-
"react/jsx-key": ["error", { checkFragmentShorthand: true }],
|
|
19
|
-
// not-auto-fixable: Enforce no duplicate props.
|
|
20
|
-
"react/jsx-no-duplicate-props": "error",
|
|
21
|
-
// not-auto-fixable: Disallow undeclared variables in JSX.
|
|
22
|
-
"react/jsx-no-undef": "error",
|
|
23
|
-
// not-auto-fixable: Enforce PascalCase for user-defined JSX components.
|
|
24
|
-
"react/jsx-pascal-case": ["error", { allowNamespace: true }],
|
|
25
|
-
// not-auto-fixable: Prevent variables used in JSX to be marked as unused.
|
|
26
|
-
"react/jsx-uses-vars": "error",
|
|
27
|
-
// not-auto-fixable: Ensures https://reactjs.org/docs/hooks-rules.html.
|
|
28
|
-
"react-hooks/rules-of-hooks": "error",
|
|
29
|
-
// not-auto-fixable: Ensures https://reactjs.org/docs/hooks-rules.html - Checks effect dependencies.
|
|
30
|
-
"react-hooks/exhaustive-deps": "warn",
|
|
31
|
-
// auto-fixable: A fragment is redundant if it contains only one child, or if it is the child of a html element, and is not a keyed fragment.
|
|
32
|
-
"react/jsx-no-useless-fragment": ["error", { allowExpressions: true }],
|
|
33
|
-
// auto-fixable: Prefer arrow function expressions for component declaration.
|
|
34
|
-
"react/function-component-definition": [
|
|
35
|
-
"error",
|
|
36
|
-
{
|
|
37
|
-
namedComponents: "arrow-function",
|
|
38
|
-
unnamedComponents: "arrow-function",
|
|
39
|
-
},
|
|
40
|
-
],
|
|
41
|
-
// auto-fixable: Components without children can be self-closed to avoid unnecessary extra closing tag.
|
|
42
|
-
"react/self-closing-comp": ["error", { component: true, html: true }],
|
|
43
|
-
// auto-fixable: Wrapping multiline JSX in parentheses can improve readability and/or convenience.
|
|
44
|
-
"react/jsx-wrap-multilines": [
|
|
45
|
-
"error",
|
|
46
|
-
{
|
|
47
|
-
declaration: "parens-new-line",
|
|
48
|
-
assignment: "parens-new-line",
|
|
49
|
-
return: "parens-new-line",
|
|
50
|
-
arrow: "parens-new-line",
|
|
51
|
-
condition: "parens-new-line",
|
|
52
|
-
logical: "parens-new-line",
|
|
53
|
-
prop: "ignore",
|
|
54
|
-
},
|
|
55
|
-
],
|
|
56
|
-
// not-auto-fixable: Make sure files containing JSX is having .jsx extension.
|
|
57
|
-
"react/jsx-filename-extension": ["error", { allow: "as-needed" }],
|
|
58
|
-
// auto-fixable: Omit mentioning the "true" value if it can be implicitly understood in props.
|
|
59
|
-
"react/jsx-boolean-value": "error",
|
|
60
|
-
// auto-fixable: Partially fixable. Make sure the state and setter have symmertic naming.
|
|
61
|
-
"react/hook-use-state": "error",
|
|
62
|
-
// auto-fixable: Shorthand notations should always be at the top and also enforce props alphabetical sorting.
|
|
63
|
-
"react/jsx-sort-props": [
|
|
64
|
-
"error",
|
|
65
|
-
{
|
|
66
|
-
callbacksLast: true,
|
|
67
|
-
shorthandFirst: true,
|
|
68
|
-
multiline: "last",
|
|
69
|
-
reservedFirst: false,
|
|
70
|
-
locale: "auto",
|
|
71
|
-
},
|
|
72
|
-
],
|
|
73
|
-
// auto-fixable: Disallow unnecessary curly braces in JSX props and/or children.
|
|
74
|
-
"react/jsx-curly-brace-presence": [
|
|
75
|
-
"error",
|
|
76
|
-
{
|
|
77
|
-
props: "never",
|
|
78
|
-
children: "never",
|
|
79
|
-
// JSX prop values that are JSX elements should be enclosed in braces.
|
|
80
|
-
propElementValues: "always",
|
|
81
|
-
},
|
|
82
|
-
],
|
|
83
|
-
// not-auto-fixable: Disallow creating unstable components inside components.
|
|
84
|
-
"react/no-unstable-nested-components": ["error", { allowAsProps: true }],
|
|
85
|
-
// not-auto-fixable: Disallow missing React when using JSX.
|
|
86
|
-
"react/react-in-jsx-scope": "off",
|
|
87
|
-
// not-auto-fixable: Prevent React to be incorrectly marked as unused.
|
|
88
|
-
"react/jsx-uses-react": "off",
|
|
89
|
-
},
|
|
90
|
-
};
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
const { assocPath } = require("ramda");
|
|
2
|
-
|
|
3
|
-
const {
|
|
4
|
-
buildPathGroupsBasedOnWebpackAliases,
|
|
5
|
-
} = require("../../../eslint/helpers");
|
|
6
|
-
const commonConfig = require("../../../eslint/imports/order");
|
|
7
|
-
|
|
8
|
-
const pathGroups = buildPathGroupsBasedOnWebpackAliases({
|
|
9
|
-
customAliasPath: "resolve.js",
|
|
10
|
-
commonAliasPath:
|
|
11
|
-
"node_modules/@bigbinary/neeto-commons-frontend/configs/nanos/webpack/resolve.js",
|
|
12
|
-
});
|
|
13
|
-
|
|
14
|
-
const pathGroupForKeepingReactImportsAtTop = {
|
|
15
|
-
pattern: "react+(-native|)",
|
|
16
|
-
group: "external",
|
|
17
|
-
position: "before",
|
|
18
|
-
};
|
|
19
|
-
pathGroups.push(pathGroupForKeepingReactImportsAtTop);
|
|
20
|
-
|
|
21
|
-
module.exports = assocPath(
|
|
22
|
-
["rules", "import/order", 1, "pathGroups"],
|
|
23
|
-
pathGroups,
|
|
24
|
-
commonConfig
|
|
25
|
-
);
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
const { mergeLeft } = require("ramda");
|
|
2
|
-
|
|
3
|
-
const commonConfiguration = require("../../eslint");
|
|
4
|
-
|
|
5
|
-
const isCommonsFrontend = !__dirname.includes("node_modules");
|
|
6
|
-
|
|
7
|
-
const configsPath = isCommonsFrontend
|
|
8
|
-
? "./configs"
|
|
9
|
-
: "./node_modules/@bigbinary/neeto-commons-frontend/configs";
|
|
10
|
-
|
|
11
|
-
const nanosConfiguration = {
|
|
12
|
-
extends: [
|
|
13
|
-
"plugin:@bigbinary/neeto/nanos-recommended",
|
|
14
|
-
"plugin:cypress/recommended",
|
|
15
|
-
"plugin:json/recommended",
|
|
16
|
-
"eslint:recommended",
|
|
17
|
-
"plugin:react/recommended",
|
|
18
|
-
`${configsPath}/eslint/globals`,
|
|
19
|
-
`${configsPath}/nanos/eslint/imports/order`,
|
|
20
|
-
`${configsPath}/eslint/overrides`,
|
|
21
|
-
`${configsPath}/eslint/imports/enforced`,
|
|
22
|
-
`${configsPath}/eslint/react`,
|
|
23
|
-
`${configsPath}/eslint/promise`,
|
|
24
|
-
"prettier",
|
|
25
|
-
],
|
|
26
|
-
};
|
|
27
|
-
|
|
28
|
-
module.exports = mergeLeft(nanosConfiguration, commonConfiguration);
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
const { assocPath } = require("ramda");
|
|
2
|
-
|
|
3
|
-
const {
|
|
4
|
-
buildPathGroupsBasedOnWebpackAliases,
|
|
5
|
-
} = require("../../../eslint/helpers");
|
|
6
|
-
const commonConfig = require("../../../eslint/imports/order");
|
|
7
|
-
|
|
8
|
-
const pathGroups = buildPathGroupsBasedOnWebpackAliases({
|
|
9
|
-
customAliasPath: "resolve.js",
|
|
10
|
-
commonAliasPath:
|
|
11
|
-
"node_modules/@bigbinary/neeto-commons-frontend/configs/nextjs/webpack/resolve.js",
|
|
12
|
-
});
|
|
13
|
-
|
|
14
|
-
const pathGroupForKeepingReactImportsAtTop = {
|
|
15
|
-
pattern: "react+(-native|)",
|
|
16
|
-
group: "external",
|
|
17
|
-
position: "before",
|
|
18
|
-
};
|
|
19
|
-
pathGroups.push(pathGroupForKeepingReactImportsAtTop);
|
|
20
|
-
|
|
21
|
-
module.exports = assocPath(
|
|
22
|
-
["rules", "import/order", 1, "pathGroups"],
|
|
23
|
-
pathGroups,
|
|
24
|
-
commonConfig
|
|
25
|
-
);
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
const { mergeLeft } = require("ramda");
|
|
2
|
-
|
|
3
|
-
const commonConfiguration = require("../../eslint");
|
|
4
|
-
|
|
5
|
-
const nextjsConfiguration = {
|
|
6
|
-
extends: [
|
|
7
|
-
"plugin:@bigbinary/neeto/nextjs-recommended",
|
|
8
|
-
"plugin:cypress/recommended",
|
|
9
|
-
"plugin:json/recommended",
|
|
10
|
-
"eslint:recommended",
|
|
11
|
-
"plugin:react/recommended",
|
|
12
|
-
"./node_modules/@bigbinary/neeto-commons-frontend/configs/eslint/globals",
|
|
13
|
-
"./node_modules/@bigbinary/neeto-commons-frontend/configs/nextjs/eslint/imports/order",
|
|
14
|
-
"./node_modules/@bigbinary/neeto-commons-frontend/configs/eslint/overrides",
|
|
15
|
-
"./node_modules/@bigbinary/neeto-commons-frontend/configs/eslint/imports/enforced",
|
|
16
|
-
"./node_modules/@bigbinary/neeto-commons-frontend/configs/eslint/react",
|
|
17
|
-
"./node_modules/@bigbinary/neeto-commons-frontend/configs/eslint/promise",
|
|
18
|
-
"prettier",
|
|
19
|
-
],
|
|
20
|
-
};
|
|
21
|
-
|
|
22
|
-
module.exports = mergeLeft(nextjsConfiguration, commonConfiguration);
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var toPropertyKey = require('./toPropertyKey-CRgrohXG.js');
|
|
4
|
-
|
|
5
|
-
function _classCallCheck(a, n) {
|
|
6
|
-
if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function");
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
function _defineProperties(e, r) {
|
|
10
|
-
for (var t = 0; t < r.length; t++) {
|
|
11
|
-
var o = r[t];
|
|
12
|
-
o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, toPropertyKey.toPropertyKey(o.key), o);
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
function _createClass(e, r, t) {
|
|
16
|
-
return r && _defineProperties(e.prototype, r), Object.defineProperty(e, "prototype", {
|
|
17
|
-
writable: !1
|
|
18
|
-
}), e;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
exports._classCallCheck = _classCallCheck;
|
|
22
|
-
exports._createClass = _createClass;
|
|
23
|
-
//# sourceMappingURL=createClass-DtcoOmOY.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"createClass-DtcoOmOY.js","sources":["../../node_modules/@babel/runtime/helpers/esm/classCallCheck.js","../../node_modules/@babel/runtime/helpers/esm/createClass.js"],"sourcesContent":["function _classCallCheck(a, n) {\n if (!(a instanceof n)) throw new TypeError(\"Cannot call a class as a function\");\n}\nexport { _classCallCheck as default };","import toPropertyKey from \"./toPropertyKey.js\";\nfunction _defineProperties(e, r) {\n for (var t = 0; t < r.length; t++) {\n var o = r[t];\n o.enumerable = o.enumerable || !1, o.configurable = !0, \"value\" in o && (o.writable = !0), Object.defineProperty(e, toPropertyKey(o.key), o);\n }\n}\nfunction _createClass(e, r, t) {\n return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, \"prototype\", {\n writable: !1\n }), e;\n}\nexport { _createClass as default };"],"names":["toPropertyKey"],"mappings":";;;;AAAA,SAAS,eAAe,CAAC,CAAC,EAAE,CAAC,EAAE;AAC/B,EAAE,IAAI,EAAE,CAAC,YAAY,CAAC,CAAC,EAAE,MAAM,IAAI,SAAS,CAAC,mCAAmC,CAAC,CAAC;AAClF;;ACDA,SAAS,iBAAiB,CAAC,CAAC,EAAE,CAAC,EAAE;AACjC,EAAE,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE;AACrC,IAAI,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC;AACjB,IAAI,CAAC,CAAC,UAAU,GAAG,CAAC,CAAC,UAAU,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,YAAY,GAAG,CAAC,CAAC,EAAE,OAAO,IAAI,CAAC,KAAK,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,CAAC,EAAE,MAAM,CAAC,cAAc,CAAC,CAAC,EAAEA,2BAAa,CAAC,CAAC,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,CAAC;AACjJ,GAAG;AACH,CAAC;AACD,SAAS,YAAY,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE;AAC/B,EAAE,OAAO,CAAC,IAAI,iBAAiB,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC,CAAC,EAAgC,MAAM,CAAC,cAAc,CAAC,CAAC,EAAE,WAAW,EAAE;AACrH,IAAI,QAAQ,EAAE,CAAC,CAAC;AAChB,GAAG,CAAC,EAAE,CAAC,CAAC;AACR;;;;;","x_google_ignoreList":[0,1]}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var toPropertyKey = require('./toPropertyKey-CRgrohXG.js');
|
|
4
|
-
|
|
5
|
-
function _defineProperty(e, r, t) {
|
|
6
|
-
return (r = toPropertyKey.toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
|
|
7
|
-
value: t,
|
|
8
|
-
enumerable: !0,
|
|
9
|
-
configurable: !0,
|
|
10
|
-
writable: !0
|
|
11
|
-
}) : e[r] = t, e;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
exports._defineProperty = _defineProperty;
|
|
15
|
-
//# sourceMappingURL=defineProperty-BB_r6qQ2.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"defineProperty-BB_r6qQ2.js","sources":["../../node_modules/@babel/runtime/helpers/esm/defineProperty.js"],"sourcesContent":["import toPropertyKey from \"./toPropertyKey.js\";\nfunction _defineProperty(e, r, t) {\n return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {\n value: t,\n enumerable: !0,\n configurable: !0,\n writable: !0\n }) : e[r] = t, e;\n}\nexport { _defineProperty as default };"],"names":["toPropertyKey"],"mappings":";;;;AACA,SAAS,eAAe,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE;AAClC,EAAE,OAAO,CAAC,CAAC,GAAGA,2BAAa,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,MAAM,CAAC,cAAc,CAAC,CAAC,EAAE,CAAC,EAAE;AACnE,IAAI,KAAK,EAAE,CAAC;AACZ,IAAI,UAAU,EAAE,CAAC,CAAC;AAClB,IAAI,YAAY,EAAE,CAAC,CAAC;AACpB,IAAI,QAAQ,EAAE,CAAC,CAAC;AAChB,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC;AACnB;;;;","x_google_ignoreList":[0]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index-DDd00LFf.js","sources":["../../node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js","../../node_modules/@babel/runtime/helpers/typeof.js","../../node_modules/@babel/runtime/helpers/regeneratorRuntime.js","../../node_modules/@babel/runtime/regenerator/index.js"],"sourcesContent":["function asyncGeneratorStep(n, t, e, r, o, a, c) {\n try {\n var i = n[a](c),\n u = i.value;\n } catch (n) {\n return void e(n);\n }\n i.done ? t(u) : Promise.resolve(u).then(r, o);\n}\nfunction _asyncToGenerator(n) {\n return function () {\n var t = this,\n e = arguments;\n return new Promise(function (r, o) {\n var a = n.apply(t, e);\n function _next(n) {\n asyncGeneratorStep(a, r, o, _next, _throw, \"next\", n);\n }\n function _throw(n) {\n asyncGeneratorStep(a, r, o, _next, _throw, \"throw\", n);\n }\n _next(void 0);\n });\n };\n}\nexport { _asyncToGenerator as default };","function _typeof(o) {\n \"@babel/helpers - typeof\";\n\n return module.exports = _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) {\n return typeof o;\n } : function (o) {\n return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o;\n }, module.exports.__esModule = true, module.exports[\"default\"] = module.exports, _typeof(o);\n}\nmodule.exports = _typeof, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","var _typeof = require(\"./typeof.js\")[\"default\"];\nfunction _regeneratorRuntime() {\n \"use strict\"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */\n module.exports = _regeneratorRuntime = function _regeneratorRuntime() {\n return e;\n }, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;\n var t,\n e = {},\n r = Object.prototype,\n n = r.hasOwnProperty,\n o = Object.defineProperty || function (t, e, r) {\n t[e] = r.value;\n },\n i = \"function\" == typeof Symbol ? Symbol : {},\n a = i.iterator || \"@@iterator\",\n c = i.asyncIterator || \"@@asyncIterator\",\n u = i.toStringTag || \"@@toStringTag\";\n function define(t, e, r) {\n return Object.defineProperty(t, e, {\n value: r,\n enumerable: !0,\n configurable: !0,\n writable: !0\n }), t[e];\n }\n try {\n define({}, \"\");\n } catch (t) {\n define = function define(t, e, r) {\n return t[e] = r;\n };\n }\n function wrap(t, e, r, n) {\n var i = e && e.prototype instanceof Generator ? e : Generator,\n a = Object.create(i.prototype),\n c = new Context(n || []);\n return o(a, \"_invoke\", {\n value: makeInvokeMethod(t, r, c)\n }), a;\n }\n function tryCatch(t, e, r) {\n try {\n return {\n type: \"normal\",\n arg: t.call(e, r)\n };\n } catch (t) {\n return {\n type: \"throw\",\n arg: t\n };\n }\n }\n e.wrap = wrap;\n var h = \"suspendedStart\",\n l = \"suspendedYield\",\n f = \"executing\",\n s = \"completed\",\n y = {};\n function Generator() {}\n function GeneratorFunction() {}\n function GeneratorFunctionPrototype() {}\n var p = {};\n define(p, a, function () {\n return this;\n });\n var d = Object.getPrototypeOf,\n v = d && d(d(values([])));\n v && v !== r && n.call(v, a) && (p = v);\n var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p);\n function defineIteratorMethods(t) {\n [\"next\", \"throw\", \"return\"].forEach(function (e) {\n define(t, e, function (t) {\n return this._invoke(e, t);\n });\n });\n }\n function AsyncIterator(t, e) {\n function invoke(r, o, i, a) {\n var c = tryCatch(t[r], t, o);\n if (\"throw\" !== c.type) {\n var u = c.arg,\n h = u.value;\n return h && \"object\" == _typeof(h) && n.call(h, \"__await\") ? e.resolve(h.__await).then(function (t) {\n invoke(\"next\", t, i, a);\n }, function (t) {\n invoke(\"throw\", t, i, a);\n }) : e.resolve(h).then(function (t) {\n u.value = t, i(u);\n }, function (t) {\n return invoke(\"throw\", t, i, a);\n });\n }\n a(c.arg);\n }\n var r;\n o(this, \"_invoke\", {\n value: function value(t, n) {\n function callInvokeWithMethodAndArg() {\n return new e(function (e, r) {\n invoke(t, n, e, r);\n });\n }\n return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();\n }\n });\n }\n function makeInvokeMethod(e, r, n) {\n var o = h;\n return function (i, a) {\n if (o === f) throw Error(\"Generator is already running\");\n if (o === s) {\n if (\"throw\" === i) throw a;\n return {\n value: t,\n done: !0\n };\n }\n for (n.method = i, n.arg = a;;) {\n var c = n.delegate;\n if (c) {\n var u = maybeInvokeDelegate(c, n);\n if (u) {\n if (u === y) continue;\n return u;\n }\n }\n if (\"next\" === n.method) n.sent = n._sent = n.arg;else if (\"throw\" === n.method) {\n if (o === h) throw o = s, n.arg;\n n.dispatchException(n.arg);\n } else \"return\" === n.method && n.abrupt(\"return\", n.arg);\n o = f;\n var p = tryCatch(e, r, n);\n if (\"normal\" === p.type) {\n if (o = n.done ? s : l, p.arg === y) continue;\n return {\n value: p.arg,\n done: n.done\n };\n }\n \"throw\" === p.type && (o = s, n.method = \"throw\", n.arg = p.arg);\n }\n };\n }\n function maybeInvokeDelegate(e, r) {\n var n = r.method,\n o = e.iterator[n];\n if (o === t) return r.delegate = null, \"throw\" === n && e.iterator[\"return\"] && (r.method = \"return\", r.arg = t, maybeInvokeDelegate(e, r), \"throw\" === r.method) || \"return\" !== n && (r.method = \"throw\", r.arg = new TypeError(\"The iterator does not provide a '\" + n + \"' method\")), y;\n var i = tryCatch(o, e.iterator, r.arg);\n if (\"throw\" === i.type) return r.method = \"throw\", r.arg = i.arg, r.delegate = null, y;\n var a = i.arg;\n return a ? a.done ? (r[e.resultName] = a.value, r.next = e.nextLoc, \"return\" !== r.method && (r.method = \"next\", r.arg = t), r.delegate = null, y) : a : (r.method = \"throw\", r.arg = new TypeError(\"iterator result is not an object\"), r.delegate = null, y);\n }\n function pushTryEntry(t) {\n var e = {\n tryLoc: t[0]\n };\n 1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e);\n }\n function resetTryEntry(t) {\n var e = t.completion || {};\n e.type = \"normal\", delete e.arg, t.completion = e;\n }\n function Context(t) {\n this.tryEntries = [{\n tryLoc: \"root\"\n }], t.forEach(pushTryEntry, this), this.reset(!0);\n }\n function values(e) {\n if (e || \"\" === e) {\n var r = e[a];\n if (r) return r.call(e);\n if (\"function\" == typeof e.next) return e;\n if (!isNaN(e.length)) {\n var o = -1,\n i = function next() {\n for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = !1, next;\n return next.value = t, next.done = !0, next;\n };\n return i.next = i;\n }\n }\n throw new TypeError(_typeof(e) + \" is not iterable\");\n }\n return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, \"constructor\", {\n value: GeneratorFunctionPrototype,\n configurable: !0\n }), o(GeneratorFunctionPrototype, \"constructor\", {\n value: GeneratorFunction,\n configurable: !0\n }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, \"GeneratorFunction\"), e.isGeneratorFunction = function (t) {\n var e = \"function\" == typeof t && t.constructor;\n return !!e && (e === GeneratorFunction || \"GeneratorFunction\" === (e.displayName || e.name));\n }, e.mark = function (t) {\n return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, \"GeneratorFunction\")), t.prototype = Object.create(g), t;\n }, e.awrap = function (t) {\n return {\n __await: t\n };\n }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () {\n return this;\n }), e.AsyncIterator = AsyncIterator, e.async = function (t, r, n, o, i) {\n void 0 === i && (i = Promise);\n var a = new AsyncIterator(wrap(t, r, n, o), i);\n return e.isGeneratorFunction(r) ? a : a.next().then(function (t) {\n return t.done ? t.value : a.next();\n });\n }, defineIteratorMethods(g), define(g, u, \"Generator\"), define(g, a, function () {\n return this;\n }), define(g, \"toString\", function () {\n return \"[object Generator]\";\n }), e.keys = function (t) {\n var e = Object(t),\n r = [];\n for (var n in e) r.push(n);\n return r.reverse(), function next() {\n for (; r.length;) {\n var t = r.pop();\n if (t in e) return next.value = t, next.done = !1, next;\n }\n return next.done = !0, next;\n };\n }, e.values = values, Context.prototype = {\n constructor: Context,\n reset: function reset(e) {\n if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = \"next\", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e) for (var r in this) \"t\" === r.charAt(0) && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = t);\n },\n stop: function stop() {\n this.done = !0;\n var t = this.tryEntries[0].completion;\n if (\"throw\" === t.type) throw t.arg;\n return this.rval;\n },\n dispatchException: function dispatchException(e) {\n if (this.done) throw e;\n var r = this;\n function handle(n, o) {\n return a.type = \"throw\", a.arg = e, r.next = n, o && (r.method = \"next\", r.arg = t), !!o;\n }\n for (var o = this.tryEntries.length - 1; o >= 0; --o) {\n var i = this.tryEntries[o],\n a = i.completion;\n if (\"root\" === i.tryLoc) return handle(\"end\");\n if (i.tryLoc <= this.prev) {\n var c = n.call(i, \"catchLoc\"),\n u = n.call(i, \"finallyLoc\");\n if (c && u) {\n if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);\n if (this.prev < i.finallyLoc) return handle(i.finallyLoc);\n } else if (c) {\n if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);\n } else {\n if (!u) throw Error(\"try statement without catch or finally\");\n if (this.prev < i.finallyLoc) return handle(i.finallyLoc);\n }\n }\n }\n },\n abrupt: function abrupt(t, e) {\n for (var r = this.tryEntries.length - 1; r >= 0; --r) {\n var o = this.tryEntries[r];\n if (o.tryLoc <= this.prev && n.call(o, \"finallyLoc\") && this.prev < o.finallyLoc) {\n var i = o;\n break;\n }\n }\n i && (\"break\" === t || \"continue\" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null);\n var a = i ? i.completion : {};\n return a.type = t, a.arg = e, i ? (this.method = \"next\", this.next = i.finallyLoc, y) : this.complete(a);\n },\n complete: function complete(t, e) {\n if (\"throw\" === t.type) throw t.arg;\n return \"break\" === t.type || \"continue\" === t.type ? this.next = t.arg : \"return\" === t.type ? (this.rval = this.arg = t.arg, this.method = \"return\", this.next = \"end\") : \"normal\" === t.type && e && (this.next = e), y;\n },\n finish: function finish(t) {\n for (var e = this.tryEntries.length - 1; e >= 0; --e) {\n var r = this.tryEntries[e];\n if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y;\n }\n },\n \"catch\": function _catch(t) {\n for (var e = this.tryEntries.length - 1; e >= 0; --e) {\n var r = this.tryEntries[e];\n if (r.tryLoc === t) {\n var n = r.completion;\n if (\"throw\" === n.type) {\n var o = n.arg;\n resetTryEntry(r);\n }\n return o;\n }\n }\n throw Error(\"illegal catch attempt\");\n },\n delegateYield: function delegateYield(e, r, n) {\n return this.delegate = {\n iterator: values(e),\n resultName: r,\n nextLoc: n\n }, \"next\" === this.method && (this.arg = t), y;\n }\n }, e;\n}\nmodule.exports = _regeneratorRuntime, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","// TODO(Babel 8): Remove this file.\n\nvar runtime = require(\"../helpers/regeneratorRuntime\")();\nmodule.exports = runtime;\n\n// Copied from https://github.com/facebook/regenerator/blob/main/packages/runtime/runtime.js#L736=\ntry {\n regeneratorRuntime = runtime;\n} catch (accidentalStrictMode) {\n if (typeof globalThis === \"object\") {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