dso-toolkit 34.1.0 → 35.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 (493) hide show
  1. package/components/Componenten/anchor/anchor.njk +1 -1
  2. package/components/Componenten/icon/_preview.njk +1 -1
  3. package/components/Componenten/icon-css/_preview.njk +1 -1
  4. package/components/Componenten/link-list/link-list.njk +6 -0
  5. package/components/Voorbeelden/10-Patronen/zoeken-in-lijst-cards.njk +3 -5
  6. package/components/Voorbeelden/20-Toepassingen/30-Vergunningcheck/resultaat.njk +46 -47
  7. package/components/Voorbeelden/20-Toepassingen/40-Mijn-Omgevingsloket/Project overzicht.config.yml +14 -0
  8. package/components/Voorbeelden/20-Toepassingen/40-Mijn-Omgevingsloket/Project overzicht.njk +21 -22
  9. package/dist/library/@dso-toolkit/core/cjs/dso-autosuggest.cjs.entry.js +5 -1
  10. package/dist/library/@dso-toolkit/core/cjs/dso-header.cjs.entry.js +1 -1
  11. package/dist/library/@dso-toolkit/core/cjs/dso-image-overlay.cjs.entry.js +62 -0
  12. package/dist/library/@dso-toolkit/core/cjs/dso-info_2.cjs.entry.js +4 -1
  13. package/dist/library/@dso-toolkit/core/cjs/dso-map-base-layers.cjs.entry.js +14 -1
  14. package/dist/library/@dso-toolkit/core/cjs/dso-map-overlays.cjs.entry.js +14 -1
  15. package/dist/library/@dso-toolkit/core/cjs/dso-ozon-content.cjs.entry.js +281 -423
  16. package/dist/library/@dso-toolkit/core/cjs/dso-toolkit.cjs.js +1 -1
  17. package/dist/library/@dso-toolkit/core/cjs/dso-viewer-grid.cjs.entry.js +57 -726
  18. package/dist/library/@dso-toolkit/core/cjs/focus-trap.esm-8d3e3fb6.js +712 -0
  19. package/dist/library/@dso-toolkit/core/cjs/loader.cjs.js +1 -1
  20. package/dist/library/@dso-toolkit/core/collection/collection-manifest.json +3 -2
  21. package/dist/library/@dso-toolkit/core/collection/components/autosuggest/autosuggest.js +6 -2
  22. package/dist/library/@dso-toolkit/core/collection/components/header/header.css +21 -13
  23. package/dist/library/@dso-toolkit/core/collection/components/highlight-box/highlight-box.template.js +4 -1
  24. package/dist/library/@dso-toolkit/core/collection/components/image-overlay/image-overlay.css +263 -0
  25. package/dist/library/@dso-toolkit/core/collection/components/image-overlay/image-overlay.js +72 -0
  26. package/dist/library/@dso-toolkit/core/collection/components/image-overlay/image-overlay.stories.js +11 -0
  27. package/dist/library/@dso-toolkit/core/collection/components/image-overlay/image-overlay.template.js +7 -0
  28. package/dist/library/@dso-toolkit/core/collection/components/info/info.css +20 -0
  29. package/dist/library/@dso-toolkit/core/collection/components/map-base-layers/map-base-layers.js +16 -1
  30. package/dist/library/@dso-toolkit/core/collection/components/map-overlays/map-overlays.js +16 -1
  31. package/dist/library/@dso-toolkit/core/collection/components/ozon-content/nodes/al.node.js +13 -0
  32. package/dist/library/@dso-toolkit/core/collection/components/ozon-content/nodes/document.node.js +9 -0
  33. package/dist/library/@dso-toolkit/core/collection/components/ozon-content/nodes/ext-ref.node.js +15 -0
  34. package/dist/library/@dso-toolkit/core/collection/components/ozon-content/nodes/fallback.node.js +10 -0
  35. package/dist/library/@dso-toolkit/core/collection/components/ozon-content/nodes/illustratie.node.js +13 -0
  36. package/dist/library/@dso-toolkit/core/collection/components/ozon-content/nodes/inhoud.node.js +14 -0
  37. package/dist/library/@dso-toolkit/core/collection/components/ozon-content/nodes/inline.nodes.js +21 -0
  38. package/dist/library/@dso-toolkit/core/collection/components/ozon-content/nodes/int-ref.node.js +26 -0
  39. package/dist/library/@dso-toolkit/core/collection/components/ozon-content/nodes/noot.node.js +27 -0
  40. package/dist/library/@dso-toolkit/core/collection/components/ozon-content/nodes/table.node/colspec/colspec-mapper.js +39 -0
  41. package/dist/library/@dso-toolkit/core/collection/components/ozon-content/nodes/table.node/colspec/colspec.interface.js +2 -0
  42. package/dist/library/@dso-toolkit/core/collection/components/ozon-content/nodes/table.node/index.js +1 -0
  43. package/dist/library/@dso-toolkit/core/collection/components/ozon-content/nodes/table.node/table-cell.js +25 -0
  44. package/dist/library/@dso-toolkit/core/collection/components/ozon-content/nodes/table.node/table-colgroup.js +4 -0
  45. package/dist/library/@dso-toolkit/core/collection/components/ozon-content/nodes/table.node/table-rows.js +5 -0
  46. package/dist/library/@dso-toolkit/core/collection/components/ozon-content/nodes/table.node/table.node.js +32 -0
  47. package/dist/library/@dso-toolkit/core/collection/components/ozon-content/nodes/text.node.js +9 -0
  48. package/dist/library/@dso-toolkit/core/collection/components/ozon-content/ozon-content-context.interface.js +1 -0
  49. package/dist/library/@dso-toolkit/core/collection/components/ozon-content/ozon-content-mapper.js +76 -0
  50. package/dist/library/@dso-toolkit/core/collection/components/ozon-content/ozon-content-node-context.interface.js +1 -0
  51. package/dist/library/@dso-toolkit/core/collection/components/ozon-content/ozon-content-node-state.interface.js +1 -0
  52. package/dist/library/@dso-toolkit/core/collection/components/ozon-content/ozon-content-node.interface.js +1 -0
  53. package/dist/library/@dso-toolkit/core/collection/components/ozon-content/ozon-content.css +15 -7
  54. package/dist/library/@dso-toolkit/core/collection/components/ozon-content/ozon-content.js +21 -33
  55. package/dist/library/@dso-toolkit/core/collection/components/selectable/selectable.js +25 -1
  56. package/dist/library/@dso-toolkit/core/collection/components/viewer-grid/viewer-grid-filterpanel-buttons.js +7 -0
  57. package/dist/library/@dso-toolkit/core/collection/components/viewer-grid/viewer-grid.css +351 -3
  58. package/dist/library/@dso-toolkit/core/collection/components/viewer-grid/viewer-grid.js +109 -19
  59. package/dist/library/@dso-toolkit/core/collection/components/viewer-grid/viewer-grid.stories.js +75 -4
  60. package/dist/library/@dso-toolkit/core/collection/components/viewer-grid/viewer-grid.template.js +7 -3
  61. package/dist/library/@dso-toolkit/core/custom-elements/index.d.ts +6 -0
  62. package/dist/library/@dso-toolkit/core/custom-elements/index.js +3088 -3103
  63. package/dist/library/@dso-toolkit/core/dso-toolkit/dso-toolkit.css +1 -1
  64. package/dist/library/@dso-toolkit/core/dso-toolkit/dso-toolkit.esm.js +1 -1
  65. package/dist/library/@dso-toolkit/core/dso-toolkit/p-225bbb28.entry.js +1 -0
  66. package/dist/library/@dso-toolkit/core/dso-toolkit/p-3c4dbd89.entry.js +1 -0
  67. package/dist/library/@dso-toolkit/core/dso-toolkit/p-44905fb1.js +5 -0
  68. package/dist/library/@dso-toolkit/core/dso-toolkit/p-50b63cf4.entry.js +1 -0
  69. package/dist/library/@dso-toolkit/core/dso-toolkit/p-8b6e3abc.entry.js +1 -0
  70. package/dist/library/@dso-toolkit/core/dso-toolkit/p-ad540748.entry.js +1 -0
  71. package/dist/library/@dso-toolkit/core/dso-toolkit/p-c6f467b3.entry.js +1 -0
  72. package/dist/library/@dso-toolkit/core/dso-toolkit/p-f193c258.entry.js +1 -0
  73. package/dist/library/@dso-toolkit/core/esm/dso-autosuggest.entry.js +5 -1
  74. package/dist/library/@dso-toolkit/core/esm/dso-header.entry.js +1 -1
  75. package/dist/library/@dso-toolkit/core/esm/dso-image-overlay.entry.js +58 -0
  76. package/dist/library/@dso-toolkit/core/esm/dso-info_2.entry.js +4 -1
  77. package/dist/library/@dso-toolkit/core/esm/dso-map-base-layers.entry.js +14 -1
  78. package/dist/library/@dso-toolkit/core/esm/dso-map-overlays.entry.js +14 -1
  79. package/dist/library/@dso-toolkit/core/esm/dso-ozon-content.entry.js +282 -424
  80. package/dist/library/@dso-toolkit/core/esm/dso-toolkit.js +1 -1
  81. package/dist/library/@dso-toolkit/core/esm/dso-viewer-grid.entry.js +58 -727
  82. package/dist/library/@dso-toolkit/core/esm/focus-trap.esm-299989f2.js +710 -0
  83. package/dist/library/@dso-toolkit/core/esm/loader.js +1 -1
  84. package/dist/library/@dso-toolkit/core/types/components/autosuggest/autosuggest.d.ts +15 -1
  85. package/dist/library/@dso-toolkit/core/types/components/image-overlay/image-overlay.d.ts +15 -0
  86. package/dist/library/@dso-toolkit/core/types/components/image-overlay/image-overlay.stories.d.ts +1 -0
  87. package/dist/library/@dso-toolkit/core/types/components/image-overlay/image-overlay.template.d.ts +2 -0
  88. package/dist/library/@dso-toolkit/core/types/components/map-base-layers/map-base-layers.d.ts +7 -2
  89. package/dist/library/@dso-toolkit/core/types/components/map-overlays/map-overlays.d.ts +7 -2
  90. package/dist/library/@dso-toolkit/core/types/components/ozon-content/nodes/al.node.d.ts +6 -0
  91. package/dist/library/@dso-toolkit/core/types/components/ozon-content/nodes/document.node.d.ts +6 -0
  92. package/dist/library/@dso-toolkit/core/types/components/ozon-content/nodes/ext-ref.node.d.ts +6 -0
  93. package/dist/library/@dso-toolkit/core/types/components/ozon-content/nodes/fallback.node.d.ts +6 -0
  94. package/dist/library/@dso-toolkit/core/types/components/ozon-content/nodes/illustratie.node.d.ts +5 -0
  95. package/dist/library/@dso-toolkit/core/types/components/ozon-content/nodes/inhoud.node.d.ts +6 -0
  96. package/dist/library/@dso-toolkit/core/types/components/ozon-content/nodes/inline.nodes.d.ts +6 -0
  97. package/dist/library/@dso-toolkit/core/types/components/ozon-content/nodes/int-ref.node.d.ts +6 -0
  98. package/dist/library/@dso-toolkit/core/types/components/ozon-content/nodes/noot.node.d.ts +8 -0
  99. package/dist/library/@dso-toolkit/core/types/components/ozon-content/nodes/table.node/colspec/colspec-mapper.d.ts +2 -0
  100. package/dist/library/@dso-toolkit/core/types/components/ozon-content/nodes/table.node/colspec/colspec.interface.d.ts +10 -0
  101. package/dist/library/@dso-toolkit/core/types/components/ozon-content/nodes/table.node/index.d.ts +1 -0
  102. package/dist/library/@dso-toolkit/core/types/components/ozon-content/nodes/table.node/table-cell.d.ts +8 -0
  103. package/dist/library/@dso-toolkit/core/types/components/ozon-content/nodes/table.node/table-colgroup.d.ts +5 -0
  104. package/dist/library/@dso-toolkit/core/types/components/ozon-content/nodes/table.node/table-rows.d.ts +8 -0
  105. package/dist/library/@dso-toolkit/core/types/components/ozon-content/nodes/table.node/table.node.d.ts +7 -0
  106. package/dist/library/@dso-toolkit/core/types/components/ozon-content/nodes/text.node.d.ts +5 -0
  107. package/dist/library/@dso-toolkit/core/types/components/ozon-content/ozon-content-context.interface.d.ts +8 -0
  108. package/dist/library/@dso-toolkit/core/types/components/ozon-content/ozon-content-mapper.d.ts +12 -0
  109. package/dist/library/@dso-toolkit/core/types/components/ozon-content/ozon-content-node-context.interface.d.ts +8 -0
  110. package/dist/library/@dso-toolkit/core/types/components/ozon-content/ozon-content-node-state.interface.d.ts +3 -0
  111. package/dist/library/@dso-toolkit/core/types/components/ozon-content/ozon-content-node.interface.d.ts +8 -0
  112. package/dist/library/@dso-toolkit/core/types/components/ozon-content/ozon-content.d.ts +8 -10
  113. package/dist/library/@dso-toolkit/core/types/components/ozon-content/ozon-content.interfaces.d.ts +2 -2
  114. package/dist/library/@dso-toolkit/core/types/components/selectable/selectable.d.ts +1 -0
  115. package/dist/library/@dso-toolkit/core/types/components/viewer-grid/viewer-grid-filterpanel-buttons.d.ts +6 -0
  116. package/dist/library/@dso-toolkit/core/types/components/viewer-grid/viewer-grid.d.ts +14 -3
  117. package/dist/library/@dso-toolkit/core/types/components/viewer-grid/viewer-grid.template.d.ts +1 -1
  118. package/dist/library/@dso-toolkit/core/types/components.d.ts +25 -6
  119. package/dist/library/components/detail/anchor--default.html +1 -1
  120. package/dist/library/components/detail/anchor--download.html +1 -1
  121. package/dist/library/components/detail/anchor--extern.html +1 -1
  122. package/dist/library/components/detail/anchor--icon.html +1 -1
  123. package/dist/library/components/detail/anchor--iconlabel.html +1 -1
  124. package/dist/library/components/detail/anchor--label.html +1 -1
  125. package/dist/library/components/detail/anchor.html +1 -1
  126. package/dist/library/components/detail/form--autocomplete.html +1 -1
  127. package/dist/library/components/detail/form--form-horizontal.html +1 -1
  128. package/dist/library/components/detail/form--form-vertical.html +1 -1
  129. package/dist/library/components/detail/form--multi-page.html +1 -1
  130. package/dist/library/components/detail/form--sections.html +1 -1
  131. package/dist/library/components/detail/form--simple-form.html +1 -1
  132. package/dist/library/components/detail/form--single-page.html +1 -1
  133. package/dist/library/components/detail/form.html +1 -1
  134. package/dist/library/components/detail/highlight-box--link-list.html +4 -0
  135. package/dist/library/components/detail/highlight-box.html +4 -0
  136. package/dist/library/components/detail/link-list.html +8 -2
  137. package/dist/library/components/detail/project-overzicht.html +86 -50
  138. package/dist/library/components/detail/resultaat.html +92 -94
  139. package/dist/library/components/detail/zoeken-in-lijst-cards.html +6 -10
  140. package/dist/library/components/preview/404pagina.html +1 -1
  141. package/dist/library/components/preview/anchor--default.html +1 -1
  142. package/dist/library/components/preview/anchor--download.html +1 -1
  143. package/dist/library/components/preview/anchor--extern.html +1 -1
  144. package/dist/library/components/preview/anchor--icon.html +1 -1
  145. package/dist/library/components/preview/anchor--iconlabel.html +1 -1
  146. package/dist/library/components/preview/anchor--label.html +1 -1
  147. package/dist/library/components/preview/anchor.html +6 -6
  148. package/dist/library/components/preview/anchors.html +17 -17
  149. package/dist/library/components/preview/begrippen.html +8 -8
  150. package/dist/library/components/preview/beheer-basis.html +1 -1
  151. package/dist/library/components/preview/buttons.html +15 -15
  152. package/dist/library/components/preview/full-width.html +4 -4
  153. package/dist/library/components/preview/header.html +1 -1
  154. package/dist/library/components/preview/icon--air.html +1 -1
  155. package/dist/library/components/preview/icon--angle-down.html +1 -1
  156. package/dist/library/components/preview/icon--angle-left.html +1 -1
  157. package/dist/library/components/preview/icon--angle-right.html +1 -1
  158. package/dist/library/components/preview/icon--angle-up.html +1 -1
  159. package/dist/library/components/preview/icon--balloon.html +1 -1
  160. package/dist/library/components/preview/icon--bars.html +1 -1
  161. package/dist/library/components/preview/icon--buildings.html +1 -1
  162. package/dist/library/components/preview/icon--calendar.html +1 -1
  163. package/dist/library/components/preview/icon--call.html +1 -1
  164. package/dist/library/components/preview/icon--caret-down.html +1 -1
  165. package/dist/library/components/preview/icon--check-circle.html +1 -1
  166. package/dist/library/components/preview/icon--check.html +1 -1
  167. package/dist/library/components/preview/icon--chevron-down.html +1 -1
  168. package/dist/library/components/preview/icon--chevron-left.html +1 -1
  169. package/dist/library/components/preview/icon--chevron-right.html +1 -1
  170. package/dist/library/components/preview/icon--chevron-up.html +1 -1
  171. package/dist/library/components/preview/icon--circle-notch.html +1 -1
  172. package/dist/library/components/preview/icon--clock.html +1 -1
  173. package/dist/library/components/preview/icon--copy.html +1 -1
  174. package/dist/library/components/preview/icon--crown.html +1 -1
  175. package/dist/library/components/preview/icon--cultural.html +1 -1
  176. package/dist/library/components/preview/icon--document.html +1 -1
  177. package/dist/library/components/preview/icon--download.html +1 -1
  178. package/dist/library/components/preview/icon--email.html +1 -1
  179. package/dist/library/components/preview/icon--energy.html +1 -1
  180. package/dist/library/components/preview/icon--environment.html +1 -1
  181. package/dist/library/components/preview/icon--exclamation.html +1 -1
  182. package/dist/library/components/preview/icon--external-link.html +1 -1
  183. package/dist/library/components/preview/icon--eye-slash.html +1 -1
  184. package/dist/library/components/preview/icon--eye.html +1 -1
  185. package/dist/library/components/preview/icon--filter.html +1 -1
  186. package/dist/library/components/preview/icon--forbidden.html +1 -1
  187. package/dist/library/components/preview/icon--health.html +1 -1
  188. package/dist/library/components/preview/icon--help-active.html +1 -1
  189. package/dist/library/components/preview/icon--help.html +1 -1
  190. package/dist/library/components/preview/icon--house.html +1 -1
  191. package/dist/library/components/preview/icon--info-active.html +1 -1
  192. package/dist/library/components/preview/icon--info-i.html +1 -1
  193. package/dist/library/components/preview/icon--info.html +1 -1
  194. package/dist/library/components/preview/icon--infrastructure.html +1 -1
  195. package/dist/library/components/preview/icon--label.html +1 -1
  196. package/dist/library/components/preview/icon--land.html +1 -1
  197. package/dist/library/components/preview/icon--landscape.html +1 -1
  198. package/dist/library/components/preview/icon--layers.html +1 -1
  199. package/dist/library/components/preview/icon--location-outline.html +1 -1
  200. package/dist/library/components/preview/icon--location-search.html +1 -1
  201. package/dist/library/components/preview/icon--location.html +1 -1
  202. package/dist/library/components/preview/icon--lock.html +1 -1
  203. package/dist/library/components/preview/icon--magnet.html +1 -1
  204. package/dist/library/components/preview/icon--map-location.html +1 -1
  205. package/dist/library/components/preview/icon--marker.html +1 -1
  206. package/dist/library/components/preview/icon--measurement.html +1 -1
  207. package/dist/library/components/preview/icon--minus-square.html +1 -1
  208. package/dist/library/components/preview/icon--minus.html +1 -1
  209. package/dist/library/components/preview/icon--more.html +1 -1
  210. package/dist/library/components/preview/icon--municipality.html +1 -1
  211. package/dist/library/components/preview/icon--nature.html +1 -1
  212. package/dist/library/components/preview/icon--new-window.html +1 -1
  213. package/dist/library/components/preview/icon--paperclip.html +1 -1
  214. package/dist/library/components/preview/icon--parking.html +1 -1
  215. package/dist/library/components/preview/icon--pencil.html +1 -1
  216. package/dist/library/components/preview/icon--pin-outline.html +1 -1
  217. package/dist/library/components/preview/icon--pin.html +1 -1
  218. package/dist/library/components/preview/icon--plus-square.html +1 -1
  219. package/dist/library/components/preview/icon--plus.html +1 -1
  220. package/dist/library/components/preview/icon--print.html +1 -1
  221. package/dist/library/components/preview/icon--procedures.html +1 -1
  222. package/dist/library/components/preview/icon--redo.html +1 -1
  223. package/dist/library/components/preview/icon--safety.html +1 -1
  224. package/dist/library/components/preview/icon--scale.html +1 -1
  225. package/dist/library/components/preview/icon--search.html +1 -1
  226. package/dist/library/components/preview/icon--sitemap.html +1 -1
  227. package/dist/library/components/preview/icon--soil.html +1 -1
  228. package/dist/library/components/preview/icon--sort-ascending.html +1 -1
  229. package/dist/library/components/preview/icon--sort-descending.html +1 -1
  230. package/dist/library/components/preview/icon--sort.html +1 -1
  231. package/dist/library/components/preview/icon--sound.html +1 -1
  232. package/dist/library/components/preview/icon--status-danger.html +1 -1
  233. package/dist/library/components/preview/icon--status-forbidden.html +1 -1
  234. package/dist/library/components/preview/icon--status-info.html +1 -1
  235. package/dist/library/components/preview/icon--status-success.html +1 -1
  236. package/dist/library/components/preview/icon--status-warning.html +1 -1
  237. package/dist/library/components/preview/icon--table.html +1 -1
  238. package/dist/library/components/preview/icon--times.html +1 -1
  239. package/dist/library/components/preview/icon--trash.html +1 -1
  240. package/dist/library/components/preview/icon--undo.html +1 -1
  241. package/dist/library/components/preview/icon--user-line.html +1 -1
  242. package/dist/library/components/preview/icon--user.html +1 -1
  243. package/dist/library/components/preview/icon--users.html +1 -1
  244. package/dist/library/components/preview/icon--water.html +1 -1
  245. package/dist/library/components/preview/icon--wip-wip.html +1 -1
  246. package/dist/library/components/preview/icon-css--air.html +1 -1
  247. package/dist/library/components/preview/icon-css--angle-down.html +1 -1
  248. package/dist/library/components/preview/icon-css--angle-left.html +1 -1
  249. package/dist/library/components/preview/icon-css--angle-right.html +1 -1
  250. package/dist/library/components/preview/icon-css--angle-up.html +1 -1
  251. package/dist/library/components/preview/icon-css--balloon.html +1 -1
  252. package/dist/library/components/preview/icon-css--bars.html +1 -1
  253. package/dist/library/components/preview/icon-css--buildings.html +1 -1
  254. package/dist/library/components/preview/icon-css--calendar.html +1 -1
  255. package/dist/library/components/preview/icon-css--call.html +1 -1
  256. package/dist/library/components/preview/icon-css--caret-down.html +1 -1
  257. package/dist/library/components/preview/icon-css--check-circle.html +1 -1
  258. package/dist/library/components/preview/icon-css--check.html +1 -1
  259. package/dist/library/components/preview/icon-css--chevron-down.html +1 -1
  260. package/dist/library/components/preview/icon-css--chevron-left.html +1 -1
  261. package/dist/library/components/preview/icon-css--chevron-right.html +1 -1
  262. package/dist/library/components/preview/icon-css--chevron-up.html +1 -1
  263. package/dist/library/components/preview/icon-css--circle-notch.html +1 -1
  264. package/dist/library/components/preview/icon-css--clock.html +1 -1
  265. package/dist/library/components/preview/icon-css--copy.html +1 -1
  266. package/dist/library/components/preview/icon-css--crown.html +1 -1
  267. package/dist/library/components/preview/icon-css--cultural.html +1 -1
  268. package/dist/library/components/preview/icon-css--document.html +1 -1
  269. package/dist/library/components/preview/icon-css--download.html +1 -1
  270. package/dist/library/components/preview/icon-css--email.html +1 -1
  271. package/dist/library/components/preview/icon-css--energy.html +1 -1
  272. package/dist/library/components/preview/icon-css--environment.html +1 -1
  273. package/dist/library/components/preview/icon-css--exclamation.html +1 -1
  274. package/dist/library/components/preview/icon-css--external-link.html +1 -1
  275. package/dist/library/components/preview/icon-css--eye-slash.html +1 -1
  276. package/dist/library/components/preview/icon-css--eye.html +1 -1
  277. package/dist/library/components/preview/icon-css--filter.html +1 -1
  278. package/dist/library/components/preview/icon-css--forbidden.html +1 -1
  279. package/dist/library/components/preview/icon-css--health.html +1 -1
  280. package/dist/library/components/preview/icon-css--help-active.html +1 -1
  281. package/dist/library/components/preview/icon-css--help.html +1 -1
  282. package/dist/library/components/preview/icon-css--house.html +1 -1
  283. package/dist/library/components/preview/icon-css--info-active.html +1 -1
  284. package/dist/library/components/preview/icon-css--info-i.html +1 -1
  285. package/dist/library/components/preview/icon-css--info.html +1 -1
  286. package/dist/library/components/preview/icon-css--infrastructure.html +1 -1
  287. package/dist/library/components/preview/icon-css--label.html +1 -1
  288. package/dist/library/components/preview/icon-css--land.html +1 -1
  289. package/dist/library/components/preview/icon-css--landscape.html +1 -1
  290. package/dist/library/components/preview/icon-css--layers.html +1 -1
  291. package/dist/library/components/preview/icon-css--location-outline.html +1 -1
  292. package/dist/library/components/preview/icon-css--location-search.html +1 -1
  293. package/dist/library/components/preview/icon-css--location.html +1 -1
  294. package/dist/library/components/preview/icon-css--lock.html +1 -1
  295. package/dist/library/components/preview/icon-css--magnet.html +1 -1
  296. package/dist/library/components/preview/icon-css--map-location.html +1 -1
  297. package/dist/library/components/preview/icon-css--marker.html +1 -1
  298. package/dist/library/components/preview/icon-css--measurement.html +1 -1
  299. package/dist/library/components/preview/icon-css--minus-square.html +1 -1
  300. package/dist/library/components/preview/icon-css--minus.html +1 -1
  301. package/dist/library/components/preview/icon-css--more.html +1 -1
  302. package/dist/library/components/preview/icon-css--municipality.html +1 -1
  303. package/dist/library/components/preview/icon-css--nature.html +1 -1
  304. package/dist/library/components/preview/icon-css--new-window.html +1 -1
  305. package/dist/library/components/preview/icon-css--paperclip.html +1 -1
  306. package/dist/library/components/preview/icon-css--parking.html +1 -1
  307. package/dist/library/components/preview/icon-css--pencil.html +1 -1
  308. package/dist/library/components/preview/icon-css--pin-outline.html +1 -1
  309. package/dist/library/components/preview/icon-css--pin.html +1 -1
  310. package/dist/library/components/preview/icon-css--plus-square.html +1 -1
  311. package/dist/library/components/preview/icon-css--plus.html +1 -1
  312. package/dist/library/components/preview/icon-css--print.html +1 -1
  313. package/dist/library/components/preview/icon-css--procedures.html +1 -1
  314. package/dist/library/components/preview/icon-css--redo.html +1 -1
  315. package/dist/library/components/preview/icon-css--safety.html +1 -1
  316. package/dist/library/components/preview/icon-css--scale.html +1 -1
  317. package/dist/library/components/preview/icon-css--search.html +1 -1
  318. package/dist/library/components/preview/icon-css--sitemap.html +1 -1
  319. package/dist/library/components/preview/icon-css--soil.html +1 -1
  320. package/dist/library/components/preview/icon-css--sort-ascending.html +1 -1
  321. package/dist/library/components/preview/icon-css--sort-descending.html +1 -1
  322. package/dist/library/components/preview/icon-css--sort.html +1 -1
  323. package/dist/library/components/preview/icon-css--sound.html +1 -1
  324. package/dist/library/components/preview/icon-css--status-danger.html +1 -1
  325. package/dist/library/components/preview/icon-css--status-forbidden.html +1 -1
  326. package/dist/library/components/preview/icon-css--status-info.html +1 -1
  327. package/dist/library/components/preview/icon-css--status-success.html +1 -1
  328. package/dist/library/components/preview/icon-css--status-warning.html +1 -1
  329. package/dist/library/components/preview/icon-css--table.html +1 -1
  330. package/dist/library/components/preview/icon-css--times.html +1 -1
  331. package/dist/library/components/preview/icon-css--trash.html +1 -1
  332. package/dist/library/components/preview/icon-css--undo.html +1 -1
  333. package/dist/library/components/preview/icon-css--user-line.html +1 -1
  334. package/dist/library/components/preview/icon-css--user.html +1 -1
  335. package/dist/library/components/preview/icon-css--users.html +1 -1
  336. package/dist/library/components/preview/icon-css--water.html +1 -1
  337. package/dist/library/components/preview/icon-css--wip-wip.html +1 -1
  338. package/dist/library/components/preview/icon-css.html +1 -1
  339. package/dist/library/components/preview/icon.html +1 -1
  340. package/dist/library/components/preview/link-list.html +6 -4
  341. package/dist/library/components/preview/mijn-projecten.html +5 -5
  342. package/dist/library/components/preview/overzicht-samenwerkingen.html +3 -3
  343. package/dist/library/components/preview/project-overzicht.html +79 -64
  344. package/dist/library/components/preview/resultaat.html +46 -47
  345. package/dist/library/components/preview/subtitel--default.html +1 -1
  346. package/dist/library/components/preview/subtitel--subtitel-before-definition-list.html +1 -1
  347. package/dist/library/components/preview/subtitel--subtitel-before-text.html +1 -1
  348. package/dist/library/components/preview/subtitel.html +3 -3
  349. package/dist/library/components/preview/verzoek-detail.html +7 -7
  350. package/dist/library/components/preview/whitebox-regular--default.html +1 -1
  351. package/dist/library/components/preview/whitebox-regular--whitebox-counter.html +1 -1
  352. package/dist/library/components/preview/whitebox-regular--whitebox-icon.html +1 -1
  353. package/dist/library/components/preview/whitebox.html +15 -15
  354. package/dist/library/components/preview/zoeken-in-lijst-cards.html +24 -28
  355. package/dist/library/components/render/404pagina.html +1 -1
  356. package/dist/library/components/render/anchor--default.html +1 -1
  357. package/dist/library/components/render/anchor--download.html +1 -1
  358. package/dist/library/components/render/anchor--extern.html +1 -1
  359. package/dist/library/components/render/anchor--icon.html +1 -1
  360. package/dist/library/components/render/anchor--iconlabel.html +1 -1
  361. package/dist/library/components/render/anchor--label.html +1 -1
  362. package/dist/library/components/render/anchor.html +6 -6
  363. package/dist/library/components/render/anchors.html +17 -17
  364. package/dist/library/components/render/begrippen.html +8 -8
  365. package/dist/library/components/render/beheer-basis.html +1 -1
  366. package/dist/library/components/render/buttons.html +15 -15
  367. package/dist/library/components/render/full-width.html +4 -4
  368. package/dist/library/components/render/header.html +1 -1
  369. package/dist/library/components/render/homepage.html +3 -3
  370. package/dist/library/components/render/landingspagina.html +1 -1
  371. package/dist/library/components/render/link-list.html +5 -3
  372. package/dist/library/components/render/mijn-projecten.html +5 -5
  373. package/dist/library/components/render/overzicht-samenwerkingen.html +3 -3
  374. package/dist/library/components/render/pagina-met-banner.html +1 -1
  375. package/dist/library/components/render/project-overzicht.html +52 -27
  376. package/dist/library/components/render/resultaat.html +46 -47
  377. package/dist/library/components/render/rich-content.html +1 -1
  378. package/dist/library/components/render/row-equal-heights.html +4 -4
  379. package/dist/library/components/render/subtitel--default.html +1 -1
  380. package/dist/library/components/render/subtitel--subtitel-before-definition-list.html +1 -1
  381. package/dist/library/components/render/subtitel--subtitel-before-text.html +1 -1
  382. package/dist/library/components/render/subtitel.html +3 -3
  383. package/dist/library/components/render/verzoek-detail.html +7 -7
  384. package/dist/library/components/render/whitebox-regular--default.html +1 -1
  385. package/dist/library/components/render/whitebox-regular--whitebox-counter.html +1 -1
  386. package/dist/library/components/render/whitebox-regular--whitebox-icon.html +1 -1
  387. package/dist/library/components/render/whitebox.html +15 -15
  388. package/dist/library/components/render/zoeken-in-lijst-cards.html +4 -6
  389. package/dist/library/styles/dso.css +249 -467
  390. package/dist/toolkit/core/dso-toolkit.css +1 -1
  391. package/dist/toolkit/core/dso-toolkit.esm.js +1 -1
  392. package/dist/toolkit/core/p-225bbb28.entry.js +1 -0
  393. package/dist/toolkit/core/p-3c4dbd89.entry.js +1 -0
  394. package/dist/toolkit/core/p-44905fb1.js +5 -0
  395. package/dist/toolkit/core/p-50b63cf4.entry.js +1 -0
  396. package/dist/toolkit/core/p-8b6e3abc.entry.js +1 -0
  397. package/dist/toolkit/core/p-ad540748.entry.js +1 -0
  398. package/dist/toolkit/core/p-c6f467b3.entry.js +1 -0
  399. package/dist/toolkit/core/p-f193c258.entry.js +1 -0
  400. package/dist/toolkit/styles/dso.css +249 -467
  401. package/hydrate/index.js +3203 -3207
  402. package/libs/@dso-toolkit/css/src/components/accordion/accordion.scss +0 -5
  403. package/libs/@dso-toolkit/css/src/components/list/list.scss +8 -0
  404. package/libs/@dso-toolkit/css/src/components/tile-grid/tile-grid.scss +3 -0
  405. package/libs/@dso-toolkit/css/src/dso.scss +1 -0
  406. package/libs/@dso-toolkit/css/src/global/global.scss +5 -0
  407. package/libs/@dso-toolkit/sources/src/components/anchor/anchor.args.ts +8 -1
  408. package/libs/@dso-toolkit/sources/src/components/anchor/anchor.models.ts +1 -0
  409. package/libs/@dso-toolkit/sources/src/components/autosuggest/autosuggest.demo.ts +1 -0
  410. package/libs/@dso-toolkit/sources/src/components/autosuggest/autosuggest.models.ts +1 -0
  411. package/libs/@dso-toolkit/sources/src/components/highlight-box/highlight-box.models.ts +2 -2
  412. package/libs/@dso-toolkit/sources/src/components/image/image.models.ts +2 -0
  413. package/libs/@dso-toolkit/sources/src/components/image-overlay/image-overlay.args.ts +29 -0
  414. package/libs/@dso-toolkit/sources/src/components/image-overlay/image-overlay.content.ts +24 -0
  415. package/libs/@dso-toolkit/sources/src/components/image-overlay/image-overlay.models.ts +5 -0
  416. package/libs/@dso-toolkit/sources/src/components/image-overlay/image-overlay.stories.ts +26 -0
  417. package/libs/@dso-toolkit/sources/src/components/link-list/link-list.args.ts +15 -4
  418. package/libs/@dso-toolkit/sources/src/components/link-list/link-list.content.ts +24 -0
  419. package/libs/@dso-toolkit/sources/src/components/link-list/link-list.models.ts +1 -0
  420. package/libs/@dso-toolkit/sources/src/components/link-list/link-list.scss +4 -0
  421. package/libs/@dso-toolkit/sources/src/components/link-list/link-list.stories.ts +16 -0
  422. package/libs/@dso-toolkit/sources/src/components/map-controls/map-controls.stories.ts +2 -1
  423. package/libs/@dso-toolkit/sources/src/components/ozon-content/ozon-content.args.ts +7 -6
  424. package/libs/@dso-toolkit/sources/src/components/ozon-content/ozon-content.content.ts +768 -319
  425. package/libs/@dso-toolkit/sources/src/components/ozon-content/ozon-content.stories.ts +24 -48
  426. package/libs/@dso-toolkit/sources/src/components/row-equal-heights/row-equal-heights.args.ts +7 -0
  427. package/libs/@dso-toolkit/sources/src/components/row-equal-heights/row-equal-heights.content.ts +119 -0
  428. package/libs/@dso-toolkit/sources/src/components/row-equal-heights/row-equal-heights.models.ts +3 -0
  429. package/libs/@dso-toolkit/sources/src/components/row-equal-heights/row-equal-heights.stories.ts +56 -0
  430. package/libs/@dso-toolkit/sources/src/components/tile/tile.args.ts +13 -1
  431. package/libs/@dso-toolkit/sources/src/components/tile/tile.models.ts +1 -0
  432. package/libs/@dso-toolkit/sources/src/components/tile/tile.scss +37 -7
  433. package/libs/@dso-toolkit/sources/src/components/tile/tile.stories.ts +11 -1
  434. package/libs/@dso-toolkit/sources/src/components/tile-grid/tile-grid.args.ts +7 -0
  435. package/libs/@dso-toolkit/sources/src/components/tile-grid/tile-grid.content.ts +139 -0
  436. package/libs/@dso-toolkit/sources/src/components/tile-grid/tile-grid.models.ts +3 -0
  437. package/libs/@dso-toolkit/sources/src/components/tile-grid/tile-grid.scss +6 -0
  438. package/libs/@dso-toolkit/sources/src/components/tile-grid/tile-grid.stories.ts +36 -0
  439. package/libs/@dso-toolkit/sources/src/components/viewer-grid/viewer-grid.args.ts +41 -6
  440. package/libs/@dso-toolkit/sources/src/components/viewer-grid/viewer-grid.content.ts +1 -0
  441. package/libs/@dso-toolkit/sources/src/components/viewer-grid/viewer-grid.models.ts +16 -2
  442. package/libs/@dso-toolkit/sources/src/components/viewer-grid/viewer-grid.stories.ts +35 -23
  443. package/libs/@dso-toolkit/sources/src/components.scss +1 -0
  444. package/libs/@dso-toolkit/sources/src/index.ts +6 -0
  445. package/libs/@dso-toolkit/sources/src/styling/global/blockquote.scss +12 -0
  446. package/libs/@dso-toolkit/sources/src/styling/global/del.scss +3 -0
  447. package/libs/@dso-toolkit/sources/src/styling/global/dl.scss +27 -1
  448. package/libs/@dso-toolkit/sources/src/styling/global/headings.scss +30 -2
  449. package/libs/@dso-toolkit/sources/src/styling/global/ins.scss +4 -0
  450. package/libs/@dso-toolkit/sources/src/styling/global/nav.scss +6 -0
  451. package/libs/@dso-toolkit/sources/src/styling/global/p.scss +3 -0
  452. package/libs/@dso-toolkit/sources/src/styling/global/utilities.scss +32 -0
  453. package/libs/@dso-toolkit/sources/src/styling/grid/grid.scss +4 -0
  454. package/libs/@dso-toolkit/sources/src/styling/mixins/center-block.scss +5 -0
  455. package/{src/styles/components/_equal-heights.scss → libs/@dso-toolkit/sources/src/styling/mixins/equal-heights.scss} +1 -1
  456. package/libs/@dso-toolkit/sources/src/styling/mixins/rich-content.scss +4 -0
  457. package/libs/@dso-toolkit/sources/src/styling/mixins.scss +2 -0
  458. package/libs/@dso-toolkit/sources/src/styling/variables/colors.scss +4 -0
  459. package/libs/@dso-toolkit/sources/src/styling/variables/typography.scss +1 -1
  460. package/libs/@dso-toolkit/sources/storybook-assets/images/canvas-home_iplo-min.png +0 -0
  461. package/libs/@dso-toolkit/sources/storybook-assets/images/houtkachel-of-open-haard-infographic.jpg +0 -0
  462. package/libs/@dso-toolkit/sources/storybook-assets/images/icon-tree.png +0 -0
  463. package/libs/@dso-toolkit/sources/storybook-assets/images/klimaatambities_agv_infographic_002_1.jpg +0 -0
  464. package/libs/@dso-toolkit/sources/storybook-assets/images/schakeldag-8-maart-2022-schakeljournaal-ads.jpg +0 -0
  465. package/libs/_bootstrap.scss +2 -2
  466. package/libs/bootstrap/_variables.scss +3 -3
  467. package/package.json +2 -2
  468. package/reference/render/mijn-projecten.html +1 -1
  469. package/reference/render/project-overzicht.html +41 -26
  470. package/reference/render/resultaat.html +46 -46
  471. package/reference/render/zoeken-in-lijst-cards.html +3 -5
  472. package/src/styles/components/_jumbotron.scss +1 -2
  473. package/src/styles/components/_modal.scss +1 -1
  474. package/src/styles/components/_panel.scss +1 -1
  475. package/src/styles/dso.scss +3 -3
  476. package/dist/library/@dso-toolkit/core/collection/components/ozon-content/ozon-content.transformer.js +0 -105
  477. package/dist/library/@dso-toolkit/core/dso-toolkit/p-06de0fa1.entry.js +0 -1
  478. package/dist/library/@dso-toolkit/core/dso-toolkit/p-17f073d1.entry.js +0 -1
  479. package/dist/library/@dso-toolkit/core/dso-toolkit/p-20856f91.entry.js +0 -1
  480. package/dist/library/@dso-toolkit/core/dso-toolkit/p-7b006b11.entry.js +0 -1
  481. package/dist/library/@dso-toolkit/core/dso-toolkit/p-aadc4f8e.entry.js +0 -1
  482. package/dist/library/@dso-toolkit/core/dso-toolkit/p-b69134ed.entry.js +0 -5
  483. package/dist/library/@dso-toolkit/core/types/components/ozon-content/ozon-content.transformer.d.ts +0 -15
  484. package/dist/toolkit/core/p-06de0fa1.entry.js +0 -1
  485. package/dist/toolkit/core/p-17f073d1.entry.js +0 -1
  486. package/dist/toolkit/core/p-20856f91.entry.js +0 -1
  487. package/dist/toolkit/core/p-7b006b11.entry.js +0 -1
  488. package/dist/toolkit/core/p-aadc4f8e.entry.js +0 -1
  489. package/dist/toolkit/core/p-b69134ed.entry.js +0 -5
  490. package/libs/bootstrap/_type.scss +0 -233
  491. package/libs/bootstrap/_utilities.scss +0 -55
  492. package/src/styles/components/_rich-content.scss +0 -56
  493. package/src/styles/mixins/_typography.scss +0 -56
@@ -0,0 +1,13 @@
1
+ import { h } from '@stencil/core';
2
+ export class OzonContentIllustratieNode {
3
+ constructor() {
4
+ this.name = [
5
+ 'Illustratie',
6
+ 'InlineTekstAfbeelding'
7
+ ];
8
+ }
9
+ render(node) {
10
+ var _a, _b, _c, _d;
11
+ return (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 }));
12
+ }
13
+ }
@@ -0,0 +1,14 @@
1
+ import { h } from '@stencil/core';
2
+ export class OzonContentInhoudNode {
3
+ constructor() {
4
+ this.name = [
5
+ 'Inhoud',
6
+ 'Opschrift',
7
+ 'ContainerBlocksType',
8
+ 'BlockMixedcontentMetMaximaleInlinesMarkersPopupsType'
9
+ ];
10
+ }
11
+ render(node, { mapNodeToJsx }) {
12
+ return h("div", { class: "dso-rich-content" }, mapNodeToJsx(node.childNodes));
13
+ }
14
+ }
@@ -0,0 +1,21 @@
1
+ import { h } from '@stencil/core';
2
+ export class OzonContentInlineNodes {
3
+ constructor() {
4
+ this.name = [
5
+ 'sub',
6
+ 'sup',
7
+ 'strong',
8
+ 'b',
9
+ 'u',
10
+ 'i',
11
+ 'br'
12
+ ];
13
+ }
14
+ render(node, { mapNodeToJsx }) {
15
+ if (node.localName === 'br') {
16
+ return h("br", null);
17
+ }
18
+ const Tag = node.localName;
19
+ return h(Tag, null, mapNodeToJsx(node.childNodes));
20
+ }
21
+ }
@@ -0,0 +1,26 @@
1
+ import { h } from '@stencil/core';
2
+ export class OzonContentIntRefNode {
3
+ constructor() {
4
+ this.name = 'IntRef';
5
+ }
6
+ render(node, { mapNodeToJsx, emitAnchorClick }) {
7
+ const ref = node.getAttribute('ref');
8
+ if (!ref) {
9
+ return mapNodeToJsx(node.childNodes);
10
+ }
11
+ const intRefOnClick = (event) => {
12
+ event.preventDefault();
13
+ const target = event.currentTarget;
14
+ if (!(target instanceof HTMLAnchorElement)) {
15
+ return;
16
+ }
17
+ const { href } = target;
18
+ emitAnchorClick({
19
+ href,
20
+ documentComponent: ref,
21
+ originalEvent: event
22
+ });
23
+ };
24
+ return (h("a", { href: `#${ref}`, onClick: intRefOnClick }, mapNodeToJsx(node.childNodes)));
25
+ }
26
+ }
@@ -0,0 +1,27 @@
1
+ import { h, Fragment } from '@stencil/core';
2
+ export class OzonContentNootNode {
3
+ constructor() {
4
+ this.name = 'Noot';
5
+ this.handles = ['NootNummer'];
6
+ }
7
+ identify(node) {
8
+ var _a;
9
+ return (_a = node.getAttribute("id")) !== null && _a !== void 0 ? _a : undefined;
10
+ }
11
+ render(node, { mapNodeToJsx, state: noteIsOpen, setState }) {
12
+ var _a, _b;
13
+ const noteId = (_a = node.getAttribute('id')) !== null && _a !== void 0 ? _a : undefined;
14
+ const noteControlsId = noteId && `dso-ozon-note-${noteId}`;
15
+ const noteHref = noteId && `#${noteControlsId}`;
16
+ const childNodes = Array.from(node.childNodes);
17
+ const nootNummer = (_b = childNodes.find(n => n.nodeName === 'NootNummer')) === null || _b === void 0 ? void 0 : _b.textContent;
18
+ const onClickNote = (event) => {
19
+ event.preventDefault();
20
+ setState === null || setState === void 0 ? void 0 : setState(!noteIsOpen);
21
+ };
22
+ return (h(Fragment, null,
23
+ h("a", { class: { noot: true, "dso-open": !!noteIsOpen }, href: noteHref, "aria-controls": noteControlsId, "aria-expanded": noteIsOpen ? "true" : "false", onClick: onClickNote },
24
+ h("sup", null, nootNummer)),
25
+ h("span", { id: noteControlsId, role: "section" }, mapNodeToJsx(Array.from(node.querySelectorAll(':scope > Al'))))));
26
+ }
27
+ }
@@ -0,0 +1,39 @@
1
+ export function mapColspecs(count, nodeList) {
2
+ const elements = Array.from(nodeList);
3
+ const totalWidth = getTotalWidth(elements);
4
+ return {
5
+ totalWidth,
6
+ count,
7
+ columns: elements.map((element, index) => {
8
+ var _a;
9
+ const colNumber = element.getAttribute('colnum');
10
+ return {
11
+ name: (_a = element.getAttribute('colname')) !== null && _a !== void 0 ? _a : '',
12
+ number: colNumber ? parseInt(colNumber, 10) : index + 1,
13
+ width: getWidth(totalWidth, element)
14
+ };
15
+ })
16
+ };
17
+ }
18
+ function getTotalWidth(elements) {
19
+ return elements.reduce((totalWidth, element) => {
20
+ var _a, _b;
21
+ const width = (_b = (_a = element.getAttribute('colwidth')) === null || _a === void 0 ? void 0 : _a.replace(/[^0-9]/, '')) !== null && _b !== void 0 ? _b : '';
22
+ const colWidth = parseInt(width, 10);
23
+ return totalWidth + (isNaN(colWidth) ? 0 : colWidth);
24
+ }, 0);
25
+ }
26
+ function getWidth(totalWidth, element) {
27
+ const width = element.getAttribute('colwidth');
28
+ if (!width) {
29
+ return undefined;
30
+ }
31
+ if (width === '*') {
32
+ return '100%';
33
+ }
34
+ if (width.includes('*') || width.match(/^[\d+]$/)) {
35
+ const colWidth = parseInt(width.replace(/[^0-9]/, ''), 10);
36
+ return `${Math.round(colWidth / totalWidth * 100)}%`;
37
+ }
38
+ return width;
39
+ }
@@ -0,0 +1 @@
1
+ export { OzonContentTableNode } from './table.node';
@@ -0,0 +1,25 @@
1
+ import { h } from '@stencil/core/internal';
2
+ function getData(cell) {
3
+ return {
4
+ moreRows: cell.getAttribute('morerows'),
5
+ nameStart: cell.getAttribute('namest'),
6
+ nameEnd: cell.getAttribute('nameend')
7
+ };
8
+ }
9
+ function getColspan({ columns }, nameStart, nameEnd) {
10
+ const colspecStart = columns.find(c => c.name === nameStart);
11
+ const colspecEnd = columns.find(c => c.name === nameEnd);
12
+ if (!colspecStart || !colspecEnd) {
13
+ return undefined;
14
+ }
15
+ const colspan = colspecEnd.number - colspecStart.number + 1;
16
+ return colspan === 1 ? undefined : colspan;
17
+ }
18
+ export const Cell = ({ context: { mapNodeToJsx }, colspecs, cell }) => {
19
+ const { moreRows, nameStart, nameEnd } = getData(cell);
20
+ const td = {
21
+ rowSpan: moreRows ? parseInt(moreRows, 10) + 1 : undefined,
22
+ colSpan: colspecs && nameStart && nameEnd ? getColspan(colspecs, nameStart, nameEnd) : undefined
23
+ };
24
+ return (h("td", Object.assign({}, td), mapNodeToJsx(cell.childNodes)));
25
+ };
@@ -0,0 +1,4 @@
1
+ import { Fragment, h } from '@stencil/core';
2
+ export const Colgroup = ({ colspecs }) => (colspecs.columns.length > 0
3
+ ? (h("colgroup", null, colspecs.columns.map(colspec => (h("col", { style: { width: colspec.width } })))))
4
+ : h(Fragment, null));
@@ -0,0 +1,5 @@
1
+ import { Fragment, h } from '@stencil/core';
2
+ import { Cell } from './table-cell';
3
+ export const Rows = ({ context, colspecs, rows }) => {
4
+ return (h(Fragment, null, rows.map(row => (h("tr", null, Array.from(row.children).map(cell => (h(Cell, { cell: cell, colspecs: colspecs, context: context }))))))));
5
+ };
@@ -0,0 +1,32 @@
1
+ import { h } from '@stencil/core';
2
+ import { mapColspecs } from './colspec/colspec-mapper';
3
+ import { Colgroup } from './table-colgroup';
4
+ import { Rows } from './table-rows';
5
+ function mapData(node) {
6
+ var _a, _b, _c;
7
+ const tgroup = node.querySelector(':scope > tgroup');
8
+ const colAttribute = (_a = tgroup === null || tgroup === void 0 ? void 0 : tgroup.getAttribute('cols')) !== null && _a !== void 0 ? _a : undefined;
9
+ const columnCount = colAttribute ? parseInt(colAttribute, 10) : undefined;
10
+ return {
11
+ caption: (_c = (_b = node.querySelector(':scope > title')) === null || _b === void 0 ? void 0 : _b.textContent) !== null && _c !== void 0 ? _c : undefined,
12
+ colspecs: tgroup && columnCount ? mapColspecs(columnCount, tgroup.querySelectorAll(':scope > colspec')) : undefined,
13
+ headRows: Array.from(node.querySelectorAll(':scope > tgroup > thead > row')),
14
+ bodyRows: Array.from(node.querySelectorAll(':scope > tgroup > tbody > row'))
15
+ };
16
+ }
17
+ export class OzonContentTableNode {
18
+ constructor() {
19
+ this.name = 'table';
20
+ this.handles = ['title', 'tgroup', 'colspec', 'thead', 'tbody', 'row', 'cell'];
21
+ }
22
+ render(node, context) {
23
+ const { caption, colspecs, headRows, bodyRows } = mapData(node);
24
+ return (h("table", { class: "table" },
25
+ caption && (h("caption", null, caption)),
26
+ colspecs && (h(Colgroup, { colspecs: colspecs })),
27
+ headRows.length > 0 && (h("thead", null,
28
+ h(Rows, { rows: headRows, colspecs: colspecs, context: context }))),
29
+ bodyRows.length > 0 && (h("tbody", null,
30
+ h(Rows, { rows: bodyRows, colspecs: colspecs, context: context })))));
31
+ }
32
+ }
@@ -0,0 +1,9 @@
1
+ import { Fragment, h } from '@stencil/core';
2
+ export class OzonContentTextNode {
3
+ constructor() {
4
+ this.name = '#text';
5
+ }
6
+ render(node) {
7
+ return h(Fragment, null, node.textContent);
8
+ }
9
+ }
@@ -0,0 +1,76 @@
1
+ import { Fragment, h } from '@stencil/core';
2
+ import { OzonContentAlNode } from './nodes/al.node';
3
+ import { OzonContentDocumentNode } from './nodes/document.node';
4
+ import { OzonContentExtRefNode } from './nodes/ext-ref.node';
5
+ import { OzonContentIllustratieNode } from './nodes/illustratie.node';
6
+ import { OzonContentInhoudNode } from './nodes/inhoud.node';
7
+ import { OzonContentInlineNodes } from './nodes/inline.nodes';
8
+ import { OzonContentIntRefNode } from './nodes/int-ref.node';
9
+ import { OzonContentNootNode } from './nodes/noot.node';
10
+ import { OzonContentTableNode } from './nodes/table.node';
11
+ import { OzonContentTextNode } from './nodes/text.node';
12
+ import { OzonContentFallbackNode } from './nodes/fallback.node';
13
+ export class Mapper {
14
+ constructor() {
15
+ this.mappers = [
16
+ new OzonContentTextNode(),
17
+ new OzonContentDocumentNode(),
18
+ new OzonContentInhoudNode(),
19
+ new OzonContentIntRefNode(),
20
+ new OzonContentExtRefNode(),
21
+ new OzonContentAlNode(),
22
+ new OzonContentInlineNodes(),
23
+ new OzonContentIllustratieNode(),
24
+ new OzonContentNootNode(),
25
+ new OzonContentTableNode()
26
+ ];
27
+ this.skip = this.mappers.reduce((t, m) => {
28
+ if (m.handles) {
29
+ t.push(...m.handles);
30
+ }
31
+ return t;
32
+ }, []);
33
+ this.fallbackNode = new OzonContentFallbackNode();
34
+ this.domParser = new DOMParser();
35
+ }
36
+ findMapper(name) {
37
+ var _a;
38
+ if (this.skip.includes(name)) {
39
+ return undefined;
40
+ }
41
+ return (_a = this.mappers.find(m => {
42
+ if (Array.isArray(m.name)) {
43
+ return m.name.includes(name);
44
+ }
45
+ return m.name === name;
46
+ })) !== null && _a !== void 0 ? _a : this.fallbackNode;
47
+ }
48
+ mapNodeToJsx(node, context, path) {
49
+ var _a, _b;
50
+ if (node instanceof NodeList) {
51
+ return h(Fragment, null, Array.from(node).map(n => this.mapNodeToJsx(n, context, path)));
52
+ }
53
+ if (Array.isArray(node)) {
54
+ return h(Fragment, null, node.map(n => this.mapNodeToJsx(n, context, path)));
55
+ }
56
+ const nodeName = node instanceof Element ? node.localName : node.nodeName;
57
+ const mapper = this.findMapper(nodeName);
58
+ const identity = (_a = mapper === null || mapper === void 0 ? void 0 : mapper.identify) === null || _a === void 0 ? void 0 : _a.call(mapper, node);
59
+ const state = identity ? context.state[identity] : undefined;
60
+ const setState = identity ? (state) => context.setState(Object.assign(Object.assign({}, context.state), { [identity]: state })) : undefined;
61
+ return (_b = mapper === null || mapper === void 0 ? void 0 : mapper.render(node, {
62
+ mapNodeToJsx: n => this.mapNodeToJsx(n, context, [...path, node]),
63
+ emitAnchorClick: context.emitAnchorClick,
64
+ setState,
65
+ state,
66
+ path
67
+ })) !== null && _b !== void 0 ? _b : h(Fragment, null);
68
+ }
69
+ transform(xml, context) {
70
+ if (!this.cache || this.cache.xml !== xml) {
71
+ this.cache = { xml, document: this.domParser.parseFromString(xml, 'text/xml') };
72
+ }
73
+ const xmlDocument = this.cache.document;
74
+ return this.mapNodeToJsx(xmlDocument.getRootNode(), context, []);
75
+ }
76
+ }
@@ -1,22 +1,22 @@
1
- dso-ozon-content {
1
+ :host {
2
2
  display: block;
3
3
  }
4
4
 
5
5
  .noot {
6
6
  text-decoration: none;
7
7
  }
8
- .noot:not(.dso-open) + .od-Al {
8
+ .noot:not(.dso-open) + * {
9
9
  display: none;
10
10
  }
11
- .noot.dso-open + .od-Al {
11
+ .noot.dso-open + * {
12
12
  display: block;
13
13
  }
14
- .noot + .od-Al {
14
+ .noot + * {
15
15
  margin: 4px 0;
16
16
  padding: 8px 32px 8px 8px;
17
17
  position: relative;
18
18
  }
19
- .noot + .od-Al > a {
19
+ .noot + * > a {
20
20
  display: block;
21
21
  height: 24px;
22
22
  position: absolute;
@@ -25,7 +25,7 @@ dso-ozon-content {
25
25
  top: 0;
26
26
  width: 24px;
27
27
  }
28
- .noot + .od-Al > a::before {
28
+ .noot + * > a::before {
29
29
  background: var(--dso-icon, var(--di-times-zwart)) no-repeat;
30
30
  background-position: center;
31
31
  background-size: cover;
@@ -35,10 +35,18 @@ dso-ozon-content {
35
35
  content: "";
36
36
  display: block;
37
37
  }
38
- .noot + .od-Al {
38
+ .noot + * {
39
39
  background-color: #ebf3e6;
40
40
  }
41
41
 
42
+ span[role=paragraph] {
43
+ display: block;
44
+ }
45
+
46
+ .fallback {
47
+ display: block;
48
+ }
49
+
42
50
  .od-Term {
43
51
  font-weight: 700;
44
52
  }
@@ -1,29 +1,21 @@
1
- import { h, Event, Component, Prop, Listen } from '@stencil/core';
2
- import { OzonContentTransformer } from './ozon-content.transformer';
1
+ import { Component, Event, Prop, State, } from '@stencil/core';
2
+ import { Mapper } from './ozon-content-mapper';
3
3
  export class OzonContent {
4
- handleClick(event) {
5
- this.transformer.handleClickEvent(event);
6
- }
7
- componentWillLoad() {
8
- this.transformer = new OzonContentTransformer(this.anchorClick);
9
- }
10
- componentWillRender() {
11
- this.transformer.setContent(this.content);
4
+ constructor() {
5
+ this.state = {};
6
+ this.mapper = new Mapper();
12
7
  }
13
8
  render() {
14
- return h("div", { class: "dso-rich-content", ref: el => this.container = el });
15
- }
16
- componentDidRender() {
17
9
  var _a;
18
- const content = this.transformer.content;
19
- if (this.container && content) {
20
- this.container.replaceChildren(...Array.from(content));
21
- }
22
- else {
23
- (_a = this.container) === null || _a === void 0 ? void 0 : _a.replaceChildren();
24
- }
10
+ const context = {
11
+ state: this.state,
12
+ setState: state => this.state = state,
13
+ emitAnchorClick: this.anchorClick.emit
14
+ };
15
+ return this.mapper.transform((_a = this.content) !== null && _a !== void 0 ? _a : '', context);
25
16
  }
26
17
  static get is() { return "dso-ozon-content"; }
18
+ static get encapsulation() { return "scoped"; }
27
19
  static get originalStyleUrls() { return {
28
20
  "$": ["ozon-content.scss"]
29
21
  }; }
@@ -35,11 +27,11 @@ export class OzonContent {
35
27
  "type": "string",
36
28
  "mutable": false,
37
29
  "complexType": {
38
- "original": "string",
39
- "resolved": "string",
30
+ "original": "string | undefined",
31
+ "resolved": "string | undefined",
40
32
  "references": {}
41
33
  },
42
- "required": true,
34
+ "required": false,
43
35
  "optional": false,
44
36
  "docs": {
45
37
  "tags": [],
@@ -49,6 +41,9 @@ export class OzonContent {
49
41
  "reflect": false
50
42
  }
51
43
  }; }
44
+ static get states() { return {
45
+ "state": {}
46
+ }; }
52
47
  static get events() { return [{
53
48
  "method": "anchorClick",
54
49
  "name": "anchorClick",
@@ -60,21 +55,14 @@ export class OzonContent {
60
55
  "text": ""
61
56
  },
62
57
  "complexType": {
63
- "original": "ContentAnchor",
64
- "resolved": "ContentAnchor",
58
+ "original": "OzonContentAnchorClick",
59
+ "resolved": "OzonContentAnchorClick",
65
60
  "references": {
66
- "ContentAnchor": {
61
+ "OzonContentAnchorClick": {
67
62
  "location": "import",
68
63
  "path": "./ozon-content.interfaces"
69
64
  }
70
65
  }
71
66
  }
72
67
  }]; }
73
- static get listeners() { return [{
74
- "name": "click",
75
- "method": "handleClick",
76
- "target": undefined,
77
- "capture": false,
78
- "passive": false
79
- }]; }
80
68
  }
@@ -1,10 +1,13 @@
1
- import { h, Component, Prop, Event, Fragment, Element, State, forceUpdate, Watch } from '@stencil/core';
1
+ import { h, Component, Prop, Event, Fragment, Element, State, forceUpdate, Watch, Method } from '@stencil/core';
2
2
  import { createIdentifier } from '../../utils/create-identifier';
3
3
  export class Selectable {
4
4
  constructor() {
5
5
  this.infoActive = false;
6
6
  this.fallbackIdentifier = createIdentifier('DsoSelectable');
7
7
  }
8
+ async toggleInfo(active) {
9
+ this.infoActive = active !== null && active !== void 0 ? active : !this.infoActive;
10
+ }
8
11
  componentDidLoad() {
9
12
  var _a;
10
13
  (_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
@@ -260,6 +263,27 @@ export class Selectable {
260
263
  }
261
264
  }
262
265
  }]; }
266
+ static get methods() { return {
267
+ "toggleInfo": {
268
+ "complexType": {
269
+ "signature": "(active?: boolean | undefined) => Promise<void>",
270
+ "parameters": [{
271
+ "tags": [],
272
+ "text": ""
273
+ }],
274
+ "references": {
275
+ "Promise": {
276
+ "location": "global"
277
+ }
278
+ },
279
+ "return": "Promise<void>"
280
+ },
281
+ "docs": {
282
+ "text": "",
283
+ "tags": []
284
+ }
285
+ }
286
+ }; }
263
287
  static get elementRef() { return "host"; }
264
288
  static get watchers() { return [{
265
289
  "propName": "indeterminate",
@@ -0,0 +1,7 @@
1
+ import { h } from '@stencil/core';
2
+ export const ViewerGridFilterpanelButtons = ({ onApply, onCancel }) => (h("div", { class: "filterpanel-buttons" },
3
+ h("button", { type: "button", class: "cancel-button", onClick: onCancel },
4
+ h("span", null, "Annuleren")),
5
+ h("button", { type: "button", class: "apply-button", onClick: onApply },
6
+ h("span", null, "Toepassen"),
7
+ h("dso-icon", { icon: "chevron-right" }))));