@unchainedshop/admin-ui 5.0.0-alpha.1 → 5.0.0-alpha.10
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 +136 -16
- package/dist/chunk-3L6EZQ6P.js +135 -0
- package/dist/chunk-54DKBWXV.js +33 -0
- package/dist/chunk-5WPFHQZN.js +388 -0
- package/dist/chunk-6UGLNLJG.js +44 -0
- package/dist/chunk-AE5LOZGH.js +3350 -0
- package/dist/chunk-AOR2B5N5.js +74 -0
- package/dist/chunk-COV7BREX.js +50 -0
- package/dist/chunk-DTJ2DTKS.js +314 -0
- package/dist/chunk-E7BVYJ3R.js +2083 -0
- package/dist/chunk-EJDZRZSZ.js +59 -0
- package/dist/chunk-ELPURWDC.js +75 -0
- package/dist/chunk-F6LBNV3H.js +9 -0
- package/dist/chunk-FDHXLNZQ.js +44 -0
- package/dist/chunk-GY2DRQGW.js +166 -0
- package/dist/chunk-H6G4UTZ5.js +700 -0
- package/dist/chunk-HERLM47Z.js +309 -0
- package/dist/chunk-HTPSKUXQ.js +22476 -0
- package/dist/chunk-I64TXIE7.js +618 -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-IYKPRAWC.js +26 -0
- package/dist/chunk-J23QSWDL.js +8 -0
- package/dist/chunk-JED6SHHG.js +41 -0
- package/dist/chunk-KH5MK6ZW.js +18 -0
- package/dist/chunk-KRIRF7F6.js +76 -0
- package/dist/chunk-NT7RB7AK.js +70 -0
- package/dist/chunk-OKGJ6HDE.js +26 -0
- package/dist/chunk-OTXM2UCD.js +19 -0
- package/dist/chunk-Q6S3LBUF.js +180 -0
- package/dist/chunk-QHR23GVH.js +1099 -0
- package/dist/chunk-QWQ3WJJN.js +1 -0
- package/dist/chunk-RAQV2GYF.js +70 -0
- package/dist/chunk-VBO377AY.js +14 -0
- package/dist/chunk-VDKQGOMV.js +840 -0
- package/dist/chunk-WPLOTFGW.js +36 -0
- package/dist/chunk-YO6PT7KD.js +13 -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 +19 -0
- package/dist/components/ui/Tag/TagInput.d.ts.map +1 -0
- package/dist/components/ui/Tag/TagList.d.ts +8 -0
- package/dist/components/ui/Tag/TagList.d.ts.map +1 -0
- package/dist/components/ui/Tag/TagListForm.d.ts +8 -0
- package/dist/components/ui/Tag/TagListForm.d.ts.map +1 -0
- package/dist/components/ui/Toggle.d.ts +11 -0
- package/dist/components/ui/Toggle.d.ts.map +1 -0
- package/dist/components/ui/ToolTip.d.ts +7 -0
- package/dist/components/ui/ToolTip.d.ts.map +1 -0
- package/dist/components/ui/card.d.ts +9 -0
- package/dist/components/ui/card.d.ts.map +1 -0
- package/dist/components/ui/chart.d.ts +42 -0
- package/dist/components/ui/chart.d.ts.map +1 -0
- package/dist/components/ui/form/CheckboxField.d.ts +4 -0
- package/dist/components/ui/form/CheckboxField.d.ts.map +1 -0
- package/dist/components/ui/form/ChoicesField.d.ts +12 -0
- package/dist/components/ui/form/ChoicesField.d.ts.map +1 -0
- package/dist/components/ui/form/Combobox.d.ts +20 -0
- package/dist/components/ui/form/Combobox.d.ts.map +1 -0
- package/dist/components/ui/form/DatePickerField.d.ts +4 -0
- package/dist/components/ui/form/DatePickerField.d.ts.map +1 -0
- package/dist/components/ui/form/EmailField.d.ts +7 -0
- package/dist/components/ui/form/EmailField.d.ts.map +1 -0
- package/dist/components/ui/form/FieldWithHelp.d.ts +10 -0
- package/dist/components/ui/form/FieldWithHelp.d.ts.map +1 -0
- package/dist/components/ui/form/FieldWrapper.d.ts +8 -0
- package/dist/components/ui/form/FieldWrapper.d.ts.map +1 -0
- package/dist/components/ui/form/FormErrors.d.ts +6 -0
- package/dist/components/ui/form/FormErrors.d.ts.map +1 -0
- package/dist/components/ui/form/JSONAreaField.d.ts +7 -0
- package/dist/components/ui/form/JSONAreaField.d.ts.map +1 -0
- package/dist/components/ui/form/MarkdownTextAreaField.d.ts +8 -0
- package/dist/components/ui/form/MarkdownTextAreaField.d.ts.map +1 -0
- package/dist/components/ui/form/PasswordField.d.ts +3 -0
- package/dist/components/ui/form/PasswordField.d.ts.map +1 -0
- package/dist/components/ui/form/SelectField.d.ts +11 -0
- package/dist/components/ui/form/SelectField.d.ts.map +1 -0
- package/dist/components/ui/form/SubmitButton.d.ts +9 -0
- package/dist/components/ui/form/SubmitButton.d.ts.map +1 -0
- package/dist/components/ui/form/TagInputField.d.ts +7 -0
- package/dist/components/ui/form/TagInputField.d.ts.map +1 -0
- package/dist/components/ui/form/TextAreaField.d.ts +8 -0
- package/dist/components/ui/form/TextAreaField.d.ts.map +1 -0
- package/dist/components/ui/form/TextField.d.ts +10 -0
- package/dist/components/ui/form/TextField.d.ts.map +1 -0
- package/dist/components/ui/form/index.d.ts +18 -0
- package/dist/components/ui/form/index.d.ts.map +1 -0
- package/dist/components/ui/icons.d.ts +4 -0
- package/dist/components/ui/icons.d.ts.map +1 -0
- package/dist/components/ui/index.d.ts +46 -0
- package/dist/components/ui/index.d.ts.map +1 -0
- package/dist/form.js +2606 -0
- package/dist/gql/operation-types.d.ts +13063 -0
- package/dist/gql/operation-types.d.ts.map +1 -0
- package/dist/gql/schema-types.d.ts +3821 -0
- package/dist/gql/schema-types.d.ts.map +1 -0
- package/dist/gql/types.d.ts +3 -0
- package/dist/gql/types.d.ts.map +1 -0
- package/dist/hooks.js +49 -0
- package/dist/lib/utils.d.ts +3 -0
- package/dist/lib/utils.d.ts.map +1 -0
- package/dist/modal.js +51 -0
- package/dist/modules/Auth/AuthContext.d.ts +9 -0
- package/dist/modules/Auth/AuthContext.d.ts.map +1 -0
- package/dist/modules/Auth/useAuth.d.ts +6 -0
- package/dist/modules/Auth/useAuth.d.ts.map +1 -0
- package/dist/modules/UnchainedContext/UnchainedContext.d.ts +8 -0
- package/dist/modules/UnchainedContext/UnchainedContext.d.ts.map +1 -0
- package/dist/modules/UnchainedContext/useUnchainedContext.d.ts +7 -0
- package/dist/modules/UnchainedContext/useUnchainedContext.d.ts.map +1 -0
- package/dist/modules/accounts/fragment/MD5MetaDataFragment.d.ts +3 -0
- package/dist/modules/accounts/fragment/MD5MetaDataFragment.d.ts.map +1 -0
- package/dist/modules/accounts/fragment/UserFragment.d.ts +3 -0
- package/dist/modules/accounts/fragment/UserFragment.d.ts.map +1 -0
- package/dist/modules/accounts/hooks/useCurrentUser.d.ts +10 -0
- package/dist/modules/accounts/hooks/useCurrentUser.d.ts.map +1 -0
- package/dist/modules/accounts/hooks/useUsersCount.d.ts +8 -0
- package/dist/modules/accounts/hooks/useUsersCount.d.ts.map +1 -0
- package/dist/modules/accounts.js +1169 -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 +1126 -0
- package/dist/modules/common/components/AppContext.d.ts +18 -0
- package/dist/modules/common/components/AppContext.d.ts.map +1 -0
- package/dist/modules/common/components/FormWrapper.d.ts +8 -0
- package/dist/modules/common/components/FormWrapper.d.ts.map +1 -0
- package/dist/modules/common/components/LocaleWrapper.d.ts +7 -0
- package/dist/modules/common/components/LocaleWrapper.d.ts.map +1 -0
- package/dist/modules/common/components/MediaAvatar.d.ts +6 -0
- package/dist/modules/common/components/MediaAvatar.d.ts.map +1 -0
- package/dist/modules/common/components/SelectOptions.d.ts +17 -0
- package/dist/modules/common/components/SelectOptions.d.ts.map +1 -0
- package/dist/modules/common/components/Table.d.ts +25 -0
- package/dist/modules/common/components/Table.d.ts.map +1 -0
- package/dist/modules/common/components/TableCell.d.ts +12 -0
- package/dist/modules/common/components/TableCell.d.ts.map +1 -0
- package/dist/modules/common/components/TableRow.d.ts +10 -0
- package/dist/modules/common/components/TableRow.d.ts.map +1 -0
- package/dist/modules/common/components/ThemeWrapper.d.ts +10 -0
- package/dist/modules/common/components/ThemeWrapper.d.ts.map +1 -0
- package/dist/modules/common/data/iso-codes.d.ts +4 -0
- package/dist/modules/common/data/iso-codes.d.ts.map +1 -0
- package/dist/modules/common/data/miscellaneous.d.ts +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/useBulkResultHandler.d.ts +8 -0
- package/dist/modules/common/hooks/useBulkResultHandler.d.ts.map +1 -0
- package/dist/modules/common/hooks/useBulkSelection.d.ts +12 -0
- package/dist/modules/common/hooks/useBulkSelection.d.ts.map +1 -0
- package/dist/modules/common/hooks/useCSVExport.d.ts +10 -0
- package/dist/modules/common/hooks/useCSVExport.d.ts.map +1 -0
- package/dist/modules/common/hooks/useCSVImport.d.ts +18 -0
- package/dist/modules/common/hooks/useCSVImport.d.ts.map +1 -0
- package/dist/modules/common/hooks/useChatEndpointChecker.d.ts +5 -0
- package/dist/modules/common/hooks/useChatEndpointChecker.d.ts.map +1 -0
- package/dist/modules/common/hooks/useConfirmMediaUpload.d.ts +10 -0
- package/dist/modules/common/hooks/useConfirmMediaUpload.d.ts.map +1 -0
- package/dist/modules/common/hooks/useDashboardMetrics.d.ts +23 -0
- package/dist/modules/common/hooks/useDashboardMetrics.d.ts.map +1 -0
- package/dist/modules/common/hooks/useLocalStorage.d.ts +3 -0
- package/dist/modules/common/hooks/useLocalStorage.d.ts.map +1 -0
- package/dist/modules/common/hooks/useOrderAnalytics.d.ts +25 -0
- package/dist/modules/common/hooks/useOrderAnalytics.d.ts.map +1 -0
- package/dist/modules/common/hooks/useOrderItemsAnalytics.d.ts +16 -0
- package/dist/modules/common/hooks/useOrderItemsAnalytics.d.ts.map +1 -0
- package/dist/modules/common/hooks/useOutsideClick.d.ts +3 -0
- package/dist/modules/common/hooks/useOutsideClick.d.ts.map +1 -0
- package/dist/modules/common/hooks/usePortal.d.ts +20 -0
- package/dist/modules/common/hooks/usePortal.d.ts.map +1 -0
- package/dist/modules/common/hooks/useScrollRestoration.d.ts +8 -0
- package/dist/modules/common/hooks/useScrollRestoration.d.ts.map +1 -0
- package/dist/modules/common/hooks/useShopConfiguration.d.ts +8 -0
- package/dist/modules/common/hooks/useShopConfiguration.d.ts.map +1 -0
- package/dist/modules/common/hooks/useShopInfo.d.ts +41 -0
- package/dist/modules/common/hooks/useShopInfo.d.ts.map +1 -0
- package/dist/modules/common/hooks/useStatusTypes.d.ts +10 -0
- package/dist/modules/common/hooks/useStatusTypes.d.ts.map +1 -0
- package/dist/modules/common/hooks/useSystemRoles.d.ts +7 -0
- package/dist/modules/common/hooks/useSystemRoles.d.ts.map +1 -0
- package/dist/modules/common/hooks/useTheme.d.ts +7 -0
- package/dist/modules/common/hooks/useTheme.d.ts.map +1 -0
- package/dist/modules/common/utils/deBounce.d.ts +3 -0
- package/dist/modules/common/utils/deBounce.d.ts.map +1 -0
- package/dist/modules/common/utils/defaultNextImageLoader.d.ts +7 -0
- package/dist/modules/common/utils/defaultNextImageLoader.d.ts.map +1 -0
- package/dist/modules/common/utils/formatUsername.d.ts +3 -0
- package/dist/modules/common/utils/formatUsername.d.ts.map +1 -0
- package/dist/modules/common/utils/getSetupStepsConfigurationsMeta.d.ts +30 -0
- package/dist/modules/common/utils/getSetupStepsConfigurationsMeta.d.ts.map +1 -0
- package/dist/modules/common/utils/normalizeFilterKeys.d.ts +4 -0
- package/dist/modules/common/utils/normalizeFilterKeys.d.ts.map +1 -0
- package/dist/modules/common/utils/sharedContext.d.ts +9 -0
- package/dist/modules/common/utils/sharedContext.d.ts.map +1 -0
- package/dist/modules/common/utils/useFormatDateTime.d.ts +16 -0
- package/dist/modules/common/utils/useFormatDateTime.d.ts.map +1 -0
- package/dist/modules/common/utils/utils.d.ts +21 -0
- package/dist/modules/common/utils/utils.d.ts.map +1 -0
- package/dist/modules/country/fragments/CountryFragment.d.ts +3 -0
- package/dist/modules/country/fragments/CountryFragment.d.ts.map +1 -0
- package/dist/modules/country/hooks/useCountries.d.ts +22 -0
- package/dist/modules/country/hooks/useCountries.d.ts.map +1 -0
- package/dist/modules/country.js +108 -0
- package/dist/modules/currency.js +119 -0
- package/dist/modules/delivery-provider.js +269 -0
- package/dist/modules/enrollment.js +374 -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 +13 -0
- package/dist/modules/modal/components/DangerMessage.d.ts.map +1 -0
- package/dist/modules/modal/components/ImportResultMessage.d.ts +14 -0
- package/dist/modules/modal/components/ImportResultMessage.d.ts.map +1 -0
- package/dist/modules/modal/components/Modal.d.ts +10 -0
- package/dist/modules/modal/components/Modal.d.ts.map +1 -0
- package/dist/modules/modal/components/ModalWrapper.d.ts +6 -0
- package/dist/modules/modal/components/ModalWrapper.d.ts.map +1 -0
- package/dist/modules/modal/hooks/useModal.d.ts +7 -0
- package/dist/modules/modal/hooks/useModal.d.ts.map +1 -0
- package/dist/modules/modal/utils/ModalContext.d.ts +9 -0
- package/dist/modules/modal/utils/ModalContext.d.ts.map +1 -0
- package/dist/modules/order/fragments/OrderDetailFragment.d.ts +3 -0
- package/dist/modules/order/fragments/OrderDetailFragment.d.ts.map +1 -0
- package/dist/modules/order/fragments/OrderFragment.d.ts +3 -0
- package/dist/modules/order/fragments/OrderFragment.d.ts.map +1 -0
- package/dist/modules/order/hooks/useOrders.d.ts +46 -0
- package/dist/modules/order/hooks/useOrders.d.ts.map +1 -0
- package/dist/modules/order.js +569 -0
- package/dist/modules/payment-providers.js +206 -0
- package/dist/modules/product/hooks/useProductsCount.d.ts +8 -0
- package/dist/modules/product/hooks/useProductsCount.d.ts.map +1 -0
- package/dist/modules/product-review.js +270 -0
- package/dist/modules/product.js +6666 -0
- package/dist/modules/quotation.js +317 -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 +316 -0
- package/dist/plugins.js +13 -0
- package/dist/providers.js +9 -0
- package/dist/sdk/hooks.d.ts +12 -0
- package/dist/sdk/hooks.d.ts.map +1 -0
- package/dist/sdk/modal.d.ts +7 -0
- package/dist/sdk/modal.d.ts.map +1 -0
- package/dist/sdk/plugins.d.ts +78 -0
- package/dist/sdk/plugins.d.ts.map +1 -0
- package/dist/sdk/providers.d.ts +5 -0
- package/dist/sdk/providers.d.ts.map +1 -0
- package/dist/sdk/shims/admin-ui-plugins.d.ts +3 -0
- package/dist/sdk/shims/admin-ui-plugins.d.ts.map +1 -0
- package/dist/sdk/shims/apollo-client-react.d.ts +3 -0
- package/dist/sdk/shims/apollo-client-react.d.ts.map +1 -0
- package/dist/sdk/shims/apollo-client.d.ts +3 -0
- package/dist/sdk/shims/apollo-client.d.ts.map +1 -0
- package/dist/sdk/shims/host.d.ts +17 -0
- package/dist/sdk/shims/host.d.ts.map +1 -0
- package/dist/sdk/shims/next-head.d.ts +3 -0
- package/dist/sdk/shims/next-head.d.ts.map +1 -0
- package/dist/sdk/shims/next-image.d.ts +3 -0
- package/dist/sdk/shims/next-image.d.ts.map +1 -0
- package/dist/sdk/shims/next-link.d.ts +3 -0
- package/dist/sdk/shims/next-link.d.ts.map +1 -0
- package/dist/sdk/shims/next-router.d.ts +3 -0
- package/dist/sdk/shims/next-router.d.ts.map +1 -0
- package/dist/sdk/shims/react-dom-client.d.ts +3 -0
- package/dist/sdk/shims/react-dom-client.d.ts.map +1 -0
- package/dist/sdk/shims/react-dom.d.ts +3 -0
- package/dist/sdk/shims/react-dom.d.ts.map +1 -0
- package/dist/sdk/shims/react-hook-form.d.ts +3 -0
- package/dist/sdk/shims/react-hook-form.d.ts.map +1 -0
- package/dist/sdk/shims/react-intl.d.ts +3 -0
- package/dist/sdk/shims/react-intl.d.ts.map +1 -0
- package/dist/sdk/shims/react-jsx-runtime.d.ts +3 -0
- package/dist/sdk/shims/react-jsx-runtime.d.ts.map +1 -0
- package/dist/sdk/shims/react-toastify.d.ts +3 -0
- package/dist/sdk/shims/react-toastify.d.ts.map +1 -0
- package/dist/sdk/shims/react.d.ts +3 -0
- package/dist/sdk/shims/react.d.ts.map +1 -0
- package/dist/sdk/theme.d.ts +26 -0
- package/dist/sdk/theme.d.ts.map +1 -0
- package/dist/shims/admin-ui-plugins.js +9 -0
- package/dist/shims/apollo-client-react.js +25 -0
- package/dist/shims/apollo-client.js +55 -0
- package/dist/shims/next-head.js +9 -0
- package/dist/shims/next-image.js +9 -0
- package/dist/shims/next-link.js +9 -0
- package/dist/shims/next-router.js +13 -0
- package/dist/shims/react-dom-client.js +11 -0
- package/dist/shims/react-dom.js +22 -0
- package/dist/shims/react-hook-form.js +25 -0
- package/dist/shims/react-intl.js +37 -0
- package/dist/shims/react-jsx-runtime.js +11 -0
- package/dist/shims/react-toastify.js +16 -0
- package/dist/shims/react.js +52 -0
- package/dist/theme.js +34 -0
- package/dist/ui.js +19700 -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-2b37ubdpy0o.js +7 -0
- package/out/_next/static/chunks/012cafv-4m7rj.js +807 -0
- package/out/_next/static/chunks/02dnhll1bce87.js +46 -0
- package/out/_next/static/chunks/02ptvddfjlsxb.js +1 -0
- package/out/_next/static/chunks/03ebenjfvoj8n.js +1 -0
- package/out/_next/static/chunks/03r347235l6c4.js +7 -0
- package/out/_next/static/chunks/05au-xyt__0f2.js +3 -0
- package/out/_next/static/chunks/05nn5xr3ufcsh.js +1 -0
- package/out/_next/static/chunks/05o_q7jg8wucs.js +44 -0
- package/out/_next/static/chunks/05scroolqe8fu.js +234 -0
- package/out/_next/static/chunks/072qxdqjtqvn9.js +11 -0
- package/out/_next/static/chunks/0752goe9_9g2s.js +110 -0
- package/out/_next/static/chunks/07e-sk6v9u-qh.js +807 -0
- package/out/_next/static/chunks/07evy5u8ldd1y.js +50 -0
- package/out/_next/static/chunks/083ylavob4a8d.js +3 -0
- package/out/_next/static/chunks/08jrw03_vxllg.js +54 -0
- package/out/_next/static/chunks/08pag0k09j2b3.js +807 -0
- package/out/_next/static/chunks/09n6h-_l73rez.js +13 -0
- package/out/_next/static/chunks/0_b5faks_mrvi.js +14 -0
- package/out/_next/static/chunks/0a_bg-ub3r2eo.js +60 -0
- package/out/_next/static/chunks/0aqxsjssb0dh9.js +21 -0
- package/out/_next/static/chunks/0aw4jxe6zcc0c.js +32 -0
- package/out/_next/static/chunks/0b0hrx3sbbs70.js +807 -0
- package/out/_next/static/chunks/0bg4_y1qh5y5h.js +47 -0
- package/out/_next/static/chunks/0bgz44wi1lidl.js +13 -0
- package/out/_next/static/chunks/0dcpvidzyamvk.js +100 -0
- package/out/_next/static/chunks/0dnh0kr83_tj0.js +1 -0
- package/out/_next/static/chunks/0dxp17sbyy_dr.js +22 -0
- package/out/_next/static/chunks/0dxu94yin5gdn.js +35 -0
- package/out/_next/static/chunks/0e2c-jlh2q_eq.js +74 -0
- package/out/_next/static/chunks/0el7gr-83bm5j.js +3 -0
- package/out/_next/static/chunks/0f_ofo__wyqsp.js +22 -0
- package/out/_next/static/chunks/0gx9t6j5kx_ho.js +9 -0
- package/out/_next/static/chunks/0h0r_q6xa9qr_.js +1 -0
- package/out/_next/static/chunks/0i9ymn9xxs0nx.js +18 -0
- package/out/_next/static/chunks/0iy11ws57hzzr.js +99 -0
- package/out/_next/static/chunks/0j8_uikfyrn1f.js +1 -0
- package/out/_next/static/chunks/0jeddko6bac8h.js +1 -0
- package/out/_next/static/chunks/0jzx7vxh13cpi.js +15 -0
- package/out/_next/static/chunks/0kody3217__os.js +16 -0
- package/out/_next/static/chunks/0kwo-m1-mo-s-.js +31 -0
- package/out/_next/static/chunks/0lp_pnq1t06sl.js +104 -0
- package/out/_next/static/chunks/0m6jydfuy_4o3.js +1 -0
- package/out/_next/static/chunks/0mez27zlo26ni.js +103 -0
- package/out/_next/static/chunks/0nj8vn3509oe-.js +9 -0
- package/out/_next/static/chunks/0np9pcbt6dmxe.js +25 -0
- package/out/_next/static/chunks/0o7k5vanq57ch.js +807 -0
- package/out/_next/static/chunks/0r5wwinf72z4g.js +1 -0
- package/out/_next/static/chunks/0rqjr_lmrk4pz.js +5 -0
- package/out/_next/static/chunks/0swe0fkt4vyzn.js +136 -0
- package/out/_next/static/chunks/0u4st428hgv1v.js +27 -0
- package/out/_next/static/chunks/0u7--d8_-qyne.js +83 -0
- package/out/_next/static/chunks/0ubzi2s1spm4e.js +342 -0
- package/out/_next/static/chunks/0uecw_5mn0zvr.js +110 -0
- package/out/_next/static/chunks/0uw9cbq0ivaz0.js +1 -0
- package/out/_next/static/chunks/0uxwblyj0htyb.js +1 -0
- package/out/_next/static/chunks/0uyhr7vs9ltp0.js +141 -0
- package/out/_next/static/chunks/0vr19nswhvt2-.js +14 -0
- package/out/_next/static/chunks/0vyvc19p87f_r.js +234 -0
- package/out/_next/static/chunks/0wznlnzc2xsbz.js +16 -0
- package/out/_next/static/chunks/0ycu-q8fcc8ta.js +1 -0
- package/out/_next/static/chunks/0ytserk6fuf71.js +175 -0
- package/out/_next/static/chunks/0zoum0jzrtu0s.js +145 -0
- package/out/_next/static/chunks/1-6s62fsl_z_7.js +126 -0
- package/out/_next/static/chunks/10b6et0qn-pa0.js +59 -0
- package/out/_next/static/chunks/13m7st62a61df.js +25 -0
- package/out/_next/static/chunks/13u_a5l2xngm4.js +1 -0
- package/out/_next/static/chunks/15vz50rks0o2-.js +238 -0
- package/out/_next/static/chunks/1647yxi4ymq0z.js +14 -0
- package/out/_next/static/chunks/16hd7xvkocqxs.js +807 -0
- package/out/_next/static/chunks/16t18hhd4ax36.js +2 -0
- package/out/_next/static/chunks/17wle25pg9jkp.js +11 -0
- package/out/_next/static/chunks/18juy_eauk94g.js +58 -0
- package/out/_next/static/chunks/19eflki8bmivb.js +81 -0
- package/out/_next/static/chunks/19eu5d-wm2hfr.js +23 -0
- package/out/_next/static/chunks/19izcjxrrapb3.js +9 -0
- package/out/_next/static/chunks/1_jbj-c1d2606.js +21 -0
- package/out/_next/static/chunks/1_pwqdjxb6oou.js +226 -0
- package/out/_next/static/chunks/1ae-9ft5cgojf.js +1 -0
- package/out/_next/static/chunks/1bftmuhck_-7b.js +1 -0
- package/out/_next/static/chunks/1bww_2og01jxh.js +807 -0
- package/out/_next/static/chunks/1c0cemuv_tf6i.js +16 -0
- package/out/_next/static/chunks/1c4a2qxtb3r4_.js +16 -0
- package/out/_next/static/chunks/1cjd95y23a9qx.js +1 -0
- package/out/_next/static/chunks/1cy-2yb5j5_9b.js +157 -0
- package/out/_next/static/chunks/1dkv555kaccbl.js +13 -0
- package/out/_next/static/chunks/1dt9_bzfioi8a.js +24 -0
- package/out/_next/static/chunks/1fd7ewfb7bi_g.js +234 -0
- package/out/_next/static/chunks/1gncrqljnmqjn.js +43 -0
- package/out/_next/static/chunks/1gt65pz91hyuz.js +1 -0
- package/out/_next/static/chunks/1iewktf-9h_n8.js +15 -0
- package/out/_next/static/chunks/1l7p7exnzd0c2.js +12 -0
- package/out/_next/static/chunks/1nqu3ymv6lgev.js +3 -0
- package/out/_next/static/chunks/1o_8g-kpuqi9h.js +1 -0
- package/out/_next/static/chunks/1oent0-9-0rgb.js +20 -0
- package/out/_next/static/chunks/1og09fg689_nc.js +180 -0
- package/out/_next/static/chunks/1pj279k5ntty3.js +13 -0
- package/out/_next/static/chunks/1q_sewe1wbxsk.js +54 -0
- package/out/_next/static/chunks/1qvs4gd4rbhb2.js +15 -0
- package/out/_next/static/chunks/1rtv3c_klo0jk.js +1 -0
- package/out/_next/static/chunks/1sdqr2_r6o46f.js +16 -0
- package/out/_next/static/chunks/1vti949e9wuhz.js +15 -0
- package/out/_next/static/chunks/1x-yucftdml28.js +1 -0
- package/out/_next/static/chunks/1xbofs3ibkjvj.js +1 -0
- package/out/_next/static/chunks/1ylgjha1c0ua_.js +124 -0
- package/out/_next/static/chunks/1yp98n-n4gxwy.js +15 -0
- package/out/_next/static/chunks/1zcm_9oew7412.js +14 -0
- package/out/_next/static/chunks/2-e0d1qpp7rk9.js +14 -0
- package/out/_next/static/chunks/20ubrczdsehfm.js +879 -0
- package/out/_next/static/chunks/23m--gc-gjenm.js +3 -0
- package/out/_next/static/chunks/24-pobk4qjjvp.js +3 -0
- package/out/_next/static/chunks/24jptulqn322i.js +15 -0
- package/out/_next/static/chunks/24jyi7e2pq4gy.js +15 -0
- package/out/_next/static/chunks/252jebodi67kg.js +1 -0
- package/out/_next/static/chunks/26eux546aoag5.js +58 -0
- package/out/_next/static/chunks/270ua9t85a7ev.js +5 -0
- package/out/_next/static/chunks/28r_j2kquxrjn.js +807 -0
- package/out/_next/static/chunks/2_ccruvok3u8j.js +16 -0
- package/out/_next/static/chunks/2_ojfjgg8do9t.js +1 -0
- package/out/_next/static/chunks/2aj5aq_c0b4r_.js +13 -0
- package/out/_next/static/chunks/2ba3n9zx9e9q9.js +807 -0
- package/out/_next/static/chunks/2d-hxb31pgpn7.js +13 -0
- package/out/_next/static/chunks/2df2cqwidgpan.js +15 -0
- package/out/_next/static/chunks/2djnsowjy3p8y.js +1 -0
- package/out/_next/static/chunks/2dyj8q92_k5el.js +708 -0
- package/out/_next/static/chunks/2e0k9dt1emjfm.js +1 -0
- package/out/_next/static/chunks/2e3gba1n-yyuj.js +15 -0
- package/out/_next/static/chunks/2e_p1vqr0g_-_.js +7 -0
- package/out/_next/static/chunks/2e_te6sbs_5uw.js +1 -0
- package/out/_next/static/chunks/2f16josk9b_cl.js +8 -0
- package/out/_next/static/chunks/2fo2ki1egxbah.js +39 -0
- package/out/_next/static/chunks/2g8gzs8wpsofk.js +2 -0
- package/out/_next/static/chunks/2gh355-kh19zx.js +13 -0
- package/out/_next/static/chunks/2gr4t5xe0atdr.js +15 -0
- package/out/_next/static/chunks/2ib6fee-nqe-z.js +23 -0
- package/out/_next/static/chunks/2kjux30i3gg-c.js +5 -0
- package/out/_next/static/chunks/2kzyda4a6mqut.js +1 -0
- package/out/_next/static/chunks/2ljoq6sr-g2da.js +1 -0
- package/out/_next/static/chunks/2ll_mqee86g8c.js +1 -0
- package/out/_next/static/chunks/2lx_iig9xewfj.js +52 -0
- package/out/_next/static/chunks/2lylr4-3tu1_t.js +15 -0
- package/out/_next/static/chunks/2n1v8ph2nt43w.js +17 -0
- package/out/_next/static/chunks/2o9hdz0gk1-s7.js +165 -0
- package/out/_next/static/chunks/2oadogfqpak51.js +1 -0
- package/out/_next/static/chunks/2oogwntgnu9rf.js +17 -0
- package/out/_next/static/chunks/2p4e3kh8sa8iq.js +13 -0
- package/out/_next/static/chunks/2q-mpau-4gsvd.js +1 -0
- package/out/_next/static/chunks/2rddaar-ns45d.js +116 -0
- package/out/_next/static/chunks/2s3qhuh87mu_w.js +126 -0
- package/out/_next/static/chunks/2s6u8274_jzk2.js +105 -0
- package/out/_next/static/chunks/2skfzjx2g9hkk.js +134 -0
- package/out/_next/static/chunks/2u6jwsqz0uhes.js +24 -0
- package/out/_next/static/chunks/2v4k4vpb2id7m.js +44 -0
- package/out/_next/static/chunks/2xctb084h1lyg.js +329 -0
- package/out/_next/static/chunks/2xgpwzpd6-tdb.js +234 -0
- package/out/_next/static/chunks/3-soz24u9483h.js +15 -0
- package/out/_next/static/chunks/30_ns6urg1dkn.js +41 -0
- package/out/_next/static/chunks/30nxkqu5mcga3.js +1 -0
- package/out/_next/static/chunks/313i1x81q2xj1.js +1 -0
- package/out/_next/static/chunks/31qwglme02a_r.js +807 -0
- package/out/_next/static/chunks/31sk60zzj3bc5.js +17 -0
- package/out/_next/static/chunks/325a7n__tfxy_.js +61 -0
- package/out/_next/static/chunks/33emlry70k-lv.js +2 -0
- package/out/_next/static/chunks/33v8la4hkia7j.js +1 -0
- package/out/_next/static/chunks/34ar-34flu6bu.js +43 -0
- package/out/_next/static/chunks/34z48lfdm9u0l.js +9 -0
- package/out/_next/static/chunks/351jscvbk_wb9.js +13 -0
- package/out/_next/static/chunks/357odtev0t245.js +59 -0
- package/out/_next/static/chunks/360g4b1clnt45.js +142 -0
- package/out/_next/static/chunks/360uyru28azf6.js +20 -0
- package/out/_next/static/chunks/366apf6d0xh2u.js +30 -0
- package/out/_next/static/chunks/36_zbuqpk5cpj.js +14 -0
- package/out/_next/static/chunks/36aqs7u7s-lb1.js +119 -0
- package/out/_next/static/chunks/36beon3q8orx2.js +1 -0
- package/out/_next/static/chunks/37703j9_zf5_h.js +13 -0
- package/out/_next/static/chunks/37rwzuocwsv_k.js +16 -0
- package/out/_next/static/chunks/37w6b3h04uc4c.js +19 -0
- package/out/_next/static/chunks/38ffn8gazqz8_.js +3 -0
- package/out/_next/static/chunks/38xse6_r51yqp.js +234 -0
- package/out/_next/static/chunks/39s8xbnm9f08v.js +14 -0
- package/out/_next/static/chunks/39x-p8r_sl0ng.js +15 -0
- package/out/_next/static/chunks/39zisxvmik0t_.js +34 -0
- package/out/_next/static/chunks/3_97tge0xvvon.js +11 -0
- package/out/_next/static/chunks/3aw-ri7876ngd.js +39 -0
- package/out/_next/static/chunks/3bv7gi3o6-41h.js +11 -0
- package/out/_next/static/chunks/3cdfuacs4_0d-.js +1 -0
- package/out/_next/static/chunks/3cxpx38ycu7u2.js +9 -0
- package/out/_next/static/chunks/3d1ofcqmlbg-5.js +52 -0
- package/out/_next/static/chunks/3e3i3qqkv_my7.js +15 -0
- package/out/_next/static/chunks/3ex71q3pp_ekc.js +247 -0
- package/out/_next/static/chunks/3g1lpkudwo8kg.js +1 -0
- package/out/_next/static/chunks/3h68t22714to5.js +3 -0
- package/out/_next/static/chunks/3jpzhwqgdnobq.js +103 -0
- package/out/_next/static/chunks/3jxuqt_2-j_uc.js +18 -0
- package/out/_next/static/chunks/3kqqv33l7ssn0.js +16 -0
- package/out/_next/static/chunks/3l-9xxd1i1sya.js +1 -0
- package/out/_next/static/chunks/3mancxzz8c7hl.js +51 -0
- package/out/_next/static/chunks/3mq2s9rfy78je.js +27 -0
- package/out/_next/static/chunks/3om1fkw-lrmng.js +1 -0
- package/out/_next/static/chunks/3oynij37wfjb2.js +119 -0
- package/out/_next/static/chunks/3pbyo5kkko3wh.js +1 -0
- package/out/_next/static/chunks/3pjja1obml896.js +15 -0
- package/out/_next/static/chunks/3qaiz-jwi7q2x.js +1 -0
- package/out/_next/static/chunks/3rh3nigvg06yu.js +337 -0
- package/out/_next/static/chunks/3rppjab6j3_k9.js +1 -0
- package/out/_next/static/chunks/3t_3vlnk1ntkb.js +95 -0
- package/out/_next/static/chunks/3tpo2ho54vtth.js +807 -0
- package/out/_next/static/chunks/3tqspv0ggt8j0.js +17 -0
- package/out/_next/static/chunks/3um54w4ca27n_.js +17 -0
- package/out/_next/static/chunks/3vet2a9q9rf2c.js +61 -0
- package/out/_next/static/chunks/3vjgbl76cgrmt.js +1 -0
- package/out/_next/static/chunks/3vz3gqmojh7sx.js +4 -0
- package/out/_next/static/chunks/3w2e5xa061qou.js +9 -0
- package/out/_next/static/chunks/3w9xrlkiztuwi.js +23 -0
- package/out/_next/static/chunks/3x4xfy_av3o0d.js +1 -0
- package/out/_next/static/chunks/3x9k13s5fam4j.js +22 -0
- package/out/_next/static/chunks/3xmtbqm0gddn8.js +3 -0
- package/out/_next/static/chunks/3z5uyt9mc9_fd.js +2 -0
- package/out/_next/static/chunks/3zlwp96x3hoy9.js +16 -0
- package/out/_next/static/chunks/3zr_sumh1g7il.js +22 -0
- package/out/_next/static/chunks/40jl8yfmy6tp6.js +234 -0
- package/out/_next/static/chunks/40xhwnc_48o73.js +297 -0
- package/out/_next/static/chunks/41-iysd7qkyg1.js +16 -0
- package/out/_next/static/chunks/4105a9rejv_p4.js +1 -0
- package/out/_next/static/chunks/41e2wlkp9_pvk.js +28 -0
- package/out/_next/static/chunks/41g7mv3yuhz6k.js +68 -0
- package/out/_next/static/chunks/43jyzccx6x0lw.js +1 -0
- package/out/_next/static/chunks/43vuxh3wdo567.js +10 -0
- package/out/_next/static/chunks/44daaafswok67.css +1 -0
- package/out/_next/static/chunks/452fv7r-tie6t.js +1 -0
- package/out/_next/static/chunks/457j51b69odrw.js +1 -0
- package/out/_next/static/chunks/turbopack-02vysfmmbped5.js +1 -0
- package/out/_next/static/chunks/turbopack-03fj2scz_09ul.js +1 -0
- package/out/_next/static/chunks/turbopack-07wtduwtfqsl_.js +1 -0
- package/out/_next/static/chunks/turbopack-0_zihh5ueb_wj.js +1 -0
- package/out/_next/static/chunks/turbopack-0b8-ww_z1vgvn.js +1 -0
- package/out/_next/static/chunks/turbopack-0beql_u-wc_3e.js +1 -0
- package/out/_next/static/chunks/turbopack-0dxdn-gyy3_qj.js +1 -0
- package/out/_next/static/chunks/turbopack-0hqw81t-42tbj.js +1 -0
- package/out/_next/static/chunks/turbopack-0jsdrr-oq87lm.js +1 -0
- package/out/_next/static/chunks/turbopack-0jxa33q3ikjqg.js +1 -0
- package/out/_next/static/chunks/turbopack-0k9zths9zte_8.js +1 -0
- package/out/_next/static/chunks/turbopack-0pa42wgwsv141.js +1 -0
- package/out/_next/static/chunks/turbopack-0te09_mp07k1x.js +1 -0
- package/out/_next/static/chunks/turbopack-0xsxl45thi-35.js +1 -0
- package/out/_next/static/chunks/turbopack-10-8q-q2zomxa.js +1 -0
- package/out/_next/static/chunks/turbopack-142w-8owzbg7_.js +1 -0
- package/out/_next/static/chunks/turbopack-18tezl3vagvil.js +1 -0
- package/out/_next/static/chunks/turbopack-1_1a-_v7vml72.js +1 -0
- package/out/_next/static/chunks/turbopack-1_k-7s9lmntml.js +1 -0
- package/out/_next/static/chunks/turbopack-1a47di2tss4e-.js +1 -0
- package/out/_next/static/chunks/turbopack-1c60gn7g-uduw.js +1 -0
- package/out/_next/static/chunks/turbopack-1e1yk3pkaodr5.js +1 -0
- package/out/_next/static/chunks/turbopack-1jtk1c9w2axlk.js +1 -0
- package/out/_next/static/chunks/turbopack-1k2ukl9u-7ovo.js +1 -0
- package/out/_next/static/chunks/turbopack-1lkz81ntcp1zv.js +1 -0
- package/out/_next/static/chunks/turbopack-1pkw_r5dvv20d.js +1 -0
- package/out/_next/static/chunks/turbopack-1pu2s2k3szn0s.js +1 -0
- package/out/_next/static/chunks/turbopack-1rxz_6lqtls5b.js +1 -0
- package/out/_next/static/chunks/turbopack-1uf07pugrv1fy.js +1 -0
- package/out/_next/static/chunks/turbopack-1uobzdn2r7ebw.js +1 -0
- package/out/_next/static/chunks/turbopack-1wv610ktbtzka.js +1 -0
- package/out/_next/static/chunks/turbopack-1wz4te1fj20zp.js +1 -0
- package/out/_next/static/chunks/turbopack-1zi2ss8eiiyfx.js +1 -0
- package/out/_next/static/chunks/turbopack-207p7bsc5wea7.js +1 -0
- package/out/_next/static/chunks/turbopack-21zngkzhonfcm.js +1 -0
- package/out/_next/static/chunks/turbopack-23y20ll8n-nwk.js +1 -0
- package/out/_next/static/chunks/turbopack-26wtylwa4_s95.js +1 -0
- package/out/_next/static/chunks/turbopack-27l7xplqpifq6.js +1 -0
- package/out/_next/static/chunks/turbopack-285oyoobdo21x.js +1 -0
- package/out/_next/static/chunks/turbopack-28b0zyhf3uqaq.js +1 -0
- package/out/_next/static/chunks/turbopack-28m_9eg3draop.js +1 -0
- package/out/_next/static/chunks/turbopack-29h9fgcal-fng.js +1 -0
- package/out/_next/static/chunks/turbopack-2a84kh6nmf_78.js +1 -0
- package/out/_next/static/chunks/turbopack-2b73dx1bsdg5f.js +1 -0
- package/out/_next/static/chunks/turbopack-2bslf96g-y1vv.js +1 -0
- package/out/_next/static/chunks/turbopack-2d-2wg8-_f9-v.js +1 -0
- package/out/_next/static/chunks/turbopack-2ez-mfb63qve0.js +1 -0
- package/out/_next/static/chunks/turbopack-2g7u83j1wlswz.js +1 -0
- package/out/_next/static/chunks/turbopack-2m4gns1_64-7_.js +1 -0
- package/out/_next/static/chunks/turbopack-2n4ba44aafc4x.js +1 -0
- package/out/_next/static/chunks/turbopack-2t3zb47_j-ahd.js +1 -0
- package/out/_next/static/chunks/turbopack-2tf6rdek5zvm6.js +1 -0
- package/out/_next/static/chunks/turbopack-2vb0p2htqo4nd.js +1 -0
- package/out/_next/static/chunks/turbopack-30-bi-9_7jd01.js +1 -0
- package/out/_next/static/chunks/turbopack-32pjcar5xpn1o.js +1 -0
- package/out/_next/static/chunks/turbopack-3a3skasosq9-4.js +1 -0
- package/out/_next/static/chunks/turbopack-3d2rk8-5wcgrs.js +1 -0
- package/out/_next/static/chunks/turbopack-3i91g2le3tkne.js +1 -0
- package/out/_next/static/chunks/turbopack-3j4bdo8-ldea5.js +1 -0
- package/out/_next/static/chunks/turbopack-3m47jybfw85nc.js +1 -0
- package/out/_next/static/chunks/turbopack-3yfksvslbm14s.js +1 -0
- package/out/_next/static/chunks/turbopack-414roft8p92hp.js +1 -0
- package/out/_next/static/chunks/turbopack-424slv1lqxh_5.js +1 -0
- package/out/_next/static/chunks/turbopack-444yt6auyioxn.js +1 -0
- package/out/_next/static/z5KrmhOz2mLscINN5EbUf/_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/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 +129 -32
- 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 +49 -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/README.md +226 -0
- package/src/sdk/form-entry.test.mjs +11 -0
- package/src/sdk/hooks.ts +15 -0
- package/src/sdk/modal.ts +6 -0
- package/src/sdk/plugin-build.mjs +97 -0
- package/src/sdk/plugin-build.test.mjs +46 -0
- package/src/sdk/plugin-runtime.cjs +66 -0
- package/src/sdk/plugin-runtime.d.mts +11 -0
- package/src/sdk/plugin-runtime.mjs +27 -0
- package/src/sdk/plugin-runtime.test.mjs +32 -0
- package/src/sdk/plugins.mjs +17 -0
- package/src/sdk/plugins.ts +105 -0
- package/src/sdk/providers.ts +4 -0
- package/src/sdk/shared-context.test.mjs +40 -0
- package/src/sdk/shims/admin-ui-plugins.ts +3 -0
- package/src/sdk/shims/apollo-client-react.ts +3 -0
- package/src/sdk/shims/apollo-client.ts +3 -0
- package/src/sdk/shims/host.ts +61 -0
- package/src/sdk/shims/next-head.ts +3 -0
- package/src/sdk/shims/next-image.ts +3 -0
- package/src/sdk/shims/next-link.ts +3 -0
- package/src/sdk/shims/next-router.ts +3 -0
- package/src/sdk/shims/react-dom-client.ts +3 -0
- package/src/sdk/shims/react-dom.ts +3 -0
- package/src/sdk/shims/react-hook-form.ts +3 -0
- package/src/sdk/shims/react-intl.ts +3 -0
- package/src/sdk/shims/react-jsx-runtime.ts +3 -0
- package/src/sdk/shims/react-toastify.ts +3 -0
- package/src/sdk/shims/react.ts +3 -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/_ZCNVAj2ptQ3WvyS9d8fH/_buildManifest.js +0 -258
- package/out/_next/static/chunks/0-3aqi0z~0~kq.js +0 -1
- package/out/_next/static/chunks/0-_n2k06ojx7r.js +0 -5
- package/out/_next/static/chunks/0-b7z0cgkcxjg.js +0 -12
- package/out/_next/static/chunks/0-khetjtcca7j.js +0 -23
- package/out/_next/static/chunks/0-vzy055sp9wr.js +0 -1
- package/out/_next/static/chunks/0.7c6ora-keix.js +0 -291
- package/out/_next/static/chunks/0.7jou~9s-9ly.js +0 -342
- package/out/_next/static/chunks/0.9xrb29zv20w.js +0 -1
- package/out/_next/static/chunks/0.qq-wh2-26q3.js +0 -1
- package/out/_next/static/chunks/00.vtv-~sgyl1.js +0 -1
- package/out/_next/static/chunks/002w~0kz13czu.js +0 -2
- package/out/_next/static/chunks/00am.v9yslbhb.js +0 -227
- package/out/_next/static/chunks/00z-be-uhq5~b.js +0 -138
- package/out/_next/static/chunks/01.ky4xf9k36u.js +0 -1
- package/out/_next/static/chunks/01m_2h75jti7r.js +0 -173
- package/out/_next/static/chunks/01r~p51b_ree7.js +0 -12
- package/out/_next/static/chunks/01ua~kzkn_2re.js +0 -2
- package/out/_next/static/chunks/01~bicjgx9ycz.js +0 -13
- package/out/_next/static/chunks/02.h.hxc5z45l.js +0 -58
- package/out/_next/static/chunks/020ov1cd5ubsp.js +0 -1
- package/out/_next/static/chunks/022.6ji94gj66.js +0 -90
- package/out/_next/static/chunks/02ljwx.y7xl4e.js +0 -384
- package/out/_next/static/chunks/02mkjzfq3ks0c.js +0 -342
- package/out/_next/static/chunks/034ij~x6p.1xq.js +0 -7
- package/out/_next/static/chunks/0387wujkm6quw.js +0 -26
- package/out/_next/static/chunks/03j~743_iaz5a.js +0 -87
- package/out/_next/static/chunks/03zc-8olk-a4z.js +0 -11
- package/out/_next/static/chunks/042vny1lzms1d.js +0 -1
- package/out/_next/static/chunks/045b8oqunhkwz.js +0 -1
- package/out/_next/static/chunks/04d1nicvb1h43.js +0 -12
- package/out/_next/static/chunks/04hnzv8.xnhtq.js +0 -12
- package/out/_next/static/chunks/04j3vrvch7ujx.js +0 -1
- package/out/_next/static/chunks/04j47t-gfncz0.js +0 -17
- package/out/_next/static/chunks/04wxvqon75sl5.js +0 -15
- package/out/_next/static/chunks/0511iudhvmzyd.js +0 -14
- package/out/_next/static/chunks/054x6af~vznwl.js +0 -13
- package/out/_next/static/chunks/055l.ongzthsf.js +0 -2
- package/out/_next/static/chunks/05r6-kh0ahzac.js +0 -288
- package/out/_next/static/chunks/068vu6mcq90.a.js +0 -14
- package/out/_next/static/chunks/069qmjrpifff9.js +0 -10
- package/out/_next/static/chunks/06c.18b146dst.js +0 -43
- package/out/_next/static/chunks/06ciqx79i2-.y.js +0 -16
- package/out/_next/static/chunks/06em3notkoupj.js +0 -60
- package/out/_next/static/chunks/06fu~nzcm6-xx.js +0 -13
- package/out/_next/static/chunks/06ldt6o0kv861.js +0 -12
- package/out/_next/static/chunks/06nnfpkytc2xp.js +0 -101
- package/out/_next/static/chunks/071ms7.~t3bpc.js +0 -73
- package/out/_next/static/chunks/07absjbyi5efz.js +0 -200
- package/out/_next/static/chunks/07e9hvcn2m7m0.css +0 -1
- package/out/_next/static/chunks/07gn.w-1ng2vv.js +0 -13
- package/out/_next/static/chunks/07ok4zsn3fbvv.js +0 -8
- package/out/_next/static/chunks/07rzofd~n_8p3.js +0 -111
- package/out/_next/static/chunks/08mu1xcbu0z5i.js +0 -1
- package/out/_next/static/chunks/08np.usn69g26.js +0 -12
- package/out/_next/static/chunks/08oxo2i_s5k32.js +0 -22
- package/out/_next/static/chunks/09.xyqg-s5.hj.js +0 -1
- package/out/_next/static/chunks/09kdzdul.4ws~.js +0 -5
- package/out/_next/static/chunks/09u84u49rpg~q.js +0 -10
- package/out/_next/static/chunks/0_0s9kzhzuc0n.js +0 -51
- package/out/_next/static/chunks/0_34hlmm2xs02.js +0 -1
- package/out/_next/static/chunks/0__0blfuajz3u.js +0 -1
- package/out/_next/static/chunks/0_bohk37n03zc.js +0 -13
- package/out/_next/static/chunks/0_fs4fka5dmk4.js +0 -14
- package/out/_next/static/chunks/0_t._or66p529.js +0 -10
- package/out/_next/static/chunks/0a6n-.sxlxj9i.js +0 -44
- package/out/_next/static/chunks/0aewtng76o8~g.js +0 -1
- package/out/_next/static/chunks/0aokk5k383t_7.js +0 -1
- package/out/_next/static/chunks/0bb3o6y0psmp~.js +0 -137
- package/out/_next/static/chunks/0binkax94nk~0.js +0 -286
- package/out/_next/static/chunks/0b~s0.jgd-9e2.js +0 -1
- package/out/_next/static/chunks/0c6p-vlcfco03.js +0 -2
- package/out/_next/static/chunks/0cau~hqb0jkf..js +0 -1
- package/out/_next/static/chunks/0chk_j9c0w74~.js +0 -21
- package/out/_next/static/chunks/0cnjwc8yv_7du.js +0 -36
- package/out/_next/static/chunks/0d1xe7n4~ift~.js +0 -119
- package/out/_next/static/chunks/0d2egm4vz55tp.js +0 -16
- package/out/_next/static/chunks/0dcng-~m.1-6b.js +0 -31
- package/out/_next/static/chunks/0dwysww-f770p.js +0 -43
- package/out/_next/static/chunks/0d~ogeoavcw1p.js +0 -2
- package/out/_next/static/chunks/0eh08mw_ge-97.js +0 -20
- package/out/_next/static/chunks/0ehfzo.p_8b1p.js +0 -142
- package/out/_next/static/chunks/0ei4k52e-lv4o.js +0 -596
- package/out/_next/static/chunks/0eq_bq11j1d8h.js +0 -73
- package/out/_next/static/chunks/0exrsz6ax-mbc.js +0 -50
- package/out/_next/static/chunks/0f7dus4chk-b7.js +0 -1
- package/out/_next/static/chunks/0f_2kctvcf9fc.js +0 -132
- package/out/_next/static/chunks/0fiu9kb2mg_pe.js +0 -1
- package/out/_next/static/chunks/0fzcyuwh8xfnw.js +0 -2
- package/out/_next/static/chunks/0gepdh_x8l03e.js +0 -31
- package/out/_next/static/chunks/0h3apzm4sorb-.js +0 -144
- package/out/_next/static/chunks/0hf6k~k9i9dml.js +0 -101
- package/out/_next/static/chunks/0hggeos.n3ho1.js +0 -324
- package/out/_next/static/chunks/0hs_qs3vvqt40.js +0 -224
- package/out/_next/static/chunks/0i.xcdg6xys-l.js +0 -1
- package/out/_next/static/chunks/0i2a62pwzd90a.js +0 -1
- package/out/_next/static/chunks/0i6yv64iri6c7.js +0 -14
- package/out/_next/static/chunks/0id0hab4x07mp.js +0 -13
- package/out/_next/static/chunks/0itsov_woj_gc.js +0 -11
- package/out/_next/static/chunks/0j0vos96uuvzn.js +0 -19
- package/out/_next/static/chunks/0jl_db3hgihi8.js +0 -1
- package/out/_next/static/chunks/0jsod19bi_.b4.js +0 -1
- package/out/_next/static/chunks/0jt2g8-m-bu3h.js +0 -15
- package/out/_next/static/chunks/0jxpx..caiup3.js +0 -51
- package/out/_next/static/chunks/0k3anlop2ta22.js +0 -1
- package/out/_next/static/chunks/0kg9ib_s2gdgg.js +0 -13
- package/out/_next/static/chunks/0klqyqhl-cmiq.js +0 -46
- package/out/_next/static/chunks/0krimw~~gz366.js +0 -2
- package/out/_next/static/chunks/0kwn.hg1e.um~.js +0 -44
- package/out/_next/static/chunks/0kwrzdkwhn88r.js +0 -13
- package/out/_next/static/chunks/0lcrt1adr76yw.js +0 -8
- package/out/_next/static/chunks/0ljk.6lm3l484.js +0 -7
- package/out/_next/static/chunks/0lq8y5ij59ip~.js +0 -1
- package/out/_next/static/chunks/0ltj_coftxt~y.js +0 -3
- package/out/_next/static/chunks/0lvph83c6z2a-.js +0 -1
- package/out/_next/static/chunks/0mehfyjroyd5m.js +0 -22
- package/out/_next/static/chunks/0n0rvtqgyilhu.js +0 -13
- package/out/_next/static/chunks/0n_8yfa~wwmvn.js +0 -16
- package/out/_next/static/chunks/0ncx_fjx5r3e9.js +0 -13
- package/out/_next/static/chunks/0njruqifmj7eb.js +0 -73
- package/out/_next/static/chunks/0nxa2d3rd~_hk.js +0 -20
- package/out/_next/static/chunks/0oavskn-j3nfr.js +0 -12
- package/out/_next/static/chunks/0oe9_~e6jba2c.js +0 -108
- package/out/_next/static/chunks/0on_9mgul7_i2.js +0 -188
- package/out/_next/static/chunks/0o~whquist5u6.js +0 -1
- package/out/_next/static/chunks/0p1dktj9e81.u.js +0 -209
- package/out/_next/static/chunks/0p2l~~8x6478b.js +0 -73
- package/out/_next/static/chunks/0p47r5clv~tji.js +0 -10
- package/out/_next/static/chunks/0pu7s41rb3je3.js +0 -1
- package/out/_next/static/chunks/0pvo5m24k8fer.js +0 -61
- package/out/_next/static/chunks/0q_s9ru.9iese.js +0 -193
- package/out/_next/static/chunks/0qoukboupb.ht.js +0 -14
- package/out/_next/static/chunks/0qsxmm8vi313~.js +0 -1
- package/out/_next/static/chunks/0qvf8s9fxj~ah.js +0 -41
- package/out/_next/static/chunks/0qy-relppwey0.js +0 -384
- package/out/_next/static/chunks/0r-a0zxkpzy.c.js +0 -14
- package/out/_next/static/chunks/0r017e-0mhnx2.js +0 -16
- package/out/_next/static/chunks/0r4jylm5inuxv.js +0 -13
- package/out/_next/static/chunks/0r6m.pwe-fw0s.js +0 -18
- package/out/_next/static/chunks/0rbjbp6y.a5ze.js +0 -8
- package/out/_next/static/chunks/0rds3div~3bsj.js +0 -15
- package/out/_next/static/chunks/0ridpuenplsy6.js +0 -46
- package/out/_next/static/chunks/0rwb5kn3yi~nn.js +0 -16
- package/out/_next/static/chunks/0s8kpaa2at0vl.js +0 -1
- package/out/_next/static/chunks/0sbwu9f3ons7y.js +0 -13
- package/out/_next/static/chunks/0sqtyywk.m-gb.js +0 -119
- package/out/_next/static/chunks/0suvx3w6t11x1.js +0 -14
- package/out/_next/static/chunks/0t.cqbkm36.29.js +0 -16
- package/out/_next/static/chunks/0ta5trm5g8qpx.js +0 -1
- package/out/_next/static/chunks/0u5rgvh_590-0.js +0 -15
- package/out/_next/static/chunks/0uzv9isqw0xwo.js +0 -12
- package/out/_next/static/chunks/0vu00vv4k8fm2.js +0 -5
- package/out/_next/static/chunks/0wbeo27c~tc9b.js +0 -13
- package/out/_next/static/chunks/0wc49~p9kujfb.js +0 -137
- package/out/_next/static/chunks/0we-.8a4ky2dw.js +0 -2
- package/out/_next/static/chunks/0whq69wyy9mrh.js +0 -1
- package/out/_next/static/chunks/0wjcrj2l-j~_f.js +0 -188
- package/out/_next/static/chunks/0wo4urhtm22ug.js +0 -1
- package/out/_next/static/chunks/0wuu4uyer4mlk.js +0 -31
- package/out/_next/static/chunks/0x4-t7xmjlqx1.js +0 -12
- package/out/_next/static/chunks/0x6_x80dsgoq7.js +0 -2
- package/out/_next/static/chunks/0xczkhpv81j3p.js +0 -1
- package/out/_next/static/chunks/0xo2uquse155f.js +0 -26
- package/out/_next/static/chunks/0xve~a_ipc.21.js +0 -81
- package/out/_next/static/chunks/0y153o27bxgcb.js +0 -1
- package/out/_next/static/chunks/0y51ico3_h9g3.js +0 -346
- package/out/_next/static/chunks/0y5ttyo5uc5l-.js +0 -15
- package/out/_next/static/chunks/0ydxs-rl4u1j7.js +0 -8
- package/out/_next/static/chunks/0yrt60iy59wz5.js +0 -13
- package/out/_next/static/chunks/0z.rzro53h5n6.js +0 -15
- package/out/_next/static/chunks/0zhqlp5hndrqa.js +0 -1
- package/out/_next/static/chunks/0znn2bf~0xx64.js +0 -46
- package/out/_next/static/chunks/0zpe1nbzz~f8h.js +0 -5
- package/out/_next/static/chunks/0zr4c4gwoe48t.js +0 -15
- package/out/_next/static/chunks/0~gsuncyic_fy.js +0 -2
- package/out/_next/static/chunks/0~tk5o7vtfrjq.js +0 -66
- package/out/_next/static/chunks/103dw~jwhci8m.js +0 -61
- package/out/_next/static/chunks/1041bp0usprml.js +0 -217
- package/out/_next/static/chunks/10bhd86pfsoy5.js +0 -3
- package/out/_next/static/chunks/10jmwo0cv2790.js +0 -100
- package/out/_next/static/chunks/10m8c175impy1.js +0 -135
- package/out/_next/static/chunks/10y5-.kflf93t.js +0 -13
- package/out/_next/static/chunks/11_s223xijkg..js +0 -14
- package/out/_next/static/chunks/11fl4v~k-i6dd.js +0 -1
- package/out/_next/static/chunks/11rfgl5vsu7np.js +0 -147
- package/out/_next/static/chunks/11sml2nj796.7.js +0 -59
- package/out/_next/static/chunks/11smy7~k0731f.js +0 -12
- package/out/_next/static/chunks/12e_gn-hj1ad4.js +0 -5
- package/out/_next/static/chunks/12nnf6pgi3n_-.js +0 -16
- package/out/_next/static/chunks/12q9qfk5yyvku.js +0 -288
- package/out/_next/static/chunks/13h_3r03rklr2.js +0 -54
- package/out/_next/static/chunks/13tjz9q-ls~t3.js +0 -1
- package/out/_next/static/chunks/13ytbvm.zbpoc.js +0 -13
- package/out/_next/static/chunks/13ztct7h9n9ly.js +0 -1
- package/out/_next/static/chunks/14.go5qd.nd-p.js +0 -22
- package/out/_next/static/chunks/14e4xylnze3x2.js +0 -1
- package/out/_next/static/chunks/14kk7enrk.1zd.js +0 -14
- package/out/_next/static/chunks/14q69-rwokbvm.js +0 -13
- package/out/_next/static/chunks/14tbg01czewdy.js +0 -1
- package/out/_next/static/chunks/14vhb8kz5tl75.js +0 -471
- package/out/_next/static/chunks/15r--ckscx-95.js +0 -227
- package/out/_next/static/chunks/15wy-.8-w435h.js +0 -92
- package/out/_next/static/chunks/15z9m-o4tbe0n.js +0 -1
- package/out/_next/static/chunks/169ub5vhwew62.js +0 -1
- package/out/_next/static/chunks/16_-z_hnq-xk7.js +0 -12
- package/out/_next/static/chunks/16s_3ks~~cizu.js +0 -31
- package/out/_next/static/chunks/16wl81ja44b1o.js +0 -54
- package/out/_next/static/chunks/16yuttvlotzf1.js +0 -13
- package/out/_next/static/chunks/17iwj3.fr3dk8.js +0 -7
- package/out/_next/static/chunks/17l28vjc_z915.js +0 -596
- package/out/_next/static/chunks/17v04.so.9g1..js +0 -1
- package/out/_next/static/chunks/181fxym9wgh_m.js +0 -1
- package/out/_next/static/chunks/188m.-obobpy_.js +0 -178
- package/out/_next/static/chunks/turbopack-0-c-m~y_.l8n2.js +0 -1
- package/out/_next/static/chunks/turbopack-0-ly3m1ffx4wa.js +0 -1
- package/out/_next/static/chunks/turbopack-0-w~ect25bcud.js +0 -1
- package/out/_next/static/chunks/turbopack-0.2nskz5ux6vf.js +0 -1
- package/out/_next/static/chunks/turbopack-00s1egv_1qxjy.js +0 -1
- package/out/_next/static/chunks/turbopack-00xxfsstzot2t.js +0 -1
- package/out/_next/static/chunks/turbopack-01cocbtxks9vh.js +0 -1
- package/out/_next/static/chunks/turbopack-032afnigdvseo.js +0 -1
- package/out/_next/static/chunks/turbopack-03hvtuilfwgpp.js +0 -1
- package/out/_next/static/chunks/turbopack-04r-j8f.wnbc8.js +0 -1
- package/out/_next/static/chunks/turbopack-06m0ig9acgabg.js +0 -1
- package/out/_next/static/chunks/turbopack-06rfum.y.5-0h.js +0 -1
- package/out/_next/static/chunks/turbopack-07kkmwgy.zqc4.js +0 -1
- package/out/_next/static/chunks/turbopack-07qbascdm6h.j.js +0 -1
- package/out/_next/static/chunks/turbopack-087jzd1gou_ln.js +0 -1
- package/out/_next/static/chunks/turbopack-08h61bgwzagra.js +0 -1
- package/out/_next/static/chunks/turbopack-09d04tqccs343.js +0 -1
- package/out/_next/static/chunks/turbopack-0a1fdpd8.q282.js +0 -1
- package/out/_next/static/chunks/turbopack-0azc8sns1skk7.js +0 -1
- package/out/_next/static/chunks/turbopack-0b6fo_~4ih.xu.js +0 -1
- package/out/_next/static/chunks/turbopack-0bv6z-ics5a1v.js +0 -1
- package/out/_next/static/chunks/turbopack-0c6v~i5zl-_gb.js +0 -1
- package/out/_next/static/chunks/turbopack-0cn_kcha7l~dv.js +0 -1
- package/out/_next/static/chunks/turbopack-0d6899l2l47lo.js +0 -1
- package/out/_next/static/chunks/turbopack-0f3a-2xdfi37o.js +0 -1
- package/out/_next/static/chunks/turbopack-0h1nt4kh7q.sg.js +0 -1
- package/out/_next/static/chunks/turbopack-0hh49n1y8gh-z.js +0 -1
- package/out/_next/static/chunks/turbopack-0ike2xsgynih8.js +0 -1
- package/out/_next/static/chunks/turbopack-0iyvc628rll34.js +0 -1
- package/out/_next/static/chunks/turbopack-0j-vlj505~ob9.js +0 -1
- package/out/_next/static/chunks/turbopack-0j4w2c8pgyzts.js +0 -1
- package/out/_next/static/chunks/turbopack-0kblf3k62bseb.js +0 -1
- package/out/_next/static/chunks/turbopack-0l-~7v3-4~9hg.js +0 -1
- package/out/_next/static/chunks/turbopack-0lb9brrvzbipj.js +0 -1
- package/out/_next/static/chunks/turbopack-0lxybl6vxlhqz.js +0 -1
- package/out/_next/static/chunks/turbopack-0mlri9n~ktoxa.js +0 -1
- package/out/_next/static/chunks/turbopack-0mrgw~e1q9n4l.js +0 -1
- package/out/_next/static/chunks/turbopack-0na33zduv8spb.js +0 -1
- package/out/_next/static/chunks/turbopack-0o_.gb8s5jo85.js +0 -1
- package/out/_next/static/chunks/turbopack-0ofwh3p918g-t.js +0 -1
- package/out/_next/static/chunks/turbopack-0o~anfgw~s_~q.js +0 -1
- package/out/_next/static/chunks/turbopack-0q3dp3wkxb9ro.js +0 -1
- package/out/_next/static/chunks/turbopack-0q5hq623ooh_q.js +0 -1
- package/out/_next/static/chunks/turbopack-0rd~zo~yh9.xl.js +0 -1
- package/out/_next/static/chunks/turbopack-0s3jauzip9.x..js +0 -1
- package/out/_next/static/chunks/turbopack-0uukmkfqyl0h8.js +0 -1
- package/out/_next/static/chunks/turbopack-0w_qsium_grk3.js +0 -1
- package/out/_next/static/chunks/turbopack-0wbajkw2~1l3z.js +0 -1
- package/out/_next/static/chunks/turbopack-0wej6bu7ey9au.js +0 -1
- package/out/_next/static/chunks/turbopack-0wk424kj.kar2.js +0 -1
- package/out/_next/static/chunks/turbopack-0xew6rccsve8y.js +0 -1
- package/out/_next/static/chunks/turbopack-0y898tb-~kae~.js +0 -1
- package/out/_next/static/chunks/turbopack-0~lzxx1ip4b0u.js +0 -1
- package/out/_next/static/chunks/turbopack-11.ar48mv3rch.js +0 -1
- package/out/_next/static/chunks/turbopack-11eqwvrhzm6gb.js +0 -1
- package/out/_next/static/chunks/turbopack-12cd3.da_pv_e.js +0 -1
- package/out/_next/static/chunks/turbopack-12hcx9pi_e_wy.js +0 -1
- package/out/_next/static/chunks/turbopack-12pksi_8~z4-a.js +0 -1
- package/out/_next/static/chunks/turbopack-146i7rj93.pk3.js +0 -1
- package/out/_next/static/chunks/turbopack-15d8c1ob0a6m0.js +0 -1
- package/out/_next/static/chunks/turbopack-16-bzzuvc9d9..js +0 -1
- package/out/_next/static/chunks/turbopack-17sr.m9o6jhdb.js +0 -1
- package/out/_next/static/chunks/turbopack-1829xb~o3h36e.js +0 -1
- package/out/admin-ui-permissions.js +0 -129
- /package/out/_next/static/{_ZCNVAj2ptQ3WvyS9d8fH → z5KrmhOz2mLscINN5EbUf}/_clientMiddlewareManifest.js +0 -0
- /package/out/_next/static/{_ZCNVAj2ptQ3WvyS9d8fH → z5KrmhOz2mLscINN5EbUf}/_ssgManifest.js +0 -0
|
@@ -0,0 +1,1126 @@
|
|
|
1
|
+
import { parseUniqueId, parseSlug } from '../chunk-IXBMHOB5.js';
|
|
2
|
+
import { ProductBriefFragment_default } from '../chunk-EJDZRZSZ.js';
|
|
3
|
+
import { FilterFragment_default } from '../chunk-OKGJ6HDE.js';
|
|
4
|
+
import { parseMeta_default } from '../chunk-YO6PT7KD.js';
|
|
5
|
+
import { useApp_default } from '../chunk-AOR2B5N5.js';
|
|
6
|
+
import '../chunk-ELPURWDC.js';
|
|
7
|
+
import '../chunk-RAQV2GYF.js';
|
|
8
|
+
import '../chunk-54DKBWXV.js';
|
|
9
|
+
import '../chunk-J23QSWDL.js';
|
|
10
|
+
import { useConfirmMediaUpload_default, PUTMedia_default } from '../chunk-COV7BREX.js';
|
|
11
|
+
import '../chunk-GY2DRQGW.js';
|
|
12
|
+
import { useUnchainedContext_default } from '../chunk-IAQPLRXZ.js';
|
|
13
|
+
import '../chunk-WPLOTFGW.js';
|
|
14
|
+
import { gql } from '@apollo/client';
|
|
15
|
+
import { useMutation, useQuery } from '@apollo/client/react';
|
|
16
|
+
|
|
17
|
+
var AddAssortmentFilterMutation = gql`
|
|
18
|
+
mutation AddAssortmentFilter(
|
|
19
|
+
$assortmentId: ID!
|
|
20
|
+
$filterId: ID!
|
|
21
|
+
$tags: [LowerCaseString!]
|
|
22
|
+
) {
|
|
23
|
+
addAssortmentFilter(
|
|
24
|
+
assortmentId: $assortmentId
|
|
25
|
+
filterId: $filterId
|
|
26
|
+
tags: $tags
|
|
27
|
+
) {
|
|
28
|
+
_id
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
`;
|
|
32
|
+
var useAddAssortmentFilter = () => {
|
|
33
|
+
const [addAssortmentFilterMutation] = useMutation(AddAssortmentFilterMutation);
|
|
34
|
+
const addAssortmentFilter = async ({
|
|
35
|
+
assortmentId,
|
|
36
|
+
filterId,
|
|
37
|
+
tags
|
|
38
|
+
}) => {
|
|
39
|
+
return addAssortmentFilterMutation({
|
|
40
|
+
variables: { assortmentId, filterId, tags },
|
|
41
|
+
refetchQueries: ["AssortmentFilters"]
|
|
42
|
+
});
|
|
43
|
+
};
|
|
44
|
+
return {
|
|
45
|
+
addAssortmentFilter
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
var useAddAssortmentFilter_default = useAddAssortmentFilter;
|
|
49
|
+
var AddAssortmentLinkMutation = gql`
|
|
50
|
+
mutation AddAssortmentLink(
|
|
51
|
+
$parentAssortmentId: ID!
|
|
52
|
+
$childAssortmentId: ID!
|
|
53
|
+
$tags: [LowerCaseString!]
|
|
54
|
+
) {
|
|
55
|
+
addAssortmentLink(
|
|
56
|
+
parentAssortmentId: $parentAssortmentId
|
|
57
|
+
childAssortmentId: $childAssortmentId
|
|
58
|
+
tags: $tags
|
|
59
|
+
) {
|
|
60
|
+
_id
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
`;
|
|
64
|
+
var useAddAssortmentLink = () => {
|
|
65
|
+
const [addAssortmentLinkMutation] = useMutation(AddAssortmentLinkMutation);
|
|
66
|
+
const addAssortmentLink = async ({
|
|
67
|
+
parentAssortmentId,
|
|
68
|
+
childAssortmentId,
|
|
69
|
+
tags
|
|
70
|
+
}) => {
|
|
71
|
+
return addAssortmentLinkMutation({
|
|
72
|
+
variables: { parentAssortmentId, childAssortmentId, tags },
|
|
73
|
+
refetchQueries: ["AssortmentLinks"]
|
|
74
|
+
});
|
|
75
|
+
};
|
|
76
|
+
return {
|
|
77
|
+
addAssortmentLink
|
|
78
|
+
};
|
|
79
|
+
};
|
|
80
|
+
var useAddAssortmentLink_default = useAddAssortmentLink;
|
|
81
|
+
var PrepareAssortmentMediaUploadMutation = gql`
|
|
82
|
+
mutation PrepareAssortmentMediaUpload(
|
|
83
|
+
$mediaName: String!
|
|
84
|
+
$assortmentId: ID!
|
|
85
|
+
) {
|
|
86
|
+
prepareAssortmentMediaUpload(
|
|
87
|
+
mediaName: $mediaName
|
|
88
|
+
assortmentId: $assortmentId
|
|
89
|
+
) {
|
|
90
|
+
_id
|
|
91
|
+
putURL
|
|
92
|
+
expires
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
`;
|
|
96
|
+
var useAddAssortmentMedia = () => {
|
|
97
|
+
const [prepareAssortmentMediaUploadMutation] = useMutation(PrepareAssortmentMediaUploadMutation);
|
|
98
|
+
const { confirmMediaUpload } = useConfirmMediaUpload_default({
|
|
99
|
+
refetchQueries: ["Assortment"]
|
|
100
|
+
});
|
|
101
|
+
const addAssortmentMedia = async ({ assortmentId, media }) => {
|
|
102
|
+
const { data } = await prepareAssortmentMediaUploadMutation({
|
|
103
|
+
variables: { assortmentId, mediaName: media.name }
|
|
104
|
+
});
|
|
105
|
+
const { prepareAssortmentMediaUpload } = data;
|
|
106
|
+
await PUTMedia_default(media, prepareAssortmentMediaUpload.putURL);
|
|
107
|
+
await confirmMediaUpload({
|
|
108
|
+
mediaUploadTicketId: prepareAssortmentMediaUpload._id,
|
|
109
|
+
size: media?.size,
|
|
110
|
+
type: media?.type
|
|
111
|
+
});
|
|
112
|
+
};
|
|
113
|
+
return {
|
|
114
|
+
addAssortmentMedia
|
|
115
|
+
};
|
|
116
|
+
};
|
|
117
|
+
var useAddAssortmentMedia_default = useAddAssortmentMedia;
|
|
118
|
+
var AddAssortmentProductMutation = gql`
|
|
119
|
+
mutation AddAssortmentProduct(
|
|
120
|
+
$assortmentId: ID!
|
|
121
|
+
$productId: ID!
|
|
122
|
+
$tags: [LowerCaseString!]
|
|
123
|
+
) {
|
|
124
|
+
addAssortmentProduct(
|
|
125
|
+
assortmentId: $assortmentId
|
|
126
|
+
productId: $productId
|
|
127
|
+
tags: $tags
|
|
128
|
+
) {
|
|
129
|
+
_id
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
`;
|
|
133
|
+
var useAddAssortmentProduct = () => {
|
|
134
|
+
const [addAssortmentProductMutation] = useMutation(AddAssortmentProductMutation);
|
|
135
|
+
const addAssortmentProduct = async ({
|
|
136
|
+
productId,
|
|
137
|
+
assortmentId,
|
|
138
|
+
tags
|
|
139
|
+
}) => {
|
|
140
|
+
return addAssortmentProductMutation({
|
|
141
|
+
variables: { productId, assortmentId, tags },
|
|
142
|
+
refetchQueries: ["AssortmentProducts"]
|
|
143
|
+
});
|
|
144
|
+
};
|
|
145
|
+
return {
|
|
146
|
+
addAssortmentProduct
|
|
147
|
+
};
|
|
148
|
+
};
|
|
149
|
+
var useAddAssortmentProduct_default = useAddAssortmentProduct;
|
|
150
|
+
var AssortmentFragment = gql`
|
|
151
|
+
fragment AssortmentFragment on Assortment {
|
|
152
|
+
_id
|
|
153
|
+
isActive
|
|
154
|
+
created
|
|
155
|
+
updated
|
|
156
|
+
sequence
|
|
157
|
+
isRoot
|
|
158
|
+
tags
|
|
159
|
+
texts(forceLocale: $forceLocale) {
|
|
160
|
+
_id
|
|
161
|
+
slug
|
|
162
|
+
title
|
|
163
|
+
subtitle
|
|
164
|
+
description
|
|
165
|
+
}
|
|
166
|
+
childrenCount
|
|
167
|
+
media {
|
|
168
|
+
_id
|
|
169
|
+
tags
|
|
170
|
+
file {
|
|
171
|
+
_id
|
|
172
|
+
url
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
`;
|
|
177
|
+
var AssortmentFragment_default = AssortmentFragment;
|
|
178
|
+
|
|
179
|
+
// src/modules/assortment/hooks/useAssortment.ts
|
|
180
|
+
var GetAssortmentQuery = (inlineFragment = "") => gql`
|
|
181
|
+
query Assortment($assortmentId: ID, $slug: String, $forceLocale: Locale) {
|
|
182
|
+
assortment(assortmentId: $assortmentId, slug: $slug) {
|
|
183
|
+
...AssortmentFragment
|
|
184
|
+
${inlineFragment}
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
${AssortmentFragment_default}
|
|
188
|
+
`;
|
|
189
|
+
var useAssortment = ({
|
|
190
|
+
assortmentId: id = null,
|
|
191
|
+
slug = null
|
|
192
|
+
} = {}) => {
|
|
193
|
+
const parsedId = parseUniqueId(slug);
|
|
194
|
+
const { customProperties, hydrateFragment } = useUnchainedContext_default();
|
|
195
|
+
const { selectedLocale } = useApp_default();
|
|
196
|
+
const { data, loading, error } = useQuery(
|
|
197
|
+
GetAssortmentQuery(customProperties?.Assortment),
|
|
198
|
+
{
|
|
199
|
+
skip: !id && !slug,
|
|
200
|
+
variables: {
|
|
201
|
+
assortmentId: id || parsedId,
|
|
202
|
+
forceLocale: selectedLocale
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
);
|
|
206
|
+
const assortment = data?.assortment;
|
|
207
|
+
const extendedData = hydrateFragment(
|
|
208
|
+
customProperties?.Assortment,
|
|
209
|
+
assortment
|
|
210
|
+
);
|
|
211
|
+
return {
|
|
212
|
+
loading,
|
|
213
|
+
error,
|
|
214
|
+
assortment,
|
|
215
|
+
extendedData
|
|
216
|
+
};
|
|
217
|
+
};
|
|
218
|
+
var useAssortment_default = useAssortment;
|
|
219
|
+
var AssortmentChildrenFragment = gql`
|
|
220
|
+
fragment AssortmentChildrenFragment on Assortment {
|
|
221
|
+
_id
|
|
222
|
+
texts {
|
|
223
|
+
_id
|
|
224
|
+
slug
|
|
225
|
+
title
|
|
226
|
+
subtitle
|
|
227
|
+
}
|
|
228
|
+
childrenCount
|
|
229
|
+
}
|
|
230
|
+
`;
|
|
231
|
+
var AssortmentChildrenFragment_default = AssortmentChildrenFragment;
|
|
232
|
+
|
|
233
|
+
// src/modules/assortment/hooks/useAssortmentChildren.ts
|
|
234
|
+
var AssortmentChildrenQuery = gql`
|
|
235
|
+
query AssortmentChildren(
|
|
236
|
+
$slugs: [String!]
|
|
237
|
+
$includeInactive: Boolean
|
|
238
|
+
$includeLeaves: Boolean
|
|
239
|
+
) {
|
|
240
|
+
assortments(
|
|
241
|
+
slugs: $slugs
|
|
242
|
+
includeInactive: $includeInactive
|
|
243
|
+
includeLeaves: $includeLeaves
|
|
244
|
+
) {
|
|
245
|
+
...AssortmentChildrenFragment
|
|
246
|
+
children {
|
|
247
|
+
...AssortmentChildrenFragment
|
|
248
|
+
}
|
|
249
|
+
}
|
|
250
|
+
}
|
|
251
|
+
${AssortmentChildrenFragment_default}
|
|
252
|
+
`;
|
|
253
|
+
var useAssortmentChildren = ({
|
|
254
|
+
slugs,
|
|
255
|
+
includeInactive = false,
|
|
256
|
+
includeLeaves = false,
|
|
257
|
+
forceLocale
|
|
258
|
+
}) => {
|
|
259
|
+
const normalizedSlug = slugs?.map((slug) => parseSlug(slug));
|
|
260
|
+
const { data, loading, error } = useQuery(
|
|
261
|
+
AssortmentChildrenQuery,
|
|
262
|
+
{
|
|
263
|
+
variables: {
|
|
264
|
+
slugs: normalizedSlug,
|
|
265
|
+
includeInactive,
|
|
266
|
+
includeLeaves
|
|
267
|
+
},
|
|
268
|
+
context: {
|
|
269
|
+
headers: {
|
|
270
|
+
forceLocale
|
|
271
|
+
}
|
|
272
|
+
}
|
|
273
|
+
}
|
|
274
|
+
);
|
|
275
|
+
const assortments = data?.assortments || [];
|
|
276
|
+
return { assortments, loading, error };
|
|
277
|
+
};
|
|
278
|
+
var useAssortmentChildren_default = useAssortmentChildren;
|
|
279
|
+
var AssortmentFiltersQuery = gql`
|
|
280
|
+
query AssortmentFilters($assortmentId: ID, $slug: String) {
|
|
281
|
+
assortment(assortmentId: $assortmentId, slug: $slug) {
|
|
282
|
+
_id
|
|
283
|
+
filterAssignments {
|
|
284
|
+
_id
|
|
285
|
+
sortKey
|
|
286
|
+
tags
|
|
287
|
+
filter {
|
|
288
|
+
...FilterFragment
|
|
289
|
+
}
|
|
290
|
+
}
|
|
291
|
+
}
|
|
292
|
+
}
|
|
293
|
+
${FilterFragment_default}
|
|
294
|
+
`;
|
|
295
|
+
var useAssortmentFilters = ({
|
|
296
|
+
assortmentId: id = null,
|
|
297
|
+
slug = null
|
|
298
|
+
} = {}) => {
|
|
299
|
+
const parsedId = parseUniqueId(slug);
|
|
300
|
+
const { data, loading, error } = useQuery(
|
|
301
|
+
AssortmentFiltersQuery,
|
|
302
|
+
{
|
|
303
|
+
skip: !id && !parsedId,
|
|
304
|
+
variables: {
|
|
305
|
+
assortmentId: id || parsedId
|
|
306
|
+
}
|
|
307
|
+
}
|
|
308
|
+
);
|
|
309
|
+
const assortment = data?.assortment;
|
|
310
|
+
const assortmentFilters = assortment?.filterAssignments || [];
|
|
311
|
+
return {
|
|
312
|
+
loading,
|
|
313
|
+
error,
|
|
314
|
+
assortmentFilters
|
|
315
|
+
};
|
|
316
|
+
};
|
|
317
|
+
var useAssortmentFilters_default = useAssortmentFilters;
|
|
318
|
+
var AssortmentLinksQuery = gql`
|
|
319
|
+
query AssortmentLinks(
|
|
320
|
+
$assortmentId: ID
|
|
321
|
+
$slug: String
|
|
322
|
+
$forceLocale: Locale
|
|
323
|
+
) {
|
|
324
|
+
assortment(assortmentId: $assortmentId, slug: $slug) {
|
|
325
|
+
_id
|
|
326
|
+
linkedAssortments {
|
|
327
|
+
_id
|
|
328
|
+
sortKey
|
|
329
|
+
parent {
|
|
330
|
+
...AssortmentFragment
|
|
331
|
+
}
|
|
332
|
+
child {
|
|
333
|
+
...AssortmentFragment
|
|
334
|
+
}
|
|
335
|
+
}
|
|
336
|
+
}
|
|
337
|
+
}
|
|
338
|
+
${AssortmentFragment_default}
|
|
339
|
+
`;
|
|
340
|
+
var useAssortmentLinks = ({ assortmentId: id = null, slug = null } = {}) => {
|
|
341
|
+
const parsedId = parseUniqueId(slug);
|
|
342
|
+
const { selectedLocale } = useApp_default();
|
|
343
|
+
const { data, loading, error } = useQuery(
|
|
344
|
+
AssortmentLinksQuery,
|
|
345
|
+
{
|
|
346
|
+
skip: !id && !parsedId,
|
|
347
|
+
variables: {
|
|
348
|
+
assortmentId: id || parsedId,
|
|
349
|
+
forceLocale: selectedLocale
|
|
350
|
+
}
|
|
351
|
+
}
|
|
352
|
+
);
|
|
353
|
+
const assortment = data?.assortment;
|
|
354
|
+
const linkedAssortments = assortment?.linkedAssortments || [];
|
|
355
|
+
return {
|
|
356
|
+
loading,
|
|
357
|
+
error,
|
|
358
|
+
linkedAssortments
|
|
359
|
+
};
|
|
360
|
+
};
|
|
361
|
+
var useAssortmentLinks_default = useAssortmentLinks;
|
|
362
|
+
var AssortmentMediaQuery = gql`
|
|
363
|
+
query AssortmentMedia($assortmentId: ID, $slug: String) {
|
|
364
|
+
assortment(assortmentId: $assortmentId, slug: $slug) {
|
|
365
|
+
_id
|
|
366
|
+
media {
|
|
367
|
+
_id
|
|
368
|
+
tags
|
|
369
|
+
texts {
|
|
370
|
+
_id
|
|
371
|
+
locale
|
|
372
|
+
title
|
|
373
|
+
subtitle
|
|
374
|
+
}
|
|
375
|
+
file {
|
|
376
|
+
_id
|
|
377
|
+
url
|
|
378
|
+
name
|
|
379
|
+
size
|
|
380
|
+
type
|
|
381
|
+
}
|
|
382
|
+
sortKey
|
|
383
|
+
}
|
|
384
|
+
}
|
|
385
|
+
}
|
|
386
|
+
`;
|
|
387
|
+
var useAssortmentMedia = ({
|
|
388
|
+
assortmentId: id = null,
|
|
389
|
+
slug = null
|
|
390
|
+
} = {}) => {
|
|
391
|
+
const parsedId = parseUniqueId(slug);
|
|
392
|
+
const { data, loading, error } = useQuery(
|
|
393
|
+
AssortmentMediaQuery,
|
|
394
|
+
{
|
|
395
|
+
skip: !id && !parsedId,
|
|
396
|
+
variables: {
|
|
397
|
+
assortmentId: id || parsedId
|
|
398
|
+
}
|
|
399
|
+
}
|
|
400
|
+
);
|
|
401
|
+
return {
|
|
402
|
+
loading,
|
|
403
|
+
error,
|
|
404
|
+
assortmentMedia: data?.assortment?.media || []
|
|
405
|
+
};
|
|
406
|
+
};
|
|
407
|
+
var useAssortmentMedia_default = useAssortmentMedia;
|
|
408
|
+
var AssortmentPathsQuery = gql`
|
|
409
|
+
query AssortmentPaths($assortmentId: ID!) {
|
|
410
|
+
assortment(assortmentId: $assortmentId) {
|
|
411
|
+
assortmentPaths {
|
|
412
|
+
links {
|
|
413
|
+
assortmentId
|
|
414
|
+
}
|
|
415
|
+
}
|
|
416
|
+
}
|
|
417
|
+
}
|
|
418
|
+
`;
|
|
419
|
+
var useAssortmentPaths = ({
|
|
420
|
+
assortmentId
|
|
421
|
+
}) => {
|
|
422
|
+
const { data, loading, error } = useQuery(
|
|
423
|
+
AssortmentPathsQuery,
|
|
424
|
+
{
|
|
425
|
+
variables: {
|
|
426
|
+
assortmentId
|
|
427
|
+
}
|
|
428
|
+
}
|
|
429
|
+
);
|
|
430
|
+
const assortmentsPaths = (data?.assortment?.assortmentPaths || [])?.flatMap(
|
|
431
|
+
({ links }) => links
|
|
432
|
+
);
|
|
433
|
+
return { assortmentsPaths, loading, error };
|
|
434
|
+
};
|
|
435
|
+
var useAssortmentPaths_default = useAssortmentPaths;
|
|
436
|
+
var AssortmentProductsQuery = gql`
|
|
437
|
+
query AssortmentProducts(
|
|
438
|
+
$assortmentId: ID
|
|
439
|
+
$slug: String
|
|
440
|
+
$forceLocale: Locale
|
|
441
|
+
) {
|
|
442
|
+
assortment(assortmentId: $assortmentId, slug: $slug) {
|
|
443
|
+
_id
|
|
444
|
+
productAssignments {
|
|
445
|
+
_id
|
|
446
|
+
sortKey
|
|
447
|
+
tags
|
|
448
|
+
product {
|
|
449
|
+
...ProductBriefFragment
|
|
450
|
+
}
|
|
451
|
+
}
|
|
452
|
+
}
|
|
453
|
+
}
|
|
454
|
+
${ProductBriefFragment_default}
|
|
455
|
+
`;
|
|
456
|
+
var useAssortmentProducts = ({
|
|
457
|
+
assortmentId: id = null,
|
|
458
|
+
slug = null
|
|
459
|
+
} = {}) => {
|
|
460
|
+
const { selectedLocale } = useApp_default();
|
|
461
|
+
const parsedId = parseUniqueId(slug);
|
|
462
|
+
const { data, loading, error } = useQuery(
|
|
463
|
+
AssortmentProductsQuery,
|
|
464
|
+
{
|
|
465
|
+
skip: !id && !parsedId,
|
|
466
|
+
variables: {
|
|
467
|
+
assortmentId: id || parsedId,
|
|
468
|
+
forceLocale: selectedLocale
|
|
469
|
+
},
|
|
470
|
+
context: {
|
|
471
|
+
headers: {
|
|
472
|
+
forceLocale: selectedLocale
|
|
473
|
+
}
|
|
474
|
+
}
|
|
475
|
+
}
|
|
476
|
+
);
|
|
477
|
+
const assortment = data?.assortment;
|
|
478
|
+
const linkedProducts = assortment?.productAssignments || [];
|
|
479
|
+
return {
|
|
480
|
+
loading,
|
|
481
|
+
error,
|
|
482
|
+
linkedProducts
|
|
483
|
+
};
|
|
484
|
+
};
|
|
485
|
+
var useAssortmentProducts_default = useAssortmentProducts;
|
|
486
|
+
var AssortmentsQuery = gql`
|
|
487
|
+
query Assortments(
|
|
488
|
+
$queryString: String
|
|
489
|
+
$tags: [LowerCaseString!]
|
|
490
|
+
$slugs: [String!]
|
|
491
|
+
$limit: Int
|
|
492
|
+
$offset: Int
|
|
493
|
+
$includeInactive: Boolean
|
|
494
|
+
$includeLeaves: Boolean
|
|
495
|
+
$sort: [SortOptionInput!]
|
|
496
|
+
$forceLocale: Locale
|
|
497
|
+
) {
|
|
498
|
+
assortments(
|
|
499
|
+
queryString: $queryString
|
|
500
|
+
tags: $tags
|
|
501
|
+
slugs: $slugs
|
|
502
|
+
limit: $limit
|
|
503
|
+
offset: $offset
|
|
504
|
+
includeInactive: $includeInactive
|
|
505
|
+
includeLeaves: $includeLeaves
|
|
506
|
+
sort: $sort
|
|
507
|
+
) {
|
|
508
|
+
...AssortmentFragment
|
|
509
|
+
linkedAssortments {
|
|
510
|
+
child {
|
|
511
|
+
_id
|
|
512
|
+
}
|
|
513
|
+
}
|
|
514
|
+
}
|
|
515
|
+
assortmentsCount(
|
|
516
|
+
tags: $tags
|
|
517
|
+
slugs: $slugs
|
|
518
|
+
includeInactive: $includeInactive
|
|
519
|
+
includeLeaves: $includeLeaves
|
|
520
|
+
queryString: $queryString
|
|
521
|
+
)
|
|
522
|
+
}
|
|
523
|
+
${AssortmentFragment_default}
|
|
524
|
+
`;
|
|
525
|
+
var useAssortments = ({
|
|
526
|
+
queryString = "",
|
|
527
|
+
tags = null,
|
|
528
|
+
slugs = null,
|
|
529
|
+
limit = 20,
|
|
530
|
+
offset = 0,
|
|
531
|
+
includeInactive = true,
|
|
532
|
+
includeLeaves = false,
|
|
533
|
+
sort: sortOptions = [],
|
|
534
|
+
forceLocale = ""
|
|
535
|
+
} = {}) => {
|
|
536
|
+
const { data, loading, error, fetchMore, client } = useQuery(AssortmentsQuery, {
|
|
537
|
+
variables: {
|
|
538
|
+
queryString,
|
|
539
|
+
tags,
|
|
540
|
+
slugs: slugs || null,
|
|
541
|
+
limit,
|
|
542
|
+
offset,
|
|
543
|
+
includeInactive,
|
|
544
|
+
includeLeaves,
|
|
545
|
+
sort: sortOptions.length ? sortOptions : [{ key: "sequence", value: "ASC" }],
|
|
546
|
+
forceLocale
|
|
547
|
+
},
|
|
548
|
+
context: {
|
|
549
|
+
headers: { forceLocale }
|
|
550
|
+
}
|
|
551
|
+
});
|
|
552
|
+
const assortments = data?.assortments || [];
|
|
553
|
+
const assortmentsCount = data?.assortmentsCount;
|
|
554
|
+
const hasMore = assortments?.length < assortmentsCount;
|
|
555
|
+
const loadMore = () => {
|
|
556
|
+
fetchMore({
|
|
557
|
+
variables: { offset: assortments?.length }
|
|
558
|
+
});
|
|
559
|
+
};
|
|
560
|
+
return {
|
|
561
|
+
loading,
|
|
562
|
+
error,
|
|
563
|
+
assortmentsCount,
|
|
564
|
+
hasMore,
|
|
565
|
+
assortments: data?.assortments || [],
|
|
566
|
+
loadMore,
|
|
567
|
+
client
|
|
568
|
+
};
|
|
569
|
+
};
|
|
570
|
+
var useAssortments_default = useAssortments;
|
|
571
|
+
var AssortmentsCountQuery = gql`
|
|
572
|
+
query AssortmentsCount(
|
|
573
|
+
$queryString: String
|
|
574
|
+
$tags: [LowerCaseString!]
|
|
575
|
+
$includeInactive: Boolean
|
|
576
|
+
$includeLeaves: Boolean
|
|
577
|
+
) {
|
|
578
|
+
assortmentsCount(
|
|
579
|
+
tags: $tags
|
|
580
|
+
includeInactive: $includeInactive
|
|
581
|
+
includeLeaves: $includeLeaves
|
|
582
|
+
queryString: $queryString
|
|
583
|
+
)
|
|
584
|
+
}
|
|
585
|
+
`;
|
|
586
|
+
var useAssortmentsCount = ({
|
|
587
|
+
queryString = "",
|
|
588
|
+
tags = null,
|
|
589
|
+
includeInactive = true,
|
|
590
|
+
includeLeaves = false
|
|
591
|
+
}) => {
|
|
592
|
+
const { data, loading, error } = useQuery(AssortmentsCountQuery, {
|
|
593
|
+
errorPolicy: "all",
|
|
594
|
+
variables: {
|
|
595
|
+
queryString,
|
|
596
|
+
tags,
|
|
597
|
+
includeInactive,
|
|
598
|
+
includeLeaves
|
|
599
|
+
}
|
|
600
|
+
});
|
|
601
|
+
const assortmentsCount = data?.assortmentsCount;
|
|
602
|
+
return {
|
|
603
|
+
loading,
|
|
604
|
+
error,
|
|
605
|
+
assortmentsCount
|
|
606
|
+
};
|
|
607
|
+
};
|
|
608
|
+
var useAssortmentsCount_default = useAssortmentsCount;
|
|
609
|
+
var CreateAssortmentMutation = gql`
|
|
610
|
+
mutation CreateAssortment(
|
|
611
|
+
$assortment: CreateAssortmentInput!
|
|
612
|
+
$texts: [AssortmentTextInput!]
|
|
613
|
+
) {
|
|
614
|
+
createAssortment(assortment: $assortment, texts: $texts) {
|
|
615
|
+
_id
|
|
616
|
+
texts {
|
|
617
|
+
_id
|
|
618
|
+
slug
|
|
619
|
+
}
|
|
620
|
+
}
|
|
621
|
+
}
|
|
622
|
+
`;
|
|
623
|
+
var useCreateAssortment = () => {
|
|
624
|
+
const [createAssortmentMutation, { data, error, loading }] = useMutation(CreateAssortmentMutation);
|
|
625
|
+
const createAssortment = async ({
|
|
626
|
+
isRoot = false,
|
|
627
|
+
tags = [],
|
|
628
|
+
texts
|
|
629
|
+
}) => {
|
|
630
|
+
return createAssortmentMutation({
|
|
631
|
+
variables: { assortment: { isRoot, tags }, texts },
|
|
632
|
+
refetchQueries: [
|
|
633
|
+
"Assortments",
|
|
634
|
+
"TranslatedAssortmentTexts",
|
|
635
|
+
"ShopStatus",
|
|
636
|
+
"ShopInfo"
|
|
637
|
+
]
|
|
638
|
+
});
|
|
639
|
+
};
|
|
640
|
+
const newAssortment = data?.createAssortment;
|
|
641
|
+
return {
|
|
642
|
+
createAssortment,
|
|
643
|
+
loading,
|
|
644
|
+
newAssortment,
|
|
645
|
+
error
|
|
646
|
+
};
|
|
647
|
+
};
|
|
648
|
+
var useCreateAssortment_default = useCreateAssortment;
|
|
649
|
+
|
|
650
|
+
// src/modules/assortment/hooks/usePrepareAssortmentImport.ts
|
|
651
|
+
var normalizeAssortmentContent = (row) => {
|
|
652
|
+
const content = {};
|
|
653
|
+
const textPrefix = "texts.";
|
|
654
|
+
Object.entries(row).forEach(([key, value]) => {
|
|
655
|
+
if (!key.startsWith(textPrefix)) return;
|
|
656
|
+
const [, locale, field] = key.split(".");
|
|
657
|
+
content[locale] ||= {};
|
|
658
|
+
content[locale][field] = value || "";
|
|
659
|
+
});
|
|
660
|
+
Object.keys(content).forEach((locale) => {
|
|
661
|
+
if (!Object.values(content[locale]).every((v) => !v)) {
|
|
662
|
+
delete content[locale];
|
|
663
|
+
}
|
|
664
|
+
});
|
|
665
|
+
return Object.keys(content).length ? content : null;
|
|
666
|
+
};
|
|
667
|
+
var assortmentMapper = (row) => {
|
|
668
|
+
const content = normalizeAssortmentContent(row);
|
|
669
|
+
const meta = parseMeta_default(row["meta"]);
|
|
670
|
+
return {
|
|
671
|
+
_id: row["_id"] || void 0,
|
|
672
|
+
sequence: typeof row["sequence"] === "string" ? parseInt(row["sequence"] || "0", 10) : row["sequence"] || 0,
|
|
673
|
+
isActive: row["isActive"] === "true",
|
|
674
|
+
isRoot: row["isRoot"] === "true",
|
|
675
|
+
meta,
|
|
676
|
+
tags: row["tags"] ? row["tags"].split(";") : [],
|
|
677
|
+
content
|
|
678
|
+
};
|
|
679
|
+
};
|
|
680
|
+
var buildAssortmentEvents = ({
|
|
681
|
+
children,
|
|
682
|
+
products,
|
|
683
|
+
filters,
|
|
684
|
+
...assortment
|
|
685
|
+
}) => {
|
|
686
|
+
return {
|
|
687
|
+
entity: "assortment",
|
|
688
|
+
operation: "CREATE",
|
|
689
|
+
payload: {
|
|
690
|
+
_id: assortment._id,
|
|
691
|
+
specification: {
|
|
692
|
+
...assortment
|
|
693
|
+
},
|
|
694
|
+
products,
|
|
695
|
+
filters,
|
|
696
|
+
children
|
|
697
|
+
}
|
|
698
|
+
};
|
|
699
|
+
};
|
|
700
|
+
var usePrepareAssortmentImport = () => {
|
|
701
|
+
const prepareAssortmentImport = async ({
|
|
702
|
+
assortmentCSV,
|
|
703
|
+
assortmentProductsCSV,
|
|
704
|
+
assortmentChildrenCSV,
|
|
705
|
+
assortmentFiltersCSV
|
|
706
|
+
}) => {
|
|
707
|
+
return assortmentCSV.map((assortment) => {
|
|
708
|
+
const assortmentProducts = (assortmentProductsCSV || [])?.filter(
|
|
709
|
+
(p) => p.assortmentId === assortment._id
|
|
710
|
+
);
|
|
711
|
+
const assortmentLinks = (assortmentChildrenCSV || [])?.filter(
|
|
712
|
+
(l) => l.assortmentId === assortment._id
|
|
713
|
+
);
|
|
714
|
+
const assortmentFilters = (assortmentFiltersCSV || [])?.filter(
|
|
715
|
+
(f) => f.assortmentId === assortment._id
|
|
716
|
+
);
|
|
717
|
+
let children = void 0;
|
|
718
|
+
let filters = void 0;
|
|
719
|
+
let products = void 0;
|
|
720
|
+
if (assortmentProducts.length) {
|
|
721
|
+
products = assortmentProducts.map(
|
|
722
|
+
({ productId, tags, sortKey, _id }) => ({
|
|
723
|
+
productId,
|
|
724
|
+
tags: tags ? tags.split(";") : [],
|
|
725
|
+
sortKey: sortKey ? Number(sortKey) : void 0,
|
|
726
|
+
_id
|
|
727
|
+
})
|
|
728
|
+
);
|
|
729
|
+
}
|
|
730
|
+
if (assortmentLinks.length) {
|
|
731
|
+
children = assortmentLinks.map(
|
|
732
|
+
({ childAssortmentId, tags, sortKey, _id }) => ({
|
|
733
|
+
assortmentId: childAssortmentId,
|
|
734
|
+
tags: tags ? tags.split(";") : [],
|
|
735
|
+
sortKey: sortKey ? Number(sortKey) : void 0,
|
|
736
|
+
_id
|
|
737
|
+
})
|
|
738
|
+
);
|
|
739
|
+
}
|
|
740
|
+
if (assortmentFilters.length) {
|
|
741
|
+
filters = assortmentFilters.map(({ filterId, tags, sortKey, _id }) => ({
|
|
742
|
+
filterId,
|
|
743
|
+
tags: tags ? tags.split(";") : [],
|
|
744
|
+
sortKey: sortKey ? Number(sortKey) : void 0,
|
|
745
|
+
_id
|
|
746
|
+
}));
|
|
747
|
+
}
|
|
748
|
+
return buildAssortmentEvents({
|
|
749
|
+
...assortmentMapper(assortment),
|
|
750
|
+
filters,
|
|
751
|
+
products,
|
|
752
|
+
children
|
|
753
|
+
});
|
|
754
|
+
});
|
|
755
|
+
};
|
|
756
|
+
return { prepareAssortmentImport };
|
|
757
|
+
};
|
|
758
|
+
var usePrepareAssortmentImport_default = usePrepareAssortmentImport;
|
|
759
|
+
var RemoveAssortmentMutation = gql`
|
|
760
|
+
mutation RemoveAssortment($assortmentId: ID!) {
|
|
761
|
+
removeAssortment(assortmentId: $assortmentId) {
|
|
762
|
+
_id
|
|
763
|
+
}
|
|
764
|
+
}
|
|
765
|
+
`;
|
|
766
|
+
var useRemoveAssortment = () => {
|
|
767
|
+
const [removeAssortmentMutation] = useMutation(RemoveAssortmentMutation);
|
|
768
|
+
const removeAssortment = async ({
|
|
769
|
+
assortmentId
|
|
770
|
+
}) => {
|
|
771
|
+
return removeAssortmentMutation({
|
|
772
|
+
variables: { assortmentId },
|
|
773
|
+
refetchQueries: ["Assortments", "Assortment", "ShopStatus", "ShopInfo"]
|
|
774
|
+
});
|
|
775
|
+
};
|
|
776
|
+
return {
|
|
777
|
+
removeAssortment
|
|
778
|
+
};
|
|
779
|
+
};
|
|
780
|
+
var useRemoveAssortment_default = useRemoveAssortment;
|
|
781
|
+
var RemoveAssortmentFilterMutation = gql`
|
|
782
|
+
mutation RemoveAssortmentFilter($assortmentFilterId: ID!) {
|
|
783
|
+
removeAssortmentFilter(assortmentFilterId: $assortmentFilterId) {
|
|
784
|
+
_id
|
|
785
|
+
}
|
|
786
|
+
}
|
|
787
|
+
`;
|
|
788
|
+
var useRemoveAssortmentFilter = () => {
|
|
789
|
+
const [removeAssortmentFilterMutation] = useMutation(RemoveAssortmentFilterMutation);
|
|
790
|
+
const removeAssortmentFilter = async ({
|
|
791
|
+
assortmentFilterId
|
|
792
|
+
}) => {
|
|
793
|
+
return removeAssortmentFilterMutation({
|
|
794
|
+
variables: { assortmentFilterId },
|
|
795
|
+
refetchQueries: ["AssortmentFilters"]
|
|
796
|
+
});
|
|
797
|
+
};
|
|
798
|
+
return {
|
|
799
|
+
removeAssortmentFilter
|
|
800
|
+
};
|
|
801
|
+
};
|
|
802
|
+
var useRemoveAssortmentFilter_default = useRemoveAssortmentFilter;
|
|
803
|
+
var RemoveAssortmentLinkMutation = gql`
|
|
804
|
+
mutation RemoveAssortmentLink($assortmentLinkId: ID!) {
|
|
805
|
+
removeAssortmentLink(assortmentLinkId: $assortmentLinkId) {
|
|
806
|
+
_id
|
|
807
|
+
}
|
|
808
|
+
}
|
|
809
|
+
`;
|
|
810
|
+
var useRemoveAssortmentLink = () => {
|
|
811
|
+
const [removeAssortmentLinkMutation] = useMutation(RemoveAssortmentLinkMutation);
|
|
812
|
+
const removeAssortmentLink = async ({
|
|
813
|
+
assortmentLinkId
|
|
814
|
+
}) => {
|
|
815
|
+
return removeAssortmentLinkMutation({
|
|
816
|
+
variables: { assortmentLinkId },
|
|
817
|
+
refetchQueries: ["AssortmentLinks"]
|
|
818
|
+
});
|
|
819
|
+
};
|
|
820
|
+
return {
|
|
821
|
+
removeAssortmentLink
|
|
822
|
+
};
|
|
823
|
+
};
|
|
824
|
+
var useRemoveAssortmentLink_default = useRemoveAssortmentLink;
|
|
825
|
+
var RemoveAssortmentMediaMutation = gql`
|
|
826
|
+
mutation RemoveAssortmentMedia($assortmentMediaId: ID!) {
|
|
827
|
+
removeAssortmentMedia(assortmentMediaId: $assortmentMediaId) {
|
|
828
|
+
_id
|
|
829
|
+
}
|
|
830
|
+
}
|
|
831
|
+
`;
|
|
832
|
+
var useRemoveAssortmentMedia = () => {
|
|
833
|
+
const [removeAssortmentMediaMutation] = useMutation(RemoveAssortmentMediaMutation);
|
|
834
|
+
const removeAssortmentMedia = async ({
|
|
835
|
+
assortmentMediaId
|
|
836
|
+
}) => {
|
|
837
|
+
return removeAssortmentMediaMutation({
|
|
838
|
+
variables: { assortmentMediaId },
|
|
839
|
+
refetchQueries: ["AssortmentMedia"]
|
|
840
|
+
});
|
|
841
|
+
};
|
|
842
|
+
return {
|
|
843
|
+
removeAssortmentMedia
|
|
844
|
+
};
|
|
845
|
+
};
|
|
846
|
+
var useRemoveAssortmentMedia_default = useRemoveAssortmentMedia;
|
|
847
|
+
var RemoveAssortmentProductMutation = gql`
|
|
848
|
+
mutation RemoveAssortmentProduct($assortmentProductId: ID!) {
|
|
849
|
+
removeAssortmentProduct(assortmentProductId: $assortmentProductId) {
|
|
850
|
+
_id
|
|
851
|
+
}
|
|
852
|
+
}
|
|
853
|
+
`;
|
|
854
|
+
var useRemoveAssortmentProduct = () => {
|
|
855
|
+
const [removeAssortmentProductMutation] = useMutation(RemoveAssortmentProductMutation);
|
|
856
|
+
const removeAssortmentProduct = async ({
|
|
857
|
+
assortmentProductId
|
|
858
|
+
}) => {
|
|
859
|
+
return removeAssortmentProductMutation({
|
|
860
|
+
variables: { assortmentProductId },
|
|
861
|
+
refetchQueries: ["AssortmentProducts"]
|
|
862
|
+
});
|
|
863
|
+
};
|
|
864
|
+
return {
|
|
865
|
+
removeAssortmentProduct
|
|
866
|
+
};
|
|
867
|
+
};
|
|
868
|
+
var useRemoveAssortmentProduct_default = useRemoveAssortmentProduct;
|
|
869
|
+
var ReorderAssortmentFiltersMutation = gql`
|
|
870
|
+
mutation ReorderAssortmentFilters(
|
|
871
|
+
$sortKeys: [ReorderAssortmentFilterInput!]!
|
|
872
|
+
) {
|
|
873
|
+
reorderAssortmentFilters(sortKeys: $sortKeys) {
|
|
874
|
+
_id
|
|
875
|
+
sortKey
|
|
876
|
+
}
|
|
877
|
+
}
|
|
878
|
+
`;
|
|
879
|
+
var useReorderAssortmentFilters = () => {
|
|
880
|
+
const [reorderAssortmentFiltersMutation] = useMutation(ReorderAssortmentFiltersMutation);
|
|
881
|
+
const reorderAssortmentFilters = async ({
|
|
882
|
+
sortKeys
|
|
883
|
+
}) => {
|
|
884
|
+
return reorderAssortmentFiltersMutation({
|
|
885
|
+
variables: { sortKeys },
|
|
886
|
+
refetchQueries: ["AssortmentFilters"]
|
|
887
|
+
});
|
|
888
|
+
};
|
|
889
|
+
return {
|
|
890
|
+
reorderAssortmentFilters
|
|
891
|
+
};
|
|
892
|
+
};
|
|
893
|
+
var useReorderAssortmentFilters_default = useReorderAssortmentFilters;
|
|
894
|
+
var ReorderAssortmentLinkMutation = gql`
|
|
895
|
+
mutation ReorderAssortmentLinks($sortKeys: [ReorderAssortmentLinkInput!]!) {
|
|
896
|
+
reorderAssortmentLinks(sortKeys: $sortKeys) {
|
|
897
|
+
_id
|
|
898
|
+
sortKey
|
|
899
|
+
}
|
|
900
|
+
}
|
|
901
|
+
`;
|
|
902
|
+
var useReorderAssortmentLink = () => {
|
|
903
|
+
const [reorderAssortmentLinkMutation] = useMutation(ReorderAssortmentLinkMutation);
|
|
904
|
+
const reorderAssortmentLink = async ({
|
|
905
|
+
sortKeys
|
|
906
|
+
}) => {
|
|
907
|
+
return reorderAssortmentLinkMutation({
|
|
908
|
+
variables: { sortKeys },
|
|
909
|
+
refetchQueries: ["AssortmentLinks"]
|
|
910
|
+
});
|
|
911
|
+
};
|
|
912
|
+
return {
|
|
913
|
+
reorderAssortmentLink
|
|
914
|
+
};
|
|
915
|
+
};
|
|
916
|
+
var useReorderAssortmentLinks_default = useReorderAssortmentLink;
|
|
917
|
+
var ReorderAssortmentMediaMutation = gql`
|
|
918
|
+
mutation ReorderAssortmentMedia($sortKeys: [ReorderAssortmentMediaInput!]!) {
|
|
919
|
+
reorderAssortmentMedia(sortKeys: $sortKeys) {
|
|
920
|
+
_id
|
|
921
|
+
sortKey
|
|
922
|
+
}
|
|
923
|
+
}
|
|
924
|
+
`;
|
|
925
|
+
var useReorderAssortmentMedia = () => {
|
|
926
|
+
const [reorderAssortmentMediaMutation] = useMutation(ReorderAssortmentMediaMutation);
|
|
927
|
+
const reorderAssortmentMedia = async ({
|
|
928
|
+
sortKeys
|
|
929
|
+
}) => {
|
|
930
|
+
return reorderAssortmentMediaMutation({
|
|
931
|
+
variables: { sortKeys },
|
|
932
|
+
refetchQueries: ["AssortmentMedia"]
|
|
933
|
+
});
|
|
934
|
+
};
|
|
935
|
+
return {
|
|
936
|
+
reorderAssortmentMedia
|
|
937
|
+
};
|
|
938
|
+
};
|
|
939
|
+
var useReorderAssortmentMedia_default = useReorderAssortmentMedia;
|
|
940
|
+
var ReorderAssortmentProductsMutation = gql`
|
|
941
|
+
mutation ReorderAssortmentProducts(
|
|
942
|
+
$sortKeys: [ReorderAssortmentProductInput!]!
|
|
943
|
+
) {
|
|
944
|
+
reorderAssortmentProducts(sortKeys: $sortKeys) {
|
|
945
|
+
_id
|
|
946
|
+
sortKey
|
|
947
|
+
}
|
|
948
|
+
}
|
|
949
|
+
`;
|
|
950
|
+
var useReorderAssortmentProducts = () => {
|
|
951
|
+
const [reorderAssortmentProductsMutation] = useMutation(ReorderAssortmentProductsMutation);
|
|
952
|
+
const reorderAssortmentProducts = async ({
|
|
953
|
+
sortKeys
|
|
954
|
+
}) => {
|
|
955
|
+
return reorderAssortmentProductsMutation({
|
|
956
|
+
variables: { sortKeys },
|
|
957
|
+
refetchQueries: ["AssortmentProducts"]
|
|
958
|
+
});
|
|
959
|
+
};
|
|
960
|
+
return {
|
|
961
|
+
reorderAssortmentProducts
|
|
962
|
+
};
|
|
963
|
+
};
|
|
964
|
+
var useReorderAssortmentProducts_default = useReorderAssortmentProducts;
|
|
965
|
+
var AssortmentMediaTextsFragment = gql`
|
|
966
|
+
fragment AssortmentMediaTextsFragment on AssortmentMediaTexts {
|
|
967
|
+
_id
|
|
968
|
+
locale
|
|
969
|
+
title
|
|
970
|
+
subtitle
|
|
971
|
+
}
|
|
972
|
+
`;
|
|
973
|
+
var AssortmentMediaTextsFragment_default = AssortmentMediaTextsFragment;
|
|
974
|
+
|
|
975
|
+
// src/modules/assortment/hooks/useTranslatedAssortmentMediaTexts.ts
|
|
976
|
+
var TranslatedAssortmentMediaTextsQuery = gql`
|
|
977
|
+
query TranslatedAssortmentMediaTexts($assortmentMediaId: ID!) {
|
|
978
|
+
translatedAssortmentMediaTexts(assortmentMediaId: $assortmentMediaId) {
|
|
979
|
+
...AssortmentMediaTextsFragment
|
|
980
|
+
}
|
|
981
|
+
}
|
|
982
|
+
${AssortmentMediaTextsFragment_default}
|
|
983
|
+
`;
|
|
984
|
+
var useTranslatedAssortmentMediaTexts = ({
|
|
985
|
+
assortmentMediaId = null
|
|
986
|
+
}) => {
|
|
987
|
+
const { data, loading, error } = useQuery(TranslatedAssortmentMediaTextsQuery, {
|
|
988
|
+
skip: !assortmentMediaId,
|
|
989
|
+
variables: {
|
|
990
|
+
assortmentMediaId
|
|
991
|
+
}
|
|
992
|
+
});
|
|
993
|
+
const translatedAssortmentMediaTexts = data?.translatedAssortmentMediaTexts || [];
|
|
994
|
+
return {
|
|
995
|
+
loading,
|
|
996
|
+
error,
|
|
997
|
+
translatedAssortmentMediaTexts
|
|
998
|
+
};
|
|
999
|
+
};
|
|
1000
|
+
var useTranslatedAssortmentMediaTexts_default = useTranslatedAssortmentMediaTexts;
|
|
1001
|
+
var AssortmentTextsFragment = gql`
|
|
1002
|
+
fragment AssortmentTextsFragment on AssortmentTexts {
|
|
1003
|
+
_id
|
|
1004
|
+
locale
|
|
1005
|
+
slug
|
|
1006
|
+
title
|
|
1007
|
+
subtitle
|
|
1008
|
+
description
|
|
1009
|
+
}
|
|
1010
|
+
`;
|
|
1011
|
+
var AssortmentTextsFragment_default = AssortmentTextsFragment;
|
|
1012
|
+
|
|
1013
|
+
// src/modules/assortment/hooks/useTranslatedAssortmentTexts.ts
|
|
1014
|
+
var TranslatedAssortmentTextsQuery = gql`
|
|
1015
|
+
query TranslatedAssortmentTexts($assortmentId: ID!) {
|
|
1016
|
+
translatedAssortmentTexts(assortmentId: $assortmentId) {
|
|
1017
|
+
...AssortmentTextsFragment
|
|
1018
|
+
}
|
|
1019
|
+
}
|
|
1020
|
+
${AssortmentTextsFragment_default}
|
|
1021
|
+
`;
|
|
1022
|
+
var useTranslatedAssortmentTexts = ({
|
|
1023
|
+
assortmentId = null
|
|
1024
|
+
}) => {
|
|
1025
|
+
const { data, loading, error } = useQuery(TranslatedAssortmentTextsQuery, {
|
|
1026
|
+
skip: !assortmentId,
|
|
1027
|
+
variables: {
|
|
1028
|
+
assortmentId
|
|
1029
|
+
}
|
|
1030
|
+
});
|
|
1031
|
+
const translatedAssortmentTexts = data?.translatedAssortmentTexts || [];
|
|
1032
|
+
return {
|
|
1033
|
+
loading,
|
|
1034
|
+
error,
|
|
1035
|
+
translatedAssortmentTexts
|
|
1036
|
+
};
|
|
1037
|
+
};
|
|
1038
|
+
var useTranslatedAssortmentTexts_default = useTranslatedAssortmentTexts;
|
|
1039
|
+
var UpdateAssortmentMutation = gql`
|
|
1040
|
+
mutation UpdateAssortment(
|
|
1041
|
+
$assortment: UpdateAssortmentInput!
|
|
1042
|
+
$assortmentId: ID!
|
|
1043
|
+
) {
|
|
1044
|
+
updateAssortment(assortment: $assortment, assortmentId: $assortmentId) {
|
|
1045
|
+
_id
|
|
1046
|
+
}
|
|
1047
|
+
}
|
|
1048
|
+
`;
|
|
1049
|
+
var useUpdateAssortment = () => {
|
|
1050
|
+
const [updateAssortmentMutation] = useMutation(UpdateAssortmentMutation);
|
|
1051
|
+
const updateAssortment = async ({
|
|
1052
|
+
assortmentId,
|
|
1053
|
+
assortment: { isRoot, tags, sequence, isActive }
|
|
1054
|
+
}) => {
|
|
1055
|
+
return updateAssortmentMutation({
|
|
1056
|
+
variables: {
|
|
1057
|
+
assortment: { isRoot, tags, sequence, isActive },
|
|
1058
|
+
assortmentId
|
|
1059
|
+
},
|
|
1060
|
+
refetchQueries: ["Assortments", "Assortment"]
|
|
1061
|
+
});
|
|
1062
|
+
};
|
|
1063
|
+
return {
|
|
1064
|
+
updateAssortment
|
|
1065
|
+
};
|
|
1066
|
+
};
|
|
1067
|
+
var useUpdateAssortment_default = useUpdateAssortment;
|
|
1068
|
+
var UpdateAssortmentMediaTextsMutation = gql`
|
|
1069
|
+
mutation UpdateAssortmentMediaTexts(
|
|
1070
|
+
$assortmentMediaId: ID!
|
|
1071
|
+
$texts: [AssortmentMediaTextInput!]!
|
|
1072
|
+
) {
|
|
1073
|
+
updateAssortmentMediaTexts(
|
|
1074
|
+
assortmentMediaId: $assortmentMediaId
|
|
1075
|
+
texts: $texts
|
|
1076
|
+
) {
|
|
1077
|
+
...AssortmentMediaTextsFragment
|
|
1078
|
+
}
|
|
1079
|
+
}
|
|
1080
|
+
${AssortmentMediaTextsFragment_default}
|
|
1081
|
+
`;
|
|
1082
|
+
var useUpdateAssortmentMediaTexts = () => {
|
|
1083
|
+
const [updateAssortmentMediaTextsMutation] = useMutation(UpdateAssortmentMediaTextsMutation);
|
|
1084
|
+
const updateAssortmentMediaTexts = async ({
|
|
1085
|
+
assortmentMediaId,
|
|
1086
|
+
texts
|
|
1087
|
+
}) => {
|
|
1088
|
+
return updateAssortmentMediaTextsMutation({
|
|
1089
|
+
variables: { assortmentMediaId, texts },
|
|
1090
|
+
refetchQueries: ["TranslatedAssortmentMediaTexts"]
|
|
1091
|
+
});
|
|
1092
|
+
};
|
|
1093
|
+
return {
|
|
1094
|
+
updateAssortmentMediaTexts
|
|
1095
|
+
};
|
|
1096
|
+
};
|
|
1097
|
+
var useUpdateAssortmentMediaTexts_default = useUpdateAssortmentMediaTexts;
|
|
1098
|
+
var UpdateAssortmentTextsMutation = gql`
|
|
1099
|
+
mutation updateAssortmentTexts(
|
|
1100
|
+
$assortmentId: ID!
|
|
1101
|
+
$texts: [AssortmentTextInput!]!
|
|
1102
|
+
) {
|
|
1103
|
+
updateAssortmentTexts(assortmentId: $assortmentId, texts: $texts) {
|
|
1104
|
+
...AssortmentTextsFragment
|
|
1105
|
+
}
|
|
1106
|
+
}
|
|
1107
|
+
${AssortmentTextsFragment_default}
|
|
1108
|
+
`;
|
|
1109
|
+
var useUpdateAssortmentTexts = () => {
|
|
1110
|
+
const [updateAssortmentTextsMutation] = useMutation(UpdateAssortmentTextsMutation);
|
|
1111
|
+
const updateAssortmentTexts = async ({
|
|
1112
|
+
assortmentId,
|
|
1113
|
+
texts
|
|
1114
|
+
}) => {
|
|
1115
|
+
return updateAssortmentTextsMutation({
|
|
1116
|
+
variables: { assortmentId, texts },
|
|
1117
|
+
refetchQueries: ["TranslatedAssortmentTexts", "Assortment"]
|
|
1118
|
+
});
|
|
1119
|
+
};
|
|
1120
|
+
return {
|
|
1121
|
+
updateAssortmentTexts
|
|
1122
|
+
};
|
|
1123
|
+
};
|
|
1124
|
+
var useUpdateAssortmentTexts_default = useUpdateAssortmentTexts;
|
|
1125
|
+
|
|
1126
|
+
export { useAddAssortmentFilter_default as useAddAssortmentFilter, useAddAssortmentLink_default as useAddAssortmentLink, useAddAssortmentMedia_default as useAddAssortmentMedia, useAddAssortmentProduct_default as useAddAssortmentProduct, useAssortment_default as useAssortment, useAssortmentChildren_default as useAssortmentChildren, useAssortmentFilters_default as useAssortmentFilters, useAssortmentLinks_default as useAssortmentLinks, useAssortmentMedia_default as useAssortmentMedia, useAssortmentPaths_default as useAssortmentPaths, useAssortmentProducts_default as useAssortmentProducts, useAssortments_default as useAssortments, useAssortmentsCount_default as useAssortmentsCount, useCreateAssortment_default as useCreateAssortment, usePrepareAssortmentImport_default as usePrepareAssortmentImport, useRemoveAssortment_default as useRemoveAssortment, useRemoveAssortmentFilter_default as useRemoveAssortmentFilter, useRemoveAssortmentLink_default as useRemoveAssortmentLink, useRemoveAssortmentMedia_default as useRemoveAssortmentMedia, useRemoveAssortmentProduct_default as useRemoveAssortmentProduct, useReorderAssortmentFilters_default as useReorderAssortmentFilters, useReorderAssortmentLinks_default as useReorderAssortmentLinks, useReorderAssortmentMedia_default as useReorderAssortmentMedia, useReorderAssortmentProducts_default as useReorderAssortmentProducts, useTranslatedAssortmentMediaTexts_default as useTranslatedAssortmentMediaTexts, useTranslatedAssortmentTexts_default as useTranslatedAssortmentTexts, useUpdateAssortment_default as useUpdateAssortment, useUpdateAssortmentMediaTexts_default as useUpdateAssortmentMediaTexts, useUpdateAssortmentTexts_default as useUpdateAssortmentTexts };
|