@unchainedshop/admin-ui 5.0.0-alpha.3 → 5.0.0-alpha.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +92 -35
- package/dist/chunk-45H2WVIC.js +51 -0
- package/dist/chunk-4VNS5WPM.js +37 -0
- package/dist/chunk-54DKBWXV.js +33 -0
- package/dist/chunk-6TXD4TA7.js +1196 -0
- package/dist/chunk-BGCKJQGS.js +58 -0
- package/dist/chunk-BYXBJQAS.js +1 -0
- package/dist/chunk-EJDZRZSZ.js +59 -0
- package/dist/chunk-ELPURWDC.js +75 -0
- package/dist/chunk-IAQPLRXZ.js +16 -0
- package/dist/chunk-ILYPJE4N.js +57 -0
- package/dist/chunk-IXBMHOB5.js +13 -0
- package/dist/chunk-KH5MK6ZW.js +18 -0
- package/dist/chunk-NT7RB7AK.js +70 -0
- package/dist/chunk-OKGJ6HDE.js +26 -0
- package/dist/chunk-Q6S3LBUF.js +180 -0
- package/dist/chunk-QNLGYFV7.js +22 -0
- package/dist/chunk-RAQV2GYF.js +70 -0
- package/dist/chunk-RHUFQVKL.js +514 -0
- package/dist/chunk-RVG6IOFC.js +11 -0
- package/dist/chunk-SRAAKMWY.js +39 -0
- package/dist/chunk-UFYR5WZT.js +165 -0
- package/dist/chunk-UXG7EYHC.js +614 -0
- package/dist/chunk-VDKQGOMV.js +840 -0
- package/dist/chunk-XHOCXPD5.js +9 -0
- package/dist/chunk-XJBPMIC4.js +284 -0
- package/dist/chunk-YO6PT7KD.js +13 -0
- package/dist/chunk-YSKZE2KN.js +652 -0
- package/dist/components/ui/Accordion/Accordion.d.ts +11 -0
- package/dist/components/ui/Accordion/Accordion.d.ts.map +1 -0
- package/dist/components/ui/Accordion/AccordionHeader.d.ts +6 -0
- package/dist/components/ui/Accordion/AccordionHeader.d.ts.map +1 -0
- package/dist/components/ui/Accordion/AccordionItem.d.ts +11 -0
- package/dist/components/ui/Accordion/AccordionItem.d.ts.map +1 -0
- package/dist/components/ui/ActiveInActive.d.ts +10 -0
- package/dist/components/ui/ActiveInActive.d.ts.map +1 -0
- package/dist/components/ui/AnimatedCounter.d.ts +7 -0
- package/dist/components/ui/AnimatedCounter.d.ts.map +1 -0
- package/dist/components/ui/Badge.d.ts +10 -0
- package/dist/components/ui/Badge.d.ts.map +1 -0
- package/dist/components/ui/BreadCrumbs.d.ts +7 -0
- package/dist/components/ui/BreadCrumbs.d.ts.map +1 -0
- package/dist/components/ui/Button.d.ts +36 -0
- package/dist/components/ui/Button.d.ts.map +1 -0
- package/dist/components/ui/CopyableText.d.ts +5 -0
- package/dist/components/ui/CopyableText.d.ts.map +1 -0
- package/dist/components/ui/DateInput.d.ts +15 -0
- package/dist/components/ui/DateInput.d.ts.map +1 -0
- package/dist/components/ui/DateRangeFilterInput.d.ts +4 -0
- package/dist/components/ui/DateRangeFilterInput.d.ts.map +1 -0
- package/dist/components/ui/DetailHeader.d.ts +6 -0
- package/dist/components/ui/DetailHeader.d.ts.map +1 -0
- package/dist/components/ui/DraggableIcon.d.ts +3 -0
- package/dist/components/ui/DraggableIcon.d.ts.map +1 -0
- package/dist/components/ui/ErrorBoundary.d.ts +18 -0
- package/dist/components/ui/ErrorBoundary.d.ts.map +1 -0
- package/dist/components/ui/ErrorFallback.d.ts +6 -0
- package/dist/components/ui/ErrorFallback.d.ts.map +1 -0
- package/dist/components/ui/HelpText.d.ts +11 -0
- package/dist/components/ui/HelpText.d.ts.map +1 -0
- package/dist/components/ui/ImageWithFallback.d.ts +7 -0
- package/dist/components/ui/ImageWithFallback.d.ts.map +1 -0
- package/dist/components/ui/InfoTextBanner.d.ts +6 -0
- package/dist/components/ui/InfoTextBanner.d.ts.map +1 -0
- package/dist/components/ui/JSONView.d.ts +6 -0
- package/dist/components/ui/JSONView.d.ts.map +1 -0
- package/dist/components/ui/ListHeader.d.ts +6 -0
- package/dist/components/ui/ListHeader.d.ts.map +1 -0
- package/dist/components/ui/Loading.d.ts +3 -0
- package/dist/components/ui/Loading.d.ts.map +1 -0
- package/dist/components/ui/NoData.d.ts +7 -0
- package/dist/components/ui/NoData.d.ts.map +1 -0
- package/dist/components/ui/NoImage.d.ts +7 -0
- package/dist/components/ui/NoImage.d.ts.map +1 -0
- package/dist/components/ui/NoImageSvg.d.ts +8 -0
- package/dist/components/ui/NoImageSvg.d.ts.map +1 -0
- package/dist/components/ui/PageHeader.d.ts +11 -0
- package/dist/components/ui/PageHeader.d.ts.map +1 -0
- package/dist/components/ui/Pagination.d.ts +8 -0
- package/dist/components/ui/Pagination.d.ts.map +1 -0
- package/dist/components/ui/Portal/Portal.d.ts +16 -0
- package/dist/components/ui/Portal/Portal.d.ts.map +1 -0
- package/dist/components/ui/Portal/Portal.types.d.ts +16 -0
- package/dist/components/ui/Portal/Portal.types.d.ts.map +1 -0
- package/dist/components/ui/SaveAndCancelButtons.d.ts +10 -0
- package/dist/components/ui/SaveAndCancelButtons.d.ts.map +1 -0
- package/dist/components/ui/SearchField.d.ts +7 -0
- package/dist/components/ui/SearchField.d.ts.map +1 -0
- package/dist/components/ui/Tab.d.ts +18 -0
- package/dist/components/ui/Tab.d.ts.map +1 -0
- package/dist/components/ui/Tag/TagInput.d.ts +14 -0
- package/dist/components/ui/Tag/TagInput.d.ts.map +1 -0
- package/dist/components/ui/Tag/TagList.d.ts +8 -0
- package/dist/components/ui/Tag/TagList.d.ts.map +1 -0
- package/dist/components/ui/Tag/TagListForm.d.ts +8 -0
- package/dist/components/ui/Tag/TagListForm.d.ts.map +1 -0
- package/dist/components/ui/Toggle.d.ts +11 -0
- package/dist/components/ui/Toggle.d.ts.map +1 -0
- package/dist/components/ui/ToolTip.d.ts +7 -0
- package/dist/components/ui/ToolTip.d.ts.map +1 -0
- package/dist/components/ui/card.d.ts +9 -0
- package/dist/components/ui/card.d.ts.map +1 -0
- package/dist/components/ui/chart.d.ts +42 -0
- package/dist/components/ui/chart.d.ts.map +1 -0
- package/dist/components/ui/form/CheckboxField.d.ts +4 -0
- package/dist/components/ui/form/CheckboxField.d.ts.map +1 -0
- package/dist/components/ui/form/ChoicesField.d.ts +12 -0
- package/dist/components/ui/form/ChoicesField.d.ts.map +1 -0
- package/dist/components/ui/form/Combobox.d.ts +20 -0
- package/dist/components/ui/form/Combobox.d.ts.map +1 -0
- package/dist/components/ui/form/DatePickerField.d.ts +4 -0
- package/dist/components/ui/form/DatePickerField.d.ts.map +1 -0
- package/dist/components/ui/form/EmailField.d.ts +7 -0
- package/dist/components/ui/form/EmailField.d.ts.map +1 -0
- package/dist/components/ui/form/FieldWithHelp.d.ts +10 -0
- package/dist/components/ui/form/FieldWithHelp.d.ts.map +1 -0
- package/dist/components/ui/form/FieldWrapper.d.ts +8 -0
- package/dist/components/ui/form/FieldWrapper.d.ts.map +1 -0
- package/dist/components/ui/form/FormErrors.d.ts +6 -0
- package/dist/components/ui/form/FormErrors.d.ts.map +1 -0
- package/dist/components/ui/form/JSONAreaField.d.ts +7 -0
- package/dist/components/ui/form/JSONAreaField.d.ts.map +1 -0
- package/dist/components/ui/form/MarkdownTextAreaField.d.ts +8 -0
- package/dist/components/ui/form/MarkdownTextAreaField.d.ts.map +1 -0
- package/dist/components/ui/form/PasswordField.d.ts +3 -0
- package/dist/components/ui/form/PasswordField.d.ts.map +1 -0
- package/dist/components/ui/form/SelectField.d.ts +11 -0
- package/dist/components/ui/form/SelectField.d.ts.map +1 -0
- package/dist/components/ui/form/SubmitButton.d.ts +9 -0
- package/dist/components/ui/form/SubmitButton.d.ts.map +1 -0
- package/dist/components/ui/form/TagInputField.d.ts +6 -0
- package/dist/components/ui/form/TagInputField.d.ts.map +1 -0
- package/dist/components/ui/form/TextAreaField.d.ts +8 -0
- package/dist/components/ui/form/TextAreaField.d.ts.map +1 -0
- package/dist/components/ui/form/TextField.d.ts +10 -0
- package/dist/components/ui/form/TextField.d.ts.map +1 -0
- package/dist/components/ui/form/index.d.ts +17 -0
- package/dist/components/ui/form/index.d.ts.map +1 -0
- package/dist/components/ui/icons.d.ts +4 -0
- package/dist/components/ui/icons.d.ts.map +1 -0
- package/dist/components/ui/index.d.ts +41 -0
- package/dist/components/ui/index.d.ts.map +1 -0
- package/dist/form.js +30077 -0
- package/dist/gql/types.d.ts +17209 -0
- package/dist/gql/types.d.ts.map +1 -0
- package/dist/hooks.js +41 -0
- package/dist/lib/utils.d.ts +3 -0
- package/dist/lib/utils.d.ts.map +1 -0
- package/dist/modal.js +114 -0
- package/dist/modules/UnchainedContext/UnchainedContext.d.ts +8 -0
- package/dist/modules/UnchainedContext/UnchainedContext.d.ts.map +1 -0
- package/dist/modules/UnchainedContext/useUnchainedContext.d.ts +7 -0
- package/dist/modules/UnchainedContext/useUnchainedContext.d.ts.map +1 -0
- package/dist/modules/accounts/fragment/MD5MetaDataFragment.d.ts +3 -0
- package/dist/modules/accounts/fragment/MD5MetaDataFragment.d.ts.map +1 -0
- package/dist/modules/accounts/fragment/UserFragment.d.ts +3 -0
- package/dist/modules/accounts/fragment/UserFragment.d.ts.map +1 -0
- package/dist/modules/accounts/hooks/useCurrentUser.d.ts +10 -0
- package/dist/modules/accounts/hooks/useCurrentUser.d.ts.map +1 -0
- package/dist/modules/accounts/hooks/useUsersCount.d.ts +8 -0
- package/dist/modules/accounts/hooks/useUsersCount.d.ts.map +1 -0
- package/dist/modules/accounts.js +1013 -0
- package/dist/modules/assortment/hooks/useAssortmentsCount.d.ts +8 -0
- package/dist/modules/assortment/hooks/useAssortmentsCount.d.ts.map +1 -0
- package/dist/modules/assortment.js +1121 -0
- package/dist/modules/common/components/AppContext.d.ts +18 -0
- package/dist/modules/common/components/AppContext.d.ts.map +1 -0
- package/dist/modules/common/components/FormWrapper.d.ts +8 -0
- package/dist/modules/common/components/FormWrapper.d.ts.map +1 -0
- package/dist/modules/common/components/ThemeWrapper.d.ts +10 -0
- package/dist/modules/common/components/ThemeWrapper.d.ts.map +1 -0
- package/dist/modules/common/data/iso-codes.d.ts +4 -0
- package/dist/modules/common/data/iso-codes.d.ts.map +1 -0
- package/dist/modules/common/data/miscellaneous.d.ts +51 -0
- package/dist/modules/common/data/miscellaneous.d.ts.map +1 -0
- package/dist/modules/common/fragments/AddressFragment.d.ts +3 -0
- package/dist/modules/common/fragments/AddressFragment.d.ts.map +1 -0
- package/dist/modules/common/hooks/useApp.d.ts +11 -0
- package/dist/modules/common/hooks/useApp.d.ts.map +1 -0
- package/dist/modules/common/hooks/useCSVExport.d.ts +10 -0
- package/dist/modules/common/hooks/useCSVExport.d.ts.map +1 -0
- package/dist/modules/common/hooks/useCSVImport.d.ts +18 -0
- package/dist/modules/common/hooks/useCSVImport.d.ts.map +1 -0
- package/dist/modules/common/hooks/useChatEndpointChecker.d.ts +5 -0
- package/dist/modules/common/hooks/useChatEndpointChecker.d.ts.map +1 -0
- package/dist/modules/common/hooks/useConfirmMediaUpload.d.ts +10 -0
- package/dist/modules/common/hooks/useConfirmMediaUpload.d.ts.map +1 -0
- package/dist/modules/common/hooks/useDashboardMetrics.d.ts +23 -0
- package/dist/modules/common/hooks/useDashboardMetrics.d.ts.map +1 -0
- package/dist/modules/common/hooks/useLocalStorage.d.ts +3 -0
- package/dist/modules/common/hooks/useLocalStorage.d.ts.map +1 -0
- package/dist/modules/common/hooks/useOrderAnalytics.d.ts +25 -0
- package/dist/modules/common/hooks/useOrderAnalytics.d.ts.map +1 -0
- package/dist/modules/common/hooks/useOrderItemsAnalytics.d.ts +16 -0
- package/dist/modules/common/hooks/useOrderItemsAnalytics.d.ts.map +1 -0
- package/dist/modules/common/hooks/useOutsideClick.d.ts +3 -0
- package/dist/modules/common/hooks/useOutsideClick.d.ts.map +1 -0
- package/dist/modules/common/hooks/usePortal.d.ts +20 -0
- package/dist/modules/common/hooks/usePortal.d.ts.map +1 -0
- package/dist/modules/common/hooks/useShopConfiguration.d.ts +8 -0
- package/dist/modules/common/hooks/useShopConfiguration.d.ts.map +1 -0
- package/dist/modules/common/hooks/useShopInfo.d.ts +41 -0
- package/dist/modules/common/hooks/useShopInfo.d.ts.map +1 -0
- package/dist/modules/common/hooks/useStatusTypes.d.ts +10 -0
- package/dist/modules/common/hooks/useStatusTypes.d.ts.map +1 -0
- package/dist/modules/common/hooks/useSystemRoles.d.ts +7 -0
- package/dist/modules/common/hooks/useSystemRoles.d.ts.map +1 -0
- package/dist/modules/common/hooks/useTheme.d.ts +7 -0
- package/dist/modules/common/hooks/useTheme.d.ts.map +1 -0
- package/dist/modules/common/utils/deBounce.d.ts +3 -0
- package/dist/modules/common/utils/deBounce.d.ts.map +1 -0
- package/dist/modules/common/utils/defaultNextImageLoader.d.ts +7 -0
- package/dist/modules/common/utils/defaultNextImageLoader.d.ts.map +1 -0
- package/dist/modules/common/utils/formatUsername.d.ts +3 -0
- package/dist/modules/common/utils/formatUsername.d.ts.map +1 -0
- package/dist/modules/common/utils/getSetupStepsConfigurationsMeta.d.ts +30 -0
- package/dist/modules/common/utils/getSetupStepsConfigurationsMeta.d.ts.map +1 -0
- package/dist/modules/common/utils/normalizeFilterKeys.d.ts +4 -0
- package/dist/modules/common/utils/normalizeFilterKeys.d.ts.map +1 -0
- package/dist/modules/common/utils/useFormatDateTime.d.ts +7 -0
- package/dist/modules/common/utils/useFormatDateTime.d.ts.map +1 -0
- package/dist/modules/common/utils/utils.d.ts +21 -0
- package/dist/modules/common/utils/utils.d.ts.map +1 -0
- package/dist/modules/country/fragments/CountryFragment.d.ts +3 -0
- package/dist/modules/country/fragments/CountryFragment.d.ts.map +1 -0
- package/dist/modules/country/hooks/useCountries.d.ts +22 -0
- package/dist/modules/country/hooks/useCountries.d.ts.map +1 -0
- package/dist/modules/country.js +108 -0
- package/dist/modules/currency.js +119 -0
- package/dist/modules/delivery-provider.js +269 -0
- package/dist/modules/enrollment.js +353 -0
- package/dist/modules/event.js +123 -0
- package/dist/modules/filter.js +448 -0
- package/dist/modules/forms/components/Form.d.ts +8 -0
- package/dist/modules/forms/components/Form.d.ts.map +1 -0
- package/dist/modules/forms/hooks/useField.d.ts +35 -0
- package/dist/modules/forms/hooks/useField.d.ts.map +1 -0
- package/dist/modules/forms/hooks/useForm.d.ts +44 -0
- package/dist/modules/forms/hooks/useForm.d.ts.map +1 -0
- package/dist/modules/forms/hooks/useFormContext.d.ts +3 -0
- package/dist/modules/forms/hooks/useFormContext.d.ts.map +1 -0
- package/dist/modules/forms/lib/FormContext.d.ts +13 -0
- package/dist/modules/forms/lib/FormContext.d.ts.map +1 -0
- package/dist/modules/forms/lib/clean.d.ts +3 -0
- package/dist/modules/forms/lib/clean.d.ts.map +1 -0
- package/dist/modules/forms/lib/validators.d.ts +20 -0
- package/dist/modules/forms/lib/validators.d.ts.map +1 -0
- package/dist/modules/language/fragments/LanguageFragment.d.ts +3 -0
- package/dist/modules/language/fragments/LanguageFragment.d.ts.map +1 -0
- package/dist/modules/language/hooks/useLanguages.d.ts +19 -0
- package/dist/modules/language/hooks/useLanguages.d.ts.map +1 -0
- package/dist/modules/language.js +106 -0
- package/dist/modules/modal/components/AlertMessage.d.ts +9 -0
- package/dist/modules/modal/components/AlertMessage.d.ts.map +1 -0
- package/dist/modules/modal/components/DangerMessage.d.ts +12 -0
- package/dist/modules/modal/components/DangerMessage.d.ts.map +1 -0
- package/dist/modules/modal/components/ImportResultMessage.d.ts +14 -0
- package/dist/modules/modal/components/ImportResultMessage.d.ts.map +1 -0
- package/dist/modules/modal/components/Modal.d.ts +10 -0
- package/dist/modules/modal/components/Modal.d.ts.map +1 -0
- package/dist/modules/modal/components/ModalWrapper.d.ts +6 -0
- package/dist/modules/modal/components/ModalWrapper.d.ts.map +1 -0
- package/dist/modules/modal/hooks/useModal.d.ts +7 -0
- package/dist/modules/modal/hooks/useModal.d.ts.map +1 -0
- package/dist/modules/modal/utils/ModalContext.d.ts +9 -0
- package/dist/modules/modal/utils/ModalContext.d.ts.map +1 -0
- package/dist/modules/order/fragments/OrderDetailFragment.d.ts +3 -0
- package/dist/modules/order/fragments/OrderDetailFragment.d.ts.map +1 -0
- package/dist/modules/order/fragments/OrderFragment.d.ts +3 -0
- package/dist/modules/order/fragments/OrderFragment.d.ts.map +1 -0
- package/dist/modules/order/hooks/useOrders.d.ts +46 -0
- package/dist/modules/order/hooks/useOrders.d.ts.map +1 -0
- package/dist/modules/order.js +563 -0
- package/dist/modules/payment-providers.js +206 -0
- package/dist/modules/product/hooks/useProductsCount.d.ts +8 -0
- package/dist/modules/product/hooks/useProductsCount.d.ts.map +1 -0
- package/dist/modules/product-review.js +251 -0
- package/dist/modules/product.js +1929 -0
- package/dist/modules/quotation.js +297 -0
- package/dist/modules/token.js +143 -0
- package/dist/modules/warehousing-providers.js +206 -0
- package/dist/modules/work/fragments/WorkFragment.d.ts +3 -0
- package/dist/modules/work/fragments/WorkFragment.d.ts.map +1 -0
- package/dist/modules/work/hooks/useAddWork.d.ts +6 -0
- package/dist/modules/work/hooks/useAddWork.d.ts.map +1 -0
- package/dist/modules/work/hooks/useWork.d.ts +32 -0
- package/dist/modules/work/hooks/useWork.d.ts.map +1 -0
- package/dist/modules/work.js +308 -0
- package/dist/plugins.js +8 -0
- package/dist/providers.js +6 -0
- package/dist/sdk/hooks.d.ts +9 -0
- package/dist/sdk/hooks.d.ts.map +1 -0
- package/dist/sdk/modal.d.ts +7 -0
- package/dist/sdk/modal.d.ts.map +1 -0
- package/dist/sdk/plugins.d.ts +67 -0
- package/dist/sdk/plugins.d.ts.map +1 -0
- package/dist/sdk/providers.d.ts +5 -0
- package/dist/sdk/providers.d.ts.map +1 -0
- package/dist/sdk/theme.d.ts +26 -0
- package/dist/sdk/theme.d.ts.map +1 -0
- package/dist/theme.js +34 -0
- package/dist/ui.js +21527 -0
- package/out/403/index.html +2 -2
- package/out/404/index.html +2 -2
- package/out/404.html +2 -2
- package/out/423/index.html +2 -2
- package/out/500/index.html +2 -2
- package/out/_next/static/T3MvrnLGtwi3l3MDtTzwv/_buildManifest.js +262 -0
- package/out/_next/static/chunks/0-p8a6-okjx49.js +15 -0
- package/out/_next/static/chunks/0-u5tid26i8-3.js +188 -0
- package/out/_next/static/chunks/008hxgil51owu.js +234 -0
- package/out/_next/static/chunks/026k3ys50h91u.js +15 -0
- package/out/_next/static/chunks/02aa23atze2y4.js +119 -0
- package/out/_next/static/chunks/02dnhll1bce87.js +46 -0
- package/out/_next/static/chunks/03f0hv23abn4a.js +12 -0
- package/out/_next/static/chunks/03p0xulfluyqm.js +15 -0
- package/out/_next/static/chunks/044dmimivt13x.js +233 -0
- package/out/_next/static/chunks/047gokoblz-qy.js +16 -0
- package/out/_next/static/chunks/04yroykjly9ni.js +15 -0
- package/out/_next/static/chunks/05h2_5y4i_fe4.js +12 -0
- package/out/_next/static/chunks/0641gh6yb6tnd.js +3 -0
- package/out/_next/static/chunks/06bsql5zgjpaj.js +315 -0
- package/out/_next/static/chunks/06jtnxd7wr712.js +1 -0
- package/out/_next/static/chunks/070wy1qe-7-uf.js +242 -0
- package/out/_next/static/chunks/07l1vdt21xneu.js +14 -0
- package/out/_next/static/chunks/07q8ufsdxo1tx.js +1 -0
- package/out/_next/static/chunks/087a2d-0e1pvn.js +1 -0
- package/out/_next/static/chunks/09pees0w94cvm.js +1 -0
- package/out/_next/static/chunks/0_wmk0z5r9thu.js +95 -0
- package/out/_next/static/chunks/0ab_-095b34n5.js +90 -0
- package/out/_next/static/chunks/0aom8abciz-yf.js +1 -0
- package/out/_next/static/chunks/0cdcsn87u-tzw.js +1 -0
- package/out/_next/static/chunks/0cu-wqc76z_w6.js +1 -0
- package/out/_next/static/chunks/0dnzfqa8el54j.js +135 -0
- package/out/_next/static/chunks/0f-hhcgpd3kjt.js +5 -0
- package/out/_next/static/chunks/0gdriupdpmq28.js +14 -0
- package/out/_next/static/chunks/0hm6-xlqw4vmr.js +1 -0
- package/out/_next/static/chunks/0hmdmxkzhdtjx.js +155 -0
- package/out/_next/static/chunks/0hpirq7m-gjle.js +23 -0
- package/out/_next/static/chunks/0hup5ovc9v_-h.js +58 -0
- package/out/_next/static/chunks/0hxsdaxwhc3z4.js +110 -0
- package/out/_next/static/chunks/0j-yonuwgtg0k.js +22 -0
- package/out/_next/static/chunks/0jo3ujn_icmb9.js +28 -0
- package/out/_next/static/chunks/0mayhrft9-4hw.js +13 -0
- package/out/_next/static/chunks/0mdh4qszx-qw8.js +1 -0
- package/out/_next/static/chunks/0nyu34hvyz9_k.js +103 -0
- package/out/_next/static/chunks/0nz8nqr7k7pni.js +61 -0
- package/out/_next/static/chunks/0pjv94c771817.js +13 -0
- package/out/_next/static/chunks/0qrepe4aqal8_.js +2 -0
- package/out/_next/static/chunks/0qtbb-w9hs2i_.js +1 -0
- package/out/_next/static/chunks/0r0l1vs8bls6y.js +1 -0
- package/out/_next/static/chunks/0r2v5se5riad_.js +227 -0
- package/out/_next/static/chunks/0s3aax3no2y3_.js +54 -0
- package/out/_next/static/chunks/0sys36fl1uhl-.js +18 -0
- package/out/_next/static/chunks/0u-md-qpvyccn.js +149 -0
- package/out/_next/static/chunks/0ukobsq85_to1.js +135 -0
- package/out/_next/static/chunks/0vcn7yqzt3qlc.js +10 -0
- package/out/_next/static/chunks/0wl_oo549tgsw.js +14 -0
- package/out/_next/static/chunks/0wm5atnhe2mjs.js +119 -0
- package/out/_next/static/chunks/0wpmgf2-hr2iv.js +1 -0
- package/out/_next/static/chunks/0wthf9v7cuwqf.js +3 -0
- package/out/_next/static/chunks/0xcxmgeevaadl.js +8 -0
- package/out/_next/static/chunks/0xoerh23zk-pj.js +44 -0
- package/out/_next/static/chunks/0xvoojz5c4j32.js +14 -0
- package/out/_next/static/chunks/0ykc9b-l7rcv9.js +18 -0
- package/out/_next/static/chunks/0zb8qwy33hihq.js +142 -0
- package/out/_next/static/chunks/0zgu8kiokvsjz.js +1 -0
- package/out/_next/static/chunks/0zk0s8hqsf5tg.js +18 -0
- package/out/_next/static/chunks/0zl6mu89n1_wq.js +1 -0
- package/out/_next/static/chunks/0zntg6ltu_fk3.js +14 -0
- package/out/_next/static/chunks/10996osm11rxi.js +327 -0
- package/out/_next/static/chunks/10q9_f1ss9afd.js +8 -0
- package/out/_next/static/chunks/110vhftkm53lj.js +111 -0
- package/out/_next/static/chunks/113_jsmrqky1h.js +130 -0
- package/out/_next/static/chunks/11fqypagzye_v.js +43 -0
- package/out/_next/static/chunks/137522d4_apiu.js +166 -0
- package/out/_next/static/chunks/13ml43jv3bxh1.js +1 -0
- package/out/_next/static/chunks/16ad724tleody.js +13 -0
- package/out/_next/static/chunks/16r_t7quts1w0.js +289 -0
- package/out/_next/static/chunks/16yomp2b55xod.js +30 -0
- package/out/_next/static/chunks/17jd_42ijblk-.js +15 -0
- package/out/_next/static/chunks/17xseq9yxu638.js +1 -0
- package/out/_next/static/chunks/18yznjdgjug5c.js +7 -0
- package/out/_next/static/chunks/19i-cq0_2t00g.js +60 -0
- package/out/_next/static/chunks/19ppkss30jscq.js +13 -0
- package/out/_next/static/chunks/1_ov-8bomgh6c.js +54 -0
- package/out/_next/static/chunks/1b9l0n8vz64x7.js +233 -0
- package/out/_next/static/chunks/1cn3pe6lxja9e.js +44 -0
- package/out/_next/static/chunks/1dsjo02ozub3p.js +342 -0
- package/out/_next/static/chunks/1dut2ep8qfdv4.js +14 -0
- package/out/_next/static/chunks/1eqs_86cqpxcx.js +138 -0
- package/out/_next/static/chunks/1exlzd6w18o_b.js +8 -0
- package/out/_next/static/chunks/1f04wea7zvjf5.js +2 -0
- package/out/_next/static/chunks/1fqsykinbg1d_.js +12 -0
- package/out/_next/static/chunks/1g5l7e7du4p25.js +1 -0
- package/out/_next/static/chunks/1hokoliuqn63p.js +17 -0
- package/out/_next/static/chunks/1ihjqvn68cj5e.js +36 -0
- package/out/_next/static/chunks/1k798vpov34v6.js +12 -0
- package/out/_next/static/chunks/1lewut00m9sq1.js +1 -0
- package/out/_next/static/chunks/1lwiflo8v2d93.js +1 -0
- package/out/_next/static/chunks/1ng9tsm1f8e_a.js +1 -0
- package/out/_next/static/chunks/1nvy3y5qe_igv.js +233 -0
- package/out/_next/static/chunks/1ozaatz-b_-as.js +41 -0
- package/out/_next/static/chunks/1paq5rkj25r88.js +1 -0
- package/out/_next/static/chunks/1q2l02eq094zc.js +147 -0
- package/out/_next/static/chunks/1q8zx2rmluekr.js +13 -0
- package/out/_next/static/chunks/1qnuk3631sd6i.js +807 -0
- package/out/_next/static/chunks/1r092zo5e6999.js +190 -0
- package/out/_next/static/chunks/1r0aluuzu5vw7.js +13 -0
- package/out/_next/static/chunks/1rgwj4dr0k4_b.js +5 -0
- package/out/_next/static/chunks/1sgv26vi42stl.js +13 -0
- package/out/_next/static/chunks/1t80pe40g73fh.js +82 -0
- package/out/_next/static/chunks/1u6jfjnf14knz.js +124 -0
- package/out/_next/static/chunks/1vnvinjvn78t3.js +1 -0
- package/out/_next/static/chunks/1xg3ey2rrdxfx.js +1 -0
- package/out/_next/static/chunks/1xx6ie3yh2hbk.js +235 -0
- package/out/_next/static/chunks/1y-vwb0-v5xv0.js +304 -0
- package/out/_next/static/chunks/2-8-i_m-82mjh.js +43 -0
- package/out/_next/static/chunks/2-s6g5_cyahx8.js +1 -0
- package/out/_next/static/chunks/20ndjd4r5l6vk.js +1 -0
- package/out/_next/static/chunks/20v019mj-zi94.js +13 -0
- package/out/_next/static/chunks/21w-hkh4_w1kl.js +19 -0
- package/out/_next/static/chunks/226ya3lbz_55w.js +19 -0
- package/out/_next/static/chunks/22az81pi-bqjb.js +1 -0
- package/out/_next/static/chunks/22get2_2lcba-.js +21 -0
- package/out/_next/static/chunks/22l-2aehes9lx.js +153 -0
- package/out/_next/static/chunks/23y9nin7qo-xy.js +17 -0
- package/out/_next/static/chunks/25t23h8zbmzh-.js +12 -0
- package/out/_next/static/chunks/273zh05aw6uz2.js +13 -0
- package/out/_next/static/chunks/28o-5560g4bwk.js +7 -0
- package/out/_next/static/chunks/28zahy_uqar2t.js +12 -0
- package/out/_next/static/chunks/29dylunjhn4te.js +34 -0
- package/out/_next/static/chunks/2_3qu55ddb4jo.js +3 -0
- package/out/_next/static/chunks/2_7z1veshuiiw.js +10 -0
- package/out/_next/static/chunks/2_ztj391g9yzt.js +226 -0
- package/out/_next/static/chunks/2a9z_gm1vn39c.js +173 -0
- package/out/_next/static/chunks/2a_46b7_7ml_y.js +1 -0
- package/out/_next/static/chunks/2b8nhs_3rpawc.js +1 -0
- package/out/_next/static/chunks/2biyd1hzgc2sv.js +339 -0
- package/out/_next/static/chunks/2c2vssolfspzg.js +50 -0
- package/out/_next/static/chunks/2dbrybnhe5thu.css +1 -0
- package/out/_next/static/chunks/2diqy5aehqe8j.js +58 -0
- package/out/_next/static/chunks/2djnsowjy3p8y.js +1 -0
- package/out/_next/static/chunks/2dq4d-ey-16cq.js +1 -0
- package/out/_next/static/chunks/2dyysegkbptw8.js +11 -0
- package/out/_next/static/chunks/2ei1rfxsl3q65.js +31 -0
- package/out/_next/static/chunks/2f3z_9lk_9lsj.js +14 -0
- package/out/_next/static/chunks/2fazxtc5_9tgo.js +52 -0
- package/out/_next/static/chunks/2fzc9bsweg7nf.js +807 -0
- package/out/_next/static/chunks/2h5-bnhry6wzl.js +14 -0
- package/out/_next/static/chunks/2hmtn1okhj6zz.js +234 -0
- package/out/_next/static/chunks/2htrbj6g7da-e.js +12 -0
- package/out/_next/static/chunks/2j51l4ukmrn7j.js +17 -0
- package/out/_next/static/chunks/2k4cusvrm93cp.js +39 -0
- package/out/_next/static/chunks/2ldks6pel2wcp.js +31 -0
- package/out/_next/static/chunks/2loz6t7f69t0c.js +1 -0
- package/out/_next/static/chunks/2onfts3kpe9d8.js +1 -0
- package/out/_next/static/chunks/2p9aozkdq_z13.js +329 -0
- package/out/_next/static/chunks/2pz2u5us_0jme.js +5 -0
- package/out/_next/static/chunks/2qaf44ypuy_4z.js +1 -0
- package/out/_next/static/chunks/2r1-eyf6hic-m.js +1 -0
- package/out/_next/static/chunks/2ritd1boot22-.js +32 -0
- package/out/_next/static/chunks/2s1__k407zn6n.js +1 -0
- package/out/_next/static/chunks/2s6qkrjh7-b6s.js +1 -0
- package/out/_next/static/chunks/2t70ji9pnllxh.js +81 -0
- package/out/_next/static/chunks/2tc6lgajxmo78.js +3 -0
- package/out/_next/static/chunks/2twd9trj9horc.js +61 -0
- package/out/_next/static/chunks/2ua7-skz9vm4r.js +13 -0
- package/out/_next/static/chunks/2vjkcd8g_hh68.js +46 -0
- package/out/_next/static/chunks/2w1twpn4nui6h.js +807 -0
- package/out/_next/static/chunks/2x4vo24qfe0mr.js +1 -0
- package/out/_next/static/chunks/2zm-d0-e0sxgo.js +23 -0
- package/out/_next/static/chunks/3-u1dp82vzyt9.js +1 -0
- package/out/_next/static/chunks/30iz3jszdu04d.js +11 -0
- package/out/_next/static/chunks/30jmh-3cp5wcg.js +12 -0
- package/out/_next/static/chunks/3178a_a_i-e-q.js +16 -0
- package/out/_next/static/chunks/317qzy7r8meg_.js +1 -0
- package/out/_next/static/chunks/32nwqfli0ne57.js +1 -0
- package/out/_next/static/chunks/33c-rzkj2k2v1.js +14 -0
- package/out/_next/static/chunks/33g91_yljnpiw.js +807 -0
- package/out/_next/static/chunks/34dhtdp_8idgm.js +658 -0
- package/out/_next/static/chunks/34ybf-w3bdlw8.js +13 -0
- package/out/_next/static/chunks/35-vqjhcep-zw.js +60 -0
- package/out/_next/static/chunks/358r9pdxbk-fv.js +39 -0
- package/out/_next/static/chunks/35a6ymsh4q0-o.js +14 -0
- package/out/_next/static/chunks/36yrxjq9zbvpx.js +13 -0
- package/out/_next/static/chunks/377ho63k7qphg.js +14 -0
- package/out/_next/static/chunks/37bs69urhjdz5.js +24 -0
- package/out/_next/static/chunks/37mpnb5qztb_g.js +15 -0
- package/out/_next/static/chunks/3827hqe9_anr7.js +24 -0
- package/out/_next/static/chunks/3a0_vzfa54k35.js +7 -0
- package/out/_next/static/chunks/3a8a8fpl7-ndf.js +1 -0
- package/out/_next/static/chunks/3b6hct2rk2wu9.js +24 -0
- package/out/_next/static/chunks/3czsj6bdmobbd.js +24 -0
- package/out/_next/static/chunks/3d0ic2ovyeue7.js +2 -0
- package/out/_next/static/chunks/3eq1b2m2xkkmp.js +1 -0
- package/out/_next/static/chunks/3f2ue6ut-mwka.js +2 -0
- package/out/_next/static/chunks/3g67xtrp0vv4m.js +1 -0
- package/out/_next/static/chunks/3iepyd4rzl-tt.js +13 -0
- package/out/_next/static/chunks/3j6p-522fcsnj.js +1 -0
- package/out/_next/static/chunks/3kle_yukf5aux.js +809 -0
- package/out/_next/static/chunks/3l_nx7eopgh02.js +1 -0
- package/out/_next/static/chunks/3mk-cv2ocv93u.js +50 -0
- package/out/_next/static/chunks/3n5290qcigwpc.js +13 -0
- package/out/_next/static/chunks/3nl02jbknvx4p.js +14 -0
- package/out/_next/static/chunks/3o5a5qn0dnq04.js +3 -0
- package/out/_next/static/chunks/3o5kwvdgt_t9z.js +73 -0
- package/out/_next/static/chunks/3qamj8gt1ijdz.js +12 -0
- package/out/_next/static/chunks/3rlrwz262rpw0.js +1 -0
- package/out/_next/static/chunks/3s3v9n_ob4m24.js +18 -0
- package/out/_next/static/chunks/3s47qr8fn6h4j.js +8 -0
- package/out/_next/static/chunks/3slzhmkeoggpm.js +66 -0
- package/out/_next/static/chunks/3tv9csz53av-5.js +1 -0
- package/out/_next/static/chunks/3uec1_7irpl71.js +16 -0
- package/out/_next/static/chunks/3uo1w1gaj7tsx.js +117 -0
- package/out/_next/static/chunks/3uwev5xyub_j1.js +7 -0
- package/out/_next/static/chunks/3w450c1xmh550.js +12 -0
- package/out/_next/static/chunks/3x8aami6-3l79.js +31 -0
- package/out/_next/static/chunks/3xhogi6_bbwh7.js +10 -0
- package/out/_next/static/chunks/3y62dz45ticve.js +1 -0
- package/out/_next/static/chunks/3yjzk_udmhv3i.js +1 -0
- package/out/_next/static/chunks/3z6v84zof80bt.js +1 -0
- package/out/_next/static/chunks/3zncjth-kop8p.js +1 -0
- package/out/_next/static/chunks/3zp4iedgev460.js +35 -0
- package/out/_next/static/chunks/413qu_x6yky1e.js +1 -0
- package/out/_next/static/chunks/41j8mb2ztwydi.js +14 -0
- package/out/_next/static/chunks/41pc5_e25bhgd.js +1 -0
- package/out/_next/static/chunks/424z-zudpy3n0.js +39 -0
- package/out/_next/static/chunks/42o6t6-v2qi37.js +29 -0
- package/out/_next/static/chunks/434iz38padke2.js +1 -0
- package/out/_next/static/chunks/43pb7hjetp965.js +1 -0
- package/out/_next/static/chunks/44rharl5hvsw-.js +22 -0
- package/out/_next/static/chunks/45ac68ug7hcoc.js +13 -0
- package/out/_next/static/chunks/turbopack-0-chqajqgydnn.js +1 -0
- package/out/_next/static/chunks/turbopack-0-jquaej6q4cd.js +1 -0
- package/out/_next/static/chunks/turbopack-01y_6kjoo1mvp.js +1 -0
- package/out/_next/static/chunks/turbopack-03_sghcquhw33.js +1 -0
- package/out/_next/static/chunks/turbopack-0a_5nw_3znl2r.js +1 -0
- package/out/_next/static/chunks/turbopack-0bbgz21dy5lm3.js +1 -0
- package/out/_next/static/chunks/turbopack-0cqzo60ry70im.js +1 -0
- package/out/_next/static/chunks/turbopack-0ex-kw1o5k02z.js +1 -0
- package/out/_next/static/chunks/turbopack-0jzps1g34dah5.js +1 -0
- package/out/_next/static/chunks/turbopack-0o9rz5e94nq66.js +1 -0
- package/out/_next/static/chunks/turbopack-0rq3y47awgwpt.js +1 -0
- package/out/_next/static/chunks/turbopack-0vs4-gjxe552i.js +1 -0
- package/out/_next/static/chunks/turbopack-0x1jwahqhzo0u.js +1 -0
- package/out/_next/static/chunks/turbopack-11auq8fqexpmm.js +1 -0
- package/out/_next/static/chunks/turbopack-13uretb6lcje8.js +1 -0
- package/out/_next/static/chunks/turbopack-14n2u99h724y-.js +1 -0
- package/out/_next/static/chunks/turbopack-1a774_gjam74t.js +1 -0
- package/out/_next/static/chunks/turbopack-1gy8illqlm_jj.js +1 -0
- package/out/_next/static/chunks/turbopack-1n9q29j854ltr.js +1 -0
- package/out/_next/static/chunks/turbopack-1nathpz4-f-4w.js +1 -0
- package/out/_next/static/chunks/turbopack-1nca86oa17qfx.js +1 -0
- package/out/_next/static/chunks/turbopack-1qe0zbu9fejdb.js +1 -0
- package/out/_next/static/chunks/turbopack-1qg26rdmwlotw.js +1 -0
- package/out/_next/static/chunks/turbopack-1u6lf-rzbdjuj.js +1 -0
- package/out/_next/static/chunks/turbopack-1z85kwwdibjh7.js +1 -0
- package/out/_next/static/chunks/turbopack-22as-nh7md98p.js +1 -0
- package/out/_next/static/chunks/turbopack-23lcv-araye0t.js +1 -0
- package/out/_next/static/chunks/turbopack-25gt3vwmogps-.js +1 -0
- package/out/_next/static/chunks/turbopack-26g97kfge67jz.js +1 -0
- package/out/_next/static/chunks/turbopack-26u67kbn41n8e.js +1 -0
- package/out/_next/static/chunks/turbopack-280jnadydykur.js +1 -0
- package/out/_next/static/chunks/turbopack-2bb6lvvhg6e0w.js +1 -0
- package/out/_next/static/chunks/turbopack-2bw5gluonepob.js +1 -0
- package/out/_next/static/chunks/turbopack-2c36n939jg0pf.js +1 -0
- package/out/_next/static/chunks/turbopack-2ez296aoalbog.js +1 -0
- package/out/_next/static/chunks/turbopack-2frqnl7lfn0h9.js +1 -0
- package/out/_next/static/chunks/turbopack-2jxkmyhbvdw4u.js +1 -0
- package/out/_next/static/chunks/turbopack-2k45z490u3tbj.js +1 -0
- package/out/_next/static/chunks/turbopack-2p-uq1erkf03-.js +1 -0
- package/out/_next/static/chunks/turbopack-2svkg0yvgyw3_.js +1 -0
- package/out/_next/static/chunks/turbopack-31s1c5ipeb5_p.js +1 -0
- package/out/_next/static/chunks/turbopack-33v049epa0erx.js +1 -0
- package/out/_next/static/chunks/turbopack-34jylrj_qw1ak.js +1 -0
- package/out/_next/static/chunks/turbopack-34u-t26ngu-oy.js +1 -0
- package/out/_next/static/chunks/turbopack-34x5gar31d5sv.js +1 -0
- package/out/_next/static/chunks/turbopack-363g_e-jzg5u_.js +1 -0
- package/out/_next/static/chunks/turbopack-39um5sy1v-bvw.js +1 -0
- package/out/_next/static/chunks/turbopack-3__2i-6jdv1s8.js +1 -0
- package/out/_next/static/chunks/turbopack-3b4s935ks8u-b.js +1 -0
- package/out/_next/static/chunks/turbopack-3b5-pdmr324f-.js +1 -0
- package/out/_next/static/chunks/turbopack-3bwm37xq99e4l.js +1 -0
- package/out/_next/static/chunks/turbopack-3ec8ol5n3kb0h.js +1 -0
- package/out/_next/static/chunks/turbopack-3gw7smd4lo5ud.js +1 -0
- package/out/_next/static/chunks/turbopack-3miy8-7wxcnbn.js +1 -0
- package/out/_next/static/chunks/turbopack-3nvjaj1vijowz.js +1 -0
- package/out/_next/static/chunks/turbopack-3poc67i76-q8q.js +1 -0
- package/out/_next/static/chunks/turbopack-3r1pnr94s1u0w.js +1 -0
- package/out/_next/static/chunks/turbopack-3sfa4031m280j.js +1 -0
- package/out/_next/static/chunks/turbopack-3sqs5hm2xhl3s.js +1 -0
- package/out/_next/static/chunks/turbopack-3xha6pmjqez6d.js +1 -0
- package/out/_next/static/chunks/turbopack-3yp7pgp42yfh3.js +1 -0
- package/out/_next/static/chunks/turbopack-3z_g6t7o2z7rb.js +1 -0
- package/out/_next/static/chunks/turbopack-3zb947kjm56zb.js +1 -0
- package/out/_next/static/chunks/turbopack-43m6wi0fybh1f.js +1 -0
- package/out/_offline/index.html +2 -2
- package/out/account/forgot-password/index.html +2 -2
- package/out/account/index.html +2 -2
- package/out/assortments/AssortmentDetailPage/index.html +2 -2
- package/out/assortments/index.html +2 -2
- package/out/assortments/new/index.html +2 -2
- package/out/copilot/index.html +2 -2
- package/out/country/CountryDetailPage/index.html +2 -2
- package/out/country/index.html +2 -2
- package/out/country/new/index.html +2 -2
- package/out/currency/CurrencyDetailPage/index.html +2 -2
- package/out/currency/index.html +2 -2
- package/out/currency/new/index.html +2 -2
- package/out/delivery-provider/DeliveryProviderDetailPage/index.html +2 -2
- package/out/delivery-provider/index.html +2 -2
- package/out/delivery-provider/new/index.html +2 -2
- package/out/enrollments/EnrollmentDetailPage/index.html +2 -2
- package/out/enrollments/index.html +2 -2
- package/out/events/EventDetailPage/index.html +2 -2
- package/out/events/index.html +2 -2
- package/out/exports/index.html +2 -2
- package/out/ext/[[...slug]]/index.html +11 -0
- package/out/external/index.html +2 -2
- package/out/filters/FilterDetailPage/index.html +2 -2
- package/out/filters/index.html +2 -2
- package/out/filters/new/index.html +2 -2
- package/out/index.html +2 -2
- package/out/install/index.html +2 -2
- package/out/language/LanguageDetailPage/index.html +2 -2
- package/out/language/index.html +2 -2
- package/out/language/new/index.html +2 -2
- package/out/log-in/index.html +2 -2
- package/out/manifest.json +48 -0
- package/out/orders/OrderDetailPage/index.html +2 -2
- package/out/orders/index.html +2 -2
- package/out/payment-provider/PaymentProviderDetailPage/index.html +2 -2
- package/out/payment-provider/index.html +2 -2
- package/out/payment-provider/new/index.html +2 -2
- package/out/products/ProductDetailPage/index.html +2 -2
- package/out/products/index.html +2 -2
- package/out/products/new/index.html +2 -2
- package/out/quotations/QuotationDetailPage/index.html +2 -2
- package/out/quotations/index.html +2 -2
- package/out/reset-password/index.html +2 -2
- package/out/sign-up/index.html +2 -2
- package/out/styleguide/index.html +2 -2
- package/out/tokens/TokenDetailPage/index.html +2 -2
- package/out/tokens/index.html +2 -2
- package/out/users/UserDetailPage/index.html +2 -2
- package/out/users/index.html +2 -2
- package/out/users/new/index.html +2 -2
- package/out/verify-email/index.html +2 -2
- package/out/warehousing-provider/WarehousingProviderDetailPage/index.html +2 -2
- package/out/warehousing-provider/index.html +2 -2
- package/out/warehousing-provider/new/index.html +2 -2
- package/out/works/WorkDetailPage/index.html +2 -2
- package/out/works/WorkQueueListView/index.html +2 -2
- package/out/works/index.html +2 -2
- package/out/works/management/index.html +2 -2
- package/package.json +110 -13
- package/src/modules/accounts/index.ts +34 -0
- package/src/modules/assortment/index.ts +29 -0
- package/src/modules/copilot/index.ts +4 -0
- package/src/modules/country/index.ts +5 -0
- package/src/modules/currency/index.ts +5 -0
- package/src/modules/delivery-provider/index.ts +7 -0
- package/src/modules/enrollment/index.ts +6 -0
- package/src/modules/event/index.ts +3 -0
- package/src/modules/filter/index.ts +13 -0
- package/src/modules/language/index.ts +5 -0
- package/src/modules/order/index.ts +8 -0
- package/src/modules/payment-providers/index.ts +7 -0
- package/src/modules/product/index.ts +47 -0
- package/src/modules/product-review/index.ts +6 -0
- package/src/modules/quotation/index.ts +6 -0
- package/src/modules/token/index.ts +3 -0
- package/src/modules/warehousing-providers/index.ts +7 -0
- package/src/modules/work/index.ts +7 -0
- package/src/sdk/hooks.ts +11 -0
- package/src/sdk/modal.ts +6 -0
- package/src/sdk/plugin-build.mjs +112 -0
- package/src/sdk/plugin-build.test.mjs +11 -0
- package/src/sdk/plugins.ts +88 -0
- package/src/sdk/providers.ts +4 -0
- package/src/sdk/tailwind-preset.mjs +94 -0
- package/src/sdk/theme.ts +61 -0
- package/src/styles/globals.css +291 -0
- package/out/_next/static/chunks/0-beu4vu82jrh.js +0 -1
- package/out/_next/static/chunks/0-l8x8k72-b3i.js +0 -173
- package/out/_next/static/chunks/0-v2_9sc~l3._.js +0 -1
- package/out/_next/static/chunks/0.b6lj.zfgeh7.js +0 -807
- package/out/_next/static/chunks/0.jjzw42mzofa.js +0 -18
- package/out/_next/static/chunks/0.ubb4bvs288f.js +0 -193
- package/out/_next/static/chunks/00c-9lviyc08t.js +0 -16
- package/out/_next/static/chunks/00svmiwah8ghd.js +0 -177
- package/out/_next/static/chunks/00w.kj6uow_p1.js +0 -1
- package/out/_next/static/chunks/00zf52snz2696.js +0 -81
- package/out/_next/static/chunks/0126hh69s1hoo.js +0 -20
- package/out/_next/static/chunks/017~qlhsonz-s.js +0 -13
- package/out/_next/static/chunks/01id70ruu9sh_.js +0 -12
- package/out/_next/static/chunks/01m-zxw6aa~7o.js +0 -61
- package/out/_next/static/chunks/01ysagjr-k~86.js +0 -1
- package/out/_next/static/chunks/023vppfa5lmsd.js +0 -101
- package/out/_next/static/chunks/023zn3balilgv.js +0 -5
- package/out/_next/static/chunks/028eszr30ru.w.js +0 -12
- package/out/_next/static/chunks/02_yal0ces9jz.js +0 -1
- package/out/_next/static/chunks/02dcbva7h6wk9.js +0 -5
- package/out/_next/static/chunks/02lgka7~ifqqk.js +0 -1
- package/out/_next/static/chunks/02ndocqxudfh0.js +0 -22
- package/out/_next/static/chunks/02x1c3t9oyfks.js +0 -119
- package/out/_next/static/chunks/039laq217w5af.js +0 -1
- package/out/_next/static/chunks/03hx8y-tzfrw6.js +0 -1
- package/out/_next/static/chunks/03in_nfvncouz.js +0 -1
- package/out/_next/static/chunks/041tlotwv9m5t.js +0 -453
- package/out/_next/static/chunks/04aykq1~5oirm.js +0 -51
- package/out/_next/static/chunks/04b5k~na~95by.js +0 -46
- package/out/_next/static/chunks/04f091-bji_n_.js +0 -7
- package/out/_next/static/chunks/05ooekd_aohh9.js +0 -23
- package/out/_next/static/chunks/05rt.5mp24nl~.js +0 -13
- package/out/_next/static/chunks/05xkbw-s9zm4v.js +0 -1
- package/out/_next/static/chunks/05zsgso1ahpy8.js +0 -1
- package/out/_next/static/chunks/06ersyx7hvzq1.js +0 -1
- package/out/_next/static/chunks/06gd8resd2.0_.js +0 -9
- package/out/_next/static/chunks/06v745r0yfx2h.js +0 -14
- package/out/_next/static/chunks/073ao37i9gvu-.js +0 -324
- package/out/_next/static/chunks/07l.kk7q4.zh_.js +0 -46
- package/out/_next/static/chunks/07t_6bb3~hkt5.js +0 -15
- package/out/_next/static/chunks/0831dsm.9c1xz.js +0 -15
- package/out/_next/static/chunks/087eh6vsk6_bc.js +0 -43
- package/out/_next/static/chunks/08i6ja.9lua9i.js +0 -286
- package/out/_next/static/chunks/08znjfem0b_of.js +0 -21
- package/out/_next/static/chunks/09_9z~x1_3-1m.js +0 -13
- package/out/_next/static/chunks/09n.y.scb-.st.js +0 -46
- package/out/_next/static/chunks/09p_6hs26lbin.js +0 -31
- package/out/_next/static/chunks/0_77~m-d~ywyj.js +0 -3
- package/out/_next/static/chunks/0_b2f-s77.vbq.js +0 -217
- package/out/_next/static/chunks/0_ikmdl.vzsxi.js +0 -16
- package/out/_next/static/chunks/0_tmrtwx_w001.js +0 -1
- package/out/_next/static/chunks/0_z350k96nua5.js +0 -14
- package/out/_next/static/chunks/0ajirl~6u8vk7.js +0 -384
- package/out/_next/static/chunks/0apih1f_pg7x5.js +0 -22
- package/out/_next/static/chunks/0aqdc68pqu1yc.js +0 -90
- package/out/_next/static/chunks/0aqhw_0u56sd_.js +0 -13
- package/out/_next/static/chunks/0av.mpk52l~sj.js +0 -78
- package/out/_next/static/chunks/0b6~~7c3s-__r.js +0 -2
- package/out/_next/static/chunks/0b_7pbsfo~250.js +0 -224
- package/out/_next/static/chunks/0bgpq4k~.1ow~.js +0 -1
- package/out/_next/static/chunks/0cd47wcv36ymf.js +0 -14
- package/out/_next/static/chunks/0cy-p_9pru_18.js +0 -13
- package/out/_next/static/chunks/0dhkgg675.w3e.js +0 -8
- package/out/_next/static/chunks/0dm~u98d.uay9.js +0 -807
- package/out/_next/static/chunks/0e82nep-emmqv.js +0 -22
- package/out/_next/static/chunks/0ekar8mz4g5.z.js +0 -188
- package/out/_next/static/chunks/0eqvk8uoluycv.js +0 -1
- package/out/_next/static/chunks/0ett.ps-ssh3m.js +0 -1
- package/out/_next/static/chunks/0f4j14khj0-nb.js +0 -13
- package/out/_next/static/chunks/0fq.42f6~eau3.js +0 -110
- package/out/_next/static/chunks/0fv65thyl.pzd.js +0 -137
- package/out/_next/static/chunks/0fvye09yb7vxo.js +0 -1
- package/out/_next/static/chunks/0g4z-lcj831re.js +0 -22
- package/out/_next/static/chunks/0gcrw01taxxl6.js +0 -1
- package/out/_next/static/chunks/0gex7d5-6_u7w.js +0 -15
- package/out/_next/static/chunks/0gmu_zxzdk79-.js +0 -36
- package/out/_next/static/chunks/0gp0s~altxh1r.js +0 -16
- package/out/_next/static/chunks/0gw21r~kskkbu.js +0 -8
- package/out/_next/static/chunks/0h.yfartl.0w2.js +0 -13
- package/out/_next/static/chunks/0hvsgrhdl9vxu.js +0 -87
- package/out/_next/static/chunks/0hxa2hw0bx6p9.js +0 -31
- package/out/_next/static/chunks/0idm_1owz2~do.js +0 -147
- package/out/_next/static/chunks/0if0kxk_fvctv.js +0 -807
- package/out/_next/static/chunks/0ipga2yl6f8s2.js +0 -1
- package/out/_next/static/chunks/0irir.4f~3vjv.js +0 -1
- package/out/_next/static/chunks/0iz~...y5_a2o.js +0 -58
- package/out/_next/static/chunks/0j0-6c41tk-jn.js +0 -227
- package/out/_next/static/chunks/0j3oxwqbdm1~u.js +0 -32
- package/out/_next/static/chunks/0j8g1ir4-2kf-.js +0 -1
- package/out/_next/static/chunks/0je-l.-3mmyx0.js +0 -7
- package/out/_next/static/chunks/0jsponpskt26n.js +0 -15
- package/out/_next/static/chunks/0jwk3hxdqma6f.js +0 -44
- package/out/_next/static/chunks/0k4hc0roxks1w.js +0 -135
- package/out/_next/static/chunks/0kd-elup-.5rv.js +0 -92
- package/out/_next/static/chunks/0kdk1jnxow07e.js +0 -51
- package/out/_next/static/chunks/0kjwfgi7qnsh8.js +0 -60
- package/out/_next/static/chunks/0kpbcc6kx92ab.js +0 -1
- package/out/_next/static/chunks/0kpqfcm6kz1pz.js +0 -5
- package/out/_next/static/chunks/0kuj3je3qjyj~.js +0 -13
- package/out/_next/static/chunks/0kwdvew2~wd8o.js +0 -16
- package/out/_next/static/chunks/0kwir-xluvjdw.js +0 -144
- package/out/_next/static/chunks/0l.811sicmaw3.js +0 -1
- package/out/_next/static/chunks/0l8ujxmk7702g.js +0 -1
- package/out/_next/static/chunks/0lazwl9790oz5.js +0 -1
- package/out/_next/static/chunks/0lp3vsoi498i1.js +0 -19
- package/out/_next/static/chunks/0lp40p3~dgcgl.js +0 -14
- package/out/_next/static/chunks/0lq9yvo7q3obl.js +0 -1
- package/out/_next/static/chunks/0m.jl7so.pr8k.js +0 -15
- package/out/_next/static/chunks/0m0k6lhn2y-9n.js +0 -137
- package/out/_next/static/chunks/0m3laiqi73_uc.js +0 -1
- package/out/_next/static/chunks/0m96ugd3gm4zy.js +0 -142
- package/out/_next/static/chunks/0mbkvr03aynms.js +0 -905
- package/out/_next/static/chunks/0mfaeit11.hmn.js +0 -13
- package/out/_next/static/chunks/0mmgf1.wzjj~j.js +0 -596
- package/out/_next/static/chunks/0mwaae8fl0y07.js +0 -807
- package/out/_next/static/chunks/0n1tw5ikfuhds.js +0 -16
- package/out/_next/static/chunks/0n4htvg-_prjp.js +0 -807
- package/out/_next/static/chunks/0ndis8ndh2iq6.js +0 -1
- package/out/_next/static/chunks/0nkzmsf-n62ak.js +0 -227
- package/out/_next/static/chunks/0nq0y4cmw5~iw.js +0 -8
- package/out/_next/static/chunks/0nr5eu5.o4kyn.js +0 -31
- package/out/_next/static/chunks/0o24k-4924ut6.js +0 -5
- package/out/_next/static/chunks/0o6k207dwsp67.js +0 -14
- package/out/_next/static/chunks/0o6szwcbqvtk..js +0 -1
- package/out/_next/static/chunks/0ohaa_f5cdywx.js +0 -73
- package/out/_next/static/chunks/0p8yhpuvsglyl.js +0 -384
- package/out/_next/static/chunks/0pnn8a_3nqu6z.js +0 -11
- package/out/_next/static/chunks/0ptzf1t7-yymm.js +0 -17
- package/out/_next/static/chunks/0q7qj_8wmc2.r.js +0 -10
- package/out/_next/static/chunks/0qb6blqhb13kr.js +0 -41
- package/out/_next/static/chunks/0qf0ui_m--1gr.js +0 -288
- package/out/_next/static/chunks/0qrbj_o2k5__o.js +0 -209
- package/out/_next/static/chunks/0qtz0k64e56-8.js +0 -50
- package/out/_next/static/chunks/0s-elr_ninnzu.js +0 -10
- package/out/_next/static/chunks/0s-v1dmb~vwtm.js +0 -836
- package/out/_next/static/chunks/0s.q6152jflhg.js +0 -26
- package/out/_next/static/chunks/0s44-81m.~5uf.js +0 -596
- package/out/_next/static/chunks/0sgimuwisx~sc.js +0 -119
- package/out/_next/static/chunks/0skmedjn4kgal.js +0 -61
- package/out/_next/static/chunks/0skt87s6mdt1v.js +0 -13
- package/out/_next/static/chunks/0s~fz~1tqbwxx.js +0 -15
- package/out/_next/static/chunks/0te-i~~io16.x.js +0 -1
- package/out/_next/static/chunks/0tiq-41ao4ozn.js +0 -12
- package/out/_next/static/chunks/0tw8x4rwyovtl.js +0 -12
- package/out/_next/static/chunks/0twk9-d7g9_tx.css +0 -1
- package/out/_next/static/chunks/0ty2puez_pg34.js +0 -12
- package/out/_next/static/chunks/0ty8.e8ooes0x.js +0 -13
- package/out/_next/static/chunks/0u0zlnx_0uuo~.js +0 -1
- package/out/_next/static/chunks/0u_o5uefzj2zl.js +0 -43
- package/out/_next/static/chunks/0v3s~myflio0y.js +0 -66
- package/out/_next/static/chunks/0ve6lde6hlxfm.js +0 -200
- package/out/_next/static/chunks/0ve_2hka8ooxb.js +0 -14
- package/out/_next/static/chunks/0wcjo4p-9_fzj.js +0 -1
- package/out/_next/static/chunks/0wr~ux~6rivnb.js +0 -73
- package/out/_next/static/chunks/0wt4fkc59wtk~.js +0 -1
- package/out/_next/static/chunks/0wy8jj1craipe.js +0 -291
- package/out/_next/static/chunks/0x0ro0p0oede-.js +0 -1
- package/out/_next/static/chunks/0x5~rk9ckvkzm.js +0 -5
- package/out/_next/static/chunks/0xcd1022~mejo.js +0 -1
- package/out/_next/static/chunks/0xdixvy3ojk~v.js +0 -807
- package/out/_next/static/chunks/0xwzq2hc7bd08.js +0 -7
- package/out/_next/static/chunks/0xyni.oufvih2.js +0 -13
- package/out/_next/static/chunks/0y6_n9b46qlk8.js +0 -12
- package/out/_next/static/chunks/0y_16b~8cbo3_.js +0 -1
- package/out/_next/static/chunks/0ygzo.kyf038-.js +0 -13
- package/out/_next/static/chunks/0ykdba2inps4f.js +0 -807
- package/out/_next/static/chunks/0yngqzk8t1rtm.js +0 -20
- package/out/_next/static/chunks/0yrhd0tul9js9.js +0 -1
- package/out/_next/static/chunks/0yygs3qclomm0.js +0 -44
- package/out/_next/static/chunks/0zpzrlqi93rji.js +0 -1
- package/out/_next/static/chunks/0zsyxlnrzl578.js +0 -807
- package/out/_next/static/chunks/0z~lvtnl1p.em.js +0 -78
- package/out/_next/static/chunks/0~.g3kh69ma7-.js +0 -54
- package/out/_next/static/chunks/0~9p1dp25tvbh.js +0 -8
- package/out/_next/static/chunks/0~h6h6qs_rmma.js +0 -15
- package/out/_next/static/chunks/0~io-hb50ji.1.js +0 -1
- package/out/_next/static/chunks/10.uqlra33~68.js +0 -13
- package/out/_next/static/chunks/105z5t998s_em.js +0 -12
- package/out/_next/static/chunks/10gbxo~.o9bhy.js +0 -23
- package/out/_next/static/chunks/10k9cn.xj6r3q.js +0 -342
- package/out/_next/static/chunks/10z4bl1p0z6o_.js +0 -13
- package/out/_next/static/chunks/1116oyd686cub.js +0 -10
- package/out/_next/static/chunks/1187u08o~yuqn.js +0 -132
- package/out/_next/static/chunks/11g5r9hgxgp0m.js +0 -101
- package/out/_next/static/chunks/11idnn6maksef.js +0 -188
- package/out/_next/static/chunks/11mfm9s-fl7sy.js +0 -807
- package/out/_next/static/chunks/129nouv3ip29r.js +0 -14
- package/out/_next/static/chunks/12_5sds1suvhm.js +0 -13
- package/out/_next/static/chunks/12pk_ybj.re6m.js +0 -328
- package/out/_next/static/chunks/12r0j7wb2hlew.js +0 -1
- package/out/_next/static/chunks/12uy~d.q~freq.js +0 -26
- package/out/_next/static/chunks/130ts0c-i4pcp.js +0 -807
- package/out/_next/static/chunks/13zg7v-cyej8_.js +0 -288
- package/out/_next/static/chunks/145f2hwc~qcac.js +0 -14
- package/out/_next/static/chunks/145sa8d1hfzds.js +0 -13
- package/out/_next/static/chunks/149u.0yx9zdjc.js +0 -342
- package/out/_next/static/chunks/14lo~e60fjur5.js +0 -1
- package/out/_next/static/chunks/14p.v8friz9is.js +0 -12
- package/out/_next/static/chunks/152ayjjud~_te.js +0 -807
- package/out/_next/static/chunks/154maz1~0c85~.js +0 -12
- package/out/_next/static/chunks/15_oqickjmgpk.js +0 -3
- package/out/_next/static/chunks/15iepxopx3xb4.js +0 -1
- package/out/_next/static/chunks/15m115xl2x-fo.js +0 -807
- package/out/_next/static/chunks/15y9tbfvyqnu_.js +0 -1
- package/out/_next/static/chunks/15z98mla-wqnl.js +0 -108
- package/out/_next/static/chunks/16375mdx_~6.q.js +0 -16
- package/out/_next/static/chunks/16x1-2emxpzpg.js +0 -1
- package/out/_next/static/chunks/16zrr8jq99f4~.js +0 -59
- package/out/_next/static/chunks/179__8pe9.c7-.js +0 -12
- package/out/_next/static/chunks/17d~emxcdob_i.js +0 -1
- package/out/_next/static/chunks/17i0kbnunaw-a.js +0 -1
- package/out/_next/static/chunks/17kkbb-qkkoid.js +0 -15
- package/out/_next/static/chunks/182r6jub~m5uu.js +0 -14
- package/out/_next/static/chunks/1830j6n5zjzkx.js +0 -14
- package/out/_next/static/chunks/18dqga.-f~nfy.js +0 -1
- package/out/_next/static/chunks/18du6p5wd4ech.js +0 -138
- package/out/_next/static/chunks/turbopack-0-2jlgexa52kn.js +0 -1
- package/out/_next/static/chunks/turbopack-0.sytbe8-q.f0.js +0 -1
- package/out/_next/static/chunks/turbopack-01xsh_3mc57...js +0 -1
- package/out/_next/static/chunks/turbopack-021nw61gt0smw.js +0 -1
- package/out/_next/static/chunks/turbopack-02c.fwas2lwst.js +0 -1
- package/out/_next/static/chunks/turbopack-03nzzz4-vv3_m.js +0 -1
- package/out/_next/static/chunks/turbopack-03xl_fg-w0wwe.js +0 -1
- package/out/_next/static/chunks/turbopack-04_73x1691200.js +0 -1
- package/out/_next/static/chunks/turbopack-04ketb_5rfe.-.js +0 -1
- package/out/_next/static/chunks/turbopack-05iepmw2pln-b.js +0 -1
- package/out/_next/static/chunks/turbopack-05vk0jzu2gu4r.js +0 -1
- package/out/_next/static/chunks/turbopack-06ibu8u~exvbh.js +0 -1
- package/out/_next/static/chunks/turbopack-06r069z7bpvmx.js +0 -1
- package/out/_next/static/chunks/turbopack-07607.63_f~q4.js +0 -1
- package/out/_next/static/chunks/turbopack-080mpit40zsn0.js +0 -1
- package/out/_next/static/chunks/turbopack-08vg-gc5.lk.w.js +0 -1
- package/out/_next/static/chunks/turbopack-09ynj6f1~2qvg.js +0 -1
- package/out/_next/static/chunks/turbopack-0am8m57rd7ue~.js +0 -1
- package/out/_next/static/chunks/turbopack-0flgs.l7-jwep.js +0 -1
- package/out/_next/static/chunks/turbopack-0ga2ytjk4irgm.js +0 -1
- package/out/_next/static/chunks/turbopack-0gv1w2-walrwj.js +0 -1
- package/out/_next/static/chunks/turbopack-0h8qtpk9zxc5w.js +0 -1
- package/out/_next/static/chunks/turbopack-0hn82ceuofjtz.js +0 -1
- package/out/_next/static/chunks/turbopack-0jyinuljzkzme.js +0 -1
- package/out/_next/static/chunks/turbopack-0kbw2bixmq-i6.js +0 -1
- package/out/_next/static/chunks/turbopack-0ln3og1r-_32i.js +0 -1
- package/out/_next/static/chunks/turbopack-0mdx764wtb9__.js +0 -1
- package/out/_next/static/chunks/turbopack-0mpncz8905-~_.js +0 -1
- package/out/_next/static/chunks/turbopack-0nl4bu~hrwg_c.js +0 -1
- package/out/_next/static/chunks/turbopack-0nno9lji-zzl..js +0 -1
- package/out/_next/static/chunks/turbopack-0o78sdharqtil.js +0 -1
- package/out/_next/static/chunks/turbopack-0oe-f.~p1jg8n.js +0 -1
- package/out/_next/static/chunks/turbopack-0ofu5~yiw_1_h.js +0 -1
- package/out/_next/static/chunks/turbopack-0p7o~ji.qdun9.js +0 -1
- package/out/_next/static/chunks/turbopack-0p_ojxb-55myx.js +0 -1
- package/out/_next/static/chunks/turbopack-0pv4teocze3x9.js +0 -1
- package/out/_next/static/chunks/turbopack-0rqw5r0qcrf2z.js +0 -1
- package/out/_next/static/chunks/turbopack-0rrj08a25.mep.js +0 -1
- package/out/_next/static/chunks/turbopack-0r~0nmphiorfn.js +0 -1
- package/out/_next/static/chunks/turbopack-0s.6f50ntkcs9.js +0 -1
- package/out/_next/static/chunks/turbopack-0s0ulq6q87y_x.js +0 -1
- package/out/_next/static/chunks/turbopack-0sdfu3q0v0q5h.js +0 -1
- package/out/_next/static/chunks/turbopack-0sjqqk57lmjnz.js +0 -1
- package/out/_next/static/chunks/turbopack-0svf~53uzg0yz.js +0 -1
- package/out/_next/static/chunks/turbopack-0t2n3t16.jt5-.js +0 -1
- package/out/_next/static/chunks/turbopack-0uhwk8kptpcof.js +0 -1
- package/out/_next/static/chunks/turbopack-0v0px_ggnszwk.js +0 -1
- package/out/_next/static/chunks/turbopack-0vpfmiii_t_hk.js +0 -1
- package/out/_next/static/chunks/turbopack-0x-fi_n3na5.e.js +0 -1
- package/out/_next/static/chunks/turbopack-0yq6qjplbghh8.js +0 -1
- package/out/_next/static/chunks/turbopack-0z3yqbd6ngf3r.js +0 -1
- package/out/_next/static/chunks/turbopack-0zo3lj078ff73.js +0 -1
- package/out/_next/static/chunks/turbopack-10ikru0-tgde5.js +0 -1
- package/out/_next/static/chunks/turbopack-10my3_6508i9s.js +0 -1
- package/out/_next/static/chunks/turbopack-11fd3~ckkb1az.js +0 -1
- package/out/_next/static/chunks/turbopack-12635pttd8mwo.js +0 -1
- package/out/_next/static/chunks/turbopack-12tv~faaane2m.js +0 -1
- package/out/_next/static/chunks/turbopack-133ooe_tc74fx.js +0 -1
- package/out/_next/static/chunks/turbopack-13xywrs0tr14-.js +0 -1
- package/out/_next/static/chunks/turbopack-14c20trqh_v2z.js +0 -1
- package/out/_next/static/chunks/turbopack-164kkr2_jziv1.js +0 -1
- package/out/_next/static/chunks/turbopack-16zy~wq_5~ah~.js +0 -1
- package/out/_next/static/chunks/turbopack-17ag.mp331nmd.js +0 -1
- package/out/_next/static/pFqjC0hy-zIBRbr8wLP_l/_buildManifest.js +0 -258
- package/out/admin-ui-permissions.js +0 -129
- /package/out/_next/static/{pFqjC0hy-zIBRbr8wLP_l → T3MvrnLGtwi3l3MDtTzwv}/_clientMiddlewareManifest.js +0 -0
- /package/out/_next/static/{pFqjC0hy-zIBRbr8wLP_l → T3MvrnLGtwi3l3MDtTzwv}/_ssgManifest.js +0 -0
- /package/out/_next/static/chunks/{0a1flay6uksa2.js → 0wooaklx8_14q.js} +0 -0
- /package/out/_next/static/chunks/{0htfk2vj7m.9j.js → 1jqnrnw0p9tw5.js} +0 -0
|
@@ -0,0 +1,1013 @@
|
|
|
1
|
+
import { useConfirmMediaUpload_default, PUTMedia_default } from '../chunk-45H2WVIC.js';
|
|
2
|
+
import { UserFragment_default, MD5MetaDataFragment_default } from '../chunk-UFYR5WZT.js';
|
|
3
|
+
export { useCurrentUser_default as useCurrentUser } from '../chunk-UFYR5WZT.js';
|
|
4
|
+
import { useUnchainedContext_default } from '../chunk-IAQPLRXZ.js';
|
|
5
|
+
import '../chunk-4VNS5WPM.js';
|
|
6
|
+
import { gql } from '@apollo/client';
|
|
7
|
+
import { useMutation, useQuery } from '@apollo/client/react';
|
|
8
|
+
|
|
9
|
+
var logOut = async (apollo, router = null) => {
|
|
10
|
+
await apollo.mutate({
|
|
11
|
+
mutation: gql`
|
|
12
|
+
mutation Logout {
|
|
13
|
+
logout {
|
|
14
|
+
success
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
`
|
|
18
|
+
});
|
|
19
|
+
try {
|
|
20
|
+
await apollo.resetStore();
|
|
21
|
+
} catch (e) {
|
|
22
|
+
if (e?.name !== "AbortError") throw e;
|
|
23
|
+
}
|
|
24
|
+
if (router) {
|
|
25
|
+
router.push("/log-in");
|
|
26
|
+
} else if (typeof window !== "undefined") {
|
|
27
|
+
window.location.href = "/log-in";
|
|
28
|
+
}
|
|
29
|
+
};
|
|
30
|
+
var logOut_default = logOut;
|
|
31
|
+
var AddEmailMutation = gql`
|
|
32
|
+
mutation AddEmail($email: String!, $userId: ID) {
|
|
33
|
+
addEmail(email: $email, userId: $userId) {
|
|
34
|
+
...UserFragment
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
${UserFragment_default}
|
|
38
|
+
`;
|
|
39
|
+
var useAddEmail = () => {
|
|
40
|
+
const [addEmailMutation] = useMutation(AddEmailMutation);
|
|
41
|
+
const addEmail = async ({ email, userId }) => {
|
|
42
|
+
return addEmailMutation({
|
|
43
|
+
variables: { email, userId }
|
|
44
|
+
});
|
|
45
|
+
};
|
|
46
|
+
return {
|
|
47
|
+
addEmail
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
var useAddEmail_default = useAddEmail;
|
|
51
|
+
var AddWeb3AddressMutation = gql`
|
|
52
|
+
mutation AddWeb3Address($address: String!) {
|
|
53
|
+
addWeb3Address(address: $address) {
|
|
54
|
+
...UserFragment
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
${UserFragment_default}
|
|
58
|
+
`;
|
|
59
|
+
var useAddWeb3Address = () => {
|
|
60
|
+
const [addWeb3AddressMutation] = useMutation(AddWeb3AddressMutation);
|
|
61
|
+
const addWeb3Address = async ({
|
|
62
|
+
address
|
|
63
|
+
}) => {
|
|
64
|
+
return addWeb3AddressMutation({
|
|
65
|
+
variables: {
|
|
66
|
+
address
|
|
67
|
+
}
|
|
68
|
+
});
|
|
69
|
+
};
|
|
70
|
+
return {
|
|
71
|
+
addWeb3Address
|
|
72
|
+
};
|
|
73
|
+
};
|
|
74
|
+
var useAddWeb3Address_default = useAddWeb3Address;
|
|
75
|
+
var AddWebAuthnCredentialsMutation = gql`
|
|
76
|
+
mutation AddWebAuthnCredentials($credentials: JSON!) {
|
|
77
|
+
addWebAuthnCredentials(credentials: $credentials) {
|
|
78
|
+
...UserFragment
|
|
79
|
+
webAuthnCredentials {
|
|
80
|
+
_id
|
|
81
|
+
created
|
|
82
|
+
aaguid
|
|
83
|
+
counter
|
|
84
|
+
mdsMetadata {
|
|
85
|
+
...MD5MetaDataFragment
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
${UserFragment_default}
|
|
91
|
+
${MD5MetaDataFragment_default}
|
|
92
|
+
`;
|
|
93
|
+
var useAddWebAuthnCredentials = () => {
|
|
94
|
+
const [addWebAuthnCredentialsMutation] = useMutation(AddWebAuthnCredentialsMutation);
|
|
95
|
+
const addWebAuthnCredentials = async ({
|
|
96
|
+
credentials
|
|
97
|
+
}) => {
|
|
98
|
+
return addWebAuthnCredentialsMutation({
|
|
99
|
+
variables: { credentials }
|
|
100
|
+
});
|
|
101
|
+
};
|
|
102
|
+
return {
|
|
103
|
+
addWebAuthnCredentials
|
|
104
|
+
};
|
|
105
|
+
};
|
|
106
|
+
var useAddWebAuthnCredentials_default = useAddWebAuthnCredentials;
|
|
107
|
+
var ChangePasswordMutation = gql`
|
|
108
|
+
mutation ChangePassword($oldPassword: String!, $newPassword: String!) {
|
|
109
|
+
changePassword(oldPassword: $oldPassword, newPassword: $newPassword) {
|
|
110
|
+
success
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
`;
|
|
114
|
+
var useChangePassword = () => {
|
|
115
|
+
const [changePasswordMutation] = useMutation(ChangePasswordMutation);
|
|
116
|
+
const changePassword = async ({
|
|
117
|
+
oldPassword = void 0,
|
|
118
|
+
newPassword = void 0
|
|
119
|
+
}) => {
|
|
120
|
+
return changePasswordMutation({
|
|
121
|
+
variables: { oldPassword, newPassword }
|
|
122
|
+
});
|
|
123
|
+
};
|
|
124
|
+
return {
|
|
125
|
+
changePassword
|
|
126
|
+
};
|
|
127
|
+
};
|
|
128
|
+
var useChangePassword_default = useChangePassword;
|
|
129
|
+
var CreateUserMutation = gql`
|
|
130
|
+
mutation CreateUser(
|
|
131
|
+
$username: String
|
|
132
|
+
$email: String
|
|
133
|
+
$plainPassword: String
|
|
134
|
+
$profile: UserProfileInput
|
|
135
|
+
$webAuthnPublicKeyCredentials: JSON
|
|
136
|
+
) {
|
|
137
|
+
createUser(
|
|
138
|
+
username: $username
|
|
139
|
+
email: $email
|
|
140
|
+
password: $plainPassword
|
|
141
|
+
profile: $profile
|
|
142
|
+
webAuthnPublicKeyCredentials: $webAuthnPublicKeyCredentials
|
|
143
|
+
) {
|
|
144
|
+
_id
|
|
145
|
+
tokenExpires
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
`;
|
|
149
|
+
var useCreateUser = () => {
|
|
150
|
+
const [createUserMutation, { data, error, loading, client }] = useMutation(CreateUserMutation);
|
|
151
|
+
const createUser = async ({
|
|
152
|
+
username,
|
|
153
|
+
email,
|
|
154
|
+
plainPassword,
|
|
155
|
+
profile,
|
|
156
|
+
webAuthnPublicKeyCredentials
|
|
157
|
+
}) => {
|
|
158
|
+
const variables = {
|
|
159
|
+
username: null,
|
|
160
|
+
email: null,
|
|
161
|
+
profile,
|
|
162
|
+
plainPassword: null,
|
|
163
|
+
webAuthnPublicKeyCredentials
|
|
164
|
+
};
|
|
165
|
+
if (email) {
|
|
166
|
+
variables.email = email;
|
|
167
|
+
}
|
|
168
|
+
if (username) {
|
|
169
|
+
variables.username = username;
|
|
170
|
+
}
|
|
171
|
+
variables.plainPassword = plainPassword;
|
|
172
|
+
const result = await createUserMutation({
|
|
173
|
+
variables,
|
|
174
|
+
refetchQueries: ["Users", "ShopStatus", "ShopInfo"]
|
|
175
|
+
});
|
|
176
|
+
await client.resetStore();
|
|
177
|
+
return result;
|
|
178
|
+
};
|
|
179
|
+
const newUser = data?.createUser;
|
|
180
|
+
return {
|
|
181
|
+
createUser,
|
|
182
|
+
newUser,
|
|
183
|
+
error,
|
|
184
|
+
loading
|
|
185
|
+
};
|
|
186
|
+
};
|
|
187
|
+
var useCreateUser_default = useCreateUser;
|
|
188
|
+
var CreateWebAuthnCredentialCreationOptionsMutation = gql`
|
|
189
|
+
mutation CreateWebAuthnCredentialCreationOptions($username: String!) {
|
|
190
|
+
createWebAuthnCredentialCreationOptions(username: $username)
|
|
191
|
+
}
|
|
192
|
+
`;
|
|
193
|
+
var useCreateWebAuthnCredentialCreationOptions = () => {
|
|
194
|
+
const [createWebAuthnCredentialCreationOptionsMutation] = useMutation(CreateWebAuthnCredentialCreationOptionsMutation);
|
|
195
|
+
const createWebAuthnCredentialCreationOptions = async ({
|
|
196
|
+
username
|
|
197
|
+
}) => {
|
|
198
|
+
return createWebAuthnCredentialCreationOptionsMutation({
|
|
199
|
+
variables: { username }
|
|
200
|
+
});
|
|
201
|
+
};
|
|
202
|
+
return { createWebAuthnCredentialCreationOptions };
|
|
203
|
+
};
|
|
204
|
+
var useCreateWebAuthnCredentialCreationOptions_default = useCreateWebAuthnCredentialCreationOptions;
|
|
205
|
+
var CreateWebAuthnCredentialRequestOptionsMutation = gql`
|
|
206
|
+
mutation CreateWebAuthnCredentialRequestOptions($username: String) {
|
|
207
|
+
createWebAuthnCredentialRequestOptions(username: $username)
|
|
208
|
+
}
|
|
209
|
+
`;
|
|
210
|
+
var useCreateWebAuthnCredentialRequestOptions = () => {
|
|
211
|
+
const [createWebAuthnCredentialRequestOptionsMutation] = useMutation(CreateWebAuthnCredentialRequestOptionsMutation);
|
|
212
|
+
const createWebAuthnCredentialRequestOptions = async ({
|
|
213
|
+
username
|
|
214
|
+
}) => {
|
|
215
|
+
return createWebAuthnCredentialRequestOptionsMutation({
|
|
216
|
+
variables: { username }
|
|
217
|
+
});
|
|
218
|
+
};
|
|
219
|
+
return { createWebAuthnCredentialRequestOptions };
|
|
220
|
+
};
|
|
221
|
+
var useCreateWebAuthnCredentialRequestOptions_default = useCreateWebAuthnCredentialRequestOptions;
|
|
222
|
+
var DeleteUserMutation = gql`
|
|
223
|
+
mutation DeleteUser($userId: ID) {
|
|
224
|
+
removeUser(userId: $userId) {
|
|
225
|
+
_id
|
|
226
|
+
}
|
|
227
|
+
}
|
|
228
|
+
`;
|
|
229
|
+
var useDeleteUser = () => {
|
|
230
|
+
const [deleteUserMutation] = useMutation(DeleteUserMutation);
|
|
231
|
+
const deleteUser = async (userId = void 0) => {
|
|
232
|
+
return deleteUserMutation({
|
|
233
|
+
variables: {
|
|
234
|
+
userId
|
|
235
|
+
}
|
|
236
|
+
});
|
|
237
|
+
};
|
|
238
|
+
return {
|
|
239
|
+
deleteUser
|
|
240
|
+
};
|
|
241
|
+
};
|
|
242
|
+
var useDeleteUser_default = useDeleteUser;
|
|
243
|
+
var ForgotPasswordMutation = gql`
|
|
244
|
+
mutation ForgotPassword($email: String!) {
|
|
245
|
+
forgotPassword(email: $email) {
|
|
246
|
+
success
|
|
247
|
+
}
|
|
248
|
+
}
|
|
249
|
+
`;
|
|
250
|
+
var useForgotPassword = () => {
|
|
251
|
+
const [forgotPasswordMutation] = useMutation(ForgotPasswordMutation);
|
|
252
|
+
const forgotPassword = async ({
|
|
253
|
+
email
|
|
254
|
+
}) => {
|
|
255
|
+
return forgotPasswordMutation({
|
|
256
|
+
variables: { email }
|
|
257
|
+
});
|
|
258
|
+
};
|
|
259
|
+
return {
|
|
260
|
+
forgotPassword
|
|
261
|
+
};
|
|
262
|
+
};
|
|
263
|
+
var useForgotPassword_default = useForgotPassword;
|
|
264
|
+
|
|
265
|
+
// src/modules/common/utils/base64ToArrayBuffer.ts
|
|
266
|
+
var base64ToArrayBuffer = (b64) => {
|
|
267
|
+
if (window.atob && Uint8Array) {
|
|
268
|
+
const base64 = b64.replace(/-/g, "+").replace(/_/g, "/");
|
|
269
|
+
const padded = base64 + "=".repeat((4 - base64.length % 4) % 4);
|
|
270
|
+
const binaryString = window.atob(padded);
|
|
271
|
+
const len = binaryString.length;
|
|
272
|
+
const bytes = new Uint8Array(len);
|
|
273
|
+
for (let i = 0; i < len; i += 1) {
|
|
274
|
+
bytes[i] = binaryString.charCodeAt(i);
|
|
275
|
+
}
|
|
276
|
+
return bytes.buffer;
|
|
277
|
+
}
|
|
278
|
+
throw new Error("The atob and Uint8Array methods are not available");
|
|
279
|
+
};
|
|
280
|
+
var base64ToArrayBuffer_default = base64ToArrayBuffer;
|
|
281
|
+
|
|
282
|
+
// src/modules/accounts/hooks/useGenerateLoginCredentials.ts
|
|
283
|
+
var arrayBufferToBase64url = (buffer) => {
|
|
284
|
+
const bytes = buffer instanceof Uint8Array ? buffer : new Uint8Array(buffer);
|
|
285
|
+
const base64 = window.btoa(String.fromCharCode(...bytes));
|
|
286
|
+
return base64.replace(/\+/g, "-").replace(/\//g, "_").replace(/=+$/, "");
|
|
287
|
+
};
|
|
288
|
+
var useGenerateLoginCredentials = () => {
|
|
289
|
+
const { createWebAuthnCredentialRequestOptions } = useCreateWebAuthnCredentialRequestOptions_default();
|
|
290
|
+
const generateLoginCredentials = async ({ username }) => {
|
|
291
|
+
const { data } = await createWebAuthnCredentialRequestOptions({
|
|
292
|
+
username
|
|
293
|
+
});
|
|
294
|
+
const publicKey = data?.createWebAuthnCredentialRequestOptions;
|
|
295
|
+
if (!publicKey?.allowCredentials?.length) return null;
|
|
296
|
+
publicKey.challenge = base64ToArrayBuffer_default(publicKey.challenge);
|
|
297
|
+
publicKey.allowCredentials = publicKey.allowCredentials?.map(({ id: id2, ...rest }) => ({
|
|
298
|
+
id: base64ToArrayBuffer_default(id2),
|
|
299
|
+
...rest
|
|
300
|
+
})) || [];
|
|
301
|
+
const PublicKeyCredentials = await navigator.credentials.get({
|
|
302
|
+
publicKey
|
|
303
|
+
});
|
|
304
|
+
const authenticatorData = arrayBufferToBase64url(
|
|
305
|
+
PublicKeyCredentials.response.authenticatorData
|
|
306
|
+
);
|
|
307
|
+
const signature = arrayBufferToBase64url(
|
|
308
|
+
PublicKeyCredentials.response.signature
|
|
309
|
+
);
|
|
310
|
+
const userHandle = PublicKeyCredentials.response.userHandle ? arrayBufferToBase64url(PublicKeyCredentials.response.userHandle) : arrayBufferToBase64url(new TextEncoder().encode(username));
|
|
311
|
+
const clientDataJSON = arrayBufferToBase64url(
|
|
312
|
+
PublicKeyCredentials.response.clientDataJSON
|
|
313
|
+
);
|
|
314
|
+
const id = arrayBufferToBase64url(PublicKeyCredentials.rawId);
|
|
315
|
+
return {
|
|
316
|
+
requestId: publicKey.requestId,
|
|
317
|
+
id,
|
|
318
|
+
response: {
|
|
319
|
+
clientDataJSON,
|
|
320
|
+
authenticatorData,
|
|
321
|
+
signature,
|
|
322
|
+
userHandle
|
|
323
|
+
}
|
|
324
|
+
};
|
|
325
|
+
};
|
|
326
|
+
return { generateLoginCredentials };
|
|
327
|
+
};
|
|
328
|
+
var useGenerateLoginCredentials_default = useGenerateLoginCredentials;
|
|
329
|
+
|
|
330
|
+
// src/modules/accounts/hooks/useGenerateWebAuthCredentials.ts
|
|
331
|
+
var arrayBufferToBase64url2 = (buffer) => {
|
|
332
|
+
const base64 = window.btoa(String.fromCharCode(...new Uint8Array(buffer)));
|
|
333
|
+
return base64.replace(/\+/g, "-").replace(/\//g, "_").replace(/=+$/, "");
|
|
334
|
+
};
|
|
335
|
+
var useGenerateWebAuthCredentials = () => {
|
|
336
|
+
const { createWebAuthnCredentialCreationOptions } = useCreateWebAuthnCredentialCreationOptions_default();
|
|
337
|
+
const generateWebAuthCredentials = async ({ username }) => {
|
|
338
|
+
const { data } = await createWebAuthnCredentialCreationOptions({
|
|
339
|
+
username
|
|
340
|
+
});
|
|
341
|
+
const { createWebAuthnCredentialCreationOptions: publicKey } = data;
|
|
342
|
+
const textEncoder = new TextEncoder();
|
|
343
|
+
publicKey.challenge = base64ToArrayBuffer_default(publicKey.challenge);
|
|
344
|
+
publicKey.user = {
|
|
345
|
+
id: textEncoder.encode(username),
|
|
346
|
+
name: username,
|
|
347
|
+
displayName: username
|
|
348
|
+
};
|
|
349
|
+
const publicKeyCredentials = await navigator.credentials.create({
|
|
350
|
+
publicKey
|
|
351
|
+
});
|
|
352
|
+
const attestationObject = arrayBufferToBase64url2(
|
|
353
|
+
publicKeyCredentials.response.attestationObject
|
|
354
|
+
);
|
|
355
|
+
const clientDataJSON = arrayBufferToBase64url2(
|
|
356
|
+
publicKeyCredentials.response.clientDataJSON
|
|
357
|
+
);
|
|
358
|
+
const rawId = arrayBufferToBase64url2(publicKeyCredentials.rawId);
|
|
359
|
+
const authenticatorData = publicKeyCredentials.response.getAuthenticatorData ? arrayBufferToBase64url2(
|
|
360
|
+
publicKeyCredentials.response.getAuthenticatorData()
|
|
361
|
+
) : "";
|
|
362
|
+
const responsePublicKey = publicKeyCredentials.response.getPublicKey ? arrayBufferToBase64url2(publicKeyCredentials.response.getPublicKey()) : "";
|
|
363
|
+
const publicKeyAlgorithm = publicKeyCredentials.response.getPublicKeyAlgorithm ? publicKeyCredentials.response.getPublicKeyAlgorithm() : -7;
|
|
364
|
+
const transports = publicKeyCredentials.response.getTransports ? publicKeyCredentials.response.getTransports() : ["internal"];
|
|
365
|
+
return {
|
|
366
|
+
id: rawId,
|
|
367
|
+
rawId,
|
|
368
|
+
response: {
|
|
369
|
+
clientDataJSON,
|
|
370
|
+
attestationObject,
|
|
371
|
+
authenticatorData,
|
|
372
|
+
publicKey: responsePublicKey,
|
|
373
|
+
publicKeyAlgorithm,
|
|
374
|
+
transports
|
|
375
|
+
},
|
|
376
|
+
authenticatorAttachment: publicKeyCredentials.authenticatorAttachment || "platform",
|
|
377
|
+
clientExtensionResults: publicKeyCredentials.getClientExtensionResults?.() || {},
|
|
378
|
+
type: "public-key",
|
|
379
|
+
user: {
|
|
380
|
+
id: username,
|
|
381
|
+
name: username,
|
|
382
|
+
displayName: username
|
|
383
|
+
}
|
|
384
|
+
};
|
|
385
|
+
};
|
|
386
|
+
return { generateWebAuthCredentials };
|
|
387
|
+
};
|
|
388
|
+
var useGenerateWebAuthCredentials_default = useGenerateWebAuthCredentials;
|
|
389
|
+
|
|
390
|
+
// src/modules/common/utils/isEmail.ts
|
|
391
|
+
var regexExp = /^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z]{2,})+$/i;
|
|
392
|
+
var isEmail = (str) => typeof str === "string" && regexExp.test(str.trim());
|
|
393
|
+
var isEmail_default = isEmail;
|
|
394
|
+
|
|
395
|
+
// src/modules/accounts/hooks/useLoginWithPassword.ts
|
|
396
|
+
var LogInWithPasswordMutation = gql`
|
|
397
|
+
mutation LoginWithPassword(
|
|
398
|
+
$username: String
|
|
399
|
+
$email: String
|
|
400
|
+
$password: String!
|
|
401
|
+
) {
|
|
402
|
+
loginWithPassword(username: $username, email: $email, password: $password) {
|
|
403
|
+
_id
|
|
404
|
+
tokenExpires
|
|
405
|
+
user {
|
|
406
|
+
_id
|
|
407
|
+
allowedActions
|
|
408
|
+
roles
|
|
409
|
+
}
|
|
410
|
+
}
|
|
411
|
+
}
|
|
412
|
+
`;
|
|
413
|
+
var useLoginWithPassword = () => {
|
|
414
|
+
const [logInWithPasswordMutation, { client }] = useMutation(LogInWithPasswordMutation, {
|
|
415
|
+
errorPolicy: "all"
|
|
416
|
+
});
|
|
417
|
+
const logInWithPassword = async ({ usernameOrEmail, password }) => {
|
|
418
|
+
const variables = {
|
|
419
|
+
username: null,
|
|
420
|
+
email: null,
|
|
421
|
+
password: null
|
|
422
|
+
};
|
|
423
|
+
if (isEmail_default(usernameOrEmail)) {
|
|
424
|
+
const normalizedEmail = usernameOrEmail?.trim();
|
|
425
|
+
variables.email = normalizedEmail;
|
|
426
|
+
} else {
|
|
427
|
+
variables.username = usernameOrEmail;
|
|
428
|
+
}
|
|
429
|
+
variables.password = password;
|
|
430
|
+
const result = await logInWithPasswordMutation({
|
|
431
|
+
variables,
|
|
432
|
+
awaitRefetchQueries: true
|
|
433
|
+
});
|
|
434
|
+
if (result?.data?.loginWithPassword) {
|
|
435
|
+
await client.resetStore();
|
|
436
|
+
}
|
|
437
|
+
return result;
|
|
438
|
+
};
|
|
439
|
+
return {
|
|
440
|
+
logInWithPassword
|
|
441
|
+
};
|
|
442
|
+
};
|
|
443
|
+
var useLoginWithPassword_default = useLoginWithPassword;
|
|
444
|
+
var LogWithWebAuthnMutation = gql`
|
|
445
|
+
mutation LoginWithWebAuthn($webAuthnPublicKeyCredentials: JSON!) {
|
|
446
|
+
loginWithWebAuthn(
|
|
447
|
+
webAuthnPublicKeyCredentials: $webAuthnPublicKeyCredentials
|
|
448
|
+
) {
|
|
449
|
+
_id
|
|
450
|
+
tokenExpires
|
|
451
|
+
}
|
|
452
|
+
}
|
|
453
|
+
`;
|
|
454
|
+
var useLoginWithWebAuthn = () => {
|
|
455
|
+
const [loginWithWebAuthnMutation, { client }] = useMutation(LogWithWebAuthnMutation);
|
|
456
|
+
const loginWithWebAuthn = async ({
|
|
457
|
+
webAuthnPublicKeyCredentials
|
|
458
|
+
}) => {
|
|
459
|
+
const result = await loginWithWebAuthnMutation({
|
|
460
|
+
variables: { webAuthnPublicKeyCredentials },
|
|
461
|
+
awaitRefetchQueries: true
|
|
462
|
+
});
|
|
463
|
+
await client.resetStore();
|
|
464
|
+
return result;
|
|
465
|
+
};
|
|
466
|
+
return { loginWithWebAuthn };
|
|
467
|
+
};
|
|
468
|
+
var useLoginWithWebAuthn_default = useLoginWithWebAuthn;
|
|
469
|
+
var RemoveEmailMutation = gql`
|
|
470
|
+
mutation RemoveEmail($email: String!, $userId: ID) {
|
|
471
|
+
removeEmail(email: $email, userId: $userId) {
|
|
472
|
+
...UserFragment
|
|
473
|
+
}
|
|
474
|
+
}
|
|
475
|
+
${UserFragment_default}
|
|
476
|
+
`;
|
|
477
|
+
var useRemoveEmail = () => {
|
|
478
|
+
const [removeEmailMutation] = useMutation(RemoveEmailMutation);
|
|
479
|
+
const removeEmail = async ({
|
|
480
|
+
email,
|
|
481
|
+
userId
|
|
482
|
+
}) => {
|
|
483
|
+
return removeEmailMutation({
|
|
484
|
+
variables: {
|
|
485
|
+
email,
|
|
486
|
+
userId
|
|
487
|
+
}
|
|
488
|
+
});
|
|
489
|
+
};
|
|
490
|
+
return {
|
|
491
|
+
removeEmail
|
|
492
|
+
};
|
|
493
|
+
};
|
|
494
|
+
var useRemoveEmail_default = useRemoveEmail;
|
|
495
|
+
var RemoveWeb3AddressMutation = gql`
|
|
496
|
+
mutation RemoveWeb3Address($address: String!) {
|
|
497
|
+
removeWeb3Address(address: $address) {
|
|
498
|
+
...UserFragment
|
|
499
|
+
}
|
|
500
|
+
}
|
|
501
|
+
${UserFragment_default}
|
|
502
|
+
`;
|
|
503
|
+
var useRemoveWeb3Address = () => {
|
|
504
|
+
const [removeWeb3AddressMutation] = useMutation(RemoveWeb3AddressMutation);
|
|
505
|
+
const removeWeb3Address = async ({
|
|
506
|
+
address
|
|
507
|
+
}) => {
|
|
508
|
+
return removeWeb3AddressMutation({
|
|
509
|
+
variables: {
|
|
510
|
+
address
|
|
511
|
+
}
|
|
512
|
+
});
|
|
513
|
+
};
|
|
514
|
+
return {
|
|
515
|
+
removeWeb3Address
|
|
516
|
+
};
|
|
517
|
+
};
|
|
518
|
+
var useRemoveWeb3Address_default = useRemoveWeb3Address;
|
|
519
|
+
var RemoveWebAuthCredentialsMutation = gql`
|
|
520
|
+
mutation removeWebAuthCredentials($credentialsId: ID!) {
|
|
521
|
+
removeWebAuthnCredentials(credentialsId: $credentialsId) {
|
|
522
|
+
...UserFragment
|
|
523
|
+
}
|
|
524
|
+
}
|
|
525
|
+
${UserFragment_default}
|
|
526
|
+
`;
|
|
527
|
+
var useRemoveWebAuthCredentials = () => {
|
|
528
|
+
const [removeWebAuthCredentialsMutation] = useMutation(RemoveWebAuthCredentialsMutation);
|
|
529
|
+
const removeWebAuthCredentials = async ({
|
|
530
|
+
credentialsId
|
|
531
|
+
}) => {
|
|
532
|
+
return removeWebAuthCredentialsMutation({
|
|
533
|
+
variables: { credentialsId }
|
|
534
|
+
});
|
|
535
|
+
};
|
|
536
|
+
return {
|
|
537
|
+
removeWebAuthCredentials
|
|
538
|
+
};
|
|
539
|
+
};
|
|
540
|
+
var useRemoveWebAuthCredentials_default = useRemoveWebAuthCredentials;
|
|
541
|
+
var ResetPasswordMutation = gql`
|
|
542
|
+
mutation ResetPassword($newPlainPassword: String!, $token: String!) {
|
|
543
|
+
resetPassword(newPassword: $newPlainPassword, token: $token) {
|
|
544
|
+
_id
|
|
545
|
+
tokenExpires
|
|
546
|
+
}
|
|
547
|
+
}
|
|
548
|
+
`;
|
|
549
|
+
var useResetPassword = () => {
|
|
550
|
+
const [resetPasswordMutation, { client }] = useMutation(ResetPasswordMutation);
|
|
551
|
+
const resetPassword = async ({
|
|
552
|
+
newPlainPassword,
|
|
553
|
+
token
|
|
554
|
+
}) => {
|
|
555
|
+
const variables = {
|
|
556
|
+
token,
|
|
557
|
+
newPlainPassword: null
|
|
558
|
+
};
|
|
559
|
+
variables.newPlainPassword = newPlainPassword;
|
|
560
|
+
const result = await resetPasswordMutation({
|
|
561
|
+
variables,
|
|
562
|
+
awaitRefetchQueries: true
|
|
563
|
+
});
|
|
564
|
+
await client.resetStore();
|
|
565
|
+
return result;
|
|
566
|
+
};
|
|
567
|
+
return {
|
|
568
|
+
resetPassword
|
|
569
|
+
};
|
|
570
|
+
};
|
|
571
|
+
var useResetPassword_default = useResetPassword;
|
|
572
|
+
var SendVerificationEmailMutation = gql`
|
|
573
|
+
mutation SendVerificationEmail($email: String) {
|
|
574
|
+
sendVerificationEmail(email: $email) {
|
|
575
|
+
success
|
|
576
|
+
}
|
|
577
|
+
}
|
|
578
|
+
`;
|
|
579
|
+
var useSendVerificationEmail = () => {
|
|
580
|
+
const [sendVerificationEmailMutation] = useMutation(SendVerificationEmailMutation);
|
|
581
|
+
const sendVerificationEmail = async ({
|
|
582
|
+
email
|
|
583
|
+
}) => {
|
|
584
|
+
return sendVerificationEmailMutation({
|
|
585
|
+
variables: { email }
|
|
586
|
+
});
|
|
587
|
+
};
|
|
588
|
+
return {
|
|
589
|
+
sendVerificationEmail
|
|
590
|
+
};
|
|
591
|
+
};
|
|
592
|
+
var useSendVerificationEmail_default = useSendVerificationEmail;
|
|
593
|
+
var SetPasswordMutation = gql`
|
|
594
|
+
mutation SetPassword($newPlainPassword: String!, $userId: ID!) {
|
|
595
|
+
setPassword(newPassword: $newPlainPassword, userId: $userId) {
|
|
596
|
+
...UserFragment
|
|
597
|
+
}
|
|
598
|
+
}
|
|
599
|
+
${UserFragment_default}
|
|
600
|
+
`;
|
|
601
|
+
var useSetPassword = () => {
|
|
602
|
+
const [setPasswordMutation] = useMutation(SetPasswordMutation);
|
|
603
|
+
const setPassword = async ({
|
|
604
|
+
newPlainPassword = void 0,
|
|
605
|
+
userId
|
|
606
|
+
}) => {
|
|
607
|
+
const variables = { newPlainPassword, userId };
|
|
608
|
+
return setPasswordMutation({ variables });
|
|
609
|
+
};
|
|
610
|
+
return {
|
|
611
|
+
setPassword
|
|
612
|
+
};
|
|
613
|
+
};
|
|
614
|
+
var useSetPassword_default = useSetPassword;
|
|
615
|
+
var SetRoleMutation = gql`
|
|
616
|
+
mutation SetRoles($roles: [String!]!, $userId: ID!) {
|
|
617
|
+
setRoles(roles: $roles, userId: $userId) {
|
|
618
|
+
...UserFragment
|
|
619
|
+
}
|
|
620
|
+
}
|
|
621
|
+
${UserFragment_default}
|
|
622
|
+
`;
|
|
623
|
+
var useSetRoles = () => {
|
|
624
|
+
const [setRoleMutation] = useMutation(SetRoleMutation);
|
|
625
|
+
const setRoles = async ({
|
|
626
|
+
roles = [],
|
|
627
|
+
userId = null
|
|
628
|
+
}) => {
|
|
629
|
+
return setRoleMutation({
|
|
630
|
+
variables: {
|
|
631
|
+
roles,
|
|
632
|
+
userId
|
|
633
|
+
},
|
|
634
|
+
refetchQueries: ["User"]
|
|
635
|
+
});
|
|
636
|
+
};
|
|
637
|
+
return {
|
|
638
|
+
setRoles
|
|
639
|
+
};
|
|
640
|
+
};
|
|
641
|
+
var useSetRoles_default = useSetRoles;
|
|
642
|
+
var SetUserTagsMutation = gql`
|
|
643
|
+
mutation SetUserTags($tags: [LowerCaseString]!, $userId: ID!) {
|
|
644
|
+
setUserTags(tags: $tags, userId: $userId) {
|
|
645
|
+
_id
|
|
646
|
+
tags
|
|
647
|
+
}
|
|
648
|
+
}
|
|
649
|
+
`;
|
|
650
|
+
var useSetUserTags = () => {
|
|
651
|
+
const [setUserTagsMutation] = useMutation(SetUserTagsMutation);
|
|
652
|
+
const setUserTags = async ({
|
|
653
|
+
tags = [],
|
|
654
|
+
userId = null
|
|
655
|
+
}) => {
|
|
656
|
+
return setUserTagsMutation({
|
|
657
|
+
variables: {
|
|
658
|
+
tags,
|
|
659
|
+
userId
|
|
660
|
+
},
|
|
661
|
+
refetchQueries: ["Users", "User", "ShopStatus", "ShopInfo"]
|
|
662
|
+
});
|
|
663
|
+
};
|
|
664
|
+
return {
|
|
665
|
+
setUserTags
|
|
666
|
+
};
|
|
667
|
+
};
|
|
668
|
+
var useSetUserTags_default = useSetUserTags;
|
|
669
|
+
var SetUserNameMutation = gql`
|
|
670
|
+
mutation SetUsername($username: String!, $userId: ID!) {
|
|
671
|
+
setUsername(username: $username, userId: $userId) {
|
|
672
|
+
...UserFragment
|
|
673
|
+
}
|
|
674
|
+
}
|
|
675
|
+
${UserFragment_default}
|
|
676
|
+
`;
|
|
677
|
+
var useSetUserName = () => {
|
|
678
|
+
const [setUserNameMutation] = useMutation(SetUserNameMutation);
|
|
679
|
+
const setUserName = async ({
|
|
680
|
+
username,
|
|
681
|
+
userId
|
|
682
|
+
}) => {
|
|
683
|
+
return setUserNameMutation({
|
|
684
|
+
variables: {
|
|
685
|
+
username,
|
|
686
|
+
userId
|
|
687
|
+
},
|
|
688
|
+
refetchQueries: ["User"]
|
|
689
|
+
});
|
|
690
|
+
};
|
|
691
|
+
return {
|
|
692
|
+
setUserName
|
|
693
|
+
};
|
|
694
|
+
};
|
|
695
|
+
var useSetUsername_default = useSetUserName;
|
|
696
|
+
var PrepareUserAvatarUploadMutation = gql`
|
|
697
|
+
mutation PrepareUserAvatarUpload($mediaName: String!, $userId: ID) {
|
|
698
|
+
prepareUserAvatarUpload(mediaName: $mediaName, userId: $userId) {
|
|
699
|
+
_id
|
|
700
|
+
putURL
|
|
701
|
+
expires
|
|
702
|
+
}
|
|
703
|
+
}
|
|
704
|
+
`;
|
|
705
|
+
var useUpdateUserAvatar = () => {
|
|
706
|
+
const [prepareUserAvatarUploadMutation] = useMutation(PrepareUserAvatarUploadMutation);
|
|
707
|
+
const { confirmMediaUpload } = useConfirmMediaUpload_default({
|
|
708
|
+
refetchQueries: ["User", "CurrentUser"]
|
|
709
|
+
});
|
|
710
|
+
const updateUserAvatar = async ({ avatar, userId = null }) => {
|
|
711
|
+
const { data } = await prepareUserAvatarUploadMutation({
|
|
712
|
+
variables: {
|
|
713
|
+
mediaName: avatar.name,
|
|
714
|
+
userId
|
|
715
|
+
}
|
|
716
|
+
});
|
|
717
|
+
const { prepareUserAvatarUpload } = data;
|
|
718
|
+
await PUTMedia_default(avatar, prepareUserAvatarUpload.putURL);
|
|
719
|
+
await confirmMediaUpload({
|
|
720
|
+
mediaUploadTicketId: prepareUserAvatarUpload._id,
|
|
721
|
+
size: avatar.size,
|
|
722
|
+
type: avatar.type
|
|
723
|
+
});
|
|
724
|
+
};
|
|
725
|
+
return {
|
|
726
|
+
updateUserAvatar
|
|
727
|
+
};
|
|
728
|
+
};
|
|
729
|
+
var useUpdateUserAvatar_default = useUpdateUserAvatar;
|
|
730
|
+
var UpdateUserProfileMutation = gql`
|
|
731
|
+
mutation UpdateUserProfile($profile: UserProfileInput!, $userId: ID) {
|
|
732
|
+
updateUserProfile(profile: $profile, userId: $userId) {
|
|
733
|
+
...UserFragment
|
|
734
|
+
}
|
|
735
|
+
}
|
|
736
|
+
${UserFragment_default}
|
|
737
|
+
`;
|
|
738
|
+
var useUpdateUserProfile = () => {
|
|
739
|
+
const [updateUserProfileMutation] = useMutation(UpdateUserProfileMutation);
|
|
740
|
+
const updateUserProfile = async ({
|
|
741
|
+
profile,
|
|
742
|
+
userId = null
|
|
743
|
+
}) => {
|
|
744
|
+
return updateUserProfileMutation({
|
|
745
|
+
variables: {
|
|
746
|
+
profile,
|
|
747
|
+
userId
|
|
748
|
+
}
|
|
749
|
+
});
|
|
750
|
+
};
|
|
751
|
+
return {
|
|
752
|
+
updateUserProfile
|
|
753
|
+
};
|
|
754
|
+
};
|
|
755
|
+
var useUpdateUserProfile_default = useUpdateUserProfile;
|
|
756
|
+
var GetUserQuery = (inlineFragment = "") => gql`
|
|
757
|
+
query User($userId: ID) {
|
|
758
|
+
user(userId: $userId) {
|
|
759
|
+
${inlineFragment}
|
|
760
|
+
...UserFragment
|
|
761
|
+
}
|
|
762
|
+
}
|
|
763
|
+
${UserFragment_default}
|
|
764
|
+
`;
|
|
765
|
+
var useUser = ({ userId = null } = {}) => {
|
|
766
|
+
const { customProperties, hydrateFragment } = useUnchainedContext_default();
|
|
767
|
+
const { data, loading, error } = useQuery(
|
|
768
|
+
GetUserQuery(customProperties?.User),
|
|
769
|
+
{
|
|
770
|
+
skip: !userId,
|
|
771
|
+
variables: { userId }
|
|
772
|
+
}
|
|
773
|
+
);
|
|
774
|
+
const user = data?.user;
|
|
775
|
+
const extendedData = hydrateFragment(customProperties?.User, user);
|
|
776
|
+
return {
|
|
777
|
+
user,
|
|
778
|
+
loading,
|
|
779
|
+
error,
|
|
780
|
+
extendedData
|
|
781
|
+
};
|
|
782
|
+
};
|
|
783
|
+
var useUser_default = useUser;
|
|
784
|
+
var UserWebAuthnCredentialsQuery = gql`
|
|
785
|
+
query UserWebAuthnCredentials($userId: ID!) {
|
|
786
|
+
user(userId: $userId) {
|
|
787
|
+
_id
|
|
788
|
+
webAuthnCredentials {
|
|
789
|
+
_id
|
|
790
|
+
created
|
|
791
|
+
aaguid
|
|
792
|
+
counter
|
|
793
|
+
mdsMetadata {
|
|
794
|
+
...MD5MetaDataFragment
|
|
795
|
+
}
|
|
796
|
+
}
|
|
797
|
+
}
|
|
798
|
+
}
|
|
799
|
+
${MD5MetaDataFragment_default}
|
|
800
|
+
`;
|
|
801
|
+
var useUserWebAuthnCredentials = ({
|
|
802
|
+
userId
|
|
803
|
+
}) => {
|
|
804
|
+
const { data, loading, error } = useQuery(UserWebAuthnCredentialsQuery, {
|
|
805
|
+
variables: { userId }
|
|
806
|
+
});
|
|
807
|
+
return {
|
|
808
|
+
webAuthnCredentials: data?.user?.webAuthnCredentials,
|
|
809
|
+
loading,
|
|
810
|
+
error
|
|
811
|
+
};
|
|
812
|
+
};
|
|
813
|
+
var useUserWebAuthnCredentials_default = useUserWebAuthnCredentials;
|
|
814
|
+
var UsersQuery = gql`
|
|
815
|
+
query Users(
|
|
816
|
+
$limit: Int
|
|
817
|
+
$offset: Int
|
|
818
|
+
$includeGuests: Boolean
|
|
819
|
+
$queryString: String
|
|
820
|
+
$lastLogin: DateFilterInput
|
|
821
|
+
$emailVerified: Boolean
|
|
822
|
+
$tags: [LowerCaseString!]
|
|
823
|
+
) {
|
|
824
|
+
users(
|
|
825
|
+
limit: $limit
|
|
826
|
+
offset: $offset
|
|
827
|
+
includeGuests: $includeGuests
|
|
828
|
+
queryString: $queryString
|
|
829
|
+
lastLogin: $lastLogin
|
|
830
|
+
emailVerified: $emailVerified
|
|
831
|
+
tags: $tags
|
|
832
|
+
) {
|
|
833
|
+
...UserFragment
|
|
834
|
+
}
|
|
835
|
+
usersCount(
|
|
836
|
+
includeGuests: $includeGuests
|
|
837
|
+
queryString: $queryString
|
|
838
|
+
lastLogin: $lastLogin
|
|
839
|
+
emailVerified: $emailVerified
|
|
840
|
+
tags: $tags
|
|
841
|
+
)
|
|
842
|
+
}
|
|
843
|
+
${UserFragment_default}
|
|
844
|
+
`;
|
|
845
|
+
var useUsers = ({
|
|
846
|
+
limit = 20,
|
|
847
|
+
offset = 0,
|
|
848
|
+
includeGuests = false,
|
|
849
|
+
queryString = null,
|
|
850
|
+
lastLogin = null,
|
|
851
|
+
emailVerified = null,
|
|
852
|
+
tags = null
|
|
853
|
+
}) => {
|
|
854
|
+
const { data, loading, error, fetchMore } = useQuery(UsersQuery, {
|
|
855
|
+
variables: {
|
|
856
|
+
limit,
|
|
857
|
+
offset,
|
|
858
|
+
includeGuests,
|
|
859
|
+
queryString,
|
|
860
|
+
lastLogin,
|
|
861
|
+
emailVerified,
|
|
862
|
+
tags
|
|
863
|
+
}
|
|
864
|
+
});
|
|
865
|
+
const users = data?.users || [];
|
|
866
|
+
const usersCount = data?.usersCount;
|
|
867
|
+
const hasMore = users?.length < usersCount;
|
|
868
|
+
const loadMore = () => {
|
|
869
|
+
fetchMore({
|
|
870
|
+
variables: { offset: users?.length }
|
|
871
|
+
});
|
|
872
|
+
};
|
|
873
|
+
return {
|
|
874
|
+
users,
|
|
875
|
+
usersCount,
|
|
876
|
+
hasMore,
|
|
877
|
+
loading,
|
|
878
|
+
error,
|
|
879
|
+
loadMore
|
|
880
|
+
};
|
|
881
|
+
};
|
|
882
|
+
var useUsers_default = useUsers;
|
|
883
|
+
var UsersCountQuery = gql`
|
|
884
|
+
query UsersCount(
|
|
885
|
+
$includeGuests: Boolean
|
|
886
|
+
$queryString: String
|
|
887
|
+
$lastLogin: DateFilterInput
|
|
888
|
+
$emailVerified: Boolean
|
|
889
|
+
) {
|
|
890
|
+
usersCount(
|
|
891
|
+
includeGuests: $includeGuests
|
|
892
|
+
queryString: $queryString
|
|
893
|
+
lastLogin: $lastLogin
|
|
894
|
+
emailVerified: $emailVerified
|
|
895
|
+
)
|
|
896
|
+
}
|
|
897
|
+
`;
|
|
898
|
+
var useUsersCount = ({
|
|
899
|
+
includeGuests = false,
|
|
900
|
+
queryString = null,
|
|
901
|
+
lastLogin = null,
|
|
902
|
+
emailVerified = null
|
|
903
|
+
} = {}) => {
|
|
904
|
+
const { data, loading, error } = useQuery(UsersCountQuery, {
|
|
905
|
+
errorPolicy: "all",
|
|
906
|
+
variables: {
|
|
907
|
+
includeGuests,
|
|
908
|
+
queryString,
|
|
909
|
+
lastLogin,
|
|
910
|
+
emailVerified
|
|
911
|
+
}
|
|
912
|
+
});
|
|
913
|
+
return {
|
|
914
|
+
usersCount: data?.usersCount || 0,
|
|
915
|
+
loading,
|
|
916
|
+
error
|
|
917
|
+
};
|
|
918
|
+
};
|
|
919
|
+
var useUsersCount_default = useUsersCount;
|
|
920
|
+
var ValidateVerifyEmailToken = gql`
|
|
921
|
+
query ValidateVerifyEmailToken($token: String!) {
|
|
922
|
+
validateVerifyEmailToken(token: $token)
|
|
923
|
+
}
|
|
924
|
+
`;
|
|
925
|
+
var useValidateEmailVerificationToken = ({ token }) => {
|
|
926
|
+
const { data, loading, error, previousData } = useQuery(ValidateVerifyEmailToken, {
|
|
927
|
+
skip: !token,
|
|
928
|
+
variables: {
|
|
929
|
+
token
|
|
930
|
+
},
|
|
931
|
+
fetchPolicy: "network-only"
|
|
932
|
+
});
|
|
933
|
+
return {
|
|
934
|
+
loading,
|
|
935
|
+
error,
|
|
936
|
+
isValid: previousData?.validateVerifyEmailToken || data?.validateVerifyEmailToken
|
|
937
|
+
};
|
|
938
|
+
};
|
|
939
|
+
var useValidateEmailVerificationToken_default = useValidateEmailVerificationToken;
|
|
940
|
+
var VALIDATE_RESET_PASSWORD_TOKEN_QUERY = gql`
|
|
941
|
+
query ValidateResetPasswordToken($token: String!) {
|
|
942
|
+
validateResetPasswordToken(token: $token)
|
|
943
|
+
}
|
|
944
|
+
`;
|
|
945
|
+
var useValidateResetPasswordToken = ({ token }) => {
|
|
946
|
+
const { data, loading, error, previousData } = useQuery(VALIDATE_RESET_PASSWORD_TOKEN_QUERY, {
|
|
947
|
+
skip: !token,
|
|
948
|
+
variables: {
|
|
949
|
+
token
|
|
950
|
+
},
|
|
951
|
+
fetchPolicy: "network-only"
|
|
952
|
+
});
|
|
953
|
+
return {
|
|
954
|
+
loading,
|
|
955
|
+
error,
|
|
956
|
+
isValid: previousData?.validateResetPasswordToken || data?.validateResetPasswordToken
|
|
957
|
+
};
|
|
958
|
+
};
|
|
959
|
+
var useValidateResetPasswordToken_default = useValidateResetPasswordToken;
|
|
960
|
+
var VerifyEmailMutation = gql`
|
|
961
|
+
mutation VerifyEmail($token: String!) {
|
|
962
|
+
verifyEmail(token: $token) {
|
|
963
|
+
_id
|
|
964
|
+
tokenExpires
|
|
965
|
+
user {
|
|
966
|
+
...UserFragment
|
|
967
|
+
}
|
|
968
|
+
}
|
|
969
|
+
}
|
|
970
|
+
${UserFragment_default}
|
|
971
|
+
`;
|
|
972
|
+
var useVerifyEmail = () => {
|
|
973
|
+
const [verifyEmailMutation, { client }] = useMutation(VerifyEmailMutation);
|
|
974
|
+
const verifyEmail = async ({ token }) => {
|
|
975
|
+
const result = await verifyEmailMutation({
|
|
976
|
+
variables: { token }
|
|
977
|
+
});
|
|
978
|
+
await client.resetStore();
|
|
979
|
+
return result;
|
|
980
|
+
};
|
|
981
|
+
return {
|
|
982
|
+
verifyEmail
|
|
983
|
+
};
|
|
984
|
+
};
|
|
985
|
+
var useVerifyEmail_default = useVerifyEmail;
|
|
986
|
+
var VerifyWeb3AddressMutation = gql`
|
|
987
|
+
mutation VerifyWeb3Address($address: String!, $hash: String!) {
|
|
988
|
+
verifyWeb3Address(address: $address, hash: $hash) {
|
|
989
|
+
...UserFragment
|
|
990
|
+
}
|
|
991
|
+
}
|
|
992
|
+
${UserFragment_default}
|
|
993
|
+
`;
|
|
994
|
+
var useVerifyWeb3Address = () => {
|
|
995
|
+
const [verifyWeb3AddressMutation] = useMutation(VerifyWeb3AddressMutation);
|
|
996
|
+
const verifyWeb3Address = async ({
|
|
997
|
+
address,
|
|
998
|
+
hash
|
|
999
|
+
}) => {
|
|
1000
|
+
return verifyWeb3AddressMutation({
|
|
1001
|
+
variables: {
|
|
1002
|
+
address,
|
|
1003
|
+
hash
|
|
1004
|
+
}
|
|
1005
|
+
});
|
|
1006
|
+
};
|
|
1007
|
+
return {
|
|
1008
|
+
verifyWeb3Address
|
|
1009
|
+
};
|
|
1010
|
+
};
|
|
1011
|
+
var useVerifyWeb3Address_default = useVerifyWeb3Address;
|
|
1012
|
+
|
|
1013
|
+
export { logOut_default as logOut, useAddEmail_default as useAddEmail, useAddWeb3Address_default as useAddWeb3Address, useAddWebAuthnCredentials_default as useAddWebAuthnCredentials, useChangePassword_default as useChangePassword, useCreateUser_default as useCreateUser, useCreateWebAuthnCredentialCreationOptions_default as useCreateWebAuthnCredentialCreationOptions, useCreateWebAuthnCredentialRequestOptions_default as useCreateWebAuthnCredentialRequestOptions, useDeleteUser_default as useDeleteUser, useForgotPassword_default as useForgotPassword, useGenerateLoginCredentials_default as useGenerateLoginCredentials, useGenerateWebAuthCredentials_default as useGenerateWebAuthCredentials, useLoginWithPassword_default as useLoginWithPassword, useLoginWithWebAuthn_default as useLoginWithWebAuthn, useRemoveEmail_default as useRemoveEmail, useRemoveWeb3Address_default as useRemoveWeb3Address, useRemoveWebAuthCredentials_default as useRemoveWebAuthCredentials, useResetPassword_default as useResetPassword, useSendVerificationEmail_default as useSendVerificationEmail, useSetPassword_default as useSetPassword, useSetRoles_default as useSetRoles, useSetUserTags_default as useSetUserTags, useSetUsername_default as useSetUsername, useUpdateUserAvatar_default as useUpdateUserAvatar, useUpdateUserProfile_default as useUpdateUserProfile, useUser_default as useUser, useUserWebAuthnCredentials_default as useUserWebAuthnCredentials, useUsers_default as useUsers, useUsersCount_default as useUsersCount, useValidateEmailVerificationToken_default as useValidateEmailVerificationToken, useValidateResetPasswordToken_default as useValidateResetPasswordToken, useVerifyEmail_default as useVerifyEmail, useVerifyWeb3Address_default as useVerifyWeb3Address };
|