umwd-components 0.1.841 → 0.1.843
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/tsconfig.build.tsbuildinfo +1 -1
- package/dist/esm/_virtual/index2.js +2 -2
- package/dist/esm/_virtual/index3.js +2 -2
- package/dist/esm/tsconfig.build.tsbuildinfo +1 -1
- package/dist/esm/umwd-components/node_modules/prop-types/index.js +1 -1
- package/dist/esm/umwd-components/node_modules/safe-buffer/index.js +1 -1
- package/package.json +1 -1
- package/dist/cjs/_virtual/events.js +0 -6
- package/dist/cjs/_virtual/index5.js +0 -6
- package/dist/cjs/_virtual/index6.js +0 -6
- package/dist/cjs/_virtual/node.js +0 -6
- package/dist/cjs/node_modules/@mollie/api-client/dist/mollie.esm.js +0 -6
- package/dist/cjs/node_modules/@mui/utils/esm/visuallyHidden/visuallyHidden.js +0 -6
- package/dist/cjs/node_modules/axios/lib/adapters/fetch.js +0 -6
- package/dist/cjs/node_modules/axios/lib/adapters/http.js +0 -7
- package/dist/cjs/node_modules/axios/lib/helpers/AxiosTransformStream.js +0 -7
- package/dist/cjs/node_modules/axios/lib/helpers/ZlibHeaderTransformStream.js +0 -7
- package/dist/cjs/node_modules/axios/lib/helpers/callbackify.js +0 -6
- package/dist/cjs/node_modules/axios/lib/helpers/composeSignals.js +0 -6
- package/dist/cjs/node_modules/axios/lib/helpers/formDataToStream.js +0 -6
- package/dist/cjs/node_modules/axios/lib/helpers/fromDataURI.js +0 -7
- package/dist/cjs/node_modules/axios/lib/helpers/progressEventReducer.js +0 -6
- package/dist/cjs/node_modules/axios/lib/helpers/readBlob.js +0 -6
- package/dist/cjs/node_modules/axios/lib/helpers/resolveConfig.js +0 -6
- package/dist/cjs/node_modules/axios/lib/helpers/throttle.js +0 -6
- package/dist/cjs/node_modules/axios/lib/helpers/trackStream.js +0 -6
- package/dist/cjs/node_modules/axios/lib/platform/node/classes/FormData.js +0 -6
- package/dist/cjs/node_modules/axios/lib/platform/node/classes/URLSearchParams.js +0 -7
- package/dist/cjs/node_modules/axios/lib/platform/node/index.js +0 -6
- package/dist/cjs/node_modules/call-bind-apply-helpers/actualApply.js +0 -6
- package/dist/cjs/node_modules/call-bind-apply-helpers/functionApply.js +0 -6
- package/dist/cjs/node_modules/call-bind-apply-helpers/functionCall.js +0 -6
- package/dist/cjs/node_modules/call-bind-apply-helpers/index.js +0 -6
- package/dist/cjs/node_modules/call-bind-apply-helpers/reflectApply.js +0 -6
- package/dist/cjs/node_modules/call-bound/index.js +0 -6
- package/dist/cjs/node_modules/dayjs/dayjs.min.js +0 -6
- package/dist/cjs/node_modules/dayjs/plugin/isoWeek.js +0 -6
- package/dist/cjs/node_modules/debug/src/browser.js +0 -6
- package/dist/cjs/node_modules/debug/src/common.js +0 -6
- package/dist/cjs/node_modules/debug/src/index.js +0 -6
- package/dist/cjs/node_modules/debug/src/node.js +0 -6
- package/dist/cjs/node_modules/dunder-proto/get.js +0 -6
- package/dist/cjs/node_modules/es-define-property/index.js +0 -6
- package/dist/cjs/node_modules/es-errors/eval.js +0 -6
- package/dist/cjs/node_modules/es-errors/index.js +0 -6
- package/dist/cjs/node_modules/es-errors/range.js +0 -6
- package/dist/cjs/node_modules/es-errors/ref.js +0 -6
- package/dist/cjs/node_modules/es-errors/syntax.js +0 -6
- package/dist/cjs/node_modules/es-errors/type.js +0 -6
- package/dist/cjs/node_modules/es-errors/uri.js +0 -6
- package/dist/cjs/node_modules/es-object-atoms/index.js +0 -6
- package/dist/cjs/node_modules/events/events.js +0 -6
- package/dist/cjs/node_modules/follow-redirects/debug.js +0 -6
- package/dist/cjs/node_modules/follow-redirects/index.js +0 -6
- package/dist/cjs/node_modules/form-data/lib/browser.js +0 -6
- package/dist/cjs/node_modules/function-bind/implementation.js +0 -6
- package/dist/cjs/node_modules/function-bind/index.js +0 -6
- package/dist/cjs/node_modules/get-intrinsic/index.js +0 -6
- package/dist/cjs/node_modules/get-proto/Object.getPrototypeOf.js +0 -6
- package/dist/cjs/node_modules/get-proto/Reflect.getPrototypeOf.js +0 -6
- package/dist/cjs/node_modules/get-proto/index.js +0 -6
- package/dist/cjs/node_modules/gopd/gOPD.js +0 -6
- package/dist/cjs/node_modules/gopd/index.js +0 -6
- package/dist/cjs/node_modules/has-flag/index.js +0 -6
- package/dist/cjs/node_modules/has-symbols/index.js +0 -6
- package/dist/cjs/node_modules/has-symbols/shams.js +0 -6
- package/dist/cjs/node_modules/hasown/index.js +0 -6
- package/dist/cjs/node_modules/math-intrinsics/abs.js +0 -6
- package/dist/cjs/node_modules/math-intrinsics/floor.js +0 -6
- package/dist/cjs/node_modules/math-intrinsics/isNaN.js +0 -6
- package/dist/cjs/node_modules/math-intrinsics/max.js +0 -6
- package/dist/cjs/node_modules/math-intrinsics/min.js +0 -6
- package/dist/cjs/node_modules/math-intrinsics/pow.js +0 -6
- package/dist/cjs/node_modules/math-intrinsics/round.js +0 -6
- package/dist/cjs/node_modules/math-intrinsics/sign.js +0 -6
- package/dist/cjs/node_modules/ms/index.js +0 -6
- package/dist/cjs/node_modules/object-assign/index.js +0 -11
- package/dist/cjs/node_modules/object-inspect/index.js +0 -6
- package/dist/cjs/node_modules/object-inspect/util.inspect.js +0 -6
- package/dist/cjs/node_modules/prop-types/checkPropTypes.js +0 -6
- package/dist/cjs/node_modules/prop-types/factoryWithThrowingShims.js +0 -6
- package/dist/cjs/node_modules/prop-types/factoryWithTypeCheckers.js +0 -6
- package/dist/cjs/node_modules/prop-types/index.js +0 -6
- package/dist/cjs/node_modules/prop-types/lib/ReactPropTypesSecret.js +0 -6
- package/dist/cjs/node_modules/prop-types/lib/has.js +0 -6
- package/dist/cjs/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js +0 -14
- package/dist/cjs/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js +0 -14
- package/dist/cjs/node_modules/prop-types/node_modules/react-is/index.js +0 -6
- package/dist/cjs/node_modules/proxy-from-env/index.js +0 -6
- package/dist/cjs/node_modules/qs/lib/formats.js +0 -6
- package/dist/cjs/node_modules/qs/lib/index.js +0 -6
- package/dist/cjs/node_modules/qs/lib/parse.js +0 -6
- package/dist/cjs/node_modules/qs/lib/stringify.js +0 -6
- package/dist/cjs/node_modules/qs/lib/utils.js +0 -6
- package/dist/cjs/node_modules/react-csv/index.js +0 -6
- package/dist/cjs/node_modules/react-csv/lib/components/Download.js +0 -6
- package/dist/cjs/node_modules/react-csv/lib/components/Link.js +0 -6
- package/dist/cjs/node_modules/react-csv/lib/core.js +0 -6
- package/dist/cjs/node_modules/react-csv/lib/index.js +0 -6
- package/dist/cjs/node_modules/react-csv/lib/metaProps.js +0 -6
- package/dist/cjs/node_modules/safe-buffer/index.js +0 -6
- package/dist/cjs/node_modules/sax/lib/sax.js +0 -7
- package/dist/cjs/node_modules/side-channel/index.js +0 -6
- package/dist/cjs/node_modules/side-channel-list/index.js +0 -6
- package/dist/cjs/node_modules/side-channel-map/index.js +0 -6
- package/dist/cjs/node_modules/side-channel-weakmap/index.js +0 -6
- package/dist/cjs/node_modules/string_decoder/lib/string_decoder.js +0 -6
- package/dist/cjs/node_modules/supports-color/index.js +0 -6
- package/dist/cjs/node_modules/xml-js/lib/array-helper.js +0 -6
- package/dist/cjs/node_modules/xml-js/lib/index.js +0 -6
- package/dist/cjs/node_modules/xml-js/lib/js2xml.js +0 -6
- package/dist/cjs/node_modules/xml-js/lib/json2xml.js +0 -6
- package/dist/cjs/node_modules/xml-js/lib/options-helper.js +0 -6
- package/dist/cjs/node_modules/xml-js/lib/xml2js.js +0 -6
- package/dist/cjs/node_modules/xml-js/lib/xml2json.js +0 -6
- package/dist/cjs/src/components/ExplanatoryFoldOut.js +0 -6
- package/dist/cjs/src/components/FluidBackground.js +0 -7
- package/dist/cjs/src/components/LogoutButton.js +0 -7
- package/dist/cjs/src/components/ScrollLink.js +0 -7
- package/dist/cjs/src/components/StrapiErrors.js +0 -6
- package/dist/cjs/src/components/StrapiImage.js +0 -6
- package/dist/cjs/src/components/StyledLink.js +0 -6
- package/dist/cjs/src/components/SubmitButton.js +0 -7
- package/dist/cjs/src/components/WebsitePlaceholder.js +0 -7
- package/dist/cjs/src/components/WhatsAppClickToChatButton.js +0 -7
- package/dist/cjs/src/components/ZodErrors.js +0 -6
- package/dist/cjs/src/components/auth/AuthWidget.js +0 -7
- package/dist/cjs/src/components/auth/DenseRegisterForm.js +0 -7
- package/dist/cjs/src/components/auth/DenseSigninForm.js +0 -7
- package/dist/cjs/src/components/auth/ForgotPasswordForm.js +0 -7
- package/dist/cjs/src/components/auth/PasswordResetForm.js +0 -7
- package/dist/cjs/src/components/auth/RegisterForm.js +0 -7
- package/dist/cjs/src/components/auth/SigninForm.js +0 -7
- package/dist/cjs/src/components/common/Address.js +0 -7
- package/dist/cjs/src/components/common/AmountIndicator.js +0 -6
- package/dist/cjs/src/components/common/AmountUpdater.js +0 -6
- package/dist/cjs/src/components/common/Contacts.js +0 -6
- package/dist/cjs/src/components/common/Dimensions.js +0 -6
- package/dist/cjs/src/components/common/EnhancedTable/EnhancedTable.js +0 -6
- package/dist/cjs/src/components/common/EnhancedTable/EnhancedTableFilterRow.js +0 -6
- package/dist/cjs/src/components/common/EnhancedTable/EnhancedTableHead.js +0 -6
- package/dist/cjs/src/components/common/EnhancedTable/EnhancedTableRow.js +0 -6
- package/dist/cjs/src/components/common/EnhancedTable/EnhancedTableToolbar.js +0 -6
- package/dist/cjs/src/components/common/ImagePreviewTooltip.js +0 -6
- package/dist/cjs/src/components/common/NumberInput.js +0 -6
- package/dist/cjs/src/components/common/Pagination.js +0 -7
- package/dist/cjs/src/components/common/TextualAmountUpdater.js +0 -6
- package/dist/cjs/src/components/common/WeekPicker.js +0 -6
- package/dist/cjs/src/components/common/cookie-consent/CookieConsentBanner.js +0 -7
- package/dist/cjs/src/components/common/cookie-consent/CookieConsentButton.js +0 -7
- package/dist/cjs/src/components/common/cookie-consent/CookieConsentButtonSmall.js +0 -7
- package/dist/cjs/src/components/common/cookie-consent/CookieConsentContext.js +0 -7
- package/dist/cjs/src/components/common/csv/CsvDownloader.js +0 -6
- package/dist/cjs/src/components/common/markdown/MarkdownDisplay.js +0 -7
- package/dist/cjs/src/components/common/markdown/MarkdownEditor.js +0 -7
- package/dist/cjs/src/components/common/markdown/MarkdownTextField.js +0 -6
- package/dist/cjs/src/components/common/media/DenseEditMediaForm.js +0 -7
- package/dist/cjs/src/components/common/media/EditMediaDialog.js +0 -6
- package/dist/cjs/src/components/common/media/MediaGrid.js +0 -7
- package/dist/cjs/src/components/common/media/MediaItem.js +0 -6
- package/dist/cjs/src/components/common/media/MediaLibraryDialog.js +0 -7
- package/dist/cjs/src/components/common/media/UploadBase64MediaForm.js +0 -7
- package/dist/cjs/src/components/common/media/UploadMediaForm.js +0 -7
- package/dist/cjs/src/components/common/media/minio/MinioDeleteFormButton.js +0 -7
- package/dist/cjs/src/components/common/media/minio/MinioDisplay.js +0 -7
- package/dist/cjs/src/components/common/media/minio/MinioDownloadButton.js +0 -7
- package/dist/cjs/src/components/common/media/minio/MinioItemList.js +0 -7
- package/dist/cjs/src/components/common/media/minio/UploadMinioMediaForm.js +0 -7
- package/dist/cjs/src/components/common/snackbar/GlobalSnackbar.js +0 -6
- package/dist/cjs/src/components/common/socials/Socials.js +0 -6
- package/dist/cjs/src/components/e-commerce/cart/AddToCartButton.client.js +0 -7
- package/dist/cjs/src/components/e-commerce/cart/CartDisplay.js +0 -7
- package/dist/cjs/src/components/e-commerce/cart/CartSummary.js +0 -7
- package/dist/cjs/src/components/e-commerce/cart/CartSummaryRow.js +0 -7
- package/dist/cjs/src/components/e-commerce/cart/CartWidget.js +0 -7
- package/dist/cjs/src/components/e-commerce/cart/hooks.js +0 -6
- package/dist/cjs/src/components/e-commerce/categories/AddCategoryForm.js +0 -7
- package/dist/cjs/src/components/e-commerce/categories/CategorySelectorV2.js +0 -6
- package/dist/cjs/src/components/e-commerce/categories/EditCategoryForm.js +0 -7
- package/dist/cjs/src/components/e-commerce/checkout/CheckoutForm.js +0 -7
- package/dist/cjs/src/components/e-commerce/checkout/Step1.js +0 -7
- package/dist/cjs/src/components/e-commerce/checkout/Step2.js +0 -7
- package/dist/cjs/src/components/e-commerce/checkout/Step3.js +0 -6
- package/dist/cjs/src/components/e-commerce/checkout/Step4.js +0 -7
- package/dist/cjs/src/components/e-commerce/checkout/Step5.js +0 -6
- package/dist/cjs/src/components/e-commerce/customer/BusinessCredentials.js +0 -7
- package/dist/cjs/src/components/e-commerce/customer/CustomerCompletenessWarning.js +0 -6
- package/dist/cjs/src/components/e-commerce/customer/CustomerProfileDisplay.js +0 -7
- package/dist/cjs/src/components/e-commerce/customer/CustomerProfileEditForm.js +0 -7
- package/dist/cjs/src/components/e-commerce/customer/CustomerSelector.js +0 -6
- package/dist/cjs/src/components/e-commerce/customer/DenseCustomerProfileDisplay.js +0 -6
- package/dist/cjs/src/components/e-commerce/enduser/EnduserProfileDisplay.js +0 -7
- package/dist/cjs/src/components/e-commerce/enduser/EnduserProfileEditForm.js +0 -7
- package/dist/cjs/src/components/e-commerce/invoice/CreateInvoiceForm.js +0 -7
- package/dist/cjs/src/components/e-commerce/invoice/InvoiceItemFields.js +0 -6
- package/dist/cjs/src/components/e-commerce/iro/CreateIROForm.js +0 -7
- package/dist/cjs/src/components/e-commerce/iro/IROItemFields.js +0 -6
- package/dist/cjs/src/components/e-commerce/iro/IroItemDisplay.js +0 -6
- package/dist/cjs/src/components/e-commerce/iro/IroItemUpdater.js +0 -6
- package/dist/cjs/src/components/e-commerce/iro/IroStatusIndicator.js +0 -7
- package/dist/cjs/src/components/e-commerce/iro/ManageIROForm.js +0 -6
- package/dist/cjs/src/components/e-commerce/iro/RmaForm.js +0 -7
- package/dist/cjs/src/components/e-commerce/iro/TextualIROItemUpdater.js +0 -6
- package/dist/cjs/src/components/e-commerce/iro/TextualManageIROForm.js +0 -6
- package/dist/cjs/src/components/e-commerce/opo/CreateOpoForm.js +0 -7
- package/dist/cjs/src/components/e-commerce/opo/ManageOpoForm.js +0 -6
- package/dist/cjs/src/components/e-commerce/opo/OPOItemFields.js +0 -6
- package/dist/cjs/src/components/e-commerce/opo/OpoDisplay.js +0 -6
- package/dist/cjs/src/components/e-commerce/opo/OpoItemDisplay.js +0 -6
- package/dist/cjs/src/components/e-commerce/opo/OpoItemUpdater.js +0 -6
- package/dist/cjs/src/components/e-commerce/opo/OpoStatusIndicator.js +0 -7
- package/dist/cjs/src/components/e-commerce/opo/OpoSummary.js +0 -6
- package/dist/cjs/src/components/e-commerce/opo/OpoSummaryRow.js +0 -6
- package/dist/cjs/src/components/e-commerce/opo/PaymentStatusIndicator.js +0 -6
- package/dist/cjs/src/components/e-commerce/opo/ShippingStatusIndicator.js +0 -6
- package/dist/cjs/src/components/e-commerce/opo/TextualManageOpoForm.js +0 -6
- package/dist/cjs/src/components/e-commerce/opo/TextualOpoItemUpdater.js +0 -6
- package/dist/cjs/src/components/e-commerce/products/AddProductForm.js +0 -7
- package/dist/cjs/src/components/e-commerce/products/EditProductForm.js +0 -7
- package/dist/cjs/src/components/e-commerce/products/EditReturnStockForm.js +0 -7
- package/dist/cjs/src/components/e-commerce/products/EditStockForm.js +0 -7
- package/dist/cjs/src/components/e-commerce/products/Price.js +0 -6
- package/dist/cjs/src/components/e-commerce/products/PriceFields.js +0 -7
- package/dist/cjs/src/components/e-commerce/products/ProductCard.js +0 -6
- package/dist/cjs/src/components/e-commerce/products/ProductCategoryCard.js +0 -6
- package/dist/cjs/src/components/e-commerce/products/ProductSelector.js +0 -6
- package/dist/cjs/src/components/e-commerce/products/SingleProduct.js +0 -6
- package/dist/cjs/src/components/layout/Footer.js +0 -7
- package/dist/cjs/src/components/layout/Navbar.js +0 -7
- package/dist/cjs/src/components/layout/NavbarV2.js +0 -7
- package/dist/cjs/src/components/layout/SideNav.js +0 -7
- package/dist/cjs/src/components/logistics/dispatcher/DispatcherProfileDisplay.js +0 -7
- package/dist/cjs/src/components/logistics/dispatcher/DispatcherProfileEditForm.js +0 -7
- package/dist/cjs/src/components/logistics/ipo/AddIPOForm.js +0 -7
- package/dist/cjs/src/components/logistics/ipo/IPOItemFields.js +0 -6
- package/dist/cjs/src/components/logistics/ipo/IPOItemUpdater.js +0 -6
- package/dist/cjs/src/components/logistics/ipo/IpoStatusIndicator.js +0 -7
- package/dist/cjs/src/components/logistics/ipo/ItemDisplay.js +0 -6
- package/dist/cjs/src/components/logistics/ipo/ManageIPOForm.js +0 -6
- package/dist/cjs/src/components/logistics/ipo/TextualIPOItemUpdater.js +0 -6
- package/dist/cjs/src/components/logistics/ipo/TextualManageIPOForm.js +0 -6
- package/dist/cjs/src/components/logistics/note/NoteTakingComponent.js +0 -6
- package/dist/cjs/src/components/logistics/note/NotesDisplay.js +0 -6
- package/dist/cjs/src/components/logistics/report/PreReportsDisplay.js +0 -6
- package/dist/cjs/src/components/logistics/report/ReportMakingComponent.js +0 -6
- package/dist/cjs/src/components/logistics/report/ReportsDisplay.js +0 -6
- package/dist/cjs/src/components/logistics/report/ReportsWarning.js +0 -6
- package/dist/cjs/src/components/logistics/report/SimpleReportFields.js +0 -6
- package/dist/cjs/src/components/logistics/vendor/AddVendorForm.js +0 -7
- package/dist/cjs/src/components/logistics/vendor/EditVendorForm.js +0 -7
- package/dist/cjs/src/components/logistics/vendor/VendorDisplay.js +0 -7
- package/dist/cjs/src/components/logistics/vendor/VendorSelector.js +0 -6
- package/dist/cjs/src/components/page-builder/PBCategoryBlock.js +0 -6
- package/dist/cjs/src/components/page-builder/PBColumnsSection.js +0 -6
- package/dist/cjs/src/components/page-builder/PBFeaturesSection.js +0 -6
- package/dist/cjs/src/components/page-builder/PBFleetSection.js +0 -6
- package/dist/cjs/src/components/page-builder/PBHeroSection.js +0 -6
- package/dist/cjs/src/components/page-builder/PBIconSection.js +0 -6
- package/dist/cjs/src/components/page-builder/PBLogoBarSection.js +0 -7
- package/dist/cjs/src/components/page-builder/PBPersonaliaSection.js +0 -7
- package/dist/cjs/src/components/page-builder/PBPictureBarSection.js +0 -7
- package/dist/cjs/src/components/page-builder/PBProductBlock.js +0 -7
- package/dist/cjs/src/components/page-builder/PBTextImageSection.js +0 -7
- package/dist/cjs/src/components/page-builder/PageBuilder.js +0 -7
- package/dist/cjs/src/components/page-elements/CategoryBlock.js +0 -7
- package/dist/cjs/src/components/page-elements/ColumnsSection.js +0 -6
- package/dist/cjs/src/components/page-elements/FeaturesSection.js +0 -7
- package/dist/cjs/src/components/page-elements/FleetSection.js +0 -6
- package/dist/cjs/src/components/page-elements/HeroSectionV2.js +0 -7
- package/dist/cjs/src/components/page-elements/IconSection.js +0 -6
- package/dist/cjs/src/components/page-elements/LogoBarSection.js +0 -7
- package/dist/cjs/src/components/page-elements/Page.js +0 -6
- package/dist/cjs/src/components/page-elements/PersonaliaSection.js +0 -7
- package/dist/cjs/src/components/page-elements/PictureBarSection.js +0 -7
- package/dist/cjs/src/components/page-elements/ProductBlock.js +0 -7
- package/dist/cjs/src/components/page-elements/TextImageSection.js +0 -7
- package/dist/cjs/src/components/public-information/PublicInformationForm.js +0 -7
- package/dist/cjs/src/context/auth/SessionContext.js +0 -7
- package/dist/cjs/src/context/common/SnackbarContext.js +0 -7
- package/dist/cjs/src/context/e-commerce/cart/CartContext.js +0 -7
- package/dist/cjs/src/context/e-commerce/checkout/CheckoutContext.js +0 -7
- package/dist/cjs/src/data/actions/auth-actions.js +0 -7
- package/dist/cjs/src/data/actions/e-commerce/categories/createCategoryAction.js +0 -7
- package/dist/cjs/src/data/actions/e-commerce/categories/updateCategoryAction.js +0 -7
- package/dist/cjs/src/data/actions/e-commerce/checkout-action.js +0 -7
- package/dist/cjs/src/data/actions/e-commerce/enduser/profile-actions.js +0 -7
- package/dist/cjs/src/data/actions/e-commerce/invoices/createInvoiceAction.js +0 -7
- package/dist/cjs/src/data/actions/e-commerce/iro/createIroAction.js +0 -7
- package/dist/cjs/src/data/actions/e-commerce/iro/requestRmaAction.js +0 -7
- package/dist/cjs/src/data/actions/e-commerce/iro/updateIroAction.js +0 -7
- package/dist/cjs/src/data/actions/e-commerce/lead/contactFormAction.js +0 -7
- package/dist/cjs/src/data/actions/e-commerce/opo/createOpoAction.js +0 -7
- package/dist/cjs/src/data/actions/e-commerce/opo/updateOpoAction.js +0 -7
- package/dist/cjs/src/data/actions/e-commerce/product/createProductAction.js +0 -7
- package/dist/cjs/src/data/actions/e-commerce/product/updateProductAction.js +0 -7
- package/dist/cjs/src/data/actions/logistics/dispatcher/profile-actions.js +0 -7
- package/dist/cjs/src/data/actions/logistics/ipo/createIPOAction.js +0 -7
- package/dist/cjs/src/data/actions/logistics/ipo/updateIpoAction.js +0 -7
- package/dist/cjs/src/data/actions/logistics/note/createNoteAction.js +0 -7
- package/dist/cjs/src/data/actions/logistics/report/createReportAction.js +0 -7
- package/dist/cjs/src/data/actions/logistics/vendor/createVendorAction.js +0 -7
- package/dist/cjs/src/data/actions/logistics/vendor/updateVendorAction.js +0 -7
- package/dist/cjs/src/data/actions/media/minio/deleteMinioMediaAction.js +0 -6
- package/dist/cjs/src/data/actions/media/minio/uploadMinioMediaAction.js +0 -6
- package/dist/cjs/src/data/actions/media/updateMediaAction.js +0 -7
- package/dist/cjs/src/data/actions/media/uploadBase64MediaAction.js +0 -6
- package/dist/cjs/src/data/actions/media/uploadMediaAction.js +0 -6
- package/dist/cjs/src/data/actions/pagebuilder-actions.js +0 -7
- package/dist/cjs/src/data/actions/profile-actions.js +0 -7
- package/dist/cjs/src/data/actions/public-information/updatePublicInformationAction.js +0 -7
- package/dist/cjs/src/data/loaders/common/media/downloadBase64File.js +0 -6
- package/dist/cjs/src/data/loaders/common/media/getAllMedia.js +0 -7
- package/dist/cjs/src/data/loaders/common/media/minio/downloadMinioItemClient.js +0 -7
- package/dist/cjs/src/data/loaders/common/media/minio/getAllMinioMedia.js +0 -7
- package/dist/cjs/src/data/loaders/common/media/minio/getAllMinioReferences.js +0 -7
- package/dist/cjs/src/data/loaders/common/media/minio/getMinioSignedUrl.js +0 -7
- package/dist/cjs/src/data/loaders/e-commerce/getAllCategoryNames.js +0 -7
- package/dist/cjs/src/data/loaders/e-commerce/getAllCustomers.js +0 -7
- package/dist/cjs/src/data/loaders/e-commerce/getAllInvoices.js +0 -7
- package/dist/cjs/src/data/loaders/e-commerce/getAllOpos.js +0 -7
- package/dist/cjs/src/data/loaders/e-commerce/getCustomerLabels.js +0 -7
- package/dist/cjs/src/data/loaders/e-commerce/getCustomerModel.js +0 -7
- package/dist/cjs/src/data/loaders/e-commerce/getOpoModel.js +0 -7
- package/dist/cjs/src/data/loaders/e-commerce/getPaginatedCategories.js +0 -7
- package/dist/cjs/src/data/loaders/e-commerce/getProductModel.js +0 -7
- package/dist/cjs/src/data/loaders/e-commerce/getProductNames.js +0 -7
- package/dist/cjs/src/data/loaders/e-commerce/getSalesData.js +0 -7
- package/dist/cjs/src/data/loaders/e-commerce/getShop.js +0 -7
- package/dist/cjs/src/data/loaders/e-commerce/getSingleCategory.js +0 -6
- package/dist/cjs/src/data/loaders/e-commerce/getSingleCustomer.js +0 -7
- package/dist/cjs/src/data/loaders/e-commerce/getSingleOpo.js +0 -7
- package/dist/cjs/src/data/loaders/e-commerce/getSingleProduct.js +0 -7
- package/dist/cjs/src/data/loaders/e-commerce/getSingleReturnStock.js +0 -7
- package/dist/cjs/src/data/loaders/e-commerce/getSingleStock.js +0 -7
- package/dist/cjs/src/data/loaders/e-commerce/getTableProducts.js +0 -7
- package/dist/cjs/src/data/loaders/e-commerce/iros/getAllIros.js +0 -7
- package/dist/cjs/src/data/loaders/e-commerce/iros/getIroModel.js +0 -7
- package/dist/cjs/src/data/loaders/e-commerce/iros/getSingleIro.js +0 -7
- package/dist/cjs/src/data/loaders/e-commerce/iros/queryAllIros.js +0 -7
- package/dist/cjs/src/data/loaders/e-commerce/queryAllCustomers.js +0 -7
- package/dist/cjs/src/data/loaders/e-commerce/queryAllOpos.js +0 -7
- package/dist/cjs/src/data/loaders/e-commerce/queryAllProducts.js +0 -7
- package/dist/cjs/src/data/loaders/e-commerce-loaders.js +0 -7
- package/dist/cjs/src/data/loaders/loaders.js +0 -7
- package/dist/cjs/src/data/loaders/logistics/getIpoModel.js +0 -7
- package/dist/cjs/src/data/loaders/logistics/getIpoNames.js +0 -7
- package/dist/cjs/src/data/loaders/logistics/getSingleIpo.js +0 -7
- package/dist/cjs/src/data/loaders/logistics/getSingleVendor.js +0 -7
- package/dist/cjs/src/data/loaders/logistics/getTableIpos.js +0 -7
- package/dist/cjs/src/data/loaders/logistics/getTableVendors.js +0 -7
- package/dist/cjs/src/data/loaders/logistics/getVendorModel.js +0 -7
- package/dist/cjs/src/data/loaders/logistics/getVendorNames.js +0 -7
- package/dist/cjs/src/data/loaders/logistics/queryAllIpos.js +0 -7
- package/dist/cjs/src/data/loaders/logistics/queryAllVendors.js +0 -7
- package/dist/cjs/src/data/loaders/page-builder/getTablePages.js +0 -7
- package/dist/cjs/src/data/loaders/page-elements/getSinglePage.js +0 -7
- package/dist/cjs/src/data/loaders/public-information/getPublicInformation.js +0 -7
- package/dist/cjs/src/data/loaders/user/getUserMeLoader.js +0 -7
- package/dist/cjs/src/data/services/archive-service.js +0 -7
- package/dist/cjs/src/data/services/auth-service.js +0 -7
- package/dist/cjs/src/data/services/common/cancellation-service.js +0 -7
- package/dist/cjs/src/data/services/common/confirmation-service.js +0 -7
- package/dist/cjs/src/data/services/common/media/minio/minioDeleteService.js +0 -7
- package/dist/cjs/src/data/services/common/media/minio/minioUploadService.js +0 -7
- package/dist/cjs/src/data/services/e-commerce/enduser/get-enduser-me-loader.js +0 -7
- package/dist/cjs/src/data/services/file-service.js +0 -6
- package/dist/cjs/src/data/services/get-token.js +0 -7
- package/dist/cjs/src/data/services/get-user-me-loader.js +0 -7
- package/dist/cjs/src/data/services/logistics/dispatcher/get-dispatcher-me-loader.js +0 -7
- package/dist/cjs/src/data/services/mutate-data.js +0 -7
- package/dist/cjs/src/index.js +0 -6
- package/dist/cjs/src/lib/APIcon.js +0 -6
- package/dist/cjs/src/lib/AmbulanceIcon.js +0 -6
- package/dist/cjs/src/lib/areBusinessCredentialsComplete.js +0 -6
- package/dist/cjs/src/lib/deleteCookie.js +0 -6
- package/dist/cjs/src/lib/eoriValidate.js +0 -6
- package/dist/cjs/src/lib/getCookie.js +0 -6
- package/dist/cjs/src/lib/getIcon.js +0 -6
- package/dist/cjs/src/lib/isAddressComplete.js +0 -6
- package/dist/cjs/src/lib/isCustomerProfileComplete.js +0 -6
- package/dist/cjs/src/lib/isCustomerProfileCompleteEnough.js +0 -6
- package/dist/cjs/src/lib/isCustomerProfileCompleteV2.js +0 -6
- package/dist/cjs/src/lib/isEORIValid.js +0 -6
- package/dist/cjs/src/lib/isVATValid.js +0 -6
- package/dist/cjs/src/lib/molliePaymentProvider.js +0 -7
- package/dist/cjs/src/lib/parseFormData.js +0 -6
- package/dist/cjs/src/lib/parseNavigation.js +0 -6
- package/dist/cjs/src/lib/processFilters.js +0 -6
- package/dist/cjs/src/lib/setCookie.js +0 -6
- package/dist/cjs/src/lib/utils.js +0 -6
- package/dist/cjs/src/lib/vatValidate.js +0 -6
- package/dist/cjs/src/types/common/Contact.js +0 -6
- package/dist/esm/_virtual/events.js +0 -9
- package/dist/esm/_virtual/index5.js +0 -9
- package/dist/esm/_virtual/index6.js +0 -9
- package/dist/esm/_virtual/node.js +0 -9
- package/dist/esm/node_modules/@mollie/api-client/dist/mollie.esm.js +0 -5239
- package/dist/esm/node_modules/@mui/utils/esm/visuallyHidden/visuallyHidden.js +0 -19
- package/dist/esm/node_modules/axios/lib/adapters/fetch.js +0 -235
- package/dist/esm/node_modules/axios/lib/adapters/http.js +0 -698
- package/dist/esm/node_modules/axios/lib/helpers/AxiosTransformStream.js +0 -148
- package/dist/esm/node_modules/axios/lib/helpers/ZlibHeaderTransformStream.js +0 -33
- package/dist/esm/node_modules/axios/lib/helpers/callbackify.js +0 -22
- package/dist/esm/node_modules/axios/lib/helpers/composeSignals.js +0 -54
- package/dist/esm/node_modules/axios/lib/helpers/formDataToStream.js +0 -117
- package/dist/esm/node_modules/axios/lib/helpers/fromDataURI.js +0 -60
- package/dist/esm/node_modules/axios/lib/helpers/progressEventReducer.js +0 -52
- package/dist/esm/node_modules/axios/lib/helpers/readBlob.js +0 -21
- package/dist/esm/node_modules/axios/lib/helpers/resolveConfig.js +0 -64
- package/dist/esm/node_modules/axios/lib/helpers/throttle.js +0 -50
- package/dist/esm/node_modules/axios/lib/helpers/trackStream.js +0 -94
- package/dist/esm/node_modules/axios/lib/platform/node/classes/FormData.js +0 -11
- package/dist/esm/node_modules/axios/lib/platform/node/classes/URLSearchParams.js +0 -12
- package/dist/esm/node_modules/axios/lib/platform/node/index.js +0 -20
- package/dist/esm/node_modules/call-bind-apply-helpers/actualApply.js +0 -21
- package/dist/esm/node_modules/call-bind-apply-helpers/functionApply.js +0 -19
- package/dist/esm/node_modules/call-bind-apply-helpers/functionCall.js +0 -19
- package/dist/esm/node_modules/call-bind-apply-helpers/index.js +0 -26
- package/dist/esm/node_modules/call-bind-apply-helpers/reflectApply.js +0 -10
- package/dist/esm/node_modules/call-bound/index.js +0 -28
- package/dist/esm/node_modules/dayjs/dayjs.min.js +0 -17
- package/dist/esm/node_modules/dayjs/plugin/isoWeek.js +0 -17
- package/dist/esm/node_modules/debug/src/browser.js +0 -292
- package/dist/esm/node_modules/debug/src/common.js +0 -309
- package/dist/esm/node_modules/debug/src/index.js +0 -29
- package/dist/esm/node_modules/debug/src/node.js +0 -286
- package/dist/esm/node_modules/dunder-proto/get.js +0 -48
- package/dist/esm/node_modules/es-define-property/index.js +0 -20
- package/dist/esm/node_modules/es-errors/eval.js +0 -10
- package/dist/esm/node_modules/es-errors/index.js +0 -10
- package/dist/esm/node_modules/es-errors/range.js +0 -10
- package/dist/esm/node_modules/es-errors/ref.js +0 -10
- package/dist/esm/node_modules/es-errors/syntax.js +0 -10
- package/dist/esm/node_modules/es-errors/type.js +0 -10
- package/dist/esm/node_modules/es-errors/uri.js +0 -10
- package/dist/esm/node_modules/es-object-atoms/index.js +0 -10
- package/dist/esm/node_modules/events/events.js +0 -485
- package/dist/esm/node_modules/follow-redirects/debug.js +0 -25
- package/dist/esm/node_modules/follow-redirects/index.js +0 -706
- package/dist/esm/node_modules/form-data/lib/browser.js +0 -14
- package/dist/esm/node_modules/function-bind/implementation.js +0 -99
- package/dist/esm/node_modules/function-bind/index.js +0 -22
- package/dist/esm/node_modules/get-intrinsic/index.js +0 -410
- package/dist/esm/node_modules/get-proto/Object.getPrototypeOf.js +0 -23
- package/dist/esm/node_modules/get-proto/Reflect.getPrototypeOf.js +0 -19
- package/dist/esm/node_modules/get-proto/index.js +0 -46
- package/dist/esm/node_modules/gopd/gOPD.js +0 -10
- package/dist/esm/node_modules/gopd/index.js +0 -23
- package/dist/esm/node_modules/has-flag/index.js +0 -23
- package/dist/esm/node_modules/has-symbols/index.js +0 -31
- package/dist/esm/node_modules/has-symbols/shams.js +0 -60
- package/dist/esm/node_modules/hasown/index.js +0 -25
- package/dist/esm/node_modules/math-intrinsics/abs.js +0 -10
- package/dist/esm/node_modules/math-intrinsics/floor.js +0 -10
- package/dist/esm/node_modules/math-intrinsics/isNaN.js +0 -12
- package/dist/esm/node_modules/math-intrinsics/max.js +0 -10
- package/dist/esm/node_modules/math-intrinsics/min.js +0 -10
- package/dist/esm/node_modules/math-intrinsics/pow.js +0 -10
- package/dist/esm/node_modules/math-intrinsics/round.js +0 -10
- package/dist/esm/node_modules/math-intrinsics/sign.js +0 -19
- package/dist/esm/node_modules/ms/index.js +0 -178
- package/dist/esm/node_modules/object-assign/index.js +0 -105
- package/dist/esm/node_modules/object-inspect/index.js +0 -555
- package/dist/esm/node_modules/object-inspect/util.inspect.js +0 -11
- package/dist/esm/node_modules/prop-types/checkPropTypes.js +0 -121
- package/dist/esm/node_modules/prop-types/factoryWithThrowingShims.js +0 -80
- package/dist/esm/node_modules/prop-types/factoryWithTypeCheckers.js +0 -631
- package/dist/esm/node_modules/prop-types/index.js +0 -34
- package/dist/esm/node_modules/prop-types/lib/ReactPropTypesSecret.js +0 -27
- package/dist/esm/node_modules/prop-types/lib/has.js +0 -17
- package/dist/esm/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js +0 -196
- package/dist/esm/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js +0 -32
- package/dist/esm/node_modules/prop-types/node_modules/react-is/index.js +0 -25
- package/dist/esm/node_modules/proxy-from-env/index.js +0 -116
- package/dist/esm/node_modules/qs/lib/formats.js +0 -29
- package/dist/esm/node_modules/qs/lib/index.js +0 -24
- package/dist/esm/node_modules/qs/lib/parse.js +0 -336
- package/dist/esm/node_modules/qs/lib/stringify.js +0 -366
- package/dist/esm/node_modules/qs/lib/utils.js +0 -276
- package/dist/esm/node_modules/react-csv/index.js +0 -12
- package/dist/esm/node_modules/react-csv/lib/components/Download.js +0 -89
- package/dist/esm/node_modules/react-csv/lib/components/Link.js +0 -161
- package/dist/esm/node_modules/react-csv/lib/core.js +0 -126
- package/dist/esm/node_modules/react-csv/lib/index.js +0 -31
- package/dist/esm/node_modules/react-csv/lib/metaProps.js +0 -46
- package/dist/esm/node_modules/safe-buffer/index.js +0 -86
- package/dist/esm/node_modules/sax/lib/sax.js +0 -1706
- package/dist/esm/node_modules/side-channel/index.js +0 -55
- package/dist/esm/node_modules/side-channel-list/index.js +0 -122
- package/dist/esm/node_modules/side-channel-map/index.js +0 -79
- package/dist/esm/node_modules/side-channel-weakmap/index.js +0 -96
- package/dist/esm/node_modules/string_decoder/lib/string_decoder.js +0 -291
- package/dist/esm/node_modules/supports-color/index.js +0 -154
- package/dist/esm/node_modules/xml-js/lib/array-helper.js +0 -19
- package/dist/esm/node_modules/xml-js/lib/index.js +0 -29
- package/dist/esm/node_modules/xml-js/lib/js2xml.js +0 -331
- package/dist/esm/node_modules/xml-js/lib/json2xml.js +0 -28
- package/dist/esm/node_modules/xml-js/lib/options-helper.js +0 -53
- package/dist/esm/node_modules/xml-js/lib/xml2js.js +0 -360
- package/dist/esm/node_modules/xml-js/lib/xml2json.js +0 -33
- package/dist/esm/src/components/ExplanatoryFoldOut.js +0 -25
- package/dist/esm/src/components/FluidBackground.js +0 -84
- package/dist/esm/src/components/LogoutButton.js +0 -21
- package/dist/esm/src/components/ScrollLink.js +0 -35
- package/dist/esm/src/components/StrapiErrors.js +0 -16
- package/dist/esm/src/components/StrapiImage.js +0 -19
- package/dist/esm/src/components/StyledLink.js +0 -18
- package/dist/esm/src/components/SubmitButton.js +0 -21
- package/dist/esm/src/components/WebsitePlaceholder.js +0 -94
- package/dist/esm/src/components/WhatsAppClickToChatButton.js +0 -42
- package/dist/esm/src/components/ZodErrors.js +0 -15
- package/dist/esm/src/components/auth/AuthWidget.js +0 -71
- package/dist/esm/src/components/auth/DenseRegisterForm.js +0 -30
- package/dist/esm/src/components/auth/DenseSigninForm.js +0 -31
- package/dist/esm/src/components/auth/ForgotPasswordForm.js +0 -35
- package/dist/esm/src/components/auth/PasswordResetForm.js +0 -38
- package/dist/esm/src/components/auth/RegisterForm.js +0 -45
- package/dist/esm/src/components/auth/SigninForm.js +0 -58
- package/dist/esm/src/components/common/Address.js +0 -54
- package/dist/esm/src/components/common/AmountIndicator.js +0 -26
- package/dist/esm/src/components/common/AmountUpdater.js +0 -123
- package/dist/esm/src/components/common/Contacts.js +0 -31
- package/dist/esm/src/components/common/Dimensions.js +0 -18
- package/dist/esm/src/components/common/EnhancedTable/EnhancedTable.js +0 -169
- package/dist/esm/src/components/common/EnhancedTable/EnhancedTableFilterRow.js +0 -68
- package/dist/esm/src/components/common/EnhancedTable/EnhancedTableHead.js +0 -30
- package/dist/esm/src/components/common/EnhancedTable/EnhancedTableRow.js +0 -30
- package/dist/esm/src/components/common/EnhancedTable/EnhancedTableToolbar.js +0 -32
- package/dist/esm/src/components/common/ImagePreviewTooltip.js +0 -30
- package/dist/esm/src/components/common/NumberInput.js +0 -48
- package/dist/esm/src/components/common/Pagination.js +0 -46
- package/dist/esm/src/components/common/TextualAmountUpdater.js +0 -50
- package/dist/esm/src/components/common/WeekPicker.js +0 -45
- package/dist/esm/src/components/common/cookie-consent/CookieConsentBanner.js +0 -25
- package/dist/esm/src/components/common/cookie-consent/CookieConsentButton.js +0 -20
- package/dist/esm/src/components/common/cookie-consent/CookieConsentButtonSmall.js +0 -34
- package/dist/esm/src/components/common/cookie-consent/CookieConsentContext.js +0 -55
- package/dist/esm/src/components/common/csv/CsvDownloader.js +0 -200
- package/dist/esm/src/components/common/markdown/MarkdownDisplay.js +0 -19
- package/dist/esm/src/components/common/markdown/MarkdownEditor.js +0 -35
- package/dist/esm/src/components/common/markdown/MarkdownTextField.js +0 -32
- package/dist/esm/src/components/common/media/DenseEditMediaForm.js +0 -37
- package/dist/esm/src/components/common/media/EditMediaDialog.js +0 -19
- package/dist/esm/src/components/common/media/MediaGrid.js +0 -33
- package/dist/esm/src/components/common/media/MediaItem.js +0 -36
- package/dist/esm/src/components/common/media/MediaLibraryDialog.js +0 -40
- package/dist/esm/src/components/common/media/UploadBase64MediaForm.js +0 -68
- package/dist/esm/src/components/common/media/UploadMediaForm.js +0 -77
- package/dist/esm/src/components/common/media/minio/MinioDeleteFormButton.js +0 -41
- package/dist/esm/src/components/common/media/minio/MinioDisplay.js +0 -22
- package/dist/esm/src/components/common/media/minio/MinioDownloadButton.js +0 -24
- package/dist/esm/src/components/common/media/minio/MinioItemList.js +0 -27
- package/dist/esm/src/components/common/media/minio/UploadMinioMediaForm.js +0 -146
- package/dist/esm/src/components/common/snackbar/GlobalSnackbar.js +0 -32
- package/dist/esm/src/components/common/socials/Socials.js +0 -29
- package/dist/esm/src/components/e-commerce/cart/AddToCartButton.client.js +0 -30
- package/dist/esm/src/components/e-commerce/cart/CartDisplay.js +0 -28
- package/dist/esm/src/components/e-commerce/cart/CartSummary.js +0 -32
- package/dist/esm/src/components/e-commerce/cart/CartSummaryRow.js +0 -37
- package/dist/esm/src/components/e-commerce/cart/CartWidget.js +0 -82
- package/dist/esm/src/components/e-commerce/cart/hooks.js +0 -19
- package/dist/esm/src/components/e-commerce/categories/AddCategoryForm.js +0 -55
- package/dist/esm/src/components/e-commerce/categories/CategorySelectorV2.js +0 -65
- package/dist/esm/src/components/e-commerce/categories/EditCategoryForm.js +0 -57
- package/dist/esm/src/components/e-commerce/checkout/CheckoutForm.js +0 -159
- package/dist/esm/src/components/e-commerce/checkout/Step1.js +0 -33
- package/dist/esm/src/components/e-commerce/checkout/Step2.js +0 -49
- package/dist/esm/src/components/e-commerce/checkout/Step3.js +0 -29
- package/dist/esm/src/components/e-commerce/checkout/Step4.js +0 -35
- package/dist/esm/src/components/e-commerce/checkout/Step5.js +0 -47
- package/dist/esm/src/components/e-commerce/customer/BusinessCredentials.js +0 -52
- package/dist/esm/src/components/e-commerce/customer/CustomerCompletenessWarning.js +0 -25
- package/dist/esm/src/components/e-commerce/customer/CustomerProfileDisplay.js +0 -64
- package/dist/esm/src/components/e-commerce/customer/CustomerProfileEditForm.js +0 -77
- package/dist/esm/src/components/e-commerce/customer/CustomerSelector.js +0 -42
- package/dist/esm/src/components/e-commerce/customer/DenseCustomerProfileDisplay.js +0 -42
- package/dist/esm/src/components/e-commerce/enduser/EnduserProfileDisplay.js +0 -33
- package/dist/esm/src/components/e-commerce/enduser/EnduserProfileEditForm.js +0 -61
- package/dist/esm/src/components/e-commerce/invoice/CreateInvoiceForm.js +0 -170
- package/dist/esm/src/components/e-commerce/invoice/InvoiceItemFields.js +0 -103
- package/dist/esm/src/components/e-commerce/iro/CreateIROForm.js +0 -58
- package/dist/esm/src/components/e-commerce/iro/IROItemFields.js +0 -109
- package/dist/esm/src/components/e-commerce/iro/IroItemDisplay.js +0 -18
- package/dist/esm/src/components/e-commerce/iro/IroItemUpdater.js +0 -49
- package/dist/esm/src/components/e-commerce/iro/IroStatusIndicator.js +0 -56
- package/dist/esm/src/components/e-commerce/iro/ManageIROForm.js +0 -60
- package/dist/esm/src/components/e-commerce/iro/RmaForm.js +0 -164
- package/dist/esm/src/components/e-commerce/iro/TextualIROItemUpdater.js +0 -58
- package/dist/esm/src/components/e-commerce/iro/TextualManageIROForm.js +0 -386
- package/dist/esm/src/components/e-commerce/opo/CreateOpoForm.js +0 -58
- package/dist/esm/src/components/e-commerce/opo/ManageOpoForm.js +0 -180
- package/dist/esm/src/components/e-commerce/opo/OPOItemFields.js +0 -84
- package/dist/esm/src/components/e-commerce/opo/OpoDisplay.js +0 -22
- package/dist/esm/src/components/e-commerce/opo/OpoItemDisplay.js +0 -18
- package/dist/esm/src/components/e-commerce/opo/OpoItemUpdater.js +0 -61
- package/dist/esm/src/components/e-commerce/opo/OpoStatusIndicator.js +0 -55
- package/dist/esm/src/components/e-commerce/opo/OpoSummary.js +0 -30
- package/dist/esm/src/components/e-commerce/opo/OpoSummaryRow.js +0 -18
- package/dist/esm/src/components/e-commerce/opo/PaymentStatusIndicator.js +0 -27
- package/dist/esm/src/components/e-commerce/opo/ShippingStatusIndicator.js +0 -27
- package/dist/esm/src/components/e-commerce/opo/TextualManageOpoForm.js +0 -201
- package/dist/esm/src/components/e-commerce/opo/TextualOpoItemUpdater.js +0 -55
- package/dist/esm/src/components/e-commerce/products/AddProductForm.js +0 -91
- package/dist/esm/src/components/e-commerce/products/EditProductForm.js +0 -102
- package/dist/esm/src/components/e-commerce/products/EditReturnStockForm.js +0 -82
- package/dist/esm/src/components/e-commerce/products/EditStockForm.js +0 -107
- package/dist/esm/src/components/e-commerce/products/Price.js +0 -18
- package/dist/esm/src/components/e-commerce/products/PriceFields.js +0 -46
- package/dist/esm/src/components/e-commerce/products/ProductCard.js +0 -49
- package/dist/esm/src/components/e-commerce/products/ProductCategoryCard.js +0 -40
- package/dist/esm/src/components/e-commerce/products/ProductSelector.js +0 -65
- package/dist/esm/src/components/e-commerce/products/SingleProduct.js +0 -92
- package/dist/esm/src/components/layout/Footer.js +0 -116
- package/dist/esm/src/components/layout/Navbar.js +0 -144
- package/dist/esm/src/components/layout/NavbarV2.js +0 -171
- package/dist/esm/src/components/layout/SideNav.js +0 -154
- package/dist/esm/src/components/logistics/dispatcher/DispatcherProfileDisplay.js +0 -41
- package/dist/esm/src/components/logistics/dispatcher/DispatcherProfileEditForm.js +0 -65
- package/dist/esm/src/components/logistics/ipo/AddIPOForm.js +0 -80
- package/dist/esm/src/components/logistics/ipo/IPOItemFields.js +0 -127
- package/dist/esm/src/components/logistics/ipo/IPOItemUpdater.js +0 -47
- package/dist/esm/src/components/logistics/ipo/IpoStatusIndicator.js +0 -55
- package/dist/esm/src/components/logistics/ipo/ItemDisplay.js +0 -17
- package/dist/esm/src/components/logistics/ipo/ManageIPOForm.js +0 -99
- package/dist/esm/src/components/logistics/ipo/TextualIPOItemUpdater.js +0 -56
- package/dist/esm/src/components/logistics/ipo/TextualManageIPOForm.js +0 -234
- package/dist/esm/src/components/logistics/note/NoteTakingComponent.js +0 -88
- package/dist/esm/src/components/logistics/note/NotesDisplay.js +0 -24
- package/dist/esm/src/components/logistics/report/PreReportsDisplay.js +0 -23
- package/dist/esm/src/components/logistics/report/ReportMakingComponent.js +0 -85
- package/dist/esm/src/components/logistics/report/ReportsDisplay.js +0 -39
- package/dist/esm/src/components/logistics/report/ReportsWarning.js +0 -16
- package/dist/esm/src/components/logistics/report/SimpleReportFields.js +0 -46
- package/dist/esm/src/components/logistics/vendor/AddVendorForm.js +0 -126
- package/dist/esm/src/components/logistics/vendor/EditVendorForm.js +0 -208
- package/dist/esm/src/components/logistics/vendor/VendorDisplay.js +0 -39
- package/dist/esm/src/components/logistics/vendor/VendorSelector.js +0 -30
- package/dist/esm/src/components/page-builder/PBCategoryBlock.js +0 -40
- package/dist/esm/src/components/page-builder/PBColumnsSection.js +0 -45
- package/dist/esm/src/components/page-builder/PBFeaturesSection.js +0 -78
- package/dist/esm/src/components/page-builder/PBFleetSection.js +0 -70
- package/dist/esm/src/components/page-builder/PBHeroSection.js +0 -112
- package/dist/esm/src/components/page-builder/PBIconSection.js +0 -38
- package/dist/esm/src/components/page-builder/PBLogoBarSection.js +0 -48
- package/dist/esm/src/components/page-builder/PBPersonaliaSection.js +0 -75
- package/dist/esm/src/components/page-builder/PBPictureBarSection.js +0 -34
- package/dist/esm/src/components/page-builder/PBProductBlock.js +0 -27
- package/dist/esm/src/components/page-builder/PBTextImageSection.js +0 -97
- package/dist/esm/src/components/page-builder/PageBuilder.js +0 -94
- package/dist/esm/src/components/page-elements/CategoryBlock.js +0 -35
- package/dist/esm/src/components/page-elements/ColumnsSection.js +0 -45
- package/dist/esm/src/components/page-elements/FeaturesSection.js +0 -57
- package/dist/esm/src/components/page-elements/FleetSection.js +0 -66
- package/dist/esm/src/components/page-elements/HeroSectionV2.js +0 -36
- package/dist/esm/src/components/page-elements/IconSection.js +0 -38
- package/dist/esm/src/components/page-elements/LogoBarSection.js +0 -48
- package/dist/esm/src/components/page-elements/Page.js +0 -65
- package/dist/esm/src/components/page-elements/PersonaliaSection.js +0 -163
- package/dist/esm/src/components/page-elements/PictureBarSection.js +0 -34
- package/dist/esm/src/components/page-elements/ProductBlock.js +0 -27
- package/dist/esm/src/components/page-elements/TextImageSection.js +0 -96
- package/dist/esm/src/components/public-information/PublicInformationForm.js +0 -127
- package/dist/esm/src/context/auth/SessionContext.js +0 -143
- package/dist/esm/src/context/common/SnackbarContext.js +0 -74
- package/dist/esm/src/context/e-commerce/cart/CartContext.js +0 -102
- package/dist/esm/src/context/e-commerce/checkout/CheckoutContext.js +0 -140
- package/dist/esm/src/data/actions/auth-actions.js +0 -214
- package/dist/esm/src/data/actions/e-commerce/categories/createCategoryAction.js +0 -49
- package/dist/esm/src/data/actions/e-commerce/categories/updateCategoryAction.js +0 -49
- package/dist/esm/src/data/actions/e-commerce/checkout-action.js +0 -93
- package/dist/esm/src/data/actions/e-commerce/enduser/profile-actions.js +0 -41
- package/dist/esm/src/data/actions/e-commerce/invoices/createInvoiceAction.js +0 -48
- package/dist/esm/src/data/actions/e-commerce/iro/createIroAction.js +0 -59
- package/dist/esm/src/data/actions/e-commerce/iro/requestRmaAction.js +0 -51
- package/dist/esm/src/data/actions/e-commerce/iro/updateIroAction.js +0 -43
- package/dist/esm/src/data/actions/e-commerce/lead/contactFormAction.js +0 -77
- package/dist/esm/src/data/actions/e-commerce/opo/createOpoAction.js +0 -46
- package/dist/esm/src/data/actions/e-commerce/opo/updateOpoAction.js +0 -43
- package/dist/esm/src/data/actions/e-commerce/product/createProductAction.js +0 -62
- package/dist/esm/src/data/actions/e-commerce/product/updateProductAction.js +0 -58
- package/dist/esm/src/data/actions/logistics/dispatcher/profile-actions.js +0 -41
- package/dist/esm/src/data/actions/logistics/ipo/createIPOAction.js +0 -68
- package/dist/esm/src/data/actions/logistics/ipo/updateIpoAction.js +0 -41
- package/dist/esm/src/data/actions/logistics/note/createNoteAction.js +0 -77
- package/dist/esm/src/data/actions/logistics/report/createReportAction.js +0 -53
- package/dist/esm/src/data/actions/logistics/vendor/createVendorAction.js +0 -60
- package/dist/esm/src/data/actions/logistics/vendor/updateVendorAction.js +0 -63
- package/dist/esm/src/data/actions/media/minio/deleteMinioMediaAction.js +0 -47
- package/dist/esm/src/data/actions/media/minio/uploadMinioMediaAction.js +0 -95
- package/dist/esm/src/data/actions/media/updateMediaAction.js +0 -40
- package/dist/esm/src/data/actions/media/uploadBase64MediaAction.js +0 -112
- package/dist/esm/src/data/actions/media/uploadMediaAction.js +0 -79
- package/dist/esm/src/data/actions/pagebuilder-actions.js +0 -153
- package/dist/esm/src/data/actions/profile-actions.js +0 -49
- package/dist/esm/src/data/actions/public-information/updatePublicInformationAction.js +0 -42
- package/dist/esm/src/data/loaders/common/media/downloadBase64File.js +0 -51
- package/dist/esm/src/data/loaders/common/media/getAllMedia.js +0 -17
- package/dist/esm/src/data/loaders/common/media/minio/downloadMinioItemClient.js +0 -39
- package/dist/esm/src/data/loaders/common/media/minio/getAllMinioMedia.js +0 -36
- package/dist/esm/src/data/loaders/common/media/minio/getAllMinioReferences.js +0 -33
- package/dist/esm/src/data/loaders/common/media/minio/getMinioSignedUrl.js +0 -50
- package/dist/esm/src/data/loaders/e-commerce/getAllCategoryNames.js +0 -26
- package/dist/esm/src/data/loaders/e-commerce/getAllCustomers.js +0 -40
- package/dist/esm/src/data/loaders/e-commerce/getAllInvoices.js +0 -55
- package/dist/esm/src/data/loaders/e-commerce/getAllOpos.js +0 -91
- package/dist/esm/src/data/loaders/e-commerce/getCustomerLabels.js +0 -42
- package/dist/esm/src/data/loaders/e-commerce/getCustomerModel.js +0 -19
- package/dist/esm/src/data/loaders/e-commerce/getOpoModel.js +0 -19
- package/dist/esm/src/data/loaders/e-commerce/getPaginatedCategories.js +0 -50
- package/dist/esm/src/data/loaders/e-commerce/getProductModel.js +0 -19
- package/dist/esm/src/data/loaders/e-commerce/getProductNames.js +0 -27
- package/dist/esm/src/data/loaders/e-commerce/getSalesData.js +0 -17
- package/dist/esm/src/data/loaders/e-commerce/getShop.js +0 -38
- package/dist/esm/src/data/loaders/e-commerce/getSingleCategory.js +0 -50
- package/dist/esm/src/data/loaders/e-commerce/getSingleCustomer.js +0 -39
- package/dist/esm/src/data/loaders/e-commerce/getSingleOpo.js +0 -49
- package/dist/esm/src/data/loaders/e-commerce/getSingleProduct.js +0 -53
- package/dist/esm/src/data/loaders/e-commerce/getSingleReturnStock.js +0 -21
- package/dist/esm/src/data/loaders/e-commerce/getSingleStock.js +0 -20
- package/dist/esm/src/data/loaders/e-commerce/getTableProducts.js +0 -48
- package/dist/esm/src/data/loaders/e-commerce/iros/getAllIros.js +0 -86
- package/dist/esm/src/data/loaders/e-commerce/iros/getIroModel.js +0 -19
- package/dist/esm/src/data/loaders/e-commerce/iros/getSingleIro.js +0 -49
- package/dist/esm/src/data/loaders/e-commerce/iros/queryAllIros.js +0 -23
- package/dist/esm/src/data/loaders/e-commerce/queryAllCustomers.js +0 -22
- package/dist/esm/src/data/loaders/e-commerce/queryAllOpos.js +0 -23
- package/dist/esm/src/data/loaders/e-commerce/queryAllProducts.js +0 -23
- package/dist/esm/src/data/loaders/e-commerce-loaders.js +0 -66
- package/dist/esm/src/data/loaders/loaders.js +0 -206
- package/dist/esm/src/data/loaders/logistics/getIpoModel.js +0 -19
- package/dist/esm/src/data/loaders/logistics/getIpoNames.js +0 -31
- package/dist/esm/src/data/loaders/logistics/getSingleIpo.js +0 -55
- package/dist/esm/src/data/loaders/logistics/getSingleVendor.js +0 -31
- package/dist/esm/src/data/loaders/logistics/getTableIpos.js +0 -64
- package/dist/esm/src/data/loaders/logistics/getTableVendors.js +0 -50
- package/dist/esm/src/data/loaders/logistics/getVendorModel.js +0 -19
- package/dist/esm/src/data/loaders/logistics/getVendorNames.js +0 -31
- package/dist/esm/src/data/loaders/logistics/queryAllIpos.js +0 -21
- package/dist/esm/src/data/loaders/logistics/queryAllVendors.js +0 -21
- package/dist/esm/src/data/loaders/page-builder/getTablePages.js +0 -34
- package/dist/esm/src/data/loaders/page-elements/getSinglePage.js +0 -124
- package/dist/esm/src/data/loaders/public-information/getPublicInformation.js +0 -27
- package/dist/esm/src/data/loaders/user/getUserMeLoader.js +0 -51
- package/dist/esm/src/data/services/archive-service.js +0 -66
- package/dist/esm/src/data/services/auth-service.js +0 -97
- package/dist/esm/src/data/services/common/cancellation-service.js +0 -41
- package/dist/esm/src/data/services/common/confirmation-service.js +0 -41
- package/dist/esm/src/data/services/common/media/minio/minioDeleteService.js +0 -33
- package/dist/esm/src/data/services/common/media/minio/minioUploadService.js +0 -49
- package/dist/esm/src/data/services/e-commerce/enduser/get-enduser-me-loader.js +0 -55
- package/dist/esm/src/data/services/file-service.js +0 -55
- package/dist/esm/src/data/services/get-token.js +0 -16
- package/dist/esm/src/data/services/get-user-me-loader.js +0 -163
- package/dist/esm/src/data/services/logistics/dispatcher/get-dispatcher-me-loader.js +0 -65
- package/dist/esm/src/data/services/mutate-data.js +0 -35
- package/dist/esm/src/index.js +0 -225
- package/dist/esm/src/lib/APIcon.js +0 -14
- package/dist/esm/src/lib/AmbulanceIcon.js +0 -14
- package/dist/esm/src/lib/areBusinessCredentialsComplete.js +0 -23
- package/dist/esm/src/lib/deleteCookie.js +0 -17
- package/dist/esm/src/lib/eoriValidate.js +0 -62
- package/dist/esm/src/lib/getCookie.js +0 -15
- package/dist/esm/src/lib/getIcon.js +0 -102
- package/dist/esm/src/lib/isAddressComplete.js +0 -26
- package/dist/esm/src/lib/isCustomerProfileComplete.js +0 -35
- package/dist/esm/src/lib/isCustomerProfileCompleteEnough.js +0 -25
- package/dist/esm/src/lib/isCustomerProfileCompleteV2.js +0 -32
- package/dist/esm/src/lib/isEORIValid.js +0 -21
- package/dist/esm/src/lib/isVATValid.js +0 -21
- package/dist/esm/src/lib/molliePaymentProvider.js +0 -45
- package/dist/esm/src/lib/parseFormData.js +0 -82
- package/dist/esm/src/lib/parseNavigation.js +0 -53
- package/dist/esm/src/lib/processFilters.js +0 -45
- package/dist/esm/src/lib/setCookie.js +0 -13
- package/dist/esm/src/lib/utils.js +0 -166
- package/dist/esm/src/lib/vatValidate.js +0 -98
- package/dist/esm/src/types/common/Contact.js +0 -15
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
/*
|
|
3
|
-
* UMWD-Components
|
|
4
|
-
* @copyright Jelle Paulus
|
|
5
|
-
* @license MIT
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
|
-
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
9
|
-
import Box from '@mui/material/Box';
|
|
10
|
-
import TextField from '@mui/material/TextField';
|
|
11
|
-
import Stack from '@mui/material/Stack';
|
|
12
|
-
import Container from '@mui/material/Container';
|
|
13
|
-
import Alert from '@mui/material/Alert';
|
|
14
|
-
import { PBTextImageSection } from './PBTextImageSection.js';
|
|
15
|
-
import { PBHeroSection } from './PBHeroSection.js';
|
|
16
|
-
import { PBFeatureSection } from './PBFeaturesSection.js';
|
|
17
|
-
import { PBFleetSection } from './PBFleetSection.js';
|
|
18
|
-
import { PBIconSection } from './PBIconSection.js';
|
|
19
|
-
import { PBColumnsSection } from './PBColumnsSection.js';
|
|
20
|
-
import { PBPersonaliaSection } from './PBPersonaliaSection.js';
|
|
21
|
-
import { PBPictureBarSection } from './PBPictureBarSection.js';
|
|
22
|
-
import { PBLogoBarSection } from './PBLogoBarSection.js';
|
|
23
|
-
import { useActionState } from 'react';
|
|
24
|
-
import { updatePageAction } from '../../data/actions/pagebuilder-actions.js';
|
|
25
|
-
import { SubmitButton } from '../SubmitButton.js';
|
|
26
|
-
import { StrapiErrors } from '../StrapiErrors.js';
|
|
27
|
-
import { ExplanatoryFoldOut } from '../ExplanatoryFoldOut.js';
|
|
28
|
-
import { useTheme } from '@mui/material/styles';
|
|
29
|
-
import MarkdownEditor from '../common/markdown/MarkdownEditor.js';
|
|
30
|
-
import { PBProductBlock } from './PBProductBlock.js';
|
|
31
|
-
import { PBCategoryBlock } from './PBCategoryBlock.js';
|
|
32
|
-
|
|
33
|
-
const INITIAL_STATE = {
|
|
34
|
-
zodErrors: null,
|
|
35
|
-
strapiErrors: null,
|
|
36
|
-
data: null,
|
|
37
|
-
message: null,
|
|
38
|
-
};
|
|
39
|
-
function blockRenderer(block, index) {
|
|
40
|
-
switch (block.__component) {
|
|
41
|
-
case "page-elements.hero-section":
|
|
42
|
-
return (jsx(PBHeroSection, { data: block, index: index }, block.id + block.__component));
|
|
43
|
-
case "page-elements.features-section":
|
|
44
|
-
return (jsx(PBFeatureSection, { data: block, index: index }, block.id + block.__component));
|
|
45
|
-
/* case "page-elements.contact-section":
|
|
46
|
-
return (
|
|
47
|
-
<PBContactForm
|
|
48
|
-
key={block.id + block.__component}
|
|
49
|
-
data={block}
|
|
50
|
-
index={index}
|
|
51
|
-
/>
|
|
52
|
-
); */
|
|
53
|
-
case "page-elements.text-image-section":
|
|
54
|
-
return (jsx(PBTextImageSection, { data: block }, block.id + block.__component));
|
|
55
|
-
case "page-elements.icon-section":
|
|
56
|
-
return jsx(PBIconSection, { data: block }, block.id + block.__component);
|
|
57
|
-
case "page-elements.fleet-section":
|
|
58
|
-
return jsx(PBFleetSection, { data: block }, block.id + block.__component);
|
|
59
|
-
case "page-elements.columns-section":
|
|
60
|
-
return (jsx(PBColumnsSection, { data: block }, block.id + block.__component));
|
|
61
|
-
case "page-elements.personalia-section":
|
|
62
|
-
return (jsx(PBPersonaliaSection, { data: block, index: index }, block.id + block.__component));
|
|
63
|
-
case "page-elements.picture-bar-section":
|
|
64
|
-
return (jsx(PBPictureBarSection, { data: block }, block.id + block.__component));
|
|
65
|
-
case "page-elements.logo-bar-section":
|
|
66
|
-
return (jsx(PBLogoBarSection, { data: block }, block.id + block.__component));
|
|
67
|
-
case "page-elements.product-block":
|
|
68
|
-
return (jsx(PBProductBlock, { data: block }, `${block.id}-${block.__component}`));
|
|
69
|
-
case "page-elements.category-block":
|
|
70
|
-
return (jsx(PBCategoryBlock, { data: block, index: index }, `${block.id}-${block.__component}`));
|
|
71
|
-
default:
|
|
72
|
-
return null;
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
function PageBuilder({ data, }) {
|
|
76
|
-
console.log(data);
|
|
77
|
-
const { id, title, description, blocks, maxWidth = "lg", sx = [] } = data;
|
|
78
|
-
if (!blocks) {
|
|
79
|
-
return jsx("p", { children: "No sections found" });
|
|
80
|
-
}
|
|
81
|
-
const theme = useTheme();
|
|
82
|
-
const [formState, formAction] = useActionState(updatePageAction, INITIAL_STATE);
|
|
83
|
-
return (jsx(Box, { sx: [
|
|
84
|
-
// You cannot spread `sx` directly because `SxProps` (typeof sx) can be an array.
|
|
85
|
-
...(Array.isArray(sx) ? sx : [sx]),
|
|
86
|
-
], children: jsxs("form", { action: formAction, children: [jsx("input", { id: "id", type: "hidden", name: "id", value: id }), jsx(Container, { maxWidth: maxWidth || "lg", sx: { my: 1 }, children: jsxs(Stack, { spacing: 2, sx: { p: 1, border: `1px dashed ${theme.palette.primary.main}` }, children: [jsx(ExplanatoryFoldOut, { title: "title and description", description: "Edit the title and description of your pages. Even if it's not shown on the website it is important for SEO" }), jsx(TextField, { id: "title", name: "title", label: "title", defaultValue: title, variant: "outlined", error: formState?.zodErrors?.title != undefined ? true : false, helperText: formState?.zodErrors?.title }), jsx(MarkdownEditor, { name: "description", label: "description", defaultValue: description })] }) }), jsx(Box, { sx: [
|
|
87
|
-
// You cannot spread `sx` directly because `SxProps` (typeof sx) can be an array.
|
|
88
|
-
...(Array.isArray(sx) ? sx : [sx]),
|
|
89
|
-
], children: blocks.map(blockRenderer) }), jsxs(Stack, { direction: "row-reverse", spacing: 2, alignItems: "center", sx: {
|
|
90
|
-
py: 1,
|
|
91
|
-
}, children: [jsx(SubmitButton, { text: "save changes", loadingText: "loading" }), jsx(StrapiErrors, { error: formState?.strapiErrors }), formState?.message && (jsx(Alert, { severity: "success", children: formState?.message }))] })] }) }));
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
export { PageBuilder as default };
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
/*
|
|
3
|
-
* UMWD-Components
|
|
4
|
-
* @copyright Jelle Paulus
|
|
5
|
-
* @license MIT
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
|
-
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
9
|
-
import Paper from '@mui/material/Paper';
|
|
10
|
-
import Container from '@mui/material/Container';
|
|
11
|
-
import Grid from '@mui/material/Grid';
|
|
12
|
-
import Stack from '@mui/material/Stack';
|
|
13
|
-
import Divider from '@mui/material/Divider';
|
|
14
|
-
import Button from '@mui/material/Button';
|
|
15
|
-
import Typography from '@mui/material/Typography';
|
|
16
|
-
import { useTheme } from '@mui/material/styles';
|
|
17
|
-
import { setOpacity } from '../../lib/utils.js';
|
|
18
|
-
import ProductCard from '../e-commerce/products/ProductCard.js';
|
|
19
|
-
import MarkdownDisplay from '../common/markdown/MarkdownDisplay.js';
|
|
20
|
-
|
|
21
|
-
function CategoryBlock({ data }) {
|
|
22
|
-
const { maxWidth = "lg", sx = {}, glass = false, previewAmount = 3 } = data;
|
|
23
|
-
const theme = useTheme();
|
|
24
|
-
return (jsx(Container, { maxWidth: maxWidth, sx: { my: 1, ...sx }, children: jsx(Grid, { container: true, spacing: 2, children: jsx(Grid, { size: 12, children: jsx(Paper, { sx: {
|
|
25
|
-
p: 2,
|
|
26
|
-
backdropFilter: "blur(3px)",
|
|
27
|
-
backgroundColor: setOpacity(theme.palette.background.paper, glass ? 0.1 : 1),
|
|
28
|
-
border: glass ? "1px solid rgba(255, 255, 255, 0.15)" : "none",
|
|
29
|
-
}, children: jsxs(Stack, { spacing: 2, children: [jsx(Typography, { variant: "h4", component: "a", href: `/shop/categories/${data.category.slug}`, sx: { textDecoration: "none", color: "inherit" }, children: data.category.title }), data.category?.description &&
|
|
30
|
-
typeof data.category.description === "string" && (jsx(MarkdownDisplay, { children: data.category.description.substring(0, 150) + "..." })), jsx(Button, { variant: "contained", href: `/shop/categories/${data.category.slug}`, children: "Learn More" }), data.category?.products?.data != undefined && (jsxs(Fragment, { children: [jsx(Divider, { sx: { my: 2 } }), jsx(Stack, { direction: { xs: "column", sm: "row" }, spacing: 2, justifyContent: "space-around", sx: { pt: 2 }, children: data.category.products.data
|
|
31
|
-
.slice(0, previewAmount)
|
|
32
|
-
.map((product) => (jsx(ProductCard, { product: product }, product.documentId))) })] })), jsx(Typography, { variant: "body2", component: "a", href: `/shop/categories/${data.category.slug}`, sx: { textDecoration: "none", color: "inherit" }, children: "Show all" })] }) }) }) }) }));
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
export { CategoryBlock };
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* UMWD-Components
|
|
3
|
-
* @copyright Jelle Paulus
|
|
4
|
-
* @license MIT
|
|
5
|
-
*/
|
|
6
|
-
|
|
7
|
-
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
8
|
-
import Grid from '@mui/material/Grid';
|
|
9
|
-
import Paper from '@mui/material/Paper';
|
|
10
|
-
import Typography from '@mui/material/Typography';
|
|
11
|
-
import Container from '@mui/material/Container';
|
|
12
|
-
import getIcon from '../../lib/getIcon.js';
|
|
13
|
-
|
|
14
|
-
function ColumnsSection({ data, }) {
|
|
15
|
-
const { column, maxWidth, sx = [] } = data;
|
|
16
|
-
// TODO make suitable for multiple column layouts
|
|
17
|
-
return (jsx(Container, { maxWidth: maxWidth || "lg", sx: [
|
|
18
|
-
// You cannot spread `sx` directly because `SxProps` (typeof sx) can be an array.
|
|
19
|
-
{ my: 1 },
|
|
20
|
-
...(Array.isArray(sx) ? sx : [sx]),
|
|
21
|
-
], children: jsx(Grid, { container: true, spacing: 2, children: column.map((column, index) => {
|
|
22
|
-
const Icon = getIcon(column.icon);
|
|
23
|
-
return (jsx(Grid, { size: {
|
|
24
|
-
xs: 12,
|
|
25
|
-
md: 6,
|
|
26
|
-
}, children: jsxs(Paper, { sx: { p: 2, height: "100%" }, children: [jsxs(Typography, { variant: "h5", sx: {
|
|
27
|
-
mb: 2,
|
|
28
|
-
display: "flex",
|
|
29
|
-
justifyContent: "flex-start",
|
|
30
|
-
alignItems: "center",
|
|
31
|
-
}, children: [Icon !== null && (jsx(Icon, { sx: {
|
|
32
|
-
mr: 2,
|
|
33
|
-
mt: 0.2,
|
|
34
|
-
width: "50px",
|
|
35
|
-
height: "50px",
|
|
36
|
-
fill: "currentColor",
|
|
37
|
-
stroke: "none",
|
|
38
|
-
} })), column.heading] }),
|
|
39
|
-
/* column.textV2 ? (
|
|
40
|
-
<BlockRendererClient content={column.textV2} />
|
|
41
|
-
) : */ jsx(Typography, { children: column.text })] }) }, `${column.id}-${index}`));
|
|
42
|
-
}) }) }));
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
export { ColumnsSection };
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
/*
|
|
3
|
-
* UMWD-Components
|
|
4
|
-
* @copyright Jelle Paulus
|
|
5
|
-
* @license MIT
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
|
-
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
9
|
-
import React from 'react';
|
|
10
|
-
import Stack from '@mui/material/Stack';
|
|
11
|
-
import Card from '@mui/material/Card';
|
|
12
|
-
import CardContent from '@mui/material/CardContent';
|
|
13
|
-
import Typography from '@mui/material/Typography';
|
|
14
|
-
import Container from '@mui/material/Container';
|
|
15
|
-
import Box from '@mui/material/Box';
|
|
16
|
-
import getIcon from '../../lib/getIcon.js';
|
|
17
|
-
import { useTheme } from '@mui/material/styles';
|
|
18
|
-
|
|
19
|
-
const MuiMarkdown = React.lazy(() => import(/* webpackChunkName: "mui-markdown" */ 'mui-markdown'));
|
|
20
|
-
function FeatureSection({ data, }) {
|
|
21
|
-
const { feature, maxWidth, sx = [], anchor = "" } = data;
|
|
22
|
-
const theme = useTheme();
|
|
23
|
-
return (jsx(Container, { maxWidth: maxWidth || "lg", sx: { my: 1, ...sx }, id: anchor, children: jsx(Stack, { spacing: 2, direction: "row", justifyContent: "stretch", flexWrap: "wrap", sx: {
|
|
24
|
-
width: "100%",
|
|
25
|
-
[theme.breakpoints.up("xs")]: {
|
|
26
|
-
flexDirection: "column",
|
|
27
|
-
},
|
|
28
|
-
[theme.breakpoints.up("sm")]: {
|
|
29
|
-
flexDirection: "row",
|
|
30
|
-
},
|
|
31
|
-
}, useFlexGap: true, children: feature &&
|
|
32
|
-
feature.map((feature, index) => {
|
|
33
|
-
const Icon = getIcon(feature.icon);
|
|
34
|
-
return (jsx(Card, { id: feature.anchor || "", sx: {
|
|
35
|
-
display: "flex",
|
|
36
|
-
flexDirection: "column",
|
|
37
|
-
justifyContent: "space-between",
|
|
38
|
-
flex: 1,
|
|
39
|
-
minWidth: 275,
|
|
40
|
-
}, children: jsxs(CardContent, { children: [jsx(Box, { sx: {
|
|
41
|
-
height: 100,
|
|
42
|
-
display: "grid",
|
|
43
|
-
alignItems: "center",
|
|
44
|
-
justifyContent: "center",
|
|
45
|
-
}, children: Icon !== null && (jsx(Icon, { sx: {
|
|
46
|
-
mr: 2,
|
|
47
|
-
mt: 0.2,
|
|
48
|
-
width: "75px",
|
|
49
|
-
height: "75px",
|
|
50
|
-
fill: "none",
|
|
51
|
-
stroke: "currentColor",
|
|
52
|
-
strokeWidth: 0.5,
|
|
53
|
-
} })) }), jsx(Typography, { variant: "h5", align: "center", component: "div", sx: { mb: 2, height: "4rem" }, children: feature.heading }), jsx(Typography, { variant: "h6", align: "center", component: "div", sx: { mb: 2, height: "4rem" }, children: feature.subHeading }), feature.text && jsx(MuiMarkdown, { children: feature.text })] }) }, `${feature.id}-${index}`));
|
|
54
|
-
}) }) }));
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
export { FeatureSection };
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* UMWD-Components
|
|
3
|
-
* @copyright Jelle Paulus
|
|
4
|
-
* @license MIT
|
|
5
|
-
*/
|
|
6
|
-
|
|
7
|
-
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
8
|
-
import Stack from '@mui/material/Stack';
|
|
9
|
-
import Card from '@mui/material/Card';
|
|
10
|
-
import CardHeader from '@mui/material/CardHeader';
|
|
11
|
-
import CardContent from '@mui/material/CardContent';
|
|
12
|
-
import Typography from '@mui/material/Typography';
|
|
13
|
-
import Container from '@mui/material/Container';
|
|
14
|
-
import Box from '@mui/material/Box';
|
|
15
|
-
import Chip from '@mui/material/Chip';
|
|
16
|
-
import Paper from '@mui/material/Paper';
|
|
17
|
-
import { StrapiImage } from '../StrapiImage.js';
|
|
18
|
-
import RadarIcon from '@mui/icons-material/Radar';
|
|
19
|
-
import SpeedIcon from '@mui/icons-material/Speed';
|
|
20
|
-
import HeightIcon from '@mui/icons-material/Height';
|
|
21
|
-
import { useTheme } from '@mui/material/styles';
|
|
22
|
-
|
|
23
|
-
function FleetSection({ data }) {
|
|
24
|
-
const { airplane, maxWidth, sx = {} } = data;
|
|
25
|
-
const theme = useTheme();
|
|
26
|
-
return (jsx(Container, { maxWidth: maxWidth || "lg", sx: { my: 1 }, children: jsx(Stack, { spacing: 2, direction: "row", justifyContent: "stretch", flexWrap: "wrap", sx: {
|
|
27
|
-
width: "100%",
|
|
28
|
-
[theme.breakpoints.up("xs")]: {
|
|
29
|
-
flexDirection: "column",
|
|
30
|
-
},
|
|
31
|
-
[theme.breakpoints.up("sm")]: {
|
|
32
|
-
flexDirection: "row",
|
|
33
|
-
},
|
|
34
|
-
}, useFlexGap: true, children: airplane.map((airplane, index) => (jsxs(Card, { sx: {
|
|
35
|
-
display: "flex",
|
|
36
|
-
flexDirection: "column",
|
|
37
|
-
justifyContent: "space-between",
|
|
38
|
-
flex: 1,
|
|
39
|
-
minWidth: 275,
|
|
40
|
-
}, children: [jsx(CardHeader, { title: airplane.name, subheader: airplane.description }), jsx(Box, { sx: { flex: 1 } }), jsx(CardContent, { sx: {
|
|
41
|
-
p: 1,
|
|
42
|
-
height: 180,
|
|
43
|
-
mb: 2,
|
|
44
|
-
}, children: jsxs(Paper, { sx: {
|
|
45
|
-
p: 1,
|
|
46
|
-
display: "grid",
|
|
47
|
-
alignItems: "center",
|
|
48
|
-
justifyContent: "center",
|
|
49
|
-
height: "100%",
|
|
50
|
-
position: "relative",
|
|
51
|
-
}, variant: "outlined", children: [airplane.floorplan !== null && (jsx(StrapiImage, { id: airplane.floorplan.id?.toString(), url: airplane.floorplan.url, alternativeText: airplane.floorplan.alternativeText, width: airplane.floorplan.width, height: airplane.floorplan.height, style: {
|
|
52
|
-
objectFit: "contain",
|
|
53
|
-
width: "100%",
|
|
54
|
-
paddingBottom: "20px",
|
|
55
|
-
} })), airplane.cabinHeight &&
|
|
56
|
-
airplane.cabinWidth &&
|
|
57
|
-
airplane.cabinLength && (jsx(Box, { sx: {
|
|
58
|
-
position: "absolute",
|
|
59
|
-
right: ".5rem",
|
|
60
|
-
bottom: ".5rem",
|
|
61
|
-
}, children: jsxs(Typography, { variant: "body2", color: "text.secondary", align: "right", children: [jsx("strong", { children: "Cabin Dimensions:" }), " ", jsx("strong", { children: "H" }), " ", airplane.cabinHeight, " m ", jsx("strong", { children: "W" }), " ", airplane.cabinWidth, " m ", jsx("strong", { children: "L" }), " ", airplane.cabinLength, " m"] }) }))] }) }), jsx(CardContent, { sx: {
|
|
62
|
-
/* height: "33%" */
|
|
63
|
-
}, children: jsxs(Stack, { direction: "row", spacing: 1, flexWrap: "wrap", useFlexGap: true, children: [jsx(Chip, { label: `Range: ${airplane.range} km`, variant: "filled", color: "primary", icon: jsx(RadarIcon, {}) }), jsx(Chip, { label: `Speed: ${airplane.speed} km/h`, variant: "filled", color: "primary", icon: jsx(SpeedIcon, {}) }), jsx(Chip, { label: `Ceiling: ${airplane.ceiling} ft`, variant: "filled", color: "primary", icon: jsx(HeightIcon, {}) })] }) })] }, `${airplane.id}-${index}`))) }) }));
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
export { FleetSection };
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
/*
|
|
3
|
-
* UMWD-Components
|
|
4
|
-
* @copyright Jelle Paulus
|
|
5
|
-
* @license MIT
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
|
-
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
9
|
-
import Link from 'next/link';
|
|
10
|
-
import Container from '@mui/material/Container';
|
|
11
|
-
import Paper from '@mui/material/Paper';
|
|
12
|
-
import Typography from '@mui/material/Typography';
|
|
13
|
-
import Button from '@mui/material/Button';
|
|
14
|
-
import Stack from '@mui/material/Stack';
|
|
15
|
-
import { StrapiImage } from '../StrapiImage.js';
|
|
16
|
-
import { useTheme } from '@mui/material/styles';
|
|
17
|
-
|
|
18
|
-
function HeroSection({ data }) {
|
|
19
|
-
const { heading, subHeading, bgImage, logoImage, link, maxWidth, sx = {}, glass = false, } = data;
|
|
20
|
-
useTheme();
|
|
21
|
-
// const glassColor = setOpacity(theme.palette.background.paper, 0.1);
|
|
22
|
-
return (jsx(Container, { maxWidth: maxWidth || "lg", sx: { zIndex: 1 }, children: jsx(Paper, { sx: [
|
|
23
|
-
{ padding: 5 },
|
|
24
|
-
bgImage?.url !== undefined && {
|
|
25
|
-
backgroundImage: `url(${process.env.NEXT_PUBLIC_STRAPI_URL}${bgImage.url})`,
|
|
26
|
-
backgroundSize: "cover",
|
|
27
|
-
backgroundRepeat: "no-repeat",
|
|
28
|
-
backgroundPosition: "center",
|
|
29
|
-
},
|
|
30
|
-
], children: jsxs(Stack, { spacing: 3, alignItems: "center", justifyContent: "center", children: [logoImage && logoImage.url !== null && (jsx(StrapiImage, { id: logoImage.id?.toString(), alternativeText: logoImage.alternativeText || "logoImage", height: logoImage.height || 100, url: logoImage.url, width: logoImage.width || 100, style: {
|
|
31
|
-
objectFit: "contain",
|
|
32
|
-
filter: "invert(1)",
|
|
33
|
-
} })), jsx(Typography, { variant: "h2", align: "center", component: "h1", children: heading }), jsx(Typography, { variant: "h4", align: "center", component: "h2", children: subHeading }), link && link.url && (jsx(Link, { href: link.url, children: jsx(Button, { variant: "contained", sx: { width: "100%", fontSize: "1.5rem" }, children: link.text }) }))] }) }) }));
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
export { HeroSection };
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* UMWD-Components
|
|
3
|
-
* @copyright Jelle Paulus
|
|
4
|
-
* @license MIT
|
|
5
|
-
*/
|
|
6
|
-
|
|
7
|
-
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
8
|
-
import Grid from '@mui/material/Grid';
|
|
9
|
-
import Card from '@mui/material/Card';
|
|
10
|
-
import CardContent from '@mui/material/CardContent';
|
|
11
|
-
import Typography from '@mui/material/Typography';
|
|
12
|
-
import Container from '@mui/material/Container';
|
|
13
|
-
import getIcon from '../../lib/getIcon.js';
|
|
14
|
-
|
|
15
|
-
function IconSection({ data }) {
|
|
16
|
-
const { icon, maxWidth, sx = {} } = data;
|
|
17
|
-
return (jsx(Container, { maxWidth: maxWidth || "lg", sx: { my: 1, ...sx }, children: jsx(Grid, { container: true, spacing: 2, children: icon.map((icon, index) => {
|
|
18
|
-
const Icon = getIcon(icon.icon);
|
|
19
|
-
return (jsx(Grid, { size: {
|
|
20
|
-
xs: 12,
|
|
21
|
-
sm: 6,
|
|
22
|
-
md: 4,
|
|
23
|
-
lg: 3,
|
|
24
|
-
}, children: jsx(Card, { sx: {
|
|
25
|
-
display: "flex",
|
|
26
|
-
flexDirection: "column",
|
|
27
|
-
flex: 1,
|
|
28
|
-
height: "100%",
|
|
29
|
-
}, children: jsxs(CardContent, { children: [jsxs(Typography, { variant: "h6", component: "div", sx: {
|
|
30
|
-
display: "flex",
|
|
31
|
-
justifyContent: "start",
|
|
32
|
-
alignItems: "start",
|
|
33
|
-
minHeight: "4.2rem",
|
|
34
|
-
}, children: [Icon !== null && jsx(Icon, { sx: { mr: 2, mt: 0.2 } }), icon.title] }), jsx(Typography, { variant: "body2", color: "text.secondary", component: "div", children: icon.text })] }) }) }, `${icon.id}-${index}`));
|
|
35
|
-
}) }) }));
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
export { IconSection };
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
/*
|
|
3
|
-
* UMWD-Components
|
|
4
|
-
* @copyright Jelle Paulus
|
|
5
|
-
* @license MIT
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
|
-
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
9
|
-
import Paper from '@mui/material/Paper';
|
|
10
|
-
import Container from '@mui/material/Container';
|
|
11
|
-
import Grid from '@mui/material/Grid';
|
|
12
|
-
import Stack from '@mui/material/Stack';
|
|
13
|
-
import { StrapiImage } from '../StrapiImage.js';
|
|
14
|
-
import { useTheme } from '@mui/material/styles';
|
|
15
|
-
import { setOpacity } from '../../lib/utils.js';
|
|
16
|
-
import { StyledLink } from '../StyledLink.js';
|
|
17
|
-
|
|
18
|
-
function LogoBarSection({ data, }) {
|
|
19
|
-
const { companies, maxWidth = "lg", sx = {}, glass = false } = data;
|
|
20
|
-
const theme = useTheme();
|
|
21
|
-
return (jsx(Container, { maxWidth: maxWidth, sx: { my: 1, ...sx }, children: jsx(Grid, { container: true, spacing: 2, children: jsx(Grid, { size: 12, children: jsx(Paper, { sx: {
|
|
22
|
-
p: 2,
|
|
23
|
-
backdropFilter: "blur(3px)",
|
|
24
|
-
backgroundColor: setOpacity(theme.palette.background.paper, glass ? 0.1 : 1),
|
|
25
|
-
border: glass ? "1px solid rgba(255, 255, 255, 0.15)" : "none",
|
|
26
|
-
}, children: jsx(Stack, { direction: { xs: "column", sm: "row" }, spacing: 2, justifyContent: "space-around", children: companies &&
|
|
27
|
-
companies.map((company, index) => (jsxs(StyledLink, { href: company.url, sx: {
|
|
28
|
-
flex: "1 1 0",
|
|
29
|
-
display: "flex",
|
|
30
|
-
flexDirection: "column",
|
|
31
|
-
alignItems: "center",
|
|
32
|
-
justifyContent: "space-between",
|
|
33
|
-
paddingBottom: "1rem",
|
|
34
|
-
transform: "scale(.9)",
|
|
35
|
-
transition: ".2s",
|
|
36
|
-
"&:hover": {
|
|
37
|
-
transform: "scale(1)",
|
|
38
|
-
},
|
|
39
|
-
}, children: [jsx(StrapiImage, { id: company.logo.id.toString(), url: company.logo.url, alternativeText: company.logo.alternativeText, width: company.logo.width, height: company.logo.height, style: {
|
|
40
|
-
...company.logo.style,
|
|
41
|
-
width: "120px",
|
|
42
|
-
height: "120px",
|
|
43
|
-
objectFit: "contain",
|
|
44
|
-
paddingBottom: "1rem",
|
|
45
|
-
} }), company.name] }, `${company.id}-${index}`))) }) }) }) }) }));
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
export { LogoBarSection };
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* UMWD-Components
|
|
3
|
-
* @copyright Jelle Paulus
|
|
4
|
-
* @license MIT
|
|
5
|
-
*/
|
|
6
|
-
|
|
7
|
-
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
8
|
-
import { TextImageSection } from './TextImageSection.js';
|
|
9
|
-
import { HeroSection } from './HeroSectionV2.js';
|
|
10
|
-
import { FeatureSection } from './FeaturesSection.js';
|
|
11
|
-
import { FleetSection } from './FleetSection.js';
|
|
12
|
-
import { IconSection } from './IconSection.js';
|
|
13
|
-
import { ColumnsSection } from './ColumnsSection.js';
|
|
14
|
-
import Box from '@mui/material/Box';
|
|
15
|
-
import { PersonaliaSection } from './PersonaliaSection.js';
|
|
16
|
-
import { PictureBarSection } from './PictureBarSection.js';
|
|
17
|
-
import { LogoBarSection } from './LogoBarSection.js';
|
|
18
|
-
import { ProductBlock } from './ProductBlock.js';
|
|
19
|
-
import { CategoryBlock } from './CategoryBlock.js';
|
|
20
|
-
import Typography from '@mui/material/Typography';
|
|
21
|
-
import Grid from '@mui/material/Grid';
|
|
22
|
-
|
|
23
|
-
function blockRenderer(block) {
|
|
24
|
-
switch (block.__component) {
|
|
25
|
-
case "page-elements.hero-section":
|
|
26
|
-
return (jsx(HeroSection, { data: block }, `${block.id}-${block.__component}`));
|
|
27
|
-
case "page-elements.features-section":
|
|
28
|
-
return (jsx(FeatureSection, { data: block }, `${block.id}-${block.__component}`));
|
|
29
|
-
/* case "page-elements.contact-section":
|
|
30
|
-
return (
|
|
31
|
-
<ContactForm key={`${block.id}-${block.__component}`} data={block} />
|
|
32
|
-
); */
|
|
33
|
-
case "page-elements.text-image-section":
|
|
34
|
-
return (jsx(TextImageSection, { data: block }, `${block.id}-${block.__component}`));
|
|
35
|
-
case "page-elements.icon-section":
|
|
36
|
-
return (jsx(IconSection, { data: block }, `${block.id}-${block.__component}`));
|
|
37
|
-
case "page-elements.fleet-section":
|
|
38
|
-
return (jsx(FleetSection, { data: block }, `${block.id}-${block.__component}`));
|
|
39
|
-
case "page-elements.columns-section":
|
|
40
|
-
return (jsx(ColumnsSection, { data: block }, `${block.id}-${block.__component}`));
|
|
41
|
-
case "page-elements.personalia-section":
|
|
42
|
-
return (jsx(PersonaliaSection, { data: block }, `${block.id}-${block.__component}`));
|
|
43
|
-
case "page-elements.picture-bar-section":
|
|
44
|
-
return (jsx(PictureBarSection, { data: block }, `${block.id}-${block.__component}`));
|
|
45
|
-
case "page-elements.logo-bar-section":
|
|
46
|
-
return (jsx(LogoBarSection, { data: block }, `${block.id}-${block.__component}`));
|
|
47
|
-
case "page-elements.product-block":
|
|
48
|
-
return (jsx(ProductBlock, { data: block }, `${block.id}-${block.__component}`));
|
|
49
|
-
case "page-elements.category-block":
|
|
50
|
-
return (jsx(CategoryBlock, { data: block }, `${block.id}-${block.__component}`));
|
|
51
|
-
default:
|
|
52
|
-
return null;
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
function Page({ title, description, blocks, sx = [] }) {
|
|
56
|
-
if (!blocks) {
|
|
57
|
-
return jsx("p", { children: "No sections found" });
|
|
58
|
-
}
|
|
59
|
-
return (jsxs(Box, { sx: [
|
|
60
|
-
// You cannot spread `sx` directly because `SxProps` (typeof sx) can be an array.
|
|
61
|
-
...(Array.isArray(sx) ? sx : [sx]),
|
|
62
|
-
], children: [jsxs(Grid, { size: 12, children: [jsx(Typography, { variant: "h1", align: "center", children: title }), jsx(Typography, { variant: "body1", align: "center", children: description })] }), blocks.map(blockRenderer)] }));
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
export { Page };
|