@unchainedshop/admin-ui 4.8.26 → 4.8.27
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunk-45H2WVIC.js +51 -0
- package/dist/chunk-4VNS5WPM.js +37 -0
- package/dist/chunk-54DKBWXV.js +33 -0
- package/dist/chunk-6TXD4TA7.js +1196 -0
- package/dist/chunk-BGCKJQGS.js +58 -0
- package/dist/chunk-BYXBJQAS.js +1 -0
- package/dist/chunk-EJDZRZSZ.js +59 -0
- package/dist/chunk-ELPURWDC.js +75 -0
- package/dist/chunk-IAQPLRXZ.js +16 -0
- package/dist/chunk-ILYPJE4N.js +57 -0
- package/dist/chunk-IXBMHOB5.js +13 -0
- package/dist/chunk-KH5MK6ZW.js +18 -0
- package/dist/chunk-NT7RB7AK.js +70 -0
- package/dist/chunk-OKGJ6HDE.js +26 -0
- package/dist/chunk-Q6S3LBUF.js +180 -0
- package/dist/chunk-QNLGYFV7.js +22 -0
- package/dist/chunk-RAQV2GYF.js +70 -0
- package/dist/chunk-RHUFQVKL.js +514 -0
- package/dist/chunk-RVG6IOFC.js +11 -0
- package/dist/chunk-SRAAKMWY.js +39 -0
- package/dist/chunk-UFYR5WZT.js +165 -0
- package/dist/chunk-UXG7EYHC.js +614 -0
- package/dist/chunk-VDKQGOMV.js +840 -0
- package/dist/chunk-XHOCXPD5.js +9 -0
- package/dist/chunk-XJBPMIC4.js +284 -0
- package/dist/chunk-YO6PT7KD.js +13 -0
- package/dist/chunk-YSKZE2KN.js +652 -0
- package/dist/components/ui/Accordion/Accordion.d.ts +11 -0
- package/dist/components/ui/Accordion/Accordion.d.ts.map +1 -0
- package/dist/components/ui/Accordion/AccordionHeader.d.ts +6 -0
- package/dist/components/ui/Accordion/AccordionHeader.d.ts.map +1 -0
- package/dist/components/ui/Accordion/AccordionItem.d.ts +11 -0
- package/dist/components/ui/Accordion/AccordionItem.d.ts.map +1 -0
- package/dist/components/ui/ActiveInActive.d.ts +10 -0
- package/dist/components/ui/ActiveInActive.d.ts.map +1 -0
- package/dist/components/ui/AnimatedCounter.d.ts +7 -0
- package/dist/components/ui/AnimatedCounter.d.ts.map +1 -0
- package/dist/components/ui/Badge.d.ts +10 -0
- package/dist/components/ui/Badge.d.ts.map +1 -0
- package/dist/components/ui/BreadCrumbs.d.ts +7 -0
- package/dist/components/ui/BreadCrumbs.d.ts.map +1 -0
- package/dist/components/ui/Button.d.ts +36 -0
- package/dist/components/ui/Button.d.ts.map +1 -0
- package/dist/components/ui/CopyableText.d.ts +5 -0
- package/dist/components/ui/CopyableText.d.ts.map +1 -0
- package/dist/components/ui/DateInput.d.ts +15 -0
- package/dist/components/ui/DateInput.d.ts.map +1 -0
- package/dist/components/ui/DateRangeFilterInput.d.ts +4 -0
- package/dist/components/ui/DateRangeFilterInput.d.ts.map +1 -0
- package/dist/components/ui/DetailHeader.d.ts +6 -0
- package/dist/components/ui/DetailHeader.d.ts.map +1 -0
- package/dist/components/ui/DraggableIcon.d.ts +3 -0
- package/dist/components/ui/DraggableIcon.d.ts.map +1 -0
- package/dist/components/ui/ErrorBoundary.d.ts +18 -0
- package/dist/components/ui/ErrorBoundary.d.ts.map +1 -0
- package/dist/components/ui/ErrorFallback.d.ts +6 -0
- package/dist/components/ui/ErrorFallback.d.ts.map +1 -0
- package/dist/components/ui/HelpText.d.ts +11 -0
- package/dist/components/ui/HelpText.d.ts.map +1 -0
- package/dist/components/ui/ImageWithFallback.d.ts +7 -0
- package/dist/components/ui/ImageWithFallback.d.ts.map +1 -0
- package/dist/components/ui/InfoTextBanner.d.ts +6 -0
- package/dist/components/ui/InfoTextBanner.d.ts.map +1 -0
- package/dist/components/ui/JSONView.d.ts +6 -0
- package/dist/components/ui/JSONView.d.ts.map +1 -0
- package/dist/components/ui/ListHeader.d.ts +6 -0
- package/dist/components/ui/ListHeader.d.ts.map +1 -0
- package/dist/components/ui/Loading.d.ts +3 -0
- package/dist/components/ui/Loading.d.ts.map +1 -0
- package/dist/components/ui/NoData.d.ts +7 -0
- package/dist/components/ui/NoData.d.ts.map +1 -0
- package/dist/components/ui/NoImage.d.ts +7 -0
- package/dist/components/ui/NoImage.d.ts.map +1 -0
- package/dist/components/ui/NoImageSvg.d.ts +8 -0
- package/dist/components/ui/NoImageSvg.d.ts.map +1 -0
- package/dist/components/ui/PageHeader.d.ts +11 -0
- package/dist/components/ui/PageHeader.d.ts.map +1 -0
- package/dist/components/ui/Pagination.d.ts +8 -0
- package/dist/components/ui/Pagination.d.ts.map +1 -0
- package/dist/components/ui/Portal/Portal.d.ts +16 -0
- package/dist/components/ui/Portal/Portal.d.ts.map +1 -0
- package/dist/components/ui/Portal/Portal.types.d.ts +16 -0
- package/dist/components/ui/Portal/Portal.types.d.ts.map +1 -0
- package/dist/components/ui/SaveAndCancelButtons.d.ts +10 -0
- package/dist/components/ui/SaveAndCancelButtons.d.ts.map +1 -0
- package/dist/components/ui/SearchField.d.ts +7 -0
- package/dist/components/ui/SearchField.d.ts.map +1 -0
- package/dist/components/ui/Tab.d.ts +18 -0
- package/dist/components/ui/Tab.d.ts.map +1 -0
- package/dist/components/ui/Tag/TagInput.d.ts +14 -0
- package/dist/components/ui/Tag/TagInput.d.ts.map +1 -0
- package/dist/components/ui/Tag/TagList.d.ts +8 -0
- package/dist/components/ui/Tag/TagList.d.ts.map +1 -0
- package/dist/components/ui/Tag/TagListForm.d.ts +8 -0
- package/dist/components/ui/Tag/TagListForm.d.ts.map +1 -0
- package/dist/components/ui/Toggle.d.ts +11 -0
- package/dist/components/ui/Toggle.d.ts.map +1 -0
- package/dist/components/ui/ToolTip.d.ts +7 -0
- package/dist/components/ui/ToolTip.d.ts.map +1 -0
- package/dist/components/ui/card.d.ts +9 -0
- package/dist/components/ui/card.d.ts.map +1 -0
- package/dist/components/ui/chart.d.ts +42 -0
- package/dist/components/ui/chart.d.ts.map +1 -0
- package/dist/components/ui/form/CheckboxField.d.ts +4 -0
- package/dist/components/ui/form/CheckboxField.d.ts.map +1 -0
- package/dist/components/ui/form/ChoicesField.d.ts +12 -0
- package/dist/components/ui/form/ChoicesField.d.ts.map +1 -0
- package/dist/components/ui/form/Combobox.d.ts +20 -0
- package/dist/components/ui/form/Combobox.d.ts.map +1 -0
- package/dist/components/ui/form/DatePickerField.d.ts +4 -0
- package/dist/components/ui/form/DatePickerField.d.ts.map +1 -0
- package/dist/components/ui/form/EmailField.d.ts +7 -0
- package/dist/components/ui/form/EmailField.d.ts.map +1 -0
- package/dist/components/ui/form/FieldWithHelp.d.ts +10 -0
- package/dist/components/ui/form/FieldWithHelp.d.ts.map +1 -0
- package/dist/components/ui/form/FieldWrapper.d.ts +8 -0
- package/dist/components/ui/form/FieldWrapper.d.ts.map +1 -0
- package/dist/components/ui/form/FormErrors.d.ts +6 -0
- package/dist/components/ui/form/FormErrors.d.ts.map +1 -0
- package/dist/components/ui/form/JSONAreaField.d.ts +7 -0
- package/dist/components/ui/form/JSONAreaField.d.ts.map +1 -0
- package/dist/components/ui/form/MarkdownTextAreaField.d.ts +8 -0
- package/dist/components/ui/form/MarkdownTextAreaField.d.ts.map +1 -0
- package/dist/components/ui/form/PasswordField.d.ts +3 -0
- package/dist/components/ui/form/PasswordField.d.ts.map +1 -0
- package/dist/components/ui/form/SelectField.d.ts +11 -0
- package/dist/components/ui/form/SelectField.d.ts.map +1 -0
- package/dist/components/ui/form/SubmitButton.d.ts +9 -0
- package/dist/components/ui/form/SubmitButton.d.ts.map +1 -0
- package/dist/components/ui/form/TagInputField.d.ts +6 -0
- package/dist/components/ui/form/TagInputField.d.ts.map +1 -0
- package/dist/components/ui/form/TextAreaField.d.ts +8 -0
- package/dist/components/ui/form/TextAreaField.d.ts.map +1 -0
- package/dist/components/ui/form/TextField.d.ts +10 -0
- package/dist/components/ui/form/TextField.d.ts.map +1 -0
- package/dist/components/ui/form/index.d.ts +17 -0
- package/dist/components/ui/form/index.d.ts.map +1 -0
- package/dist/components/ui/icons.d.ts +4 -0
- package/dist/components/ui/icons.d.ts.map +1 -0
- package/dist/components/ui/index.d.ts +41 -0
- package/dist/components/ui/index.d.ts.map +1 -0
- package/dist/form.js +30108 -0
- package/dist/gql/types.d.ts +17209 -0
- package/dist/gql/types.d.ts.map +1 -0
- package/dist/hooks.js +41 -0
- package/dist/lib/utils.d.ts +3 -0
- package/dist/lib/utils.d.ts.map +1 -0
- package/dist/modal.js +114 -0
- package/dist/modules/UnchainedContext/UnchainedContext.d.ts +8 -0
- package/dist/modules/UnchainedContext/UnchainedContext.d.ts.map +1 -0
- package/dist/modules/UnchainedContext/useUnchainedContext.d.ts +7 -0
- package/dist/modules/UnchainedContext/useUnchainedContext.d.ts.map +1 -0
- package/dist/modules/accounts/fragment/MD5MetaDataFragment.d.ts +3 -0
- package/dist/modules/accounts/fragment/MD5MetaDataFragment.d.ts.map +1 -0
- package/dist/modules/accounts/fragment/UserFragment.d.ts +3 -0
- package/dist/modules/accounts/fragment/UserFragment.d.ts.map +1 -0
- package/dist/modules/accounts/hooks/useCurrentUser.d.ts +10 -0
- package/dist/modules/accounts/hooks/useCurrentUser.d.ts.map +1 -0
- package/dist/modules/accounts/hooks/useUsersCount.d.ts +8 -0
- package/dist/modules/accounts/hooks/useUsersCount.d.ts.map +1 -0
- package/dist/modules/accounts.js +1013 -0
- package/dist/modules/assortment/hooks/useAssortmentsCount.d.ts +8 -0
- package/dist/modules/assortment/hooks/useAssortmentsCount.d.ts.map +1 -0
- package/dist/modules/assortment.js +1121 -0
- package/dist/modules/common/components/AppContext.d.ts +18 -0
- package/dist/modules/common/components/AppContext.d.ts.map +1 -0
- package/dist/modules/common/components/FormWrapper.d.ts +8 -0
- package/dist/modules/common/components/FormWrapper.d.ts.map +1 -0
- package/dist/modules/common/components/ThemeWrapper.d.ts +10 -0
- package/dist/modules/common/components/ThemeWrapper.d.ts.map +1 -0
- package/dist/modules/common/data/iso-codes.d.ts +4 -0
- package/dist/modules/common/data/iso-codes.d.ts.map +1 -0
- package/dist/modules/common/data/miscellaneous.d.ts +51 -0
- package/dist/modules/common/data/miscellaneous.d.ts.map +1 -0
- package/dist/modules/common/fragments/AddressFragment.d.ts +3 -0
- package/dist/modules/common/fragments/AddressFragment.d.ts.map +1 -0
- package/dist/modules/common/hooks/useApp.d.ts +11 -0
- package/dist/modules/common/hooks/useApp.d.ts.map +1 -0
- package/dist/modules/common/hooks/useCSVExport.d.ts +10 -0
- package/dist/modules/common/hooks/useCSVExport.d.ts.map +1 -0
- package/dist/modules/common/hooks/useCSVImport.d.ts +18 -0
- package/dist/modules/common/hooks/useCSVImport.d.ts.map +1 -0
- package/dist/modules/common/hooks/useChatEndpointChecker.d.ts +5 -0
- package/dist/modules/common/hooks/useChatEndpointChecker.d.ts.map +1 -0
- package/dist/modules/common/hooks/useConfirmMediaUpload.d.ts +10 -0
- package/dist/modules/common/hooks/useConfirmMediaUpload.d.ts.map +1 -0
- package/dist/modules/common/hooks/useDashboardMetrics.d.ts +23 -0
- package/dist/modules/common/hooks/useDashboardMetrics.d.ts.map +1 -0
- package/dist/modules/common/hooks/useLocalStorage.d.ts +3 -0
- package/dist/modules/common/hooks/useLocalStorage.d.ts.map +1 -0
- package/dist/modules/common/hooks/useOrderAnalytics.d.ts +25 -0
- package/dist/modules/common/hooks/useOrderAnalytics.d.ts.map +1 -0
- package/dist/modules/common/hooks/useOrderItemsAnalytics.d.ts +16 -0
- package/dist/modules/common/hooks/useOrderItemsAnalytics.d.ts.map +1 -0
- package/dist/modules/common/hooks/useOutsideClick.d.ts +3 -0
- package/dist/modules/common/hooks/useOutsideClick.d.ts.map +1 -0
- package/dist/modules/common/hooks/usePortal.d.ts +20 -0
- package/dist/modules/common/hooks/usePortal.d.ts.map +1 -0
- package/dist/modules/common/hooks/useShopConfiguration.d.ts +8 -0
- package/dist/modules/common/hooks/useShopConfiguration.d.ts.map +1 -0
- package/dist/modules/common/hooks/useShopInfo.d.ts +41 -0
- package/dist/modules/common/hooks/useShopInfo.d.ts.map +1 -0
- package/dist/modules/common/hooks/useStatusTypes.d.ts +10 -0
- package/dist/modules/common/hooks/useStatusTypes.d.ts.map +1 -0
- package/dist/modules/common/hooks/useSystemRoles.d.ts +7 -0
- package/dist/modules/common/hooks/useSystemRoles.d.ts.map +1 -0
- package/dist/modules/common/hooks/useTheme.d.ts +7 -0
- package/dist/modules/common/hooks/useTheme.d.ts.map +1 -0
- package/dist/modules/common/utils/deBounce.d.ts +3 -0
- package/dist/modules/common/utils/deBounce.d.ts.map +1 -0
- package/dist/modules/common/utils/defaultNextImageLoader.d.ts +7 -0
- package/dist/modules/common/utils/defaultNextImageLoader.d.ts.map +1 -0
- package/dist/modules/common/utils/formatUsername.d.ts +3 -0
- package/dist/modules/common/utils/formatUsername.d.ts.map +1 -0
- package/dist/modules/common/utils/getSetupStepsConfigurationsMeta.d.ts +30 -0
- package/dist/modules/common/utils/getSetupStepsConfigurationsMeta.d.ts.map +1 -0
- package/dist/modules/common/utils/normalizeFilterKeys.d.ts +4 -0
- package/dist/modules/common/utils/normalizeFilterKeys.d.ts.map +1 -0
- package/dist/modules/common/utils/useFormatDateTime.d.ts +7 -0
- package/dist/modules/common/utils/useFormatDateTime.d.ts.map +1 -0
- package/dist/modules/common/utils/utils.d.ts +21 -0
- package/dist/modules/common/utils/utils.d.ts.map +1 -0
- package/dist/modules/country/fragments/CountryFragment.d.ts +3 -0
- package/dist/modules/country/fragments/CountryFragment.d.ts.map +1 -0
- package/dist/modules/country/hooks/useCountries.d.ts +22 -0
- package/dist/modules/country/hooks/useCountries.d.ts.map +1 -0
- package/dist/modules/country.js +108 -0
- package/dist/modules/currency.js +119 -0
- package/dist/modules/delivery-provider.js +269 -0
- package/dist/modules/enrollment.js +353 -0
- package/dist/modules/event.js +123 -0
- package/dist/modules/filter.js +448 -0
- package/dist/modules/forms/components/Form.d.ts +8 -0
- package/dist/modules/forms/components/Form.d.ts.map +1 -0
- package/dist/modules/forms/hooks/useField.d.ts +35 -0
- package/dist/modules/forms/hooks/useField.d.ts.map +1 -0
- package/dist/modules/forms/hooks/useForm.d.ts +44 -0
- package/dist/modules/forms/hooks/useForm.d.ts.map +1 -0
- package/dist/modules/forms/hooks/useFormContext.d.ts +3 -0
- package/dist/modules/forms/hooks/useFormContext.d.ts.map +1 -0
- package/dist/modules/forms/lib/FormContext.d.ts +13 -0
- package/dist/modules/forms/lib/FormContext.d.ts.map +1 -0
- package/dist/modules/forms/lib/clean.d.ts +3 -0
- package/dist/modules/forms/lib/clean.d.ts.map +1 -0
- package/dist/modules/forms/lib/validators.d.ts +20 -0
- package/dist/modules/forms/lib/validators.d.ts.map +1 -0
- package/dist/modules/language/fragments/LanguageFragment.d.ts +3 -0
- package/dist/modules/language/fragments/LanguageFragment.d.ts.map +1 -0
- package/dist/modules/language/hooks/useLanguages.d.ts +19 -0
- package/dist/modules/language/hooks/useLanguages.d.ts.map +1 -0
- package/dist/modules/language.js +106 -0
- package/dist/modules/modal/components/AlertMessage.d.ts +9 -0
- package/dist/modules/modal/components/AlertMessage.d.ts.map +1 -0
- package/dist/modules/modal/components/DangerMessage.d.ts +12 -0
- package/dist/modules/modal/components/DangerMessage.d.ts.map +1 -0
- package/dist/modules/modal/components/ImportResultMessage.d.ts +14 -0
- package/dist/modules/modal/components/ImportResultMessage.d.ts.map +1 -0
- package/dist/modules/modal/components/Modal.d.ts +10 -0
- package/dist/modules/modal/components/Modal.d.ts.map +1 -0
- package/dist/modules/modal/components/ModalWrapper.d.ts +6 -0
- package/dist/modules/modal/components/ModalWrapper.d.ts.map +1 -0
- package/dist/modules/modal/hooks/useModal.d.ts +7 -0
- package/dist/modules/modal/hooks/useModal.d.ts.map +1 -0
- package/dist/modules/modal/utils/ModalContext.d.ts +9 -0
- package/dist/modules/modal/utils/ModalContext.d.ts.map +1 -0
- package/dist/modules/order/fragments/OrderDetailFragment.d.ts +3 -0
- package/dist/modules/order/fragments/OrderDetailFragment.d.ts.map +1 -0
- package/dist/modules/order/fragments/OrderFragment.d.ts +3 -0
- package/dist/modules/order/fragments/OrderFragment.d.ts.map +1 -0
- package/dist/modules/order/hooks/useOrders.d.ts +46 -0
- package/dist/modules/order/hooks/useOrders.d.ts.map +1 -0
- package/dist/modules/order.js +563 -0
- package/dist/modules/payment-providers.js +206 -0
- package/dist/modules/product/hooks/useProductsCount.d.ts +8 -0
- package/dist/modules/product/hooks/useProductsCount.d.ts.map +1 -0
- package/dist/modules/product-review.js +251 -0
- package/dist/modules/product.js +1929 -0
- package/dist/modules/quotation.js +297 -0
- package/dist/modules/token.js +143 -0
- package/dist/modules/warehousing-providers.js +206 -0
- package/dist/modules/work/fragments/WorkFragment.d.ts +3 -0
- package/dist/modules/work/fragments/WorkFragment.d.ts.map +1 -0
- package/dist/modules/work/hooks/useAddWork.d.ts +6 -0
- package/dist/modules/work/hooks/useAddWork.d.ts.map +1 -0
- package/dist/modules/work/hooks/useWork.d.ts +32 -0
- package/dist/modules/work/hooks/useWork.d.ts.map +1 -0
- package/dist/modules/work.js +308 -0
- package/dist/plugins.js +8 -0
- package/dist/providers.js +6 -0
- package/dist/sdk/hooks.d.ts +9 -0
- package/dist/sdk/hooks.d.ts.map +1 -0
- package/dist/sdk/modal.d.ts +7 -0
- package/dist/sdk/modal.d.ts.map +1 -0
- package/dist/sdk/plugins.d.ts +67 -0
- package/dist/sdk/plugins.d.ts.map +1 -0
- package/dist/sdk/providers.d.ts +5 -0
- package/dist/sdk/providers.d.ts.map +1 -0
- package/dist/sdk/theme.d.ts +26 -0
- package/dist/sdk/theme.d.ts.map +1 -0
- package/dist/theme.js +34 -0
- package/dist/ui.js +21540 -0
- package/out/403/index.html +2 -2
- package/out/404/index.html +2 -2
- package/out/404.html +2 -2
- package/out/423/index.html +2 -2
- package/out/500/index.html +2 -2
- package/out/_next/static/chunks/{31_pg1fxqgdfx.js → 01crynfjy3xpb.js} +2 -2
- package/out/_next/static/chunks/{1hwup6qqzqzh8.js → 1-mz7zwy-mbvq.js} +2 -2
- package/out/_next/static/chunks/{2ecq8dhsm2eu1.js → 1szkbg0-e_tli.js} +1 -1
- package/out/_next/static/chunks/{0ac5zzn3zeki5.js → 2ncenexps2330.js} +2 -2
- package/out/_next/static/chunks/3-2opr3e2h-8o.js +105 -0
- package/out/_next/static/chunks/{turbopack-14zydki2yqyd3.js → turbopack-058ikg9c4qsyu.js} +1 -1
- package/out/_next/static/chunks/{turbopack-0la8grv9f6bxn.js → turbopack-22gnlzp5il9ai.js} +1 -1
- package/out/_next/static/chunks/{turbopack-1w2r6t0rjz8pp.js → turbopack-2h_05wv-1o-qp.js} +1 -1
- package/out/_next/static/{_TiowajLX6Z3MYsLPNgxd → hZLisNV-2KMtO7y1-ggVm}/_buildManifest.js +2 -2
- package/out/_offline/index.html +2 -2
- package/out/account/forgot-password/index.html +2 -2
- package/out/account/index.html +2 -2
- package/out/assortments/AssortmentDetailPage/index.html +2 -2
- package/out/assortments/index.html +2 -2
- package/out/assortments/new/index.html +2 -2
- package/out/copilot/index.html +2 -2
- package/out/country/CountryDetailPage/index.html +2 -2
- package/out/country/index.html +2 -2
- package/out/country/new/index.html +2 -2
- package/out/currency/CurrencyDetailPage/index.html +2 -2
- package/out/currency/index.html +2 -2
- package/out/currency/new/index.html +2 -2
- package/out/delivery-provider/DeliveryProviderDetailPage/index.html +2 -2
- package/out/delivery-provider/index.html +2 -2
- package/out/delivery-provider/new/index.html +2 -2
- package/out/enrollments/EnrollmentDetailPage/index.html +2 -2
- package/out/enrollments/index.html +2 -2
- package/out/events/EventDetailPage/index.html +2 -2
- package/out/events/index.html +2 -2
- package/out/exports/index.html +2 -2
- package/out/external/index.html +2 -2
- package/out/filters/FilterDetailPage/index.html +2 -2
- package/out/filters/index.html +2 -2
- package/out/filters/new/index.html +2 -2
- package/out/index.html +2 -2
- package/out/install/index.html +2 -2
- package/out/language/LanguageDetailPage/index.html +2 -2
- package/out/language/index.html +2 -2
- package/out/language/new/index.html +2 -2
- package/out/log-in/index.html +2 -2
- package/out/manifest.json +48 -0
- package/out/orders/OrderDetailPage/index.html +2 -2
- package/out/orders/index.html +2 -2
- package/out/payment-provider/PaymentProviderDetailPage/index.html +2 -2
- package/out/payment-provider/index.html +2 -2
- package/out/payment-provider/new/index.html +2 -2
- package/out/products/ProductDetailPage/index.html +2 -2
- package/out/products/index.html +2 -2
- package/out/products/new/index.html +2 -2
- package/out/quotations/QuotationDetailPage/index.html +2 -2
- package/out/quotations/index.html +2 -2
- package/out/reset-password/index.html +2 -2
- package/out/sign-up/index.html +2 -2
- package/out/styleguide/index.html +2 -2
- package/out/tokens/TokenDetailPage/index.html +2 -2
- package/out/tokens/index.html +2 -2
- package/out/users/UserDetailPage/index.html +2 -2
- package/out/users/index.html +2 -2
- package/out/users/new/index.html +2 -2
- package/out/verify-email/index.html +2 -2
- package/out/warehousing-provider/WarehousingProviderDetailPage/index.html +2 -2
- package/out/warehousing-provider/index.html +2 -2
- package/out/warehousing-provider/new/index.html +2 -2
- package/out/works/WorkDetailPage/index.html +2 -2
- package/out/works/WorkQueueListView/index.html +2 -2
- package/out/works/index.html +2 -2
- package/out/works/management/index.html +2 -2
- package/package.json +1 -1
- package/out/_next/static/chunks/1t20r1ofch5r3.js +0 -95
- /package/out/_next/static/{_TiowajLX6Z3MYsLPNgxd → hZLisNV-2KMtO7y1-ggVm}/_clientMiddlewareManifest.js +0 -0
- /package/out/_next/static/{_TiowajLX6Z3MYsLPNgxd → hZLisNV-2KMtO7y1-ggVm}/_ssgManifest.js +0 -0
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { IShopInfoQuery } from '../../../gql/types';
|
|
3
|
+
type AppContextProps = IShopInfoQuery & {
|
|
4
|
+
selectedLocale: string;
|
|
5
|
+
isSystemReady: boolean;
|
|
6
|
+
setSelectedLocale: (locale: string) => void;
|
|
7
|
+
languageDialectList: {
|
|
8
|
+
_id: string;
|
|
9
|
+
isoCode: string;
|
|
10
|
+
}[];
|
|
11
|
+
};
|
|
12
|
+
declare const AppContext: React.Context<AppContextProps>;
|
|
13
|
+
export declare const AppContextWrapper: ({ children, onlyFull, }: {
|
|
14
|
+
children: React.ReactNode;
|
|
15
|
+
onlyFull?: boolean;
|
|
16
|
+
}) => React.JSX.Element;
|
|
17
|
+
export default AppContext;
|
|
18
|
+
//# sourceMappingURL=AppContext.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AppContext.d.ts","sourceRoot":"","sources":["../../../../src/modules/common/components/AppContext.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAyD,MAAM,OAAO,CAAC;AAO9E,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAYpD,KAAK,eAAe,GAAG,cAAc,GAAG;IACtC,cAAc,EAAE,MAAM,CAAC;IACvB,aAAa,EAAE,OAAO,CAAC;IACvB,iBAAiB,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IAC5C,mBAAmB,EAAE;QAAE,GAAG,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;CACzD,CAAC;AAEF,QAAA,MAAM,UAAU,gCAAwD,CAAC;AAqBzE,eAAO,MAAM,iBAAiB,GAAI,yBAG/B;IACD,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,sBAiDA,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare const FormWrapperContext: React.Context<boolean>;
|
|
3
|
+
declare const FormWrapper: ({ children, className }: {
|
|
4
|
+
children: any;
|
|
5
|
+
className?: string;
|
|
6
|
+
}) => React.JSX.Element;
|
|
7
|
+
export default FormWrapper;
|
|
8
|
+
//# sourceMappingURL=FormWrapper.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FormWrapper.d.ts","sourceRoot":"","sources":["../../../../src/modules/common/components/FormWrapper.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAwB,MAAM,OAAO,CAAC;AAG7C,eAAO,MAAM,kBAAkB,wBAAuB,CAAC;AAEvD,QAAA,MAAM,WAAW,GAAI;;;CAA4B,sBAehD,CAAC;AAEF,eAAe,WAAW,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Dispatch, ReactNode, SetStateAction } from 'react';
|
|
2
|
+
export type Theme = 'light' | 'dark';
|
|
3
|
+
type ThemeContextType = [Theme, Dispatch<SetStateAction<Theme>>];
|
|
4
|
+
export declare const ThemeContext: import("react").Context<ThemeContextType>;
|
|
5
|
+
interface ThemeWrapperProps {
|
|
6
|
+
children: ReactNode;
|
|
7
|
+
}
|
|
8
|
+
declare const ThemeWrapper: ({ children }: ThemeWrapperProps) => import("react").JSX.Element;
|
|
9
|
+
export default ThemeWrapper;
|
|
10
|
+
//# sourceMappingURL=ThemeWrapper.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ThemeWrapper.d.ts","sourceRoot":"","sources":["../../../../src/modules/common/components/ThemeWrapper.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEL,QAAQ,EACR,SAAS,EACT,cAAc,EAGf,MAAM,OAAO,CAAC;AAEf,MAAM,MAAM,KAAK,GAAG,OAAO,GAAG,MAAM,CAAC;AAErC,KAAK,gBAAgB,GAAG,CAAC,KAAK,EAAE,QAAQ,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;AAEjE,eAAO,MAAM,YAAY,2CAExB,CAAC;AAEF,UAAU,iBAAiB;IACzB,QAAQ,EAAE,SAAS,CAAC;CACrB;AAkBD,QAAA,MAAM,YAAY,GAAI,cAAc,iBAAiB,gCAiBpD,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"iso-codes.d.ts","sourceRoot":"","sources":["../../../../src/modules/common/data/iso-codes.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,aAAa,UAybzB,CAAC;AAEF,eAAO,MAAM,YAAY,UAuOxB,CAAC;AAEF,eAAO,MAAM,aAAa,UAuLzB,CAAC"}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
export declare const LimitSteps: number[];
|
|
2
|
+
export declare const DefaultLimit = 50;
|
|
3
|
+
export declare const textColor: (color: any, hue: any) => string;
|
|
4
|
+
export declare const bgColor: (color: any, hue: any) => string;
|
|
5
|
+
export declare const borderColor: (color: any, hue: any) => string;
|
|
6
|
+
export declare const getShadowStyle: (status: any) => string;
|
|
7
|
+
export declare const PROVIDER_TYPE_CLASSES: {
|
|
8
|
+
PHYSICAL: string;
|
|
9
|
+
CARD: string;
|
|
10
|
+
INVOICE: string;
|
|
11
|
+
GENERIC: string;
|
|
12
|
+
PICKUP: string;
|
|
13
|
+
SHIPPING: string;
|
|
14
|
+
};
|
|
15
|
+
export declare const WORK_STATUSES: {
|
|
16
|
+
NEW: string;
|
|
17
|
+
ALLOCATED: string;
|
|
18
|
+
SUCCESS: string;
|
|
19
|
+
FAILED: string;
|
|
20
|
+
DELETED: string;
|
|
21
|
+
};
|
|
22
|
+
export declare const ORDER_STATUSES: {
|
|
23
|
+
OPEN: string;
|
|
24
|
+
PENDING: string;
|
|
25
|
+
CONFIRMED: string;
|
|
26
|
+
FULFILLED: string;
|
|
27
|
+
REJECTED: string;
|
|
28
|
+
};
|
|
29
|
+
export declare const TOKEN_STATUSES: {
|
|
30
|
+
CENTRALIZED: string;
|
|
31
|
+
EXPORTING: string;
|
|
32
|
+
DECENTRALIZED: string;
|
|
33
|
+
};
|
|
34
|
+
export declare const PAYMENT_STATUSES: {
|
|
35
|
+
PAID: string;
|
|
36
|
+
REFUNDED: string;
|
|
37
|
+
OPEN: string;
|
|
38
|
+
};
|
|
39
|
+
export declare const DELIVERY_STATUSES: {
|
|
40
|
+
DELIVERED: string;
|
|
41
|
+
RETURNED: string;
|
|
42
|
+
OPEN: string;
|
|
43
|
+
};
|
|
44
|
+
export declare const QUOTATION_STATUS: {
|
|
45
|
+
REQUESTED: string;
|
|
46
|
+
PROCESSING: string;
|
|
47
|
+
PROPOSED: string;
|
|
48
|
+
REJECTED: string;
|
|
49
|
+
FULFILLED: string;
|
|
50
|
+
};
|
|
51
|
+
//# sourceMappingURL=miscellaneous.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"miscellaneous.d.ts","sourceRoot":"","sources":["../../../../src/modules/common/data/miscellaneous.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,UAAU,UAA4C,CAAC;AACpE,eAAO,MAAM,YAAY,KAAK,CAAC;AA6zB/B,eAAO,MAAM,SAAS,GAAI,UAAK,EAAE,QAAG,WAEnC,CAAC;AAEF,eAAO,MAAM,OAAO,GAAI,UAAK,EAAE,QAAG,WAEjC,CAAC;AAEF,eAAO,MAAM,WAAW,GAAI,UAAK,EAAE,QAAG,WAErC,CAAC;AAUF,eAAO,MAAM,cAAc,GAAI,WAAM,WAEpC,CAAC;AAEF,eAAO,MAAM,qBAAqB;;;;;;;CAOjC,CAAC;AAEF,eAAO,MAAM,aAAa;;;;;;CAMzB,CAAC;AAEF,eAAO,MAAM,cAAc;;;;;;CAM1B,CAAC;AAEF,eAAO,MAAM,cAAc;;;;CAI1B,CAAC;AAEF,eAAO,MAAM,gBAAgB;;;;CAI5B,CAAC;AAEF,eAAO,MAAM,iBAAiB;;;;CAI7B,CAAC;AAEF,eAAO,MAAM,gBAAgB;;;;;;CAM5B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AddressFragment.d.ts","sourceRoot":"","sources":["../../../../src/modules/common/fragments/AddressFragment.ts"],"names":[],"mappings":"AAEA,QAAA,MAAM,eAAe,gCAWpB,CAAC;AAEF,eAAe,eAAe,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
declare const useApp: () => import("../../../gql/types").IShopInfoQuery & {
|
|
2
|
+
selectedLocale: string;
|
|
3
|
+
isSystemReady: boolean;
|
|
4
|
+
setSelectedLocale: (locale: string) => void;
|
|
5
|
+
languageDialectList: {
|
|
6
|
+
_id: string;
|
|
7
|
+
isoCode: string;
|
|
8
|
+
}[];
|
|
9
|
+
};
|
|
10
|
+
export default useApp;
|
|
11
|
+
//# sourceMappingURL=useApp.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useApp.d.ts","sourceRoot":"","sources":["../../../../src/modules/common/hooks/useApp.ts"],"names":[],"mappings":"AAGA,QAAA,MAAM,MAAM;;;;;;;;CAKX,CAAC;AAEF,eAAe,MAAM,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export interface ExportParams {
|
|
2
|
+
type: string;
|
|
3
|
+
pollInterval?: number;
|
|
4
|
+
[key: string]: unknown;
|
|
5
|
+
}
|
|
6
|
+
export declare const useCSVExport: () => {
|
|
7
|
+
isExporting: boolean;
|
|
8
|
+
exportCSV: ({ type, pollInterval, ...params }: ExportParams) => Promise<any>;
|
|
9
|
+
};
|
|
10
|
+
//# sourceMappingURL=useCSVExport.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useCSVExport.d.ts","sourceRoot":"","sources":["../../../../src/modules/common/hooks/useCSVExport.ts"],"names":[],"mappings":"AAcA,MAAM,WAAW,YAAY;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB;AAED,eAAO,MAAM,YAAY;;mDAqB4B,YAAY;CAoDhE,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export interface ImportResult {
|
|
2
|
+
success: number;
|
|
3
|
+
failed: number;
|
|
4
|
+
errors: string[];
|
|
5
|
+
}
|
|
6
|
+
export interface UseImportOptions<T> {
|
|
7
|
+
validate: (items: T, intl: any) => string[];
|
|
8
|
+
process: (item: T) => Promise<{
|
|
9
|
+
entity: string;
|
|
10
|
+
operation: string;
|
|
11
|
+
payload: any;
|
|
12
|
+
}[]>;
|
|
13
|
+
}
|
|
14
|
+
export declare const useCSVImport: <T>({ validate, process }: UseImportOptions<T>) => {
|
|
15
|
+
isImporting: boolean;
|
|
16
|
+
importItems: (items: T) => Promise<ImportResult | undefined>;
|
|
17
|
+
};
|
|
18
|
+
//# sourceMappingURL=useCSVImport.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useCSVImport.d.ts","sourceRoot":"","sources":["../../../../src/modules/common/hooks/useCSVImport.ts"],"names":[],"mappings":"AAKA,MAAM,WAAW,YAAY;IAC3B,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,EAAE,CAAC;CAClB;AAED,MAAM,WAAW,gBAAgB,CAAC,CAAC;IACjC,QAAQ,EAAE,CAAC,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,GAAG,KAAK,MAAM,EAAE,CAAC;IAC5C,OAAO,EAAE,CACP,IAAI,EAAE,CAAC,KACJ,OAAO,CAAC;QAAE,MAAM,EAAE,MAAM,CAAC;QAAC,SAAS,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,GAAG,CAAA;KAAE,EAAE,CAAC,CAAC;CACrE;AAED,eAAO,MAAM,YAAY,GAAI,CAAC,EAAE,uBAAuB,gBAAgB,CAAC,CAAC,CAAC;;yBAItC,CAAC,KAAG,OAAO,CAAC,YAAY,GAAG,SAAS,CAAC;CA8CxE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useChatEndpointChecker.d.ts","sourceRoot":"","sources":["../../../../src/modules/common/hooks/useChatEndpointChecker.ts"],"names":[],"mappings":"AAEA,wBAAgB,sBAAsB;;;EAsBrC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { IConfirmMediaUploadMutation } from '../../../gql/types';
|
|
2
|
+
declare const useConfirmMediaUpload: (options?: {}) => {
|
|
3
|
+
confirmMediaUpload: ({ mediaUploadTicketId, size, type }: {
|
|
4
|
+
mediaUploadTicketId: any;
|
|
5
|
+
size: any;
|
|
6
|
+
type: any;
|
|
7
|
+
}) => Promise<import("@apollo/client").ApolloClient.MutateResult<IConfirmMediaUploadMutation, undefined>>;
|
|
8
|
+
};
|
|
9
|
+
export default useConfirmMediaUpload;
|
|
10
|
+
//# sourceMappingURL=useConfirmMediaUpload.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useConfirmMediaUpload.d.ts","sourceRoot":"","sources":["../../../../src/modules/common/hooks/useConfirmMediaUpload.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,2BAA2B,EAE5B,MAAM,oBAAoB,CAAC;AAsB5B,QAAA,MAAM,qBAAqB,GAAI,YAAY;;;;;;CAe1C,CAAC;AAEF,eAAe,qBAAqB,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
declare const useDashboardMetrics: () => {
|
|
2
|
+
metrics: {
|
|
3
|
+
orders: {
|
|
4
|
+
value: number;
|
|
5
|
+
loading: boolean;
|
|
6
|
+
};
|
|
7
|
+
products: {
|
|
8
|
+
value: number;
|
|
9
|
+
loading: boolean;
|
|
10
|
+
};
|
|
11
|
+
customers: {
|
|
12
|
+
value: number;
|
|
13
|
+
loading: boolean;
|
|
14
|
+
};
|
|
15
|
+
categories: {
|
|
16
|
+
value: number;
|
|
17
|
+
loading: boolean;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
isLoading: boolean;
|
|
21
|
+
};
|
|
22
|
+
export default useDashboardMetrics;
|
|
23
|
+
//# sourceMappingURL=useDashboardMetrics.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useDashboardMetrics.d.ts","sourceRoot":"","sources":["../../../../src/modules/common/hooks/useDashboardMetrics.ts"],"names":[],"mappings":"AAKA,QAAA,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;CAkCxB,CAAC;AAEF,eAAe,mBAAmB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useLocalStorage.d.ts","sourceRoot":"","sources":["../../../../src/modules/common/hooks/useLocalStorage.ts"],"names":[],"mappings":"AAEA,QAAA,MAAM,eAAe,GAAI,QAAG,EAAE,iBAAY,UA6BzC,CAAC;AAEF,eAAe,eAAe,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export interface SalesData {
|
|
2
|
+
date: string;
|
|
3
|
+
sales: number;
|
|
4
|
+
orders: number;
|
|
5
|
+
avgOrderValue: number;
|
|
6
|
+
}
|
|
7
|
+
export interface SalesAnalyticsResult {
|
|
8
|
+
totalSales: number;
|
|
9
|
+
totalOrders: number;
|
|
10
|
+
averageOrderValue: number;
|
|
11
|
+
salesData: SalesData[];
|
|
12
|
+
loading: boolean;
|
|
13
|
+
dateRange?: {
|
|
14
|
+
start: string;
|
|
15
|
+
end: string;
|
|
16
|
+
};
|
|
17
|
+
currencyCode?: string;
|
|
18
|
+
error: any;
|
|
19
|
+
}
|
|
20
|
+
declare const useOrderAnalytics: ({ days, skip, }: {
|
|
21
|
+
days?: number;
|
|
22
|
+
skip?: boolean;
|
|
23
|
+
}) => SalesAnalyticsResult;
|
|
24
|
+
export default useOrderAnalytics;
|
|
25
|
+
//# sourceMappingURL=useOrderAnalytics.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useOrderAnalytics.d.ts","sourceRoot":"","sources":["../../../../src/modules/common/hooks/useOrderAnalytics.ts"],"names":[],"mappings":"AAyBA,MAAM,WAAW,SAAS;IACxB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,aAAa,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,WAAW,oBAAoB;IACnC,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;IACpB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,SAAS,EAAE,SAAS,EAAE,CAAC;IACvB,OAAO,EAAE,OAAO,CAAC;IACjB,SAAS,CAAC,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,GAAG,EAAE,MAAM,CAAA;KAAE,CAAC;IAC3C,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,KAAK,EAAE,GAAG,CAAC;CACZ;AAuBD,QAAA,MAAM,iBAAiB,GAAI,iBAGxB;IACD,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,OAAO,CAAC;CAChB,KAAG,oBAkEH,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
interface ProductSales {
|
|
2
|
+
productId: string;
|
|
3
|
+
productName: string;
|
|
4
|
+
productImage?: string;
|
|
5
|
+
product?: any;
|
|
6
|
+
totalQuantity: number;
|
|
7
|
+
totalRevenue: number;
|
|
8
|
+
}
|
|
9
|
+
interface OrderItemsAnalytics {
|
|
10
|
+
topProducts: ProductSales[];
|
|
11
|
+
loading: boolean;
|
|
12
|
+
error: any;
|
|
13
|
+
}
|
|
14
|
+
declare const useOrderItemsAnalytics: () => OrderItemsAnalytics;
|
|
15
|
+
export default useOrderItemsAnalytics;
|
|
16
|
+
//# sourceMappingURL=useOrderItemsAnalytics.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useOrderItemsAnalytics.d.ts","sourceRoot":"","sources":["../../../../src/modules/common/hooks/useOrderItemsAnalytics.ts"],"names":[],"mappings":"AAkBA,UAAU,YAAY;IACpB,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,OAAO,CAAC,EAAE,GAAG,CAAC;IACd,aAAa,EAAE,MAAM,CAAC;IACtB,YAAY,EAAE,MAAM,CAAC;CACtB;AAED,UAAU,mBAAmB;IAC3B,WAAW,EAAE,YAAY,EAAE,CAAC;IAC5B,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,EAAE,GAAG,CAAC;CACZ;AAED,QAAA,MAAM,sBAAsB,QAAO,mBAuElC,CAAC;AAEF,eAAe,sBAAsB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useOutsideClick.d.ts","sourceRoot":"","sources":["../../../../src/modules/common/hooks/useOutsideClick.ts"],"names":[],"mappings":"AAEA,QAAA,MAAM,eAAe,GAAI,aAAQ,iDAwBhC,CAAC;AAEF,eAAe,eAAe,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
interface UsePortalOptions {
|
|
2
|
+
/** Container element to append portal to. Defaults to document.body */
|
|
3
|
+
container?: Element | null;
|
|
4
|
+
/** CSS class to apply to portal container */
|
|
5
|
+
className?: string;
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* Hook for managing portal containers
|
|
9
|
+
* Provides a ref to the portal container and handles cleanup
|
|
10
|
+
*/
|
|
11
|
+
export declare const usePortal: (options?: UsePortalOptions) => {
|
|
12
|
+
/** Reference to the portal container element */
|
|
13
|
+
portalRef: import("react").RefObject<HTMLDivElement>;
|
|
14
|
+
/** Whether the portal is currently mounted */
|
|
15
|
+
mounted: boolean;
|
|
16
|
+
/** The portal container element */
|
|
17
|
+
container: HTMLDivElement;
|
|
18
|
+
};
|
|
19
|
+
export default usePortal;
|
|
20
|
+
//# sourceMappingURL=usePortal.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"usePortal.d.ts","sourceRoot":"","sources":["../../../../src/modules/common/hooks/usePortal.ts"],"names":[],"mappings":"AAEA,UAAU,gBAAgB;IACxB,uEAAuE;IACvE,SAAS,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;IAC3B,6CAA6C;IAC7C,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;GAGG;AACH,eAAO,MAAM,SAAS,GAAI,UAAS,gBAAqB;IA+BpD,gDAAgD;;IAEhD,8CAA8C;;IAE9C,mCAAmC;;CAGtC,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ShopConfiguration } from '../utils/getSetupStepsConfigurationsMeta';
|
|
2
|
+
declare const useShopConfiguration: () => {
|
|
3
|
+
configuration: ShopConfiguration;
|
|
4
|
+
loading: boolean;
|
|
5
|
+
error: import("@apollo/client").ErrorLike;
|
|
6
|
+
};
|
|
7
|
+
export default useShopConfiguration;
|
|
8
|
+
//# sourceMappingURL=useShopConfiguration.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useShopConfiguration.d.ts","sourceRoot":"","sources":["../../../../src/modules/common/hooks/useShopConfiguration.ts"],"names":[],"mappings":"AAIA,OAAwC,EAEtC,iBAAiB,EAClB,MAAM,0CAA0C,CAAC;AA+ClD,QAAA,MAAM,oBAAoB;;;;CA0BzB,CAAC;AAEF,eAAe,oBAAoB,CAAC"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
declare const useShopInfo: () => {
|
|
2
|
+
shopInfo: {
|
|
3
|
+
_id: string;
|
|
4
|
+
version?: string | null;
|
|
5
|
+
language?: {
|
|
6
|
+
_id: string;
|
|
7
|
+
isoCode?: string | null;
|
|
8
|
+
name?: string | null;
|
|
9
|
+
} | null;
|
|
10
|
+
country?: {
|
|
11
|
+
_id: string;
|
|
12
|
+
isoCode?: string | null;
|
|
13
|
+
flagEmoji?: string | null;
|
|
14
|
+
name?: string | null;
|
|
15
|
+
defaultCurrency?: {
|
|
16
|
+
_id: string;
|
|
17
|
+
isoCode: string;
|
|
18
|
+
} | null;
|
|
19
|
+
} | null;
|
|
20
|
+
adminUiConfig: {
|
|
21
|
+
singleSignOnURL?: string | null;
|
|
22
|
+
productTags: Array<string>;
|
|
23
|
+
assortmentTags: Array<string>;
|
|
24
|
+
userTags: Array<string>;
|
|
25
|
+
externalLinks: Array<{
|
|
26
|
+
href?: string | null;
|
|
27
|
+
title?: string | null;
|
|
28
|
+
target?: import("../../../gql/types").IExternalLinkTarget | null;
|
|
29
|
+
}>;
|
|
30
|
+
customProperties: Array<{
|
|
31
|
+
entityName: string;
|
|
32
|
+
inlineFragment: string;
|
|
33
|
+
}>;
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
defaultLocale: string;
|
|
37
|
+
loading: boolean;
|
|
38
|
+
error: import("@apollo/client").ErrorLike;
|
|
39
|
+
};
|
|
40
|
+
export default useShopInfo;
|
|
41
|
+
//# sourceMappingURL=useShopInfo.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useShopInfo.d.ts","sourceRoot":"","sources":["../../../../src/modules/common/hooks/useShopInfo.ts"],"names":[],"mappings":"AA2CA,QAAA,MAAM,WAAW;;;;;;mBAsB8s2O,CAAC;gBAA2B,CAAC;;;;mBAA+E,CAAC;qBAAgC,CAAC;gBAA2B,CAAC;2BAAsC,CAAC;;;;;;2BAAmG,CAAC;;;;;oBAAgK,CAAC;qBAA8B,CAAC;sBAA+B,CAAC;;;;;;;;;;;CAHnv3O,CAAC;AAEF,eAAe,WAAW,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
declare const useStatusTypes: (enumName: string) => {
|
|
2
|
+
statusTypes: {
|
|
3
|
+
value: string;
|
|
4
|
+
label: string;
|
|
5
|
+
}[];
|
|
6
|
+
loading: boolean;
|
|
7
|
+
error: import("@apollo/client").ErrorLike;
|
|
8
|
+
};
|
|
9
|
+
export default useStatusTypes;
|
|
10
|
+
//# sourceMappingURL=useStatusTypes.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useStatusTypes.d.ts","sourceRoot":"","sources":["../../../../src/modules/common/hooks/useStatusTypes.ts"],"names":[],"mappings":"AAkBA,QAAA,MAAM,cAAc,GAAI,UAAU,MAAM;;eAHL,MAAM;eAAS,MAAM;;;;CAWvD,CAAC;AAEF,eAAe,cAAc,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useSystemRoles.d.ts","sourceRoot":"","sources":["../../../../src/modules/common/hooks/useSystemRoles.ts"],"names":[],"mappings":"AAgBA,QAAA,MAAM,cAAc;;;;CAUnB,CAAC;AAEF,eAAe,cAAc,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useTheme.d.ts","sourceRoot":"","sources":["../../../../src/modules/common/hooks/useTheme.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAgB,MAAM,4BAA4B,CAAC;AAEjE,QAAA,MAAM,QAAQ,QAAO;IAAE,KAAK,EAAE,KAAK,CAAC;IAAC,QAAQ,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAA;CAQpE,CAAC;AAEF,eAAe,QAAQ,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"deBounce.d.ts","sourceRoot":"","sources":["../../../../src/modules/common/utils/deBounce.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,QAAQ,GACX,KAAI,MAAY,MAChB,MAAM,QAAQ,MAEL,GAAG,WAAI,SAKhB,CAAC;AAEJ,eAAe,QAAQ,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"defaultNextImageLoader.d.ts","sourceRoot":"","sources":["../../../../src/modules/common/utils/defaultNextImageLoader.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,sBAAsB,GAAI;;;;CAA4B,WAI3D,CAAC;AAEF,eAAe,sBAAsB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"formatUsername.d.ts","sourceRoot":"","sources":["../../../../src/modules/common/utils/formatUsername.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,cAAc,GAAI,SAAI,QAS3B,CAAC;AAEF,eAAe,cAAc,CAAC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
export interface Step {
|
|
2
|
+
id: string;
|
|
3
|
+
title: string;
|
|
4
|
+
description: string;
|
|
5
|
+
isComplete: boolean;
|
|
6
|
+
isRequired: boolean;
|
|
7
|
+
setupUrl: string;
|
|
8
|
+
category: 'essential' | 'commerce' | 'content';
|
|
9
|
+
estimatedTime: string;
|
|
10
|
+
icon: string;
|
|
11
|
+
completedAt?: string;
|
|
12
|
+
}
|
|
13
|
+
export interface ConfigurationStep {
|
|
14
|
+
[key: string]: Step;
|
|
15
|
+
}
|
|
16
|
+
export interface ShopConfiguration {
|
|
17
|
+
steps: ConfigurationStep;
|
|
18
|
+
overallProgress: number;
|
|
19
|
+
isFullyConfigured: boolean;
|
|
20
|
+
essentialStepsComplete: boolean;
|
|
21
|
+
commerceStepsComplete: boolean;
|
|
22
|
+
contentStepsComplete: boolean;
|
|
23
|
+
essentialSteps: Step[];
|
|
24
|
+
commerceSteps: Step[];
|
|
25
|
+
contentSteps: Step[];
|
|
26
|
+
completedSteps: Step[];
|
|
27
|
+
}
|
|
28
|
+
declare const getSetupStepsConfigurationsMeta: (formatMessage: any) => ConfigurationStep;
|
|
29
|
+
export default getSetupStepsConfigurationsMeta;
|
|
30
|
+
//# sourceMappingURL=getSetupStepsConfigurationsMeta.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getSetupStepsConfigurationsMeta.d.ts","sourceRoot":"","sources":["../../../../src/modules/common/utils/getSetupStepsConfigurationsMeta.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,IAAI;IACnB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,OAAO,CAAC;IACpB,UAAU,EAAE,OAAO,CAAC;IACpB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,WAAW,GAAG,UAAU,GAAG,SAAS,CAAC;IAC/C,aAAa,EAAE,MAAM,CAAC;IACtB,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,iBAAiB;IAChC,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI,CAAC;CACrB;AAED,MAAM,WAAW,iBAAiB;IAChC,KAAK,EAAE,iBAAiB,CAAC;IACzB,eAAe,EAAE,MAAM,CAAC;IACxB,iBAAiB,EAAE,OAAO,CAAC;IAC3B,sBAAsB,EAAE,OAAO,CAAC;IAChC,qBAAqB,EAAE,OAAO,CAAC;IAC/B,oBAAoB,EAAE,OAAO,CAAC;IAC9B,cAAc,EAAE,IAAI,EAAE,CAAC;IACvB,aAAa,EAAE,IAAI,EAAE,CAAC;IACtB,YAAY,EAAE,IAAI,EAAE,CAAC;IACrB,cAAc,EAAE,IAAI,EAAE,CAAC;CACxB;AAED,QAAA,MAAM,+BAA+B,GAAI,kBAAa,KAAG,iBA8GxD,CAAC;AAEF,eAAe,+BAA+B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"normalizeFilterKeys.d.ts","sourceRoot":"","sources":["../../../../src/modules/common/utils/normalizeFilterKeys.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,QAAQ,GAAI,QAAG,YAE3B,CAAC;AAEF,eAAO,MAAM,QAAQ,GAAI,QAAG,YAM3B,CAAC;AAEF,eAAO,MAAM,YAAY,GAAI,UAAK,aAIjC,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
declare const useFormatDateTime: () => {
|
|
2
|
+
formatDateTime: (date: any, options?: Intl.DateTimeFormatOptions) => string;
|
|
3
|
+
getDateFormatPattern: () => string;
|
|
4
|
+
parseDate: (value: any) => string;
|
|
5
|
+
};
|
|
6
|
+
export default useFormatDateTime;
|
|
7
|
+
//# sourceMappingURL=useFormatDateTime.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useFormatDateTime.d.ts","sourceRoot":"","sources":["../../../../src/modules/common/utils/useFormatDateTime.ts"],"names":[],"mappings":"AAGA,QAAA,MAAM,iBAAiB;0CACkB,IAAI,CAAC,qBAAqB;;;CAsClE,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { ISortOptionInput } from '../../../gql/types';
|
|
2
|
+
declare const useFormatPrice: () => {
|
|
3
|
+
formatPrice: (price: {
|
|
4
|
+
currencyCode: string;
|
|
5
|
+
amount: number;
|
|
6
|
+
}) => string;
|
|
7
|
+
};
|
|
8
|
+
declare const getInterfaceLabel: (obj: {
|
|
9
|
+
label?: string;
|
|
10
|
+
version?: string;
|
|
11
|
+
}) => string;
|
|
12
|
+
declare const classNames: (...classes: any[]) => string;
|
|
13
|
+
declare const normalizeCountryISOCode: (locale: any, isoCode: any, showIso?: boolean) => any;
|
|
14
|
+
declare const normalizeLanguageISOCode: (locale: any, isoCode: any, showIso?: boolean) => any;
|
|
15
|
+
declare const normalizeCurrencyISOCode: (locale: any, isoCode: any, showIso?: boolean) => any;
|
|
16
|
+
declare const getSortKeys: (sort: any) => any;
|
|
17
|
+
export declare const convertSortFieldsToQueryFormat: (sort: any) => ISortOptionInput[];
|
|
18
|
+
declare const normalizeQuery: (oldQuery: Object, newState?: any, keyLabel?: string) => string;
|
|
19
|
+
declare const getContent: (content: any) => string;
|
|
20
|
+
export { useFormatPrice, getInterfaceLabel, classNames, normalizeCurrencyISOCode, normalizeCountryISOCode, normalizeLanguageISOCode, getSortKeys, normalizeQuery, getContent, };
|
|
21
|
+
//# sourceMappingURL=utils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../src/modules/common/utils/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAEtD,QAAA,MAAM,cAAc;yBACU;QAAE,YAAY,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE;CAWrE,CAAC;AAEF,QAAA,MAAM,iBAAiB,GAAI,KAAK;IAAE,KAAK,CAAC,EAAE,MAAM,CAAC;IAAC,OAAO,CAAC,EAAE,MAAM,CAAA;CAAE,WAEnE,CAAC;AAEF,QAAA,MAAM,UAAU,GAAI,GAAG,cAAO,WAE7B,CAAC;AAEF,QAAA,MAAM,uBAAuB,GAAI,WAAM,EAAE,YAAO,EAAE,iBAAc,QAU/D,CAAC;AAEF,QAAA,MAAM,wBAAwB,GAAI,WAAM,EAAE,YAAO,EAAE,iBAAc,QAShE,CAAC;AAEF,QAAA,MAAM,wBAAwB,GAAI,WAAM,EAAE,YAAO,EAAE,iBAAc,QAShE,CAAC;AAEF,QAAA,MAAM,WAAW,GAAI,SAAI,QAYxB,CAAC;AACF,eAAO,MAAM,8BAA8B,GAAI,SAAI,KAAG,gBAAgB,EAKrE,CAAC;AAQF,QAAA,MAAM,cAAc,GAClB,UAAU,MAAM,EAChB,WAAW,GAAG,EACd,WAAW,MAAM,WAIlB,CAAC;AAEF,QAAA,MAAM,UAAU,GAAI,YAAO,WAI1B,CAAC;AAEF,OAAO,EACL,cAAc,EACd,iBAAiB,EACjB,UAAU,EACV,wBAAwB,EACxB,uBAAuB,EACvB,wBAAwB,EACxB,WAAW,EACX,cAAc,EACd,UAAU,GACX,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CountryFragment.d.ts","sourceRoot":"","sources":["../../../../src/modules/country/fragments/CountryFragment.ts"],"names":[],"mappings":"AAEA,QAAA,MAAM,eAAe,gCAYpB,CAAC;AAEF,eAAe,eAAe,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { ICountriesQueryVariables } from '../../../gql/types';
|
|
2
|
+
declare const useCountries: ({ queryString, limit, offset, includeInactive, sort, skip, }?: ICountriesQueryVariables & {
|
|
3
|
+
skip?: boolean;
|
|
4
|
+
}) => {
|
|
5
|
+
countries: {
|
|
6
|
+
_id: string;
|
|
7
|
+
isoCode?: string | null;
|
|
8
|
+
isActive?: boolean | null;
|
|
9
|
+
isBase?: boolean | null;
|
|
10
|
+
defaultCurrency?: {
|
|
11
|
+
_id: string;
|
|
12
|
+
isoCode: string;
|
|
13
|
+
} | null;
|
|
14
|
+
}[];
|
|
15
|
+
countriesCount: number;
|
|
16
|
+
hasMore: boolean;
|
|
17
|
+
loading: boolean;
|
|
18
|
+
error: import("@apollo/client").ErrorLike;
|
|
19
|
+
loadMore: () => void;
|
|
20
|
+
};
|
|
21
|
+
export default useCountries;
|
|
22
|
+
//# sourceMappingURL=useCountries.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useCountries.d.ts","sourceRoot":"","sources":["../../../../src/modules/country/hooks/useCountries.ts"],"names":[],"mappings":"AAEA,OAAO,EAAmB,wBAAwB,EAAE,MAAM,oBAAoB,CAAC;AA0B/E,QAAA,MAAM,YAAY,GAAI,+DAOnB,wBAAwB,GAAG;IAAE,IAAI,CAAC,EAAE,OAAO,CAAA;CAAO;;;;;;;;;;;;;;;;CA4BpD,CAAC;AAEF,eAAe,YAAY,CAAC"}
|