umwd-components 0.1.714 → 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.
Files changed (379) hide show
  1. package/README.md +273 -0
  2. package/dist/_virtual/_commonjsHelpers.js +1 -1
  3. package/dist/_virtual/_rollupPluginBabelHelpers.js +1 -1
  4. package/dist/node_modules/@mollie/api-client/dist/mollie.esm.js +1 -1
  5. package/dist/node_modules/axios/index.js +6 -0
  6. package/dist/node_modules/axios/lib/adapters/adapters.js +1 -1
  7. package/dist/node_modules/axios/lib/adapters/fetch.js +1 -1
  8. package/dist/node_modules/axios/lib/adapters/xhr.js +1 -1
  9. package/dist/node_modules/axios/lib/cancel/CancelToken.js +1 -1
  10. package/dist/node_modules/axios/lib/core/Axios.js +1 -1
  11. package/dist/node_modules/axios/lib/core/AxiosError.js +1 -1
  12. package/dist/node_modules/axios/lib/core/AxiosHeaders.js +1 -1
  13. package/dist/node_modules/axios/lib/core/InterceptorManager.js +1 -1
  14. package/dist/node_modules/axios/lib/core/dispatchRequest.js +1 -1
  15. package/dist/node_modules/axios/lib/core/mergeConfig.js +1 -1
  16. package/dist/node_modules/axios/lib/core/transformData.js +1 -1
  17. package/dist/node_modules/axios/lib/defaults/index.js +1 -1
  18. package/dist/node_modules/axios/lib/helpers/AxiosURLSearchParams.js +1 -1
  19. package/dist/node_modules/axios/lib/helpers/HttpStatusCode.js +1 -1
  20. package/dist/node_modules/axios/lib/helpers/composeSignals.js +1 -1
  21. package/dist/node_modules/axios/lib/helpers/formDataToJSON.js +1 -1
  22. package/dist/node_modules/axios/lib/helpers/parseHeaders.js +1 -1
  23. package/dist/node_modules/axios/lib/helpers/progressEventReducer.js +1 -1
  24. package/dist/node_modules/axios/lib/helpers/resolveConfig.js +1 -1
  25. package/dist/node_modules/axios/lib/helpers/throttle.js +1 -1
  26. package/dist/node_modules/axios/lib/helpers/toFormData.js +1 -1
  27. package/dist/node_modules/axios/lib/helpers/trackStream.js +1 -1
  28. package/dist/node_modules/axios/lib/helpers/validator.js +1 -1
  29. package/dist/node_modules/axios/lib/platform/index.js +1 -1
  30. package/dist/node_modules/axios/lib/utils.js +1 -1
  31. package/dist/node_modules/call-bind-apply-helpers/actualApply.js +6 -0
  32. package/dist/node_modules/call-bind-apply-helpers/functionApply.js +6 -0
  33. package/dist/node_modules/call-bind-apply-helpers/functionCall.js +6 -0
  34. package/dist/node_modules/call-bind-apply-helpers/index.js +6 -0
  35. package/dist/node_modules/call-bind-apply-helpers/reflectApply.js +6 -0
  36. package/dist/node_modules/call-bound/index.js +6 -0
  37. package/dist/node_modules/dayjs/dayjs.min.js +1 -1
  38. package/dist/node_modules/dunder-proto/get.js +6 -0
  39. package/dist/node_modules/es-define-property/index.js +1 -1
  40. package/dist/{_virtual/index7.js → node_modules/es-object-atoms/index.js} +1 -1
  41. package/dist/node_modules/function-bind/implementation.js +1 -1
  42. package/dist/node_modules/function-bind/index.js +1 -1
  43. package/dist/node_modules/get-intrinsic/index.js +1 -1
  44. package/dist/node_modules/get-proto/Object.getPrototypeOf.js +6 -0
  45. package/dist/node_modules/get-proto/Reflect.getPrototypeOf.js +6 -0
  46. package/dist/node_modules/get-proto/index.js +6 -0
  47. package/dist/{_virtual/index5.js → node_modules/gopd/gOPD.js} +1 -1
  48. package/dist/node_modules/gopd/index.js +1 -1
  49. package/dist/node_modules/has-symbols/index.js +1 -1
  50. package/dist/node_modules/has-symbols/shams.js +1 -1
  51. package/dist/node_modules/hasown/index.js +1 -1
  52. package/dist/{_virtual/index8.js → node_modules/math-intrinsics/abs.js} +1 -1
  53. package/dist/{_virtual/types.js → node_modules/math-intrinsics/floor.js} +1 -1
  54. package/dist/node_modules/math-intrinsics/isNaN.js +6 -0
  55. package/dist/{_virtual/index6.js → node_modules/math-intrinsics/max.js} +1 -1
  56. package/dist/node_modules/math-intrinsics/min.js +6 -0
  57. package/dist/node_modules/math-intrinsics/pow.js +6 -0
  58. package/dist/node_modules/math-intrinsics/round.js +6 -0
  59. package/dist/node_modules/math-intrinsics/sign.js +6 -0
  60. package/dist/node_modules/object-assign/index.js +1 -1
  61. package/dist/node_modules/object-inspect/index.js +1 -1
  62. package/dist/node_modules/prop-types/factoryWithTypeCheckers.js +1 -1
  63. package/dist/node_modules/prop-types/index.js +1 -1
  64. package/dist/node_modules/prop-types/node_modules/react-is/index.js +1 -1
  65. package/dist/node_modules/qs/lib/index.js +1 -1
  66. package/dist/node_modules/qs/lib/parse.js +1 -1
  67. package/dist/node_modules/qs/lib/stringify.js +1 -1
  68. package/dist/node_modules/qs/lib/utils.js +1 -1
  69. package/dist/node_modules/react-csv/lib/components/Download.js +1 -1
  70. package/dist/node_modules/react-csv/lib/components/Link.js +1 -1
  71. package/dist/node_modules/react-csv/lib/core.js +1 -1
  72. package/dist/node_modules/safe-buffer/index.js +2 -2
  73. package/dist/node_modules/sax/lib/sax.js +1 -1
  74. package/dist/node_modules/side-channel/index.js +1 -1
  75. package/dist/node_modules/side-channel-list/index.js +6 -0
  76. package/dist/node_modules/side-channel-map/index.js +6 -0
  77. package/dist/node_modules/side-channel-weakmap/index.js +6 -0
  78. package/dist/node_modules/string_decoder/lib/string_decoder.js +1 -1
  79. package/dist/node_modules/tslib/tslib.es6.js +1 -1
  80. package/dist/node_modules/xml-js/lib/js2xml.js +1 -1
  81. package/dist/node_modules/xml-js/lib/xml2json.js +1 -1
  82. package/dist/src/components/ContactForm.js +1 -1
  83. package/dist/src/components/FluidBackground.js +1 -1
  84. package/dist/src/components/LogoutButton.js +1 -1
  85. package/dist/src/components/WebsitePlaceholder.js +1 -1
  86. package/dist/src/components/ZodErrors.js +1 -1
  87. package/dist/src/components/auth/AuthWidget.js +1 -1
  88. package/dist/src/components/common/Address.js +1 -1
  89. package/dist/src/components/common/AmountUpdater.js +1 -1
  90. package/dist/src/components/common/EnhancedTable/EnhancedTable.js +1 -1
  91. package/dist/src/components/common/EnhancedTable/EnhancedTableFilterRow.js +1 -1
  92. package/dist/src/components/common/EnhancedTable/EnhancedTableHead.js +1 -1
  93. package/dist/src/components/common/EnhancedTable/EnhancedTableRow.js +1 -1
  94. package/dist/src/components/common/EnhancedTable/EnhancedTableToolbar.js +1 -1
  95. package/dist/src/components/common/NumberInput.js +1 -1
  96. package/dist/src/components/common/WeekPicker.js +1 -1
  97. package/dist/src/components/common/cookie-consent/CookieConsentContext.js +1 -1
  98. package/dist/src/components/common/csv/CsvDownloader.js +1 -1
  99. package/dist/src/components/common/media/MediaGrid.js +1 -1
  100. package/dist/src/components/common/media/MediaLibraryDialog.js +1 -1
  101. package/dist/src/components/common/media/UploadBase64MediaForm.js +1 -1
  102. package/dist/src/components/common/media/UploadMediaForm.js +1 -1
  103. package/dist/src/components/common/snackbar/GlobalSnackbar.js +1 -1
  104. package/dist/src/components/e-commerce/cart/CartSummary.js +1 -1
  105. package/dist/src/components/e-commerce/cart/hooks.js +1 -1
  106. package/dist/src/components/e-commerce/categories/AddCategoryForm.js +1 -1
  107. package/dist/src/components/e-commerce/categories/CategorySelectorV2.js +1 -1
  108. package/dist/src/components/e-commerce/categories/EditCategoryForm.js +1 -1
  109. package/dist/src/components/e-commerce/checkout/CheckoutForm.js +1 -1
  110. package/dist/src/components/e-commerce/checkout/Step2.js +1 -1
  111. package/dist/src/components/e-commerce/checkout/Step4.js +1 -1
  112. package/dist/src/components/e-commerce/checkout/Step5.js +1 -1
  113. package/dist/src/components/e-commerce/customer/BusinessCredentials.js +1 -1
  114. package/dist/src/components/e-commerce/customer/CustomerCompletenessWarning.js +1 -1
  115. package/dist/src/components/e-commerce/customer/CustomerProfileDisplay.js +1 -1
  116. package/dist/src/components/e-commerce/customer/CustomerProfileEditForm.js +1 -1
  117. package/dist/src/components/e-commerce/customer/CustomerSelector.js +1 -1
  118. package/dist/src/components/e-commerce/enduser/EnduserProfileEditForm.js +1 -1
  119. package/dist/src/components/e-commerce/invoice/CreateInvoiceForm.js +1 -1
  120. package/dist/src/components/e-commerce/invoice/InvoiceItemFields.js +1 -1
  121. package/dist/src/components/e-commerce/invoice/InvoicePDF.js +1 -1
  122. package/dist/src/components/e-commerce/iro/CreateIROForm.js +1 -1
  123. package/dist/src/components/e-commerce/iro/IROItemFields.js +1 -1
  124. package/dist/src/components/e-commerce/iro/IroItemDisplay.js +1 -1
  125. package/dist/src/components/e-commerce/iro/IroItemUpdater.js +1 -1
  126. package/dist/src/components/e-commerce/iro/IroStatusIndicator.js +1 -1
  127. package/dist/src/components/e-commerce/iro/ManageIROForm.js +1 -1
  128. package/dist/src/components/e-commerce/iro/RmaForm.js +1 -1
  129. package/dist/src/components/e-commerce/iro/TextualIROItemUpdater.js +1 -1
  130. package/dist/src/components/e-commerce/iro/TextualManageIROForm.js +1 -1
  131. package/dist/src/components/e-commerce/opo/CreateOpoForm.js +1 -1
  132. package/dist/src/components/e-commerce/opo/ManageOpoForm.js +1 -1
  133. package/dist/src/components/e-commerce/opo/OPOItemFields.js +1 -1
  134. package/dist/src/components/e-commerce/opo/OpoItemDisplay.js +1 -1
  135. package/dist/src/components/e-commerce/opo/OpoItemUpdater.js +1 -1
  136. package/dist/src/components/e-commerce/opo/OpoStatusIndicator.js +1 -1
  137. package/dist/src/components/e-commerce/opo/OpoSummary.js +1 -1
  138. package/dist/src/components/e-commerce/opo/PaymentStatusIndicator.js +1 -1
  139. package/dist/src/components/e-commerce/opo/TextualManageOpoForm.js +1 -1
  140. package/dist/src/components/e-commerce/opo/TextualOpoItemUpdater.js +1 -1
  141. package/dist/src/components/e-commerce/products/AddProductForm.js +1 -1
  142. package/dist/src/components/e-commerce/products/EditProductForm.js +1 -1
  143. package/dist/src/components/e-commerce/products/EditStockForm.js +1 -1
  144. package/dist/src/components/e-commerce/products/PriceFields.js +1 -1
  145. package/dist/src/components/e-commerce/products/ProductCategoryCard.js +1 -1
  146. package/dist/src/components/e-commerce/products/ProductSelector.js +1 -1
  147. package/dist/src/components/e-commerce/products/SingleProduct.js +1 -1
  148. package/dist/src/components/layout/Footer.js +1 -1
  149. package/dist/src/components/layout/Navbar.js +1 -1
  150. package/dist/src/components/layout/NavbarV2.js +1 -1
  151. package/dist/src/components/layout/SideNav.js +1 -1
  152. package/dist/src/components/logistics/dispatcher/DispatcherProfileEditForm.js +1 -1
  153. package/dist/src/components/logistics/ipo/AddIPOForm.js +1 -1
  154. package/dist/src/components/logistics/ipo/IPOItemFields.js +1 -1
  155. package/dist/src/components/logistics/ipo/IPOItemUpdater.js +1 -1
  156. package/dist/src/components/logistics/ipo/IpoStatusIndicator.js +1 -1
  157. package/dist/src/components/logistics/ipo/ManageIPOForm.js +1 -1
  158. package/dist/src/components/logistics/ipo/TextualIPOItemUpdater.js +1 -1
  159. package/dist/src/components/logistics/ipo/TextualManageIPOForm.js +1 -1
  160. package/dist/src/components/logistics/note/NoteTakingComponent.js +1 -1
  161. package/dist/src/components/logistics/note/NotesDisplay.js +1 -1
  162. package/dist/src/components/logistics/report/PreReportsDisplay.js +1 -1
  163. package/dist/src/components/logistics/report/ReportMakingComponent.js +1 -1
  164. package/dist/src/components/logistics/report/ReportsDisplay.js +1 -1
  165. package/dist/src/components/logistics/vendor/AddVendorForm.js +1 -1
  166. package/dist/src/components/logistics/vendor/EditVendorForm.js +1 -1
  167. package/dist/src/components/logistics/vendor/VendorDisplay.js +1 -1
  168. package/dist/src/components/logistics/vendor/VendorSelector.js +1 -1
  169. package/dist/src/components/page-builder/ColumnsSection.js +1 -1
  170. package/dist/src/components/page-builder/FleetSection.js +1 -1
  171. package/dist/src/components/page-builder/IconSection.js +1 -1
  172. package/dist/src/components/page-builder/LogoBarSection.js +1 -1
  173. package/dist/src/components/page-builder/PBFeaturesSection.js +1 -1
  174. package/dist/src/components/page-builder/PBPersonaliaSection.js +1 -1
  175. package/dist/src/components/page-builder/PBTextImageSection.js +1 -1
  176. package/dist/src/components/page-builder/PictureBarSection.js +1 -1
  177. package/dist/src/components/page-elements/CategoryBlock.js +1 -1
  178. package/dist/src/components/page-elements/ColumnsSection.js +1 -1
  179. package/dist/src/components/page-elements/FeaturesSection.js +1 -1
  180. package/dist/src/components/page-elements/FleetSection.js +1 -1
  181. package/dist/src/components/page-elements/IconSection.js +1 -1
  182. package/dist/src/components/page-elements/LogoBarSection.js +1 -1
  183. package/dist/src/components/page-elements/PersonaliaSection.js +1 -1
  184. package/dist/src/components/page-elements/PictureBarSection.js +1 -1
  185. package/dist/src/components/page-elements/TextImageSection.js +1 -1
  186. package/dist/src/components/public-information/PublicInformationForm.js +1 -1
  187. package/dist/src/context/auth/SessionContext.js +1 -1
  188. package/dist/src/context/common/SnackbarContext.js +1 -1
  189. package/dist/src/context/e-commerce/cart/CartContext.js +1 -1
  190. package/dist/src/context/e-commerce/checkout/CheckoutContext.js +1 -1
  191. package/dist/src/data/actions/auth-actions.js +1 -1
  192. package/dist/src/data/actions/e-commerce/categories/createCategoryAction.js +1 -1
  193. package/dist/src/data/actions/e-commerce/categories/updateCategoryAction.js +1 -1
  194. package/dist/src/data/actions/e-commerce/checkout-action.js +1 -1
  195. package/dist/src/data/actions/e-commerce/enduser/profile-actions.js +1 -1
  196. package/dist/src/data/actions/e-commerce/invoices/createInvoiceAction.js +1 -1
  197. package/dist/src/data/actions/e-commerce/iro/createIroAction.js +1 -1
  198. package/dist/src/data/actions/e-commerce/iro/requestRmaAction.js +1 -1
  199. package/dist/src/data/actions/e-commerce/iro/updateIroAction.js +1 -1
  200. package/dist/src/data/actions/e-commerce/opo/createOpoAction.js +1 -1
  201. package/dist/src/data/actions/e-commerce/opo/updateOpoAction.js +1 -1
  202. package/dist/src/data/actions/e-commerce/product/createProductAction.js +1 -1
  203. package/dist/src/data/actions/e-commerce/product/updateProductAction.js +1 -1
  204. package/dist/src/data/actions/logistics/dispatcher/profile-actions.js +1 -1
  205. package/dist/src/data/actions/logistics/ipo/createIPOAction.js +1 -1
  206. package/dist/src/data/actions/logistics/ipo/updateIpoAction.js +1 -1
  207. package/dist/src/data/actions/logistics/note/createNoteAction.js +1 -1
  208. package/dist/src/data/actions/logistics/report/createReportAction.js +1 -1
  209. package/dist/src/data/actions/logistics/vendor/createVendorAction.js +1 -1
  210. package/dist/src/data/actions/logistics/vendor/updateVendorAction.js +1 -1
  211. package/dist/src/data/actions/media/updateMediaAction.js +1 -1
  212. package/dist/src/data/actions/media/uploadBase64MediaAction.js +1 -1
  213. package/dist/src/data/actions/media/uploadMediaAction.js +1 -1
  214. package/dist/src/data/actions/pagebuilder-actions.js +1 -1
  215. package/dist/src/data/actions/profile-actions.js +1 -1
  216. package/dist/src/data/actions/public-information/updatePublicInformationAction.js +1 -1
  217. package/dist/src/data/loaders/common/media/downloadBase64File.js +1 -1
  218. package/dist/src/data/loaders/common/media/getAllMedia.js +1 -1
  219. package/dist/src/data/loaders/e-commerce/getAllCategoryNames.js +1 -1
  220. package/dist/src/data/loaders/e-commerce/getAllCustomers.js +1 -1
  221. package/dist/src/data/loaders/e-commerce/getAllInvoices.js +1 -1
  222. package/dist/src/data/loaders/e-commerce/getAllOpos.js +1 -1
  223. package/dist/src/data/loaders/e-commerce/getCustomerLabels.js +1 -1
  224. package/dist/src/data/loaders/e-commerce/getCustomerModel.js +1 -1
  225. package/dist/src/data/loaders/e-commerce/getOpoModel.js +1 -1
  226. package/dist/src/data/loaders/e-commerce/getPaginatedCategories.js +1 -1
  227. package/dist/src/data/loaders/e-commerce/getProductModel.js +1 -1
  228. package/dist/src/data/loaders/e-commerce/getProductNames.js +1 -1
  229. package/dist/src/data/loaders/e-commerce/getShop.js +1 -1
  230. package/dist/src/data/loaders/e-commerce/getSingleCategory.js +1 -1
  231. package/dist/src/data/loaders/e-commerce/getSingleCustomer.js +1 -1
  232. package/dist/src/data/loaders/e-commerce/getSingleOpo.js +1 -1
  233. package/dist/src/data/loaders/e-commerce/getSingleProduct.js +1 -1
  234. package/dist/src/data/loaders/e-commerce/getSingleStock.js +1 -1
  235. package/dist/src/data/loaders/e-commerce/getTableProducts.js +1 -1
  236. package/dist/src/data/loaders/e-commerce/iros/getAllIros.js +1 -1
  237. package/dist/src/data/loaders/e-commerce/iros/getIroModel.js +1 -1
  238. package/dist/src/data/loaders/e-commerce/iros/getSingleIro.js +1 -1
  239. package/dist/src/data/loaders/e-commerce/iros/queryAllIros.js +1 -1
  240. package/dist/src/data/loaders/e-commerce/queryAllCustomers.js +1 -1
  241. package/dist/src/data/loaders/e-commerce/queryAllOpos.js +1 -1
  242. package/dist/src/data/loaders/e-commerce/queryAllProducts.js +1 -1
  243. package/dist/src/data/loaders/e-commerce-loaders.js +1 -1
  244. package/dist/src/data/loaders/loaders.js +1 -1
  245. package/dist/src/data/loaders/logistics/getIpoModel.js +1 -1
  246. package/dist/src/data/loaders/logistics/getIpoNames.js +1 -1
  247. package/dist/src/data/loaders/logistics/getSingleIpo.js +1 -1
  248. package/dist/src/data/loaders/logistics/getSingleVendor.js +1 -1
  249. package/dist/src/data/loaders/logistics/getTableIpos.js +1 -1
  250. package/dist/src/data/loaders/logistics/getTableVendors.js +1 -1
  251. package/dist/src/data/loaders/logistics/getVendorModel.js +1 -1
  252. package/dist/src/data/loaders/logistics/getVendorNames.js +1 -1
  253. package/dist/src/data/loaders/logistics/queryAllIpos.js +1 -1
  254. package/dist/src/data/loaders/logistics/queryAllVendors.js +1 -1
  255. package/dist/src/data/loaders/page-builder/getTablePages.js +1 -1
  256. package/dist/src/data/loaders/page-elements/getSinglePage.js +1 -1
  257. package/dist/src/data/loaders/public-information/getPublicInformation.js +1 -1
  258. package/dist/src/data/loaders/user/getUserMeLoader.js +1 -1
  259. package/dist/src/data/services/archive-service.js +1 -1
  260. package/dist/src/data/services/auth-service.js +1 -1
  261. package/dist/src/data/services/common/cancellation-service.js +1 -1
  262. package/dist/src/data/services/common/confirmation-service.js +1 -1
  263. package/dist/src/data/services/e-commerce/enduser/get-enduser-me-loader.js +1 -1
  264. package/dist/src/data/services/file-service.js +1 -1
  265. package/dist/src/data/services/get-token.js +1 -1
  266. package/dist/src/data/services/get-user-me-loader.js +1 -1
  267. package/dist/src/data/services/logistics/dispatcher/get-dispatcher-me-loader.js +1 -1
  268. package/dist/src/data/services/mutate-data.js +1 -1
  269. package/dist/src/lib/eoriValidate.js +1 -1
  270. package/dist/src/lib/molliePaymentProvider.js +1 -1
  271. package/dist/src/lib/parseNavigation.js +1 -1
  272. package/dist/src/lib/processFilters.js +1 -1
  273. package/dist/src/lib/utils.js +1 -1
  274. package/dist/src/lib/vatValidate.js +1 -1
  275. package/dist/tsconfig.build.tsbuildinfo +1 -1
  276. package/dist/types/components/StrapiErrors.d.ts +2 -2
  277. package/dist/types/components/e-commerce/cart/hooks.d.ts +2 -3
  278. package/dist/types/components/e-commerce/products/AddProductForm.d.ts +3 -3
  279. package/dist/types/lib/getIcon.d.ts +0 -1
  280. package/dist/types/types/StrapiImageProps.d.ts +0 -1
  281. package/dist/types/types/common/Contact.d.ts +0 -1
  282. package/dist/types/types/common/Socials.d.ts +0 -1
  283. package/dist/types/types/common/enhancedTable/types.d.ts +0 -1
  284. package/package.json +14 -25
  285. package/postcss.config.js +5 -6
  286. package/rollup.config.mjs +9 -0
  287. package/src/components/Logo.tsx +20 -9
  288. package/src/components/LogoutButton.tsx +1 -29
  289. package/src/components/StrapiErrors.tsx +5 -1
  290. package/src/components/e-commerce/invoice/InvoicePDF.tsx +54 -48
  291. package/src/components/e-commerce/iro/ManageIROForm.tsx +3 -3
  292. package/src/components/e-commerce/opo/ManageOpoForm.tsx +7 -2
  293. package/src/components/e-commerce/opo/OpoItemUpdater.tsx +16 -6
  294. package/src/index.ts +327 -327
  295. package/src/lib/APIcon.svg +6 -6
  296. package/src/lib/utils.ts +0 -7
  297. package/src/styles/globals.css +2 -3
  298. package/tsconfig.json +24 -34
  299. package/.storybook/main.js +0 -26
  300. package/.storybook/preview.js +0 -50
  301. package/dist/_virtual/inherits_browser.js +0 -6
  302. package/dist/_virtual/punycode.js +0 -6
  303. package/dist/_virtual/url.js +0 -6
  304. package/dist/_virtual/util.js +0 -6
  305. package/dist/node_modules/available-typed-arrays/index.js +0 -6
  306. package/dist/node_modules/base64-js/index.js +0 -6
  307. package/dist/node_modules/buffer/index.js +0 -12
  308. package/dist/node_modules/call-bind/callBound.js +0 -6
  309. package/dist/node_modules/call-bind/index.js +0 -6
  310. package/dist/node_modules/define-data-property/index.js +0 -6
  311. package/dist/node_modules/for-each/index.js +0 -6
  312. package/dist/node_modules/has-property-descriptors/index.js +0 -6
  313. package/dist/node_modules/has-proto/index.js +0 -6
  314. package/dist/node_modules/has-tostringtag/shams.js +0 -6
  315. package/dist/node_modules/ieee754/index.js +0 -7
  316. package/dist/node_modules/inherits/inherits_browser.js +0 -6
  317. package/dist/node_modules/is-arguments/index.js +0 -6
  318. package/dist/node_modules/is-callable/index.js +0 -6
  319. package/dist/node_modules/is-generator-function/index.js +0 -6
  320. package/dist/node_modules/is-typed-array/index.js +0 -6
  321. package/dist/node_modules/set-function-length/index.js +0 -6
  322. package/dist/node_modules/url/node_modules/punycode/punycode.js +0 -7
  323. package/dist/node_modules/url/url.js +0 -6
  324. package/dist/node_modules/util/support/isBufferBrowser.js +0 -6
  325. package/dist/node_modules/util/support/types.js +0 -6
  326. package/dist/node_modules/util/util.js +0 -6
  327. package/dist/node_modules/uuid/dist/esm-browser/native.js +0 -6
  328. package/dist/node_modules/uuid/dist/esm-browser/rng.js +0 -6
  329. package/dist/node_modules/uuid/dist/esm-browser/stringify.js +0 -6
  330. package/dist/node_modules/uuid/dist/esm-browser/v4.js +0 -6
  331. package/dist/node_modules/which-typed-array/index.js +0 -6
  332. package/dist/types/app/checkout/layout.d.ts +0 -4
  333. package/dist/types/app/checkout/page.d.ts +0 -3
  334. package/dist/types/app/layout.d.ts +0 -8
  335. package/dist/types/app/page.d.ts +0 -2
  336. package/dist/types/components/e-commerce/cart/CartWidgetOld.d.ts +0 -9
  337. package/next-env.d.ts +0 -5
  338. package/next.config.js +0 -18
  339. package/public/AMH/BulletSVG.svg +0 -9
  340. package/public/AMH/desktop_wallpaper@0.25x.png +0 -0
  341. package/public/Logo.svg +0 -6
  342. package/public/favicon.ico +0 -0
  343. package/public/index.html +0 -43
  344. package/public/logo.png +0 -0
  345. package/public/logo_decorated.png +0 -0
  346. package/public/logo_text.png +0 -0
  347. package/public/logo_thick.png +0 -0
  348. package/public/manifest.json +0 -25
  349. package/public/placeholders/fullscreen_1920X1080.png +0 -0
  350. package/public/placeholders/highres_2400X1600.png +0 -0
  351. package/public/placeholders/large_1200X800.png +0 -0
  352. package/public/placeholders/medium_600X400.png +0 -0
  353. package/public/placeholders/small_300X200.png +0 -0
  354. package/public/placeholders/thumbnail_100X100.png +0 -0
  355. package/public/robots.txt +0 -3
  356. package/readme.MD +0 -0
  357. package/rollup.config copy.mjs +0 -80
  358. package/src/app/checkout/layout.tsx +0 -28
  359. package/src/app/checkout/page.tsx +0 -9
  360. package/src/app/layout.tsx +0 -16
  361. package/src/app/page.tsx +0 -38
  362. package/src/stories/ContactForm.stories.js +0 -13
  363. package/src/stories/FeatureSection.stories.js +0 -86
  364. package/src/stories/FluidBackground.stories.js +0 -29
  365. package/src/stories/Footer.stories.js +0 -130
  366. package/src/stories/HeroSection.stories.js +0 -101
  367. package/src/stories/LogoutButton.stories.js +0 -15
  368. package/src/stories/Page.stories.js +0 -536
  369. package/src/stories/PageBuilder.stories.js +0 -396
  370. package/src/stories/RegisterForm.stories.js +0 -13
  371. package/src/stories/ScrollNavbar.stories.js +0 -121
  372. package/src/stories/SideNav.stories.js +0 -47
  373. package/src/stories/SigninForm.stories.js +0 -13
  374. package/src/stories/StrapiImage.stories.js +0 -23
  375. package/src/stories/TextImageSection.stories.js +0 -73
  376. package/src/stories/WebsitePlaceholder.stories.js +0 -178
  377. package/src/stories/WhatsAppClickToChatButton.stories.js +0 -69
  378. package/src/stories/styles.css +0 -39
  379. package/tailwind.config.ts +0 -80
package/README.md ADDED
@@ -0,0 +1,273 @@
1
+ # UMWD Components
2
+
3
+ A comprehensive React component library for e-commerce and logistics
4
+ applications, built with TypeScript and Material-UI.
5
+
6
+ ## Overview
7
+
8
+ UMWD Components is a feature-rich component library designed for building modern
9
+ e-commerce platforms with integrated logistics management. It provides
10
+ ready-to-use components for customer management, product catalogs, order
11
+ processing, invoicing, vendor management, and logistics operations.
12
+
13
+ ## Key Features
14
+
15
+ ### 🛒 E-commerce Components
16
+
17
+ - **Product Management**: Product displays, forms, categories, pricing, and
18
+ inventory
19
+ - **Shopping Cart**: Cart functionality with add/remove items, quantity updates,
20
+ and checkout process
21
+ - **Customer Profiles**: Customer registration, authentication, and profile
22
+ management
23
+ - **Order Processing**: Order placement, tracking, and management (OPO -
24
+ Outbound Purchase Orders)
25
+ - **Returns Management**: Return merchandise authorization (RMA) and processing
26
+ (IRO - Inbound Return Orders)
27
+ - **Invoice Generation**: PDF invoice creation and management
28
+ - **Payment Integration**: Mollie payment provider integration
29
+
30
+ ### 📦 Logistics Components
31
+
32
+ - **Vendor Management**: Vendor profiles, business credentials, and contact
33
+ management
34
+ - **Inventory Processing**: Inbound Purchase Orders (IPO) management
35
+ - **Dispatcher Profiles**: Logistics operator management and tracking
36
+ - **Shipping & Fulfillment**: Order fulfillment and delivery tracking
37
+
38
+ ### 🏗️ Page Builder Components
39
+
40
+ - **Dynamic Page Building**: Flexible page construction with reusable blocks
41
+ - **Hero Sections**: Landing page components with images and CTAs
42
+ - **Feature Sections**: Product and service highlighting components
43
+ - **Contact Forms**: Customizable contact and inquiry forms
44
+
45
+ ### 🔐 Authentication & Authorization
46
+
47
+ - **User Authentication**: Login, registration, and password reset
48
+ - **Session Management**: Secure session handling with context providers
49
+ - **Role-based Access**: Customer, dispatcher, and admin role management
50
+
51
+ ### 🎨 UI Components
52
+
53
+ - **Layout Components**: Headers, footers, navigation, and sidebars
54
+ - **Common Elements**: Forms, buttons, modals, and utility components
55
+ - **Responsive Design**: Mobile-first approach with Material-UI integration
56
+ - **Theming**: Customizable themes and styling with Material-UI
57
+
58
+ ## Technology Stack
59
+
60
+ - **Framework**: Next.js 14+ with React 18
61
+ - **Language**: TypeScript
62
+ - **UI Library**: Material-UI (MUI) v5
63
+ - **Styling**: CSS-in-JS with Material-UI's sx prop
64
+ - **State Management**: React Context API
65
+ - **Form Handling**: React Hook Form with Zod validation
66
+ - **Date Handling**: Day.js
67
+ - **PDF Generation**: @react-pdf/renderer
68
+ - **Build Tools**: Rollup for library bundling
69
+
70
+ ## Installation
71
+
72
+ ```bash
73
+ npm install umwd-components
74
+ ```
75
+
76
+ ### Peer Dependencies
77
+
78
+ Make sure to install the required peer dependencies:
79
+
80
+ ```bash
81
+ npm install @mui/icons-material @mui/material @mui/x-date-pickers @react-pdf/renderer @types/validator mui-markdown next react react-dom validator zod
82
+ ```
83
+
84
+ ## Usage
85
+
86
+ ### Basic Setup
87
+
88
+ ```tsx
89
+ import { SessionProvider, CartProvider } from "umwd-components";
90
+
91
+ function App() {
92
+ return (
93
+ <SessionProvider>
94
+ <CartProvider>{/* Your app components */}</CartProvider>
95
+ </SessionProvider>
96
+ );
97
+ }
98
+ ```
99
+
100
+ ### Product Display
101
+
102
+ ```tsx
103
+ import { ProductCard, Price } from "umwd-components";
104
+ import { Grid } from "@mui/material";
105
+
106
+ function ProductGrid({ products }) {
107
+ return (
108
+ <Grid container spacing={2}>
109
+ {products.map((product) => (
110
+ <Grid item xs={12} md={4} key={product.id}>
111
+ <ProductCard data={product} />
112
+ </Grid>
113
+ ))}
114
+ </Grid>
115
+ );
116
+ }
117
+ ```
118
+
119
+ ### Customer Profile Management
120
+
121
+ ```tsx
122
+ import {
123
+ CustomerProfileDisplay,
124
+ CustomerProfileEditForm,
125
+ } from "umwd-components";
126
+
127
+ function CustomerDashboard({ customer }) {
128
+ return (
129
+ <div>
130
+ <CustomerProfileDisplay data={customer} />
131
+ <CustomerProfileEditForm
132
+ data={customer}
133
+ revalidateCallback={() => window.location.reload()}
134
+ />
135
+ </div>
136
+ );
137
+ }
138
+ ```
139
+
140
+ ### Shopping Cart
141
+
142
+ ```tsx
143
+ import { CartWidget, AddToCartButton, useCart } from "umwd-components";
144
+
145
+ function ProductPage({ product }) {
146
+ const { addItem } = useCart();
147
+
148
+ return (
149
+ <div>
150
+ <h1>{product.name}</h1>
151
+ <AddToCartButton product={product} />
152
+ <CartWidget />
153
+ </div>
154
+ );
155
+ }
156
+ ```
157
+
158
+ ## Business Domain Features
159
+
160
+ ### Business Credentials Management
161
+
162
+ - **VAT Number Validation**: Automatic VAT number verification
163
+ - **EORI Number Validation**: Economic Operators Registration validation
164
+ - **Chamber of Commerce**: Business registration details
165
+ - **Multi-address Support**: Separate billing, delivery, and company addresses
166
+
167
+ ### Order Management Workflow
168
+
169
+ 1. **OPO (Outbound Purchase Orders)**: Customer orders placed on the platform
170
+ 2. **IPO (Inbound Purchase Orders)**: Vendor purchase orders for inventory
171
+ 3. **IRO (Inbound Return Orders)**: Customer returns and RMA processing
172
+ 4. **Invoice Generation**: Automated PDF invoice creation
173
+ 5. **Payment Processing**: Integrated payment workflows
174
+
175
+ ### Logistics Integration
176
+
177
+ - **Vendor Management**: Complete vendor profile and product catalog management
178
+ - **Dispatcher Coordination**: Logistics operator assignment and tracking
179
+ - **Inventory Tracking**: Stock levels and product movement
180
+ - **Shipping Coordination**: Delivery scheduling and tracking
181
+
182
+ ## Component Categories
183
+
184
+ ### Layout Components
185
+
186
+ - `Footer`, `Navbar`, `NavbarV2`, `SideNav`
187
+ - `WebsitePlaceholder`, `FluidBackground`
188
+
189
+ ### Authentication
190
+
191
+ - `AuthWidget`, `RegisterForm`, `SigninForm`, `LogoutButton`
192
+ - `ForgotPasswordForm`, `PasswordResetForm`
193
+
194
+ ### E-commerce
195
+
196
+ - `ProductCard`, `SingleProduct`, `AddProductForm`, `EditProductForm`
197
+ - `CartDisplay`, `AddToCartButton`, `CheckoutForm`
198
+ - `CustomerProfileDisplay`, `CustomerProfileEditForm`
199
+ - `CreateInvoiceForm`, `InvoicePDFViewer`
200
+
201
+ ### Logistics
202
+
203
+ - `VendorDisplay`, `AddVendorForm`, `EditVendorForm`
204
+ - `DispatcherProfileDisplay`, `ManageIPOForm`
205
+
206
+ ### Common Utilities
207
+
208
+ - `Address`, `BusinessCredentials`, `Pagination`
209
+ - `StrapiImage`, `ContactForm`, `ScrollLink`
210
+
211
+ ## Development
212
+
213
+ ### Local Development
214
+
215
+ ```bash
216
+ # Install dependencies
217
+ npm install
218
+
219
+ # Build library
220
+ npm run build-lib
221
+
222
+ # Type checking
223
+ npm run type-check
224
+
225
+ # Lint code
226
+ npm run lint
227
+ ```
228
+
229
+ ### Building for Production
230
+
231
+ ```bash
232
+ # Build the component library
233
+ npm run build-lib
234
+ ```
235
+
236
+ ## Configuration
237
+
238
+ ### Environment Variables
239
+
240
+ The library expects certain environment variables for proper functionality:
241
+
242
+ - `NEXT_PUBLIC_STRAPI_API_URL`: Backend API URL
243
+ - `NEXT_PUBLIC_STRAPI_API_TOKEN`: API authentication token
244
+
245
+ ### Styling
246
+
247
+ The library uses Material-UI for all styling. Components follow Material Design
248
+ principles and can be customized using MUI's theming system and sx props.
249
+
250
+ ## Contributing
251
+
252
+ 1. Clone the repository
253
+ 2. Install dependencies: `npm install`
254
+ 3. Create a feature branch
255
+ 4. Make your changes
256
+ 5. Build the library: `npm run build-lib`
257
+ 6. Submit a pull request
258
+
259
+ ## License
260
+
261
+ MIT License - see LICENSE file for details.
262
+
263
+ ## Support
264
+
265
+ For issues, feature requests, or questions, please create an issue in the
266
+ project repository.
267
+
268
+ ---
269
+
270
+ **Note**: This is a comprehensive component library designed for enterprise
271
+ e-commerce and logistics applications. It integrates with Strapi CMS for content
272
+ management and includes sophisticated business logic for European VAT/EORI
273
+ validation and multi-currency support.
@@ -3,4 +3,4 @@
3
3
  * @copyright Jelle Paulus
4
4
  * @license MIT
5
5
  */
6
- var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function t(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function o(e){if(e.__esModule)return e;var t=e.default;if("function"==typeof t){var o=function e(){return this instanceof e?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};o.prototype=t.prototype}else o={};return Object.defineProperty(o,"__esModule",{value:!0}),Object.keys(e).forEach((function(t){var n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(o,t,n.get?n:{enumerable:!0,get:function(){return e[t]}})})),o}export{e as commonjsGlobal,o as getAugmentedNamespace,t as getDefaultExportFromCjs};
6
+ var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function t(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function o(e){if(e.__esModule)return e;var t=e.default;if("function"==typeof t){var o=function e(){return this instanceof e?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};o.prototype=t.prototype}else o={};return Object.defineProperty(o,"__esModule",{value:!0}),Object.keys(e).forEach(function(t){var n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(o,t,n.get?n:{enumerable:!0,get:function(){return e[t]}})}),o}export{e as commonjsGlobal,o as getAugmentedNamespace,t as getDefaultExportFromCjs};
@@ -3,4 +3,4 @@
3
3
  * @copyright Jelle Paulus
4
4
  * @license MIT
5
5
  */
6
- function t(){return t=Object.assign?Object.assign.bind():function(t){for(var n=1;n<arguments.length;n++){var r=arguments[n];for(var e in r)Object.prototype.hasOwnProperty.call(r,e)&&(t[e]=r[e])}return t},t.apply(this,arguments)}export{t as extends};
6
+ function t(t,r){this.v=t,this.k=r}function r(r){var e={},n=!1;function o(e,o){return n=!0,o=new Promise(function(t){t(r[e](o))}),{done:!1,value:new t(o,1)}}return e["undefined"!=typeof Symbol&&Symbol.iterator||"@@iterator"]=function(){return this},e.next=function(t){return n?(n=!1,t):o("next",t)},"function"==typeof r.throw&&(e.throw=function(t){if(n)throw n=!1,t;return o("throw",t)}),"function"==typeof r.return&&(e.return=function(t){return n?(n=!1,t):o("return",t)}),e}function e(t){var r,e,o,i=2;for("undefined"!=typeof Symbol&&(e=Symbol.asyncIterator,o=Symbol.iterator);i--;){if(e&&null!=(r=t[e]))return r.call(t);if(o&&null!=(r=t[o]))return new n(r.call(t));e="@@asyncIterator",o="@@iterator"}throw new TypeError("Object is not async iterable")}function n(t){function r(t){if(Object(t)!==t)return Promise.reject(new TypeError(t+" is not an object."));var r=t.done;return Promise.resolve(t.value).then(function(t){return{value:t,done:r}})}return n=function(t){this.s=t,this.n=t.next},n.prototype={s:null,n:null,next:function(){return r(this.n.apply(this.s,arguments))},return:function(t){var e=this.s.return;return void 0===e?Promise.resolve({value:t,done:!0}):r(e.apply(this.s,arguments))},throw:function(t){var e=this.s.return;return void 0===e?Promise.reject(t):r(e.apply(this.s,arguments))}},new n(t)}function o(r){return new t(r,0)}function i(t,r,e){return(r=f(r))in t?Object.defineProperty(t,r,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[r]=e,t}function u(){return u=Object.assign?Object.assign.bind():function(t){for(var r=1;r<arguments.length;r++){var e=arguments[r];for(var n in e)({}).hasOwnProperty.call(e,n)&&(t[n]=e[n])}return t},u.apply(null,arguments)}function a(t,r){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);r&&(n=n.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),e.push.apply(e,n)}return e}function c(t){for(var r=1;r<arguments.length;r++){var e=null!=arguments[r]?arguments[r]:{};r%2?a(Object(e),!0).forEach(function(r){i(t,r,e[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):a(Object(e)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(e,r))})}return t}function s(t,r){if("object"!=typeof t||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,r);if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(t)}function f(t){var r=s(t,"string");return"symbol"==typeof r?r:r+""}function l(t){return function(){return new y(t.apply(this,arguments))}}function y(r){var e,n;function o(e,n){try{var u=r[e](n),a=u.value,c=a instanceof t;Promise.resolve(c?a.v:a).then(function(t){if(c){var n="return"===e?"return":"next";if(!a.k||t.done)return o(n,t);t=r[n](t).value}i(u.done?"return":"normal",t)},function(t){o("throw",t)})}catch(t){i("throw",t)}}function i(t,r){switch(t){case"return":e.resolve({value:r,done:!0});break;case"throw":e.reject(r);break;default:e.resolve({value:r,done:!1})}(e=e.next)?o(e.key,e.arg):n=null}this._invoke=function(t,r){return new Promise(function(i,u){var a={key:t,arg:r,resolve:i,reject:u,next:null};n?n=n.next=a:(e=n=a,o(t,r))})},"function"!=typeof r.return&&(this.return=void 0)}y.prototype["function"==typeof Symbol&&Symbol.asyncIterator||"@@asyncIterator"]=function(){return this},y.prototype.next=function(t){return this._invoke("next",t)},y.prototype.throw=function(t){return this._invoke("throw",t)},y.prototype.return=function(t){return this._invoke("return",t)};export{t as OverloadYield,r as asyncGeneratorDelegate,e as asyncIterator,o as awaitAsyncGenerator,i as defineProperty,u as extends,c as objectSpread2,s as toPrimitive,f as toPropertyKey,l as wrapAsyncGenerator};