@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
@@ -1,263 +0,0 @@
1
- import { r as registerInstance, h, H as Host, a as getElement } from './index-93de4a35.js';
2
- import { d as detectOverflow, h as hasOverflow, c as createPopper, b as beforeWrite } from './has-overflow-6d7f3a71.js';
3
- import { c as clsx } from './clsx-297c1ffe.js';
4
- import { d as debounce } from './index-bbc2933c.js';
5
-
6
- var maxSize = {
7
- name: 'maxSize',
8
- enabled: true,
9
- phase: 'main',
10
- requiresIfExists: ['offset', 'preventOverflow', 'flip'],
11
- fn: function fn(_ref) {
12
- var state = _ref.state,
13
- name = _ref.name,
14
- options = _ref.options;
15
- var overflow = detectOverflow(state, options);
16
-
17
- var _ref2 = state.modifiersData.preventOverflow || {
18
- x: 0,
19
- y: 0
20
- },
21
- x = _ref2.x,
22
- y = _ref2.y;
23
-
24
- var _state$rects$popper = state.rects.popper,
25
- width = _state$rects$popper.width,
26
- height = _state$rects$popper.height;
27
-
28
- var _state$placement$spli = state.placement.split('-'),
29
- basePlacement = _state$placement$spli[0];
30
-
31
- var widthProp = basePlacement === 'left' ? 'left' : 'right';
32
- var heightProp = basePlacement === 'top' ? 'top' : 'bottom';
33
- state.modifiersData[name] = {
34
- width: width - overflow[widthProp] - x,
35
- height: height - overflow[heightProp] - y
36
- };
37
- }
38
- };
39
-
40
- 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)}";
41
- const DsoTooltipStyle0 = tooltipCss;
42
-
43
- var __classPrivateFieldGet = (undefined && undefined.__classPrivateFieldGet) || function (receiver, state, kind, f) {
44
- if (kind === "a" && !f)
45
- throw new TypeError("Private accessor was defined without a getter");
46
- if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
47
- throw new TypeError("Cannot read private member from an object whose class did not declare it");
48
- return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
49
- };
50
- var __classPrivateFieldSet = (undefined && undefined.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {
51
- if (kind === "m")
52
- throw new TypeError("Private method is not writable");
53
- if (kind === "a" && !f)
54
- throw new TypeError("Private accessor was defined without a setter");
55
- if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
56
- throw new TypeError("Cannot write private member to an object whose class did not declare it");
57
- return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
58
- };
59
- var _Tooltip_target;
60
- // Keep const in sync with $tooltip-transition-duration in dso-toolkit/src/components/tooltip/tooltip.scss tooltip_root() mixin
61
- const transitionDuration = 150;
62
- const applyMaxSize = {
63
- name: "applyMaxSize",
64
- enabled: true,
65
- phase: beforeWrite,
66
- requires: ["maxSize"],
67
- fn({ state }) {
68
- let { width } = state.modifiersData.maxSize;
69
- if (width < 160) {
70
- width = 160;
71
- }
72
- state.styles.popper = Object.assign(Object.assign({}, state.styles.popper), { maxWidth: `${width}px` });
73
- },
74
- };
75
- const Tooltip = class {
76
- constructor(hostRef) {
77
- registerInstance(this, hostRef);
78
- this.callbacks = {
79
- activate: () => (this.active = true),
80
- deactivate: () => (this.active = false),
81
- };
82
- this.onMouseLeave = () => {
83
- var _a;
84
- if (!this.element.matches(":hover") && !((_a = this.target) === null || _a === void 0 ? void 0 : _a.matches(":hover"))) {
85
- this.callbacks.deactivate();
86
- }
87
- };
88
- this.keyDownListener = (event) => {
89
- if (event.key === "Escape") {
90
- this.deactivate();
91
- }
92
- };
93
- this.deactivatePopper = debounce(() => {
94
- var _a;
95
- this.hidden = true;
96
- (_a = this.popper) === null || _a === void 0 ? void 0 : _a.destroy();
97
- this.popper = undefined;
98
- }, transitionDuration);
99
- _Tooltip_target.set(this, void 0);
100
- this.descriptive = false;
101
- this.position = "top";
102
- this.strategy = "auto";
103
- this.noArrow = false;
104
- this.stateless = undefined;
105
- this.small = undefined;
106
- this.active = false;
107
- this.hidden = true;
108
- }
109
- /**
110
- * Activate the tooltip (Sets the `active` attribute)
111
- */
112
- async activate() {
113
- this.active = true;
114
- }
115
- /**
116
- * Deactivate the tooltip (Removes the `active` attribute)
117
- */
118
- async deactivate() {
119
- this.active = false;
120
- }
121
- watchPosition() {
122
- if (!this.popper) {
123
- return;
124
- }
125
- this.popper.setOptions({
126
- placement: this.position,
127
- });
128
- }
129
- watchStrategy() {
130
- this.setStrategy();
131
- }
132
- setStrategy() {
133
- if (!this.popper) {
134
- return;
135
- }
136
- if (this.strategy === "absolute" || this.strategy === "fixed") {
137
- this.popper.setOptions({
138
- strategy: this.strategy,
139
- });
140
- return;
141
- }
142
- let element = this.element;
143
- while (element && element.parentNode !== document) {
144
- element = element.parentNode instanceof ShadowRoot ? element.parentNode.host : element.parentElement;
145
- if (element !== null && hasOverflow(element)) {
146
- this.popper.setOptions({
147
- strategy: "fixed",
148
- });
149
- return;
150
- }
151
- }
152
- this.popper.setOptions({
153
- strategy: "absolute",
154
- });
155
- }
156
- watchActive() {
157
- if (this.active) {
158
- this.activatePopper();
159
- if (!this.stateless) {
160
- setTimeout(() => {
161
- var _a;
162
- (_a = this.popper) === null || _a === void 0 ? void 0 : _a.setOptions({
163
- modifiers: [{ name: "eventListeners", enabled: true }],
164
- });
165
- document.addEventListener("keydown", this.keyDownListener);
166
- });
167
- }
168
- }
169
- else {
170
- document.removeEventListener("keydown", this.keyDownListener);
171
- this.deactivatePopper();
172
- }
173
- }
174
- listenClick(e) {
175
- e.stopPropagation();
176
- }
177
- componentDidLoad() {
178
- var _a;
179
- const tooltip = (_a = this.element.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector(".tooltip");
180
- if (!(tooltip instanceof HTMLElement)) {
181
- throw new Error("tooltip element is not instanceof HTMLElement");
182
- }
183
- if (!this.stateless && this.target) {
184
- this.target.addEventListener("mouseenter", this.callbacks.activate);
185
- [this.element, this.target].forEach((element) => element.addEventListener("mouseleave", this.onMouseLeave));
186
- this.target.addEventListener("focus", this.callbacks.activate);
187
- this.target.addEventListener("blur", this.callbacks.deactivate);
188
- }
189
- }
190
- disconnectedCallback() {
191
- var _a;
192
- (_a = this.popper) === null || _a === void 0 ? void 0 : _a.destroy();
193
- if (!this.stateless && this.target) {
194
- this.target.removeEventListener("mouseenter", this.callbacks.activate);
195
- [this.element, this.target].forEach((element) => element.removeEventListener("mouseleave", this.onMouseLeave));
196
- this.target.removeEventListener("focus", this.callbacks.activate);
197
- this.target.removeEventListener("blur", this.callbacks.deactivate);
198
- }
199
- this.target = undefined;
200
- }
201
- componentDidRender() {
202
- var _a;
203
- if (this.active) {
204
- (_a = this.popper) === null || _a === void 0 ? void 0 : _a.update();
205
- }
206
- }
207
- render() {
208
- return (h(Host, { key: 'fd48b15259f0664acd2d02e178e4aad8dbfa5443', class: { hidden: this.hidden }, role: "tooltip", onClick: this.listenClick }, h("div", { key: 'e3c788cffc5e0ce2d5bad2dea9a34467963fafb6', class: clsx("tooltip", { in: this.active }) }, !this.noArrow && h("div", { key: '87d8596336c3434dee80c7396e0f6c728d91c8d0', "data-popper-arrow": true, class: "tooltip-arrow" }), h("div", { key: 'db3949a60f9943c4420d2bdf3bf51a55e8be044d', "aria-hidden": !this.descriptive || undefined, class: clsx("tooltip-inner", { "dso-small": this.small }) }, h("slot", { key: '62421c1d6fe39a5ea4a86cf4227b56e87b3c8565' })))));
209
- }
210
- activatePopper() {
211
- var _a;
212
- this.hidden = false;
213
- if (this.popper) {
214
- return;
215
- }
216
- const tooltip = (_a = this.element.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector(".tooltip");
217
- if (this.target && tooltip instanceof HTMLElement) {
218
- this.popper = createPopper(this.target, tooltip, {
219
- placement: this.position,
220
- modifiers: [maxSize, applyMaxSize, { name: "eventListeners", enabled: false }],
221
- });
222
- this.setStrategy();
223
- }
224
- }
225
- get target() {
226
- var _a;
227
- return (_a = __classPrivateFieldGet(this, _Tooltip_target, "f")) !== null && _a !== void 0 ? _a : this.initializeTarget();
228
- }
229
- set target(element) {
230
- __classPrivateFieldSet(this, _Tooltip_target, element, "f");
231
- }
232
- initializeTarget() {
233
- const id = this.element.id;
234
- if (!id) {
235
- console.warn("Unable to find reference tooltip has no [id] attribute.");
236
- return;
237
- }
238
- const rootNode = this.element.getRootNode();
239
- if (!(rootNode instanceof Document || rootNode instanceof ShadowRoot)) {
240
- console.warn(`rootNode is not instance of Document or ShadowRoot`);
241
- return;
242
- }
243
- const reference = rootNode.querySelector(`[aria-describedBy="${id}`);
244
- if (!reference) {
245
- console.warn(`Unable to find reference with aria-describedby ${id}`);
246
- return;
247
- }
248
- __classPrivateFieldSet(this, _Tooltip_target, reference, "f");
249
- return reference;
250
- }
251
- get element() { return getElement(this); }
252
- static get watchers() { return {
253
- "position": ["watchPosition"],
254
- "strategy": ["watchStrategy"],
255
- "active": ["watchActive"]
256
- }; }
257
- };
258
- _Tooltip_target = new WeakMap();
259
- Tooltip.style = DsoTooltipStyle0;
260
-
261
- export { Tooltip as dso_tooltip };
262
-
263
- //# sourceMappingURL=dso-tooltip.entry.js.map
@@ -1 +0,0 @@
1
- {"file":"dso-tooltip.entry.js","mappings":";;;;;AAEA,IAAI,OAAO,GAAG;AACd,EAAE,IAAI,EAAE,SAAS;AACjB,EAAE,OAAO,EAAE,IAAI;AACf,EAAE,KAAK,EAAE,MAAM;AACf,EAAE,gBAAgB,EAAE,CAAC,QAAQ,EAAE,iBAAiB,EAAE,MAAM,CAAC;AACzD,EAAE,EAAE,EAAE,SAAS,EAAE,CAAC,IAAI,EAAE;AACxB,IAAI,IAAI,KAAK,GAAG,IAAI,CAAC,KAAK;AAC1B,QAAQ,IAAI,GAAG,IAAI,CAAC,IAAI;AACxB,QAAQ,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC;AAC/B,IAAI,IAAI,QAAQ,GAAG,cAAc,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;AAClD;AACA,IAAI,IAAI,KAAK,GAAG,KAAK,CAAC,aAAa,CAAC,eAAe,IAAI;AACvD,MAAM,CAAC,EAAE,CAAC;AACV,MAAM,CAAC,EAAE,CAAC;AACV,KAAK;AACL,QAAQ,CAAC,GAAG,KAAK,CAAC,CAAC;AACnB,QAAQ,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC;AACpB;AACA,IAAI,IAAI,mBAAmB,GAAG,KAAK,CAAC,KAAK,CAAC,MAAM;AAChD,QAAQ,KAAK,GAAG,mBAAmB,CAAC,KAAK;AACzC,QAAQ,MAAM,GAAG,mBAAmB,CAAC,MAAM,CAAC;AAC5C;AACA,IAAI,IAAI,qBAAqB,GAAG,KAAK,CAAC,SAAS,CAAC,KAAK,CAAC,GAAG,CAAC;AAC1D,QAAQ,aAAa,GAAG,qBAAqB,CAAC,C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EH,IAAI,CAAC,WAAW,EAAE,CAAC;SACpB;KACF;IAED,IAAY,MAAM;;QAChB,OAAO,MAAA,uBAAA,IAAI,uBAAQ,mCAAI,IAAI,CAAC,gBAAgB,EAAE,CAAC;KAChD;IAED,IAAY,MAAM,CAAC,OAAgC;QACjD,uBAAA,IAAI,mBAAW,OAAO,MAAA,CAAC;KACxB;IAIO,gBAAgB;QACtB,MAAM,EAAE,GAAG,IAAI,CAAC,OAAO,CAAC,EAAE,CAAC;QAE3B,IAAI,CAAC,EAAE,EAAE;YACP,OAAO,CAAC,IAAI,CAAC,yDAAyD,CAAC,CAAC;YAExE,OAAO;SACR;QAED,MAAM,QAAQ,GAAG,IAAI,CAAC,OAAO,CAAC,WAAW,EAAE,CAAC;QAC5C,IAAI,EAAE,QAAQ,YAAY,QAAQ,IAAI,QAAQ,YAAY,UAAU,CAAC,EAAE;YACrE,OAAO,CAAC,IAAI,CAAC,oDAAoD,CAAC,CAAC;YAEnE,OAAO;SACR;QAED,MAAM,SAAS,GAAG,QAAQ,CAAC,aAAa,CAAc,sBAAsB,EAAE,EAAE,CAAC,CAAC;QAClF,IAAI,CAAC,SAAS,EAAE;YACd,OAAO,CAAC,IAAI,CAAC,kDAAkD,EAAE,EAAE,CAAC,CAAC;YAErE,OAAO;SACR;QAED,uBAAA,IAAI,mBAAW,SAAS,MAAA,CAAC;QACzB,OAAO,SAAS,CAAC;KAClB;;;;;;;;;;;;;","names":[],"sources":["../../node_modules/popper-max-size-modifier/dist/popper-max-size-modifier.esm.js","src/components/tooltip/tooltip.scss?tag=dso-tooltip&encapsulation=shadow","src/components/tooltip/tooltip.tsx"],"sourcesContent":["import { detectOverflow } from '@popperjs/core';\n\nvar maxSize = {\n name: 'maxSize',\n enabled: true,\n phase: 'main',\n requiresIfExists: ['offset', 'preventOverflow', 'flip'],\n fn: function fn(_ref) {\n var state = _ref.state,\n name = _ref.name,\n options = _ref.options;\n var overflow = detectOverflow(state, options);\n\n var _ref2 = state.modifiersData.preventOverflow || {\n x: 0,\n y: 0\n },\n x = _ref2.x,\n y = _ref2.y;\n\n var _state$rects$popper = state.rects.popper,\n width = _state$rects$popper.width,\n height = _state$rects$popper.height;\n\n var _state$placement$spli = state.placement.split('-'),\n basePlacement = _state$placement$spli[0];\n\n var widthProp = basePlacement === 'left' ? 'left' : 'right';\n var heightProp = basePlacement === 'top' ? 'top' : 'bottom';\n state.modifiersData[name] = {\n width: width - overflow[widthProp] - x,\n height: height - overflow[heightProp] - y\n };\n }\n};\n\nexport default maxSize;\n","@use \"~dso-toolkit/src/utilities\";\r\n@use \"~dso-toolkit/src/variables/colors\";\r\n@use \"~dso-toolkit/src/variables/typography\";\r\n@use \"~dso-toolkit/src/variables/units\";\r\n@use \"~dso-toolkit/src/variables/zindex\";\r\n\r\n@use \"tooltip.variables\" as tooltip-variables;\r\n\r\n:host(.hidden) {\r\n visibility: hidden;\r\n}\r\n\r\n@include utilities.box-sizing();\r\n\r\n.tooltip {\r\n font-family: typography.$font-family-base;\r\n // We deliberately do NOT reset font-size.\r\n font-style: normal;\r\n font-weight: 400;\r\n line-height: typography.$line-height-base;\r\n line-break: auto;\r\n text-align: start;\r\n text-decoration: none;\r\n text-shadow: none;\r\n text-transform: none;\r\n letter-spacing: normal;\r\n word-break: break-word;\r\n word-spacing: normal;\r\n word-wrap: normal;\r\n white-space: normal;\r\n\r\n --link-color: #{colors.$grasgroen};\r\n\r\n display: block;\r\n filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));\r\n font-size: typography.$font-size-small;\r\n opacity: 0;\r\n position: absolute;\r\n transition: opacity tooltip-variables.$transition-duration linear;\r\n z-index: zindex.$tooltip;\r\n\r\n &.in {\r\n opacity: tooltip-variables.$opacity;\r\n }\r\n\r\n .tooltip-inner {\r\n background-color: colors.$wit;\r\n border-radius: tooltip-variables.$border-radius;\r\n color: colors.$grijs-90;\r\n display: inline-block;\r\n font-size: typography.$root-font-size-base;\r\n max-inline-size: tooltip-variables.$max-inline-size;\r\n padding-block: tooltip-variables.$padding-block;\r\n padding-inline: tooltip-variables.$padding-inline;\r\n position: relative;\r\n\r\n &.dso-small {\r\n max-inline-size: tooltip-variables.$max-inline-size-small;\r\n }\r\n }\r\n\r\n .tooltip-arrow {\r\n border-color: transparent;\r\n border-style: solid;\r\n block-size: 0;\r\n inline-size: 0;\r\n }\r\n\r\n &[data-popper-placement=\"top\"] {\r\n margin-block-start: -3px;\r\n padding-block: tooltip-variables.$arrow-inline-size;\r\n padding-inline: 0;\r\n\r\n .tooltip-arrow {\r\n inset-block-end: 0;\r\n border-block-start-color: tooltip-variables.$arrow-color;\r\n border-width: tooltip-variables.$arrow-inline-size;\r\n border-block-end-width: 0;\r\n margin-inline-start: var(--tooltip-margin-inline-start, tooltip-variables.$arrow-margin * -1);\r\n }\r\n }\r\n\r\n &[data-popper-placement=\"right\"] {\r\n margin-inline-start: 3px;\r\n padding-block: 0;\r\n padding-inline: tooltip-variables.$arrow-inline-size;\r\n\r\n .tooltip-arrow {\r\n inset-inline-start: 0;\r\n border-inline-end-color: tooltip-variables.$arrow-color;\r\n border-width: tooltip-variables.$arrow-inline-size;\r\n border-inline-start-width: 0;\r\n margin-block-start: var(--tooltip-margin-block-start, tooltip-variables.$arrow-margin * -1);\r\n }\r\n }\r\n\r\n &[data-popper-placement=\"bottom\"] {\r\n margin-block-start: 3px;\r\n padding-block: tooltip-variables.$arrow-inline-size;\r\n padding-inline: 0;\r\n\r\n .tooltip-arrow {\r\n inset-block-start: 0;\r\n border-block-end-color: tooltip-variables.$arrow-color;\r\n border-width: tooltip-variables.$arrow-inline-size;\r\n border-block-start-width: 0;\r\n margin-inline-start: var(--tooltip-margin-inline-start, tooltip-variables.$arrow-margin * -1);\r\n }\r\n }\r\n\r\n &[data-popper-placement=\"left\"] {\r\n margin-inline-start: -3px;\r\n margin-inline-end: var(--tooltip-margin-inline-end, unset);\r\n padding-block: 0;\r\n padding-inline: tooltip-variables.$arrow-inline-size;\r\n\r\n .tooltip-arrow {\r\n inset-inline-end: 0;\r\n border-inline-start-color: tooltip-variables.$arrow-color;\r\n border-width: tooltip-variables.$arrow-inline-size;\r\n border-inline-end-width: 0;\r\n margin-block-start: var(--tooltip-margin-block-start, tooltip-variables.$arrow-margin * -1);\r\n }\r\n }\r\n}\r\n","import { beforeWrite, createPopper, Instance as PopperInstance, Placement, State as PopperState } from \"@popperjs/core\";\r\nimport maxSize from \"popper-max-size-modifier\";\r\nimport { h, Component, Element, Host, Method, Prop, State, Watch } from \"@stencil/core\";\r\nimport clsx from \"clsx\";\r\nimport { hasOverflow } from \"../../utils/has-overflow\";\r\nimport debounce from \"debounce\";\r\n\r\n// Keep const in sync with $tooltip-transition-duration in dso-toolkit/src/components/tooltip/tooltip.scss tooltip_root() mixin\r\nconst transitionDuration = 150;\r\n\r\nconst applyMaxSize = {\r\n name: \"applyMaxSize\",\r\n enabled: true,\r\n phase: beforeWrite,\r\n requires: [\"maxSize\"],\r\n fn({ state }: { state: PopperState }) {\r\n let { width } = state.modifiersData.maxSize;\r\n if (width < 160) {\r\n width = 160;\r\n }\r\n\r\n state.styles.popper = {\r\n ...state.styles.popper,\r\n maxWidth: `${width}px`,\r\n };\r\n },\r\n};\r\n\r\n@Component({\r\n tag: \"dso-tooltip\",\r\n styleUrl: \"tooltip.scss\",\r\n shadow: true,\r\n})\r\nexport class Tooltip {\r\n /**\r\n * Defines if the tooltip is descriptive. A descriptive tooltip contains a meaningful message. Tooltips that are not descriptive are hidden from screenreaders using `aria-hidden`.\r\n */\r\n @Prop({\r\n reflect: true,\r\n })\r\n descriptive = false;\r\n\r\n /**\r\n * Set position of tooltip relative to target\r\n */\r\n @Prop()\r\n position: Placement = \"top\";\r\n\r\n /**\r\n * Set position strategy of tooltip\r\n */\r\n @Prop()\r\n strategy: \"auto\" | \"absolute\" | \"fixed\" = \"auto\";\r\n\r\n /**\r\n * Set attribute `no-arrow` to hide the arrow\r\n */\r\n @Prop()\r\n noArrow = false;\r\n\r\n /**\r\n * Deactivates mouseover behaviour\r\n */\r\n @Prop()\r\n stateless?: boolean;\r\n\r\n /**\r\n * Defines if the tooltip has a smaller max-width\r\n */\r\n @Prop()\r\n small?: boolean;\r\n\r\n /**\r\n * Whether or not to show the tooltip. To control the tooltip add the `active` attribute or use the `activate()` and `deactivate()` instance methods.\r\n */\r\n @Prop({ reflect: true, mutable: true })\r\n active = false;\r\n\r\n /**\r\n * Activate the tooltip (Sets the `active` attribute)\r\n */\r\n @Method()\r\n async activate(): Promise<void> {\r\n this.active = true;\r\n }\r\n\r\n /**\r\n * Deactivate the tooltip (Removes the `active` attribute)\r\n */\r\n @Method()\r\n async deactivate(): Promise<void> {\r\n this.active = false;\r\n }\r\n\r\n @Watch(\"position\")\r\n watchPosition() {\r\n if (!this.popper) {\r\n return;\r\n }\r\n\r\n this.popper.setOptions({\r\n placement: this.position,\r\n });\r\n }\r\n\r\n @Watch(\"strategy\")\r\n watchStrategy() {\r\n this.setStrategy();\r\n }\r\n\r\n private setStrategy() {\r\n if (!this.popper) {\r\n return;\r\n }\r\n\r\n if (this.strategy === \"absolute\" || this.strategy === \"fixed\") {\r\n this.popper.setOptions({\r\n strategy: this.strategy,\r\n });\r\n\r\n return;\r\n }\r\n\r\n let element: Element | null = this.element;\r\n while (element && element.parentNode !== document) {\r\n element = element.parentNode instanceof ShadowRoot ? element.parentNode.host : element.parentElement;\r\n if (element !== null && hasOverflow(element)) {\r\n this.popper.setOptions({\r\n strategy: \"fixed\",\r\n });\r\n\r\n return;\r\n }\r\n }\r\n\r\n this.popper.setOptions({\r\n strategy: \"absolute\",\r\n });\r\n }\r\n\r\n @Watch(\"active\")\r\n watchActive() {\r\n if (this.active) {\r\n this.activatePopper();\r\n\r\n if (!this.stateless) {\r\n setTimeout(() => {\r\n this.popper?.setOptions({\r\n modifiers: [{ name: \"eventListeners\", enabled: true }],\r\n });\r\n document.addEventListener(\"keydown\", this.keyDownListener);\r\n });\r\n }\r\n } else {\r\n document.removeEventListener(\"keydown\", this.keyDownListener);\r\n this.deactivatePopper();\r\n }\r\n }\r\n\r\n @Element()\r\n private element!: HTMLDsoTooltipElement;\r\n\r\n private popper: PopperInstance | undefined;\r\n\r\n private callbacks: TooltipCallbacks = {\r\n activate: () => (this.active = true),\r\n deactivate: () => (this.active = false),\r\n };\r\n\r\n private onMouseLeave = () => {\r\n if (!this.element.matches(\":hover\") && !this.target?.matches(\":hover\")) {\r\n this.callbacks.deactivate();\r\n }\r\n };\r\n\r\n @State()\r\n private hidden = true;\r\n\r\n private listenClick(e: MouseEvent) {\r\n e.stopPropagation();\r\n }\r\n\r\n componentDidLoad(): void {\r\n const tooltip = this.element.shadowRoot?.querySelector(\".tooltip\");\r\n if (!(tooltip instanceof HTMLElement)) {\r\n throw new Error(\"tooltip element is not instanceof HTMLElement\");\r\n }\r\n\r\n if (!this.stateless && this.target) {\r\n this.target.addEventListener(\"mouseenter\", this.callbacks.activate);\r\n [this.element, this.target].forEach((element) => element.addEventListener(\"mouseleave\", this.onMouseLeave));\r\n this.target.addEventListener(\"focus\", this.callbacks.activate);\r\n this.target.addEventListener(\"blur\", this.callbacks.deactivate);\r\n }\r\n }\r\n\r\n disconnectedCallback(): void {\r\n this.popper?.destroy();\r\n\r\n if (!this.stateless && this.target) {\r\n this.target.removeEventListener(\"mouseenter\", this.callbacks.activate);\r\n [this.element, this.target].forEach((element) => element.removeEventListener(\"mouseleave\", this.onMouseLeave));\r\n this.target.removeEventListener(\"focus\", this.callbacks.activate);\r\n this.target.removeEventListener(\"blur\", this.callbacks.deactivate);\r\n }\r\n\r\n this.target = undefined;\r\n }\r\n\r\n componentDidRender() {\r\n if (this.active) {\r\n this.popper?.update();\r\n }\r\n }\r\n\r\n private keyDownListener = (event: KeyboardEvent) => {\r\n if (event.key === \"Escape\") {\r\n this.deactivate();\r\n }\r\n };\r\n\r\n render() {\r\n return (\r\n <Host class={{ hidden: this.hidden }} role=\"tooltip\" onClick={this.listenClick}>\r\n <div class={clsx(\"tooltip\", { in: this.active })}>\r\n {!this.noArrow && <div data-popper-arrow class=\"tooltip-arrow\"></div>}\r\n <div aria-hidden={!this.descriptive || undefined} class={clsx(\"tooltip-inner\", { \"dso-small\": this.small })}>\r\n <slot></slot>\r\n </div>\r\n </div>\r\n </Host>\r\n );\r\n }\r\n\r\n private deactivatePopper = debounce(() => {\r\n this.hidden = true;\r\n this.popper?.destroy();\r\n this.popper = undefined;\r\n }, transitionDuration);\r\n\r\n private activatePopper(): void {\r\n this.hidden = false;\r\n\r\n if (this.popper) {\r\n return;\r\n }\r\n\r\n const tooltip = this.element.shadowRoot?.querySelector(\".tooltip\");\r\n\r\n if (this.target && tooltip instanceof HTMLElement) {\r\n this.popper = createPopper(this.target, tooltip, {\r\n placement: this.position,\r\n modifiers: [maxSize, applyMaxSize, { name: \"eventListeners\", enabled: false }],\r\n });\r\n\r\n this.setStrategy();\r\n }\r\n }\r\n\r\n private get target(): HTMLElement | undefined {\r\n return this.#target ?? this.initializeTarget();\r\n }\r\n\r\n private set target(element: HTMLElement | undefined) {\r\n this.#target = element;\r\n }\r\n\r\n #target?: HTMLElement;\r\n\r\n private initializeTarget(): HTMLElement | undefined {\r\n const id = this.element.id;\r\n\r\n if (!id) {\r\n console.warn(\"Unable to find reference tooltip has no [id] attribute.\");\r\n\r\n return;\r\n }\r\n\r\n const rootNode = this.element.getRootNode();\r\n if (!(rootNode instanceof Document || rootNode instanceof ShadowRoot)) {\r\n console.warn(`rootNode is not instance of Document or ShadowRoot`);\r\n\r\n return;\r\n }\r\n\r\n const reference = rootNode.querySelector<HTMLElement>(`[aria-describedBy=\"${id}`);\r\n if (!reference) {\r\n console.warn(`Unable to find reference with aria-describedby ${id}`);\r\n\r\n return;\r\n }\r\n\r\n this.#target = reference;\r\n return reference;\r\n }\r\n}\r\n\r\ninterface TooltipCallbacks {\r\n activate: () => void;\r\n deactivate: () => void;\r\n}\r\n"],"version":3}