@unchainedshop/admin-ui 4.8.26 → 4.8.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunk-2RTX42IE.js +2083 -0
- package/dist/chunk-4VNS5WPM.js +37 -0
- package/dist/chunk-54DKBWXV.js +33 -0
- package/dist/chunk-6UGLNLJG.js +44 -0
- package/dist/chunk-7PPOGX7R.js +581 -0
- package/dist/chunk-COV7BREX.js +50 -0
- package/dist/chunk-EJDZRZSZ.js +59 -0
- package/dist/chunk-ELPURWDC.js +75 -0
- package/dist/chunk-F2TCVEQX.js +514 -0
- package/dist/chunk-GY2DRQGW.js +166 -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-JAVEZY3Q.js +65 -0
- package/dist/chunk-KCN7DDPH.js +1116 -0
- package/dist/chunk-KH5MK6ZW.js +18 -0
- package/dist/chunk-MSPWYMDY.js +665 -0
- package/dist/chunk-NT7RB7AK.js +70 -0
- package/dist/chunk-OKGJ6HDE.js +26 -0
- package/dist/chunk-Q6S3LBUF.js +180 -0
- package/dist/chunk-QNLGYFV7.js +22 -0
- package/dist/chunk-QWQ3WJJN.js +1 -0
- package/dist/chunk-RAQV2GYF.js +70 -0
- package/dist/chunk-RORNAN2J.js +12 -0
- package/dist/chunk-RVG6IOFC.js +11 -0
- package/dist/chunk-SRAAKMWY.js +39 -0
- package/dist/chunk-VDKQGOMV.js +840 -0
- package/dist/chunk-XHOCXPD5.js +9 -0
- package/dist/chunk-XJBPMIC4.js +284 -0
- package/dist/chunk-YO6PT7KD.js +13 -0
- package/dist/chunk-YZGQJJCD.js +37 -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 +17 -0
- package/dist/components/ui/form/index.d.ts.map +1 -0
- package/dist/components/ui/icons.d.ts +4 -0
- package/dist/components/ui/icons.d.ts.map +1 -0
- package/dist/components/ui/index.d.ts +41 -0
- package/dist/components/ui/index.d.ts.map +1 -0
- package/dist/form.js +28310 -0
- package/dist/gql/operation-types.d.ts +13043 -0
- package/dist/gql/operation-types.d.ts.map +1 -0
- package/dist/gql/schema-types.d.ts +3820 -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 +42 -0
- package/dist/lib/utils.d.ts +3 -0
- package/dist/lib/utils.d.ts.map +1 -0
- package/dist/modal.js +118 -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/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/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 +1925 -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 +320 -0
- package/dist/plugins.js +13 -0
- package/dist/providers.js +6 -0
- package/dist/sdk/hooks.d.ts +9 -0
- package/dist/sdk/hooks.d.ts.map +1 -0
- package/dist/sdk/modal.d.ts +7 -0
- package/dist/sdk/modal.d.ts.map +1 -0
- package/dist/sdk/plugins.d.ts +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 +19358 -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/04bb4k67x398t.js +1 -0
- package/out/_next/static/chunks/{2g0f0awj5p2qc.js → 06a1c2sikfkdk.js} +4 -4
- package/out/_next/static/chunks/{036jcj4okqca4.js → 06tejx8u1_0kg.js} +1 -1
- package/out/_next/static/chunks/{3u3tcrl7wxrzi.js → 0amvl_hv6wa7d.js} +5 -5
- package/out/_next/static/chunks/{2rw-r9fvx6t4y.js → 0bx11n-vs9rye.js} +5 -5
- package/out/_next/static/chunks/0fiwxqhlo_suy.js +14 -0
- package/out/_next/static/chunks/{18e-92lfg29wn.js → 0g1ikcsz2gw8d.js} +8 -8
- package/out/_next/static/chunks/{1bhsgjj7bbftc.js → 0g6hr3dmen536.js} +2 -2
- package/out/_next/static/chunks/{1r0jyqmys60fw.js → 0hg96-q-sy8p3.js} +5 -5
- package/out/_next/static/chunks/{21lf0tu71e9e5.js → 0irr04sbnadk8.js} +8 -8
- package/out/_next/static/chunks/{0pj6j2o4ya0xs.js → 0pp2j5ys0s75h.js} +8 -8
- package/out/_next/static/chunks/{3k98cr566roh-.js → 0prynyrvhm7ef.js} +2 -2
- package/out/_next/static/chunks/0r5wwinf72z4g.js +1 -0
- package/out/_next/static/chunks/{2cnc1jkfc85_x.js → 0t-8fvpr3gwkw.js} +4 -4
- package/out/_next/static/chunks/{1_g-csysa-i-9.js → 0w0zigi7aws2m.js} +1 -1
- package/out/_next/static/chunks/{1w_4l5gk0n27a.js → 0w6403ca0wd40.js} +5 -5
- package/out/_next/static/chunks/{1mo_wvf-1w8h-.js → 0x34_uvhgol1o.js} +5 -5
- package/out/_next/static/chunks/{2p6deqdf8dlo0.js → 11496j8y5izl0.js} +7 -7
- package/out/_next/static/chunks/{0dvf7ltl55td_.js → 16b-fme2lvyik.js} +6 -6
- package/out/_next/static/chunks/{0l3hp2c6_v3vu.js → 17rvdo97_73-r.js} +5 -5
- package/out/_next/static/chunks/{1gv6j3dx9s71x.js → 17t_4qy79-xou.js} +6 -6
- package/out/_next/static/chunks/{2v0koj5wv-png.js → 194e8b6x5qm5k.js} +5 -5
- package/out/_next/static/chunks/{0yhj5b33a-dp1.js → 1asyhd18d8b19.js} +12 -12
- package/out/_next/static/chunks/{40v94fy15qxej.js → 1dj6rtr2zagxl.js} +5 -5
- package/out/_next/static/chunks/{0172idn4wi-am.js → 1dv2thnikolnz.js} +6 -6
- package/out/_next/static/chunks/1f8hl62epp2bs.js +5 -0
- package/out/_next/static/chunks/1fzbon-ih4_3j.js +1 -0
- package/out/_next/static/chunks/{2vy8ae-zwwle1.js → 1ikc8-ca87tw_.js} +8 -8
- package/out/_next/static/chunks/{0ac5zzn3zeki5.js → 1pv3s5pi4mn-7.js} +8 -8
- package/out/_next/static/chunks/{404_8bnljpu18.js → 1qnsi9q49l6yt.js} +5 -5
- package/out/_next/static/chunks/{4188i5qe83m24.js → 1s5id04nxpmov.js} +7 -7
- package/out/_next/static/chunks/{05dtc5uryjkmn.js → 1u56ggvtfz1pw.js} +5 -5
- package/out/_next/static/chunks/{37rq4vcfobv9x.js → 1u9myfa-qi11x.js} +5 -5
- package/out/_next/static/chunks/{3dbskin37ha12.js → 1vmcguc9yb6gq.js} +6 -6
- package/out/_next/static/chunks/{0-b63f3cwlt9h.js → 1w30h0skp16nw.js} +5 -5
- package/out/_next/static/chunks/{1hpx7xjq9a5bq.js → 1wrffo12-xpad.js} +5 -5
- package/out/_next/static/chunks/{3-h5nu9jontfy.js → 1yi1a106ht-nz.js} +6 -6
- package/out/_next/static/chunks/{1epelh6347c59.js → 1zh3wmaf2a0wq.js} +9 -9
- package/out/_next/static/chunks/{1o41sjh1nhwir.js → 1zmw93-y4onb8.js} +7 -7
- package/out/_next/static/chunks/{3yqw8z_udrol0.js → 201rx84kyo8ag.js} +1 -1
- package/out/_next/static/chunks/22ial6oluoicg.js +100 -0
- package/out/_next/static/chunks/{21c515liq8_sf.js → 22mbms24up6d4.js} +4 -4
- package/out/_next/static/chunks/{1f536itbgwelp.js → 23thyqnxwb_h4.js} +6 -6
- package/out/_next/static/chunks/{2_0bsdj7k4kue.js → 24zql9mxp7je7.js} +5 -5
- package/out/_next/static/chunks/{31j6x_qgtn-7j.js → 26qclo9iliv0v.js} +5 -5
- package/out/_next/static/chunks/{2vhqw66fy605y.js → 2_kc34rl9smyf.js} +6 -6
- package/out/_next/static/chunks/{0c1eqd9oamcur.js → 2ay53yz_k-gka.js} +6 -6
- package/out/_next/static/chunks/{1k703f4i1hgfy.js → 2cl2qh-t0bp-x.js} +6 -6
- package/out/_next/static/chunks/{30zp6-w17u9rt.js → 2impwm9m10-y5.js} +6 -6
- package/out/_next/static/chunks/{3s18b668qqa87.js → 2mq7-oeknij50.js} +6 -6
- package/out/_next/static/chunks/{2f8qzo__ksyu7.js → 2puhcafuku-tt.js} +6 -6
- package/out/_next/static/chunks/{2ecq8dhsm2eu1.js → 2qocgb90m12d8.js} +1 -1
- package/out/_next/static/chunks/{2z5b35yv3i6aq.js → 2r9etl_ej7yq8.js} +5 -5
- package/out/_next/static/chunks/{0dtahnosgvou_.js → 2s6eb6877qk5z.js} +5 -5
- package/out/_next/static/chunks/{2b_lhf_533k0a.js → 2slrs8mk6-_qy.js} +7 -7
- package/out/_next/static/chunks/2t724bghemjmf.js +28 -0
- package/out/_next/static/chunks/{20wamkfz03l6l.js → 2u435g-3ydo_e.js} +6 -6
- package/out/_next/static/chunks/{0k433cermb_mg.js → 2vv2odme20_bj.js} +11 -11
- package/out/_next/static/chunks/{2-ciniqgtu96t.js → 2yjnzxw72qkwa.js} +4 -4
- package/out/_next/static/chunks/{40bl8g3_13c59.js → 2ypcj5e-tv2ki.js} +4 -4
- package/out/_next/static/chunks/{3wm88ukxj8u46.js → 31yuk0tzdgnsq.js} +6 -6
- package/out/_next/static/chunks/33tjpl4-mac6i.js +10 -0
- package/out/_next/static/chunks/36yth4lm03_j8.js +1 -0
- package/out/_next/static/chunks/{2eo4m196-t6ed.js → 389rjxe1t1mxi.js} +4 -4
- package/out/_next/static/chunks/{378867ti5yucc.js → 3a7wm2331v13r.js} +1 -1
- package/out/_next/static/chunks/{27tp9qrxhs6uf.js → 3dshohnaq5dpb.js} +7 -7
- package/out/_next/static/chunks/{0c2th4nk1xlfd.js → 3e-hohr5rbfgs.js} +6 -6
- package/out/_next/static/chunks/{0o16fnqhx30be.js → 3e2sowyws346l.js} +6 -6
- package/out/_next/static/chunks/{2y9z7y6i5cawj.js → 3gl6y4hg4xqh1.js} +5 -5
- package/out/_next/static/chunks/{1hwup6qqzqzh8.js → 3js2_oj1o86yv.js} +9 -9
- package/out/_next/static/chunks/{17wc5344qnib1.js → 3nnzjetbwg4mr.js} +5 -5
- package/out/_next/static/chunks/{1v16gcok-ktdo.js → 3oxv1fo564rrf.js} +1 -1
- package/out/_next/static/chunks/3s22ovhmk-4h7.js +1 -0
- package/out/_next/static/chunks/3sktz8258so64.js +2 -0
- package/out/_next/static/chunks/{3-av_88np5f5_.js → 3t-cwqu-9qfvs.js} +4 -4
- package/out/_next/static/chunks/{2o7wjpjbr5vau.js → 3tn3fjkayia2l.js} +5 -5
- package/out/_next/static/chunks/{1bp_0jnta8nj1.js → 3v-4df_kpu7wl.js} +6 -6
- package/out/_next/static/chunks/3xfj8_2nd5d_1.js +1 -0
- package/out/_next/static/chunks/42gvqnnznu5d5.js +10 -0
- package/out/_next/static/chunks/{03_e40kzqm4nj.js → 44hx7evqwmlix.js} +4 -4
- package/out/_next/static/chunks/{turbopack-0bljt1tp0zt4q.js → turbopack-0-h3wxx12zewd.js} +1 -1
- package/out/_next/static/chunks/{turbopack-3xem4akmi9at9.js → turbopack-0-huij9pkr6i5.js} +1 -1
- package/out/_next/static/chunks/{turbopack-3-kzs1xrhesa8.js → turbopack-00ka03s4zfhmk.js} +1 -1
- package/out/_next/static/chunks/turbopack-00rnle9d3h5j8.js +1 -0
- package/out/_next/static/chunks/{turbopack-1gbk68s3o1ulv.js → turbopack-0a9my88c0do8o.js} +1 -1
- package/out/_next/static/chunks/{turbopack-14zydki2yqyd3.js → turbopack-0ah23ustnbjgw.js} +1 -1
- package/out/_next/static/chunks/turbopack-0bj4v4kbzidiu.js +1 -0
- package/out/_next/static/chunks/{turbopack-3zxsk_hikkrwx.js → turbopack-0ca90b_8se2ws.js} +1 -1
- package/out/_next/static/chunks/{turbopack-1bnaj5x8w5m6z.js → turbopack-0hwktepjs4shu.js} +1 -1
- package/out/_next/static/chunks/{turbopack-328hjoqts5fe-.js → turbopack-0iqoh65_n4y31.js} +1 -1
- package/out/_next/static/chunks/{turbopack-0j92hsdmi8k6p.js → turbopack-0m53ts1akyqg9.js} +1 -1
- package/out/_next/static/chunks/{turbopack-1k2h3st-nygbo.js → turbopack-0mp6vcjbi4oj6.js} +1 -1
- package/out/_next/static/chunks/{turbopack-08u3rgl_09tb7.js → turbopack-0p995f9piwklo.js} +1 -1
- package/out/_next/static/chunks/{turbopack-0ywznohf-p_-1.js → turbopack-0pdfslh_xau4v.js} +1 -1
- package/out/_next/static/chunks/{turbopack-15x3cqzaaew93.js → turbopack-0q1m4v0r5_pw-.js} +1 -1
- package/out/_next/static/chunks/{turbopack-0cbhwv4g0ak0q.js → turbopack-0wc1wpl3t5cbf.js} +1 -1
- package/out/_next/static/chunks/{turbopack-34gjko7_04blz.js → turbopack-0wu_ea8477kfb.js} +1 -1
- package/out/_next/static/chunks/{turbopack-26z9lzkojt-cx.js → turbopack-0x-489k903f9f.js} +1 -1
- package/out/_next/static/chunks/{turbopack-252a5rlyrq9fk.js → turbopack-11i280gb7ytob.js} +1 -1
- package/out/_next/static/chunks/{turbopack-3cnuj1vf45306.js → turbopack-11mgtsuzuth10.js} +1 -1
- package/out/_next/static/chunks/{turbopack-1w3-o4vpw_tgq.js → turbopack-14elmv-0t42r4.js} +1 -1
- package/out/_next/static/chunks/{turbopack-10l1gows-lyo9.js → turbopack-18b89oxgeg1p3.js} +1 -1
- package/out/_next/static/chunks/{turbopack-0jijm5fs2d3pa.js → turbopack-1j4b2o2gyndaw.js} +1 -1
- package/out/_next/static/chunks/{turbopack-3qmjh91o7wte5.js → turbopack-1kg_x57lhnhln.js} +1 -1
- package/out/_next/static/chunks/{turbopack-2xm-84om1nxe3.js → turbopack-1m20zbo-8iwfh.js} +1 -1
- package/out/_next/static/chunks/{turbopack-34cd6px36-_ae.js → turbopack-1rmdtpi005n_6.js} +1 -1
- package/out/_next/static/chunks/{turbopack-0bp88aylp19tu.js → turbopack-1sy__tr_jpy9p.js} +1 -1
- package/out/_next/static/chunks/{turbopack-0hpk8f7-2xoz3.js → turbopack-22l2qxvuvnfnm.js} +1 -1
- package/out/_next/static/chunks/{turbopack-3ma-qc75tctdd.js → turbopack-259f81vw0sjro.js} +1 -1
- package/out/_next/static/chunks/{turbopack-42akqkt4irsps.js → turbopack-25n3ygfcffvqv.js} +1 -1
- package/out/_next/static/chunks/{turbopack-3ouyppea8jp6k.js → turbopack-2ah1mf3i_019l.js} +1 -1
- package/out/_next/static/chunks/{turbopack-272y7gt3ncsq7.js → turbopack-2d2i6sp7ig7ar.js} +1 -1
- package/out/_next/static/chunks/{turbopack-0i_uv1p6_dyo-.js → turbopack-2dog_ytiydz1b.js} +1 -1
- package/out/_next/static/chunks/{turbopack-3591lq9bl5zm-.js → turbopack-2dp-kk65cjuz1.js} +1 -1
- package/out/_next/static/chunks/turbopack-2kbsoz95aykk8.js +1 -0
- package/out/_next/static/chunks/{turbopack-3n_3uj335tm0n.js → turbopack-2rnunhgad49uw.js} +1 -1
- package/out/_next/static/chunks/{turbopack-2h3q2k9k2riyq.js → turbopack-2u8czufggehlj.js} +1 -1
- package/out/_next/static/chunks/{turbopack-06hufy_7yovzw.js → turbopack-2v6rz3zo07si0.js} +1 -1
- package/out/_next/static/chunks/{turbopack-25bgi6hb6qg8w.js → turbopack-2w27fkgilqbl3.js} +1 -1
- package/out/_next/static/chunks/{turbopack-0cu-maxx6s175.js → turbopack-2x4qn8b3l97el.js} +1 -1
- package/out/_next/static/chunks/{turbopack-3uov6gvwwuxmx.js → turbopack-31liqa7xywfc3.js} +1 -1
- package/out/_next/static/chunks/{turbopack-14qzcqdgveoel.js → turbopack-32aublis-jlvx.js} +1 -1
- package/out/_next/static/chunks/{turbopack-34rebh56g2zjd.js → turbopack-3467hrkyb1r4-.js} +1 -1
- package/out/_next/static/chunks/{turbopack-3aujkr72l5znq.js → turbopack-35lc2tzfqfnq3.js} +1 -1
- package/out/_next/static/chunks/{turbopack-3mxiudedhdbib.js → turbopack-37465j0f7qzui.js} +1 -1
- package/out/_next/static/chunks/{turbopack-3seov_dvv8im-.js → turbopack-374ar5091nfoc.js} +1 -1
- package/out/_next/static/chunks/{turbopack-2jpit5njafpgz.js → turbopack-37k0iid3ve75q.js} +1 -1
- package/out/_next/static/chunks/{turbopack-3np05fneli2gv.js → turbopack-37z02xo4d9761.js} +1 -1
- package/out/_next/static/chunks/{turbopack-22r1qh8g6munp.js → turbopack-3aw_3x16wx0hg.js} +1 -1
- package/out/_next/static/chunks/{turbopack-2b14t7jx5tgn7.js → turbopack-3d4st1erykui5.js} +1 -1
- package/out/_next/static/chunks/{turbopack-0nlhzx_9rg6_p.js → turbopack-3nxt9w32_n_vs.js} +1 -1
- package/out/_next/static/chunks/{turbopack-1w2r6t0rjz8pp.js → turbopack-3p03o8o_0h4o1.js} +1 -1
- package/out/_next/static/chunks/turbopack-3qenf92gnhnqu.js +1 -0
- package/out/_next/static/chunks/{turbopack-148_1qw3wae7d.js → turbopack-3s9690f4fp1sr.js} +1 -1
- package/out/_next/static/chunks/{turbopack-13nb0axu41yph.js → turbopack-3v-9xb14o2wcf.js} +1 -1
- package/out/_next/static/chunks/{turbopack-3opb94dwpz7bg.js → turbopack-3wy9kdvqtyrqr.js} +1 -1
- package/out/_next/static/chunks/{turbopack-2cvqtdfi5z-33.js → turbopack-3xy1pj-av41-3.js} +1 -1
- package/out/_next/static/chunks/{turbopack-0la8grv9f6bxn.js → turbopack-3z_pmy149cb3t.js} +1 -1
- package/out/_next/static/chunks/{turbopack-1r4g2xna7gckz.js → turbopack-3zk-yr-2ktefz.js} +1 -1
- package/out/_next/static/chunks/{turbopack-2ihmy6dk991x4.js → turbopack-400v7uvt-ygyn.js} +1 -1
- package/out/_next/static/chunks/{turbopack-1ddkj8w1l0b4_.js → turbopack-41jswgtq4l3-n.js} +1 -1
- package/out/_next/static/chunks/{turbopack-0rt_vkqrb6ykb.js → turbopack-42kawbzqb610r.js} +1 -1
- package/out/_next/static/chunks/{turbopack-25hv3ltvy0wos.js → turbopack-430a09gmn8rwm.js} +1 -1
- package/out/_next/static/{_TiowajLX6Z3MYsLPNgxd → lMHTn15MSw1RJOw-DD9ir}/_buildManifest.js +62 -62
- package/out/_offline/index.html +2 -2
- package/out/account/forgot-password/index.html +2 -2
- package/out/account/index.html +2 -2
- package/out/assortments/AssortmentDetailPage/index.html +2 -2
- package/out/assortments/index.html +2 -2
- package/out/assortments/new/index.html +2 -2
- package/out/copilot/index.html +2 -2
- package/out/country/CountryDetailPage/index.html +2 -2
- package/out/country/index.html +2 -2
- package/out/country/new/index.html +2 -2
- package/out/currency/CurrencyDetailPage/index.html +2 -2
- package/out/currency/index.html +2 -2
- package/out/currency/new/index.html +2 -2
- package/out/delivery-provider/DeliveryProviderDetailPage/index.html +2 -2
- package/out/delivery-provider/index.html +2 -2
- package/out/delivery-provider/new/index.html +2 -2
- package/out/enrollments/EnrollmentDetailPage/index.html +2 -2
- package/out/enrollments/index.html +2 -2
- package/out/events/EventDetailPage/index.html +2 -2
- package/out/events/index.html +2 -2
- package/out/exports/index.html +2 -2
- package/out/external/index.html +2 -2
- package/out/filters/FilterDetailPage/index.html +2 -2
- package/out/filters/index.html +2 -2
- package/out/filters/new/index.html +2 -2
- package/out/index.html +2 -2
- package/out/install/index.html +2 -2
- package/out/language/LanguageDetailPage/index.html +2 -2
- package/out/language/index.html +2 -2
- package/out/language/new/index.html +2 -2
- package/out/log-in/index.html +2 -2
- package/out/manifest.json +48 -0
- package/out/orders/OrderDetailPage/index.html +2 -2
- package/out/orders/index.html +2 -2
- package/out/payment-provider/PaymentProviderDetailPage/index.html +2 -2
- package/out/payment-provider/index.html +2 -2
- package/out/payment-provider/new/index.html +2 -2
- package/out/products/ProductDetailPage/index.html +2 -2
- package/out/products/index.html +2 -2
- package/out/products/new/index.html +2 -2
- package/out/quotations/QuotationDetailPage/index.html +2 -2
- package/out/quotations/index.html +2 -2
- package/out/reset-password/index.html +2 -2
- package/out/sign-up/index.html +2 -2
- package/out/styleguide/index.html +2 -2
- package/out/tokens/TokenDetailPage/index.html +2 -2
- package/out/tokens/index.html +2 -2
- package/out/users/UserDetailPage/index.html +2 -2
- package/out/users/index.html +2 -2
- package/out/users/new/index.html +2 -2
- package/out/verify-email/index.html +2 -2
- package/out/warehousing-provider/WarehousingProviderDetailPage/index.html +2 -2
- package/out/warehousing-provider/index.html +2 -2
- package/out/warehousing-provider/new/index.html +2 -2
- package/out/works/WorkDetailPage/index.html +2 -2
- package/out/works/WorkQueueListView/index.html +2 -2
- package/out/works/index.html +2 -2
- package/out/works/management/index.html +2 -2
- package/package.json +2 -2
- package/out/_next/static/chunks/0cm0oyd82zvez.js +0 -1
- package/out/_next/static/chunks/119eyvb0tl4d7.js +0 -5
- package/out/_next/static/chunks/1shkyosfbiwr4.js +0 -1
- package/out/_next/static/chunks/1t20r1ofch5r3.js +0 -95
- package/out/_next/static/chunks/1yv01jo2m1gkf.js +0 -1
- package/out/_next/static/chunks/2cwzp5h99c8es.js +0 -10
- package/out/_next/static/chunks/2tw-iq1oliu-h.js +0 -1
- package/out/_next/static/chunks/3-hdz4_6asex-.js +0 -10
- package/out/_next/static/chunks/31_pg1fxqgdfx.js +0 -14
- package/out/_next/static/chunks/3bxtyo0u_psf7.js +0 -1
- package/out/_next/static/chunks/3f-ap6wo94un_.js +0 -1
- package/out/_next/static/chunks/3ghzaufs2n8uq.js +0 -2
- package/out/_next/static/chunks/3rnl7-84z1op5.js +0 -28
- package/out/_next/static/chunks/turbopack-3-84r4h6w7ztq.js +0 -1
- package/out/_next/static/chunks/turbopack-3x5pttfv2qlpw.js +0 -1
- package/out/_next/static/chunks/turbopack-3z9v3oefxw81i.js +0 -1
- package/out/_next/static/chunks/turbopack-44bpgib3rn1s2.js +0 -1
- /package/out/_next/static/{_TiowajLX6Z3MYsLPNgxd → lMHTn15MSw1RJOw-DD9ir}/_clientMiddlewareManifest.js +0 -0
- /package/out/_next/static/{_TiowajLX6Z3MYsLPNgxd → lMHTn15MSw1RJOw-DD9ir}/_ssgManifest.js +0 -0
|
@@ -0,0 +1,317 @@
|
|
|
1
|
+
import { useUnchainedContext_default } from '../chunk-IAQPLRXZ.js';
|
|
2
|
+
import '../chunk-4VNS5WPM.js';
|
|
3
|
+
import { gql } from '@apollo/client';
|
|
4
|
+
import { useMutation, useQuery } from '@apollo/client/react';
|
|
5
|
+
|
|
6
|
+
var QuotationDetailFragment = gql`
|
|
7
|
+
fragment QuotationDetailFragment on Quotation {
|
|
8
|
+
_id
|
|
9
|
+
user {
|
|
10
|
+
_id
|
|
11
|
+
username
|
|
12
|
+
avatar {
|
|
13
|
+
_id
|
|
14
|
+
url
|
|
15
|
+
}
|
|
16
|
+
name
|
|
17
|
+
primaryEmail {
|
|
18
|
+
verified
|
|
19
|
+
address
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
configuration {
|
|
23
|
+
key
|
|
24
|
+
value
|
|
25
|
+
}
|
|
26
|
+
country {
|
|
27
|
+
_id
|
|
28
|
+
isoCode
|
|
29
|
+
flagEmoji
|
|
30
|
+
name
|
|
31
|
+
}
|
|
32
|
+
currency {
|
|
33
|
+
_id
|
|
34
|
+
isoCode
|
|
35
|
+
isActive
|
|
36
|
+
}
|
|
37
|
+
product {
|
|
38
|
+
_id
|
|
39
|
+
texts {
|
|
40
|
+
_id
|
|
41
|
+
slug
|
|
42
|
+
subtitle
|
|
43
|
+
title
|
|
44
|
+
description
|
|
45
|
+
}
|
|
46
|
+
media {
|
|
47
|
+
_id
|
|
48
|
+
file {
|
|
49
|
+
_id
|
|
50
|
+
type
|
|
51
|
+
url
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
status
|
|
56
|
+
created
|
|
57
|
+
expires
|
|
58
|
+
updated
|
|
59
|
+
isExpired
|
|
60
|
+
quotationNumber
|
|
61
|
+
fulfilled
|
|
62
|
+
rejected
|
|
63
|
+
}
|
|
64
|
+
`;
|
|
65
|
+
var QuotationDetailFragment_default = QuotationDetailFragment;
|
|
66
|
+
|
|
67
|
+
// src/modules/quotation/hooks/useMakeQuotationProposal.ts
|
|
68
|
+
var MakeQuotationProposalMutation = gql`
|
|
69
|
+
mutation MakeQuotationProposal($quotationId: ID!, $quotationContext: JSON) {
|
|
70
|
+
makeQuotationProposal(
|
|
71
|
+
quotationId: $quotationId
|
|
72
|
+
quotationContext: $quotationContext
|
|
73
|
+
) {
|
|
74
|
+
...QuotationDetailFragment
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
${QuotationDetailFragment_default}
|
|
78
|
+
`;
|
|
79
|
+
var useMakeQuotationProposal = () => {
|
|
80
|
+
const [makeQuotationProposalMutation] = useMutation(MakeQuotationProposalMutation);
|
|
81
|
+
const makeQuotationProposal = async ({
|
|
82
|
+
quotationId = null,
|
|
83
|
+
quotationContext = {}
|
|
84
|
+
}) => {
|
|
85
|
+
return makeQuotationProposalMutation({
|
|
86
|
+
variables: { quotationId, quotationContext }
|
|
87
|
+
});
|
|
88
|
+
};
|
|
89
|
+
return {
|
|
90
|
+
makeQuotationProposal
|
|
91
|
+
};
|
|
92
|
+
};
|
|
93
|
+
var useMakeQuotationProposal_default = useMakeQuotationProposal;
|
|
94
|
+
var GetQuotationsQuery = (inlineFragment = "") => gql`
|
|
95
|
+
query Quotation($quotationId: ID!) {
|
|
96
|
+
quotation(quotationId: $quotationId) {
|
|
97
|
+
_id
|
|
98
|
+
...QuotationDetailFragment
|
|
99
|
+
${inlineFragment}
|
|
100
|
+
}
|
|
101
|
+
quotationsCount
|
|
102
|
+
}
|
|
103
|
+
${QuotationDetailFragment_default}
|
|
104
|
+
`;
|
|
105
|
+
var useQuotation = ({ quotationId }) => {
|
|
106
|
+
const { customProperties } = useUnchainedContext_default();
|
|
107
|
+
const { data, loading, error } = useQuery(GetQuotationsQuery(customProperties?.Quotation), {
|
|
108
|
+
skip: !quotationId,
|
|
109
|
+
variables: { quotationId }
|
|
110
|
+
});
|
|
111
|
+
return {
|
|
112
|
+
quotation: data?.quotation,
|
|
113
|
+
loading,
|
|
114
|
+
error
|
|
115
|
+
};
|
|
116
|
+
};
|
|
117
|
+
var useQuotation_default = useQuotation;
|
|
118
|
+
var QuotationFragment = gql`
|
|
119
|
+
fragment QuotationFragment on Quotation {
|
|
120
|
+
_id
|
|
121
|
+
user {
|
|
122
|
+
_id
|
|
123
|
+
username
|
|
124
|
+
avatar {
|
|
125
|
+
_id
|
|
126
|
+
url
|
|
127
|
+
}
|
|
128
|
+
name
|
|
129
|
+
primaryEmail {
|
|
130
|
+
verified
|
|
131
|
+
address
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
product {
|
|
135
|
+
_id
|
|
136
|
+
texts {
|
|
137
|
+
_id
|
|
138
|
+
slug
|
|
139
|
+
subtitle
|
|
140
|
+
title
|
|
141
|
+
description
|
|
142
|
+
}
|
|
143
|
+
media {
|
|
144
|
+
_id
|
|
145
|
+
file {
|
|
146
|
+
_id
|
|
147
|
+
type
|
|
148
|
+
url
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
currency {
|
|
153
|
+
_id
|
|
154
|
+
contractAddress
|
|
155
|
+
decimals
|
|
156
|
+
isoCode
|
|
157
|
+
}
|
|
158
|
+
status
|
|
159
|
+
created
|
|
160
|
+
expires
|
|
161
|
+
updated
|
|
162
|
+
isExpired
|
|
163
|
+
quotationNumber
|
|
164
|
+
fulfilled
|
|
165
|
+
rejected
|
|
166
|
+
}
|
|
167
|
+
`;
|
|
168
|
+
var QuotationFragment_default = QuotationFragment;
|
|
169
|
+
|
|
170
|
+
// src/modules/quotation/hooks/useQuotations.ts
|
|
171
|
+
var QuotationsQuery = gql`
|
|
172
|
+
query Quotations(
|
|
173
|
+
$limit: Int
|
|
174
|
+
$offset: Int
|
|
175
|
+
$queryString: String
|
|
176
|
+
$sort: [SortOptionInput!]
|
|
177
|
+
) {
|
|
178
|
+
quotations(
|
|
179
|
+
limit: $limit
|
|
180
|
+
offset: $offset
|
|
181
|
+
queryString: $queryString
|
|
182
|
+
sort: $sort
|
|
183
|
+
) {
|
|
184
|
+
...QuotationFragment
|
|
185
|
+
}
|
|
186
|
+
quotationsCount(queryString: $queryString)
|
|
187
|
+
}
|
|
188
|
+
${QuotationFragment_default}
|
|
189
|
+
`;
|
|
190
|
+
var useQuotations = ({
|
|
191
|
+
limit = 20,
|
|
192
|
+
offset = 0,
|
|
193
|
+
queryString = "",
|
|
194
|
+
sort = []
|
|
195
|
+
} = {}) => {
|
|
196
|
+
const { data, loading, error, fetchMore } = useQuery(QuotationsQuery, {
|
|
197
|
+
variables: { limit, offset, queryString, sort }
|
|
198
|
+
});
|
|
199
|
+
const quotations = data?.quotations || [];
|
|
200
|
+
const quotationsCount = data?.quotationsCount;
|
|
201
|
+
const hasMore = quotations?.length < quotationsCount;
|
|
202
|
+
const loadMore = () => {
|
|
203
|
+
fetchMore({
|
|
204
|
+
variables: { offset: quotations?.length }
|
|
205
|
+
});
|
|
206
|
+
};
|
|
207
|
+
return {
|
|
208
|
+
quotations,
|
|
209
|
+
quotationsCount,
|
|
210
|
+
hasMore,
|
|
211
|
+
loading,
|
|
212
|
+
error,
|
|
213
|
+
loadMore
|
|
214
|
+
};
|
|
215
|
+
};
|
|
216
|
+
var useQuotations_default = useQuotations;
|
|
217
|
+
var RejectQuotationMutation = gql`
|
|
218
|
+
mutation RejectQuotation($quotationId: ID!, $quotationContext: JSON) {
|
|
219
|
+
rejectQuotation(
|
|
220
|
+
quotationId: $quotationId
|
|
221
|
+
quotationContext: $quotationContext
|
|
222
|
+
) {
|
|
223
|
+
...QuotationDetailFragment
|
|
224
|
+
}
|
|
225
|
+
}
|
|
226
|
+
${QuotationDetailFragment_default}
|
|
227
|
+
`;
|
|
228
|
+
var useRejectQuotation = () => {
|
|
229
|
+
const [rejectQuotationMutation] = useMutation(RejectQuotationMutation);
|
|
230
|
+
const rejectQuotation = async ({
|
|
231
|
+
quotationId = null,
|
|
232
|
+
quotationContext = {}
|
|
233
|
+
}) => {
|
|
234
|
+
return rejectQuotationMutation({
|
|
235
|
+
variables: { quotationId, quotationContext }
|
|
236
|
+
});
|
|
237
|
+
};
|
|
238
|
+
return {
|
|
239
|
+
rejectQuotation
|
|
240
|
+
};
|
|
241
|
+
};
|
|
242
|
+
var useRejectQuotation_default = useRejectQuotation;
|
|
243
|
+
var UserQuotationsQuery = gql`
|
|
244
|
+
query UserQuotations($userId: ID!, $queryString: String) {
|
|
245
|
+
user(userId: $userId) {
|
|
246
|
+
_id
|
|
247
|
+
quotations(queryString: $queryString) {
|
|
248
|
+
_id
|
|
249
|
+
status
|
|
250
|
+
created
|
|
251
|
+
expires
|
|
252
|
+
isExpired
|
|
253
|
+
quotationNumber
|
|
254
|
+
product {
|
|
255
|
+
_id
|
|
256
|
+
texts {
|
|
257
|
+
_id
|
|
258
|
+
slug
|
|
259
|
+
subtitle
|
|
260
|
+
title
|
|
261
|
+
}
|
|
262
|
+
media {
|
|
263
|
+
_id
|
|
264
|
+
file {
|
|
265
|
+
_id
|
|
266
|
+
url
|
|
267
|
+
}
|
|
268
|
+
}
|
|
269
|
+
}
|
|
270
|
+
}
|
|
271
|
+
}
|
|
272
|
+
}
|
|
273
|
+
`;
|
|
274
|
+
var useUserQuotations = ({
|
|
275
|
+
userId = null,
|
|
276
|
+
queryString = ""
|
|
277
|
+
}) => {
|
|
278
|
+
const { data, loading, error } = useQuery(UserQuotationsQuery, {
|
|
279
|
+
skip: !userId,
|
|
280
|
+
variables: { userId, queryString }
|
|
281
|
+
});
|
|
282
|
+
const quotations = data?.user?.quotations || [];
|
|
283
|
+
return {
|
|
284
|
+
quotations,
|
|
285
|
+
loading,
|
|
286
|
+
error
|
|
287
|
+
};
|
|
288
|
+
};
|
|
289
|
+
var useUserQuotations_default = useUserQuotations;
|
|
290
|
+
var VerifyQuotationMutation = gql`
|
|
291
|
+
mutation VerifyQuotation($quotationId: ID!, $quotationContext: JSON) {
|
|
292
|
+
verifyQuotation(
|
|
293
|
+
quotationId: $quotationId
|
|
294
|
+
quotationContext: $quotationContext
|
|
295
|
+
) {
|
|
296
|
+
...QuotationDetailFragment
|
|
297
|
+
}
|
|
298
|
+
}
|
|
299
|
+
${QuotationDetailFragment_default}
|
|
300
|
+
`;
|
|
301
|
+
var useVerifyQuotation = () => {
|
|
302
|
+
const [verifyQuotationMutation] = useMutation(VerifyQuotationMutation);
|
|
303
|
+
const VerifyQuotation = async ({
|
|
304
|
+
quotationId = null,
|
|
305
|
+
quotationContext = {}
|
|
306
|
+
}) => {
|
|
307
|
+
return verifyQuotationMutation({
|
|
308
|
+
variables: { quotationId, quotationContext }
|
|
309
|
+
});
|
|
310
|
+
};
|
|
311
|
+
return {
|
|
312
|
+
VerifyQuotation
|
|
313
|
+
};
|
|
314
|
+
};
|
|
315
|
+
var useVerifyQuotation_default = useVerifyQuotation;
|
|
316
|
+
|
|
317
|
+
export { useMakeQuotationProposal_default as useMakeQuotationProposal, useQuotation_default as useQuotation, useQuotations_default as useQuotations, useRejectQuotation_default as useRejectQuotation, useUserQuotations_default as useUserQuotations, useVerifyQuotation_default as useVerifyQuotation };
|
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
import { TokenFragment_default } from '../chunk-QNLGYFV7.js';
|
|
2
|
+
import { DefaultLimit } from '../chunk-VDKQGOMV.js';
|
|
3
|
+
import { ProductBriefFragment_default } from '../chunk-EJDZRZSZ.js';
|
|
4
|
+
import '../chunk-4VNS5WPM.js';
|
|
5
|
+
import { gql } from '@apollo/client';
|
|
6
|
+
import { useMutation, useQuery } from '@apollo/client/react';
|
|
7
|
+
|
|
8
|
+
var InvalidateTokenMutation = gql`
|
|
9
|
+
mutation InvalidateToken($tokenId: ID!) {
|
|
10
|
+
invalidateToken(tokenId: $tokenId) {
|
|
11
|
+
...TokenFragment
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
${TokenFragment_default}
|
|
15
|
+
`;
|
|
16
|
+
var useInvalidateTicket = () => {
|
|
17
|
+
const [invalidateTokenMutation] = useMutation(InvalidateTokenMutation);
|
|
18
|
+
const invalidateTicket = async ({ tokenId }) => {
|
|
19
|
+
const result = await invalidateTokenMutation({
|
|
20
|
+
variables: { tokenId },
|
|
21
|
+
refetchQueries: ["Tokens", "Token"]
|
|
22
|
+
});
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
25
|
+
return { invalidateTicket };
|
|
26
|
+
};
|
|
27
|
+
var useInvalidateTicket_default = useInvalidateTicket;
|
|
28
|
+
var TokenQuery = gql`
|
|
29
|
+
query Token($tokenId: ID!, $forceLocale: Locale) {
|
|
30
|
+
token(tokenId: $tokenId) {
|
|
31
|
+
...TokenFragment
|
|
32
|
+
product {
|
|
33
|
+
...ProductBriefFragment
|
|
34
|
+
simulatedPrice {
|
|
35
|
+
amount
|
|
36
|
+
currencyCode
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
user {
|
|
40
|
+
_id
|
|
41
|
+
username
|
|
42
|
+
isGuest
|
|
43
|
+
avatar {
|
|
44
|
+
_id
|
|
45
|
+
url
|
|
46
|
+
}
|
|
47
|
+
name
|
|
48
|
+
primaryEmail {
|
|
49
|
+
verified
|
|
50
|
+
address
|
|
51
|
+
}
|
|
52
|
+
lastContact {
|
|
53
|
+
telNumber
|
|
54
|
+
emailAddress
|
|
55
|
+
}
|
|
56
|
+
profile {
|
|
57
|
+
displayName
|
|
58
|
+
address {
|
|
59
|
+
firstName
|
|
60
|
+
lastName
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
${TokenFragment_default}
|
|
67
|
+
${ProductBriefFragment_default}
|
|
68
|
+
`;
|
|
69
|
+
var useToken = ({ tokenId }) => {
|
|
70
|
+
const { data, loading, error } = useQuery(
|
|
71
|
+
TokenQuery,
|
|
72
|
+
{
|
|
73
|
+
variables: { tokenId }
|
|
74
|
+
}
|
|
75
|
+
);
|
|
76
|
+
return {
|
|
77
|
+
token: data?.token,
|
|
78
|
+
loading,
|
|
79
|
+
error
|
|
80
|
+
};
|
|
81
|
+
};
|
|
82
|
+
var useToken_default = useToken;
|
|
83
|
+
var TokensQuery = gql`
|
|
84
|
+
query Tokens(
|
|
85
|
+
$queryString: String
|
|
86
|
+
$limit: Int
|
|
87
|
+
$offset: Int
|
|
88
|
+
$forceLocale: Locale
|
|
89
|
+
) {
|
|
90
|
+
tokens(queryString: $queryString, limit: $limit, offset: $offset) {
|
|
91
|
+
...TokenFragment
|
|
92
|
+
product {
|
|
93
|
+
...ProductBriefFragment
|
|
94
|
+
simulatedPrice {
|
|
95
|
+
amount
|
|
96
|
+
currencyCode
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
user {
|
|
100
|
+
_id
|
|
101
|
+
username
|
|
102
|
+
isGuest
|
|
103
|
+
primaryEmail {
|
|
104
|
+
address
|
|
105
|
+
verified
|
|
106
|
+
}
|
|
107
|
+
avatar {
|
|
108
|
+
_id
|
|
109
|
+
url
|
|
110
|
+
}
|
|
111
|
+
profile {
|
|
112
|
+
displayName
|
|
113
|
+
address {
|
|
114
|
+
firstName
|
|
115
|
+
lastName
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
tokensCount(queryString: $queryString)
|
|
121
|
+
}
|
|
122
|
+
${TokenFragment_default}
|
|
123
|
+
${ProductBriefFragment_default}
|
|
124
|
+
`;
|
|
125
|
+
var useTokens = ({
|
|
126
|
+
queryString = null,
|
|
127
|
+
limit = DefaultLimit,
|
|
128
|
+
offset = 0
|
|
129
|
+
}) => {
|
|
130
|
+
const { data, loading, error } = useQuery(TokensQuery, {
|
|
131
|
+
variables: { queryString, limit, offset }
|
|
132
|
+
});
|
|
133
|
+
const tokens = data?.tokens || [];
|
|
134
|
+
return {
|
|
135
|
+
tokens,
|
|
136
|
+
loading,
|
|
137
|
+
error,
|
|
138
|
+
tokensCount: data?.tokensCount || 0
|
|
139
|
+
};
|
|
140
|
+
};
|
|
141
|
+
var useTokens_default = useTokens;
|
|
142
|
+
|
|
143
|
+
export { useInvalidateTicket_default as useInvalidateTicket, useToken_default as useToken, useTokens_default as useTokens };
|
|
@@ -0,0 +1,206 @@
|
|
|
1
|
+
import { useUnchainedContext_default } from '../chunk-IAQPLRXZ.js';
|
|
2
|
+
import '../chunk-4VNS5WPM.js';
|
|
3
|
+
import { gql } from '@apollo/client';
|
|
4
|
+
import { useMutation, useQuery } from '@apollo/client/react';
|
|
5
|
+
|
|
6
|
+
var WarehousingProviderFragment = gql`
|
|
7
|
+
fragment WarehousingProviderFragment on WarehousingProvider {
|
|
8
|
+
_id
|
|
9
|
+
created
|
|
10
|
+
updated
|
|
11
|
+
deleted
|
|
12
|
+
isActive
|
|
13
|
+
type
|
|
14
|
+
interface {
|
|
15
|
+
_id
|
|
16
|
+
label
|
|
17
|
+
version
|
|
18
|
+
}
|
|
19
|
+
configuration
|
|
20
|
+
configurationError
|
|
21
|
+
}
|
|
22
|
+
`;
|
|
23
|
+
var WarehousingProviderFragment_default = WarehousingProviderFragment;
|
|
24
|
+
|
|
25
|
+
// src/modules/warehousing-providers/hooks/useCreateWarehousingProvider.ts
|
|
26
|
+
var CreateWarehousingProviderMutation = gql`
|
|
27
|
+
mutation CreateWarehousingProvider(
|
|
28
|
+
$warehousingProvider: CreateWarehousingProviderInput!
|
|
29
|
+
) {
|
|
30
|
+
createWarehousingProvider(warehousingProvider: $warehousingProvider) {
|
|
31
|
+
...WarehousingProviderFragment
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
${WarehousingProviderFragment_default}
|
|
35
|
+
`;
|
|
36
|
+
var useCreateWarehousingProvider = () => {
|
|
37
|
+
const [createWarehousingProviderMutation, { data, loading, error }] = useMutation(CreateWarehousingProviderMutation);
|
|
38
|
+
const createWarehousingProvider = async ({
|
|
39
|
+
warehousingProvider: { adapterKey, type }
|
|
40
|
+
}) => {
|
|
41
|
+
return createWarehousingProviderMutation({
|
|
42
|
+
variables: { warehousingProvider: { adapterKey, type } },
|
|
43
|
+
refetchQueries: ["WarehousingProviders", "ShopStatus"]
|
|
44
|
+
});
|
|
45
|
+
};
|
|
46
|
+
const newWarehousingProvider = data?.createWarehousingProvider;
|
|
47
|
+
return {
|
|
48
|
+
createWarehousingProvider,
|
|
49
|
+
newWarehousingProvider,
|
|
50
|
+
loading,
|
|
51
|
+
error
|
|
52
|
+
};
|
|
53
|
+
};
|
|
54
|
+
var useCreateWarehousingProvider_default = useCreateWarehousingProvider;
|
|
55
|
+
var RemoveWarehousingProviderMutation = gql`
|
|
56
|
+
mutation RemoveWarehousingProvider($warehousingProviderId: ID!) {
|
|
57
|
+
removeWarehousingProvider(warehousingProviderId: $warehousingProviderId) {
|
|
58
|
+
_id
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
`;
|
|
62
|
+
var useRemoveWarehousingProvider = () => {
|
|
63
|
+
const [removeWarehousingProviderMutation] = useMutation(RemoveWarehousingProviderMutation);
|
|
64
|
+
const removeWarehousingProvider = async ({
|
|
65
|
+
warehousingProviderId
|
|
66
|
+
}) => {
|
|
67
|
+
return removeWarehousingProviderMutation({
|
|
68
|
+
variables: {
|
|
69
|
+
warehousingProviderId
|
|
70
|
+
},
|
|
71
|
+
refetchQueries: ["WarehousingProviders", "ShopStatus"]
|
|
72
|
+
});
|
|
73
|
+
};
|
|
74
|
+
return {
|
|
75
|
+
removeWarehousingProvider
|
|
76
|
+
};
|
|
77
|
+
};
|
|
78
|
+
var useRemoveWarehousingProvider_default = useRemoveWarehousingProvider;
|
|
79
|
+
var UpdateWarehousingProviderMutation = gql`
|
|
80
|
+
mutation UpdateWarehousingProvider(
|
|
81
|
+
$warehousingProvider: UpdateProviderInput!
|
|
82
|
+
$warehousingProviderId: ID!
|
|
83
|
+
) {
|
|
84
|
+
updateWarehousingProvider(
|
|
85
|
+
warehousingProvider: $warehousingProvider
|
|
86
|
+
warehousingProviderId: $warehousingProviderId
|
|
87
|
+
) {
|
|
88
|
+
...WarehousingProviderFragment
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
${WarehousingProviderFragment_default}
|
|
92
|
+
`;
|
|
93
|
+
var useUpdateWarehousingProvider = () => {
|
|
94
|
+
const [updateWarehousingProviderMutation] = useMutation(UpdateWarehousingProviderMutation);
|
|
95
|
+
const updateWarehousingProvider = async ({
|
|
96
|
+
warehousingProvider: { configuration },
|
|
97
|
+
warehousingProviderId
|
|
98
|
+
}) => {
|
|
99
|
+
return updateWarehousingProviderMutation({
|
|
100
|
+
variables: {
|
|
101
|
+
warehousingProvider: { configuration },
|
|
102
|
+
warehousingProviderId
|
|
103
|
+
}
|
|
104
|
+
});
|
|
105
|
+
};
|
|
106
|
+
return {
|
|
107
|
+
updateWarehousingProvider
|
|
108
|
+
};
|
|
109
|
+
};
|
|
110
|
+
var useUpdateWarehousingProvider_default = useUpdateWarehousingProvider;
|
|
111
|
+
var WarehousingInterfacesQuery = gql`
|
|
112
|
+
query WarehousingInterfaces($providerType: WarehousingProviderType) {
|
|
113
|
+
warehousingInterfaces(type: $providerType) {
|
|
114
|
+
_id
|
|
115
|
+
value: _id
|
|
116
|
+
label
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
`;
|
|
120
|
+
var useWarehousingInterfacesByType = ({
|
|
121
|
+
providerType
|
|
122
|
+
}) => {
|
|
123
|
+
const { data, loading, error } = useQuery(WarehousingInterfacesQuery, {
|
|
124
|
+
skip: !providerType,
|
|
125
|
+
variables: { providerType }
|
|
126
|
+
});
|
|
127
|
+
const warehousingInterfaces = data?.warehousingInterfaces || [];
|
|
128
|
+
return {
|
|
129
|
+
warehousingInterfaces,
|
|
130
|
+
loading,
|
|
131
|
+
error
|
|
132
|
+
};
|
|
133
|
+
};
|
|
134
|
+
var useWarehousingInterfacesByType_default = useWarehousingInterfacesByType;
|
|
135
|
+
var GetWarehousingProviderQuery = (inlineFragment = "") => gql`
|
|
136
|
+
query WarehousingProvider($warehousingProviderId: ID!) {
|
|
137
|
+
warehousingProvider(warehousingProviderId: $warehousingProviderId) {
|
|
138
|
+
...WarehousingProviderFragment
|
|
139
|
+
${inlineFragment}
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
${WarehousingProviderFragment_default}
|
|
143
|
+
`;
|
|
144
|
+
var useWarehousingProvider = ({
|
|
145
|
+
warehousingProviderId = null
|
|
146
|
+
}) => {
|
|
147
|
+
const { customProperties } = useUnchainedContext_default();
|
|
148
|
+
const { data, loading, error } = useQuery(GetWarehousingProviderQuery(customProperties?.WarehousingProvider), {
|
|
149
|
+
skip: !warehousingProviderId,
|
|
150
|
+
variables: { warehousingProviderId }
|
|
151
|
+
});
|
|
152
|
+
return {
|
|
153
|
+
warehousingProvider: data?.warehousingProvider,
|
|
154
|
+
loading,
|
|
155
|
+
error
|
|
156
|
+
};
|
|
157
|
+
};
|
|
158
|
+
var useWarehousingProvider_default = useWarehousingProvider;
|
|
159
|
+
var WarehousingProvidersTypeQuery = gql`
|
|
160
|
+
query WarehousingProvidersType {
|
|
161
|
+
warehousingProviderType: __type(name: "WarehousingProviderType") {
|
|
162
|
+
options: enumValues {
|
|
163
|
+
value: name
|
|
164
|
+
label: description
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
`;
|
|
169
|
+
var useWarehousingProviderTypes = () => {
|
|
170
|
+
const { data, loading, error } = useQuery(WarehousingProvidersTypeQuery);
|
|
171
|
+
const warehousingProviderType = data?.warehousingProviderType?.options || [];
|
|
172
|
+
return {
|
|
173
|
+
warehousingProviderType,
|
|
174
|
+
loading,
|
|
175
|
+
error
|
|
176
|
+
};
|
|
177
|
+
};
|
|
178
|
+
var useWarehousingProviderTypes_default = useWarehousingProviderTypes;
|
|
179
|
+
var WarehousingProvidersQuery = gql`
|
|
180
|
+
query WarehousingProviders($type: WarehousingProviderType) {
|
|
181
|
+
warehousingProviders(type: $type) {
|
|
182
|
+
...WarehousingProviderFragment
|
|
183
|
+
}
|
|
184
|
+
warehousingProvidersCount(type: $type)
|
|
185
|
+
}
|
|
186
|
+
${WarehousingProviderFragment_default}
|
|
187
|
+
`;
|
|
188
|
+
var useWarehousingProviders = ({
|
|
189
|
+
type = null
|
|
190
|
+
} = {}) => {
|
|
191
|
+
const variables = {};
|
|
192
|
+
if (type) variables.type = type;
|
|
193
|
+
const { data, loading, error } = useQuery(WarehousingProvidersQuery, {
|
|
194
|
+
variables
|
|
195
|
+
});
|
|
196
|
+
const warehousingProviders = data?.warehousingProviders || [];
|
|
197
|
+
return {
|
|
198
|
+
warehousingProviders,
|
|
199
|
+
loading,
|
|
200
|
+
error,
|
|
201
|
+
warehousingProvidersCount: data?.warehousingProvidersCount || 0
|
|
202
|
+
};
|
|
203
|
+
};
|
|
204
|
+
var useWarehousingProviders_default = useWarehousingProviders;
|
|
205
|
+
|
|
206
|
+
export { useCreateWarehousingProvider_default as useCreateWarehousingProvider, useRemoveWarehousingProvider_default as useRemoveWarehousingProvider, useUpdateWarehousingProvider_default as useUpdateWarehousingProvider, useWarehousingInterfacesByType_default as useWarehousingInterfacesByType, useWarehousingProvider_default as useWarehousingProvider, useWarehousingProviderTypes_default as useWarehousingProviderTypes, useWarehousingProviders_default as useWarehousingProviders };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WorkFragment.d.ts","sourceRoot":"","sources":["../../../../src/modules/work/fragments/WorkFragment.ts"],"names":[],"mappings":"AAEA,QAAA,MAAM,YAAY,gCAmBjB,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { IAddWorkMutation, IAddWorkMutationVariables } from '../../../gql/types';
|
|
2
|
+
declare const useAddWork: () => {
|
|
3
|
+
addWork: ({ type, priority, input, originalWorkId, scheduled, retries, }: IAddWorkMutationVariables) => Promise<import("@apollo/client").ApolloClient.MutateResult<IAddWorkMutation, undefined>>;
|
|
4
|
+
};
|
|
5
|
+
export default useAddWork;
|
|
6
|
+
//# sourceMappingURL=useAddWork.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useAddWork.d.ts","sourceRoot":"","sources":["../../../../src/modules/work/hooks/useAddWork.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,gBAAgB,EAChB,yBAAyB,EAC1B,MAAM,oBAAoB,CAAC;AAwB5B,QAAA,MAAM,UAAU;8EAaX,yBAAyB;CAiB7B,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { IWorkQueryVariables } from '../../../gql/types';
|
|
2
|
+
export declare const GetWorkQuery: (inlineFragment?: string) => import("graphql").DocumentNode;
|
|
3
|
+
declare const useWork: ({ workId, ...options }: IWorkQueryVariables & {
|
|
4
|
+
pollInterval?: number;
|
|
5
|
+
}) => {
|
|
6
|
+
work: {
|
|
7
|
+
error: unknown;
|
|
8
|
+
priority: number;
|
|
9
|
+
worker: string | null;
|
|
10
|
+
timeout: number | null;
|
|
11
|
+
_id: string;
|
|
12
|
+
type: import("../../../gql/schema-types").IWorkType;
|
|
13
|
+
scheduled: unknown;
|
|
14
|
+
status: import("../../../gql/schema-types").IWorkStatus;
|
|
15
|
+
started: unknown;
|
|
16
|
+
success: boolean | null;
|
|
17
|
+
finished: unknown;
|
|
18
|
+
created: unknown;
|
|
19
|
+
deleted: unknown;
|
|
20
|
+
retries: number;
|
|
21
|
+
input: unknown;
|
|
22
|
+
result: unknown;
|
|
23
|
+
original: {
|
|
24
|
+
_id: string;
|
|
25
|
+
retries: number;
|
|
26
|
+
} | null;
|
|
27
|
+
};
|
|
28
|
+
loading: boolean;
|
|
29
|
+
error: import("@apollo/client").ErrorLike;
|
|
30
|
+
};
|
|
31
|
+
export default useWork;
|
|
32
|
+
//# sourceMappingURL=useWork.d.ts.map
|