@unchainedshop/admin-ui 5.0.0-alpha.1 → 5.0.0-alpha.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +136 -16
- package/dist/chunk-3L6EZQ6P.js +135 -0
- package/dist/chunk-54DKBWXV.js +33 -0
- package/dist/chunk-5WPFHQZN.js +388 -0
- package/dist/chunk-6UGLNLJG.js +44 -0
- package/dist/chunk-BMDNY67T.js +22547 -0
- package/dist/chunk-BOMSMJF2.js +77 -0
- package/dist/chunk-COV7BREX.js +50 -0
- package/dist/chunk-E77YIMGR.js +2083 -0
- package/dist/chunk-EJDZRZSZ.js +59 -0
- package/dist/chunk-ELPURWDC.js +75 -0
- package/dist/chunk-F6LBNV3H.js +9 -0
- package/dist/chunk-FDHXLNZQ.js +44 -0
- package/dist/chunk-GY2DRQGW.js +166 -0
- package/dist/chunk-HERLM47Z.js +309 -0
- package/dist/chunk-HJKRGBDG.js +694 -0
- package/dist/chunk-I64TXIE7.js +618 -0
- package/dist/chunk-IAQPLRXZ.js +16 -0
- package/dist/chunk-ICJH36K4.js +326 -0
- package/dist/chunk-ILYPJE4N.js +57 -0
- package/dist/chunk-IWKDBADX.js +73 -0
- package/dist/chunk-IXBMHOB5.js +13 -0
- package/dist/chunk-IYKPRAWC.js +26 -0
- package/dist/chunk-J23QSWDL.js +8 -0
- package/dist/chunk-KH5MK6ZW.js +18 -0
- package/dist/chunk-KRIRF7F6.js +76 -0
- package/dist/chunk-NT7RB7AK.js +70 -0
- package/dist/chunk-OKGJ6HDE.js +26 -0
- package/dist/chunk-OTXM2UCD.js +19 -0
- package/dist/chunk-PJLYVMUM.js +3308 -0
- package/dist/chunk-PUI5BIKO.js +41 -0
- package/dist/chunk-Q6S3LBUF.js +180 -0
- package/dist/chunk-QHR23GVH.js +1099 -0
- package/dist/chunk-QWQ3WJJN.js +1 -0
- package/dist/chunk-RAQV2GYF.js +70 -0
- package/dist/chunk-VBO377AY.js +14 -0
- package/dist/chunk-VYEXPG3M.js +107 -0
- package/dist/chunk-WPLOTFGW.js +36 -0
- package/dist/chunk-YO6PT7KD.js +13 -0
- package/dist/chunk-ZUOVKRKC.js +957 -0
- package/dist/components/ui/Accordion/Accordion.d.ts +11 -0
- package/dist/components/ui/Accordion/Accordion.d.ts.map +1 -0
- package/dist/components/ui/Accordion/AccordionHeader.d.ts +6 -0
- package/dist/components/ui/Accordion/AccordionHeader.d.ts.map +1 -0
- package/dist/components/ui/Accordion/AccordionItem.d.ts +11 -0
- package/dist/components/ui/Accordion/AccordionItem.d.ts.map +1 -0
- package/dist/components/ui/ActiveInActive.d.ts +10 -0
- package/dist/components/ui/ActiveInActive.d.ts.map +1 -0
- package/dist/components/ui/AnimatedCounter.d.ts +7 -0
- package/dist/components/ui/AnimatedCounter.d.ts.map +1 -0
- package/dist/components/ui/Badge.d.ts +10 -0
- package/dist/components/ui/Badge.d.ts.map +1 -0
- package/dist/components/ui/BreadCrumbs.d.ts +7 -0
- package/dist/components/ui/BreadCrumbs.d.ts.map +1 -0
- package/dist/components/ui/Button.d.ts +36 -0
- package/dist/components/ui/Button.d.ts.map +1 -0
- package/dist/components/ui/CopyableText.d.ts +5 -0
- package/dist/components/ui/CopyableText.d.ts.map +1 -0
- package/dist/components/ui/DateInput.d.ts +15 -0
- package/dist/components/ui/DateInput.d.ts.map +1 -0
- package/dist/components/ui/DateRangeFilterInput.d.ts +4 -0
- package/dist/components/ui/DateRangeFilterInput.d.ts.map +1 -0
- package/dist/components/ui/DetailHeader.d.ts +6 -0
- package/dist/components/ui/DetailHeader.d.ts.map +1 -0
- package/dist/components/ui/DraggableIcon.d.ts +3 -0
- package/dist/components/ui/DraggableIcon.d.ts.map +1 -0
- package/dist/components/ui/ErrorBoundary.d.ts +18 -0
- package/dist/components/ui/ErrorBoundary.d.ts.map +1 -0
- package/dist/components/ui/ErrorFallback.d.ts +6 -0
- package/dist/components/ui/ErrorFallback.d.ts.map +1 -0
- package/dist/components/ui/HelpText.d.ts +11 -0
- package/dist/components/ui/HelpText.d.ts.map +1 -0
- package/dist/components/ui/ImageWithFallback.d.ts +7 -0
- package/dist/components/ui/ImageWithFallback.d.ts.map +1 -0
- package/dist/components/ui/InfoTextBanner.d.ts +6 -0
- package/dist/components/ui/InfoTextBanner.d.ts.map +1 -0
- package/dist/components/ui/JSONView.d.ts +6 -0
- package/dist/components/ui/JSONView.d.ts.map +1 -0
- package/dist/components/ui/ListHeader.d.ts +6 -0
- package/dist/components/ui/ListHeader.d.ts.map +1 -0
- package/dist/components/ui/Loading.d.ts +3 -0
- package/dist/components/ui/Loading.d.ts.map +1 -0
- package/dist/components/ui/NoData.d.ts +7 -0
- package/dist/components/ui/NoData.d.ts.map +1 -0
- package/dist/components/ui/NoImage.d.ts +7 -0
- package/dist/components/ui/NoImage.d.ts.map +1 -0
- package/dist/components/ui/NoImageSvg.d.ts +8 -0
- package/dist/components/ui/NoImageSvg.d.ts.map +1 -0
- package/dist/components/ui/PageHeader.d.ts +11 -0
- package/dist/components/ui/PageHeader.d.ts.map +1 -0
- package/dist/components/ui/Pagination.d.ts +8 -0
- package/dist/components/ui/Pagination.d.ts.map +1 -0
- package/dist/components/ui/Portal/Portal.d.ts +16 -0
- package/dist/components/ui/Portal/Portal.d.ts.map +1 -0
- package/dist/components/ui/Portal/Portal.types.d.ts +16 -0
- package/dist/components/ui/Portal/Portal.types.d.ts.map +1 -0
- package/dist/components/ui/SaveAndCancelButtons.d.ts +10 -0
- package/dist/components/ui/SaveAndCancelButtons.d.ts.map +1 -0
- package/dist/components/ui/SearchField.d.ts +7 -0
- package/dist/components/ui/SearchField.d.ts.map +1 -0
- package/dist/components/ui/Tab.d.ts +18 -0
- package/dist/components/ui/Tab.d.ts.map +1 -0
- package/dist/components/ui/Tag/TagInput.d.ts +19 -0
- package/dist/components/ui/Tag/TagInput.d.ts.map +1 -0
- package/dist/components/ui/Tag/TagList.d.ts +8 -0
- package/dist/components/ui/Tag/TagList.d.ts.map +1 -0
- package/dist/components/ui/Tag/TagListForm.d.ts +8 -0
- package/dist/components/ui/Tag/TagListForm.d.ts.map +1 -0
- package/dist/components/ui/Toggle.d.ts +11 -0
- package/dist/components/ui/Toggle.d.ts.map +1 -0
- package/dist/components/ui/ToolTip.d.ts +7 -0
- package/dist/components/ui/ToolTip.d.ts.map +1 -0
- package/dist/components/ui/card.d.ts +9 -0
- package/dist/components/ui/card.d.ts.map +1 -0
- package/dist/components/ui/chart.d.ts +42 -0
- package/dist/components/ui/chart.d.ts.map +1 -0
- package/dist/components/ui/form/CheckboxField.d.ts +4 -0
- package/dist/components/ui/form/CheckboxField.d.ts.map +1 -0
- package/dist/components/ui/form/ChoicesField.d.ts +12 -0
- package/dist/components/ui/form/ChoicesField.d.ts.map +1 -0
- package/dist/components/ui/form/Combobox.d.ts +20 -0
- package/dist/components/ui/form/Combobox.d.ts.map +1 -0
- package/dist/components/ui/form/DatePickerField.d.ts +4 -0
- package/dist/components/ui/form/DatePickerField.d.ts.map +1 -0
- package/dist/components/ui/form/EmailField.d.ts +7 -0
- package/dist/components/ui/form/EmailField.d.ts.map +1 -0
- package/dist/components/ui/form/FieldWithHelp.d.ts +10 -0
- package/dist/components/ui/form/FieldWithHelp.d.ts.map +1 -0
- package/dist/components/ui/form/FieldWrapper.d.ts +8 -0
- package/dist/components/ui/form/FieldWrapper.d.ts.map +1 -0
- package/dist/components/ui/form/FormErrors.d.ts +6 -0
- package/dist/components/ui/form/FormErrors.d.ts.map +1 -0
- package/dist/components/ui/form/JSONAreaField.d.ts +7 -0
- package/dist/components/ui/form/JSONAreaField.d.ts.map +1 -0
- package/dist/components/ui/form/MarkdownTextAreaField.d.ts +8 -0
- package/dist/components/ui/form/MarkdownTextAreaField.d.ts.map +1 -0
- package/dist/components/ui/form/PasswordField.d.ts +3 -0
- package/dist/components/ui/form/PasswordField.d.ts.map +1 -0
- package/dist/components/ui/form/SelectField.d.ts +11 -0
- package/dist/components/ui/form/SelectField.d.ts.map +1 -0
- package/dist/components/ui/form/SubmitButton.d.ts +9 -0
- package/dist/components/ui/form/SubmitButton.d.ts.map +1 -0
- package/dist/components/ui/form/TagInputField.d.ts +7 -0
- package/dist/components/ui/form/TagInputField.d.ts.map +1 -0
- package/dist/components/ui/form/TextAreaField.d.ts +8 -0
- package/dist/components/ui/form/TextAreaField.d.ts.map +1 -0
- package/dist/components/ui/form/TextField.d.ts +10 -0
- package/dist/components/ui/form/TextField.d.ts.map +1 -0
- package/dist/components/ui/form/index.d.ts +18 -0
- package/dist/components/ui/form/index.d.ts.map +1 -0
- package/dist/components/ui/icons.d.ts +4 -0
- package/dist/components/ui/icons.d.ts.map +1 -0
- package/dist/components/ui/index.d.ts +46 -0
- package/dist/components/ui/index.d.ts.map +1 -0
- package/dist/form.js +2617 -0
- package/dist/gql/operation-types.d.ts +13239 -0
- package/dist/gql/operation-types.d.ts.map +1 -0
- package/dist/gql/schema-types.d.ts +3876 -0
- package/dist/gql/schema-types.d.ts.map +1 -0
- package/dist/gql/types.d.ts +3 -0
- package/dist/gql/types.d.ts.map +1 -0
- package/dist/hooks.js +49 -0
- package/dist/lib/utils.d.ts +3 -0
- package/dist/lib/utils.d.ts.map +1 -0
- package/dist/modal.js +51 -0
- package/dist/modules/Auth/AuthContext.d.ts +9 -0
- package/dist/modules/Auth/AuthContext.d.ts.map +1 -0
- package/dist/modules/Auth/useAuth.d.ts +6 -0
- package/dist/modules/Auth/useAuth.d.ts.map +1 -0
- package/dist/modules/UnchainedContext/UnchainedContext.d.ts +8 -0
- package/dist/modules/UnchainedContext/UnchainedContext.d.ts.map +1 -0
- package/dist/modules/UnchainedContext/useUnchainedContext.d.ts +7 -0
- package/dist/modules/UnchainedContext/useUnchainedContext.d.ts.map +1 -0
- package/dist/modules/accounts/fragment/MD5MetaDataFragment.d.ts +3 -0
- package/dist/modules/accounts/fragment/MD5MetaDataFragment.d.ts.map +1 -0
- package/dist/modules/accounts/fragment/UserFragment.d.ts +3 -0
- package/dist/modules/accounts/fragment/UserFragment.d.ts.map +1 -0
- package/dist/modules/accounts/hooks/useCurrentUser.d.ts +10 -0
- package/dist/modules/accounts/hooks/useCurrentUser.d.ts.map +1 -0
- package/dist/modules/accounts/hooks/useUsersCount.d.ts +8 -0
- package/dist/modules/accounts/hooks/useUsersCount.d.ts.map +1 -0
- package/dist/modules/accounts.js +1349 -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 +1205 -0
- package/dist/modules/common/components/AppContext.d.ts +18 -0
- package/dist/modules/common/components/AppContext.d.ts.map +1 -0
- package/dist/modules/common/components/FormWrapper.d.ts +8 -0
- package/dist/modules/common/components/FormWrapper.d.ts.map +1 -0
- package/dist/modules/common/components/LocaleWrapper.d.ts +7 -0
- package/dist/modules/common/components/LocaleWrapper.d.ts.map +1 -0
- package/dist/modules/common/components/MediaAvatar.d.ts +6 -0
- package/dist/modules/common/components/MediaAvatar.d.ts.map +1 -0
- package/dist/modules/common/components/SelectOptions.d.ts +17 -0
- package/dist/modules/common/components/SelectOptions.d.ts.map +1 -0
- package/dist/modules/common/components/Table.d.ts +25 -0
- package/dist/modules/common/components/Table.d.ts.map +1 -0
- package/dist/modules/common/components/TableCell.d.ts +12 -0
- package/dist/modules/common/components/TableCell.d.ts.map +1 -0
- package/dist/modules/common/components/TableRow.d.ts +10 -0
- package/dist/modules/common/components/TableRow.d.ts.map +1 -0
- package/dist/modules/common/components/ThemeWrapper.d.ts +10 -0
- package/dist/modules/common/components/ThemeWrapper.d.ts.map +1 -0
- package/dist/modules/common/data/iso-codes.d.ts +4 -0
- package/dist/modules/common/data/iso-codes.d.ts.map +1 -0
- package/dist/modules/common/data/miscellaneous.d.ts +52 -0
- package/dist/modules/common/data/miscellaneous.d.ts.map +1 -0
- package/dist/modules/common/fragments/AddressFragment.d.ts +3 -0
- package/dist/modules/common/fragments/AddressFragment.d.ts.map +1 -0
- package/dist/modules/common/hooks/useApp.d.ts +11 -0
- package/dist/modules/common/hooks/useApp.d.ts.map +1 -0
- package/dist/modules/common/hooks/useBulkResultHandler.d.ts +8 -0
- package/dist/modules/common/hooks/useBulkResultHandler.d.ts.map +1 -0
- package/dist/modules/common/hooks/useBulkSelection.d.ts +12 -0
- package/dist/modules/common/hooks/useBulkSelection.d.ts.map +1 -0
- package/dist/modules/common/hooks/useCSVExport.d.ts +10 -0
- package/dist/modules/common/hooks/useCSVExport.d.ts.map +1 -0
- package/dist/modules/common/hooks/useCSVImport.d.ts +18 -0
- package/dist/modules/common/hooks/useCSVImport.d.ts.map +1 -0
- package/dist/modules/common/hooks/useChatEndpointChecker.d.ts +5 -0
- package/dist/modules/common/hooks/useChatEndpointChecker.d.ts.map +1 -0
- package/dist/modules/common/hooks/useConfirmMediaUpload.d.ts +10 -0
- package/dist/modules/common/hooks/useConfirmMediaUpload.d.ts.map +1 -0
- package/dist/modules/common/hooks/useDashboardMetrics.d.ts +23 -0
- package/dist/modules/common/hooks/useDashboardMetrics.d.ts.map +1 -0
- package/dist/modules/common/hooks/useLocalStorage.d.ts +3 -0
- package/dist/modules/common/hooks/useLocalStorage.d.ts.map +1 -0
- package/dist/modules/common/hooks/useOrderAnalytics.d.ts +25 -0
- package/dist/modules/common/hooks/useOrderAnalytics.d.ts.map +1 -0
- package/dist/modules/common/hooks/useOrderItemsAnalytics.d.ts +16 -0
- package/dist/modules/common/hooks/useOrderItemsAnalytics.d.ts.map +1 -0
- package/dist/modules/common/hooks/useOutsideClick.d.ts +3 -0
- package/dist/modules/common/hooks/useOutsideClick.d.ts.map +1 -0
- package/dist/modules/common/hooks/usePortal.d.ts +20 -0
- package/dist/modules/common/hooks/usePortal.d.ts.map +1 -0
- package/dist/modules/common/hooks/useScrollRestoration.d.ts +8 -0
- package/dist/modules/common/hooks/useScrollRestoration.d.ts.map +1 -0
- package/dist/modules/common/hooks/useShopConfiguration.d.ts +8 -0
- package/dist/modules/common/hooks/useShopConfiguration.d.ts.map +1 -0
- package/dist/modules/common/hooks/useShopInfo.d.ts +41 -0
- package/dist/modules/common/hooks/useShopInfo.d.ts.map +1 -0
- package/dist/modules/common/hooks/useStatusTypes.d.ts +10 -0
- package/dist/modules/common/hooks/useStatusTypes.d.ts.map +1 -0
- package/dist/modules/common/hooks/useSystemRoles.d.ts +7 -0
- package/dist/modules/common/hooks/useSystemRoles.d.ts.map +1 -0
- package/dist/modules/common/hooks/useTheme.d.ts +7 -0
- package/dist/modules/common/hooks/useTheme.d.ts.map +1 -0
- package/dist/modules/common/utils/deBounce.d.ts +3 -0
- package/dist/modules/common/utils/deBounce.d.ts.map +1 -0
- package/dist/modules/common/utils/defaultNextImageLoader.d.ts +7 -0
- package/dist/modules/common/utils/defaultNextImageLoader.d.ts.map +1 -0
- package/dist/modules/common/utils/formatUsername.d.ts +3 -0
- package/dist/modules/common/utils/formatUsername.d.ts.map +1 -0
- package/dist/modules/common/utils/getSetupStepsConfigurationsMeta.d.ts +30 -0
- package/dist/modules/common/utils/getSetupStepsConfigurationsMeta.d.ts.map +1 -0
- package/dist/modules/common/utils/normalizeFilterKeys.d.ts +4 -0
- package/dist/modules/common/utils/normalizeFilterKeys.d.ts.map +1 -0
- package/dist/modules/common/utils/sharedContext.d.ts +9 -0
- package/dist/modules/common/utils/sharedContext.d.ts.map +1 -0
- package/dist/modules/common/utils/useFormatDateTime.d.ts +16 -0
- package/dist/modules/common/utils/useFormatDateTime.d.ts.map +1 -0
- package/dist/modules/common/utils/utils.d.ts +21 -0
- package/dist/modules/common/utils/utils.d.ts.map +1 -0
- package/dist/modules/country/fragments/CountryFragment.d.ts +3 -0
- package/dist/modules/country/fragments/CountryFragment.d.ts.map +1 -0
- package/dist/modules/country/hooks/useCountries.d.ts +22 -0
- package/dist/modules/country/hooks/useCountries.d.ts.map +1 -0
- package/dist/modules/country.js +108 -0
- package/dist/modules/currency.js +119 -0
- package/dist/modules/delivery-provider.js +269 -0
- package/dist/modules/enrollment.js +431 -0
- package/dist/modules/event.js +123 -0
- package/dist/modules/filter.js +497 -0
- package/dist/modules/forms/components/Form.d.ts +8 -0
- package/dist/modules/forms/components/Form.d.ts.map +1 -0
- package/dist/modules/forms/hooks/useField.d.ts +35 -0
- package/dist/modules/forms/hooks/useField.d.ts.map +1 -0
- package/dist/modules/forms/hooks/useForm.d.ts +44 -0
- package/dist/modules/forms/hooks/useForm.d.ts.map +1 -0
- package/dist/modules/forms/hooks/useFormContext.d.ts +3 -0
- package/dist/modules/forms/hooks/useFormContext.d.ts.map +1 -0
- package/dist/modules/forms/lib/FormContext.d.ts +13 -0
- package/dist/modules/forms/lib/FormContext.d.ts.map +1 -0
- package/dist/modules/forms/lib/clean.d.ts +3 -0
- package/dist/modules/forms/lib/clean.d.ts.map +1 -0
- package/dist/modules/forms/lib/validators.d.ts +20 -0
- package/dist/modules/forms/lib/validators.d.ts.map +1 -0
- package/dist/modules/language/fragments/LanguageFragment.d.ts +3 -0
- package/dist/modules/language/fragments/LanguageFragment.d.ts.map +1 -0
- package/dist/modules/language/hooks/useLanguages.d.ts +19 -0
- package/dist/modules/language/hooks/useLanguages.d.ts.map +1 -0
- package/dist/modules/language.js +106 -0
- package/dist/modules/modal/components/AlertMessage.d.ts +9 -0
- package/dist/modules/modal/components/AlertMessage.d.ts.map +1 -0
- package/dist/modules/modal/components/DangerMessage.d.ts +13 -0
- package/dist/modules/modal/components/DangerMessage.d.ts.map +1 -0
- package/dist/modules/modal/components/ImportResultMessage.d.ts +14 -0
- package/dist/modules/modal/components/ImportResultMessage.d.ts.map +1 -0
- package/dist/modules/modal/components/Modal.d.ts +10 -0
- package/dist/modules/modal/components/Modal.d.ts.map +1 -0
- package/dist/modules/modal/components/ModalWrapper.d.ts +6 -0
- package/dist/modules/modal/components/ModalWrapper.d.ts.map +1 -0
- package/dist/modules/modal/hooks/useModal.d.ts +7 -0
- package/dist/modules/modal/hooks/useModal.d.ts.map +1 -0
- package/dist/modules/modal/utils/ModalContext.d.ts +9 -0
- package/dist/modules/modal/utils/ModalContext.d.ts.map +1 -0
- package/dist/modules/order/fragments/OrderDetailFragment.d.ts +3 -0
- package/dist/modules/order/fragments/OrderDetailFragment.d.ts.map +1 -0
- package/dist/modules/order/fragments/OrderFragment.d.ts +3 -0
- package/dist/modules/order/fragments/OrderFragment.d.ts.map +1 -0
- package/dist/modules/order/hooks/useOrders.d.ts +46 -0
- package/dist/modules/order/hooks/useOrders.d.ts.map +1 -0
- package/dist/modules/order.js +569 -0
- package/dist/modules/payment-providers.js +206 -0
- package/dist/modules/product/hooks/useProductsCount.d.ts +8 -0
- package/dist/modules/product/hooks/useProductsCount.d.ts.map +1 -0
- package/dist/modules/product-review.js +270 -0
- package/dist/modules/product.js +6914 -0
- package/dist/modules/quotation.js +324 -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 +232 -0
- package/dist/plugins.js +13 -0
- package/dist/providers.js +9 -0
- package/dist/sdk/hooks.d.ts +12 -0
- package/dist/sdk/hooks.d.ts.map +1 -0
- package/dist/sdk/modal.d.ts +7 -0
- package/dist/sdk/modal.d.ts.map +1 -0
- package/dist/sdk/plugins.d.ts +78 -0
- package/dist/sdk/plugins.d.ts.map +1 -0
- package/dist/sdk/providers.d.ts +5 -0
- package/dist/sdk/providers.d.ts.map +1 -0
- package/dist/sdk/shims/admin-ui-plugins.d.ts +3 -0
- package/dist/sdk/shims/admin-ui-plugins.d.ts.map +1 -0
- package/dist/sdk/shims/apollo-client-react.d.ts +3 -0
- package/dist/sdk/shims/apollo-client-react.d.ts.map +1 -0
- package/dist/sdk/shims/apollo-client.d.ts +3 -0
- package/dist/sdk/shims/apollo-client.d.ts.map +1 -0
- package/dist/sdk/shims/host.d.ts +17 -0
- package/dist/sdk/shims/host.d.ts.map +1 -0
- package/dist/sdk/shims/next-head.d.ts +3 -0
- package/dist/sdk/shims/next-head.d.ts.map +1 -0
- package/dist/sdk/shims/next-image.d.ts +3 -0
- package/dist/sdk/shims/next-image.d.ts.map +1 -0
- package/dist/sdk/shims/next-link.d.ts +3 -0
- package/dist/sdk/shims/next-link.d.ts.map +1 -0
- package/dist/sdk/shims/next-router.d.ts +3 -0
- package/dist/sdk/shims/next-router.d.ts.map +1 -0
- package/dist/sdk/shims/react-dom-client.d.ts +3 -0
- package/dist/sdk/shims/react-dom-client.d.ts.map +1 -0
- package/dist/sdk/shims/react-dom.d.ts +3 -0
- package/dist/sdk/shims/react-dom.d.ts.map +1 -0
- package/dist/sdk/shims/react-hook-form.d.ts +3 -0
- package/dist/sdk/shims/react-hook-form.d.ts.map +1 -0
- package/dist/sdk/shims/react-intl.d.ts +3 -0
- package/dist/sdk/shims/react-intl.d.ts.map +1 -0
- package/dist/sdk/shims/react-jsx-runtime.d.ts +3 -0
- package/dist/sdk/shims/react-jsx-runtime.d.ts.map +1 -0
- package/dist/sdk/shims/react-toastify.d.ts +3 -0
- package/dist/sdk/shims/react-toastify.d.ts.map +1 -0
- package/dist/sdk/shims/react.d.ts +3 -0
- package/dist/sdk/shims/react.d.ts.map +1 -0
- package/dist/sdk/theme.d.ts +26 -0
- package/dist/sdk/theme.d.ts.map +1 -0
- package/dist/shims/admin-ui-plugins.js +9 -0
- package/dist/shims/apollo-client-react.js +25 -0
- package/dist/shims/apollo-client.js +55 -0
- package/dist/shims/next-head.js +9 -0
- package/dist/shims/next-image.js +9 -0
- package/dist/shims/next-link.js +9 -0
- package/dist/shims/next-router.js +13 -0
- package/dist/shims/react-dom-client.js +11 -0
- package/dist/shims/react-dom.js +22 -0
- package/dist/shims/react-hook-form.js +25 -0
- package/dist/shims/react-intl.js +37 -0
- package/dist/shims/react-jsx-runtime.js +11 -0
- package/dist/shims/react-toastify.js +16 -0
- package/dist/shims/react.js +52 -0
- package/dist/theme.js +34 -0
- package/dist/ui.js +19731 -0
- package/out/403/index.html +3 -2
- package/out/404/index.html +3 -2
- package/out/404.html +3 -2
- package/out/423/index.html +3 -2
- package/out/500/index.html +3 -2
- package/out/_next/static/BPoacQET3TJr2q9E370Ez/_buildManifest.js +262 -0
- package/out/_next/static/chunks/01xy3u9ybz9ts.js +5 -0
- package/out/_next/static/chunks/02ir8k2vqhw7u.js +4 -0
- package/out/_next/static/chunks/03mdkmx9pb3yx.js +28 -0
- package/out/_next/static/chunks/03spbldywp99b.js +31 -0
- package/out/_next/static/chunks/0531sa8v36e39.js +1 -0
- package/out/_next/static/chunks/065ltxdt7s8b2.js +134 -0
- package/out/_next/static/chunks/06b1jza2fvc6f.js +4 -0
- package/out/_next/static/chunks/0701uizxsgs75.js +4 -0
- package/out/_next/static/chunks/09olk50zbo5r6.js +5 -0
- package/out/_next/static/chunks/09pabifvs84zb.js +12 -0
- package/out/_next/static/chunks/0_pn7w49dpkak.js +5 -0
- package/out/_next/static/chunks/0a_gulnq-c7to.js +709 -0
- package/out/_next/static/chunks/0agx-csdwbk-x.js +5 -0
- package/out/_next/static/chunks/0clmvy-auef0p.js +14 -0
- package/out/_next/static/chunks/0czktxcs2aa12.js +1 -0
- package/out/_next/static/chunks/0d_qylr054ab-.js +5 -0
- package/out/_next/static/chunks/0e2znhpcecrqs.js +175 -0
- package/out/_next/static/chunks/0ef4vp3ehm369.js +4 -0
- package/out/_next/static/chunks/0fggi8jpi5gjk.js +165 -0
- package/out/_next/static/chunks/0gyabz3vqllr6.js +83 -0
- package/out/_next/static/chunks/0j05dboa5_xkw.js +5 -0
- package/out/_next/static/chunks/0kr4ift9_1a3s.js +1 -0
- package/out/_next/static/chunks/0l8tmlevl_6p0.js +1 -0
- package/out/_next/static/chunks/0m73vd78oga92.js +342 -0
- package/out/_next/static/chunks/0o91usftba97q.js +54 -0
- package/out/_next/static/chunks/0oi1kpp0levnm.js +1 -0
- package/out/_next/static/chunks/0p7said9rdor1.js +1 -0
- package/out/_next/static/chunks/0p86ng98eiz5q.js +11 -0
- package/out/_next/static/chunks/0pw1zl8_l93xl.js +5 -0
- package/out/_next/static/chunks/0py8-umjmwiwi.js +156 -0
- package/out/_next/static/chunks/0q0m2pv-3b2e2.js +4 -0
- package/out/_next/static/chunks/0r57e83u39trg.js +5 -0
- package/out/_next/static/chunks/0r9a_mcjh1k24.js +6 -0
- package/out/_next/static/chunks/0rgtc82y8z7_x.js +5 -0
- package/out/_next/static/chunks/0rxhx_x-7dojh.js +182 -0
- package/out/_next/static/chunks/0s6u_6w75ggbw.js +297 -0
- package/out/_next/static/chunks/0teb3b5h78855.js +44 -0
- package/out/_next/static/chunks/0thsuuvsozjop.js +54 -0
- package/out/_next/static/chunks/0v6x3uondh5hw.js +5 -0
- package/out/_next/static/chunks/0v_uz3j8jolmq.js +4 -0
- package/out/_next/static/chunks/0vwmp6qrw7odm.js +7 -0
- package/out/_next/static/chunks/0w6t6v_jzrudq.js +4 -0
- package/out/_next/static/chunks/0w7gz501ry22r.js +4 -0
- package/out/_next/static/chunks/0xgn-89s97a5w.js +1 -0
- package/out/_next/static/chunks/0xqtemh7t38y9.js +119 -0
- package/out/_next/static/chunks/1-1rj15j67dqt.js +1 -0
- package/out/_next/static/chunks/10drou7w-k58p.js +4 -0
- package/out/_next/static/chunks/11w7hldkge7sg.js +8 -0
- package/out/_next/static/chunks/12yd8t4k6c0t1.js +1 -0
- package/out/_next/static/chunks/130c8cta7pec6.js +1 -0
- package/out/_next/static/chunks/13qi39a_b6gkv.js +1 -0
- package/out/_next/static/chunks/15142badc5ufq.js +4 -0
- package/out/_next/static/chunks/155boltbcvwo-.js +63 -0
- package/out/_next/static/chunks/15_nwd8p454gd.js +1 -0
- package/out/_next/static/chunks/15s4qkdyz56pg.js +115 -0
- package/out/_next/static/chunks/15vdx0kewzv-6.js +33 -0
- package/out/_next/static/chunks/16shuavdpgni8.js +327 -0
- package/out/_next/static/chunks/170j06y4-47o4.js +5 -0
- package/out/_next/static/chunks/18a5kibvycb6u.js +1 -0
- package/out/_next/static/chunks/1_bckhq06wfmb.js +4 -0
- package/out/_next/static/chunks/1_ymf_rfke1aw.js +6 -0
- package/out/_next/static/chunks/1a1m389awxw4k.js +1 -0
- package/out/_next/static/chunks/1albq_5cppsa1.js +5 -0
- package/out/_next/static/chunks/1bhibqf8k2-z1.js +117 -0
- package/out/_next/static/chunks/1bxesp6kakz8_.js +353 -0
- package/out/_next/static/chunks/1d80ahah359g5.js +174 -0
- package/out/_next/static/chunks/1dbjry-rs_5we.js +1 -0
- package/out/_next/static/chunks/1dlr1eig6zpl1.js +12 -0
- package/out/_next/static/chunks/1gq8ickcg_vmv.js +147 -0
- package/out/_next/static/chunks/1gyrsx1nip-lm.js +2 -0
- package/out/_next/static/chunks/1hma23kynopdj.js +3 -0
- package/out/_next/static/chunks/1i996uxxmc736.js +234 -0
- package/out/_next/static/chunks/1iamjw8qh1m4o.js +4 -0
- package/out/_next/static/chunks/1ivhp-mi-5l--.js +57 -0
- package/out/_next/static/chunks/1jmdpa0tc5puj.js +7 -0
- package/out/_next/static/chunks/1ktkks-wpk8q-.js +1 -0
- package/out/_next/static/chunks/1kz62r46jwi0y.js +5 -0
- package/out/_next/static/chunks/1lex3myb5hmsw.js +1 -0
- package/out/_next/static/chunks/1lha1nklxo2g7.js +1 -0
- package/out/_next/static/chunks/1mwmcucidjio0.js +8 -0
- package/out/_next/static/chunks/1mzejejof4s6g.js +147 -0
- package/out/_next/static/chunks/1os6pvhjeb16o.js +1 -0
- package/out/_next/static/chunks/1p937fyqa7ssz.js +1 -0
- package/out/_next/static/chunks/1po7d3udj6iv4.js +5 -0
- package/out/_next/static/chunks/1qxxbcidu-hmv.js +1 -0
- package/out/_next/static/chunks/1re4i2t_po4sr.js +95 -0
- package/out/_next/static/chunks/1s4oi1bw8zl5d.js +31 -0
- package/out/_next/static/chunks/1sb04cqudnfpj.js +4 -0
- package/out/_next/static/chunks/1sh2ogc7tcbu-.js +1 -0
- package/out/_next/static/chunks/1so6ouxrq_ffa.js +39 -0
- package/out/_next/static/chunks/1ulje1tawz8fl.js +1 -0
- package/out/_next/static/chunks/1uom050rz5iol.js +272 -0
- package/out/_next/static/chunks/1uymuiqrms2h8.js +103 -0
- package/out/_next/static/chunks/1wijj_fal57co.js +2 -0
- package/out/_next/static/chunks/1wpen9t3_zbte.js +1 -0
- package/out/_next/static/chunks/1wpv1sl7vwg04.js +99 -0
- package/out/_next/static/chunks/1y3poj860g968.js +24 -0
- package/out/_next/static/chunks/1yk0pxcl4urkd.js +4 -0
- package/out/_next/static/chunks/1z1mbux-7g74d.js +1 -0
- package/out/_next/static/chunks/1z2rl3h7scna4.js +7 -0
- package/out/_next/static/chunks/1zyhq82pkterc.js +61 -0
- package/out/_next/static/chunks/2-4610weysas_.js +1 -0
- package/out/_next/static/chunks/2-zr9-ri30va5.css +1 -0
- package/out/_next/static/chunks/20j8cdot33hql.js +13 -0
- package/out/_next/static/chunks/21fo9zerxyx-l.js +59 -0
- package/out/_next/static/chunks/22sxsq82r3cwy.js +41 -0
- package/out/_next/static/chunks/23nwkbry8kz0-.js +1 -0
- package/out/_next/static/chunks/259ckrmoldaqg.js +5 -0
- package/out/_next/static/chunks/25y2dqqrhstuq.js +5 -0
- package/out/_next/static/chunks/28myh-gi8t3t7.js +7 -0
- package/out/_next/static/chunks/28oppyg7ev102.js +1 -0
- package/out/_next/static/chunks/29y82c6-u55hj.js +5 -0
- package/out/_next/static/chunks/2ahlen2u4lbnm.js +16 -0
- package/out/_next/static/chunks/2ajr0rk0_yax6.js +1 -0
- package/out/_next/static/chunks/2c3ehieqiwiw8.js +119 -0
- package/out/_next/static/chunks/2c5gq6izeq6nx.js +81 -0
- package/out/_next/static/chunks/2cj8g3fxmitaa.js +1 -0
- package/out/_next/static/chunks/2d9lzme_uzwvq.js +1 -0
- package/out/_next/static/chunks/2dqoft2pp4355.js +1 -0
- package/out/_next/static/chunks/2gso7_8v7owco.js +1 -0
- package/out/_next/static/chunks/2hc4nowrexhn3.js +100 -0
- package/out/_next/static/chunks/2hoi6cb1lromr.js +4 -0
- package/out/_next/static/chunks/2hw2_8kkf_2fg.js +1 -0
- package/out/_next/static/chunks/2kd4p_esjbozz.js +21 -0
- package/out/_next/static/chunks/2l8gepfm4kyjp.js +1 -0
- package/out/_next/static/chunks/2lwhn1ypqwukz.js +11 -0
- package/out/_next/static/chunks/2oz432iieo_c6.js +43 -0
- package/out/_next/static/chunks/2qjnhmz4c5fq1.js +23 -0
- package/out/_next/static/chunks/2rdjgc7_za785.js +9 -0
- package/out/_next/static/chunks/2ru66cyp0hbxn.js +103 -0
- package/out/_next/static/chunks/2ung-az_h871_.js +4 -0
- package/out/_next/static/chunks/2v4rvvdyh028e.js +1 -0
- package/out/_next/static/chunks/2vsl3-revotpl.js +43 -0
- package/out/_next/static/chunks/2wbc_9uwtsjbp.js +15 -0
- package/out/_next/static/chunks/2xixk0t9e9mnw.js +1 -0
- package/out/_next/static/chunks/2y6i_xssusr93.js +1 -0
- package/out/_next/static/chunks/2y_t26eglpeka.js +4 -0
- package/out/_next/static/chunks/2yw5sk06gdixu.js +1 -0
- package/out/_next/static/chunks/3-hgyqm9mhcm9.js +33 -0
- package/out/_next/static/chunks/3-ve59izq9j-p.js +1 -0
- package/out/_next/static/chunks/364y5vueeinvz.js +276 -0
- package/out/_next/static/chunks/366b9y413lk4d.js +33 -0
- package/out/_next/static/chunks/36vauyb71ot_b.js +61 -0
- package/out/_next/static/chunks/394m309ssmlo3.js +5 -0
- package/out/_next/static/chunks/39pveojee3ma1.js +33 -0
- package/out/_next/static/chunks/3_--novhq2u1q.js +807 -0
- package/out/_next/static/chunks/3apnk6kuvwze8.js +5 -0
- package/out/_next/static/chunks/3b0868kyqqkn3.js +5 -0
- package/out/_next/static/chunks/3btkj1_irjkq7.js +161 -0
- package/out/_next/static/chunks/3dcwbsiechj8e.js +7 -0
- package/out/_next/static/chunks/3dyd0ilb-ee5w.js +8 -0
- package/out/_next/static/chunks/3eftzknnu45-s.js +1 -0
- package/out/_next/static/chunks/3ejsx4af27cct.js +7 -0
- package/out/_next/static/chunks/3es4yddhl8uwc.js +7 -0
- package/out/_next/static/chunks/3fpgg_wy6j2ph.js +2 -0
- package/out/_next/static/chunks/3inp15oicq85k.js +1 -0
- package/out/_next/static/chunks/3j25u7rzawm9f.js +367 -0
- package/out/_next/static/chunks/3jxeyjg2g7w94.js +1 -0
- package/out/_next/static/chunks/3kd-t_qz3nxh7.js +30 -0
- package/out/_next/static/chunks/3kl8vv7w9jkjr.js +23 -0
- package/out/_next/static/chunks/3kmfx3f7oyfdm.js +5 -0
- package/out/_next/static/chunks/3koj4-48a7p_9.js +4 -0
- package/out/_next/static/chunks/3l7glrtu8ueuo.js +4 -0
- package/out/_next/static/chunks/3lgq9oa_2erwo.js +5 -0
- package/out/_next/static/chunks/3m_9ozv0orvze.js +187 -0
- package/out/_next/static/chunks/3muxcxam24i5z.js +1 -0
- package/out/_next/static/chunks/3nimt7ngr5zv6.js +46 -0
- package/out/_next/static/chunks/3pwezwpggrz59.js +74 -0
- package/out/_next/static/chunks/3r02t7a7jknrv.js +7 -0
- package/out/_next/static/chunks/3s40iuaou1rt4.js +1 -0
- package/out/_next/static/chunks/3selzn479n73i.js +16 -0
- package/out/_next/static/chunks/3srflqnqdfd60.js +5 -0
- package/out/_next/static/chunks/3t57k35xu2eo8.js +5 -0
- package/out/_next/static/chunks/3tu90a7do336z.js +12 -0
- package/out/_next/static/chunks/3ukgj2jzxf10n.js +5 -0
- package/out/_next/static/chunks/3vosu-lpiis6v.js +5 -0
- package/out/_next/static/chunks/3xaz8fvw2x6b3.js +5 -0
- package/out/_next/static/chunks/3xgjhwzul66dp.js +4 -0
- package/out/_next/static/chunks/3zze6y1x00k__.js +165 -0
- package/out/_next/static/chunks/40730dyt912zu.js +5 -0
- package/out/_next/static/chunks/40f26tfp8txip.js +5 -0
- package/out/_next/static/chunks/40kc42ezz2dri.js +1 -0
- package/out/_next/static/chunks/41f60q88qcigi.js +39 -0
- package/out/_next/static/chunks/41l5iphw-rna3.js +44 -0
- package/out/_next/static/chunks/423kk9x5t9_b8.js +5 -0
- package/out/_next/static/chunks/42k5e3tr3uyzs.js +54 -0
- package/out/_next/static/chunks/43uqmej6-s4am.js +7 -0
- package/out/_next/static/chunks/4481d7yj7bm2q.js +5 -0
- package/out/_next/static/chunks/448is1kpt9eaa.js +39 -0
- package/out/_next/static/chunks/44fkzg2e80pqt.js +8 -0
- package/out/_next/static/chunks/turbopack-2c3mg3r-05n1w.js +1 -0
- package/out/_offline/index.html +3 -2
- package/out/account/forgot-password/index.html +3 -2
- package/out/account/index.html +3 -2
- package/out/assortments/AssortmentDetailPage/index.html +3 -2
- package/out/assortments/index.html +3 -2
- package/out/assortments/new/index.html +3 -2
- package/out/copilot/index.html +3 -2
- package/out/country/CountryDetailPage/index.html +3 -2
- package/out/country/index.html +3 -2
- package/out/country/new/index.html +3 -2
- package/out/currency/CurrencyDetailPage/index.html +3 -2
- package/out/currency/index.html +3 -2
- package/out/currency/new/index.html +3 -2
- package/out/delivery-provider/DeliveryProviderDetailPage/index.html +3 -2
- package/out/delivery-provider/index.html +3 -2
- package/out/delivery-provider/new/index.html +3 -2
- package/out/enrollments/EnrollmentDetailPage/index.html +3 -2
- package/out/enrollments/index.html +3 -2
- package/out/events/EventDetailPage/index.html +3 -2
- package/out/events/index.html +3 -2
- package/out/exports/index.html +3 -2
- package/out/ext/[[...slug]]/index.html +12 -0
- package/out/external/index.html +3 -2
- package/out/filters/FilterDetailPage/index.html +3 -2
- package/out/filters/index.html +3 -2
- package/out/filters/new/index.html +3 -2
- package/out/index.html +3 -2
- package/out/install/index.html +3 -2
- package/out/language/LanguageDetailPage/index.html +3 -2
- package/out/language/index.html +3 -2
- package/out/language/new/index.html +3 -2
- package/out/log-in/index.html +3 -2
- package/out/orders/OrderDetailPage/index.html +3 -2
- package/out/orders/index.html +3 -2
- package/out/payment-provider/PaymentProviderDetailPage/index.html +3 -2
- package/out/payment-provider/index.html +3 -2
- package/out/payment-provider/new/index.html +3 -2
- package/out/products/ProductDetailPage/index.html +3 -2
- package/out/products/index.html +3 -2
- package/out/products/new/index.html +3 -2
- package/out/quotations/QuotationDetailPage/index.html +3 -2
- package/out/quotations/index.html +3 -2
- package/out/reset-password/index.html +3 -2
- package/out/sign-up/index.html +3 -2
- package/out/styleguide/index.html +3 -2
- package/out/tokens/TokenDetailPage/index.html +3 -2
- package/out/tokens/index.html +3 -2
- package/out/users/UserDetailPage/index.html +3 -2
- package/out/users/index.html +3 -2
- package/out/users/new/index.html +3 -2
- package/out/verify-email/index.html +3 -2
- package/out/warehousing-provider/WarehousingProviderDetailPage/index.html +3 -2
- package/out/warehousing-provider/index.html +3 -2
- package/out/warehousing-provider/new/index.html +3 -2
- package/out/works/WorkDetailPage/index.html +3 -2
- package/out/works/WorkQueueListView/index.html +3 -2
- package/out/works/index.html +3 -2
- package/out/works/management/index.html +3 -2
- package/package.json +129 -32
- package/src/modules/accounts/index.ts +40 -0
- package/src/modules/assortment/index.ts +31 -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 +8 -0
- package/src/modules/event/index.ts +3 -0
- package/src/modules/filter/index.ts +15 -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 +53 -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 +8 -0
- package/src/sdk/README.md +235 -0
- package/src/sdk/form-entry.test.mjs +11 -0
- package/src/sdk/hooks.ts +15 -0
- package/src/sdk/modal.ts +6 -0
- package/src/sdk/plugin-build.mjs +97 -0
- package/src/sdk/plugin-build.test.mjs +46 -0
- package/src/sdk/plugin-navigation.test.mjs +59 -0
- package/src/sdk/plugin-runtime.cjs +66 -0
- package/src/sdk/plugin-runtime.d.mts +11 -0
- package/src/sdk/plugin-runtime.mjs +27 -0
- package/src/sdk/plugin-runtime.test.mjs +32 -0
- package/src/sdk/plugins.mjs +17 -0
- package/src/sdk/plugins.ts +105 -0
- package/src/sdk/providers.ts +4 -0
- package/src/sdk/shared-context.test.mjs +40 -0
- package/src/sdk/shims/admin-ui-plugins.ts +3 -0
- package/src/sdk/shims/apollo-client-react.ts +3 -0
- package/src/sdk/shims/apollo-client.ts +3 -0
- package/src/sdk/shims/host.ts +61 -0
- package/src/sdk/shims/next-head.ts +3 -0
- package/src/sdk/shims/next-image.ts +3 -0
- package/src/sdk/shims/next-link.ts +3 -0
- package/src/sdk/shims/next-router.ts +3 -0
- package/src/sdk/shims/react-dom-client.ts +3 -0
- package/src/sdk/shims/react-dom.ts +3 -0
- package/src/sdk/shims/react-hook-form.ts +3 -0
- package/src/sdk/shims/react-intl.ts +3 -0
- package/src/sdk/shims/react-jsx-runtime.ts +3 -0
- package/src/sdk/shims/react-toastify.ts +3 -0
- package/src/sdk/shims/react.ts +3 -0
- package/src/sdk/tailwind-preset.mjs +94 -0
- package/src/sdk/theme.ts +61 -0
- package/src/styles/globals.css +291 -0
- package/out/_next/static/_ZCNVAj2ptQ3WvyS9d8fH/_buildManifest.js +0 -258
- package/out/_next/static/chunks/0-3aqi0z~0~kq.js +0 -1
- package/out/_next/static/chunks/0-_n2k06ojx7r.js +0 -5
- package/out/_next/static/chunks/0-b7z0cgkcxjg.js +0 -12
- package/out/_next/static/chunks/0-khetjtcca7j.js +0 -23
- package/out/_next/static/chunks/0-vzy055sp9wr.js +0 -1
- package/out/_next/static/chunks/0.7c6ora-keix.js +0 -291
- package/out/_next/static/chunks/0.7jou~9s-9ly.js +0 -342
- package/out/_next/static/chunks/0.9xrb29zv20w.js +0 -1
- package/out/_next/static/chunks/0.qq-wh2-26q3.js +0 -1
- package/out/_next/static/chunks/00.vtv-~sgyl1.js +0 -1
- package/out/_next/static/chunks/002w~0kz13czu.js +0 -2
- package/out/_next/static/chunks/00am.v9yslbhb.js +0 -227
- package/out/_next/static/chunks/00z-be-uhq5~b.js +0 -138
- package/out/_next/static/chunks/01.ky4xf9k36u.js +0 -1
- package/out/_next/static/chunks/01m_2h75jti7r.js +0 -173
- package/out/_next/static/chunks/01r~p51b_ree7.js +0 -12
- package/out/_next/static/chunks/01ua~kzkn_2re.js +0 -2
- package/out/_next/static/chunks/01~bicjgx9ycz.js +0 -13
- package/out/_next/static/chunks/02.h.hxc5z45l.js +0 -58
- package/out/_next/static/chunks/020ov1cd5ubsp.js +0 -1
- package/out/_next/static/chunks/022.6ji94gj66.js +0 -90
- package/out/_next/static/chunks/02ljwx.y7xl4e.js +0 -384
- package/out/_next/static/chunks/02mkjzfq3ks0c.js +0 -342
- package/out/_next/static/chunks/034ij~x6p.1xq.js +0 -7
- package/out/_next/static/chunks/0387wujkm6quw.js +0 -26
- package/out/_next/static/chunks/03j~743_iaz5a.js +0 -87
- package/out/_next/static/chunks/03zc-8olk-a4z.js +0 -11
- package/out/_next/static/chunks/042vny1lzms1d.js +0 -1
- package/out/_next/static/chunks/045b8oqunhkwz.js +0 -1
- package/out/_next/static/chunks/04d1nicvb1h43.js +0 -12
- package/out/_next/static/chunks/04hnzv8.xnhtq.js +0 -12
- package/out/_next/static/chunks/04j3vrvch7ujx.js +0 -1
- package/out/_next/static/chunks/04j47t-gfncz0.js +0 -17
- package/out/_next/static/chunks/04wxvqon75sl5.js +0 -15
- package/out/_next/static/chunks/0511iudhvmzyd.js +0 -14
- package/out/_next/static/chunks/054x6af~vznwl.js +0 -13
- package/out/_next/static/chunks/055l.ongzthsf.js +0 -2
- package/out/_next/static/chunks/05r6-kh0ahzac.js +0 -288
- package/out/_next/static/chunks/068vu6mcq90.a.js +0 -14
- package/out/_next/static/chunks/069qmjrpifff9.js +0 -10
- package/out/_next/static/chunks/06c.18b146dst.js +0 -43
- package/out/_next/static/chunks/06ciqx79i2-.y.js +0 -16
- package/out/_next/static/chunks/06em3notkoupj.js +0 -60
- package/out/_next/static/chunks/06fu~nzcm6-xx.js +0 -13
- package/out/_next/static/chunks/06ldt6o0kv861.js +0 -12
- package/out/_next/static/chunks/06nnfpkytc2xp.js +0 -101
- package/out/_next/static/chunks/071ms7.~t3bpc.js +0 -73
- package/out/_next/static/chunks/07absjbyi5efz.js +0 -200
- package/out/_next/static/chunks/07e9hvcn2m7m0.css +0 -1
- package/out/_next/static/chunks/07gn.w-1ng2vv.js +0 -13
- package/out/_next/static/chunks/07ok4zsn3fbvv.js +0 -8
- package/out/_next/static/chunks/07rzofd~n_8p3.js +0 -111
- package/out/_next/static/chunks/08mu1xcbu0z5i.js +0 -1
- package/out/_next/static/chunks/08np.usn69g26.js +0 -12
- package/out/_next/static/chunks/08oxo2i_s5k32.js +0 -22
- package/out/_next/static/chunks/09.xyqg-s5.hj.js +0 -1
- package/out/_next/static/chunks/09kdzdul.4ws~.js +0 -5
- package/out/_next/static/chunks/09u84u49rpg~q.js +0 -10
- package/out/_next/static/chunks/0_0s9kzhzuc0n.js +0 -51
- package/out/_next/static/chunks/0_34hlmm2xs02.js +0 -1
- package/out/_next/static/chunks/0__0blfuajz3u.js +0 -1
- package/out/_next/static/chunks/0_bohk37n03zc.js +0 -13
- package/out/_next/static/chunks/0_fs4fka5dmk4.js +0 -14
- package/out/_next/static/chunks/0_t._or66p529.js +0 -10
- package/out/_next/static/chunks/0a6n-.sxlxj9i.js +0 -44
- package/out/_next/static/chunks/0aewtng76o8~g.js +0 -1
- package/out/_next/static/chunks/0aokk5k383t_7.js +0 -1
- package/out/_next/static/chunks/0bb3o6y0psmp~.js +0 -137
- package/out/_next/static/chunks/0binkax94nk~0.js +0 -286
- package/out/_next/static/chunks/0b~s0.jgd-9e2.js +0 -1
- package/out/_next/static/chunks/0c6p-vlcfco03.js +0 -2
- package/out/_next/static/chunks/0cau~hqb0jkf..js +0 -1
- package/out/_next/static/chunks/0chk_j9c0w74~.js +0 -21
- package/out/_next/static/chunks/0cnjwc8yv_7du.js +0 -36
- package/out/_next/static/chunks/0d1xe7n4~ift~.js +0 -119
- package/out/_next/static/chunks/0d2egm4vz55tp.js +0 -16
- package/out/_next/static/chunks/0dcng-~m.1-6b.js +0 -31
- package/out/_next/static/chunks/0dwysww-f770p.js +0 -43
- package/out/_next/static/chunks/0d~ogeoavcw1p.js +0 -2
- package/out/_next/static/chunks/0eh08mw_ge-97.js +0 -20
- package/out/_next/static/chunks/0ehfzo.p_8b1p.js +0 -142
- package/out/_next/static/chunks/0ei4k52e-lv4o.js +0 -596
- package/out/_next/static/chunks/0eq_bq11j1d8h.js +0 -73
- package/out/_next/static/chunks/0exrsz6ax-mbc.js +0 -50
- package/out/_next/static/chunks/0f7dus4chk-b7.js +0 -1
- package/out/_next/static/chunks/0f_2kctvcf9fc.js +0 -132
- package/out/_next/static/chunks/0fiu9kb2mg_pe.js +0 -1
- package/out/_next/static/chunks/0fzcyuwh8xfnw.js +0 -2
- package/out/_next/static/chunks/0gepdh_x8l03e.js +0 -31
- package/out/_next/static/chunks/0h3apzm4sorb-.js +0 -144
- package/out/_next/static/chunks/0hf6k~k9i9dml.js +0 -101
- package/out/_next/static/chunks/0hggeos.n3ho1.js +0 -324
- package/out/_next/static/chunks/0hs_qs3vvqt40.js +0 -224
- package/out/_next/static/chunks/0i.xcdg6xys-l.js +0 -1
- package/out/_next/static/chunks/0i2a62pwzd90a.js +0 -1
- package/out/_next/static/chunks/0i6yv64iri6c7.js +0 -14
- package/out/_next/static/chunks/0id0hab4x07mp.js +0 -13
- package/out/_next/static/chunks/0itsov_woj_gc.js +0 -11
- package/out/_next/static/chunks/0j0vos96uuvzn.js +0 -19
- package/out/_next/static/chunks/0jl_db3hgihi8.js +0 -1
- package/out/_next/static/chunks/0jsod19bi_.b4.js +0 -1
- package/out/_next/static/chunks/0jt2g8-m-bu3h.js +0 -15
- package/out/_next/static/chunks/0jxpx..caiup3.js +0 -51
- package/out/_next/static/chunks/0k3anlop2ta22.js +0 -1
- package/out/_next/static/chunks/0kg9ib_s2gdgg.js +0 -13
- package/out/_next/static/chunks/0klqyqhl-cmiq.js +0 -46
- package/out/_next/static/chunks/0krimw~~gz366.js +0 -2
- package/out/_next/static/chunks/0kwn.hg1e.um~.js +0 -44
- package/out/_next/static/chunks/0kwrzdkwhn88r.js +0 -13
- package/out/_next/static/chunks/0lcrt1adr76yw.js +0 -8
- package/out/_next/static/chunks/0ljk.6lm3l484.js +0 -7
- package/out/_next/static/chunks/0lq8y5ij59ip~.js +0 -1
- package/out/_next/static/chunks/0ltj_coftxt~y.js +0 -3
- package/out/_next/static/chunks/0lvph83c6z2a-.js +0 -1
- package/out/_next/static/chunks/0mehfyjroyd5m.js +0 -22
- package/out/_next/static/chunks/0n0rvtqgyilhu.js +0 -13
- package/out/_next/static/chunks/0n_8yfa~wwmvn.js +0 -16
- package/out/_next/static/chunks/0ncx_fjx5r3e9.js +0 -13
- package/out/_next/static/chunks/0njruqifmj7eb.js +0 -73
- package/out/_next/static/chunks/0nxa2d3rd~_hk.js +0 -20
- package/out/_next/static/chunks/0oavskn-j3nfr.js +0 -12
- package/out/_next/static/chunks/0oe9_~e6jba2c.js +0 -108
- package/out/_next/static/chunks/0on_9mgul7_i2.js +0 -188
- package/out/_next/static/chunks/0o~whquist5u6.js +0 -1
- package/out/_next/static/chunks/0p1dktj9e81.u.js +0 -209
- package/out/_next/static/chunks/0p2l~~8x6478b.js +0 -73
- package/out/_next/static/chunks/0p47r5clv~tji.js +0 -10
- package/out/_next/static/chunks/0pu7s41rb3je3.js +0 -1
- package/out/_next/static/chunks/0pvo5m24k8fer.js +0 -61
- package/out/_next/static/chunks/0q_s9ru.9iese.js +0 -193
- package/out/_next/static/chunks/0qoukboupb.ht.js +0 -14
- package/out/_next/static/chunks/0qsxmm8vi313~.js +0 -1
- package/out/_next/static/chunks/0qvf8s9fxj~ah.js +0 -41
- package/out/_next/static/chunks/0qy-relppwey0.js +0 -384
- package/out/_next/static/chunks/0r-a0zxkpzy.c.js +0 -14
- package/out/_next/static/chunks/0r017e-0mhnx2.js +0 -16
- package/out/_next/static/chunks/0r4jylm5inuxv.js +0 -13
- package/out/_next/static/chunks/0r6m.pwe-fw0s.js +0 -18
- package/out/_next/static/chunks/0rbjbp6y.a5ze.js +0 -8
- package/out/_next/static/chunks/0rds3div~3bsj.js +0 -15
- package/out/_next/static/chunks/0ridpuenplsy6.js +0 -46
- package/out/_next/static/chunks/0rwb5kn3yi~nn.js +0 -16
- package/out/_next/static/chunks/0s8kpaa2at0vl.js +0 -1
- package/out/_next/static/chunks/0sbwu9f3ons7y.js +0 -13
- package/out/_next/static/chunks/0sqtyywk.m-gb.js +0 -119
- package/out/_next/static/chunks/0suvx3w6t11x1.js +0 -14
- package/out/_next/static/chunks/0t.cqbkm36.29.js +0 -16
- package/out/_next/static/chunks/0ta5trm5g8qpx.js +0 -1
- package/out/_next/static/chunks/0u5rgvh_590-0.js +0 -15
- package/out/_next/static/chunks/0uzv9isqw0xwo.js +0 -12
- package/out/_next/static/chunks/0vu00vv4k8fm2.js +0 -5
- package/out/_next/static/chunks/0wbeo27c~tc9b.js +0 -13
- package/out/_next/static/chunks/0wc49~p9kujfb.js +0 -137
- package/out/_next/static/chunks/0we-.8a4ky2dw.js +0 -2
- package/out/_next/static/chunks/0whq69wyy9mrh.js +0 -1
- package/out/_next/static/chunks/0wjcrj2l-j~_f.js +0 -188
- package/out/_next/static/chunks/0wo4urhtm22ug.js +0 -1
- package/out/_next/static/chunks/0wuu4uyer4mlk.js +0 -31
- package/out/_next/static/chunks/0x4-t7xmjlqx1.js +0 -12
- package/out/_next/static/chunks/0x6_x80dsgoq7.js +0 -2
- package/out/_next/static/chunks/0xczkhpv81j3p.js +0 -1
- package/out/_next/static/chunks/0xo2uquse155f.js +0 -26
- package/out/_next/static/chunks/0xve~a_ipc.21.js +0 -81
- package/out/_next/static/chunks/0y153o27bxgcb.js +0 -1
- package/out/_next/static/chunks/0y51ico3_h9g3.js +0 -346
- package/out/_next/static/chunks/0y5ttyo5uc5l-.js +0 -15
- package/out/_next/static/chunks/0ydxs-rl4u1j7.js +0 -8
- package/out/_next/static/chunks/0yrt60iy59wz5.js +0 -13
- package/out/_next/static/chunks/0z.rzro53h5n6.js +0 -15
- package/out/_next/static/chunks/0zhqlp5hndrqa.js +0 -1
- package/out/_next/static/chunks/0znn2bf~0xx64.js +0 -46
- package/out/_next/static/chunks/0zpe1nbzz~f8h.js +0 -5
- package/out/_next/static/chunks/0zr4c4gwoe48t.js +0 -15
- package/out/_next/static/chunks/0~gsuncyic_fy.js +0 -2
- package/out/_next/static/chunks/0~tk5o7vtfrjq.js +0 -66
- package/out/_next/static/chunks/103dw~jwhci8m.js +0 -61
- package/out/_next/static/chunks/1041bp0usprml.js +0 -217
- package/out/_next/static/chunks/10bhd86pfsoy5.js +0 -3
- package/out/_next/static/chunks/10jmwo0cv2790.js +0 -100
- package/out/_next/static/chunks/10m8c175impy1.js +0 -135
- package/out/_next/static/chunks/10y5-.kflf93t.js +0 -13
- package/out/_next/static/chunks/11_s223xijkg..js +0 -14
- package/out/_next/static/chunks/11fl4v~k-i6dd.js +0 -1
- package/out/_next/static/chunks/11rfgl5vsu7np.js +0 -147
- package/out/_next/static/chunks/11sml2nj796.7.js +0 -59
- package/out/_next/static/chunks/11smy7~k0731f.js +0 -12
- package/out/_next/static/chunks/12e_gn-hj1ad4.js +0 -5
- package/out/_next/static/chunks/12nnf6pgi3n_-.js +0 -16
- package/out/_next/static/chunks/12q9qfk5yyvku.js +0 -288
- package/out/_next/static/chunks/13h_3r03rklr2.js +0 -54
- package/out/_next/static/chunks/13tjz9q-ls~t3.js +0 -1
- package/out/_next/static/chunks/13ytbvm.zbpoc.js +0 -13
- package/out/_next/static/chunks/13ztct7h9n9ly.js +0 -1
- package/out/_next/static/chunks/14.go5qd.nd-p.js +0 -22
- package/out/_next/static/chunks/14e4xylnze3x2.js +0 -1
- package/out/_next/static/chunks/14kk7enrk.1zd.js +0 -14
- package/out/_next/static/chunks/14q69-rwokbvm.js +0 -13
- package/out/_next/static/chunks/14tbg01czewdy.js +0 -1
- package/out/_next/static/chunks/14vhb8kz5tl75.js +0 -471
- package/out/_next/static/chunks/15r--ckscx-95.js +0 -227
- package/out/_next/static/chunks/15wy-.8-w435h.js +0 -92
- package/out/_next/static/chunks/15z9m-o4tbe0n.js +0 -1
- package/out/_next/static/chunks/169ub5vhwew62.js +0 -1
- package/out/_next/static/chunks/16_-z_hnq-xk7.js +0 -12
- package/out/_next/static/chunks/16s_3ks~~cizu.js +0 -31
- package/out/_next/static/chunks/16wl81ja44b1o.js +0 -54
- package/out/_next/static/chunks/16yuttvlotzf1.js +0 -13
- package/out/_next/static/chunks/17iwj3.fr3dk8.js +0 -7
- package/out/_next/static/chunks/17l28vjc_z915.js +0 -596
- package/out/_next/static/chunks/17v04.so.9g1..js +0 -1
- package/out/_next/static/chunks/181fxym9wgh_m.js +0 -1
- package/out/_next/static/chunks/188m.-obobpy_.js +0 -178
- package/out/_next/static/chunks/turbopack-0-c-m~y_.l8n2.js +0 -1
- package/out/_next/static/chunks/turbopack-0-ly3m1ffx4wa.js +0 -1
- package/out/_next/static/chunks/turbopack-0-w~ect25bcud.js +0 -1
- package/out/_next/static/chunks/turbopack-0.2nskz5ux6vf.js +0 -1
- package/out/_next/static/chunks/turbopack-00s1egv_1qxjy.js +0 -1
- package/out/_next/static/chunks/turbopack-00xxfsstzot2t.js +0 -1
- package/out/_next/static/chunks/turbopack-01cocbtxks9vh.js +0 -1
- package/out/_next/static/chunks/turbopack-032afnigdvseo.js +0 -1
- package/out/_next/static/chunks/turbopack-03hvtuilfwgpp.js +0 -1
- package/out/_next/static/chunks/turbopack-04r-j8f.wnbc8.js +0 -1
- package/out/_next/static/chunks/turbopack-06m0ig9acgabg.js +0 -1
- package/out/_next/static/chunks/turbopack-06rfum.y.5-0h.js +0 -1
- package/out/_next/static/chunks/turbopack-07kkmwgy.zqc4.js +0 -1
- package/out/_next/static/chunks/turbopack-07qbascdm6h.j.js +0 -1
- package/out/_next/static/chunks/turbopack-087jzd1gou_ln.js +0 -1
- package/out/_next/static/chunks/turbopack-08h61bgwzagra.js +0 -1
- package/out/_next/static/chunks/turbopack-09d04tqccs343.js +0 -1
- package/out/_next/static/chunks/turbopack-0a1fdpd8.q282.js +0 -1
- package/out/_next/static/chunks/turbopack-0azc8sns1skk7.js +0 -1
- package/out/_next/static/chunks/turbopack-0b6fo_~4ih.xu.js +0 -1
- package/out/_next/static/chunks/turbopack-0bv6z-ics5a1v.js +0 -1
- package/out/_next/static/chunks/turbopack-0c6v~i5zl-_gb.js +0 -1
- package/out/_next/static/chunks/turbopack-0cn_kcha7l~dv.js +0 -1
- package/out/_next/static/chunks/turbopack-0d6899l2l47lo.js +0 -1
- package/out/_next/static/chunks/turbopack-0f3a-2xdfi37o.js +0 -1
- package/out/_next/static/chunks/turbopack-0h1nt4kh7q.sg.js +0 -1
- package/out/_next/static/chunks/turbopack-0hh49n1y8gh-z.js +0 -1
- package/out/_next/static/chunks/turbopack-0ike2xsgynih8.js +0 -1
- package/out/_next/static/chunks/turbopack-0iyvc628rll34.js +0 -1
- package/out/_next/static/chunks/turbopack-0j-vlj505~ob9.js +0 -1
- package/out/_next/static/chunks/turbopack-0j4w2c8pgyzts.js +0 -1
- package/out/_next/static/chunks/turbopack-0kblf3k62bseb.js +0 -1
- package/out/_next/static/chunks/turbopack-0l-~7v3-4~9hg.js +0 -1
- package/out/_next/static/chunks/turbopack-0lb9brrvzbipj.js +0 -1
- package/out/_next/static/chunks/turbopack-0lxybl6vxlhqz.js +0 -1
- package/out/_next/static/chunks/turbopack-0mlri9n~ktoxa.js +0 -1
- package/out/_next/static/chunks/turbopack-0mrgw~e1q9n4l.js +0 -1
- package/out/_next/static/chunks/turbopack-0na33zduv8spb.js +0 -1
- package/out/_next/static/chunks/turbopack-0o_.gb8s5jo85.js +0 -1
- package/out/_next/static/chunks/turbopack-0ofwh3p918g-t.js +0 -1
- package/out/_next/static/chunks/turbopack-0o~anfgw~s_~q.js +0 -1
- package/out/_next/static/chunks/turbopack-0q3dp3wkxb9ro.js +0 -1
- package/out/_next/static/chunks/turbopack-0q5hq623ooh_q.js +0 -1
- package/out/_next/static/chunks/turbopack-0rd~zo~yh9.xl.js +0 -1
- package/out/_next/static/chunks/turbopack-0s3jauzip9.x..js +0 -1
- package/out/_next/static/chunks/turbopack-0uukmkfqyl0h8.js +0 -1
- package/out/_next/static/chunks/turbopack-0w_qsium_grk3.js +0 -1
- package/out/_next/static/chunks/turbopack-0wbajkw2~1l3z.js +0 -1
- package/out/_next/static/chunks/turbopack-0wej6bu7ey9au.js +0 -1
- package/out/_next/static/chunks/turbopack-0wk424kj.kar2.js +0 -1
- package/out/_next/static/chunks/turbopack-0xew6rccsve8y.js +0 -1
- package/out/_next/static/chunks/turbopack-0y898tb-~kae~.js +0 -1
- package/out/_next/static/chunks/turbopack-0~lzxx1ip4b0u.js +0 -1
- package/out/_next/static/chunks/turbopack-11.ar48mv3rch.js +0 -1
- package/out/_next/static/chunks/turbopack-11eqwvrhzm6gb.js +0 -1
- package/out/_next/static/chunks/turbopack-12cd3.da_pv_e.js +0 -1
- package/out/_next/static/chunks/turbopack-12hcx9pi_e_wy.js +0 -1
- package/out/_next/static/chunks/turbopack-12pksi_8~z4-a.js +0 -1
- package/out/_next/static/chunks/turbopack-146i7rj93.pk3.js +0 -1
- package/out/_next/static/chunks/turbopack-15d8c1ob0a6m0.js +0 -1
- package/out/_next/static/chunks/turbopack-16-bzzuvc9d9..js +0 -1
- package/out/_next/static/chunks/turbopack-17sr.m9o6jhdb.js +0 -1
- package/out/_next/static/chunks/turbopack-1829xb~o3h36e.js +0 -1
- package/out/admin-ui-permissions.js +0 -129
- /package/out/_next/static/{_ZCNVAj2ptQ3WvyS9d8fH → BPoacQET3TJr2q9E370Ez}/_clientMiddlewareManifest.js +0 -0
- /package/out/_next/static/{_ZCNVAj2ptQ3WvyS9d8fH → BPoacQET3TJr2q9E370Ez}/_ssgManifest.js +0 -0
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
export { default as logOut } from './hooks/logOut';
|
|
2
|
+
export { default as useAddEmail } from './hooks/useAddEmail';
|
|
3
|
+
export { default as useAddWeb3Address } from './hooks/useAddWeb3Address';
|
|
4
|
+
export { default as useAddWebAuthnCredentials } from './hooks/useAddWebAuthnCredentials';
|
|
5
|
+
export { default as useBulkUserOperations } from './hooks/useBulkUserOperations';
|
|
6
|
+
export { default as useChangePassword } from './hooks/useChangePassword';
|
|
7
|
+
export { default as useCreateUser } from './hooks/useCreateUser';
|
|
8
|
+
export { default as useCreateWebAuthnCredentialCreationOptions } from './hooks/useCreateWebAuthnCredentialCreationOptions';
|
|
9
|
+
export { default as useCreateWebAuthnCredentialRequestOptions } from './hooks/useCreateWebAuthnCredentialRequestOptions';
|
|
10
|
+
export { default as useCurrentUser } from './hooks/useCurrentUser';
|
|
11
|
+
export { default as useDeleteUser } from './hooks/useDeleteUser';
|
|
12
|
+
export { default as useEnrollUser } from './hooks/useEnrollUser';
|
|
13
|
+
export { default as useForgotPassword } from './hooks/useForgotPassword';
|
|
14
|
+
export { default as useGenerateLoginCredentials } from './hooks/useGenerateLoginCredentials';
|
|
15
|
+
export { default as useGenerateWebAuthCredentials } from './hooks/useGenerateWebAuthCredentials';
|
|
16
|
+
export { default as useLoginWithPassword } from './hooks/useLoginWithPassword';
|
|
17
|
+
export { default as useLoginWithWebAuthn } from './hooks/useLoginWithWebAuthn';
|
|
18
|
+
export { default as useLogoutAllSessions } from './hooks/useLogoutAllSessions';
|
|
19
|
+
export { default as useRemoveBookmark } from './hooks/useRemoveBookmark';
|
|
20
|
+
export { default as useRemoveEmail } from './hooks/useRemoveEmail';
|
|
21
|
+
export { default as useRemoveWeb3Address } from './hooks/useRemoveWeb3Address';
|
|
22
|
+
export { default as useRemoveWebAuthCredentials } from './hooks/useRemoveWebAuthCredentials';
|
|
23
|
+
export { default as useResetPassword } from './hooks/useResetPassword';
|
|
24
|
+
export { default as useSendVerificationEmail } from './hooks/useSendVerificationEmail';
|
|
25
|
+
export { default as useSetPassword } from './hooks/useSetPassword';
|
|
26
|
+
export { default as useSetRoles } from './hooks/useSetRoles';
|
|
27
|
+
export { default as useSetUserTags } from './hooks/useSetUserTags';
|
|
28
|
+
export { default as useSetUsername } from './hooks/useSetUsername';
|
|
29
|
+
export { default as useUpdateUserAvatar } from './hooks/useUpdateUserAvatar';
|
|
30
|
+
export { default as useUpdateUserProfile } from './hooks/useUpdateUserProfile';
|
|
31
|
+
export { default as useUser } from './hooks/useUser';
|
|
32
|
+
export { default as useUserBookmarks } from './hooks/useUserBookmarks';
|
|
33
|
+
export { useUserExport } from './hooks/useUserExport';
|
|
34
|
+
export { default as useUserWebAuthnCredentials } from './hooks/useUserWebAuthnCredentials';
|
|
35
|
+
export { default as useUsers } from './hooks/useUsers';
|
|
36
|
+
export { default as useUsersCount } from './hooks/useUsersCount';
|
|
37
|
+
export { default as useValidateEmailVerificationToken } from './hooks/useValidateEmailVerificationToken';
|
|
38
|
+
export { default as useValidateResetPasswordToken } from './hooks/useValidateResetPasswordToken';
|
|
39
|
+
export { default as useVerifyEmail } from './hooks/useVerifyEmail';
|
|
40
|
+
export { default as useVerifyWeb3Address } from './hooks/useVerifyWeb3Address';
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
export { default as useAddAssortmentFilter } from './hooks/useAddAssortmentFilter';
|
|
2
|
+
export { default as useAddAssortmentLink } from './hooks/useAddAssortmentLink';
|
|
3
|
+
export { default as useAddAssortmentMedia } from './hooks/useAddAssortmentMedia';
|
|
4
|
+
export { default as useAddAssortmentProduct } from './hooks/useAddAssortmentProduct';
|
|
5
|
+
export { default as useAssortment } from './hooks/useAssortment';
|
|
6
|
+
export { default as useAssortmentChildren } from './hooks/useAssortmentChildren';
|
|
7
|
+
export { useAssortmentExport } from './hooks/useAssortmentExport';
|
|
8
|
+
export { default as useAssortmentFilters } from './hooks/useAssortmentFilters';
|
|
9
|
+
export { default as useAssortmentLinks } from './hooks/useAssortmentLinks';
|
|
10
|
+
export { default as useAssortmentMedia } from './hooks/useAssortmentMedia';
|
|
11
|
+
export { default as useAssortmentPaths } from './hooks/useAssortmentPaths';
|
|
12
|
+
export { default as useAssortmentProducts } from './hooks/useAssortmentProducts';
|
|
13
|
+
export { default as useAssortments } from './hooks/useAssortments';
|
|
14
|
+
export { default as useAssortmentsCount } from './hooks/useAssortmentsCount';
|
|
15
|
+
export { default as useBulkAssortmentOperations } from './hooks/useBulkAssortmentOperations';
|
|
16
|
+
export { default as useCreateAssortment } from './hooks/useCreateAssortment';
|
|
17
|
+
export { default as usePrepareAssortmentImport } from './hooks/usePrepareAssortmentImport';
|
|
18
|
+
export { default as useRemoveAssortment } from './hooks/useRemoveAssortment';
|
|
19
|
+
export { default as useRemoveAssortmentFilter } from './hooks/useRemoveAssortmentFilter';
|
|
20
|
+
export { default as useRemoveAssortmentLink } from './hooks/useRemoveAssortmentLink';
|
|
21
|
+
export { default as useRemoveAssortmentMedia } from './hooks/useRemoveAssortmentMedia';
|
|
22
|
+
export { default as useRemoveAssortmentProduct } from './hooks/useRemoveAssortmentProduct';
|
|
23
|
+
export { default as useReorderAssortmentFilters } from './hooks/useReorderAssortmentFilters';
|
|
24
|
+
export { default as useReorderAssortmentLinks } from './hooks/useReorderAssortmentLinks';
|
|
25
|
+
export { default as useReorderAssortmentMedia } from './hooks/useReorderAssortmentMedia';
|
|
26
|
+
export { default as useReorderAssortmentProducts } from './hooks/useReorderAssortmentProducts';
|
|
27
|
+
export { default as useTranslatedAssortmentMediaTexts } from './hooks/useTranslatedAssortmentMediaTexts';
|
|
28
|
+
export { default as useTranslatedAssortmentTexts } from './hooks/useTranslatedAssortmentTexts';
|
|
29
|
+
export { default as useUpdateAssortment } from './hooks/useUpdateAssortment';
|
|
30
|
+
export { default as useUpdateAssortmentMediaTexts } from './hooks/useUpdateAssortmentMediaTexts';
|
|
31
|
+
export { default as useUpdateAssortmentTexts } from './hooks/useUpdateAssortmentTexts';
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { default as useCountries } from './hooks/useCountries';
|
|
2
|
+
export { default as useCountry } from './hooks/useCountry';
|
|
3
|
+
export { default as useCreateCountry } from './hooks/useCreateCountry';
|
|
4
|
+
export { default as useRemoveCountry } from './hooks/useRemoveCountry';
|
|
5
|
+
export { default as useUpdateCountry } from './hooks/useUpdateCountry';
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { default as useCreateCurrency } from './hooks/useCreateCurrency';
|
|
2
|
+
export { default as useCurrencies } from './hooks/useCurrencies';
|
|
3
|
+
export { default as useCurrency } from './hooks/useCurrency';
|
|
4
|
+
export { default as useRemoveCurrency } from './hooks/useRemoveCurrency';
|
|
5
|
+
export { default as useUpdateCurrency } from './hooks/useUpdateCurrency';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export { default as useCreateDeliveryProvider } from './hooks/useCreateDeliveryProvider';
|
|
2
|
+
export { default as useDeliveryInterfacesByType } from './hooks/useDeliveryInterfacesByType';
|
|
3
|
+
export { default as useDeliveryProvider } from './hooks/useDeliveryProvider';
|
|
4
|
+
export { default as useDeliveryProviderTypes } from './hooks/useDeliveryProviderTypes';
|
|
5
|
+
export { default as useDeliveryProviders } from './hooks/useDeliveryProviders';
|
|
6
|
+
export { default as useRemoveDeliveryProvider } from './hooks/useRemoveDeliveryProvider';
|
|
7
|
+
export { default as useUpdateDeliveryProvider } from './hooks/useUpdateDeliveryProvider';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export { default as useActivateEnrollment } from './hooks/useActivateEnrollment';
|
|
2
|
+
export { default as useEnrollment } from './hooks/useEnrollment';
|
|
3
|
+
export { default as useEnrollments } from './hooks/useEnrollments';
|
|
4
|
+
export { default as useSendEnrollmentEmail } from './hooks/useSendEnrollmentEmail';
|
|
5
|
+
export { default as useSuspendEnrollment } from './hooks/useSuspendEnrollment';
|
|
6
|
+
export { default as useTerminateEnrollment } from './hooks/useTerminateEnrollment';
|
|
7
|
+
export { default as useUpdateEnrollmentPlan } from './hooks/useUpdateEnrollmentPlan';
|
|
8
|
+
export { default as useUserEnrollments } from './hooks/useUserEnrollments';
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export { default as useBulkFilterOperations } from './hooks/useBulkFilterOperations';
|
|
2
|
+
export { default as useCreateFilter } from './hooks/useCreateFilter';
|
|
3
|
+
export { default as useCreateFilterOption } from './hooks/useCreateFilterOption';
|
|
4
|
+
export { default as useFilter } from './hooks/useFilter';
|
|
5
|
+
export { useFilterExport } from './hooks/useFilterExport';
|
|
6
|
+
export { default as useFilterOptions } from './hooks/useFilterOptions';
|
|
7
|
+
export { default as useFilterTypes } from './hooks/useFilterTypes';
|
|
8
|
+
export { default as useFilters } from './hooks/useFilters';
|
|
9
|
+
export { default as useFiltersCount } from './hooks/useFiltersCount';
|
|
10
|
+
export { usePrepareFilterImport } from './hooks/usePrepareFilterImport';
|
|
11
|
+
export { default as useRemoveFilter } from './hooks/useRemoveFilter';
|
|
12
|
+
export { default as useRemoveFilterOption } from './hooks/useRemoveFilterOption';
|
|
13
|
+
export { default as useTranslatedFilterTexts } from './hooks/useTranslatedFilterTexts';
|
|
14
|
+
export { default as useUpdateFilter } from './hooks/useUpdateFilter';
|
|
15
|
+
export { default as useUpdateFilterTexts } from './hooks/useUpdateFilterTexts';
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { default as useCreateLanguage } from './hooks/useCreateLanguage';
|
|
2
|
+
export { default as useLanguage } from './hooks/useLanguage';
|
|
3
|
+
export { default as useLanguages } from './hooks/useLanguages';
|
|
4
|
+
export { default as useRemoveLanguage } from './hooks/useRemoveLanguage';
|
|
5
|
+
export { default as useUpdateLanguage } from './hooks/useUpdateLanguage';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export { default as useConfirmOrder } from './hooks/useConfirmOrder';
|
|
2
|
+
export { default as useDeliverOrder } from './hooks/useDeliverOrder';
|
|
3
|
+
export { default as useOrder } from './hooks/useOrder';
|
|
4
|
+
export { default as useOrders } from './hooks/useOrders';
|
|
5
|
+
export { default as usePayOrder } from './hooks/usePayOrder';
|
|
6
|
+
export { default as useRejectOrder } from './hooks/useRejectOrder';
|
|
7
|
+
export { default as useRemoveOrder } from './hooks/useRemoveOrder';
|
|
8
|
+
export { default as useUserOrders } from './hooks/useUserOrders';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export { default as useCreatePaymentProvider } from './hooks/useCreatePaymentProvider';
|
|
2
|
+
export { default as usePaymentInterfacesByType } from './hooks/usePaymentInterfacesByType';
|
|
3
|
+
export { default as usePaymentProvider } from './hooks/usePaymentProvider';
|
|
4
|
+
export { default as usePaymentProviderTypes } from './hooks/usePaymentProviderTypes';
|
|
5
|
+
export { default as usePaymentProviders } from './hooks/usePaymentProviders';
|
|
6
|
+
export { default as useRemovePaymentProvider } from './hooks/useRemovePaymentProvider';
|
|
7
|
+
export { default as useUpdatePaymentProvider } from './hooks/useUpdatePaymentProvider';
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
export { default as useAddProductAssignment } from './hooks/useAddProductAssignment';
|
|
2
|
+
export { default as useAddProductMedia } from './hooks/useAddProductMedia';
|
|
3
|
+
export { default as useBulkProductOperations } from './hooks/useBulkProductOperations';
|
|
4
|
+
export { default as useCreateProduct } from './hooks/useCreateProduct';
|
|
5
|
+
export { default as useCreateProductBundleItem } from './hooks/useCreateProductBundleItem';
|
|
6
|
+
export { default as useCreateProductVariation } from './hooks/useCreateProductVariation';
|
|
7
|
+
export { default as useCreateProductVariationOption } from './hooks/useCreateProductVariationOption';
|
|
8
|
+
export { default as useExportToken } from './hooks/useExportToken';
|
|
9
|
+
export { useMenuPosition } from './hooks/useMenuPosition';
|
|
10
|
+
export { default as usePrepareProductImport } from './hooks/usePrepareProductImport';
|
|
11
|
+
export { default as useProduct } from './hooks/useProduct';
|
|
12
|
+
export { default as useProductAssignments } from './hooks/useProductAssignments';
|
|
13
|
+
export { default as useProductBundleItems } from './hooks/useProductBundleItems';
|
|
14
|
+
export { default as useProductCatalogPrices } from './hooks/useProductCatalogPrices';
|
|
15
|
+
export { useProductExport } from './hooks/useProductExport';
|
|
16
|
+
export { default as useProductFulfillmentSimulation } from './hooks/useProductFulfillmentSimulation';
|
|
17
|
+
export { default as useProductMedia } from './hooks/useProductMedia';
|
|
18
|
+
export { default as useProductPlan } from './hooks/useProductPlan';
|
|
19
|
+
export { default as useProductPlanConfigurationOptions } from './hooks/useProductPlanConfigurationOptions';
|
|
20
|
+
export { default as useProductReviews } from './hooks/useProductReviews';
|
|
21
|
+
export { default as useProductSupply } from './hooks/useProductSupply';
|
|
22
|
+
export { default as useProductTokenization } from './hooks/useProductTokenization';
|
|
23
|
+
export { default as useProductVariationTypes } from './hooks/useProductVariationTypes';
|
|
24
|
+
export { default as useProductVariations } from './hooks/useProductVariations';
|
|
25
|
+
export { default as useProductWarehousing } from './hooks/useProductWarehousing';
|
|
26
|
+
export { default as useProducts } from './hooks/useProducts';
|
|
27
|
+
export { default as useProductsCount } from './hooks/useProductsCount';
|
|
28
|
+
export { default as usePublishProduct } from './hooks/usePublishProduct';
|
|
29
|
+
export { default as useReOrderProductMedia } from './hooks/useReOrderProductMedia';
|
|
30
|
+
export { default as useRemoveBundleItem } from './hooks/useRemoveBundleItem';
|
|
31
|
+
export { default as useRemoveProduct } from './hooks/useRemoveProduct';
|
|
32
|
+
export { default as useRemoveProductAssignment } from './hooks/useRemoveProductAssignment';
|
|
33
|
+
export { default as useRemoveProductMedia } from './hooks/useRemoveProductMedia';
|
|
34
|
+
export { default as useRemoveProductVariation } from './hooks/useRemoveProductVariation';
|
|
35
|
+
export { default as useRemoveProductVariationOption } from './hooks/useRemoveProductVariationOption';
|
|
36
|
+
export { default as useScaffoldBundleItem } from './hooks/useScaffoldBundleItem';
|
|
37
|
+
export { default as useScaffoldVariationProduct } from './hooks/useScaffoldVariationProduct';
|
|
38
|
+
export { default as useSmartContractStandards } from './hooks/useSmartContractStandards';
|
|
39
|
+
export { default as useTranslatedProductMediaTexts } from './hooks/useTranslatedProductMediaTexts';
|
|
40
|
+
export { default as useTranslatedProductTexts } from './hooks/useTranslatedProductTexts';
|
|
41
|
+
export { default as useUnPublishProduct } from './hooks/useUnPublishProduct';
|
|
42
|
+
export { default as useUpdateProduct } from './hooks/useUpdateProduct';
|
|
43
|
+
export { default as useUpdateProductCommerce } from './hooks/useUpdateProductCommerce';
|
|
44
|
+
export { default as useUpdateProductMediaTexts } from './hooks/useUpdateProductMediaTexts';
|
|
45
|
+
export { default as useUpdateProductPlan } from './hooks/useUpdateProductPlan';
|
|
46
|
+
export { default as useUpdateProductSupply } from './hooks/useUpdateProductSupply';
|
|
47
|
+
export { default as useUpdateProductTexts } from './hooks/useUpdateProductTexts';
|
|
48
|
+
export { default as useUpdateProductTokenization } from './hooks/useUpdateProductTokenization';
|
|
49
|
+
export { default as useUpdateProductVariationTexts } from './hooks/useUpdateProductVariationTexts';
|
|
50
|
+
export { default as useUpdateProductWarehousing } from './hooks/useUpdateProductWarehousing';
|
|
51
|
+
export { default as useUserTokens } from './hooks/useUserTokens';
|
|
52
|
+
export { default as ProductTextsForm } from './components/ProductTextsForm';
|
|
53
|
+
export { default as ProductMediaForm } from './components/ProductMediaForm';
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export { default as useAddProductReviewVote } from './hooks/useAddProductReviewVote';
|
|
2
|
+
export { default as useCreateProductReview } from './hooks/useCreateProductReview';
|
|
3
|
+
export { default as useProductReviewsByProductId } from './hooks/useProductReviewsByProductId';
|
|
4
|
+
export { default as useRemoveProductReview } from './hooks/useRemoveProductReview';
|
|
5
|
+
export { default as useRemoveProductReviewVote } from './hooks/useRemoveProductReviewVote';
|
|
6
|
+
export { default as useUserProductReviews } from './hooks/useUserProductReviews';
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export { default as useMakeQuotationProposal } from './hooks/useMakeQuotationProposal';
|
|
2
|
+
export { default as useQuotation } from './hooks/useQuotation';
|
|
3
|
+
export { default as useQuotations } from './hooks/useQuotations';
|
|
4
|
+
export { default as useRejectQuotation } from './hooks/useRejectQuotation';
|
|
5
|
+
export { default as useUserQuotations } from './hooks/useUserQuotations';
|
|
6
|
+
export { default as useVerifyQuotation } from './hooks/useVerifyQuotation';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export { default as useCreateWarehousingProvider } from './hooks/useCreateWarehousingProvider';
|
|
2
|
+
export { default as useRemoveWarehousingProvider } from './hooks/useRemoveWarehousingProvider';
|
|
3
|
+
export { default as useUpdateWarehousingProvider } from './hooks/useUpdateWarehousingProvider';
|
|
4
|
+
export { default as useWarehousingInterfacesByType } from './hooks/useWarehousingInterfacesByType';
|
|
5
|
+
export { default as useWarehousingProvider } from './hooks/useWarehousingProvider';
|
|
6
|
+
export { default as useWarehousingProviderTypes } from './hooks/useWarehousingProviderTypes';
|
|
7
|
+
export { default as useWarehousingProviders } from './hooks/useWarehousingProviders';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export { default as useActiveWorkTypes } from './hooks/useActiveWorkTypes';
|
|
2
|
+
export { default as useAddWork } from './hooks/useAddWork';
|
|
3
|
+
export { default as useAllocateWork } from './hooks/useAllocateWork';
|
|
4
|
+
export { default as useRecentExports } from './hooks/useRecentExports';
|
|
5
|
+
export { default as useRegisteredWorkTypes } from './hooks/useRegisteredWorkTypes';
|
|
6
|
+
export { default as useRemoveWork } from './hooks/useRemoveWork';
|
|
7
|
+
export { default as useWork } from './hooks/useWork';
|
|
8
|
+
export { default as useWorkQueue } from './hooks/useWorkQueue';
|
|
@@ -0,0 +1,235 @@
|
|
|
1
|
+
# Admin UI Plugins
|
|
2
|
+
|
|
3
|
+
Extend the Unchained admin-ui with your own pages, entity managers, tabs, and
|
|
4
|
+
dashboard widgets — without forking it. A plugin is a single ESM bundle plus a
|
|
5
|
+
manifest you register on the engine; the admin-ui discovers and loads it at
|
|
6
|
+
runtime.
|
|
7
|
+
|
|
8
|
+
## How it works
|
|
9
|
+
|
|
10
|
+
- Plugins are built with `definePluginConfig()` from
|
|
11
|
+
`@unchainedshop/admin-ui/plugin-build` into one standard ESM bundle.
|
|
12
|
+
- Dependencies the host app already ships (React, Apollo, react-intl, the
|
|
13
|
+
`@unchainedshop/admin-ui/*` SDK modules, ...) are left as bare import
|
|
14
|
+
specifiers. In the browser, an import map resolves them to the host's own
|
|
15
|
+
module instances, so your plugin runs on the exact same React/Apollo as the
|
|
16
|
+
admin-ui. Everything else you import gets bundled in.
|
|
17
|
+
- The engine serves your bundle under `/admin-plugins/<name>.js` and a
|
|
18
|
+
manifest under `/admin-ui-plugins.json`; the admin-ui loads bundles with a
|
|
19
|
+
native dynamic `import()`.
|
|
20
|
+
|
|
21
|
+
The module graph (which specifiers are shared vs. bundled) is defined in
|
|
22
|
+
[`plugin-runtime.cjs`](./plugin-runtime.cjs), re-exported by `plugin-runtime.mjs` — see `SHARED_DEP_SHIMS` and
|
|
23
|
+
`SDK_ENTRY_KEYS`.
|
|
24
|
+
|
|
25
|
+
## Writing a plugin
|
|
26
|
+
|
|
27
|
+
Minimal project layout (see `examples/kitchensink/plugins/bookmark-manager`
|
|
28
|
+
for a complete one):
|
|
29
|
+
|
|
30
|
+
```
|
|
31
|
+
my-plugin/
|
|
32
|
+
├── package.json
|
|
33
|
+
├── tsup.config.ts
|
|
34
|
+
└── src/
|
|
35
|
+
└── index.tsx
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
`package.json`:
|
|
39
|
+
|
|
40
|
+
```json
|
|
41
|
+
{
|
|
42
|
+
"name": "my-plugin",
|
|
43
|
+
"type": "module",
|
|
44
|
+
"scripts": { "build": "tsup", "build:watch": "tsup --watch" },
|
|
45
|
+
"devDependencies": {
|
|
46
|
+
"@types/react": "^19.0.0",
|
|
47
|
+
"@unchainedshop/admin-ui": "^5.0.0-alpha.11",
|
|
48
|
+
"esbuild": "^0.25.0",
|
|
49
|
+
"react": "^19.0.0",
|
|
50
|
+
"tsup": "^8.0.0"
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
`tsup.config.ts`:
|
|
56
|
+
|
|
57
|
+
```ts
|
|
58
|
+
import { definePluginConfig } from '@unchainedshop/admin-ui/plugin-build';
|
|
59
|
+
|
|
60
|
+
export default definePluginConfig('my-plugin');
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
`src/index.tsx` — export every component your manifest references, as named
|
|
64
|
+
exports:
|
|
65
|
+
|
|
66
|
+
```tsx
|
|
67
|
+
export { default as ThingList } from './components/ThingList';
|
|
68
|
+
export { default as ThingDetail } from './components/ThingDetail';
|
|
69
|
+
export { default as ThingWidget } from './components/ThingWidget';
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
Inside components you can import from the host SDK:
|
|
73
|
+
|
|
74
|
+
```tsx
|
|
75
|
+
import { Button } from '@unchainedshop/admin-ui/ui';
|
|
76
|
+
import { useForm } from '@unchainedshop/admin-ui/hooks';
|
|
77
|
+
import { useProducts } from '@unchainedshop/admin-ui/modules/product';
|
|
78
|
+
import { usePluginRuntime } from '@unchainedshop/admin-ui/plugins';
|
|
79
|
+
import { useQuery } from '@apollo/client/react';
|
|
80
|
+
import { FormattedMessage } from 'react-intl';
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
SDK components and hooks use the host app's contexts: `useModal` opens the
|
|
84
|
+
admin-ui modal, `useApp` returns the selected locale and shop info, and
|
|
85
|
+
`useAuth().hasRole(action)` checks the actions of the user
|
|
86
|
+
(`User.allowedActions`), including the actions your plugin adds with
|
|
87
|
+
`rolesOptions.additionalActions`; administrators hold all of them. Build pages like the admin-ui does, with `BreadCrumbs`,
|
|
88
|
+
`PageHeader`, `Tab`, `FormWrapper` and `LocaleWrapper` from
|
|
89
|
+
`@unchainedshop/admin-ui/ui`; core forms such as `ProductTextsForm` and
|
|
90
|
+
`ProductMediaForm` (`@unchainedshop/admin-ui/modules/product`) can be embedded
|
|
91
|
+
as they are.
|
|
92
|
+
|
|
93
|
+
Form fields read their state from the `Form` provider, so wrap them in `Form`
|
|
94
|
+
from the same `form` entry and pass it the result of `useForm`:
|
|
95
|
+
|
|
96
|
+
```tsx
|
|
97
|
+
import { Form, TextField, SubmitButton } from '@unchainedshop/admin-ui/form';
|
|
98
|
+
import { useForm } from '@unchainedshop/admin-ui/hooks';
|
|
99
|
+
|
|
100
|
+
const ThingForm = ({ onSave }) => {
|
|
101
|
+
const form = useForm({
|
|
102
|
+
submit: async ({ title }) => ({ success: await onSave(title) }),
|
|
103
|
+
initialValues: { title: '' },
|
|
104
|
+
});
|
|
105
|
+
return (
|
|
106
|
+
<Form form={form}>
|
|
107
|
+
<TextField name="title" label="Title" required />
|
|
108
|
+
<SubmitButton label="Save" />
|
|
109
|
+
</Form>
|
|
110
|
+
);
|
|
111
|
+
};
|
|
112
|
+
```
|
|
113
|
+
|
|
114
|
+
## Registering a plugin on the engine
|
|
115
|
+
|
|
116
|
+
Pass the manifest in the `adminUI.plugins` option of the Express or Fastify
|
|
117
|
+
`connect()`:
|
|
118
|
+
|
|
119
|
+
```ts
|
|
120
|
+
adminUI: {
|
|
121
|
+
plugins: [
|
|
122
|
+
{
|
|
123
|
+
name: 'my-plugin', // [a-z0-9._-], used in URLs
|
|
124
|
+
version: '1.0.0', // optional, informational
|
|
125
|
+
bundlePath: resolve(__dirname, '../plugins/my-plugin/dist/index.js'),
|
|
126
|
+
navigation: { // optional: groups nav items in a submenu
|
|
127
|
+
label: 'My Plugin',
|
|
128
|
+
icon: 'bookmark', // heroicon name
|
|
129
|
+
requiredRole: 'viewProducts',
|
|
130
|
+
sortOrder: 75, // position among sidebar items, see below
|
|
131
|
+
},
|
|
132
|
+
slots: {
|
|
133
|
+
entities: [
|
|
134
|
+
{
|
|
135
|
+
path: '/things', // page lives at /ext/things
|
|
136
|
+
label: 'Things',
|
|
137
|
+
icon: 'bookmark',
|
|
138
|
+
requiredRole: 'viewProducts',
|
|
139
|
+
sortOrder: 75,
|
|
140
|
+
components: {
|
|
141
|
+
list: 'ThingList', // must match a named export of the bundle
|
|
142
|
+
detail: 'ThingDetail',
|
|
143
|
+
create: 'ThingCreate' // optional
|
|
144
|
+
},
|
|
145
|
+
},
|
|
146
|
+
],
|
|
147
|
+
pages: [
|
|
148
|
+
{ path: '/reports', label: 'Reports', component: 'ReportsPage' },
|
|
149
|
+
],
|
|
150
|
+
'dashboard:widgets': [
|
|
151
|
+
{ component: 'ThingWidget', width: 'half' }, // full | half | third
|
|
152
|
+
],
|
|
153
|
+
'product:tabs': [
|
|
154
|
+
{ label: 'Things', component: 'ProductThingsTab' },
|
|
155
|
+
],
|
|
156
|
+
},
|
|
157
|
+
},
|
|
158
|
+
],
|
|
159
|
+
}
|
|
160
|
+
```
|
|
161
|
+
|
|
162
|
+
Slot types: `entities` (list/detail/create pages under `/ext/<path>`),
|
|
163
|
+
`pages` (single custom page under `/ext/<path>`), `dashboard:widgets`, and
|
|
164
|
+
`<entity>:tabs` for `product`, `assortment`, `filter`, `user`, `order`.
|
|
165
|
+
|
|
166
|
+
- `requiredRole` — action name (such as `viewProducts`) checked against the logged-in user's `allowedActions`; the item is
|
|
167
|
+
hidden without it.
|
|
168
|
+
- `sortOrder` — position in the sidebar. Built-in items use 0–130 in steps of
|
|
169
|
+
10 (Orders 30, Products 40, Users 70, System settings 110, ...). Items
|
|
170
|
+
without a `sortOrder` keep their relative order after ordered ones. Inside a
|
|
171
|
+
navigation group, the `sortOrder` of the entities and pages orders the
|
|
172
|
+
submenu.
|
|
173
|
+
|
|
174
|
+
Plugins with the same `navigation.label` share one submenu: the first plugin's
|
|
175
|
+
icon is used, the group takes the lowest `sortOrder`, and a group
|
|
176
|
+
`requiredRole` only applies if every plugin of the group sets the same one.
|
|
177
|
+
Each page still comes from the bundle of the plugin that declares it, so a
|
|
178
|
+
project can add its own pages to the submenu of a package plugin, for example
|
|
179
|
+
`navigation: ticketingNavigation` from `@unchainedshop/ticketing/admin-plugin`.
|
|
180
|
+
|
|
181
|
+
At startup the engine validates the manifest against the bundle and logs a
|
|
182
|
+
warning if a referenced component is not exported, if two plugins share a
|
|
183
|
+
name, or if the bundle was built against a different admin-ui SDK version
|
|
184
|
+
than the one running.
|
|
185
|
+
|
|
186
|
+
## Development workflow
|
|
187
|
+
|
|
188
|
+
### Client project with the packaged Admin UI
|
|
189
|
+
|
|
190
|
+
The engine can serve the prebuilt Admin UI from the installed
|
|
191
|
+
`@unchainedshop/admin-ui` npm package while you develop local extensions.
|
|
192
|
+
Register the local plugin's `dist/index.js` as its `bundlePath`, build the
|
|
193
|
+
plugin before starting the engine, and run its build watcher alongside the
|
|
194
|
+
engine. Open the engine's Admin UI URL and refresh after a successful rebuild.
|
|
195
|
+
Only the local extension needs rebuilding; the packaged Admin UI stays prebuilt.
|
|
196
|
+
|
|
197
|
+
Both Kitchensink examples provide this workflow through `npm run dev` in the
|
|
198
|
+
example directory: an initial plugin build followed by backend and plugin
|
|
199
|
+
watchers. `npm run dev:server` starts only the backend. The repository root's
|
|
200
|
+
`npm run dev` also starts Next.js for development of the Admin UI itself.
|
|
201
|
+
|
|
202
|
+
In a standalone project, use published package versions instead of the
|
|
203
|
+
examples' repository-local `file:` dependencies, and use the same
|
|
204
|
+
`@unchainedshop/admin-ui` version for the engine and plugin build. Install the
|
|
205
|
+
plugin's dependencies separately if it is not included in your npm workspaces.
|
|
206
|
+
|
|
207
|
+
### Rebuilds and refreshes
|
|
208
|
+
|
|
209
|
+
Run the plugin build in watch mode next to the engine:
|
|
210
|
+
|
|
211
|
+
```bash
|
|
212
|
+
cd my-plugin && npm run build:watch
|
|
213
|
+
```
|
|
214
|
+
|
|
215
|
+
In dev mode (`NODE_ENV !== 'production'`) the engine picks up bundle changes
|
|
216
|
+
on the next manifest request — reload the admin-ui to get the new bundle. In
|
|
217
|
+
production, bundles are read once at startup and served with immutable
|
|
218
|
+
caching, keyed by content hash.
|
|
219
|
+
|
|
220
|
+
The plugin bundle must exist when the engine starts. If it was missing at
|
|
221
|
+
startup, build it and restart the engine. This workflow uses browser refreshes;
|
|
222
|
+
it does not provide React Fast Refresh or preserve component state across edits.
|
|
223
|
+
|
|
224
|
+
## Content-Security-Policy
|
|
225
|
+
|
|
226
|
+
The engine injects the import map as an inline `<script type="importmap">`
|
|
227
|
+
tag. If you serve the admin-ui with a strict CSP, provide a nonce and it will
|
|
228
|
+
be added to the tag:
|
|
229
|
+
|
|
230
|
+
- **Express + helmet**: set `res.locals.cspNonce` in a middleware (as in
|
|
231
|
+
helmet's CSP nonce docs) before the admin-ui router.
|
|
232
|
+
- **Fastify + @fastify/helmet**: register with `enableCSPNonces: true`; the
|
|
233
|
+
engine reads `reply.cspNonce.script`.
|
|
234
|
+
|
|
235
|
+
Without a nonce, `script-src` must allow the inline import map tag.
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import assert from 'node:assert/strict';
|
|
2
|
+
import { readFileSync } from 'node:fs';
|
|
3
|
+
import test from 'node:test';
|
|
4
|
+
|
|
5
|
+
// The form fields read their state from the Form provider (FormContext + react-hook-form), so a
|
|
6
|
+
// plugin can only use them when the same `form` entry also exports Form.
|
|
7
|
+
test('the form entry exports Form next to its fields', () => {
|
|
8
|
+
const source = readFileSync(new URL('../components/ui/form/index.ts', import.meta.url), 'utf8');
|
|
9
|
+
assert.match(source, /export \{ default as Form \} from '..\/..\/..\/modules\/forms\/components\/Form';/);
|
|
10
|
+
assert.match(source, /export \{ default as TextField \}/);
|
|
11
|
+
});
|
package/src/sdk/hooks.ts
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export { default as useTheme } from '../modules/common/hooks/useTheme';
|
|
2
|
+
export { default as useLocalStorage } from '../modules/common/hooks/useLocalStorage';
|
|
3
|
+
export { default as useOutsideClick } from '../modules/common/hooks/useOutsideClick';
|
|
4
|
+
export { default as useModal } from '../modules/modal/hooks/useModal';
|
|
5
|
+
export { default as useField } from '../modules/forms/hooks/useField';
|
|
6
|
+
export type {
|
|
7
|
+
FieldHookProps,
|
|
8
|
+
ComputedProps,
|
|
9
|
+
} from '../modules/forms/hooks/useField';
|
|
10
|
+
export { default as useForm } from '../modules/forms/hooks/useForm';
|
|
11
|
+
export { default as useFormContext } from '../modules/forms/hooks/useFormContext';
|
|
12
|
+
// Host state (shared contexts): the selected locale and shop info, and the roles of the user
|
|
13
|
+
export { default as useApp } from '../modules/common/hooks/useApp';
|
|
14
|
+
export { default as useAuth } from '../modules/Auth/useAuth';
|
|
15
|
+
export { default as useFormatDateTime } from '../modules/common/utils/useFormatDateTime';
|
package/src/sdk/modal.ts
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export { default as Modal } from '../modules/modal/components/Modal';
|
|
2
|
+
export { default as ModalWrapper } from '../modules/modal/components/ModalWrapper';
|
|
3
|
+
export { default as AlertMessage } from '../modules/modal/components/AlertMessage';
|
|
4
|
+
export { default as DangerMessage } from '../modules/modal/components/DangerMessage';
|
|
5
|
+
export { default as useModal } from '../modules/modal/hooks/useModal';
|
|
6
|
+
export { default as ModalContext } from '../modules/modal/utils/ModalContext';
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import { readFileSync } from 'node:fs';
|
|
2
|
+
import { defineConfig } from 'tsup';
|
|
3
|
+
import { PLUGIN_EXTERNALS } from './plugin-runtime.mjs';
|
|
4
|
+
|
|
5
|
+
// Version of the admin-ui SDK this plugin is built against, stamped into the
|
|
6
|
+
// bundle banner so the engine can warn about plugin/host version skew.
|
|
7
|
+
const SDK_VERSION = (() => {
|
|
8
|
+
try {
|
|
9
|
+
return JSON.parse(readFileSync(new URL('../../package.json', import.meta.url), 'utf-8')).version;
|
|
10
|
+
} catch {
|
|
11
|
+
return null;
|
|
12
|
+
}
|
|
13
|
+
})();
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Build configuration for admin-ui plugins.
|
|
17
|
+
*
|
|
18
|
+
* Plugins are compiled to a single standard ESM bundle. Dependencies provided
|
|
19
|
+
* by the host admin-ui (react, @apollo/client, @unchainedshop/admin-ui/*, ...)
|
|
20
|
+
* are left as bare import specifiers; at runtime the admin-ui resolves them
|
|
21
|
+
* through a browser import map to the host's own module instances, so plugins
|
|
22
|
+
* share one React/Apollo instance with the app. Everything else (plugin-local
|
|
23
|
+
* dependencies) is bundled in.
|
|
24
|
+
*
|
|
25
|
+
* The bundle is loaded by the admin-ui with a native dynamic import(); its
|
|
26
|
+
* module exports are the components referenced from the plugin manifest.
|
|
27
|
+
*/
|
|
28
|
+
export function definePluginConfig(pluginName, entry = 'src/index.tsx') {
|
|
29
|
+
return defineConfig({
|
|
30
|
+
entry: { index: entry },
|
|
31
|
+
format: ['esm'],
|
|
32
|
+
platform: 'browser',
|
|
33
|
+
target: 'es2022',
|
|
34
|
+
outDir: 'dist',
|
|
35
|
+
outExtension: () => ({ js: '.js' }),
|
|
36
|
+
dts: false,
|
|
37
|
+
splitting: false,
|
|
38
|
+
sourcemap: false,
|
|
39
|
+
clean: true,
|
|
40
|
+
banner: {
|
|
41
|
+
js: `/* unchained admin-ui plugin: ${JSON.stringify(pluginName)} (esm${SDK_VERSION ? `, sdk ${SDK_VERSION}` : ''}) */`,
|
|
42
|
+
},
|
|
43
|
+
esbuildPlugins: [handleExternals(PLUGIN_EXTERNALS)],
|
|
44
|
+
});
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
const SHIM_NS = 'unchained-cjs-esm-bridge';
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* Unified esbuild plugin that handles shared dependencies declared as external.
|
|
51
|
+
*
|
|
52
|
+
* ESM imports (kind "import-statement") are marked external so the bare
|
|
53
|
+
* specifier is preserved in the output for the browser import map.
|
|
54
|
+
*
|
|
55
|
+
* CJS require() calls (kind "require-call") from bundled CJS dependencies
|
|
56
|
+
* (e.g. @unchainedshop/client) are redirected to virtual ESM re-export modules.
|
|
57
|
+
* Without this, esbuild wraps them as __require() which throws in the browser.
|
|
58
|
+
*
|
|
59
|
+
* This plugin replaces both tsup's built-in `external` option (which cannot
|
|
60
|
+
* distinguish import kinds) and the previous rewriteCjsExternals plugin. The
|
|
61
|
+
* admin-ui SDK build uses it too: Headless UI and recharts bundle the CJS
|
|
62
|
+
* use-sync-external-store, which require()s react.
|
|
63
|
+
*/
|
|
64
|
+
export function handleExternals(externals) {
|
|
65
|
+
const isExternal = (id) =>
|
|
66
|
+
externals.some((ext) =>
|
|
67
|
+
ext instanceof RegExp ? ext.test(id) : ext === id,
|
|
68
|
+
);
|
|
69
|
+
|
|
70
|
+
return {
|
|
71
|
+
name: 'unchained-handle-externals',
|
|
72
|
+
setup(build) {
|
|
73
|
+
build.onResolve({ filter: /.*/ }, (args) => {
|
|
74
|
+
if (!isExternal(args.path)) return undefined;
|
|
75
|
+
|
|
76
|
+
if (args.kind === 'require-call' || args.kind === 'require-resolve') {
|
|
77
|
+
return { path: args.path, namespace: SHIM_NS };
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
return { path: args.path, external: true };
|
|
81
|
+
});
|
|
82
|
+
|
|
83
|
+
build.onLoad({ filter: /.*/, namespace: SHIM_NS }, (args) => {
|
|
84
|
+
const spec = JSON.stringify(args.path);
|
|
85
|
+
return {
|
|
86
|
+
contents: [
|
|
87
|
+
`import * as _ns from ${spec};`,
|
|
88
|
+
`export default _ns.default;`,
|
|
89
|
+
`export * from ${spec};`,
|
|
90
|
+
].join('\n'),
|
|
91
|
+
loader: 'js',
|
|
92
|
+
resolveDir: '.',
|
|
93
|
+
};
|
|
94
|
+
});
|
|
95
|
+
},
|
|
96
|
+
};
|
|
97
|
+
}
|