@unchainedshop/admin-ui 4.8.26 → 4.8.27
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-45H2WVIC.js +51 -0
- package/dist/chunk-4VNS5WPM.js +37 -0
- package/dist/chunk-54DKBWXV.js +33 -0
- package/dist/chunk-6TXD4TA7.js +1196 -0
- package/dist/chunk-BGCKJQGS.js +58 -0
- package/dist/chunk-BYXBJQAS.js +1 -0
- package/dist/chunk-EJDZRZSZ.js +59 -0
- package/dist/chunk-ELPURWDC.js +75 -0
- package/dist/chunk-IAQPLRXZ.js +16 -0
- package/dist/chunk-ILYPJE4N.js +57 -0
- package/dist/chunk-IXBMHOB5.js +13 -0
- package/dist/chunk-KH5MK6ZW.js +18 -0
- package/dist/chunk-NT7RB7AK.js +70 -0
- package/dist/chunk-OKGJ6HDE.js +26 -0
- package/dist/chunk-Q6S3LBUF.js +180 -0
- package/dist/chunk-QNLGYFV7.js +22 -0
- package/dist/chunk-RAQV2GYF.js +70 -0
- package/dist/chunk-RHUFQVKL.js +514 -0
- package/dist/chunk-RVG6IOFC.js +11 -0
- package/dist/chunk-SRAAKMWY.js +39 -0
- package/dist/chunk-UFYR5WZT.js +165 -0
- package/dist/chunk-UXG7EYHC.js +614 -0
- package/dist/chunk-VDKQGOMV.js +840 -0
- package/dist/chunk-XHOCXPD5.js +9 -0
- package/dist/chunk-XJBPMIC4.js +284 -0
- package/dist/chunk-YO6PT7KD.js +13 -0
- package/dist/chunk-YSKZE2KN.js +652 -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 +3 -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 +14 -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 +6 -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 +17 -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 +41 -0
- package/dist/components/ui/index.d.ts.map +1 -0
- package/dist/form.js +30108 -0
- package/dist/gql/types.d.ts +17209 -0
- package/dist/gql/types.d.ts.map +1 -0
- package/dist/hooks.js +41 -0
- package/dist/lib/utils.d.ts +3 -0
- package/dist/lib/utils.d.ts.map +1 -0
- package/dist/modal.js +114 -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 +1013 -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 +1121 -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/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 +51 -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/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/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/useFormatDateTime.d.ts +7 -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 +353 -0
- package/dist/modules/event.js +123 -0
- package/dist/modules/filter.js +448 -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 +12 -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 +563 -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 +251 -0
- package/dist/modules/product.js +1929 -0
- package/dist/modules/quotation.js +297 -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 +308 -0
- package/dist/plugins.js +8 -0
- package/dist/providers.js +6 -0
- package/dist/sdk/hooks.d.ts +9 -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 +67 -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/theme.d.ts +26 -0
- package/dist/sdk/theme.d.ts.map +1 -0
- package/dist/theme.js +34 -0
- package/dist/ui.js +21540 -0
- package/out/403/index.html +2 -2
- package/out/404/index.html +2 -2
- package/out/404.html +2 -2
- package/out/423/index.html +2 -2
- package/out/500/index.html +2 -2
- package/out/_next/static/chunks/{31_pg1fxqgdfx.js → 01crynfjy3xpb.js} +2 -2
- package/out/_next/static/chunks/{1hwup6qqzqzh8.js → 1-mz7zwy-mbvq.js} +2 -2
- package/out/_next/static/chunks/{2ecq8dhsm2eu1.js → 1szkbg0-e_tli.js} +1 -1
- package/out/_next/static/chunks/{0ac5zzn3zeki5.js → 2ncenexps2330.js} +2 -2
- package/out/_next/static/chunks/3-2opr3e2h-8o.js +105 -0
- package/out/_next/static/chunks/{turbopack-14zydki2yqyd3.js → turbopack-058ikg9c4qsyu.js} +1 -1
- package/out/_next/static/chunks/{turbopack-0la8grv9f6bxn.js → turbopack-22gnlzp5il9ai.js} +1 -1
- package/out/_next/static/chunks/{turbopack-1w2r6t0rjz8pp.js → turbopack-2h_05wv-1o-qp.js} +1 -1
- package/out/_next/static/{_TiowajLX6Z3MYsLPNgxd → hZLisNV-2KMtO7y1-ggVm}/_buildManifest.js +2 -2
- package/out/_offline/index.html +2 -2
- package/out/account/forgot-password/index.html +2 -2
- package/out/account/index.html +2 -2
- package/out/assortments/AssortmentDetailPage/index.html +2 -2
- package/out/assortments/index.html +2 -2
- package/out/assortments/new/index.html +2 -2
- package/out/copilot/index.html +2 -2
- package/out/country/CountryDetailPage/index.html +2 -2
- package/out/country/index.html +2 -2
- package/out/country/new/index.html +2 -2
- package/out/currency/CurrencyDetailPage/index.html +2 -2
- package/out/currency/index.html +2 -2
- package/out/currency/new/index.html +2 -2
- package/out/delivery-provider/DeliveryProviderDetailPage/index.html +2 -2
- package/out/delivery-provider/index.html +2 -2
- package/out/delivery-provider/new/index.html +2 -2
- package/out/enrollments/EnrollmentDetailPage/index.html +2 -2
- package/out/enrollments/index.html +2 -2
- package/out/events/EventDetailPage/index.html +2 -2
- package/out/events/index.html +2 -2
- package/out/exports/index.html +2 -2
- package/out/external/index.html +2 -2
- package/out/filters/FilterDetailPage/index.html +2 -2
- package/out/filters/index.html +2 -2
- package/out/filters/new/index.html +2 -2
- package/out/index.html +2 -2
- package/out/install/index.html +2 -2
- package/out/language/LanguageDetailPage/index.html +2 -2
- package/out/language/index.html +2 -2
- package/out/language/new/index.html +2 -2
- package/out/log-in/index.html +2 -2
- package/out/manifest.json +48 -0
- package/out/orders/OrderDetailPage/index.html +2 -2
- package/out/orders/index.html +2 -2
- package/out/payment-provider/PaymentProviderDetailPage/index.html +2 -2
- package/out/payment-provider/index.html +2 -2
- package/out/payment-provider/new/index.html +2 -2
- package/out/products/ProductDetailPage/index.html +2 -2
- package/out/products/index.html +2 -2
- package/out/products/new/index.html +2 -2
- package/out/quotations/QuotationDetailPage/index.html +2 -2
- package/out/quotations/index.html +2 -2
- package/out/reset-password/index.html +2 -2
- package/out/sign-up/index.html +2 -2
- package/out/styleguide/index.html +2 -2
- package/out/tokens/TokenDetailPage/index.html +2 -2
- package/out/tokens/index.html +2 -2
- package/out/users/UserDetailPage/index.html +2 -2
- package/out/users/index.html +2 -2
- package/out/users/new/index.html +2 -2
- package/out/verify-email/index.html +2 -2
- package/out/warehousing-provider/WarehousingProviderDetailPage/index.html +2 -2
- package/out/warehousing-provider/index.html +2 -2
- package/out/warehousing-provider/new/index.html +2 -2
- package/out/works/WorkDetailPage/index.html +2 -2
- package/out/works/WorkQueueListView/index.html +2 -2
- package/out/works/index.html +2 -2
- package/out/works/management/index.html +2 -2
- package/package.json +1 -1
- package/out/_next/static/chunks/1t20r1ofch5r3.js +0 -95
- /package/out/_next/static/{_TiowajLX6Z3MYsLPNgxd → hZLisNV-2KMtO7y1-ggVm}/_clientMiddlewareManifest.js +0 -0
- /package/out/_next/static/{_TiowajLX6Z3MYsLPNgxd → hZLisNV-2KMtO7y1-ggVm}/_ssgManifest.js +0 -0
|
@@ -0,0 +1,353 @@
|
|
|
1
|
+
import { useUnchainedContext_default } from '../chunk-IAQPLRXZ.js';
|
|
2
|
+
import '../chunk-4VNS5WPM.js';
|
|
3
|
+
import { gql } from '@apollo/client';
|
|
4
|
+
import { useMutation, useQuery } from '@apollo/client/react';
|
|
5
|
+
|
|
6
|
+
var ActivateEnrollmentMutation = gql`
|
|
7
|
+
mutation ActivateEnrollment($enrollmentId: ID!) {
|
|
8
|
+
activateEnrollment(enrollmentId: $enrollmentId) {
|
|
9
|
+
_id
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
`;
|
|
13
|
+
var useActivateEnrollment = () => {
|
|
14
|
+
const [activateEnrollmentMutation] = useMutation(ActivateEnrollmentMutation);
|
|
15
|
+
const activateEnrollment = async ({
|
|
16
|
+
enrollmentId
|
|
17
|
+
}) => {
|
|
18
|
+
return activateEnrollmentMutation({
|
|
19
|
+
variables: { enrollmentId },
|
|
20
|
+
refetchQueries: ["Enrollments", "Enrollment"]
|
|
21
|
+
});
|
|
22
|
+
};
|
|
23
|
+
return {
|
|
24
|
+
activateEnrollment
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
var useActivateEnrollment_default = useActivateEnrollment;
|
|
28
|
+
var EnrollmentDetailFragment = gql`
|
|
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
|
+
`;
|
|
137
|
+
var EnrollmentDetailFragment_default = EnrollmentDetailFragment;
|
|
138
|
+
|
|
139
|
+
// src/modules/enrollment/hooks/useEnrollment.ts
|
|
140
|
+
var GetEnrollmentQuery = (inlineFragment = "") => gql`
|
|
141
|
+
query Enrollment($enrollmentId: ID!) {
|
|
142
|
+
enrollment(enrollmentId: $enrollmentId) {
|
|
143
|
+
...EnrollmentDetailFragment
|
|
144
|
+
${inlineFragment}
|
|
145
|
+
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
${EnrollmentDetailFragment_default}
|
|
149
|
+
`;
|
|
150
|
+
var useEnrollment = ({ enrollmentId = null }) => {
|
|
151
|
+
const { customProperties } = useUnchainedContext_default();
|
|
152
|
+
const { data, loading, error } = useQuery(GetEnrollmentQuery(customProperties?.Enrollment), {
|
|
153
|
+
skip: !enrollmentId,
|
|
154
|
+
variables: { enrollmentId }
|
|
155
|
+
});
|
|
156
|
+
const enrollment = data?.enrollment;
|
|
157
|
+
return {
|
|
158
|
+
enrollment,
|
|
159
|
+
loading,
|
|
160
|
+
error
|
|
161
|
+
};
|
|
162
|
+
};
|
|
163
|
+
var useEnrollment_default = useEnrollment;
|
|
164
|
+
var EnrollmentFragment = gql`
|
|
165
|
+
fragment EnrollmentFragment on Enrollment {
|
|
166
|
+
_id
|
|
167
|
+
country {
|
|
168
|
+
_id
|
|
169
|
+
isoCode
|
|
170
|
+
}
|
|
171
|
+
currency {
|
|
172
|
+
_id
|
|
173
|
+
isoCode
|
|
174
|
+
}
|
|
175
|
+
enrollmentNumber
|
|
176
|
+
updated
|
|
177
|
+
status
|
|
178
|
+
created
|
|
179
|
+
expires
|
|
180
|
+
isExpired
|
|
181
|
+
periods {
|
|
182
|
+
start
|
|
183
|
+
end
|
|
184
|
+
isTrial
|
|
185
|
+
}
|
|
186
|
+
payment {
|
|
187
|
+
provider {
|
|
188
|
+
_id
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
delivery {
|
|
192
|
+
provider {
|
|
193
|
+
_id
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
plan {
|
|
197
|
+
product {
|
|
198
|
+
_id
|
|
199
|
+
media {
|
|
200
|
+
_id
|
|
201
|
+
file {
|
|
202
|
+
_id
|
|
203
|
+
url
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
texts {
|
|
207
|
+
_id
|
|
208
|
+
title
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
quantity
|
|
212
|
+
}
|
|
213
|
+
user {
|
|
214
|
+
_id
|
|
215
|
+
username
|
|
216
|
+
name
|
|
217
|
+
avatar {
|
|
218
|
+
_id
|
|
219
|
+
url
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
}
|
|
223
|
+
`;
|
|
224
|
+
var EnrollmentFragment_default = EnrollmentFragment;
|
|
225
|
+
|
|
226
|
+
// src/modules/enrollment/hooks/useEnrollments.ts
|
|
227
|
+
var EnrollmentsQuery = gql`
|
|
228
|
+
query Enrollments(
|
|
229
|
+
$offset: Int
|
|
230
|
+
$limit: Int
|
|
231
|
+
$queryString: String
|
|
232
|
+
$sort: [SortOptionInput!]
|
|
233
|
+
$status: [String!]
|
|
234
|
+
) {
|
|
235
|
+
enrollments(
|
|
236
|
+
offset: $offset
|
|
237
|
+
limit: $limit
|
|
238
|
+
queryString: $queryString
|
|
239
|
+
sort: $sort
|
|
240
|
+
status: $status
|
|
241
|
+
) {
|
|
242
|
+
...EnrollmentFragment
|
|
243
|
+
}
|
|
244
|
+
enrollmentsCount
|
|
245
|
+
}
|
|
246
|
+
${EnrollmentFragment_default}
|
|
247
|
+
`;
|
|
248
|
+
var useEnrollments = ({
|
|
249
|
+
limit = 20,
|
|
250
|
+
offset = 0,
|
|
251
|
+
queryString = "",
|
|
252
|
+
sort = [],
|
|
253
|
+
status = null,
|
|
254
|
+
forceLocale = ""
|
|
255
|
+
} = {}) => {
|
|
256
|
+
const { data, loading, error, fetchMore } = useQuery(EnrollmentsQuery, {
|
|
257
|
+
context: {
|
|
258
|
+
headers: {
|
|
259
|
+
forceLocale
|
|
260
|
+
}
|
|
261
|
+
},
|
|
262
|
+
variables: { limit, offset, queryString, sort, status }
|
|
263
|
+
});
|
|
264
|
+
const enrollments = data?.enrollments || [];
|
|
265
|
+
const enrollmentsCount = data?.enrollmentsCount;
|
|
266
|
+
const hasMore = enrollments?.length < enrollmentsCount;
|
|
267
|
+
const loadMore = () => {
|
|
268
|
+
fetchMore({
|
|
269
|
+
variables: { offset: enrollments?.length }
|
|
270
|
+
});
|
|
271
|
+
};
|
|
272
|
+
return {
|
|
273
|
+
enrollments,
|
|
274
|
+
enrollmentsCount,
|
|
275
|
+
hasMore,
|
|
276
|
+
loading,
|
|
277
|
+
error,
|
|
278
|
+
loadMore
|
|
279
|
+
};
|
|
280
|
+
};
|
|
281
|
+
var useEnrollments_default = useEnrollments;
|
|
282
|
+
var SendEnrollmentEmailMutation = gql`
|
|
283
|
+
mutation SendEnrollmentEmail($email: String!) {
|
|
284
|
+
sendEnrollmentEmail(email: $email) {
|
|
285
|
+
success
|
|
286
|
+
}
|
|
287
|
+
}
|
|
288
|
+
`;
|
|
289
|
+
var useSendEnrollmentEmail = () => {
|
|
290
|
+
const [sendEnrollmentEmailMutation] = useMutation(SendEnrollmentEmailMutation);
|
|
291
|
+
const sendEnrollmentEmail = async ({
|
|
292
|
+
email
|
|
293
|
+
}) => {
|
|
294
|
+
return sendEnrollmentEmailMutation({
|
|
295
|
+
variables: { email }
|
|
296
|
+
});
|
|
297
|
+
};
|
|
298
|
+
return {
|
|
299
|
+
sendEnrollmentEmail
|
|
300
|
+
};
|
|
301
|
+
};
|
|
302
|
+
var useSendEnrollmentEmail_default = useSendEnrollmentEmail;
|
|
303
|
+
var TerminateEnrollmentMutation = gql`
|
|
304
|
+
mutation TerminateEnrollment($enrollmentId: ID!) {
|
|
305
|
+
terminateEnrollment(enrollmentId: $enrollmentId) {
|
|
306
|
+
_id
|
|
307
|
+
}
|
|
308
|
+
}
|
|
309
|
+
`;
|
|
310
|
+
var useTerminateEnrollment = () => {
|
|
311
|
+
const [terminateEnrollmentMutation] = useMutation(TerminateEnrollmentMutation);
|
|
312
|
+
const terminateEnrollment = async ({
|
|
313
|
+
enrollmentId
|
|
314
|
+
}) => {
|
|
315
|
+
return terminateEnrollmentMutation({
|
|
316
|
+
variables: { enrollmentId },
|
|
317
|
+
refetchQueries: ["Enrollments", "Enrollment"]
|
|
318
|
+
});
|
|
319
|
+
};
|
|
320
|
+
return {
|
|
321
|
+
terminateEnrollment
|
|
322
|
+
};
|
|
323
|
+
};
|
|
324
|
+
var useTerminateEnrollment_default = useTerminateEnrollment;
|
|
325
|
+
var UserEnrollmentsQuery = gql`
|
|
326
|
+
query UserEnrollments($userId: ID!, $queryString: String) {
|
|
327
|
+
user(userId: $userId) {
|
|
328
|
+
_id
|
|
329
|
+
enrollments(queryString: $queryString) {
|
|
330
|
+
...EnrollmentFragment
|
|
331
|
+
}
|
|
332
|
+
}
|
|
333
|
+
}
|
|
334
|
+
${EnrollmentFragment_default}
|
|
335
|
+
`;
|
|
336
|
+
var useUserEnrollments = ({
|
|
337
|
+
userId = null,
|
|
338
|
+
queryString = ""
|
|
339
|
+
}) => {
|
|
340
|
+
const { data, loading, error } = useQuery(UserEnrollmentsQuery, {
|
|
341
|
+
skip: !userId,
|
|
342
|
+
variables: { userId, queryString }
|
|
343
|
+
});
|
|
344
|
+
const enrollments = data?.user?.enrollments || [];
|
|
345
|
+
return {
|
|
346
|
+
enrollments,
|
|
347
|
+
loading,
|
|
348
|
+
error
|
|
349
|
+
};
|
|
350
|
+
};
|
|
351
|
+
var useUserEnrollments_default = useUserEnrollments;
|
|
352
|
+
|
|
353
|
+
export { useActivateEnrollment_default as useActivateEnrollment, useEnrollment_default as useEnrollment, useEnrollments_default as useEnrollments, useSendEnrollmentEmail_default as useSendEnrollmentEmail, useTerminateEnrollment_default as useTerminateEnrollment, useUserEnrollments_default as useUserEnrollments };
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
import '../chunk-BYXBJQAS.js';
|
|
2
|
+
import '../chunk-4VNS5WPM.js';
|
|
3
|
+
import { gql } from '@apollo/client';
|
|
4
|
+
import { useQuery } from '@apollo/client/react';
|
|
5
|
+
|
|
6
|
+
var EventFragment = gql`
|
|
7
|
+
fragment EventFragment on Event {
|
|
8
|
+
_id
|
|
9
|
+
type
|
|
10
|
+
payload
|
|
11
|
+
created
|
|
12
|
+
}
|
|
13
|
+
`;
|
|
14
|
+
var EventFragment_default = EventFragment;
|
|
15
|
+
|
|
16
|
+
// src/modules/event/hooks/useEvent.ts
|
|
17
|
+
var EventQuery = gql`
|
|
18
|
+
query Event($eventId: ID!) {
|
|
19
|
+
event(eventId: $eventId) {
|
|
20
|
+
...EventFragment
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
${EventFragment_default}
|
|
24
|
+
`;
|
|
25
|
+
var useEvent = ({ eventId = null }) => {
|
|
26
|
+
const { data, loading, error } = useQuery(
|
|
27
|
+
EventQuery,
|
|
28
|
+
{
|
|
29
|
+
skip: !eventId,
|
|
30
|
+
variables: { eventId }
|
|
31
|
+
}
|
|
32
|
+
);
|
|
33
|
+
const event = data?.event || [];
|
|
34
|
+
return {
|
|
35
|
+
event,
|
|
36
|
+
loading,
|
|
37
|
+
error
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
var useEvent_default = useEvent;
|
|
41
|
+
var RegisteredEventTypesQuery = gql`
|
|
42
|
+
query RegisteredEventTypes {
|
|
43
|
+
registeredEventTypes
|
|
44
|
+
}
|
|
45
|
+
`;
|
|
46
|
+
var useEventTypes = () => {
|
|
47
|
+
const { data, loading, error } = useQuery(
|
|
48
|
+
RegisteredEventTypesQuery
|
|
49
|
+
);
|
|
50
|
+
const eventsType = (data?.registeredEventTypes || []).map(
|
|
51
|
+
(value) => ({
|
|
52
|
+
value,
|
|
53
|
+
label: value
|
|
54
|
+
})
|
|
55
|
+
);
|
|
56
|
+
return {
|
|
57
|
+
eventsType,
|
|
58
|
+
loading,
|
|
59
|
+
error
|
|
60
|
+
};
|
|
61
|
+
};
|
|
62
|
+
var useEventTypes_default = useEventTypes;
|
|
63
|
+
var EventQuery2 = gql`
|
|
64
|
+
query Events(
|
|
65
|
+
$types: [String!]
|
|
66
|
+
$limit: Int
|
|
67
|
+
$offset: Int
|
|
68
|
+
$sort: [SortOptionInput!]
|
|
69
|
+
$queryString: String
|
|
70
|
+
$created: DateFilterInput
|
|
71
|
+
) {
|
|
72
|
+
events(
|
|
73
|
+
types: $types
|
|
74
|
+
limit: $limit
|
|
75
|
+
offset: $offset
|
|
76
|
+
sort: $sort
|
|
77
|
+
queryString: $queryString
|
|
78
|
+
created: $created
|
|
79
|
+
) {
|
|
80
|
+
...EventFragment
|
|
81
|
+
}
|
|
82
|
+
eventsCount(types: $types, created: $created, queryString: $queryString)
|
|
83
|
+
}
|
|
84
|
+
${EventFragment_default}
|
|
85
|
+
`;
|
|
86
|
+
var useEvents = ({
|
|
87
|
+
types = null,
|
|
88
|
+
limit = 20,
|
|
89
|
+
offset = 0,
|
|
90
|
+
sort: sortOptions = [],
|
|
91
|
+
queryString = null,
|
|
92
|
+
created = null
|
|
93
|
+
} = {}) => {
|
|
94
|
+
const { data, loading, error, fetchMore, previousData } = useQuery(EventQuery2, {
|
|
95
|
+
variables: {
|
|
96
|
+
types,
|
|
97
|
+
limit,
|
|
98
|
+
offset,
|
|
99
|
+
sort: sortOptions?.length ? sortOptions : [{ key: "created", value: "DESC" /* Desc */ }],
|
|
100
|
+
queryString,
|
|
101
|
+
created
|
|
102
|
+
}
|
|
103
|
+
});
|
|
104
|
+
const events = data?.events || previousData?.events || [];
|
|
105
|
+
const eventsCount = data?.eventsCount;
|
|
106
|
+
const hasMore = events?.length < eventsCount;
|
|
107
|
+
const loadMore = () => {
|
|
108
|
+
fetchMore({
|
|
109
|
+
variables: { offset: events.length }
|
|
110
|
+
});
|
|
111
|
+
};
|
|
112
|
+
return {
|
|
113
|
+
events,
|
|
114
|
+
hasMore,
|
|
115
|
+
eventsCount,
|
|
116
|
+
loadMore,
|
|
117
|
+
loading,
|
|
118
|
+
error
|
|
119
|
+
};
|
|
120
|
+
};
|
|
121
|
+
var useEvents_default = useEvents;
|
|
122
|
+
|
|
123
|
+
export { useEvent_default as useEvent, useEventTypes_default as useEventTypes, useEvents_default as useEvents };
|