umwd-components 0.1.841 → 0.1.842
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,42 +0,0 @@
|
|
|
1
|
-
"use server";
|
|
2
|
-
/*
|
|
3
|
-
* UMWD-Components
|
|
4
|
-
* @copyright Jelle Paulus
|
|
5
|
-
* @license MIT
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
|
-
import qs from '../../../../node_modules/qs/lib/index.js';
|
|
9
|
-
import { fetchData } from '../loaders.js';
|
|
10
|
-
import { getStrapiURL } from '../../../lib/utils.js';
|
|
11
|
-
|
|
12
|
-
const baseUrl = getStrapiURL();
|
|
13
|
-
// this function is limited to delivering 100 results, which is fine for now
|
|
14
|
-
async function getCustomerLabels() {
|
|
15
|
-
const url = new URL(`/api/customer-profiles`, baseUrl);
|
|
16
|
-
url.search = qs.stringify({
|
|
17
|
-
fields: ["id", "first_name", "last_name", "email"],
|
|
18
|
-
pagination: {
|
|
19
|
-
pageSize: 100,
|
|
20
|
-
page: 1,
|
|
21
|
-
},
|
|
22
|
-
});
|
|
23
|
-
const labels = await fetchData(url.href);
|
|
24
|
-
console.log("Fetched customer labels:", labels.data[0], labels.data[1], labels.data[2]);
|
|
25
|
-
if (!labels || !labels.data) {
|
|
26
|
-
console.error("No customer labels found");
|
|
27
|
-
return [];
|
|
28
|
-
}
|
|
29
|
-
if (labels.data.length === 0) {
|
|
30
|
-
console.warn("No customer labels available");
|
|
31
|
-
return [];
|
|
32
|
-
}
|
|
33
|
-
return labels.data.map((label) => ({
|
|
34
|
-
id: label.id,
|
|
35
|
-
documentId: label.documentId,
|
|
36
|
-
title: label.first_name && label.last_name
|
|
37
|
-
? `${label.first_name} ${label.last_name}`
|
|
38
|
-
: `${label.email}`,
|
|
39
|
-
}));
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
export { getCustomerLabels };
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
"use server";
|
|
2
|
-
/*
|
|
3
|
-
* UMWD-Components
|
|
4
|
-
* @copyright Jelle Paulus
|
|
5
|
-
* @license MIT
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
|
-
import { fetchData } from '../loaders.js';
|
|
9
|
-
import { getStrapiURL } from '../../../lib/utils.js';
|
|
10
|
-
import { unstable_noStore } from 'next/cache';
|
|
11
|
-
|
|
12
|
-
const baseUrl = getStrapiURL();
|
|
13
|
-
async function getCustomerModel() {
|
|
14
|
-
unstable_noStore();
|
|
15
|
-
const url = new URL(`/api/customer-profiles/findModel`, baseUrl);
|
|
16
|
-
return await fetchData(url.href);
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
export { getCustomerModel };
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
"use server";
|
|
2
|
-
/*
|
|
3
|
-
* UMWD-Components
|
|
4
|
-
* @copyright Jelle Paulus
|
|
5
|
-
* @license MIT
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
|
-
import { fetchData } from '../loaders.js';
|
|
9
|
-
import { getStrapiURL } from '../../../lib/utils.js';
|
|
10
|
-
import { unstable_noStore } from 'next/cache';
|
|
11
|
-
|
|
12
|
-
const baseUrl = getStrapiURL();
|
|
13
|
-
async function getOpoModel() {
|
|
14
|
-
unstable_noStore();
|
|
15
|
-
const url = new URL(`/api/opos/findModel`, baseUrl);
|
|
16
|
-
return await fetchData(url.href);
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
export { getOpoModel };
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
"use server";
|
|
2
|
-
/*
|
|
3
|
-
* UMWD-Components
|
|
4
|
-
* @copyright Jelle Paulus
|
|
5
|
-
* @license MIT
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
|
-
import qs from '../../../../node_modules/qs/lib/index.js';
|
|
9
|
-
import { fetchData } from '../loaders.js';
|
|
10
|
-
import { getStrapiURL } from '../../../lib/utils.js';
|
|
11
|
-
|
|
12
|
-
const baseUrl = getStrapiURL();
|
|
13
|
-
/**
|
|
14
|
-
* Fetch paginated product categories from the Strapi API.
|
|
15
|
-
*
|
|
16
|
-
* @param currentPage - The current page number for pagination.
|
|
17
|
-
* @param rowsPerPage - The number of rows per page for pagination.
|
|
18
|
-
* @param order - The sort order (asc or desc).
|
|
19
|
-
* @param orderBy - The field to order by, defaults to "createdAt".
|
|
20
|
-
* @param is_archive - An array of booleans to filter by archived status, defaulting to both archived and non-archived categories.
|
|
21
|
-
* @returns A promise that resolves to the fetched categories data.
|
|
22
|
-
*/
|
|
23
|
-
async function getPaginatedCategories(currentPage, rowsPerPage, order, orderBy, is_archive = [false] // default to both archived and non-archived categories
|
|
24
|
-
) {
|
|
25
|
-
const url = new URL(`/api/product-categories`, baseUrl);
|
|
26
|
-
console.log("getPaginatedCategories", currentPage, rowsPerPage, order, orderBy, is_archive);
|
|
27
|
-
url.search = qs.stringify({
|
|
28
|
-
filters: {
|
|
29
|
-
is_archive: {
|
|
30
|
-
$in: is_archive,
|
|
31
|
-
},
|
|
32
|
-
},
|
|
33
|
-
populate: {
|
|
34
|
-
products: {
|
|
35
|
-
populate: {
|
|
36
|
-
image: true,
|
|
37
|
-
price: true,
|
|
38
|
-
},
|
|
39
|
-
},
|
|
40
|
-
},
|
|
41
|
-
sort: `${orderBy || "createdAt"}:${order || "desc"}`,
|
|
42
|
-
pagination: {
|
|
43
|
-
pageSize: rowsPerPage || 5,
|
|
44
|
-
page: currentPage ? currentPage + 1 : 1, // because table pagination starts at 0 but strapi starts at 1
|
|
45
|
-
},
|
|
46
|
-
});
|
|
47
|
-
return await fetchData(url.href);
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
export { getPaginatedCategories };
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
"use server";
|
|
2
|
-
/*
|
|
3
|
-
* UMWD-Components
|
|
4
|
-
* @copyright Jelle Paulus
|
|
5
|
-
* @license MIT
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
|
-
import { fetchData } from '../loaders.js';
|
|
9
|
-
import { getStrapiURL } from '../../../lib/utils.js';
|
|
10
|
-
import { unstable_noStore } from 'next/cache';
|
|
11
|
-
|
|
12
|
-
const baseUrl = getStrapiURL();
|
|
13
|
-
async function getProductModel() {
|
|
14
|
-
unstable_noStore();
|
|
15
|
-
const url = new URL(`/api/products/findModel`, baseUrl);
|
|
16
|
-
return await fetchData(url.href);
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
export { getProductModel };
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
"use server";
|
|
2
|
-
/*
|
|
3
|
-
* UMWD-Components
|
|
4
|
-
* @copyright Jelle Paulus
|
|
5
|
-
* @license MIT
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
|
-
import qs from '../../../../node_modules/qs/lib/index.js';
|
|
9
|
-
import { fetchData } from '../loaders.js';
|
|
10
|
-
import { getStrapiURL } from '../../../lib/utils.js';
|
|
11
|
-
|
|
12
|
-
const baseUrl = getStrapiURL();
|
|
13
|
-
// this function is limited to delivering 100 results, which is fine for now
|
|
14
|
-
async function getProductNames() {
|
|
15
|
-
const url = new URL(`/api/products`, baseUrl);
|
|
16
|
-
url.search = qs.stringify({
|
|
17
|
-
fields: ["id", "title", "slug", "product_number"],
|
|
18
|
-
pagination: {
|
|
19
|
-
pageSize: 100,
|
|
20
|
-
page: 1,
|
|
21
|
-
},
|
|
22
|
-
});
|
|
23
|
-
const products = await fetchData(url.href);
|
|
24
|
-
return products.data;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
export { getProductNames };
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
"use server";
|
|
2
|
-
/*
|
|
3
|
-
* UMWD-Components
|
|
4
|
-
* @copyright Jelle Paulus
|
|
5
|
-
* @license MIT
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
|
-
import { fetchData } from '../loaders.js';
|
|
9
|
-
import { getStrapiURL } from '../../../lib/utils.js';
|
|
10
|
-
|
|
11
|
-
const baseUrl = getStrapiURL();
|
|
12
|
-
async function getSalesData(year) {
|
|
13
|
-
const url = new URL(`/api/opos/getSalesData/${year}`, baseUrl);
|
|
14
|
-
return await fetchData(url.href);
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
export { getSalesData };
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
"use server";
|
|
2
|
-
/*
|
|
3
|
-
* UMWD-Components
|
|
4
|
-
* @copyright Jelle Paulus
|
|
5
|
-
* @license MIT
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
|
-
import qs from '../../../../node_modules/qs/lib/index.js';
|
|
9
|
-
import { fetchData } from '../loaders.js';
|
|
10
|
-
import { getStrapiURL } from '../../../lib/utils.js';
|
|
11
|
-
import { unstable_noStore } from 'next/cache';
|
|
12
|
-
|
|
13
|
-
const baseUrl = getStrapiURL();
|
|
14
|
-
async function getShop(currentPage) {
|
|
15
|
-
unstable_noStore();
|
|
16
|
-
const PAGE_SIZE = 4;
|
|
17
|
-
const url = new URL(`/api/products`, baseUrl);
|
|
18
|
-
url.search = qs.stringify({
|
|
19
|
-
populate: {
|
|
20
|
-
price: true,
|
|
21
|
-
image: true,
|
|
22
|
-
gallery: true,
|
|
23
|
-
dimensions: true,
|
|
24
|
-
categories: true,
|
|
25
|
-
brand: true,
|
|
26
|
-
},
|
|
27
|
-
pagination: {
|
|
28
|
-
pageSize: PAGE_SIZE,
|
|
29
|
-
page: currentPage,
|
|
30
|
-
},
|
|
31
|
-
filters: {
|
|
32
|
-
is_archive: false,
|
|
33
|
-
},
|
|
34
|
-
});
|
|
35
|
-
return await fetchData(url.href);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
export { getShop };
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* UMWD-Components
|
|
3
|
-
* @copyright Jelle Paulus
|
|
4
|
-
* @license MIT
|
|
5
|
-
*/
|
|
6
|
-
|
|
7
|
-
import qs from '../../../../node_modules/qs/lib/index.js';
|
|
8
|
-
import { fetchData } from '../loaders.js';
|
|
9
|
-
import { getStrapiURL } from '../../../lib/utils.js';
|
|
10
|
-
import { unstable_noStore } from 'next/cache';
|
|
11
|
-
|
|
12
|
-
const baseUrl = getStrapiURL();
|
|
13
|
-
async function getSingleCategoryBySlug(slug) {
|
|
14
|
-
unstable_noStore();
|
|
15
|
-
const url = new URL(`/api/slugify/slugs/product-category/${slug}`, baseUrl);
|
|
16
|
-
url.search = qs.stringify({
|
|
17
|
-
filters: {
|
|
18
|
-
is_archive: false,
|
|
19
|
-
},
|
|
20
|
-
populate: {
|
|
21
|
-
products: {
|
|
22
|
-
populate: {
|
|
23
|
-
image: true,
|
|
24
|
-
price: true,
|
|
25
|
-
},
|
|
26
|
-
},
|
|
27
|
-
},
|
|
28
|
-
});
|
|
29
|
-
return await fetchData(url.href);
|
|
30
|
-
}
|
|
31
|
-
async function getSingleCategory(documentId) {
|
|
32
|
-
unstable_noStore();
|
|
33
|
-
const url = new URL(`/api/product-categories/${documentId}`, baseUrl);
|
|
34
|
-
url.search = qs.stringify({
|
|
35
|
-
filters: {
|
|
36
|
-
is_archive: false,
|
|
37
|
-
},
|
|
38
|
-
populate: {
|
|
39
|
-
products: {
|
|
40
|
-
populate: {
|
|
41
|
-
image: true,
|
|
42
|
-
price: true,
|
|
43
|
-
},
|
|
44
|
-
},
|
|
45
|
-
},
|
|
46
|
-
});
|
|
47
|
-
return await fetchData(url.href);
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
export { getSingleCategory, getSingleCategoryBySlug };
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
"use server";
|
|
2
|
-
/*
|
|
3
|
-
* UMWD-Components
|
|
4
|
-
* @copyright Jelle Paulus
|
|
5
|
-
* @license MIT
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
|
-
import qs from '../../../../node_modules/qs/lib/index.js';
|
|
9
|
-
import { fetchData } from '../loaders.js';
|
|
10
|
-
import { getStrapiURL } from '../../../lib/utils.js';
|
|
11
|
-
import { unstable_noStore } from 'next/cache';
|
|
12
|
-
|
|
13
|
-
const baseUrl = getStrapiURL();
|
|
14
|
-
async function getSingleCustomer(documentId) {
|
|
15
|
-
unstable_noStore();
|
|
16
|
-
const url = new URL(`/api/customer-profiles/${documentId}`, baseUrl);
|
|
17
|
-
url.search = qs.stringify({
|
|
18
|
-
populate: {
|
|
19
|
-
company_address: true,
|
|
20
|
-
delivery_address: true,
|
|
21
|
-
billing_address: true,
|
|
22
|
-
business_credentials: true,
|
|
23
|
-
orders: {
|
|
24
|
-
fields: [
|
|
25
|
-
"opo_number",
|
|
26
|
-
"order_date",
|
|
27
|
-
"internal_status",
|
|
28
|
-
"total_incl_vat",
|
|
29
|
-
],
|
|
30
|
-
},
|
|
31
|
-
returns: {
|
|
32
|
-
fields: ["return_number", "return_date", "internal_status"],
|
|
33
|
-
},
|
|
34
|
-
},
|
|
35
|
-
});
|
|
36
|
-
return await fetchData(url.href);
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
export { getSingleCustomer };
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
"use server";
|
|
2
|
-
/*
|
|
3
|
-
* UMWD-Components
|
|
4
|
-
* @copyright Jelle Paulus
|
|
5
|
-
* @license MIT
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
|
-
import qs from '../../../../node_modules/qs/lib/index.js';
|
|
9
|
-
import { fetchData } from '../loaders.js';
|
|
10
|
-
import { getStrapiURL } from '../../../lib/utils.js';
|
|
11
|
-
import { unstable_noStore } from 'next/cache';
|
|
12
|
-
|
|
13
|
-
const baseUrl = getStrapiURL();
|
|
14
|
-
async function getSingleOpo(documentId, filters = {}) {
|
|
15
|
-
unstable_noStore();
|
|
16
|
-
const url = new URL(`/api/opos/${documentId}`, baseUrl);
|
|
17
|
-
url.search = qs.stringify({
|
|
18
|
-
populate: {
|
|
19
|
-
opo_items: {
|
|
20
|
-
populate: {
|
|
21
|
-
product: {
|
|
22
|
-
populate: {
|
|
23
|
-
price: true,
|
|
24
|
-
image: true,
|
|
25
|
-
},
|
|
26
|
-
},
|
|
27
|
-
reports: {
|
|
28
|
-
populate: {
|
|
29
|
-
author: true,
|
|
30
|
-
},
|
|
31
|
-
},
|
|
32
|
-
},
|
|
33
|
-
},
|
|
34
|
-
customer: {
|
|
35
|
-
populate: ["business_credentials"],
|
|
36
|
-
},
|
|
37
|
-
notes: {
|
|
38
|
-
populate: {
|
|
39
|
-
author: true,
|
|
40
|
-
},
|
|
41
|
-
},
|
|
42
|
-
parcel_reference: true,
|
|
43
|
-
},
|
|
44
|
-
filters: { ...filters },
|
|
45
|
-
});
|
|
46
|
-
return await fetchData(url.href);
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
export { getSingleOpo };
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
"use server";
|
|
2
|
-
/*
|
|
3
|
-
* UMWD-Components
|
|
4
|
-
* @copyright Jelle Paulus
|
|
5
|
-
* @license MIT
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
|
-
import qs from '../../../../node_modules/qs/lib/index.js';
|
|
9
|
-
import { fetchData } from '../loaders.js';
|
|
10
|
-
import { getStrapiURL } from '../../../lib/utils.js';
|
|
11
|
-
import { unstable_noStore } from 'next/cache';
|
|
12
|
-
|
|
13
|
-
const baseUrl = getStrapiURL();
|
|
14
|
-
async function getSingleProduct(documentId) {
|
|
15
|
-
unstable_noStore();
|
|
16
|
-
const url = new URL(`/api/products/${documentId}`, baseUrl);
|
|
17
|
-
url.search = qs.stringify({
|
|
18
|
-
filters: {
|
|
19
|
-
is_archive: false,
|
|
20
|
-
},
|
|
21
|
-
populate: {
|
|
22
|
-
price: true,
|
|
23
|
-
image: true,
|
|
24
|
-
gallery: true,
|
|
25
|
-
dimensions: true,
|
|
26
|
-
categories: true,
|
|
27
|
-
brand: true,
|
|
28
|
-
vendors: true,
|
|
29
|
-
},
|
|
30
|
-
});
|
|
31
|
-
return await fetchData(url.href);
|
|
32
|
-
}
|
|
33
|
-
async function getSingleProductBySlug(slug) {
|
|
34
|
-
unstable_noStore();
|
|
35
|
-
const url = new URL(`/api/slugify/slugs/product/${slug}`, baseUrl);
|
|
36
|
-
url.search = qs.stringify({
|
|
37
|
-
filters: {
|
|
38
|
-
is_archive: false,
|
|
39
|
-
},
|
|
40
|
-
populate: {
|
|
41
|
-
price: true,
|
|
42
|
-
image: true,
|
|
43
|
-
gallery: true,
|
|
44
|
-
dimensions: true,
|
|
45
|
-
categories: true,
|
|
46
|
-
brand: true,
|
|
47
|
-
vendors: true,
|
|
48
|
-
},
|
|
49
|
-
});
|
|
50
|
-
return await fetchData(url.href);
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
export { getSingleProduct, getSingleProductBySlug };
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
"use server";
|
|
2
|
-
/*
|
|
3
|
-
* UMWD-Components
|
|
4
|
-
* @copyright Jelle Paulus
|
|
5
|
-
* @license MIT
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
|
-
import { fetchData } from '../loaders.js';
|
|
9
|
-
import { getStrapiURL } from '../../../lib/utils.js';
|
|
10
|
-
import { unstable_noStore } from 'next/cache';
|
|
11
|
-
|
|
12
|
-
const baseUrl = getStrapiURL();
|
|
13
|
-
// this returns an stock oversight for a returned product
|
|
14
|
-
// it's different from regular stock as it counts iro's (incoming return orders)
|
|
15
|
-
async function getSingleReturnStock(documentId) {
|
|
16
|
-
unstable_noStore();
|
|
17
|
-
const url = new URL(`/api/products/getReturnStock/${documentId}`, baseUrl);
|
|
18
|
-
return await fetchData(url.href);
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
export { getSingleReturnStock };
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
"use server";
|
|
2
|
-
/*
|
|
3
|
-
* UMWD-Components
|
|
4
|
-
* @copyright Jelle Paulus
|
|
5
|
-
* @license MIT
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
|
-
import { fetchData } from '../loaders.js';
|
|
9
|
-
import { getStrapiURL } from '../../../lib/utils.js';
|
|
10
|
-
import { unstable_noStore } from 'next/cache';
|
|
11
|
-
|
|
12
|
-
const baseUrl = getStrapiURL();
|
|
13
|
-
// this returns an oversight of how the stock is by build up for a single product
|
|
14
|
-
async function getSingleStock(documentId) {
|
|
15
|
-
unstable_noStore();
|
|
16
|
-
const url = new URL(`/api/products/getStock/${documentId}`, baseUrl);
|
|
17
|
-
return await fetchData(url.href);
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
export { getSingleStock };
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
"use server";
|
|
2
|
-
/*
|
|
3
|
-
* UMWD-Components
|
|
4
|
-
* @copyright Jelle Paulus
|
|
5
|
-
* @license MIT
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
|
-
import qs from '../../../../node_modules/qs/lib/index.js';
|
|
9
|
-
import { fetchData } from '../loaders.js';
|
|
10
|
-
import { getStrapiURL } from '../../../lib/utils.js';
|
|
11
|
-
import { unstable_noStore } from 'next/cache';
|
|
12
|
-
import { processFilters } from '../../../lib/processFilters.js';
|
|
13
|
-
|
|
14
|
-
const baseUrl = getStrapiURL();
|
|
15
|
-
/**
|
|
16
|
-
* INFO Fetch all Products
|
|
17
|
-
* used by the Products table in the admin panel
|
|
18
|
-
*/
|
|
19
|
-
async function getTableProducts(currentPage, rowsPerPage, order, orderBy, is_archive = [false], // default to only non-archived OPOs
|
|
20
|
-
filters = {}) {
|
|
21
|
-
unstable_noStore();
|
|
22
|
-
const url = new URL(`/api/products`, baseUrl);
|
|
23
|
-
const processedFilters = processFilters(filters);
|
|
24
|
-
url.search = qs.stringify({
|
|
25
|
-
filters: {
|
|
26
|
-
is_archive: {
|
|
27
|
-
$in: is_archive,
|
|
28
|
-
},
|
|
29
|
-
...processedFilters,
|
|
30
|
-
},
|
|
31
|
-
sort: `${orderBy || "id"}:${order || "desc"}`,
|
|
32
|
-
populate: {
|
|
33
|
-
price: true,
|
|
34
|
-
// image: true,
|
|
35
|
-
// gallery: true,
|
|
36
|
-
// dimensions: true,
|
|
37
|
-
// categories: true,
|
|
38
|
-
// brand: true,
|
|
39
|
-
},
|
|
40
|
-
pagination: {
|
|
41
|
-
pageSize: rowsPerPage || 10,
|
|
42
|
-
page: currentPage ? currentPage + 1 : 1, // because table pagination starts at 0 but strapi starts at 1
|
|
43
|
-
},
|
|
44
|
-
});
|
|
45
|
-
return await fetchData(url.href);
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
export { getTableProducts };
|
|
@@ -1,86 +0,0 @@
|
|
|
1
|
-
"use server";
|
|
2
|
-
/*
|
|
3
|
-
* UMWD-Components
|
|
4
|
-
* @copyright Jelle Paulus
|
|
5
|
-
* @license MIT
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
|
-
import qs from '../../../../../node_modules/qs/lib/index.js';
|
|
9
|
-
import { fetchData } from '../../loaders.js';
|
|
10
|
-
import { getStrapiURL } from '../../../../lib/utils.js';
|
|
11
|
-
import { unstable_noStore } from 'next/cache';
|
|
12
|
-
import { getUserRole } from '../../../services/get-user-me-loader.js';
|
|
13
|
-
import { processFilters } from '../../../../lib/processFilters.js';
|
|
14
|
-
|
|
15
|
-
const baseUrl = getStrapiURL();
|
|
16
|
-
/**
|
|
17
|
-
* INFO Fetch all IROs
|
|
18
|
-
* used by the IROs table in the admin panel
|
|
19
|
-
* @param currentPage - The current page number for pagination
|
|
20
|
-
* @param rowsPerPage - The number of rows per page for pagination
|
|
21
|
-
* @param order - The sort order (asc or desc)
|
|
22
|
-
* @param orderBy - The field to order by, defaults to "createdAt"
|
|
23
|
-
* @param is_archive - An array of booleans to filter by archived status, defaulting to only non-archived IROs
|
|
24
|
-
* @param filters - An object containing additional filters to apply
|
|
25
|
-
* @return A promise that resolves to the fetched IRO data
|
|
26
|
-
* * @throws Will throw an error if the fetch fails
|
|
27
|
-
*/
|
|
28
|
-
async function getAllIros(currentPage, rowsPerPage, order, orderBy = "createdAt", is_archive = [false], // default to only non-archived OPOs
|
|
29
|
-
filters = {}) {
|
|
30
|
-
unstable_noStore();
|
|
31
|
-
const user = await getUserRole();
|
|
32
|
-
const role = user?.data?.role?.type;
|
|
33
|
-
const isEnduser = role === "enduser";
|
|
34
|
-
const url = new URL(`/api/iros`, baseUrl);
|
|
35
|
-
const processedFilters = processFilters(filters);
|
|
36
|
-
url.search = qs.stringify({
|
|
37
|
-
filters: {
|
|
38
|
-
is_archive: {
|
|
39
|
-
$in: is_archive,
|
|
40
|
-
},
|
|
41
|
-
...processedFilters,
|
|
42
|
-
},
|
|
43
|
-
sort: `${orderBy || "createdAt"}:${order || "desc"}`,
|
|
44
|
-
populate: {
|
|
45
|
-
iro_items: {
|
|
46
|
-
populate: {
|
|
47
|
-
product: {
|
|
48
|
-
populate: {
|
|
49
|
-
price: true,
|
|
50
|
-
},
|
|
51
|
-
},
|
|
52
|
-
reports: true,
|
|
53
|
-
},
|
|
54
|
-
},
|
|
55
|
-
customer: isEnduser
|
|
56
|
-
? {
|
|
57
|
-
populate: {
|
|
58
|
-
company_address: true,
|
|
59
|
-
delivery_address: true,
|
|
60
|
-
billing_address: true,
|
|
61
|
-
business_credentials: true,
|
|
62
|
-
},
|
|
63
|
-
}
|
|
64
|
-
: false,
|
|
65
|
-
invoice: {
|
|
66
|
-
populate: {
|
|
67
|
-
seller_business_credentials: true,
|
|
68
|
-
seller_company_address: true,
|
|
69
|
-
buyer_company_address: true,
|
|
70
|
-
buyer_delivery_address: true,
|
|
71
|
-
buyer_billing_address: true,
|
|
72
|
-
buyer_business_credentials: true,
|
|
73
|
-
items: true,
|
|
74
|
-
admin_items: true,
|
|
75
|
-
},
|
|
76
|
-
},
|
|
77
|
-
},
|
|
78
|
-
pagination: {
|
|
79
|
-
pageSize: rowsPerPage || 10,
|
|
80
|
-
page: currentPage ? currentPage + 1 : 1, // because table pagination starts at 0 but strapi starts at 1
|
|
81
|
-
},
|
|
82
|
-
});
|
|
83
|
-
return await fetchData(url.href);
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
export { getAllIros };
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
"use server";
|
|
2
|
-
/*
|
|
3
|
-
* UMWD-Components
|
|
4
|
-
* @copyright Jelle Paulus
|
|
5
|
-
* @license MIT
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
|
-
import { fetchData } from '../../loaders.js';
|
|
9
|
-
import { getStrapiURL } from '../../../../lib/utils.js';
|
|
10
|
-
import { unstable_noStore } from 'next/cache';
|
|
11
|
-
|
|
12
|
-
const baseUrl = getStrapiURL();
|
|
13
|
-
async function getIroModel() {
|
|
14
|
-
unstable_noStore();
|
|
15
|
-
const url = new URL(`/api/iros/findModel`, baseUrl);
|
|
16
|
-
return await fetchData(url.href);
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
export { getIroModel };
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
"use server";
|
|
2
|
-
/*
|
|
3
|
-
* UMWD-Components
|
|
4
|
-
* @copyright Jelle Paulus
|
|
5
|
-
* @license MIT
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
|
-
import qs from '../../../../../node_modules/qs/lib/index.js';
|
|
9
|
-
import { fetchData } from '../../loaders.js';
|
|
10
|
-
import { getStrapiURL } from '../../../../lib/utils.js';
|
|
11
|
-
import { unstable_noStore } from 'next/cache';
|
|
12
|
-
|
|
13
|
-
const baseUrl = getStrapiURL();
|
|
14
|
-
async function getSingleIro(documentId, filters = {}) {
|
|
15
|
-
unstable_noStore();
|
|
16
|
-
const url = new URL(`/api/iros/${documentId}`, baseUrl);
|
|
17
|
-
url.search = qs.stringify({
|
|
18
|
-
populate: {
|
|
19
|
-
iro_items: {
|
|
20
|
-
populate: {
|
|
21
|
-
product: {
|
|
22
|
-
populate: {
|
|
23
|
-
image: true,
|
|
24
|
-
},
|
|
25
|
-
},
|
|
26
|
-
reports: {
|
|
27
|
-
populate: {
|
|
28
|
-
author: true,
|
|
29
|
-
},
|
|
30
|
-
},
|
|
31
|
-
},
|
|
32
|
-
},
|
|
33
|
-
customer: {
|
|
34
|
-
populate: ["business_credentials"],
|
|
35
|
-
},
|
|
36
|
-
notes: {
|
|
37
|
-
// should only be available to enduser and dispatcher
|
|
38
|
-
populate: {
|
|
39
|
-
author: true,
|
|
40
|
-
},
|
|
41
|
-
},
|
|
42
|
-
customer_attachment: true,
|
|
43
|
-
},
|
|
44
|
-
filters: { ...filters },
|
|
45
|
-
});
|
|
46
|
-
return await fetchData(url.href);
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
export { getSingleIro };
|