@dso-toolkit/core 45.2.0 → 46.0.0

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 (343) hide show
  1. package/dist/cjs/clsx.m-b81c6b86.js +5 -0
  2. package/dist/cjs/{create-identifier-fa070b11.js → create-identifier-6ee2a08b.js} +1 -3
  3. package/dist/cjs/dso-accordion-section.cjs.entry.js +37 -33
  4. package/dist/cjs/dso-accordion.cjs.entry.js +17 -19
  5. package/dist/cjs/dso-alert.cjs.entry.js +10 -8
  6. package/dist/cjs/dso-attachments-counter.cjs.entry.js +4 -3
  7. package/dist/cjs/dso-autosuggest.cjs.entry.js +36 -61
  8. package/dist/cjs/dso-badge.cjs.entry.js +5 -4
  9. package/dist/cjs/dso-banner.cjs.entry.js +5 -4
  10. package/dist/cjs/dso-date-picker.cjs.entry.js +88 -128
  11. package/dist/cjs/dso-dropdown-menu.cjs.entry.js +9 -21
  12. package/dist/cjs/dso-header.cjs.entry.js +23 -29
  13. package/dist/cjs/dso-helpcenter-panel.cjs.entry.js +22 -21
  14. package/dist/cjs/dso-highlight-box.cjs.entry.js +16 -11
  15. package/dist/cjs/dso-icon.cjs.entry.js +389 -385
  16. package/dist/cjs/dso-image-overlay.cjs.entry.js +13 -13
  17. package/dist/cjs/dso-info-button.cjs.entry.js +7 -5
  18. package/dist/cjs/dso-info_2.cjs.entry.js +22 -9
  19. package/dist/cjs/dso-label.cjs.entry.js +30 -18
  20. package/dist/cjs/dso-map-base-layers.cjs.entry.js +7 -8
  21. package/dist/cjs/dso-map-controls.cjs.entry.js +10 -8
  22. package/dist/cjs/dso-map-overlays.cjs.entry.js +7 -8
  23. package/dist/cjs/dso-modal.cjs.entry.js +62 -0
  24. package/dist/cjs/dso-ozon-content.cjs.entry.js +110 -146
  25. package/dist/cjs/dso-pagination.cjs.entry.js +22 -28
  26. package/dist/cjs/dso-progress-bar.cjs.entry.js +3 -2
  27. package/dist/cjs/dso-progress-indicator.cjs.entry.js +11 -8
  28. package/dist/cjs/dso-responsive-element.cjs.entry.js +13 -10
  29. package/dist/cjs/dso-table.cjs.entry.js +17 -17
  30. package/dist/cjs/dso-toggletip.cjs.entry.js +9 -7
  31. package/dist/cjs/dso-toolkit.cjs.js +3 -3
  32. package/dist/cjs/dso-tooltip.cjs.entry.js +103 -104
  33. package/dist/cjs/dso-tree-view.cjs.entry.js +39 -44
  34. package/dist/cjs/dso-viewer-grid.cjs.entry.js +31 -32
  35. package/dist/cjs/{focus-trap.esm-e2addb10.js → focus-trap.esm-d83fd673.js} +1 -1
  36. package/dist/cjs/{index-4066351a.js → index-ecec64a0.js} +486 -500
  37. package/dist/cjs/{index.esm-50325ea2.js → index.esm-03a9e0b4.js} +50 -112
  38. package/dist/cjs/loader.cjs.js +3 -3
  39. package/dist/cjs/v4-abb5dc0c.js +68 -0
  40. package/dist/collection/collection-manifest.json +3 -2
  41. package/dist/collection/components/accordion/accordion.js +183 -174
  42. package/dist/collection/components/accordion/components/accordion-section.css +19 -11
  43. package/dist/collection/components/accordion/components/accordion-section.js +211 -211
  44. package/dist/collection/components/alert/alert.js +58 -53
  45. package/dist/collection/components/attachments-counter/attachments-counter.js +36 -33
  46. package/dist/collection/components/autosuggest/autosuggest.js +223 -240
  47. package/dist/collection/components/badge/badge.js +37 -29
  48. package/dist/collection/components/banner/banner.js +37 -29
  49. package/dist/collection/components/date-picker/date-localization.js +24 -45
  50. package/dist/collection/components/date-picker/date-picker-day.js +3 -5
  51. package/dist/collection/components/date-picker/date-picker-month.js +2 -10
  52. package/dist/collection/components/date-picker/date-picker.js +386 -436
  53. package/dist/collection/components/date-picker/date-utils.js +15 -15
  54. package/dist/collection/components/dropdown-menu/dropdown-menu.js +73 -82
  55. package/dist/collection/components/header/header.js +210 -246
  56. package/dist/collection/components/helpcenter-panel/helpcenter-panel.js +94 -90
  57. package/dist/collection/components/highlight-box/highlight-box.js +112 -101
  58. package/dist/collection/components/icon/icon.js +220 -209
  59. package/dist/collection/components/image-overlay/image-overlay.js +38 -44
  60. package/dist/collection/components/info/info.js +73 -65
  61. package/dist/collection/components/info-button/info-button.js +113 -102
  62. package/dist/collection/components/label/label.js +151 -140
  63. package/dist/collection/components/map-base-layers/map-base-layers.js +75 -74
  64. package/dist/collection/components/map-controls/map-controls.js +115 -116
  65. package/dist/collection/components/map-overlays/map-overlays.js +75 -74
  66. package/dist/collection/components/modal/modal.css +155 -0
  67. package/dist/collection/components/modal/modal.js +133 -0
  68. package/dist/collection/components/ozon-content/get-node-name.function.js +2 -2
  69. package/dist/collection/components/ozon-content/nodes/al.node.js +6 -8
  70. package/dist/collection/components/ozon-content/nodes/document.node.js +2 -2
  71. package/dist/collection/components/ozon-content/nodes/ext-ref.node.js +4 -9
  72. package/dist/collection/components/ozon-content/nodes/fallback.node.js +4 -4
  73. package/dist/collection/components/ozon-content/nodes/figuur.node.js +20 -32
  74. package/dist/collection/components/ozon-content/nodes/inhoud.node.js +2 -6
  75. package/dist/collection/components/ozon-content/nodes/inline-tekst-afbeelding.node.js +3 -6
  76. package/dist/collection/components/ozon-content/nodes/inline.nodes.js +3 -11
  77. package/dist/collection/components/ozon-content/nodes/int-io-ref.node.js +4 -4
  78. package/dist/collection/components/ozon-content/nodes/int-ref.node.js +4 -4
  79. package/dist/collection/components/ozon-content/nodes/lijst.node.js +12 -17
  80. package/dist/collection/components/ozon-content/nodes/noot.node.js +9 -13
  81. package/dist/collection/components/ozon-content/nodes/opschrift.node.js +2 -2
  82. package/dist/collection/components/ozon-content/nodes/table.node/colspec/colspec-mapper.js +11 -11
  83. package/dist/collection/components/ozon-content/nodes/table.node/colspec/colspec.interface.js +0 -1
  84. package/dist/collection/components/ozon-content/nodes/table.node/index.js +1 -1
  85. package/dist/collection/components/ozon-content/nodes/table.node/table-cell.js +8 -8
  86. package/dist/collection/components/ozon-content/nodes/table.node/table-colgroup.js +2 -4
  87. package/dist/collection/components/ozon-content/nodes/table.node/table-rows.js +3 -3
  88. package/dist/collection/components/ozon-content/nodes/table.node/table.node.js +13 -20
  89. package/dist/collection/components/ozon-content/nodes/text.node.js +2 -2
  90. package/dist/collection/components/ozon-content/ozon-content-mapper.js +27 -25
  91. package/dist/collection/components/ozon-content/ozon-content.interfaces.js +0 -1
  92. package/dist/collection/components/ozon-content/ozon-content.js +138 -151
  93. package/dist/collection/components/pagination/pagination.js +118 -125
  94. package/dist/collection/components/progress-bar/progress-bar.js +68 -65
  95. package/dist/collection/components/progress-indicator/progress-indicator.js +76 -70
  96. package/dist/collection/components/responsive-element/responsive-element.js +70 -58
  97. package/dist/collection/components/selectable/selectable.js +260 -243
  98. package/dist/collection/components/table/table.css +48 -61
  99. package/dist/collection/components/table/table.js +70 -81
  100. package/dist/collection/components/toggletip/toggletip.js +94 -87
  101. package/dist/collection/components/tooltip/tooltip.js +252 -254
  102. package/dist/collection/components/tree-view/tree-item.js +5 -19
  103. package/dist/collection/components/tree-view/tree-view.js +151 -139
  104. package/dist/collection/components/viewer-grid/viewer-grid-filterpanel-buttons.js +2 -7
  105. package/dist/collection/components/viewer-grid/viewer-grid.css +4 -4
  106. package/dist/collection/components/viewer-grid/viewer-grid.js +181 -198
  107. package/dist/collection/index.js +2 -2
  108. package/dist/collection/utils/create-identifier.js +1 -3
  109. package/dist/custom-elements/index.d.ts +6 -0
  110. package/dist/custom-elements/index.js +1200 -1335
  111. package/dist/dso-toolkit/dso-toolkit.esm.js +1 -1
  112. package/dist/dso-toolkit/p-0917f18a.entry.js +1 -0
  113. package/dist/dso-toolkit/p-0c8cd0d8.entry.js +1 -0
  114. package/dist/dso-toolkit/p-19323600.entry.js +1 -0
  115. package/dist/dso-toolkit/p-2b83a825.entry.js +1 -0
  116. package/dist/dso-toolkit/p-2fa96ac0.entry.js +1 -0
  117. package/dist/dso-toolkit/p-3635427a.js +5 -0
  118. package/dist/dso-toolkit/p-39a33b89.entry.js +1 -0
  119. package/dist/dso-toolkit/p-3ab4441a.entry.js +1 -0
  120. package/dist/dso-toolkit/p-3bd6cf49.entry.js +1 -0
  121. package/dist/dso-toolkit/p-3ebba0dc.entry.js +1 -0
  122. package/dist/dso-toolkit/p-427f6d90.entry.js +1 -0
  123. package/dist/dso-toolkit/p-44c0bb3e.entry.js +1 -0
  124. package/dist/dso-toolkit/p-4b994946.entry.js +1 -0
  125. package/dist/dso-toolkit/p-5d7f4ff2.js +1 -0
  126. package/dist/dso-toolkit/{p-4070c1e5.js → p-6a1980b4.js} +0 -0
  127. package/dist/dso-toolkit/{p-7b37bd52.js → p-6c543986.js} +0 -0
  128. package/dist/dso-toolkit/p-746dc38a.entry.js +1 -0
  129. package/dist/dso-toolkit/p-76a1428a.entry.js +1 -0
  130. package/dist/dso-toolkit/p-800e1267.entry.js +1 -0
  131. package/dist/dso-toolkit/p-85d516c5.entry.js +1 -0
  132. package/dist/dso-toolkit/{p-22c35db5.js → p-89d262b7.js} +2 -2
  133. package/dist/dso-toolkit/p-8c8286e6.entry.js +1 -0
  134. package/dist/dso-toolkit/p-8f35c8f8.js +2 -0
  135. package/dist/dso-toolkit/p-a4086aa3.entry.js +1 -0
  136. package/dist/dso-toolkit/p-a9baa631.entry.js +1 -0
  137. package/dist/dso-toolkit/p-c4cf2359.entry.js +1 -0
  138. package/dist/dso-toolkit/p-c7ec6e6e.entry.js +1 -0
  139. package/dist/dso-toolkit/p-c9ad94a6.entry.js +1 -0
  140. package/dist/dso-toolkit/p-daba2d98.entry.js +1 -0
  141. package/dist/dso-toolkit/p-dad32839.entry.js +1 -0
  142. package/dist/dso-toolkit/p-dcc74039.entry.js +1 -0
  143. package/dist/dso-toolkit/p-e0a37d82.entry.js +1 -0
  144. package/dist/dso-toolkit/p-e43e39cf.entry.js +1 -0
  145. package/dist/dso-toolkit/p-e8b22546.entry.js +1 -0
  146. package/dist/dso-toolkit/p-ec25868b.entry.js +1 -0
  147. package/dist/dso-toolkit/p-f93b7c7a.entry.js +1 -0
  148. package/dist/dso-toolkit/p-ff72ee4c.entry.js +1 -0
  149. package/dist/esm/clsx.m-25174a58.js +3 -0
  150. package/dist/esm/{create-identifier-22acd3a3.js → create-identifier-51ee50c4.js} +1 -3
  151. package/dist/esm/dso-accordion-section.entry.js +37 -33
  152. package/dist/esm/dso-accordion.entry.js +17 -19
  153. package/dist/esm/dso-alert.entry.js +10 -8
  154. package/dist/esm/dso-attachments-counter.entry.js +4 -3
  155. package/dist/esm/dso-autosuggest.entry.js +36 -61
  156. package/dist/esm/dso-badge.entry.js +5 -4
  157. package/dist/esm/dso-banner.entry.js +5 -4
  158. package/dist/esm/dso-date-picker.entry.js +88 -128
  159. package/dist/esm/dso-dropdown-menu.entry.js +9 -21
  160. package/dist/esm/dso-header.entry.js +23 -29
  161. package/dist/esm/dso-helpcenter-panel.entry.js +22 -21
  162. package/dist/esm/dso-highlight-box.entry.js +16 -11
  163. package/dist/esm/dso-icon.entry.js +389 -385
  164. package/dist/esm/dso-image-overlay.entry.js +13 -13
  165. package/dist/esm/dso-info-button.entry.js +7 -5
  166. package/dist/esm/dso-info_2.entry.js +22 -9
  167. package/dist/esm/dso-label.entry.js +30 -18
  168. package/dist/esm/dso-map-base-layers.entry.js +7 -8
  169. package/dist/esm/dso-map-controls.entry.js +10 -8
  170. package/dist/esm/dso-map-overlays.entry.js +7 -8
  171. package/dist/esm/dso-modal.entry.js +58 -0
  172. package/dist/esm/dso-ozon-content.entry.js +110 -146
  173. package/dist/esm/dso-pagination.entry.js +22 -28
  174. package/dist/esm/dso-progress-bar.entry.js +3 -2
  175. package/dist/esm/dso-progress-indicator.entry.js +11 -8
  176. package/dist/esm/dso-responsive-element.entry.js +13 -10
  177. package/dist/esm/dso-table.entry.js +17 -17
  178. package/dist/esm/dso-toggletip.entry.js +9 -7
  179. package/dist/esm/dso-toolkit.js +3 -3
  180. package/dist/esm/dso-tooltip.entry.js +103 -104
  181. package/dist/esm/dso-tree-view.entry.js +39 -44
  182. package/dist/esm/dso-viewer-grid.entry.js +31 -32
  183. package/dist/esm/{focus-trap.esm-e3b5bde3.js → focus-trap.esm-33203b60.js} +1 -1
  184. package/dist/esm/{index-771c1291.js → index-1a4dda48.js} +486 -500
  185. package/dist/esm/{index.esm-4510c39e.js → index.esm-8fc07ad8.js} +50 -112
  186. package/dist/esm/loader.js +3 -3
  187. package/dist/esm/polyfills/css-shim.js +1 -1
  188. package/dist/esm/v4-d398bde5.js +66 -0
  189. package/dist/types/components/accordion/accordion.d.ts +2 -2
  190. package/dist/types/components/accordion/accordion.interfaces.d.ts +3 -3
  191. package/dist/types/components/accordion/components/accordion-section.d.ts +2 -2
  192. package/dist/types/components/alert/alert.d.ts +1 -1
  193. package/dist/types/components/autosuggest/autosuggest.d.ts +3 -3
  194. package/dist/types/components/badge/badge.d.ts +1 -1
  195. package/dist/types/components/banner/banner.d.ts +1 -1
  196. package/dist/types/components/date-picker/date-picker.d.ts +1 -1
  197. package/dist/types/components/header/header.d.ts +2 -2
  198. package/dist/types/components/header/header.interfaces.d.ts +1 -1
  199. package/dist/types/components/helpcenter-panel/helpcenter-panel.d.ts +1 -1
  200. package/dist/types/components/image-overlay/image-overlay.d.ts +1 -1
  201. package/dist/types/components/info/info.d.ts +1 -1
  202. package/dist/types/components/info-button/info-button.d.ts +1 -1
  203. package/dist/types/components/label/label.d.ts +2 -2
  204. package/dist/types/components/map-base-layers/map-base-layers.d.ts +2 -2
  205. package/dist/types/components/map-controls/map-controls.d.ts +2 -2
  206. package/dist/types/components/map-overlays/map-overlays.d.ts +3 -3
  207. package/dist/types/components/modal/modal.d.ts +22 -0
  208. package/dist/types/components/ozon-content/nodes/al.node.d.ts +2 -2
  209. package/dist/types/components/ozon-content/nodes/document.node.d.ts +2 -2
  210. package/dist/types/components/ozon-content/nodes/ext-ref.node.d.ts +2 -2
  211. package/dist/types/components/ozon-content/nodes/fallback.node.d.ts +2 -2
  212. package/dist/types/components/ozon-content/nodes/figuur.node.d.ts +2 -2
  213. package/dist/types/components/ozon-content/nodes/inhoud.node.d.ts +2 -2
  214. package/dist/types/components/ozon-content/nodes/inline-tekst-afbeelding.node.d.ts +1 -1
  215. package/dist/types/components/ozon-content/nodes/inline.nodes.d.ts +2 -2
  216. package/dist/types/components/ozon-content/nodes/int-io-ref.node.d.ts +2 -2
  217. package/dist/types/components/ozon-content/nodes/int-ref.node.d.ts +2 -2
  218. package/dist/types/components/ozon-content/nodes/lijst.node.d.ts +2 -2
  219. package/dist/types/components/ozon-content/nodes/noot.node.d.ts +2 -2
  220. package/dist/types/components/ozon-content/nodes/opschrift.node.d.ts +2 -2
  221. package/dist/types/components/ozon-content/nodes/table.node/colspec/colspec-mapper.d.ts +1 -1
  222. package/dist/types/components/ozon-content/nodes/table.node/index.d.ts +1 -1
  223. package/dist/types/components/ozon-content/nodes/table.node/table-cell.d.ts +3 -3
  224. package/dist/types/components/ozon-content/nodes/table.node/table-colgroup.d.ts +2 -2
  225. package/dist/types/components/ozon-content/nodes/table.node/table-rows.d.ts +3 -3
  226. package/dist/types/components/ozon-content/nodes/table.node/table.node.d.ts +2 -2
  227. package/dist/types/components/ozon-content/nodes/text.node.d.ts +1 -1
  228. package/dist/types/components/ozon-content/ozon-content-context.interface.d.ts +4 -4
  229. package/dist/types/components/ozon-content/ozon-content-mapper.d.ts +2 -1
  230. package/dist/types/components/ozon-content/ozon-content-node-context.interface.d.ts +2 -1
  231. package/dist/types/components/ozon-content/ozon-content-node.interface.d.ts +2 -1
  232. package/dist/types/components/ozon-content/ozon-content.d.ts +5 -4
  233. package/dist/types/components/pagination/pagination.d.ts +3 -3
  234. package/dist/types/components/progress-indicator/progress-indicator.d.ts +1 -1
  235. package/dist/types/components/responsive-element/responsive-element.d.ts +2 -2
  236. package/dist/types/components/responsive-element/responsive-element.interfaces.d.ts +1 -1
  237. package/dist/types/components/selectable/selectable.d.ts +2 -2
  238. package/dist/types/components/table/table.d.ts +2 -2
  239. package/dist/types/components/tooltip/tooltip.d.ts +2 -2
  240. package/dist/types/components/tree-view/tree-item.d.ts +3 -3
  241. package/dist/types/components/tree-view/tree-view.d.ts +5 -5
  242. package/dist/types/components/viewer-grid/viewer-grid-filterpanel-buttons.d.ts +1 -1
  243. package/dist/types/components/viewer-grid/viewer-grid.d.ts +2 -1
  244. package/dist/types/components.d.ts +152 -58
  245. package/dist/types/globals.d.ts +16 -16
  246. package/dist/types/index.d.ts +3 -3
  247. package/dist/types/stencil-public-runtime.d.ts +26 -8
  248. package/loader/package.json +1 -0
  249. package/package.json +15 -16
  250. package/readme.md +3 -3
  251. package/dist/cjs/clsx.m-b00fa5e1.js +0 -44
  252. package/dist/cjs/v4-8e8d6fbc.js +0 -77
  253. package/dist/collection/components/accordion/accordion.template.js +0 -26
  254. package/dist/collection/components/alert/alert.template.js +0 -20
  255. package/dist/collection/components/attachments-counter/attachments-counter.template.js +0 -6
  256. package/dist/collection/components/autosuggest/autosuggest.template.js +0 -19
  257. package/dist/collection/components/badge/badge.template.js +0 -7
  258. package/dist/collection/components/banner/banner.template.js +0 -19
  259. package/dist/collection/components/date-picker/date-picker.template.js +0 -16
  260. package/dist/collection/components/dropdown-menu/dropdown-menu.template.js +0 -36
  261. package/dist/collection/components/header/header.template.js +0 -18
  262. package/dist/collection/components/helpcenter-panel/helpcenter-panel.template.js +0 -13
  263. package/dist/collection/components/highlight-box/highlight-box.template.js +0 -20
  264. package/dist/collection/components/icon/icon.template.js +0 -10
  265. package/dist/collection/components/image-overlay/image-overlay.template.js +0 -15
  266. package/dist/collection/components/info/info.template.js +0 -12
  267. package/dist/collection/components/info-button/info-button.template.js +0 -11
  268. package/dist/collection/components/label/label.template.js +0 -23
  269. package/dist/collection/components/map-controls/map-controls.template.js +0 -23
  270. package/dist/collection/components/ozon-content/ozon-content.template.js +0 -14
  271. package/dist/collection/components/pagination/pagination.template.js +0 -11
  272. package/dist/collection/components/progress-bar/progress-bar.template.js +0 -11
  273. package/dist/collection/components/progress-indicator/progress-indicator.template.js +0 -11
  274. package/dist/collection/components/responsive-element/responsive-element.template.js +0 -10
  275. package/dist/collection/components/selectable/selectable.template.js +0 -24
  276. package/dist/collection/components/table/table.template.js +0 -26
  277. package/dist/collection/components/toggletip/toggletip.template.js +0 -12
  278. package/dist/collection/components/tooltip/tooltip.template.js +0 -7
  279. package/dist/collection/components/tree-view/tree-view.template.js +0 -11
  280. package/dist/collection/components/viewer-grid/viewer-grid.template.js +0 -20
  281. package/dist/dso-toolkit/p-02b2e01c.entry.js +0 -1
  282. package/dist/dso-toolkit/p-05a9e206.entry.js +0 -1
  283. package/dist/dso-toolkit/p-19b890a3.js +0 -1
  284. package/dist/dso-toolkit/p-1a19ce42.entry.js +0 -1
  285. package/dist/dso-toolkit/p-2e74485e.entry.js +0 -1
  286. package/dist/dso-toolkit/p-2f6b1092.entry.js +0 -1
  287. package/dist/dso-toolkit/p-3381c859.entry.js +0 -1
  288. package/dist/dso-toolkit/p-37a34037.entry.js +0 -1
  289. package/dist/dso-toolkit/p-383227b9.entry.js +0 -1
  290. package/dist/dso-toolkit/p-42450cfe.js +0 -1
  291. package/dist/dso-toolkit/p-4c44d27c.entry.js +0 -1
  292. package/dist/dso-toolkit/p-4fd140e9.entry.js +0 -1
  293. package/dist/dso-toolkit/p-53c7bf4f.entry.js +0 -1
  294. package/dist/dso-toolkit/p-662b7663.entry.js +0 -1
  295. package/dist/dso-toolkit/p-67b11174.entry.js +0 -1
  296. package/dist/dso-toolkit/p-6a414479.entry.js +0 -1
  297. package/dist/dso-toolkit/p-6cac0292.entry.js +0 -1
  298. package/dist/dso-toolkit/p-7213783b.entry.js +0 -1
  299. package/dist/dso-toolkit/p-83de460b.entry.js +0 -1
  300. package/dist/dso-toolkit/p-9aaadf4f.entry.js +0 -1
  301. package/dist/dso-toolkit/p-a5a5b24b.entry.js +0 -1
  302. package/dist/dso-toolkit/p-a9b0a83e.entry.js +0 -1
  303. package/dist/dso-toolkit/p-ac0c0eee.entry.js +0 -1
  304. package/dist/dso-toolkit/p-b6afe104.entry.js +0 -1
  305. package/dist/dso-toolkit/p-b9531adb.entry.js +0 -1
  306. package/dist/dso-toolkit/p-d2255268.entry.js +0 -1
  307. package/dist/dso-toolkit/p-de50f5f1.entry.js +0 -1
  308. package/dist/dso-toolkit/p-e16b5d71.entry.js +0 -1
  309. package/dist/dso-toolkit/p-ea1d4c81.entry.js +0 -1
  310. package/dist/dso-toolkit/p-eb326df8.entry.js +0 -1
  311. package/dist/dso-toolkit/p-ec3b8800.entry.js +0 -1
  312. package/dist/dso-toolkit/p-f1b5baf9.entry.js +0 -1
  313. package/dist/dso-toolkit/p-f8b023c4.js +0 -5
  314. package/dist/esm/clsx.m-071989db.js +0 -42
  315. package/dist/esm/v4-fa4bb814.js +0 -75
  316. package/dist/types/components/accordion/accordion.template.d.ts +0 -2
  317. package/dist/types/components/alert/alert.template.d.ts +0 -3
  318. package/dist/types/components/attachments-counter/attachments-counter.template.d.ts +0 -2
  319. package/dist/types/components/autosuggest/autosuggest.template.d.ts +0 -3
  320. package/dist/types/components/badge/badge.template.d.ts +0 -2
  321. package/dist/types/components/banner/banner.template.d.ts +0 -3
  322. package/dist/types/components/date-picker/date-picker.template.d.ts +0 -2
  323. package/dist/types/components/dropdown-menu/dropdown-menu.template.d.ts +0 -2
  324. package/dist/types/components/header/header.template.d.ts +0 -2
  325. package/dist/types/components/helpcenter-panel/helpcenter-panel.template.d.ts +0 -2
  326. package/dist/types/components/highlight-box/highlight-box.template.d.ts +0 -3
  327. package/dist/types/components/icon/icon.template.d.ts +0 -2
  328. package/dist/types/components/image-overlay/image-overlay.template.d.ts +0 -2
  329. package/dist/types/components/info/info.template.d.ts +0 -3
  330. package/dist/types/components/info-button/info-button.template.d.ts +0 -2
  331. package/dist/types/components/label/label.template.d.ts +0 -2
  332. package/dist/types/components/map-controls/map-controls.template.d.ts +0 -2
  333. package/dist/types/components/ozon-content/ozon-content.template.d.ts +0 -2
  334. package/dist/types/components/pagination/pagination.template.d.ts +0 -2
  335. package/dist/types/components/progress-bar/progress-bar.template.d.ts +0 -2
  336. package/dist/types/components/progress-indicator/progress-indicator.template.d.ts +0 -2
  337. package/dist/types/components/responsive-element/responsive-element.template.d.ts +0 -3
  338. package/dist/types/components/selectable/selectable.template.d.ts +0 -3
  339. package/dist/types/components/table/table.template.d.ts +0 -2
  340. package/dist/types/components/toggletip/toggletip.template.d.ts +0 -2
  341. package/dist/types/components/tooltip/tooltip.template.d.ts +0 -2
  342. package/dist/types/components/tree-view/tree-view.template.d.ts +0 -2
  343. package/dist/types/components/viewer-grid/viewer-grid.template.d.ts +0 -3
@@ -2,38 +2,36 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-4066351a.js');
6
- const index_esm = require('./index.esm-50325ea2.js');
5
+ const index = require('./index-ecec64a0.js');
6
+ const index_esm = require('./index.esm-03a9e0b4.js');
7
7
 
8
8
  function getNodeName(node) {
9
9
  if (node instanceof Element) {
10
10
  return node.localName;
11
11
  }
12
- if (node.nodeName.includes(':')) {
13
- return node.nodeName.substring(node.nodeName.indexOf(':') + 1);
12
+ if (node.nodeName.includes(":")) {
13
+ return node.nodeName.substring(node.nodeName.indexOf(":") + 1);
14
14
  }
15
15
  return node.nodeName;
16
16
  }
17
17
 
18
18
  class OzonContentAlNode {
19
19
  constructor() {
20
- this.name = 'Al';
20
+ this.name = "Al";
21
21
  }
22
22
  render(node, { mapNodeToJsx, path }) {
23
- const nestedAl = path.some(node => {
23
+ const nestedAl = path.some((node) => {
24
24
  const nodeName = getNodeName(node);
25
- return nodeName === 'Al' || nodeName === 'Opschrift';
25
+ return nodeName === "Al" || nodeName === "Opschrift";
26
26
  });
27
27
  const content = mapNodeToJsx(node.childNodes);
28
- return nestedAl
29
- ? index.h("span", { role: "paragraph" }, content)
30
- : index.h("p", null, content);
28
+ return nestedAl ? index.h("span", { role: "paragraph" }, content) : index.h("p", null, content);
31
29
  }
32
30
  }
33
31
 
34
32
  class OzonContentDocumentNode {
35
33
  constructor() {
36
- this.name = '#document';
34
+ this.name = "#document";
37
35
  }
38
36
  render(node, { mapNodeToJsx }) {
39
37
  return index.h(index.Fragment, null, mapNodeToJsx(node.childNodes));
@@ -42,13 +40,10 @@ class OzonContentDocumentNode {
42
40
 
43
41
  class OzonContentExtRefNode {
44
42
  constructor() {
45
- this.name = [
46
- 'ExtRef',
47
- 'ExtIoRef'
48
- ];
43
+ this.name = ["ExtRef", "ExtIoRef"];
49
44
  }
50
45
  render(node, { mapNodeToJsx }) {
51
- const href = node.tagName === 'ExtIoRef' ? node.getAttribute('href') : node.getAttribute('ref');
46
+ const href = node.tagName === "ExtIoRef" ? node.getAttribute("href") : node.getAttribute("ref");
52
47
  return (index.h("a", { target: "_blank", rel: "noopener noreferrer", href: href !== null && href !== void 0 ? href : undefined },
53
48
  index.h("span", { class: "sr-only" }, "opent in nieuw venster"),
54
49
  mapNodeToJsx(node.childNodes)));
@@ -58,13 +53,11 @@ class OzonContentExtRefNode {
58
53
  const Bijschrift = ({ bijschrift, bron, mapNodeToJsx }) => {
59
54
  return (index.h("span", { class: "figuur-bijschrift" },
60
55
  bijschrift && bijschrift.inhoud && mapNodeToJsx(bijschrift.inhoud),
61
- bron && (`${bijschrift ? ' ' : ''}(bron: ${mapNodeToJsx(bron)})`)));
56
+ bron && `${bijschrift ? " " : ""}(bron: ${mapNodeToJsx(bron)})`));
62
57
  };
63
58
  class OzonContentFiguurNode {
64
59
  constructor() {
65
- this.name = [
66
- 'Figuur',
67
- ];
60
+ this.name = ["Figuur"];
68
61
  }
69
62
  setImageDimensions(imageElement, schaal) {
70
63
  const { naturalHeight, naturalWidth } = imageElement;
@@ -79,45 +72,42 @@ class OzonContentFiguurNode {
79
72
  render(node, { mapNodeToJsx }) {
80
73
  var _a, _b, _c, _d, _e, _f, _g;
81
74
  const childNodes = Array.from(node.childNodes);
82
- const titel = (_a = childNodes.find(n => getNodeName(n) === 'Titel')) === null || _a === void 0 ? void 0 : _a.textContent;
83
- const bron = (_b = childNodes.find(n => getNodeName(n) === 'Bron')) === null || _b === void 0 ? void 0 : _b.childNodes;
84
- const illustratieNode = childNodes.find(n => getNodeName(n) === 'Illustratie');
85
- const bijschriftNode = childNodes.find(n => getNodeName(n) === 'Bijschrift');
75
+ const titel = (_a = childNodes.find((n) => getNodeName(n) === "Titel")) === null || _a === void 0 ? void 0 : _a.textContent;
76
+ const bron = (_b = childNodes.find((n) => getNodeName(n) === "Bron")) === null || _b === void 0 ? void 0 : _b.childNodes;
77
+ const illustratieNode = childNodes.find((n) => getNodeName(n) === "Illustratie");
78
+ const bijschriftNode = childNodes.find((n) => getNodeName(n) === "Bijschrift");
86
79
  if (illustratieNode instanceof Element) {
87
80
  const illustratie = {
88
- naam: illustratieNode.getAttribute('naam'),
89
- breedte: illustratieNode.getAttribute('breedte'),
90
- hoogte: illustratieNode.getAttribute('hoogte'),
91
- uitlijning: illustratieNode.getAttribute('uitlijning'),
92
- alt: illustratieNode.getAttribute('alt'),
93
- schaal: illustratieNode.getAttribute('schaal'),
81
+ naam: illustratieNode.getAttribute("naam"),
82
+ breedte: illustratieNode.getAttribute("breedte"),
83
+ hoogte: illustratieNode.getAttribute("hoogte"),
84
+ uitlijning: illustratieNode.getAttribute("uitlijning"),
85
+ alt: illustratieNode.getAttribute("alt"),
86
+ schaal: illustratieNode.getAttribute("schaal"),
94
87
  };
95
- const bijschrift = bijschriftNode instanceof Element ? {
96
- inhoud: bijschriftNode.childNodes,
97
- locatie: (_c = bijschriftNode.getAttribute('locatie')) !== null && _c !== void 0 ? _c : 'onder',
98
- }
88
+ const bijschrift = bijschriftNode instanceof Element
89
+ ? {
90
+ inhoud: bijschriftNode.childNodes,
91
+ locatie: (_c = bijschriftNode.getAttribute("locatie")) !== null && _c !== void 0 ? _c : "onder",
92
+ }
99
93
  : undefined;
100
- return (index.h("div", { class: `dso-ozon-figuur ${bijschrift ? `bijschrift-${bijschrift.locatie}` : 'onder'}` },
101
- titel && (index.h("span", { class: "figuur-titel" }, titel)),
102
- (bijschrift === null || bijschrift === void 0 ? void 0 : bijschrift.locatie) === 'boven' && index.h(Bijschrift, { bijschrift: bijschrift, bron: bron, mapNodeToJsx: mapNodeToJsx }),
94
+ return (index.h("div", { class: `dso-ozon-figuur ${bijschrift ? `bijschrift-${bijschrift.locatie}` : "onder"}` },
95
+ titel && index.h("span", { class: "figuur-titel" }, titel),
96
+ (bijschrift === null || bijschrift === void 0 ? void 0 : bijschrift.locatie) === "boven" && (index.h(Bijschrift, { bijschrift: bijschrift, bron: bron, mapNodeToJsx: mapNodeToJsx })),
103
97
  index.h("dso-image-overlay", null,
104
98
  index.h("div", { slot: "titel" },
105
99
  index.h("span", null, titel)),
106
100
  index.h("img", { src: (_d = illustratie.naam) !== null && _d !== void 0 ? _d : undefined, alt: (_g = (_f = (_e = illustratie.alt) !== null && _e !== void 0 ? _e : titel) !== null && _f !== void 0 ? _f : illustratie.naam) !== null && _g !== void 0 ? _g : undefined, onLoad: (event) => this.onImageLoad(event, Number(illustratie.schaal)) }),
107
101
  index.h("div", { slot: "bijschrift" },
108
102
  index.h(Bijschrift, { bijschrift: bijschrift, bron: bron, mapNodeToJsx: mapNodeToJsx }))),
109
- ((bijschrift === null || bijschrift === void 0 ? void 0 : bijschrift.locatie) === 'onder' || (!bijschrift && bron)) && index.h(Bijschrift, { bijschrift: bijschrift, bron: bron, mapNodeToJsx: mapNodeToJsx })));
103
+ ((bijschrift === null || bijschrift === void 0 ? void 0 : bijschrift.locatie) === "onder" || (!bijschrift && bron)) && (index.h(Bijschrift, { bijschrift: bijschrift, bron: bron, mapNodeToJsx: mapNodeToJsx }))));
110
104
  }
111
105
  }
112
106
  }
113
107
 
114
108
  class OzonContentInhoudNode {
115
109
  constructor() {
116
- this.name = [
117
- 'Inhoud',
118
- 'ContainerBlocksType',
119
- 'BlockMixedcontentMetMaximaleInlinesMarkersPopupsType'
120
- ];
110
+ this.name = ["Inhoud", "ContainerBlocksType", "BlockMixedcontentMetMaximaleInlinesMarkersPopupsType"];
121
111
  }
122
112
  render(node, { mapNodeToJsx }) {
123
113
  return index.h("div", { class: "dso-rich-content" }, mapNodeToJsx(node.childNodes));
@@ -126,20 +116,17 @@ class OzonContentInhoudNode {
126
116
 
127
117
  class OzonContentInlineTekstAfbeeldingNode {
128
118
  constructor() {
129
- this.name = [
130
- 'InlineTekstAfbeelding',
131
- 'Illustratie',
132
- ];
119
+ this.name = ["InlineTekstAfbeelding", "Illustratie"];
133
120
  }
134
121
  render(node) {
135
122
  var _a, _b, _c, _d;
136
- return (index.h("img", { src: (_a = node.getAttribute('naam')) !== null && _a !== void 0 ? _a : undefined, alt: (_b = node.getAttribute('naam')) !== null && _b !== void 0 ? _b : undefined, height: (_c = node.getAttribute('hoogte')) !== null && _c !== void 0 ? _c : undefined, width: (_d = node.getAttribute('breedte')) !== null && _d !== void 0 ? _d : undefined }));
123
+ return (index.h("img", { src: (_a = node.getAttribute("naam")) !== null && _a !== void 0 ? _a : undefined, alt: (_b = node.getAttribute("naam")) !== null && _b !== void 0 ? _b : undefined, height: (_c = node.getAttribute("hoogte")) !== null && _c !== void 0 ? _c : undefined, width: (_d = node.getAttribute("breedte")) !== null && _d !== void 0 ? _d : undefined }));
137
124
  }
138
125
  }
139
126
 
140
127
  class OzonContentOpschriftNode {
141
128
  constructor() {
142
- this.name = 'Opschrift';
129
+ this.name = "Opschrift";
143
130
  }
144
131
  render(node, { mapNodeToJsx }) {
145
132
  return index.h(index.Fragment, null, mapNodeToJsx(node.childNodes));
@@ -148,18 +135,10 @@ class OzonContentOpschriftNode {
148
135
 
149
136
  class OzonContentInlineNodes {
150
137
  constructor() {
151
- this.name = [
152
- 'sub',
153
- 'sup',
154
- 'strong',
155
- 'b',
156
- 'u',
157
- 'i',
158
- 'br'
159
- ];
138
+ this.name = ["sub", "sup", "strong", "b", "u", "i", "br"];
160
139
  }
161
140
  render(node, { mapNodeToJsx }) {
162
- if (node.localName === 'br') {
141
+ if (node.localName === "br") {
163
142
  return index.h("br", null);
164
143
  }
165
144
  const Tag = node.localName;
@@ -169,10 +148,10 @@ class OzonContentInlineNodes {
169
148
 
170
149
  class OzonContentIntIoRefNode {
171
150
  constructor() {
172
- this.name = 'IntIoRef';
151
+ this.name = "IntIoRef";
173
152
  }
174
153
  render(node, { mapNodeToJsx, emitAnchorClick }) {
175
- const ref = node.getAttribute('ref');
154
+ const ref = node.getAttribute("ref");
176
155
  if (!ref) {
177
156
  return mapNodeToJsx(node.childNodes);
178
157
  }
@@ -187,7 +166,7 @@ class OzonContentIntIoRefNode {
187
166
  node: this.name,
188
167
  href,
189
168
  documentComponent: ref,
190
- originalEvent: event
169
+ originalEvent: event,
191
170
  });
192
171
  };
193
172
  return (index.h("a", { href: `#${ref}`, onClick: intRefOnClick }, mapNodeToJsx(node.childNodes)));
@@ -196,10 +175,10 @@ class OzonContentIntIoRefNode {
196
175
 
197
176
  class OzonContentIntRefNode {
198
177
  constructor() {
199
- this.name = 'IntRef';
178
+ this.name = "IntRef";
200
179
  }
201
180
  render(node, { mapNodeToJsx, emitAnchorClick }) {
202
- const ref = node.getAttribute('ref');
181
+ const ref = node.getAttribute("ref");
203
182
  if (!ref) {
204
183
  return mapNodeToJsx(node.childNodes);
205
184
  }
@@ -214,7 +193,7 @@ class OzonContentIntRefNode {
214
193
  node: this.name,
215
194
  href,
216
195
  documentComponent: ref,
217
- originalEvent: event
196
+ originalEvent: event,
218
197
  });
219
198
  };
220
199
  return (index.h("a", { href: `#${ref}`, onClick: intRefOnClick }, mapNodeToJsx(node.childNodes)));
@@ -223,27 +202,27 @@ class OzonContentIntRefNode {
223
202
 
224
203
  class OzonContentNootNode {
225
204
  constructor() {
226
- this.name = 'Noot';
227
- this.handles = ['NootNummer'];
205
+ this.name = "Noot";
206
+ this.handles = ["NootNummer"];
228
207
  }
229
208
  identify() {
230
- return 'Noot';
209
+ return "Noot";
231
210
  }
232
211
  render(node, { mapNodeToJsx, state: openNoteId, setState }) {
233
212
  var _a, _b;
234
- const noteId = node.getAttribute('id');
213
+ const noteId = node.getAttribute("id");
235
214
  if (!noteId) {
236
- console.error('Noot node without id', node);
215
+ console.error("Noot node without id", node);
237
216
  return index.h(index.Fragment, null);
238
217
  }
239
218
  const noteControlsId = `dso-ozon-note-${noteId}`;
240
219
  const childNodes = Array.from(node.childNodes);
241
- const nootNummer = (_b = (_a = childNodes.find(n => getNodeName(n) === 'NootNummer')) === null || _a === void 0 ? void 0 : _a.textContent) !== null && _b !== void 0 ? _b : noteId;
220
+ const nootNummer = (_b = (_a = childNodes.find((n) => getNodeName(n) === "NootNummer")) === null || _a === void 0 ? void 0 : _a.textContent) !== null && _b !== void 0 ? _b : noteId;
242
221
  return (index.h(index.Fragment, null,
243
222
  index.h("sup", null,
244
- index.h("button", { type: "button", class: "toggle-note", id: noteControlsId, onClick: () => setState === null || setState === void 0 ? void 0 : setState(openNoteId === noteId ? undefined : noteId), onBlur: () => setState === null || setState === void 0 ? void 0 : setState(undefined), "aria-expanded": openNoteId === noteId ? 'true' : 'false' }, nootNummer)),
223
+ index.h("button", { type: "button", class: "toggle-note", id: noteControlsId, onClick: () => setState === null || setState === void 0 ? void 0 : setState(openNoteId === noteId ? undefined : noteId), onBlur: () => setState === null || setState === void 0 ? void 0 : setState(undefined), "aria-expanded": openNoteId === noteId ? "true" : "false" }, nootNummer)),
245
224
  index.h("dso-tooltip", { active: openNoteId === noteId, for: noteControlsId, stateless: true, descriptive: true },
246
- index.h("span", { role: "section" }, mapNodeToJsx(Array.from(node.querySelectorAll(':scope > Al')))))));
225
+ index.h("span", { role: "section" }, mapNodeToJsx(Array.from(node.querySelectorAll(":scope > Al")))))));
247
226
  }
248
227
  }
249
228
 
@@ -255,52 +234,50 @@ function mapColspecs(count, nodeList) {
255
234
  count,
256
235
  columns: elements.map((element, index) => {
257
236
  var _a;
258
- const colNumber = element.getAttribute('colnum');
237
+ const colNumber = element.getAttribute("colnum");
259
238
  return {
260
- name: (_a = element.getAttribute('colname')) !== null && _a !== void 0 ? _a : '',
239
+ name: (_a = element.getAttribute("colname")) !== null && _a !== void 0 ? _a : "",
261
240
  number: colNumber ? parseInt(colNumber, 10) : index + 1,
262
- width: getWidth(totalWidth, element)
241
+ width: getWidth(totalWidth, element),
263
242
  };
264
- })
243
+ }),
265
244
  };
266
245
  }
267
246
  function getTotalWidth(elements) {
268
247
  return elements.reduce((totalWidth, element) => {
269
248
  var _a, _b;
270
- const width = (_b = (_a = element.getAttribute('colwidth')) === null || _a === void 0 ? void 0 : _a.replace(/[^0-9]/, '')) !== null && _b !== void 0 ? _b : '';
249
+ const width = (_b = (_a = element.getAttribute("colwidth")) === null || _a === void 0 ? void 0 : _a.replace(/[^0-9]/, "")) !== null && _b !== void 0 ? _b : "";
271
250
  const colWidth = parseInt(width, 10);
272
251
  return totalWidth + (isNaN(colWidth) ? 0 : colWidth);
273
252
  }, 0);
274
253
  }
275
254
  function getWidth(totalWidth, element) {
276
- const width = element.getAttribute('colwidth');
255
+ const width = element.getAttribute("colwidth");
277
256
  if (!width) {
278
257
  return undefined;
279
258
  }
280
- if (width === '*') {
281
- return '100%';
259
+ if (width === "*") {
260
+ return "100%";
282
261
  }
283
- if (width.includes('*') || width.match(/^[\d+]$/)) {
284
- const colWidth = parseInt(width.replace(/[^0-9]/, ''), 10);
285
- return `${Math.round(colWidth / totalWidth * 100)}%`;
262
+ if (width.includes("*") || width.match(/^[\d+]$/)) {
263
+ const colWidth = parseInt(width.replace(/[^0-9]/, ""), 10);
264
+ return `${Math.round((colWidth / totalWidth) * 100)}%`;
286
265
  }
287
266
  return width;
288
267
  }
289
268
 
290
- const Colgroup = ({ colspecs }) => (colspecs.columns.length > 0
291
- ? (index.h("colgroup", null, colspecs.columns.map(colspec => (index.h("col", { style: { width: colspec.width } })))))
292
- : index.h(index.Fragment, null));
269
+ const Colgroup = ({ colspecs }) => colspecs.columns.length > 0 ? (index.h("colgroup", null, colspecs.columns.map((colspec) => (index.h("col", { style: { width: colspec.width } }))))) : (index.h(index.Fragment, null));
293
270
 
294
271
  function getData(cell) {
295
272
  return {
296
- moreRows: cell.getAttribute('morerows'),
297
- nameStart: cell.getAttribute('namest'),
298
- nameEnd: cell.getAttribute('nameend')
273
+ moreRows: cell.getAttribute("morerows"),
274
+ nameStart: cell.getAttribute("namest"),
275
+ nameEnd: cell.getAttribute("nameend"),
299
276
  };
300
277
  }
301
278
  function getColspan({ columns }, nameStart, nameEnd) {
302
- const colspecStart = columns.find(c => c.name === nameStart);
303
- const colspecEnd = columns.find(c => c.name === nameEnd);
279
+ const colspecStart = columns.find((c) => c.name === nameStart);
280
+ const colspecEnd = columns.find((c) => c.name === nameEnd);
304
281
  if (!colspecStart || !colspecEnd) {
305
282
  return undefined;
306
283
  }
@@ -311,38 +288,38 @@ const Cell = ({ context: { mapNodeToJsx }, colspecs, cell }) => {
311
288
  const { moreRows, nameStart, nameEnd } = getData(cell);
312
289
  const td = {
313
290
  rowSpan: moreRows ? parseInt(moreRows, 10) + 1 : undefined,
314
- colSpan: colspecs && nameStart && nameEnd ? getColspan(colspecs, nameStart, nameEnd) : undefined
291
+ colSpan: colspecs && nameStart && nameEnd ? getColspan(colspecs, nameStart, nameEnd) : undefined,
315
292
  };
316
- return (index.h("td", Object.assign({}, td), mapNodeToJsx(cell.childNodes)));
293
+ return index.h("td", Object.assign({}, td), mapNodeToJsx(cell.childNodes));
317
294
  };
318
295
 
319
296
  const Rows = ({ context, colspecs, rows }) => {
320
- return (index.h(index.Fragment, null, rows.map(row => (index.h("tr", null, Array.from(row.children).map(cell => (index.h(Cell, { cell: cell, colspecs: colspecs, context: context }))))))));
297
+ return (index.h(index.Fragment, null, rows.map((row) => (index.h("tr", null, Array.from(row.children).map((cell) => (index.h(Cell, { cell: cell, colspecs: colspecs, context: context }))))))));
321
298
  };
322
299
 
323
300
  function mapData(node) {
324
301
  var _a, _b, _c;
325
- const tgroup = node.querySelector(':scope > tgroup');
326
- const colAttribute = (_a = tgroup === null || tgroup === void 0 ? void 0 : tgroup.getAttribute('cols')) !== null && _a !== void 0 ? _a : undefined;
302
+ const tgroup = node.querySelector(":scope > tgroup");
303
+ const colAttribute = (_a = tgroup === null || tgroup === void 0 ? void 0 : tgroup.getAttribute("cols")) !== null && _a !== void 0 ? _a : undefined;
327
304
  const columnCount = colAttribute ? parseInt(colAttribute, 10) : undefined;
328
305
  return {
329
- caption: (_c = (_b = node.querySelector(':scope > title')) === null || _b === void 0 ? void 0 : _b.textContent) !== null && _c !== void 0 ? _c : undefined,
330
- colspecs: tgroup && columnCount ? mapColspecs(columnCount, tgroup.querySelectorAll(':scope > colspec')) : undefined,
331
- headRows: Array.from(node.querySelectorAll(':scope > tgroup > thead > row')),
332
- bodyRows: Array.from(node.querySelectorAll(':scope > tgroup > tbody > row'))
306
+ caption: (_c = (_b = node.querySelector(":scope > title")) === null || _b === void 0 ? void 0 : _b.textContent) !== null && _c !== void 0 ? _c : undefined,
307
+ colspecs: tgroup && columnCount ? mapColspecs(columnCount, tgroup.querySelectorAll(":scope > colspec")) : undefined,
308
+ headRows: Array.from(node.querySelectorAll(":scope > tgroup > thead > row")),
309
+ bodyRows: Array.from(node.querySelectorAll(":scope > tgroup > tbody > row")),
333
310
  };
334
311
  }
335
312
  class OzonContentTableNode {
336
313
  constructor() {
337
- this.name = 'table';
338
- this.handles = ['title', 'tgroup', 'colspec', 'thead', 'tbody', 'row', 'cell'];
314
+ this.name = "table";
315
+ this.handles = ["title", "tgroup", "colspec", "thead", "tbody", "row", "cell"];
339
316
  }
340
317
  render(node, context) {
341
318
  const { caption, colspecs, headRows, bodyRows } = mapData(node);
342
319
  return (index.h("dso-table", null,
343
320
  index.h("table", { class: "table" },
344
- caption && (index.h("caption", null, caption)),
345
- colspecs && (index.h(Colgroup, { colspecs: colspecs })),
321
+ caption && index.h("caption", null, caption),
322
+ colspecs && index.h(Colgroup, { colspecs: colspecs }),
346
323
  headRows.length > 0 && (index.h("thead", null,
347
324
  index.h(Rows, { rows: headRows, colspecs: colspecs, context: context }))),
348
325
  bodyRows.length > 0 && (index.h("tbody", null,
@@ -352,7 +329,7 @@ class OzonContentTableNode {
352
329
 
353
330
  class OzonContentTextNode {
354
331
  constructor() {
355
- this.name = '#text';
332
+ this.name = "#text";
356
333
  }
357
334
  render(node) {
358
335
  return index.h(index.Fragment, null, node.textContent);
@@ -362,32 +339,32 @@ class OzonContentTextNode {
362
339
  class OzonContentFallbackNode {
363
340
  constructor() {
364
341
  // This name does not match any elements
365
- this.name = ['<fallback>'];
342
+ this.name = ["<fallback>"];
366
343
  }
367
344
  render(node, { mapNodeToJsx }) {
368
- return (index.h("span", { class: `fallback od-${getNodeName(node)}` }, mapNodeToJsx(node.childNodes)));
345
+ return index.h("span", { class: `fallback od-${getNodeName(node)}` }, mapNodeToJsx(node.childNodes));
369
346
  }
370
347
  }
371
348
 
372
349
  class OzonContentLijstNode {
373
350
  constructor() {
374
- this.name = 'Lijst';
351
+ this.name = "Lijst";
375
352
  }
376
353
  render(node, { mapNodeToJsx }) {
377
354
  var _a;
378
355
  const childNodes = Array.from(node.childNodes);
379
- const aanhef = childNodes.find(n => getNodeName(n) === 'Lijstaanhef');
380
- const sluiting = childNodes.find(n => getNodeName(n) === 'Lijstsluiting');
381
- const listItems = childNodes.filter(n => getNodeName(n) === 'Li');
356
+ const aanhef = childNodes.find((n) => getNodeName(n) === "Lijstaanhef");
357
+ const sluiting = childNodes.find((n) => getNodeName(n) === "Lijstsluiting");
358
+ const listItems = childNodes.filter((n) => getNodeName(n) === "Li");
382
359
  return (index.h("div", { class: "dso-ozon-lijst od-Lijst" },
383
360
  aanhef && mapNodeToJsx(aanhef),
384
- index.h("ul", { class: (_a = node.getAttribute('type')) !== null && _a !== void 0 ? _a : '' }, listItems.map(item => {
361
+ index.h("ul", { class: (_a = node.getAttribute("type")) !== null && _a !== void 0 ? _a : "" }, listItems.map((item) => {
385
362
  var _a;
386
363
  const itemNodes = Array.from(item.childNodes);
387
- const liNummer = (_a = itemNodes.find(n => getNodeName(n) === 'LiNummer')) === null || _a === void 0 ? void 0 : _a.textContent;
364
+ const liNummer = (_a = itemNodes.find((n) => getNodeName(n) === "LiNummer")) === null || _a === void 0 ? void 0 : _a.textContent;
388
365
  return (index.h("li", { class: "od-Li" },
389
366
  liNummer && index.h("span", { class: "od-LiNummer" }, liNummer),
390
- mapNodeToJsx(itemNodes.filter(n => getNodeName(n) !== 'LiNummer'))));
367
+ mapNodeToJsx(itemNodes.filter((n) => getNodeName(n) !== "LiNummer"))));
391
368
  })),
392
369
  sluiting && mapNodeToJsx(sluiting)));
393
370
  }
@@ -425,20 +402,20 @@ class Mapper {
425
402
  if (this.skip.includes(name)) {
426
403
  return undefined;
427
404
  }
428
- return (_a = this.mappers.find(m => {
405
+ return ((_a = this.mappers.find((m) => {
429
406
  if (Array.isArray(m.name)) {
430
407
  return m.name.includes(name);
431
408
  }
432
409
  return m.name === name;
433
- })) !== null && _a !== void 0 ? _a : this.fallbackNode;
410
+ })) !== null && _a !== void 0 ? _a : this.fallbackNode);
434
411
  }
435
412
  mapNodeToJsx(node, context, path) {
436
413
  var _a;
437
414
  if (node instanceof NodeList) {
438
- return index.h(index.Fragment, null, Array.from(node).map(n => this.mapNodeToJsx(n, context, path)));
415
+ return index.h(index.Fragment, null, Array.from(node).map((n) => this.mapNodeToJsx(n, context, path)));
439
416
  }
440
417
  if (Array.isArray(node)) {
441
- return index.h(index.Fragment, null, node.map(n => this.mapNodeToJsx(n, context, path)));
418
+ return index.h(index.Fragment, null, node.map((n) => this.mapNodeToJsx(n, context, path)));
442
419
  }
443
420
  const nodeName = getNodeName(node);
444
421
  const mapper = this.findMapper(nodeName);
@@ -447,18 +424,20 @@ class Mapper {
447
424
  }
448
425
  const identity = (_a = mapper.identify) === null || _a === void 0 ? void 0 : _a.call(mapper, node);
449
426
  const state = identity ? context.state[identity] : undefined;
450
- const setState = identity ? (state) => context.setState(Object.assign(Object.assign({}, context.state), { [identity]: state })) : undefined;
427
+ const setState = identity
428
+ ? (state) => context.setState(Object.assign(Object.assign({}, context.state), { [identity]: state }))
429
+ : undefined;
451
430
  return mapper.render(node, {
452
- mapNodeToJsx: n => this.mapNodeToJsx(n, context, [...path, node]),
431
+ mapNodeToJsx: (n) => this.mapNodeToJsx(n, context, [...path, node]),
453
432
  emitAnchorClick: context.emitAnchorClick,
454
433
  setState,
455
434
  state,
456
- path
435
+ path,
457
436
  });
458
437
  }
459
438
  transform(xml, context) {
460
439
  if (!this.cache || this.cache.xml !== xml) {
461
- this.cache = { xml, document: this.domParser.parseFromString(xml, 'text/xml') };
440
+ this.cache = { xml, document: this.domParser.parseFromString(xml, "text/xml") };
462
441
  }
463
442
  const xmlDocument = this.cache.document;
464
443
  return this.mapNodeToJsx(xmlDocument.getRootNode(), context, []);
@@ -467,39 +446,24 @@ class Mapper {
467
446
 
468
447
  const ozonContentCss = ".sc-dso-ozon-content-h:not([inline]) {\n display: block;\n}\n\n[inline].sc-dso-ozon-content-h {\n display: inline;\n}\n\n[deleted].sc-dso-ozon-content-h *.sc-dso-ozon-content {\n text-decoration: line-through !important;\n}\n\n[interactive].sc-dso-ozon-content-h {\n background-color: transparent;\n color: #39870c;\n text-decoration: underline;\n cursor: pointer;\n color: #275937;\n font-weight: 600;\n text-decoration: none;\n}\n[interactive].sc-dso-ozon-content-h:hover, [interactive].sc-dso-ozon-content-h:focus {\n color: #676cb0;\n text-decoration: underline;\n}\n[interactive].sc-dso-ozon-content-h:active {\n text-decoration: none;\n}\n\n[interactive=sub].sc-dso-ozon-content-h {\n color: #191919;\n}\n\n.deleted-start.sc-dso-ozon-content, .deleted-end.sc-dso-ozon-content {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n border: 0;\n}\n\nbutton.toggle-note.sc-dso-ozon-content {\n display: inline-block;\n font-size: 1em;\n font-weight: 500;\n margin-bottom: 0;\n text-decoration: none;\n touch-action: manipulation;\n text-align: left;\n user-select: none;\n vertical-align: middle;\n border: 0;\n color: #39870c;\n line-height: 1;\n padding: 0;\n background-color: transparent;\n}\nbutton.toggle-note.sc-dso-ozon-content:focus, button.toggle-note.sc-dso-ozon-content:focus-visible {\n outline-offset: 2px;\n}\nbutton.toggle-note.sc-dso-ozon-content:active {\n outline: 0;\n}\nbutton.toggle-note[disabled].sc-dso-ozon-content {\n color: #afcf9d;\n}\nbutton.toggle-note[disabled].dso-spinner-left.sc-dso-ozon-content, button.toggle-note[disabled].dso-spinner-right.sc-dso-ozon-content {\n color: #39870c;\n}\nbutton.toggle-note.sc-dso-ozon-content:not([disabled]):hover {\n color: #676cb0;\n text-decoration: underline;\n text-underline-position: under;\n}\nbutton.toggle-note.sc-dso-ozon-content:not([disabled]):active {\n color: #676cb0;\n}\nbutton.toggle-note.btn-align.sc-dso-ozon-content {\n line-height: calc(1.5em - 1px);\n padding: 11px 0;\n position: relative;\n}\nbutton.toggle-note.dso-spinner-left.sc-dso-ozon-content::before {\n background-image: url(\"data:image/svg+xml,%3Csvg class='spinner' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg' %3E%3Cstyle%3E .spinner %7B animation: rotator 8s linear infinite; transform-origin: center; %7D @keyframes rotator %7B 0%25 %7B transform: rotate(0deg); %7D 100%25 %7B transform: rotate(360deg); %7D %7D .path %7B stroke-dasharray: 265; stroke-dashoffset: 0; transform-origin: center; stroke: %2339870c; animation: dash 2s ease-in-out infinite; %7D @keyframes dash %7B 0%25 %7B stroke-dashoffset: 265; %7D 50%25 %7B stroke-dashoffset: 65; transform:rotate(90deg); %7D 100%25 %7B stroke-dashoffset: 265; transform:rotate(360deg); %7D %3C/style%3E%3Ccircle class='path' fill='none' stroke-width='10' stroke-linecap='butt' cx='50' cy='50' r='45'%3E%3C/circle%3E%3C/svg%3E\");\n background-repeat: no-repeat;\n content: \"\";\n display: inline-block;\n height: 24px;\n vertical-align: middle;\n width: 24px;\n margin-right: 8px;\n}\nbutton.toggle-note.dso-spinner-right.sc-dso-ozon-content::after {\n background-image: url(\"data:image/svg+xml,%3Csvg class='spinner' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg' %3E%3Cstyle%3E .spinner %7B animation: rotator 8s linear infinite; transform-origin: center; %7D @keyframes rotator %7B 0%25 %7B transform: rotate(0deg); %7D 100%25 %7B transform: rotate(360deg); %7D %7D .path %7B stroke-dasharray: 265; stroke-dashoffset: 0; transform-origin: center; stroke: %2339870c; animation: dash 2s ease-in-out infinite; %7D @keyframes dash %7B 0%25 %7B stroke-dashoffset: 265; %7D 50%25 %7B stroke-dashoffset: 65; transform:rotate(90deg); %7D 100%25 %7B stroke-dashoffset: 265; transform:rotate(360deg); %7D %3C/style%3E%3Ccircle class='path' fill='none' stroke-width='10' stroke-linecap='butt' cx='50' cy='50' r='45'%3E%3C/circle%3E%3C/svg%3E\");\n background-repeat: no-repeat;\n content: \"\";\n display: inline-block;\n height: 24px;\n vertical-align: middle;\n width: 24px;\n margin-left: 8px;\n}\nbutton.toggle-note.sc-dso-ozon-content dso-icon.sc-dso-ozon-content + span.sc-dso-ozon-content:not(.sr-only), button.toggle-note.sc-dso-ozon-content svg.di.sc-dso-ozon-content + span.sc-dso-ozon-content:not(.sr-only), button.toggle-note.sc-dso-ozon-content span.sc-dso-ozon-content:not(.sr-only) + dso-icon.sc-dso-ozon-content, button.toggle-note.sc-dso-ozon-content span.sc-dso-ozon-content:not(.sr-only) + svg.di.sc-dso-ozon-content {\n margin-left: 8px;\n}\nbutton.toggle-note.sc-dso-ozon-content svg.di.di-chevron-down.sc-dso-ozon-content + span.sc-dso-ozon-content:not(.sr-only), button.toggle-note.sc-dso-ozon-content svg.di.di-chevron-up.sc-dso-ozon-content + span.sc-dso-ozon-content:not(.sr-only), button.toggle-note.sc-dso-ozon-content span.sc-dso-ozon-content:not(.sr-only) + svg.di.di-chevron-down.sc-dso-ozon-content, button.toggle-note.sc-dso-ozon-content span.sc-dso-ozon-content:not(.sr-only) + svg.di.di-chevron-up.sc-dso-ozon-content {\n margin-left: 4px;\n}\nbutton.toggle-note.sc-dso-ozon-content dso-icon[icon=chevron-left].sc-dso-ozon-content + span.sc-dso-ozon-content:not(.sr-only), button.toggle-note.sc-dso-ozon-content dso-icon[icon=chevron-right].sc-dso-ozon-content + span.sc-dso-ozon-content:not(.sr-only), button.toggle-note.sc-dso-ozon-content svg.di.di-angle-down.sc-dso-ozon-content + span.sc-dso-ozon-content:not(.sr-only), button.toggle-note.sc-dso-ozon-content svg.di.di-angle-up.sc-dso-ozon-content + span.sc-dso-ozon-content:not(.sr-only), button.toggle-note.sc-dso-ozon-content span.sc-dso-ozon-content:not(.sr-only) + svg.di.di-angle-down.sc-dso-ozon-content, button.toggle-note.sc-dso-ozon-content span.sc-dso-ozon-content:not(.sr-only) + svg.di.di-angle-up.sc-dso-ozon-content, button.toggle-note.sc-dso-ozon-content span.sc-dso-ozon-content:not(.sr-only) + dso-icon[icon=chevron-left].sc-dso-ozon-content, button.toggle-note.sc-dso-ozon-content span.sc-dso-ozon-content:not(.sr-only) + dso-icon[icon=chevron-right].sc-dso-ozon-content {\n margin-left: 0;\n}\nbutton.toggle-note.sc-dso-ozon-content dso-icon.sc-dso-ozon-content, button.toggle-note.sc-dso-ozon-content svg.di.sc-dso-ozon-content, button.toggle-note.sc-dso-ozon-content span.sc-dso-ozon-content {\n vertical-align: middle;\n}\n\nspan[role=section].sc-dso-ozon-content, span[role=paragraph].sc-dso-ozon-content {\n display: block;\n}\n\n.fallback.sc-dso-ozon-content {\n display: block;\n}\n\n.od-Term.sc-dso-ozon-content {\n font-weight: 700;\n}\n\n.od-Definitie.sc-dso-ozon-content, .od-Tussenkop.sc-dso-ozon-content {\n font-style: italic;\n}\n\n.od-Inhoud.sc-dso-ozon-content, .od-Inhoud.sc-dso-ozon-content > .od-Lijst.sc-dso-ozon-content, .od-IntIoRef.sc-dso-ozon-content, .od-Lidnr.sc-dso-ozon-content, .od-LiNr.sc-dso-ozon-content, .od-Opschrift.sc-dso-ozon-content, .od-Tussenkop.sc-dso-ozon-content {\n display: inline;\n}\n\n.od-Al.sc-dso-ozon-content {\n margin-bottom: 0.75em;\n}\n\n.od-IntIoRef.sc-dso-ozon-content {\n border-bottom: 1px dotted;\n}\n\n.dso-ozon-figuur.sc-dso-ozon-content {\n margin-bottom: 16px;\n}\n.dso-ozon-figuur.sc-dso-ozon-content .figuur-bijschrift.sc-dso-ozon-content {\n display: block;\n font-size: 0.75rem;\n font-style: italic;\n}\n.dso-ozon-figuur.bijschrift-boven.sc-dso-ozon-content .figuur-bijschrift.sc-dso-ozon-content {\n padding-bottom: 0.25rem;\n}\n.dso-ozon-figuur.bijschrift-onder.sc-dso-ozon-content .figuur-bijschrift.sc-dso-ozon-content {\n padding-top: 0.25rem;\n}\n.dso-ozon-figuur.sc-dso-ozon-content .figuur-titel.sc-dso-ozon-content {\n color: #8b4a6a;\n display: block;\n font-weight: 500;\n padding-bottom: 0.5rem;\n}\n\n.dso-ozon-lijst.sc-dso-ozon-content span.od-Lijstaanhef.sc-dso-ozon-content, .dso-ozon-lijst.sc-dso-ozon-content span.od-Lijstsluiting.sc-dso-ozon-content {\n margin-bottom: 1rem;\n}\n.dso-ozon-lijst.sc-dso-ozon-content ul.expliciet.sc-dso-ozon-content {\n list-style: none;\n}\n.dso-ozon-lijst.sc-dso-ozon-content ul.expliciet.sc-dso-ozon-content > .od-Li.sc-dso-ozon-content {\n position: relative;\n}\n.dso-ozon-lijst.sc-dso-ozon-content ul.expliciet.sc-dso-ozon-content > .od-Li.sc-dso-ozon-content > span.od-LiNummer.sc-dso-ozon-content {\n position: absolute;\n left: -44px;\n text-align: right;\n width: 40px;\n}\n\n.od-Tabel.sc-dso-ozon-content thead.sc-dso-ozon-content {\n font-weight: 600;\n}\n\n.od-Kadertekst.sc-dso-ozon-content {\n border: 1px solid #e5e5e5;\n margin-bottom: 1rem;\n padding: 1rem;\n}";
469
448
 
470
- let OzonContent = class {
449
+ const OzonContent = class {
471
450
  constructor(hostRef) {
472
451
  index.registerInstance(this, hostRef);
473
452
  this.dsoAnchorClick = index.createEvent(this, "dsoAnchorClick", 7);
474
453
  this.dsoClick = index.createEvent(this, "dsoClick", 7);
475
- /**
476
- * Setting this property creates dso-ozon-content as inline element instead of a block element.
477
- */
454
+ this.mapper = new Mapper();
455
+ this.content = undefined;
478
456
  this.inline = false;
479
- /**
480
- * Marks content as deleted using visual and accessible clues.
481
- */
482
457
  this.deleted = false;
483
- /**
484
- * Visualize the component as interactive. This means that the component will emit `dsoClick` events when the user clicks non-interactive elements.
485
- *
486
- * **Do not** use this without an accessible companion element! `interactive` is only
487
- * meant to ease the use of the companion element for mouse/touch users.
488
- *
489
- * * `true`: Interactive anchor-look-alike
490
- * * `"sub"`: Interactive anchor-look-alike for sub navigation
491
- * * `false | undefined`: Disabled
492
- */
493
458
  this.interactive = false;
494
459
  this.state = {};
495
- this.mapper = new Mapper();
496
460
  }
497
461
  handleHostOnClick(e) {
498
462
  // '' is `true`: <dso-ozon-content interactive>
499
- if (this.interactive !== '' && !this.interactive) {
463
+ if (this.interactive !== "" && !this.interactive) {
500
464
  return;
501
465
  }
502
- const doIt = e.composedPath().find(e => e === this.host || (e instanceof HTMLElement && index_esm.isTabbable(e))) === this.host;
466
+ const doIt = e.composedPath().find((e) => e === this.host || (e instanceof HTMLElement && index_esm.isTabbable(e))) === this.host;
503
467
  if (doIt) {
504
468
  this.dsoClick.emit({ originalEvent: e });
505
469
  }
@@ -508,10 +472,10 @@ let OzonContent = class {
508
472
  var _a;
509
473
  const context = {
510
474
  state: this.state,
511
- setState: state => this.state = state,
512
- emitAnchorClick: this.dsoAnchorClick.emit
475
+ setState: (state) => (this.state = state),
476
+ emitAnchorClick: this.dsoAnchorClick.emit,
513
477
  };
514
- const transformed = this.mapper.transform((_a = this.content) !== null && _a !== void 0 ? _a : '', context);
478
+ const transformed = this.mapper.transform((_a = this.content) !== null && _a !== void 0 ? _a : "", context);
515
479
  if (this.deleted) {
516
480
  return (index.h("section", null, index.h("slot", { name: "prefix" }), index.h("span", { class: "deleted-start" }, "Begin verwijderd element"), transformed, index.h("span", { class: "deleted-end" }, "Einde verwijderd element"), index.h("slot", { name: "suffix" })));
517
481
  }