@bigbinary/neeto-commons-frontend 4.6.2 → 4.8.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +195 -0
- package/configs/babel.js +0 -1
- package/configs/scripts/getPkgTranslations.js +1 -1
- package/configs/scripts/jsdoc-builder/constants.mjs +0 -1
- package/configs/scripts/jsdoc-builder/index.mjs +4 -11
- package/configs/scripts/jsdoc-builder/utils.mjs +2 -4
- package/configs/webpack/rules.js +1 -1
- package/dist/_commonjsHelpers-ae89b920.js +6 -0
- package/dist/_commonjsHelpers-ae89b920.js.map +1 -0
- package/dist/cjs/_commonjsHelpers-755157d3.js +8 -0
- package/dist/cjs/_commonjsHelpers-755157d3.js.map +1 -0
- package/dist/cjs/constants/index.js +29 -0
- package/dist/cjs/constants/index.js.map +1 -0
- package/dist/cjs/constants/regex.js +12 -0
- package/dist/cjs/constants/regex.js.map +1 -0
- package/dist/cjs/cypress-utils/.eslintrc.js +40 -0
- package/dist/cjs/cypress-utils/.eslintrc.js.map +1 -0
- package/dist/cjs/cypress-utils/commands.js +290 -0
- package/dist/cjs/cypress-utils/commands.js.map +1 -0
- package/dist/cjs/cypress-utils/constants/index.js +13 -0
- package/dist/cjs/cypress-utils/constants/index.js.map +1 -0
- package/dist/cjs/cypress-utils/constants/routes.js +42 -0
- package/dist/cjs/cypress-utils/constants/routes.js.map +1 -0
- package/dist/cjs/cypress-utils/constants/selectors/common.js +105 -0
- package/dist/cjs/cypress-utils/constants/selectors/common.js.map +1 -0
- package/dist/cjs/cypress-utils/constants/selectors/editor.js +31 -0
- package/dist/cjs/cypress-utils/constants/selectors/editor.js.map +1 -0
- package/dist/cjs/cypress-utils/constants/selectors/ipRestriction.js +21 -0
- package/dist/cjs/cypress-utils/constants/selectors/ipRestriction.js.map +1 -0
- package/dist/cjs/cypress-utils/constants/selectors/login.js +23 -0
- package/dist/cjs/cypress-utils/constants/selectors/login.js.map +1 -0
- package/dist/cjs/cypress-utils/constants/selectors/member.js +68 -0
- package/dist/cjs/cypress-utils/constants/selectors/member.js.map +1 -0
- package/dist/cjs/cypress-utils/constants/selectors/navigation.js +30 -0
- package/dist/cjs/cypress-utils/constants/selectors/navigation.js.map +1 -0
- package/dist/cjs/cypress-utils/constants/selectors/roles.js +24 -0
- package/dist/cjs/cypress-utils/constants/selectors/roles.js.map +1 -0
- package/dist/cjs/cypress-utils/constants/selectors/signUp.js +25 -0
- package/dist/cjs/cypress-utils/constants/selectors/signUp.js.map +1 -0
- package/dist/cjs/cypress-utils/constants/selectors/tags.js +33 -0
- package/dist/cjs/cypress-utils/constants/selectors/tags.js.map +1 -0
- package/dist/cjs/cypress-utils/constants/texts/common.js +39 -0
- package/dist/cjs/cypress-utils/constants/texts/common.js.map +1 -0
- package/dist/cjs/cypress-utils/constants/texts/member.js +67 -0
- package/dist/cjs/cypress-utils/constants/texts/member.js.map +1 -0
- package/dist/cjs/cypress-utils/constants/texts/navigation.js +23 -0
- package/dist/cjs/cypress-utils/constants/texts/navigation.js.map +1 -0
- package/dist/cjs/cypress-utils/constants/texts/roles.js +24 -0
- package/dist/cjs/cypress-utils/constants/texts/roles.js.map +1 -0
- package/dist/cjs/cypress-utils/constants/texts/signUp.js +13 -0
- package/dist/cjs/cypress-utils/constants/texts/signUp.js.map +1 -0
- package/dist/cjs/cypress-utils/constants/texts/tags.js +27 -0
- package/dist/cjs/cypress-utils/constants/texts/tags.js.map +1 -0
- package/dist/cjs/cypress-utils/fixtures/fake.js +177 -0
- package/dist/cjs/cypress-utils/fixtures/fake.js.map +1 -0
- package/dist/cjs/cypress-utils/index.js +74 -0
- package/dist/cjs/cypress-utils/index.js.map +1 -0
- package/dist/cjs/cypress-utils/jsconfig.js +33 -0
- package/dist/cjs/cypress-utils/jsconfig.js.map +1 -0
- package/dist/cjs/cypress-utils/utils/authentication.js +51 -0
- package/dist/cjs/cypress-utils/utils/authentication.js.map +1 -0
- package/dist/cjs/cypress-utils/utils/common.js +91 -0
- package/dist/cjs/cypress-utils/utils/common.js.map +1 -0
- package/dist/cjs/cypress-utils/utils/date.js +31 -0
- package/dist/cjs/cypress-utils/utils/date.js.map +1 -0
- package/dist/cjs/cypress-utils/utils/email.js +164 -0
- package/dist/cjs/cypress-utils/utils/email.js.map +1 -0
- package/dist/cjs/cypress-utils/utils/member.js +354 -0
- package/dist/cjs/cypress-utils/utils/member.js.map +1 -0
- package/dist/cjs/cypress-utils/utils/navigation.js +215 -0
- package/dist/cjs/cypress-utils/utils/navigation.js.map +1 -0
- package/dist/cjs/cypress-utils/utils/organization.js +111 -0
- package/dist/cjs/cypress-utils/utils/organization.js.map +1 -0
- package/dist/cjs/cypress-utils/utils/validation.js +20 -0
- package/dist/cjs/cypress-utils/utils/validation.js.map +1 -0
- package/dist/cjs/defineProperty-ba7cd53d.js +19 -0
- package/dist/cjs/defineProperty-ba7cd53d.js.map +1 -0
- package/dist/cjs/index-25a068b1.js +443 -0
- package/dist/cjs/index-25a068b1.js.map +1 -0
- package/dist/cjs/initializers/axios.js +22 -0
- package/dist/cjs/initializers/axios.js.map +1 -0
- package/dist/cjs/initializers/axiosInitializer/index.js +280 -0
- package/dist/cjs/initializers/axiosInitializer/index.js.map +1 -0
- package/dist/cjs/initializers/axiosInitializer/paramsSerializer.js +22 -0
- package/dist/cjs/initializers/axiosInitializer/paramsSerializer.js.map +1 -0
- package/dist/cjs/initializers/constants.js +26 -0
- package/dist/cjs/initializers/constants.js.map +1 -0
- package/dist/cjs/initializers/dayjs.js +81 -0
- package/dist/cjs/initializers/dayjs.js.map +1 -0
- package/dist/cjs/initializers/globalProps.js +16 -0
- package/dist/cjs/initializers/globalProps.js.map +1 -0
- package/dist/cjs/initializers/i18n.js +615 -0
- package/dist/cjs/initializers/i18n.js.map +1 -0
- package/dist/cjs/initializers/index.js +82 -0
- package/dist/cjs/initializers/index.js.map +1 -0
- package/dist/cjs/initializers/logger.js +19 -0
- package/dist/cjs/initializers/logger.js.map +1 -0
- package/dist/cjs/initializers/mixpanel.js +30 -0
- package/dist/cjs/initializers/mixpanel.js.map +1 -0
- package/dist/cjs/initializers/reactDevTools.js +24 -0
- package/dist/cjs/initializers/reactDevTools.js.map +1 -0
- package/dist/cjs/initializers/utils/customFormatters.js +55 -0
- package/dist/cjs/initializers/utils/customFormatters.js.map +1 -0
- package/dist/cjs/initializers/utils/customPostProcessors.js +21 -0
- package/dist/cjs/initializers/utils/customPostProcessors.js.map +1 -0
- package/dist/cjs/initializers/utils/utils.js +41 -0
- package/dist/cjs/initializers/utils/utils.js.map +1 -0
- package/dist/cjs/mixpanel.cjs-e97a1ff5.js +6346 -0
- package/dist/cjs/mixpanel.cjs-e97a1ff5.js.map +1 -0
- package/dist/cjs/objectWithoutProperties-60b52fdb.js +38 -0
- package/dist/cjs/objectWithoutProperties-60b52fdb.js.map +1 -0
- package/dist/cjs/react-utils/AppContainer/AppContainer.js +62 -0
- package/dist/cjs/react-utils/AppContainer/AppContainer.js.map +1 -0
- package/dist/cjs/react-utils/AppContainer/index.js +31 -0
- package/dist/cjs/react-utils/AppContainer/index.js.map +1 -0
- package/dist/cjs/react-utils/BrowserPushNotifications/devices.js +27 -0
- package/dist/cjs/react-utils/BrowserPushNotifications/devices.js.map +1 -0
- package/dist/cjs/react-utils/BrowserPushNotifications/index.js +16 -0
- package/dist/cjs/react-utils/BrowserPushNotifications/index.js.map +1 -0
- package/dist/cjs/react-utils/BrowserPushNotifications/pushHelper.js +112 -0
- package/dist/cjs/react-utils/BrowserPushNotifications/pushHelper.js.map +1 -0
- package/dist/cjs/react-utils/BrowserPushNotifications/registerServiceWorker.js +145 -0
- package/dist/cjs/react-utils/BrowserPushNotifications/registerServiceWorker.js.map +1 -0
- package/dist/cjs/react-utils/HoneybadgerErrorBoundary/FallbackComponent.js +107 -0
- package/dist/cjs/react-utils/HoneybadgerErrorBoundary/FallbackComponent.js.map +1 -0
- package/dist/cjs/react-utils/HoneybadgerErrorBoundary/HoneybadgerErrorBoundary.js +60 -0
- package/dist/cjs/react-utils/HoneybadgerErrorBoundary/HoneybadgerErrorBoundary.js.map +1 -0
- package/dist/cjs/react-utils/HoneybadgerErrorBoundary/constants.js +10 -0
- package/dist/cjs/react-utils/HoneybadgerErrorBoundary/constants.js.map +1 -0
- package/dist/cjs/react-utils/HoneybadgerErrorBoundary/index.js +20 -0
- package/dist/cjs/react-utils/HoneybadgerErrorBoundary/index.js.map +1 -0
- package/dist/cjs/react-utils/HoneybadgerErrorBoundary/utils.js +16 -0
- package/dist/cjs/react-utils/HoneybadgerErrorBoundary/utils.js.map +1 -0
- package/dist/cjs/react-utils/PageTitle/PageTitle.js +22 -0
- package/dist/cjs/react-utils/PageTitle/PageTitle.js.map +1 -0
- package/dist/cjs/react-utils/PageTitle/index.js +11 -0
- package/dist/cjs/react-utils/PageTitle/index.js.map +1 -0
- package/dist/cjs/react-utils/PrivateRoute/PrivateRoute.js +48 -0
- package/dist/cjs/react-utils/PrivateRoute/PrivateRoute.js.map +1 -0
- package/dist/cjs/react-utils/PrivateRoute/index.js +14 -0
- package/dist/cjs/react-utils/PrivateRoute/index.js.map +1 -0
- package/dist/cjs/react-utils/QueryClientProvider/QueryClientProvider.js +18 -0
- package/dist/cjs/react-utils/QueryClientProvider/QueryClientProvider.js.map +1 -0
- package/dist/cjs/react-utils/QueryClientProvider/index.js +16 -0
- package/dist/cjs/react-utils/QueryClientProvider/index.js.map +1 -0
- package/dist/cjs/react-utils/QueryClientProvider/queryClient.js +19 -0
- package/dist/cjs/react-utils/QueryClientProvider/queryClient.js.map +1 -0
- package/dist/cjs/react-utils/constants/constants.js +12 -0
- package/dist/cjs/react-utils/constants/constants.js.map +1 -0
- package/dist/cjs/react-utils/constants/index.js +14 -0
- package/dist/cjs/react-utils/constants/index.js.map +1 -0
- package/dist/cjs/react-utils/constants/query.js +10 -0
- package/dist/cjs/react-utils/constants/query.js.map +1 -0
- package/dist/cjs/react-utils/index.js +125 -0
- package/dist/cjs/react-utils/index.js.map +1 -0
- package/dist/cjs/react-utils/metaClick/index.js +12 -0
- package/dist/cjs/react-utils/metaClick/index.js.map +1 -0
- package/dist/cjs/react-utils/metaClick/metaClick.js +23 -0
- package/dist/cjs/react-utils/metaClick/metaClick.js.map +1 -0
- package/dist/cjs/react-utils/useBreakpoints/index.js +20 -0
- package/dist/cjs/react-utils/useBreakpoints/index.js.map +1 -0
- package/dist/cjs/react-utils/useBreakpoints/utils.js +31 -0
- package/dist/cjs/react-utils/useBreakpoints/utils.js.map +1 -0
- package/dist/cjs/react-utils/useDebounce/index.js +11 -0
- package/dist/cjs/react-utils/useDebounce/index.js.map +1 -0
- package/dist/cjs/react-utils/useDebounce/useDebounce.js +25 -0
- package/dist/cjs/react-utils/useDebounce/useDebounce.js.map +1 -0
- package/dist/cjs/react-utils/useDisplayErrorPage/index.js +13 -0
- package/dist/cjs/react-utils/useDisplayErrorPage/index.js.map +1 -0
- package/dist/cjs/react-utils/useDisplayErrorPage/useDisplayErrorPage.js +22 -0
- package/dist/cjs/react-utils/useDisplayErrorPage/useDisplayErrorPage.js.map +1 -0
- package/dist/cjs/react-utils/useFetchNeetoApps/apis/neeto_apps.js +17 -0
- package/dist/cjs/react-utils/useFetchNeetoApps/apis/neeto_apps.js.map +1 -0
- package/dist/cjs/react-utils/useFetchNeetoApps/index.js +27 -0
- package/dist/cjs/react-utils/useFetchNeetoApps/index.js.map +1 -0
- package/dist/cjs/react-utils/useFetchNeetoApps/useFetchNeetoApps.js +39 -0
- package/dist/cjs/react-utils/useFetchNeetoApps/useFetchNeetoApps.js.map +1 -0
- package/dist/cjs/react-utils/useFieldSubmit/index.js +9 -0
- package/dist/cjs/react-utils/useFieldSubmit/index.js.map +1 -0
- package/dist/cjs/react-utils/useFieldSubmit/useFieldSubmit.js +30 -0
- package/dist/cjs/react-utils/useFieldSubmit/useFieldSubmit.js.map +1 -0
- package/dist/cjs/react-utils/useFuncDebounce/index.js +9 -0
- package/dist/cjs/react-utils/useFuncDebounce/index.js.map +1 -0
- package/dist/cjs/react-utils/useFuncDebounce/useFuncDebounce.js +24 -0
- package/dist/cjs/react-utils/useFuncDebounce/useFuncDebounce.js.map +1 -0
- package/dist/cjs/react-utils/useIsElementVisibleInDom/index.js +12 -0
- package/dist/cjs/react-utils/useIsElementVisibleInDom/index.js.map +1 -0
- package/dist/cjs/react-utils/useIsElementVisibleInDom/useForceUpdate.js +20 -0
- package/dist/cjs/react-utils/useIsElementVisibleInDom/useForceUpdate.js.map +1 -0
- package/dist/cjs/react-utils/useIsElementVisibleInDom/useIsElementVisibleInDom.js +31 -0
- package/dist/cjs/react-utils/useIsElementVisibleInDom/useIsElementVisibleInDom.js.map +1 -0
- package/dist/cjs/react-utils/useKeyboardShortcutsPaneState/index.js +10 -0
- package/dist/cjs/react-utils/useKeyboardShortcutsPaneState/index.js.map +1 -0
- package/dist/cjs/react-utils/useKeyboardShortcutsPaneState/useKeyboardShortcutsPaneState.js +33 -0
- package/dist/cjs/react-utils/useKeyboardShortcutsPaneState/useKeyboardShortcutsPaneState.js.map +1 -0
- package/dist/cjs/react-utils/useLocalStorage/index.js +28 -0
- package/dist/cjs/react-utils/useLocalStorage/index.js.map +1 -0
- package/dist/cjs/react-utils/useLocalStorage/useLocalStorage.js +55 -0
- package/dist/cjs/react-utils/useLocalStorage/useLocalStorage.js.map +1 -0
- package/dist/cjs/react-utils/useMutationWithInvalidation/index.js +12 -0
- package/dist/cjs/react-utils/useMutationWithInvalidation/index.js.map +1 -0
- package/dist/cjs/react-utils/useMutationWithInvalidation/useMutationWithInvalidation.js +41 -0
- package/dist/cjs/react-utils/useMutationWithInvalidation/useMutationWithInvalidation.js.map +1 -0
- package/dist/cjs/react-utils/useOnClickOutside/index.js +9 -0
- package/dist/cjs/react-utils/useOnClickOutside/index.js.map +1 -0
- package/dist/cjs/react-utils/useOnClickOutside/useOnClickOutside.js +29 -0
- package/dist/cjs/react-utils/useOnClickOutside/useOnClickOutside.js.map +1 -0
- package/dist/cjs/react-utils/usePersistedQuery/index.js +23 -0
- package/dist/cjs/react-utils/usePersistedQuery/index.js.map +1 -0
- package/dist/cjs/react-utils/usePersistedQuery/usePersistedQuery.js +67 -0
- package/dist/cjs/react-utils/usePersistedQuery/usePersistedQuery.js.map +1 -0
- package/dist/cjs/react-utils/usePrevious/index.js +9 -0
- package/dist/cjs/react-utils/usePrevious/index.js.map +1 -0
- package/dist/cjs/react-utils/usePrevious/usePrevious.js +14 -0
- package/dist/cjs/react-utils/usePrevious/usePrevious.js.map +1 -0
- package/dist/cjs/react-utils/useQueryParams/index.js +21 -0
- package/dist/cjs/react-utils/useQueryParams/index.js.map +1 -0
- package/dist/cjs/react-utils/useQueryParams/useQueryParams.js +23 -0
- package/dist/cjs/react-utils/useQueryParams/useQueryParams.js.map +1 -0
- package/dist/cjs/react-utils/useRegisterNavigationCheckpoint/index.js +29 -0
- package/dist/cjs/react-utils/useRegisterNavigationCheckpoint/index.js.map +1 -0
- package/dist/cjs/react-utils/useRegisterNavigationCheckpoint/useRegisterNavigationCheckpoint.js +85 -0
- package/dist/cjs/react-utils/useRegisterNavigationCheckpoint/useRegisterNavigationCheckpoint.js.map +1 -0
- package/dist/cjs/react-utils/useRestoreScrollPosition/index.js +18 -0
- package/dist/cjs/react-utils/useRestoreScrollPosition/index.js.map +1 -0
- package/dist/cjs/react-utils/useRestoreScrollPosition/useRestoreScrollPosition.js +70 -0
- package/dist/cjs/react-utils/useRestoreScrollPosition/useRestoreScrollPosition.js.map +1 -0
- package/dist/cjs/react-utils/useStateWithDependency/index.js +11 -0
- package/dist/cjs/react-utils/useStateWithDependency/index.js.map +1 -0
- package/dist/cjs/react-utils/useStateWithDependency/useStateWithDependency.js +20 -0
- package/dist/cjs/react-utils/useStateWithDependency/useStateWithDependency.js.map +1 -0
- package/dist/cjs/react-utils/useTimer/index.js +10 -0
- package/dist/cjs/react-utils/useTimer/index.js.map +1 -0
- package/dist/cjs/react-utils/useTimer/useTimer.js +43 -0
- package/dist/cjs/react-utils/useTimer/useTimer.js.map +1 -0
- package/dist/cjs/react-utils/useUpdateEffect/index.js +9 -0
- package/dist/cjs/react-utils/useUpdateEffect/index.js.map +1 -0
- package/dist/cjs/react-utils/useUpdateEffect/useUpdateEffect.js +18 -0
- package/dist/cjs/react-utils/useUpdateEffect/useUpdateEffect.js.map +1 -0
- package/dist/cjs/react-utils/withImmutableActions/index.js +9 -0
- package/dist/cjs/react-utils/withImmutableActions/index.js.map +1 -0
- package/dist/cjs/react-utils/withImmutableActions/withImmutableActions.js +26 -0
- package/dist/cjs/react-utils/withImmutableActions/withImmutableActions.js.map +1 -0
- package/dist/cjs/react-utils/withT/index.js +9 -0
- package/dist/cjs/react-utils/withT/index.js.map +1 -0
- package/dist/cjs/react-utils/withT/withT.js +11 -0
- package/dist/cjs/react-utils/withT/withT.js.map +1 -0
- package/dist/cjs/react-utils/withTitle/index.js +11 -0
- package/dist/cjs/react-utils/withTitle/index.js.map +1 -0
- package/dist/cjs/react-utils/withTitle/withTitle.js +24 -0
- package/dist/cjs/react-utils/withTitle/withTitle.js.map +1 -0
- package/dist/cjs/slicedToArray-c9e22c6a.js +48 -0
- package/dist/cjs/slicedToArray-c9e22c6a.js.map +1 -0
- package/dist/cjs/toConsumableArray-7afb7984.js +22 -0
- package/dist/cjs/toConsumableArray-7afb7984.js.map +1 -0
- package/dist/cjs/typeof-a861d137.js +14 -0
- package/dist/cjs/typeof-a861d137.js.map +1 -0
- package/dist/cjs/unsupportedIterableToArray-294d47a8.js +24 -0
- package/dist/cjs/unsupportedIterableToArray-294d47a8.js.map +1 -0
- package/dist/cjs/utils/axios.js +20 -0
- package/dist/cjs/utils/axios.js.map +1 -0
- package/dist/cjs/utils/buildNestedAttributesPayload.js +40 -0
- package/dist/cjs/utils/buildNestedAttributesPayload.js.map +1 -0
- package/dist/cjs/utils/captureAnalyticsEvent.js +14 -0
- package/dist/cjs/utils/captureAnalyticsEvent.js.map +1 -0
- package/dist/cjs/utils/captureAnalyticsPageView.js +19 -0
- package/dist/cjs/utils/captureAnalyticsPageView.js.map +1 -0
- package/dist/cjs/utils/createSubscription.js +32 -0
- package/dist/cjs/utils/createSubscription.js.map +1 -0
- package/dist/cjs/utils/currencyFormat.js +53 -0
- package/dist/cjs/utils/currencyFormat.js.map +1 -0
- package/dist/cjs/utils/datetime.js +69 -0
- package/dist/cjs/utils/datetime.js.map +1 -0
- package/dist/cjs/utils/dayjs.js +12 -0
- package/dist/cjs/utils/dayjs.js.map +1 -0
- package/dist/cjs/utils/general.js +231 -0
- package/dist/cjs/utils/general.js.map +1 -0
- package/dist/cjs/utils/index.js +72 -0
- package/dist/cjs/utils/index.js.map +1 -0
- package/dist/cjs/utils/permissions.js +26 -0
- package/dist/cjs/utils/permissions.js.map +1 -0
- package/dist/cjs/utils/validators/index.js +13 -0
- package/dist/cjs/utils/validators/index.js.map +1 -0
- package/dist/cjs/utils/validators/slug.js +75 -0
- package/dist/cjs/utils/validators/slug.js.map +1 -0
- package/dist/constants/index.js +17 -0
- package/dist/constants/index.js.map +1 -0
- package/dist/constants/regex.js +6 -0
- package/dist/constants/regex.js.map +1 -0
- package/dist/cypress-utils/.eslintrc.js +38 -0
- package/dist/cypress-utils/.eslintrc.js.map +1 -0
- package/dist/cypress-utils/commands.js +286 -0
- package/dist/cypress-utils/commands.js.map +1 -0
- package/dist/cypress-utils/constants/index.js +9 -0
- package/dist/cypress-utils/constants/index.js.map +1 -0
- package/dist/cypress-utils/constants/routes.js +37 -0
- package/dist/cypress-utils/constants/routes.js.map +1 -0
- package/dist/cypress-utils/constants/selectors/common.js +99 -0
- package/dist/cypress-utils/constants/selectors/common.js.map +1 -0
- package/dist/cypress-utils/constants/selectors/editor.js +27 -0
- package/dist/cypress-utils/constants/selectors/editor.js.map +1 -0
- package/dist/cypress-utils/constants/selectors/ipRestriction.js +17 -0
- package/dist/cypress-utils/constants/selectors/ipRestriction.js.map +1 -0
- package/dist/cypress-utils/constants/selectors/login.js +19 -0
- package/dist/cypress-utils/constants/selectors/login.js.map +1 -0
- package/dist/cypress-utils/constants/selectors/member.js +62 -0
- package/dist/cypress-utils/constants/selectors/member.js.map +1 -0
- package/dist/cypress-utils/constants/selectors/navigation.js +25 -0
- package/dist/cypress-utils/constants/selectors/navigation.js.map +1 -0
- package/dist/cypress-utils/constants/selectors/roles.js +20 -0
- package/dist/cypress-utils/constants/selectors/roles.js.map +1 -0
- package/dist/cypress-utils/constants/selectors/signUp.js +21 -0
- package/dist/cypress-utils/constants/selectors/signUp.js.map +1 -0
- package/dist/cypress-utils/constants/selectors/tags.js +28 -0
- package/dist/cypress-utils/constants/selectors/tags.js.map +1 -0
- package/dist/cypress-utils/constants/texts/common.js +35 -0
- package/dist/cypress-utils/constants/texts/common.js.map +1 -0
- package/dist/cypress-utils/constants/texts/member.js +61 -0
- package/dist/cypress-utils/constants/texts/member.js.map +1 -0
- package/dist/cypress-utils/constants/texts/navigation.js +18 -0
- package/dist/cypress-utils/constants/texts/navigation.js.map +1 -0
- package/dist/cypress-utils/constants/texts/roles.js +20 -0
- package/dist/cypress-utils/constants/texts/roles.js.map +1 -0
- package/dist/cypress-utils/constants/texts/signUp.js +9 -0
- package/dist/cypress-utils/constants/texts/signUp.js.map +1 -0
- package/dist/cypress-utils/constants/texts/tags.js +23 -0
- package/dist/cypress-utils/constants/texts/tags.js.map +1 -0
- package/dist/cypress-utils/fixtures/fake.js +173 -0
- package/dist/cypress-utils/fixtures/fake.js.map +1 -0
- package/dist/cypress-utils/index.js +28 -0
- package/dist/cypress-utils/index.js.map +1 -0
- package/dist/cypress-utils/jsconfig.js +26 -0
- package/dist/cypress-utils/jsconfig.js.map +1 -0
- package/dist/cypress-utils/utils/authentication.js +47 -0
- package/dist/cypress-utils/utils/authentication.js.map +1 -0
- package/dist/cypress-utils/utils/common.js +77 -0
- package/dist/cypress-utils/utils/common.js.map +1 -0
- package/dist/cypress-utils/utils/date.js +23 -0
- package/dist/cypress-utils/utils/date.js.map +1 -0
- package/dist/cypress-utils/utils/email.js +159 -0
- package/dist/cypress-utils/utils/email.js.map +1 -0
- package/dist/cypress-utils/utils/member.js +350 -0
- package/dist/cypress-utils/utils/member.js.map +1 -0
- package/dist/cypress-utils/utils/navigation.js +211 -0
- package/dist/cypress-utils/utils/navigation.js.map +1 -0
- package/dist/cypress-utils/utils/organization.js +107 -0
- package/dist/cypress-utils/utils/organization.js.map +1 -0
- package/dist/cypress-utils/utils/validation.js +16 -0
- package/dist/cypress-utils/utils/validation.js.map +1 -0
- package/dist/defineProperty-18999f8e.js +17 -0
- package/dist/defineProperty-18999f8e.js.map +1 -0
- package/dist/index-fa7de82b.js +440 -0
- package/dist/index-fa7de82b.js.map +1 -0
- package/dist/initializers/axios.js +17 -0
- package/dist/initializers/axios.js.map +1 -0
- package/dist/initializers/axiosInitializer/index.js +272 -0
- package/dist/initializers/axiosInitializer/index.js.map +1 -0
- package/dist/initializers/axiosInitializer/paramsSerializer.js +15 -0
- package/dist/initializers/axiosInitializer/paramsSerializer.js.map +1 -0
- package/dist/initializers/constants.js +17 -0
- package/dist/initializers/constants.js.map +1 -0
- package/dist/initializers/dayjs.js +59 -0
- package/dist/initializers/dayjs.js.map +1 -0
- package/dist/initializers/globalProps.js +14 -0
- package/dist/initializers/globalProps.js.map +1 -0
- package/dist/initializers/i18n.js +607 -0
- package/dist/initializers/i18n.js.map +1 -0
- package/dist/initializers/index.js +74 -0
- package/dist/initializers/index.js.map +1 -0
- package/dist/initializers/logger.js +13 -0
- package/dist/initializers/logger.js.map +1 -0
- package/dist/initializers/mixpanel.js +28 -0
- package/dist/initializers/mixpanel.js.map +1 -0
- package/dist/initializers/reactDevTools.js +22 -0
- package/dist/initializers/reactDevTools.js.map +1 -0
- package/dist/initializers/utils/customFormatters.js +46 -0
- package/dist/initializers/utils/customFormatters.js.map +1 -0
- package/dist/initializers/utils/customPostProcessors.js +17 -0
- package/dist/initializers/utils/customPostProcessors.js.map +1 -0
- package/dist/initializers/utils/utils.js +33 -0
- package/dist/initializers/utils/utils.js.map +1 -0
- package/dist/mixpanel.cjs-55fbae33.js +6344 -0
- package/dist/mixpanel.cjs-55fbae33.js.map +1 -0
- package/dist/objectWithoutProperties-00c72f1d.js +36 -0
- package/dist/objectWithoutProperties-00c72f1d.js.map +1 -0
- package/dist/react-utils/AppContainer/AppContainer.js +55 -0
- package/dist/react-utils/AppContainer/AppContainer.js.map +1 -0
- package/dist/react-utils/AppContainer/index.js +25 -0
- package/dist/react-utils/AppContainer/index.js.map +1 -0
- package/dist/react-utils/BrowserPushNotifications/devices.js +21 -0
- package/dist/react-utils/BrowserPushNotifications/devices.js.map +1 -0
- package/dist/react-utils/BrowserPushNotifications/index.js +7 -0
- package/dist/react-utils/BrowserPushNotifications/index.js.map +1 -0
- package/dist/react-utils/BrowserPushNotifications/pushHelper.js +107 -0
- package/dist/react-utils/BrowserPushNotifications/pushHelper.js.map +1 -0
- package/dist/react-utils/BrowserPushNotifications/registerServiceWorker.js +140 -0
- package/dist/react-utils/BrowserPushNotifications/registerServiceWorker.js.map +1 -0
- package/dist/react-utils/HoneybadgerErrorBoundary/FallbackComponent.js +100 -0
- package/dist/react-utils/HoneybadgerErrorBoundary/FallbackComponent.js.map +1 -0
- package/dist/react-utils/HoneybadgerErrorBoundary/HoneybadgerErrorBoundary.js +58 -0
- package/dist/react-utils/HoneybadgerErrorBoundary/HoneybadgerErrorBoundary.js.map +1 -0
- package/dist/react-utils/HoneybadgerErrorBoundary/constants.js +5 -0
- package/dist/react-utils/HoneybadgerErrorBoundary/constants.js.map +1 -0
- package/dist/react-utils/HoneybadgerErrorBoundary/index.js +14 -0
- package/dist/react-utils/HoneybadgerErrorBoundary/index.js.map +1 -0
- package/dist/react-utils/HoneybadgerErrorBoundary/utils.js +11 -0
- package/dist/react-utils/HoneybadgerErrorBoundary/utils.js.map +1 -0
- package/dist/react-utils/PageTitle/PageTitle.js +16 -0
- package/dist/react-utils/PageTitle/PageTitle.js.map +1 -0
- package/dist/react-utils/PageTitle/index.js +5 -0
- package/dist/react-utils/PageTitle/index.js.map +1 -0
- package/dist/react-utils/PrivateRoute/PrivateRoute.js +42 -0
- package/dist/react-utils/PrivateRoute/PrivateRoute.js.map +1 -0
- package/dist/react-utils/PrivateRoute/index.js +8 -0
- package/dist/react-utils/PrivateRoute/index.js.map +1 -0
- package/dist/react-utils/QueryClientProvider/QueryClientProvider.js +16 -0
- package/dist/react-utils/QueryClientProvider/QueryClientProvider.js.map +1 -0
- package/dist/react-utils/QueryClientProvider/index.js +7 -0
- package/dist/react-utils/QueryClientProvider/index.js.map +1 -0
- package/dist/react-utils/QueryClientProvider/queryClient.js +17 -0
- package/dist/react-utils/QueryClientProvider/queryClient.js.map +1 -0
- package/dist/react-utils/constants/constants.js +6 -0
- package/dist/react-utils/constants/constants.js.map +1 -0
- package/dist/react-utils/constants/index.js +3 -0
- package/dist/react-utils/constants/index.js.map +1 -0
- package/dist/react-utils/constants/query.js +6 -0
- package/dist/react-utils/constants/query.js.map +1 -0
- package/dist/react-utils/index.js +80 -0
- package/dist/react-utils/index.js.map +1 -0
- package/dist/react-utils/metaClick/index.js +3 -0
- package/dist/react-utils/metaClick/index.js.map +1 -0
- package/dist/react-utils/metaClick/metaClick.js +18 -0
- package/dist/react-utils/metaClick/metaClick.js.map +1 -0
- package/dist/react-utils/useBreakpoints/index.js +18 -0
- package/dist/react-utils/useBreakpoints/index.js.map +1 -0
- package/dist/react-utils/useBreakpoints/utils.js +26 -0
- package/dist/react-utils/useBreakpoints/utils.js.map +1 -0
- package/dist/react-utils/useDebounce/index.js +5 -0
- package/dist/react-utils/useDebounce/index.js.map +1 -0
- package/dist/react-utils/useDebounce/useDebounce.js +23 -0
- package/dist/react-utils/useDebounce/useDebounce.js.map +1 -0
- package/dist/react-utils/useDisplayErrorPage/index.js +4 -0
- package/dist/react-utils/useDisplayErrorPage/index.js.map +1 -0
- package/dist/react-utils/useDisplayErrorPage/useDisplayErrorPage.js +17 -0
- package/dist/react-utils/useDisplayErrorPage/useDisplayErrorPage.js.map +1 -0
- package/dist/react-utils/useFetchNeetoApps/apis/neeto_apps.js +11 -0
- package/dist/react-utils/useFetchNeetoApps/apis/neeto_apps.js.map +1 -0
- package/dist/react-utils/useFetchNeetoApps/index.js +21 -0
- package/dist/react-utils/useFetchNeetoApps/index.js.map +1 -0
- package/dist/react-utils/useFetchNeetoApps/useFetchNeetoApps.js +37 -0
- package/dist/react-utils/useFetchNeetoApps/useFetchNeetoApps.js.map +1 -0
- package/dist/react-utils/useFieldSubmit/index.js +3 -0
- package/dist/react-utils/useFieldSubmit/index.js.map +1 -0
- package/dist/react-utils/useFieldSubmit/useFieldSubmit.js +28 -0
- package/dist/react-utils/useFieldSubmit/useFieldSubmit.js.map +1 -0
- package/dist/react-utils/useFuncDebounce/index.js +3 -0
- package/dist/react-utils/useFuncDebounce/index.js.map +1 -0
- package/dist/react-utils/useFuncDebounce/useFuncDebounce.js +22 -0
- package/dist/react-utils/useFuncDebounce/useFuncDebounce.js.map +1 -0
- package/dist/react-utils/useIsElementVisibleInDom/index.js +6 -0
- package/dist/react-utils/useIsElementVisibleInDom/index.js.map +1 -0
- package/dist/react-utils/useIsElementVisibleInDom/useForceUpdate.js +18 -0
- package/dist/react-utils/useIsElementVisibleInDom/useForceUpdate.js.map +1 -0
- package/dist/react-utils/useIsElementVisibleInDom/useIsElementVisibleInDom.js +29 -0
- package/dist/react-utils/useIsElementVisibleInDom/useIsElementVisibleInDom.js.map +1 -0
- package/dist/react-utils/useKeyboardShortcutsPaneState/index.js +4 -0
- package/dist/react-utils/useKeyboardShortcutsPaneState/index.js.map +1 -0
- package/dist/react-utils/useKeyboardShortcutsPaneState/useKeyboardShortcutsPaneState.js +31 -0
- package/dist/react-utils/useKeyboardShortcutsPaneState/useKeyboardShortcutsPaneState.js.map +1 -0
- package/dist/react-utils/useLocalStorage/index.js +22 -0
- package/dist/react-utils/useLocalStorage/index.js.map +1 -0
- package/dist/react-utils/useLocalStorage/useLocalStorage.js +53 -0
- package/dist/react-utils/useLocalStorage/useLocalStorage.js.map +1 -0
- package/dist/react-utils/useMutationWithInvalidation/index.js +6 -0
- package/dist/react-utils/useMutationWithInvalidation/index.js.map +1 -0
- package/dist/react-utils/useMutationWithInvalidation/useMutationWithInvalidation.js +39 -0
- package/dist/react-utils/useMutationWithInvalidation/useMutationWithInvalidation.js.map +1 -0
- package/dist/react-utils/useOnClickOutside/index.js +3 -0
- package/dist/react-utils/useOnClickOutside/index.js.map +1 -0
- package/dist/react-utils/useOnClickOutside/useOnClickOutside.js +27 -0
- package/dist/react-utils/useOnClickOutside/useOnClickOutside.js.map +1 -0
- package/dist/react-utils/usePersistedQuery/index.js +17 -0
- package/dist/react-utils/usePersistedQuery/index.js.map +1 -0
- package/dist/react-utils/usePersistedQuery/usePersistedQuery.js +65 -0
- package/dist/react-utils/usePersistedQuery/usePersistedQuery.js.map +1 -0
- package/dist/react-utils/usePrevious/index.js +3 -0
- package/dist/react-utils/usePrevious/index.js.map +1 -0
- package/dist/react-utils/usePrevious/usePrevious.js +12 -0
- package/dist/react-utils/usePrevious/usePrevious.js.map +1 -0
- package/dist/react-utils/useQueryParams/index.js +15 -0
- package/dist/react-utils/useQueryParams/index.js.map +1 -0
- package/dist/react-utils/useQueryParams/useQueryParams.js +21 -0
- package/dist/react-utils/useQueryParams/useQueryParams.js.map +1 -0
- package/dist/react-utils/useRegisterNavigationCheckpoint/index.js +19 -0
- package/dist/react-utils/useRegisterNavigationCheckpoint/index.js.map +1 -0
- package/dist/react-utils/useRegisterNavigationCheckpoint/useRegisterNavigationCheckpoint.js +79 -0
- package/dist/react-utils/useRegisterNavigationCheckpoint/useRegisterNavigationCheckpoint.js.map +1 -0
- package/dist/react-utils/useRestoreScrollPosition/index.js +7 -0
- package/dist/react-utils/useRestoreScrollPosition/index.js.map +1 -0
- package/dist/react-utils/useRestoreScrollPosition/useRestoreScrollPosition.js +63 -0
- package/dist/react-utils/useRestoreScrollPosition/useRestoreScrollPosition.js.map +1 -0
- package/dist/react-utils/useStateWithDependency/index.js +5 -0
- package/dist/react-utils/useStateWithDependency/index.js.map +1 -0
- package/dist/react-utils/useStateWithDependency/useStateWithDependency.js +18 -0
- package/dist/react-utils/useStateWithDependency/useStateWithDependency.js.map +1 -0
- package/dist/react-utils/useTimer/index.js +4 -0
- package/dist/react-utils/useTimer/index.js.map +1 -0
- package/dist/react-utils/useTimer/useTimer.js +41 -0
- package/dist/react-utils/useTimer/useTimer.js.map +1 -0
- package/dist/react-utils/useUpdateEffect/index.js +3 -0
- package/dist/react-utils/useUpdateEffect/index.js.map +1 -0
- package/dist/react-utils/useUpdateEffect/useUpdateEffect.js +16 -0
- package/dist/react-utils/useUpdateEffect/useUpdateEffect.js.map +1 -0
- package/dist/react-utils/withImmutableActions/index.js +3 -0
- package/dist/react-utils/withImmutableActions/index.js.map +1 -0
- package/dist/react-utils/withImmutableActions/withImmutableActions.js +24 -0
- package/dist/react-utils/withImmutableActions/withImmutableActions.js.map +1 -0
- package/dist/react-utils/withT/index.js +3 -0
- package/dist/react-utils/withT/index.js.map +1 -0
- package/dist/react-utils/withT/withT.js +9 -0
- package/dist/react-utils/withT/withT.js.map +1 -0
- package/dist/react-utils/withTitle/index.js +5 -0
- package/dist/react-utils/withTitle/index.js.map +1 -0
- package/dist/react-utils/withTitle/withTitle.js +22 -0
- package/dist/react-utils/withTitle/withTitle.js.map +1 -0
- package/dist/slicedToArray-5531a6cb.js +46 -0
- package/dist/slicedToArray-5531a6cb.js.map +1 -0
- package/dist/toConsumableArray-7f764fb5.js +20 -0
- package/dist/toConsumableArray-7f764fb5.js.map +1 -0
- package/dist/typeof-92b42de1.js +12 -0
- package/dist/typeof-92b42de1.js.map +1 -0
- package/dist/unsupportedIterableToArray-577176bf.js +21 -0
- package/dist/unsupportedIterableToArray-577176bf.js.map +1 -0
- package/dist/utils/axios.js +12 -0
- package/dist/utils/axios.js.map +1 -0
- package/dist/utils/buildNestedAttributesPayload.js +36 -0
- package/dist/utils/buildNestedAttributesPayload.js.map +1 -0
- package/dist/utils/captureAnalyticsEvent.js +10 -0
- package/dist/utils/captureAnalyticsEvent.js.map +1 -0
- package/dist/utils/captureAnalyticsPageView.js +15 -0
- package/dist/utils/captureAnalyticsPageView.js.map +1 -0
- package/dist/utils/createSubscription.js +28 -0
- package/dist/utils/createSubscription.js.map +1 -0
- package/dist/utils/currencyFormat.js +45 -0
- package/dist/utils/currencyFormat.js.map +1 -0
- package/dist/utils/datetime.js +60 -0
- package/dist/utils/datetime.js.map +1 -0
- package/dist/utils/dayjs.js +3 -0
- package/dist/utils/dayjs.js.map +1 -0
- package/dist/utils/general.js +208 -0
- package/dist/utils/general.js.map +1 -0
- package/dist/utils/index.js +30 -0
- package/dist/utils/index.js.map +1 -0
- package/dist/utils/permissions.js +20 -0
- package/dist/utils/permissions.js.map +1 -0
- package/dist/utils/validators/index.js +5 -0
- package/dist/utils/validators/index.js.map +1 -0
- package/dist/utils/validators/slug.js +51 -0
- package/dist/utils/validators/slug.js.map +1 -0
- package/package.json +154 -20
- package/types.d.ts +54 -0
- package/assets/stylesheets/app-container.css +0 -3
- package/cjs/assets/stylesheets/app-container.css +0 -3
- package/cjs/configs/babel.js +0 -57
- package/cjs/configs/constants.js +0 -93
- package/cjs/configs/eslint/globals.js +0 -14
- package/cjs/configs/eslint/helpers/index.js +0 -74
- package/cjs/configs/eslint/imports/enforced.js +0 -29
- package/cjs/configs/eslint/imports/order.js +0 -65
- package/cjs/configs/eslint/index.js +0 -171
- package/cjs/configs/eslint/overrides.js +0 -26
- package/cjs/configs/eslint/promise.js +0 -8
- package/cjs/configs/eslint/react.js +0 -90
- package/cjs/configs/nanos/eslint/imports/order.js +0 -25
- package/cjs/configs/nanos/eslint/index.js +0 -28
- package/cjs/configs/nanos/tailwind.js +0 -7
- package/cjs/configs/nanos/webpack/resolve.js +0 -54
- package/cjs/configs/nextjs/eslint/imports/order.js +0 -25
- package/cjs/configs/nextjs/eslint/index.js +0 -22
- package/cjs/configs/nextjs/webpack/resolve.js +0 -1
- package/cjs/configs/prettier.js +0 -16
- package/cjs/configs/scripts/dead-code-eliminator/constants.js +0 -21
- package/cjs/configs/scripts/dead-code-eliminator/index.js +0 -268
- package/cjs/configs/scripts/getPkgTranslations.js +0 -45
- package/cjs/configs/scripts/jsdoc-builder/constants.mjs +0 -42
- package/cjs/configs/scripts/jsdoc-builder/index.mjs +0 -67
- package/cjs/configs/scripts/jsdoc-builder/utils.mjs +0 -219
- package/cjs/configs/scripts/remove-unused-translation-keys/constants.js +0 -11
- package/cjs/configs/scripts/remove-unused-translation-keys/index.js +0 -186
- package/cjs/configs/tailwind.js +0 -9
- package/cjs/configs/utils.js +0 -82
- package/cjs/configs/webpack/helpers/customize-default-rules.js +0 -54
- package/cjs/configs/webpack/index.js +0 -106
- package/cjs/configs/webpack/resolve.js +0 -54
- package/cjs/configs/webpack/rules.js +0 -34
- package/cjs/constants/index.js +0 -39
- package/cjs/constants/index.js.map +0 -1
- package/cjs/constants/regex.js +0 -10
- package/cjs/constants/regex.js.map +0 -1
- package/cjs/cypress-configs/initializer.js +0 -32
- package/cjs/cypress-configs/plugins.js +0 -114
- package/cjs/cypress-configs/resolve.js +0 -17
- package/cjs/cypress-configs/webpack.config.js +0 -19
- package/cjs/cypress-utils/commands.js +0 -288
- package/cjs/cypress-utils/commands.js.map +0 -1
- package/cjs/cypress-utils/constants/index.js +0 -13
- package/cjs/cypress-utils/constants/index.js.map +0 -1
- package/cjs/cypress-utils/constants/routes.js +0 -38
- package/cjs/cypress-utils/constants/routes.js.map +0 -1
- package/cjs/cypress-utils/constants/selectors/common.js +0 -100
- package/cjs/cypress-utils/constants/selectors/common.js.map +0 -1
- package/cjs/cypress-utils/constants/selectors/editor.js +0 -28
- package/cjs/cypress-utils/constants/selectors/editor.js.map +0 -1
- package/cjs/cypress-utils/constants/selectors/ipRestriction.js +0 -18
- package/cjs/cypress-utils/constants/selectors/ipRestriction.js.map +0 -1
- package/cjs/cypress-utils/constants/selectors/login.js +0 -20
- package/cjs/cypress-utils/constants/selectors/login.js.map +0 -1
- package/cjs/cypress-utils/constants/selectors/member.js +0 -63
- package/cjs/cypress-utils/constants/selectors/member.js.map +0 -1
- package/cjs/cypress-utils/constants/selectors/navigation.js +0 -26
- package/cjs/cypress-utils/constants/selectors/navigation.js.map +0 -1
- package/cjs/cypress-utils/constants/selectors/roles.js +0 -23
- package/cjs/cypress-utils/constants/selectors/roles.js.map +0 -1
- package/cjs/cypress-utils/constants/selectors/signUp.js +0 -22
- package/cjs/cypress-utils/constants/selectors/signUp.js.map +0 -1
- package/cjs/cypress-utils/constants/selectors/tags.js +0 -29
- package/cjs/cypress-utils/constants/selectors/tags.js.map +0 -1
- package/cjs/cypress-utils/constants/texts/common.js +0 -39
- package/cjs/cypress-utils/constants/texts/common.js.map +0 -1
- package/cjs/cypress-utils/constants/texts/member.js +0 -65
- package/cjs/cypress-utils/constants/texts/member.js.map +0 -1
- package/cjs/cypress-utils/constants/texts/navigation.js +0 -22
- package/cjs/cypress-utils/constants/texts/navigation.js.map +0 -1
- package/cjs/cypress-utils/constants/texts/roles.js +0 -24
- package/cjs/cypress-utils/constants/texts/roles.js.map +0 -1
- package/cjs/cypress-utils/constants/texts/signUp.js +0 -13
- package/cjs/cypress-utils/constants/texts/signUp.js.map +0 -1
- package/cjs/cypress-utils/constants/texts/tags.js +0 -27
- package/cjs/cypress-utils/constants/texts/tags.js.map +0 -1
- package/cjs/cypress-utils/fixtures/fake.js +0 -176
- package/cjs/cypress-utils/fixtures/fake.js.map +0 -1
- package/cjs/cypress-utils/index.js +0 -226
- package/cjs/cypress-utils/index.js.map +0 -1
- package/cjs/cypress-utils/utils/authentication.js +0 -44
- package/cjs/cypress-utils/utils/authentication.js.map +0 -1
- package/cjs/cypress-utils/utils/common.js +0 -81
- package/cjs/cypress-utils/utils/common.js.map +0 -1
- package/cjs/cypress-utils/utils/date.js +0 -27
- package/cjs/cypress-utils/utils/date.js.map +0 -1
- package/cjs/cypress-utils/utils/email.js +0 -163
- package/cjs/cypress-utils/utils/email.js.map +0 -1
- package/cjs/cypress-utils/utils/member.js +0 -353
- package/cjs/cypress-utils/utils/member.js.map +0 -1
- package/cjs/cypress-utils/utils/navigation.js +0 -212
- package/cjs/cypress-utils/utils/navigation.js.map +0 -1
- package/cjs/cypress-utils/utils/organization.js +0 -108
- package/cjs/cypress-utils/utils/organization.js.map +0 -1
- package/cjs/cypress-utils/utils/validation.js +0 -16
- package/cjs/cypress-utils/utils/validation.js.map +0 -1
- package/cjs/initializers/axios.js +0 -10
- package/cjs/initializers/axios.js.map +0 -1
- package/cjs/initializers/axiosInitializer/index.js +0 -276
- package/cjs/initializers/axiosInitializer/index.js.map +0 -1
- package/cjs/initializers/axiosInitializer/paramsSerializer.js +0 -21
- package/cjs/initializers/axiosInitializer/paramsSerializer.js.map +0 -1
- package/cjs/initializers/constants.js +0 -21
- package/cjs/initializers/constants.js.map +0 -1
- package/cjs/initializers/dayjs.js +0 -65
- package/cjs/initializers/dayjs.js.map +0 -1
- package/cjs/initializers/globalProps.js +0 -18
- package/cjs/initializers/globalProps.js.map +0 -1
- package/cjs/initializers/i18n.js +0 -72
- package/cjs/initializers/i18n.js.map +0 -1
- package/cjs/initializers/index.js +0 -56
- package/cjs/initializers/index.js.map +0 -1
- package/cjs/initializers/logger.js +0 -17
- package/cjs/initializers/logger.js.map +0 -1
- package/cjs/initializers/mixpanel.js +0 -31
- package/cjs/initializers/mixpanel.js.map +0 -1
- package/cjs/initializers/reactDevTools.js +0 -26
- package/cjs/initializers/reactDevTools.js.map +0 -1
- package/cjs/initializers/utils/customFormatters.js +0 -50
- package/cjs/initializers/utils/customFormatters.js.map +0 -1
- package/cjs/initializers/utils/customPostProcessors.js +0 -20
- package/cjs/initializers/utils/customPostProcessors.js.map +0 -1
- package/cjs/initializers/utils/utils.js +0 -36
- package/cjs/initializers/utils/utils.js.map +0 -1
- package/cjs/react-utils/AppContainer/AppContainer.js +0 -42
- package/cjs/react-utils/AppContainer/AppContainer.js.map +0 -1
- package/cjs/react-utils/AppContainer/index.js +0 -14
- package/cjs/react-utils/AppContainer/index.js.map +0 -1
- package/cjs/react-utils/BrowserPushNotifications/devices.js +0 -29
- package/cjs/react-utils/BrowserPushNotifications/devices.js.map +0 -1
- package/cjs/react-utils/BrowserPushNotifications/index.js +0 -19
- package/cjs/react-utils/BrowserPushNotifications/index.js.map +0 -1
- package/cjs/react-utils/BrowserPushNotifications/pushHelper.js +0 -114
- package/cjs/react-utils/BrowserPushNotifications/pushHelper.js.map +0 -1
- package/cjs/react-utils/BrowserPushNotifications/registerServiceWorker.js +0 -144
- package/cjs/react-utils/BrowserPushNotifications/registerServiceWorker.js.map +0 -1
- package/cjs/react-utils/HoneybadgerErrorBoundary/FallbackComponent.js +0 -108
- package/cjs/react-utils/HoneybadgerErrorBoundary/FallbackComponent.js.map +0 -1
- package/cjs/react-utils/HoneybadgerErrorBoundary/HoneybadgerErrorBoundary.js +0 -56
- package/cjs/react-utils/HoneybadgerErrorBoundary/HoneybadgerErrorBoundary.js.map +0 -1
- package/cjs/react-utils/HoneybadgerErrorBoundary/constants.js +0 -9
- package/cjs/react-utils/HoneybadgerErrorBoundary/constants.js.map +0 -1
- package/cjs/react-utils/HoneybadgerErrorBoundary/index.js +0 -14
- package/cjs/react-utils/HoneybadgerErrorBoundary/index.js.map +0 -1
- package/cjs/react-utils/HoneybadgerErrorBoundary/utils.js +0 -15
- package/cjs/react-utils/HoneybadgerErrorBoundary/utils.js.map +0 -1
- package/cjs/react-utils/PageTitle/PageTitle.js +0 -21
- package/cjs/react-utils/PageTitle/PageTitle.js.map +0 -1
- package/cjs/react-utils/PageTitle/index.js +0 -14
- package/cjs/react-utils/PageTitle/index.js.map +0 -1
- package/cjs/react-utils/PrivateRoute/PrivateRoute.js +0 -48
- package/cjs/react-utils/PrivateRoute/PrivateRoute.js.map +0 -1
- package/cjs/react-utils/PrivateRoute/index.js +0 -14
- package/cjs/react-utils/PrivateRoute/index.js.map +0 -1
- package/cjs/react-utils/QueryClientProvider/QueryClientProvider.js +0 -19
- package/cjs/react-utils/QueryClientProvider/QueryClientProvider.js.map +0 -1
- package/cjs/react-utils/QueryClientProvider/index.js +0 -21
- package/cjs/react-utils/QueryClientProvider/index.js.map +0 -1
- package/cjs/react-utils/QueryClientProvider/queryClient.js +0 -22
- package/cjs/react-utils/QueryClientProvider/queryClient.js.map +0 -1
- package/cjs/react-utils/constants/constants.js +0 -10
- package/cjs/react-utils/constants/constants.js.map +0 -1
- package/cjs/react-utils/constants/index.js +0 -28
- package/cjs/react-utils/constants/index.js.map +0 -1
- package/cjs/react-utils/constants/query.js +0 -10
- package/cjs/react-utils/constants/query.js.map +0 -1
- package/cjs/react-utils/index.js +0 -296
- package/cjs/react-utils/index.js.map +0 -1
- package/cjs/react-utils/metaClick/index.js +0 -17
- package/cjs/react-utils/metaClick/index.js.map +0 -1
- package/cjs/react-utils/metaClick/metaClick.js +0 -22
- package/cjs/react-utils/metaClick/metaClick.js.map +0 -1
- package/cjs/react-utils/useBreakpoints/index.js +0 -22
- package/cjs/react-utils/useBreakpoints/index.js.map +0 -1
- package/cjs/react-utils/useBreakpoints/utils.js +0 -30
- package/cjs/react-utils/useBreakpoints/utils.js.map +0 -1
- package/cjs/react-utils/useDebounce/index.js +0 -14
- package/cjs/react-utils/useDebounce/index.js.map +0 -1
- package/cjs/react-utils/useDebounce/useDebounce.js +0 -27
- package/cjs/react-utils/useDebounce/useDebounce.js.map +0 -1
- package/cjs/react-utils/useDisplayErrorPage/index.js +0 -28
- package/cjs/react-utils/useDisplayErrorPage/index.js.map +0 -1
- package/cjs/react-utils/useDisplayErrorPage/useDisplayErrorPage.js +0 -22
- package/cjs/react-utils/useDisplayErrorPage/useDisplayErrorPage.js.map +0 -1
- package/cjs/react-utils/useFetchNeetoApps/apis/neeto_apps.js +0 -16
- package/cjs/react-utils/useFetchNeetoApps/apis/neeto_apps.js.map +0 -1
- package/cjs/react-utils/useFetchNeetoApps/index.js +0 -14
- package/cjs/react-utils/useFetchNeetoApps/index.js.map +0 -1
- package/cjs/react-utils/useFetchNeetoApps/useFetchNeetoApps.js +0 -29
- package/cjs/react-utils/useFetchNeetoApps/useFetchNeetoApps.js.map +0 -1
- package/cjs/react-utils/useFieldSubmit/index.js +0 -14
- package/cjs/react-utils/useFieldSubmit/index.js.map +0 -1
- package/cjs/react-utils/useFieldSubmit/useFieldSubmit.js +0 -32
- package/cjs/react-utils/useFieldSubmit/useFieldSubmit.js.map +0 -1
- package/cjs/react-utils/useFuncDebounce/index.js +0 -14
- package/cjs/react-utils/useFuncDebounce/index.js.map +0 -1
- package/cjs/react-utils/useFuncDebounce/useFuncDebounce.js +0 -26
- package/cjs/react-utils/useFuncDebounce/useFuncDebounce.js.map +0 -1
- package/cjs/react-utils/useIsElementVisibleInDom/index.js +0 -14
- package/cjs/react-utils/useIsElementVisibleInDom/index.js.map +0 -1
- package/cjs/react-utils/useIsElementVisibleInDom/useForceUpdate.js +0 -22
- package/cjs/react-utils/useIsElementVisibleInDom/useForceUpdate.js.map +0 -1
- package/cjs/react-utils/useIsElementVisibleInDom/useIsElementVisibleInDom.js +0 -33
- package/cjs/react-utils/useIsElementVisibleInDom/useIsElementVisibleInDom.js.map +0 -1
- package/cjs/react-utils/useKeyboardShortcutsPaneState/index.js +0 -14
- package/cjs/react-utils/useKeyboardShortcutsPaneState/index.js.map +0 -1
- package/cjs/react-utils/useKeyboardShortcutsPaneState/useKeyboardShortcutsPaneState.js +0 -35
- package/cjs/react-utils/useKeyboardShortcutsPaneState/useKeyboardShortcutsPaneState.js.map +0 -1
- package/cjs/react-utils/useLocalStorage/index.js +0 -14
- package/cjs/react-utils/useLocalStorage/index.js.map +0 -1
- package/cjs/react-utils/useLocalStorage/useLocalStorage.js +0 -44
- package/cjs/react-utils/useLocalStorage/useLocalStorage.js.map +0 -1
- package/cjs/react-utils/useMutationWithInvalidation/index.js +0 -14
- package/cjs/react-utils/useMutationWithInvalidation/index.js.map +0 -1
- package/cjs/react-utils/useMutationWithInvalidation/useMutationWithInvalidation.js +0 -44
- package/cjs/react-utils/useMutationWithInvalidation/useMutationWithInvalidation.js.map +0 -1
- package/cjs/react-utils/useOnClickOutside/index.js +0 -14
- package/cjs/react-utils/useOnClickOutside/index.js.map +0 -1
- package/cjs/react-utils/useOnClickOutside/useOnClickOutside.js +0 -31
- package/cjs/react-utils/useOnClickOutside/useOnClickOutside.js.map +0 -1
- package/cjs/react-utils/usePersistedQuery/index.js +0 -14
- package/cjs/react-utils/usePersistedQuery/index.js.map +0 -1
- package/cjs/react-utils/usePersistedQuery/usePersistedQuery.js +0 -61
- package/cjs/react-utils/usePersistedQuery/usePersistedQuery.js.map +0 -1
- package/cjs/react-utils/usePrevious/index.js +0 -14
- package/cjs/react-utils/usePrevious/index.js.map +0 -1
- package/cjs/react-utils/usePrevious/usePrevious.js +0 -16
- package/cjs/react-utils/usePrevious/usePrevious.js.map +0 -1
- package/cjs/react-utils/useQueryParams/index.js +0 -14
- package/cjs/react-utils/useQueryParams/index.js.map +0 -1
- package/cjs/react-utils/useQueryParams/useQueryParams.js +0 -14
- package/cjs/react-utils/useQueryParams/useQueryParams.js.map +0 -1
- package/cjs/react-utils/useRegisterNavigationCheckpoint/index.js +0 -28
- package/cjs/react-utils/useRegisterNavigationCheckpoint/index.js.map +0 -1
- package/cjs/react-utils/useRegisterNavigationCheckpoint/useRegisterNavigationCheckpoint.js +0 -78
- package/cjs/react-utils/useRegisterNavigationCheckpoint/useRegisterNavigationCheckpoint.js.map +0 -1
- package/cjs/react-utils/useRestoreScrollPosition/index.js +0 -28
- package/cjs/react-utils/useRestoreScrollPosition/index.js.map +0 -1
- package/cjs/react-utils/useRestoreScrollPosition/useRestoreScrollPosition.js +0 -70
- package/cjs/react-utils/useRestoreScrollPosition/useRestoreScrollPosition.js.map +0 -1
- package/cjs/react-utils/useStateWithDependency/index.js +0 -14
- package/cjs/react-utils/useStateWithDependency/index.js.map +0 -1
- package/cjs/react-utils/useStateWithDependency/useStateWithDependency.js +0 -22
- package/cjs/react-utils/useStateWithDependency/useStateWithDependency.js.map +0 -1
- package/cjs/react-utils/useTimer/index.js +0 -14
- package/cjs/react-utils/useTimer/index.js.map +0 -1
- package/cjs/react-utils/useTimer/useTimer.js +0 -45
- package/cjs/react-utils/useTimer/useTimer.js.map +0 -1
- package/cjs/react-utils/useUpdateEffect/index.js +0 -14
- package/cjs/react-utils/useUpdateEffect/index.js.map +0 -1
- package/cjs/react-utils/useUpdateEffect/useUpdateEffect.js +0 -20
- package/cjs/react-utils/useUpdateEffect/useUpdateEffect.js.map +0 -1
- package/cjs/react-utils/withImmutableActions/index.js +0 -14
- package/cjs/react-utils/withImmutableActions/index.js.map +0 -1
- package/cjs/react-utils/withImmutableActions/withImmutableActions.js +0 -30
- package/cjs/react-utils/withImmutableActions/withImmutableActions.js.map +0 -1
- package/cjs/react-utils/withT/index.js +0 -14
- package/cjs/react-utils/withT/index.js.map +0 -1
- package/cjs/react-utils/withT/withT.js +0 -13
- package/cjs/react-utils/withT/withT.js.map +0 -1
- package/cjs/react-utils/withTitle/index.js +0 -14
- package/cjs/react-utils/withTitle/index.js.map +0 -1
- package/cjs/react-utils/withTitle/withTitle.js +0 -27
- package/cjs/react-utils/withTitle/withTitle.js.map +0 -1
- package/cjs/utils/axios.js +0 -16
- package/cjs/utils/axios.js.map +0 -1
- package/cjs/utils/buildNestedAttributesPayload.js +0 -39
- package/cjs/utils/buildNestedAttributesPayload.js.map +0 -1
- package/cjs/utils/captureAnalyticsEvent.js +0 -13
- package/cjs/utils/captureAnalyticsEvent.js.map +0 -1
- package/cjs/utils/captureAnalyticsPageView.js +0 -18
- package/cjs/utils/captureAnalyticsPageView.js.map +0 -1
- package/cjs/utils/createSubscription.js +0 -20
- package/cjs/utils/createSubscription.js.map +0 -1
- package/cjs/utils/currencyFormat.js +0 -49
- package/cjs/utils/currencyFormat.js.map +0 -1
- package/cjs/utils/datetime.js +0 -65
- package/cjs/utils/datetime.js.map +0 -1
- package/cjs/utils/dayjs.js +0 -24
- package/cjs/utils/dayjs.js.map +0 -1
- package/cjs/utils/general.js +0 -216
- package/cjs/utils/general.js.map +0 -1
- package/cjs/utils/index.js +0 -137
- package/cjs/utils/index.js.map +0 -1
- package/cjs/utils/permissions.js +0 -24
- package/cjs/utils/permissions.js.map +0 -1
- package/cjs/utils/validators/index.js +0 -17
- package/cjs/utils/validators/index.js.map +0 -1
- package/cjs/utils/validators/slug.js +0 -57
- package/cjs/utils/validators/slug.js.map +0 -1
- package/constants/index.js +0 -14
- package/constants/index.js.map +0 -1
- package/constants/regex.js +0 -4
- package/constants/regex.js.map +0 -1
- package/cypress-utils/commands.js +0 -281
- package/cypress-utils/commands.js.map +0 -1
- package/cypress-utils/constants/index.js +0 -7
- package/cypress-utils/constants/index.js.map +0 -1
- package/cypress-utils/constants/routes.js +0 -33
- package/cypress-utils/constants/routes.js.map +0 -1
- package/cypress-utils/constants/selectors/common.js +0 -94
- package/cypress-utils/constants/selectors/common.js.map +0 -1
- package/cypress-utils/constants/selectors/editor.js +0 -22
- package/cypress-utils/constants/selectors/editor.js.map +0 -1
- package/cypress-utils/constants/selectors/ipRestriction.js +0 -12
- package/cypress-utils/constants/selectors/ipRestriction.js.map +0 -1
- package/cypress-utils/constants/selectors/login.js +0 -14
- package/cypress-utils/constants/selectors/login.js.map +0 -1
- package/cypress-utils/constants/selectors/member.js +0 -57
- package/cypress-utils/constants/selectors/member.js.map +0 -1
- package/cypress-utils/constants/selectors/navigation.js +0 -20
- package/cypress-utils/constants/selectors/navigation.js.map +0 -1
- package/cypress-utils/constants/selectors/roles.js +0 -17
- package/cypress-utils/constants/selectors/roles.js.map +0 -1
- package/cypress-utils/constants/selectors/signUp.js +0 -16
- package/cypress-utils/constants/selectors/signUp.js.map +0 -1
- package/cypress-utils/constants/selectors/tags.js +0 -23
- package/cypress-utils/constants/selectors/tags.js.map +0 -1
- package/cypress-utils/constants/texts/common.js +0 -33
- package/cypress-utils/constants/texts/common.js.map +0 -1
- package/cypress-utils/constants/texts/member.js +0 -59
- package/cypress-utils/constants/texts/member.js.map +0 -1
- package/cypress-utils/constants/texts/navigation.js +0 -16
- package/cypress-utils/constants/texts/navigation.js.map +0 -1
- package/cypress-utils/constants/texts/roles.js +0 -18
- package/cypress-utils/constants/texts/roles.js.map +0 -1
- package/cypress-utils/constants/texts/signUp.js +0 -7
- package/cypress-utils/constants/texts/signUp.js.map +0 -1
- package/cypress-utils/constants/texts/tags.js +0 -21
- package/cypress-utils/constants/texts/tags.js.map +0 -1
- package/cypress-utils/fixtures/fake.js +0 -171
- package/cypress-utils/fixtures/fake.js.map +0 -1
- package/cypress-utils/index.js +0 -21
- package/cypress-utils/index.js.map +0 -1
- package/cypress-utils/utils/authentication.js +0 -38
- package/cypress-utils/utils/authentication.js.map +0 -1
- package/cypress-utils/utils/common.js +0 -75
- package/cypress-utils/utils/common.js.map +0 -1
- package/cypress-utils/utils/date.js +0 -20
- package/cypress-utils/utils/date.js.map +0 -1
- package/cypress-utils/utils/email.js +0 -156
- package/cypress-utils/utils/email.js.map +0 -1
- package/cypress-utils/utils/member.js +0 -346
- package/cypress-utils/utils/member.js.map +0 -1
- package/cypress-utils/utils/navigation.js +0 -205
- package/cypress-utils/utils/navigation.js.map +0 -1
- package/cypress-utils/utils/organization.js +0 -102
- package/cypress-utils/utils/organization.js.map +0 -1
- package/cypress-utils/utils/validation.js +0 -10
- package/cypress-utils/utils/validation.js.map +0 -1
- package/initializers/axios.js +0 -3
- package/initializers/axios.js.map +0 -1
- package/initializers/axiosInitializer/index.js +0 -269
- package/initializers/axiosInitializer/index.js.map +0 -1
- package/initializers/axiosInitializer/paramsSerializer.js +0 -13
- package/initializers/axiosInitializer/paramsSerializer.js.map +0 -1
- package/initializers/constants.js +0 -15
- package/initializers/constants.js.map +0 -1
- package/initializers/dayjs.js +0 -59
- package/initializers/dayjs.js.map +0 -1
- package/initializers/globalProps.js +0 -11
- package/initializers/globalProps.js.map +0 -1
- package/initializers/i18n.js +0 -67
- package/initializers/i18n.js.map +0 -1
- package/initializers/index.js +0 -34
- package/initializers/index.js.map +0 -1
- package/initializers/logger.js +0 -10
- package/initializers/logger.js.map +0 -1
- package/initializers/mixpanel.js +0 -24
- package/initializers/mixpanel.js.map +0 -1
- package/initializers/reactDevTools.js +0 -19
- package/initializers/reactDevTools.js.map +0 -1
- package/initializers/utils/customFormatters.js +0 -43
- package/initializers/utils/customFormatters.js.map +0 -1
- package/initializers/utils/customPostProcessors.js +0 -14
- package/initializers/utils/customPostProcessors.js.map +0 -1
- package/initializers/utils/utils.js +0 -30
- package/initializers/utils/utils.js.map +0 -1
- package/react-utils/AppContainer/AppContainer.js +0 -35
- package/react-utils/AppContainer/AppContainer.js.map +0 -1
- package/react-utils/AppContainer/index.js +0 -1
- package/react-utils/AppContainer/index.js.map +0 -1
- package/react-utils/BrowserPushNotifications/devices.js +0 -22
- package/react-utils/BrowserPushNotifications/devices.js.map +0 -1
- package/react-utils/BrowserPushNotifications/index.js +0 -1
- package/react-utils/BrowserPushNotifications/index.js.map +0 -1
- package/react-utils/BrowserPushNotifications/pushHelper.js +0 -107
- package/react-utils/BrowserPushNotifications/pushHelper.js.map +0 -1
- package/react-utils/BrowserPushNotifications/registerServiceWorker.js +0 -137
- package/react-utils/BrowserPushNotifications/registerServiceWorker.js.map +0 -1
- package/react-utils/HoneybadgerErrorBoundary/FallbackComponent.js +0 -99
- package/react-utils/HoneybadgerErrorBoundary/FallbackComponent.js.map +0 -1
- package/react-utils/HoneybadgerErrorBoundary/HoneybadgerErrorBoundary.js +0 -51
- package/react-utils/HoneybadgerErrorBoundary/HoneybadgerErrorBoundary.js.map +0 -1
- package/react-utils/HoneybadgerErrorBoundary/constants.js +0 -3
- package/react-utils/HoneybadgerErrorBoundary/constants.js.map +0 -1
- package/react-utils/HoneybadgerErrorBoundary/index.js +0 -1
- package/react-utils/HoneybadgerErrorBoundary/index.js.map +0 -1
- package/react-utils/HoneybadgerErrorBoundary/utils.js +0 -9
- package/react-utils/HoneybadgerErrorBoundary/utils.js.map +0 -1
- package/react-utils/PageTitle/PageTitle.js +0 -14
- package/react-utils/PageTitle/PageTitle.js.map +0 -1
- package/react-utils/PageTitle/index.js +0 -1
- package/react-utils/PageTitle/index.js.map +0 -1
- package/react-utils/PrivateRoute/PrivateRoute.js +0 -41
- package/react-utils/PrivateRoute/PrivateRoute.js.map +0 -1
- package/react-utils/PrivateRoute/index.js +0 -1
- package/react-utils/PrivateRoute/index.js.map +0 -1
- package/react-utils/QueryClientProvider/QueryClientProvider.js +0 -12
- package/react-utils/QueryClientProvider/QueryClientProvider.js.map +0 -1
- package/react-utils/QueryClientProvider/index.js +0 -3
- package/react-utils/QueryClientProvider/index.js.map +0 -1
- package/react-utils/QueryClientProvider/queryClient.js +0 -16
- package/react-utils/QueryClientProvider/queryClient.js.map +0 -1
- package/react-utils/constants/constants.js +0 -4
- package/react-utils/constants/constants.js.map +0 -1
- package/react-utils/constants/index.js +0 -3
- package/react-utils/constants/index.js.map +0 -1
- package/react-utils/constants/query.js +0 -4
- package/react-utils/constants/query.js.map +0 -1
- package/react-utils/index.js +0 -39
- package/react-utils/index.js.map +0 -1
- package/react-utils/metaClick/index.js +0 -1
- package/react-utils/metaClick/index.js.map +0 -1
- package/react-utils/metaClick/metaClick.js +0 -15
- package/react-utils/metaClick/metaClick.js.map +0 -1
- package/react-utils/useBreakpoints/index.js +0 -15
- package/react-utils/useBreakpoints/index.js.map +0 -1
- package/react-utils/useBreakpoints/utils.js +0 -23
- package/react-utils/useBreakpoints/utils.js.map +0 -1
- package/react-utils/useDebounce/index.js +0 -1
- package/react-utils/useDebounce/index.js.map +0 -1
- package/react-utils/useDebounce/useDebounce.js +0 -20
- package/react-utils/useDebounce/useDebounce.js.map +0 -1
- package/react-utils/useDisplayErrorPage/index.js +0 -3
- package/react-utils/useDisplayErrorPage/index.js.map +0 -1
- package/react-utils/useDisplayErrorPage/useDisplayErrorPage.js +0 -15
- package/react-utils/useDisplayErrorPage/useDisplayErrorPage.js.map +0 -1
- package/react-utils/useFetchNeetoApps/apis/neeto_apps.js +0 -9
- package/react-utils/useFetchNeetoApps/apis/neeto_apps.js.map +0 -1
- package/react-utils/useFetchNeetoApps/index.js +0 -1
- package/react-utils/useFetchNeetoApps/index.js.map +0 -1
- package/react-utils/useFetchNeetoApps/useFetchNeetoApps.js +0 -22
- package/react-utils/useFetchNeetoApps/useFetchNeetoApps.js.map +0 -1
- package/react-utils/useFieldSubmit/index.js +0 -1
- package/react-utils/useFieldSubmit/index.js.map +0 -1
- package/react-utils/useFieldSubmit/useFieldSubmit.js +0 -26
- package/react-utils/useFieldSubmit/useFieldSubmit.js.map +0 -1
- package/react-utils/useFuncDebounce/index.js +0 -1
- package/react-utils/useFuncDebounce/index.js.map +0 -1
- package/react-utils/useFuncDebounce/useFuncDebounce.js +0 -20
- package/react-utils/useFuncDebounce/useFuncDebounce.js.map +0 -1
- package/react-utils/useIsElementVisibleInDom/index.js +0 -1
- package/react-utils/useIsElementVisibleInDom/index.js.map +0 -1
- package/react-utils/useIsElementVisibleInDom/useForceUpdate.js +0 -15
- package/react-utils/useIsElementVisibleInDom/useForceUpdate.js.map +0 -1
- package/react-utils/useIsElementVisibleInDom/useIsElementVisibleInDom.js +0 -26
- package/react-utils/useIsElementVisibleInDom/useIsElementVisibleInDom.js.map +0 -1
- package/react-utils/useKeyboardShortcutsPaneState/index.js +0 -1
- package/react-utils/useKeyboardShortcutsPaneState/index.js.map +0 -1
- package/react-utils/useKeyboardShortcutsPaneState/useKeyboardShortcutsPaneState.js +0 -29
- package/react-utils/useKeyboardShortcutsPaneState/useKeyboardShortcutsPaneState.js.map +0 -1
- package/react-utils/useLocalStorage/index.js +0 -1
- package/react-utils/useLocalStorage/index.js.map +0 -1
- package/react-utils/useLocalStorage/useLocalStorage.js +0 -37
- package/react-utils/useLocalStorage/useLocalStorage.js.map +0 -1
- package/react-utils/useMutationWithInvalidation/index.js +0 -1
- package/react-utils/useMutationWithInvalidation/index.js.map +0 -1
- package/react-utils/useMutationWithInvalidation/useMutationWithInvalidation.js +0 -37
- package/react-utils/useMutationWithInvalidation/useMutationWithInvalidation.js.map +0 -1
- package/react-utils/useOnClickOutside/index.js +0 -1
- package/react-utils/useOnClickOutside/index.js.map +0 -1
- package/react-utils/useOnClickOutside/useOnClickOutside.js +0 -25
- package/react-utils/useOnClickOutside/useOnClickOutside.js.map +0 -1
- package/react-utils/usePersistedQuery/index.js +0 -1
- package/react-utils/usePersistedQuery/index.js.map +0 -1
- package/react-utils/usePersistedQuery/usePersistedQuery.js +0 -54
- package/react-utils/usePersistedQuery/usePersistedQuery.js.map +0 -1
- package/react-utils/usePrevious/index.js +0 -1
- package/react-utils/usePrevious/index.js.map +0 -1
- package/react-utils/usePrevious/usePrevious.js +0 -10
- package/react-utils/usePrevious/usePrevious.js.map +0 -1
- package/react-utils/useQueryParams/index.js +0 -1
- package/react-utils/useQueryParams/index.js.map +0 -1
- package/react-utils/useQueryParams/useQueryParams.js +0 -8
- package/react-utils/useQueryParams/useQueryParams.js.map +0 -1
- package/react-utils/useRegisterNavigationCheckpoint/index.js +0 -3
- package/react-utils/useRegisterNavigationCheckpoint/index.js.map +0 -1
- package/react-utils/useRegisterNavigationCheckpoint/useRegisterNavigationCheckpoint.js +0 -71
- package/react-utils/useRegisterNavigationCheckpoint/useRegisterNavigationCheckpoint.js.map +0 -1
- package/react-utils/useRestoreScrollPosition/index.js +0 -3
- package/react-utils/useRestoreScrollPosition/index.js.map +0 -1
- package/react-utils/useRestoreScrollPosition/useRestoreScrollPosition.js +0 -64
- package/react-utils/useRestoreScrollPosition/useRestoreScrollPosition.js.map +0 -1
- package/react-utils/useStateWithDependency/index.js +0 -1
- package/react-utils/useStateWithDependency/index.js.map +0 -1
- package/react-utils/useStateWithDependency/useStateWithDependency.js +0 -15
- package/react-utils/useStateWithDependency/useStateWithDependency.js.map +0 -1
- package/react-utils/useTimer/index.js +0 -1
- package/react-utils/useTimer/index.js.map +0 -1
- package/react-utils/useTimer/useTimer.js +0 -39
- package/react-utils/useTimer/useTimer.js.map +0 -1
- package/react-utils/useUpdateEffect/index.js +0 -1
- package/react-utils/useUpdateEffect/index.js.map +0 -1
- package/react-utils/useUpdateEffect/useUpdateEffect.js +0 -14
- package/react-utils/useUpdateEffect/useUpdateEffect.js.map +0 -1
- package/react-utils/withImmutableActions/index.js +0 -1
- package/react-utils/withImmutableActions/index.js.map +0 -1
- package/react-utils/withImmutableActions/withImmutableActions.js +0 -23
- package/react-utils/withImmutableActions/withImmutableActions.js.map +0 -1
- package/react-utils/withT/index.js +0 -1
- package/react-utils/withT/index.js.map +0 -1
- package/react-utils/withT/withT.js +0 -7
- package/react-utils/withT/withT.js.map +0 -1
- package/react-utils/withTitle/index.js +0 -1
- package/react-utils/withTitle/index.js.map +0 -1
- package/react-utils/withTitle/withTitle.js +0 -21
- package/react-utils/withTitle/withTitle.js.map +0 -1
- package/translations/en.json +0 -110
- package/utils/axios.js +0 -10
- package/utils/axios.js.map +0 -1
- package/utils/buildNestedAttributesPayload.js +0 -32
- package/utils/buildNestedAttributesPayload.js.map +0 -1
- package/utils/captureAnalyticsEvent.js +0 -6
- package/utils/captureAnalyticsEvent.js.map +0 -1
- package/utils/captureAnalyticsPageView.js +0 -11
- package/utils/captureAnalyticsPageView.js.map +0 -1
- package/utils/createSubscription.js +0 -14
- package/utils/createSubscription.js.map +0 -1
- package/utils/currencyFormat.js +0 -42
- package/utils/currencyFormat.js.map +0 -1
- package/utils/datetime.js +0 -57
- package/utils/datetime.js.map +0 -1
- package/utils/dayjs.js +0 -24
- package/utils/dayjs.js.map +0 -1
- package/utils/general.js +0 -209
- package/utils/general.js.map +0 -1
- package/utils/index.js +0 -12
- package/utils/index.js.map +0 -1
- package/utils/permissions.js +0 -18
- package/utils/permissions.js.map +0 -1
- package/utils/validators/index.js +0 -1
- package/utils/validators/index.js.map +0 -1
- package/utils/validators/slug.js +0 -48
- package/utils/validators/slug.js.map +0 -1
- /package/{cjs → dist}/translations/en.json +0 -0
|
@@ -0,0 +1,290 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var defineProperty = require('../defineProperty-ba7cd53d.js');
|
|
6
|
+
var toConsumableArray = require('../toConsumableArray-7afb7984.js');
|
|
7
|
+
var _typeof = require('../typeof-a861d137.js');
|
|
8
|
+
var cypressUtils_constants_routes = require('./constants/routes.js');
|
|
9
|
+
var cypressUtils_constants_selectors_common = require('./constants/selectors/common.js');
|
|
10
|
+
var cypressUtils_constants_texts_common = require('./constants/texts/common.js');
|
|
11
|
+
var cypressUtils_utils_common = require('./utils/common.js');
|
|
12
|
+
require('../unsupportedIterableToArray-294d47a8.js');
|
|
13
|
+
require('./constants/index.js');
|
|
14
|
+
|
|
15
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
16
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { defineProperty._defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
17
|
+
var initCustomCommands = function initCustomCommands() {
|
|
18
|
+
Cypress.Commands.add("clearAndType", function (selector, text) {
|
|
19
|
+
cy.get(selector).clear().type(text);
|
|
20
|
+
});
|
|
21
|
+
Cypress.Commands.add("clearAndTypeFast", function (selector, text) {
|
|
22
|
+
cy.get(selector).clear().type(text, {
|
|
23
|
+
delay: 0
|
|
24
|
+
});
|
|
25
|
+
});
|
|
26
|
+
Cypress.Commands.add("clearByClickAndTypeFast", function (selector, text) {
|
|
27
|
+
cy.get(selector).click().clear().type(text, {
|
|
28
|
+
delay: 0
|
|
29
|
+
});
|
|
30
|
+
});
|
|
31
|
+
Cypress.Commands.add("typeFast", function (selector, text) {
|
|
32
|
+
cy.get(selector).type(text, {
|
|
33
|
+
delay: 0
|
|
34
|
+
});
|
|
35
|
+
});
|
|
36
|
+
Cypress.Commands.add("typeAndEnter", function (selector, text) {
|
|
37
|
+
cy.get(selector).clear().type("".concat(text, "{enter}"));
|
|
38
|
+
});
|
|
39
|
+
Cypress.Commands.add("verifyToastMessage", function (message) {
|
|
40
|
+
cy.get(cypressUtils_constants_selectors_common.commonSelectors.toastMessage).should("be.visible").should("have.text", message);
|
|
41
|
+
|
|
42
|
+
// close toast message
|
|
43
|
+
cy.get(cypressUtils_constants_selectors_common.commonSelectors.toastCloseButton).click();
|
|
44
|
+
cy.get(cypressUtils_constants_selectors_common.commonSelectors.toastMessage).should("not.exist");
|
|
45
|
+
});
|
|
46
|
+
Cypress.Commands.add("verifyToastIcon", function () {
|
|
47
|
+
var closeToastr = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true;
|
|
48
|
+
cy.document().its("body").find(cypressUtils_constants_selectors_common.commonSelectors.toastIcon).should("have.text", "👍");
|
|
49
|
+
closeToastr && cy.document().its("body").find(cypressUtils_constants_selectors_common.commonSelectors.toastCloseButton).click();
|
|
50
|
+
cy.document().its("body").find(cypressUtils_constants_selectors_common.commonSelectors.toastIcon).should("not.exist");
|
|
51
|
+
});
|
|
52
|
+
Cypress.Commands.add("continueOnAlert", function (args) {
|
|
53
|
+
var props = _typeof._typeof(args) === "object" ? args : {
|
|
54
|
+
alias: args
|
|
55
|
+
};
|
|
56
|
+
var alias = props.alias,
|
|
57
|
+
title = props.title,
|
|
58
|
+
_props$requestCount = props.requestCount,
|
|
59
|
+
requestCount = _props$requestCount === void 0 ? 1 : _props$requestCount,
|
|
60
|
+
verifyToastIcon = props.verifyToastIcon,
|
|
61
|
+
toastMessage = props.toastMessage;
|
|
62
|
+
var hasMoreThanOneRequest = requestCount > 1;
|
|
63
|
+
title && cy.get(cypressUtils_constants_selectors_common.commonSelectors.alertTitle).should("have.text", title);
|
|
64
|
+
cy.interceptApi(alias, requestCount);
|
|
65
|
+
cy.get(cypressUtils_constants_selectors_common.commonSelectors.alertModalSubmitButton).click();
|
|
66
|
+
cy.wait("@".concat(alias));
|
|
67
|
+
verifyToastIcon && cy.verifyToastIcon();
|
|
68
|
+
toastMessage && cy.verifyToastMessage(toastMessage);
|
|
69
|
+
hasMoreThanOneRequest && cy.waitForMultipleRequest("@".concat(alias), requestCount - 1);
|
|
70
|
+
});
|
|
71
|
+
Cypress.Commands.add("interceptApi", function (alias) {
|
|
72
|
+
var times = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 1;
|
|
73
|
+
return times > 0 && cy.intercept({
|
|
74
|
+
url: cypressUtils_constants_routes.requestApis.allPath,
|
|
75
|
+
resourceType: "xhr",
|
|
76
|
+
times: times
|
|
77
|
+
}).as(alias);
|
|
78
|
+
});
|
|
79
|
+
Cypress.Commands.add("waitForMultipleRequest", function (alias) {
|
|
80
|
+
var times = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 1;
|
|
81
|
+
return cy.wrap(toConsumableArray._toConsumableArray(new Array(times))).each(function () {
|
|
82
|
+
return cy.wait(alias);
|
|
83
|
+
});
|
|
84
|
+
});
|
|
85
|
+
Cypress.Commands.add("apiRequest", function (options) {
|
|
86
|
+
return cy.get("@requestHeaders").then(function (requestHeaders) {
|
|
87
|
+
return requestHeaders ? cy.request(_objectSpread(_objectSpread({}, options), {}, {
|
|
88
|
+
headers: _objectSpread(_objectSpread({}, requestHeaders), {}, {
|
|
89
|
+
"accept-encoding": "gzip"
|
|
90
|
+
})
|
|
91
|
+
})) : cy.log("No request headers found");
|
|
92
|
+
});
|
|
93
|
+
});
|
|
94
|
+
Cypress.Commands.add("reloadAndWait", function () {
|
|
95
|
+
var requestCount = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0;
|
|
96
|
+
if (!(requestCount > 0)) return;
|
|
97
|
+
cy.interceptApi("reloadAllRequests", requestCount);
|
|
98
|
+
cy.reload();
|
|
99
|
+
cy.waitForMultipleRequest("@reloadAllRequests", requestCount);
|
|
100
|
+
});
|
|
101
|
+
Cypress.Commands.add("selectOption", function (containerSelector, optionText) {
|
|
102
|
+
cy.get(containerSelector).click().type(optionText);
|
|
103
|
+
cy.get(cypressUtils_constants_selectors_common.commonSelectors.selectOption(optionText)).invoke("click");
|
|
104
|
+
});
|
|
105
|
+
Cypress.Commands.add("clickDropdownOption", function (optionText) {
|
|
106
|
+
var dropdownSelector = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : cypressUtils_constants_selectors_common.commonSelectors.dropdownIcon;
|
|
107
|
+
cy.get(dropdownSelector).click();
|
|
108
|
+
cy.get(cypressUtils_constants_selectors_common.commonSelectors.dropdownContainer).contains(optionText).invoke("click");
|
|
109
|
+
});
|
|
110
|
+
Cypress.Commands.add("getText", function (selector) {
|
|
111
|
+
return cy.get(selector).invoke("text");
|
|
112
|
+
});
|
|
113
|
+
Cypress.Commands.add("getValue", function (selector) {
|
|
114
|
+
return cy.get(selector).invoke("val");
|
|
115
|
+
});
|
|
116
|
+
|
|
117
|
+
// Deprecated. Use withinIframe.
|
|
118
|
+
Cypress.Commands.add("getIframe", function (iframeSelector) {
|
|
119
|
+
return cy.get(iframeSelector).its("0.contentDocument.body").should("not.be.empty");
|
|
120
|
+
});
|
|
121
|
+
Cypress.Commands.add("withinIframe", function (selector, callback) {
|
|
122
|
+
cy.get(selector, {
|
|
123
|
+
timeout: 10000
|
|
124
|
+
}).its("0.contentDocument.body").should("be.visible").and("not.be.empty");
|
|
125
|
+
cy.get(selector, {
|
|
126
|
+
timeout: 10000
|
|
127
|
+
}).its("0.contentDocument.body").eq(0).within(callback);
|
|
128
|
+
});
|
|
129
|
+
Cypress.Commands.add("openInSameTabOnClick", function (_ref) {
|
|
130
|
+
var url = _ref.url,
|
|
131
|
+
alias = _ref.alias,
|
|
132
|
+
selector = _ref.selector;
|
|
133
|
+
cy.window().then(function (win) {
|
|
134
|
+
cy.stub(win, "open").as(alias)
|
|
135
|
+
// eslint-disable-next-line xss/no-location-href-assign
|
|
136
|
+
.callsFake(function (newUrl) {
|
|
137
|
+
return win.location.href = newUrl;
|
|
138
|
+
});
|
|
139
|
+
});
|
|
140
|
+
cy.get(selector).click();
|
|
141
|
+
cy.get("@".concat(alias)).should("be.called");
|
|
142
|
+
cy.url().should("include", url);
|
|
143
|
+
});
|
|
144
|
+
Cypress.Commands.add("globalState", function (key) {
|
|
145
|
+
return cy.task("getGlobalState", key);
|
|
146
|
+
});
|
|
147
|
+
Cypress.Commands.add("ifExist", function (selector, callback) {
|
|
148
|
+
cy.get(cypressUtils_constants_selectors_common.commonSelectors.body).then(function ($body) {
|
|
149
|
+
if ($body.find(selector).length) callback();
|
|
150
|
+
});
|
|
151
|
+
});
|
|
152
|
+
Cypress.Commands.add("ifNotExist", function (selector, callback) {
|
|
153
|
+
cy.get(cypressUtils_constants_selectors_common.commonSelectors.body).then(function ($body) {
|
|
154
|
+
if (!$body.find(selector).length) callback();
|
|
155
|
+
});
|
|
156
|
+
});
|
|
157
|
+
Cypress.Commands.add("dragAndDrop", function (_ref2) {
|
|
158
|
+
var subject = _ref2.subject,
|
|
159
|
+
target = _ref2.target,
|
|
160
|
+
_ref2$dragIndex = _ref2.dragIndex,
|
|
161
|
+
dragIndex = _ref2$dragIndex === void 0 ? 0 : _ref2$dragIndex,
|
|
162
|
+
_ref2$dropIndex = _ref2.dropIndex,
|
|
163
|
+
dropIndex = _ref2$dropIndex === void 0 ? 0 : _ref2$dropIndex;
|
|
164
|
+
cy.get(subject).should("be.visible", {
|
|
165
|
+
timeout: 20000
|
|
166
|
+
});
|
|
167
|
+
Cypress.log({
|
|
168
|
+
name: "DRAGNDROP",
|
|
169
|
+
message: "Dragging element ".concat(subject, " to ").concat(target),
|
|
170
|
+
consoleProps: function consoleProps() {
|
|
171
|
+
return {
|
|
172
|
+
subject: subject,
|
|
173
|
+
target: target
|
|
174
|
+
};
|
|
175
|
+
}
|
|
176
|
+
});
|
|
177
|
+
cy.get(target).eq(dropIndex).then(function ($target) {
|
|
178
|
+
var coordsDrop = $target[0].getBoundingClientRect();
|
|
179
|
+
cy.get(subject).eq(dragIndex).then(function (subject) {
|
|
180
|
+
var coordsDrag = subject[0].getBoundingClientRect();
|
|
181
|
+
cy.wrap(subject).trigger("mousedown", {
|
|
182
|
+
button: 0,
|
|
183
|
+
// BUTTON_INDEX
|
|
184
|
+
clientX: coordsDrag.x,
|
|
185
|
+
clientY: coordsDrag.y,
|
|
186
|
+
force: true
|
|
187
|
+
}).trigger("mousemove", {
|
|
188
|
+
button: 0,
|
|
189
|
+
// BUTTON_INDEX
|
|
190
|
+
clientX: coordsDrag.x + 10,
|
|
191
|
+
// SLOPPY_CLICK_THRESHOLD
|
|
192
|
+
clientY: coordsDrag.y,
|
|
193
|
+
force: true
|
|
194
|
+
});
|
|
195
|
+
cy.get("body").trigger("mousemove", {
|
|
196
|
+
button: 0,
|
|
197
|
+
// BUTTON_INDEX
|
|
198
|
+
clientX: coordsDrop.x,
|
|
199
|
+
clientY: coordsDrop.y,
|
|
200
|
+
force: true
|
|
201
|
+
}).trigger("mouseup");
|
|
202
|
+
});
|
|
203
|
+
});
|
|
204
|
+
});
|
|
205
|
+
Cypress.Commands.add("verifyPlaceholder", function (textInputSelector, value) {
|
|
206
|
+
cy.get(textInputSelector).should("have.attr", "placeholder").and("eq", value);
|
|
207
|
+
});
|
|
208
|
+
Cypress.Commands.add("enableOrDisableSwitch", function (switchButton, value) {
|
|
209
|
+
cy.get(switchButton).invoke("click");
|
|
210
|
+
cy.get(switchButton).should("have.prop", "value").and("eq", value);
|
|
211
|
+
});
|
|
212
|
+
Cypress.Commands.add("interceptNonVersionedApi", function (_ref3) {
|
|
213
|
+
var _ref3$url = _ref3.url,
|
|
214
|
+
url = _ref3$url === void 0 ? "*" : _ref3$url,
|
|
215
|
+
alias = _ref3.alias,
|
|
216
|
+
_ref3$times = _ref3.times,
|
|
217
|
+
times = _ref3$times === void 0 ? 1 : _ref3$times;
|
|
218
|
+
cy.intercept({
|
|
219
|
+
url: url,
|
|
220
|
+
times: times
|
|
221
|
+
}).as(alias);
|
|
222
|
+
});
|
|
223
|
+
Cypress.Commands.add("typeOnSearchField", function (_ref4) {
|
|
224
|
+
var selector = _ref4.selector,
|
|
225
|
+
value = _ref4.value,
|
|
226
|
+
_ref4$skipSearchReque = _ref4.skipSearchRequest,
|
|
227
|
+
skipSearchRequest = _ref4$skipSearchReque === void 0 ? true : _ref4$skipSearchReque,
|
|
228
|
+
delay = _ref4.delay;
|
|
229
|
+
cy.get(selector).invoke("val").then(function (currentValue) {
|
|
230
|
+
if (currentValue !== value) {
|
|
231
|
+
!skipSearchRequest && cy.interceptApi("searchRequest");
|
|
232
|
+
cy.clearAndTypeFast(selector, value);
|
|
233
|
+
!skipSearchRequest && cy.wait("@searchRequest");
|
|
234
|
+
} else delay && cy.wait(delay);
|
|
235
|
+
});
|
|
236
|
+
});
|
|
237
|
+
Cypress.Commands.add("clickByRemoveTargetAttr", function (selector) {
|
|
238
|
+
cy.get(selector).invoke("removeAttr", "target").click();
|
|
239
|
+
});
|
|
240
|
+
Cypress.Commands.add("navigateToPreviewPage", function (selector) {
|
|
241
|
+
var fetchRequestCount = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 1;
|
|
242
|
+
cy.interceptApi("fetchRequests", fetchRequestCount);
|
|
243
|
+
cy.clickByRemoveTargetAttr(selector);
|
|
244
|
+
fetchRequestCount === 1 ? cy.wait("@fetchRequests") : cy.waitForMultipleRequest("@fetchRequests", fetchRequestCount);
|
|
245
|
+
});
|
|
246
|
+
Cypress.Commands.add("saveChanges", function (aliasName) {
|
|
247
|
+
var requestCount = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 1;
|
|
248
|
+
cy.interceptApi(aliasName, requestCount);
|
|
249
|
+
cy.get(cypressUtils_constants_selectors_common.commonSelectors.saveChangesButton).click();
|
|
250
|
+
cy.wait("@".concat(aliasName));
|
|
251
|
+
cy.verifyToastIcon();
|
|
252
|
+
requestCount > 1 && cy.waitForMultipleRequest("@".concat(aliasName), requestCount - 1);
|
|
253
|
+
});
|
|
254
|
+
Cypress.Commands.add("verifyAttribute", function (_ref5) {
|
|
255
|
+
var selector = _ref5.selector,
|
|
256
|
+
attr = _ref5.attr,
|
|
257
|
+
value = _ref5.value;
|
|
258
|
+
cy.get(selector).should("have.attr", attr).and("include", value);
|
|
259
|
+
});
|
|
260
|
+
Cypress.Commands.add("verifyUnsavedAlertModal", function (cancelButton) {
|
|
261
|
+
cy.get(cancelButton).click();
|
|
262
|
+
cy.get(cypressUtils_constants_selectors_common.commonSelectors.alertTitle).should("have.text", cypressUtils_constants_texts_common.commonTexts.unsavedChangesAlertTitle);
|
|
263
|
+
cy.get(cypressUtils_constants_selectors_common.commonSelectors.alertMessage).should("have.text", cypressUtils_constants_texts_common.commonTexts.unsavedChangesAlertMessage);
|
|
264
|
+
});
|
|
265
|
+
Cypress.Commands.add("verifyTooltip", function (selector, text) {
|
|
266
|
+
cy.get(selector).realHover();
|
|
267
|
+
cy.document().its("body").find(cypressUtils_constants_selectors_common.commonSelectors.tooltip).should("have.text", text);
|
|
268
|
+
cy.document().find("body").click("topRight", {
|
|
269
|
+
force: true
|
|
270
|
+
});
|
|
271
|
+
cy.document().its("body").find(cypressUtils_constants_selectors_common.commonSelectors.tooltip).should("not.exist");
|
|
272
|
+
});
|
|
273
|
+
Cypress.Commands.add("getEmailContent", function (props, options) {
|
|
274
|
+
return cy.mailosaurGetMessage(Cypress.env("MAILOSAUR_SERVER_ID"), props, options);
|
|
275
|
+
});
|
|
276
|
+
Cypress.Commands.add("rewriteHeaders", function () {
|
|
277
|
+
if (!cypressUtils_utils_common.isStagingEnv) return;
|
|
278
|
+
cy.intercept("*", function (req) {
|
|
279
|
+
return req.on("response", function (res) {
|
|
280
|
+
var setCookies = res.headers["set-cookie"];
|
|
281
|
+
res.headers["set-cookie"] = (Array.isArray(setCookies) ? setCookies : [setCookies]).filter(Boolean).map(function (headerContent) {
|
|
282
|
+
return headerContent.concat("secure; samesite=none");
|
|
283
|
+
});
|
|
284
|
+
});
|
|
285
|
+
});
|
|
286
|
+
});
|
|
287
|
+
};
|
|
288
|
+
|
|
289
|
+
exports.initCustomCommands = initCustomCommands;
|
|
290
|
+
//# sourceMappingURL=commands.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"commands.js","sources":["../../../src/cypress-utils/commands.js"],"sourcesContent":["import { requestApis } from \"./constants/routes\";\nimport { commonSelectors } from \"./constants/selectors/common\";\nimport { commonTexts } from \"./constants/texts/common\";\nimport { isStagingEnv } from \"./utils/common\";\n\nexport const initCustomCommands = () => {\n Cypress.Commands.add(\"clearAndType\", (selector, text) => {\n cy.get(selector).clear().type(text);\n });\n\n Cypress.Commands.add(\"clearAndTypeFast\", (selector, text) => {\n cy.get(selector).clear().type(text, { delay: 0 });\n });\n\n Cypress.Commands.add(\"clearByClickAndTypeFast\", (selector, text) => {\n cy.get(selector).click().clear().type(text, { delay: 0 });\n });\n\n Cypress.Commands.add(\"typeFast\", (selector, text) => {\n cy.get(selector).type(text, { delay: 0 });\n });\n\n Cypress.Commands.add(\"typeAndEnter\", (selector, text) => {\n cy.get(selector).clear().type(`${text}{enter}`);\n });\n\n Cypress.Commands.add(\"verifyToastMessage\", message => {\n cy.get(commonSelectors.toastMessage)\n .should(\"be.visible\")\n .should(\"have.text\", message);\n\n // close toast message\n cy.get(commonSelectors.toastCloseButton).click();\n cy.get(commonSelectors.toastMessage).should(\"not.exist\");\n });\n\n Cypress.Commands.add(\"verifyToastIcon\", (closeToastr = true) => {\n cy.document()\n .its(\"body\")\n .find(commonSelectors.toastIcon)\n .should(\"have.text\", \"👍\");\n\n closeToastr &&\n cy.document().its(\"body\").find(commonSelectors.toastCloseButton).click();\n\n cy.document()\n .its(\"body\")\n .find(commonSelectors.toastIcon)\n .should(\"not.exist\");\n });\n\n Cypress.Commands.add(\"continueOnAlert\", args => {\n const props = typeof args === \"object\" ? args : { alias: args };\n const {\n alias,\n title,\n requestCount = 1,\n verifyToastIcon,\n toastMessage,\n } = props;\n const hasMoreThanOneRequest = requestCount > 1;\n\n title && cy.get(commonSelectors.alertTitle).should(\"have.text\", title);\n cy.interceptApi(alias, requestCount);\n cy.get(commonSelectors.alertModalSubmitButton).click();\n cy.wait(`@${alias}`);\n verifyToastIcon && cy.verifyToastIcon();\n toastMessage && cy.verifyToastMessage(toastMessage);\n hasMoreThanOneRequest &&\n cy.waitForMultipleRequest(`@${alias}`, requestCount - 1);\n });\n\n Cypress.Commands.add(\n \"interceptApi\",\n (alias, times = 1) =>\n times > 0 &&\n cy\n .intercept({ url: requestApis.allPath, resourceType: \"xhr\", times })\n .as(alias)\n );\n\n Cypress.Commands.add(\"waitForMultipleRequest\", (alias, times = 1) =>\n cy.wrap([...new Array(times)]).each(() => cy.wait(alias))\n );\n\n Cypress.Commands.add(\"apiRequest\", options =>\n cy.get(\"@requestHeaders\").then(requestHeaders =>\n requestHeaders\n ? cy.request({\n ...options,\n headers: { ...requestHeaders, \"accept-encoding\": \"gzip\" },\n })\n : cy.log(\"No request headers found\")\n )\n );\n\n Cypress.Commands.add(\"reloadAndWait\", (requestCount = 0) => {\n if (!(requestCount > 0)) return;\n cy.interceptApi(\"reloadAllRequests\", requestCount);\n cy.reload();\n cy.waitForMultipleRequest(\"@reloadAllRequests\", requestCount);\n });\n\n Cypress.Commands.add(\"selectOption\", (containerSelector, optionText) => {\n cy.get(containerSelector).click().type(optionText);\n cy.get(commonSelectors.selectOption(optionText)).invoke(\"click\");\n });\n\n Cypress.Commands.add(\n \"clickDropdownOption\",\n (optionText, dropdownSelector = commonSelectors.dropdownIcon) => {\n cy.get(dropdownSelector).click();\n cy.get(commonSelectors.dropdownContainer)\n .contains(optionText)\n .invoke(\"click\");\n }\n );\n\n Cypress.Commands.add(\"getText\", selector => cy.get(selector).invoke(\"text\"));\n\n Cypress.Commands.add(\"getValue\", selector => cy.get(selector).invoke(\"val\"));\n\n // Deprecated. Use withinIframe.\n Cypress.Commands.add(\"getIframe\", iframeSelector =>\n cy.get(iframeSelector).its(\"0.contentDocument.body\").should(\"not.be.empty\")\n );\n\n Cypress.Commands.add(\"withinIframe\", (selector, callback) => {\n cy.get(selector, { timeout: 10000 })\n .its(\"0.contentDocument.body\")\n .should(\"be.visible\")\n .and(\"not.be.empty\");\n\n cy.get(selector, { timeout: 10000 })\n .its(\"0.contentDocument.body\")\n .eq(0)\n .within(callback);\n });\n\n Cypress.Commands.add(\"openInSameTabOnClick\", ({ url, alias, selector }) => {\n cy.window().then(win => {\n cy.stub(win, \"open\")\n .as(alias)\n // eslint-disable-next-line xss/no-location-href-assign\n .callsFake(newUrl => (win.location.href = newUrl));\n });\n cy.get(selector).click();\n cy.get(`@${alias}`).should(\"be.called\");\n cy.url().should(\"include\", url);\n });\n\n Cypress.Commands.add(\"globalState\", key => cy.task(\"getGlobalState\", key));\n\n Cypress.Commands.add(\"ifExist\", (selector, callback) => {\n cy.get(commonSelectors.body).then($body => {\n if ($body.find(selector).length) callback();\n });\n });\n\n Cypress.Commands.add(\"ifNotExist\", (selector, callback) => {\n cy.get(commonSelectors.body).then($body => {\n if (!$body.find(selector).length) callback();\n });\n });\n\n Cypress.Commands.add(\n \"dragAndDrop\",\n ({ subject, target, dragIndex = 0, dropIndex = 0 }) => {\n cy.get(subject).should(\"be.visible\", { timeout: 20000 });\n Cypress.log({\n name: \"DRAGNDROP\",\n message: `Dragging element ${subject} to ${target}`,\n consoleProps: () => ({ subject, target }),\n });\n\n cy.get(target)\n .eq(dropIndex)\n .then($target => {\n const coordsDrop = $target[0].getBoundingClientRect();\n cy.get(subject)\n .eq(dragIndex)\n .then(subject => {\n const coordsDrag = subject[0].getBoundingClientRect();\n cy.wrap(subject)\n .trigger(\"mousedown\", {\n button: 0, // BUTTON_INDEX\n clientX: coordsDrag.x,\n clientY: coordsDrag.y,\n force: true,\n })\n .trigger(\"mousemove\", {\n button: 0, // BUTTON_INDEX\n clientX: coordsDrag.x + 10, // SLOPPY_CLICK_THRESHOLD\n clientY: coordsDrag.y,\n force: true,\n });\n\n cy.get(\"body\")\n .trigger(\"mousemove\", {\n button: 0, // BUTTON_INDEX\n clientX: coordsDrop.x,\n clientY: coordsDrop.y,\n force: true,\n })\n .trigger(\"mouseup\");\n });\n });\n }\n );\n\n Cypress.Commands.add(\"verifyPlaceholder\", (textInputSelector, value) => {\n cy.get(textInputSelector)\n .should(\"have.attr\", \"placeholder\")\n .and(\"eq\", value);\n });\n\n Cypress.Commands.add(\"enableOrDisableSwitch\", (switchButton, value) => {\n cy.get(switchButton).invoke(\"click\");\n cy.get(switchButton).should(\"have.prop\", \"value\").and(\"eq\", value);\n });\n\n Cypress.Commands.add(\n \"interceptNonVersionedApi\",\n ({ url = \"*\", alias, times = 1 }) => {\n cy.intercept({ url, times }).as(alias);\n }\n );\n\n Cypress.Commands.add(\n \"typeOnSearchField\",\n ({ selector, value, skipSearchRequest = true, delay }) => {\n cy.get(selector)\n .invoke(\"val\")\n .then(currentValue => {\n if (currentValue !== value) {\n !skipSearchRequest && cy.interceptApi(\"searchRequest\");\n cy.clearAndTypeFast(selector, value);\n !skipSearchRequest && cy.wait(\"@searchRequest\");\n } else delay && cy.wait(delay);\n });\n }\n );\n\n Cypress.Commands.add(\"clickByRemoveTargetAttr\", selector => {\n cy.get(selector).invoke(\"removeAttr\", \"target\").click();\n });\n\n Cypress.Commands.add(\n \"navigateToPreviewPage\",\n (selector, fetchRequestCount = 1) => {\n cy.interceptApi(\"fetchRequests\", fetchRequestCount);\n cy.clickByRemoveTargetAttr(selector);\n fetchRequestCount === 1\n ? cy.wait(\"@fetchRequests\")\n : cy.waitForMultipleRequest(\"@fetchRequests\", fetchRequestCount);\n }\n );\n\n Cypress.Commands.add(\"saveChanges\", (aliasName, requestCount = 1) => {\n cy.interceptApi(aliasName, requestCount);\n cy.get(commonSelectors.saveChangesButton).click();\n cy.wait(`@${aliasName}`);\n cy.verifyToastIcon();\n requestCount > 1 &&\n cy.waitForMultipleRequest(`@${aliasName}`, requestCount - 1);\n });\n\n Cypress.Commands.add(\"verifyAttribute\", ({ selector, attr, value }) => {\n cy.get(selector).should(\"have.attr\", attr).and(\"include\", value);\n });\n\n Cypress.Commands.add(\"verifyUnsavedAlertModal\", cancelButton => {\n cy.get(cancelButton).click();\n cy.get(commonSelectors.alertTitle).should(\n \"have.text\",\n commonTexts.unsavedChangesAlertTitle\n );\n\n cy.get(commonSelectors.alertMessage).should(\n \"have.text\",\n commonTexts.unsavedChangesAlertMessage\n );\n });\n\n Cypress.Commands.add(\"verifyTooltip\", (selector, text) => {\n cy.get(selector).realHover();\n cy.document()\n .its(\"body\")\n .find(commonSelectors.tooltip)\n .should(\"have.text\", text);\n cy.document().find(\"body\").click(\"topRight\", { force: true });\n cy.document().its(\"body\").find(commonSelectors.tooltip).should(\"not.exist\");\n });\n\n Cypress.Commands.add(\"getEmailContent\", (props, options) =>\n cy.mailosaurGetMessage(Cypress.env(\"MAILOSAUR_SERVER_ID\"), props, options)\n );\n\n Cypress.Commands.add(\"rewriteHeaders\", () => {\n if (!isStagingEnv) return;\n\n cy.intercept(\"*\", req =>\n req.on(\"response\", res => {\n const setCookies = res.headers[\"set-cookie\"];\n res.headers[\"set-cookie\"] = (\n Array.isArray(setCookies) ? setCookies : [setCookies]\n )\n .filter(Boolean)\n .map(headerContent => headerContent.concat(\"secure; samesite=none\"));\n })\n );\n });\n};\n"],"names":["initCustomCommands","Cypress","Commands","add","selector","text","cy","get","clear","type","delay","click","concat","message","commonSelectors","toastMessage","should","toastCloseButton","closeToastr","arguments","length","undefined","document","its","find","toastIcon","args","props","_typeof","alias","title","_props$requestCount","requestCount","verifyToastIcon","hasMoreThanOneRequest","alertTitle","interceptApi","alertModalSubmitButton","wait","verifyToastMessage","waitForMultipleRequest","times","intercept","url","requestApis","allPath","resourceType","as","wrap","_toConsumableArray","Array","each","options","then","requestHeaders","request","_objectSpread","headers","log","reload","containerSelector","optionText","selectOption","invoke","dropdownSelector","dropdownIcon","dropdownContainer","contains","iframeSelector","callback","timeout","and","eq","within","_ref","window","win","stub","callsFake","newUrl","location","href","key","task","body","$body","_ref2","subject","target","_ref2$dragIndex","dragIndex","_ref2$dropIndex","dropIndex","name","consoleProps","$target","coordsDrop","getBoundingClientRect","coordsDrag","trigger","button","clientX","x","clientY","y","force","textInputSelector","value","switchButton","_ref3","_ref3$url","_ref3$times","_ref4","_ref4$skipSearchReque","skipSearchRequest","currentValue","clearAndTypeFast","fetchRequestCount","clickByRemoveTargetAttr","aliasName","saveChangesButton","_ref5","attr","cancelButton","commonTexts","unsavedChangesAlertTitle","alertMessage","unsavedChangesAlertMessage","realHover","tooltip","mailosaurGetMessage","env","isStagingEnv","req","on","res","setCookies","isArray","filter","Boolean","map","headerContent"],"mappings":";;;;;;;;;;;;;;;;IAKaA,kBAAkB,GAAG,SAArBA,kBAAkBA,GAAS;EACtCC,OAAO,CAACC,QAAQ,CAACC,GAAG,CAAC,cAAc,EAAE,UAACC,QAAQ,EAAEC,IAAI,EAAK;AACvDC,IAAAA,EAAE,CAACC,GAAG,CAACH,QAAQ,CAAC,CAACI,KAAK,EAAE,CAACC,IAAI,CAACJ,IAAI,CAAC,CAAA;AACrC,GAAC,CAAC,CAAA;EAEFJ,OAAO,CAACC,QAAQ,CAACC,GAAG,CAAC,kBAAkB,EAAE,UAACC,QAAQ,EAAEC,IAAI,EAAK;AAC3DC,IAAAA,EAAE,CAACC,GAAG,CAACH,QAAQ,CAAC,CAACI,KAAK,EAAE,CAACC,IAAI,CAACJ,IAAI,EAAE;AAAEK,MAAAA,KAAK,EAAE,CAAA;AAAE,KAAC,CAAC,CAAA;AACnD,GAAC,CAAC,CAAA;EAEFT,OAAO,CAACC,QAAQ,CAACC,GAAG,CAAC,yBAAyB,EAAE,UAACC,QAAQ,EAAEC,IAAI,EAAK;AAClEC,IAAAA,EAAE,CAACC,GAAG,CAACH,QAAQ,CAA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AEyB,OAAO,EAAA;AAAA,IAAA,OACrD9C,EAAE,CAAC4H,mBAAmB,CAACjI,OAAO,CAACkI,GAAG,CAAC,qBAAqB,CAAC,EAAExG,KAAK,EAAEyB,OAAO,CAAC,CAAA;AAAA,GAC5E,CAAC,CAAA;AAEDnD,EAAAA,OAAO,CAACC,QAAQ,CAACC,GAAG,CAAC,gBAAgB,EAAE,YAAM;IAC3C,IAAI,CAACiI,sCAAY,EAAE,OAAA;AAEnB9H,IAAAA,EAAE,CAACoC,SAAS,CAAC,GAAG,EAAE,UAAA2F,GAAG,EAAA;MAAA,OACnBA,GAAG,CAACC,EAAE,CAAC,UAAU,EAAE,UAAAC,GAAG,EAAI;AACxB,QAAA,IAAMC,UAAU,GAAGD,GAAG,CAAC9E,OAAO,CAAC,YAAY,CAAC,CAAA;AAC5C8E,QAAAA,GAAG,CAAC9E,OAAO,CAAC,YAAY,CAAC,GAAG,CAC1BP,KAAK,CAACuF,OAAO,CAACD,UAAU,CAAC,GAAGA,UAAU,GAAG,CAACA,UAAU,CAAC,EAEpDE,MAAM,CAACC,OAAO,CAAC,CACfC,GAAG,CAAC,UAAAC,aAAa,EAAA;AAAA,UAAA,OAAIA,aAAa,CAACjI,MAAM,CAAC,uBAAuB,CAAC,CAAA;SAAC,CAAA,CAAA;AACxE,OAAC,CAAC,CAAA;AAAA,KACJ,CAAC,CAAA;AACH,GAAC,CAAC,CAAA;AACJ;;;;"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var environment = {
|
|
6
|
+
development: "development",
|
|
7
|
+
staging: "staging",
|
|
8
|
+
review: "review",
|
|
9
|
+
production: "production"
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
exports.environment = environment;
|
|
13
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../src/cypress-utils/constants/index.js"],"sourcesContent":["export const environment = {\n development: \"development\",\n staging: \"staging\",\n review: \"review\",\n production: \"production\",\n};\n"],"names":["environment","development","staging","review","production"],"mappings":";;;;AAAO,IAAMA,WAAW,GAAG;AACzBC,EAAAA,WAAW,EAAE,aAAa;AAC1BC,EAAAA,OAAO,EAAE,SAAS;AAClBC,EAAAA,MAAM,EAAE,QAAQ;AAChBC,EAAAA,UAAU,EAAE,YAAA;AACd;;;;"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var cypressUtils_utils_common = require('../utils/common.js');
|
|
6
|
+
require('../../defineProperty-ba7cd53d.js');
|
|
7
|
+
require('./index.js');
|
|
8
|
+
|
|
9
|
+
var allPath = function allPath() {
|
|
10
|
+
return "".concat(Cypress.config("baseUrl"), "/**");
|
|
11
|
+
};
|
|
12
|
+
var tld = cypressUtils_utils_common.env.isProduction ? "com" : "net";
|
|
13
|
+
var requestApis = {
|
|
14
|
+
countries: cypressUtils_utils_common.getUrl("countries"),
|
|
15
|
+
signUp: cypressUtils_utils_common.getUrl("signups/**"),
|
|
16
|
+
subdomainAvailability: cypressUtils_utils_common.getUrl("subdomain_availability/**"),
|
|
17
|
+
teamMembers: {
|
|
18
|
+
all: "/team_members*/**",
|
|
19
|
+
bulkUpdate: "/team_members/teams/bulk_update",
|
|
20
|
+
index: "/team_members/teams",
|
|
21
|
+
show: function show(id) {
|
|
22
|
+
return "/team_members/teams/".concat(id);
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
allChatPath: "https://*.neetochat.".concat(tld).concat(cypressUtils_utils_common.getUrl("**")),
|
|
26
|
+
myProfilePath: function myProfilePath(subdomain) {
|
|
27
|
+
return "https://".concat(subdomain, ".neetoauth.").concat(tld, "/my/profile");
|
|
28
|
+
},
|
|
29
|
+
settingsPath: function settingsPath(subdomain) {
|
|
30
|
+
return "https://".concat(subdomain, ".neetoauth.").concat(tld, "/settings");
|
|
31
|
+
}
|
|
32
|
+
};
|
|
33
|
+
var urlPaths = {
|
|
34
|
+
members: "/members"
|
|
35
|
+
};
|
|
36
|
+
Object.defineProperty(requestApis, "allPath", {
|
|
37
|
+
get: allPath
|
|
38
|
+
});
|
|
39
|
+
|
|
40
|
+
exports.requestApis = requestApis;
|
|
41
|
+
exports.urlPaths = urlPaths;
|
|
42
|
+
//# sourceMappingURL=routes.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"routes.js","sources":["../../../../src/cypress-utils/constants/routes.js"],"sourcesContent":["import { env, getUrl } from \"../utils/common\";\n\nconst allPath = () => `${Cypress.config(\"baseUrl\")}/**`;\nconst tld = env.isProduction ? \"com\" : \"net\";\nconst requestApis = {\n countries: getUrl(\"countries\"),\n signUp: getUrl(\"signups/**\"),\n subdomainAvailability: getUrl(\"subdomain_availability/**\"),\n teamMembers: {\n all: \"/team_members*/**\",\n bulkUpdate: \"/team_members/teams/bulk_update\",\n index: \"/team_members/teams\",\n show: id => `/team_members/teams/${id}`,\n },\n allChatPath: `https://*.neetochat.${tld}${getUrl(\"**\")}`,\n myProfilePath: subdomain =>\n `https://${subdomain}.neetoauth.${tld}/my/profile`,\n settingsPath: subdomain => `https://${subdomain}.neetoauth.${tld}/settings`,\n};\n\nconst urlPaths = { members: \"/members\" };\n\nObject.defineProperty(requestApis, \"allPath\", { get: allPath });\n\nexport { requestApis, urlPaths };\n"],"names":["allPath","concat","Cypress","config","tld","env","isProduction","requestApis","countries","getUrl","signUp","subdomainAvailability","teamMembers","all","bulkUpdate","index","show","id","allChatPath","myProfilePath","subdomain","settingsPath","urlPaths","members","Object","defineProperty","get"],"mappings":";;;;;;;;AAEA,IAAMA,OAAO,GAAG,SAAVA,OAAOA,GAAA;AAAA,EAAA,OAAA,EAAA,CAAAC,MAAA,CAAYC,OAAO,CAACC,MAAM,CAAC,SAA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;AAAEmB,EAAAA,GAAG,EAAE1B,OAAAA;AAAQ,CAAC,CAAC;;;;;"}
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var cypressUtils_utils_common = require('../../utils/common.js');
|
|
6
|
+
require('../../../defineProperty-ba7cd53d.js');
|
|
7
|
+
require('../index.js');
|
|
8
|
+
|
|
9
|
+
var commonSelectors = {
|
|
10
|
+
alertTitle: cypressUtils_utils_common.dataCy("alert-title"),
|
|
11
|
+
alertModalMessage: cypressUtils_utils_common.dataCy("alert-message"),
|
|
12
|
+
alertModalSubmitButton: cypressUtils_utils_common.dataCy("alert-submit-button"),
|
|
13
|
+
checkbox: cypressUtils_utils_common.dataCy("nui-checkbox-input"),
|
|
14
|
+
checkboxLabel: cypressUtils_utils_common.dataCy("nui-checkbox-label"),
|
|
15
|
+
dropdownContainer: cypressUtils_utils_common.dataCy("nui-dropdown-container"),
|
|
16
|
+
dropdownIcon: cypressUtils_utils_common.dataCy("nui-dropdown-icon"),
|
|
17
|
+
heading: cypressUtils_utils_common.dataCy("main-header"),
|
|
18
|
+
paneBody: cypressUtils_utils_common.dataCy("pane-body"),
|
|
19
|
+
paneHeader: cypressUtils_utils_common.dataCy("pane-header"),
|
|
20
|
+
profileSidebar: cypressUtils_utils_common.dataCy("profile-section"),
|
|
21
|
+
selectOption: function selectOption(label) {
|
|
22
|
+
return cypressUtils_utils_common.dataCy("".concat(cypressUtils_utils_common.hyphenize(label), "-select-option"));
|
|
23
|
+
},
|
|
24
|
+
toastMessage: cypressUtils_utils_common.dataCy("toastr-message-container"),
|
|
25
|
+
toastCloseButton: cypressUtils_utils_common.dataCy("toastr-close-button"),
|
|
26
|
+
windowAlert: "#alert-box",
|
|
27
|
+
body: "body",
|
|
28
|
+
toastIcon: ".Toastify__toast-icon",
|
|
29
|
+
paneModalCrossIcon: cypressUtils_utils_common.dataCy("pane-close-button"),
|
|
30
|
+
inputField: cypressUtils_utils_common.dataCy("nui-input-field"),
|
|
31
|
+
alertConfirmationText: cypressUtils_utils_common.dataCy("alert-confirmation-text"),
|
|
32
|
+
alertCancelButton: cypressUtils_utils_common.dataCy("alert-cancel-button"),
|
|
33
|
+
alertModalCrossIcon: cypressUtils_utils_common.dataCy("modal-close-button"),
|
|
34
|
+
saveChangesButton: cypressUtils_utils_common.dataCy("save-changes-button"),
|
|
35
|
+
cancelButton: cypressUtils_utils_common.dataCy("cancel-button"),
|
|
36
|
+
inputFieldError: cypressUtils_utils_common.dataCy("nui-input-error"),
|
|
37
|
+
selectDropDownError: cypressUtils_utils_common.dataCy("nui-select-error"),
|
|
38
|
+
subTitleHeading: function subTitleHeading(index) {
|
|
39
|
+
return cypressUtils_utils_common.dataCy("menubar-subtitle-heading", ":eq(".concat(index, ")"));
|
|
40
|
+
},
|
|
41
|
+
noDataTitle: cypressUtils_utils_common.dataCy("no-data-title"),
|
|
42
|
+
noDataDescription: cypressUtils_utils_common.dataCy("no-data-description"),
|
|
43
|
+
backdrop: cypressUtils_utils_common.dataCy("neeto-backdrop"),
|
|
44
|
+
menuBarHeading: cypressUtils_utils_common.dataCy("menubar-heading"),
|
|
45
|
+
nthTabItem: function nthTabItem(index) {
|
|
46
|
+
return cypressUtils_utils_common.dataCy("tab-item", ":eq(".concat(index, ")"));
|
|
47
|
+
},
|
|
48
|
+
dropdownWrapper: function dropdownWrapper(index) {
|
|
49
|
+
return cypressUtils_utils_common.dataCy("nui-select-container-wrapper", ":eq(".concat(index, ")"));
|
|
50
|
+
},
|
|
51
|
+
toggleButton: cypressUtils_utils_common.dataCy("menubar-toggle-button"),
|
|
52
|
+
tooltip: cypressUtils_utils_common.dataCy("tooltip-box"),
|
|
53
|
+
articlePageTitle: ".serene-article__title",
|
|
54
|
+
tabItem: cypressUtils_utils_common.dataCy("tab-item"),
|
|
55
|
+
labelInputError: cypressUtils_utils_common.dataCy("label-input-error"),
|
|
56
|
+
urlInputError: cypressUtils_utils_common.dataCy("url-input-error"),
|
|
57
|
+
noDataPrimaryButton: cypressUtils_utils_common.dataCy("no-data-primary-button"),
|
|
58
|
+
modalHeader: cypressUtils_utils_common.dataCy("modal-header"),
|
|
59
|
+
nameInputError: cypressUtils_utils_common.dataCy("name-input-error"),
|
|
60
|
+
selectContainer: cypressUtils_utils_common.dataCy("nui-select-container"),
|
|
61
|
+
dropdownMenu: cypressUtils_utils_common.dataCy("nui-select-menu"),
|
|
62
|
+
nthDropdownIcon: function nthDropdownIcon(index) {
|
|
63
|
+
return cypressUtils_utils_common.dataCy("nui-dropdown-icon", ":eq(".concat(index, ")"));
|
|
64
|
+
},
|
|
65
|
+
sidebarToggle: cypressUtils_utils_common.dataCy("neeto-molecules-sidebar-toggler"),
|
|
66
|
+
customDataCy: function customDataCy(name) {
|
|
67
|
+
return cypressUtils_utils_common.dataCy(name);
|
|
68
|
+
},
|
|
69
|
+
leftSubHeader: cypressUtils_utils_common.dataCy("subheader-left"),
|
|
70
|
+
subheader: cypressUtils_utils_common.dataCy("subheader"),
|
|
71
|
+
settingsLink: cypressUtils_utils_common.dataCy("Settings"),
|
|
72
|
+
nthInputField: function nthInputField(index) {
|
|
73
|
+
return cypressUtils_utils_common.dataCy("nui-input-field", ":eq(".concat(index, ")"));
|
|
74
|
+
},
|
|
75
|
+
ticketFieldTextInput: function ticketFieldTextInput(label) {
|
|
76
|
+
return cypressUtils_utils_common.dataCy("".concat(cypressUtils_utils_common.hyphenize(label), "-text-input"));
|
|
77
|
+
}
|
|
78
|
+
};
|
|
79
|
+
var tableSelectors = {
|
|
80
|
+
nthColumn: function nthColumn(n) {
|
|
81
|
+
return "td:nth-child(".concat(n, ")");
|
|
82
|
+
},
|
|
83
|
+
tableBody: ".ant-table-body",
|
|
84
|
+
tableHeader: ".ant-table-thead th",
|
|
85
|
+
tableRow: ".ant-table-tbody tr",
|
|
86
|
+
spinner: ".ant-spin",
|
|
87
|
+
nthHeading: function nthHeading(n) {
|
|
88
|
+
return "tr > th:nth-child(".concat(n, ")");
|
|
89
|
+
}
|
|
90
|
+
};
|
|
91
|
+
var profileSelectors = {
|
|
92
|
+
tab: cypressUtils_utils_common.dataCy("profile-section"),
|
|
93
|
+
logoutLink: cypressUtils_utils_common.dataCy("profile-logout-button"),
|
|
94
|
+
myProfileButton: cypressUtils_utils_common.dataCy("my-profile-button"),
|
|
95
|
+
organizationSettingsButton: cypressUtils_utils_common.dataCy("profile-organization-settings-button"),
|
|
96
|
+
loader: cypressUtils_utils_common.dataTestId("spinner"),
|
|
97
|
+
appSwitcherBody: cypressUtils_utils_common.dataCy("app-switcher-body-wrapper"),
|
|
98
|
+
sidebarInfo: cypressUtils_utils_common.dataCy("sidebar-info"),
|
|
99
|
+
appSwitcherBackButton: cypressUtils_utils_common.dataCy("app-switcher-back-button")
|
|
100
|
+
};
|
|
101
|
+
|
|
102
|
+
exports.commonSelectors = commonSelectors;
|
|
103
|
+
exports.profileSelectors = profileSelectors;
|
|
104
|
+
exports.tableSelectors = tableSelectors;
|
|
105
|
+
//# sourceMappingURL=common.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"common.js","sources":["../../../../../src/cypress-utils/constants/selectors/common.js"],"sourcesContent":["import { dataCy, dataTestId, hyphenize } from \"../../utils/common\";\n\nexport const commonSelectors = {\n alertTitle: dataCy(\"alert-title\"),\n alertModalMessage: dataCy(\"alert-message\"),\n alertModalSubmitButton: dataCy(\"alert-submit-button\"),\n checkbox: dataCy(\"nui-checkbox-input\"),\n checkboxLabel: dataCy(\"nui-checkbox-label\"),\n dropdownContainer: dataCy(\"nui-dropdown-container\"),\n dropdownIcon: dataCy(\"nui-dropdown-icon\"),\n heading: dataCy(\"main-header\"),\n paneBody: dataCy(\"pane-body\"),\n paneHeader: dataCy(\"pane-header\"),\n profileSidebar: dataCy(\"profile-section\"),\n selectOption: label => dataCy(`${hyphenize(label)}-select-option`),\n toastMessage: dataCy(\"toastr-message-container\"),\n toastCloseButton: dataCy(\"toastr-close-button\"),\n windowAlert: \"#alert-box\",\n body: \"body\",\n toastIcon: \".Toastify__toast-icon\",\n paneModalCrossIcon: dataCy(\"pane-close-button\"),\n inputField: dataCy(\"nui-input-field\"),\n alertConfirmationText: dataCy(\"alert-confirmation-text\"),\n alertCancelButton: dataCy(\"alert-cancel-button\"),\n alertModalCrossIcon: dataCy(\"modal-close-button\"),\n saveChangesButton: dataCy(\"save-changes-button\"),\n cancelButton: dataCy(\"cancel-button\"),\n inputFieldError: dataCy(\"nui-input-error\"),\n selectDropDownError: dataCy(\"nui-select-error\"),\n subTitleHeading: index => dataCy(\"menubar-subtitle-heading\", `:eq(${index})`),\n noDataTitle: dataCy(\"no-data-title\"),\n noDataDescription: dataCy(\"no-data-description\"),\n backdrop: dataCy(\"neeto-backdrop\"),\n menuBarHeading: dataCy(\"menubar-heading\"),\n nthTabItem: index => dataCy(\"tab-item\", `:eq(${index})`),\n dropdownWrapper: index =>\n dataCy(\"nui-select-container-wrapper\", `:eq(${index})`),\n toggleButton: dataCy(\"menubar-toggle-button\"),\n tooltip: dataCy(\"tooltip-box\"),\n articlePageTitle: \".serene-article__title\",\n tabItem: dataCy(\"tab-item\"),\n labelInputError: dataCy(\"label-input-error\"),\n urlInputError: dataCy(\"url-input-error\"),\n noDataPrimaryButton: dataCy(\"no-data-primary-button\"),\n modalHeader: dataCy(\"modal-header\"),\n nameInputError: dataCy(\"name-input-error\"),\n selectContainer: dataCy(\"nui-select-container\"),\n dropdownMenu: dataCy(\"nui-select-menu\"),\n nthDropdownIcon: index => dataCy(\"nui-dropdown-icon\", `:eq(${index})`),\n sidebarToggle: dataCy(\"neeto-molecules-sidebar-toggler\"),\n customDataCy: name => dataCy(name),\n leftSubHeader: dataCy(\"subheader-left\"),\n subheader: dataCy(\"subheader\"),\n settingsLink: dataCy(\"Settings\"),\n nthInputField: index => dataCy(\"nui-input-field\", `:eq(${index})`),\n ticketFieldTextInput: label => dataCy(`${hyphenize(label)}-text-input`),\n};\n\nexport const tableSelectors = {\n nthColumn: n => `td:nth-child(${n})`,\n tableBody: \".ant-table-body\",\n tableHeader: \".ant-table-thead th\",\n tableRow: \".ant-table-tbody tr\",\n spinner: \".ant-spin\",\n nthHeading: n => `tr > th:nth-child(${n})`,\n};\n\nexport const profileSelectors = {\n tab: dataCy(\"profile-section\"),\n logoutLink: dataCy(\"profile-logout-button\"),\n myProfileButton: dataCy(\"my-profile-button\"),\n organizationSettingsButton: dataCy(\"profile-organization-settings-button\"),\n loader: dataTestId(\"spinner\"),\n appSwitcherBody: dataCy(\"app-switcher-body-wrapper\"),\n sidebarInfo: dataCy(\"sidebar-info\"),\n appSwitcherBackButton: dataCy(\"app-switcher-back-button\"),\n};\n"],"names":["commonSelectors","alertTitle","dataCy","alertModalMessage","alertModalSubmitButton","checkbox","checkboxLabel","dropdownContainer","dropdownIcon","heading","paneBody","paneHeader","profileSidebar","selectOption","label","concat","hyphenize","toastMessage","toastCloseButton","windowAlert","body","toastIcon","paneModalCrossIcon","inputField","alertConfirmationText","alertCancelButton","alertModalCrossIcon","saveChangesButton","cancelButton","inputFieldError","selectDropDownError","subTitleHeading","index","noDataTitle","noDataDescription","backdrop","menuBarHeading","nthTabItem","dropdownWrapper","toggleButton","tooltip","articlePageTitle","tabItem","labelInputError","urlInputError","noDataPrimaryButton","modalHeader","nameInputError","selectContainer","dropdownMenu","nthDropdownIcon","sidebarToggle","customDataCy","name","leftSubHeader","subheader","settingsLink","nthInputField","ticketFieldTextInput","tableSelectors","nthColumn","n","tableBody","tableHeader","tableRow","spinner","nthHeading","profileSelectors","tab","logoutLink","myProfileButton","organizationSettingsButton","loader","dataTestId","appSwitcherBody","sidebarInfo","appSwitcherBackButton"],"mappings":";;;;;;;;AAEO,IAAMA,eAAe,GAAG;AAC7BC,EAAAA,UAAU,EAAEC,gCAAM,CAAC,aAAa,CAAC;AACjCC,EAAAA,iBAAiB,EAAED,gCAAM,CAAC,eAAe,CAAC;AAC1CE,E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EC,CAAC,EAAA;IAAA,OAAA9C,eAAAA,CAAAA,MAAA,CAAoB8C,CAAC,EAAA,GAAA,CAAA,CAAA;GAAG;AACpCC,EAAAA,SAAS,EAAE,iBAAiB;AAC5BC,EAAAA,WAAW,EAAE,qBAAqB;AAClCC,EAAAA,QAAQ,EAAE,qBAAqB;AAC/BC,EAAAA,OAAO,EAAE,WAAW;AACpBC,EAAAA,UAAU,EAAE,SAAZA,UAAUA,CAAEL,CAAC,EAAA;IAAA,OAAA9C,oBAAAA,CAAAA,MAAA,CAAyB8C,CAAC,EAAA,GAAA,CAAA,CAAA;AAAA,GAAA;AACzC,EAAC;AAEM,IAAMM,gBAAgB,GAAG;AAC9BC,EAAAA,GAAG,EAAElE,gCAAM,CAAC,iBAAiB,CAAC;AAC9BmE,EAAAA,UAAU,EAAEnE,gCAAM,CAAC,uBAAuB,CAAC;AAC3CoE,EAAAA,eAAe,EAAEpE,gCAAM,CAAC,mBAAmB,CAAC;AAC5CqE,EAAAA,0BAA0B,EAAErE,gCAAM,CAAC,sCAAsC,CAAC;AAC1EsE,EAAAA,MAAM,EAAEC,oCAAU,CAAC,SAAS,CAAC;AAC7BC,EAAAA,eAAe,EAAExE,gCAAM,CAAC,2BAA2B,CAAC;AACpDyE,EAAAA,WAAW,EAAEzE,gCAAM,CAAC,cAAc,CAAC;EACnC0E,qBAAqB,EAAE1E,gCAAM,CAAC,0BAA0B,CAAA;AAC1D;;;;;;"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var cypressUtils_utils_common = require('../../utils/common.js');
|
|
6
|
+
require('../../../defineProperty-ba7cd53d.js');
|
|
7
|
+
require('../index.js');
|
|
8
|
+
|
|
9
|
+
var neetoEditorSelectors = {
|
|
10
|
+
boldOption: cypressUtils_utils_common.dataCy("neeto-editor-fixed-menu-bold-option"),
|
|
11
|
+
italicOption: cypressUtils_utils_common.dataCy("neeto-editor-fixed-menu-italic-option"),
|
|
12
|
+
underlineOption: cypressUtils_utils_common.dataCy("neeto-editor-fixed-menu-underline-option"),
|
|
13
|
+
strikeOption: cypressUtils_utils_common.dataCy("neeto-editor-fixed-menu-strike-option"),
|
|
14
|
+
codeBlockOption: cypressUtils_utils_common.dataCy("neeto-editor-fixed-menu-code-option"),
|
|
15
|
+
highlightOption: cypressUtils_utils_common.dataCy("neeto-editor-fixed-menu-highlight-option"),
|
|
16
|
+
linkInput: cypressUtils_utils_common.dataCy("neeto-editor-fixed-menu-link-option-input"),
|
|
17
|
+
linkSubmitButton: cypressUtils_utils_common.dataCy("neeto-editor-fixed-menu-link-option-link-button"),
|
|
18
|
+
commandList: function commandList(index) {
|
|
19
|
+
return cypressUtils_utils_common.dataCy("neeto-editor-command-list-item-".concat(index));
|
|
20
|
+
},
|
|
21
|
+
imageUploadUrlSubmitButton: cypressUtils_utils_common.dataCy("neeto-editor-media-upload-url-submit"),
|
|
22
|
+
imageUploadUrlInputTextField: cypressUtils_utils_common.dataCy("neeto-editor-media-upload-url-input"),
|
|
23
|
+
uploadInput: cypressUtils_utils_common.dataCy("neeto-editor-media-uploader-input"),
|
|
24
|
+
editorMenuBarWrapper: cypressUtils_utils_common.dataCy("neeto-editor-fixed-menu-wrapper"),
|
|
25
|
+
undoOption: cypressUtils_utils_common.dataCy("neeto-editor-fixed-menu-undo-option"),
|
|
26
|
+
redoOption: cypressUtils_utils_common.dataCy("neeto-editor-fixed-menu-redo-option"),
|
|
27
|
+
imageWrapper: cypressUtils_utils_common.dataCy("neeto-editor-image-wrapper")
|
|
28
|
+
};
|
|
29
|
+
|
|
30
|
+
exports.neetoEditorSelectors = neetoEditorSelectors;
|
|
31
|
+
//# sourceMappingURL=editor.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"editor.js","sources":["../../../../../src/cypress-utils/constants/selectors/editor.js"],"sourcesContent":["import { dataCy } from \"../../utils/common\";\n\nexport const neetoEditorSelectors = {\n boldOption: dataCy(\"neeto-editor-fixed-menu-bold-option\"),\n italicOption: dataCy(\"neeto-editor-fixed-menu-italic-option\"),\n underlineOption: dataCy(\"neeto-editor-fixed-menu-underline-option\"),\n strikeOption: dataCy(\"neeto-editor-fixed-menu-strike-option\"),\n codeBlockOption: dataCy(\"neeto-editor-fixed-menu-code-option\"),\n highlightOption: dataCy(\"neeto-editor-fixed-menu-highlight-option\"),\n linkInput: dataCy(\"neeto-editor-fixed-menu-link-option-input\"),\n linkSubmitButton: dataCy(\"neeto-editor-fixed-menu-link-option-link-button\"),\n commandList: index => dataCy(`neeto-editor-command-list-item-${index}`),\n imageUploadUrlSubmitButton: dataCy(\"neeto-editor-media-upload-url-submit\"),\n imageUploadUrlInputTextField: dataCy(\"neeto-editor-media-upload-url-input\"),\n uploadInput: dataCy(\"neeto-editor-media-uploader-input\"),\n editorMenuBarWrapper: dataCy(\"neeto-editor-fixed-menu-wrapper\"),\n undoOption: dataCy(\"neeto-editor-fixed-menu-undo-option\"),\n redoOption: dataCy(\"neeto-editor-fixed-menu-redo-option\"),\n imageWrapper: dataCy(\"neeto-editor-image-wrapper\"),\n};\n"],"names":["neetoEditorSelectors","boldOption","dataCy","italicOption","underlineOption","strikeOption","codeBlockOption","highlightOption","linkInput","linkSubmitButton","commandList","index","concat","imageUploadUrlSubmitButton","imageUploadUrlInputTextField","uploadInput","editorMenuBarWrapper","undoOption","redoOption","imageWrapper"],"mappings":";;;;;;;;AAEO,IAAMA,oBAAoB,GAAG;AAClCC,EAAAA,UAAU,EAAEC,gCAAM,CAAC,qCAAqC,CAAC;AACzDC,EAAAA,YAAY,EAAED,gCAAM,CAAC,uCAAuC,CAAC;AAC7DE,EAAAA,eAAe,EAAEF,gCAAM,CAAC,0CAA0C,CAAC;AACnEG,EAAAA,YAAY,EAAEH,gCAAM,CAAC,uCAAuC,CAAC;AAC7DI,EAAAA,eAAe,EAAEJ,gCAAM,CAAC,qCAAqC,CAAC;AAC9DK,EAAAA,eAAe,EAAEL,gCAAM,CAAC,0CAA0C,CAAC;AACnEM,EAAAA,SAAS,EAAEN,gCAAM,CAAC,2CAA2C,CAAC;AAC9DO,EAAAA,gBAAgB,EAAEP,gCAAM,CAAC,iDAAiD,CAAC;AAC3EQ,EAAAA,WAAW,EAAE,SAAbA,WAAWA,CAAEC,KAAK,EAAA;AAAA,IAAA,OAAIT,gCAAM,CAAAU,iCAAAA,CAAAA,MAAA,CAAmCD,KAAK,CAAE,CAAC,CAAA;AAAA,GAAA;AACvEE,EAAAA,0BAA0B,EAAEX,gCAAM,CAAC,sCAAsC,CAAC;AAC1EY,EAAAA,4BAA4B,EAAEZ,gCAAM,CAAC,qCAAqC,CAAC;AAC3Ea,EAAAA,WAAW,EAAEb,gCAAM,CAAC,mCAAmC,CAAC;AACxDc,EAAAA,oBAAoB,EAAEd,gCAAM,CAAC,iCAAiC,CAAC;AAC/De,EAAAA,UAAU,EAAEf,gCAAM,CAAC,qCAAqC,CAAC;AACzDgB,EAAAA,UAAU,EAAEhB,gCAAM,CAAC,qCAAqC,CAAC;EACzDiB,YAAY,EAAEjB,gCAAM,CAAC,4BAA4B,CAAA;AACnD;;;;"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var cypressUtils_utils_common = require('../../utils/common.js');
|
|
6
|
+
require('../../../defineProperty-ba7cd53d.js');
|
|
7
|
+
require('../index.js');
|
|
8
|
+
|
|
9
|
+
var ipRestrictionSelectors = {
|
|
10
|
+
addButton: cypressUtils_utils_common.dataCy("add-allowed-ip-range-button"),
|
|
11
|
+
ipStartTextField: function ipStartTextField(index) {
|
|
12
|
+
return cypressUtils_utils_common.dataCy("ip-start-text-field", ":eq(".concat(index, ")"));
|
|
13
|
+
},
|
|
14
|
+
ipEndTextField: cypressUtils_utils_common.dataCy("ip-end-text-field"),
|
|
15
|
+
cancelButton: cypressUtils_utils_common.dataCy("ip-cancel-button"),
|
|
16
|
+
ipRangeRow: cypressUtils_utils_common.dataCy("ip-range-row"),
|
|
17
|
+
enableIpRestrictionCheckbox: cypressUtils_utils_common.dataCy("enable-ip-restriction-checkbox")
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
exports.ipRestrictionSelectors = ipRestrictionSelectors;
|
|
21
|
+
//# sourceMappingURL=ipRestriction.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ipRestriction.js","sources":["../../../../../src/cypress-utils/constants/selectors/ipRestriction.js"],"sourcesContent":["import { dataCy } from \"../../utils/common\";\n\nexport const ipRestrictionSelectors = {\n addButton: dataCy(\"add-allowed-ip-range-button\"),\n ipStartTextField: index => dataCy(\"ip-start-text-field\", `:eq(${index})`),\n ipEndTextField: dataCy(\"ip-end-text-field\"),\n cancelButton: dataCy(\"ip-cancel-button\"),\n ipRangeRow: dataCy(\"ip-range-row\"),\n enableIpRestrictionCheckbox: dataCy(\"enable-ip-restriction-checkbox\"),\n};\n"],"names":["ipRestrictionSelectors","addButton","dataCy","ipStartTextField","index","concat","ipEndTextField","cancelButton","ipRangeRow","enableIpRestrictionCheckbox"],"mappings":";;;;;;;;AAEO,IAAMA,sBAAsB,GAAG;AACpCC,EAAAA,SAAS,EAAEC,gCAAM,CAAC,6BAA6B,CAAC;AAChDC,EAAAA,gBAAgB,EAAE,SAAlBA,gBAAgBA,CAAEC,KAAK,EAAA;IAAA,OAAIF,gCAAM,CAAC,qBAAqB,EAAA,MAAA,CAAAG,MAAA,CAASD,KAAK,MAAG,CAAC,CAAA;AAAA,GAAA;AACzEE,EAAAA,cAAc,EAAEJ,gCAAM,CAAC,mBAAmB,CAAC;AAC3CK,EAAAA,YAAY,EAAEL,gCAAM,CAAC,kBAAkB,CAAC;AACxCM,EAAAA,UAAU,EAAEN,gCAAM,CAAC,cAAc,CAAC;EAClCO,2BAA2B,EAAEP,gCAAM,CAAC,gCAAgC,CAAA;AACtE;;;;"}
|