@dso-toolkit/core 62.28.0 → 62.30.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 (357) hide show
  1. package/dist/cjs/dso-accordion-section.cjs.entry.js +2 -2
  2. package/dist/cjs/dso-accordion.cjs.entry.js +1 -1
  3. package/dist/cjs/dso-action-list-item.cjs.entry.js +2 -2
  4. package/dist/cjs/dso-action-list.cjs.entry.js +1 -1
  5. package/dist/cjs/dso-advanced-select.cjs.entry.js +2 -2
  6. package/dist/cjs/dso-alert_5.cjs.entry.js +7 -7
  7. package/dist/cjs/dso-alert_5.cjs.entry.js.map +1 -1
  8. package/dist/cjs/dso-annotation-activiteit.cjs.entry.js +1 -1
  9. package/dist/cjs/dso-annotation-gebiedsaanwijzing.cjs.entry.js +1 -1
  10. package/dist/cjs/dso-annotation-kaart.cjs.entry.js +1 -1
  11. package/dist/cjs/dso-annotation-locatie.cjs.entry.js +1 -1
  12. package/dist/cjs/dso-annotation-omgevingsnormwaarde.cjs.entry.js +1 -1
  13. package/dist/cjs/dso-annotation-output_2.cjs.entry.js +2 -2
  14. package/dist/cjs/dso-annotation-output_2.cjs.entry.js.map +1 -1
  15. package/dist/cjs/dso-attachments-counter.cjs.entry.js +1 -1
  16. package/dist/cjs/dso-autosuggest.cjs.entry.js +57 -20
  17. package/dist/cjs/dso-autosuggest.cjs.entry.js.map +1 -1
  18. package/dist/cjs/dso-badge.cjs.entry.js +1 -1
  19. package/dist/cjs/dso-banner.cjs.entry.js +2 -2
  20. package/dist/cjs/dso-card-container.cjs.entry.js +1 -1
  21. package/dist/cjs/dso-card.cjs.entry.js +2 -2
  22. package/dist/cjs/dso-date-picker-legacy.cjs.entry.js +3 -3
  23. package/dist/cjs/dso-date-picker.cjs.entry.js +1 -1
  24. package/dist/cjs/dso-dropdown-menu.cjs.entry.js +1 -1
  25. package/dist/cjs/dso-helpcenter-panel.cjs.entry.js +3 -3
  26. package/dist/cjs/dso-helpcenter-panel.cjs.entry.js.map +1 -1
  27. package/dist/cjs/dso-highlight-box.cjs.entry.js +1 -1
  28. package/dist/cjs/dso-icon.cjs.entry.js +1 -1
  29. package/dist/cjs/dso-info-button.cjs.entry.js +1 -1
  30. package/dist/cjs/dso-info_2.cjs.entry.js +2 -2
  31. package/dist/cjs/dso-input-range.cjs.entry.js +2 -2
  32. package/dist/cjs/dso-label_2.cjs.entry.js +4 -4
  33. package/dist/cjs/dso-legend-item.cjs.entry.js +2 -2
  34. package/dist/cjs/dso-list-button.cjs.entry.js +2 -2
  35. package/dist/cjs/dso-logo.cjs.entry.js +2 -2
  36. package/dist/cjs/dso-logo.cjs.entry.js.map +1 -1
  37. package/dist/cjs/dso-map-base-layers.cjs.entry.js +1 -1
  38. package/dist/cjs/dso-map-controls.cjs.entry.js +2 -2
  39. package/dist/cjs/dso-map-controls.cjs.entry.js.map +1 -1
  40. package/dist/cjs/dso-map-overlays.cjs.entry.js +1 -1
  41. package/dist/cjs/dso-mark-bar.cjs.entry.js +1 -1
  42. package/dist/cjs/dso-modal.cjs.entry.js +2 -2
  43. package/dist/cjs/dso-panel.cjs.entry.js +23 -0
  44. package/dist/cjs/dso-panel.cjs.entry.js.map +1 -0
  45. package/dist/cjs/dso-progress-bar.cjs.entry.js +1 -1
  46. package/dist/cjs/dso-progress-indicator.cjs.entry.js +1 -1
  47. package/dist/cjs/dso-renvooi_2.cjs.entry.js +1 -1
  48. package/dist/cjs/dso-responsive-element.cjs.entry.js +1 -1
  49. package/dist/cjs/dso-scrollable.cjs.entry.js +2 -2
  50. package/dist/cjs/dso-toggletip.cjs.entry.js +1 -1
  51. package/dist/cjs/dso-toolkit.cjs.js +1 -1
  52. package/dist/cjs/dso-tree-view.cjs.entry.js +1 -1
  53. package/dist/cjs/dso-viewer-grid.cjs.entry.js +2 -2
  54. package/dist/cjs/dso-viewer-grid.cjs.entry.js.map +1 -1
  55. package/dist/cjs/dsot-document-component-demo.cjs.entry.js +1 -1
  56. package/dist/cjs/loader.cjs.js +1 -1
  57. package/dist/collection/collection-manifest.json +1 -0
  58. package/dist/collection/components/accordion/accordion.js +1 -1
  59. package/dist/collection/components/accordion/components/accordion-section.js +2 -2
  60. package/dist/collection/components/action-list/action-list.js +1 -1
  61. package/dist/collection/components/action-list/components/action-list-item.js +2 -2
  62. package/dist/collection/components/advanced-select/advanced-select.js +2 -2
  63. package/dist/collection/components/alert/alert.js +1 -1
  64. package/dist/collection/components/annotation/annotation-activiteit/annotation-activiteit.js +1 -1
  65. package/dist/collection/components/annotation/annotation-gebiedsaanwijzing/annotation-gebiedsaanwijzing.js +1 -1
  66. package/dist/collection/components/annotation/annotation-kaart/annotation-kaart.js +1 -1
  67. package/dist/collection/components/annotation/annotation-locatie/annotation-locatie.js +1 -1
  68. package/dist/collection/components/annotation/annotation-omgevingsnormwaarde/annotation-omgevingsnormwaarde.js +1 -1
  69. package/dist/collection/components/annotation-button/annotation-button.css +5 -5
  70. package/dist/collection/components/attachments-counter/attachments-counter.js +1 -1
  71. package/dist/collection/components/autosuggest/autosuggest.css +12 -8
  72. package/dist/collection/components/autosuggest/autosuggest.js +59 -20
  73. package/dist/collection/components/autosuggest/autosuggest.js.map +1 -1
  74. package/dist/collection/components/badge/badge.js +1 -1
  75. package/dist/collection/components/banner/banner.js +2 -2
  76. package/dist/collection/components/card/card.js +2 -2
  77. package/dist/collection/components/card-container/card-container.js +1 -1
  78. package/dist/collection/components/date-picker/date-picker.js +1 -1
  79. package/dist/collection/components/date-picker-legacy/date-picker-legacy.js +3 -3
  80. package/dist/collection/components/document-component/document-component.css +5 -5
  81. package/dist/collection/components/document-component/document-component.js +1 -1
  82. package/dist/collection/components/document-component-demo/document-component.demo.js +1 -1
  83. package/dist/collection/components/dropdown-menu/dropdown-menu.js +1 -1
  84. package/dist/collection/components/helpcenter-panel/helpcenter-panel.css +4 -4
  85. package/dist/collection/components/helpcenter-panel/helpcenter-panel.js +2 -2
  86. package/dist/collection/components/highlight-box/highlight-box.js +1 -1
  87. package/dist/collection/components/icon/icon.js +1 -1
  88. package/dist/collection/components/image-overlay/image-overlay.css +8 -8
  89. package/dist/collection/components/info/info.js +1 -1
  90. package/dist/collection/components/info-button/info-button.js +1 -1
  91. package/dist/collection/components/input-range/input-range.js +2 -2
  92. package/dist/collection/components/label/label.js +3 -3
  93. package/dist/collection/components/legend-item/legend-item.js +2 -2
  94. package/dist/collection/components/list-button/list-button.css +6 -6
  95. package/dist/collection/components/list-button/list-button.js +1 -1
  96. package/dist/collection/components/logo/logo.js +3 -3
  97. package/dist/collection/components/logo/logo.js.map +1 -1
  98. package/dist/collection/components/map-base-layers/map-base-layers.js +1 -1
  99. package/dist/collection/components/map-controls/map-controls.css +12 -12
  100. package/dist/collection/components/map-controls/map-controls.js +1 -1
  101. package/dist/collection/components/map-overlays/map-overlays.js +1 -1
  102. package/dist/collection/components/mark-bar/mark-bar.js +1 -1
  103. package/dist/collection/components/modal/modal.js +2 -2
  104. package/dist/collection/components/ozon-content/ozon-content.css +5 -5
  105. package/dist/collection/components/ozon-content/ozon-content.js +1 -1
  106. package/dist/collection/components/panel/panel.css +58 -0
  107. package/dist/collection/components/panel/panel.js +47 -0
  108. package/dist/collection/components/panel/panel.js.map +1 -0
  109. package/dist/collection/components/progress-bar/progress-bar.js +1 -1
  110. package/dist/collection/components/progress-indicator/progress-indicator.js +1 -1
  111. package/dist/collection/components/responsive-element/responsive-element.js +1 -1
  112. package/dist/collection/components/scrollable/scrollable.js +2 -2
  113. package/dist/collection/components/selectable/selectable.js +1 -1
  114. package/dist/collection/components/slide-toggle/slide-toggle.js +1 -1
  115. package/dist/collection/components/table/table.css +5 -5
  116. package/dist/collection/components/table/table.js +1 -1
  117. package/dist/collection/components/toggletip/toggletip.js +1 -1
  118. package/dist/collection/components/tooltip/tooltip.js +1 -1
  119. package/dist/collection/components/tree-view/tree-view.js +1 -1
  120. package/dist/collection/components/viewer-grid/viewer-grid.css +10 -10
  121. package/dist/collection/components/viewer-grid/viewer-grid.js +1 -1
  122. package/dist/components/alert.js +1 -1
  123. package/dist/components/annotation-button.js +1 -1
  124. package/dist/components/annotation-button.js.map +1 -1
  125. package/dist/components/attachments-counter.js +1 -1
  126. package/dist/components/badge.js +1 -1
  127. package/dist/components/document-component.js +2 -2
  128. package/dist/components/document-component.js.map +1 -1
  129. package/dist/components/dropdown-menu.js +1 -1
  130. package/dist/components/dso-accordion-section.js +2 -2
  131. package/dist/components/dso-accordion.js +1 -1
  132. package/dist/components/dso-action-list-item.js +2 -2
  133. package/dist/components/dso-action-list.js +1 -1
  134. package/dist/components/dso-advanced-select.js +2 -2
  135. package/dist/components/dso-annotation-activiteit.js +1 -1
  136. package/dist/components/dso-annotation-gebiedsaanwijzing.js +1 -1
  137. package/dist/components/dso-annotation-kaart.js +1 -1
  138. package/dist/components/dso-annotation-locatie.js +1 -1
  139. package/dist/components/dso-annotation-omgevingsnormwaarde.js +1 -1
  140. package/dist/components/dso-autosuggest.js +70 -25
  141. package/dist/components/dso-autosuggest.js.map +1 -1
  142. package/dist/components/dso-banner.js +2 -2
  143. package/dist/components/dso-card-container.js +1 -1
  144. package/dist/components/dso-card.js +2 -2
  145. package/dist/components/dso-date-picker-legacy.js +3 -3
  146. package/dist/components/dso-date-picker.js +1 -1
  147. package/dist/components/dso-helpcenter-panel.js +3 -3
  148. package/dist/components/dso-helpcenter-panel.js.map +1 -1
  149. package/dist/components/dso-highlight-box.js +1 -1
  150. package/dist/components/dso-input-range.js +2 -2
  151. package/dist/components/dso-legend-item.js +2 -2
  152. package/dist/components/dso-list-button.js +2 -2
  153. package/dist/components/dso-logo.js +3 -3
  154. package/dist/components/dso-logo.js.map +1 -1
  155. package/dist/components/dso-map-base-layers.js +1 -1
  156. package/dist/components/dso-map-controls.js +2 -2
  157. package/dist/components/dso-map-controls.js.map +1 -1
  158. package/dist/components/dso-map-overlays.js +1 -1
  159. package/dist/components/dso-mark-bar.js +1 -1
  160. package/dist/components/dso-modal.js +2 -2
  161. package/dist/components/dso-panel.d.ts +11 -0
  162. package/dist/components/dso-panel.js +43 -0
  163. package/dist/components/dso-panel.js.map +1 -0
  164. package/dist/components/dso-progress-bar.js +1 -1
  165. package/dist/components/dso-tree-view.js +1 -1
  166. package/dist/components/dso-viewer-grid.js +2 -2
  167. package/dist/components/dso-viewer-grid.js.map +1 -1
  168. package/dist/components/dsot-document-component-demo.js +1 -1
  169. package/dist/components/icon.js +1 -1
  170. package/dist/components/image-overlay.js +1 -1
  171. package/dist/components/image-overlay.js.map +1 -1
  172. package/dist/components/index.d.ts +2 -0
  173. package/dist/components/index.js +1 -0
  174. package/dist/components/index.js.map +1 -1
  175. package/dist/components/info-button.js +1 -1
  176. package/dist/components/info.js +1 -1
  177. package/dist/components/label.js +3 -3
  178. package/dist/components/ozon-content.js +2 -2
  179. package/dist/components/ozon-content.js.map +1 -1
  180. package/dist/components/progress-indicator.js +1 -1
  181. package/dist/components/responsive-element.js +1 -1
  182. package/dist/components/scrollable.js +2 -2
  183. package/dist/components/selectable.js +1 -1
  184. package/dist/components/slide-toggle.js +1 -1
  185. package/dist/components/table.js +2 -2
  186. package/dist/components/table.js.map +1 -1
  187. package/dist/components/toggletip.js +1 -1
  188. package/dist/components/tooltip.js +1 -1
  189. package/dist/dso-toolkit/dso-toolkit.esm.js +1 -1
  190. package/dist/dso-toolkit/dso-toolkit.esm.js.map +1 -1
  191. package/dist/dso-toolkit/{p-d8744e6e.entry.js → p-07bdda5e.entry.js} +2 -2
  192. package/dist/dso-toolkit/p-0ea714fa.entry.js +2 -0
  193. package/dist/dso-toolkit/{p-fb4f7c98.entry.js.map → p-0ea714fa.entry.js.map} +1 -1
  194. package/dist/dso-toolkit/{p-45934ea5.entry.js → p-0eedf36a.entry.js} +2 -2
  195. package/dist/dso-toolkit/p-12bea4ab.entry.js +2 -0
  196. package/dist/dso-toolkit/{p-01daefd6.entry.js → p-224469db.entry.js} +2 -2
  197. package/dist/dso-toolkit/p-28622002.entry.js +2 -0
  198. package/dist/dso-toolkit/{p-c076cd49.entry.js → p-2d1f870c.entry.js} +2 -2
  199. package/dist/dso-toolkit/{p-9b698eb6.entry.js → p-2e3bc902.entry.js} +2 -2
  200. package/dist/dso-toolkit/{p-536b70d8.entry.js → p-30dbca1b.entry.js} +2 -2
  201. package/dist/dso-toolkit/{p-ef8cccbd.entry.js → p-38b3f31e.entry.js} +2 -2
  202. package/dist/dso-toolkit/{p-ab91a31a.entry.js → p-38d518f9.entry.js} +2 -2
  203. package/dist/dso-toolkit/{p-97b5ad7b.entry.js → p-3b4a3e37.entry.js} +2 -2
  204. package/dist/dso-toolkit/{p-81790cb0.entry.js → p-3c8f0a89.entry.js} +2 -2
  205. package/dist/dso-toolkit/p-421d223d.entry.js +2 -0
  206. package/dist/dso-toolkit/{p-3b01f2a2.entry.js.map → p-421d223d.entry.js.map} +1 -1
  207. package/dist/dso-toolkit/{p-98325f23.entry.js → p-4a59df70.entry.js} +2 -2
  208. package/dist/dso-toolkit/{p-f850de62.entry.js → p-5c69d9c7.entry.js} +2 -2
  209. package/dist/dso-toolkit/p-5cf23978.entry.js +2 -0
  210. package/dist/dso-toolkit/{p-995b15a4.entry.js → p-7470bb47.entry.js} +2 -2
  211. package/dist/dso-toolkit/{p-8e4ec29c.entry.js → p-76e2a14e.entry.js} +2 -2
  212. package/dist/dso-toolkit/{p-d8cbc58f.entry.js → p-7e4c553d.entry.js} +2 -2
  213. package/dist/dso-toolkit/{p-ba0bd24d.entry.js → p-7fa33a0c.entry.js} +2 -2
  214. package/dist/dso-toolkit/p-8914f72a.entry.js +2 -0
  215. package/dist/dso-toolkit/{p-c311d632.entry.js → p-8939c14f.entry.js} +2 -2
  216. package/dist/dso-toolkit/{p-a3d88101.entry.js → p-96370f12.entry.js} +2 -2
  217. package/dist/dso-toolkit/p-9ee33188.entry.js +2 -0
  218. package/dist/dso-toolkit/p-9ee33188.entry.js.map +1 -0
  219. package/dist/dso-toolkit/p-a2e9f65d.entry.js +2 -0
  220. package/dist/dso-toolkit/{p-84d7b509.entry.js.map → p-a2e9f65d.entry.js.map} +1 -1
  221. package/dist/dso-toolkit/{p-be09cdfb.entry.js → p-a325b5b5.entry.js} +2 -2
  222. package/dist/dso-toolkit/{p-08dba16d.entry.js → p-a94bf203.entry.js} +2 -2
  223. package/dist/dso-toolkit/{p-d072c749.entry.js → p-ab3fca8d.entry.js} +2 -2
  224. package/dist/dso-toolkit/{p-f4893ad4.entry.js → p-b48845c9.entry.js} +2 -2
  225. package/dist/dso-toolkit/{p-6d87bed5.entry.js → p-b51c8bd1.entry.js} +2 -2
  226. package/dist/dso-toolkit/p-b53c6fb6.entry.js +2 -0
  227. package/dist/dso-toolkit/p-b53c6fb6.entry.js.map +1 -0
  228. package/dist/dso-toolkit/p-bc0e3147.entry.js +2 -0
  229. package/dist/dso-toolkit/{p-bc3f6f57.entry.js → p-be05632e.entry.js} +2 -2
  230. package/dist/dso-toolkit/{p-a6a47dd2.entry.js → p-c8bbb012.entry.js} +2 -2
  231. package/dist/dso-toolkit/{p-65103f88.entry.js → p-cc9bf183.entry.js} +2 -2
  232. package/dist/dso-toolkit/{p-0900fddd.entry.js → p-cf0a95cf.entry.js} +2 -2
  233. package/dist/dso-toolkit/p-dac60705.entry.js +2 -0
  234. package/dist/dso-toolkit/{p-b245e776.entry.js → p-df30c56c.entry.js} +2 -2
  235. package/dist/dso-toolkit/p-e13733dc.entry.js +2 -0
  236. package/dist/dso-toolkit/{p-4cfc3dba.entry.js.map → p-e13733dc.entry.js.map} +1 -1
  237. package/dist/dso-toolkit/{p-dd2e80f0.entry.js → p-e15b7ce7.entry.js} +2 -2
  238. package/dist/dso-toolkit/{p-b4452919.entry.js → p-e881b305.entry.js} +2 -2
  239. package/dist/dso-toolkit/{p-70f2eed4.entry.js → p-f1089571.entry.js} +2 -2
  240. package/dist/dso-toolkit/{p-c1ae4697.entry.js → p-f68abdad.entry.js} +2 -2
  241. package/dist/dso-toolkit/p-fc72f21c.entry.js +2 -0
  242. package/dist/dso-toolkit/{p-65c3fa6f.entry.js.map → p-fc72f21c.entry.js.map} +1 -1
  243. package/dist/dso-toolkit/p-ff29c841.entry.js +2 -0
  244. package/dist/dso-toolkit/p-ff29c841.entry.js.map +1 -0
  245. package/dist/esm/dso-accordion-section.entry.js +2 -2
  246. package/dist/esm/dso-accordion.entry.js +1 -1
  247. package/dist/esm/dso-action-list-item.entry.js +2 -2
  248. package/dist/esm/dso-action-list.entry.js +1 -1
  249. package/dist/esm/dso-advanced-select.entry.js +2 -2
  250. package/dist/esm/dso-alert_5.entry.js +7 -7
  251. package/dist/esm/dso-alert_5.entry.js.map +1 -1
  252. package/dist/esm/dso-annotation-activiteit.entry.js +1 -1
  253. package/dist/esm/dso-annotation-gebiedsaanwijzing.entry.js +1 -1
  254. package/dist/esm/dso-annotation-kaart.entry.js +1 -1
  255. package/dist/esm/dso-annotation-locatie.entry.js +1 -1
  256. package/dist/esm/dso-annotation-omgevingsnormwaarde.entry.js +1 -1
  257. package/dist/esm/dso-annotation-output_2.entry.js +2 -2
  258. package/dist/esm/dso-annotation-output_2.entry.js.map +1 -1
  259. package/dist/esm/dso-attachments-counter.entry.js +1 -1
  260. package/dist/esm/dso-autosuggest.entry.js +57 -20
  261. package/dist/esm/dso-autosuggest.entry.js.map +1 -1
  262. package/dist/esm/dso-badge.entry.js +1 -1
  263. package/dist/esm/dso-banner.entry.js +2 -2
  264. package/dist/esm/dso-card-container.entry.js +1 -1
  265. package/dist/esm/dso-card.entry.js +2 -2
  266. package/dist/esm/dso-date-picker-legacy.entry.js +3 -3
  267. package/dist/esm/dso-date-picker.entry.js +1 -1
  268. package/dist/esm/dso-dropdown-menu.entry.js +1 -1
  269. package/dist/esm/dso-helpcenter-panel.entry.js +3 -3
  270. package/dist/esm/dso-helpcenter-panel.entry.js.map +1 -1
  271. package/dist/esm/dso-highlight-box.entry.js +1 -1
  272. package/dist/esm/dso-icon.entry.js +1 -1
  273. package/dist/esm/dso-info-button.entry.js +1 -1
  274. package/dist/esm/dso-info_2.entry.js +2 -2
  275. package/dist/esm/dso-input-range.entry.js +2 -2
  276. package/dist/esm/dso-label_2.entry.js +4 -4
  277. package/dist/esm/dso-legend-item.entry.js +2 -2
  278. package/dist/esm/dso-list-button.entry.js +2 -2
  279. package/dist/esm/dso-logo.entry.js +3 -3
  280. package/dist/esm/dso-logo.entry.js.map +1 -1
  281. package/dist/esm/dso-map-base-layers.entry.js +1 -1
  282. package/dist/esm/dso-map-controls.entry.js +2 -2
  283. package/dist/esm/dso-map-controls.entry.js.map +1 -1
  284. package/dist/esm/dso-map-overlays.entry.js +1 -1
  285. package/dist/esm/dso-mark-bar.entry.js +1 -1
  286. package/dist/esm/dso-modal.entry.js +2 -2
  287. package/dist/esm/dso-panel.entry.js +19 -0
  288. package/dist/esm/dso-panel.entry.js.map +1 -0
  289. package/dist/esm/dso-progress-bar.entry.js +1 -1
  290. package/dist/esm/dso-progress-indicator.entry.js +1 -1
  291. package/dist/esm/dso-renvooi_2.entry.js +1 -1
  292. package/dist/esm/dso-responsive-element.entry.js +1 -1
  293. package/dist/esm/dso-scrollable.entry.js +2 -2
  294. package/dist/esm/dso-toggletip.entry.js +1 -1
  295. package/dist/esm/dso-toolkit.js +1 -1
  296. package/dist/esm/dso-tree-view.entry.js +1 -1
  297. package/dist/esm/dso-viewer-grid.entry.js +2 -2
  298. package/dist/esm/dso-viewer-grid.entry.js.map +1 -1
  299. package/dist/esm/dsot-document-component-demo.entry.js +1 -1
  300. package/dist/esm/loader.js +1 -1
  301. package/dist/types/components/autosuggest/autosuggest.d.ts +10 -0
  302. package/dist/types/components/panel/panel.d.ts +15 -0
  303. package/dist/types/components.d.ts +34 -0
  304. package/package.json +2 -2
  305. package/dist/dso-toolkit/p-0bc8b0cb.entry.js +0 -2
  306. package/dist/dso-toolkit/p-0bc8b0cb.entry.js.map +0 -1
  307. package/dist/dso-toolkit/p-200b6f6d.entry.js +0 -2
  308. package/dist/dso-toolkit/p-357d709b.entry.js +0 -2
  309. package/dist/dso-toolkit/p-380eef98.entry.js +0 -2
  310. package/dist/dso-toolkit/p-3b01f2a2.entry.js +0 -2
  311. package/dist/dso-toolkit/p-4cfc3dba.entry.js +0 -2
  312. package/dist/dso-toolkit/p-65c3fa6f.entry.js +0 -2
  313. package/dist/dso-toolkit/p-84d7b509.entry.js +0 -2
  314. package/dist/dso-toolkit/p-91f631a2.entry.js +0 -2
  315. package/dist/dso-toolkit/p-a070bb9e.entry.js +0 -2
  316. package/dist/dso-toolkit/p-c2f27106.entry.js +0 -2
  317. package/dist/dso-toolkit/p-f59101bd.entry.js +0 -2
  318. package/dist/dso-toolkit/p-f59101bd.entry.js.map +0 -1
  319. package/dist/dso-toolkit/p-fb4f7c98.entry.js +0 -2
  320. /package/dist/dso-toolkit/{p-d8744e6e.entry.js.map → p-07bdda5e.entry.js.map} +0 -0
  321. /package/dist/dso-toolkit/{p-45934ea5.entry.js.map → p-0eedf36a.entry.js.map} +0 -0
  322. /package/dist/dso-toolkit/{p-91f631a2.entry.js.map → p-12bea4ab.entry.js.map} +0 -0
  323. /package/dist/dso-toolkit/{p-01daefd6.entry.js.map → p-224469db.entry.js.map} +0 -0
  324. /package/dist/dso-toolkit/{p-380eef98.entry.js.map → p-28622002.entry.js.map} +0 -0
  325. /package/dist/dso-toolkit/{p-c076cd49.entry.js.map → p-2d1f870c.entry.js.map} +0 -0
  326. /package/dist/dso-toolkit/{p-9b698eb6.entry.js.map → p-2e3bc902.entry.js.map} +0 -0
  327. /package/dist/dso-toolkit/{p-536b70d8.entry.js.map → p-30dbca1b.entry.js.map} +0 -0
  328. /package/dist/dso-toolkit/{p-ef8cccbd.entry.js.map → p-38b3f31e.entry.js.map} +0 -0
  329. /package/dist/dso-toolkit/{p-ab91a31a.entry.js.map → p-38d518f9.entry.js.map} +0 -0
  330. /package/dist/dso-toolkit/{p-97b5ad7b.entry.js.map → p-3b4a3e37.entry.js.map} +0 -0
  331. /package/dist/dso-toolkit/{p-81790cb0.entry.js.map → p-3c8f0a89.entry.js.map} +0 -0
  332. /package/dist/dso-toolkit/{p-98325f23.entry.js.map → p-4a59df70.entry.js.map} +0 -0
  333. /package/dist/dso-toolkit/{p-f850de62.entry.js.map → p-5c69d9c7.entry.js.map} +0 -0
  334. /package/dist/dso-toolkit/{p-200b6f6d.entry.js.map → p-5cf23978.entry.js.map} +0 -0
  335. /package/dist/dso-toolkit/{p-995b15a4.entry.js.map → p-7470bb47.entry.js.map} +0 -0
  336. /package/dist/dso-toolkit/{p-8e4ec29c.entry.js.map → p-76e2a14e.entry.js.map} +0 -0
  337. /package/dist/dso-toolkit/{p-d8cbc58f.entry.js.map → p-7e4c553d.entry.js.map} +0 -0
  338. /package/dist/dso-toolkit/{p-ba0bd24d.entry.js.map → p-7fa33a0c.entry.js.map} +0 -0
  339. /package/dist/dso-toolkit/{p-357d709b.entry.js.map → p-8914f72a.entry.js.map} +0 -0
  340. /package/dist/dso-toolkit/{p-c311d632.entry.js.map → p-8939c14f.entry.js.map} +0 -0
  341. /package/dist/dso-toolkit/{p-a3d88101.entry.js.map → p-96370f12.entry.js.map} +0 -0
  342. /package/dist/dso-toolkit/{p-be09cdfb.entry.js.map → p-a325b5b5.entry.js.map} +0 -0
  343. /package/dist/dso-toolkit/{p-08dba16d.entry.js.map → p-a94bf203.entry.js.map} +0 -0
  344. /package/dist/dso-toolkit/{p-d072c749.entry.js.map → p-ab3fca8d.entry.js.map} +0 -0
  345. /package/dist/dso-toolkit/{p-f4893ad4.entry.js.map → p-b48845c9.entry.js.map} +0 -0
  346. /package/dist/dso-toolkit/{p-6d87bed5.entry.js.map → p-b51c8bd1.entry.js.map} +0 -0
  347. /package/dist/dso-toolkit/{p-c2f27106.entry.js.map → p-bc0e3147.entry.js.map} +0 -0
  348. /package/dist/dso-toolkit/{p-bc3f6f57.entry.js.map → p-be05632e.entry.js.map} +0 -0
  349. /package/dist/dso-toolkit/{p-a6a47dd2.entry.js.map → p-c8bbb012.entry.js.map} +0 -0
  350. /package/dist/dso-toolkit/{p-65103f88.entry.js.map → p-cc9bf183.entry.js.map} +0 -0
  351. /package/dist/dso-toolkit/{p-0900fddd.entry.js.map → p-cf0a95cf.entry.js.map} +0 -0
  352. /package/dist/dso-toolkit/{p-a070bb9e.entry.js.map → p-dac60705.entry.js.map} +0 -0
  353. /package/dist/dso-toolkit/{p-b245e776.entry.js.map → p-df30c56c.entry.js.map} +0 -0
  354. /package/dist/dso-toolkit/{p-dd2e80f0.entry.js.map → p-e15b7ce7.entry.js.map} +0 -0
  355. /package/dist/dso-toolkit/{p-b4452919.entry.js.map → p-e881b305.entry.js.map} +0 -0
  356. /package/dist/dso-toolkit/{p-70f2eed4.entry.js.map → p-f1089571.entry.js.map} +0 -0
  357. /package/dist/dso-toolkit/{p-c1ae4697.entry.js.map → p-f68abdad.entry.js.map} +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"autosuggest.js","sourceRoot":"","sources":["../../../../src/components/autosuggest/autosuggest.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,KAAK,EAAgB,QAAQ,EAAE,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,KAAK,EAAS,KAAK,EAAE,MAAM,eAAe,CAAC;AACxH,OAAO,QAAQ,MAAM,UAAU,CAAC;AAChC,OAAO,EAAE,EAAE,EAAE,MAAM,MAAM,CAAC;AAC1B,OAAO,kBAAkB,MAAM,sBAAsB,CAAC;AAStD,MAAM,OAAO,WAAW;;QAmGd,cAAS,GAAW,EAAE,EAAE,CAAC;QAEzB,YAAO,GAAW,EAAE,EAAE,CAAC;QAEvB,YAAO,GAAW,EAAE,EAAE,CAAC;QAEvB,uBAAkB,GAAG,QAAQ,CAAC,CAAC,KAAa,EAAE,EAAE;YACtD,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;YAC3B,IAAI,CAAC,oBAAoB,EAAE,CAAC;QAC9B,CAAC,EAAE,GAAG,CAAC,CAAC;QAEA,yBAAoB,GAAG,QAAQ,CAAC,GAAG,EAAE;YAC3C,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";\r\nimport debounce from \"debounce\";\r\nimport { v4 } from \"uuid\";\r\nimport escapeStringRegexp from \"escape-string-regexp\";\r\n\r\nimport { AutosuggestMarkFunction, AutosuggestMarkItem, Suggestion } from \"./autosuggest.interfaces\";\r\n\r\n@Component({\r\n tag: \"dso-autosuggest\",\r\n styleUrl: \"autosuggest.scss\",\r\n scoped: true,\r\n})\r\nexport class Autosuggest {\r\n /**\r\n * The suggestions for the value of the slotted input element. Optionally a\r\n * Suggestion can have a `type` and `item`.\r\n *\r\n * The `type` is used to style the suggestion. `item` can be use to reference\r\n * the original object that was used to create the suggestion.\r\n *\r\n * The value should be null when no suggestions have been fetched.\r\n */\r\n @Prop()\r\n readonly suggestions: Suggestion[] | null = null;\r\n\r\n /**\r\n * Shows progress indicator when fetching results.\r\n */\r\n @Prop()\r\n loading = false;\r\n\r\n /**\r\n * To override progress indicator's default loading label.\r\n */\r\n @Prop()\r\n loadingLabel?: string = \"Een moment geduld.\";\r\n\r\n /**\r\n * To delay progress indicator showing (in ms).\r\n */\r\n @Prop()\r\n loadingDelayed?: number;\r\n\r\n /**\r\n * To show text when no results are found.\r\n */\r\n @Prop()\r\n notFoundLabel?: string;\r\n\r\n /**\r\n * Whether the previous suggestions will be presented when the input gets focus again.\r\n */\r\n @Prop()\r\n suggestOnFocus = false;\r\n\r\n /**\r\n * A function provided by the consumer of the autosuggest component, that returns an array of `AutosuggestMarkItem`s\r\n */\r\n @Prop()\r\n mark?: AutosuggestMarkFunction;\r\n\r\n /**\r\n * Emitted when a suggestion is selected.\r\n * The `detail` property of the `CustomEvent` will contain the selected suggestion.\r\n */\r\n @Event()\r\n dsoSelect!: EventEmitter<Suggestion>;\r\n\r\n /**\r\n * This is emitted debounced for every change for the slotted input type=text element.\r\n */\r\n @Event()\r\n dsoChange!: EventEmitter<string>;\r\n\r\n /**\r\n * Emitted when enter is pressed.\r\n * The `detail` property of the `CustomEvent` will contain the input text.\r\n */\r\n @Event()\r\n dsoSearch!: EventEmitter<string>;\r\n\r\n @Element()\r\n host!: HTMLDsoAutosuggestElement;\r\n\r\n @State()\r\n showSuggestions = false;\r\n\r\n @State()\r\n selectedSuggestion: Suggestion | undefined;\r\n\r\n @State()\r\n notFound = false;\r\n\r\n @State()\r\n showLoading = false;\r\n\r\n @Watch(\"suggestions\")\r\n suggestionsWatcher() {\r\n this.resetSelectedSuggestion();\r\n\r\n if ((!this.showSuggestions || !this.notFound) && this.inputValue) {\r\n this.openSuggestions();\r\n } else if ((this.showSuggestions || this.notFound) && !this.inputValue) {\r\n this.closeSuggestions();\r\n }\r\n }\r\n\r\n private input?: HTMLInputElement;\r\n\r\n private listbox: HTMLUListElement | undefined;\r\n\r\n private listboxId: string = v4();\r\n\r\n private inputId: string = v4();\r\n\r\n private labelId: string = v4();\r\n\r\n private debouncedEmitValue = debounce((value: string) => {\r\n this.dsoChange.emit(value);\r\n this.debouncedShowLoading();\r\n }, 200);\r\n\r\n private debouncedShowLoading = debounce(() => {\r\n if (this.inputValue) {\r\n this.showLoading = true;\r\n }\r\n }, this.loadingDelayed);\r\n\r\n private inputValue = \"\";\r\n\r\n private onInput = (event: Event) => {\r\n if (!(event.target instanceof HTMLInputElement)) {\r\n return;\r\n // throw new Error(\"event.target is not instanceof HTMLInputElement\"); #2293\r\n }\r\n\r\n this.showLoading = !this.loadingDelayed;\r\n this.inputValue = event.target.value;\r\n this.debouncedEmitValue(event.target.value.match(/(\\S+)/g) ? event.target.value : \"\");\r\n };\r\n\r\n private onFocusIn = () => {\r\n if (this.suggestOnFocus) {\r\n this.openSuggestions();\r\n }\r\n };\r\n\r\n @Listen(\"click\", { target: \"document\" })\r\n onDocumentClick(event: MouseEvent) {\r\n if (\r\n (this.showSuggestions || this.notFound) &&\r\n this.listbox &&\r\n event.target instanceof Node &&\r\n !this.listbox.contains(event.target) &&\r\n this.input !== event.target\r\n ) {\r\n this.closeSuggestions();\r\n }\r\n }\r\n\r\n connectedCallback() {\r\n setTimeout(() => {\r\n const input = this.host.querySelector('input[type=\"text\"]');\r\n if (!(input instanceof HTMLInputElement)) {\r\n return;\r\n // throw new ReferenceError(\"Mandatory text input not found\"); #2293\r\n }\r\n\r\n this.input = input;\r\n if (input.id) {\r\n this.inputId = input.id;\r\n } else {\r\n input.id = this.inputId;\r\n }\r\n\r\n if (!this.input.labels || this.input.labels.length < 1) {\r\n return;\r\n // throw new ReferenceError(\"Mandatory label for text input not found\"); #2293\r\n }\r\n\r\n const label = this.input.labels[0];\r\n if (label?.id) {\r\n this.labelId = label.id;\r\n } else if (label) {\r\n label.id = this.labelId;\r\n }\r\n\r\n this.input.setAttribute(\"role\", \"combobox\");\r\n this.input.setAttribute(\"aria-haspopup\", \"listbox\");\r\n this.input.setAttribute(\"aria-controls\", this.listboxId);\r\n this.input.setAttribute(\"aria-expanded\", \"false\");\r\n this.input.setAttribute(\"autocomplete\", \"off\");\r\n this.input.setAttribute(\"aria-autocomplete\", \"list\");\r\n this.input.setAttribute(\"aria-activedescendant\", \"\");\r\n this.input.addEventListener(\"input\", this.onInput);\r\n this.input.addEventListener(\"keydown\", this.onKeyDown);\r\n this.input.addEventListener(\"focusin\", this.onFocusIn);\r\n });\r\n }\r\n\r\n disconnectedCallback() {\r\n this.input?.removeEventListener(\"input\", this.onInput);\r\n this.input?.removeEventListener(\"keydown\", this.onKeyDown);\r\n this.input?.removeEventListener(\"focusin\", this.onFocusIn);\r\n }\r\n\r\n private showInputValueNotFound(text: string) {\r\n return this.processAutosuggestMarkItems(this.markTerms(text, this.input?.value.split(\" \").filter((t) => t) ?? []));\r\n }\r\n\r\n private handleMark(\r\n suggestion: Suggestion,\r\n text: string,\r\n type?: \"value\" | \"type\" | \"extra\",\r\n extraIndex?: number,\r\n ): (VNode | string)[] {\r\n if (this.mark && type) {\r\n return this.processAutosuggestMarkItems(this.mark(suggestion, text, type, extraIndex));\r\n }\r\n return this.processAutosuggestMarkItems(this.markTerms(text, this.input?.value.split(\" \").filter((t) => t) ?? []));\r\n }\r\n\r\n private markTerms(suggestionValue: string, terms: string[]): AutosuggestMarkItem[] {\r\n if (!suggestionValue || !terms || terms.length === 0 || terms[0] === undefined) {\r\n return [\"\"];\r\n }\r\n\r\n const termRegex = new RegExp(`(${escapeStringRegexp(terms[0])})`, \"gi\");\r\n\r\n return suggestionValue.split(termRegex).reduce((total: AutosuggestMarkItem[], valuePart: string) => {\r\n if (!valuePart) {\r\n total.push(valuePart);\r\n } else if (termRegex.test(valuePart)) {\r\n total.push({ mark: valuePart });\r\n } else if (terms.length === 1) {\r\n total.push(valuePart);\r\n } else {\r\n total.push(...this.markTerms(valuePart, terms.slice(1)));\r\n }\r\n\r\n return total;\r\n }, []);\r\n }\r\n\r\n private processAutosuggestMarkItems(items: AutosuggestMarkItem[]): (VNode | string)[] {\r\n if (items.length === 0) {\r\n return [\"\"];\r\n }\r\n\r\n return items.map((item) => {\r\n if (typeof item === \"object\") {\r\n return <mark>{item.mark}</mark>;\r\n }\r\n return item;\r\n });\r\n }\r\n\r\n private selectSuggestion(suggestion: Suggestion) {\r\n this.selectedSuggestion = suggestion;\r\n\r\n this.input?.setAttribute(\"aria-activedescendant\", this.listboxItemId(suggestion));\r\n }\r\n\r\n private selectFirstSuggestion() {\r\n if (!this.suggestions) {\r\n return;\r\n }\r\n\r\n this.selectedSuggestion = this.suggestions[0];\r\n\r\n if (this.selectedSuggestion) {\r\n this.input?.setAttribute(\"aria-activedescendant\", this.listboxItemId(this.selectedSuggestion));\r\n }\r\n }\r\n\r\n private selectLastSuggestion() {\r\n if (!this.suggestions) {\r\n return;\r\n }\r\n\r\n this.selectedSuggestion = this.suggestions[this.suggestions.length - 1];\r\n\r\n if (this.selectedSuggestion) {\r\n this.input?.setAttribute(\"aria-activedescendant\", this.listboxItemId(this.selectedSuggestion));\r\n }\r\n }\r\n\r\n private selectNextSuggestion() {\r\n if (!this.suggestions) {\r\n return;\r\n }\r\n\r\n const index = this.selectedSuggestion ? this.suggestions.indexOf(this.selectedSuggestion) : -1;\r\n\r\n this.selectedSuggestion = this.suggestions[index + 1] ?? this.suggestions[0];\r\n\r\n if (this.selectedSuggestion) {\r\n this.input?.setAttribute(\"aria-activedescendant\", this.listboxItemId(this.selectedSuggestion));\r\n }\r\n }\r\n\r\n private selectPreviousSuggestion() {\r\n if (!this.suggestions) {\r\n return;\r\n }\r\n\r\n const index = this.selectedSuggestion ? this.suggestions.indexOf(this.selectedSuggestion) : 0;\r\n\r\n this.selectedSuggestion = this.suggestions[index - 1] ?? this.suggestions[this.suggestions.length - 1];\r\n\r\n if (this.selectedSuggestion) {\r\n this.input?.setAttribute(\"aria-activedescendant\", this.listboxItemId(this.selectedSuggestion));\r\n }\r\n }\r\n\r\n private resetSelectedSuggestion() {\r\n this.showLoading = !this.loadingDelayed;\r\n this.notFound = false;\r\n this.selectedSuggestion = undefined;\r\n this.input?.setAttribute(\"aria-activedescendant\", \"\");\r\n }\r\n\r\n private openSuggestions(selectSuggestion?: \"first\" | \"last\") {\r\n this.showSuggestions = (this.suggestions && this.suggestions.length > 0) ?? false;\r\n this.notFound = this.suggestions?.length === 0 ?? false;\r\n this.input?.setAttribute(\"aria-expanded\", (this.showSuggestions || this.notFound).toString());\r\n\r\n if (this.showSuggestions && selectSuggestion === \"first\") {\r\n this.selectFirstSuggestion();\r\n } else if (this.showSuggestions && selectSuggestion === \"last\") {\r\n this.selectLastSuggestion();\r\n }\r\n }\r\n\r\n private closeSuggestions() {\r\n this.showSuggestions = false;\r\n this.notFound = false;\r\n this.input?.setAttribute(\"aria-expanded\", \"false\");\r\n this.selectFirstSuggestion();\r\n }\r\n\r\n private pickSelectedValue() {\r\n if (this.selectedSuggestion && this.showSuggestions) {\r\n this.dsoSelect.emit(this.selectedSuggestion);\r\n } else {\r\n this.dsoSearch.emit(this.input?.value);\r\n }\r\n\r\n this.closeSuggestions();\r\n }\r\n\r\n private onKeyDown = (event: KeyboardEvent) => {\r\n if (event.defaultPrevented || this.loading) {\r\n return;\r\n }\r\n\r\n switch (event.key) {\r\n case \"ArrowDown\":\r\n if (!this.showSuggestions) {\r\n this.openSuggestions(\"first\");\r\n } else {\r\n this.selectNextSuggestion();\r\n }\r\n\r\n break;\r\n\r\n case \"ArrowUp\":\r\n if (!this.showSuggestions) {\r\n this.openSuggestions(\"last\");\r\n } else {\r\n this.selectPreviousSuggestion();\r\n }\r\n\r\n break;\r\n\r\n case \"Tab\":\r\n this.closeSuggestions();\r\n return;\r\n\r\n case \"Escape\":\r\n this.closeSuggestions();\r\n break;\r\n\r\n case \"Enter\":\r\n this.pickSelectedValue();\r\n break;\r\n\r\n default:\r\n return;\r\n }\r\n\r\n event.preventDefault();\r\n };\r\n\r\n private listboxItemId(suggestion: Suggestion): string {\r\n if (!this.suggestions) {\r\n return \"\";\r\n }\r\n return `${this.inputId}-${this.suggestions.indexOf(suggestion) + 1}`;\r\n }\r\n\r\n private getChunkedExtras(extras: string[]): string[][] {\r\n return extras.reduce((resultArray: string[][], extra, index) => {\r\n const chunkIndex = Math.floor(index / 2);\r\n\r\n if (!resultArray[chunkIndex]) {\r\n resultArray[chunkIndex] = [];\r\n }\r\n resultArray[chunkIndex]?.push(extra);\r\n return resultArray;\r\n }, []);\r\n }\r\n\r\n render() {\r\n return (\r\n <>\r\n <slot />\r\n {this.loading && this.showLoading ? (\r\n <div class=\"autosuggest-progress-box\">\r\n <dso-progress-indicator label={this.loadingLabel}></dso-progress-indicator>\r\n </div>\r\n ) : (\r\n <ul\r\n role=\"listbox\"\r\n aria-live=\"polite\"\r\n id={this.listboxId}\r\n aria-labelledby={this.labelId}\r\n ref={(element) => (this.listbox = element)}\r\n hidden={!this.showSuggestions && !this.notFound}\r\n >\r\n {(this.showSuggestions &&\r\n this.suggestions &&\r\n this.suggestions.map((suggestion) => (\r\n <li\r\n role=\"option\"\r\n id={this.listboxItemId(suggestion)}\r\n key={suggestion.value}\r\n onMouseEnter={() => this.selectSuggestion(suggestion)}\r\n onMouseLeave={() => this.resetSelectedSuggestion()}\r\n onClick={() => this.pickSelectedValue()}\r\n aria-selected={(suggestion === this.selectedSuggestion).toString()}\r\n aria-label={suggestion.value}\r\n >\r\n <div class=\"suggestion-row\">\r\n <span class=\"value\">{this.handleMark(suggestion, suggestion.value, \"value\")}</span>\r\n {suggestion.type ? (\r\n <span class=\"type\">{this.handleMark(suggestion, suggestion.type, \"type\")}</span>\r\n ) : undefined}\r\n </div>\r\n {suggestion.extras &&\r\n this.getChunkedExtras(suggestion.extras).map((chunk, index) => (\r\n <div class=\"suggestion-row\">\r\n {chunk.map((c, i) => (\r\n <span class=\"extra\">{this.handleMark(suggestion, c, \"extra\", index * 2 + i)}</span>\r\n ))}\r\n </div>\r\n ))}\r\n </li>\r\n ))) ||\r\n (this.notFound && (\r\n <li>\r\n <span class=\"value\">\r\n {!this.notFoundLabel ? (\r\n this.showInputValueNotFound(`${this.inputValue} is niet gevonden.`)\r\n ) : (\r\n <span>{this.notFoundLabel}</span>\r\n )}\r\n </span>\r\n </li>\r\n ))}\r\n </ul>\r\n )}\r\n </>\r\n );\r\n }\r\n}\r\n"]}
1
+ {"version":3,"file":"autosuggest.js","sourceRoot":"","sources":["../../../../src/components/autosuggest/autosuggest.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,KAAK,EAAgB,QAAQ,EAAE,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,KAAK,EAAS,KAAK,EAAE,MAAM,eAAe,CAAC;AACxH,OAAO,QAAQ,MAAM,UAAU,CAAC;AAChC,OAAO,EAAE,EAAE,EAAE,MAAM,MAAM,CAAC;AAC1B,OAAO,kBAAkB,MAAM,sBAAsB,CAAC;AAItD,MAAM,sBAAsB,GAAG,EAAE,CAAC;AAClC,MAAM,mBAAmB,GAAG,CAAC,CAAC;AAC9B,MAAM,kBAAkB,GAAG,CAAC,CAAC;AAO7B,MAAM,OAAO,WAAW;;QA2Gd,iBAAY,GAAoB,EAAE,CAAC;QAEnC,cAAS,GAAW,EAAE,EAAE,CAAC;QAEzB,YAAO,GAAW,EAAE,EAA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KAAK,EAAC,gBAAgB,IACxB,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CACnB,YAAM,KAAK,EAAC,OAAO,IAAE,IAAI,CAAC,UAAU,CAAC,UAAU,EAAE,CAAC,EAAE,OAAO,EAAE,KAAK,GAAG,CAAC,GAAG,CAAC,CAAC,CAAQ,CACpF,CAAC,CACE,CACP,CAAC,CACD,CACN,CAAC,CAAC;oBACH,CAAC,IAAI,CAAC,QAAQ,IAAI,CAChB;wBACE,YAAM,KAAK,EAAC,OAAO,IAChB,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,CACrB,IAAI,CAAC,sBAAsB,CAAC,GAAG,IAAI,CAAC,UAAU,oBAAoB,CAAC,CACpE,CAAC,CAAC,CAAC,CACF,gBAAO,IAAI,CAAC,aAAa,CAAQ,CAClC,CACI,CACJ,CACN,CAAC,CACD,CACU,CAClB,CACA,CACJ,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Element, Event, EventEmitter, Fragment, h, Listen, Prop, State, VNode, Watch } from \"@stencil/core\";\r\nimport debounce from \"debounce\";\r\nimport { v4 } from \"uuid\";\r\nimport escapeStringRegexp from \"escape-string-regexp\";\r\n\r\nimport { AutosuggestMarkFunction, AutosuggestMarkItem, Suggestion } from \"./autosuggest.interfaces\";\r\n\r\nconst maxSuggestionsViewable = 10;\r\nconst listboxPaddingBlock = 8;\r\nconst listboxBorderWidth = 1;\r\n\r\n@Component({\r\n tag: \"dso-autosuggest\",\r\n styleUrl: \"autosuggest.scss\",\r\n scoped: true,\r\n})\r\nexport class Autosuggest {\r\n /**\r\n * The suggestions for the value of the slotted input element. Optionally a\r\n * Suggestion can have a `type` and `item`.\r\n *\r\n * The `type` is used to style the suggestion. `item` can be use to reference\r\n * the original object that was used to create the suggestion.\r\n *\r\n * The value should be null when no suggestions have been fetched.\r\n */\r\n @Prop()\r\n readonly suggestions: Suggestion[] | null = null;\r\n\r\n /**\r\n * Shows progress indicator when fetching results.\r\n */\r\n @Prop()\r\n loading = false;\r\n\r\n /**\r\n * To override progress indicator's default loading label.\r\n */\r\n @Prop()\r\n loadingLabel?: string = \"Een moment geduld.\";\r\n\r\n /**\r\n * To delay progress indicator showing (in ms).\r\n */\r\n @Prop()\r\n loadingDelayed?: number;\r\n\r\n /**\r\n * To show text when no results are found.\r\n */\r\n @Prop()\r\n notFoundLabel?: string;\r\n\r\n /**\r\n * Whether the previous suggestions will be presented when the input gets focus again.\r\n */\r\n @Prop()\r\n suggestOnFocus = false;\r\n\r\n /**\r\n * A function provided by the consumer of the autosuggest component, that returns an array of `AutosuggestMarkItem`s\r\n */\r\n @Prop()\r\n mark?: AutosuggestMarkFunction;\r\n\r\n /**\r\n * Emitted when a suggestion is selected.\r\n * The `detail` property of the `CustomEvent` will contain the selected suggestion.\r\n */\r\n @Event()\r\n dsoSelect!: EventEmitter<Suggestion>;\r\n\r\n /**\r\n * This is emitted debounced for every change for the slotted input type=text element.\r\n */\r\n @Event()\r\n dsoChange!: EventEmitter<string>;\r\n\r\n /**\r\n * Emitted when enter is pressed.\r\n * The `detail` property of the `CustomEvent` will contain the input text.\r\n */\r\n @Event()\r\n dsoSearch!: EventEmitter<string>;\r\n\r\n @Element()\r\n host!: HTMLDsoAutosuggestElement;\r\n\r\n @State()\r\n showSuggestions = false;\r\n\r\n @State()\r\n selectedSuggestion: Suggestion | undefined;\r\n\r\n @State()\r\n notFound = false;\r\n\r\n @State()\r\n showLoading = false;\r\n\r\n @State()\r\n listItemBlockSize = 0;\r\n\r\n @State()\r\n listboxContainerMaxBlockSize = 0;\r\n\r\n @Watch(\"suggestions\")\r\n suggestionsWatcher() {\r\n this.resetSelectedSuggestion();\r\n\r\n if ((!this.showSuggestions || !this.notFound) && this.inputValue) {\r\n this.openSuggestions();\r\n } else if ((this.showSuggestions || this.notFound) && !this.inputValue) {\r\n this.closeSuggestions();\r\n }\r\n }\r\n\r\n private input?: HTMLInputElement;\r\n\r\n private listboxContainer: HTMLDsoScrollableElement | undefined;\r\n\r\n private listbox: HTMLUListElement | undefined;\r\n\r\n private listboxItems: HTMLLIElement[] = [];\r\n\r\n private listboxId: string = v4();\r\n\r\n private inputId: string = v4();\r\n\r\n private labelId: string = v4();\r\n\r\n private resizeObserver = new ResizeObserver(debounce(() => this.setListboxContainerMaxBlockSize(), 150));\r\n\r\n private debouncedEmitValue = debounce((value: string) => {\r\n this.dsoChange.emit(value);\r\n this.debouncedShowLoading();\r\n }, 200);\r\n\r\n private debouncedShowLoading = debounce(() => {\r\n if (this.inputValue) {\r\n this.showLoading = true;\r\n }\r\n }, this.loadingDelayed);\r\n\r\n private inputValue = \"\";\r\n\r\n private onInput = (event: Event) => {\r\n if (!(event.target instanceof HTMLInputElement)) {\r\n return;\r\n // throw new Error(\"event.target is not instanceof HTMLInputElement\"); #2293\r\n }\r\n\r\n this.showLoading = !this.loadingDelayed;\r\n this.inputValue = event.target.value;\r\n this.debouncedEmitValue(event.target.value.match(/(\\S+)/g) ? event.target.value : \"\");\r\n };\r\n\r\n private onFocusIn = () => {\r\n if (this.suggestOnFocus) {\r\n this.openSuggestions();\r\n }\r\n };\r\n\r\n @Listen(\"click\", { target: \"document\" })\r\n onDocumentClick(event: MouseEvent) {\r\n if (\r\n (this.showSuggestions || this.notFound) &&\r\n this.listbox &&\r\n event.target instanceof Node &&\r\n !this.listbox.contains(event.target) &&\r\n this.input !== event.target\r\n ) {\r\n this.closeSuggestions();\r\n }\r\n }\r\n\r\n componentDidRender() {\r\n this.setListboxContainerMaxBlockSize();\r\n }\r\n\r\n connectedCallback() {\r\n setTimeout(() => {\r\n const input = this.host.querySelector('input[type=\"text\"]');\r\n if (!(input instanceof HTMLInputElement)) {\r\n return;\r\n // throw new ReferenceError(\"Mandatory text input not found\"); #2293\r\n }\r\n\r\n this.input = input;\r\n if (input.id) {\r\n this.inputId = input.id;\r\n } else {\r\n input.id = this.inputId;\r\n }\r\n\r\n if (!this.input.labels || this.input.labels.length < 1) {\r\n return;\r\n // throw new ReferenceError(\"Mandatory label for text input not found\"); #2293\r\n }\r\n\r\n const label = this.input.labels[0];\r\n if (label?.id) {\r\n this.labelId = label.id;\r\n } else if (label) {\r\n label.id = this.labelId;\r\n }\r\n\r\n this.input.setAttribute(\"role\", \"combobox\");\r\n this.input.setAttribute(\"aria-haspopup\", \"listbox\");\r\n this.input.setAttribute(\"aria-controls\", this.listboxId);\r\n this.input.setAttribute(\"aria-expanded\", \"false\");\r\n this.input.setAttribute(\"autocomplete\", \"off\");\r\n this.input.setAttribute(\"aria-autocomplete\", \"list\");\r\n this.input.setAttribute(\"aria-activedescendant\", \"\");\r\n this.input.addEventListener(\"input\", this.onInput);\r\n this.input.addEventListener(\"keydown\", this.onKeyDown);\r\n this.input.addEventListener(\"focusin\", this.onFocusIn);\r\n\r\n window.addEventListener(\"resize\", this.onWindowResize);\r\n\r\n document.addEventListener(\"scrollend\", this.onScrollend);\r\n\r\n this.resizeObserver.observe(this.host);\r\n\r\n this.setListboxContainerMaxBlockSize();\r\n });\r\n }\r\n\r\n disconnectedCallback() {\r\n this.input?.removeEventListener(\"input\", this.onInput);\r\n this.input?.removeEventListener(\"keydown\", this.onKeyDown);\r\n this.input?.removeEventListener(\"focusin\", this.onFocusIn);\r\n\r\n window.removeEventListener(\"resize\", this.onWindowResize);\r\n\r\n document.removeEventListener(\"scrollend\", this.onScrollend);\r\n\r\n this.resizeObserver.disconnect();\r\n }\r\n\r\n private onWindowResize = debounce(() => this.setListboxContainerMaxBlockSize(), 150);\r\n\r\n private onScrollend = () => this.setListboxContainerMaxBlockSize();\r\n\r\n private setListboxContainerMaxBlockSize(): void {\r\n if (!this.listboxContainer || !this.showSuggestions) {\r\n return;\r\n }\r\n\r\n if (this.listboxItems[0] && this.showSuggestions) {\r\n this.listItemBlockSize = this.listboxItems[0].getBoundingClientRect().height;\r\n }\r\n\r\n const availableBlockSize = window.innerHeight - this.host.getBoundingClientRect().bottom;\r\n const listboxMaxBlockSize =\r\n this.listItemBlockSize * maxSuggestionsViewable + 2 * listboxPaddingBlock + 2 * listboxBorderWidth;\r\n\r\n if (availableBlockSize > this.listItemBlockSize) {\r\n if (availableBlockSize < listboxMaxBlockSize) {\r\n this.listboxContainerMaxBlockSize = availableBlockSize - 2 * listboxPaddingBlock;\r\n } else {\r\n this.listboxContainerMaxBlockSize = listboxMaxBlockSize;\r\n }\r\n }\r\n }\r\n\r\n private showInputValueNotFound(text: string) {\r\n return this.processAutosuggestMarkItems(this.markTerms(text, this.input?.value.split(\" \").filter((t) => t) ?? []));\r\n }\r\n\r\n private handleMark(\r\n suggestion: Suggestion,\r\n text: string,\r\n type?: \"value\" | \"type\" | \"extra\",\r\n extraIndex?: number,\r\n ): (VNode | string)[] {\r\n if (this.mark && type) {\r\n return this.processAutosuggestMarkItems(this.mark(suggestion, text, type, extraIndex));\r\n }\r\n return this.processAutosuggestMarkItems(this.markTerms(text, this.input?.value.split(\" \").filter((t) => t) ?? []));\r\n }\r\n\r\n private markTerms(suggestionValue: string, terms: string[]): AutosuggestMarkItem[] {\r\n if (!suggestionValue || !terms || terms.length === 0 || terms[0] === undefined) {\r\n return [\"\"];\r\n }\r\n\r\n const termRegex = new RegExp(`(${escapeStringRegexp(terms[0])})`, \"gi\");\r\n\r\n return suggestionValue.split(termRegex).reduce((total: AutosuggestMarkItem[], valuePart: string) => {\r\n if (!valuePart) {\r\n total.push(valuePart);\r\n } else if (termRegex.test(valuePart)) {\r\n total.push({ mark: valuePart });\r\n } else if (terms.length === 1) {\r\n total.push(valuePart);\r\n } else {\r\n total.push(...this.markTerms(valuePart, terms.slice(1)));\r\n }\r\n\r\n return total;\r\n }, []);\r\n }\r\n\r\n private processAutosuggestMarkItems(items: AutosuggestMarkItem[]): (VNode | string)[] {\r\n if (items.length === 0) {\r\n return [\"\"];\r\n }\r\n\r\n return items.map((item) => {\r\n if (typeof item === \"object\") {\r\n return <mark>{item.mark}</mark>;\r\n }\r\n return item;\r\n });\r\n }\r\n\r\n private selectSuggestion(suggestion: Suggestion) {\r\n this.selectedSuggestion = suggestion;\r\n\r\n this.setAriaActiveDescendant();\r\n }\r\n\r\n private selectFirstSuggestion() {\r\n if (!this.suggestions) {\r\n return;\r\n }\r\n\r\n this.selectedSuggestion = this.suggestions[0];\r\n\r\n this.setAriaActiveDescendant(true);\r\n }\r\n\r\n private selectLastSuggestion() {\r\n if (!this.suggestions) {\r\n return;\r\n }\r\n\r\n this.selectedSuggestion = this.suggestions[this.suggestions.length - 1];\r\n\r\n this.setAriaActiveDescendant(true);\r\n }\r\n\r\n private selectNextSuggestion() {\r\n if (!this.suggestions) {\r\n return;\r\n }\r\n\r\n const index = this.selectedSuggestion ? this.suggestions.indexOf(this.selectedSuggestion) : -1;\r\n\r\n this.selectedSuggestion = this.suggestions[index + 1] ?? this.suggestions[0];\r\n\r\n this.setAriaActiveDescendant(true);\r\n }\r\n\r\n private selectPreviousSuggestion() {\r\n if (!this.suggestions) {\r\n return;\r\n }\r\n\r\n const index = this.selectedSuggestion ? this.suggestions.indexOf(this.selectedSuggestion) : 0;\r\n\r\n this.selectedSuggestion = this.suggestions[index - 1] ?? this.suggestions[this.suggestions.length - 1];\r\n\r\n this.setAriaActiveDescendant(true);\r\n }\r\n\r\n private setAriaActiveDescendant(scroll = false): void {\r\n if (this.selectedSuggestion) {\r\n const id = this.listboxItemId(this.selectedSuggestion);\r\n this.input?.setAttribute(\"aria-activedescendant\", id);\r\n if (scroll) {\r\n document.getElementById(id)?.scrollIntoView({ block: \"nearest\" });\r\n }\r\n }\r\n }\r\n\r\n private resetSelectedSuggestion() {\r\n this.showLoading = !this.loadingDelayed;\r\n this.notFound = false;\r\n this.selectedSuggestion = undefined;\r\n this.input?.setAttribute(\"aria-activedescendant\", \"\");\r\n }\r\n\r\n private openSuggestions(selectSuggestion?: \"first\" | \"last\") {\r\n this.showSuggestions = (this.suggestions && this.suggestions.length > 0) ?? false;\r\n this.notFound = this.suggestions?.length === 0 ?? false;\r\n this.input?.setAttribute(\"aria-expanded\", (this.showSuggestions || this.notFound).toString());\r\n\r\n if (this.showSuggestions && selectSuggestion === \"first\") {\r\n this.selectFirstSuggestion();\r\n } else if (this.showSuggestions && selectSuggestion === \"last\") {\r\n this.selectLastSuggestion();\r\n }\r\n }\r\n\r\n private closeSuggestions() {\r\n this.showSuggestions = false;\r\n this.notFound = false;\r\n this.input?.setAttribute(\"aria-expanded\", \"false\");\r\n this.selectFirstSuggestion();\r\n }\r\n\r\n private pickSelectedValue() {\r\n if (this.selectedSuggestion && this.showSuggestions) {\r\n this.dsoSelect.emit(this.selectedSuggestion);\r\n } else {\r\n this.dsoSearch.emit(this.input?.value);\r\n }\r\n\r\n this.closeSuggestions();\r\n }\r\n\r\n private onKeyDown = (event: KeyboardEvent) => {\r\n if (event.defaultPrevented || this.loading) {\r\n return;\r\n }\r\n\r\n switch (event.key) {\r\n case \"ArrowDown\":\r\n if (!this.showSuggestions) {\r\n this.openSuggestions(\"first\");\r\n } else {\r\n this.selectNextSuggestion();\r\n }\r\n\r\n break;\r\n\r\n case \"ArrowUp\":\r\n if (!this.showSuggestions) {\r\n this.openSuggestions(\"last\");\r\n } else {\r\n this.selectPreviousSuggestion();\r\n }\r\n\r\n break;\r\n\r\n case \"Tab\":\r\n this.closeSuggestions();\r\n return;\r\n\r\n case \"Escape\":\r\n this.closeSuggestions();\r\n break;\r\n\r\n case \"Enter\":\r\n this.pickSelectedValue();\r\n break;\r\n\r\n default:\r\n return;\r\n }\r\n\r\n event.preventDefault();\r\n };\r\n\r\n private listboxItemId(suggestion: Suggestion): string {\r\n if (!this.suggestions) {\r\n return \"\";\r\n }\r\n return `${this.inputId}-${this.suggestions.indexOf(suggestion) + 1}`;\r\n }\r\n\r\n private getChunkedExtras(extras: string[]): string[][] {\r\n return extras.reduce((resultArray: string[][], extra, index) => {\r\n const chunkIndex = Math.floor(index / 2);\r\n\r\n if (!resultArray[chunkIndex]) {\r\n resultArray[chunkIndex] = [];\r\n }\r\n resultArray[chunkIndex]?.push(extra);\r\n return resultArray;\r\n }, []);\r\n }\r\n\r\n render() {\r\n this.listboxItems = [];\r\n\r\n return (\r\n <>\r\n <slot />\r\n {this.loading && this.showLoading ? (\r\n <div class=\"autosuggest-progress-box\">\r\n <dso-progress-indicator label={this.loadingLabel}></dso-progress-indicator>\r\n </div>\r\n ) : (\r\n <dso-scrollable\r\n class=\"listbox-container\"\r\n ref={(element) => (this.listboxContainer = element)}\r\n style={{ \"--max-block-size\": `${this.listboxContainerMaxBlockSize}px` }}\r\n >\r\n <ul\r\n role=\"listbox\"\r\n aria-live=\"polite\"\r\n id={this.listboxId}\r\n aria-labelledby={this.labelId}\r\n ref={(element) => (this.listbox = element)}\r\n hidden={!this.showSuggestions && !this.notFound}\r\n >\r\n {(this.showSuggestions &&\r\n this.suggestions &&\r\n this.suggestions.map((suggestion) => (\r\n <li\r\n role=\"option\"\r\n id={this.listboxItemId(suggestion)}\r\n key={suggestion.value}\r\n onMouseEnter={() => this.selectSuggestion(suggestion)}\r\n onMouseLeave={() => this.resetSelectedSuggestion()}\r\n onClick={() => this.pickSelectedValue()}\r\n aria-selected={(suggestion === this.selectedSuggestion).toString()}\r\n aria-label={suggestion.value}\r\n ref={(li) => li && this.listboxItems.push(li)}\r\n >\r\n <div class=\"suggestion-row\">\r\n <span class=\"value\">{this.handleMark(suggestion, suggestion.value, \"value\")}</span>\r\n {suggestion.type ? (\r\n <span class=\"type\">{this.handleMark(suggestion, suggestion.type, \"type\")}</span>\r\n ) : undefined}\r\n </div>\r\n {suggestion.extras &&\r\n this.getChunkedExtras(suggestion.extras).map((chunk, index) => (\r\n <div class=\"suggestion-row\">\r\n {chunk.map((c, i) => (\r\n <span class=\"extra\">{this.handleMark(suggestion, c, \"extra\", index * 2 + i)}</span>\r\n ))}\r\n </div>\r\n ))}\r\n </li>\r\n ))) ||\r\n (this.notFound && (\r\n <li>\r\n <span class=\"value\">\r\n {!this.notFoundLabel ? (\r\n this.showInputValueNotFound(`${this.inputValue} is niet gevonden.`)\r\n ) : (\r\n <span>{this.notFoundLabel}</span>\r\n )}\r\n </span>\r\n </li>\r\n ))}\r\n </ul>\r\n </dso-scrollable>\r\n )}\r\n </>\r\n );\r\n }\r\n}\r\n"]}
@@ -5,7 +5,7 @@ export class Badge {
5
5
  this.status = undefined;
6
6
  }
7
7
  render() {
8
- return (h("span", { key: '2bb9ba75d3f55a887f805727189592504c5e17bd', class: clsx("dso-badge", { [`badge-${this.status}`]: this.status }) }, h("slot", { key: '6242b1b45ca07ef5789fb5f9fde005448235ea4a' })));
8
+ return (h("span", { key: '86bf6774feeac5d0bb55a6bbf9657e573c71e448', class: clsx("dso-badge", { [`badge-${this.status}`]: this.status }) }, h("slot", { key: 'fd3ee9530520cd05144a6039c25567ecf890d270' })));
9
9
  }
10
10
  static get is() { return "dso-badge"; }
11
11
  static get encapsulation() { return "shadow"; }
@@ -7,9 +7,9 @@ export class Banner {
7
7
  this.noIcon = true;
8
8
  }
9
9
  render() {
10
- return (h("section", { key: '4c3db4e3d1cb2b0de13dc2d7fd562b591102a1d4', class: clsx("dso-banner", `alert-${this.status}`, {
10
+ return (h("section", { key: '544f7c34467bed92b057c17e7349a7571f3bf207', class: clsx("dso-banner", `alert-${this.status}`, {
11
11
  "dso-compact": this.compact,
12
- }), role: "alert" }, h("slot", { key: '7a6dc8d1e60f63a28fbd5762b37e1e6744ee0ea6' })));
12
+ }), role: "alert" }, h("slot", { key: '8ffba655bc2391bea07fec89d70ddfb2666e843e' })));
13
13
  }
14
14
  static get is() { return "dso-banner"; }
15
15
  static get encapsulation() { return "shadow"; }
@@ -50,9 +50,9 @@ export class Card {
50
50
  render() {
51
51
  const isSelectable = this.selectableSlottedElement !== null;
52
52
  const hasImage = this.imageSlottedElement !== null;
53
- return (h(Host, { key: '16df08d7deb23d44de3919a212da749eb24b2aa3', onClick: (e) => this.clickEventHandler(e), "is-selectable": isSelectable, "has-image": hasImage }, h("div", { key: '06f68ba992964e076cc91b1008b3d90654660eb8', class: "dso-card-selectable", hidden: !isSelectable }, h("slot", { key: 'fdf924e13b4be544bd96999592a2d9c1fca43b93', name: "selectable" })), h("div", { key: '4e788d7258092d3c8b648502fa215a0286454cef', class: "dso-card-image", hidden: !hasImage }, h("slot", { key: '48f5c3ccfcc61d72a33a4f3b596cea0f766a328d', name: "image" })), h("div", { key: 'c2baf8f68141776219211d78c610312b4979b5f6', class: "dso-card-heading" }, this.headingSlottedElement instanceof HTMLAnchorElement || !this.href ? (h("slot", { name: "heading" })) : (((!this.mode || !["download", "extern"].includes(this.mode)) && (h("a", { href: this.href, class: "heading-anchor" }, h("slot", { name: "heading" }), h("dso-icon", { icon: "chevron-right" })))) ||
53
+ return (h(Host, { key: 'aa243fc06e00c3f93ec6f75e516a4f3c16dd6681', onClick: (e) => this.clickEventHandler(e), "is-selectable": isSelectable, "has-image": hasImage }, h("div", { key: 'b9e52fb2a05cf2af58507b9d9ece0865788bb404', class: "dso-card-selectable", hidden: !isSelectable }, h("slot", { key: 'ce472bb5847d4ef27ec223f4906575b928676908', name: "selectable" })), h("div", { key: '7c07d63522fe54adba3f1c1d03db4c6fd59a6535', class: "dso-card-image", hidden: !hasImage }, h("slot", { key: '717f5ea5872fb1c31330e97b66860d35e8e30e11', name: "image" })), h("div", { key: 'c714b7696b615fa3f1ca6993abc9fcc1ce9a133f', class: "dso-card-heading" }, this.headingSlottedElement instanceof HTMLAnchorElement || !this.href ? (h("slot", { name: "heading" })) : (((!this.mode || !["download", "extern"].includes(this.mode)) && (h("a", { href: this.href, class: "heading-anchor" }, h("slot", { name: "heading" }), h("dso-icon", { icon: "chevron-right" })))) ||
54
54
  (this.mode === "extern" && (h("a", { href: this.href, class: "heading-anchor", target: "_blank", rel: "noopener noreferrer" }, h("slot", { name: "heading" }), h("dso-icon", { icon: "external-link" }), h("span", { class: "sr-only" }, "(Opent andere website in nieuw tabblad)")))) ||
55
- (this.mode === "download" && (h("a", { href: this.href, class: "heading-anchor" }, h("slot", { name: "heading" }), h("dso-icon", { icon: "download" }))))), this.interactionsSlottedElement !== null && h("slot", { key: 'd6885f759a3ac7e44dd44aa5e3a0107dde02a640', name: "interactions" })), h("div", { key: '61dc016e0ac2a82da7555e3c3df8f61104e37c49', class: "dso-card-content" }, h("slot", { key: 'abe3a8a00a3744f456b65fb4d8c6f7be026a68be', name: "content" }))));
55
+ (this.mode === "download" && (h("a", { href: this.href, class: "heading-anchor" }, h("slot", { name: "heading" }), h("dso-icon", { icon: "download" }))))), this.interactionsSlottedElement !== null && h("slot", { key: '5bbd2a3dcb14103ee26ddd3a701c75194e46cb34', name: "interactions" })), h("div", { key: '29cd3bb581a11a53f1790a92d5cff9a39b933873', class: "dso-card-content" }, h("slot", { key: '925b422a88d02f47e3f568ae28c7dd5ec10d63e6', name: "content" }))));
56
56
  }
57
57
  static get is() { return "dso-card"; }
58
58
  static get encapsulation() { return "shadow"; }
@@ -4,7 +4,7 @@ export class CardContainer {
4
4
  this.mode = "list";
5
5
  }
6
6
  render() {
7
- return (h(Fragment, null, this.mode === "list" && (h("ul", { key: '6dc72f5395a0cdcb8fd11a2882ae94d946d14f06', class: "dso-card-list" }, h("slot", { key: 'e2c5ab66a35ae0db798bec1e62e382c5be4c8ff7' }))), this.mode === "grid" && (h("div", { key: '4a6d756341eaf9f3d79f1ee07bf09831669bfaa8', class: "dso-card-grid" }, h("slot", { key: '676e0db13a13bfaad87a0d5894038539c43e09c8' })))));
7
+ return (h(Fragment, null, this.mode === "list" && (h("ul", { key: '274f28d7b6fb8b9c0d35d48fbb3badcce3db6a77', class: "dso-card-list" }, h("slot", { key: '8cc91f5bafb570671f0f305804d71bf386420e5d' }))), this.mode === "grid" && (h("div", { key: '7fb30a76aba0d22cf2c474ba0a54d5985efd4519', class: "dso-card-grid" }, h("slot", { key: '3f208ae84706f29c469f31effd0d7649be5aa543' })))));
8
8
  }
9
9
  static get is() { return "dso-card-container"; }
10
10
  static get encapsulation() { return "shadow"; }
@@ -95,7 +95,7 @@ export class DsoDatePicker {
95
95
  }
96
96
  render() {
97
97
  var _a;
98
- return (h("input", { key: '362ca534eec500da8a2a736a93e96fc7437e72bf', 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 }));
98
+ return (h("input", { key: 'f2fe8194c48bed2392736327c79db4420da4b14a', 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 }));
99
99
  }
100
100
  static get is() { return "dso-date-picker"; }
101
101
  static get encapsulation() { return "scoped"; }
@@ -419,14 +419,14 @@ export class DsoDatePickerLegacy {
419
419
  if (maxDate) {
420
420
  maxYear = Math.min(maxYear, maxDate.getFullYear());
421
421
  }
422
- return (h(Host, { key: 'b3d2e7c01f27e48d26ca81c369d05a45e094c832' }, h("div", { key: 'adcc83d03b59da99459daad8d196100519ae8598', class: { "dso-date": true, "dso-visible": this.visible } }, h("div", { key: '3c8e690cd886af5c9c45f93696b9ebeb376c7035', class: "dso-date__input-wrapper" }, h("input", { key: '7035facb84ae39d5539d05e055f7a5faee73c012', 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) }), h("button", { key: 'b2edba4d4c5743db852290e753b52d77ef123950', type: "button", class: "dso-date__toggle", onClick: this.toggleOpen, disabled: this.disabled, ref: (element) => (this.datePickerLegacyButton = element) }, h("span", { key: '8670a2db8ed7523ac5eb3d1a58235e5a0cc8289f', class: "dso-date__toggle-icon" }, h("dso-icon", { key: 'f7212888038a682fe74e8f8e6e84221a49f4cb28', icon: "calendar" })), h("span", { key: 'bd9b68a6957d97c0c16159a2a08a348463ca12b5', class: "dso-date__vhidden" }, this.localization.buttonLabel, formattedDate && (h("span", { key: '1f77a53aad38689238da7195247f0c3bbfc2b0d6' }, ", ", this.localization.selectedDateMessage, " ", formattedDate))))), h("div", { key: 'a52db3244f796435c39553e7b94fd3dfa48e1935', class: {
422
+ return (h(Host, { key: 'bd45a450559cde32c9fce77d7996efda0d3628cf' }, h("div", { key: '37ed94d8c7dd2897e6c1e4864b987bf54e1d6f46', class: { "dso-date": true, "dso-visible": this.visible } }, h("div", { key: 'be724e6c87603154090a79d8b4b82af81825c92f', class: "dso-date__input-wrapper" }, h("input", { key: '916104bf00c328759d3e187da42590dd1da0f191', 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) }), h("button", { key: '67e1ade9d1a5e77c4b8fb6cbbbd2e60167fd4b56', type: "button", class: "dso-date__toggle", onClick: this.toggleOpen, disabled: this.disabled, ref: (element) => (this.datePickerLegacyButton = element) }, h("span", { key: '3b04dfb08f11d2af4574691d6c7f78712e1618f3', class: "dso-date__toggle-icon" }, h("dso-icon", { key: 'b74e8e95543de74cccd20d7b664bc94f80647a22', icon: "calendar" })), h("span", { key: 'bc6451497fb2ead77da282ea8a4d2e8015d1d435', class: "dso-date__vhidden" }, this.localization.buttonLabel, formattedDate && (h("span", { key: '4a1a282f61aafe19b5e046af1aaadb5029bd8c64' }, ", ", this.localization.selectedDateMessage, " ", formattedDate))))), h("div", { key: 'f311dd98c1f9f453c66d9f8d8d37ed76827e1ef8', class: {
423
423
  "dso-date__dialog": true,
424
424
  "is-left": this.direction === "left",
425
425
  "is-active": this.open,
426
- }, role: "dialog", "aria-modal": "true", "aria-hidden": this.open ? "false" : "true", "aria-labelledby": this.dialogLabelId, onTouchMove: this.handleTouchMove, onTouchStart: this.handleTouchStart, onTouchEnd: this.handleTouchEnd }, h("div", { key: '078d2aa2ac865a1d49a2c22c19da137969a3650b', class: "dso-date__dialog-content", onKeyDown: this.handleEscKey }, h("div", { key: '48f76b95bb6a37ea742bcf6bed4c6005eba839a4', class: "dso-date__vhidden dso-date__instructions", "aria-live": "polite" }, this.localization.keyboardInstruction), h("div", { key: 'af746900f6e52f32de832b87a176593e2746cd64', class: "dso-date__mobile", onFocusin: this.disableActiveFocus }, h("label", { key: '6cdc84ecf6372ac9097b8bf5dd643f499691cf61', class: "dso-date__mobile-heading" }, this.localization.calendarHeading), h("button", { key: '05d3293761177ba271c6724b7226ab573962f2d1', class: "dso-date__close", ref: (element) => (this.firstFocusableElement = element), onKeyDown: this.handleFirstFocusableKeydown, onClick: () => this.hide(), type: "button" }, h("dso-icon", { key: '7e5df245b7724e4db5806d5f08638cad0adfb0ef', icon: "times" }), h("span", { key: 'd21e9fb1eff589d88d16ad47e08f220c3d5530dd', class: "dso-date__vhidden" }, this.localization.closeLabel))), h("div", { key: '3d5cb8f2fb76df5de03ffe060a312b79128867a0', class: "dso-date__header", onFocusin: this.disableActiveFocus }, h("div", { key: '559c1774017da99d78f6d11404fa441cbda497d8' }, h("h2", { key: '9e015f5178718c3707c6e28ee9edb51671dacbc4', id: this.dialogLabelId, class: "dso-date__vhidden", "aria-live": "polite" }, this.localization.monthNames[focusedMonth], " ", this.focusedDay.getFullYear()), h("label", { key: '2699da4bbdd56a8508fdc1192318ceb2a2b61600', htmlFor: this.monthSelectId, class: "dso-date__vhidden" }, this.localization.monthSelectLabel), h("div", { key: '8d85382cb79adc212769b43dce0c63e844ac1288', class: "dso-date__select" }, h("select", { key: '7e8f7367d3eea300587b0e6d113a482691fd08fe', id: this.monthSelectId, class: "dso-date__select--month", ref: (element) => (this.monthSelectNode = element), onChange: this.handleMonthSelect }, monthRange(this.localization, selectedYear, minDate, maxDate).map((month) => {
426
+ }, role: "dialog", "aria-modal": "true", "aria-hidden": this.open ? "false" : "true", "aria-labelledby": this.dialogLabelId, onTouchMove: this.handleTouchMove, onTouchStart: this.handleTouchStart, onTouchEnd: this.handleTouchEnd }, h("div", { key: '2a9717a7de164e80557ae31ebe85f57ad83c273e', class: "dso-date__dialog-content", onKeyDown: this.handleEscKey }, h("div", { key: '05aebb2d40c5df0c3aee91678624c16522a49875', class: "dso-date__vhidden dso-date__instructions", "aria-live": "polite" }, this.localization.keyboardInstruction), h("div", { key: 'd5f1eb761cc9619319bd585255b5dc136ebbd4f7', class: "dso-date__mobile", onFocusin: this.disableActiveFocus }, h("label", { key: '7d6c0c8f5df3420e1f5f4082dff4d885a12739c2', class: "dso-date__mobile-heading" }, this.localization.calendarHeading), h("button", { key: 'b0713eab9d8bea21a83f34050e00ab33ff517dfd', class: "dso-date__close", ref: (element) => (this.firstFocusableElement = element), onKeyDown: this.handleFirstFocusableKeydown, onClick: () => this.hide(), type: "button" }, h("dso-icon", { key: '96285bc4d5dc3c236a0775ae89f5d8d170b30df6', icon: "times" }), h("span", { key: 'e7224bd3445123610a1505f28ad0eda52e4579cf', class: "dso-date__vhidden" }, this.localization.closeLabel))), h("div", { key: '038e057a356a9348e6ac1622da6eb06c8cffe8a3', class: "dso-date__header", onFocusin: this.disableActiveFocus }, h("div", { key: 'ab60bd0dabaa748eb1156aaa1a8f9d6f14acabfd' }, h("h2", { key: 'ec61251ead3f2da8313ef6152e4d391cad3107de', id: this.dialogLabelId, class: "dso-date__vhidden", "aria-live": "polite" }, this.localization.monthNames[focusedMonth], " ", this.focusedDay.getFullYear()), h("label", { key: '9257ef291253ceeabd91d43767b8b5bac199cf9c', htmlFor: this.monthSelectId, class: "dso-date__vhidden" }, this.localization.monthSelectLabel), h("div", { key: '4146ccdd8adf69fc5a5e363ac861737572f2cb24', class: "dso-date__select" }, h("select", { key: 'aee34d205c9b151c5ecf64c95a7612608f83d56d', id: this.monthSelectId, class: "dso-date__select--month", ref: (element) => (this.monthSelectNode = element), onChange: this.handleMonthSelect }, monthRange(this.localization, selectedYear, minDate, maxDate).map((month) => {
427
427
  const index = this.localization.monthNames.indexOf(month);
428
428
  return (h("option", { key: month, value: index, selected: index === focusedMonth }, month));
429
- })), h("div", { key: '3aec4bfa9aed416549469c774ca7990334986abb', class: "dso-date__select-label", "aria-hidden": "true" }, h("span", { key: '654fbd89bd61af259af4a4f798f55f450efd8c91' }, this.localization.monthNamesShort[focusedMonth]), h("dso-icon", { key: '8d11e6d7391bed1065c9b2c0ee44f1f6dc0bed73', icon: "chevron-down" }))), h("label", { key: 'c78b8385eda7cfcc2695f0282382ac5aad249f77', htmlFor: this.yearSelectId, class: "dso-date__vhidden" }, this.localization.yearSelectLabel), h("div", { key: '63b47ea8b8ca5a74ed874f4f9ed733174bb48370', class: "dso-date__select" }, h("select", { key: '591e66e848ec4fae139fdccacc8528dec6170de1', id: this.yearSelectId, class: "dso-date__select--year", onChange: this.handleYearSelect }, range(minYear, maxYear).map((year) => (h("option", { key: year, selected: year === focusedYear }, year)))), h("div", { key: 'f977ee13bda31f9ac716f43fa5eb8ec06296d2e9', class: "dso-date__select-label", "aria-hidden": "true" }, h("span", { key: 'e3ecb3b26f76beffb16bf90a2c261e50511ba396' }, this.focusedDay.getFullYear()), h("dso-icon", { key: 'd58cbe75109f9590e037bd215f549b85c32d0c80', icon: "chevron-down" })))), h("div", { key: '5480551f8f0f4a61ea6e74bde86063eb581272d1', class: "dso-date__nav" }, h("button", { key: '8283614fe659f5ac42aaaaaf519aeeaa8285779b', class: "dso-date__prev", onClick: this.handlePreviousMonthClick, disabled: prevMonthDisabled, type: "button" }, h("dso-icon", { key: '4f34550c65c77e1b51ba1c6a8ae8761641f07df5', icon: "chevron-left" }), h("span", { key: 'd7a6cb5244d940146bcc9dd805f98ad5f3f598d8', class: "dso-date__vhidden" }, this.localization.prevMonthLabel)), h("button", { key: '087cc800c8f71573085cb286573a577170ff6fda', class: "dso-date__next", onClick: this.handleNextMonthClick, disabled: nextMonthDisabled, type: "button" }, h("dso-icon", { key: '1d475a20f501a7b6584441df913b331aa511ce1e', icon: "chevron-right" }), h("span", { key: 'f30e4ee5c60cd16202295988021181ddaa61dd99', class: "dso-date__vhidden" }, this.localization.nextMonthLabel)))), h(DatePickerLegacyMonth, { key: '83bdd8b89200fd9efccf36cd84830d24341eb525', 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 }))))));
429
+ })), h("div", { key: '0e3bb9e11abb2befa3f8d8fe9fdbef1a882fb572', class: "dso-date__select-label", "aria-hidden": "true" }, h("span", { key: 'a99e4edb857825e983defd70faa488fbb63e7d5d' }, this.localization.monthNamesShort[focusedMonth]), h("dso-icon", { key: '8dee7f423786a3c780c6d13cf95a47e4543d5a70', icon: "chevron-down" }))), h("label", { key: 'd3e756961b5f79283413eb9ccea100df638ffe0d', htmlFor: this.yearSelectId, class: "dso-date__vhidden" }, this.localization.yearSelectLabel), h("div", { key: '559919bc0bc74966743cf43421282cfc4982eb11', class: "dso-date__select" }, h("select", { key: '935763d554bf2b3b317ee68dd658a2d66fd1682b', id: this.yearSelectId, class: "dso-date__select--year", onChange: this.handleYearSelect }, range(minYear, maxYear).map((year) => (h("option", { key: year, selected: year === focusedYear }, year)))), h("div", { key: 'f10faac2bcefe12c699ba01ead2a31e3e72e640c', class: "dso-date__select-label", "aria-hidden": "true" }, h("span", { key: '769212719df55fe4f0cd3f2f59e613de50cbaf28' }, this.focusedDay.getFullYear()), h("dso-icon", { key: '776d3b6f61f44f716a799d97f7d8f79a6ff24472', icon: "chevron-down" })))), h("div", { key: 'e91c90ca602bfbaa80087e0bc6588997ce83bc90', class: "dso-date__nav" }, h("button", { key: '74552a754ca4fbac07745a657cdf7ba75941a0e0', class: "dso-date__prev", onClick: this.handlePreviousMonthClick, disabled: prevMonthDisabled, type: "button" }, h("dso-icon", { key: '87679302c3abd7e21e782d6d8803bfbfbb1b4769', icon: "chevron-left" }), h("span", { key: 'df8e75eeca089cd3857e47417373a4e61c5db7af', class: "dso-date__vhidden" }, this.localization.prevMonthLabel)), h("button", { key: 'b70bf53ab32c11d9bda8081a02b997afa53cc8af', class: "dso-date__next", onClick: this.handleNextMonthClick, disabled: nextMonthDisabled, type: "button" }, h("dso-icon", { key: '4eebf160fff4a8f34fb87e06e6179b55c189dc1e', icon: "chevron-right" }), h("span", { key: '3c7a277b5479974a86c115fe03ee96bc5b784003', class: "dso-date__vhidden" }, this.localization.nextMonthLabel)))), h(DatePickerLegacyMonth, { key: 'ccdd4d209778a9cb46b595599037dec9a6642fe6', 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 }))))));
430
430
  }
431
431
  static get is() { return "dso-date-picker-legacy"; }
432
432
  static get encapsulation() { return "scoped"; }
@@ -235,15 +235,15 @@ label.dso-secondary.download::after {
235
235
  a.dso-secondary:hover,
236
236
  button.dso-secondary:hover,
237
237
  label.dso-secondary:hover {
238
- background-color: #39870c;
238
+ background-color: #d7e7ce;
239
239
  border-color: #39870c;
240
- color: #fff;
240
+ color: #39870c;
241
241
  }
242
242
  a.dso-secondary:active,
243
243
  button.dso-secondary:active,
244
244
  label.dso-secondary:active {
245
- background-color: #275937;
246
- border-color: #275937;
245
+ background-color: #39870c;
246
+ border-color: #39870c;
247
247
  color: #fff;
248
248
  }
249
249
  a.dso-secondary[disabled], a.dso-secondary[disabled]:hover,
@@ -648,7 +648,7 @@ a.dso-secondary, a.dso-secondary:visited {
648
648
  color: #39870c;
649
649
  }
650
650
  a.dso-secondary:hover, a.dso-secondary:visited:hover {
651
- color: #fff;
651
+ color: #39870c;
652
652
  }
653
653
  a.dso-tertiary {
654
654
  text-decoration: none;
@@ -73,7 +73,7 @@ export class DocumentComponent {
73
73
  this.alternativeTitle ||
74
74
  this.bevatOntwerpInformatie ||
75
75
  this.annotated);
76
- return (h(Host, { key: '63102638c909c58603a123183e2489f25e3ad423', "not-collapsible": !collapsible }, showHeading && (h("div", { key: 'ecabb72de6fde2d2908e7d137a31409d1387fdbb', class: "heading-container", part: "_heading-container" }, this.wijzigactie && h("span", { key: '4e2a0529032e98e03a05ccaa9ba56ebc2f5fd91b', class: "editaction-label" }, this.wijzigactieLabel, ":"), h("div", { key: '8cd91b7f3faab4f45709773754b442f51ddded8c', class: "heading" }, h(Heading, { key: 'bac64c70e569a009894b9dc4dbc86e993469bea0', heading: this.heading, class: "heading-element", onClick: this.handleHeadingClick }, collapsible && (h("button", { key: '729401d461291f30fa571d7073e6eed93fdf31c9', type: "button", class: "toggle-button", "aria-describedby": "heading-title", "aria-expanded": this.open.toString() }, h("dso-icon", { key: '517cb743324726da53036f96c025f995c2e6253d', icon: this.open ? "chevron-down" : "chevron-right" }), h("span", { key: 'f4eaee860a64d5a7493a238aa7345e34db039f8b', class: "sr-only" }, this.open ? "Invouwen" : "Uitvouwen"))), h("div", { key: '35196a7d98b3618d9c8aae8844c38609dd1c1855', id: "heading-title" }, this.notApplicable && h("span", { key: '35f3ce86102ff10ba9bea0439b630fcbfca8b568', class: "sr-only" }, "Niet van toepassing:"), this.label || this.nummer || this.opschrift ? (h(Fragment, null, this.label && (h(Fragment, null, " ", 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 && (h(Fragment, null, " ", 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 && (h(Fragment, null, " ", 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 && h("span", { key: '94f7abf9d6e5f7de6fcba59f4525feff00e584eb' }, " - [", suffix, "]"))), this.recursiveToggle !== undefined && this.open && (h("button", { key: 'f4bf9b4462a209e1b91a347b4b972405ec0f4266', type: "button", class: "recursive-toggle", title: this.recursiveToggle === true ? "Verberg alles" : "Toon alles", onClick: this.handleRecursiveToggleClick }, h("dso-icon", { key: 'dc4ad4b147b33eb946de0e09a84b767c0daa9878', icon: this.recursiveToggle === true ? "eye" : "eye-slash" }))), this.genesteOntwerpInformatie && !this.open && !this.bevatOntwerpInformatie && (h(Fragment, null, h("dso-badge", { key: 'd170c7a32f13feac1d6cf5a2dcefacda4761905c', status: "warning", "aria-describedby": "nested-draft-description" }, "!"), h("dso-tooltip", { key: 'c1172b60ca185ea8c3df906c388e2480a886a10a', id: "nested-draft-description" }, "Er is een ontwerp beschikbaar."))), (this.bevatOntwerpInformatie || this.annotated) && (h("div", { key: 'd1f96f8943f3856070abfd423e5e409f28c873c2', class: "addons" }, this.bevatOntwerpInformatie && (h("dso-label", { key: 'd158dc033a2f146a19fc413ca5a85b69a5332d09', status: "warning", compact: true }, "Ontwerp")), this.annotated && (h("dso-annotation-button", { key: 'd3c2048e413e013f70674b1de1c48c5010dd19f1', identifier: "expandable", open: this.openAnnotation, onDsoClick: (e) => this.dsoAnnotationToggle.emit({ originalEvent: e }) }))))))), h("div", { key: '0412d56009861b74d7ece8df02851f7156ca5182', class: "annotation-container", part: "_annotation-container" }, h("slot", { key: 'ef083f232dd643c9728d623ca761834d82d28aa3', name: "annotation" })), this.open && (this.inhoud || this.gereserveerd || this.vervallen) && (h("div", { key: 'c194dfe7bc12a29dc58b954ad9e37ca404eff57e', class: "content", part: "_content" }, this.gereserveerd && (h("dso-alert", { key: '00de952c5e5ac72d2a57dd256dbe636cb4a8c017', status: "info" }, "Dit onderdeel is gereserveerd voor toekomstige toevoeging.")), this.vervallen && h("dso-alert", { key: 'f416e20ac837d8d9536ea6f847b3bca3fe603a4c', status: "info" }, "Dit onderdeel is vervallen."), this.inhoud && (h("dso-ozon-content", { key: '3ccfcb88de6f11bb47117e976bf7ff46914be139', 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" })) })))), h("div", { key: 'f8c2445816a735a4a3c6a99ccb1eb92d32370db8', class: "children-container", part: "_children-container" }, h("slot", { key: '34c8a8c1d9411097a0d87368e6173c2a69414ecc' }))));
76
+ return (h(Host, { key: 'b58d5638cdc2baa27b29ab24b1d056c5b831edef', "not-collapsible": !collapsible }, showHeading && (h("div", { key: '4a03f1690f88b499e75f0aaa5e08e7e6b670bb04', class: "heading-container", part: "_heading-container" }, this.wijzigactie && h("span", { key: '42ad3650002d46638a15c86e2d73147db1f87329', class: "editaction-label" }, this.wijzigactieLabel, ":"), h("div", { key: '2c51b6455745fe9de599ac0981c995941cf82b7f', class: "heading" }, h(Heading, { key: '5c4dccc3126facc699918efec646b6830c520926', heading: this.heading, class: "heading-element", onClick: this.handleHeadingClick }, collapsible && (h("button", { key: '20137bc7f81bbbf106ca57ee18a195f187a404f1', type: "button", class: "toggle-button", "aria-describedby": "heading-title", "aria-expanded": this.open.toString() }, h("dso-icon", { key: '3fa4d8ea6284129167c6c8af758f8c4df814c4b4', icon: this.open ? "chevron-down" : "chevron-right" }), h("span", { key: '6b31c222a7b6ea0130b240f97db3a9a5e838ae9b', class: "sr-only" }, this.open ? "Invouwen" : "Uitvouwen"))), h("div", { key: 'c8b58b97973c9cfa4512e3f3ba8cffe3256631dc', id: "heading-title" }, this.notApplicable && h("span", { key: '1b7b144db61cb4de89ee6db908fb8c019fce35d1', class: "sr-only" }, "Niet van toepassing:"), this.label || this.nummer || this.opschrift ? (h(Fragment, null, this.label && (h(Fragment, null, " ", 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 && (h(Fragment, null, " ", 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 && (h(Fragment, null, " ", 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 && h("span", { key: '3145d4a9770106d5905c201843b761da01197704' }, " - [", suffix, "]"))), this.recursiveToggle !== undefined && this.open && (h("button", { key: '3da46a302becf7fc053a12ccf40f851da302ac35', type: "button", class: "recursive-toggle", title: this.recursiveToggle === true ? "Verberg alles" : "Toon alles", onClick: this.handleRecursiveToggleClick }, h("dso-icon", { key: '956fd191d436e9ca3db63cdd2a6758525ff53c40', icon: this.recursiveToggle === true ? "eye" : "eye-slash" }))), this.genesteOntwerpInformatie && !this.open && !this.bevatOntwerpInformatie && (h(Fragment, null, h("dso-badge", { key: 'ea3322cda942a520c762d9cf47b78ef2d0de93bc', status: "warning", "aria-describedby": "nested-draft-description" }, "!"), h("dso-tooltip", { key: '2b5a389fd8df54aebcffbe5d563804040bdf8303', id: "nested-draft-description" }, "Er is een ontwerp beschikbaar."))), (this.bevatOntwerpInformatie || this.annotated) && (h("div", { key: 'da9d4ab3c25909f5e520fba0d9cca12850cf2f11', class: "addons" }, this.bevatOntwerpInformatie && (h("dso-label", { key: '82463b4e03bf223d46724ee4a1b738c22069c1e3', status: "warning", compact: true }, "Ontwerp")), this.annotated && (h("dso-annotation-button", { key: '7d7dbb4b16e80e77665aa298e30a0f56c29905c1', identifier: "expandable", open: this.openAnnotation, onDsoClick: (e) => this.dsoAnnotationToggle.emit({ originalEvent: e }) }))))))), h("div", { key: '1c2b3eb723fd7a0f6a9d164b1f5a399d140ee734', class: "annotation-container", part: "_annotation-container" }, h("slot", { key: '5fa1feea2f662e9b5151373adbc500af9a9ea6c7', name: "annotation" })), this.open && (this.inhoud || this.gereserveerd || this.vervallen) && (h("div", { key: 'afa20ac5589ab1b7a00ede6289254da8c69c473a', class: "content", part: "_content" }, this.gereserveerd && (h("dso-alert", { key: '1d635014deadaae35ad913666091fccb4aef1f74', status: "info" }, "Dit onderdeel is gereserveerd voor toekomstige toevoeging.")), this.vervallen && h("dso-alert", { key: '8fbb2f351a6f224a43014585e3c4931483e5db17', status: "info" }, "Dit onderdeel is vervallen."), this.inhoud && (h("dso-ozon-content", { key: '5e02fe6a60b43b9c49d8f29e4cdd5a81a27120ee', 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" })) })))), h("div", { key: '9dff5e697a06d8a03eaeb7abfdad6ea0c56d6932', class: "children-container", part: "_children-container" }, h("slot", { key: '6cd5072f0781c17b3376159b5358ffca2e153cbd' }))));
77
77
  }
78
78
  static get is() { return "dso-document-component"; }
79
79
  static get encapsulation() { return "shadow"; }
@@ -164,7 +164,7 @@ export class DocumentComponentDemo {
164
164
  render() {
165
165
  var _a, _b;
166
166
  const { DocumentComponent, MenuButton } = this;
167
- return (h("dso-responsive-element", { key: 'bf9c96a21a48cfc22a48dc0abe180a279e87b8c4', class: "dso-document-components" }, h("div", { key: 'c5218864cd4107b14747649006858b844228d506', class: "dso-navbar" }, h("ul", { key: '1d541a4b1e5eba40580b8c93f9c588702dfc4254', class: "dso-nav dso-nav-sub" }, (_b = (_a = this.getEmbeddedDocumentComponents(this.response)) === null || _a === void 0 ? void 0 : _a.documentComponents) === null || _b === void 0 ? void 0 : _b.map((d) => (h("li", { class: this.document === d ? "dso-active" : undefined }, h(MenuButton, { documentComponent: d })))))), this.document && h(DocumentComponent, { key: 'c1c25135ab8751ba2002fbba8e8dd80f2b341315', path: [this.document] })));
167
+ return (h("dso-responsive-element", { key: '2c3d68cb8d9543a5607e56dd1988aa8b781266b3', class: "dso-document-components" }, h("div", { key: 'fa528ab9ca9977ebd06d9e0b20372fe6da6e81f2', class: "dso-navbar" }, h("ul", { key: '9781b2d6c1dde2a9a66486e77e0683250422fdba', class: "dso-nav dso-nav-sub" }, (_b = (_a = this.getEmbeddedDocumentComponents(this.response)) === null || _a === void 0 ? void 0 : _a.documentComponents) === null || _b === void 0 ? void 0 : _b.map((d) => (h("li", { class: this.document === d ? "dso-active" : undefined }, h(MenuButton, { documentComponent: d })))))), this.document && h(DocumentComponent, { key: '135e3669c122161300ff82fed9601048cd7f7422', path: [this.document] })));
168
168
  }
169
169
  static get is() { return "dsot-document-component-demo"; }
170
170
  static get encapsulation() { return "scoped"; }
@@ -208,7 +208,7 @@ export class DropdownMenu {
208
208
  (_a = tabbables[nextIndex]) === null || _a === void 0 ? void 0 : _a.focus();
209
209
  }
210
210
  render() {
211
- return (h(Host, { key: '051e0e49f0787115d3c0d32d64afd9925bbf7015', onFocusout: this.focusOutListener }, h("slot", { key: '19ef2a3cd39f922e97e6bdb2700fafa64f3c34ee', name: "toggle" }), h("div", { key: '07476f4d79b5eadab813d522381a4e918bb12e5e', hidden: !this.open }, h("slot", { key: 'fb6106ab14abaf2bc32cb9938519b97a14127c37' }))));
211
+ return (h(Host, { key: '8d8c4d76bf5da8cd782ae2bb7640a28a7de48c0d', onFocusout: this.focusOutListener }, h("slot", { key: '837efe3ccfab1c3b6ceb3d1004269aed32fb48d5', name: "toggle" }), h("div", { key: '881bea8d8240c672954ede46dca4682102395f8b', hidden: !this.open }, h("slot", { key: '5e4c55ca9f00f5bd0cb04be6dd20574cd9000925' }))));
212
212
  }
213
213
  static get is() { return "dso-dropdown-menu"; }
214
214
  static get encapsulation() { return "shadow"; }
@@ -176,13 +176,13 @@
176
176
  outline: 0;
177
177
  }
178
178
  .close-button:hover {
179
- background-color: #39870c;
179
+ background-color: #d7e7ce;
180
180
  border-color: #39870c;
181
- color: #fff;
181
+ color: #39870c;
182
182
  }
183
183
  .close-button:active {
184
- background-color: #275937;
185
- border-color: #275937;
184
+ background-color: #39870c;
185
+ border-color: #39870c;
186
186
  color: #fff;
187
187
  }
188
188
  .close-button[disabled], .close-button[disabled]:hover {
@@ -77,10 +77,10 @@ export class HelpcenterPanel {
77
77
  }
78
78
  }
79
79
  render() {
80
- return (h(Fragment, null, h("button", { key: '4eb48fdad3b3ad4e196c057be9e4ca2be9acad95', 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) }, h("dso-icon", { key: '4ed80fd64c25eec34883b8254f065f880b7d41a6', icon: "help" }), h("span", { key: '1e43605ab14511b8e8d4b7628b4f2bcb19a0f57a' }, this.label)), h("div", { key: 'db5d93917c9b7c64f8b41ad63edde93df4fbc44d', id: "dso-panel-wrapper", class: `wrapper ${this.visibility}`, "aria-label": "helpcentrum", role: "dialog", ref: (element) => (this.panelWrapperElement = element) }, h("div", { key: '5024649ae6920e583242554b215ea5dd43790eb4', class: "dimscreen", onClick: this.closeClick }), h("div", { key: '83b15da9a1647e578394ea594cf6a74089e3b416', class: `iframe-container ${this.slideState}`, "aria-live": "polite" }, this.loadIframe ? (h("iframe", { src: this.iframeUrl, tabindex: "0", onLoad: () => {
80
+ return (h(Fragment, null, h("button", { key: 'a8170e3024ee00b4c7907741061f20bd38bf043c', 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) }, h("dso-icon", { key: '9d86914b8a9d96f13e1675b31b423d6a1d627acc', icon: "help" }), h("span", { key: '115ff85cb5d22b3bc0976cadc3ae43c14b012219' }, this.label)), h("div", { key: '9a48de7acbf0a1688602ace722126f42db980d0e', id: "dso-panel-wrapper", class: `wrapper ${this.visibility}`, "aria-label": "helpcentrum", role: "dialog", ref: (element) => (this.panelWrapperElement = element) }, h("div", { key: 'dd98fd2c0270a0c6f19c44dcb73f14fb21cbdfdf', class: "dimscreen", onClick: this.closeClick }), h("div", { key: '67ed5ef2a7f2ec21d4d67937ec3e15000ff73e71', class: `iframe-container ${this.slideState}`, "aria-live": "polite" }, this.loadIframe ? (h("iframe", { src: this.iframeUrl, tabindex: "0", onLoad: () => {
81
81
  this.createTrap();
82
82
  this.iframeLoaded = true;
83
- } })) : (h("div", null))), h("button", { key: 'a20fabcb6e42397b514d0b15dd6dcaa4f5c04495', 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) }, h("dso-icon", { key: '4e06edd5f7d870db47a41b8b9ae95e7e0dcd2bf6', icon: "times" }), h("span", { key: 'd8092cfddace1390453ca1122980a524cc79993e', class: "sr-only" }, "sluiten")))));
83
+ } })) : (h("div", null))), h("button", { key: 'c16f22cda1869eb684c5fc0a11651441e82510a5', 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) }, h("dso-icon", { key: '4002011f88f58a7016e8ccbbc344ddbdaf56683b', icon: "times" }), h("span", { key: '25863addb1a994ee1d762ba4f2c54f44d409618c', class: "sr-only" }, "sluiten")))));
84
84
  }
85
85
  static get is() { return "dso-helpcenter-panel"; }
86
86
  static get encapsulation() { return "shadow"; }
@@ -10,7 +10,7 @@ export class HighlightBox {
10
10
  render() {
11
11
  var _a;
12
12
  const hasCounter = this.step || !!this.element.querySelector("[slot=icon]");
13
- return (h(Host, { key: '197d41b2fe49363ee590921008c935f43a5b1fee', "has-counter": hasCounter }, hasCounter && h("div", { key: 'f166216f13a0f703896c2c44aa89ae43d73051aa', class: "dso-step-counter" }, (_a = this.step) !== null && _a !== void 0 ? _a : h("slot", { key: 'd31ea4d9b291e4619ec15eb1d71142a4e8077450', name: "icon" })), h("slot", { key: '0f2a7876ea72118d06ffecd753c4c9f24c22dd7e' })));
13
+ return (h(Host, { key: '56216e3a1a502f4ad20289fbeea0bc2bad8be269', "has-counter": hasCounter }, hasCounter && h("div", { key: '0d0d5f6a49ca4384a0ea608a4c310550e73cfc19', class: "dso-step-counter" }, (_a = this.step) !== null && _a !== void 0 ? _a : h("slot", { key: '83237236c8d1f52dfa81c30903896e0be0e01b3c', name: "icon" })), h("slot", { key: 'f2651b6b400d2b9b1a54821e7ad8179061f94566' })));
14
14
  }
15
15
  static get is() { return "dso-highlight-box"; }
16
16
  static get encapsulation() { return "shadow"; }
@@ -209,7 +209,7 @@ export class Icon {
209
209
  if (!icon) {
210
210
  throw new TypeError(`Unknown svg: ${this.icon}`);
211
211
  }
212
- return h("span", { key: 'ad568e901aca0e1bb7bfb6c5cf35579fd78e97f9', class: "icon-container", innerHTML: icon.svg });
212
+ return h("span", { key: '7e0261b5dd7ca57d3ff3e2bd1c342ec90d713075', class: "icon-container", innerHTML: icon.svg });
213
213
  }
214
214
  }
215
215
  static get is() { return "dso-icon"; }
@@ -64,13 +64,13 @@ button::-moz-focus-inner {
64
64
  outline: 0;
65
65
  }
66
66
  .open:hover {
67
- background-color: #39870c;
67
+ background-color: #d7e7ce;
68
68
  border-color: #39870c;
69
- color: #fff;
69
+ color: #39870c;
70
70
  }
71
71
  .open:active {
72
- background-color: #275937;
73
- border-color: #275937;
72
+ background-color: #39870c;
73
+ border-color: #39870c;
74
74
  color: #fff;
75
75
  }
76
76
  .open[disabled], .open[disabled]:hover {
@@ -232,13 +232,13 @@ button::-moz-focus-inner {
232
232
  outline: 0;
233
233
  }
234
234
  .close:hover {
235
- background-color: #39870c;
235
+ background-color: #d7e7ce;
236
236
  border-color: #39870c;
237
- color: #fff;
237
+ color: #39870c;
238
238
  }
239
239
  .close:active {
240
- background-color: #275937;
241
- border-color: #275937;
240
+ background-color: #39870c;
241
+ border-color: #39870c;
242
242
  color: #fff;
243
243
  }
244
244
  .close[disabled], .close[disabled]:hover {
@@ -5,7 +5,7 @@ export class Info {
5
5
  this.active = undefined;
6
6
  }
7
7
  render() {
8
- return (h(Fragment, { key: '902f98c97248e2ddd76978921405904b843de499' }, h("slot", { key: 'fe9eed78ba371fc455ccaa6d9d3cc5eb5d042184' }), !this.fixed && (h("button", { key: 'c915ed3281316046b27b60e32d5f8a2d3399839d', type: "button", onClick: (e) => this.dsoClose.emit(e) }, h("dso-icon", { key: '7f342560dc0cd59123e8a1f3a37fcf0d88da9efa', icon: "times" }), h("span", { key: '966b0fdafa67cd988cb5c2c7efbcc90288810ca5', class: "sr-only" }, "Sluiten")))));
8
+ return (h(Fragment, { key: 'e158c18a96603f7d8780074f6efd389050e68d6e' }, h("slot", { key: '8c9b01f5643639a5897fc9b8b0b402b972164109' }), !this.fixed && (h("button", { key: 'f527a659ee5b1175263e4698f2b5f465c0f8c26a', type: "button", onClick: (e) => this.dsoClose.emit(e) }, h("dso-icon", { key: 'a6759dc5e67f8f10055761eadd80ecd2af03666e', icon: "times" }), h("span", { key: '2e29810fd8e0432f3d45b350c4377d1710513835', class: "sr-only" }, "Sluiten")))));
9
9
  }
10
10
  static get is() { return "dso-info"; }
11
11
  static get encapsulation() { return "shadow"; }
@@ -19,7 +19,7 @@ export class InfoButton {
19
19
  this.dsoToggle.emit({ originalEvent: e, active: this.active });
20
20
  }
21
21
  render() {
22
- return (h(Host, { key: 'a6e2aa03eb9724228f309392cfb9b2a8da123a15', onMouseenter: () => (this.hover = true), onMouseleave: () => (this.hover = false) }, h("button", { key: '419f8090a67ec29c910b1d925177451d4e98609c', type: "button", class: 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) }, h("dso-icon", { key: '2f5b81f8142336f42e51c800fc8486b98095a40c', icon: this.active || this.hover ? "info-active" : "info" }), h("span", { key: '310fa68092bbee52d8c3935e48d6e5befd16c4ea', class: "sr-only" }, this.label))));
22
+ return (h(Host, { key: '49a4aa9c7941888cd926166344d5693d2a670a17', onMouseenter: () => (this.hover = true), onMouseleave: () => (this.hover = false) }, h("button", { key: '4b5866e00d9630b8e7b33be5a277e149edf5ffe7', type: "button", class: 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) }, h("dso-icon", { key: 'e5c5a6aa0dd24df35a9ea00ff8330bedee988061', icon: this.active || this.hover ? "info-active" : "info" }), h("span", { key: 'd98edf483eaaf5703f57225e710a99384e202e72', class: "sr-only" }, this.label))));
23
23
  }
24
24
  static get is() { return "dso-info-button"; }
25
25
  static get encapsulation() { return "shadow"; }
@@ -13,13 +13,13 @@ export class InputRange {
13
13
  const min = this.min || 0;
14
14
  const max = this.max || 100;
15
15
  const step = this.step || 1;
16
- return (h(Fragment, null, this.description && (h("span", { key: 'd5ecf14f7a8950cde120066a8f8fe9770451cd84', id: "description", hidden: true }, this.description)), h("span", { key: '877239f0082c1e2b2254e9bd6e1e01ce1ae10933', class: "counter min", "aria-hidden": "true" }, min, this.unit), h("input", { key: 'c5df969a844d7773cebd6f8f97c72fb09aad7f05', 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({
16
+ return (h(Fragment, null, this.description && (h("span", { key: '33a0e5071f0abe7a4c927b38bffbf01cc7c2b154', id: "description", hidden: true }, this.description)), h("span", { key: '570dd69f683c1823a8b3f92f3fc3204d6d61e980', class: "counter min", "aria-hidden": "true" }, min, this.unit), h("input", { key: '7d2ad8841d2408544c86a5edbb3a95ad1ebe94e1', 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({
17
17
  originalEvent: event,
18
18
  value: event.target instanceof HTMLInputElement ? parseInt(event.target.value, 10) : undefined,
19
19
  max,
20
20
  min,
21
21
  step,
22
- }) }), h("span", { key: '29900f5d80966b2ad6be15b81d3895ebe46c287e', class: "counter max", "aria-hidden": "true" }, max, this.unit)));
22
+ }) }), h("span", { key: '4a74f2d784043162ca939d98af18cd103d1a638c', class: "counter max", "aria-hidden": "true" }, max, this.unit)));
23
23
  }
24
24
  static get is() { return "dso-input-range"; }
25
25
  static get encapsulation() { return "shadow"; }
@@ -102,13 +102,13 @@ export class Label {
102
102
  this.isTruncated = false;
103
103
  }
104
104
  render() {
105
- return (h(Fragment, { key: '63bab23d605ff8edc1fe6bd2bdac751f890d81f4' }, h("span", { key: 'c7e6f11ba9be8c3666f335c0a1acd8f0a20a1c90', "aria-describedby": "toggle-anchor", class: clsx("dso-label", {
105
+ return (h(Fragment, { key: 'f0bca41140f5702856768564b7e24106f40657a6' }, h("span", { key: '3d12ab6670190e52769ddf3aab44a03d163186fb', "aria-describedby": "toggle-anchor", class: clsx("dso-label", {
106
106
  [`dso-label-${this.status}`]: this.status,
107
107
  "dso-compact": this.compact && !this.removable,
108
108
  "dso-hover": this.removeHover || this.removeFocus,
109
- }) }, h("slot", { key: 'b973a7965b5100f9ac28309dd48ffacb44276198', name: "symbol" }), h("span", { key: 'da0cc9a0f71117144d0e67efe86bc70bf970ee65', class: clsx("dso-label-content", {
109
+ }) }, h("slot", { key: '074e1b656f77708a33019acf5de2ddcac352047e', name: "symbol" }), h("span", { key: '78a996fb79f6c9d34346e65abf31f16c2af29fa3', class: clsx("dso-label-content", {
110
110
  "dso-truncate": !!this.truncate,
111
- }), 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) }, h("slot", { key: '0a74dc7a557ebae1a0d7a30888fe6716b4bdee72' })), this.removable && (h("button", { key: '53edfc2ee675a00196afc294fe3f92832074e0b8', type: "button", onClick: (e) => this.dsoRemoveClick.emit(e), onMouseEnter: () => (this.removeHover = true), onMouseLeave: () => (this.removeHover = false), onFocus: () => (this.removeFocus = true), onBlur: () => (this.removeFocus = false) }, h("span", { key: '4d01d7c7583881847012605dc95633875d8c63c3', class: "sr-only" }, "Verwijder: ", this.labelText), h("dso-icon", { key: '2c491a534f65603292b65905e17da3cd6c11d00f', icon: "times" })))), this.isTruncated && (h("dso-tooltip", { key: 'e7a24a236e64f272a694ae81ac9fa6a2442aa2d1', stateless: true, id: "toggle-anchor", active: this.textHover || this.textFocus, position: "top", strategy: "absolute" }, this.labelText))));
111
+ }), 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) }, h("slot", { key: '516aecaadaf1a4f48c353aa78f613788126180f2' })), this.removable && (h("button", { key: '72d49327863c6131ed48e4567e32580e18b054bc', type: "button", onClick: (e) => this.dsoRemoveClick.emit(e), onMouseEnter: () => (this.removeHover = true), onMouseLeave: () => (this.removeHover = false), onFocus: () => (this.removeFocus = true), onBlur: () => (this.removeFocus = false) }, h("span", { key: '414ff8dfe4787da02bfd5ec71efb9c8b74d6b7f1', class: "sr-only" }, "Verwijder: ", this.labelText), h("dso-icon", { key: 'a39666f5d3315156e5a906b31341a14117bc4f96', icon: "times" })))), this.isTruncated && (h("dso-tooltip", { key: '5e69e4dc83cf0ce5d72b8fec86e029c66cd84066', stateless: true, id: "toggle-anchor", active: this.textHover || this.textFocus, position: "top", strategy: "absolute" }, this.labelText))));
112
112
  }
113
113
  static get is() { return "dso-label"; }
114
114
  static get encapsulation() { return "shadow"; }
@@ -25,10 +25,10 @@ export class LegendItem {
25
25
  const hasSymbol = this.symbolSlottedElement !== null;
26
26
  const hasBody = this.bodySlottedElement !== null;
27
27
  const isSelectable = this.selectableSlottedElement !== null;
28
- return (h(Host, { key: '8ea01dfcb640d2e3a6767de6fb581913722bc37a', onMouseEnter: () => this.dsoMouseEnter.emit(), onMouseLeave: () => this.dsoMouseLeave.emit() }, h("div", { key: '7e3f837a3b4370cb354a3c5e7e4f698bcca3a856', class: clsx("legend-item", {
28
+ return (h(Host, { key: 'b94da2c1cf452782ae6cc975273becd5d0f39669', onMouseEnter: () => this.dsoMouseEnter.emit(), onMouseLeave: () => this.dsoMouseLeave.emit() }, h("div", { key: '30dfd96122ccbfc51c420775a6d8de1086fc6a07', class: clsx("legend-item", {
29
29
  "legend-item-symbol": hasSymbol,
30
30
  "legend-item-selectable": isSelectable,
31
- }) }, h("div", { key: 'e24ef7f85e830d69f179794daa70f5427ef56163', hidden: !hasSymbol }, h("slot", { key: 'df812c8618d62572da8850e3ee4b57fa28155483', name: "symbol" })), h("div", { key: 'cf87688885bf1371fe69c8b55e0de9702beaa1b1' }, h("slot", { key: 'dbb1be783d9b79489d8fcfd69e643d14bbc2fb3f' })), this.disabled && this.disabledMessage && (h("dso-toggletip", { key: '3fc250b6b42cd7980c268d3dbdc2afcc20e9f700', position: "bottom" }, this.disabledMessage)), this.removable && (h("button", { key: 'f6b4085d0c39941c70aa68b64f2eae73bc1737d8', id: "remove-button", type: "button", onClick: (e) => this.dsoRemoveClick.emit({ originalEvent: e }) }, h("span", { key: '7c4cbf3a573be1052f0f0f441fa1a62caba9fdee', class: "sr-only" }, "Legenda item verwijderen"), h("dso-icon", { key: 'd9240cec6cd536fc50e8cb6902da6956c34d2daf', icon: "trash" }))), hasBody && !this.disabled && (h("button", { key: 'e26526598d1a301e48672da6f30857a65568ddbd', id: "edit-button", type: "button", onClick: () => (this.showBody = !this.showBody) }, h("span", { key: 'f04f3ea3548ce26be41e3f11a8bf26d37717e315', class: "sr-only" }, "Legenda item aanpassen"), h("dso-icon", { key: '2ad21eee3d8cd97faa746fbbf941af5ab7573ff2', icon: this.showBody ? "times" : "more" })))), h("div", { key: 'fe3a07b920bd7af69f1f52e95373ceef5c7fa5be', hidden: !hasBody || this.disabled || !this.showBody, class: "body" }, h("slot", { key: 'b5be190d74a6e05d1bf7d035fcfb6f4475339d21', name: "body" }))));
31
+ }) }, h("div", { key: '5c12bb5da8fe1842d41122623fa5ec70ab646901', hidden: !hasSymbol }, h("slot", { key: '40fa2c206103a5de5d8644e150fe4508e7ca74ab', name: "symbol" })), h("div", { key: '375faec3cf467195c4a8bb9ac4dcd2c474d58dfa' }, h("slot", { key: '739d16ec79ebbd3e04d17e1944c5de669817f812' })), this.disabled && this.disabledMessage && (h("dso-toggletip", { key: '39c926a2484a21909a738be365f8fef5ed280d45', position: "bottom" }, this.disabledMessage)), this.removable && (h("button", { key: '3534a0765bda7a5c825ec02fb928675eef2473ff', id: "remove-button", type: "button", onClick: (e) => this.dsoRemoveClick.emit({ originalEvent: e }) }, h("span", { key: '7cc79279bdab2b210b3fcfde3ed2171fa985645a', class: "sr-only" }, "Legenda item verwijderen"), h("dso-icon", { key: 'f1a91101255354d7fc087c56f0127d6c92d6bc97', icon: "trash" }))), hasBody && !this.disabled && (h("button", { key: 'bce20f4a5cb45d10ec5848eb1aa6b4f7b638eb74', id: "edit-button", type: "button", onClick: () => (this.showBody = !this.showBody) }, h("span", { key: '38dac2496d34da5194a608b4e64f9e3084ffa41a', class: "sr-only" }, "Legenda item aanpassen"), h("dso-icon", { key: 'b09f5e1f82e9096044475552b3209cf268859cb0', icon: this.showBody ? "times" : "more" })))), h("div", { key: '9b5c2bda42642e637ea35fd0a881ae86a35ee521', hidden: !hasBody || this.disabled || !this.showBody, class: "body" }, h("slot", { key: '181606803983c4238d686bdeedc5aa6082f3ecc7', name: "body" }))));
32
32
  }
33
33
  static get is() { return "dso-legend-item"; }
34
34
  static get encapsulation() { return "shadow"; }
@@ -191,20 +191,20 @@
191
191
  .dso-button-group > *:hover + .dso-input-number,
192
192
  .dso-button-group > *:focus + .dso-input-number {
193
193
  background-color: #fff;
194
- border-color: #39870c;
194
+ border-color: #d7e7ce;
195
195
  color: #191919;
196
196
  }
197
197
  .dso-button-group > *.dso-selected + .dso-input-number {
198
198
  background-color: #fff;
199
- border-color: #39870c;
199
+ border-color: #d7e7ce;
200
200
  color: #191919;
201
- box-shadow: inset 0 -1px 0 0 #39870c, inset 0 1px 0 0 #39870c, inset -1px 0 0 0 #39870c;
201
+ box-shadow: inset 0 -1px 0 0 #d7e7ce, inset 0 1px 0 0 #d7e7ce, inset -1px 0 0 0 #d7e7ce;
202
202
  }
203
203
  .dso-button-group > *:active + .dso-input-number, .dso-button-group > *:active + .dso-input-number:hover,
204
204
  .dso-button-group > *.active + .dso-input-number,
205
205
  .dso-button-group > *.active + .dso-input-number:hover {
206
206
  background-color: #fff;
207
- border-color: #39870c;
207
+ border-color: #d7e7ce;
208
208
  color: #191919;
209
209
  }
210
210
  .dso-button-group > *.disabled + .dso-input-number, .dso-button-group > *.disabled + .dso-input-number:hover,
@@ -384,12 +384,12 @@
384
384
  }
385
385
  .dso-list-button:hover, .dso-list-button:focus {
386
386
  background-color: #fff;
387
- border-color: #39870c;
387
+ border-color: #d7e7ce;
388
388
  color: #191919;
389
389
  }
390
390
  .dso-list-button:active, .dso-list-button:active:hover, .dso-list-button.active, .dso-list-button.active:hover {
391
391
  background-color: #fff;
392
- border-color: #39870c;
392
+ border-color: #d7e7ce;
393
393
  color: #191919;
394
394
  }
395
395
  .dso-list-button.disabled, .dso-list-button.disabled:hover, .dso-list-button[disabled], .dso-list-button[disabled]:hover {