@unchainedshop/admin-ui 5.0.0-alpha.3 → 5.0.0-alpha.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +92 -35
- 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 +30077 -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 +21527 -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/0-p8a6-okjx49.js +15 -0
- package/out/_next/static/chunks/0-u5tid26i8-3.js +188 -0
- package/out/_next/static/chunks/008hxgil51owu.js +234 -0
- package/out/_next/static/chunks/026k3ys50h91u.js +15 -0
- package/out/_next/static/chunks/02aa23atze2y4.js +119 -0
- package/out/_next/static/chunks/02dnhll1bce87.js +46 -0
- package/out/_next/static/chunks/03f0hv23abn4a.js +12 -0
- package/out/_next/static/chunks/03p0xulfluyqm.js +15 -0
- package/out/_next/static/chunks/044dmimivt13x.js +233 -0
- package/out/_next/static/chunks/047gokoblz-qy.js +16 -0
- package/out/_next/static/chunks/04yroykjly9ni.js +15 -0
- package/out/_next/static/chunks/05h2_5y4i_fe4.js +12 -0
- package/out/_next/static/chunks/0641gh6yb6tnd.js +3 -0
- package/out/_next/static/chunks/06bsql5zgjpaj.js +315 -0
- package/out/_next/static/chunks/06jtnxd7wr712.js +1 -0
- package/out/_next/static/chunks/070wy1qe-7-uf.js +242 -0
- package/out/_next/static/chunks/07l1vdt21xneu.js +14 -0
- package/out/_next/static/chunks/07q8ufsdxo1tx.js +1 -0
- package/out/_next/static/chunks/087a2d-0e1pvn.js +1 -0
- package/out/_next/static/chunks/09pees0w94cvm.js +1 -0
- package/out/_next/static/chunks/0_wmk0z5r9thu.js +95 -0
- package/out/_next/static/chunks/0ab_-095b34n5.js +90 -0
- package/out/_next/static/chunks/0aom8abciz-yf.js +1 -0
- package/out/_next/static/chunks/0cdcsn87u-tzw.js +1 -0
- package/out/_next/static/chunks/0cu-wqc76z_w6.js +1 -0
- package/out/_next/static/chunks/0dnzfqa8el54j.js +135 -0
- package/out/_next/static/chunks/0f-hhcgpd3kjt.js +5 -0
- package/out/_next/static/chunks/0gdriupdpmq28.js +14 -0
- package/out/_next/static/chunks/0hm6-xlqw4vmr.js +1 -0
- package/out/_next/static/chunks/0hmdmxkzhdtjx.js +155 -0
- package/out/_next/static/chunks/0hpirq7m-gjle.js +23 -0
- package/out/_next/static/chunks/0hup5ovc9v_-h.js +58 -0
- package/out/_next/static/chunks/0hxsdaxwhc3z4.js +110 -0
- package/out/_next/static/chunks/0j-yonuwgtg0k.js +22 -0
- package/out/_next/static/chunks/0jo3ujn_icmb9.js +28 -0
- package/out/_next/static/chunks/0mayhrft9-4hw.js +13 -0
- package/out/_next/static/chunks/0mdh4qszx-qw8.js +1 -0
- package/out/_next/static/chunks/0nyu34hvyz9_k.js +103 -0
- package/out/_next/static/chunks/0nz8nqr7k7pni.js +61 -0
- package/out/_next/static/chunks/0pjv94c771817.js +13 -0
- package/out/_next/static/chunks/0qrepe4aqal8_.js +2 -0
- package/out/_next/static/chunks/0qtbb-w9hs2i_.js +1 -0
- package/out/_next/static/chunks/0r0l1vs8bls6y.js +1 -0
- package/out/_next/static/chunks/0r2v5se5riad_.js +227 -0
- package/out/_next/static/chunks/0s3aax3no2y3_.js +54 -0
- package/out/_next/static/chunks/0sys36fl1uhl-.js +18 -0
- package/out/_next/static/chunks/0u-md-qpvyccn.js +149 -0
- package/out/_next/static/chunks/0ukobsq85_to1.js +135 -0
- package/out/_next/static/chunks/0vcn7yqzt3qlc.js +10 -0
- package/out/_next/static/chunks/0wl_oo549tgsw.js +14 -0
- package/out/_next/static/chunks/0wm5atnhe2mjs.js +119 -0
- package/out/_next/static/chunks/0wpmgf2-hr2iv.js +1 -0
- package/out/_next/static/chunks/0wthf9v7cuwqf.js +3 -0
- package/out/_next/static/chunks/0xcxmgeevaadl.js +8 -0
- package/out/_next/static/chunks/0xoerh23zk-pj.js +44 -0
- package/out/_next/static/chunks/0xvoojz5c4j32.js +14 -0
- package/out/_next/static/chunks/0ykc9b-l7rcv9.js +18 -0
- package/out/_next/static/chunks/0zb8qwy33hihq.js +142 -0
- package/out/_next/static/chunks/0zgu8kiokvsjz.js +1 -0
- package/out/_next/static/chunks/0zk0s8hqsf5tg.js +18 -0
- package/out/_next/static/chunks/0zl6mu89n1_wq.js +1 -0
- package/out/_next/static/chunks/0zntg6ltu_fk3.js +14 -0
- package/out/_next/static/chunks/10996osm11rxi.js +327 -0
- package/out/_next/static/chunks/10q9_f1ss9afd.js +8 -0
- package/out/_next/static/chunks/110vhftkm53lj.js +111 -0
- package/out/_next/static/chunks/113_jsmrqky1h.js +130 -0
- package/out/_next/static/chunks/11fqypagzye_v.js +43 -0
- package/out/_next/static/chunks/137522d4_apiu.js +166 -0
- package/out/_next/static/chunks/13ml43jv3bxh1.js +1 -0
- package/out/_next/static/chunks/16ad724tleody.js +13 -0
- package/out/_next/static/chunks/16r_t7quts1w0.js +289 -0
- package/out/_next/static/chunks/16yomp2b55xod.js +30 -0
- package/out/_next/static/chunks/17jd_42ijblk-.js +15 -0
- package/out/_next/static/chunks/17xseq9yxu638.js +1 -0
- package/out/_next/static/chunks/18yznjdgjug5c.js +7 -0
- package/out/_next/static/chunks/19i-cq0_2t00g.js +60 -0
- package/out/_next/static/chunks/19ppkss30jscq.js +13 -0
- package/out/_next/static/chunks/1_ov-8bomgh6c.js +54 -0
- package/out/_next/static/chunks/1b9l0n8vz64x7.js +233 -0
- package/out/_next/static/chunks/1cn3pe6lxja9e.js +44 -0
- package/out/_next/static/chunks/1dsjo02ozub3p.js +342 -0
- package/out/_next/static/chunks/1dut2ep8qfdv4.js +14 -0
- package/out/_next/static/chunks/1eqs_86cqpxcx.js +138 -0
- package/out/_next/static/chunks/1exlzd6w18o_b.js +8 -0
- package/out/_next/static/chunks/1f04wea7zvjf5.js +2 -0
- package/out/_next/static/chunks/1fqsykinbg1d_.js +12 -0
- package/out/_next/static/chunks/1g5l7e7du4p25.js +1 -0
- package/out/_next/static/chunks/1hokoliuqn63p.js +17 -0
- package/out/_next/static/chunks/1ihjqvn68cj5e.js +36 -0
- package/out/_next/static/chunks/1k798vpov34v6.js +12 -0
- package/out/_next/static/chunks/1lewut00m9sq1.js +1 -0
- package/out/_next/static/chunks/1lwiflo8v2d93.js +1 -0
- package/out/_next/static/chunks/1ng9tsm1f8e_a.js +1 -0
- package/out/_next/static/chunks/1nvy3y5qe_igv.js +233 -0
- package/out/_next/static/chunks/1osrrozfse5jn.js +190 -0
- package/out/_next/static/chunks/1ozaatz-b_-as.js +41 -0
- package/out/_next/static/chunks/1paq5rkj25r88.js +1 -0
- package/out/_next/static/chunks/1q2l02eq094zc.js +147 -0
- package/out/_next/static/chunks/1q8zx2rmluekr.js +13 -0
- package/out/_next/static/chunks/1qnuk3631sd6i.js +807 -0
- package/out/_next/static/chunks/1r0aluuzu5vw7.js +13 -0
- package/out/_next/static/chunks/1rgwj4dr0k4_b.js +5 -0
- package/out/_next/static/chunks/1sgv26vi42stl.js +13 -0
- package/out/_next/static/chunks/1t80pe40g73fh.js +82 -0
- package/out/_next/static/chunks/1u6jfjnf14knz.js +124 -0
- package/out/_next/static/chunks/1vnvinjvn78t3.js +1 -0
- package/out/_next/static/chunks/1xg3ey2rrdxfx.js +1 -0
- package/out/_next/static/chunks/1xx6ie3yh2hbk.js +235 -0
- package/out/_next/static/chunks/1y-vwb0-v5xv0.js +304 -0
- package/out/_next/static/chunks/2-8-i_m-82mjh.js +43 -0
- package/out/_next/static/chunks/2-s6g5_cyahx8.js +1 -0
- package/out/_next/static/chunks/20ndjd4r5l6vk.js +1 -0
- package/out/_next/static/chunks/20v019mj-zi94.js +13 -0
- package/out/_next/static/chunks/21w-hkh4_w1kl.js +19 -0
- package/out/_next/static/chunks/226ya3lbz_55w.js +19 -0
- package/out/_next/static/chunks/22az81pi-bqjb.js +1 -0
- package/out/_next/static/chunks/22get2_2lcba-.js +21 -0
- package/out/_next/static/chunks/22l-2aehes9lx.js +153 -0
- package/out/_next/static/chunks/23y9nin7qo-xy.js +17 -0
- package/out/_next/static/chunks/25t23h8zbmzh-.js +12 -0
- package/out/_next/static/chunks/273zh05aw6uz2.js +13 -0
- package/out/_next/static/chunks/28o-5560g4bwk.js +7 -0
- package/out/_next/static/chunks/28zahy_uqar2t.js +12 -0
- package/out/_next/static/chunks/29dylunjhn4te.js +34 -0
- package/out/_next/static/chunks/2_3qu55ddb4jo.js +3 -0
- package/out/_next/static/chunks/2_7z1veshuiiw.js +10 -0
- package/out/_next/static/chunks/2_ztj391g9yzt.js +226 -0
- package/out/_next/static/chunks/2a9z_gm1vn39c.js +173 -0
- package/out/_next/static/chunks/2a_46b7_7ml_y.js +1 -0
- package/out/_next/static/chunks/2b8nhs_3rpawc.js +1 -0
- package/out/_next/static/chunks/2biyd1hzgc2sv.js +339 -0
- package/out/_next/static/chunks/2c2vssolfspzg.js +50 -0
- package/out/_next/static/chunks/2dbrybnhe5thu.css +1 -0
- package/out/_next/static/chunks/2diqy5aehqe8j.js +58 -0
- package/out/_next/static/chunks/2djnsowjy3p8y.js +1 -0
- package/out/_next/static/chunks/2dq4d-ey-16cq.js +1 -0
- package/out/_next/static/chunks/2dyysegkbptw8.js +11 -0
- package/out/_next/static/chunks/2ei1rfxsl3q65.js +31 -0
- package/out/_next/static/chunks/2fazxtc5_9tgo.js +52 -0
- package/out/_next/static/chunks/2fzc9bsweg7nf.js +807 -0
- package/out/_next/static/chunks/2h5-bnhry6wzl.js +14 -0
- package/out/_next/static/chunks/2hmtn1okhj6zz.js +234 -0
- package/out/_next/static/chunks/2htrbj6g7da-e.js +12 -0
- package/out/_next/static/chunks/2j0apwnxuaeox.js +14 -0
- package/out/_next/static/chunks/2j51l4ukmrn7j.js +17 -0
- package/out/_next/static/chunks/2k4cusvrm93cp.js +39 -0
- package/out/_next/static/chunks/2ldks6pel2wcp.js +31 -0
- package/out/_next/static/chunks/2loz6t7f69t0c.js +1 -0
- package/out/_next/static/chunks/2onfts3kpe9d8.js +1 -0
- package/out/_next/static/chunks/2p9aozkdq_z13.js +329 -0
- package/out/_next/static/chunks/2pz2u5us_0jme.js +5 -0
- package/out/_next/static/chunks/2qaf44ypuy_4z.js +1 -0
- package/out/_next/static/chunks/2r1-eyf6hic-m.js +1 -0
- package/out/_next/static/chunks/2ritd1boot22-.js +32 -0
- package/out/_next/static/chunks/2s1__k407zn6n.js +1 -0
- package/out/_next/static/chunks/2s6qkrjh7-b6s.js +1 -0
- package/out/_next/static/chunks/2t70ji9pnllxh.js +81 -0
- package/out/_next/static/chunks/2tc6lgajxmo78.js +3 -0
- package/out/_next/static/chunks/2twd9trj9horc.js +61 -0
- package/out/_next/static/chunks/2ua7-skz9vm4r.js +13 -0
- package/out/_next/static/chunks/2vjkcd8g_hh68.js +46 -0
- package/out/_next/static/chunks/2w1twpn4nui6h.js +807 -0
- package/out/_next/static/chunks/2x4vo24qfe0mr.js +1 -0
- package/out/_next/static/chunks/2zm-d0-e0sxgo.js +23 -0
- package/out/_next/static/chunks/3-u1dp82vzyt9.js +1 -0
- package/out/_next/static/chunks/30iz3jszdu04d.js +11 -0
- package/out/_next/static/chunks/30jmh-3cp5wcg.js +12 -0
- package/out/_next/static/chunks/3178a_a_i-e-q.js +16 -0
- package/out/_next/static/chunks/317qzy7r8meg_.js +1 -0
- package/out/_next/static/chunks/32nwqfli0ne57.js +1 -0
- package/out/_next/static/chunks/33c-rzkj2k2v1.js +14 -0
- package/out/_next/static/chunks/33g91_yljnpiw.js +807 -0
- package/out/_next/static/chunks/34dhtdp_8idgm.js +658 -0
- package/out/_next/static/chunks/34ybf-w3bdlw8.js +13 -0
- package/out/_next/static/chunks/35-vqjhcep-zw.js +60 -0
- package/out/_next/static/chunks/358r9pdxbk-fv.js +39 -0
- package/out/_next/static/chunks/35a6ymsh4q0-o.js +14 -0
- package/out/_next/static/chunks/36yrxjq9zbvpx.js +13 -0
- package/out/_next/static/chunks/377ho63k7qphg.js +14 -0
- package/out/_next/static/chunks/37bs69urhjdz5.js +24 -0
- package/out/_next/static/chunks/37mpnb5qztb_g.js +15 -0
- package/out/_next/static/chunks/3827hqe9_anr7.js +24 -0
- package/out/_next/static/chunks/3a0_vzfa54k35.js +7 -0
- package/out/_next/static/chunks/3a8a8fpl7-ndf.js +1 -0
- package/out/_next/static/chunks/3b6hct2rk2wu9.js +24 -0
- package/out/_next/static/chunks/3czsj6bdmobbd.js +24 -0
- package/out/_next/static/chunks/3d0ic2ovyeue7.js +2 -0
- package/out/_next/static/chunks/3eq1b2m2xkkmp.js +1 -0
- package/out/_next/static/chunks/3f2ue6ut-mwka.js +2 -0
- package/out/_next/static/chunks/3g67xtrp0vv4m.js +1 -0
- package/out/_next/static/chunks/3iepyd4rzl-tt.js +13 -0
- package/out/_next/static/chunks/3j6p-522fcsnj.js +1 -0
- package/out/_next/static/chunks/3kle_yukf5aux.js +809 -0
- package/out/_next/static/chunks/3l_nx7eopgh02.js +1 -0
- package/out/_next/static/chunks/3mk-cv2ocv93u.js +50 -0
- package/out/_next/static/chunks/3n5290qcigwpc.js +13 -0
- package/out/_next/static/chunks/3nl02jbknvx4p.js +14 -0
- package/out/_next/static/chunks/3o5a5qn0dnq04.js +3 -0
- package/out/_next/static/chunks/3o5kwvdgt_t9z.js +73 -0
- package/out/_next/static/chunks/3qamj8gt1ijdz.js +12 -0
- package/out/_next/static/chunks/3rlrwz262rpw0.js +1 -0
- package/out/_next/static/chunks/3s3v9n_ob4m24.js +18 -0
- package/out/_next/static/chunks/3s47qr8fn6h4j.js +8 -0
- package/out/_next/static/chunks/3slzhmkeoggpm.js +66 -0
- package/out/_next/static/chunks/3tv9csz53av-5.js +1 -0
- package/out/_next/static/chunks/3uec1_7irpl71.js +16 -0
- package/out/_next/static/chunks/3uo1w1gaj7tsx.js +117 -0
- package/out/_next/static/chunks/3uwev5xyub_j1.js +7 -0
- package/out/_next/static/chunks/3w450c1xmh550.js +12 -0
- package/out/_next/static/chunks/3x8aami6-3l79.js +31 -0
- package/out/_next/static/chunks/3xhogi6_bbwh7.js +10 -0
- package/out/_next/static/chunks/3y62dz45ticve.js +1 -0
- package/out/_next/static/chunks/3yjzk_udmhv3i.js +1 -0
- package/out/_next/static/chunks/3z6v84zof80bt.js +1 -0
- package/out/_next/static/chunks/3zncjth-kop8p.js +1 -0
- package/out/_next/static/chunks/3zp4iedgev460.js +35 -0
- package/out/_next/static/chunks/413qu_x6yky1e.js +1 -0
- package/out/_next/static/chunks/41j8mb2ztwydi.js +14 -0
- package/out/_next/static/chunks/41pc5_e25bhgd.js +1 -0
- package/out/_next/static/chunks/424z-zudpy3n0.js +39 -0
- package/out/_next/static/chunks/42o6t6-v2qi37.js +29 -0
- package/out/_next/static/chunks/434iz38padke2.js +1 -0
- package/out/_next/static/chunks/43pb7hjetp965.js +1 -0
- package/out/_next/static/chunks/44rharl5hvsw-.js +22 -0
- package/out/_next/static/chunks/45ac68ug7hcoc.js +13 -0
- package/out/_next/static/chunks/turbopack-0-chqajqgydnn.js +1 -0
- package/out/_next/static/chunks/turbopack-0-jquaej6q4cd.js +1 -0
- package/out/_next/static/chunks/turbopack-01y_6kjoo1mvp.js +1 -0
- package/out/_next/static/chunks/turbopack-03_sghcquhw33.js +1 -0
- package/out/_next/static/chunks/turbopack-0a_5nw_3znl2r.js +1 -0
- package/out/_next/static/chunks/turbopack-0bbgz21dy5lm3.js +1 -0
- package/out/_next/static/chunks/turbopack-0cqzo60ry70im.js +1 -0
- package/out/_next/static/chunks/turbopack-0ex-kw1o5k02z.js +1 -0
- package/out/_next/static/chunks/turbopack-0g9gjb70ob0rb.js +1 -0
- package/out/_next/static/chunks/turbopack-0jzps1g34dah5.js +1 -0
- package/out/_next/static/chunks/turbopack-0o9rz5e94nq66.js +1 -0
- package/out/_next/static/chunks/turbopack-0rq3y47awgwpt.js +1 -0
- package/out/_next/static/chunks/turbopack-0vs4-gjxe552i.js +1 -0
- package/out/_next/static/chunks/turbopack-0x1jwahqhzo0u.js +1 -0
- package/out/_next/static/chunks/turbopack-13uretb6lcje8.js +1 -0
- package/out/_next/static/chunks/turbopack-14n2u99h724y-.js +1 -0
- package/out/_next/static/chunks/turbopack-1a774_gjam74t.js +1 -0
- package/out/_next/static/chunks/turbopack-1gy8illqlm_jj.js +1 -0
- package/out/_next/static/chunks/turbopack-1n9q29j854ltr.js +1 -0
- package/out/_next/static/chunks/turbopack-1nathpz4-f-4w.js +1 -0
- package/out/_next/static/chunks/turbopack-1nca86oa17qfx.js +1 -0
- package/out/_next/static/chunks/turbopack-1qe0zbu9fejdb.js +1 -0
- package/out/_next/static/chunks/turbopack-1qg26rdmwlotw.js +1 -0
- package/out/_next/static/chunks/turbopack-1u6lf-rzbdjuj.js +1 -0
- package/out/_next/static/chunks/turbopack-1z85kwwdibjh7.js +1 -0
- package/out/_next/static/chunks/turbopack-22as-nh7md98p.js +1 -0
- package/out/_next/static/chunks/turbopack-23lcv-araye0t.js +1 -0
- package/out/_next/static/chunks/turbopack-25gt3vwmogps-.js +1 -0
- package/out/_next/static/chunks/turbopack-26g97kfge67jz.js +1 -0
- package/out/_next/static/chunks/turbopack-26u67kbn41n8e.js +1 -0
- package/out/_next/static/chunks/turbopack-280jnadydykur.js +1 -0
- package/out/_next/static/chunks/turbopack-2bb6lvvhg6e0w.js +1 -0
- package/out/_next/static/chunks/turbopack-2bw5gluonepob.js +1 -0
- package/out/_next/static/chunks/turbopack-2c36n939jg0pf.js +1 -0
- package/out/_next/static/chunks/turbopack-2ez296aoalbog.js +1 -0
- package/out/_next/static/chunks/turbopack-2frqnl7lfn0h9.js +1 -0
- package/out/_next/static/chunks/turbopack-2jxkmyhbvdw4u.js +1 -0
- package/out/_next/static/chunks/turbopack-2k45z490u3tbj.js +1 -0
- package/out/_next/static/chunks/turbopack-2p-uq1erkf03-.js +1 -0
- package/out/_next/static/chunks/turbopack-2svkg0yvgyw3_.js +1 -0
- package/out/_next/static/chunks/turbopack-31s1c5ipeb5_p.js +1 -0
- package/out/_next/static/chunks/turbopack-33v049epa0erx.js +1 -0
- package/out/_next/static/chunks/turbopack-34jylrj_qw1ak.js +1 -0
- package/out/_next/static/chunks/turbopack-34u-t26ngu-oy.js +1 -0
- package/out/_next/static/chunks/turbopack-34x5gar31d5sv.js +1 -0
- package/out/_next/static/chunks/turbopack-363g_e-jzg5u_.js +1 -0
- package/out/_next/static/chunks/turbopack-39um5sy1v-bvw.js +1 -0
- package/out/_next/static/chunks/turbopack-3__2i-6jdv1s8.js +1 -0
- package/out/_next/static/chunks/turbopack-3b4s935ks8u-b.js +1 -0
- package/out/_next/static/chunks/turbopack-3b5-pdmr324f-.js +1 -0
- package/out/_next/static/chunks/turbopack-3bwm37xq99e4l.js +1 -0
- package/out/_next/static/chunks/turbopack-3ec8ol5n3kb0h.js +1 -0
- package/out/_next/static/chunks/turbopack-3gw7smd4lo5ud.js +1 -0
- package/out/_next/static/chunks/turbopack-3miy8-7wxcnbn.js +1 -0
- package/out/_next/static/chunks/turbopack-3nvjaj1vijowz.js +1 -0
- package/out/_next/static/chunks/turbopack-3poc67i76-q8q.js +1 -0
- package/out/_next/static/chunks/turbopack-3r1pnr94s1u0w.js +1 -0
- package/out/_next/static/chunks/turbopack-3sfa4031m280j.js +1 -0
- package/out/_next/static/chunks/turbopack-3sqs5hm2xhl3s.js +1 -0
- package/out/_next/static/chunks/turbopack-3xha6pmjqez6d.js +1 -0
- package/out/_next/static/chunks/turbopack-3yp7pgp42yfh3.js +1 -0
- package/out/_next/static/chunks/turbopack-3z_g6t7o2z7rb.js +1 -0
- package/out/_next/static/chunks/turbopack-3zb947kjm56zb.js +1 -0
- package/out/_next/static/chunks/turbopack-43m6wi0fybh1f.js +1 -0
- package/out/_next/static/mgojmR_4GNqJNutDR9oFi/_buildManifest.js +262 -0
- 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/ext/[[...slug]]/index.html +11 -0
- 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 +104 -13
- package/src/modules/accounts/index.ts +34 -0
- package/src/modules/assortment/index.ts +29 -0
- package/src/modules/copilot/index.ts +4 -0
- package/src/modules/country/index.ts +5 -0
- package/src/modules/currency/index.ts +5 -0
- package/src/modules/delivery-provider/index.ts +7 -0
- package/src/modules/enrollment/index.ts +6 -0
- package/src/modules/event/index.ts +3 -0
- package/src/modules/filter/index.ts +13 -0
- package/src/modules/language/index.ts +5 -0
- package/src/modules/order/index.ts +8 -0
- package/src/modules/payment-providers/index.ts +7 -0
- package/src/modules/product/index.ts +47 -0
- package/src/modules/product-review/index.ts +6 -0
- package/src/modules/quotation/index.ts +6 -0
- package/src/modules/token/index.ts +3 -0
- package/src/modules/warehousing-providers/index.ts +7 -0
- package/src/modules/work/index.ts +7 -0
- package/src/sdk/hooks.ts +11 -0
- package/src/sdk/modal.ts +6 -0
- package/src/sdk/plugin-build.mjs +112 -0
- package/src/sdk/plugin-build.test.mjs +11 -0
- package/src/sdk/plugins.ts +88 -0
- package/src/sdk/providers.ts +4 -0
- package/src/sdk/tailwind-preset.mjs +94 -0
- package/src/sdk/theme.ts +61 -0
- package/src/styles/globals.css +291 -0
- package/out/_next/static/chunks/0-beu4vu82jrh.js +0 -1
- package/out/_next/static/chunks/0-l8x8k72-b3i.js +0 -173
- package/out/_next/static/chunks/0-v2_9sc~l3._.js +0 -1
- package/out/_next/static/chunks/0.b6lj.zfgeh7.js +0 -807
- package/out/_next/static/chunks/0.jjzw42mzofa.js +0 -18
- package/out/_next/static/chunks/0.ubb4bvs288f.js +0 -193
- package/out/_next/static/chunks/00c-9lviyc08t.js +0 -16
- package/out/_next/static/chunks/00svmiwah8ghd.js +0 -177
- package/out/_next/static/chunks/00w.kj6uow_p1.js +0 -1
- package/out/_next/static/chunks/00zf52snz2696.js +0 -81
- package/out/_next/static/chunks/0126hh69s1hoo.js +0 -20
- package/out/_next/static/chunks/017~qlhsonz-s.js +0 -13
- package/out/_next/static/chunks/01id70ruu9sh_.js +0 -12
- package/out/_next/static/chunks/01m-zxw6aa~7o.js +0 -61
- package/out/_next/static/chunks/01ysagjr-k~86.js +0 -1
- package/out/_next/static/chunks/023vppfa5lmsd.js +0 -101
- package/out/_next/static/chunks/023zn3balilgv.js +0 -5
- package/out/_next/static/chunks/028eszr30ru.w.js +0 -12
- package/out/_next/static/chunks/02_yal0ces9jz.js +0 -1
- package/out/_next/static/chunks/02dcbva7h6wk9.js +0 -5
- package/out/_next/static/chunks/02lgka7~ifqqk.js +0 -1
- package/out/_next/static/chunks/02ndocqxudfh0.js +0 -22
- package/out/_next/static/chunks/02x1c3t9oyfks.js +0 -119
- package/out/_next/static/chunks/039laq217w5af.js +0 -1
- package/out/_next/static/chunks/03hx8y-tzfrw6.js +0 -1
- package/out/_next/static/chunks/03in_nfvncouz.js +0 -1
- package/out/_next/static/chunks/041tlotwv9m5t.js +0 -453
- package/out/_next/static/chunks/04aykq1~5oirm.js +0 -51
- package/out/_next/static/chunks/04b5k~na~95by.js +0 -46
- package/out/_next/static/chunks/04f091-bji_n_.js +0 -7
- package/out/_next/static/chunks/05ooekd_aohh9.js +0 -23
- package/out/_next/static/chunks/05rt.5mp24nl~.js +0 -13
- package/out/_next/static/chunks/05xkbw-s9zm4v.js +0 -1
- package/out/_next/static/chunks/05zsgso1ahpy8.js +0 -1
- package/out/_next/static/chunks/06ersyx7hvzq1.js +0 -1
- package/out/_next/static/chunks/06gd8resd2.0_.js +0 -9
- package/out/_next/static/chunks/06v745r0yfx2h.js +0 -14
- package/out/_next/static/chunks/073ao37i9gvu-.js +0 -324
- package/out/_next/static/chunks/07l.kk7q4.zh_.js +0 -46
- package/out/_next/static/chunks/07t_6bb3~hkt5.js +0 -15
- package/out/_next/static/chunks/0831dsm.9c1xz.js +0 -15
- package/out/_next/static/chunks/087eh6vsk6_bc.js +0 -43
- package/out/_next/static/chunks/08i6ja.9lua9i.js +0 -286
- package/out/_next/static/chunks/08znjfem0b_of.js +0 -21
- package/out/_next/static/chunks/09_9z~x1_3-1m.js +0 -13
- package/out/_next/static/chunks/09n.y.scb-.st.js +0 -46
- package/out/_next/static/chunks/09p_6hs26lbin.js +0 -31
- package/out/_next/static/chunks/0_77~m-d~ywyj.js +0 -3
- package/out/_next/static/chunks/0_b2f-s77.vbq.js +0 -217
- package/out/_next/static/chunks/0_ikmdl.vzsxi.js +0 -16
- package/out/_next/static/chunks/0_tmrtwx_w001.js +0 -1
- package/out/_next/static/chunks/0_z350k96nua5.js +0 -14
- package/out/_next/static/chunks/0ajirl~6u8vk7.js +0 -384
- package/out/_next/static/chunks/0apih1f_pg7x5.js +0 -22
- package/out/_next/static/chunks/0aqdc68pqu1yc.js +0 -90
- package/out/_next/static/chunks/0aqhw_0u56sd_.js +0 -13
- package/out/_next/static/chunks/0av.mpk52l~sj.js +0 -78
- package/out/_next/static/chunks/0b6~~7c3s-__r.js +0 -2
- package/out/_next/static/chunks/0b_7pbsfo~250.js +0 -224
- package/out/_next/static/chunks/0bgpq4k~.1ow~.js +0 -1
- package/out/_next/static/chunks/0cd47wcv36ymf.js +0 -14
- package/out/_next/static/chunks/0cy-p_9pru_18.js +0 -13
- package/out/_next/static/chunks/0dhkgg675.w3e.js +0 -8
- package/out/_next/static/chunks/0dm~u98d.uay9.js +0 -807
- package/out/_next/static/chunks/0e82nep-emmqv.js +0 -22
- package/out/_next/static/chunks/0ekar8mz4g5.z.js +0 -188
- package/out/_next/static/chunks/0eqvk8uoluycv.js +0 -1
- package/out/_next/static/chunks/0ett.ps-ssh3m.js +0 -1
- package/out/_next/static/chunks/0f4j14khj0-nb.js +0 -13
- package/out/_next/static/chunks/0fq.42f6~eau3.js +0 -110
- package/out/_next/static/chunks/0fv65thyl.pzd.js +0 -137
- package/out/_next/static/chunks/0fvye09yb7vxo.js +0 -1
- package/out/_next/static/chunks/0g4z-lcj831re.js +0 -22
- package/out/_next/static/chunks/0gcrw01taxxl6.js +0 -1
- package/out/_next/static/chunks/0gex7d5-6_u7w.js +0 -15
- package/out/_next/static/chunks/0gmu_zxzdk79-.js +0 -36
- package/out/_next/static/chunks/0gp0s~altxh1r.js +0 -16
- package/out/_next/static/chunks/0gw21r~kskkbu.js +0 -8
- package/out/_next/static/chunks/0h.yfartl.0w2.js +0 -13
- package/out/_next/static/chunks/0hvsgrhdl9vxu.js +0 -87
- package/out/_next/static/chunks/0hxa2hw0bx6p9.js +0 -31
- package/out/_next/static/chunks/0idm_1owz2~do.js +0 -147
- package/out/_next/static/chunks/0if0kxk_fvctv.js +0 -807
- package/out/_next/static/chunks/0ipga2yl6f8s2.js +0 -1
- package/out/_next/static/chunks/0irir.4f~3vjv.js +0 -1
- package/out/_next/static/chunks/0iz~...y5_a2o.js +0 -58
- package/out/_next/static/chunks/0j0-6c41tk-jn.js +0 -227
- package/out/_next/static/chunks/0j3oxwqbdm1~u.js +0 -32
- package/out/_next/static/chunks/0j8g1ir4-2kf-.js +0 -1
- package/out/_next/static/chunks/0je-l.-3mmyx0.js +0 -7
- package/out/_next/static/chunks/0jsponpskt26n.js +0 -15
- package/out/_next/static/chunks/0jwk3hxdqma6f.js +0 -44
- package/out/_next/static/chunks/0k4hc0roxks1w.js +0 -135
- package/out/_next/static/chunks/0kd-elup-.5rv.js +0 -92
- package/out/_next/static/chunks/0kdk1jnxow07e.js +0 -51
- package/out/_next/static/chunks/0kjwfgi7qnsh8.js +0 -60
- package/out/_next/static/chunks/0kpbcc6kx92ab.js +0 -1
- package/out/_next/static/chunks/0kpqfcm6kz1pz.js +0 -5
- package/out/_next/static/chunks/0kuj3je3qjyj~.js +0 -13
- package/out/_next/static/chunks/0kwdvew2~wd8o.js +0 -16
- package/out/_next/static/chunks/0kwir-xluvjdw.js +0 -144
- package/out/_next/static/chunks/0l.811sicmaw3.js +0 -1
- package/out/_next/static/chunks/0l8ujxmk7702g.js +0 -1
- package/out/_next/static/chunks/0lazwl9790oz5.js +0 -1
- package/out/_next/static/chunks/0lp3vsoi498i1.js +0 -19
- package/out/_next/static/chunks/0lp40p3~dgcgl.js +0 -14
- package/out/_next/static/chunks/0lq9yvo7q3obl.js +0 -1
- package/out/_next/static/chunks/0m.jl7so.pr8k.js +0 -15
- package/out/_next/static/chunks/0m0k6lhn2y-9n.js +0 -137
- package/out/_next/static/chunks/0m3laiqi73_uc.js +0 -1
- package/out/_next/static/chunks/0m96ugd3gm4zy.js +0 -142
- package/out/_next/static/chunks/0mbkvr03aynms.js +0 -905
- package/out/_next/static/chunks/0mfaeit11.hmn.js +0 -13
- package/out/_next/static/chunks/0mmgf1.wzjj~j.js +0 -596
- package/out/_next/static/chunks/0mwaae8fl0y07.js +0 -807
- package/out/_next/static/chunks/0n1tw5ikfuhds.js +0 -16
- package/out/_next/static/chunks/0n4htvg-_prjp.js +0 -807
- package/out/_next/static/chunks/0ndis8ndh2iq6.js +0 -1
- package/out/_next/static/chunks/0nkzmsf-n62ak.js +0 -227
- package/out/_next/static/chunks/0nq0y4cmw5~iw.js +0 -8
- package/out/_next/static/chunks/0nr5eu5.o4kyn.js +0 -31
- package/out/_next/static/chunks/0o24k-4924ut6.js +0 -5
- package/out/_next/static/chunks/0o6k207dwsp67.js +0 -14
- package/out/_next/static/chunks/0o6szwcbqvtk..js +0 -1
- package/out/_next/static/chunks/0ohaa_f5cdywx.js +0 -73
- package/out/_next/static/chunks/0p8yhpuvsglyl.js +0 -384
- package/out/_next/static/chunks/0pnn8a_3nqu6z.js +0 -11
- package/out/_next/static/chunks/0ptzf1t7-yymm.js +0 -17
- package/out/_next/static/chunks/0q7qj_8wmc2.r.js +0 -10
- package/out/_next/static/chunks/0qb6blqhb13kr.js +0 -41
- package/out/_next/static/chunks/0qf0ui_m--1gr.js +0 -288
- package/out/_next/static/chunks/0qrbj_o2k5__o.js +0 -209
- package/out/_next/static/chunks/0qtz0k64e56-8.js +0 -50
- package/out/_next/static/chunks/0s-elr_ninnzu.js +0 -10
- package/out/_next/static/chunks/0s-v1dmb~vwtm.js +0 -836
- package/out/_next/static/chunks/0s.q6152jflhg.js +0 -26
- package/out/_next/static/chunks/0s44-81m.~5uf.js +0 -596
- package/out/_next/static/chunks/0sgimuwisx~sc.js +0 -119
- package/out/_next/static/chunks/0skmedjn4kgal.js +0 -61
- package/out/_next/static/chunks/0skt87s6mdt1v.js +0 -13
- package/out/_next/static/chunks/0s~fz~1tqbwxx.js +0 -15
- package/out/_next/static/chunks/0te-i~~io16.x.js +0 -1
- package/out/_next/static/chunks/0tiq-41ao4ozn.js +0 -12
- package/out/_next/static/chunks/0tw8x4rwyovtl.js +0 -12
- package/out/_next/static/chunks/0twk9-d7g9_tx.css +0 -1
- package/out/_next/static/chunks/0ty2puez_pg34.js +0 -12
- package/out/_next/static/chunks/0ty8.e8ooes0x.js +0 -13
- package/out/_next/static/chunks/0u0zlnx_0uuo~.js +0 -1
- package/out/_next/static/chunks/0u_o5uefzj2zl.js +0 -43
- package/out/_next/static/chunks/0v3s~myflio0y.js +0 -66
- package/out/_next/static/chunks/0ve6lde6hlxfm.js +0 -200
- package/out/_next/static/chunks/0ve_2hka8ooxb.js +0 -14
- package/out/_next/static/chunks/0wcjo4p-9_fzj.js +0 -1
- package/out/_next/static/chunks/0wr~ux~6rivnb.js +0 -73
- package/out/_next/static/chunks/0wt4fkc59wtk~.js +0 -1
- package/out/_next/static/chunks/0wy8jj1craipe.js +0 -291
- package/out/_next/static/chunks/0x0ro0p0oede-.js +0 -1
- package/out/_next/static/chunks/0x5~rk9ckvkzm.js +0 -5
- package/out/_next/static/chunks/0xcd1022~mejo.js +0 -1
- package/out/_next/static/chunks/0xdixvy3ojk~v.js +0 -807
- package/out/_next/static/chunks/0xwzq2hc7bd08.js +0 -7
- package/out/_next/static/chunks/0xyni.oufvih2.js +0 -13
- package/out/_next/static/chunks/0y6_n9b46qlk8.js +0 -12
- package/out/_next/static/chunks/0y_16b~8cbo3_.js +0 -1
- package/out/_next/static/chunks/0ygzo.kyf038-.js +0 -13
- package/out/_next/static/chunks/0ykdba2inps4f.js +0 -807
- package/out/_next/static/chunks/0yngqzk8t1rtm.js +0 -20
- package/out/_next/static/chunks/0yrhd0tul9js9.js +0 -1
- package/out/_next/static/chunks/0yygs3qclomm0.js +0 -44
- package/out/_next/static/chunks/0zpzrlqi93rji.js +0 -1
- package/out/_next/static/chunks/0zsyxlnrzl578.js +0 -807
- package/out/_next/static/chunks/0z~lvtnl1p.em.js +0 -78
- package/out/_next/static/chunks/0~.g3kh69ma7-.js +0 -54
- package/out/_next/static/chunks/0~9p1dp25tvbh.js +0 -8
- package/out/_next/static/chunks/0~h6h6qs_rmma.js +0 -15
- package/out/_next/static/chunks/0~io-hb50ji.1.js +0 -1
- package/out/_next/static/chunks/10.uqlra33~68.js +0 -13
- package/out/_next/static/chunks/105z5t998s_em.js +0 -12
- package/out/_next/static/chunks/10gbxo~.o9bhy.js +0 -23
- package/out/_next/static/chunks/10k9cn.xj6r3q.js +0 -342
- package/out/_next/static/chunks/10z4bl1p0z6o_.js +0 -13
- package/out/_next/static/chunks/1116oyd686cub.js +0 -10
- package/out/_next/static/chunks/1187u08o~yuqn.js +0 -132
- package/out/_next/static/chunks/11g5r9hgxgp0m.js +0 -101
- package/out/_next/static/chunks/11idnn6maksef.js +0 -188
- package/out/_next/static/chunks/11mfm9s-fl7sy.js +0 -807
- package/out/_next/static/chunks/129nouv3ip29r.js +0 -14
- package/out/_next/static/chunks/12_5sds1suvhm.js +0 -13
- package/out/_next/static/chunks/12pk_ybj.re6m.js +0 -328
- package/out/_next/static/chunks/12r0j7wb2hlew.js +0 -1
- package/out/_next/static/chunks/12uy~d.q~freq.js +0 -26
- package/out/_next/static/chunks/130ts0c-i4pcp.js +0 -807
- package/out/_next/static/chunks/13zg7v-cyej8_.js +0 -288
- package/out/_next/static/chunks/145f2hwc~qcac.js +0 -14
- package/out/_next/static/chunks/145sa8d1hfzds.js +0 -13
- package/out/_next/static/chunks/149u.0yx9zdjc.js +0 -342
- package/out/_next/static/chunks/14lo~e60fjur5.js +0 -1
- package/out/_next/static/chunks/14p.v8friz9is.js +0 -12
- package/out/_next/static/chunks/152ayjjud~_te.js +0 -807
- package/out/_next/static/chunks/154maz1~0c85~.js +0 -12
- package/out/_next/static/chunks/15_oqickjmgpk.js +0 -3
- package/out/_next/static/chunks/15iepxopx3xb4.js +0 -1
- package/out/_next/static/chunks/15m115xl2x-fo.js +0 -807
- package/out/_next/static/chunks/15y9tbfvyqnu_.js +0 -1
- package/out/_next/static/chunks/15z98mla-wqnl.js +0 -108
- package/out/_next/static/chunks/16375mdx_~6.q.js +0 -16
- package/out/_next/static/chunks/16x1-2emxpzpg.js +0 -1
- package/out/_next/static/chunks/16zrr8jq99f4~.js +0 -59
- package/out/_next/static/chunks/179__8pe9.c7-.js +0 -12
- package/out/_next/static/chunks/17d~emxcdob_i.js +0 -1
- package/out/_next/static/chunks/17i0kbnunaw-a.js +0 -1
- package/out/_next/static/chunks/17kkbb-qkkoid.js +0 -15
- package/out/_next/static/chunks/182r6jub~m5uu.js +0 -14
- package/out/_next/static/chunks/1830j6n5zjzkx.js +0 -14
- package/out/_next/static/chunks/18dqga.-f~nfy.js +0 -1
- package/out/_next/static/chunks/18du6p5wd4ech.js +0 -138
- package/out/_next/static/chunks/turbopack-0-2jlgexa52kn.js +0 -1
- package/out/_next/static/chunks/turbopack-0.sytbe8-q.f0.js +0 -1
- package/out/_next/static/chunks/turbopack-01xsh_3mc57...js +0 -1
- package/out/_next/static/chunks/turbopack-021nw61gt0smw.js +0 -1
- package/out/_next/static/chunks/turbopack-02c.fwas2lwst.js +0 -1
- package/out/_next/static/chunks/turbopack-03nzzz4-vv3_m.js +0 -1
- package/out/_next/static/chunks/turbopack-03xl_fg-w0wwe.js +0 -1
- package/out/_next/static/chunks/turbopack-04_73x1691200.js +0 -1
- package/out/_next/static/chunks/turbopack-04ketb_5rfe.-.js +0 -1
- package/out/_next/static/chunks/turbopack-05iepmw2pln-b.js +0 -1
- package/out/_next/static/chunks/turbopack-05vk0jzu2gu4r.js +0 -1
- package/out/_next/static/chunks/turbopack-06ibu8u~exvbh.js +0 -1
- package/out/_next/static/chunks/turbopack-06r069z7bpvmx.js +0 -1
- package/out/_next/static/chunks/turbopack-07607.63_f~q4.js +0 -1
- package/out/_next/static/chunks/turbopack-080mpit40zsn0.js +0 -1
- package/out/_next/static/chunks/turbopack-08vg-gc5.lk.w.js +0 -1
- package/out/_next/static/chunks/turbopack-09ynj6f1~2qvg.js +0 -1
- package/out/_next/static/chunks/turbopack-0am8m57rd7ue~.js +0 -1
- package/out/_next/static/chunks/turbopack-0flgs.l7-jwep.js +0 -1
- package/out/_next/static/chunks/turbopack-0ga2ytjk4irgm.js +0 -1
- package/out/_next/static/chunks/turbopack-0gv1w2-walrwj.js +0 -1
- package/out/_next/static/chunks/turbopack-0h8qtpk9zxc5w.js +0 -1
- package/out/_next/static/chunks/turbopack-0hn82ceuofjtz.js +0 -1
- package/out/_next/static/chunks/turbopack-0jyinuljzkzme.js +0 -1
- package/out/_next/static/chunks/turbopack-0kbw2bixmq-i6.js +0 -1
- package/out/_next/static/chunks/turbopack-0ln3og1r-_32i.js +0 -1
- package/out/_next/static/chunks/turbopack-0mdx764wtb9__.js +0 -1
- package/out/_next/static/chunks/turbopack-0mpncz8905-~_.js +0 -1
- package/out/_next/static/chunks/turbopack-0nl4bu~hrwg_c.js +0 -1
- package/out/_next/static/chunks/turbopack-0nno9lji-zzl..js +0 -1
- package/out/_next/static/chunks/turbopack-0o78sdharqtil.js +0 -1
- package/out/_next/static/chunks/turbopack-0oe-f.~p1jg8n.js +0 -1
- package/out/_next/static/chunks/turbopack-0ofu5~yiw_1_h.js +0 -1
- package/out/_next/static/chunks/turbopack-0p7o~ji.qdun9.js +0 -1
- package/out/_next/static/chunks/turbopack-0p_ojxb-55myx.js +0 -1
- package/out/_next/static/chunks/turbopack-0pv4teocze3x9.js +0 -1
- package/out/_next/static/chunks/turbopack-0rqw5r0qcrf2z.js +0 -1
- package/out/_next/static/chunks/turbopack-0rrj08a25.mep.js +0 -1
- package/out/_next/static/chunks/turbopack-0r~0nmphiorfn.js +0 -1
- package/out/_next/static/chunks/turbopack-0s.6f50ntkcs9.js +0 -1
- package/out/_next/static/chunks/turbopack-0s0ulq6q87y_x.js +0 -1
- package/out/_next/static/chunks/turbopack-0sdfu3q0v0q5h.js +0 -1
- package/out/_next/static/chunks/turbopack-0sjqqk57lmjnz.js +0 -1
- package/out/_next/static/chunks/turbopack-0svf~53uzg0yz.js +0 -1
- package/out/_next/static/chunks/turbopack-0t2n3t16.jt5-.js +0 -1
- package/out/_next/static/chunks/turbopack-0uhwk8kptpcof.js +0 -1
- package/out/_next/static/chunks/turbopack-0v0px_ggnszwk.js +0 -1
- package/out/_next/static/chunks/turbopack-0vpfmiii_t_hk.js +0 -1
- package/out/_next/static/chunks/turbopack-0x-fi_n3na5.e.js +0 -1
- package/out/_next/static/chunks/turbopack-0yq6qjplbghh8.js +0 -1
- package/out/_next/static/chunks/turbopack-0z3yqbd6ngf3r.js +0 -1
- package/out/_next/static/chunks/turbopack-0zo3lj078ff73.js +0 -1
- package/out/_next/static/chunks/turbopack-10ikru0-tgde5.js +0 -1
- package/out/_next/static/chunks/turbopack-10my3_6508i9s.js +0 -1
- package/out/_next/static/chunks/turbopack-11fd3~ckkb1az.js +0 -1
- package/out/_next/static/chunks/turbopack-12635pttd8mwo.js +0 -1
- package/out/_next/static/chunks/turbopack-12tv~faaane2m.js +0 -1
- package/out/_next/static/chunks/turbopack-133ooe_tc74fx.js +0 -1
- package/out/_next/static/chunks/turbopack-13xywrs0tr14-.js +0 -1
- package/out/_next/static/chunks/turbopack-14c20trqh_v2z.js +0 -1
- package/out/_next/static/chunks/turbopack-164kkr2_jziv1.js +0 -1
- package/out/_next/static/chunks/turbopack-16zy~wq_5~ah~.js +0 -1
- package/out/_next/static/chunks/turbopack-17ag.mp331nmd.js +0 -1
- package/out/_next/static/pFqjC0hy-zIBRbr8wLP_l/_buildManifest.js +0 -258
- package/out/admin-ui-permissions.js +0 -129
- /package/out/_next/static/chunks/{0a1flay6uksa2.js → 0wooaklx8_14q.js} +0 -0
- /package/out/_next/static/chunks/{0htfk2vj7m.9j.js → 1jqnrnw0p9tw5.js} +0 -0
- /package/out/_next/static/{pFqjC0hy-zIBRbr8wLP_l → mgojmR_4GNqJNutDR9oFi}/_clientMiddlewareManifest.js +0 -0
- /package/out/_next/static/{pFqjC0hy-zIBRbr8wLP_l → mgojmR_4GNqJNutDR9oFi}/_ssgManifest.js +0 -0
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { createContext, useContext } from 'react';
|
|
2
|
+
import 'react-intl';
|
|
3
|
+
import { gql } from '@apollo/client';
|
|
4
|
+
import '@apollo/client/react';
|
|
5
|
+
import 'react/jsx-runtime';
|
|
6
|
+
|
|
7
|
+
// src/modules/common/hooks/useApp.ts
|
|
8
|
+
gql`
|
|
9
|
+
query ShopInfo {
|
|
10
|
+
shopInfo {
|
|
11
|
+
_id
|
|
12
|
+
version
|
|
13
|
+
language {
|
|
14
|
+
_id
|
|
15
|
+
isoCode
|
|
16
|
+
name
|
|
17
|
+
}
|
|
18
|
+
country {
|
|
19
|
+
_id
|
|
20
|
+
isoCode
|
|
21
|
+
flagEmoji
|
|
22
|
+
name
|
|
23
|
+
defaultCurrency {
|
|
24
|
+
_id
|
|
25
|
+
isoCode
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
adminUiConfig {
|
|
29
|
+
singleSignOnURL
|
|
30
|
+
externalLinks {
|
|
31
|
+
href
|
|
32
|
+
title
|
|
33
|
+
target
|
|
34
|
+
}
|
|
35
|
+
customProperties {
|
|
36
|
+
entityName
|
|
37
|
+
inlineFragment
|
|
38
|
+
}
|
|
39
|
+
productTags
|
|
40
|
+
assortmentTags
|
|
41
|
+
userTags
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
`;
|
|
46
|
+
var AppContext = createContext(void 0);
|
|
47
|
+
var AppContext_default = AppContext;
|
|
48
|
+
|
|
49
|
+
// src/modules/common/hooks/useApp.ts
|
|
50
|
+
var useApp = () => {
|
|
51
|
+
const context = useContext(AppContext_default);
|
|
52
|
+
if (!context)
|
|
53
|
+
throw new Error("useLocale must be used within a LocaleProvider");
|
|
54
|
+
return context;
|
|
55
|
+
};
|
|
56
|
+
var useApp_default = useApp;
|
|
57
|
+
|
|
58
|
+
export { useApp_default };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { gql } from '@apollo/client';
|
|
2
|
+
|
|
3
|
+
// src/modules/product/fragments/ProductBriefFragment.ts
|
|
4
|
+
var ProductBriefFragment = gql`
|
|
5
|
+
fragment ProductBriefFragment on Product {
|
|
6
|
+
texts(forceLocale: $forceLocale) {
|
|
7
|
+
_id
|
|
8
|
+
slug
|
|
9
|
+
title
|
|
10
|
+
subtitle
|
|
11
|
+
description
|
|
12
|
+
vendor
|
|
13
|
+
brand
|
|
14
|
+
labels
|
|
15
|
+
locale
|
|
16
|
+
}
|
|
17
|
+
_id
|
|
18
|
+
sequence
|
|
19
|
+
status
|
|
20
|
+
tags
|
|
21
|
+
sequence
|
|
22
|
+
updated
|
|
23
|
+
published
|
|
24
|
+
media {
|
|
25
|
+
_id
|
|
26
|
+
tags
|
|
27
|
+
file {
|
|
28
|
+
_id
|
|
29
|
+
url
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
... on BundleProduct {
|
|
33
|
+
proxies {
|
|
34
|
+
__typename
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
... on SimpleProduct {
|
|
38
|
+
catalogPrice {
|
|
39
|
+
amount
|
|
40
|
+
currencyCode
|
|
41
|
+
}
|
|
42
|
+
proxies {
|
|
43
|
+
__typename
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
... on PlanProduct {
|
|
47
|
+
catalogPrice {
|
|
48
|
+
amount
|
|
49
|
+
currencyCode
|
|
50
|
+
}
|
|
51
|
+
proxies {
|
|
52
|
+
__typename
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
`;
|
|
57
|
+
var ProductBriefFragment_default = ProductBriefFragment;
|
|
58
|
+
|
|
59
|
+
export { ProductBriefFragment_default };
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { gql } from '@apollo/client';
|
|
2
|
+
import { useQuery } from '@apollo/client/react';
|
|
3
|
+
|
|
4
|
+
// src/modules/country/hooks/useCountries.ts
|
|
5
|
+
var CountryFragment = gql`
|
|
6
|
+
fragment CountryFragment on Country {
|
|
7
|
+
_id
|
|
8
|
+
isoCode
|
|
9
|
+
isActive
|
|
10
|
+
isBase
|
|
11
|
+
|
|
12
|
+
defaultCurrency {
|
|
13
|
+
_id
|
|
14
|
+
isoCode
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
`;
|
|
18
|
+
var CountryFragment_default = CountryFragment;
|
|
19
|
+
|
|
20
|
+
// src/modules/country/hooks/useCountries.ts
|
|
21
|
+
var CountriesQuery = gql`
|
|
22
|
+
query Countries(
|
|
23
|
+
$queryString: String
|
|
24
|
+
$limit: Int
|
|
25
|
+
$offset: Int
|
|
26
|
+
$includeInactive: Boolean
|
|
27
|
+
$sort: [SortOptionInput!]
|
|
28
|
+
) {
|
|
29
|
+
countries(
|
|
30
|
+
queryString: $queryString
|
|
31
|
+
limit: $limit
|
|
32
|
+
offset: $offset
|
|
33
|
+
includeInactive: $includeInactive
|
|
34
|
+
sort: $sort
|
|
35
|
+
) {
|
|
36
|
+
...CountryFragment
|
|
37
|
+
}
|
|
38
|
+
countriesCount(includeInactive: $includeInactive, queryString: $queryString)
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
${CountryFragment_default}
|
|
42
|
+
`;
|
|
43
|
+
var useCountries = ({
|
|
44
|
+
queryString = "",
|
|
45
|
+
limit = 20,
|
|
46
|
+
offset = 0,
|
|
47
|
+
includeInactive = true,
|
|
48
|
+
sort = [],
|
|
49
|
+
skip = false
|
|
50
|
+
} = {}) => {
|
|
51
|
+
const { data, loading, error, fetchMore } = useQuery(CountriesQuery, {
|
|
52
|
+
variables: { queryString, limit, offset, includeInactive, sort },
|
|
53
|
+
errorPolicy: "all",
|
|
54
|
+
skip
|
|
55
|
+
});
|
|
56
|
+
const countries = data?.countries || [];
|
|
57
|
+
const countriesCount = data?.countriesCount;
|
|
58
|
+
const hasMore = countries?.length < countriesCount;
|
|
59
|
+
const loadMore = () => {
|
|
60
|
+
fetchMore({
|
|
61
|
+
variables: { offset: countries?.length }
|
|
62
|
+
});
|
|
63
|
+
};
|
|
64
|
+
return {
|
|
65
|
+
countries,
|
|
66
|
+
countriesCount,
|
|
67
|
+
hasMore,
|
|
68
|
+
loading,
|
|
69
|
+
error,
|
|
70
|
+
loadMore
|
|
71
|
+
};
|
|
72
|
+
};
|
|
73
|
+
var useCountries_default = useCountries;
|
|
74
|
+
|
|
75
|
+
export { CountryFragment_default, useCountries_default };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import React, { useContext } from 'react';
|
|
2
|
+
|
|
3
|
+
// src/modules/UnchainedContext/useUnchainedContext.ts
|
|
4
|
+
var UnchainedContext = React.createContext({
|
|
5
|
+
customProperties: {},
|
|
6
|
+
hydrateFragment: (fragment, data) => null
|
|
7
|
+
});
|
|
8
|
+
var UnchainedContext_default = UnchainedContext;
|
|
9
|
+
|
|
10
|
+
// src/modules/UnchainedContext/useUnchainedContext.ts
|
|
11
|
+
var useUnchainedContext = () => {
|
|
12
|
+
return useContext(UnchainedContext_default);
|
|
13
|
+
};
|
|
14
|
+
var useUnchainedContext_default = useUnchainedContext;
|
|
15
|
+
|
|
16
|
+
export { useUnchainedContext_default };
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { gql } from '@apollo/client';
|
|
2
|
+
|
|
3
|
+
// src/modules/product-review/fragments/ProductReviewDetailFragment.ts
|
|
4
|
+
var ProductReviewDetailFragment = gql`
|
|
5
|
+
fragment ProductReviewDetailFragment on ProductReview {
|
|
6
|
+
_id
|
|
7
|
+
created
|
|
8
|
+
updated
|
|
9
|
+
deleted
|
|
10
|
+
author {
|
|
11
|
+
_id
|
|
12
|
+
username
|
|
13
|
+
name
|
|
14
|
+
profile {
|
|
15
|
+
displayName
|
|
16
|
+
address {
|
|
17
|
+
firstName
|
|
18
|
+
lastName
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
isGuest
|
|
22
|
+
avatar {
|
|
23
|
+
_id
|
|
24
|
+
|
|
25
|
+
url
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
product {
|
|
29
|
+
_id
|
|
30
|
+
texts(forceLocale: $forceLocale) {
|
|
31
|
+
_id
|
|
32
|
+
title
|
|
33
|
+
subtitle
|
|
34
|
+
}
|
|
35
|
+
media {
|
|
36
|
+
_id
|
|
37
|
+
file {
|
|
38
|
+
_id
|
|
39
|
+
url
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
rating
|
|
44
|
+
title
|
|
45
|
+
review
|
|
46
|
+
upVote: voteCount(type: UPVOTE)
|
|
47
|
+
downVote: voteCount(type: DOWNVOTE)
|
|
48
|
+
voteReport: voteCount(type: REPORT)
|
|
49
|
+
ownVotes {
|
|
50
|
+
timestamp
|
|
51
|
+
type
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
`;
|
|
55
|
+
var ProductReviewDetailFragment_default = ProductReviewDetailFragment;
|
|
56
|
+
|
|
57
|
+
export { ProductReviewDetailFragment_default };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
// src/modules/common/utils/getUniqueId.ts
|
|
2
|
+
var parseUniqueId = (value) => {
|
|
3
|
+
if (!value) return null;
|
|
4
|
+
const slugAndId = value?.split("_id_");
|
|
5
|
+
return slugAndId?.pop();
|
|
6
|
+
};
|
|
7
|
+
var parseSlug = (value) => {
|
|
8
|
+
if (!value) return null;
|
|
9
|
+
const [slug] = value?.split("_id_") || [];
|
|
10
|
+
return slug;
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
export { parseSlug, parseUniqueId };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { gql } from '@apollo/client';
|
|
2
|
+
|
|
3
|
+
// src/modules/common/fragments/AddressFragment.ts
|
|
4
|
+
var AddressFragment = gql`
|
|
5
|
+
fragment AddressFragment on Address {
|
|
6
|
+
firstName
|
|
7
|
+
lastName
|
|
8
|
+
company
|
|
9
|
+
addressLine
|
|
10
|
+
postalCode
|
|
11
|
+
city
|
|
12
|
+
countryCode
|
|
13
|
+
regionCode
|
|
14
|
+
}
|
|
15
|
+
`;
|
|
16
|
+
var AddressFragment_default = AddressFragment;
|
|
17
|
+
|
|
18
|
+
export { AddressFragment_default };
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import { gql } from '@apollo/client';
|
|
2
|
+
import { useQuery } from '@apollo/client/react';
|
|
3
|
+
|
|
4
|
+
// src/modules/currency/hooks/useCurrencies.ts
|
|
5
|
+
var CurrencyFragment = gql`
|
|
6
|
+
fragment CurrencyFragment on Currency {
|
|
7
|
+
_id
|
|
8
|
+
isoCode
|
|
9
|
+
isActive
|
|
10
|
+
contractAddress
|
|
11
|
+
decimals
|
|
12
|
+
}
|
|
13
|
+
`;
|
|
14
|
+
var CurrencyFragment_default = CurrencyFragment;
|
|
15
|
+
|
|
16
|
+
// src/modules/currency/hooks/useCurrencies.ts
|
|
17
|
+
var CurrenciesQuery = gql`
|
|
18
|
+
query Currencies(
|
|
19
|
+
$queryString: String
|
|
20
|
+
$limit: Int
|
|
21
|
+
$offset: Int
|
|
22
|
+
$includeInactive: Boolean
|
|
23
|
+
$sort: [SortOptionInput!]
|
|
24
|
+
) {
|
|
25
|
+
currencies(
|
|
26
|
+
queryString: $queryString
|
|
27
|
+
limit: $limit
|
|
28
|
+
offset: $offset
|
|
29
|
+
includeInactive: $includeInactive
|
|
30
|
+
sort: $sort
|
|
31
|
+
) {
|
|
32
|
+
...CurrencyFragment
|
|
33
|
+
}
|
|
34
|
+
currenciesCount(
|
|
35
|
+
includeInactive: $includeInactive
|
|
36
|
+
queryString: $queryString
|
|
37
|
+
)
|
|
38
|
+
}
|
|
39
|
+
${CurrencyFragment_default}
|
|
40
|
+
`;
|
|
41
|
+
var useCurrencies = ({
|
|
42
|
+
queryString = "",
|
|
43
|
+
limit = 20,
|
|
44
|
+
offset = 0,
|
|
45
|
+
includeInactive = true,
|
|
46
|
+
sort = []
|
|
47
|
+
} = {}) => {
|
|
48
|
+
const { data, loading, error, fetchMore } = useQuery(CurrenciesQuery, {
|
|
49
|
+
variables: { queryString, limit, offset, includeInactive, sort }
|
|
50
|
+
});
|
|
51
|
+
const currencies = data?.currencies || [];
|
|
52
|
+
const currenciesCount = data?.currenciesCount;
|
|
53
|
+
const hasMore = currencies?.length < currenciesCount;
|
|
54
|
+
const loadMore = () => {
|
|
55
|
+
fetchMore({
|
|
56
|
+
variables: { offset: currencies?.length }
|
|
57
|
+
});
|
|
58
|
+
};
|
|
59
|
+
return {
|
|
60
|
+
currencies,
|
|
61
|
+
currenciesCount,
|
|
62
|
+
hasMore,
|
|
63
|
+
loading,
|
|
64
|
+
error,
|
|
65
|
+
loadMore
|
|
66
|
+
};
|
|
67
|
+
};
|
|
68
|
+
var useCurrencies_default = useCurrencies;
|
|
69
|
+
|
|
70
|
+
export { CurrencyFragment_default, useCurrencies_default };
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { gql } from '@apollo/client';
|
|
2
|
+
|
|
3
|
+
// src/modules/filter/fragments/FilterFragment.ts
|
|
4
|
+
var FilterFragment = gql`
|
|
5
|
+
fragment FilterFragment on Filter {
|
|
6
|
+
_id
|
|
7
|
+
updated
|
|
8
|
+
created
|
|
9
|
+
key
|
|
10
|
+
isActive
|
|
11
|
+
type
|
|
12
|
+
options {
|
|
13
|
+
_id
|
|
14
|
+
texts {
|
|
15
|
+
_id
|
|
16
|
+
title
|
|
17
|
+
subtitle
|
|
18
|
+
locale
|
|
19
|
+
}
|
|
20
|
+
value
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
`;
|
|
24
|
+
var FilterFragment_default = FilterFragment;
|
|
25
|
+
|
|
26
|
+
export { FilterFragment_default };
|
|
@@ -0,0 +1,180 @@
|
|
|
1
|
+
import { useState, useCallback, useMemo } from 'react';
|
|
2
|
+
import { useForm as useForm$1 } from 'react-hook-form';
|
|
3
|
+
import { useIntl } from 'react-intl';
|
|
4
|
+
import { toast } from 'react-toastify';
|
|
5
|
+
|
|
6
|
+
// src/modules/forms/hooks/useForm.ts
|
|
7
|
+
|
|
8
|
+
// src/modules/common/utils/normalizeFilterKeys.ts
|
|
9
|
+
var isObject = (obj) => {
|
|
10
|
+
return Object.prototype.toString.call(obj) === "[object Object]";
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
// src/modules/forms/lib/clean.ts
|
|
14
|
+
var sanitize = (value) => {
|
|
15
|
+
if (value === "" || typeof value === "string" && value?.trim() === "")
|
|
16
|
+
return null;
|
|
17
|
+
if (typeof value === "string" && value.length) return value.trim();
|
|
18
|
+
if (Array.isArray(value) && value?.length && typeof value[0] === "string")
|
|
19
|
+
return value.map((v) => sanitize(v));
|
|
20
|
+
if (Array.isArray(value) && value?.length && isObject(value[0]))
|
|
21
|
+
return value.map(
|
|
22
|
+
(v) => Object.fromEntries(
|
|
23
|
+
Object.entries(v).map(([name, val]) => [name, sanitize(val)])
|
|
24
|
+
)
|
|
25
|
+
);
|
|
26
|
+
return value;
|
|
27
|
+
};
|
|
28
|
+
var clean = (values) => Object.fromEntries(
|
|
29
|
+
Object.entries(values).map(([name, value]) => [name, sanitize(value)])
|
|
30
|
+
);
|
|
31
|
+
var clean_default = clean;
|
|
32
|
+
|
|
33
|
+
// src/modules/forms/hooks/useForm.ts
|
|
34
|
+
var stripToMessages = (errors) => {
|
|
35
|
+
if (!errors || typeof errors !== "object") return errors;
|
|
36
|
+
if (typeof errors.message === "string" && errors.message)
|
|
37
|
+
return errors.message;
|
|
38
|
+
if (Array.isArray(errors)) return errors.map((v) => stripToMessages(v));
|
|
39
|
+
return Object.fromEntries(
|
|
40
|
+
Object.entries(errors).filter(([k]) => k !== "ref").map(([k, v]) => [k, stripToMessages(v)])
|
|
41
|
+
);
|
|
42
|
+
};
|
|
43
|
+
var useForm = ({
|
|
44
|
+
submit,
|
|
45
|
+
getSubmitErrorMessage = () => "",
|
|
46
|
+
onSubmitSuccess = () => true,
|
|
47
|
+
initialValues,
|
|
48
|
+
initialErrors,
|
|
49
|
+
initialTouched,
|
|
50
|
+
successMessage,
|
|
51
|
+
enableReinitialize,
|
|
52
|
+
validate,
|
|
53
|
+
disabled = false
|
|
54
|
+
}) => {
|
|
55
|
+
const intl = useIntl();
|
|
56
|
+
const [submitError, setSubmitError] = useState("");
|
|
57
|
+
const rhf = useForm$1({
|
|
58
|
+
mode: "onTouched",
|
|
59
|
+
defaultValues: initialValues,
|
|
60
|
+
values: enableReinitialize ? initialValues : void 0,
|
|
61
|
+
errors: initialErrors ? Object.fromEntries(
|
|
62
|
+
Object.entries(initialErrors).map(([key, message]) => [
|
|
63
|
+
key,
|
|
64
|
+
{ type: "manual", message }
|
|
65
|
+
])
|
|
66
|
+
) : void 0
|
|
67
|
+
});
|
|
68
|
+
const parseError = useCallback(
|
|
69
|
+
(combinedError) => {
|
|
70
|
+
const error = combinedError?.errors?.[0];
|
|
71
|
+
return intl.formatMessage(
|
|
72
|
+
{
|
|
73
|
+
id: "error_server",
|
|
74
|
+
defaultMessage: "{details}"
|
|
75
|
+
},
|
|
76
|
+
{ details: error?.message || "" }
|
|
77
|
+
);
|
|
78
|
+
},
|
|
79
|
+
[intl]
|
|
80
|
+
);
|
|
81
|
+
const onSubmit = useCallback(
|
|
82
|
+
async (values) => {
|
|
83
|
+
let reset = true;
|
|
84
|
+
try {
|
|
85
|
+
const result = await submit(clean_default(values));
|
|
86
|
+
const success = (typeof result === "boolean" ? result : result?.success) ?? !result?.error;
|
|
87
|
+
if (success) {
|
|
88
|
+
if (successMessage) toast.success(successMessage);
|
|
89
|
+
await onSubmitSuccess(success, result?.data || values);
|
|
90
|
+
} else {
|
|
91
|
+
const errors = typeof result === "boolean" ? !result : result?.error;
|
|
92
|
+
if (Array.isArray(errors)) {
|
|
93
|
+
errors.forEach((error) => {
|
|
94
|
+
reset = false;
|
|
95
|
+
setSubmitError(getSubmitErrorMessage(error) || parseError(error));
|
|
96
|
+
});
|
|
97
|
+
} else if (typeof errors === "string") {
|
|
98
|
+
reset = false;
|
|
99
|
+
setSubmitError(getSubmitErrorMessage(errors) || parseError(errors));
|
|
100
|
+
} else if (typeof errors === "object" && errors !== null) {
|
|
101
|
+
reset = false;
|
|
102
|
+
setSubmitError(getSubmitErrorMessage(errors) || parseError(errors));
|
|
103
|
+
} else {
|
|
104
|
+
reset = false;
|
|
105
|
+
setSubmitError(getSubmitErrorMessage(errors) || parseError(errors));
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
} catch (error) {
|
|
109
|
+
reset = false;
|
|
110
|
+
setSubmitError(getSubmitErrorMessage(error) || parseError(error));
|
|
111
|
+
}
|
|
112
|
+
if (reset) {
|
|
113
|
+
setSubmitError("");
|
|
114
|
+
}
|
|
115
|
+
},
|
|
116
|
+
[
|
|
117
|
+
submit,
|
|
118
|
+
successMessage,
|
|
119
|
+
onSubmitSuccess,
|
|
120
|
+
getSubmitErrorMessage,
|
|
121
|
+
parseError
|
|
122
|
+
]
|
|
123
|
+
);
|
|
124
|
+
const api = useMemo(
|
|
125
|
+
() => ({
|
|
126
|
+
setFieldError: (name, message) => {
|
|
127
|
+
rhf.setError(name, { type: "manual", message });
|
|
128
|
+
},
|
|
129
|
+
setFieldValue: (name, value) => {
|
|
130
|
+
rhf.setValue(name, value, { shouldDirty: true, shouldTouch: true });
|
|
131
|
+
},
|
|
132
|
+
setValues: (values) => {
|
|
133
|
+
rhf.reset(values, { keepDirtyValues: false, keepErrors: false });
|
|
134
|
+
},
|
|
135
|
+
get values() {
|
|
136
|
+
return rhf.getValues();
|
|
137
|
+
},
|
|
138
|
+
get isValid() {
|
|
139
|
+
return rhf.formState.isValid;
|
|
140
|
+
},
|
|
141
|
+
get isSubmitting() {
|
|
142
|
+
return rhf.formState.isSubmitting;
|
|
143
|
+
},
|
|
144
|
+
handleSubmit: rhf.handleSubmit(onSubmit),
|
|
145
|
+
handleReset: () => {
|
|
146
|
+
rhf.reset();
|
|
147
|
+
},
|
|
148
|
+
resetForm: (nextValues) => {
|
|
149
|
+
rhf.reset(nextValues || initialValues);
|
|
150
|
+
},
|
|
151
|
+
submitForm: () => {
|
|
152
|
+
rhf.handleSubmit(onSubmit)();
|
|
153
|
+
},
|
|
154
|
+
getFieldMeta: (name) => {
|
|
155
|
+
const fieldState = rhf.getFieldState(name, rhf.formState);
|
|
156
|
+
return {
|
|
157
|
+
error: fieldState.error?.message,
|
|
158
|
+
touched: fieldState.isTouched
|
|
159
|
+
};
|
|
160
|
+
},
|
|
161
|
+
get initialValues() {
|
|
162
|
+
return initialValues;
|
|
163
|
+
},
|
|
164
|
+
get errors() {
|
|
165
|
+
return stripToMessages(rhf.formState.errors);
|
|
166
|
+
}
|
|
167
|
+
}),
|
|
168
|
+
[rhf, onSubmit, initialValues]
|
|
169
|
+
);
|
|
170
|
+
return {
|
|
171
|
+
submitError,
|
|
172
|
+
api,
|
|
173
|
+
rhf,
|
|
174
|
+
setSubmitError,
|
|
175
|
+
disabled
|
|
176
|
+
};
|
|
177
|
+
};
|
|
178
|
+
var useForm_default = useForm;
|
|
179
|
+
|
|
180
|
+
export { useForm_default };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { gql } from '@apollo/client';
|
|
2
|
+
|
|
3
|
+
// src/modules/product/fragments/TokenFragment.ts
|
|
4
|
+
var TokenFragment = gql`
|
|
5
|
+
fragment TokenFragment on Token {
|
|
6
|
+
_id
|
|
7
|
+
walletAddress
|
|
8
|
+
status
|
|
9
|
+
quantity
|
|
10
|
+
contractAddress
|
|
11
|
+
chainId
|
|
12
|
+
tokenSerialNumber
|
|
13
|
+
invalidatedDate
|
|
14
|
+
expiryDate
|
|
15
|
+
ercMetadata
|
|
16
|
+
accessKey
|
|
17
|
+
isInvalidateable
|
|
18
|
+
}
|
|
19
|
+
`;
|
|
20
|
+
var TokenFragment_default = TokenFragment;
|
|
21
|
+
|
|
22
|
+
export { TokenFragment_default };
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import { gql } from '@apollo/client';
|
|
2
|
+
import { useQuery } from '@apollo/client/react';
|
|
3
|
+
|
|
4
|
+
// src/modules/language/hooks/useLanguages.ts
|
|
5
|
+
var LanguageFragment = gql`
|
|
6
|
+
fragment LanguageFragment on Language {
|
|
7
|
+
_id
|
|
8
|
+
isoCode
|
|
9
|
+
isActive
|
|
10
|
+
isBase
|
|
11
|
+
name
|
|
12
|
+
}
|
|
13
|
+
`;
|
|
14
|
+
var LanguageFragment_default = LanguageFragment;
|
|
15
|
+
|
|
16
|
+
// src/modules/language/hooks/useLanguages.ts
|
|
17
|
+
var LanguagesQuery = gql`
|
|
18
|
+
query Languages(
|
|
19
|
+
$queryString: String
|
|
20
|
+
$offset: Int
|
|
21
|
+
$limit: Int
|
|
22
|
+
$includeInactive: Boolean
|
|
23
|
+
$sort: [SortOptionInput!]
|
|
24
|
+
) {
|
|
25
|
+
languages(
|
|
26
|
+
queryString: $queryString
|
|
27
|
+
offset: $offset
|
|
28
|
+
limit: $limit
|
|
29
|
+
includeInactive: $includeInactive
|
|
30
|
+
sort: $sort
|
|
31
|
+
) {
|
|
32
|
+
...LanguageFragment
|
|
33
|
+
}
|
|
34
|
+
languagesCount(includeInactive: $includeInactive, queryString: $queryString)
|
|
35
|
+
}
|
|
36
|
+
${LanguageFragment_default}
|
|
37
|
+
`;
|
|
38
|
+
var useLanguages = ({
|
|
39
|
+
queryString = "",
|
|
40
|
+
limit = 20,
|
|
41
|
+
offset = 0,
|
|
42
|
+
includeInactive = true,
|
|
43
|
+
sort = [],
|
|
44
|
+
skip = false
|
|
45
|
+
} = {}) => {
|
|
46
|
+
const { data, loading, error, fetchMore } = useQuery(LanguagesQuery, {
|
|
47
|
+
variables: { queryString, limit, offset, includeInactive, sort },
|
|
48
|
+
errorPolicy: "all",
|
|
49
|
+
skip
|
|
50
|
+
});
|
|
51
|
+
const languages = data?.languages || [];
|
|
52
|
+
const languagesCount = data?.languagesCount;
|
|
53
|
+
const hasMore = languages?.length < languagesCount;
|
|
54
|
+
const loadMore = () => {
|
|
55
|
+
fetchMore({
|
|
56
|
+
variables: { offset: languages?.length }
|
|
57
|
+
});
|
|
58
|
+
};
|
|
59
|
+
return {
|
|
60
|
+
languages,
|
|
61
|
+
languagesCount,
|
|
62
|
+
hasMore,
|
|
63
|
+
loading,
|
|
64
|
+
error,
|
|
65
|
+
loadMore
|
|
66
|
+
};
|
|
67
|
+
};
|
|
68
|
+
var useLanguages_default = useLanguages;
|
|
69
|
+
|
|
70
|
+
export { LanguageFragment_default, useLanguages_default };
|