@dso-toolkit/core 85.0.0 → 86.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (405) hide show
  1. package/dist/bundle/dso-accordion-section.js +6 -6
  2. package/dist/bundle/dso-action-list-item.js +1 -1
  3. package/dist/bundle/dso-advanced-select.js +4 -4
  4. package/dist/bundle/dso-alert.js +1 -1
  5. package/dist/bundle/dso-annotation-activiteit.js +5 -5
  6. package/dist/bundle/dso-annotation-gebiedsaanwijzing.js +5 -5
  7. package/dist/bundle/dso-annotation-kaart.js +2 -2
  8. package/dist/bundle/dso-annotation-locatie.js +1 -1
  9. package/dist/bundle/dso-annotation-omgevingsnormwaarde.js +5 -5
  10. package/dist/bundle/dso-attachments-counter.js +1 -1
  11. package/dist/bundle/dso-autosuggest.js +3 -3
  12. package/dist/bundle/dso-button-group.js +1 -1
  13. package/dist/bundle/dso-card.js +1 -1
  14. package/dist/bundle/dso-document-card.js +6 -3
  15. package/dist/bundle/dso-document-card.js.map +1 -1
  16. package/dist/bundle/dso-document-component.js +1 -1
  17. package/dist/bundle/dso-dropdown-menu.js +1 -1
  18. package/dist/bundle/dso-header.js +3 -3
  19. package/dist/bundle/dso-highlight-box.js +1 -1
  20. package/dist/bundle/dso-history-item.js +2 -2
  21. package/dist/bundle/dso-icon-button.js +1 -1
  22. package/dist/bundle/dso-icon.js +1 -1
  23. package/dist/bundle/dso-image-overlay.js +1 -1
  24. package/dist/bundle/dso-info-button.js +1 -1
  25. package/dist/bundle/dso-info.js +1 -1
  26. package/dist/bundle/dso-input-range.js +2 -2
  27. package/dist/bundle/dso-label.js +1 -1
  28. package/dist/bundle/dso-legend-item.js +7 -7
  29. package/dist/bundle/dso-legend.js +4 -4
  30. package/dist/bundle/dso-list-button.js +6 -6
  31. package/dist/bundle/dso-logo.js +1 -1
  32. package/dist/bundle/dso-map-base-layers.js +6 -6
  33. package/dist/bundle/dso-map-controls.js +33 -38
  34. package/dist/bundle/dso-map-controls.js.map +1 -1
  35. package/dist/bundle/dso-map-layer-object.js +2 -2
  36. package/dist/bundle/dso-map-layer.js +2 -2
  37. package/dist/bundle/dso-map-overlays.js +6 -6
  38. package/dist/bundle/dso-mark-bar.js +3 -3
  39. package/dist/bundle/dso-modal.js +4 -4
  40. package/dist/bundle/dso-onboarding-tip.js +36 -6
  41. package/dist/bundle/dso-onboarding-tip.js.map +1 -1
  42. package/dist/bundle/dso-ozon-content-toggletip.js +1 -1
  43. package/dist/bundle/dso-ozon-content.js +1 -1
  44. package/dist/bundle/dso-pagination.js +2 -2
  45. package/dist/bundle/dso-panel.js +1 -1
  46. package/dist/bundle/dso-plekinfo-card.js +2 -2
  47. package/dist/bundle/dso-progress-indicator.js +1 -1
  48. package/dist/bundle/dso-project-item.js +5 -5
  49. package/dist/bundle/dso-responsive-element.js +1 -1
  50. package/dist/bundle/dso-scrollable.js +1 -1
  51. package/dist/bundle/dso-selectable.js +1 -1
  52. package/dist/bundle/dso-skiplink.js +2 -2
  53. package/dist/bundle/dso-slide-toggle.js +1 -1
  54. package/dist/bundle/dso-survey-rating.js +5 -5
  55. package/dist/bundle/dso-table.js +1 -1
  56. package/dist/bundle/dso-tabs.js +1 -1
  57. package/dist/bundle/dso-tijdreis-banner.js +2 -2
  58. package/dist/bundle/dso-toggletip.js +1 -1
  59. package/dist/bundle/dso-tooltip.js +1 -1
  60. package/dist/bundle/dso-tree-view.js +3 -3
  61. package/dist/bundle/dso-viewer-grid.js +6 -4
  62. package/dist/bundle/dso-viewer-grid.js.map +1 -1
  63. package/dist/bundle/dsot-document-component-demo.js +15 -15
  64. package/dist/bundle/{p-BgsDpCHt.js → p--3JV3Hsl.js} +4 -4
  65. package/dist/bundle/{p-BgsDpCHt.js.map → p--3JV3Hsl.js.map} +1 -1
  66. package/dist/bundle/{p-B39ewelJ.js → p-8fELqkLM.js} +4 -4
  67. package/dist/bundle/{p-B39ewelJ.js.map → p-8fELqkLM.js.map} +1 -1
  68. package/dist/bundle/{p-J6EVaTGZ.js → p-B5jOW6NE.js} +5 -5
  69. package/dist/bundle/p-B5jOW6NE.js.map +1 -0
  70. package/dist/bundle/{p-CvU3MN64.js → p-B6KrM61B.js} +3 -3
  71. package/dist/bundle/{p-CvU3MN64.js.map → p-B6KrM61B.js.map} +1 -1
  72. package/dist/bundle/{p-bgDHZ-CT.js → p-BFNIoCP5.js} +11 -5
  73. package/dist/bundle/p-BFNIoCP5.js.map +1 -0
  74. package/dist/bundle/{p-CVAPkfaq.js → p-BFOCXUdD.js} +3 -3
  75. package/dist/bundle/{p-CVAPkfaq.js.map → p-BFOCXUdD.js.map} +1 -1
  76. package/dist/bundle/{p-BheZWHUU.js → p-BGRoDyj6.js} +16 -6
  77. package/dist/bundle/p-BGRoDyj6.js.map +1 -0
  78. package/dist/bundle/{p-4OB3e0UW.js → p-BKg8_fA-.js} +14 -14
  79. package/dist/bundle/{p-4OB3e0UW.js.map → p-BKg8_fA-.js.map} +1 -1
  80. package/dist/bundle/{p-Dxf0wJyw.js → p-Br8TuC3x.js} +16 -10
  81. package/dist/bundle/p-Br8TuC3x.js.map +1 -0
  82. package/dist/bundle/{p-DAPEW-cK.js → p-C0EnGYRN.js} +3 -3
  83. package/dist/bundle/{p-DAPEW-cK.js.map → p-C0EnGYRN.js.map} +1 -1
  84. package/dist/bundle/{p-DQhNV0Ly.js → p-CAGq_ycS.js} +5 -5
  85. package/dist/bundle/{p-DQhNV0Ly.js.map → p-CAGq_ycS.js.map} +1 -1
  86. package/dist/bundle/{p-D73qXpcX.js → p-CCDR-SCb.js} +4 -4
  87. package/dist/bundle/{p-D73qXpcX.js.map → p-CCDR-SCb.js.map} +1 -1
  88. package/dist/bundle/{p-BbhVKEjM.js → p-CFM9wqmI.js} +7 -7
  89. package/dist/bundle/{p-BbhVKEjM.js.map → p-CFM9wqmI.js.map} +1 -1
  90. package/dist/bundle/{p-DiVQLv2Z.js → p-CJ5GzbS9.js} +3 -3
  91. package/dist/bundle/{p-DiVQLv2Z.js.map → p-CJ5GzbS9.js.map} +1 -1
  92. package/dist/bundle/{p-B4kCTpCL.js → p-CPgqc4eE.js} +5 -5
  93. package/dist/bundle/{p-B4kCTpCL.js.map → p-CPgqc4eE.js.map} +1 -1
  94. package/dist/bundle/{p-C2D3bMur.js → p-CytM1Biw.js} +3 -3
  95. package/dist/bundle/{p-C2D3bMur.js.map → p-CytM1Biw.js.map} +1 -1
  96. package/dist/bundle/{p-BCQXZLJD.js → p-D0TTjh52.js} +3 -3
  97. package/dist/bundle/{p-BCQXZLJD.js.map → p-D0TTjh52.js.map} +1 -1
  98. package/dist/bundle/{p-F64yBavo.js → p-DP6XV8DY.js} +4 -4
  99. package/dist/bundle/{p-F64yBavo.js.map → p-DP6XV8DY.js.map} +1 -1
  100. package/dist/bundle/{p-D3mPJFiY.js → p-DlXn_7gE.js} +4 -4
  101. package/dist/bundle/{p-D3mPJFiY.js.map → p-DlXn_7gE.js.map} +1 -1
  102. package/dist/bundle/{p-DYajyH7D.js → p-DnF8nNXV.js} +7 -7
  103. package/dist/bundle/{p-DYajyH7D.js.map → p-DnF8nNXV.js.map} +1 -1
  104. package/dist/bundle/{p-Cr7ZJh2L.js → p-OF4HG_oT.js} +7 -7
  105. package/dist/bundle/{p-Cr7ZJh2L.js.map → p-OF4HG_oT.js.map} +1 -1
  106. package/dist/bundle/{p-Dz-kOE9B.js → p-q0UGoBNE.js} +8 -8
  107. package/dist/bundle/{p-Dz-kOE9B.js.map → p-q0UGoBNE.js.map} +1 -1
  108. package/dist/bundle/p-r5BYffta.js +63 -0
  109. package/dist/bundle/p-r5BYffta.js.map +1 -0
  110. package/dist/cjs/dso-alert_7.cjs.entry.js +11 -5
  111. package/dist/cjs/dso-annotation-locatie_2.cjs.entry.js +2 -2
  112. package/dist/cjs/dso-button-group.cjs.entry.js +7 -4
  113. package/dist/cjs/dso-document-card.cjs.entry.js +5 -2
  114. package/dist/cjs/dso-dropdown-menu.cjs.entry.js +1 -1
  115. package/dist/cjs/dso-header.cjs.entry.js +1 -1
  116. package/dist/cjs/dso-highlight-box.cjs.entry.js +1 -1
  117. package/dist/cjs/dso-history-item.cjs.entry.js +1 -1
  118. package/dist/cjs/dso-icon_2.cjs.entry.js +14 -4
  119. package/dist/cjs/dso-info-button.cjs.entry.js +1 -1
  120. package/dist/cjs/dso-info_2.cjs.entry.js +2 -2
  121. package/dist/cjs/dso-input-range.cjs.entry.js +2 -2
  122. package/dist/cjs/dso-label_3.cjs.entry.js +4 -4
  123. package/dist/cjs/dso-legend-item.cjs.entry.js +1 -1
  124. package/dist/cjs/dso-legend.cjs.entry.js +1 -1
  125. package/dist/cjs/dso-list-button.cjs.entry.js +1 -1
  126. package/dist/cjs/dso-logo.cjs.entry.js +1 -1
  127. package/dist/cjs/dso-map-base-layers.cjs.entry.js +1 -1
  128. package/dist/cjs/dso-map-controls.cjs.entry.js +22 -33
  129. package/dist/cjs/dso-map-layer-object.cjs.entry.js +1 -1
  130. package/dist/cjs/dso-map-layer.cjs.entry.js +1 -1
  131. package/dist/cjs/dso-map-overlays.cjs.entry.js +1 -1
  132. package/dist/cjs/dso-mark-bar.cjs.entry.js +1 -1
  133. package/dist/cjs/dso-modal.cjs.entry.js +1 -1
  134. package/dist/cjs/dso-onboarding-tip.cjs.entry.js +33 -3
  135. package/dist/cjs/dso-plekinfo-card.cjs.entry.js +1 -1
  136. package/dist/cjs/dso-progress-indicator.cjs.entry.js +1 -1
  137. package/dist/cjs/dso-project-item.cjs.entry.js +1 -1
  138. package/dist/cjs/dso-responsive-element.cjs.entry.js +1 -1
  139. package/dist/cjs/dso-scrollable.cjs.entry.js +2 -2
  140. package/dist/cjs/dso-skiplink.cjs.entry.js +1 -1
  141. package/dist/cjs/dso-survey-rating.cjs.entry.js +2 -2
  142. package/dist/cjs/dso-tabs.cjs.entry.js +1 -1
  143. package/dist/cjs/dso-tijdreis-banner.cjs.entry.js +1 -1
  144. package/dist/cjs/dso-toggletip.cjs.entry.js +1 -1
  145. package/dist/cjs/dso-toolkit.cjs.js +1 -1
  146. package/dist/cjs/dso-tooltip.cjs.entry.js +1 -1
  147. package/dist/cjs/dso-tree-view.cjs.entry.js +1 -1
  148. package/dist/cjs/dso-viewer-grid.cjs.entry.js +6 -4
  149. package/dist/cjs/dsot-document-component-demo.cjs.entry.js +1 -1
  150. package/dist/cjs/loader.cjs.js +1 -1
  151. package/dist/collection/components/button-group/button-group.css +11 -0
  152. package/dist/collection/components/button-group/button-group.js +6 -3
  153. package/dist/collection/components/button-group/button-group.js.map +1 -1
  154. package/dist/collection/components/document-card/document-card.css +8 -13
  155. package/dist/collection/components/document-card/document-card.js +6 -2
  156. package/dist/collection/components/document-card/document-card.js.map +1 -1
  157. package/dist/collection/components/document-component/document-component.js +2 -2
  158. package/dist/collection/components/document-component-demo/document-component.demo.js +1 -1
  159. package/dist/collection/components/dropdown-menu/dropdown-menu.js +1 -1
  160. package/dist/collection/components/header/header.js +1 -1
  161. package/dist/collection/components/highlight-box/highlight-box.js +1 -1
  162. package/dist/collection/components/history-item/history-item.js +1 -1
  163. package/dist/collection/components/icon/icon.js +1 -1
  164. package/dist/collection/components/icon-button/icon-button.css +12 -2
  165. package/dist/collection/components/icon-button/icon-button.js +1 -1
  166. package/dist/collection/components/info/info.js +1 -1
  167. package/dist/collection/components/info-button/info-button.js +1 -1
  168. package/dist/collection/components/input-range/input-range.js +2 -2
  169. package/dist/collection/components/label/label.js +3 -3
  170. package/dist/collection/components/legend/legend.js +1 -1
  171. package/dist/collection/components/legend-item/legend-item.js +1 -1
  172. package/dist/collection/components/list-button/list-button.js +1 -1
  173. package/dist/collection/components/logo/logo.js +1 -1
  174. package/dist/collection/components/map-base-layers/map-base-layers.js +1 -1
  175. package/dist/collection/components/map-controls/map-controls.css +11 -28
  176. package/dist/collection/components/map-controls/map-controls.js +11 -5
  177. package/dist/collection/components/map-controls/map-controls.js.map +1 -1
  178. package/dist/collection/components/map-layer/components/map-layer-object.js +1 -1
  179. package/dist/collection/components/map-layer/map-layer.js +1 -1
  180. package/dist/collection/components/map-overlays/map-overlays.js +1 -1
  181. package/dist/collection/components/mark-bar/mark-bar.js +1 -1
  182. package/dist/collection/components/modal/modal.js +1 -1
  183. package/dist/collection/components/onboarding-tip/onboarding-tip.js +34 -4
  184. package/dist/collection/components/onboarding-tip/onboarding-tip.js.map +1 -1
  185. package/dist/collection/components/ozon-content/components/ozon-content-toggletip/ozon-content-toggletip.css +2 -0
  186. package/dist/collection/components/ozon-content/components/ozon-content-toggletip/ozon-content-toggletip.js +1 -1
  187. package/dist/collection/components/ozon-content/components/ozon-content-toggletip/ozon-content-toggletip.js.map +1 -1
  188. package/dist/collection/components/ozon-content/ozon-content.css +7 -1
  189. package/dist/collection/components/ozon-content/ozon-content.js +1 -1
  190. package/dist/collection/components/plekinfo-card/plekinfo-card.js +1 -1
  191. package/dist/collection/components/progress-indicator/progress-indicator.js +1 -1
  192. package/dist/collection/components/project-item/project-item.js +1 -1
  193. package/dist/collection/components/responsive-element/responsive-element.js +1 -1
  194. package/dist/collection/components/scrollable/scrollable.js +2 -2
  195. package/dist/collection/components/selectable/selectable.js +1 -1
  196. package/dist/collection/components/skiplink/skiplink.js +1 -1
  197. package/dist/collection/components/slide-toggle/slide-toggle.js +1 -1
  198. package/dist/collection/components/survey-rating/survey-rating.js +2 -2
  199. package/dist/collection/components/table/table.js +1 -1
  200. package/dist/collection/components/table/table.js.map +1 -1
  201. package/dist/collection/components/tabs/tabs.js +1 -1
  202. package/dist/collection/components/tijdreis-banner/tijdreis-banner.js +1 -1
  203. package/dist/collection/components/toggletip/toggletip.js +1 -1
  204. package/dist/collection/components/tooltip/tooltip.js +1 -1
  205. package/dist/collection/components/tree-view/tree-view.js +1 -1
  206. package/dist/collection/components/viewer-grid/viewer-grid.css +5 -3
  207. package/dist/collection/components/viewer-grid/viewer-grid.js +1 -1
  208. package/dist/components/button-group.js +7 -4
  209. package/dist/components/button-group.js.map +1 -1
  210. package/dist/components/document-component.js +2 -2
  211. package/dist/components/dropdown-menu.js +1 -1
  212. package/dist/components/dso-document-card.js +5 -2
  213. package/dist/components/dso-document-card.js.map +1 -1
  214. package/dist/components/dso-header.js +1 -1
  215. package/dist/components/dso-highlight-box.js +1 -1
  216. package/dist/components/dso-history-item.js +1 -1
  217. package/dist/components/dso-input-range.js +2 -2
  218. package/dist/components/dso-legend-item.js +1 -1
  219. package/dist/components/dso-legend.js +1 -1
  220. package/dist/components/dso-list-button.js +1 -1
  221. package/dist/components/dso-logo.js +1 -1
  222. package/dist/components/dso-map-base-layers.js +1 -1
  223. package/dist/components/dso-map-controls.js +32 -37
  224. package/dist/components/dso-map-controls.js.map +1 -1
  225. package/dist/components/dso-map-layer-object.js +1 -1
  226. package/dist/components/dso-map-layer.js +1 -1
  227. package/dist/components/dso-map-overlays.js +1 -1
  228. package/dist/components/dso-mark-bar.js +1 -1
  229. package/dist/components/dso-modal.js +1 -1
  230. package/dist/components/dso-onboarding-tip.js +34 -4
  231. package/dist/components/dso-onboarding-tip.js.map +1 -1
  232. package/dist/components/dso-plekinfo-card.js +1 -1
  233. package/dist/components/dso-project-item.js +1 -1
  234. package/dist/components/dso-skiplink.js +1 -1
  235. package/dist/components/dso-survey-rating.js +2 -2
  236. package/dist/components/dso-tabs.js +1 -1
  237. package/dist/components/dso-tijdreis-banner.js +1 -1
  238. package/dist/components/dso-tree-view.js +1 -1
  239. package/dist/components/dso-viewer-grid.js +6 -4
  240. package/dist/components/dso-viewer-grid.js.map +1 -1
  241. package/dist/components/dsot-document-component-demo.js +1 -1
  242. package/dist/components/icon-button.js +13 -3
  243. package/dist/components/icon-button.js.map +1 -1
  244. package/dist/components/icon.js +1 -1
  245. package/dist/components/info-button.js +1 -1
  246. package/dist/components/info.js +1 -1
  247. package/dist/components/label.js +3 -3
  248. package/dist/components/ozon-content-toggletip.js +2 -2
  249. package/dist/components/ozon-content-toggletip.js.map +1 -1
  250. package/dist/components/ozon-content.js +8 -2
  251. package/dist/components/ozon-content.js.map +1 -1
  252. package/dist/components/progress-indicator.js +1 -1
  253. package/dist/components/responsive-element.js +1 -1
  254. package/dist/components/scrollable.js +2 -2
  255. package/dist/components/selectable.js +1 -1
  256. package/dist/components/slide-toggle.js +1 -1
  257. package/dist/components/table.js +9 -3
  258. package/dist/components/table.js.map +1 -1
  259. package/dist/components/toggletip.js +1 -1
  260. package/dist/components/tooltip.js +1 -1
  261. package/dist/dso-toolkit/dso-toolkit.esm.js +1 -1
  262. package/dist/dso-toolkit/{p-92cef7f0.entry.js → p-075edc85.entry.js} +2 -2
  263. package/dist/dso-toolkit/{p-dbb30a77.entry.js → p-0f1287d9.entry.js} +2 -2
  264. package/dist/dso-toolkit/{p-d3181474.entry.js → p-110c52d0.entry.js} +2 -2
  265. package/dist/dso-toolkit/{p-c86138aa.entry.js → p-1b07fab2.entry.js} +2 -2
  266. package/dist/dso-toolkit/{p-509d8d8f.entry.js → p-275aae3e.entry.js} +2 -2
  267. package/dist/dso-toolkit/{p-04a442fa.entry.js → p-282c4c3d.entry.js} +2 -2
  268. package/dist/dso-toolkit/{p-fe4dbed9.entry.js → p-28c8f873.entry.js} +2 -2
  269. package/dist/dso-toolkit/{p-d639b34d.entry.js → p-29709836.entry.js} +2 -2
  270. package/dist/dso-toolkit/p-320cc3d6.entry.js +2 -0
  271. package/dist/dso-toolkit/{p-2c434208.entry.js.map → p-320cc3d6.entry.js.map} +1 -1
  272. package/dist/dso-toolkit/{p-c1078d64.entry.js → p-393f6924.entry.js} +2 -2
  273. package/dist/dso-toolkit/{p-d99a07b7.entry.js → p-4abf84cf.entry.js} +2 -2
  274. package/dist/dso-toolkit/{p-0ed7cc17.entry.js → p-4c1dec03.entry.js} +2 -2
  275. package/dist/dso-toolkit/p-581667ed.entry.js +2 -0
  276. package/dist/dso-toolkit/{p-8d36cf3d.entry.js → p-5b5b4bc7.entry.js} +2 -2
  277. package/dist/dso-toolkit/{p-f4b5339e.entry.js → p-66bd3a9a.entry.js} +2 -2
  278. package/dist/dso-toolkit/{p-37ec10d0.entry.js → p-6980185d.entry.js} +2 -2
  279. package/dist/dso-toolkit/{p-2ae2eeb3.entry.js → p-6b992629.entry.js} +2 -2
  280. package/dist/dso-toolkit/{p-62785fa8.entry.js → p-7386c47c.entry.js} +2 -2
  281. package/dist/dso-toolkit/p-788d29c5.entry.js +2 -0
  282. package/dist/dso-toolkit/p-788d29c5.entry.js.map +1 -0
  283. package/dist/dso-toolkit/{p-0faa7dca.entry.js → p-889c90a8.entry.js} +2 -2
  284. package/dist/dso-toolkit/{p-6cbf3348.entry.js → p-8c0cffaa.entry.js} +2 -2
  285. package/dist/dso-toolkit/{p-fe874e46.entry.js → p-968da2be.entry.js} +2 -2
  286. package/dist/dso-toolkit/p-9e083783.entry.js +2 -0
  287. package/dist/dso-toolkit/p-9e083783.entry.js.map +1 -0
  288. package/dist/dso-toolkit/{p-0316163d.entry.js → p-a389b57b.entry.js} +2 -2
  289. package/dist/dso-toolkit/{p-0316163d.entry.js.map → p-a389b57b.entry.js.map} +1 -1
  290. package/dist/dso-toolkit/{p-ba271781.entry.js → p-a59ef97a.entry.js} +2 -2
  291. package/dist/dso-toolkit/p-aa0662de.entry.js +2 -0
  292. package/dist/dso-toolkit/{p-2cf48cf4.entry.js → p-b1a81a70.entry.js} +2 -2
  293. package/dist/dso-toolkit/{p-32f239b6.entry.js → p-b4fb98ad.entry.js} +2 -2
  294. package/dist/dso-toolkit/p-b4fb98ad.entry.js.map +1 -0
  295. package/dist/dso-toolkit/{p-f81e0834.entry.js → p-b7ccbce9.entry.js} +2 -2
  296. package/dist/dso-toolkit/{p-370d5848.entry.js → p-bf327a22.entry.js} +2 -2
  297. package/dist/dso-toolkit/{p-3cdff9bc.entry.js → p-bf37fdda.entry.js} +2 -2
  298. package/dist/dso-toolkit/p-c05665d3.entry.js +2 -0
  299. package/dist/dso-toolkit/p-c05665d3.entry.js.map +1 -0
  300. package/dist/dso-toolkit/{p-4ab4aff0.entry.js → p-c17bff8d.entry.js} +2 -2
  301. package/dist/dso-toolkit/{p-5f69ed68.entry.js → p-c3d6a132.entry.js} +2 -2
  302. package/dist/dso-toolkit/{p-7f6ef60b.entry.js → p-cd813472.entry.js} +2 -2
  303. package/dist/dso-toolkit/{p-865fd4cc.entry.js → p-d4de3291.entry.js} +2 -2
  304. package/dist/dso-toolkit/{p-8277eae8.entry.js → p-db1b2ac2.entry.js} +2 -2
  305. package/dist/dso-toolkit/{p-8277eae8.entry.js.map → p-db1b2ac2.entry.js.map} +1 -1
  306. package/dist/dso-toolkit/{p-afc2d771.entry.js → p-f8687cee.entry.js} +2 -2
  307. package/dist/dso-toolkit/{p-488e4048.entry.js → p-fb48a537.entry.js} +2 -2
  308. package/dist/esm/dso-alert_7.entry.js +11 -5
  309. package/dist/esm/dso-annotation-locatie_2.entry.js +2 -2
  310. package/dist/esm/dso-button-group.entry.js +7 -4
  311. package/dist/esm/dso-button-group.entry.js.map +1 -1
  312. package/dist/esm/dso-document-card.entry.js +5 -2
  313. package/dist/esm/dso-document-card.entry.js.map +1 -1
  314. package/dist/esm/dso-dropdown-menu.entry.js +1 -1
  315. package/dist/esm/dso-header.entry.js +1 -1
  316. package/dist/esm/dso-highlight-box.entry.js +1 -1
  317. package/dist/esm/dso-history-item.entry.js +1 -1
  318. package/dist/esm/dso-icon_2.entry.js +14 -4
  319. package/dist/esm/dso-info-button.entry.js +1 -1
  320. package/dist/esm/dso-info_2.entry.js +2 -2
  321. package/dist/esm/dso-input-range.entry.js +2 -2
  322. package/dist/esm/dso-label_3.entry.js +4 -4
  323. package/dist/esm/dso-legend-item.entry.js +1 -1
  324. package/dist/esm/dso-legend.entry.js +1 -1
  325. package/dist/esm/dso-list-button.entry.js +1 -1
  326. package/dist/esm/dso-logo.entry.js +1 -1
  327. package/dist/esm/dso-map-base-layers.entry.js +1 -1
  328. package/dist/esm/dso-map-controls.entry.js +22 -33
  329. package/dist/esm/dso-map-controls.entry.js.map +1 -1
  330. package/dist/esm/dso-map-layer-object.entry.js +1 -1
  331. package/dist/esm/dso-map-layer.entry.js +1 -1
  332. package/dist/esm/dso-map-overlays.entry.js +1 -1
  333. package/dist/esm/dso-mark-bar.entry.js +1 -1
  334. package/dist/esm/dso-modal.entry.js +1 -1
  335. package/dist/esm/dso-onboarding-tip.entry.js +34 -4
  336. package/dist/esm/dso-onboarding-tip.entry.js.map +1 -1
  337. package/dist/esm/dso-plekinfo-card.entry.js +1 -1
  338. package/dist/esm/dso-progress-indicator.entry.js +1 -1
  339. package/dist/esm/dso-project-item.entry.js +1 -1
  340. package/dist/esm/dso-responsive-element.entry.js +1 -1
  341. package/dist/esm/dso-scrollable.entry.js +2 -2
  342. package/dist/esm/dso-skiplink.entry.js +1 -1
  343. package/dist/esm/dso-survey-rating.entry.js +2 -2
  344. package/dist/esm/dso-tabs.entry.js +1 -1
  345. package/dist/esm/dso-tijdreis-banner.entry.js +1 -1
  346. package/dist/esm/dso-toggletip.entry.js +1 -1
  347. package/dist/esm/dso-toolkit.js +1 -1
  348. package/dist/esm/dso-tooltip.entry.js +1 -1
  349. package/dist/esm/dso-tree-view.entry.js +1 -1
  350. package/dist/esm/dso-viewer-grid.entry.js +6 -4
  351. package/dist/esm/dso-viewer-grid.entry.js.map +1 -1
  352. package/dist/esm/dsot-document-component-demo.entry.js +1 -1
  353. package/dist/esm/loader.js +1 -1
  354. package/dist/types/components/button-group/button-group.d.ts +1 -1
  355. package/dist/types/components/document-card/document-card.d.ts +3 -1
  356. package/dist/types/components/onboarding-tip/onboarding-tip.d.ts +8 -0
  357. package/package.json +3 -3
  358. package/dist/bundle/p-BheZWHUU.js.map +0 -1
  359. package/dist/bundle/p-Dxf0wJyw.js.map +0 -1
  360. package/dist/bundle/p-J6EVaTGZ.js.map +0 -1
  361. package/dist/bundle/p-bgDHZ-CT.js.map +0 -1
  362. package/dist/bundle/p-pLR5tmBg.js +0 -60
  363. package/dist/bundle/p-pLR5tmBg.js.map +0 -1
  364. package/dist/dso-toolkit/p-2c434208.entry.js +0 -2
  365. package/dist/dso-toolkit/p-2fb49af0.entry.js +0 -2
  366. package/dist/dso-toolkit/p-2fb49af0.entry.js.map +0 -1
  367. package/dist/dso-toolkit/p-31922f53.entry.js +0 -2
  368. package/dist/dso-toolkit/p-31922f53.entry.js.map +0 -1
  369. package/dist/dso-toolkit/p-325f2186.entry.js +0 -2
  370. package/dist/dso-toolkit/p-32f239b6.entry.js.map +0 -1
  371. package/dist/dso-toolkit/p-4c041b9a.entry.js +0 -2
  372. package/dist/dso-toolkit/p-e9460f8b.entry.js +0 -2
  373. package/dist/dso-toolkit/p-e9460f8b.entry.js.map +0 -1
  374. /package/dist/dso-toolkit/{p-92cef7f0.entry.js.map → p-075edc85.entry.js.map} +0 -0
  375. /package/dist/dso-toolkit/{p-dbb30a77.entry.js.map → p-0f1287d9.entry.js.map} +0 -0
  376. /package/dist/dso-toolkit/{p-d3181474.entry.js.map → p-110c52d0.entry.js.map} +0 -0
  377. /package/dist/dso-toolkit/{p-c86138aa.entry.js.map → p-1b07fab2.entry.js.map} +0 -0
  378. /package/dist/dso-toolkit/{p-509d8d8f.entry.js.map → p-275aae3e.entry.js.map} +0 -0
  379. /package/dist/dso-toolkit/{p-04a442fa.entry.js.map → p-282c4c3d.entry.js.map} +0 -0
  380. /package/dist/dso-toolkit/{p-fe4dbed9.entry.js.map → p-28c8f873.entry.js.map} +0 -0
  381. /package/dist/dso-toolkit/{p-d639b34d.entry.js.map → p-29709836.entry.js.map} +0 -0
  382. /package/dist/dso-toolkit/{p-c1078d64.entry.js.map → p-393f6924.entry.js.map} +0 -0
  383. /package/dist/dso-toolkit/{p-d99a07b7.entry.js.map → p-4abf84cf.entry.js.map} +0 -0
  384. /package/dist/dso-toolkit/{p-0ed7cc17.entry.js.map → p-4c1dec03.entry.js.map} +0 -0
  385. /package/dist/dso-toolkit/{p-325f2186.entry.js.map → p-581667ed.entry.js.map} +0 -0
  386. /package/dist/dso-toolkit/{p-8d36cf3d.entry.js.map → p-5b5b4bc7.entry.js.map} +0 -0
  387. /package/dist/dso-toolkit/{p-f4b5339e.entry.js.map → p-66bd3a9a.entry.js.map} +0 -0
  388. /package/dist/dso-toolkit/{p-37ec10d0.entry.js.map → p-6980185d.entry.js.map} +0 -0
  389. /package/dist/dso-toolkit/{p-2ae2eeb3.entry.js.map → p-6b992629.entry.js.map} +0 -0
  390. /package/dist/dso-toolkit/{p-62785fa8.entry.js.map → p-7386c47c.entry.js.map} +0 -0
  391. /package/dist/dso-toolkit/{p-0faa7dca.entry.js.map → p-889c90a8.entry.js.map} +0 -0
  392. /package/dist/dso-toolkit/{p-6cbf3348.entry.js.map → p-8c0cffaa.entry.js.map} +0 -0
  393. /package/dist/dso-toolkit/{p-fe874e46.entry.js.map → p-968da2be.entry.js.map} +0 -0
  394. /package/dist/dso-toolkit/{p-ba271781.entry.js.map → p-a59ef97a.entry.js.map} +0 -0
  395. /package/dist/dso-toolkit/{p-4c041b9a.entry.js.map → p-aa0662de.entry.js.map} +0 -0
  396. /package/dist/dso-toolkit/{p-2cf48cf4.entry.js.map → p-b1a81a70.entry.js.map} +0 -0
  397. /package/dist/dso-toolkit/{p-f81e0834.entry.js.map → p-b7ccbce9.entry.js.map} +0 -0
  398. /package/dist/dso-toolkit/{p-370d5848.entry.js.map → p-bf327a22.entry.js.map} +0 -0
  399. /package/dist/dso-toolkit/{p-3cdff9bc.entry.js.map → p-bf37fdda.entry.js.map} +0 -0
  400. /package/dist/dso-toolkit/{p-4ab4aff0.entry.js.map → p-c17bff8d.entry.js.map} +0 -0
  401. /package/dist/dso-toolkit/{p-5f69ed68.entry.js.map → p-c3d6a132.entry.js.map} +0 -0
  402. /package/dist/dso-toolkit/{p-7f6ef60b.entry.js.map → p-cd813472.entry.js.map} +0 -0
  403. /package/dist/dso-toolkit/{p-865fd4cc.entry.js.map → p-d4de3291.entry.js.map} +0 -0
  404. /package/dist/dso-toolkit/{p-afc2d771.entry.js.map → p-f8687cee.entry.js.map} +0 -0
  405. /package/dist/dso-toolkit/{p-488e4048.entry.js.map → p-fb48a537.entry.js.map} +0 -0
@@ -1,8 +1,8 @@
1
1
  import { p as proxyCustomElement, H, d as createEvent, h, t as transformTag } from './p-DBWrx_3r.js';
2
2
  import { c as clsx } from './p-ChV9xqsO.js';
3
3
  import { i as i18n } from './p-pxiVAmq4.js';
4
- import { d as defineCustomElement$2 } from './p-DAPEW-cK.js';
5
- import { d as defineCustomElement$1 } from './p-BheZWHUU.js';
4
+ import { d as defineCustomElement$2 } from './p-C0EnGYRN.js';
5
+ import { d as defineCustomElement$1 } from './p-BGRoDyj6.js';
6
6
 
7
7
  const translations = {
8
8
  en: {
@@ -81,6 +81,6 @@ function defineCustomElement() {
81
81
  }
82
82
 
83
83
  export { Alert as A, defineCustomElement as d };
84
- //# sourceMappingURL=p-B39ewelJ.js.map
84
+ //# sourceMappingURL=p-8fELqkLM.js.map
85
85
 
86
- //# sourceMappingURL=p-B39ewelJ.js.map
86
+ //# sourceMappingURL=p-8fELqkLM.js.map
@@ -1 +1 @@
1
- {"file":"p-B39ewelJ.js","mappings":";;;;;;AAEO,MAAM,YAAY,GAAa;AACpC,IAAA,EAAE,EAAE;AACF,QAAA,WAAW,EAAE;AACX,YAAA,KAAK,EAAE,OAAO;AACd,YAAA,OAAO,EAAE,SAAS;AAClB,YAAA,IAAI,EAAE,QAAQ;AACd,YAAA,OAAO,EAAE,SAAS;AAClB,YAAA,KAAK,EAAE,OAAO;AACf,SAAA;AACF,KAAA;AACD,IAAA,EAAE,EAAE;AACF,QAAA,WAAW,EAAE;AACX,YAAA,KAAK,EAAE,SAAS;AAChB,YAAA,OAAO,EAAE,QAAQ;AACjB,YAAA,IAAI,EAAE,WAAW;AACjB,YAAA,OAAO,EAAE,cAAc;AACvB,YAAA,KAAK,EAAE,MAAM;AACd,SAAA;AACF,KAAA;CACF;;ACrBD,MAAM,QAAQ,GAAG,MAAM,CAAC,87MAA87M,CAAC;;MCa18M,KAAK,iBAAAA,kBAAA,CAAA,MAAA,KAAA,SAAAC,CAAA,CAAA;AALlB,IAAA,WAAA,CAAA,YA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CAAC,EAAE,CAAC,EAC3D,CAAA,CACH,CACG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/alert/alert.i18n.ts","src/components/alert/alert.scss?tag=dso-alert&encapsulation=shadow","src/components/alert/alert.tsx"],"sourcesContent":["import { Resource } from \"../../utils/i18n\";\r\n\r\nexport const translations: Resource = {\r\n en: {\r\n \"dso-alert\": {\r\n close: \"Close\",\r\n success: \"Success\",\r\n info: \"Notice\",\r\n warning: \"Warning\",\r\n error: \"Error\",\r\n },\r\n },\r\n nl: {\r\n \"dso-alert\": {\r\n close: \"Sluiten\",\r\n success: \"Gelukt\",\r\n info: \"Opmerking\",\r\n warning: \"Waarschuwing\",\r\n error: \"Fout\",\r\n },\r\n },\r\n};\r\n","@use \"~dso-toolkit/src/utilities\";\r\n@use \"~dso-toolkit/src/variables/units\";\r\n@use \"~dso-toolkit/src/components/alert\";\r\n\r\n:host {\r\n display: block;\r\n}\r\n\r\n:host(:not(:first-child)) {\r\n margin-block-start: units.$u3;\r\n}\r\n\r\n@include utilities.box-sizing();\r\n\r\n.sr-only {\r\n @include utilities.sr-only();\r\n}\r\n\r\n.alert {\r\n @include alert.root();\r\n\r\n dso-icon-button {\r\n position: absolute;\r\n inset-block-start: units.$u1 - alert.$border-size;\r\n inset-inline-end: units.$u1 - alert.$border-size;\r\n }\r\n\r\n &.dso-compact {\r\n min-block-size: alert.$inline-padding;\r\n }\r\n}\r\n","import { Component, Element, Event, EventEmitter, Prop, h } from \"@stencil/core\";\r\nimport { clsx } from \"clsx\";\r\n\r\nimport { i18n } from \"../../utils/i18n\";\r\n\r\nimport { translations } from \"./alert.i18n\";\r\nimport { AlertCloseEvent } from \"./alert.interfaces\";\r\n\r\n@Component({\r\n tag: \"dso-alert\",\r\n styleUrl: \"alert.scss\",\r\n shadow: true,\r\n})\r\nexport class Alert {\r\n @Element()\r\n host!: HTMLDsoAlertElement;\r\n\r\n /**\r\n * Set status of alert\r\n */\r\n @Prop({ reflect: true })\r\n status!: \"success\" | \"info\" | \"warning\" | \"error\";\r\n\r\n /**\r\n * Whether or not to show the role attribute with value \"alert\". To control the tooltip add the `role-alert` attribute.\r\n */\r\n @Prop()\r\n roleAlert?: boolean;\r\n\r\n /**\r\n * Show alert as compact variant (without icon)\r\n */\r\n @Prop({ reflect: true })\r\n compact?: boolean;\r\n\r\n /**\r\n * When `false` the close button in the alert will not be rendered.\r\n */\r\n @Prop()\r\n closable = false;\r\n\r\n /**\r\n * Emitted when the user closes the Alert.\r\n */\r\n @Event()\r\n dsoClose!: EventEmitter<AlertCloseEvent>;\r\n\r\n private text = i18n(() => this.host, translations);\r\n\r\n render() {\r\n const status = this.text(this.status);\r\n if (!status) {\r\n throw new Error(`Invalid status ${this.status}`);\r\n }\r\n\r\n return (\r\n <div\r\n class={clsx(\"alert\", `alert-${this.status}`, { \"dso-compact\": this.compact })}\r\n role={this.roleAlert ? \"alert\" : undefined}\r\n >\r\n {!this.compact && <dso-icon class=\"icon-status\" icon={\"status-\" + this.status} />}\r\n <span class=\"sr-only\">{status}:</span>\r\n <slot></slot>\r\n\r\n {this.closable && (\r\n <dso-icon-button\r\n label={this.text(\"close\")}\r\n variant=\"tertiary\"\r\n icon=\"times\"\r\n onDsoClick={(e) => this.dsoClose.emit({ originalEvent: e })}\r\n />\r\n )}\r\n </div>\r\n );\r\n }\r\n}\r\n"],"version":3}
1
+ {"file":"p-8fELqkLM.js","mappings":";;;;;;AAEO,MAAM,YAAY,GAAa;AACpC,IAAA,EAAE,EAAE;AACF,QAAA,WAAW,EAAE;AACX,YAAA,KAAK,EAAE,OAAO;AACd,YAAA,OAAO,EAAE,SAAS;AAClB,YAAA,IAAI,EAAE,QAAQ;AACd,YAAA,OAAO,EAAE,SAAS;AAClB,YAAA,KAAK,EAAE,OAAO;AACf,SAAA;AACF,KAAA;AACD,IAAA,EAAE,EAAE;AACF,QAAA,WAAW,EAAE;AACX,YAAA,KAAK,EA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GAAA,CAAA,EACtC,CAAa,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAA,EAEZ,IAAI,CAAC,QAAQ,KACZ,wEACE,KAAK,EAAE,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,EACzB,OAAO,EAAC,UAAU,EAClB,IAAI,EAAC,OAAO,EACZ,UAAU,EAAE,CAAC,CAAC,KAAK,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,EAAE,aAAa,EAAE,CAAC,EAAE,CAAC,EAC3D,CAAA,CACH,CACG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/alert/alert.i18n.ts","src/components/alert/alert.scss?tag=dso-alert&encapsulation=shadow","src/components/alert/alert.tsx"],"sourcesContent":["import { Resource } from \"../../utils/i18n\";\r\n\r\nexport const translations: Resource = {\r\n en: {\r\n \"dso-alert\": {\r\n close: \"Close\",\r\n success: \"Success\",\r\n info: \"Notice\",\r\n warning: \"Warning\",\r\n error: \"Error\",\r\n },\r\n },\r\n nl: {\r\n \"dso-alert\": {\r\n close: \"Sluiten\",\r\n success: \"Gelukt\",\r\n info: \"Opmerking\",\r\n warning: \"Waarschuwing\",\r\n error: \"Fout\",\r\n },\r\n },\r\n};\r\n","@use \"~dso-toolkit/src/utilities\";\r\n@use \"~dso-toolkit/src/variables/units\";\r\n@use \"~dso-toolkit/src/components/alert\";\r\n\r\n:host {\r\n display: block;\r\n}\r\n\r\n:host(:not(:first-child)) {\r\n margin-block-start: units.$u3;\r\n}\r\n\r\n@include utilities.box-sizing();\r\n\r\n.sr-only {\r\n @include utilities.sr-only();\r\n}\r\n\r\n.alert {\r\n @include alert.root();\r\n\r\n dso-icon-button {\r\n position: absolute;\r\n inset-block-start: units.$u1 - alert.$border-size;\r\n inset-inline-end: units.$u1 - alert.$border-size;\r\n }\r\n\r\n &.dso-compact {\r\n min-block-size: alert.$inline-padding;\r\n }\r\n}\r\n","import { Component, Element, Event, EventEmitter, Prop, h } from \"@stencil/core\";\r\nimport { clsx } from \"clsx\";\r\n\r\nimport { i18n } from \"../../utils/i18n\";\r\n\r\nimport { translations } from \"./alert.i18n\";\r\nimport { AlertCloseEvent } from \"./alert.interfaces\";\r\n\r\n@Component({\r\n tag: \"dso-alert\",\r\n styleUrl: \"alert.scss\",\r\n shadow: true,\r\n})\r\nexport class Alert {\r\n @Element()\r\n host!: HTMLDsoAlertElement;\r\n\r\n /**\r\n * Set status of alert\r\n */\r\n @Prop({ reflect: true })\r\n status!: \"success\" | \"info\" | \"warning\" | \"error\";\r\n\r\n /**\r\n * Whether or not to show the role attribute with value \"alert\". To control the tooltip add the `role-alert` attribute.\r\n */\r\n @Prop()\r\n roleAlert?: boolean;\r\n\r\n /**\r\n * Show alert as compact variant (without icon)\r\n */\r\n @Prop({ reflect: true })\r\n compact?: boolean;\r\n\r\n /**\r\n * When `false` the close button in the alert will not be rendered.\r\n */\r\n @Prop()\r\n closable = false;\r\n\r\n /**\r\n * Emitted when the user closes the Alert.\r\n */\r\n @Event()\r\n dsoClose!: EventEmitter<AlertCloseEvent>;\r\n\r\n private text = i18n(() => this.host, translations);\r\n\r\n render() {\r\n const status = this.text(this.status);\r\n if (!status) {\r\n throw new Error(`Invalid status ${this.status}`);\r\n }\r\n\r\n return (\r\n <div\r\n class={clsx(\"alert\", `alert-${this.status}`, { \"dso-compact\": this.compact })}\r\n role={this.roleAlert ? \"alert\" : undefined}\r\n >\r\n {!this.compact && <dso-icon class=\"icon-status\" icon={\"status-\" + this.status} />}\r\n <span class=\"sr-only\">{status}:</span>\r\n <slot></slot>\r\n\r\n {this.closable && (\r\n <dso-icon-button\r\n label={this.text(\"close\")}\r\n variant=\"tertiary\"\r\n icon=\"times\"\r\n onDsoClick={(e) => this.dsoClose.emit({ originalEvent: e })}\r\n />\r\n )}\r\n </div>\r\n );\r\n }\r\n}\r\n"],"version":3}
@@ -1,8 +1,8 @@
1
1
  import { p as proxyCustomElement, H, h, F as Fragment, t as transformTag } from './p-DBWrx_3r.js';
2
2
  import { p as positionTooltip, T as Tooltip } from './p-kKdt-6mr.js';
3
- import { d as defineCustomElement$1 } from './p-DAPEW-cK.js';
3
+ import { d as defineCustomElement$1 } from './p-C0EnGYRN.js';
4
4
 
5
- const ozonContentToggletipCss = () => `*,*::after,*::before{box-sizing:border-box}.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;transition:opacity 0.15s}.dso-tooltip.visible{opacity:1;visibility:visible}.dso-tooltip .tooltip-inner{--_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;max-inline-size:480px}.dso-tooltip .tooltip-arrow{--_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;position:absolute;border-start-start-radius:4px;block-size:10px;inline-size:10px;pointer-events:none;z-index:-1}:host{display:inline;--_dt-rich-content-margin-block:8px}::slotted(:not([slot=label])){cursor:default !important}.toggletip-button{display:inline-block;font-size:1em;font-weight:500;margin-block-end:0;text-decoration:none;touch-action:manipulation;text-align:start;user-select:none;vertical-align:middle}.toggletip-button:focus,.toggletip-button:focus-visible{outline-offset:2px}.toggletip-button:active{outline:0}.toggletip-button{border:0;color:var(--_dso-ozon-content-toggletip-color, #2b5780);line-height:1;padding:0;background-color:transparent;cursor:pointer;vertical-align:baseline;display:inline;overflow-wrap:break-word}.toggletip-button,.toggletip-button:hover,.toggletip-button:focus-visible,.toggletip-button:active{text-decoration-line:var(--_dso-ozon-content-toggletip-text-decoration, underline);text-decoration-style:dotted;text-underline-offset:15%}.toggletip-button dso-icon{margin-inline-start:4px;vertical-align:middle}.icon-container{position:relative;padding-inline-end:28px}.icon-container dso-icon{position:absolute}`;
5
+ const ozonContentToggletipCss = () => `*,*::after,*::before{box-sizing:border-box}.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;transition:opacity 0.15s}.dso-tooltip.visible{opacity:1;visibility:visible}.dso-tooltip .tooltip-inner{--_dt-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;max-inline-size:480px}.dso-tooltip .tooltip-arrow{--_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;position:absolute;border-start-start-radius:4px;block-size:10px;inline-size:10px;pointer-events:none;z-index:-1}:host{display:inline;--_dt-rich-content-margin-block:8px}::slotted(:not([slot=label])){cursor:default !important}.toggletip-button{display:inline-block;font-size:1em;font-weight:500;margin-block-end:0;text-decoration:none;touch-action:manipulation;text-align:start;user-select:none;vertical-align:middle}.toggletip-button:focus,.toggletip-button:focus-visible{outline-offset:2px}.toggletip-button:active{outline:0}.toggletip-button{border:0;color:var(--_dso-ozon-content-toggletip-color, #2b5780);line-height:1;padding:0;background-color:transparent;cursor:pointer;vertical-align:baseline;display:inline;overflow-wrap:break-word;user-select:text}.toggletip-button,.toggletip-button:hover,.toggletip-button:focus-visible,.toggletip-button:active{text-decoration-line:var(--_dso-ozon-content-toggletip-text-decoration, underline);text-decoration-style:dotted;text-underline-offset:15%}.toggletip-button dso-icon{margin-inline-start:4px;vertical-align:middle}.icon-container{position:relative;padding-inline-end:28px}.icon-container dso-icon{position:absolute}`;
6
6
 
7
7
  const ozonContentToggletip = /*@__PURE__*/ proxyCustomElement(class ozonContentToggletip extends H {
8
8
  constructor(registerHost) {
@@ -72,7 +72,7 @@ const ozonContentToggletip = /*@__PURE__*/ proxyCustomElement(class ozonContentT
72
72
  }
73
73
  }
74
74
  render() {
75
- return (h(Fragment, { key: 'ea34c93439597d65072cb7e4cceb45f2775e5403' }, h("span", { key: '3e7dfe0cf9ec29260cedb736a5bf9c37306e9a81', class: "toggletip-button", role: "button", tabindex: 0, onClick: this.toggle, onKeyDown: this.keyUpHandler, onFocusout: this.focusOutHandler, ref: (element) => (this.container = element) }, h("span", { key: '60a75f14d4546603a34f85f993f550f1fb0f1b34', class: "icon-container" }, h("slot", { key: 'cfe50bcc158ad33051c1946ce9599ecaa0f448ce', name: "label" }), h("dso-icon", { key: 'e31aad7d5cd522e324184f380d983ab2b9caf770', icon: this.icon })), h(Tooltip, { key: 'fa3098858227e954e377539761f02d9b4a6820ce', visible: true, onAfterHidden: () => { }, tipElementRef: (element) => (this.tooltip = element), tipArrowElementRef: (element) => (this.tooltipArrow = element) }, h("slot", { key: 'cedc773ae4b66ef0c1bf0b199dafb226072b5093' })))));
75
+ return (h(Fragment, { key: '461010eb2eafbf5ba97aed6bf49261fcc790e755' }, h("span", { key: '182c96c0f91b8a871bfbcd34f1dffe704cbee0f5', class: "toggletip-button", role: "button", tabindex: 0, onClick: this.toggle, onKeyDown: this.keyUpHandler, onFocusout: this.focusOutHandler, ref: (element) => (this.container = element) }, h("span", { key: '2450aa008e277ba04bb1acf010b13cde6c2d5d6d', class: "icon-container" }, h("slot", { key: 'df4f968b7a33aaa90c5205a9a82a8cb37f624168', name: "label" }), h("dso-icon", { key: '65430abf4a67ffb447518055a45db4deb5ef62ed', icon: this.icon }))), h(Tooltip, { key: '31455a4c8dca198feb8471682022c19bd7095a03', visible: true, onAfterHidden: () => { }, tipElementRef: (element) => (this.tooltip = element), tipArrowElementRef: (element) => (this.tooltipArrow = element) }, h("slot", { key: '098d9db719a1f412ccb49a8a5a4bfac5f5cab2ca' }))));
76
76
  }
77
77
  get host() { return this; }
78
78
  static get style() { return ozonContentToggletipCss(); }
@@ -101,6 +101,6 @@ function defineCustomElement() {
101
101
  }
102
102
 
103
103
  export { defineCustomElement as d, ozonContentToggletip as o };
104
- //# sourceMappingURL=p-J6EVaTGZ.js.map
104
+ //# sourceMappingURL=p-B5jOW6NE.js.map
105
105
 
106
- //# sourceMappingURL=p-J6EVaTGZ.js.map
106
+ //# sourceMappingURL=p-B5jOW6NE.js.map
@@ -0,0 +1 @@
1
+ {"file":"p-B5jOW6NE.js","mappings":";;;;AAAA,MAAM,uBAAuB,GAAG,MAAM,CAAC,mvEAAmvE,CAAC;;MCW9wE,oBAAoB,iBAAAA,kBAAA,CAAA,MAAA,oBAAA,SAAAC,CAAA,CAAA;AALjC,IAAA,WAAA,CAAA,YAAA,EAAA;;;;;;AAgBE,QAAA,IAAM,CAAA,MAAA,GAAG,KAAK;AAGd,QAAA,IAAa,CAAA,aAAA,GAAG,KAAK;AAMb,QAAA,IAAM,CAAA,MAAA,GAAG,MAAK;AACpB,YAAA,IAAI,IAAI,CAAC,MAAM,EAAE;gBACf,IAAI,CAAC,KAAK,EAAE;;iBACP;gBACL,IAAI,CAAC,IAAI,EAAE;;AAEf,SAAC;AAEO,QAAA,IAAI,CAAA,IAAA,GAAG,MAAK;AAClB,YAAA,IAAI,CAAC,MAAM,GAAG,IAAI;AACpB,SAAC;AAEO,QAAA,IAAK,CAAA,KAAA,GAAG,MAAK;AACnB,YAAA,IAAI,CAAC,MAAM,GAAG,KAAK;AACrB,SAAC;AAEO,QAAA,IAAA,CAAA,eAAe,GAAG,CAAC,KAAiB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ozon-content-toggletip.scss?tag=dso-ozon-content-toggletip&encapsulation=shadow","src/components/ozon-content/components/ozon-content-toggletip/ozon-content-toggletip.tsx"],"sourcesContent":["@use \"~dso-toolkit/src/components/button\";\r\n@use \"~dso-toolkit/src/utilities\";\r\n@use \"~dso-toolkit/src/variables/colors\";\r\n@use \"~dso-toolkit/src/variables/units\";\r\n\r\n@use \"../../../../functional-components/tooltip\";\r\n\r\n@include utilities.box-sizing();\r\n@include tooltip.include($max-inline-size: 60 * units.$u1);\r\n\r\n$icon-margin-inline-start: units.$u1 * 0.5;\r\n\r\n:host {\r\n display: inline;\r\n --_dt-rich-content-margin-block: #{units.$u1};\r\n}\r\n\r\n::slotted(:not([slot=\"label\"])) {\r\n cursor: default !important;\r\n}\r\n\r\n.toggletip-button {\r\n @include button.base($modifiers: false);\r\n\r\n border: 0;\r\n color: var(--_dso-ozon-content-toggletip-color, colors.$donkerblauw);\r\n line-height: 1;\r\n padding: 0;\r\n background-color: transparent;\r\n cursor: pointer;\r\n vertical-align: baseline;\r\n display: inline;\r\n overflow-wrap: break-word;\r\n user-select: text;\r\n\r\n &,\r\n &:hover,\r\n &:focus-visible,\r\n &:active {\r\n text-decoration-line: var(--_dso-ozon-content-toggletip-text-decoration, underline);\r\n text-decoration-style: dotted;\r\n text-underline-offset: 15%;\r\n }\r\n\r\n dso-icon {\r\n margin-inline-start: $icon-margin-inline-start;\r\n vertical-align: middle;\r\n }\r\n}\r\n\r\n.icon-container {\r\n position: relative;\r\n padding-inline-end: units.$u3 + $icon-margin-inline-start;\r\n\r\n dso-icon {\r\n position: absolute;\r\n }\r\n}\r\n","import { Component, ComponentInterface, Element, Fragment, Prop, State, h } from \"@stencil/core\";\r\n\r\nimport { positionTooltip } from \"../../../../functional-components/tooltip/position-tooltip.function\";\r\nimport { Tooltip } from \"../../../../functional-components/tooltip/tooltip.functional-component\";\r\nimport { TooltipClean } from \"../../../../functional-components/tooltip/tooltip.interfaces\";\r\n\r\n@Component({\r\n tag: \"dso-ozon-content-toggletip\",\r\n styleUrl: \"./ozon-content-toggletip.scss\",\r\n shadow: true,\r\n})\r\nexport class ozonContentToggletip implements ComponentInterface {\r\n @Element()\r\n host!: HTMLDsoOzonContentToggletipElement;\r\n\r\n /**\r\n * The alias of the icon in the button.\r\n */\r\n @Prop({ reflect: true })\r\n icon?: string;\r\n\r\n @State()\r\n active = false;\r\n\r\n @State()\r\n showToggletip = false;\r\n\r\n private container: HTMLSpanElement | undefined;\r\n private tooltip: HTMLElement | undefined;\r\n private tooltipArrow: HTMLElement | undefined;\r\n\r\n private toggle = () => {\r\n if (this.active) {\r\n this.close();\r\n } else {\r\n this.open();\r\n }\r\n };\r\n\r\n private open = () => {\r\n this.active = true;\r\n };\r\n\r\n private close = () => {\r\n this.active = false;\r\n };\r\n\r\n private focusOutHandler = (event: FocusEvent) => {\r\n if (!this.host.contains(event.relatedTarget as Node)) {\r\n this.close();\r\n }\r\n };\r\n\r\n private keyUpHandler = (event: KeyboardEvent) => {\r\n switch (event.key) {\r\n case \"Escape\":\r\n this.close();\r\n return;\r\n case \" \":\r\n case \"Enter\":\r\n this.toggle();\r\n return;\r\n default:\r\n return;\r\n }\r\n };\r\n\r\n componentDidRender() {\r\n if (this.tooltip) {\r\n if (this.active && !this.showToggletip) {\r\n this.tooltip.showPopover();\r\n this.showToggletip = true;\r\n } else if (!this.active && this.showToggletip) {\r\n this.tooltip?.hidePopover();\r\n this.showToggletip = false;\r\n }\r\n }\r\n\r\n let cleanUp: TooltipClean | undefined;\r\n\r\n if (this.active && !cleanUp && this.container && this.tooltip && this.tooltipArrow) {\r\n cleanUp = positionTooltip({\r\n referenceElement: this.container,\r\n tipRef: this.tooltip,\r\n tipArrowRef: this.tooltipArrow,\r\n placementTip: \"top\",\r\n });\r\n }\r\n\r\n if (!this.active && cleanUp) {\r\n cleanUp();\r\n }\r\n }\r\n\r\n render() {\r\n return (\r\n <Fragment>\r\n <span\r\n class=\"toggletip-button\"\r\n role=\"button\"\r\n tabindex={0}\r\n onClick={this.toggle}\r\n onKeyDown={this.keyUpHandler}\r\n onFocusout={this.focusOutHandler}\r\n ref={(element) => (this.container = element)}\r\n >\r\n <span class=\"icon-container\">\r\n <slot name=\"label\" />\r\n <dso-icon icon={this.icon} />\r\n </span>\r\n </span>\r\n <Tooltip\r\n visible\r\n onAfterHidden={() => {}}\r\n tipElementRef={(element) => (this.tooltip = element)}\r\n tipArrowElementRef={(element) => (this.tooltipArrow = element)}\r\n >\r\n <slot />\r\n </Tooltip>\r\n </Fragment>\r\n );\r\n }\r\n}\r\n"],"version":3}
@@ -1,5 +1,5 @@
1
1
  import { p as proxyCustomElement, H, h, t as transformTag } from './p-DBWrx_3r.js';
2
- import { d as defineCustomElement$1 } from './p-DAPEW-cK.js';
2
+ import { d as defineCustomElement$1 } from './p-C0EnGYRN.js';
3
3
 
4
4
  const attachmentsCounterCss = () => `:host{display:inline-block}*,*::after,*::before{box-sizing:border-box}.sr-only{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;border:0;overflow:hidden;clip-path:rect(0 0 0 0)}.dso-attachments{color:var(--dso-attachments-counter-color, #666);display:inline-block;font-weight:400;text-decoration:none;white-space:nowrap}`;
5
5
 
@@ -38,6 +38,6 @@ function defineCustomElement() {
38
38
  }
39
39
 
40
40
  export { AttachmentsCounter as A, defineCustomElement as d };
41
- //# sourceMappingURL=p-CvU3MN64.js.map
41
+ //# sourceMappingURL=p-B6KrM61B.js.map
42
42
 
43
- //# sourceMappingURL=p-CvU3MN64.js.map
43
+ //# sourceMappingURL=p-B6KrM61B.js.map
@@ -1 +1 @@
1
- {"file":"p-CvU3MN64.js","mappings":";;;AAAA,MAAM,qBAAqB,GAAG,MAAM,CAAC,sVAAsV,CAAC;;MCO/W,kBAAkB,iBAAAA,kBAAA,CAAA,MAAA,kBAAA,SAAAC,CAAA,CAAA;;;;;;;;IAO7B,MAAM,GAAA;AACJ,QAAA,QACE,CAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAM,KAAK,EAAC,iBAAiB,EAAA,EAC1B,IAAI,CAAC,KAAK,OAAE,CAAM,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,SAAS,EAAA,aAAS,IAAI,CAAC,KAAK,KAAK,CAAC,GAAG,GAAG,GAAG,EAAE,CAAQ,EAC9E,CAAA,CAAA,UAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAU,IAAI,EAAC,WAAW,EAAY,CAAA,CACjC;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/attachments-counter/attachments-counter.scss?tag=dso-attachments-counter&encapsulation=shadow","src/components/attachments-counter/attachments-counter.tsx"],"sourcesContent":["@use \"~dso-toolkit/src/utilities\";\r\n@use \"~dso-toolkit/src/components/attachments-counter\";\r\n\r\n:host {\r\n display: inline-block;\r\n}\r\n\r\n@include utilities.box-sizing();\r\n\r\n.sr-only {\r\n @include utilities.sr-only();\r\n}\r\n\r\n.dso-attachments {\r\n @include attachments-counter.root();\r\n}\r\n","import { Component, Prop, h } from \"@stencil/core\";\r\n\r\n@Component({\r\n tag: \"dso-attachments-counter\",\r\n styleUrl: \"attachments-counter.scss\",\r\n shadow: true,\r\n})\r\nexport class AttachmentsCounter {\r\n /**\r\n * The number of attachments.\r\n */\r\n @Prop()\r\n count!: number;\r\n\r\n render() {\r\n return (\r\n <span class=\"dso-attachments\">\r\n {this.count} <span class=\"sr-only\">bijlage{this.count !== 1 ? \"n\" : \"\"}</span>\r\n <dso-icon icon=\"paperclip\"></dso-icon>\r\n </span>\r\n );\r\n }\r\n}\r\n"],"version":3}
1
+ {"file":"p-B6KrM61B.js","mappings":";;;AAAA,MAAM,qBAAqB,GAAG,MAAM,CAAC,sVAAsV,CAAC;;MCO/W,kBAAkB,iBAAAA,kBAAA,CAAA,MAAA,kBAAA,SAAAC,CAAA,CAAA;;;;;;;;IAO7B,MAAM,GAAA;AACJ,QAAA,QACE,CAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAM,KAAK,EAAC,iBAAiB,EAAA,EAC1B,IAAI,CAAC,KAAK,OAAE,CAAM,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,SAAS,EAAA,aAAS,IAAI,CAAC,KAAK,KAAK,CAAC,GAAG,GAAG,GAAG,EAAE,CAAQ,EAC9E,CAAA,CAAA,UAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAU,IAAI,EAAC,WAAW,EAAY,CAAA,CACjC;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/attachments-counter/attachments-counter.scss?tag=dso-attachments-counter&encapsulation=shadow","src/components/attachments-counter/attachments-counter.tsx"],"sourcesContent":["@use \"~dso-toolkit/src/utilities\";\r\n@use \"~dso-toolkit/src/components/attachments-counter\";\r\n\r\n:host {\r\n display: inline-block;\r\n}\r\n\r\n@include utilities.box-sizing();\r\n\r\n.sr-only {\r\n @include utilities.sr-only();\r\n}\r\n\r\n.dso-attachments {\r\n @include attachments-counter.root();\r\n}\r\n","import { Component, Prop, h } from \"@stencil/core\";\r\n\r\n@Component({\r\n tag: \"dso-attachments-counter\",\r\n styleUrl: \"attachments-counter.scss\",\r\n shadow: true,\r\n})\r\nexport class AttachmentsCounter {\r\n /**\r\n * The number of attachments.\r\n */\r\n @Prop()\r\n count!: number;\r\n\r\n render() {\r\n return (\r\n <span class=\"dso-attachments\">\r\n {this.count} <span class=\"sr-only\">bijlage{this.count !== 1 ? \"n\" : \"\"}</span>\r\n <dso-icon icon=\"paperclip\"></dso-icon>\r\n </span>\r\n );\r\n }\r\n}\r\n"],"version":3}
@@ -1,6 +1,7 @@
1
1
  import { p as proxyCustomElement, H, h, F as Fragment, c as Host, t as transformTag } from './p-DBWrx_3r.js';
2
2
  import { d as debounce } from './p-baWVwd8J.js';
3
- import { d as defineCustomElement$1 } from './p-DAPEW-cK.js';
3
+ import { d as defineCustomElement$2 } from './p-C0EnGYRN.js';
4
+ import { d as defineCustomElement$1 } from './p-BGRoDyj6.js';
4
5
  import { v as v4 } from './p-C_akviUd.js';
5
6
 
6
7
  const tableCss = () => `button {
@@ -1269,7 +1270,7 @@ const Table = /*@__PURE__*/ proxyCustomElement(class Table extends H {
1269
1270
  render() {
1270
1271
  var _a, _b, _c;
1271
1272
  const caption = (_b = (_a = this.host.querySelector(":scope > table > caption")) === null || _a === void 0 ? void 0 : _a.textContent) === null || _b === void 0 ? void 0 : _b.trim();
1272
- return (h(Host, { key: 'bcaf2967ab097410366d0b5d37a9c8b6ac42cef8', "is-responsive": (_c = this.isResponsive) === null || _c === void 0 ? void 0 : _c.toString() }, this.modalActive && this.placeholderHeight && (h("div", { key: '2bb16134f324f13653defb6c2651c414cb7b7c6b', class: "dso-table-placeholder", style: { height: `${this.placeholderHeight}px` } })), this.modalActive ? (h("dialog", { class: "dso-modal", ref: (element) => (this.dialogElement = element), onClose: this.dialogCloseEventListener }, h("div", { class: "dso-dialog dso-table-dialog", "aria-labelledby": this.labelledbyId }, h("div", { class: "dso-header" }, h("h2", { id: this.labelledbyId, class: { "sr-only": !caption } }, caption || "Uitvergrote tabel dialoog"), h("button", { type: "button", class: "dso-close", onClick: () => this.closeModal() }, h("dso-icon", { icon: "times" }), h("span", { class: "sr-only" }, "Sluiten"))), h("div", { class: "dso-body dso-table-body" }, h("slot", null))))) : (h(Fragment, null, h("div", { class: "dso-table-utilities", hidden: !this.isResponsive && this.noModal }, this.isResponsive && (h("div", { class: "dso-responsive-message" }, h("span", null, "beweeg de tabel van links naar rechts"))), !this.noModal && (h("button", { type: "button", class: "dso-tertiary open-modal-button", onClick: () => this.openModal() }, h("span", { class: "sr-only" }, "tabel ", caption !== null && caption !== void 0 ? caption : "", " "), h("span", null, "vergroten"), h("dso-icon", { icon: "external-link" })))), h("div", { class: "dso-table-body" }, h("slot", null))))));
1273
+ return (h(Host, { key: '4aa3930ee445f9d4ddac187964f004158e36b917', "is-responsive": (_c = this.isResponsive) === null || _c === void 0 ? void 0 : _c.toString() }, this.modalActive && this.placeholderHeight && (h("div", { key: '4a3efeef65f242fdd54eaa7c2f4f9fac2f670c32', class: "dso-table-placeholder", style: { height: `${this.placeholderHeight}px` } })), this.modalActive ? (h("dialog", { class: "dso-modal", ref: (element) => (this.dialogElement = element), onClose: this.dialogCloseEventListener }, h("div", { class: "dso-dialog dso-table-dialog", "aria-labelledby": this.labelledbyId }, h("div", { class: "dso-header" }, h("h2", { id: this.labelledbyId, class: { "sr-only": !caption } }, caption || "Uitvergrote tabel dialoog"), h("dso-icon-button", { icon: "times", variant: "tertiary", class: "dso-close", label: "Sluiten", onClick: () => this.closeModal() })), h("div", { class: "dso-body dso-table-body" }, h("slot", null))))) : (h(Fragment, null, h("div", { class: "dso-table-utilities", hidden: !this.isResponsive && this.noModal }, this.isResponsive && (h("div", { class: "dso-responsive-message" }, h("span", null, "beweeg de tabel van links naar rechts"))), !this.noModal && (h("button", { type: "button", class: "dso-tertiary open-modal-button", onClick: () => this.openModal() }, h("span", { class: "sr-only" }, "tabel ", caption !== null && caption !== void 0 ? caption : "", " "), h("span", null, "vergroten"), h("dso-icon", { icon: "external-link" })))), h("div", { class: "dso-table-body" }, h("slot", null))))));
1273
1274
  }
1274
1275
  openModal() {
1275
1276
  this.placeholderHeight = this.host.clientHeight;
@@ -1303,7 +1304,7 @@ function defineCustomElement() {
1303
1304
  if (typeof customElements === "undefined") {
1304
1305
  return;
1305
1306
  }
1306
- const components = ["dso-table", "dso-icon"];
1307
+ const components = ["dso-table", "dso-icon", "dso-icon-button"];
1307
1308
  components.forEach(tagName => { switch (tagName) {
1308
1309
  case "dso-table":
1309
1310
  if (!customElements.get(transformTag(tagName))) {
@@ -1311,6 +1312,11 @@ function defineCustomElement() {
1311
1312
  }
1312
1313
  break;
1313
1314
  case "dso-icon":
1315
+ if (!customElements.get(transformTag(tagName))) {
1316
+ defineCustomElement$2();
1317
+ }
1318
+ break;
1319
+ case "dso-icon-button":
1314
1320
  if (!customElements.get(transformTag(tagName))) {
1315
1321
  defineCustomElement$1();
1316
1322
  }
@@ -1319,6 +1325,6 @@ function defineCustomElement() {
1319
1325
  }
1320
1326
 
1321
1327
  export { Table as T, defineCustomElement as d };
1322
- //# sourceMappingURL=p-bgDHZ-CT.js.map
1328
+ //# sourceMappingURL=p-BFNIoCP5.js.map
1323
1329
 
1324
- //# sourceMappingURL=p-bgDHZ-CT.js.map
1330
+ //# sourceMappingURL=p-BFNIoCP5.js.map
@@ -0,0 +1 @@
1
+ {"file":"p-BFNIoCP5.js","mappings":";;;;;;AAAA,MAAM,QAAQ,GAAG,MAAM,CAAC;AACxB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA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SAAS,GAAA;QACf,IAAI,CAAC,iBAAiB,GAAG,IAAI,CAAC,IAAI,CAAC,YAAY;AAC/C,QAAA,IAAI,CAAC,WAAW,GAAG,IAAI;;IAGjB,UAAU,GAAA;;AAChB,QAAA,IAAI,CAAC,iBAAiB,GAAG,SAAS;QAClC,CAAA,EAAA,GAAA,IAAI,CAAC,aAAa,MAAE,IAAA,IAAA,EAAA,KAAA,MAAA,GAAA,MAAA,GAAA,EAAA,CAAA,KAAK,EAAE;AAC3B,QAAA,IAAI,CAAC,WAAW,GAAG,KAAK;;IAGlB,kBAAkB,CAAC,CAAC,QAAQ,CAAwB,EAAA;QAC1D,IAAI,CAAC,QAAQ,EAAE;AACb,YAAA,MAAM,IAAI,KAAK,CAAC,mBAAmB,CAAC;;QAGtC,MAAM,YAAY,GAAG,QAAQ,CAAC,MAAM,CAAC,aAAa,CAAC,OAAO,CAAC;AAE3D,QAAA,IAAI,QAAQ,IAAI,YAAY,YAAY,gBAAgB,EAAE;AACxD,YAAA,IAAI,CAAC,YAAY;gBACf,IAAI,CAAC,KAAK,CAAC,YAAY,CAAC,qBAAqB,EAAE,CAAC,KAAK,CAAC,GAAG,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,WAAW,CAAC,KAAK,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/table/table.scss?tag=dso-table&encapsulation=shadow","src/components/table/table.tsx"],"sourcesContent":["@use \"sass:color\";\r\n\r\n@use \"~dso-toolkit/src/components/grid/grid.variables\" as grid-variables;\r\n@use \"~dso-toolkit/src/components/modal/modal.variables\" as modal-variables;\r\n\r\n@use \"~dso-toolkit/src/variables/units\";\r\n@use \"~dso-toolkit/src/variables/media-query-breakpoints\";\r\n@use \"~dso-toolkit/src/variables/colors\";\r\n@use \"~dso-toolkit/src/variables/zindex\";\r\n@use \"~dso-toolkit/src/utilities\";\r\n\r\n@use \"~dso-toolkit/src/components/button/button\";\r\n@use \"~dso-toolkit/src/components/modal\";\r\n@use \"~dso-toolkit/src/components/rich-content\";\r\n@use \"~dso-toolkit/src/components/table\";\r\n\r\n:host {\r\n display: block;\r\n margin-block-end: units.$u3;\r\n}\r\n\r\n.dso-header {\r\n min-block-size: units.$u4;\r\n\r\n h2 {\r\n color: colors.$bosgroen;\r\n font-size: units.$font-size-h2;\r\n font-weight: 700;\r\n }\r\n\r\n .dso-close {\r\n color: colors.$bosgroen;\r\n }\r\n}\r\n\r\n:host .dso-modal {\r\n margin: 0;\r\n background-color: transparent;\r\n inline-size: 100dvi;\r\n\r\n @include modal.root();\r\n}\r\n\r\n.dso-modal .dso-dialog.dso-table-dialog {\r\n margin-block-start: 1rem;\r\n margin-inline-start: 1rem;\r\n margin-inline-end: 1rem;\r\n inline-size: 100%;\r\n\r\n .dso-body {\r\n $dso-body-unavailable-height: (\r\n (2 * modal.$header-padding) + (modal.$footer-button-block-size + modal.$footer-padding)\r\n );\r\n max-block-size: calc(100vh - #{$dso-body-unavailable-height} - 1.5em - 2rem); // margin\r\n }\r\n\r\n @media screen and (max-width: media-query-breakpoints.$screen-xs-max) {\r\n max-inline-size: 100%;\r\n }\r\n}\r\n\r\n:host([is-responsive=\"true\"]) {\r\n .dso-table-body {\r\n border: 1px solid table.$border-color;\r\n margin-block-end: 0;\r\n overflow-y: auto;\r\n inline-size: 100%;\r\n\r\n &.dso-body {\r\n inline-size: calc(100% - modal.$body-padding * 2);\r\n }\r\n }\r\n}\r\n\r\n.dso-table-utilities:not([hidden]) {\r\n align-items: center;\r\n display: flex;\r\n justify-content: space-between;\r\n margin-block-end: units.$u1;\r\n\r\n .dso-responsive-message {\r\n margin-block-end: 0;\r\n\r\n &:only-child {\r\n inline-size: 100%;\r\n }\r\n }\r\n\r\n .open-modal-button {\r\n &:only-child {\r\n margin-inline-start: auto;\r\n }\r\n }\r\n}\r\n\r\n.dso-responsive-message {\r\n font-size: 0.8em;\r\n margin-block-end: units.$u1;\r\n position: relative;\r\n text-align: center;\r\n}\r\n\r\n.sr-only {\r\n @include utilities.sr-only();\r\n}\r\n\r\n.dso-table-placeholder {\r\n box-shadow: inset 0 0 0 1px table.$border-color;\r\n display: grid;\r\n place-content: center;\r\n}\r\n","import { Component, ComponentInterface, Element, Fragment, Host, Prop, State, h } from \"@stencil/core\";\r\nimport debounce from \"debounce\";\r\nimport { v4 } from \"uuid\";\r\n\r\n@Component({\r\n tag: \"dso-table\",\r\n styleUrl: \"table.scss\",\r\n shadow: true,\r\n})\r\nexport class Table implements ComponentInterface {\r\n private resizeObserver?: ResizeObserver;\r\n\r\n private dialogElement?: HTMLDialogElement;\r\n\r\n private labelledbyId = v4();\r\n\r\n @Element()\r\n host!: HTMLDsoTableElement;\r\n\r\n /**\r\n * Prevents the table being opened in a modal.\r\n */\r\n @Prop({ reflect: true })\r\n noModal = false;\r\n\r\n @State()\r\n isResponsive?: boolean;\r\n\r\n @State()\r\n modalActive = false;\r\n\r\n @State()\r\n placeholderHeight?: number;\r\n\r\n private startResponsiveBehavior(): void {\r\n this.resizeObserver?.observe(this.host);\r\n }\r\n\r\n private dialogCloseEventListener = () => {\r\n this.closeModal();\r\n };\r\n\r\n componentWillLoad(): void {\r\n this.resizeObserver = new ResizeObserver(debounce((entries) => this.setResponsiveTable(entries), 200));\r\n }\r\n\r\n componentDidLoad(): void {\r\n this.startResponsiveBehavior();\r\n }\r\n\r\n componentDidRender() {\r\n if (this.modalActive) {\r\n this.dialogElement?.showModal();\r\n }\r\n }\r\n\r\n disconnectedCallback() {\r\n this.resizeObserver?.disconnect();\r\n }\r\n\r\n render() {\r\n const caption = this.host.querySelector(\":scope > table > caption\")?.textContent?.trim();\r\n\r\n return (\r\n <Host is-responsive={this.isResponsive?.toString()}>\r\n {this.modalActive && this.placeholderHeight && (\r\n <div class=\"dso-table-placeholder\" style={{ height: `${this.placeholderHeight}px` }} />\r\n )}\r\n\r\n {this.modalActive ? (\r\n <dialog\r\n class=\"dso-modal\"\r\n ref={(element) => (this.dialogElement = element)}\r\n onClose={this.dialogCloseEventListener}\r\n >\r\n <div class=\"dso-dialog dso-table-dialog\" aria-labelledby={this.labelledbyId}>\r\n <div class=\"dso-header\">\r\n <h2 id={this.labelledbyId} class={{ \"sr-only\": !caption }}>\r\n {caption || \"Uitvergrote tabel dialoog\"}\r\n </h2>\r\n <dso-icon-button\r\n icon=\"times\"\r\n variant=\"tertiary\"\r\n class=\"dso-close\"\r\n label=\"Sluiten\"\r\n onClick={() => this.closeModal()}\r\n />\r\n </div>\r\n\r\n <div class=\"dso-body dso-table-body\">\r\n <slot />\r\n </div>\r\n </div>\r\n </dialog>\r\n ) : (\r\n <Fragment>\r\n <div class=\"dso-table-utilities\" hidden={!this.isResponsive && this.noModal}>\r\n {this.isResponsive && (\r\n <div class=\"dso-responsive-message\">\r\n <span>beweeg de tabel van links naar rechts</span>\r\n </div>\r\n )}\r\n\r\n {!this.noModal && (\r\n <button type=\"button\" class=\"dso-tertiary open-modal-button\" onClick={() => this.openModal()}>\r\n <span class=\"sr-only\">tabel {caption ?? \"\"} </span>\r\n <span>vergroten</span>\r\n <dso-icon icon=\"external-link\"></dso-icon>\r\n </button>\r\n )}\r\n </div>\r\n\r\n <div class=\"dso-table-body\">\r\n <slot />\r\n </div>\r\n </Fragment>\r\n )}\r\n </Host>\r\n );\r\n }\r\n\r\n private openModal() {\r\n this.placeholderHeight = this.host.clientHeight;\r\n this.modalActive = true;\r\n }\r\n\r\n private closeModal() {\r\n this.placeholderHeight = undefined;\r\n this.dialogElement?.close();\r\n this.modalActive = false;\r\n }\r\n\r\n private setResponsiveTable([dsoTable]: ResizeObserverEntry[]): void {\r\n if (!dsoTable) {\r\n throw new Error(\"No dsoTable found\");\r\n }\r\n\r\n const tableElement = dsoTable.target.querySelector(\"table\");\r\n\r\n if (dsoTable && tableElement instanceof HTMLTableElement) {\r\n this.isResponsive =\r\n Math.floor(tableElement.getBoundingClientRect().width) > Math.floor(dsoTable.contentRect.width);\r\n }\r\n }\r\n}\r\n"],"version":3}
@@ -33,7 +33,7 @@ const SlideToggle = /*@__PURE__*/ proxyCustomElement(class SlideToggle extends H
33
33
  this.hasVisibleLabel = this.host.querySelector("*") !== null;
34
34
  }
35
35
  render() {
36
- return (h(Fragment, { key: '0f34c376fadba8a62707d91e84f25677fc5690a3' }, h("button", Object.assign({ key: 'caa9fb16fe1781b355a3f0b9859a07d460c5ec85', 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 } : {})), h("svg", { key: '40073a0bd05c1009811be9e892ee4a323a2d9439', xmlns: "http://www.w3.org/2000/svg", width: "40", height: "20", viewBox: "0 0 40 20" }, h("g", { key: '9b8ee2e81cd7390998c6e5700a6f7bcb662b876f', fill: "none", "fill-rule": "evenodd" }, h("rect", { key: '5399256e45dc823a7722831e64c7dd5ec0d152f9', width: "40", height: "20", fill: "currentColor", rx: "10" }), h("circle", { key: '2ea153fc376c0889c3c74f8f4440ed1d9dc69659', cy: "10", r: "8", fill: "currentColor" })))), this.hasVisibleLabel && (h("label", { key: '4bd14e28d33e7af47c386acd8f6e85ad54b6ce84', htmlFor: this.identifier }, h("slot", { key: 'af963203c5fe7fae6f38d518e11be6e69f75b421' })))));
36
+ return (h(Fragment, { key: '7951732521fe2f5492e98f577a8db95368701a00' }, h("button", Object.assign({ key: 'dee277ad2f9588b83134762429e69e049a7968bf', 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 } : {})), h("svg", { key: '18c6aa1f628fac44a1fc461419e5a53d27ce2385', xmlns: "http://www.w3.org/2000/svg", width: "40", height: "20", viewBox: "0 0 40 20" }, h("g", { key: '130f15a202fd726f2db7ba6100e63f735dcfd590', fill: "none", "fill-rule": "evenodd" }, h("rect", { key: '8f3f8c42d45032d4c1624875a635d204b5ca03be', width: "40", height: "20", fill: "currentColor", rx: "10" }), h("circle", { key: '20641da17a34b9cdf9960d7b640746f2d3be2fb0', cy: "10", r: "8", fill: "currentColor" })))), this.hasVisibleLabel && (h("label", { key: 'd03a0107701ab2dcf1e771d9f08596e3c286d44b', htmlFor: this.identifier }, h("slot", { key: '57ea87e3101fc832b88f74e0dd7b0134e38ea386' })))));
37
37
  }
38
38
  get host() { return this; }
39
39
  static get style() { return slideToggleCss(); }
@@ -60,6 +60,6 @@ function defineCustomElement() {
60
60
  }
61
61
 
62
62
  export { SlideToggle as S, defineCustomElement as d };
63
- //# sourceMappingURL=p-CVAPkfaq.js.map
63
+ //# sourceMappingURL=p-BFOCXUdD.js.map
64
64
 
65
- //# sourceMappingURL=p-CVAPkfaq.js.map
65
+ //# sourceMappingURL=p-BFOCXUdD.js.map
@@ -1 +1 @@
1
- {"file":"p-CVAPkfaq.js","mappings":";;;AAAA,MAAM,cAAc,GAAG,MAAM,CAAC,k3CAAk3C,CAAC;;MCWp4C,WAAW,iBAAAA,kBAAA,CAAA,MAAA,WAAA,SAAAC,CAAA,CAAA;AANxB,IAAA,WAAA,CAAA,YAAA,EAAA;;;;;;AAUE;;AAEG;AAEH,QAAA,IAAO,CAAA,OAAA,GAAG,KAAK;AAEf;;AAEG;AAEH,QAAA,IAAQ,CAAA,QAAA,GAAG,KAAK;AAiBhB;;AAEG;AAEH,QAAA,IAAU,CAAA,UAAA,GAAG,EAAE,EAAE;AA+ClB;AAvCS,IAAA,YAAY,CAAC,CAAQ,EAAA;AAC3B,QAAA,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC;AACxB,YAAA,aAAa,EAAE,CAAC;AAChB,YAAA,OAAO,EAAE,CAAC,IAAI,CAAC,OAAO;AACvB,SAAA,CAAC;;IAGJ,iBAAiB,GAAA;AACf,QAAA,IAAI,CAA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AAA,CAC1C,CACA,CACC,EACR,IAAI,CAAC,eAAe,KACnB,8DAAO,OAAO,EAAE,IAAI,CAAC,UAAU,EAAA,EAC7B,CAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAQ,CACF,CACT,CACQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/slide-toggle/slide-toggle.scss?tag=dso-slide-toggle&encapsulation=scoped","src/components/slide-toggle/slide-toggle.tsx"],"sourcesContent":["@use \"~dso-toolkit/src/utilities\";\r\n@use \"~dso-toolkit/src/variables/colors\";\r\n@use \"~dso-toolkit/src/variables/units\";\r\n@use \"~dso-toolkit/src/variables/typography\";\r\n\r\n$slide-toggle-height: 20px;\r\n\r\n:host {\r\n display: inline-block;\r\n padding-block-start: (typography.$line-height-base * typography.$font-size-base - $slide-toggle-height) * 0.5;\r\n}\r\n\r\nbutton.dso-slider {\r\n border: 0;\r\n padding: 0;\r\n\r\n &:focus-visible {\r\n outline: 2px solid colors.$grijs-80;\r\n outline-offset: 1px;\r\n }\r\n\r\n svg {\r\n rect {\r\n fill: colors.$grijs-40;\r\n transition: fill 0.25s;\r\n }\r\n\r\n circle {\r\n @include utilities.transition(transform);\r\n\r\n transform: translateX(10px);\r\n fill: colors.$wit;\r\n }\r\n }\r\n\r\n &[aria-checked=\"true\"] svg {\r\n rect {\r\n fill: colors.$bosgroen;\r\n }\r\n\r\n circle {\r\n transform: translateX(30px);\r\n fill: colors.$wit;\r\n }\r\n }\r\n\r\n &[disabled] svg {\r\n rect {\r\n fill: colors.$grijs-20;\r\n }\r\n\r\n circle {\r\n fill: colors.$grijs-10;\r\n }\r\n }\r\n\r\n &[disabled][aria-checked=\"true\"] svg {\r\n rect {\r\n fill: colors.$bosgroen-40;\r\n }\r\n\r\n circle {\r\n fill: colors.$grijs-10;\r\n }\r\n }\r\n}\r\n\r\n.dso-slider {\r\n border-radius: units.$u3;\r\n display: inline-flex;\r\n\r\n &:hover {\r\n cursor: pointer;\r\n }\r\n}\r\n","import { Component, ComponentInterface, Element, Event, EventEmitter, Fragment, Prop, State, h } from \"@stencil/core\";\r\nimport { v4 } from \"uuid\";\r\n\r\nimport { SlideToggleActiveEvent } from \"./slide-toggle.interfaces\";\r\n\r\n@Component({\r\n tag: \"dso-slide-toggle\",\r\n styleUrl: \"slide-toggle.scss\",\r\n scoped: true,\r\n shadow: false,\r\n})\r\nexport class SlideToggle implements ComponentInterface {\r\n @Element()\r\n private host!: HTMLDsoSlideToggleElement;\r\n\r\n /**\r\n * Set to true if Slide Toggle is checked.\r\n */\r\n @Prop()\r\n checked = false;\r\n\r\n /**\r\n * Disables the Slide Toggle, preventing it from checking/unchecking and therefor not emitting any events.\r\n */\r\n @Prop()\r\n disabled = false;\r\n\r\n /**\r\n * When provided the `<button>` will be labelled with `aria-label`. For a visible label provide a `<span>` inside the component.\r\n */\r\n @Prop()\r\n accessibleLabel?: string;\r\n\r\n /**\r\n * Provide the `id` of the element that labels this element. this property sets the `aria-labelledby` on the switch button.\r\n */\r\n @Prop()\r\n labelledbyId?: string;\r\n\r\n @State()\r\n hasVisibleLabel?: boolean;\r\n\r\n /**\r\n * Provide an `id` for the `<button>`. Useful for placing your to place your own `<label for=\"id\">`.\r\n */\r\n @Prop()\r\n identifier = v4();\r\n\r\n /**\r\n * Emitted when user checks or unchecks the Slide Toggle.\r\n */\r\n @Event({ composed: false })\r\n dsoActiveChange!: EventEmitter<SlideToggleActiveEvent>;\r\n\r\n private handleSwitch(e: Event): void {\r\n this.dsoActiveChange.emit({\r\n originalEvent: e,\r\n checked: !this.checked,\r\n });\r\n }\r\n\r\n componentWillLoad(): void {\r\n this.hasVisibleLabel = this.host.querySelector(\"*\") !== null;\r\n }\r\n\r\n render() {\r\n return (\r\n <Fragment>\r\n <button\r\n id={this.identifier}\r\n role=\"switch\"\r\n class=\"dso-slider\"\r\n aria-checked={\"\" + this.checked}\r\n disabled={this.disabled}\r\n onClick={(e) => this.handleSwitch(e)}\r\n {...(this.accessibleLabel ? { \"aria-label\": this.accessibleLabel } : {})}\r\n {...(this.labelledbyId ? { \"aria-labelledby\": this.labelledbyId } : {})}\r\n >\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"40\" height=\"20\" viewBox=\"0 0 40 20\">\r\n <g fill=\"none\" fill-rule=\"evenodd\">\r\n <rect width=\"40\" height=\"20\" fill=\"currentColor\" rx=\"10\" />\r\n <circle cy=\"10\" r=\"8\" fill=\"currentColor\" />\r\n </g>\r\n </svg>\r\n </button>\r\n {this.hasVisibleLabel && (\r\n <label htmlFor={this.identifier}>\r\n <slot />\r\n </label>\r\n )}\r\n </Fragment>\r\n );\r\n }\r\n}\r\n"],"version":3}
1
+ {"file":"p-BFOCXUdD.js","mappings":";;;AAAA,MAAM,cAAc,GAAG,MAAM,CAAC,k3CAAk3C,CAAC;;MCWp4C,WAAW,iBAAAA,kBAAA,CAAA,MAAA,WAAA,SAAAC,CAAA,CAAA;AANxB,IAAA,WAAA,CAAA,YAAA,EAAA;;;;;;AAUE;;AAEG;AAEH,QAAA,IAAO,CAAA,OAAA,GAAG,KAAK;AAEf;;AAEG;AAEH,QAAA,IAAQ,CAAA,QAAA,GAAG,KAAK;AAiBhB;;AAEG;AAEH,QAAA,IAAU,CAAA,UAAA,GAAG,EAAE,EAAE;AA+ClB;AAvCS,IAAA,YAAY,CAAC,CAAQ,EAAA;AAC3B,QAAA,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC;AACxB,YAAA,aAAa,EAAE,CAAC;AAChB,YAAA,OAAO,EAAE,CAAC,IAAI,CAAC,OAAO;AACvB,SAAA,CAAC;;IAGJ,iBAAiB,GAAA;AACf,QAAA,IAAI,CAAC,eAAe,GAAG,IAAI,CAAC,IAAI,CAAC,aAAa,CAAC,GAAG,CAAC,KAAK,IAAI;;IAG9D,MAAM,GAAA;QACJ,QACE,EAAC,QAAQ,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,E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AAQ,CACF,CACT,CACQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/slide-toggle/slide-toggle.scss?tag=dso-slide-toggle&encapsulation=scoped","src/components/slide-toggle/slide-toggle.tsx"],"sourcesContent":["@use \"~dso-toolkit/src/utilities\";\r\n@use \"~dso-toolkit/src/variables/colors\";\r\n@use \"~dso-toolkit/src/variables/units\";\r\n@use \"~dso-toolkit/src/variables/typography\";\r\n\r\n$slide-toggle-height: 20px;\r\n\r\n:host {\r\n display: inline-block;\r\n padding-block-start: (typography.$line-height-base * typography.$font-size-base - $slide-toggle-height) * 0.5;\r\n}\r\n\r\nbutton.dso-slider {\r\n border: 0;\r\n padding: 0;\r\n\r\n &:focus-visible {\r\n outline: 2px solid colors.$grijs-80;\r\n outline-offset: 1px;\r\n }\r\n\r\n svg {\r\n rect {\r\n fill: colors.$grijs-40;\r\n transition: fill 0.25s;\r\n }\r\n\r\n circle {\r\n @include utilities.transition(transform);\r\n\r\n transform: translateX(10px);\r\n fill: colors.$wit;\r\n }\r\n }\r\n\r\n &[aria-checked=\"true\"] svg {\r\n rect {\r\n fill: colors.$bosgroen;\r\n }\r\n\r\n circle {\r\n transform: translateX(30px);\r\n fill: colors.$wit;\r\n }\r\n }\r\n\r\n &[disabled] svg {\r\n rect {\r\n fill: colors.$grijs-20;\r\n }\r\n\r\n circle {\r\n fill: colors.$grijs-10;\r\n }\r\n }\r\n\r\n &[disabled][aria-checked=\"true\"] svg {\r\n rect {\r\n fill: colors.$bosgroen-40;\r\n }\r\n\r\n circle {\r\n fill: colors.$grijs-10;\r\n }\r\n }\r\n}\r\n\r\n.dso-slider {\r\n border-radius: units.$u3;\r\n display: inline-flex;\r\n\r\n &:hover {\r\n cursor: pointer;\r\n }\r\n}\r\n","import { Component, ComponentInterface, Element, Event, EventEmitter, Fragment, Prop, State, h } from \"@stencil/core\";\r\nimport { v4 } from \"uuid\";\r\n\r\nimport { SlideToggleActiveEvent } from \"./slide-toggle.interfaces\";\r\n\r\n@Component({\r\n tag: \"dso-slide-toggle\",\r\n styleUrl: \"slide-toggle.scss\",\r\n scoped: true,\r\n shadow: false,\r\n})\r\nexport class SlideToggle implements ComponentInterface {\r\n @Element()\r\n private host!: HTMLDsoSlideToggleElement;\r\n\r\n /**\r\n * Set to true if Slide Toggle is checked.\r\n */\r\n @Prop()\r\n checked = false;\r\n\r\n /**\r\n * Disables the Slide Toggle, preventing it from checking/unchecking and therefor not emitting any events.\r\n */\r\n @Prop()\r\n disabled = false;\r\n\r\n /**\r\n * When provided the `<button>` will be labelled with `aria-label`. For a visible label provide a `<span>` inside the component.\r\n */\r\n @Prop()\r\n accessibleLabel?: string;\r\n\r\n /**\r\n * Provide the `id` of the element that labels this element. this property sets the `aria-labelledby` on the switch button.\r\n */\r\n @Prop()\r\n labelledbyId?: string;\r\n\r\n @State()\r\n hasVisibleLabel?: boolean;\r\n\r\n /**\r\n * Provide an `id` for the `<button>`. Useful for placing your to place your own `<label for=\"id\">`.\r\n */\r\n @Prop()\r\n identifier = v4();\r\n\r\n /**\r\n * Emitted when user checks or unchecks the Slide Toggle.\r\n */\r\n @Event({ composed: false })\r\n dsoActiveChange!: EventEmitter<SlideToggleActiveEvent>;\r\n\r\n private handleSwitch(e: Event): void {\r\n this.dsoActiveChange.emit({\r\n originalEvent: e,\r\n checked: !this.checked,\r\n });\r\n }\r\n\r\n componentWillLoad(): void {\r\n this.hasVisibleLabel = this.host.querySelector(\"*\") !== null;\r\n }\r\n\r\n render() {\r\n return (\r\n <Fragment>\r\n <button\r\n id={this.identifier}\r\n role=\"switch\"\r\n class=\"dso-slider\"\r\n aria-checked={\"\" + this.checked}\r\n disabled={this.disabled}\r\n onClick={(e) => this.handleSwitch(e)}\r\n {...(this.accessibleLabel ? { \"aria-label\": this.accessibleLabel } : {})}\r\n {...(this.labelledbyId ? { \"aria-labelledby\": this.labelledbyId } : {})}\r\n >\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"40\" height=\"20\" viewBox=\"0 0 40 20\">\r\n <g fill=\"none\" fill-rule=\"evenodd\">\r\n <rect width=\"40\" height=\"20\" fill=\"currentColor\" rx=\"10\" />\r\n <circle cy=\"10\" r=\"8\" fill=\"currentColor\" />\r\n </g>\r\n </svg>\r\n </button>\r\n {this.hasVisibleLabel && (\r\n <label htmlFor={this.identifier}>\r\n <slot />\r\n </label>\r\n )}\r\n </Fragment>\r\n );\r\n }\r\n}\r\n"],"version":3}
@@ -1,6 +1,6 @@
1
1
  import { p as proxyCustomElement, H, d as createEvent, h, t as transformTag } from './p-DBWrx_3r.js';
2
2
  import { p as positionTooltip, T as Tooltip } from './p-kKdt-6mr.js';
3
- import { d as defineCustomElement$1 } from './p-DAPEW-cK.js';
3
+ import { d as defineCustomElement$1 } from './p-C0EnGYRN.js';
4
4
 
5
5
  const iconButtonCss = () => `.dso-tooltip {
6
6
  --_dso-alert-success-border-color: #39870c;
@@ -42,6 +42,7 @@ const iconButtonCss = () => `.dso-tooltip {
42
42
  visibility: visible;
43
43
  }
44
44
  .dso-tooltip .tooltip-inner {
45
+ --_dt-span-role-paragraph-margin-block: 8px;
45
46
  --_dso-alert-success-border-color: #39870c;
46
47
  --_dso-alert-error-border-color: #ce3f51;
47
48
  --_dso-alert-info-border-color: #6ca4d9;
@@ -267,6 +268,12 @@ const iconButtonCss = () => `.dso-tooltip {
267
268
  .dso-secondary {
268
269
  padding-inline: calc(8px - 1px);
269
270
  padding-block: calc(8px - 1px);
271
+ border-start-start-radius: var(--_dt-icon-button-border-start-start-radius, 4px);
272
+ border-start-end-radius: var(--_dt-icon-button-border-start-end-radius, 4px);
273
+ border-end-end-radius: var(--_dt-icon-button-border-end-end-radius, 4px);
274
+ border-end-start-radius: var(--_dt-icon-button-border-end-start-radius, 4px);
275
+ border-block-end-width: var(--_dt-icon-button-border-block-end-width, 1px);
276
+ border-inline-end-width: var(--_dt-icon-button-border-inline-end-width, 1px);
270
277
  }
271
278
 
272
279
  .dso-tertiary {
@@ -471,8 +478,11 @@ const iconButtonCss = () => `.dso-tooltip {
471
478
  padding-block: 8px;
472
479
  border: 0;
473
480
  margin-inline-end: 0;
474
- box-shadow: var(--_dso-icon-button-map-box-shadow, 0 0 8px 0 rgba(0, 0, 0, 0.3));
475
- border-radius: var(--_dso-icon-button-map-border-radius, 4px);
481
+ box-shadow: var(--_dt-icon-button-map-box-shadow, 0 0 8px 0 rgba(0, 0, 0, 0.3));
482
+ border-start-start-radius: var(--_dt-icon-button-border-start-start-radius, 4px);
483
+ border-start-end-radius: var(--_dt-icon-button-border-start-end-radius, 4px);
484
+ border-end-end-radius: var(--_dt-icon-button-border-end-end-radius, 4px);
485
+ border-end-start-radius: var(--_dt-icon-button-border-end-start-radius, 4px);
476
486
  }
477
487
 
478
488
  .icon-button {
@@ -570,7 +580,7 @@ const IconButton = /*@__PURE__*/ proxyCustomElement(class IconButton extends H {
570
580
  this.cleanUp = undefined;
571
581
  }
572
582
  render() {
573
- return (h("button", { key: '5045ce3b4d8d0bf8538501dee9f573ee8f6cee38', ref: (el) => (this.buttonElRef = el), type: "button", disabled: this.disabled, "aria-label": this.label, class: `icon-button dso-${this.variant}`, onMouseEnter: this.handleShowTooltip, onMouseLeave: this.handleHideTooltip, onFocus: this.handleShowTooltip, onBlur: this.handleHideTooltip, onClick: this.handleClick }, h("dso-icon", { key: '3ce28c59e0f6c2a137c9f65958765e5ac3d4f239', icon: this.icon }), h(Tooltip, { key: 'ed39dd1770074c20e3103067ddc1d32db8d0d2d1', visible: this.showTooltip, onAfterHidden: this.handleHideTooltip, tipElementRef: (element) => (this.tooltipElRef = element), tipArrowElementRef: (element) => (this.tipArrowElRef = element) }, this.label)));
583
+ return (h("button", { key: '0b109ec22c88e4fae7a3b51b6092746bd5bebae6', ref: (el) => (this.buttonElRef = el), type: "button", disabled: this.disabled, "aria-label": this.label, class: `icon-button dso-${this.variant}`, onMouseEnter: this.handleShowTooltip, onMouseLeave: this.handleHideTooltip, onFocus: this.handleShowTooltip, onBlur: this.handleHideTooltip, onClick: this.handleClick }, h("dso-icon", { key: 'a520208655de770f8b2dc58ae42ce4cb488e0e36', icon: this.icon }), h(Tooltip, { key: 'b577cada7261b7c69da8c9cc52c1fe8a22390238', visible: this.showTooltip, onAfterHidden: this.handleHideTooltip, tipElementRef: (element) => (this.tooltipElRef = element), tipArrowElementRef: (element) => (this.tipArrowElRef = element) }, this.label)));
574
584
  }
575
585
  static get style() { return iconButtonCss(); }
576
586
  }, [257, "dso-icon-button", {
@@ -602,6 +612,6 @@ function defineCustomElement() {
602
612
  }
603
613
 
604
614
  export { IconButton as I, defineCustomElement as d };
605
- //# sourceMappingURL=p-BheZWHUU.js.map
615
+ //# sourceMappingURL=p-BGRoDyj6.js.map
606
616
 
607
- //# sourceMappingURL=p-BheZWHUU.js.map
617
+ //# sourceMappingURL=p-BGRoDyj6.js.map
@@ -0,0 +1 @@
1
+ {"file":"p-BGRoDyj6.js","mappings":";;;;AAAA,MAAM,aAAa,GAAG,MAAM,CAAC;AAC7B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC,CAAC;;MC5dW,UAAU,iBAAAA,kBAAA,CAAA,MAAA,UAAA,SAAAC,CAAA,CAAA;AALvB,IAAA,WAAA,CAAA,YAAA,EAAA;;;;;;;AAkBE;;AAEG;AAEH,QAAA,IAAO,CAAA,OAAA,GAAuB,WAAW;AAEzC;;AAEG;AAEH,QAAA,IAAgB,CAAA,gBAAA,GAAqB,KAAK;AAE1C;;AAEG;AAEH,QAAA,IAAQ,CAAA,QAAA,GAAG,KAAK;AAShB,QAAA,IAAW,CAAA,WAAA,GAAG,KAAK;AAeX,QAAA,IAAa,CAAA,aAAA,GAAG,CAAC;AACjB,QAAA,IAAgB,CAAA,gBAAA,GAAG,GAAG;AAEtB,QAAA,IAAiB,CAAA,iBAAA,GAAG,MAAK;AAC/B,YAAA,IAAI,IAAI,CAAC,QAAQ,EAAE;gBACjB;;;AAIF,YAAA,IAAI,IAAI,CAAC,GAAG,EAAE,GAAG,IAAI,CAAC,aAAa,GAAG,IAAI,CAAC,gBAAgB,EAAE;gBAC3D;;YAGF,IAAI,CAAC,mBAAmB,EAAE;YAE1B,IAAI,CAAC,cAAc,GAAG,MAAM,CAAC,UAAU,CA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iBAAiB,EAC/B,MAAM,EAAE,IAAI,CAAC,iBAAiB,EAC9B,OAAO,EAAE,IAAI,CAAC,WAAW,EAAA,EAEzB,CAAA,CAAA,UAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAU,IAAI,EAAE,IAAI,CAAC,IAAI,EAAI,CAAA,EAC7B,CAAC,CAAA,OAAO,qDACN,OAAO,EAAE,IAAI,CAAC,WAAW,EACzB,aAAa,EAAE,IAAI,CAAC,iBAAiB,EACrC,aAAa,EAAE,CAAC,OAAO,MAAM,IAAI,CAAC,YAAY,GAAG,OAAO,CAAC,EACzD,kBAAkB,EAAE,CAAC,OAAO,MAAM,IAAI,CAAC,aAAa,GAAG,OAAO,CAAC,EAE9D,EAAA,IAAI,CAAC,KAAK,CACH,CACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/icon-button/icon-button.scss?tag=dso-icon-button&encapsulation=shadow","src/components/icon-button/icon-button.tsx"],"sourcesContent":["@use \"~dso-toolkit/src/utilities\";\r\n@use \"~dso-toolkit/src/variables/colors\";\r\n@use \"~dso-toolkit/src/variables/units\";\r\n@use \"~dso-toolkit/src/components/button\";\r\n\r\n@use \"../../functional-components/tooltip\";\r\n\r\n@include tooltip.include(colors.$grijs-60, 4px, units.$u1, 0, units.$u1);\r\n\r\n:host {\r\n display: inline-block;\r\n line-height: 1;\r\n}\r\n\r\n@include utilities.box-sizing();\r\n\r\n.dso-secondary {\r\n @include button.secondary();\r\n\r\n padding-inline: calc(#{units.$u1} - 1px);\r\n padding-block: calc(#{units.$u1} - 1px);\r\n\r\n border-start-start-radius: var(--_dt-icon-button-border-start-start-radius, button.$border-radius);\r\n border-start-end-radius: var(--_dt-icon-button-border-start-end-radius, button.$border-radius);\r\n border-end-end-radius: var(--_dt-icon-button-border-end-end-radius, button.$border-radius);\r\n border-end-start-radius: var(--_dt-icon-button-border-end-start-radius, button.$border-radius);\r\n\r\n border-block-end-width: var(--_dt-icon-button-border-block-end-width, button.$border-width);\r\n border-inline-end-width: var(--_dt-icon-button-border-inline-end-width, button.$border-width);\r\n}\r\n\r\n.dso-tertiary {\r\n @include button.base();\r\n\r\n padding-inline: 0;\r\n padding-block: 0;\r\n\r\n color: var(--_dso-icon-button-tertiary-color, button.$tertiary-color);\r\n background-color: transparent;\r\n border: 0;\r\n\r\n &:not([disabled]) {\r\n &:hover {\r\n color: var(\r\n --_dso-icon-button-tertiary-hover-color,\r\n var(--_dso-icon-button-tertiary-color, button.$tertiary-hover-color)\r\n );\r\n }\r\n\r\n &:active {\r\n color: var(\r\n --_dso-icon-button-tertiary-active-color,\r\n var(--_dso-icon-button-tertiary-color, button.$tertiary-hover-color)\r\n );\r\n }\r\n }\r\n\r\n &[disabled] {\r\n color: var(\r\n --_dso-icon-button-tertiary-disabled-color,\r\n var(--_dso-icon-button-tertiary-color, button.$tertiary-disabled-color)\r\n );\r\n }\r\n}\r\n\r\n.dso-map {\r\n @include button.map();\r\n\r\n padding-inline: units.$u1;\r\n padding-block: units.$u1;\r\n border: 0;\r\n margin-inline-end: 0;\r\n box-shadow: var(--_dt-icon-button-map-box-shadow, 0 0 8px 0 rgba(0, 0, 0, 0.3));\r\n border-start-start-radius: var(--_dt-icon-button-border-start-start-radius, button.$border-radius);\r\n border-start-end-radius: var(--_dt-icon-button-border-start-end-radius, button.$border-radius);\r\n border-end-end-radius: var(--_dt-icon-button-border-end-end-radius, button.$border-radius);\r\n border-end-start-radius: var(--_dt-icon-button-border-end-start-radius, button.$border-radius);\r\n}\r\n\r\n.icon-button {\r\n min-inline-size: auto;\r\n cursor: pointer;\r\n\r\n &[disabled] {\r\n cursor: default;\r\n }\r\n}\r\n","import { Component, ComponentInterface, Event, EventEmitter, Method, Prop, State, h } from \"@stencil/core\";\r\n\r\nimport { positionTooltip } from \"../../functional-components/tooltip/position-tooltip.function\";\r\nimport { Tooltip } from \"../../functional-components/tooltip/tooltip.functional-component\";\r\nimport { TooltipClean, TooltipPlacement } from \"../../functional-components/tooltip/tooltip.interfaces\";\r\n\r\nimport { IconButtonClickEvent, IconButtonVariant } from \"./icon-button.interfaces\";\r\n\r\n@Component({\r\n tag: \"dso-icon-button\",\r\n styleUrl: \"icon-button.scss\",\r\n shadow: true,\r\n})\r\nexport class IconButton implements ComponentInterface {\r\n /**\r\n * The alias of the icon in the button.\r\n */\r\n @Prop({ reflect: true })\r\n icon!: string | undefined;\r\n\r\n /**\r\n * The label of the Icon Button which is shown on hover in a tooltip.\r\n */\r\n @Prop({ reflect: true })\r\n label!: string | undefined;\r\n\r\n /**\r\n * The variant of the Icon Button.\r\n */\r\n @Prop({ reflect: true })\r\n variant?: IconButtonVariant = \"secondary\";\r\n\r\n /**\r\n * The placement of the tooltip on hover and focus of the Icon Button.\r\n */\r\n @Prop({ reflect: true })\r\n tooltipPlacement: TooltipPlacement = \"top\";\r\n\r\n /**\r\n * To disable the Icon Button\r\n */\r\n @Prop({ reflect: true })\r\n disabled = false;\r\n\r\n /**\r\n * Emitted when the user clicks the Icon Button.\r\n */\r\n @Event({ bubbles: false })\r\n dsoClick!: EventEmitter<IconButtonClickEvent>;\r\n\r\n @State()\r\n showTooltip = false;\r\n\r\n /**\r\n * Focuses the button.\r\n */\r\n @Method()\r\n async setFocus() {\r\n this.buttonElRef?.focus();\r\n }\r\n\r\n private buttonElRef?: HTMLButtonElement;\r\n private tooltipElRef?: HTMLDivElement;\r\n private tipArrowElRef?: HTMLSpanElement;\r\n private tooltipTimeout?: number;\r\n private cleanUp: TooltipClean | undefined;\r\n private lastClickTime = 0;\r\n private tooltipShowDelay = 500;\r\n\r\n private handleShowTooltip = () => {\r\n if (this.disabled) {\r\n return;\r\n }\r\n\r\n // Don't show the tooltip if the button is clicked within 500ms of the last click\r\n if (Date.now() - this.lastClickTime < this.tooltipShowDelay) {\r\n return;\r\n }\r\n\r\n this.clearToolTipTimeout();\r\n\r\n this.tooltipTimeout = window.setTimeout(() => {\r\n if (!this.tooltipElRef?.isConnected) {\r\n return;\r\n }\r\n\r\n this.showTooltip = true;\r\n this.tooltipElRef?.showPopover();\r\n\r\n if (!this.cleanUp && this.buttonElRef && this.tooltipElRef && this.tipArrowElRef) {\r\n this.cleanUp = positionTooltip({\r\n referenceElement: this.buttonElRef,\r\n tipRef: this.tooltipElRef,\r\n tipArrowRef: this.tipArrowElRef,\r\n placementTip: this.tooltipPlacement,\r\n topPositionSmallViewPort: false,\r\n halfMainAxisOffset: false,\r\n forceVisible: true,\r\n });\r\n }\r\n }, this.tooltipShowDelay);\r\n };\r\n\r\n disconnectedCallback() {\r\n this.clearToolTipTimeout();\r\n\r\n this.cleanUp?.();\r\n this.cleanUp = undefined;\r\n }\r\n\r\n private clearToolTipTimeout = () => {\r\n if (this.tooltipTimeout) {\r\n clearTimeout(this.tooltipTimeout);\r\n }\r\n };\r\n\r\n private handleHideTooltip = () => {\r\n this.clearToolTipTimeout();\r\n\r\n this.showTooltip = false;\r\n this.tooltipElRef?.hidePopover();\r\n\r\n if (!this.showTooltip && this.cleanUp) {\r\n this.cleanUp();\r\n this.cleanUp = undefined;\r\n }\r\n };\r\n\r\n private handleClick = (e: MouseEvent) => {\r\n this.lastClickTime = Date.now();\r\n this.handleHideTooltip();\r\n this.dsoClick.emit({ originalEvent: e });\r\n };\r\n\r\n render() {\r\n return (\r\n <button\r\n ref={(el) => (this.buttonElRef = el)}\r\n type=\"button\"\r\n disabled={this.disabled}\r\n aria-label={this.label}\r\n class={`icon-button dso-${this.variant}`}\r\n onMouseEnter={this.handleShowTooltip}\r\n onMouseLeave={this.handleHideTooltip}\r\n onFocus={this.handleShowTooltip}\r\n onBlur={this.handleHideTooltip}\r\n onClick={this.handleClick}\r\n >\r\n <dso-icon icon={this.icon} />\r\n <Tooltip\r\n visible={this.showTooltip}\r\n onAfterHidden={this.handleHideTooltip}\r\n tipElementRef={(element) => (this.tooltipElRef = element)}\r\n tipArrowElementRef={(element) => (this.tipArrowElRef = element)}\r\n >\r\n {this.label}\r\n </Tooltip>\r\n </button>\r\n );\r\n }\r\n}\r\n"],"version":3}
@@ -1,16 +1,16 @@
1
1
  import { h, p as proxyCustomElement, H, d as createEvent, F as Fragment, c as Host, t as transformTag } from './p-DBWrx_3r.js';
2
- import { p as parseXml, a as parseWijzigactieFromNode, M as MarkText, d as defineCustomElement$5 } from './p-Dxf0wJyw.js';
2
+ import { p as parseXml, a as parseWijzigactieFromNode, M as MarkText, d as defineCustomElement$5 } from './p-Br8TuC3x.js';
3
3
  import { i as isModifiedEvent } from './p-Hgv-pDpy.js';
4
- import { d as defineCustomElement$b } from './p-B39ewelJ.js';
4
+ import { d as defineCustomElement$b } from './p-8fELqkLM.js';
5
5
  import { d as defineCustomElement$a } from './p-Dx7IryUb.js';
6
- import { d as defineCustomElement$9 } from './p-DAPEW-cK.js';
7
- import { d as defineCustomElement$8 } from './p-BheZWHUU.js';
8
- import { d as defineCustomElement$7 } from './p-D73qXpcX.js';
9
- import { d as defineCustomElement$6 } from './p-Dz-kOE9B.js';
10
- import { d as defineCustomElement$4 } from './p-J6EVaTGZ.js';
11
- import { d as defineCustomElement$3 } from './p-D3mPJFiY.js';
12
- import { d as defineCustomElement$2 } from './p-bgDHZ-CT.js';
13
- import { d as defineCustomElement$1 } from './p-DiVQLv2Z.js';
6
+ import { d as defineCustomElement$9 } from './p-C0EnGYRN.js';
7
+ import { d as defineCustomElement$8 } from './p-BGRoDyj6.js';
8
+ import { d as defineCustomElement$7 } from './p-CCDR-SCb.js';
9
+ import { d as defineCustomElement$6 } from './p-q0UGoBNE.js';
10
+ import { d as defineCustomElement$4 } from './p-B5jOW6NE.js';
11
+ import { d as defineCustomElement$3 } from './p-DlXn_7gE.js';
12
+ import { d as defineCustomElement$2 } from './p-BFNIoCP5.js';
13
+ import { d as defineCustomElement$1 } from './p-CJ5GzbS9.js';
14
14
 
15
15
  var __rest = (undefined && undefined.__rest) || function (s, e) {
16
16
  var t = {};
@@ -1482,8 +1482,8 @@ const DocumentComponent = /*@__PURE__*/ proxyCustomElement(class DocumentCompone
1482
1482
  this.alternativeTitle ||
1483
1483
  this.bevatOntwerpInformatie ||
1484
1484
  this.annotated);
1485
- return (h(Host, { key: '36ab426cfb2130bf474c3232b191447f01860343', "not-collapsible": !collapsible }, showHeading && (h("div", { key: '641d209eb86ceeea204647fe923f8abf445529db', class: "heading-container", part: "_heading-container" }, this.wijzigactie && h("span", { key: 'c5bfbadd27ee536a7acd4983303343c06e13e36e', class: "editaction-label" }, this.wijzigactieLabel, ":"), h("div", { key: 'c83b345463b36048557472e2a325a7e74f42119f', class: "heading" }, h(Heading, { key: '39155283828000393d3f59aceea96ad61abba1a2', heading: this.heading, class: "heading-element", onClick: this.alternativeTitle ? this.handleHeadingClick : undefined, mode: this.mode, href: this.href }, collapsible && this.mode === "document" && (h("dso-icon-button", { key: '12f4eb10033cb0c63c4ab57d0c113cc7531a275d', label: this.open ? "Invouwen" : "Uitvouwen", class: "toggle-button", icon: this.open ? "chevron-down" : "chevron-right", variant: "tertiary", onDsoClick: (e) => this.handleHeadingClick(e.detail.originalEvent) })), h("div", { key: '7764bfe3323f1b602a7a4b8d9340f2ee30627694' }, this.notApplicable && h("span", { key: '0affec0e7b54f9188e9d042b6e8abd312c804794', class: "sr-only" }, "Niet van toepassing:"), this._kop ? (h("dso-ozon-content", { class: "kop", content: this._kop, onDsoClick: this.handleOzonContentClick, mark: this.mark && ((text) => { var _a; return (_a = this.mark) === null || _a === void 0 ? void 0 : _a.call(this, text, "kop"); }), onDsoOzonContentMarkItemHighlight: (e) => this.dsoMarkItemHighlight.emit(Object.assign(Object.assign({}, e.detail), { source: "kop" })), inline: true, urlResolver: this.ozonContentUrlResolver, begripResolver: this.ozonContentBegripResolver, annotated: this.annotated })) : (h("span", { class: "alternative-title" }, (!this.mark && this.alternativeTitle) ||
1486
- (this.mark && this.alternativeTitle && (h(MarkText, { mark: this.mark && ((text) => { var _a; return (_a = this.mark) === null || _a === void 0 ? void 0 : _a.call(this, text, "alternativeTitle"); }), text: this.alternativeTitle, emitMarkItemHighlight: (text, elementRef) => this.dsoMarkItemHighlight.emit({ text, elementRef, source: "alternativeTitle" }) }))))), h(AantekenStatus, { key: 'cef5cc7ff493b91cdfaf9620642a8a4039e50412', gereserveerd: this._gereserveerd, vervallen: this._vervallen }))), this.recursiveToggle !== undefined && this.open && this.mode === "document" && (h("dso-icon-button", { key: 'df215f601309cd8787105ad06825303cc0cd3984', label: this.recursiveToggle === true ? "Verberg alles" : "Toon alles", class: "recursive-toggle", icon: this.recursiveToggle === true ? "eye" : "eye-slash", variant: "tertiary", onDsoClick: (e) => this.handleRecursiveToggleClick(e.detail.originalEvent) })), this.showOntwerpBadge() && (h(Fragment, { key: 'c2914d7f1d67585f18205655c144f2b9179b4399' }, h("dso-badge", { key: 'b2d9b50252f84fc42a24ea14d2c37e6782d92ec5', status: "warning", "aria-describedby": "nested-draft-description" }, "!"), h("dso-tooltip", { key: '9c53081478a277311f03c71447ff92bc24189ca3', id: "nested-draft-description" }, "Er zijn onderliggende onderdelen die veranderen binnen dit ontwerp."))), (this.bevatOntwerpInformatie || this.annotated) && (h("div", { key: 'fd3fa5acaa37cdbd794c8cd4b4ec9fc93befc3cb', class: "addons" }, this.bevatOntwerpInformatie && (h("dso-label", { key: '1b63aec2ee2df5c4f9c9459c4edcc92819dc363d', status: "warning", compact: true }, "Ontwerp")), this.annotated && this.mode === "document" && (h("dso-icon-button", { key: 'e2349aa63961b4967fdd87b28cff901eba9d044b', label: `Kenmerken en kaartgegevens ${this.openAnnotation ? "verbergen" : "tonen"}`, icon: "label", variant: "tertiary", onDsoClick: (e) => this.dsoAnnotationToggle.emit({ originalEvent: e.detail.originalEvent }) }))))))), this.openAnnotation && (h("div", { key: 'baefe2cae5ec013cd01d40ebd6224825fdfae0d3', class: "annotation-container", part: "_annotation-container" }, h("dso-panel", { key: '475cfce4a114b23473649621a06dea2ee4d903c4', id: "annotations", onDsoCloseClick: (e) => this.dsoAnnotationToggle.emit({ originalEvent: e }), closeButtonLabel: "Kenmerken en kaartgegevens verbergen" }, h("h2", { key: '372049c8d26faaa7d1260d4c64d9e11b37a5584c', slot: "heading" }, "Kenmerken en kaart"), h("slot", { key: 'cfa2f6ceff337228a0520214dc8e259c14e34c04', name: "annotations" })))), this.open && (this._inhoud || this._gereserveerd || this._vervallen) && this.mode === "document" && (h("div", { key: '14192e605a1db5a3b59ea0f337961730877c3d3c', class: "content", part: "_content" }, h(AantekenAlert, { key: '5d7a3b758fb1f4ff99e5f2555a37547746c735f8', gereserveerd: this._gereserveerd, vervallen: this._vervallen }), this._inhoud && (h("dso-ozon-content", { key: 'd70aceb93869844744f1ecdd161518631d7bf6c8', content: this._inhoud, onDsoClick: this.handleOzonContentClick, mark: this.mark && ((text) => { var _a; return (_a = this.mark) === null || _a === void 0 ? void 0 : _a.call(this, text, "inhoud"); }), onDsoOzonContentMarkItemHighlight: (e) => this.dsoMarkItemHighlight.emit(Object.assign(Object.assign({}, e.detail), { source: "inhoud" })), urlResolver: this.ozonContentUrlResolver, begripResolver: this.ozonContentBegripResolver, annotated: this.annotated })))), h("div", { key: '59cbc0624a0a66182aba7b0c83e41207e1756beb', class: "children-container", part: "_children-container" }, h("slot", { key: 'f8a25a2f71f26c72d5d17e84b5425191305dd0c7' }))));
1485
+ return (h(Host, { key: 'aba44499e6433ece6ce7920d5de75d733193c6c1', "not-collapsible": !collapsible }, showHeading && (h("div", { key: '428693873d24b98363506af29513f0466bc6b227', class: "heading-container", part: "_heading-container" }, this.wijzigactie && h("span", { key: '1d082eecc352d1ef736c91d32cd2749a081a6079', class: "editaction-label" }, this.wijzigactieLabel, ":"), h("div", { key: 'f9beebfca3d7fb28122cc4290b95b16adc942929', class: "heading" }, h(Heading, { key: 'f3181a88fbf4385fe95f3274e4a296be7cde1b1e', heading: this.heading, class: "heading-element", onClick: this.alternativeTitle ? this.handleHeadingClick : undefined, mode: this.mode, href: this.href }, collapsible && this.mode === "document" && (h("dso-icon-button", { key: '7c308cd8450bf0858de5e977d4798ed76b967a7d', label: this.open ? "Invouwen" : "Uitvouwen", class: "toggle-button", icon: this.open ? "chevron-down" : "chevron-right", variant: "tertiary", onDsoClick: (e) => this.handleHeadingClick(e.detail.originalEvent) })), h("div", { key: 'f962ec3f762dfe2edf38abbfcb1eef6a2fc9d8ac' }, this.notApplicable && h("span", { key: 'da0dfdbea6e6a483bb0cf7f15a00d44502906c62', class: "sr-only" }, "Niet van toepassing:"), this._kop ? (h("dso-ozon-content", { class: "kop", content: this._kop, onDsoClick: this.handleOzonContentClick, mark: this.mark && ((text) => { var _a; return (_a = this.mark) === null || _a === void 0 ? void 0 : _a.call(this, text, "kop"); }), onDsoOzonContentMarkItemHighlight: (e) => this.dsoMarkItemHighlight.emit(Object.assign(Object.assign({}, e.detail), { source: "kop" })), inline: true, urlResolver: this.ozonContentUrlResolver, begripResolver: this.ozonContentBegripResolver, annotated: this.annotated })) : (h("span", { class: "alternative-title" }, (!this.mark && this.alternativeTitle) ||
1486
+ (this.mark && this.alternativeTitle && (h(MarkText, { mark: this.mark && ((text) => { var _a; return (_a = this.mark) === null || _a === void 0 ? void 0 : _a.call(this, text, "alternativeTitle"); }), text: this.alternativeTitle, emitMarkItemHighlight: (text, elementRef) => this.dsoMarkItemHighlight.emit({ text, elementRef, source: "alternativeTitle" }) }))))), h(AantekenStatus, { key: '108b2ac7b0886363e403a142f3e43148c97c70ab', gereserveerd: this._gereserveerd, vervallen: this._vervallen }))), this.recursiveToggle !== undefined && this.open && this.mode === "document" && (h("dso-icon-button", { key: '823bb9d3feedc66dcfbdedffb94299a7083d6634', label: this.recursiveToggle === true ? "Verberg alles" : "Toon alles", class: "recursive-toggle", icon: this.recursiveToggle === true ? "eye" : "eye-slash", variant: "tertiary", onDsoClick: (e) => this.handleRecursiveToggleClick(e.detail.originalEvent) })), this.showOntwerpBadge() && (h(Fragment, { key: '20a17e1166a7779658503bdf18e52bcb68d44c42' }, h("dso-badge", { key: 'e109deb510c0ed2c5ea53acca1f00a98f262cfa4', status: "warning", "aria-describedby": "nested-draft-description" }, "!"), h("dso-tooltip", { key: '847fb8eee56a1ada1f51a7e3c7c52cb5c3424c2b', id: "nested-draft-description" }, "Er zijn onderliggende onderdelen die veranderen binnen dit ontwerp."))), (this.bevatOntwerpInformatie || this.annotated) && (h("div", { key: '05374922a421136c714f023ef34c8e6fec4129df', class: "addons" }, this.bevatOntwerpInformatie && (h("dso-label", { key: '98157a2cea6a8aafd3687d461f16653649bc2e3a', status: "warning", compact: true }, "Ontwerp")), this.annotated && this.mode === "document" && (h("dso-icon-button", { key: '2080afb69362ab3579965cc0b36f94a74626290e', label: `Kenmerken en kaartgegevens ${this.openAnnotation ? "verbergen" : "tonen"}`, icon: "label", variant: "tertiary", onDsoClick: (e) => this.dsoAnnotationToggle.emit({ originalEvent: e.detail.originalEvent }) }))))))), this.openAnnotation && (h("div", { key: '5c0b7b8911cdc4153c14054db4302fddec4d016a', class: "annotation-container", part: "_annotation-container" }, h("dso-panel", { key: '094db70fe17b34a4483523776960fe58e1e9aa69', id: "annotations", onDsoCloseClick: (e) => this.dsoAnnotationToggle.emit({ originalEvent: e }), closeButtonLabel: "Kenmerken en kaartgegevens verbergen" }, h("h2", { key: '17d3d1fbcb6698fd4a47f902c3ba84bb309a025c', slot: "heading" }, "Kenmerken en kaart"), h("slot", { key: 'b27d50059da4a8555802fffd9870f62e9cc64ae2', name: "annotations" })))), this.open && (this._inhoud || this._gereserveerd || this._vervallen) && this.mode === "document" && (h("div", { key: '06e578f8ca178e2fa8838d5a52bafea07622634d', class: "content", part: "_content" }, h(AantekenAlert, { key: '9214f832e8b9b6911c2ee163fb22a32778e65fe8', gereserveerd: this._gereserveerd, vervallen: this._vervallen }), this._inhoud && (h("dso-ozon-content", { key: '423588f125b1b24c278bdfc9a052adf47d28e8e5', content: this._inhoud, onDsoClick: this.handleOzonContentClick, mark: this.mark && ((text) => { var _a; return (_a = this.mark) === null || _a === void 0 ? void 0 : _a.call(this, text, "inhoud"); }), onDsoOzonContentMarkItemHighlight: (e) => this.dsoMarkItemHighlight.emit(Object.assign(Object.assign({}, e.detail), { source: "inhoud" })), urlResolver: this.ozonContentUrlResolver, begripResolver: this.ozonContentBegripResolver, annotated: this.annotated })))), h("div", { key: '5df1ce18b08eb2d5334e7caf81285dd15dfcd033', class: "children-container", part: "_children-container" }, h("slot", { key: 'db965cd6915d97bff3f63f11750ecaf0599a4340' }))));
1487
1487
  }
1488
1488
  static get style() { return documentComponentCss(); }
1489
1489
  }, [257, "dso-document-component", {
@@ -1580,6 +1580,6 @@ function defineCustomElement() {
1580
1580
  }
1581
1581
 
1582
1582
  export { DocumentComponent as D, defineCustomElement as d };
1583
- //# sourceMappingURL=p-4OB3e0UW.js.map
1583
+ //# sourceMappingURL=p-BKg8_fA-.js.map
1584
1584
 
1585
- //# sourceMappingURL=p-4OB3e0UW.js.map
1585
+ //# sourceMappingURL=p-BKg8_fA-.js.map