@dso-toolkit/core 101.1.0 → 101.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (351) hide show
  1. package/dist/bundle/dso-accordion-section.js +9 -9
  2. package/dist/bundle/dso-accordion.js +2 -2
  3. package/dist/bundle/dso-action-list-item.js +2 -2
  4. package/dist/bundle/dso-action-list.js +1 -1
  5. package/dist/bundle/dso-advanced-select.js +7 -7
  6. package/dist/bundle/dso-alert.js +1 -1
  7. package/dist/bundle/dso-annotation-activiteit.js +10 -10
  8. package/dist/bundle/dso-annotation-gebiedsaanwijzing.js +9 -9
  9. package/dist/bundle/dso-annotation-kaart.js +5 -5
  10. package/dist/bundle/dso-annotation-locatie.js +1 -1
  11. package/dist/bundle/dso-annotation-omgevingsnormwaarde.js +10 -10
  12. package/dist/bundle/dso-attachments-counter.js +1 -1
  13. package/dist/bundle/dso-autosuggest.js +5 -5
  14. package/dist/bundle/dso-badge.js +1 -1
  15. package/dist/bundle/dso-banner.js +2 -2
  16. package/dist/bundle/dso-button-group.js +1 -1
  17. package/dist/bundle/dso-card-container.js +1 -1
  18. package/dist/bundle/dso-card.js +2 -2
  19. package/dist/bundle/dso-contact-information.js +1 -1
  20. package/dist/bundle/dso-cursor-tooltip.js +1 -1
  21. package/dist/bundle/dso-date-picker.js +1 -1
  22. package/dist/bundle/dso-document-card.js +2 -2
  23. package/dist/bundle/dso-document-component.js +1 -1
  24. package/dist/bundle/dso-dropdown-menu-group.js +1 -1
  25. package/dist/bundle/dso-dropdown-menu-item.js +2 -2
  26. package/dist/bundle/dso-dropdown-menu.js +4 -4
  27. package/dist/bundle/dso-expandable.js +1 -1
  28. package/dist/bundle/dso-grid-column.js +1 -1
  29. package/dist/bundle/dso-header.js +3 -3
  30. package/dist/bundle/dso-hero-image.js +1 -1
  31. package/dist/bundle/dso-highlight-box.js +1 -1
  32. package/dist/bundle/dso-history-item.js +2 -2
  33. package/dist/bundle/dso-icon-button.js +1 -1
  34. package/dist/bundle/dso-icon.js +1 -1
  35. package/dist/bundle/dso-image-overlay.js +1 -1
  36. package/dist/bundle/dso-info-button.js +1 -1
  37. package/dist/bundle/dso-info.js +1 -1
  38. package/dist/bundle/dso-input-range.js +1 -1
  39. package/dist/bundle/dso-label.js +1 -1
  40. package/dist/bundle/dso-legend-group.js +3 -3
  41. package/dist/bundle/dso-legend-item.js +6 -6
  42. package/dist/bundle/dso-legend.js +4 -4
  43. package/dist/bundle/dso-list-button.js +7 -7
  44. package/dist/bundle/dso-logo.js +1 -1
  45. package/dist/bundle/dso-map-base-layers.js +7 -7
  46. package/dist/bundle/dso-map-controls.js +5 -5
  47. package/dist/bundle/dso-map-layer-object.js +3 -3
  48. package/dist/bundle/dso-map-layer.js +3 -3
  49. package/dist/bundle/dso-map-message.js +2 -2
  50. package/dist/bundle/dso-map-overlays.js +7 -7
  51. package/dist/bundle/dso-mark-bar.js +3 -3
  52. package/dist/bundle/dso-modal.js +1 -1
  53. package/dist/bundle/dso-onboarding-tip.js +4 -4
  54. package/dist/bundle/dso-ozon-content-toggletip.js +1 -1
  55. package/dist/bundle/dso-ozon-content.js +1 -1
  56. package/dist/bundle/dso-pagination.js +3 -3
  57. package/dist/bundle/dso-panel.js +1 -1
  58. package/dist/bundle/dso-plekinfo-card-item.js +3 -3
  59. package/dist/bundle/dso-plekinfo-card.js +3 -3
  60. package/dist/bundle/dso-progress-indicator.js +1 -1
  61. package/dist/bundle/dso-project-item.js +5 -5
  62. package/dist/bundle/dso-renvooi.js +1 -1
  63. package/dist/bundle/dso-responsive-element.js +1 -1
  64. package/dist/bundle/dso-scrollable.js +1 -1
  65. package/dist/bundle/dso-segmented-button.js +1 -1
  66. package/dist/bundle/dso-selectable.js +1 -1
  67. package/dist/bundle/dso-shopping-cart-item.js +3 -3
  68. package/dist/bundle/dso-shopping-cart.js +3 -3
  69. package/dist/bundle/dso-skiplink.js +2 -2
  70. package/dist/bundle/dso-slide-toggle.js +1 -1
  71. package/dist/bundle/dso-survey-rating.js +4 -4
  72. package/dist/bundle/dso-tab.js +1 -1
  73. package/dist/bundle/dso-table.js +1 -1
  74. package/dist/bundle/dso-tabs.js +1 -1
  75. package/dist/bundle/dso-tijdreis-banner.js +2 -2
  76. package/dist/bundle/dso-tree-view.js +3 -3
  77. package/dist/bundle/dso-truncate.js +1 -1
  78. package/dist/bundle/dso-viewer-grid.js +1 -1
  79. package/dist/bundle/dsot-document-component-demo.js +19 -19
  80. package/dist/bundle/index.js +2 -2
  81. package/dist/bundle/{p-DixhcduG.js → p-B3xfmB17.js} +1 -1
  82. package/dist/bundle/{p-DdHRX4cC.js → p-BNZi1Z7L.js} +9 -9
  83. package/dist/bundle/{p-d1IkgLLm.js → p-BNbVXLQ2.js} +1 -1
  84. package/dist/bundle/{p-BF2e1Voi.js → p-BSMiHcUv.js} +14 -14
  85. package/dist/bundle/{p-C49HfF1N.js → p-BcdVrDxP.js} +1 -1
  86. package/dist/bundle/{p-CEzwBNry.js → p-BgXxa7rJ.js} +4 -4
  87. package/dist/bundle/{p-BHPEhHca.js → p-Bi7N8jhO.js} +2 -2
  88. package/dist/bundle/{p-Dtkoi4Xj.js → p-BmBEC5qq.js} +1 -1
  89. package/dist/bundle/{p-CvUpjPda.js → p-Bn0wLbPn.js} +1 -1
  90. package/dist/bundle/{p-CbLp6uks.js → p-Bnzoc8mM.js} +3 -3
  91. package/dist/bundle/{p-D09qaSTl.js → p-C9-RLZ9M.js} +3 -3
  92. package/dist/bundle/{p-B1sfJaTU.js → p-CPtFrV76.js} +4 -4
  93. package/dist/bundle/{p-Dyvz4l_L.js → p-CRfRjWq9.js} +1 -1
  94. package/dist/bundle/{p-DHj0KBgK.js → p-CTkrAjto.js} +1 -1
  95. package/dist/bundle/{p-CMhiuOhg.js → p-Cp5xHyIB.js} +1 -1
  96. package/dist/bundle/{p-BMhDrgpW.js → p-Cuh4KbuH.js} +3 -3
  97. package/dist/bundle/{p-BIioZO_6.js → p-Cwutj0_m.js} +1 -1
  98. package/dist/bundle/{p-mwUKtKZg.js → p-CyJod4Vs.js} +1 -1
  99. package/dist/bundle/{p-Brr0tC8B.js → p-D71-6j_9.js} +1 -1
  100. package/dist/bundle/{p-CwjT2QlY.js → p-D7GXr76y.js} +4 -4
  101. package/dist/bundle/{p-DZCYhv_b.js → p-D97933Iz.js} +1 -1
  102. package/dist/bundle/{p-Dy8e3KhJ.js → p-DG55Bxs-.js} +6 -6
  103. package/dist/bundle/{p-D3XzrCzR.js → p-DGvLPDdu.js} +5 -5
  104. package/dist/bundle/{p-CuUQy5lD.js → p-DTl1ys7m.js} +9 -9
  105. package/dist/bundle/{p-BHAfq_R9.js → p-DgmLOl9Y.js} +3 -3
  106. package/dist/bundle/{p-BI_yo2z3.js → p-RlXOwxFy.js} +3 -3
  107. package/dist/bundle/{p-BsaL-EuM.js → p-UUZISb3P.js} +1 -1
  108. package/dist/bundle/{p-BoEv7D0u.js → p-V_0y9IxV.js} +5 -5
  109. package/dist/bundle/{p-DtUeWj74.js → p-Vur2Wu4N.js} +61 -36
  110. package/dist/bundle/{p-DcRIbRiR.js → p-W3PIfudg.js} +6 -6
  111. package/dist/bundle/{p-C-8R9yq6.js → p-p_SkZXGC.js} +2 -2
  112. package/dist/bundle/{p-D_wg33r9.js → p-tPI81auQ.js} +1 -1
  113. package/dist/bundle/{p-NElTvMxv.js → p-wW5eBqvL.js} +1 -1
  114. package/dist/bundle/{p-D9oE1q7k.js → p-xhH9qNva.js} +5 -5
  115. package/dist/cjs/{annotation-body-CCYWAvBu.js → annotation-body-BUzjw5Oz.js} +1 -1
  116. package/dist/cjs/{annotation-list-renvooi-values-UnGybDbb.js → annotation-list-renvooi-values-Cy7Tz8N2.js} +1 -1
  117. package/dist/cjs/{annotation-watcher-D9lm8RSy.js → annotation-watcher-Dt2LwKoD.js} +1 -1
  118. package/dist/cjs/dso-accordion-section.cjs.entry.js +1 -1
  119. package/dist/cjs/dso-accordion.cjs.entry.js +2 -2
  120. package/dist/cjs/dso-action-list-item.cjs.entry.js +1 -1
  121. package/dist/cjs/dso-action-list.cjs.entry.js +1 -1
  122. package/dist/cjs/dso-advanced-select.cjs.entry.js +1 -1
  123. package/dist/cjs/dso-alert_7.cjs.entry.js +4 -4
  124. package/dist/cjs/dso-annotation-activiteit.cjs.entry.js +4 -4
  125. package/dist/cjs/dso-annotation-gebiedsaanwijzing.cjs.entry.js +3 -3
  126. package/dist/cjs/dso-annotation-kaart.cjs.entry.js +2 -2
  127. package/dist/cjs/dso-annotation-locatie_2.cjs.entry.js +4 -4
  128. package/dist/cjs/dso-annotation-omgevingsnormwaarde.cjs.entry.js +4 -4
  129. package/dist/cjs/dso-attachments-counter_2.cjs.entry.js +1 -1
  130. package/dist/cjs/dso-autosuggest.cjs.entry.js +2 -2
  131. package/dist/cjs/dso-banner.cjs.entry.js +1 -1
  132. package/dist/cjs/dso-button-group.cjs.entry.js +1 -1
  133. package/dist/cjs/dso-card-container.cjs.entry.js +1 -1
  134. package/dist/cjs/dso-card.cjs.entry.js +1 -1
  135. package/dist/cjs/dso-contact-information.cjs.entry.js +1 -1
  136. package/dist/cjs/dso-cursor-tooltip.cjs.entry.js +1 -1
  137. package/dist/cjs/dso-date-picker.cjs.entry.js +1 -1
  138. package/dist/cjs/dso-document-card.cjs.entry.js +1 -1
  139. package/dist/cjs/dso-dropdown-menu-group.cjs.entry.js +1 -1
  140. package/dist/cjs/dso-dropdown-menu-item.cjs.entry.js +1 -1
  141. package/dist/cjs/dso-dropdown-menu.cjs.entry.js +2 -2
  142. package/dist/cjs/dso-grid-column.cjs.entry.js +1 -1
  143. package/dist/cjs/dso-header.cjs.entry.js +1 -1
  144. package/dist/cjs/dso-hero-image.cjs.entry.js +1 -1
  145. package/dist/cjs/dso-highlight-box.cjs.entry.js +1 -1
  146. package/dist/cjs/dso-history-item.cjs.entry.js +1 -1
  147. package/dist/cjs/dso-icon_2.cjs.entry.js +2 -2
  148. package/dist/cjs/dso-info_3.cjs.entry.js +2 -2
  149. package/dist/cjs/dso-input-range.cjs.entry.js +1 -1
  150. package/dist/cjs/dso-label_3.cjs.entry.js +1 -1
  151. package/dist/cjs/dso-legend-group.cjs.entry.js +1 -1
  152. package/dist/cjs/dso-legend-item.cjs.entry.js +1 -1
  153. package/dist/cjs/dso-legend.cjs.entry.js +1 -1
  154. package/dist/cjs/dso-list-button.cjs.entry.js +1 -1
  155. package/dist/cjs/dso-logo.cjs.entry.js +1 -1
  156. package/dist/cjs/dso-map-base-layers.cjs.entry.js +1 -1
  157. package/dist/cjs/dso-map-controls.cjs.entry.js +1 -1
  158. package/dist/cjs/dso-map-layer-object.cjs.entry.js +2 -2
  159. package/dist/cjs/dso-map-layer.cjs.entry.js +2 -2
  160. package/dist/cjs/dso-map-message.cjs.entry.js +1 -1
  161. package/dist/cjs/dso-map-overlays.cjs.entry.js +1 -1
  162. package/dist/cjs/dso-mark-bar.cjs.entry.js +1 -1
  163. package/dist/cjs/dso-modal.cjs.entry.js +1 -1
  164. package/dist/cjs/dso-onboarding-tip.cjs.entry.js +1 -1
  165. package/dist/cjs/dso-pagination.cjs.entry.js +1 -1
  166. package/dist/cjs/dso-plekinfo-card-item.cjs.entry.js +2 -2
  167. package/dist/cjs/dso-plekinfo-card.cjs.entry.js +2 -2
  168. package/dist/cjs/dso-progress-indicator.cjs.entry.js +1 -1
  169. package/dist/cjs/dso-project-item.cjs.entry.js +1 -1
  170. package/dist/cjs/dso-responsive-element.cjs.entry.js +1 -1
  171. package/dist/cjs/dso-scrollable.cjs.entry.js +1 -1
  172. package/dist/cjs/dso-segmented-button.cjs.entry.js +1 -1
  173. package/dist/cjs/dso-shopping-cart-item.cjs.entry.js +1 -1
  174. package/dist/cjs/dso-shopping-cart.cjs.entry.js +1 -1
  175. package/dist/cjs/dso-skiplink.cjs.entry.js +1 -1
  176. package/dist/cjs/dso-survey-rating.cjs.entry.js +1 -1
  177. package/dist/cjs/dso-tab.cjs.entry.js +1 -1
  178. package/dist/cjs/dso-tabs.cjs.entry.js +1 -1
  179. package/dist/cjs/dso-tijdreis-banner.cjs.entry.js +1 -1
  180. package/dist/cjs/dso-toolkit.cjs.js +2 -2
  181. package/dist/cjs/dso-tree-view.cjs.entry.js +1 -1
  182. package/dist/cjs/dso-truncate.cjs.entry.js +2 -2
  183. package/dist/cjs/dso-viewer-grid.cjs.entry.js +1 -1
  184. package/dist/cjs/dsot-document-component-demo.cjs.entry.js +1 -1
  185. package/dist/cjs/{index-DZPLxT1W.js → index-B2eRuadN.js} +1 -1
  186. package/dist/cjs/{index-BBx5yytN.js → index-nobQUdjz.js} +61 -36
  187. package/dist/cjs/loader.cjs.js +1 -1
  188. package/dist/cjs/{parse-wijzigactie-from-node.function-CYUDdIa0.js → parse-wijzigactie-from-node.function-CkakWRsW.js} +1 -1
  189. package/dist/cjs/{tooltip.functional-component-DOBjuEpE.js → tooltip.functional-component-Emx05bWV.js} +1 -1
  190. package/dist/cjs/{wrap-wijzigactie.functional-component-D1UjZ36u.js → wrap-wijzigactie.functional-component-C6vRVy2O.js} +1 -1
  191. package/dist/collection/collection-manifest.json +1 -1
  192. package/dist/collection/components/autosuggest/autosuggest.css +16 -0
  193. package/dist/components/dso-autosuggest.js +1 -1
  194. package/dist/dso-toolkit/dso-toolkit.esm.js +1 -1
  195. package/dist/dso-toolkit/{p-6a99c0bb.entry.js → p-00a19755.entry.js} +1 -1
  196. package/dist/dso-toolkit/{p-6bc7de9b.entry.js → p-02bb4527.entry.js} +1 -1
  197. package/dist/dso-toolkit/{p-3ed9443d.entry.js → p-06c3b3a3.entry.js} +1 -1
  198. package/dist/dso-toolkit/{p-c0735ea5.entry.js → p-08f2eeef.entry.js} +1 -1
  199. package/dist/dso-toolkit/{p-04844de1.entry.js → p-0ac3a3de.entry.js} +1 -1
  200. package/dist/dso-toolkit/{p-8cbb00ac.entry.js → p-0ae3842c.entry.js} +1 -1
  201. package/dist/dso-toolkit/{p-d64bd153.entry.js → p-13452ded.entry.js} +1 -1
  202. package/dist/dso-toolkit/{p-5901d652.entry.js → p-19db23e6.entry.js} +1 -1
  203. package/dist/dso-toolkit/{p-29dc27dc.entry.js → p-203a8fe6.entry.js} +1 -1
  204. package/dist/dso-toolkit/{p-38616371.entry.js → p-29e65763.entry.js} +1 -1
  205. package/dist/dso-toolkit/{p-036e7b74.entry.js → p-29edc9ad.entry.js} +1 -1
  206. package/dist/dso-toolkit/{p-a43a81a4.entry.js → p-2cb4f6f2.entry.js} +1 -1
  207. package/dist/dso-toolkit/{p-3a6a1010.entry.js → p-2dda5d7c.entry.js} +1 -1
  208. package/dist/dso-toolkit/{p-d819abc5.entry.js → p-313ae4fd.entry.js} +1 -1
  209. package/dist/dso-toolkit/{p-3825c4e5.entry.js → p-34f7bdc3.entry.js} +1 -1
  210. package/dist/dso-toolkit/{p-8f90718f.entry.js → p-3a741744.entry.js} +1 -1
  211. package/dist/dso-toolkit/{p-6a68177b.entry.js → p-3ba34be2.entry.js} +1 -1
  212. package/dist/dso-toolkit/{p-fb8860e1.entry.js → p-3ef40051.entry.js} +1 -1
  213. package/dist/dso-toolkit/{p-08a7e828.entry.js → p-41aa1f46.entry.js} +1 -1
  214. package/dist/dso-toolkit/{p-bb0d9c4a.entry.js → p-43dc5659.entry.js} +1 -1
  215. package/dist/dso-toolkit/{p-4aa3ca6c.entry.js → p-463a7d51.entry.js} +1 -1
  216. package/dist/dso-toolkit/{p-e442fe62.entry.js → p-49c11428.entry.js} +1 -1
  217. package/dist/dso-toolkit/{p-5f6a6095.entry.js → p-4a15a625.entry.js} +1 -1
  218. package/dist/dso-toolkit/{p-b1fc14cc.entry.js → p-4a39ddbe.entry.js} +1 -1
  219. package/dist/dso-toolkit/{p-ec2fc65e.entry.js → p-4d1d9945.entry.js} +1 -1
  220. package/dist/dso-toolkit/{p-9f214aa4.entry.js → p-4d5eeb56.entry.js} +1 -1
  221. package/dist/dso-toolkit/{p-904250ca.entry.js → p-52e324cd.entry.js} +1 -1
  222. package/dist/dso-toolkit/{p-b26c5285.entry.js → p-54448391.entry.js} +1 -1
  223. package/dist/dso-toolkit/{p-e3d0debf.entry.js → p-55887adb.entry.js} +1 -1
  224. package/dist/dso-toolkit/{p-0b1d6ae8.entry.js → p-586a9e1e.entry.js} +1 -1
  225. package/dist/dso-toolkit/{p-d0196ffd.entry.js → p-5dd2c05d.entry.js} +1 -1
  226. package/dist/dso-toolkit/{p-b8a488af.entry.js → p-60035330.entry.js} +1 -1
  227. package/dist/dso-toolkit/{p-25483f0a.entry.js → p-62c543dc.entry.js} +1 -1
  228. package/dist/dso-toolkit/{p-64331ac9.entry.js → p-720b739f.entry.js} +1 -1
  229. package/dist/dso-toolkit/{p-a3003466.entry.js → p-83531650.entry.js} +1 -1
  230. package/dist/dso-toolkit/{p-13c27118.entry.js → p-8b99c8d6.entry.js} +1 -1
  231. package/dist/dso-toolkit/{p-8e4964ac.entry.js → p-8bdbd2ef.entry.js} +1 -1
  232. package/dist/dso-toolkit/{p-26c32a38.entry.js → p-933679e3.entry.js} +1 -1
  233. package/dist/dso-toolkit/{p-5f2269ec.entry.js → p-97b89bdd.entry.js} +1 -1
  234. package/dist/dso-toolkit/{p-6bcf7a01.entry.js → p-98710ef4.entry.js} +1 -1
  235. package/dist/dso-toolkit/{p-0630c10c.entry.js → p-9b048854.entry.js} +1 -1
  236. package/dist/dso-toolkit/{p-0ee52216.entry.js → p-9d4d2f13.entry.js} +1 -1
  237. package/dist/dso-toolkit/{p-58c0e2ef.entry.js → p-9f03105d.entry.js} +1 -1
  238. package/dist/dso-toolkit/{p-DoJpDsvb.js → p-9p_CFvZ-.js} +1 -1
  239. package/dist/dso-toolkit/p-CaUODZP2.js +1 -0
  240. package/dist/dso-toolkit/p-CbzzkvTI.js +1 -0
  241. package/dist/dso-toolkit/{p-Dksz1aH2.js → p-DJ1NroNb.js} +1 -1
  242. package/dist/dso-toolkit/p-DNjuUAVe.js +1 -0
  243. package/dist/dso-toolkit/p-DRum3iIs.js +3 -0
  244. package/dist/dso-toolkit/{p-b8a0d3b9.entry.js → p-a2756401.entry.js} +1 -1
  245. package/dist/dso-toolkit/{p-6835e07d.entry.js → p-a493e05a.entry.js} +1 -1
  246. package/dist/dso-toolkit/{p-2a32cbeb.entry.js → p-a67c3462.entry.js} +1 -1
  247. package/dist/dso-toolkit/{p-823c047d.entry.js → p-abc5cce2.entry.js} +1 -1
  248. package/dist/dso-toolkit/{p-e4181a16.entry.js → p-acb47b55.entry.js} +1 -1
  249. package/dist/dso-toolkit/{p-227620ac.entry.js → p-ae3411b2.entry.js} +1 -1
  250. package/dist/dso-toolkit/{p-e3ba6480.entry.js → p-aef0052a.entry.js} +1 -1
  251. package/dist/dso-toolkit/{p-83ab25e2.entry.js → p-b2a7d818.entry.js} +1 -1
  252. package/dist/dso-toolkit/{p-9b4dc3ef.entry.js → p-b503325f.entry.js} +1 -1
  253. package/dist/dso-toolkit/{p-1c1b27c0.entry.js → p-b79d615d.entry.js} +1 -1
  254. package/dist/dso-toolkit/{p-9df806f0.entry.js → p-bc97ac64.entry.js} +1 -1
  255. package/dist/dso-toolkit/{p-835cd682.entry.js → p-bfc9427b.entry.js} +1 -1
  256. package/dist/dso-toolkit/{p-b093e2f2.entry.js → p-bfd42b60.entry.js} +1 -1
  257. package/dist/dso-toolkit/{p-1f197259.entry.js → p-c4272a9b.entry.js} +1 -1
  258. package/dist/dso-toolkit/{p-aec8f591.entry.js → p-c783db96.entry.js} +1 -1
  259. package/dist/dso-toolkit/{p-e2c97b41.entry.js → p-d60b7d93.entry.js} +1 -1
  260. package/dist/dso-toolkit/{p-1007fdd3.entry.js → p-d8651e64.entry.js} +1 -1
  261. package/dist/dso-toolkit/{p-bc3eb1dd.entry.js → p-df8236ac.entry.js} +1 -1
  262. package/dist/dso-toolkit/{p-c15a3689.entry.js → p-e2eef594.entry.js} +1 -1
  263. package/dist/dso-toolkit/{p-801a459f.entry.js → p-eaf7254a.entry.js} +1 -1
  264. package/dist/dso-toolkit/{p-4ec77050.entry.js → p-effacc32.entry.js} +1 -1
  265. package/dist/dso-toolkit/{p-54036b31.entry.js → p-f8c06305.entry.js} +1 -1
  266. package/dist/dso-toolkit/{p-7ff8aa45.entry.js → p-fa6555ca.entry.js} +2 -2
  267. package/dist/dso-toolkit/{p-DkZG4rwC.js → p-l4BLdB_D.js} +1 -1
  268. package/dist/dso-toolkit/p-noqEYbaN.js +1 -0
  269. package/dist/esm/{annotation-body-lbq2tmAQ.js → annotation-body-CqTmkX2S.js} +1 -1
  270. package/dist/esm/{annotation-list-renvooi-values-iAOwX0lR.js → annotation-list-renvooi-values-FuYSl5Zy.js} +1 -1
  271. package/dist/esm/{annotation-watcher-COiqhqqD.js → annotation-watcher-BFKtAXqi.js} +1 -1
  272. package/dist/esm/dso-accordion-section.entry.js +1 -1
  273. package/dist/esm/dso-accordion.entry.js +2 -2
  274. package/dist/esm/dso-action-list-item.entry.js +1 -1
  275. package/dist/esm/dso-action-list.entry.js +1 -1
  276. package/dist/esm/dso-advanced-select.entry.js +1 -1
  277. package/dist/esm/dso-alert_7.entry.js +4 -4
  278. package/dist/esm/dso-annotation-activiteit.entry.js +4 -4
  279. package/dist/esm/dso-annotation-gebiedsaanwijzing.entry.js +3 -3
  280. package/dist/esm/dso-annotation-kaart.entry.js +2 -2
  281. package/dist/esm/dso-annotation-locatie_2.entry.js +4 -4
  282. package/dist/esm/dso-annotation-omgevingsnormwaarde.entry.js +4 -4
  283. package/dist/esm/dso-attachments-counter_2.entry.js +1 -1
  284. package/dist/esm/dso-autosuggest.entry.js +2 -2
  285. package/dist/esm/dso-banner.entry.js +1 -1
  286. package/dist/esm/dso-button-group.entry.js +1 -1
  287. package/dist/esm/dso-card-container.entry.js +1 -1
  288. package/dist/esm/dso-card.entry.js +1 -1
  289. package/dist/esm/dso-contact-information.entry.js +1 -1
  290. package/dist/esm/dso-cursor-tooltip.entry.js +1 -1
  291. package/dist/esm/dso-date-picker.entry.js +1 -1
  292. package/dist/esm/dso-document-card.entry.js +1 -1
  293. package/dist/esm/dso-dropdown-menu-group.entry.js +1 -1
  294. package/dist/esm/dso-dropdown-menu-item.entry.js +1 -1
  295. package/dist/esm/dso-dropdown-menu.entry.js +2 -2
  296. package/dist/esm/dso-grid-column.entry.js +1 -1
  297. package/dist/esm/dso-header.entry.js +1 -1
  298. package/dist/esm/dso-hero-image.entry.js +1 -1
  299. package/dist/esm/dso-highlight-box.entry.js +1 -1
  300. package/dist/esm/dso-history-item.entry.js +1 -1
  301. package/dist/esm/dso-icon_2.entry.js +2 -2
  302. package/dist/esm/dso-info_3.entry.js +2 -2
  303. package/dist/esm/dso-input-range.entry.js +1 -1
  304. package/dist/esm/dso-label_3.entry.js +1 -1
  305. package/dist/esm/dso-legend-group.entry.js +1 -1
  306. package/dist/esm/dso-legend-item.entry.js +1 -1
  307. package/dist/esm/dso-legend.entry.js +1 -1
  308. package/dist/esm/dso-list-button.entry.js +1 -1
  309. package/dist/esm/dso-logo.entry.js +1 -1
  310. package/dist/esm/dso-map-base-layers.entry.js +1 -1
  311. package/dist/esm/dso-map-controls.entry.js +1 -1
  312. package/dist/esm/dso-map-layer-object.entry.js +2 -2
  313. package/dist/esm/dso-map-layer.entry.js +2 -2
  314. package/dist/esm/dso-map-message.entry.js +1 -1
  315. package/dist/esm/dso-map-overlays.entry.js +1 -1
  316. package/dist/esm/dso-mark-bar.entry.js +1 -1
  317. package/dist/esm/dso-modal.entry.js +1 -1
  318. package/dist/esm/dso-onboarding-tip.entry.js +1 -1
  319. package/dist/esm/dso-pagination.entry.js +1 -1
  320. package/dist/esm/dso-plekinfo-card-item.entry.js +2 -2
  321. package/dist/esm/dso-plekinfo-card.entry.js +2 -2
  322. package/dist/esm/dso-progress-indicator.entry.js +1 -1
  323. package/dist/esm/dso-project-item.entry.js +1 -1
  324. package/dist/esm/dso-responsive-element.entry.js +1 -1
  325. package/dist/esm/dso-scrollable.entry.js +1 -1
  326. package/dist/esm/dso-segmented-button.entry.js +1 -1
  327. package/dist/esm/dso-shopping-cart-item.entry.js +1 -1
  328. package/dist/esm/dso-shopping-cart.entry.js +1 -1
  329. package/dist/esm/dso-skiplink.entry.js +1 -1
  330. package/dist/esm/dso-survey-rating.entry.js +1 -1
  331. package/dist/esm/dso-tab.entry.js +1 -1
  332. package/dist/esm/dso-tabs.entry.js +1 -1
  333. package/dist/esm/dso-tijdreis-banner.entry.js +1 -1
  334. package/dist/esm/dso-toolkit.js +3 -3
  335. package/dist/esm/dso-tree-view.entry.js +1 -1
  336. package/dist/esm/dso-truncate.entry.js +2 -2
  337. package/dist/esm/dso-viewer-grid.entry.js +1 -1
  338. package/dist/esm/dsot-document-component-demo.entry.js +1 -1
  339. package/dist/esm/{index-2sI1K6K0.js → index-DRum3iIs.js} +61 -36
  340. package/dist/esm/{index-LpJ181Xi.js → index-DwoAzq3s.js} +1 -1
  341. package/dist/esm/loader.js +2 -2
  342. package/dist/esm/{parse-wijzigactie-from-node.function-CrOTV1B6.js → parse-wijzigactie-from-node.function-CWi28sOz.js} +1 -1
  343. package/dist/esm/{tooltip.functional-component-3fxPwYtA.js → tooltip.functional-component-CG73I6Pr.js} +1 -1
  344. package/dist/esm/{wrap-wijzigactie.functional-component-C-ha4z-Y.js → wrap-wijzigactie.functional-component-D-6MhU03.js} +1 -1
  345. package/dist/types/stencil-public-runtime.d.ts +61 -55
  346. package/package.json +4 -4
  347. package/dist/dso-toolkit/p-2sI1K6K0.js +0 -3
  348. package/dist/dso-toolkit/p-B_Ud6lxQ.js +0 -1
  349. package/dist/dso-toolkit/p-C0I7oJkh.js +0 -1
  350. package/dist/dso-toolkit/p-CUqv0PSk.js +0 -1
  351. package/dist/dso-toolkit/p-DxsAk2iQ.js +0 -1
@@ -1,8 +1,8 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-BBx5yytN.js');
3
+ var index = require('./index-nobQUdjz.js');
4
4
  var tooltip_controller = require('./tooltip.controller-Cvac0qe3.js');
5
- var tooltip_functionalComponent = require('./tooltip.functional-component-DOBjuEpE.js');
5
+ var tooltip_functionalComponent = require('./tooltip.functional-component-Emx05bWV.js');
6
6
  require('./position-tooltip.function-DCOaqlbY.js');
7
7
  require('./floating-ui.dom-BKTTOpb1.js');
8
8
 
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-BBx5yytN.js');
3
+ var index = require('./index-nobQUdjz.js');
4
4
  var clsx = require('./clsx-BtxeOLZW.js');
5
5
  var index$1 = require('./index-DMUCyuUA.js');
6
6
 
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-BBx5yytN.js');
3
+ var index = require('./index-nobQUdjz.js');
4
4
  var _commonjsHelpers = require('./_commonjsHelpers-BJu3ubxk.js');
5
5
 
6
6
  /**
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-BBx5yytN.js');
3
+ var index = require('./index-nobQUdjz.js');
4
4
 
5
5
  const appendToMap = (map, refsByValue, propName, value) => {
6
6
  let ref = refsByValue.get(value);
@@ -5,7 +5,7 @@ const BUILD = /* dso-toolkit */ { allRenderFn: true, appendChildSlotFix: false,
5
5
  const Env = /* dso-toolkit */ {};
6
6
 
7
7
  /*
8
- Stencil Client Platform v4.44.2 | MIT Licensed | https://stenciljs.com
8
+ Stencil Client Platform v4.45.2 | MIT Licensed | https://stenciljs.com
9
9
  */
10
10
 
11
11
  var Build = {
@@ -188,7 +188,7 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
188
188
 
189
189
  // src/client/client-style.ts
190
190
  var styles = /* @__PURE__ */ new Map();
191
- var modeResolutionChain = [];
191
+ var modeResolver = [];
192
192
  var setScopedSSR = (_opts) => {
193
193
  };
194
194
  var needsScopedSSR = () => false;
@@ -274,7 +274,7 @@ var queueDomWrites = [];
274
274
  var queueDomWritesLow = [];
275
275
  var scheduleFlush = () => {
276
276
  var _a;
277
- return ((_a = win.document) == null ? void 0 : _a.hidden) ? nextTick(flush) : plt.raf(flush);
277
+ return ((_a = win.document) == null ? void 0 : _a.hidden) ? setTimeout(flush, 16) : plt.raf(flush);
278
278
  };
279
279
  var queueTask = (queue, write) => (cb) => {
280
280
  queue.push(cb);
@@ -2016,13 +2016,14 @@ var scopeSelector = (selector, scopeSelectorText, hostSelector, slotSelector) =>
2016
2016
  }
2017
2017
  }).join(", ");
2018
2018
  };
2019
+ var isScopableAtRule = (selector) => selector.startsWith("@media") || selector.startsWith("@supports") || selector.startsWith("@page") || selector.startsWith("@document") || selector.startsWith("@layer") || selector.startsWith("@container");
2019
2020
  var scopeSelectors = (cssText, scopeSelectorText, hostSelector, slotSelector, commentOriginalSelector) => {
2020
2021
  return processRules(cssText, (rule) => {
2021
2022
  let selector = rule.selector;
2022
2023
  let content = rule.content;
2023
2024
  if (rule.selector[0] !== "@") {
2024
2025
  selector = scopeSelector(rule.selector, scopeSelectorText, hostSelector, slotSelector);
2025
- } else if (rule.selector.startsWith("@media") || rule.selector.startsWith("@supports") || rule.selector.startsWith("@page") || rule.selector.startsWith("@document")) {
2026
+ } else if (isScopableAtRule(rule.selector)) {
2026
2027
  content = scopeSelectors(rule.content, scopeSelectorText, hostSelector, slotSelector);
2027
2028
  }
2028
2029
  const cssRule = {
@@ -2101,15 +2102,16 @@ var scopeCss = (cssText, scopeId2, commentOriginalSelector) => {
2101
2102
  rule.selector = placeholder + rule.selector;
2102
2103
  return rule;
2103
2104
  };
2104
- cssText = processRules(cssText, (rule) => {
2105
+ const commentSelectors = (input) => processRules(input, (rule) => {
2105
2106
  if (rule.selector[0] !== "@") {
2106
2107
  return processCommentedSelector(rule);
2107
- } else if (rule.selector.startsWith("@media") || rule.selector.startsWith("@supports") || rule.selector.startsWith("@page") || rule.selector.startsWith("@document")) {
2108
- rule.content = processRules(rule.content, processCommentedSelector);
2109
- return rule;
2108
+ }
2109
+ if (isScopableAtRule(rule.selector)) {
2110
+ rule.content = commentSelectors(rule.content);
2110
2111
  }
2111
2112
  return rule;
2112
2113
  });
2114
+ cssText = commentSelectors(cssText);
2113
2115
  }
2114
2116
  const scoped = scopeCssText(cssText, scopeId2, hostScopeId, slotScopeId);
2115
2117
  cssText = [scoped.cssText, ...commentsWithHash].join("\n");
@@ -2127,8 +2129,11 @@ var scopeCss = (cssText, scopeId2, commentOriginalSelector) => {
2127
2129
  };
2128
2130
 
2129
2131
  // src/runtime/mode.ts
2130
- var computeMode = (elm) => modeResolutionChain.map((h2) => h2(elm)).find((m) => !!m);
2131
- var setMode = (handler) => modeResolutionChain.push(handler);
2132
+ var computeMode = (elm) => modeResolver.map((h2) => h2(elm)).find((m) => !!m);
2133
+ var setMode = (handler) => {
2134
+ modeResolver.length = 0;
2135
+ modeResolver.push(handler);
2136
+ };
2132
2137
  var getMode = (ref) => {
2133
2138
  var _a;
2134
2139
  return (_a = getHostRef(ref)) == null ? void 0 : _a.$modeName$;
@@ -2340,7 +2345,12 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRen
2340
2345
  newClasses = [...new Set(newClasses)].filter((c) => c);
2341
2346
  classList.add(...newClasses);
2342
2347
  } else {
2343
- classList.remove(...oldClasses.filter((c) => c && !newClasses.includes(c)));
2348
+ let removedClasses = oldClasses.filter((c) => c && !newClasses.includes(c));
2349
+ if (BUILD.hydrateClientSide && initialRender && !(flags & 4 /* isHost */)) {
2350
+ const ownClasses = getOwnHostClasses(elm);
2351
+ removedClasses = removedClasses.filter((c) => !ownClasses.includes(c));
2352
+ }
2353
+ classList.remove(...removedClasses);
2344
2354
  classList.add(...newClasses.filter((c) => c && !oldClasses.includes(c)));
2345
2355
  }
2346
2356
  } else if (BUILD.vdomStyle && memberName === "style") {
@@ -2465,6 +2475,18 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRen
2465
2475
  var ENUMERATED_ATTRIBUTES = /* @__PURE__ */ new Set(["draggable", "contenteditable", "spellcheck"]);
2466
2476
  var isEnumeratedAttribute = (attrName) => ENUMERATED_ATTRIBUTES.has(attrName) || attrName.startsWith("aria-");
2467
2477
  var parseClassListRegex = /\s/;
2478
+ var getOwnHostClasses = (elm) => {
2479
+ var _a, _b, _c;
2480
+ const hostRef = getHostRef(elm);
2481
+ if (!hostRef || !(hostRef.$flags$ & 2 /* hasRendered */)) {
2482
+ return [];
2483
+ }
2484
+ const ownClasses = parseClassList((_b = (_a = hostRef.$vnode$) == null ? void 0 : _a.$attrs$) == null ? void 0 : _b.class);
2485
+ if (BUILD.hydratedClass) {
2486
+ ownClasses.push((_c = BUILD.hydratedSelectorName) != null ? _c : "hydrated");
2487
+ }
2488
+ return ownClasses;
2489
+ };
2468
2490
  var parseClassList = (value) => {
2469
2491
  if (typeof value === "object" && value && "baseVal" in value) {
2470
2492
  value = value.baseVal;
@@ -2766,7 +2788,7 @@ var updateChildren = (parentElm, oldCh, newVNode2, newCh, isInitialRender = fals
2766
2788
  if (BUILD.vdomKey && idxInOld >= 0) {
2767
2789
  elmToMove = oldCh[idxInOld];
2768
2790
  if (elmToMove.$tag$ !== newStartVnode.$tag$) {
2769
- node = createElm(oldCh && oldCh[newStartIdx], newVNode2, idxInOld);
2791
+ node = createElm(oldCh && oldCh[newStartIdx], newVNode2, newStartIdx);
2770
2792
  } else {
2771
2793
  patch(elmToMove, newStartVnode, isInitialRender);
2772
2794
  oldCh[idxInOld] = void 0;
@@ -3537,6 +3559,19 @@ var setValue = (ref, propName, newVal, cmpMeta) => {
3537
3559
 
3538
3560
  // src/runtime/proxy-component.ts
3539
3561
  var reflectedAttrValue = (propValue) => propValue == null || propValue === false ? null : propValue === true ? "" : String(propValue);
3562
+ var replayPendingSetterValues = (hostRef, cmpMeta) => {
3563
+ var _a;
3564
+ const instance = hostRef.$lazyInstance$;
3565
+ if (!instance) return;
3566
+ for (const [memberName, [memberFlags]] of Object.entries((_a = cmpMeta.$members$) != null ? _a : {})) {
3567
+ if (memberFlags & 4096 /* Setter */ && hostRef.$instanceValues$.has(memberName)) {
3568
+ const pendingValue = hostRef.$instanceValues$.get(memberName);
3569
+ if (instance[memberName] !== pendingValue) {
3570
+ instance[memberName] = pendingValue;
3571
+ }
3572
+ }
3573
+ }
3574
+ };
3540
3575
  var proxyComponent = (Cstr, cmpMeta, flags) => {
3541
3576
  var _a, _b;
3542
3577
  const prototype = Cstr.prototype;
@@ -3593,9 +3628,8 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
3593
3628
  return getValue(this, memberName);
3594
3629
  }
3595
3630
  const ref = getHostRef(this);
3596
- const instance = ref ? ref.$lazyInstance$ : prototype;
3597
- if (!instance) return;
3598
- return instance[memberName];
3631
+ if (!ref) return prototype[memberName];
3632
+ return ref.$lazyInstance$ ? ref.$lazyInstance$[memberName] : getValue(this, memberName);
3599
3633
  }
3600
3634
  if (!BUILD.lazyLoad) {
3601
3635
  return origGetter ? origGetter.apply(this) : getValue(this, memberName);
@@ -3649,33 +3683,22 @@ More information: https://stenciljs.com/docs/properties#prop-mutability`
3649
3683
  if (BUILD.lazyLoad) {
3650
3684
  if ((flags & 1 /* isElementConstructor */) === 0 || (cmpMeta.$members$[memberName][0] & 4096 /* Setter */) === 0) {
3651
3685
  setValue(this, memberName, newValue, cmpMeta);
3652
- if (flags & 1 /* isElementConstructor */ && !ref.$lazyInstance$) {
3653
- ref.$fetchedCbList$.push(() => {
3654
- if (cmpMeta.$members$[memberName][0] & 4096 /* Setter */ && ref.$lazyInstance$[memberName] !== ref.$instanceValues$.get(memberName)) {
3655
- ref.$lazyInstance$[memberName] = newValue;
3656
- }
3657
- });
3658
- }
3659
3686
  return;
3660
3687
  }
3661
- const setterSetVal = () => {
3688
+ const parsedValue = parsePropertyValue(
3689
+ newValue,
3690
+ memberFlags,
3691
+ BUILD.formAssociated && !!(cmpMeta.$flags$ & 64 /* formAssociated */)
3692
+ );
3693
+ if (ref.$lazyInstance$) {
3662
3694
  const currentValue = ref.$lazyInstance$[memberName];
3663
3695
  if (!ref.$instanceValues$.get(memberName) && currentValue) {
3664
3696
  ref.$instanceValues$.set(memberName, currentValue);
3665
3697
  }
3666
- ref.$lazyInstance$[memberName] = parsePropertyValue(
3667
- newValue,
3668
- memberFlags,
3669
- BUILD.formAssociated && !!(cmpMeta.$flags$ & 64 /* formAssociated */)
3670
- );
3698
+ ref.$lazyInstance$[memberName] = parsedValue;
3671
3699
  setValue(this, memberName, ref.$lazyInstance$[memberName], cmpMeta);
3672
- };
3673
- if (ref.$lazyInstance$) {
3674
- setterSetVal();
3675
3700
  } else {
3676
- ref.$fetchedCbList$.push(() => {
3677
- setterSetVal();
3678
- });
3701
+ ref.$instanceValues$.set(memberName, parsedValue);
3679
3702
  }
3680
3703
  }
3681
3704
  }
@@ -3757,7 +3780,8 @@ More information: https://stenciljs.com/docs/properties#prop-mutability`
3757
3780
  }
3758
3781
  const isSpuriousBooleanRemoval = isBooleanTarget && newValue === null && this[propName] === void 0;
3759
3782
  if (isBooleanTarget) {
3760
- newValue = newValue === null || newValue === "false" ? false : true;
3783
+ const isFormAssociated = BUILD.formAssociated && !!(cmpMeta.$flags$ & 64 /* formAssociated */);
3784
+ newValue = newValue === null || newValue === "false" && !isFormAssociated ? false : true;
3761
3785
  }
3762
3786
  const propDesc = Object.getOwnPropertyDescriptor(prototype, propName);
3763
3787
  if (!isSpuriousBooleanRemoval && newValue != this[propName] && (!propDesc.get || !!propDesc.set)) {
@@ -3833,6 +3857,7 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
3833
3857
  }
3834
3858
  if (BUILD.member) {
3835
3859
  hostRef.$flags$ &= -9 /* isConstructingInstance */;
3860
+ replayPendingSetterValues(hostRef, cmpMeta);
3836
3861
  }
3837
3862
  if (BUILD.propChangeCallback) {
3838
3863
  hostRef.$flags$ |= 128 /* isWatchReady */;
@@ -4685,7 +4710,7 @@ var StencilCore = /*#__PURE__*/Object.freeze({
4685
4710
  jsxDEV: jsxDEV,
4686
4711
  jsxs: jsxs,
4687
4712
  loadModule: loadModule,
4688
- modeResolutionChain: modeResolutionChain,
4713
+ modeResolver: modeResolver,
4689
4714
  needsScopedSSR: needsScopedSSR,
4690
4715
  nextTick: nextTick,
4691
4716
  normalizeWatchers: normalizeWatchers,
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-BBx5yytN.js');
3
+ var index = require('./index-nobQUdjz.js');
4
4
  var appGlobals = require('./app-globals-V2Kpy_OQ.js');
5
5
 
6
6
  const defineCustomElements = async (win, options) => {
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-BBx5yytN.js');
3
+ var index = require('./index-nobQUdjz.js');
4
4
 
5
5
  const MarkText = ({ mark, text, emitMarkItemHighlight }) => {
6
6
  const result = mark(text);
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-BBx5yytN.js');
3
+ var index = require('./index-nobQUdjz.js');
4
4
 
5
5
  const Tooltip = ({ id, tipElementRef, tipArrowElementRef }, children) => (index.h("div", { id: id, popover: "manual", class: "dso-tooltip", ref: tipElementRef }, index.h("span", { class: "tooltip-arrow", ref: tipArrowElementRef }), index.h("div", { class: "tooltip-inner" }, children)));
6
6
 
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-BBx5yytN.js');
3
+ var index = require('./index-nobQUdjz.js');
4
4
 
5
5
  const WrapWijzigactie = ({ wijzigactie, class: className }, children) => {
6
6
  if (wijzigactie === "voegtoe") {
@@ -83,7 +83,7 @@
83
83
  "mixins": [],
84
84
  "compiler": {
85
85
  "name": "@stencil/core",
86
- "version": "4.44.2",
86
+ "version": "4.45.2",
87
87
  "typescriptVersion": "5.8.3"
88
88
  },
89
89
  "collections": [],
@@ -4,6 +4,7 @@
4
4
  }
5
5
 
6
6
  .listbox-container {
7
+ container-type: inline-size;
7
8
  inset-inline: 0;
8
9
  inset-block-start: 100%;
9
10
  block-size: auto;
@@ -52,6 +53,11 @@
52
53
  display: flex;
53
54
  justify-content: space-between;
54
55
  }
56
+ @container (max-width: 480px) {
57
+ .listbox .option .suggestion-row {
58
+ flex-direction: column;
59
+ }
60
+ }
55
61
  .listbox .option:active {
56
62
  background-color: #275937;
57
63
  }
@@ -81,6 +87,11 @@ mark {
81
87
  .type {
82
88
  text-align: end;
83
89
  }
90
+ @container (max-width: 480px) {
91
+ .type {
92
+ text-align: start;
93
+ }
94
+ }
84
95
 
85
96
  .extra {
86
97
  font-size: 0.875rem;
@@ -88,4 +99,9 @@ mark {
88
99
  }
89
100
  .extra:not(:first-child) {
90
101
  text-align: end;
102
+ }
103
+ @container (max-width: 480px) {
104
+ .extra:not(:first-child) {
105
+ text-align: start;
106
+ }
91
107
  }
@@ -1 +1 @@
1
- import{proxyCustomElement as s,HTMLElement as t,createEvent as i,h as e,Fragment as o,transformTag as h}from"@stencil/core/internal/client";import{d as n}from"./index3.js";import{i as a}from"./i18n.js";import{d as r}from"./icon.js";import{d as u}from"./progress-indicator.js";import{d as c}from"./scrollable.js";import{v as d}from"./v4.js";const l={en:{"dso-autosuggest":{notFound:"{{inputValue}} was not found."}},nl:{"dso-autosuggest":{notFound:"{{inputValue}} is niet gevonden."}}},g=({id:s,mouseEnter:t,mouseLeave:i,click:o,selected:h,suggestion:n,ref:a,markedSuggestion:r})=>e("div",{class:"option",role:"option",id:s,onMouseEnter:t,onMouseLeave:i,onClick:o,"aria-selected":h,"aria-label":n.value,ref:a},e("div",{class:"suggestion-row"},e("span",{class:"value"},r.value),r.type?e("span",{class:"type"},r.type):void 0),r.extras&&r.extras.map((s=>e("div",{class:"suggestion-row"},s.map((s=>e("span",{class:"extra"},s)))))));function p(s){return!!s&&s.length>0&&s.every((s=>void 0!==s&&"groupLabel"in s&&void 0!==s.groupLabel&&"suggestions"in s&&s.suggestions.length>0))}function b(s){return!!s&&s.length>0&&s.every((s=>void 0!==s&&"value"in s&&void 0!==s.value))}const f=s(class extends t{constructor(s){super(),!1!==s&&this.__registerHost(),this.dsoSelect=i(this,"dsoSelect",7),this.dsoChange=i(this,"dsoChange",7),this.dsoSearch=i(this,"dsoSearch",7),this.suggestions=null,this.loading=!1,this.loadingLabel="Een moment geduld.",this.showSuggestions=!1,this.notFound=!1,this.showLoading=!1,this.listboxItems=[],this.listboxId=d(),this.inputId=d(),this.labelId=d(),this.resizeObserver=new ResizeObserver(n((()=>this.scheduleListboxContainerMaxBlockSizeUpdate()),150)),this.debouncedEmitValue=n((s=>{this.dsoChange.emit(s),this.debouncedShowLoading()}),200),this.debouncedShowLoading=n((()=>{this.inputValue&&(this.showLoading=!0)}),this.loadingDelayed),this.inputValue="",this.onInput=s=>{s.target instanceof HTMLInputElement&&(this.showLoading=!this.loadingDelayed,this.inputValue=s.target.value,this.debouncedEmitValue(s.target.value.match(/(\S+)/g)?s.target.value:""))},this.onFocusIn=()=>{this.input?.select(),this.suggestions&&this.suggestions.length>1&&this.openSuggestions()},this.text=a((()=>this.host),l),this.onWindowResize=n((()=>this.scheduleListboxContainerMaxBlockSizeUpdate()),150),this.onScrollend=()=>this.scheduleListboxContainerMaxBlockSizeUpdate(),this.onOptionClick=s=>{s.stopPropagation(),this.pickSelectedValue()},this.onKeyDown=s=>{if(!s.defaultPrevented&&!this.loading){switch(s.key){case"ArrowDown":this.showSuggestions?this.selectNextSuggestion():this.openSuggestions("first");break;case"ArrowUp":this.showSuggestions?this.selectPreviousSuggestion():this.openSuggestions("last");break;case"Tab":return void this.closeSuggestions();case"Escape":this.closeSuggestions();break;case"Enter":this.pickSelectedValue();break;default:return}s.preventDefault()}}}suggestionsWatcher(){this.resetSelectedSuggestion(),this.showSuggestions&&this.notFound||!this.inputValue?!this.showSuggestions&&!this.notFound||this.inputValue||this.closeSuggestions():this.openSuggestions()}handleSearchBarButtonKeydown(s){s.defaultPrevented||this.loading||"ArrowDown"!==s.key&&"ArrowUp"!==s.key||this.input&&s.target!==this.input&&this.isEventInOwnSearchBar(s)&&(s.preventDefault(),this.input.focus(),this.openSuggestions("ArrowDown"===s.key?"first":"last"))}isEventInOwnSearchBar(s){const t=this.host.closest(".dso-search-bar");return!!t&&s.composedPath().includes(t)}onDocumentClick(s){(this.showSuggestions||this.notFound)&&this.listbox&&s.target instanceof Node&&!this.listbox.contains(s.target)&&this.input!==s.target&&this.closeSuggestions()}componentDidRender(){this.scheduleListboxContainerMaxBlockSizeUpdate()}connectedCallback(){const s=this.host.querySelector('input[type="text"]');if(!(s instanceof HTMLInputElement))return;if(this.input=s,s.id?this.inputId=s.id:s.id=this.inputId,!this.input.labels||this.input.labels.length<1)return;const t=this.input.labels[0];t?.id?this.labelId=t.id:t&&(t.id=this.labelId),this.input.setAttribute("role","combobox"),this.input.setAttribute("aria-haspopup","listbox"),this.input.setAttribute("aria-expanded","false"),this.input.setAttribute("autocomplete","off"),this.input.setAttribute("aria-autocomplete","list"),this.input.setAttribute("aria-activedescendant",""),this.input.addEventListener("input",this.onInput),this.input.addEventListener("keydown",this.onKeyDown),this.input.addEventListener("focusin",this.onFocusIn),window.addEventListener("resize",this.onWindowResize),document.addEventListener("scrollend",this.onScrollend),this.resizeObserver.observe(this.host)}disconnectedCallback(){this.input?.removeEventListener("input",this.onInput),this.input?.removeEventListener("keydown",this.onKeyDown),this.input?.removeEventListener("focusin",this.onFocusIn),window.removeEventListener("resize",this.onWindowResize),document.removeEventListener("scrollend",this.onScrollend),void 0!==this.listboxContainerMaxBlockSizeFrameId&&(cancelAnimationFrame(this.listboxContainerMaxBlockSizeFrameId),this.listboxContainerMaxBlockSizeFrameId=void 0),this.resizeObserver.disconnect()}scheduleListboxContainerMaxBlockSizeUpdate(){void 0===this.listboxContainerMaxBlockSizeFrameId&&(this.listboxContainerMaxBlockSizeFrameId=requestAnimationFrame((()=>{this.listboxContainerMaxBlockSizeFrameId=void 0,this.setListboxContainerMaxBlockSize()})))}setListboxContainerMaxBlockSize(){if(this.listboxContainer&&this.showSuggestions&&this.showSuggestions){let s=0;const t=this.listboxItems.length?Math.min(this.listboxItems.length,10):0;for(let i=0;i<t;i++)s+=this.listboxItems[i]?.getBoundingClientRect().height||0;const i=window.innerHeight-this.host.getBoundingClientRect().bottom,e=s+16+2;this.listboxContainer.style.setProperty("--_dso-autosuggest-max-block-size",(i<e||i<=s?i-16:e)+"px")}}showInputValueNotFound(s){return this.processAutosuggestMarkItems(this.markTerms(this.input?.value.split(" ").filter((s=>s))??[],s))}handleMark(s,t,i,e){return this.processAutosuggestMarkItems(this.mark&&i?this.mark(s,t,i,e):this.markTerms(this.input?.value.split(" ").filter((s=>s))??[],t))}markTerms(s,t){if(!t||!s||0===s.length||void 0===s[0])return[""];const i=RegExp(`(${function(s){if("string"!=typeof s)throw new TypeError("Expected a string");return s.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}(s[0])})`,"gi");return t.split(i).reduce(((t,e)=>(e?i.test(e)?t.push({mark:e}):1===s.length?t.push(e):t.push(...this.markTerms(s.slice(1),e)):t.push(e),t)),[])}processAutosuggestMarkItems(s){return 0===s.length?[""]:s.map((s=>"object"==typeof s?e("mark",null,s.mark):s))}selectSuggestion(s,t){this.selectedSuggestion=s,this.selectedSuggestionGroup=t,this.setAriaActiveDescendant()}selectFirstSuggestion(){this.suggestions&&(p(this.suggestions)&&this.selectedSuggestionGroup?this.selectedSuggestion=this.selectedSuggestionGroup.suggestions[0]:b(this.suggestions)&&(this.selectedSuggestion=this.suggestions[0]),this.setAriaActiveDescendant(!0))}selectLastSuggestion(){this.suggestions&&(p(this.suggestions)&&this.selectedSuggestionGroup?this.selectedSuggestion=this.selectedSuggestionGroup.suggestions[this.selectedSuggestionGroup.suggestions.length-1]:b(this.suggestions)&&(this.selectedSuggestion=this.suggestions[this.suggestions.length-1]),this.setAriaActiveDescendant(!0))}selectNextSuggestion(){if(this.suggestions){if(p(this.suggestions))this.selectNextGroupedSuggestion();else{const s=this.selectedSuggestion?this.suggestions.indexOf(this.selectedSuggestion):-1;this.selectedSuggestion=this.suggestions[s+1]??this.suggestions[0]}this.setAriaActiveDescendant(!0)}}selectNextGroupedSuggestion(){if(this.suggestions)if(this.selectedSuggestionGroup){const s=this.selectedSuggestion?this.selectedSuggestionGroup.suggestions.indexOf(this.selectedSuggestion):-1;if(s===this.selectedSuggestionGroup.suggestions.length-1){const s=this.suggestionGroups.indexOf(this.selectedSuggestionGroup);this.selectedSuggestionGroup=this.suggestionGroups[s+1]??this.suggestionGroups[0],this.selectedSuggestion=this.selectedSuggestionGroup.suggestions[0]}else this.selectedSuggestion=this.selectedSuggestionGroup.suggestions[s+1]}else this.selectedSuggestionGroup=this.suggestionGroups[0],this.selectedSuggestion=this.selectedSuggestionGroup.suggestions[0]}selectPreviousSuggestion(){if(this.suggestions){if(p(this.suggestions))this.selectPreviousGroupedSuggestion();else{const s=this.selectedSuggestion?this.suggestions.indexOf(this.selectedSuggestion):0;this.selectedSuggestion=this.suggestions[s-1]??this.suggestions[this.suggestions.length-1]}this.setAriaActiveDescendant(!0)}}selectPreviousGroupedSuggestion(){if(this.suggestions)if(this.selectedSuggestionGroup){const s=this.selectedSuggestion?this.selectedSuggestionGroup.suggestions.indexOf(this.selectedSuggestion):-1;if(0===s){const s=this.suggestionGroups.indexOf(this.selectedSuggestionGroup);this.selectedSuggestionGroup=this.suggestionGroups[s-1]??this.suggestionGroups[this.suggestions.length-1],this.selectedSuggestion=this.selectedSuggestionGroup.suggestions[this.selectedSuggestionGroup.suggestions.length-1]}else this.selectedSuggestion=this.selectedSuggestionGroup.suggestions[s-1]}else this.selectedSuggestionGroup=this.suggestionGroups[this.suggestions.length-1],this.selectedSuggestion=this.selectedSuggestionGroup.suggestions[this.selectedSuggestionGroup.suggestions.length-1]}get suggestionGroups(){return p(this.suggestions)?this.suggestions:[]}setAriaActiveDescendant(s=!1){if(this.selectedSuggestion){const t=this.selectedSuggestionGroup?this.listboxGroupedItemId(this.selectedSuggestionGroup,this.selectedSuggestion):this.listboxItemId(this.selectedSuggestion);if(this.input?.setAttribute("aria-activedescendant",t),s){const s=this.host.getRootNode();if(!(s instanceof Document||s instanceof ShadowRoot))return void console.warn("Autosuggest: rootNode is not instance of Document or ShadowRoot");s.querySelector("#"+t)?s.querySelector("#"+t)?.scrollIntoView({block:"nearest"}):console.warn(`Autosuggest: Element with id ${t} is not found in the DOM.`)}}}resetSelectedSuggestion(){this.showLoading=!this.loadingDelayed,this.notFound=!1,this.selectedSuggestion=void 0,this.selectedSuggestionGroup=void 0,this.input?.setAttribute("aria-activedescendant","")}openSuggestions(s){this.showSuggestions=(this.suggestions&&this.suggestions.length>0)??!1,this.notFound=(this.suggestions&&0===this.suggestions?.length)??!1,this.input?.setAttribute("aria-expanded",""+(this.showSuggestions||this.notFound)),this.showSuggestions&&"first"===s?this.selectFirstSuggestion():this.showSuggestions&&"last"===s&&this.selectLastSuggestion()}closeSuggestions(){this.showSuggestions=!1,this.notFound=!1,this.input?.setAttribute("aria-expanded","false"),this.selectFirstSuggestion()}pickSelectedValue(){this.selectedSuggestion&&this.showSuggestions?this.dsoSelect.emit(this.selectedSuggestion):this.dsoSearch.emit(this.input?.value),this.closeSuggestions()}listboxItemId(s){return this.suggestions?`${this.inputId}-${b(this.suggestions)&&this.suggestions.indexOf(s)+1}`:""}listboxGroupedItemId(s,t){return this.suggestions?`${this.inputId}-${this.suggestionGroups.indexOf(s)+1}-${s.suggestions.indexOf(t)+1}`:""}getMarkedChunkedExtras(s,t){return s.reduce(((s,t,i)=>{const e=Math.floor(i/2);return s[e]||(s[e]=[]),s[e]?.push(t),s}),[]).map(((s,i)=>s.map(((s,e)=>this.handleMark(t,s,"extra",2*i+e)))))}getMarkedSuggestions(s){return{value:this.handleMark(s,s.value,"value"),type:s.type?this.handleMark(s,s.type,"type"):void 0,extras:s.extras?this.getMarkedChunkedExtras(s.extras,s):void 0}}getAutosuggestStatus(){if(this.loading&&this.showLoading)return this.loadingLabel;if(this.notFound)return`"${this.inputValue}" is niet gevonden.`;let s=0;return b(this.suggestions)?s=this.suggestions.length:p(this.suggestions)&&(s=this.suggestions.reduce(((s,t)=>s+t.suggestions.length),0)),s+" resultaten gevonden."}render(){this.listboxItems=[];const s=this.showSuggestions||this.notFound,t=p(this.suggestions),i=b(this.suggestions);return s&&this.input?this.input.setAttribute("aria-controls",this.listboxId):this.input&&this.input.removeAttribute("aria-controls"),e(o,null,e("slot",{key:"ee666573ff41dd5932180e345fa312eaa69e38f2"}),this.loading&&this.showLoading?e("div",{class:"autosuggest-progress-box"},e("dso-progress-indicator",{label:this.loadingLabel})):s&&e(o,null,e("dso-scrollable",{class:"listbox-container",ref:s=>this.listboxContainer=s,_preventFocus:!0},e("div",{class:"listbox",role:"listbox",id:this.listboxId,"aria-labelledby":this.labelId,ref:s=>this.listbox=s},i&&this.showSuggestions&&this.suggestions&&this.suggestions.map((s=>e(g,{id:this.listboxItemId(s),mouseEnter:()=>this.selectSuggestion(s),mouseLeave:()=>this.resetSelectedSuggestion(),click:this.onOptionClick,selected:""+(s===this.selectedSuggestion),suggestion:s,ref:s=>s&&this.listboxItems.push(s),markedSuggestion:this.getMarkedSuggestions(s)})))||t&&this.showSuggestions&&this.suggestions&&this.suggestions.map((s=>{const t=d();return e("div",{role:"group",class:"group","aria-labelledby":t},e("div",{class:"group-label",role:"presentation",id:t,ref:s=>s&&this.listboxItems.push(s)},s.groupLabel),s.suggestions.map((t=>e(g,{id:this.listboxGroupedItemId(s,t),mouseEnter:()=>this.selectSuggestion(t,s),mouseLeave:()=>this.resetSelectedSuggestion(),click:this.onOptionClick,selected:""+(t===this.selectedSuggestion),suggestion:t,ref:s=>s&&this.listboxItems.push(s),markedSuggestion:this.getMarkedSuggestions(t)}))))}))||this.notFound&&e("div",{class:"option"},e("span",{class:"value"},this.notFoundLabel||this.showInputValueNotFound(this.text("notFound",{inputValue:this.inputValue}))))))),e("div",{key:"da8db85e24f6c3d6e2d66d519dca30f6e8eb0f85",class:"sr-only","aria-live":"polite","aria-atomic":"true"},s||this.loading&&this.showLoading?this.getAutosuggestStatus():void 0))}get host(){return this}static get watchers(){return{suggestions:[{suggestionsWatcher:0}]}}static get style(){return".sc-dso-autosuggest-h{display:block;position:relative}.listbox-container.sc-dso-autosuggest{inset-inline:0;inset-block-start:100%;block-size:auto;max-block-size:var(--_dso-autosuggest-max-block-size);min-block-size:50px;overflow-y:auto;position:absolute;z-index:200}.listbox.sc-dso-autosuggest,.autosuggest-progress-box.sc-dso-autosuggest{background-clip:padding-box;background-color:#fff;border:1px solid rgba(0, 0, 0, 0.15);border-radius:4px;box-shadow:0 6px 12px rgba(0, 0, 0, 0.175);list-style-type:none;margin-block:0}.autosuggest-progress-box.sc-dso-autosuggest{padding-block:12px;padding-inline:8px}.listbox.sc-dso-autosuggest{padding-block:8px;padding-inline:0}.listbox.sc-dso-autosuggest .group.sc-dso-autosuggest:not(:first-child) .group-label.sc-dso-autosuggest{border-block-start:1px solid #b2b2b2;padding-block-start:12px}.listbox.sc-dso-autosuggest .group-label.sc-dso-autosuggest{color:#275937;font-weight:700;padding-block:4px;margin-inline:16px}.listbox.sc-dso-autosuggest .option.sc-dso-autosuggest{padding-block:4px;padding-inline:16px}.listbox.sc-dso-autosuggest .option.sc-dso-autosuggest .suggestion-row.sc-dso-autosuggest{display:flex;justify-content:space-between}.listbox.sc-dso-autosuggest .option.sc-dso-autosuggest:active{background-color:#275937}.listbox.sc-dso-autosuggest .option.sc-dso-autosuggest:active,.listbox.sc-dso-autosuggest .option.sc-dso-autosuggest:active .type.sc-dso-autosuggest,.listbox.sc-dso-autosuggest .option.sc-dso-autosuggest:active .extra.sc-dso-autosuggest{color:#fff}.option[aria-selected=true].sc-dso-autosuggest{cursor:pointer;background-color:#d7e7ce}mark.sc-dso-autosuggest{font-weight:700;background-color:inherit;color:inherit;padding:0}.type.sc-dso-autosuggest,.extra.sc-dso-autosuggest{color:#666}.type.sc-dso-autosuggest{text-align:end}.extra.sc-dso-autosuggest{font-size:0.875rem;line-height:1.3125rem}.extra.sc-dso-autosuggest:not(:first-child){text-align:end}"}},[262,"dso-autosuggest",{suggestions:[16],loading:[4],loadingLabel:[1,"loading-label"],loadingDelayed:[2,"loading-delayed"],notFoundLabel:[1,"not-found-label"],mark:[16],showSuggestions:[32],selectedSuggestion:[32],selectedSuggestionGroup:[32],notFound:[32],showLoading:[32]},[[8,"keydown","handleSearchBarButtonKeydown"],[4,"click","onDocumentClick"]],{suggestions:[{suggestionsWatcher:0}]}]),m=f,x=function(){"undefined"!=typeof customElements&&["dso-autosuggest","dso-icon","dso-progress-indicator","dso-scrollable"].forEach((s=>{switch(s){case"dso-autosuggest":customElements.get(h(s))||customElements.define(h(s),f);break;case"dso-icon":customElements.get(h(s))||r();break;case"dso-progress-indicator":customElements.get(h(s))||u();break;case"dso-scrollable":customElements.get(h(s))||c()}}))};export{m as DsoAutosuggest,x as defineCustomElement}
1
+ import{proxyCustomElement as s,HTMLElement as t,createEvent as i,h as e,Fragment as o,transformTag as h}from"@stencil/core/internal/client";import{d as n}from"./index3.js";import{i as a}from"./i18n.js";import{d as r}from"./icon.js";import{d as u}from"./progress-indicator.js";import{d as c}from"./scrollable.js";import{v as d}from"./v4.js";const g={en:{"dso-autosuggest":{notFound:"{{inputValue}} was not found."}},nl:{"dso-autosuggest":{notFound:"{{inputValue}} is niet gevonden."}}},l=({id:s,mouseEnter:t,mouseLeave:i,click:o,selected:h,suggestion:n,ref:a,markedSuggestion:r})=>e("div",{class:"option",role:"option",id:s,onMouseEnter:t,onMouseLeave:i,onClick:o,"aria-selected":h,"aria-label":n.value,ref:a},e("div",{class:"suggestion-row"},e("span",{class:"value"},r.value),r.type?e("span",{class:"type"},r.type):void 0),r.extras&&r.extras.map((s=>e("div",{class:"suggestion-row"},s.map((s=>e("span",{class:"extra"},s)))))));function p(s){return!!s&&s.length>0&&s.every((s=>void 0!==s&&"groupLabel"in s&&void 0!==s.groupLabel&&"suggestions"in s&&s.suggestions.length>0))}function b(s){return!!s&&s.length>0&&s.every((s=>void 0!==s&&"value"in s&&void 0!==s.value))}const f=s(class extends t{constructor(s){super(),!1!==s&&this.__registerHost(),this.dsoSelect=i(this,"dsoSelect",7),this.dsoChange=i(this,"dsoChange",7),this.dsoSearch=i(this,"dsoSearch",7),this.suggestions=null,this.loading=!1,this.loadingLabel="Een moment geduld.",this.showSuggestions=!1,this.notFound=!1,this.showLoading=!1,this.listboxItems=[],this.listboxId=d(),this.inputId=d(),this.labelId=d(),this.resizeObserver=new ResizeObserver(n((()=>this.scheduleListboxContainerMaxBlockSizeUpdate()),150)),this.debouncedEmitValue=n((s=>{this.dsoChange.emit(s),this.debouncedShowLoading()}),200),this.debouncedShowLoading=n((()=>{this.inputValue&&(this.showLoading=!0)}),this.loadingDelayed),this.inputValue="",this.onInput=s=>{s.target instanceof HTMLInputElement&&(this.showLoading=!this.loadingDelayed,this.inputValue=s.target.value,this.debouncedEmitValue(s.target.value.match(/(\S+)/g)?s.target.value:""))},this.onFocusIn=()=>{this.input?.select(),this.suggestions&&this.suggestions.length>1&&this.openSuggestions()},this.text=a((()=>this.host),g),this.onWindowResize=n((()=>this.scheduleListboxContainerMaxBlockSizeUpdate()),150),this.onScrollend=()=>this.scheduleListboxContainerMaxBlockSizeUpdate(),this.onOptionClick=s=>{s.stopPropagation(),this.pickSelectedValue()},this.onKeyDown=s=>{if(!s.defaultPrevented&&!this.loading){switch(s.key){case"ArrowDown":this.showSuggestions?this.selectNextSuggestion():this.openSuggestions("first");break;case"ArrowUp":this.showSuggestions?this.selectPreviousSuggestion():this.openSuggestions("last");break;case"Tab":return void this.closeSuggestions();case"Escape":this.closeSuggestions();break;case"Enter":this.pickSelectedValue();break;default:return}s.preventDefault()}}}suggestionsWatcher(){this.resetSelectedSuggestion(),this.showSuggestions&&this.notFound||!this.inputValue?!this.showSuggestions&&!this.notFound||this.inputValue||this.closeSuggestions():this.openSuggestions()}handleSearchBarButtonKeydown(s){s.defaultPrevented||this.loading||"ArrowDown"!==s.key&&"ArrowUp"!==s.key||this.input&&s.target!==this.input&&this.isEventInOwnSearchBar(s)&&(s.preventDefault(),this.input.focus(),this.openSuggestions("ArrowDown"===s.key?"first":"last"))}isEventInOwnSearchBar(s){const t=this.host.closest(".dso-search-bar");return!!t&&s.composedPath().includes(t)}onDocumentClick(s){(this.showSuggestions||this.notFound)&&this.listbox&&s.target instanceof Node&&!this.listbox.contains(s.target)&&this.input!==s.target&&this.closeSuggestions()}componentDidRender(){this.scheduleListboxContainerMaxBlockSizeUpdate()}connectedCallback(){const s=this.host.querySelector('input[type="text"]');if(!(s instanceof HTMLInputElement))return;if(this.input=s,s.id?this.inputId=s.id:s.id=this.inputId,!this.input.labels||this.input.labels.length<1)return;const t=this.input.labels[0];t?.id?this.labelId=t.id:t&&(t.id=this.labelId),this.input.setAttribute("role","combobox"),this.input.setAttribute("aria-haspopup","listbox"),this.input.setAttribute("aria-expanded","false"),this.input.setAttribute("autocomplete","off"),this.input.setAttribute("aria-autocomplete","list"),this.input.setAttribute("aria-activedescendant",""),this.input.addEventListener("input",this.onInput),this.input.addEventListener("keydown",this.onKeyDown),this.input.addEventListener("focusin",this.onFocusIn),window.addEventListener("resize",this.onWindowResize),document.addEventListener("scrollend",this.onScrollend),this.resizeObserver.observe(this.host)}disconnectedCallback(){this.input?.removeEventListener("input",this.onInput),this.input?.removeEventListener("keydown",this.onKeyDown),this.input?.removeEventListener("focusin",this.onFocusIn),window.removeEventListener("resize",this.onWindowResize),document.removeEventListener("scrollend",this.onScrollend),void 0!==this.listboxContainerMaxBlockSizeFrameId&&(cancelAnimationFrame(this.listboxContainerMaxBlockSizeFrameId),this.listboxContainerMaxBlockSizeFrameId=void 0),this.resizeObserver.disconnect()}scheduleListboxContainerMaxBlockSizeUpdate(){void 0===this.listboxContainerMaxBlockSizeFrameId&&(this.listboxContainerMaxBlockSizeFrameId=requestAnimationFrame((()=>{this.listboxContainerMaxBlockSizeFrameId=void 0,this.setListboxContainerMaxBlockSize()})))}setListboxContainerMaxBlockSize(){if(this.listboxContainer&&this.showSuggestions&&this.showSuggestions){let s=0;const t=this.listboxItems.length?Math.min(this.listboxItems.length,10):0;for(let i=0;i<t;i++)s+=this.listboxItems[i]?.getBoundingClientRect().height||0;const i=window.innerHeight-this.host.getBoundingClientRect().bottom,e=s+16+2;this.listboxContainer.style.setProperty("--_dso-autosuggest-max-block-size",(i<e||i<=s?i-16:e)+"px")}}showInputValueNotFound(s){return this.processAutosuggestMarkItems(this.markTerms(this.input?.value.split(" ").filter((s=>s))??[],s))}handleMark(s,t,i,e){return this.processAutosuggestMarkItems(this.mark&&i?this.mark(s,t,i,e):this.markTerms(this.input?.value.split(" ").filter((s=>s))??[],t))}markTerms(s,t){if(!t||!s||0===s.length||void 0===s[0])return[""];const i=RegExp(`(${function(s){if("string"!=typeof s)throw new TypeError("Expected a string");return s.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}(s[0])})`,"gi");return t.split(i).reduce(((t,e)=>(e?i.test(e)?t.push({mark:e}):1===s.length?t.push(e):t.push(...this.markTerms(s.slice(1),e)):t.push(e),t)),[])}processAutosuggestMarkItems(s){return 0===s.length?[""]:s.map((s=>"object"==typeof s?e("mark",null,s.mark):s))}selectSuggestion(s,t){this.selectedSuggestion=s,this.selectedSuggestionGroup=t,this.setAriaActiveDescendant()}selectFirstSuggestion(){this.suggestions&&(p(this.suggestions)&&this.selectedSuggestionGroup?this.selectedSuggestion=this.selectedSuggestionGroup.suggestions[0]:b(this.suggestions)&&(this.selectedSuggestion=this.suggestions[0]),this.setAriaActiveDescendant(!0))}selectLastSuggestion(){this.suggestions&&(p(this.suggestions)&&this.selectedSuggestionGroup?this.selectedSuggestion=this.selectedSuggestionGroup.suggestions[this.selectedSuggestionGroup.suggestions.length-1]:b(this.suggestions)&&(this.selectedSuggestion=this.suggestions[this.suggestions.length-1]),this.setAriaActiveDescendant(!0))}selectNextSuggestion(){if(this.suggestions){if(p(this.suggestions))this.selectNextGroupedSuggestion();else{const s=this.selectedSuggestion?this.suggestions.indexOf(this.selectedSuggestion):-1;this.selectedSuggestion=this.suggestions[s+1]??this.suggestions[0]}this.setAriaActiveDescendant(!0)}}selectNextGroupedSuggestion(){if(this.suggestions)if(this.selectedSuggestionGroup){const s=this.selectedSuggestion?this.selectedSuggestionGroup.suggestions.indexOf(this.selectedSuggestion):-1;if(s===this.selectedSuggestionGroup.suggestions.length-1){const s=this.suggestionGroups.indexOf(this.selectedSuggestionGroup);this.selectedSuggestionGroup=this.suggestionGroups[s+1]??this.suggestionGroups[0],this.selectedSuggestion=this.selectedSuggestionGroup.suggestions[0]}else this.selectedSuggestion=this.selectedSuggestionGroup.suggestions[s+1]}else this.selectedSuggestionGroup=this.suggestionGroups[0],this.selectedSuggestion=this.selectedSuggestionGroup.suggestions[0]}selectPreviousSuggestion(){if(this.suggestions){if(p(this.suggestions))this.selectPreviousGroupedSuggestion();else{const s=this.selectedSuggestion?this.suggestions.indexOf(this.selectedSuggestion):0;this.selectedSuggestion=this.suggestions[s-1]??this.suggestions[this.suggestions.length-1]}this.setAriaActiveDescendant(!0)}}selectPreviousGroupedSuggestion(){if(this.suggestions)if(this.selectedSuggestionGroup){const s=this.selectedSuggestion?this.selectedSuggestionGroup.suggestions.indexOf(this.selectedSuggestion):-1;if(0===s){const s=this.suggestionGroups.indexOf(this.selectedSuggestionGroup);this.selectedSuggestionGroup=this.suggestionGroups[s-1]??this.suggestionGroups[this.suggestions.length-1],this.selectedSuggestion=this.selectedSuggestionGroup.suggestions[this.selectedSuggestionGroup.suggestions.length-1]}else this.selectedSuggestion=this.selectedSuggestionGroup.suggestions[s-1]}else this.selectedSuggestionGroup=this.suggestionGroups[this.suggestions.length-1],this.selectedSuggestion=this.selectedSuggestionGroup.suggestions[this.selectedSuggestionGroup.suggestions.length-1]}get suggestionGroups(){return p(this.suggestions)?this.suggestions:[]}setAriaActiveDescendant(s=!1){if(this.selectedSuggestion){const t=this.selectedSuggestionGroup?this.listboxGroupedItemId(this.selectedSuggestionGroup,this.selectedSuggestion):this.listboxItemId(this.selectedSuggestion);if(this.input?.setAttribute("aria-activedescendant",t),s){const s=this.host.getRootNode();if(!(s instanceof Document||s instanceof ShadowRoot))return void console.warn("Autosuggest: rootNode is not instance of Document or ShadowRoot");s.querySelector("#"+t)?s.querySelector("#"+t)?.scrollIntoView({block:"nearest"}):console.warn(`Autosuggest: Element with id ${t} is not found in the DOM.`)}}}resetSelectedSuggestion(){this.showLoading=!this.loadingDelayed,this.notFound=!1,this.selectedSuggestion=void 0,this.selectedSuggestionGroup=void 0,this.input?.setAttribute("aria-activedescendant","")}openSuggestions(s){this.showSuggestions=(this.suggestions&&this.suggestions.length>0)??!1,this.notFound=(this.suggestions&&0===this.suggestions?.length)??!1,this.input?.setAttribute("aria-expanded",""+(this.showSuggestions||this.notFound)),this.showSuggestions&&"first"===s?this.selectFirstSuggestion():this.showSuggestions&&"last"===s&&this.selectLastSuggestion()}closeSuggestions(){this.showSuggestions=!1,this.notFound=!1,this.input?.setAttribute("aria-expanded","false"),this.selectFirstSuggestion()}pickSelectedValue(){this.selectedSuggestion&&this.showSuggestions?this.dsoSelect.emit(this.selectedSuggestion):this.dsoSearch.emit(this.input?.value),this.closeSuggestions()}listboxItemId(s){return this.suggestions?`${this.inputId}-${b(this.suggestions)&&this.suggestions.indexOf(s)+1}`:""}listboxGroupedItemId(s,t){return this.suggestions?`${this.inputId}-${this.suggestionGroups.indexOf(s)+1}-${s.suggestions.indexOf(t)+1}`:""}getMarkedChunkedExtras(s,t){return s.reduce(((s,t,i)=>{const e=Math.floor(i/2);return s[e]||(s[e]=[]),s[e]?.push(t),s}),[]).map(((s,i)=>s.map(((s,e)=>this.handleMark(t,s,"extra",2*i+e)))))}getMarkedSuggestions(s){return{value:this.handleMark(s,s.value,"value"),type:s.type?this.handleMark(s,s.type,"type"):void 0,extras:s.extras?this.getMarkedChunkedExtras(s.extras,s):void 0}}getAutosuggestStatus(){if(this.loading&&this.showLoading)return this.loadingLabel;if(this.notFound)return`"${this.inputValue}" is niet gevonden.`;let s=0;return b(this.suggestions)?s=this.suggestions.length:p(this.suggestions)&&(s=this.suggestions.reduce(((s,t)=>s+t.suggestions.length),0)),s+" resultaten gevonden."}render(){this.listboxItems=[];const s=this.showSuggestions||this.notFound,t=p(this.suggestions),i=b(this.suggestions);return s&&this.input?this.input.setAttribute("aria-controls",this.listboxId):this.input&&this.input.removeAttribute("aria-controls"),e(o,null,e("slot",{key:"ee666573ff41dd5932180e345fa312eaa69e38f2"}),this.loading&&this.showLoading?e("div",{class:"autosuggest-progress-box"},e("dso-progress-indicator",{label:this.loadingLabel})):s&&e(o,null,e("dso-scrollable",{class:"listbox-container",ref:s=>this.listboxContainer=s,_preventFocus:!0},e("div",{class:"listbox",role:"listbox",id:this.listboxId,"aria-labelledby":this.labelId,ref:s=>this.listbox=s},i&&this.showSuggestions&&this.suggestions&&this.suggestions.map((s=>e(l,{id:this.listboxItemId(s),mouseEnter:()=>this.selectSuggestion(s),mouseLeave:()=>this.resetSelectedSuggestion(),click:this.onOptionClick,selected:""+(s===this.selectedSuggestion),suggestion:s,ref:s=>s&&this.listboxItems.push(s),markedSuggestion:this.getMarkedSuggestions(s)})))||t&&this.showSuggestions&&this.suggestions&&this.suggestions.map((s=>{const t=d();return e("div",{role:"group",class:"group","aria-labelledby":t},e("div",{class:"group-label",role:"presentation",id:t,ref:s=>s&&this.listboxItems.push(s)},s.groupLabel),s.suggestions.map((t=>e(l,{id:this.listboxGroupedItemId(s,t),mouseEnter:()=>this.selectSuggestion(t,s),mouseLeave:()=>this.resetSelectedSuggestion(),click:this.onOptionClick,selected:""+(t===this.selectedSuggestion),suggestion:t,ref:s=>s&&this.listboxItems.push(s),markedSuggestion:this.getMarkedSuggestions(t)}))))}))||this.notFound&&e("div",{class:"option"},e("span",{class:"value"},this.notFoundLabel||this.showInputValueNotFound(this.text("notFound",{inputValue:this.inputValue}))))))),e("div",{key:"da8db85e24f6c3d6e2d66d519dca30f6e8eb0f85",class:"sr-only","aria-live":"polite","aria-atomic":"true"},s||this.loading&&this.showLoading?this.getAutosuggestStatus():void 0))}get host(){return this}static get watchers(){return{suggestions:[{suggestionsWatcher:0}]}}static get style(){return".sc-dso-autosuggest-h{display:block;position:relative}.listbox-container.sc-dso-autosuggest{container-type:inline-size;inset-inline:0;inset-block-start:100%;block-size:auto;max-block-size:var(--_dso-autosuggest-max-block-size);min-block-size:50px;overflow-y:auto;position:absolute;z-index:200}.listbox.sc-dso-autosuggest,.autosuggest-progress-box.sc-dso-autosuggest{background-clip:padding-box;background-color:#fff;border:1px solid rgba(0, 0, 0, 0.15);border-radius:4px;box-shadow:0 6px 12px rgba(0, 0, 0, 0.175);list-style-type:none;margin-block:0}.autosuggest-progress-box.sc-dso-autosuggest{padding-block:12px;padding-inline:8px}.listbox.sc-dso-autosuggest{padding-block:8px;padding-inline:0}.listbox.sc-dso-autosuggest .group.sc-dso-autosuggest:not(:first-child) .group-label.sc-dso-autosuggest{border-block-start:1px solid #b2b2b2;padding-block-start:12px}.listbox.sc-dso-autosuggest .group-label.sc-dso-autosuggest{color:#275937;font-weight:700;padding-block:4px;margin-inline:16px}.listbox.sc-dso-autosuggest .option.sc-dso-autosuggest{padding-block:4px;padding-inline:16px}.listbox.sc-dso-autosuggest .option.sc-dso-autosuggest .suggestion-row.sc-dso-autosuggest{display:flex;justify-content:space-between}@container (max-width: 480px){.listbox.sc-dso-autosuggest .option.sc-dso-autosuggest .suggestion-row.sc-dso-autosuggest{flex-direction:column}}.listbox.sc-dso-autosuggest .option.sc-dso-autosuggest:active{background-color:#275937}.listbox.sc-dso-autosuggest .option.sc-dso-autosuggest:active,.listbox.sc-dso-autosuggest .option.sc-dso-autosuggest:active .type.sc-dso-autosuggest,.listbox.sc-dso-autosuggest .option.sc-dso-autosuggest:active .extra.sc-dso-autosuggest{color:#fff}.option[aria-selected=true].sc-dso-autosuggest{cursor:pointer;background-color:#d7e7ce}mark.sc-dso-autosuggest{font-weight:700;background-color:inherit;color:inherit;padding:0}.type.sc-dso-autosuggest,.extra.sc-dso-autosuggest{color:#666}.type.sc-dso-autosuggest{text-align:end}@container (max-width: 480px){.type.sc-dso-autosuggest{text-align:start}}.extra.sc-dso-autosuggest{font-size:0.875rem;line-height:1.3125rem}.extra.sc-dso-autosuggest:not(:first-child){text-align:end}@container (max-width: 480px){.extra.sc-dso-autosuggest:not(:first-child){text-align:start}}"}},[262,"dso-autosuggest",{suggestions:[16],loading:[4],loadingLabel:[1,"loading-label"],loadingDelayed:[2,"loading-delayed"],notFoundLabel:[1,"not-found-label"],mark:[16],showSuggestions:[32],selectedSuggestion:[32],selectedSuggestionGroup:[32],notFound:[32],showLoading:[32]},[[8,"keydown","handleSearchBarButtonKeydown"],[4,"click","onDocumentClick"]],{suggestions:[{suggestionsWatcher:0}]}]),x=f,m=function(){"undefined"!=typeof customElements&&["dso-autosuggest","dso-icon","dso-progress-indicator","dso-scrollable"].forEach((s=>{switch(s){case"dso-autosuggest":customElements.get(h(s))||customElements.define(h(s),f);break;case"dso-icon":customElements.get(h(s))||r();break;case"dso-progress-indicator":customElements.get(h(s))||u();break;case"dso-scrollable":customElements.get(h(s))||c()}}))};export{x as DsoAutosuggest,m as defineCustomElement}
@@ -1 +1 @@
1
- import{p as e,B as o,c as a,w as t,N as i,H as n,b as l}from"./p-2sI1K6K0.js";export{s as setNonce}from"./p-2sI1K6K0.js";import{g as d}from"./p-DQuL1Twl.js";var c=e=>{const o=e.cloneNode;e.cloneNode=function(e){if("TEMPLATE"===this.nodeName)return o.call(this,e);const a=o.call(this,!1),t=this.childNodes;if(e)for(let e=0;e<t.length;e++)2!==t[e].nodeType&&a.appendChild(t[e].cloneNode(!0));return a}};(()=>{o.isDev&&!o.isTesting&&a("Running in development mode."),o.cloneNodeFix&&c(n.prototype);const l=o.scriptDataOpts?t.document&&Array.from(t.document.querySelectorAll("script")).find((e=>new RegExp(`/${i}(\\.esm)?\\.js($|\\?|#)`).test(e.src)||e.getAttribute("data-stencil-namespace")===i)):null,s=import.meta.url,d=o.scriptDataOpts&&(l||{})["data-opts"]||{};return""!==s&&(d.resourcesUrl=new URL(".",s).href),e(d)})().then((async e=>(await d(),l(JSON.parse('[["p-0b1d6ae8",[[1,"dso-icon-button",{"icon":[513],"label":[513],"variant":[513],"tooltipPlacement":[513,"tooltip-placement"],"disabled":[516],"expanded":[516],"toggled":[516],"setFocus":[64]}],[1,"dso-icon",{"icon":[1]}]]],["p-83ab25e2",[[2,"dsot-document-component-demo",{"showCanvas":[516,"show-canvas"],"showBesluitversie":[4,"show-besluitversie"],"jsonFile":[1,"json-file"],"openDefault":[4,"open-default"],"mode":[513],"ozonContentUrlResolver":[16],"ozonContentBegripResolver":[16],"response":[32],"document":[32],"openOrClosed":[32],"openedAnnotation":[32],"filtered":[32],"notApplicable":[32],"activeAnnotationSelectables":[32]},null,{"jsonFile":[{"jsonFileWatcher":0}],"openDefault":[{"openDefaultWatcher":0}]}]]],["p-1007fdd3",[[257,"dso-accordion-section",{"handleTitle":[1,"handle-title"],"wijzigactie":[1],"heading":[1],"handleUrl":[1,"handle-url"],"status":[1],"attachmentCount":[2,"attachment-count"],"icon":[1],"statusDescription":[1,"status-description"],"open":[516],"hasNestedAccordion":[516,"has-nested-accordion"],"label":[1],"labelStatus":[1,"label-status"],"activatable":[516],"active":[516],"hover":[32],"focusHandle":[64]}]]],["p-7ff8aa45",[[17,"dso-advanced-select",{"options":[16],"active":[16],"activeHint":[1,"active-hint"],"open":[32]},[[8,"keydown","keyDownListener"]]]]],["p-d64bd153",[[1,"dso-annotation-activiteit",{"wijzigactie":[513],"active":[516],"gewijzigdeLocatie":[516,"gewijzigde-locatie"],"naam":[1],"regelKwalificatie":[1,"regel-kwalificatie"],"locatieNoemers":[16],"regelKwalificatieVoorzetsel":[1,"regel-kwalificatie-voorzetsel"]}]]],["p-54036b31",[[1,"dso-annotation-gebiedsaanwijzing",{"wijzigactie":[513],"active":[516],"gewijzigdeLocatie":[516,"gewijzigde-locatie"],"naam":[1]}]]],["p-a3003466",[[1,"dso-annotation-omgevingsnormwaarde",{"wijzigactie":[513],"active":[516],"gewijzigdeLocatie":[516,"gewijzigde-locatie"],"naam":[1],"toelichting":[1],"waardes":[16],"eenheid":[1]}]]],["p-8e4964ac",[[257,"dso-list-button",{"label":[513],"sublabel":[513],"count":[514],"min":[520],"max":[520],"checked":[516],"disabled":[516],"subcontentPrefix":[513,"subcontent-prefix"]}]]],["p-25483f0a",[[1,"dso-map-base-layers",{"group":[1],"baseLayers":[16]}]]],["p-29dc27dc",[[1,"dso-map-overlays",{"group":[1],"overlays":[16]}]]],["p-c15a3689",[[257,"dso-legend-item",{"disabled":[516],"disabledMessage":[513,"disabled-message"],"activatable":[516],"active":[516],"_mode":[513],"showOptions":[32]}]]],["p-26c32a38",[[257,"dso-map-controls",{"open":[1540],"disableZoom":[1,"disable-zoom"],"hideContent":[32],"toggleVisibility":[64]},[[0,"transitionend","handleTransitionEnd"]],{"open":[{"watchOpen":0}]}]]],["p-ec2fc65e",[[257,"dso-project-item",{"label":[1]}]]],["p-b1fc14cc",[[1,"dso-annotation-kaart",{"wijzigactie":[513],"naam":[1],"href":[513]}]]],["p-6a68177b",[[262,"dso-autosuggest",{"suggestions":[16],"loading":[4],"loadingLabel":[1,"loading-label"],"loadingDelayed":[2,"loading-delayed"],"notFoundLabel":[1,"not-found-label"],"mark":[16],"showSuggestions":[32],"selectedSuggestion":[32],"selectedSuggestionGroup":[32],"notFound":[32],"showLoading":[32]},[[8,"keydown","handleSearchBarButtonKeydown"],[4,"click","onDocumentClick"]],{"suggestions":[{"suggestionsWatcher":0}]}]]],["p-e3ba6480",[[257,"dso-legend",{"tabItems":[16]}]]],["p-6bc7de9b",[[1,"dso-survey-rating"]]],["p-5f6a6095",[[257,"dso-dropdown-menu",{"checkable":[6660],"label":[513],"variant":[513],"open":[32],"_getState":[64]},[[0,"dsoClick","dsoClickHandler"]]]]],["p-036e7b74",[[257,"dso-header",{"mainMenu":[16],"compact":[1],"authStatus":[1,"auth-status"],"loginUrl":[1,"login-url"],"logoutUrl":[1,"logout-url"],"showHelp":[4,"show-help"],"helpUrl":[1,"help-url"],"userProfileName":[1,"user-profile-name"],"userProfileUrl":[1,"user-profile-url"],"userHomeUrl":[1,"user-home-url"],"userHomeActive":[4,"user-home-active"],"visibleMenuItemsCount":[32],"dropdownOptionsOffset":[32],"open":[32]},null,{"mainMenu":[{"mainMenuChanged":0}]}]]],["p-9b4dc3ef",[[257,"dso-legend-group",{"mode":[513]},null,{"mode":[{"handleModeChange":0}]}]]],["p-835cd682",[[1,"dso-mark-bar",{"value":[1],"label":[1],"current":[2],"totalCount":[2,"total-count"],"dsoFocus":[64]}]]],["p-6a99c0bb",[[257,"dso-onboarding-tip",{"placement":[1],"ready":[32],"popoverOpen":[32]}]]],["p-e4181a16",[[1,"dso-pagination",{"totalPages":[2,"total-pages"],"currentPage":[2,"current-page"],"formatHref":[16],"availablePositions":[32]},[[0,"dsoSizeChange","sizeChangeHandler"]]]]],["p-6bcf7a01",[[257,"dso-shopping-cart",{"mode":[513],"toggleable":[516]}]]],["p-e442fe62",[[257,"dso-shopping-cart-item",{"mode":[513],"warning":[516],"editable":[516],"removable":[516]}]]],["p-2a32cbeb",[[1,"dso-tree-view",{"collection":[16],"focusItem":[64]}]]],["p-b26c5285",[[257,"dso-action-list-item",{"step":[2],"itemTitle":[1,"item-title"],"flowLine":[4,"flow-line"],"warning":[4],"divider":[4]}]]],["p-e3d0debf",[[257,"dso-banner",{"status":[513],"compact":[516],"icon":[516]}]]],["p-d0196ffd",[[257,"dso-card",{"href":[513],"mode":[513],"active":[516]}]]],["p-5901d652",[[257,"dso-document-card",{"href":[513],"active":[516]}]]],["p-bb0d9c4a",[[257,"dso-dropdown-menu-item",{"type":[513],"href":[513],"checked":[516],"_dsoFocus":[64]}]]],["p-8cbb00ac",[[257,"dso-history-item",{"type":[513],"href":[513],"current":[516]}]]],["p-3825c4e5",[[257,"dso-map-layer",{"activatable":[516],"active":[516],"wijzigactie":[513]}]]],["p-0ee52216",[[257,"dso-map-layer-object",{"active":[516],"wijzigactie":[513]}]]],["p-823c047d",[[257,"dso-map-message",{"variant":[513],"hasActions":[32],"showMessage":[32]}]]],["p-1c1b27c0",[[257,"dso-plekinfo-card",{"wijzigactie":[513],"href":[513],"targetBlank":[4,"target-blank"],"active":[516]}]]],["p-b8a0d3b9",[[257,"dso-plekinfo-card-item",{"wijzigactie":[513],"hasSublabel":[32],"hasMeta":[32]}]]],["p-08a7e828",[[1,"dso-skiplink",{"to":[513],"label":[513]}]]],["p-38616371",[[257,"dso-tijdreis-banner"]]],["p-aec8f591",[[257,"dso-accordion",{"variant":[6145],"reverseAlign":[6148,"reverse-align"],"_getState":[64]}]]],["p-d819abc5",[[257,"dso-action-list",{"listTitle":[1,"list-title"]}]]],["p-13c27118",[[257,"dso-card-container",{"mode":[513]}]]],["p-a43a81a4",[[257,"dso-contact-information"]]],["p-c0735ea5",[[257,"dso-cursor-tooltip"]]],["p-0630c10c",[[2,"dso-date-picker",{"name":[1],"identifier":[1],"disabled":[516],"required":[516],"invalid":[516],"describedBy":[1,"described-by"],"dsoAutofocus":[4,"dso-autofocus"],"value":[513],"min":[8],"max":[8]}]]],["p-b093e2f2",[[257,"dso-dropdown-menu-group",{"label":[513]}]]],["p-3ed9443d",[[257,"dso-grid-column",{"columns":[513],"overlay":[516],"overlayActive":[32]},null,{"overlay":[{"overlayWatcher":0}]}]]],["p-64331ac9",[[257,"dso-hero-image"]]],["p-3a6a1010",[[257,"dso-highlight-box",{"yellow":[516],"border":[516],"white":[516],"green":[516],"dropShadow":[516,"drop-shadow"],"step":[514]}]]],["p-4aa3ca6c",[[1,"dso-input-range",{"min":[514],"max":[514],"value":[514],"step":[514],"label":[513],"unit":[513],"description":[513]}]]],["p-e2c97b41",[[1,"dso-logo",{"name":[513],"logoUrl":[513,"logo-url"],"label":[513],"labelUrl":[513,"label-url"],"ribbon":[513]}]]],["p-fb8860e1",[[1,"dso-segmented-button",{"groupName":[513,"group-name"],"options":[16],"label":[513],"required":[516],"activeOption":[16]}]]],["p-4ec77050",[[257,"dso-tab",{"active":[516],"disabled":[516],"href":[1],"_dsoFocus":[64]}]]],["p-8f90718f",[[257,"dso-tabs"]]],["p-904250ca",[[257,"dso-viewer-grid",{"filterPanelTitle":[513,"filter-panel-title"],"filterPanelOpen":[516,"filter-panel-open"],"overlayOpen":[516,"overlay-open"],"documentPanelOpen":[516,"document-panel-open"],"print":[516],"mainSize":[513,"main-size"],"activeTab":[1,"active-tab"],"documentPanelSize":[513,"document-panel-size"],"mainPanelExpanded":[4,"main-panel-expanded"],"mainPanelHidden":[4,"main-panel-hidden"],"tabView":[32],"_checkMainPanelVisibility":[64]},null,{"documentPanelOpen":[{"documentPanelOpenWatcher":0}],"filterPanelOpen":[{"filterPanelOpenWatcher":0}],"overlayOpen":[{"overlayOpenWatcher":0}]}]]],["p-1f197259",[[257,"dso-button-group",{"direction":[513]}]]],["p-58c0e2ef",[[257,"dso-document-component",{"headingLevel":[514,"heading-level"],"kop":[6145],"inhoud":[6145],"open":[516],"filtered":[516],"notApplicable":[516,"not-applicable"],"badge":[513],"badgeStatus":[513,"badge-status"],"badgeTooltip":[513,"badge-tooltip"],"label":[513],"labelStatus":[513,"label-status"],"annotated":[516],"gereserveerd":[6145],"vervallen":[6145],"openAnnotation":[516,"open-annotation"],"alternativeTitle":[513,"alternative-title"],"type":[513],"wijzigactie":[513],"annotationsWijzigactie":[513,"annotations-wijzigactie"],"mark":[16],"recursiveToggle":[8,"recursive-toggle"],"ozonContentUrlResolver":[16],"ozonContentBegripResolver":[16],"mode":[513],"href":[513]}],[1,"dso-annotation-locatie",{"wijzigactie":[513],"active":[516],"gewijzigdeLocatie":[516,"gewijzigde-locatie"],"locatieNoemer":[1,"locatie-noemer"]}]]],["p-6835e07d",[[1,"dso-attachments-counter",{"count":[514]}],[257,"dso-expandable",{"open":[516],"enableAnimation":[516,"enable-animation"],"minimumHeight":[2,"minimum-height"],"isClosed":[32]},[[0,"transitionstart","transitionstartHandler"],[0,"transitionend","transitionendHandler"]],{"open":[{"toggleOpen":0}]}]]],["p-9df806f0",[[1,"dso-progress-indicator",{"label":[1],"size":[513],"block":[516]}]]],["p-227620ac",[[257,"dso-responsive-element",{"sizeAlias":[32],"sizeWidth":[32],"getSize":[64]}]]],["p-b8a488af",[[257,"dso-truncate",{"truncated":[32]},[[4,"keydown","keyDownListener"]]]]],["p-5f2269ec",[[257,"dso-scrollable",{"_preventFocus":[4,"_prevent-focus"],"scrollPosition":[32],"_setScrollState":[64]}]]],["p-04844de1",[[1,"dso-modal",{"fullscreen":[516],"modalTitle":[1,"modal-title"],"dialogRole":[1,"dialog-role"],"returnFocus":[4,"return-focus"],"closable":[4],"ariaId":[32],"narrowView":[32]}]]],["p-9f214aa4",[[262,"dso-selectable",{"type":[1],"identifier":[1],"name":[1],"value":[1],"invalid":[4],"describedById":[1,"described-by-id"],"errormessage":[1],"labelledById":[1,"labelled-by-id"],"disabled":[4],"required":[4],"checked":[516],"indeterminate":[4],"infoFixed":[4,"info-fixed"],"infoActive":[32],"toggleInfo":[64]},null,{"indeterminate":[{"setIndeterminate":0}]}],[257,"dso-info",{"fixed":[516],"active":[516]}],[257,"dso-info-button",{"active":[516],"label":[513],"toggletipPlacement":[513,"toggletip-placement"],"toggletipActive":[32],"hasToggletip":[32],"setFocus":[64]},[[6,"focusin","onDocumentFocusIn"],[7,"pointerdown","onDocumentPointerDown"]]]]],["p-bc3eb1dd",[[1,"dso-ozon-content",{"content":[1],"inline":[516],"mark":[16],"urlResolver":[16],"begripResolver":[16],"annotated":[516],"state":[32]},null,{"content":[{"contentWatcher":0}]}],[257,"dso-alert",{"status":[513],"roleAlert":[4,"role-alert"],"compact":[516],"closable":[4]}],[257,"dso-table",{"noModal":[516,"no-modal"],"isResponsive":[32],"modalActive":[32],"placeholderHeight":[32]}],[257,"dso-image-overlay",{"wijzigactie":[1],"active":[32],"zoomable":[32]},[[2,"load","loadListener"]]],[257,"dso-ozon-content-toggletip",{"icon":[513],"active":[32]},[[8,"click","handleWindowClick"]]],[257,"dso-panel",{"closeButtonLabel":[1,"close-button-label"],"emphasized":[4]}],[257,"dso-badge",{"status":[513],"label":[513],"toggletipPlacement":[513,"toggletip-placement"],"toggletipActive":[32],"hasToggletip":[32]}]]],["p-801a459f",[[1,"dso-renvooi",{"value":[1],"mark":[16]}],[257,"dso-label",{"compact":[516],"removable":[516],"status":[513],"truncate":[516],"removeHover":[32],"removeFocus":[32],"labelText":[32]},null,{"removable":[{"watchRemovable":0}]}],[262,"dso-slide-toggle",{"checked":[4],"disabled":[4],"accessibleLabel":[1,"accessible-label"],"labelledbyId":[1,"labelledby-id"],"identifier":[1],"hasVisibleLabel":[32]}]]]]'),e))));
1
+ import{p as e,B as o,c as a,w as t,N as i,H as n,b as l}from"./p-DRum3iIs.js";export{s as setNonce}from"./p-DRum3iIs.js";import{g as d}from"./p-DQuL1Twl.js";var r=e=>{const o=e.cloneNode;e.cloneNode=function(e){if("TEMPLATE"===this.nodeName)return o.call(this,e);const a=o.call(this,!1),t=this.childNodes;if(e)for(let e=0;e<t.length;e++)2!==t[e].nodeType&&a.appendChild(t[e].cloneNode(!0));return a}};(()=>{o.isDev&&!o.isTesting&&a("Running in development mode."),o.cloneNodeFix&&r(n.prototype);const l=o.scriptDataOpts?t.document&&Array.from(t.document.querySelectorAll("script")).find((e=>new RegExp(`/${i}(\\.esm)?\\.js($|\\?|#)`).test(e.src)||e.getAttribute("data-stencil-namespace")===i)):null,s=import.meta.url,d=o.scriptDataOpts&&(l||{})["data-opts"]||{};return""!==s&&(d.resourcesUrl=new URL(".",s).href),e(d)})().then((async e=>(await d(),l(JSON.parse('[["p-586a9e1e",[[1,"dso-icon-button",{"icon":[513],"label":[513],"variant":[513],"tooltipPlacement":[513,"tooltip-placement"],"disabled":[516],"expanded":[516],"toggled":[516],"setFocus":[64]}],[1,"dso-icon",{"icon":[1]}]]],["p-b2a7d818",[[2,"dsot-document-component-demo",{"showCanvas":[516,"show-canvas"],"showBesluitversie":[4,"show-besluitversie"],"jsonFile":[1,"json-file"],"openDefault":[4,"open-default"],"mode":[513],"ozonContentUrlResolver":[16],"ozonContentBegripResolver":[16],"response":[32],"document":[32],"openOrClosed":[32],"openedAnnotation":[32],"filtered":[32],"notApplicable":[32],"activeAnnotationSelectables":[32]},null,{"jsonFile":[{"jsonFileWatcher":0}],"openDefault":[{"openDefaultWatcher":0}]}]]],["p-d8651e64",[[257,"dso-accordion-section",{"handleTitle":[1,"handle-title"],"wijzigactie":[1],"heading":[1],"handleUrl":[1,"handle-url"],"status":[1],"attachmentCount":[2,"attachment-count"],"icon":[1],"statusDescription":[1,"status-description"],"open":[516],"hasNestedAccordion":[516,"has-nested-accordion"],"label":[1],"labelStatus":[1,"label-status"],"activatable":[516],"active":[516],"hover":[32],"focusHandle":[64]}]]],["p-fa6555ca",[[17,"dso-advanced-select",{"options":[16],"active":[16],"activeHint":[1,"active-hint"],"open":[32]},[[8,"keydown","keyDownListener"]]]]],["p-13452ded",[[1,"dso-annotation-activiteit",{"wijzigactie":[513],"active":[516],"gewijzigdeLocatie":[516,"gewijzigde-locatie"],"naam":[1],"regelKwalificatie":[1,"regel-kwalificatie"],"locatieNoemers":[16],"regelKwalificatieVoorzetsel":[1,"regel-kwalificatie-voorzetsel"]}]]],["p-f8c06305",[[1,"dso-annotation-gebiedsaanwijzing",{"wijzigactie":[513],"active":[516],"gewijzigdeLocatie":[516,"gewijzigde-locatie"],"naam":[1]}]]],["p-83531650",[[1,"dso-annotation-omgevingsnormwaarde",{"wijzigactie":[513],"active":[516],"gewijzigdeLocatie":[516,"gewijzigde-locatie"],"naam":[1],"toelichting":[1],"waardes":[16],"eenheid":[1]}]]],["p-8bdbd2ef",[[257,"dso-list-button",{"label":[513],"sublabel":[513],"count":[514],"min":[520],"max":[520],"checked":[516],"disabled":[516],"subcontentPrefix":[513,"subcontent-prefix"]}]]],["p-62c543dc",[[1,"dso-map-base-layers",{"group":[1],"baseLayers":[16]}]]],["p-203a8fe6",[[1,"dso-map-overlays",{"group":[1],"overlays":[16]}]]],["p-e2eef594",[[257,"dso-legend-item",{"disabled":[516],"disabledMessage":[513,"disabled-message"],"activatable":[516],"active":[516],"_mode":[513],"showOptions":[32]}]]],["p-933679e3",[[257,"dso-map-controls",{"open":[1540],"disableZoom":[1,"disable-zoom"],"hideContent":[32],"toggleVisibility":[64]},[[0,"transitionend","handleTransitionEnd"]],{"open":[{"watchOpen":0}]}]]],["p-4d1d9945",[[257,"dso-project-item",{"label":[1]}]]],["p-4a39ddbe",[[1,"dso-annotation-kaart",{"wijzigactie":[513],"naam":[1],"href":[513]}]]],["p-3ba34be2",[[262,"dso-autosuggest",{"suggestions":[16],"loading":[4],"loadingLabel":[1,"loading-label"],"loadingDelayed":[2,"loading-delayed"],"notFoundLabel":[1,"not-found-label"],"mark":[16],"showSuggestions":[32],"selectedSuggestion":[32],"selectedSuggestionGroup":[32],"notFound":[32],"showLoading":[32]},[[8,"keydown","handleSearchBarButtonKeydown"],[4,"click","onDocumentClick"]],{"suggestions":[{"suggestionsWatcher":0}]}]]],["p-aef0052a",[[257,"dso-legend",{"tabItems":[16]}]]],["p-02bb4527",[[1,"dso-survey-rating"]]],["p-4a15a625",[[257,"dso-dropdown-menu",{"checkable":[6660],"label":[513],"variant":[513],"open":[32],"_getState":[64]},[[0,"dsoClick","dsoClickHandler"]]]]],["p-29edc9ad",[[257,"dso-header",{"mainMenu":[16],"compact":[1],"authStatus":[1,"auth-status"],"loginUrl":[1,"login-url"],"logoutUrl":[1,"logout-url"],"showHelp":[4,"show-help"],"helpUrl":[1,"help-url"],"userProfileName":[1,"user-profile-name"],"userProfileUrl":[1,"user-profile-url"],"userHomeUrl":[1,"user-home-url"],"userHomeActive":[4,"user-home-active"],"visibleMenuItemsCount":[32],"dropdownOptionsOffset":[32],"open":[32]},null,{"mainMenu":[{"mainMenuChanged":0}]}]]],["p-b503325f",[[257,"dso-legend-group",{"mode":[513]},null,{"mode":[{"handleModeChange":0}]}]]],["p-bfc9427b",[[1,"dso-mark-bar",{"value":[1],"label":[1],"current":[2],"totalCount":[2,"total-count"],"dsoFocus":[64]}]]],["p-00a19755",[[257,"dso-onboarding-tip",{"placement":[1],"ready":[32],"popoverOpen":[32]}]]],["p-acb47b55",[[1,"dso-pagination",{"totalPages":[2,"total-pages"],"currentPage":[2,"current-page"],"formatHref":[16],"availablePositions":[32]},[[0,"dsoSizeChange","sizeChangeHandler"]]]]],["p-98710ef4",[[257,"dso-shopping-cart",{"mode":[513],"toggleable":[516]}]]],["p-49c11428",[[257,"dso-shopping-cart-item",{"mode":[513],"warning":[516],"editable":[516],"removable":[516]}]]],["p-a67c3462",[[1,"dso-tree-view",{"collection":[16],"focusItem":[64]}]]],["p-54448391",[[257,"dso-action-list-item",{"step":[2],"itemTitle":[1,"item-title"],"flowLine":[4,"flow-line"],"warning":[4],"divider":[4]}]]],["p-55887adb",[[257,"dso-banner",{"status":[513],"compact":[516],"icon":[516]}]]],["p-5dd2c05d",[[257,"dso-card",{"href":[513],"mode":[513],"active":[516]}]]],["p-19db23e6",[[257,"dso-document-card",{"href":[513],"active":[516]}]]],["p-43dc5659",[[257,"dso-dropdown-menu-item",{"type":[513],"href":[513],"checked":[516],"_dsoFocus":[64]}]]],["p-0ae3842c",[[257,"dso-history-item",{"type":[513],"href":[513],"current":[516]}]]],["p-34f7bdc3",[[257,"dso-map-layer",{"activatable":[516],"active":[516],"wijzigactie":[513]}]]],["p-9d4d2f13",[[257,"dso-map-layer-object",{"active":[516],"wijzigactie":[513]}]]],["p-abc5cce2",[[257,"dso-map-message",{"variant":[513],"hasActions":[32],"showMessage":[32]}]]],["p-b79d615d",[[257,"dso-plekinfo-card",{"wijzigactie":[513],"href":[513],"targetBlank":[4,"target-blank"],"active":[516]}]]],["p-a2756401",[[257,"dso-plekinfo-card-item",{"wijzigactie":[513],"hasSublabel":[32],"hasMeta":[32]}]]],["p-41aa1f46",[[1,"dso-skiplink",{"to":[513],"label":[513]}]]],["p-29e65763",[[257,"dso-tijdreis-banner"]]],["p-c783db96",[[257,"dso-accordion",{"variant":[6145],"reverseAlign":[6148,"reverse-align"],"_getState":[64]}]]],["p-313ae4fd",[[257,"dso-action-list",{"listTitle":[1,"list-title"]}]]],["p-8b99c8d6",[[257,"dso-card-container",{"mode":[513]}]]],["p-2cb4f6f2",[[257,"dso-contact-information"]]],["p-08f2eeef",[[257,"dso-cursor-tooltip"]]],["p-9b048854",[[2,"dso-date-picker",{"name":[1],"identifier":[1],"disabled":[516],"required":[516],"invalid":[516],"describedBy":[1,"described-by"],"dsoAutofocus":[4,"dso-autofocus"],"value":[513],"min":[8],"max":[8]}]]],["p-bfd42b60",[[257,"dso-dropdown-menu-group",{"label":[513]}]]],["p-06c3b3a3",[[257,"dso-grid-column",{"columns":[513],"overlay":[516],"overlayActive":[32]},null,{"overlay":[{"overlayWatcher":0}]}]]],["p-720b739f",[[257,"dso-hero-image"]]],["p-2dda5d7c",[[257,"dso-highlight-box",{"yellow":[516],"border":[516],"white":[516],"green":[516],"dropShadow":[516,"drop-shadow"],"step":[514]}]]],["p-463a7d51",[[1,"dso-input-range",{"min":[514],"max":[514],"value":[514],"step":[514],"label":[513],"unit":[513],"description":[513]}]]],["p-d60b7d93",[[1,"dso-logo",{"name":[513],"logoUrl":[513,"logo-url"],"label":[513],"labelUrl":[513,"label-url"],"ribbon":[513]}]]],["p-3ef40051",[[1,"dso-segmented-button",{"groupName":[513,"group-name"],"options":[16],"label":[513],"required":[516],"activeOption":[16]}]]],["p-effacc32",[[257,"dso-tab",{"active":[516],"disabled":[516],"href":[1],"_dsoFocus":[64]}]]],["p-3a741744",[[257,"dso-tabs"]]],["p-52e324cd",[[257,"dso-viewer-grid",{"filterPanelTitle":[513,"filter-panel-title"],"filterPanelOpen":[516,"filter-panel-open"],"overlayOpen":[516,"overlay-open"],"documentPanelOpen":[516,"document-panel-open"],"print":[516],"mainSize":[513,"main-size"],"activeTab":[1,"active-tab"],"documentPanelSize":[513,"document-panel-size"],"mainPanelExpanded":[4,"main-panel-expanded"],"mainPanelHidden":[4,"main-panel-hidden"],"tabView":[32],"_checkMainPanelVisibility":[64]},null,{"documentPanelOpen":[{"documentPanelOpenWatcher":0}],"filterPanelOpen":[{"filterPanelOpenWatcher":0}],"overlayOpen":[{"overlayOpenWatcher":0}]}]]],["p-c4272a9b",[[257,"dso-button-group",{"direction":[513]}]]],["p-9f03105d",[[257,"dso-document-component",{"headingLevel":[514,"heading-level"],"kop":[6145],"inhoud":[6145],"open":[516],"filtered":[516],"notApplicable":[516,"not-applicable"],"badge":[513],"badgeStatus":[513,"badge-status"],"badgeTooltip":[513,"badge-tooltip"],"label":[513],"labelStatus":[513,"label-status"],"annotated":[516],"gereserveerd":[6145],"vervallen":[6145],"openAnnotation":[516,"open-annotation"],"alternativeTitle":[513,"alternative-title"],"type":[513],"wijzigactie":[513],"annotationsWijzigactie":[513,"annotations-wijzigactie"],"mark":[16],"recursiveToggle":[8,"recursive-toggle"],"ozonContentUrlResolver":[16],"ozonContentBegripResolver":[16],"mode":[513],"href":[513]}],[1,"dso-annotation-locatie",{"wijzigactie":[513],"active":[516],"gewijzigdeLocatie":[516,"gewijzigde-locatie"],"locatieNoemer":[1,"locatie-noemer"]}]]],["p-a493e05a",[[1,"dso-attachments-counter",{"count":[514]}],[257,"dso-expandable",{"open":[516],"enableAnimation":[516,"enable-animation"],"minimumHeight":[2,"minimum-height"],"isClosed":[32]},[[0,"transitionstart","transitionstartHandler"],[0,"transitionend","transitionendHandler"]],{"open":[{"toggleOpen":0}]}]]],["p-bc97ac64",[[1,"dso-progress-indicator",{"label":[1],"size":[513],"block":[516]}]]],["p-ae3411b2",[[257,"dso-responsive-element",{"sizeAlias":[32],"sizeWidth":[32],"getSize":[64]}]]],["p-60035330",[[257,"dso-truncate",{"truncated":[32]},[[4,"keydown","keyDownListener"]]]]],["p-97b89bdd",[[257,"dso-scrollable",{"_preventFocus":[4,"_prevent-focus"],"scrollPosition":[32],"_setScrollState":[64]}]]],["p-0ac3a3de",[[1,"dso-modal",{"fullscreen":[516],"modalTitle":[1,"modal-title"],"dialogRole":[1,"dialog-role"],"returnFocus":[4,"return-focus"],"closable":[4],"ariaId":[32],"narrowView":[32]}]]],["p-4d5eeb56",[[262,"dso-selectable",{"type":[1],"identifier":[1],"name":[1],"value":[1],"invalid":[4],"describedById":[1,"described-by-id"],"errormessage":[1],"labelledById":[1,"labelled-by-id"],"disabled":[4],"required":[4],"checked":[516],"indeterminate":[4],"infoFixed":[4,"info-fixed"],"infoActive":[32],"toggleInfo":[64]},null,{"indeterminate":[{"setIndeterminate":0}]}],[257,"dso-info",{"fixed":[516],"active":[516]}],[257,"dso-info-button",{"active":[516],"label":[513],"toggletipPlacement":[513,"toggletip-placement"],"toggletipActive":[32],"hasToggletip":[32],"setFocus":[64]},[[6,"focusin","onDocumentFocusIn"],[7,"pointerdown","onDocumentPointerDown"]]]]],["p-df8236ac",[[1,"dso-ozon-content",{"content":[1],"inline":[516],"mark":[16],"urlResolver":[16],"begripResolver":[16],"annotated":[516],"state":[32]},null,{"content":[{"contentWatcher":0}]}],[257,"dso-alert",{"status":[513],"roleAlert":[4,"role-alert"],"compact":[516],"closable":[4]}],[257,"dso-table",{"noModal":[516,"no-modal"],"isResponsive":[32],"modalActive":[32],"placeholderHeight":[32]}],[257,"dso-image-overlay",{"wijzigactie":[1],"active":[32],"zoomable":[32]},[[2,"load","loadListener"]]],[257,"dso-ozon-content-toggletip",{"icon":[513],"active":[32]},[[8,"click","handleWindowClick"]]],[257,"dso-panel",{"closeButtonLabel":[1,"close-button-label"],"emphasized":[4]}],[257,"dso-badge",{"status":[513],"label":[513],"toggletipPlacement":[513,"toggletip-placement"],"toggletipActive":[32],"hasToggletip":[32]}]]],["p-eaf7254a",[[1,"dso-renvooi",{"value":[1],"mark":[16]}],[257,"dso-label",{"compact":[516],"removable":[516],"status":[513],"truncate":[516],"removeHover":[32],"removeFocus":[32],"labelText":[32]},null,{"removable":[{"watchRemovable":0}]}],[262,"dso-slide-toggle",{"checked":[4],"disabled":[4],"accessibleLabel":[1,"accessible-label"],"labelledbyId":[1,"labelledby-id"],"identifier":[1],"hasVisibleLabel":[32]}]]]]'),e))));
@@ -1 +1 @@
1
- import{r as o,d as r,f as t,h as e,a as n,g as i}from"./p-2sI1K6K0.js";import{p as a}from"./p-CcOMPHLg.js";import"./p-DMUqzLuy.js";const d=class{constructor(t){o(this,t),this.dsoClose=r(this,"dsoClose",7),this.placement="right",this.ready=!1,this.popoverOpen=!1,this.blockEscapeKey=o=>{"Escape"===o.key&&(o.preventDefault(),this.dsoClose.emit({originalEvent:o}))}}connectedCallback(){this.mutationObserver=new MutationObserver((()=>t(this.host))),this.mutationObserver.observe(this.host,{attributes:!0,childList:!0,subtree:!0,characterData:!0})}componentDidRender(){if(this.host.isConnected){if(!this.popoverOpen){this.host.showPopover(),this.popoverOpen=!0;const o=this.host.shadowRoot?.querySelector(".onboarding-tip");this.hasOnboardingTipElement(o)&&d.setFocus(o)}!this.cleanUp&&this.referenceElement&&this.tipArrowRef instanceof HTMLElement&&(this.cleanUp=a({referenceElement:this.referenceElement,tipRef:this.host,tipArrowRef:this.tipArrowRef,placementTip:`${this.placement}-start`,topPositionSmallViewPort:!0,halfMainAxisOffset:!0}))}}disconnectedCallback(){this.mutationObserver?.disconnect(),delete this.mutationObserver,this.popoverOpen&&(this.host.hidePopover(),this.popoverOpen=!1),this.cleanUp?.(),this.cleanUp=void 0}static setFocus(o){o&&o.focus()}hasOnboardingTipElement(o){return o instanceof HTMLElement}render(){const o=this.headingSlottedElement?.textContent;return e(n,{key:"bebcff828c7f3ce40c322d4546cdde7dff3812e2",popover:"manual",ready:this.ready,onAnimationend:()=>this.ready=!0},e("div",{key:"708a59016efc8069ef85a0e06feb71516b98dd18",role:"dialog",class:"onboarding-tip","aria-label":o,onKeyDown:this.blockEscapeKey,tabindex:-1},e("div",{key:"14b21c2c86457fc60709aca5e9aa9ed343786163",class:"onboarding-tip-inner"},e("div",{key:"683199993bf6993d96748a78e7c9b8c51fa78681",class:"onboarding-tip-content-wrapper"},null!==this.headingSlottedElement&&e("div",{key:"3654524691e0ccef4f11cd6ddb7be3043c1efbdc",class:"onboarding-tip-content-heading"},e("dso-icon",{key:"36f25c3e2ef278b5f6f533fa325cb70d0beae0e6",icon:"light-bulb","aria-hidden":"true"}),e("slot",{key:"93801f55ee03843daee88de47d743ca3af5c2c33",name:"heading"})),e("dso-icon-button",{key:"53bda3abdf86e3335a2898841d9df280950c3c11",class:"dso-close",label:"Sluiten",variant:"tertiary",icon:"cross",onDsoClick:o=>this.dsoClose.emit({originalEvent:o})}),e("slot",{key:"5a486a2e8eee2e5a3f98ae15ee76563fce664b07"}))),e("div",{key:"d1987ab7e4216867e6b4112832be253283d6a07b",class:"onboarding-tip-arrow",ref:o=>this.tipArrowRef=o})))}get headingSlottedElement(){return this.host.querySelector("[slot='heading']")}get referenceElement(){const o=this.host.id;if(!o)return void console.warn("Unable to find reference. Onboarding Tip has no [id] attribute.");const r=this.host.getRootNode();if(!(r instanceof Document||r instanceof ShadowRoot))return void console.warn("rootNode is not instance of Document or ShadowRoot");const t=r.querySelector(`[aria-describedby="${o}"]`);if(t)return t;console.warn(`Unable to find reference element with aria-describedby ${o}`)}get host(){return i(this)}};d.style="*,*::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)}::slotted([slot=heading]){display:flex !important;align-items:center !important;margin-block-end:0 !important;margin-block-start:0 !important;color:#fff !important;line-height:1.375 !important}:host{--_dso-button-primary-background-color:#fff;--_dso-button-primary-border-color:#fff;--_dso-button-primary-color:#000;--_dso-button-primary-hover-background-color:#ccc;--_dso-button-primary-hover-border-color:#ccc;--_dso-button-primary-hover-color:#000;--_dso-button-primary-active-background-color:#999;--_dso-button-primary-active-border-color:#999;--_dso-button-primary-active-color:#000;--_dso-button-primary-disabled-background-color:#fff;--_dso-button-primary-disabled-border-color:#fff;--_dso-button-primary-disabled-color:#b2b2b2;--_dso-button-secondary-background-color:#fff;--_dso-button-secondary-border-color:#fff;--_dso-button-secondary-color:#000;--_dso-button-secondary-hover-background-color:#ccc;--_dso-button-secondary-hover-border-color:#ccc;--_dso-button-secondary-hover-color:#000;--_dso-button-secondary-active-background-color:#999;--_dso-button-secondary-active-border-color:#999;--_dso-button-secondary-active-color:#000;--_dso-button-secondary-disabled-background-color:#fff;--_dso-button-secondary-disabled-border-color:#fff;--_dso-button-secondary-disabled-color:#b2b2b2;display:block;filter:drop-shadow(2px 2px 16px rgba(0, 0, 0, 0.4));transition:visibility 400ms, opacity 400ms}:host(:not([ready])){opacity:1;animation:400ms ease-in 1 normal both fadeInOpacity}:host([popover]){margin:0 !important;border:0;padding:0;background-color:transparent;overflow:unset}.onboarding-tip{font-family:Asap, sans-serif;font-style:normal;font-weight:400;line-height:1.5;line-break:auto;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;overflow-wrap:normal;word-spacing:normal;white-space:normal;font-size:0.875rem;inset-block-start:0;inset-inline-start:0;z-index:410}@media screen and (max-width: 360px){.onboarding-tip{padding-inline-start:8px !important}}.dso-close{position:absolute;inset-block-start:4px;inset-inline-end:4px}.onboarding-tip-inner{--_dso-link-color:#fff;--_dso-link-hover-color:#b2b2b2;--_dso-link-visited-color:#7f7f7f;max-inline-size:min(360px, 100vw - 2 * 8px);max-block-size:calc(100vh - 10px);overflow:auto;padding-block:32px 8px;padding-inline:8px;border-radius:4px;display:block;font-size:1rem;position:relative;z-index:2;--_dso-alert-success-border-color:#39870c;--_dso-alert-error-border-color:#ce3f51;--_dso-alert-info-border-color:#6ca4d9;--_dso-alert-warning-border-color:#dcd400;--_dso-link-color:currentColor;--_dso-link-hover-color:currentColor;--_dso-link-visited-color:currentColor;--_dso-link-download-icon:var(--_dso-di-download-wit);--_dso-link-extern-icon:var(--_dso-di-external-link-wit);--_dso-link-phone-icon:var(--_dso-di-call-wit);--_dso-link-mail-icon:var(--_dso-di-mail-outline-wit);--_dso-link-list-chevron-icon:var(--_dso-di-chevron-right-wit);--_dso-icon-button-secondary-active-color:#fff;--_dso-icon-button-secondary-active-background-color:rgba(255, 255, 255, 0.4);--_dso-icon-button-secondary-toggled-color:#fff;--_dso-icon-button-secondary-toggled-background-color:rgba(255, 255, 255, 0.2);--_dso-icon-button-secondary-toggled-hover-background-color:rgba(255, 255, 255, 0.3);--_dso-icon-button-tertiary-color:#f2f2f2;--_dso-icon-button-tertiary-hover-color:#fff;--_dso-icon-button-tertiary-active-color:rgba(255, 255, 255, 0.4);--_dso-icon-button-tertiary-toggled-color:#fff;--_dso-icon-button-tertiary-toggled-hover-color:rgba(255, 255, 255, 0.3);--_dso-icon-button-tertiary-disabled-color:#b2b2b2;--_dso-button-tertiary-download-icon:var(--_dso-di-download-wit);--_dso-button-tertiary-external-link-icon:var(--_dso-di-external-link-wit);--_dso-button-primary-background-color:#fff;--_dso-button-primary-hover-background-color:rgba(255, 255, 255, 0.8);--_dso-button-primary-active-background-color:#f2f2f2;--_dso-button-primary-disabled-background-color:rgba(255, 255, 255, 0.6);--_dso-button-primary-border-color:#fff;--_dso-button-primary-hover-border-color:rgba(255, 255, 255, 0.8);--_dso-button-primary-active-border-color:#f2f2f2;--_dso-button-primary-disabled-border-color:rgba(255, 255, 255, 0.6);--_dso-button-primary-color:#191919;--_dso-button-primary-hover-color:#191919;--_dso-button-primary-active-color:#191919;--_dso-button-primary-disabled-color:#666;--_dso-button-secondary-background-color:none;--_dso-button-secondary-hover-background-color:rgba(255, 255, 255, 0.2);--_dso-button-secondary-active-background-color:rgba(255, 255, 255, 0.4);--_dso-button-secondary-disabled-background-color:none;--_dso-button-secondary-border-color:#fff;--_dso-button-secondary-hover-border-color:#fff;--_dso-button-secondary-active-border-color:rgba(255, 255, 255, 0.4);--_dso-button-secondary-disabled-border-color:rgba(255, 255, 255, 0.7);--_dso-button-secondary-color:#fff;--_dso-button-secondary-hover-color:#fff;--_dso-button-secondary-active-color:#fff;--_dso-button-secondary-disabled-color:rgba(255, 255, 255, 0.7);--_dso-button-tertiary-color:#fff;--_dso-button-tertiary-hover-color:#fff;--_dso-button-tertiary-active-color:#fff;--_dso-button-tertiary-disabled-color:#b2b2b2;background-color:#2b5780;color:#fff}@media screen and (max-width: 991px){.onboarding-tip-inner{max-block-size:unset}}.onboarding-tip-arrow{border-start-start-radius:4px;position:absolute;block-size:20px;inline-size:20px;background:#2b5780;z-index:1;pointer-events:none}.onboarding-tip-content-wrapper{padding-inline:16px;padding-block-end:16px}.onboarding-tip-content-heading{display:flex}@keyframes fadeInOpacity{0%{opacity:0}100%{opacity:1}}";export{d as dso_onboarding_tip}
1
+ import{r as o,d as r,f as t,h as e,a as n,g as i}from"./p-DRum3iIs.js";import{p as a}from"./p-CcOMPHLg.js";import"./p-DMUqzLuy.js";const d=class{constructor(t){o(this,t),this.dsoClose=r(this,"dsoClose",7),this.placement="right",this.ready=!1,this.popoverOpen=!1,this.blockEscapeKey=o=>{"Escape"===o.key&&(o.preventDefault(),this.dsoClose.emit({originalEvent:o}))}}connectedCallback(){this.mutationObserver=new MutationObserver((()=>t(this.host))),this.mutationObserver.observe(this.host,{attributes:!0,childList:!0,subtree:!0,characterData:!0})}componentDidRender(){if(this.host.isConnected){if(!this.popoverOpen){this.host.showPopover(),this.popoverOpen=!0;const o=this.host.shadowRoot?.querySelector(".onboarding-tip");this.hasOnboardingTipElement(o)&&d.setFocus(o)}!this.cleanUp&&this.referenceElement&&this.tipArrowRef instanceof HTMLElement&&(this.cleanUp=a({referenceElement:this.referenceElement,tipRef:this.host,tipArrowRef:this.tipArrowRef,placementTip:`${this.placement}-start`,topPositionSmallViewPort:!0,halfMainAxisOffset:!0}))}}disconnectedCallback(){this.mutationObserver?.disconnect(),delete this.mutationObserver,this.popoverOpen&&(this.host.hidePopover(),this.popoverOpen=!1),this.cleanUp?.(),this.cleanUp=void 0}static setFocus(o){o&&o.focus()}hasOnboardingTipElement(o){return o instanceof HTMLElement}render(){const o=this.headingSlottedElement?.textContent;return e(n,{key:"bebcff828c7f3ce40c322d4546cdde7dff3812e2",popover:"manual",ready:this.ready,onAnimationend:()=>this.ready=!0},e("div",{key:"708a59016efc8069ef85a0e06feb71516b98dd18",role:"dialog",class:"onboarding-tip","aria-label":o,onKeyDown:this.blockEscapeKey,tabindex:-1},e("div",{key:"14b21c2c86457fc60709aca5e9aa9ed343786163",class:"onboarding-tip-inner"},e("div",{key:"683199993bf6993d96748a78e7c9b8c51fa78681",class:"onboarding-tip-content-wrapper"},null!==this.headingSlottedElement&&e("div",{key:"3654524691e0ccef4f11cd6ddb7be3043c1efbdc",class:"onboarding-tip-content-heading"},e("dso-icon",{key:"36f25c3e2ef278b5f6f533fa325cb70d0beae0e6",icon:"light-bulb","aria-hidden":"true"}),e("slot",{key:"93801f55ee03843daee88de47d743ca3af5c2c33",name:"heading"})),e("dso-icon-button",{key:"53bda3abdf86e3335a2898841d9df280950c3c11",class:"dso-close",label:"Sluiten",variant:"tertiary",icon:"cross",onDsoClick:o=>this.dsoClose.emit({originalEvent:o})}),e("slot",{key:"5a486a2e8eee2e5a3f98ae15ee76563fce664b07"}))),e("div",{key:"d1987ab7e4216867e6b4112832be253283d6a07b",class:"onboarding-tip-arrow",ref:o=>this.tipArrowRef=o})))}get headingSlottedElement(){return this.host.querySelector("[slot='heading']")}get referenceElement(){const o=this.host.id;if(!o)return void console.warn("Unable to find reference. Onboarding Tip has no [id] attribute.");const r=this.host.getRootNode();if(!(r instanceof Document||r instanceof ShadowRoot))return void console.warn("rootNode is not instance of Document or ShadowRoot");const t=r.querySelector(`[aria-describedby="${o}"]`);if(t)return t;console.warn(`Unable to find reference element with aria-describedby ${o}`)}get host(){return i(this)}};d.style="*,*::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)}::slotted([slot=heading]){display:flex !important;align-items:center !important;margin-block-end:0 !important;margin-block-start:0 !important;color:#fff !important;line-height:1.375 !important}:host{--_dso-button-primary-background-color:#fff;--_dso-button-primary-border-color:#fff;--_dso-button-primary-color:#000;--_dso-button-primary-hover-background-color:#ccc;--_dso-button-primary-hover-border-color:#ccc;--_dso-button-primary-hover-color:#000;--_dso-button-primary-active-background-color:#999;--_dso-button-primary-active-border-color:#999;--_dso-button-primary-active-color:#000;--_dso-button-primary-disabled-background-color:#fff;--_dso-button-primary-disabled-border-color:#fff;--_dso-button-primary-disabled-color:#b2b2b2;--_dso-button-secondary-background-color:#fff;--_dso-button-secondary-border-color:#fff;--_dso-button-secondary-color:#000;--_dso-button-secondary-hover-background-color:#ccc;--_dso-button-secondary-hover-border-color:#ccc;--_dso-button-secondary-hover-color:#000;--_dso-button-secondary-active-background-color:#999;--_dso-button-secondary-active-border-color:#999;--_dso-button-secondary-active-color:#000;--_dso-button-secondary-disabled-background-color:#fff;--_dso-button-secondary-disabled-border-color:#fff;--_dso-button-secondary-disabled-color:#b2b2b2;display:block;filter:drop-shadow(2px 2px 16px rgba(0, 0, 0, 0.4));transition:visibility 400ms, opacity 400ms}:host(:not([ready])){opacity:1;animation:400ms ease-in 1 normal both fadeInOpacity}:host([popover]){margin:0 !important;border:0;padding:0;background-color:transparent;overflow:unset}.onboarding-tip{font-family:Asap, sans-serif;font-style:normal;font-weight:400;line-height:1.5;line-break:auto;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;overflow-wrap:normal;word-spacing:normal;white-space:normal;font-size:0.875rem;inset-block-start:0;inset-inline-start:0;z-index:410}@media screen and (max-width: 360px){.onboarding-tip{padding-inline-start:8px !important}}.dso-close{position:absolute;inset-block-start:4px;inset-inline-end:4px}.onboarding-tip-inner{--_dso-link-color:#fff;--_dso-link-hover-color:#b2b2b2;--_dso-link-visited-color:#7f7f7f;max-inline-size:min(360px, 100vw - 2 * 8px);max-block-size:calc(100vh - 10px);overflow:auto;padding-block:32px 8px;padding-inline:8px;border-radius:4px;display:block;font-size:1rem;position:relative;z-index:2;--_dso-alert-success-border-color:#39870c;--_dso-alert-error-border-color:#ce3f51;--_dso-alert-info-border-color:#6ca4d9;--_dso-alert-warning-border-color:#dcd400;--_dso-link-color:currentColor;--_dso-link-hover-color:currentColor;--_dso-link-visited-color:currentColor;--_dso-link-download-icon:var(--_dso-di-download-wit);--_dso-link-extern-icon:var(--_dso-di-external-link-wit);--_dso-link-phone-icon:var(--_dso-di-call-wit);--_dso-link-mail-icon:var(--_dso-di-mail-outline-wit);--_dso-link-list-chevron-icon:var(--_dso-di-chevron-right-wit);--_dso-icon-button-secondary-active-color:#fff;--_dso-icon-button-secondary-active-background-color:rgba(255, 255, 255, 0.4);--_dso-icon-button-secondary-toggled-color:#fff;--_dso-icon-button-secondary-toggled-background-color:rgba(255, 255, 255, 0.2);--_dso-icon-button-secondary-toggled-hover-background-color:rgba(255, 255, 255, 0.3);--_dso-icon-button-tertiary-color:#f2f2f2;--_dso-icon-button-tertiary-hover-color:#fff;--_dso-icon-button-tertiary-active-color:rgba(255, 255, 255, 0.4);--_dso-icon-button-tertiary-toggled-color:#fff;--_dso-icon-button-tertiary-toggled-hover-color:rgba(255, 255, 255, 0.3);--_dso-icon-button-tertiary-disabled-color:#b2b2b2;--_dso-button-tertiary-download-icon:var(--_dso-di-download-wit);--_dso-button-tertiary-external-link-icon:var(--_dso-di-external-link-wit);--_dso-button-primary-background-color:#fff;--_dso-button-primary-hover-background-color:rgba(255, 255, 255, 0.8);--_dso-button-primary-active-background-color:#f2f2f2;--_dso-button-primary-disabled-background-color:rgba(255, 255, 255, 0.6);--_dso-button-primary-border-color:#fff;--_dso-button-primary-hover-border-color:rgba(255, 255, 255, 0.8);--_dso-button-primary-active-border-color:#f2f2f2;--_dso-button-primary-disabled-border-color:rgba(255, 255, 255, 0.6);--_dso-button-primary-color:#191919;--_dso-button-primary-hover-color:#191919;--_dso-button-primary-active-color:#191919;--_dso-button-primary-disabled-color:#666;--_dso-button-secondary-background-color:none;--_dso-button-secondary-hover-background-color:rgba(255, 255, 255, 0.2);--_dso-button-secondary-active-background-color:rgba(255, 255, 255, 0.4);--_dso-button-secondary-disabled-background-color:none;--_dso-button-secondary-border-color:#fff;--_dso-button-secondary-hover-border-color:#fff;--_dso-button-secondary-active-border-color:rgba(255, 255, 255, 0.4);--_dso-button-secondary-disabled-border-color:rgba(255, 255, 255, 0.7);--_dso-button-secondary-color:#fff;--_dso-button-secondary-hover-color:#fff;--_dso-button-secondary-active-color:#fff;--_dso-button-secondary-disabled-color:rgba(255, 255, 255, 0.7);--_dso-button-tertiary-color:#fff;--_dso-button-tertiary-hover-color:#fff;--_dso-button-tertiary-active-color:#fff;--_dso-button-tertiary-disabled-color:#b2b2b2;background-color:#2b5780;color:#fff}@media screen and (max-width: 991px){.onboarding-tip-inner{max-block-size:unset}}.onboarding-tip-arrow{border-start-start-radius:4px;position:absolute;block-size:20px;inline-size:20px;background:#2b5780;z-index:1;pointer-events:none}.onboarding-tip-content-wrapper{padding-inline:16px;padding-block-end:16px}.onboarding-tip-content-heading{display:flex}@keyframes fadeInOpacity{0%{opacity:0}100%{opacity:1}}";export{d as dso_onboarding_tip}