@dso-toolkit/core 100.3.1 → 100.4.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 (491) hide show
  1. package/dist/bundle/dso-accordion-section.js +20 -11
  2. package/dist/bundle/dso-accordion.js +3 -3
  3. package/dist/bundle/dso-action-list-item.js +4 -4
  4. package/dist/bundle/dso-action-list.js +2 -2
  5. package/dist/bundle/dso-advanced-select.js +6 -6
  6. package/dist/bundle/dso-alert.js +1 -1
  7. package/dist/bundle/dso-annotation-activiteit.js +10 -10
  8. package/dist/bundle/dso-annotation-gebiedsaanwijzing.js +9 -9
  9. package/dist/bundle/dso-annotation-kaart.js +5 -5
  10. package/dist/bundle/dso-annotation-locatie.js +1 -1
  11. package/dist/bundle/dso-annotation-omgevingsnormwaarde.js +10 -10
  12. package/dist/bundle/dso-attachments-counter.js +1 -1
  13. package/dist/bundle/dso-autosuggest.js +7 -7
  14. package/dist/bundle/dso-badge.js +1 -1
  15. package/dist/bundle/dso-banner.js +4 -4
  16. package/dist/bundle/dso-button-group.js +1 -1
  17. package/dist/bundle/dso-card-container.js +2 -2
  18. package/dist/bundle/dso-card.js +2 -2
  19. package/dist/bundle/dso-contact-information.js +1 -1
  20. package/dist/bundle/dso-cursor-tooltip.js +2 -2
  21. package/dist/bundle/dso-date-picker.js +1 -1
  22. package/dist/bundle/dso-document-card.js +2 -2
  23. package/dist/bundle/dso-document-component.js +1 -1
  24. package/dist/bundle/dso-dropdown-menu-group.js +2 -2
  25. package/dist/bundle/dso-dropdown-menu-item.js +3 -3
  26. package/dist/bundle/dso-dropdown-menu.js +5 -5
  27. package/dist/bundle/dso-expandable.js +1 -1
  28. package/dist/bundle/dso-grid-column.js +3 -4
  29. package/dist/bundle/dso-header.js +24 -8
  30. package/dist/bundle/dso-hero-image.js +1 -1
  31. package/dist/bundle/dso-highlight-box.js +2 -2
  32. package/dist/bundle/dso-history-item.js +2 -2
  33. package/dist/bundle/dso-icon-button.js +1 -1
  34. package/dist/bundle/dso-icon.js +1 -1
  35. package/dist/bundle/dso-image-overlay.js +1 -1
  36. package/dist/bundle/dso-info-button.js +1 -1
  37. package/dist/bundle/dso-info.js +1 -1
  38. package/dist/bundle/dso-input-range.js +1 -1
  39. package/dist/bundle/dso-label.js +1 -1
  40. package/dist/bundle/dso-legend-group.js +4 -4
  41. package/dist/bundle/dso-legend-item.js +7 -7
  42. package/dist/bundle/dso-legend.js +6 -6
  43. package/dist/bundle/dso-list-button.js +8 -8
  44. package/dist/bundle/dso-logo.js +1 -1
  45. package/dist/bundle/dso-map-base-layers.js +8 -8
  46. package/dist/bundle/dso-map-controls.js +7 -7
  47. package/dist/bundle/dso-map-layer-object.js +3 -3
  48. package/dist/bundle/dso-map-layer.js +3 -3
  49. package/dist/bundle/dso-map-message.js +2 -2
  50. package/dist/bundle/dso-map-overlays.js +8 -8
  51. package/dist/bundle/dso-mark-bar.js +3 -3
  52. package/dist/bundle/dso-modal.js +1 -1
  53. package/dist/bundle/dso-onboarding-tip.js +5 -5
  54. package/dist/bundle/dso-ozon-content-toggletip.js +1 -1
  55. package/dist/bundle/dso-ozon-content.js +1 -1
  56. package/dist/bundle/dso-pagination.js +3 -3
  57. package/dist/bundle/dso-panel.js +1 -1
  58. package/dist/bundle/dso-plekinfo-card.js +3 -3
  59. package/dist/bundle/dso-progress-indicator.js +1 -1
  60. package/dist/bundle/dso-project-item.js +5 -5
  61. package/dist/bundle/dso-renvooi.js +1 -1
  62. package/dist/bundle/dso-responsive-element.js +1 -1
  63. package/dist/bundle/dso-scrollable.js +1 -1
  64. package/dist/bundle/dso-segmented-button.js +1 -1
  65. package/dist/bundle/dso-selectable.js +1 -1
  66. package/dist/bundle/dso-shopping-cart-item.js +3 -3
  67. package/dist/bundle/dso-shopping-cart.js +3 -3
  68. package/dist/bundle/dso-skiplink.js +2 -2
  69. package/dist/bundle/dso-slide-toggle.js +1 -1
  70. package/dist/bundle/dso-survey-rating.js +4 -4
  71. package/dist/bundle/dso-tab.js +1 -1
  72. package/dist/bundle/dso-table.js +1 -1
  73. package/dist/bundle/dso-tabs.js +1 -1
  74. package/dist/bundle/dso-tijdreis-banner.js +3 -3
  75. package/dist/bundle/dso-tree-view.js +3 -3
  76. package/dist/bundle/dso-viewer-grid.js +3 -3
  77. package/dist/bundle/dsot-document-component-demo.js +18 -18
  78. package/dist/bundle/index.js +2 -2
  79. package/dist/bundle/{p-LAIYa8JB.js → p-6lwKSTtN.js} +9 -9
  80. package/dist/bundle/{p-DSn98k7j.js → p-B1sfJaTU.js} +16 -45
  81. package/dist/bundle/{p-BhW3MSGZ.js → p-B5zDTnXM.js} +5 -5
  82. package/dist/bundle/{p-wroz5qbN.js → p-BHAfq_R9.js} +5 -5
  83. package/dist/bundle/{p-C78OzjGD.js → p-BHPEhHca.js} +2 -2
  84. package/dist/bundle/{p-DB6jeYdL.js → p-BIioZO_6.js} +1 -1
  85. package/dist/bundle/{p-Cz4DEkYY.js → p-BMhDrgpW.js} +4 -4
  86. package/dist/bundle/{p-3mY5bRq3.js → p-BZr7fJps.js} +16 -27
  87. package/dist/bundle/{p-Cy1s6Fqo.js → p-BdK56OMA.js} +6 -6
  88. package/dist/bundle/{p-COI1m0uI.js → p-BdO8V8e5.js} +4 -4
  89. package/dist/bundle/{p-Ci81TOhm.js → p-BiTWJ9tJ.js} +29 -79
  90. package/dist/bundle/{p-CkzyPAOs.js → p-Brr0tC8B.js} +1 -1
  91. package/dist/bundle/p-BsaL-EuM.js +76 -0
  92. package/dist/bundle/{p-CMm0xWy5.js → p-BvB8dh8P.js} +2 -2
  93. package/dist/bundle/p-C49HfF1N.js +60 -0
  94. package/dist/bundle/{p-D8J4Z2LD.js → p-CDD0hRMQ.js} +9 -9
  95. package/dist/bundle/{p-DTx5uLrL.js → p-CDym9tDn.js} +3 -3
  96. package/dist/bundle/{p-DdH_IPw_.js → p-CMhiuOhg.js} +1 -1
  97. package/dist/bundle/{p-BcoGSCi2.js → p-CSbcQBj9.js} +2 -2
  98. package/dist/bundle/{p-nBjxlgfX.js → p-Ccf_D9uM.js} +6 -6
  99. package/dist/bundle/{p-Cg-toWNU.js → p-CvUpjPda.js} +1 -1
  100. package/dist/bundle/{p-CIfxp928.js → p-D09qaSTl.js} +3 -3
  101. package/dist/bundle/{p-BydRjBUc.js → p-D7-d0naf.js} +18 -42
  102. package/dist/bundle/{p-BVLZrKNg.js → p-DHj0KBgK.js} +1 -1
  103. package/dist/bundle/{p-BPxWl5Jg.js → p-DStIHFXU.js} +17 -17
  104. package/dist/bundle/{p-DFhKaDMe.js → p-DZCYhv_b.js} +1 -1
  105. package/dist/bundle/{p-D33uqBOM.js → p-D_wg33r9.js} +3 -3
  106. package/dist/bundle/{p-BeyBvNPm.js → p-Diwr4pu4.js} +16 -30
  107. package/dist/bundle/{p-Bj6TmNEh.js → p-DixhcduG.js} +1 -1
  108. package/dist/bundle/{p-CiFTQ7lb.js → p-DtUeWj74.js} +76 -33
  109. package/dist/bundle/{p-ZSFwKURq.js → p-Dtkoi4Xj.js} +2 -2
  110. package/dist/bundle/{p-DjR55R0Z.js → p-d1IkgLLm.js} +1 -1
  111. package/dist/bundle/{p-TaOl3xYb.js → p-uUZVT-Ex.js} +3 -3
  112. package/dist/{esm/i18n-CCOI5nUo.js → bundle/p-xDSTG4OU.js} +28 -1
  113. package/dist/cjs/{annotation-body-H_YdGRBP.js → annotation-body-CCYWAvBu.js} +1 -1
  114. package/dist/cjs/{annotation-list-renvooi-values-DnvYPhrD.js → annotation-list-renvooi-values-UnGybDbb.js} +1 -1
  115. package/dist/cjs/{annotation-watcher-DXLGEmn8.js → annotation-watcher-D9lm8RSy.js} +1 -1
  116. package/dist/cjs/dso-accordion-section.cjs.entry.js +13 -4
  117. package/dist/cjs/dso-accordion.cjs.entry.js +3 -3
  118. package/dist/cjs/dso-action-list-item.cjs.entry.js +3 -3
  119. package/dist/cjs/dso-action-list.cjs.entry.js +2 -2
  120. package/dist/cjs/dso-advanced-select.cjs.entry.js +1 -1
  121. package/dist/cjs/dso-alert_7.cjs.entry.js +45 -110
  122. package/dist/cjs/dso-annotation-activiteit.cjs.entry.js +5 -5
  123. package/dist/cjs/dso-annotation-gebiedsaanwijzing.cjs.entry.js +4 -4
  124. package/dist/cjs/dso-annotation-kaart.cjs.entry.js +2 -2
  125. package/dist/cjs/dso-annotation-locatie_2.cjs.entry.js +9 -9
  126. package/dist/cjs/dso-annotation-omgevingsnormwaarde.cjs.entry.js +5 -5
  127. package/dist/cjs/dso-attachments-counter_2.cjs.entry.js +3 -3
  128. package/dist/cjs/dso-autosuggest.cjs.entry.js +4 -4
  129. package/dist/cjs/dso-banner.cjs.entry.js +3 -3
  130. package/dist/cjs/dso-button-group.cjs.entry.js +2 -2
  131. package/dist/cjs/dso-card-container.cjs.entry.js +2 -2
  132. package/dist/cjs/dso-card.cjs.entry.js +1 -1
  133. package/dist/cjs/dso-contact-information.cjs.entry.js +1 -1
  134. package/dist/cjs/dso-cursor-tooltip.cjs.entry.js +2 -2
  135. package/dist/cjs/dso-date-picker.cjs.entry.js +1 -1
  136. package/dist/cjs/dso-document-card.cjs.entry.js +1 -1
  137. package/dist/cjs/dso-dropdown-menu-group.cjs.entry.js +2 -2
  138. package/dist/cjs/dso-dropdown-menu-item.cjs.entry.js +2 -2
  139. package/dist/cjs/dso-dropdown-menu.cjs.entry.js +3 -3
  140. package/dist/cjs/dso-grid-column.cjs.entry.js +3 -4
  141. package/dist/cjs/dso-header.cjs.entry.js +22 -6
  142. package/dist/cjs/dso-hero-image.cjs.entry.js +1 -1
  143. package/dist/cjs/dso-highlight-box.cjs.entry.js +2 -2
  144. package/dist/cjs/dso-history-item.cjs.entry.js +1 -1
  145. package/dist/cjs/dso-icon_2.cjs.entry.js +16 -45
  146. package/dist/cjs/dso-info_3.cjs.entry.js +17 -41
  147. package/dist/cjs/dso-input-range.cjs.entry.js +1 -1
  148. package/dist/cjs/dso-label_3.cjs.entry.js +16 -27
  149. package/dist/cjs/dso-legend-group.cjs.entry.js +2 -2
  150. package/dist/cjs/dso-legend-item.cjs.entry.js +2 -2
  151. package/dist/cjs/dso-legend.cjs.entry.js +3 -3
  152. package/dist/cjs/dso-list-button.cjs.entry.js +2 -2
  153. package/dist/cjs/dso-logo.cjs.entry.js +1 -1
  154. package/dist/cjs/dso-map-base-layers.cjs.entry.js +2 -2
  155. package/dist/cjs/dso-map-controls.cjs.entry.js +3 -3
  156. package/dist/cjs/dso-map-layer-object.cjs.entry.js +2 -2
  157. package/dist/cjs/dso-map-layer.cjs.entry.js +2 -2
  158. package/dist/cjs/dso-map-message.cjs.entry.js +1 -1
  159. package/dist/cjs/dso-map-overlays.cjs.entry.js +2 -2
  160. package/dist/cjs/dso-mark-bar.cjs.entry.js +1 -1
  161. package/dist/cjs/dso-modal.cjs.entry.js +2 -2
  162. package/dist/cjs/dso-onboarding-tip.cjs.entry.js +2 -2
  163. package/dist/cjs/dso-pagination.cjs.entry.js +1 -1
  164. package/dist/cjs/dso-plekinfo-card.cjs.entry.js +2 -2
  165. package/dist/cjs/dso-progress-indicator.cjs.entry.js +2 -2
  166. package/dist/cjs/dso-project-item.cjs.entry.js +2 -2
  167. package/dist/cjs/dso-responsive-element.cjs.entry.js +2 -2
  168. package/dist/cjs/dso-scrollable.cjs.entry.js +3 -3
  169. package/dist/cjs/dso-segmented-button.cjs.entry.js +1 -1
  170. package/dist/cjs/dso-shopping-cart-item.cjs.entry.js +1 -1
  171. package/dist/cjs/dso-shopping-cart.cjs.entry.js +1 -1
  172. package/dist/cjs/dso-skiplink.cjs.entry.js +1 -1
  173. package/dist/cjs/dso-survey-rating.cjs.entry.js +1 -1
  174. package/dist/cjs/dso-tab.cjs.entry.js +1 -1
  175. package/dist/cjs/dso-tabs.cjs.entry.js +1 -1
  176. package/dist/cjs/dso-tijdreis-banner.cjs.entry.js +2 -2
  177. package/dist/cjs/dso-toolkit.cjs.js +2 -2
  178. package/dist/cjs/dso-tree-view.cjs.entry.js +1 -1
  179. package/dist/cjs/dso-viewer-grid.cjs.entry.js +3 -3
  180. package/dist/cjs/dsot-document-component-demo.cjs.entry.js +1 -1
  181. package/dist/cjs/{i18n-DH0Su3jj.js → i18n-Bzut_vVm.js} +28 -1
  182. package/dist/cjs/{index-CfwUrDXc.js → index-BBx5yytN.js} +76 -33
  183. package/dist/cjs/{index-EngjN4P3.js → index-DZPLxT1W.js} +1 -1
  184. package/dist/cjs/loader.cjs.js +1 -1
  185. package/dist/cjs/{parse-wijzigactie-from-node.function-B2dUQ7Rf.js → parse-wijzigactie-from-node.function-CYUDdIa0.js} +1 -1
  186. package/dist/cjs/toggletip.controller-BB-Voe-Z.js +63 -0
  187. package/dist/cjs/tooltip.controller-Cvac0qe3.js +78 -0
  188. package/dist/cjs/{tooltip.functional-component-BEcuvKwS.js → tooltip.functional-component-DOBjuEpE.js} +1 -1
  189. package/dist/cjs/{wrap-wijzigactie.functional-component-DodUwf7_.js → wrap-wijzigactie.functional-component-D1UjZ36u.js} +1 -1
  190. package/dist/collection/collection-manifest.json +1 -1
  191. package/dist/collection/components/accordion/accordion.js +4 -1
  192. package/dist/collection/components/accordion/components/accordion-section.css +4 -0
  193. package/dist/collection/components/accordion/components/accordion-section.js +15 -2
  194. package/dist/collection/components/action-list/action-list.js +4 -1
  195. package/dist/collection/components/action-list/components/action-list-item.js +5 -2
  196. package/dist/collection/components/alert/alert.js +4 -1
  197. package/dist/collection/components/annotation/annotation-activiteit/annotation-activiteit.js +1 -4
  198. package/dist/collection/components/annotation/annotation-gebiedsaanwijzing/annotation-gebiedsaanwijzing.js +1 -4
  199. package/dist/collection/components/annotation/annotation-locatie/annotation-locatie.js +1 -4
  200. package/dist/collection/components/annotation/annotation-omgevingsnormwaarde/annotation-omgevingsnormwaarde.js +1 -6
  201. package/dist/collection/components/autosuggest/autosuggest.js +5 -2
  202. package/dist/collection/components/badge/badge.js +26 -77
  203. package/dist/collection/components/banner/banner.js +5 -2
  204. package/dist/collection/components/button-group/button-group.js +4 -1
  205. package/dist/collection/components/card-container/card-container.js +4 -1
  206. package/dist/collection/components/cursor-tooltip/cursor-tooltip.js +4 -1
  207. package/dist/collection/components/document-component/document-component.js +6 -4
  208. package/dist/collection/components/dropdown-menu/dropdown-menu-group/dropdown-menu-group.js +4 -1
  209. package/dist/collection/components/dropdown-menu/dropdown-menu-item/dropdown-menu-item.js +4 -1
  210. package/dist/collection/components/dropdown-menu/dropdown-menu.js +4 -1
  211. package/dist/collection/components/expandable/expandable.js +5 -2
  212. package/dist/collection/components/grid-column/grid-column.js +2 -3
  213. package/dist/collection/components/header/header.css +31 -14
  214. package/dist/collection/components/header/header.js +22 -3
  215. package/dist/collection/components/highlight-box/highlight-box.js +5 -1
  216. package/dist/collection/components/icon-button/icon-button.js +13 -43
  217. package/dist/collection/components/image-overlay/image-overlay.js +5 -0
  218. package/dist/collection/components/info/info.js +4 -1
  219. package/dist/collection/components/info-button/info-button.js +16 -38
  220. package/dist/collection/components/label/label.js +16 -24
  221. package/dist/collection/components/legend/legend.js +4 -1
  222. package/dist/collection/components/list-button/list-button.js +4 -1
  223. package/dist/collection/components/map-controls/map-controls.js +4 -1
  224. package/dist/collection/components/onboarding-tip/onboarding-tip.js +5 -1
  225. package/dist/collection/components/ozon-content/components/ozon-content-toggletip/ozon-content-toggletip.js +16 -27
  226. package/dist/collection/components/project-item/project-item.js +7 -1
  227. package/dist/collection/components/responsive-element/responsive-element.js +4 -1
  228. package/dist/collection/components/scrollable/scrollable.js +5 -2
  229. package/dist/collection/components/slide-toggle/slide-toggle.js +4 -1
  230. package/dist/collection/components/table/table.js +5 -1
  231. package/dist/collection/components/tijdreis-banner/tijdreis-banner.js +5 -1
  232. package/dist/collection/components/viewer-grid/viewer-grid.js +5 -9
  233. package/dist/collection/functional-components/tooltip/toggletip.controller.js +57 -0
  234. package/dist/collection/functional-components/tooltip/tooltip.controller.js +73 -0
  235. package/dist/components/alert.js +1 -1
  236. package/dist/components/annotation-locatie.js +1 -1
  237. package/dist/components/badge.js +1 -1
  238. package/dist/components/button-group.js +1 -1
  239. package/dist/components/document-component.js +1 -1
  240. package/dist/components/dso-accordion-section.js +1 -1
  241. package/dist/components/dso-accordion.js +1 -1
  242. package/dist/components/dso-action-list-item.js +1 -1
  243. package/dist/components/dso-action-list.js +1 -1
  244. package/dist/components/dso-annotation-activiteit.js +1 -1
  245. package/dist/components/dso-annotation-gebiedsaanwijzing.js +1 -1
  246. package/dist/components/dso-annotation-omgevingsnormwaarde.js +1 -1
  247. package/dist/components/dso-autosuggest.js +1 -1
  248. package/dist/components/dso-banner.js +1 -1
  249. package/dist/components/dso-card-container.js +1 -1
  250. package/dist/components/dso-cursor-tooltip.js +1 -1
  251. package/dist/components/dso-dropdown-menu-group.js +1 -1
  252. package/dist/components/dso-dropdown-menu-item.js +1 -1
  253. package/dist/components/dso-dropdown-menu.js +1 -1
  254. package/dist/components/dso-grid-column.js +1 -1
  255. package/dist/components/dso-header.js +1 -1
  256. package/dist/components/dso-highlight-box.js +1 -1
  257. package/dist/components/dso-legend.js +1 -1
  258. package/dist/components/dso-list-button.js +1 -1
  259. package/dist/components/dso-map-controls.js +1 -1
  260. package/dist/components/dso-onboarding-tip.js +1 -1
  261. package/dist/components/dso-project-item.js +1 -1
  262. package/dist/components/dso-tijdreis-banner.js +1 -1
  263. package/dist/components/dso-viewer-grid.js +1 -1
  264. package/dist/components/expandable.js +1 -1
  265. package/dist/components/i18n.js +1 -1
  266. package/dist/components/icon-button.js +1 -1
  267. package/dist/components/info-button.js +1 -1
  268. package/dist/components/info.js +1 -1
  269. package/dist/components/label.js +1 -1
  270. package/dist/components/ozon-content-toggletip.js +1 -1
  271. package/dist/components/responsive-element.js +1 -1
  272. package/dist/components/scrollable.js +1 -1
  273. package/dist/components/slide-toggle.js +1 -1
  274. package/dist/components/table.js +1 -1
  275. package/dist/components/toggletip.controller.js +1 -0
  276. package/dist/components/tooltip.controller.js +1 -0
  277. package/dist/dso-toolkit/dso-toolkit.esm.js +1 -1
  278. package/dist/dso-toolkit/{p-342636b2.entry.js → p-0150c527.entry.js} +1 -1
  279. package/dist/dso-toolkit/p-0b1d6ae8.entry.js +1 -0
  280. package/dist/dso-toolkit/{p-99db12e8.entry.js → p-13e28f82.entry.js} +1 -1
  281. package/dist/dso-toolkit/p-179c804c.entry.js +1 -0
  282. package/dist/dso-toolkit/{p-a93cfad8.entry.js → p-19fa3db4.entry.js} +1 -1
  283. package/dist/dso-toolkit/{p-301cb792.entry.js → p-1ee5fdd2.entry.js} +1 -1
  284. package/dist/dso-toolkit/{p-f0b21f16.entry.js → p-1f197259.entry.js} +1 -1
  285. package/dist/dso-toolkit/{p-d92b4f7b.entry.js → p-2153bba4.entry.js} +1 -1
  286. package/dist/dso-toolkit/p-2sI1K6K0.js +3 -0
  287. package/dist/dso-toolkit/{p-fb2eb060.entry.js → p-300882d5.entry.js} +1 -1
  288. package/dist/dso-toolkit/{p-3ce055f8.entry.js → p-32b07ce7.entry.js} +1 -1
  289. package/dist/dso-toolkit/{p-6a6a38e6.entry.js → p-36a98cb8.entry.js} +1 -1
  290. package/dist/dso-toolkit/{p-f5575f84.entry.js → p-37c83fa7.entry.js} +1 -1
  291. package/dist/dso-toolkit/{p-8bd4637f.entry.js → p-3a6a1010.entry.js} +1 -1
  292. package/dist/dso-toolkit/p-3ed9443d.entry.js +1 -0
  293. package/dist/dso-toolkit/p-42bf0148.entry.js +1 -0
  294. package/dist/dso-toolkit/p-432f9847.entry.js +1 -0
  295. package/dist/dso-toolkit/{p-acb7b5c5.entry.js → p-4632a0df.entry.js} +1 -1
  296. package/dist/dso-toolkit/{p-b83b2fa7.entry.js → p-47e2a6ae.entry.js} +1 -1
  297. package/dist/dso-toolkit/{p-16288a6a.entry.js → p-4aa3ca6c.entry.js} +1 -1
  298. package/dist/dso-toolkit/{p-0f019b7c.entry.js → p-4d7fa0e9.entry.js} +1 -1
  299. package/dist/dso-toolkit/{p-84ca2384.entry.js → p-4ec77050.entry.js} +1 -1
  300. package/dist/dso-toolkit/{p-0099ff32.entry.js → p-52d7dd12.entry.js} +1 -1
  301. package/dist/dso-toolkit/{p-3628d830.entry.js → p-54036b31.entry.js} +1 -1
  302. package/dist/dso-toolkit/p-5612fca8.entry.js +1 -0
  303. package/dist/dso-toolkit/{p-768794e0.entry.js → p-5901d652.entry.js} +1 -1
  304. package/dist/dso-toolkit/{p-3098df1c.entry.js → p-63fce2aa.entry.js} +1 -1
  305. package/dist/dso-toolkit/{p-610341c7.entry.js → p-640306bf.entry.js} +1 -1
  306. package/dist/dso-toolkit/{p-64f2263c.entry.js → p-64331ac9.entry.js} +1 -1
  307. package/dist/dso-toolkit/{p-f6e9a1b4.entry.js → p-67bdfcdd.entry.js} +1 -1
  308. package/dist/dso-toolkit/p-6835e07d.entry.js +1 -0
  309. package/dist/dso-toolkit/{p-5018c559.entry.js → p-6a53b29f.entry.js} +1 -1
  310. package/dist/dso-toolkit/{p-48cd0276.entry.js → p-6a68177b.entry.js} +1 -1
  311. package/dist/dso-toolkit/{p-ab498200.entry.js → p-6f7241e5.entry.js} +1 -1
  312. package/dist/dso-toolkit/p-7119884a.entry.js +1 -0
  313. package/dist/dso-toolkit/{p-460e04c3.entry.js → p-780ebd6c.entry.js} +1 -1
  314. package/dist/dso-toolkit/{p-7eadab64.entry.js → p-7ebf7e11.entry.js} +1 -1
  315. package/dist/dso-toolkit/{p-5598c232.entry.js → p-7ff8aa45.entry.js} +2 -2
  316. package/dist/dso-toolkit/{p-e2d4f404.entry.js → p-8cbb00ac.entry.js} +1 -1
  317. package/dist/dso-toolkit/{p-0117fba0.entry.js → p-8eda69f2.entry.js} +1 -1
  318. package/dist/dso-toolkit/{p-ecc3eaab.entry.js → p-9aea5b98.entry.js} +1 -1
  319. package/dist/dso-toolkit/{p-ec50e32d.entry.js → p-9c96a21a.entry.js} +1 -1
  320. package/dist/dso-toolkit/p-B02Jy5YO.js +1 -0
  321. package/dist/dso-toolkit/p-B_Ud6lxQ.js +1 -0
  322. package/dist/dso-toolkit/p-C0I7oJkh.js +1 -0
  323. package/dist/dso-toolkit/p-CUqv0PSk.js +1 -0
  324. package/dist/dso-toolkit/p-DkZG4rwC.js +1 -0
  325. package/dist/dso-toolkit/{p-kDBsQgLI.js → p-Dksz1aH2.js} +1 -1
  326. package/dist/dso-toolkit/{p-DeuvCGGT.js → p-DoJpDsvb.js} +1 -1
  327. package/dist/dso-toolkit/p-DxsAk2iQ.js +1 -0
  328. package/dist/dso-toolkit/{p-58978006.entry.js → p-a00c540b.entry.js} +1 -1
  329. package/dist/dso-toolkit/{p-0438b8cb.entry.js → p-a0ac6345.entry.js} +1 -1
  330. package/dist/dso-toolkit/{p-f85b0396.entry.js → p-a3003466.entry.js} +1 -1
  331. package/dist/dso-toolkit/{p-7cea7c6f.entry.js → p-a43a81a4.entry.js} +1 -1
  332. package/dist/dso-toolkit/p-b093e2f2.entry.js +1 -0
  333. package/dist/dso-toolkit/{p-f17348e1.entry.js → p-b1fc14cc.entry.js} +1 -1
  334. package/dist/dso-toolkit/{p-cfccb614.entry.js → p-b26c5285.entry.js} +1 -1
  335. package/dist/dso-toolkit/{p-2e7acaf8.entry.js → p-bb0d9c4a.entry.js} +1 -1
  336. package/dist/dso-toolkit/{p-d2e60e72.entry.js → p-c0735ea5.entry.js} +1 -1
  337. package/dist/dso-toolkit/{p-a639c227.entry.js → p-c8ead3ad.entry.js} +1 -1
  338. package/dist/dso-toolkit/{p-c525f97c.entry.js → p-cafa54b4.entry.js} +1 -1
  339. package/dist/dso-toolkit/{p-f9490a3f.entry.js → p-cca237f7.entry.js} +1 -1
  340. package/dist/dso-toolkit/{p-ebf09749.entry.js → p-d64bd153.entry.js} +1 -1
  341. package/dist/dso-toolkit/{p-9fef9c1a.entry.js → p-d819abc5.entry.js} +1 -1
  342. package/dist/dso-toolkit/{p-02f97f93.entry.js → p-d8dfaacb.entry.js} +1 -1
  343. package/dist/dso-toolkit/{p-3fc897a1.entry.js → p-de86de0a.entry.js} +1 -1
  344. package/dist/dso-toolkit/{p-0085311a.entry.js → p-e2ff8b0c.entry.js} +1 -1
  345. package/dist/dso-toolkit/{p-272382d1.entry.js → p-e3d0debf.entry.js} +1 -1
  346. package/dist/dso-toolkit/{p-0cd1de97.entry.js → p-e4181a16.entry.js} +1 -1
  347. package/dist/dso-toolkit/{p-a0b21fb2.entry.js → p-e442fe62.entry.js} +1 -1
  348. package/dist/dso-toolkit/{p-918d8967.entry.js → p-e5cd6084.entry.js} +1 -1
  349. package/dist/dso-toolkit/p-ead6c401.entry.js +1 -0
  350. package/dist/dso-toolkit/{p-55a160ad.entry.js → p-f1047e57.entry.js} +1 -1
  351. package/dist/dso-toolkit/p-mhQu0fx2.js +1 -0
  352. package/dist/dso-toolkit/p-xDSTG4OU.js +1 -0
  353. package/dist/esm/{annotation-body-CfhN4FON.js → annotation-body-lbq2tmAQ.js} +1 -1
  354. package/dist/esm/{annotation-list-renvooi-values-BTPUEm3B.js → annotation-list-renvooi-values-iAOwX0lR.js} +1 -1
  355. package/dist/esm/{annotation-watcher-BO0jbdlD.js → annotation-watcher-COiqhqqD.js} +1 -1
  356. package/dist/esm/dso-accordion-section.entry.js +13 -4
  357. package/dist/esm/dso-accordion.entry.js +3 -3
  358. package/dist/esm/dso-action-list-item.entry.js +3 -3
  359. package/dist/esm/dso-action-list.entry.js +2 -2
  360. package/dist/esm/dso-advanced-select.entry.js +1 -1
  361. package/dist/esm/dso-alert_7.entry.js +45 -110
  362. package/dist/esm/dso-annotation-activiteit.entry.js +5 -5
  363. package/dist/esm/dso-annotation-gebiedsaanwijzing.entry.js +4 -4
  364. package/dist/esm/dso-annotation-kaart.entry.js +2 -2
  365. package/dist/esm/dso-annotation-locatie_2.entry.js +9 -9
  366. package/dist/esm/dso-annotation-omgevingsnormwaarde.entry.js +5 -5
  367. package/dist/esm/dso-attachments-counter_2.entry.js +3 -3
  368. package/dist/esm/dso-autosuggest.entry.js +4 -4
  369. package/dist/esm/dso-banner.entry.js +3 -3
  370. package/dist/esm/dso-button-group.entry.js +2 -2
  371. package/dist/esm/dso-card-container.entry.js +2 -2
  372. package/dist/esm/dso-card.entry.js +1 -1
  373. package/dist/esm/dso-contact-information.entry.js +1 -1
  374. package/dist/esm/dso-cursor-tooltip.entry.js +2 -2
  375. package/dist/esm/dso-date-picker.entry.js +1 -1
  376. package/dist/esm/dso-document-card.entry.js +1 -1
  377. package/dist/esm/dso-dropdown-menu-group.entry.js +2 -2
  378. package/dist/esm/dso-dropdown-menu-item.entry.js +2 -2
  379. package/dist/esm/dso-dropdown-menu.entry.js +3 -3
  380. package/dist/esm/dso-grid-column.entry.js +3 -4
  381. package/dist/esm/dso-header.entry.js +22 -6
  382. package/dist/esm/dso-hero-image.entry.js +1 -1
  383. package/dist/esm/dso-highlight-box.entry.js +2 -2
  384. package/dist/esm/dso-history-item.entry.js +1 -1
  385. package/dist/esm/dso-icon_2.entry.js +16 -45
  386. package/dist/esm/dso-info_3.entry.js +17 -41
  387. package/dist/esm/dso-input-range.entry.js +1 -1
  388. package/dist/esm/dso-label_3.entry.js +16 -27
  389. package/dist/esm/dso-legend-group.entry.js +2 -2
  390. package/dist/esm/dso-legend-item.entry.js +2 -2
  391. package/dist/esm/dso-legend.entry.js +3 -3
  392. package/dist/esm/dso-list-button.entry.js +2 -2
  393. package/dist/esm/dso-logo.entry.js +1 -1
  394. package/dist/esm/dso-map-base-layers.entry.js +2 -2
  395. package/dist/esm/dso-map-controls.entry.js +3 -3
  396. package/dist/esm/dso-map-layer-object.entry.js +2 -2
  397. package/dist/esm/dso-map-layer.entry.js +2 -2
  398. package/dist/esm/dso-map-message.entry.js +1 -1
  399. package/dist/esm/dso-map-overlays.entry.js +2 -2
  400. package/dist/esm/dso-mark-bar.entry.js +1 -1
  401. package/dist/esm/dso-modal.entry.js +2 -2
  402. package/dist/esm/dso-onboarding-tip.entry.js +2 -2
  403. package/dist/esm/dso-pagination.entry.js +1 -1
  404. package/dist/esm/dso-plekinfo-card.entry.js +2 -2
  405. package/dist/esm/dso-progress-indicator.entry.js +2 -2
  406. package/dist/esm/dso-project-item.entry.js +2 -2
  407. package/dist/esm/dso-responsive-element.entry.js +2 -2
  408. package/dist/esm/dso-scrollable.entry.js +3 -3
  409. package/dist/esm/dso-segmented-button.entry.js +1 -1
  410. package/dist/esm/dso-shopping-cart-item.entry.js +1 -1
  411. package/dist/esm/dso-shopping-cart.entry.js +1 -1
  412. package/dist/esm/dso-skiplink.entry.js +1 -1
  413. package/dist/esm/dso-survey-rating.entry.js +1 -1
  414. package/dist/esm/dso-tab.entry.js +1 -1
  415. package/dist/esm/dso-tabs.entry.js +1 -1
  416. package/dist/esm/dso-tijdreis-banner.entry.js +2 -2
  417. package/dist/esm/dso-toolkit.js +3 -3
  418. package/dist/esm/dso-tree-view.entry.js +1 -1
  419. package/dist/esm/dso-viewer-grid.entry.js +3 -3
  420. package/dist/esm/dsot-document-component-demo.entry.js +1 -1
  421. package/dist/{bundle/p-CCOI5nUo.js → esm/i18n-xDSTG4OU.js} +28 -1
  422. package/dist/esm/{index-CieBNbUH.js → index-2sI1K6K0.js} +76 -33
  423. package/dist/esm/{index-B0pTkGRp.js → index-LpJ181Xi.js} +1 -1
  424. package/dist/esm/loader.js +2 -2
  425. package/dist/esm/{parse-wijzigactie-from-node.function-DhCCxNJH.js → parse-wijzigactie-from-node.function-CrOTV1B6.js} +1 -1
  426. package/dist/esm/toggletip.controller-KNf1n4og.js +60 -0
  427. package/dist/esm/tooltip.controller-RLM8ixUv.js +76 -0
  428. package/dist/esm/{tooltip.functional-component-chN-aNlU.js → tooltip.functional-component-3fxPwYtA.js} +1 -1
  429. package/dist/esm/{wrap-wijzigactie.functional-component-BYWldnbn.js → wrap-wijzigactie.functional-component-C-ha4z-Y.js} +1 -1
  430. package/dist/types/components/accordion/accordion.d.ts +3 -0
  431. package/dist/types/components/accordion/components/accordion-section.d.ts +4 -0
  432. package/dist/types/components/action-list/action-list.d.ts +3 -0
  433. package/dist/types/components/action-list/components/action-list-item.d.ts +3 -0
  434. package/dist/types/components/alert/alert.d.ts +3 -0
  435. package/dist/types/components/annotation/annotation-activiteit/annotation-activiteit.d.ts +0 -3
  436. package/dist/types/components/annotation/annotation-gebiedsaanwijzing/annotation-gebiedsaanwijzing.d.ts +0 -3
  437. package/dist/types/components/annotation/annotation-locatie/annotation-locatie.d.ts +0 -3
  438. package/dist/types/components/annotation/annotation-omgevingsnormwaarde/annotation-omgevingsnormwaarde.d.ts +0 -5
  439. package/dist/types/components/autosuggest/autosuggest.d.ts +3 -0
  440. package/dist/types/components/badge/badge.d.ts +2 -8
  441. package/dist/types/components/banner/banner.d.ts +3 -0
  442. package/dist/types/components/button-group/button-group.d.ts +3 -0
  443. package/dist/types/components/card-container/card-container.d.ts +3 -0
  444. package/dist/types/components/cursor-tooltip/cursor-tooltip.d.ts +3 -0
  445. package/dist/types/components/document-component/document-component.d.ts +2 -0
  446. package/dist/types/components/dropdown-menu/dropdown-menu-group/dropdown-menu-group.d.ts +3 -0
  447. package/dist/types/components/dropdown-menu/dropdown-menu-item/dropdown-menu-item.d.ts +3 -0
  448. package/dist/types/components/dropdown-menu/dropdown-menu.d.ts +3 -0
  449. package/dist/types/components/expandable/expandable.d.ts +3 -0
  450. package/dist/types/components/header/header.d.ts +8 -0
  451. package/dist/types/components/highlight-box/highlight-box.d.ts +4 -0
  452. package/dist/types/components/icon-button/icon-button.d.ts +2 -7
  453. package/dist/types/components/image-overlay/image-overlay.d.ts +5 -0
  454. package/dist/types/components/info/info.d.ts +3 -0
  455. package/dist/types/components/info-button/info-button.d.ts +4 -2
  456. package/dist/types/components/label/label.d.ts +5 -2
  457. package/dist/types/components/legend/legend.d.ts +3 -0
  458. package/dist/types/components/list-button/list-button.d.ts +3 -0
  459. package/dist/types/components/map-controls/map-controls.d.ts +3 -0
  460. package/dist/types/components/onboarding-tip/onboarding-tip.d.ts +4 -0
  461. package/dist/types/components/ozon-content/components/ozon-content-toggletip/ozon-content-toggletip.d.ts +5 -2
  462. package/dist/types/components/project-item/project-item.d.ts +6 -0
  463. package/dist/types/components/responsive-element/responsive-element.d.ts +3 -0
  464. package/dist/types/components/scrollable/scrollable.d.ts +3 -0
  465. package/dist/types/components/slide-toggle/slide-toggle.d.ts +3 -0
  466. package/dist/types/components/table/table.d.ts +4 -0
  467. package/dist/types/components/tijdreis-banner/tijdreis-banner.d.ts +4 -0
  468. package/dist/types/components/viewer-grid/viewer-grid.d.ts +3 -7
  469. package/dist/types/components.d.ts +1 -13
  470. package/dist/types/functional-components/tooltip/toggletip.controller.d.ts +31 -0
  471. package/dist/types/functional-components/tooltip/tooltip.controller.d.ts +30 -0
  472. package/dist/types/stencil-public-runtime.d.ts +12 -0
  473. package/loader/index.d.ts +1 -1
  474. package/package.json +10 -10
  475. package/dist/dso-toolkit/p-0fb7714e.entry.js +0 -1
  476. package/dist/dso-toolkit/p-55668cd5.entry.js +0 -1
  477. package/dist/dso-toolkit/p-6a42dae9.entry.js +0 -1
  478. package/dist/dso-toolkit/p-947abc8e.entry.js +0 -1
  479. package/dist/dso-toolkit/p-C32sfSnK.js +0 -1
  480. package/dist/dso-toolkit/p-C7Q97EIG.js +0 -1
  481. package/dist/dso-toolkit/p-CCOI5nUo.js +0 -1
  482. package/dist/dso-toolkit/p-CieBNbUH.js +0 -2
  483. package/dist/dso-toolkit/p-DQbnZnP0.js +0 -1
  484. package/dist/dso-toolkit/p-DxGQgnCh.js +0 -1
  485. package/dist/dso-toolkit/p-a98b5b00.entry.js +0 -1
  486. package/dist/dso-toolkit/p-b6a747b3.entry.js +0 -1
  487. package/dist/dso-toolkit/p-be6bbcf3.entry.js +0 -1
  488. package/dist/dso-toolkit/p-d71f20c0.entry.js +0 -1
  489. package/dist/dso-toolkit/p-de3ece98.entry.js +0 -1
  490. package/dist/dso-toolkit/p-e9bcbf0c.entry.js +0 -1
  491. package/dist/dso-toolkit/p-jq9f4Z3R.js +0 -1
@@ -81,7 +81,7 @@
81
81
  "mixins": [],
82
82
  "compiler": {
83
83
  "name": "@stencil/core",
84
- "version": "4.43.5",
84
+ "version": "4.44.2",
85
85
  "typescriptVersion": "5.8.3"
86
86
  },
87
87
  "collections": [],
@@ -1,5 +1,8 @@
1
1
  import { Host, h } from "@stencil/core";
2
2
  import { createStore } from "@stencil/store";
3
+ /**
4
+ * @slot - A slot for the accordion sections.
5
+ */
3
6
  export class Accordion {
4
7
  constructor() {
5
8
  const { state } = createStore({
@@ -35,7 +38,7 @@ export class Accordion {
35
38
  return this.accordionState;
36
39
  }
37
40
  render() {
38
- return (h(Host, { key: '9488887d4b47c470a237c25e369b013eeeb55ef9' }, h("slot", { key: '7c6ef21c22e84d486f3d71230b042f0119a89388' })));
41
+ return (h(Host, { key: '24d301d68d8a8f9bc8171015be8ca949ab94f9de' }, h("slot", { key: '94e9afa5ceb61e0a8a48f5de2012e3f974e0c703' })));
39
42
  }
40
43
  static get is() { return "dso-accordion"; }
41
44
  static get encapsulation() { return "shadow"; }
@@ -121,6 +121,10 @@
121
121
  padding-inline: 16px;
122
122
  }
123
123
 
124
+ ::slotted([slot=badge]) {
125
+ margin-inline: 8px !important;
126
+ }
127
+
124
128
  :host(.dso-accordion-default) {
125
129
  border: 1px solid #8b4a6a;
126
130
  border-radius: 4px;
@@ -50,6 +50,13 @@ const HandleStateIcon = ({ state }) => {
50
50
  return h("dso-icon", { icon: "status-warning" });
51
51
  }
52
52
  };
53
+ function isDsoBadgeComponent(element) {
54
+ return element?.tagName === "DSO-BADGE";
55
+ }
56
+ /**
57
+ * @slot - A slot for the main accordion sections.
58
+ * @slot badge - An optional slot to place a badge in the accordion section handle.
59
+ */
53
60
  export class AccordionSection {
54
61
  constructor() {
55
62
  /**
@@ -76,6 +83,12 @@ export class AccordionSection {
76
83
  this.active = false;
77
84
  this.hover = false;
78
85
  this.handleClick = (event) => {
86
+ const clickedInsideBadge = event
87
+ .composedPath()
88
+ .some((target) => target instanceof HTMLElement && isDsoBadgeComponent(target));
89
+ if (clickedInsideBadge) {
90
+ return;
91
+ }
79
92
  this.dsoToggleClick.emit({
80
93
  originalEvent: event,
81
94
  open: !this.open,
@@ -166,14 +179,14 @@ export class AccordionSection {
166
179
  const { variant, reverseAlign } = this.accordionState ?? {};
167
180
  const hasAddons = !!this.statusDescription || !!this.status || !!this.icon || !!this.attachmentCount;
168
181
  const showSlideToggle = this.activatable && variant === "compact-black" && !reverseAlign;
169
- return (h(Host, { key: 'cae56878ce8416be1ccf78a195a3c97c59358d31', class: {
182
+ return (h(Host, { key: '7cf2263a6f27d53332ac1a3ccb94a6bb7c8f7dba', class: {
170
183
  "dso-accordion-section": true,
171
184
  ["dso-accordion-" + variant]: !!variant,
172
185
  "dso-nested-accordion": this.hasNestedAccordion || this.containsNestedAccordion,
173
186
  "dso-accordion-reverse-align": reverseAlign ?? false,
174
187
  ["dso-accordion-wijzigactie-" + this.wijzigactie]: !!this.wijzigactie,
175
188
  "dso-accordion-section-activate": showSlideToggle,
176
- }, hidden: !variant, onMouseenter: () => (this.hover = true), onMouseleave: () => (this.hover = false) }, h(Handle, { key: '5fc39b91afc542c2638d3f30f9a77366a89f51e6', heading: this.heading, ref: (element) => (this.sectionHeading = element) }, h(HandleElement, { key: '454c5f764bbed3c919ff2d813d5b08b8f9582277', handleUrl: this.handleUrl, onClick: this.handleClick, open: this.open, showSlideToggle: showSlideToggle, active: this.active, onActiveChange: this.handleActiveChange, handleElementRef: (e) => (this.handleElementRef = e) }, reverseAlign ? (h(Fragment, null, this.icon && (h("div", { class: "dso-section-handle-addons" }, h(HandleIcon, { icon: this.icon }))), h("dso-renvooi", { value: this.handleTitle }), this.label && (h("dso-label", { status: this.labelStatus, compact: true }, this.label)), h("div", { class: "dso-section-handle-addons" }, this.statusDescription && h("span", { class: "dso-status" }, this.statusDescription), h("dso-icon", { class: "dso-section-handle-chevron", icon: "chevron-down" })))) : (h(Fragment, null, h("dso-icon", { class: "dso-section-handle-chevron", icon: "chevron-right" }), this.status && h("span", { class: "sr-only" }, stateMap[this.status]), h("span", null, h("dso-renvooi", { value: this.handleTitle }), this.isNeutral && (h("dso-icon", { class: "info-icon", icon: this.open || this.hover ? "info-solid" : "info-outline" }))), this.label && (h("dso-label", { status: this.labelStatus, compact: true }, this.label)), hasAddons && (h("div", { class: "dso-section-handle-addons" }, this.statusDescription && h("span", { class: "dso-status" }, this.statusDescription), h(HandleIcon, { state: this.status, icon: this.icon, attachmentCount: this.attachmentCount }))))))), h("dso-expandable", { key: 'bb68f6fe39f8e0914c820183549053f81291533a', class: "dso-section-body", open: this.open, enableAnimation: true, minimumHeight: this.isNeutral ? 0 : 4, onDsoExpandableAnimationStart: this.handleExpandableAnimationStart, onDsoExpandableAnimationEnd: this.handleExpandableAnimationEnd }, h("div", { key: 'a37cff1991f990c39a4dda57e462fb45c9ef031a', class: "dso-section-body-content", ref: (element) => (this.sectionBody = element) }, h("slot", { key: '663e31fa990d6cefcba11fff305f25eaa376c025' })))));
189
+ }, hidden: !variant, onMouseenter: () => (this.hover = true), onMouseleave: () => (this.hover = false) }, h(Handle, { key: 'c9380a00f6692c074006a9324f8beb4ca9ed3c4c', heading: this.heading, ref: (element) => (this.sectionHeading = element) }, h(HandleElement, { key: 'c6e4dc18f78c64947ab1002911a0dd2221aedccf', handleUrl: this.handleUrl, onClick: this.handleClick, open: this.open, showSlideToggle: showSlideToggle, active: this.active, onActiveChange: this.handleActiveChange, handleElementRef: (e) => (this.handleElementRef = e) }, reverseAlign ? (h(Fragment, null, this.icon && (h("div", { class: "dso-section-handle-addons" }, h(HandleIcon, { icon: this.icon }))), h("span", null, h("dso-renvooi", { value: this.handleTitle }), h("slot", { name: "badge" })), this.label && (h("dso-label", { status: this.labelStatus, compact: true }, this.label)), h("div", { class: "dso-section-handle-addons" }, this.statusDescription && h("span", { class: "dso-status" }, this.statusDescription), h("dso-icon", { class: "dso-section-handle-chevron", icon: "chevron-down" })))) : (h(Fragment, null, h("dso-icon", { class: "dso-section-handle-chevron", icon: "chevron-right" }), this.status && h("span", { class: "sr-only" }, stateMap[this.status]), h("span", null, h("dso-renvooi", { value: this.handleTitle }), this.isNeutral && (h("dso-icon", { class: "info-icon", icon: this.open || this.hover ? "info-solid" : "info-outline" })), h("slot", { name: "badge" })), this.label && (h("dso-label", { status: this.labelStatus, compact: true }, this.label)), hasAddons && (h("div", { class: "dso-section-handle-addons" }, this.statusDescription && h("span", { class: "dso-status" }, this.statusDescription), h(HandleIcon, { state: this.status, icon: this.icon, attachmentCount: this.attachmentCount }))))))), h("dso-expandable", { key: 'fb65ef45b16d050c7a44b9c4ed54c5106bee0f39', class: "dso-section-body", open: this.open, enableAnimation: true, minimumHeight: this.isNeutral ? 0 : 4, onDsoExpandableAnimationStart: this.handleExpandableAnimationStart, onDsoExpandableAnimationEnd: this.handleExpandableAnimationEnd }, h("div", { key: '9be45955f04570b49de58a70f29321cdf2f7818f', class: "dso-section-body-content", ref: (element) => (this.sectionBody = element) }, h("slot", { key: '5316ff6d7696e9980bd5f601ef8c553e2057317d' })))));
177
190
  }
178
191
  static get is() { return "dso-accordion-section"; }
179
192
  static get encapsulation() { return "shadow"; }
@@ -1,7 +1,10 @@
1
1
  import { Host, h } from "@stencil/core";
2
+ /**
3
+ * @slot - A slot for action list items.
4
+ */
2
5
  export class ActionList {
3
6
  render() {
4
- return (h(Host, { key: '420035c23ceca58542a8d098fa92198bd520563a' }, h("h2", { key: 'd1ddb040ad32fc98eddbbe53f4dc197c644b1102' }, this.listTitle), h("ol", { key: 'a6d98f395738f743d5790bfa39de8ea51ca728bd', class: "dso-action-list-content" }, h("slot", { key: '0e606525e27ee30e69623b1437029e71ecc5dff2' }))));
7
+ return (h(Host, { key: 'dfe96b219b653bbe07abe788596e5201d979677f' }, h("h2", { key: '0eb6a73564937b25f7751c7dcf1c7adf79a588be' }, this.listTitle), h("ol", { key: '24e9a7a5a5ef0563d37551d014dd2bb183657d9f', class: "dso-action-list-content" }, h("slot", { key: '8cb0d6f7867bc5cbc5f135129782a7ade686bb04' }))));
5
8
  }
6
9
  static get is() { return "dso-action-list"; }
7
10
  static get encapsulation() { return "shadow"; }
@@ -1,4 +1,7 @@
1
1
  import { Host, h } from "@stencil/core";
2
+ /**
3
+ * @slot - A slot for the main content body placed underneath the item title.
4
+ */
2
5
  export class ActionListItem {
3
6
  constructor() {
4
7
  /**
@@ -15,10 +18,10 @@ export class ActionListItem {
15
18
  this.divider = false;
16
19
  }
17
20
  render() {
18
- return (h(Host, { key: 'b1c3db0071452b989a473547a99d014ba49fdd64', role: "listitem", class: {
21
+ return (h(Host, { key: '021d59845a21a0a6cc3a6fb00177da37532c39eb', role: "listitem", class: {
19
22
  divider: this.divider,
20
23
  "flow-line": this.flowLine,
21
- } }, h("div", { key: '624a01adf7d382fd4951295c6b319becbe43ea9e', class: "dso-action-list-item" }, this.warning ? (h("dso-icon", { icon: "status-warning", "aria-hidden": "true" })) : (h("div", { class: "dso-step-counter", "aria-hidden": "true" }, this.step)), h("div", { key: '5f339ba18a93b07219a1c060a1d9047d2c4d3c76', class: "action-list-item-content" }, h("span", { key: '9c6912432f965af4275ed7c7d3dc8af1c80bc894', class: "sr-only" }, "Stap ", this.step, ": "), this.itemTitle && h("h3", { key: 'aa15b80007456ddd9e5a5bf2e1be2dd64af658c5' }, this.itemTitle), h("slot", { key: 'ea30de8a9146aa22eeb483ef0a55a721cef4ea8d' })))));
24
+ } }, h("div", { key: '7e2641bf6fc4bd8af6840b5dc5b1ed2e0b9c0fe3', class: "dso-action-list-item" }, this.warning ? (h("dso-icon", { icon: "status-warning", "aria-hidden": "true" })) : (h("div", { class: "dso-step-counter", "aria-hidden": "true" }, this.step)), h("div", { key: '734e4c29664e468e68dd940dfdac6f9a0969b41d', class: "action-list-item-content" }, h("span", { key: '5575eaab75942d9f2af64ced178a8bcf13603e0d', class: "sr-only" }, "Stap ", this.step, ": "), this.itemTitle && h("h3", { key: 'b83a36e54e40ea847e922c0ddbb47ece357978a3' }, this.itemTitle), h("slot", { key: '4d7213d7aaaac80eccef9940ba2d00145aa0621c' })))));
22
25
  }
23
26
  static get is() { return "dso-action-list-item"; }
24
27
  static get encapsulation() { return "shadow"; }
@@ -2,6 +2,9 @@ import { Fragment, h } from "@stencil/core";
2
2
  import { clsx } from "clsx";
3
3
  import { i18n } from "../../utils/i18n";
4
4
  import { translations } from "./alert.i18n";
5
+ /**
6
+ * @slot - A slot for the main content body of the alert message.
7
+ */
5
8
  export class Alert {
6
9
  constructor() {
7
10
  /**
@@ -15,7 +18,7 @@ export class Alert {
15
18
  if (!isValidStatus) {
16
19
  console.warn(`Invalid status ${this.status}`);
17
20
  }
18
- return (h("div", { key: '2f3804fc5cb8af7bb475beb0c1180167e12f0a29', class: clsx("alert", { [`alert-${this.status}`]: isValidStatus }, { "dso-compact": this.compact }), role: this.roleAlert ? "alert" : undefined }, isValidStatus && (h(Fragment, null, !this.compact && (h("dso-icon", { key: '5157d1a6105065c9480eee40949f747d825b6963', class: "icon-status", icon: `status-${this.status === "info" ? "info-solid" : this.status}`, "aria-hidden": "true" })), h("span", { key: '4f0e4edba075e4973828b013e1268d2bebbd2779', class: "sr-only" }, this.text(this.status), ":"))), h("slot", { key: '05793df0001cb3066913c67b1f1873a19e0cd805' }), this.closable && (h("dso-icon-button", { key: 'c662d10b9bcbd003dd3bd19d878c25224a6ef795', label: this.text("close"), variant: "tertiary", icon: "cross", onDsoClick: (e) => this.dsoClose.emit({ originalEvent: e }) }))));
21
+ return (h("div", { key: 'd442da267a8983bc71ecd194250fe01f04cd9dab', class: clsx("alert", { [`alert-${this.status}`]: isValidStatus }, { "dso-compact": this.compact }), role: this.roleAlert ? "alert" : undefined }, isValidStatus && (h(Fragment, null, !this.compact && (h("dso-icon", { key: '6961871f69e99c778b7bee28e5fd458b4082eab9', class: "icon-status", icon: `status-${this.status === "info" ? "info-solid" : this.status}`, "aria-hidden": "true" })), h("span", { key: 'd016153d5e46460b68a8ba2d9a73d3e82dc8795e', class: "sr-only" }, this.text(this.status), ":"))), h("slot", { key: 'a5d90a9fd35f9b4178bfa7d13d13b5f52c0f3666' }), this.closable && (h("dso-icon-button", { key: '400cd28d62ff4d709cd9a32bb232a1f55fa5d4c9', label: this.text("close"), variant: "tertiary", icon: "cross", onDsoClick: (e) => this.dsoClose.emit({ originalEvent: e }) }))));
19
22
  }
20
23
  static get is() { return "dso-alert"; }
21
24
  static get encapsulation() { return "shadow"; }
@@ -4,9 +4,6 @@ import { AnnotationGewijzigdeLocatie } from "../annotation-gewijzigde-locatie";
4
4
  import { AnnotationListRenvooiValues } from "../annotation-list-renvooi-values";
5
5
  import { AnnotationSymbolSlot } from "../annotation-symbol-slot";
6
6
  import { watcher } from "../annotation-watcher";
7
- /**
8
- * @slot symbool - Een optionele afbeelding die de annotatie symboliseert.
9
- */
10
7
  export class AnnotationActiviteit {
11
8
  constructor() {
12
9
  this.watcher = watcher(this.host);
@@ -19,7 +16,7 @@ export class AnnotationActiviteit {
19
16
  }
20
17
  render() {
21
18
  const hasSymbool = this.watcher.hasSymbool();
22
- return (h(AnnotationBody, { key: 'aadf536c8cac09a876e043471149bc827591aec4', symbol: hasSymbool ? h(AnnotationSymbolSlot, null) : undefined, active: this.active, dsoActiveChange: this.dsoActiveChange, title: h("dso-renvooi", { value: this.naam }), data: h(Fragment, null, h("span", { class: "content" }, this.regelKwalificatie && (h(Fragment, null, h("dso-renvooi", { value: this.regelKwalificatie }), " ")), this.regelKwalificatieVoorzetsel && `${this.regelKwalificatieVoorzetsel}: `, h(AnnotationListRenvooiValues, { values: this.locatieNoemers })), this.gewijzigdeLocatie && h(AnnotationGewijzigdeLocatie, null)) }));
19
+ return (h(AnnotationBody, { key: '1f1994f6b40d3de640db8b0d31b21954c0ca8fb6', symbol: hasSymbool ? h(AnnotationSymbolSlot, null) : undefined, active: this.active, dsoActiveChange: this.dsoActiveChange, title: h("dso-renvooi", { value: this.naam }), data: h(Fragment, null, h("span", { class: "content" }, this.regelKwalificatie && (h(Fragment, null, h("dso-renvooi", { value: this.regelKwalificatie }), " ")), this.regelKwalificatieVoorzetsel && `${this.regelKwalificatieVoorzetsel}: `, h(AnnotationListRenvooiValues, { values: this.locatieNoemers })), this.gewijzigdeLocatie && h(AnnotationGewijzigdeLocatie, null)) }));
23
20
  }
24
21
  static get is() { return "dso-annotation-activiteit"; }
25
22
  static get encapsulation() { return "shadow"; }
@@ -3,9 +3,6 @@ import { AnnotationBody } from "../annotation-body";
3
3
  import { AnnotationGewijzigdeLocatie } from "../annotation-gewijzigde-locatie";
4
4
  import { AnnotationSymbolSlot } from "../annotation-symbol-slot";
5
5
  import { watcher } from "../annotation-watcher";
6
- /**
7
- * @slot symbool - Een optionele afbeelding die de annotatie symboliseert.
8
- */
9
6
  export class AnnotationGebiedsaanwijzing {
10
7
  constructor() {
11
8
  this.watcher = watcher(this.host);
@@ -18,7 +15,7 @@ export class AnnotationGebiedsaanwijzing {
18
15
  }
19
16
  render() {
20
17
  const hasSymbool = this.watcher.hasSymbool();
21
- return (h(AnnotationBody, { key: '00e27fbe56da61452aee7050c7076327e202aa41', symbol: hasSymbool ? h(AnnotationSymbolSlot, null) : undefined, active: this.active, dsoActiveChange: this.dsoActiveChange, title: h(Fragment, null, h("span", { class: "content" }, h("dso-renvooi", { value: this.naam })), this.gewijzigdeLocatie && h(AnnotationGewijzigdeLocatie, null)) }));
18
+ return (h(AnnotationBody, { key: '7977d084eaa970de4f5123ac410679388e1a9327', symbol: hasSymbool ? h(AnnotationSymbolSlot, null) : undefined, active: this.active, dsoActiveChange: this.dsoActiveChange, title: h(Fragment, null, h("span", { class: "content" }, h("dso-renvooi", { value: this.naam })), this.gewijzigdeLocatie && h(AnnotationGewijzigdeLocatie, null)) }));
22
19
  }
23
20
  static get is() { return "dso-annotation-gebiedsaanwijzing"; }
24
21
  static get encapsulation() { return "shadow"; }
@@ -3,9 +3,6 @@ import { AnnotationBody } from "../annotation-body";
3
3
  import { AnnotationGewijzigdeLocatie } from "../annotation-gewijzigde-locatie";
4
4
  import { AnnotationSymbolSlot } from "../annotation-symbol-slot";
5
5
  import { watcher } from "../annotation-watcher";
6
- /**
7
- * @slot symbool - Een optionele afbeelding die de annotatie symboliseert.
8
- */
9
6
  export class AnnotationLocatie {
10
7
  constructor() {
11
8
  this.watcher = watcher(this.host);
@@ -18,7 +15,7 @@ export class AnnotationLocatie {
18
15
  }
19
16
  render() {
20
17
  const hasSymbool = this.watcher.hasSymbool();
21
- return (h(AnnotationBody, { key: '2b422f0518dcf047a46cccdd2772d14beed5d484', symbol: hasSymbool ? h(AnnotationSymbolSlot, null) : undefined, active: this.active, dsoActiveChange: this.dsoActiveChange, title: h(Fragment, null, h("span", { class: "content" }, h("dso-renvooi", { value: this.locatieNoemer })), this.gewijzigdeLocatie && h(AnnotationGewijzigdeLocatie, null)) }));
18
+ return (h(AnnotationBody, { key: '31c1814b37b8d5d3f38f4c09d65739bb64e455fa', symbol: hasSymbool ? h(AnnotationSymbolSlot, null) : undefined, active: this.active, dsoActiveChange: this.dsoActiveChange, title: h(Fragment, null, h("span", { class: "content" }, h("dso-renvooi", { value: this.locatieNoemer })), this.gewijzigdeLocatie && h(AnnotationGewijzigdeLocatie, null)) }));
22
19
  }
23
20
  static get is() { return "dso-annotation-locatie"; }
24
21
  static get encapsulation() { return "shadow"; }
@@ -4,11 +4,6 @@ import { AnnotationGewijzigdeLocatie } from "../annotation-gewijzigde-locatie";
4
4
  import { AnnotationListRenvooiValues } from "../annotation-list-renvooi-values";
5
5
  import { AnnotationSymbolSlot } from "../annotation-symbol-slot";
6
6
  import { watcher } from "../annotation-watcher";
7
- /**
8
- * Dit component wordt voor een Omgevingsnorm en Omgevingswaarde gebruikt.
9
- *
10
- * @slot symbool - Een optionele afbeelding die de annotatie symboliseert.
11
- */
12
7
  export class AnnotationOmgevingsnormwaarde {
13
8
  constructor() {
14
9
  this.watcher = watcher(this.host);
@@ -21,7 +16,7 @@ export class AnnotationOmgevingsnormwaarde {
21
16
  }
22
17
  render() {
23
18
  const hasSymbool = this.watcher.hasSymbool();
24
- return (h(AnnotationBody, { key: '50b77235d6190dc04eb44adf97be066d9dab45a1', symbol: hasSymbool ? h(AnnotationSymbolSlot, null) : undefined, active: this.active || false, dsoActiveChange: this.dsoActiveChange, title: h(Fragment, null, h("dso-renvooi", { value: this.naam }), this.eenheid && (h(Fragment, null, " ", "(in ", h("dso-renvooi", { value: this.eenheid }), ")"))), data: h(Fragment, null, h("span", { class: "content" }, this.toelichting && h(Fragment, null, this.toelichting), this.waardes && this.waardes.length > 0 && (h(Fragment, null, ": ", h(AnnotationListRenvooiValues, { values: this.waardes })))), this.gewijzigdeLocatie && h(AnnotationGewijzigdeLocatie, null)) }));
19
+ return (h(AnnotationBody, { key: 'fda01fda5064588690297137e76229623341dd8f', symbol: hasSymbool ? h(AnnotationSymbolSlot, null) : undefined, active: this.active || false, dsoActiveChange: this.dsoActiveChange, title: h(Fragment, null, h("dso-renvooi", { value: this.naam }), this.eenheid && (h(Fragment, null, " ", "(in ", h("dso-renvooi", { value: this.eenheid }), ")"))), data: h(Fragment, null, h("span", { class: "content" }, this.toelichting && h(Fragment, null, this.toelichting), this.waardes && this.waardes.length > 0 && (h(Fragment, null, ": ", h(AnnotationListRenvooiValues, { values: this.waardes })))), this.gewijzigdeLocatie && h(AnnotationGewijzigdeLocatie, null)) }));
25
20
  }
26
21
  static get is() { return "dso-annotation-omgevingsnormwaarde"; }
27
22
  static get encapsulation() { return "shadow"; }
@@ -23,6 +23,9 @@ function isFlat(suggestions) {
23
23
  suggestions.length > 0 &&
24
24
  suggestions.every((suggestion) => suggestion !== undefined && "value" in suggestion && suggestion.value !== undefined));
25
25
  }
26
+ /**
27
+ * @slot - The input element to be enhanced with autosuggest functionality.
28
+ */
26
29
  export class Autosuggest {
27
30
  constructor() {
28
31
  /**
@@ -505,7 +508,7 @@ export class Autosuggest {
505
508
  else if (this.input) {
506
509
  this.input.removeAttribute("aria-controls");
507
510
  }
508
- return (h(Fragment, null, h("slot", { key: 'e61b6aaa76d0051d0db1bf3a526d81be6a34bc4e' }), this.loading && this.showLoading ? (h("div", { class: "autosuggest-progress-box" }, h("dso-progress-indicator", { label: this.loadingLabel }))) : (showListbox && (h(Fragment, null, h("dso-scrollable", { class: "listbox-container", ref: (element) => (this.listboxContainer = element), _preventFocus: true }, h("div", { class: "listbox", role: "listbox", id: this.listboxId, "aria-labelledby": this.labelId, ref: (element) => (this.listbox = element) }, (flat &&
511
+ return (h(Fragment, null, h("slot", { key: 'ee666573ff41dd5932180e345fa312eaa69e38f2' }), this.loading && this.showLoading ? (h("div", { class: "autosuggest-progress-box" }, h("dso-progress-indicator", { label: this.loadingLabel }))) : (showListbox && (h(Fragment, null, h("dso-scrollable", { class: "listbox-container", ref: (element) => (this.listboxContainer = element), _preventFocus: true }, h("div", { class: "listbox", role: "listbox", id: this.listboxId, "aria-labelledby": this.labelId, ref: (element) => (this.listbox = element) }, (flat &&
509
512
  this.showSuggestions &&
510
513
  this.suggestions &&
511
514
  this.suggestions.map((suggestion) => (h(Option, { id: this.listboxItemId(suggestion), mouseEnter: () => this.selectSuggestion(suggestion), mouseLeave: () => this.resetSelectedSuggestion(), click: this.onOptionClick, selected: (suggestion === this.selectedSuggestion).toString(), suggestion: suggestion, ref: (element) => element && this.listboxItems.push(element), markedSuggestion: this.getMarkedSuggestions(suggestion) })))) ||
@@ -517,7 +520,7 @@ export class Autosuggest {
517
520
  return (h("div", { role: "group", class: "group", "aria-labelledby": groupLabelId }, h("div", { class: "group-label", role: "presentation", id: groupLabelId, ref: (element) => element && this.listboxItems.push(element) }, suggestionGroup.groupLabel), suggestionGroup.suggestions.map((suggestion) => (h(Option, { id: this.listboxGroupedItemId(suggestionGroup, suggestion), mouseEnter: () => this.selectSuggestion(suggestion, suggestionGroup), mouseLeave: () => this.resetSelectedSuggestion(), click: this.onOptionClick, selected: (suggestion === this.selectedSuggestion).toString(), suggestion: suggestion, ref: (element) => element && this.listboxItems.push(element), markedSuggestion: this.getMarkedSuggestions(suggestion) })))));
518
521
  })) ||
519
522
  (this.notFound && (h("div", { class: "option" }, h("span", { class: "value" }, this.notFoundLabel ||
520
- this.showInputValueNotFound(this.text("notFound", { inputValue: this.inputValue }))))))))))), h("div", { key: '8bc3ef5d5fe0cdf375c0d200f383f34340795553', class: "sr-only", "aria-live": "polite", "aria-atomic": "true" }, showListbox || (this.loading && this.showLoading) ? this.getAutosuggestStatus() : undefined)));
523
+ this.showInputValueNotFound(this.text("notFound", { inputValue: this.inputValue }))))))))))), h("div", { key: 'da8db85e24f6c3d6e2d66d519dca30f6e8eb0f85', class: "sr-only", "aria-live": "polite", "aria-atomic": "true" }, showListbox || (this.loading && this.showLoading) ? this.getAutosuggestStatus() : undefined)));
521
524
  }
522
525
  static get is() { return "dso-autosuggest"; }
523
526
  static get encapsulation() { return "scoped"; }
@@ -1,6 +1,7 @@
1
1
  import { Host, h } from "@stencil/core";
2
2
  import { clsx } from "clsx";
3
- import { positionTooltip } from "../../functional-components/tooltip/position-tooltip.function";
3
+ import { ToggletipController } from "../../functional-components/tooltip/toggletip.controller";
4
+ import { TooltipController } from "../../functional-components/tooltip/tooltip.controller";
4
5
  import { Tooltip } from "../../functional-components/tooltip/tooltip.functional-component";
5
6
  /**
6
7
  * @slot - The message inside the badge.
@@ -9,8 +10,20 @@ import { Tooltip } from "../../functional-components/tooltip/tooltip.functional-
9
10
  */
10
11
  export class Badge {
11
12
  constructor() {
12
- this.lastClickTime = 0;
13
- this.tooltipShowDelay = 500;
13
+ this.tooltipController = new TooltipController({
14
+ getReferenceElement: () => this.buttonElRef,
15
+ getTipElement: () => this.tooltipElRef,
16
+ getTipArrowElement: () => this.tooltipArrowElRef,
17
+ getPlacement: () => "top",
18
+ showDelay: 500,
19
+ });
20
+ this.toggletipController = new ToggletipController({
21
+ getReferenceElement: () => this.buttonElRef,
22
+ getTipElement: () => this.toggletipElRef,
23
+ getTipArrowElement: () => this.toggletipArrowElRef,
24
+ getRestrictContentElement: () => this.restrictContentElement,
25
+ getPlacement: () => this.toggletipPlacement,
26
+ });
14
27
  /**
15
28
  * The placement of the toggletip on click of the interactive Badge with Toggletip.
16
29
  */
@@ -18,38 +31,10 @@ export class Badge {
18
31
  this.toggletipActive = false;
19
32
  this.hasToggletip = false;
20
33
  this.handleShowTooltip = () => {
21
- // Don't show the tooltip if the button is clicked within 500ms of the last click
22
- if (Date.now() - this.lastClickTime < this.tooltipShowDelay) {
23
- return;
24
- }
25
- this.clearToolTipTimeout();
26
- this.tooltipTimeout = window.setTimeout(() => {
27
- if (!this.tooltipElRef?.isConnected) {
28
- return;
29
- }
30
- this.tooltipElRef?.showPopover();
31
- if (!this.cleanUpFunctionTooltip && this.buttonElRef && this.tooltipElRef && this.tooltipArrowElRef) {
32
- this.cleanUpFunctionTooltip = positionTooltip({
33
- referenceElement: this.buttonElRef,
34
- tipRef: this.tooltipElRef,
35
- tipArrowRef: this.tooltipArrowElRef,
36
- placementTip: "top",
37
- topPositionSmallViewPort: false,
38
- halfMainAxisOffset: false,
39
- forceVisible: true,
40
- });
41
- }
42
- }, this.tooltipShowDelay);
34
+ this.tooltipController.show();
43
35
  };
44
36
  this.handleHideTooltip = () => {
45
- this.clearToolTipTimeout();
46
- if (this.tooltipElRef?.isConnected && this.tooltipElRef.matches(":popover-open")) {
47
- this.tooltipElRef.hidePopover();
48
- }
49
- if (this.cleanUpFunctionTooltip) {
50
- this.cleanUpFunctionTooltip();
51
- this.cleanUpFunctionTooltip = undefined;
52
- }
37
+ this.tooltipController.hide();
53
38
  };
54
39
  this.keyDownHandler = (event) => {
55
40
  if (!this.toggletipActive)
@@ -61,58 +46,21 @@ export class Badge {
61
46
  this.focusOutHandler = (event) => {
62
47
  if (!this.host.contains(event.relatedTarget)) {
63
48
  this.toggletipActive = false;
64
- this.toggletipElRef?.hidePopover();
65
- }
66
- };
67
- this.clearToolTipTimeout = () => {
68
- if (this.tooltipTimeout) {
69
- clearTimeout(this.tooltipTimeout);
70
49
  }
71
50
  };
72
51
  }
73
52
  handleToggle() {
74
- this.lastClickTime = Date.now();
53
+ this.tooltipController.notifyClick();
75
54
  this.toggletipActive = !this.toggletipActive;
76
55
  this.handleHideTooltip();
77
56
  }
78
- cleanUpToggletip() {
79
- this.cleanUpFunctionToggletip?.();
80
- this.cleanUpFunctionToggletip = undefined;
81
- }
82
- cleanUpTooltip() {
83
- this.clearToolTipTimeout();
84
- this.cleanUpFunctionTooltip?.();
85
- this.cleanUpFunctionTooltip = undefined;
86
- }
87
57
  componentDidRender() {
88
58
  if (!this.hasToggletip) {
89
- this.toggletipElRef?.hidePopover();
90
- this.cleanUpToggletip();
91
- this.cleanUpTooltip();
59
+ this.tooltipController.hide();
60
+ this.toggletipController.dispose();
92
61
  return;
93
62
  }
94
- if (!this.cleanUpFunctionToggletip &&
95
- this.toggletipActive &&
96
- this.buttonElRef &&
97
- this.toggletipElRef &&
98
- this.toggletipArrowElRef) {
99
- this.cleanUpFunctionToggletip = positionTooltip({
100
- referenceElement: this.buttonElRef,
101
- tipRef: this.toggletipElRef,
102
- tipArrowRef: this.toggletipArrowElRef,
103
- placementTip: this.toggletipPlacement,
104
- restrictContentElement: this.restrictContentElement,
105
- });
106
- }
107
- if (this.cleanUpFunctionToggletip) {
108
- if (this.toggletipActive) {
109
- this.toggletipElRef?.showPopover();
110
- }
111
- else {
112
- this.toggletipElRef?.hidePopover();
113
- this.cleanUpToggletip();
114
- }
115
- }
63
+ this.toggletipController.update(this.toggletipActive);
116
64
  }
117
65
  connectedCallback() {
118
66
  this.mutationObserver = new MutationObserver(() => {
@@ -124,13 +72,14 @@ export class Badge {
124
72
  });
125
73
  }
126
74
  disconnectedCallback() {
127
- this.cleanUpToggletip();
75
+ this.toggletipController.dispose();
76
+ this.tooltipController.dispose();
128
77
  this.mutationObserver?.disconnect();
129
78
  delete this.mutationObserver;
130
79
  }
131
80
  render() {
132
- return ((this.hasToggletip && (h(Host, { key: '8f56471d80c9118d52956e275dc5ff7ce237da90', onKeyDown: this.keyDownHandler, onFocusout: this.focusOutHandler }, h("button", { key: '0958933c2fa529c9c6cce55165055d7c4dc1ea14', ref: (el) => (this.buttonElRef = el), type: "button", "aria-label": this.label, class: "toggletip-button", onMouseEnter: this.handleShowTooltip, onMouseLeave: this.handleHideTooltip, onFocus: this.handleShowTooltip, onBlur: this.handleHideTooltip, onClick: () => this.handleToggle() }, h("span", { key: '6490903670efe4464e7ad245277ed9072ad42743', class: clsx("dso-badge", "interactive", { [`badge-${this.status}`]: this.status }, { toggled: this.toggletipActive }) }, h("slot", { key: '5b0a207e2a68200df54a48468e230cbe1091e61e' }))), h(Tooltip, { key: '2c4dc90b24bbff89a3b5138c76f526470f3baf49', tipElementRef: (element) => (this.tooltipElRef = element), tipArrowElementRef: (element) => (this.tooltipArrowElRef = element) }, this.label), h(Tooltip, { key: '72e2930db3e66ead2daafba967d626eeb0469d03', tipElementRef: (element) => (this.toggletipElRef = element), tipArrowElementRef: (element) => (this.toggletipArrowElRef = element) }, h("dso-scrollable", { key: 'b30417c30e1527e8b2ca91acfdb06522d80aca46', ref: (element) => (this.restrictContentElement = element) }, h("slot", { key: 'afc649587d37a0bba4bfc7dc82337f1c0907e276', name: "toggletip" })))))) ||
133
- (!this.hasToggletip && (h("span", { key: '72d0faf68371571cdab19dded4e90fc79944e860', class: clsx("dso-badge", { [`badge-${this.status}`]: this.status }) }, h("slot", { key: 'd98f3b80cb9441f3f3ccb30b37dac286ed7ced56' })))));
81
+ return ((this.hasToggletip && (h(Host, { key: '42d1ac080484dc2715b74d35c5282f3967478d27', onKeyDown: this.keyDownHandler, onFocusout: this.focusOutHandler }, h("button", { key: 'e043590d457889fca4a98ce783a17d4e9358c8d0', ref: (el) => (this.buttonElRef = el), type: "button", "aria-label": this.label, class: "toggletip-button", onMouseEnter: this.handleShowTooltip, onMouseLeave: this.handleHideTooltip, onFocus: this.handleShowTooltip, onBlur: this.handleHideTooltip, onClick: () => this.handleToggle() }, h("span", { key: '7f0e34532c0837bc53277186279d01fcfce7ba88', class: clsx("dso-badge", "interactive", { [`badge-${this.status}`]: this.status }, { toggled: this.toggletipActive }) }, h("slot", { key: 'bb7204c453f0d6cd078e973e95b58da506c41710' }))), h(Tooltip, { key: '704344b00cf1f387f9090c4ba9e163697fa5f0b0', tipElementRef: (element) => (this.tooltipElRef = element), tipArrowElementRef: (element) => (this.tooltipArrowElRef = element) }, this.label), h(Tooltip, { key: '709f41ae5e01da24af80ce2483b338e6d77110be', tipElementRef: (element) => (this.toggletipElRef = element), tipArrowElementRef: (element) => (this.toggletipArrowElRef = element) }, h("dso-scrollable", { key: 'b05cf14b78d9b582929f9e44e52eeebef5f00255', ref: (element) => (this.restrictContentElement = element) }, h("slot", { key: 'ff2e0c00c8f0ca7a924d2689370c2be8fc65e787', name: "toggletip" })))))) ||
82
+ (!this.hasToggletip && (h("span", { key: '71cb4cddd7b542f0dbbf3d528a31049c118dabd5', class: clsx("dso-badge", { [`badge-${this.status}`]: this.status }) }, h("slot", { key: 'b0ac9999257dd171d0f48716d15752225b707c54' })))));
134
83
  }
135
84
  static get is() { return "dso-badge"; }
136
85
  static get encapsulation() { return "shadow"; }
@@ -1,5 +1,8 @@
1
1
  import { h } from "@stencil/core";
2
2
  import { clsx } from "clsx";
3
+ /**
4
+ * @slot - Content displayed inside the banner.
5
+ */
3
6
  export class Banner {
4
7
  constructor() {
5
8
  /**
@@ -20,9 +23,9 @@ export class Banner {
20
23
  };
21
24
  }
22
25
  render() {
23
- return (h("section", { key: '106ac9196066d1ff5def3b53f0c5e044da597eae', class: clsx("dso-banner", `alert-${this.status}`, {
26
+ return (h("section", { key: '7e0d6b1add08c4bb3b55327f4c90eeb7b0037a7a', class: clsx("dso-banner", `alert-${this.status}`, {
24
27
  "dso-compact": this.compact,
25
- }), role: "alert" }, h("div", { key: '46dddb7338aafddb2ef131a151f44ebd48171188', class: clsx("banner-inner", { icon: this.icon }) }, (this.icon || !this.compact) && h("dso-icon", { key: 'b9d7a93ef95ed532be66b859ec75ee5321233ace', icon: this.statusIcons[this.status] }), h("slot", { key: '09d91905bcc8bdfb1e29bfad8722a15667a72667' }))));
28
+ }), role: "alert" }, h("div", { key: '1d32df1c907fa14755b86efd7572dae442d5d941', class: clsx("banner-inner", { icon: this.icon }) }, (this.icon || !this.compact) && h("dso-icon", { key: 'ebe70886a922d92d224045cfdb6b0a6b5a64c490', icon: this.statusIcons[this.status] }), h("slot", { key: '417d883f09f3a3bc2b704dd7aeaf84e3a899af39' }))));
26
29
  }
27
30
  static get is() { return "dso-banner"; }
28
31
  static get encapsulation() { return "shadow"; }
@@ -1,5 +1,8 @@
1
1
  import { forceUpdate, h } from "@stencil/core";
2
2
  import { clsx } from "clsx";
3
+ /**
4
+ * @slot - The buttons or elements to be grouped within the button group.
5
+ */
3
6
  export class ButtonGroup {
4
7
  constructor() {
5
8
  /**
@@ -27,7 +30,7 @@ export class ButtonGroup {
27
30
  return hasMapIconButton || hasMapClass;
28
31
  }
29
32
  render() {
30
- return (h("div", { key: 'c14ecdbcac58f6e145a9de21d300d365790fa986', class: clsx("container", { "has-map-buttons": this.hasMapButton }), role: "group" }, h("slot", { key: 'e8fa15a41bfe8cd3c2e13aab3e0aab0b629a0c08' })));
33
+ return (h("div", { key: '0137a811a5dc4a061007ff5b7fe049809edd2937', class: clsx("container", { "has-map-buttons": this.hasMapButton }), role: "group" }, h("slot", { key: '14accee73459a6d1347b915f323695db53d9d671' })));
31
34
  }
32
35
  static get is() { return "dso-button-group"; }
33
36
  static get encapsulation() { return "shadow"; }
@@ -1,4 +1,7 @@
1
1
  import { Fragment, h } from "@stencil/core";
2
+ /**
3
+ * @slot - Cards to be displayed inside the container.
4
+ */
2
5
  export class CardContainer {
3
6
  constructor() {
4
7
  /**
@@ -7,7 +10,7 @@ export class CardContainer {
7
10
  this.mode = "list";
8
11
  }
9
12
  render() {
10
- return (h(Fragment, null, this.mode === "list" && (h("ul", { key: 'f8989755883a9c9c965a88756a6469684ca18cbc', class: "dso-card-list" }, h("slot", { key: '0c51362a275089916ae2ba11da1d850296869ff2' }))), this.mode === "grid" && (h("div", { key: '7f17c3ba5ef29157b52355b3a6f59418bbafc29f', class: "dso-card-grid" }, h("slot", { key: '3a94cef7389c8dfdf2761a858c1405ed2df10258' })))));
13
+ return (h(Fragment, null, this.mode === "list" && (h("ul", { key: 'd52f21b49b9b943187b6a73e55ca681ec96deb73', class: "dso-card-list" }, h("slot", { key: '219cf186ffb995e18a8275d640abc7ce1aa13baa' }))), this.mode === "grid" && (h("div", { key: 'cfa849d6de6f6675ad6e2d27b38d00cf072e090c', class: "dso-card-grid" }, h("slot", { key: '8d1c379c89bd3ee4e720dc93e26b3dd901b67db4' })))));
11
14
  }
12
15
  static get is() { return "dso-card-container"; }
13
16
  static get encapsulation() { return "shadow"; }
@@ -1,7 +1,10 @@
1
1
  import { Host, h } from "@stencil/core";
2
+ /**
3
+ * @slot - Content to be displayed inside the cursor tooltip.
4
+ */
2
5
  export class CursorTooltip {
3
6
  render() {
4
- return (h(Host, { key: '347627ca492963e1ab8a2e8cb74d75d757d524aa', class: "dso-cursor-tooltip" }, h("slot", { key: '6e7fd839fcf3f7ac9dd608598de54f4f4cb3ae06' })));
7
+ return (h(Host, { key: '50c4a5c22b73e08041720bdbe89e59255df98bc2', class: "dso-cursor-tooltip" }, h("slot", { key: '9b97e4490cac3a9cf6893eed6b786adbe88fed11' })));
5
8
  }
6
9
  static get is() { return "dso-cursor-tooltip"; }
7
10
  static get encapsulation() { return "shadow"; }
@@ -27,6 +27,8 @@ const AantekenAlert = ({ gereserveerd, vervallen }) => {
27
27
  return null;
28
28
  };
29
29
  /**
30
+ * @slot - A slot to place child elements of the document component in.
31
+ * @slot annotations - A slot to place annotation elements (metadata and map data) in.
30
32
  * @part _annotation-container - private part, do not touch.
31
33
  * @part _children-container - private part, do not touch.
32
34
  * @part _content - private part, do not touch.
@@ -185,17 +187,17 @@ export class DocumentComponent {
185
187
  this.alternativeTitle ||
186
188
  this.label ||
187
189
  this.annotated);
188
- return (h(Host, { key: 'c74a84045f6e688023186db329f7f85908ed5337', "not-collapsible": !collapsible }, showHeading && (h("div", { key: 'c5e5b4d6dfe4d7f5b2b6a40bb94d372a86cafc7e', class: "heading-container", part: "_heading-container" }, this.wijzigactie && h("span", { key: '2751e0291207d66ac2663fa432622403de404df8', class: "editaction-label" }, this.wijzigactieLabel, ":"), h("div", { key: 'b075d0c3dbc74583b2f683111d5387c98570753f', class: "heading" }, h(Heading, { key: '4c0ba463f7664a9535c134371d497b6f1bc0e539', headingLevel: this.headingLevel, class: "heading-element", onClick: this.alternativeTitle ? this.handleHeadingClick : undefined, mode: this.mode, href: this.href }, collapsible && this.mode === "document" && (h("dso-icon-button", { key: 'd37b02c768d8ec1085d53bc5f9f604856866d8eb', label: this.open ? "Invouwen" : "Uitvouwen", class: "toggle-button", expanded: this.open, icon: this.open ? "chevron-down" : "chevron-right", variant: "tertiary", onDsoClick: (e) => this.handleHeadingClick(e.detail.originalEvent) })), h("div", { key: 'ba2d6b807b8bc43235035eab657c0a26b06da363' }, this.notApplicable && h("span", { key: 'de5b749698a44e943c56dffd6d175681ac889865', class: "sr-only" }, "Niet van toepassing:"), this._kop ? (h("dso-ozon-content", { class: "kop", content: this._kop, onDsoClick: this.handleOzonContentClick, mark: this.mark && ((text) => this.mark?.(text, "kop")), onDsoOzonContentMarkItemHighlight: (e) => this.dsoMarkItemHighlight.emit({ ...e.detail, source: "kop" }), inline: true, urlResolver: this.ozonContentUrlResolver, begripResolver: this.ozonContentBegripResolver, annotated: this.annotated })) : (h("span", { class: "alternative-title" }, (!this.mark && this.alternativeTitle) ||
189
- (this.mark && this.alternativeTitle && (h(MarkText, { mark: this.mark && ((text) => this.mark?.(text, "alternativeTitle")), text: this.alternativeTitle, emitMarkItemHighlight: (text, elementRef) => this.dsoMarkItemHighlight.emit({ text, elementRef, source: "alternativeTitle" }) }))))), h(AantekenStatus, { key: '76adf889f8acd26ad184d806360ab807e69ec001', gereserveerd: this._gereserveerd, vervallen: this._vervallen }))), this.recursiveToggle !== undefined && this.open && this.mode === "document" && (h("dso-icon-button", { key: 'feb5ac412852a2bfdf59dbed39fff1d62df98937', label: this.recursiveToggle === true ? "Verberg onderliggende artikelen" : "Toon onderliggende artikelen", class: "recursive-toggle", expanded: this.recursiveToggle === true, icon: this.recursiveToggle === true ? "eye" : "eye-slash", variant: "tertiary", onDsoClick: (e) => this.handleRecursiveToggleClick(e.detail.originalEvent) })), this.showBadge() && (h(Fragment, { key: 'a201c92da43f58fd7bd29875e2123ba2dfef781e' }, h("dso-badge", { key: '2439d9a46f990eec2b27a3de814dbd3bf8e11ee6', status: this.badgeStatus, label: this.badgeTooltip ? "Toon toelichting" : undefined }, this.badge, this.badgeTooltip && h("div", { key: 'dc26e0a49fd31dda18231c9af2b4dd38df96b3ba', slot: "toggletip" }, this.badgeTooltip)))), (this.label || this.annotated) && (h("div", { key: '6b13b7d11f02d693984bc75737d7ba2fe164bf6e', class: "addons" }, this.label && (h("dso-label", { key: 'e52f5e67f1f24f4751e29a877fbb75cd8161ee96', status: this.labelStatus, compact: true }, this.label)), this.annotated && this.mode === "document" && (h("dso-icon-button", { key: '2f867c2f71562c9ab35df1a449a691c8d0f42c95', label: `Kenmerken en kaartgegevens ${this.openAnnotation ? "verbergen" : "tonen"}`, icon: "label", expanded: this.openAnnotation, variant: "tertiary", onDsoClick: (e) => this.dsoAnnotationToggle.emit({
190
+ return (h(Host, { key: 'c6d360312cae20fec1f668dbd12f246f96626891', "not-collapsible": !collapsible }, showHeading && (h("div", { key: '1a7c2f8d878a5c4e4b6beaff100b51895cfcb2ae', class: "heading-container", part: "_heading-container" }, this.wijzigactie && h("span", { key: '57afe76e091e2fe450154ffa9910b39e0eb727ab', class: "editaction-label" }, this.wijzigactieLabel, ":"), h("div", { key: '56c7aa014beded2d859a76b82c0bd837e14a2638', class: "heading" }, h(Heading, { key: '83291762e558deeb851a400462a1a58236cf3d03', headingLevel: this.headingLevel, class: "heading-element", onClick: this.alternativeTitle ? this.handleHeadingClick : undefined, mode: this.mode, href: this.href }, collapsible && this.mode === "document" && (h("dso-icon-button", { key: '15a5ede0cdc580dd06933598e1b1dc398bac54c2', label: this.open ? "Invouwen" : "Uitvouwen", class: "toggle-button", expanded: this.open, icon: this.open ? "chevron-down" : "chevron-right", variant: "tertiary", onDsoClick: (e) => this.handleHeadingClick(e.detail.originalEvent) })), h("div", { key: 'c2890a5f8eb472964eaa7c2357f6a9d4f4a24a53' }, this.notApplicable && h("span", { key: '51c58015b062dfd30dc2c861f0ca3b643853972f', class: "sr-only" }, "Niet van toepassing:"), this._kop ? (h("dso-ozon-content", { class: "kop", content: this._kop, onDsoClick: this.handleOzonContentClick, mark: this.mark && ((text) => this.mark?.(text, "kop")), onDsoOzonContentMarkItemHighlight: (e) => this.dsoMarkItemHighlight.emit({ ...e.detail, source: "kop" }), inline: true, urlResolver: this.ozonContentUrlResolver, begripResolver: this.ozonContentBegripResolver, annotated: this.annotated })) : (h("span", { class: "alternative-title" }, (!this.mark && this.alternativeTitle) ||
191
+ (this.mark && this.alternativeTitle && (h(MarkText, { mark: this.mark && ((text) => this.mark?.(text, "alternativeTitle")), text: this.alternativeTitle, emitMarkItemHighlight: (text, elementRef) => this.dsoMarkItemHighlight.emit({ text, elementRef, source: "alternativeTitle" }) }))))), h(AantekenStatus, { key: 'c416dab7dd9703dbae2bf1fb1893316d1f7b702c', gereserveerd: this._gereserveerd, vervallen: this._vervallen }))), this.recursiveToggle !== undefined && this.open && this.mode === "document" && (h("dso-icon-button", { key: '9516065912c88183853dae03c5746929a994eeea', label: this.recursiveToggle === true ? "Verberg onderliggende artikelen" : "Toon onderliggende artikelen", class: "recursive-toggle", expanded: this.recursiveToggle === true, icon: this.recursiveToggle === true ? "eye" : "eye-slash", variant: "tertiary", onDsoClick: (e) => this.handleRecursiveToggleClick(e.detail.originalEvent) })), this.showBadge() && (h(Fragment, { key: '7d4c5a451377f4315b6b1f1539d3fe5cf7373dc7' }, h("dso-badge", { key: '942f0faa769251b3956350389d6191b3527eb897', status: this.badgeStatus, label: this.badgeTooltip ? "Toon toelichting" : undefined }, this.badge, this.badgeTooltip && h("div", { key: 'fd9cc5197bc9c11016567362780bb92315600ee5', slot: "toggletip" }, this.badgeTooltip)))), (this.label || this.annotated) && (h("div", { key: '074d8a89800ab706f584b96fb38e0666c3dc8c70', class: "addons" }, this.label && (h("dso-label", { key: '6ea565e6ff7896ae012f531a4b8e1df176cb28d3', status: this.labelStatus, compact: true }, this.label)), this.annotated && this.mode === "document" && (h("dso-icon-button", { key: '292a3d01cb2289518cfc8f14d3ae4f54c1f8232f', label: `Kenmerken en kaartgegevens ${this.openAnnotation ? "verbergen" : "tonen"}`, icon: "label", expanded: this.openAnnotation, variant: "tertiary", onDsoClick: (e) => this.dsoAnnotationToggle.emit({
190
192
  current: this.openAnnotation,
191
193
  next: !this.openAnnotation,
192
194
  scrollRef: this.host,
193
195
  originalEvent: e.detail.originalEvent,
194
- }) }))))))), this.openAnnotation && (h("div", { key: 'b19aa75cba74c6b96f7635eee3508878148e208c', class: "annotation-container", part: "_annotation-container", role: "dialog", "aria-labelledby": "annotations-heading" }, h("dso-panel", { key: '5c8b46cf506799cb8a9747a3d1df2e61af8683cb', id: "annotations", onDsoCloseClick: (e) => this.dsoAnnotationToggle.emit({
196
+ }) }))))))), this.openAnnotation && (h("div", { key: 'c6783e23c5b0d92a75f0daeeff3f17fc86e273a0', class: "annotation-container", part: "_annotation-container", role: "dialog", "aria-labelledby": "annotations-heading" }, h("dso-panel", { key: '0dc23e49986b9f6ef10df289daeb960e3308cf1d', id: "annotations", onDsoCloseClick: (e) => this.dsoAnnotationToggle.emit({
195
197
  current: true,
196
198
  next: false,
197
199
  originalEvent: e,
198
- }), closeButtonLabel: "Kenmerken en kaartgegevens verbergen" }, h("h2", { key: '90d86723aec2d1588dd41ed118e2b84488116883', id: "annotations-heading", slot: "heading" }, "Kenmerken en kaart"), h("slot", { key: '45ab22a8f8fb703eb39a44146d044d18f7187686', name: "annotations" })))), this.open && (this._inhoud || this._gereserveerd || this._vervallen) && this.mode === "document" && (h("div", { key: '045d1dd6092c5cee9fe13668e4c4031032a57c7b', class: "content", part: "_content" }, h(AantekenAlert, { key: '54cb2c48c4e385fb2c180fa31a014072915d760c', gereserveerd: this._gereserveerd, vervallen: this._vervallen }), this._inhoud && (h("dso-ozon-content", { key: '824d8b870385dbe01425e8375f93911319009008', content: this._inhoud, onDsoClick: this.handleOzonContentClick, mark: this.mark && ((text) => this.mark?.(text, "inhoud")), onDsoOzonContentMarkItemHighlight: (e) => this.dsoMarkItemHighlight.emit({ ...e.detail, source: "inhoud" }), urlResolver: this.ozonContentUrlResolver, begripResolver: this.ozonContentBegripResolver, annotated: this.annotated })))), h("div", { key: 'dafe7da4d891288415a2ea5ecb709815ae429fae', class: "children-container", part: "_children-container" }, h("slot", { key: '664a07567698153090777d81c6ff27ddce32317b' }))));
200
+ }), closeButtonLabel: "Kenmerken en kaartgegevens verbergen" }, h("h2", { key: 'c6aa4ffa7bedad876bc336bf06b05b0868e5288f', id: "annotations-heading", slot: "heading" }, "Kenmerken en kaart"), h("slot", { key: '42d7d144687ed698bd9d2cd8c6e0148157820cc4', name: "annotations" })))), this.open && (this._inhoud || this._gereserveerd || this._vervallen) && this.mode === "document" && (h("div", { key: '813ec0cfe9dab1d1b4181f7b577e05daec98a7de', class: "content", part: "_content" }, h(AantekenAlert, { key: 'bc0af71076866d282259efc251dcccd973b23cbb', gereserveerd: this._gereserveerd, vervallen: this._vervallen }), this._inhoud && (h("dso-ozon-content", { key: '5a5a5858a0017bd0634fb2dc8ddc924bbe713c53', content: this._inhoud, onDsoClick: this.handleOzonContentClick, mark: this.mark && ((text) => this.mark?.(text, "inhoud")), onDsoOzonContentMarkItemHighlight: (e) => this.dsoMarkItemHighlight.emit({ ...e.detail, source: "inhoud" }), urlResolver: this.ozonContentUrlResolver, begripResolver: this.ozonContentBegripResolver, annotated: this.annotated })))), h("div", { key: '3a6fc06676c63b331328540161d509a7b830c6c1', class: "children-container", part: "_children-container" }, h("slot", { key: 'edf04d48a076d5f2e3a85e8f8847581637138636' }))));
199
201
  }
200
202
  static get is() { return "dso-document-component"; }
201
203
  static get encapsulation() { return "shadow"; }
@@ -1,6 +1,9 @@
1
1
  import { Host, forceUpdate, h } from "@stencil/core";
2
2
  import { clsx } from "clsx";
3
3
  import { v4 as uuidv4 } from "uuid";
4
+ /**
5
+ * @slot - The dropdown menu items to be grouped.
6
+ */
4
7
  export class DropdownMenuGroup {
5
8
  get dropdownMenu() {
6
9
  return this.host.closest("dso-dropdown-menu");
@@ -14,7 +17,7 @@ export class DropdownMenuGroup {
14
17
  render() {
15
18
  const checkable = this.dropdownMenuState?.checkable;
16
19
  const labelId = this.label ? uuidv4() : undefined;
17
- return (h(Host, { key: 'a47b9cc30b25077ebf8d87e42593b6471e459cd2' }, h("div", { key: '4731d76aabb0cacbe3a645b6f3b11a961d0a710f', "aria-labelledby": labelId, role: "group" }, this.label && (h("div", { key: '64f94ef64b5217e3b23aad96df535584ff7977d5', id: labelId, class: clsx("group-label", { checkable }), role: "none" }, this.label)), h("slot", { key: '94f81e77530b754a83ef748cb5ae6897fa764fb4' }))));
20
+ return (h(Host, { key: '828445e3fce42f05e8821882721607aa830df4f3' }, h("div", { key: '3e6056d9280593d15dbc3bb5b8d429a09b41594a', "aria-labelledby": labelId, role: "group" }, this.label && (h("div", { key: '48d604d2cf034f3c59badd6805da5cd848b64e6e', id: labelId, class: clsx("group-label", { checkable }), role: "none" }, this.label)), h("slot", { key: '04b6137e817c71ac38a2c0a12957da78951823c7' }))));
18
21
  }
19
22
  static get is() { return "dso-dropdown-menu-group"; }
20
23
  static get encapsulation() { return "shadow"; }
@@ -1,6 +1,9 @@
1
1
  import { Host, forceUpdate, h, } from "@stencil/core";
2
2
  import { clsx } from "clsx";
3
3
  import { isModifiedEvent } from "../../../utils/is-modified-event";
4
+ /**
5
+ * @slot - The content or label of the dropdown menu item.
6
+ */
4
7
  export class DropdownMenuItem {
5
8
  constructor() {
6
9
  this.handleClick = (event) => {
@@ -25,7 +28,7 @@ export class DropdownMenuItem {
25
28
  render() {
26
29
  const checkable = this.dropdownMenuState?.checkable;
27
30
  const checked = checkable ? Boolean(this.checked) : undefined;
28
- return (h(Host, { key: '5a958be40201eb5abc39592736e65938b5c45de1' }, h("div", { key: 'aa535ff81401a9c12e123e913dd19374cd4713cc', role: "none", class: clsx([{ checkable, checked }]) }, this.type === "button" && (h("button", { key: '6ae9656516c19afd1e2c5c22c8678f93d2c41eff', type: "button", role: checkable ? "menuitemradio" : "menuitem", "aria-checked": checked?.toString(), onClick: this.handleClick, ref: (element) => (this.anchorOrButtonRef = element) }, checkable && checked && h("dso-icon", { key: '8ab417ad11caeb700a8b9650b1c24772e59cc8a3', icon: "check" }), h("slot", { key: '4e7ebcda5cd7ba3469976999bf1e50fd78bf6a9b' }))), this.type === "link" && this.href && (h("a", { key: '3ac7e35aa1db310ec3816e2814c3ab3e7b078701', href: this.href, role: checkable ? "menuitemradio" : "menuitem", "aria-checked": checked?.toString(), onClick: this.handleClick, ref: (element) => (this.anchorOrButtonRef = element) }, checkable && checked && h("dso-icon", { key: 'be9f20d4269a8dad7df6f8a843b91fb6da46e70d', icon: "check" }), h("slot", { key: 'a2396cb075a7f91a8d3a766e3509a34eac7f7367' }))))));
31
+ return (h(Host, { key: '3e62950ca227a74a180bf1f945f8221a2b9ac0fd' }, h("div", { key: '3a343d69e9fce9a4ef288798a03a6b475d9fe70f', role: "none", class: clsx([{ checkable, checked }]) }, this.type === "button" && (h("button", { key: 'fa7dc161a2f76eb3c8cc5cc6612270c9fc48ed34', type: "button", role: checkable ? "menuitemradio" : "menuitem", "aria-checked": checked?.toString(), onClick: this.handleClick, ref: (element) => (this.anchorOrButtonRef = element) }, checkable && checked && h("dso-icon", { key: 'a3cd2eefa6c8285fedef6d6a5141130b9000c9a7', icon: "check" }), h("slot", { key: 'd322c46f64ffdeb30b0fe3d789d7d928e635f8dc' }))), this.type === "link" && this.href && (h("a", { key: '067d0ea97bcca792a7e3e21b8958ba7d3a095e58', href: this.href, role: checkable ? "menuitemradio" : "menuitem", "aria-checked": checked?.toString(), onClick: this.handleClick, ref: (element) => (this.anchorOrButtonRef = element) }, checkable && checked && h("dso-icon", { key: '1b1a699d1de520faef59c3e2ea0db73a1b3102b6', icon: "check" }), h("slot", { key: '43c6db81a62db3367081ceb256b370ed726159f3' }))))));
29
32
  }
30
33
  static get is() { return "dso-dropdown-menu-item"; }
31
34
  static get encapsulation() { return "shadow"; }