@rws-aoa/react-library 8.2.0 → 8.2.7

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 (206) hide show
  1. package/dist/chunks/{FieldError.Bo2QpEMu.js → FieldError.7Lfieqt3.js} +5 -5
  2. package/dist/chunks/FieldError.7Lfieqt3.js.map +1 -0
  3. package/dist/components-domain/ivon-project-planning/IvonProjectPlanning.d.ts +2 -0
  4. package/dist/components-domain/ivon-project-planning/IvonProjectPlanning.d.ts.map +1 -0
  5. package/dist/components-domain/ivon-project-planning/IvonProjectPlanning.js +12 -0
  6. package/dist/components-domain/ivon-project-planning/IvonProjectPlanning.js.map +1 -0
  7. package/dist/components-generic/_pages/project-page/ProjectPage.d.ts +2 -0
  8. package/dist/components-generic/_pages/project-page/ProjectPage.d.ts.map +1 -0
  9. package/dist/components-generic/_pages/project-page/ProjectPage.js +34971 -0
  10. package/dist/components-generic/_pages/project-page/ProjectPage.js.map +1 -0
  11. package/dist/components-generic/atoms/_menu/menu-item/MenuItem.d.ts.map +1 -0
  12. package/dist/{components → components-generic}/atoms/_menu/menu-item/MenuItem.js +5 -4
  13. package/dist/components-generic/atoms/_menu/menu-item/MenuItem.js.map +1 -0
  14. package/dist/components-generic/atoms/_menu/user-menu/UserMenu.d.ts.map +1 -0
  15. package/dist/{components → components-generic}/atoms/_menu/user-menu/UserMenu.js +11 -10
  16. package/dist/components-generic/atoms/_menu/user-menu/UserMenu.js.map +1 -0
  17. package/dist/components-generic/atoms/button/Button.d.ts.map +1 -0
  18. package/dist/components-generic/atoms/button/Button.js.map +1 -0
  19. package/dist/components-generic/atoms/icon-button/IconButton.d.ts.map +1 -0
  20. package/dist/components-generic/atoms/icon-button/IconButton.js.map +1 -0
  21. package/dist/components-generic/atoms/input/Input.d.ts.map +1 -0
  22. package/dist/components-generic/atoms/input/Input.js.map +1 -0
  23. package/dist/components-generic/atoms/list/List.d.ts.map +1 -0
  24. package/dist/components-generic/atoms/list/List.js.map +1 -0
  25. package/dist/components-generic/atoms/logo/Logo.d.ts.map +1 -0
  26. package/dist/components-generic/atoms/logo/Logo.js.map +1 -0
  27. package/dist/components-generic/atoms/no-permission/NoPermission.d.ts.map +1 -0
  28. package/dist/components-generic/atoms/no-permission/NoPermission.js.map +1 -0
  29. package/dist/components-generic/atoms/notification/Notification.d.ts.map +1 -0
  30. package/dist/components-generic/atoms/notification/Notification.js.map +1 -0
  31. package/dist/components-generic/atoms/notification/_icons/Error.d.ts.map +1 -0
  32. package/dist/components-generic/atoms/notification/_icons/Error.js.map +1 -0
  33. package/dist/components-generic/atoms/notification/_icons/Info.d.ts.map +1 -0
  34. package/dist/components-generic/atoms/notification/_icons/Info.js.map +1 -0
  35. package/dist/components-generic/atoms/notification/_icons/Success.d.ts.map +1 -0
  36. package/dist/components-generic/atoms/notification/_icons/Success.js.map +1 -0
  37. package/dist/components-generic/atoms/notification/_icons/Warning.d.ts.map +1 -0
  38. package/dist/components-generic/atoms/notification/_icons/Warning.js.map +1 -0
  39. package/dist/components-generic/atoms/section-header/SectionHeader.d.ts.map +1 -0
  40. package/dist/components-generic/atoms/section-header/SectionHeader.js.map +1 -0
  41. package/dist/components-generic/atoms/selection-buttons/checkbox/Checkbox.d.ts.map +1 -0
  42. package/dist/components-generic/atoms/selection-buttons/checkbox/Checkbox.js.map +1 -0
  43. package/dist/components-generic/atoms/selection-buttons/radio-button/RadioButton.d.ts.map +1 -0
  44. package/dist/components-generic/atoms/selection-buttons/radio-button/RadioButton.js.map +1 -0
  45. package/dist/components-generic/atoms/selection-buttons/switch-button/SwitchButton.d.ts.map +1 -0
  46. package/dist/components-generic/atoms/selection-buttons/switch-button/SwitchButton.js.map +1 -0
  47. package/dist/components-generic/atoms/table/Table.d.ts.map +1 -0
  48. package/dist/components-generic/atoms/table/Table.js.map +1 -0
  49. package/dist/components-generic/atoms/table/_QuickSearchToolbar.d.ts.map +1 -0
  50. package/dist/components-generic/atoms/table/_QuickSearchToolbar.js.map +1 -0
  51. package/dist/components-generic/atoms/tooltip/Tooltip.d.ts.map +1 -0
  52. package/dist/components-generic/atoms/tooltip/Tooltip.js.map +1 -0
  53. package/dist/components-generic/atoms/zero-width-space/ZeroWidthSpace.d.ts.map +1 -0
  54. package/dist/components-generic/atoms/zero-width-space/ZeroWidthSpace.js.map +1 -0
  55. package/dist/components-generic/molecules/field-error/FieldError.d.ts.map +1 -0
  56. package/dist/{components → components-generic}/molecules/field-error/FieldError.js +1 -1
  57. package/dist/components-generic/molecules/file-dropzone/FileDropzone.d.ts.map +1 -0
  58. package/dist/components-generic/molecules/file-dropzone/FileDropzone.js.map +1 -0
  59. package/dist/components-generic/molecules/file-table/FileTable.d.ts.map +1 -0
  60. package/dist/components-generic/molecules/file-table/FileTable.js.map +1 -0
  61. package/dist/components-generic/molecules/form-error/FormError.d.ts.map +1 -0
  62. package/dist/{components → components-generic}/molecules/form-error/FormError.js +1 -1
  63. package/dist/components-generic/molecules/form-modal/FormModal.d.ts.map +1 -0
  64. package/dist/{components → components-generic}/molecules/form-modal/FormModal.js +1 -1
  65. package/dist/components-generic/molecules/modal/Modal.d.ts.map +1 -0
  66. package/dist/components-generic/molecules/modal/Modal.js.map +1 -0
  67. package/dist/components-generic/molecules/modal-close-button/ModalCloseButton.d.ts.map +1 -0
  68. package/dist/components-generic/molecules/modal-close-button/ModalCloseButton.js.map +1 -0
  69. package/dist/components-generic/molecules/navigation-bar/NavigationBar.d.ts.map +1 -0
  70. package/dist/{components → components-generic}/molecules/navigation-bar/NavigationBar.js +9 -8
  71. package/dist/components-generic/molecules/navigation-bar/NavigationBar.js.map +1 -0
  72. package/dist/components-generic/molecules/no-label-number-field/NoLabelNumberField.d.ts.map +1 -0
  73. package/dist/{components → components-generic}/molecules/no-label-number-field/NoLabelNumberField.js +1 -1
  74. package/dist/components-generic/molecules/upload-button/UploadButton.d.ts.map +1 -0
  75. package/dist/components-generic/molecules/upload-button/UploadButton.js.map +1 -0
  76. package/dist/components-generic/organisms/content-page/ContentPage.d.ts.map +1 -0
  77. package/dist/components-generic/organisms/content-page/ContentPage.js.map +1 -0
  78. package/dist/contexts/TanstackFormContext.d.ts +4 -4
  79. package/dist/contexts/TanstackFormContext.d.ts.map +1 -1
  80. package/dist/contexts/TanstackFormContext.js +1 -1
  81. package/dist/index.d.ts +27 -27
  82. package/dist/index.d.ts.map +1 -1
  83. package/dist/index.js +22 -22
  84. package/package.json +55 -51
  85. package/dist/chunks/FieldError.Bo2QpEMu.js.map +0 -1
  86. package/dist/components/atoms/_menu/menu-item/MenuItem.d.ts.map +0 -1
  87. package/dist/components/atoms/_menu/menu-item/MenuItem.js.map +0 -1
  88. package/dist/components/atoms/_menu/user-menu/UserMenu.d.ts.map +0 -1
  89. package/dist/components/atoms/_menu/user-menu/UserMenu.js.map +0 -1
  90. package/dist/components/atoms/button/Button.d.ts.map +0 -1
  91. package/dist/components/atoms/button/Button.js.map +0 -1
  92. package/dist/components/atoms/icon-button/IconButton.d.ts.map +0 -1
  93. package/dist/components/atoms/icon-button/IconButton.js.map +0 -1
  94. package/dist/components/atoms/input/Input.d.ts.map +0 -1
  95. package/dist/components/atoms/input/Input.js.map +0 -1
  96. package/dist/components/atoms/list/List.d.ts.map +0 -1
  97. package/dist/components/atoms/list/List.js.map +0 -1
  98. package/dist/components/atoms/logo/Logo.d.ts.map +0 -1
  99. package/dist/components/atoms/logo/Logo.js.map +0 -1
  100. package/dist/components/atoms/no-permission/NoPermission.d.ts.map +0 -1
  101. package/dist/components/atoms/no-permission/NoPermission.js.map +0 -1
  102. package/dist/components/atoms/notification/Notification.d.ts.map +0 -1
  103. package/dist/components/atoms/notification/Notification.js.map +0 -1
  104. package/dist/components/atoms/notification/_icons/Error.d.ts.map +0 -1
  105. package/dist/components/atoms/notification/_icons/Error.js.map +0 -1
  106. package/dist/components/atoms/notification/_icons/Info.d.ts.map +0 -1
  107. package/dist/components/atoms/notification/_icons/Info.js.map +0 -1
  108. package/dist/components/atoms/notification/_icons/Success.d.ts.map +0 -1
  109. package/dist/components/atoms/notification/_icons/Success.js.map +0 -1
  110. package/dist/components/atoms/notification/_icons/Warning.d.ts.map +0 -1
  111. package/dist/components/atoms/notification/_icons/Warning.js.map +0 -1
  112. package/dist/components/atoms/section-header/SectionHeader.d.ts.map +0 -1
  113. package/dist/components/atoms/section-header/SectionHeader.js.map +0 -1
  114. package/dist/components/atoms/selection-buttons/checkbox/Checkbox.d.ts.map +0 -1
  115. package/dist/components/atoms/selection-buttons/checkbox/Checkbox.js.map +0 -1
  116. package/dist/components/atoms/selection-buttons/radio-button/RadioButton.d.ts.map +0 -1
  117. package/dist/components/atoms/selection-buttons/radio-button/RadioButton.js.map +0 -1
  118. package/dist/components/atoms/selection-buttons/switch-button/SwitchButton.d.ts.map +0 -1
  119. package/dist/components/atoms/selection-buttons/switch-button/SwitchButton.js.map +0 -1
  120. package/dist/components/atoms/table/Table.d.ts.map +0 -1
  121. package/dist/components/atoms/table/Table.js.map +0 -1
  122. package/dist/components/atoms/table/_QuickSearchToolbar.d.ts.map +0 -1
  123. package/dist/components/atoms/table/_QuickSearchToolbar.js.map +0 -1
  124. package/dist/components/atoms/tooltip/Tooltip.d.ts.map +0 -1
  125. package/dist/components/atoms/tooltip/Tooltip.js.map +0 -1
  126. package/dist/components/atoms/zero-width-space/ZeroWidthSpace.d.ts.map +0 -1
  127. package/dist/components/atoms/zero-width-space/ZeroWidthSpace.js.map +0 -1
  128. package/dist/components/molecules/field-error/FieldError.d.ts.map +0 -1
  129. package/dist/components/molecules/file-dropzone/FileDropzone.d.ts.map +0 -1
  130. package/dist/components/molecules/file-dropzone/FileDropzone.js.map +0 -1
  131. package/dist/components/molecules/file-table/FileTable.d.ts.map +0 -1
  132. package/dist/components/molecules/file-table/FileTable.js.map +0 -1
  133. package/dist/components/molecules/form-error/FormError.d.ts.map +0 -1
  134. package/dist/components/molecules/form-modal/FormModal.d.ts.map +0 -1
  135. package/dist/components/molecules/modal/Modal.d.ts.map +0 -1
  136. package/dist/components/molecules/modal/Modal.js.map +0 -1
  137. package/dist/components/molecules/modal-close-button/ModalCloseButton.d.ts.map +0 -1
  138. package/dist/components/molecules/modal-close-button/ModalCloseButton.js.map +0 -1
  139. package/dist/components/molecules/navigation-bar/NavigationBar.d.ts.map +0 -1
  140. package/dist/components/molecules/navigation-bar/NavigationBar.js.map +0 -1
  141. package/dist/components/molecules/no-label-number-field/NoLabelNumberField.d.ts.map +0 -1
  142. package/dist/components/molecules/upload-button/UploadButton.d.ts.map +0 -1
  143. package/dist/components/molecules/upload-button/UploadButton.js.map +0 -1
  144. package/dist/components/organisms/content-page/ContentPage.d.ts.map +0 -1
  145. package/dist/components/organisms/content-page/ContentPage.js.map +0 -1
  146. /package/dist/{components → components-generic}/atoms/_menu/menu-item/MenuItem.d.ts +0 -0
  147. /package/dist/{components → components-generic}/atoms/_menu/user-menu/UserMenu.d.ts +0 -0
  148. /package/dist/{components → components-generic}/atoms/button/Button.d.ts +0 -0
  149. /package/dist/{components → components-generic}/atoms/button/Button.js +0 -0
  150. /package/dist/{components → components-generic}/atoms/icon-button/IconButton.d.ts +0 -0
  151. /package/dist/{components → components-generic}/atoms/icon-button/IconButton.js +0 -0
  152. /package/dist/{components → components-generic}/atoms/input/Input.d.ts +0 -0
  153. /package/dist/{components → components-generic}/atoms/input/Input.js +0 -0
  154. /package/dist/{components → components-generic}/atoms/list/List.d.ts +0 -0
  155. /package/dist/{components → components-generic}/atoms/list/List.js +0 -0
  156. /package/dist/{components → components-generic}/atoms/logo/Logo.d.ts +0 -0
  157. /package/dist/{components → components-generic}/atoms/logo/Logo.js +0 -0
  158. /package/dist/{components → components-generic}/atoms/no-permission/NoPermission.d.ts +0 -0
  159. /package/dist/{components → components-generic}/atoms/no-permission/NoPermission.js +0 -0
  160. /package/dist/{components → components-generic}/atoms/notification/Notification.d.ts +0 -0
  161. /package/dist/{components → components-generic}/atoms/notification/Notification.js +0 -0
  162. /package/dist/{components → components-generic}/atoms/notification/_icons/Error.d.ts +0 -0
  163. /package/dist/{components → components-generic}/atoms/notification/_icons/Error.js +0 -0
  164. /package/dist/{components → components-generic}/atoms/notification/_icons/Info.d.ts +0 -0
  165. /package/dist/{components → components-generic}/atoms/notification/_icons/Info.js +0 -0
  166. /package/dist/{components → components-generic}/atoms/notification/_icons/Success.d.ts +0 -0
  167. /package/dist/{components → components-generic}/atoms/notification/_icons/Success.js +0 -0
  168. /package/dist/{components → components-generic}/atoms/notification/_icons/Warning.d.ts +0 -0
  169. /package/dist/{components → components-generic}/atoms/notification/_icons/Warning.js +0 -0
  170. /package/dist/{components → components-generic}/atoms/section-header/SectionHeader.d.ts +0 -0
  171. /package/dist/{components → components-generic}/atoms/section-header/SectionHeader.js +0 -0
  172. /package/dist/{components → components-generic}/atoms/selection-buttons/checkbox/Checkbox.d.ts +0 -0
  173. /package/dist/{components → components-generic}/atoms/selection-buttons/checkbox/Checkbox.js +0 -0
  174. /package/dist/{components → components-generic}/atoms/selection-buttons/radio-button/RadioButton.d.ts +0 -0
  175. /package/dist/{components → components-generic}/atoms/selection-buttons/radio-button/RadioButton.js +0 -0
  176. /package/dist/{components → components-generic}/atoms/selection-buttons/switch-button/SwitchButton.d.ts +0 -0
  177. /package/dist/{components → components-generic}/atoms/selection-buttons/switch-button/SwitchButton.js +0 -0
  178. /package/dist/{components → components-generic}/atoms/table/Table.d.ts +0 -0
  179. /package/dist/{components → components-generic}/atoms/table/Table.js +0 -0
  180. /package/dist/{components → components-generic}/atoms/table/_QuickSearchToolbar.d.ts +0 -0
  181. /package/dist/{components → components-generic}/atoms/table/_QuickSearchToolbar.js +0 -0
  182. /package/dist/{components → components-generic}/atoms/tooltip/Tooltip.d.ts +0 -0
  183. /package/dist/{components → components-generic}/atoms/tooltip/Tooltip.js +0 -0
  184. /package/dist/{components → components-generic}/atoms/zero-width-space/ZeroWidthSpace.d.ts +0 -0
  185. /package/dist/{components → components-generic}/atoms/zero-width-space/ZeroWidthSpace.js +0 -0
  186. /package/dist/{components → components-generic}/molecules/field-error/FieldError.d.ts +0 -0
  187. /package/dist/{components → components-generic}/molecules/field-error/FieldError.js.map +0 -0
  188. /package/dist/{components → components-generic}/molecules/file-dropzone/FileDropzone.d.ts +0 -0
  189. /package/dist/{components → components-generic}/molecules/file-dropzone/FileDropzone.js +0 -0
  190. /package/dist/{components → components-generic}/molecules/file-table/FileTable.d.ts +0 -0
  191. /package/dist/{components → components-generic}/molecules/file-table/FileTable.js +0 -0
  192. /package/dist/{components → components-generic}/molecules/form-error/FormError.d.ts +0 -0
  193. /package/dist/{components → components-generic}/molecules/form-error/FormError.js.map +0 -0
  194. /package/dist/{components → components-generic}/molecules/form-modal/FormModal.d.ts +0 -0
  195. /package/dist/{components → components-generic}/molecules/form-modal/FormModal.js.map +0 -0
  196. /package/dist/{components → components-generic}/molecules/modal/Modal.d.ts +0 -0
  197. /package/dist/{components → components-generic}/molecules/modal/Modal.js +0 -0
  198. /package/dist/{components → components-generic}/molecules/modal-close-button/ModalCloseButton.d.ts +0 -0
  199. /package/dist/{components → components-generic}/molecules/modal-close-button/ModalCloseButton.js +0 -0
  200. /package/dist/{components → components-generic}/molecules/navigation-bar/NavigationBar.d.ts +0 -0
  201. /package/dist/{components → components-generic}/molecules/no-label-number-field/NoLabelNumberField.d.ts +0 -0
  202. /package/dist/{components → components-generic}/molecules/no-label-number-field/NoLabelNumberField.js.map +0 -0
  203. /package/dist/{components → components-generic}/molecules/upload-button/UploadButton.d.ts +0 -0
  204. /package/dist/{components → components-generic}/molecules/upload-button/UploadButton.js +0 -0
  205. /package/dist/{components → components-generic}/organisms/content-page/ContentPage.d.ts +0 -0
  206. /package/dist/{components → components-generic}/organisms/content-page/ContentPage.js +0 -0
@@ -1 +0,0 @@
1
- {"version":3,"file":"Tooltip.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/tooltip/Tooltip.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAgC,KAAK,YAAY,EAAE,MAAM,eAAe,CAAC;AAGhF,MAAM,WAAW,eAAgB,SAAQ,YAAY;IACnD;;OAEG;IACH,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,CAAC;CAC7B;AAED;;;;GAIG;AACH,wBAAgB,UAAU,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,KAAK,EAAE,SAAS,EAAE,UAAU,EAAE,SAAS,EAAE,QAAQ,EAAE,GAAG,KAAK,EAAE,EAAE,eAAe,2CAiC5H"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"Tooltip.js","sources":["../../../../src/components/atoms/tooltip/Tooltip.tsx"],"sourcesContent":["import { Box, Tooltip, tooltipClasses, type TooltipProps } from '@mui/material';\nimport { merge } from 'lodash';\n\nexport interface AoaTooltipProps extends TooltipProps {\n /**\n * Data-qa tag to apply to the tooltip\n */\n readonly 'data-qa'?: string;\n}\n\n/**\n * Constructs a tooltip using pre-defined Rijks styling\n *\n * @param props - Props to pass to the {@link Tooltip}\n */\nexport function AoaTooltip({ 'data-qa': qaTag, title, placement, enterDelay, className, children, ...props }: AoaTooltipProps) {\n return (\n <Tooltip\n {...props}\n classes={{ popper: className }}\n describeChild\n enterDelay={enterDelay ?? 300}\n placement={placement ?? 'top'}\n slotProps={merge(\n {\n popper: {\n sx: {\n [`& .${tooltipClasses.tooltip}`]: {\n lineHeight: 1.5,\n backgroundColor: '#FFFFFF',\n borderRadius: 0,\n boxShadow: '0 1px 3px 0 rgb(0 0 0 / 20%), 0 1px 1px 0 rgb(0 0 0 / 14%), 0 2px 1px -1px rgb(0 0 0 / 12%) !important',\n color: 'var(--color-text)'\n }\n }\n }\n },\n props.slotProps\n )}\n title={\n <Box data-qa={qaTag} sx={{ p: 1 }}>\n {title}\n </Box>\n }\n >\n {children}\n </Tooltip>\n );\n}\n"],"names":["AoaTooltip","qaTag","title","placement","enterDelay","className","children","props","jsx","Tooltip","popper","merge","sx","tooltipClasses","tooltip","lineHeight","backgroundColor","borderRadius","boxShadow","color","slotProps","Box","p"],"mappings":";;;AAeO,SAASA,EAAW;AAAA,EAAE,WAAWC;AAAAA,EAAOC,OAAAA;AAAAA,EAAOC,WAAAA;AAAAA,EAAWC,YAAAA;AAAAA,EAAYC,WAAAA;AAAAA,EAAWC,UAAAA;AAAAA,EAAU,GAAGC;AAAuB,GAAG;AAC7H,SACE,gBAAAC,EAACC,GAAA,EACC,GAAIF,GACJ,SAAS;AAAA,IAAEG,QAAQL;AAAAA,EAAAA,GACnB,eAAa,IACb,YAAYD,KAAc,KAC1B,WAAWD,KAAa,OACxB,WAAWQ,QACT;AAAA,IACED,QAAQ;AAAA,MACNE,IAAI;AAAA,QACF,CAAC,MAAMC,EAAeC,OAAO,EAAE,GAAG;AAAA,UAChCC,YAAY;AAAA,UACZC,iBAAiB;AAAA,UACjBC,cAAc;AAAA,UACdC,WAAW;AAAA,UACXC,OAAO;AAAA,QAAA;AAAA,MACT;AAAA,IACF;AAAA,EACF,GAEFZ,EAAMa,SACR,GACA,OACE,gBAAAZ,EAACa,GAAA,EAAI,WAASpB,GAAO,IAAI;AAAA,IAAEqB,GAAG;AAAA,EAAA,GAC3BpB,UAAAA,GACH,GAGDI,UAAAA,EAAAA,CACH;AAEJ;"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"ZeroWidthSpace.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/zero-width-space/ZeroWidthSpace.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,KAAK,eAAe,EAAE,MAAM,eAAe,CAAC;AAEjE;;;;;;;;GAQG;AACH,wBAAgB,iBAAiB,CAAC,EAAE,OAAO,EAAE,KAAK,EAAE,GAAG,KAAK,EAAE,EAAE,eAAe,2CAM9E"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"ZeroWidthSpace.js","sources":["../../../../src/components/atoms/zero-width-space/ZeroWidthSpace.tsx"],"sourcesContent":["import { Typography, type TypographyProps } from '@mui/material';\n\n/**\n * Inserts a Zero Width Space as a React component\n *\n * @param props - Props to pass to the Zero-Width Space component\n * @example\n * ```jsx\n * <AoaZeroWidthSpace />\n * ```\n */\nexport function AoaZeroWidthSpace({ variant, style, ...props }: TypographyProps) {\n return (\n <Typography {...props} style={style} variant={variant ?? 'caption'}>\n &#8203;\n </Typography>\n );\n}\n"],"names":["AoaZeroWidthSpace","t0","$","_c","props","style","variant","t1","t2","Typography"],"mappings":";;;AAWO,SAAAA,EAAAC,GAAA;AAAA,QAAAC,IAAAC,EAAAA,EAAA,CAAA;AAAA,MAAAC,GAAAC,GAAAC;AAAA,EAAAJ,SAAAD,KAA2B;AAAA,IAAAK,SAAAA;AAAAA,IAAAD,OAAAA;AAAAA,IAAA,GAAAD;AAAAA,EAAAA,IAAAH,GAA6CC,OAAAD,GAAAC,OAAAE,GAAAF,OAAAG,GAAAH,OAAAI,MAAAF,IAAAF,EAAA,CAAA,GAAAG,IAAAH,EAAA,CAAA,GAAAI,IAAAJ,EAAA,CAAA;AAE7B,QAAAK,IAAAD,KAAA;AAAoB,MAAAE;AAAA,SAAAN,EAAA,CAAA,MAAAE,KAAAF,SAAAG,KAAAH,EAAA,CAAA,MAAAK,KAAlEC,sBAACC,GAAA,EAAU,GAAKL,GAAcC,OAAAA,GAAgB,SAAAE,GAAsB,UAAA,KAEpE,GAAaL,OAAAE,GAAAF,OAAAG,GAAAH,OAAAK,GAAAL,OAAAM,KAAAA,IAAAN,EAAA,CAAA,GAFbM;AAEa;"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"FieldError.d.ts","sourceRoot":"","sources":["../../../../src/components/molecules/field-error/FieldError.tsx"],"names":[],"mappings":"AAGA,MAAM,WAAW,kBAAkB;IACjC,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,CAAC;CAC7B;AAED;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,aAAa,CAAC,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,EAAE,EAAE,kBAAkB,kDAe7E"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"FileDropzone.d.ts","sourceRoot":"","sources":["../../../../src/components/molecules/file-dropzone/FileDropzone.t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AK,EAAE,QAAQ,CAAC,iBAAiB,CAAC,oBAAoB,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC,CAAC,2CAwFxE"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"FileDropzone.js","sources":["../../../../src/components/molecules/file-dropzone/FileDropzone.tsx"],"sourcesContent":["import { Box } from '@mui/material';\nimport type { PropsWithChildren, ReactNode } from 'react';\nimport { useDropzone, type Accept, type FileError, type FileRejection } from 'react-dropzone';\nimport { toast } from 'react-toastify';\nimport { isExtensionAllowed } from '../../../_constants';\n\nexport type AoaDropableFile<TProps extends object> = TProps & {\n /**\n * The file that was dropped\n */\n file: File;\n};\n\nexport interface AoaFileDropzoneDataQas {\n /**\n * The data-qa tag for the input\n */\n input: string;\n /**\n * The data-qa tag for the root element\n */\n root: string;\n}\n\nexport interface AoaFileDropzoneProps<TProps extends object, TFile extends AoaDropableFile<TProps>> {\n /**\n * The current set of files that are already dropped, coming from Redux or Tanstack Store\n */\n currentFiles: TFile[];\n /**\n * A custom function that can perform extra checks when validating files.\n * This should return `true` if the file should be rejected or `false` if it should be accepted\n *\n * @param file - The file to be validated\n */\n customFileValidator?(file: File): boolean;\n /**\n * data-qa tags for testing\n */\n dataQas?: AoaFileDropzoneDataQas;\n /**\n * The regular expression that validates if the dropped file should be accepted or rejected\n */\n extensionRegex: RegExp;\n /**\n * The toast warning message to be shown when a file is rejection\n */\n extensionWarning: string;\n /**\n * The extension map to be passed to the dropzone component\n */\n extensions: Accept;\n /**\n * The children to show inside the box where files can be dropped\n */\n fileDropChildren?: ReactNode;\n /**\n * Whether the dropzone should be disabled or not\n */\n isDisabled?: boolean;\n /**\n * A maximum count of files that should be accepted, if exceeded no save action will be performed\n */\n maxUploadFiles?: number;\n /**\n * The toast warning message to be shown when the files to be uploaded exceeds the maximum,\n * required if {@link AoaFileDropzoneProps.maxUploadFiles | maxUploadFiles} is specified.\n */\n maxUploadSizeExceededWarning?: string;\n /**\n * Additional properties to set for every file that is to be saved\n */\n perFileProperties?(acceptedFile: File): TProps;\n /**\n * The function to overwrite the files in the client store.\n * This should overwrite all files, not merge with current, which is handled in this component\n *\n * @param files - The new set of files to be stored\n */\n storeFiles(files: TFile[]): void;\n}\n\nexport function AoaFileDropzone<TProps extends object, TFile extends AoaDropableFile<TProps>>(\n props: Readonly<PropsWithChildren<AoaFileDropzoneProps<TProps, TFile>>>\n) {\n function showMaxUploadFilesWarning() {\n toast(props.maxUploadSizeExceededWarning ?? `U heeft meer dan ${props.maxUploadFiles} bestand(en) geselecteerd. Dit is niet toegestaan.`, {\n type: 'warning'\n });\n }\n\n function handleDrop(acceptedFiles: File[], fileRejections: FileRejection[]) {\n if (fileRejections.length > 0) {\n if (fileRejections.every((file) => file.errors.every((error) => error.code === 'too-many-files'))) {\n showMaxUploadFilesWarning();\n } else {\n toast(props.extensionWarning, { type: 'warning' });\n }\n }\n\n const filesClone = [...props.currentFiles];\n for (const acceptedFile of acceptedFiles) {\n const existingFileIndex = filesClone.findIndex((file) => file.file.name === acceptedFile.name);\n if (existingFileIndex === -1) {\n filesClone.push({ file: acceptedFile, ...props.perFileProperties?.(acceptedFile) } as TFile & TProps);\n } else {\n filesClone.splice(existingFileIndex, 1, {\n file: acceptedFile,\n ...props.perFileProperties?.(acceptedFile)\n } as TFile & TProps);\n }\n }\n\n if (props.maxUploadFiles && filesClone.length > props.maxUploadFiles) {\n showMaxUploadFilesWarning();\n } else {\n props.storeFiles(filesClone);\n }\n }\n\n function fileValidator(file: File): FileError | null {\n if (props.customFileValidator?.(file)) {\n return {\n code: 'custom-validator',\n message: props.extensionWarning\n };\n }\n\n if (isExtensionAllowed(props.extensionRegex, file.name)) {\n return null;\n }\n\n return {\n code: 'name-not-ok',\n message: props.extensionWarning\n };\n }\n\n const { getRootProps, getInputProps } = useDropzone({\n onDrop: handleDrop,\n disabled: props.isDisabled,\n accept: props.extensions,\n maxFiles: props.maxUploadFiles,\n validator: fileValidator\n });\n\n return (\n <Box\n {...getRootProps()}\n data-qa={props.dataQas?.root ?? 'file-dropzone-root'}\n sx={{\n '&:focus': {\n outline: 'none'\n }\n }}\n >\n <input {...getInputProps()} aria-label='File drop' data-qa={props.dataQas?.input ?? 'file-drop-input'} data-testid='file-drop-input' />\n <Box\n sx={{\n backgroundColor: 'var(--color-rijks-grey-2)',\n borderWidth: 1,\n borderStyle: 'dashed',\n borderColor: 'black',\n marginBottom: 0.5,\n textAlign: 'center'\n }}\n >\n {props.fileDropChildren}\n </Box>\n </Box>\n );\n}\n"],"names":["AoaFileDropzone","props","$","_c","t0","maxUploadFiles","maxUploadSizeExceededWarning","toast","type","showMaxUploadFilesWarning","t1","acceptedFiles","fileRejections","length","every","_temp2","extensionWarning","filesClone","currentFiles","acceptedFile","existingFileIndex","findIndex","file_0","file","name","push","perFileProperties","splice","storeFiles","handleDrop","t2","file_1","customFileValidator","code","message","isExtensionAllowed","extensionRegex","fileValidator","t3","extensions","isDisabled","onDrop","disabled","accept","maxFiles","validator","getRootProps","getInputProps","useDropzone","t4","t5","dataQas","root","t6","Symbol","for","outline","t7","t8","input","t9","t10","backgroundColor","borderWidth","borderStyle","borderColor","marginBottom","textAlign","t11","fileDropChildren","Box","t12","errors","_temp","error"],"mappings":";;;;;;AAkFO,SAAAA,EAAAC,GAAA;AAAA,QAAAC,IAAAC,EAAAA,EAAA,EAAA;AAAA,MAAAC;AAAA,EAAAF,EAAA,CAAA,MAAAD,EAAAI,kBAAAH,EAAA,CAAA,MAAAD,EAAAK,gCAGLF,eAAA;AACEG,IAAAA,EAAMN,EAAKK,gCAAL,oBAA0DL,EAAKI,cAAe,sDAAsD;AAAA,MAAAG,MAClI;AAAA,IAAA,CACP;AAAA,EAAC,GACHN,EAAA,CAAA,IAAAD,EAAAI,gBAAAH,EAAA,CAAA,IAAAD,EAAAK,8BAAAJ,OAAAE,KAAAA,IAAAF,EAAA,CAAA;AAJD,QAAAO,IAAAL;AAIC,MAAAM;AAAA,EAAAR,EAAA,CAAA,MAAAD,KAAAC,SAAAO,KAE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MAAM,kBAAkB,CAAC;AAG7H,MAAM,WAAW,iBAAiB,CAAC,CAAC,SAAS,iBAAiB,GAAG,GAAG;IAClE;;OAEG;IACH,OAAO,EAAE,UAAU,CAAC,CAAC,CAAC,EAAE,CAAC;IACzB;;OAEG;IACH,IAAI,EAAE,CAAC,EAAE,CAAC;IACV;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,wBAAwB,CAAC,EAAE,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,EAAE,UAAU,GAAG,kBAAkB,CAAC,CAAC;IACnF;;OAEG;IACH,mBAAmB,CAAC,EAAE,mBAAmB,GAAG,IAAI,CAAC,iBAAiB,EAAE,KAAK,GAAG,iBAAiB,GAAG,OAAO,CAAC,CAAC;CAC1G;AAED,wBAAgB,YAAY,CAAC,CAAC,SAAS,MAAM,GAAG,GAAG,EAAE,EACnD,IAAI,EACJ,OAAO,EACP,mBAAmB,EACnB,wBAAwB,EACxB,SAAS,EAAE,MAAM,EAClB,EAAE,QAAQ,CAAC,iBAAiB,CAAC,CAAC,CAAC,CAAC,2CAchC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"FileTable.js","sources":["../../../../src/components/molecules/file-table/FileTable.tsx"],"sourcesContent":["import type { DataGridProps, GridColDef, GridGetRowsParams, GridPaginationModel, GridValidRowModel } from '@mui/x-data-grid';\nimport { AoaTable } from '../../atoms/table/Table';\n\nexport interface AoaFileTableProps<T extends GridValidRowModel = any> {\n /**\n * The column structure to display the data\n */\n columns: GridColDef<T>[];\n /**\n * The TableData object to be displayed in the table\n */\n data: T[];\n /**\n * Data-qa tag for E2E test purposes\n */\n 'data-qa'?: string;\n /**\n * Overwrite a safe selection of the {@link DataGrid} properties\n */\n dataGridOverridableProps?: Pick<DataGridProps<T>, 'getRowId' | 'ignoreDiacritics'>;\n /**\n * Sets the initial query options to retain query details after opening a page and returning to the table\n */\n initialQueryOptions?: GridPaginationModel & Omit<GridGetRowsParams, 'end' | 'paginationModel' | 'start'>;\n}\n\nexport function AoaFileTable<T extends object = any>({\n data,\n columns,\n initialQueryOptions,\n dataGridOverridableProps,\n 'data-qa': dataQa\n}: Readonly<AoaFileTableProps<T>>) {\n return (\n <AoaTable<T>\n columns={columns}\n data={{\n rows: data ?? [],\n rowCount: data?.length ?? 0\n }}\n data-qa={dataQa}\n dataGridOverridableProps={dataGridOverridableProps}\n initialQueryOptions={initialQueryOptions}\n mode='client'\n />\n );\n}\n"],"names":["AoaFileTable","data","columns","initialQueryOptions","dataGridOverridableProps","dataQa","jsx","AoaTable","rows","rowCount","length"],"mappings":";;AA0BO,SAASA,EAAqC;AAAA,EACnDC,MAAAA;AAAAA,EACAC,SAAAA;AAAAA,EACAC,qBAAAA;AAAAA,EACAC,0BAAAA;AAAAA,EACA,WAAWC;AACmB,GAAG;AACjC,SACE,gBAAAC,EAACC,GAAA,EACC,SAAAL,GACA,MAAM;AAAA,IACJM,MAAMP,KAAQ,CAAA;AAAA,IACdQ,UAAUR,GAAMS,UAAU;AAAA,EAAA,GAE5B,WAASL,GACT,0BAAAD,GACA,qBAAAD,GACA,MAAK,UAAQ;AAGnB;"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"FormError.d.ts","sourceRoot":"","sources":["../../../../src/components/molecules/form-error/FormError.tsx"],"names":[],"mappings":"AAGA,MAAM,WAAW,iBAAiB;IAChC,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,CAAC;CAC7B;AAED;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,YAAY,CAAC,EAAE,SAAS,EAAE,MAAM,EAAE,EAAE,iBAAiB,2CAqBpE"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"FormModal.d.ts","sourceRoot":"","sources":["../../../../src/components/molecules/form-modal/FormModal.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAa,KAAK,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAC3E,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;A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KAAK,kBAAkB,EAAE,KAAK,WAAW,EAAE,KAAK,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAErI,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,EAAuB,KAAK,wBAAwB,EAAE,MAAM,wCAAwC,CAAC;AAE5G,MAAM,WAAW,WAAW;IAC1B;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,aAAa;IAC5B;;OAEG;IACH,QAAQ,CAAC,kBAAkB,CAAC,EAAE,kBAAkB,CAAC;IACjD;;OAEG;IACH,QAAQ,CAAC,WAAW,CAAC,EAAE,IAAI,CAAC,WAAW,EAAE,MAAM,CAAC,CAAC;IACjD;;OAEG;IACH,QAAQ,CAAC,gBAAgB,CAAC,EAAE,gBAAgB,CAAC;IAC7C;;OAEG;IACH,QAAQ,CAAC,aAAa,CAAC,EAAE,SAAS,CAAC;IACnC;;OAEG;IACH,QAAQ,CAAC,aAAa,EAAE,SAAS,CAAC;IAClC;;OAEG;IACH,QAAQ,CAAC,QAAQ,CAAC,EAAE,WAAW,CAAC;IAChC;;OAEG;IACH,QAAQ,CAAC,IAAI,EAAE,OAAO,CAAC;IACvB;;OAEG;IACH,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;CACxB;AAED;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAgB,QAAQ,CAAC,EACvB,WAAW,EACX,gBAAgB,EAChB,kBAAkB,EAClB,QAAQ,EACR,IAAI,EACJ,KAAK,EACL,aAAa,EACb,aAAa,EACb,WAAW,EACZ,EAAE,wBAAwB,GAAG,aAAa,2CA+C1C"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"Modal.js","sources":["../../../../src/components/molecules/modal/Modal.tsx"],"sourcesContent":["import { Dialog, DialogContent, DialogTitle, type DialogContentProps, type DialogProps, type DialogTitleProps } from '@mui/material';\nimport { merge } from 'lodash';\nimport type { ReactNode } from 'react';\nimport { AoaModalCloseButton, type AoaModalCloseButtonProps } from '../modal-close-button/ModalCloseButton';\n\nexport interface AoaModalQAs {\n /**\n * Data-qa tag applied to the content\n */\n content?: string;\n /**\n * Data-qa tag applied to the main modal\n */\n modal?: string;\n /**\n * Data-qa tag applied to the title\n */\n title?: string;\n}\n\nexport interface AoaModalProps {\n /**\n * Any other props passed to the {@link DialogContent}\n */\n readonly DialogContentProps?: DialogContentProps;\n /**\n * Any other props passed to the {@link Dialog}\n */\n readonly DialogProps?: Omit<DialogProps, 'open'>;\n /**\n * Any other props passed to the {@link DialogTitle}\n */\n readonly DialogTitleProps?: DialogTitleProps;\n /**\n * Optional for adding dialog actions below the content\n */\n readonly dialogActions?: ReactNode;\n /**\n * The content to show in the modal\n */\n readonly dialogContent: ReactNode;\n /**\n * Object of data-qa tags to pass to the modal\n */\n readonly modalQas?: AoaModalQAs;\n /**\n * Whether the modal should be opened or not\n */\n readonly open: boolean;\n /**\n * Title for the modal\n */\n readonly topic: string;\n}\n\n/**\n * Constructs a modal using pre-defined Rijkswaterstaat styling\n *\n * @param props - Props to pass to the modal - {@link ModalProps}\n * @example\n * ```jsx\n * <AoaModal\n * topic='topic'\n * modalQas={{\n * modal: 'modal',\n * content: 'content',\n * title: 'title',\n * }}\n * dialogContent={<div>SAMPLE</div>}\n * open={true}\n * />\n * ```\n */\nexport function AoaModal({\n DialogProps,\n DialogTitleProps,\n DialogContentProps,\n modalQas,\n open,\n topic,\n dialogContent,\n dialogActions,\n closeAction\n}: AoaModalCloseButtonProps & AoaModalProps) {\n return (\n <Dialog\n {...DialogProps}\n data-qa={modalQas?.modal ?? 'modal'}\n open={Boolean(open)}\n sx={merge(\n {\n '> div > div': {\n borderRadius: 0,\n minWidth: '45vw'\n }\n },\n DialogProps?.sx\n )}\n >\n <DialogTitle\n {...DialogTitleProps}\n data-qa={modalQas?.title ?? 'modal-title'}\n sx={merge(\n {\n padding: '3rem 3rem 1rem',\n color: 'var(--color-rijks-logoblue)',\n fontSize: '1.1rem',\n fontWeight: 'bolder'\n },\n DialogTitleProps?.sx\n )}\n >\n {topic}\n </DialogTitle>\n <AoaModalCloseButton closeAction={closeAction} />\n <DialogContent\n {...DialogContentProps}\n data-qa={modalQas?.content ?? 'modal-content'}\n sx={merge(\n {\n padding: '0 3rem 2rem'\n },\n DialogContentProps?.sx\n )}\n >\n {dialogContent}\n </DialogContent>\n {dialogActions}\n </Dialog>\n );\n}\n"],"names":["AoaModal","t0","$","_c","DialogProps","DialogTitleProps","DialogContentProps","modalQas","open","topic","dialogContent","dialogActions","closeAction","t1","modal","t2","Boolean","t3","sx","merge","borderRadius","minWidth","t4","title","t5","padding","color","fontSize","fontWeight","t6","jsx","DialogTitle","t7","AoaModalCloseButton","t8","content","t9","t10","DialogContent","t11","Dialog"],"mappings":";;;;;AAyEO,SAAAA,EAAAC,GAAA;AAAA,QAAAC,IAAAC,EAAAA,EAAA,EAAA,GAAkB;AAAA,IAAAC,aAAAA;AAAAA,IAAAC,kBAAAA;AAAAA,IAAAC,oBAAAA;AAAAA,IAAAC,UAAAA;AAAAA,IAAAC,MAAAA;AAAAA,IAAAC,OAAAA;AAAAA,IAAAC,eAAAA;AAAAA,IAAAC,eAAAA;AAAAA,IAAAC,aAAAA;AAAAA,EAAAA,IAAAX,GAcVY,IAAAN,GAAQO,SAAR,SACHC,IAAAC,EAAQR;AAAK,MAAAS;AAAA,EAAAf,EAAA,CAAA,MAAAE,GAAAc,MACfD,IAAAE,EAAAA,MACF;AAAA,IAAA,eACiB;AAAA,MAAAC,cACC;AAAA,MAACC,UACL;AAAA,IAAA;AAAA,EACZ,GAEFjB,GAAWc,EACb,GAAChB,EAAA,CAAA,IAAAE,GAAAc,IAAAhB,OAAAe,KAAAA,IAAAf,EAAA,CAAA;AAIU,QAAAoB,IAAAf,GAAQgB,SAAR;AAAgC,MAAAC;AAAA,EA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,QAAAkC,GAAAlC,QAAAmC,KAAAA,IAAAnC,EAAA,EAAA;AAAA,MAAAqC;AAAA,SAAArC,EAAA,EAAA,MAAAE,KAAAF,EAAA,EAAA,MAAAS,KAAAT,EAAA,EAAA,MAAAW,KAAAX,EAAA,EAAA,MAAAmC,KAAAnC,EAAA,EAAA,MAAAa,KAAAb,EAAA,EAAA,MAAAe,KAAAf,EAAA,EAAA,MAAA2B,KAAA3B,UAAA8B,KAzClBO,sBAACC,KAAM,GACDpC,GACK,WAAAS,GACH,MAAAE,GACF,IAAAE,GAUJY,UAAAA;AAAAA,IAAAA;AAAAA,IAeAG;AAAAA,IACAK;AAAAA,IAYC1B;AAAAA,EAAAA,GACH,GAAST,QAAAE,GAAAF,QAAAS,GAAAT,QAAAW,GAAAX,QAAAmC,GAAAnC,QAAAa,GAAAb,QAAAe,GAAAf,QAAA2B,GAAA3B,QAAA8B,GAAA9B,QAAAqC,KAAAA,IAAArC,EAAA,EAAA,GA3CTqC;AA2CS;"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"ModalCloseButton.d.ts","sourceRoot":"","sources":["../../../../src/components/molecules/modal-close-button/ModalCloseButton.tsx"],"names":[],"mappings":"AAGA,MAAM,WAAW,wBAAwB;IACvC;;OAEG;IACH,WAAW,CAAC,IAAI,EAAE,IAAI,GAAG,IAAI,CAAC;CAC/B;AAED,wBAAgB,mBAAmB,CAAC,EAAE,WAAW,EAAE,EAAE,wBAAwB,2CAc5E"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"ModalCloseButton.js","sources":["../../../../src/components/molecules/modal-close-button/ModalCloseButton.tsx"],"sourcesContent":["import { Close as CloseIcon } from '@mui/icons-material';\nimport { AoaIconButton } from '../../atoms/icon-button/IconButton';\n\nexport interface AoaModalCloseButtonProps {\n /**\n * The action to trigger to close this modal\n */\n closeAction(this: void): void;\n}\n\nexport function AoaModalCloseButton({ closeAction }: AoaModalCloseButtonProps) {\n return (\n <AoaIconButton\n icon={<CloseIcon />}\n inline\n label='Modaal sluiten'\n onClick={closeAction}\n sx={{\n position: 'absolute',\n right: 8,\n top: 8\n }}\n />\n );\n}\n"],"names":["AoaModalCloseButton","t0","$","_c","closeAction","t1","Symbol","for","CloseIcon","t2","position","right","top","t3","jsx","AoaIconButton"],"mappings":";;;;AAUO,SAAAA,EAAAC,GAAA;AAAA,QAAAC,IAAAC,EAAAA,EAAA,CAAA,GAA6B;AAAA,IAAAC,aAAAA;AAAAA,EAAAA,IAAAH;AAAyC,MAAAI;AAAA,EAAAH,EAAA,CAAA,MAAAI,OAAAC,IAAA,2BAAA,KAGjEF,sBAACG,GAAA,EAAS,GAAGN,OAAAG,KAAAA,IAAAH,EAAA,CAAA;AAAA,MAAAO;AAAA,EAAAP,EAAA,CAAA,MAAAI,OAAAC,IAAA,2BAAA,KAIfE,IAAA;AAAA,IAAAC,UACQ;AAAA,IAAUC,OACb;AAAA,IAACC,KACH;AAAA,EAAA,GACNV,OAAAO,KAAAA,IAAAP,EAAA,CAAA;AAAA,MAAAW;AAAA,SAAAX,SAAAE,KATHS,IAAA,gBAAAC,EAACC,GAAA,EACO,MAAAV,GACN,QAAA,IACM,OAAA,kBACGD,SAAAA,GACL,IAAAK,EAAAA,CAIH,GACDP,OAAAE,GAAAF,OAAAW,KAAAA,IAAAX,EAAA,CAAA,GAVFW;AAUE;"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"NavigationBar.d.ts","sourceRoot":"","sources":["../../../../src/components/molecules/navigation-bar/NavigationBar.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAe,KAAK,OAAO,EAAE,MAAM,sCAAsC,CAAC;AACjF,OAAO,EAAe,KAAK,UAAU,EAAE,MAAM,sCAAsC,CAAC;AAEpF,MAAM,WAAW,qBAAqB;IACpC;;OAEG;IACH,QAAQ,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAC3B;;OAEG;IACH,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,QAAQ,CAAC,KAAK,EAAE,OAAO,EAAE,CAAC;IAC1B;;OAEG;IACH,QAAQ,CAAC,QAAQ,EAAE,UAAU,EAAE,CAAC;IAChC;;OAEG;IACH,QAAQ,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;CAC5B;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AAEH,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,qBAAqB,2CA2F5D"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"NavigationBar.js","sources":["../../../../src/components/molecules/navigation-bar/NavigationBar.tsx"],"sourcesContent":["import { AppBar, Box, Toolbar } from '@mui/material';\nimport { useLocation } from '@tanstack/react-router';\nimport { merge } from 'lodash';\nimport { useEffect, useState } from 'react';\nimport { FontNormalSxProps } from '../../../_constants';\nimport { AoaMenuItem, type AoaPage } from '../../atoms/_menu/menu-item/MenuItem';\nimport { AoaUserMenu, type AoaSetting } from '../../atoms/_menu/user-menu/UserMenu';\n\nexport interface AoaNavigationBarProps {\n /**\n * If your home page is not on the root url, use this prop to set the home path\n */\n readonly homePath?: string;\n /**\n * The name of the application that will be used for the Home tab\n */\n readonly name: string;\n /**\n * A list of all the pages and optional subpages to be shown in the menu\n */\n readonly pages: AoaPage[];\n /**\n * A list of all the settings to be shown in the menu\n */\n readonly settings: AoaSetting[];\n /**\n * Optional username to be displayed next to the settings menu\n */\n readonly username?: string;\n}\n\n/**\n * Constructs a navigation bar using pre-defined Rijks styling\n *\n * @param props - Props to pass to the navigation bar\n * @example\n * ```jsx\n * <AoaNavigationBar\n * name=\"Demo App\"\n * pages={\n * [\n * {\n * label: \"Products\",\n * to: \"/products\",\n * subItems: [\n * {\n * label: \"Books\",\n * to: \"/books\",\n * icon: <BookIcon />\n * }\n * ]\n * }\n * ]\n * }\n * settings={[{ label: \"Logout\", onClick: () => console.log(\"Logout\") }]}\n * />\n * ```\n */\n\nexport function AoaNavigationBar(props: AoaNavigationBarProps) {\n const [selectedPage, setSelectedPage] = useState<number | null>(null);\n\n const location = useLocation();\n\n useEffect(() => {\n // Find the index of the page that matches the current pathname\n const pageIndexByPathname = props.pages.findIndex(\n (page) =>\n // Check if the main page's path matches the current location\n (page.to && location.pathname.startsWith(page.to)) ||\n // Check if any of the subitems' paths match the current location\n page.subItems?.some((subItem) => subItem.to && location.pathname.startsWith(subItem.to))\n );\n\n // Add 1 because the home page is at index 0 in the MenuItem rendering\n setSelectedPage(pageIndexByPathname >= 0 ? pageIndexByPathname + 1 : 0);\n }, [location.pathname, props.pages]);\n\n return (\n <AppBar\n position='static'\n sx={merge(\n {\n color: 'var(--color-text)',\n backgroundColor: 'var(--color-rijks-yellow)',\n height: '70px',\n boxShadow: 'none'\n },\n FontNormalSxProps\n )}\n >\n <Toolbar\n role='menu'\n sx={{\n height: '100%',\n overflowX: 'scroll',\n scrollbarWidth: 'thin',\n scrollbarColor: '#c5c5c5 #f6f6f6',\n\n '::-webkit-scrollbar': {\n overflow: 'visible',\n borderRadius: '4px',\n width: '6px',\n height: '6px',\n WebkitBorderRadius: '4px'\n },\n\n '::-webkit-scrollbar:hover': {\n background: '#c5c5c5;'\n },\n\n '::-webkit-scrollbar-corner': {\n background: 'rgba(0,0,0,0.5)'\n },\n\n '::-webkit-scrollbar-track': {\n opacity: 0,\n transition: 'all 0.5s',\n WebkitTransition: 'all .5s'\n },\n\n '::-webkit-scrollbar-thumb': {\n overflow: 'visible',\n backgroundColor: '#c5c5c5;',\n borderRadius: '4px',\n border: '3px solid #f6f6f6'\n },\n\n '::-webkit-scrollbar-thumb:vertical': {\n background: 'rgba(100, 100, 100, .5)',\n WebkitBorderRadius: '100px'\n },\n\n '::-webkit-scrollbar-thumb:vertical:active': {\n background: 'rgba(100, 100, 100, .61)',\n WebkitBorderRadius: '100px'\n }\n }}\n tabIndex={0}\n >\n <AoaMenuItem index={0} page={{ label: props.name, to: props.homePath ?? '/' }} selectedPage={selectedPage} setSelectedPage={setSelectedPage} />\n <Box sx={{ flexGrow: 1, display: 'flex', height: '100%' }}>\n {props.pages.map((page, index) => (\n <AoaMenuItem index={index + 1} key={index} page={page} selectedPage={selectedPage} setSelectedPage={setSelectedPage} />\n ))}\n </Box>\n <AoaUserMenu settings={props.settings} username={props.username} />\n </Toolbar>\n </AppBar>\n );\n}\n"],"names":["AoaNavigationBar","props","$","_c","selectedPage","setSelectedPage","useState","location","useLocation","t0","t1","pathname","pages","pageIndexByPathname","findIndex","page","to","startsWith","subItems","some","subItem","useEffect","t2","Symbol","for","merge","color","backgroundColor","height","boxShadow","FontNormalSxProps","t3","overflowX","scrollbarWidth","scrollbarColor","overflow","borderRadius","width","WebkitBorderRadius","background","opacity","transition","WebkitTransition","border","t4","homePath","t5","name","label","t6","AoaMenuItem","t7","flexGrow","display","t8","t9","page_0","index","jsx","map","Box","t10","settings","username","AoaUserMenu","t11","AppBar","jsxs","Toolbar"],"mappings":";;;;;;;;;AA2DO,SAAAA,EAAAC,GAAA;AAAA,QAAAC,IAAAC,EAAAA,EAAA,EAAA,GACL,CAAAC,GAAAC,CAAA,IAAwCC,EAAwB,IAAI,GAEpEC,IAAiBC,EAAAA;AAAc,MAAAC,GAAAC;AAAA,EAAAR,EAAA,CAAA,MAAAK,EAAAI,YAAAT,EAAA,CAAA,MAAAD,EAAAW,SAErBH,IAAAA,MAAA;AAER,UAAAI,IAA4BZ,EAAKW,MAAME,UACrCC,CAAAA,MAEGA,EAAIC,MAAOT,EAAQI,SAASM,WAAYF,EAAIC,EAAG,KAEhDD,EAAIG,UAAeC,KAACC,CAAAA,MAAaA,EAAOJ,MAAOT,EAAQI,SAASM,WAAYG,EAAOJ,EAAG,CAAC,CAC3F;AAGAX,IAAAA,EAAgBQ,KAAuB,IAAIA,IAAsB,IAAjD,CAAsD;AAAA,EAAC,GACtEH,IAAA,CAACH,EAAQI,UAAWV,EAAKW,KAAM,GAACV,EAAA,CAAA,IAAAK,EAAAI,UAAAT,EAAA,CAAA,IAAAD,EAAAW,OAAAV,OAAAO,GAAAP,OAAAQ,MAAAD,IAAA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AAAD,EAAA6D,YAAA5D,EAAA,EAAA,MAAAD,EAAA8D,YACNF,sBAACG,GAAA,EAAsB,UAAA/D,EAAK6D,UAAqB,UAAA7D,EAAK8D,UAAS,GAAI7D,EAAA,EAAA,IAAAD,EAAA6D,UAAA5D,EAAA,EAAA,IAAAD,EAAA8D,UAAA7D,QAAA2D,KAAAA,IAAA3D,EAAA,EAAA;AAAA,MAAA+D;AAAA,SAAA/D,EAAA,EAAA,MAAA2D,KAAA3D,UAAA+C,KAAA/C,EAAA,EAAA,MAAAqD,KAnEvEU,IAAA,gBAAAP,EAACQ,GAAA,EACU,UAAA,UACL,IAAA5C,GAUJ,UAAA,gBAAA6C,EAACC,GAAA,EACM,MAAA,QACD,IAAArC,GA6CM,aAEVkB,UAAAA;AAAAA,IAAAA;AAAAA,IACAM;AAAAA,IAKAM;AAAAA,EAAAA,EAAAA,CACF,EAAA,CACF,GAAS3D,QAAA2D,GAAA3D,QAAA+C,GAAA/C,QAAAqD,GAAArD,QAAA+D,KAAAA,IAAA/D,EAAA,EAAA,GArET+D;AAqES;"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"NoLabelNumberField.d.ts","sourceRoot":"","sources":["../../../../src/components/molecules/no-label-number-field/NoLabelNumberField.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAOpD;;;;;;GAMG;AACH,MAAM,WAAW,0BAA0B;IACzC;;;;OAIG;IACH,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,CAAC;IAC5B;;;;OAIG;IACH,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IAEzB;;;;OAIG;IACH,QAAQ,CAAC,UAAU,CAAC,EAAE,OAAO,CAAC;IAC9B;;;;OAIG;IACH,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B;;;;OAIG;IACH,QAAQ,CAAC,WAAW,CAAC,EAAE,gBAAgB,CAAC;IACxC;;;;OAIG;IAC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,eAAe,CAAC,KAAK,EAAE,EACrC,WAAW,EACX,UAAU,EACV,QAAQ,EACR,EAAE,EACF,eAAe,EACf,IAAI,EACJ,KAAK,EACL,cAAc,EACd,OAAO,EACP,GAAG,KAAK,EACT,EAAE,iBAAiB,CAAC,oBAAoB,CAAC,KAAK,CAAC,CAAC,2CAkBhD"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"UploadButton.js","sources":["../../../../src/components/molecules/upload-button/UploadButton.tsx"],"sourcesContent":["import { CircularProgress } from '@mui/material';\nimport { merge } from 'lodash';\nimport type { PropsWithChildren } from 'react';\nimport { AoaButton, type AoaButtonProps } from '../../atoms/button/Button';\n\nexport interface AoaUploadButtonProps<TData> extends Omit<AoaButtonProps, 'disabled' | 'startIcon' | 'type'> {\n /**\n * The files that should be checked, required if {@link AoaUploadButtonProps.noFilesAllowed} is `false`\n */\n readonly files?: TData[];\n /**\n * Whether the button should be disabled\n */\n readonly isDisabled?: boolean;\n /**\n * Whether the button should never be disabled.\n * - If `true` the button never goes into a `disabled` state, regardless of other conditions\n * - If `false` the button will be disabled if there are no files provided\n * (through {@link AoaUploadButtonProps.files | `files`}), or the upload progress is running\n */\n readonly isNeverDisabled?: boolean;\n\n /**\n * Whether the upload process is running. This controls whether a spinner is shown and the button is disabled\n */\n readonly isUploading: boolean;\n /**\n * The action to change {@link AoaUploadButtonProps.isUploading | `isUploading`} to `true`\n *\n * @param newState - The new state of the `isUploading` flag\n */\n setIsUploading(this: void, newState: boolean): void;\n\n /**\n * The type of the button. This _cannot_ be a `text` style button like the base {@link AoaButton}\n */\n readonly type?: 'primary' | 'secondary';\n}\n\nexport function AoaUploadButton<TData>({\n isUploading,\n isDisabled,\n children,\n sx,\n isNeverDisabled,\n type,\n files,\n setIsUploading,\n onClick,\n ...props\n}: PropsWithChildren<AoaUploadButtonProps<TData>>) {\n return (\n <AoaButton\n {...props}\n disabled={isNeverDisabled ? false : Boolean(isDisabled) || isUploading || Object.keys(files ?? []).length < 1}\n loading={isUploading}\n loadingIndicator={<CircularProgress aria-label='Uploading...' size={20} />}\n loadingPosition='start'\n onClick={(event) => {\n setIsUploading(true);\n onClick?.(event);\n }}\n sx={merge({ marginRight: 0 }, sx)}\n type={type ?? 'primary'}\n >\n {children}\n </AoaButton>\n );\n}\n"],"names":["AoaUploadButton","t0","$","_c","children","files","isDisabled","isNeverDisabled","isUploading","onClick","props","setIsUploading","sx","type","t1","Boolean","Object","keys","length","t2","Symbol","for","jsx","CircularProgress","t3","event","t4","merge","marginRight","t5","t6","AoaButton"],"mappings":";;;;;AAuCO,SAAAA,EAAAC,GAAA;AAAA,QAAAC,IAAAC,EAAAA,EAAA,EAAA;AAAA,MAAAC,GAAAC,GAAAC,GAAAC,GAAAC,GAAAC,GAAAC,GAAAC,GAAAC,GAAAC;AAAA,EAAAX,SAAAD,KAAgC;AAAA,IAAAO,aAAAA;AAAAA,IAAAF,YAAAA;AAAAA,IAAAF,UAAAA;AAAAA,IAAAQ,IAAAA;AAAAA,IAAAL,iBAAAA;AAAAA,IAAAM,MAAAA;AAAAA,IAAAR,OAAAA;AAAAA,IAAAM,gBAAAA;AAAAA,IAAAF,SAAAA;AAAAA,IAAA,GAAAC;AAAAA,EAAAA,IAAAT,GAWUC,OAAAD,GAAAC,OAAAE,GAAAF,OAAAG,GAAAH,OAAAI,GAAAJ,OAAAK,GAAAL,OAAAM,GAAAN,OAAAO,GAAAP,OAAAQ,GAAAR,OAAAS,GAAAT,OAAAU,GAAAV,QAAAW,MAAAT,IAAAF,EAAA,CAAA,GAAAG,IAAAH,EAAA,CAAA,GAAAI,IAAAJ,EAAA,CAAA,GAAAK,IAAAL,EAAA,CAAA,GAAAM,IAAAN,EAAA,CAAA,GAAAO,IAAAP,EAAA,CAAA,GAAAQ,IAAAR,EAAA,CAAA,GAAAS,IAAAT,EAAA,CAAA,GAAAU,IAAAV,EAAA,CAAA,GAAAW,IAAAX,EAAA,EAAA;AAAA,MAAAY;AAAA,EAAAZ,EAAA,EAAA,MAA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AAF,QAAAM,GAAAN,QAAAQ,GAAAR,QAAAY,GAAAZ,QAAAsB,GAAAtB,QAAAwB,GAAAxB,QAAA2B,GAAA3B,QAAA4B,KAAAA,IAAA5B,EAAA,EAAA,GAdZ4B;AAcY;"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"ContentPage.d.ts","sourceRoot":"","sources":["../../../../src/components/organisms/content-page/ContentPage.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAC/C,OAAO,EAAoB,KAAK,qBAAqB,EAAE,MAAM,0CAA0C,CAAC;AAExG,MAAM,WAAW,mBAAmB;IAClC;;OAEG;IACH,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,kBAAkB,EAAE,qBAAqB,CAAC;CACpD;AAED;;;;;;;;GAQG;AACH,wBAAgB,cAAc,CAAC,EAAE,QAAQ,EAAE,kBAAkB,EAAE,GAAG,KAAK,EAAE,EAAE,iBAAiB,CAAC,mBAAmB,CAAC,2CAShH"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"ContentPage.js","sources":["../../../../src/components/organisms/content-page/ContentPage.tsx"],"sourcesContent":["import { Box, Container } from '@mui/material';\nimport type { PropsWithChildren } from 'react';\nimport { AoaSectionHeader, type AoaSectionHeaderProps } from '../../atoms/section-header/SectionHeader';\n\nexport interface AoaContentPageProps {\n /**\n * Data-qa tag for E2E test purposes\n */\n readonly 'data-qa'?: string;\n readonly sectionHeaderProps: AoaSectionHeaderProps;\n}\n\n/**\n * Constructs a basic page with a section header using pre-defined Rijks styling\n *\n * @param props - Props to pass to the content page\n * @example\n * ```jsx\n * <AoaContentPage sectionHeaderProps={{ title: \"This is a title\" }}>I am a child!</AoaContentPage>\n * ```\n */\nexport function AoaContentPage({ children, sectionHeaderProps, ...props }: PropsWithChildren<AoaContentPageProps>) {\n return (\n <Container maxWidth='xl'>\n <Box data-qa={props['data-qa']} marginTop='calc(8 * 4px)'>\n <AoaSectionHeader {...sectionHeaderProps} />\n {children}\n </Box>\n </Container>\n );\n}\n"],"names":["AoaContentPage","t0","$","_c","children","props","sectionHeaderProps","t1","t2","jsx","AoaSectionHeader","t3","Container","Box"],"mappings":";;;;AAqBO,SAAAA,EAAAC,GAAA;AAAA,QAAAC,IAAAC,EAAAA,EAAA,EAAA;AAAA,MAAAC,GAAAC,GAAAC;AAAA,EAAAJ,SAAAD,KAAwB;AAAA,IAAAG,UAAAA;AAAAA,IAAAE,oBAAAA;AAAAA,IAAA,GAAAD;AAAAA,EAAAA,IAAAJ,GAAkFC,OAAAD,GAAAC,OAAAE,GAAAF,OAAAG,GAAAH,OAAAI,MAAAF,IAAAF,EAAA,CAAA,GAAAG,IAAAH,EAAA,CAAA,GAAAI,IAAAJ,EAAA,CAAA;AAG7F,QAAAK,IAAAF,EAAM,SAAS;AAAC,MAAAG;AAAA,EAAAN,SAAAI,KAC5BE,IAAA,gBAAAC,EAACC,GAAA,EAAgB,GAAKJ,EAAAA,CAAkB,GAAIJ,OAAAI,GAAAJ,OAAAM,KAAAA,IAAAN,EAAA,CAAA;AAAA,MAAAS;AAAA,SAAAT,EAAA,CAAA,MAAAE,KAAAF,SAAAK,KAAAL,EAAA,CAAA,MAAAM,KAFhDG,IAAA,gBAAAF,EAACG,KAAmB,UAAA,MAClB,4BAACC,GAAA,EAAa,WAAAN,GAA4B,WAAA,iBACxCC,UAAAA;AAAAA,IAAAA;AAAAA,IACCJ;AAAAA,EAAAA,EAAAA,CACH,EAAA,CACF,GAAYF,OAAAE,GAAAF,OAAAK,GAAAL,OAAAM,GAAAN,OAAAS,KAAAA,IAAAT,EAAA,CAAA,GALZS;AAKY;"}