@dso-toolkit/core 62.26.0 → 62.28.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 (550) hide show
  1. package/dist/cjs/annotation-body-88802b1e.js +15 -0
  2. package/dist/cjs/annotation-body-88802b1e.js.map +1 -0
  3. package/dist/cjs/annotation-symbol-slot-939136f8.js +38 -0
  4. package/dist/cjs/annotation-symbol-slot-939136f8.js.map +1 -0
  5. package/dist/cjs/dso-accordion-section.cjs.entry.js +6 -4
  6. package/dist/cjs/dso-accordion-section.cjs.entry.js.map +1 -1
  7. package/dist/cjs/dso-accordion.cjs.entry.js +1 -1
  8. package/dist/cjs/dso-action-list-item.cjs.entry.js +1 -1
  9. package/dist/cjs/dso-action-list.cjs.entry.js +1 -1
  10. package/dist/cjs/dso-advanced-select.cjs.entry.js +1 -1
  11. package/dist/cjs/{dso-alert_6.cjs.entry.js → dso-alert_5.cjs.entry.js} +13 -27
  12. package/dist/cjs/dso-alert_5.cjs.entry.js.map +1 -0
  13. package/dist/cjs/dso-annotation-activiteit.cjs.entry.js +14 -4
  14. package/dist/cjs/dso-annotation-activiteit.cjs.entry.js.map +1 -1
  15. package/dist/cjs/dso-annotation-gebiedsaanwijzing.cjs.entry.js +14 -4
  16. package/dist/cjs/dso-annotation-gebiedsaanwijzing.cjs.entry.js.map +1 -1
  17. package/dist/cjs/dso-annotation-kaart.cjs.entry.js +39 -0
  18. package/dist/cjs/dso-annotation-kaart.cjs.entry.js.map +1 -0
  19. package/dist/cjs/dso-annotation-locatie.cjs.entry.js +38 -0
  20. package/dist/cjs/dso-annotation-locatie.cjs.entry.js.map +1 -0
  21. package/dist/cjs/dso-annotation-omgevingsnormwaarde.cjs.entry.js +41 -0
  22. package/dist/cjs/dso-annotation-omgevingsnormwaarde.cjs.entry.js.map +1 -0
  23. package/dist/cjs/dso-annotation-output_2.cjs.entry.js +5 -5
  24. package/dist/cjs/dso-annotation-output_2.cjs.entry.js.map +1 -1
  25. package/dist/cjs/dso-attachments-counter.cjs.entry.js +2 -2
  26. package/dist/cjs/dso-autosuggest.cjs.entry.js +3 -3
  27. package/dist/cjs/dso-badge.cjs.entry.js +24 -0
  28. package/dist/cjs/dso-badge.cjs.entry.js.map +1 -0
  29. package/dist/cjs/dso-banner.cjs.entry.js +4 -4
  30. package/dist/cjs/dso-banner.cjs.entry.js.map +1 -1
  31. package/dist/cjs/dso-card-container.cjs.entry.js +2 -2
  32. package/dist/cjs/dso-card.cjs.entry.js +3 -3
  33. package/dist/cjs/dso-date-picker-legacy.cjs.entry.js +5 -5
  34. package/dist/cjs/dso-date-picker-legacy.cjs.entry.js.map +1 -1
  35. package/dist/cjs/dso-date-picker.cjs.entry.js +3 -3
  36. package/dist/cjs/dso-date-picker.cjs.entry.js.map +1 -1
  37. package/dist/cjs/dso-dropdown-menu.cjs.entry.js +3 -3
  38. package/dist/cjs/dso-expandable.cjs.entry.js +1 -1
  39. package/dist/cjs/dso-header.cjs.entry.js +1 -1
  40. package/dist/cjs/dso-helpcenter-panel.cjs.entry.js +3 -3
  41. package/dist/cjs/dso-highlight-box.cjs.entry.js +2 -2
  42. package/dist/cjs/dso-icon.cjs.entry.js +2 -2
  43. package/dist/cjs/dso-info-button.cjs.entry.js +2 -2
  44. package/dist/cjs/dso-info_2.cjs.entry.js +4 -4
  45. package/dist/cjs/dso-info_2.cjs.entry.js.map +1 -1
  46. package/dist/cjs/dso-input-range.cjs.entry.js +3 -3
  47. package/dist/cjs/dso-label_2.cjs.entry.js +252 -27
  48. package/dist/cjs/dso-label_2.cjs.entry.js.map +1 -1
  49. package/dist/cjs/dso-legend-item.cjs.entry.js +4 -4
  50. package/dist/cjs/dso-legend-item.cjs.entry.js.map +1 -1
  51. package/dist/cjs/dso-list-button.cjs.entry.js +3 -3
  52. package/dist/cjs/dso-list-button.cjs.entry.js.map +1 -1
  53. package/dist/cjs/dso-logo.cjs.entry.js +3 -3
  54. package/dist/cjs/dso-map-base-layers.cjs.entry.js +3 -3
  55. package/dist/cjs/dso-map-controls.cjs.entry.js +3 -3
  56. package/dist/cjs/dso-map-controls.cjs.entry.js.map +1 -1
  57. package/dist/cjs/dso-map-overlays.cjs.entry.js +3 -3
  58. package/dist/cjs/dso-mark-bar.cjs.entry.js +2 -2
  59. package/dist/cjs/dso-modal.cjs.entry.js +5 -5
  60. package/dist/cjs/dso-modal.cjs.entry.js.map +1 -1
  61. package/dist/cjs/dso-pagination.cjs.entry.js +2 -2
  62. package/dist/cjs/dso-pagination.cjs.entry.js.map +1 -1
  63. package/dist/cjs/dso-progress-bar.cjs.entry.js +2 -2
  64. package/dist/cjs/dso-progress-indicator.cjs.entry.js +3 -3
  65. package/dist/cjs/dso-progress-indicator.cjs.entry.js.map +1 -1
  66. package/dist/cjs/dso-renvooi_2.cjs.entry.js +68 -0
  67. package/dist/cjs/dso-renvooi_2.cjs.entry.js.map +1 -0
  68. package/dist/cjs/dso-responsive-element.cjs.entry.js +2 -2
  69. package/dist/cjs/dso-scrollable.cjs.entry.js +3 -3
  70. package/dist/cjs/dso-toggletip.cjs.entry.js +2 -2
  71. package/dist/cjs/dso-toolkit.cjs.js +3 -3
  72. package/dist/cjs/dso-toolkit.cjs.js.map +1 -1
  73. package/dist/cjs/dso-tree-view.cjs.entry.js +2 -2
  74. package/dist/cjs/dso-viewer-grid.cjs.entry.js +3 -3
  75. package/dist/cjs/dso-viewer-grid.cjs.entry.js.map +1 -1
  76. package/dist/cjs/dsot-document-component-demo.cjs.entry.js +2 -2
  77. package/dist/cjs/{index-56461a0b.js → index-ac055dd1.js} +159 -142
  78. package/dist/cjs/index-ac055dd1.js.map +1 -0
  79. package/dist/cjs/loader.cjs.js +2 -2
  80. package/dist/cjs/{v4-c23234d2.js → v4-7014b8b0.js} +27 -30
  81. package/dist/cjs/v4-7014b8b0.js.map +1 -0
  82. package/dist/collection/collection-manifest.json +5 -3
  83. package/dist/collection/components/accordion/components/accordion-section.css +11 -0
  84. package/dist/collection/components/accordion/components/accordion-section.js +44 -2
  85. package/dist/collection/components/accordion/components/accordion-section.js.map +1 -1
  86. package/dist/collection/components/alert/alert.css +46 -3
  87. package/dist/collection/components/alert/alert.js +19 -1
  88. package/dist/collection/components/alert/alert.js.map +1 -1
  89. package/dist/collection/components/annotation/annotation-activiteit/annotation-activiteit.js +26 -16
  90. package/dist/collection/components/annotation/annotation-activiteit/annotation-activiteit.js.map +1 -1
  91. package/dist/collection/components/annotation/annotation-body.js +1 -1
  92. package/dist/collection/components/annotation/annotation-body.js.map +1 -1
  93. package/dist/collection/components/annotation/annotation-gebiedsaanwijzing/annotation-gebiedsaanwijzing.js +17 -7
  94. package/dist/collection/components/annotation/annotation-gebiedsaanwijzing/annotation-gebiedsaanwijzing.js.map +1 -1
  95. package/dist/collection/components/annotation/annotation-gewijzigde-locatie.js.map +1 -1
  96. package/dist/collection/components/annotation/annotation-kaart/annotation-kaart.interfaces.js +2 -0
  97. package/dist/collection/components/annotation/annotation-kaart/annotation-kaart.interfaces.js.map +1 -0
  98. package/dist/collection/components/annotation/annotation-kaart/annotation-kaart.js +128 -0
  99. package/dist/collection/components/annotation/annotation-kaart/annotation-kaart.js.map +1 -0
  100. package/dist/collection/components/annotation/{annotation-werkingsgebied/annotation-werkingsgebied.js → annotation-locatie/annotation-locatie.js} +20 -10
  101. package/dist/collection/components/annotation/annotation-locatie/annotation-locatie.js.map +1 -0
  102. package/dist/collection/components/annotation/{annotation-omgevingsnorm/annotation-omgevingsnorm.js → annotation-omgevingsnormwaarde/annotation-omgevingsnormwaarde.js} +52 -22
  103. package/dist/collection/components/annotation/annotation-omgevingsnormwaarde/annotation-omgevingsnormwaarde.js.map +1 -0
  104. package/dist/collection/components/annotation/annotation-symbol-slot.js +3 -0
  105. package/dist/collection/components/annotation/annotation-symbol-slot.js.map +1 -0
  106. package/dist/collection/components/annotation/annotation-watcher.js +26 -0
  107. package/dist/collection/components/annotation/annotation-watcher.js.map +1 -0
  108. package/dist/collection/components/annotation/annotation.css +56 -40
  109. package/dist/collection/components/annotation/annotation.interfaces.js.map +1 -1
  110. package/dist/collection/components/annotation-button/annotation-button.css +2 -1
  111. package/dist/collection/components/attachments-counter/attachments-counter.js +1 -1
  112. package/dist/collection/components/autosuggest/autosuggest.js +1 -1
  113. package/dist/collection/components/badge/badge.css +2 -1
  114. package/dist/collection/components/badge/badge.interfaces.js +2 -0
  115. package/dist/collection/components/badge/badge.interfaces.js.map +1 -0
  116. package/dist/collection/components/badge/badge.js +9 -3
  117. package/dist/collection/components/badge/badge.js.map +1 -1
  118. package/dist/collection/components/banner/banner.css +4 -2
  119. package/dist/collection/components/banner/banner.js +2 -2
  120. package/dist/collection/components/card/card.js +2 -2
  121. package/dist/collection/components/card-container/card-container.js +1 -1
  122. package/dist/collection/components/date-picker/date-picker.css +2 -1
  123. package/dist/collection/components/date-picker/date-picker.js +1 -1
  124. package/dist/collection/components/date-picker-legacy/date-picker-legacy.css +2 -1
  125. package/dist/collection/components/date-picker-legacy/date-picker-legacy.js +3 -3
  126. package/dist/collection/components/document-component/document-component.css +2 -1
  127. package/dist/collection/components/document-component/document-component.js +3 -3
  128. package/dist/collection/components/document-component/document-component.js.map +1 -1
  129. package/dist/collection/components/document-component-demo/document-component.demo.js +1 -1
  130. package/dist/collection/components/dropdown-menu/dropdown-menu.js +1 -1
  131. package/dist/collection/components/helpcenter-panel/helpcenter-panel.js +2 -2
  132. package/dist/collection/components/highlight-box/highlight-box.js +1 -1
  133. package/dist/collection/components/icon/icon.js +1 -1
  134. package/dist/collection/components/image-overlay/image-overlay.js +2 -2
  135. package/dist/collection/components/image-overlay/image-overlay.js.map +1 -1
  136. package/dist/collection/components/info/info.css +2 -1
  137. package/dist/collection/components/info/info.js +1 -1
  138. package/dist/collection/components/info-button/info-button.js +1 -1
  139. package/dist/collection/components/input-range/input-range.js +2 -2
  140. package/dist/collection/components/label/label.css +4 -2
  141. package/dist/collection/components/label/label.js +3 -3
  142. package/dist/collection/components/legend-item/legend-item.css +2 -1
  143. package/dist/collection/components/legend-item/legend-item.js +2 -2
  144. package/dist/collection/components/list-button/list-button.css +10 -5
  145. package/dist/collection/components/list-button/list-button.js +1 -1
  146. package/dist/collection/components/logo/logo.js +2 -2
  147. package/dist/collection/components/map-base-layers/map-base-layers.js +1 -1
  148. package/dist/collection/components/map-controls/map-controls.css +4 -2
  149. package/dist/collection/components/map-controls/map-controls.js +1 -1
  150. package/dist/collection/components/map-overlays/map-overlays.js +1 -1
  151. package/dist/collection/components/mark-bar/mark-bar.js +1 -1
  152. package/dist/collection/components/modal/modal.css +34 -10
  153. package/dist/collection/components/modal/modal.js +2 -2
  154. package/dist/collection/components/ozon-content/ozon-content.css +34 -9
  155. package/dist/collection/components/ozon-content/ozon-content.js +1 -1
  156. package/dist/collection/components/pagination/pagination.css +2 -0
  157. package/dist/collection/components/progress-bar/progress-bar.js +1 -1
  158. package/dist/collection/components/progress-indicator/progress-indicator.css +4 -2
  159. package/dist/collection/components/progress-indicator/progress-indicator.js +1 -1
  160. package/dist/collection/components/renvooi/renvooi.css +54 -0
  161. package/dist/collection/components/renvooi/renvooi.interfaces.js +2 -0
  162. package/dist/collection/components/renvooi/renvooi.interfaces.js.map +1 -0
  163. package/dist/collection/components/renvooi/renvooi.js +65 -0
  164. package/dist/collection/components/renvooi/renvooi.js.map +1 -0
  165. package/dist/collection/components/responsive-element/responsive-element.js +1 -1
  166. package/dist/collection/components/scrollable/scrollable.js +2 -2
  167. package/dist/collection/components/selectable/selectable.js +1 -1
  168. package/dist/collection/components/slide-toggle/slide-toggle.js +1 -1
  169. package/dist/collection/components/table/table.css +36 -11
  170. package/dist/collection/components/table/table.js +1 -1
  171. package/dist/collection/components/toggletip/toggletip.js +1 -1
  172. package/dist/collection/components/tooltip/tooltip.js +1 -1
  173. package/dist/collection/components/tree-view/tree-view.js +1 -1
  174. package/dist/collection/components/viewer-grid/viewer-grid.css +10 -5
  175. package/dist/collection/components/viewer-grid/viewer-grid.js +1 -1
  176. package/dist/components/alert.js +5 -3
  177. package/dist/components/alert.js.map +1 -1
  178. package/dist/components/annotation-body.js +13 -0
  179. package/dist/components/annotation-body.js.map +1 -0
  180. package/dist/components/annotation-button.js +1 -1
  181. package/dist/components/annotation-button.js.map +1 -1
  182. package/dist/components/annotation-symbol-slot.js +34 -0
  183. package/dist/components/annotation-symbol-slot.js.map +1 -0
  184. package/dist/components/attachments-counter.js +1 -1
  185. package/dist/components/badge.js +2 -2
  186. package/dist/components/badge.js.map +1 -1
  187. package/dist/components/document-component.js +4 -4
  188. package/dist/components/document-component.js.map +1 -1
  189. package/dist/components/dropdown-menu.js +1 -1
  190. package/dist/components/dso-accordion-section.js +15 -5
  191. package/dist/components/dso-accordion-section.js.map +1 -1
  192. package/dist/components/dso-annotation-activiteit.js +23 -7
  193. package/dist/components/dso-annotation-activiteit.js.map +1 -1
  194. package/dist/components/dso-annotation-gebiedsaanwijzing.js +23 -7
  195. package/dist/components/dso-annotation-gebiedsaanwijzing.js.map +1 -1
  196. package/dist/components/dso-annotation-kaart.d.ts +11 -0
  197. package/dist/components/dso-annotation-kaart.js +75 -0
  198. package/dist/components/dso-annotation-kaart.js.map +1 -0
  199. package/dist/components/dso-annotation-locatie.d.ts +11 -0
  200. package/dist/components/dso-annotation-locatie.js +87 -0
  201. package/dist/components/dso-annotation-locatie.js.map +1 -0
  202. package/dist/components/dso-annotation-omgevingsnormwaarde.d.ts +11 -0
  203. package/dist/components/dso-annotation-omgevingsnormwaarde.js +93 -0
  204. package/dist/components/dso-annotation-omgevingsnormwaarde.js.map +1 -0
  205. package/dist/components/dso-autosuggest.js +1 -1
  206. package/dist/components/dso-banner.js +3 -3
  207. package/dist/components/dso-banner.js.map +1 -1
  208. package/dist/components/dso-card-container.js +1 -1
  209. package/dist/components/dso-card.js +2 -2
  210. package/dist/components/dso-date-picker-legacy.js +4 -4
  211. package/dist/components/dso-date-picker-legacy.js.map +1 -1
  212. package/dist/components/dso-date-picker.js +2 -2
  213. package/dist/components/dso-date-picker.js.map +1 -1
  214. package/dist/components/dso-helpcenter-panel.js +2 -2
  215. package/dist/components/dso-highlight-box.js +1 -1
  216. package/dist/components/dso-input-range.js +2 -2
  217. package/dist/components/dso-legend-item.js +3 -3
  218. package/dist/components/dso-legend-item.js.map +1 -1
  219. package/dist/components/dso-list-button.js +2 -2
  220. package/dist/components/dso-list-button.js.map +1 -1
  221. package/dist/components/dso-logo.js +2 -2
  222. package/dist/components/dso-map-base-layers.js +1 -1
  223. package/dist/components/dso-map-controls.js +2 -2
  224. package/dist/components/dso-map-controls.js.map +1 -1
  225. package/dist/components/dso-map-overlays.js +1 -1
  226. package/dist/components/dso-mark-bar.js +1 -1
  227. package/dist/components/dso-modal.js +3 -3
  228. package/dist/components/dso-modal.js.map +1 -1
  229. package/dist/components/dso-pagination.js +1 -1
  230. package/dist/components/dso-pagination.js.map +1 -1
  231. package/dist/components/dso-progress-bar.js +1 -1
  232. package/dist/components/dso-renvooi.d.ts +11 -0
  233. package/dist/components/dso-renvooi.js +8 -0
  234. package/dist/components/dso-renvooi.js.map +1 -0
  235. package/dist/components/dso-tree-view.js +1 -1
  236. package/dist/components/dso-viewer-grid.js +2 -2
  237. package/dist/components/dso-viewer-grid.js.map +1 -1
  238. package/dist/components/dsot-document-component-demo.js +1 -1
  239. package/dist/components/icon.js +1 -1
  240. package/dist/components/image-overlay.js +2 -2
  241. package/dist/components/image-overlay.js.map +1 -1
  242. package/dist/components/index.d.ts +8 -4
  243. package/dist/components/index.js +4 -2
  244. package/dist/components/index.js.map +1 -1
  245. package/dist/components/info-button.js +1 -1
  246. package/dist/components/info.js +2 -2
  247. package/dist/components/info.js.map +1 -1
  248. package/dist/components/label.js +4 -4
  249. package/dist/components/label.js.map +1 -1
  250. package/dist/components/ozon-content.js +2 -2
  251. package/dist/components/ozon-content.js.map +1 -1
  252. package/dist/components/progress-indicator.js +2 -2
  253. package/dist/components/progress-indicator.js.map +1 -1
  254. package/dist/components/renvooi.js +54 -0
  255. package/dist/components/renvooi.js.map +1 -0
  256. package/dist/components/responsive-element.js +1 -1
  257. package/dist/components/scrollable.js +2 -2
  258. package/dist/components/selectable.js +1 -1
  259. package/dist/components/slide-toggle.js +1 -1
  260. package/dist/components/table.js +2 -2
  261. package/dist/components/table.js.map +1 -1
  262. package/dist/components/toggletip.js +1 -1
  263. package/dist/components/tooltip.js +1 -1
  264. package/dist/components/v4.js +26 -29
  265. package/dist/components/v4.js.map +1 -1
  266. package/dist/dso-toolkit/dso-toolkit.esm.js +1 -1
  267. package/dist/dso-toolkit/dso-toolkit.esm.js.map +1 -1
  268. package/dist/dso-toolkit/p-01daefd6.entry.js +2 -0
  269. package/dist/dso-toolkit/{p-b6292d1a.entry.js.map → p-01daefd6.entry.js.map} +1 -1
  270. package/dist/dso-toolkit/{p-cbb4f112.entry.js → p-08dba16d.entry.js} +2 -2
  271. package/dist/dso-toolkit/{p-299d8fdc.entry.js → p-0900fddd.entry.js} +2 -2
  272. package/dist/dso-toolkit/{p-ae92d7c8.entry.js → p-0bc8b0cb.entry.js} +2 -2
  273. package/dist/dso-toolkit/p-200b6f6d.entry.js +2 -0
  274. package/dist/dso-toolkit/{p-2265897c.entry.js → p-357d709b.entry.js} +2 -2
  275. package/dist/dso-toolkit/p-380eef98.entry.js +2 -0
  276. package/dist/dso-toolkit/{p-8933926d.entry.js.map → p-380eef98.entry.js.map} +1 -1
  277. package/dist/dso-toolkit/{p-deed4932.entry.js → p-3b01f2a2.entry.js} +2 -2
  278. package/dist/dso-toolkit/{p-cbcb4d1f.entry.js → p-45934ea5.entry.js} +2 -2
  279. package/dist/dso-toolkit/{p-f9865457.entry.js → p-4cfc3dba.entry.js} +2 -2
  280. package/dist/dso-toolkit/{p-f9865457.entry.js.map → p-4cfc3dba.entry.js.map} +1 -1
  281. package/dist/dso-toolkit/p-536b70d8.entry.js +2 -0
  282. package/dist/dso-toolkit/p-536b70d8.entry.js.map +1 -0
  283. package/dist/dso-toolkit/p-65103f88.entry.js +2 -0
  284. package/dist/dso-toolkit/p-65103f88.entry.js.map +1 -0
  285. package/dist/dso-toolkit/p-65c3fa6f.entry.js +2 -0
  286. package/dist/dso-toolkit/{p-3cba474c.entry.js.map → p-65c3fa6f.entry.js.map} +1 -1
  287. package/dist/dso-toolkit/p-6c73ed77.js +2 -0
  288. package/dist/dso-toolkit/p-6c73ed77.js.map +1 -0
  289. package/dist/dso-toolkit/p-6d87bed5.entry.js +2 -0
  290. package/dist/dso-toolkit/p-6d87bed5.entry.js.map +1 -0
  291. package/dist/dso-toolkit/{p-53e04851.entry.js → p-70f2eed4.entry.js} +2 -2
  292. package/dist/dso-toolkit/{p-be2de19c.entry.js → p-81790cb0.entry.js} +2 -2
  293. package/dist/dso-toolkit/p-84d7b509.entry.js +2 -0
  294. package/dist/dso-toolkit/{p-26d0cacc.entry.js.map → p-84d7b509.entry.js.map} +1 -1
  295. package/dist/dso-toolkit/{p-bdaa4b01.entry.js → p-8e4ec29c.entry.js} +2 -2
  296. package/dist/dso-toolkit/p-91f631a2.entry.js +2 -0
  297. package/dist/dso-toolkit/p-97b5ad7b.entry.js +2 -0
  298. package/dist/dso-toolkit/{p-a16adf8a.entry.js.map → p-97b5ad7b.entry.js.map} +1 -1
  299. package/dist/dso-toolkit/{p-f1c58804.entry.js → p-98325f23.entry.js} +2 -2
  300. package/dist/dso-toolkit/p-995b15a4.entry.js +2 -0
  301. package/dist/dso-toolkit/{p-b43b959f.entry.js.map → p-995b15a4.entry.js.map} +1 -1
  302. package/dist/dso-toolkit/{p-824b23ee.entry.js → p-9b698eb6.entry.js} +2 -2
  303. package/dist/dso-toolkit/p-a070bb9e.entry.js +2 -0
  304. package/dist/dso-toolkit/{p-fc3cbf49.entry.js → p-a092b873.entry.js} +2 -2
  305. package/dist/dso-toolkit/{p-9b35c459.entry.js → p-a3d88101.entry.js} +2 -2
  306. package/dist/dso-toolkit/p-a6a47dd2.entry.js +2 -0
  307. package/dist/dso-toolkit/p-ab91a31a.entry.js +2 -0
  308. package/dist/dso-toolkit/p-ab91a31a.entry.js.map +1 -0
  309. package/dist/dso-toolkit/p-ac583d76.js +2 -0
  310. package/dist/dso-toolkit/p-ac583d76.js.map +1 -0
  311. package/dist/dso-toolkit/{p-216b7e41.entry.js → p-b245e776.entry.js} +2 -2
  312. package/dist/dso-toolkit/{p-8f126e70.entry.js → p-b4452919.entry.js} +2 -2
  313. package/dist/dso-toolkit/{p-e6222cd3.entry.js → p-ba0bd24d.entry.js} +2 -2
  314. package/dist/dso-toolkit/{p-358d71cb.entry.js → p-bc3f6f57.entry.js} +2 -2
  315. package/dist/dso-toolkit/p-be09cdfb.entry.js +2 -0
  316. package/dist/dso-toolkit/{p-31a70deb.entry.js.map → p-be09cdfb.entry.js.map} +1 -1
  317. package/dist/dso-toolkit/p-c076cd49.entry.js +2 -0
  318. package/dist/dso-toolkit/p-c076cd49.entry.js.map +1 -0
  319. package/dist/dso-toolkit/p-c1ae4697.entry.js +2 -0
  320. package/dist/dso-toolkit/p-c1ae4697.entry.js.map +1 -0
  321. package/dist/dso-toolkit/p-c2f27106.entry.js +2 -0
  322. package/dist/dso-toolkit/p-c311d632.entry.js +2 -0
  323. package/dist/dso-toolkit/{p-02a600ee.entry.js.map → p-c311d632.entry.js.map} +1 -1
  324. package/dist/dso-toolkit/p-d072c749.entry.js +2 -0
  325. package/dist/dso-toolkit/{p-e737a905.entry.js.map → p-d072c749.entry.js.map} +1 -1
  326. package/dist/dso-toolkit/p-d638c2b0.js +3 -0
  327. package/dist/dso-toolkit/p-d638c2b0.js.map +1 -0
  328. package/dist/dso-toolkit/{p-31aca00a.entry.js → p-d7048b9e.entry.js} +2 -2
  329. package/dist/dso-toolkit/p-d8744e6e.entry.js +2 -0
  330. package/dist/dso-toolkit/p-d8744e6e.entry.js.map +1 -0
  331. package/dist/dso-toolkit/{p-602f573d.entry.js → p-d8cbc58f.entry.js} +2 -2
  332. package/dist/dso-toolkit/{p-618fee5c.entry.js → p-dd2e80f0.entry.js} +2 -2
  333. package/dist/dso-toolkit/p-ef8cccbd.entry.js +2 -0
  334. package/dist/dso-toolkit/p-ef8cccbd.entry.js.map +1 -0
  335. package/dist/dso-toolkit/p-f0637435.entry.js +2 -0
  336. package/dist/dso-toolkit/{p-0361ac95.entry.js.map → p-f0637435.entry.js.map} +1 -1
  337. package/dist/dso-toolkit/p-f4893ad4.entry.js +2 -0
  338. package/dist/dso-toolkit/{p-9a1dee2d.entry.js.map → p-f4893ad4.entry.js.map} +1 -1
  339. package/dist/dso-toolkit/{p-ce66b495.entry.js → p-f59101bd.entry.js} +2 -2
  340. package/dist/dso-toolkit/p-f5ff676c.js +2 -0
  341. package/dist/dso-toolkit/p-f5ff676c.js.map +1 -0
  342. package/dist/dso-toolkit/p-f850de62.entry.js +2 -0
  343. package/dist/dso-toolkit/p-f850de62.entry.js.map +1 -0
  344. package/dist/dso-toolkit/p-fb4f7c98.entry.js +2 -0
  345. package/dist/dso-toolkit/p-fb4f7c98.entry.js.map +1 -0
  346. package/dist/esm/annotation-body-a8fadf3a.js +13 -0
  347. package/dist/esm/annotation-body-a8fadf3a.js.map +1 -0
  348. package/dist/esm/annotation-symbol-slot-28380b95.js +34 -0
  349. package/dist/esm/annotation-symbol-slot-28380b95.js.map +1 -0
  350. package/dist/esm/dso-accordion-section.entry.js +6 -4
  351. package/dist/esm/dso-accordion-section.entry.js.map +1 -1
  352. package/dist/esm/dso-accordion.entry.js +1 -1
  353. package/dist/esm/dso-action-list-item.entry.js +1 -1
  354. package/dist/esm/dso-action-list.entry.js +1 -1
  355. package/dist/esm/dso-advanced-select.entry.js +1 -1
  356. package/dist/esm/{dso-alert_6.entry.js → dso-alert_5.entry.js} +14 -27
  357. package/dist/esm/dso-alert_5.entry.js.map +1 -0
  358. package/dist/esm/dso-annotation-activiteit.entry.js +14 -4
  359. package/dist/esm/dso-annotation-activiteit.entry.js.map +1 -1
  360. package/dist/esm/dso-annotation-gebiedsaanwijzing.entry.js +14 -4
  361. package/dist/esm/dso-annotation-gebiedsaanwijzing.entry.js.map +1 -1
  362. package/dist/esm/dso-annotation-kaart.entry.js +35 -0
  363. package/dist/esm/dso-annotation-kaart.entry.js.map +1 -0
  364. package/dist/esm/dso-annotation-locatie.entry.js +34 -0
  365. package/dist/esm/dso-annotation-locatie.entry.js.map +1 -0
  366. package/dist/esm/dso-annotation-omgevingsnormwaarde.entry.js +37 -0
  367. package/dist/esm/dso-annotation-omgevingsnormwaarde.entry.js.map +1 -0
  368. package/dist/esm/dso-annotation-output_2.entry.js +5 -5
  369. package/dist/esm/dso-annotation-output_2.entry.js.map +1 -1
  370. package/dist/esm/dso-attachments-counter.entry.js +2 -2
  371. package/dist/esm/dso-autosuggest.entry.js +3 -3
  372. package/dist/esm/dso-badge.entry.js +20 -0
  373. package/dist/esm/dso-badge.entry.js.map +1 -0
  374. package/dist/esm/dso-banner.entry.js +4 -4
  375. package/dist/esm/dso-banner.entry.js.map +1 -1
  376. package/dist/esm/dso-card-container.entry.js +2 -2
  377. package/dist/esm/dso-card.entry.js +3 -3
  378. package/dist/esm/dso-date-picker-legacy.entry.js +5 -5
  379. package/dist/esm/dso-date-picker-legacy.entry.js.map +1 -1
  380. package/dist/esm/dso-date-picker.entry.js +3 -3
  381. package/dist/esm/dso-date-picker.entry.js.map +1 -1
  382. package/dist/esm/dso-dropdown-menu.entry.js +3 -3
  383. package/dist/esm/dso-expandable.entry.js +1 -1
  384. package/dist/esm/dso-header.entry.js +1 -1
  385. package/dist/esm/dso-helpcenter-panel.entry.js +3 -3
  386. package/dist/esm/dso-highlight-box.entry.js +2 -2
  387. package/dist/esm/dso-icon.entry.js +2 -2
  388. package/dist/esm/dso-info-button.entry.js +2 -2
  389. package/dist/esm/dso-info_2.entry.js +4 -4
  390. package/dist/esm/dso-info_2.entry.js.map +1 -1
  391. package/dist/esm/dso-input-range.entry.js +3 -3
  392. package/dist/esm/dso-label_2.entry.js +252 -27
  393. package/dist/esm/dso-label_2.entry.js.map +1 -1
  394. package/dist/esm/dso-legend-item.entry.js +4 -4
  395. package/dist/esm/dso-legend-item.entry.js.map +1 -1
  396. package/dist/esm/dso-list-button.entry.js +3 -3
  397. package/dist/esm/dso-list-button.entry.js.map +1 -1
  398. package/dist/esm/dso-logo.entry.js +3 -3
  399. package/dist/esm/dso-map-base-layers.entry.js +3 -3
  400. package/dist/esm/dso-map-controls.entry.js +3 -3
  401. package/dist/esm/dso-map-controls.entry.js.map +1 -1
  402. package/dist/esm/dso-map-overlays.entry.js +3 -3
  403. package/dist/esm/dso-mark-bar.entry.js +2 -2
  404. package/dist/esm/dso-modal.entry.js +5 -5
  405. package/dist/esm/dso-modal.entry.js.map +1 -1
  406. package/dist/esm/dso-pagination.entry.js +2 -2
  407. package/dist/esm/dso-pagination.entry.js.map +1 -1
  408. package/dist/esm/dso-progress-bar.entry.js +2 -2
  409. package/dist/esm/dso-progress-indicator.entry.js +3 -3
  410. package/dist/esm/dso-progress-indicator.entry.js.map +1 -1
  411. package/dist/esm/dso-renvooi_2.entry.js +63 -0
  412. package/dist/esm/dso-renvooi_2.entry.js.map +1 -0
  413. package/dist/esm/dso-responsive-element.entry.js +2 -2
  414. package/dist/esm/dso-scrollable.entry.js +3 -3
  415. package/dist/esm/dso-toggletip.entry.js +2 -2
  416. package/dist/esm/dso-toolkit.js +4 -4
  417. package/dist/esm/dso-toolkit.js.map +1 -1
  418. package/dist/esm/dso-tree-view.entry.js +2 -2
  419. package/dist/esm/dso-viewer-grid.entry.js +3 -3
  420. package/dist/esm/dso-viewer-grid.entry.js.map +1 -1
  421. package/dist/esm/dsot-document-component-demo.entry.js +2 -2
  422. package/dist/esm/{index-93de4a35.js → index-c8e19f05.js} +159 -142
  423. package/dist/esm/index-c8e19f05.js.map +1 -0
  424. package/dist/esm/loader.js +3 -3
  425. package/dist/esm/{v4-23648a96.js → v4-a79185f4.js} +27 -30
  426. package/dist/esm/v4-a79185f4.js.map +1 -0
  427. package/dist/types/components/accordion/components/accordion-section.d.ts +9 -0
  428. package/dist/types/components/alert/alert.d.ts +4 -0
  429. package/dist/types/components/annotation/annotation-activiteit/annotation-activiteit.d.ts +9 -4
  430. package/dist/types/components/annotation/annotation-body.d.ts +3 -2
  431. package/dist/types/components/annotation/annotation-gebiedsaanwijzing/annotation-gebiedsaanwijzing.d.ts +7 -2
  432. package/dist/types/components/annotation/annotation-gewijzigde-locatie.d.ts +2 -1
  433. package/dist/types/components/annotation/annotation-kaart/annotation-kaart.d.ts +28 -0
  434. package/dist/types/components/annotation/annotation-kaart/annotation-kaart.interfaces.d.ts +5 -0
  435. package/dist/types/components/annotation/{annotation-werkingsgebied/annotation-werkingsgebied.d.ts → annotation-locatie/annotation-locatie.d.ts} +8 -3
  436. package/dist/types/components/annotation/annotation-omgevingsnormwaarde/annotation-omgevingsnormwaarde.d.ts +47 -0
  437. package/dist/types/components/annotation/annotation-symbol-slot.d.ts +2 -0
  438. package/dist/types/components/annotation/annotation-watcher.d.ts +5 -0
  439. package/dist/types/components/annotation/annotation.interfaces.d.ts +1 -9
  440. package/dist/types/components/badge/badge.d.ts +2 -1
  441. package/dist/types/components/badge/badge.interfaces.d.ts +1 -0
  442. package/dist/types/components/renvooi/renvooi.d.ts +12 -0
  443. package/dist/types/components/renvooi/renvooi.interfaces.d.ts +8 -0
  444. package/dist/types/components.d.ts +241 -102
  445. package/dist/types/stencil-public-runtime.d.ts +0 -2
  446. package/loader/index.d.ts +3 -0
  447. package/package.json +9 -9
  448. package/dist/cjs/annotation-gewijzigde-locatie-4dc4c219.js +0 -41
  449. package/dist/cjs/annotation-gewijzigde-locatie-4dc4c219.js.map +0 -1
  450. package/dist/cjs/dso-alert_6.cjs.entry.js.map +0 -1
  451. package/dist/cjs/dso-annotation-omgevingsnorm.cjs.entry.js +0 -30
  452. package/dist/cjs/dso-annotation-omgevingsnorm.cjs.entry.js.map +0 -1
  453. package/dist/cjs/dso-annotation-werkingsgebied.cjs.entry.js +0 -28
  454. package/dist/cjs/dso-annotation-werkingsgebied.cjs.entry.js.map +0 -1
  455. package/dist/cjs/dso-tooltip.cjs.entry.js +0 -267
  456. package/dist/cjs/dso-tooltip.cjs.entry.js.map +0 -1
  457. package/dist/cjs/index-56461a0b.js.map +0 -1
  458. package/dist/cjs/v4-c23234d2.js.map +0 -1
  459. package/dist/collection/components/annotation/annotation-diff-renderer.js +0 -17
  460. package/dist/collection/components/annotation/annotation-diff-renderer.js.map +0 -1
  461. package/dist/collection/components/annotation/annotation-omgevingsnorm/annotation-omgevingsnorm.js.map +0 -1
  462. package/dist/collection/components/annotation/annotation-werkingsgebied/annotation-werkingsgebied.js.map +0 -1
  463. package/dist/collection/components/ozon-content/nodes/table.node/colspec/colspec.interface.js +0 -2
  464. package/dist/collection/components/ozon-content/nodes/table.node/colspec/colspec.interface.js.map +0 -1
  465. package/dist/components/annotation-gewijzigde-locatie.js +0 -37
  466. package/dist/components/annotation-gewijzigde-locatie.js.map +0 -1
  467. package/dist/components/dso-annotation-omgevingsnorm.d.ts +0 -11
  468. package/dist/components/dso-annotation-omgevingsnorm.js +0 -75
  469. package/dist/components/dso-annotation-omgevingsnorm.js.map +0 -1
  470. package/dist/components/dso-annotation-werkingsgebied.d.ts +0 -11
  471. package/dist/components/dso-annotation-werkingsgebied.js +0 -71
  472. package/dist/components/dso-annotation-werkingsgebied.js.map +0 -1
  473. package/dist/dso-toolkit/p-02a600ee.entry.js +0 -2
  474. package/dist/dso-toolkit/p-0361ac95.entry.js +0 -2
  475. package/dist/dso-toolkit/p-137fc4f4.js +0 -2
  476. package/dist/dso-toolkit/p-137fc4f4.js.map +0 -1
  477. package/dist/dso-toolkit/p-14616bce.js +0 -2
  478. package/dist/dso-toolkit/p-14616bce.js.map +0 -1
  479. package/dist/dso-toolkit/p-208d5671.entry.js +0 -2
  480. package/dist/dso-toolkit/p-208d5671.entry.js.map +0 -1
  481. package/dist/dso-toolkit/p-26d0cacc.entry.js +0 -2
  482. package/dist/dso-toolkit/p-300cbb00.entry.js +0 -2
  483. package/dist/dso-toolkit/p-31a70deb.entry.js +0 -2
  484. package/dist/dso-toolkit/p-3cba474c.entry.js +0 -2
  485. package/dist/dso-toolkit/p-3e5d417d.entry.js +0 -2
  486. package/dist/dso-toolkit/p-520ac2a9.entry.js +0 -2
  487. package/dist/dso-toolkit/p-520ac2a9.entry.js.map +0 -1
  488. package/dist/dso-toolkit/p-68cbd0c9.entry.js +0 -2
  489. package/dist/dso-toolkit/p-68cbd0c9.entry.js.map +0 -1
  490. package/dist/dso-toolkit/p-74ec4384.entry.js +0 -2
  491. package/dist/dso-toolkit/p-8933926d.entry.js +0 -2
  492. package/dist/dso-toolkit/p-9a1dee2d.entry.js +0 -2
  493. package/dist/dso-toolkit/p-a16adf8a.entry.js +0 -2
  494. package/dist/dso-toolkit/p-b43b959f.entry.js +0 -2
  495. package/dist/dso-toolkit/p-b57ca08c.entry.js +0 -2
  496. package/dist/dso-toolkit/p-b57ca08c.entry.js.map +0 -1
  497. package/dist/dso-toolkit/p-b6292d1a.entry.js +0 -2
  498. package/dist/dso-toolkit/p-b886759a.entry.js +0 -2
  499. package/dist/dso-toolkit/p-c55b506b.entry.js +0 -2
  500. package/dist/dso-toolkit/p-c55b506b.entry.js.map +0 -1
  501. package/dist/dso-toolkit/p-c58ffc7a.entry.js +0 -2
  502. package/dist/dso-toolkit/p-c58ffc7a.entry.js.map +0 -1
  503. package/dist/dso-toolkit/p-c7714f92.entry.js +0 -2
  504. package/dist/dso-toolkit/p-c7714f92.entry.js.map +0 -1
  505. package/dist/dso-toolkit/p-cd598033.entry.js +0 -2
  506. package/dist/dso-toolkit/p-cd598033.entry.js.map +0 -1
  507. package/dist/dso-toolkit/p-da8e5f1c.entry.js +0 -2
  508. package/dist/dso-toolkit/p-e6cf4fdb.js +0 -3
  509. package/dist/dso-toolkit/p-e6cf4fdb.js.map +0 -1
  510. package/dist/dso-toolkit/p-e737a905.entry.js +0 -2
  511. package/dist/esm/annotation-gewijzigde-locatie-5f4be68e.js +0 -37
  512. package/dist/esm/annotation-gewijzigde-locatie-5f4be68e.js.map +0 -1
  513. package/dist/esm/dso-alert_6.entry.js.map +0 -1
  514. package/dist/esm/dso-annotation-omgevingsnorm.entry.js +0 -26
  515. package/dist/esm/dso-annotation-omgevingsnorm.entry.js.map +0 -1
  516. package/dist/esm/dso-annotation-werkingsgebied.entry.js +0 -24
  517. package/dist/esm/dso-annotation-werkingsgebied.entry.js.map +0 -1
  518. package/dist/esm/dso-tooltip.entry.js +0 -263
  519. package/dist/esm/dso-tooltip.entry.js.map +0 -1
  520. package/dist/esm/index-93de4a35.js.map +0 -1
  521. package/dist/esm/v4-23648a96.js.map +0 -1
  522. package/dist/types/components/annotation/annotation-diff-renderer.d.ts +0 -7
  523. package/dist/types/components/annotation/annotation-omgevingsnorm/annotation-omgevingsnorm.d.ts +0 -36
  524. package/dist/types/components/ozon-content/nodes/table.node/colspec/colspec.interface.d.ts +0 -12
  525. /package/dist/dso-toolkit/{p-cbb4f112.entry.js.map → p-08dba16d.entry.js.map} +0 -0
  526. /package/dist/dso-toolkit/{p-299d8fdc.entry.js.map → p-0900fddd.entry.js.map} +0 -0
  527. /package/dist/dso-toolkit/{p-ae92d7c8.entry.js.map → p-0bc8b0cb.entry.js.map} +0 -0
  528. /package/dist/dso-toolkit/{p-300cbb00.entry.js.map → p-200b6f6d.entry.js.map} +0 -0
  529. /package/dist/dso-toolkit/{p-2265897c.entry.js.map → p-357d709b.entry.js.map} +0 -0
  530. /package/dist/dso-toolkit/{p-deed4932.entry.js.map → p-3b01f2a2.entry.js.map} +0 -0
  531. /package/dist/dso-toolkit/{p-cbcb4d1f.entry.js.map → p-45934ea5.entry.js.map} +0 -0
  532. /package/dist/dso-toolkit/{p-53e04851.entry.js.map → p-70f2eed4.entry.js.map} +0 -0
  533. /package/dist/dso-toolkit/{p-be2de19c.entry.js.map → p-81790cb0.entry.js.map} +0 -0
  534. /package/dist/dso-toolkit/{p-bdaa4b01.entry.js.map → p-8e4ec29c.entry.js.map} +0 -0
  535. /package/dist/dso-toolkit/{p-da8e5f1c.entry.js.map → p-91f631a2.entry.js.map} +0 -0
  536. /package/dist/dso-toolkit/{p-f1c58804.entry.js.map → p-98325f23.entry.js.map} +0 -0
  537. /package/dist/dso-toolkit/{p-824b23ee.entry.js.map → p-9b698eb6.entry.js.map} +0 -0
  538. /package/dist/dso-toolkit/{p-b886759a.entry.js.map → p-a070bb9e.entry.js.map} +0 -0
  539. /package/dist/dso-toolkit/{p-fc3cbf49.entry.js.map → p-a092b873.entry.js.map} +0 -0
  540. /package/dist/dso-toolkit/{p-9b35c459.entry.js.map → p-a3d88101.entry.js.map} +0 -0
  541. /package/dist/dso-toolkit/{p-3e5d417d.entry.js.map → p-a6a47dd2.entry.js.map} +0 -0
  542. /package/dist/dso-toolkit/{p-216b7e41.entry.js.map → p-b245e776.entry.js.map} +0 -0
  543. /package/dist/dso-toolkit/{p-8f126e70.entry.js.map → p-b4452919.entry.js.map} +0 -0
  544. /package/dist/dso-toolkit/{p-e6222cd3.entry.js.map → p-ba0bd24d.entry.js.map} +0 -0
  545. /package/dist/dso-toolkit/{p-358d71cb.entry.js.map → p-bc3f6f57.entry.js.map} +0 -0
  546. /package/dist/dso-toolkit/{p-74ec4384.entry.js.map → p-c2f27106.entry.js.map} +0 -0
  547. /package/dist/dso-toolkit/{p-31aca00a.entry.js.map → p-d7048b9e.entry.js.map} +0 -0
  548. /package/dist/dso-toolkit/{p-602f573d.entry.js.map → p-d8cbc58f.entry.js.map} +0 -0
  549. /package/dist/dso-toolkit/{p-618fee5c.entry.js.map → p-dd2e80f0.entry.js.map} +0 -0
  550. /package/dist/dso-toolkit/{p-ce66b495.entry.js.map → p-f59101bd.entry.js.map} +0 -0
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-56461a0b.js');
5
+ const index = require('./index-ac055dd1.js');
6
6
 
7
7
  const air = `<svg id="air" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
8
8
  <path fill="currentColor" d="M24,8h0a.6.6,0,0,1-.38.56l-.1,0h0A8.18,8.18,0,0,0,21,10c-.21.55.33,2.11.77,3a.61.61,0,0,1-.12.71.63.63,0,0,1-.39.17,4.8,4.8,0,0,0-4-2.15H17a4.58,4.58,0,0,0-.37-.69A3.07,3.07,0,0,0,19,8.62h0a2.24,2.24,0,0,0,.06-.52s0-.07,0-.1,0-.07,0-.1A2.24,2.24,0,0,0,19,7.38h0a3.07,3.07,0,0,0-6,0h0a2.24,2.24,0,0,0-.06.52s0,.07,0,.1,0,.06,0,.1a.77.77,0,0,0,0,.15,6.49,6.49,0,0,0-4.51.35l-.06,0A.61.61,0,0,1,8,8.09V8H8V7.91a.61.61,0,0,1,.37-.48l.11,0h0A13.68,13.68,0,0,0,11.08,6a9.37,9.37,0,0,0-.86-3,.62.62,0,0,1,.83-.81,9.12,9.12,0,0,0,2.8.89H14A6.79,6.79,0,0,0,15.42.42a.61.61,0,0,1,1.15,0,8.43,8.43,0,0,0,1.65,2.76h.13a7.76,7.76,0,0,0,2.58-.91.61.61,0,0,1,.84.81c-.44.89-1,2.45-.77,3a8.18,8.18,0,0,0,2.48,1.33h0l.1,0A.6.6,0,0,1,24,8ZM10.68,22.34a5.15,5.15,0,0,1-3.12,1,4.72,4.72,0,0,1-4.81-3.76l-.14-.45h-.5A2,2,0,0,1,0,17.24a2,2,0,0,1,2.11-1.92,2.17,2.17,0,0,1,1.32.43l.4.29.37-.32a5,5,0,0,1,2.18-1.09l.44-.24V14a4.17,4.17,0,0,1,4.35-4,4.24,4.24,0,0,1,4.3,3.43l.1.67.69-.25a3,3,0,0,1,1-.17A2.64,2.64,0,0,1,20,16.19a2.32,2.32,0,0,1,0,.46l-.08.38.38.18A2.93,2.93,0,0,1,22,19.83a3.12,3.12,0,0,1-3.24,3,3.52,3.52,0,0,1-1.71-.45L16.47,22l-.26.58a2.58,2.58,0,0,1-4.62,0l-.3-.68Z"/>
@@ -662,7 +662,7 @@ const Icon = class {
662
662
  if (!icon) {
663
663
  throw new TypeError(`Unknown svg: ${this.icon}`);
664
664
  }
665
- return index.h("span", { key: '8d9a58ec32a61e261ce372bda5d252dac335730b', class: "icon-container", innerHTML: icon.svg });
665
+ return index.h("span", { key: 'ad568e901aca0e1bb7bfb6c5cf35579fd78e97f9', class: "icon-container", innerHTML: icon.svg });
666
666
  }
667
667
  }
668
668
  };
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-56461a0b.js');
5
+ const index = require('./index-ac055dd1.js');
6
6
  const clsx = require('./clsx-fc789adc.js');
7
7
 
8
8
  const infoButtonCss = ":host{display:inline-block}*,*::after,*::before{box-sizing:border-box}.sr-only{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}button{background-color:transparent;color:#39870c;border:0;margin-inline-start:8px;padding:0;cursor:pointer;vertical-align:top}button.dso-info-secondary{color:#666}dso-icon{display:block}";
@@ -29,7 +29,7 @@ const InfoButton = class {
29
29
  this.dsoToggle.emit({ originalEvent: e, active: this.active });
30
30
  }
31
31
  render() {
32
- return (index.h(index.Host, { key: 'a9afc4b8538284ccbbfb0ef26de4309380faa673', onMouseenter: () => (this.hover = true), onMouseleave: () => (this.hover = false) }, index.h("button", { key: '08911957ed2c44f2576cc541aae4c4fe2e2afb60', type: "button", class: clsx.clsx({ "dso-open": !!this.active, "dso-info-secondary": !!this.secondary }), "aria-expanded": typeof this.active === "boolean" ? this.active.toString() : undefined, onClick: (e) => this.handleToggle(e), ref: (element) => (this.button = element) }, index.h("dso-icon", { key: '1cff75564204ba2ba31600e9c721fbfcb7b2dbb8', icon: this.active || this.hover ? "info-active" : "info" }), index.h("span", { key: '4d615ba1e61ddec946c39cb44eac90bbb3691045', class: "sr-only" }, this.label))));
32
+ return (index.h(index.Host, { key: 'a6e2aa03eb9724228f309392cfb9b2a8da123a15', onMouseenter: () => (this.hover = true), onMouseleave: () => (this.hover = false) }, index.h("button", { key: '419f8090a67ec29c910b1d925177451d4e98609c', type: "button", class: clsx.clsx({ "dso-open": !!this.active, "dso-info-secondary": !!this.secondary }), "aria-expanded": typeof this.active === "boolean" ? this.active.toString() : undefined, onClick: (e) => this.handleToggle(e), ref: (element) => (this.button = element) }, index.h("dso-icon", { key: '2f5b81f8142336f42e51c800fc8486b98095a40c', icon: this.active || this.hover ? "info-active" : "info" }), index.h("span", { key: '310fa68092bbee52d8c3935e48d6e5befd16c4ea', class: "sr-only" }, this.label))));
33
33
  }
34
34
  };
35
35
  InfoButton.style = DsoInfoButtonStyle0;
@@ -2,11 +2,11 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-56461a0b.js');
5
+ const index = require('./index-ac055dd1.js');
6
6
  const clsx = require('./clsx-fc789adc.js');
7
7
  const createIdentifier = require('./create-identifier-4a76663b.js');
8
8
 
9
- const infoCss = ":host{display:block;padding:16px 32px 16px 16px;position:relative}:host>button{background-color:transparent;border-style:none;padding:0;position:absolute;inset-inline-end:8px;inset-block-start:8px}:host(:not([active],[fixed])),:host([active=false]:not([fixed])),:host([active=false][fixed=false]){display:none}button{-webkit-appearance:button;color:inherit;cursor:pointer;font:inherit;font-family:inherit;font-size:inherit;line-height:inherit;margin:0;overflow:visible;text-transform:none}button[disabled]{cursor:default}button::-moz-focus-inner{border:0;padding:0}*,*::after,*::before{box-sizing:border-box}.sr-only{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}";
9
+ const infoCss = ":host{display:block;padding-block:16px;padding-inline:16px 32px;position:relative}:host>button{background-color:transparent;border-style:none;padding:0;position:absolute;inset-inline-end:8px;inset-block-start:8px}:host(:not([active],[fixed])),:host([active=false]:not([fixed])),:host([active=false][fixed=false]){display:none}button{-webkit-appearance:button;color:inherit;cursor:pointer;font:inherit;font-family:inherit;font-size:inherit;line-height:inherit;margin:0;overflow:visible;text-transform:none}button[disabled]{cursor:default}button::-moz-focus-inner{border:0;padding:0}*,*::after,*::before{box-sizing:border-box}.sr-only{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}";
10
10
  const DsoInfoStyle0 = infoCss;
11
11
 
12
12
  const Info = class {
@@ -17,7 +17,7 @@ const Info = class {
17
17
  this.active = undefined;
18
18
  }
19
19
  render() {
20
- return (index.h(index.Fragment, { key: '3dcb0b7964995734a527775251fac2c0dac5a62f' }, index.h("slot", { key: 'b6217bab04d44d36de11b0876a07825253303100' }), !this.fixed && (index.h("button", { key: '41c1f3facca9066b6c760e5a7b9b71aeaecb1590', type: "button", onClick: (e) => this.dsoClose.emit(e) }, index.h("dso-icon", { key: '615e0cf09f692c0cb2a9efdf96e35035db6baf20', icon: "times" }), index.h("span", { key: 'f69da4351264fe6283e71e6fd2af584c09ef6815', class: "sr-only" }, "Sluiten")))));
20
+ return (index.h(index.Fragment, { key: '902f98c97248e2ddd76978921405904b843de499' }, index.h("slot", { key: 'fe9eed78ba371fc455ccaa6d9d3cc5eb5d042184' }), !this.fixed && (index.h("button", { key: 'c915ed3281316046b27b60e32d5f8a2d3399839d', type: "button", onClick: (e) => this.dsoClose.emit(e) }, index.h("dso-icon", { key: '7f342560dc0cd59123e8a1f3a37fcf0d88da9efa', icon: "times" }), index.h("span", { key: '966b0fdafa67cd988cb5c2c7efbcc90288810ca5', class: "sr-only" }, "Sluiten")))));
21
21
  }
22
22
  };
23
23
  Info.style = DsoInfoStyle0;
@@ -84,7 +84,7 @@ const Selectable = class {
84
84
  render() {
85
85
  var _a;
86
86
  const hasInfo = !!this.host.querySelector('[slot="info"]');
87
- return (index.h(index.Fragment, { key: '0061629edfc95238fad0a7ce59ef33d784715f48' }, index.h("div", { key: '21eead2fe7c96e0019baf0249c6d901276dde3a6', class: "dso-selectable-container" }, index.h("div", { key: 'c0ef4e985f2cbc828579556957c52631e6fbb418', class: clsx.clsx("dso-selectable-input-wrapper", { "dso-keyboard-focus": this.keyboardFocus }) }, index.h("input", { key: '50e495ec15d8319cb29c0de9931d8e35400228c0', type: this.type, id: this.getIdentifier(), value: this.value, name: this.name, "aria-invalid": (_a = this.invalid) === null || _a === void 0 ? void 0 : _a.toString(), "aria-describedby": hasInfo && this.infoFixed ? this.describedById : undefined, "aria-labelledBy": this.labelledById, disabled: this.disabled, required: this.required, checked: this.checked, onChange: this.handleOnChange, onBlur: () => (this.keyboardFocus = false), onKeyUp: () => (this.keyboardFocus = true), ref: (el) => (this.input = el) }), !this.labelledById ? (index.h("label", { htmlFor: this.getIdentifier() }, index.h("slot", null))) : (index.h("label", null, index.h("slot", null)))), hasInfo && !this.infoFixed && (index.h("dso-info-button", { key: 'eaedc13f6945d9eb2b45d2db3d6d8f203d67b0b7', active: this.infoActive, onDsoToggle: (e) => (this.infoActive = e.detail.active) }))), hasInfo && (index.h("dso-info", { key: 'd33b87765ac73156cc2c6b8a18054e708a5963ec', id: hasInfo && this.infoFixed ? this.describedById : undefined, fixed: this.infoFixed, active: this.infoActive, onDsoClose: () => (this.infoActive = false) }, index.h("div", { key: '228a0f425250e29a10c30a5b678ea7fb4a24fc14' }, index.h("slot", { key: '597d0b42196974aa8686e98570b543de11cd8f93', name: "info" })))), index.h("slot", { key: '1a97013dc9f4d5c534cf765453c7e8ecbe879e81', name: "options" })));
87
+ return (index.h(index.Fragment, { key: 'dd7208bc6160768997ff4b00a1611316d0d3b170' }, index.h("div", { key: '3a56145fbd723e97dfd1047144699295e64cd83c', class: "dso-selectable-container" }, index.h("div", { key: '960d6051962d016eb4d10cd42e0378e348176e00', class: clsx.clsx("dso-selectable-input-wrapper", { "dso-keyboard-focus": this.keyboardFocus }) }, index.h("input", { key: '62515e7eb4d4752e9cd884ebb55e25600c796569', type: this.type, id: this.getIdentifier(), value: this.value, name: this.name, "aria-invalid": (_a = this.invalid) === null || _a === void 0 ? void 0 : _a.toString(), "aria-describedby": hasInfo && this.infoFixed ? this.describedById : undefined, "aria-labelledBy": this.labelledById, disabled: this.disabled, required: this.required, checked: this.checked, onChange: this.handleOnChange, onBlur: () => (this.keyboardFocus = false), onKeyUp: () => (this.keyboardFocus = true), ref: (el) => (this.input = el) }), !this.labelledById ? (index.h("label", { htmlFor: this.getIdentifier() }, index.h("slot", null))) : (index.h("label", null, index.h("slot", null)))), hasInfo && !this.infoFixed && (index.h("dso-info-button", { key: '88c7368c7cf2679a5b553423d6241e6edf1e171c', active: this.infoActive, onDsoToggle: (e) => (this.infoActive = e.detail.active) }))), hasInfo && (index.h("dso-info", { key: '574762e0f3643edb8b2fe2e728c7bdaff02fbb2e', id: hasInfo && this.infoFixed ? this.describedById : undefined, fixed: this.infoFixed, active: this.infoActive, onDsoClose: () => (this.infoActive = false) }, index.h("div", { key: '4d7366f99efa8e9dd04787630a86f2d8f4720f8b' }, index.h("slot", { key: '7294a8c9318544819d392552c529ac04a6af2322', name: "info" })))), index.h("slot", { key: 'fe3293f3aef16561ab13519887293181af6b2347', name: "options" })));
88
88
  }
89
89
  componentDidRender() {
90
90
  if (this.input && typeof this.checked === "boolean" && this.input.checked !== this.checked) {
@@ -1 +1 @@
1
- {"file":"dso-info.dso-selectable.entry.cjs.js","mappings":"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","names":["h","Fragment","createIdentifier","forceUpdate","clsx"],"sources":["src/components/info/info.scss?tag=dso-info&encapsulation=shadow","src/components/info/info.tsx","src/components/selectable/selectable.scss?tag=dso-selectable&encapsulation=scoped","src/components/selectable/selectable.tsx"],"sourcesContent":["@use \"~dso-toolkit/src/utilities\";\r\n@use \"~dso-toolkit/src/components/button\";\r\n@use \"~dso-toolkit/src/components/info\";\r\n\r\n:host {\r\n display: block;\r\n\r\n @include info.root();\r\n}\r\n\r\n:host(:not([active], [fixed])),\r\n:host([active=\"false\"]:not([fixed])),\r\n:host([active=\"false\"][fixed=\"false\"]) {\r\n display: none;\r\n}\r\n\r\nbutton {\r\n @include button.element();\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","import { h, Component, Event, Prop, EventEmitter, Fragment } from \"@stencil/core\";\r\n\r\n@Component({\r\n tag: \"dso-info\",\r\n styleUrl: \"./info.scss\",\r\n shadow: true,\r\n})\r\nexport class Info {\r\n /**\r\n * Set to true if the Info should not be toggled and always visible.\r\n */\r\n @Prop({ reflect: true })\r\n fixed?: boolean;\r\n\r\n /**\r\n * Whether the Info is active.\r\n */\r\n @Prop({ reflect: true })\r\n active?: boolean;\r\n\r\n /**\r\n * Emitted when the user activates the close button.\r\n */\r\n @Event()\r\n dsoClose!: EventEmitter<MouseEvent>;\r\n\r\n render() {\r\n return (\r\n <Fragment>\r\n <slot></slot>\r\n {!this.fixed && (\r\n <button type=\"button\" onClick={(e) => this.dsoClose.emit(e)}>\r\n <dso-icon icon=\"times\"></dso-icon>\r\n <span class=\"sr-only\">Sluiten</span>\r\n </button>\r\n )}\r\n </Fragment>\r\n );\r\n }\r\n}\r\n","@use \"~dso-toolkit/src/utilities\";\r\n@use \"~dso-toolkit/src/components/selectable\";\r\n@use \"~dso-toolkit/src/variables/units\";\r\n\r\n:host {\r\n @include selectable.root(false);\r\n\r\n padding-inline-start: selectable.$symbol-indent;\r\n\r\n &[invalid]:not([invalid=\"false\"]) {\r\n @include selectable.invalid();\r\n }\r\n}\r\n\r\n:host(:not(:last-child)) {\r\n @include selectable.notLastChild();\r\n}\r\n\r\n@include utilities.box-sizing();\r\n\r\n.dso-selectable-container {\r\n display: inline-block;\r\n\r\n .dso-selectable-input-wrapper {\r\n display: inline-block;\r\n min-block-size: units.$u3;\r\n\r\n &:focus-within.dso-keyboard-focus {\r\n position: relative;\r\n inset-inline-start: -(selectable.$symbol-indent);\r\n\r\n padding-inline-start: selectable.$symbol-indent;\r\n\r\n margin-inline-end: -(selectable.$symbol-indent);\r\n\r\n @include utilities.focus-outline();\r\n }\r\n\r\n input[type=\"radio\"],\r\n input[type=\"checkbox\"] {\r\n &:focus + label::before {\r\n @include selectable.selectableBoxShadow(\r\n selectable.$border-width,\r\n var(--dso-selectable-color, selectable.$valid-color)\r\n );\r\n }\r\n }\r\n }\r\n}\r\n","import {\r\n h,\r\n Component,\r\n Prop,\r\n Event,\r\n EventEmitter,\r\n Fragment,\r\n Element,\r\n State,\r\n forceUpdate,\r\n Watch,\r\n Method,\r\n ComponentInterface,\r\n} from \"@stencil/core\";\r\nimport clsx from \"clsx\";\r\nimport { createIdentifier } from \"../../utils/create-identifier\";\r\nimport { SelectableChangeEvent } from \"./selectable.interfaces\";\r\n\r\n/**\r\n * @slot - The label for this control\r\n * @slot info - Rich Content to be slotted in Info.\r\n * @slot options - for further nested selectable options: `<ul class=\"dso-selectable-options\" slot=\"options\">` and wrap each Selectable in a `<li>`.\r\n */\r\n@Component({\r\n tag: \"dso-selectable\",\r\n styleUrl: \"selectable.scss\",\r\n scoped: true,\r\n})\r\nexport class Selectable implements ComponentInterface {\r\n /**\r\n * Type of Selectable.\r\n *\r\n * `checkbox`: Multiple options\r\n * `radio`: Single option.\r\n */\r\n @Prop()\r\n type!: \"checkbox\" | \"radio\";\r\n\r\n /**\r\n * To set `<input id>` attribute for external references.\r\n */\r\n @Prop()\r\n identifier?: string;\r\n\r\n /**\r\n * Name of the Selectable. Can be used to group Selectables.\r\n */\r\n @Prop()\r\n name?: string;\r\n\r\n /**\r\n * The value of the Selectable.\r\n */\r\n @Prop()\r\n value!: string;\r\n\r\n /**\r\n * Set to true of the current value is not valid.\r\n */\r\n @Prop()\r\n invalid?: boolean;\r\n\r\n /**\r\n * To link this control to an element that describes it.\r\n */\r\n @Prop()\r\n describedById?: string;\r\n\r\n /**\r\n * To link this control to an element that labels it.\r\n */\r\n @Prop()\r\n labelledById?: string;\r\n\r\n /**\r\n * To disable the Selectable.\r\n */\r\n @Prop()\r\n disabled?: boolean;\r\n\r\n /**\r\n * To mark the Selectable as required.\r\n */\r\n @Prop()\r\n required?: boolean;\r\n\r\n /**\r\n * Mark the Selectable as checked\r\n */\r\n @Prop({ reflect: true })\r\n checked?: boolean;\r\n\r\n /**\r\n * An indeterminate state is neither true or false. It means the answer is somewhere in between.\r\n *\r\n * Can be used to indicate child Selectables that are a mix of checked and unchecked.\r\n */\r\n @Prop()\r\n indeterminate?: boolean;\r\n\r\n /**\r\n * Set to true if the Info should not be toggled and always visible.\r\n */\r\n @Prop()\r\n infoFixed?: boolean;\r\n\r\n /**\r\n * Emitted when the user checks or unchecks the Selectable.\r\n */\r\n @Event()\r\n dsoChange!: EventEmitter<SelectableChangeEvent>;\r\n\r\n @Element()\r\n host!: HTMLDsoSelectableElement;\r\n\r\n @State()\r\n infoActive = false;\r\n\r\n @State()\r\n keyboardFocus = false;\r\n\r\n /**\r\n * Method to toggle the Info. Is set to `active` when passed.\r\n *\r\n * If `active` is not passed, Info is toggled to opposite value.\r\n * @param active\r\n */\r\n @Method()\r\n async toggleInfo(active?: boolean) {\r\n this.infoActive = active ?? !this.infoActive;\r\n }\r\n\r\n private mutationObserver?: MutationObserver;\r\n\r\n private fallbackIdentifier = createIdentifier(\"DsoSelectable\");\r\n\r\n private input: HTMLInputElement | undefined;\r\n\r\n private handleOnChange = (e: Event) => {\r\n const { target } = e;\r\n\r\n this.dsoChange.emit({\r\n originalEvent: e,\r\n checked: target instanceof HTMLInputElement && target.checked,\r\n });\r\n\r\n forceUpdate(this.host);\r\n };\r\n\r\n componentDidLoad() {\r\n this.mutationObserver?.disconnect();\r\n\r\n this.mutationObserver = new MutationObserver(() => forceUpdate(this.host));\r\n this.mutationObserver.observe(this.host, {\r\n childList: true,\r\n });\r\n\r\n this.setIndeterminate();\r\n }\r\n\r\n disconnectedCallback() {\r\n this.mutationObserver?.disconnect();\r\n }\r\n\r\n @Watch(\"indeterminate\")\r\n setIndeterminate() {\r\n if (!(this.input instanceof HTMLInputElement) || this.type !== \"checkbox\") {\r\n return;\r\n }\r\n\r\n this.input.indeterminate = !!this.indeterminate;\r\n }\r\n\r\n render() {\r\n const hasInfo = !!this.host.querySelector('[slot=\"info\"]');\r\n\r\n return (\r\n <Fragment>\r\n <div class=\"dso-selectable-container\">\r\n <div class={clsx(\"dso-selectable-input-wrapper\", { \"dso-keyboard-focus\": this.keyboardFocus })}>\r\n <input\r\n type={this.type}\r\n id={this.getIdentifier()}\r\n value={this.value}\r\n name={this.name}\r\n aria-invalid={this.invalid?.toString()}\r\n aria-describedby={hasInfo && this.infoFixed ? this.describedById : undefined}\r\n aria-labelledBy={this.labelledById}\r\n disabled={this.disabled}\r\n required={this.required}\r\n checked={this.checked}\r\n onChange={this.handleOnChange}\r\n onBlur={() => (this.keyboardFocus = false)}\r\n onKeyUp={() => (this.keyboardFocus = true)}\r\n ref={(el) => (this.input = el)}\r\n />\r\n {!this.labelledById ? (\r\n <label htmlFor={this.getIdentifier()}>\r\n <slot />\r\n </label>\r\n ) : (\r\n <label>\r\n <slot />\r\n </label>\r\n )}\r\n </div>\r\n {hasInfo && !this.infoFixed && (\r\n <dso-info-button\r\n active={this.infoActive}\r\n onDsoToggle={(e) => (this.infoActive = e.detail.active)}\r\n ></dso-info-button>\r\n )}\r\n </div>\r\n {hasInfo && (\r\n <dso-info\r\n id={hasInfo && this.infoFixed ? this.describedById : undefined}\r\n fixed={this.infoFixed}\r\n active={this.infoActive}\r\n onDsoClose={() => (this.infoActive = false)}\r\n >\r\n <div>\r\n <slot name=\"info\"></slot>\r\n </div>\r\n </dso-info>\r\n )}\r\n <slot name=\"options\" />\r\n </Fragment>\r\n );\r\n }\r\n\r\n componentDidRender(): void {\r\n if (this.input && typeof this.checked === \"boolean\" && this.input.checked !== this.checked) {\r\n this.input.checked = this.checked;\r\n }\r\n }\r\n\r\n private getIdentifier(): string {\r\n return this.identifier ?? this.fallbackIdentifier;\r\n }\r\n}\r\n"],"version":3}
1
+ {"file":"dso-info.dso-selectable.entry.cjs.js","mappings":"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","names":["h","Fragment","createIdentifier","forceUpdate","clsx"],"sources":["src/components/info/info.scss?tag=dso-info&encapsulation=shadow","src/components/info/info.tsx","src/components/selectable/selectable.scss?tag=dso-selectable&encapsulation=scoped","src/components/selectable/selectable.tsx"],"sourcesContent":["@use \"~dso-toolkit/src/utilities\";\r\n@use \"~dso-toolkit/src/components/button\";\r\n@use \"~dso-toolkit/src/components/info\";\r\n\r\n:host {\r\n display: block;\r\n\r\n @include info.root();\r\n}\r\n\r\n:host(:not([active], [fixed])),\r\n:host([active=\"false\"]:not([fixed])),\r\n:host([active=\"false\"][fixed=\"false\"]) {\r\n display: none;\r\n}\r\n\r\nbutton {\r\n @include button.element();\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","import { h, Component, Event, Prop, EventEmitter, Fragment } from \"@stencil/core\";\r\n\r\n@Component({\r\n tag: \"dso-info\",\r\n styleUrl: \"./info.scss\",\r\n shadow: true,\r\n})\r\nexport class Info {\r\n /**\r\n * Set to true if the Info should not be toggled and always visible.\r\n */\r\n @Prop({ reflect: true })\r\n fixed?: boolean;\r\n\r\n /**\r\n * Whether the Info is active.\r\n */\r\n @Prop({ reflect: true })\r\n active?: boolean;\r\n\r\n /**\r\n * Emitted when the user activates the close button.\r\n */\r\n @Event()\r\n dsoClose!: EventEmitter<MouseEvent>;\r\n\r\n render() {\r\n return (\r\n <Fragment>\r\n <slot></slot>\r\n {!this.fixed && (\r\n <button type=\"button\" onClick={(e) => this.dsoClose.emit(e)}>\r\n <dso-icon icon=\"times\"></dso-icon>\r\n <span class=\"sr-only\">Sluiten</span>\r\n </button>\r\n )}\r\n </Fragment>\r\n );\r\n }\r\n}\r\n","@use \"~dso-toolkit/src/utilities\";\r\n@use \"~dso-toolkit/src/components/selectable\";\r\n@use \"~dso-toolkit/src/variables/units\";\r\n\r\n:host {\r\n @include selectable.root(false);\r\n\r\n padding-inline-start: selectable.$symbol-indent;\r\n\r\n &[invalid]:not([invalid=\"false\"]) {\r\n @include selectable.invalid();\r\n }\r\n}\r\n\r\n:host(:not(:last-child)) {\r\n @include selectable.notLastChild();\r\n}\r\n\r\n@include utilities.box-sizing();\r\n\r\n.dso-selectable-container {\r\n display: inline-block;\r\n\r\n .dso-selectable-input-wrapper {\r\n display: inline-block;\r\n min-block-size: units.$u3;\r\n\r\n &:focus-within.dso-keyboard-focus {\r\n position: relative;\r\n inset-inline-start: -(selectable.$symbol-indent);\r\n\r\n padding-inline-start: selectable.$symbol-indent;\r\n\r\n margin-inline-end: -(selectable.$symbol-indent);\r\n\r\n @include utilities.focus-outline();\r\n }\r\n\r\n input[type=\"radio\"],\r\n input[type=\"checkbox\"] {\r\n &:focus + label::before {\r\n @include selectable.selectableBoxShadow(\r\n selectable.$border-width,\r\n var(--dso-selectable-color, selectable.$valid-color)\r\n );\r\n }\r\n }\r\n }\r\n}\r\n","import {\r\n h,\r\n Component,\r\n Prop,\r\n Event,\r\n EventEmitter,\r\n Fragment,\r\n Element,\r\n State,\r\n forceUpdate,\r\n Watch,\r\n Method,\r\n ComponentInterface,\r\n} from \"@stencil/core\";\r\nimport clsx from \"clsx\";\r\nimport { createIdentifier } from \"../../utils/create-identifier\";\r\nimport { SelectableChangeEvent } from \"./selectable.interfaces\";\r\n\r\n/**\r\n * @slot - The label for this control\r\n * @slot info - Rich Content to be slotted in Info.\r\n * @slot options - for further nested selectable options: `<ul class=\"dso-selectable-options\" slot=\"options\">` and wrap each Selectable in a `<li>`.\r\n */\r\n@Component({\r\n tag: \"dso-selectable\",\r\n styleUrl: \"selectable.scss\",\r\n scoped: true,\r\n})\r\nexport class Selectable implements ComponentInterface {\r\n /**\r\n * Type of Selectable.\r\n *\r\n * `checkbox`: Multiple options\r\n * `radio`: Single option.\r\n */\r\n @Prop()\r\n type!: \"checkbox\" | \"radio\";\r\n\r\n /**\r\n * To set `<input id>` attribute for external references.\r\n */\r\n @Prop()\r\n identifier?: string;\r\n\r\n /**\r\n * Name of the Selectable. Can be used to group Selectables.\r\n */\r\n @Prop()\r\n name?: string;\r\n\r\n /**\r\n * The value of the Selectable.\r\n */\r\n @Prop()\r\n value!: string;\r\n\r\n /**\r\n * Set to true of the current value is not valid.\r\n */\r\n @Prop()\r\n invalid?: boolean;\r\n\r\n /**\r\n * To link this control to an element that describes it.\r\n */\r\n @Prop()\r\n describedById?: string;\r\n\r\n /**\r\n * To link this control to an element that labels it.\r\n */\r\n @Prop()\r\n labelledById?: string;\r\n\r\n /**\r\n * To disable the Selectable.\r\n */\r\n @Prop()\r\n disabled?: boolean;\r\n\r\n /**\r\n * To mark the Selectable as required.\r\n */\r\n @Prop()\r\n required?: boolean;\r\n\r\n /**\r\n * Mark the Selectable as checked\r\n */\r\n @Prop({ reflect: true })\r\n checked?: boolean;\r\n\r\n /**\r\n * An indeterminate state is neither true or false. It means the answer is somewhere in between.\r\n *\r\n * Can be used to indicate child Selectables that are a mix of checked and unchecked.\r\n */\r\n @Prop()\r\n indeterminate?: boolean;\r\n\r\n /**\r\n * Set to true if the Info should not be toggled and always visible.\r\n */\r\n @Prop()\r\n infoFixed?: boolean;\r\n\r\n /**\r\n * Emitted when the user checks or unchecks the Selectable.\r\n */\r\n @Event()\r\n dsoChange!: EventEmitter<SelectableChangeEvent>;\r\n\r\n @Element()\r\n host!: HTMLDsoSelectableElement;\r\n\r\n @State()\r\n infoActive = false;\r\n\r\n @State()\r\n keyboardFocus = false;\r\n\r\n /**\r\n * Method to toggle the Info. Is set to `active` when passed.\r\n *\r\n * If `active` is not passed, Info is toggled to opposite value.\r\n * @param active\r\n */\r\n @Method()\r\n async toggleInfo(active?: boolean) {\r\n this.infoActive = active ?? !this.infoActive;\r\n }\r\n\r\n private mutationObserver?: MutationObserver;\r\n\r\n private fallbackIdentifier = createIdentifier(\"DsoSelectable\");\r\n\r\n private input: HTMLInputElement | undefined;\r\n\r\n private handleOnChange = (e: Event) => {\r\n const { target } = e;\r\n\r\n this.dsoChange.emit({\r\n originalEvent: e,\r\n checked: target instanceof HTMLInputElement && target.checked,\r\n });\r\n\r\n forceUpdate(this.host);\r\n };\r\n\r\n componentDidLoad() {\r\n this.mutationObserver?.disconnect();\r\n\r\n this.mutationObserver = new MutationObserver(() => forceUpdate(this.host));\r\n this.mutationObserver.observe(this.host, {\r\n childList: true,\r\n });\r\n\r\n this.setIndeterminate();\r\n }\r\n\r\n disconnectedCallback() {\r\n this.mutationObserver?.disconnect();\r\n }\r\n\r\n @Watch(\"indeterminate\")\r\n setIndeterminate() {\r\n if (!(this.input instanceof HTMLInputElement) || this.type !== \"checkbox\") {\r\n return;\r\n }\r\n\r\n this.input.indeterminate = !!this.indeterminate;\r\n }\r\n\r\n render() {\r\n const hasInfo = !!this.host.querySelector('[slot=\"info\"]');\r\n\r\n return (\r\n <Fragment>\r\n <div class=\"dso-selectable-container\">\r\n <div class={clsx(\"dso-selectable-input-wrapper\", { \"dso-keyboard-focus\": this.keyboardFocus })}>\r\n <input\r\n type={this.type}\r\n id={this.getIdentifier()}\r\n value={this.value}\r\n name={this.name}\r\n aria-invalid={this.invalid?.toString()}\r\n aria-describedby={hasInfo && this.infoFixed ? this.describedById : undefined}\r\n aria-labelledBy={this.labelledById}\r\n disabled={this.disabled}\r\n required={this.required}\r\n checked={this.checked}\r\n onChange={this.handleOnChange}\r\n onBlur={() => (this.keyboardFocus = false)}\r\n onKeyUp={() => (this.keyboardFocus = true)}\r\n ref={(el) => (this.input = el)}\r\n />\r\n {!this.labelledById ? (\r\n <label htmlFor={this.getIdentifier()}>\r\n <slot />\r\n </label>\r\n ) : (\r\n <label>\r\n <slot />\r\n </label>\r\n )}\r\n </div>\r\n {hasInfo && !this.infoFixed && (\r\n <dso-info-button\r\n active={this.infoActive}\r\n onDsoToggle={(e) => (this.infoActive = e.detail.active)}\r\n ></dso-info-button>\r\n )}\r\n </div>\r\n {hasInfo && (\r\n <dso-info\r\n id={hasInfo && this.infoFixed ? this.describedById : undefined}\r\n fixed={this.infoFixed}\r\n active={this.infoActive}\r\n onDsoClose={() => (this.infoActive = false)}\r\n >\r\n <div>\r\n <slot name=\"info\"></slot>\r\n </div>\r\n </dso-info>\r\n )}\r\n <slot name=\"options\" />\r\n </Fragment>\r\n );\r\n }\r\n\r\n componentDidRender(): void {\r\n if (this.input && typeof this.checked === \"boolean\" && this.input.checked !== this.checked) {\r\n this.input.checked = this.checked;\r\n }\r\n }\r\n\r\n private getIdentifier(): string {\r\n return this.identifier ?? this.fallbackIdentifier;\r\n }\r\n}\r\n"],"version":3}
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-56461a0b.js');
5
+ const index = require('./index-ac055dd1.js');
6
6
 
7
7
  const inputRangeCss = ":host{display:flex;align-items:center;gap:0.5rem;padding:0.5rem;inline-size:100%}*,*::after,*::before{box-sizing:border-box}.counter{flex-shrink:0;min-inline-size:5ch}.counter.min{text-align:end}.counter.max{text-align:start}.input{flex-grow:1;appearance:none;background-color:transparent;cursor:pointer}.input::-webkit-slider-runnable-track{block-size:0.5rem;background-color:#e5e5e5;border:1px solid #666;border-radius:0.5rem}.input::-webkit-slider-runnable-track:hover{background-color:#ccc}.input::-webkit-slider-thumb{block-size:1.5rem;inline-size:1.5rem;appearance:none;margin-block-start:-0.55rem;background-color:#39870c;border-radius:50%}.input::-webkit-slider-thumb:hover{background-color:#275937}.input::-moz-range-track{box-sizing:border-box;block-size:0.5rem;background-color:#e5e5e5;border:1px solid #666;border-radius:0.5rem}.input::-moz-range-track:hover{background-color:#ccc}.input::-moz-range-thumb{box-sizing:border-box;block-size:1.5rem;inline-size:1.5rem;appearance:none;margin-block-start:-0.5rem;background-color:#39870c;border-color:transparent;border-radius:50%}.input::-moz-range-thumb:hover{background-color:#275937}";
8
8
  const DsoInputRangeStyle0 = inputRangeCss;
@@ -23,13 +23,13 @@ const InputRange = class {
23
23
  const min = this.min || 0;
24
24
  const max = this.max || 100;
25
25
  const step = this.step || 1;
26
- return (index.h(index.Fragment, null, this.description && (index.h("span", { key: 'da13ae51dbb89593f553c2cecac9c5f889e65376', id: "description", hidden: true }, this.description)), index.h("span", { key: '7a244701a0e9a7ccc54c4565644f0a04bd7ea7cc', class: "counter min", "aria-hidden": "true" }, min, this.unit), index.h("input", { key: 'adf4e0ef4b5339f4744a105be76af9bb12087859', type: "range", min: this.min, max: this.max, value: this.value, class: "input", "aria-label": this.label, "aria-describedby": this.description ? "description" : undefined, onChange: (event) => this.dsoChange.emit({
26
+ return (index.h(index.Fragment, null, this.description && (index.h("span", { key: 'd5ecf14f7a8950cde120066a8f8fe9770451cd84', id: "description", hidden: true }, this.description)), index.h("span", { key: '877239f0082c1e2b2254e9bd6e1e01ce1ae10933', class: "counter min", "aria-hidden": "true" }, min, this.unit), index.h("input", { key: 'c5df969a844d7773cebd6f8f97c72fb09aad7f05', type: "range", min: this.min, max: this.max, value: this.value, class: "input", "aria-label": this.label, "aria-describedby": this.description ? "description" : undefined, onChange: (event) => this.dsoChange.emit({
27
27
  originalEvent: event,
28
28
  value: event.target instanceof HTMLInputElement ? parseInt(event.target.value, 10) : undefined,
29
29
  max,
30
30
  min,
31
31
  step,
32
- }) }), index.h("span", { key: '85bef9f227fd222860c83f600f0266447bb9a647', class: "counter max", "aria-hidden": "true" }, max, this.unit)));
32
+ }) }), index.h("span", { key: '29900f5d80966b2ad6be15b81d3895ebe46c287e', class: "counter max", "aria-hidden": "true" }, max, this.unit)));
33
33
  }
34
34
  get host() { return index.getElement(this); }
35
35
  };
@@ -2,12 +2,12 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index$1 = require('./index-56461a0b.js');
5
+ const index$1 = require('./index-ac055dd1.js');
6
6
  const clsx = require('./clsx-fc789adc.js');
7
7
  const index = require('./index-10c6b031.js');
8
- const v4 = require('./v4-c23234d2.js');
8
+ const hasOverflow = require('./has-overflow-2fb1d618.js');
9
9
 
10
- const labelCss = ":host{display:inline-block;max-inline-size:100%}*,*::after,*::before{box-sizing:border-box}.sr-only{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.dso-label{border-radius:4px;display:inline-block;line-height:1.5;max-inline-size:100%;padding:4px 8px}.dso-label:focus-within,.dso-label.dso-hover{text-decoration:line-through}.dso-label button{background:none;border:0;border-radius:0 4px 4px 0;color:inherit;float:inline-end;font-size:1rem;margin-block-end:-4px;margin-inline-start:8px;margin-inline-end:-4px;margin-block-start:0;padding:0}.dso-label button:hover{cursor:pointer}.dso-label button>dso-icon,.dso-label button>svg.di{display:block}.dso-label{background-color:#f2f2f2;border-color:#f2f2f2;color:#191919}.dso-label.dso-label-info{background-color:#6ca4d9;border-color:#6ca4d9;color:#191919}.dso-label.dso-label-primary{background-color:#275937;border-color:#275937;color:#fff}.dso-label.dso-label-success{background-color:#39870c;border-color:#39870c;color:#fff}.dso-label.dso-label-warning{background-color:#dcd400;border-color:#dcd400;color:#191919}.dso-label.dso-label-danger{background-color:#ce3f51;border-color:#ce3f51;color:#fff}.dso-label.dso-label-error{background-color:#ce3f51;border-color:#ce3f51;color:#fff}.dso-label.dso-label-bright{background-color:#fff;border-color:#fff;color:#191919;outline:1px solid #ccc;outline-offset:-1px}.dso-label.dso-label-attention{background-color:#8b4a6a;border-color:#8b4a6a;color:#fff}.dso-label.dso-compact{padding:0 8px}.dso-label.dso-hover .dso-label-content{text-decoration:line-through}.dso-truncate.dso-label-content{display:inline-block;max-inline-size:100%;overflow:hidden;text-overflow:ellipsis;vertical-align:bottom;white-space:nowrap}:host([removable]) .dso-truncate.dso-label-content{max-inline-size:calc(100% - 28px)}";
10
+ const labelCss = ":host{display:inline-block;max-inline-size:100%}*,*::after,*::before{box-sizing:border-box}.sr-only{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.dso-label{border-radius:4px;display:inline-block;line-height:1.5;max-inline-size:100%;padding-block:4px;padding-inline:8px}.dso-label:focus-within,.dso-label.dso-hover{text-decoration:line-through}.dso-label button{background:none;border:0;border-radius:0 4px 4px 0;color:inherit;float:inline-end;font-size:1rem;margin-block-end:-4px;margin-inline-start:8px;margin-inline-end:-4px;margin-block-start:0;padding:0}.dso-label button:hover{cursor:pointer}.dso-label button>dso-icon,.dso-label button>svg.di{display:block}.dso-label{background-color:#f2f2f2;border-color:#f2f2f2;color:#191919}.dso-label.dso-label-info{background-color:#6ca4d9;border-color:#6ca4d9;color:#191919}.dso-label.dso-label-primary{background-color:#275937;border-color:#275937;color:#fff}.dso-label.dso-label-success{background-color:#39870c;border-color:#39870c;color:#fff}.dso-label.dso-label-warning{background-color:#dcd400;border-color:#dcd400;color:#191919}.dso-label.dso-label-danger{background-color:#ce3f51;border-color:#ce3f51;color:#fff}.dso-label.dso-label-error{background-color:#ce3f51;border-color:#ce3f51;color:#fff}.dso-label.dso-label-bright{background-color:#fff;border-color:#fff;color:#191919;outline:1px solid #ccc;outline-offset:-1px}.dso-label.dso-label-attention{background-color:#8b4a6a;border-color:#8b4a6a;color:#fff}.dso-label.dso-compact{padding-block:0;padding-inline:8px}.dso-label.dso-hover .dso-label-content{text-decoration:line-through}.dso-truncate.dso-label-content{display:inline-block;max-inline-size:100%;overflow:hidden;text-overflow:ellipsis;vertical-align:bottom;white-space:nowrap}:host([removable]) .dso-truncate.dso-label-content{max-inline-size:calc(100% - 28px)}";
11
11
  const DsoLabelStyle0 = labelCss;
12
12
 
13
13
  const resizeObserver = new ResizeObserver(index.debounce((entries) => {
@@ -113,13 +113,13 @@ const Label = class {
113
113
  this.isTruncated = false;
114
114
  }
115
115
  render() {
116
- return (index$1.h(index$1.Fragment, { key: 'cbeb665084f6c9ae343ec221c27e7fda24a2215b' }, index$1.h("span", { key: 'e5876df3c31450fdf4b06c988f55cfcab5278220', "aria-describedby": "toggle-anchor", class: clsx.clsx("dso-label", {
116
+ return (index$1.h(index$1.Fragment, { key: '63bab23d605ff8edc1fe6bd2bdac751f890d81f4' }, index$1.h("span", { key: 'c7e6f11ba9be8c3666f335c0a1acd8f0a20a1c90', "aria-describedby": "toggle-anchor", class: clsx.clsx("dso-label", {
117
117
  [`dso-label-${this.status}`]: this.status,
118
118
  "dso-compact": this.compact && !this.removable,
119
119
  "dso-hover": this.removeHover || this.removeFocus,
120
- }) }, index$1.h("slot", { key: '200321159ee7c00f20678f66bd25aadf4ab160d2', name: "symbol" }), index$1.h("span", { key: '17a7ffd2f9f89e301930910ad102a7762a614448', class: clsx.clsx("dso-label-content", {
120
+ }) }, index$1.h("slot", { key: 'b973a7965b5100f9ac28309dd48ffacb44276198', name: "symbol" }), index$1.h("span", { key: 'da0cc9a0f71117144d0e67efe86bc70bf970ee65', class: clsx.clsx("dso-label-content", {
121
121
  "dso-truncate": !!this.truncate,
122
- }), ref: (element) => (this.labelContent = element), tabindex: this.truncate && this.isTruncated ? 0 : undefined, onMouseEnter: () => (this.textHover = true), onMouseLeave: () => (this.textHover = false), onFocus: () => (this.textFocus = true), onBlur: () => (this.textFocus = false) }, index$1.h("slot", { key: '606fdf8fb1b38519741054b3c84fdce6a9af7b3b' })), this.removable && (index$1.h("button", { key: '74d6b6e8c4da368c22aedbd538d4d57112e8834d', type: "button", onClick: (e) => this.dsoRemoveClick.emit(e), onMouseEnter: () => (this.removeHover = true), onMouseLeave: () => (this.removeHover = false), onFocus: () => (this.removeFocus = true), onBlur: () => (this.removeFocus = false) }, index$1.h("span", { key: '84ce4a2c450ed605f4337e098690dd0843023812', class: "sr-only" }, "Verwijder: ", this.labelText), index$1.h("dso-icon", { key: '02e15f5243b78776015f36010bd672f42247dcc8', icon: "times" })))), this.isTruncated && (index$1.h("dso-tooltip", { key: '0480b653c2d490919ccab44cb8ba1dab6e9e608b', stateless: true, id: "toggle-anchor", active: this.textHover || this.textFocus, position: "top", strategy: "absolute" }, this.labelText))));
122
+ }), ref: (element) => (this.labelContent = element), tabindex: this.truncate && this.isTruncated ? 0 : undefined, onMouseEnter: () => (this.textHover = true), onMouseLeave: () => (this.textHover = false), onFocus: () => (this.textFocus = true), onBlur: () => (this.textFocus = false) }, index$1.h("slot", { key: '0a74dc7a557ebae1a0d7a30888fe6716b4bdee72' })), this.removable && (index$1.h("button", { key: '53edfc2ee675a00196afc294fe3f92832074e0b8', type: "button", onClick: (e) => this.dsoRemoveClick.emit(e), onMouseEnter: () => (this.removeHover = true), onMouseLeave: () => (this.removeHover = false), onFocus: () => (this.removeFocus = true), onBlur: () => (this.removeFocus = false) }, index$1.h("span", { key: '4d01d7c7583881847012605dc95633875d8c63c3', class: "sr-only" }, "Verwijder: ", this.labelText), index$1.h("dso-icon", { key: '2c491a534f65603292b65905e17da3cd6c11d00f', icon: "times" })))), this.isTruncated && (index$1.h("dso-tooltip", { key: 'e7a24a236e64f272a694ae81ac9fa6a2442aa2d1', stateless: true, id: "toggle-anchor", active: this.textHover || this.textFocus, position: "top", strategy: "absolute" }, this.labelText))));
123
123
  }
124
124
  get host() { return index$1.getElement(this); }
125
125
  static get watchers() { return {
@@ -129,37 +129,262 @@ const Label = class {
129
129
  };
130
130
  Label.style = DsoLabelStyle0;
131
131
 
132
- const slideToggleCss = "button.dso-slider{border:0;padding:0}button.dso-slider:focus-visible{outline:2px solid #323232;outline-offset:1px}button.dso-slider svg rect{fill:#999;transition:fill 0.25s}button.dso-slider svg circle{transition:transform 260ms cubic-bezier(0.4, 0, 0.2, 1);transform:translateX(10px);fill:#fff}button.dso-slider[aria-checked=true] svg rect{fill:#275937}button.dso-slider[aria-checked=true] svg circle{transform:translateX(30px);fill:#fff}button.dso-slider[disabled] svg rect{fill:#ccc}button.dso-slider[disabled] svg circle{fill:#e5e5e5}button.dso-slider[disabled][aria-checked=true] svg rect{fill:#a8bcaf}button.dso-slider[disabled][aria-checked=true] svg circle{fill:#e5e5e5}.dso-slider{border-radius:24px;display:inline-flex}.dso-slider:hover{cursor:pointer}";
133
- const DsoSlideToggleStyle0 = slideToggleCss;
132
+ var maxSize = {
133
+ name: 'maxSize',
134
+ enabled: true,
135
+ phase: 'main',
136
+ requiresIfExists: ['offset', 'preventOverflow', 'flip'],
137
+ fn: function fn(_ref) {
138
+ var state = _ref.state,
139
+ name = _ref.name,
140
+ options = _ref.options;
141
+ var overflow = hasOverflow.detectOverflow(state, options);
134
142
 
135
- const SlideToggle = class {
143
+ var _ref2 = state.modifiersData.preventOverflow || {
144
+ x: 0,
145
+ y: 0
146
+ },
147
+ x = _ref2.x,
148
+ y = _ref2.y;
149
+
150
+ var _state$rects$popper = state.rects.popper,
151
+ width = _state$rects$popper.width,
152
+ height = _state$rects$popper.height;
153
+
154
+ var _state$placement$spli = state.placement.split('-'),
155
+ basePlacement = _state$placement$spli[0];
156
+
157
+ var widthProp = basePlacement === 'left' ? 'left' : 'right';
158
+ var heightProp = basePlacement === 'top' ? 'top' : 'bottom';
159
+ state.modifiersData[name] = {
160
+ width: width - overflow[widthProp] - x,
161
+ height: height - overflow[heightProp] - y
162
+ };
163
+ }
164
+ };
165
+
166
+ const tooltipCss = ":host(.hidden){visibility:hidden}*,*::after,*::before{box-sizing:border-box}.tooltip{font-family:Asap, sans-serif;font-style:normal;font-weight:400;line-height:1.5;line-break:auto;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-break:break-word;word-spacing:normal;word-wrap:normal;white-space:normal;--link-color:#39870c;display:block;filter:drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));font-size:14px;opacity:0;position:absolute;transition:opacity 0.15s linear;z-index:410}.tooltip.in{opacity:1}.tooltip .tooltip-inner{background-color:#fff;border-radius:4px;color:#191919;display:inline-block;font-size:1rem;max-inline-size:640px;padding-block:8px;padding-inline:16px;position:relative}.tooltip .tooltip-inner.dso-small{max-inline-size:320px}.tooltip .tooltip-arrow{border-color:transparent;border-style:solid;block-size:0;inline-size:0}.tooltip[data-popper-placement=top]{margin-block-start:-3px;padding-block:6px;padding-inline:0}.tooltip[data-popper-placement=top] .tooltip-arrow{inset-block-end:0;border-block-start-color:#fff;border-width:6px;border-block-end-width:0;margin-inline-start:var(--tooltip-margin-inline-start, -3px)}.tooltip[data-popper-placement=right]{margin-inline-start:3px;padding-block:0;padding-inline:6px}.tooltip[data-popper-placement=right] .tooltip-arrow{inset-inline-start:0;border-inline-end-color:#fff;border-width:6px;border-inline-start-width:0;margin-block-start:var(--tooltip-margin-block-start, -3px)}.tooltip[data-popper-placement=bottom]{margin-block-start:3px;padding-block:6px;padding-inline:0}.tooltip[data-popper-placement=bottom] .tooltip-arrow{inset-block-start:0;border-block-end-color:#fff;border-width:6px;border-block-start-width:0;margin-inline-start:var(--tooltip-margin-inline-start, -3px)}.tooltip[data-popper-placement=left]{margin-inline-start:-3px;margin-inline-end:var(--tooltip-margin-inline-end, unset);padding-block:0;padding-inline:6px}.tooltip[data-popper-placement=left] .tooltip-arrow{inset-inline-end:0;border-inline-start-color:#fff;border-width:6px;border-inline-end-width:0;margin-block-start:var(--tooltip-margin-block-start, -3px)}";
167
+ const DsoTooltipStyle0 = tooltipCss;
168
+
169
+ var __classPrivateFieldGet = (undefined && undefined.__classPrivateFieldGet) || function (receiver, state, kind, f) {
170
+ if (kind === "a" && !f)
171
+ throw new TypeError("Private accessor was defined without a getter");
172
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
173
+ throw new TypeError("Cannot read private member from an object whose class did not declare it");
174
+ return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
175
+ };
176
+ var __classPrivateFieldSet = (undefined && undefined.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {
177
+ if (kind === "m")
178
+ throw new TypeError("Private method is not writable");
179
+ if (kind === "a" && !f)
180
+ throw new TypeError("Private accessor was defined without a setter");
181
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
182
+ throw new TypeError("Cannot write private member to an object whose class did not declare it");
183
+ return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
184
+ };
185
+ var _Tooltip_target;
186
+ // Keep const in sync with $tooltip-transition-duration in dso-toolkit/src/components/tooltip/tooltip.scss tooltip_root() mixin
187
+ const transitionDuration = 150;
188
+ const applyMaxSize = {
189
+ name: "applyMaxSize",
190
+ enabled: true,
191
+ phase: hasOverflow.beforeWrite,
192
+ requires: ["maxSize"],
193
+ fn({ state }) {
194
+ let { width } = state.modifiersData.maxSize;
195
+ if (width < 160) {
196
+ width = 160;
197
+ }
198
+ state.styles.popper = Object.assign(Object.assign({}, state.styles.popper), { maxWidth: `${width}px` });
199
+ },
200
+ };
201
+ const Tooltip = class {
136
202
  constructor(hostRef) {
137
203
  index$1.registerInstance(this, hostRef);
138
- this.dsoActiveChange = index$1.createEvent(this, "dsoActiveChange", 5);
139
- this.checked = false;
140
- this.disabled = false;
141
- this.accessibleLabel = undefined;
142
- this.labelledbyId = undefined;
143
- this.hasVisibleLabel = undefined;
144
- this.identifier = v4.v4();
145
- }
146
- handleSwitch(e) {
147
- this.dsoActiveChange.emit({
148
- originalEvent: e,
149
- checked: !this.checked,
204
+ this.callbacks = {
205
+ activate: () => (this.active = true),
206
+ deactivate: () => (this.active = false),
207
+ };
208
+ this.onMouseLeave = () => {
209
+ var _a;
210
+ if (!this.element.matches(":hover") && !((_a = this.target) === null || _a === void 0 ? void 0 : _a.matches(":hover"))) {
211
+ this.callbacks.deactivate();
212
+ }
213
+ };
214
+ this.keyDownListener = (event) => {
215
+ if (event.key === "Escape") {
216
+ this.deactivate();
217
+ }
218
+ };
219
+ this.deactivatePopper = index.debounce(() => {
220
+ var _a;
221
+ this.hidden = true;
222
+ (_a = this.popper) === null || _a === void 0 ? void 0 : _a.destroy();
223
+ this.popper = undefined;
224
+ }, transitionDuration);
225
+ _Tooltip_target.set(this, void 0);
226
+ this.descriptive = false;
227
+ this.position = "top";
228
+ this.strategy = "auto";
229
+ this.noArrow = false;
230
+ this.stateless = undefined;
231
+ this.small = undefined;
232
+ this.active = false;
233
+ this.hidden = true;
234
+ }
235
+ /**
236
+ * Activate the tooltip (Sets the `active` attribute)
237
+ */
238
+ async activate() {
239
+ this.active = true;
240
+ }
241
+ /**
242
+ * Deactivate the tooltip (Removes the `active` attribute)
243
+ */
244
+ async deactivate() {
245
+ this.active = false;
246
+ }
247
+ watchPosition() {
248
+ if (!this.popper) {
249
+ return;
250
+ }
251
+ this.popper.setOptions({
252
+ placement: this.position,
150
253
  });
151
254
  }
152
- componentWillLoad() {
153
- this.hasVisibleLabel = this.host.querySelector("*") !== null;
255
+ watchStrategy() {
256
+ this.setStrategy();
257
+ }
258
+ setStrategy() {
259
+ if (!this.popper) {
260
+ return;
261
+ }
262
+ if (this.strategy === "absolute" || this.strategy === "fixed") {
263
+ this.popper.setOptions({
264
+ strategy: this.strategy,
265
+ });
266
+ return;
267
+ }
268
+ let element = this.element;
269
+ while (element && element.parentNode !== document) {
270
+ element = element.parentNode instanceof ShadowRoot ? element.parentNode.host : element.parentElement;
271
+ if (element !== null && hasOverflow.hasOverflow(element)) {
272
+ this.popper.setOptions({
273
+ strategy: "fixed",
274
+ });
275
+ return;
276
+ }
277
+ }
278
+ this.popper.setOptions({
279
+ strategy: "absolute",
280
+ });
281
+ }
282
+ watchActive() {
283
+ if (this.active) {
284
+ this.activatePopper();
285
+ if (!this.stateless) {
286
+ setTimeout(() => {
287
+ var _a;
288
+ (_a = this.popper) === null || _a === void 0 ? void 0 : _a.setOptions({
289
+ modifiers: [{ name: "eventListeners", enabled: true }],
290
+ });
291
+ document.addEventListener("keydown", this.keyDownListener);
292
+ });
293
+ }
294
+ }
295
+ else {
296
+ document.removeEventListener("keydown", this.keyDownListener);
297
+ this.deactivatePopper();
298
+ }
299
+ }
300
+ listenClick(e) {
301
+ e.stopPropagation();
302
+ }
303
+ componentDidLoad() {
304
+ var _a;
305
+ const tooltip = (_a = this.element.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector(".tooltip");
306
+ if (!(tooltip instanceof HTMLElement)) {
307
+ throw new Error("tooltip element is not instanceof HTMLElement");
308
+ }
309
+ if (!this.stateless && this.target) {
310
+ this.target.addEventListener("mouseenter", this.callbacks.activate);
311
+ [this.element, this.target].forEach((element) => element.addEventListener("mouseleave", this.onMouseLeave));
312
+ this.target.addEventListener("focus", this.callbacks.activate);
313
+ this.target.addEventListener("blur", this.callbacks.deactivate);
314
+ }
315
+ }
316
+ disconnectedCallback() {
317
+ var _a;
318
+ (_a = this.popper) === null || _a === void 0 ? void 0 : _a.destroy();
319
+ if (!this.stateless && this.target) {
320
+ this.target.removeEventListener("mouseenter", this.callbacks.activate);
321
+ [this.element, this.target].forEach((element) => element.removeEventListener("mouseleave", this.onMouseLeave));
322
+ this.target.removeEventListener("focus", this.callbacks.activate);
323
+ this.target.removeEventListener("blur", this.callbacks.deactivate);
324
+ }
325
+ this.target = undefined;
326
+ }
327
+ componentDidRender() {
328
+ var _a;
329
+ if (this.active) {
330
+ (_a = this.popper) === null || _a === void 0 ? void 0 : _a.update();
331
+ }
154
332
  }
155
333
  render() {
156
- return (index$1.h(index$1.Fragment, null, index$1.h("button", Object.assign({ key: '2f041ba46888fc7f12eca25309eedaf6f92509f5', id: this.identifier, role: "switch", class: "dso-slider", "aria-checked": "" + this.checked, disabled: this.disabled, onClick: (e) => this.handleSwitch(e) }, (this.accessibleLabel ? { "aria-label": this.accessibleLabel } : {}), (this.labelledbyId ? { "aria-labelledby": this.labelledbyId } : {})), index$1.h("svg", { key: '2028e621c3dfd4d6751044eeeb5a887fd196476d', xmlns: "http://www.w3.org/2000/svg", width: "40", height: "20", viewBox: "0 0 40 20" }, index$1.h("g", { key: 'f610a403b34591b0fb0571d191430749cff28c64', fill: "none", "fill-rule": "evenodd" }, index$1.h("rect", { key: '734939934ef6152a5961262abe5f6454a7e72780', width: "40", height: "20", fill: "currentColor", rx: "10" }), index$1.h("circle", { key: '3d603a04e5d2d0c741317188dd0f2f612223d585', cy: "10", r: "8", fill: "currentColor" })))), this.hasVisibleLabel && (index$1.h("label", { key: '66c9f4d20e3bbe2855a718cac3583b68dd907b8c', htmlFor: this.identifier }, index$1.h("slot", { key: '408fda225c63c407acbeb341761c2ab86851a3bc' })))));
334
+ return (index$1.h(index$1.Host, { key: '46cf85f470ba4a74966d0c792ae81c11efa39808', class: { hidden: this.hidden }, role: "tooltip", onClick: this.listenClick }, index$1.h("div", { key: 'ec613cea1d402473b442a79abada1b2c7ef7b245', class: clsx.clsx("tooltip", { in: this.active }) }, !this.noArrow && index$1.h("div", { key: '2be32f7acb19152aaf933c275fedc1ba6d9563d1', "data-popper-arrow": true, class: "tooltip-arrow" }), index$1.h("div", { key: '6d791bcb763d0eccc54875f8a51fad4f90c8387d', "aria-hidden": !this.descriptive || undefined, class: clsx.clsx("tooltip-inner", { "dso-small": this.small }) }, index$1.h("slot", { key: '89f68418f41bd6163492165ecd88087ad78d26b6' })))));
157
335
  }
158
- get host() { return index$1.getElement(this); }
336
+ activatePopper() {
337
+ var _a;
338
+ this.hidden = false;
339
+ if (this.popper) {
340
+ return;
341
+ }
342
+ const tooltip = (_a = this.element.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector(".tooltip");
343
+ if (this.target && tooltip instanceof HTMLElement) {
344
+ this.popper = hasOverflow.createPopper(this.target, tooltip, {
345
+ placement: this.position,
346
+ modifiers: [maxSize, applyMaxSize, { name: "eventListeners", enabled: false }],
347
+ });
348
+ this.setStrategy();
349
+ }
350
+ }
351
+ get target() {
352
+ var _a;
353
+ return (_a = __classPrivateFieldGet(this, _Tooltip_target, "f")) !== null && _a !== void 0 ? _a : this.initializeTarget();
354
+ }
355
+ set target(element) {
356
+ __classPrivateFieldSet(this, _Tooltip_target, element, "f");
357
+ }
358
+ initializeTarget() {
359
+ const id = this.element.id;
360
+ if (!id) {
361
+ console.warn("Unable to find reference tooltip has no [id] attribute.");
362
+ return;
363
+ }
364
+ const rootNode = this.element.getRootNode();
365
+ if (!(rootNode instanceof Document || rootNode instanceof ShadowRoot)) {
366
+ console.warn(`rootNode is not instance of Document or ShadowRoot`);
367
+ return;
368
+ }
369
+ const reference = rootNode.querySelector(`[aria-describedBy="${id}`);
370
+ if (!reference) {
371
+ console.warn(`Unable to find reference with aria-describedby ${id}`);
372
+ return;
373
+ }
374
+ __classPrivateFieldSet(this, _Tooltip_target, reference, "f");
375
+ return reference;
376
+ }
377
+ get element() { return index$1.getElement(this); }
378
+ static get watchers() { return {
379
+ "position": ["watchPosition"],
380
+ "strategy": ["watchStrategy"],
381
+ "active": ["watchActive"]
382
+ }; }
159
383
  };
160
- SlideToggle.style = DsoSlideToggleStyle0;
384
+ _Tooltip_target = new WeakMap();
385
+ Tooltip.style = DsoTooltipStyle0;
161
386
 
162
387
  exports.dso_label = Label;
163
- exports.dso_slide_toggle = SlideToggle;
388
+ exports.dso_tooltip = Tooltip;
164
389
 
165
390
  //# sourceMappingURL=dso-label_2.cjs.entry.js.map