@dso-toolkit/core 89.0.0 → 90.1.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 (498) hide show
  1. package/dist/bundle/dso-accordion-section.js +13 -13
  2. package/dist/bundle/dso-action-list-item.js +1 -1
  3. package/dist/bundle/dso-action-list.js +1 -1
  4. package/dist/bundle/dso-advanced-select.js +16 -10
  5. package/dist/bundle/dso-alert.js +1 -1
  6. package/dist/bundle/dso-annotation-activiteit.js +7 -7
  7. package/dist/bundle/dso-annotation-gebiedsaanwijzing.js +7 -7
  8. package/dist/bundle/dso-annotation-kaart.js +4 -4
  9. package/dist/bundle/dso-annotation-locatie.js +1 -1
  10. package/dist/bundle/dso-annotation-omgevingsnormwaarde.js +7 -7
  11. package/dist/bundle/dso-attachments-counter.js +1 -1
  12. package/dist/bundle/dso-autosuggest.js +3 -3
  13. package/dist/bundle/dso-badge.js +1 -1
  14. package/dist/bundle/dso-banner.js +2 -2
  15. package/dist/bundle/dso-button-group.js +1 -1
  16. package/dist/bundle/dso-card-container.js +1 -1
  17. package/dist/bundle/dso-card.js +4 -4
  18. package/dist/bundle/dso-contact-information.js +1 -1
  19. package/dist/bundle/dso-cursor-tooltip.js +2 -2
  20. package/dist/bundle/dso-date-picker.js +1 -1
  21. package/dist/bundle/dso-document-card.js +2 -2
  22. package/dist/bundle/dso-document-component.js +1 -1
  23. package/dist/bundle/dso-dropdown-menu.js +1 -1
  24. package/dist/bundle/dso-expandable.js +1 -1
  25. package/dist/bundle/dso-header.js +6 -6
  26. package/dist/bundle/dso-highlight-box.js +1 -1
  27. package/dist/bundle/dso-history-item.js +3 -3
  28. package/dist/bundle/dso-icon-button.js +1 -1
  29. package/dist/bundle/dso-icon.js +1 -1
  30. package/dist/bundle/dso-image-overlay.js +1 -1
  31. package/dist/bundle/dso-info-button.js +1 -1
  32. package/dist/bundle/dso-info.js +1 -1
  33. package/dist/bundle/dso-input-range.js +2 -2
  34. package/dist/bundle/dso-label.js +1 -1
  35. package/dist/bundle/dso-legend-group.js +3 -3
  36. package/dist/bundle/dso-legend-item.js +7 -7
  37. package/dist/bundle/dso-legend.js +4 -4
  38. package/dist/bundle/dso-list-button.js +8 -8
  39. package/dist/bundle/dso-logo.js +1 -1
  40. package/dist/bundle/dso-map-base-layers.js +7 -7
  41. package/dist/bundle/dso-map-controls.js +6 -6
  42. package/dist/bundle/dso-map-layer-object.js +2 -2
  43. package/dist/bundle/dso-map-layer.js +2 -2
  44. package/dist/bundle/dso-map-message.d.ts +11 -0
  45. package/dist/bundle/dso-map-message.js +61 -0
  46. package/dist/bundle/dso-map-overlays.js +7 -7
  47. package/dist/bundle/dso-mark-bar.js +3 -3
  48. package/dist/bundle/dso-modal.js +4 -4
  49. package/dist/bundle/dso-onboarding-tip.js +5 -5
  50. package/dist/bundle/dso-ozon-content-toggletip.js +1 -1
  51. package/dist/bundle/dso-ozon-content.js +1 -1
  52. package/dist/bundle/dso-pagination.js +2 -2
  53. package/dist/bundle/dso-panel.js +1 -1
  54. package/dist/bundle/dso-plekinfo-card.js +3 -3
  55. package/dist/bundle/dso-progress-indicator.js +1 -1
  56. package/dist/bundle/dso-project-item.js +5 -5
  57. package/dist/bundle/dso-renvooi.js +1 -1
  58. package/dist/bundle/dso-responsive-element.js +1 -1
  59. package/dist/bundle/dso-scrollable.js +1 -1
  60. package/dist/bundle/dso-segmented-button.d.ts +11 -0
  61. package/dist/bundle/dso-segmented-button.js +59 -0
  62. package/dist/bundle/dso-selectable.js +1 -1
  63. package/dist/bundle/dso-skiplink.js +2 -2
  64. package/dist/bundle/dso-slide-toggle.js +1 -1
  65. package/dist/bundle/dso-survey-rating.js +6 -6
  66. package/dist/bundle/dso-table.js +1 -1
  67. package/dist/bundle/dso-tabs.js +1 -1
  68. package/dist/bundle/dso-tijdreis-banner.js +3 -3
  69. package/dist/bundle/dso-toggletip.js +6 -6
  70. package/dist/bundle/dso-tooltip.js +1 -1
  71. package/dist/bundle/dso-tree-view.js +5 -5
  72. package/dist/bundle/dso-viewer-grid.js +4 -4
  73. package/dist/bundle/dsot-document-component-demo.js +36 -30
  74. package/dist/bundle/index.js +4 -0
  75. package/dist/bundle/p--n40ToSQ.js +85 -0
  76. package/dist/bundle/{p-BVdZO6ww.js → p-BA6Zh1WC.js} +6 -6
  77. package/dist/bundle/{p-DeNLhtpE.js → p-BF6yRtxl.js} +4 -4
  78. package/dist/bundle/{p-DXIz32u2.js → p-BW1PprKl.js} +1 -1
  79. package/dist/bundle/p-BhAymLK3.js +1208 -0
  80. package/dist/bundle/{p-DU9IRZ6t.js → p-BknPxtzH.js} +1 -1
  81. package/dist/bundle/{p-BgGHk77B.js → p-Bq2niFBm.js} +2 -2
  82. package/dist/bundle/{p-srgNz1ix.js → p-BzzKsKZJ.js} +1 -1
  83. package/dist/bundle/{p-BxQkUibV.js → p-CJuXnQoh.js} +4 -4
  84. package/dist/bundle/{p-COl_WB5w.js → p-CWFylPeK.js} +3 -3
  85. package/dist/bundle/p-ChGqsk4J.js +172 -0
  86. package/dist/bundle/{p-6jVpEP4Y.js → p-Chf3HmLn.js} +1 -1
  87. package/dist/bundle/p-Cvc_zdE2.js +123 -0
  88. package/dist/bundle/{p-CSLjMUxc.js → p-D0_f_ziF.js} +4 -4
  89. package/dist/bundle/{p-cvGwDktk.js → p-D9E0ZanO.js} +2 -2
  90. package/dist/bundle/p-DAOlzH7s.js +170 -0
  91. package/dist/bundle/{p-DlJ_GXgx.js → p-DBac7-7I.js} +6 -6
  92. package/dist/bundle/{p-BO0PFU2G.js → p-DLUMPN56.js} +1 -1
  93. package/dist/bundle/p-DgXlrrIE.js +825 -0
  94. package/dist/bundle/p-DhxQaUrY.js +83 -0
  95. package/dist/bundle/{p-DdtY48K7.js → p-DkfAYJEK.js} +2 -2
  96. package/dist/bundle/{p-CVa_Zw1m.js → p-HAIRtan0.js} +1 -1
  97. package/dist/bundle/{p-gRKmvaG9.js → p-XMxdbO4a.js} +1 -1
  98. package/dist/bundle/{p-BzrfS3rM.js → p-Yb_1DkLQ.js} +1 -1
  99. package/dist/bundle/p-l1oPLtTA.js +98 -0
  100. package/dist/bundle/p-rZqcedsG.js +319 -0
  101. package/dist/cjs/dso-accordion-section.cjs.entry.js +5 -5
  102. package/dist/cjs/dso-action-list.cjs.entry.js +1 -1
  103. package/dist/cjs/dso-advanced-select.cjs.entry.js +1 -1
  104. package/dist/cjs/dso-alert_7.cjs.entry.js +138 -15
  105. package/dist/cjs/dso-annotation-activiteit.cjs.entry.js +1 -1
  106. package/dist/cjs/dso-annotation-gebiedsaanwijzing.cjs.entry.js +1 -1
  107. package/dist/cjs/dso-annotation-kaart.cjs.entry.js +1 -1
  108. package/dist/cjs/dso-annotation-locatie_2.cjs.entry.js +4 -4
  109. package/dist/cjs/dso-annotation-omgevingsnormwaarde.cjs.entry.js +1 -1
  110. package/dist/cjs/dso-attachments-counter_2.cjs.entry.js +2 -2
  111. package/dist/cjs/dso-banner.cjs.entry.js +2 -2
  112. package/dist/cjs/dso-button-group.cjs.entry.js +1 -1
  113. package/dist/cjs/dso-card-container.cjs.entry.js +1 -1
  114. package/dist/cjs/dso-card.cjs.entry.js +3 -3
  115. package/dist/cjs/dso-contact-information.cjs.entry.js +1 -1
  116. package/dist/cjs/dso-cursor-tooltip.cjs.entry.js +2 -2
  117. package/dist/cjs/dso-date-picker.cjs.entry.js +1 -1
  118. package/dist/cjs/dso-document-card.cjs.entry.js +1 -1
  119. package/dist/cjs/dso-dropdown-menu.cjs.entry.js +1 -1
  120. package/dist/cjs/dso-header.cjs.entry.js +4 -4
  121. package/dist/cjs/dso-highlight-box.cjs.entry.js +1 -1
  122. package/dist/cjs/dso-history-item.cjs.entry.js +2 -2
  123. package/dist/cjs/dso-icon_2.cjs.entry.js +424 -327
  124. package/dist/cjs/dso-info-button.cjs.entry.js +3 -3
  125. package/dist/cjs/dso-info_2.cjs.entry.js +3 -3
  126. package/dist/cjs/dso-input-range.cjs.entry.js +2 -2
  127. package/dist/cjs/dso-label_3.cjs.entry.js +5 -7
  128. package/dist/cjs/dso-legend-group.cjs.entry.js +1 -1
  129. package/dist/cjs/dso-legend-item.cjs.entry.js +2 -2
  130. package/dist/cjs/dso-legend.cjs.entry.js +1 -1
  131. package/dist/cjs/dso-list-button.cjs.entry.js +2 -2
  132. package/dist/cjs/dso-logo.cjs.entry.js +1 -1
  133. package/dist/cjs/dso-map-base-layers.cjs.entry.js +1 -1
  134. package/dist/cjs/dso-map-controls.cjs.entry.js +2 -2
  135. package/dist/cjs/dso-map-layer-object.cjs.entry.js +1 -1
  136. package/dist/cjs/dso-map-layer.cjs.entry.js +1 -1
  137. package/dist/cjs/dso-map-message.cjs.entry.js +34 -0
  138. package/dist/cjs/dso-map-overlays.cjs.entry.js +1 -1
  139. package/dist/cjs/dso-mark-bar.cjs.entry.js +1 -1
  140. package/dist/cjs/dso-modal.cjs.entry.js +1 -1
  141. package/dist/cjs/dso-onboarding-tip.cjs.entry.js +2 -2
  142. package/dist/cjs/dso-plekinfo-card.cjs.entry.js +2 -2
  143. package/dist/cjs/dso-progress-indicator.cjs.entry.js +1 -1
  144. package/dist/cjs/dso-project-item.cjs.entry.js +1 -1
  145. package/dist/cjs/dso-responsive-element.cjs.entry.js +1 -1
  146. package/dist/cjs/dso-scrollable.cjs.entry.js +2 -2
  147. package/dist/cjs/dso-segmented-button.cjs.entry.js +35 -0
  148. package/dist/cjs/dso-skiplink.cjs.entry.js +1 -1
  149. package/dist/cjs/dso-survey-rating.cjs.entry.js +3 -3
  150. package/dist/cjs/dso-tabs.cjs.entry.js +1 -1
  151. package/dist/cjs/dso-tijdreis-banner.cjs.entry.js +2 -2
  152. package/dist/cjs/dso-toggletip.cjs.entry.js +1 -1
  153. package/dist/cjs/dso-toolkit.cjs.js +1 -1
  154. package/dist/cjs/dso-tooltip.cjs.entry.js +1 -1
  155. package/dist/cjs/dso-tree-view.cjs.entry.js +3 -3
  156. package/dist/cjs/dso-viewer-grid.cjs.entry.js +4 -4
  157. package/dist/cjs/dsot-document-component-demo.cjs.entry.js +1 -1
  158. package/dist/cjs/loader.cjs.js +1 -1
  159. package/dist/cjs/{tooltip.functional-component-CnQn5snY.js → tooltip.functional-component-ByUlZk1N.js} +1 -1
  160. package/dist/collection/collection-manifest.json +2 -0
  161. package/dist/collection/components/accordion/components/accordion-section.css +1 -1
  162. package/dist/collection/components/accordion/components/accordion-section.js +15 -8
  163. package/dist/collection/components/action-list/action-list.css +1 -1
  164. package/dist/collection/components/advanced-select/advanced-select.css +7 -7
  165. package/dist/collection/components/alert/alert.css +4 -4
  166. package/dist/collection/components/alert/alert.js +1 -1
  167. package/dist/collection/components/annotation/annotation.css +12 -16
  168. package/dist/collection/components/badge/badge.css +1029 -18
  169. package/dist/collection/components/badge/badge.js +188 -3
  170. package/dist/collection/components/banner/banner.js +2 -2
  171. package/dist/collection/components/button-group/button-group.js +1 -1
  172. package/dist/collection/components/card/card.css +10 -14
  173. package/dist/collection/components/card/card.js +2 -2
  174. package/dist/collection/components/card-container/card-container.js +1 -1
  175. package/dist/collection/components/contact-information/contact-information.js +1 -1
  176. package/dist/collection/components/cursor-tooltip/cursor-tooltip.css +1 -1
  177. package/dist/collection/components/cursor-tooltip/cursor-tooltip.js +1 -1
  178. package/dist/collection/components/date-picker/date-picker.js +1 -1
  179. package/dist/collection/components/document-card/document-card.js +1 -1
  180. package/dist/collection/components/document-component/document-component.css +17 -25
  181. package/dist/collection/components/document-component/document-component.js +20 -13
  182. package/dist/collection/components/document-component-demo/document-component.demo.js +1 -1
  183. package/dist/collection/components/dropdown-menu/dropdown-menu.js +1 -1
  184. package/dist/collection/components/expandable/expandable.js +2 -2
  185. package/dist/collection/components/header/header.css +1 -2
  186. package/dist/collection/components/header/header.js +3 -3
  187. package/dist/collection/components/highlight-box/highlight-box.js +1 -1
  188. package/dist/collection/components/history-item/history-item.js +2 -2
  189. package/dist/collection/components/icon/icon.interfaces.js +1 -0
  190. package/dist/collection/components/icon/icon.js +120 -73
  191. package/dist/collection/components/icon-button/icon-button.css +10 -12
  192. package/dist/collection/components/icon-button/icon-button.js +14 -5
  193. package/dist/collection/components/image-overlay/image-overlay.css +4 -4
  194. package/dist/collection/components/image-overlay/image-overlay.js +1 -1
  195. package/dist/collection/components/info/info.css +1 -1
  196. package/dist/collection/components/info/info.js +1 -1
  197. package/dist/collection/components/info-button/info-button.js +2 -2
  198. package/dist/collection/components/input-range/input-range.js +2 -2
  199. package/dist/collection/components/label/label.css +46 -48
  200. package/dist/collection/components/label/label.js +2 -4
  201. package/dist/collection/components/legend/legend-group/legend-group.js +1 -1
  202. package/dist/collection/components/legend/legend-item/legend-item.js +2 -2
  203. package/dist/collection/components/legend/legend.js +1 -1
  204. package/dist/collection/components/list-button/list-button.css +3 -3
  205. package/dist/collection/components/list-button/list-button.js +1 -1
  206. package/dist/collection/components/logo/logo.js +1 -1
  207. package/dist/collection/components/map-base-layers/map-base-layers.js +1 -1
  208. package/dist/collection/components/map-controls/map-controls.css +15 -19
  209. package/dist/collection/components/map-controls/map-controls.js +1 -1
  210. package/dist/collection/components/map-layer/components/map-layer-object.js +1 -1
  211. package/dist/collection/components/map-layer/map-layer.js +1 -1
  212. package/dist/collection/components/map-message/map-message.css +96 -0
  213. package/dist/collection/components/map-message/map-message.js +69 -0
  214. package/dist/collection/components/map-overlays/map-overlays.js +1 -1
  215. package/dist/collection/components/mark-bar/mark-bar.js +1 -1
  216. package/dist/collection/components/modal/modal.js +1 -1
  217. package/dist/collection/components/onboarding-tip/onboarding-tip.css +1 -4
  218. package/dist/collection/components/onboarding-tip/onboarding-tip.js +1 -1
  219. package/dist/collection/components/ozon-content/components/ozon-content-toggletip/ozon-content-toggletip.js +11 -4
  220. package/dist/collection/components/ozon-content/ozon-content.css +32 -40
  221. package/dist/collection/components/ozon-content/ozon-content.js +1 -1
  222. package/dist/collection/components/panel/panel.css +1 -1
  223. package/dist/collection/components/panel/panel.js +1 -1
  224. package/dist/collection/components/plekinfo-card/plekinfo-card.css +2 -2
  225. package/dist/collection/components/plekinfo-card/plekinfo-card.js +1 -1
  226. package/dist/collection/components/progress-indicator/progress-indicator.js +1 -1
  227. package/dist/collection/components/project-item/project-item.js +1 -1
  228. package/dist/collection/components/renvooi/renvooi.css +2 -2
  229. package/dist/collection/components/responsive-element/responsive-element.js +1 -1
  230. package/dist/collection/components/scrollable/scrollable.js +2 -2
  231. package/dist/collection/components/segmented-button/segmented-button.css +59 -0
  232. package/dist/collection/components/segmented-button/segmented-button.interfaces.js +1 -0
  233. package/dist/collection/components/segmented-button/segmented-button.js +169 -0
  234. package/dist/collection/components/selectable/selectable.js +1 -1
  235. package/dist/collection/components/skiplink/skiplink.js +1 -1
  236. package/dist/collection/components/slide-toggle/slide-toggle.js +1 -1
  237. package/dist/collection/components/survey-rating/survey-rating.css +11 -12
  238. package/dist/collection/components/survey-rating/survey-rating.js +2 -2
  239. package/dist/collection/components/table/table.css +15 -19
  240. package/dist/collection/components/table/table.js +1 -1
  241. package/dist/collection/components/tabs/tabs.js +1 -1
  242. package/dist/collection/components/tijdreis-banner/tijdreis-banner.css +1 -1
  243. package/dist/collection/components/tijdreis-banner/tijdreis-banner.js +1 -1
  244. package/dist/collection/components/toggletip/toggletip.js +1 -1
  245. package/dist/collection/components/tooltip/tooltip.js +1 -1
  246. package/dist/collection/components/tree-view/tree-item.js +1 -1
  247. package/dist/collection/components/tree-view/tree-view.css +1 -2
  248. package/dist/collection/components/tree-view/tree-view.js +1 -1
  249. package/dist/collection/components/viewer-grid/components/filter-panel.js +1 -1
  250. package/dist/collection/components/viewer-grid/components/overlay.js +1 -1
  251. package/dist/collection/components/viewer-grid/viewer-grid.css +3 -3
  252. package/dist/collection/components/viewer-grid/viewer-grid.js +1 -1
  253. package/dist/collection/functional-components/tooltip/tooltip.functional-component.js +1 -1
  254. package/dist/components/alert.js +1 -1
  255. package/dist/components/annotation-locatie.js +1 -1
  256. package/dist/components/badge.js +1 -1
  257. package/dist/components/button-group.js +1 -1
  258. package/dist/components/document-component.js +1 -1
  259. package/dist/components/dropdown-menu.js +1 -1
  260. package/dist/components/dso-accordion-section.js +1 -1
  261. package/dist/components/dso-action-list.js +1 -1
  262. package/dist/components/dso-advanced-select.js +3 -3
  263. package/dist/components/dso-annotation-activiteit.js +1 -1
  264. package/dist/components/dso-annotation-gebiedsaanwijzing.js +1 -1
  265. package/dist/components/dso-annotation-kaart.js +1 -1
  266. package/dist/components/dso-annotation-omgevingsnormwaarde.js +1 -1
  267. package/dist/components/dso-banner.js +1 -1
  268. package/dist/components/dso-card-container.js +1 -1
  269. package/dist/components/dso-card.js +1 -1
  270. package/dist/components/dso-contact-information.js +1 -1
  271. package/dist/components/dso-cursor-tooltip.js +1 -1
  272. package/dist/components/dso-date-picker.js +1 -1
  273. package/dist/components/dso-document-card.js +1 -1
  274. package/dist/components/dso-header.js +1 -1
  275. package/dist/components/dso-highlight-box.js +1 -1
  276. package/dist/components/dso-history-item.js +1 -1
  277. package/dist/components/dso-input-range.js +1 -1
  278. package/dist/components/dso-legend-group.js +1 -1
  279. package/dist/components/dso-legend-item.js +1 -1
  280. package/dist/components/dso-legend.js +1 -1
  281. package/dist/components/dso-list-button.js +1 -1
  282. package/dist/components/dso-logo.js +1 -1
  283. package/dist/components/dso-map-base-layers.js +1 -1
  284. package/dist/components/dso-map-controls.js +1 -1
  285. package/dist/components/dso-map-layer-object.js +1 -1
  286. package/dist/components/dso-map-layer.js +1 -1
  287. package/dist/components/dso-map-message.d.ts +11 -0
  288. package/dist/components/dso-map-message.js +1 -0
  289. package/dist/components/dso-map-overlays.js +1 -1
  290. package/dist/components/dso-mark-bar.js +1 -1
  291. package/dist/components/dso-modal.js +1 -1
  292. package/dist/components/dso-onboarding-tip.js +1 -1
  293. package/dist/components/dso-plekinfo-card.js +1 -1
  294. package/dist/components/dso-project-item.js +1 -1
  295. package/dist/components/dso-segmented-button.d.ts +11 -0
  296. package/dist/components/dso-segmented-button.js +1 -0
  297. package/dist/components/dso-skiplink.js +1 -1
  298. package/dist/components/dso-survey-rating.js +1 -1
  299. package/dist/components/dso-tabs.js +1 -1
  300. package/dist/components/dso-tijdreis-banner.js +1 -1
  301. package/dist/components/dso-toggletip.js +1 -1
  302. package/dist/components/dso-tree-view.js +1 -1
  303. package/dist/components/dso-viewer-grid.js +1 -1
  304. package/dist/components/dsot-document-component-demo.js +1 -1
  305. package/dist/components/expandable.js +1 -1
  306. package/dist/components/icon-button.js +1 -1
  307. package/dist/components/icon.js +1 -1
  308. package/dist/components/image-overlay.js +1 -1
  309. package/dist/components/index.d.ts +4 -0
  310. package/dist/components/index.js +1 -1
  311. package/dist/components/info-button.js +1 -1
  312. package/dist/components/info.js +1 -1
  313. package/dist/components/label.js +1 -1
  314. package/dist/components/ozon-content-toggletip.js +1 -1
  315. package/dist/components/ozon-content.js +1 -1
  316. package/dist/components/panel.js +1 -1
  317. package/dist/components/progress-indicator.js +1 -1
  318. package/dist/components/renvooi.js +1 -1
  319. package/dist/components/responsive-element.js +1 -1
  320. package/dist/components/scrollable.js +1 -1
  321. package/dist/components/selectable.js +1 -1
  322. package/dist/components/slide-toggle.js +1 -1
  323. package/dist/components/table.js +1 -1
  324. package/dist/components/tooltip.functional-component.js +1 -1
  325. package/dist/components/tooltip.js +1 -1
  326. package/dist/dso-toolkit/dso-toolkit.esm.js +1 -1
  327. package/dist/dso-toolkit/p-00e1ac4c.entry.js +1 -0
  328. package/dist/dso-toolkit/{p-45ccfd50.entry.js → p-027fc4fe.entry.js} +1 -1
  329. package/dist/dso-toolkit/p-028df884.entry.js +1 -0
  330. package/dist/dso-toolkit/p-046d345e.entry.js +1 -0
  331. package/dist/dso-toolkit/p-0b4ddc17.entry.js +1 -0
  332. package/dist/dso-toolkit/p-0c6c3d19.entry.js +1 -0
  333. package/dist/dso-toolkit/p-16e69d06.entry.js +1 -0
  334. package/dist/dso-toolkit/p-188f383c.entry.js +1 -0
  335. package/dist/dso-toolkit/{p-d522ee67.entry.js → p-200819a2.entry.js} +1 -1
  336. package/dist/dso-toolkit/p-2391ab39.entry.js +1 -0
  337. package/dist/dso-toolkit/p-25bb82be.entry.js +1 -0
  338. package/dist/dso-toolkit/{p-0f04d059.entry.js → p-297777c1.entry.js} +1 -1
  339. package/dist/dso-toolkit/p-2b751600.entry.js +1 -0
  340. package/dist/dso-toolkit/{p-ef90f4a8.entry.js → p-3631a64d.entry.js} +1 -1
  341. package/dist/dso-toolkit/{p-d142d8bb.entry.js → p-39663446.entry.js} +1 -1
  342. package/dist/dso-toolkit/p-41769318.entry.js +1 -0
  343. package/dist/dso-toolkit/p-43fb6780.entry.js +1 -0
  344. package/dist/dso-toolkit/p-49845201.entry.js +1 -0
  345. package/dist/dso-toolkit/{p-00a83dd9.entry.js → p-4cdcaba3.entry.js} +1 -1
  346. package/dist/dso-toolkit/{p-178485c3.entry.js → p-5893f749.entry.js} +1 -1
  347. package/dist/dso-toolkit/{p-d7ecb171.entry.js → p-644d47f9.entry.js} +1 -1
  348. package/dist/dso-toolkit/p-679ddcde.entry.js +1 -0
  349. package/dist/dso-toolkit/p-6fc38a28.entry.js +1 -0
  350. package/dist/dso-toolkit/{p-1ec0886c.entry.js → p-7229fed0.entry.js} +1 -1
  351. package/dist/dso-toolkit/p-780737ad.entry.js +1 -0
  352. package/dist/dso-toolkit/{p-38b42e83.entry.js → p-7c6e1f22.entry.js} +1 -1
  353. package/dist/dso-toolkit/p-7df48674.entry.js +1 -0
  354. package/dist/dso-toolkit/p-7e82657e.entry.js +1 -0
  355. package/dist/dso-toolkit/{p-086a3c7e.entry.js → p-810c1d07.entry.js} +1 -1
  356. package/dist/dso-toolkit/{p-438fcf4b.entry.js → p-82ec94ae.entry.js} +1 -1
  357. package/dist/dso-toolkit/p-863dde86.entry.js +1 -0
  358. package/dist/dso-toolkit/p-88a5dc4d.entry.js +1 -0
  359. package/dist/dso-toolkit/{p-1a2b975e.entry.js → p-94924839.entry.js} +1 -1
  360. package/dist/dso-toolkit/{p-33e1cf5e.entry.js → p-9b29129c.entry.js} +1 -1
  361. package/dist/dso-toolkit/p-Dnozu1V0.js +1 -0
  362. package/dist/dso-toolkit/{p-046a84aa.entry.js → p-a22d7d1e.entry.js} +1 -1
  363. package/dist/dso-toolkit/p-a25435fc.entry.js +1 -0
  364. package/dist/dso-toolkit/{p-9172bcd1.entry.js → p-a3175e48.entry.js} +1 -1
  365. package/dist/dso-toolkit/p-a563e235.entry.js +1 -0
  366. package/dist/dso-toolkit/p-ac8d2b73.entry.js +1 -0
  367. package/dist/dso-toolkit/{p-5a02249b.entry.js → p-b63c1d6a.entry.js} +1 -1
  368. package/dist/dso-toolkit/p-bca812a8.entry.js +1 -0
  369. package/dist/dso-toolkit/{p-3b0fd6c5.entry.js → p-be08cb19.entry.js} +1 -1
  370. package/dist/dso-toolkit/{p-de00a5aa.entry.js → p-c33dc797.entry.js} +1 -1
  371. package/dist/dso-toolkit/p-c3c19b60.entry.js +1 -0
  372. package/dist/dso-toolkit/{p-221a2c73.entry.js → p-c650002e.entry.js} +1 -1
  373. package/dist/dso-toolkit/p-c800076a.entry.js +1 -0
  374. package/dist/dso-toolkit/{p-e23b4585.entry.js → p-cfcc5b29.entry.js} +1 -1
  375. package/dist/dso-toolkit/p-d831c95a.entry.js +1 -0
  376. package/dist/dso-toolkit/p-d8a6007b.entry.js +1 -0
  377. package/dist/dso-toolkit/p-df8e58cb.entry.js +1 -0
  378. package/dist/dso-toolkit/p-e0a6d9da.entry.js +1 -0
  379. package/dist/dso-toolkit/{p-b7211906.entry.js → p-e8f4fcd0.entry.js} +1 -1
  380. package/dist/dso-toolkit/{p-a0fdef9a.entry.js → p-f4fc6fe4.entry.js} +1 -1
  381. package/dist/dso-toolkit/p-fc2b2c86.entry.js +1 -0
  382. package/dist/dso-toolkit/p-fe4dd620.entry.js +1 -0
  383. package/dist/dso-toolkit/p-ff1d91b4.entry.js +1 -0
  384. package/dist/esm/dso-accordion-section.entry.js +5 -5
  385. package/dist/esm/dso-action-list.entry.js +1 -1
  386. package/dist/esm/dso-advanced-select.entry.js +1 -1
  387. package/dist/esm/dso-alert_7.entry.js +139 -16
  388. package/dist/esm/dso-annotation-activiteit.entry.js +1 -1
  389. package/dist/esm/dso-annotation-gebiedsaanwijzing.entry.js +1 -1
  390. package/dist/esm/dso-annotation-kaart.entry.js +1 -1
  391. package/dist/esm/dso-annotation-locatie_2.entry.js +4 -4
  392. package/dist/esm/dso-annotation-omgevingsnormwaarde.entry.js +1 -1
  393. package/dist/esm/dso-attachments-counter_2.entry.js +2 -2
  394. package/dist/esm/dso-banner.entry.js +2 -2
  395. package/dist/esm/dso-button-group.entry.js +1 -1
  396. package/dist/esm/dso-card-container.entry.js +1 -1
  397. package/dist/esm/dso-card.entry.js +3 -3
  398. package/dist/esm/dso-contact-information.entry.js +1 -1
  399. package/dist/esm/dso-cursor-tooltip.entry.js +2 -2
  400. package/dist/esm/dso-date-picker.entry.js +1 -1
  401. package/dist/esm/dso-document-card.entry.js +1 -1
  402. package/dist/esm/dso-dropdown-menu.entry.js +1 -1
  403. package/dist/esm/dso-header.entry.js +4 -4
  404. package/dist/esm/dso-highlight-box.entry.js +1 -1
  405. package/dist/esm/dso-history-item.entry.js +2 -2
  406. package/dist/esm/dso-icon_2.entry.js +424 -327
  407. package/dist/esm/dso-info-button.entry.js +3 -3
  408. package/dist/esm/dso-info_2.entry.js +3 -3
  409. package/dist/esm/dso-input-range.entry.js +2 -2
  410. package/dist/esm/dso-label_3.entry.js +5 -7
  411. package/dist/esm/dso-legend-group.entry.js +1 -1
  412. package/dist/esm/dso-legend-item.entry.js +2 -2
  413. package/dist/esm/dso-legend.entry.js +1 -1
  414. package/dist/esm/dso-list-button.entry.js +2 -2
  415. package/dist/esm/dso-logo.entry.js +1 -1
  416. package/dist/esm/dso-map-base-layers.entry.js +1 -1
  417. package/dist/esm/dso-map-controls.entry.js +2 -2
  418. package/dist/esm/dso-map-layer-object.entry.js +1 -1
  419. package/dist/esm/dso-map-layer.entry.js +1 -1
  420. package/dist/esm/dso-map-message.entry.js +32 -0
  421. package/dist/esm/dso-map-overlays.entry.js +1 -1
  422. package/dist/esm/dso-mark-bar.entry.js +1 -1
  423. package/dist/esm/dso-modal.entry.js +1 -1
  424. package/dist/esm/dso-onboarding-tip.entry.js +2 -2
  425. package/dist/esm/dso-plekinfo-card.entry.js +2 -2
  426. package/dist/esm/dso-progress-indicator.entry.js +1 -1
  427. package/dist/esm/dso-project-item.entry.js +1 -1
  428. package/dist/esm/dso-responsive-element.entry.js +1 -1
  429. package/dist/esm/dso-scrollable.entry.js +2 -2
  430. package/dist/esm/dso-segmented-button.entry.js +33 -0
  431. package/dist/esm/dso-skiplink.entry.js +1 -1
  432. package/dist/esm/dso-survey-rating.entry.js +3 -3
  433. package/dist/esm/dso-tabs.entry.js +1 -1
  434. package/dist/esm/dso-tijdreis-banner.entry.js +2 -2
  435. package/dist/esm/dso-toggletip.entry.js +1 -1
  436. package/dist/esm/dso-toolkit.js +1 -1
  437. package/dist/esm/dso-tooltip.entry.js +1 -1
  438. package/dist/esm/dso-tree-view.entry.js +3 -3
  439. package/dist/esm/dso-viewer-grid.entry.js +4 -4
  440. package/dist/esm/dsot-document-component-demo.entry.js +1 -1
  441. package/dist/esm/loader.js +1 -1
  442. package/dist/esm/{tooltip.functional-component-JeYQl3eZ.js → tooltip.functional-component-TdyYX_ny.js} +1 -1
  443. package/dist/types/components/accordion/components/accordion-section.d.ts +3 -2
  444. package/dist/types/components/badge/badge.d.ts +43 -1
  445. package/dist/types/components/document-component/document-component.d.ts +2 -2
  446. package/dist/types/components/document-component/document-component.interfaces.d.ts +1 -0
  447. package/dist/types/components/document-component-demo/document-component.demo.d.ts +2 -2
  448. package/dist/types/components/icon/icon.d.ts +2 -1
  449. package/dist/types/components/icon/icon.interfaces.d.ts +1 -0
  450. package/dist/types/components/icon-button/icon-button.d.ts +2 -1
  451. package/dist/types/components/map-message/map-message.d.ts +14 -0
  452. package/dist/types/components/ozon-content/components/ozon-content-toggletip/ozon-content-toggletip.d.ts +2 -1
  453. package/dist/types/components/segmented-button/segmented-button.d.ts +31 -0
  454. package/dist/types/components/segmented-button/segmented-button.interfaces.d.ts +8 -0
  455. package/dist/types/components/tree-view/tree-view.interfaces.d.ts +2 -1
  456. package/dist/types/components.d.ts +147 -22
  457. package/package.json +3 -3
  458. package/dist/bundle/p-CC5mzX8a.js +0 -35
  459. package/dist/bundle/p-CMWH8g7N.js +0 -313
  460. package/dist/bundle/p-CnVQ4Ot7.js +0 -1208
  461. package/dist/bundle/p-D4NMNwP8.js +0 -174
  462. package/dist/bundle/p-DK5tN6xk.js +0 -121
  463. package/dist/bundle/p-DOIYXIWP.js +0 -730
  464. package/dist/bundle/p-DRO1ZNJq.js +0 -83
  465. package/dist/bundle/p-RYgpam5C.js +0 -98
  466. package/dist/bundle/p-gg8XBMZ8.js +0 -85
  467. package/dist/dso-toolkit/p-0cefa57b.entry.js +0 -1
  468. package/dist/dso-toolkit/p-15e88604.entry.js +0 -1
  469. package/dist/dso-toolkit/p-1993ac29.entry.js +0 -1
  470. package/dist/dso-toolkit/p-2ae2a8bd.entry.js +0 -1
  471. package/dist/dso-toolkit/p-3934192e.entry.js +0 -1
  472. package/dist/dso-toolkit/p-3dc5a077.entry.js +0 -1
  473. package/dist/dso-toolkit/p-418eefa6.entry.js +0 -1
  474. package/dist/dso-toolkit/p-49763405.entry.js +0 -1
  475. package/dist/dso-toolkit/p-49e2e4ef.entry.js +0 -1
  476. package/dist/dso-toolkit/p-5fa4f18b.entry.js +0 -1
  477. package/dist/dso-toolkit/p-6256aed0.entry.js +0 -1
  478. package/dist/dso-toolkit/p-63cbf895.entry.js +0 -1
  479. package/dist/dso-toolkit/p-6ab5ac7f.entry.js +0 -1
  480. package/dist/dso-toolkit/p-6ae18ea8.entry.js +0 -1
  481. package/dist/dso-toolkit/p-74ae905b.entry.js +0 -1
  482. package/dist/dso-toolkit/p-7b74503c.entry.js +0 -1
  483. package/dist/dso-toolkit/p-CFP0lFZA.js +0 -1
  484. package/dist/dso-toolkit/p-a7f63c3d.entry.js +0 -1
  485. package/dist/dso-toolkit/p-a9538643.entry.js +0 -1
  486. package/dist/dso-toolkit/p-ac7f15ab.entry.js +0 -1
  487. package/dist/dso-toolkit/p-ae4beda4.entry.js +0 -1
  488. package/dist/dso-toolkit/p-b26c16b3.entry.js +0 -1
  489. package/dist/dso-toolkit/p-befad06c.entry.js +0 -1
  490. package/dist/dso-toolkit/p-bf85ab34.entry.js +0 -1
  491. package/dist/dso-toolkit/p-c1df0e1f.entry.js +0 -1
  492. package/dist/dso-toolkit/p-cbdb0a03.entry.js +0 -1
  493. package/dist/dso-toolkit/p-ce7c14c0.entry.js +0 -1
  494. package/dist/dso-toolkit/p-dcf05b57.entry.js +0 -1
  495. package/dist/dso-toolkit/p-dd14defe.entry.js +0 -1
  496. package/dist/dso-toolkit/p-e745c65d.entry.js +0 -1
  497. package/dist/dso-toolkit/p-e99e0c57.entry.js +0 -1
  498. package/dist/dso-toolkit/p-eedac7f7.entry.js +0 -1
@@ -1,174 +0,0 @@
1
- import { p as proxyCustomElement, H, d as createEvent, h, F as Fragment, t as transformTag } from './p-DmmKAUIT.js';
2
- import { c as clsx } from './p-ChV9xqsO.js';
3
- import { d as debounce } from './p-baWVwd8J.js';
4
- import { d as defineCustomElement$3 } from './p-DOIYXIWP.js';
5
- import { d as defineCustomElement$2 } from './p-DK5tN6xk.js';
6
- import { d as defineCustomElement$1 } from './p-BO0PFU2G.js';
7
-
8
- const labelCss = () => `:host{display:inline-block;max-inline-size:100%;font-weight:normal}*,*::after,*::before{box-sizing:border-box}.sr-only{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;border:0;overflow:hidden;clip-path:rect(0 0 0 0)}.dso-label{border-radius:4px;display:inline-block;line-height:1.5;max-inline-size:100%;padding-block:4px;padding-inline:8px}.dso-label:focus-within,.dso-label.dso-hover{text-decoration:line-through}.dso-label{--_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#email-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}.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#email-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#email-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#email-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#email-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#email-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#email-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#email-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#email-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#email-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-label.dso-hover .dso-label-content{text-decoration:line-through}.dso-truncate.dso-label-content{display:inline-block;max-inline-size:100%;overflow:hidden;text-overflow:ellipsis;vertical-align:bottom;white-space:nowrap}:host([removable]) .dso-truncate.dso-label-content{max-inline-size:calc(100% - 28px)}dso-icon-button{float:inline-end;margin-inline-start:8px;margin-inline-end:-4px}`;
9
-
10
- const resizeObserver = new ResizeObserver(debounce((entries) => {
11
- entries.forEach(({ target }) => {
12
- if (isDsoLabelComponent(target)) {
13
- target._truncateLabel();
14
- }
15
- });
16
- }, 150));
17
- function isDsoLabelComponent(element) {
18
- return element.tagName === "DSO-LABEL";
19
- }
20
- function hasEllipses(el) {
21
- return el.scrollWidth > el.clientWidth;
22
- }
23
- const Label = /*@__PURE__*/ proxyCustomElement(class Label extends H {
24
- constructor(registerHost) {
25
- super();
26
- if (registerHost !== false) {
27
- this.__registerHost();
28
- }
29
- this.__attachShadow();
30
- this.dsoRemoveClick = createEvent(this, "dsoRemoveClick", 7);
31
- this.isTruncated = false;
32
- this.labelText = "";
33
- }
34
- watchRemovable(removable) {
35
- if (removable) {
36
- this.startMutationObserver();
37
- }
38
- else {
39
- this.stopMutationObserver();
40
- }
41
- }
42
- watchTruncate(truncate) {
43
- if (truncate) {
44
- this.startTruncate();
45
- }
46
- else {
47
- this.stopTruncate();
48
- }
49
- }
50
- keyDownListener(event) {
51
- if (event.key === "Escape") {
52
- this.textHover = false;
53
- this.textFocus = false;
54
- }
55
- }
56
- /**
57
- * @internal
58
- */
59
- async _truncateLabel() {
60
- setTimeout(() => {
61
- this.isTruncated = !!this.labelContent && hasEllipses(this.labelContent);
62
- });
63
- }
64
- syncLabelText() {
65
- this.labelText = this.host.textContent?.trim() ?? "";
66
- }
67
- componentDidLoad() {
68
- if (this.truncate) {
69
- this.startTruncate();
70
- }
71
- if (this.removable) {
72
- this.startMutationObserver();
73
- }
74
- }
75
- disconnectedCallback() {
76
- this.stopTruncate();
77
- this.stopMutationObserver(true);
78
- }
79
- /** The mutationObserver fetches the text placed inside the label, this is then used for the remove button and tooltip. */
80
- startMutationObserver() {
81
- this.mutationObserver = new MutationObserver(() => this.syncLabelText());
82
- this.mutationObserver.observe(this.host, {
83
- characterData: true,
84
- childList: true,
85
- subtree: true,
86
- attributes: true,
87
- });
88
- this.syncLabelText();
89
- }
90
- stopMutationObserver(force = false) {
91
- if (force || !(this.truncate && this.removable)) {
92
- this.mutationObserver?.disconnect();
93
- delete this.mutationObserver;
94
- }
95
- }
96
- startTruncate() {
97
- resizeObserver.observe(this.host);
98
- this.startMutationObserver();
99
- this._truncateLabel();
100
- }
101
- stopTruncate() {
102
- resizeObserver.unobserve(this.host);
103
- this.stopMutationObserver();
104
- this.isTruncated = false;
105
- }
106
- render() {
107
- return (h(Fragment, { key: 'f868c06841bb1f9a6f39db8598141634cbe59f5f' }, h("span", { key: '935d20891b9df19b37cf38242892428c81c12631', "aria-describedby": this.isTruncated ? "toggle-anchor" : null, class: clsx("dso-label", {
108
- [`dso-label-${this.status}`]: this.status,
109
- "dso-compact": this.compact && !this.removable,
110
- "dso-hover": this.removeHover || this.removeFocus,
111
- }) }, h("slot", { key: 'e3d5f4d753cf5ca6ef1bef6fae698b3b4c03e5da', name: "symbol" }), h("span", { key: '242c774421051469948ff841d7b55bf06e9481fd', class: clsx("dso-label-content", {
112
- "dso-truncate": !!this.truncate,
113
- }), ref: (element) => (this.labelContent = element), tabindex: this.truncate && this.isTruncated ? 0 : undefined, onMouseEnter: () => (this.textHover = true), onMouseLeave: () => (this.textHover = false), onFocus: () => (this.textFocus = true), onBlur: () => (this.textFocus = false) }, h("slot", { key: '93ae4502166a8c246371249f6b25423ab066e5b7' })), this.removable && (h("dso-icon-button", { key: '35c535b0943aef1ffc59871b43e2222c7490c6d2', variant: "tertiary", icon: "times", label: `Verwijder: ${this.labelText}`, onDsoClick: (e) => this.dsoRemoveClick.emit(e.detail.originalEvent), onMouseEnter: () => (this.removeHover = true), onMouseLeave: () => (this.removeHover = false), onFocus: () => (this.removeFocus = true), onBlur: () => (this.removeFocus = false) }))), this.isTruncated && (h("dso-tooltip", { key: '0c0a556cc61f34f782e9da771138e8b0e37e6647', stateless: true, id: "toggle-anchor", active: this.textHover || this.textFocus, position: "top", strategy: "absolute" }, this.labelText))));
114
- }
115
- get host() { return this; }
116
- static get watchers() { return {
117
- "removable": [{
118
- "watchRemovable": 0
119
- }],
120
- "truncate": [{
121
- "watchTruncate": 0
122
- }]
123
- }; }
124
- static get style() { return labelCss(); }
125
- }, [257, "dso-label", {
126
- "compact": [516],
127
- "removable": [516],
128
- "status": [513],
129
- "truncate": [516],
130
- "removeHover": [32],
131
- "removeFocus": [32],
132
- "textHover": [32],
133
- "textFocus": [32],
134
- "isTruncated": [32],
135
- "labelText": [32],
136
- "_truncateLabel": [64]
137
- }, [[4, "keydown", "keyDownListener"]], {
138
- "removable": [{
139
- "watchRemovable": 0
140
- }],
141
- "truncate": [{
142
- "watchTruncate": 0
143
- }]
144
- }]);
145
- function defineCustomElement() {
146
- if (typeof customElements === "undefined") {
147
- return;
148
- }
149
- const components = ["dso-label", "dso-icon", "dso-icon-button", "dso-tooltip"];
150
- components.forEach(tagName => { switch (tagName) {
151
- case "dso-label":
152
- if (!customElements.get(transformTag(tagName))) {
153
- customElements.define(transformTag(tagName), Label);
154
- }
155
- break;
156
- case "dso-icon":
157
- if (!customElements.get(transformTag(tagName))) {
158
- defineCustomElement$3();
159
- }
160
- break;
161
- case "dso-icon-button":
162
- if (!customElements.get(transformTag(tagName))) {
163
- defineCustomElement$2();
164
- }
165
- break;
166
- case "dso-tooltip":
167
- if (!customElements.get(transformTag(tagName))) {
168
- defineCustomElement$1();
169
- }
170
- break;
171
- } });
172
- }
173
-
174
- export { Label as L, defineCustomElement as d };
@@ -1,121 +0,0 @@
1
- import { p as proxyCustomElement, H, d as createEvent, h, t as transformTag } from './p-DmmKAUIT.js';
2
- import { p as positionTooltip, T as Tooltip } from './p-BzrfS3rM.js';
3
- import { d as defineCustomElement$1 } from './p-DOIYXIWP.js';
4
-
5
- const iconButtonCss = () => `.dso-tooltip { --_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-tooltip 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-tooltip 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-tooltip 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-tooltip 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#email-wit")); } .dso-tooltip { --_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: #666; color: #fff; 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: 320px; } .dso-tooltip.visible { opacity: 1; visibility: visible; } .dso-tooltip .tooltip-inner { --_dt-span-role-paragraph-margin-block: 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; } .dso-tooltip .tooltip-inner 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-tooltip .tooltip-inner 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-tooltip .tooltip-inner 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-tooltip .tooltip-inner 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#email-wit")); } .dso-tooltip .tooltip-inner { --_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: #666; color: #fff; font-family: Asap, sans-serif; font-size: 1rem; font-weight: normal; padding-block: 0; padding-inline: 8px; border-radius: 4px; line-height: 1.5; } .dso-tooltip .tooltip-arrow { position: absolute; background-color: #666; border-start-start-radius: 4px; block-size: 8px; inline-size: 8px; pointer-events: none; z-index: -1; } :host { display: inline-block; line-height: 1; } *, *::after, *::before { box-sizing: border-box; } .dso-secondary { 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; } .dso-secondary:focus, .dso-secondary:focus-visible { outline-offset: 2px; } .dso-secondary:active { outline: 0; } .dso-secondary.extern::after, .dso-secondary.download::after { content: ""; display: inline-block; margin-inline-start: 8px; } .dso-secondary { background-color: var(--_dso-button-secondary-background-color, #fff); border-color: var(--_dso-button-secondary-border-color, #39870c); color: var(--_dso-button-secondary-color, #39870c); border-width: 1px; border-style: solid; border-radius: 4px; line-height: 1.5; min-inline-size: 56px; padding-block: 11px; padding-inline: 15px; } .dso-secondary:hover { background-color: var(--_dso-button-secondary-hover-background-color, #d7e7ce); border-color: var(--_dso-button-secondary-hover-border-color, #275937); color: var(--_dso-button-secondary-hover-color, #275937); } .dso-secondary:active { background-color: var(--_dso-button-secondary-active-background-color, #275937); border-color: var(--_dso-button-secondary-active-border-color, #275937); color: var(--_dso-button-secondary-active-color, #fff); } .dso-secondary[disabled], .dso-secondary[disabled]:hover { background-color: var(--_dso-button-secondary-disabled-background-color, #fff); border-color: var(--_dso-button-secondary-disabled-border-color, #afcf9d); color: var(--_dso-button-secondary-disabled-color, #afcf9d); } .dso-secondary.dso-small { line-height: 1rem; } .dso-secondary.dso-small dso-icon, .dso-secondary.dso-small.extern::after, .dso-secondary.dso-small.download::after, .dso-secondary.dso-small.dso-spinner::before { margin-block-end: -4px; margin-block-start: -4px; } .dso-secondary.dso-small.dso-spinner-left::before { block-size: 16px; inline-size: 16px; } .dso-secondary.dso-small.dso-spinner-right::after { block-size: 16px; inline-size: 16px; } .dso-secondary.dso-extra-small { line-height: 1rem; } .dso-secondary.dso-extra-small dso-icon, .dso-secondary.dso-extra-small.extern::after, .dso-secondary.dso-extra-small.download::after, .dso-secondary.dso-extra-small.dso-spinner::before { margin-block-end: -4px; margin-block-start: -4px; } .dso-secondary.dso-extra-small.dso-spinner-left::before { block-size: 16px; inline-size: 16px; } .dso-secondary.dso-extra-small.dso-spinner-right::after { block-size: 16px; inline-size: 16px; } .dso-secondary.dso-extra-small { padding-block: 9px; } .dso-secondary dso-icon:has(+ span:not(.sr-only)) { margin-inline-start: -8px; } .dso-secondary span:not(.sr-only) + dso-icon { margin-inline-start: 8px; margin-inline-end: -8px; } .dso-secondary dso-icon + span:not(.sr-only) { margin-inline-start: 8px; } .dso-secondary.dso-spinner-left[disabled], .dso-secondary.dso-spinner-right[disabled] { background-color: #fff; border-color: #39870c; color: #39870c; } .dso-secondary.dso-spinner-left::before { background-image: url("data:image/svg+xml,%3Csvg class='spinner' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg' %3E%3Cstyle%3E .spinner %7B animation: rotator 8s linear infinite; transform-origin: center; %7D @keyframes rotator %7B 0%25 %7B transform: rotate(0deg); %7D 100%25 %7B transform: rotate(360deg); %7D %7D .path %7B stroke-dasharray: 265; stroke-dashoffset: 0; transform-origin: center; stroke: %2339870c; animation: dash 2s ease-in-out infinite; %7D @keyframes dash %7B 0%25 %7B stroke-dashoffset: 265; %7D 50%25 %7B stroke-dashoffset: 65; transform:rotate(90deg); %7D 100%25 %7B stroke-dashoffset: 265; transform:rotate(360deg); %7D %3C/style%3E%3Ccircle class='path' fill='none' stroke-width='10' stroke-linecap='butt' cx='50' cy='50' r='45'%3E%3C/circle%3E%3C/svg%3E"); background-repeat: no-repeat; content: ""; display: inline-block; block-size: 24px; vertical-align: top; inline-size: 24px; margin-inline-end: 8px; } .dso-secondary.dso-spinner-left:not([disabled]):hover::before { background-image: url("data:image/svg+xml,%3Csvg class='spinner' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg' %3E%3Cstyle%3E .spinner %7B animation: rotator 8s linear infinite; transform-origin: center; %7D @keyframes rotator %7B 0%25 %7B transform: rotate(0deg); %7D 100%25 %7B transform: rotate(360deg); %7D %7D .path %7B stroke-dasharray: 265; stroke-dashoffset: 0; transform-origin: center; stroke: %23fff; animation: dash 2s ease-in-out infinite; %7D @keyframes dash %7B 0%25 %7B stroke-dashoffset: 265; %7D 50%25 %7B stroke-dashoffset: 65; transform:rotate(90deg); %7D 100%25 %7B stroke-dashoffset: 265; transform:rotate(360deg); %7D %3C/style%3E%3Ccircle class='path' fill='none' stroke-width='10' stroke-linecap='butt' cx='50' cy='50' r='45'%3E%3C/circle%3E%3C/svg%3E"); background-repeat: no-repeat; content: ""; display: inline-block; block-size: 24px; vertical-align: top; inline-size: 24px; margin-inline-end: 8px; } .dso-secondary.dso-spinner-left:not([disabled]).dso-small:hover::before { block-size: 16px; inline-size: 16px; } .dso-secondary.dso-spinner-right::after { background-image: url("data:image/svg+xml,%3Csvg class='spinner' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg' %3E%3Cstyle%3E .spinner %7B animation: rotator 8s linear infinite; transform-origin: center; %7D @keyframes rotator %7B 0%25 %7B transform: rotate(0deg); %7D 100%25 %7B transform: rotate(360deg); %7D %7D .path %7B stroke-dasharray: 265; stroke-dashoffset: 0; transform-origin: center; stroke: %2339870c; animation: dash 2s ease-in-out infinite; %7D @keyframes dash %7B 0%25 %7B stroke-dashoffset: 265; %7D 50%25 %7B stroke-dashoffset: 65; transform:rotate(90deg); %7D 100%25 %7B stroke-dashoffset: 265; transform:rotate(360deg); %7D %3C/style%3E%3Ccircle class='path' fill='none' stroke-width='10' stroke-linecap='butt' cx='50' cy='50' r='45'%3E%3C/circle%3E%3C/svg%3E"); background-repeat: no-repeat; content: ""; display: inline-block; block-size: 24px; vertical-align: top; inline-size: 24px; margin-inline-start: 8px; } .dso-secondary.dso-spinner-right:not([disabled]):hover::after { background-image: url("data:image/svg+xml,%3Csvg class='spinner' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg' %3E%3Cstyle%3E .spinner %7B animation: rotator 8s linear infinite; transform-origin: center; %7D @keyframes rotator %7B 0%25 %7B transform: rotate(0deg); %7D 100%25 %7B transform: rotate(360deg); %7D %7D .path %7B stroke-dasharray: 265; stroke-dashoffset: 0; transform-origin: center; stroke: %23fff; animation: dash 2s ease-in-out infinite; %7D @keyframes dash %7B 0%25 %7B stroke-dashoffset: 265; %7D 50%25 %7B stroke-dashoffset: 65; transform:rotate(90deg); %7D 100%25 %7B stroke-dashoffset: 265; transform:rotate(360deg); %7D %3C/style%3E%3Ccircle class='path' fill='none' stroke-width='10' stroke-linecap='butt' cx='50' cy='50' r='45'%3E%3C/circle%3E%3C/svg%3E"); background-repeat: no-repeat; content: ""; display: inline-block; block-size: 24px; vertical-align: top; inline-size: 24px; margin-inline-start: 8px; } .dso-secondary.dso-spinner-right:not([disabled]).dso-small:hover::after { block-size: 16px; inline-size: 16px; } .dso-secondary { padding-inline: calc(8px - 1px); padding-block: calc(8px - 1px); border-start-start-radius: var(--_dt-icon-button-border-start-start-radius, 4px); border-start-end-radius: var(--_dt-icon-button-border-start-end-radius, 4px); border-end-end-radius: var(--_dt-icon-button-border-end-end-radius, 4px); border-end-start-radius: var(--_dt-icon-button-border-end-start-radius, 4px); border-block-end-width: var(--_dt-icon-button-border-block-end-width, 1px); border-inline-end-width: var(--_dt-icon-button-border-inline-end-width, 1px); } .dso-tertiary { 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; } .dso-tertiary:focus, .dso-tertiary:focus-visible { outline-offset: 2px; } .dso-tertiary:active { outline: 0; } .dso-tertiary.extern::after, .dso-tertiary.download::after { content: ""; display: inline-block; margin-inline-start: 8px; } .dso-tertiary { padding-inline: 0; padding-block: 0; color: var(--_dso-icon-button-tertiary-color, #39870c); background-color: transparent; border: 0; } .dso-tertiary:not([disabled]):hover { color: var(--_dso-icon-button-tertiary-hover-color, var(--_dso-icon-button-tertiary-color, #275937)); } .dso-tertiary:not([disabled]):active { color: var(--_dso-icon-button-tertiary-active-color, var(--_dso-icon-button-tertiary-color, #275937)); } .dso-tertiary[disabled] { color: var(--_dso-icon-button-tertiary-disabled-color, var(--_dso-icon-button-tertiary-color, #afcf9d)); } .dso-map { 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; } .dso-map:focus, .dso-map:focus-visible { outline-offset: 2px; } .dso-map:active { outline: 0; } .dso-map { background-color: var(--_dso-button-secondary-background-color, #fff); border-color: var(--_dso-button-secondary-border-color, #39870c); color: var(--_dso-button-secondary-color, #39870c); border-width: 1px; border-style: solid; border-radius: 4px; line-height: 1.5; min-inline-size: 56px; padding-block: 11px; padding-inline: 15px; } .dso-map:hover { background-color: var(--_dso-button-secondary-hover-background-color, #d7e7ce); border-color: var(--_dso-button-secondary-hover-border-color, #275937); color: var(--_dso-button-secondary-hover-color, #275937); } .dso-map:active { background-color: var(--_dso-button-secondary-active-background-color, #275937); border-color: var(--_dso-button-secondary-active-border-color, #275937); color: var(--_dso-button-secondary-active-color, #fff); } .dso-map[disabled], .dso-map[disabled]:hover { background-color: var(--_dso-button-secondary-disabled-background-color, #fff); border-color: var(--_dso-button-secondary-disabled-border-color, #afcf9d); color: var(--_dso-button-secondary-disabled-color, #afcf9d); } .dso-map.dso-small { line-height: 1rem; } .dso-map.dso-small dso-icon, .dso-map.dso-small.extern::after, .dso-map.dso-small.download::after, .dso-map.dso-small.dso-spinner::before { margin-block-end: -4px; margin-block-start: -4px; } .dso-map.dso-small.dso-spinner-left::before { block-size: 16px; inline-size: 16px; } .dso-map.dso-small.dso-spinner-right::after { block-size: 16px; inline-size: 16px; } .dso-map.dso-extra-small { line-height: 1rem; } .dso-map.dso-extra-small dso-icon, .dso-map.dso-extra-small.extern::after, .dso-map.dso-extra-small.download::after, .dso-map.dso-extra-small.dso-spinner::before { margin-block-end: -4px; margin-block-start: -4px; } .dso-map.dso-extra-small.dso-spinner-left::before { block-size: 16px; inline-size: 16px; } .dso-map.dso-extra-small.dso-spinner-right::after { block-size: 16px; inline-size: 16px; } .dso-map.dso-extra-small { padding-block: 9px; } .dso-map dso-icon:has(+ span:not(.sr-only)) { margin-inline-start: -8px; } .dso-map span:not(.sr-only) + dso-icon { margin-inline-start: 8px; margin-inline-end: -8px; } .dso-map dso-icon + span:not(.sr-only) { margin-inline-start: 8px; } .dso-map.dso-spinner-left[disabled], .dso-map.dso-spinner-right[disabled] { background-color: #fff; border-color: #39870c; color: #39870c; } .dso-map.dso-spinner-left::before { background-image: url("data:image/svg+xml,%3Csvg class='spinner' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg' %3E%3Cstyle%3E .spinner %7B animation: rotator 8s linear infinite; transform-origin: center; %7D @keyframes rotator %7B 0%25 %7B transform: rotate(0deg); %7D 100%25 %7B transform: rotate(360deg); %7D %7D .path %7B stroke-dasharray: 265; stroke-dashoffset: 0; transform-origin: center; stroke: %2339870c; animation: dash 2s ease-in-out infinite; %7D @keyframes dash %7B 0%25 %7B stroke-dashoffset: 265; %7D 50%25 %7B stroke-dashoffset: 65; transform:rotate(90deg); %7D 100%25 %7B stroke-dashoffset: 265; transform:rotate(360deg); %7D %3C/style%3E%3Ccircle class='path' fill='none' stroke-width='10' stroke-linecap='butt' cx='50' cy='50' r='45'%3E%3C/circle%3E%3C/svg%3E"); background-repeat: no-repeat; content: ""; display: inline-block; block-size: 24px; vertical-align: top; inline-size: 24px; margin-inline-end: 8px; } .dso-map.dso-spinner-left:not([disabled]):hover::before { background-image: url("data:image/svg+xml,%3Csvg class='spinner' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg' %3E%3Cstyle%3E .spinner %7B animation: rotator 8s linear infinite; transform-origin: center; %7D @keyframes rotator %7B 0%25 %7B transform: rotate(0deg); %7D 100%25 %7B transform: rotate(360deg); %7D %7D .path %7B stroke-dasharray: 265; stroke-dashoffset: 0; transform-origin: center; stroke: %23fff; animation: dash 2s ease-in-out infinite; %7D @keyframes dash %7B 0%25 %7B stroke-dashoffset: 265; %7D 50%25 %7B stroke-dashoffset: 65; transform:rotate(90deg); %7D 100%25 %7B stroke-dashoffset: 265; transform:rotate(360deg); %7D %3C/style%3E%3Ccircle class='path' fill='none' stroke-width='10' stroke-linecap='butt' cx='50' cy='50' r='45'%3E%3C/circle%3E%3C/svg%3E"); background-repeat: no-repeat; content: ""; display: inline-block; block-size: 24px; vertical-align: top; inline-size: 24px; margin-inline-end: 8px; } .dso-map.dso-spinner-left:not([disabled]).dso-small:hover::before { block-size: 16px; inline-size: 16px; } .dso-map.dso-spinner-right::after { background-image: url("data:image/svg+xml,%3Csvg class='spinner' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg' %3E%3Cstyle%3E .spinner %7B animation: rotator 8s linear infinite; transform-origin: center; %7D @keyframes rotator %7B 0%25 %7B transform: rotate(0deg); %7D 100%25 %7B transform: rotate(360deg); %7D %7D .path %7B stroke-dasharray: 265; stroke-dashoffset: 0; transform-origin: center; stroke: %2339870c; animation: dash 2s ease-in-out infinite; %7D @keyframes dash %7B 0%25 %7B stroke-dashoffset: 265; %7D 50%25 %7B stroke-dashoffset: 65; transform:rotate(90deg); %7D 100%25 %7B stroke-dashoffset: 265; transform:rotate(360deg); %7D %3C/style%3E%3Ccircle class='path' fill='none' stroke-width='10' stroke-linecap='butt' cx='50' cy='50' r='45'%3E%3C/circle%3E%3C/svg%3E"); background-repeat: no-repeat; content: ""; display: inline-block; block-size: 24px; vertical-align: top; inline-size: 24px; margin-inline-start: 8px; } .dso-map.dso-spinner-right:not([disabled]):hover::after { background-image: url("data:image/svg+xml,%3Csvg class='spinner' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg' %3E%3Cstyle%3E .spinner %7B animation: rotator 8s linear infinite; transform-origin: center; %7D @keyframes rotator %7B 0%25 %7B transform: rotate(0deg); %7D 100%25 %7B transform: rotate(360deg); %7D %7D .path %7B stroke-dasharray: 265; stroke-dashoffset: 0; transform-origin: center; stroke: %23fff; animation: dash 2s ease-in-out infinite; %7D @keyframes dash %7B 0%25 %7B stroke-dashoffset: 265; %7D 50%25 %7B stroke-dashoffset: 65; transform:rotate(90deg); %7D 100%25 %7B stroke-dashoffset: 265; transform:rotate(360deg); %7D %3C/style%3E%3Ccircle class='path' fill='none' stroke-width='10' stroke-linecap='butt' cx='50' cy='50' r='45'%3E%3C/circle%3E%3C/svg%3E"); background-repeat: no-repeat; content: ""; display: inline-block; block-size: 24px; vertical-align: top; inline-size: 24px; margin-inline-start: 8px; } .dso-map.dso-spinner-right:not([disabled]).dso-small:hover::after { block-size: 16px; inline-size: 16px; } .dso-map { box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.5); border: 0; font-weight: 600; margin-inline-end: 16px; padding-block: 8px; padding-inline: 16px; white-space: nowrap; } .dso-map:focus, .dso-map:focus-visible { outline-offset: -1px; } .dso-map:has(span.sr-only):has(dso-icon) { padding: 8px; min-inline-size: auto; block-size: 40px; inline-size: 40px; } .dso-map { padding-inline: 8px; padding-block: 8px; border: 0; margin-inline-end: 0; box-shadow: var(--_dt-icon-button-map-box-shadow, 0 0 8px 0 rgba(0, 0, 0, 0.3)); border-start-start-radius: var(--_dt-icon-button-border-start-start-radius, 4px); border-start-end-radius: var(--_dt-icon-button-border-start-end-radius, 4px); border-end-end-radius: var(--_dt-icon-button-border-end-end-radius, 4px); border-end-start-radius: var(--_dt-icon-button-border-end-start-radius, 4px); } .icon-button { min-inline-size: auto; cursor: pointer; } .icon-button[disabled] { cursor: default; }`;
6
-
7
- const IconButton = /*@__PURE__*/ proxyCustomElement(class IconButton extends H {
8
- constructor(registerHost) {
9
- super();
10
- if (registerHost !== false) {
11
- this.__registerHost();
12
- }
13
- this.__attachShadow();
14
- this.dsoClick = createEvent(this, "dsoClick", 3);
15
- /**
16
- * The variant of the Icon Button.
17
- */
18
- this.variant = "secondary";
19
- /**
20
- * The placement of the tooltip on hover and focus of the Icon Button.
21
- */
22
- this.tooltipPlacement = "top";
23
- /**
24
- * To disable the Icon Button
25
- */
26
- this.disabled = false;
27
- this.showTooltip = false;
28
- this.lastClickTime = 0;
29
- this.tooltipShowDelay = 500;
30
- this.handleShowTooltip = () => {
31
- if (this.disabled) {
32
- return;
33
- }
34
- // Don't show the tooltip if the button is clicked within 500ms of the last click
35
- if (Date.now() - this.lastClickTime < this.tooltipShowDelay) {
36
- return;
37
- }
38
- this.clearToolTipTimeout();
39
- this.tooltipTimeout = window.setTimeout(() => {
40
- if (!this.tooltipElRef?.isConnected) {
41
- return;
42
- }
43
- this.showTooltip = true;
44
- this.tooltipElRef?.showPopover();
45
- if (!this.cleanUp && this.buttonElRef && this.tooltipElRef && this.tipArrowElRef) {
46
- this.cleanUp = positionTooltip({
47
- referenceElement: this.buttonElRef,
48
- tipRef: this.tooltipElRef,
49
- tipArrowRef: this.tipArrowElRef,
50
- placementTip: this.tooltipPlacement,
51
- topPositionSmallViewPort: false,
52
- halfMainAxisOffset: false,
53
- forceVisible: true,
54
- });
55
- }
56
- }, this.tooltipShowDelay);
57
- };
58
- this.clearToolTipTimeout = () => {
59
- if (this.tooltipTimeout) {
60
- clearTimeout(this.tooltipTimeout);
61
- }
62
- };
63
- this.handleHideTooltip = () => {
64
- this.clearToolTipTimeout();
65
- this.showTooltip = false;
66
- this.tooltipElRef?.hidePopover();
67
- if (!this.showTooltip && this.cleanUp) {
68
- this.cleanUp();
69
- this.cleanUp = undefined;
70
- }
71
- };
72
- this.handleClick = (e) => {
73
- this.lastClickTime = Date.now();
74
- this.handleHideTooltip();
75
- this.dsoClick.emit({ originalEvent: e });
76
- };
77
- }
78
- /**
79
- * Focuses the button.
80
- */
81
- async setFocus() {
82
- this.buttonElRef?.focus();
83
- }
84
- disconnectedCallback() {
85
- this.clearToolTipTimeout();
86
- this.cleanUp?.();
87
- this.cleanUp = undefined;
88
- }
89
- render() {
90
- return (h("button", { key: '8b22306b71a11a9a5bb331e3138d398a1ea28c25', ref: (el) => (this.buttonElRef = el), type: "button", disabled: this.disabled, "aria-label": this.label, class: `icon-button dso-${this.variant}`, onMouseEnter: this.handleShowTooltip, onMouseLeave: this.handleHideTooltip, onFocus: this.handleShowTooltip, onBlur: this.handleHideTooltip, onClick: this.handleClick }, h("dso-icon", { key: '5e0331ca7a343c70ef6f0fc0667d567d7c2814ad', icon: this.icon }), h(Tooltip, { key: 'ddf5f41269e6102ef81b05096119386e15478236', visible: this.showTooltip, onAfterHidden: this.handleHideTooltip, tipElementRef: (element) => (this.tooltipElRef = element), tipArrowElementRef: (element) => (this.tipArrowElRef = element) }, this.label)));
91
- }
92
- static get style() { return iconButtonCss(); }
93
- }, [1, "dso-icon-button", {
94
- "icon": [513],
95
- "label": [513],
96
- "variant": [513],
97
- "tooltipPlacement": [513, "tooltip-placement"],
98
- "disabled": [516],
99
- "showTooltip": [32],
100
- "setFocus": [64]
101
- }]);
102
- function defineCustomElement() {
103
- if (typeof customElements === "undefined") {
104
- return;
105
- }
106
- const components = ["dso-icon-button", "dso-icon"];
107
- components.forEach(tagName => { switch (tagName) {
108
- case "dso-icon-button":
109
- if (!customElements.get(transformTag(tagName))) {
110
- customElements.define(transformTag(tagName), IconButton);
111
- }
112
- break;
113
- case "dso-icon":
114
- if (!customElements.get(transformTag(tagName))) {
115
- defineCustomElement$1();
116
- }
117
- break;
118
- } });
119
- }
120
-
121
- export { IconButton as I, defineCustomElement as d };