@dso-toolkit/core 100.3.0 → 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 (541) 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 +6 -6
  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 +3 -3
  39. package/dist/bundle/dso-label.js +1 -1
  40. package/dist/bundle/dso-legend-group.js +5 -5
  41. package/dist/bundle/dso-legend-item.js +8 -8
  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 +2 -2
  45. package/dist/bundle/dso-map-base-layers.js +9 -9
  46. package/dist/bundle/dso-map-controls.js +7 -7
  47. package/dist/bundle/dso-map-layer-object.js +4 -4
  48. package/dist/bundle/dso-map-layer.js +4 -4
  49. package/dist/bundle/dso-map-message.js +4 -4
  50. package/dist/bundle/dso-map-overlays.js +9 -9
  51. package/dist/bundle/dso-mark-bar.js +4 -4
  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 +4 -4
  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 +2 -2
  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 +5 -5
  68. package/dist/bundle/dso-skiplink.js +3 -3
  69. package/dist/bundle/dso-slide-toggle.js +1 -1
  70. package/dist/bundle/dso-survey-rating.js +6 -6
  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 +2 -2
  74. package/dist/bundle/dso-tijdreis-banner.js +3 -3
  75. package/dist/bundle/dso-tree-view.js +4 -4
  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-hkT73OMa.js → p-6lwKSTtN.js} +9 -9
  80. package/dist/bundle/{p-i3p8engD.js → p-B1sfJaTU.js} +16 -45
  81. package/dist/bundle/{p-DCB4WOS7.js → p-B5zDTnXM.js} +6 -6
  82. package/dist/bundle/{p-ClxcNLxu.js → p-BHAfq_R9.js} +8 -8
  83. package/dist/bundle/{p-O1XEOqgC.js → p-BHPEhHca.js} +2 -2
  84. package/dist/bundle/{p-DB6jeYdL.js → p-BIioZO_6.js} +1 -1
  85. package/dist/bundle/{p-CSFTUYxS.js → p-BMhDrgpW.js} +4 -4
  86. package/dist/bundle/{p-BUMxb_Ev.js → p-BZr7fJps.js} +16 -27
  87. package/dist/bundle/{p-jornOoTk.js → p-BdK56OMA.js} +7 -7
  88. package/dist/bundle/{p-DPvJlcnu.js → p-BdO8V8e5.js} +5 -5
  89. package/dist/bundle/{p-OmU7Yv3A.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-CwsxKEZu.js → p-BvB8dh8P.js} +2 -2
  93. package/dist/bundle/p-C49HfF1N.js +60 -0
  94. package/dist/bundle/{p-Ba4T-27v.js → p-CDD0hRMQ.js} +10 -10
  95. package/dist/bundle/{p-CFU9xZQK.js → p-CDym9tDn.js} +4 -4
  96. package/dist/bundle/{p-DdH_IPw_.js → p-CMhiuOhg.js} +1 -1
  97. package/dist/bundle/{p-BdIkNKXy.js → p-CSbcQBj9.js} +2 -2
  98. package/dist/bundle/{p-C_h0uNbd.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-CfRHoykw.js → p-D09qaSTl.js} +3 -3
  101. package/dist/bundle/{p-nIEuIxSJ.js → p-D7-d0naf.js} +18 -42
  102. package/dist/bundle/{p-BVLZrKNg.js → p-DHj0KBgK.js} +1 -1
  103. package/dist/bundle/{p-euQGyPM7.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-jgC8pS3f.js → p-Diwr4pu4.js} +16 -30
  107. package/dist/bundle/{p-DG8Kv-AI.js → p-DixhcduG.js} +4 -3
  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-GK7sI8Gb.js → p-uUZVT-Ex.js} +4 -4
  112. package/dist/bundle/{p-CCOI5nUo.js → 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 +50 -115
  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 +4 -4
  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 +19 -47
  146. package/dist/cjs/dso-info_3.cjs.entry.js +18 -42
  147. package/dist/cjs/dso-input-range.cjs.entry.js +3 -3
  148. package/dist/cjs/dso-label_3.cjs.entry.js +16 -27
  149. package/dist/cjs/dso-legend-group.cjs.entry.js +3 -3
  150. package/dist/cjs/dso-legend-item.cjs.entry.js +3 -3
  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 +2 -2
  154. package/dist/cjs/dso-map-base-layers.cjs.entry.js +3 -3
  155. package/dist/cjs/dso-map-controls.cjs.entry.js +3 -3
  156. package/dist/cjs/dso-map-layer-object.cjs.entry.js +3 -3
  157. package/dist/cjs/dso-map-layer.cjs.entry.js +3 -3
  158. package/dist/cjs/dso-map-message.cjs.entry.js +3 -3
  159. package/dist/cjs/dso-map-overlays.cjs.entry.js +3 -3
  160. package/dist/cjs/dso-mark-bar.cjs.entry.js +2 -2
  161. package/dist/cjs/dso-modal.cjs.entry.js +3 -3
  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 +3 -3
  165. package/dist/cjs/dso-progress-indicator.cjs.entry.js +3 -3
  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 +4 -4
  169. package/dist/cjs/dso-segmented-button.cjs.entry.js +2 -2
  170. package/dist/cjs/dso-shopping-cart-item.cjs.entry.js +1 -1
  171. package/dist/cjs/dso-shopping-cart.cjs.entry.js +3 -3
  172. package/dist/cjs/dso-skiplink.cjs.entry.js +2 -2
  173. package/dist/cjs/dso-survey-rating.cjs.entry.js +3 -3
  174. package/dist/cjs/dso-tab.cjs.entry.js +1 -1
  175. package/dist/cjs/dso-tabs.cjs.entry.js +2 -2
  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 +2 -2
  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 +8 -5
  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.css +1 -0
  211. package/dist/collection/components/dropdown-menu/dropdown-menu.js +4 -1
  212. package/dist/collection/components/expandable/expandable.js +5 -2
  213. package/dist/collection/components/grid-column/grid-column.js +2 -3
  214. package/dist/collection/components/header/header.css +32 -14
  215. package/dist/collection/components/header/header.js +22 -3
  216. package/dist/collection/components/highlight-box/highlight-box.js +5 -1
  217. package/dist/collection/components/icon/icon.js +3 -2
  218. package/dist/collection/components/icon-button/icon-button.js +13 -43
  219. package/dist/collection/components/image-overlay/image-overlay.js +5 -0
  220. package/dist/collection/components/info/info.js +4 -1
  221. package/dist/collection/components/info-button/info-button.js +16 -38
  222. package/dist/collection/components/input-range/input-range.js +2 -2
  223. package/dist/collection/components/label/label.js +16 -24
  224. package/dist/collection/components/legend/legend-group/legend-group.js +1 -1
  225. package/dist/collection/components/legend/legend-item/legend-item.js +1 -1
  226. package/dist/collection/components/legend/legend.js +4 -1
  227. package/dist/collection/components/list-button/list-button.js +4 -1
  228. package/dist/collection/components/logo/logo.js +1 -1
  229. package/dist/collection/components/map-base-layers/map-base-layers.js +1 -1
  230. package/dist/collection/components/map-controls/map-controls.js +4 -1
  231. package/dist/collection/components/map-layer/components/map-layer-object.js +1 -1
  232. package/dist/collection/components/map-layer/map-layer.js +1 -1
  233. package/dist/collection/components/map-message/map-message.js +2 -2
  234. package/dist/collection/components/map-overlays/map-overlays.js +1 -1
  235. package/dist/collection/components/mark-bar/mark-bar.js +1 -1
  236. package/dist/collection/components/modal/modal.js +1 -1
  237. package/dist/collection/components/onboarding-tip/onboarding-tip.js +5 -1
  238. package/dist/collection/components/ozon-content/components/ozon-content-toggletip/ozon-content-toggletip.js +16 -27
  239. package/dist/collection/components/ozon-content/ozon-content.js +1 -1
  240. package/dist/collection/components/panel/panel.js +1 -1
  241. package/dist/collection/components/plekinfo-card/plekinfo-card.js +1 -1
  242. package/dist/collection/components/progress-indicator/progress-indicator.js +1 -1
  243. package/dist/collection/components/project-item/project-item.js +7 -1
  244. package/dist/collection/components/responsive-element/responsive-element.js +4 -1
  245. package/dist/collection/components/scrollable/scrollable.css +1 -1
  246. package/dist/collection/components/scrollable/scrollable.js +5 -2
  247. package/dist/collection/components/segmented-button/segmented-button.js +1 -1
  248. package/dist/collection/components/selectable/selectable.js +1 -1
  249. package/dist/collection/components/shopping-cart/shopping-cart.js +2 -2
  250. package/dist/collection/components/skiplink/skiplink.js +1 -1
  251. package/dist/collection/components/slide-toggle/slide-toggle.js +4 -1
  252. package/dist/collection/components/survey-rating/survey-rating.js +2 -2
  253. package/dist/collection/components/table/table.js +5 -1
  254. package/dist/collection/components/tabs/tabs.js +1 -1
  255. package/dist/collection/components/tijdreis-banner/tijdreis-banner.js +5 -1
  256. package/dist/collection/components/tree-view/tree-view.js +1 -1
  257. package/dist/collection/components/viewer-grid/viewer-grid.js +5 -9
  258. package/dist/collection/functional-components/tooltip/toggletip.controller.js +57 -0
  259. package/dist/collection/functional-components/tooltip/tooltip.controller.js +73 -0
  260. package/dist/components/alert.js +1 -1
  261. package/dist/components/annotation-locatie.js +1 -1
  262. package/dist/components/badge.js +1 -1
  263. package/dist/components/button-group.js +1 -1
  264. package/dist/components/document-component.js +1 -1
  265. package/dist/components/dso-accordion-section.js +1 -1
  266. package/dist/components/dso-accordion.js +1 -1
  267. package/dist/components/dso-action-list-item.js +1 -1
  268. package/dist/components/dso-action-list.js +1 -1
  269. package/dist/components/dso-annotation-activiteit.js +1 -1
  270. package/dist/components/dso-annotation-gebiedsaanwijzing.js +1 -1
  271. package/dist/components/dso-annotation-omgevingsnormwaarde.js +1 -1
  272. package/dist/components/dso-autosuggest.js +1 -1
  273. package/dist/components/dso-banner.js +1 -1
  274. package/dist/components/dso-card-container.js +1 -1
  275. package/dist/components/dso-cursor-tooltip.js +1 -1
  276. package/dist/components/dso-dropdown-menu-group.js +1 -1
  277. package/dist/components/dso-dropdown-menu-item.js +1 -1
  278. package/dist/components/dso-dropdown-menu.js +1 -1
  279. package/dist/components/dso-grid-column.js +1 -1
  280. package/dist/components/dso-header.js +1 -1
  281. package/dist/components/dso-highlight-box.js +1 -1
  282. package/dist/components/dso-input-range.js +1 -1
  283. package/dist/components/dso-legend-group.js +1 -1
  284. package/dist/components/dso-legend-item.js +1 -1
  285. package/dist/components/dso-legend.js +1 -1
  286. package/dist/components/dso-list-button.js +1 -1
  287. package/dist/components/dso-logo.js +1 -1
  288. package/dist/components/dso-map-base-layers.js +1 -1
  289. package/dist/components/dso-map-controls.js +1 -1
  290. package/dist/components/dso-map-layer-object.js +1 -1
  291. package/dist/components/dso-map-layer.js +1 -1
  292. package/dist/components/dso-map-message.js +1 -1
  293. package/dist/components/dso-map-overlays.js +1 -1
  294. package/dist/components/dso-mark-bar.js +1 -1
  295. package/dist/components/dso-onboarding-tip.js +1 -1
  296. package/dist/components/dso-plekinfo-card.js +1 -1
  297. package/dist/components/dso-project-item.js +1 -1
  298. package/dist/components/dso-segmented-button.js +1 -1
  299. package/dist/components/dso-shopping-cart.js +1 -1
  300. package/dist/components/dso-skiplink.js +1 -1
  301. package/dist/components/dso-survey-rating.js +1 -1
  302. package/dist/components/dso-tabs.js +1 -1
  303. package/dist/components/dso-tijdreis-banner.js +1 -1
  304. package/dist/components/dso-tree-view.js +1 -1
  305. package/dist/components/dso-viewer-grid.js +1 -1
  306. package/dist/components/expandable.js +1 -1
  307. package/dist/components/i18n.js +1 -1
  308. package/dist/components/icon-button.js +1 -1
  309. package/dist/components/icon.js +1 -1
  310. package/dist/components/info-button.js +1 -1
  311. package/dist/components/info.js +1 -1
  312. package/dist/components/label.js +1 -1
  313. package/dist/components/modal.js +1 -1
  314. package/dist/components/ozon-content-toggletip.js +1 -1
  315. package/dist/components/ozon-content.js +1 -1
  316. package/dist/components/panel.js +1 -1
  317. package/dist/components/progress-indicator.js +1 -1
  318. package/dist/components/responsive-element.js +1 -1
  319. package/dist/components/scrollable.js +1 -1
  320. package/dist/components/selectable.js +1 -1
  321. package/dist/components/slide-toggle.js +1 -1
  322. package/dist/components/table.js +1 -1
  323. package/dist/components/toggletip.controller.js +1 -0
  324. package/dist/components/tooltip.controller.js +1 -0
  325. package/dist/dso-toolkit/dso-toolkit.esm.js +1 -1
  326. package/dist/dso-toolkit/{p-126561a7.entry.js → p-0150c527.entry.js} +1 -1
  327. package/dist/dso-toolkit/p-0b1d6ae8.entry.js +1 -0
  328. package/dist/dso-toolkit/{p-99db12e8.entry.js → p-13e28f82.entry.js} +1 -1
  329. package/dist/dso-toolkit/p-179c804c.entry.js +1 -0
  330. package/dist/dso-toolkit/{p-294f153d.entry.js → p-19fa3db4.entry.js} +1 -1
  331. package/dist/dso-toolkit/{p-e114e967.entry.js → p-1ee5fdd2.entry.js} +1 -1
  332. package/dist/dso-toolkit/{p-f0b21f16.entry.js → p-1f197259.entry.js} +1 -1
  333. package/dist/dso-toolkit/{p-46d970fe.entry.js → p-2153bba4.entry.js} +1 -1
  334. package/dist/dso-toolkit/p-2sI1K6K0.js +3 -0
  335. package/dist/dso-toolkit/{p-f5fd3664.entry.js → p-300882d5.entry.js} +1 -1
  336. package/dist/dso-toolkit/{p-96c786ed.entry.js → p-32b07ce7.entry.js} +1 -1
  337. package/dist/dso-toolkit/{p-6a6a38e6.entry.js → p-36a98cb8.entry.js} +1 -1
  338. package/dist/dso-toolkit/{p-f5575f84.entry.js → p-37c83fa7.entry.js} +1 -1
  339. package/dist/dso-toolkit/{p-8bd4637f.entry.js → p-3a6a1010.entry.js} +1 -1
  340. package/dist/dso-toolkit/p-3ed9443d.entry.js +1 -0
  341. package/dist/dso-toolkit/p-42bf0148.entry.js +1 -0
  342. package/dist/dso-toolkit/p-432f9847.entry.js +1 -0
  343. package/dist/dso-toolkit/{p-288ad631.entry.js → p-4632a0df.entry.js} +1 -1
  344. package/dist/dso-toolkit/{p-356ca90c.entry.js → p-47e2a6ae.entry.js} +1 -1
  345. package/dist/dso-toolkit/{p-2381e415.entry.js → p-4aa3ca6c.entry.js} +1 -1
  346. package/dist/dso-toolkit/{p-f273babf.entry.js → p-4d7fa0e9.entry.js} +1 -1
  347. package/dist/dso-toolkit/{p-84ca2384.entry.js → p-4ec77050.entry.js} +1 -1
  348. package/dist/dso-toolkit/{p-b4a169c3.entry.js → p-52d7dd12.entry.js} +1 -1
  349. package/dist/dso-toolkit/{p-3628d830.entry.js → p-54036b31.entry.js} +1 -1
  350. package/dist/dso-toolkit/p-5612fca8.entry.js +1 -0
  351. package/dist/dso-toolkit/{p-768794e0.entry.js → p-5901d652.entry.js} +1 -1
  352. package/dist/dso-toolkit/p-63fce2aa.entry.js +1 -0
  353. package/dist/dso-toolkit/{p-ac4e9345.entry.js → p-640306bf.entry.js} +1 -1
  354. package/dist/dso-toolkit/{p-64f2263c.entry.js → p-64331ac9.entry.js} +1 -1
  355. package/dist/dso-toolkit/{p-4b81e58d.entry.js → p-67bdfcdd.entry.js} +1 -1
  356. package/dist/dso-toolkit/p-6835e07d.entry.js +1 -0
  357. package/dist/dso-toolkit/{p-5018c559.entry.js → p-6a53b29f.entry.js} +1 -1
  358. package/dist/dso-toolkit/{p-48cd0276.entry.js → p-6a68177b.entry.js} +1 -1
  359. package/dist/dso-toolkit/{p-85a18053.entry.js → p-6f7241e5.entry.js} +1 -1
  360. package/dist/dso-toolkit/p-7119884a.entry.js +1 -0
  361. package/dist/dso-toolkit/{p-1abdd4e4.entry.js → p-780ebd6c.entry.js} +1 -1
  362. package/dist/dso-toolkit/{p-6ba25c12.entry.js → p-7ebf7e11.entry.js} +1 -1
  363. package/dist/dso-toolkit/{p-5598c232.entry.js → p-7ff8aa45.entry.js} +2 -2
  364. package/dist/dso-toolkit/{p-e2d4f404.entry.js → p-8cbb00ac.entry.js} +1 -1
  365. package/dist/dso-toolkit/{p-09531c36.entry.js → p-8eda69f2.entry.js} +1 -1
  366. package/dist/dso-toolkit/{p-90a4e408.entry.js → p-9aea5b98.entry.js} +1 -1
  367. package/dist/dso-toolkit/{p-79af2ba3.entry.js → p-9c96a21a.entry.js} +1 -1
  368. package/dist/dso-toolkit/p-B02Jy5YO.js +1 -0
  369. package/dist/dso-toolkit/p-B_Ud6lxQ.js +1 -0
  370. package/dist/dso-toolkit/p-C0I7oJkh.js +1 -0
  371. package/dist/dso-toolkit/p-CUqv0PSk.js +1 -0
  372. package/dist/dso-toolkit/p-DkZG4rwC.js +1 -0
  373. package/dist/dso-toolkit/{p-kDBsQgLI.js → p-Dksz1aH2.js} +1 -1
  374. package/dist/dso-toolkit/{p-DeuvCGGT.js → p-DoJpDsvb.js} +1 -1
  375. package/dist/dso-toolkit/p-DxsAk2iQ.js +1 -0
  376. package/dist/dso-toolkit/{p-634b0a98.entry.js → p-a00c540b.entry.js} +1 -1
  377. package/dist/dso-toolkit/{p-0061cf42.entry.js → p-a0ac6345.entry.js} +1 -1
  378. package/dist/dso-toolkit/{p-f85b0396.entry.js → p-a3003466.entry.js} +1 -1
  379. package/dist/dso-toolkit/{p-7cea7c6f.entry.js → p-a43a81a4.entry.js} +1 -1
  380. package/dist/dso-toolkit/p-b093e2f2.entry.js +1 -0
  381. package/dist/dso-toolkit/{p-f17348e1.entry.js → p-b1fc14cc.entry.js} +1 -1
  382. package/dist/dso-toolkit/{p-cfccb614.entry.js → p-b26c5285.entry.js} +1 -1
  383. package/dist/dso-toolkit/{p-2e7acaf8.entry.js → p-bb0d9c4a.entry.js} +1 -1
  384. package/dist/dso-toolkit/{p-d2e60e72.entry.js → p-c0735ea5.entry.js} +1 -1
  385. package/dist/dso-toolkit/p-c8ead3ad.entry.js +1 -0
  386. package/dist/dso-toolkit/{p-3e1e08b2.entry.js → p-cafa54b4.entry.js} +1 -1
  387. package/dist/dso-toolkit/{p-bd1ce8d2.entry.js → p-cca237f7.entry.js} +1 -1
  388. package/dist/dso-toolkit/{p-ebf09749.entry.js → p-d64bd153.entry.js} +1 -1
  389. package/dist/dso-toolkit/{p-9fef9c1a.entry.js → p-d819abc5.entry.js} +1 -1
  390. package/dist/dso-toolkit/{p-df3c0dad.entry.js → p-d8dfaacb.entry.js} +1 -1
  391. package/dist/dso-toolkit/{p-3fc897a1.entry.js → p-de86de0a.entry.js} +1 -1
  392. package/dist/dso-toolkit/{p-a3750b36.entry.js → p-e2ff8b0c.entry.js} +1 -1
  393. package/dist/dso-toolkit/{p-272382d1.entry.js → p-e3d0debf.entry.js} +1 -1
  394. package/dist/dso-toolkit/{p-0cd1de97.entry.js → p-e4181a16.entry.js} +1 -1
  395. package/dist/dso-toolkit/{p-a0b21fb2.entry.js → p-e442fe62.entry.js} +1 -1
  396. package/dist/dso-toolkit/{p-3c4477df.entry.js → p-e5cd6084.entry.js} +1 -1
  397. package/dist/dso-toolkit/p-ead6c401.entry.js +1 -0
  398. package/dist/dso-toolkit/{p-088a1cf9.entry.js → p-f1047e57.entry.js} +1 -1
  399. package/dist/dso-toolkit/p-mhQu0fx2.js +1 -0
  400. package/dist/dso-toolkit/p-xDSTG4OU.js +1 -0
  401. package/dist/esm/{annotation-body-CfhN4FON.js → annotation-body-lbq2tmAQ.js} +1 -1
  402. package/dist/esm/{annotation-list-renvooi-values-BTPUEm3B.js → annotation-list-renvooi-values-iAOwX0lR.js} +1 -1
  403. package/dist/esm/{annotation-watcher-BO0jbdlD.js → annotation-watcher-COiqhqqD.js} +1 -1
  404. package/dist/esm/dso-accordion-section.entry.js +13 -4
  405. package/dist/esm/dso-accordion.entry.js +3 -3
  406. package/dist/esm/dso-action-list-item.entry.js +3 -3
  407. package/dist/esm/dso-action-list.entry.js +2 -2
  408. package/dist/esm/dso-advanced-select.entry.js +1 -1
  409. package/dist/esm/dso-alert_7.entry.js +50 -115
  410. package/dist/esm/dso-annotation-activiteit.entry.js +5 -5
  411. package/dist/esm/dso-annotation-gebiedsaanwijzing.entry.js +4 -4
  412. package/dist/esm/dso-annotation-kaart.entry.js +2 -2
  413. package/dist/esm/dso-annotation-locatie_2.entry.js +9 -9
  414. package/dist/esm/dso-annotation-omgevingsnormwaarde.entry.js +5 -5
  415. package/dist/esm/dso-attachments-counter_2.entry.js +3 -3
  416. package/dist/esm/dso-autosuggest.entry.js +4 -4
  417. package/dist/esm/dso-banner.entry.js +3 -3
  418. package/dist/esm/dso-button-group.entry.js +2 -2
  419. package/dist/esm/dso-card-container.entry.js +2 -2
  420. package/dist/esm/dso-card.entry.js +1 -1
  421. package/dist/esm/dso-contact-information.entry.js +1 -1
  422. package/dist/esm/dso-cursor-tooltip.entry.js +2 -2
  423. package/dist/esm/dso-date-picker.entry.js +1 -1
  424. package/dist/esm/dso-document-card.entry.js +1 -1
  425. package/dist/esm/dso-dropdown-menu-group.entry.js +2 -2
  426. package/dist/esm/dso-dropdown-menu-item.entry.js +2 -2
  427. package/dist/esm/dso-dropdown-menu.entry.js +4 -4
  428. package/dist/esm/dso-grid-column.entry.js +3 -4
  429. package/dist/esm/dso-header.entry.js +22 -6
  430. package/dist/esm/dso-hero-image.entry.js +1 -1
  431. package/dist/esm/dso-highlight-box.entry.js +2 -2
  432. package/dist/esm/dso-history-item.entry.js +1 -1
  433. package/dist/esm/dso-icon_2.entry.js +19 -47
  434. package/dist/esm/dso-info_3.entry.js +18 -42
  435. package/dist/esm/dso-input-range.entry.js +3 -3
  436. package/dist/esm/dso-label_3.entry.js +16 -27
  437. package/dist/esm/dso-legend-group.entry.js +3 -3
  438. package/dist/esm/dso-legend-item.entry.js +3 -3
  439. package/dist/esm/dso-legend.entry.js +3 -3
  440. package/dist/esm/dso-list-button.entry.js +2 -2
  441. package/dist/esm/dso-logo.entry.js +2 -2
  442. package/dist/esm/dso-map-base-layers.entry.js +3 -3
  443. package/dist/esm/dso-map-controls.entry.js +3 -3
  444. package/dist/esm/dso-map-layer-object.entry.js +3 -3
  445. package/dist/esm/dso-map-layer.entry.js +3 -3
  446. package/dist/esm/dso-map-message.entry.js +3 -3
  447. package/dist/esm/dso-map-overlays.entry.js +3 -3
  448. package/dist/esm/dso-mark-bar.entry.js +2 -2
  449. package/dist/esm/dso-modal.entry.js +3 -3
  450. package/dist/esm/dso-onboarding-tip.entry.js +2 -2
  451. package/dist/esm/dso-pagination.entry.js +1 -1
  452. package/dist/esm/dso-plekinfo-card.entry.js +3 -3
  453. package/dist/esm/dso-progress-indicator.entry.js +3 -3
  454. package/dist/esm/dso-project-item.entry.js +2 -2
  455. package/dist/esm/dso-responsive-element.entry.js +2 -2
  456. package/dist/esm/dso-scrollable.entry.js +4 -4
  457. package/dist/esm/dso-segmented-button.entry.js +2 -2
  458. package/dist/esm/dso-shopping-cart-item.entry.js +1 -1
  459. package/dist/esm/dso-shopping-cart.entry.js +3 -3
  460. package/dist/esm/dso-skiplink.entry.js +2 -2
  461. package/dist/esm/dso-survey-rating.entry.js +3 -3
  462. package/dist/esm/dso-tab.entry.js +1 -1
  463. package/dist/esm/dso-tabs.entry.js +2 -2
  464. package/dist/esm/dso-tijdreis-banner.entry.js +2 -2
  465. package/dist/esm/dso-toolkit.js +3 -3
  466. package/dist/esm/dso-tree-view.entry.js +2 -2
  467. package/dist/esm/dso-viewer-grid.entry.js +3 -3
  468. package/dist/esm/dsot-document-component-demo.entry.js +1 -1
  469. package/dist/esm/{i18n-CCOI5nUo.js → i18n-xDSTG4OU.js} +28 -1
  470. package/dist/esm/{index-CieBNbUH.js → index-2sI1K6K0.js} +76 -33
  471. package/dist/esm/{index-B0pTkGRp.js → index-LpJ181Xi.js} +1 -1
  472. package/dist/esm/loader.js +2 -2
  473. package/dist/esm/{parse-wijzigactie-from-node.function-DhCCxNJH.js → parse-wijzigactie-from-node.function-CrOTV1B6.js} +1 -1
  474. package/dist/esm/toggletip.controller-KNf1n4og.js +60 -0
  475. package/dist/esm/tooltip.controller-RLM8ixUv.js +76 -0
  476. package/dist/esm/{tooltip.functional-component-chN-aNlU.js → tooltip.functional-component-3fxPwYtA.js} +1 -1
  477. package/dist/esm/{wrap-wijzigactie.functional-component-BYWldnbn.js → wrap-wijzigactie.functional-component-C-ha4z-Y.js} +1 -1
  478. package/dist/types/components/accordion/accordion.d.ts +3 -0
  479. package/dist/types/components/accordion/components/accordion-section.d.ts +4 -0
  480. package/dist/types/components/action-list/action-list.d.ts +3 -0
  481. package/dist/types/components/action-list/components/action-list-item.d.ts +3 -0
  482. package/dist/types/components/alert/alert.d.ts +3 -0
  483. package/dist/types/components/annotation/annotation-activiteit/annotation-activiteit.d.ts +0 -3
  484. package/dist/types/components/annotation/annotation-gebiedsaanwijzing/annotation-gebiedsaanwijzing.d.ts +0 -3
  485. package/dist/types/components/annotation/annotation-locatie/annotation-locatie.d.ts +0 -3
  486. package/dist/types/components/annotation/annotation-omgevingsnormwaarde/annotation-omgevingsnormwaarde.d.ts +0 -5
  487. package/dist/types/components/autosuggest/autosuggest.d.ts +3 -0
  488. package/dist/types/components/badge/badge.d.ts +2 -8
  489. package/dist/types/components/banner/banner.d.ts +3 -0
  490. package/dist/types/components/button-group/button-group.d.ts +3 -0
  491. package/dist/types/components/card-container/card-container.d.ts +3 -0
  492. package/dist/types/components/cursor-tooltip/cursor-tooltip.d.ts +3 -0
  493. package/dist/types/components/document-component/document-component.d.ts +2 -0
  494. package/dist/types/components/dropdown-menu/dropdown-menu-group/dropdown-menu-group.d.ts +3 -0
  495. package/dist/types/components/dropdown-menu/dropdown-menu-item/dropdown-menu-item.d.ts +3 -0
  496. package/dist/types/components/dropdown-menu/dropdown-menu.d.ts +3 -0
  497. package/dist/types/components/expandable/expandable.d.ts +3 -0
  498. package/dist/types/components/header/header.d.ts +8 -0
  499. package/dist/types/components/highlight-box/highlight-box.d.ts +4 -0
  500. package/dist/types/components/icon-button/icon-button.d.ts +2 -7
  501. package/dist/types/components/image-overlay/image-overlay.d.ts +5 -0
  502. package/dist/types/components/info/info.d.ts +3 -0
  503. package/dist/types/components/info-button/info-button.d.ts +4 -2
  504. package/dist/types/components/label/label.d.ts +5 -2
  505. package/dist/types/components/legend/legend.d.ts +3 -0
  506. package/dist/types/components/list-button/list-button.d.ts +3 -0
  507. package/dist/types/components/map-controls/map-controls.d.ts +3 -0
  508. package/dist/types/components/onboarding-tip/onboarding-tip.d.ts +4 -0
  509. package/dist/types/components/ozon-content/components/ozon-content-toggletip/ozon-content-toggletip.d.ts +5 -2
  510. package/dist/types/components/project-item/project-item.d.ts +6 -0
  511. package/dist/types/components/responsive-element/responsive-element.d.ts +3 -0
  512. package/dist/types/components/scrollable/scrollable.d.ts +3 -0
  513. package/dist/types/components/slide-toggle/slide-toggle.d.ts +3 -0
  514. package/dist/types/components/table/table.d.ts +4 -0
  515. package/dist/types/components/tijdreis-banner/tijdreis-banner.d.ts +4 -0
  516. package/dist/types/components/viewer-grid/viewer-grid.d.ts +3 -7
  517. package/dist/types/components.d.ts +1 -13
  518. package/dist/types/functional-components/tooltip/toggletip.controller.d.ts +31 -0
  519. package/dist/types/functional-components/tooltip/tooltip.controller.d.ts +30 -0
  520. package/dist/types/stencil-public-runtime.d.ts +12 -0
  521. package/loader/index.d.ts +1 -1
  522. package/package.json +10 -10
  523. package/dist/dso-toolkit/p-0fb7714e.entry.js +0 -1
  524. package/dist/dso-toolkit/p-2d79df59.entry.js +0 -1
  525. package/dist/dso-toolkit/p-32fba74e.entry.js +0 -1
  526. package/dist/dso-toolkit/p-55668cd5.entry.js +0 -1
  527. package/dist/dso-toolkit/p-591d65b2.entry.js +0 -1
  528. package/dist/dso-toolkit/p-65c6df97.entry.js +0 -1
  529. package/dist/dso-toolkit/p-8f408a07.entry.js +0 -1
  530. package/dist/dso-toolkit/p-9ca7e45e.entry.js +0 -1
  531. package/dist/dso-toolkit/p-C32sfSnK.js +0 -1
  532. package/dist/dso-toolkit/p-C7Q97EIG.js +0 -1
  533. package/dist/dso-toolkit/p-CCOI5nUo.js +0 -1
  534. package/dist/dso-toolkit/p-CieBNbUH.js +0 -2
  535. package/dist/dso-toolkit/p-DQbnZnP0.js +0 -1
  536. package/dist/dso-toolkit/p-DxGQgnCh.js +0 -1
  537. package/dist/dso-toolkit/p-a98b5b00.entry.js +0 -1
  538. package/dist/dso-toolkit/p-be6bbcf3.entry.js +0 -1
  539. package/dist/dso-toolkit/p-d71f20c0.entry.js +0 -1
  540. package/dist/dso-toolkit/p-d7defe72.entry.js +0 -1
  541. package/dist/dso-toolkit/p-jq9f4Z3R.js +0 -1
@@ -1,11 +1,11 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-CfwUrDXc.js');
3
+ var index = require('./index-BBx5yytN.js');
4
4
  var floatingUi_dom = require('./floating-ui.dom-BKTTOpb1.js');
5
5
  var clsx = require('./clsx-BtxeOLZW.js');
6
6
  var index_esm = require('./index.esm-ZWBcSumL.js');
7
7
  var getActiveElement = require('./get-active-element-DutTk1go.js');
8
- var i18n = require('./i18n-DH0Su3jj.js');
8
+ var i18n = require('./i18n-Bzut_vVm.js');
9
9
  var isModifiedEvent = require('./is-modified-event-Dh9YsHw8.js');
10
10
  var v4 = require('./v4-_2BfiRUa.js');
11
11
 
@@ -35,9 +35,10 @@ const MenuItem = ({ item, onClick, key, ref }) => {
35
35
  return (index.h("li", { class: clsx.clsx({ "dso-active": item.active }), key: key, ref: ref }, index.h("a", { href: item.url, "aria-current": item.active ? "page" : undefined, onClick: onClick }, item.label)));
36
36
  };
37
37
 
38
- const headerCss = () => `*,*::after,*::before{box-sizing:border-box}:host{display:block}:host([is-compact]) ::slotted([slot=logo]){--_dso-logo-block-size:2.5rem !important}:host([is-compact]) .dso-header{flex-wrap:nowrap}:host([is-compact]) .dropdown-menu .dropdown-menu-options{inline-size:100%}:host(:not([is-compact])) .dso-header{align-items:center}:host(:not([is-compact])) .dropdown-menu .dropdown-menu-options{inline-size:375px}div[popover]{margin:0 !important;border:0;padding:0;background-color:transparent;overflow:unset;inline-size:max-content}.dso-header{border-block-end:1px solid #ccc;display:flex;flex-wrap:wrap;position:relative}.dso-header .dso-nav{border:0}.logo-container{flex:1 1 12.5rem;margin-inline-end:24px;padding-block-end:16px;padding-block-start:16px}.dso-header-session{display:flex;align-items:center;margin-inline-start:auto}.dso-header-session .profile .dso-tertiary,.dso-header-session .login .dso-tertiary,.dso-header-session .logout .dso-tertiary,.dso-header-session .help .dso-tertiary{display:flex;cursor:pointer;border:0;background-color:transparent;padding-inline:0;outline-offset:2px;font-family:Asap, sans-serif;color:#39870c;font-size:1rem;font-weight:600;line-height:1.5;text-decoration:none}.dso-header-session .profile .dso-tertiary:hover,.dso-header-session .login .dso-tertiary:hover,.dso-header-session .logout .dso-tertiary:hover,.dso-header-session .help .dso-tertiary:hover{text-decoration:underline}.dso-header-session .profile+.logout,.dso-header-session .logout+.help,.dso-header-session .login+.help{border-inline-start:3px solid #ccc;margin-inline-start:8px;padding-inline-start:8px}.dso-header-session .help a,.dso-header-session .help button{display:flex}.dso-navbar{flex-basis:100%;max-inline-size:100%;position:relative}.dropdown-menu button{align-items:center;background-color:transparent;border:0;color:#39870c;display:flex;font-family:Asap, sans-serif;font-size:1rem;font-weight:600;line-height:normal;letter-spacing:inherit;position:relative}.dropdown-menu button::after{margin-inline-start:8px;position:absolute;inset-inline-end:0;inset-block-start:50%;transform:translateY(-50%)}.dropdown-menu button:hover,.dropdown-menu button:active{cursor:pointer;text-decoration:underline}.dropdown-menu button dso-icon{inline-size:24px;block-size:24px;margin-inline-start:8px;padding-block-start:2px}.dropdown-menu button[aria-expanded=true] dso-icon{transform:rotate(180deg)}.dropdown-menu .dropdown-menu-options{box-sizing:border-box;background-clip:padding-box;background-color:#fff;border:0;border-radius:0;box-shadow:0 8px 10px 1px rgba(0, 0, 0, 0.4);font-size:1rem;min-inline-size:160px;padding-inline:0;z-index:220}.dropdown-menu .dropdown-menu-options ul{margin:0;padding:0;list-style:none}.dropdown-menu .dropdown-menu-options ul:not(:last-child){border-block-end:1px solid #e5e5e5;margin-block-end:11px;padding-block-end:11px}.dropdown-menu .dropdown-menu-options ul li{list-style:none}.dropdown-menu .dropdown-menu-options ul li a,.dropdown-menu .dropdown-menu-options ul li button{text-decoration:none}.dropdown-menu .dropdown-menu-options ul li a:hover,.dropdown-menu .dropdown-menu-options ul li a:focus-visible,.dropdown-menu .dropdown-menu-options ul li a:active,.dropdown-menu .dropdown-menu-options ul li button:hover,.dropdown-menu .dropdown-menu-options ul li button:focus-visible,.dropdown-menu .dropdown-menu-options ul li button:active{text-decoration:underline}.dropdown-menu .dropdown-menu-options ul li a,.dropdown-menu .dropdown-menu-options ul li button{clear:both;color:#275937;display:block;font-size:1.25rem;font-weight:400;line-height:1.5;padding:16px;text-decoration:none;white-space:nowrap}.dropdown-menu .dropdown-menu-options ul li a:hover,.dropdown-menu .dropdown-menu-options ul li a:focus,.dropdown-menu .dropdown-menu-options ul li button:hover,.dropdown-menu .dropdown-menu-options ul li button:focus{background-color:#39870c;border-color:#39870c;color:#fff;text-decoration:none}.dropdown-menu .dropdown-menu-options ul li a:focus-visible,.dropdown-menu .dropdown-menu-options ul li button:focus-visible{background-color:#39870c;color:#fff}.dropdown-menu .dropdown-menu-options ul li a:hover,.dropdown-menu .dropdown-menu-options ul li a:hover:visited,.dropdown-menu .dropdown-menu-options ul li button:hover,.dropdown-menu .dropdown-menu-options ul li button:hover:visited{color:#275937}.dropdown-menu .dropdown-menu-options ul li a:hover,.dropdown-menu .dropdown-menu-options ul li button:hover{background-color:#fff;text-decoration:underline}.dropdown-menu .dropdown-menu-options ul li a:visited,.dropdown-menu .dropdown-menu-options ul li button:visited{color:#fff}.dropdown-menu .dropdown-menu-options ul li a:visited:not(:hover):not(:focus):not(:focus-visible),.dropdown-menu .dropdown-menu-options ul li button:visited:not(:hover):not(:focus):not(:focus-visible){color:#275937}.dropdown-menu .dropdown-menu-options ul li.dso-active a{font-weight:600}.dropdown-menu .dropdown-menu-options ul li+li{border-block-start:1px solid #ccc}.dropdown{margin-inline-start:auto;display:flex;align-items:center}.dropdown .dropdown-menu{position:static}.dropdown .dropdown-menu .dropdown-menu-options{inset-inline-end:0;inset-block-start:100%;box-shadow:0 8px 10px 1px rgba(0, 0, 0, 0.4)}.dso-nav.ready .menu-user-home{margin-inline-start:auto}.dso-nav{align-items:end;column-gap:32px;display:flex;list-style:none;margin-block-end:0;margin-block-start:0;padding-inline-start:0}.dso-nav>li{margin-block-end:4px}.dso-nav>li>a{display:block}.dso-nav>li>a,.dso-nav>li>a:hover,.dso-nav>li>a:focus,.dso-nav>li>a:visited{color:#275937}.dso-nav>li.dso-active,.dso-nav>li.is-active{margin-block-end:0}.dso-nav>li.dso-active>a,.dso-nav>li.is-active>a{border-block-end:4px solid #8b4a6a;font-weight:bold}.dso-nav.dso-nav-main{display:flex !important}.dso-nav.dso-nav-main>li>a{text-decoration:none}.dso-nav.dso-nav-main>li>a:hover,.dso-nav.dso-nav-main>li>a:focus-visible,.dso-nav.dso-nav-main>li>a:active{text-decoration:underline}.dso-nav.dso-nav-main>li>a{font-size:1.25em;line-height:1;padding-block:16px;padding-inline:0;white-space:nowrap}.dso-nav.dso-nav-main .dropdown-menu .dropdown-menu-options{inset-inline-start:-1rem !important;inset-block-start:3px !important}.dso-nav.dso-nav-main .dropdown-menu button{font-size:1.25em;line-height:1;padding-block:16px;padding-inline:0;align-items:flex-end;color:#275937}.dso-nav.dso-nav-main .dropdown-menu button:hover,.dso-nav.dso-nav-main .dropdown-menu button:active{cursor:pointer;text-decoration:underline}.dso-nav.dso-nav-main .dropdown-menu button::after{margin-inline-start:8px;position:absolute;inset-inline-end:0px;inset-block-start:auto;transform:none}.dso-nav .main-menu-item-icon{block-size:1em;margin-inline-end:8px;position:relative;inset-block-start:-2px;inline-size:1.2em}.dso-nav .dropdown-menu-item .main-menu-item-icon{margin-inline-end:0}`;
38
+ const headerCss = () => `*,*::after,*::before{box-sizing:border-box}:host{display:block}:host([is-compact]) ::slotted([slot=logo]){--_dso-logo-block-size:2.5rem !important}:host([is-compact]) .dso-header{flex-wrap:nowrap}:host([is-compact]) .dropdown-menu .dropdown-menu-options{inline-size:100%}:host(:not([is-compact])) .dropdown-menu .dropdown-menu-options{inline-size:375px}div[popover]{margin:0 !important;border:0;padding:0;background-color:transparent;overflow:unset;inline-size:max-content}.dso-header{border-block-end:1px solid #ccc;display:flex;flex-wrap:wrap;align-items:center;position:relative}.dso-header .dso-nav{border:0}.logo-container{flex:1 1 12.5rem;margin-inline-end:24px;padding-block-end:16px;padding-block-start:16px}.dso-header-session{display:flex;margin-inline-start:auto}.dso-header-session .profile .dso-tertiary,.dso-header-session .login .dso-tertiary,.dso-header-session .logout .dso-tertiary,.dso-header-session .help .dso-tertiary{display:flex;cursor:pointer;border:0;background-color:transparent;padding-inline:0;outline-offset:2px;font-family:Asap, sans-serif;color:#39870c;font-size:1rem;font-weight:600;line-height:1.5;text-decoration:none}.dso-header-session .profile .dso-tertiary:hover,.dso-header-session .login .dso-tertiary:hover,.dso-header-session .logout .dso-tertiary:hover,.dso-header-session .help .dso-tertiary:hover{text-decoration:underline}@media screen and (min-width: 481px){.dso-header-session .profile+.logout,.dso-header-session .logout+.help,.dso-header-session .login+.help,.dso-header-session:has(*)+.dropdown{border-inline-start:3px solid #ccc;block-size:20px;margin-inline-start:8px;padding-inline-start:8px}}@media screen and (min-width: 481px){.dso-header-session .help a{gap:4px}}.dso-navbar{flex-basis:100%;max-inline-size:100%;position:relative}.dropdown-menu button{align-items:center;background-color:transparent;border:0;color:#39870c;display:flex;font-family:Asap, sans-serif;font-size:1rem;font-weight:600;line-height:normal;letter-spacing:inherit;position:relative;padding-inline-start:0}.dropdown-menu button::after{margin-inline-start:8px;position:absolute;inset-inline-end:0;inset-block-start:50%;transform:translateY(-50%)}.dropdown-menu button:hover,.dropdown-menu button:active{cursor:pointer;text-decoration:underline}.dropdown-menu button dso-icon{inline-size:24px;block-size:24px;margin-inline-start:8px;padding-block-start:2px}.dropdown-menu button[aria-expanded=true] dso-icon{transform:rotate(180deg)}.dropdown-menu .dropdown-menu-options{box-sizing:border-box;background-clip:padding-box;background-color:#fff;border:0;border-radius:0;box-shadow:0 8px 10px 1px rgba(0, 0, 0, 0.4);font-size:1rem;min-inline-size:160px;padding-inline:0;z-index:220;--_dso-scrollable-block-size:auto}.dropdown-menu .dropdown-menu-options ul{margin:0;padding:0;list-style:none}.dropdown-menu .dropdown-menu-options ul:not(:last-child){border-block-end:1px solid #e5e5e5;margin-block-end:11px;padding-block-end:11px}.dropdown-menu .dropdown-menu-options ul li{list-style:none}.dropdown-menu .dropdown-menu-options ul li a,.dropdown-menu .dropdown-menu-options ul li button{text-decoration:none}.dropdown-menu .dropdown-menu-options ul li a:hover,.dropdown-menu .dropdown-menu-options ul li a:focus-visible,.dropdown-menu .dropdown-menu-options ul li a:active,.dropdown-menu .dropdown-menu-options ul li button:hover,.dropdown-menu .dropdown-menu-options ul li button:focus-visible,.dropdown-menu .dropdown-menu-options ul li button:active{text-decoration:underline}.dropdown-menu .dropdown-menu-options ul li a,.dropdown-menu .dropdown-menu-options ul li button{clear:both;color:#275937;display:block;font-size:1.25rem;font-weight:400;line-height:1.5;padding:16px;text-decoration:none;white-space:nowrap}.dropdown-menu .dropdown-menu-options ul li a:hover,.dropdown-menu .dropdown-menu-options ul li a:focus,.dropdown-menu .dropdown-menu-options ul li button:hover,.dropdown-menu .dropdown-menu-options ul li button:focus{background-color:#39870c;border-color:#39870c;color:#fff;text-decoration:none}.dropdown-menu .dropdown-menu-options ul li a:focus-visible,.dropdown-menu .dropdown-menu-options ul li button:focus-visible{background-color:#39870c;color:#fff}.dropdown-menu .dropdown-menu-options ul li a:hover,.dropdown-menu .dropdown-menu-options ul li a:hover:visited,.dropdown-menu .dropdown-menu-options ul li button:hover,.dropdown-menu .dropdown-menu-options ul li button:hover:visited{color:#275937}.dropdown-menu .dropdown-menu-options ul li a:hover,.dropdown-menu .dropdown-menu-options ul li button:hover{background-color:#fff;text-decoration:underline}.dropdown-menu .dropdown-menu-options ul li a:visited,.dropdown-menu .dropdown-menu-options ul li button:visited{color:#fff}.dropdown-menu .dropdown-menu-options ul li a:visited:not(:hover):not(:focus):not(:focus-visible),.dropdown-menu .dropdown-menu-options ul li button:visited:not(:hover):not(:focus):not(:focus-visible){color:#275937}.dropdown-menu .dropdown-menu-options ul li.dso-active a{font-weight:600}.dropdown-menu .dropdown-menu-options ul li a.dso-tertiary,.dropdown-menu .dropdown-menu-options ul li button.dso-tertiary{align-items:center;display:flex;gap:10px}.dropdown-menu .dropdown-menu-options ul li a.dso-tertiary dso-icon,.dropdown-menu .dropdown-menu-options ul li button.dso-tertiary dso-icon{margin-inline-start:0;order:-1}.dropdown-menu .dropdown-menu-options ul li a.dso-tertiary span,.dropdown-menu .dropdown-menu-options ul li button.dso-tertiary span{order:0}.dropdown-menu .dropdown-menu-options ul li+li{border-block-start:1px solid #ccc}.dropdown{margin-inline-start:auto;display:flex;align-items:center}.dropdown .dropdown-menu{position:static}.dropdown .dropdown-menu .dropdown-menu-options{inset-inline-end:0;inset-block-start:100%;box-shadow:0 8px 10px 1px rgba(0, 0, 0, 0.4)}.dso-nav.ready .menu-user-home{margin-inline-start:auto}.dso-nav{align-items:end;column-gap:32px;display:flex;list-style:none;margin-block-end:0;margin-block-start:0;padding-inline-start:0}.dso-nav>li{margin-block-end:4px}.dso-nav>li>a{display:block}.dso-nav>li>a,.dso-nav>li>a:hover,.dso-nav>li>a:focus,.dso-nav>li>a:visited{color:#275937}.dso-nav>li.dso-active,.dso-nav>li.is-active{margin-block-end:0}.dso-nav>li.dso-active>a,.dso-nav>li.is-active>a{border-block-end:4px solid #8b4a6a;font-weight:bold}.dso-nav.dso-nav-main{display:flex !important}.dso-nav.dso-nav-main>li>a{text-decoration:none}.dso-nav.dso-nav-main>li>a:hover,.dso-nav.dso-nav-main>li>a:focus-visible,.dso-nav.dso-nav-main>li>a:active{text-decoration:underline}.dso-nav.dso-nav-main>li>a{font-size:1.25em;line-height:1;padding-block:16px;padding-inline:0;white-space:nowrap}.dso-nav.dso-nav-main .dropdown-menu .dropdown-menu-options{inset-inline-start:-1rem !important;inset-block-start:3px !important}.dso-nav.dso-nav-main .dropdown-menu button{font-size:1.25em;line-height:1;padding-block:16px;padding-inline:0;align-items:flex-end;color:#275937}.dso-nav.dso-nav-main .dropdown-menu button:hover,.dso-nav.dso-nav-main .dropdown-menu button:active{cursor:pointer;text-decoration:underline}.dso-nav.dso-nav-main .dropdown-menu button::after{margin-inline-start:8px;position:absolute;inset-inline-end:0px;inset-block-start:auto;transform:none}.dso-nav .main-menu-item-icon{block-size:1em;margin-inline-end:8px;position:relative;inset-block-start:-2px;inline-size:1.2em}.dso-nav .dropdown-menu-item .main-menu-item-icon{margin-inline-end:0}`;
39
39
 
40
40
  const minDesktopViewportWidth = 992;
41
+ const minMobileViewportWidth = 480;
41
42
  const Header = class {
42
43
  constructor(hostRef) {
43
44
  index.registerInstance(this, hostRef);
@@ -160,6 +161,9 @@ const Header = class {
160
161
  get isCompact() {
161
162
  return this.compact === "always" || window.innerWidth < minDesktopViewportWidth;
162
163
  }
164
+ get isMobileViewport() {
165
+ return window.innerWidth <= minMobileViewportWidth;
166
+ }
163
167
  /**
164
168
  * Before determining the visible menu items, all the menu items are rendered (including the dropdown menu item and the user home menu item).
165
169
  * Then the visible menu items are calculated in componentDidRender() and ONLY when the visibleMenuItemsCount is undefined.
@@ -302,7 +306,7 @@ const Header = class {
302
306
  }
303
307
  }
304
308
  render() {
305
- return (index.h(index.Host, { key: '70ed6e8dc9a02875dd773c205af3549b324dfb8e', "is-compact": this.isCompact }, index.h("div", { key: 'ab3f94264421bca5caec2ae59f5b40f6934a440e', class: "dso-header" }, index.h("div", { key: 'f092ce977dcd3acd0d9620af8506cb138ee1f0a7', class: "logo-container" }, index.h("slot", { key: '898f5c094fd6dd18ec4e843a240c31081e2a9253', name: "logo" })), this.isCompact ? this.renderCompact() : this.renderNormal())));
309
+ return (index.h(index.Host, { key: 'cb1ed3299e9c55352cab476696bd2d6ad94cbd54', "is-compact": this.isCompact }, index.h("div", { key: '218cefd65ca18da0237e39fba0aba06259119254', class: "dso-header" }, index.h("div", { key: 'c7681803acf271892e46819e3d9568ebc3ed849a', class: "logo-container" }, index.h("slot", { key: 'cba4cf96314214ee2af03501ede754c879d31fec', name: "logo" })), this.renderHeaderSession(), this.isCompact ? this.renderCompact() : this.renderNormal())));
306
310
  }
307
311
  tabbables(withButton) {
308
312
  const tabbables = this.dropdownElement ? index_esm.tabbable(this.dropdownElement) : [];
@@ -318,12 +322,24 @@ const Header = class {
318
322
  this.cleanUp = undefined;
319
323
  }
320
324
  }
325
+ renderHelp() {
326
+ return this.helpUrl ? (index.h("a", { href: this.helpUrl, class: "dso-tertiary", onClick: (e) => this.clickHandler(e, "help", { url: this.helpUrl }) }, index.h("span", null, this.text("help")), index.h("dso-icon", { icon: "help-outline" }))) : (index.h("button", { class: "dso-tertiary", type: "button", onClick: (e) => this.clickHandler(e, "help") }, index.h("span", null, this.text("help")), index.h("dso-icon", { icon: "help-outline" })));
327
+ }
328
+ renderLogin(tertiary = true) {
329
+ return this.loginUrl ? (index.h("a", { href: this.loginUrl, class: tertiary ? "dso-tertiary" : undefined, onClick: (e) => this.clickHandler(e, "login", { url: this.loginUrl }) }, index.h("dso-icon", { icon: "user-outline" }), index.h("span", null, this.text("login")))) : (index.h("button", { class: tertiary ? "dso-tertiary" : undefined, type: "button", onClick: (e) => this.clickHandler(e, "login") }, index.h("dso-icon", { icon: "user-outline" }), index.h("span", null, this.text("login"))));
330
+ }
331
+ renderLogout() {
332
+ return this.logoutUrl ? (index.h("a", { href: this.logoutUrl, class: "dso-tertiary", onClick: (e) => this.clickHandler(e, "logout", { url: this.logoutUrl }) }, this.text("logout"))) : (index.h("button", { class: "dso-tertiary", type: "button", onClick: (e) => this.clickHandler(e, "logout") }, this.text("logout")));
333
+ }
334
+ renderHeaderSession() {
335
+ return (index.h("div", { class: "dso-header-session" }, !this.isCompact && (index.h(index.Fragment, null, this.userProfileUrl && this.userProfileName && this.authStatus === "loggedIn" && (index.h("div", { class: "profile" }, index.h("a", { href: this.userProfileUrl, class: "dso-tertiary", onClick: (e) => this.clickHandler(e, "profile", { url: this.userProfileUrl }) }, this.userProfileName))), this.authStatus === "loggedOut" && index.h("div", { class: "login" }, this.renderLogin()), this.authStatus === "loggedIn" && index.h("div", { class: "logout" }, this.renderLogout()))), this.showHelp && !this.isMobileViewport && index.h("div", { class: "help" }, this.renderHelp())));
336
+ }
321
337
  renderCompact() {
322
- return ((this.mainMenu.length > 0 || this.userHomeUrl || this.authStatus !== "none") && (index.h("div", { class: "dropdown" }, index.h("div", { class: "dropdown-menu", onFocusout: this.focusOutListener, ref: (element) => (this.dropdownElement = element) }, index.h("button", { id: v4.v4(), type: "button", onClick: () => this.toggleOptions(), ref: (element) => (this.dropdownButtonElement = element), "aria-haspopup": "menu", "aria-expanded": this.open ? "true" : "false" }, index.h("span", null, this.text("menu")), index.h("dso-icon", { icon: "chevron-down" })), index.h("div", { popover: "manual", ref: (element) => (this.popoverElement = element) }, index.h("dso-scrollable", { class: "dropdown-menu-options", role: "menu", "aria-labelledby": this.dropdownButtonElement?.id, onKeyDown: this.keyDownHandler }, index.h("ul", { role: "group" }, this.mainMenu.map((menuItem) => (index.h(MenuItem, { item: menuItem, onClick: (e) => this.clickHandler(e, "menuItem", { menuItem }), key: menuItem.label }))), this.userHomeUrl && (index.h("li", { role: "menuitem" }, index.h("a", { href: this.userHomeUrl, onClick: (e) => this.clickHandler(e, "userHome", { url: this.userHomeUrl }) }, this.text("userHome")))), this.userProfileUrl && this.userProfileName && this.authStatus === "loggedIn" && (index.h("li", { role: "menuitem" }, index.h("a", { href: this.userProfileUrl, onClick: (e) => this.clickHandler(e, "profile", { url: this.userProfileUrl }) }, this.userProfileName, index.h("span", { class: "profile-label" }, " - Mijn profiel")))), this.authStatus === "loggedOut" && (index.h("li", { role: "menuitem" }, this.loginUrl ? (index.h("a", { href: this.loginUrl, onClick: (e) => this.clickHandler(e, "login", { url: this.loginUrl }) }, this.text("login"))) : (index.h("button", { type: "button", onClick: (e) => this.clickHandler(e, "login") }, this.text("login"))))), this.authStatus === "loggedIn" && (index.h("li", { role: "menuitem" }, this.logoutUrl ? (index.h("a", { href: this.logoutUrl, onClick: (e) => this.clickHandler(e, "logout", { url: this.logoutUrl }) }, this.text("logout"))) : (index.h("button", { type: "button", onClick: (e) => this.clickHandler(e, "logout") }, this.text("logout"))))), this.showHelp && (index.h("li", { role: "menuitem" }, this.helpUrl ? (index.h("a", { href: this.helpUrl, class: "dso-tertiary", onClick: (e) => this.clickHandler(e, "help", { url: this.helpUrl }) }, index.h("span", null, this.text("help")), index.h("dso-icon", { icon: "help-outline" }))) : (index.h("button", { type: "button", class: "dso-tertiary", onClick: (e) => this.clickHandler(e, "help") }, index.h("span", null, this.text("help")), index.h("dso-icon", { icon: "help-outline" }))))))))))));
338
+ return ((this.mainMenu.length > 0 || this.userHomeUrl || this.authStatus !== "none") && (index.h("div", { class: "dropdown" }, index.h("div", { class: "dropdown-menu", onFocusout: this.focusOutListener, ref: (element) => (this.dropdownElement = element) }, index.h("button", { id: v4.v4(), type: "button", onClick: () => this.toggleOptions(), ref: (element) => (this.dropdownButtonElement = element), "aria-haspopup": "menu", "aria-expanded": this.open ? "true" : "false" }, index.h("span", null, this.text("menu")), index.h("dso-icon", { icon: "chevron-down" })), index.h("div", { popover: "manual", ref: (element) => (this.popoverElement = element) }, index.h("dso-scrollable", { class: "dropdown-menu-options", role: "menu", "aria-labelledby": this.dropdownButtonElement?.id, onKeyDown: this.keyDownHandler }, index.h("ul", { role: "group" }, this.mainMenu.map((menuItem) => (index.h(MenuItem, { item: menuItem, onClick: (e) => this.clickHandler(e, "menuItem", { menuItem }), key: menuItem.label }))), this.userHomeUrl && (index.h("li", { role: "menuitem" }, index.h("a", { href: this.userHomeUrl, onClick: (e) => this.clickHandler(e, "userHome", { url: this.userHomeUrl }) }, this.text("userHome")))), this.userProfileUrl && this.userProfileName && this.authStatus === "loggedIn" && (index.h("li", { role: "menuitem" }, index.h("a", { href: this.userProfileUrl, onClick: (e) => this.clickHandler(e, "profile", { url: this.userProfileUrl }) }, this.userProfileName, index.h("span", { class: "profile-label" }, " - Mijn profiel")))), this.authStatus === "loggedIn" && index.h("li", { role: "menuitem" }, this.renderLogout()), this.authStatus === "loggedOut" && index.h("li", { role: "menuitem" }, this.renderLogin()), this.showHelp && this.isMobileViewport && index.h("li", { role: "menuitem" }, this.renderHelp()))))))));
323
339
  }
324
340
  renderNormal() {
325
341
  this.menuItemElementRefs = [];
326
- return (index.h(index.Fragment, null, index.h("div", { class: "dso-header-session" }, this.userProfileUrl && this.userProfileName && this.authStatus === "loggedIn" && (index.h("div", { class: "profile" }, index.h("a", { href: this.userProfileUrl, class: "dso-tertiary", onClick: (e) => this.clickHandler(e, "profile", { url: this.userProfileUrl }) }, this.userProfileName))), this.authStatus === "loggedOut" && (index.h("div", { class: "login" }, this.loginUrl ? (index.h("a", { href: this.loginUrl, class: "dso-tertiary", onClick: (e) => this.clickHandler(e, "login", { url: this.loginUrl }) }, this.text("login"))) : (index.h("button", { class: "dso-tertiary", type: "button", onClick: (e) => this.clickHandler(e, "login") }, this.text("login"))))), this.authStatus === "loggedIn" && (index.h("div", { class: "logout" }, this.logoutUrl ? (index.h("a", { href: this.logoutUrl, class: "dso-tertiary", onClick: (e) => this.clickHandler(e, "logout", { url: this.logoutUrl }) }, this.text("logout"))) : (index.h("button", { class: "dso-tertiary", type: "button", onClick: (e) => this.clickHandler(e, "logout") }, this.text("logout"))))), this.showHelp && (index.h("div", { class: "help" }, this.helpUrl ? (index.h("a", { href: this.helpUrl, class: "dso-tertiary", onClick: (e) => this.clickHandler(e, "help", { url: this.helpUrl }) }, index.h("span", null, this.text("help")), index.h("dso-icon", { icon: "help-outline" }))) : (index.h("button", { class: "dso-tertiary", type: "button", onClick: (e) => this.clickHandler(e, "help") }, index.h("span", null, this.text("help")), index.h("dso-icon", { icon: "help-outline" })))))), (this.mainMenu.length > 0 || this.userHomeUrl) && (index.h("nav", { class: "dso-navbar" }, index.h("ul", { class: clsx.clsx("dso-nav", "dso-nav-main", { ready: this.visibleMenuItemsCount !== undefined }), ref: (element) => (this.navElement = element) }, this.visibleMainMenuItems.map((menuItem, i) => (index.h(MenuItem, { item: menuItem, onClick: (e) => this.clickHandler(e, "menuItem", { menuItem }), key: menuItem.label, ref: (el) => (this.menuItemElementRefs[i] = el) }))), (this.visibleMenuItemsCount === undefined || this.hiddenMainMenuItems.length > 0) && (index.h("li", { "aria-hidden": this.visibleMenuItemsCount === undefined, ref: (el) => (this.dropdownMenuItemElementRef = el), class: "dropdown-menu-item" }, index.h("div", { class: "dropdown-menu", onFocusout: this.focusOutListener, ref: (element) => (this.dropdownElement = element) }, index.h("button", { id: v4.v4(), type: "button", onClick: () => this.toggleOptions(), ref: (element) => (this.dropdownButtonElement = element), "aria-haspopup": "menu", "aria-expanded": this.open ? "true" : "false" }, index.h("span", null, this.text("overflowMenu")), index.h("dso-icon", { icon: "chevron-down", class: "main-menu-item-icon" })), index.h("div", { popover: "manual", ref: (element) => (this.popoverElement = element) }, index.h("div", { class: "dropdown-menu-options", role: "menu", "aria-labelledby": this.dropdownButtonElement?.id, onKeyDown: this.keyDownHandler }, index.h("ul", null, this.hiddenMainMenuItems.map((menuItem) => (index.h(MenuItem, { item: menuItem, onClick: (e) => this.clickHandler(e, "menuItem", { menuItem }), key: menuItem.label }))))))))), this.userHomeUrl && (index.h("li", { class: clsx.clsx("menu-user-home", { "dso-active": this.userHomeActive }), ref: (el) => (this.userHomeMenuItemElementRef = el) }, index.h("a", { href: this.userHomeUrl, "aria-current": this.userHomeActive ? "page" : undefined, onClick: (e) => this.clickHandler(e, "userHome", { url: this.userHomeUrl }) }, index.h("dso-icon", { icon: "user-outline", class: "main-menu-item-icon" }), this.text("userHome")))))))));
342
+ return (index.h(index.Fragment, null, (this.mainMenu.length > 0 || this.userHomeUrl) && (index.h("nav", { class: "dso-navbar" }, index.h("ul", { class: clsx.clsx("dso-nav", "dso-nav-main", { ready: this.visibleMenuItemsCount !== undefined }), ref: (element) => (this.navElement = element) }, this.visibleMainMenuItems.map((menuItem, i) => (index.h(MenuItem, { item: menuItem, onClick: (e) => this.clickHandler(e, "menuItem", { menuItem }), key: menuItem.label, ref: (el) => (this.menuItemElementRefs[i] = el) }))), (this.visibleMenuItemsCount === undefined || this.hiddenMainMenuItems.length > 0) && (index.h("li", { "aria-hidden": this.visibleMenuItemsCount === undefined, ref: (el) => (this.dropdownMenuItemElementRef = el), class: "dropdown-menu-item" }, index.h("div", { class: "dropdown-menu", onFocusout: this.focusOutListener, ref: (element) => (this.dropdownElement = element) }, index.h("button", { id: v4.v4(), type: "button", onClick: () => this.toggleOptions(), ref: (element) => (this.dropdownButtonElement = element), "aria-haspopup": "menu", "aria-expanded": this.open ? "true" : "false" }, index.h("span", null, this.text("overflowMenu")), index.h("dso-icon", { icon: "chevron-down", class: "main-menu-item-icon" })), index.h("div", { popover: "manual", ref: (element) => (this.popoverElement = element) }, index.h("div", { class: "dropdown-menu-options", role: "menu", "aria-labelledby": this.dropdownButtonElement?.id, onKeyDown: this.keyDownHandler }, index.h("ul", null, this.hiddenMainMenuItems.map((menuItem) => (index.h(MenuItem, { item: menuItem, onClick: (e) => this.clickHandler(e, "menuItem", { menuItem }), key: menuItem.label }))))))))), this.userHomeUrl && (index.h("li", { class: clsx.clsx("menu-user-home", { "dso-active": this.userHomeActive }), ref: (el) => (this.userHomeMenuItemElementRef = el) }, index.h("a", { href: this.userHomeUrl, "aria-current": this.userHomeActive ? "page" : undefined, onClick: (e) => this.clickHandler(e, "userHome", { url: this.userHomeUrl }) }, index.h("dso-icon", { icon: "user-outline", class: "main-menu-item-icon" }), this.text("userHome")))))))));
327
343
  }
328
344
  get host() { return index.getElement(this); }
329
345
  static get watchers() { return {
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-CfwUrDXc.js');
3
+ var index = require('./index-BBx5yytN.js');
4
4
 
5
5
  const heroImageCss = () => `:host{--dso-hero-image-background-color:#ebf3e6;margin-inline-start:calc(50% - 50vw);margin-inline-end:calc(50% - 50vw);padding-inline-start:calc(50vw - 50% - 16px);padding-inline-end:calc(50vw - 50% - 16px);display:block;position:relative;overflow:hidden;background-color:var(--dso-hero-image-background-color)}@media only screen and (min-width: 768px){:host{min-block-size:352px}}::slotted([slot=image]){display:block;inline-size:100%;min-block-size:calc(16.6666666667vw + 1dvi);background-color:var(--dso-hero-image-background-color);background-repeat:no-repeat;background-size:cover;background-position:center}@media only screen and (min-width: 768px){::slotted([slot=image]){position:absolute;inset:0;min-block-size:unset}}.hero-image-container{position:relative;z-index:1;box-sizing:border-box;inline-size:100%;padding-inline:16px;padding-block-end:16px;margin-block-start:16px}@media (min-width: 768px){.hero-image-container{margin-block-start:40px}}@media (min-width: 992px){.hero-image-container{max-inline-size:992px;margin-block-start:40px}}@media (min-width: 992px){.hero-image-container ::slotted(*){display:block;inline-size:clamp(0px, 38vw, 545px)}}`;
6
6
 
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-CfwUrDXc.js');
3
+ var index = require('./index-BBx5yytN.js');
4
4
 
5
5
  const highlightBoxCss = () => `*,*::after,*::before{box-sizing:border-box}.dso-step-counter{background-color:#275937;border:8px solid #79b929;border-radius:50%;box-sizing:content-box;inset-inline-start:16px;position:absolute;inset-block-start:-1.5rem;block-size:2rem;inline-size:2rem;color:#fff;font-size:1.25rem;font-weight:500;line-height:2rem;text-align:center}:host{display:block;container-type:inline-size;position:relative;z-index:1;margin-block-start:16px;padding:16px;margin-block-end:24px;block-size:var(--_dso-highlight-box-block-size, unset);min-block-size:var(--_dso-highlight-box-min-block-size, unset);--_dso-link-list-margin-block-end:0;--_dso-rich-content-margin-block-start:0}:host([has-counter]){block-size:var(--_dso-highlight-box-counter-block-size, unset);margin-block-start:48px;padding-block-start:2.5rem;position:relative}:host(:not([has-counter])){block-size:var(--_dso-highlight-box-nocounter-block-size, unset)}:host(:not([white],[yellow],[border],[green])){--_dso-alert-success-border-color:#39870c;--_dso-alert-error-border-color:#ce3f51;--_dso-alert-info-border-color:#6ca4d9;--_dso-alert-warning-border-color:#dcd400;--_dso-link-color:currentColor;--_dso-link-hover-color:currentColor;--_dso-link-visited-color:currentColor;--_dso-link-download-icon:var(--_dso-di-download-zwart);--_dso-link-extern-icon:var(--_dso-di-external-link-zwart);--_dso-link-phone-icon:var(--_dso-di-call-zwart);--_dso-link-mail-icon:var(--_dso-di-mail-outline-zwart);--_dso-link-list-chevron-icon:var(--_dso-di-chevron-right-zwart);--_dso-icon-button-secondary-active-color:#fff;--_dso-icon-button-secondary-active-background-color:#1f472c;--_dso-icon-button-secondary-toggled-color:#fff;--_dso-icon-button-secondary-toggled-background-color:#275937;--_dso-icon-button-secondary-toggled-hover-background-color:#1b3e27;--_dso-icon-button-tertiary-color:#191919;--_dso-icon-button-tertiary-hover-color:#4c4c4c;--_dso-icon-button-tertiary-active-color:#1f472c;--_dso-icon-button-tertiary-toggled-color:#275937;--_dso-icon-button-tertiary-toggled-hover-color:#1b3e27;--_dso-icon-button-tertiary-disabled-color:#999;--_dso-button-tertiary-download-icon:var(--_dso-di-download-zwart);--_dso-button-tertiary-external-link-icon:var(--_dso-di-external-link-zwart);--_dso-button-tertiary-color:#191919;--_dso-button-tertiary-hover-color:#4c4c4c;--_dso-button-tertiary-active-color:#173521;--_dso-button-tertiary-disabled-color:#999;background-color:#f2f2f2;color:#191919}:host([grey]){--_dso-alert-success-border-color:#39870c;--_dso-alert-error-border-color:#ce3f51;--_dso-alert-info-border-color:#6ca4d9;--_dso-alert-warning-border-color:#dcd400;--_dso-link-color:currentColor;--_dso-link-hover-color:currentColor;--_dso-link-visited-color:currentColor;--_dso-link-download-icon:var(--_dso-di-download-zwart);--_dso-link-extern-icon:var(--_dso-di-external-link-zwart);--_dso-link-phone-icon:var(--_dso-di-call-zwart);--_dso-link-mail-icon:var(--_dso-di-mail-outline-zwart);--_dso-link-list-chevron-icon:var(--_dso-di-chevron-right-zwart);--_dso-icon-button-secondary-active-color:#fff;--_dso-icon-button-secondary-active-background-color:#1f472c;--_dso-icon-button-secondary-toggled-color:#fff;--_dso-icon-button-secondary-toggled-background-color:#275937;--_dso-icon-button-secondary-toggled-hover-background-color:#1b3e27;--_dso-icon-button-tertiary-color:#191919;--_dso-icon-button-tertiary-hover-color:#4c4c4c;--_dso-icon-button-tertiary-active-color:#1f472c;--_dso-icon-button-tertiary-toggled-color:#275937;--_dso-icon-button-tertiary-toggled-hover-color:#1b3e27;--_dso-icon-button-tertiary-disabled-color:#999;--_dso-button-tertiary-download-icon:var(--_dso-di-download-zwart);--_dso-button-tertiary-external-link-icon:var(--_dso-di-external-link-zwart);--_dso-button-tertiary-color:#191919;--_dso-button-tertiary-hover-color:#4c4c4c;--_dso-button-tertiary-active-color:#173521;--_dso-button-tertiary-disabled-color:#999;background-color:#f2f2f2;color:#191919}:host([white]){--_dso-alert-success-border-color:initial;--_dso-alert-error-border-color:initial;--_dso-alert-info-border-color:initial;--_dso-alert-warning-border-color:initial;background-color:#fff;color:#191919}:host([yellow]){--_dso-alert-success-border-color:#39870c;--_dso-alert-error-border-color:#ce3f51;--_dso-alert-info-border-color:#6ca4d9;--_dso-alert-warning-border-color:#dcd400;--_dso-link-color:currentColor;--_dso-link-hover-color:currentColor;--_dso-link-visited-color:currentColor;--_dso-link-download-icon:var(--_dso-di-download-zwart);--_dso-link-extern-icon:var(--_dso-di-external-link-zwart);--_dso-link-phone-icon:var(--_dso-di-call-zwart);--_dso-link-mail-icon:var(--_dso-di-mail-outline-zwart);--_dso-link-list-chevron-icon:var(--_dso-di-chevron-right-zwart);--_dso-icon-button-secondary-active-color:#fff;--_dso-icon-button-secondary-active-background-color:#1f472c;--_dso-icon-button-secondary-toggled-color:#fff;--_dso-icon-button-secondary-toggled-background-color:#275937;--_dso-icon-button-secondary-toggled-hover-background-color:#1b3e27;--_dso-icon-button-tertiary-color:#191919;--_dso-icon-button-tertiary-hover-color:#4c4c4c;--_dso-icon-button-tertiary-active-color:#1f472c;--_dso-icon-button-tertiary-toggled-color:#275937;--_dso-icon-button-tertiary-toggled-hover-color:#1b3e27;--_dso-icon-button-tertiary-disabled-color:#999;--_dso-button-tertiary-download-icon:var(--_dso-di-download-zwart);--_dso-button-tertiary-external-link-icon:var(--_dso-di-external-link-zwart);--_dso-button-tertiary-color:#191919;--_dso-button-tertiary-hover-color:#4c4c4c;--_dso-button-tertiary-active-color:#173521;--_dso-button-tertiary-disabled-color:#999;background-color:#f8f6cc;color:#191919}:host([green]){--_dso-alert-success-border-color:#39870c;--_dso-alert-error-border-color:#ce3f51;--_dso-alert-info-border-color:#6ca4d9;--_dso-alert-warning-border-color:#dcd400;--_dso-link-color:currentColor;--_dso-link-hover-color:currentColor;--_dso-link-visited-color:currentColor;--_dso-link-download-icon:var(--_dso-di-download-zwart);--_dso-link-extern-icon:var(--_dso-di-external-link-zwart);--_dso-link-phone-icon:var(--_dso-di-call-zwart);--_dso-link-mail-icon:var(--_dso-di-mail-outline-zwart);--_dso-link-list-chevron-icon:var(--_dso-di-chevron-right-zwart);--_dso-icon-button-secondary-active-color:#fff;--_dso-icon-button-secondary-active-background-color:#1f472c;--_dso-icon-button-secondary-toggled-color:#fff;--_dso-icon-button-secondary-toggled-background-color:#275937;--_dso-icon-button-secondary-toggled-hover-background-color:#1b3e27;--_dso-icon-button-tertiary-color:#191919;--_dso-icon-button-tertiary-hover-color:#4c4c4c;--_dso-icon-button-tertiary-active-color:#1f472c;--_dso-icon-button-tertiary-toggled-color:#275937;--_dso-icon-button-tertiary-toggled-hover-color:#1b3e27;--_dso-icon-button-tertiary-disabled-color:#999;--_dso-button-tertiary-download-icon:var(--_dso-di-download-zwart);--_dso-button-tertiary-external-link-icon:var(--_dso-di-external-link-zwart);--_dso-button-tertiary-color:#191919;--_dso-button-tertiary-hover-color:#4c4c4c;--_dso-button-tertiary-active-color:#173521;--_dso-button-tertiary-disabled-color:#999;background-color:#ebf3e6;color:#191919}:host([drop-shadow]){box-shadow:0 4px 8px 0 rgba(0, 0, 0, 0.2)}:host([border]){border:1px solid #ccc;padding:15px}:host([border]:not([grey],[yellow])){--_dso-alert-success-border-color:initial;--_dso-alert-error-border-color:initial;--_dso-alert-info-border-color:initial;--_dso-alert-warning-border-color:initial;background-color:#fff;color:#191919}::slotted([slot=icon]){margin-block-start:0.25rem}::slotted(img.dso-highlight-box-banner){--_dso-image-margin-inline:-16px -16px;--_dso-image-margin-block:-16px 8px;aspect-ratio:2.38/1;object-fit:cover;inline-size:calc(100% + 32px);max-inline-size:unset !important}@container (min-width: 360px) and (max-width: 470px){::slotted(img.dso-highlight-box-banner){aspect-ratio:3/1}}@container (min-width: 471px){::slotted(img.dso-highlight-box-banner){aspect-ratio:3.5/1}}::slotted(:last-child){margin-block-end:0 !important}`;
6
6
 
@@ -10,7 +10,7 @@ const HighlightBox = class {
10
10
  }
11
11
  render() {
12
12
  const hasCounter = this.step || !!this.element.querySelector("[slot=icon]");
13
- return (index.h(index.Host, { key: 'a31042efc0e6676e06f08765d05320c2debe0b87', "has-counter": hasCounter }, hasCounter && (index.h("div", { key: 'ae5f42277bd801d07ac66467c652e211c8e8fe14', class: "dso-step-counter", "aria-hidden": "true" }, this.step ?? index.h("slot", { key: '7d8424c37b64775e83f34eb3f2165e8965c428bd', name: "icon" }))), index.h("slot", { key: '22edb75de8bb54565157a80a7be1ab82b7b12773' })));
13
+ return (index.h(index.Host, { key: '91d00560a3617308d002684f4c67c940b16dc1c7', "has-counter": hasCounter }, hasCounter && (index.h("div", { key: 'ed7997c8e77b13b44e5a567ee31116ba937fc6c2', class: "dso-step-counter", "aria-hidden": "true" }, this.step ?? index.h("slot", { key: '4993d27042a6a7839da8fd679625dbe17a1cd3b2', name: "icon" }))), index.h("slot", { key: 'bfab78815718775c72114b51730d229c1d2b3615' })));
14
14
  }
15
15
  get element() { return index.getElement(this); }
16
16
  };
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-CfwUrDXc.js');
3
+ var index = require('./index-BBx5yytN.js');
4
4
  var isModifiedEvent = require('./is-modified-event-Dh9YsHw8.js');
5
5
 
6
6
  const historyItemCss = () => `:host{display:block}*,*::after,*::before{box-sizing:border-box}.history-item{border-block-end:1px solid #e5e5e5;display:flex;gap:8px;inline-size:100%;padding-block:16px;padding-inline:8px}:host(:not([type=waarschuwing])) .history-item:has(.history-item-title a:is(:hover,:focus-visible)){background-color:#f2f2f2}:host([current]:not([type=waarschuwing])) .history-item{background-color:#e5e5e5}:host([type=tijdelijk-regelingdeel]) .history-item-status-message{color:#8b4a6a}:host([type=tijdelijk-regelingdeel-besluit]) .history-item-status-message{color:#8b4a6a}:host([type=waarschuwing]) .history-item-status-message{color:#b62f41}.history-item-date,.history-item-content{display:flex;flex-direction:column}.history-item-date{flex:0 0 90px}.history-item-status-message,.history-item-warning{display:flex}.history-item-status-message dso-icon,.history-item-warning dso-icon{flex-shrink:0;margin-inline-end:8px}.history-item-warning{color:#b62f41}.history-item-title,.history-item-explanation,.history-item-warning{margin-block-start:8px;margin-inline-start:32px}.history-item-title{white-space:nowrap}.history-item-title .title-anchor{color:#275937;font-weight:600;text-decoration:none}.history-item-title .title-anchor:hover{text-decoration:underline}.history-item-title .title-anchor:visited{color:#275937}.history-item-title .history-item-title-content{white-space:normal}.history-item-title dso-icon{margin-inline-start:4px}`;
@@ -1,8 +1,9 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-CfwUrDXc.js');
4
- var positionTooltip_function = require('./position-tooltip.function-DCOaqlbY.js');
5
- var tooltip_functionalComponent = require('./tooltip.functional-component-BEcuvKwS.js');
3
+ var index = require('./index-BBx5yytN.js');
4
+ var tooltip_controller = require('./tooltip.controller-Cvac0qe3.js');
5
+ var tooltip_functionalComponent = require('./tooltip.functional-component-DOBjuEpE.js');
6
+ require('./position-tooltip.function-DCOaqlbY.js');
6
7
  require('./floating-ui.dom-BKTTOpb1.js');
7
8
 
8
9
  var asterisk = `<svg id="asterisk" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
@@ -800,9 +801,10 @@ const Icon = class {
800
801
  if (this.icon) {
801
802
  const icon = icons.find((i) => i.alias === this.icon);
802
803
  if (!icon) {
803
- throw new TypeError(`Unknown svg: ${this.icon}`);
804
+ console.warn(`Unknown svg: ${this.icon}`);
805
+ return;
804
806
  }
805
- return index.h("span", { key: '2c82d776e3e12e9cccd879604b24525447e6f0f4', class: "icon-container", innerHTML: icon.svg });
807
+ return index.h("span", { class: "icon-container", innerHTML: icon.svg });
806
808
  }
807
809
  }
808
810
  };
@@ -814,8 +816,13 @@ const IconButton = class {
814
816
  constructor(hostRef) {
815
817
  index.registerInstance(this, hostRef);
816
818
  this.dsoClick = index.createEvent(this, "dsoClick", 3);
817
- this.lastClickTime = 0;
818
- this.tooltipShowDelay = 500;
819
+ this.tooltipController = new tooltip_controller.TooltipController({
820
+ getReferenceElement: () => this.buttonElRef,
821
+ getTipElement: () => this.tooltipElRef,
822
+ getTipArrowElement: () => this.tooltipArrowElRef,
823
+ getPlacement: () => this.tooltipPlacement,
824
+ showDelay: 500,
825
+ });
819
826
  /**
820
827
  * The variant of the Icon Button.
821
828
  */
@@ -832,43 +839,13 @@ const IconButton = class {
832
839
  if (this.disabled) {
833
840
  return;
834
841
  }
835
- // Don't show the tooltip if the button is clicked within 500ms of the last click
836
- if (Date.now() - this.lastClickTime < this.tooltipShowDelay) {
837
- return;
838
- }
839
- this.clearToolTipTimeout();
840
- this.tooltipTimeout = window.setTimeout(() => {
841
- if (!this.tooltipElRef?.isConnected) {
842
- return;
843
- }
844
- this.tooltipElRef?.showPopover();
845
- if (!this.cleanUpFunction && this.buttonElRef && this.tooltipElRef && this.tooltipArrowElRef) {
846
- this.cleanUpFunction = positionTooltip_function.positionTooltip({
847
- referenceElement: this.buttonElRef,
848
- tipRef: this.tooltipElRef,
849
- tipArrowRef: this.tooltipArrowElRef,
850
- placementTip: this.tooltipPlacement,
851
- topPositionSmallViewPort: false,
852
- halfMainAxisOffset: false,
853
- forceVisible: true,
854
- });
855
- }
856
- }, this.tooltipShowDelay);
857
- };
858
- this.clearToolTipTimeout = () => {
859
- if (this.tooltipTimeout) {
860
- clearTimeout(this.tooltipTimeout);
861
- }
842
+ this.tooltipController.show();
862
843
  };
863
844
  this.handleHideTooltip = () => {
864
- this.clearToolTipTimeout();
865
- if (this.tooltipElRef?.isConnected && this.tooltipElRef.matches(":popover-open")) {
866
- this.tooltipElRef.hidePopover();
867
- }
868
- this.cleanUpTooltip();
845
+ this.tooltipController.hide();
869
846
  };
870
847
  this.handleClick = (event) => {
871
- this.lastClickTime = Date.now();
848
+ this.tooltipController.notifyClick();
872
849
  this.handleHideTooltip();
873
850
  this.dsoClick.emit({ originalEvent: event, toggled: !this.toggled });
874
851
  };
@@ -879,16 +856,11 @@ const IconButton = class {
879
856
  async setFocus() {
880
857
  this.buttonElRef?.focus();
881
858
  }
882
- cleanUpTooltip() {
883
- this.cleanUpFunction?.();
884
- this.cleanUpFunction = undefined;
885
- }
886
859
  disconnectedCallback() {
887
- this.clearToolTipTimeout();
888
- this.cleanUpTooltip();
860
+ this.tooltipController.dispose();
889
861
  }
890
862
  render() {
891
- return (index.h("button", { key: '76fd497f4386d1b8d06b0ce1f48b2d6080f5fa4b', ref: (element) => (this.buttonElRef = element), type: "button", disabled: this.disabled, "aria-label": this.label, class: `icon-button dso-${this.variant} ${this.toggled ? "toggled" : ""}`, "aria-pressed": this.toggled?.toString(), "aria-expanded": this.expanded?.toString(), onMouseEnter: this.handleShowTooltip, onMouseLeave: this.handleHideTooltip, onFocus: this.handleShowTooltip, onBlur: this.handleHideTooltip, onClick: this.handleClick }, index.h("dso-icon", { key: '56d9f778930988f9ee014a8962d19a619857d728', icon: this.icon, "aria-hidden": "true" }), index.h(tooltip_functionalComponent.Tooltip, { key: 'd462ddf1f70d0bd560e9f09c173ed81b336fb07f', tipElementRef: (element) => (this.tooltipElRef = element), tipArrowElementRef: (element) => (this.tooltipArrowElRef = element) }, this.label)));
863
+ return (index.h("button", { key: '7d3bf4a79f897ec497bd7309b4f841bfa894a577', ref: (element) => (this.buttonElRef = element), type: "button", disabled: this.disabled, "aria-label": this.label, class: `icon-button dso-${this.variant} ${this.toggled ? "toggled" : ""}`, "aria-pressed": this.toggled?.toString(), "aria-expanded": this.expanded?.toString(), onMouseEnter: this.handleShowTooltip, onMouseLeave: this.handleHideTooltip, onFocus: this.handleShowTooltip, onBlur: this.handleHideTooltip, onClick: this.handleClick }, index.h("dso-icon", { key: 'a3c3df83e533e83df10f5b8d7926f70a49422e30', icon: this.icon, "aria-hidden": "true" }), index.h(tooltip_functionalComponent.Tooltip, { key: '8e2334a4b4ecaecf91394a4743f5757bf3e3044e', tipElementRef: (element) => (this.tooltipElRef = element), tipArrowElementRef: (element) => (this.tooltipArrowElRef = element) }, this.label)));
892
864
  }
893
865
  };
894
866
  IconButton.style = iconButtonCss();
@@ -1,8 +1,9 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-CfwUrDXc.js');
4
- var positionTooltip_function = require('./position-tooltip.function-DCOaqlbY.js');
5
- var tooltip_functionalComponent = require('./tooltip.functional-component-BEcuvKwS.js');
3
+ var index = require('./index-BBx5yytN.js');
4
+ var toggletip_controller = require('./toggletip.controller-BB-Voe-Z.js');
5
+ var tooltip_functionalComponent = require('./tooltip.functional-component-DOBjuEpE.js');
6
+ require('./position-tooltip.function-DCOaqlbY.js');
6
7
  require('./floating-ui.dom-BKTTOpb1.js');
7
8
 
8
9
  const infoCss = () => `*,*::after,*::before{box-sizing:border-box}:host{display:block;padding-block:16px;padding-inline:16px 32px;position:relative;--_dso-alert-success-border-color:#39870c;--_dso-alert-error-border-color:#ce3f51;--_dso-alert-info-border-color:#6ca4d9;--_dso-alert-warning-border-color:#dcd400;--_dso-link-color:currentColor;--_dso-link-hover-color:currentColor;--_dso-link-visited-color:currentColor;--_dso-link-download-icon:var(--_dso-di-download-zwart);--_dso-link-extern-icon:var(--_dso-di-external-link-zwart);--_dso-link-phone-icon:var(--_dso-di-call-zwart);--_dso-link-mail-icon:var(--_dso-di-mail-outline-zwart);--_dso-link-list-chevron-icon:var(--_dso-di-chevron-right-zwart);--_dso-icon-button-secondary-active-color:#fff;--_dso-icon-button-secondary-active-background-color:#1f472c;--_dso-icon-button-secondary-toggled-color:#fff;--_dso-icon-button-secondary-toggled-background-color:#275937;--_dso-icon-button-secondary-toggled-hover-background-color:#1b3e27;--_dso-icon-button-tertiary-color:#191919;--_dso-icon-button-tertiary-hover-color:#4c4c4c;--_dso-icon-button-tertiary-active-color:#1f472c;--_dso-icon-button-tertiary-toggled-color:#275937;--_dso-icon-button-tertiary-toggled-hover-color:#1b3e27;--_dso-icon-button-tertiary-disabled-color:#999;--_dso-button-tertiary-download-icon:var(--_dso-di-download-zwart);--_dso-button-tertiary-external-link-icon:var(--_dso-di-external-link-zwart);--_dso-button-tertiary-color:#191919;--_dso-button-tertiary-hover-color:#4c4c4c;--_dso-button-tertiary-active-color:#173521;--_dso-button-tertiary-disabled-color:#999;background-color:#f2f2f2;color:#191919;--_dso-image-display:block;--_dso-image-margin-block:8px;--_dso-image-margin-inline:auto;--_dso-rich-content-margin-block-start:0}:host(:not([active],[fixed])),:host([active=false]:not([fixed])),:host([active=false][fixed=false]){display:none}dso-icon-button{position:absolute;inset-inline-end:8px;inset-block-start:8px}`;
@@ -13,7 +14,7 @@ const Info = class {
13
14
  this.dsoClose = index.createEvent(this, "dsoClose", 7);
14
15
  }
15
16
  render() {
16
- return (index.h(index.Fragment, { key: 'dbb5daa5f70d8a8a0e316d3729d3ab3bccdbdbcc' }, index.h("slot", { key: '49645a72744a9569f934784cce9e6078ef765140' }), !this.fixed && (index.h("dso-icon-button", { key: '83d64535203b6e56171ba2394e9358f2d48c3f6e', label: "Sluiten", variant: "tertiary", icon: "cross", onDsoClick: (e) => this.dsoClose.emit(e.detail.originalEvent) }))));
17
+ return (index.h(index.Fragment, { key: '501034aaf66e9109b35acead40058a4a42081904' }, index.h("slot", { key: '3e92f25b24180c39db9cbe8967baac16e41e0f03' }), !this.fixed && (index.h("dso-icon-button", { key: '568cdfc82e1fb885849226689812843a9045184d', label: "Sluiten", variant: "tertiary", icon: "cross", onDsoClick: (e) => this.dsoClose.emit(e.detail.originalEvent) }))));
17
18
  }
18
19
  };
19
20
  Info.style = infoCss();
@@ -24,6 +25,13 @@ const InfoButton = class {
24
25
  constructor(hostRef) {
25
26
  index.registerInstance(this, hostRef);
26
27
  this.dsoToggle = index.createEvent(this, "dsoToggle", 7);
28
+ this.toggletipController = new toggletip_controller.ToggletipController({
29
+ getReferenceElement: () => this.button,
30
+ getTipElement: () => this.toggletipElRef,
31
+ getTipArrowElement: () => this.toggletipArrowElRef,
32
+ getRestrictContentElement: () => this.restrictContentElement,
33
+ getPlacement: () => this.toggletipPlacement,
34
+ });
27
35
  /**
28
36
  * Whether the InfoButton is active.
29
37
  */
@@ -42,7 +50,7 @@ const InfoButton = class {
42
50
  if (!this.toggletipActive) {
43
51
  return;
44
52
  }
45
- if (!event.composedPath().includes(this.host)) {
53
+ if (toggletip_controller.isEventOutside(this.host, event)) {
46
54
  this.closeToggletip();
47
55
  }
48
56
  };
@@ -83,42 +91,10 @@ const InfoButton = class {
83
91
  }
84
92
  closeToggletip() {
85
93
  this.toggletipActive = false;
86
- if (this.toggletipElRef?.isConnected && this.toggletipElRef.matches(":popover-open")) {
87
- this.toggletipElRef.hidePopover();
88
- }
89
- this.cleanUpTooltip();
90
- }
91
- cleanUpTooltip() {
92
- this.cleanUpFunction?.();
93
- this.cleanUpFunction = undefined;
94
+ this.toggletipController.update(false);
94
95
  }
95
96
  componentDidRender() {
96
- if (!this.hasToggletip) {
97
- this.toggletipElRef?.hidePopover();
98
- this.cleanUpTooltip();
99
- return;
100
- }
101
- if (!this.cleanUpFunction &&
102
- this.toggletipActive &&
103
- this.button &&
104
- this.toggletipElRef &&
105
- this.toggletipArrowElRef) {
106
- this.cleanUpFunction = positionTooltip_function.positionTooltip({
107
- referenceElement: this.button,
108
- tipRef: this.toggletipElRef,
109
- tipArrowRef: this.toggletipArrowElRef,
110
- placementTip: this.toggletipPlacement,
111
- restrictContentElement: this.restrictContentElement,
112
- });
113
- }
114
- if (this.cleanUpFunction) {
115
- if (this.toggletipActive) {
116
- this.toggletipElRef?.showPopover();
117
- }
118
- else {
119
- this.closeToggletip();
120
- }
121
- }
97
+ this.toggletipController.update(this.hasToggletip && this.toggletipActive);
122
98
  }
123
99
  connectedCallback() {
124
100
  this.mutationObserver = new MutationObserver(() => {
@@ -130,12 +106,12 @@ const InfoButton = class {
130
106
  });
131
107
  }
132
108
  disconnectedCallback() {
133
- this.closeToggletip();
109
+ this.toggletipController.dispose();
134
110
  this.mutationObserver?.disconnect();
135
111
  delete this.mutationObserver;
136
112
  }
137
113
  render() {
138
- return (index.h(index.Host, { key: '3d7fe85a8460daef297217c63ecdfcbeee494384', onKeyDown: this.keyDownHandler }, index.h("dso-icon-button", { key: 'c4f23d40f61c2ecdf983f1be869f704aa89a1c7f', variant: "tertiary", label: this.label, onDsoClick: (e) => this.handleToggle(e.detail.originalEvent), icon: this.active || this.toggletipActive ? "info-solid" : "info-outline", ref: (element) => (this.button = element), expanded: this.hasToggletip ? this.toggletipActive : undefined }), this.hasToggletip && (index.h(tooltip_functionalComponent.Tooltip, { key: '3d3db4d605333fce051e25ace41275809ee7c3e6', tipElementRef: (element) => (this.toggletipElRef = element), tipArrowElementRef: (element) => (this.toggletipArrowElRef = element) }, index.h("dso-scrollable", { key: 'f9536e03cf69b8bea88da5919a06d9ffef5f2d1f', ref: (element) => (this.restrictContentElement = element), "aria-live": "polite" }, index.h("slot", { key: '0c7a455af59be731a1a2012810883b8b585df09f', name: "toggletip" }))))));
114
+ return (index.h(index.Host, { key: 'b38212731ef3325d9d9b87919248494ce7eb27ab', onKeyDown: this.keyDownHandler }, index.h("dso-icon-button", { key: '3f5e645d8e69e01b1342914c330f7951bd3d38cc', variant: "tertiary", label: this.label, onDsoClick: (e) => this.handleToggle(e.detail.originalEvent), icon: this.active || this.toggletipActive ? "info-solid" : "info-outline", ref: (element) => (this.button = element), expanded: this.hasToggletip ? this.toggletipActive : undefined }), this.hasToggletip && (index.h(tooltip_functionalComponent.Tooltip, { key: '01af1c555dadef251f3076c9137fd5d3cff3d34a', tipElementRef: (element) => (this.toggletipElRef = element), tipArrowElementRef: (element) => (this.toggletipArrowElRef = element) }, index.h("dso-scrollable", { key: 'd5b69968072ca345f825685643a9d371b62a6562', ref: (element) => (this.restrictContentElement = element), "aria-live": "polite" }, index.h("slot", { key: '01f5101e35bfb869909b1b9788c88dcdc9d91351', name: "toggletip" }))))));
139
115
  }
140
116
  get host() { return index.getElement(this); }
141
117
  };
@@ -205,7 +181,7 @@ const Selectable = class {
205
181
  const describedBy = [hasInfo && this.infoFixed ? this.describedById : undefined, this.errormessage]
206
182
  .filter((value) => value !== undefined)
207
183
  .join(" ") || undefined;
208
- return (index.h(index.Fragment, { key: '254653ec27f9a20033a72604642a90ea729c6c0c' }, index.h("div", { key: '2dc879bcbf2248e6bc066875557aea42de9061fc', class: "dso-selectable-container" }, index.h("div", { key: '28cb0e8f7d3796e1e05eed52507c4e61843d9de4', class: "dso-selectable-input-wrapper" }, index.h("input", { key: '993aa2d0fc4a0900fd087ba501ac14b786f46aa7', type: this.type, id: this.getIdentifier(), value: this.value, name: this.name, "aria-invalid": this.invalid?.toString(), "aria-describedby": describedBy, "aria-labelledBy": this.labelledById, disabled: this.disabled, required: this.required, checked: this.checked, onChange: this.handleOnChange, ref: (el) => (this.input = el) }), !this.labelledById ? (index.h("label", { htmlFor: this.getIdentifier() }, index.h("slot", null))) : (index.h("label", null, index.h("slot", null)))), hasInfo && !this.infoFixed && (index.h("dso-info-button", { key: '94e7c65b13b69d60953843d5d419f9e648f358a7', active: this.infoActive, onDsoToggle: (e) => (this.infoActive = e.detail.active) }))), hasInfo && (index.h("dso-info", { key: 'ac9dac488d38956e91560ef24dc7c84333162acb', id: hasInfo && this.infoFixed ? this.describedById : undefined, fixed: this.infoFixed, active: this.infoActive, onDsoClose: () => (this.infoActive = false) }, index.h("div", { key: '9df52add67145506fbd4458cba070b02d7c3219c' }, index.h("slot", { key: '209dc3e4e986ac8544f0cf60378bb476aa015fee', name: "info" })))), index.h("slot", { key: 'c6c979b1939b4bcb819b99605a486a363b8b319f', name: "options" })));
184
+ return (index.h(index.Fragment, { key: '4fcfaccfc2f046747059a236b95e94fd0ff63eda' }, index.h("div", { key: 'b157a7b0666bff6a70c6f73c8f01e0f404be59a6', class: "dso-selectable-container" }, index.h("div", { key: '0ae8a012600400a2ad5613a40b5edc7ed2e3697b', class: "dso-selectable-input-wrapper" }, index.h("input", { key: '3766067fdbd363f009d8e468efa744cff7806125', type: this.type, id: this.getIdentifier(), value: this.value, name: this.name, "aria-invalid": this.invalid?.toString(), "aria-describedby": describedBy, "aria-labelledBy": this.labelledById, disabled: this.disabled, required: this.required, checked: this.checked, onChange: this.handleOnChange, ref: (el) => (this.input = el) }), !this.labelledById ? (index.h("label", { htmlFor: this.getIdentifier() }, index.h("slot", null))) : (index.h("label", null, index.h("slot", null)))), hasInfo && !this.infoFixed && (index.h("dso-info-button", { key: '372012b7f352dbbec302bd8b8eb8ba06f61afb3b', active: this.infoActive, onDsoToggle: (e) => (this.infoActive = e.detail.active) }))), hasInfo && (index.h("dso-info", { key: '9df3328a5f9e511ce3c3e47198f8962ad9fd8e5f', id: hasInfo && this.infoFixed ? this.describedById : undefined, fixed: this.infoFixed, active: this.infoActive, onDsoClose: () => (this.infoActive = false) }, index.h("div", { key: '669eeac1998e756335e46e571f09ed128b510b88' }, index.h("slot", { key: '7988c3530d3b595a0bd8e276c5880bf23c32f480', name: "info" })))), index.h("slot", { key: '03944fb01644124409295f56dc44e7753d9d34e8', name: "options" })));
209
185
  }
210
186
  componentDidRender() {
211
187
  if (this.input && typeof this.checked === "boolean" && this.input.checked !== this.checked) {
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-CfwUrDXc.js');
3
+ var index = require('./index-BBx5yytN.js');
4
4
 
5
5
  const inputRangeCss = () => `:host{display:flex;align-items:center;gap:0.625rem;padding-block:0.5rem;inline-size:100%}*,*::after,*::before{box-sizing:border-box}.counter{flex-shrink:0;min-inline-size:20px}.input{flex-grow:1;appearance:none;background-color:transparent;cursor:pointer}.input::-webkit-slider-runnable-track{block-size:0.5rem;background-color:#e5e5e5;border:1px solid #666;border-radius:0.5rem}.input::-webkit-slider-runnable-track:hover{background-color:#ccc}.input::-webkit-slider-thumb{block-size:1.5rem;inline-size:1.5rem;appearance:none;margin-block-start:-0.55rem;background-color:#39870c;border-radius:50%}.input::-webkit-slider-thumb:hover{background-color:#275937}.input::-moz-range-track{box-sizing:border-box;block-size:0.5rem;background-color:#e5e5e5;border:1px solid #666;border-radius:0.5rem}.input::-moz-range-track:hover{background-color:#ccc}.input::-moz-range-thumb{box-sizing:border-box;block-size:1.5rem;inline-size:1.5rem;appearance:none;margin-block-start:-0.5rem;background-color:#39870c;border-radius:50%;border-color:transparent}.input::-moz-range-thumb:hover{background-color:#275937}`;
6
6
 
@@ -17,13 +17,13 @@ const InputRange = class {
17
17
  const min = this.min || 0;
18
18
  const max = this.max || 100;
19
19
  const step = this.step || 1;
20
- return (index.h(index.Fragment, null, this.description && (index.h("span", { key: '940230f9930b61c85be6b9ee4f6abbdff206b5ee', id: "description", hidden: true }, this.description)), index.h("span", { key: '6cb444384ee68542030b731f8434be34bbcc9d63', class: "counter", "aria-hidden": "true" }, min, this.unit), index.h("input", { key: 'a465a697454b737b8235340b9f88105bf55174a0', type: "range", min: min, max: max, step: step, value: this.value, class: "input", "aria-label": this.label, "aria-describedby": this.description ? "description" : undefined, onChange: (event) => this.dsoChange.emit({
20
+ return (index.h(index.Fragment, null, this.description && (index.h("span", { key: 'c9c1c2a01f8d800d9cb861f6ef4b7073af1185e3', id: "description", hidden: true }, this.description)), index.h("span", { key: 'c10d10a730b924332e28bcd873ba9d0f7b3b28be', class: "counter", "aria-hidden": "true" }, min, this.unit), index.h("input", { key: '484f8c4a80bc4d46b8ce29a5bf8d543a7afc4748', type: "range", min: min, max: max, step: step, value: this.value, class: "input", "aria-label": this.label, "aria-describedby": this.description ? "description" : undefined, onChange: (event) => this.dsoChange.emit({
21
21
  originalEvent: event,
22
22
  value: event.target instanceof HTMLInputElement ? parseInt(event.target.value, 10) : undefined,
23
23
  max,
24
24
  min,
25
25
  step,
26
- }) }), index.h("span", { key: 'ab860fe8d7fc759ad51a3a1789dcb14658d282fa', class: "counter", "aria-hidden": "true" }, max, this.unit)));
26
+ }) }), index.h("span", { key: 'eab4c183cb6434e4bfe2e6cefdcd806baf6d6065', class: "counter", "aria-hidden": "true" }, max, this.unit)));
27
27
  }
28
28
  get host() { return index.getElement(this); }
29
29
  };
@@ -1,11 +1,12 @@
1
1
  'use strict';
2
2
 
3
- var index$1 = require('./index-CfwUrDXc.js');
3
+ var index$1 = require('./index-BBx5yytN.js');
4
4
  var clsx = require('./clsx-BtxeOLZW.js');
5
5
  var index = require('./index-DMUCyuUA.js');
6
- var positionTooltip_function = require('./position-tooltip.function-DCOaqlbY.js');
7
- var tooltip_functionalComponent = require('./tooltip.functional-component-BEcuvKwS.js');
6
+ var tooltip_controller = require('./tooltip.controller-Cvac0qe3.js');
7
+ var tooltip_functionalComponent = require('./tooltip.functional-component-DOBjuEpE.js');
8
8
  var v4 = require('./v4-_2BfiRUa.js');
9
+ require('./position-tooltip.function-DCOaqlbY.js');
9
10
  require('./floating-ui.dom-BKTTOpb1.js');
10
11
 
11
12
  const labelCss = () => `.dso-tooltip{--_dso-alert-success-border-color:initial;--_dso-alert-error-border-color:initial;--_dso-alert-info-border-color:initial;--_dso-alert-warning-border-color:initial;background-color:#fff;color:#191919;border-radius:4px;overflow:unset;margin:0;border:0;padding:0;filter:drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));opacity:0;visibility:hidden;max-inline-size:640px}.dso-tooltip .tooltip-inner{--_dso-span-role-paragraph-margin-block:8px;--_dso-alert-success-border-color:initial;--_dso-alert-error-border-color:initial;--_dso-alert-info-border-color:initial;--_dso-alert-warning-border-color:initial;background-color:#fff;color:#191919;font-family:Asap, sans-serif;font-size:1rem;font-weight:normal;padding-block:8px;padding-inline:16px;border-radius:4px;line-height:1.5}.dso-tooltip .tooltip-arrow{position:absolute;background-color:#fff;border-start-start-radius:4px;block-size:10px;inline-size:10px;pointer-events:none;z-index:-1}*,*::after,*::before{box-sizing:border-box}:host{display:inline-block;max-inline-size:100%}:host([removable]) .dso-truncate.dso-label-content{max-inline-size:calc(100% - 28px)}:host([truncate]) .dso-label-content{display:inline-block;max-inline-size:100%;overflow:hidden;text-overflow:ellipsis;vertical-align:bottom;white-space:nowrap}::slotted([slot=symbol]){background-color:#fff;background-color:#fff;display:block;float:inline-start;block-size:20px;margin-block-start:0;margin-inline-end:8px;inline-size:24px;overflow:hidden;position:relative}.dso-label{--_dso-alert-success-border-color:#39870c;--_dso-alert-error-border-color:#ce3f51;--_dso-alert-info-border-color:#6ca4d9;--_dso-alert-warning-border-color:#dcd400;--_dso-link-color:currentColor;--_dso-link-hover-color:currentColor;--_dso-link-visited-color:currentColor;--_dso-link-download-icon:var(--_dso-di-download-zwart);--_dso-link-extern-icon:var(--_dso-di-external-link-zwart);--_dso-link-phone-icon:var(--_dso-di-call-zwart);--_dso-link-mail-icon:var(--_dso-di-mail-outline-zwart);--_dso-link-list-chevron-icon:var(--_dso-di-chevron-right-zwart);--_dso-icon-button-secondary-active-color:#fff;--_dso-icon-button-secondary-active-background-color:#1f472c;--_dso-icon-button-secondary-toggled-color:#fff;--_dso-icon-button-secondary-toggled-background-color:#275937;--_dso-icon-button-secondary-toggled-hover-background-color:#1b3e27;--_dso-icon-button-tertiary-color:#191919;--_dso-icon-button-tertiary-hover-color:#4c4c4c;--_dso-icon-button-tertiary-active-color:#1f472c;--_dso-icon-button-tertiary-toggled-color:#275937;--_dso-icon-button-tertiary-toggled-hover-color:#1b3e27;--_dso-icon-button-tertiary-disabled-color:#999;--_dso-button-tertiary-download-icon:var(--_dso-di-download-zwart);--_dso-button-tertiary-external-link-icon:var(--_dso-di-external-link-zwart);--_dso-button-tertiary-color:#191919;--_dso-button-tertiary-hover-color:#4c4c4c;--_dso-button-tertiary-active-color:#173521;--_dso-button-tertiary-disabled-color:#999;background-color:#f2f2f2;color:#191919;display:inline-flex;align-items:center;padding-block:4px;padding-inline:8px;max-inline-size:100%;font-weight:normal;border-radius:4px;line-height:1.5}.dso-label:focus-within,.dso-label.dso-hover{text-decoration:line-through}.dso-label.dso-label-info{--_dso-alert-success-border-color:#39870c;--_dso-alert-error-border-color:#ce3f51;--_dso-alert-info-border-color:#6ca4d9;--_dso-alert-warning-border-color:#dcd400;--_dso-link-color:currentColor;--_dso-link-hover-color:currentColor;--_dso-link-visited-color:currentColor;--_dso-link-download-icon:var(--_dso-di-download-zwart);--_dso-link-extern-icon:var(--_dso-di-external-link-zwart);--_dso-link-phone-icon:var(--_dso-di-call-zwart);--_dso-link-mail-icon:var(--_dso-di-mail-outline-zwart);--_dso-link-list-chevron-icon:var(--_dso-di-chevron-right-zwart);--_dso-icon-button-secondary-active-color:#fff;--_dso-icon-button-secondary-active-background-color:#1f472c;--_dso-icon-button-secondary-toggled-color:#fff;--_dso-icon-button-secondary-toggled-background-color:#275937;--_dso-icon-button-secondary-toggled-hover-background-color:#1b3e27;--_dso-icon-button-tertiary-color:#191919;--_dso-icon-button-tertiary-hover-color:#4c4c4c;--_dso-icon-button-tertiary-active-color:#1f472c;--_dso-icon-button-tertiary-toggled-color:#275937;--_dso-icon-button-tertiary-toggled-hover-color:#1b3e27;--_dso-icon-button-tertiary-disabled-color:#999;--_dso-button-tertiary-download-icon:var(--_dso-di-download-zwart);--_dso-button-tertiary-external-link-icon:var(--_dso-di-external-link-zwart);--_dso-button-tertiary-color:#191919;--_dso-button-tertiary-hover-color:#4c4c4c;--_dso-button-tertiary-active-color:#173521;--_dso-button-tertiary-disabled-color:#999;background-color:#6ca4d9;color:#191919}.dso-label.dso-label-primary{--_dso-alert-success-border-color:#39870c;--_dso-alert-error-border-color:#ce3f51;--_dso-alert-info-border-color:#6ca4d9;--_dso-alert-warning-border-color:#dcd400;--_dso-link-color:currentColor;--_dso-link-hover-color:currentColor;--_dso-link-visited-color:currentColor;--_dso-link-download-icon:var(--_dso-di-download-wit);--_dso-link-extern-icon:var(--_dso-di-external-link-wit);--_dso-link-phone-icon:var(--_dso-di-call-wit);--_dso-link-mail-icon:var(--_dso-di-mail-outline-wit);--_dso-link-list-chevron-icon:var(--_dso-di-chevron-right-wit);--_dso-icon-button-secondary-active-color:#fff;--_dso-icon-button-secondary-active-background-color:rgba(255, 255, 255, 0.4);--_dso-icon-button-secondary-toggled-color:#fff;--_dso-icon-button-secondary-toggled-background-color:rgba(255, 255, 255, 0.2);--_dso-icon-button-secondary-toggled-hover-background-color:rgba(255, 255, 255, 0.3);--_dso-icon-button-tertiary-color:#f2f2f2;--_dso-icon-button-tertiary-hover-color:#fff;--_dso-icon-button-tertiary-active-color:rgba(255, 255, 255, 0.4);--_dso-icon-button-tertiary-toggled-color:#fff;--_dso-icon-button-tertiary-toggled-hover-color:rgba(255, 255, 255, 0.3);--_dso-icon-button-tertiary-disabled-color:#b2b2b2;--_dso-button-tertiary-download-icon:var(--_dso-di-download-wit);--_dso-button-tertiary-external-link-icon:var(--_dso-di-external-link-wit);--_dso-button-primary-background-color:#fff;--_dso-button-primary-hover-background-color:rgba(255, 255, 255, 0.8);--_dso-button-primary-active-background-color:#f2f2f2;--_dso-button-primary-disabled-background-color:rgba(255, 255, 255, 0.6);--_dso-button-primary-border-color:#fff;--_dso-button-primary-hover-border-color:rgba(255, 255, 255, 0.8);--_dso-button-primary-active-border-color:#f2f2f2;--_dso-button-primary-disabled-border-color:rgba(255, 255, 255, 0.6);--_dso-button-primary-color:#191919;--_dso-button-primary-hover-color:#191919;--_dso-button-primary-active-color:#191919;--_dso-button-primary-disabled-color:#666;--_dso-button-secondary-background-color:none;--_dso-button-secondary-hover-background-color:rgba(255, 255, 255, 0.2);--_dso-button-secondary-active-background-color:rgba(255, 255, 255, 0.4);--_dso-button-secondary-disabled-background-color:none;--_dso-button-secondary-border-color:#fff;--_dso-button-secondary-hover-border-color:#fff;--_dso-button-secondary-active-border-color:rgba(255, 255, 255, 0.4);--_dso-button-secondary-disabled-border-color:rgba(255, 255, 255, 0.7);--_dso-button-secondary-color:#fff;--_dso-button-secondary-hover-color:#fff;--_dso-button-secondary-active-color:#fff;--_dso-button-secondary-disabled-color:rgba(255, 255, 255, 0.7);--_dso-button-tertiary-color:#fff;--_dso-button-tertiary-hover-color:#fff;--_dso-button-tertiary-active-color:#fff;--_dso-button-tertiary-disabled-color:#b2b2b2;background-color:#275937;color:#fff}.dso-label.dso-label-success{--_dso-alert-success-border-color:#39870c;--_dso-alert-error-border-color:#ce3f51;--_dso-alert-info-border-color:#6ca4d9;--_dso-alert-warning-border-color:#dcd400;--_dso-link-color:currentColor;--_dso-link-hover-color:currentColor;--_dso-link-visited-color:currentColor;--_dso-link-download-icon:var(--_dso-di-download-wit);--_dso-link-extern-icon:var(--_dso-di-external-link-wit);--_dso-link-phone-icon:var(--_dso-di-call-wit);--_dso-link-mail-icon:var(--_dso-di-mail-outline-wit);--_dso-link-list-chevron-icon:var(--_dso-di-chevron-right-wit);--_dso-icon-button-secondary-active-color:#fff;--_dso-icon-button-secondary-active-background-color:rgba(255, 255, 255, 0.4);--_dso-icon-button-secondary-toggled-color:#fff;--_dso-icon-button-secondary-toggled-background-color:rgba(255, 255, 255, 0.2);--_dso-icon-button-secondary-toggled-hover-background-color:rgba(255, 255, 255, 0.3);--_dso-icon-button-tertiary-color:#f2f2f2;--_dso-icon-button-tertiary-hover-color:#fff;--_dso-icon-button-tertiary-active-color:rgba(255, 255, 255, 0.4);--_dso-icon-button-tertiary-toggled-color:#fff;--_dso-icon-button-tertiary-toggled-hover-color:rgba(255, 255, 255, 0.3);--_dso-icon-button-tertiary-disabled-color:#b2b2b2;--_dso-button-tertiary-download-icon:var(--_dso-di-download-wit);--_dso-button-tertiary-external-link-icon:var(--_dso-di-external-link-wit);--_dso-button-primary-background-color:#fff;--_dso-button-primary-hover-background-color:rgba(255, 255, 255, 0.8);--_dso-button-primary-active-background-color:#f2f2f2;--_dso-button-primary-disabled-background-color:rgba(255, 255, 255, 0.6);--_dso-button-primary-border-color:#fff;--_dso-button-primary-hover-border-color:rgba(255, 255, 255, 0.8);--_dso-button-primary-active-border-color:#f2f2f2;--_dso-button-primary-disabled-border-color:rgba(255, 255, 255, 0.6);--_dso-button-primary-color:#191919;--_dso-button-primary-hover-color:#191919;--_dso-button-primary-active-color:#191919;--_dso-button-primary-disabled-color:#666;--_dso-button-secondary-background-color:none;--_dso-button-secondary-hover-background-color:rgba(255, 255, 255, 0.2);--_dso-button-secondary-active-background-color:rgba(255, 255, 255, 0.4);--_dso-button-secondary-disabled-background-color:none;--_dso-button-secondary-border-color:#fff;--_dso-button-secondary-hover-border-color:#fff;--_dso-button-secondary-active-border-color:rgba(255, 255, 255, 0.4);--_dso-button-secondary-disabled-border-color:rgba(255, 255, 255, 0.7);--_dso-button-secondary-color:#fff;--_dso-button-secondary-hover-color:#fff;--_dso-button-secondary-active-color:#fff;--_dso-button-secondary-disabled-color:rgba(255, 255, 255, 0.7);--_dso-button-tertiary-color:#fff;--_dso-button-tertiary-hover-color:#fff;--_dso-button-tertiary-active-color:#fff;--_dso-button-tertiary-disabled-color:#b2b2b2;background-color:#39870c;color:#fff}.dso-label.dso-label-warning{--_dso-alert-success-border-color:#39870c;--_dso-alert-error-border-color:#ce3f51;--_dso-alert-info-border-color:#6ca4d9;--_dso-alert-warning-border-color:#dcd400;--_dso-link-color:currentColor;--_dso-link-hover-color:currentColor;--_dso-link-visited-color:currentColor;--_dso-link-download-icon:var(--_dso-di-download-zwart);--_dso-link-extern-icon:var(--_dso-di-external-link-zwart);--_dso-link-phone-icon:var(--_dso-di-call-zwart);--_dso-link-mail-icon:var(--_dso-di-mail-outline-zwart);--_dso-link-list-chevron-icon:var(--_dso-di-chevron-right-zwart);--_dso-icon-button-secondary-active-color:#fff;--_dso-icon-button-secondary-active-background-color:#1f472c;--_dso-icon-button-secondary-toggled-color:#fff;--_dso-icon-button-secondary-toggled-background-color:#275937;--_dso-icon-button-secondary-toggled-hover-background-color:#1b3e27;--_dso-icon-button-tertiary-color:#191919;--_dso-icon-button-tertiary-hover-color:#4c4c4c;--_dso-icon-button-tertiary-active-color:#1f472c;--_dso-icon-button-tertiary-toggled-color:#275937;--_dso-icon-button-tertiary-toggled-hover-color:#1b3e27;--_dso-icon-button-tertiary-disabled-color:#999;--_dso-button-tertiary-download-icon:var(--_dso-di-download-zwart);--_dso-button-tertiary-external-link-icon:var(--_dso-di-external-link-zwart);--_dso-button-tertiary-color:#191919;--_dso-button-tertiary-hover-color:#4c4c4c;--_dso-button-tertiary-active-color:#173521;--_dso-button-tertiary-disabled-color:#999;background-color:#dcd400;color:#191919}.dso-label.dso-label-error{--_dso-alert-success-border-color:#39870c;--_dso-alert-error-border-color:#ce3f51;--_dso-alert-info-border-color:#6ca4d9;--_dso-alert-warning-border-color:#dcd400;--_dso-link-color:currentColor;--_dso-link-hover-color:currentColor;--_dso-link-visited-color:currentColor;--_dso-link-download-icon:var(--_dso-di-download-wit);--_dso-link-extern-icon:var(--_dso-di-external-link-wit);--_dso-link-phone-icon:var(--_dso-di-call-wit);--_dso-link-mail-icon:var(--_dso-di-mail-outline-wit);--_dso-link-list-chevron-icon:var(--_dso-di-chevron-right-wit);--_dso-icon-button-secondary-active-color:#fff;--_dso-icon-button-secondary-active-background-color:rgba(255, 255, 255, 0.4);--_dso-icon-button-secondary-toggled-color:#fff;--_dso-icon-button-secondary-toggled-background-color:rgba(255, 255, 255, 0.2);--_dso-icon-button-secondary-toggled-hover-background-color:rgba(255, 255, 255, 0.3);--_dso-icon-button-tertiary-color:#f2f2f2;--_dso-icon-button-tertiary-hover-color:#fff;--_dso-icon-button-tertiary-active-color:rgba(255, 255, 255, 0.4);--_dso-icon-button-tertiary-toggled-color:#fff;--_dso-icon-button-tertiary-toggled-hover-color:rgba(255, 255, 255, 0.3);--_dso-icon-button-tertiary-disabled-color:#b2b2b2;--_dso-button-tertiary-download-icon:var(--_dso-di-download-wit);--_dso-button-tertiary-external-link-icon:var(--_dso-di-external-link-wit);--_dso-button-primary-background-color:#fff;--_dso-button-primary-hover-background-color:rgba(255, 255, 255, 0.8);--_dso-button-primary-active-background-color:#f2f2f2;--_dso-button-primary-disabled-background-color:rgba(255, 255, 255, 0.6);--_dso-button-primary-border-color:#fff;--_dso-button-primary-hover-border-color:rgba(255, 255, 255, 0.8);--_dso-button-primary-active-border-color:#f2f2f2;--_dso-button-primary-disabled-border-color:rgba(255, 255, 255, 0.6);--_dso-button-primary-color:#191919;--_dso-button-primary-hover-color:#191919;--_dso-button-primary-active-color:#191919;--_dso-button-primary-disabled-color:#666;--_dso-button-secondary-background-color:none;--_dso-button-secondary-hover-background-color:rgba(255, 255, 255, 0.2);--_dso-button-secondary-active-background-color:rgba(255, 255, 255, 0.4);--_dso-button-secondary-disabled-background-color:none;--_dso-button-secondary-border-color:#fff;--_dso-button-secondary-hover-border-color:#fff;--_dso-button-secondary-active-border-color:rgba(255, 255, 255, 0.4);--_dso-button-secondary-disabled-border-color:rgba(255, 255, 255, 0.7);--_dso-button-secondary-color:#fff;--_dso-button-secondary-hover-color:#fff;--_dso-button-secondary-active-color:#fff;--_dso-button-secondary-disabled-color:rgba(255, 255, 255, 0.7);--_dso-button-tertiary-color:#fff;--_dso-button-tertiary-hover-color:#fff;--_dso-button-tertiary-active-color:#fff;--_dso-button-tertiary-disabled-color:#b2b2b2;background-color:#ce3f51;color:#fff}.dso-label.dso-label-bright{--_dso-alert-success-border-color:initial;--_dso-alert-error-border-color:initial;--_dso-alert-info-border-color:initial;--_dso-alert-warning-border-color:initial;background-color:#fff;color:#191919;outline:1px solid #ccc;outline-offset:-1px}.dso-label.dso-label-attention{--_dso-alert-success-border-color:#39870c;--_dso-alert-error-border-color:#ce3f51;--_dso-alert-info-border-color:#6ca4d9;--_dso-alert-warning-border-color:#dcd400;--_dso-link-color:currentColor;--_dso-link-hover-color:currentColor;--_dso-link-visited-color:currentColor;--_dso-link-download-icon:var(--_dso-di-download-wit);--_dso-link-extern-icon:var(--_dso-di-external-link-wit);--_dso-link-phone-icon:var(--_dso-di-call-wit);--_dso-link-mail-icon:var(--_dso-di-mail-outline-wit);--_dso-link-list-chevron-icon:var(--_dso-di-chevron-right-wit);--_dso-icon-button-secondary-active-color:#fff;--_dso-icon-button-secondary-active-background-color:rgba(255, 255, 255, 0.4);--_dso-icon-button-secondary-toggled-color:#fff;--_dso-icon-button-secondary-toggled-background-color:rgba(255, 255, 255, 0.2);--_dso-icon-button-secondary-toggled-hover-background-color:rgba(255, 255, 255, 0.3);--_dso-icon-button-tertiary-color:#f2f2f2;--_dso-icon-button-tertiary-hover-color:#fff;--_dso-icon-button-tertiary-active-color:rgba(255, 255, 255, 0.4);--_dso-icon-button-tertiary-toggled-color:#fff;--_dso-icon-button-tertiary-toggled-hover-color:rgba(255, 255, 255, 0.3);--_dso-icon-button-tertiary-disabled-color:#b2b2b2;--_dso-button-tertiary-download-icon:var(--_dso-di-download-wit);--_dso-button-tertiary-external-link-icon:var(--_dso-di-external-link-wit);--_dso-button-primary-background-color:#fff;--_dso-button-primary-hover-background-color:rgba(255, 255, 255, 0.8);--_dso-button-primary-active-background-color:#f2f2f2;--_dso-button-primary-disabled-background-color:rgba(255, 255, 255, 0.6);--_dso-button-primary-border-color:#fff;--_dso-button-primary-hover-border-color:rgba(255, 255, 255, 0.8);--_dso-button-primary-active-border-color:#f2f2f2;--_dso-button-primary-disabled-border-color:rgba(255, 255, 255, 0.6);--_dso-button-primary-color:#191919;--_dso-button-primary-hover-color:#191919;--_dso-button-primary-active-color:#191919;--_dso-button-primary-disabled-color:#666;--_dso-button-secondary-background-color:none;--_dso-button-secondary-hover-background-color:rgba(255, 255, 255, 0.2);--_dso-button-secondary-active-background-color:rgba(255, 255, 255, 0.4);--_dso-button-secondary-disabled-background-color:none;--_dso-button-secondary-border-color:#fff;--_dso-button-secondary-hover-border-color:#fff;--_dso-button-secondary-active-border-color:rgba(255, 255, 255, 0.4);--_dso-button-secondary-disabled-border-color:rgba(255, 255, 255, 0.7);--_dso-button-secondary-color:#fff;--_dso-button-secondary-hover-color:#fff;--_dso-button-secondary-active-color:#fff;--_dso-button-secondary-disabled-color:rgba(255, 255, 255, 0.7);--_dso-button-tertiary-color:#fff;--_dso-button-tertiary-hover-color:#fff;--_dso-button-tertiary-active-color:#fff;--_dso-button-tertiary-disabled-color:#b2b2b2;background-color:#8b4a6a;color:#fff}.dso-label.dso-label-filter{--_dso-alert-success-border-color:#39870c;--_dso-alert-error-border-color:#ce3f51;--_dso-alert-info-border-color:#6ca4d9;--_dso-alert-warning-border-color:#dcd400;--_dso-link-color:currentColor;--_dso-link-hover-color:currentColor;--_dso-link-visited-color:currentColor;--_dso-link-download-icon:var(--_dso-di-download-zwart);--_dso-link-extern-icon:var(--_dso-di-external-link-zwart);--_dso-link-phone-icon:var(--_dso-di-call-zwart);--_dso-link-mail-icon:var(--_dso-di-mail-outline-zwart);--_dso-link-list-chevron-icon:var(--_dso-di-chevron-right-zwart);--_dso-icon-button-secondary-active-color:#fff;--_dso-icon-button-secondary-active-background-color:#1f472c;--_dso-icon-button-secondary-toggled-color:#fff;--_dso-icon-button-secondary-toggled-background-color:#275937;--_dso-icon-button-secondary-toggled-hover-background-color:#1b3e27;--_dso-icon-button-tertiary-color:#191919;--_dso-icon-button-tertiary-hover-color:#4c4c4c;--_dso-icon-button-tertiary-active-color:#1f472c;--_dso-icon-button-tertiary-toggled-color:#275937;--_dso-icon-button-tertiary-toggled-hover-color:#1b3e27;--_dso-icon-button-tertiary-disabled-color:#999;--_dso-button-tertiary-download-icon:var(--_dso-di-download-zwart);--_dso-button-tertiary-external-link-icon:var(--_dso-di-external-link-zwart);--_dso-button-tertiary-color:#191919;--_dso-button-tertiary-hover-color:#4c4c4c;--_dso-button-tertiary-active-color:#173521;--_dso-button-tertiary-disabled-color:#999;background-color:#e1ecf7;color:#191919;border-inline-start:5px solid #6ca4d9}.dso-label.dso-label-toegevoegd{--_dso-alert-success-border-color:#39870c;--_dso-alert-error-border-color:#ce3f51;--_dso-alert-info-border-color:#6ca4d9;--_dso-alert-warning-border-color:#dcd400;--_dso-link-color:currentColor;--_dso-link-hover-color:currentColor;--_dso-link-visited-color:currentColor;--_dso-link-download-icon:var(--_dso-di-download-zwart);--_dso-link-extern-icon:var(--_dso-di-external-link-zwart);--_dso-link-phone-icon:var(--_dso-di-call-zwart);--_dso-link-mail-icon:var(--_dso-di-mail-outline-zwart);--_dso-link-list-chevron-icon:var(--_dso-di-chevron-right-zwart);--_dso-icon-button-secondary-active-color:#fff;--_dso-icon-button-secondary-active-background-color:#1f472c;--_dso-icon-button-secondary-toggled-color:#fff;--_dso-icon-button-secondary-toggled-background-color:#275937;--_dso-icon-button-secondary-toggled-hover-background-color:#1b3e27;--_dso-icon-button-tertiary-color:#191919;--_dso-icon-button-tertiary-hover-color:#4c4c4c;--_dso-icon-button-tertiary-active-color:#1f472c;--_dso-icon-button-tertiary-toggled-color:#275937;--_dso-icon-button-tertiary-toggled-hover-color:#1b3e27;--_dso-icon-button-tertiary-disabled-color:#999;--_dso-button-tertiary-download-icon:var(--_dso-di-download-zwart);--_dso-button-tertiary-external-link-icon:var(--_dso-di-external-link-zwart);--_dso-button-tertiary-color:#191919;--_dso-button-tertiary-hover-color:#4c4c4c;--_dso-button-tertiary-active-color:#173521;--_dso-button-tertiary-disabled-color:#999;background-color:#e4f1d4;color:#191919;box-shadow:0 1px 3px 1px rgba(0, 0, 0, 0.5);--_dso-ozon-content-toggletip-color:#000}.dso-label.dso-label-verwijderd{--_dso-alert-success-border-color:#39870c;--_dso-alert-error-border-color:#ce3f51;--_dso-alert-info-border-color:#6ca4d9;--_dso-alert-warning-border-color:#dcd400;--_dso-link-color:currentColor;--_dso-link-hover-color:currentColor;--_dso-link-visited-color:currentColor;--_dso-link-download-icon:var(--_dso-di-download-zwart);--_dso-link-extern-icon:var(--_dso-di-external-link-zwart);--_dso-link-phone-icon:var(--_dso-di-call-zwart);--_dso-link-mail-icon:var(--_dso-di-mail-outline-zwart);--_dso-link-list-chevron-icon:var(--_dso-di-chevron-right-zwart);--_dso-icon-button-secondary-active-color:#fff;--_dso-icon-button-secondary-active-background-color:#1f472c;--_dso-icon-button-secondary-toggled-color:#fff;--_dso-icon-button-secondary-toggled-background-color:#275937;--_dso-icon-button-secondary-toggled-hover-background-color:#1b3e27;--_dso-icon-button-tertiary-color:#191919;--_dso-icon-button-tertiary-hover-color:#4c4c4c;--_dso-icon-button-tertiary-active-color:#1f472c;--_dso-icon-button-tertiary-toggled-color:#275937;--_dso-icon-button-tertiary-toggled-hover-color:#1b3e27;--_dso-icon-button-tertiary-disabled-color:#999;--_dso-button-tertiary-download-icon:var(--_dso-di-download-zwart);--_dso-button-tertiary-external-link-icon:var(--_dso-di-external-link-zwart);--_dso-button-tertiary-color:#191919;--_dso-button-tertiary-hover-color:#4c4c4c;--_dso-button-tertiary-active-color:#173521;--_dso-button-tertiary-disabled-color:#999;background-color:#f5d8dc;color:#191919;--_dso-ozon-content-toggletip-color:#000;text-decoration:line-through;--_dso-ozon-content-toggletip-text-decoration:underline line-through}@media screen and (min--moz-device-pixel-ratio: 0){.dso-label.dso-label-verwijderd{font-family:sans-serif}}.dso-label.dso-compact{padding-block:0;padding-inline:8px}dso-icon-button{float:inline-end;margin-inline-start:8px;margin-inline-end:-4px}`;
@@ -27,27 +28,19 @@ const Label = class {
27
28
  constructor(hostRef) {
28
29
  index$1.registerInstance(this, hostRef);
29
30
  this.dsoRemoveClick = index$1.createEvent(this, "dsoRemoveClick", 7);
31
+ this.tooltipController = new tooltip_controller.TooltipController({
32
+ getReferenceElement: () => this.labelContent,
33
+ getTipElement: () => this.tooltipElRef,
34
+ getTipArrowElement: () => this.tooltipArrowElRef,
35
+ getPlacement: () => "top",
36
+ });
30
37
  this.isTruncated = false;
31
38
  this.labelText = "";
32
39
  this.handleShowTooltip = () => {
33
- this.tooltipElRef?.showPopover();
34
- if (!this.cleanUpFunction && this.labelContent && this.tooltipElRef && this.tooltipArrowElRef) {
35
- this.cleanUpFunction = positionTooltip_function.positionTooltip({
36
- referenceElement: this.labelContent,
37
- tipRef: this.tooltipElRef,
38
- tipArrowRef: this.tooltipArrowElRef,
39
- placementTip: "top",
40
- topPositionSmallViewPort: false,
41
- halfMainAxisOffset: false,
42
- forceVisible: true,
43
- });
44
- }
40
+ this.tooltipController.show();
45
41
  };
46
42
  this.handleHideTooltip = () => {
47
- if (this.tooltipElRef?.isConnected && this.tooltipElRef.matches(":popover-open")) {
48
- this.tooltipElRef.hidePopover();
49
- }
50
- this.cleanUpTooltip();
43
+ this.tooltipController.hide();
51
44
  };
52
45
  }
53
46
  watchRemovable(removable) {
@@ -82,10 +75,6 @@ const Label = class {
82
75
  syncLabelText() {
83
76
  this.labelText = this.host.textContent?.trim() ?? "";
84
77
  }
85
- cleanUpTooltip() {
86
- this.cleanUpFunction?.();
87
- this.cleanUpFunction = undefined;
88
- }
89
78
  componentDidLoad() {
90
79
  if (this.truncate) {
91
80
  this.startTruncate();
@@ -97,7 +86,7 @@ const Label = class {
97
86
  disconnectedCallback() {
98
87
  this.stopTruncate();
99
88
  this.stopMutationObserver(true);
100
- this.cleanUpTooltip();
89
+ this.tooltipController.dispose();
101
90
  }
102
91
  /** The mutationObserver fetches the text placed inside the label, this is then used for the remove button and tooltip. */
103
92
  startMutationObserver() {
@@ -127,11 +116,11 @@ const Label = class {
127
116
  this.isTruncated = false;
128
117
  }
129
118
  render() {
130
- return (index$1.h(index$1.Fragment, { key: 'b8e9c7d89bbc480af43cdc5893e13952f72c7e6f' }, index$1.h("span", { key: '39bafb744cb3b26cc4ddcc4576138c55dd371fbf', "aria-describedby": this.isTruncated ? "toggle-anchor" : null, class: clsx.clsx("dso-label", {
119
+ return (index$1.h(index$1.Fragment, { key: '2f9aae45d0e9200d23a19859f28e9f7f15168c8b' }, index$1.h("span", { key: 'aad9e727272e7eea28ea910cbb6ff3378f71c2e4', "aria-describedby": this.isTruncated ? "toggle-anchor" : null, class: clsx.clsx("dso-label", {
131
120
  [`dso-label-${this.status}`]: this.status,
132
121
  "dso-compact": this.compact && !this.removable,
133
122
  "dso-hover": this.removeHover || this.removeFocus,
134
- }) }, index$1.h("slot", { key: '896769d6536e6f5f9df67a713d4344331e323227', name: "symbol" }), index$1.h("span", { key: 'b25693c64cb43e3e17987cc2867e1fa93350e53f', class: "dso-label-content", ref: (element) => (this.labelContent = element), tabindex: this.truncate && this.isTruncated ? 0 : undefined, onMouseEnter: this.handleShowTooltip, onMouseLeave: this.handleHideTooltip, onFocus: this.handleShowTooltip, onBlur: this.handleHideTooltip }, index$1.h("slot", { key: '56f3d49f57129a73daa3116ce17006eac508b650' })), this.removable && (index$1.h("dso-icon-button", { key: '32a9fc5e25c090b1c8ce2549495421ff29943fbd', variant: "tertiary", icon: "cross", label: `Verwijder: ${this.labelText}`, onDsoClick: (e) => this.dsoRemoveClick.emit(e.detail.originalEvent), onMouseEnter: () => (this.removeHover = true), onMouseLeave: () => (this.removeHover = false), onFocus: () => (this.removeFocus = true), onBlur: () => (this.removeFocus = false) }))), this.isTruncated && (index$1.h(tooltip_functionalComponent.Tooltip, { key: '71b51d3b7d1d1dbc0ebccecb30cd3eea0edf129e', tipElementRef: (element) => (this.tooltipElRef = element), tipArrowElementRef: (element) => (this.tooltipArrowElRef = element) }, index$1.h("span", { key: 'b4300bc9f3d639b982774dbc93ae7e8e4e9989e4', id: "toggle-anchor" }, this.labelText)))));
123
+ }) }, index$1.h("slot", { key: '45d06013df712c4ef56f16f35ad7adaf912257b5', name: "symbol" }), index$1.h("span", { key: '31fd2520c6560c36a7cd314a39054272dab7d26f', class: "dso-label-content", ref: (element) => (this.labelContent = element), tabindex: this.truncate && this.isTruncated ? 0 : undefined, onMouseEnter: this.handleShowTooltip, onMouseLeave: this.handleHideTooltip, onFocus: this.handleShowTooltip, onBlur: this.handleHideTooltip }, index$1.h("slot", { key: '382b5b0e82e9cf23d88d537a822c2fe588d0a0e0' })), this.removable && (index$1.h("dso-icon-button", { key: '5810082fed31639c83ee1a077ea3e741acc4f027', variant: "tertiary", icon: "cross", label: `Verwijder: ${this.labelText}`, onDsoClick: (e) => this.dsoRemoveClick.emit(e.detail.originalEvent), onMouseEnter: () => (this.removeHover = true), onMouseLeave: () => (this.removeHover = false), onFocus: () => (this.removeFocus = true), onBlur: () => (this.removeFocus = false) }))), this.isTruncated && (index$1.h(tooltip_functionalComponent.Tooltip, { key: '102b8127bae8441c01f4d402d7ca2531633dae00', tipElementRef: (element) => (this.tooltipElRef = element), tipArrowElementRef: (element) => (this.tooltipArrowElRef = element) }, index$1.h("span", { key: '9bc36d77f9436d26955d566c6f37274393cf7430', id: "toggle-anchor" }, this.labelText)))));
135
124
  }
136
125
  get host() { return index$1.getElement(this); }
137
126
  static get watchers() { return {
@@ -226,7 +215,7 @@ const SlideToggle = class {
226
215
  this.hasVisibleLabel = this.host.querySelector("*") !== null;
227
216
  }
228
217
  render() {
229
- return (index$1.h(index$1.Fragment, { key: '59bd51c2cf2fef041a14d6f36429c9d1ef402d39' }, index$1.h("button", { key: 'a517dac5407f43c1b8f93dea3604a02cd038721d', id: this.identifier, role: "switch", class: "dso-slider", "aria-checked": "" + this.checked, disabled: this.disabled, onClick: (e) => this.handleSwitch(e), ...(this.accessibleLabel ? { "aria-label": this.accessibleLabel } : {}), ...(this.labelledbyId ? { "aria-labelledby": this.labelledbyId } : {}) }, index$1.h("svg", { key: '81f8037e082059f35a70b8367bbf20e441d9c41c', xmlns: "http://www.w3.org/2000/svg", width: "40", height: "20", viewBox: "0 0 40 20" }, index$1.h("g", { key: '7b7e4db0ad3ede2fd82d70d85af3b690b4ecbf43', fill: "none", "fill-rule": "evenodd" }, index$1.h("rect", { key: '913a4d226ac9827f15c5bd09ebff103fc6f74278', width: "40", height: "20", fill: "currentColor", rx: "10" }), index$1.h("circle", { key: 'fd624f981c43abf75ad39d0240d0760b998a5533', cy: "10", r: "8", fill: "currentColor" })))), this.hasVisibleLabel && (index$1.h("label", { key: '18f8fe97e1350930c9887e18be8b427950bd12b1', htmlFor: this.identifier }, index$1.h("slot", { key: '5b54701ae63cff1c985fe62ed1b5b15330d1aef7' })))));
218
+ return (index$1.h(index$1.Fragment, { key: 'f223b48bd6d589546dc52d62c75e31ab99e0ef87' }, index$1.h("button", { key: 'b4590c86a7f8f70c8c55c860133a5a427ae02a65', id: this.identifier, role: "switch", class: "dso-slider", "aria-checked": "" + this.checked, disabled: this.disabled, onClick: (e) => this.handleSwitch(e), ...(this.accessibleLabel ? { "aria-label": this.accessibleLabel } : {}), ...(this.labelledbyId ? { "aria-labelledby": this.labelledbyId } : {}) }, index$1.h("svg", { key: 'b2076589f34804cb099217efa9eaf124f39df6e5', xmlns: "http://www.w3.org/2000/svg", width: "40", height: "20", viewBox: "0 0 40 20" }, index$1.h("g", { key: 'd5916e9d40ff2c98715c48447c1e06042322dd8e', fill: "none", "fill-rule": "evenodd" }, index$1.h("rect", { key: '8f50a3a0f1bb71ee5bacd20d7c5ad2209c23a270', width: "40", height: "20", fill: "currentColor", rx: "10" }), index$1.h("circle", { key: '422b4a4d496a8f7f2332849a9f59030d118ac93e', cy: "10", r: "8", fill: "currentColor" })))), this.hasVisibleLabel && (index$1.h("label", { key: 'f43a29b79dbe3860647f33d42fac4ff6183910f5', htmlFor: this.identifier }, index$1.h("slot", { key: 'e73863c80c3a35b007c9cce7c6a7a9c01edf5ef9' })))));
230
219
  }
231
220
  get host() { return index$1.getElement(this); }
232
221
  };