@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
@@ -1 +1 @@
1
- import{r as e,f as s,h as t,a,g as i}from"./p-CieBNbUH.js";const r=class{constructor(s){e(this,s),this.keyUpHandler=e=>{if(e.target instanceof HTMLElement)switch(e.key){case"ArrowRight":case"ArrowDown":this.moveFocusToNextTab(e.target);break;case"ArrowLeft":case"ArrowUp":this.moveFocusToPreviousTab(e.target);break;default:return}}}get enabledTabs(){return Array.from(this.host.querySelectorAll(":scope > dso-tab")).reduce(((e,s)=>(s.disabled||e.push(s),e)),[])}get firstTab(){return this.enabledTabs[0]}get lastTab(){return this.enabledTabs[this.enabledTabs.length-1]}moveFocusToTab(e){e?._dsoFocus()}moveFocusToPreviousTab(e){const s=this.enabledTabs.findIndex((s=>s===e));this.moveFocusToTab(this.enabledTabs[s-1]??this.lastTab)}moveFocusToNextTab(e){const s=this.enabledTabs.findIndex((s=>s===e));this.moveFocusToTab(this.enabledTabs[s+1]??this.firstTab)}connectedCallback(){this.mutationObserver??(this.mutationObserver=new MutationObserver((()=>s(this.host)))),this.mutationObserver.observe(this.host,{childList:!0})}disconnectedCallback(){this.mutationObserver?.disconnect()}render(){return t(a,{key:"88c28ae388d2276dec5e4b8c92066a005604d5b5"},t("div",{key:"cee7d902fb455fadd0c4588cf5a6133466ec89ed",class:"tabs",role:"tablist",onKeyUp:this.keyUpHandler},t("slot",{key:"a9893f2c16e194318a589a379dbcd23b450bda17"})),t("div",{key:"66cfff257290a44c064fc4011f8101fc4ab0b918",role:"tabpanel",tabindex:"0"},t("slot",{key:"52f5be68fcb6b98b5c8831e81522faa4733a3501",name:"panel"})))}get host(){return i(this)}};r.style="*,*::after,*::before{box-sizing:border-box}:host{display:block}.tabs{border-block-end:1px solid #39870c;display:flex;gap:2px;flex-wrap:wrap;margin-block-end:24px;padding-inline-start:0}@media screen and (max-width: 767px){.tabs{border:0;display:block}}";export{r as dso_tabs}
1
+ import{r as e,f as s,h as t,a,g as i}from"./p-CieBNbUH.js";const r=class{constructor(s){e(this,s),this.keyUpHandler=e=>{if(e.target instanceof HTMLElement)switch(e.key){case"ArrowRight":case"ArrowDown":this.moveFocusToNextTab(e.target);break;case"ArrowLeft":case"ArrowUp":this.moveFocusToPreviousTab(e.target);break;default:return}}}get enabledTabs(){return Array.from(this.host.querySelectorAll(":scope > dso-tab")).reduce(((e,s)=>(s.disabled||e.push(s),e)),[])}get firstTab(){return this.enabledTabs[0]}get lastTab(){return this.enabledTabs[this.enabledTabs.length-1]}moveFocusToTab(e){e?._dsoFocus()}moveFocusToPreviousTab(e){const s=this.enabledTabs.findIndex((s=>s===e));this.moveFocusToTab(this.enabledTabs[s-1]??this.lastTab)}moveFocusToNextTab(e){const s=this.enabledTabs.findIndex((s=>s===e));this.moveFocusToTab(this.enabledTabs[s+1]??this.firstTab)}connectedCallback(){this.mutationObserver??(this.mutationObserver=new MutationObserver((()=>s(this.host)))),this.mutationObserver.observe(this.host,{childList:!0})}disconnectedCallback(){this.mutationObserver?.disconnect()}render(){return t(a,{key:"f9840526a41e0ce6bdd945e3f26a981dc4592cd8"},t("div",{key:"8f1d74bde554f0dd2731dd9e607105c656e0f696",class:"tabs",role:"tablist",onKeyUp:this.keyUpHandler},t("slot",{key:"b0793d048219d61afefbbde716c7cb7128a8c1fe"})),t("div",{key:"6af0ed80dd887924bc59f746b689fa4dbeca23ab",role:"tabpanel",tabindex:"0"},t("slot",{key:"1eacaa24eaac109889d5a564d7e6c038a51bc7e8",name:"panel"})))}get host(){return i(this)}};r.style="*,*::after,*::before{box-sizing:border-box}:host{display:block}.tabs{border-block-end:1px solid #39870c;display:flex;gap:2px;flex-wrap:wrap;margin-block-end:24px;padding-inline-start:0}@media screen and (max-width: 767px){.tabs{border:0;display:block}}";export{r as dso_tabs}
@@ -1 +1 @@
1
- import{r as e,d as s,h as i,g as t}from"./p-CieBNbUH.js";import{i as o}from"./p-CCOI5nUo.js";import{v as a}from"./p-CK3_k8jD.js";const d={en:{"dso-map-overlays":{title:"Maplayers"}},nl:{"dso-map-overlays":{title:"Kaartlagen"}}},l=class{constructor(i){e(this,i),this.dsoToggleOverlay=s(this,"dsoToggleOverlay",7),this.selectableRefs={},this.group=a(),this.text=o((()=>this.host),d)}overlayChangeHandler(e,s){const{checked:i}=s.detail;this.dsoToggleOverlay.emit({overlay:e,checked:i})}componentDidRender(){this.overlays.filter((e=>!e.disabled&&!0===this.previousOverlays?.find((s=>s.id===e.id))?.disabled)).forEach((e=>{this.selectableRefs[e.id]?.toggleInfo(!1)})),this.previousOverlays=this.overlays}render(){for(const e in this.selectableRefs)delete this.selectableRefs[e];return i("fieldset",{key:"6b5021cbdb21815755684e4bd5cb973fb89d5c43",class:"form-group dso-checkboxes"},i("legend",{key:"17355dd3e9b2d4aa9b4b441daf67e3ae30d48e71",class:"sr-only"},"Kaartlagen"),i("div",{key:"f120e660798dd5a5829c0764c4809e1d8e5c2f10",class:"dso-label-container"},i("span",{key:"8e827dc9f5e77196987e76665d46cb011c6e1a55",class:"control-label","aria-hidden":"true"},this.text("title"))),i("div",{key:"b7ec4c229edbfd5517c3db5bd92e38dd780bd0a8",class:"dso-field-container"},this.overlays.map((e=>i("dso-selectable",{key:e.id,type:"checkbox",value:e.name,checked:e.checked,disabled:e.disabled,name:this.group,ref:s=>s&&(this.selectableRefs[e.id]=s),onDsoChange:s=>this.overlayChangeHandler(e,s)},e.name,e.info?i("p",{slot:"info"},e.info):null)))))}get host(){return t(this)}};l.style=":host{display:block}*,*::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)}fieldset{border:0;margin:0;min-inline-size:0;padding:0}fieldset .control-label{display:inline-block;font-weight:bold;margin-block-end:8px;max-inline-size:100%;text-align:start}p[slot=info]{margin:0}";export{l as dso_map_overlays}
1
+ import{r as e,d as s,h as i,g as a}from"./p-CieBNbUH.js";import{i as t}from"./p-CCOI5nUo.js";import{v as o}from"./p-CK3_k8jD.js";const l={en:{"dso-map-overlays":{title:"Maplayers"}},nl:{"dso-map-overlays":{title:"Kaartlagen"}}},n=class{constructor(i){e(this,i),this.dsoToggleOverlay=s(this,"dsoToggleOverlay",7),this.selectableRefs={},this.group=o(),this.text=t((()=>this.host),l)}overlayChangeHandler(e,s){const{checked:i}=s.detail;this.dsoToggleOverlay.emit({overlay:e,checked:i})}componentDidRender(){this.overlays.filter((e=>!e.disabled&&!0===this.previousOverlays?.find((s=>s.id===e.id))?.disabled)).forEach((e=>{this.selectableRefs[e.id]?.toggleInfo(!1)})),this.previousOverlays=this.overlays}render(){for(const e in this.selectableRefs)delete this.selectableRefs[e];return i("fieldset",{key:"323f438b921da80f257e6ce69f58a964eba14d0b",class:"form-group dso-checkboxes"},i("legend",{key:"a5f4e54c08fd77b0df5cfe9471ec00c4ea36fa80",class:"sr-only"},"Kaartlagen"),i("div",{key:"ead64984beecc96da228b2628146326ae9087b87",class:"dso-label-container"},i("span",{key:"b655d2bcf1562cce4f2a3a2a13409a82ef629964",class:"control-label","aria-hidden":"true"},this.text("title"))),i("div",{key:"31e2539f5c9bf088fbb432f3f3b132008f1ed188",class:"dso-field-container"},this.overlays.map((e=>i("dso-selectable",{key:e.id,type:"checkbox",value:e.name,checked:e.checked,disabled:e.disabled,name:this.group,ref:s=>s&&(this.selectableRefs[e.id]=s),onDsoChange:s=>this.overlayChangeHandler(e,s)},e.name,e.info?i("p",{slot:"info"},e.info):null)))))}get host(){return a(this)}};n.style=":host{display:block}*,*::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)}fieldset{border:0;margin:0;min-inline-size:0;padding:0}fieldset .control-label{display:inline-block;font-weight:bold;margin-block-end:8px;max-inline-size:100%;text-align:start}p[slot=info]{margin:0}";export{n as dso_map_overlays}