ingeniuscliq-core 0.4.13 → 0.4.15
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 +417 -0
- package/dist/_virtual/index.js +5 -0
- package/dist/_virtual/index2.js +3 -0
- package/dist/_virtual/use-sync-external-store-shim.development.js +3 -0
- package/dist/_virtual/use-sync-external-store-shim.production.js +3 -0
- package/dist/assets/logo.svg.js +3 -0
- package/dist/classes/CoreBuilder.d.ts +1 -0
- package/dist/classes/CoreBuilder.d.ts.map +1 -0
- package/dist/classes/CoreBuilder.js +4 -0
- package/dist/classes/index.d.ts +1 -0
- package/dist/classes/index.d.ts.map +1 -0
- package/dist/components/common/carousel/CustomCarousel.d.ts +2 -1
- package/dist/components/common/carousel/CustomCarousel.d.ts.map +1 -0
- package/dist/components/common/carousel/CustomCarousel.tsx +26 -0
- package/dist/components/common/carousel/CustomCarouselSection.d.ts +2 -1
- package/dist/components/common/carousel/CustomCarouselSection.d.ts.map +1 -0
- package/dist/components/common/carousel/CustomCarouselSection.tsx +41 -0
- package/dist/components/common/carousel/index.d.ts +3 -2
- package/dist/components/common/carousel/index.d.ts.map +1 -0
- package/dist/components/common/form/CustomFormField.d.ts +4 -2
- package/dist/components/common/form/CustomFormField.d.ts.map +1 -0
- package/dist/components/common/form/CustomFormField.tsx +29 -0
- package/dist/components/common/form/FormCheckbox.d.ts +5 -1
- package/dist/components/common/form/FormCheckbox.d.ts.map +1 -0
- package/dist/components/common/form/FormCheckbox.tsx +57 -0
- package/dist/components/common/form/FormInput.d.ts +4 -1
- package/dist/components/common/form/FormInput.d.ts.map +1 -0
- package/dist/components/common/form/FormInput.tsx +60 -0
- package/dist/components/common/form/FormSelect.d.ts +8 -2
- package/dist/components/common/form/FormSelect.d.ts.map +1 -0
- package/dist/components/common/form/FormSelect.tsx +78 -0
- package/dist/components/common/form/FormTextArea.d.ts +6 -4
- package/dist/components/common/form/FormTextArea.d.ts.map +1 -0
- package/dist/components/common/form/FormTextArea.tsx +57 -0
- package/dist/components/common/form/FormWrapper.d.ts +2 -1
- package/dist/components/common/form/FormWrapper.d.ts.map +1 -0
- package/dist/components/common/form/FormWrapper.tsx +21 -0
- package/dist/components/common/form/index.d.ts +4 -3
- package/dist/components/common/form/index.d.ts.map +1 -0
- package/dist/components/common/index.d.ts +2 -0
- package/dist/components/common/index.d.ts.map +1 -0
- package/dist/components/common/logo/Logo.d.ts +2 -1
- package/dist/components/common/logo/Logo.d.ts.map +1 -0
- package/dist/components/common/logo/Logo.tsx +40 -0
- package/dist/components/common/logo/index.d.ts +1 -0
- package/dist/components/common/logo/index.d.ts.map +1 -0
- package/dist/components/common/pagination/CustomPagination.d.ts +2 -1
- package/dist/components/common/pagination/CustomPagination.d.ts.map +1 -0
- package/dist/components/common/pagination/CustomPagination.tsx +64 -0
- package/dist/components/common/pagination/index.d.ts +1 -0
- package/dist/components/common/pagination/index.d.ts.map +1 -0
- package/dist/components/common/select/CustomSelect.d.ts +2 -1
- package/dist/components/common/select/CustomSelect.d.ts.map +1 -0
- package/dist/components/common/select/CustomSelect.tsx +27 -0
- package/dist/components/common/select/index.d.ts +1 -0
- package/dist/components/common/select/index.d.ts.map +1 -0
- package/dist/components/common/spinner/Spinner.d.ts +1 -0
- package/dist/components/common/spinner/Spinner.d.ts.map +1 -0
- package/dist/components/common/spinner/Spinner.tsx +32 -0
- package/dist/components/common/spinner/index.d.ts +1 -0
- package/dist/components/common/spinner/index.d.ts.map +1 -0
- package/dist/components/common/stepper/Stepper.d.ts +18 -0
- package/dist/components/common/stepper/Stepper.d.ts.map +1 -0
- package/dist/components/common/stepper/Stepper.tsx +59 -0
- package/dist/components/common/stepper/index.d.ts +2 -0
- package/dist/components/common/stepper/index.d.ts.map +1 -0
- package/dist/components/index.d.ts +5 -4
- package/dist/components/index.d.ts.map +1 -0
- package/dist/components/layouts/CoreBaseLayout.d.ts +3 -1
- package/dist/components/layouts/CoreBaseLayout.d.ts.map +1 -0
- package/dist/components/layouts/CoreBaseLayout.tsx +19 -0
- package/dist/components/layouts/index.d.ts +1 -0
- package/dist/components/layouts/index.d.ts.map +1 -0
- package/dist/components/templates/CoreHomeLayout.d.ts +1 -0
- package/dist/components/templates/CoreHomeLayout.d.ts.map +1 -0
- package/dist/components/templates/CoreHomeLayout.tsx +8 -0
- package/dist/components/templates/CorePreviewLayout.d.ts +2 -1
- package/dist/components/templates/CorePreviewLayout.d.ts.map +1 -0
- package/dist/components/templates/CorePreviewLayout.tsx +27 -0
- package/dist/components/templates/index.d.ts +1 -0
- package/dist/components/templates/index.d.ts.map +1 -0
- package/dist/components/ui/accordion.d.ts +5 -4
- package/dist/components/ui/accordion.d.ts.map +1 -0
- package/dist/components/ui/accordion.tsx +44 -0
- package/dist/components/ui/alert-dialog.d.ts +18 -11
- package/dist/components/ui/alert-dialog.d.ts.map +1 -0
- package/dist/components/ui/alert-dialog.tsx +106 -0
- package/dist/components/ui/alert.d.ts +5 -5
- package/dist/components/ui/alert.d.ts.map +1 -0
- package/dist/components/ui/alert.tsx +49 -0
- package/dist/components/ui/avatar.d.ts +4 -3
- package/dist/components/ui/avatar.d.ts.map +1 -0
- package/dist/components/ui/avatar.tsx +40 -0
- package/dist/components/ui/badge.d.ts +5 -3
- package/dist/components/ui/badge.d.ts.map +1 -0
- package/dist/components/ui/badge.tsx +26 -0
- package/dist/components/ui/breadcrumb.d.ts +17 -8
- package/dist/components/ui/breadcrumb.d.ts.map +1 -0
- package/dist/components/ui/breadcrumb.tsx +88 -0
- package/dist/components/ui/button.d.ts +5 -3
- package/dist/components/ui/button.d.ts.map +1 -0
- package/dist/components/ui/button.tsx +47 -0
- package/dist/components/ui/card.d.ts +9 -8
- package/dist/components/ui/card.d.ts.map +1 -0
- package/dist/components/ui/card.tsx +68 -0
- package/dist/components/ui/carousel.d.ts +6 -6
- package/dist/components/ui/carousel.d.ts.map +1 -0
- package/dist/components/ui/carousel.tsx +191 -0
- package/dist/components/ui/checkbox.d.ts +2 -1
- package/dist/components/ui/checkbox.d.ts.map +1 -0
- package/dist/components/ui/checkbox.tsx +28 -0
- package/dist/components/ui/dialog.d.ts +19 -12
- package/dist/components/ui/dialog.d.ts.map +1 -0
- package/dist/components/ui/dialog.tsx +95 -0
- package/dist/components/ui/dropdown-menu.d.ts +24 -20
- package/dist/components/ui/dropdown-menu.d.ts.map +1 -0
- package/dist/components/ui/dropdown-menu.tsx +140 -0
- package/dist/components/ui/form.d.ts +6 -6
- package/dist/components/ui/form.d.ts.map +1 -0
- package/dist/components/ui/form.tsx +102 -0
- package/dist/components/ui/index.d.ts +2 -6
- package/dist/components/ui/index.d.ts.map +1 -0
- package/dist/components/ui/input.d.ts +3 -3
- package/dist/components/ui/input.d.ts.map +1 -0
- package/dist/components/ui/input.tsx +25 -0
- package/dist/components/ui/label.d.ts +3 -1
- package/dist/components/ui/label.d.ts.map +1 -0
- package/dist/components/ui/label.tsx +20 -0
- package/dist/components/ui/pagination.d.ts +27 -12
- package/dist/components/ui/pagination.d.ts.map +1 -0
- package/dist/components/ui/pagination.tsx +122 -0
- package/dist/components/ui/popover.d.ts +5 -4
- package/dist/components/ui/popover.d.ts.map +1 -0
- package/dist/components/ui/popover.tsx +24 -0
- package/dist/components/ui/radio-group.d.ts +3 -2
- package/dist/components/ui/radio-group.d.ts.map +1 -0
- package/dist/components/ui/radio-group.tsx +34 -0
- package/dist/components/ui/select.d.ts +13 -12
- package/dist/components/ui/select.d.ts.map +1 -0
- package/dist/components/ui/select.tsx +128 -0
- package/dist/components/ui/separator.d.ts +2 -1
- package/dist/components/ui/separator.d.ts.map +1 -0
- package/dist/components/ui/separator.tsx +24 -0
- package/dist/components/ui/sheet.d.ts +26 -11
- package/dist/components/ui/sheet.d.ts.map +1 -0
- package/dist/components/ui/sheet.tsx +106 -0
- package/dist/components/ui/skeleton.d.ts +3 -1
- package/dist/components/ui/skeleton.d.ts.map +1 -0
- package/dist/components/ui/skeleton.tsx +17 -0
- package/dist/components/ui/slider.d.ts +2 -1
- package/dist/components/ui/slider.d.ts.map +1 -0
- package/dist/components/ui/slider.tsx +31 -0
- package/dist/components/ui/stepper.d.ts +40 -32
- package/dist/components/ui/stepper.d.ts.map +1 -0
- package/dist/components/ui/stepper.tsx +452 -0
- package/dist/components/ui/switch.d.ts +2 -1
- package/dist/components/ui/switch.d.ts.map +1 -0
- package/dist/components/ui/switch.tsx +27 -0
- package/dist/components/ui/table.d.ts +9 -8
- package/dist/components/ui/table.d.ts.map +1 -0
- package/dist/components/ui/table.tsx +80 -0
- package/dist/components/ui/tabs.d.ts +5 -4
- package/dist/components/ui/tabs.d.ts.map +1 -0
- package/dist/components/ui/tabs.tsx +45 -0
- package/dist/components/ui/textarea.d.ts +2 -1
- package/dist/components/ui/textarea.d.ts.map +1 -0
- package/dist/components/ui/textarea.tsx +22 -0
- package/dist/components/ui/tooltip.d.ts +5 -4
- package/dist/components/ui/tooltip.d.ts.map +1 -0
- package/dist/components/ui/tooltip.tsx +23 -0
- package/dist/constants/index.d.ts +2 -1
- package/dist/constants/index.d.ts.map +1 -0
- package/dist/helpers/axiosGlobal.d.ts +7 -5
- package/dist/helpers/axiosGlobal.d.ts.map +1 -0
- package/dist/helpers/axiosGlobal.js +66 -0
- package/dist/helpers/image.d.ts +1 -0
- package/dist/helpers/image.d.ts.map +1 -0
- package/dist/helpers/image.js +11 -0
- package/dist/helpers/index.d.ts +1 -2
- package/dist/helpers/index.d.ts.map +1 -0
- package/dist/helpers/numbers.d.ts +1 -0
- package/dist/helpers/numbers.d.ts.map +1 -0
- package/dist/helpers/numbers.js +8 -0
- package/dist/helpers/strings.d.ts +1 -0
- package/dist/helpers/strings.d.ts.map +1 -0
- package/dist/helpers/strings.js +6 -0
- package/dist/hooks/index.d.ts +1 -0
- package/dist/hooks/index.d.ts.map +1 -0
- package/dist/hooks/use-mobile.d.ts +1 -0
- package/dist/hooks/use-mobile.d.ts.map +1 -0
- package/dist/hooks/use-mobile.js +16 -0
- package/dist/hooks/useLanguage.d.ts +5 -0
- package/dist/hooks/useLanguage.d.ts.map +1 -0
- package/dist/hooks/useLanguage.js +32 -0
- package/dist/hooks/useNotification.d.ts +1 -0
- package/dist/hooks/useNotification.d.ts.map +1 -0
- package/dist/hooks/useNotification.js +17 -0
- package/dist/i18n/config.d.ts +82 -68
- package/dist/i18n/config.d.ts.map +1 -0
- package/dist/i18n/config.js +58 -0
- package/dist/i18n/index.d.ts +3 -0
- package/dist/i18n/index.d.ts.map +1 -0
- package/dist/i18n/locales/en.json.js +12 -0
- package/dist/i18n/locales/es.json.js +12 -0
- package/dist/i18n/locales/fields/en.json.js +52 -0
- package/dist/i18n/locales/fields/es.json.js +52 -0
- package/dist/i18n/locales/messages/en.json.js +14 -0
- package/dist/i18n/locales/messages/es.json.js +14 -0
- package/dist/i18n/utils/getModuleNamespace.d.ts +16 -0
- package/dist/i18n/utils/getModuleNamespace.d.ts.map +1 -0
- package/dist/i18n/utils/getModuleNamespace.js +10 -0
- package/dist/i18n/utils/loadModuleTranslations.d.ts +5 -0
- package/dist/i18n/utils/loadModuleTranslations.d.ts.map +1 -0
- package/dist/i18n/utils/loadModuleTranslations.js +21 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +87 -20192
- package/dist/ingeniuscliq-core.css +1240 -0
- package/dist/lib/utils.d.ts +1 -0
- package/dist/lib/utils.d.ts.map +1 -0
- package/dist/lib/utils.js +8 -0
- package/dist/modules/CoreAuth/classes/CoreAuthBuilder.d.ts +5 -3
- package/dist/modules/CoreAuth/classes/CoreAuthBuilder.d.ts.map +1 -0
- package/dist/modules/CoreAuth/classes/CoreAuthBuilder.js +185 -0
- package/dist/modules/CoreAuth/classes/index.d.ts +1 -0
- package/dist/modules/CoreAuth/classes/index.d.ts.map +1 -0
- package/dist/modules/CoreAuth/constants/auth.d.ts +1 -0
- package/dist/modules/CoreAuth/constants/auth.d.ts.map +1 -0
- package/dist/modules/CoreAuth/constants/auth.js +6 -0
- package/dist/modules/CoreAuth/constants/index.d.ts +1 -0
- package/dist/modules/CoreAuth/constants/index.d.ts.map +1 -0
- package/dist/modules/CoreAuth/context/AuthContext.d.ts +12 -0
- package/dist/modules/CoreAuth/context/AuthContext.d.ts.map +1 -0
- package/dist/modules/CoreAuth/context/AuthContext.tsx +4 -0
- package/dist/modules/CoreAuth/context/index.d.ts +2 -0
- package/dist/modules/CoreAuth/context/index.d.ts.map +1 -0
- package/dist/modules/CoreAuth/hooks/index.d.ts +1 -0
- package/dist/modules/CoreAuth/hooks/index.d.ts.map +1 -0
- package/dist/modules/CoreAuth/hooks/useAuth.d.ts +10 -9
- package/dist/modules/CoreAuth/hooks/useAuth.d.ts.map +1 -0
- package/dist/modules/CoreAuth/hooks/useAuth.js +38 -0
- package/dist/modules/CoreAuth/index.d.ts +8 -1
- package/dist/modules/CoreAuth/index.d.ts.map +1 -0
- package/dist/modules/CoreAuth/index.js +11 -0
- package/dist/modules/CoreAuth/locale/en.json.js +4 -0
- package/dist/modules/CoreAuth/locale/es.json.js +4 -0
- package/dist/modules/CoreAuth/registry/hooks/index.d.ts +1 -0
- package/dist/modules/CoreAuth/registry/hooks/index.d.ts.map +1 -0
- package/dist/modules/CoreAuth/registry/index.d.ts +1 -0
- package/dist/modules/CoreAuth/registry/index.d.ts.map +1 -0
- package/dist/modules/CoreAuth/registry/types/index.d.ts +1 -0
- package/dist/modules/CoreAuth/registry/types/index.d.ts.map +1 -0
- package/dist/modules/CoreAuth/services/base.d.ts +24 -5
- package/dist/modules/CoreAuth/services/base.d.ts.map +1 -0
- package/dist/modules/CoreAuth/services/base.js +53 -0
- package/dist/modules/CoreAuth/services/index.d.ts +1 -0
- package/dist/modules/CoreAuth/services/index.d.ts.map +1 -0
- package/dist/modules/CoreAuth/stores/authStore.d.ts +15 -8
- package/dist/modules/CoreAuth/stores/authStore.d.ts.map +1 -0
- package/dist/modules/CoreAuth/stores/authStore.js +13 -0
- package/dist/modules/CoreAuth/stores/index.d.ts +1 -0
- package/dist/modules/CoreAuth/stores/index.d.ts.map +1 -0
- package/dist/modules/CoreAuth/types/CoreAuth.d.ts +10 -6
- package/dist/modules/CoreAuth/types/CoreAuth.d.ts.map +1 -0
- package/dist/modules/CoreAuth/types/index.d.ts +1 -0
- package/dist/modules/CoreAuth/types/index.d.ts.map +1 -0
- package/dist/modules/CoreCustomization/classes/CoreCustomizationBuilder.d.ts +8 -8
- package/dist/modules/CoreCustomization/classes/CoreCustomizationBuilder.d.ts.map +1 -0
- package/dist/modules/CoreCustomization/classes/CoreCustomizationBuilder.js +82 -0
- package/dist/modules/CoreCustomization/classes/index.d.ts +1 -0
- package/dist/modules/CoreCustomization/classes/index.d.ts.map +1 -0
- package/dist/modules/CoreCustomization/index.d.ts +4 -1
- package/dist/modules/CoreCustomization/index.d.ts.map +1 -0
- package/dist/modules/CoreCustomization/index.js +9 -0
- package/dist/modules/CoreCustomization/locale/en.json.js +4 -0
- package/dist/modules/CoreCustomization/locale/es.json.js +4 -0
- package/dist/modules/CoreCustomization/registry/index.d.ts +1 -0
- package/dist/modules/CoreCustomization/registry/index.d.ts.map +1 -0
- package/dist/modules/CoreCustomization/registry/types/index.d.ts +1 -0
- package/dist/modules/CoreCustomization/registry/types/index.d.ts.map +1 -0
- package/dist/modules/CoreCustomization/services/base.d.ts +8 -1
- package/dist/modules/CoreCustomization/services/base.d.ts.map +1 -0
- package/dist/modules/CoreCustomization/services/base.js +21 -0
- package/dist/modules/CoreCustomization/services/index.d.ts +1 -0
- package/dist/modules/CoreCustomization/services/index.d.ts.map +1 -0
- package/dist/modules/CoreCustomization/types/CoreCustomization.d.ts +1 -0
- package/dist/modules/CoreCustomization/types/CoreCustomization.d.ts.map +1 -0
- package/dist/modules/CoreCustomization/types/index.d.ts +1 -0
- package/dist/modules/CoreCustomization/types/index.d.ts.map +1 -0
- package/dist/modules/CoreOrder/classes/CoreOrderBuilder.d.ts +4 -3
- package/dist/modules/CoreOrder/classes/CoreOrderBuilder.d.ts.map +1 -0
- package/dist/modules/CoreOrder/classes/CoreOrderBuilder.js +113 -0
- package/dist/modules/CoreOrder/classes/index.d.ts +1 -0
- package/dist/modules/CoreOrder/classes/index.d.ts.map +1 -0
- package/dist/modules/CoreOrder/index.d.ts +4 -1
- package/dist/modules/CoreOrder/index.d.ts.map +1 -0
- package/dist/modules/CoreOrder/index.js +9 -0
- package/dist/modules/CoreOrder/locale/en.json.js +4 -0
- package/dist/modules/CoreOrder/locale/es.json.js +4 -0
- package/dist/modules/CoreOrder/registry/hooks/index.d.ts +1 -0
- package/dist/modules/CoreOrder/registry/hooks/index.d.ts.map +1 -0
- package/dist/modules/CoreOrder/registry/index.d.ts +1 -0
- package/dist/modules/CoreOrder/registry/index.d.ts.map +1 -0
- package/dist/modules/CoreOrder/registry/types/index.d.ts +1 -0
- package/dist/modules/CoreOrder/registry/types/index.d.ts.map +1 -0
- package/dist/modules/CoreOrder/services/base.d.ts +17 -1
- package/dist/modules/CoreOrder/services/base.d.ts.map +1 -0
- package/dist/modules/CoreOrder/services/base.js +27 -0
- package/dist/modules/CoreOrder/services/index.d.ts +1 -0
- package/dist/modules/CoreOrder/services/index.d.ts.map +1 -0
- package/dist/modules/CoreOrder/types/CoreOrder.d.ts +1 -0
- package/dist/modules/CoreOrder/types/CoreOrder.d.ts.map +1 -0
- package/dist/modules/CoreOrder/types/index.d.ts +1 -0
- package/dist/modules/CoreOrder/types/index.d.ts.map +1 -0
- package/dist/modules/CoreOrder/types/interfaces/OrderActions.d.ts +1 -0
- package/dist/modules/CoreOrder/types/interfaces/OrderActions.d.ts.map +1 -0
- package/dist/modules/CoreOrder/types/interfaces/index.d.ts +1 -0
- package/dist/modules/CoreOrder/types/interfaces/index.d.ts.map +1 -0
- package/dist/modules/CorePayForm/classes/CorePayFormBuilder.d.ts +12 -11
- package/dist/modules/CorePayForm/classes/CorePayFormBuilder.d.ts.map +1 -0
- package/dist/modules/CorePayForm/classes/CorePayFormBuilder.js +67 -0
- package/dist/modules/CorePayForm/classes/index.d.ts +1 -0
- package/dist/modules/CorePayForm/classes/index.d.ts.map +1 -0
- package/dist/modules/CorePayForm/index.d.ts +4 -1
- package/dist/modules/CorePayForm/index.d.ts.map +1 -0
- package/dist/modules/CorePayForm/index.js +9 -0
- package/dist/modules/CorePayForm/locale/en.json.js +4 -0
- package/dist/modules/CorePayForm/locale/es.json.js +4 -0
- package/dist/modules/CorePayForm/registry/hooks/index.d.ts +1 -0
- package/dist/modules/CorePayForm/registry/hooks/index.d.ts.map +1 -0
- package/dist/modules/CorePayForm/registry/index.d.ts +1 -0
- package/dist/modules/CorePayForm/registry/index.d.ts.map +1 -0
- package/dist/modules/CorePayForm/registry/types/index.d.ts +1 -0
- package/dist/modules/CorePayForm/registry/types/index.d.ts.map +1 -0
- package/dist/modules/CorePayForm/services/base.d.ts +12 -1
- package/dist/modules/CorePayForm/services/base.d.ts.map +1 -0
- package/dist/modules/CorePayForm/services/base.js +21 -0
- package/dist/modules/CorePayForm/services/index.d.ts +1 -0
- package/dist/modules/CorePayForm/services/index.d.ts.map +1 -0
- package/dist/modules/CorePayForm/types/CorePayForm.d.ts +1 -0
- package/dist/modules/CorePayForm/types/CorePayForm.d.ts.map +1 -0
- package/dist/modules/CorePayForm/types/index.d.ts +1 -0
- package/dist/modules/CorePayForm/types/index.d.ts.map +1 -0
- package/dist/modules/CoreProduct/classes/CoreProductBuilder.d.ts +5 -4
- package/dist/modules/CoreProduct/classes/CoreProductBuilder.d.ts.map +1 -0
- package/dist/modules/CoreProduct/classes/CoreProductBuilder.js +120 -0
- package/dist/modules/CoreProduct/classes/index.d.ts +1 -0
- package/dist/modules/CoreProduct/classes/index.d.ts.map +1 -0
- package/dist/modules/CoreProduct/index.d.ts +4 -1
- package/dist/modules/CoreProduct/index.d.ts.map +1 -0
- package/dist/modules/CoreProduct/index.js +9 -0
- package/dist/modules/CoreProduct/locale/en.json.js +14 -0
- package/dist/modules/CoreProduct/locale/es.json.js +14 -0
- package/dist/modules/CoreProduct/registry/index.d.ts +1 -0
- package/dist/modules/CoreProduct/registry/index.d.ts.map +1 -0
- package/dist/modules/CoreProduct/registry/types/index.d.ts +1 -0
- package/dist/modules/CoreProduct/registry/types/index.d.ts.map +1 -0
- package/dist/modules/CoreProduct/services/base.d.ts +20 -7
- package/dist/modules/CoreProduct/services/base.d.ts.map +1 -0
- package/dist/modules/CoreProduct/services/base.js +35 -0
- package/dist/modules/CoreProduct/services/index.d.ts +1 -0
- package/dist/modules/CoreProduct/services/index.d.ts.map +1 -0
- package/dist/modules/CoreProduct/types/CoreProduct.d.ts +1 -0
- package/dist/modules/CoreProduct/types/CoreProduct.d.ts.map +1 -0
- package/dist/modules/CoreProduct/types/CoreProductCategory.d.ts +1 -0
- package/dist/modules/CoreProduct/types/CoreProductCategory.d.ts.map +1 -0
- package/dist/modules/CoreProduct/types/index.d.ts +1 -0
- package/dist/modules/CoreProduct/types/index.d.ts.map +1 -0
- package/dist/modules/CoreShipment/classes/CoreShipmentBuilder.d.ts +6 -5
- package/dist/modules/CoreShipment/classes/CoreShipmentBuilder.d.ts.map +1 -0
- package/dist/modules/CoreShipment/classes/CoreShipmentBuilder.js +172 -0
- package/dist/modules/CoreShipment/classes/index.d.ts +1 -0
- package/dist/modules/CoreShipment/classes/index.d.ts.map +1 -0
- package/dist/modules/CoreShipment/index.d.ts +4 -1
- package/dist/modules/CoreShipment/index.d.ts.map +1 -0
- package/dist/modules/CoreShipment/index.js +9 -0
- package/dist/modules/CoreShipment/locale/en.json.js +14 -0
- package/dist/modules/CoreShipment/locale/es.json.js +14 -0
- package/dist/modules/CoreShipment/registry/classes/index.d.ts +1 -0
- package/dist/modules/CoreShipment/registry/classes/index.d.ts.map +1 -0
- package/dist/modules/CoreShipment/registry/index.d.ts +1 -0
- package/dist/modules/CoreShipment/registry/index.d.ts.map +1 -0
- package/dist/modules/CoreShipment/registry/services/index.d.ts +1 -0
- package/dist/modules/CoreShipment/registry/services/index.d.ts.map +1 -0
- package/dist/modules/CoreShipment/registry/types/index.d.ts +1 -0
- package/dist/modules/CoreShipment/registry/types/index.d.ts.map +1 -0
- package/dist/modules/CoreShipment/services/base.d.ts +30 -2
- package/dist/modules/CoreShipment/services/base.d.ts.map +1 -0
- package/dist/modules/CoreShipment/services/base.js +63 -0
- package/dist/modules/CoreShipment/services/index.d.ts +1 -0
- package/dist/modules/CoreShipment/services/index.d.ts.map +1 -0
- package/dist/modules/CoreShipment/types/CoreShipment.d.ts +1 -0
- package/dist/modules/CoreShipment/types/CoreShipment.d.ts.map +1 -0
- package/dist/modules/CoreShipment/types/CoreShipment.js +7 -0
- package/dist/modules/CoreShipment/types/index.d.ts +1 -0
- package/dist/modules/CoreShipment/types/index.d.ts.map +1 -0
- package/dist/modules/CoreShopCart/classes/CoreShopCartBuilder.d.ts +16 -5
- package/dist/modules/CoreShopCart/classes/CoreShopCartBuilder.d.ts.map +1 -0
- package/dist/modules/CoreShopCart/classes/CoreShopCartBuilder.js +166 -0
- package/dist/modules/CoreShopCart/classes/index.d.ts +1 -0
- package/dist/modules/CoreShopCart/classes/index.d.ts.map +1 -0
- package/dist/modules/CoreShopCart/constants/index.d.ts +1 -0
- package/dist/modules/CoreShopCart/constants/index.d.ts.map +1 -0
- package/dist/modules/CoreShopCart/constants/shopCart.d.ts +1 -0
- package/dist/modules/CoreShopCart/constants/shopCart.d.ts.map +1 -0
- package/dist/modules/CoreShopCart/constants/shopCart.js +8 -0
- package/dist/modules/CoreShopCart/index.d.ts +1 -0
- package/dist/modules/CoreShopCart/index.d.ts.map +1 -0
- package/dist/modules/CoreShopCart/index.js +8 -0
- package/dist/modules/CoreShopCart/locale/en.json.js +4 -0
- package/dist/modules/CoreShopCart/locale/es.json.js +4 -0
- package/dist/modules/CoreShopCart/registry/hooks/index.d.ts +1 -0
- package/dist/modules/CoreShopCart/registry/hooks/index.d.ts.map +1 -0
- package/dist/modules/CoreShopCart/registry/index.d.ts +1 -0
- package/dist/modules/CoreShopCart/registry/index.d.ts.map +1 -0
- package/dist/modules/CoreShopCart/registry/types/index.d.ts +1 -0
- package/dist/modules/CoreShopCart/registry/types/index.d.ts.map +1 -0
- package/dist/modules/CoreShopCart/services/base.d.ts +23 -4
- package/dist/modules/CoreShopCart/services/base.d.ts.map +1 -0
- package/dist/modules/CoreShopCart/services/base.js +53 -0
- package/dist/modules/CoreShopCart/services/index.d.ts +1 -0
- package/dist/modules/CoreShopCart/services/index.d.ts.map +1 -0
- package/dist/modules/CoreShopCart/types/CoreShopCart.d.ts +1 -0
- package/dist/modules/CoreShopCart/types/CoreShopCart.d.ts.map +1 -0
- package/dist/modules/CoreShopCart/types/index.d.ts +1 -0
- package/dist/modules/CoreShopCart/types/index.d.ts.map +1 -0
- package/dist/modules/CoreShopCart/types/interfaces/CartActions.d.ts +1 -0
- package/dist/modules/CoreShopCart/types/interfaces/CartActions.d.ts.map +1 -0
- package/dist/modules/CoreShopCart/types/interfaces/index.d.ts +1 -0
- package/dist/modules/CoreShopCart/types/interfaces/index.d.ts.map +1 -0
- package/dist/modules/index.d.ts +1 -0
- package/dist/modules/index.d.ts.map +1 -0
- package/dist/modules/registry/hooks/index.d.ts +1 -0
- package/dist/modules/registry/hooks/index.d.ts.map +1 -0
- package/dist/modules/registry/index.d.ts +1 -0
- package/dist/modules/registry/index.d.ts.map +1 -0
- package/dist/modules/registry/types/index.d.ts +1 -0
- package/dist/modules/registry/types/index.d.ts.map +1 -0
- package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.js +814 -0
- package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +751 -0
- package/dist/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js +350 -0
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +161 -0
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +137 -0
- package/dist/node_modules/@radix-ui/number/dist/index.js +6 -0
- package/dist/node_modules/@radix-ui/primitive/dist/index.js +11 -0
- package/dist/node_modules/@radix-ui/react-accordion/dist/index.js +305 -0
- package/dist/node_modules/@radix-ui/react-accordion/node_modules/@radix-ui/react-collapsible/dist/index.js +145 -0
- package/dist/node_modules/@radix-ui/react-accordion/node_modules/@radix-ui/react-collapsible/node_modules/@radix-ui/react-presence/dist/index.js +130 -0
- package/dist/node_modules/@radix-ui/react-accordion/node_modules/@radix-ui/react-collection/dist/index.js +70 -0
- package/dist/node_modules/@radix-ui/react-accordion/node_modules/@radix-ui/react-primitive/dist/index.js +40 -0
- package/dist/node_modules/@radix-ui/react-alert-dialog/dist/index.js +147 -0
- package/dist/node_modules/@radix-ui/react-avatar/dist/index.js +118 -0
- package/dist/node_modules/@radix-ui/react-avatar/node_modules/@radix-ui/react-primitive/dist/index.js +40 -0
- package/dist/node_modules/@radix-ui/react-checkbox/dist/index.js +270 -0
- package/dist/node_modules/@radix-ui/react-checkbox/node_modules/@radix-ui/react-presence/dist/index.js +130 -0
- package/dist/node_modules/@radix-ui/react-checkbox/node_modules/@radix-ui/react-primitive/dist/index.js +40 -0
- package/dist/node_modules/@radix-ui/react-compose-refs/dist/index.js +39 -0
- package/dist/node_modules/@radix-ui/react-context/dist/index.js +79 -0
- package/dist/node_modules/@radix-ui/react-dialog/dist/index.js +321 -0
- package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-dismissable-layer/dist/index.js +211 -0
- package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-focus-scope/dist/index.js +207 -0
- package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-portal/dist/index.js +17 -0
- package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-presence/dist/index.js +130 -0
- package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-primitive/dist/index.js +43 -0
- package/dist/node_modules/@radix-ui/react-direction/dist/index.js +11 -0
- package/dist/node_modules/@radix-ui/react-dropdown-menu/dist/index.js +267 -0
- package/dist/node_modules/@radix-ui/react-dropdown-menu/node_modules/@radix-ui/react-menu/dist/index.js +834 -0
- package/dist/node_modules/@radix-ui/react-dropdown-menu/node_modules/@radix-ui/react-menu/node_modules/@radix-ui/react-collection/dist/index.js +70 -0
- package/dist/node_modules/@radix-ui/react-dropdown-menu/node_modules/@radix-ui/react-menu/node_modules/@radix-ui/react-dismissable-layer/dist/index.js +211 -0
- package/dist/node_modules/@radix-ui/react-dropdown-menu/node_modules/@radix-ui/react-menu/node_modules/@radix-ui/react-focus-scope/dist/index.js +207 -0
- package/dist/node_modules/@radix-ui/react-dropdown-menu/node_modules/@radix-ui/react-menu/node_modules/@radix-ui/react-popper/dist/index.js +283 -0
- package/dist/node_modules/@radix-ui/react-dropdown-menu/node_modules/@radix-ui/react-menu/node_modules/@radix-ui/react-popper/node_modules/@radix-ui/react-arrow/dist/index.js +25 -0
- package/dist/node_modules/@radix-ui/react-dropdown-menu/node_modules/@radix-ui/react-menu/node_modules/@radix-ui/react-portal/dist/index.js +17 -0
- package/dist/node_modules/@radix-ui/react-dropdown-menu/node_modules/@radix-ui/react-menu/node_modules/@radix-ui/react-presence/dist/index.js +130 -0
- package/dist/node_modules/@radix-ui/react-dropdown-menu/node_modules/@radix-ui/react-menu/node_modules/@radix-ui/react-roving-focus/dist/index.js +223 -0
- package/dist/node_modules/@radix-ui/react-dropdown-menu/node_modules/@radix-ui/react-primitive/dist/index.js +43 -0
- package/dist/node_modules/@radix-ui/react-focus-guards/dist/index.js +29 -0
- package/dist/node_modules/@radix-ui/react-id/dist/index.js +15 -0
- package/dist/node_modules/@radix-ui/react-label/dist/index.js +24 -0
- package/dist/node_modules/@radix-ui/react-label/node_modules/@radix-ui/react-primitive/dist/index.js +40 -0
- package/dist/node_modules/@radix-ui/react-popover/dist/index.js +299 -0
- package/dist/node_modules/@radix-ui/react-popover/node_modules/@radix-ui/react-dismissable-layer/dist/index.js +211 -0
- package/dist/node_modules/@radix-ui/react-popover/node_modules/@radix-ui/react-focus-scope/dist/index.js +207 -0
- package/dist/node_modules/@radix-ui/react-popover/node_modules/@radix-ui/react-popper/dist/index.js +283 -0
- package/dist/node_modules/@radix-ui/react-popover/node_modules/@radix-ui/react-popper/node_modules/@radix-ui/react-arrow/dist/index.js +25 -0
- package/dist/node_modules/@radix-ui/react-popover/node_modules/@radix-ui/react-portal/dist/index.js +17 -0
- package/dist/node_modules/@radix-ui/react-popover/node_modules/@radix-ui/react-presence/dist/index.js +130 -0
- package/dist/node_modules/@radix-ui/react-popover/node_modules/@radix-ui/react-primitive/dist/index.js +43 -0
- package/dist/node_modules/@radix-ui/react-radio-group/dist/index.js +282 -0
- package/dist/node_modules/@radix-ui/react-radio-group/node_modules/@radix-ui/react-presence/dist/index.js +130 -0
- package/dist/node_modules/@radix-ui/react-radio-group/node_modules/@radix-ui/react-primitive/dist/index.js +40 -0
- package/dist/node_modules/@radix-ui/react-radio-group/node_modules/@radix-ui/react-roving-focus/dist/index.js +223 -0
- package/dist/node_modules/@radix-ui/react-radio-group/node_modules/@radix-ui/react-roving-focus/node_modules/@radix-ui/react-collection/dist/index.js +70 -0
- package/dist/node_modules/@radix-ui/react-select/dist/index.js +1156 -0
- package/dist/node_modules/@radix-ui/react-select/node_modules/@radix-ui/react-collection/dist/index.js +70 -0
- package/dist/node_modules/@radix-ui/react-select/node_modules/@radix-ui/react-dismissable-layer/dist/index.js +211 -0
- package/dist/node_modules/@radix-ui/react-select/node_modules/@radix-ui/react-focus-scope/dist/index.js +207 -0
- package/dist/node_modules/@radix-ui/react-select/node_modules/@radix-ui/react-popper/dist/index.js +283 -0
- package/dist/node_modules/@radix-ui/react-select/node_modules/@radix-ui/react-popper/node_modules/@radix-ui/react-arrow/dist/index.js +25 -0
- package/dist/node_modules/@radix-ui/react-select/node_modules/@radix-ui/react-portal/dist/index.js +17 -0
- package/dist/node_modules/@radix-ui/react-select/node_modules/@radix-ui/react-primitive/dist/index.js +43 -0
- package/dist/node_modules/@radix-ui/react-select/node_modules/@radix-ui/react-visually-hidden/dist/index.js +34 -0
- package/dist/node_modules/@radix-ui/react-separator/dist/index.js +30 -0
- package/dist/node_modules/@radix-ui/react-separator/node_modules/@radix-ui/react-primitive/dist/index.js +40 -0
- package/dist/node_modules/@radix-ui/react-slider/dist/index.js +554 -0
- package/dist/node_modules/@radix-ui/react-slider/node_modules/@radix-ui/react-collection/dist/index.js +70 -0
- package/dist/node_modules/@radix-ui/react-slider/node_modules/@radix-ui/react-primitive/dist/index.js +40 -0
- package/dist/node_modules/@radix-ui/react-slot/dist/index.js +99 -0
- package/dist/node_modules/@radix-ui/react-switch/dist/index.js +152 -0
- package/dist/node_modules/@radix-ui/react-switch/node_modules/@radix-ui/react-primitive/dist/index.js +40 -0
- package/dist/node_modules/@radix-ui/react-tabs/dist/index.js +187 -0
- package/dist/node_modules/@radix-ui/react-tabs/node_modules/@radix-ui/react-presence/dist/index.js +130 -0
- package/dist/node_modules/@radix-ui/react-tabs/node_modules/@radix-ui/react-primitive/dist/index.js +40 -0
- package/dist/node_modules/@radix-ui/react-tabs/node_modules/@radix-ui/react-roving-focus/dist/index.js +223 -0
- package/dist/node_modules/@radix-ui/react-tabs/node_modules/@radix-ui/react-roving-focus/node_modules/@radix-ui/react-collection/dist/index.js +70 -0
- package/dist/node_modules/@radix-ui/react-tooltip/dist/index.js +482 -0
- package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-dismissable-layer/dist/index.js +211 -0
- package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-popper/dist/index.js +283 -0
- package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-popper/node_modules/@radix-ui/react-arrow/dist/index.js +25 -0
- package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-presence/dist/index.js +130 -0
- package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-primitive/dist/index.js +43 -0
- package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-visually-hidden/dist/index.js +35 -0
- package/dist/node_modules/@radix-ui/react-use-callback-ref/dist/index.js +12 -0
- package/dist/node_modules/@radix-ui/react-use-controllable-state/dist/index.js +70 -0
- package/dist/node_modules/@radix-ui/react-use-escape-keydown/dist/index.js +18 -0
- package/dist/node_modules/@radix-ui/react-use-is-hydrated/dist/index.js +16 -0
- package/dist/node_modules/@radix-ui/react-use-layout-effect/dist/index.js +7 -0
- package/dist/node_modules/@radix-ui/react-use-previous/dist/index.js +15 -0
- package/dist/node_modules/@radix-ui/react-use-size/dist/index.js +40 -0
- package/dist/node_modules/@stepperize/core/dist/index.js +3 -0
- package/dist/node_modules/@stepperize/react/dist/index.js +6 -0
- package/dist/node_modules/aria-hidden/dist/es2015/index.js +137 -0
- package/dist/node_modules/axios/index.js +25 -0
- package/dist/node_modules/axios/lib/adapters/adapters.js +81 -0
- package/dist/node_modules/axios/lib/adapters/fetch.js +229 -0
- package/dist/node_modules/axios/lib/adapters/xhr.js +199 -0
- package/dist/node_modules/axios/lib/axios.js +86 -0
- package/dist/node_modules/axios/lib/cancel/CancelToken.js +133 -0
- package/dist/node_modules/axios/lib/cancel/CanceledError.js +23 -0
- package/dist/node_modules/axios/lib/cancel/isCancel.js +5 -0
- package/dist/node_modules/axios/lib/core/Axios.js +238 -0
- package/dist/node_modules/axios/lib/core/AxiosError.js +101 -0
- package/dist/node_modules/axios/lib/core/AxiosHeaders.js +312 -0
- package/dist/node_modules/axios/lib/core/InterceptorManager.js +69 -0
- package/dist/node_modules/axios/lib/core/buildFullPath.js +22 -0
- package/dist/node_modules/axios/lib/core/dispatchRequest.js +81 -0
- package/dist/node_modules/axios/lib/core/mergeConfig.js +106 -0
- package/dist/node_modules/axios/lib/core/settle.js +27 -0
- package/dist/node_modules/axios/lib/core/transformData.js +28 -0
- package/dist/node_modules/axios/lib/defaults/index.js +159 -0
- package/dist/node_modules/axios/lib/defaults/transitional.js +7 -0
- package/dist/node_modules/axios/lib/env/data.js +3 -0
- package/dist/node_modules/axios/lib/helpers/AxiosURLSearchParams.js +56 -0
- package/dist/node_modules/axios/lib/helpers/HttpStatusCode.js +71 -0
- package/dist/node_modules/axios/lib/helpers/bind.js +7 -0
- package/dist/node_modules/axios/lib/helpers/buildURL.js +69 -0
- package/dist/node_modules/axios/lib/helpers/combineURLs.js +15 -0
- package/dist/node_modules/axios/lib/helpers/composeSignals.js +48 -0
- package/dist/node_modules/axios/lib/helpers/cookies.js +43 -0
- package/dist/node_modules/axios/lib/helpers/formDataToJSON.js +93 -0
- package/dist/node_modules/axios/lib/helpers/isAbsoluteURL.js +15 -0
- package/dist/node_modules/axios/lib/helpers/isAxiosError.js +14 -0
- package/dist/node_modules/axios/lib/helpers/isURLSameOrigin.js +16 -0
- package/dist/node_modules/axios/lib/helpers/null.js +4 -0
- package/dist/node_modules/axios/lib/helpers/parseHeaders.js +55 -0
- package/dist/node_modules/axios/lib/helpers/parseProtocol.js +6 -0
- package/dist/node_modules/axios/lib/helpers/progressEventReducer.js +46 -0
- package/dist/node_modules/axios/lib/helpers/resolveConfig.js +58 -0
- package/dist/node_modules/axios/lib/helpers/speedometer.js +53 -0
- package/dist/node_modules/axios/lib/helpers/spread.js +28 -0
- package/dist/node_modules/axios/lib/helpers/throttle.js +44 -0
- package/dist/node_modules/axios/lib/helpers/toFormData.js +219 -0
- package/dist/node_modules/axios/lib/helpers/toURLEncodedForm.js +19 -0
- package/dist/node_modules/axios/lib/helpers/trackStream.js +88 -0
- package/dist/node_modules/axios/lib/helpers/validator.js +99 -0
- package/dist/node_modules/axios/lib/platform/browser/classes/Blob.js +3 -0
- package/dist/node_modules/axios/lib/platform/browser/classes/FormData.js +3 -0
- package/dist/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js +5 -0
- package/dist/node_modules/axios/lib/platform/browser/index.js +15 -0
- package/dist/node_modules/axios/lib/platform/common/utils.js +45 -0
- package/dist/node_modules/axios/lib/platform/index.js +9 -0
- package/dist/node_modules/axios/lib/utils.js +780 -0
- package/dist/node_modules/class-variance-authority/dist/index.js +44 -0
- package/dist/node_modules/clsx/dist/clsx.js +3 -0
- package/dist/node_modules/embla-carousel/esm/embla-carousel.esm.js +1669 -0
- package/dist/node_modules/embla-carousel-react/esm/embla-carousel-react.esm.js +37 -0
- package/dist/node_modules/embla-carousel-reactive-utils/esm/embla-carousel-reactive-utils.esm.js +38 -0
- package/dist/node_modules/get-nonce/dist/es2015/index.js +8 -0
- package/dist/node_modules/lucide-react/dist/esm/Icon.js +43 -0
- package/dist/node_modules/lucide-react/dist/esm/createLucideIcon.js +30 -0
- package/dist/node_modules/lucide-react/dist/esm/defaultAttributes.js +20 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/arrow-left.js +17 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/arrow-right.js +17 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/check.js +14 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/chevron-down.js +14 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/chevron-left.js +14 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/chevron-right.js +14 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/chevron-up.js +14 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/circle.js +14 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/ellipsis.js +18 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/x.js +17 -0
- package/dist/node_modules/lucide-react/dist/esm/shared/src/utils.js +28 -0
- package/dist/node_modules/react-hook-form/dist/index.esm.js +560 -0
- package/dist/node_modules/react-i18next/dist/es/IcuTransUtils/htmlEntityDecoder.js +210 -0
- package/dist/node_modules/react-i18next/dist/es/context.js +18 -0
- package/dist/node_modules/react-i18next/dist/es/defaults.js +21 -0
- package/dist/node_modules/react-i18next/dist/es/i18nInstance.js +7 -0
- package/dist/node_modules/react-i18next/dist/es/initReactI18next.js +12 -0
- package/dist/node_modules/react-i18next/dist/es/unescape.js +27 -0
- package/dist/node_modules/react-i18next/dist/es/useTranslation.js +157 -0
- package/dist/node_modules/react-i18next/dist/es/utils.js +63 -0
- package/dist/node_modules/react-remove-scroll/dist/es2015/Combination.js +9 -0
- package/dist/node_modules/react-remove-scroll/dist/es2015/SideEffect.js +167 -0
- package/dist/node_modules/react-remove-scroll/dist/es2015/UI.js +38 -0
- package/dist/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js +21 -0
- package/dist/node_modules/react-remove-scroll/dist/es2015/handleScroll.js +110 -0
- package/dist/node_modules/react-remove-scroll/dist/es2015/medium.js +5 -0
- package/dist/node_modules/react-remove-scroll/dist/es2015/sidecar.js +7 -0
- package/dist/node_modules/react-remove-scroll-bar/dist/es2015/component.js +56 -0
- package/dist/node_modules/react-remove-scroll-bar/dist/es2015/constants.js +10 -0
- package/dist/node_modules/react-remove-scroll-bar/dist/es2015/utils.js +31 -0
- package/dist/node_modules/react-style-singleton/dist/es2015/component.js +19 -0
- package/dist/node_modules/react-style-singleton/dist/es2015/hook.js +25 -0
- package/dist/node_modules/react-style-singleton/dist/es2015/singleton.js +51 -0
- package/dist/node_modules/sonner/dist/index.js +299 -0
- package/dist/node_modules/tslib/tslib.es6.js +56 -0
- package/dist/node_modules/use-callback-ref/dist/es2015/assignRef.js +24 -0
- package/dist/node_modules/use-callback-ref/dist/es2015/useMergeRef.js +48 -0
- package/dist/node_modules/use-callback-ref/dist/es2015/useRef.js +42 -0
- package/dist/node_modules/use-sidecar/dist/es2015/exports.js +21 -0
- package/dist/node_modules/use-sidecar/dist/es2015/medium.js +77 -0
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.js +106 -0
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.js +77 -0
- package/dist/node_modules/use-sync-external-store/shim/index.js +19 -0
- package/dist/node_modules/zustand/esm/middleware.js +188 -0
- package/dist/node_modules/zustand/esm/react.js +22 -0
- package/dist/node_modules/zustand/esm/vanilla.js +24 -0
- package/dist/services/base.d.ts +1 -0
- package/dist/services/base.d.ts.map +1 -0
- package/dist/services/base.js +67 -0
- package/dist/services/factory.d.ts +14 -0
- package/dist/services/factory.d.ts.map +1 -0
- package/dist/services/factory.js +39 -0
- package/dist/services/index.d.ts +2 -0
- package/dist/services/index.d.ts.map +1 -0
- package/dist/stores/customizationStore.d.ts +5 -27
- package/dist/stores/customizationStore.d.ts.map +1 -0
- package/dist/stores/customizationStore.js +7 -0
- package/dist/stores/index.d.ts +1 -0
- package/dist/stores/index.d.ts.map +1 -0
- package/dist/styles/index.d.ts +1 -0
- package/dist/styles/index.d.ts.map +1 -0
- package/dist/types/BaseResponseActions.d.ts +1 -0
- package/dist/types/BaseResponseActions.d.ts.map +1 -0
- package/dist/types/BaseStore.d.ts +1 -0
- package/dist/types/BaseStore.d.ts.map +1 -0
- package/dist/types/BaseType.d.ts +1 -0
- package/dist/types/BaseType.d.ts.map +1 -0
- package/dist/types/CoreImage.d.ts +1 -0
- package/dist/types/CoreImage.d.ts.map +1 -0
- package/dist/types/CoreMenu.d.ts +1 -0
- package/dist/types/CoreMenu.d.ts.map +1 -0
- package/dist/types/contracts/BaseApiResponse.d.ts +1 -0
- package/dist/types/contracts/BaseApiResponse.d.ts.map +1 -0
- package/dist/types/contracts/BasePagination.d.ts +1 -0
- package/dist/types/contracts/BasePagination.d.ts.map +1 -0
- package/dist/types/contracts/index.d.ts +1 -0
- package/dist/types/contracts/index.d.ts.map +1 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/interfaces/BaseImageType.d.ts +1 -0
- package/dist/types/interfaces/BaseImageType.d.ts.map +1 -0
- package/dist/types/interfaces/BaseSlugType.d.ts +1 -0
- package/dist/types/interfaces/BaseSlugType.d.ts.map +1 -0
- package/dist/types/interfaces/BaseVisibleType.d.ts +1 -0
- package/dist/types/interfaces/BaseVisibleType.d.ts.map +1 -0
- package/dist/types/interfaces/index.d.ts +1 -0
- package/dist/types/interfaces/index.d.ts.map +1 -0
- package/dist/types/ui/carousel.d.ts +1 -0
- package/dist/types/ui/carousel.d.ts.map +1 -0
- package/dist/types/ui/index.d.ts +1 -0
- package/dist/types/ui/index.d.ts.map +1 -0
- package/dist/types/ui/main.d.ts +1 -0
- package/dist/types/ui/main.d.ts.map +1 -0
- package/dist/types/ui/template.d.ts +1 -0
- package/dist/types/ui/template.d.ts.map +1 -0
- package/dist/ui/index.d.ts +1 -0
- package/dist/ui/index.d.ts.map +1 -0
- package/dist/vite-env.d.ts +11 -0
- package/package.json +18 -11
- package/core/commands/common/constants.js +0 -10
- package/core/commands/create-core-module.js +0 -288
- package/core/commands/create-module.js +0 -288
- package/core/commands/create-template.js +0 -169
- package/core/commands/helpers/index.js +0 -15
- package/core/commands/helpers/strings.js +0 -4
- package/core/commands/rollback-core-module.js +0 -195
- package/core/commands/rollback-module.js +0 -208
- package/core/commands/templates/locale.js +0 -14
- package/core/commands/templates/service.js +0 -12
- package/core/commands/templates/type.js +0 -10
- package/dist/assets/index.d.ts +0 -8
- package/dist/components/ui/calendar.d.ts +0 -4
- package/dist/components/ui/drawer.d.ts +0 -13
- package/dist/components/ui/navigation-menu.d.ts +0 -14
- package/dist/components/ui/sidebar.d.ts +0 -69
- package/dist/components/ui/sonner.d.ts +0 -3
- package/dist/constants/menu.d.ts +0 -2
- package/dist/helpers/template.d.ts +0 -2
- package/dist/helpers/tenant.d.ts +0 -2
- package/dist/index.css +0 -1
- package/dist/modules/CoreCustomization/registry/hooks/index.d.ts +0 -0
- package/dist/modules/CoreProduct/registry/hooks/index.d.ts +0 -0
package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.js
ADDED
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
import { __exports as useSyncExternalStoreShim_development } from '../../../_virtual/use-sync-external-store-shim.development.js';
|
|
2
|
+
import React__default from 'react';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* @license React
|
|
6
|
+
* use-sync-external-store-shim.development.js
|
|
7
|
+
*
|
|
8
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
9
|
+
*
|
|
10
|
+
* This source code is licensed under the MIT license found in the
|
|
11
|
+
* LICENSE file in the root directory of this source tree.
|
|
12
|
+
*/
|
|
13
|
+
|
|
14
|
+
var hasRequiredUseSyncExternalStoreShim_development;
|
|
15
|
+
|
|
16
|
+
function requireUseSyncExternalStoreShim_development () {
|
|
17
|
+
if (hasRequiredUseSyncExternalStoreShim_development) return useSyncExternalStoreShim_development;
|
|
18
|
+
hasRequiredUseSyncExternalStoreShim_development = 1;
|
|
19
|
+
"production" !== process.env.NODE_ENV &&
|
|
20
|
+
(function () {
|
|
21
|
+
function is(x, y) {
|
|
22
|
+
return (x === y && (0 !== x || 1 / x === 1 / y)) || (x !== x && y !== y);
|
|
23
|
+
}
|
|
24
|
+
function useSyncExternalStore$2(subscribe, getSnapshot) {
|
|
25
|
+
didWarnOld18Alpha ||
|
|
26
|
+
void 0 === React.startTransition ||
|
|
27
|
+
((didWarnOld18Alpha = true),
|
|
28
|
+
console.error(
|
|
29
|
+
"You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."
|
|
30
|
+
));
|
|
31
|
+
var value = getSnapshot();
|
|
32
|
+
if (!didWarnUncachedGetSnapshot) {
|
|
33
|
+
var cachedValue = getSnapshot();
|
|
34
|
+
objectIs(value, cachedValue) ||
|
|
35
|
+
(console.error(
|
|
36
|
+
"The result of getSnapshot should be cached to avoid an infinite loop"
|
|
37
|
+
),
|
|
38
|
+
(didWarnUncachedGetSnapshot = true));
|
|
39
|
+
}
|
|
40
|
+
cachedValue = useState({
|
|
41
|
+
inst: { value: value, getSnapshot: getSnapshot }
|
|
42
|
+
});
|
|
43
|
+
var inst = cachedValue[0].inst,
|
|
44
|
+
forceUpdate = cachedValue[1];
|
|
45
|
+
useLayoutEffect(
|
|
46
|
+
function () {
|
|
47
|
+
inst.value = value;
|
|
48
|
+
inst.getSnapshot = getSnapshot;
|
|
49
|
+
checkIfSnapshotChanged(inst) && forceUpdate({ inst: inst });
|
|
50
|
+
},
|
|
51
|
+
[subscribe, value, getSnapshot]
|
|
52
|
+
);
|
|
53
|
+
useEffect(
|
|
54
|
+
function () {
|
|
55
|
+
checkIfSnapshotChanged(inst) && forceUpdate({ inst: inst });
|
|
56
|
+
return subscribe(function () {
|
|
57
|
+
checkIfSnapshotChanged(inst) && forceUpdate({ inst: inst });
|
|
58
|
+
});
|
|
59
|
+
},
|
|
60
|
+
[subscribe]
|
|
61
|
+
);
|
|
62
|
+
useDebugValue(value);
|
|
63
|
+
return value;
|
|
64
|
+
}
|
|
65
|
+
function checkIfSnapshotChanged(inst) {
|
|
66
|
+
var latestGetSnapshot = inst.getSnapshot;
|
|
67
|
+
inst = inst.value;
|
|
68
|
+
try {
|
|
69
|
+
var nextValue = latestGetSnapshot();
|
|
70
|
+
return !objectIs(inst, nextValue);
|
|
71
|
+
} catch (error) {
|
|
72
|
+
return true;
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
function useSyncExternalStore$1(subscribe, getSnapshot) {
|
|
76
|
+
return getSnapshot();
|
|
77
|
+
}
|
|
78
|
+
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
|
79
|
+
"function" ===
|
|
80
|
+
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart &&
|
|
81
|
+
__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
|
|
82
|
+
var React = React__default,
|
|
83
|
+
objectIs = "function" === typeof Object.is ? Object.is : is,
|
|
84
|
+
useState = React.useState,
|
|
85
|
+
useEffect = React.useEffect,
|
|
86
|
+
useLayoutEffect = React.useLayoutEffect,
|
|
87
|
+
useDebugValue = React.useDebugValue,
|
|
88
|
+
didWarnOld18Alpha = false,
|
|
89
|
+
didWarnUncachedGetSnapshot = false,
|
|
90
|
+
shim =
|
|
91
|
+
"undefined" === typeof window ||
|
|
92
|
+
"undefined" === typeof window.document ||
|
|
93
|
+
"undefined" === typeof window.document.createElement
|
|
94
|
+
? useSyncExternalStore$1
|
|
95
|
+
: useSyncExternalStore$2;
|
|
96
|
+
useSyncExternalStoreShim_development.useSyncExternalStore =
|
|
97
|
+
void 0 !== React.useSyncExternalStore ? React.useSyncExternalStore : shim;
|
|
98
|
+
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
|
99
|
+
"function" ===
|
|
100
|
+
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
|
101
|
+
__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
|
|
102
|
+
})();
|
|
103
|
+
return useSyncExternalStoreShim_development;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
export { requireUseSyncExternalStoreShim_development as __require };
|
package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.js
ADDED
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import { __exports as useSyncExternalStoreShim_production } from '../../../_virtual/use-sync-external-store-shim.production.js';
|
|
2
|
+
import React__default from 'react';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* @license React
|
|
6
|
+
* use-sync-external-store-shim.production.js
|
|
7
|
+
*
|
|
8
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
9
|
+
*
|
|
10
|
+
* This source code is licensed under the MIT license found in the
|
|
11
|
+
* LICENSE file in the root directory of this source tree.
|
|
12
|
+
*/
|
|
13
|
+
|
|
14
|
+
var hasRequiredUseSyncExternalStoreShim_production;
|
|
15
|
+
|
|
16
|
+
function requireUseSyncExternalStoreShim_production () {
|
|
17
|
+
if (hasRequiredUseSyncExternalStoreShim_production) return useSyncExternalStoreShim_production;
|
|
18
|
+
hasRequiredUseSyncExternalStoreShim_production = 1;
|
|
19
|
+
var React = React__default;
|
|
20
|
+
function is(x, y) {
|
|
21
|
+
return (x === y && (0 !== x || 1 / x === 1 / y)) || (x !== x && y !== y);
|
|
22
|
+
}
|
|
23
|
+
var objectIs = "function" === typeof Object.is ? Object.is : is,
|
|
24
|
+
useState = React.useState,
|
|
25
|
+
useEffect = React.useEffect,
|
|
26
|
+
useLayoutEffect = React.useLayoutEffect,
|
|
27
|
+
useDebugValue = React.useDebugValue;
|
|
28
|
+
function useSyncExternalStore$2(subscribe, getSnapshot) {
|
|
29
|
+
var value = getSnapshot(),
|
|
30
|
+
_useState = useState({ inst: { value: value, getSnapshot: getSnapshot } }),
|
|
31
|
+
inst = _useState[0].inst,
|
|
32
|
+
forceUpdate = _useState[1];
|
|
33
|
+
useLayoutEffect(
|
|
34
|
+
function () {
|
|
35
|
+
inst.value = value;
|
|
36
|
+
inst.getSnapshot = getSnapshot;
|
|
37
|
+
checkIfSnapshotChanged(inst) && forceUpdate({ inst: inst });
|
|
38
|
+
},
|
|
39
|
+
[subscribe, value, getSnapshot]
|
|
40
|
+
);
|
|
41
|
+
useEffect(
|
|
42
|
+
function () {
|
|
43
|
+
checkIfSnapshotChanged(inst) && forceUpdate({ inst: inst });
|
|
44
|
+
return subscribe(function () {
|
|
45
|
+
checkIfSnapshotChanged(inst) && forceUpdate({ inst: inst });
|
|
46
|
+
});
|
|
47
|
+
},
|
|
48
|
+
[subscribe]
|
|
49
|
+
);
|
|
50
|
+
useDebugValue(value);
|
|
51
|
+
return value;
|
|
52
|
+
}
|
|
53
|
+
function checkIfSnapshotChanged(inst) {
|
|
54
|
+
var latestGetSnapshot = inst.getSnapshot;
|
|
55
|
+
inst = inst.value;
|
|
56
|
+
try {
|
|
57
|
+
var nextValue = latestGetSnapshot();
|
|
58
|
+
return !objectIs(inst, nextValue);
|
|
59
|
+
} catch (error) {
|
|
60
|
+
return true;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
function useSyncExternalStore$1(subscribe, getSnapshot) {
|
|
64
|
+
return getSnapshot();
|
|
65
|
+
}
|
|
66
|
+
var shim =
|
|
67
|
+
"undefined" === typeof window ||
|
|
68
|
+
"undefined" === typeof window.document ||
|
|
69
|
+
"undefined" === typeof window.document.createElement
|
|
70
|
+
? useSyncExternalStore$1
|
|
71
|
+
: useSyncExternalStore$2;
|
|
72
|
+
useSyncExternalStoreShim_production.useSyncExternalStore =
|
|
73
|
+
void 0 !== React.useSyncExternalStore ? React.useSyncExternalStore : shim;
|
|
74
|
+
return useSyncExternalStoreShim_production;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
export { requireUseSyncExternalStoreShim_production as __require };
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { __module as shim } from '../../../_virtual/index2.js';
|
|
2
|
+
import { __require as requireUseSyncExternalStoreShim_production } from '../cjs/use-sync-external-store-shim.production.js';
|
|
3
|
+
import { __require as requireUseSyncExternalStoreShim_development } from '../cjs/use-sync-external-store-shim.development.js';
|
|
4
|
+
|
|
5
|
+
var hasRequiredShim;
|
|
6
|
+
|
|
7
|
+
function requireShim () {
|
|
8
|
+
if (hasRequiredShim) return shim.exports;
|
|
9
|
+
hasRequiredShim = 1;
|
|
10
|
+
|
|
11
|
+
if (process.env.NODE_ENV === 'production') {
|
|
12
|
+
shim.exports = requireUseSyncExternalStoreShim_production();
|
|
13
|
+
} else {
|
|
14
|
+
shim.exports = requireUseSyncExternalStoreShim_development();
|
|
15
|
+
}
|
|
16
|
+
return shim.exports;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
export { requireShim as __require };
|
|
@@ -0,0 +1,188 @@
|
|
|
1
|
+
function createJSONStorage(getStorage, options) {
|
|
2
|
+
let storage;
|
|
3
|
+
try {
|
|
4
|
+
storage = getStorage();
|
|
5
|
+
} catch (e) {
|
|
6
|
+
return;
|
|
7
|
+
}
|
|
8
|
+
const persistStorage = {
|
|
9
|
+
getItem: (name) => {
|
|
10
|
+
var _a;
|
|
11
|
+
const parse = (str2) => {
|
|
12
|
+
if (str2 === null) {
|
|
13
|
+
return null;
|
|
14
|
+
}
|
|
15
|
+
return JSON.parse(str2, void 0 );
|
|
16
|
+
};
|
|
17
|
+
const str = (_a = storage.getItem(name)) != null ? _a : null;
|
|
18
|
+
if (str instanceof Promise) {
|
|
19
|
+
return str.then(parse);
|
|
20
|
+
}
|
|
21
|
+
return parse(str);
|
|
22
|
+
},
|
|
23
|
+
setItem: (name, newValue) => storage.setItem(name, JSON.stringify(newValue, void 0 )),
|
|
24
|
+
removeItem: (name) => storage.removeItem(name)
|
|
25
|
+
};
|
|
26
|
+
return persistStorage;
|
|
27
|
+
}
|
|
28
|
+
const toThenable = (fn) => (input) => {
|
|
29
|
+
try {
|
|
30
|
+
const result = fn(input);
|
|
31
|
+
if (result instanceof Promise) {
|
|
32
|
+
return result;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
then(onFulfilled) {
|
|
36
|
+
return toThenable(onFulfilled)(result);
|
|
37
|
+
},
|
|
38
|
+
catch(_onRejected) {
|
|
39
|
+
return this;
|
|
40
|
+
}
|
|
41
|
+
};
|
|
42
|
+
} catch (e) {
|
|
43
|
+
return {
|
|
44
|
+
then(_onFulfilled) {
|
|
45
|
+
return this;
|
|
46
|
+
},
|
|
47
|
+
catch(onRejected) {
|
|
48
|
+
return toThenable(onRejected)(e);
|
|
49
|
+
}
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
};
|
|
53
|
+
const persistImpl = (config, baseOptions) => (set, get, api) => {
|
|
54
|
+
let options = {
|
|
55
|
+
storage: createJSONStorage(() => localStorage),
|
|
56
|
+
partialize: (state) => state,
|
|
57
|
+
version: 0,
|
|
58
|
+
merge: (persistedState, currentState) => ({
|
|
59
|
+
...currentState,
|
|
60
|
+
...persistedState
|
|
61
|
+
}),
|
|
62
|
+
...baseOptions
|
|
63
|
+
};
|
|
64
|
+
let hasHydrated = false;
|
|
65
|
+
const hydrationListeners = /* @__PURE__ */ new Set();
|
|
66
|
+
const finishHydrationListeners = /* @__PURE__ */ new Set();
|
|
67
|
+
let storage = options.storage;
|
|
68
|
+
if (!storage) {
|
|
69
|
+
return config(
|
|
70
|
+
(...args) => {
|
|
71
|
+
console.warn(
|
|
72
|
+
`[zustand persist middleware] Unable to update item '${options.name}', the given storage is currently unavailable.`
|
|
73
|
+
);
|
|
74
|
+
set(...args);
|
|
75
|
+
},
|
|
76
|
+
get,
|
|
77
|
+
api
|
|
78
|
+
);
|
|
79
|
+
}
|
|
80
|
+
const setItem = () => {
|
|
81
|
+
const state = options.partialize({ ...get() });
|
|
82
|
+
return storage.setItem(options.name, {
|
|
83
|
+
state,
|
|
84
|
+
version: options.version
|
|
85
|
+
});
|
|
86
|
+
};
|
|
87
|
+
const savedSetState = api.setState;
|
|
88
|
+
api.setState = (state, replace) => {
|
|
89
|
+
savedSetState(state, replace);
|
|
90
|
+
void setItem();
|
|
91
|
+
};
|
|
92
|
+
const configResult = config(
|
|
93
|
+
(...args) => {
|
|
94
|
+
set(...args);
|
|
95
|
+
void setItem();
|
|
96
|
+
},
|
|
97
|
+
get,
|
|
98
|
+
api
|
|
99
|
+
);
|
|
100
|
+
api.getInitialState = () => configResult;
|
|
101
|
+
let stateFromStorage;
|
|
102
|
+
const hydrate = () => {
|
|
103
|
+
var _a, _b;
|
|
104
|
+
if (!storage) return;
|
|
105
|
+
hasHydrated = false;
|
|
106
|
+
hydrationListeners.forEach((cb) => {
|
|
107
|
+
var _a2;
|
|
108
|
+
return cb((_a2 = get()) != null ? _a2 : configResult);
|
|
109
|
+
});
|
|
110
|
+
const postRehydrationCallback = ((_b = options.onRehydrateStorage) == null ? void 0 : _b.call(options, (_a = get()) != null ? _a : configResult)) || void 0;
|
|
111
|
+
return toThenable(storage.getItem.bind(storage))(options.name).then((deserializedStorageValue) => {
|
|
112
|
+
if (deserializedStorageValue) {
|
|
113
|
+
if (typeof deserializedStorageValue.version === "number" && deserializedStorageValue.version !== options.version) {
|
|
114
|
+
if (options.migrate) {
|
|
115
|
+
const migration = options.migrate(
|
|
116
|
+
deserializedStorageValue.state,
|
|
117
|
+
deserializedStorageValue.version
|
|
118
|
+
);
|
|
119
|
+
if (migration instanceof Promise) {
|
|
120
|
+
return migration.then((result) => [true, result]);
|
|
121
|
+
}
|
|
122
|
+
return [true, migration];
|
|
123
|
+
}
|
|
124
|
+
console.error(
|
|
125
|
+
`State loaded from storage couldn't be migrated since no migrate function was provided`
|
|
126
|
+
);
|
|
127
|
+
} else {
|
|
128
|
+
return [false, deserializedStorageValue.state];
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
return [false, void 0];
|
|
132
|
+
}).then((migrationResult) => {
|
|
133
|
+
var _a2;
|
|
134
|
+
const [migrated, migratedState] = migrationResult;
|
|
135
|
+
stateFromStorage = options.merge(
|
|
136
|
+
migratedState,
|
|
137
|
+
(_a2 = get()) != null ? _a2 : configResult
|
|
138
|
+
);
|
|
139
|
+
set(stateFromStorage, true);
|
|
140
|
+
if (migrated) {
|
|
141
|
+
return setItem();
|
|
142
|
+
}
|
|
143
|
+
}).then(() => {
|
|
144
|
+
postRehydrationCallback == null ? void 0 : postRehydrationCallback(stateFromStorage, void 0);
|
|
145
|
+
stateFromStorage = get();
|
|
146
|
+
hasHydrated = true;
|
|
147
|
+
finishHydrationListeners.forEach((cb) => cb(stateFromStorage));
|
|
148
|
+
}).catch((e) => {
|
|
149
|
+
postRehydrationCallback == null ? void 0 : postRehydrationCallback(void 0, e);
|
|
150
|
+
});
|
|
151
|
+
};
|
|
152
|
+
api.persist = {
|
|
153
|
+
setOptions: (newOptions) => {
|
|
154
|
+
options = {
|
|
155
|
+
...options,
|
|
156
|
+
...newOptions
|
|
157
|
+
};
|
|
158
|
+
if (newOptions.storage) {
|
|
159
|
+
storage = newOptions.storage;
|
|
160
|
+
}
|
|
161
|
+
},
|
|
162
|
+
clearStorage: () => {
|
|
163
|
+
storage == null ? void 0 : storage.removeItem(options.name);
|
|
164
|
+
},
|
|
165
|
+
getOptions: () => options,
|
|
166
|
+
rehydrate: () => hydrate(),
|
|
167
|
+
hasHydrated: () => hasHydrated,
|
|
168
|
+
onHydrate: (cb) => {
|
|
169
|
+
hydrationListeners.add(cb);
|
|
170
|
+
return () => {
|
|
171
|
+
hydrationListeners.delete(cb);
|
|
172
|
+
};
|
|
173
|
+
},
|
|
174
|
+
onFinishHydration: (cb) => {
|
|
175
|
+
finishHydrationListeners.add(cb);
|
|
176
|
+
return () => {
|
|
177
|
+
finishHydrationListeners.delete(cb);
|
|
178
|
+
};
|
|
179
|
+
}
|
|
180
|
+
};
|
|
181
|
+
if (!options.skipHydration) {
|
|
182
|
+
hydrate();
|
|
183
|
+
}
|
|
184
|
+
return stateFromStorage || configResult;
|
|
185
|
+
};
|
|
186
|
+
const persist = persistImpl;
|
|
187
|
+
|
|
188
|
+
export { createJSONStorage, persist };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import React__default from 'react';
|
|
2
|
+
import { createStore } from './vanilla.js';
|
|
3
|
+
|
|
4
|
+
const identity = (arg) => arg;
|
|
5
|
+
function useStore(api, selector = identity) {
|
|
6
|
+
const slice = React__default.useSyncExternalStore(
|
|
7
|
+
api.subscribe,
|
|
8
|
+
React__default.useCallback(() => selector(api.getState()), [api, selector]),
|
|
9
|
+
React__default.useCallback(() => selector(api.getInitialState()), [api, selector])
|
|
10
|
+
);
|
|
11
|
+
React__default.useDebugValue(slice);
|
|
12
|
+
return slice;
|
|
13
|
+
}
|
|
14
|
+
const createImpl = (createState) => {
|
|
15
|
+
const api = createStore(createState);
|
|
16
|
+
const useBoundStore = (selector) => useStore(api, selector);
|
|
17
|
+
Object.assign(useBoundStore, api);
|
|
18
|
+
return useBoundStore;
|
|
19
|
+
};
|
|
20
|
+
const create = (createState) => createState ? createImpl(createState) : createImpl;
|
|
21
|
+
|
|
22
|
+
export { create, useStore };
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
const createStoreImpl = (createState) => {
|
|
2
|
+
let state;
|
|
3
|
+
const listeners = /* @__PURE__ */ new Set();
|
|
4
|
+
const setState = (partial, replace) => {
|
|
5
|
+
const nextState = typeof partial === "function" ? partial(state) : partial;
|
|
6
|
+
if (!Object.is(nextState, state)) {
|
|
7
|
+
const previousState = state;
|
|
8
|
+
state = (replace != null ? replace : typeof nextState !== "object" || nextState === null) ? nextState : Object.assign({}, state, nextState);
|
|
9
|
+
listeners.forEach((listener) => listener(state, previousState));
|
|
10
|
+
}
|
|
11
|
+
};
|
|
12
|
+
const getState = () => state;
|
|
13
|
+
const getInitialState = () => initialState;
|
|
14
|
+
const subscribe = (listener) => {
|
|
15
|
+
listeners.add(listener);
|
|
16
|
+
return () => listeners.delete(listener);
|
|
17
|
+
};
|
|
18
|
+
const api = { setState, getState, getInitialState, subscribe };
|
|
19
|
+
const initialState = state = createState(setState, getState, api);
|
|
20
|
+
return api;
|
|
21
|
+
};
|
|
22
|
+
const createStore = (createState) => createState ? createStoreImpl(createState) : createStoreImpl;
|
|
23
|
+
|
|
24
|
+
export { createStore };
|
package/dist/services/base.d.ts
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../src/services/base.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,OAAO,CAAA;AAGzD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oCAAoC,CAAC;AAE1E,MAAM,WAAW,YAAY;IAC3B,MAAM,EAAE,CAAC,CAAC,EAAE,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,KAAK,OAAO,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,CAAC;IACvE,OAAO,EAAE,CAAC,CAAC,EAAE,QAAQ,EAAE,MAAM,GAAG,MAAM,KAAK,OAAO,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,CAAC;IACrE,MAAM,EAAE,CAAC,CAAC,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK,KAAK,OAAO,CAAC,aAAa,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;IAC9E,MAAM,EAAE,CAAC,CAAC,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,GAAG,MAAM,EAAE,IAAI,EAAE,KAAK,KAAK,OAAO,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,CAAC;IACxF,UAAU,EAAE,CAAC,CAAC,EAAE,QAAQ,EAAE,MAAM,GAAG,MAAM,KAAK,OAAO,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,CAAC;CACzE;AAED,UAAU,YAAY;IACpB,MAAM,EAAE,MAAM,CAAA;IACd,GAAG,EAAE,MAAM,CAAA;IACX,MAAM,EAAE,MAAM,CAAA;IACd,MAAM,EAAE,MAAM,CAAA;IACd,MAAM,EAAE,MAAM,CAAA;CACf;AAED,KAAK,oBAAoB,GAAG,MAAM,YAAY,CAAA;AAE9C,qBAAa,WAAY,YAAW,YAAY;IAC9C,SAAS,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC3B,SAAS,CAAC,GAAG,EAAE,aAAa,CAAc;IAC1C,SAAS,CAAC,SAAS,SAAS;IAC5B,SAAS,CAAC,YAAY,EAAE,YAAY,CAAC;gBAEzB,QAAQ,EAAE,MAAM,EAAE,GAAG,GAAE,aAA0B;IAMpD,uBAAuB,GAAI,UAAU,oBAAoB,EAAE,OAAO,MAAM,UAkB9E;IAED,SAAS,CAAC,iBAAiB;;;;;;MAkB1B;IAEM,MAAM,GAAI,CAAC,EAAE,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,KAAG,OAAO,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,CAE3E;IAEM,OAAO,GAAI,CAAC,EAAE,UAAU,MAAM,GAAG,MAAM,KAAG,OAAO,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,CAEzE;IAEM,MAAM,GAAI,CAAC,EAAE,KAAK,EAAE,MAAM,KAAK,KAAG,OAAO,CAAC,aAAa,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC,CAAC,CAElF;IAEM,MAAM,GAAI,CAAC,EAAE,KAAK,EAAE,UAAU,MAAM,GAAG,MAAM,EAAE,MAAM,KAAK,KAAG,OAAO,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,CAE5F;IAEM,UAAU,GAAI,CAAC,EAAE,UAAU,MAAM,GAAG,MAAM,KAAG,OAAO,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,CAE5E;CACJ"}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import { api } from '../helpers/axiosGlobal.js';
|
|
2
|
+
|
|
3
|
+
class BaseService {
|
|
4
|
+
resource;
|
|
5
|
+
api = api;
|
|
6
|
+
apiPrefix = "/api";
|
|
7
|
+
crudResource;
|
|
8
|
+
constructor(resource, api$1 = api) {
|
|
9
|
+
this.resource = resource;
|
|
10
|
+
this.crudResource = this.buildCrudResource();
|
|
11
|
+
this.api = api$1;
|
|
12
|
+
}
|
|
13
|
+
setCrudResourceProperty = (property, value) => {
|
|
14
|
+
switch (property) {
|
|
15
|
+
case "getAll":
|
|
16
|
+
this.crudResource.getAll = value;
|
|
17
|
+
break;
|
|
18
|
+
case "get":
|
|
19
|
+
this.crudResource.get = value;
|
|
20
|
+
break;
|
|
21
|
+
case "create":
|
|
22
|
+
this.crudResource.create = value;
|
|
23
|
+
break;
|
|
24
|
+
case "update":
|
|
25
|
+
this.crudResource.update = value;
|
|
26
|
+
break;
|
|
27
|
+
case "delete":
|
|
28
|
+
this.crudResource.delete = value;
|
|
29
|
+
break;
|
|
30
|
+
}
|
|
31
|
+
};
|
|
32
|
+
buildCrudResource = () => {
|
|
33
|
+
if (this.resource.trim().length !== 0 && !this.resource.endsWith("s")) {
|
|
34
|
+
return {
|
|
35
|
+
getAll: `${this.resource}s`,
|
|
36
|
+
get: this.resource,
|
|
37
|
+
create: this.resource,
|
|
38
|
+
update: this.resource,
|
|
39
|
+
delete: this.resource
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
getAll: this.resource,
|
|
44
|
+
get: this.resource,
|
|
45
|
+
create: this.resource,
|
|
46
|
+
update: this.resource,
|
|
47
|
+
delete: this.resource
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
getAll = (params) => {
|
|
51
|
+
return this.api.get(`${this.apiPrefix}/${this.crudResource.getAll}`, { params });
|
|
52
|
+
};
|
|
53
|
+
getById = (idOrSlug) => {
|
|
54
|
+
return this.api.get(`${this.apiPrefix}/${this.crudResource.get}/${idOrSlug}`);
|
|
55
|
+
};
|
|
56
|
+
create = (data) => {
|
|
57
|
+
return this.api.post(`${this.apiPrefix}/${this.crudResource.create}`, data);
|
|
58
|
+
};
|
|
59
|
+
update = (idOrSlug, data) => {
|
|
60
|
+
return this.api.put(`${this.apiPrefix}/${this.crudResource.update}/${idOrSlug}`, data);
|
|
61
|
+
};
|
|
62
|
+
deleteById = (idOrSlug) => {
|
|
63
|
+
return this.api.delete(`${this.apiPrefix}/${this.crudResource.delete}/${idOrSlug}`);
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
export { BaseService };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { CoreBuilder } from '../classes/CoreBuilder';
|
|
2
|
+
/**
|
|
3
|
+
* Generic store factory creator
|
|
4
|
+
* Creates a singleton store pattern for any builder
|
|
5
|
+
*/
|
|
6
|
+
export declare function createStoreFactory<TBuilder extends CoreBuilder, TStore, TService = any, TInitialState = any>(BuilderClass: new (service?: TService, initialState?: TInitialState) => TBuilder): {
|
|
7
|
+
createStore: (service?: TService, initialState?: TInitialState) => any;
|
|
8
|
+
useStore: (() => TStore) & {
|
|
9
|
+
persist: any;
|
|
10
|
+
};
|
|
11
|
+
setStore: (store: any) => void;
|
|
12
|
+
resetStore: () => void;
|
|
13
|
+
};
|
|
14
|
+
//# sourceMappingURL=factory.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"factory.d.ts","sourceRoot":"","sources":["../../src/services/factory.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAErD;;;GAGG;AACH,wBAAgB,kBAAkB,CAChC,QAAQ,SAAS,WAAW,EAC5B,MAAM,EACN,QAAQ,GAAG,GAAG,EACd,aAAa,GAAG,GAAG,EAEnB,YAAY,EAAE,KAAK,OAAO,CAAC,EAAE,QAAQ,EAAE,YAAY,CAAC,EAAE,aAAa,KAAK,QAAQ;4BAQjD,QAAQ,iBAAiB,aAAa,KAAG,GAAG;cAiDnD,OA/BH,MAAM,IA+Be;QAAE,OAAO,EAAE,GAAG,CAAA;KAAE;sBAbjC,GAAG;;EAiB7B"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
function createStoreFactory(BuilderClass) {
|
|
2
|
+
let storeInstance = null;
|
|
3
|
+
function createStore(service, initialState) {
|
|
4
|
+
const builder = new BuilderClass(service, initialState);
|
|
5
|
+
return builder.build();
|
|
6
|
+
}
|
|
7
|
+
function getStoreInstance() {
|
|
8
|
+
if (!storeInstance) {
|
|
9
|
+
storeInstance = createStore();
|
|
10
|
+
}
|
|
11
|
+
return storeInstance;
|
|
12
|
+
}
|
|
13
|
+
function useStore() {
|
|
14
|
+
const store = getStoreInstance();
|
|
15
|
+
return store();
|
|
16
|
+
}
|
|
17
|
+
Object.defineProperty(useStore, "persist", {
|
|
18
|
+
get() {
|
|
19
|
+
const store = getStoreInstance();
|
|
20
|
+
return store.persist;
|
|
21
|
+
},
|
|
22
|
+
enumerable: true,
|
|
23
|
+
configurable: true
|
|
24
|
+
});
|
|
25
|
+
function setStore(store) {
|
|
26
|
+
storeInstance = store;
|
|
27
|
+
}
|
|
28
|
+
function resetStore() {
|
|
29
|
+
storeInstance = null;
|
|
30
|
+
}
|
|
31
|
+
return {
|
|
32
|
+
createStore,
|
|
33
|
+
useStore,
|
|
34
|
+
setStore,
|
|
35
|
+
resetStore
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export { createStoreFactory };
|
package/dist/services/index.d.ts
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/services/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC;AACvB,cAAc,WAAW,CAAC"}
|
|
@@ -1,27 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
key: string;
|
|
7
|
-
component: string;
|
|
8
|
-
}[] | null;
|
|
9
|
-
styles: import('../types/ui').CoreDesignTemplateStyles[] | null;
|
|
10
|
-
settings: import('../types/ui').CoreDesignTemplateSettings | null;
|
|
11
|
-
}>>) => void;
|
|
12
|
-
clearStorage: () => void;
|
|
13
|
-
rehydrate: () => Promise<void> | void;
|
|
14
|
-
hasHydrated: () => boolean;
|
|
15
|
-
onHydrate: (fn: (state: import('..').CoreCustomizationStore) => void) => () => void;
|
|
16
|
-
onFinishHydration: (fn: (state: import('..').CoreCustomizationStore) => void) => () => void;
|
|
17
|
-
getOptions: () => Partial<import('zustand/middleware').PersistOptions<import('..').CoreCustomizationStore, {
|
|
18
|
-
template: string | null;
|
|
19
|
-
components: {
|
|
20
|
-
key: string;
|
|
21
|
-
component: string;
|
|
22
|
-
}[] | null;
|
|
23
|
-
styles: import('../types/ui').CoreDesignTemplateStyles[] | null;
|
|
24
|
-
settings: import('../types/ui').CoreDesignTemplateSettings | null;
|
|
25
|
-
}>>;
|
|
26
|
-
};
|
|
27
|
-
}>;
|
|
1
|
+
import { CoreCustomizationStore } from '../modules/CoreCustomization/types/CoreCustomization';
|
|
2
|
+
export declare const useCustomizationStore: (() => CoreCustomizationStore) & {
|
|
3
|
+
persist: any;
|
|
4
|
+
};
|
|
5
|
+
//# sourceMappingURL=customizationStore.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"customizationStore.d.ts","sourceRoot":"","sources":["../../src/stores/customizationStore.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,sBAAsB,EAAE,MAAM,sDAAsD,CAAC;AAY9F,eAAO,MAAM,qBAAqB;;CAAqC,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { CoreCustomizationBuilder } from '../modules/CoreCustomization/classes/CoreCustomizationBuilder.js';
|
|
2
|
+
import { createStoreFactory } from '../services/factory.js';
|
|
3
|
+
|
|
4
|
+
const customizationStoreFactory = createStoreFactory(CoreCustomizationBuilder);
|
|
5
|
+
const useCustomizationStore = customizationStoreFactory.useStore;
|
|
6
|
+
|
|
7
|
+
export { useCustomizationStore };
|
package/dist/stores/index.d.ts
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/stores/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/styles/index.ts"],"names":[],"mappings":"AAAA,OAAO,iBAAiB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BaseResponseActions.d.ts","sourceRoot":"","sources":["../../src/types/BaseResponseActions.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,WAAW;IACxB,SAAS,CAAC,EAAE,iBAAiB,CAAC;IAC9B,OAAO,CAAC,EAAE,eAAe,CAAC;IAC1B,QAAQ,CAAC,EAAE,gBAAgB,CAAC;CAC/B;AACD,MAAM,MAAM,iBAAiB,GAAG,CAAC,QAAQ,EAAE,GAAG,KAAK,IAAI,CAAC;AACxD,MAAM,MAAM,eAAe,GAAG,CAAC,KAAK,EAAE,GAAG,KAAK,IAAI,CAAC;AACnD,MAAM,MAAM,gBAAgB,GAAG,MAAM,IAAI,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BaseStore.d.ts","sourceRoot":"","sources":["../../src/types/BaseStore.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,SAAS;IACtB,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,UAAU,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;IACvC,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;IACzC,KAAK,EAAE,MAAM,IAAI,CAAC;CACrB"}
|
package/dist/types/BaseType.d.ts
CHANGED