umwd-components 0.1.713 → 0.1.715
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +273 -0
- package/dist/_virtual/_commonjsHelpers.js +1 -1
- package/dist/_virtual/_rollupPluginBabelHelpers.js +1 -1
- package/dist/node_modules/@mollie/api-client/dist/mollie.esm.js +1 -1
- package/dist/node_modules/axios/index.js +6 -0
- package/dist/node_modules/axios/lib/adapters/adapters.js +1 -1
- package/dist/node_modules/axios/lib/adapters/fetch.js +1 -1
- package/dist/node_modules/axios/lib/adapters/xhr.js +1 -1
- package/dist/node_modules/axios/lib/cancel/CancelToken.js +1 -1
- package/dist/node_modules/axios/lib/core/Axios.js +1 -1
- package/dist/node_modules/axios/lib/core/AxiosError.js +1 -1
- package/dist/node_modules/axios/lib/core/AxiosHeaders.js +1 -1
- package/dist/node_modules/axios/lib/core/InterceptorManager.js +1 -1
- package/dist/node_modules/axios/lib/core/dispatchRequest.js +1 -1
- package/dist/node_modules/axios/lib/core/mergeConfig.js +1 -1
- package/dist/node_modules/axios/lib/core/transformData.js +1 -1
- package/dist/node_modules/axios/lib/defaults/index.js +1 -1
- package/dist/node_modules/axios/lib/helpers/AxiosURLSearchParams.js +1 -1
- package/dist/node_modules/axios/lib/helpers/HttpStatusCode.js +1 -1
- package/dist/node_modules/axios/lib/helpers/composeSignals.js +1 -1
- package/dist/node_modules/axios/lib/helpers/formDataToJSON.js +1 -1
- package/dist/node_modules/axios/lib/helpers/parseHeaders.js +1 -1
- package/dist/node_modules/axios/lib/helpers/progressEventReducer.js +1 -1
- package/dist/node_modules/axios/lib/helpers/resolveConfig.js +1 -1
- package/dist/node_modules/axios/lib/helpers/throttle.js +1 -1
- package/dist/node_modules/axios/lib/helpers/toFormData.js +1 -1
- package/dist/node_modules/axios/lib/helpers/trackStream.js +1 -1
- package/dist/node_modules/axios/lib/helpers/validator.js +1 -1
- package/dist/node_modules/axios/lib/platform/index.js +1 -1
- package/dist/node_modules/axios/lib/utils.js +1 -1
- package/dist/node_modules/call-bind-apply-helpers/actualApply.js +6 -0
- package/dist/node_modules/call-bind-apply-helpers/functionApply.js +6 -0
- package/dist/node_modules/call-bind-apply-helpers/functionCall.js +6 -0
- package/dist/node_modules/call-bind-apply-helpers/index.js +6 -0
- package/dist/node_modules/call-bind-apply-helpers/reflectApply.js +6 -0
- package/dist/node_modules/call-bound/index.js +6 -0
- package/dist/node_modules/dayjs/dayjs.min.js +1 -1
- package/dist/node_modules/dunder-proto/get.js +6 -0
- package/dist/node_modules/es-define-property/index.js +1 -1
- package/dist/{_virtual/index7.js → node_modules/es-object-atoms/index.js} +1 -1
- package/dist/node_modules/function-bind/implementation.js +1 -1
- package/dist/node_modules/function-bind/index.js +1 -1
- package/dist/node_modules/get-intrinsic/index.js +1 -1
- package/dist/node_modules/get-proto/Object.getPrototypeOf.js +6 -0
- package/dist/node_modules/get-proto/Reflect.getPrototypeOf.js +6 -0
- package/dist/node_modules/get-proto/index.js +6 -0
- package/dist/{_virtual/index5.js → node_modules/gopd/gOPD.js} +1 -1
- package/dist/node_modules/gopd/index.js +1 -1
- package/dist/node_modules/has-symbols/index.js +1 -1
- package/dist/node_modules/has-symbols/shams.js +1 -1
- package/dist/node_modules/hasown/index.js +1 -1
- package/dist/{_virtual/index8.js → node_modules/math-intrinsics/abs.js} +1 -1
- package/dist/{_virtual/types.js → node_modules/math-intrinsics/floor.js} +1 -1
- package/dist/node_modules/math-intrinsics/isNaN.js +6 -0
- package/dist/{_virtual/index6.js → node_modules/math-intrinsics/max.js} +1 -1
- package/dist/node_modules/math-intrinsics/min.js +6 -0
- package/dist/node_modules/math-intrinsics/pow.js +6 -0
- package/dist/node_modules/math-intrinsics/round.js +6 -0
- package/dist/node_modules/math-intrinsics/sign.js +6 -0
- package/dist/node_modules/object-assign/index.js +1 -1
- package/dist/node_modules/object-inspect/index.js +1 -1
- package/dist/node_modules/prop-types/factoryWithTypeCheckers.js +1 -1
- package/dist/node_modules/prop-types/index.js +1 -1
- package/dist/node_modules/prop-types/node_modules/react-is/index.js +1 -1
- package/dist/node_modules/qs/lib/index.js +1 -1
- package/dist/node_modules/qs/lib/parse.js +1 -1
- package/dist/node_modules/qs/lib/stringify.js +1 -1
- package/dist/node_modules/qs/lib/utils.js +1 -1
- package/dist/node_modules/react-csv/lib/components/Download.js +1 -1
- package/dist/node_modules/react-csv/lib/components/Link.js +1 -1
- package/dist/node_modules/react-csv/lib/core.js +1 -1
- package/dist/node_modules/safe-buffer/index.js +2 -2
- package/dist/node_modules/sax/lib/sax.js +1 -1
- package/dist/node_modules/side-channel/index.js +1 -1
- package/dist/node_modules/side-channel-list/index.js +6 -0
- package/dist/node_modules/side-channel-map/index.js +6 -0
- package/dist/node_modules/side-channel-weakmap/index.js +6 -0
- package/dist/node_modules/string_decoder/lib/string_decoder.js +1 -1
- package/dist/node_modules/tslib/tslib.es6.js +1 -1
- package/dist/node_modules/xml-js/lib/js2xml.js +1 -1
- package/dist/node_modules/xml-js/lib/xml2json.js +1 -1
- package/dist/src/components/ContactForm.js +1 -1
- package/dist/src/components/FluidBackground.js +1 -1
- package/dist/src/components/LogoutButton.js +1 -1
- package/dist/src/components/WebsitePlaceholder.js +1 -1
- package/dist/src/components/ZodErrors.js +1 -1
- package/dist/src/components/auth/AuthWidget.js +1 -1
- package/dist/src/components/common/Address.js +1 -1
- package/dist/src/components/common/AmountUpdater.js +1 -1
- package/dist/src/components/common/EnhancedTable/EnhancedTable.js +1 -1
- package/dist/src/components/common/EnhancedTable/EnhancedTableFilterRow.js +1 -1
- package/dist/src/components/common/EnhancedTable/EnhancedTableHead.js +1 -1
- package/dist/src/components/common/EnhancedTable/EnhancedTableRow.js +1 -1
- package/dist/src/components/common/EnhancedTable/EnhancedTableToolbar.js +1 -1
- package/dist/src/components/common/NumberInput.js +1 -1
- package/dist/src/components/common/WeekPicker.js +1 -1
- package/dist/src/components/common/cookie-consent/CookieConsentContext.js +1 -1
- package/dist/src/components/common/csv/CsvDownloader.js +1 -1
- package/dist/src/components/common/media/MediaGrid.js +1 -1
- package/dist/src/components/common/media/MediaLibraryDialog.js +1 -1
- package/dist/src/components/common/media/UploadBase64MediaForm.js +1 -1
- package/dist/src/components/common/media/UploadMediaForm.js +1 -1
- package/dist/src/components/common/snackbar/GlobalSnackbar.js +1 -1
- package/dist/src/components/e-commerce/cart/CartSummary.js +1 -1
- package/dist/src/components/e-commerce/cart/hooks.js +1 -1
- package/dist/src/components/e-commerce/categories/AddCategoryForm.js +1 -1
- package/dist/src/components/e-commerce/categories/CategorySelectorV2.js +1 -1
- package/dist/src/components/e-commerce/categories/EditCategoryForm.js +1 -1
- package/dist/src/components/e-commerce/checkout/CheckoutForm.js +1 -1
- package/dist/src/components/e-commerce/checkout/Step2.js +1 -1
- package/dist/src/components/e-commerce/checkout/Step4.js +1 -1
- package/dist/src/components/e-commerce/checkout/Step5.js +1 -1
- package/dist/src/components/e-commerce/customer/BusinessCredentials.js +1 -1
- package/dist/src/components/e-commerce/customer/CustomerCompletenessWarning.js +1 -1
- package/dist/src/components/e-commerce/customer/CustomerProfileDisplay.js +1 -1
- package/dist/src/components/e-commerce/customer/CustomerProfileEditForm.js +1 -1
- package/dist/src/components/e-commerce/customer/CustomerSelector.js +1 -1
- package/dist/src/components/e-commerce/enduser/EnduserProfileEditForm.js +1 -1
- package/dist/src/components/e-commerce/invoice/CreateInvoiceForm.js +1 -1
- package/dist/src/components/e-commerce/invoice/InvoiceItemFields.js +1 -1
- package/dist/src/components/e-commerce/invoice/InvoicePDF.js +1 -1
- package/dist/src/components/e-commerce/iro/CreateIROForm.js +1 -1
- package/dist/src/components/e-commerce/iro/IROItemFields.js +1 -1
- package/dist/src/components/e-commerce/iro/IroItemDisplay.js +1 -1
- package/dist/src/components/e-commerce/iro/IroItemUpdater.js +1 -1
- package/dist/src/components/e-commerce/iro/IroStatusIndicator.js +1 -1
- package/dist/src/components/e-commerce/iro/ManageIROForm.js +1 -1
- package/dist/src/components/e-commerce/iro/RmaForm.js +1 -1
- package/dist/src/components/e-commerce/iro/TextualIROItemUpdater.js +1 -1
- package/dist/src/components/e-commerce/iro/TextualManageIROForm.js +1 -1
- package/dist/src/components/e-commerce/opo/CreateOpoForm.js +1 -1
- package/dist/src/components/e-commerce/opo/ManageOpoForm.js +1 -1
- package/dist/src/components/e-commerce/opo/OPOItemFields.js +1 -1
- package/dist/src/components/e-commerce/opo/OpoItemDisplay.js +1 -1
- package/dist/src/components/e-commerce/opo/OpoItemUpdater.js +1 -1
- package/dist/src/components/e-commerce/opo/OpoStatusIndicator.js +1 -1
- package/dist/src/components/e-commerce/opo/OpoSummary.js +1 -1
- package/dist/src/components/e-commerce/opo/PaymentStatusIndicator.js +1 -1
- package/dist/src/components/e-commerce/opo/TextualManageOpoForm.js +1 -1
- package/dist/src/components/e-commerce/opo/TextualOpoItemUpdater.js +1 -1
- package/dist/src/components/e-commerce/products/AddProductForm.js +1 -1
- package/dist/src/components/e-commerce/products/EditProductForm.js +1 -1
- package/dist/src/components/e-commerce/products/EditStockForm.js +1 -1
- package/dist/src/components/e-commerce/products/PriceFields.js +1 -1
- package/dist/src/components/e-commerce/products/ProductCategoryCard.js +1 -1
- package/dist/src/components/e-commerce/products/ProductSelector.js +1 -1
- package/dist/src/components/e-commerce/products/SingleProduct.js +1 -1
- package/dist/src/components/layout/Footer.js +1 -1
- package/dist/src/components/layout/Navbar.js +1 -1
- package/dist/src/components/layout/NavbarV2.js +1 -1
- package/dist/src/components/layout/SideNav.js +1 -1
- package/dist/src/components/logistics/dispatcher/DispatcherProfileEditForm.js +1 -1
- package/dist/src/components/logistics/ipo/AddIPOForm.js +1 -1
- package/dist/src/components/logistics/ipo/IPOItemFields.js +1 -1
- package/dist/src/components/logistics/ipo/IPOItemUpdater.js +1 -1
- package/dist/src/components/logistics/ipo/IpoStatusIndicator.js +1 -1
- package/dist/src/components/logistics/ipo/ManageIPOForm.js +1 -1
- package/dist/src/components/logistics/ipo/TextualIPOItemUpdater.js +1 -1
- package/dist/src/components/logistics/ipo/TextualManageIPOForm.js +1 -1
- package/dist/src/components/logistics/note/NoteTakingComponent.js +1 -1
- package/dist/src/components/logistics/note/NotesDisplay.js +1 -1
- package/dist/src/components/logistics/report/PreReportsDisplay.js +1 -1
- package/dist/src/components/logistics/report/ReportMakingComponent.js +1 -1
- package/dist/src/components/logistics/report/ReportsDisplay.js +1 -1
- package/dist/src/components/logistics/vendor/AddVendorForm.js +1 -1
- package/dist/src/components/logistics/vendor/EditVendorForm.js +1 -1
- package/dist/src/components/logistics/vendor/VendorDisplay.js +1 -1
- package/dist/src/components/logistics/vendor/VendorSelector.js +1 -1
- package/dist/src/components/page-builder/ColumnsSection.js +1 -1
- package/dist/src/components/page-builder/FleetSection.js +1 -1
- package/dist/src/components/page-builder/IconSection.js +1 -1
- package/dist/src/components/page-builder/LogoBarSection.js +1 -1
- package/dist/src/components/page-builder/PBFeaturesSection.js +1 -1
- package/dist/src/components/page-builder/PBPersonaliaSection.js +1 -1
- package/dist/src/components/page-builder/PBTextImageSection.js +1 -1
- package/dist/src/components/page-builder/PictureBarSection.js +1 -1
- package/dist/src/components/page-elements/CategoryBlock.js +1 -1
- package/dist/src/components/page-elements/ColumnsSection.js +1 -1
- package/dist/src/components/page-elements/FeaturesSection.js +1 -1
- package/dist/src/components/page-elements/FleetSection.js +1 -1
- package/dist/src/components/page-elements/IconSection.js +1 -1
- package/dist/src/components/page-elements/LogoBarSection.js +1 -1
- package/dist/src/components/page-elements/PersonaliaSection.js +1 -1
- package/dist/src/components/page-elements/PictureBarSection.js +1 -1
- package/dist/src/components/page-elements/TextImageSection.js +1 -1
- package/dist/src/components/public-information/PublicInformationForm.js +1 -1
- package/dist/src/context/auth/SessionContext.js +1 -1
- package/dist/src/context/common/SnackbarContext.js +1 -1
- package/dist/src/context/e-commerce/cart/CartContext.js +1 -1
- package/dist/src/context/e-commerce/checkout/CheckoutContext.js +1 -1
- package/dist/src/data/actions/auth-actions.js +1 -1
- package/dist/src/data/actions/e-commerce/categories/createCategoryAction.js +1 -1
- package/dist/src/data/actions/e-commerce/categories/updateCategoryAction.js +1 -1
- package/dist/src/data/actions/e-commerce/checkout-action.js +1 -1
- package/dist/src/data/actions/e-commerce/enduser/profile-actions.js +1 -1
- package/dist/src/data/actions/e-commerce/invoices/createInvoiceAction.js +1 -1
- package/dist/src/data/actions/e-commerce/iro/createIroAction.js +1 -1
- package/dist/src/data/actions/e-commerce/iro/requestRmaAction.js +1 -1
- package/dist/src/data/actions/e-commerce/iro/updateIroAction.js +1 -1
- package/dist/src/data/actions/e-commerce/opo/createOpoAction.js +1 -1
- package/dist/src/data/actions/e-commerce/opo/updateOpoAction.js +1 -1
- package/dist/src/data/actions/e-commerce/product/createProductAction.js +1 -1
- package/dist/src/data/actions/e-commerce/product/updateProductAction.js +1 -1
- package/dist/src/data/actions/logistics/dispatcher/profile-actions.js +1 -1
- package/dist/src/data/actions/logistics/ipo/createIPOAction.js +1 -1
- package/dist/src/data/actions/logistics/ipo/updateIpoAction.js +1 -1
- package/dist/src/data/actions/logistics/note/createNoteAction.js +1 -1
- package/dist/src/data/actions/logistics/report/createReportAction.js +1 -1
- package/dist/src/data/actions/logistics/vendor/createVendorAction.js +1 -1
- package/dist/src/data/actions/logistics/vendor/updateVendorAction.js +1 -1
- package/dist/src/data/actions/media/updateMediaAction.js +1 -1
- package/dist/src/data/actions/media/uploadBase64MediaAction.js +1 -1
- package/dist/src/data/actions/media/uploadMediaAction.js +1 -1
- package/dist/src/data/actions/pagebuilder-actions.js +1 -1
- package/dist/src/data/actions/profile-actions.js +1 -1
- package/dist/src/data/actions/public-information/updatePublicInformationAction.js +1 -1
- package/dist/src/data/loaders/common/media/downloadBase64File.js +1 -1
- package/dist/src/data/loaders/common/media/getAllMedia.js +1 -1
- package/dist/src/data/loaders/e-commerce/getAllCategoryNames.js +1 -1
- package/dist/src/data/loaders/e-commerce/getAllCustomers.js +1 -1
- package/dist/src/data/loaders/e-commerce/getAllInvoices.js +1 -1
- package/dist/src/data/loaders/e-commerce/getAllOpos.js +1 -1
- package/dist/src/data/loaders/e-commerce/getCustomerLabels.js +1 -1
- package/dist/src/data/loaders/e-commerce/getCustomerModel.js +1 -1
- package/dist/src/data/loaders/e-commerce/getOpoModel.js +1 -1
- package/dist/src/data/loaders/e-commerce/getPaginatedCategories.js +1 -1
- package/dist/src/data/loaders/e-commerce/getProductModel.js +1 -1
- package/dist/src/data/loaders/e-commerce/getProductNames.js +1 -1
- package/dist/src/data/loaders/e-commerce/getShop.js +1 -1
- package/dist/src/data/loaders/e-commerce/getSingleCategory.js +1 -1
- package/dist/src/data/loaders/e-commerce/getSingleCustomer.js +1 -1
- package/dist/src/data/loaders/e-commerce/getSingleOpo.js +1 -1
- package/dist/src/data/loaders/e-commerce/getSingleProduct.js +1 -1
- package/dist/src/data/loaders/e-commerce/getSingleStock.js +1 -1
- package/dist/src/data/loaders/e-commerce/getTableProducts.js +1 -1
- package/dist/src/data/loaders/e-commerce/iros/getAllIros.js +1 -1
- package/dist/src/data/loaders/e-commerce/iros/getIroModel.js +1 -1
- package/dist/src/data/loaders/e-commerce/iros/getSingleIro.js +1 -1
- package/dist/src/data/loaders/e-commerce/iros/queryAllIros.js +1 -1
- package/dist/src/data/loaders/e-commerce/queryAllCustomers.js +1 -1
- package/dist/src/data/loaders/e-commerce/queryAllOpos.js +1 -1
- package/dist/src/data/loaders/e-commerce/queryAllProducts.js +1 -1
- package/dist/src/data/loaders/e-commerce-loaders.js +1 -1
- package/dist/src/data/loaders/loaders.js +1 -1
- package/dist/src/data/loaders/logistics/getIpoModel.js +1 -1
- package/dist/src/data/loaders/logistics/getIpoNames.js +1 -1
- package/dist/src/data/loaders/logistics/getSingleIpo.js +1 -1
- package/dist/src/data/loaders/logistics/getSingleVendor.js +1 -1
- package/dist/src/data/loaders/logistics/getTableIpos.js +1 -1
- package/dist/src/data/loaders/logistics/getTableVendors.js +1 -1
- package/dist/src/data/loaders/logistics/getVendorModel.js +1 -1
- package/dist/src/data/loaders/logistics/getVendorNames.js +1 -1
- package/dist/src/data/loaders/logistics/queryAllIpos.js +1 -1
- package/dist/src/data/loaders/logistics/queryAllVendors.js +1 -1
- package/dist/src/data/loaders/page-builder/getTablePages.js +1 -1
- package/dist/src/data/loaders/page-elements/getSinglePage.js +1 -1
- package/dist/src/data/loaders/public-information/getPublicInformation.js +1 -1
- package/dist/src/data/loaders/user/getUserMeLoader.js +1 -1
- package/dist/src/data/services/archive-service.js +1 -1
- package/dist/src/data/services/auth-service.js +1 -1
- package/dist/src/data/services/common/cancellation-service.js +1 -1
- package/dist/src/data/services/common/confirmation-service.js +1 -1
- package/dist/src/data/services/e-commerce/enduser/get-enduser-me-loader.js +1 -1
- package/dist/src/data/services/file-service.js +1 -1
- package/dist/src/data/services/get-token.js +1 -1
- package/dist/src/data/services/get-user-me-loader.js +1 -1
- package/dist/src/data/services/logistics/dispatcher/get-dispatcher-me-loader.js +1 -1
- package/dist/src/data/services/mutate-data.js +1 -1
- package/dist/src/lib/eoriValidate.js +1 -1
- package/dist/src/lib/molliePaymentProvider.js +1 -1
- package/dist/src/lib/parseNavigation.js +1 -1
- package/dist/src/lib/processFilters.js +1 -1
- package/dist/src/lib/utils.js +1 -1
- package/dist/src/lib/vatValidate.js +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/types/components/StrapiErrors.d.ts +2 -2
- package/dist/types/components/e-commerce/cart/hooks.d.ts +2 -3
- package/dist/types/components/e-commerce/products/AddProductForm.d.ts +3 -3
- package/dist/types/data/loaders/logistics/getTableIpos.d.ts +8 -0
- package/dist/types/data/loaders/logistics/getTableVendors.d.ts +14 -1
- package/dist/types/lib/getIcon.d.ts +0 -1
- package/dist/types/types/StrapiImageProps.d.ts +0 -1
- package/dist/types/types/common/Contact.d.ts +0 -1
- package/dist/types/types/common/Socials.d.ts +0 -1
- package/dist/types/types/common/enhancedTable/types.d.ts +0 -1
- package/package.json +14 -25
- package/postcss.config.js +5 -6
- package/rollup.config.mjs +9 -0
- package/src/components/Logo.tsx +20 -9
- package/src/components/LogoutButton.tsx +1 -29
- package/src/components/StrapiErrors.tsx +5 -1
- package/src/components/e-commerce/invoice/InvoicePDF.tsx +54 -48
- package/src/components/e-commerce/iro/ManageIROForm.tsx +3 -3
- package/src/components/e-commerce/opo/ManageOpoForm.tsx +7 -2
- package/src/components/e-commerce/opo/OpoItemUpdater.tsx +16 -6
- package/src/data/loaders/logistics/getTableIpos.ts +9 -4
- package/src/data/loaders/logistics/getTableVendors.tsx +25 -5
- package/src/index.ts +327 -327
- package/src/lib/APIcon.svg +6 -6
- package/src/lib/utils.ts +0 -7
- package/src/styles/globals.css +2 -3
- package/tsconfig.json +24 -34
- package/.storybook/main.js +0 -26
- package/.storybook/preview.js +0 -50
- package/dist/_virtual/inherits_browser.js +0 -6
- package/dist/_virtual/punycode.js +0 -6
- package/dist/_virtual/url.js +0 -6
- package/dist/_virtual/util.js +0 -6
- package/dist/node_modules/available-typed-arrays/index.js +0 -6
- package/dist/node_modules/base64-js/index.js +0 -6
- package/dist/node_modules/buffer/index.js +0 -12
- package/dist/node_modules/call-bind/callBound.js +0 -6
- package/dist/node_modules/call-bind/index.js +0 -6
- package/dist/node_modules/define-data-property/index.js +0 -6
- package/dist/node_modules/for-each/index.js +0 -6
- package/dist/node_modules/has-property-descriptors/index.js +0 -6
- package/dist/node_modules/has-proto/index.js +0 -6
- package/dist/node_modules/has-tostringtag/shams.js +0 -6
- package/dist/node_modules/ieee754/index.js +0 -7
- package/dist/node_modules/inherits/inherits_browser.js +0 -6
- package/dist/node_modules/is-arguments/index.js +0 -6
- package/dist/node_modules/is-callable/index.js +0 -6
- package/dist/node_modules/is-generator-function/index.js +0 -6
- package/dist/node_modules/is-typed-array/index.js +0 -6
- package/dist/node_modules/set-function-length/index.js +0 -6
- package/dist/node_modules/url/node_modules/punycode/punycode.js +0 -7
- package/dist/node_modules/url/url.js +0 -6
- package/dist/node_modules/util/support/isBufferBrowser.js +0 -6
- package/dist/node_modules/util/support/types.js +0 -6
- package/dist/node_modules/util/util.js +0 -6
- package/dist/node_modules/uuid/dist/esm-browser/native.js +0 -6
- package/dist/node_modules/uuid/dist/esm-browser/rng.js +0 -6
- package/dist/node_modules/uuid/dist/esm-browser/stringify.js +0 -6
- package/dist/node_modules/uuid/dist/esm-browser/v4.js +0 -6
- package/dist/node_modules/which-typed-array/index.js +0 -6
- package/dist/types/app/checkout/layout.d.ts +0 -4
- package/dist/types/app/checkout/page.d.ts +0 -3
- package/dist/types/app/layout.d.ts +0 -8
- package/dist/types/app/page.d.ts +0 -2
- package/dist/types/components/e-commerce/cart/CartWidgetOld.d.ts +0 -9
- package/next-env.d.ts +0 -5
- package/next.config.js +0 -18
- package/public/AMH/BulletSVG.svg +0 -9
- package/public/AMH/desktop_wallpaper@0.25x.png +0 -0
- package/public/Logo.svg +0 -6
- package/public/favicon.ico +0 -0
- package/public/index.html +0 -43
- package/public/logo.png +0 -0
- package/public/logo_decorated.png +0 -0
- package/public/logo_text.png +0 -0
- package/public/logo_thick.png +0 -0
- package/public/manifest.json +0 -25
- package/public/placeholders/fullscreen_1920X1080.png +0 -0
- package/public/placeholders/highres_2400X1600.png +0 -0
- package/public/placeholders/large_1200X800.png +0 -0
- package/public/placeholders/medium_600X400.png +0 -0
- package/public/placeholders/small_300X200.png +0 -0
- package/public/placeholders/thumbnail_100X100.png +0 -0
- package/public/robots.txt +0 -3
- package/readme.MD +0 -0
- package/rollup.config copy.mjs +0 -80
- package/src/app/checkout/layout.tsx +0 -28
- package/src/app/checkout/page.tsx +0 -9
- package/src/app/layout.tsx +0 -16
- package/src/app/page.tsx +0 -38
- package/src/stories/ContactForm.stories.js +0 -13
- package/src/stories/FeatureSection.stories.js +0 -86
- package/src/stories/FluidBackground.stories.js +0 -29
- package/src/stories/Footer.stories.js +0 -130
- package/src/stories/HeroSection.stories.js +0 -101
- package/src/stories/LogoutButton.stories.js +0 -15
- package/src/stories/Page.stories.js +0 -536
- package/src/stories/PageBuilder.stories.js +0 -396
- package/src/stories/RegisterForm.stories.js +0 -13
- package/src/stories/ScrollNavbar.stories.js +0 -121
- package/src/stories/SideNav.stories.js +0 -47
- package/src/stories/SigninForm.stories.js +0 -13
- package/src/stories/StrapiImage.stories.js +0 -23
- package/src/stories/TextImageSection.stories.js +0 -73
- package/src/stories/WebsitePlaceholder.stories.js +0 -178
- package/src/stories/WhatsAppClickToChatButton.stories.js +0 -69
- package/src/stories/styles.css +0 -39
- package/tailwind.config.ts +0 -80
package/next.config.js
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
// @ts-check
|
|
2
|
-
|
|
3
|
-
/** @type {import('next').NextConfig} */
|
|
4
|
-
const nextConfig = {
|
|
5
|
-
/* config options here */
|
|
6
|
-
images: {
|
|
7
|
-
remotePatterns: [
|
|
8
|
-
{
|
|
9
|
-
protocol: "https",
|
|
10
|
-
hostname: "www.google.com",
|
|
11
|
-
pathname: "/images/**",
|
|
12
|
-
},
|
|
13
|
-
{ hostname: "localhost", port: "1337" },
|
|
14
|
-
],
|
|
15
|
-
},
|
|
16
|
-
};
|
|
17
|
-
|
|
18
|
-
module.exports = nextConfig;
|
package/public/AMH/BulletSVG.svg
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
-
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
|
3
|
-
viewBox="0 0 24 24" style="enable-background:new 0 0 24 24;" xml:space="preserve">
|
|
4
|
-
<g id="Layer_32">
|
|
5
|
-
<path class="st27" fill="#DD1805" d="M22.15,12c-1.39-0.61-8-3.55-12.14-6.33C5.18,2.43,4.03,0.28,3.19,0.23c-0.4-0.02-1.26,1.04-1.34,1.42
|
|
6
|
-
L9,10.62c0,0,5.12,1.04,8.08,1.38C14.12,12.34,9,13.38,9,13.38l-7.16,8.96c0.08,0.38,0.94,1.44,1.34,1.42
|
|
7
|
-
c0.84-0.05,1.99-2.2,6.83-5.44C14.15,15.56,20.77,12.61,22.15,12L22.15,12z"/>
|
|
8
|
-
</g>
|
|
9
|
-
</svg>
|
|
Binary file
|
package/public/Logo.svg
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
<svg id="o" data-name="AP logo" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100">
|
|
2
|
-
<path d="M98.12,1.99s-15.8-3.91-19.72,0c-2.14,2.14-6.47,19.71-9.94,35.14-.99,4.39,2.48,7.64,5.43,9.65,3.61,2.46,6.35,6.1,7.66,10.38.61,1.98,1.66,6.16,6.47,5.86,4.83-.3,8.84-.94,10.1-2.21,3.87-3.87,0-58.82,0-58.82Z" style="fill: #000; stroke-width: 0px;"/>
|
|
3
|
-
<path d="M62.74,37.47c-.24-15.42-1.04-33.13-3.4-35.48C55.08-2.27,1.94,1.99,1.94,1.99c0,0-4.36,40.97,0,45.32,2.39,2.39,19.96,6.7,35.36,10.11,3.82.85,7.52-1.95,8.71-4.07,2.33-4.15,6.14-7.36,10.71-8.91,3.63-1.23,6.08-3.83,6.03-6.97Z" style="fill: #000; stroke-width: 0px;"/>
|
|
4
|
-
<path d="M98.12,71.85c-1.41-1.41-5.59-2.83-10.54-4.09-3.12-.8-5.99,1.18-7.08,3.46-2.48,5.19-7.21,9.11-12.92,10.51-2.28.56-4.8,3.21-4.67,5.69.28,5.15.86,9.45,2,10.59,3.31,3.31,33.21,0,33.21,0,0,0,4.24-21.92,0-26.16Z" style="fill: #000; stroke-width: 0px;"/>
|
|
5
|
-
<path d="M37.02,63.21c-15.5.35-33.1,1.19-35.08,3.18-3.63,3.63,0,31.62,0,31.62,0,0,47.71,4.26,51.97,0,1.48-1.48,2.96-5.98,4.27-11.21.87-3.49-2.01-5.55-4.36-6.8-4.66-2.49-8.18-6.81-9.6-12.01-.72-2.64-3.1-4.88-7.19-4.78Z" style="fill: #000; stroke-width: 0px;"/>
|
|
6
|
-
</svg>
|
package/public/favicon.ico
DELETED
|
Binary file
|
package/public/index.html
DELETED
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<html lang="en">
|
|
3
|
-
<head>
|
|
4
|
-
<meta charset="utf-8" />
|
|
5
|
-
<link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
|
|
6
|
-
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
7
|
-
<meta name="theme-color" content="#000000" />
|
|
8
|
-
<meta
|
|
9
|
-
name="description"
|
|
10
|
-
content="Web site created using create-react-app"
|
|
11
|
-
/>
|
|
12
|
-
<link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />
|
|
13
|
-
<!--
|
|
14
|
-
manifest.json provides metadata used when your web app is installed on a
|
|
15
|
-
user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
|
|
16
|
-
-->
|
|
17
|
-
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
|
|
18
|
-
<!--
|
|
19
|
-
Notice the use of %PUBLIC_URL% in the tags above.
|
|
20
|
-
It will be replaced with the URL of the `public` folder during the build.
|
|
21
|
-
Only files inside the `public` folder can be referenced from the HTML.
|
|
22
|
-
|
|
23
|
-
Unlike "/favicon.ico" or "favicon.ico", "%PUBLIC_URL%/favicon.ico" will
|
|
24
|
-
work correctly both with client-side routing and a non-root public URL.
|
|
25
|
-
Learn how to configure a non-root public URL by running `npm run build`.
|
|
26
|
-
-->
|
|
27
|
-
<title>React App</title>
|
|
28
|
-
</head>
|
|
29
|
-
<body>
|
|
30
|
-
<noscript>You need to enable JavaScript to run this app.</noscript>
|
|
31
|
-
<div id="root"></div>
|
|
32
|
-
<!--
|
|
33
|
-
This HTML file is a template.
|
|
34
|
-
If you open it directly in the browser, you will see an empty page.
|
|
35
|
-
|
|
36
|
-
You can add webfonts, meta tags, or analytics to this file.
|
|
37
|
-
The build step will place the bundled scripts into the <body> tag.
|
|
38
|
-
|
|
39
|
-
To begin the development, run `npm start` or `yarn start`.
|
|
40
|
-
To create a production bundle, use `npm run build` or `yarn build`.
|
|
41
|
-
-->
|
|
42
|
-
</body>
|
|
43
|
-
</html>
|
package/public/logo.png
DELETED
|
Binary file
|
|
Binary file
|
package/public/logo_text.png
DELETED
|
Binary file
|
package/public/logo_thick.png
DELETED
|
Binary file
|
package/public/manifest.json
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"short_name": "React App",
|
|
3
|
-
"name": "Create React App Sample",
|
|
4
|
-
"icons": [
|
|
5
|
-
{
|
|
6
|
-
"src": "favicon.ico",
|
|
7
|
-
"sizes": "64x64 32x32 24x24 16x16",
|
|
8
|
-
"type": "image/x-icon"
|
|
9
|
-
},
|
|
10
|
-
{
|
|
11
|
-
"src": "logo192.png",
|
|
12
|
-
"type": "image/png",
|
|
13
|
-
"sizes": "192x192"
|
|
14
|
-
},
|
|
15
|
-
{
|
|
16
|
-
"src": "logo512.png",
|
|
17
|
-
"type": "image/png",
|
|
18
|
-
"sizes": "512x512"
|
|
19
|
-
}
|
|
20
|
-
],
|
|
21
|
-
"start_url": ".",
|
|
22
|
-
"display": "standalone",
|
|
23
|
-
"theme_color": "#000000",
|
|
24
|
-
"background_color": "#ffffff"
|
|
25
|
-
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/public/robots.txt
DELETED
package/readme.MD
DELETED
|
File without changes
|
package/rollup.config copy.mjs
DELETED
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
import babel from "@rollup/plugin-babel";
|
|
2
|
-
import resolve from "@rollup/plugin-node-resolve";
|
|
3
|
-
import peerDepsExternal from "rollup-plugin-peer-deps-external";
|
|
4
|
-
import terser from "@rollup/plugin-terser";
|
|
5
|
-
import postcss from "rollup-plugin-postcss";
|
|
6
|
-
import preserveDirectives from "rollup-plugin-preserve-directives";
|
|
7
|
-
import commonjs from "@rollup/plugin-commonjs";
|
|
8
|
-
import typescript from "@rollup/plugin-typescript";
|
|
9
|
-
|
|
10
|
-
const outputOptions = {
|
|
11
|
-
exports: "named",
|
|
12
|
-
preserveModules: true,
|
|
13
|
-
banner: `/*
|
|
14
|
-
* UMWD-Components
|
|
15
|
-
* @copyright Jelle Paulus
|
|
16
|
-
* @license MIT
|
|
17
|
-
*/
|
|
18
|
-
`,
|
|
19
|
-
};
|
|
20
|
-
|
|
21
|
-
export default [
|
|
22
|
-
{
|
|
23
|
-
input: "./src/index.ts", // Entry point of your library
|
|
24
|
-
output: [
|
|
25
|
-
{
|
|
26
|
-
dir: "dist",
|
|
27
|
-
format: "cjs",
|
|
28
|
-
...outputOptions,
|
|
29
|
-
preserveModules: true,
|
|
30
|
-
plugins: [terser({ compress: { directives: false } })],
|
|
31
|
-
},
|
|
32
|
-
{
|
|
33
|
-
dir: "dist",
|
|
34
|
-
format: "es",
|
|
35
|
-
...outputOptions,
|
|
36
|
-
preserveModules: true,
|
|
37
|
-
plugins: [terser({ compress: { directives: false } })],
|
|
38
|
-
},
|
|
39
|
-
],
|
|
40
|
-
plugins: [
|
|
41
|
-
peerDepsExternal(), // Exclude peer dependencies from bundling // Preferably set as first plugin.
|
|
42
|
-
commonjs({ include: "node_modules/**" }), // Convert CommonJS modules to ES6
|
|
43
|
-
resolve(), // Resolve third-party dependencies
|
|
44
|
-
postcss({
|
|
45
|
-
plugins: [],
|
|
46
|
-
minimize: true,
|
|
47
|
-
}),
|
|
48
|
-
babel({
|
|
49
|
-
presets: [
|
|
50
|
-
"@babel/preset-react",
|
|
51
|
-
"@babel/preset-env",
|
|
52
|
-
"@babel/preset-typescript",
|
|
53
|
-
],
|
|
54
|
-
extensions: [
|
|
55
|
-
".js",
|
|
56
|
-
".jsx",
|
|
57
|
-
".es6",
|
|
58
|
-
".es",
|
|
59
|
-
".mjs",
|
|
60
|
-
".cjs",
|
|
61
|
-
".ts",
|
|
62
|
-
".tsx",
|
|
63
|
-
],
|
|
64
|
-
}),
|
|
65
|
-
typescript({
|
|
66
|
-
tsconfig: "./tsconfig.build.json",
|
|
67
|
-
}),
|
|
68
|
-
preserveDirectives(),
|
|
69
|
-
],
|
|
70
|
-
onwarn: (warning, warn) => {
|
|
71
|
-
// Suppress specific warnings
|
|
72
|
-
console.log(warning);
|
|
73
|
-
/* if (warning.code === "THIS_IS_UNDEFINED") {
|
|
74
|
-
return;
|
|
75
|
-
} */
|
|
76
|
-
// Use default for everything else
|
|
77
|
-
warn(warning);
|
|
78
|
-
},
|
|
79
|
-
},
|
|
80
|
-
];
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { SessionProvider } from "@/context/auth/SessionContext";
|
|
2
|
-
import { CartProvider } from "@/context/e-commerce/cart/CartContext";
|
|
3
|
-
import { Container } from "@mui/material";
|
|
4
|
-
|
|
5
|
-
export default async function RootLayout({
|
|
6
|
-
children,
|
|
7
|
-
}: {
|
|
8
|
-
readonly children: React.ReactNode;
|
|
9
|
-
}) {
|
|
10
|
-
try {
|
|
11
|
-
return (
|
|
12
|
-
<html lang="en">
|
|
13
|
-
<body>
|
|
14
|
-
<SessionProvider>
|
|
15
|
-
<CartProvider>
|
|
16
|
-
<Container maxWidth="lg" sx={{ minHeight: "90vh", py: 1 }}>
|
|
17
|
-
{children}
|
|
18
|
-
</Container>
|
|
19
|
-
</CartProvider>
|
|
20
|
-
</SessionProvider>
|
|
21
|
-
</body>
|
|
22
|
-
</html>
|
|
23
|
-
);
|
|
24
|
-
} catch (error) {
|
|
25
|
-
console.error("Error fetching site data or navigation:", error);
|
|
26
|
-
return <div>Error loading site data</div>;
|
|
27
|
-
}
|
|
28
|
-
}
|
package/src/app/layout.tsx
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
export const metadata = {
|
|
2
|
-
title: 'Next.js',
|
|
3
|
-
description: 'Generated by Next.js',
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
export default function RootLayout({
|
|
7
|
-
children,
|
|
8
|
-
}: {
|
|
9
|
-
children: React.ReactNode
|
|
10
|
-
}) {
|
|
11
|
-
return (
|
|
12
|
-
<html lang="en">
|
|
13
|
-
<body>{children}</body>
|
|
14
|
-
</html>
|
|
15
|
-
)
|
|
16
|
-
}
|
package/src/app/page.tsx
DELETED
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
// bs must remove
|
|
2
|
-
|
|
3
|
-
import { getAllPages } from "../data/loaders/loaders";
|
|
4
|
-
import { getAllInvoices } from "../data/loaders/e-commerce/getAllInvoices";
|
|
5
|
-
import { InvoiceDownloadLink } from "@/components/e-commerce/invoice/InvoicePDF";
|
|
6
|
-
import { InvoicePDFViewer } from "@/components/e-commerce/invoice/InvoicePDF";
|
|
7
|
-
|
|
8
|
-
async function Home() {
|
|
9
|
-
// const pages = await getAllPages();
|
|
10
|
-
|
|
11
|
-
const invoices = await getAllInvoices(0, 10, "asc", "id");
|
|
12
|
-
|
|
13
|
-
const testInvoice = invoices.data[0];
|
|
14
|
-
|
|
15
|
-
return (
|
|
16
|
-
<main>
|
|
17
|
-
<p>HomePage</p>
|
|
18
|
-
<InvoicePDFViewer invoice={testInvoice} />
|
|
19
|
-
<InvoiceDownloadLink invoice={testInvoice} />
|
|
20
|
-
</main>
|
|
21
|
-
);
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
export default async function NOTHome() {
|
|
25
|
-
// const pages = await getAllPages();
|
|
26
|
-
|
|
27
|
-
const invoices = await getAllInvoices(0, 10, "asc", "id");
|
|
28
|
-
|
|
29
|
-
const testInvoice = invoices.data[0];
|
|
30
|
-
|
|
31
|
-
return (
|
|
32
|
-
<main>
|
|
33
|
-
<p>HomePage</p>
|
|
34
|
-
<InvoicePDFViewer invoice={testInvoice} />
|
|
35
|
-
<InvoiceDownloadLink invoice={testInvoice} />
|
|
36
|
-
</main>
|
|
37
|
-
);
|
|
38
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { ContactForm } from "../components/ContactForm";
|
|
2
|
-
import React from "react";
|
|
3
|
-
|
|
4
|
-
export default {
|
|
5
|
-
title: "UMWD/ContactForm",
|
|
6
|
-
component: ContactForm,
|
|
7
|
-
};
|
|
8
|
-
|
|
9
|
-
const Template = ({ ...args }) => <ContactForm data={{ ...args }} />;
|
|
10
|
-
|
|
11
|
-
export const HelloWorld = Template.bind({});
|
|
12
|
-
|
|
13
|
-
HelloWorld.args = { maxWidth: "md" };
|
|
@@ -1,86 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { FeatureSection } from "../components/custom/FeaturesSection";
|
|
3
|
-
|
|
4
|
-
export default {
|
|
5
|
-
title: "UMWD/FeatureSection",
|
|
6
|
-
component: FeatureSection,
|
|
7
|
-
};
|
|
8
|
-
|
|
9
|
-
const Template = ({ ...args }) => {
|
|
10
|
-
return <FeatureSection {...args} />;
|
|
11
|
-
};
|
|
12
|
-
|
|
13
|
-
export const Orefs = Template.bind({});
|
|
14
|
-
|
|
15
|
-
Orefs.args = {
|
|
16
|
-
data: {
|
|
17
|
-
id: 1,
|
|
18
|
-
__component: "custom.features-section",
|
|
19
|
-
title: "Orefs",
|
|
20
|
-
description: "A place for all your resources",
|
|
21
|
-
feature: [
|
|
22
|
-
{
|
|
23
|
-
id: 1,
|
|
24
|
-
heading: "Resources",
|
|
25
|
-
subHeading: "A place for all your resources",
|
|
26
|
-
icon: "https://via.placeholder.com/100",
|
|
27
|
-
},
|
|
28
|
-
{
|
|
29
|
-
id: 2,
|
|
30
|
-
heading: "Contact",
|
|
31
|
-
subHeading: "A place for all your resources",
|
|
32
|
-
icon: "https://via.placeholder.com/100",
|
|
33
|
-
},
|
|
34
|
-
],
|
|
35
|
-
},
|
|
36
|
-
};
|
|
37
|
-
|
|
38
|
-
export const AMH = Template.bind({});
|
|
39
|
-
|
|
40
|
-
AMH.args = {
|
|
41
|
-
data: {
|
|
42
|
-
id: 2,
|
|
43
|
-
__component: "custom.features-section",
|
|
44
|
-
title: "AMH",
|
|
45
|
-
description: "A place for all your resources",
|
|
46
|
-
feature: [
|
|
47
|
-
{
|
|
48
|
-
id: 1,
|
|
49
|
-
heading: "Resources",
|
|
50
|
-
subHeading: "A place for all your resources",
|
|
51
|
-
icon: "https://via.placeholder.com/100",
|
|
52
|
-
},
|
|
53
|
-
{
|
|
54
|
-
id: 2,
|
|
55
|
-
heading: "Contact",
|
|
56
|
-
subHeading: "A place for all your resources",
|
|
57
|
-
icon: "https://via.placeholder.com/100",
|
|
58
|
-
},
|
|
59
|
-
],
|
|
60
|
-
},
|
|
61
|
-
};
|
|
62
|
-
|
|
63
|
-
export const UMWD = Template.bind({});
|
|
64
|
-
|
|
65
|
-
UMWD.args = {
|
|
66
|
-
data: {
|
|
67
|
-
id: 3,
|
|
68
|
-
__component: "custom.features-section",
|
|
69
|
-
title: "UMWD",
|
|
70
|
-
description: "A place for all your resources",
|
|
71
|
-
feature: [
|
|
72
|
-
{
|
|
73
|
-
id: 1,
|
|
74
|
-
heading: "Resources",
|
|
75
|
-
subHeading: "A place for all your resources",
|
|
76
|
-
icon: "https://via.placeholder.com/100",
|
|
77
|
-
},
|
|
78
|
-
{
|
|
79
|
-
id: 2,
|
|
80
|
-
heading: "Contact",
|
|
81
|
-
subHeading: "A place for all your resources",
|
|
82
|
-
icon: "https://via.placeholder.com/100",
|
|
83
|
-
},
|
|
84
|
-
],
|
|
85
|
-
},
|
|
86
|
-
};
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import FluidBackground from "../components/FluidBackgroundV2";
|
|
2
|
-
import React from "react";
|
|
3
|
-
|
|
4
|
-
export default {
|
|
5
|
-
title: "UMWD/FluidBackground",
|
|
6
|
-
component: FluidBackground,
|
|
7
|
-
};
|
|
8
|
-
|
|
9
|
-
const Template = ({ ...args }) => {
|
|
10
|
-
return (
|
|
11
|
-
<>
|
|
12
|
-
<FluidBackground {...args} />
|
|
13
|
-
</>
|
|
14
|
-
);
|
|
15
|
-
};
|
|
16
|
-
|
|
17
|
-
/* export const Orefs = Template.bind({});
|
|
18
|
-
|
|
19
|
-
Orefs.args = {};
|
|
20
|
-
|
|
21
|
-
export const UMWD = Template.bind({});
|
|
22
|
-
|
|
23
|
-
UMWD.args = {}; */
|
|
24
|
-
|
|
25
|
-
export const AMH = Template.bind({});
|
|
26
|
-
|
|
27
|
-
AMH.args = {
|
|
28
|
-
data: {},
|
|
29
|
-
};
|
|
@@ -1,130 +0,0 @@
|
|
|
1
|
-
import Footer from "../components/FooterV2";
|
|
2
|
-
import React from "react";
|
|
3
|
-
import thumbnail from "../../public/placeholders/thumbnail_100X100.png";
|
|
4
|
-
import logo from "../../public/logo.png";
|
|
5
|
-
import InstagramIcon from "@mui/icons-material/Instagram";
|
|
6
|
-
import LinkedInIcon from "@mui/icons-material/LinkedIn";
|
|
7
|
-
import PublicIcon from "@mui/icons-material/Public";
|
|
8
|
-
import TwitterIcon from "@mui/icons-material/Twitter";
|
|
9
|
-
import FacebookIcon from "@mui/icons-material/Facebook";
|
|
10
|
-
|
|
11
|
-
export default {
|
|
12
|
-
title: "UMWD/Footer",
|
|
13
|
-
component: Footer,
|
|
14
|
-
};
|
|
15
|
-
|
|
16
|
-
const Template = ({ ...args }) => {
|
|
17
|
-
return <Footer {...args} />;
|
|
18
|
-
};
|
|
19
|
-
|
|
20
|
-
export const Orefs = Template.bind({});
|
|
21
|
-
|
|
22
|
-
/* Orefs.args = {
|
|
23
|
-
site_title: "Orefs",
|
|
24
|
-
site_logo: thumbnail.src,
|
|
25
|
-
company_name: "Orefs",
|
|
26
|
-
parent_company_name: "Orefs",
|
|
27
|
-
address: {
|
|
28
|
-
street: "Molenkade",
|
|
29
|
-
street_number: "8",
|
|
30
|
-
street_number_addition: "A",
|
|
31
|
-
postal_code: "1115AB",
|
|
32
|
-
city: "Duivendrecht",
|
|
33
|
-
},
|
|
34
|
-
CoC_number: "12345678",
|
|
35
|
-
VAT_number: "NL123456789B01",
|
|
36
|
-
socials: [
|
|
37
|
-
{
|
|
38
|
-
name: "Facebook",
|
|
39
|
-
url: "https://www.facebook.com/",
|
|
40
|
-
icon: "FacebookIcon",
|
|
41
|
-
},
|
|
42
|
-
],
|
|
43
|
-
//disclaimer_link: PropTypes.string,
|
|
44
|
-
//privacypolicy_link: PropTypes.string,
|
|
45
|
-
}; */
|
|
46
|
-
|
|
47
|
-
Orefs.args = {
|
|
48
|
-
data: {
|
|
49
|
-
site_title: "Orefs",
|
|
50
|
-
/* logo: {
|
|
51
|
-
url: thumbnail.src,
|
|
52
|
-
width: thumbnail.width,
|
|
53
|
-
height: thumbnail.height,
|
|
54
|
-
alt: "Logo",
|
|
55
|
-
}, */
|
|
56
|
-
company_name: "Orefs",
|
|
57
|
-
parent_company_name: "Orefs",
|
|
58
|
-
address: {
|
|
59
|
-
street: "Molenkade",
|
|
60
|
-
street_number: "8",
|
|
61
|
-
street_number_addition: "A",
|
|
62
|
-
postal_code: "1115AB",
|
|
63
|
-
city: "Duivendrecht",
|
|
64
|
-
},
|
|
65
|
-
CoC_number: "12345678",
|
|
66
|
-
VAT_number: "NL123456789B01",
|
|
67
|
-
socials: [
|
|
68
|
-
{
|
|
69
|
-
name: "Facebook",
|
|
70
|
-
url: "https://www.facebook.com/",
|
|
71
|
-
icon: "FaceBookIcon",
|
|
72
|
-
},
|
|
73
|
-
{
|
|
74
|
-
name: "Instagram",
|
|
75
|
-
url: "https://www.instagram.com/",
|
|
76
|
-
icon: "InstagramIcon",
|
|
77
|
-
},
|
|
78
|
-
{
|
|
79
|
-
name: "LinkedIn",
|
|
80
|
-
url: "https://www.linkedin.com/",
|
|
81
|
-
icon: "LinkedInIcon",
|
|
82
|
-
},
|
|
83
|
-
],
|
|
84
|
-
},
|
|
85
|
-
};
|
|
86
|
-
|
|
87
|
-
export const AMH = Template.bind({});
|
|
88
|
-
|
|
89
|
-
AMH.args = {
|
|
90
|
-
data: {
|
|
91
|
-
site_title: "AeroMedical Holland",
|
|
92
|
-
logo: {
|
|
93
|
-
url: logo.src,
|
|
94
|
-
width: logo.width / 3,
|
|
95
|
-
height: logo.height / 3,
|
|
96
|
-
alt: "Logo",
|
|
97
|
-
},
|
|
98
|
-
company_name: "AeroMedical Holland",
|
|
99
|
-
address: {
|
|
100
|
-
street: "Straatnaam",
|
|
101
|
-
street_number: "33",
|
|
102
|
-
street_number_addition: "A",
|
|
103
|
-
postal_code: "3333BS",
|
|
104
|
-
city: "Plaatsnaam",
|
|
105
|
-
},
|
|
106
|
-
CoC_number: "12345678",
|
|
107
|
-
VAT_number: "NL123456789B01",
|
|
108
|
-
socials: [
|
|
109
|
-
{
|
|
110
|
-
name: "Facebook",
|
|
111
|
-
url: "https://www.facebook.com/",
|
|
112
|
-
icon: "FaceBookIcon",
|
|
113
|
-
},
|
|
114
|
-
{
|
|
115
|
-
name: "Instagram",
|
|
116
|
-
url: "https://www.instagram.com/",
|
|
117
|
-
icon: "InstagramIcon",
|
|
118
|
-
},
|
|
119
|
-
{
|
|
120
|
-
name: "LinkedIn",
|
|
121
|
-
url: "https://www.linkedin.com/",
|
|
122
|
-
icon: "LinkedInIcon",
|
|
123
|
-
},
|
|
124
|
-
],
|
|
125
|
-
disclaimer_link: "#",
|
|
126
|
-
privacypolicy_link: "#",
|
|
127
|
-
|
|
128
|
-
useIcons: true,
|
|
129
|
-
},
|
|
130
|
-
};
|
|
@@ -1,101 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { HeroSection } from "../components/HeroSection";
|
|
3
|
-
|
|
4
|
-
export default {
|
|
5
|
-
title: "UMWD/HeroSection",
|
|
6
|
-
component: HeroSection,
|
|
7
|
-
};
|
|
8
|
-
|
|
9
|
-
const Template = ({ ...args }) => {
|
|
10
|
-
return <HeroSection {...args} />;
|
|
11
|
-
};
|
|
12
|
-
|
|
13
|
-
export const Orefs = Template.bind({});
|
|
14
|
-
|
|
15
|
-
Orefs.args = {
|
|
16
|
-
data: {
|
|
17
|
-
id: 1,
|
|
18
|
-
__component: "layout.hero-section",
|
|
19
|
-
heading: "Orefs",
|
|
20
|
-
subHeading: "A place for all your resources",
|
|
21
|
-
image: {
|
|
22
|
-
id: 1,
|
|
23
|
-
url: "https://via.placeholder.com/100",
|
|
24
|
-
alternativeText: "Orefs",
|
|
25
|
-
},
|
|
26
|
-
link: {
|
|
27
|
-
id: 1,
|
|
28
|
-
url: "/resources",
|
|
29
|
-
text: "Resources",
|
|
30
|
-
},
|
|
31
|
-
},
|
|
32
|
-
};
|
|
33
|
-
|
|
34
|
-
export const AMH = Template.bind({});
|
|
35
|
-
|
|
36
|
-
/* AMH.args = {
|
|
37
|
-
data: {
|
|
38
|
-
id: 2,
|
|
39
|
-
__component: "custom.hero-section",
|
|
40
|
-
heading: "AMH",
|
|
41
|
-
subHeading: "A place for all your resources",
|
|
42
|
-
image: {
|
|
43
|
-
id: 2,
|
|
44
|
-
url: "https://via.placeholder.com/100",
|
|
45
|
-
alternativeText: "AMH",
|
|
46
|
-
},
|
|
47
|
-
link: {
|
|
48
|
-
id: 2,
|
|
49
|
-
url: "/resources",
|
|
50
|
-
text: "Resources",
|
|
51
|
-
},
|
|
52
|
-
},
|
|
53
|
-
}; */
|
|
54
|
-
|
|
55
|
-
AMH.args = {
|
|
56
|
-
data: {
|
|
57
|
-
id: 1,
|
|
58
|
-
__component: "layout.hero-section",
|
|
59
|
-
heading: "We offer world-wide, 24 / 7 patient transport by air ambulance. ",
|
|
60
|
-
subHeading:
|
|
61
|
-
"Our aircrafts are equipped with state of the art medical equipment and staffed with highly qualified flying crews and medical teams. We will bring the patient back home, reliable and safely for affordable pricing.",
|
|
62
|
-
bgImage: {
|
|
63
|
-
id: 2,
|
|
64
|
-
name: "dm_masked@2x.png",
|
|
65
|
-
alternativeText: null,
|
|
66
|
-
width: 3841,
|
|
67
|
-
height: 2161,
|
|
68
|
-
url: "/uploads/dm_masked_2x_3eabdcd56c.png",
|
|
69
|
-
},
|
|
70
|
-
logoImage: {
|
|
71
|
-
id: 9,
|
|
72
|
-
name: "Asset 2.png",
|
|
73
|
-
alternativeText: null,
|
|
74
|
-
width: 1000,
|
|
75
|
-
height: 311,
|
|
76
|
-
url: "/uploads/Asset_2_c4a9c4a5d1.png",
|
|
77
|
-
},
|
|
78
|
-
link: { id: 1, url: "/contact", text: "Contact us", isExternal: false },
|
|
79
|
-
},
|
|
80
|
-
};
|
|
81
|
-
|
|
82
|
-
export const UMWD = Template.bind({});
|
|
83
|
-
|
|
84
|
-
UMWD.args = {
|
|
85
|
-
data: {
|
|
86
|
-
id: 3,
|
|
87
|
-
__component: "layout.hero-section",
|
|
88
|
-
heading: "UMWD",
|
|
89
|
-
subHeading: "A place for all your resources",
|
|
90
|
-
image: {
|
|
91
|
-
id: 3,
|
|
92
|
-
url: "https://via.placeholder.com/100",
|
|
93
|
-
alternativeText: "UMWD",
|
|
94
|
-
},
|
|
95
|
-
link: {
|
|
96
|
-
id: 3,
|
|
97
|
-
url: "/resources",
|
|
98
|
-
text: "Resources",
|
|
99
|
-
},
|
|
100
|
-
},
|
|
101
|
-
};
|