@dso-toolkit/core 100.3.0 → 100.3.1

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 (276) hide show
  1. package/dist/bundle/dso-accordion-section.js +5 -5
  2. package/dist/bundle/dso-action-list-item.js +1 -1
  3. package/dist/bundle/dso-advanced-select.js +5 -5
  4. package/dist/bundle/dso-alert.js +1 -1
  5. package/dist/bundle/dso-annotation-activiteit.js +4 -4
  6. package/dist/bundle/dso-annotation-gebiedsaanwijzing.js +4 -4
  7. package/dist/bundle/dso-annotation-kaart.js +2 -2
  8. package/dist/bundle/dso-annotation-locatie.js +1 -1
  9. package/dist/bundle/dso-annotation-omgevingsnormwaarde.js +4 -4
  10. package/dist/bundle/dso-attachments-counter.js +1 -1
  11. package/dist/bundle/dso-autosuggest.js +3 -3
  12. package/dist/bundle/dso-badge.js +1 -1
  13. package/dist/bundle/dso-banner.js +1 -1
  14. package/dist/bundle/dso-card.js +1 -1
  15. package/dist/bundle/dso-document-card.js +1 -1
  16. package/dist/bundle/dso-document-component.js +1 -1
  17. package/dist/bundle/dso-dropdown-menu-item.js +1 -1
  18. package/dist/bundle/dso-dropdown-menu.js +3 -3
  19. package/dist/bundle/dso-header.js +3 -3
  20. package/dist/bundle/dso-history-item.js +1 -1
  21. package/dist/bundle/dso-icon-button.js +1 -1
  22. package/dist/bundle/dso-icon.js +1 -1
  23. package/dist/bundle/dso-image-overlay.js +1 -1
  24. package/dist/bundle/dso-info-button.js +1 -1
  25. package/dist/bundle/dso-info.js +1 -1
  26. package/dist/bundle/dso-input-range.js +2 -2
  27. package/dist/bundle/dso-label.js +1 -1
  28. package/dist/bundle/dso-legend-group.js +3 -3
  29. package/dist/bundle/dso-legend-item.js +6 -6
  30. package/dist/bundle/dso-legend.js +4 -4
  31. package/dist/bundle/dso-list-button.js +7 -7
  32. package/dist/bundle/dso-logo.js +1 -1
  33. package/dist/bundle/dso-map-base-layers.js +7 -7
  34. package/dist/bundle/dso-map-controls.js +4 -4
  35. package/dist/bundle/dso-map-layer-object.js +2 -2
  36. package/dist/bundle/dso-map-layer.js +2 -2
  37. package/dist/bundle/dso-map-message.js +3 -3
  38. package/dist/bundle/dso-map-overlays.js +7 -7
  39. package/dist/bundle/dso-mark-bar.js +3 -3
  40. package/dist/bundle/dso-modal.js +1 -1
  41. package/dist/bundle/dso-onboarding-tip.js +3 -3
  42. package/dist/bundle/dso-ozon-content-toggletip.js +1 -1
  43. package/dist/bundle/dso-ozon-content.js +1 -1
  44. package/dist/bundle/dso-pagination.js +2 -2
  45. package/dist/bundle/dso-panel.js +1 -1
  46. package/dist/bundle/dso-plekinfo-card.js +2 -2
  47. package/dist/bundle/dso-progress-indicator.js +1 -1
  48. package/dist/bundle/dso-project-item.js +4 -4
  49. package/dist/bundle/dso-responsive-element.js +1 -1
  50. package/dist/bundle/dso-scrollable.js +1 -1
  51. package/dist/bundle/dso-segmented-button.js +1 -1
  52. package/dist/bundle/dso-selectable.js +1 -1
  53. package/dist/bundle/dso-shopping-cart-item.js +2 -2
  54. package/dist/bundle/dso-shopping-cart.js +4 -4
  55. package/dist/bundle/dso-skiplink.js +2 -2
  56. package/dist/bundle/dso-slide-toggle.js +1 -1
  57. package/dist/bundle/dso-survey-rating.js +5 -5
  58. package/dist/bundle/dso-table.js +1 -1
  59. package/dist/bundle/dso-tabs.js +1 -1
  60. package/dist/bundle/dso-tijdreis-banner.js +2 -2
  61. package/dist/bundle/dso-tree-view.js +3 -3
  62. package/dist/bundle/dso-viewer-grid.js +2 -2
  63. package/dist/bundle/dsot-document-component-demo.js +16 -16
  64. package/dist/bundle/{p-BUMxb_Ev.js → p-3mY5bRq3.js} +4 -4
  65. package/dist/bundle/{p-euQGyPM7.js → p-BPxWl5Jg.js} +12 -12
  66. package/dist/bundle/{p-BdIkNKXy.js → p-BcoGSCi2.js} +1 -1
  67. package/dist/bundle/{p-jgC8pS3f.js → p-BeyBvNPm.js} +3 -3
  68. package/dist/bundle/{p-DCB4WOS7.js → p-BhW3MSGZ.js} +4 -4
  69. package/dist/bundle/{p-DG8Kv-AI.js → p-Bj6TmNEh.js} +3 -2
  70. package/dist/bundle/{p-nIEuIxSJ.js → p-BydRjBUc.js} +4 -4
  71. package/dist/bundle/{p-O1XEOqgC.js → p-C78OzjGD.js} +1 -1
  72. package/dist/bundle/{p-CfRHoykw.js → p-CIfxp928.js} +2 -2
  73. package/dist/bundle/{p-CwsxKEZu.js → p-CMm0xWy5.js} +1 -1
  74. package/dist/bundle/{p-DPvJlcnu.js → p-COI1m0uI.js} +3 -3
  75. package/dist/bundle/{p-OmU7Yv3A.js → p-Ci81TOhm.js} +1 -1
  76. package/dist/bundle/{p-jornOoTk.js → p-Cy1s6Fqo.js} +6 -6
  77. package/dist/bundle/{p-CSFTUYxS.js → p-Cz4DEkYY.js} +3 -3
  78. package/dist/bundle/{p-Ba4T-27v.js → p-D8J4Z2LD.js} +8 -8
  79. package/dist/bundle/{p-i3p8engD.js → p-DSn98k7j.js} +2 -2
  80. package/dist/bundle/{p-CFU9xZQK.js → p-DTx5uLrL.js} +2 -2
  81. package/dist/bundle/{p-hkT73OMa.js → p-LAIYa8JB.js} +4 -4
  82. package/dist/bundle/{p-GK7sI8Gb.js → p-TaOl3xYb.js} +3 -3
  83. package/dist/bundle/{p-C_h0uNbd.js → p-nBjxlgfX.js} +5 -5
  84. package/dist/bundle/{p-ClxcNLxu.js → p-wroz5qbN.js} +7 -7
  85. package/dist/cjs/dso-alert_7.cjs.entry.js +8 -8
  86. package/dist/cjs/dso-dropdown-menu.cjs.entry.js +1 -1
  87. package/dist/cjs/dso-header.cjs.entry.js +1 -1
  88. package/dist/cjs/dso-icon_2.cjs.entry.js +4 -3
  89. package/dist/cjs/dso-info_3.cjs.entry.js +3 -3
  90. package/dist/cjs/dso-input-range.cjs.entry.js +2 -2
  91. package/dist/cjs/dso-label_3.cjs.entry.js +3 -3
  92. package/dist/cjs/dso-legend-group.cjs.entry.js +1 -1
  93. package/dist/cjs/dso-legend-item.cjs.entry.js +1 -1
  94. package/dist/cjs/dso-legend.cjs.entry.js +1 -1
  95. package/dist/cjs/dso-list-button.cjs.entry.js +1 -1
  96. package/dist/cjs/dso-logo.cjs.entry.js +1 -1
  97. package/dist/cjs/dso-map-base-layers.cjs.entry.js +1 -1
  98. package/dist/cjs/dso-map-controls.cjs.entry.js +1 -1
  99. package/dist/cjs/dso-map-layer-object.cjs.entry.js +1 -1
  100. package/dist/cjs/dso-map-layer.cjs.entry.js +1 -1
  101. package/dist/cjs/dso-map-message.cjs.entry.js +2 -2
  102. package/dist/cjs/dso-map-overlays.cjs.entry.js +1 -1
  103. package/dist/cjs/dso-mark-bar.cjs.entry.js +1 -1
  104. package/dist/cjs/dso-modal.cjs.entry.js +1 -1
  105. package/dist/cjs/dso-onboarding-tip.cjs.entry.js +1 -1
  106. package/dist/cjs/dso-plekinfo-card.cjs.entry.js +1 -1
  107. package/dist/cjs/dso-progress-indicator.cjs.entry.js +1 -1
  108. package/dist/cjs/dso-project-item.cjs.entry.js +1 -1
  109. package/dist/cjs/dso-responsive-element.cjs.entry.js +1 -1
  110. package/dist/cjs/dso-scrollable.cjs.entry.js +3 -3
  111. package/dist/cjs/dso-segmented-button.cjs.entry.js +1 -1
  112. package/dist/cjs/dso-shopping-cart.cjs.entry.js +2 -2
  113. package/dist/cjs/dso-skiplink.cjs.entry.js +1 -1
  114. package/dist/cjs/dso-survey-rating.cjs.entry.js +2 -2
  115. package/dist/cjs/dso-tabs.cjs.entry.js +1 -1
  116. package/dist/cjs/dso-tijdreis-banner.cjs.entry.js +1 -1
  117. package/dist/cjs/dso-tree-view.cjs.entry.js +1 -1
  118. package/dist/cjs/dso-viewer-grid.cjs.entry.js +2 -2
  119. package/dist/collection/components/alert/alert.js +5 -5
  120. package/dist/collection/components/dropdown-menu/dropdown-menu.css +1 -0
  121. package/dist/collection/components/header/header.css +1 -0
  122. package/dist/collection/components/icon/icon.js +3 -2
  123. package/dist/collection/components/icon-button/icon-button.js +1 -1
  124. package/dist/collection/components/info/info.js +1 -1
  125. package/dist/collection/components/info-button/info-button.js +1 -1
  126. package/dist/collection/components/input-range/input-range.js +2 -2
  127. package/dist/collection/components/label/label.js +2 -2
  128. package/dist/collection/components/legend/legend-group/legend-group.js +1 -1
  129. package/dist/collection/components/legend/legend-item/legend-item.js +1 -1
  130. package/dist/collection/components/legend/legend.js +1 -1
  131. package/dist/collection/components/list-button/list-button.js +1 -1
  132. package/dist/collection/components/logo/logo.js +1 -1
  133. package/dist/collection/components/map-base-layers/map-base-layers.js +1 -1
  134. package/dist/collection/components/map-controls/map-controls.js +1 -1
  135. package/dist/collection/components/map-layer/components/map-layer-object.js +1 -1
  136. package/dist/collection/components/map-layer/map-layer.js +1 -1
  137. package/dist/collection/components/map-message/map-message.js +2 -2
  138. package/dist/collection/components/map-overlays/map-overlays.js +1 -1
  139. package/dist/collection/components/mark-bar/mark-bar.js +1 -1
  140. package/dist/collection/components/modal/modal.js +1 -1
  141. package/dist/collection/components/onboarding-tip/onboarding-tip.js +1 -1
  142. package/dist/collection/components/ozon-content/components/ozon-content-toggletip/ozon-content-toggletip.js +1 -1
  143. package/dist/collection/components/ozon-content/ozon-content.js +1 -1
  144. package/dist/collection/components/panel/panel.js +1 -1
  145. package/dist/collection/components/plekinfo-card/plekinfo-card.js +1 -1
  146. package/dist/collection/components/progress-indicator/progress-indicator.js +1 -1
  147. package/dist/collection/components/project-item/project-item.js +1 -1
  148. package/dist/collection/components/responsive-element/responsive-element.js +1 -1
  149. package/dist/collection/components/scrollable/scrollable.css +1 -1
  150. package/dist/collection/components/scrollable/scrollable.js +2 -2
  151. package/dist/collection/components/segmented-button/segmented-button.js +1 -1
  152. package/dist/collection/components/selectable/selectable.js +1 -1
  153. package/dist/collection/components/shopping-cart/shopping-cart.js +2 -2
  154. package/dist/collection/components/skiplink/skiplink.js +1 -1
  155. package/dist/collection/components/slide-toggle/slide-toggle.js +1 -1
  156. package/dist/collection/components/survey-rating/survey-rating.js +2 -2
  157. package/dist/collection/components/table/table.js +1 -1
  158. package/dist/collection/components/tabs/tabs.js +1 -1
  159. package/dist/collection/components/tijdreis-banner/tijdreis-banner.js +1 -1
  160. package/dist/collection/components/tree-view/tree-view.js +1 -1
  161. package/dist/collection/components/viewer-grid/viewer-grid.js +2 -2
  162. package/dist/components/alert.js +1 -1
  163. package/dist/components/dso-dropdown-menu.js +1 -1
  164. package/dist/components/dso-header.js +1 -1
  165. package/dist/components/dso-input-range.js +1 -1
  166. package/dist/components/dso-legend-group.js +1 -1
  167. package/dist/components/dso-legend-item.js +1 -1
  168. package/dist/components/dso-legend.js +1 -1
  169. package/dist/components/dso-list-button.js +1 -1
  170. package/dist/components/dso-logo.js +1 -1
  171. package/dist/components/dso-map-base-layers.js +1 -1
  172. package/dist/components/dso-map-controls.js +1 -1
  173. package/dist/components/dso-map-layer-object.js +1 -1
  174. package/dist/components/dso-map-layer.js +1 -1
  175. package/dist/components/dso-map-message.js +1 -1
  176. package/dist/components/dso-map-overlays.js +1 -1
  177. package/dist/components/dso-mark-bar.js +1 -1
  178. package/dist/components/dso-onboarding-tip.js +1 -1
  179. package/dist/components/dso-plekinfo-card.js +1 -1
  180. package/dist/components/dso-project-item.js +1 -1
  181. package/dist/components/dso-segmented-button.js +1 -1
  182. package/dist/components/dso-shopping-cart.js +1 -1
  183. package/dist/components/dso-skiplink.js +1 -1
  184. package/dist/components/dso-survey-rating.js +1 -1
  185. package/dist/components/dso-tabs.js +1 -1
  186. package/dist/components/dso-tijdreis-banner.js +1 -1
  187. package/dist/components/dso-tree-view.js +1 -1
  188. package/dist/components/dso-viewer-grid.js +1 -1
  189. package/dist/components/icon-button.js +1 -1
  190. package/dist/components/icon.js +1 -1
  191. package/dist/components/info-button.js +1 -1
  192. package/dist/components/info.js +1 -1
  193. package/dist/components/label.js +1 -1
  194. package/dist/components/modal.js +1 -1
  195. package/dist/components/ozon-content-toggletip.js +1 -1
  196. package/dist/components/ozon-content.js +1 -1
  197. package/dist/components/panel.js +1 -1
  198. package/dist/components/progress-indicator.js +1 -1
  199. package/dist/components/responsive-element.js +1 -1
  200. package/dist/components/scrollable.js +1 -1
  201. package/dist/components/selectable.js +1 -1
  202. package/dist/components/slide-toggle.js +1 -1
  203. package/dist/components/table.js +1 -1
  204. package/dist/dso-toolkit/dso-toolkit.esm.js +1 -1
  205. package/dist/dso-toolkit/{p-a3750b36.entry.js → p-0085311a.entry.js} +1 -1
  206. package/dist/dso-toolkit/{p-b4a169c3.entry.js → p-0099ff32.entry.js} +1 -1
  207. package/dist/dso-toolkit/{p-09531c36.entry.js → p-0117fba0.entry.js} +1 -1
  208. package/dist/dso-toolkit/{p-df3c0dad.entry.js → p-02f97f93.entry.js} +1 -1
  209. package/dist/dso-toolkit/{p-0061cf42.entry.js → p-0438b8cb.entry.js} +1 -1
  210. package/dist/dso-toolkit/{p-f273babf.entry.js → p-0f019b7c.entry.js} +1 -1
  211. package/dist/dso-toolkit/{p-2381e415.entry.js → p-16288a6a.entry.js} +1 -1
  212. package/dist/dso-toolkit/{p-e114e967.entry.js → p-301cb792.entry.js} +1 -1
  213. package/dist/dso-toolkit/p-3098df1c.entry.js +1 -0
  214. package/dist/dso-toolkit/{p-126561a7.entry.js → p-342636b2.entry.js} +1 -1
  215. package/dist/dso-toolkit/{p-96c786ed.entry.js → p-3ce055f8.entry.js} +1 -1
  216. package/dist/dso-toolkit/{p-1abdd4e4.entry.js → p-460e04c3.entry.js} +1 -1
  217. package/dist/dso-toolkit/{p-088a1cf9.entry.js → p-55a160ad.entry.js} +1 -1
  218. package/dist/dso-toolkit/{p-634b0a98.entry.js → p-58978006.entry.js} +1 -1
  219. package/dist/dso-toolkit/{p-ac4e9345.entry.js → p-610341c7.entry.js} +1 -1
  220. package/dist/dso-toolkit/{p-2d79df59.entry.js → p-6a42dae9.entry.js} +1 -1
  221. package/dist/dso-toolkit/{p-6ba25c12.entry.js → p-7eadab64.entry.js} +1 -1
  222. package/dist/dso-toolkit/{p-3c4477df.entry.js → p-918d8967.entry.js} +1 -1
  223. package/dist/dso-toolkit/p-947abc8e.entry.js +1 -0
  224. package/dist/dso-toolkit/p-a639c227.entry.js +1 -0
  225. package/dist/dso-toolkit/{p-294f153d.entry.js → p-a93cfad8.entry.js} +1 -1
  226. package/dist/dso-toolkit/{p-85a18053.entry.js → p-ab498200.entry.js} +1 -1
  227. package/dist/dso-toolkit/{p-288ad631.entry.js → p-acb7b5c5.entry.js} +1 -1
  228. package/dist/dso-toolkit/{p-9ca7e45e.entry.js → p-b6a747b3.entry.js} +1 -1
  229. package/dist/dso-toolkit/{p-356ca90c.entry.js → p-b83b2fa7.entry.js} +1 -1
  230. package/dist/dso-toolkit/{p-3e1e08b2.entry.js → p-c525f97c.entry.js} +1 -1
  231. package/dist/dso-toolkit/{p-46d970fe.entry.js → p-d92b4f7b.entry.js} +1 -1
  232. package/dist/dso-toolkit/{p-8f408a07.entry.js → p-de3ece98.entry.js} +1 -1
  233. package/dist/dso-toolkit/{p-65c6df97.entry.js → p-e9bcbf0c.entry.js} +1 -1
  234. package/dist/dso-toolkit/{p-79af2ba3.entry.js → p-ec50e32d.entry.js} +1 -1
  235. package/dist/dso-toolkit/{p-90a4e408.entry.js → p-ecc3eaab.entry.js} +1 -1
  236. package/dist/dso-toolkit/{p-4b81e58d.entry.js → p-f6e9a1b4.entry.js} +1 -1
  237. package/dist/dso-toolkit/{p-bd1ce8d2.entry.js → p-f9490a3f.entry.js} +1 -1
  238. package/dist/dso-toolkit/{p-f5fd3664.entry.js → p-fb2eb060.entry.js} +1 -1
  239. package/dist/esm/dso-alert_7.entry.js +9 -9
  240. package/dist/esm/dso-dropdown-menu.entry.js +1 -1
  241. package/dist/esm/dso-header.entry.js +1 -1
  242. package/dist/esm/dso-icon_2.entry.js +4 -3
  243. package/dist/esm/dso-info_3.entry.js +3 -3
  244. package/dist/esm/dso-input-range.entry.js +2 -2
  245. package/dist/esm/dso-label_3.entry.js +3 -3
  246. package/dist/esm/dso-legend-group.entry.js +1 -1
  247. package/dist/esm/dso-legend-item.entry.js +1 -1
  248. package/dist/esm/dso-legend.entry.js +1 -1
  249. package/dist/esm/dso-list-button.entry.js +1 -1
  250. package/dist/esm/dso-logo.entry.js +1 -1
  251. package/dist/esm/dso-map-base-layers.entry.js +1 -1
  252. package/dist/esm/dso-map-controls.entry.js +1 -1
  253. package/dist/esm/dso-map-layer-object.entry.js +1 -1
  254. package/dist/esm/dso-map-layer.entry.js +1 -1
  255. package/dist/esm/dso-map-message.entry.js +2 -2
  256. package/dist/esm/dso-map-overlays.entry.js +1 -1
  257. package/dist/esm/dso-mark-bar.entry.js +1 -1
  258. package/dist/esm/dso-modal.entry.js +1 -1
  259. package/dist/esm/dso-onboarding-tip.entry.js +1 -1
  260. package/dist/esm/dso-plekinfo-card.entry.js +1 -1
  261. package/dist/esm/dso-progress-indicator.entry.js +1 -1
  262. package/dist/esm/dso-project-item.entry.js +1 -1
  263. package/dist/esm/dso-responsive-element.entry.js +1 -1
  264. package/dist/esm/dso-scrollable.entry.js +3 -3
  265. package/dist/esm/dso-segmented-button.entry.js +1 -1
  266. package/dist/esm/dso-shopping-cart.entry.js +2 -2
  267. package/dist/esm/dso-skiplink.entry.js +1 -1
  268. package/dist/esm/dso-survey-rating.entry.js +2 -2
  269. package/dist/esm/dso-tabs.entry.js +1 -1
  270. package/dist/esm/dso-tijdreis-banner.entry.js +1 -1
  271. package/dist/esm/dso-tree-view.entry.js +1 -1
  272. package/dist/esm/dso-viewer-grid.entry.js +2 -2
  273. package/package.json +3 -3
  274. package/dist/dso-toolkit/p-32fba74e.entry.js +0 -1
  275. package/dist/dso-toolkit/p-591d65b2.entry.js +0 -1
  276. package/dist/dso-toolkit/p-d7defe72.entry.js +0 -1
@@ -82,7 +82,7 @@ export class Modal {
82
82
  }
83
83
  }
84
84
  render() {
85
- return (h("dialog", { key: '5ab02472ddbd1dca5ae9eb1d96dec73bf0fbed15', class: clsx("dso-modal", { fullscreen: this.fullscreen }), role: this.dialogRole ?? undefined, "aria-modal": "true", "aria-labelledby": this.ariaId, ref: (element) => (this.htmlDialogElement = element), onMouseDown: (e) => this.handleDialogMouseDown(e), onMouseUp: (e) => this.handleDialogMouseUp(e), onClick: (e) => this.handleDialogClick(e), onKeyDown: (e) => this.blockEscapeKey(e) }, h("div", { key: 'eb3bba348fd18f9fd45a5967785499f751042a23', class: "dso-dialog" }, this.narrowView ? (h("dso-scrollable", { class: "narrow" }, h("div", { class: "modal-scrollable" }, h(Header, { modalTitle: this.modalTitle, closable: this.closable, ariaId: this.ariaId, text: this.text, dsoClose: this.dsoClose }), h(Body, null), this.hasFooter && h(Footer, null)))) : (h(Fragment, null, h(Header, { modalTitle: this.modalTitle, closable: this.closable, ariaId: this.ariaId, text: this.text, dsoClose: this.dsoClose }), h("dso-scrollable", null, h(Body, null)), this.hasFooter && h(Footer, null))))));
85
+ return (h("dialog", { key: '88fdbf3daa75f55ba65d34e9978112db6659a83c', class: clsx("dso-modal", { fullscreen: this.fullscreen }), role: this.dialogRole ?? undefined, "aria-modal": "true", "aria-labelledby": this.ariaId, ref: (element) => (this.htmlDialogElement = element), onMouseDown: (e) => this.handleDialogMouseDown(e), onMouseUp: (e) => this.handleDialogMouseUp(e), onClick: (e) => this.handleDialogClick(e), onKeyDown: (e) => this.blockEscapeKey(e) }, h("div", { key: '0628cd928e8ad3457fea7c401a9d4a9d132eae4a', class: "dso-dialog" }, this.narrowView ? (h("dso-scrollable", { class: "narrow" }, h("div", { class: "modal-scrollable" }, h(Header, { modalTitle: this.modalTitle, closable: this.closable, ariaId: this.ariaId, text: this.text, dsoClose: this.dsoClose }), h(Body, null), this.hasFooter && h(Footer, null)))) : (h(Fragment, null, h(Header, { modalTitle: this.modalTitle, closable: this.closable, ariaId: this.ariaId, text: this.text, dsoClose: this.dsoClose }), h("dso-scrollable", null, h(Body, null)), this.hasFooter && h(Footer, null))))));
86
86
  }
87
87
  static get is() { return "dso-modal"; }
88
88
  static get encapsulation() { return "shadow"; }
@@ -65,7 +65,7 @@ export class OnboardingTip {
65
65
  }
66
66
  render() {
67
67
  const ariaLabel = this.headingSlottedElement?.textContent;
68
- return (h(Host, { key: '008beb10763a313f7c8eb5ff5b50ced5955f6bed', popover: "manual", ready: this.ready, onAnimationend: () => (this.ready = true) }, h("div", { key: '60f7b743a1ba57b391fc824ceed2ffadbe351087', role: "dialog", class: "onboarding-tip", "aria-label": ariaLabel, onKeyDown: this.blockEscapeKey, tabindex: -1 }, h("div", { key: 'f377098c52756ff0e898c7a7938fd9fa97fcbb0c', class: "onboarding-tip-inner" }, h("div", { key: '1ae47730b06e94970934a7f9a0ff93ba66852d63', class: "onboarding-tip-content-wrapper" }, this.headingSlottedElement !== null && (h("div", { key: 'e3b97de099f164ffa4d929b7cf7f16ebdf44a9bf', class: "onboarding-tip-content-heading" }, h("dso-icon", { key: '2b94028f318ee078fd128d486e228a0dba4844e3', icon: "light-bulb", "aria-hidden": "true" }), h("slot", { key: '21b4b5535e7e10cf8602d95836b70f598bcb5d7e', name: "heading" }))), h("dso-icon-button", { key: '93394a8db1fc8b6167f5cf7f9aa388c75a02a036', class: "dso-close", label: "Sluiten", variant: "tertiary", icon: "cross", onDsoClick: (e) => this.dsoClose.emit({ originalEvent: e }) }), h("slot", { key: 'a32b00deb409b417ffbcb72ae2eaa764adf89f6a' }))), h("div", { key: 'ac92c15f359dec9f59f58c2f7d2a5f2dcdef10dd', class: "onboarding-tip-arrow", ref: (ref) => (this.tipArrowRef = ref) }))));
68
+ return (h(Host, { key: '2736db18053b7e878f6fa384b420493f1ec44ce1', popover: "manual", ready: this.ready, onAnimationend: () => (this.ready = true) }, h("div", { key: '502f1260912fc9d08759d1e012a5361fff340cf4', role: "dialog", class: "onboarding-tip", "aria-label": ariaLabel, onKeyDown: this.blockEscapeKey, tabindex: -1 }, h("div", { key: '3b0ccaef90fe059e2f01680eb21736c448d60592', class: "onboarding-tip-inner" }, h("div", { key: '8be831092784dce2245a3fea83622d4855e840e4', class: "onboarding-tip-content-wrapper" }, this.headingSlottedElement !== null && (h("div", { key: '73dfd2d072d01b48174bc168195da9cb37c8bfaf', class: "onboarding-tip-content-heading" }, h("dso-icon", { key: 'c2657a46999e88d802efd6e380e361aead603602', icon: "light-bulb", "aria-hidden": "true" }), h("slot", { key: 'a590d18fa79747ff9e0eb7f1496cd896ed0278d5', name: "heading" }))), h("dso-icon-button", { key: 'e334271309f672d27cbf51dff10a067f0741e54d', class: "dso-close", label: "Sluiten", variant: "tertiary", icon: "cross", onDsoClick: (e) => this.dsoClose.emit({ originalEvent: e }) }), h("slot", { key: '2fb140a9aa6074a3184efc19ed99441435c4a747' }))), h("div", { key: 'e47261025e5759fe8b0c0a73eedd4ed657a73f3a', class: "onboarding-tip-arrow", ref: (ref) => (this.tipArrowRef = ref) }))));
69
69
  }
70
70
  get headingSlottedElement() {
71
71
  return this.host.querySelector("[slot='heading']");
@@ -65,7 +65,7 @@ export class OzonContentToggletip {
65
65
  this.cleanUpFunction = undefined;
66
66
  }
67
67
  render() {
68
- return (h(Fragment, { key: '59d04efa0ad6b83b290ceec9de576ca627488124' }, h("span", { key: 'c04b6ce659083c46433942635f499fb28ac811c6', "aria-describedby": this.active ? "toggletip-tooltip" : undefined, "aria-expanded": this.active.toString(), class: "toggletip-button", role: "button", tabIndex: 0, onClick: this.toggle, onKeyDown: this.keyDownHandler, ref: (element) => (this.container = element) }, this.icon && (h(Fragment, { key: 'a3a0f425a1e3bd933d3b973df20af3fd789506c8' }, h("span", { key: 'db930a1551e34f4ca5ddc34788f5619f17d91032', class: "toggletip-label" }, h("slot", { key: '9d19dd4d124f05846f21b11e8baf7d7d2081582c', name: "label" })), "\u2060", h("dso-icon", { key: '7e7d531ad51d83dce720f728a75add7305c83eab', icon: this.icon }))), !this.icon && h("slot", { key: 'a0cf3bcaede167071bbd432704e5ab34471086cb', name: "label" })), h(Tooltip, { key: '3f5011c804344f5a4d1e3af56150f6b5189325d7', id: "toggletip-tooltip", tipElementRef: (element) => (this.tooltipElRef = element), tipArrowElementRef: (element) => (this.tooltipArrowElRef = element) }, h("dso-scrollable", { key: 'f441efe66ee8f6d6aebd33905b6505ce4713d29b', ref: (element) => (this.restrictContentElement = element), id: "toggletip-content", "aria-live": "polite" }, h("slot", { key: '90ade51ee933c7c4271ea91f58c3dea7543680a9' })))));
68
+ return (h(Fragment, { key: 'f1f9ee358e6db049bc2e4792660ecd016f89925e' }, h("span", { key: '845275c8cc2b837a5028da7250b6aac7a566166d', "aria-describedby": this.active ? "toggletip-tooltip" : undefined, "aria-expanded": this.active.toString(), class: "toggletip-button", role: "button", tabIndex: 0, onClick: this.toggle, onKeyDown: this.keyDownHandler, ref: (element) => (this.container = element) }, this.icon && (h(Fragment, { key: '3cdba48b5c02cac0557e4807e199dfb3d82c1136' }, h("span", { key: '35ed9591f66f5ca84111a450e3d84bd75fcf5dac', class: "toggletip-label" }, h("slot", { key: '36d332e4eac11e50f931b064b84b38d42ea21ccb', name: "label" })), "\u2060", h("dso-icon", { key: '4bbe18257d6c771750e583c835d765410895deb0', icon: this.icon }))), !this.icon && h("slot", { key: 'ca9fb64f35d9d2dfce8f4457a01af773d46baef7', name: "label" })), h(Tooltip, { key: '9f540f602278f87c15281c7b904eff6c5474b995', id: "toggletip-tooltip", tipElementRef: (element) => (this.tooltipElRef = element), tipArrowElementRef: (element) => (this.tooltipArrowElRef = element) }, h("dso-scrollable", { key: '0b7d5618d8427ec7e72d22e3346ca352554de69d', ref: (element) => (this.restrictContentElement = element), id: "toggletip-content", "aria-live": "polite" }, h("slot", { key: '8c7cbaff4a8842efabed9ea8b9275fc0b3a947ee' })))));
69
69
  }
70
70
  static get is() { return "dso-ozon-content-toggletip"; }
71
71
  static get encapsulation() { return "shadow"; }
@@ -33,7 +33,7 @@ export class OzonContent {
33
33
  annotated: this.annotated,
34
34
  };
35
35
  const transformed = mapper.transform(this.content, context);
36
- return h(Fragment, { key: '9e54072c03dc354a927aaa0894cb9a63338e3952' }, transformed);
36
+ return h(Fragment, { key: 'b76985a108955329d35af34b3080b6f01cbb0028' }, transformed);
37
37
  }
38
38
  static get is() { return "dso-ozon-content"; }
39
39
  static get encapsulation() { return "shadow"; }
@@ -15,7 +15,7 @@ export class Panel {
15
15
  this.text = i18n(() => this.host, translations);
16
16
  }
17
17
  render() {
18
- return (h("div", { key: 'd7977204dc9661c70b1ca295b90c8fde16470bdb', class: clsx(["dso-panel", { emphasized: this.emphasized }]) }, h("div", { key: 'ba176d64c7d442215da82fef1ae8845186f53ca8', class: "panel-heading" }, h("slot", { key: '283b076378eb8294076cd5e7e358747704f19a8f', name: "heading" }), h("dso-icon-button", { key: '5e8bb349d535ac78f507c9c14cbb08e25a3f9e54', icon: "cross", variant: "tertiary", onDsoClick: (e) => this.dsoCloseClick.emit({ originalEvent: e.detail.originalEvent }), label: this.closeButtonLabel || this.text("close") })), h("div", { key: '2b6a6b5f88607a5e7f84edc50cea87268c6cc468', class: "panel-body" }, h("slot", { key: 'b8ff03d9b801bc62c78e4a9abccc2a8fd87537a0' }))));
18
+ return (h("div", { key: '5b81375974d8d11a0462df7c694c52c3f2a798a7', class: clsx(["dso-panel", { emphasized: this.emphasized }]) }, h("div", { key: 'b824a62964522377a144ddb4ba3b5dd4fa299c17', class: "panel-heading" }, h("slot", { key: '3bd31ee54d5b7ee08a8f9780a678c6d54d7b3b72', name: "heading" }), h("dso-icon-button", { key: 'e1f52f75e650affa433a205f37c42e179c01d75e', icon: "cross", variant: "tertiary", onDsoClick: (e) => this.dsoCloseClick.emit({ originalEvent: e.detail.originalEvent }), label: this.closeButtonLabel || this.text("close") })), h("div", { key: 'aeede848e4146fa72911e2cb4bfd2eb686fe7159', class: "panel-body" }, h("slot", { key: '3313c2ed613913ee014071f8803e287c8fd7c9ff' }))));
19
19
  }
20
20
  static get is() { return "dso-panel"; }
21
21
  static get encapsulation() { return "shadow"; }
@@ -41,7 +41,7 @@ export class PlekinfoCard {
41
41
  }
42
42
  render() {
43
43
  const hasSymbol = this.symbolSlottedElement !== null;
44
- return (h(Host, { key: '2d53ad2af278ecb04350916d97663d6e051f0621', "has-symbol": hasSymbol }, h(WrapWijzigactie, { key: '38cf232cc042b804f78641249dcb78e49edf60ad', wijzigactie: this.wijzigactie, class: "dso-plekinfo-card-container" }, h("div", { key: '06e440267be7b64ba1c83e496a31b9feb2b2e656', class: "dso-plekinfo-card-symbol", hidden: !hasSymbol }, h("slot", { key: '70b391dc311eab8a6a82c7b1ef016bb319451ca5', name: "symbol" })), h("div", { key: '308739dc070978d312a683cf15418b3641c33d14', class: "dso-plekinfo-card-heading" }, this.href ? (h("a", { href: this.href, target: this.targetBlank ? "_blank" : undefined, rel: this.targetBlank ? "noopener noreferrer" : undefined, class: "heading-anchor", onClick: (e) => this.clickEventHandler(e) }, h("span", { class: "heading-content" }, h("slot", { name: "heading" })), "\u2060", this.targetBlank ? (h(Fragment, null, h("dso-icon", { icon: "external-link" }), h("span", { class: "sr-only" }, "(Opent andere website in nieuw tabblad)"))) : (h("dso-icon", { icon: "chevron-right" })))) : (h("slot", { name: "heading" })), this.metaSlottedElement !== null && h("slot", { key: 'af52f7b0ef4ffaf976676ac25603add75e8ed953', name: "meta" }), this.interaction !== null && h("slot", { key: 'eb3c57de70129f281e1991ec3577d5daf7d77447', name: "interaction" })), h("div", { key: 'ac287449cb3ab9d081d23e7df27e76b90c2597c4', class: "dso-plekinfo-card-content" }, h("slot", { key: '7d9d0fd07d588b09dfdc3716cb00c46622a41af2', name: "content" })))));
44
+ return (h(Host, { key: 'aabcf9f7d1d9ac7a2eaaf8dac9bbd487def590e9', "has-symbol": hasSymbol }, h(WrapWijzigactie, { key: '8fe16ac5af29835b9dd45f6910ec9d17f9182921', wijzigactie: this.wijzigactie, class: "dso-plekinfo-card-container" }, h("div", { key: '54a40042ed5eebfd81ba2534b1931fda5bd3f6c8', class: "dso-plekinfo-card-symbol", hidden: !hasSymbol }, h("slot", { key: 'f08ae4bacaf9b1f62059f5f34a857025ad07c23b', name: "symbol" })), h("div", { key: '897b568013c7dc1dac7695bcab2251c87212acfb', class: "dso-plekinfo-card-heading" }, this.href ? (h("a", { href: this.href, target: this.targetBlank ? "_blank" : undefined, rel: this.targetBlank ? "noopener noreferrer" : undefined, class: "heading-anchor", onClick: (e) => this.clickEventHandler(e) }, h("span", { class: "heading-content" }, h("slot", { name: "heading" })), "\u2060", this.targetBlank ? (h(Fragment, null, h("dso-icon", { icon: "external-link" }), h("span", { class: "sr-only" }, "(Opent andere website in nieuw tabblad)"))) : (h("dso-icon", { icon: "chevron-right" })))) : (h("slot", { name: "heading" })), this.metaSlottedElement !== null && h("slot", { key: '676637dfd0bae31d9ce8a59d80acce3029ae5a73', name: "meta" }), this.interaction !== null && h("slot", { key: 'f5e396fcda503f238056bd9b764d46422b005390', name: "interaction" })), h("div", { key: 'c4c81e97a4a9b2edda0e96d88b74f4cc77fd39be', class: "dso-plekinfo-card-content" }, h("slot", { key: 'ec0373ae1542871541b60ba74af38964fac34f9e', name: "content" })))));
45
45
  }
46
46
  static get is() { return "dso-plekinfo-card"; }
47
47
  static get encapsulation() { return "shadow"; }
@@ -6,7 +6,7 @@ export class Progressindicator {
6
6
  this.text = i18n(() => this.host, translations);
7
7
  }
8
8
  render() {
9
- return (h(Host, { key: 'd5e6ea64b6b3983180f0899946b9b3354a2fe41e' }, h("span", { key: '6805adbb082ad54d4b4a4d84b85b001d4f665cfe', class: "dso-progress-indicator-spinner", role: "progressbar", "aria-labelledby": "progress-indicator-label" }, h("dso-icon", { key: 'b3f8dad626b182e46a70f83439c11765a67b2262', icon: "spinner" })), h("span", { key: 'b4ed2102656f7b330b8a436f8e999df3d30c89d9', id: "progress-indicator-label", class: "dso-progress-indicator-label" }, this.label || this.text("label"))));
9
+ return (h(Host, { key: '756b3c77f67be36f96ff5ab888468612ba099827' }, h("span", { key: '11fb5c5829de9fc1a01ba440aacf0c1577c5bf2e', class: "dso-progress-indicator-spinner", role: "progressbar", "aria-labelledby": "progress-indicator-label" }, h("dso-icon", { key: '2ea1050a9196781ab9f246dd50b8f1b905bf085b', icon: "spinner" })), h("span", { key: 'ec94e1009c0d8aa8540ceb3bc9b745db8f591e15', id: "progress-indicator-label", class: "dso-progress-indicator-label" }, this.label || this.text("label"))));
10
10
  }
11
11
  static get is() { return "dso-progress-indicator"; }
12
12
  static get encapsulation() { return "shadow"; }
@@ -1,7 +1,7 @@
1
1
  import { Fragment, h } from "@stencil/core";
2
2
  export class ProjectItem {
3
3
  render() {
4
- return (h(Fragment, { key: 'ce430c6cdf4a3551ac6dded20724d388f2a78f41' }, h("div", { key: 'fa60c476c219be6aba73f7aa19d0ca37f43eaf82', class: "project-item-header" }, h("div", { key: '08d2b98b4d240a6e1605a09625966ee2e24cacac', class: "project-item-title" }, h("slot", { key: '33c96e1e086fad5040b5f5e57d4f6bdc66b59f54', name: "title" }), this.label && (h("dso-label", { key: '2b7c36c4a87394cf59147521ab0c63b46ab7dc0d', status: "error", compact: true }, this.label))), h("div", { key: '434aa16ddff7801e52aaf2cf4205fc7387babfe4', class: "project-item-actions" }, h("slot", { key: '27d3546aaa782becb520f98ab5cd8edb8d624906', name: "actions" }))), h("div", { key: 'a233e05c27ec5beb54b23d5a3042c73fd7defc2c', class: "project-item-info" }, h("div", { key: '91d630b5c041b08fa7698acac2b92739d93d9db1', class: "project-item-progress" }, h("slot", { key: 'a8bda2420c70a50c8b793ba24b2ed98a640f77a8', name: "progress" })), h("div", { key: '543d749f0339d2f8dd69b7c19b14f555c5fdb10e', class: "project-item-status" }, h("slot", { key: '7d94342205d9b51daab159dc426661e6db927081', name: "status" })))));
4
+ return (h(Fragment, { key: '3ac430a9784d0c352920bdff7b9ab29d2fde64aa' }, h("div", { key: '9d5afd5ac80b2e859534ebc585a18e5e19b701cb', class: "project-item-header" }, h("div", { key: '92cba7550fcaa706250f5bfb9f88975203d86d01', class: "project-item-title" }, h("slot", { key: '1316cf5d4bf00e9fb586899d7c31ac3136cd7ad6', name: "title" }), this.label && (h("dso-label", { key: '84505a4bb88b548e5b7ef6d558f34e946114daab', status: "error", compact: true }, this.label))), h("div", { key: 'f410b00ad014f6b8493480d3b7b012d223a22275', class: "project-item-actions" }, h("slot", { key: '238f041f9b840b168baa0a3ba856a821b06f3149', name: "actions" }))), h("div", { key: '218b426d117b47adb2e40bb6f4a3d51ce39efe18', class: "project-item-info" }, h("div", { key: 'd6b5a8dd5d087c0660ac59252d3a0546fd56aac7', class: "project-item-progress" }, h("slot", { key: '823bc498b3fa080c15abc6abd1ba0463e4e3c10e', name: "progress" })), h("div", { key: 'b78c5b92beaf2978feea3955e2ac5a3de7d69a8e', class: "project-item-status" }, h("slot", { key: '17390000c0f4f0652d2faa1b6d05596c1b089bc9', name: "status" })))));
5
5
  }
6
6
  static get is() { return "dso-project-item"; }
7
7
  static get encapsulation() { return "shadow"; }
@@ -53,7 +53,7 @@ export class ResponsiveElement {
53
53
  this.observer.unobserve(this.host);
54
54
  }
55
55
  render() {
56
- return (h(Host, { key: '0e46330d5c565d1935350d23614c75bdb72f9607', small: this.sizeAlias === "small", medium: this.sizeAlias === "medium", large: this.sizeAlias === "large" }, h("slot", { key: 'b6c1d67077a565d82dc058eb3c29c0fc75e5ec86' })));
56
+ return (h(Host, { key: 'c3f560fe8005a7254af1233ab6256e185110b071', small: this.sizeAlias === "small", medium: this.sizeAlias === "medium", large: this.sizeAlias === "large" }, h("slot", { key: 'bd879977929bba4e895b87b2d9be05157f9504fb' })));
57
57
  }
58
58
  static get is() { return "dso-responsive-element"; }
59
59
  static get encapsulation() { return "shadow"; }
@@ -1,6 +1,6 @@
1
1
  :host {
2
2
  display: block;
3
- block-size: 100%;
3
+ block-size: var(--_dso-scrollable-block-size, 100%);
4
4
  overflow-y: hidden;
5
5
  border-radius: var(--_dso-scrollable-border-radius, 0);
6
6
  }
@@ -106,9 +106,9 @@ export class Scrollable {
106
106
  this.slottedElements.forEach((element) => resizeObserver.unobserve(element));
107
107
  }
108
108
  render() {
109
- return (h("div", { key: 'ba20c551e9039dfaf75e22f3aa2a0c830fc37190', ref: (el) => (this.shadowContainerDiv = el), class: "dso-shadow-container" }, h("div", { key: '7740920d51a271d395c5f1ef27edff8eb0bc24ed', ref: (el) => (this.scrollContainerDiv = el), class: clsx("dso-scroll-container", {
109
+ return (h("div", { key: 'fe0d074d76f0bbc8e399dab11d01bef781d2511d', ref: (el) => (this.shadowContainerDiv = el), class: "dso-shadow-container" }, h("div", { key: 'd0d9b97dc5e1ba38d7f98c90514e19c24ab01be0', ref: (el) => (this.scrollContainerDiv = el), class: clsx("dso-scroll-container", {
110
110
  [`dso-scroll-${this.scrollPosition}`]: this.scrollPosition !== "noScroll",
111
- }), onScroll: () => this._setScrollState(), tabIndex: this._preventFocus ? -1 : undefined }, h("slot", { key: 'ecce8833067ef456a5d998cb387ef0cd40aff02a' }))));
111
+ }), onScroll: () => this._setScrollState(), tabIndex: this._preventFocus ? -1 : undefined }, h("slot", { key: '5129feeed00f3f9d1b92abe02fab75c3c3212d2a' }))));
112
112
  }
113
113
  static get is() { return "dso-scrollable"; }
114
114
  static get encapsulation() { return "shadow"; }
@@ -15,7 +15,7 @@ export class SegmentedButton {
15
15
  });
16
16
  }
17
17
  render() {
18
- return (h("div", { key: '24e855e55cf1feec27c4ea411d7d3ba05da2a732', class: "segmented-button", role: "radiogroup", "aria-label": this.label, "aria-required": this.required?.toString() }, this.options?.map((option) => {
18
+ return (h("div", { key: 'c0f33653af6edbd39c8cb8f5d58ef0888c462e6e', class: "segmented-button", role: "radiogroup", "aria-label": this.label, "aria-required": this.required?.toString() }, this.options?.map((option) => {
19
19
  return (h("label", null, h("input", { type: "radio", name: this.groupName, value: option.label, checked: this.activeOption === option, disabled: option.disabled, onClick: (event) => this.handleClick(option, event) }), h("span", { class: "segment-label" }, option.label)));
20
20
  })));
21
21
  }
@@ -51,7 +51,7 @@ export class Selectable {
51
51
  const describedBy = [hasInfo && this.infoFixed ? this.describedById : undefined, this.errormessage]
52
52
  .filter((value) => value !== undefined)
53
53
  .join(" ") || undefined;
54
- return (h(Fragment, { key: '254653ec27f9a20033a72604642a90ea729c6c0c' }, h("div", { key: '2dc879bcbf2248e6bc066875557aea42de9061fc', class: "dso-selectable-container" }, h("div", { key: '28cb0e8f7d3796e1e05eed52507c4e61843d9de4', class: "dso-selectable-input-wrapper" }, h("input", { key: '993aa2d0fc4a0900fd087ba501ac14b786f46aa7', type: this.type, id: this.getIdentifier(), value: this.value, name: this.name, "aria-invalid": this.invalid?.toString(), "aria-describedby": describedBy, "aria-labelledBy": this.labelledById, disabled: this.disabled, required: this.required, checked: this.checked, onChange: this.handleOnChange, ref: (el) => (this.input = el) }), !this.labelledById ? (h("label", { htmlFor: this.getIdentifier() }, h("slot", null))) : (h("label", null, h("slot", null)))), hasInfo && !this.infoFixed && (h("dso-info-button", { key: '94e7c65b13b69d60953843d5d419f9e648f358a7', active: this.infoActive, onDsoToggle: (e) => (this.infoActive = e.detail.active) }))), hasInfo && (h("dso-info", { key: 'ac9dac488d38956e91560ef24dc7c84333162acb', id: hasInfo && this.infoFixed ? this.describedById : undefined, fixed: this.infoFixed, active: this.infoActive, onDsoClose: () => (this.infoActive = false) }, h("div", { key: '9df52add67145506fbd4458cba070b02d7c3219c' }, h("slot", { key: '209dc3e4e986ac8544f0cf60378bb476aa015fee', name: "info" })))), h("slot", { key: 'c6c979b1939b4bcb819b99605a486a363b8b319f', name: "options" })));
54
+ return (h(Fragment, { key: '4fcfaccfc2f046747059a236b95e94fd0ff63eda' }, h("div", { key: 'b157a7b0666bff6a70c6f73c8f01e0f404be59a6', class: "dso-selectable-container" }, h("div", { key: '0ae8a012600400a2ad5613a40b5edc7ed2e3697b', class: "dso-selectable-input-wrapper" }, h("input", { key: '3766067fdbd363f009d8e468efa744cff7806125', type: this.type, id: this.getIdentifier(), value: this.value, name: this.name, "aria-invalid": this.invalid?.toString(), "aria-describedby": describedBy, "aria-labelledBy": this.labelledById, disabled: this.disabled, required: this.required, checked: this.checked, onChange: this.handleOnChange, ref: (el) => (this.input = el) }), !this.labelledById ? (h("label", { htmlFor: this.getIdentifier() }, h("slot", null))) : (h("label", null, h("slot", null)))), hasInfo && !this.infoFixed && (h("dso-info-button", { key: '372012b7f352dbbec302bd8b8eb8ba06f61afb3b', active: this.infoActive, onDsoToggle: (e) => (this.infoActive = e.detail.active) }))), hasInfo && (h("dso-info", { key: '9df3328a5f9e511ce3c3e47198f8962ad9fd8e5f', id: hasInfo && this.infoFixed ? this.describedById : undefined, fixed: this.infoFixed, active: this.infoActive, onDsoClose: () => (this.infoActive = false) }, h("div", { key: '669eeac1998e756335e46e571f09ed128b510b88' }, h("slot", { key: '7988c3530d3b595a0bd8e276c5880bf23c32f480', name: "info" })))), h("slot", { key: '03944fb01644124409295f56dc44e7753d9d34e8', name: "options" })));
55
55
  }
56
56
  componentDidRender() {
57
57
  if (this.input && typeof this.checked === "boolean" && this.input.checked !== this.checked) {
@@ -18,12 +18,12 @@ export class ShoppingCart {
18
18
  }
19
19
  renderToggle() {
20
20
  if (this.mode === "main") {
21
- return (h("button", { type: "button", class: "dso-secondary", onClick: (e) => this.dsoToggle.emit({ originalEvent: e }) }, h("span", null, "Sluiten"), h("dso-icon", { icon: "chevron-right" })));
21
+ return (h("button", { type: "button", class: "dso-secondary", onClick: (e) => this.dsoToggle.emit({ originalEvent: e }) }, h("span", null, "Sluiten"), h("dso-icon", { icon: "cross" })));
22
22
  }
23
23
  return (h("dso-icon-button", { icon: "chevron-left", variant: "secondary", label: "Openen", onDsoClick: (e) => this.dsoToggle.emit({ originalEvent: e.detail.originalEvent }) }));
24
24
  }
25
25
  render() {
26
- return (h("div", { key: '510bbaaf0168ead779506268e240db510052e825', class: "shopping-cart" }, h("div", { key: '122708dc74255a93a4b4a437bd769959cddffa36', class: "header" }, h("slot", { key: '24c9865d01ee9c8767628b4f75a9ea64e8b0ce71', name: "heading" }), this.toggleable && this.renderToggle()), h("div", { key: '70efc93e9dff173c67b9fa346845d5952d5b527c', class: "items" }, h("slot", { key: '68ffbb3f0e54539ddd3f38b2ea1ff40c2a41d351' }))));
26
+ return (h("div", { key: '4ab8903267d21c49bb0d6134967573769f86655b', class: "shopping-cart" }, h("div", { key: 'b5c1c1c6c74187ec67e912537cabe7fb6bcb1d52', class: "header" }, h("slot", { key: '5f71e3cc839eae5ade72d04c72d7cf1cfbd94163', name: "heading" }), this.toggleable && this.renderToggle()), h("div", { key: 'b18e6324a3272c4a8921b8038de70cde83b1902e', class: "items" }, h("slot", { key: 'd56ca548761f51438075baa04bdbafa02124013d' }))));
27
27
  }
28
28
  static get is() { return "dso-shopping-cart"; }
29
29
  static get encapsulation() { return "shadow"; }
@@ -8,7 +8,7 @@ export class Skiplink {
8
8
  return this.dsoSkiplinkClick.emit({ originalEvent: e, isModifiedEvent: isModifiedEvent(e) });
9
9
  }
10
10
  render() {
11
- return (h("a", { key: '93db542416f22441dae5abeea1e4cc61cc1a25fc', href: `#${this.to}`, onClick: (e) => this.clickEventHandler(e) }, this.label, h("dso-icon", { key: 'd453e74aaca80955621dc05b9ce4d326671f3ee9', icon: "chevron-right" })));
11
+ return (h("a", { key: '937587918b1d40741510860278da2c73edbe6735', href: `#${this.to}`, onClick: (e) => this.clickEventHandler(e) }, this.label, h("dso-icon", { key: 'd911e0a1de7cb3cc20bee05d84452c8261aac952', icon: "chevron-right" })));
12
12
  }
13
13
  static get is() { return "dso-skiplink"; }
14
14
  static get encapsulation() { return "shadow"; }
@@ -25,7 +25,7 @@ export class SlideToggle {
25
25
  this.hasVisibleLabel = this.host.querySelector("*") !== null;
26
26
  }
27
27
  render() {
28
- return (h(Fragment, { key: '59bd51c2cf2fef041a14d6f36429c9d1ef402d39' }, h("button", { key: 'a517dac5407f43c1b8f93dea3604a02cd038721d', id: this.identifier, role: "switch", class: "dso-slider", "aria-checked": "" + this.checked, disabled: this.disabled, onClick: (e) => this.handleSwitch(e), ...(this.accessibleLabel ? { "aria-label": this.accessibleLabel } : {}), ...(this.labelledbyId ? { "aria-labelledby": this.labelledbyId } : {}) }, h("svg", { key: '81f8037e082059f35a70b8367bbf20e441d9c41c', xmlns: "http://www.w3.org/2000/svg", width: "40", height: "20", viewBox: "0 0 40 20" }, h("g", { key: '7b7e4db0ad3ede2fd82d70d85af3b690b4ecbf43', fill: "none", "fill-rule": "evenodd" }, h("rect", { key: '913a4d226ac9827f15c5bd09ebff103fc6f74278', width: "40", height: "20", fill: "currentColor", rx: "10" }), h("circle", { key: 'fd624f981c43abf75ad39d0240d0760b998a5533', cy: "10", r: "8", fill: "currentColor" })))), this.hasVisibleLabel && (h("label", { key: '18f8fe97e1350930c9887e18be8b427950bd12b1', htmlFor: this.identifier }, h("slot", { key: '5b54701ae63cff1c985fe62ed1b5b15330d1aef7' })))));
28
+ return (h(Fragment, { key: '6c93206401ece72a6855cf221e2e736d6614f975' }, h("button", { key: '3ebe6f02a903409857700d514f4aca413821e105', id: this.identifier, role: "switch", class: "dso-slider", "aria-checked": "" + this.checked, disabled: this.disabled, onClick: (e) => this.handleSwitch(e), ...(this.accessibleLabel ? { "aria-label": this.accessibleLabel } : {}), ...(this.labelledbyId ? { "aria-labelledby": this.labelledbyId } : {}) }, h("svg", { key: 'cb80c67c5c73f236214a48e2139b02dc70b8ed16', xmlns: "http://www.w3.org/2000/svg", width: "40", height: "20", viewBox: "0 0 40 20" }, h("g", { key: '7621050d5e32efbb415fbc78a594877fe2761838', fill: "none", "fill-rule": "evenodd" }, h("rect", { key: 'fa4f3055cde0d553b427b021628119e5ab9e8419', width: "40", height: "20", fill: "currentColor", rx: "10" }), h("circle", { key: 'a0d084c0080b4bb442ea3201e1de59f883c04311', cy: "10", r: "8", fill: "currentColor" })))), this.hasVisibleLabel && (h("label", { key: '19d4e2fffb21b163a0096c59003c15928ebc3f79', htmlFor: this.identifier }, h("slot", { key: '258e0e30ac2d245e47ea939e4473733eeea98177' })))));
29
29
  }
30
30
  static get is() { return "dso-slide-toggle"; }
31
31
  static get encapsulation() { return "scoped"; }
@@ -18,10 +18,10 @@ export class SurveyRating {
18
18
  "Makkelijk",
19
19
  "Heel makkelijk",
20
20
  ];
21
- return (h("dso-panel", { key: '4026814077478126886d7c6dd3c91cff5c8987ca', emphasized: true, onDsoCloseClick: (e) => this.dsoClose.emit({ originalEvent: e }), role: "dialog", "aria-labelledby": "panel-heading" }, h("h2", { key: '8b0c40eb3de6cf3176b157ceb908956e2f9e4581', id: "panel-heading", slot: "heading" }, "Help ons met een onderzoek"), h("strong", { key: '9218e2fcbadb61436fa8080e448bf50abc56418d' }, "Hoe moeilijk of makkelijk was deze taak om uit te voeren?"), h("form", { key: 'e517ab50c84d3087bdc165c8aa12aea8acfdfd46', onSubmit: (e) => this.handleForm(e) }, h("div", { key: '5f80f7273cc6005a9b17ebf38dd1b037661a5585', class: "visual-rating-labels", "aria-hidden": "true" }, h("span", { key: '1bdbc022680fa6250205cfed9c69a19adb51ddf7' }, "Heel moeilijk"), h("span", { key: '94068a97aad6a541399f04bfacd51e33749cee1d' }, "Heel makkelijk")), h("div", { key: 'b2dceabfdb6e371437d40c209c0d990159f05c50', role: "radiogroup" }, ratings.map((rating, index) => {
21
+ return (h("dso-panel", { key: 'a1e6eea42d3a72e8e35d4321e2e08694bc9bd281', emphasized: true, onDsoCloseClick: (e) => this.dsoClose.emit({ originalEvent: e }), role: "dialog", "aria-labelledby": "panel-heading" }, h("h2", { key: '88bb1cebae164f7e2b49b4b2a0bd6c9cc73c5e1b', id: "panel-heading", slot: "heading" }, "Help ons met een onderzoek"), h("strong", { key: 'b08654c69e56c45cb9f63a78f78122210e5eab1a' }, "Hoe moeilijk of makkelijk was deze taak om uit te voeren?"), h("form", { key: 'f25990862da6afa7f424f1cce2e189cb44e8f27d', onSubmit: (e) => this.handleForm(e) }, h("div", { key: 'c199c41e390f142411a9716f2a731d8571099e1d', class: "visual-rating-labels", "aria-hidden": "true" }, h("span", { key: 'bccb906e701e942afc821ef44246c262a8d9a92b' }, "Heel moeilijk"), h("span", { key: '3c76e8c0df2fd4570506f4c4c42cf35b6cd4856f' }, "Heel makkelijk")), h("div", { key: '9e0ac271c8a8bf13e6e3ee27fc5531f8d9c544d7', role: "radiogroup" }, ratings.map((rating, index) => {
22
22
  const ratingNumber = index + 1;
23
23
  return (h(Fragment, null, h("label", { class: `survey-rating-${ratingNumber}` }, ratingNumber, h("span", { class: "sr-only" }, rating), h("input", { type: "radio", name: "rating", value: ratingNumber, checked: ratingNumber === this.rating, onChange: (e) => this.handleChange(e) }))));
24
- })), h("button", { key: '88524ec3c4bf1b9c059e838c8a761b7b59aca508', type: "submit", class: "dso-secondary" }, h("span", { key: '79b5f16daf9dbb2ebaa51f3644c3e41cc40e39e1' }, "Antwoord verzenden")))));
24
+ })), h("button", { key: 'cc40fc4662afb4ff4c55c87babcddf4f166ec8ef', type: "submit", class: "dso-secondary" }, h("span", { key: 'ef997bdf90814a3a898eba461f51455af6f96933' }, "Antwoord verzenden")))));
25
25
  }
26
26
  static get is() { return "dso-survey-rating"; }
27
27
  static get encapsulation() { return "shadow"; }
@@ -55,7 +55,7 @@ export class Table {
55
55
  render() {
56
56
  const caption = this.host.querySelector(":scope > table > caption")?.textContent?.trim();
57
57
  const dialogLabel = caption || "Uitvergrote tabel";
58
- return (h(Host, { key: 'd76a5956c072f15fc3154b585edce1114d5e8250', "is-responsive": this.isResponsive?.toString() }, this.modalActive && this.placeholderHeight && (h("div", { key: 'eb2079ad70db99de2dc1008b8a65a903a53a73e7', class: "dso-table-placeholder", style: { height: `${this.placeholderHeight}px` } })), this.modalActive ? (h("dso-modal", { modalTitle: caption ? dialogLabel : undefined, closable: true, returnFocus: false, onDsoClose: () => this.closeModal() }, !caption && (h("span", { slot: "body", class: "sr-only" }, dialogLabel)), h("div", { slot: "body", class: "dso-table-body" }, h("slot", null)))) : (h(Fragment, null, h("div", { class: "dso-table-utilities", hidden: !this.isResponsive && this.noModal }, this.isResponsive && (h("div", { class: "dso-responsive-message" }, h("span", null, "beweeg de tabel van links naar rechts"))), !this.noModal && h("slot", { name: "open-modal-button" })), h("div", { class: "dso-table-body" }, h("slot", null))))));
58
+ return (h(Host, { key: 'e6786aa6d8ceb5ee4acd32e95594d63c9224ced6', "is-responsive": this.isResponsive?.toString() }, this.modalActive && this.placeholderHeight && (h("div", { key: '95a2aaf4ee1ee09ee9db2e1443d1568e0ad3ab3b', class: "dso-table-placeholder", style: { height: `${this.placeholderHeight}px` } })), this.modalActive ? (h("dso-modal", { modalTitle: caption ? dialogLabel : undefined, closable: true, returnFocus: false, onDsoClose: () => this.closeModal() }, !caption && (h("span", { slot: "body", class: "sr-only" }, dialogLabel)), h("div", { slot: "body", class: "dso-table-body" }, h("slot", null)))) : (h(Fragment, null, h("div", { class: "dso-table-utilities", hidden: !this.isResponsive && this.noModal }, this.isResponsive && (h("div", { class: "dso-responsive-message" }, h("span", null, "beweeg de tabel van links naar rechts"))), !this.noModal && h("slot", { name: "open-modal-button" })), h("div", { class: "dso-table-body" }, h("slot", null))))));
59
59
  }
60
60
  openModal() {
61
61
  this.placeholderHeight = this.host.clientHeight;
@@ -60,7 +60,7 @@ export class Tabs {
60
60
  this.mutationObserver?.disconnect();
61
61
  }
62
62
  render() {
63
- return (h(Host, { key: '88c28ae388d2276dec5e4b8c92066a005604d5b5' }, h("div", { key: 'cee7d902fb455fadd0c4588cf5a6133466ec89ed', class: "tabs", role: "tablist", onKeyUp: this.keyUpHandler }, h("slot", { key: 'a9893f2c16e194318a589a379dbcd23b450bda17' })), h("div", { key: '66cfff257290a44c064fc4011f8101fc4ab0b918', role: "tabpanel", tabindex: "0" }, h("slot", { key: '52f5be68fcb6b98b5c8831e81522faa4733a3501', name: "panel" }))));
63
+ return (h(Host, { key: 'f9840526a41e0ce6bdd945e3f26a981dc4592cd8' }, h("div", { key: '8f1d74bde554f0dd2731dd9e607105c656e0f696', class: "tabs", role: "tablist", onKeyUp: this.keyUpHandler }, h("slot", { key: 'b0793d048219d61afefbbde716c7cb7128a8c1fe' })), h("div", { key: '6af0ed80dd887924bc59f746b689fa4dbeca23ab', role: "tabpanel", tabindex: "0" }, h("slot", { key: '1eacaa24eaac109889d5a564d7e6c038a51bc7e8', name: "panel" }))));
64
64
  }
65
65
  static get is() { return "dso-tabs"; }
66
66
  static get encapsulation() { return "shadow"; }
@@ -1,7 +1,7 @@
1
1
  import { Fragment, h } from "@stencil/core";
2
2
  export class TijdreisBanner {
3
3
  render() {
4
- return (h(Fragment, { key: '87e07ae60caceaede01cca3be68eabe3be3a4ff0' }, h("dso-icon", { key: 'be83bf9a6bbfb99f58e5cd9472ebdc6f548c1a12', icon: "clock-outline" }), h("slot", { key: '2c820079226fc53e34dc2adf0e32ac9d7e4baa23' }), h("slot", { key: '3bc1846d25fb9de12af41befcd5fdbf5ffa25795', name: "button" })));
4
+ return (h(Fragment, { key: 'fe3fa01cf2a99643bfccaf466a4dce6b27b96640' }, h("dso-icon", { key: 'c97456db8ec8be99be97bbb1299bd2acfea3b26a', icon: "clock-outline" }), h("slot", { key: '6f345b66c80ac2820e99a6fb8a9c24bffa55c182' }), h("slot", { key: 'cbd60483bb0de2ee56640e43776902557fa2359e', name: "button" })));
5
5
  }
6
6
  static get is() { return "dso-tijdreis-banner"; }
7
7
  static get encapsulation() { return "shadow"; }
@@ -170,7 +170,7 @@ export class TreeView {
170
170
  return false;
171
171
  }
172
172
  render() {
173
- return (h("div", { key: 'a09d39f8a02d8065d4d5580415937a2116db983e', id: "tree", class: "dso-tree", onKeyDown: (e) => this.keyDownListener(e), ref: (element) => (this.tree = element) }, h("ul", { key: '9727b74b4bf09dbbf4bfaf2fc4cb3a4114c33c45', role: "tree", "aria-label": "Objectenboom" }, this.collection?.map((item, index) => (h(DsoTreeItem, { owner: this, ancestors: [], item: item, index: index, level: 1, setSize: this.collection.length }))))));
173
+ return (h("div", { key: 'f2a3ebdc132ce89aa5ae288a1843c67a287c8a7e', id: "tree", class: "dso-tree", onKeyDown: (e) => this.keyDownListener(e), ref: (element) => (this.tree = element) }, h("ul", { key: '5c26ca0a616ab1dd0f4a4c9c89de12857e3b94aa', role: "tree", "aria-label": "Objectenboom" }, this.collection?.map((item, index) => (h(DsoTreeItem, { owner: this, ancestors: [], item: item, index: index, level: 1, setSize: this.collection.length }))))));
174
174
  }
175
175
  static get is() { return "dso-tree-view"; }
176
176
  static get encapsulation() { return "shadow"; }
@@ -164,9 +164,9 @@ export class ViewerGrid {
164
164
  }
165
165
  render() {
166
166
  const tabs = viewerGridTabs.filter((tab) => tab !== "document" || this.documentPanelOpen);
167
- return (h(Fragment, { key: '241814f9dbad84b61135c323a680969ef0a90107' }, h("slot", { key: '05ac775a8477d1d63e471c955c4077e9c8d1fb7d', name: "top-bar" }), h("div", { key: 'f9ee9a7b9d7d991926eb65c75cd32b927fd733b2', class: "viewer-grid-columns" }, this.tabView && (h("nav", { key: '253c852cc683c756e86547dcb28923174cde8e8f', class: "dso-navbar" }, h("ul", { key: '6f18d6f78938aebaa7e1b226407ac7d2dffbc1ed', class: "dso-nav dso-nav-sub" }, tabs.map((tab) => (h("li", { key: tab, class: clsx({ "dso-active": this.activeTab === tab }) }, h("button", { type: "button", class: "dso-tertiary", "aria-current": this.activeTab === tab ? "page" : undefined, onClick: () => this.switchActiveTab(tab) }, viewerGridTabLabelMap[tab]))))))), (!this.tabView || (this.tabView && this.activeTab === "search") || this.print) && (h(MainPanel, { key: 'a6f56d5185291153aee1d77ced57ab4706a44aa5', tabView: this.tabView, mainSize: this.mainSize, documentPanelOpen: this.documentPanelOpen, mainPanelExpanded: this.mainPanelExpanded, mainPanelHidden: this.tabView ? false : this.mainPanelHidden, toggleMainPanel: this.toggleMainPanel, dsoMainSizeChangeAnimationEnd: this.dsoMainSizeChangeAnimationEnd, printFilterPanel: !this.tabView && this.filterPanelOpen && this.print ? this.renderFilterPanel() : undefined })), (!this.tabView || (this.tabView && this.activeTab === "search")) && !this.print && this.renderFilterPanel(), (!this.tabView || (this.tabView && this.activeTab === "map") || this.print) && (h("div", { key: '95861f26a452ef5af113741066b79074bc860963', class: "map-area" }, h("div", { key: '1f383040d374cb0bae3f63ab790119c7ae148fb1', class: "map", ref: (element) => (this.mapElement = element) }, h("slot", { key: '0ec12d6753bc7ee9c406e9c97ed4d244cbc6ee1e', name: "map" })), h("slot", { key: 'a570139935c98f65a464ae624702bcae1f2eda19', name: "legend" }))), ((!this.tabView && this.documentPanelOpen) ||
167
+ return (h(Fragment, { key: 'c85d4274d1a9aba5a285d833f52fb0ad68911b25' }, h("slot", { key: 'c5a356770b7f516d71374c03068dd1f3f9065f33', name: "top-bar" }), h("div", { key: 'a5cee3ba2b72f2d0f5cea52cbc7223f060f2dd28', class: "viewer-grid-columns" }, this.tabView && (h("nav", { key: '3b31f7dc2e64f3627b57dc311ff0ca0734aab160', class: "dso-navbar" }, h("ul", { key: '8b1ba2ea7e594cee26eef1f9a7a49507b8a2bbc2', class: "dso-nav dso-nav-sub" }, tabs.map((tab) => (h("li", { key: tab, class: clsx({ "dso-active": this.activeTab === tab }) }, h("button", { type: "button", class: "dso-tertiary", "aria-current": this.activeTab === tab ? "page" : undefined, onClick: () => this.switchActiveTab(tab) }, viewerGridTabLabelMap[tab]))))))), (!this.tabView || (this.tabView && this.activeTab === "search") || this.print) && (h(MainPanel, { key: '44a5bec90b78114a2893e16f64e14c71a9fb6887', tabView: this.tabView, mainSize: this.mainSize, documentPanelOpen: this.documentPanelOpen, mainPanelExpanded: this.mainPanelExpanded, mainPanelHidden: this.tabView ? false : this.mainPanelHidden, toggleMainPanel: this.toggleMainPanel, dsoMainSizeChangeAnimationEnd: this.dsoMainSizeChangeAnimationEnd, printFilterPanel: !this.tabView && this.filterPanelOpen && this.print ? this.renderFilterPanel() : undefined })), (!this.tabView || (this.tabView && this.activeTab === "search")) && !this.print && this.renderFilterPanel(), (!this.tabView || (this.tabView && this.activeTab === "map") || this.print) && (h("div", { key: '098f18a60f5d25015756f7c989eb03dd61313b9b', class: "map-area" }, h("div", { key: 'e18af6341c8743e3876dddbdb92cf697df2eec2e', class: "map", ref: (element) => (this.mapElement = element) }, h("slot", { key: 'd1815a24fe67a4a6ea81954743aac35fb6dc8ec2', name: "map" })), h("slot", { key: '85d63cc24dbfe96834e0dbca45afe28086f65cd4', name: "legend" }))), ((!this.tabView && this.documentPanelOpen) ||
168
168
  (this.tabView && this.activeTab === "document" && this.documentPanelOpen) ||
169
- this.print) && (h(DocumentPanel, { key: '38a389210e514b872a2a7317c052098b34cdb761', tabView: this.tabView, panelSize: this.documentPanelSize, shrinkDocumentPanel: this.shrinkDocumentPanel, expandDocumentPanel: this.expandDocumentPanel, dsoDocumentPanelSizeChangeAnimationEnd: this.dsoDocumentPanelSizeChangeAnimationEnd })), h(Overlay, { key: '5e2ebc240274688c73aa9d0bbfc3bc15d02537e8', ref: (element) => (this.overlay = element), dsoCloseOverlay: (e) => this.dsoCloseOverlay.emit({ originalEvent: e }) }))));
169
+ this.print) && (h(DocumentPanel, { key: '0aef1d3dc9ce5bedd453cf28e31abbbece9bd64b', tabView: this.tabView, panelSize: this.documentPanelSize, shrinkDocumentPanel: this.shrinkDocumentPanel, expandDocumentPanel: this.expandDocumentPanel, dsoDocumentPanelSizeChangeAnimationEnd: this.dsoDocumentPanelSizeChangeAnimationEnd })), h(Overlay, { key: '9f483f77a593bce5a4cc543f2c18e3825eaee6f9', ref: (element) => (this.overlay = element), dsoCloseOverlay: (e) => this.dsoCloseOverlay.emit({ originalEvent: e }) }))));
170
170
  }
171
171
  static get is() { return "dso-viewer-grid"; }
172
172
  static get encapsulation() { return "shadow"; }
@@ -1 +1 @@
1
- import{proxyCustomElement as o,HTMLElement as r,createEvent as t,h as n,transformTag as e}from"@stencil/core/internal/client";import{c as i}from"./clsx.js";import{i as d}from"./i18n.js";import{d as c}from"./icon.js";import{d as a}from"./icon-button.js";const s={en:{"dso-alert":{close:"Close",success:"Success",info:"Notice",warning:"Warning",error:"Error"}},nl:{"dso-alert":{close:"Sluiten",success:"Gelukt",info:"Opmerking",warning:"Waarschuwing",error:"Fout"}}},l=o(class extends r{constructor(o){super(),!1!==o&&this.__registerHost(),this.__attachShadow(),this.dsoClose=t(this,"dsoClose",7),this.closable=!1,this.text=d((()=>this.host),s)}render(){const o=this.text(this.status);if(!o)throw new Error(`Invalid status ${this.status}`);return n("div",{key:"380c0b63895dd09da7dd26fa0df808e06b29b124",class:i("alert",`alert-${this.status}`,{"dso-compact":this.compact}),role:this.roleAlert?"alert":void 0},!this.compact&&n("dso-icon",{key:"cfae1f66964060d7cd813113332879babdf96375",class:"icon-status",icon:`status-${"info"===this.status?"info-solid":this.status}`,"aria-hidden":"true"}),n("span",{key:"de9706e5a1644fd0bf28a8b8e3519e59c24099b8",class:"sr-only"},o,":"),n("slot",{key:"c9e44c74c5759ede5fb50f482c922a3758ab917f"}),this.closable&&n("dso-icon-button",{key:"8925c33d756c03fa2df660ec5a2949f45e0ae96c",label:this.text("close"),variant:"tertiary",icon:"cross",onDsoClick:o=>this.dsoClose.emit({originalEvent:o})}))}get host(){return this}static get style(){return'*,*::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)}:host{display:block}:host(:not(:first-child)){margin-block-start:24px}.alert{line-height:1.5;margin-block-end:var(--_dso-alert-margin-block-end, 1.5rem);min-block-size:56px;position:relative;border:1px solid transparent}@media screen and (min-width: 481px){.alert{padding-block:15px;padding-inline:54px 39px}.alert.dso-compact{padding-block:7px;padding-inline:15px 39px}}@media screen and (max-width: 480px){.alert{padding-block:54px 15px;padding-inline:15px}.alert.dso-compact{padding-block:7px;padding-inline:15px}}.alert dso-icon-button{position:absolute;inset-block-start:7px;inset-inline-end:7px}.alert.dso-compact{border-end-end-radius:8px;border-start-end-radius:8px;margin-inline-start:8px;min-block-size:16px}.alert.dso-compact::before{content:"";position:absolute;inset-block-start:-1px;inset-block-end:-1px;inset-inline-start:-9px;border-start-start-radius:8px;border-end-start-radius:8px;inline-size:8px}.alert.alert-error{--_dso-link-color:currentColor;--_dso-link-hover-color:currentColor;--_dso-link-visited-color:currentColor;--_dso-link-download-icon:var(--_dso-di-download-zwart);--_dso-link-extern-icon:var(--_dso-di-external-link-zwart);--_dso-link-phone-icon:var(--_dso-di-call-zwart);--_dso-link-mail-icon:var(--_dso-di-mail-outline-zwart);--_dso-link-list-chevron-icon:var(--_dso-di-chevron-right-zwart);--_dso-icon-button-secondary-active-color:#fff;--_dso-icon-button-secondary-active-background-color:#1f472c;--_dso-icon-button-secondary-toggled-color:#fff;--_dso-icon-button-secondary-toggled-background-color:#275937;--_dso-icon-button-secondary-toggled-hover-background-color:#1b3e27;--_dso-icon-button-tertiary-color:#191919;--_dso-icon-button-tertiary-hover-color:#4c4c4c;--_dso-icon-button-tertiary-active-color:#1f472c;--_dso-icon-button-tertiary-toggled-color:#275937;--_dso-icon-button-tertiary-toggled-hover-color:#1b3e27;--_dso-icon-button-tertiary-disabled-color:#999;--_dso-button-tertiary-download-icon:var(--_dso-di-download-zwart);--_dso-button-tertiary-external-link-icon:var(--_dso-di-external-link-zwart);--_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;border-color:var(--_dso-alert-error-border-color, #f5d8dc)}.alert.alert-error.dso-compact::before{background-color:#ce3f51}.alert.alert-info{--_dso-link-color:currentColor;--_dso-link-hover-color:currentColor;--_dso-link-visited-color:currentColor;--_dso-link-download-icon:var(--_dso-di-download-zwart);--_dso-link-extern-icon:var(--_dso-di-external-link-zwart);--_dso-link-phone-icon:var(--_dso-di-call-zwart);--_dso-link-mail-icon:var(--_dso-di-mail-outline-zwart);--_dso-link-list-chevron-icon:var(--_dso-di-chevron-right-zwart);--_dso-icon-button-secondary-active-color:#fff;--_dso-icon-button-secondary-active-background-color:#1f472c;--_dso-icon-button-secondary-toggled-color:#fff;--_dso-icon-button-secondary-toggled-background-color:#275937;--_dso-icon-button-secondary-toggled-hover-background-color:#1b3e27;--_dso-icon-button-tertiary-color:#191919;--_dso-icon-button-tertiary-hover-color:#4c4c4c;--_dso-icon-button-tertiary-active-color:#1f472c;--_dso-icon-button-tertiary-toggled-color:#275937;--_dso-icon-button-tertiary-toggled-hover-color:#1b3e27;--_dso-icon-button-tertiary-disabled-color:#999;--_dso-button-tertiary-download-icon:var(--_dso-di-download-zwart);--_dso-button-tertiary-external-link-icon:var(--_dso-di-external-link-zwart);--_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-color:var(--_dso-alert-info-border-color, #e1ecf7)}.alert.alert-info.dso-compact::before{background-color:#6ca4d9}.alert.alert-success{--_dso-link-color:currentColor;--_dso-link-hover-color:currentColor;--_dso-link-visited-color:currentColor;--_dso-link-download-icon:var(--_dso-di-download-zwart);--_dso-link-extern-icon:var(--_dso-di-external-link-zwart);--_dso-link-phone-icon:var(--_dso-di-call-zwart);--_dso-link-mail-icon:var(--_dso-di-mail-outline-zwart);--_dso-link-list-chevron-icon:var(--_dso-di-chevron-right-zwart);--_dso-icon-button-secondary-active-color:#fff;--_dso-icon-button-secondary-active-background-color:#1f472c;--_dso-icon-button-secondary-toggled-color:#fff;--_dso-icon-button-secondary-toggled-background-color:#275937;--_dso-icon-button-secondary-toggled-hover-background-color:#1b3e27;--_dso-icon-button-tertiary-color:#191919;--_dso-icon-button-tertiary-hover-color:#4c4c4c;--_dso-icon-button-tertiary-active-color:#1f472c;--_dso-icon-button-tertiary-toggled-color:#275937;--_dso-icon-button-tertiary-toggled-hover-color:#1b3e27;--_dso-icon-button-tertiary-disabled-color:#999;--_dso-button-tertiary-download-icon:var(--_dso-di-download-zwart);--_dso-button-tertiary-external-link-icon:var(--_dso-di-external-link-zwart);--_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;border-color:var(--_dso-alert-success-border-color, #e4f1d4)}.alert.alert-success.dso-compact::before{background-color:#39870c}.alert.alert-warning{--_dso-link-color:currentColor;--_dso-link-hover-color:currentColor;--_dso-link-visited-color:currentColor;--_dso-link-download-icon:var(--_dso-di-download-zwart);--_dso-link-extern-icon:var(--_dso-di-external-link-zwart);--_dso-link-phone-icon:var(--_dso-di-call-zwart);--_dso-link-mail-icon:var(--_dso-di-mail-outline-zwart);--_dso-link-list-chevron-icon:var(--_dso-di-chevron-right-zwart);--_dso-icon-button-secondary-active-color:#fff;--_dso-icon-button-secondary-active-background-color:#1f472c;--_dso-icon-button-secondary-toggled-color:#fff;--_dso-icon-button-secondary-toggled-background-color:#275937;--_dso-icon-button-secondary-toggled-hover-background-color:#1b3e27;--_dso-icon-button-tertiary-color:#191919;--_dso-icon-button-tertiary-hover-color:#4c4c4c;--_dso-icon-button-tertiary-active-color:#1f472c;--_dso-icon-button-tertiary-toggled-color:#275937;--_dso-icon-button-tertiary-toggled-hover-color:#1b3e27;--_dso-icon-button-tertiary-disabled-color:#999;--_dso-button-tertiary-download-icon:var(--_dso-di-download-zwart);--_dso-button-tertiary-external-link-icon:var(--_dso-di-external-link-zwart);--_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:#f8f6cc;color:#191919;border-color:var(--_dso-alert-warning-border-color, #f8f6cc)}.alert.alert-warning.dso-compact::before{background-color:#dcd400}.icon-status{inset-block-start:15px;inset-inline-start:15px;position:absolute}::slotted(.dso-rich-content){--_dso-rich-content-margin-block-end:0;--_dso-rich-content-margin-block-start:0;--_dso-button-primary-color:#000;--_dso-button-primary-background-color:rgba(25, 25, 25, 0.05);--_dso-button-primary-border-color:rgba(25, 25, 25, 0.05);--_dso-button-primary-hover-color:#000;--_dso-button-primary-hover-background-color:rgba(25, 25, 25, 0.2);--_dso-button-primary-hover-border-color:rgba(25, 25, 25, 0.2);--_dso-button-primary-active-color:#000;--_dso-button-primary-active-background-color:rgba(25, 25, 25, 0.2);--_dso-button-primary-active-border-color:rgba(25, 25, 25, 0.2);--_dso-heading-base-color:#000;--_dso-heading-h2-color:#000;--_dso-heading-h3-color:#000;--_dso-heading-h4-color:#000;--_dso-heading-h5-color:#000;--_dso-heading-h1-font-size-xs:1em;--_dso-heading-h1-font-size:1em;--_dso-heading-h2-font-size-xs:1em;--_dso-heading-h2-font-size:1em;--_dso-heading-h3-font-size-xs:1em;--_dso-heading-h3-font-size:1em;--_dso-heading-h4-font-size:1em;--_dso-heading-h5-font-size:1em;--_dso-heading-h6-font-size:1em;--_dso-heading-h1-line-height:1.5;--_dso-heading-h2-line-height:1.5;--_dso-heading-h3-line-height:1.5;--_dso-heading-h4-line-height:1.5;--_dso-heading-h5-line-height:1.5;--_dso-heading-h6-line-height:1.5;--_dso-heading-margin-large-margin-block-end:8px;--_dso-heading-margin-large-margin-block-start:8px;--_dso-heading-margin-small-margin-block-end:8px;--_dso-heading-margin-small-margin-block-start:8px}'}},[257,"dso-alert",{status:[513],roleAlert:[4,"role-alert"],compact:[516],closable:[4]}]);function b(){"undefined"!=typeof customElements&&["dso-alert","dso-icon","dso-icon-button"].forEach((o=>{switch(o){case"dso-alert":customElements.get(e(o))||customElements.define(e(o),l);break;case"dso-icon":customElements.get(e(o))||c();break;case"dso-icon-button":customElements.get(e(o))||a()}}))}export{l as A,b as d}
1
+ import{proxyCustomElement as o,HTMLElement as r,createEvent as t,h as n,Fragment as e,transformTag as i}from"@stencil/core/internal/client";import{c as d}from"./clsx.js";import{i as c}from"./i18n.js";import{d as a}from"./icon.js";import{d as s}from"./icon-button.js";const l={en:{"dso-alert":{close:"Close",success:"Success",info:"Notice",warning:"Warning",error:"Error"}},nl:{"dso-alert":{close:"Sluiten",success:"Gelukt",info:"Opmerking",warning:"Waarschuwing",error:"Fout"}}},b=o(class extends r{constructor(o){super(),!1!==o&&this.__registerHost(),this.__attachShadow(),this.dsoClose=t(this,"dsoClose",7),this.closable=!1,this.text=c((()=>this.host),l)}render(){const o=["success","info","warning","error"].includes(this.status);return o||console.warn(`Invalid status ${this.status}`),n("div",{key:"2f3804fc5cb8af7bb475beb0c1180167e12f0a29",class:d("alert",{[`alert-${this.status}`]:o},{"dso-compact":this.compact}),role:this.roleAlert?"alert":void 0},o&&n(e,null,!this.compact&&n("dso-icon",{key:"5157d1a6105065c9480eee40949f747d825b6963",class:"icon-status",icon:`status-${"info"===this.status?"info-solid":this.status}`,"aria-hidden":"true"}),n("span",{key:"4f0e4edba075e4973828b013e1268d2bebbd2779",class:"sr-only"},this.text(this.status),":")),n("slot",{key:"05793df0001cb3066913c67b1f1873a19e0cd805"}),this.closable&&n("dso-icon-button",{key:"c662d10b9bcbd003dd3bd19d878c25224a6ef795",label:this.text("close"),variant:"tertiary",icon:"cross",onDsoClick:o=>this.dsoClose.emit({originalEvent:o})}))}get host(){return this}static get style(){return'*,*::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)}:host{display:block}:host(:not(:first-child)){margin-block-start:24px}.alert{line-height:1.5;margin-block-end:var(--_dso-alert-margin-block-end, 1.5rem);min-block-size:56px;position:relative;border:1px solid transparent}@media screen and (min-width: 481px){.alert{padding-block:15px;padding-inline:54px 39px}.alert.dso-compact{padding-block:7px;padding-inline:15px 39px}}@media screen and (max-width: 480px){.alert{padding-block:54px 15px;padding-inline:15px}.alert.dso-compact{padding-block:7px;padding-inline:15px}}.alert dso-icon-button{position:absolute;inset-block-start:7px;inset-inline-end:7px}.alert.dso-compact{border-end-end-radius:8px;border-start-end-radius:8px;margin-inline-start:8px;min-block-size:16px}.alert.dso-compact::before{content:"";position:absolute;inset-block-start:-1px;inset-block-end:-1px;inset-inline-start:-9px;border-start-start-radius:8px;border-end-start-radius:8px;inline-size:8px}.alert.alert-error{--_dso-link-color:currentColor;--_dso-link-hover-color:currentColor;--_dso-link-visited-color:currentColor;--_dso-link-download-icon:var(--_dso-di-download-zwart);--_dso-link-extern-icon:var(--_dso-di-external-link-zwart);--_dso-link-phone-icon:var(--_dso-di-call-zwart);--_dso-link-mail-icon:var(--_dso-di-mail-outline-zwart);--_dso-link-list-chevron-icon:var(--_dso-di-chevron-right-zwart);--_dso-icon-button-secondary-active-color:#fff;--_dso-icon-button-secondary-active-background-color:#1f472c;--_dso-icon-button-secondary-toggled-color:#fff;--_dso-icon-button-secondary-toggled-background-color:#275937;--_dso-icon-button-secondary-toggled-hover-background-color:#1b3e27;--_dso-icon-button-tertiary-color:#191919;--_dso-icon-button-tertiary-hover-color:#4c4c4c;--_dso-icon-button-tertiary-active-color:#1f472c;--_dso-icon-button-tertiary-toggled-color:#275937;--_dso-icon-button-tertiary-toggled-hover-color:#1b3e27;--_dso-icon-button-tertiary-disabled-color:#999;--_dso-button-tertiary-download-icon:var(--_dso-di-download-zwart);--_dso-button-tertiary-external-link-icon:var(--_dso-di-external-link-zwart);--_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;border-color:var(--_dso-alert-error-border-color, #f5d8dc)}.alert.alert-error.dso-compact::before{background-color:#ce3f51}.alert.alert-info{--_dso-link-color:currentColor;--_dso-link-hover-color:currentColor;--_dso-link-visited-color:currentColor;--_dso-link-download-icon:var(--_dso-di-download-zwart);--_dso-link-extern-icon:var(--_dso-di-external-link-zwart);--_dso-link-phone-icon:var(--_dso-di-call-zwart);--_dso-link-mail-icon:var(--_dso-di-mail-outline-zwart);--_dso-link-list-chevron-icon:var(--_dso-di-chevron-right-zwart);--_dso-icon-button-secondary-active-color:#fff;--_dso-icon-button-secondary-active-background-color:#1f472c;--_dso-icon-button-secondary-toggled-color:#fff;--_dso-icon-button-secondary-toggled-background-color:#275937;--_dso-icon-button-secondary-toggled-hover-background-color:#1b3e27;--_dso-icon-button-tertiary-color:#191919;--_dso-icon-button-tertiary-hover-color:#4c4c4c;--_dso-icon-button-tertiary-active-color:#1f472c;--_dso-icon-button-tertiary-toggled-color:#275937;--_dso-icon-button-tertiary-toggled-hover-color:#1b3e27;--_dso-icon-button-tertiary-disabled-color:#999;--_dso-button-tertiary-download-icon:var(--_dso-di-download-zwart);--_dso-button-tertiary-external-link-icon:var(--_dso-di-external-link-zwart);--_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-color:var(--_dso-alert-info-border-color, #e1ecf7)}.alert.alert-info.dso-compact::before{background-color:#6ca4d9}.alert.alert-success{--_dso-link-color:currentColor;--_dso-link-hover-color:currentColor;--_dso-link-visited-color:currentColor;--_dso-link-download-icon:var(--_dso-di-download-zwart);--_dso-link-extern-icon:var(--_dso-di-external-link-zwart);--_dso-link-phone-icon:var(--_dso-di-call-zwart);--_dso-link-mail-icon:var(--_dso-di-mail-outline-zwart);--_dso-link-list-chevron-icon:var(--_dso-di-chevron-right-zwart);--_dso-icon-button-secondary-active-color:#fff;--_dso-icon-button-secondary-active-background-color:#1f472c;--_dso-icon-button-secondary-toggled-color:#fff;--_dso-icon-button-secondary-toggled-background-color:#275937;--_dso-icon-button-secondary-toggled-hover-background-color:#1b3e27;--_dso-icon-button-tertiary-color:#191919;--_dso-icon-button-tertiary-hover-color:#4c4c4c;--_dso-icon-button-tertiary-active-color:#1f472c;--_dso-icon-button-tertiary-toggled-color:#275937;--_dso-icon-button-tertiary-toggled-hover-color:#1b3e27;--_dso-icon-button-tertiary-disabled-color:#999;--_dso-button-tertiary-download-icon:var(--_dso-di-download-zwart);--_dso-button-tertiary-external-link-icon:var(--_dso-di-external-link-zwart);--_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;border-color:var(--_dso-alert-success-border-color, #e4f1d4)}.alert.alert-success.dso-compact::before{background-color:#39870c}.alert.alert-warning{--_dso-link-color:currentColor;--_dso-link-hover-color:currentColor;--_dso-link-visited-color:currentColor;--_dso-link-download-icon:var(--_dso-di-download-zwart);--_dso-link-extern-icon:var(--_dso-di-external-link-zwart);--_dso-link-phone-icon:var(--_dso-di-call-zwart);--_dso-link-mail-icon:var(--_dso-di-mail-outline-zwart);--_dso-link-list-chevron-icon:var(--_dso-di-chevron-right-zwart);--_dso-icon-button-secondary-active-color:#fff;--_dso-icon-button-secondary-active-background-color:#1f472c;--_dso-icon-button-secondary-toggled-color:#fff;--_dso-icon-button-secondary-toggled-background-color:#275937;--_dso-icon-button-secondary-toggled-hover-background-color:#1b3e27;--_dso-icon-button-tertiary-color:#191919;--_dso-icon-button-tertiary-hover-color:#4c4c4c;--_dso-icon-button-tertiary-active-color:#1f472c;--_dso-icon-button-tertiary-toggled-color:#275937;--_dso-icon-button-tertiary-toggled-hover-color:#1b3e27;--_dso-icon-button-tertiary-disabled-color:#999;--_dso-button-tertiary-download-icon:var(--_dso-di-download-zwart);--_dso-button-tertiary-external-link-icon:var(--_dso-di-external-link-zwart);--_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:#f8f6cc;color:#191919;border-color:var(--_dso-alert-warning-border-color, #f8f6cc)}.alert.alert-warning.dso-compact::before{background-color:#dcd400}.icon-status{inset-block-start:15px;inset-inline-start:15px;position:absolute}::slotted(.dso-rich-content){--_dso-rich-content-margin-block-end:0;--_dso-rich-content-margin-block-start:0;--_dso-button-primary-color:#000;--_dso-button-primary-background-color:rgba(25, 25, 25, 0.05);--_dso-button-primary-border-color:rgba(25, 25, 25, 0.05);--_dso-button-primary-hover-color:#000;--_dso-button-primary-hover-background-color:rgba(25, 25, 25, 0.2);--_dso-button-primary-hover-border-color:rgba(25, 25, 25, 0.2);--_dso-button-primary-active-color:#000;--_dso-button-primary-active-background-color:rgba(25, 25, 25, 0.2);--_dso-button-primary-active-border-color:rgba(25, 25, 25, 0.2);--_dso-heading-base-color:#000;--_dso-heading-h2-color:#000;--_dso-heading-h3-color:#000;--_dso-heading-h4-color:#000;--_dso-heading-h5-color:#000;--_dso-heading-h1-font-size-xs:1em;--_dso-heading-h1-font-size:1em;--_dso-heading-h2-font-size-xs:1em;--_dso-heading-h2-font-size:1em;--_dso-heading-h3-font-size-xs:1em;--_dso-heading-h3-font-size:1em;--_dso-heading-h4-font-size:1em;--_dso-heading-h5-font-size:1em;--_dso-heading-h6-font-size:1em;--_dso-heading-h1-line-height:1.5;--_dso-heading-h2-line-height:1.5;--_dso-heading-h3-line-height:1.5;--_dso-heading-h4-line-height:1.5;--_dso-heading-h5-line-height:1.5;--_dso-heading-h6-line-height:1.5;--_dso-heading-margin-large-margin-block-end:8px;--_dso-heading-margin-large-margin-block-start:8px;--_dso-heading-margin-small-margin-block-end:8px;--_dso-heading-margin-small-margin-block-start:8px}'}},[257,"dso-alert",{status:[513],roleAlert:[4,"role-alert"],compact:[516],closable:[4]}]);function _(){"undefined"!=typeof customElements&&["dso-alert","dso-icon","dso-icon-button"].forEach((o=>{switch(o){case"dso-alert":customElements.get(i(o))||customElements.define(i(o),b);break;case"dso-icon":customElements.get(i(o))||a();break;case"dso-icon-button":customElements.get(i(o))||s()}}))}export{b as A,_ as d}
@@ -1 +1 @@
1
- import{proxyCustomElement as o,HTMLElement as t,forceUpdate as r,h as e,Host as n,transformTag as s}from"@stencil/core/internal/client";import{a,c as i,o as d,f as l,d as c}from"./floating-ui.dom.js";import{c as b}from"./index2.js";import{d as p}from"./icon.js";import{d as f}from"./scrollable.js";import{v as u}from"./v4.js";const m=o(class extends t{constructor(o){super(),!1!==o&&this.__registerHost(),this.__attachShadow(),this.variant="secondary",this.open=!1,this.focusOutListener=o=>{!this.open||o.relatedTarget instanceof t||this.toggleOptions(!1)},this.keyDownHandler=o=>{if(o.target instanceof t&&!o.defaultPrevented&&this.open){switch(o.key){case"Tab":o.shiftKey?this.moveFocusToPrevious(o.target):this.moveFocusToNext(o.target);break;case"ArrowDown":this.moveFocusToNext(o.target,!1);break;case"ArrowUp":this.moveFocusToPrevious(o.target,!1);break;case"Escape":this.escape();break;default:return}o.preventDefault()}},this.escape=()=>{this.button?.focus(),this.toggleOptions(!1)};const{state:r}=b({checkable:!1});this.dropdownMenuState=r}get checkable(){return this.dropdownMenuState.checkable}set checkable(o){this.dropdownMenuState.checkable=o||!1,r(this.host)}dsoClickHandler(o){o.stopPropagation(),this.open&&o.target instanceof t&&this.toggleOptions(!1)}async _getState(){return this.dropdownMenuState}dropdownMenuTabbables(o){const t=this.host.isConnected?Array.from(this.host.querySelectorAll(":scope > dso-dropdown-menu-group > dso-dropdown-menu-item")):[];return o?[this.host,...t]:t}componentDidRender(){if(this.open&&this.button&&this.popoverElement&&!this.cleanUp){const o=this.popoverElement,t=this.button;let r=!0;const e=(t,r)=>{if(o.isConnected){if(this.pendingPopoverConstraints){const t=o.querySelector("dso-scrollable")??o;Object.assign(t.style,{maxHeight:this.pendingPopoverConstraints.availableHeight+"px",maxInlineSize:this.pendingPopoverConstraints.availableWidth+"px"})}Object.assign(o.style,{left:t+"px",top:r+"px"})}},n=a(t,o,(()=>{i(t,o,{strategy:"fixed",middleware:[d(2),l({padding:2}),c({apply:({availableHeight:o,availableWidth:t})=>{this.pendingPopoverConstraints={availableWidth:t,availableHeight:o}}})],placement:"bottom-start"}).then((({x:o,y:t})=>{if(r)return r=!1,void e(o,t);void 0!==this.popoverFrameId&&cancelAnimationFrame(this.popoverFrameId),this.popoverFrameId=requestAnimationFrame((()=>{this.popoverFrameId=void 0,e(o,t)}))}))}));this.cleanUp=()=>{void 0!==this.popoverFrameId&&(cancelAnimationFrame(this.popoverFrameId),this.popoverFrameId=void 0),n()}}}toggleOptions(o){this.open=o??!this.open,this.popoverElement?.isConnected&&this.popoverElement.togglePopover(this.open),this.open&&requestAnimationFrame((()=>this.moveFocusTo(this.firstItem(!1)))),!this.open&&this.cleanUp&&(this.cleanUp(),this.cleanUp=void 0)}disconnectedCallback(){this.toggleOptions(!1)}get lastItem(){return this.dropdownMenuTabbables(!0).at(-1)}firstItem(o){return this.dropdownMenuTabbables(o)[0]}moveFocusToPrevious(o,t=!0){const r=this.dropdownMenuTabbables(t).findIndex((t=>t===o)),e=this.dropdownMenuTabbables(t)[r-1]??this.lastItem;this.moveFocusTo(e)}moveFocusToNext(o,t=!0){const r=this.dropdownMenuTabbables(t).findIndex((t=>t===o)),e=this.dropdownMenuTabbables(t)[r+1]??this.firstItem(t);this.moveFocusTo(e)}moveFocusTo(o){o&&(o===this.host&&this.button?this.button.focus():"_dsoFocus"in o&&o._dsoFocus())}render(){const o=u();return e(n,{key:"d6eecca58b117e847ed5e2d6c4749ccf1cf45ade",onFocusout:this.focusOutListener,onKeyDown:this.keyDownHandler},this.label&&e("button",{key:"7bd4e3718dd56a7ed820fd7a0bff73299387bca0",id:o,class:"dso-"+this.variant,type:"button",onClick:()=>this.toggleOptions(),"aria-expanded":""+this.open,"aria-haspopup":"menu",ref:o=>this.button=o},this.label,e("dso-icon",{key:"f3db2d02fb532d0dce562de99447be5d2ba93111",icon:this.open?"chevron-up":"chevron-down"})),e("div",{key:"b599fc40124282b4afd1f78e346dd736717ece81",popover:"manual",class:"dso-dropdown-options","aria-labelledby":o,role:"menu",ref:o=>this.popoverElement=o},e("dso-scrollable",{key:"ab2517807d8a940ce8d4fae40f9d657b416724dc"},e("slot",{key:"746e632a7bf1e9e7d585dcf71660ef2944799db8"}))))}get host(){return this}static get style(){return":host(:focus) { outline: none; } :host { display: inline-block; } button { -webkit-appearance: button; color: inherit; cursor: pointer; font: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; line-height: inherit; margin: 0; overflow: visible; text-transform: none; } button[disabled] { cursor: default; } button::-moz-focus-inner { border: 0; padding: 0; } button.dso-primary { display: inline-block; font-size: 1em; font-weight: 500; margin-block-end: 0; text-decoration: none; touch-action: manipulation; text-align: var(--_dso-button-text-align, start); user-select: none; vertical-align: middle; background-clip: padding-box; } button.dso-primary:focus, button.dso-primary:focus-visible { outline-offset: 2px; } button.dso-primary:active { outline: 0; } button.dso-primary.extern::after, button.dso-primary.download::after { content: \"\"; display: inline-block; } button.dso-primary { background-color: var(--_dso-button-primary-background-color, #39870c); border-color: var(--_dso-button-primary-border-color, #39870c); color: var(--_dso-button-primary-color, #fff); float: var(--_dso-button-float-primary, none); border-width: 1px; border-style: solid; border-radius: 4px; line-height: 1.5; min-inline-size: 56px; inline-size: var(--_dso-button-inline-size, auto); padding-block: 11px; padding-inline: 15px; } button.dso-primary:hover { background-color: var(--_dso-button-primary-hover-background-color, #275937); border-color: var(--_dso-button-primary-hover-border-color, #275937); color: var(--_dso-button-primary-hover-color, #fff); float: var(--_dso-button-float-primary, none); } button.dso-primary:active { background-color: var(--_dso-button-primary-active-background-color, #173521); border-color: var(--_dso-button-primary-active-border-color, #173521); color: var(--_dso-button-primary-active-color, #fff); float: var(--_dso-button-float-primary, none); } button.dso-primary[disabled], button.dso-primary[disabled]:hover { background-color: var(--_dso-button-primary-disabled-background-color, #afcf9d); border-color: var(--_dso-button-primary-disabled-border-color, #afcf9d); color: var(--_dso-button-primary-disabled-color, #fff); float: var(--_dso-button-float-primary, none); } button.dso-primary.dso-small { line-height: 1rem; } button.dso-primary.dso-small dso-icon, button.dso-primary.dso-small.extern::after, button.dso-primary.dso-small.download::after, button.dso-primary.dso-small.dso-spinner::before { margin-block-end: -4px; margin-block-start: -4px; } button.dso-primary.dso-small.dso-spinner-left::before { block-size: 16px; inline-size: 16px; } button.dso-primary.dso-small.dso-spinner-right::after { block-size: 16px; inline-size: 16px; } button.dso-primary.dso-extra-small { line-height: 1rem; } button.dso-primary.dso-extra-small dso-icon, button.dso-primary.dso-extra-small.extern::after, button.dso-primary.dso-extra-small.download::after, button.dso-primary.dso-extra-small.dso-spinner::before { margin-block-end: -4px; margin-block-start: -4px; } button.dso-primary.dso-extra-small.dso-spinner-left::before { block-size: 16px; inline-size: 16px; } button.dso-primary.dso-extra-small.dso-spinner-right::after { block-size: 16px; inline-size: 16px; } button.dso-primary.dso-extra-small { padding-block: 9px; } button.dso-primary dso-icon:has(+ span:not(.sr-only)) { margin-inline-start: -8px; } button.dso-primary span:not(.sr-only) + dso-icon { margin-inline-start: 8px; margin-inline-end: -8px; } button.dso-primary dso-icon + span:not(.sr-only) { margin-inline-start: 8px; } button.dso-primary.dso-spinner-left[disabled], button.dso-primary.dso-spinner-right[disabled] { background-color: #39870c; border-color: #39870c; color: #fff; } button.dso-primary.dso-spinner-left::before { background-image: url(\"data:image/svg+xml,%3Csvg class='spinner' viewBox='0 0 24 24' 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: 42.4; stroke-dashoffset: 0; transform-origin: center; stroke: %23fff; animation: dash 2s ease-in-out infinite; %7D @keyframes dash %7B 0%25 %7B stroke-dashoffset: 42.4; %7D 50%25 %7B stroke-dashoffset: 10.4; transform:rotate(90deg); %7D 100%25 %7B stroke-dashoffset: 42.4; transform:rotate(360deg); %7D %3C/style%3E%3Ccircle class='path' fill='none' stroke-width='1.6' stroke-linecap='butt' cx='12' cy='12' r='7.2'%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; } button.dso-primary.dso-spinner-right::after { background-image: url(\"data:image/svg+xml,%3Csvg class='spinner' viewBox='0 0 24 24' 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: 42.4; stroke-dashoffset: 0; transform-origin: center; stroke: %23fff; animation: dash 2s ease-in-out infinite; %7D @keyframes dash %7B 0%25 %7B stroke-dashoffset: 42.4; %7D 50%25 %7B stroke-dashoffset: 10.4; transform:rotate(90deg); %7D 100%25 %7B stroke-dashoffset: 42.4; transform:rotate(360deg); %7D %3C/style%3E%3Ccircle class='path' fill='none' stroke-width='1.6' stroke-linecap='butt' cx='12' cy='12' r='7.2'%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; } button.dso-secondary { display: inline-block; font-size: 1em; font-weight: 500; margin-block-end: 0; text-decoration: none; touch-action: manipulation; text-align: var(--_dso-button-text-align, start); user-select: none; vertical-align: middle; background-clip: padding-box; } button.dso-secondary:focus, button.dso-secondary:focus-visible { outline-offset: 2px; } button.dso-secondary:active { outline: 0; } button.dso-secondary.extern::after, button.dso-secondary.download::after { content: \"\"; display: inline-block; } button.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); float: var(--_dso-button-float-secondary, none); border-width: 1px; border-style: solid; border-radius: 4px; line-height: 1.5; min-inline-size: 56px; inline-size: var(--_dso-button-inline-size, auto); padding-block: 11px; padding-inline: 15px; } button.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); float: var(--_dso-button-float-secondary, none); } button.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); float: var(--_dso-button-float-secondary, none); } button.dso-secondary[disabled], button.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); float: var(--_dso-button-float-secondary, none); } button.dso-secondary.dso-small { line-height: 1rem; } button.dso-secondary.dso-small dso-icon, button.dso-secondary.dso-small.extern::after, button.dso-secondary.dso-small.download::after, button.dso-secondary.dso-small.dso-spinner::before { margin-block-end: -4px; margin-block-start: -4px; } button.dso-secondary.dso-small.dso-spinner-left::before { block-size: 16px; inline-size: 16px; } button.dso-secondary.dso-small.dso-spinner-right::after { block-size: 16px; inline-size: 16px; } button.dso-secondary.dso-extra-small { line-height: 1rem; } button.dso-secondary.dso-extra-small dso-icon, button.dso-secondary.dso-extra-small.extern::after, button.dso-secondary.dso-extra-small.download::after, button.dso-secondary.dso-extra-small.dso-spinner::before { margin-block-end: -4px; margin-block-start: -4px; } button.dso-secondary.dso-extra-small.dso-spinner-left::before { block-size: 16px; inline-size: 16px; } button.dso-secondary.dso-extra-small.dso-spinner-right::after { block-size: 16px; inline-size: 16px; } button.dso-secondary.dso-extra-small { padding-block: 9px; } button.dso-secondary dso-icon:has(+ span:not(.sr-only)) { margin-inline-start: -8px; } button.dso-secondary span:not(.sr-only) + dso-icon { margin-inline-start: 8px; margin-inline-end: -8px; } button.dso-secondary dso-icon + span:not(.sr-only) { margin-inline-start: 8px; } button.dso-secondary.dso-spinner-left[disabled], button.dso-secondary.dso-spinner-right[disabled] { background-color: #fff; border-color: #39870c; color: #39870c; } button.dso-secondary.dso-spinner-left::before { background-image: url(\"data:image/svg+xml,%3Csvg class='spinner' viewBox='0 0 24 24' 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: 42.4; stroke-dashoffset: 0; transform-origin: center; stroke: %2339870c; animation: dash 2s ease-in-out infinite; %7D @keyframes dash %7B 0%25 %7B stroke-dashoffset: 42.4; %7D 50%25 %7B stroke-dashoffset: 10.4; transform:rotate(90deg); %7D 100%25 %7B stroke-dashoffset: 42.4; transform:rotate(360deg); %7D %3C/style%3E%3Ccircle class='path' fill='none' stroke-width='1.6' stroke-linecap='butt' cx='12' cy='12' r='7.2'%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; } button.dso-secondary.dso-spinner-left:not([disabled]):hover::before { background-image: url(\"data:image/svg+xml,%3Csvg class='spinner' viewBox='0 0 24 24' 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: 42.4; stroke-dashoffset: 0; transform-origin: center; stroke: %23fff; animation: dash 2s ease-in-out infinite; %7D @keyframes dash %7B 0%25 %7B stroke-dashoffset: 42.4; %7D 50%25 %7B stroke-dashoffset: 10.4; transform:rotate(90deg); %7D 100%25 %7B stroke-dashoffset: 42.4; transform:rotate(360deg); %7D %3C/style%3E%3Ccircle class='path' fill='none' stroke-width='1.6' stroke-linecap='butt' cx='12' cy='12' r='7.2'%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; } button.dso-secondary.dso-spinner-left:not([disabled]).dso-small:hover::before { block-size: 16px; inline-size: 16px; } button.dso-secondary.dso-spinner-right::after { background-image: url(\"data:image/svg+xml,%3Csvg class='spinner' viewBox='0 0 24 24' 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: 42.4; stroke-dashoffset: 0; transform-origin: center; stroke: %2339870c; animation: dash 2s ease-in-out infinite; %7D @keyframes dash %7B 0%25 %7B stroke-dashoffset: 42.4; %7D 50%25 %7B stroke-dashoffset: 10.4; transform:rotate(90deg); %7D 100%25 %7B stroke-dashoffset: 42.4; transform:rotate(360deg); %7D %3C/style%3E%3Ccircle class='path' fill='none' stroke-width='1.6' stroke-linecap='butt' cx='12' cy='12' r='7.2'%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; } button.dso-secondary.dso-spinner-right:not([disabled]):hover::after { background-image: url(\"data:image/svg+xml,%3Csvg class='spinner' viewBox='0 0 24 24' 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: 42.4; stroke-dashoffset: 0; transform-origin: center; stroke: %23fff; animation: dash 2s ease-in-out infinite; %7D @keyframes dash %7B 0%25 %7B stroke-dashoffset: 42.4; %7D 50%25 %7B stroke-dashoffset: 10.4; transform:rotate(90deg); %7D 100%25 %7B stroke-dashoffset: 42.4; transform:rotate(360deg); %7D %3C/style%3E%3Ccircle class='path' fill='none' stroke-width='1.6' stroke-linecap='butt' cx='12' cy='12' r='7.2'%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; } button.dso-secondary.dso-spinner-right:not([disabled]).dso-small:hover::after { block-size: 16px; inline-size: 16px; } button.dso-tertiary { display: inline-block; font-size: 1em; font-weight: 500; margin-block-end: 0; text-decoration: none; touch-action: manipulation; text-align: var(--_dso-button-text-align, start); user-select: none; vertical-align: middle; background-clip: padding-box; } button.dso-tertiary:focus, button.dso-tertiary:focus-visible { outline-offset: 2px; } button.dso-tertiary:active { outline: 0; } button.dso-tertiary.extern::after, button.dso-tertiary.download::after { content: \"\"; display: inline-block; } button.dso-tertiary { display: inline-block; font-size: 1em; font-weight: 500; margin-block-end: 0; text-decoration: none; touch-action: manipulation; text-align: var(--_dso-button-text-align, start); user-select: none; vertical-align: middle; background-clip: padding-box; } button.dso-tertiary:focus, button.dso-tertiary:focus-visible { outline-offset: 2px; } button.dso-tertiary:active { outline: 0; } button.dso-tertiary.extern::after, button.dso-tertiary.download::after { content: \"\"; display: inline-block; } button.dso-tertiary { background-color: var(--_dso-button-tertiary-background-color, ); border-color: var(--_dso-button-tertiary-border-color, ); color: var(--_dso-button-tertiary-color, #39870c); float: var(--_dso-button-float-tertiary, none); border-width: 1px; border-style: solid; border-radius: 4px; line-height: 1.5; min-inline-size: auto; inline-size: var(--_dso-button-inline-size, auto); padding-block: 11px; padding-inline: 15px; } button.dso-tertiary:hover { background-color: var(--_dso-button-tertiary-hover-background-color, ); border-color: var(--_dso-button-tertiary-hover-border-color, ); color: var(--_dso-button-tertiary-hover-color, #275937); float: var(--_dso-button-float-tertiary, none); } button.dso-tertiary:active { background-color: var(--_dso-button-tertiary-active-background-color, ); border-color: var(--_dso-button-tertiary-active-border-color, ); color: var(--_dso-button-tertiary-active-color, #173521); float: var(--_dso-button-float-tertiary, none); } button.dso-tertiary[disabled], button.dso-tertiary[disabled]:hover { background-color: var(--_dso-button-tertiary-disabled-background-color, ); border-color: var(--_dso-button-tertiary-disabled-border-color, ); color: var(--_dso-button-tertiary-disabled-color, #afcf9d); float: var(--_dso-button-float-tertiary, none); } button.dso-tertiary.dso-small { line-height: 1rem; } button.dso-tertiary.dso-small dso-icon, button.dso-tertiary.dso-small.extern::after, button.dso-tertiary.dso-small.download::after, button.dso-tertiary.dso-small.dso-spinner::before { margin-block-end: -4px; margin-block-start: -4px; } button.dso-tertiary.dso-small.dso-spinner-left::before { block-size: 16px; inline-size: 16px; } button.dso-tertiary.dso-small.dso-spinner-right::after { block-size: 16px; inline-size: 16px; } button.dso-tertiary.dso-extra-small { line-height: 1rem; } button.dso-tertiary.dso-extra-small dso-icon, button.dso-tertiary.dso-extra-small.extern::after, button.dso-tertiary.dso-extra-small.download::after, button.dso-tertiary.dso-extra-small.dso-spinner::before { margin-block-end: -4px; margin-block-start: -4px; } button.dso-tertiary.dso-extra-small.dso-spinner-left::before { block-size: 16px; inline-size: 16px; } button.dso-tertiary.dso-extra-small.dso-spinner-right::after { block-size: 16px; inline-size: 16px; } button.dso-tertiary.dso-extra-small { padding-block: 9px; } button.dso-tertiary { border: 0; line-height: 1; padding-inline: 0; padding-block: var(--_dso-button-padding-block-tertiary, 0); background-color: transparent; } button.dso-tertiary[disabled].dso-spinner-left, button.dso-tertiary[disabled].dso-spinner-right { color: #39870c; } button.dso-tertiary:not([disabled]):hover { text-decoration: underline; text-underline-position: under; } button.dso-tertiary.dso-align { line-height: calc(1.5em - 1px); padding-block: 11px; padding-inline: 0; position: relative; } button.dso-tertiary.dso-truncate { max-inline-size: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } button.dso-tertiary.dso-spinner-left::before { background-image: url(\"data:image/svg+xml,%3Csvg class='spinner' viewBox='0 0 24 24' 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: 42.4; stroke-dashoffset: 0; transform-origin: center; stroke: %2339870c; animation: dash 2s ease-in-out infinite; %7D @keyframes dash %7B 0%25 %7B stroke-dashoffset: 42.4; %7D 50%25 %7B stroke-dashoffset: 10.4; transform:rotate(90deg); %7D 100%25 %7B stroke-dashoffset: 42.4; transform:rotate(360deg); %7D %3C/style%3E%3Ccircle class='path' fill='none' stroke-width='1.6' stroke-linecap='butt' cx='12' cy='12' r='7.2'%3E%3C/circle%3E%3C/svg%3E\"); background-repeat: no-repeat; content: \"\"; display: inline-block; block-size: 24px; vertical-align: middle; inline-size: 24px; margin-inline-end: 8px; } button.dso-tertiary.dso-spinner-right::after { background-image: url(\"data:image/svg+xml,%3Csvg class='spinner' viewBox='0 0 24 24' 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: 42.4; stroke-dashoffset: 0; transform-origin: center; stroke: %2339870c; animation: dash 2s ease-in-out infinite; %7D @keyframes dash %7B 0%25 %7B stroke-dashoffset: 42.4; %7D 50%25 %7B stroke-dashoffset: 10.4; transform:rotate(90deg); %7D 100%25 %7B stroke-dashoffset: 42.4; transform:rotate(360deg); %7D %3C/style%3E%3Ccircle class='path' fill='none' stroke-width='1.6' stroke-linecap='butt' cx='12' cy='12' r='7.2'%3E%3C/circle%3E%3C/svg%3E\"); background-repeat: no-repeat; content: \"\"; display: inline-block; block-size: 24px; vertical-align: middle; inline-size: 24px; margin-inline-start: 8px; } button.dso-tertiary dso-icon + span:not(.sr-only), button.dso-tertiary span:not(.sr-only) + dso-icon { margin-inline-start: 4px; } button.dso-tertiary dso-icon, button.dso-tertiary span { vertical-align: middle; } button dso-icon { margin-inline-start: 8px; } button:not(.dso-tertiary) dso-icon { margin-inline-end: 0; } .dso-dropdown-options { box-sizing: border-box; margin: 0 !important; overflow: unset; background-clip: padding-box; background-color: #fff; border-radius: 4px; border: 1px solid rgba(0, 0, 0, 0.15); box-shadow: 0 8px 10px 1px rgba(0, 0, 0, 0.4); font-size: 1rem; min-inline-size: 160px; inline-size: max-content; padding: 0; z-index: 220; } ::slotted(dso-dropdown-menu-group:not(:last-child)) { border-block-end: 1px solid #e5e5e5; margin-block-end: 11px; padding-block-end: 11px; }"}},[257,"dso-dropdown-menu",{checkable:[6660],label:[513],variant:[513],open:[32],_getState:[64]},[[0,"dsoClick","dsoClickHandler"]]]),g=m,h=function(){"undefined"!=typeof customElements&&["dso-dropdown-menu","dso-icon","dso-scrollable"].forEach((o=>{switch(o){case"dso-dropdown-menu":customElements.get(s(o))||customElements.define(s(o),m);break;case"dso-icon":customElements.get(s(o))||p();break;case"dso-scrollable":customElements.get(s(o))||f()}}))};export{g as DsoDropdownMenu,h as defineCustomElement}
1
+ import{proxyCustomElement as o,HTMLElement as t,forceUpdate as r,h as e,Host as n,transformTag as s}from"@stencil/core/internal/client";import{a,c as i,o as d,f as l,d as c}from"./floating-ui.dom.js";import{c as b}from"./index2.js";import{d as p}from"./icon.js";import{d as f}from"./scrollable.js";import{v as u}from"./v4.js";const m=o(class extends t{constructor(o){super(),!1!==o&&this.__registerHost(),this.__attachShadow(),this.variant="secondary",this.open=!1,this.focusOutListener=o=>{!this.open||o.relatedTarget instanceof t||this.toggleOptions(!1)},this.keyDownHandler=o=>{if(o.target instanceof t&&!o.defaultPrevented&&this.open){switch(o.key){case"Tab":o.shiftKey?this.moveFocusToPrevious(o.target):this.moveFocusToNext(o.target);break;case"ArrowDown":this.moveFocusToNext(o.target,!1);break;case"ArrowUp":this.moveFocusToPrevious(o.target,!1);break;case"Escape":this.escape();break;default:return}o.preventDefault()}},this.escape=()=>{this.button?.focus(),this.toggleOptions(!1)};const{state:r}=b({checkable:!1});this.dropdownMenuState=r}get checkable(){return this.dropdownMenuState.checkable}set checkable(o){this.dropdownMenuState.checkable=o||!1,r(this.host)}dsoClickHandler(o){o.stopPropagation(),this.open&&o.target instanceof t&&this.toggleOptions(!1)}async _getState(){return this.dropdownMenuState}dropdownMenuTabbables(o){const t=this.host.isConnected?Array.from(this.host.querySelectorAll(":scope > dso-dropdown-menu-group > dso-dropdown-menu-item")):[];return o?[this.host,...t]:t}componentDidRender(){if(this.open&&this.button&&this.popoverElement&&!this.cleanUp){const o=this.popoverElement,t=this.button;let r=!0;const e=(t,r)=>{if(o.isConnected){if(this.pendingPopoverConstraints){const t=o.querySelector("dso-scrollable")??o;Object.assign(t.style,{maxHeight:this.pendingPopoverConstraints.availableHeight+"px",maxInlineSize:this.pendingPopoverConstraints.availableWidth+"px"})}Object.assign(o.style,{left:t+"px",top:r+"px"})}},n=a(t,o,(()=>{i(t,o,{strategy:"fixed",middleware:[d(2),l({padding:2}),c({apply:({availableHeight:o,availableWidth:t})=>{this.pendingPopoverConstraints={availableWidth:t,availableHeight:o}}})],placement:"bottom-start"}).then((({x:o,y:t})=>{if(r)return r=!1,void e(o,t);void 0!==this.popoverFrameId&&cancelAnimationFrame(this.popoverFrameId),this.popoverFrameId=requestAnimationFrame((()=>{this.popoverFrameId=void 0,e(o,t)}))}))}));this.cleanUp=()=>{void 0!==this.popoverFrameId&&(cancelAnimationFrame(this.popoverFrameId),this.popoverFrameId=void 0),n()}}}toggleOptions(o){this.open=o??!this.open,this.popoverElement?.isConnected&&this.popoverElement.togglePopover(this.open),this.open&&requestAnimationFrame((()=>this.moveFocusTo(this.firstItem(!1)))),!this.open&&this.cleanUp&&(this.cleanUp(),this.cleanUp=void 0)}disconnectedCallback(){this.toggleOptions(!1)}get lastItem(){return this.dropdownMenuTabbables(!0).at(-1)}firstItem(o){return this.dropdownMenuTabbables(o)[0]}moveFocusToPrevious(o,t=!0){const r=this.dropdownMenuTabbables(t).findIndex((t=>t===o)),e=this.dropdownMenuTabbables(t)[r-1]??this.lastItem;this.moveFocusTo(e)}moveFocusToNext(o,t=!0){const r=this.dropdownMenuTabbables(t).findIndex((t=>t===o)),e=this.dropdownMenuTabbables(t)[r+1]??this.firstItem(t);this.moveFocusTo(e)}moveFocusTo(o){o&&(o===this.host&&this.button?this.button.focus():"_dsoFocus"in o&&o._dsoFocus())}render(){const o=u();return e(n,{key:"d6eecca58b117e847ed5e2d6c4749ccf1cf45ade",onFocusout:this.focusOutListener,onKeyDown:this.keyDownHandler},this.label&&e("button",{key:"7bd4e3718dd56a7ed820fd7a0bff73299387bca0",id:o,class:"dso-"+this.variant,type:"button",onClick:()=>this.toggleOptions(),"aria-expanded":""+this.open,"aria-haspopup":"menu",ref:o=>this.button=o},this.label,e("dso-icon",{key:"f3db2d02fb532d0dce562de99447be5d2ba93111",icon:this.open?"chevron-up":"chevron-down"})),e("div",{key:"b599fc40124282b4afd1f78e346dd736717ece81",popover:"manual",class:"dso-dropdown-options","aria-labelledby":o,role:"menu",ref:o=>this.popoverElement=o},e("dso-scrollable",{key:"ab2517807d8a940ce8d4fae40f9d657b416724dc"},e("slot",{key:"746e632a7bf1e9e7d585dcf71660ef2944799db8"}))))}get host(){return this}static get style(){return":host(:focus) { outline: none; } :host { display: inline-block; } button { -webkit-appearance: button; color: inherit; cursor: pointer; font: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; line-height: inherit; margin: 0; overflow: visible; text-transform: none; } button[disabled] { cursor: default; } button::-moz-focus-inner { border: 0; padding: 0; } button.dso-primary { display: inline-block; font-size: 1em; font-weight: 500; margin-block-end: 0; text-decoration: none; touch-action: manipulation; text-align: var(--_dso-button-text-align, start); user-select: none; vertical-align: middle; background-clip: padding-box; } button.dso-primary:focus, button.dso-primary:focus-visible { outline-offset: 2px; } button.dso-primary:active { outline: 0; } button.dso-primary.extern::after, button.dso-primary.download::after { content: \"\"; display: inline-block; } button.dso-primary { background-color: var(--_dso-button-primary-background-color, #39870c); border-color: var(--_dso-button-primary-border-color, #39870c); color: var(--_dso-button-primary-color, #fff); float: var(--_dso-button-float-primary, none); border-width: 1px; border-style: solid; border-radius: 4px; line-height: 1.5; min-inline-size: 56px; inline-size: var(--_dso-button-inline-size, auto); padding-block: 11px; padding-inline: 15px; } button.dso-primary:hover { background-color: var(--_dso-button-primary-hover-background-color, #275937); border-color: var(--_dso-button-primary-hover-border-color, #275937); color: var(--_dso-button-primary-hover-color, #fff); float: var(--_dso-button-float-primary, none); } button.dso-primary:active { background-color: var(--_dso-button-primary-active-background-color, #173521); border-color: var(--_dso-button-primary-active-border-color, #173521); color: var(--_dso-button-primary-active-color, #fff); float: var(--_dso-button-float-primary, none); } button.dso-primary[disabled], button.dso-primary[disabled]:hover { background-color: var(--_dso-button-primary-disabled-background-color, #afcf9d); border-color: var(--_dso-button-primary-disabled-border-color, #afcf9d); color: var(--_dso-button-primary-disabled-color, #fff); float: var(--_dso-button-float-primary, none); } button.dso-primary.dso-small { line-height: 1rem; } button.dso-primary.dso-small dso-icon, button.dso-primary.dso-small.extern::after, button.dso-primary.dso-small.download::after, button.dso-primary.dso-small.dso-spinner::before { margin-block-end: -4px; margin-block-start: -4px; } button.dso-primary.dso-small.dso-spinner-left::before { block-size: 16px; inline-size: 16px; } button.dso-primary.dso-small.dso-spinner-right::after { block-size: 16px; inline-size: 16px; } button.dso-primary.dso-extra-small { line-height: 1rem; } button.dso-primary.dso-extra-small dso-icon, button.dso-primary.dso-extra-small.extern::after, button.dso-primary.dso-extra-small.download::after, button.dso-primary.dso-extra-small.dso-spinner::before { margin-block-end: -4px; margin-block-start: -4px; } button.dso-primary.dso-extra-small.dso-spinner-left::before { block-size: 16px; inline-size: 16px; } button.dso-primary.dso-extra-small.dso-spinner-right::after { block-size: 16px; inline-size: 16px; } button.dso-primary.dso-extra-small { padding-block: 9px; } button.dso-primary dso-icon:has(+ span:not(.sr-only)) { margin-inline-start: -8px; } button.dso-primary span:not(.sr-only) + dso-icon { margin-inline-start: 8px; margin-inline-end: -8px; } button.dso-primary dso-icon + span:not(.sr-only) { margin-inline-start: 8px; } button.dso-primary.dso-spinner-left[disabled], button.dso-primary.dso-spinner-right[disabled] { background-color: #39870c; border-color: #39870c; color: #fff; } button.dso-primary.dso-spinner-left::before { background-image: url(\"data:image/svg+xml,%3Csvg class='spinner' viewBox='0 0 24 24' 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: 42.4; stroke-dashoffset: 0; transform-origin: center; stroke: %23fff; animation: dash 2s ease-in-out infinite; %7D @keyframes dash %7B 0%25 %7B stroke-dashoffset: 42.4; %7D 50%25 %7B stroke-dashoffset: 10.4; transform:rotate(90deg); %7D 100%25 %7B stroke-dashoffset: 42.4; transform:rotate(360deg); %7D %3C/style%3E%3Ccircle class='path' fill='none' stroke-width='1.6' stroke-linecap='butt' cx='12' cy='12' r='7.2'%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; } button.dso-primary.dso-spinner-right::after { background-image: url(\"data:image/svg+xml,%3Csvg class='spinner' viewBox='0 0 24 24' 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: 42.4; stroke-dashoffset: 0; transform-origin: center; stroke: %23fff; animation: dash 2s ease-in-out infinite; %7D @keyframes dash %7B 0%25 %7B stroke-dashoffset: 42.4; %7D 50%25 %7B stroke-dashoffset: 10.4; transform:rotate(90deg); %7D 100%25 %7B stroke-dashoffset: 42.4; transform:rotate(360deg); %7D %3C/style%3E%3Ccircle class='path' fill='none' stroke-width='1.6' stroke-linecap='butt' cx='12' cy='12' r='7.2'%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; } button.dso-secondary { display: inline-block; font-size: 1em; font-weight: 500; margin-block-end: 0; text-decoration: none; touch-action: manipulation; text-align: var(--_dso-button-text-align, start); user-select: none; vertical-align: middle; background-clip: padding-box; } button.dso-secondary:focus, button.dso-secondary:focus-visible { outline-offset: 2px; } button.dso-secondary:active { outline: 0; } button.dso-secondary.extern::after, button.dso-secondary.download::after { content: \"\"; display: inline-block; } button.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); float: var(--_dso-button-float-secondary, none); border-width: 1px; border-style: solid; border-radius: 4px; line-height: 1.5; min-inline-size: 56px; inline-size: var(--_dso-button-inline-size, auto); padding-block: 11px; padding-inline: 15px; } button.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); float: var(--_dso-button-float-secondary, none); } button.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); float: var(--_dso-button-float-secondary, none); } button.dso-secondary[disabled], button.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); float: var(--_dso-button-float-secondary, none); } button.dso-secondary.dso-small { line-height: 1rem; } button.dso-secondary.dso-small dso-icon, button.dso-secondary.dso-small.extern::after, button.dso-secondary.dso-small.download::after, button.dso-secondary.dso-small.dso-spinner::before { margin-block-end: -4px; margin-block-start: -4px; } button.dso-secondary.dso-small.dso-spinner-left::before { block-size: 16px; inline-size: 16px; } button.dso-secondary.dso-small.dso-spinner-right::after { block-size: 16px; inline-size: 16px; } button.dso-secondary.dso-extra-small { line-height: 1rem; } button.dso-secondary.dso-extra-small dso-icon, button.dso-secondary.dso-extra-small.extern::after, button.dso-secondary.dso-extra-small.download::after, button.dso-secondary.dso-extra-small.dso-spinner::before { margin-block-end: -4px; margin-block-start: -4px; } button.dso-secondary.dso-extra-small.dso-spinner-left::before { block-size: 16px; inline-size: 16px; } button.dso-secondary.dso-extra-small.dso-spinner-right::after { block-size: 16px; inline-size: 16px; } button.dso-secondary.dso-extra-small { padding-block: 9px; } button.dso-secondary dso-icon:has(+ span:not(.sr-only)) { margin-inline-start: -8px; } button.dso-secondary span:not(.sr-only) + dso-icon { margin-inline-start: 8px; margin-inline-end: -8px; } button.dso-secondary dso-icon + span:not(.sr-only) { margin-inline-start: 8px; } button.dso-secondary.dso-spinner-left[disabled], button.dso-secondary.dso-spinner-right[disabled] { background-color: #fff; border-color: #39870c; color: #39870c; } button.dso-secondary.dso-spinner-left::before { background-image: url(\"data:image/svg+xml,%3Csvg class='spinner' viewBox='0 0 24 24' 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: 42.4; stroke-dashoffset: 0; transform-origin: center; stroke: %2339870c; animation: dash 2s ease-in-out infinite; %7D @keyframes dash %7B 0%25 %7B stroke-dashoffset: 42.4; %7D 50%25 %7B stroke-dashoffset: 10.4; transform:rotate(90deg); %7D 100%25 %7B stroke-dashoffset: 42.4; transform:rotate(360deg); %7D %3C/style%3E%3Ccircle class='path' fill='none' stroke-width='1.6' stroke-linecap='butt' cx='12' cy='12' r='7.2'%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; } button.dso-secondary.dso-spinner-left:not([disabled]):hover::before { background-image: url(\"data:image/svg+xml,%3Csvg class='spinner' viewBox='0 0 24 24' 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: 42.4; stroke-dashoffset: 0; transform-origin: center; stroke: %23fff; animation: dash 2s ease-in-out infinite; %7D @keyframes dash %7B 0%25 %7B stroke-dashoffset: 42.4; %7D 50%25 %7B stroke-dashoffset: 10.4; transform:rotate(90deg); %7D 100%25 %7B stroke-dashoffset: 42.4; transform:rotate(360deg); %7D %3C/style%3E%3Ccircle class='path' fill='none' stroke-width='1.6' stroke-linecap='butt' cx='12' cy='12' r='7.2'%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; } button.dso-secondary.dso-spinner-left:not([disabled]).dso-small:hover::before { block-size: 16px; inline-size: 16px; } button.dso-secondary.dso-spinner-right::after { background-image: url(\"data:image/svg+xml,%3Csvg class='spinner' viewBox='0 0 24 24' 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: 42.4; stroke-dashoffset: 0; transform-origin: center; stroke: %2339870c; animation: dash 2s ease-in-out infinite; %7D @keyframes dash %7B 0%25 %7B stroke-dashoffset: 42.4; %7D 50%25 %7B stroke-dashoffset: 10.4; transform:rotate(90deg); %7D 100%25 %7B stroke-dashoffset: 42.4; transform:rotate(360deg); %7D %3C/style%3E%3Ccircle class='path' fill='none' stroke-width='1.6' stroke-linecap='butt' cx='12' cy='12' r='7.2'%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; } button.dso-secondary.dso-spinner-right:not([disabled]):hover::after { background-image: url(\"data:image/svg+xml,%3Csvg class='spinner' viewBox='0 0 24 24' 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: 42.4; stroke-dashoffset: 0; transform-origin: center; stroke: %23fff; animation: dash 2s ease-in-out infinite; %7D @keyframes dash %7B 0%25 %7B stroke-dashoffset: 42.4; %7D 50%25 %7B stroke-dashoffset: 10.4; transform:rotate(90deg); %7D 100%25 %7B stroke-dashoffset: 42.4; transform:rotate(360deg); %7D %3C/style%3E%3Ccircle class='path' fill='none' stroke-width='1.6' stroke-linecap='butt' cx='12' cy='12' r='7.2'%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; } button.dso-secondary.dso-spinner-right:not([disabled]).dso-small:hover::after { block-size: 16px; inline-size: 16px; } button.dso-tertiary { display: inline-block; font-size: 1em; font-weight: 500; margin-block-end: 0; text-decoration: none; touch-action: manipulation; text-align: var(--_dso-button-text-align, start); user-select: none; vertical-align: middle; background-clip: padding-box; } button.dso-tertiary:focus, button.dso-tertiary:focus-visible { outline-offset: 2px; } button.dso-tertiary:active { outline: 0; } button.dso-tertiary.extern::after, button.dso-tertiary.download::after { content: \"\"; display: inline-block; } button.dso-tertiary { display: inline-block; font-size: 1em; font-weight: 500; margin-block-end: 0; text-decoration: none; touch-action: manipulation; text-align: var(--_dso-button-text-align, start); user-select: none; vertical-align: middle; background-clip: padding-box; } button.dso-tertiary:focus, button.dso-tertiary:focus-visible { outline-offset: 2px; } button.dso-tertiary:active { outline: 0; } button.dso-tertiary.extern::after, button.dso-tertiary.download::after { content: \"\"; display: inline-block; } button.dso-tertiary { background-color: var(--_dso-button-tertiary-background-color, ); border-color: var(--_dso-button-tertiary-border-color, ); color: var(--_dso-button-tertiary-color, #39870c); float: var(--_dso-button-float-tertiary, none); border-width: 1px; border-style: solid; border-radius: 4px; line-height: 1.5; min-inline-size: auto; inline-size: var(--_dso-button-inline-size, auto); padding-block: 11px; padding-inline: 15px; } button.dso-tertiary:hover { background-color: var(--_dso-button-tertiary-hover-background-color, ); border-color: var(--_dso-button-tertiary-hover-border-color, ); color: var(--_dso-button-tertiary-hover-color, #275937); float: var(--_dso-button-float-tertiary, none); } button.dso-tertiary:active { background-color: var(--_dso-button-tertiary-active-background-color, ); border-color: var(--_dso-button-tertiary-active-border-color, ); color: var(--_dso-button-tertiary-active-color, #173521); float: var(--_dso-button-float-tertiary, none); } button.dso-tertiary[disabled], button.dso-tertiary[disabled]:hover { background-color: var(--_dso-button-tertiary-disabled-background-color, ); border-color: var(--_dso-button-tertiary-disabled-border-color, ); color: var(--_dso-button-tertiary-disabled-color, #afcf9d); float: var(--_dso-button-float-tertiary, none); } button.dso-tertiary.dso-small { line-height: 1rem; } button.dso-tertiary.dso-small dso-icon, button.dso-tertiary.dso-small.extern::after, button.dso-tertiary.dso-small.download::after, button.dso-tertiary.dso-small.dso-spinner::before { margin-block-end: -4px; margin-block-start: -4px; } button.dso-tertiary.dso-small.dso-spinner-left::before { block-size: 16px; inline-size: 16px; } button.dso-tertiary.dso-small.dso-spinner-right::after { block-size: 16px; inline-size: 16px; } button.dso-tertiary.dso-extra-small { line-height: 1rem; } button.dso-tertiary.dso-extra-small dso-icon, button.dso-tertiary.dso-extra-small.extern::after, button.dso-tertiary.dso-extra-small.download::after, button.dso-tertiary.dso-extra-small.dso-spinner::before { margin-block-end: -4px; margin-block-start: -4px; } button.dso-tertiary.dso-extra-small.dso-spinner-left::before { block-size: 16px; inline-size: 16px; } button.dso-tertiary.dso-extra-small.dso-spinner-right::after { block-size: 16px; inline-size: 16px; } button.dso-tertiary.dso-extra-small { padding-block: 9px; } button.dso-tertiary { border: 0; line-height: 1; padding-inline: 0; padding-block: var(--_dso-button-padding-block-tertiary, 0); background-color: transparent; } button.dso-tertiary[disabled].dso-spinner-left, button.dso-tertiary[disabled].dso-spinner-right { color: #39870c; } button.dso-tertiary:not([disabled]):hover { text-decoration: underline; text-underline-position: under; } button.dso-tertiary.dso-align { line-height: calc(1.5em - 1px); padding-block: 11px; padding-inline: 0; position: relative; } button.dso-tertiary.dso-truncate { max-inline-size: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } button.dso-tertiary.dso-spinner-left::before { background-image: url(\"data:image/svg+xml,%3Csvg class='spinner' viewBox='0 0 24 24' 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: 42.4; stroke-dashoffset: 0; transform-origin: center; stroke: %2339870c; animation: dash 2s ease-in-out infinite; %7D @keyframes dash %7B 0%25 %7B stroke-dashoffset: 42.4; %7D 50%25 %7B stroke-dashoffset: 10.4; transform:rotate(90deg); %7D 100%25 %7B stroke-dashoffset: 42.4; transform:rotate(360deg); %7D %3C/style%3E%3Ccircle class='path' fill='none' stroke-width='1.6' stroke-linecap='butt' cx='12' cy='12' r='7.2'%3E%3C/circle%3E%3C/svg%3E\"); background-repeat: no-repeat; content: \"\"; display: inline-block; block-size: 24px; vertical-align: middle; inline-size: 24px; margin-inline-end: 8px; } button.dso-tertiary.dso-spinner-right::after { background-image: url(\"data:image/svg+xml,%3Csvg class='spinner' viewBox='0 0 24 24' 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: 42.4; stroke-dashoffset: 0; transform-origin: center; stroke: %2339870c; animation: dash 2s ease-in-out infinite; %7D @keyframes dash %7B 0%25 %7B stroke-dashoffset: 42.4; %7D 50%25 %7B stroke-dashoffset: 10.4; transform:rotate(90deg); %7D 100%25 %7B stroke-dashoffset: 42.4; transform:rotate(360deg); %7D %3C/style%3E%3Ccircle class='path' fill='none' stroke-width='1.6' stroke-linecap='butt' cx='12' cy='12' r='7.2'%3E%3C/circle%3E%3C/svg%3E\"); background-repeat: no-repeat; content: \"\"; display: inline-block; block-size: 24px; vertical-align: middle; inline-size: 24px; margin-inline-start: 8px; } button.dso-tertiary dso-icon + span:not(.sr-only), button.dso-tertiary span:not(.sr-only) + dso-icon { margin-inline-start: 4px; } button.dso-tertiary dso-icon, button.dso-tertiary span { vertical-align: middle; } button dso-icon { margin-inline-start: 8px; } button:not(.dso-tertiary) dso-icon { margin-inline-end: 0; } .dso-dropdown-options { box-sizing: border-box; margin: 0 !important; overflow: unset; background-clip: padding-box; background-color: #fff; border-radius: 4px; border: 1px solid rgba(0, 0, 0, 0.15); box-shadow: 0 8px 10px 1px rgba(0, 0, 0, 0.4); font-size: 1rem; min-inline-size: 160px; inline-size: max-content; padding: 0; z-index: 220; --_dso-scrollable-block-size: auto; } ::slotted(dso-dropdown-menu-group:not(:last-child)) { border-block-end: 1px solid #e5e5e5; margin-block-end: 11px; padding-block-end: 11px; }"}},[257,"dso-dropdown-menu",{checkable:[6660],label:[513],variant:[513],open:[32],_getState:[64]},[[0,"dsoClick","dsoClickHandler"]]]),g=m,h=function(){"undefined"!=typeof customElements&&["dso-dropdown-menu","dso-icon","dso-scrollable"].forEach((o=>{switch(o){case"dso-dropdown-menu":customElements.get(s(o))||customElements.define(s(o),m);break;case"dso-icon":customElements.get(s(o))||p();break;case"dso-scrollable":customElements.get(s(o))||f()}}))};export{g as DsoDropdownMenu,h as defineCustomElement}