@unchainedshop/admin-ui 4.8.32 → 4.8.34
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunk-2HTCKO4E.js +45 -0
- package/dist/chunk-4MXPTVDL.js +3308 -0
- package/dist/chunk-54DKBWXV.js +33 -0
- package/dist/chunk-6UGLNLJG.js +44 -0
- package/dist/chunk-ATZJXTRA.js +618 -0
- package/dist/chunk-BOMSMJF2.js +77 -0
- package/dist/chunk-COV7BREX.js +50 -0
- package/dist/chunk-CUYIP5XG.js +1099 -0
- package/dist/chunk-E6HDJYA6.js +388 -0
- package/dist/chunk-EAVP6XZQ.js +44 -0
- package/dist/chunk-ED2FP42R.js +2083 -0
- package/dist/chunk-EJDZRZSZ.js +59 -0
- package/dist/chunk-ELPURWDC.js +75 -0
- package/dist/chunk-F6LBNV3H.js +9 -0
- package/dist/chunk-GWMLIF3C.js +694 -0
- package/dist/chunk-GY2DRQGW.js +166 -0
- package/dist/chunk-HERLM47Z.js +309 -0
- package/dist/chunk-IAQPLRXZ.js +16 -0
- package/dist/chunk-ILYPJE4N.js +57 -0
- package/dist/chunk-IWKDBADX.js +73 -0
- package/dist/chunk-IXBMHOB5.js +13 -0
- package/dist/chunk-IYKPRAWC.js +26 -0
- package/dist/chunk-J23QSWDL.js +8 -0
- package/dist/chunk-KH5MK6ZW.js +18 -0
- package/dist/chunk-KRIRF7F6.js +76 -0
- package/dist/chunk-NFJE5EJG.js +135 -0
- package/dist/chunk-NT7RB7AK.js +70 -0
- package/dist/chunk-OKGJ6HDE.js +26 -0
- package/dist/chunk-OTXM2UCD.js +19 -0
- package/dist/chunk-PGJTFYBT.js +23000 -0
- package/dist/chunk-PUI5BIKO.js +41 -0
- package/dist/chunk-Q6S3LBUF.js +180 -0
- package/dist/chunk-QWQ3WJJN.js +1 -0
- package/dist/chunk-RAQV2GYF.js +70 -0
- package/dist/chunk-VBO377AY.js +14 -0
- package/dist/chunk-VYEXPG3M.js +107 -0
- package/dist/chunk-YO6PT7KD.js +13 -0
- package/dist/chunk-YUXHILXY.js +326 -0
- package/dist/chunk-ZUOVKRKC.js +957 -0
- package/dist/components/ui/Accordion/Accordion.d.ts +11 -0
- package/dist/components/ui/Accordion/Accordion.d.ts.map +1 -0
- package/dist/components/ui/Accordion/AccordionHeader.d.ts +6 -0
- package/dist/components/ui/Accordion/AccordionHeader.d.ts.map +1 -0
- package/dist/components/ui/Accordion/AccordionItem.d.ts +11 -0
- package/dist/components/ui/Accordion/AccordionItem.d.ts.map +1 -0
- package/dist/components/ui/ActiveInActive.d.ts +10 -0
- package/dist/components/ui/ActiveInActive.d.ts.map +1 -0
- package/dist/components/ui/AnimatedCounter.d.ts +7 -0
- package/dist/components/ui/AnimatedCounter.d.ts.map +1 -0
- package/dist/components/ui/Badge.d.ts +10 -0
- package/dist/components/ui/Badge.d.ts.map +1 -0
- package/dist/components/ui/BreadCrumbs.d.ts +7 -0
- package/dist/components/ui/BreadCrumbs.d.ts.map +1 -0
- package/dist/components/ui/Button.d.ts +36 -0
- package/dist/components/ui/Button.d.ts.map +1 -0
- package/dist/components/ui/CopyableText.d.ts +5 -0
- package/dist/components/ui/CopyableText.d.ts.map +1 -0
- package/dist/components/ui/DateInput.d.ts +15 -0
- package/dist/components/ui/DateInput.d.ts.map +1 -0
- package/dist/components/ui/DateRangeFilterInput.d.ts +4 -0
- package/dist/components/ui/DateRangeFilterInput.d.ts.map +1 -0
- package/dist/components/ui/DetailHeader.d.ts +6 -0
- package/dist/components/ui/DetailHeader.d.ts.map +1 -0
- package/dist/components/ui/DraggableIcon.d.ts +3 -0
- package/dist/components/ui/DraggableIcon.d.ts.map +1 -0
- package/dist/components/ui/ErrorBoundary.d.ts +18 -0
- package/dist/components/ui/ErrorBoundary.d.ts.map +1 -0
- package/dist/components/ui/ErrorFallback.d.ts +6 -0
- package/dist/components/ui/ErrorFallback.d.ts.map +1 -0
- package/dist/components/ui/HelpText.d.ts +11 -0
- package/dist/components/ui/HelpText.d.ts.map +1 -0
- package/dist/components/ui/ImageWithFallback.d.ts +7 -0
- package/dist/components/ui/ImageWithFallback.d.ts.map +1 -0
- package/dist/components/ui/InfoTextBanner.d.ts +6 -0
- package/dist/components/ui/InfoTextBanner.d.ts.map +1 -0
- package/dist/components/ui/JSONView.d.ts +6 -0
- package/dist/components/ui/JSONView.d.ts.map +1 -0
- package/dist/components/ui/ListHeader.d.ts +6 -0
- package/dist/components/ui/ListHeader.d.ts.map +1 -0
- package/dist/components/ui/Loading.d.ts +10 -0
- package/dist/components/ui/Loading.d.ts.map +1 -0
- package/dist/components/ui/NoData.d.ts +7 -0
- package/dist/components/ui/NoData.d.ts.map +1 -0
- package/dist/components/ui/NoImage.d.ts +7 -0
- package/dist/components/ui/NoImage.d.ts.map +1 -0
- package/dist/components/ui/NoImageSvg.d.ts +8 -0
- package/dist/components/ui/NoImageSvg.d.ts.map +1 -0
- package/dist/components/ui/PageHeader.d.ts +11 -0
- package/dist/components/ui/PageHeader.d.ts.map +1 -0
- package/dist/components/ui/Pagination.d.ts +8 -0
- package/dist/components/ui/Pagination.d.ts.map +1 -0
- package/dist/components/ui/Portal/Portal.d.ts +16 -0
- package/dist/components/ui/Portal/Portal.d.ts.map +1 -0
- package/dist/components/ui/Portal/Portal.types.d.ts +16 -0
- package/dist/components/ui/Portal/Portal.types.d.ts.map +1 -0
- package/dist/components/ui/SaveAndCancelButtons.d.ts +10 -0
- package/dist/components/ui/SaveAndCancelButtons.d.ts.map +1 -0
- package/dist/components/ui/SearchField.d.ts +7 -0
- package/dist/components/ui/SearchField.d.ts.map +1 -0
- package/dist/components/ui/Tab.d.ts +18 -0
- package/dist/components/ui/Tab.d.ts.map +1 -0
- package/dist/components/ui/Tag/TagInput.d.ts +19 -0
- package/dist/components/ui/Tag/TagInput.d.ts.map +1 -0
- package/dist/components/ui/Tag/TagList.d.ts +8 -0
- package/dist/components/ui/Tag/TagList.d.ts.map +1 -0
- package/dist/components/ui/Tag/TagListForm.d.ts +8 -0
- package/dist/components/ui/Tag/TagListForm.d.ts.map +1 -0
- package/dist/components/ui/Toggle.d.ts +11 -0
- package/dist/components/ui/Toggle.d.ts.map +1 -0
- package/dist/components/ui/ToolTip.d.ts +7 -0
- package/dist/components/ui/ToolTip.d.ts.map +1 -0
- package/dist/components/ui/card.d.ts +9 -0
- package/dist/components/ui/card.d.ts.map +1 -0
- package/dist/components/ui/chart.d.ts +42 -0
- package/dist/components/ui/chart.d.ts.map +1 -0
- package/dist/components/ui/form/CheckboxField.d.ts +4 -0
- package/dist/components/ui/form/CheckboxField.d.ts.map +1 -0
- package/dist/components/ui/form/ChoicesField.d.ts +12 -0
- package/dist/components/ui/form/ChoicesField.d.ts.map +1 -0
- package/dist/components/ui/form/Combobox.d.ts +20 -0
- package/dist/components/ui/form/Combobox.d.ts.map +1 -0
- package/dist/components/ui/form/DatePickerField.d.ts +4 -0
- package/dist/components/ui/form/DatePickerField.d.ts.map +1 -0
- package/dist/components/ui/form/EmailField.d.ts +7 -0
- package/dist/components/ui/form/EmailField.d.ts.map +1 -0
- package/dist/components/ui/form/FieldWithHelp.d.ts +10 -0
- package/dist/components/ui/form/FieldWithHelp.d.ts.map +1 -0
- package/dist/components/ui/form/FieldWrapper.d.ts +8 -0
- package/dist/components/ui/form/FieldWrapper.d.ts.map +1 -0
- package/dist/components/ui/form/FormErrors.d.ts +6 -0
- package/dist/components/ui/form/FormErrors.d.ts.map +1 -0
- package/dist/components/ui/form/JSONAreaField.d.ts +7 -0
- package/dist/components/ui/form/JSONAreaField.d.ts.map +1 -0
- package/dist/components/ui/form/MarkdownTextAreaField.d.ts +8 -0
- package/dist/components/ui/form/MarkdownTextAreaField.d.ts.map +1 -0
- package/dist/components/ui/form/PasswordField.d.ts +3 -0
- package/dist/components/ui/form/PasswordField.d.ts.map +1 -0
- package/dist/components/ui/form/SelectField.d.ts +11 -0
- package/dist/components/ui/form/SelectField.d.ts.map +1 -0
- package/dist/components/ui/form/SubmitButton.d.ts +9 -0
- package/dist/components/ui/form/SubmitButton.d.ts.map +1 -0
- package/dist/components/ui/form/TagInputField.d.ts +7 -0
- package/dist/components/ui/form/TagInputField.d.ts.map +1 -0
- package/dist/components/ui/form/TextAreaField.d.ts +8 -0
- package/dist/components/ui/form/TextAreaField.d.ts.map +1 -0
- package/dist/components/ui/form/TextField.d.ts +10 -0
- package/dist/components/ui/form/TextField.d.ts.map +1 -0
- package/dist/components/ui/form/index.d.ts +18 -0
- package/dist/components/ui/form/index.d.ts.map +1 -0
- package/dist/components/ui/icons.d.ts +4 -0
- package/dist/components/ui/icons.d.ts.map +1 -0
- package/dist/components/ui/index.d.ts +47 -0
- package/dist/components/ui/index.d.ts.map +1 -0
- package/dist/form.js +3128 -0
- package/dist/gql/operation-types.d.ts +13239 -0
- package/dist/gql/operation-types.d.ts.map +1 -0
- package/dist/gql/schema-types.d.ts +3876 -0
- package/dist/gql/schema-types.d.ts.map +1 -0
- package/dist/gql/types.d.ts +3 -0
- package/dist/gql/types.d.ts.map +1 -0
- package/dist/hooks.js +49 -0
- package/dist/lib/utils.d.ts +3 -0
- package/dist/lib/utils.d.ts.map +1 -0
- package/dist/modal.js +51 -0
- package/dist/modules/Auth/AuthContext.d.ts +9 -0
- package/dist/modules/Auth/AuthContext.d.ts.map +1 -0
- package/dist/modules/Auth/useAuth.d.ts +6 -0
- package/dist/modules/Auth/useAuth.d.ts.map +1 -0
- package/dist/modules/UnchainedContext/UnchainedContext.d.ts +8 -0
- package/dist/modules/UnchainedContext/UnchainedContext.d.ts.map +1 -0
- package/dist/modules/UnchainedContext/useUnchainedContext.d.ts +7 -0
- package/dist/modules/UnchainedContext/useUnchainedContext.d.ts.map +1 -0
- package/dist/modules/accounts/fragment/MD5MetaDataFragment.d.ts +3 -0
- package/dist/modules/accounts/fragment/MD5MetaDataFragment.d.ts.map +1 -0
- package/dist/modules/accounts/fragment/UserFragment.d.ts +3 -0
- package/dist/modules/accounts/fragment/UserFragment.d.ts.map +1 -0
- package/dist/modules/accounts/hooks/useCurrentUser.d.ts +10 -0
- package/dist/modules/accounts/hooks/useCurrentUser.d.ts.map +1 -0
- package/dist/modules/accounts/hooks/useUsersCount.d.ts +8 -0
- package/dist/modules/accounts/hooks/useUsersCount.d.ts.map +1 -0
- package/dist/modules/accounts.js +1349 -0
- package/dist/modules/assortment/hooks/useAssortmentsCount.d.ts +8 -0
- package/dist/modules/assortment/hooks/useAssortmentsCount.d.ts.map +1 -0
- package/dist/modules/assortment.js +1205 -0
- package/dist/modules/common/components/AppContext.d.ts +18 -0
- package/dist/modules/common/components/AppContext.d.ts.map +1 -0
- package/dist/modules/common/components/FormWrapper.d.ts +8 -0
- package/dist/modules/common/components/FormWrapper.d.ts.map +1 -0
- package/dist/modules/common/components/LocaleWrapper.d.ts +7 -0
- package/dist/modules/common/components/LocaleWrapper.d.ts.map +1 -0
- package/dist/modules/common/components/MediaAvatar.d.ts +6 -0
- package/dist/modules/common/components/MediaAvatar.d.ts.map +1 -0
- package/dist/modules/common/components/SelectOptions.d.ts +17 -0
- package/dist/modules/common/components/SelectOptions.d.ts.map +1 -0
- package/dist/modules/common/components/Table.d.ts +25 -0
- package/dist/modules/common/components/Table.d.ts.map +1 -0
- package/dist/modules/common/components/TableCell.d.ts +12 -0
- package/dist/modules/common/components/TableCell.d.ts.map +1 -0
- package/dist/modules/common/components/TableRow.d.ts +10 -0
- package/dist/modules/common/components/TableRow.d.ts.map +1 -0
- package/dist/modules/common/components/ThemeWrapper.d.ts +10 -0
- package/dist/modules/common/components/ThemeWrapper.d.ts.map +1 -0
- package/dist/modules/common/data/iso-codes.d.ts +4 -0
- package/dist/modules/common/data/iso-codes.d.ts.map +1 -0
- package/dist/modules/common/data/miscellaneous.d.ts +52 -0
- package/dist/modules/common/data/miscellaneous.d.ts.map +1 -0
- package/dist/modules/common/fragments/AddressFragment.d.ts +3 -0
- package/dist/modules/common/fragments/AddressFragment.d.ts.map +1 -0
- package/dist/modules/common/hooks/useApp.d.ts +11 -0
- package/dist/modules/common/hooks/useApp.d.ts.map +1 -0
- package/dist/modules/common/hooks/useBulkResultHandler.d.ts +8 -0
- package/dist/modules/common/hooks/useBulkResultHandler.d.ts.map +1 -0
- package/dist/modules/common/hooks/useBulkSelection.d.ts +12 -0
- package/dist/modules/common/hooks/useBulkSelection.d.ts.map +1 -0
- package/dist/modules/common/hooks/useCSVExport.d.ts +10 -0
- package/dist/modules/common/hooks/useCSVExport.d.ts.map +1 -0
- package/dist/modules/common/hooks/useCSVImport.d.ts +18 -0
- package/dist/modules/common/hooks/useCSVImport.d.ts.map +1 -0
- package/dist/modules/common/hooks/useChatEndpointChecker.d.ts +5 -0
- package/dist/modules/common/hooks/useChatEndpointChecker.d.ts.map +1 -0
- package/dist/modules/common/hooks/useConfirmMediaUpload.d.ts +10 -0
- package/dist/modules/common/hooks/useConfirmMediaUpload.d.ts.map +1 -0
- package/dist/modules/common/hooks/useDashboardMetrics.d.ts +23 -0
- package/dist/modules/common/hooks/useDashboardMetrics.d.ts.map +1 -0
- package/dist/modules/common/hooks/useLocalStorage.d.ts +3 -0
- package/dist/modules/common/hooks/useLocalStorage.d.ts.map +1 -0
- package/dist/modules/common/hooks/useOrderAnalytics.d.ts +25 -0
- package/dist/modules/common/hooks/useOrderAnalytics.d.ts.map +1 -0
- package/dist/modules/common/hooks/useOrderItemsAnalytics.d.ts +16 -0
- package/dist/modules/common/hooks/useOrderItemsAnalytics.d.ts.map +1 -0
- package/dist/modules/common/hooks/useOutsideClick.d.ts +3 -0
- package/dist/modules/common/hooks/useOutsideClick.d.ts.map +1 -0
- package/dist/modules/common/hooks/usePortal.d.ts +20 -0
- package/dist/modules/common/hooks/usePortal.d.ts.map +1 -0
- package/dist/modules/common/hooks/useScrollRestoration.d.ts +8 -0
- package/dist/modules/common/hooks/useScrollRestoration.d.ts.map +1 -0
- package/dist/modules/common/hooks/useShopConfiguration.d.ts +8 -0
- package/dist/modules/common/hooks/useShopConfiguration.d.ts.map +1 -0
- package/dist/modules/common/hooks/useShopInfo.d.ts +41 -0
- package/dist/modules/common/hooks/useShopInfo.d.ts.map +1 -0
- package/dist/modules/common/hooks/useStatusTypes.d.ts +10 -0
- package/dist/modules/common/hooks/useStatusTypes.d.ts.map +1 -0
- package/dist/modules/common/hooks/useSystemRoles.d.ts +7 -0
- package/dist/modules/common/hooks/useSystemRoles.d.ts.map +1 -0
- package/dist/modules/common/hooks/useTheme.d.ts +7 -0
- package/dist/modules/common/hooks/useTheme.d.ts.map +1 -0
- package/dist/modules/common/utils/deBounce.d.ts +3 -0
- package/dist/modules/common/utils/deBounce.d.ts.map +1 -0
- package/dist/modules/common/utils/defaultNextImageLoader.d.ts +7 -0
- package/dist/modules/common/utils/defaultNextImageLoader.d.ts.map +1 -0
- package/dist/modules/common/utils/formatUsername.d.ts +3 -0
- package/dist/modules/common/utils/formatUsername.d.ts.map +1 -0
- package/dist/modules/common/utils/getSetupStepsConfigurationsMeta.d.ts +30 -0
- package/dist/modules/common/utils/getSetupStepsConfigurationsMeta.d.ts.map +1 -0
- package/dist/modules/common/utils/normalizeFilterKeys.d.ts +4 -0
- package/dist/modules/common/utils/normalizeFilterKeys.d.ts.map +1 -0
- package/dist/modules/common/utils/sharedContext.d.ts +9 -0
- package/dist/modules/common/utils/sharedContext.d.ts.map +1 -0
- package/dist/modules/common/utils/useFormatDateTime.d.ts +16 -0
- package/dist/modules/common/utils/useFormatDateTime.d.ts.map +1 -0
- package/dist/modules/common/utils/utils.d.ts +21 -0
- package/dist/modules/common/utils/utils.d.ts.map +1 -0
- package/dist/modules/country/fragments/CountryFragment.d.ts +3 -0
- package/dist/modules/country/fragments/CountryFragment.d.ts.map +1 -0
- package/dist/modules/country/hooks/useCountries.d.ts +22 -0
- package/dist/modules/country/hooks/useCountries.d.ts.map +1 -0
- package/dist/modules/country.js +108 -0
- package/dist/modules/currency.js +119 -0
- package/dist/modules/delivery-provider.js +269 -0
- package/dist/modules/enrollment.js +431 -0
- package/dist/modules/event.js +123 -0
- package/dist/modules/filter.js +497 -0
- package/dist/modules/forms/components/Form.d.ts +8 -0
- package/dist/modules/forms/components/Form.d.ts.map +1 -0
- package/dist/modules/forms/hooks/useField.d.ts +35 -0
- package/dist/modules/forms/hooks/useField.d.ts.map +1 -0
- package/dist/modules/forms/hooks/useForm.d.ts +44 -0
- package/dist/modules/forms/hooks/useForm.d.ts.map +1 -0
- package/dist/modules/forms/hooks/useFormContext.d.ts +3 -0
- package/dist/modules/forms/hooks/useFormContext.d.ts.map +1 -0
- package/dist/modules/forms/lib/FormContext.d.ts +13 -0
- package/dist/modules/forms/lib/FormContext.d.ts.map +1 -0
- package/dist/modules/forms/lib/clean.d.ts +3 -0
- package/dist/modules/forms/lib/clean.d.ts.map +1 -0
- package/dist/modules/forms/lib/validators.d.ts +20 -0
- package/dist/modules/forms/lib/validators.d.ts.map +1 -0
- package/dist/modules/language/fragments/LanguageFragment.d.ts +3 -0
- package/dist/modules/language/fragments/LanguageFragment.d.ts.map +1 -0
- package/dist/modules/language/hooks/useLanguages.d.ts +19 -0
- package/dist/modules/language/hooks/useLanguages.d.ts.map +1 -0
- package/dist/modules/language.js +106 -0
- package/dist/modules/modal/components/AlertMessage.d.ts +9 -0
- package/dist/modules/modal/components/AlertMessage.d.ts.map +1 -0
- package/dist/modules/modal/components/DangerMessage.d.ts +13 -0
- package/dist/modules/modal/components/DangerMessage.d.ts.map +1 -0
- package/dist/modules/modal/components/ImportResultMessage.d.ts +14 -0
- package/dist/modules/modal/components/ImportResultMessage.d.ts.map +1 -0
- package/dist/modules/modal/components/Modal.d.ts +10 -0
- package/dist/modules/modal/components/Modal.d.ts.map +1 -0
- package/dist/modules/modal/components/ModalWrapper.d.ts +6 -0
- package/dist/modules/modal/components/ModalWrapper.d.ts.map +1 -0
- package/dist/modules/modal/hooks/useModal.d.ts +7 -0
- package/dist/modules/modal/hooks/useModal.d.ts.map +1 -0
- package/dist/modules/modal/utils/ModalContext.d.ts +9 -0
- package/dist/modules/modal/utils/ModalContext.d.ts.map +1 -0
- package/dist/modules/order/fragments/OrderDetailFragment.d.ts +3 -0
- package/dist/modules/order/fragments/OrderDetailFragment.d.ts.map +1 -0
- package/dist/modules/order/fragments/OrderFragment.d.ts +3 -0
- package/dist/modules/order/fragments/OrderFragment.d.ts.map +1 -0
- package/dist/modules/order/hooks/useOrders.d.ts +46 -0
- package/dist/modules/order/hooks/useOrders.d.ts.map +1 -0
- package/dist/modules/order.js +569 -0
- package/dist/modules/payment-providers.js +206 -0
- package/dist/modules/product/hooks/useProductsCount.d.ts +8 -0
- package/dist/modules/product/hooks/useProductsCount.d.ts.map +1 -0
- package/dist/modules/product-review.js +270 -0
- package/dist/modules/product.js +6914 -0
- package/dist/modules/quotation.js +324 -0
- package/dist/modules/token.js +143 -0
- package/dist/modules/warehousing-providers.js +206 -0
- package/dist/modules/work/fragments/WorkFragment.d.ts +3 -0
- package/dist/modules/work/fragments/WorkFragment.d.ts.map +1 -0
- package/dist/modules/work/hooks/useAddWork.d.ts +6 -0
- package/dist/modules/work/hooks/useAddWork.d.ts.map +1 -0
- package/dist/modules/work/hooks/useWork.d.ts +32 -0
- package/dist/modules/work/hooks/useWork.d.ts.map +1 -0
- package/dist/modules/work.js +232 -0
- package/dist/plugins.js +13 -0
- package/dist/providers.js +9 -0
- package/dist/sdk/hooks.d.ts +12 -0
- package/dist/sdk/hooks.d.ts.map +1 -0
- package/dist/sdk/modal.d.ts +7 -0
- package/dist/sdk/modal.d.ts.map +1 -0
- package/dist/sdk/plugins.d.ts +78 -0
- package/dist/sdk/plugins.d.ts.map +1 -0
- package/dist/sdk/providers.d.ts +5 -0
- package/dist/sdk/providers.d.ts.map +1 -0
- package/dist/sdk/shims/admin-ui-plugins.d.ts +3 -0
- package/dist/sdk/shims/admin-ui-plugins.d.ts.map +1 -0
- package/dist/sdk/shims/apollo-client-react.d.ts +3 -0
- package/dist/sdk/shims/apollo-client-react.d.ts.map +1 -0
- package/dist/sdk/shims/apollo-client.d.ts +3 -0
- package/dist/sdk/shims/apollo-client.d.ts.map +1 -0
- package/dist/sdk/shims/host.d.ts +17 -0
- package/dist/sdk/shims/host.d.ts.map +1 -0
- package/dist/sdk/shims/next-head.d.ts +3 -0
- package/dist/sdk/shims/next-head.d.ts.map +1 -0
- package/dist/sdk/shims/next-image.d.ts +3 -0
- package/dist/sdk/shims/next-image.d.ts.map +1 -0
- package/dist/sdk/shims/next-link.d.ts +3 -0
- package/dist/sdk/shims/next-link.d.ts.map +1 -0
- package/dist/sdk/shims/next-router.d.ts +3 -0
- package/dist/sdk/shims/next-router.d.ts.map +1 -0
- package/dist/sdk/shims/react-dom-client.d.ts +3 -0
- package/dist/sdk/shims/react-dom-client.d.ts.map +1 -0
- package/dist/sdk/shims/react-dom.d.ts +3 -0
- package/dist/sdk/shims/react-dom.d.ts.map +1 -0
- package/dist/sdk/shims/react-hook-form.d.ts +3 -0
- package/dist/sdk/shims/react-hook-form.d.ts.map +1 -0
- package/dist/sdk/shims/react-intl.d.ts +3 -0
- package/dist/sdk/shims/react-intl.d.ts.map +1 -0
- package/dist/sdk/shims/react-jsx-runtime.d.ts +3 -0
- package/dist/sdk/shims/react-jsx-runtime.d.ts.map +1 -0
- package/dist/sdk/shims/react-toastify.d.ts +3 -0
- package/dist/sdk/shims/react-toastify.d.ts.map +1 -0
- package/dist/sdk/shims/react.d.ts +3 -0
- package/dist/sdk/shims/react.d.ts.map +1 -0
- package/dist/sdk/theme.d.ts +26 -0
- package/dist/sdk/theme.d.ts.map +1 -0
- package/dist/shims/admin-ui-plugins.js +9 -0
- package/dist/shims/apollo-client-react.js +25 -0
- package/dist/shims/apollo-client.js +55 -0
- package/dist/shims/next-head.js +9 -0
- package/dist/shims/next-image.js +9 -0
- package/dist/shims/next-link.js +9 -0
- package/dist/shims/next-router.js +13 -0
- package/dist/shims/react-dom-client.js +11 -0
- package/dist/shims/react-dom.js +22 -0
- package/dist/shims/react-hook-form.js +25 -0
- package/dist/shims/react-intl.js +37 -0
- package/dist/shims/react-jsx-runtime.js +11 -0
- package/dist/shims/react-toastify.js +16 -0
- package/dist/shims/react.js +52 -0
- package/dist/theme.js +34 -0
- package/dist/ui.js +20247 -0
- package/out/403/index.html +3 -3
- package/out/404/index.html +3 -3
- package/out/404.html +3 -3
- package/out/423/index.html +3 -3
- package/out/500/index.html +3 -3
- package/out/_next/static/DUswS2PYjGTW9uUGVJ6xd/_buildManifest.js +258 -0
- package/out/_next/static/chunks/0-e21p2v90828.js +23 -0
- package/out/_next/static/chunks/0-w25xfpw-_e9.js +44 -0
- package/out/_next/static/chunks/011h6mc3kuxq9.js +217 -0
- package/out/_next/static/chunks/01n5rd9ngv-t4.js +1 -0
- package/out/_next/static/chunks/01rghd4wcj4ex.js +5 -0
- package/out/_next/static/chunks/03omde6jo6sta.js +1 -0
- package/out/_next/static/chunks/06gyzyq56kw_2.js +6 -0
- package/out/_next/static/chunks/{2ajr0rk0_yax6.js → 06kqbwwnuu3te.js} +1 -1
- package/out/_next/static/chunks/07i53w2a3x0so.js +1 -0
- package/out/_next/static/chunks/09irjy-7k1922.js +1 -0
- package/out/_next/static/chunks/09kihj6ay6mqn.js +39 -0
- package/out/_next/static/chunks/09ml8g7-byzio.js +71 -0
- package/out/_next/static/chunks/09yk8jmltcqcd.js +5 -0
- package/out/_next/static/chunks/0_m0oaoy22un6.js +5 -0
- package/out/_next/static/chunks/0af-w950yl0l5.js +277 -0
- package/out/_next/static/chunks/0ah2m5cl87avs.js +935 -0
- package/out/_next/static/chunks/0ahfhl4hk0fuj.js +12 -0
- package/out/_next/static/chunks/0b4rcc2y1ex8j.js +12 -0
- package/out/_next/static/chunks/0buyef0vid-ym.js +224 -0
- package/out/_next/static/chunks/0czpir4zjwmos.js +1 -0
- package/out/_next/static/chunks/0duy5y86n4tl3.js +5 -0
- package/out/_next/static/chunks/0dzn-wes7gjdt.js +33 -0
- package/out/_next/static/chunks/{2rmgaa88-4bpb.js → 0e4nzgbtw6x_d.js} +4 -4
- package/out/_next/static/chunks/0eb98o1s1ojq7.js +5 -0
- package/out/_next/static/chunks/0gow2wyosbjb6.js +71 -0
- package/out/_next/static/chunks/0h4ehpg2f7fp2.js +46 -0
- package/out/_next/static/chunks/0hgha-mywwcsd.js +8 -0
- package/out/_next/static/chunks/0iliy1guwadr4.js +7 -0
- package/out/_next/static/chunks/0l0hzoqd-va5-.js +1 -0
- package/out/_next/static/chunks/0l1xycyhdztmy.js +46 -0
- package/out/_next/static/chunks/0lh8xbz1qulcr.js +15 -0
- package/out/_next/static/chunks/0mavm6oemhb-d.js +152 -0
- package/out/_next/static/chunks/0nk0kgnsiap5g.js +116 -0
- package/out/_next/static/chunks/0o3o1f00j5wxa.js +8 -0
- package/out/_next/static/chunks/0pny1c_ni8rn7.js +39 -0
- package/out/_next/static/chunks/0q62hlhpcumrt.js +33 -0
- package/out/_next/static/chunks/0qkdih-hi6c2m.js +15 -0
- package/out/_next/static/chunks/0qz61g2g6ijfh.js +54 -0
- package/out/_next/static/chunks/0raj1enjck-ex.js +4 -0
- package/out/_next/static/chunks/0rmomvc8u__n4.js +10 -0
- package/out/_next/static/chunks/0s0ufx1fl32v7.js +12 -0
- package/out/_next/static/chunks/0sgxa66r-iing.js +1 -0
- package/out/_next/static/chunks/0sv5w2_cae8tj.js +7 -0
- package/out/_next/static/chunks/0u_zr87ce7iu-.js +1 -0
- package/out/_next/static/chunks/0ub1l2hrjkz2-.js +1 -0
- package/out/_next/static/chunks/0uef4ugmc_g10.js +1 -0
- package/out/_next/static/chunks/0uksleo_xd7j5.js +1 -0
- package/out/_next/static/chunks/0wbciytf8tnsa.js +18 -0
- package/out/_next/static/chunks/0wd1l2f5cin-0.js +4 -0
- package/out/_next/static/chunks/0zfm51umxvjc6.js +1 -0
- package/out/_next/static/chunks/10enect1zh1vj.js +3 -0
- package/out/_next/static/chunks/11e6h7l-whxh3.js +7 -0
- package/out/_next/static/chunks/11vnr4kb9qkjr.js +1 -0
- package/out/_next/static/chunks/13bcbgywansr-.js +130 -0
- package/out/_next/static/chunks/13ytpmhxkpnwy.js +1 -0
- package/out/_next/static/chunks/14pnkf7som1m1.js +1 -0
- package/out/_next/static/chunks/17nr-ur3sbo_z.js +24 -0
- package/out/_next/static/chunks/1802-tohqffps.js +1 -0
- package/out/_next/static/chunks/181-yaruteuqm.js +61 -0
- package/out/_next/static/chunks/181zsbok_ljo_.js +4 -0
- package/out/_next/static/chunks/187p6ryym-x3i.js +5 -0
- package/out/_next/static/chunks/198-_r3as1j63.js +8 -0
- package/out/_next/static/chunks/19f7gu0kvm7xl.js +7 -0
- package/out/_next/static/chunks/19kin-dby998k.js +8 -0
- package/out/_next/static/chunks/1aojv48cs6ufj.js +6 -0
- package/out/_next/static/chunks/1cs-w7vppvm8o.js +1 -0
- package/out/_next/static/chunks/1cz2fp89ssu5d.js +4 -0
- package/out/_next/static/chunks/1dedrypk-h8qr.js +1 -0
- package/out/_next/static/chunks/1edk56b1rx05q.js +4 -0
- package/out/_next/static/chunks/1ew4i-mm087xs.js +4 -0
- package/out/_next/static/chunks/1ewn0p_wru2ra.js +15 -0
- package/out/_next/static/chunks/1g1na7eoafolj.js +1 -0
- package/out/_next/static/chunks/1gfocmey44pyr.js +7 -0
- package/out/_next/static/chunks/1grwyry6zqknr.js +100 -0
- package/out/_next/static/chunks/1gyt_0aw92ysk.js +5 -0
- package/out/_next/static/chunks/1hvvot0p0442h.js +5 -0
- package/out/_next/static/chunks/1inbspyz1wpdj.js +1 -0
- package/out/_next/static/chunks/1l2p87t0w4-yb.js +8 -0
- package/out/_next/static/chunks/1lew6f82bg1x1.js +1 -0
- package/out/_next/static/chunks/1nbc2o30_g9bj.js +95 -0
- package/out/_next/static/chunks/1nikeez809jr8.js +2 -0
- package/out/_next/static/chunks/1p1f35qy1lt0s.js +7 -0
- package/out/_next/static/chunks/1p3agrt0e0t9t.js +5 -0
- package/out/_next/static/chunks/1p6qsnui0zjik.js +44 -0
- package/out/_next/static/chunks/1pbfjibxvspoj.js +5 -0
- package/out/_next/static/chunks/1pcrg5m_9agof.js +5 -0
- package/out/_next/static/chunks/1rm2w7nvmejdw.js +31 -0
- package/out/_next/static/chunks/{1---h4b693b81.js → 1t5wlk2j9d4ss.js} +1 -1
- package/out/_next/static/chunks/{12yd8t4k6c0t1.js → 1t8jj0-6g8uyd.js} +1 -1
- package/out/_next/static/chunks/1ttpypjue-zdo.js +63 -0
- package/out/_next/static/chunks/1uzvaujlk79rn.js +145 -0
- package/out/_next/static/chunks/1xnlhfvi8m4a8.js +1 -0
- package/out/_next/static/chunks/1y0mbad52vao6.js +5 -0
- package/out/_next/static/chunks/1zfhgsywbsg2e.js +5 -0
- package/out/_next/static/chunks/1zhfbuv-et-34.js +13 -0
- package/out/_next/static/chunks/2-2kg667v82ek.js +171 -0
- package/out/_next/static/chunks/21z3-xqp62vs8.js +7 -0
- package/out/_next/static/chunks/22odam86c8kps.js +1 -0
- package/out/_next/static/chunks/23wfelj92rx3n.js +1 -0
- package/out/_next/static/chunks/243ubs_ig9hwo.js +13 -0
- package/out/_next/static/chunks/249u7sg_mycfl.js +24 -0
- package/out/_next/static/chunks/24_57hr3o_ll8.js +1 -0
- package/out/_next/static/chunks/252_8-fyz3vjh.js +9 -0
- package/out/_next/static/chunks/25_kx8fsd5k0d.js +5 -0
- package/out/_next/static/chunks/26wuxv_gsk3jb.js +30 -0
- package/out/_next/static/chunks/26x7o2gzms54c.js +6 -0
- package/out/_next/static/chunks/27h86ht8kvqop.js +267 -0
- package/out/_next/static/chunks/27tf612b6s-45.js +7 -0
- package/out/_next/static/chunks/{3qzrrjb48t2w3.js → 2893194r7ays6.js} +5 -5
- package/out/_next/static/chunks/294uscwjocbpf.js +5 -0
- package/out/_next/static/chunks/29c8fj1poxxec.js +39 -0
- package/out/_next/static/chunks/{439tz_ubj8h-g.js → 29fdom9djvjop.js} +9 -9
- package/out/_next/static/chunks/2__om5ddn5b91.js +7 -0
- package/out/_next/static/chunks/2_krlw-01uumq.js +119 -0
- package/out/_next/static/chunks/2a1m9ia2zp2t9.js +6 -0
- package/out/_next/static/chunks/2c2arjke9rx-g.js +14 -0
- package/out/_next/static/chunks/2de99go2pdzl3.js +12 -0
- package/out/_next/static/chunks/2dnn7jhe55iy8.js +32 -0
- package/out/_next/static/chunks/2eac98hmhj8tp.js +5 -0
- package/out/_next/static/chunks/2fxjo2s_nsjsa.js +5 -0
- package/out/_next/static/chunks/2h_j6q1pnhf07.js +16 -0
- package/out/_next/static/chunks/2hthxhwh84ls1.css +1 -0
- package/out/_next/static/chunks/2i07f6t3xq708.js +5 -0
- package/out/_next/static/chunks/2i6nzzm63658q.js +10 -0
- package/out/_next/static/chunks/2ksch2zc9k7uj.js +71 -0
- package/out/_next/static/chunks/{1gqd9vrno0rq4.js → 2lh-lsn2en0pp.js} +2 -2
- package/out/_next/static/chunks/2luj-95aqr25b.js +1 -0
- package/out/_next/static/chunks/2m_p_bx_gsrlf.js +5 -0
- package/out/_next/static/chunks/2of_ro6r-fwjx.js +16 -0
- package/out/_next/static/chunks/2oyujmi3aqs6f.js +5 -0
- package/out/_next/static/chunks/2pumckmhpvlo2.js +23 -0
- package/out/_next/static/chunks/2r4x7nghsoqhe.js +7 -0
- package/out/_next/static/chunks/2s-226q_lc70k.js +9 -0
- package/out/_next/static/chunks/2sc_zg0bvlmak.js +78 -0
- package/out/_next/static/chunks/2tlxpweh5c3fh.js +43 -0
- package/out/_next/static/chunks/{1_55km6vm5mc0.js → 2w_0wk23uirx6.js} +7 -7
- package/out/_next/static/chunks/2wg_0x11ef6uc.js +7 -0
- package/out/_next/static/chunks/2zx42lz8zcp91.js +6 -0
- package/out/_next/static/chunks/3-l_ott2smmqm.js +7 -0
- package/out/_next/static/chunks/30lpu8mp25ag1.js +41 -0
- package/out/_next/static/chunks/3168hp9w1h68h.js +68 -0
- package/out/_next/static/chunks/3180oblgqnad5.js +194 -0
- package/out/_next/static/chunks/32traobkc55z_.js +54 -0
- package/out/_next/static/chunks/33s24dpx0eo63.js +2 -0
- package/out/_next/static/chunks/{153ec1_-yt3jb.js → 343n05fzlb2an.js} +5 -5
- package/out/_next/static/chunks/35odkwyh-md-p.js +59 -0
- package/out/_next/static/chunks/35tgy8og7dw73.js +149 -0
- package/out/_next/static/chunks/36mjt8cgckx2r.js +1 -0
- package/out/_next/static/chunks/37j2g662wreov.js +108 -0
- package/out/_next/static/chunks/37vezmh4pf5j4.js +12 -0
- package/out/_next/static/chunks/37y01hdz8sxhr.js +1 -0
- package/out/_next/static/chunks/38uyt89jy0tt7.js +1 -0
- package/out/_next/static/chunks/39-pv-7i0kah_.js +155 -0
- package/out/_next/static/chunks/3__spmlu2_ez6.js +41 -0
- package/out/_next/static/chunks/3_zgl8ng3nj3g.js +9 -0
- package/out/_next/static/chunks/3a6ahlxxtjn1v.js +8 -0
- package/out/_next/static/chunks/{1tkvi0wb-x3v8.js → 3ae7hwg50q67p.js} +2 -2
- package/out/_next/static/chunks/3btzusax1chra.js +36 -0
- package/out/_next/static/chunks/3ciuktttw5i71.js +277 -0
- package/out/_next/static/chunks/{2ho4591ngh3y2.js → 3d0cucf7-qlz9.js} +6 -6
- package/out/_next/static/chunks/3d2mjl6ls12h_.js +5 -0
- package/out/_next/static/chunks/3dxz87hw4lx39.js +1 -0
- package/out/_next/static/chunks/3f2rrfc7u_j6o.js +1 -0
- package/out/_next/static/chunks/3fvf-l1-bp--9.js +5 -0
- package/out/_next/static/chunks/3hubf9lb56zls.js +7 -0
- package/out/_next/static/chunks/3hxp-xwv4g3ek.js +1 -0
- package/out/_next/static/chunks/3ljqspad_536i.js +4 -0
- package/out/_next/static/chunks/3mnca5jc1q8c_.js +43 -0
- package/out/_next/static/chunks/{0q2e8h8498pvo.js → 3qqhr2o1soxh_.js} +1 -1
- package/out/_next/static/chunks/3skw31vkshyt2.js +1 -0
- package/out/_next/static/chunks/3szdkqecej3fb.js +1 -0
- package/out/_next/static/chunks/3t-6admtmkzzy.js +39 -0
- package/out/_next/static/chunks/3t1q9dc-nlr3j.js +1 -0
- package/out/_next/static/chunks/3u6_-nj6i_l_r.js +1 -0
- package/out/_next/static/chunks/3uekb_s0jaboj.js +1 -0
- package/out/_next/static/chunks/3uql2yuaknc-3.js +1 -0
- package/out/_next/static/chunks/3vf-3rhaiq_n1.js +6 -0
- package/out/_next/static/chunks/3xtawjchyn0qb.js +1 -0
- package/out/_next/static/chunks/3xze13c1irm_5.js +1 -0
- package/out/_next/static/chunks/3ylglplnmhho2.js +5 -0
- package/out/_next/static/chunks/3ym4exwo-py5d.js +23 -0
- package/out/_next/static/chunks/3yre4w19nehxf.js +1 -0
- package/out/_next/static/chunks/3z51ql4pljujr.js +81 -0
- package/out/_next/static/chunks/3zhcq27e8jjni.js +28 -0
- package/out/_next/static/chunks/40fs5lh83_iox.js +1 -0
- package/out/_next/static/chunks/40kvqov4hgd5s.js +31 -0
- package/out/_next/static/chunks/40trlm34cnu6v.js +108 -0
- package/out/_next/static/chunks/43n5979c79f0d.js +1 -0
- package/out/_next/static/chunks/{turbopack-2c3mg3r-05n1w.js → turbopack-077hmtqrhcoji.js} +1 -1
- package/out/_offline/index.html +3 -3
- package/out/account/forgot-password/index.html +3 -3
- package/out/account/index.html +3 -3
- package/out/assortments/AssortmentDetailPage/index.html +3 -3
- package/out/assortments/index.html +3 -3
- package/out/assortments/new/index.html +3 -3
- package/out/copilot/index.html +3 -3
- package/out/country/CountryDetailPage/index.html +3 -3
- package/out/country/index.html +3 -3
- package/out/country/new/index.html +3 -3
- package/out/currency/CurrencyDetailPage/index.html +3 -3
- package/out/currency/index.html +3 -3
- package/out/currency/new/index.html +3 -3
- package/out/delivery-provider/DeliveryProviderDetailPage/index.html +3 -3
- package/out/delivery-provider/index.html +3 -3
- package/out/delivery-provider/new/index.html +3 -3
- package/out/enrollments/EnrollmentDetailPage/index.html +3 -3
- package/out/enrollments/index.html +3 -3
- package/out/events/EventDetailPage/index.html +3 -3
- package/out/events/index.html +3 -3
- package/out/exports/index.html +3 -3
- package/out/external/index.html +3 -3
- package/out/filters/FilterDetailPage/index.html +3 -3
- package/out/filters/index.html +3 -3
- package/out/filters/new/index.html +3 -3
- package/out/index.html +3 -3
- package/out/install/index.html +3 -3
- package/out/language/LanguageDetailPage/index.html +3 -3
- package/out/language/index.html +3 -3
- package/out/language/new/index.html +3 -3
- package/out/log-in/index.html +3 -3
- package/out/manifest.json +48 -0
- package/out/orders/OrderDetailPage/index.html +3 -3
- package/out/orders/index.html +3 -3
- package/out/payment-provider/PaymentProviderDetailPage/index.html +3 -3
- package/out/payment-provider/index.html +3 -3
- package/out/payment-provider/new/index.html +3 -3
- package/out/products/ProductDetailPage/index.html +3 -3
- package/out/products/index.html +3 -3
- package/out/products/new/index.html +3 -3
- package/out/quotations/QuotationDetailPage/index.html +3 -3
- package/out/quotations/index.html +3 -3
- package/out/reset-password/index.html +3 -3
- package/out/sign-up/index.html +3 -3
- package/out/styleguide/index.html +3 -3
- package/out/tokens/TokenDetailPage/index.html +3 -3
- package/out/tokens/index.html +3 -3
- package/out/users/UserDetailPage/index.html +3 -3
- package/out/users/index.html +3 -3
- package/out/users/new/index.html +3 -3
- package/out/verify-email/index.html +3 -3
- package/out/warehousing-provider/WarehousingProviderDetailPage/index.html +3 -3
- package/out/warehousing-provider/index.html +3 -3
- package/out/warehousing-provider/new/index.html +3 -3
- package/out/works/WorkDetailPage/index.html +3 -3
- package/out/works/WorkQueueListView/index.html +3 -3
- package/out/works/index.html +3 -3
- package/out/works/management/index.html +3 -3
- package/package.json +2 -2
- package/out/_next/static/chunks/0-_s79k4_7ei_.js +0 -5
- package/out/_next/static/chunks/00aks9rqke2x0.js +0 -7
- package/out/_next/static/chunks/00az81dk4vdda.js +0 -54
- package/out/_next/static/chunks/01e4gd649r2tq.js +0 -7
- package/out/_next/static/chunks/01j2wi94k90x0.js +0 -5
- package/out/_next/static/chunks/043i-g05cyvrd.js +0 -1
- package/out/_next/static/chunks/04kyktzbxprj0.js +0 -61
- package/out/_next/static/chunks/05p330iybjojg.js +0 -44
- package/out/_next/static/chunks/05qk8ozexvlxp.js +0 -5
- package/out/_next/static/chunks/06i50j458a7g5.js +0 -12
- package/out/_next/static/chunks/07o9g5hqfpvjc.js +0 -12
- package/out/_next/static/chunks/08o61gwabp3h1.js +0 -33
- package/out/_next/static/chunks/0_bvgo8ev4gs7.js +0 -7
- package/out/_next/static/chunks/0a5nr3-_q7xx1.js +0 -100
- package/out/_next/static/chunks/0amj69l-d5-85.js +0 -1
- package/out/_next/static/chunks/0b05sca2hdcys.js +0 -30
- package/out/_next/static/chunks/0c3kwkqr9evm4.js +0 -5
- package/out/_next/static/chunks/0c4jv8pwvpxei.js +0 -1
- package/out/_next/static/chunks/0c7ljn9lo_0oh.js +0 -5
- package/out/_next/static/chunks/0ewr86ctcw7fx.js +0 -1
- package/out/_next/static/chunks/0jham55cr3rhy.js +0 -81
- package/out/_next/static/chunks/0lr7o7tyjmrmf.js +0 -8
- package/out/_next/static/chunks/0mx8opz23nwlb.js +0 -5
- package/out/_next/static/chunks/0n3ixknyc6_ma.js +0 -1
- package/out/_next/static/chunks/0o0e82-3pc7ur.js +0 -78
- package/out/_next/static/chunks/0ohk7l49gjm62.js +0 -5
- package/out/_next/static/chunks/0p31l6a9hynnt.js +0 -6
- package/out/_next/static/chunks/0qa-zbgmv-k3p.js +0 -9
- package/out/_next/static/chunks/0qj3xdz043z8l.js +0 -12
- package/out/_next/static/chunks/0skst735jufgh.js +0 -71
- package/out/_next/static/chunks/0t28q5fb2jp-6.js +0 -8
- package/out/_next/static/chunks/0tmamaq8exyij.js +0 -1
- package/out/_next/static/chunks/0ydy3ky15gx62.js +0 -1
- package/out/_next/static/chunks/0zh311lu9jf2x.js +0 -5
- package/out/_next/static/chunks/0zpyyygbqx3pf.js +0 -152
- package/out/_next/static/chunks/0zzoylv2rl1xu.js +0 -3
- package/out/_next/static/chunks/10m_etq9t2pkv.js +0 -7
- package/out/_next/static/chunks/11ehf3t7qzbua.js +0 -4
- package/out/_next/static/chunks/11go520d1hcm5.js +0 -1
- package/out/_next/static/chunks/16le3cqxj12u6.js +0 -5
- package/out/_next/static/chunks/16zxfacsu_jbq.js +0 -1
- package/out/_next/static/chunks/17fibl49qtd6c.js +0 -8
- package/out/_next/static/chunks/182l1mlbf0glb.js +0 -1
- package/out/_next/static/chunks/18xyj4i_i5lyn.js +0 -6
- package/out/_next/static/chunks/1aej6iqnlr74p.js +0 -1
- package/out/_next/static/chunks/1asbed4hne69c.js +0 -7
- package/out/_next/static/chunks/1c60nzy_x4kez.js +0 -277
- package/out/_next/static/chunks/1c77vl6xdqfd4.js +0 -15
- package/out/_next/static/chunks/1da89agg-nacc.js +0 -224
- package/out/_next/static/chunks/1f7-0l47bx76m.js +0 -13
- package/out/_next/static/chunks/1fbsyczyh9hwh.js +0 -1
- package/out/_next/static/chunks/1g96s7-fwvokd.js +0 -2
- package/out/_next/static/chunks/1hih2cxmgqcd3.js +0 -10
- package/out/_next/static/chunks/1hviha1jcz_og.js +0 -4
- package/out/_next/static/chunks/1il9vuoxtb2_n.js +0 -43
- package/out/_next/static/chunks/1jaatdt0mlypl.js +0 -16
- package/out/_next/static/chunks/1l4g6_of_bbr8.js +0 -5
- package/out/_next/static/chunks/1lezxecnoaxnn.js +0 -32
- package/out/_next/static/chunks/1m27au_nmk8_k.js +0 -71
- package/out/_next/static/chunks/1m4fwgl1mj4d-.js +0 -46
- package/out/_next/static/chunks/1ma82ip9shpkc.js +0 -24
- package/out/_next/static/chunks/1nbh1zkzirnuw.js +0 -1
- package/out/_next/static/chunks/1nohf8_cc6gmw.js +0 -9
- package/out/_next/static/chunks/1os6pvhjeb16o.js +0 -1
- package/out/_next/static/chunks/1qi5yjvzxspwv.js +0 -15
- package/out/_next/static/chunks/1rsexg6dg82f0.js +0 -7
- package/out/_next/static/chunks/1s9v5dndopkuz.js +0 -12
- package/out/_next/static/chunks/1sksqjru86hlm.js +0 -1
- package/out/_next/static/chunks/1u79pcgqjgjpq.js +0 -1
- package/out/_next/static/chunks/1uqiaqtv_0v2x.js +0 -5
- package/out/_next/static/chunks/1wnuiwsbi70eq.js +0 -116
- package/out/_next/static/chunks/1x8o-luxdxxk7.js +0 -1
- package/out/_next/static/chunks/1yjb7gogaf8po.js +0 -31
- package/out/_next/static/chunks/1zyhzessv0wtg.js +0 -1
- package/out/_next/static/chunks/2-pl31kdikt3k.js +0 -5
- package/out/_next/static/chunks/20c4_1i5r3kkz.js +0 -1
- package/out/_next/static/chunks/20f2gs8iua6fk.js +0 -1
- package/out/_next/static/chunks/20zdaln201w8j.js +0 -277
- package/out/_next/static/chunks/21l46nbaop06z.js +0 -39
- package/out/_next/static/chunks/22-o32hlte36e.js +0 -130
- package/out/_next/static/chunks/231j2_p-ha14w.js +0 -7
- package/out/_next/static/chunks/23s2f7_-ol94s.js +0 -8
- package/out/_next/static/chunks/26_mx-ritu68j.js +0 -24
- package/out/_next/static/chunks/26ckmxeluyknq.js +0 -1
- package/out/_next/static/chunks/26r0y7ldf3iqs.js +0 -6
- package/out/_next/static/chunks/27fzoozwycagi.js +0 -6
- package/out/_next/static/chunks/27jmq7a-vh0b4.js +0 -7
- package/out/_next/static/chunks/283567a82x9qi.js +0 -149
- package/out/_next/static/chunks/29he8uukp5s4u.js +0 -31
- package/out/_next/static/chunks/2adglo0sf0jcg.js +0 -905
- package/out/_next/static/chunks/2b4ewxxz6f462.js +0 -7
- package/out/_next/static/chunks/2bh2dv7j9m8c8.css +0 -1
- package/out/_next/static/chunks/2bi8v13lm76lr.js +0 -95
- package/out/_next/static/chunks/2burvpf9877y_.js +0 -44
- package/out/_next/static/chunks/2cj703xtrf5i6.js +0 -46
- package/out/_next/static/chunks/2cj8g3fxmitaa.js +0 -1
- package/out/_next/static/chunks/2ec7xatyld40t.js +0 -7
- package/out/_next/static/chunks/2hoi6cb1lromr.js +0 -4
- package/out/_next/static/chunks/2i5k6tlwd58hp.js +0 -1
- package/out/_next/static/chunks/2iy0jr00qhq-q.js +0 -5
- package/out/_next/static/chunks/2jonbba27xy3u.js +0 -14
- package/out/_next/static/chunks/2m0rrts8gwqwp.js +0 -1
- package/out/_next/static/chunks/2m_u12ggzosat.js +0 -5
- package/out/_next/static/chunks/2mdns56l5antm.js +0 -5
- package/out/_next/static/chunks/2mrbytgs3uetd.js +0 -4
- package/out/_next/static/chunks/2p9gwjxeui1zd.js +0 -71
- package/out/_next/static/chunks/2pfhy9qy_cijn.js +0 -5
- package/out/_next/static/chunks/2q5k4rozyr2wt.js +0 -4
- package/out/_next/static/chunks/2qx8nnki_qv5v.js +0 -171
- package/out/_next/static/chunks/2r_rj84l3cy7r.js +0 -119
- package/out/_next/static/chunks/2rb1-3t3-sv5s.js +0 -8
- package/out/_next/static/chunks/2swxmzb-xk_bo.js +0 -108
- package/out/_next/static/chunks/2t0biwx5e_4w_.js +0 -1
- package/out/_next/static/chunks/2ts3v72jkbcdr.js +0 -7
- package/out/_next/static/chunks/2vfexvltv2avy.js +0 -5
- package/out/_next/static/chunks/2vveotzevnkfp.js +0 -1
- package/out/_next/static/chunks/2wkg65dtx56je.js +0 -155
- package/out/_next/static/chunks/2wmsx4gjbgvfv.js +0 -18
- package/out/_next/static/chunks/2xixk0t9e9mnw.js +0 -1
- package/out/_next/static/chunks/2xz7hnr9ikqzq.js +0 -7
- package/out/_next/static/chunks/2y1lq1efnvcdt.js +0 -23
- package/out/_next/static/chunks/2ziasg8l_c9n7.js +0 -5
- package/out/_next/static/chunks/3-wsablhqgzoa.js +0 -1
- package/out/_next/static/chunks/30ppb2wc-m4ph.js +0 -1
- package/out/_next/static/chunks/336k08jwyc5i-.js +0 -1
- package/out/_next/static/chunks/33d061qpkafqm.js +0 -39
- package/out/_next/static/chunks/33fyy6d5mo55_.js +0 -8
- package/out/_next/static/chunks/33kh18frqc3b1.js +0 -5
- package/out/_next/static/chunks/33v05ol-ire9s.js +0 -10
- package/out/_next/static/chunks/33yzdcbu7w60l.js +0 -13
- package/out/_next/static/chunks/348l8p7-vo4l5.js +0 -63
- package/out/_next/static/chunks/35hu5vin0swdf.js +0 -41
- package/out/_next/static/chunks/37a6yquh875rn.js +0 -39
- package/out/_next/static/chunks/3_2i9du5-ffrp.js +0 -59
- package/out/_next/static/chunks/3_84h3z_tewmg.js +0 -145
- package/out/_next/static/chunks/3bo7uiy-wh63m.js +0 -108
- package/out/_next/static/chunks/3c-an5ft_3emc.js +0 -1
- package/out/_next/static/chunks/3d_222ci0_30_.js +0 -41
- package/out/_next/static/chunks/3dldch03dfaed.js +0 -1
- package/out/_next/static/chunks/3eedy49gsvv_t.js +0 -1
- package/out/_next/static/chunks/3fayuejnrsd90.js +0 -15
- package/out/_next/static/chunks/3fqonijzsxy8u.js +0 -28
- package/out/_next/static/chunks/3g1ale0hytu9q.js +0 -12
- package/out/_next/static/chunks/3k3gvr7-e3g_s.js +0 -5
- package/out/_next/static/chunks/3kwoyyxi_-q7m.js +0 -1
- package/out/_next/static/chunks/3le1bywe19_u9.js +0 -1
- package/out/_next/static/chunks/3lku4-9kpf-mj.js +0 -267
- package/out/_next/static/chunks/3lz5h1tw50wr_.js +0 -54
- package/out/_next/static/chunks/3oq-khgfpo0nx.js +0 -39
- package/out/_next/static/chunks/3ps25ocfalcap.js +0 -43
- package/out/_next/static/chunks/3q3m075m4bxz1.js +0 -2
- package/out/_next/static/chunks/3r0i-7zjuz9i1.js +0 -6
- package/out/_next/static/chunks/3rgn5xwtr51ul.js +0 -7
- package/out/_next/static/chunks/3ridg_u19b6ih.js +0 -8
- package/out/_next/static/chunks/3skzk-w2ytvku.js +0 -5
- package/out/_next/static/chunks/3srw10h0hcztd.js +0 -68
- package/out/_next/static/chunks/3tgrftdet8sna.js +0 -15
- package/out/_next/static/chunks/3uax_eq1kjjta.js +0 -1
- package/out/_next/static/chunks/3uj94afpsi6cs.js +0 -1
- package/out/_next/static/chunks/3vgurvjr6hkyv.js +0 -4
- package/out/_next/static/chunks/3viepyovs19ub.js +0 -23
- package/out/_next/static/chunks/3vnzp3n_wd3j_.js +0 -1
- package/out/_next/static/chunks/3w8h5lxnd0z4z.js +0 -1
- package/out/_next/static/chunks/3wh4xa9dnw-55.js +0 -194
- package/out/_next/static/chunks/3wlvio5id54ow.js +0 -5
- package/out/_next/static/chunks/3wzvscqui-9ml.js +0 -23
- package/out/_next/static/chunks/3y8h3g1tqukrv.js +0 -36
- package/out/_next/static/chunks/3zcilnj6p9-t5.js +0 -1
- package/out/_next/static/chunks/3zmmdm68s05-t.js +0 -217
- package/out/_next/static/chunks/40l5d7o95aw37.js +0 -4
- package/out/_next/static/chunks/417kn9hki8k81.js +0 -33
- package/out/_next/static/chunks/41p3ng89i5lem.js +0 -5
- package/out/_next/static/chunks/42mofxcd0l7qi.js +0 -1
- package/out/_next/static/chunks/43hfssep7ry-z.js +0 -5
- package/out/_next/static/chunks/45bcpjurhxb-j.js +0 -1
- package/out/_next/static/jOx5PlckLwWIJ5yrvePdU/_buildManifest.js +0 -258
- /package/out/_next/static/{jOx5PlckLwWIJ5yrvePdU → DUswS2PYjGTW9uUGVJ6xd}/_clientMiddlewareManifest.js +0 -0
- /package/out/_next/static/{jOx5PlckLwWIJ5yrvePdU → DUswS2PYjGTW9uUGVJ6xd}/_ssgManifest.js +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,80184,(e,t,r)=>{let n="/_error";(window.__NEXT_P=window.__NEXT_P||[]).push([n,()=>e.r(93594)]),t.hot&&t.hot.dispose(function(){window.__NEXT_P.push([n])})},93594,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"default",{enumerable:!0,get:function(){return p}});let n=e.r(
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,80184,(e,t,r)=>{let n="/_error";(window.__NEXT_P=window.__NEXT_P||[]).push([n,()=>e.r(93594)]),t.hot&&t.hot.dispose(function(){window.__NEXT_P.push([n])})},93594,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"default",{enumerable:!0,get:function(){return p}});let n=e.r(31640),o=e.r(91398),i=n._(e.r(91788)),s=n._(e.r(80963)),l={400:"Bad Request",404:"This page could not be found",405:"Method Not Allowed",500:"Internal Server Error"};function a({req:t,res:r,err:n}){let o,i=r&&r.statusCode?r.statusCode:n?n.statusCode:404;if("u">typeof window)o=window.location.hostname;else if(t){let{getRequestMeta:r}=e.r(44063),n=r(t,"initURL");n&&(o=new URL(n).hostname)}return{statusCode:i,hostname:o}}let d={fontFamily:'system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji"',height:"100vh",textAlign:"center",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},u={lineHeight:"48px"},c={display:"inline-block",margin:"0 20px 0 0",paddingRight:23,fontSize:24,fontWeight:500,verticalAlign:"top"},f={fontSize:14,fontWeight:400,lineHeight:"28px"},h={display:"inline-block"};class p extends i.default.Component{static{this.displayName="ErrorPage"}static{this.getInitialProps=a}static{this.origGetInitialProps=a}render(){let{statusCode:e,withDarkMode:t=!0}=this.props,r=this.props.title||l[e]||"An unexpected error has occurred";return(0,o.jsxs)("div",{style:d,children:[(0,o.jsx)(s.default,{children:(0,o.jsx)("title",{children:e?`${e}: ${r}`:"Application error: a client-side exception has occurred"})}),(0,o.jsxs)("div",{style:u,children:[(0,o.jsx)("style",{dangerouslySetInnerHTML:{__html:`body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}${t?"@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}":""}`}}),e?(0,o.jsx)("h1",{className:"next-error-h1",style:c,children:e}):null,(0,o.jsx)("div",{style:h,children:(0,o.jsxs)("h2",{style:f,children:[this.props.title||e?r:(0,o.jsxs)(o.Fragment,{children:["Application error: a client-side exception has occurred"," ",!!this.props.hostname&&(0,o.jsxs)(o.Fragment,{children:["while loading ",this.props.hostname]})," ","(see the browser console for more information)"]}),"."]})})]})]})}}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},44063,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={NEXT_REQUEST_META:function(){return i},addRequestMeta:function(){return a},getRequestMeta:function(){return s},removeRequestMeta:function(){return d},setRequestMeta:function(){return l}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});let i=Symbol.for("NextInternalRequestMeta");function s(e,t){let r=e[i]||{};return"string"==typeof t?r[t]:r}function l(e,t){return e[i]=t,t}function a(e,t,r){let n=s(e);return n[t]=r,l(e,n)}function d(e,t){let r=s(e);return delete r[t],l(e,r)}}]);
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,21449,(e,t,s)=>{let l="/users";(window.__NEXT_P=window.__NEXT_P||[]).push([l,()=>e.r(51774)]),t.hot&&t.hot.dispose(function(){window.__NEXT_P.push([l])})},74954,e=>{"use strict";var t=e.i(91398),s=e.i(91788);e.s(["f",0,({value:e,duration:l=300})=>{let[a,r]=(0,s.useState)(0);return(0,s.useEffect)(()=>{let t,s;if(0===e)return void r(0);let a=i=>{t||(t=i);let n=Math.min((i-t)/l,1);r(Math.round((1-Math.pow(1-n,3))*e)),n<1&&(s=requestAnimationFrame(a))};return s=requestAnimationFrame(a),()=>{s&&cancelAnimationFrame(s)}},[e,l]),(0,t.jsx)("span",{children:a})}])},42427,e=>{"use strict";var t=e.i(91398),s=e.i(72043);e.s(["f",0,({id:e,label:l,value:a,onChange:r,placeholder:i,min:n,max:d,className:o,containerClassName:u})=>(0,t.jsxs)("div",{className:(0,s.default)("flex flex-col gap-1",u),children:[l&&(0,t.jsx)("label",{htmlFor:e,className:"text-sm font-medium text-slate-700 dark:text-slate-300",children:l}),(0,t.jsx)("input",{type:"date",id:e,value:a||"",onChange:e=>{r(e.target.value||null)},placeholder:i,min:n,max:d,className:(0,s.default)("w-full rounded-md border-1 border-slate-300 dark:border-slate-700 bg-white dark:bg-slate-900 px-3 py-2 text-sm shadow-xs text-slate-900 dark:text-slate-200 focus:outline-hidden focus:ring-2 focus:ring-slate-800 dark:[color-scheme:dark]",o)})]})])},78704,e=>{"use strict";var t=e.i(91398),s=e.i(91788),l=e.i(12197);e.s(["f",0,({loading:e,hasMore:a,onLoadMore:r,children:i,threshold:n=200})=>{let d=(0,s.useRef)(null),o=(0,s.useCallback)(t=>{let[s]=t;s.isIntersecting&&a&&!e&&r()},[a,e,r]);return(0,s.useEffect)(()=>{let e=d.current;if(!e)return;let t=new IntersectionObserver(o,{rootMargin:`${n}px`});return t.observe(e),()=>{t.disconnect()}},[o,n]),(0,t.jsxs)(t.Fragment,{children:[i,(0,t.jsx)("div",{ref:d,className:"h-4"}),e&&(0,t.jsx)("div",{className:"flex justify-center py-4",children:(0,t.jsx)(l.f,{})})]})}])},94724,e=>{"use strict";var t=e.i(91398),s=e.i(3326);e.s(["f",0,({children:e=null,totalRecords:l=null})=>{let{formatMessage:a}=(0,s.S)();return(0,t.jsxs)("div",{className:"mt-5",children:[null!==l?(0,t.jsx)("div",{className:"text-md text-slate-950 dark:text-slate-100 mb-3",children:a({id:"total_records",defaultMessage:"{total} records found"},{total:l??0})}):null,e&&(0,t.jsx)("div",{className:"flex items-center mt-10",children:(0,t.jsx)("h3",{className:"text-xs leading-6 text-slate-500 dark:text-slate-200",children:e})})]})}])},75229,88737,e=>{"use strict";var t=e.i(91398);e.s(["f",0,({name:e="",showName:s=!0,className:l=""}={})=>(0,t.jsx)("div",{className:`flex-col ${l}`,children:e&&s&&(0,t.jsx)("p",{className:"text-sm font-medium text-slate-700 group-hover:text-slate-900",children:e})})],75229);var s=e.i(91788);let l=s.forwardRef(function({title:e,titleId:t,...l},a){return s.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},l),e?s.createElement("title",{id:t},e):null,s.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M2.25 3h1.386c.51 0 .955.343 1.087.835l.383 1.437M7.5 14.25a3 3 0 0 0-3 3h15.75m-12.75-3h11.218c1.121-2.3 2.1-4.684 2.924-7.138a60.114 60.114 0 0 0-16.536-1.84M7.5 14.25 5.106 5.272M6 20.25a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0Zm12.75 0a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0Z"}))});e.s(["f",0,l],88737)},16371,e=>{"use strict";var t=e.i(91788),s=e.i(30943);e.s(["f",0,({children:e,container:l=null,className:a=""})=>{let r=(0,t.useRef)(null),[i,n]=(0,t.useState)(!1);return((0,t.useEffect)(()=>{let e=document.createElement("div");a&&(e.className=a),r.current=e;let t=l||document.body;return t.appendChild(e),n(!0),()=>{r.current&&t.contains(r.current)&&t.removeChild(r.current)}},[l,a]),i&&r.current)?(0,s.createPortal)(e,r.current):null}])},20495,e=>{"use strict";var t=e.i(91398),s=e.i(3326),l=e.i(2765);e.s(["f",0,({inputText:e=null,onInputChange:a,defaultValue:r})=>{let{formatMessage:i}=(0,s.S)(),n=(0,l.f)(200)(a);return(0,t.jsxs)("div",{className:"w-full",children:[(0,t.jsx)("label",{htmlFor:"search",className:"sr-only",children:e||i({id:"search",defaultMessage:"Search"})}),(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)("div",{className:"pointer-events-none absolute inset-y-0 left-0 flex items-center pl-3",children:(0,t.jsx)("svg",{className:"h-5 w-5 text-slate-400 dark:text-slate-200",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",children:(0,t.jsx)("path",{fillRule:"evenodd",d:"M8 4a4 4 0 100 8 4 4 0 000-8zM2 8a6 6 0 1110.89 3.476l4.817 4.817a1 1 0 01-1.414 1.414l-4.816-4.816A6 6 0 012 8z",clipRule:"evenodd"})})}),(0,t.jsx)("input",{onChange:e=>n(e.target.value),id:"search",defaultValue:r,name:"search",className:"block w-full rounded-md border-1 border-slate-300 dark:border-slate-700 text-slate-900 dark:bg-slate-900 dark:text-slate-200 py-3 pl-10 px-4 shadow-xs placeholder:text-slate-400 dark:placeholder:text-slate-400 focus:ring-2 focus:ring-slate-800 focus:outline-hidden sm:text-sm",placeholder:i({id:"search",defaultMessage:"Search"}),type:"search"})]})]})}])},51128,e=>{"use strict";var t=e.i(91398),s=e.i(3326),l=e.i(3828),a=e.i(20495),r=e.i(68835),i=e.i(65153),n=e.i(83147),d=e.i(73319);e.s(["f",0,({children:e,onSearchChange:o,defaultSearchValue:u,showTagFilter:c=!1,availableTagOptions:f=[]})=>{let{formatMessage:m}=(0,s.S)(),{query:x,push:h}=(0,l.useRouter)(),g=e=>{if((0,d.T)(e))h({query:(0,n._)(x,e?.join(","),"tags")});else{let{tags:e,...t}=x;h({query:(0,n._)(t)})}};return(0,t.jsxs)("div",{children:[(0,t.jsx)("div",{className:"my-3 flex flex-col gap-3",children:(0,t.jsxs)("div",{className:"flex flex-col sm:flex-row sm:items-start gap-3",children:[(0,t.jsx)("div",{className:"flex-shrink-0",children:(0,t.jsx)(a.f,{onInputChange:o,defaultValue:u})}),c&&(0,t.jsxs)("div",{className:"flex flex-col gap-2 flex-1 sm:border-l sm:border-slate-300 sm:dark:border-slate-700 sm:pl-3",children:[(0,t.jsx)("div",{className:"max-w-xs",children:(0,t.jsx)(r.f,{buttonText:m({id:"apply",defaultMessage:"Apply"}),placeholder:m({id:"enter_tag",defaultMessage:"Enter tag..."}),tagList:x?.tags?.split(","),onChange:g,selectOptions:f,showTagsInline:!1})}),x?.tags?.split(",").filter(Boolean).length>0&&(0,t.jsx)("div",{className:"flex flex-wrap gap-2",children:x?.tags?.split(",").filter(Boolean).map(e=>(0,t.jsx)(i.f,{text:e,color:"slate",onClick:()=>{let t=x?.tags?.split(",").filter(t=>t!==e);g(t.length>0?t:null)}},e))})]})]})}),e]})}])},3095,e=>{"use strict";var t=e.i(91398),s=e.i(91788),l=e.i(3326),a=e.i(86712),r=e.i(76842),i=e.i(24557),n=e.i(16371);e.s(["f",0,({onEdit:e,onDelete:d,editLabel:o,deleteLabel:u,showEdit:c=!0,showDelete:f=!0})=>{let{formatMessage:m}=(0,l.S)(),[x,h]=(0,s.useState)(!1),[g,p]=(0,s.useState)({top:0,left:0}),j=(0,s.useRef)(null),v=(0,s.useRef)(null);(0,s.useEffect)(()=>{let e=e=>{j.current&&!j.current.contains(e.target)&&h(!1)};return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}},[]);let b=(e,t)=>{e.stopPropagation(),e.preventDefault(),t&&t(),h(!1)};return 0===[c&&e,f&&d].filter(Boolean).length?null:(0,t.jsxs)("div",{className:"flex justify-end w-full",children:[(0,t.jsx)("button",{ref:v,type:"button",onClick:e=>{e.stopPropagation(),e.preventDefault(),x||(()=>{if(!v.current)return;let e=v.current.getBoundingClientRect(),t=e.bottom+4,s=e.right-192;s<8&&(s=8),t+80>window.innerHeight-8&&(t=e.top-80-4),p({top:t,left:s})})(),h(!x)},className:"flex items-center justify-center w-8 h-8 rounded-md hover:bg-slate-100 dark:hover:bg-slate-700 transition-colors","aria-label":m({id:"table_actions_menu",defaultMessage:"Actions menu"}),children:(0,t.jsx)(a.f,{className:"w-5 h-5 text-slate-500 dark:text-slate-400"})}),x&&(0,t.jsx)(n.f,{children:(0,t.jsx)("div",{ref:j,className:"fixed w-48 bg-white dark:bg-slate-800 rounded-md shadow-xl border border-slate-200 dark:border-slate-700 z-[9999]",style:{top:g.top,left:g.left},children:(0,t.jsxs)("div",{className:"py-1",children:[c&&e&&(0,t.jsxs)("button",{type:"button",onClick:t=>b(t,e),className:"flex items-center w-full px-4 py-2 text-sm text-slate-700 dark:text-slate-200 hover:bg-slate-100 dark:hover:bg-slate-700 transition-colors",children:[(0,t.jsx)(r.f,{className:"mr-3 h-5 w-5"}),o||m({id:"edit",defaultMessage:"Edit"})]}),f&&d&&(0,t.jsxs)("button",{type:"button",onClick:e=>b(e,d),className:"flex items-center w-full px-4 py-2 text-sm text-rose-500 dark:text-rose-400 hover:bg-rose-50 dark:hover:bg-rose-900/20 transition-colors",children:[(0,t.jsx)(i.f,{className:"mr-3 h-5 w-5"}),u||m({id:"delete",defaultMessage:"Delete"})]})]})})})]})}])},60513,75284,e=>{"use strict";var t=e.i(91788),s=e.i(28401),l=e.i(3326),a=e.i(30086),r=e.i(66773),i=e.i(98926),n=e.i(63104),d=e.i(3828);e.s(["f",0,()=>{let[e,o]=(0,t.useState)(!1),u=(0,i.f)(),c=(0,d.useRouter)(),{addWork:f}=(0,a.f)(),{formatMessage:m}=(0,l.S)(),x=(0,t.useCallback)(async e=>{let{data:t}=await u.query({query:(0,n.k)(),variables:{workId:e},fetchPolicy:"network-only"});return t?.work??null},[u]);return{isExporting:e,exportCSV:(0,t.useCallback)(async({type:e,pollInterval:t=2e3,...l})=>{o(!0);try{let s=await f({type:r.i.BulkExport,input:{type:e,...l}}),a=s?.data?.addWork?._id;if(!a)throw Error("Failed to create export work");await new Promise((e,s)=>{let l=setInterval(async()=>{try{let t=await x(a);if(!t)throw Error("Work not found");(t.status===r.h.Success||t.status===r.h.Failed)&&(clearInterval(l),t.status===r.h.Success&&t.success?(c.push(`/exports?workId=${t._id}`),e(t)):s(t.error||Error("Export failed")))}catch(e){clearInterval(l),s(e)}},t)})}catch(e){return console.error("Export failed:",e),s.c.error(m({id:"export_failed",defaultMessage:"Export failed. Please try again."})),null}finally{o(!1)}},[f,x,c,m])}}],60513);var o=e.i(91398),u=e.i(69211),c=e.i(64127),f=e.i(98949),m=e.i(99160);e.s(["f",0,function({options:e,onSubmit:s,loading:a=!1,successMessage:r=""}){let{formatMessage:i}=(0,l.S)(),n=(0,t.useMemo)(()=>e.reduce((e,t)=>(e[t.key]=t.defaultChecked??!0,e),{}),[e]),d=async e=>(await s(e),{success:!0}),x=(0,f.f)({successMessage:r||i({id:"export_completed",defaultMessage:"Data exported successfully"}),submit:d,enableReinitialize:!0,initialValues:n});return(0,o.jsx)(u.f,{form:x,children:x.formik.isSubmitting?(0,o.jsxs)("div",{className:"flex items-center gap-3 p-4 mb-4 rounded-lg animate-pulse",children:[(0,o.jsx)("div",{className:"w-5 h-5 border-2 border-blue-600 border-t-transparent rounded-full animate-spin"}),(0,o.jsx)("span",{className:"text-sm font-medium text-blue-700 dark:text-blue-300",children:i({id:"exporting_message",defaultMessage:"Generating your export files. This may take a moment..."})})]}):(0,o.jsxs)("fieldset",{disabled:a,style:{border:"none",padding:0},children:[(0,o.jsxs)("h3",{children:[" ",i({id:"export_options",defaultMessage:"Export options"})]}),e.map(e=>(0,o.jsx)(c.f,{name:e.key,label:e.label,hideLabel:!0,className:"mr-2 h-4 w-4 justify-between rounded-sm border-slate-300 dark:border-slate-600 bg-white text-slate-950 focus:ring-slate-800 lg:items-center",type:"checkbox"},e.key)),(0,o.jsx)(m.f,{label:i({id:"submit",defaultMessage:"Submit"}),disabled:a})]})})}],75284)},64127,e=>{"use strict";var t=e.i(91398),s=e.i(72043),l=e.i(60741);e.s(["f",0,e=>{let{disabled:a,labelClassName:r,containerClassName:i,inputClassName:n,...d}=e,o=(0,l.f)({...e,type:"checkbox"});return(0,t.jsxs)("div",{className:(0,s.default)("",{"text-rose-600":!!o.error,checkbox:!0,disabled:o.disabled,required:o.required},i),children:[(0,t.jsx)("input",{checked:!!o.value,disabled:a,id:o.name,name:o.name,onChange:o.onChange,onBlur:o.onBlur,type:"checkbox",className:(0,s.default)("h-4 w-4 rounded-xs border-slate-300 dark:border-slate-600 bg-white dark:!bg-slate-800 text-indigo-600 dark:text-slate-200 focus:ring-slate-800",n,e.className),...d}),(0,t.jsx)("label",{htmlFor:o.name,className:(0,s.default)("text-sm text-slate-900 dark:text-slate-200",r,{"text-danger":!!o.error}),children:o.label})]})}])},30086,e=>{"use strict";var t=e.i(59080),s=e.i(76204);let l=t.f`
|
|
2
|
+
mutation AddWork(
|
|
3
|
+
$type: WorkType!
|
|
4
|
+
$priority: Int! = 0
|
|
5
|
+
$input: JSON
|
|
6
|
+
$originalWorkId: ID
|
|
7
|
+
$scheduled: Timestamp
|
|
8
|
+
$retries: Int! = 20
|
|
9
|
+
) {
|
|
10
|
+
addWork(
|
|
11
|
+
type: $type
|
|
12
|
+
priority: $priority
|
|
13
|
+
input: $input
|
|
14
|
+
originalWorkId: $originalWorkId
|
|
15
|
+
scheduled: $scheduled
|
|
16
|
+
retries: $retries
|
|
17
|
+
) {
|
|
18
|
+
_id
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
`;e.s(["f",0,()=>{let[e]=(0,s.f)(l);return{addWork:async({type:t,priority:s,input:l,originalWorkId:a,scheduled:r=null,retries:i})=>e({variables:{type:t,priority:s,input:l,originalWorkId:a,scheduled:r,retries:i},refetchQueries:["WorkQueue"]})}}])},63104,e=>{"use strict";var t=e.i(59080),s=e.i(32171),l=e.i(70693),a=e.i(94672);let r=(e="")=>t.f`
|
|
22
|
+
query Work($workId: ID!) {
|
|
23
|
+
work(workId: $workId) {
|
|
24
|
+
...WorkFragment
|
|
25
|
+
${e}
|
|
26
|
+
error
|
|
27
|
+
priority
|
|
28
|
+
worker
|
|
29
|
+
timeout
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
${a.f}
|
|
33
|
+
`;e.s(["k",0,r,"U",0,({workId:e=null,...t})=>{let{customProperties:a}=(0,l.f)(),{data:i,loading:n,error:d,previousData:o}=(0,s.f)(r(a?.Work),{skip:!e,variables:{workId:e},...t});return{work:i?.work||o?.work,loading:n,error:d}}])},51774,e=>{"use strict";var t=e.i(91398),s=e.i(3326),l=e.i(3828),a=e.i(58971),r=e.i(8918),i=e.i(41158),n=e.i(66773),d=e.i(65153),o=e.i(75229),u=e.i(3095),c=e.i(93380),f=e.i(51870),m=e.i(6607),x=e.i(15971),h=e.i(23745),g=e.i(12197),p=e.i(91788);let j=p.forwardRef(function({title:e,titleId:t,...s},l){return p.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:l,"aria-labelledby":t},s),e?p.createElement("title",{id:t},e):null,p.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15.75 10.5V6a3.75 3.75 0 1 0-7.5 0v4.5m11.356-1.993 1.263 12c.07.665-.45 1.243-1.119 1.243H4.25a1.125 1.125 0 0 1-1.12-1.243l1.264-12A1.125 1.125 0 0 1 5.513 7.5h12.974c.576 0 1.059.435 1.119 1.007ZM8.625 10.5a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Zm7.5 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Z"}))});var v=e.i(88737),b=e.i(28401),w=e.i(72419);let k=({lastLogin:e})=>{let{locale:l}=(0,s.S)(),a=new Date(e?.timestamp);if(!a?.getTime())return null;let r=a.toLocaleDateString(l,{year:"numeric",month:"numeric",day:"numeric"}),i=a.toLocaleTimeString(l,{hour:"2-digit",minute:"2-digit"});return(0,t.jsxs)("div",{className:"text-sm text-slate-500",children:[r,", ",i]})},y=({user:e})=>{let{formatMessage:p,locale:y}=(0,s.S)(),N=(0,l.useRouter)(),{currentUser:M,loading:C}=(0,f.f)(),{hasRole:_}=(0,a.f)(),{setModal:S}=(0,m.f)(),{deleteUser:$}=(0,h.f)(),E=!!e?.primaryEmail?.verified;if(C&&!M)return(0,t.jsx)(g.f,{});let I=async()=>{await S((0,t.jsx)(x.f,{onCancelClick:async()=>S(""),message:p({id:"delete_user_warning",defaultMessage:"This action will permanently delete this user and all associated data. Are you sure you want to continue?"}),onOkClick:async()=>{S("");try{await $(e._id)}catch(e){b.c.error((0,w.f)(e,p))}},okText:p({id:"delete_user",defaultMessage:"Delete User"})}))};return(0,t.jsxs)(r.f.Row,{className:"group",children:[(0,t.jsx)(r.f.Cell,{children:(0,t.jsxs)(i.default,{href:`/users?userId=${e._id}`,className:"flex items-center text-sm text-slate-900 dark:text-slate-300 group-hover:text-slate-700 dark:group-hover:text-slate-100",children:[(0,t.jsx)(o.f,{showName:!1,name:e.username,className:"mr-3"}),(0,t.jsx)("div",{className:"flex flex-col",children:(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)("span",{className:"font-semibold",children:(0,c.f)(e)}),e.isGuest&&(0,t.jsx)(d.f,{text:p({id:"guest",defaultMessage:"Guest"}),color:"blue"})]})})]})}),(0,t.jsx)(r.f.Cell,{children:(0,t.jsx)(i.default,{href:`/users?userId=${e._id}`,className:"block",children:(0,t.jsx)("div",{className:"text-sm text-slate-900 dark:text-slate-300",children:e?.primaryEmail?.address})})}),(0,t.jsx)(r.f.Cell,{children:(0,t.jsx)(i.default,{href:`/users?userId=${e._id}`,className:"block",children:(0,t.jsx)(d.f,{text:E?p({id:"verified",defaultMessage:"Verified"}):p({id:"unverified",defaultMessage:"Unverified"}),color:E?"green":"yellow",square:!0})})}),(0,t.jsx)(r.f.Cell,{children:(0,t.jsx)(i.default,{href:`/users?userId=${e._id}`,className:"block",children:(0,t.jsx)(k,{lastLogin:e?.lastLogin})})}),(0,t.jsx)(r.f.Cell,{children:(0,t.jsx)(i.default,{href:`/users?userId=${e._id}`,className:"block",children:(0,t.jsx)("div",{className:"flex flex-wrap gap-2",children:e.tags?.map(e=>(0,t.jsx)(d.f,{text:e,color:"slate"},e))})})}),(0,t.jsx)(r.f.Cell,{children:(0,t.jsx)(i.default,{href:`/users?userId=${e._id}&tab=orders&includeCarts=true`,className:"block",children:(0,t.jsxs)("div",{className:"flex items-center gap-1",children:[(0,t.jsx)(v.f,{className:"w-4 h-4 text-slate-500"}),(0,t.jsx)("span",{className:"text-sm",children:e?.cart?.items?.length||0})]})})}),(0,t.jsx)(r.f.Cell,{children:(0,t.jsx)(i.default,{href:`/users?userId=${e._id}&tab=orders`,className:"block",children:(0,t.jsxs)("div",{className:"flex items-center gap-1",children:[(0,t.jsx)(j,{className:"w-4 h-4 text-slate-500"}),(0,t.jsx)("span",{className:"text-sm",children:e?.orders?.length||0})]})})}),(0,t.jsx)(r.f.Cell,{className:"text-right",children:(0,t.jsx)(u.f,{onEdit:()=>{N.push(`/users?userId=${e._id}`)},onDelete:I,showEdit:!0,showDelete:_(n.C.RemoveUser)})})]})},N=({users:e})=>{let{formatMessage:l}=(0,s.S)(),{hasRole:i}=(0,a.f)();return(0,t.jsxs)(r.f,{className:"min-w-full",children:[e?.map(e=>(0,t.jsxs)(r.f.Row,{header:!0,children:[(0,t.jsx)(r.f.Cell,{children:l({id:"name",defaultMessage:"Name"})}),(0,t.jsx)(r.f.Cell,{children:l({id:"email",defaultMessage:"Email"})}),(0,t.jsx)(r.f.Cell,{children:l({id:"status",defaultMessage:"Status"})}),(0,t.jsx)(r.f.Cell,{children:l({id:"last_login",defaultMessage:"Last Login:"})}),(0,t.jsx)(r.f.Cell,{children:l({id:"tags",defaultMessage:"Tags"})}),(0,t.jsx)(r.f.Cell,{children:l({id:"cart",defaultMessage:"Cart"})}),(0,t.jsx)(r.f.Cell,{children:l({id:"orders",defaultMessage:"Orders"})}),(0,t.jsx)(r.f.Cell,{className:"text-right",children:" "})]},e._id)),e?.map(e=>(0,t.jsx)(y,{user:e},`${e?._id}-body`))]})};var M=e.i(59080),C=e.i(32171),_=e.i(73298);let S=M.f`
|
|
34
|
+
query Users(
|
|
35
|
+
$limit: Int
|
|
36
|
+
$offset: Int
|
|
37
|
+
$includeGuests: Boolean
|
|
38
|
+
$queryString: String
|
|
39
|
+
$lastLogin: DateFilterInput
|
|
40
|
+
$emailVerified: Boolean
|
|
41
|
+
$tags: [LowerCaseString!]
|
|
42
|
+
) {
|
|
43
|
+
users(
|
|
44
|
+
limit: $limit
|
|
45
|
+
offset: $offset
|
|
46
|
+
includeGuests: $includeGuests
|
|
47
|
+
queryString: $queryString
|
|
48
|
+
lastLogin: $lastLogin
|
|
49
|
+
emailVerified: $emailVerified
|
|
50
|
+
tags: $tags
|
|
51
|
+
) {
|
|
52
|
+
...UserFragment
|
|
53
|
+
}
|
|
54
|
+
usersCount(
|
|
55
|
+
includeGuests: $includeGuests
|
|
56
|
+
queryString: $queryString
|
|
57
|
+
lastLogin: $lastLogin
|
|
58
|
+
emailVerified: $emailVerified
|
|
59
|
+
tags: $tags
|
|
60
|
+
)
|
|
61
|
+
}
|
|
62
|
+
${_.f}
|
|
63
|
+
`;var $=e.i(61494),E=e.i(78704),I=e.i(17644),L=e.i(64591),q=e.i(60193),R=e.i(94724),T=e.i(84818),B=e.i(42427);let V=()=>{let{parseDate:e}=(0,T.f)(),a=(0,l.useRouter)(),{formatMessage:r}=(0,s.S)(),i=(e,t)=>{if(t)a.push({query:{...a.query,[e]:t}});else if(!t&&a.query?.[e]){let t=a.query;delete t[e],a.push({query:{...t}})}};return(0,t.jsx)(t.Fragment,{children:(0,t.jsxs)("div",{className:"mt-5 flex flex-wrap gap-10",children:[(0,t.jsxs)("div",{className:"flex-1 min-w-[200px]",children:[(0,t.jsx)("label",{className:"block text-sm font-medium text-slate-700 dark:text-slate-500 mb-1",children:r({id:"email_verified_label",defaultMessage:"E-Mail verified"})}),(0,t.jsxs)("select",{className:"w-full p-2 border-1 border-slate-300 rounded-lg dark:bg-slate-700 dark:border-slate-500 focus:ring-2 focus:ring-slate-800 dark:focus:ring-slate-400 focus:outline-hidden",defaultValue:a.query?.emailVerified||"",onChange:e=>i("emailVerified",e.target.value),children:[(0,t.jsx)("option",{value:"",children:r({id:"email_verified_default",defaultMessage:"All"})}),(0,t.jsx)("option",{value:(!0).toString(),children:r({id:"email_verified_true",defaultMessage:"verified"})}),(0,t.jsx)("option",{value:(!1).toString(),children:r({id:"email_verified_false",defaultMessage:"unverified"})})]})]}),(0,t.jsxs)("div",{className:"flex-1",children:[(0,t.jsx)("label",{className:"block text-sm font-medium text-slate-700 dark:text-slate-500 mb-1",children:r({id:"login_date_range",defaultMessage:"Login Date Range"})}),(0,t.jsxs)("div",{className:"flex items-center flex-wrap md:flex-nowrap space-y-1 md:space-x-3",children:[(0,t.jsx)("label",{htmlFor:"lastLoginStart",className:"text-sm",children:r({id:"from",defaultMessage:"From"})}),(0,t.jsx)(B.f,{id:"lastLoginStart",onChange:e=>i("start",e?new Date(e).toISOString():null),placeholder:r({id:"start_date",defaultMessage:"Start date"}),value:a.query.start?e(a.query.start):null,containerClassName:"w-full focus:outline-hidden focus:ring-slate-800"}),(0,t.jsx)("label",{htmlFor:"lastLoginEnd",className:"text-sm",children:r({id:"to",defaultMessage:"To"})}),(0,t.jsx)(B.f,{id:"lastLoginEnd",onChange:e=>i("end",e?new Date(e).toISOString():null),placeholder:r({id:"end_date",defaultMessage:"End Date"}),value:a.query.end?e(a.query.end):null,containerClassName:"w-full focus:outline-hidden focus:ring-slate-800"})]})]})]})})};var A=e.i(26178),F=e.i(51128),D=e.i(2385),U=e.i(74954),W=e.i(57561);e.s(["default",0,()=>{let{formatMessage:e}=(0,s.S)(),{query:r,push:i,isReady:d}=(0,l.useRouter)(),{shopInfo:o}=(0,W.f)(),{queryString:u,tags:c,userId:f,...m}=r,{hasRole:x}=(0,a.f)(),h=parseInt(r?.limit,10)||q.h,p=parseInt(r?.skip,10)||0,j=r?.includeGuests==="true",v=null;r?.emailVerified==="true"?v=!0:r?.emailVerified==="false"&&(v=!1);let{users:b,usersCount:w,loading:k,loadMore:y,hasMore:M}=(({limit:e=20,offset:t=0,includeGuests:s=!1,queryString:l=null,lastLogin:a=null,emailVerified:r=null,tags:i=null})=>{let{data:n,loading:d,error:o,fetchMore:u}=(0,C.f)(S,{variables:{limit:e,offset:t,includeGuests:s,queryString:l,lastLogin:a,emailVerified:r,tags:i}}),c=n?.users||[],f=n?.usersCount,m=c?.length<f;return{users:c,usersCount:f,hasMore:m,loading:d,error:o,loadMore:()=>{u({variables:{offset:c?.length}})}}})({limit:h,includeGuests:j,queryString:u,offset:p,lastLogin:(r?.start||r?.end)&&{start:r?.start,end:r?.end},emailVerified:v,tags:c});if(!d)return null;if(f)return(0,t.jsx)(D.default,{userId:f});let _=1===w?e({id:"user_header",defaultMessage:"1 User"}):e({id:"user_count_header",defaultMessage:"{count} Users"},{count:(0,t.jsx)(U.f,{value:w})});return(0,t.jsxs)("div",{className:"mb-10",children:[(0,t.jsx)($.f,{}),(0,t.jsx)(I.f,{title:e({id:"user_page_title",defaultMessage:"{count, plural, one {# User} other {# Users}}"},{count:w}),headerText:_,addPath:x(n.C.EnrollUser)?"/users/new":void 0,addButtonText:e({id:"add_user",defaultMessage:"Add User"})}),(0,t.jsx)(V,{}),(0,t.jsx)(R.f,{children:(0,t.jsx)(L.f,{toggleKey:"includeGuests",toggleText:e({id:"show_guests",defaultMessage:"Show Guests"})})}),(0,t.jsx)(F.f,{onSearchChange:e=>{let{skip:t,...s}=m||{skip:null};e?i({query:{...s,queryString:e}}):i({query:{...m}})},defaultSearchValue:u,showTagFilter:!0,availableTagOptions:(o?.adminUiConfig?.userTags||[]).map(e=>({label:e,value:e})),children:(0,t.jsxs)(E.f,{loading:k,hasMore:M,onLoadMore:y,children:[k&&b?.length===0?(0,t.jsx)(g.f,{}):(0,t.jsx)(N,{users:b}),!k&&!b?.length&&(0,t.jsx)(A.f,{message:e({id:"user",defaultMessage:"User"})})]})})]})}],51774)},76842,e=>{"use strict";var t=e.i(91788);let s=t.forwardRef(function({title:e,titleId:s,...l},a){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":s},l),e?t.createElement("title",{id:s},e):null,t.createElement("path",{d:"m2.695 14.762-1.262 3.155a.5.5 0 0 0 .65.65l3.155-1.262a4 4 0 0 0 1.343-.886L17.5 5.501a2.121 2.121 0 0 0-3-3L3.58 13.419a4 4 0 0 0-.885 1.343Z"}))});e.s(["f",0,s],76842)},24557,e=>{"use strict";var t=e.i(91788);let s=t.forwardRef(function({title:e,titleId:s,...l},a){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":s},l),e?t.createElement("title",{id:s},e):null,t.createElement("path",{fillRule:"evenodd",d:"M8.75 1A2.75 2.75 0 0 0 6 3.75v.443c-.795.077-1.584.176-2.365.298a.75.75 0 1 0 .23 1.482l.149-.022.841 10.518A2.75 2.75 0 0 0 7.596 19h4.807a2.75 2.75 0 0 0 2.742-2.53l.841-10.52.149.023a.75.75 0 0 0 .23-1.482A41.03 41.03 0 0 0 14 4.193V3.75A2.75 2.75 0 0 0 11.25 1h-2.5ZM10 4c.84 0 1.673.025 2.5.075V3.75c0-.69-.56-1.25-1.25-1.25h-2.5c-.69 0-1.25.56-1.25 1.25v.325C8.327 4.025 9.16 4 10 4ZM8.58 7.72a.75.75 0 0 0-1.5.06l.3 7.5a.75.75 0 1 0 1.5-.06l-.3-7.5Zm4.34.06a.75.75 0 1 0-1.5-.06l-.3 7.5a.75.75 0 1 0 1.5.06l.3-7.5Z",clipRule:"evenodd"}))});e.s(["f",0,s],24557)},86712,e=>{"use strict";var t=e.i(91788);let s=t.forwardRef(function({title:e,titleId:s,...l},a){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":s},l),e?t.createElement("title",{id:s},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6.75 12a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0ZM12.75 12a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0ZM18.75 12a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0Z"}))});e.s(["f",0,s],86712)}]);
|
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,11309,e=>{"use strict";var t=e.i(91398),s=e.i(72043),l=e.i(88566),a=e.i(25575),r=e.i(91788);let i=({header:e,body:i,headerCSS:d="",bodyCSS:n="",itemContainerCSS:o="",itemindex:c=1,hideChevron:m=!1})=>{let[u,x]=(0,r.useState)(!1);return(0,t.jsxs)("div",{className:(0,s.default)("mt-3",o),"data-itemindex":c,children:[(0,t.jsxs)("button",{type:"button",onClick:()=>x(!u),className:(0,s.default)("relative cursor-pointer border dark:border-slate-800 bg-white dark:bg-slate-900 text-slate-500 dark:text-slate-200 hover:bg-slate-50 dark:hover:bg-slate-700 w-full max-w-full overflow-hidden",d),children:[(0,t.jsx)("div",{className:"w-full",children:e}),!m&&(0,t.jsx)("span",{className:"px-2",children:u?(0,t.jsx)(a.f,{className:"h-5 w-5"}):(0,t.jsx)(l.f,{className:"h-5 w-5"})})]}),u?(0,t.jsx)("div",{className:(0,s.default)("rounded-lg sm:p-4 xl:p-10 relative overflow-visible",n),children:i}):""]})};e.s(["f",0,({data:e,containerCSS:l="",headerCSS:a="",bodyCSS:r="",itemContainerCSS:d="",hideChevron:n=!1,...o})=>(0,t.jsx)("div",{className:(0,s.default)("my-3",l),...o,children:e.map(({header:e,body:s},l)=>(0,t.jsx)(i,{itemindex:l,header:e,body:s,headerCSS:a,bodyCSS:r,itemContainerCSS:d,hideChevron:n},l))})],11309)},23647,26013,e=>{"use strict";var t=e.i(91398),s=e.i(3326),l=e.i(15361),a=e.i(91788);let r=a.forwardRef(function({title:e,titleId:t,...s},l){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:l,"aria-labelledby":t},s),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m9.75 9.75 4.5 4.5m0-4.5-4.5 4.5M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"}))});e.s(["f",0,r],26013);var i=e.i(67912),d=e.i(41158),n=e.i(93380),o=e.i(35065);let c=({username:e})=>(0,t.jsx)(i.f,{className:"h-8 w-8 text-slate-800 dark:text-slate-600"});e.s(["f",0,({user:e,contact:a})=>{let{formatMessage:i}=(0,s.S)();return(0,t.jsxs)("div",{className:"flex items-center gap-3",children:[(0,t.jsx)("div",{className:"h-8 w-8 rounded-full",children:e?.avatar?(0,t.jsx)(o.f,{src:e.avatar.url,alt:e.name||e.username,width:100,height:100}):(0,t.jsx)(c,{username:e?.username})}),(0,t.jsxs)("div",{className:"flex flex-wrap items-center gap-4",children:[(0,t.jsx)("div",{className:"flex items-center justify-between gap-3 flex-wrap",children:(0,t.jsxs)("span",{className:"flex items-center",children:[(0,t.jsx)("h3",{className:"text-xl font-semibold capitalize",children:(0,t.jsx)(d.default,{href:`/users?userId=${e?._id}`,className:"text-slate-800 dark:text-slate-300 hover:text-slate-900 dark:hover:text-slate-600",children:(0,n.f)(e)})}),e?.primaryEmail?.verified&&(0,t.jsxs)("dl",{className:"self-end",children:[(0,t.jsx)("dt",{className:"sr-only",children:i({id:"account_status",defaultMessage:"Account status"})}),(0,t.jsx)("dd",{className:"mt-3 flex items-center self-end text-sm font-medium capitalize text-slate-900 sm:mr-6 sm:mt-0",children:e?.primaryEmail?.verified?(0,t.jsx)(l.f,{className:"h-4 w-4 shrink-0 text-emerald-400","aria-hidden":"true"}):(0,t.jsx)(r,{className:"h-4 w-4 shrink-0 text-rose-400","aria-hidden":"true"})})]})]})}),a?.emailAddress&&(0,t.jsx)("div",{children:a.emailAddress}),a?.telNumber&&(0,t.jsx)("div",{children:a.telNumber})]})]})}],23647)},55215,e=>{"use strict";var t=e.i(91398),s=e.i(72043);e.s(["f",0,({value:e,className:l,onChange:a=()=>{},rows:r=7,...i})=>{let d=Math.max(e?e.split("\n").length:1,r);return(0,t.jsx)("textarea",{className:(0,s.default)("text-black dark:bg-slate-900 dark:text-slate-200 border-transparent border-t border-t-slate-200 dark:border-t-slate-800 resize-y",l),value:e,onChange:a,rows:d,...i})}])},26178,e=>{"use strict";var t=e.i(91398),s=e.i(91788);let l=s.forwardRef(function({title:e,titleId:t,...l},a){return s.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},l),e?s.createElement("title",{id:t},e):null,s.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M18.364 18.364A9 9 0 0 0 5.636 5.636m12.728 12.728A9 9 0 0 1 5.636 5.636m12.728 12.728L5.636 5.636"}))});var a=e.i(72043),r=e.i(3326);e.s(["f",0,({message:e,className:s="",Icon:i=null})=>(0,t.jsx)("div",{className:(0,a.default)("rounded-md flex w-full flex-col items-center justify-center min-h-[176px] py-8 border-1 border-dashed border-slate-300 dark:border-slate-700 text-slate-500 dark:text-slate-600",s),children:(0,t.jsxs)("div",{className:"grid items-center justify-center",children:[(0,t.jsx)("div",{className:"flex items-center justify-center text-slate-400 dark:text-slate-600",children:i||(0,t.jsx)(l,{className:"h-6 w-6"})}),(0,t.jsx)(r.K,{id:"no_data_message",defaultMessage:"<p>No <span> {message} available</span> </p>",values:{p:e=>(0,t.jsx)("p",{className:"mt-2 m-auto flex items-center justify-center",children:e}),span:e=>(0,t.jsxs)("span",{className:"capitalize ml-1",children:[" ",e," "]}),message:e}})]})})],26178)},66885,e=>{"use strict";var t=e.i(91398),s=e.i(3326),l=e.i(38322),a=e.i(84818),r=e.i(83147),i=e.i(51782);e.s(["f",0,({data:e,statusTypes:d,timeline:n})=>{let{formatMessage:o}=(0,s.S)(),{formatDateTime:c}=(0,a.f)(),{content:m={},id:u}=n[e?.status]||{},x=d.filter(({value:e})=>n[e]?.visible);return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"flow-root sm:hidden",children:(0,t.jsx)("ul",{className:"my-4",children:x.map(({value:s,label:a},i)=>(0,t.jsx)("li",{children:(0,t.jsxs)("div",{className:"relative pb-8",children:[i!==x.length-1?(0,t.jsx)("span",{className:(0,r.S)(u>i+1?"bg-slate-900":"bg-slate-200","absolute top-2.5 left-2.5 -ml-px h-full w-0.5"),"aria-hidden":"true"}):null,(0,t.jsxs)("div",{className:"relative flex items-center space-x-3",children:[(0,t.jsx)("div",{children:(0,t.jsx)("span",{className:(0,r.S)(u>i?"bg-slate-900":"bg-slate-600","flex h-5 w-5 items-center justify-center rounded-full"),children:u>i?(0,t.jsx)(l.f,{className:"h-5 w-5 text-white","aria-hidden":"true"}):null})}),(0,t.jsxs)("div",{className:"ml-4 flex min-w-0 flex-1 items-center justify-between",children:[(0,t.jsx)("div",{className:"flex-auto",children:(0,t.jsx)("p",{className:"text-sm text-slate-500",children:(0,t.jsxs)("span",{className:"flex w-full items-center justify-between text-slate-900 dark:text-slate-200",children:[s,n[s]?.Component&&n[s].Component]})})}),u>=n[s].id?(0,t.jsx)("div",{className:"whitespace-nowrap text-right text-sm text-slate-500 dark:text-slate-200 ml-4",children:e[n?.[s]?.content]?c(e[n?.[s]?.content],{dateStyle:"short",timeStyle:"short"}):null}):null]})]})]})},`${s}${a}`))})}),(0,t.jsxs)("div",{className:" p-4 bg-white shadow-sm dark:shadow-none dark:border dark:border-slate-700 sm:rounded-lg dark:bg-slate-900",children:[(0,t.jsxs)("p",{className:"font-medium flex items-center justify-between",children:[(0,t.jsx)(i.f,{status:e.status}),(0,t.jsx)("span",{children:e[m]?c(e[m],{dateStyle:"full",timeStyle:"medium"}):o({id:"in_cart",defaultMessage:"In cart"})})]}),(0,t.jsx)("div",{className:"mt-2","aria-hidden":"true",children:(0,t.jsx)("div",{className:"mt-2 hidden text-sm font-medium text-slate-600 sm:flex",children:x.map(({value:s,label:l})=>(0,t.jsxs)("div",{className:"sm:flex-auto",children:[(0,t.jsx)("div",{className:"relative mb-4 mr-1",children:(0,t.jsx)("span",{className:(0,r.S)(u>=n[s].id?e?.status==="CONFIRMED"?"bg-lime-600":e?.status==="PENDING"?"bg-amber-600":e?.status==="OPEN"?"bg-sky-600":"bg-emerald-600":"bg-slate-200 dark:bg-slate-700","absolute top-0 left-0 -ml-px h-2 w-full"),"aria-hidden":"true"})}),(0,t.jsxs)("div",{className:(0,r.S)(u>=n[s].id?"text-slate-900":"opacity-50","text-start"),children:[(0,t.jsx)("span",{className:"text-slate-900 dark:text-slate-400 uppercase",children:n[s]?.Component?n[s].Component:"CONFIRMED"===s?o({id:"confirmed",defaultMessage:"CONFIRMED"}):"PENDING"===s?o({id:"pending",defaultMessage:"PENDING"}):"OPEN"===s?o({id:"open",defaultMessage:"OPEN"}):"FULFILLED"===s?o({id:"fulfilled",defaultMessage:"FULFILLED"}):"REJECTED"===s?o({id:"rejected",defaultMessage:"REJECTED"}):s}),(0,t.jsx)("span",{className:"block text-slate-900 dark:text-slate-100",children:u>=n?.[s]?.id?c(e[n?.[s]?.content],{dateStyle:"short",timeStyle:"short"}):null})]})]},`${s}${l}`))})})]})]})}])},8918,e=>{"use strict";var t=e.i(91398),s=e.i(91788),l=e.i(72043),a=e.i(3326),r=e.i(88566),i=e.i(25575),d=e.i(3828),n=e.i(83147);let o=({onSort:e,sortDirection:s})=>s?"ASC"===s?(0,t.jsx)(i.f,{className:"ml-2 w-5 h-5 text-slate-700",onClick:e}):(0,t.jsx)(r.f,{className:"ml-2 w-5 h-5 text-slate-700",onClick:e}):(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:"ml-2 w-6 h-6",onClick:e,children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8.25 15L12 18.75 15.75 15m-7.5-6L12 5.25 15.75 9"})});var c=e.i(26178);let m=e=>{let t=[],l=[],a=[];return s.default.Children.forEach(e.children,e=>{e?.props?.header?t.push(e):e?.props?.footer?a.push(e):l.push(e)}),{header:t,footer:a,body:l}},u=({className:e="",...r})=>{let[i,d]=(0,s.useState)(m(r)),{formatMessage:n}=(0,a.S)(),o={...i,header:s.default.Children.map(i.header,e=>s.default.cloneElement(e))};return(0,s.useEffect)(()=>{d(m(r))},[r.children]),o.header.length||o.body.length?(0,t.jsxs)("table",{className:(0,l.default)("overflow-hidden my-3 flex w-full flex-row flex-nowrap divide-y divide-slate-200 dark:divide-slate-600 shadow-sm sm:rounded-lg sm:bg-white dark:bg-slate-950",e),...r,children:[(0,t.jsx)("thead",{className:"hidden sm:table-header-group bg-slate-100 dark:bg-slate-700 text-sm text-slate-700 dark:text-slate-200",children:o.header}),o.body.length?(0,t.jsx)("tbody",{className:"space-y-4 sm:space-y-0 flex-1 sm:divide-y divide-slate-200 dark:divide-slate-700 sm:bg-white dark:sm:bg-slate-800 sm:flex-none",children:o.body}):null,o.footer.length?(0,t.jsx)("tfoot",{children:o.footer}):null]}):(0,t.jsx)(c.f,{message:n({id:"data",defaultMessage:"Data"})})};u.Row=({className:e="",children:a=[],header:r=!1,enablesort:i=!1,...d})=>{let n=s.default.Children.map(a,e=>s.default?.cloneElement(e||(0,t.jsx)("span",{}),{header:r,enablesort:i}));return(0,t.jsx)("tr",{className:(0,l.default)("grid grid-cols-1 auto-rows-fr border border-slate-100 dark:border-slate-700 sm:border-0 rounded-md sm:mb-0 sm:table-row sm:rounded-none bg-white dark:bg-slate-800 sm:bg-inherit dark:sm:bg-inherit",e),...d,children:n})},u.Cell=({className:e="",header:s=!1,enablesort:a=!1,children:r,sortKey:i=null,defaultSortDirection:c=null,...m})=>{let u=(0,d.useRouter)(),x=(0,n.v)(u.query?.sort),f=s?"th":"td";return(0,t.jsx)(f,{className:(0,l.default)(s?"px-4 py-3 text-left text-slate-500 dark:text-slate-200":"whitespace-nowrap px-4 py-3 text-slate-500 dark:text-slate-200 border-b dark:border-slate-300 last:border-b-0 sm:border-b-0 text-left flex items-center sm:table-cell",e),...m,children:(0,t.jsxs)("div",{className:"flex items-center",children:[r,"th"===f&&a&&i&&(0,t.jsx)(o,{onSort:e=>{var t;let s;e.preventDefault(),((t=x[i])?"ASC"===t?"DESC":null:"ASC")||!x[i]?s={...x,[i]:"ASC"===x[i]?"DESC":"ASC"}:(delete x[i],s=x);let l=Object.entries(s).map(([e,t])=>[e,t].join("_")).join(","),{sort:a,...r}=u.query,d=Object.keys(r).map(e=>[e,r[e]].join("=")).join("&"),o=0===Object.keys(r).length?`${u.basePath}?sort=${l}`:`${u.basePath}?${d}&sort=${l}`;l?u.push(o):u.push({query:(0,n._)(r)})},sortDirection:Object.keys(x).length?x[i]:c})]})})},e.s(["f",0,u],8918)},59027,e=>{"use strict";var t=e.i(59080),s=e.i(32171);let l=t.f`
|
|
2
|
+
query EnrollmentStatus {
|
|
3
|
+
enrollmentStatusTypes: __type(name: "EnrollmentStatus") {
|
|
4
|
+
options: enumValues {
|
|
5
|
+
value: name
|
|
6
|
+
label: description
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
`;e.s(["f",0,()=>{let{data:e,loading:t,error:a}=(0,s.f)(l);return{enrollmentStatusTypes:e?.enrollmentStatusTypes?.options||[],loading:t,error:a}}])},21056,e=>{"use strict";var t=e.i(59080),s=e.i(76204);let l=t.f`
|
|
11
|
+
mutation SendEnrollmentEmail($email: String!) {
|
|
12
|
+
sendEnrollmentEmail(email: $email) {
|
|
13
|
+
success
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
`;e.s(["f",0,()=>{let[e]=(0,s.f)(l);return{sendEnrollmentEmail:async({email:t})=>e({variables:{email:t}})}}])},34728,e=>{"use strict";var t=e.i(91398),s=e.i(38322);e.s(["f",0,({onOkClick:e,buttonText:l,headerText:a,message:r,icon:i=null})=>(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{children:[i||(0,t.jsx)("div",{className:"mx-auto flex h-12 w-12 items-center justify-center rounded-full bg-emerald-100 dark:bg-emerald-900/30",children:(0,t.jsx)(s.f,{className:"h-6 w-6 text-emerald-600 dark:text-emerald-400",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","aria-hidden":"true"})}),(0,t.jsxs)("div",{className:"mt-3 text-center sm:mt-5",children:[(0,t.jsx)("h3",{className:"text-lg text-slate-900 dark:text-slate-200",id:"modal-title",children:a}),(0,t.jsx)("div",{className:"mt-2",children:(0,t.jsx)("p",{className:"text-sm text-slate-500 dark:text-slate-200",children:r})})]})]}),(0,t.jsx)("div",{className:"mt-5 sm:mt-6",children:(0,t.jsx)("button",{id:"alert_ok",onClick:e,type:"button",className:"inline-flex w-full justify-center rounded-md border border-transparent bg-slate-800 dark:bg-slate-600 px-4 py-2 text-base font-medium text-white shadow-xs hover:bg-slate-950 dark:hover:bg-slate-500 focus:outline-hidden focus:ring-2 focus:ring-slate-800 dark:focus:ring-slate-400 focus:ring-offset-2 sm:text-sm",children:l})})]})])},51782,e=>{"use strict";var t=e.i(91398),s=e.i(3326),l=e.i(65153),a=e.i(60193);let r={PENDING:"bg-yellow-100 text-yellow-800",CONFIRMED:"bg-blue-100 text-blue-800",OPEN:"bg-gray-100 text-gray-800",FULFILLED:"bg-green-100 text-green-800",REJECTED:"bg-red-100 text-red-800"};e.s(["f",0,({status:e,className:i=""})=>{let{formatMessage:d}=(0,s.S)(),n={PENDING:d({id:"pending",defaultMessage:"PENDING"}),CONFIRMED:d({id:"confirmed",defaultMessage:"CONFIRMED"}),OPEN:d({id:"open",defaultMessage:"OPEN"}),FULFILLED:d({id:"fulfilled",defaultMessage:"FULFILLED"}),REJECTED:d({id:"rejected",defaultMessage:"REJECTED"})},o=n?.[e]??d({id:"cart",defaultMessage:"Cart"});return r?.[e],(0,t.jsx)(l.f,{text:o,color:a.v[e],square:!0,className:`uppercase ${i}`})}])},20372,e=>{"use strict";var t=e.i(91398),s=e.i(3326),l=e.i(61494),a=e.i(12197),r=e.i(17644),i=e.i(41158),d=e.i(28401),n=e.i(61465),o=e.i(59027),c=e.i(66885),m=e.i(11309),u=e.i(83147),x=e.i(16509),f=e.i(26178),h=e.i(65153),g=e.i(8918),p=e.i(84818);let b=({periods:e})=>{let{formatMessage:l}=(0,s.S)(),{formatDateTime:a}=(0,p.f)();return(0,t.jsx)("section",{className:"mt-3",children:e?.length?(0,t.jsxs)(g.f,{className:"mt-0 min-w-full rounded-t-none",children:[(e||[])?.map(e=>(0,t.jsxs)(g.f.Row,{className:"bg-white ",header:!0,children:[(0,t.jsx)(g.f.Cell,{children:l({id:"order",defaultMessage:"Order"})}),(0,t.jsx)(g.f.Cell,{className:"text-left",children:l({id:"start",defaultMessage:"Start"})}),(0,t.jsx)(g.f.Cell,{children:l({id:"end",defaultMessage:"End"})})]},`${e.start}${e.end}`)),(e||[])?.map(e=>(0,t.jsxs)(g.f.Row,{children:[(0,t.jsx)(g.f.Cell,{children:(0,t.jsxs)("div",{className:"flex items-center text-sm text-slate-900",children:[e?.order?.orderNumber?e?.order?.orderNumber:"n/a",e?.isTrial&&(0,t.jsx)(h.f,{text:l({id:"trial",defaultMessage:"Trial"}),color:"pink",className:"ml-2 rounded-full py-1 text-sm font-semibold leading-5",square:!0})]})}),(0,t.jsx)(g.f.Cell,{children:a(e?.start,{dateStyle:"medium",timeStyle:"medium"})}),(0,t.jsx)(g.f.Cell,{children:a(e?.end,{dateStyle:"medium",timeStyle:"medium"})})]},`${e.start}`))]}):(0,t.jsx)(f.f,{message:l({id:"subscription_message",defaultMessage:"Subscription"})})})};var j=e.i(81013),v=e.i(59080),N=e.i(76204);let w=v.f`
|
|
17
|
+
mutation ActivateEnrollment($enrollmentId: ID!) {
|
|
18
|
+
activateEnrollment(enrollmentId: $enrollmentId) {
|
|
19
|
+
_id
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
`;var y=e.i(6607),k=e.i(34728);let E=v.f`
|
|
23
|
+
mutation TerminateEnrollment($enrollmentId: ID!) {
|
|
24
|
+
terminateEnrollment(enrollmentId: $enrollmentId) {
|
|
25
|
+
_id
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
`;var C=e.i(21056),M=e.i(15971),_=e.i(23647);let S=({enrollment:e})=>{let{formatMessage:l,locale:a}=(0,s.S)(),{formatDateTime:r}=(0,p.f)();return(0,t.jsxs)("section",{children:[(0,t.jsx)(_.f,{user:e?.user,contact:e?.contact}),(0,t.jsxs)("div",{className:"mt-2 flex border-b border-slate-300 dark:border-slate-800 pb-2 text-sm",children:[(0,t.jsxs)("dl",{className:"flex flex-wrap items-center gap-1",children:[(0,t.jsxs)("dt",{className:"hidden capitalize text-slate-500 sm:block",children:[l({id:"enrollment",defaultMessage:"enrollment"}),"# "]}),(0,t.jsxs)("dd",{className:"inline-flex text-lg font-medium text-slate-900 sm:flex-none sm:text-xl sm:font-semibold",children:[(0,t.jsx)("span",{className:"sm:hidden",children:"# "}),e?.enrollmentNumber?(0,t.jsx)(h.f,{color:"slate",text:e?.enrollmentNumber,className:"p-0 text-lg font-medium sm:text-xl sm:font-semibold"}):(0,t.jsx)(h.f,{text:l({id:"initial",defaultMessage:"Initial"}),color:"yellow",className:"p-0 text-lg font-medium sm:text-xl sm:font-semibold"})]}),(0,t.jsx)("dt",{children:(0,t.jsx)("span",{className:"sr-only",children:l({id:"date",defaultMessage:"Date"})})}),(0,t.jsx)("dd",{className:"font-medium text-slate-900",children:e?.ordered?r(e?.ordered):null})]}),(0,t.jsxs)("div",{className:"ml-auto flex flex-wrap items-center justify-center gap-x-2 gap-y-1 text-sm text-slate-900 sm:text-base",children:[(0,t.jsx)("span",{children:e?.country?.flagEmoji}),(0,t.jsx)("span",{children:(0,u.j)(a,e?.currency?.isoCode)}),(0,t.jsx)("span",{children:e?.currency?.isoCode&&(0,t.jsx)(h.f,{text:e?.currency?.isoCode,color:"amber",className:"px-2 py-0 sm:py-1",square:!0})})]})]})]})};var A=e.i(55215),I=e.i(35065);let L=({enrollment:e})=>{let{formatMessage:l}=(0,s.S)(),{setModal:a}=(0,y.f)(),{enrollmentStatusTypes:r}=(0,o.f)(),{activateEnrollment:f}=(()=>{let[e]=(0,N.f)(w);return{activateEnrollment:async({enrollmentId:t})=>e({variables:{enrollmentId:t},refetchQueries:["Enrollments","Enrollment"]})}})(),{terminateEnrollment:h}=(()=>{let[e]=(0,N.f)(E);return{terminateEnrollment:async({enrollmentId:t})=>e({variables:{enrollmentId:t},refetchQueries:["Enrollments","Enrollment"]})}})(),{sendEnrollmentEmail:g}=(0,C.f)();if(!e)return null;let p=async()=>{await a((0,t.jsx)(k.f,{buttonText:l({id:"activate_button",defaultMessage:"Activate"}),headerText:l({id:"activate_header_title",defaultMessage:"Activate subscription."}),message:l({id:"activate_header_conformation",defaultMessage:"Are you sure you want to this subscription?"}),onOkClick:async()=>{a(""),await f({enrollmentId:e?._id}),d.c.success(l({id:"success_message",defaultMessage:"Subscription successfully activated."}))}}))},v=(0,t.jsx)("div",{className:"flex w-full items-center justify-center",children:(0,t.jsx)("div",{className:"mx-auto flex h-12 w-12 shrink-0 items-center justify-center rounded-full bg-blue-100 dark:bg-blue-900/30 sm:mx-0 sm:h-10 sm:w-10",children:(0,t.jsx)(n.f,{className:"h-6 w-6 text-slate-900 dark:text-blue-400","aria-hidden":"true"})})}),_=async()=>{await a((0,t.jsx)(k.f,{icon:v,buttonText:l({id:"send_button",defaultMessage:"Send"}),headerText:l({id:"send_activation_email_header",defaultMessage:"Send Email."}),message:l({id:"send_activation_email_confirm",defaultMessage:"Are you sure you want to send email?"}),onOkClick:async()=>{a("");let{data:t}=await g({email:e?.contact.emailAddress});t?.sendEnrollmentEmail?.success?d.c.success(l({id:"enrollment_success_message",defaultMessage:"Subscription activation email sent"})):d.c.error(l({id:"terminate_enrollment_error",defaultMessage:"Failed when sending subscription activation email, please try again"}))}}))},L=async()=>{await a((0,t.jsx)(M.f,{onCancelClick:async()=>a(""),message:l({id:"terminate_enrollment_confirmation",defaultMessage:"Are you sure you want to terminate this subscription? "}),onOkClick:async()=>{a(""),await h({enrollmentId:e?._id}),d.c.success(l({id:"terminate_enrollment_success",defaultMessage:"Subscription terminated successfully"}))},okText:l({id:"terminate_subscription",defaultMessage:"Terminate subscription"})}))},D={INITIAL:{id:1,content:"created",visible:!0},ACTIVE:{id:2,content:"updated",visible:!0},PAUSED:{id:3,content:"updated",visible:!0,Component:e?.status==="PAUSED"&&(0,t.jsx)(j.f,{text:l({id:"activate",defaultMessage:"Activate"}),onClick:p,className:"bg-white-300 relative -ml-px inline-flex items-center space-x-2 rounded-md border border-slate-900 dark:border-slate-600 bg-slate-800 dark:bg-slate-600 px-2 py-1 text-base font-medium text-white hover:bg-slate-950 dark:hover:bg-slate-500 dark:focus:border-slate-400 focus:outline-hidden focus:ring-0 focus:ring-slate-800 dark:focus:ring-slate-400"})},TERMINATED:{id:4,content:"updated",visible:!0,Component:e?.status!=="TERMINATED"&&(0,t.jsx)(j.f,{text:l({id:"terminate_enrollment",defaultMessage:"Terminate Enrollment"}),onClick:L,className:"bg-white-300 inline-flex items-center space-x-2 rounded-md border border-rose-500 bg-rose-500 px-2 py-1 text-base font-medium text-white hover:bg-rose-700 focus:border-rose-400 focus:outline-hidden focus:ring-0 focus:ring-rose-400"})}},T={header:(0,t.jsx)("span",{className:"flex",children:l({id:"periods",defaultMessage:"Periods"})}),body:(0,t.jsx)(b,{periods:e?.periods})};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(S,{enrollment:e}),(0,t.jsx)(c.f,{data:e,statusTypes:r,timeline:D}),(0,t.jsx)("section",{className:"rounded-md border border-slate-300 bg-white",children:(0,t.jsx)("div",{className:"mx-auto -mt-12 max-w-7xl px-4 pb-4 sm:px-6 sm:pb-16 lg:px-8",children:(0,t.jsxs)("dl",{className:"mx-auto mt-16 grid max-w-2xl grid-cols-1 gap-x-6 gap-y-4 sm:grid-cols-2 sm:gap-y-8 lg:max-w-none lg:grid-cols-3 lg:gap-x-8",children:[(0,t.jsxs)("div",{className:"w flex flex-auto flex-col gap-y-4 gap-x-8 sm:col-span-2 sm:gap-y-8 lg:col-span-3 lg:grid-cols-12 lg:flex-row",children:[(0,t.jsxs)("div",{className:"flex flex-auto flex-col gap-y-8 pt-4 lg:col-span-6",children:[(0,t.jsx)("span",{className:"h relative h-48 w-full rounded-lg",children:(0,t.jsx)(I.f,{loader:x.f,src:e?.plan?.product?.media?.[0]?.file?.url,alt:e?.plan?.product?.texts?.title,layout:"fill",objectFit:"contain"})}),(0,t.jsxs)("div",{className:"flex flex-col",children:[(0,t.jsx)("dt",{className:"font-medium text-slate-900",children:l({id:"product_title",defaultMessage:"Product"})}),(0,t.jsx)("dd",{className:"my-2 text-sm text-slate-500",children:e?.plan.product?.texts?.title}),(0,t.jsx)("dt",{className:"font-medium text-slate-900",children:l({id:"product_quantity",defaultMessage:"Quantity"})}),(0,t.jsx)("dd",{className:"my-2 text-sm text-slate-500",children:e?.plan?.quantity})]})]}),(0,t.jsx)("div",{className:"flex-auto border-t border-slate-300 dark:border-slate-800 pt-4 lg:col-span-6 lg:border-0",children:(0,t.jsx)(A.f,{disabled:!0,className:"bg-white dark:bg-slate-900 dark:text-slate-200 mt-1 block w-full max-w-full rounded-md border-1 resize-none border-slate-300 dark:border-slate-800 shadow-xs sm:text-sm",value:JSON.stringify((e?.plan.configuration||[]).map(({__typename:e,...t})=>t),null,2)})})]}),(0,t.jsxs)("div",{className:"grid grid-cols-1 gap-x-6 gap-y-4 sm:gap-y-8 lg:col-span-2 lg:grid-cols-2 lg:gap-x-8",children:[(0,t.jsxs)("div",{className:"border-t border-slate-300 dark:border-slate-800 pt-4",children:[(0,t.jsx)("dt",{className:"font-medium text-slate-900",children:l({id:"payment_provider",defaultMessage:"Payment provider"})}),(0,t.jsx)("dd",{className:"mt-2 text-sm text-slate-500",children:(0,t.jsx)(i.default,{href:`/payment-provider?paymentProviderId=${e?.payment?.provider?._id}`,className:"text-slate-900 dark:text-slate-300",children:(0,u.D)(e?.payment?.provider?.interface)})})]}),(0,t.jsxs)("div",{className:"border-t border-slate-300 dark:border-slate-800 pt-4",children:[(0,t.jsx)("dt",{className:"font-medium text-slate-900",children:l({id:"delivery_provider",defaultMessage:"Delivery Provider"})}),(0,t.jsx)("dd",{className:"mt-2 text-sm text-slate-500",children:(0,t.jsx)(i.default,{href:`/delivery-provider?deliveryProviderId=${e?.delivery?.provider?._id}`,className:"text-slate-900 dark:text-slate-300",children:(0,u.D)(e?.delivery?.provider?.interface)})})]}),e?.contact&&(0,t.jsxs)("div",{className:"col-span-1 border-t border-slate-300 dark:border-slate-800 pt-4",children:[(0,t.jsx)("div",{className:"font-medium text-slate-900",children:l({id:"contact",defaultMessage:"Contact"})}),(0,t.jsx)("div",{className:"mt-2 text-sm text-slate-500",children:e?.contact?.telNumber}),(0,t.jsx)("div",{className:"mt-2 text-sm text-slate-500",children:e?.contact?.emailAddress}),e?.contact?.emailAddress&&(0,t.jsx)(j.f,{text:l({id:"send_email_button",defaultMessage:"Send Email"}),className:"px-2 py-1",onClick:_})]})]}),(0,t.jsxs)("div",{className:"border-t border-slate-300 dark:border-slate-800 pt-4",children:[(0,t.jsx)("dt",{className:"font-medium text-slate-900",children:l({id:"billing_address",defaultMessage:"Billing address"})}),(0,t.jsxs)("dd",{className:"mt-2 text-sm text-slate-500",children:[e?.billingAddress?.firstName," ",e?.billingAddress?.lastName]}),(0,t.jsx)("dd",{className:"mt-2 text-sm text-slate-500",children:e?.billingAddress?.company}),(0,t.jsx)("dd",{className:"mt-2 text-sm text-slate-500",children:e?.billingAddress?.addressLine}),(0,t.jsx)("dd",{className:"mt-2 text-sm text-slate-500",children:e?.billingAddress?.addressLine2}),(0,t.jsx)("dd",{className:"mt-2 text-sm text-slate-500",children:e?.billingAddress?.postalCode}),(0,t.jsxs)("dd",{className:"mt-2 text-sm text-slate-500",children:[e?.billingAddress?.city," ",e?.billingAddress?.regionCode," ",e?.billingAddress?.countryCode]})]})]})})}),(0,t.jsx)(m.f,{data:[T],headerCSS:"inline-flex items-center justify-between w-full px-4 py-2 rounded-t-md border border-slate-300 bg-slate-50 text-sm font-medium text-slate-700 hover:bg-slate-50 focus:z-10 focus:outline-hidden focus:ring-2 focus:ring-slate-800 "})]})};var D=e.i(32171),T=e.i(70693);let O=v.f`
|
|
29
|
+
fragment EnrollmentDetailFragment on Enrollment {
|
|
30
|
+
_id
|
|
31
|
+
country {
|
|
32
|
+
_id
|
|
33
|
+
isoCode
|
|
34
|
+
}
|
|
35
|
+
enrollmentNumber
|
|
36
|
+
updated
|
|
37
|
+
status
|
|
38
|
+
created
|
|
39
|
+
expires
|
|
40
|
+
billingAddress {
|
|
41
|
+
addressLine
|
|
42
|
+
addressLine2
|
|
43
|
+
city
|
|
44
|
+
company
|
|
45
|
+
countryCode
|
|
46
|
+
firstName
|
|
47
|
+
lastName
|
|
48
|
+
postalCode
|
|
49
|
+
regionCode
|
|
50
|
+
}
|
|
51
|
+
contact {
|
|
52
|
+
emailAddress
|
|
53
|
+
telNumber
|
|
54
|
+
}
|
|
55
|
+
currency {
|
|
56
|
+
_id
|
|
57
|
+
contractAddress
|
|
58
|
+
decimals
|
|
59
|
+
isActive
|
|
60
|
+
isoCode
|
|
61
|
+
}
|
|
62
|
+
delivery {
|
|
63
|
+
provider {
|
|
64
|
+
_id
|
|
65
|
+
configuration
|
|
66
|
+
configurationError
|
|
67
|
+
interface {
|
|
68
|
+
_id
|
|
69
|
+
label
|
|
70
|
+
version
|
|
71
|
+
}
|
|
72
|
+
isActive
|
|
73
|
+
|
|
74
|
+
simulatedPrice {
|
|
75
|
+
amount
|
|
76
|
+
currencyCode
|
|
77
|
+
isNetPrice
|
|
78
|
+
isTaxable
|
|
79
|
+
}
|
|
80
|
+
type
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
payment {
|
|
84
|
+
provider {
|
|
85
|
+
_id
|
|
86
|
+
configuration
|
|
87
|
+
configurationError
|
|
88
|
+
interface {
|
|
89
|
+
_id
|
|
90
|
+
label
|
|
91
|
+
version
|
|
92
|
+
}
|
|
93
|
+
isActive
|
|
94
|
+
type
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
periods {
|
|
98
|
+
end
|
|
99
|
+
isTrial
|
|
100
|
+
start
|
|
101
|
+
order {
|
|
102
|
+
_id
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
isExpired
|
|
107
|
+
periods {
|
|
108
|
+
start
|
|
109
|
+
end
|
|
110
|
+
isTrial
|
|
111
|
+
}
|
|
112
|
+
plan {
|
|
113
|
+
configuration {
|
|
114
|
+
key
|
|
115
|
+
value
|
|
116
|
+
}
|
|
117
|
+
product {
|
|
118
|
+
_id
|
|
119
|
+
texts {
|
|
120
|
+
_id
|
|
121
|
+
title
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
quantity
|
|
125
|
+
}
|
|
126
|
+
user {
|
|
127
|
+
_id
|
|
128
|
+
username
|
|
129
|
+
name
|
|
130
|
+
avatar {
|
|
131
|
+
_id
|
|
132
|
+
url
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
`;e.s(["default",0,({enrollmentId:e})=>{let{formatMessage:i}=(0,s.S)(),{enrollment:d,loading:n}=(({enrollmentId:e=null})=>{let{customProperties:t}=(0,T.f)(),{data:s,loading:l,error:a}=(0,D.f)(((e="")=>v.f`
|
|
137
|
+
query Enrollment($enrollmentId: ID!) {
|
|
138
|
+
enrollment(enrollmentId: $enrollmentId) {
|
|
139
|
+
...EnrollmentDetailFragment
|
|
140
|
+
${e}
|
|
141
|
+
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
${O}
|
|
145
|
+
`)(t?.Enrollment),{skip:!e,variables:{enrollmentId:e}});return{enrollment:s?.enrollment,loading:l,error:a}})({enrollmentId:e});return(0,t.jsxs)("div",{className:"mt-5 max-w-full",children:[(0,t.jsx)(l.f,{currentPageTitle:d?.enrollmentNumber?`#${d?.enrollmentNumber}`:""}),(0,t.jsx)("div",{className:"items-center flex min-w-full justify-between gap-3 flex-wrap",children:(0,t.jsx)(r.f,{headerText:i({id:"enrollment_detail",defaultMessage:"Enrollment Detail"}),title:i({id:"enrollment_detail_title",defaultMessage:"Enrollment {id}"},{id:d?._id})})}),n?(0,t.jsx)(a.f,{}):(0,t.jsx)(L,{enrollment:d})]})}],20372)},88566,25575,e=>{"use strict";var t=e.i(91788);let s=t.forwardRef(function({title:e,titleId:s,...l},a){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":s},l),e?t.createElement("title",{id:s},e):null,t.createElement("path",{fillRule:"evenodd",d:"M5.22 8.22a.75.75 0 0 1 1.06 0L10 11.94l3.72-3.72a.75.75 0 1 1 1.06 1.06l-4.25 4.25a.75.75 0 0 1-1.06 0L5.22 9.28a.75.75 0 0 1 0-1.06Z",clipRule:"evenodd"}))});e.s(["f",0,s],88566);let l=t.forwardRef(function({title:e,titleId:s,...l},a){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":s},l),e?t.createElement("title",{id:s},e):null,t.createElement("path",{fillRule:"evenodd",d:"M9.47 6.47a.75.75 0 0 1 1.06 0l4.25 4.25a.75.75 0 1 1-1.06 1.06L10 8.06l-3.72 3.72a.75.75 0 0 1-1.06-1.06l4.25-4.25Z",clipRule:"evenodd"}))});e.s(["f",0,l],25575)},15361,e=>{"use strict";var t=e.i(91788);let s=t.forwardRef(function({title:e,titleId:s,...l},a){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":s},l),e?t.createElement("title",{id:s},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 12.75 11.25 15 15 9.75M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"}))});e.s(["f",0,s],15361)},38322,e=>{"use strict";var t=e.i(91788);let s=t.forwardRef(function({title:e,titleId:s,...l},a){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":s},l),e?t.createElement("title",{id:s},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m4.5 12.75 6 6 9-13.5"}))});e.s(["f",0,s],38322)},61465,e=>{"use strict";var t=e.i(91788);let s=t.forwardRef(function({title:e,titleId:s,...l},a){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":s},l),e?t.createElement("title",{id:s},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M2.25 13.5h3.86a2.25 2.25 0 0 1 2.012 1.244l.256.512a2.25 2.25 0 0 0 2.013 1.244h3.218a2.25 2.25 0 0 0 2.013-1.244l.256-.512a2.25 2.25 0 0 1 2.013-1.244h3.859m-19.5.338V18a2.25 2.25 0 0 0 2.25 2.25h15A2.25 2.25 0 0 0 21.75 18v-4.162c0-.224-.034-.447-.1-.661L19.24 5.338a2.25 2.25 0 0 0-2.15-1.588H6.911a2.25 2.25 0 0 0-2.15 1.588L2.35 13.177a2.25 2.25 0 0 0-.1.661Z"}))});e.s(["f",0,s],61465)},67912,e=>{"use strict";var t=e.i(91788);let s=t.forwardRef(function({title:e,titleId:s,...l},a){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":s},l),e?t.createElement("title",{id:s},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M17.982 18.725A7.488 7.488 0 0 0 12 15.75a7.488 7.488 0 0 0-5.982 2.975m11.963 0a9 9 0 1 0-11.963 0m11.963 0A8.966 8.966 0 0 1 12 21a8.966 8.966 0 0 1-5.982-2.275M15 9.75a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"}))});e.s(["f",0,s],67912)}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,75229,88737,e=>{"use strict";var t=e.i(91398);e.s(["f",0,({name:e="",showName:r=!0,className:i=""}={})=>(0,t.jsx)("div",{className:`flex-col ${i}`,children:e&&r&&(0,t.jsx)("p",{className:"text-sm font-medium text-slate-700 group-hover:text-slate-900",children:e})})],75229);var r=e.i(91788);let i=r.forwardRef(function({title:e,titleId:t,...i},n){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},i),e?r.createElement("title",{id:t},e):null,r.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M2.25 3h1.386c.51 0 .955.343 1.087.835l.383 1.437M7.5 14.25a3 3 0 0 0-3 3h15.75m-12.75-3h11.218c1.121-2.3 2.1-4.684 2.924-7.138a60.114 60.114 0 0 0-16.536-1.84M7.5 14.25 5.106 5.272M6 20.25a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0Zm12.75 0a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0Z"}))});e.s(["f",0,i],88737)},1880,e=>{"use strict";e.s(["U",0,(e={})=>{let{_id:t,texts:r}=e||{};return r||t?`${r?.slug?.split("/").join("")||""}_id_${t}`:null},"P",0,e=>{if(!e)return null;let[t]=e?.split("_id_")||[];return t},"Q",0,e=>{if(!e)return null;let t=e?.split("_id_");return t?.pop()}])},51782,e=>{"use strict";var t=e.i(91398),r=e.i(3326),i=e.i(65153),n=e.i(60193);let a={PENDING:"bg-yellow-100 text-yellow-800",CONFIRMED:"bg-blue-100 text-blue-800",OPEN:"bg-gray-100 text-gray-800",FULFILLED:"bg-green-100 text-green-800",REJECTED:"bg-red-100 text-red-800"};e.s(["f",0,({status:e,className:l=""})=>{let{formatMessage:o}=(0,r.S)(),s={PENDING:o({id:"pending",defaultMessage:"PENDING"}),CONFIRMED:o({id:"confirmed",defaultMessage:"CONFIRMED"}),OPEN:o({id:"open",defaultMessage:"OPEN"}),FULFILLED:o({id:"fulfilled",defaultMessage:"FULFILLED"}),REJECTED:o({id:"rejected",defaultMessage:"REJECTED"})},u=s?.[e]??o({id:"cart",defaultMessage:"Cart"});return a?.[e],(0,t.jsx)(i.f,{text:u,color:n.v[e],square:!0,className:`uppercase ${l}`})}])},75155,e=>{"use strict";var t=e.i(91398),r=e.i(3326),i=e.i(65153);let n={DRAFT:"yellow",ACTIVE:"emerald",DELETED:"amber",null:"yellow",undefined:"yellow"};e.s(["f",0,({status:e})=>{let{formatMessage:a}=(0,r.S)();return a({id:"pending",defaultMessage:"PENDING"}),a({id:"confirmed",defaultMessage:"CONFIRMED"}),a({id:"open",defaultMessage:"OPEN"}),a({id:"fulfilled",defaultMessage:"FULFILLED"}),a({id:"rejected",defaultMessage:"REJECTED"}),(0,t.jsx)(i.f,{text:(e=>{switch(e){case"ACTIVE":return a({id:"active",defaultMessage:"Active"});case"DRAFT":default:return a({id:"draft",defaultMessage:"Draft"});case"DELETED":return a({id:"deleted",defaultMessage:"Deleted"})}})(e),color:n[e]||"yellow",square:!0,dotted:!0})}])},86129,e=>{"use strict";var t=e.i(91788);let r=t.forwardRef(function({title:e,titleId:r,...i},n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":r},i),e?t.createElement("title",{id:r},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M16.023 9.348h4.992v-.001M2.985 19.644v-4.992m0 0h4.992m-4.993 0 3.181 3.183a8.25 8.25 0 0 0 13.803-3.7M4.031 9.865a8.25 8.25 0 0 1 13.803-3.7l3.181 3.182m0-4.991v4.99"}))});e.s(["f",0,r],86129)},38187,e=>{"use strict";var t=e.i(91788);let r=t.forwardRef(function({title:e,titleId:r,...i},n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":r},i),e?t.createElement("title",{id:r},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m19.5 8.25-7.5 7.5-7.5-7.5"}))});e.s(["f",0,r],38187)},91412,e=>{"use strict";var t=e.i(91788);let r=t.forwardRef(function({title:e,titleId:r,...i},n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":r},i),e?t.createElement("title",{id:r},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M2.036 12.322a1.012 1.012 0 0 1 0-.639C3.423 7.51 7.36 4.5 12 4.5c4.638 0 8.573 3.007 9.963 7.178.07.207.07.431 0 .639C20.577 16.49 16.64 19.5 12 19.5c-4.638 0-8.573-3.007-9.963-7.178Z"}),t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15 12a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"}))});e.s(["f",0,r],91412)},44112,e=>{"use strict";var t=e.i(91788);let r=t.forwardRef(function({title:e,titleId:r,...i},n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":r},i),e?t.createElement("title",{id:r},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m11.25 11.25.041-.02a.75.75 0 0 1 1.063.852l-.708 2.836a.75.75 0 0 0 1.063.853l.041-.021M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Zm-9-3.75h.008v.008H12V8.25Z"}))});e.s(["f",0,r],44112)},53463,e=>{"use strict";var t=e.i(91788);let r=t.forwardRef(function({title:e,titleId:r,...i},n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":r},i),e?t.createElement("title",{id:r},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 12 3.269 3.125A59.769 59.769 0 0 1 21.485 12 59.768 59.768 0 0 1 3.27 20.875L5.999 12Zm0 0h7.5"}))});e.s(["f",0,r],53463)},81618,e=>{"use strict";var t=e.i(91788);let r=t.forwardRef(function({title:e,titleId:r,...i},n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":r},i),e?t.createElement("title",{id:r},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m2.25 15.75 5.159-5.159a2.25 2.25 0 0 1 3.182 0l5.159 5.159m-1.5-1.5 1.409-1.409a2.25 2.25 0 0 1 3.182 0l2.909 2.909m-18 3.75h16.5a1.5 1.5 0 0 0 1.5-1.5V6a1.5 1.5 0 0 0-1.5-1.5H3.75A1.5 1.5 0 0 0 2.25 6v12a1.5 1.5 0 0 0 1.5 1.5Zm10.5-11.25h.008v.008h-.008V8.25Zm.375 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Z"}))});e.s(["f",0,r],81618)},57748,e=>{"use strict";var t=e.i(91788);let r=t.forwardRef(function({title:e,titleId:r,...i},n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":r},i),e?t.createElement("title",{id:r},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9.813 15.904 9 18.75l-.813-2.846a4.5 4.5 0 0 0-3.09-3.09L2.25 12l2.846-.813a4.5 4.5 0 0 0 3.09-3.09L9 5.25l.813 2.846a4.5 4.5 0 0 0 3.09 3.09L15.75 12l-2.846.813a4.5 4.5 0 0 0-3.09 3.09ZM18.259 8.715 18 9.75l-.259-1.035a3.375 3.375 0 0 0-2.455-2.456L14.25 6l1.036-.259a3.375 3.375 0 0 0 2.455-2.456L18 2.25l.259 1.035a3.375 3.375 0 0 0 2.456 2.456L21.75 6l-1.035.259a3.375 3.375 0 0 0-2.456 2.456ZM16.894 20.567 16.5 21.75l-.394-1.183a2.25 2.25 0 0 0-1.423-1.423L13.5 18.75l1.183-.394a2.25 2.25 0 0 0 1.423-1.423l.394-1.183.394 1.183a2.25 2.25 0 0 0 1.423 1.423l1.183.394-1.183.394a2.25 2.25 0 0 0-1.423 1.423Z"}))});e.s(["f",0,r],57748)},39382,e=>{"use strict";var t=e.i(91788);let r=t.forwardRef(function({title:e,titleId:r,...i},n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":r},i),e?t.createElement("title",{id:r},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m14.74 9-.346 9m-4.788 0L9.26 9m9.968-3.21c.342.052.682.107 1.022.166m-1.022-.165L18.16 19.673a2.25 2.25 0 0 1-2.244 2.077H8.084a2.25 2.25 0 0 1-2.244-2.077L4.772 5.79m14.456 0a48.108 48.108 0 0 0-3.478-.397m-12 .562c.34-.059.68-.114 1.022-.165m0 0a48.11 48.11 0 0 1 3.478-.397m7.5 0v-.916c0-1.18-.91-2.164-2.09-2.201a51.964 51.964 0 0 0-3.32 0c-1.18.037-2.09 1.022-2.09 2.201v.916m7.5 0a48.667 48.667 0 0 0-7.5 0"}))});e.s(["f",0,r],39382)},24608,e=>{"use strict";var t=e.i(91788);let r=t.forwardRef(function({title:e,titleId:r,...i},n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":r},i),e?t.createElement("title",{id:r},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 18 18 6M6 6l12 12"}))});e.s(["f",0,r],24608)},36980,e=>{"use strict";e.s(["f",0,function(e){return t=>{let r=(e?Math[e]:Math.trunc)(t);return 0===r?0:r}}])},60836,e=>{"use strict";var t=e.i(35113);e.s(["f",0,function(e,r){let i=(0,t.f)(e)-(0,t.f)(r);return i<0?-1:i>0?1:i}])},5270,e=>{"use strict";var t=e.i(91788);let r=(...e)=>e.filter((e,t,r)=>!!e&&""!==e.trim()&&r.indexOf(e)===t).join(" ").trim(),i={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":2,"stroke-linecap":"round","stroke-linejoin":"round"},n=(0,t.createContext)({}),a=(0,t.forwardRef)(({color:e,size:a,width:l,height:o,strokeWidth:s,absoluteStrokeWidth:u,nonScalingStroke:d,className:c="",children:f,iconNode:h=[],icon:m={node:h,aliases:[],size:24},...w},g)=>{let{size:v=24,strokeWidth:E=2,absoluteStrokeWidth:p=!1,nonScalingStroke:k=!1,color:b="currentColor",className:L=""}=(0,t.useContext)(n)??{},x=!!f||(e=>{for(let t in e)if(t.startsWith("aria-")||"role"===t||"title"===t)return!0;return!1})(w),[M,j,C=[]]=function(e,t={}){return function(e,t={}){let n=t.attributeNames??{},a=e=>n[e]??e,l=e.size??e.width??i.width,o=e.size??e.height??i.height,s=e.aliases?.filter(e=>"string"==typeof e&&""!==e.trim()).map(e=>`lucide-${e}`)??[],u=[...e.name?[`lucide-${e.name}`]:[],...s],d=t.className?.split(" ").filter(Boolean)??[],c=!1===t.includeDefaultClasses?r(...d):r("lucide",...u,...d),f=t.absoluteStrokeWidth?Number(t.strokeWidth??i["stroke-width"])*Number(e.size??e.width??i.width)/Number(t.size??t.width??i.width):t.strokeWidth??i["stroke-width"];return["svg",{...Object.entries(i).reduce((e,[t,r])=>(e[a(t)]=r,e),{}),..."color"in t&&t.color&&{[a("stroke")]:t.color},..."size"in t&&null!=t.size&&{[a("width")]:t.size,[a("height")]:t.size},..."width"in t&&null!=t.width&&{[a("width")]:t.width},..."height"in t&&null!=t.height&&{[a("height")]:t.height},[a("stroke-width")]:f,...c&&{[a("class")]:c},[a("viewBox")]:`0 0 ${l} ${o}`,...!1===t.hasA11yProp?{[a("aria-hidden")]:"true"}:{},..."attributes"in t&&t.attributes},e.node.map(e=>{let[r,i,n]=e,l=t.nonScalingStroke?{[a("vector-effect")]:"non-scaling-stroke",...i}:i;return n?[r,l,n]:[r,l]})]}(e,{...t,attributeNames:{...t.attributeNames,class:"className","stroke-width":"strokeWidth","stroke-linecap":"strokeLinecap","stroke-linejoin":"strokeLinejoin","vector-effect":"vectorEffect"}})}(m,{color:e??b,width:l??a??v,height:o??a??v,strokeWidth:s??E,absoluteStrokeWidth:u??p,nonScalingStroke:d??k,className:r(L,c),hasA11yProp:x,attributes:w});return(0,t.createElement)(M,{ref:g,...j},[...C.map(([e,r])=>(0,t.createElement)(e,r)),...Array.isArray(f)?f:[f]])});e.s(["f",0,function(e,r=[],i=[]){let n,l="string"==typeof e?function(e,t,r=[]){if(null==t)throw Error("[lucide]: iconNode is required when icon name is used");return{name:e?.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),size:24,node:t,...r.length>0?{aliases:r}:{}}}(e,r,i):e,o=(0,t.forwardRef)(({className:e,...r},i)=>(0,t.createElement)(a,{ref:i,icon:l,className:e,...r}));return l.name&&(o.displayName=(n=(e=>{let t="",r=!1;for(let i of e){if("-"===i||"_"===i||i<=" "){r=t.length>0;continue}0===t.length?t+=i.toLowerCase():t+=r?i.toUpperCase():i,r=!1}return t})(l.name)).charAt(0).toUpperCase()+n.slice(1)),o}],5270)},40238,(e,t,r)=>{"use strict";var i=e.r(91788),n="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},a=i.useSyncExternalStore,l=i.useRef,o=i.useEffect,s=i.useMemo,u=i.useDebugValue;r.useSyncExternalStoreWithSelector=function(e,t,r,i,d){var c=l(null);if(null===c.current){var f={hasValue:!1,value:null};c.current=f}else f=c.current;var h=a(e,(c=s(function(){function e(e){if(!o){if(o=!0,a=e,e=i(e),void 0!==d&&f.hasValue){var t=f.value;if(d(t,e))return l=t}return l=e}if(t=l,n(a,e))return t;var r=i(e);return void 0!==d&&d(t,r)?(a=e,t):(a=e,l=r)}var a,l,o=!1,s=void 0===r?null:r;return[function(){return e(t())},null===s?void 0:function(){return e(s())}]},[t,r,i,d]))[0],c[1]);return o(function(){f.hasValue=!0,f.value=h},[h]),u(h),h}},19979,(e,t,r)=>{"use strict";e.i(50461),t.exports=e.r(40238)}]);
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
__turbopack_load_page_chunks__("/assortments/AssortmentDetailPage", [
|
|
2
|
+
"static/chunks/0h4ehpg2f7fp2.js",
|
|
3
|
+
"static/chunks/22odam86c8kps.js",
|
|
4
|
+
"static/chunks/29fdom9djvjop.js",
|
|
5
|
+
"static/chunks/09ml8g7-byzio.js",
|
|
6
|
+
"static/chunks/13ytpmhxkpnwy.js",
|
|
7
|
+
"static/chunks/11vnr4kb9qkjr.js",
|
|
8
|
+
"static/chunks/14pnkf7som1m1.js",
|
|
9
|
+
"static/chunks/3hxp-xwv4g3ek.js",
|
|
10
|
+
"static/chunks/0l1xycyhdztmy.js",
|
|
11
|
+
"static/chunks/1t5wlk2j9d4ss.js",
|
|
12
|
+
"static/chunks/turbopack-077hmtqrhcoji.js"
|
|
13
|
+
])
|