@dso-toolkit/core 93.0.0 → 94.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (369) hide show
  1. package/dist/bundle/dso-accordion-section.js +15 -21
  2. package/dist/bundle/dso-advanced-select.js +10 -16
  3. package/dist/bundle/dso-alert.js +1 -1
  4. package/dist/bundle/dso-annotation-activiteit.js +11 -17
  5. package/dist/bundle/dso-annotation-gebiedsaanwijzing.js +11 -17
  6. package/dist/bundle/dso-annotation-kaart.js +3 -3
  7. package/dist/bundle/dso-annotation-locatie.js +1 -1
  8. package/dist/bundle/dso-annotation-omgevingsnormwaarde.js +11 -17
  9. package/dist/bundle/dso-autosuggest.js +3 -3
  10. package/dist/bundle/dso-badge.js +1 -1
  11. package/dist/bundle/dso-card.js +1 -1
  12. package/dist/bundle/dso-document-component.js +1 -1
  13. package/dist/bundle/dso-header.js +1 -1
  14. package/dist/bundle/dso-icon-button.js +1 -1
  15. package/dist/bundle/dso-image-overlay.js +1 -1
  16. package/dist/bundle/dso-info-button.js +1 -1
  17. package/dist/bundle/dso-info.js +1 -1
  18. package/dist/bundle/dso-label.js +1 -1
  19. package/dist/bundle/dso-legend-group.js +3 -3
  20. package/dist/bundle/dso-legend-item.js +6 -6
  21. package/dist/bundle/dso-legend.js +4 -4
  22. package/dist/bundle/dso-list-button.js +7 -7
  23. package/dist/bundle/dso-logo.js +1 -1
  24. package/dist/bundle/dso-map-base-layers.js +7 -7
  25. package/dist/bundle/dso-map-controls.js +5 -5
  26. package/dist/bundle/dso-map-layer-object.js +3 -3
  27. package/dist/bundle/dso-map-layer.js +3 -3
  28. package/dist/bundle/dso-map-message.js +2 -2
  29. package/dist/bundle/dso-map-overlays.js +7 -7
  30. package/dist/bundle/dso-mark-bar.js +2 -2
  31. package/dist/bundle/dso-modal.js +1 -130
  32. package/dist/bundle/dso-onboarding-tip.js +3 -3
  33. package/dist/bundle/dso-ozon-content-toggletip.js +2 -2
  34. package/dist/bundle/dso-ozon-content.js +1 -1
  35. package/dist/bundle/dso-pagination.js +1 -1
  36. package/dist/bundle/dso-panel.js +1 -1
  37. package/dist/bundle/dso-plekinfo-card.js +2 -2
  38. package/dist/bundle/dso-progress-indicator.js +1 -1
  39. package/dist/bundle/dso-project-item.js +7 -13
  40. package/dist/bundle/dso-renvooi.js +1 -1
  41. package/dist/bundle/dso-responsive-element.js +1 -1
  42. package/dist/bundle/dso-scrollable.js +1 -1
  43. package/dist/bundle/dso-segmented-button.js +1 -1
  44. package/dist/bundle/dso-selectable.js +1 -1
  45. package/dist/bundle/dso-skiplink.js +1 -1
  46. package/dist/bundle/dso-slide-toggle.js +1 -1
  47. package/dist/bundle/dso-survey-rating.js +5 -5
  48. package/dist/bundle/dso-table.js +1 -1
  49. package/dist/bundle/dso-tabs.js +1 -1
  50. package/dist/bundle/dso-tijdreis-banner.js +1 -1
  51. package/dist/bundle/dso-tooltip.js +2114 -1
  52. package/dist/bundle/dso-tree-view.js +2 -2
  53. package/dist/bundle/dso-viewer-grid.js +2 -2
  54. package/dist/bundle/dsot-document-component-demo.js +26 -26
  55. package/dist/bundle/{p-DBGoQkQq.js → p-2tXDC-mE.js} +22 -4
  56. package/dist/bundle/p-4jD6qNeC.js +119 -0
  57. package/dist/bundle/{p-CIhIApHw.js → p-B4Kb_arU.js} +1 -1
  58. package/dist/bundle/p-BB8Q4bTF.js +102 -0
  59. package/dist/bundle/{p-DfoVRvxy.js → p-BDZgCEi_.js} +5 -5
  60. package/dist/bundle/{p-B3_SLWNA.js → p-BKL5unEI.js} +70 -52
  61. package/dist/bundle/{p-ZVYFxI1s.js → p-BMgZM5oN.js} +1 -1
  62. package/dist/bundle/{p-pBMyyJLQ.js → p-BT0nzb2X.js} +3 -3
  63. package/dist/bundle/p-BX9vCS1x.js +189 -0
  64. package/dist/bundle/{p-ULwgxD7S.js → p-BjdGayiZ.js} +1 -0
  65. package/dist/bundle/p-BkHY2EoZ.js +100 -0
  66. package/dist/bundle/{p-UID4cKLB.js → p-BoM2KCmJ.js} +1 -1
  67. package/dist/bundle/p-BpNIy3Gp.js +1209 -0
  68. package/dist/bundle/p-BzvLlrTc.js +79 -0
  69. package/dist/bundle/{p-DORLt6w9.js → p-C9SAMpT0.js} +2 -2
  70. package/dist/bundle/{p-coDX50W3.js → p-CFQP85B5.js} +2 -2
  71. package/dist/bundle/p-CfExzw6u.js +341 -0
  72. package/dist/bundle/p-Cl_08-If.js +132 -0
  73. package/dist/bundle/p-DAYJrJjQ.js +166 -0
  74. package/dist/bundle/{p-BPivYT1Y.js → p-DMi4FJv9.js} +1 -1
  75. package/dist/bundle/{p-CRPLuDWD.js → p-DZfxh8wr.js} +18 -14
  76. package/dist/bundle/{p-BUfOvN-j.js → p-qAIaDeIJ.js} +2 -2
  77. package/dist/cjs/dso-accordion-section.cjs.entry.js +1 -1
  78. package/dist/cjs/dso-alert_7.cjs.entry.js +52 -65
  79. package/dist/cjs/dso-annotation-activiteit.cjs.entry.js +1 -1
  80. package/dist/cjs/dso-annotation-gebiedsaanwijzing.cjs.entry.js +1 -1
  81. package/dist/cjs/dso-annotation-kaart.cjs.entry.js +1 -1
  82. package/dist/cjs/dso-annotation-locatie_2.cjs.entry.js +2 -2
  83. package/dist/cjs/dso-annotation-omgevingsnormwaarde.cjs.entry.js +1 -1
  84. package/dist/cjs/dso-autosuggest.cjs.entry.js +1 -1
  85. package/dist/cjs/dso-card.cjs.entry.js +1 -1
  86. package/dist/cjs/dso-header.cjs.entry.js +1 -1
  87. package/dist/cjs/dso-icon_2.cjs.entry.js +15 -19
  88. package/dist/cjs/dso-info_3.cjs.entry.js +18 -15
  89. package/dist/cjs/dso-label_3.cjs.entry.js +34 -7
  90. package/dist/cjs/dso-legend-group.cjs.entry.js +2 -2
  91. package/dist/cjs/dso-legend-item.cjs.entry.js +2 -2
  92. package/dist/cjs/dso-legend.cjs.entry.js +2 -2
  93. package/dist/cjs/dso-list-button.cjs.entry.js +2 -2
  94. package/dist/cjs/dso-logo.cjs.entry.js +1 -1
  95. package/dist/cjs/dso-map-base-layers.cjs.entry.js +2 -2
  96. package/dist/cjs/dso-map-controls.cjs.entry.js +3 -3
  97. package/dist/cjs/dso-map-layer-object.cjs.entry.js +2 -2
  98. package/dist/cjs/dso-map-layer.cjs.entry.js +2 -2
  99. package/dist/cjs/dso-map-message.cjs.entry.js +2 -2
  100. package/dist/cjs/dso-map-overlays.cjs.entry.js +2 -2
  101. package/dist/cjs/dso-mark-bar.cjs.entry.js +1 -1
  102. package/dist/cjs/dso-modal.cjs.entry.js +3 -3
  103. package/dist/cjs/dso-onboarding-tip.cjs.entry.js +2 -2
  104. package/dist/cjs/dso-plekinfo-card.cjs.entry.js +2 -2
  105. package/dist/cjs/dso-progress-indicator.cjs.entry.js +2 -2
  106. package/dist/cjs/dso-project-item.cjs.entry.js +1 -1
  107. package/dist/cjs/dso-responsive-element.cjs.entry.js +1 -1
  108. package/dist/cjs/dso-scrollable.cjs.entry.js +26 -8
  109. package/dist/cjs/dso-segmented-button.cjs.entry.js +1 -1
  110. package/dist/cjs/dso-skiplink.cjs.entry.js +1 -1
  111. package/dist/cjs/dso-survey-rating.cjs.entry.js +3 -3
  112. package/dist/cjs/dso-tabs.cjs.entry.js +1 -1
  113. package/dist/cjs/dso-tijdreis-banner.cjs.entry.js +1 -1
  114. package/dist/cjs/dso-toolkit.cjs.js +1 -1
  115. package/dist/cjs/dso-tooltip.cjs.entry.js +1 -1
  116. package/dist/cjs/dso-tree-view.cjs.entry.js +1 -1
  117. package/dist/cjs/dso-viewer-grid.cjs.entry.js +2 -2
  118. package/dist/cjs/{i18n-EVv0JhYm.js → i18n-DjTTL6i6.js} +1 -0
  119. package/dist/cjs/loader.cjs.js +1 -1
  120. package/dist/cjs/{position-tooltip.function-CppeKAt4.js → position-tooltip.function-BjWi5ZKZ.js} +69 -45
  121. package/dist/cjs/tooltip.functional-component-C8t-bdP0.js +7 -0
  122. package/dist/collection/components/accordion/components/accordion-section.css +2 -2
  123. package/dist/collection/components/annotation/annotation.css +4 -3
  124. package/dist/collection/components/badge/badge.css +0 -10
  125. package/dist/collection/components/badge/badge.js +22 -26
  126. package/dist/collection/components/card/card.css +1 -0
  127. package/dist/collection/components/document-component/document-component.css +33 -10
  128. package/dist/collection/components/icon-button/icon-button.css +13 -8
  129. package/dist/collection/components/icon-button/icon-button.js +12 -20
  130. package/dist/collection/components/image-overlay/image-overlay.css +6 -6
  131. package/dist/collection/components/info-button/info-button.css +0 -5
  132. package/dist/collection/components/info-button/info-button.js +14 -10
  133. package/dist/collection/components/label/label.css +46 -3
  134. package/dist/collection/components/label/label.js +30 -6
  135. package/dist/collection/components/legend/legend-group/legend-group.js +1 -1
  136. package/dist/collection/components/legend/legend-item/legend-item.js +1 -1
  137. package/dist/collection/components/legend/legend.js +1 -1
  138. package/dist/collection/components/list-button/list-button.css +10 -4
  139. package/dist/collection/components/list-button/list-button.js +1 -1
  140. package/dist/collection/components/logo/logo.js +1 -1
  141. package/dist/collection/components/map-base-layers/map-base-layers.js +1 -1
  142. package/dist/collection/components/map-controls/map-controls.css +29 -7
  143. package/dist/collection/components/map-controls/map-controls.js +1 -1
  144. package/dist/collection/components/map-layer/components/map-layer-object.css +2 -2
  145. package/dist/collection/components/map-layer/components/map-layer-object.js +1 -1
  146. package/dist/collection/components/map-layer/map-layer.css +2 -2
  147. package/dist/collection/components/map-layer/map-layer.js +1 -1
  148. package/dist/collection/components/map-message/map-message.js +2 -2
  149. package/dist/collection/components/map-overlays/map-overlays.js +1 -1
  150. package/dist/collection/components/mark-bar/mark-bar.js +1 -1
  151. package/dist/collection/components/modal/modal.css +50 -69
  152. package/dist/collection/components/modal/modal.js +1 -1
  153. package/dist/collection/components/onboarding-tip/onboarding-tip.js +1 -1
  154. package/dist/collection/components/ozon-content/components/ozon-content-toggletip/ozon-content-toggletip.css +3 -8
  155. package/dist/collection/components/ozon-content/components/ozon-content-toggletip/ozon-content-toggletip.js +16 -16
  156. package/dist/collection/components/ozon-content/nodes/noot.node.js +2 -3
  157. package/dist/collection/components/ozon-content/ozon-content.css +55 -193
  158. package/dist/collection/components/ozon-content/ozon-content.js +2 -2
  159. package/dist/collection/components/panel/panel.js +1 -1
  160. package/dist/collection/components/plekinfo-card/plekinfo-card.css +3 -3
  161. package/dist/collection/components/plekinfo-card/plekinfo-card.js +1 -1
  162. package/dist/collection/components/progress-indicator/progress-indicator.js +1 -1
  163. package/dist/collection/components/project-item/project-item.js +1 -1
  164. package/dist/collection/components/renvooi/renvooi.css +3 -3
  165. package/dist/collection/components/responsive-element/responsive-element.js +1 -1
  166. package/dist/collection/components/scrollable/scrollable.js +22 -4
  167. package/dist/collection/components/segmented-button/segmented-button.js +1 -1
  168. package/dist/collection/components/selectable/selectable.js +1 -1
  169. package/dist/collection/components/skiplink/skiplink.js +1 -1
  170. package/dist/collection/components/slide-toggle/slide-toggle.js +1 -1
  171. package/dist/collection/components/survey-rating/survey-rating.css +6 -1
  172. package/dist/collection/components/survey-rating/survey-rating.js +2 -2
  173. package/dist/collection/components/table/table.css +37 -245
  174. package/dist/collection/components/table/table.js +1 -10
  175. package/dist/collection/components/tabs/tabs.js +1 -1
  176. package/dist/collection/components/tijdreis-banner/tijdreis-banner.js +1 -1
  177. package/dist/collection/components/tooltip/tooltip.js +2 -2
  178. package/dist/collection/components/tree-view/tree-view.js +1 -1
  179. package/dist/collection/components/viewer-grid/viewer-grid.css +9 -3
  180. package/dist/collection/components/viewer-grid/viewer-grid.js +1 -1
  181. package/dist/collection/functional-components/tooltip/position-tooltip.function.js +69 -45
  182. package/dist/collection/functional-components/tooltip/tooltip.functional-component.js +1 -7
  183. package/dist/components/annotation-locatie.js +1 -1
  184. package/dist/components/badge.js +1 -1
  185. package/dist/components/document-component.js +1 -1
  186. package/dist/components/dso-accordion-section.js +1 -1
  187. package/dist/components/dso-advanced-select.js +3 -3
  188. package/dist/components/dso-annotation-activiteit.js +1 -1
  189. package/dist/components/dso-annotation-gebiedsaanwijzing.js +1 -1
  190. package/dist/components/dso-annotation-kaart.js +1 -1
  191. package/dist/components/dso-annotation-omgevingsnormwaarde.js +1 -1
  192. package/dist/components/dso-card.js +1 -1
  193. package/dist/components/dso-legend-group.js +1 -1
  194. package/dist/components/dso-legend-item.js +1 -1
  195. package/dist/components/dso-legend.js +1 -1
  196. package/dist/components/dso-list-button.js +1 -1
  197. package/dist/components/dso-logo.js +1 -1
  198. package/dist/components/dso-map-base-layers.js +1 -1
  199. package/dist/components/dso-map-controls.js +1 -1
  200. package/dist/components/dso-map-layer-object.js +1 -1
  201. package/dist/components/dso-map-layer.js +1 -1
  202. package/dist/components/dso-map-message.js +1 -1
  203. package/dist/components/dso-map-overlays.js +1 -1
  204. package/dist/components/dso-mark-bar.js +1 -1
  205. package/dist/components/dso-modal.js +1 -1
  206. package/dist/components/dso-onboarding-tip.js +1 -1
  207. package/dist/components/dso-ozon-content-toggletip.js +1 -1
  208. package/dist/components/dso-plekinfo-card.js +1 -1
  209. package/dist/components/dso-project-item.js +1 -1
  210. package/dist/components/dso-segmented-button.js +1 -1
  211. package/dist/components/dso-skiplink.js +1 -1
  212. package/dist/components/dso-survey-rating.js +1 -1
  213. package/dist/components/dso-tabs.js +1 -1
  214. package/dist/components/dso-tijdreis-banner.js +1 -1
  215. package/dist/components/dso-tooltip.js +1 -1
  216. package/dist/components/dso-tree-view.js +1 -1
  217. package/dist/components/dso-viewer-grid.js +1 -1
  218. package/dist/components/dsot-document-component-demo.js +1 -1
  219. package/dist/components/i18n.js +1 -1
  220. package/dist/components/icon-button.js +1 -1
  221. package/dist/components/image-overlay.js +1 -1
  222. package/dist/components/index.d.ts +1 -1
  223. package/dist/components/info-button.js +1 -1
  224. package/dist/components/label.js +1 -1
  225. package/dist/components/modal.js +1 -0
  226. package/dist/components/ozon-content-toggletip.js +1 -1
  227. package/dist/components/ozon-content.js +1 -1
  228. package/dist/components/panel.js +1 -1
  229. package/dist/components/progress-indicator.js +1 -1
  230. package/dist/components/renvooi.js +1 -1
  231. package/dist/components/responsive-element.js +1 -1
  232. package/dist/components/scrollable.js +1 -1
  233. package/dist/components/selectable.js +1 -1
  234. package/dist/components/slide-toggle.js +1 -1
  235. package/dist/components/table.js +1 -1
  236. package/dist/components/tooltip.functional-component.js +1 -1
  237. package/dist/dso-toolkit/dso-toolkit.esm.js +1 -1
  238. package/dist/dso-toolkit/p-014d53da.entry.js +1 -0
  239. package/dist/dso-toolkit/p-05e83c0e.entry.js +1 -0
  240. package/dist/dso-toolkit/{p-96002988.entry.js → p-0c2c8a60.entry.js} +1 -1
  241. package/dist/dso-toolkit/{p-4f7c6b0b.entry.js → p-0d6ea6dd.entry.js} +1 -1
  242. package/dist/dso-toolkit/{p-3f7b7a21.entry.js → p-28889e28.entry.js} +1 -1
  243. package/dist/dso-toolkit/p-291e25c5.entry.js +1 -0
  244. package/dist/dso-toolkit/{p-e73b1880.entry.js → p-379e5927.entry.js} +1 -1
  245. package/dist/dso-toolkit/{p-0d2c73be.entry.js → p-37a3ff29.entry.js} +1 -1
  246. package/dist/dso-toolkit/p-3b7d995d.entry.js +1 -0
  247. package/dist/dso-toolkit/p-416d1ad0.entry.js +1 -0
  248. package/dist/dso-toolkit/p-49674ca6.entry.js +1 -0
  249. package/dist/dso-toolkit/{p-75a6103a.entry.js → p-49ce0bc2.entry.js} +1 -1
  250. package/dist/dso-toolkit/{p-1796464a.entry.js → p-520f708a.entry.js} +1 -1
  251. package/dist/dso-toolkit/{p-520eb463.entry.js → p-54314198.entry.js} +1 -1
  252. package/dist/dso-toolkit/{p-7d2a6081.entry.js → p-5a69c21e.entry.js} +1 -1
  253. package/dist/dso-toolkit/{p-c8b47115.entry.js → p-62eeaefb.entry.js} +1 -1
  254. package/dist/dso-toolkit/p-651278fd.entry.js +1 -0
  255. package/dist/dso-toolkit/p-6d8928d6.entry.js +1 -0
  256. package/dist/dso-toolkit/{p-7a47230a.entry.js → p-7e80f973.entry.js} +1 -1
  257. package/dist/dso-toolkit/{p-a97aa67d.entry.js → p-919a447c.entry.js} +1 -1
  258. package/dist/dso-toolkit/p-92d64203.entry.js +1 -0
  259. package/dist/dso-toolkit/p-953dd513.entry.js +1 -0
  260. package/dist/dso-toolkit/{p-c86f85f1.entry.js → p-989b31be.entry.js} +1 -1
  261. package/dist/dso-toolkit/p-9bff9c4f.entry.js +1 -0
  262. package/dist/dso-toolkit/{p-112128be.entry.js → p-9d97125b.entry.js} +1 -1
  263. package/dist/dso-toolkit/{p-ULwgxD7S.js → p-BjdGayiZ.js} +1 -1
  264. package/dist/dso-toolkit/p-CVEJH8zK.js +1 -0
  265. package/dist/dso-toolkit/p-DdaJdjEq.js +1 -0
  266. package/dist/dso-toolkit/p-a39f8099.entry.js +1 -0
  267. package/dist/dso-toolkit/p-a4981918.entry.js +1 -0
  268. package/dist/dso-toolkit/{p-ea0d2c1f.entry.js → p-a7df91e8.entry.js} +1 -1
  269. package/dist/dso-toolkit/p-aa21aae7.entry.js +1 -0
  270. package/dist/dso-toolkit/p-ae6c1f71.entry.js +1 -0
  271. package/dist/dso-toolkit/{p-de38f478.entry.js → p-af0bf5ef.entry.js} +1 -1
  272. package/dist/dso-toolkit/{p-b2841387.entry.js → p-c07a37f2.entry.js} +1 -1
  273. package/dist/dso-toolkit/p-c878f52f.entry.js +1 -0
  274. package/dist/dso-toolkit/p-ca9649e7.entry.js +1 -0
  275. package/dist/dso-toolkit/{p-26cd4149.entry.js → p-cccebe14.entry.js} +1 -1
  276. package/dist/dso-toolkit/p-cf9589b5.entry.js +1 -0
  277. package/dist/dso-toolkit/p-d3780fe6.entry.js +1 -0
  278. package/dist/dso-toolkit/p-d7abcaa1.entry.js +1 -0
  279. package/dist/dso-toolkit/{p-b0a9948f.entry.js → p-e3c79b85.entry.js} +1 -1
  280. package/dist/dso-toolkit/p-eaf1d894.entry.js +1 -0
  281. package/dist/esm/dso-accordion-section.entry.js +1 -1
  282. package/dist/esm/dso-alert_7.entry.js +52 -65
  283. package/dist/esm/dso-annotation-activiteit.entry.js +1 -1
  284. package/dist/esm/dso-annotation-gebiedsaanwijzing.entry.js +1 -1
  285. package/dist/esm/dso-annotation-kaart.entry.js +1 -1
  286. package/dist/esm/dso-annotation-locatie_2.entry.js +2 -2
  287. package/dist/esm/dso-annotation-omgevingsnormwaarde.entry.js +1 -1
  288. package/dist/esm/dso-autosuggest.entry.js +1 -1
  289. package/dist/esm/dso-card.entry.js +1 -1
  290. package/dist/esm/dso-header.entry.js +1 -1
  291. package/dist/esm/dso-icon_2.entry.js +15 -19
  292. package/dist/esm/dso-info_3.entry.js +18 -15
  293. package/dist/esm/dso-label_3.entry.js +34 -7
  294. package/dist/esm/dso-legend-group.entry.js +2 -2
  295. package/dist/esm/dso-legend-item.entry.js +2 -2
  296. package/dist/esm/dso-legend.entry.js +2 -2
  297. package/dist/esm/dso-list-button.entry.js +2 -2
  298. package/dist/esm/dso-logo.entry.js +1 -1
  299. package/dist/esm/dso-map-base-layers.entry.js +2 -2
  300. package/dist/esm/dso-map-controls.entry.js +3 -3
  301. package/dist/esm/dso-map-layer-object.entry.js +2 -2
  302. package/dist/esm/dso-map-layer.entry.js +2 -2
  303. package/dist/esm/dso-map-message.entry.js +2 -2
  304. package/dist/esm/dso-map-overlays.entry.js +2 -2
  305. package/dist/esm/dso-mark-bar.entry.js +1 -1
  306. package/dist/esm/dso-modal.entry.js +3 -3
  307. package/dist/esm/dso-onboarding-tip.entry.js +2 -2
  308. package/dist/esm/dso-plekinfo-card.entry.js +2 -2
  309. package/dist/esm/dso-progress-indicator.entry.js +2 -2
  310. package/dist/esm/dso-project-item.entry.js +1 -1
  311. package/dist/esm/dso-responsive-element.entry.js +1 -1
  312. package/dist/esm/dso-scrollable.entry.js +22 -4
  313. package/dist/esm/dso-segmented-button.entry.js +1 -1
  314. package/dist/esm/dso-skiplink.entry.js +1 -1
  315. package/dist/esm/dso-survey-rating.entry.js +3 -3
  316. package/dist/esm/dso-tabs.entry.js +1 -1
  317. package/dist/esm/dso-tijdreis-banner.entry.js +1 -1
  318. package/dist/esm/dso-toolkit.js +1 -1
  319. package/dist/esm/dso-tooltip.entry.js +1 -1
  320. package/dist/esm/dso-tree-view.entry.js +1 -1
  321. package/dist/esm/dso-viewer-grid.entry.js +2 -2
  322. package/dist/esm/{i18n-ULwgxD7S.js → i18n-BjdGayiZ.js} +1 -0
  323. package/dist/esm/loader.js +1 -1
  324. package/dist/esm/{position-tooltip.function-Cf2lM20T.js → position-tooltip.function-DoXRpCfQ.js} +69 -45
  325. package/dist/esm/tooltip.functional-component-VB1_733J.js +5 -0
  326. package/dist/types/components/badge/badge.d.ts +5 -6
  327. package/dist/types/components/icon-button/icon-button.d.ts +8 -8
  328. package/dist/types/components/info-button/info-button.d.ts +2 -2
  329. package/dist/types/components/label/label.d.ts +6 -2
  330. package/dist/types/components/ozon-content/components/ozon-content-toggletip/ozon-content-toggletip.d.ts +5 -5
  331. package/dist/types/components/ozon-content/nodes/noot.node.d.ts +1 -1
  332. package/dist/types/components/table/table.d.ts +0 -3
  333. package/dist/types/functional-components/tooltip/tooltip.functional-component.d.ts +1 -2
  334. package/package.json +9 -8
  335. package/dist/bundle/p-8Tkxj9ba.js +0 -85
  336. package/dist/bundle/p-BMEJps6X.js +0 -97
  337. package/dist/bundle/p-BW8maL6h.js +0 -341
  338. package/dist/bundle/p-C3yNQ7WK.js +0 -1204
  339. package/dist/bundle/p-CslDhrwG.js +0 -102
  340. package/dist/bundle/p-D3dXzdge.js +0 -2116
  341. package/dist/bundle/p-DALBSzfQ.js +0 -170
  342. package/dist/bundle/p-DHOQChpz.js +0 -172
  343. package/dist/bundle/p-Rz6GCQXJ.js +0 -123
  344. package/dist/cjs/tooltip.functional-component-DrN_v5w1.js +0 -13
  345. package/dist/components/tooltip.js +0 -1
  346. package/dist/dso-toolkit/p-0da6b02f.entry.js +0 -1
  347. package/dist/dso-toolkit/p-1440ff2e.entry.js +0 -1
  348. package/dist/dso-toolkit/p-294c3de2.entry.js +0 -1
  349. package/dist/dso-toolkit/p-3a49df1e.entry.js +0 -1
  350. package/dist/dso-toolkit/p-3c3dffc6.entry.js +0 -1
  351. package/dist/dso-toolkit/p-47379b28.entry.js +0 -1
  352. package/dist/dso-toolkit/p-53470b6d.entry.js +0 -1
  353. package/dist/dso-toolkit/p-5987e305.entry.js +0 -1
  354. package/dist/dso-toolkit/p-60bd9c8f.entry.js +0 -1
  355. package/dist/dso-toolkit/p-62200d9a.entry.js +0 -1
  356. package/dist/dso-toolkit/p-650b8ea0.entry.js +0 -1
  357. package/dist/dso-toolkit/p-6c8e1ef8.entry.js +0 -1
  358. package/dist/dso-toolkit/p-7b702683.entry.js +0 -1
  359. package/dist/dso-toolkit/p-808812c1.entry.js +0 -1
  360. package/dist/dso-toolkit/p-9a8a99a5.entry.js +0 -1
  361. package/dist/dso-toolkit/p-BaoXsbsy.js +0 -1
  362. package/dist/dso-toolkit/p-BuFNkQa2.js +0 -1
  363. package/dist/dso-toolkit/p-a49290e8.entry.js +0 -1
  364. package/dist/dso-toolkit/p-aed43ede.entry.js +0 -1
  365. package/dist/dso-toolkit/p-c2b4161b.entry.js +0 -1
  366. package/dist/dso-toolkit/p-de8977da.entry.js +0 -1
  367. package/dist/dso-toolkit/p-edea17c9.entry.js +0 -1
  368. package/dist/dso-toolkit/p-fb97e1cd.entry.js +0 -1
  369. package/dist/esm/tooltip.functional-component-eBucNQlw.js +0 -11
@@ -1 +1 @@
1
- import{proxyCustomElement as o,HTMLElement as e,forceUpdate as t,h as i,Host as r,transformTag as a}from"@stencil/core/internal/client";import{d}from"./index2.js";import{d as s}from"./icon.js";import{d as n}from"./icon-button.js";const l={verwijder:"Verwijderd",voegtoe:"Toegevoegd"},c=({active:o,src:e,alt:t,ref:r,close:a,click:d},s)=>o&&e&&i("dialog",{class:"wrapper",ref:r,onClose:a,onClick:a},i("div",{onClick:a},s[2],s[0],i("img",{src:e,alt:t}),i("dso-icon-button",{icon:"cross",variant:"map",class:"close",label:"Sluiten",onDsoClick:d}),s[1])),u=o(class extends e{constructor(o){super(),!1!==o&&this.__registerHost(),this.__attachShadow(),this.active=!1,this.zoomable=!1,this.titelSlot=null,this.bijschriftSlot=null,this.dialogCloseEventListener=o=>{o.target instanceof HTMLDialogElement&&this.closeZoomedImage()}}loadListener(o){o.target instanceof HTMLImageElement&&this.setZoomable(o.target)}connectedCallback(){this.titelSlot=this.host.querySelector("div[slot='titel']"),this.bijschriftSlot=this.host.querySelector("div[slot='bijschrift']")}componentDidLoad(){this.resizeObserver=new ResizeObserver(d((()=>{const o=this.host.querySelector("img");o instanceof HTMLImageElement&&this.setZoomable(o)}),200)),this.mutationObserver=new MutationObserver((o=>{t(this.host),"childList"===o[0]?.type&&(this.resizeObserver?.disconnect(),this.initZoomableImage())})),this.mutationObserver.observe(this.host,{attributes:!0,subtree:!0,attributeFilter:["src","alt"],childList:!0}),this.initZoomableImage()}componentDidRender(){this.active&&!this.wrapperElement?.open&&this.wrapperElement?.showModal()}disconnectedCallback(){this.mutationObserver?.disconnect(),this.resizeObserver?.disconnect()}initZoomableImage(){const o=this.host.querySelector("img");o instanceof HTMLImageElement&&(o.complete&&this.setZoomable(o),this.resizeObserver?.observe(o))}setZoomable(o){const{width:e,naturalWidth:t,height:i,naturalHeight:r}=o;this.zoomable=e<t||i<r}isWijzigactie(o){return"voegtoe"===o||"verwijder"===o}closeZoomedImage(){this.wrapperElement?.close(),this.active=!1}render(){const{src:o,alt:e}=this.host.querySelector("img")??{},t=this.wijzigactie&&this.isWijzigactie(this.wijzigactie)&&l[this.wijzigactie]||void 0,a=this.zoomable&&i("dso-icon-button",{icon:"external-link",class:"open",variant:"map",label:"Afbeelding vergroot weergeven",ref:o=>this.iconButtonElement=o,onDsoClick:()=>this.active=!0});return"verwijder"===this.wijzigactie?i(r,{onClick:()=>this.iconButtonElement?.setFocus()},i("del",{class:"editaction-remove"},i("div",{class:"editaction-label"},t,":"),i(c,{active:this.active,src:o,alt:e,ref:o=>this.wrapperElement=o,close:this.dialogCloseEventListener,click:()=>this.closeZoomedImage()},this.titelSlot&&i("div",{class:"title"},i("slot",{name:"titel"})),i("div",{class:"figuur-bijschrift",hidden:!this.bijschriftSlot},i("slot",{name:"bijschrift"})),i("div",{class:"editaction-label"},t,":")),i("slot",null),a)):"voegtoe"===this.wijzigactie?i(r,{onClick:()=>this.iconButtonElement?.setFocus()},i("ins",{class:"editaction-add"},i("div",{class:"editaction-label"},t,":"),i(c,{active:this.active,src:o,alt:e,ref:o=>this.wrapperElement=o,close:this.dialogCloseEventListener,click:()=>this.closeZoomedImage()},this.titelSlot&&i("div",{class:"title"},i("slot",{name:"titel"})),i("div",{class:"figuur-bijschrift",hidden:!this.bijschriftSlot},i("slot",{name:"bijschrift"})),i("div",{class:"editaction-label"},t,":")),i("slot",null),a)):i(r,{onClick:()=>this.iconButtonElement?.setFocus()},i(c,{active:this.active,src:o,alt:e,ref:o=>this.wrapperElement=o,close:this.dialogCloseEventListener,click:()=>this.closeZoomedImage()},this.titelSlot&&i("div",{class:"title"},i("slot",{name:"titel"})),i("div",{class:"figuur-bijschrift",hidden:!this.bijschriftSlot},i("slot",{name:"bijschrift"}))),i("slot",null),a)}get host(){return this}static get style(){return':host{display:inline-block;position:relative}:host .wrapper{overflow:visible;padding:0;border:0}:host .wrapper::backdrop{background-color:rgba(255, 255, 255, 0.8)}:host(:hover) .open,.open:focus{opacity:1}.open{opacity:0;position:absolute;inset-inline-end:16px;inset-block-start:16px}.wrapper{align-self:center;box-shadow:0 8px 24px 0 rgba(25, 25, 25, 0.4);line-height:0;outline:4px solid #fff;z-index:20}.wrapper .title{background-color:#fff;font-weight:700;line-height:initial;padding:8px;position:absolute}.wrapper img{inline-size:auto;block-size:auto;max-inline-size:100%;max-block-size:calc(100vh - 64px)}.wrapper .figuur-bijschrift:not([hidden]){display:block;font-size:0.75rem;font-style:italic;padding-block-end:12px;padding-block-start:16px}.close{position:absolute;inset-block-start:16px;inset-inline-end:16px}ins.editaction-add{display:inline-block;margin-block-end:8px;padding:8px;text-decoration:none;--_dso-alert-success-border-color:#39870c;--_dso-alert-error-border-color:#ce3f51;--_dso-alert-info-border-color:#6ca4d9;--_dso-alert-warning-border-color:#dcd400;--link-color:currentColor;--link-hover-color:currentColor;--link-visited-color:currentColor}ins.editaction-add a:not(.dso-primary,.dso-secondary,.dso-tertiary):is(.download,.download:hover,.download:focus-visible){background-image:var(--_dso-di-background-image, url("./di.svg#download-zwart"))}ins.editaction-add a:not(.dso-primary,.dso-secondary,.dso-tertiary):is(.extern,.extern:hover,.extern:focus-visible){background-image:var(--_dso-di-background-image, url("./di.svg#external-link-zwart"))}ins.editaction-add a:not(.dso-primary,.dso-secondary,.dso-tertiary):is([href^="tel:"],[href^="tel:"]:hover,[href^="tel:"]:focus-visible){background-image:var(--_dso-di-background-image, url("./di.svg#call-zwart"))}ins.editaction-add a:not(.dso-primary,.dso-secondary,.dso-tertiary):is([href^="mailto:"],[href^="mailto:"]:hover,[href^="mailto:"]:focus-visible){background-image:var(--_dso-di-background-image, url("./di.svg#mail-outline-zwart"))}ins.editaction-add{--_dso-icon-button-tertiary-color:#191919;--_dso-icon-button-tertiary-hover-color:#4c4c4c;--_dso-icon-button-tertiary-active-color:#173521;--_dso-icon-button-tertiary-disabled-color:#999;--_dso-button-tertiary-color:#191919;--_dso-button-tertiary-hover-color:#4c4c4c;--_dso-button-tertiary-active-color:#173521;--_dso-button-tertiary-disabled-color:#999;background-color:#e4f1d4;color:#191919;box-shadow:0 1px 3px 1px rgba(0, 0, 0, 0.5);--_dso-ozon-content-toggletip-color:#000}ins.editaction-add .wrapper{outline:none;padding:8px;--_dso-alert-success-border-color:#39870c;--_dso-alert-error-border-color:#ce3f51;--_dso-alert-info-border-color:#6ca4d9;--_dso-alert-warning-border-color:#dcd400;--link-color:currentColor;--link-hover-color:currentColor;--link-visited-color:currentColor}ins.editaction-add .wrapper a:not(.dso-primary,.dso-secondary,.dso-tertiary):is(.download,.download:hover,.download:focus-visible){background-image:var(--_dso-di-background-image, url("./di.svg#download-zwart"))}ins.editaction-add .wrapper a:not(.dso-primary,.dso-secondary,.dso-tertiary):is(.extern,.extern:hover,.extern:focus-visible){background-image:var(--_dso-di-background-image, url("./di.svg#external-link-zwart"))}ins.editaction-add .wrapper a:not(.dso-primary,.dso-secondary,.dso-tertiary):is([href^="tel:"],[href^="tel:"]:hover,[href^="tel:"]:focus-visible){background-image:var(--_dso-di-background-image, url("./di.svg#call-zwart"))}ins.editaction-add .wrapper a:not(.dso-primary,.dso-secondary,.dso-tertiary):is([href^="mailto:"],[href^="mailto:"]:hover,[href^="mailto:"]:focus-visible){background-image:var(--_dso-di-background-image, url("./di.svg#mail-outline-zwart"))}ins.editaction-add .wrapper{--_dso-icon-button-tertiary-color:#191919;--_dso-icon-button-tertiary-hover-color:#4c4c4c;--_dso-icon-button-tertiary-active-color:#173521;--_dso-icon-button-tertiary-disabled-color:#999;--_dso-button-tertiary-color:#191919;--_dso-button-tertiary-hover-color:#4c4c4c;--_dso-button-tertiary-active-color:#173521;--_dso-button-tertiary-disabled-color:#999;background-color:#e4f1d4;color:#191919;box-shadow:0 1px 3px 1px rgba(0, 0, 0, 0.5);--_dso-ozon-content-toggletip-color:#000}ins.editaction-add .wrapper .editaction-label{line-height:1.5}ins.editaction-add .wrapper .close{inset-block-start:48px}ins.editaction-add .open{inset-block-start:48px}del.editaction-remove{display:inline-block;margin-block-end:8px;padding:8px;--_dso-alert-success-border-color:#39870c;--_dso-alert-error-border-color:#ce3f51;--_dso-alert-info-border-color:#6ca4d9;--_dso-alert-warning-border-color:#dcd400;--link-color:currentColor;--link-hover-color:currentColor;--link-visited-color:currentColor}del.editaction-remove a:not(.dso-primary,.dso-secondary,.dso-tertiary):is(.download,.download:hover,.download:focus-visible){background-image:var(--_dso-di-background-image, url("./di.svg#download-zwart"))}del.editaction-remove a:not(.dso-primary,.dso-secondary,.dso-tertiary):is(.extern,.extern:hover,.extern:focus-visible){background-image:var(--_dso-di-background-image, url("./di.svg#external-link-zwart"))}del.editaction-remove a:not(.dso-primary,.dso-secondary,.dso-tertiary):is([href^="tel:"],[href^="tel:"]:hover,[href^="tel:"]:focus-visible){background-image:var(--_dso-di-background-image, url("./di.svg#call-zwart"))}del.editaction-remove a:not(.dso-primary,.dso-secondary,.dso-tertiary):is([href^="mailto:"],[href^="mailto:"]:hover,[href^="mailto:"]:focus-visible){background-image:var(--_dso-di-background-image, url("./di.svg#mail-outline-zwart"))}del.editaction-remove{--_dso-icon-button-tertiary-color:#191919;--_dso-icon-button-tertiary-hover-color:#4c4c4c;--_dso-icon-button-tertiary-active-color:#173521;--_dso-icon-button-tertiary-disabled-color:#999;--_dso-button-tertiary-color:#191919;--_dso-button-tertiary-hover-color:#4c4c4c;--_dso-button-tertiary-active-color:#173521;--_dso-button-tertiary-disabled-color:#999;background-color:#f5d8dc;color:#191919;--_dso-ozon-content-toggletip-color:#000;text-decoration:line-through;--_dso-ozon-content-toggletip-text-decoration:underline line-through}@media screen and (min--moz-device-pixel-ratio: 0){del.editaction-remove{font-family:sans-serif}}del.editaction-remove .wrapper{outline:none;padding:8px;--_dso-alert-success-border-color:#39870c;--_dso-alert-error-border-color:#ce3f51;--_dso-alert-info-border-color:#6ca4d9;--_dso-alert-warning-border-color:#dcd400;--link-color:currentColor;--link-hover-color:currentColor;--link-visited-color:currentColor}del.editaction-remove .wrapper a:not(.dso-primary,.dso-secondary,.dso-tertiary):is(.download,.download:hover,.download:focus-visible){background-image:var(--_dso-di-background-image, url("./di.svg#download-zwart"))}del.editaction-remove .wrapper a:not(.dso-primary,.dso-secondary,.dso-tertiary):is(.extern,.extern:hover,.extern:focus-visible){background-image:var(--_dso-di-background-image, url("./di.svg#external-link-zwart"))}del.editaction-remove .wrapper a:not(.dso-primary,.dso-secondary,.dso-tertiary):is([href^="tel:"],[href^="tel:"]:hover,[href^="tel:"]:focus-visible){background-image:var(--_dso-di-background-image, url("./di.svg#call-zwart"))}del.editaction-remove .wrapper a:not(.dso-primary,.dso-secondary,.dso-tertiary):is([href^="mailto:"],[href^="mailto:"]:hover,[href^="mailto:"]:focus-visible){background-image:var(--_dso-di-background-image, url("./di.svg#mail-outline-zwart"))}del.editaction-remove .wrapper{--_dso-icon-button-tertiary-color:#191919;--_dso-icon-button-tertiary-hover-color:#4c4c4c;--_dso-icon-button-tertiary-active-color:#173521;--_dso-icon-button-tertiary-disabled-color:#999;--_dso-button-tertiary-color:#191919;--_dso-button-tertiary-hover-color:#4c4c4c;--_dso-button-tertiary-active-color:#173521;--_dso-button-tertiary-disabled-color:#999;background-color:#f5d8dc;color:#191919;--_dso-ozon-content-toggletip-color:#000;text-decoration:line-through;--_dso-ozon-content-toggletip-text-decoration:underline line-through}@media screen and (min--moz-device-pixel-ratio: 0){del.editaction-remove .wrapper{font-family:sans-serif}}del.editaction-remove .wrapper .title{text-decoration:line-through}del.editaction-remove .wrapper .editaction-label{line-height:1.5}del.editaction-remove .wrapper .close{inset-block-start:48px}del.editaction-remove .open{inset-block-start:48px}.editaction-label{font-style:italic;margin-block-end:8px}'}},[257,"dso-image-overlay",{wijzigactie:[1],active:[32],zoomable:[32]},[[2,"load","loadListener"]]]);function b(){"undefined"!=typeof customElements&&["dso-image-overlay","dso-icon","dso-icon-button"].forEach((o=>{switch(o){case"dso-image-overlay":customElements.get(a(o))||customElements.define(a(o),u);break;case"dso-icon":customElements.get(a(o))||s();break;case"dso-icon-button":customElements.get(a(o))||n()}}))}export{u as I,b as d}
1
+ import{proxyCustomElement as o,HTMLElement as e,forceUpdate as t,h as i,Host as r,transformTag as a}from"@stencil/core/internal/client";import{d}from"./index2.js";import{d as s}from"./icon.js";import{d as n}from"./icon-button.js";const l={verwijder:"Verwijderd",voegtoe:"Toegevoegd"},c=({active:o,src:e,alt:t,ref:r,close:a,click:d},s)=>o&&e&&i("dialog",{class:"wrapper",ref:r,onClose:a,onClick:a},i("div",{onClick:a},s[2],s[0],i("img",{src:e,alt:t}),i("dso-icon-button",{icon:"cross",variant:"map",class:"close",label:"Sluiten",onDsoClick:d}),s[1])),u=o(class extends e{constructor(o){super(),!1!==o&&this.__registerHost(),this.__attachShadow(),this.active=!1,this.zoomable=!1,this.titelSlot=null,this.bijschriftSlot=null,this.dialogCloseEventListener=o=>{o.target instanceof HTMLDialogElement&&this.closeZoomedImage()}}loadListener(o){o.target instanceof HTMLImageElement&&this.setZoomable(o.target)}connectedCallback(){this.titelSlot=this.host.querySelector("div[slot='titel']"),this.bijschriftSlot=this.host.querySelector("div[slot='bijschrift']")}componentDidLoad(){this.resizeObserver=new ResizeObserver(d((()=>{const o=this.host.querySelector("img");o instanceof HTMLImageElement&&this.setZoomable(o)}),200)),this.mutationObserver=new MutationObserver((o=>{t(this.host),"childList"===o[0]?.type&&(this.resizeObserver?.disconnect(),this.initZoomableImage())})),this.mutationObserver.observe(this.host,{attributes:!0,subtree:!0,attributeFilter:["src","alt"],childList:!0}),this.initZoomableImage()}componentDidRender(){this.active&&!this.wrapperElement?.open&&this.wrapperElement?.showModal()}disconnectedCallback(){this.mutationObserver?.disconnect(),this.resizeObserver?.disconnect()}initZoomableImage(){const o=this.host.querySelector("img");o instanceof HTMLImageElement&&(o.complete&&this.setZoomable(o),this.resizeObserver?.observe(o))}setZoomable(o){const{width:e,naturalWidth:t,height:i,naturalHeight:r}=o;this.zoomable=e<t||i<r}isWijzigactie(o){return"voegtoe"===o||"verwijder"===o}closeZoomedImage(){this.wrapperElement?.close(),this.active=!1}render(){const{src:o,alt:e}=this.host.querySelector("img")??{},t=this.wijzigactie&&this.isWijzigactie(this.wijzigactie)&&l[this.wijzigactie]||void 0,a=this.zoomable&&i("dso-icon-button",{icon:"external-link",class:"open",variant:"map",label:"Afbeelding vergroot weergeven",ref:o=>this.iconButtonElement=o,onDsoClick:()=>this.active=!0});return"verwijder"===this.wijzigactie?i(r,{onClick:()=>this.iconButtonElement?.setFocus()},i("del",{class:"editaction-remove"},i("div",{class:"editaction-label"},t,":"),i(c,{active:this.active,src:o,alt:e,ref:o=>this.wrapperElement=o,close:this.dialogCloseEventListener,click:()=>this.closeZoomedImage()},this.titelSlot&&i("div",{class:"title"},i("slot",{name:"titel"})),i("div",{class:"figuur-bijschrift",hidden:!this.bijschriftSlot},i("slot",{name:"bijschrift"})),i("div",{class:"editaction-label"},t,":")),i("slot",null),a)):"voegtoe"===this.wijzigactie?i(r,{onClick:()=>this.iconButtonElement?.setFocus()},i("ins",{class:"editaction-add"},i("div",{class:"editaction-label"},t,":"),i(c,{active:this.active,src:o,alt:e,ref:o=>this.wrapperElement=o,close:this.dialogCloseEventListener,click:()=>this.closeZoomedImage()},this.titelSlot&&i("div",{class:"title"},i("slot",{name:"titel"})),i("div",{class:"figuur-bijschrift",hidden:!this.bijschriftSlot},i("slot",{name:"bijschrift"})),i("div",{class:"editaction-label"},t,":")),i("slot",null),a)):i(r,{onClick:()=>this.iconButtonElement?.setFocus()},i(c,{active:this.active,src:o,alt:e,ref:o=>this.wrapperElement=o,close:this.dialogCloseEventListener,click:()=>this.closeZoomedImage()},this.titelSlot&&i("div",{class:"title"},i("slot",{name:"titel"})),i("div",{class:"figuur-bijschrift",hidden:!this.bijschriftSlot},i("slot",{name:"bijschrift"}))),i("slot",null),a)}get host(){return this}static get style(){return':host{display:inline-block;position:relative}:host .wrapper{overflow:visible;padding:0;border:0}:host .wrapper::backdrop{background-color:rgba(255, 255, 255, 0.8)}:host(:hover) .open,.open:focus{opacity:1}.open{opacity:0;position:absolute;inset-inline-end:16px;inset-block-start:16px}.wrapper{align-self:center;box-shadow:0 8px 24px 0 rgba(25, 25, 25, 0.4);line-height:0;outline:4px solid #fff;z-index:20}.wrapper .title{background-color:#fff;font-weight:700;line-height:initial;padding:8px;position:absolute}.wrapper img{inline-size:auto;block-size:auto;max-inline-size:100%;max-block-size:calc(100vh - 64px)}.wrapper .figuur-bijschrift:not([hidden]){display:block;font-size:0.75rem;font-style:italic;padding-block-end:12px;padding-block-start:16px}.close{position:absolute;inset-block-start:16px;inset-inline-end:16px}ins.editaction-add{display:inline-block;margin-block-end:8px;padding:8px;text-decoration:none;--_dso-alert-success-border-color:#39870c;--_dso-alert-error-border-color:#ce3f51;--_dso-alert-info-border-color:#6ca4d9;--_dso-alert-warning-border-color:#dcd400;--link-color:currentColor;--link-hover-color:currentColor;--link-visited-color:currentColor}ins.editaction-add a:not(.dso-primary,.dso-secondary,.dso-tertiary):is(.download,.download:hover,.download:focus-visible){background-image:var(--_dso-di-background-image, url("./di.svg#download-zwart"))}ins.editaction-add a:not(.dso-primary,.dso-secondary,.dso-tertiary):is(.extern,.extern:hover,.extern:focus-visible){background-image:var(--_dso-di-background-image, url("./di.svg#external-link-zwart"))}ins.editaction-add a:not(.dso-primary,.dso-secondary,.dso-tertiary):is([href^="tel:"],[href^="tel:"]:hover,[href^="tel:"]:focus-visible){background-image:var(--_dso-di-background-image, url("./di.svg#call-zwart"))}ins.editaction-add a:not(.dso-primary,.dso-secondary,.dso-tertiary):is([href^="mailto:"],[href^="mailto:"]:hover,[href^="mailto:"]:focus-visible){background-image:var(--_dso-di-background-image, url("./di.svg#mail-outline-zwart"))}ins.editaction-add{--_dso-icon-button-tertiary-color:#191919;--_dso-icon-button-tertiary-hover-color:#4c4c4c;--_dso-icon-button-tertiary-active-color:#173521;--_dso-icon-button-tertiary-disabled-color:#999;--_dso-button-tertiary-color:#191919;--_dso-button-tertiary-hover-color:#4c4c4c;--_dso-button-tertiary-active-color:#173521;--_dso-button-tertiary-disabled-color:#999;background-color:#e4f1d4;color:#191919;box-shadow:0 1px 3px 1px rgba(0, 0, 0, 0.5);--_dt-ozon-content-toggletip-color:#000}ins.editaction-add .wrapper{outline:none;padding:8px;--_dso-alert-success-border-color:#39870c;--_dso-alert-error-border-color:#ce3f51;--_dso-alert-info-border-color:#6ca4d9;--_dso-alert-warning-border-color:#dcd400;--link-color:currentColor;--link-hover-color:currentColor;--link-visited-color:currentColor}ins.editaction-add .wrapper a:not(.dso-primary,.dso-secondary,.dso-tertiary):is(.download,.download:hover,.download:focus-visible){background-image:var(--_dso-di-background-image, url("./di.svg#download-zwart"))}ins.editaction-add .wrapper a:not(.dso-primary,.dso-secondary,.dso-tertiary):is(.extern,.extern:hover,.extern:focus-visible){background-image:var(--_dso-di-background-image, url("./di.svg#external-link-zwart"))}ins.editaction-add .wrapper a:not(.dso-primary,.dso-secondary,.dso-tertiary):is([href^="tel:"],[href^="tel:"]:hover,[href^="tel:"]:focus-visible){background-image:var(--_dso-di-background-image, url("./di.svg#call-zwart"))}ins.editaction-add .wrapper a:not(.dso-primary,.dso-secondary,.dso-tertiary):is([href^="mailto:"],[href^="mailto:"]:hover,[href^="mailto:"]:focus-visible){background-image:var(--_dso-di-background-image, url("./di.svg#mail-outline-zwart"))}ins.editaction-add .wrapper{--_dso-icon-button-tertiary-color:#191919;--_dso-icon-button-tertiary-hover-color:#4c4c4c;--_dso-icon-button-tertiary-active-color:#173521;--_dso-icon-button-tertiary-disabled-color:#999;--_dso-button-tertiary-color:#191919;--_dso-button-tertiary-hover-color:#4c4c4c;--_dso-button-tertiary-active-color:#173521;--_dso-button-tertiary-disabled-color:#999;background-color:#e4f1d4;color:#191919;box-shadow:0 1px 3px 1px rgba(0, 0, 0, 0.5);--_dt-ozon-content-toggletip-color:#000}ins.editaction-add .wrapper .editaction-label{line-height:1.5}ins.editaction-add .wrapper .close{inset-block-start:48px}ins.editaction-add .open{inset-block-start:48px}del.editaction-remove{display:inline-block;margin-block-end:8px;padding:8px;--_dso-alert-success-border-color:#39870c;--_dso-alert-error-border-color:#ce3f51;--_dso-alert-info-border-color:#6ca4d9;--_dso-alert-warning-border-color:#dcd400;--link-color:currentColor;--link-hover-color:currentColor;--link-visited-color:currentColor}del.editaction-remove a:not(.dso-primary,.dso-secondary,.dso-tertiary):is(.download,.download:hover,.download:focus-visible){background-image:var(--_dso-di-background-image, url("./di.svg#download-zwart"))}del.editaction-remove a:not(.dso-primary,.dso-secondary,.dso-tertiary):is(.extern,.extern:hover,.extern:focus-visible){background-image:var(--_dso-di-background-image, url("./di.svg#external-link-zwart"))}del.editaction-remove a:not(.dso-primary,.dso-secondary,.dso-tertiary):is([href^="tel:"],[href^="tel:"]:hover,[href^="tel:"]:focus-visible){background-image:var(--_dso-di-background-image, url("./di.svg#call-zwart"))}del.editaction-remove a:not(.dso-primary,.dso-secondary,.dso-tertiary):is([href^="mailto:"],[href^="mailto:"]:hover,[href^="mailto:"]:focus-visible){background-image:var(--_dso-di-background-image, url("./di.svg#mail-outline-zwart"))}del.editaction-remove{--_dso-icon-button-tertiary-color:#191919;--_dso-icon-button-tertiary-hover-color:#4c4c4c;--_dso-icon-button-tertiary-active-color:#173521;--_dso-icon-button-tertiary-disabled-color:#999;--_dso-button-tertiary-color:#191919;--_dso-button-tertiary-hover-color:#4c4c4c;--_dso-button-tertiary-active-color:#173521;--_dso-button-tertiary-disabled-color:#999;background-color:#f5d8dc;color:#191919;--_dt-ozon-content-toggletip-color:#000;text-decoration:line-through;--_dt-ozon-content-toggletip-text-decoration:underline line-through}@media screen and (min--moz-device-pixel-ratio: 0){del.editaction-remove{font-family:sans-serif}}del.editaction-remove .wrapper{outline:none;padding:8px;--_dso-alert-success-border-color:#39870c;--_dso-alert-error-border-color:#ce3f51;--_dso-alert-info-border-color:#6ca4d9;--_dso-alert-warning-border-color:#dcd400;--link-color:currentColor;--link-hover-color:currentColor;--link-visited-color:currentColor}del.editaction-remove .wrapper a:not(.dso-primary,.dso-secondary,.dso-tertiary):is(.download,.download:hover,.download:focus-visible){background-image:var(--_dso-di-background-image, url("./di.svg#download-zwart"))}del.editaction-remove .wrapper a:not(.dso-primary,.dso-secondary,.dso-tertiary):is(.extern,.extern:hover,.extern:focus-visible){background-image:var(--_dso-di-background-image, url("./di.svg#external-link-zwart"))}del.editaction-remove .wrapper a:not(.dso-primary,.dso-secondary,.dso-tertiary):is([href^="tel:"],[href^="tel:"]:hover,[href^="tel:"]:focus-visible){background-image:var(--_dso-di-background-image, url("./di.svg#call-zwart"))}del.editaction-remove .wrapper a:not(.dso-primary,.dso-secondary,.dso-tertiary):is([href^="mailto:"],[href^="mailto:"]:hover,[href^="mailto:"]:focus-visible){background-image:var(--_dso-di-background-image, url("./di.svg#mail-outline-zwart"))}del.editaction-remove .wrapper{--_dso-icon-button-tertiary-color:#191919;--_dso-icon-button-tertiary-hover-color:#4c4c4c;--_dso-icon-button-tertiary-active-color:#173521;--_dso-icon-button-tertiary-disabled-color:#999;--_dso-button-tertiary-color:#191919;--_dso-button-tertiary-hover-color:#4c4c4c;--_dso-button-tertiary-active-color:#173521;--_dso-button-tertiary-disabled-color:#999;background-color:#f5d8dc;color:#191919;--_dt-ozon-content-toggletip-color:#000;text-decoration:line-through;--_dt-ozon-content-toggletip-text-decoration:underline line-through}@media screen and (min--moz-device-pixel-ratio: 0){del.editaction-remove .wrapper{font-family:sans-serif}}del.editaction-remove .wrapper .title{text-decoration:line-through}del.editaction-remove .wrapper .editaction-label{line-height:1.5}del.editaction-remove .wrapper .close{inset-block-start:48px}del.editaction-remove .open{inset-block-start:48px}.editaction-label{font-style:italic;margin-block-end:8px}'}},[257,"dso-image-overlay",{wijzigactie:[1],active:[32],zoomable:[32]},[[2,"load","loadListener"]]]);function b(){"undefined"!=typeof customElements&&["dso-image-overlay","dso-icon","dso-icon-button"].forEach((o=>{switch(o){case"dso-image-overlay":customElements.get(a(o))||customElements.define(a(o),u);break;case"dso-icon":customElements.get(a(o))||s();break;case"dso-icon-button":customElements.get(a(o))||n()}}))}export{u as I,b as d}
@@ -99,7 +99,7 @@ export { OnboardingTip as DsoOnboardingTip } from '../types/components/onboardin
99
99
  export { defineCustomElement as defineCustomElementDsoOnboardingTip } from './dso-onboarding-tip';
100
100
  export { OzonContent as DsoOzonContent } from '../types/components/ozon-content/ozon-content';
101
101
  export { defineCustomElement as defineCustomElementDsoOzonContent } from './dso-ozon-content';
102
- export { ozonContentToggletip as DsoOzonContentToggletip } from '../types/components/ozon-content/components/ozon-content-toggletip/ozon-content-toggletip';
102
+ export { OzonContentToggletip as DsoOzonContentToggletip } from '../types/components/ozon-content/components/ozon-content-toggletip/ozon-content-toggletip';
103
103
  export { defineCustomElement as defineCustomElementDsoOzonContentToggletip } from './dso-ozon-content-toggletip';
104
104
  export { Pagination as DsoPagination } from '../types/components/pagination/pagination';
105
105
  export { defineCustomElement as defineCustomElementDsoPagination } from './dso-pagination';
@@ -1 +1 @@
1
- import{proxyCustomElement as t,HTMLElement as i,createEvent as o,h as e,Host as s,transformTag as n}from"@stencil/core/internal/client";import{p as r,T as l}from"./tooltip.functional-component.js";import{d as a}from"./icon.js";import{d as c}from"./icon-button.js";import{d}from"./scrollable.js";const b=t(class extends i{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.dsoToggle=o(this,"dsoToggle",7),this.active=!1,this.label="Toelichting bij optie",this.toggletipPlacement="top",this.toggletipActive=!1,this.hasToggletip=!1,this.keyDownHandler=t=>{this.toggletipActive&&"Escape"===t.key&&(this.toggletipActive=!1)},this.focusOutHandler=t=>{this.host.contains(t.relatedTarget)||(this.toggletipActive=!1,this.toggletipElRef?.hidePopover())}}async setFocus(){this.button?.setFocus?.()}handleToggle(t){this.hasToggletip?this.toggletipActive=!this.toggletipActive:this.dsoToggle.emit({originalEvent:t,active:!this.active})}cleanupTooltip(){this.cleanUp?.(),this.cleanUp=void 0}componentDidRender(){if(!this.hasToggletip)return this.toggletipElRef?.hidePopover(),void this.cleanupTooltip();!this.cleanUp&&this.toggletipActive&&this.button&&this.toggletipElRef&&this.toggletipArrowElRef&&(this.cleanUp=r({referenceElement:this.button,tipRef:this.toggletipElRef,tipArrowRef:this.toggletipArrowElRef,placementTip:this.toggletipPlacement,restrictContentElement:this.restrictContentElement})),this.cleanUp&&(this.toggletipActive?this.toggletipElRef?.showPopover():(this.toggletipElRef?.hidePopover(),this.cleanupTooltip()))}connectedCallback(){this.mutationObserver=new MutationObserver((()=>{this.hasToggletip=!!this.host.querySelector("[slot='toggletip']")})),this.mutationObserver.observe(this.host,{childList:!0,attributes:!0})}disconnectedCallback(){this.cleanupTooltip(),this.mutationObserver?.disconnect(),delete this.mutationObserver}render(){return e(s,{key:"9b6f13f1575ec545343cb421c7e79379b2820825",onKeydown:this.keyDownHandler,onFocusout:this.focusOutHandler},e("dso-icon-button",{key:"0b2d46eb999c4b8b95e2685d21dca2742090c94c",variant:"tertiary",label:this.label,onDsoClick:t=>this.handleToggle(t.detail.originalEvent),icon:this.active||this.toggletipActive?"info-solid":"info-outline",ref:t=>this.button=t,"aria-expanded":this.toggletipActive?"true":"false","aria-controls":"toggletip-content"}),this.hasToggletip&&e(l,{key:"f893b20b2ab9137e80336df9865886416f5cb14b",tipElementRef:t=>this.toggletipElRef=t,tipArrowElementRef:t=>this.toggletipArrowElRef=t,visible:this.toggletipActive},e("dso-scrollable",{key:"ff5ef61cebe5a264de3e8eb170a1901cbb9cd723",ref:t=>this.restrictContentElement=t,id:"toggletip-content","aria-live":"polite"},e("slot",{key:"17b598b17aa331ddec9f8c65fa0045ba0c9cd7ca",name:"toggletip"}))))}get host(){return this}static get style(){return":host{--_dt-scrollable-border-radius:4px;--_dt-scrollable-container-padding-inline:16px;--_dt-scrollable-container-padding-block:8px;display:inline-block}*,*::after,*::before{box-sizing:border-box}.dso-tooltip{--_dso-alert-success-border-color:initial;--_dso-alert-error-border-color:initial;--_dso-alert-info-border-color:initial;--_dso-alert-warning-border-color:initial;background-color:#fff;color:#191919;border-radius:4px;overflow:unset;margin:0;border:0;padding:0;filter:drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));opacity:0;visibility:hidden;transition:opacity 0.15s;max-inline-size:640px}.dso-tooltip.visible{opacity:1;visibility:visible}.dso-tooltip .tooltip-inner{--_dt-span-role-paragraph-margin-block:8px;--_dso-alert-success-border-color:initial;--_dso-alert-error-border-color:initial;--_dso-alert-info-border-color:initial;--_dso-alert-warning-border-color:initial;background-color:#fff;color:#191919;font-family:Asap, sans-serif;font-size:1rem;font-weight:normal;padding-block:0;padding-inline:0;border-radius:4px;line-height:1.5}.dso-tooltip .tooltip-arrow{position:absolute;background-color:#fff;border-start-start-radius:4px;block-size:10px;inline-size:10px;pointer-events:none;z-index:-1}.sr-only{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;border:0;overflow:hidden;clip-path:rect(0 0 0 0)}dso-icon-button{vertical-align:top;margin-inline-start:var(--_dt-info-button-margin-inline-start, 8px)}"}},[257,"dso-info-button",{active:[516],label:[513],toggletipPlacement:[513,"toggletip-placement"],toggletipActive:[32],hasToggletip:[32],setFocus:[64]}]);function h(){"undefined"!=typeof customElements&&["dso-info-button","dso-icon","dso-icon-button","dso-scrollable"].forEach((t=>{switch(t){case"dso-info-button":customElements.get(n(t))||customElements.define(n(t),b);break;case"dso-icon":customElements.get(n(t))||a();break;case"dso-icon-button":customElements.get(n(t))||c();break;case"dso-scrollable":customElements.get(n(t))||d()}}))}export{b as I,h as d}
1
+ import{proxyCustomElement as t,HTMLElement as i,createEvent as o,h as e,Host as s,transformTag as n}from"@stencil/core/internal/client";import{p as r,T as a}from"./tooltip.functional-component.js";import{d as l}from"./icon.js";import{d}from"./icon-button.js";import{d as c}from"./scrollable.js";const h=t(class extends i{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.dsoToggle=o(this,"dsoToggle",7),this.active=!1,this.label="Toelichting bij optie",this.toggletipPlacement="top",this.toggletipActive=!1,this.hasToggletip=!1,this.keyDownHandler=t=>{this.toggletipActive&&"Escape"===t.key&&(this.toggletipActive=!1)},this.focusOutHandler=t=>{this.host.contains(t.relatedTarget)||(this.toggletipActive=!1,this.toggletipElRef?.hidePopover())}}async setFocus(){this.button?.setFocus?.()}handleToggle(t){this.hasToggletip?this.toggletipActive=!this.toggletipActive:this.dsoToggle.emit({originalEvent:t,active:!this.active})}cleanUpTooltip(){this.cleanUpFunction?.(),this.cleanUpFunction=void 0}componentDidRender(){if(!this.hasToggletip)return this.toggletipElRef?.hidePopover(),void this.cleanUpTooltip();!this.cleanUpFunction&&this.toggletipActive&&this.button&&this.toggletipElRef&&this.toggletipArrowElRef&&(this.cleanUpFunction=r({referenceElement:this.button,tipRef:this.toggletipElRef,tipArrowRef:this.toggletipArrowElRef,placementTip:this.toggletipPlacement,restrictContentElement:this.restrictContentElement})),this.cleanUpFunction&&(this.toggletipActive?this.toggletipElRef?.showPopover():(this.toggletipElRef?.hidePopover(),this.cleanUpTooltip()))}connectedCallback(){this.mutationObserver=new MutationObserver((()=>{this.hasToggletip=!!this.host.querySelector("[slot='toggletip']")})),this.mutationObserver.observe(this.host,{childList:!0,attributes:!0})}disconnectedCallback(){this.cleanUpTooltip(),this.mutationObserver?.disconnect(),delete this.mutationObserver}render(){return e(s,{key:"10ad36d2309fd1f8b9f43d77ddb4adc130428964",onKeyDown:this.keyDownHandler,onFocusout:this.focusOutHandler},e("dso-icon-button",{key:"f94a0c12e24a97b834a039458aa6b0982ffea47c",variant:"tertiary",label:this.label,onDsoClick:t=>this.handleToggle(t.detail.originalEvent),icon:this.active||this.toggletipActive?"info-solid":"info-outline",ref:t=>this.button=t,"aria-expanded":this.toggletipActive?"true":"false","aria-controls":"toggletip-content"}),this.hasToggletip&&e(a,{key:"1366a103b0ea2ab05c7e3f959e0b7920a783223f",tipElementRef:t=>this.toggletipElRef=t,tipArrowElementRef:t=>this.toggletipArrowElRef=t},e("dso-scrollable",{key:"f4b35f1bbd2f9208ca4aaa0ae09b06b7e7142bf9",ref:t=>this.restrictContentElement=t,id:"toggletip-content","aria-live":"polite"},e("slot",{key:"df3ef36165d1ec3358feedf214a09d9dafef9902",name:"toggletip"}))))}get host(){return this}static get style(){return":host{--_dt-scrollable-border-radius:4px;--_dt-scrollable-container-padding-inline:16px;--_dt-scrollable-container-padding-block:8px;display:inline-block}*,*::after,*::before{box-sizing:border-box}.dso-tooltip{--_dso-alert-success-border-color:initial;--_dso-alert-error-border-color:initial;--_dso-alert-info-border-color:initial;--_dso-alert-warning-border-color:initial;background-color:#fff;color:#191919;border-radius:4px;overflow:unset;margin:0;border:0;padding:0;filter:drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));opacity:0;visibility:hidden;max-inline-size:640px}.dso-tooltip .tooltip-inner{--_dt-span-role-paragraph-margin-block:8px;--_dso-alert-success-border-color:initial;--_dso-alert-error-border-color:initial;--_dso-alert-info-border-color:initial;--_dso-alert-warning-border-color:initial;background-color:#fff;color:#191919;font-family:Asap, sans-serif;font-size:1rem;font-weight:normal;padding-block:0;padding-inline:0;border-radius:4px;line-height:1.5}.dso-tooltip .tooltip-arrow{position:absolute;background-color:#fff;border-start-start-radius:4px;block-size:10px;inline-size:10px;pointer-events:none;z-index:-1}.sr-only{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;border:0;overflow:hidden;clip-path:rect(0 0 0 0)}dso-icon-button{vertical-align:top;margin-inline-start:var(--_dt-info-button-margin-inline-start, 8px)}"}},[257,"dso-info-button",{active:[516],label:[513],toggletipPlacement:[513,"toggletip-placement"],toggletipActive:[32],hasToggletip:[32],setFocus:[64]}]);function p(){"undefined"!=typeof customElements&&["dso-info-button","dso-icon","dso-icon-button","dso-scrollable"].forEach((t=>{switch(t){case"dso-info-button":customElements.get(n(t))||customElements.define(n(t),h);break;case"dso-icon":customElements.get(n(t))||l();break;case"dso-icon-button":customElements.get(n(t))||d();break;case"dso-scrollable":customElements.get(n(t))||c()}}))}export{h as I,p as d}
@@ -1 +1 @@
1
- import{proxyCustomElement as o,HTMLElement as r,createEvent as e,h as d,Fragment as t,transformTag as a}from"@stencil/core/internal/client";import{c as s}from"./clsx.js";import{d as l}from"./index2.js";import{d as i}from"./icon.js";import{d as c}from"./icon-button.js";import{d as n}from"./tooltip.js";const b=new ResizeObserver(l((o=>{o.forEach((({target:o})=>{"DSO-LABEL"===o.tagName&&o._truncateLabel()}))}),150)),u=o(class extends r{constructor(o){super(),!1!==o&&this.__registerHost(),this.__attachShadow(),this.dsoRemoveClick=e(this,"dsoRemoveClick",7),this.isTruncated=!1,this.labelText=""}watchRemovable(o){o?this.startMutationObserver():this.stopMutationObserver()}watchTruncate(o){o?this.startTruncate():this.stopTruncate()}keyDownListener(o){"Escape"===o.key&&(this.textHover=!1,this.textFocus=!1)}async _truncateLabel(){setTimeout((()=>{var o;this.isTruncated=!!this.labelContent&&(o=this.labelContent).scrollWidth>o.clientWidth}))}syncLabelText(){this.labelText=this.host.textContent?.trim()??""}componentDidLoad(){this.truncate&&this.startTruncate(),this.removable&&this.startMutationObserver()}disconnectedCallback(){this.stopTruncate(),this.stopMutationObserver(!0)}startMutationObserver(){this.mutationObserver=new MutationObserver((()=>this.syncLabelText())),this.mutationObserver.observe(this.host,{characterData:!0,childList:!0,subtree:!0,attributes:!0}),this.syncLabelText()}stopMutationObserver(o=!1){!o&&this.truncate&&this.removable||(this.mutationObserver?.disconnect(),delete this.mutationObserver)}startTruncate(){b.observe(this.host),this.startMutationObserver(),this._truncateLabel()}stopTruncate(){b.unobserve(this.host),this.stopMutationObserver(),this.isTruncated=!1}render(){return d(t,{key:"87bd45c89413b864891a85546aaa48b22bd0898b"},d("span",{key:"36705f33b42cc5ec3be583c745aa40f6bde779da","aria-describedby":this.isTruncated?"toggle-anchor":null,class:s("dso-label",{[`dso-label-${this.status}`]:this.status,"dso-compact":this.compact&&!this.removable,"dso-hover":this.removeHover||this.removeFocus})},d("slot",{key:"2afcd8e8c615246c6843a0e3f275032655c26c4d",name:"symbol"}),d("span",{key:"2a8e0a70a0a1d11908aee62f072c8d9f5d18b39b",class:"dso-label-content",ref:o=>this.labelContent=o,tabindex:this.truncate&&this.isTruncated?0:void 0,onMouseEnter:()=>this.textHover=!0,onMouseLeave:()=>this.textHover=!1,onFocus:()=>this.textFocus=!0,onBlur:()=>this.textFocus=!1},d("slot",{key:"52f4794d885de7ed9c953d6719ff3dff77c2f9de"})),this.removable&&d("dso-icon-button",{key:"2c7a1991c6498d4c297d808ab0c9f54959c548b2",variant:"tertiary",icon:"cross",label:`Verwijder: ${this.labelText}`,onDsoClick:o=>this.dsoRemoveClick.emit(o.detail.originalEvent),onMouseEnter:()=>this.removeHover=!0,onMouseLeave:()=>this.removeHover=!1,onFocus:()=>this.removeFocus=!0,onBlur:()=>this.removeFocus=!1})),this.isTruncated&&d("dso-tooltip",{key:"b48a848e19c7919460a4f667a467b7f6d7b8077c",stateless:!0,id:"toggle-anchor",active:this.textHover||this.textFocus,position:"top",strategy:"absolute"},this.labelText))}get host(){return this}static get watchers(){return{removable:[{watchRemovable:0}],truncate:[{watchTruncate:0}]}}static get style(){return'*,*::after,*::before{box-sizing:border-box}:host{display:inline-block;max-inline-size:100%}:host([removable]) .dso-truncate.dso-label-content{max-inline-size:calc(100% - 28px)}:host([truncate]) .dso-label-content{display:inline-block;max-inline-size:100%;overflow:hidden;text-overflow:ellipsis;vertical-align:bottom;white-space:nowrap}::slotted([slot=symbol]){background-color:#fff;background-color:#fff;display:block;float:inline-start;block-size:20px;margin-block-start:0;margin-inline-end:8px;inline-size:24px;overflow:hidden;position:relative}.dso-label{--_dso-alert-success-border-color:#39870c;--_dso-alert-error-border-color:#ce3f51;--_dso-alert-info-border-color:#6ca4d9;--_dso-alert-warning-border-color:#dcd400;--link-color:currentColor;--link-hover-color:currentColor;--link-visited-color:currentColor}.dso-label a:not(.dso-primary,.dso-secondary,.dso-tertiary):is(.download,.download:hover,.download:focus-visible){background-image:var(--_dso-di-background-image, url("./di.svg#download-zwart"))}.dso-label a:not(.dso-primary,.dso-secondary,.dso-tertiary):is(.extern,.extern:hover,.extern:focus-visible){background-image:var(--_dso-di-background-image, url("./di.svg#external-link-zwart"))}.dso-label a:not(.dso-primary,.dso-secondary,.dso-tertiary):is([href^="tel:"],[href^="tel:"]:hover,[href^="tel:"]:focus-visible){background-image:var(--_dso-di-background-image, url("./di.svg#call-zwart"))}.dso-label a:not(.dso-primary,.dso-secondary,.dso-tertiary):is([href^="mailto:"],[href^="mailto:"]:hover,[href^="mailto:"]:focus-visible){background-image:var(--_dso-di-background-image, url("./di.svg#mail-outline-zwart"))}.dso-label{--_dso-icon-button-tertiary-color:#191919;--_dso-icon-button-tertiary-hover-color:#4c4c4c;--_dso-icon-button-tertiary-active-color:#173521;--_dso-icon-button-tertiary-disabled-color:#999;--_dso-button-tertiary-color:#191919;--_dso-button-tertiary-hover-color:#4c4c4c;--_dso-button-tertiary-active-color:#173521;--_dso-button-tertiary-disabled-color:#999;background-color:#f2f2f2;color:#191919;display:inline-flex;align-items:center;padding-block:4px;padding-inline:8px;max-inline-size:100%;font-weight:normal;border-radius:4px;line-height:1.5}.dso-label:focus-within,.dso-label.dso-hover{text-decoration:line-through}.dso-label.dso-label-info{--_dso-alert-success-border-color:#39870c;--_dso-alert-error-border-color:#ce3f51;--_dso-alert-info-border-color:#6ca4d9;--_dso-alert-warning-border-color:#dcd400;--link-color:currentColor;--link-hover-color:currentColor;--link-visited-color:currentColor}.dso-label.dso-label-info a:not(.dso-primary,.dso-secondary,.dso-tertiary):is(.download,.download:hover,.download:focus-visible){background-image:var(--_dso-di-background-image, url("./di.svg#download-zwart"))}.dso-label.dso-label-info a:not(.dso-primary,.dso-secondary,.dso-tertiary):is(.extern,.extern:hover,.extern:focus-visible){background-image:var(--_dso-di-background-image, url("./di.svg#external-link-zwart"))}.dso-label.dso-label-info a:not(.dso-primary,.dso-secondary,.dso-tertiary):is([href^="tel:"],[href^="tel:"]:hover,[href^="tel:"]:focus-visible){background-image:var(--_dso-di-background-image, url("./di.svg#call-zwart"))}.dso-label.dso-label-info a:not(.dso-primary,.dso-secondary,.dso-tertiary):is([href^="mailto:"],[href^="mailto:"]:hover,[href^="mailto:"]:focus-visible){background-image:var(--_dso-di-background-image, url("./di.svg#mail-outline-zwart"))}.dso-label.dso-label-info{--_dso-icon-button-tertiary-color:#191919;--_dso-icon-button-tertiary-hover-color:#4c4c4c;--_dso-icon-button-tertiary-active-color:#173521;--_dso-icon-button-tertiary-disabled-color:#999;--_dso-button-tertiary-color:#191919;--_dso-button-tertiary-hover-color:#4c4c4c;--_dso-button-tertiary-active-color:#173521;--_dso-button-tertiary-disabled-color:#999;background-color:#6ca4d9;color:#191919}.dso-label.dso-label-primary{--_dso-alert-success-border-color:#39870c;--_dso-alert-error-border-color:#ce3f51;--_dso-alert-info-border-color:#6ca4d9;--_dso-alert-warning-border-color:#dcd400;--link-color:currentColor;--link-hover-color:currentColor;--link-visited-color:currentColor}.dso-label.dso-label-primary a:not(.dso-primary,.dso-secondary,.dso-tertiary):is(.download,.download:hover,.download:focus-visible){background-image:var(--_dso-di-background-image, url("./di.svg#download-wit"))}.dso-label.dso-label-primary a:not(.dso-primary,.dso-secondary,.dso-tertiary):is(.extern,.extern:hover,.extern:focus-visible){background-image:var(--_dso-di-background-image, url("./di.svg#external-link-wit"))}.dso-label.dso-label-primary a:not(.dso-primary,.dso-secondary,.dso-tertiary):is([href^="tel:"],[href^="tel:"]:hover,[href^="tel:"]:focus-visible){background-image:var(--_dso-di-background-image, url("./di.svg#call-wit"))}.dso-label.dso-label-primary a:not(.dso-primary,.dso-secondary,.dso-tertiary):is([href^="mailto:"],[href^="mailto:"]:hover,[href^="mailto:"]:focus-visible){background-image:var(--_dso-di-background-image, url("./di.svg#mail-outline-wit"))}.dso-label.dso-label-primary{--_dso-icon-button-tertiary-color:#fff;--_dso-icon-button-tertiary-hover-color:#e5e5e5;--_dso-icon-button-tertiary-disabled-color:#b2b2b2;--_dso-button-primary-background-color:#fff;--_dso-button-primary-hover-background-color:rgba(255, 255, 255, 0.8);--_dso-button-primary-active-background-color:#f2f2f2;--_dso-button-primary-disabled-background-color:rgba(255, 255, 255, 0.6);--_dso-button-primary-border-color:#fff;--_dso-button-primary-hover-border-color:rgba(255, 255, 255, 0.8);--_dso-button-primary-active-border-color:#f2f2f2;--_dso-button-primary-disabled-border-color:rgba(255, 255, 255, 0.6);--_dso-button-primary-color:#191919;--_dso-button-primary-hover-color:#191919;--_dso-button-primary-active-color:#191919;--_dso-button-primary-disabled-color:#666;--_dso-button-secondary-background-color:none;--_dso-button-secondary-hover-background-color:rgba(255, 255, 255, 0.2);--_dso-button-secondary-active-background-color:rgba(255, 255, 255, 0.4);--_dso-button-secondary-disabled-background-color:none;--_dso-button-secondary-border-color:#fff;--_dso-button-secondary-hover-border-color:#fff;--_dso-button-secondary-active-border-color:rgba(255, 255, 255, 0.4);--_dso-button-secondary-disabled-border-color:rgba(255, 255, 255, 0.7);--_dso-button-secondary-color:#fff;--_dso-button-secondary-hover-color:#fff;--_dso-button-secondary-active-color:#fff;--_dso-button-secondary-disabled-color:rgba(255, 255, 255, 0.7);--_dso-button-tertiary-color:#fff;--_dso-button-tertiary-hover-color:#fff;--_dso-button-tertiary-active-color:#fff;--_dso-button-tertiary-disabled-color:#b2b2b2;background-color:#275937;color:#fff}.dso-label.dso-label-success{--_dso-alert-success-border-color:#39870c;--_dso-alert-error-border-color:#ce3f51;--_dso-alert-info-border-color:#6ca4d9;--_dso-alert-warning-border-color:#dcd400;--link-color:currentColor;--link-hover-color:currentColor;--link-visited-color:currentColor}.dso-label.dso-label-success a:not(.dso-primary,.dso-secondary,.dso-tertiary):is(.download,.download:hover,.download:focus-visible){background-image:var(--_dso-di-background-image, url("./di.svg#download-wit"))}.dso-label.dso-label-success a:not(.dso-primary,.dso-secondary,.dso-tertiary):is(.extern,.extern:hover,.extern:focus-visible){background-image:var(--_dso-di-background-image, url("./di.svg#external-link-wit"))}.dso-label.dso-label-success a:not(.dso-primary,.dso-secondary,.dso-tertiary):is([href^="tel:"],[href^="tel:"]:hover,[href^="tel:"]:focus-visible){background-image:var(--_dso-di-background-image, url("./di.svg#call-wit"))}.dso-label.dso-label-success a:not(.dso-primary,.dso-secondary,.dso-tertiary):is([href^="mailto:"],[href^="mailto:"]:hover,[href^="mailto:"]:focus-visible){background-image:var(--_dso-di-background-image, url("./di.svg#mail-outline-wit"))}.dso-label.dso-label-success{--_dso-icon-button-tertiary-color:#fff;--_dso-icon-button-tertiary-hover-color:#e5e5e5;--_dso-icon-button-tertiary-disabled-color:#b2b2b2;--_dso-button-primary-background-color:#fff;--_dso-button-primary-hover-background-color:rgba(255, 255, 255, 0.8);--_dso-button-primary-active-background-color:#f2f2f2;--_dso-button-primary-disabled-background-color:rgba(255, 255, 255, 0.6);--_dso-button-primary-border-color:#fff;--_dso-button-primary-hover-border-color:rgba(255, 255, 255, 0.8);--_dso-button-primary-active-border-color:#f2f2f2;--_dso-button-primary-disabled-border-color:rgba(255, 255, 255, 0.6);--_dso-button-primary-color:#191919;--_dso-button-primary-hover-color:#191919;--_dso-button-primary-active-color:#191919;--_dso-button-primary-disabled-color:#666;--_dso-button-secondary-background-color:none;--_dso-button-secondary-hover-background-color:rgba(255, 255, 255, 0.2);--_dso-button-secondary-active-background-color:rgba(255, 255, 255, 0.4);--_dso-button-secondary-disabled-background-color:none;--_dso-button-secondary-border-color:#fff;--_dso-button-secondary-hover-border-color:#fff;--_dso-button-secondary-active-border-color:rgba(255, 255, 255, 0.4);--_dso-button-secondary-disabled-border-color:rgba(255, 255, 255, 0.7);--_dso-button-secondary-color:#fff;--_dso-button-secondary-hover-color:#fff;--_dso-button-secondary-active-color:#fff;--_dso-button-secondary-disabled-color:rgba(255, 255, 255, 0.7);--_dso-button-tertiary-color:#fff;--_dso-button-tertiary-hover-color:#fff;--_dso-button-tertiary-active-color:#fff;--_dso-button-tertiary-disabled-color:#b2b2b2;background-color:#39870c;color:#fff}.dso-label.dso-label-warning{--_dso-alert-success-border-color:#39870c;--_dso-alert-error-border-color:#ce3f51;--_dso-alert-info-border-color:#6ca4d9;--_dso-alert-warning-border-color:#dcd400;--link-color:currentColor;--link-hover-color:currentColor;--link-visited-color:currentColor}.dso-label.dso-label-warning a:not(.dso-primary,.dso-secondary,.dso-tertiary):is(.download,.download:hover,.download:focus-visible){background-image:var(--_dso-di-background-image, url("./di.svg#download-zwart"))}.dso-label.dso-label-warning a:not(.dso-primary,.dso-secondary,.dso-tertiary):is(.extern,.extern:hover,.extern:focus-visible){background-image:var(--_dso-di-background-image, url("./di.svg#external-link-zwart"))}.dso-label.dso-label-warning a:not(.dso-primary,.dso-secondary,.dso-tertiary):is([href^="tel:"],[href^="tel:"]:hover,[href^="tel:"]:focus-visible){background-image:var(--_dso-di-background-image, url("./di.svg#call-zwart"))}.dso-label.dso-label-warning a:not(.dso-primary,.dso-secondary,.dso-tertiary):is([href^="mailto:"],[href^="mailto:"]:hover,[href^="mailto:"]:focus-visible){background-image:var(--_dso-di-background-image, url("./di.svg#mail-outline-zwart"))}.dso-label.dso-label-warning{--_dso-icon-button-tertiary-color:#191919;--_dso-icon-button-tertiary-hover-color:#4c4c4c;--_dso-icon-button-tertiary-active-color:#173521;--_dso-icon-button-tertiary-disabled-color:#999;--_dso-button-tertiary-color:#191919;--_dso-button-tertiary-hover-color:#4c4c4c;--_dso-button-tertiary-active-color:#173521;--_dso-button-tertiary-disabled-color:#999;background-color:#dcd400;color:#191919}.dso-label.dso-label-error{--_dso-alert-success-border-color:#39870c;--_dso-alert-error-border-color:#ce3f51;--_dso-alert-info-border-color:#6ca4d9;--_dso-alert-warning-border-color:#dcd400;--link-color:currentColor;--link-hover-color:currentColor;--link-visited-color:currentColor}.dso-label.dso-label-error a:not(.dso-primary,.dso-secondary,.dso-tertiary):is(.download,.download:hover,.download:focus-visible){background-image:var(--_dso-di-background-image, url("./di.svg#download-wit"))}.dso-label.dso-label-error a:not(.dso-primary,.dso-secondary,.dso-tertiary):is(.extern,.extern:hover,.extern:focus-visible){background-image:var(--_dso-di-background-image, url("./di.svg#external-link-wit"))}.dso-label.dso-label-error a:not(.dso-primary,.dso-secondary,.dso-tertiary):is([href^="tel:"],[href^="tel:"]:hover,[href^="tel:"]:focus-visible){background-image:var(--_dso-di-background-image, url("./di.svg#call-wit"))}.dso-label.dso-label-error a:not(.dso-primary,.dso-secondary,.dso-tertiary):is([href^="mailto:"],[href^="mailto:"]:hover,[href^="mailto:"]:focus-visible){background-image:var(--_dso-di-background-image, url("./di.svg#mail-outline-wit"))}.dso-label.dso-label-error{--_dso-icon-button-tertiary-color:#fff;--_dso-icon-button-tertiary-hover-color:#e5e5e5;--_dso-icon-button-tertiary-disabled-color:#b2b2b2;--_dso-button-primary-background-color:#fff;--_dso-button-primary-hover-background-color:rgba(255, 255, 255, 0.8);--_dso-button-primary-active-background-color:#f2f2f2;--_dso-button-primary-disabled-background-color:rgba(255, 255, 255, 0.6);--_dso-button-primary-border-color:#fff;--_dso-button-primary-hover-border-color:rgba(255, 255, 255, 0.8);--_dso-button-primary-active-border-color:#f2f2f2;--_dso-button-primary-disabled-border-color:rgba(255, 255, 255, 0.6);--_dso-button-primary-color:#191919;--_dso-button-primary-hover-color:#191919;--_dso-button-primary-active-color:#191919;--_dso-button-primary-disabled-color:#666;--_dso-button-secondary-background-color:none;--_dso-button-secondary-hover-background-color:rgba(255, 255, 255, 0.2);--_dso-button-secondary-active-background-color:rgba(255, 255, 255, 0.4);--_dso-button-secondary-disabled-background-color:none;--_dso-button-secondary-border-color:#fff;--_dso-button-secondary-hover-border-color:#fff;--_dso-button-secondary-active-border-color:rgba(255, 255, 255, 0.4);--_dso-button-secondary-disabled-border-color:rgba(255, 255, 255, 0.7);--_dso-button-secondary-color:#fff;--_dso-button-secondary-hover-color:#fff;--_dso-button-secondary-active-color:#fff;--_dso-button-secondary-disabled-color:rgba(255, 255, 255, 0.7);--_dso-button-tertiary-color:#fff;--_dso-button-tertiary-hover-color:#fff;--_dso-button-tertiary-active-color:#fff;--_dso-button-tertiary-disabled-color:#b2b2b2;background-color:#ce3f51;color:#fff}.dso-label.dso-label-bright{--_dso-alert-success-border-color:initial;--_dso-alert-error-border-color:initial;--_dso-alert-info-border-color:initial;--_dso-alert-warning-border-color:initial;background-color:#fff;color:#191919;outline:1px solid #ccc;outline-offset:-1px}.dso-label.dso-label-attention{--_dso-alert-success-border-color:#39870c;--_dso-alert-error-border-color:#ce3f51;--_dso-alert-info-border-color:#6ca4d9;--_dso-alert-warning-border-color:#dcd400;--link-color:currentColor;--link-hover-color:currentColor;--link-visited-color:currentColor}.dso-label.dso-label-attention a:not(.dso-primary,.dso-secondary,.dso-tertiary):is(.download,.download:hover,.download:focus-visible){background-image:var(--_dso-di-background-image, url("./di.svg#download-wit"))}.dso-label.dso-label-attention a:not(.dso-primary,.dso-secondary,.dso-tertiary):is(.extern,.extern:hover,.extern:focus-visible){background-image:var(--_dso-di-background-image, url("./di.svg#external-link-wit"))}.dso-label.dso-label-attention a:not(.dso-primary,.dso-secondary,.dso-tertiary):is([href^="tel:"],[href^="tel:"]:hover,[href^="tel:"]:focus-visible){background-image:var(--_dso-di-background-image, url("./di.svg#call-wit"))}.dso-label.dso-label-attention a:not(.dso-primary,.dso-secondary,.dso-tertiary):is([href^="mailto:"],[href^="mailto:"]:hover,[href^="mailto:"]:focus-visible){background-image:var(--_dso-di-background-image, url("./di.svg#mail-outline-wit"))}.dso-label.dso-label-attention{--_dso-icon-button-tertiary-color:#fff;--_dso-icon-button-tertiary-hover-color:#e5e5e5;--_dso-icon-button-tertiary-disabled-color:#b2b2b2;--_dso-button-primary-background-color:#fff;--_dso-button-primary-hover-background-color:rgba(255, 255, 255, 0.8);--_dso-button-primary-active-background-color:#f2f2f2;--_dso-button-primary-disabled-background-color:rgba(255, 255, 255, 0.6);--_dso-button-primary-border-color:#fff;--_dso-button-primary-hover-border-color:rgba(255, 255, 255, 0.8);--_dso-button-primary-active-border-color:#f2f2f2;--_dso-button-primary-disabled-border-color:rgba(255, 255, 255, 0.6);--_dso-button-primary-color:#191919;--_dso-button-primary-hover-color:#191919;--_dso-button-primary-active-color:#191919;--_dso-button-primary-disabled-color:#666;--_dso-button-secondary-background-color:none;--_dso-button-secondary-hover-background-color:rgba(255, 255, 255, 0.2);--_dso-button-secondary-active-background-color:rgba(255, 255, 255, 0.4);--_dso-button-secondary-disabled-background-color:none;--_dso-button-secondary-border-color:#fff;--_dso-button-secondary-hover-border-color:#fff;--_dso-button-secondary-active-border-color:rgba(255, 255, 255, 0.4);--_dso-button-secondary-disabled-border-color:rgba(255, 255, 255, 0.7);--_dso-button-secondary-color:#fff;--_dso-button-secondary-hover-color:#fff;--_dso-button-secondary-active-color:#fff;--_dso-button-secondary-disabled-color:rgba(255, 255, 255, 0.7);--_dso-button-tertiary-color:#fff;--_dso-button-tertiary-hover-color:#fff;--_dso-button-tertiary-active-color:#fff;--_dso-button-tertiary-disabled-color:#b2b2b2;background-color:#8b4a6a;color:#fff}.dso-label.dso-label-filter{--_dso-alert-success-border-color:#39870c;--_dso-alert-error-border-color:#ce3f51;--_dso-alert-info-border-color:#6ca4d9;--_dso-alert-warning-border-color:#dcd400;--link-color:currentColor;--link-hover-color:currentColor;--link-visited-color:currentColor}.dso-label.dso-label-filter a:not(.dso-primary,.dso-secondary,.dso-tertiary):is(.download,.download:hover,.download:focus-visible){background-image:var(--_dso-di-background-image, url("./di.svg#download-zwart"))}.dso-label.dso-label-filter a:not(.dso-primary,.dso-secondary,.dso-tertiary):is(.extern,.extern:hover,.extern:focus-visible){background-image:var(--_dso-di-background-image, url("./di.svg#external-link-zwart"))}.dso-label.dso-label-filter a:not(.dso-primary,.dso-secondary,.dso-tertiary):is([href^="tel:"],[href^="tel:"]:hover,[href^="tel:"]:focus-visible){background-image:var(--_dso-di-background-image, url("./di.svg#call-zwart"))}.dso-label.dso-label-filter a:not(.dso-primary,.dso-secondary,.dso-tertiary):is([href^="mailto:"],[href^="mailto:"]:hover,[href^="mailto:"]:focus-visible){background-image:var(--_dso-di-background-image, url("./di.svg#mail-outline-zwart"))}.dso-label.dso-label-filter{--_dso-icon-button-tertiary-color:#191919;--_dso-icon-button-tertiary-hover-color:#4c4c4c;--_dso-icon-button-tertiary-active-color:#173521;--_dso-icon-button-tertiary-disabled-color:#999;--_dso-button-tertiary-color:#191919;--_dso-button-tertiary-hover-color:#4c4c4c;--_dso-button-tertiary-active-color:#173521;--_dso-button-tertiary-disabled-color:#999;background-color:#e1ecf7;color:#191919;border-inline-start:5px solid #6ca4d9}.dso-label.dso-label-toegevoegd{--_dso-alert-success-border-color:#39870c;--_dso-alert-error-border-color:#ce3f51;--_dso-alert-info-border-color:#6ca4d9;--_dso-alert-warning-border-color:#dcd400;--link-color:currentColor;--link-hover-color:currentColor;--link-visited-color:currentColor}.dso-label.dso-label-toegevoegd a:not(.dso-primary,.dso-secondary,.dso-tertiary):is(.download,.download:hover,.download:focus-visible){background-image:var(--_dso-di-background-image, url("./di.svg#download-zwart"))}.dso-label.dso-label-toegevoegd a:not(.dso-primary,.dso-secondary,.dso-tertiary):is(.extern,.extern:hover,.extern:focus-visible){background-image:var(--_dso-di-background-image, url("./di.svg#external-link-zwart"))}.dso-label.dso-label-toegevoegd a:not(.dso-primary,.dso-secondary,.dso-tertiary):is([href^="tel:"],[href^="tel:"]:hover,[href^="tel:"]:focus-visible){background-image:var(--_dso-di-background-image, url("./di.svg#call-zwart"))}.dso-label.dso-label-toegevoegd a:not(.dso-primary,.dso-secondary,.dso-tertiary):is([href^="mailto:"],[href^="mailto:"]:hover,[href^="mailto:"]:focus-visible){background-image:var(--_dso-di-background-image, url("./di.svg#mail-outline-zwart"))}.dso-label.dso-label-toegevoegd{--_dso-icon-button-tertiary-color:#191919;--_dso-icon-button-tertiary-hover-color:#4c4c4c;--_dso-icon-button-tertiary-active-color:#173521;--_dso-icon-button-tertiary-disabled-color:#999;--_dso-button-tertiary-color:#191919;--_dso-button-tertiary-hover-color:#4c4c4c;--_dso-button-tertiary-active-color:#173521;--_dso-button-tertiary-disabled-color:#999;background-color:#e4f1d4;color:#191919;box-shadow:0 1px 3px 1px rgba(0, 0, 0, 0.5);--_dso-ozon-content-toggletip-color:#000}.dso-label.dso-label-verwijderd{--_dso-alert-success-border-color:#39870c;--_dso-alert-error-border-color:#ce3f51;--_dso-alert-info-border-color:#6ca4d9;--_dso-alert-warning-border-color:#dcd400;--link-color:currentColor;--link-hover-color:currentColor;--link-visited-color:currentColor}.dso-label.dso-label-verwijderd a:not(.dso-primary,.dso-secondary,.dso-tertiary):is(.download,.download:hover,.download:focus-visible){background-image:var(--_dso-di-background-image, url("./di.svg#download-zwart"))}.dso-label.dso-label-verwijderd a:not(.dso-primary,.dso-secondary,.dso-tertiary):is(.extern,.extern:hover,.extern:focus-visible){background-image:var(--_dso-di-background-image, url("./di.svg#external-link-zwart"))}.dso-label.dso-label-verwijderd a:not(.dso-primary,.dso-secondary,.dso-tertiary):is([href^="tel:"],[href^="tel:"]:hover,[href^="tel:"]:focus-visible){background-image:var(--_dso-di-background-image, url("./di.svg#call-zwart"))}.dso-label.dso-label-verwijderd a:not(.dso-primary,.dso-secondary,.dso-tertiary):is([href^="mailto:"],[href^="mailto:"]:hover,[href^="mailto:"]:focus-visible){background-image:var(--_dso-di-background-image, url("./di.svg#mail-outline-zwart"))}.dso-label.dso-label-verwijderd{--_dso-icon-button-tertiary-color:#191919;--_dso-icon-button-tertiary-hover-color:#4c4c4c;--_dso-icon-button-tertiary-active-color:#173521;--_dso-icon-button-tertiary-disabled-color:#999;--_dso-button-tertiary-color:#191919;--_dso-button-tertiary-hover-color:#4c4c4c;--_dso-button-tertiary-active-color:#173521;--_dso-button-tertiary-disabled-color:#999;background-color:#f5d8dc;color:#191919;--_dso-ozon-content-toggletip-color:#000;text-decoration:line-through;--_dso-ozon-content-toggletip-text-decoration:underline line-through}@media screen and (min--moz-device-pixel-ratio: 0){.dso-label.dso-label-verwijderd{font-family:sans-serif}}.dso-label.dso-compact{padding-block:0;padding-inline:8px}dso-icon-button{float:inline-end;margin-inline-start:8px;margin-inline-end:-4px}'}},[257,"dso-label",{compact:[516],removable:[516],status:[513],truncate:[516],removeHover:[32],removeFocus:[32],textHover:[32],textFocus:[32],isTruncated:[32],labelText:[32],_truncateLabel:[64]},[[4,"keydown","keyDownListener"]],{removable:[{watchRemovable:0}],truncate:[{watchTruncate:0}]}]);function f(){"undefined"!=typeof customElements&&["dso-label","dso-icon","dso-icon-button","dso-tooltip"].forEach((o=>{switch(o){case"dso-label":customElements.get(a(o))||customElements.define(a(o),u);break;case"dso-icon":customElements.get(a(o))||i();break;case"dso-icon-button":customElements.get(a(o))||c();break;case"dso-tooltip":customElements.get(a(o))||n()}}))}export{u as L,f as d}
1
+ import{proxyCustomElement as o,HTMLElement as r,createEvent as e,h as t,Fragment as a,transformTag as d}from"@stencil/core/internal/client";import{c as s}from"./clsx.js";import{d as i}from"./index2.js";import{p as l,T as n}from"./tooltip.functional-component.js";import{d as c}from"./icon.js";import{d as b}from"./icon-button.js";const u=new ResizeObserver(i((o=>{o.forEach((({target:o})=>{"DSO-LABEL"===o.tagName&&o._truncateLabel()}))}),150)),f=o(class extends r{constructor(o){super(),!1!==o&&this.__registerHost(),this.__attachShadow(),this.dsoRemoveClick=e(this,"dsoRemoveClick",7),this.isTruncated=!1,this.labelText="",this.handleShowTooltip=()=>{this.tooltipElRef?.showPopover(),!this.cleanUpFunction&&this.labelContent&&this.tooltipElRef&&this.tooltipArrowElRef&&(this.cleanUpFunction=l({referenceElement:this.labelContent,tipRef:this.tooltipElRef,tipArrowRef:this.tooltipArrowElRef,placementTip:"top",topPositionSmallViewPort:!1,halfMainAxisOffset:!1,forceVisible:!0}))},this.handleHideTooltip=()=>{this.tooltipElRef?.isConnected&&this.tooltipElRef.matches(":popover-open")&&this.tooltipElRef.hidePopover(),this.cleanUpTooltip()}}watchRemovable(o){o?this.startMutationObserver():this.stopMutationObserver()}watchTruncate(o){o?this.startTruncate():this.stopTruncate()}keyDownListener(o){"Escape"===o.key&&this.handleHideTooltip()}async _truncateLabel(){setTimeout((()=>{var o;this.isTruncated=!!this.labelContent&&(o=this.labelContent).scrollWidth>o.clientWidth}))}syncLabelText(){this.labelText=this.host.textContent?.trim()??""}cleanUpTooltip(){this.cleanUpFunction?.(),this.cleanUpFunction=void 0}componentDidLoad(){this.truncate&&this.startTruncate(),this.removable&&this.startMutationObserver()}disconnectedCallback(){this.stopTruncate(),this.stopMutationObserver(!0),this.cleanUpTooltip()}startMutationObserver(){this.mutationObserver=new MutationObserver((()=>this.syncLabelText())),this.mutationObserver.observe(this.host,{characterData:!0,childList:!0,subtree:!0,attributes:!0}),this.syncLabelText()}stopMutationObserver(o=!1){!o&&this.truncate&&this.removable||(this.mutationObserver?.disconnect(),delete this.mutationObserver)}startTruncate(){u.observe(this.host),this.startMutationObserver(),this._truncateLabel()}stopTruncate(){u.unobserve(this.host),this.stopMutationObserver(),this.isTruncated=!1}render(){return t(a,{key:"e6147116684de129f842e3f87d15239394b68909"},t("span",{key:"a4aecc6e1663e214f453aac7a19607f88ca61b8a","aria-describedby":this.isTruncated?"toggle-anchor":null,class:s("dso-label",{[`dso-label-${this.status}`]:this.status,"dso-compact":this.compact&&!this.removable,"dso-hover":this.removeHover||this.removeFocus})},t("slot",{key:"063f6abda24eed65322b0d076d2e7cacee4e587d",name:"symbol"}),t("span",{key:"c11377a23dc1e9f2df598c3a51161e9cf59364fd",class:"dso-label-content",ref:o=>this.labelContent=o,tabindex:this.truncate&&this.isTruncated?0:void 0,onMouseEnter:this.handleShowTooltip,onMouseLeave:this.handleHideTooltip,onFocus:this.handleShowTooltip,onBlur:this.handleHideTooltip},t("slot",{key:"41b9e8a42beddb9944a12191451f189e75184e14"})),this.removable&&t("dso-icon-button",{key:"dee64f0d16e68128520b621952bfc43676873e2f",variant:"tertiary",icon:"cross",label:`Verwijder: ${this.labelText}`,onDsoClick:o=>this.dsoRemoveClick.emit(o.detail.originalEvent),onMouseEnter:()=>this.removeHover=!0,onMouseLeave:()=>this.removeHover=!1,onFocus:()=>this.removeFocus=!0,onBlur:()=>this.removeFocus=!1})),this.isTruncated&&t(n,{key:"368a5cb2abda6361275f2fe2bb34b2a480747e68",tipElementRef:o=>this.tooltipElRef=o,tipArrowElementRef:o=>this.tooltipArrowElRef=o},t("span",{key:"18913189bee3dbd55110b0d9a91c7acc22abd9ae",id:"toggle-anchor"},this.labelText)))}get host(){return this}static get watchers(){return{removable:[{watchRemovable:0}],truncate:[{watchTruncate:0}]}}static get style(){return'.dso-tooltip{--_dso-alert-success-border-color:initial;--_dso-alert-error-border-color:initial;--_dso-alert-info-border-color:initial;--_dso-alert-warning-border-color:initial;background-color:#fff;color:#191919;border-radius:4px;overflow:unset;margin:0;border:0;padding:0;filter:drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));opacity:0;visibility:hidden;max-inline-size:640px}.dso-tooltip .tooltip-inner{--_dt-span-role-paragraph-margin-block:8px;--_dso-alert-success-border-color:initial;--_dso-alert-error-border-color:initial;--_dso-alert-info-border-color:initial;--_dso-alert-warning-border-color:initial;background-color:#fff;color:#191919;font-family:Asap, sans-serif;font-size:1rem;font-weight:normal;padding-block:8px;padding-inline:16px;border-radius:4px;line-height:1.5}.dso-tooltip .tooltip-arrow{position:absolute;background-color:#fff;border-start-start-radius:4px;block-size:10px;inline-size:10px;pointer-events:none;z-index:-1}*,*::after,*::before{box-sizing:border-box}:host{display:inline-block;max-inline-size:100%}:host([removable]) .dso-truncate.dso-label-content{max-inline-size:calc(100% - 28px)}:host([truncate]) .dso-label-content{display:inline-block;max-inline-size:100%;overflow:hidden;text-overflow:ellipsis;vertical-align:bottom;white-space:nowrap}::slotted([slot=symbol]){background-color:#fff;background-color:#fff;display:block;float:inline-start;block-size:20px;margin-block-start:0;margin-inline-end:8px;inline-size:24px;overflow:hidden;position:relative}.dso-label{--_dso-alert-success-border-color:#39870c;--_dso-alert-error-border-color:#ce3f51;--_dso-alert-info-border-color:#6ca4d9;--_dso-alert-warning-border-color:#dcd400;--link-color:currentColor;--link-hover-color:currentColor;--link-visited-color:currentColor}.dso-label a:not(.dso-primary,.dso-secondary,.dso-tertiary):is(.download,.download:hover,.download:focus-visible){background-image:var(--_dso-di-background-image, url("./di.svg#download-zwart"))}.dso-label a:not(.dso-primary,.dso-secondary,.dso-tertiary):is(.extern,.extern:hover,.extern:focus-visible){background-image:var(--_dso-di-background-image, url("./di.svg#external-link-zwart"))}.dso-label a:not(.dso-primary,.dso-secondary,.dso-tertiary):is([href^="tel:"],[href^="tel:"]:hover,[href^="tel:"]:focus-visible){background-image:var(--_dso-di-background-image, url("./di.svg#call-zwart"))}.dso-label a:not(.dso-primary,.dso-secondary,.dso-tertiary):is([href^="mailto:"],[href^="mailto:"]:hover,[href^="mailto:"]:focus-visible){background-image:var(--_dso-di-background-image, url("./di.svg#mail-outline-zwart"))}.dso-label{--_dso-icon-button-tertiary-color:#191919;--_dso-icon-button-tertiary-hover-color:#4c4c4c;--_dso-icon-button-tertiary-active-color:#173521;--_dso-icon-button-tertiary-disabled-color:#999;--_dso-button-tertiary-color:#191919;--_dso-button-tertiary-hover-color:#4c4c4c;--_dso-button-tertiary-active-color:#173521;--_dso-button-tertiary-disabled-color:#999;background-color:#f2f2f2;color:#191919;display:inline-flex;align-items:center;padding-block:4px;padding-inline:8px;max-inline-size:100%;font-weight:normal;border-radius:4px;line-height:1.5}.dso-label:focus-within,.dso-label.dso-hover{text-decoration:line-through}.dso-label.dso-label-info{--_dso-alert-success-border-color:#39870c;--_dso-alert-error-border-color:#ce3f51;--_dso-alert-info-border-color:#6ca4d9;--_dso-alert-warning-border-color:#dcd400;--link-color:currentColor;--link-hover-color:currentColor;--link-visited-color:currentColor}.dso-label.dso-label-info a:not(.dso-primary,.dso-secondary,.dso-tertiary):is(.download,.download:hover,.download:focus-visible){background-image:var(--_dso-di-background-image, url("./di.svg#download-zwart"))}.dso-label.dso-label-info a:not(.dso-primary,.dso-secondary,.dso-tertiary):is(.extern,.extern:hover,.extern:focus-visible){background-image:var(--_dso-di-background-image, url("./di.svg#external-link-zwart"))}.dso-label.dso-label-info a:not(.dso-primary,.dso-secondary,.dso-tertiary):is([href^="tel:"],[href^="tel:"]:hover,[href^="tel:"]:focus-visible){background-image:var(--_dso-di-background-image, url("./di.svg#call-zwart"))}.dso-label.dso-label-info a:not(.dso-primary,.dso-secondary,.dso-tertiary):is([href^="mailto:"],[href^="mailto:"]:hover,[href^="mailto:"]:focus-visible){background-image:var(--_dso-di-background-image, url("./di.svg#mail-outline-zwart"))}.dso-label.dso-label-info{--_dso-icon-button-tertiary-color:#191919;--_dso-icon-button-tertiary-hover-color:#4c4c4c;--_dso-icon-button-tertiary-active-color:#173521;--_dso-icon-button-tertiary-disabled-color:#999;--_dso-button-tertiary-color:#191919;--_dso-button-tertiary-hover-color:#4c4c4c;--_dso-button-tertiary-active-color:#173521;--_dso-button-tertiary-disabled-color:#999;background-color:#6ca4d9;color:#191919}.dso-label.dso-label-primary{--_dso-alert-success-border-color:#39870c;--_dso-alert-error-border-color:#ce3f51;--_dso-alert-info-border-color:#6ca4d9;--_dso-alert-warning-border-color:#dcd400;--link-color:currentColor;--link-hover-color:currentColor;--link-visited-color:currentColor}.dso-label.dso-label-primary a:not(.dso-primary,.dso-secondary,.dso-tertiary):is(.download,.download:hover,.download:focus-visible){background-image:var(--_dso-di-background-image, url("./di.svg#download-wit"))}.dso-label.dso-label-primary a:not(.dso-primary,.dso-secondary,.dso-tertiary):is(.extern,.extern:hover,.extern:focus-visible){background-image:var(--_dso-di-background-image, url("./di.svg#external-link-wit"))}.dso-label.dso-label-primary a:not(.dso-primary,.dso-secondary,.dso-tertiary):is([href^="tel:"],[href^="tel:"]:hover,[href^="tel:"]:focus-visible){background-image:var(--_dso-di-background-image, url("./di.svg#call-wit"))}.dso-label.dso-label-primary a:not(.dso-primary,.dso-secondary,.dso-tertiary):is([href^="mailto:"],[href^="mailto:"]:hover,[href^="mailto:"]:focus-visible){background-image:var(--_dso-di-background-image, url("./di.svg#mail-outline-wit"))}.dso-label.dso-label-primary{--_dso-icon-button-tertiary-color:#fff;--_dso-icon-button-tertiary-hover-color:#e5e5e5;--_dso-icon-button-tertiary-disabled-color:#b2b2b2;--_dso-button-primary-background-color:#fff;--_dso-button-primary-hover-background-color:rgba(255, 255, 255, 0.8);--_dso-button-primary-active-background-color:#f2f2f2;--_dso-button-primary-disabled-background-color:rgba(255, 255, 255, 0.6);--_dso-button-primary-border-color:#fff;--_dso-button-primary-hover-border-color:rgba(255, 255, 255, 0.8);--_dso-button-primary-active-border-color:#f2f2f2;--_dso-button-primary-disabled-border-color:rgba(255, 255, 255, 0.6);--_dso-button-primary-color:#191919;--_dso-button-primary-hover-color:#191919;--_dso-button-primary-active-color:#191919;--_dso-button-primary-disabled-color:#666;--_dso-button-secondary-background-color:none;--_dso-button-secondary-hover-background-color:rgba(255, 255, 255, 0.2);--_dso-button-secondary-active-background-color:rgba(255, 255, 255, 0.4);--_dso-button-secondary-disabled-background-color:none;--_dso-button-secondary-border-color:#fff;--_dso-button-secondary-hover-border-color:#fff;--_dso-button-secondary-active-border-color:rgba(255, 255, 255, 0.4);--_dso-button-secondary-disabled-border-color:rgba(255, 255, 255, 0.7);--_dso-button-secondary-color:#fff;--_dso-button-secondary-hover-color:#fff;--_dso-button-secondary-active-color:#fff;--_dso-button-secondary-disabled-color:rgba(255, 255, 255, 0.7);--_dso-button-tertiary-color:#fff;--_dso-button-tertiary-hover-color:#fff;--_dso-button-tertiary-active-color:#fff;--_dso-button-tertiary-disabled-color:#b2b2b2;background-color:#275937;color:#fff}.dso-label.dso-label-success{--_dso-alert-success-border-color:#39870c;--_dso-alert-error-border-color:#ce3f51;--_dso-alert-info-border-color:#6ca4d9;--_dso-alert-warning-border-color:#dcd400;--link-color:currentColor;--link-hover-color:currentColor;--link-visited-color:currentColor}.dso-label.dso-label-success a:not(.dso-primary,.dso-secondary,.dso-tertiary):is(.download,.download:hover,.download:focus-visible){background-image:var(--_dso-di-background-image, url("./di.svg#download-wit"))}.dso-label.dso-label-success a:not(.dso-primary,.dso-secondary,.dso-tertiary):is(.extern,.extern:hover,.extern:focus-visible){background-image:var(--_dso-di-background-image, url("./di.svg#external-link-wit"))}.dso-label.dso-label-success a:not(.dso-primary,.dso-secondary,.dso-tertiary):is([href^="tel:"],[href^="tel:"]:hover,[href^="tel:"]:focus-visible){background-image:var(--_dso-di-background-image, url("./di.svg#call-wit"))}.dso-label.dso-label-success a:not(.dso-primary,.dso-secondary,.dso-tertiary):is([href^="mailto:"],[href^="mailto:"]:hover,[href^="mailto:"]:focus-visible){background-image:var(--_dso-di-background-image, url("./di.svg#mail-outline-wit"))}.dso-label.dso-label-success{--_dso-icon-button-tertiary-color:#fff;--_dso-icon-button-tertiary-hover-color:#e5e5e5;--_dso-icon-button-tertiary-disabled-color:#b2b2b2;--_dso-button-primary-background-color:#fff;--_dso-button-primary-hover-background-color:rgba(255, 255, 255, 0.8);--_dso-button-primary-active-background-color:#f2f2f2;--_dso-button-primary-disabled-background-color:rgba(255, 255, 255, 0.6);--_dso-button-primary-border-color:#fff;--_dso-button-primary-hover-border-color:rgba(255, 255, 255, 0.8);--_dso-button-primary-active-border-color:#f2f2f2;--_dso-button-primary-disabled-border-color:rgba(255, 255, 255, 0.6);--_dso-button-primary-color:#191919;--_dso-button-primary-hover-color:#191919;--_dso-button-primary-active-color:#191919;--_dso-button-primary-disabled-color:#666;--_dso-button-secondary-background-color:none;--_dso-button-secondary-hover-background-color:rgba(255, 255, 255, 0.2);--_dso-button-secondary-active-background-color:rgba(255, 255, 255, 0.4);--_dso-button-secondary-disabled-background-color:none;--_dso-button-secondary-border-color:#fff;--_dso-button-secondary-hover-border-color:#fff;--_dso-button-secondary-active-border-color:rgba(255, 255, 255, 0.4);--_dso-button-secondary-disabled-border-color:rgba(255, 255, 255, 0.7);--_dso-button-secondary-color:#fff;--_dso-button-secondary-hover-color:#fff;--_dso-button-secondary-active-color:#fff;--_dso-button-secondary-disabled-color:rgba(255, 255, 255, 0.7);--_dso-button-tertiary-color:#fff;--_dso-button-tertiary-hover-color:#fff;--_dso-button-tertiary-active-color:#fff;--_dso-button-tertiary-disabled-color:#b2b2b2;background-color:#39870c;color:#fff}.dso-label.dso-label-warning{--_dso-alert-success-border-color:#39870c;--_dso-alert-error-border-color:#ce3f51;--_dso-alert-info-border-color:#6ca4d9;--_dso-alert-warning-border-color:#dcd400;--link-color:currentColor;--link-hover-color:currentColor;--link-visited-color:currentColor}.dso-label.dso-label-warning a:not(.dso-primary,.dso-secondary,.dso-tertiary):is(.download,.download:hover,.download:focus-visible){background-image:var(--_dso-di-background-image, url("./di.svg#download-zwart"))}.dso-label.dso-label-warning a:not(.dso-primary,.dso-secondary,.dso-tertiary):is(.extern,.extern:hover,.extern:focus-visible){background-image:var(--_dso-di-background-image, url("./di.svg#external-link-zwart"))}.dso-label.dso-label-warning a:not(.dso-primary,.dso-secondary,.dso-tertiary):is([href^="tel:"],[href^="tel:"]:hover,[href^="tel:"]:focus-visible){background-image:var(--_dso-di-background-image, url("./di.svg#call-zwart"))}.dso-label.dso-label-warning a:not(.dso-primary,.dso-secondary,.dso-tertiary):is([href^="mailto:"],[href^="mailto:"]:hover,[href^="mailto:"]:focus-visible){background-image:var(--_dso-di-background-image, url("./di.svg#mail-outline-zwart"))}.dso-label.dso-label-warning{--_dso-icon-button-tertiary-color:#191919;--_dso-icon-button-tertiary-hover-color:#4c4c4c;--_dso-icon-button-tertiary-active-color:#173521;--_dso-icon-button-tertiary-disabled-color:#999;--_dso-button-tertiary-color:#191919;--_dso-button-tertiary-hover-color:#4c4c4c;--_dso-button-tertiary-active-color:#173521;--_dso-button-tertiary-disabled-color:#999;background-color:#dcd400;color:#191919}.dso-label.dso-label-error{--_dso-alert-success-border-color:#39870c;--_dso-alert-error-border-color:#ce3f51;--_dso-alert-info-border-color:#6ca4d9;--_dso-alert-warning-border-color:#dcd400;--link-color:currentColor;--link-hover-color:currentColor;--link-visited-color:currentColor}.dso-label.dso-label-error a:not(.dso-primary,.dso-secondary,.dso-tertiary):is(.download,.download:hover,.download:focus-visible){background-image:var(--_dso-di-background-image, url("./di.svg#download-wit"))}.dso-label.dso-label-error a:not(.dso-primary,.dso-secondary,.dso-tertiary):is(.extern,.extern:hover,.extern:focus-visible){background-image:var(--_dso-di-background-image, url("./di.svg#external-link-wit"))}.dso-label.dso-label-error a:not(.dso-primary,.dso-secondary,.dso-tertiary):is([href^="tel:"],[href^="tel:"]:hover,[href^="tel:"]:focus-visible){background-image:var(--_dso-di-background-image, url("./di.svg#call-wit"))}.dso-label.dso-label-error a:not(.dso-primary,.dso-secondary,.dso-tertiary):is([href^="mailto:"],[href^="mailto:"]:hover,[href^="mailto:"]:focus-visible){background-image:var(--_dso-di-background-image, url("./di.svg#mail-outline-wit"))}.dso-label.dso-label-error{--_dso-icon-button-tertiary-color:#fff;--_dso-icon-button-tertiary-hover-color:#e5e5e5;--_dso-icon-button-tertiary-disabled-color:#b2b2b2;--_dso-button-primary-background-color:#fff;--_dso-button-primary-hover-background-color:rgba(255, 255, 255, 0.8);--_dso-button-primary-active-background-color:#f2f2f2;--_dso-button-primary-disabled-background-color:rgba(255, 255, 255, 0.6);--_dso-button-primary-border-color:#fff;--_dso-button-primary-hover-border-color:rgba(255, 255, 255, 0.8);--_dso-button-primary-active-border-color:#f2f2f2;--_dso-button-primary-disabled-border-color:rgba(255, 255, 255, 0.6);--_dso-button-primary-color:#191919;--_dso-button-primary-hover-color:#191919;--_dso-button-primary-active-color:#191919;--_dso-button-primary-disabled-color:#666;--_dso-button-secondary-background-color:none;--_dso-button-secondary-hover-background-color:rgba(255, 255, 255, 0.2);--_dso-button-secondary-active-background-color:rgba(255, 255, 255, 0.4);--_dso-button-secondary-disabled-background-color:none;--_dso-button-secondary-border-color:#fff;--_dso-button-secondary-hover-border-color:#fff;--_dso-button-secondary-active-border-color:rgba(255, 255, 255, 0.4);--_dso-button-secondary-disabled-border-color:rgba(255, 255, 255, 0.7);--_dso-button-secondary-color:#fff;--_dso-button-secondary-hover-color:#fff;--_dso-button-secondary-active-color:#fff;--_dso-button-secondary-disabled-color:rgba(255, 255, 255, 0.7);--_dso-button-tertiary-color:#fff;--_dso-button-tertiary-hover-color:#fff;--_dso-button-tertiary-active-color:#fff;--_dso-button-tertiary-disabled-color:#b2b2b2;background-color:#ce3f51;color:#fff}.dso-label.dso-label-bright{--_dso-alert-success-border-color:initial;--_dso-alert-error-border-color:initial;--_dso-alert-info-border-color:initial;--_dso-alert-warning-border-color:initial;background-color:#fff;color:#191919;outline:1px solid #ccc;outline-offset:-1px}.dso-label.dso-label-attention{--_dso-alert-success-border-color:#39870c;--_dso-alert-error-border-color:#ce3f51;--_dso-alert-info-border-color:#6ca4d9;--_dso-alert-warning-border-color:#dcd400;--link-color:currentColor;--link-hover-color:currentColor;--link-visited-color:currentColor}.dso-label.dso-label-attention a:not(.dso-primary,.dso-secondary,.dso-tertiary):is(.download,.download:hover,.download:focus-visible){background-image:var(--_dso-di-background-image, url("./di.svg#download-wit"))}.dso-label.dso-label-attention a:not(.dso-primary,.dso-secondary,.dso-tertiary):is(.extern,.extern:hover,.extern:focus-visible){background-image:var(--_dso-di-background-image, url("./di.svg#external-link-wit"))}.dso-label.dso-label-attention a:not(.dso-primary,.dso-secondary,.dso-tertiary):is([href^="tel:"],[href^="tel:"]:hover,[href^="tel:"]:focus-visible){background-image:var(--_dso-di-background-image, url("./di.svg#call-wit"))}.dso-label.dso-label-attention a:not(.dso-primary,.dso-secondary,.dso-tertiary):is([href^="mailto:"],[href^="mailto:"]:hover,[href^="mailto:"]:focus-visible){background-image:var(--_dso-di-background-image, url("./di.svg#mail-outline-wit"))}.dso-label.dso-label-attention{--_dso-icon-button-tertiary-color:#fff;--_dso-icon-button-tertiary-hover-color:#e5e5e5;--_dso-icon-button-tertiary-disabled-color:#b2b2b2;--_dso-button-primary-background-color:#fff;--_dso-button-primary-hover-background-color:rgba(255, 255, 255, 0.8);--_dso-button-primary-active-background-color:#f2f2f2;--_dso-button-primary-disabled-background-color:rgba(255, 255, 255, 0.6);--_dso-button-primary-border-color:#fff;--_dso-button-primary-hover-border-color:rgba(255, 255, 255, 0.8);--_dso-button-primary-active-border-color:#f2f2f2;--_dso-button-primary-disabled-border-color:rgba(255, 255, 255, 0.6);--_dso-button-primary-color:#191919;--_dso-button-primary-hover-color:#191919;--_dso-button-primary-active-color:#191919;--_dso-button-primary-disabled-color:#666;--_dso-button-secondary-background-color:none;--_dso-button-secondary-hover-background-color:rgba(255, 255, 255, 0.2);--_dso-button-secondary-active-background-color:rgba(255, 255, 255, 0.4);--_dso-button-secondary-disabled-background-color:none;--_dso-button-secondary-border-color:#fff;--_dso-button-secondary-hover-border-color:#fff;--_dso-button-secondary-active-border-color:rgba(255, 255, 255, 0.4);--_dso-button-secondary-disabled-border-color:rgba(255, 255, 255, 0.7);--_dso-button-secondary-color:#fff;--_dso-button-secondary-hover-color:#fff;--_dso-button-secondary-active-color:#fff;--_dso-button-secondary-disabled-color:rgba(255, 255, 255, 0.7);--_dso-button-tertiary-color:#fff;--_dso-button-tertiary-hover-color:#fff;--_dso-button-tertiary-active-color:#fff;--_dso-button-tertiary-disabled-color:#b2b2b2;background-color:#8b4a6a;color:#fff}.dso-label.dso-label-filter{--_dso-alert-success-border-color:#39870c;--_dso-alert-error-border-color:#ce3f51;--_dso-alert-info-border-color:#6ca4d9;--_dso-alert-warning-border-color:#dcd400;--link-color:currentColor;--link-hover-color:currentColor;--link-visited-color:currentColor}.dso-label.dso-label-filter a:not(.dso-primary,.dso-secondary,.dso-tertiary):is(.download,.download:hover,.download:focus-visible){background-image:var(--_dso-di-background-image, url("./di.svg#download-zwart"))}.dso-label.dso-label-filter a:not(.dso-primary,.dso-secondary,.dso-tertiary):is(.extern,.extern:hover,.extern:focus-visible){background-image:var(--_dso-di-background-image, url("./di.svg#external-link-zwart"))}.dso-label.dso-label-filter a:not(.dso-primary,.dso-secondary,.dso-tertiary):is([href^="tel:"],[href^="tel:"]:hover,[href^="tel:"]:focus-visible){background-image:var(--_dso-di-background-image, url("./di.svg#call-zwart"))}.dso-label.dso-label-filter a:not(.dso-primary,.dso-secondary,.dso-tertiary):is([href^="mailto:"],[href^="mailto:"]:hover,[href^="mailto:"]:focus-visible){background-image:var(--_dso-di-background-image, url("./di.svg#mail-outline-zwart"))}.dso-label.dso-label-filter{--_dso-icon-button-tertiary-color:#191919;--_dso-icon-button-tertiary-hover-color:#4c4c4c;--_dso-icon-button-tertiary-active-color:#173521;--_dso-icon-button-tertiary-disabled-color:#999;--_dso-button-tertiary-color:#191919;--_dso-button-tertiary-hover-color:#4c4c4c;--_dso-button-tertiary-active-color:#173521;--_dso-button-tertiary-disabled-color:#999;background-color:#e1ecf7;color:#191919;border-inline-start:5px solid #6ca4d9}.dso-label.dso-label-toegevoegd{--_dso-alert-success-border-color:#39870c;--_dso-alert-error-border-color:#ce3f51;--_dso-alert-info-border-color:#6ca4d9;--_dso-alert-warning-border-color:#dcd400;--link-color:currentColor;--link-hover-color:currentColor;--link-visited-color:currentColor}.dso-label.dso-label-toegevoegd a:not(.dso-primary,.dso-secondary,.dso-tertiary):is(.download,.download:hover,.download:focus-visible){background-image:var(--_dso-di-background-image, url("./di.svg#download-zwart"))}.dso-label.dso-label-toegevoegd a:not(.dso-primary,.dso-secondary,.dso-tertiary):is(.extern,.extern:hover,.extern:focus-visible){background-image:var(--_dso-di-background-image, url("./di.svg#external-link-zwart"))}.dso-label.dso-label-toegevoegd a:not(.dso-primary,.dso-secondary,.dso-tertiary):is([href^="tel:"],[href^="tel:"]:hover,[href^="tel:"]:focus-visible){background-image:var(--_dso-di-background-image, url("./di.svg#call-zwart"))}.dso-label.dso-label-toegevoegd a:not(.dso-primary,.dso-secondary,.dso-tertiary):is([href^="mailto:"],[href^="mailto:"]:hover,[href^="mailto:"]:focus-visible){background-image:var(--_dso-di-background-image, url("./di.svg#mail-outline-zwart"))}.dso-label.dso-label-toegevoegd{--_dso-icon-button-tertiary-color:#191919;--_dso-icon-button-tertiary-hover-color:#4c4c4c;--_dso-icon-button-tertiary-active-color:#173521;--_dso-icon-button-tertiary-disabled-color:#999;--_dso-button-tertiary-color:#191919;--_dso-button-tertiary-hover-color:#4c4c4c;--_dso-button-tertiary-active-color:#173521;--_dso-button-tertiary-disabled-color:#999;background-color:#e4f1d4;color:#191919;box-shadow:0 1px 3px 1px rgba(0, 0, 0, 0.5);--_dt-ozon-content-toggletip-color:#000}.dso-label.dso-label-verwijderd{--_dso-alert-success-border-color:#39870c;--_dso-alert-error-border-color:#ce3f51;--_dso-alert-info-border-color:#6ca4d9;--_dso-alert-warning-border-color:#dcd400;--link-color:currentColor;--link-hover-color:currentColor;--link-visited-color:currentColor}.dso-label.dso-label-verwijderd a:not(.dso-primary,.dso-secondary,.dso-tertiary):is(.download,.download:hover,.download:focus-visible){background-image:var(--_dso-di-background-image, url("./di.svg#download-zwart"))}.dso-label.dso-label-verwijderd a:not(.dso-primary,.dso-secondary,.dso-tertiary):is(.extern,.extern:hover,.extern:focus-visible){background-image:var(--_dso-di-background-image, url("./di.svg#external-link-zwart"))}.dso-label.dso-label-verwijderd a:not(.dso-primary,.dso-secondary,.dso-tertiary):is([href^="tel:"],[href^="tel:"]:hover,[href^="tel:"]:focus-visible){background-image:var(--_dso-di-background-image, url("./di.svg#call-zwart"))}.dso-label.dso-label-verwijderd a:not(.dso-primary,.dso-secondary,.dso-tertiary):is([href^="mailto:"],[href^="mailto:"]:hover,[href^="mailto:"]:focus-visible){background-image:var(--_dso-di-background-image, url("./di.svg#mail-outline-zwart"))}.dso-label.dso-label-verwijderd{--_dso-icon-button-tertiary-color:#191919;--_dso-icon-button-tertiary-hover-color:#4c4c4c;--_dso-icon-button-tertiary-active-color:#173521;--_dso-icon-button-tertiary-disabled-color:#999;--_dso-button-tertiary-color:#191919;--_dso-button-tertiary-hover-color:#4c4c4c;--_dso-button-tertiary-active-color:#173521;--_dso-button-tertiary-disabled-color:#999;background-color:#f5d8dc;color:#191919;--_dt-ozon-content-toggletip-color:#000;text-decoration:line-through;--_dt-ozon-content-toggletip-text-decoration:underline line-through}@media screen and (min--moz-device-pixel-ratio: 0){.dso-label.dso-label-verwijderd{font-family:sans-serif}}.dso-label.dso-compact{padding-block:0;padding-inline:8px}dso-icon-button{float:inline-end;margin-inline-start:8px;margin-inline-end:-4px}'}},[257,"dso-label",{compact:[516],removable:[516],status:[513],truncate:[516],removeHover:[32],removeFocus:[32],isTruncated:[32],labelText:[32],_truncateLabel:[64]},[[4,"keydown","keyDownListener"]],{removable:[{watchRemovable:0}],truncate:[{watchTruncate:0}]}]);function g(){"undefined"!=typeof customElements&&["dso-label","dso-icon","dso-icon-button"].forEach((o=>{switch(o){case"dso-label":customElements.get(d(o))||customElements.define(d(o),f);break;case"dso-icon":customElements.get(d(o))||c();break;case"dso-icon-button":customElements.get(d(o))||b()}}))}export{f as L,g as d}
@@ -0,0 +1 @@
1
+ import{proxyCustomElement as o,HTMLElement as d,createEvent as s,h as l,transformTag as i}from"@stencil/core/internal/client";import{g as a}from"./get-active-element.js";import{i as e}from"./i18n.js";import{d as n}from"./icon.js";import{d as t}from"./icon-button.js";import{d as r}from"./scrollable.js";import{v as c}from"./v4.js";const m={en:{"dso-modal":{close:"Close",dialog:"Dialog"}},nl:{"dso-modal":{close:"Sluiten",dialog:"Dialoog"}}},b=o(class extends d{constructor(o){super(),!1!==o&&this.__registerHost(),this.__attachShadow(),this.dsoClose=s(this,"dsoClose",7),this.ariaId=c(),this.dialogRole="dialog",this.returnFocus=void 0,this.closable=!1,this.text=e((()=>this.host),m),this.blockEscapeKey=o=>{"Escape"===o.key&&(o.preventDefault(),this.closable&&this.dsoClose.emit({originalEvent:o}))}}get hasFooter(){return null!==this.host.querySelector("[slot='footer']")}componentDidLoad(){if(this.htmlDialogElement?.isConnected){const o=a();o instanceof d&&(this.returnFocusElement=o),this.htmlDialogElement.showModal()}}disconnectedCallback(){this.htmlDialogElement?.close(),!1!==this.returnFocus&&(this.returnFocus??this.returnFocusElement)?.focus()}handleDialogClick(o){this.closable&&o.target===this.htmlDialogElement&&this.dsoClose.emit({originalEvent:o})}render(){return l("dialog",{key:"badbdadcb6dcd1411ba171f7283b590ad9c6de79",class:"dso-modal",role:this.dialogRole??void 0,"aria-modal":"true","aria-labelledby":this.ariaId,ref:o=>this.htmlDialogElement=o,onClick:o=>this.handleDialogClick(o),onKeyDown:o=>this.blockEscapeKey(o)},l("div",{key:"81de7f17f65cf5a3287fa8a3b724cb54567246d5",class:"dso-dialog",role:"document"},this.modalTitle?l("div",{class:"dso-header"},l("h2",{id:this.ariaId},this.modalTitle),this.closable&&l("dso-icon-button",{id:"close-modal",icon:"cross",variant:"tertiary",label:this.text("close"),onDsoClick:o=>this.dsoClose.emit({originalEvent:o})})):l("span",{class:"sr-only",id:this.ariaId},this.text("dialog")),l("dso-scrollable",{key:"f624e137d4d3cfa27f65cda4bf061b239d5c3a77"},l("div",{key:"532fb2db408afd57e0fa85a73837932fe9137a16",class:"dso-body",tabIndex:0},l("slot",{key:"c2fbd08f27c4b21f3d9ed2689371ec9971745bfe",name:"body"}))),this.hasFooter&&l("div",{key:"437260e61d2bd50645c22ceec8043a045236f41c",class:"dso-footer"},l("slot",{key:"c0943718816ced146499c1a4a20de93dc54cbb34",name:"footer"}))))}get host(){return this}static get style(){return"@keyframes ModalFadeIn{0%{opacity:0}100%{opacity:1}}*,*::after,*::before{box-sizing:border-box}:host{display:block}:host([fullscreen]) dialog{inline-size:100dvi;block-size:100dvb}:host([fullscreen]) dialog .dso-dialog{display:flex;flex-direction:column;inline-size:100%;block-size:100%}:host([fullscreen]) dialog .dso-dialog>dso-scrollable{flex-grow:1;max-block-size:unset}:host([fullscreen]) dialog .dso-footer{flex-shrink:0}@media screen and (max-width: 480px){:host dialog{inline-size:100dvi;block-size:100dvb}:host dialog .dso-dialog{display:flex;flex-direction:column;inline-size:100%;block-size:100%}:host dialog .dso-dialog>dso-scrollable{flex-grow:1;max-block-size:unset}:host dialog .dso-footer{flex-shrink:0}}.sr-only{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;border:0;overflow:hidden;clip-path:rect(0 0 0 0)}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}.dso-modal{--_dt-button-float-tertiary:inline-start;--_dt-button-padding-block-tertiary:14px;overflow:visible;padding:0;border:0;inline-size:var(--_dt-modal-inline-size, auto);margin:var(--_dt-modal-margin, auto)}@media screen and (max-width: 767px){.dso-modal{--_dt-button-inline-size:100%;--_dt-button-after-button-margin-inline-start:0;--_dt-button-after-button-margin-block-start:8px;--_dt-button-text-align:center;inline-size:100%}}@media screen and (max-height: 380px){.dso-modal{min-block-size:216px;margin-block-start:8px;margin-block-end:8px}}.dso-modal::backdrop{background-color:rgba(255, 255, 255, 0.8)}.dso-modal .dso-dialog{inline-size:var(--_dt-modal-dialog-inline-size, 640px);margin-block-start:var(--_dt-modal-dialog-margin-block-start, 0);margin-inline-start:var(--_dt-modal-dialog-margin-inline-start, auto);margin-inline-end:var(--_dt-modal-dialog-margin-inline-end, auto);background-color:#fff;opacity:1;box-shadow:0 8px 24px 0 rgba(25, 25, 25, 0.4);animation:200ms ease-out 0s 1 ModalFadeIn}@media screen and (max-width: 767px){.dso-modal .dso-dialog{max-inline-size:100%;margin-block-start:0}}.dso-modal .dso-header{position:relative;padding:16px;border-block-end:1px solid #ccc}.dso-modal .dso-header h2{max-inline-size:calc(100% - 24px);margin:0;color:#275937}.dso-modal .dso-header dso-icon-button{position:absolute;inset-block-start:var(--_dt-modal-header-close-btn, 22px);inset-inline-end:17px}@media screen and (max-height: 380px){.dso-modal .dso-header{padding-block:8px;padding-inline:16px}}.dso-modal>.dso-dialog>.dso-body p{margin-block:0 var(--_dt-rich-content-margin-block, 16px);margin-inline:0}.dso-modal>.dso-dialog>.dso-body ul,.dso-modal>.dso-dialog>.dso-body ol{margin-block-end:16px}.dso-modal>.dso-dialog>.dso-body ul:not(.list-group):not(.dso-link-list):not(.dso-columns-list),.dso-modal>.dso-dialog>.dso-body ol:not(.list-group):not(.dso-link-list):not(.dso-columns-list){padding-inline-start:24px}.dso-modal>.dso-dialog>.dso-body ul ul,.dso-modal>.dso-dialog>.dso-body ul ol,.dso-modal>.dso-dialog>.dso-body ol ul,.dso-modal>.dso-dialog>.dso-body ol ol{margin-block-end:0}.dso-modal>.dso-dialog>.dso-body pre{margin-block:0 16px;margin-inline:0}.dso-modal>.dso-dialog>.dso-body blockquote{padding-block:16px;padding-inline:24px}.dso-modal>.dso-dialog>.dso-body dso-highlight-box,.dso-modal>.dso-dialog>.dso-body .dso-highlight-box{margin-block-end:24px}.dso-modal>.dso-dialog>.dso-body img{block-size:auto;max-inline-size:100%}.dso-modal>.dso-dialog>.dso-body{block-size:calc(100% - 96px - 1.5rem);max-block-size:var(--_dt-modal-body-max-block-size, calc(70vh - 144px - 1.5em));min-block-size:1.5rem;overflow-x:auto;padding:32px}.dso-modal>.dso-dialog>dso-scrollable{block-size:calc(100% - 96px - 1.5rem);max-block-size:var(--_dt-modal-body-max-block-size, calc(70vh - 144px - 1.5em));min-block-size:6.5rem}.dso-modal>.dso-dialog>dso-scrollable .dso-body p{margin-block:0 var(--_dt-rich-content-margin-block, 16px);margin-inline:0}.dso-modal>.dso-dialog>dso-scrollable .dso-body ul,.dso-modal>.dso-dialog>dso-scrollable .dso-body ol{margin-block-end:16px}.dso-modal>.dso-dialog>dso-scrollable .dso-body ul:not(.list-group):not(.dso-link-list):not(.dso-columns-list),.dso-modal>.dso-dialog>dso-scrollable .dso-body ol:not(.list-group):not(.dso-link-list):not(.dso-columns-list){padding-inline-start:24px}.dso-modal>.dso-dialog>dso-scrollable .dso-body ul ul,.dso-modal>.dso-dialog>dso-scrollable .dso-body ul ol,.dso-modal>.dso-dialog>dso-scrollable .dso-body ol ul,.dso-modal>.dso-dialog>dso-scrollable .dso-body ol ol{margin-block-end:0}.dso-modal>.dso-dialog>dso-scrollable .dso-body pre{margin-block:0 16px;margin-inline:0}.dso-modal>.dso-dialog>dso-scrollable .dso-body blockquote{padding-block:16px;padding-inline:24px}.dso-modal>.dso-dialog>dso-scrollable .dso-body dso-highlight-box,.dso-modal>.dso-dialog>dso-scrollable .dso-body .dso-highlight-box{margin-block-end:24px}.dso-modal>.dso-dialog>dso-scrollable .dso-body img{block-size:auto;max-inline-size:100%}.dso-modal>.dso-dialog>dso-scrollable .dso-body{padding:32px}@media screen and (max-height: 380px){.dso-modal .dso-body{padding-block:16px;padding-inline:24px}}.dso-modal .dso-body:focus-visible{outline:none}.dso-modal .dso-footer{min-block-size:80px;padding-block:16px;padding-inline:32px;text-align:end}@media screen and (min-width: 768px){.dso-modal .dso-footer .dso-primary+.dso-secondary,.dso-modal .dso-footer .dso-secondary+.dso-secondary,.dso-modal .dso-footer .dso-tertiary+.dso-secondary{margin-inline-start:16px}.dso-modal .dso-footer .dso-primary+.dso-tertiary,.dso-modal .dso-footer .dso-secondary+.dso-tertiary,.dso-modal .dso-footer .dso-tertiary+.dso-tertiary{margin-inline-start:0}}@media screen and (max-height: 380px){.dso-modal .dso-footer{min-block-size:auto;overflow:auto;padding-block:8px;padding-inline:32px}}"}},[257,"dso-modal",{fullscreen:[516],modalTitle:[1,"modal-title"],dialogRole:[1,"dialog-role"],returnFocus:[4,"return-focus"],closable:[4],ariaId:[32]}]);function g(){"undefined"!=typeof customElements&&["dso-modal","dso-icon","dso-icon-button","dso-scrollable"].forEach((o=>{switch(o){case"dso-modal":customElements.get(i(o))||customElements.define(i(o),b);break;case"dso-icon":customElements.get(i(o))||n();break;case"dso-icon-button":customElements.get(i(o))||t();break;case"dso-scrollable":customElements.get(i(o))||r()}}))}export{b as M,g as d}
@@ -1 +1 @@
1
- import{proxyCustomElement as t,HTMLElement as o,h as e,Fragment as i,transformTag as n}from"@stencil/core/internal/client";import{p as s,T as r}from"./tooltip.functional-component.js";import{d as l}from"./icon.js";const a=t(class extends o{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.active=!1,this.toggle=()=>{this.active=!this.active},this.keyDownHandler=t=>{switch(t.key){case"Escape":case" ":case"Enter":return void this.toggle();default:return}}}handleWindowClick(t){if(!this.active)return;const e=t.composedPath(),i=e.includes(this.host),n=this.tooltip&&e.includes(this.tooltip);i||n||this.toggle(),n&&e.some((t=>t instanceof o&&"BUTTON"===t.tagName))&&this.toggle()}componentDidRender(){!this.cleanUp&&this.active&&this.container&&this.tooltip&&this.tooltipArrow&&(this.cleanUp=s({referenceElement:this.container,tipRef:this.tooltip,tipArrowRef:this.tooltipArrow,placementTip:"top"})),this.cleanUp&&this.tooltip&&(this.active?this.tooltip?.showPopover():(this.tooltip?.hidePopover(),this.cleanupTooltip()))}disconnectedCallback(){this.cleanupTooltip()}cleanupTooltip(){this.cleanUp?.(),this.cleanUp=void 0}render(){return e(i,{key:"42a266732f99e8ff37be7fba775704cb683831e9"},e("span",{key:"2c9db2d71a2e08dfc9873c6a8fec1cb7e0b73a65",class:"toggletip-button",role:"button",tabindex:0,onClick:this.toggle,onKeyDown:this.keyDownHandler,ref:t=>this.container=t},this.icon&&e(i,{key:"a5ea307d3f1b8642dd891b7d6480832a27fad1f3"},e("span",{key:"063c6a4c4f655a3473f297e38c5617f0a155c0a3",class:"toggletip-label"},e("slot",{key:"2131443bfcf023d6d1d6703135a835b741c48e9b",name:"label"})),"⁠",e("dso-icon",{key:"862e8f3559ff9a42339325a7c58d0bef861609db",icon:this.icon})),!this.icon&&e("slot",{key:"c22316502af49a2d6a1b1ce33d3a6306aaed408b",name:"label"})),e(r,{key:"f4b21617701d0e0b9992166c96cc62ecbd959b8c",visible:!0,onAfterHidden:()=>{},tipElementRef:t=>this.tooltip=t,tipArrowElementRef:t=>this.tooltipArrow=t},e("slot",{key:"c75658657d070bd5dfe38e8db27c48d48e910e8a"})))}get host(){return this}static get style(){return"*,*::after,*::before{box-sizing:border-box}.dso-tooltip{--_dso-alert-success-border-color:initial;--_dso-alert-error-border-color:initial;--_dso-alert-info-border-color:initial;--_dso-alert-warning-border-color:initial;background-color:#fff;color:#191919;border-radius:4px;overflow:unset;margin:0;border:0;padding:0;filter:drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));opacity:0;visibility:hidden;transition:opacity 0.15s;max-inline-size:480px}.dso-tooltip.visible{opacity:1;visibility:visible}.dso-tooltip .tooltip-inner{--_dt-span-role-paragraph-margin-block:8px;--_dso-alert-success-border-color:initial;--_dso-alert-error-border-color:initial;--_dso-alert-info-border-color:initial;--_dso-alert-warning-border-color:initial;background-color:#fff;color:#191919;font-family:Asap, sans-serif;font-size:1rem;font-weight:normal;padding-block:8px;padding-inline:16px;border-radius:4px;line-height:1.5}.dso-tooltip .tooltip-arrow{position:absolute;background-color:#fff;border-start-start-radius:4px;block-size:10px;inline-size:10px;pointer-events:none;z-index:-1}:host{display:inline;--_dt-rich-content-margin-block:8px}::slotted(:not([slot=label])){cursor:default !important}.toggletip-button{display:inline-block;font-size:1em;font-weight:500;margin-block-end:0;text-decoration:none;touch-action:manipulation;text-align:start;user-select:none;vertical-align:middle;background-clip:padding-box}.toggletip-button:focus,.toggletip-button:focus-visible{outline-offset:2px}.toggletip-button:active{outline:0}.toggletip-button{border:0;color:var(--_dso-ozon-content-toggletip-color, #2b5780);line-height:1;padding:0;background-color:transparent;cursor:pointer;vertical-align:baseline;display:inline;overflow-wrap:break-word;user-select:text;white-space:nowrap}.toggletip-button,.toggletip-button:hover,.toggletip-button:focus-visible,.toggletip-button:active{text-decoration-line:var(--_dso-ozon-content-toggletip-text-decoration, underline);text-decoration-style:dotted;text-underline-offset:15%}.toggletip-button .toggletip-label{white-space:normal}.toggletip-button dso-icon{margin-inline-start:4px}"}},[257,"dso-ozon-content-toggletip",{icon:[513],active:[32]},[[8,"click","handleWindowClick"]]]);function c(){"undefined"!=typeof customElements&&["dso-ozon-content-toggletip","dso-icon"].forEach((t=>{switch(t){case"dso-ozon-content-toggletip":customElements.get(n(t))||customElements.define(n(t),a);break;case"dso-icon":customElements.get(n(t))||l()}}))}export{c as d,a as o}
1
+ import{proxyCustomElement as t,HTMLElement as o,h as e,Fragment as i,transformTag as n}from"@stencil/core/internal/client";import{p as r,T as s}from"./tooltip.functional-component.js";import{d as l}from"./icon.js";const a=t(class extends o{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.active=!1,this.toggle=()=>{this.active=!this.active},this.keyDownHandler=t=>{switch(t.key){case"Escape":return void(this.active=!1);case" ":case"Enter":return void this.toggle();default:return}}}handleWindowClick(t){if(!this.active)return;const e=t.composedPath(),i=e.includes(this.host),n=this.tooltipElRef&&e.includes(this.tooltipElRef);i||n||this.toggle(),n&&e.some((t=>t instanceof o&&"BUTTON"===t.tagName))&&this.toggle()}componentDidRender(){!this.cleanUpFunction&&this.active&&this.container&&this.tooltipElRef&&this.tooltipArrowElRef&&(this.cleanUpFunction=r({referenceElement:this.container,tipRef:this.tooltipElRef,tipArrowRef:this.tooltipArrowElRef,placementTip:"top"})),this.cleanUpFunction&&this.tooltipElRef&&(this.active?this.tooltipElRef?.showPopover():(this.tooltipElRef?.hidePopover(),this.cleanUpTooltip()))}disconnectedCallback(){this.cleanUpTooltip()}cleanUpTooltip(){this.cleanUpFunction?.(),this.cleanUpFunction=void 0}render(){return e(i,{key:"27ca8ff50db6854eca902dd1326a8f04b33ed50d"},e("span",{key:"21dd0c5285754729cfcc85659f30f4b3f60d8b55","aria-describedby":this.active?"toggletip-tooltip":void 0,"aria-expanded":this.active.toString(),class:"toggletip-button",role:"button",tabIndex:0,onClick:this.toggle,onKeyDown:this.keyDownHandler,ref:t=>this.container=t},this.icon&&e(i,{key:"00f162fc92881b87aac5ad989a203c6c2f1edb7c"},e("span",{key:"de61c554590c5c3abbe65d670eb44d4c3ae93ca8",class:"toggletip-label"},e("slot",{key:"c0fe6ecd63fc9c5df4dc21bc432a7b73a5188541",name:"label"})),"⁠",e("dso-icon",{key:"6c51bef3c99b3e1ac94146535955b4cbdeae6c4d",icon:this.icon})),!this.icon&&e("slot",{key:"b3c937f0d1d2e1a4befd6de6bced12685a0899b0",name:"label"})),e(s,{key:"b4b0ffe36200fd8fcc56303d17df49b554a719fb",id:"toggletip-tooltip",tipElementRef:t=>this.tooltipElRef=t,tipArrowElementRef:t=>this.tooltipArrowElRef=t},e("slot",{key:"eb7a59a081191d6a1c559b07a7c0f5b552efcdde"})))}get host(){return this}static get style(){return"*,*::after,*::before{box-sizing:border-box}.dso-tooltip{--_dso-alert-success-border-color:initial;--_dso-alert-error-border-color:initial;--_dso-alert-info-border-color:initial;--_dso-alert-warning-border-color:initial;background-color:#fff;color:#191919;border-radius:4px;overflow:unset;margin:0;border:0;padding:0;filter:drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));opacity:0;visibility:hidden;max-inline-size:480px}.dso-tooltip .tooltip-inner{--_dt-span-role-paragraph-margin-block:8px;--_dso-alert-success-border-color:initial;--_dso-alert-error-border-color:initial;--_dso-alert-info-border-color:initial;--_dso-alert-warning-border-color:initial;background-color:#fff;color:#191919;font-family:Asap, sans-serif;font-size:1rem;font-weight:normal;padding-block:8px;padding-inline:16px;border-radius:4px;line-height:1.5}.dso-tooltip .tooltip-arrow{position:absolute;background-color:#fff;border-start-start-radius:4px;block-size:10px;inline-size:10px;pointer-events:none;z-index:-1}:host{display:inline;--_dt-rich-content-margin-block:8px}::slotted(:not([slot=label])){cursor:default !important}.toggletip-button{display:inline-block;font-size:1em;font-weight:500;margin-block-end:0;text-decoration:none;touch-action:manipulation;text-align:var(--_dt-button-text-align, start);user-select:none;vertical-align:middle;background-clip:padding-box}.toggletip-button:focus,.toggletip-button:focus-visible{outline-offset:2px}.toggletip-button:active{outline:0}.toggletip-button{border:0;color:var(--_dt-ozon-content-toggletip-color, #2b5780);line-height:1;padding:0;background-color:transparent;cursor:pointer;vertical-align:baseline;display:inline;overflow-wrap:break-word;user-select:text;white-space:nowrap}.toggletip-button,.toggletip-button:hover,.toggletip-button:focus-visible,.toggletip-button:active{text-decoration-line:var(--_dt-ozon-content-toggletip-text-decoration, underline);text-decoration-style:dotted;text-underline-offset:15%}.toggletip-button .toggletip-label{white-space:normal}.toggletip-button dso-icon{margin-inline-start:4px}"}},[257,"dso-ozon-content-toggletip",{icon:[513],active:[32]},[[8,"click","handleWindowClick"]]]);function c(){"undefined"!=typeof customElements&&["dso-ozon-content-toggletip","dso-icon"].forEach((t=>{switch(t){case"dso-ozon-content-toggletip":customElements.get(n(t))||customElements.define(n(t),a);break;case"dso-icon":customElements.get(n(t))||l()}}))}export{a as O,c as d}