@dso-toolkit/core 65.0.2 → 66.1.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 (302) hide show
  1. package/dist/cjs/dso-alert_6.cjs.entry.js +6 -7
  2. package/dist/cjs/dso-alert_6.cjs.entry.js.map +1 -1
  3. package/dist/cjs/dso-annotation-locatie_2.cjs.entry.js +1 -1
  4. package/dist/cjs/dso-autosuggest.cjs.entry.js +1 -1
  5. package/dist/cjs/dso-card-container.cjs.entry.js +1 -1
  6. package/dist/cjs/dso-card.cjs.entry.js +7 -35
  7. package/dist/cjs/dso-card.cjs.entry.js.map +1 -1
  8. package/dist/cjs/dso-date-picker-legacy.cjs.entry.js +3 -3
  9. package/dist/cjs/dso-date-picker.cjs.entry.js +1 -1
  10. package/dist/cjs/dso-document-card.cjs.entry.js +45 -0
  11. package/dist/cjs/dso-document-card.cjs.entry.js.map +1 -0
  12. package/dist/cjs/dso-dropdown-menu.cjs.entry.js +1 -1
  13. package/dist/cjs/dso-header.cjs.entry.js +1 -1
  14. package/dist/cjs/dso-helpcenter-panel.cjs.entry.js +2 -2
  15. package/dist/cjs/dso-highlight-box.cjs.entry.js +1 -1
  16. package/dist/cjs/dso-icon.cjs.entry.js +1 -1
  17. package/dist/cjs/dso-info-button.cjs.entry.js +2 -2
  18. package/dist/cjs/dso-info-button.cjs.entry.js.map +1 -1
  19. package/dist/cjs/dso-info_2.cjs.entry.js +2 -2
  20. package/dist/cjs/dso-input-range.cjs.entry.js +2 -2
  21. package/dist/cjs/dso-label_2.cjs.entry.js +5 -5
  22. package/dist/cjs/dso-legend-item.cjs.entry.js +2 -2
  23. package/dist/cjs/dso-list-button.cjs.entry.js +1 -1
  24. package/dist/cjs/dso-logo.cjs.entry.js +1 -1
  25. package/dist/cjs/dso-map-base-layers.cjs.entry.js +1 -1
  26. package/dist/cjs/dso-map-controls.cjs.entry.js +1 -1
  27. package/dist/cjs/dso-map-overlays.cjs.entry.js +1 -1
  28. package/dist/cjs/dso-mark-bar.cjs.entry.js +1 -1
  29. package/dist/cjs/dso-modal.cjs.entry.js +3 -3
  30. package/dist/cjs/dso-modal.cjs.entry.js.map +1 -1
  31. package/dist/cjs/dso-plekinfo-card.cjs.entry.js +59 -0
  32. package/dist/cjs/dso-plekinfo-card.cjs.entry.js.map +1 -0
  33. package/dist/cjs/dso-progress-bar.cjs.entry.js +1 -1
  34. package/dist/cjs/dso-progress-indicator.cjs.entry.js +1 -1
  35. package/dist/cjs/dso-project-item.cjs.entry.js +1 -1
  36. package/dist/cjs/dso-renvooi_2.cjs.entry.js +1 -1
  37. package/dist/cjs/dso-responsive-element.cjs.entry.js +1 -1
  38. package/dist/cjs/dso-scrollable.cjs.entry.js +3 -3
  39. package/dist/cjs/dso-tabs.cjs.entry.js +1 -1
  40. package/dist/cjs/dso-toggletip.cjs.entry.js +1 -1
  41. package/dist/cjs/dso-toolkit.cjs.js +1 -1
  42. package/dist/cjs/dso-tree-view.cjs.entry.js +1 -1
  43. package/dist/cjs/dso-viewer-grid.cjs.entry.js +2 -2
  44. package/dist/cjs/dsot-document-component-demo.cjs.entry.js +1 -1
  45. package/dist/cjs/{index-7244933f.js → index-a49786b9.js} +7 -1
  46. package/dist/cjs/index-a49786b9.js.map +1 -0
  47. package/dist/cjs/loader.cjs.js +1 -1
  48. package/dist/collection/collection-manifest.json +2 -0
  49. package/dist/collection/components/card/card.css +33 -17
  50. package/dist/collection/components/card/card.interfaces.js.map +1 -1
  51. package/dist/collection/components/card/card.js +35 -79
  52. package/dist/collection/components/card/card.js.map +1 -1
  53. package/dist/collection/components/card-container/card-container.js +1 -1
  54. package/dist/collection/components/date-picker/date-picker.js +1 -1
  55. package/dist/collection/components/date-picker-legacy/date-picker-legacy.js +3 -3
  56. package/dist/collection/components/document-card/document-card.css +90 -0
  57. package/dist/collection/components/document-card/document-card.interfaces.js +2 -0
  58. package/dist/collection/components/document-card/document-card.interfaces.js.map +1 -0
  59. package/dist/collection/components/document-card/document-card.js +111 -0
  60. package/dist/collection/components/document-card/document-card.js.map +1 -0
  61. package/dist/collection/components/document-component/document-component.js +1 -1
  62. package/dist/collection/components/document-component-demo/document-component.demo.js +1 -1
  63. package/dist/collection/components/dropdown-menu/dropdown-menu.js +1 -1
  64. package/dist/collection/components/helpcenter-panel/helpcenter-panel.js +2 -2
  65. package/dist/collection/components/highlight-box/highlight-box.js +1 -1
  66. package/dist/collection/components/icon/icon.js +1 -1
  67. package/dist/collection/components/image-overlay/image-overlay.js +1 -2
  68. package/dist/collection/components/image-overlay/image-overlay.js.map +1 -1
  69. package/dist/collection/components/info/info.js +1 -1
  70. package/dist/collection/components/info-button/info-button.css +1 -1
  71. package/dist/collection/components/info-button/info-button.js +1 -1
  72. package/dist/collection/components/input-range/input-range.js +2 -2
  73. package/dist/collection/components/label/label.js +3 -3
  74. package/dist/collection/components/legend-item/legend-item.js +2 -2
  75. package/dist/collection/components/list-button/list-button.js +1 -1
  76. package/dist/collection/components/logo/logo.js +1 -1
  77. package/dist/collection/components/map-base-layers/map-base-layers.js +1 -1
  78. package/dist/collection/components/map-controls/map-controls.js +1 -1
  79. package/dist/collection/components/map-overlays/map-overlays.js +1 -1
  80. package/dist/collection/components/mark-bar/mark-bar.js +1 -1
  81. package/dist/collection/components/modal/modal.css +2 -2
  82. package/dist/collection/components/modal/modal.js +2 -2
  83. package/dist/collection/components/ozon-content/ozon-content.css +2 -2
  84. package/dist/collection/components/ozon-content/ozon-content.js +1 -1
  85. package/dist/collection/components/plekinfo-card/plekinfo-card.css +165 -0
  86. package/dist/collection/components/plekinfo-card/plekinfo-card.interfaces.js +2 -0
  87. package/dist/collection/components/plekinfo-card/plekinfo-card.interfaces.js.map +1 -0
  88. package/dist/collection/components/plekinfo-card/plekinfo-card.js +148 -0
  89. package/dist/collection/components/plekinfo-card/plekinfo-card.js.map +1 -0
  90. package/dist/collection/components/progress-bar/progress-bar.js +1 -1
  91. package/dist/collection/components/progress-indicator/progress-indicator.js +1 -1
  92. package/dist/collection/components/project-item/project-item.js +1 -1
  93. package/dist/collection/components/responsive-element/responsive-element.js +1 -1
  94. package/dist/collection/components/scrollable/scrollable.js +2 -2
  95. package/dist/collection/components/selectable/selectable.js +1 -1
  96. package/dist/collection/components/slide-toggle/slide-toggle.js +1 -1
  97. package/dist/collection/components/table/table.css +2 -2
  98. package/dist/collection/components/table/table.js +1 -1
  99. package/dist/collection/components/tabs/tabs.js +1 -1
  100. package/dist/collection/components/toggletip/toggletip.js +1 -1
  101. package/dist/collection/components/tooltip/tooltip.js +1 -1
  102. package/dist/collection/components/tree-view/tree-view.js +1 -1
  103. package/dist/collection/components/viewer-grid/viewer-grid.js +1 -1
  104. package/dist/components/document-component.js +1 -1
  105. package/dist/components/dropdown-menu.js +1 -1
  106. package/dist/components/dso-card-container.js +1 -1
  107. package/dist/components/dso-card.js +9 -38
  108. package/dist/components/dso-card.js.map +1 -1
  109. package/dist/components/dso-date-picker-legacy.js +3 -3
  110. package/dist/components/dso-date-picker.js +1 -1
  111. package/dist/components/dso-document-card.d.ts +11 -0
  112. package/dist/components/dso-document-card.js +68 -0
  113. package/dist/components/dso-document-card.js.map +1 -0
  114. package/dist/components/dso-helpcenter-panel.js +2 -2
  115. package/dist/components/dso-highlight-box.js +1 -1
  116. package/dist/components/dso-input-range.js +2 -2
  117. package/dist/components/dso-legend-item.js +2 -2
  118. package/dist/components/dso-list-button.js +1 -1
  119. package/dist/components/dso-logo.js +1 -1
  120. package/dist/components/dso-map-base-layers.js +1 -1
  121. package/dist/components/dso-map-controls.js +1 -1
  122. package/dist/components/dso-map-overlays.js +1 -1
  123. package/dist/components/dso-mark-bar.js +1 -1
  124. package/dist/components/dso-modal.js +3 -3
  125. package/dist/components/dso-modal.js.map +1 -1
  126. package/dist/components/dso-plekinfo-card.d.ts +11 -0
  127. package/dist/components/dso-plekinfo-card.js +83 -0
  128. package/dist/components/dso-plekinfo-card.js.map +1 -0
  129. package/dist/components/dso-progress-bar.js +1 -1
  130. package/dist/components/dso-project-item.js +1 -1
  131. package/dist/components/dso-tabs.js +1 -1
  132. package/dist/components/dso-tree-view.js +1 -1
  133. package/dist/components/dso-viewer-grid.js +1 -1
  134. package/dist/components/dsot-document-component-demo.js +1 -1
  135. package/dist/components/icon.js +1 -1
  136. package/dist/components/image-overlay.js +1 -2
  137. package/dist/components/image-overlay.js.map +1 -1
  138. package/dist/components/index.d.ts +4 -0
  139. package/dist/components/index.js +2 -0
  140. package/dist/components/index.js.map +1 -1
  141. package/dist/components/index2.js +6 -0
  142. package/dist/components/index2.js.map +1 -1
  143. package/dist/components/info-button.js +2 -2
  144. package/dist/components/info-button.js.map +1 -1
  145. package/dist/components/info.js +1 -1
  146. package/dist/components/label.js +3 -3
  147. package/dist/components/ozon-content.js +2 -2
  148. package/dist/components/ozon-content.js.map +1 -1
  149. package/dist/components/progress-indicator.js +1 -1
  150. package/dist/components/responsive-element.js +1 -1
  151. package/dist/components/scrollable.js +2 -2
  152. package/dist/components/selectable.js +1 -1
  153. package/dist/components/slide-toggle.js +1 -1
  154. package/dist/components/table.js +2 -2
  155. package/dist/components/table.js.map +1 -1
  156. package/dist/components/toggletip.js +1 -1
  157. package/dist/components/tooltip.js +1 -1
  158. package/dist/dso-toolkit/dso-toolkit.esm.js +1 -1
  159. package/dist/dso-toolkit/dso-toolkit.esm.js.map +1 -1
  160. package/dist/dso-toolkit/p-05094f69.entry.js +2 -0
  161. package/dist/dso-toolkit/p-16e112f1.js +2 -0
  162. package/dist/dso-toolkit/p-16e112f1.js.map +1 -0
  163. package/dist/dso-toolkit/{p-9772e3b6.entry.js → p-228e4c2d.entry.js} +2 -2
  164. package/dist/dso-toolkit/p-2d9b7138.entry.js +2 -0
  165. package/dist/dso-toolkit/p-2d9b7138.entry.js.map +1 -0
  166. package/dist/dso-toolkit/{p-33629822.entry.js → p-34f1afd3.entry.js} +2 -2
  167. package/dist/dso-toolkit/{p-e4eed4a2.entry.js → p-3be4c978.entry.js} +2 -2
  168. package/dist/dso-toolkit/{p-4948f5e5.entry.js → p-3cdfb92e.entry.js} +2 -2
  169. package/dist/dso-toolkit/{p-8d57cfcf.entry.js → p-46e446b0.entry.js} +2 -2
  170. package/dist/dso-toolkit/p-587779a5.entry.js +2 -0
  171. package/dist/dso-toolkit/{p-19dd99c6.entry.js.map → p-587779a5.entry.js.map} +1 -1
  172. package/dist/dso-toolkit/{p-1f8b5c49.entry.js → p-608835d8.entry.js} +2 -2
  173. package/dist/dso-toolkit/{p-34c19fc1.entry.js → p-64bf55d1.entry.js} +2 -2
  174. package/dist/dso-toolkit/p-6a414b15.entry.js +2 -0
  175. package/dist/dso-toolkit/{p-d7358e77.entry.js.map → p-6a414b15.entry.js.map} +1 -1
  176. package/dist/dso-toolkit/p-778c0381.entry.js +2 -0
  177. package/dist/dso-toolkit/p-778c0381.entry.js.map +1 -0
  178. package/dist/dso-toolkit/{p-ff8a8429.entry.js → p-8b9ee8d3.entry.js} +2 -2
  179. package/dist/dso-toolkit/p-8e699eb2.entry.js +2 -0
  180. package/dist/dso-toolkit/p-8e699eb2.entry.js.map +1 -0
  181. package/dist/dso-toolkit/{p-e563fe5b.entry.js → p-950d43d8.entry.js} +2 -2
  182. package/dist/dso-toolkit/{p-0cd85e9b.entry.js → p-9ebf26d8.entry.js} +2 -2
  183. package/dist/dso-toolkit/{p-54dd8d20.entry.js → p-a168dbd1.entry.js} +2 -2
  184. package/dist/dso-toolkit/{p-9af9870b.entry.js → p-a6f19891.entry.js} +2 -2
  185. package/dist/dso-toolkit/{p-4d1af9b6.entry.js → p-a801f428.entry.js} +2 -2
  186. package/dist/dso-toolkit/{p-afb2d842.entry.js → p-a9427715.entry.js} +2 -2
  187. package/dist/dso-toolkit/{p-e96c2531.entry.js → p-ab22347c.entry.js} +2 -2
  188. package/dist/dso-toolkit/{p-2ab51dba.entry.js → p-ae076d5b.entry.js} +2 -2
  189. package/dist/dso-toolkit/{p-f9a0b819.entry.js → p-bb87ef29.entry.js} +2 -2
  190. package/dist/dso-toolkit/p-bda2d5ce.entry.js +2 -0
  191. package/dist/dso-toolkit/{p-c0460667.entry.js → p-cc6c428b.entry.js} +2 -2
  192. package/dist/dso-toolkit/{p-5db11fa4.entry.js → p-d885c651.entry.js} +2 -2
  193. package/dist/dso-toolkit/p-dcea90be.entry.js +2 -0
  194. package/dist/dso-toolkit/p-dcea90be.entry.js.map +1 -0
  195. package/dist/dso-toolkit/{p-2f9c5d0e.entry.js → p-dd6cf2cd.entry.js} +2 -2
  196. package/dist/dso-toolkit/{p-4e6511c3.entry.js → p-e132910b.entry.js} +2 -2
  197. package/dist/dso-toolkit/{p-5fa80df5.entry.js → p-e3fea9f8.entry.js} +2 -2
  198. package/dist/dso-toolkit/{p-18318bd5.entry.js → p-e773c47e.entry.js} +2 -2
  199. package/dist/dso-toolkit/{p-2a83ec2c.entry.js → p-e8322c5b.entry.js} +2 -2
  200. package/dist/dso-toolkit/{p-d3d7cd07.entry.js → p-e96183ae.entry.js} +2 -2
  201. package/dist/dso-toolkit/{p-aa4d13b4.entry.js → p-e9896db2.entry.js} +2 -2
  202. package/dist/dso-toolkit/{p-0c228908.entry.js → p-ea46d648.entry.js} +2 -2
  203. package/dist/dso-toolkit/{p-448d84e3.entry.js → p-ef8fbe01.entry.js} +2 -2
  204. package/dist/dso-toolkit/{p-85d58afe.entry.js → p-fc82b0d0.entry.js} +2 -2
  205. package/dist/esm/dso-alert_6.entry.js +6 -7
  206. package/dist/esm/dso-alert_6.entry.js.map +1 -1
  207. package/dist/esm/dso-annotation-locatie_2.entry.js +1 -1
  208. package/dist/esm/dso-autosuggest.entry.js +1 -1
  209. package/dist/esm/dso-card-container.entry.js +1 -1
  210. package/dist/esm/dso-card.entry.js +7 -35
  211. package/dist/esm/dso-card.entry.js.map +1 -1
  212. package/dist/esm/dso-date-picker-legacy.entry.js +3 -3
  213. package/dist/esm/dso-date-picker.entry.js +1 -1
  214. package/dist/esm/dso-document-card.entry.js +41 -0
  215. package/dist/esm/dso-document-card.entry.js.map +1 -0
  216. package/dist/esm/dso-dropdown-menu.entry.js +1 -1
  217. package/dist/esm/dso-header.entry.js +1 -1
  218. package/dist/esm/dso-helpcenter-panel.entry.js +2 -2
  219. package/dist/esm/dso-highlight-box.entry.js +1 -1
  220. package/dist/esm/dso-icon.entry.js +1 -1
  221. package/dist/esm/dso-info-button.entry.js +2 -2
  222. package/dist/esm/dso-info-button.entry.js.map +1 -1
  223. package/dist/esm/dso-info_2.entry.js +2 -2
  224. package/dist/esm/dso-input-range.entry.js +2 -2
  225. package/dist/esm/dso-label_2.entry.js +5 -5
  226. package/dist/esm/dso-legend-item.entry.js +2 -2
  227. package/dist/esm/dso-list-button.entry.js +1 -1
  228. package/dist/esm/dso-logo.entry.js +1 -1
  229. package/dist/esm/dso-map-base-layers.entry.js +1 -1
  230. package/dist/esm/dso-map-controls.entry.js +1 -1
  231. package/dist/esm/dso-map-overlays.entry.js +1 -1
  232. package/dist/esm/dso-mark-bar.entry.js +1 -1
  233. package/dist/esm/dso-modal.entry.js +3 -3
  234. package/dist/esm/dso-modal.entry.js.map +1 -1
  235. package/dist/esm/dso-plekinfo-card.entry.js +55 -0
  236. package/dist/esm/dso-plekinfo-card.entry.js.map +1 -0
  237. package/dist/esm/dso-progress-bar.entry.js +1 -1
  238. package/dist/esm/dso-progress-indicator.entry.js +1 -1
  239. package/dist/esm/dso-project-item.entry.js +1 -1
  240. package/dist/esm/dso-renvooi_2.entry.js +1 -1
  241. package/dist/esm/dso-responsive-element.entry.js +1 -1
  242. package/dist/esm/dso-scrollable.entry.js +3 -3
  243. package/dist/esm/dso-tabs.entry.js +1 -1
  244. package/dist/esm/dso-toggletip.entry.js +1 -1
  245. package/dist/esm/dso-toolkit.js +1 -1
  246. package/dist/esm/dso-tree-view.entry.js +1 -1
  247. package/dist/esm/dso-viewer-grid.entry.js +2 -2
  248. package/dist/esm/dsot-document-component-demo.entry.js +1 -1
  249. package/dist/esm/{index-f62149d1.js → index-e112e225.js} +7 -1
  250. package/dist/esm/index-e112e225.js.map +1 -0
  251. package/dist/esm/loader.js +1 -1
  252. package/dist/types/components/card/card.d.ts +14 -18
  253. package/dist/types/components/card/card.interfaces.d.ts +2 -3
  254. package/dist/types/components/document-card/document-card.d.ts +29 -0
  255. package/dist/types/components/document-card/document-card.interfaces.d.ts +5 -0
  256. package/dist/types/components/plekinfo-card/plekinfo-card.d.ts +34 -0
  257. package/dist/types/components/plekinfo-card/plekinfo-card.interfaces.d.ts +6 -0
  258. package/dist/types/components.d.ts +119 -21
  259. package/package.json +5 -5
  260. package/dist/cjs/index-7244933f.js.map +0 -1
  261. package/dist/dso-toolkit/p-19dd99c6.entry.js +0 -2
  262. package/dist/dso-toolkit/p-2e413e3d.entry.js +0 -2
  263. package/dist/dso-toolkit/p-391deb2a.entry.js +0 -2
  264. package/dist/dso-toolkit/p-391deb2a.entry.js.map +0 -1
  265. package/dist/dso-toolkit/p-502f51b9.entry.js +0 -2
  266. package/dist/dso-toolkit/p-709ff0a5.js +0 -2
  267. package/dist/dso-toolkit/p-709ff0a5.js.map +0 -1
  268. package/dist/dso-toolkit/p-88aebd15.entry.js +0 -2
  269. package/dist/dso-toolkit/p-88aebd15.entry.js.map +0 -1
  270. package/dist/dso-toolkit/p-d7358e77.entry.js +0 -2
  271. package/dist/esm/index-f62149d1.js.map +0 -1
  272. /package/dist/dso-toolkit/{p-2e413e3d.entry.js.map → p-05094f69.entry.js.map} +0 -0
  273. /package/dist/dso-toolkit/{p-9772e3b6.entry.js.map → p-228e4c2d.entry.js.map} +0 -0
  274. /package/dist/dso-toolkit/{p-33629822.entry.js.map → p-34f1afd3.entry.js.map} +0 -0
  275. /package/dist/dso-toolkit/{p-e4eed4a2.entry.js.map → p-3be4c978.entry.js.map} +0 -0
  276. /package/dist/dso-toolkit/{p-4948f5e5.entry.js.map → p-3cdfb92e.entry.js.map} +0 -0
  277. /package/dist/dso-toolkit/{p-8d57cfcf.entry.js.map → p-46e446b0.entry.js.map} +0 -0
  278. /package/dist/dso-toolkit/{p-1f8b5c49.entry.js.map → p-608835d8.entry.js.map} +0 -0
  279. /package/dist/dso-toolkit/{p-34c19fc1.entry.js.map → p-64bf55d1.entry.js.map} +0 -0
  280. /package/dist/dso-toolkit/{p-ff8a8429.entry.js.map → p-8b9ee8d3.entry.js.map} +0 -0
  281. /package/dist/dso-toolkit/{p-e563fe5b.entry.js.map → p-950d43d8.entry.js.map} +0 -0
  282. /package/dist/dso-toolkit/{p-0cd85e9b.entry.js.map → p-9ebf26d8.entry.js.map} +0 -0
  283. /package/dist/dso-toolkit/{p-54dd8d20.entry.js.map → p-a168dbd1.entry.js.map} +0 -0
  284. /package/dist/dso-toolkit/{p-9af9870b.entry.js.map → p-a6f19891.entry.js.map} +0 -0
  285. /package/dist/dso-toolkit/{p-4d1af9b6.entry.js.map → p-a801f428.entry.js.map} +0 -0
  286. /package/dist/dso-toolkit/{p-afb2d842.entry.js.map → p-a9427715.entry.js.map} +0 -0
  287. /package/dist/dso-toolkit/{p-e96c2531.entry.js.map → p-ab22347c.entry.js.map} +0 -0
  288. /package/dist/dso-toolkit/{p-2ab51dba.entry.js.map → p-ae076d5b.entry.js.map} +0 -0
  289. /package/dist/dso-toolkit/{p-f9a0b819.entry.js.map → p-bb87ef29.entry.js.map} +0 -0
  290. /package/dist/dso-toolkit/{p-502f51b9.entry.js.map → p-bda2d5ce.entry.js.map} +0 -0
  291. /package/dist/dso-toolkit/{p-c0460667.entry.js.map → p-cc6c428b.entry.js.map} +0 -0
  292. /package/dist/dso-toolkit/{p-5db11fa4.entry.js.map → p-d885c651.entry.js.map} +0 -0
  293. /package/dist/dso-toolkit/{p-2f9c5d0e.entry.js.map → p-dd6cf2cd.entry.js.map} +0 -0
  294. /package/dist/dso-toolkit/{p-4e6511c3.entry.js.map → p-e132910b.entry.js.map} +0 -0
  295. /package/dist/dso-toolkit/{p-5fa80df5.entry.js.map → p-e3fea9f8.entry.js.map} +0 -0
  296. /package/dist/dso-toolkit/{p-18318bd5.entry.js.map → p-e773c47e.entry.js.map} +0 -0
  297. /package/dist/dso-toolkit/{p-2a83ec2c.entry.js.map → p-e8322c5b.entry.js.map} +0 -0
  298. /package/dist/dso-toolkit/{p-d3d7cd07.entry.js.map → p-e96183ae.entry.js.map} +0 -0
  299. /package/dist/dso-toolkit/{p-aa4d13b4.entry.js.map → p-e9896db2.entry.js.map} +0 -0
  300. /package/dist/dso-toolkit/{p-0c228908.entry.js.map → p-ea46d648.entry.js.map} +0 -0
  301. /package/dist/dso-toolkit/{p-448d84e3.entry.js.map → p-ef8fbe01.entry.js.map} +0 -0
  302. /package/dist/dso-toolkit/{p-85d58afe.entry.js.map → p-fc82b0d0.entry.js.map} +0 -0
@@ -137,7 +137,7 @@ const DocumentComponent = class {
137
137
  this.alternativeTitle ||
138
138
  this.bevatOntwerpInformatie ||
139
139
  this.annotated);
140
- return (index.h(index.Host, { key: 'd9fbf327a2334fa789aca4e287edb2a72b7a143c', "not-collapsible": !collapsible }, showHeading && (index.h("div", { key: 'be06c84763a0ebeb4b737b35199143e3dfd2df69', class: "heading-container", part: "_heading-container" }, this.wijzigactie && index.h("span", { key: 'a49b41ed8dedf72c8e7c4d2ca6a7ad4b74896d2f', class: "editaction-label" }, this.wijzigactieLabel, ":"), index.h("div", { key: '6c527436ab28110f2a567f5324f645ccadd7b2af', class: "heading" }, index.h(Heading, { key: 'af14361336a0bec3938f6fdbef68486c0f665839', heading: this.heading, class: "heading-element", onClick: this.handleHeadingClick }, collapsible && (index.h("button", { key: 'ec14fa46b5523db43ecf2a0f5872f683b15c3044', type: "button", class: "toggle-button", "aria-describedby": "heading-title", "aria-expanded": this.open.toString() }, index.h("dso-icon", { key: '530c11c39efb69202d495013a16d08203dc2a47a', icon: this.open ? "chevron-down" : "chevron-right" }), index.h("span", { key: '526ab6032c2882649ff40b2a6a167b1bba5b0ce0', class: "sr-only" }, this.open ? "Invouwen" : "Uitvouwen"))), index.h("div", { key: '11d2b4d495a0fbdbf1aced54151382ac9e3aa72b', id: "heading-title" }, this.notApplicable && index.h("span", { key: '4e5cc5d128833bf15d58a2fb30072c586ff980c2', class: "sr-only" }, "Niet van toepassing:"), this.label || this.nummer || this.opschrift ? (index.h(index.Fragment, null, this.label && (index.h(index.Fragment, null, " ", index.h("dso-ozon-content", { content: this.label, onDsoAnchorClick: this.handleOzonContentAnchorClick, mark: this.mark && ((text) => { var _a; return (_a = this.mark) === null || _a === void 0 ? void 0 : _a.call(this, text, "label"); }), onDsoOzonContentMarkItemHighlight: (e) => this.dsoMarkItemHighlight.emit(Object.assign(Object.assign({}, e.detail), { source: "label" })), inline: true }))), this.nummer && (index.h(index.Fragment, null, " ", index.h("dso-ozon-content", { content: this.nummer, onDsoAnchorClick: this.handleOzonContentAnchorClick, mark: this.mark && ((text) => { var _a; return (_a = this.mark) === null || _a === void 0 ? void 0 : _a.call(this, text, "nummer"); }), onDsoOzonContentMarkItemHighlight: (e) => this.dsoMarkItemHighlight.emit(Object.assign(Object.assign({}, e.detail), { source: "nummer" })), inline: true }))), this.opschrift && (index.h(index.Fragment, null, " ", index.h("dso-ozon-content", { content: this.opschrift, onDsoAnchorClick: this.handleOzonContentAnchorClick, mark: this.mark && ((text) => { var _a; return (_a = this.mark) === null || _a === void 0 ? void 0 : _a.call(this, text, "opschrift"); }), onDsoOzonContentMarkItemHighlight: (e) => this.dsoMarkItemHighlight.emit(Object.assign(Object.assign({}, e.detail), { source: "opschrift" })), inline: true }))))) : (this.alternativeTitle), suffix && index.h("span", { key: 'e8849ad89494fbeb22dab9f94d7bb20ae8c620ab' }, " - [", suffix, "]"))), this.recursiveToggle !== undefined && this.open && (index.h("button", { key: 'a607765c7d38fd1f797aad54ddbb42ef0b67721a', type: "button", class: "recursive-toggle", title: this.recursiveToggle === true ? "Verberg alles" : "Toon alles", onClick: this.handleRecursiveToggleClick }, index.h("dso-icon", { key: 'c28e4caab77b5f6732dfd6cb0c9188655ff13545', icon: this.recursiveToggle === true ? "eye" : "eye-slash" }))), this.genesteOntwerpInformatie && !this.open && !this.bevatOntwerpInformatie && (index.h(index.Fragment, null, index.h("dso-badge", { key: 'c1ecb135adb76ebe9632326a33e0dfd236f78694', status: "warning", "aria-describedby": "nested-draft-description" }, "!"), index.h("dso-tooltip", { key: 'd054622128abb03799737d27efb3158eb9fbfbbe', id: "nested-draft-description" }, "Er is een ontwerp beschikbaar."))), (this.bevatOntwerpInformatie || this.annotated) && (index.h("div", { key: '4e861bf2b1e823cabb145dc2e2fd3d58278028c1', class: "addons" }, this.bevatOntwerpInformatie && (index.h("dso-label", { key: '27fb8767f9fbe08b6b06b6651db4250e30c6979f', status: "warning", compact: true }, "Ontwerp")), this.annotated && (index.h("button", { key: '32cabfce40e57be32a8e20fb252e15b08dbf1b69', type: "button", class: "dso-tertiary", "aria-controls": this.openAnnotation ? "annotations" : undefined, "aria-expanded": this.openAnnotation.toString(), onClick: (e) => this.dsoAnnotationToggle.emit({ originalEvent: e }) }, index.h("dso-icon", { key: '4352ff84f9a43767dc1bb87b668f06719bffebc8', icon: "label" }), index.h("span", { key: '4ec23888f3ed5586d47bd4f08c098c2c1a8db8c5', class: "sr-only" }, "Toelichting bekijken")))))))), index.h("div", { key: '486702c5974c32bcea89085de489aaeac40e6682', class: "annotation-container", part: "_annotation-container" }, this.openAnnotation && (index.h("dso-panel", { key: 'deab6e1cd15335e369d152d0ee79880bcac0f4e2', id: "annotations", onDsoCloseClick: (e) => this.dsoAnnotationToggle.emit({ originalEvent: e }) }, index.h("h2", { key: '5716abe7b4ca874aedd6cb17be11e14ece1dd572', slot: "heading" }, "Kenmerken en kaart"), index.h("slot", { key: 'c583bb579656312b42e3ead86418c7bd223a343a', name: "annotations" })))), this.open && (this.inhoud || this.gereserveerd || this.vervallen) && (index.h("div", { key: '57de95eda0b81b91cd1340ace254b33caa065e88', class: "content", part: "_content" }, this.gereserveerd && (index.h("dso-alert", { key: 'f16856d048e45802fc325c90d2d879d7a5fe7a0e', status: "info" }, "Dit onderdeel is gereserveerd voor toekomstige toevoeging.")), this.vervallen && index.h("dso-alert", { key: '65354d50e70d74a0d30f1e6209f9babe93b74d95', status: "info" }, "Dit onderdeel is vervallen."), this.inhoud && (index.h("dso-ozon-content", { key: '1e7631193b8dafdd830df9ec5d6d1bbb37eba878', content: this.inhoud, onDsoAnchorClick: this.handleOzonContentAnchorClick, mark: this.mark && ((text) => { var _a; return (_a = this.mark) === null || _a === void 0 ? void 0 : _a.call(this, text, "inhoud"); }), onDsoOzonContentMarkItemHighlight: (e) => this.dsoMarkItemHighlight.emit(Object.assign(Object.assign({}, e.detail), { source: "inhoud" })) })))), index.h("div", { key: 'ae7be71e5be0c8e8d16362a29614dc57a19b17e7', class: "children-container", part: "_children-container" }, index.h("slot", { key: 'f5dcb7db6079a27530176e06c8726fca11525bd5' }))));
140
+ return (index.h(index.Host, { key: '454b2c4cc8879b27b38703cfe0b3756601810ee1', "not-collapsible": !collapsible }, showHeading && (index.h("div", { key: '62ee2cff584b63870a2a0df52dd1cebf898c9b28', class: "heading-container", part: "_heading-container" }, this.wijzigactie && index.h("span", { key: '9c2319ad86578a39c8bbb69ee42bc42e010ed484', class: "editaction-label" }, this.wijzigactieLabel, ":"), index.h("div", { key: 'd994741900d6fba0f0bf3ae280cc6d56a9926c7d', class: "heading" }, index.h(Heading, { key: 'e000edf94a35473b069ae2cb196b6457067612f0', heading: this.heading, class: "heading-element", onClick: this.handleHeadingClick }, collapsible && (index.h("button", { key: 'e5716f83a5293cb3309965e878d2c64a90bd8ed1', type: "button", class: "toggle-button", "aria-describedby": "heading-title", "aria-expanded": this.open.toString() }, index.h("dso-icon", { key: 'f261ee091922aec9deec0a4fb4307f5b495fe847', icon: this.open ? "chevron-down" : "chevron-right" }), index.h("span", { key: '82b86c5affd64ce0c0bdcd9214c2b01a0e5f4e86', class: "sr-only" }, this.open ? "Invouwen" : "Uitvouwen"))), index.h("div", { key: 'c159d449cb9f8f01a111a30263dcc1e2be6f567f', id: "heading-title" }, this.notApplicable && index.h("span", { key: '0e1e63f4c1ddf643d029d790676416a06f8c312e', class: "sr-only" }, "Niet van toepassing:"), this.label || this.nummer || this.opschrift ? (index.h(index.Fragment, null, this.label && (index.h(index.Fragment, null, " ", index.h("dso-ozon-content", { content: this.label, onDsoAnchorClick: this.handleOzonContentAnchorClick, mark: this.mark && ((text) => { var _a; return (_a = this.mark) === null || _a === void 0 ? void 0 : _a.call(this, text, "label"); }), onDsoOzonContentMarkItemHighlight: (e) => this.dsoMarkItemHighlight.emit(Object.assign(Object.assign({}, e.detail), { source: "label" })), inline: true }))), this.nummer && (index.h(index.Fragment, null, " ", index.h("dso-ozon-content", { content: this.nummer, onDsoAnchorClick: this.handleOzonContentAnchorClick, mark: this.mark && ((text) => { var _a; return (_a = this.mark) === null || _a === void 0 ? void 0 : _a.call(this, text, "nummer"); }), onDsoOzonContentMarkItemHighlight: (e) => this.dsoMarkItemHighlight.emit(Object.assign(Object.assign({}, e.detail), { source: "nummer" })), inline: true }))), this.opschrift && (index.h(index.Fragment, null, " ", index.h("dso-ozon-content", { content: this.opschrift, onDsoAnchorClick: this.handleOzonContentAnchorClick, mark: this.mark && ((text) => { var _a; return (_a = this.mark) === null || _a === void 0 ? void 0 : _a.call(this, text, "opschrift"); }), onDsoOzonContentMarkItemHighlight: (e) => this.dsoMarkItemHighlight.emit(Object.assign(Object.assign({}, e.detail), { source: "opschrift" })), inline: true }))))) : (this.alternativeTitle), suffix && index.h("span", { key: '553ea20e34bba57d8c90e46a7eb143447603af06' }, " - [", suffix, "]"))), this.recursiveToggle !== undefined && this.open && (index.h("button", { key: 'b1fd46c196bf2ba1a4347bd0935d60cffd17af6a', type: "button", class: "recursive-toggle", title: this.recursiveToggle === true ? "Verberg alles" : "Toon alles", onClick: this.handleRecursiveToggleClick }, index.h("dso-icon", { key: '4b9471a9be31a9c51be8300f314f82dc6c05cf10', icon: this.recursiveToggle === true ? "eye" : "eye-slash" }))), this.genesteOntwerpInformatie && !this.open && !this.bevatOntwerpInformatie && (index.h(index.Fragment, null, index.h("dso-badge", { key: 'b14d09ace537d589d60070fa0923d897baf68fef', status: "warning", "aria-describedby": "nested-draft-description" }, "!"), index.h("dso-tooltip", { key: '666cb91533260f0a29741c9cf1749e3d278b2741', id: "nested-draft-description" }, "Er is een ontwerp beschikbaar."))), (this.bevatOntwerpInformatie || this.annotated) && (index.h("div", { key: '978194b4bb83c9042e9c3fc36bc31200a194c747', class: "addons" }, this.bevatOntwerpInformatie && (index.h("dso-label", { key: '34eab91249174975102aa44cad1285556e6baf08', status: "warning", compact: true }, "Ontwerp")), this.annotated && (index.h("button", { key: '56b143f002b280d0582d82f18f978ea2e1ef758a', type: "button", class: "dso-tertiary", "aria-controls": this.openAnnotation ? "annotations" : undefined, "aria-expanded": this.openAnnotation.toString(), onClick: (e) => this.dsoAnnotationToggle.emit({ originalEvent: e }) }, index.h("dso-icon", { key: '503b5e8a37b7715d01a07ac078c41ed4023c9ccb', icon: "label" }), index.h("span", { key: 'c18f084470886ac1243f9febd73a959294d9dcec', class: "sr-only" }, "Toelichting bekijken")))))))), index.h("div", { key: '633a2dfb0b7227bc569e63f8d93dd1fa878d433f', class: "annotation-container", part: "_annotation-container" }, this.openAnnotation && (index.h("dso-panel", { key: 'd745d46f1818ba0345a06b09012e1005742efd2b', id: "annotations", onDsoCloseClick: (e) => this.dsoAnnotationToggle.emit({ originalEvent: e }) }, index.h("h2", { key: 'e2aaddbc260cd3e3e52406f5453f2bc2ed34f715', slot: "heading" }, "Kenmerken en kaart"), index.h("slot", { key: 'ca21b2b9122cc86319ab5c67bfbecab1130c5d09', name: "annotations" })))), this.open && (this.inhoud || this.gereserveerd || this.vervallen) && (index.h("div", { key: 'a5c0d164071d9fb7ce27342ee7fd134306cc2c47', class: "content", part: "_content" }, this.gereserveerd && (index.h("dso-alert", { key: 'b6d664fde60e0d66d186b59b08473e1a1d70593d', status: "info" }, "Dit onderdeel is gereserveerd voor toekomstige toevoeging.")), this.vervallen && index.h("dso-alert", { key: '5d3a5a5ad7ed7674f55cea7f10d168db0f1e3b22', status: "info" }, "Dit onderdeel is vervallen."), this.inhoud && (index.h("dso-ozon-content", { key: 'c727f90a691d2dd51a781f51108527e1ec9a7add', content: this.inhoud, onDsoAnchorClick: this.handleOzonContentAnchorClick, mark: this.mark && ((text) => { var _a; return (_a = this.mark) === null || _a === void 0 ? void 0 : _a.call(this, text, "inhoud"); }), onDsoOzonContentMarkItemHighlight: (e) => this.dsoMarkItemHighlight.emit(Object.assign(Object.assign({}, e.detail), { source: "inhoud" })) })))), index.h("div", { key: '31490b68a47c3d82698753ebeee4f148318e0287', class: "children-container", part: "_children-container" }, index.h("slot", { key: 'a21bfcf50d1757300acd7babe15b87f5ced436b7' }))));
141
141
  }
142
142
  };
143
143
  DocumentComponent.style = DsoDocumentComponentStyle0;
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-848434f1.js');
6
- const index$1 = require('./index-7244933f.js');
6
+ const index$1 = require('./index-a49786b9.js');
7
7
  const v4 = require('./v4-7014b8b0.js');
8
8
 
9
9
  function escapeStringRegexp(string) {
@@ -13,7 +13,7 @@ const CardContainer = class {
13
13
  this.mode = "list";
14
14
  }
15
15
  render() {
16
- return (index.h(index.Fragment, null, this.mode === "list" && (index.h("ul", { key: '54a6e926c22a118a77119add63558c55a7ef2cf9', class: "dso-card-list" }, index.h("slot", { key: '63777d504620cbc54a94a95bbada8b7028ef5d92' }))), this.mode === "grid" && (index.h("div", { key: '3b0feb3331f54fb7f084ad4c1e3bb18ddca6ee9d', class: "dso-card-grid" }, index.h("slot", { key: '0bc1a70a40326d61cfa9af7b8cdf8e73bb8d39cf' })))));
16
+ return (index.h(index.Fragment, null, this.mode === "list" && (index.h("ul", { key: '32d6c14a02ed4aa3a12a4a987b099ba7f786ab26', class: "dso-card-list" }, index.h("slot", { key: 'f9e8072d7f3dffbcf4e47b19bccc50377dfc8b90' }))), this.mode === "grid" && (index.h("div", { key: 'b0f534dc19d2c781eab8b13a01d222ee263a53e8', class: "dso-card-grid" }, index.h("slot", { key: '347c56580c98cd25a2241f7fc7ed36f868005378' })))));
17
17
  }
18
18
  };
19
19
  CardContainer.style = DsoCardContainerStyle0;
@@ -5,24 +5,16 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  const index = require('./index-848434f1.js');
6
6
  const isModifiedEvent = require('./is-modified-event-f643edb2.js');
7
7
 
8
- const isInteractiveElement = (element) => {
9
- return (element instanceof HTMLButtonElement ||
10
- element instanceof HTMLAnchorElement ||
11
- element instanceof HTMLInputElement ||
12
- element.tagName.startsWith("DSO-TOGGLETIP"));
13
- };
14
-
15
- const cardCss = ":host .dso-card-selectable,:host .dso-card-image{grid-row:span 2}a{background-color:transparent;color:var(--link-color);text-decoration:underline}a:hover,a:focus-visible{color:var(--link-hover-color);text-decoration:underline}a:active{text-decoration:none}a:visited{color:var(--link-visited-color)}a:where(:not(.dso-primary,.dso-secondary,.dso-tertiary)).download{background-repeat:no-repeat;background-size:1.25em 1.25em;padding-inline-end:1.5em;background-position:bottom 0 right 0}a:where(:not(.dso-primary,.dso-secondary,.dso-tertiary)).download{background-image:url(\"./dso-icons.svg#img-download\")}a:where(:not(.dso-primary,.dso-secondary,.dso-tertiary)).download:hover,a:where(:not(.dso-primary,.dso-secondary,.dso-tertiary)).download:focus-visible{background-image:url(\"./dso-icons.svg#img-download-scampi\")}a:where(:not(.dso-primary,.dso-secondary,.dso-tertiary)).extern{background-repeat:no-repeat;background-size:1.25em 1.25em;padding-inline-end:1.5em;background-position:bottom 0 right 0}a:where(:not(.dso-primary,.dso-secondary,.dso-tertiary)).extern{background-image:url(\"./dso-icons.svg#img-external-link\")}a:where(:not(.dso-primary,.dso-secondary,.dso-tertiary)).extern:hover,a:where(:not(.dso-primary,.dso-secondary,.dso-tertiary)).extern:focus-visible{background-image:url(\"./dso-icons.svg#img-external-link-scampi\")}a:where(:not(.dso-primary,.dso-secondary,.dso-tertiary))[href^=\"tel:\"]{background-repeat:no-repeat;background-size:1.25em 1.25em;padding-inline-start:1.5em;background-position:bottom 0 left 0}a:where(:not(.dso-primary,.dso-secondary,.dso-tertiary))[href^=\"tel:\"]{background-image:url(\"./dso-icons.svg#img-call-grasgroen\")}a:where(:not(.dso-primary,.dso-secondary,.dso-tertiary))[href^=\"tel:\"]:hover,a:where(:not(.dso-primary,.dso-secondary,.dso-tertiary))[href^=\"tel:\"]:focus-visible{background-image:url(\"./dso-icons.svg#img-call-scampi\")}a:where(:not(.dso-primary,.dso-secondary,.dso-tertiary))[href^=\"mailto:\"]{background-repeat:no-repeat;background-size:1.25em 1.25em;padding-inline-start:1.5em;background-position:bottom 0 left 0}a:where(:not(.dso-primary,.dso-secondary,.dso-tertiary))[href^=\"mailto:\"]{background-image:url(\"./dso-icons.svg#img-email-grasgroen\")}a:where(:not(.dso-primary,.dso-secondary,.dso-tertiary))[href^=\"mailto:\"]:hover,a:where(:not(.dso-primary,.dso-secondary,.dso-tertiary))[href^=\"mailto:\"]:focus-visible{background-image:url(\"./dso-icons.svg#img-email-scampi\")}*,*::after,*::before{box-sizing:border-box}:host{display:block}:host .dso-card-heading{align-items:center;display:flex;margin-block-end:8px}@media screen and (max-width: 480px){:host .dso-card-heading{flex-wrap:wrap}}:host .dso-card-image{margin-inline-end:8px}:host(:hover) .dso-card-heading a{color:#275937;text-decoration:underline}.dso-card-heading a{text-decoration:none}.heading-anchor{color:#275937;display:flex}.heading-anchor:visited{color:#275937}.heading-anchor dso-icon{flex-shrink:0}.heading-anchor .sr-only{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}";
8
+ const cardCss = "a{background-color:transparent;color:var(--link-color);text-decoration:underline}a:hover,a:focus-visible{color:var(--link-hover-color);text-decoration:underline}a:active{text-decoration:none}a:visited{color:var(--link-visited-color)}a:where(:not(.dso-primary,.dso-secondary,.dso-tertiary)).download{background-repeat:no-repeat;background-size:1.25em 1.25em;padding-inline-end:1.5em;background-position:bottom 0 right 0}a:where(:not(.dso-primary,.dso-secondary,.dso-tertiary)).download{background-image:url(\"./dso-icons.svg#img-download\")}a:where(:not(.dso-primary,.dso-secondary,.dso-tertiary)).download:hover,a:where(:not(.dso-primary,.dso-secondary,.dso-tertiary)).download:focus-visible{background-image:url(\"./dso-icons.svg#img-download-scampi\")}a:where(:not(.dso-primary,.dso-secondary,.dso-tertiary)).extern{background-repeat:no-repeat;background-size:1.25em 1.25em;padding-inline-end:1.5em;background-position:bottom 0 right 0}a:where(:not(.dso-primary,.dso-secondary,.dso-tertiary)).extern{background-image:url(\"./dso-icons.svg#img-external-link\")}a:where(:not(.dso-primary,.dso-secondary,.dso-tertiary)).extern:hover,a:where(:not(.dso-primary,.dso-secondary,.dso-tertiary)).extern:focus-visible{background-image:url(\"./dso-icons.svg#img-external-link-scampi\")}a:where(:not(.dso-primary,.dso-secondary,.dso-tertiary))[href^=\"tel:\"]{background-repeat:no-repeat;background-size:1.25em 1.25em;padding-inline-start:1.5em;background-position:bottom 0 left 0}a:where(:not(.dso-primary,.dso-secondary,.dso-tertiary))[href^=\"tel:\"]{background-image:url(\"./dso-icons.svg#img-call-grasgroen\")}a:where(:not(.dso-primary,.dso-secondary,.dso-tertiary))[href^=\"tel:\"]:hover,a:where(:not(.dso-primary,.dso-secondary,.dso-tertiary))[href^=\"tel:\"]:focus-visible{background-image:url(\"./dso-icons.svg#img-call-scampi\")}a:where(:not(.dso-primary,.dso-secondary,.dso-tertiary))[href^=\"mailto:\"]{background-repeat:no-repeat;background-size:1.25em 1.25em;padding-inline-start:1.5em;background-position:bottom 0 left 0}a:where(:not(.dso-primary,.dso-secondary,.dso-tertiary))[href^=\"mailto:\"]{background-image:url(\"./dso-icons.svg#img-email-grasgroen\")}a:where(:not(.dso-primary,.dso-secondary,.dso-tertiary))[href^=\"mailto:\"]:hover,a:where(:not(.dso-primary,.dso-secondary,.dso-tertiary))[href^=\"mailto:\"]:focus-visible{background-image:url(\"./dso-icons.svg#img-email-scampi\")}*,*::after,*::before{box-sizing:border-box}:host{display:block}:host([is-selectable]:not([is-selectable=false])) .dso-card-container{display:grid;grid-template-columns:1fr minmax(0, 100%)}:host([is-selectable]:not([is-selectable=false])) .dso-card-container .dso-card-heading,:host([is-selectable]:not([is-selectable=false])) .dso-card-container .dso-card-content{grid-column:2/-1}:host([is-selectable]:not([is-selectable=false])) .dso-card-container .dso-card-selectable{grid-row:span 2}:host([active]:not([active=false])) .dso-card-container{background-color:#e5e5e5}.dso-card-container{padding-block:16px;padding-inline:16px;inline-size:100%;block-size:100%}.dso-card-container:has(.dso-card-heading a:is(:hover,:focus-visible)){background-color:#f2f2f2}.dso-card-container .dso-card-heading{align-items:center;display:flex;margin-block-end:8px}@media screen and (max-width: 480px){.dso-card-container .dso-card-heading{flex-wrap:wrap}}.heading-anchor{display:flex;gap:4px;color:#275937;text-decoration:none}.heading-anchor:hover{color:#275937;text-decoration:underline}.heading-anchor:visited{color:#275937}.heading-anchor dso-icon{flex-shrink:0}.heading-anchor .sr-only{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}";
16
9
  const DsoCardStyle0 = cardCss;
17
10
 
18
11
  const Card = class {
19
12
  constructor(hostRef) {
20
13
  index.registerInstance(this, hostRef);
21
- this.dsoCardClicked = index.createEvent(this, "dsoCardClicked", 7);
22
- this.clickable = true;
23
- this.imageShape = "normal";
14
+ this.dsoCardClick = index.createEvent(this, "dsoCardClick", 7);
24
15
  this.href = undefined;
25
16
  this.mode = undefined;
17
+ this.active = undefined;
26
18
  }
27
19
  connectedCallback() {
28
20
  this.mutationObserver = new MutationObserver(() => index.forceUpdate(this.host));
@@ -34,41 +26,21 @@ const Card = class {
34
26
  delete this.mutationObserver;
35
27
  }
36
28
  clickEventHandler(e) {
37
- if (!(e.target instanceof HTMLElement) || (!this.clickable && !this.href)) {
29
+ if (!(e.target instanceof HTMLElement) || !this.href) {
38
30
  return;
39
31
  }
40
- let element = e.target;
41
- while (element !== this.host && element !== null) {
42
- if (isInteractiveElement(element) || element === null) {
43
- return;
44
- }
45
- if (element.parentNode instanceof ShadowRoot && element.parentNode.host instanceof HTMLElement) {
46
- element = element.parentNode.host;
47
- }
48
- else {
49
- element = element.parentElement;
50
- }
51
- }
52
- return this.dsoCardClicked.emit({ originalEvent: e, isModifiedEvent: isModifiedEvent.isModifiedEvent(e) });
32
+ return this.dsoCardClick.emit({ originalEvent: e, isModifiedEvent: isModifiedEvent.isModifiedEvent(e) });
53
33
  }
54
34
  get selectableSlottedElement() {
55
35
  return this.host.querySelector("[slot='selectable']");
56
36
  }
57
- get imageSlottedElement() {
58
- return this.host.querySelector("[slot='image']");
59
- }
60
- get headingSlottedElement() {
61
- return this.host.querySelector("[slot='heading']");
62
- }
63
37
  get interactionsSlottedElement() {
64
38
  return this.host.querySelector("[slot='interactions']");
65
39
  }
66
40
  render() {
67
41
  const isSelectable = this.selectableSlottedElement !== null;
68
- const hasImage = this.imageSlottedElement !== null;
69
- return (index.h(index.Host, { key: 'b9cc1a47bc39e6e2011ba6412436ab855d9819cf', onClick: (e) => this.clickEventHandler(e), "is-selectable": isSelectable, "has-image": hasImage }, index.h("div", { key: 'b8a059c5b2cc2f29392e0311fcbb3a02b1b39580', class: "dso-card-selectable", hidden: !isSelectable }, index.h("slot", { key: '304c0dad6a73ebb2ad12f7c4e0a807d53c7ca660', name: "selectable" })), index.h("div", { key: '3e976d9e8eb0fbc3578a8fc6f32687f97ca6fc69', class: "dso-card-image", hidden: !hasImage }, index.h("slot", { key: 'e10f2acff35dcd3316f0cb14575d5d2e4ab86c95', name: "image" })), index.h("div", { key: 'c7d437cc6d54eab8e9d6ad45411230498b243466', class: "dso-card-heading" }, this.headingSlottedElement instanceof HTMLAnchorElement || !this.href ? (index.h("slot", { name: "heading" })) : (((!this.mode || !["download", "extern"].includes(this.mode)) && (index.h("a", { href: this.href, class: "heading-anchor" }, index.h("slot", { name: "heading" }), index.h("dso-icon", { icon: "chevron-right" })))) ||
70
- (this.mode === "extern" && (index.h("a", { href: this.href, class: "heading-anchor", target: "_blank", rel: "noopener noreferrer" }, index.h("slot", { name: "heading" }), index.h("dso-icon", { icon: "external-link" }), index.h("span", { class: "sr-only" }, "(Opent andere website in nieuw tabblad)")))) ||
71
- (this.mode === "download" && (index.h("a", { href: this.href, class: "heading-anchor" }, index.h("slot", { name: "heading" }), index.h("dso-icon", { icon: "download" }))))), this.interactionsSlottedElement !== null && index.h("slot", { key: 'f318d02fe89a6aa2a9377e2f32d72726c848c42f', name: "interactions" })), index.h("div", { key: '7b725b7edeee93b237352eff09ae2574647b9a3b', class: "dso-card-content" }, index.h("slot", { key: '9f855efe124e2a273b1ecb465b27bc7e01ac10e9', name: "content" }))));
42
+ return (index.h(index.Host, { key: '10c83534a51247b21f0cd43788b5401bb3b7cfe4', "is-selectable": isSelectable }, index.h("div", { key: '1777c1843f484ca91631c8a177af1e596515313d', class: "dso-card-container" }, index.h("div", { key: 'da813c4a48eceb0a2032717c92f06b710241ed70', class: "dso-card-selectable", hidden: !isSelectable }, index.h("slot", { key: '5c9332821517bd1a472b2ecd1ab2614adee16927', name: "selectable" })), index.h("div", { key: '701a3a2dc0d013bfa1f50eddcb4cf8759c7f4241', class: "dso-card-heading" }, (this.mode === "extern" && (index.h("a", { key: '760d6e6a0ab5acc994ed46a50a792db3c6647b6a', href: this.href, class: "heading-anchor", target: "_blank", rel: "noopener noreferrer", onClick: (e) => this.clickEventHandler(e) }, index.h("slot", { key: 'd7c1eb29fc027e72c33efc97aa43d82d8a852b64', name: "heading" }), index.h("dso-icon", { key: '47bb43f25b70e3389f0f021cfd184d21b5ce4c25', icon: "external-link" }), index.h("span", { key: '7ca3f4c4974342f115a608729e2df6bcf24a88df', class: "sr-only" }, "(Opent andere website in nieuw tabblad)")))) ||
43
+ (this.mode === "download" && (index.h("a", { key: '4ae333ab348d7d8c3a4bf1dae8ac9dd923a226e0', href: this.href, class: "heading-anchor", onClick: (e) => this.clickEventHandler(e) }, index.h("slot", { key: '0d6308ffb5d5151865ca5080834d68742cc4e90a', name: "heading" }), index.h("dso-icon", { key: '51317cdfc3378774e61950e9e344df659727d003', icon: "download" })))) || (index.h("a", { key: 'cbf7cfe050923e32a0b4322cf73a98450defa97f', href: this.href, class: "heading-anchor", onClick: (e) => this.clickEventHandler(e) }, index.h("slot", { key: '99a1e24503833f13756b0d6e8433d314865f1fe8', name: "heading" }), index.h("dso-icon", { key: '5425cb2e9285b8252de9ee13dd08b51e834d89d3', icon: "chevron-right" }))), this.interactionsSlottedElement !== null && index.h("slot", { key: 'ce04ab4923fd97fbbea799d4937d0a2f73c781a3', name: "interactions" })), index.h("div", { key: '232a855da9fead8f448bbea8729231688387f4a7', class: "dso-card-content" }, index.h("slot", { key: '73fd2ccecbd49456b44c42c737f4aa75922910eb', name: "content" })))));
72
44
  }
73
45
  get host() { return index.getElement(this); }
74
46
  };
@@ -1 +1 @@
1
- {"file":"dso-card.entry.cjs.js","mappings":";;;;;;;AAAO,MAAM,oBAAoB,GAAG,CAAC,OAAoB;IACvD,QACE,OAAO,YAAY,iBAAiB;QACpC,OAAO,YAAY,iBAAiB;QACpC,OAAO,YAAY,gBAAgB;QACnC,OAAO,CAAC,OAAO,CAAC,UAAU,CAAC,eAAe,CAAC,EAC3C;AACJ,CAAC;;ACPD,MAAM,OAAO,GAAG,6hGAA6hG,CAAC;AAC9iG,sBAAe,OAAO;;MCWT,IAAI;;;;yBAUH,IAAI;0BAQS,QAAQ;;;;IAwBjC,iBAAiB;QACf,IAAI,CAAC,gBAAgB,GAAG,IAAI,gBAAgB,CAAC,MAAMA,iBAAW,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC;QAE3E,IAAI,CAAC,gBAAgB,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,EAAE,EAAE,UAAU,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,CAAC;KACjF;IAED,oBAAoB;;QAClB,MAAA,IAAI,CAAC,gBAAgB,0CAAE,UAAU,EAAE,CAAC;QAEpC,OAAO,IAAI,CAAC,gBAAgB,CAAC;KAC9B;IAEO,iBAAiB,CAAC,CAAa;QACrC,IAAI,EAAE,CAAC,CAAC,MAAM,YAAY,WAAW,CAAC,KAAK,CAAC,IAAI,CAAC,SAAS,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE;YACzE,OAAO;SACR;QAED,IAAI,OAAO,GAAuB,CAAC,CAAC,MAAM,CAAC;QAE3C,OAAO,OAAO,KAAK,IAAI,CAAC,IAAI,IAAI,OAAO,KAAK,IAAI,EAAE;YAChD,IAAI,oBAAoB,CAAC,OAAO,CAAC,IAAI,OAAO,KAAK,IAAI,EAAE;gBACrD,OAAO;aACR;YAED,IAAI,OAAO,CAAC,UAAU,YAAY,UAAU,IAAI,OAAO,CAAC,UAAU,CAAC,IAAI,YAAY,WAAW,EAAE;gBAC9F,OAAO,GAAG,OAAO,CAAC,UAAU,CAAC,IAAI,CAAC;aACnC;iBAAM;gBACL,OAAO,GAAG,OAAO,CAAC,aAAa,CAAC;aACjC;SACF;QAED,OAAO,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,EAAE,aAAa,EAAE,CAAC,EAAE,eAAe,EAAEC,+BAAe,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC;KAC5F;IAED,IAAI,wBAAwB;QAC1B,OAAO,IAAI,CAAC,IAAI,CAAC,aAAa,CAAC,qBAAqB,CAAC,CAAC;KACvD;IAED,IAAI,mBAAmB;QACrB,OAAO,IAAI,CAAC,IAAI,CAAC,aAAa,CAAC,gBAAgB,CAAC,CAAC;KAClD;IAED,IAAI,qBAAqB;QACvB,OAAO,IAAI,CAAC,IAAI,CAAC,aAAa,CAAC,kBAAkB,CAAC,CAAC;KACpD;IAED,IAAI,0BAA0B;QAC5B,OAAO,IAAI,CAAC,IAAI,CAAC,aAAa,CAAC,uBAAuB,CAAC,CAAC;KACzD;IAED,MAAM;QACJ,MAAM,YAAY,GAAG,IAAI,CAAC,wBAAwB,KAAK,IAAI,CAAC;QAC5D,MAAM,QAAQ,GAAG,IAAI,CAAC,mBAAmB,KAAK,IAAI,CAAC;QAEnD,QACEC,QAACC,UAAI,qDAAC,OAAO,EAAE,CAAC,CAAa,KAAK,IAAI,CAAC,iBAAiB,CAAC,CAAC,CAAC,mBAAiB,YAAY,eAAa,QAAQ,IAC3GD,kEAAK,KAAK,EAAC,qBAAqB,EAAC,MAAM,EAAE,CAAC,YAAY,IACpDA,mEAAM,IAAI,EAAC,YAAY,GAAG,CACtB,EACNA,kEAAK,KAAK,EAAC,gBAAgB,EAAC,MAAM,EAAE,CAAC,QAAQ,IAC3CA,mEAAM,IAAI,EAAC,OAAO,GAAG,CACjB,EACNA,kEAAK,KAAK,EAAC,kBAAkB,IAC1B,IAAI,CAAC,qBAAqB,YAAY,iBAAiB,IAAI,CAAC,IAAI,CAAC,IAAI,IACpEA,kBAAM,IAAI,EAAC,SAAS,GAAG,KAEvB,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,IAAI,CAAC,CAAC,UAAU,EAAE,QAAQ,CAAC,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,MACzDA,eAAG,IAAI,EAAE,IAAI,CAAC,IAAI,EAAE,KAAK,EAAC,gBAAgB,IACxCA,kBAAM,IAAI,EAAC,SAAS,GAAG,EACvBA,sBAAU,IAAI,EAAC,eAAe,GAAY,CACxC,CACL;aACA,IAAI,CAAC,IAAI,KAAK,QAAQ,KACrBA,eAAG,IAAI,EAAE,IAAI,CAAC,IAAI,EAAE,KAAK,EAAC,gBAAgB,EAAC,MAAM,EAAC,QAAQ,EAAC,GAAG,EAAC,qBAAqB,IAClFA,kBAAM,IAAI,EAAC,SAAS,GAAG,EACvBA,sBAAU,IAAI,EAAC,eAAe,GAAY,EAC1CA,kBAAM,KAAK,EAAC,SAAS,8CAA+C,CAClE,CACL,CAAC;aACD,IAAI,CAAC,IAAI,KAAK,UAAU,KACvBA,eAAG,IAAI,EAAE,IAAI,CAAC,IAAI,EAAE,KAAK,EAAC,gBAAgB,IACxCA,kBAAM,IAAI,EAAC,SAAS,GAAG,EACvBA,sBAAU,IAAI,EAAC,UAAU,GAAY,CACnC,CACL,CAAC,CACH,EACA,IAAI,CAAC,0BAA0B,KAAK,IAAI,IAAIA,mEAAM,IAAI,EAAC,cAAc,GAAG,CACrE,EACNA,kEAAK,KAAK,EAAC,kBAAkB,IAC3BA,mEAAM,IAAI,EAAC,SAAS,GAAG,CACnB,CACD,EACP;KACH;;;;;;;","names":["forceUpdate","isModifiedEvent","h","Host"],"sources":["src/utils/is-interactive-element.ts","src/components/card/card.scss?tag=dso-card&encapsulation=shadow","src/components/card/card.tsx"],"sourcesContent":["export const isInteractiveElement = (element: HTMLElement): boolean => {\r\n return (\r\n element instanceof HTMLButtonElement ||\r\n element instanceof HTMLAnchorElement ||\r\n element instanceof HTMLInputElement ||\r\n element.tagName.startsWith(\"DSO-TOGGLETIP\")\r\n );\r\n};\r\n","@use \"~dso-toolkit/src/utilities\";\r\n@use \"~dso-toolkit/src/variables/units\";\r\n@use \"~dso-toolkit/src/components/card\";\r\n@use \"~dso-toolkit/src/components/anchor/anchor\";\r\n\r\n@include utilities.box-sizing();\r\n\r\n:host {\r\n @include card.root();\r\n\r\n display: block;\r\n}\r\n\r\n:host(:hover) {\r\n .dso-card-heading a {\r\n color: card.$heading-anchor-hover-color;\r\n text-decoration: underline;\r\n }\r\n}\r\n\r\n.dso-card-heading a {\r\n text-decoration: none;\r\n}\r\n\r\n.heading-anchor {\r\n color: card.$heading-anchor-color;\r\n display: flex;\r\n\r\n &:visited {\r\n color: card.$heading-anchor-color;\r\n }\r\n\r\n dso-icon {\r\n flex-shrink: 0;\r\n }\r\n\r\n .sr-only {\r\n @include utilities.sr-only();\r\n }\r\n}\r\n","import { h, Component, ComponentInterface, Element, Event, EventEmitter, Host, Prop, forceUpdate } from \"@stencil/core\";\r\n\r\nimport { isInteractiveElement } from \"../../utils/is-interactive-element\";\r\nimport { isModifiedEvent } from \"../../utils/is-modified-event\";\r\n\r\nimport { DsoCardClickedEvent, ImageShape } from \"./card.interfaces\";\r\n\r\n@Component({\r\n tag: \"dso-card\",\r\n styleUrl: \"card.scss\",\r\n shadow: true,\r\n})\r\nexport class Card implements ComponentInterface {\r\n @Element()\r\n host!: HTMLDsoCardElement;\r\n\r\n /**\r\n * Whether or not the Card is clickable. This is NOT a boolean attribute. Set to \"false\" to make the Card non-clickable.\r\n *\r\n * @deprecated Use `href` instead and `<ELEMENT_TYPE slot=\"heading\">` should NOT be of element type `a` (anchor).\r\n */\r\n @Prop({ reflect: true })\r\n clickable = true;\r\n\r\n /**\r\n * Presentation of image in header.\r\n * - \"normal\" (\"24 x 24\").\r\n * - \"wide\" (\"30 x 26\")\r\n */\r\n @Prop({ reflect: true })\r\n imageShape: ImageShape = \"normal\";\r\n\r\n /**\r\n * The URL to which the Card heading links.\r\n */\r\n @Prop({ reflect: true })\r\n href?: string;\r\n\r\n /**\r\n * Display the link as an external link or a download link\r\n * - \"download\"\r\n * - \"extern\"\r\n */\r\n @Prop({ reflect: true })\r\n mode?: string;\r\n\r\n /**\r\n * Emitted when the Card is clickable and the user clicked the Card.\r\n */\r\n @Event()\r\n dsoCardClicked!: EventEmitter<DsoCardClickedEvent>;\r\n\r\n private mutationObserver?: MutationObserver;\r\n\r\n connectedCallback(): void {\r\n this.mutationObserver = new MutationObserver(() => forceUpdate(this.host));\r\n\r\n this.mutationObserver.observe(this.host, { attributes: true, childList: true });\r\n }\r\n\r\n disconnectedCallback(): void {\r\n this.mutationObserver?.disconnect();\r\n\r\n delete this.mutationObserver;\r\n }\r\n\r\n private clickEventHandler(e: MouseEvent) {\r\n if (!(e.target instanceof HTMLElement) || (!this.clickable && !this.href)) {\r\n return;\r\n }\r\n\r\n let element: HTMLElement | null = e.target;\r\n\r\n while (element !== this.host && element !== null) {\r\n if (isInteractiveElement(element) || element === null) {\r\n return;\r\n }\r\n\r\n if (element.parentNode instanceof ShadowRoot && element.parentNode.host instanceof HTMLElement) {\r\n element = element.parentNode.host;\r\n } else {\r\n element = element.parentElement;\r\n }\r\n }\r\n\r\n return this.dsoCardClicked.emit({ originalEvent: e, isModifiedEvent: isModifiedEvent(e) });\r\n }\r\n\r\n get selectableSlottedElement() {\r\n return this.host.querySelector(\"[slot='selectable']\");\r\n }\r\n\r\n get imageSlottedElement() {\r\n return this.host.querySelector(\"[slot='image']\");\r\n }\r\n\r\n get headingSlottedElement() {\r\n return this.host.querySelector(\"[slot='heading']\");\r\n }\r\n\r\n get interactionsSlottedElement() {\r\n return this.host.querySelector(\"[slot='interactions']\");\r\n }\r\n\r\n render() {\r\n const isSelectable = this.selectableSlottedElement !== null;\r\n const hasImage = this.imageSlottedElement !== null;\r\n\r\n return (\r\n <Host onClick={(e: MouseEvent) => this.clickEventHandler(e)} is-selectable={isSelectable} has-image={hasImage}>\r\n <div class=\"dso-card-selectable\" hidden={!isSelectable}>\r\n <slot name=\"selectable\" />\r\n </div>\r\n <div class=\"dso-card-image\" hidden={!hasImage}>\r\n <slot name=\"image\" />\r\n </div>\r\n <div class=\"dso-card-heading\">\r\n {this.headingSlottedElement instanceof HTMLAnchorElement || !this.href ? (\r\n <slot name=\"heading\" />\r\n ) : (\r\n ((!this.mode || ![\"download\", \"extern\"].includes(this.mode)) && (\r\n <a href={this.href} class=\"heading-anchor\">\r\n <slot name=\"heading\" />\r\n <dso-icon icon=\"chevron-right\"></dso-icon>\r\n </a>\r\n )) ||\r\n (this.mode === \"extern\" && (\r\n <a href={this.href} class=\"heading-anchor\" target=\"_blank\" rel=\"noopener noreferrer\">\r\n <slot name=\"heading\" />\r\n <dso-icon icon=\"external-link\"></dso-icon>\r\n <span class=\"sr-only\">(Opent andere website in nieuw tabblad)</span>\r\n </a>\r\n )) ||\r\n (this.mode === \"download\" && (\r\n <a href={this.href} class=\"heading-anchor\">\r\n <slot name=\"heading\" />\r\n <dso-icon icon=\"download\"></dso-icon>\r\n </a>\r\n ))\r\n )}\r\n {this.interactionsSlottedElement !== null && <slot name=\"interactions\" />}\r\n </div>\r\n <div class=\"dso-card-content\">\r\n <slot name=\"content\" />\r\n </div>\r\n </Host>\r\n );\r\n }\r\n}\r\n"],"version":3}
1
+ {"file":"dso-card.entry.cjs.js","mappings":";;;;;;;AAAA,MAAM,OAAO,GAAG,0mHAA0mH,CAAC;AAC3nH,sBAAe,OAAO;;MCgBT,IAAI;;;;;;;;IAgCf,iBAAiB;QACf,IAAI,CAAC,gBAAgB,GAAG,IAAI,gBAAgB,CAAC,MAAMA,iBAAW,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC;QAE3E,IAAI,CAAC,gBAAgB,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,EAAE,EAAE,UAAU,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,CAAC;KACjF;IAED,oBAAoB;;QAClB,MAAA,IAAI,CAAC,gBAAgB,0CAAE,UAAU,EAAE,CAAC;QAEpC,OAAO,IAAI,CAAC,gBAAgB,CAAC;KAC9B;IAEO,iBAAiB,CAAC,CAAa;QACrC,IAAI,EAAE,CAAC,CAAC,MAAM,YAAY,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE;YACpD,OAAO;SACR;QAED,OAAO,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,EAAE,aAAa,EAAE,CAAC,EAAE,eAAe,EAAEC,+BAAe,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC;KAC1F;IAED,IAAI,wBAAwB;QAC1B,OAAO,IAAI,CAAC,IAAI,CAAC,aAAa,CAAC,qBAAqB,CAAC,CAAC;KACvD;IAED,IAAI,0BAA0B;QAC5B,OAAO,IAAI,CAAC,IAAI,CAAC,aAAa,CAAC,uBAAuB,CAAC,CAAC;KACzD;IAED,MAAM;QACJ,MAAM,YAAY,GAAG,IAAI,CAAC,wBAAwB,KAAK,IAAI,CAAC;QAE5D,QACEC,QAACC,UAAI,sEAAgB,YAAY,IAC/BD,kEAAK,KAAK,EAAC,oBAAoB,IAC7BA,kEAAK,KAAK,EAAC,qBAAqB,EAAC,MAAM,EAAE,CAAC,YAAY,IACpDA,mEAAM,IAAI,EAAC,YAAY,GAAG,CACtB,EACNA,kEAAK,KAAK,EAAC,kBAAkB,IAC1B,CAAC,IAAI,CAAC,IAAI,KAAK,QAAQ,KACtBA,gEACE,IAAI,EAAE,IAAI,CAAC,IAAI,EACf,KAAK,EAAC,gBAAgB,EACtB,MAAM,EAAC,QAAQ,EACf,GAAG,EAAC,qBAAqB,EACzB,OAAO,EAAE,CAAC,CAAC,KAAK,IAAI,CAAC,iBAAiB,CAAC,CAAC,CAAC,IAEzCA,mEAAM,IAAI,EAAC,SAAS,GAAG,EACvBA,uEAAU,IAAI,EAAC,eAAe,GAAY,EAC1CA,mEAAM,KAAK,EAAC,SAAS,8CAA+C,CAClE,CACL;aACE,IAAI,CAAC,IAAI,KAAK,UAAU,KACvBA,gEAAG,IAAI,EAAE,IAAI,CAAC,IAAI,EAAE,KAAK,EAAC,gBAAgB,EAAC,OAAO,EAAE,CAAC,CAAC,KAAK,IAAI,CAAC,iBAAiB,CAAC,CAAC,CAAC,IAClFA,mEAAM,IAAI,EAAC,SAAS,GAAG,EACvBA,uEAAU,IAAI,EAAC,UAAU,GAAY,CACnC,CACL,CAAC,KACAA,gEAAG,IAAI,EAAE,IAAI,CAAC,IAAI,EAAE,KAAK,EAAC,gBAAgB,EAAC,OAAO,EAAE,CAAC,CAAC,KAAK,IAAI,CAAC,iBAAiB,CAAC,CAAC,CAAC,IAClFA,mEAAM,IAAI,EAAC,SAAS,GAAG,EACvBA,uEAAU,IAAI,EAAC,eAAe,GAAY,CACxC,CACL,EACF,IAAI,CAAC,0BAA0B,KAAK,IAAI,IAAIA,mEAAM,IAAI,EAAC,cAAc,GAAG,CACrE,EACNA,kEAAK,KAAK,EAAC,kBAAkB,IAC3BA,mEAAM,IAAI,EAAC,SAAS,GAAG,CACnB,CACF,CACD,EACP;KACH;;;;;;;","names":["forceUpdate","isModifiedEvent","h","Host"],"sources":["src/components/card/card.scss?tag=dso-card&encapsulation=shadow","src/components/card/card.tsx"],"sourcesContent":["@use \"~dso-toolkit/src/utilities\";\r\n@use \"~dso-toolkit/src/variables/units\";\r\n@use \"~dso-toolkit/src/variables/colors\";\r\n@use \"~dso-toolkit/src/components/card\";\r\n@use \"~dso-toolkit/src/components/anchor/anchor\";\r\n@use \"~dso-toolkit/src/variables/media-query-breakpoints\";\r\n\r\n@include utilities.box-sizing();\r\n\r\n:host {\r\n display: block;\r\n}\r\n\r\n:host([is-selectable]:not([is-selectable=\"false\"])) {\r\n .dso-card-container {\r\n display: grid;\r\n grid-template-columns: 1fr minmax(0, 100%);\r\n\r\n .dso-card-heading,\r\n .dso-card-content {\r\n grid-column: 2 /-1;\r\n }\r\n\r\n .dso-card-selectable {\r\n grid-row: span 2;\r\n }\r\n }\r\n}\r\n\r\n:host([active]:not([active=\"false\"])) {\r\n .dso-card-container {\r\n background-color: card.$background-color-active;\r\n }\r\n}\r\n\r\n.dso-card-container {\r\n padding-block: units.$u2;\r\n padding-inline: units.$u2;\r\n inline-size: 100%;\r\n block-size: 100%;\r\n\r\n &:has(.dso-card-heading a:is(:hover, :focus-visible)) {\r\n background-color: card.$background-color-hover;\r\n }\r\n\r\n .dso-card-heading {\r\n align-items: center;\r\n display: flex;\r\n margin-block-end: units.$u1;\r\n\r\n @media screen and (max-width: media-query-breakpoints.$screen-xs-min) {\r\n flex-wrap: wrap;\r\n }\r\n }\r\n}\r\n\r\n.heading-anchor {\r\n display: flex;\r\n gap: units.$u1 * 0.5;\r\n\r\n color: card.$heading-anchor-color;\r\n text-decoration: none;\r\n\r\n &:hover {\r\n color: card.$heading-anchor-hover-color;\r\n text-decoration: underline;\r\n }\r\n\r\n &:visited {\r\n color: card.$heading-anchor-color;\r\n }\r\n\r\n dso-icon {\r\n flex-shrink: 0;\r\n }\r\n\r\n .sr-only {\r\n @include utilities.sr-only();\r\n }\r\n}\r\n","import { h, Component, ComponentInterface, Element, Event, EventEmitter, Host, Prop, forceUpdate } from \"@stencil/core\";\r\n\r\nimport { isModifiedEvent } from \"../../utils/is-modified-event\";\r\n\r\nimport { CardClickEvent } from \"./card.interfaces\";\r\n\r\n/**\r\n * @slot selectable - An optional slot to place a `Selectable` in.\r\n * @slot heading - A slot to place the title of the card in.\r\n * @slot interactions - An optional slot for one or more `Button`s, `Label`s, `Toggletip`s or `SlideToggle`s.\r\n * @slot content - An optional slot to place `Rich Content` in.\r\n */\r\n@Component({\r\n tag: \"dso-card\",\r\n styleUrl: \"card.scss\",\r\n shadow: true,\r\n})\r\nexport class Card implements ComponentInterface {\r\n @Element()\r\n host!: HTMLDsoCardElement;\r\n\r\n /**\r\n * The URL to which the Card heading links.\r\n */\r\n @Prop({ reflect: true })\r\n href!: string | undefined;\r\n\r\n /**\r\n * Display the link as an external link or a download link\r\n * - \"download\"\r\n * - \"extern\"\r\n */\r\n @Prop({ reflect: true })\r\n mode?: string;\r\n\r\n /**\r\n * Makes the Card active.\r\n */\r\n @Prop({ reflect: true })\r\n active?: boolean;\r\n\r\n /**\r\n * Emitted when the Card heading is clicked.\r\n */\r\n @Event()\r\n dsoCardClick!: EventEmitter<CardClickEvent>;\r\n\r\n private mutationObserver?: MutationObserver;\r\n\r\n connectedCallback(): void {\r\n this.mutationObserver = new MutationObserver(() => forceUpdate(this.host));\r\n\r\n this.mutationObserver.observe(this.host, { attributes: true, childList: true });\r\n }\r\n\r\n disconnectedCallback(): void {\r\n this.mutationObserver?.disconnect();\r\n\r\n delete this.mutationObserver;\r\n }\r\n\r\n private clickEventHandler(e: MouseEvent) {\r\n if (!(e.target instanceof HTMLElement) || !this.href) {\r\n return;\r\n }\r\n\r\n return this.dsoCardClick.emit({ originalEvent: e, isModifiedEvent: isModifiedEvent(e) });\r\n }\r\n\r\n get selectableSlottedElement() {\r\n return this.host.querySelector(\"[slot='selectable']\");\r\n }\r\n\r\n get interactionsSlottedElement() {\r\n return this.host.querySelector(\"[slot='interactions']\");\r\n }\r\n\r\n render() {\r\n const isSelectable = this.selectableSlottedElement !== null;\r\n\r\n return (\r\n <Host is-selectable={isSelectable}>\r\n <div class=\"dso-card-container\">\r\n <div class=\"dso-card-selectable\" hidden={!isSelectable}>\r\n <slot name=\"selectable\" />\r\n </div>\r\n <div class=\"dso-card-heading\">\r\n {(this.mode === \"extern\" && (\r\n <a\r\n href={this.href}\r\n class=\"heading-anchor\"\r\n target=\"_blank\"\r\n rel=\"noopener noreferrer\"\r\n onClick={(e) => this.clickEventHandler(e)}\r\n >\r\n <slot name=\"heading\" />\r\n <dso-icon icon=\"external-link\"></dso-icon>\r\n <span class=\"sr-only\">(Opent andere website in nieuw tabblad)</span>\r\n </a>\r\n )) ||\r\n (this.mode === \"download\" && (\r\n <a href={this.href} class=\"heading-anchor\" onClick={(e) => this.clickEventHandler(e)}>\r\n <slot name=\"heading\" />\r\n <dso-icon icon=\"download\"></dso-icon>\r\n </a>\r\n )) || (\r\n <a href={this.href} class=\"heading-anchor\" onClick={(e) => this.clickEventHandler(e)}>\r\n <slot name=\"heading\" />\r\n <dso-icon icon=\"chevron-right\"></dso-icon>\r\n </a>\r\n )}\r\n {this.interactionsSlottedElement !== null && <slot name=\"interactions\" />}\r\n </div>\r\n <div class=\"dso-card-content\">\r\n <slot name=\"content\" />\r\n </div>\r\n </div>\r\n </Host>\r\n );\r\n }\r\n}\r\n"],"version":3}
@@ -692,14 +692,14 @@ const DsoDatePickerLegacy = class {
692
692
  if (maxDate) {
693
693
  maxYear = Math.min(maxYear, maxDate.getFullYear());
694
694
  }
695
- return (index.h(index.Host, { key: '2923901f9bdbccbd5ef5903d629412f5fd83d638' }, index.h("div", { key: 'dab6969a1692b0d79d1b39f624470cb92ef6978c', class: { "dso-date": true, "dso-visible": this.visible } }, index.h("div", { key: 'dceb33fc1b6b03f17338ac1eb93055ffc01dfeed', class: "dso-date__input-wrapper" }, index.h("input", { key: 'a69e06e7a3ffad161363e23289e1a430208c8f60', class: "dso-date__input", value: this.value, placeholder: this.localization.placeholder, id: this.identifier, disabled: this.disabled, role: (_a = this.role) !== null && _a !== void 0 ? _a : undefined, required: this.required ? true : undefined, "aria-autocomplete": "none", "aria-invalid": (_b = this.invalid) === null || _b === void 0 ? void 0 : _b.toString(), "aria-describedby": this.describedBy, onInput: this.handleInputChange, onFocus: this.handleFocus, onBlur: this.handleBlur, onKeyUp: this.handleKeyUp, onKeyDown: this.handleKeyDown, autoComplete: "off", ref: (element) => (this.datePickerLegacyInput = element) }), index.h("button", { key: 'e5512a64cd0d9f2e0867e6665d2e2fa1288b4d72', type: "button", class: "dso-date__toggle", onClick: this.toggleOpen, disabled: this.disabled, ref: (element) => (this.datePickerLegacyButton = element) }, index.h("span", { key: 'b06a7695d80f8e26e20227ce55da2e5099da9799', class: "dso-date__toggle-icon" }, index.h("dso-icon", { key: 'ace62b7cf13b2b0ae2d2798e1f4363d251b7b4c5', icon: "calendar" })), index.h("span", { key: '46b9b7c9e37b1eb378620df1c66201677f0ab4dd', class: "dso-date__vhidden" }, this.localization.buttonLabel, formattedDate && (index.h("span", { key: '157db057463d015ae84f892e2fd73ddd67a6ffaf' }, ", ", this.localization.selectedDateMessage, " ", formattedDate))))), index.h("div", { key: '83da0014367c9bdbe64e93ef1dd4ea4cab7bee7b', class: {
695
+ return (index.h(index.Host, { key: '21048228f8ece85acafa575b65effd49c8eb06fd' }, index.h("div", { key: '2e8c37e0bd890e5426e18b34c293d59e0dc28fd9', class: { "dso-date": true, "dso-visible": this.visible } }, index.h("div", { key: '4b5498556f0ecb2959301c6274fa1ba8beeb56ba', class: "dso-date__input-wrapper" }, index.h("input", { key: 'e4a9c11617188151109278dca34392a7a6fd7acf', class: "dso-date__input", value: this.value, placeholder: this.localization.placeholder, id: this.identifier, disabled: this.disabled, role: (_a = this.role) !== null && _a !== void 0 ? _a : undefined, required: this.required ? true : undefined, "aria-autocomplete": "none", "aria-invalid": (_b = this.invalid) === null || _b === void 0 ? void 0 : _b.toString(), "aria-describedby": this.describedBy, onInput: this.handleInputChange, onFocus: this.handleFocus, onBlur: this.handleBlur, onKeyUp: this.handleKeyUp, onKeyDown: this.handleKeyDown, autoComplete: "off", ref: (element) => (this.datePickerLegacyInput = element) }), index.h("button", { key: '59d003f5d3e0692fa692f10d2a6ea74c9d03bc73', type: "button", class: "dso-date__toggle", onClick: this.toggleOpen, disabled: this.disabled, ref: (element) => (this.datePickerLegacyButton = element) }, index.h("span", { key: '35499b0c092f6b64507ef47a8d453e3a9dcab0df', class: "dso-date__toggle-icon" }, index.h("dso-icon", { key: 'd479c33bec38d9c79aad1dbf135a8656da2bf54d', icon: "calendar" })), index.h("span", { key: '5868bdd17a5c2f5bfc05c7a662dd19be605f90a2', class: "dso-date__vhidden" }, this.localization.buttonLabel, formattedDate && (index.h("span", { key: '987d9d6cbad6763ecf3e8c3b1dc6cd7d60a372c0' }, ", ", this.localization.selectedDateMessage, " ", formattedDate))))), index.h("div", { key: 'bc69058909195de2555bda78e5849d4377e552b8', class: {
696
696
  "dso-date__dialog": true,
697
697
  "is-left": this.direction === "left",
698
698
  "is-active": this.open,
699
- }, role: "dialog", "aria-modal": "true", "aria-hidden": this.open ? "false" : "true", "aria-labelledby": this.dialogLabelId, onTouchMove: this.handleTouchMove, onTouchStart: this.handleTouchStart, onTouchEnd: this.handleTouchEnd }, index.h("div", { key: '42bd9a53e0cb0eb90a6469064964af8552f272e4', class: "dso-date__dialog-content", onKeyDown: this.handleEscKey }, index.h("div", { key: '91c1b6eec67012c493f54eab7c52d7e653d4d9a1', class: "dso-date__vhidden dso-date__instructions", "aria-live": "polite" }, this.localization.keyboardInstruction), index.h("div", { key: 'f4fd5892e4b42f1da1cf9581c6543b705b43d557', class: "dso-date__mobile", onFocusin: this.disableActiveFocus }, index.h("label", { key: 'c912fa9fdb19ed6915b7c01b8710cefb8957e2d2', class: "dso-date__mobile-heading" }, this.localization.calendarHeading), index.h("button", { key: '83c6aedf8ea8715654bcbd4a2546f0c8d75df0b9', class: "dso-date__close", ref: (element) => (this.firstFocusableElement = element), onKeyDown: this.handleFirstFocusableKeydown, onClick: () => this.hide(), type: "button" }, index.h("dso-icon", { key: '5403e2ed31318fdb9014c18492db444c8b83c51a', icon: "times" }), index.h("span", { key: '90f8f264d4dfb8b7f365124d91af8b5474810a06', class: "dso-date__vhidden" }, this.localization.closeLabel))), index.h("div", { key: '463f744fb48c7912cbb6522a82f0435ba7d99351', class: "dso-date__header", onFocusin: this.disableActiveFocus }, index.h("div", { key: 'cd45d2b6302d593fc73f5a42fecadd8f6599c18a' }, index.h("h2", { key: '2ccbb5082c9311feb81fc91e93bfbd6c2c34d640', id: this.dialogLabelId, class: "dso-date__vhidden", "aria-live": "polite" }, this.localization.monthNames[focusedMonth], " ", this.focusedDay.getFullYear()), index.h("label", { key: '48b8bc9d4321ab70c997385fe119bcc64663434d', htmlFor: this.monthSelectId, class: "dso-date__vhidden" }, this.localization.monthSelectLabel), index.h("div", { key: '9df2297e9c3b7218923f50ed719e4957dbdc55d4', class: "dso-date__select" }, index.h("select", { key: '022dc27bcda66e7f877a2061fdf83db5f0c8d5a5', id: this.monthSelectId, class: "dso-date__select--month", ref: (element) => (this.monthSelectNode = element), onChange: this.handleMonthSelect }, monthRange(this.localization, selectedYear, minDate, maxDate).map((month) => {
699
+ }, role: "dialog", "aria-modal": "true", "aria-hidden": this.open ? "false" : "true", "aria-labelledby": this.dialogLabelId, onTouchMove: this.handleTouchMove, onTouchStart: this.handleTouchStart, onTouchEnd: this.handleTouchEnd }, index.h("div", { key: '710d763d3b6fe8df45baddcfe3fa64b7f618f20b', class: "dso-date__dialog-content", onKeyDown: this.handleEscKey }, index.h("div", { key: 'f5825ef31295efa446836948e0af0fcc4ee36ab8', class: "dso-date__vhidden dso-date__instructions", "aria-live": "polite" }, this.localization.keyboardInstruction), index.h("div", { key: '83fb9c2a5a7121ddafec462c54d06b0ca4e7721b', class: "dso-date__mobile", onFocusin: this.disableActiveFocus }, index.h("label", { key: 'bfbbd91d21a62d54d04b231f49d2ec125b011bb8', class: "dso-date__mobile-heading" }, this.localization.calendarHeading), index.h("button", { key: 'a7a8dd097438f089517dedd43b7aea18dced74cd', class: "dso-date__close", ref: (element) => (this.firstFocusableElement = element), onKeyDown: this.handleFirstFocusableKeydown, onClick: () => this.hide(), type: "button" }, index.h("dso-icon", { key: 'a68b9956250b7884f4138d7b8e9ff9fac1ad8824', icon: "times" }), index.h("span", { key: '76f352ec95530ae49a75e81093d57f5ec6c0fa3b', class: "dso-date__vhidden" }, this.localization.closeLabel))), index.h("div", { key: '3406397370206832afd1dc7036ea25b930f72efa', class: "dso-date__header", onFocusin: this.disableActiveFocus }, index.h("div", { key: '2bd8c6328596ce2587452fc2dc3715b05c754d28' }, index.h("h2", { key: '8b9c739b4535ad8e0ce8403e615fa587e6d8aadb', id: this.dialogLabelId, class: "dso-date__vhidden", "aria-live": "polite" }, this.localization.monthNames[focusedMonth], " ", this.focusedDay.getFullYear()), index.h("label", { key: 'ce7cefb6892d05290f5524d02901cc1e8812b40b', htmlFor: this.monthSelectId, class: "dso-date__vhidden" }, this.localization.monthSelectLabel), index.h("div", { key: '28c13137c007701fbe0a3231eab38c9fb7d33e44', class: "dso-date__select" }, index.h("select", { key: 'b6d9ec18b2951b69b07315222bd943fa81ca7790', id: this.monthSelectId, class: "dso-date__select--month", ref: (element) => (this.monthSelectNode = element), onChange: this.handleMonthSelect }, monthRange(this.localization, selectedYear, minDate, maxDate).map((month) => {
700
700
  const index$1 = this.localization.monthNames.indexOf(month);
701
701
  return (index.h("option", { key: month, value: index$1, selected: index$1 === focusedMonth }, month));
702
- })), index.h("div", { key: '7c47642e0c754395d1c0a2d1640d92cf727533cf', class: "dso-date__select-label", "aria-hidden": "true" }, index.h("span", { key: 'b72e0ad1bef955c73aeac34344224d036199c2c3' }, this.localization.monthNamesShort[focusedMonth]), index.h("dso-icon", { key: '55fd550d1573262f24e8e23013be73f8b697775a', icon: "chevron-down" }))), index.h("label", { key: '8fd80561dd849ee6b4a599e7ca96f1a26acd8582', htmlFor: this.yearSelectId, class: "dso-date__vhidden" }, this.localization.yearSelectLabel), index.h("div", { key: '176ef978e8e325abd4c3136afe969ced69e68910', class: "dso-date__select" }, index.h("select", { key: '0a03aef1d277e895b3788ed755e0e77198b9e795', id: this.yearSelectId, class: "dso-date__select--year", onChange: this.handleYearSelect }, range(minYear, maxYear).map((year) => (index.h("option", { key: year, selected: year === focusedYear }, year)))), index.h("div", { key: 'd9a24296905e9d0909ce6df6e7c80dd1a9453b55', class: "dso-date__select-label", "aria-hidden": "true" }, index.h("span", { key: 'de2c0d294f86d2d4fddb506eca8253ddb5951c66' }, this.focusedDay.getFullYear()), index.h("dso-icon", { key: '7e94e19543b7235d4d58287cc4b2b53fa17993ce', icon: "chevron-down" })))), index.h("div", { key: '2b3e3042ab9d90bf809ba051b76b5c1ce01ae54c', class: "dso-date__nav" }, index.h("button", { key: '4aaa04b7fa451f802c4ec94f08375064ace4c88d', class: "dso-date__prev", onClick: this.handlePreviousMonthClick, disabled: prevMonthDisabled, type: "button" }, index.h("dso-icon", { key: 'a99c430d48a0ed22c100cd1205db4e32192ce3b1', icon: "chevron-left" }), index.h("span", { key: '9908b1c22f3fcbfc65a68233d1b14f916401280e', class: "dso-date__vhidden" }, this.localization.prevMonthLabel)), index.h("button", { key: 'd469f09d74a85481b689eebc93497ba4bb8d4a68', class: "dso-date__next", onClick: this.handleNextMonthClick, disabled: nextMonthDisabled, type: "button" }, index.h("dso-icon", { key: '4d13b57208116ae603ed46e38c04025643ac4b8b', icon: "chevron-right" }), index.h("span", { key: 'e54bb9b92ef06d69b6bca8faef002b37e729d910', class: "dso-date__vhidden" }, this.localization.nextMonthLabel)))), index.h(DatePickerLegacyMonth, { key: '5674295fcc06f2d5887d17c52b998e1887d6bb37', selectedDate: valueAsDate, focusedDate: this.focusedDay, onDateSelect: this.handleDaySelect, onKeyboardNavigation: this.handleKeyboardNavigation, labelledById: this.dialogLabelId, localization: this.localization, firstDayOfWeek: this.firstDayOfWeek, focusedDayRef: this.processFocusedDayNode, min: minDate, max: maxDate }))))));
702
+ })), index.h("div", { key: 'b90d2b48cfe943b91bfae7f6e0002c59e28c471b', class: "dso-date__select-label", "aria-hidden": "true" }, index.h("span", { key: 'e5b72a3f93ed11b68ea21a84d302072956c78d67' }, this.localization.monthNamesShort[focusedMonth]), index.h("dso-icon", { key: '80be2680bd6f72d1c501ddbbacf6b9f4b15d9488', icon: "chevron-down" }))), index.h("label", { key: 'cd80f19fa89fb2f8715e28d6480d2fc9047d1296', htmlFor: this.yearSelectId, class: "dso-date__vhidden" }, this.localization.yearSelectLabel), index.h("div", { key: 'a50afb24985b062fb92a649d7bc42b3d87598dd2', class: "dso-date__select" }, index.h("select", { key: '90902c118e070b881d157e9f6c62352086da0c7a', id: this.yearSelectId, class: "dso-date__select--year", onChange: this.handleYearSelect }, range(minYear, maxYear).map((year) => (index.h("option", { key: year, selected: year === focusedYear }, year)))), index.h("div", { key: '4f2eb767b984cfe734d8cadd9398af6cc36487d8', class: "dso-date__select-label", "aria-hidden": "true" }, index.h("span", { key: 'c6942320ed7fb30b89b397de2db6d45edb49812f' }, this.focusedDay.getFullYear()), index.h("dso-icon", { key: '47f33877c1bf98dffac4786a93fa04904354e52c', icon: "chevron-down" })))), index.h("div", { key: 'c4755a4ad89a3be55666ed5d107c93f314774241', class: "dso-date__nav" }, index.h("button", { key: '64ae003276cf0086c824f0b108ad076eeb6a090e', class: "dso-date__prev", onClick: this.handlePreviousMonthClick, disabled: prevMonthDisabled, type: "button" }, index.h("dso-icon", { key: '24bb4171871179fb898b40f5b30d7188d4365cce', icon: "chevron-left" }), index.h("span", { key: '1f25eee813d9732235b382e513d851e1e47a5b1b', class: "dso-date__vhidden" }, this.localization.prevMonthLabel)), index.h("button", { key: 'a1f01fd959e030d8c6bff6f0c7d47aa5ccae9fe3', class: "dso-date__next", onClick: this.handleNextMonthClick, disabled: nextMonthDisabled, type: "button" }, index.h("dso-icon", { key: '03b4b21054ed24422283cde0ea3de83a547c3537', icon: "chevron-right" }), index.h("span", { key: 'd9706fd79cb7fd362a9853d6f9ba0556095fa3de', class: "dso-date__vhidden" }, this.localization.nextMonthLabel)))), index.h(DatePickerLegacyMonth, { key: '710479d8e9823855ad515bf3b0d2cb6f8a0cc914', selectedDate: valueAsDate, focusedDate: this.focusedDay, onDateSelect: this.handleDaySelect, onKeyboardNavigation: this.handleKeyboardNavigation, labelledById: this.dialogLabelId, localization: this.localization, firstDayOfWeek: this.firstDayOfWeek, focusedDayRef: this.processFocusedDayNode, min: minDate, max: maxDate }))))));
703
703
  }
704
704
  get element() { return index.getElement(this); }
705
705
  };
@@ -141,7 +141,7 @@ const DsoDatePicker = class {
141
141
  }
142
142
  render() {
143
143
  var _a;
144
- return (index.h("input", { key: 'ab327f9e162793c1abdcdd3b7e1242b6ddee1ddb', type: "date", id: this.identifier, class: "dso-date__input", value: parseToValueFormat(this.value), name: this.name, min: parseToValueFormat(this.min), max: parseToValueFormat(this.max), disabled: this.disabled || undefined, required: this.required || undefined, "aria-autocomplete": "none", "aria-invalid": (_a = this.invalid) === null || _a === void 0 ? void 0 : _a.toString(), "aria-describedby": this.describedBy, autoComplete: "off", autofocus: this.dsoAutofocus || undefined, onBlur: this.handleBlur, onFocus: this.handleFocus, onKeyUp: this.handleKeyUp, onKeyDown: this.handleKeyDown, onChange: this.handleInputChange }));
144
+ return (index.h("input", { key: '396b62306362c143d28c80cae648f11b59886c22', type: "date", id: this.identifier, class: "dso-date__input", value: parseToValueFormat(this.value), name: this.name, min: parseToValueFormat(this.min), max: parseToValueFormat(this.max), disabled: this.disabled || undefined, required: this.required || undefined, "aria-autocomplete": "none", "aria-invalid": (_a = this.invalid) === null || _a === void 0 ? void 0 : _a.toString(), "aria-describedby": this.describedBy, autoComplete: "off", autofocus: this.dsoAutofocus || undefined, onBlur: this.handleBlur, onFocus: this.handleFocus, onKeyUp: this.handleKeyUp, onKeyDown: this.handleKeyDown, onChange: this.handleInputChange }));
145
145
  }
146
146
  get element() { return index.getElement(this); }
147
147
  };
@@ -0,0 +1,45 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ const index = require('./index-848434f1.js');
6
+ const isModifiedEvent = require('./is-modified-event-f643edb2.js');
7
+
8
+ const documentCardCss = "*,*::after,*::before{box-sizing:border-box}:host{display:block}.dso-document-card-container{padding-block:16px;padding-inline:16px;inline-size:100%}.dso-document-card-container .dso-document-card-heading{align-items:center;display:flex}@media screen and (max-width: 480px){.dso-document-card-container .dso-document-card-heading{flex-wrap:wrap}}.dso-document-card-container:has(.dso-document-card-heading a:is(:hover,:focus-visible)){background-color:#f2f2f2}:host([active]:not([active=false])) .dso-document-card-container{background-color:#e5e5e5}::slotted([slot=meta]){display:flex !important;justify-content:space-between !important;margin-inline-start:auto !important}@media screen and (max-width: 480px){::slotted([slot=meta]){flex-basis:100% !important;margin-block-start:16px !important}}::slotted([slot=heading]){align-items:center !important;display:flex !important;font-size:1.125em !important;margin-block-end:0 !important;margin-block-start:0 !important}.heading-anchor{display:flex;gap:4px;color:#275937;text-decoration:none}.heading-anchor:hover{color:#275937;text-decoration:underline}.heading-anchor:visited{color:#275937}.heading-anchor dso-icon{flex-shrink:0}.heading-anchor .sr-only{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}::slotted([slot=type]){--_dt-info-button-margin-inline-start:0;display:flex !important;gap:8px !important}.dso-document-card-heading+.dso-document-card-type,.dso-document-card-heading+.dso-document-card-status,.dso-document-card-type+.dso-document-card-status{margin-block-start:8px}";
9
+ const DsoDocumentCardStyle0 = documentCardCss;
10
+
11
+ const DocumentCard = class {
12
+ constructor(hostRef) {
13
+ index.registerInstance(this, hostRef);
14
+ this.dsoDocumentCardClick = index.createEvent(this, "dsoDocumentCardClick", 7);
15
+ this.href = undefined;
16
+ this.active = undefined;
17
+ }
18
+ connectedCallback() {
19
+ this.mutationObserver = new MutationObserver(() => index.forceUpdate(this.host));
20
+ this.mutationObserver.observe(this.host, { attributes: true, childList: true });
21
+ }
22
+ disconnectedCallback() {
23
+ var _a;
24
+ (_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
25
+ delete this.mutationObserver;
26
+ }
27
+ clickEventHandler(e) {
28
+ if (!(e.target instanceof HTMLElement) || !this.href) {
29
+ return;
30
+ }
31
+ return this.dsoDocumentCardClick.emit({ originalEvent: e, isModifiedEvent: isModifiedEvent.isModifiedEvent(e) });
32
+ }
33
+ get metaSlottedElement() {
34
+ return this.host.querySelector("[slot='meta']");
35
+ }
36
+ render() {
37
+ return (index.h("div", { key: 'da5f35bfb4340de8123393e31d955f5e232ac1da', class: "dso-document-card-container" }, index.h("div", { key: 'ebb1766cc91cddff11952de180ae5c4f5e974300', class: "dso-document-card-heading" }, index.h("a", { key: '44c19ab92d9adce26bf92b71cc763e7f1b55df9a', href: this.href, class: "heading-anchor", onClick: (e) => this.clickEventHandler(e) }, index.h("slot", { key: 'd528a084a56638ec201e4494559cc5c414a22fc6', name: "heading" }), index.h("dso-icon", { key: 'ec5fce61c68a57ca116f8e7a836fc7cdf2fed653', icon: "chevron-right" })), this.metaSlottedElement !== null && index.h("slot", { key: 'ed4e4d9029de18af9cfcb34e4bb3da413b38dd84', name: "meta" })), index.h("div", { key: '0850812c5838eec5dcae5dbe0615a15984e3cefb', class: "dso-document-card-type" }, index.h("slot", { key: 'e6ad51fac2e3f166dbbd51dee7931cc1b4d74c4f', name: "type" })), index.h("div", { key: '1c77dc25e082ad3e82299ff991793d92713a0574', class: "dso-document-card-status" }, index.h("slot", { key: 'ee43d829ce2ac1457cedba9f0c4c0dbaeece098c', name: "status" }))));
38
+ }
39
+ get host() { return index.getElement(this); }
40
+ };
41
+ DocumentCard.style = DsoDocumentCardStyle0;
42
+
43
+ exports.dso_document_card = DocumentCard;
44
+
45
+ //# sourceMappingURL=dso-document-card.cjs.entry.js.map
@@ -0,0 +1 @@
1
+ {"file":"dso-document-card.entry.cjs.js","mappings":";;;;;;;AAAA,MAAM,eAAe,GAAG,skDAAskD,CAAC;AAC/lD,8BAAe,eAAe;;MCgBjB,YAAY;;;;;;;IAwBvB,iBAAiB;QACf,IAAI,CAAC,gBAAgB,GAAG,IAAI,gBAAgB,CAAC,MAAMA,iBAAW,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC;QAE3E,IAAI,CAAC,gBAAgB,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,EAAE,EAAE,UAAU,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,CAAC;KACjF;IAED,oBAAoB;;QAClB,MAAA,IAAI,CAAC,gBAAgB,0CAAE,UAAU,EAAE,CAAC;QAEpC,OAAO,IAAI,CAAC,gBAAgB,CAAC;KAC9B;IAEO,iBAAiB,CAAC,CAAa;QACrC,IAAI,EAAE,CAAC,CAAC,MAAM,YAAY,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE;YACpD,OAAO;SACR;QAED,OAAO,IAAI,CAAC,oBAAoB,CAAC,IAAI,CAAC,EAAE,aAAa,EAAE,CAAC,EAAE,eAAe,EAAEC,+BAAe,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC;KAClG;IAED,IAAI,kBAAkB;QACpB,OAAO,IAAI,CAAC,IAAI,CAAC,aAAa,CAAC,eAAe,CAAC,CAAC;KACjD;IAED,MAAM;QACJ,QACEC,kEAAK,KAAK,EAAC,6BAA6B,IACtCA,kEAAK,KAAK,EAAC,2BAA2B,IACpCA,gEAAG,IAAI,EAAE,IAAI,CAAC,IAAI,EAAE,KAAK,EAAC,gBAAgB,EAAC,OAAO,EAAE,CAAC,CAAC,KAAK,IAAI,CAAC,iBAAiB,CAAC,CAAC,CAAC,IAClFA,mEAAM,IAAI,EAAC,SAAS,GAAG,EACvBA,uEAAU,IAAI,EAAC,eAAe,GAAY,CACxC,EACH,IAAI,CAAC,kBAAkB,KAAK,IAAI,IAAIA,mEAAM,IAAI,EAAC,MAAM,GAAG,CACrD,EACNA,kEAAK,KAAK,EAAC,wBAAwB,IACjCA,mEAAM,IAAI,EAAC,MAAM,GAAG,CAChB,EACNA,kEAAK,KAAK,EAAC,0BAA0B,IACnCA,mEAAM,IAAI,EAAC,QAAQ,GAAG,CAClB,CACF,EACN;KACH;;;;;;;","names":["forceUpdate","isModifiedEvent","h"],"sources":["src/components/document-card/document-card.scss?tag=dso-document-card&encapsulation=shadow","src/components/document-card/document-card.tsx"],"sourcesContent":["@use \"~dso-toolkit/src/utilities\";\r\n@use \"~dso-toolkit/src/variables/media-query-breakpoints\";\r\n@use \"~dso-toolkit/src/variables/units\";\r\n@use \"~dso-toolkit/src/components/document-card\";\r\n\r\n@include utilities.box-sizing();\r\n\r\n:host {\r\n display: block;\r\n}\r\n\r\n.dso-document-card-container {\r\n padding-block: units.$u2;\r\n padding-inline: units.$u2;\r\n inline-size: 100%;\r\n\r\n .dso-document-card-heading {\r\n align-items: center;\r\n display: flex;\r\n\r\n @media screen and (max-width: media-query-breakpoints.$screen-xs-min) {\r\n flex-wrap: wrap;\r\n }\r\n }\r\n\r\n &:has(.dso-document-card-heading a:is(:hover, :focus-visible)) {\r\n background-color: document-card.$background-color-hover;\r\n }\r\n}\r\n\r\n:host([active]:not([active=\"false\"])) {\r\n .dso-document-card-container {\r\n background-color: document-card.$background-color-active;\r\n }\r\n}\r\n\r\n::slotted([slot=\"meta\"]) {\r\n display: flex !important;\r\n justify-content: space-between !important;\r\n margin-inline-start: auto !important;\r\n\r\n @media screen and (max-width: media-query-breakpoints.$screen-xs-min) {\r\n flex-basis: 100% !important;\r\n margin-block-start: units.$u2 !important;\r\n }\r\n}\r\n\r\n::slotted([slot=\"heading\"]) {\r\n align-items: center !important;\r\n display: flex !important;\r\n font-size: 1.125em !important;\r\n margin-block-end: 0 !important;\r\n margin-block-start: 0 !important;\r\n}\r\n\r\n.heading-anchor {\r\n display: flex;\r\n gap: units.$u1 * 0.5;\r\n\r\n color: document-card.$heading-anchor-color;\r\n text-decoration: none;\r\n\r\n &:hover {\r\n color: document-card.$heading-anchor-hover-color;\r\n text-decoration: underline;\r\n }\r\n\r\n &:visited {\r\n color: document-card.$heading-anchor-color;\r\n }\r\n\r\n dso-icon {\r\n flex-shrink: 0;\r\n }\r\n\r\n .sr-only {\r\n @include utilities.sr-only();\r\n }\r\n}\r\n\r\n::slotted([slot=\"type\"]) {\r\n --_dt-info-button-margin-inline-start: 0;\r\n\r\n display: flex !important;\r\n gap: units.$u1 !important;\r\n}\r\n\r\n.dso-document-card-heading + .dso-document-card-type,\r\n.dso-document-card-heading + .dso-document-card-status,\r\n.dso-document-card-type + .dso-document-card-status {\r\n margin-block-start: units.$u1;\r\n}\r\n","import { h, Component, ComponentInterface, Element, Event, EventEmitter, Prop, forceUpdate } from \"@stencil/core\";\r\n\r\nimport { isModifiedEvent } from \"../../utils/is-modified-event\";\r\n\r\nimport { DocumentCardClickEvent } from \"./document-card.interfaces\";\r\n\r\n/**\r\n * @slot heading - A slot to place the title of the card in.\r\n * @slot meta - An optional slot to place a `Label` in.\r\n * @slot type - A slot to hold type of document with an optional `Toggletip`.\r\n * @slot status - A slot to hold some status information on the document.\r\n */\r\n@Component({\r\n tag: \"dso-document-card\",\r\n styleUrl: \"document-card.scss\",\r\n shadow: true,\r\n})\r\nexport class DocumentCard implements ComponentInterface {\r\n @Element()\r\n host!: HTMLDsoDocumentCardElement;\r\n\r\n /**\r\n * The URL to which the DocumentCard heading links.\r\n */\r\n @Prop({ reflect: true })\r\n href!: string | undefined;\r\n\r\n /**\r\n * Makes the DocumentCard active.\r\n */\r\n @Prop({ reflect: true })\r\n active?: boolean;\r\n\r\n /**\r\n * Emitted when the DocumentCard heading is clicked.\r\n */\r\n @Event()\r\n dsoDocumentCardClick!: EventEmitter<DocumentCardClickEvent>;\r\n\r\n private mutationObserver?: MutationObserver;\r\n\r\n connectedCallback(): void {\r\n this.mutationObserver = new MutationObserver(() => forceUpdate(this.host));\r\n\r\n this.mutationObserver.observe(this.host, { attributes: true, childList: true });\r\n }\r\n\r\n disconnectedCallback(): void {\r\n this.mutationObserver?.disconnect();\r\n\r\n delete this.mutationObserver;\r\n }\r\n\r\n private clickEventHandler(e: MouseEvent) {\r\n if (!(e.target instanceof HTMLElement) || !this.href) {\r\n return;\r\n }\r\n\r\n return this.dsoDocumentCardClick.emit({ originalEvent: e, isModifiedEvent: isModifiedEvent(e) });\r\n }\r\n\r\n get metaSlottedElement() {\r\n return this.host.querySelector(\"[slot='meta']\");\r\n }\r\n\r\n render() {\r\n return (\r\n <div class=\"dso-document-card-container\">\r\n <div class=\"dso-document-card-heading\">\r\n <a href={this.href} class=\"heading-anchor\" onClick={(e) => this.clickEventHandler(e)}>\r\n <slot name=\"heading\" />\r\n <dso-icon icon=\"chevron-right\"></dso-icon>\r\n </a>\r\n {this.metaSlottedElement !== null && <slot name=\"meta\" />}\r\n </div>\r\n <div class=\"dso-document-card-type\">\r\n <slot name=\"type\" />\r\n </div>\r\n <div class=\"dso-document-card-status\">\r\n <slot name=\"status\" />\r\n </div>\r\n </div>\r\n );\r\n }\r\n}\r\n"],"version":3}
@@ -216,7 +216,7 @@ const DropdownMenu = class {
216
216
  (_a = tabbables[nextIndex]) === null || _a === void 0 ? void 0 : _a.focus();
217
217
  }
218
218
  render() {
219
- return (index.h(index.Host, { key: '64730f2a5269c26f82cc98c16a6706aea0d85139', onFocusout: this.focusOutListener }, index.h("slot", { key: 'b1ea51163d8aaa0a1bdebe8450d916fa004750d7', name: "toggle" }), index.h("div", { key: '50d3b624f62dc610657bcc91d9c1613b1f635a4e', hidden: !this.open }, index.h("slot", { key: '05fc1a75012d442384a58313a5908a1c77f486b0' }))));
219
+ return (index.h(index.Host, { key: 'ebc0df48bddf5e5af45882ab477933600f51bc8d', onFocusout: this.focusOutListener }, index.h("slot", { key: 'f301473bc073577fb97836bb23d4cb2da3f3f513', name: "toggle" }), index.h("div", { key: 'd19647c158cd6c41a40760c27399e071d2e15df3', hidden: !this.open }, index.h("slot", { key: 'f82e6a4557fd6db74c47ad22c1742d8e0a1033e3' }))));
220
220
  }
221
221
  get host() { return index.getElement(this); }
222
222
  static get watchers() { return {
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-848434f1.js');
6
6
  const clsx = require('./clsx-fc789adc.js');
7
- const index$1 = require('./index-7244933f.js');
7
+ const index$1 = require('./index-a49786b9.js');
8
8
  const isModifiedEvent = require('./is-modified-event-f643edb2.js');
9
9
 
10
10
  const headerCss = ".sc-dso-header-h{display:block}.dso-header.sc-dso-header{border-block-end:1px solid #ccc;display:flex;flex-wrap:wrap;position:relative}@media screen and (min-width: 768px){.dso-header.sc-dso-header{align-items:center}}@media screen and (max-width: 991px){.dso-header.use-drop-down.sc-dso-header{flex-wrap:nowrap}}.dso-header.sc-dso-header .dso-nav.sc-dso-header{border:0}.logo-container.sc-dso-header{flex:1 1 12.5rem;margin-inline-end:24px;padding-block-end:16px;padding-block-start:16px}.dso-header-session.sc-dso-header{display:flex;align-items:center;margin-inline-start:auto}.dso-header-session.sc-dso-header .profile.sc-dso-header .dso-tertiary.sc-dso-header,.dso-header-session.sc-dso-header .login.sc-dso-header .dso-tertiary.sc-dso-header,.dso-header-session.sc-dso-header .logout.sc-dso-header .dso-tertiary.sc-dso-header,.dso-header-session.sc-dso-header .help.sc-dso-header .dso-tertiary.sc-dso-header{cursor:pointer;font-family:Asap, sans-serif;font-weight:600;line-height:1.5}.dso-header-session.sc-dso-header .profile.sc-dso-header{margin-inline-start:8px}.dso-header-session.sc-dso-header .profile.sc-dso-header+.logout.sc-dso-header,.dso-header-session.sc-dso-header .profile.sc-dso-header~.help.sc-dso-header{border-inline-start:3px solid #ccc;margin-inline-start:8px;padding-inline-start:8px}.dso-header-session.sc-dso-header .help.sc-dso-header a.sc-dso-header,.dso-header-session.sc-dso-header .help.sc-dso-header button.sc-dso-header{display:flex}.dso-navbar.sc-dso-header{flex-basis:100%}.dso-navbar.sc-dso-header .dso-dropdown-options.sc-dso-header{border-block-start:1px solid #ccc}dso-dropdown-menu.sc-dso-header button.sc-dso-header{align-items:center;background-color:transparent;border:0;display:flex;font-family:Asap, sans-serif;padding-inline-end:32px}dso-dropdown-menu.sc-dso-header .dso-dropdown-options.sc-dso-header{border:0;border-radius:0}@media screen and (min-width: 768px){dso-dropdown-menu.sc-dso-header .dso-dropdown-options.sc-dso-header{inline-size:375px}}@media screen and (max-width: 767px){dso-dropdown-menu.sc-dso-header .dso-dropdown-options.sc-dso-header{inline-size:100%}}dso-dropdown-menu.sc-dso-header .dso-dropdown-options.sc-dso-header ul.sc-dso-header li.sc-dso-header a.sc-dso-header,dso-dropdown-menu.sc-dso-header .dso-dropdown-options.sc-dso-header ul.sc-dso-header li.sc-dso-header button.sc-dso-header{color:#275937;font-size:1.25rem;padding:16px;white-space:pre-wrap}dso-dropdown-menu.sc-dso-header .dso-dropdown-options.sc-dso-header ul.sc-dso-header li.sc-dso-header a.sc-dso-header:focus,dso-dropdown-menu.sc-dso-header .dso-dropdown-options.sc-dso-header ul.sc-dso-header li.sc-dso-header button.sc-dso-header:focus{color:#fff}dso-dropdown-menu.sc-dso-header .dso-dropdown-options.sc-dso-header ul.sc-dso-header li.sc-dso-header a.sc-dso-header:hover,dso-dropdown-menu.sc-dso-header .dso-dropdown-options.sc-dso-header ul.sc-dso-header li.sc-dso-header button.sc-dso-header:hover{background-color:#fff;color:#275937;text-decoration:underline}dso-dropdown-menu.sc-dso-header .dso-dropdown-options.sc-dso-header ul.sc-dso-header li.dso-active.sc-dso-header a.sc-dso-header{font-weight:600}dso-dropdown-menu.sc-dso-header .dso-dropdown-options.sc-dso-header ul.sc-dso-header li.sc-dso-header+li.sc-dso-header{border-block-start:1px solid #ccc}.dropdown.sc-dso-header{margin-inline-start:auto;display:flex;align-items:center}.dropdown.sc-dso-header dso-dropdown-menu.sc-dso-header{position:static}.dropdown.sc-dso-header dso-dropdown-menu.sc-dso-header .dso-dropdown-options.sc-dso-header{inset-inline-end:0;inset-block-start:100%}.dropdown.sc-dso-header dso-dropdown-menu.sc-dso-header>button.sc-dso-header{color:#39870c;font-size:16px;font-weight:600;line-height:normal;position:relative}.dropdown.sc-dso-header dso-dropdown-menu.sc-dso-header>button.sc-dso-header::after{margin-inline-start:8px;position:absolute;inset-inline-end:0px;inset-block-start:50%;transform:translateY(-50%)}.dropdown.sc-dso-header dso-dropdown-menu.sc-dso-header>button.sc-dso-header:hover,.dropdown.sc-dso-header dso-dropdown-menu.sc-dso-header>button.sc-dso-header:active{cursor:pointer;text-decoration:underline}.dso-nav.sc-dso-header{align-items:end;column-gap:32px;display:flex;list-style:none;margin-block-end:0;margin-block-start:0;padding-inline-start:0}.dso-nav.sc-dso-header>li.sc-dso-header{margin-block-end:4px}.dso-nav.sc-dso-header>li.sc-dso-header>a.sc-dso-header{display:block}.dso-nav.sc-dso-header>li.sc-dso-header>a.sc-dso-header,.dso-nav.sc-dso-header>li.sc-dso-header>a.sc-dso-header:hover,.dso-nav.sc-dso-header>li.sc-dso-header>a.sc-dso-header:focus,.dso-nav.sc-dso-header>li.sc-dso-header>a.sc-dso-header:visited{color:#275937}.dso-nav.sc-dso-header>li.dso-active.sc-dso-header,.dso-nav.sc-dso-header>li.is-active.sc-dso-header{margin-block-end:0}.dso-nav.sc-dso-header>li.dso-active.sc-dso-header>a.sc-dso-header,.dso-nav.sc-dso-header>li.is-active.sc-dso-header>a.sc-dso-header{border-block-end:4px solid #8b4a6a;font-weight:bold}.dso-nav.dso-nav-main.sc-dso-header{display:flex !important}.dso-nav.dso-nav-main.sc-dso-header>li.sc-dso-header>a.sc-dso-header{text-decoration:none;font-size:1.25em;line-height:1;margin-block-start:8px;padding-block:16px;padding-inline:0;white-space:nowrap}.dso-nav.dso-nav-main.sc-dso-header>li.sc-dso-header>a.sc-dso-header:hover,.dso-nav.dso-nav-main.sc-dso-header>li.sc-dso-header>a.sc-dso-header:focus-visible,.dso-nav.dso-nav-main.sc-dso-header>li.sc-dso-header>a.sc-dso-header:active{text-decoration:underline}.dso-nav.dso-nav-main.sc-dso-header dso-dropdown-menu.sc-dso-header .dso-dropdown-options.sc-dso-header{inset-inline-start:-1rem !important;inset-block-start:3px !important}.dso-nav.dso-nav-main.sc-dso-header dso-dropdown-menu.sc-dso-header button.sc-dso-header{font-size:1.25em;line-height:1;margin-block-start:8px;padding-block:16px;padding-inline:0;align-items:center;color:#275937;padding-inline-end:32px}.dso-nav.dso-nav-main.sc-dso-header dso-dropdown-menu.sc-dso-header button.sc-dso-header:hover,.dso-nav.dso-nav-main.sc-dso-header dso-dropdown-menu.sc-dso-header button.sc-dso-header:active{cursor:pointer;text-decoration:underline}.dso-nav.dso-nav-main.sc-dso-header dso-dropdown-menu.sc-dso-header button.sc-dso-header::after{margin-inline-start:8px;position:absolute;inset-inline-end:0px;inset-block-start:auto;transform:none}.dso-nav.sc-dso-header .menu-user-home.sc-dso-header{margin-inline-start:auto}.dso-nav.sc-dso-header .menu-user-home.sc-dso-header dso-icon.sc-dso-header{block-size:1em;margin-inline-end:8px;position:relative;inset-block-start:-2px;inline-size:1.2em}";
@@ -87,10 +87,10 @@ const HelpcenterPanel = class {
87
87
  }
88
88
  }
89
89
  render() {
90
- return (index.h(index.Fragment, null, index.h("button", { key: '7ebc1495b2933c451a256a4006cc8282e8f2325e', type: "button", onClick: this.openClick, class: `open-button ${this.isOpen}`, "aria-expanded": this.isOpen === "open" ? "true" : "false", "aria-haspopup": "dialog", "aria-controls": "dso-panel-wrapper", ref: (element) => (this.openButtonElement = element) }, index.h("dso-icon", { key: '119fcbef430ef1808b1a7890dafae7a989ac84d8', icon: "help" }), index.h("span", { key: '2d92f7abc9c01f217e59f3560ff6ebfb7cc1161b' }, this.label)), index.h("div", { key: 'f57b69556a038441adc316cce74c5e29b455ff4c', id: "dso-panel-wrapper", class: `wrapper ${this.visibility}`, "aria-label": "helpcentrum", role: "dialog", ref: (element) => (this.panelWrapperElement = element) }, index.h("div", { key: '4ca3979f6e933c0b102d8443f494d52a51629605', class: "dimscreen", onClick: this.closeClick }), index.h("div", { key: 'da51b5c07f9bca49f35c0894997634ab736ab44d', class: `iframe-container ${this.slideState}`, "aria-live": "polite" }, this.loadIframe ? (index.h("iframe", { src: this.iframeUrl, tabindex: "0", onLoad: () => {
90
+ return (index.h(index.Fragment, null, index.h("button", { key: 'e1d37d4e3ebaf06b7a9c2d0aaed9298502d9754e', type: "button", onClick: this.openClick, class: `open-button ${this.isOpen}`, "aria-expanded": this.isOpen === "open" ? "true" : "false", "aria-haspopup": "dialog", "aria-controls": "dso-panel-wrapper", ref: (element) => (this.openButtonElement = element) }, index.h("dso-icon", { key: 'ba6afadc90c7f5f141416ce5d9930705e11e1e6d', icon: "help" }), index.h("span", { key: 'a7ac2634e19c2399d930cf65d71b922de37764b9' }, this.label)), index.h("div", { key: '752eef938f8b873229c972aa7cf2c384abb44527', id: "dso-panel-wrapper", class: `wrapper ${this.visibility}`, "aria-label": "helpcentrum", role: "dialog", ref: (element) => (this.panelWrapperElement = element) }, index.h("div", { key: '303a49bd479cf7df430fcbb109bcd71bacbb4997', class: "dimscreen", onClick: this.closeClick }), index.h("div", { key: '888e1c17800a263743d485ceae498019cb48e5d6', class: `iframe-container ${this.slideState}`, "aria-live": "polite" }, this.loadIframe ? (index.h("iframe", { src: this.iframeUrl, tabindex: "0", onLoad: () => {
91
91
  this.createTrap();
92
92
  this.iframeLoaded = true;
93
- } })) : (index.h("div", null))), index.h("button", { key: 'bf2c1b8eee6509c14ea3710e60c83c2fbc949517', type: "button", class: `close-button ${this.isOpen}`, onClick: this.closeClick, "aria-expanded": this.isOpen === "open" ? "true" : "false", "aria-controls": "dso-panel-wrapper", ref: (element) => (this.closeButtonElement = element) }, index.h("dso-icon", { key: '3ece8241d7f302a9471ce232e763955a8ffb3094', icon: "times" }), index.h("span", { key: '284e9eadf0404f45c34b128ff833f0e0e5e81642', class: "sr-only" }, "sluiten")))));
93
+ } })) : (index.h("div", null))), index.h("button", { key: '845463ff6598b4465b5dfd70f2df1c58a2fcf9bf', type: "button", class: `close-button ${this.isOpen}`, onClick: this.closeClick, "aria-expanded": this.isOpen === "open" ? "true" : "false", "aria-controls": "dso-panel-wrapper", ref: (element) => (this.closeButtonElement = element) }, index.h("dso-icon", { key: '4275abd1d65644a8ec6e8dff7d8d8a7faaa708e5', icon: "times" }), index.h("span", { key: '2b3d764a46b5a4a02862b9f1523bd9b055879581', class: "sr-only" }, "sluiten")))));
94
94
  }
95
95
  static get watchers() { return {
96
96
  "url": ["watchUrl"],
@@ -19,7 +19,7 @@ const HighlightBox = class {
19
19
  render() {
20
20
  var _a;
21
21
  const hasCounter = this.step || !!this.element.querySelector("[slot=icon]");
22
- return (index.h(index.Host, { key: '94dfaf9efb9d2cb1f5910b8dd0f4cc37f8b24c17', "has-counter": hasCounter }, hasCounter && index.h("div", { key: '005ab4e5b5cec05e4b16e32e8fa6ee8e1da0eb06', class: "dso-step-counter" }, (_a = this.step) !== null && _a !== void 0 ? _a : index.h("slot", { key: 'e6f814e0bb7f5f791f441cd78bd25a0c14e3e60e', name: "icon" })), index.h("slot", { key: '2dfc8c0d8ea3222c2e8b5a59f168b3df80b70bcc' })));
22
+ return (index.h(index.Host, { key: '25d12143159d00c5e9b4e63f29fac2574add29c4', "has-counter": hasCounter }, hasCounter && index.h("div", { key: '22f247b99977aee14d66ee8b9bf90da3438fcf18', class: "dso-step-counter" }, (_a = this.step) !== null && _a !== void 0 ? _a : index.h("slot", { key: '2d08d1ea5381f056d3bf24d483ec1c0d223df4b8', name: "icon" })), index.h("slot", { key: '6a9a6a522dd16cb01471eeab3ebe156f82e57686' })));
23
23
  }
24
24
  get element() { return index.getElement(this); }
25
25
  };
@@ -662,7 +662,7 @@ const Icon = class {
662
662
  if (!icon) {
663
663
  throw new TypeError(`Unknown svg: ${this.icon}`);
664
664
  }
665
- return index.h("span", { key: '118278e8190607c65d05559091539e28fd27b1f8', class: "icon-container", innerHTML: icon.svg });
665
+ return index.h("span", { key: 'db4952ecfced060cb495fa14c8a499e4aabddc10', class: "icon-container", innerHTML: icon.svg });
666
666
  }
667
667
  }
668
668
  };
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  const index = require('./index-848434f1.js');
6
6
  const clsx = require('./clsx-fc789adc.js');
7
7
 
8
- const infoButtonCss = ":host{display:inline-block}*,*::after,*::before{box-sizing:border-box}.sr-only{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}button{cursor:pointer;vertical-align:top}button{background-color:transparent;color:#39870c;border:0;margin-inline-start:8px;padding:0}button.dso-info-secondary{color:#666}dso-icon{display:block}";
8
+ const infoButtonCss = ":host{display:inline-block}*,*::after,*::before{box-sizing:border-box}.sr-only{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}button{cursor:pointer;vertical-align:top}button{background-color:transparent;color:#39870c;border:0;margin-inline-start:var(--_dt-info-button-margin-inline-start, 8px);padding:0}button.dso-info-secondary{color:#666}dso-icon{display:block}";
9
9
  const DsoInfoButtonStyle0 = infoButtonCss;
10
10
 
11
11
  const InfoButton = class {
@@ -29,7 +29,7 @@ const InfoButton = class {
29
29
  this.dsoToggle.emit({ originalEvent: e, active: this.active });
30
30
  }
31
31
  render() {
32
- return (index.h(index.Host, { key: 'f92cf2e064117a666eff6e06918d1b8bfaa0ae4b', onMouseenter: () => (this.hover = true), onMouseleave: () => (this.hover = false) }, index.h("button", { key: '9a9a095f29dff2d7ef53be6df2a5bb0de1fd9673', type: "button", class: clsx.clsx({ "dso-open": !!this.active, "dso-info-secondary": !!this.secondary }), "aria-expanded": typeof this.active === "boolean" ? this.active.toString() : undefined, onClick: (e) => this.handleToggle(e), ref: (element) => (this.button = element) }, index.h("dso-icon", { key: 'b2fc1665fa93d7a131833fc71b9cd17b0b29f5c6', icon: this.active || this.hover ? "info-active" : "info" }), index.h("span", { key: '9aa27a9e5ecc316e89c5ad0af463e711328d1857', class: "sr-only" }, this.label))));
32
+ return (index.h(index.Host, { key: '611987176a177e8874ce89572e69943190c15473', onMouseenter: () => (this.hover = true), onMouseleave: () => (this.hover = false) }, index.h("button", { key: 'e7465fab7a5380f48fc8f7bc690525d14c81236b', type: "button", class: clsx.clsx({ "dso-open": !!this.active, "dso-info-secondary": !!this.secondary }), "aria-expanded": typeof this.active === "boolean" ? this.active.toString() : undefined, onClick: (e) => this.handleToggle(e), ref: (element) => (this.button = element) }, index.h("dso-icon", { key: '0cf5948b5376b99f5936fd1cfd2a3499d927f043', icon: this.active || this.hover ? "info-active" : "info" }), index.h("span", { key: 'dd50bec5549ea109cf1eef231f6a1b071882140e', class: "sr-only" }, this.label))));
33
33
  }
34
34
  };
35
35
  InfoButton.style = DsoInfoButtonStyle0;
@@ -1 +1 @@
1
- {"file":"dso-info-button.entry.cjs.js","mappings":";;;;;;;AAAA,MAAM,aAAa,GAAG,yYAAyY,CAAC;AACha,4BAAe,aAAa;;MCSf,UAAU;;;;;qBAUb,KAAK;;qBAYL,uBAAuB;;;;;IAY/B,MAAM,QAAQ;;QACZ,MAAA,IAAI,CAAC,MAAM,0CAAE,KAAK,EAAE,CAAC;KACtB;IAEO,YAAY,CAAC,CAAa;QAChC,IAAI,CAAC,MAAM,GAAG,CAAC,IAAI,CAAC,MAAM,CAAC;QAC3B,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,EAAE,aAAa,EAAE,CAAC,EAAE,MAAM,EAAE,IAAI,CAAC,MAAM,EAAE,CAAC,CAAC;KAChE;IAED,MAAM;QACJ,QACEA,QAACC,UAAI,qDAAC,YAAY,EAAE,OAAO,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,EAAE,YAAY,EAAE,OAAO,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC,IACrFD,qEACE,IAAI,EAAC,QAAQ,EACb,KAAK,EAAEE,SAAI,CAAC,EAAE,UAAU,EAAE,CAAC,CAAC,IAAI,CAAC,MAAM,EAAE,oBAAoB,EAAE,CAAC,CAAC,IAAI,CAAC,SAAS,EAAE,CAAC,mBACnE,OAAO,IAAI,CAAC,MAAM,KAAK,SAAS,GAAG,IAAI,CAAC,MAAM,CAAC,QAAQ,EAAE,GAAG,SAAS,EACpF,OAAO,EAAE,CAAC,CAAC,KAAK,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,EACpC,GAAG,EAAE,CAAC,OAAO,MAAM,IAAI,CAAC,MAAM,GAAG,OAAO,CAAC,IAEzCF,uEAAU,IAAI,EAAE,IAAI,CAAC,MAAM,IAAI,IAAI,CAAC,KAAK,GAAG,aAAa,GAAG,MAAM,GAAa,EAC/EA,mEAAM,KAAK,EAAC,SAAS,IAAE,IAAI,CAAC,KAAK,CAAQ,CAClC,CACJ,EACP;KACH;;;;;;","names":["h","Host","clsx"],"sources":["src/components/info-button/info-button.scss?tag=dso-info-button&encapsulation=shadow","src/components/info-button/info-button.tsx"],"sourcesContent":["@use \"~dso-toolkit/src/utilities\";\r\n@use \"~dso-toolkit/src/components/info-button\";\r\n\r\n:host {\r\n display: inline-block;\r\n}\r\n\r\n@include utilities.box-sizing();\r\n\r\n.sr-only {\r\n @include utilities.sr-only();\r\n}\r\n\r\nbutton {\r\n @include info-button.root();\r\n\r\n cursor: pointer;\r\n vertical-align: top;\r\n}\r\n\r\ndso-icon {\r\n display: block;\r\n}\r\n","import { h, Component, Event, Prop, EventEmitter, Method, Host, State } from \"@stencil/core\";\r\nimport clsx from \"clsx\";\r\n\r\nimport { InfoButtonToggleEvent } from \"./info-button.interfaces\";\r\n\r\n@Component({\r\n tag: \"dso-info-button\",\r\n shadow: true,\r\n styleUrl: \"info-button.scss\",\r\n})\r\nexport class InfoButton {\r\n private button?: HTMLButtonElement;\r\n\r\n /**\r\n * Whether the InfoButton is active.\r\n */\r\n @Prop({ mutable: true, reflect: true })\r\n active?: boolean;\r\n\r\n @State()\r\n hover = false;\r\n\r\n /**\r\n * For secondary Info Button.\r\n */\r\n @Prop()\r\n secondary?: boolean;\r\n\r\n /**\r\n * The label.\r\n */\r\n @Prop()\r\n label = \"Toelichting bij optie\";\r\n\r\n /**\r\n * Emitted when the user activates the Info Button.\r\n */\r\n @Event()\r\n dsoToggle!: EventEmitter<InfoButtonToggleEvent>;\r\n\r\n /**\r\n * To set focus to the toggle button.\r\n */\r\n @Method()\r\n async setFocus() {\r\n this.button?.focus();\r\n }\r\n\r\n private handleToggle(e: MouseEvent) {\r\n this.active = !this.active;\r\n this.dsoToggle.emit({ originalEvent: e, active: this.active });\r\n }\r\n\r\n render() {\r\n return (\r\n <Host onMouseenter={() => (this.hover = true)} onMouseleave={() => (this.hover = false)}>\r\n <button\r\n type=\"button\"\r\n class={clsx({ \"dso-open\": !!this.active, \"dso-info-secondary\": !!this.secondary })}\r\n aria-expanded={typeof this.active === \"boolean\" ? this.active.toString() : undefined}\r\n onClick={(e) => this.handleToggle(e)}\r\n ref={(element) => (this.button = element)}\r\n >\r\n <dso-icon icon={this.active || this.hover ? \"info-active\" : \"info\"}></dso-icon>\r\n <span class=\"sr-only\">{this.label}</span>\r\n </button>\r\n </Host>\r\n );\r\n }\r\n}\r\n"],"version":3}
1
+ {"file":"dso-info-button.entry.cjs.js","mappings":";;;;;;;AAAA,MAAM,aAAa,GAAG,qbAAqb,CAAC;AAC5c,4BAAe,aAAa;;MCSf,UAAU;;;;;qBAUb,KAAK;;qBAYL,uBAAuB;;;;;IAY/B,MAAM,QAAQ;;QACZ,MAAA,IAAI,CAAC,MAAM,0CAAE,KAAK,EAAE,CAAC;KACtB;IAEO,YAAY,CAAC,CAAa;QAChC,IAAI,CAAC,MAAM,GAAG,CAAC,IAAI,CAAC,MAAM,CAAC;QAC3B,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,EAAE,aAAa,EAAE,CAAC,EAAE,MAAM,EAAE,IAAI,CAAC,MAAM,EAAE,CAAC,CAAC;KAChE;IAED,MAAM;QACJ,QACEA,QAACC,UAAI,qDAAC,YAAY,EAAE,OAAO,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,EAAE,YAAY,EAAE,OAAO,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC,IACrFD,qEACE,IAAI,EAAC,QAAQ,EACb,KAAK,EAAEE,SAAI,CAAC,EAAE,UAAU,EAAE,CAAC,CAAC,IAAI,CAAC,MAAM,EAAE,oBAAoB,EAAE,CAAC,CAAC,IAAI,CAAC,SAAS,EAAE,CAAC,mBACnE,OAAO,IAAI,CAAC,MAAM,KAAK,SAAS,GAAG,IAAI,CAAC,MAAM,CAAC,QAAQ,EAAE,GAAG,SAAS,EACpF,OAAO,EAAE,CAAC,CAAC,KAAK,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,EACpC,GAAG,EAAE,CAAC,OAAO,MAAM,IAAI,CAAC,MAAM,GAAG,OAAO,CAAC,IAEzCF,uEAAU,IAAI,EAAE,IAAI,CAAC,MAAM,IAAI,IAAI,CAAC,KAAK,GAAG,aAAa,GAAG,MAAM,GAAa,EAC/EA,mEAAM,KAAK,EAAC,SAAS,IAAE,IAAI,CAAC,KAAK,CAAQ,CAClC,CACJ,EACP;KACH;;;;;;","names":["h","Host","clsx"],"sources":["src/components/info-button/info-button.scss?tag=dso-info-button&encapsulation=shadow","src/components/info-button/info-button.tsx"],"sourcesContent":["@use \"~dso-toolkit/src/utilities\";\r\n@use \"~dso-toolkit/src/components/info-button\";\r\n\r\n:host {\r\n display: inline-block;\r\n}\r\n\r\n@include utilities.box-sizing();\r\n\r\n.sr-only {\r\n @include utilities.sr-only();\r\n}\r\n\r\nbutton {\r\n @include info-button.root();\r\n\r\n cursor: pointer;\r\n vertical-align: top;\r\n}\r\n\r\ndso-icon {\r\n display: block;\r\n}\r\n","import { h, Component, Event, Prop, EventEmitter, Method, Host, State } from \"@stencil/core\";\r\nimport clsx from \"clsx\";\r\n\r\nimport { InfoButtonToggleEvent } from \"./info-button.interfaces\";\r\n\r\n@Component({\r\n tag: \"dso-info-button\",\r\n shadow: true,\r\n styleUrl: \"info-button.scss\",\r\n})\r\nexport class InfoButton {\r\n private button?: HTMLButtonElement;\r\n\r\n /**\r\n * Whether the InfoButton is active.\r\n */\r\n @Prop({ mutable: true, reflect: true })\r\n active?: boolean;\r\n\r\n @State()\r\n hover = false;\r\n\r\n /**\r\n * For secondary Info Button.\r\n */\r\n @Prop()\r\n secondary?: boolean;\r\n\r\n /**\r\n * The label.\r\n */\r\n @Prop()\r\n label = \"Toelichting bij optie\";\r\n\r\n /**\r\n * Emitted when the user activates the Info Button.\r\n */\r\n @Event()\r\n dsoToggle!: EventEmitter<InfoButtonToggleEvent>;\r\n\r\n /**\r\n * To set focus to the toggle button.\r\n */\r\n @Method()\r\n async setFocus() {\r\n this.button?.focus();\r\n }\r\n\r\n private handleToggle(e: MouseEvent) {\r\n this.active = !this.active;\r\n this.dsoToggle.emit({ originalEvent: e, active: this.active });\r\n }\r\n\r\n render() {\r\n return (\r\n <Host onMouseenter={() => (this.hover = true)} onMouseleave={() => (this.hover = false)}>\r\n <button\r\n type=\"button\"\r\n class={clsx({ \"dso-open\": !!this.active, \"dso-info-secondary\": !!this.secondary })}\r\n aria-expanded={typeof this.active === \"boolean\" ? this.active.toString() : undefined}\r\n onClick={(e) => this.handleToggle(e)}\r\n ref={(element) => (this.button = element)}\r\n >\r\n <dso-icon icon={this.active || this.hover ? \"info-active\" : \"info\"}></dso-icon>\r\n <span class=\"sr-only\">{this.label}</span>\r\n </button>\r\n </Host>\r\n );\r\n }\r\n}\r\n"],"version":3}
@@ -17,7 +17,7 @@ const Info = class {
17
17
  this.active = undefined;
18
18
  }
19
19
  render() {
20
- return (index.h(index.Fragment, { key: 'e5f657a636b290b194ccbb89b8cd10c361a3addd' }, index.h("slot", { key: '08ff21c78926849c1b0461abfc551f96fd4a769a' }), !this.fixed && (index.h("button", { key: '5312aa3e0b79e3c46c28b272b1fe2161f3c625a2', type: "button", onClick: (e) => this.dsoClose.emit(e) }, index.h("dso-icon", { key: '7473fe06abfd42aa7c39eb97b4ea1b8113e9bfe4', icon: "times" }), index.h("span", { key: 'e5b9d4414e871ff4ec15e18adb6ab819ddcfb0f5', class: "sr-only" }, "Sluiten")))));
20
+ return (index.h(index.Fragment, { key: '3b3a3390da24484d21869661692c293f766bb06b' }, index.h("slot", { key: '83976a207e4c1505329876192c83e6eccc1f6a52' }), !this.fixed && (index.h("button", { key: 'de983b145b9a2cfd1adccc13116f0f17e8130314', type: "button", onClick: (e) => this.dsoClose.emit(e) }, index.h("dso-icon", { key: 'c34a3568d69b61537de385c4e9b6277be5ea7697', icon: "times" }), index.h("span", { key: 'bc2069fa68085e27fd9bab79d41ec801f5da1c5f', class: "sr-only" }, "Sluiten")))));
21
21
  }
22
22
  };
23
23
  Info.style = DsoInfoStyle0;
@@ -84,7 +84,7 @@ const Selectable = class {
84
84
  render() {
85
85
  var _a;
86
86
  const hasInfo = !!this.host.querySelector('[slot="info"]');
87
- return (index.h(index.Fragment, { key: '7bc5f9b9e029af047da32ea329ec28ef5a1b9a6e' }, index.h("div", { key: 'e1d8151cfc4a179c574cdd22f5b8a522433f9896', class: "dso-selectable-container" }, index.h("div", { key: 'b7089b2e8b02bacaf0485351726d019b2d3faaf3', class: clsx.clsx("dso-selectable-input-wrapper", { "dso-keyboard-focus": this.keyboardFocus }) }, index.h("input", { key: 'bbf2571b7578706abf523f5fc0d66435159b5ab5', type: this.type, id: this.getIdentifier(), value: this.value, name: this.name, "aria-invalid": (_a = this.invalid) === null || _a === void 0 ? void 0 : _a.toString(), "aria-describedby": hasInfo && this.infoFixed ? this.describedById : undefined, "aria-labelledBy": this.labelledById, disabled: this.disabled, required: this.required, checked: this.checked, onChange: this.handleOnChange, onBlur: () => (this.keyboardFocus = false), onKeyUp: () => (this.keyboardFocus = true), ref: (el) => (this.input = el) }), !this.labelledById ? (index.h("label", { htmlFor: this.getIdentifier() }, index.h("slot", null))) : (index.h("label", null, index.h("slot", null)))), hasInfo && !this.infoFixed && (index.h("dso-info-button", { key: 'c03e4642630e5a7dfd902af7389eb8eefedef6f7', active: this.infoActive, onDsoToggle: (e) => (this.infoActive = e.detail.active) }))), hasInfo && (index.h("dso-info", { key: 'bd49a93be3a86178bb3b3ea6df7744baeb746d3d', id: hasInfo && this.infoFixed ? this.describedById : undefined, fixed: this.infoFixed, active: this.infoActive, onDsoClose: () => (this.infoActive = false) }, index.h("div", { key: 'a34fe7983e523fcb8b07d90bcd3b48a4359abb31' }, index.h("slot", { key: 'd733610afc9465da63844b0c8430ddde7227fae5', name: "info" })))), index.h("slot", { key: '7af6229ca414ff808ea348d396f51f6674ba30e1', name: "options" })));
87
+ return (index.h(index.Fragment, { key: '8eaf459e1b418a9c5eb61c12939aa137b1e9a9b7' }, index.h("div", { key: 'ecbf02645dd338d6071fb06426662d78649bd8c8', class: "dso-selectable-container" }, index.h("div", { key: 'c244e0254c468e30c22ec958c6be91e532d77392', class: clsx.clsx("dso-selectable-input-wrapper", { "dso-keyboard-focus": this.keyboardFocus }) }, index.h("input", { key: 'df920ead7e69f3e136a058cd5ab7953ecad8c707', type: this.type, id: this.getIdentifier(), value: this.value, name: this.name, "aria-invalid": (_a = this.invalid) === null || _a === void 0 ? void 0 : _a.toString(), "aria-describedby": hasInfo && this.infoFixed ? this.describedById : undefined, "aria-labelledBy": this.labelledById, disabled: this.disabled, required: this.required, checked: this.checked, onChange: this.handleOnChange, onBlur: () => (this.keyboardFocus = false), onKeyUp: () => (this.keyboardFocus = true), ref: (el) => (this.input = el) }), !this.labelledById ? (index.h("label", { htmlFor: this.getIdentifier() }, index.h("slot", null))) : (index.h("label", null, index.h("slot", null)))), hasInfo && !this.infoFixed && (index.h("dso-info-button", { key: 'f539a4ea7af6bb4c1412895c2af316b9014d8420', active: this.infoActive, onDsoToggle: (e) => (this.infoActive = e.detail.active) }))), hasInfo && (index.h("dso-info", { key: '69bde115eba8f18261c79886654defb9f0f703f6', id: hasInfo && this.infoFixed ? this.describedById : undefined, fixed: this.infoFixed, active: this.infoActive, onDsoClose: () => (this.infoActive = false) }, index.h("div", { key: '9d92cccb1adfd77adc579f57281dddc56a2225ba' }, index.h("slot", { key: '4fee8b038cb69e5321c23502eb6a5dad31c3c9ee', name: "info" })))), index.h("slot", { key: 'fd69188bb07390259d9ac58f328d3a7c8b42fe12', name: "options" })));
88
88
  }
89
89
  componentDidRender() {
90
90
  if (this.input && typeof this.checked === "boolean" && this.input.checked !== this.checked) {
@@ -23,13 +23,13 @@ const InputRange = class {
23
23
  const min = this.min || 0;
24
24
  const max = this.max || 100;
25
25
  const step = this.step || 1;
26
- return (index.h(index.Fragment, null, this.description && (index.h("span", { key: '01c22533d0eddbb7bb513317c531bcc04ab5d12f', id: "description", hidden: true }, this.description)), index.h("span", { key: 'fc58429b96deef9728b7ede4707176124d5b2ca5', class: "counter min", "aria-hidden": "true" }, min, this.unit), index.h("input", { key: 'a9bee5cb4aef9a32141b12237a8cd80d453599a1', type: "range", min: this.min, max: this.max, value: this.value, class: "input", "aria-label": this.label, "aria-describedby": this.description ? "description" : undefined, onChange: (event) => this.dsoChange.emit({
26
+ return (index.h(index.Fragment, null, this.description && (index.h("span", { key: 'bafd8f561096b1c122444e422218bae57805bc4a', id: "description", hidden: true }, this.description)), index.h("span", { key: '2cd87a76024596c12da99f52de025a34535cc137', class: "counter min", "aria-hidden": "true" }, min, this.unit), index.h("input", { key: '096fd4d114eb459c331b0d9f684a807537a9f85e', type: "range", min: this.min, max: this.max, value: this.value, class: "input", "aria-label": this.label, "aria-describedby": this.description ? "description" : undefined, onChange: (event) => this.dsoChange.emit({
27
27
  originalEvent: event,
28
28
  value: event.target instanceof HTMLInputElement ? parseInt(event.target.value, 10) : undefined,
29
29
  max,
30
30
  min,
31
31
  step,
32
- }) }), index.h("span", { key: '883c3c66f15ae009ea147c265da96ba1b8e2167a', class: "counter max", "aria-hidden": "true" }, max, this.unit)));
32
+ }) }), index.h("span", { key: '158967493692699e1bf8314354b66eeddbf61d38', class: "counter max", "aria-hidden": "true" }, max, this.unit)));
33
33
  }
34
34
  get host() { return index.getElement(this); }
35
35
  };
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index$1 = require('./index-848434f1.js');
6
6
  const clsx = require('./clsx-fc789adc.js');
7
- const index = require('./index-7244933f.js');
7
+ const index = require('./index-a49786b9.js');
8
8
  const hasOverflow = require('./has-overflow-2fb1d618.js');
9
9
 
10
10
  const labelCss = ":host{display:inline-block;max-inline-size:100%}*,*::after,*::before{box-sizing:border-box}.sr-only{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.dso-label{border-radius:4px;display:inline-block;line-height:1.5;max-inline-size:100%;padding-block:4px;padding-inline:8px}.dso-label:focus-within,.dso-label.dso-hover{text-decoration:line-through}.dso-label button{background:none;border:0;border-radius:0 4px 4px 0;color:inherit;float:inline-end;font-size:1rem;margin-block-end:-4px;margin-inline-start:8px;margin-inline-end:-4px;margin-block-start:0;padding:0}.dso-label button:hover{cursor:pointer}.dso-label button>dso-icon,.dso-label button>svg.di{display:block}.dso-label{background-color:#f2f2f2;border-color:#f2f2f2;color:#191919}.dso-label.dso-label-info{background-color:#6ca4d9;border-color:#6ca4d9;color:#191919}.dso-label.dso-label-primary{background-color:#275937;border-color:#275937;color:#fff}.dso-label.dso-label-success{background-color:#39870c;border-color:#39870c;color:#fff}.dso-label.dso-label-warning{background-color:#dcd400;border-color:#dcd400;color:#191919}.dso-label.dso-label-danger{background-color:#ce3f51;border-color:#ce3f51;color:#fff}.dso-label.dso-label-error{background-color:#ce3f51;border-color:#ce3f51;color:#fff}.dso-label.dso-label-bright{background-color:#fff;border-color:#fff;color:#191919}.dso-label.dso-label-bright{outline:1px solid #ccc;outline-offset:-1px}.dso-label.dso-label-attention{background-color:#8b4a6a;border-color:#8b4a6a;color:#fff}.dso-label.dso-compact{padding-block:0;padding-inline:8px}.dso-label.dso-hover .dso-label-content{text-decoration:line-through}.dso-truncate.dso-label-content{display:inline-block;max-inline-size:100%;overflow:hidden;text-overflow:ellipsis;vertical-align:bottom;white-space:nowrap}:host([removable]) .dso-truncate.dso-label-content{max-inline-size:calc(100% - 28px)}";
@@ -113,13 +113,13 @@ const Label = class {
113
113
  this.isTruncated = false;
114
114
  }
115
115
  render() {
116
- return (index$1.h(index$1.Fragment, { key: '25e56c874b916235727257093a97b5263f82525c' }, index$1.h("span", { key: '0e40b01e6552d8559fcfc9a40e22222541f642ce', "aria-describedby": "toggle-anchor", class: clsx.clsx("dso-label", {
116
+ return (index$1.h(index$1.Fragment, { key: '07723299883f0fe1b61f09feed46a39f37205481' }, index$1.h("span", { key: '0ef33ed0541bbb451d3c9bec9493ff563eadd8b0', "aria-describedby": "toggle-anchor", class: clsx.clsx("dso-label", {
117
117
  [`dso-label-${this.status}`]: this.status,
118
118
  "dso-compact": this.compact && !this.removable,
119
119
  "dso-hover": this.removeHover || this.removeFocus,
120
- }) }, index$1.h("slot", { key: 'ed7da69e37b55d7c7240792ab477acd55e543d99', name: "symbol" }), index$1.h("span", { key: 'a06cb439e686b8e4ee7edad9475bc832c8cf0ddf', class: clsx.clsx("dso-label-content", {
120
+ }) }, index$1.h("slot", { key: '287637d9cff61b3f9a049f3bf923085397d06a9f', name: "symbol" }), index$1.h("span", { key: '745b33815b6387571b4febfd435ab4bf6102b4f7', class: clsx.clsx("dso-label-content", {
121
121
  "dso-truncate": !!this.truncate,
122
- }), ref: (element) => (this.labelContent = element), tabindex: this.truncate && this.isTruncated ? 0 : undefined, onMouseEnter: () => (this.textHover = true), onMouseLeave: () => (this.textHover = false), onFocus: () => (this.textFocus = true), onBlur: () => (this.textFocus = false) }, index$1.h("slot", { key: 'a53a1928a5f57b0a60c37116a74ec037251253be' })), this.removable && (index$1.h("button", { key: '876108268f5162c6f8cc4936b2c8c9abfc7fa1f9', type: "button", onClick: (e) => this.dsoRemoveClick.emit(e), onMouseEnter: () => (this.removeHover = true), onMouseLeave: () => (this.removeHover = false), onFocus: () => (this.removeFocus = true), onBlur: () => (this.removeFocus = false) }, index$1.h("span", { key: '8c73709cfa0c63ce939db085995824c008ce47f9', class: "sr-only" }, "Verwijder: ", this.labelText), index$1.h("dso-icon", { key: '0ce43f1ac8af806a71b9ef2a4b8ca2a9f1110035', icon: "times" })))), this.isTruncated && (index$1.h("dso-tooltip", { key: 'e1a1d648d1c576f22950eb2f10690abce79f3704', stateless: true, id: "toggle-anchor", active: this.textHover || this.textFocus, position: "top", strategy: "absolute" }, this.labelText))));
122
+ }), ref: (element) => (this.labelContent = element), tabindex: this.truncate && this.isTruncated ? 0 : undefined, onMouseEnter: () => (this.textHover = true), onMouseLeave: () => (this.textHover = false), onFocus: () => (this.textFocus = true), onBlur: () => (this.textFocus = false) }, index$1.h("slot", { key: '3bd278fe59bd427423fd0b0ea12aea49e73800ac' })), this.removable && (index$1.h("button", { key: '975eaa6513ffba48d5ee17fe15af43deb8ae6aa3', type: "button", onClick: (e) => this.dsoRemoveClick.emit(e), onMouseEnter: () => (this.removeHover = true), onMouseLeave: () => (this.removeHover = false), onFocus: () => (this.removeFocus = true), onBlur: () => (this.removeFocus = false) }, index$1.h("span", { key: '44b03c47c0e9e261070da1ec55875f279104a509', class: "sr-only" }, "Verwijder: ", this.labelText), index$1.h("dso-icon", { key: 'b980445c597c236d23cf7b002b9c0155d8324ee4', icon: "times" })))), this.isTruncated && (index$1.h("dso-tooltip", { key: '74c2da63edc210b7caac69bc5ac1413da8b18592', stateless: true, id: "toggle-anchor", active: this.textHover || this.textFocus, position: "top", strategy: "absolute" }, this.labelText))));
123
123
  }
124
124
  get host() { return index$1.getElement(this); }
125
125
  static get watchers() { return {
@@ -331,7 +331,7 @@ const Tooltip = class {
331
331
  }
332
332
  }
333
333
  render() {
334
- return (index$1.h(index$1.Host, { key: '1dd2e74dbeb0555c9ddf87f129fa0c71761a1838', class: { hidden: this.hidden }, role: "tooltip", onClick: this.listenClick }, index$1.h("div", { key: 'ee9a42aebfda6d2b72b9ca2843997c543b534ee8', class: clsx.clsx("tooltip", { in: this.active }) }, !this.noArrow && index$1.h("div", { key: '3f692092ef311ed2c23f24c4c039cd690a1456cd', "data-popper-arrow": true, class: "tooltip-arrow" }), index$1.h("div", { key: '1f47431cd04dffd0f6eec3728c140e0e2bbbd2c5', "aria-hidden": !this.descriptive || undefined, class: clsx.clsx("tooltip-inner", { "dso-small": this.small }) }, index$1.h("slot", { key: 'a1e76e41487efc675edd80608d610e4fbf0f227e' })))));
334
+ return (index$1.h(index$1.Host, { key: '01e63a4cd76dca4d1d07bbbb35c8e67f7c4883e7', class: { hidden: this.hidden }, role: "tooltip", onClick: this.listenClick }, index$1.h("div", { key: '39c3989e697df79021b782aa1ba0100f352fef0c', class: clsx.clsx("tooltip", { in: this.active }) }, !this.noArrow && index$1.h("div", { key: 'ce11016b943b0a32bde7da78a1a039cec0523681', "data-popper-arrow": true, class: "tooltip-arrow" }), index$1.h("div", { key: 'e2fff499e2bbf78bb4c542f6cd4b23b30c26ba50', "aria-hidden": !this.descriptive || undefined, class: clsx.clsx("tooltip-inner", { "dso-small": this.small }) }, index$1.h("slot", { key: '54ff66606cc1dc120768ee6b9f3cd4f66cec1aec' })))));
335
335
  }
336
336
  activatePopper() {
337
337
  var _a;