@unchainedshop/admin-ui 4.8.18 → 4.8.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunk-45H2WVIC.js +51 -0
- package/dist/chunk-4VNS5WPM.js +37 -0
- package/dist/chunk-54DKBWXV.js +33 -0
- package/dist/chunk-6TXD4TA7.js +1196 -0
- package/dist/chunk-BGCKJQGS.js +58 -0
- package/dist/chunk-BYXBJQAS.js +1 -0
- package/dist/chunk-EJDZRZSZ.js +59 -0
- package/dist/chunk-ELPURWDC.js +75 -0
- package/dist/chunk-IAQPLRXZ.js +16 -0
- package/dist/chunk-ILYPJE4N.js +57 -0
- package/dist/chunk-IXBMHOB5.js +13 -0
- package/dist/chunk-KH5MK6ZW.js +18 -0
- package/dist/chunk-NT7RB7AK.js +70 -0
- package/dist/chunk-OKGJ6HDE.js +26 -0
- package/dist/chunk-Q6S3LBUF.js +180 -0
- package/dist/chunk-QNLGYFV7.js +22 -0
- package/dist/chunk-RAQV2GYF.js +70 -0
- package/dist/chunk-RHUFQVKL.js +514 -0
- package/dist/chunk-RVG6IOFC.js +11 -0
- package/dist/chunk-SRAAKMWY.js +39 -0
- package/dist/chunk-UFYR5WZT.js +165 -0
- package/dist/chunk-UXG7EYHC.js +614 -0
- package/dist/chunk-VDKQGOMV.js +840 -0
- package/dist/chunk-XHOCXPD5.js +9 -0
- package/dist/chunk-XJBPMIC4.js +284 -0
- package/dist/chunk-YO6PT7KD.js +13 -0
- package/dist/chunk-YSKZE2KN.js +652 -0
- package/dist/components/ui/Accordion/Accordion.d.ts +11 -0
- package/dist/components/ui/Accordion/Accordion.d.ts.map +1 -0
- package/dist/components/ui/Accordion/AccordionHeader.d.ts +6 -0
- package/dist/components/ui/Accordion/AccordionHeader.d.ts.map +1 -0
- package/dist/components/ui/Accordion/AccordionItem.d.ts +11 -0
- package/dist/components/ui/Accordion/AccordionItem.d.ts.map +1 -0
- package/dist/components/ui/ActiveInActive.d.ts +10 -0
- package/dist/components/ui/ActiveInActive.d.ts.map +1 -0
- package/dist/components/ui/AnimatedCounter.d.ts +7 -0
- package/dist/components/ui/AnimatedCounter.d.ts.map +1 -0
- package/dist/components/ui/Badge.d.ts +10 -0
- package/dist/components/ui/Badge.d.ts.map +1 -0
- package/dist/components/ui/BreadCrumbs.d.ts +7 -0
- package/dist/components/ui/BreadCrumbs.d.ts.map +1 -0
- package/dist/components/ui/Button.d.ts +36 -0
- package/dist/components/ui/Button.d.ts.map +1 -0
- package/dist/components/ui/CopyableText.d.ts +5 -0
- package/dist/components/ui/CopyableText.d.ts.map +1 -0
- package/dist/components/ui/DateInput.d.ts +15 -0
- package/dist/components/ui/DateInput.d.ts.map +1 -0
- package/dist/components/ui/DateRangeFilterInput.d.ts +4 -0
- package/dist/components/ui/DateRangeFilterInput.d.ts.map +1 -0
- package/dist/components/ui/DetailHeader.d.ts +6 -0
- package/dist/components/ui/DetailHeader.d.ts.map +1 -0
- package/dist/components/ui/DraggableIcon.d.ts +3 -0
- package/dist/components/ui/DraggableIcon.d.ts.map +1 -0
- package/dist/components/ui/ErrorBoundary.d.ts +18 -0
- package/dist/components/ui/ErrorBoundary.d.ts.map +1 -0
- package/dist/components/ui/ErrorFallback.d.ts +6 -0
- package/dist/components/ui/ErrorFallback.d.ts.map +1 -0
- package/dist/components/ui/HelpText.d.ts +11 -0
- package/dist/components/ui/HelpText.d.ts.map +1 -0
- package/dist/components/ui/ImageWithFallback.d.ts +7 -0
- package/dist/components/ui/ImageWithFallback.d.ts.map +1 -0
- package/dist/components/ui/InfoTextBanner.d.ts +6 -0
- package/dist/components/ui/InfoTextBanner.d.ts.map +1 -0
- package/dist/components/ui/JSONView.d.ts +6 -0
- package/dist/components/ui/JSONView.d.ts.map +1 -0
- package/dist/components/ui/ListHeader.d.ts +6 -0
- package/dist/components/ui/ListHeader.d.ts.map +1 -0
- package/dist/components/ui/Loading.d.ts +3 -0
- package/dist/components/ui/Loading.d.ts.map +1 -0
- package/dist/components/ui/NoData.d.ts +7 -0
- package/dist/components/ui/NoData.d.ts.map +1 -0
- package/dist/components/ui/NoImage.d.ts +7 -0
- package/dist/components/ui/NoImage.d.ts.map +1 -0
- package/dist/components/ui/NoImageSvg.d.ts +8 -0
- package/dist/components/ui/NoImageSvg.d.ts.map +1 -0
- package/dist/components/ui/PageHeader.d.ts +11 -0
- package/dist/components/ui/PageHeader.d.ts.map +1 -0
- package/dist/components/ui/Pagination.d.ts +8 -0
- package/dist/components/ui/Pagination.d.ts.map +1 -0
- package/dist/components/ui/Portal/Portal.d.ts +16 -0
- package/dist/components/ui/Portal/Portal.d.ts.map +1 -0
- package/dist/components/ui/Portal/Portal.types.d.ts +16 -0
- package/dist/components/ui/Portal/Portal.types.d.ts.map +1 -0
- package/dist/components/ui/SaveAndCancelButtons.d.ts +10 -0
- package/dist/components/ui/SaveAndCancelButtons.d.ts.map +1 -0
- package/dist/components/ui/SearchField.d.ts +7 -0
- package/dist/components/ui/SearchField.d.ts.map +1 -0
- package/dist/components/ui/Tab.d.ts +18 -0
- package/dist/components/ui/Tab.d.ts.map +1 -0
- package/dist/components/ui/Tag/TagInput.d.ts +14 -0
- package/dist/components/ui/Tag/TagInput.d.ts.map +1 -0
- package/dist/components/ui/Tag/TagList.d.ts +8 -0
- package/dist/components/ui/Tag/TagList.d.ts.map +1 -0
- package/dist/components/ui/Tag/TagListForm.d.ts +8 -0
- package/dist/components/ui/Tag/TagListForm.d.ts.map +1 -0
- package/dist/components/ui/Toggle.d.ts +11 -0
- package/dist/components/ui/Toggle.d.ts.map +1 -0
- package/dist/components/ui/ToolTip.d.ts +7 -0
- package/dist/components/ui/ToolTip.d.ts.map +1 -0
- package/dist/components/ui/card.d.ts +9 -0
- package/dist/components/ui/card.d.ts.map +1 -0
- package/dist/components/ui/chart.d.ts +42 -0
- package/dist/components/ui/chart.d.ts.map +1 -0
- package/dist/components/ui/form/CheckboxField.d.ts +4 -0
- package/dist/components/ui/form/CheckboxField.d.ts.map +1 -0
- package/dist/components/ui/form/ChoicesField.d.ts +12 -0
- package/dist/components/ui/form/ChoicesField.d.ts.map +1 -0
- package/dist/components/ui/form/Combobox.d.ts +20 -0
- package/dist/components/ui/form/Combobox.d.ts.map +1 -0
- package/dist/components/ui/form/DatePickerField.d.ts +4 -0
- package/dist/components/ui/form/DatePickerField.d.ts.map +1 -0
- package/dist/components/ui/form/EmailField.d.ts +7 -0
- package/dist/components/ui/form/EmailField.d.ts.map +1 -0
- package/dist/components/ui/form/FieldWithHelp.d.ts +10 -0
- package/dist/components/ui/form/FieldWithHelp.d.ts.map +1 -0
- package/dist/components/ui/form/FieldWrapper.d.ts +8 -0
- package/dist/components/ui/form/FieldWrapper.d.ts.map +1 -0
- package/dist/components/ui/form/FormErrors.d.ts +6 -0
- package/dist/components/ui/form/FormErrors.d.ts.map +1 -0
- package/dist/components/ui/form/JSONAreaField.d.ts +7 -0
- package/dist/components/ui/form/JSONAreaField.d.ts.map +1 -0
- package/dist/components/ui/form/MarkdownTextAreaField.d.ts +8 -0
- package/dist/components/ui/form/MarkdownTextAreaField.d.ts.map +1 -0
- package/dist/components/ui/form/PasswordField.d.ts +3 -0
- package/dist/components/ui/form/PasswordField.d.ts.map +1 -0
- package/dist/components/ui/form/SelectField.d.ts +11 -0
- package/dist/components/ui/form/SelectField.d.ts.map +1 -0
- package/dist/components/ui/form/SubmitButton.d.ts +9 -0
- package/dist/components/ui/form/SubmitButton.d.ts.map +1 -0
- package/dist/components/ui/form/TagInputField.d.ts +6 -0
- package/dist/components/ui/form/TagInputField.d.ts.map +1 -0
- package/dist/components/ui/form/TextAreaField.d.ts +8 -0
- package/dist/components/ui/form/TextAreaField.d.ts.map +1 -0
- package/dist/components/ui/form/TextField.d.ts +10 -0
- package/dist/components/ui/form/TextField.d.ts.map +1 -0
- package/dist/components/ui/form/index.d.ts +17 -0
- package/dist/components/ui/form/index.d.ts.map +1 -0
- package/dist/components/ui/icons.d.ts +4 -0
- package/dist/components/ui/icons.d.ts.map +1 -0
- package/dist/components/ui/index.d.ts +41 -0
- package/dist/components/ui/index.d.ts.map +1 -0
- package/dist/form.js +30077 -0
- package/dist/gql/types.d.ts +17209 -0
- package/dist/gql/types.d.ts.map +1 -0
- package/dist/hooks.js +41 -0
- package/dist/lib/utils.d.ts +3 -0
- package/dist/lib/utils.d.ts.map +1 -0
- package/dist/modal.js +114 -0
- package/dist/modules/UnchainedContext/UnchainedContext.d.ts +8 -0
- package/dist/modules/UnchainedContext/UnchainedContext.d.ts.map +1 -0
- package/dist/modules/UnchainedContext/useUnchainedContext.d.ts +7 -0
- package/dist/modules/UnchainedContext/useUnchainedContext.d.ts.map +1 -0
- package/dist/modules/accounts/fragment/MD5MetaDataFragment.d.ts +3 -0
- package/dist/modules/accounts/fragment/MD5MetaDataFragment.d.ts.map +1 -0
- package/dist/modules/accounts/fragment/UserFragment.d.ts +3 -0
- package/dist/modules/accounts/fragment/UserFragment.d.ts.map +1 -0
- package/dist/modules/accounts/hooks/useCurrentUser.d.ts +10 -0
- package/dist/modules/accounts/hooks/useCurrentUser.d.ts.map +1 -0
- package/dist/modules/accounts/hooks/useUsersCount.d.ts +8 -0
- package/dist/modules/accounts/hooks/useUsersCount.d.ts.map +1 -0
- package/dist/modules/accounts.js +1013 -0
- package/dist/modules/assortment/hooks/useAssortmentsCount.d.ts +8 -0
- package/dist/modules/assortment/hooks/useAssortmentsCount.d.ts.map +1 -0
- package/dist/modules/assortment.js +1121 -0
- package/dist/modules/common/components/AppContext.d.ts +18 -0
- package/dist/modules/common/components/AppContext.d.ts.map +1 -0
- package/dist/modules/common/components/FormWrapper.d.ts +8 -0
- package/dist/modules/common/components/FormWrapper.d.ts.map +1 -0
- package/dist/modules/common/components/ThemeWrapper.d.ts +10 -0
- package/dist/modules/common/components/ThemeWrapper.d.ts.map +1 -0
- package/dist/modules/common/data/iso-codes.d.ts +4 -0
- package/dist/modules/common/data/iso-codes.d.ts.map +1 -0
- package/dist/modules/common/data/miscellaneous.d.ts +51 -0
- package/dist/modules/common/data/miscellaneous.d.ts.map +1 -0
- package/dist/modules/common/fragments/AddressFragment.d.ts +3 -0
- package/dist/modules/common/fragments/AddressFragment.d.ts.map +1 -0
- package/dist/modules/common/hooks/useApp.d.ts +11 -0
- package/dist/modules/common/hooks/useApp.d.ts.map +1 -0
- package/dist/modules/common/hooks/useCSVExport.d.ts +10 -0
- package/dist/modules/common/hooks/useCSVExport.d.ts.map +1 -0
- package/dist/modules/common/hooks/useCSVImport.d.ts +18 -0
- package/dist/modules/common/hooks/useCSVImport.d.ts.map +1 -0
- package/dist/modules/common/hooks/useChatEndpointChecker.d.ts +5 -0
- package/dist/modules/common/hooks/useChatEndpointChecker.d.ts.map +1 -0
- package/dist/modules/common/hooks/useConfirmMediaUpload.d.ts +10 -0
- package/dist/modules/common/hooks/useConfirmMediaUpload.d.ts.map +1 -0
- package/dist/modules/common/hooks/useDashboardMetrics.d.ts +23 -0
- package/dist/modules/common/hooks/useDashboardMetrics.d.ts.map +1 -0
- package/dist/modules/common/hooks/useLocalStorage.d.ts +3 -0
- package/dist/modules/common/hooks/useLocalStorage.d.ts.map +1 -0
- package/dist/modules/common/hooks/useOrderAnalytics.d.ts +25 -0
- package/dist/modules/common/hooks/useOrderAnalytics.d.ts.map +1 -0
- package/dist/modules/common/hooks/useOrderItemsAnalytics.d.ts +16 -0
- package/dist/modules/common/hooks/useOrderItemsAnalytics.d.ts.map +1 -0
- package/dist/modules/common/hooks/useOutsideClick.d.ts +3 -0
- package/dist/modules/common/hooks/useOutsideClick.d.ts.map +1 -0
- package/dist/modules/common/hooks/usePortal.d.ts +20 -0
- package/dist/modules/common/hooks/usePortal.d.ts.map +1 -0
- package/dist/modules/common/hooks/useShopConfiguration.d.ts +8 -0
- package/dist/modules/common/hooks/useShopConfiguration.d.ts.map +1 -0
- package/dist/modules/common/hooks/useShopInfo.d.ts +41 -0
- package/dist/modules/common/hooks/useShopInfo.d.ts.map +1 -0
- package/dist/modules/common/hooks/useStatusTypes.d.ts +10 -0
- package/dist/modules/common/hooks/useStatusTypes.d.ts.map +1 -0
- package/dist/modules/common/hooks/useSystemRoles.d.ts +7 -0
- package/dist/modules/common/hooks/useSystemRoles.d.ts.map +1 -0
- package/dist/modules/common/hooks/useTheme.d.ts +7 -0
- package/dist/modules/common/hooks/useTheme.d.ts.map +1 -0
- package/dist/modules/common/utils/deBounce.d.ts +3 -0
- package/dist/modules/common/utils/deBounce.d.ts.map +1 -0
- package/dist/modules/common/utils/defaultNextImageLoader.d.ts +7 -0
- package/dist/modules/common/utils/defaultNextImageLoader.d.ts.map +1 -0
- package/dist/modules/common/utils/formatUsername.d.ts +3 -0
- package/dist/modules/common/utils/formatUsername.d.ts.map +1 -0
- package/dist/modules/common/utils/getSetupStepsConfigurationsMeta.d.ts +30 -0
- package/dist/modules/common/utils/getSetupStepsConfigurationsMeta.d.ts.map +1 -0
- package/dist/modules/common/utils/normalizeFilterKeys.d.ts +4 -0
- package/dist/modules/common/utils/normalizeFilterKeys.d.ts.map +1 -0
- package/dist/modules/common/utils/useFormatDateTime.d.ts +7 -0
- package/dist/modules/common/utils/useFormatDateTime.d.ts.map +1 -0
- package/dist/modules/common/utils/utils.d.ts +21 -0
- package/dist/modules/common/utils/utils.d.ts.map +1 -0
- package/dist/modules/country/fragments/CountryFragment.d.ts +3 -0
- package/dist/modules/country/fragments/CountryFragment.d.ts.map +1 -0
- package/dist/modules/country/hooks/useCountries.d.ts +22 -0
- package/dist/modules/country/hooks/useCountries.d.ts.map +1 -0
- package/dist/modules/country.js +108 -0
- package/dist/modules/currency.js +119 -0
- package/dist/modules/delivery-provider.js +269 -0
- package/dist/modules/enrollment.js +353 -0
- package/dist/modules/event.js +123 -0
- package/dist/modules/filter.js +448 -0
- package/dist/modules/forms/components/Form.d.ts +8 -0
- package/dist/modules/forms/components/Form.d.ts.map +1 -0
- package/dist/modules/forms/hooks/useField.d.ts +35 -0
- package/dist/modules/forms/hooks/useField.d.ts.map +1 -0
- package/dist/modules/forms/hooks/useForm.d.ts +44 -0
- package/dist/modules/forms/hooks/useForm.d.ts.map +1 -0
- package/dist/modules/forms/hooks/useFormContext.d.ts +3 -0
- package/dist/modules/forms/hooks/useFormContext.d.ts.map +1 -0
- package/dist/modules/forms/lib/FormContext.d.ts +13 -0
- package/dist/modules/forms/lib/FormContext.d.ts.map +1 -0
- package/dist/modules/forms/lib/clean.d.ts +3 -0
- package/dist/modules/forms/lib/clean.d.ts.map +1 -0
- package/dist/modules/forms/lib/validators.d.ts +20 -0
- package/dist/modules/forms/lib/validators.d.ts.map +1 -0
- package/dist/modules/language/fragments/LanguageFragment.d.ts +3 -0
- package/dist/modules/language/fragments/LanguageFragment.d.ts.map +1 -0
- package/dist/modules/language/hooks/useLanguages.d.ts +19 -0
- package/dist/modules/language/hooks/useLanguages.d.ts.map +1 -0
- package/dist/modules/language.js +106 -0
- package/dist/modules/modal/components/AlertMessage.d.ts +9 -0
- package/dist/modules/modal/components/AlertMessage.d.ts.map +1 -0
- package/dist/modules/modal/components/DangerMessage.d.ts +12 -0
- package/dist/modules/modal/components/DangerMessage.d.ts.map +1 -0
- package/dist/modules/modal/components/ImportResultMessage.d.ts +14 -0
- package/dist/modules/modal/components/ImportResultMessage.d.ts.map +1 -0
- package/dist/modules/modal/components/Modal.d.ts +10 -0
- package/dist/modules/modal/components/Modal.d.ts.map +1 -0
- package/dist/modules/modal/components/ModalWrapper.d.ts +6 -0
- package/dist/modules/modal/components/ModalWrapper.d.ts.map +1 -0
- package/dist/modules/modal/hooks/useModal.d.ts +7 -0
- package/dist/modules/modal/hooks/useModal.d.ts.map +1 -0
- package/dist/modules/modal/utils/ModalContext.d.ts +9 -0
- package/dist/modules/modal/utils/ModalContext.d.ts.map +1 -0
- package/dist/modules/order/fragments/OrderDetailFragment.d.ts +3 -0
- package/dist/modules/order/fragments/OrderDetailFragment.d.ts.map +1 -0
- package/dist/modules/order/fragments/OrderFragment.d.ts +3 -0
- package/dist/modules/order/fragments/OrderFragment.d.ts.map +1 -0
- package/dist/modules/order/hooks/useOrders.d.ts +46 -0
- package/dist/modules/order/hooks/useOrders.d.ts.map +1 -0
- package/dist/modules/order.js +563 -0
- package/dist/modules/payment-providers.js +206 -0
- package/dist/modules/product/hooks/useProductsCount.d.ts +8 -0
- package/dist/modules/product/hooks/useProductsCount.d.ts.map +1 -0
- package/dist/modules/product-review.js +251 -0
- package/dist/modules/product.js +1929 -0
- package/dist/modules/quotation.js +297 -0
- package/dist/modules/token.js +143 -0
- package/dist/modules/warehousing-providers.js +206 -0
- package/dist/modules/work/fragments/WorkFragment.d.ts +3 -0
- package/dist/modules/work/fragments/WorkFragment.d.ts.map +1 -0
- package/dist/modules/work/hooks/useAddWork.d.ts +6 -0
- package/dist/modules/work/hooks/useAddWork.d.ts.map +1 -0
- package/dist/modules/work/hooks/useWork.d.ts +32 -0
- package/dist/modules/work/hooks/useWork.d.ts.map +1 -0
- package/dist/modules/work.js +308 -0
- package/dist/plugins.js +8 -0
- package/dist/providers.js +6 -0
- package/dist/sdk/hooks.d.ts +9 -0
- package/dist/sdk/hooks.d.ts.map +1 -0
- package/dist/sdk/modal.d.ts +7 -0
- package/dist/sdk/modal.d.ts.map +1 -0
- package/dist/sdk/plugins.d.ts +67 -0
- package/dist/sdk/plugins.d.ts.map +1 -0
- package/dist/sdk/providers.d.ts +5 -0
- package/dist/sdk/providers.d.ts.map +1 -0
- package/dist/sdk/theme.d.ts +26 -0
- package/dist/sdk/theme.d.ts.map +1 -0
- package/dist/theme.js +34 -0
- package/dist/ui.js +21527 -0
- package/out/403/index.html +2 -2
- package/out/404/index.html +2 -2
- package/out/404.html +2 -2
- package/out/423/index.html +2 -2
- package/out/500/index.html +2 -2
- package/out/_next/static/chunks/0-kffmdf1lcxk.js +1 -0
- package/out/_next/static/chunks/01h4ept18s-ns.js +807 -0
- package/out/_next/static/chunks/02cdoh48sex9m.js +1 -0
- package/out/_next/static/chunks/03-j84eg_htky.js +21 -0
- package/out/_next/static/chunks/03-z1yl608b56.js +807 -0
- package/out/_next/static/chunks/030bzkeke0edz.js +7 -0
- package/out/_next/static/chunks/037vsiy28s6dg.js +41 -0
- package/out/_next/static/chunks/05qpw6q8uiz3l.js +15 -0
- package/out/_next/static/chunks/06c-2u_g1d4r2.js +22 -0
- package/out/_next/static/chunks/06l-rqlf4bp81.js +108 -0
- package/out/_next/static/chunks/06rhycq_6w-52.js +188 -0
- package/out/_next/static/chunks/07nffhr51vke6.js +59 -0
- package/out/_next/static/chunks/0_ngi84ak813x.js +288 -0
- package/out/_next/static/chunks/0bc02hascgv7z.js +1 -0
- package/out/_next/static/chunks/0c9ruqj2wf3n6.js +905 -0
- package/out/_next/static/chunks/0cm0oyd82zvez.js +1 -0
- package/out/_next/static/chunks/0cotrfgh1n2cx.js +346 -0
- package/out/_next/static/chunks/0d6_opzy2p6ik.js +807 -0
- package/out/_next/static/chunks/0e2e0srgvkzk9.js +144 -0
- package/out/_next/static/chunks/0gurfn3nhm859.js +1 -0
- package/out/_next/static/chunks/0h0r_q6xa9qr_.js +1 -0
- package/out/_next/static/chunks/0ht2wu-61vq9v.js +807 -0
- package/out/_next/static/chunks/0jsq3fzumbjbc.js +8 -0
- package/out/_next/static/chunks/0ljuhrsh4x2p-.js +14 -0
- package/out/_next/static/chunks/0m6jydfuy_4o3.js +1 -0
- package/out/_next/static/chunks/0mzh9-epgepi1.js +119 -0
- package/out/_next/static/chunks/0n0uzfbkfb7e5.js +12 -0
- package/out/_next/static/chunks/0pecsk3c09b19.js +3 -0
- package/out/_next/static/chunks/0q-14a7j6afh3.js +1 -0
- package/out/_next/static/chunks/0qso2-ph6v-5-.js +12 -0
- package/out/_next/static/chunks/0razrbxeai797.js +807 -0
- package/out/_next/static/chunks/0se09klbk8drd.js +68 -0
- package/out/_next/static/chunks/0so45zh_oxlfb.js +15 -0
- package/out/_next/static/chunks/0ukyxgmnqos6o.js +1 -0
- package/out/_next/static/chunks/0urdgbfwcwyhr.js +14 -0
- package/out/_next/static/chunks/0uw9cbq0ivaz0.js +1 -0
- package/out/_next/static/chunks/0vls1lbu_rh78.js +342 -0
- package/out/_next/static/chunks/0xuevvy5i5d12.js +138 -0
- package/out/_next/static/chunks/0xxvsq70e4xn0.js +1 -0
- package/out/_next/static/chunks/0y4l_7c35iai3.js +12 -0
- package/out/_next/static/chunks/0yjypzfweew5c.js +13 -0
- package/out/_next/static/chunks/0yxc1yy1eq4u3.js +149 -0
- package/out/_next/static/chunks/1-g6r12rmwlxe.js +14 -0
- package/out/_next/static/chunks/10h7lznd10mmp.js +384 -0
- package/out/_next/static/chunks/10mdz-l7wmtr5.js +24 -0
- package/out/_next/static/chunks/10os1s66nimmi.js +110 -0
- package/out/_next/static/chunks/12qzh85d5on4y.js +44 -0
- package/out/_next/static/chunks/1398hevtpl_69.js +1 -0
- package/out/_next/static/chunks/13qk8ukzu1snm.js +288 -0
- package/out/_next/static/chunks/140i5f2n-78cg.js +7 -0
- package/out/_next/static/chunks/14xo-79v4hkao.js +15 -0
- package/out/_next/static/chunks/164wr2-2gfnlb.js +1 -0
- package/out/_next/static/chunks/168vn2bjuxmkv.js +15 -0
- package/out/_next/static/chunks/16ey81skn09dz.js +1 -0
- package/out/_next/static/chunks/16njzhio749zv.js +14 -0
- package/out/_next/static/chunks/18-orz9acmfb5.js +5 -0
- package/out/_next/static/chunks/18y5ygb5ea60g.js +15 -0
- package/out/_next/static/chunks/19y4w6_d_qiou.js +1 -0
- package/out/_next/static/chunks/1_g-csysa-i-9.js +1 -0
- package/out/_next/static/chunks/1_quktgfhf40v.js +31 -0
- package/out/_next/static/chunks/1_zsbsuo7l_6m.js +12 -0
- package/out/_next/static/chunks/1a8cuvabj42_k.js +15 -0
- package/out/_next/static/chunks/1ae-9ft5cgojf.js +1 -0
- package/out/_next/static/chunks/1ai7t85n93pgb.js +13 -0
- package/out/_next/static/chunks/1bm5ab-8dqhhe.js +14 -0
- package/out/_next/static/chunks/1cgxgd2cf8u3j.js +157 -0
- package/out/_next/static/chunks/1d0-uj-itsj64.js +13 -0
- package/out/_next/static/chunks/1d951b6ed8oqn.js +110 -0
- package/out/_next/static/chunks/1d_puhcn8lg6q.js +51 -0
- package/out/_next/static/chunks/1dn4wzp1vhocn.js +13 -0
- package/out/_next/static/chunks/1drrou5kp4qdz.js +1 -0
- package/out/_next/static/chunks/1e43ue9prlgq1.js +14 -0
- package/out/_next/static/chunks/1e4_28-3u5o85.js +30 -0
- package/out/_next/static/chunks/1f3mflnvp8_7-.js +31 -0
- package/out/_next/static/chunks/1f5-j4f3irx0j.js +147 -0
- package/out/_next/static/chunks/1fid6ut5hz6aw.js +14 -0
- package/out/_next/static/chunks/1fm3727le1x_5.js +195 -0
- package/out/_next/static/chunks/1g57y7cq7tjcb.js +9 -0
- package/out/_next/static/chunks/1ggz6fow3gt00.js +137 -0
- package/out/_next/static/chunks/1gt65pz91hyuz.js +1 -0
- package/out/_next/static/chunks/1i-48ku54x3au.js +12 -0
- package/out/_next/static/chunks/1ikm9qcx--k3u.js +807 -0
- package/out/_next/static/chunks/1izpxynqp99t4.js +193 -0
- package/out/_next/static/chunks/1j2ko85jp-5wy.js +807 -0
- package/out/_next/static/chunks/1kj__-femskug.js +52 -0
- package/out/_next/static/chunks/1lbsdlf5h6ojc.js +16 -0
- package/out/_next/static/chunks/1mp7dwvsvobjw.js +14 -0
- package/out/_next/static/chunks/1mwvnv71bl7mc.js +1 -0
- package/out/_next/static/chunks/1n7i2rp59o9o8.js +384 -0
- package/out/_next/static/chunks/1n7suzk2c4p2e.js +16 -0
- package/out/_next/static/chunks/1nsbi_bcocm4l.js +7 -0
- package/out/_next/static/chunks/1pklei2ds10d2.js +66 -0
- package/out/_next/static/chunks/1pxor-3_vf3du.js +31 -0
- package/out/_next/static/chunks/1q865b-tzgi80.js +13 -0
- package/out/_next/static/chunks/1qp68765j1aiv.js +61 -0
- package/out/_next/static/chunks/1r-cvj3mpr-7x.js +87 -0
- package/out/_next/static/chunks/1snnkviatd2ds.js +90 -0
- package/out/_next/static/chunks/1t7lg-hnk9tjf.js +18 -0
- package/out/_next/static/chunks/1telbrcq2kix_.js +10 -0
- package/out/_next/static/chunks/1tz4za98hv_q2.js +12 -0
- package/out/_next/static/chunks/1uw2vfhjol6j4.js +10 -0
- package/out/_next/static/chunks/1v16gcok-ktdo.js +142 -0
- package/out/_next/static/chunks/1v_n1-h3u8vtf.js +25 -0
- package/out/_next/static/chunks/1weq9keqxiqpy.js +73 -0
- package/out/_next/static/chunks/1wfwvd-730eaa.js +16 -0
- package/out/_next/static/chunks/1xbofs3ibkjvj.js +1 -0
- package/out/_next/static/chunks/1xl2h1_c5-b_a.js +13 -0
- package/out/_next/static/chunks/1yv01jo2m1gkf.js +1 -0
- package/out/_next/static/chunks/1ziicn0eb_yji.js +16 -0
- package/out/_next/static/chunks/1zza9faw4t3b_.js +46 -0
- package/out/_next/static/chunks/1zzpf1xbmchcj.js +132 -0
- package/out/_next/static/chunks/2-4ng9fxftmld.js +1 -0
- package/out/_next/static/chunks/208fwfjeuxv-r.js +14 -0
- package/out/_next/static/chunks/20rtv8f0brb0n.js +43 -0
- package/out/_next/static/chunks/21a19t2pe0fpg.js +81 -0
- package/out/_next/static/chunks/21zt48zdev_7t.js +20 -0
- package/out/_next/static/chunks/236ovetz0d3cm.js +12 -0
- package/out/_next/static/chunks/252jebodi67kg.js +1 -0
- package/out/_next/static/chunks/26ie8u_ab24o8.js +224 -0
- package/out/_next/static/chunks/275o3ly3svw4p.js +1 -0
- package/out/_next/static/chunks/28z1z7in8-kbg.js +26 -0
- package/out/_next/static/chunks/2atsi2t3hup4a.js +23 -0
- package/out/_next/static/chunks/2bb7696udjx6k.js +44 -0
- package/out/_next/static/chunks/2bm5aw8hqlgf2.js +50 -0
- package/out/_next/static/chunks/2c7gw8ronvu-c.js +807 -0
- package/out/_next/static/chunks/2cbr3ybo4xsrv.js +43 -0
- package/out/_next/static/chunks/2ef363b9erq_s.js +217 -0
- package/out/_next/static/chunks/2eh6ku1a1zbs4.js +135 -0
- package/out/_next/static/chunks/2fed4-6c0ghqp.js +99 -0
- package/out/_next/static/chunks/2gil5igdermzh.js +36 -0
- package/out/_next/static/chunks/2hm0mbq0vtqmw.js +5 -0
- package/out/_next/static/chunks/2ismth22knujm.js +1 -0
- package/out/_next/static/chunks/2j9-8qtc4_-uk.js +17 -0
- package/out/_next/static/chunks/2jln1kjysf99p.js +1 -0
- package/out/_next/static/chunks/2jtk4-i4e9lug.js +1 -0
- package/out/_next/static/chunks/2k020ab3luqev.js +1 -0
- package/out/_next/static/chunks/2kbieaechn8m8.js +1 -0
- package/out/_next/static/chunks/2kzyda4a6mqut.js +1 -0
- package/out/_next/static/chunks/2l24h40hc5_30.js +10 -0
- package/out/_next/static/chunks/2ljoq6sr-g2da.js +1 -0
- package/out/_next/static/chunks/2mr2k4sb6i021.js +32 -0
- package/out/_next/static/chunks/2na27-e8gs0-f.js +171 -0
- package/out/_next/static/chunks/2nn3_f04lnr0b.js +807 -0
- package/out/_next/static/chunks/2o8r09deae36c.js +9 -0
- package/out/_next/static/chunks/2ocwu5vbc5r34.js +73 -0
- package/out/_next/static/chunks/2qprgjhjl8d4c.js +807 -0
- package/out/_next/static/chunks/2s1zqhg6tm4h9.js +13 -0
- package/out/_next/static/chunks/2skxi0oqka3ef.js +26 -0
- package/out/_next/static/chunks/2som54uae4_oi.js +12 -0
- package/out/_next/static/chunks/2t3t6gm5vlg_0.js +58 -0
- package/out/_next/static/chunks/2twfwv_6mk256.js +17 -0
- package/out/_next/static/chunks/2u57x6wlny1y3.js +13 -0
- package/out/_next/static/chunks/2ukm5shi1lfcd.js +14 -0
- package/out/_next/static/chunks/2w5y5xf0nriwx.js +1 -0
- package/out/_next/static/chunks/2we-9ioq4gqia.js +8 -0
- package/out/_next/static/chunks/2ydh6mhksolv7.js +12 -0
- package/out/_next/static/chunks/2zr8-l2b9pf-u.js +12 -0
- package/out/_next/static/chunks/30g-s0ioynhjx.js +224 -0
- package/out/_next/static/chunks/31y7dx6ytab7h.js +3 -0
- package/out/_next/static/chunks/329ps41fzi6kl.js +17 -0
- package/out/_next/static/chunks/32r9w6anc6p-3.js +17 -0
- package/out/_next/static/chunks/35995k_05rugk.js +5 -0
- package/out/_next/static/chunks/363ng2l8o_bee.js +101 -0
- package/out/_next/static/chunks/36jick0alh9oa.js +50 -0
- package/out/_next/static/chunks/36pa0vs0telmp.js +1 -0
- package/out/_next/static/chunks/378867ti5yucc.js +3 -0
- package/out/_next/static/chunks/38b7m-s26ciug.js +137 -0
- package/out/_next/static/chunks/38pz7fmyf6ay0.js +1 -0
- package/out/_next/static/chunks/3_fk1axw7jv3l.js +188 -0
- package/out/_next/static/chunks/3_oq57mmti33y.js +60 -0
- package/out/_next/static/chunks/3b5o-l5g62zd5.js +15 -0
- package/out/_next/static/chunks/3bxtyo0u_psf7.js +1 -0
- package/out/_next/static/chunks/3def6w0a5af0g.js +21 -0
- package/out/_next/static/chunks/3ebh4y7h6y1vq.js +58 -0
- package/out/_next/static/chunks/3ely6dgcq2a4h.js +16 -0
- package/out/_next/static/chunks/3f-ap6wo94un_.js +1 -0
- package/out/_next/static/chunks/3gfjdynb9mg8h.js +23 -0
- package/out/_next/static/chunks/3ghzaufs2n8uq.js +2 -0
- package/out/_next/static/chunks/3gls52bjnoo8q.js +596 -0
- package/out/_next/static/chunks/3gx4smk7pb27x.js +119 -0
- package/out/_next/static/chunks/3jv-kmvjt_bno.js +1 -0
- package/out/_next/static/chunks/3k98cr566roh-.js +2 -0
- package/out/_next/static/chunks/3kisw9hre44e5.js +807 -0
- package/out/_next/static/chunks/3l2ohiwua66_k.js +13 -0
- package/out/_next/static/chunks/3mdyli-gbdglv.js +18 -0
- package/out/_next/static/chunks/3o733m88skfkc.js +8 -0
- package/out/_next/static/chunks/3opuxnw_w3yb5.js +101 -0
- package/out/_next/static/chunks/3po074-e_om-u.js +13 -0
- package/out/_next/static/chunks/3qpo866owyu7i.js +16 -0
- package/out/_next/static/chunks/3rnl7-84z1op5.js +28 -0
- package/out/_next/static/chunks/3s1r5r5je7t2j.js +12 -0
- package/out/_next/static/chunks/3tv9csz53av-5.js +1 -0
- package/out/_next/static/chunks/3v1dxn4rp-o3v.js +315 -0
- package/out/_next/static/chunks/3w_wwl_hd91od.js +1 -0
- package/out/_next/static/chunks/3wlt1njh1vvtx.js +16 -0
- package/out/_next/static/chunks/3wwsanj-y2gn3.js +107 -0
- package/out/_next/static/chunks/3wzzh45yillzb.js +1 -0
- package/out/_next/static/chunks/3x96n1j6ap_rg.js +190 -0
- package/out/_next/static/chunks/3xhmfg-981n_5.js +61 -0
- package/out/_next/static/chunks/3yqw8z_udrol0.js +1 -0
- package/out/_next/static/chunks/3z_c5kpm-e1ty.js +15 -0
- package/out/_next/static/chunks/3zqfchpzqxd92.css +1 -0
- package/out/_next/static/chunks/4079hjuumfmm2.js +31 -0
- package/out/_next/static/chunks/40922jbr_e5ug.js +51 -0
- package/out/_next/static/chunks/40zy6mxa-be0m.js +1 -0
- package/out/_next/static/chunks/43-m6q6a0aebk.js +66 -0
- package/out/_next/static/chunks/43lu0r3m_c-km.js +21 -0
- package/out/_next/static/chunks/44nj9c766dqvc.js +807 -0
- package/out/_next/static/chunks/458tg2eg5h8j5.js +324 -0
- package/out/_next/static/chunks/45cd4ypk94sw2.js +807 -0
- package/out/_next/static/chunks/turbopack-0-r_wvlw2r9-u.js +1 -0
- package/out/_next/static/chunks/turbopack-019acfo_4lvwb.js +1 -0
- package/out/_next/static/chunks/turbopack-04p4_o2q-3775.js +1 -0
- package/out/_next/static/chunks/turbopack-05gjzccig6ly0.js +1 -0
- package/out/_next/static/chunks/turbopack-0_-8nqdse9k2n.js +1 -0
- package/out/_next/static/chunks/turbopack-0bakfyovo7_7v.js +1 -0
- package/out/_next/static/chunks/turbopack-0dnmhb2s6oz_0.js +1 -0
- package/out/_next/static/chunks/turbopack-0f_0xhndfo2rg.js +1 -0
- package/out/_next/static/chunks/turbopack-0g8j6jo0h0wr2.js +1 -0
- package/out/_next/static/chunks/turbopack-0higs44_fpd2z.js +1 -0
- package/out/_next/static/chunks/turbopack-0hpqs96ev0qw3.js +1 -0
- package/out/_next/static/chunks/turbopack-0nhgkjul58c0o.js +1 -0
- package/out/_next/static/chunks/turbopack-0o2st91056bew.js +1 -0
- package/out/_next/static/chunks/turbopack-0t_4mmwvh5jcg.js +1 -0
- package/out/_next/static/chunks/turbopack-0x70e5tn0cdka.js +1 -0
- package/out/_next/static/chunks/turbopack-0xkx2uti084qk.js +1 -0
- package/out/_next/static/chunks/turbopack-0yqmz8xksziao.js +1 -0
- package/out/_next/static/chunks/turbopack-12k7mi-z9q_my.js +1 -0
- package/out/_next/static/chunks/turbopack-15m77byc-8nnf.js +1 -0
- package/out/_next/static/chunks/turbopack-18mged-v_fxn-.js +1 -0
- package/out/_next/static/chunks/turbopack-1cuprvm6j2dby.js +1 -0
- package/out/_next/static/chunks/turbopack-1eymghczt7xa6.js +1 -0
- package/out/_next/static/chunks/turbopack-1g54o3vx9b89_.js +1 -0
- package/out/_next/static/chunks/turbopack-1m692rsdwiawo.js +1 -0
- package/out/_next/static/chunks/turbopack-1mm7vtvpd13ez.js +1 -0
- package/out/_next/static/chunks/turbopack-1mpj4cwcr142-.js +1 -0
- package/out/_next/static/chunks/turbopack-1r78bk7u_h8wj.js +1 -0
- package/out/_next/static/chunks/turbopack-1r7fkywendzls.js +1 -0
- package/out/_next/static/chunks/turbopack-1rd9nl8tzd7mh.js +1 -0
- package/out/_next/static/chunks/turbopack-22rm65gb-fb5f.js +1 -0
- package/out/_next/static/chunks/turbopack-25vthc1ebxwmp.js +1 -0
- package/out/_next/static/chunks/turbopack-270o4xzuhcrx0.js +1 -0
- package/out/_next/static/chunks/turbopack-28xworku-1n7z.js +1 -0
- package/out/_next/static/chunks/turbopack-29flyuxccgrne.js +1 -0
- package/out/_next/static/chunks/turbopack-29srldogp40c5.js +1 -0
- package/out/_next/static/chunks/turbopack-2_6wg5anpoge7.js +1 -0
- package/out/_next/static/chunks/turbopack-2bj5y06eussh4.js +1 -0
- package/out/_next/static/chunks/turbopack-2fn9x-4hydbz0.js +1 -0
- package/out/_next/static/chunks/turbopack-2fuo3f3fu4s_7.js +1 -0
- package/out/_next/static/chunks/turbopack-2hl0oouvcl1z1.js +1 -0
- package/out/_next/static/chunks/turbopack-2n2hy492yai1a.js +1 -0
- package/out/_next/static/chunks/turbopack-2p5bsfgvhhojm.js +1 -0
- package/out/_next/static/chunks/turbopack-2rbboc86ezfbu.js +1 -0
- package/out/_next/static/chunks/turbopack-2s2n1a40z_nc8.js +1 -0
- package/out/_next/static/chunks/turbopack-3383eobamf6qf.js +1 -0
- package/out/_next/static/chunks/turbopack-3ef9ygfxmresk.js +1 -0
- package/out/_next/static/chunks/turbopack-3gcd1fazu0e6k.js +1 -0
- package/out/_next/static/chunks/turbopack-3jhuq-3ckq-kq.js +1 -0
- package/out/_next/static/chunks/turbopack-3k39kfzuaitd7.js +1 -0
- package/out/_next/static/chunks/turbopack-3l628cr68ep0q.js +1 -0
- package/out/_next/static/chunks/turbopack-3pajnpuxg-oo4.js +1 -0
- package/out/_next/static/chunks/turbopack-3pb9kv0yc_t53.js +1 -0
- package/out/_next/static/chunks/turbopack-3qe4ztycky7v0.js +1 -0
- package/out/_next/static/chunks/turbopack-3soc2g2pyqtpz.js +1 -0
- package/out/_next/static/chunks/turbopack-3tgiyd018trw3.js +1 -0
- package/out/_next/static/chunks/turbopack-3tml7qmypxr6t.js +1 -0
- package/out/_next/static/chunks/turbopack-3vvw42_0j2__s.js +1 -0
- package/out/_next/static/chunks/turbopack-3xhkblxlca6x1.js +1 -0
- package/out/_next/static/chunks/turbopack-3xz6yhttw8te6.js +1 -0
- package/out/_next/static/chunks/turbopack-3zxdh674077s0.js +1 -0
- package/out/_next/static/chunks/turbopack-4258ul_qgxg3-.js +1 -0
- package/out/_next/static/chunks/turbopack-42gir6e579247.js +1 -0
- package/out/_next/static/chunks/turbopack-42m_zup5_jxr9.js +1 -0
- package/out/_next/static/plNLzDs1uuSExXpN_uubP/_buildManifest.js +258 -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/external/index.html +2 -2
- package/out/filters/FilterDetailPage/index.html +2 -2
- package/out/filters/index.html +2 -2
- package/out/filters/new/index.html +2 -2
- package/out/index.html +2 -2
- package/out/install/index.html +2 -2
- package/out/language/LanguageDetailPage/index.html +2 -2
- package/out/language/index.html +2 -2
- package/out/language/new/index.html +2 -2
- package/out/log-in/index.html +2 -2
- package/out/orders/OrderDetailPage/index.html +2 -2
- package/out/orders/index.html +2 -2
- package/out/payment-provider/PaymentProviderDetailPage/index.html +2 -2
- package/out/payment-provider/index.html +2 -2
- package/out/payment-provider/new/index.html +2 -2
- package/out/products/ProductDetailPage/index.html +2 -2
- package/out/products/index.html +2 -2
- package/out/products/new/index.html +2 -2
- package/out/quotations/QuotationDetailPage/index.html +2 -2
- package/out/quotations/index.html +2 -2
- package/out/reset-password/index.html +2 -2
- package/out/sign-up/index.html +2 -2
- package/out/styleguide/index.html +2 -2
- package/out/tokens/TokenDetailPage/index.html +2 -2
- package/out/tokens/index.html +2 -2
- package/out/users/UserDetailPage/index.html +2 -2
- package/out/users/index.html +2 -2
- package/out/users/new/index.html +2 -2
- package/out/verify-email/index.html +2 -2
- package/out/warehousing-provider/WarehousingProviderDetailPage/index.html +2 -2
- package/out/warehousing-provider/index.html +2 -2
- package/out/warehousing-provider/new/index.html +2 -2
- package/out/works/WorkDetailPage/index.html +2 -2
- package/out/works/WorkQueueListView/index.html +2 -2
- package/out/works/index.html +2 -2
- package/out/works/management/index.html +2 -2
- package/package.json +15 -15
- package/out/_next/static/chunks/0-5fyr7499zt-.js +0 -1
- package/out/_next/static/chunks/0-fh37zk913w7.js +0 -13
- package/out/_next/static/chunks/008lcuc11zfte.js +0 -43
- package/out/_next/static/chunks/016okam34efcb.js +0 -81
- package/out/_next/static/chunks/02vbc6plhv4r5.js +0 -384
- package/out/_next/static/chunks/03vpe61v8f-gu.js +0 -342
- package/out/_next/static/chunks/046r7jg73yrg4.js +0 -7
- package/out/_next/static/chunks/0476m35sf_p60.js +0 -147
- package/out/_next/static/chunks/04eely9r7xy_m.js +0 -12
- package/out/_next/static/chunks/05x_nq6c7164m.js +0 -1
- package/out/_next/static/chunks/06e1aw5kfb7xi.js +0 -5
- package/out/_next/static/chunks/083qufblh7mjm.js +0 -1
- package/out/_next/static/chunks/08k08iasjrir_.js +0 -31
- package/out/_next/static/chunks/09z9--qr2tkcu.js +0 -288
- package/out/_next/static/chunks/0_zceuhyoka_a.js +0 -110
- package/out/_next/static/chunks/0aj0bvtuku7d_.js +0 -291
- package/out/_next/static/chunks/0altoqexicqbh.js +0 -1
- package/out/_next/static/chunks/0dbwh_dc2wx4a.js +0 -288
- package/out/_next/static/chunks/0es-a44yzoi_c.js +0 -3
- package/out/_next/static/chunks/0h2609m294ysz.js +0 -41
- package/out/_next/static/chunks/0hgd0co23t_8i.js +0 -1
- package/out/_next/static/chunks/0hq1mco02oyfu.js +0 -15
- package/out/_next/static/chunks/0idef676w-1dr.js +0 -22
- package/out/_next/static/chunks/0ivn6vm7qrjvq.js +0 -1
- package/out/_next/static/chunks/0j01zkyli64rz.js +0 -14
- package/out/_next/static/chunks/0j1q0r96xzpzy.js +0 -46
- package/out/_next/static/chunks/0jian6h40drni.js +0 -13
- package/out/_next/static/chunks/0lt88y29dqxzp.js +0 -807
- package/out/_next/static/chunks/0m4bdyytr95sc.js +0 -177
- package/out/_next/static/chunks/0m7b5siv8r0ut.js +0 -1
- package/out/_next/static/chunks/0mpudwrx5wimh.js +0 -12
- package/out/_next/static/chunks/0nocitcg_prcn.js +0 -12
- package/out/_next/static/chunks/0nxlx7tthmg78.js +0 -31
- package/out/_next/static/chunks/0owtren6z_d3d.js +0 -15
- package/out/_next/static/chunks/0pc76ldf1jpm5.js +0 -807
- package/out/_next/static/chunks/0qchl2kwxk5_b.js +0 -9
- package/out/_next/static/chunks/0qxzncya34yzs.js +0 -135
- package/out/_next/static/chunks/0s1c1ap63wp7w.js +0 -1
- package/out/_next/static/chunks/0semy5tiq3zfa.js +0 -217
- package/out/_next/static/chunks/0sy4g9cj0c0nw.js +0 -1
- package/out/_next/static/chunks/0uvf4fw2u8xlt.js +0 -1
- package/out/_next/static/chunks/0v8wplj4_g1yk.js +0 -14
- package/out/_next/static/chunks/0vsekcvrno4r-.js +0 -12
- package/out/_next/static/chunks/0vskxstx7o46u.js +0 -200
- package/out/_next/static/chunks/0w90onmzd_9vo.js +0 -5
- package/out/_next/static/chunks/0winpgp117o2-.js +0 -14
- package/out/_next/static/chunks/0wooaklx8_14q.js +0 -1
- package/out/_next/static/chunks/0wq-kibsj03f4.js +0 -3
- package/out/_next/static/chunks/0x3i8esz6im79.js +0 -12
- package/out/_next/static/chunks/0xcsxtbxsj1ez.js +0 -807
- package/out/_next/static/chunks/0xmblnoqgtm4c.js +0 -13
- package/out/_next/static/chunks/0y9-ayhjhhngf.js +0 -101
- package/out/_next/static/chunks/0ysqpo9mvr0zd.js +0 -15
- package/out/_next/static/chunks/1-3-xh5bp6iml.js +0 -12
- package/out/_next/static/chunks/10a6m_uzed9ah.js +0 -7
- package/out/_next/static/chunks/110t5i029b2k2.js +0 -15
- package/out/_next/static/chunks/11p5hx0zojiun.js +0 -14
- package/out/_next/static/chunks/11tlxn06pl0v_.js +0 -807
- package/out/_next/static/chunks/1256wg-50z130.js +0 -224
- package/out/_next/static/chunks/12tyi7_yn5xtz.js +0 -13
- package/out/_next/static/chunks/14u7jeuqdz0nk.js +0 -108
- package/out/_next/static/chunks/14voa-w_qaloy.js +0 -10
- package/out/_next/static/chunks/151znlrk2b4e5.js +0 -61
- package/out/_next/static/chunks/1527ha2whtazw.js +0 -88
- package/out/_next/static/chunks/16dj7dz5shhv_.js +0 -1
- package/out/_next/static/chunks/17gp91vlnlpn7.js +0 -346
- package/out/_next/static/chunks/17h2_757nwv56.js +0 -807
- package/out/_next/static/chunks/18609lny07j4e.js +0 -1
- package/out/_next/static/chunks/18keiz8xbbpkq.js +0 -26
- package/out/_next/static/chunks/18pkchouqfxun.js +0 -1
- package/out/_next/static/chunks/199mkuw023v8s.js +0 -144
- package/out/_next/static/chunks/19wuto_c4vh0r.js +0 -1
- package/out/_next/static/chunks/1_evskl07e2cf.js +0 -132
- package/out/_next/static/chunks/1_pteaeq2-av2.js +0 -807
- package/out/_next/static/chunks/1_q3-gzp0dk5q.js +0 -59
- package/out/_next/static/chunks/1bhgl08k6mpqv.js +0 -103
- package/out/_next/static/chunks/1dr9_l25_z_bx.js +0 -1
- package/out/_next/static/chunks/1ec3to11jffvy.js +0 -10
- package/out/_next/static/chunks/1ev76ynqrcgrk.js +0 -1
- package/out/_next/static/chunks/1f3f0m0y4umue.js +0 -1
- package/out/_next/static/chunks/1gg4cjedszfwk.js +0 -13
- package/out/_next/static/chunks/1h1pt2-va82sv.js +0 -13
- package/out/_next/static/chunks/1jhqf1cmlc7pe.js +0 -16
- package/out/_next/static/chunks/1ji3672n2x2p1.js +0 -1
- package/out/_next/static/chunks/1jifp8h0xxr5a.js +0 -1
- package/out/_next/static/chunks/1jqnrnw0p9tw5.js +0 -1
- package/out/_next/static/chunks/1jtbcag00kp9r.js +0 -90
- package/out/_next/static/chunks/1kytgf0whx_qo.js +0 -14
- package/out/_next/static/chunks/1l2mamh-5uwio.js +0 -1
- package/out/_next/static/chunks/1l8j-zb8_9nsi.js +0 -1
- package/out/_next/static/chunks/1m_5ag79zi_f9.js +0 -14
- package/out/_next/static/chunks/1mnpt-bd73euh.js +0 -807
- package/out/_next/static/chunks/1mwnl27etu8p6.js +0 -1
- package/out/_next/static/chunks/1n0nlm7kpcww-.js +0 -61
- package/out/_next/static/chunks/1n3mdw-qdco80.js +0 -8
- package/out/_next/static/chunks/1nbgbej8adbrl.js +0 -188
- package/out/_next/static/chunks/1nj8g7amact5j.js +0 -8
- package/out/_next/static/chunks/1nzeajwrffqt9.js +0 -1
- package/out/_next/static/chunks/1oa-sp6_nb4s7.js +0 -119
- package/out/_next/static/chunks/1ocvav-_1h1ar.js +0 -13
- package/out/_next/static/chunks/1okn_q5vylut9.js +0 -384
- package/out/_next/static/chunks/1p8vfdg0fsork.js +0 -1
- package/out/_next/static/chunks/1qned-0hap5wh.js +0 -1
- package/out/_next/static/chunks/1tj0_95clq0gz.js +0 -13
- package/out/_next/static/chunks/1tss29yg71n68.js +0 -26
- package/out/_next/static/chunks/1uxu8tui0bawr.js +0 -286
- package/out/_next/static/chunks/1viswjqhymg_v.js +0 -836
- package/out/_next/static/chunks/1vt4kev5t-rtb.js +0 -16
- package/out/_next/static/chunks/1vvgg1k4ox4hs.js +0 -20
- package/out/_next/static/chunks/1vvpmer7-2bqu.js +0 -73
- package/out/_next/static/chunks/1w-zy6fc2ehco.js +0 -1
- package/out/_next/static/chunks/1x-mhg4wgh8xs.js +0 -1
- package/out/_next/static/chunks/1x4ypu6tmfyhg.js +0 -14
- package/out/_next/static/chunks/1y4f465xdm5b5.js +0 -50
- package/out/_next/static/chunks/2--jjxpscypa2.js +0 -31
- package/out/_next/static/chunks/2-dekw6fz0zyy.js +0 -137
- package/out/_next/static/chunks/20wpn0cmj1uyu.js +0 -7
- package/out/_next/static/chunks/223ol_txid_e9.js +0 -227
- package/out/_next/static/chunks/22myl2_m23rb-.js +0 -596
- package/out/_next/static/chunks/23o_a2htnomyg.js +0 -43
- package/out/_next/static/chunks/26430jr5_zhmz.js +0 -193
- package/out/_next/static/chunks/26apkiljp9y8j.js +0 -23
- package/out/_next/static/chunks/26fgtdpouev8j.js +0 -1
- package/out/_next/static/chunks/26jxcw998t9wn.js +0 -10
- package/out/_next/static/chunks/26vkx8q85z8r4.js +0 -1
- package/out/_next/static/chunks/279v6ulm8bak8.js +0 -13
- package/out/_next/static/chunks/27c0k45sjypl5.js +0 -138
- package/out/_next/static/chunks/27xa29kcgotjt.js +0 -11
- package/out/_next/static/chunks/28l8pqb5msman.js +0 -142
- package/out/_next/static/chunks/2_t9cm2tzlx6m.js +0 -1
- package/out/_next/static/chunks/2bejn7kgdoibj.js +0 -16
- package/out/_next/static/chunks/2bgk94-v9p3zh.js +0 -5
- package/out/_next/static/chunks/2c1gkwwv20spk.js +0 -384
- package/out/_next/static/chunks/2cykgzchwdf8h.js +0 -13
- package/out/_next/static/chunks/2d2xdaq--g766.js +0 -342
- package/out/_next/static/chunks/2dwssdhayrajs.js +0 -807
- package/out/_next/static/chunks/2ghls3qe3puh7.js +0 -1
- package/out/_next/static/chunks/2h88_6ug5c-64.js +0 -46
- package/out/_next/static/chunks/2i__ckq4rpsy-.js +0 -16
- package/out/_next/static/chunks/2k7cmes14f81v.js +0 -14
- package/out/_next/static/chunks/2kcgr1_1bt0ja.js +0 -13
- package/out/_next/static/chunks/2kw8sncead6q1.js +0 -1
- package/out/_next/static/chunks/2kx374mbbo2fx.js +0 -23
- package/out/_next/static/chunks/2l05fni6rturu.js +0 -324
- package/out/_next/static/chunks/2lickweqd0ttc.js +0 -16
- package/out/_next/static/chunks/2lpu0fgihk_1a.js +0 -1
- package/out/_next/static/chunks/2n37m9ums7yxo.js +0 -209
- package/out/_next/static/chunks/2ndzew-ih0j7o.js +0 -1
- package/out/_next/static/chunks/2ng7fu4nip4iz.js +0 -13
- package/out/_next/static/chunks/2npbjddbiwni8.js +0 -87
- package/out/_next/static/chunks/2nqaesgt8e-dq.js +0 -807
- package/out/_next/static/chunks/2nwi9ew7sgrj3.js +0 -2
- package/out/_next/static/chunks/2onyw1yt2zm92.js +0 -103
- package/out/_next/static/chunks/2ovkbxsq5d7zw.js +0 -101
- package/out/_next/static/chunks/2p2c9lu_w9xpm.js +0 -1
- package/out/_next/static/chunks/2p56h7y83ga43.js +0 -173
- package/out/_next/static/chunks/2q14v90xec8c3.js +0 -188
- package/out/_next/static/chunks/2tuoxofyqz54_.js +0 -12
- package/out/_next/static/chunks/2vg32f3cpxij2.js +0 -1
- package/out/_next/static/chunks/2vkhxhpfyjmdo.js +0 -14
- package/out/_next/static/chunks/2vtw28_by1t1w.js +0 -13
- package/out/_next/static/chunks/2w9yaommb4zvu.js +0 -36
- package/out/_next/static/chunks/2x-arnbqxh83-.js +0 -21
- package/out/_next/static/chunks/2x05qm5tand4y.js +0 -17
- package/out/_next/static/chunks/2y7sjkehompze.js +0 -32
- package/out/_next/static/chunks/2yme0y_2pzj9n.js +0 -44
- package/out/_next/static/chunks/30dk0bk_p44ir.js +0 -905
- package/out/_next/static/chunks/31eux-b8vx_2o.js +0 -596
- package/out/_next/static/chunks/31kcvq4mpuk-n.js +0 -8
- package/out/_next/static/chunks/32iahzknlfas2.js +0 -1
- package/out/_next/static/chunks/32l0f9qsyr70b.js +0 -1
- package/out/_next/static/chunks/32lrbx2g2oi58.js +0 -1
- package/out/_next/static/chunks/33lr5t1t8hzsu.js +0 -15
- package/out/_next/static/chunks/34erk-605s-mm.js +0 -1
- package/out/_next/static/chunks/3586ibuscee3p.js +0 -22
- package/out/_next/static/chunks/36vha92ibdqa5.js +0 -12
- package/out/_next/static/chunks/37clktwywpajv.js +0 -1
- package/out/_next/static/chunks/37s4hnkf3fb_y.js +0 -807
- package/out/_next/static/chunks/37sa01ltf42fy.js +0 -13
- package/out/_next/static/chunks/38afjslqo-ezj.js +0 -8
- package/out/_next/static/chunks/38bczx6d8d6lo.js +0 -5
- package/out/_next/static/chunks/3a0mg8mbspn1l.js +0 -46
- package/out/_next/static/chunks/3blt-diyq-naw.js +0 -14
- package/out/_next/static/chunks/3ciz0xpu_rprn.js +0 -119
- package/out/_next/static/chunks/3e35x8fg5e3pv.js +0 -60
- package/out/_next/static/chunks/3f0cric2zcwaa.js +0 -22
- package/out/_next/static/chunks/3f2jxhatqetvc.js +0 -807
- package/out/_next/static/chunks/3fj61jbc190pd.js +0 -13
- package/out/_next/static/chunks/3fq6z0s1jshzn.js +0 -15
- package/out/_next/static/chunks/3g4cm3-yeecm2.js +0 -44
- package/out/_next/static/chunks/3h3tsq4-en0ds.js +0 -51
- package/out/_next/static/chunks/3hu6bowb801qu.js +0 -73
- package/out/_next/static/chunks/3jv6te4pgio0l.js +0 -20
- package/out/_next/static/chunks/3kml-ussugoev.js +0 -15
- package/out/_next/static/chunks/3l02yeb2txq56.js +0 -137
- package/out/_next/static/chunks/3ldab1ofpij6b.js +0 -19
- package/out/_next/static/chunks/3lvyfkgg8oenq.js +0 -13
- package/out/_next/static/chunks/3mflhqmkkt1mw.js +0 -807
- package/out/_next/static/chunks/3nvwtolqxr_ge.js +0 -1
- package/out/_next/static/chunks/3o4iqy5pws1z9.js +0 -1
- package/out/_next/static/chunks/3pr2jl059hr6b.js +0 -22
- package/out/_next/static/chunks/3qz-e8u_rngvz.js +0 -1
- package/out/_next/static/chunks/3t_1dfdqi26e9.js +0 -18
- package/out/_next/static/chunks/3tl7_-7zqlvzg.js +0 -12
- package/out/_next/static/chunks/3tvg8ygnthkjr.js +0 -16
- package/out/_next/static/chunks/3v36muwibbmij.js +0 -58
- package/out/_next/static/chunks/3x304g0u9phqv.js +0 -51
- package/out/_next/static/chunks/40ang7smtylgf.css +0 -1
- package/out/_next/static/chunks/40j1w9hi4os9m.js +0 -66
- package/out/_next/static/chunks/40kd8woagvta6.js +0 -471
- package/out/_next/static/chunks/42xkht0rt6xf_.js +0 -12
- package/out/_next/static/chunks/43a7fwbiu6x-5.js +0 -13
- package/out/_next/static/chunks/43uz-_umdm9hg.js +0 -50
- package/out/_next/static/chunks/44cjcus7fzro2.js +0 -5
- package/out/_next/static/chunks/45cbkkq5ja1gw.js +0 -15
- package/out/_next/static/chunks/turbopack-060-1ln7tnj_o.js +0 -1
- package/out/_next/static/chunks/turbopack-06b_rq-xsg8x-.js +0 -1
- package/out/_next/static/chunks/turbopack-07j_ygzde0ibk.js +0 -1
- package/out/_next/static/chunks/turbopack-083kyitc50o38.js +0 -1
- package/out/_next/static/chunks/turbopack-090en30hq-ziw.js +0 -1
- package/out/_next/static/chunks/turbopack-0_j93cg1w4d7-.js +0 -1
- package/out/_next/static/chunks/turbopack-0_rslss3ulvpt.js +0 -1
- package/out/_next/static/chunks/turbopack-0bujhjoujrelz.js +0 -1
- package/out/_next/static/chunks/turbopack-0fneu371vdjf1.js +0 -1
- package/out/_next/static/chunks/turbopack-0fnocyew0acyq.js +0 -1
- package/out/_next/static/chunks/turbopack-0fr9xmcpxfoqa.js +0 -1
- package/out/_next/static/chunks/turbopack-0j5di01a8gcxh.js +0 -1
- package/out/_next/static/chunks/turbopack-0j_pfj3li7kkn.js +0 -1
- package/out/_next/static/chunks/turbopack-0jh0k3boktvim.js +0 -1
- package/out/_next/static/chunks/turbopack-0kwipuq5-xmz3.js +0 -1
- package/out/_next/static/chunks/turbopack-0m8f237bj0h96.js +0 -1
- package/out/_next/static/chunks/turbopack-0n7sl47ktn9hk.js +0 -1
- package/out/_next/static/chunks/turbopack-0w37q33v5-6zm.js +0 -1
- package/out/_next/static/chunks/turbopack-1-j7m49r309x4.js +0 -1
- package/out/_next/static/chunks/turbopack-10nzf9877-okq.js +0 -1
- package/out/_next/static/chunks/turbopack-11yslp77vs6mo.js +0 -1
- package/out/_next/static/chunks/turbopack-12kl06t32c8h5.js +0 -1
- package/out/_next/static/chunks/turbopack-15ck0zsoo17qk.js +0 -1
- package/out/_next/static/chunks/turbopack-15z1m4_0bv4zo.js +0 -1
- package/out/_next/static/chunks/turbopack-17hgg9dccrviq.js +0 -1
- package/out/_next/static/chunks/turbopack-17mnrbrw40xul.js +0 -1
- package/out/_next/static/chunks/turbopack-1_alzj1dxez-l.js +0 -1
- package/out/_next/static/chunks/turbopack-1_ij44qvn9x25.js +0 -1
- package/out/_next/static/chunks/turbopack-1c3d9r9igrmgh.js +0 -1
- package/out/_next/static/chunks/turbopack-1cm654d1pgdmv.js +0 -1
- package/out/_next/static/chunks/turbopack-1dzfw_agzw78l.js +0 -1
- package/out/_next/static/chunks/turbopack-1e49xkg-hxkgw.js +0 -1
- package/out/_next/static/chunks/turbopack-1es07ppdqhn8l.js +0 -1
- package/out/_next/static/chunks/turbopack-1hz-oep9si1n4.js +0 -1
- package/out/_next/static/chunks/turbopack-1jsw2ikqqzdii.js +0 -1
- package/out/_next/static/chunks/turbopack-1kl8gahvsru18.js +0 -1
- package/out/_next/static/chunks/turbopack-1lzj42w3ao9lv.js +0 -1
- package/out/_next/static/chunks/turbopack-1nfsu5t6wryjs.js +0 -1
- package/out/_next/static/chunks/turbopack-1sqpspyd-b_u8.js +0 -1
- package/out/_next/static/chunks/turbopack-1u2b1ku-xxpld.js +0 -1
- package/out/_next/static/chunks/turbopack-1yguzhp-196yl.js +0 -1
- package/out/_next/static/chunks/turbopack-216mhl7lyker7.js +0 -1
- package/out/_next/static/chunks/turbopack-251iteu80yhxd.js +0 -1
- package/out/_next/static/chunks/turbopack-268fyi4wvgswd.js +0 -1
- package/out/_next/static/chunks/turbopack-2_w410r5zju-r.js +0 -1
- package/out/_next/static/chunks/turbopack-2a85b71rfv1vo.js +0 -1
- package/out/_next/static/chunks/turbopack-2e_abq5410ocm.js +0 -1
- package/out/_next/static/chunks/turbopack-2jptw2odupw9z.js +0 -1
- package/out/_next/static/chunks/turbopack-2n5cgk5tdnyrr.js +0 -1
- package/out/_next/static/chunks/turbopack-2qh9qcni48nfb.js +0 -1
- package/out/_next/static/chunks/turbopack-2vs1uxhibnike.js +0 -1
- package/out/_next/static/chunks/turbopack-2ysbeqfuzoqya.js +0 -1
- package/out/_next/static/chunks/turbopack-30nunvblnhi54.js +0 -1
- package/out/_next/static/chunks/turbopack-32v2pq35jf6zj.js +0 -1
- package/out/_next/static/chunks/turbopack-32zc13tm-_v-k.js +0 -1
- package/out/_next/static/chunks/turbopack-3_a0ktgrf9wjr.js +0 -1
- package/out/_next/static/chunks/turbopack-3a-4by2ed-ay-.js +0 -1
- package/out/_next/static/chunks/turbopack-3a2_b3fds1ev0.js +0 -1
- package/out/_next/static/chunks/turbopack-3nry4c4egh21l.js +0 -1
- package/out/_next/static/chunks/turbopack-3oydg87ftdlr2.js +0 -1
- package/out/_next/static/chunks/turbopack-3rxchig-6vsve.js +0 -1
- package/out/_next/static/chunks/turbopack-42frj4xnxg40e.js +0 -1
- package/out/_next/static/chunks/turbopack-44efn8-0a_co0.js +0 -1
- package/out/_next/static/fPE_xRhmnMCMvI-EidMrb/_buildManifest.js +0 -258
- /package/out/_next/static/{fPE_xRhmnMCMvI-EidMrb → plNLzDs1uuSExXpN_uubP}/_clientMiddlewareManifest.js +0 -0
- /package/out/_next/static/{fPE_xRhmnMCMvI-EidMrb → plNLzDs1uuSExXpN_uubP}/_ssgManifest.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 };
|