@dso-toolkit/core 90.1.0 → 91.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (481) hide show
  1. package/dist/bundle/dso-accordion-section.js +10 -10
  2. package/dist/bundle/dso-accordion.js +1 -1
  3. package/dist/bundle/dso-action-list-item.js +3 -3
  4. package/dist/bundle/dso-action-list.js +2 -2
  5. package/dist/bundle/dso-advanced-select.js +8 -8
  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 +6 -6
  14. package/dist/bundle/dso-badge.js +1 -1
  15. package/dist/bundle/dso-banner.js +1 -1
  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.js +1 -1
  25. package/dist/bundle/dso-expandable.js +1 -1
  26. package/dist/bundle/dso-header.js +4 -4
  27. package/dist/bundle/dso-highlight-box.js +2 -2
  28. package/dist/bundle/dso-history-item.js +7 -6
  29. package/dist/bundle/dso-icon-button.js +1 -1
  30. package/dist/bundle/dso-icon.js +1 -1
  31. package/dist/bundle/dso-image-overlay.js +1 -1
  32. package/dist/bundle/dso-info-button.js +1 -1
  33. package/dist/bundle/dso-info.js +1 -1
  34. package/dist/bundle/dso-input-range.js +10 -10
  35. package/dist/bundle/dso-label.js +1 -1
  36. package/dist/bundle/dso-legend-group.js +5 -5
  37. package/dist/bundle/dso-legend-item.js +8 -8
  38. package/dist/bundle/dso-legend.js +6 -6
  39. package/dist/bundle/dso-list-button.js +8 -8
  40. package/dist/bundle/dso-logo.js +2 -2
  41. package/dist/bundle/dso-map-base-layers.js +10 -10
  42. package/dist/bundle/dso-map-controls.js +7 -7
  43. package/dist/bundle/dso-map-layer-object.js +7 -5
  44. package/dist/bundle/dso-map-layer.js +7 -6
  45. package/dist/bundle/dso-map-message.js +4 -4
  46. package/dist/bundle/dso-map-overlays.js +10 -10
  47. package/dist/bundle/dso-mark-bar.js +4 -4
  48. package/dist/bundle/dso-modal.js +7 -7
  49. package/dist/bundle/dso-onboarding-tip.js +5 -5
  50. package/dist/bundle/dso-ozon-content-toggletip.js +1 -1
  51. package/dist/bundle/dso-ozon-content.js +1 -1
  52. package/dist/bundle/dso-pagination.js +3 -3
  53. package/dist/bundle/dso-panel.js +1 -1
  54. package/dist/bundle/dso-plekinfo-card.js +4 -12
  55. package/dist/bundle/dso-progress-indicator.js +1 -1
  56. package/dist/bundle/dso-project-item.js +6 -6
  57. package/dist/bundle/dso-renvooi.js +1 -1
  58. package/dist/bundle/dso-responsive-element.js +1 -1
  59. package/dist/bundle/dso-scrollable.js +1 -1
  60. package/dist/bundle/dso-segmented-button.js +2 -2
  61. package/dist/bundle/dso-selectable.js +1 -1
  62. package/dist/bundle/dso-skiplink.js +3 -3
  63. package/dist/bundle/dso-slide-toggle.js +1 -1
  64. package/dist/bundle/dso-survey-rating.js +6 -6
  65. package/dist/bundle/dso-tab.js +1 -1
  66. package/dist/bundle/dso-table.js +1 -1
  67. package/dist/bundle/dso-tabs.js +2 -2
  68. package/dist/bundle/dso-tijdreis-banner.js +3 -3
  69. package/dist/bundle/dso-toggletip.js +7 -8
  70. package/dist/bundle/dso-tooltip.js +1 -1
  71. package/dist/bundle/dso-tree-view.js +4 -4
  72. package/dist/bundle/dso-viewer-grid.js +2 -2
  73. package/dist/bundle/dsot-document-component-demo.js +27 -26
  74. package/dist/bundle/index.js +2 -2
  75. package/dist/bundle/{p-BrjfgYHu.js → p-Aw2GDcd_.js} +1 -1
  76. package/dist/bundle/{p-l1oPLtTA.js → p-B-4vwR9R.js} +5 -6
  77. package/dist/bundle/{p-Yb_1DkLQ.js → p-B3_SLWNA.js} +2 -2
  78. package/dist/bundle/{p-DkfAYJEK.js → p-BEeZGrQZ.js} +1 -1
  79. package/dist/bundle/{p-BhAymLK3.js → p-BN7BaBN6.js} +10 -19
  80. package/dist/bundle/{p-CWFylPeK.js → p-BTGCfFEi.js} +5 -5
  81. package/dist/bundle/{p-DHnYupzr.js → p-Bpxt6ayX.js} +1 -1
  82. package/dist/bundle/{p-DgXlrrIE.js → p-BrHMwOG1.js} +2 -2
  83. package/dist/bundle/{p-BknPxtzH.js → p-BtO3hbCA.js} +3 -3
  84. package/dist/bundle/{p-Bq2niFBm.js → p-BtSsjpsk.js} +4 -4
  85. package/dist/bundle/{p-DmmKAUIT.js → p-ChUPoPD0.js} +23 -14
  86. package/dist/bundle/{p-BzzKsKZJ.js → p-CwtbTbJR.js} +2 -2
  87. package/dist/bundle/{p-Co2uuask.js → p-Cx-wt8X8.js} +1 -1
  88. package/dist/bundle/{p-Cvc_zdE2.js → p-D1-LTBJ5.js} +4 -4
  89. package/dist/bundle/{p-DLUMPN56.js → p-D5HubnB5.js} +2 -2
  90. package/dist/{esm/v4-C_akviUd.js → bundle/p-DEQj4hHE.js} +1 -1
  91. package/dist/bundle/{p-XMxdbO4a.js → p-DNfICZYP.js} +2 -2
  92. package/dist/bundle/{p-CJuXnQoh.js → p-DVcclNIE.js} +3 -3
  93. package/dist/bundle/{p-rZqcedsG.js → p-Dlc0se6g.js} +42 -20
  94. package/dist/bundle/p-DqzYyiPW.js +16 -0
  95. package/dist/bundle/{p-HAIRtan0.js → p-DrnFQ7QE.js} +1 -1
  96. package/dist/bundle/{p-ChGqsk4J.js → p-DtKW-Ahw.js} +6 -6
  97. package/dist/bundle/{p-D0_f_ziF.js → p-DxWHGT19.js} +5 -5
  98. package/dist/bundle/{p-D9E0ZanO.js → p-OxRzmdbG.js} +3 -3
  99. package/dist/bundle/{p-BF6yRtxl.js → p-PyXrDQQO.js} +4 -4
  100. package/dist/{esm/i18n-FXEjFTzg.js → bundle/p-ULwgxD7S.js} +33 -12
  101. package/dist/bundle/{p-BW1PprKl.js → p-ZVYFxI1s.js} +1 -1
  102. package/dist/bundle/{p-DBac7-7I.js → p-eDWNcXMC.js} +8 -16
  103. package/dist/bundle/{p-DAOlzH7s.js → p-eonzuQ6G.js} +3 -3
  104. package/dist/bundle/{p--n40ToSQ.js → p-gyRjz9FA.js} +9 -9
  105. package/dist/bundle/{p-BA6Zh1WC.js → p-j2wKDi7f.js} +7 -7
  106. package/dist/bundle/{p-Chf3HmLn.js → p-uPEAyTMl.js} +3 -3
  107. package/dist/bundle/{p-DhxQaUrY.js → p-yUjhN7ux.js} +4 -4
  108. package/dist/bundle/{p-BgyqGgJ8.js → p-zRaH89Qj.js} +72 -64
  109. package/dist/cjs/{annotation-body-RMdkmeDi.js → annotation-body-D709UN2k.js} +1 -1
  110. package/dist/cjs/{annotation-list-renvooi-values-yougabBy.js → annotation-list-renvooi-values-Bf6MmhgH.js} +1 -1
  111. package/dist/cjs/{annotation-watcher-CRuL5p8N.js → annotation-watcher-nmRcLxK5.js} +1 -1
  112. package/dist/cjs/dso-accordion-section.cjs.entry.js +2 -2
  113. package/dist/cjs/dso-accordion.cjs.entry.js +1 -1
  114. package/dist/cjs/dso-action-list-item.cjs.entry.js +2 -2
  115. package/dist/cjs/dso-action-list.cjs.entry.js +2 -2
  116. package/dist/cjs/dso-advanced-select.cjs.entry.js +2 -2
  117. package/dist/cjs/dso-alert_7.cjs.entry.js +23 -32
  118. package/dist/cjs/dso-annotation-activiteit.cjs.entry.js +4 -4
  119. package/dist/cjs/dso-annotation-gebiedsaanwijzing.cjs.entry.js +3 -3
  120. package/dist/cjs/dso-annotation-kaart.cjs.entry.js +2 -2
  121. package/dist/cjs/dso-annotation-locatie_2.cjs.entry.js +33 -11
  122. package/dist/cjs/dso-annotation-omgevingsnormwaarde.cjs.entry.js +4 -4
  123. package/dist/cjs/dso-attachments-counter_2.cjs.entry.js +1 -1
  124. package/dist/cjs/dso-autosuggest.cjs.entry.js +3 -3
  125. package/dist/cjs/dso-banner.cjs.entry.js +1 -1
  126. package/dist/cjs/dso-button-group.cjs.entry.js +1 -1
  127. package/dist/cjs/dso-card-container.cjs.entry.js +1 -1
  128. package/dist/cjs/dso-card.cjs.entry.js +1 -1
  129. package/dist/cjs/dso-contact-information.cjs.entry.js +1 -1
  130. package/dist/cjs/dso-cursor-tooltip.cjs.entry.js +1 -1
  131. package/dist/cjs/dso-date-picker.cjs.entry.js +1 -1
  132. package/dist/cjs/dso-document-card.cjs.entry.js +1 -1
  133. package/dist/cjs/dso-dropdown-menu.cjs.entry.js +3 -3
  134. package/dist/cjs/dso-header.cjs.entry.js +2 -2
  135. package/dist/cjs/dso-highlight-box.cjs.entry.js +2 -2
  136. package/dist/cjs/dso-history-item.cjs.entry.js +4 -4
  137. package/dist/cjs/dso-icon_2.cjs.entry.js +6 -6
  138. package/dist/cjs/dso-info-button.cjs.entry.js +7 -14
  139. package/dist/cjs/dso-info_2.cjs.entry.js +3 -3
  140. package/dist/cjs/dso-input-range.cjs.entry.js +3 -3
  141. package/dist/cjs/dso-label_3.cjs.entry.js +5 -5
  142. package/dist/cjs/dso-legend-group.cjs.entry.js +3 -3
  143. package/dist/cjs/dso-legend-item.cjs.entry.js +3 -3
  144. package/dist/cjs/dso-legend.cjs.entry.js +3 -3
  145. package/dist/cjs/dso-list-button.cjs.entry.js +2 -2
  146. package/dist/cjs/dso-logo.cjs.entry.js +2 -2
  147. package/dist/cjs/dso-map-base-layers.cjs.entry.js +4 -4
  148. package/dist/cjs/dso-map-controls.cjs.entry.js +3 -3
  149. package/dist/cjs/dso-map-layer-object.cjs.entry.js +4 -3
  150. package/dist/cjs/dso-map-layer.cjs.entry.js +4 -3
  151. package/dist/cjs/dso-map-message.cjs.entry.js +3 -3
  152. package/dist/cjs/dso-map-overlays.cjs.entry.js +4 -4
  153. package/dist/cjs/dso-mark-bar.cjs.entry.js +2 -2
  154. package/dist/cjs/dso-modal.cjs.entry.js +4 -4
  155. package/dist/cjs/dso-onboarding-tip.cjs.entry.js +4 -4
  156. package/dist/cjs/dso-pagination.cjs.entry.js +1 -1
  157. package/dist/cjs/dso-plekinfo-card.cjs.entry.js +3 -11
  158. package/dist/cjs/dso-progress-indicator.cjs.entry.js +3 -3
  159. package/dist/cjs/dso-project-item.cjs.entry.js +2 -2
  160. package/dist/cjs/dso-responsive-element.cjs.entry.js +2 -2
  161. package/dist/cjs/dso-scrollable.cjs.entry.js +3 -3
  162. package/dist/cjs/dso-segmented-button.cjs.entry.js +2 -2
  163. package/dist/cjs/dso-skiplink.cjs.entry.js +2 -2
  164. package/dist/cjs/dso-survey-rating.cjs.entry.js +3 -3
  165. package/dist/cjs/dso-tab.cjs.entry.js +1 -1
  166. package/dist/cjs/dso-tabs.cjs.entry.js +2 -2
  167. package/dist/cjs/dso-tijdreis-banner.cjs.entry.js +2 -2
  168. package/dist/cjs/dso-toggletip.cjs.entry.js +2 -2
  169. package/dist/cjs/dso-toolkit.cjs.js +3 -3
  170. package/dist/cjs/dso-tooltip.cjs.entry.js +2 -2
  171. package/dist/cjs/dso-tree-view.cjs.entry.js +2 -2
  172. package/dist/cjs/dso-viewer-grid.cjs.entry.js +2 -2
  173. package/dist/cjs/dsot-document-component-demo.cjs.entry.js +10 -9
  174. package/dist/cjs/{floating-ui.dom-D-ZpkBFm.js → floating-ui.dom-ClybLJQM.js} +72 -64
  175. package/dist/cjs/{i18n-CBaOSyHy.js → i18n-EVv0JhYm.js} +33 -12
  176. package/dist/cjs/{index-BKUr3Wdg.js → index-Dqk4tvHL.js} +23 -14
  177. package/dist/cjs/loader.cjs.js +2 -2
  178. package/dist/cjs/{parse-wijzigactie-from-node.function-B_NZh4Us.js → parse-wijzigactie-from-node.function-2IxB-3Tj.js} +1 -1
  179. package/dist/cjs/{position-tooltip.function-Bwu_g1_t.js → position-tooltip.function-CppeKAt4.js} +1 -1
  180. package/dist/cjs/{tooltip.functional-component-ByUlZk1N.js → tooltip.functional-component-DrN_v5w1.js} +1 -1
  181. package/dist/cjs/{v4-DVHpSsrI.js → v4-B9KyY_nQ.js} +1 -1
  182. package/dist/cjs/wrap-wijzigactie.functional-component-CJUtPTJt.js +18 -0
  183. package/dist/collection/collection-manifest.json +2 -1
  184. package/dist/collection/components/accordion/components/accordion-section.css +3 -0
  185. package/dist/collection/components/action-list/action-list.css +1 -1
  186. package/dist/collection/components/action-list/components/action-list-item.css +6 -6
  187. package/dist/collection/components/document-component/document-component.js +31 -9
  188. package/dist/collection/components/document-component-demo/document-component.demo.js +7 -6
  189. package/dist/collection/components/highlight-box/highlight-box.css +5 -5
  190. package/dist/collection/components/history-item/history-item.css +29 -11
  191. package/dist/collection/components/history-item/history-item.js +22 -3
  192. package/dist/collection/components/icon/icon.js +1 -1
  193. package/dist/collection/components/icon-button/icon-button.js +1 -1
  194. package/dist/collection/components/info/info.js +1 -1
  195. package/dist/collection/components/info-button/info-button.css +0 -15
  196. package/dist/collection/components/info-button/info-button.js +2 -28
  197. package/dist/collection/components/input-range/input-range.js +9 -9
  198. package/dist/collection/components/label/label.js +2 -2
  199. package/dist/collection/components/legend/legend-group/legend-group.js +1 -1
  200. package/dist/collection/components/legend/legend-item/legend-item.js +1 -1
  201. package/dist/collection/components/legend/legend.js +1 -1
  202. package/dist/collection/components/list-button/list-button.js +1 -1
  203. package/dist/collection/components/logo/logo.js +1 -1
  204. package/dist/collection/components/map-base-layers/map-base-layers.js +1 -1
  205. package/dist/collection/components/map-controls/map-controls.js +1 -1
  206. package/dist/collection/components/map-layer/components/map-layer-object.css +99 -15
  207. package/dist/collection/components/map-layer/components/map-layer-object.js +29 -1
  208. package/dist/collection/components/map-layer/map-layer.css +90 -10
  209. package/dist/collection/components/map-layer/map-layer.js +31 -21
  210. package/dist/collection/components/map-message/map-message.js +2 -2
  211. package/dist/collection/components/map-overlays/map-overlays.js +1 -1
  212. package/dist/collection/components/mark-bar/mark-bar.js +1 -1
  213. package/dist/collection/components/modal/modal.js +1 -1
  214. package/dist/collection/components/onboarding-tip/onboarding-tip.js +1 -1
  215. package/dist/collection/components/ozon-content/components/ozon-content-toggletip/ozon-content-toggletip.css +4 -9
  216. package/dist/collection/components/ozon-content/components/ozon-content-toggletip/ozon-content-toggletip.js +1 -1
  217. package/dist/collection/components/ozon-content/nodes/al.node.js +1 -1
  218. package/dist/collection/components/ozon-content/nodes/begrip.node.js +1 -1
  219. package/dist/collection/components/ozon-content/nodes/begrippenlijst.node.js +1 -1
  220. package/dist/collection/components/ozon-content/nodes/kop.node.js +1 -1
  221. package/dist/collection/components/ozon-content/nodes/lijst.node.js +1 -1
  222. package/dist/collection/components/ozon-content/nodes/table.node/table-cell.js +1 -1
  223. package/dist/collection/components/ozon-content/ozon-content.js +1 -1
  224. package/dist/collection/components/panel/panel.js +1 -1
  225. package/dist/collection/components/plekinfo-card/plekinfo-card.js +7 -15
  226. package/dist/collection/components/progress-indicator/progress-indicator.js +1 -1
  227. package/dist/collection/components/project-item/project-item.js +1 -1
  228. package/dist/collection/components/responsive-element/responsive-element.js +1 -1
  229. package/dist/collection/components/scrollable/scrollable.js +2 -2
  230. package/dist/collection/components/segmented-button/segmented-button.js +2 -2
  231. package/dist/collection/components/selectable/selectable.js +1 -1
  232. package/dist/collection/components/skiplink/skiplink.js +1 -1
  233. package/dist/collection/components/slide-toggle/slide-toggle.js +1 -1
  234. package/dist/collection/components/survey-rating/survey-rating.js +2 -2
  235. package/dist/collection/components/table/table.js +2 -3
  236. package/dist/collection/components/tabs/tabs.js +1 -1
  237. package/dist/collection/components/tijdreis-banner/tijdreis-banner.js +1 -1
  238. package/dist/collection/components/toggletip/toggletip.js +1 -20
  239. package/dist/collection/components/tooltip/tooltip.js +1 -1
  240. package/dist/collection/components/tree-view/tree-view.js +1 -1
  241. package/dist/collection/components/viewer-grid/viewer-grid.js +1 -1
  242. package/dist/collection/functional-components/wrap-wijzigactie/wrap-wijzigactie.functional-component.js +13 -0
  243. package/dist/collection/utils/i18n.js +1 -0
  244. package/dist/components/document-component.js +1 -1
  245. package/dist/components/dso-accordion-section.js +1 -1
  246. package/dist/components/dso-action-list-item.js +1 -1
  247. package/dist/components/dso-action-list.js +1 -1
  248. package/dist/components/dso-advanced-select.js +1 -1
  249. package/dist/components/dso-highlight-box.js +1 -1
  250. package/dist/components/dso-history-item.js +1 -1
  251. package/dist/components/dso-input-range.js +1 -1
  252. package/dist/components/dso-legend-group.js +1 -1
  253. package/dist/components/dso-legend-item.js +1 -1
  254. package/dist/components/dso-legend.js +1 -1
  255. package/dist/components/dso-list-button.js +1 -1
  256. package/dist/components/dso-logo.js +1 -1
  257. package/dist/components/dso-map-base-layers.js +1 -1
  258. package/dist/components/dso-map-controls.js +1 -1
  259. package/dist/components/dso-map-layer-object.js +1 -1
  260. package/dist/components/dso-map-layer.js +1 -1
  261. package/dist/components/dso-map-message.js +1 -1
  262. package/dist/components/dso-map-overlays.js +1 -1
  263. package/dist/components/dso-mark-bar.js +1 -1
  264. package/dist/components/dso-modal.js +1 -1
  265. package/dist/components/dso-onboarding-tip.js +1 -1
  266. package/dist/components/dso-plekinfo-card.js +1 -1
  267. package/dist/components/dso-project-item.js +1 -1
  268. package/dist/components/dso-segmented-button.js +1 -1
  269. package/dist/components/dso-skiplink.js +1 -1
  270. package/dist/components/dso-survey-rating.js +1 -1
  271. package/dist/components/dso-tabs.js +1 -1
  272. package/dist/components/dso-tijdreis-banner.js +1 -1
  273. package/dist/components/dso-toggletip.js +1 -1
  274. package/dist/components/dso-tree-view.js +1 -1
  275. package/dist/components/dso-viewer-grid.js +1 -1
  276. package/dist/components/dsot-document-component-demo.js +1 -1
  277. package/dist/components/floating-ui.dom.js +1 -1
  278. package/dist/components/i18n.js +1 -1
  279. package/dist/components/icon-button.js +1 -1
  280. package/dist/components/icon.js +1 -1
  281. package/dist/components/info-button.js +1 -1
  282. package/dist/components/info.js +1 -1
  283. package/dist/components/label.js +1 -1
  284. package/dist/components/ozon-content-toggletip.js +1 -1
  285. package/dist/components/ozon-content.js +1 -1
  286. package/dist/components/panel.js +1 -1
  287. package/dist/components/progress-indicator.js +1 -1
  288. package/dist/components/responsive-element.js +1 -1
  289. package/dist/components/scrollable.js +1 -1
  290. package/dist/components/selectable.js +1 -1
  291. package/dist/components/slide-toggle.js +1 -1
  292. package/dist/components/table.js +1 -1
  293. package/dist/components/tooltip.js +1 -1
  294. package/dist/components/v4.js +1 -1
  295. package/dist/components/wrap-wijzigactie.functional-component.js +1 -0
  296. package/dist/dso-toolkit/dso-toolkit.esm.js +1 -1
  297. package/dist/dso-toolkit/p-01eb841e.entry.js +1 -0
  298. package/dist/dso-toolkit/{p-780737ad.entry.js → p-064c5a7a.entry.js} +1 -1
  299. package/dist/dso-toolkit/{p-be08cb19.entry.js → p-0806202d.entry.js} +1 -1
  300. package/dist/dso-toolkit/{p-679ddcde.entry.js → p-0860136b.entry.js} +1 -1
  301. package/dist/dso-toolkit/{p-7229fed0.entry.js → p-0aad5fe6.entry.js} +1 -1
  302. package/dist/dso-toolkit/p-0d157ae7.entry.js +1 -0
  303. package/dist/dso-toolkit/{p-810c1d07.entry.js → p-0f876c0a.entry.js} +1 -1
  304. package/dist/dso-toolkit/p-1fa1ffbc.entry.js +1 -0
  305. package/dist/dso-toolkit/{p-2b751600.entry.js → p-2398e358.entry.js} +1 -1
  306. package/dist/dso-toolkit/{p-3fee4537.entry.js → p-28494f89.entry.js} +1 -1
  307. package/dist/dso-toolkit/{p-200819a2.entry.js → p-2f516e4b.entry.js} +1 -1
  308. package/dist/dso-toolkit/{p-c650002e.entry.js → p-331a77f3.entry.js} +1 -1
  309. package/dist/dso-toolkit/{p-00e1ac4c.entry.js → p-3d59a7bb.entry.js} +1 -1
  310. package/dist/dso-toolkit/{p-fe4dd620.entry.js → p-3e5b2fef.entry.js} +1 -1
  311. package/dist/dso-toolkit/{p-e8f4fcd0.entry.js → p-3f0c3325.entry.js} +3 -3
  312. package/dist/dso-toolkit/{p-046d345e.entry.js → p-3f6d1167.entry.js} +1 -1
  313. package/dist/dso-toolkit/{p-df8e58cb.entry.js → p-41bf7330.entry.js} +1 -1
  314. package/dist/dso-toolkit/p-43b8db31.entry.js +1 -0
  315. package/dist/dso-toolkit/p-466cd42e.entry.js +1 -0
  316. package/dist/dso-toolkit/{p-d8c89791.entry.js → p-4bf15aa2.entry.js} +1 -1
  317. package/dist/dso-toolkit/p-4f7c6b0b.entry.js +1 -0
  318. package/dist/dso-toolkit/{p-a563e235.entry.js → p-51c0ca8c.entry.js} +1 -1
  319. package/dist/dso-toolkit/p-521908e4.entry.js +1 -0
  320. package/dist/dso-toolkit/{p-188f383c.entry.js → p-5c68cd75.entry.js} +1 -1
  321. package/dist/dso-toolkit/{p-d8a6007b.entry.js → p-655e3b73.entry.js} +1 -1
  322. package/dist/dso-toolkit/{p-f4fc6fe4.entry.js → p-6bcc7aa8.entry.js} +1 -1
  323. package/dist/dso-toolkit/{p-c33dc797.entry.js → p-6e5e6778.entry.js} +1 -1
  324. package/dist/dso-toolkit/{p-ff1d91b4.entry.js → p-6ffcff75.entry.js} +1 -1
  325. package/dist/dso-toolkit/{p-d831c95a.entry.js → p-7267f3f4.entry.js} +1 -1
  326. package/dist/dso-toolkit/{p-5893f749.entry.js → p-75001c55.entry.js} +1 -1
  327. package/dist/dso-toolkit/{p-6fc38a28.entry.js → p-758753b4.entry.js} +1 -1
  328. package/dist/dso-toolkit/p-762bae0a.entry.js +1 -0
  329. package/dist/dso-toolkit/{p-cfcc5b29.entry.js → p-7e01a979.entry.js} +1 -1
  330. package/dist/dso-toolkit/{p-16e69d06.entry.js → p-850d9452.entry.js} +1 -1
  331. package/dist/dso-toolkit/{p-bca812a8.entry.js → p-86250ce1.entry.js} +1 -1
  332. package/dist/dso-toolkit/p-8bfb71c6.entry.js +1 -0
  333. package/dist/dso-toolkit/{p-4cdcaba3.entry.js → p-8cbecafb.entry.js} +1 -1
  334. package/dist/dso-toolkit/{p-b63c1d6a.entry.js → p-8dbdfc2c.entry.js} +1 -1
  335. package/dist/dso-toolkit/p-8ec9c2e4.entry.js +1 -0
  336. package/dist/dso-toolkit/{p-2391ab39.entry.js → p-9ddc4327.entry.js} +1 -1
  337. package/dist/dso-toolkit/{p-BlaG0Agw.js → p-B9WLR_Pd.js} +1 -1
  338. package/dist/dso-toolkit/p-BIfnbekk.js +2 -0
  339. package/dist/dso-toolkit/{p-Ce5efsIs.js → p-BaoXsbsy.js} +1 -1
  340. package/dist/dso-toolkit/p-BuFNkQa2.js +1 -0
  341. package/dist/dso-toolkit/p-CJ3poofC.js +1 -0
  342. package/dist/dso-toolkit/p-Co-_Hv5Q.js +1 -0
  343. package/dist/dso-toolkit/p-DEQj4hHE.js +1 -0
  344. package/dist/dso-toolkit/p-DHajDj9P.js +1 -0
  345. package/dist/dso-toolkit/p-ULwgxD7S.js +1 -0
  346. package/dist/dso-toolkit/p-Vx2gP-Bl.js +1 -0
  347. package/dist/dso-toolkit/{p-a3175e48.entry.js → p-a1bbab8d.entry.js} +1 -1
  348. package/dist/dso-toolkit/p-a1ce78db.entry.js +1 -0
  349. package/dist/dso-toolkit/{p-881da5bc.entry.js → p-a28f17f3.entry.js} +1 -1
  350. package/dist/dso-toolkit/{p-a22d7d1e.entry.js → p-a33024ef.entry.js} +1 -1
  351. package/dist/dso-toolkit/{p-9b29129c.entry.js → p-ac214c2f.entry.js} +1 -1
  352. package/dist/dso-toolkit/{p-7e82657e.entry.js → p-b10d5ff7.entry.js} +1 -1
  353. package/dist/dso-toolkit/p-bcb59685.entry.js +1 -0
  354. package/dist/dso-toolkit/{p-bbf2a5cb.entry.js → p-c0235338.entry.js} +1 -1
  355. package/dist/dso-toolkit/p-c0974a7b.entry.js +1 -0
  356. package/dist/dso-toolkit/{p-fc2b2c86.entry.js → p-c1bbf72e.entry.js} +1 -1
  357. package/dist/dso-toolkit/{p-94924839.entry.js → p-c485698f.entry.js} +1 -1
  358. package/dist/dso-toolkit/{p-0c6c3d19.entry.js → p-c9ad74b4.entry.js} +1 -1
  359. package/dist/dso-toolkit/{p-7c6e1f22.entry.js → p-cbc7268a.entry.js} +1 -1
  360. package/dist/dso-toolkit/{p-b0bc4aed.entry.js → p-d0bbc40a.entry.js} +1 -1
  361. package/dist/dso-toolkit/{p-25bb82be.entry.js → p-db1a32fc.entry.js} +1 -1
  362. package/dist/dso-toolkit/{p-c800076a.entry.js → p-dbbdb8de.entry.js} +1 -1
  363. package/dist/dso-toolkit/{p-0b4ddc17.entry.js → p-e1feb2cb.entry.js} +1 -1
  364. package/dist/dso-toolkit/{p-027fc4fe.entry.js → p-e331aecd.entry.js} +1 -1
  365. package/dist/dso-toolkit/{p-644d47f9.entry.js → p-e3ccc1f7.entry.js} +1 -1
  366. package/dist/dso-toolkit/{p-3631a64d.entry.js → p-ed940510.entry.js} +1 -1
  367. package/dist/dso-toolkit/{p-a25435fc.entry.js → p-f9d75ac8.entry.js} +1 -1
  368. package/dist/dso-toolkit/p-zRaH89Qj.js +1 -0
  369. package/dist/esm/{annotation-body-Ce5c-0pe.js → annotation-body-XmHPl1j-.js} +1 -1
  370. package/dist/esm/{annotation-list-renvooi-values-B9Td2jg4.js → annotation-list-renvooi-values-BrskkBG_.js} +1 -1
  371. package/dist/esm/{annotation-watcher-Dk6POxYU.js → annotation-watcher-CXzFGupS.js} +1 -1
  372. package/dist/esm/dso-accordion-section.entry.js +2 -2
  373. package/dist/esm/dso-accordion.entry.js +1 -1
  374. package/dist/esm/dso-action-list-item.entry.js +2 -2
  375. package/dist/esm/dso-action-list.entry.js +2 -2
  376. package/dist/esm/dso-advanced-select.entry.js +2 -2
  377. package/dist/esm/dso-alert_7.entry.js +14 -23
  378. package/dist/esm/dso-annotation-activiteit.entry.js +4 -4
  379. package/dist/esm/dso-annotation-gebiedsaanwijzing.entry.js +3 -3
  380. package/dist/esm/dso-annotation-kaart.entry.js +2 -2
  381. package/dist/esm/dso-annotation-locatie_2.entry.js +33 -11
  382. package/dist/esm/dso-annotation-omgevingsnormwaarde.entry.js +4 -4
  383. package/dist/esm/dso-attachments-counter_2.entry.js +1 -1
  384. package/dist/esm/dso-autosuggest.entry.js +3 -3
  385. package/dist/esm/dso-banner.entry.js +1 -1
  386. package/dist/esm/dso-button-group.entry.js +1 -1
  387. package/dist/esm/dso-card-container.entry.js +1 -1
  388. package/dist/esm/dso-card.entry.js +1 -1
  389. package/dist/esm/dso-contact-information.entry.js +1 -1
  390. package/dist/esm/dso-cursor-tooltip.entry.js +1 -1
  391. package/dist/esm/dso-date-picker.entry.js +1 -1
  392. package/dist/esm/dso-document-card.entry.js +1 -1
  393. package/dist/esm/dso-dropdown-menu.entry.js +3 -3
  394. package/dist/esm/dso-header.entry.js +2 -2
  395. package/dist/esm/dso-highlight-box.entry.js +2 -2
  396. package/dist/esm/dso-history-item.entry.js +4 -4
  397. package/dist/esm/dso-icon_2.entry.js +6 -6
  398. package/dist/esm/dso-info-button.entry.js +7 -14
  399. package/dist/esm/dso-info_2.entry.js +3 -3
  400. package/dist/esm/dso-input-range.entry.js +3 -3
  401. package/dist/esm/dso-label_3.entry.js +5 -5
  402. package/dist/esm/dso-legend-group.entry.js +3 -3
  403. package/dist/esm/dso-legend-item.entry.js +3 -3
  404. package/dist/esm/dso-legend.entry.js +3 -3
  405. package/dist/esm/dso-list-button.entry.js +2 -2
  406. package/dist/esm/dso-logo.entry.js +2 -2
  407. package/dist/esm/dso-map-base-layers.entry.js +4 -4
  408. package/dist/esm/dso-map-controls.entry.js +3 -3
  409. package/dist/esm/dso-map-layer-object.entry.js +4 -3
  410. package/dist/esm/dso-map-layer.entry.js +4 -3
  411. package/dist/esm/dso-map-message.entry.js +3 -3
  412. package/dist/esm/dso-map-overlays.entry.js +4 -4
  413. package/dist/esm/dso-mark-bar.entry.js +2 -2
  414. package/dist/esm/dso-modal.entry.js +4 -4
  415. package/dist/esm/dso-onboarding-tip.entry.js +4 -4
  416. package/dist/esm/dso-pagination.entry.js +1 -1
  417. package/dist/esm/dso-plekinfo-card.entry.js +3 -11
  418. package/dist/esm/dso-progress-indicator.entry.js +3 -3
  419. package/dist/esm/dso-project-item.entry.js +2 -2
  420. package/dist/esm/dso-responsive-element.entry.js +2 -2
  421. package/dist/esm/dso-scrollable.entry.js +3 -3
  422. package/dist/esm/dso-segmented-button.entry.js +2 -2
  423. package/dist/esm/dso-skiplink.entry.js +2 -2
  424. package/dist/esm/dso-survey-rating.entry.js +3 -3
  425. package/dist/esm/dso-tab.entry.js +1 -1
  426. package/dist/esm/dso-tabs.entry.js +2 -2
  427. package/dist/esm/dso-tijdreis-banner.entry.js +2 -2
  428. package/dist/esm/dso-toggletip.entry.js +2 -2
  429. package/dist/esm/dso-toolkit.js +4 -4
  430. package/dist/esm/dso-tooltip.entry.js +2 -2
  431. package/dist/esm/dso-tree-view.entry.js +2 -2
  432. package/dist/esm/dso-viewer-grid.entry.js +2 -2
  433. package/dist/esm/dsot-document-component-demo.entry.js +10 -9
  434. package/dist/esm/{floating-ui.dom-BgyqGgJ8.js → floating-ui.dom-zRaH89Qj.js} +72 -64
  435. package/dist/{bundle/p-FXEjFTzg.js → esm/i18n-ULwgxD7S.js} +33 -12
  436. package/dist/esm/{index-ai7aDzJN.js → index-BIfnbekk.js} +23 -14
  437. package/dist/esm/loader.js +3 -3
  438. package/dist/esm/{parse-wijzigactie-from-node.function-DFRwNK3S.js → parse-wijzigactie-from-node.function-g0_S_VRv.js} +1 -1
  439. package/dist/esm/{position-tooltip.function-Db-YtSLm.js → position-tooltip.function-Cf2lM20T.js} +1 -1
  440. package/dist/esm/{tooltip.functional-component-TdyYX_ny.js → tooltip.functional-component-eBucNQlw.js} +1 -1
  441. package/dist/{bundle/p-C_akviUd.js → esm/v4-DEQj4hHE.js} +1 -1
  442. package/dist/esm/wrap-wijzigactie.functional-component-BB1TmP-v.js +16 -0
  443. package/dist/types/components/document-component/document-component.d.ts +4 -2
  444. package/dist/types/components/document-component/document-component.interfaces.d.ts +3 -0
  445. package/dist/types/components/history-item/history-item.d.ts +4 -0
  446. package/dist/types/components/info-button/info-button.d.ts +0 -5
  447. package/dist/types/components/map-layer/components/map-layer-object.d.ts +6 -0
  448. package/dist/types/components/map-layer/map-layer.d.ts +7 -4
  449. package/dist/types/components/ozon-content/nodes/table.node/table-cell.d.ts +2 -2
  450. package/dist/types/components/plekinfo-card/plekinfo-card.d.ts +3 -2
  451. package/dist/types/components/plekinfo-card/plekinfo-card.interfaces.d.ts +0 -1
  452. package/dist/types/components/segmented-button/segmented-button.d.ts +1 -1
  453. package/dist/types/components/table/table.d.ts +0 -1
  454. package/dist/types/components/toggletip/toggletip.d.ts +0 -4
  455. package/dist/types/components.d.ts +38 -36
  456. package/dist/types/functional-components/wrap-wijzigactie/wrap-wijzigactie.functional-component.d.ts +7 -0
  457. package/dist/types/stencil-public-runtime.d.ts +3 -1
  458. package/package.json +9 -10
  459. package/dist/collection/components/ozon-content/functional-components/wrap-wijzigactie.functional-component.js +0 -10
  460. package/dist/dso-toolkit/p-028df884.entry.js +0 -1
  461. package/dist/dso-toolkit/p-297777c1.entry.js +0 -1
  462. package/dist/dso-toolkit/p-39663446.entry.js +0 -1
  463. package/dist/dso-toolkit/p-41769318.entry.js +0 -1
  464. package/dist/dso-toolkit/p-43fb6780.entry.js +0 -1
  465. package/dist/dso-toolkit/p-49845201.entry.js +0 -1
  466. package/dist/dso-toolkit/p-7df48674.entry.js +0 -1
  467. package/dist/dso-toolkit/p-82ec94ae.entry.js +0 -1
  468. package/dist/dso-toolkit/p-863dde86.entry.js +0 -1
  469. package/dist/dso-toolkit/p-88a5dc4d.entry.js +0 -1
  470. package/dist/dso-toolkit/p-BgyqGgJ8.js +0 -1
  471. package/dist/dso-toolkit/p-C_akviUd.js +0 -1
  472. package/dist/dso-toolkit/p-CiFROHm0.js +0 -1
  473. package/dist/dso-toolkit/p-DMMFbykw.js +0 -1
  474. package/dist/dso-toolkit/p-DQQwiKx8.js +0 -1
  475. package/dist/dso-toolkit/p-Dnozu1V0.js +0 -1
  476. package/dist/dso-toolkit/p-FXEjFTzg.js +0 -1
  477. package/dist/dso-toolkit/p-ac8d2b73.entry.js +0 -1
  478. package/dist/dso-toolkit/p-ai7aDzJN.js +0 -2
  479. package/dist/dso-toolkit/p-c3c19b60.entry.js +0 -1
  480. package/dist/dso-toolkit/p-e0a6d9da.entry.js +0 -1
  481. package/dist/types/components/ozon-content/functional-components/wrap-wijzigactie.functional-component.d.ts +0 -6
@@ -0,0 +1 @@
1
+ import{r as o,d as e,h as r,a as t}from"./p-BIfnbekk.js";import{W as i}from"./p-CJ3poofC.js";const a=class{constructor(r){o(this,r),this.dsoActiveChange=e(this,"dsoActiveChange",7),this.dsoMouseEnter=e(this,"dsoMouseEnter",7),this.dsoMouseLeave=e(this,"dsoMouseLeave",7),this.handleActiveChange=o=>{this.dsoActiveChange.emit({current:Boolean(this.active),next:!this.active,originalEvent:o})}}render(){return r(t,{key:"e87eb0a987f963f5cd37d2d6dd31a973b0af3a5a",onMouseEnter:()=>this.dsoMouseEnter.emit(),onMouseLeave:()=>this.dsoMouseLeave.emit()},r(i,{key:"fd8848154e06d83165db3961de7ad2b906ab5fe8",wijzigactie:this.wijzigactie},r("div",{key:"8c001e470ce4e4b4fc688e090b2269be4ffe8030",class:"map-layer-object"},r("div",{key:"55e475b8c309a5918e8f59624a86fb60189dcb4b"},r("slot",{key:"45760d7f2ecf8db5efda4ece670e909978d807aa",name:"symbol"})),r("div",{key:"fb46ff9139db827a5fa6d86b1f4fe23e75688108",class:"map-layer-object-heading"},r("slot",{key:"d17824947aad54c024cf0da86d06e898bb465732"}),r("slot",{key:"80ab4eb005bf754772e9bc60ff1e4a868199f639",name:"label"})),r("div",{key:"02dd86c4ed6328db5de0802684e55be7c6121194",class:"slide-toggle-container"},r("dso-slide-toggle",{key:"a40dca66743d2404a761b47788c80a3334a0ff8e",accessibleLabel:"Toon op kaart",checked:this.active,onDsoActiveChange:this.handleActiveChange})))))}};a.style='*,*::after,*::before{box-sizing:border-box}:host{display:block}:host ins,:host del{display:contents;text-decoration:none}:host([wijzigactie=voegtoe]){--_dso-alert-success-border-color:#39870c;--_dso-alert-error-border-color:#ce3f51;--_dso-alert-info-border-color:#6ca4d9;--_dso-alert-warning-border-color:#dcd400;--link-color:currentColor;--link-hover-color:currentColor;--link-visited-color:currentColor}:host([wijzigactie=voegtoe]) a:not(.dso-primary,.dso-secondary,.dso-tertiary):is(.download,.download:hover,.download:focus-visible){background-image:var(--_dso-di-background-image, url("./di.svg#download-zwart"))}:host([wijzigactie=voegtoe]) a:not(.dso-primary,.dso-secondary,.dso-tertiary):is(.extern,.extern:hover,.extern:focus-visible){background-image:var(--_dso-di-background-image, url("./di.svg#external-link-zwart"))}:host([wijzigactie=voegtoe]) a:not(.dso-primary,.dso-secondary,.dso-tertiary):is([href^="tel:"],[href^="tel:"]:hover,[href^="tel:"]:focus-visible){background-image:var(--_dso-di-background-image, url("./di.svg#call-zwart"))}:host([wijzigactie=voegtoe]) a:not(.dso-primary,.dso-secondary,.dso-tertiary):is([href^="mailto:"],[href^="mailto:"]:hover,[href^="mailto:"]:focus-visible){background-image:var(--_dso-di-background-image, url("./di.svg#mail-outline-zwart"))}:host([wijzigactie=voegtoe]){--_dso-icon-button-tertiary-color:#191919;--_dso-icon-button-tertiary-hover-color:#4c4c4c;--_dso-icon-button-tertiary-active-color:#173521;--_dso-icon-button-tertiary-disabled-color:#999;--_dso-button-tertiary-color:#191919;--_dso-button-tertiary-hover-color:#4c4c4c;--_dso-button-tertiary-active-color:#173521;--_dso-button-tertiary-disabled-color:#999;background-color:#e4f1d4;color:#191919;box-shadow:0 1px 3px 1px rgba(0, 0, 0, 0.5);--_dso-ozon-content-toggletip-color:#000}:host([wijzigactie=verwijder]){--_dso-alert-success-border-color:#39870c;--_dso-alert-error-border-color:#ce3f51;--_dso-alert-info-border-color:#6ca4d9;--_dso-alert-warning-border-color:#dcd400;--link-color:currentColor;--link-hover-color:currentColor;--link-visited-color:currentColor}:host([wijzigactie=verwijder]) a:not(.dso-primary,.dso-secondary,.dso-tertiary):is(.download,.download:hover,.download:focus-visible){background-image:var(--_dso-di-background-image, url("./di.svg#download-zwart"))}:host([wijzigactie=verwijder]) a:not(.dso-primary,.dso-secondary,.dso-tertiary):is(.extern,.extern:hover,.extern:focus-visible){background-image:var(--_dso-di-background-image, url("./di.svg#external-link-zwart"))}:host([wijzigactie=verwijder]) a:not(.dso-primary,.dso-secondary,.dso-tertiary):is([href^="tel:"],[href^="tel:"]:hover,[href^="tel:"]:focus-visible){background-image:var(--_dso-di-background-image, url("./di.svg#call-zwart"))}:host([wijzigactie=verwijder]) a:not(.dso-primary,.dso-secondary,.dso-tertiary):is([href^="mailto:"],[href^="mailto:"]:hover,[href^="mailto:"]:focus-visible){background-image:var(--_dso-di-background-image, url("./di.svg#mail-outline-zwart"))}:host([wijzigactie=verwijder]){--_dso-icon-button-tertiary-color:#191919;--_dso-icon-button-tertiary-hover-color:#4c4c4c;--_dso-icon-button-tertiary-active-color:#173521;--_dso-icon-button-tertiary-disabled-color:#999;--_dso-button-tertiary-color:#191919;--_dso-button-tertiary-hover-color:#4c4c4c;--_dso-button-tertiary-active-color:#173521;--_dso-button-tertiary-disabled-color:#999;background-color:#f5d8dc;color:#191919;--_dso-ozon-content-toggletip-color:#000}.map-layer-object{display:flex;justify-content:space-between;align-items:center;padding:2px;min-block-size:28px}.map-layer-object ::slotted([slot=symbol]){background-color:#fff;display:block;float:inline-start;block-size:24px;margin-block-start:0;margin-inline-end:8px;inline-size:27.6923076923px;overflow:hidden;position:relative}.map-layer-object-heading{display:flex;flex-wrap:wrap;align-items:center;gap:4px}.map-layer-object .slide-toggle-container{display:flex;align-items:center;margin-inline-start:auto}.map-layer-object .slide-toggle-container dso-slide-toggle{display:flex;padding-block:0}';export{a as dso_map_layer_object}
@@ -1 +1 @@
1
- import{r as t,d as n,h as e,F as o}from"./p-ai7aDzJN.js";import{g as r,c as i}from"./p-BFTU3MAI.js";var s,u,c,a,f=r(function(){if(u)return s;u=1;var t=1/0,n=9007199254740991,e=/^\s+|\s+$/g,o=/^[-+]0x[0-9a-f]+$/i,r=/^0b[01]+$/i,i=/^0o[0-7]+$/i,c=/^(?:0|[1-9]\d*)$/,a=parseFloat,f=parseInt,h=Object.prototype.toString,d=Math.floor,l=Math.min,p=Math.random;function b(t){var n=typeof t;return!!t&&("object"==n||"function"==n)}function v(n){return n?(n=function(t){if("number"==typeof t)return t;if(function(t){return"symbol"==typeof t||function(t){return!!t&&"object"==typeof t}(t)&&"[object Symbol]"==h.call(t)}(t))return NaN;if(b(t)){var n="function"==typeof t.valueOf?t.valueOf():t;t=b(n)?n+"":n}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(e,"");var s=r.test(t);return s||i.test(t)?f(t.slice(2),s?2:8):o.test(t)?NaN:+t}(n))===t||n===-1/0?17976931348623157e292*(n<0?-1:1):n==n?n:0:0===n?n:0}return s=function(t,e,o){if(o&&"boolean"!=typeof o&&function(t,e,o){if(!b(o))return!1;var r=typeof e;return!!("number"==r?function(t){return null!=t&&function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=n}(t.length)&&!function(t){var n=b(t)?h.call(t):"";return"[object Function]"==n||"[object GeneratorFunction]"==n}(t)}(o)&&function(t,e){return!!(e=null==e?n:e)&&("number"==typeof t||c.test(t))&&t>-1&&t%1==0&&t<e}(e,o.length):"string"==r&&e in o)&&function(t,n){return t===n||t!=t&&n!=n}(o[e],t)}(t,e,o)&&(e=o=void 0),void 0===o&&("boolean"==typeof e?(o=e,e=void 0):"boolean"==typeof t&&(o=t,t=void 0)),void 0===t&&void 0===e?(t=0,e=1):(t=v(t),void 0===e?(e=t,t=0):e=v(e)),t>e){var r=t;t=e,e=r}if(o||t%1||e%1){var i=p();return l(t+i*(e-t+a("1e-"+((i+"").length-1))),e)}return function(t,n){return t+d(p()*(n-t+1))}(t,e)}}()),h=r(function(){if(a)return c;a=1;var t=1/0,n=9007199254740991,e="[object Map]",o="[object Promise]",r="[object Set]",s="[object WeakMap]",u="[object DataView]",f=/^\s+|\s+$/g,h=/^[-+]0x[0-9a-f]+$/i,d=/^0b[01]+$/i,l=/^\[object .+?Constructor\]$/,p=/^0o[0-7]+$/i,b=/^(?:0|[1-9]\d*)$/,v="\\ud800-\\udfff",m="\\u0300-\\u036f\\ufe20-\\ufe23",y="\\u20d0-\\u20f0",g="\\ufe0e\\ufe0f",j="["+v+"]",C="["+m+y+"]",D="\\ud83c[\\udffb-\\udfff]",w="[^"+v+"]",k="(?:\\ud83c[\\udde6-\\uddff]){2}",A="[\\ud800-\\udbff][\\udc00-\\udfff]",O="\\u200d",T="(?:"+C+"|"+D+")?",$="["+g+"]?",I=$+T+"(?:"+O+"(?:"+[w,k,A].join("|")+")"+$+T+")*",S="(?:"+[w+C+"?",C,k,A,j].join("|")+")",F=RegExp(D+"(?="+D+")|"+S+I,"g"),M=RegExp("["+O+v+m+y+g+"]"),N=parseInt,x="object"==typeof self&&self&&self.Object===Object&&self,E="object"==typeof i&&i&&i.Object===Object&&i||x||Function("return this")();function z(t){var n=-1,e=Array(t.size);return t.forEach((function(t,o){e[++n]=[o,t]})),e}function R(t){var n=-1,e=Array(t.size);return t.forEach((function(t){e[++n]=t})),e}var L,W,B,V=Function.prototype,_=Object.prototype,K=E["__core-js_shared__"],P=(L=/[^.]+$/.exec(K&&K.keys&&K.keys.IE_PROTO||""))?"Symbol(src)_1."+L:"",G=V.toString,U=_.hasOwnProperty,H=_.toString,J=RegExp("^"+G.call(U).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),q=E.Symbol,Q=q?q.iterator:void 0,X=_.propertyIsEnumerable,Y=Math.floor,Z=(W=Object.keys,B=Object,function(t){return W(B(t))}),tt=Math.random,nt=dt(E,"DataView"),et=dt(E,"Map"),ot=dt(E,"Promise"),rt=dt(E,"Set"),it=dt(E,"WeakMap"),st=bt(nt),ut=bt(et),ct=bt(ot),at=bt(rt),ft=bt(it);function ht(t,n){return t+Y(tt()*(n-t+1))}function dt(t,n){var e=function(t,n){return null==t?void 0:t[n]}(t,n);return function(t){if(!gt(t)||function(t){return!!P&&P in t}(t))return!1;var n=yt(t)||function(t){var n=!1;if(null!=t&&"function"!=typeof t.toString)try{n=!!(t+"")}catch(t){}return n}(t)?J:l;return n.test(bt(t))}(e)?e:void 0}var lt=function(t){return H.call(t)};function pt(t,e){return!!(e=null==e?n:e)&&("number"==typeof t||b.test(t))&&t>-1&&t%1==0&&t<e}function bt(t){if(null!=t){try{return G.call(t)}catch(t){}try{return t+""}catch(t){}}return""}(nt&&lt(new nt(new ArrayBuffer(1)))!=u||et&&lt(new et)!=e||ot&&lt(ot.resolve())!=o||rt&&lt(new rt)!=r||it&&lt(new it)!=s)&&(lt=function(t){var n=H.call(t),i="[object Object]"==n?t.constructor:void 0,c=i?bt(i):void 0;if(c)switch(c){case st:return u;case ut:return e;case ct:return o;case at:return r;case ft:return s}return n});var vt=Array.isArray;function mt(t){return null!=t&&function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=n}(t.length)&&!yt(t)}function yt(t){var n=gt(t)?H.call(t):"";return"[object Function]"==n||"[object GeneratorFunction]"==n}function gt(t){var n=typeof t;return!!t&&("object"==n||"function"==n)}function jt(t){return!!t&&"object"==typeof t}function Ct(t){return t?function(t,n){return function(n){for(var e=-1,o=n?n.length:0,r=Array(o);++e<o;)r[e]=t[n[e]];return r}(n)}(t,function(t){return mt(t)?function(t){var n=vt(t)||function(t){return function(t){return jt(t)&&mt(t)}(t)&&U.call(t,"callee")&&(!X.call(t,"callee")||"[object Arguments]"==H.call(t))}(t)?function(t,n){for(var e=-1,o=Array(t);++e<t;)o[e]=n(e);return o}(t.length,String):[],e=n.length,o=!!e;for(var r in t)!U.call(t,r)||o&&("length"==r||pt(r,e))||n.push(r);return n}(t):function(t){if((n=t)!==("function"==typeof(e=n&&n.constructor)&&e.prototype||_))return Z(t);var n,e,o=[];for(var r in Object(t))U.call(t,r)&&"constructor"!=r&&o.push(r);return o}(t)}(t)):[]}return c=function(n,o,i){var s,u,c=-1,a=function(t){if(!t)return[];if(mt(t))return function(t){return"string"==typeof t||!vt(t)&&jt(t)&&"[object String]"==H.call(t)}(t)?function(t){return M.test(t)}(n=t)?function(t){return t.match(F)||[]}(n):function(t){return t.split("")}(n):function(t,n){var e=-1,o=t.length;for(n||(n=Array(o));++e<o;)n[e]=t[e];return n}(t);var n;if(Q&&t[Q])return function(t){for(var n,e=[];!(n=t.next()).done;)e.push(n.value);return e}(t[Q]());var o=lt(t);return(o==e?z:o==r?R:Ct)(t)}(n),l=a.length,b=l-1;for((i?function(t,n,e){if(!gt(e))return!1;var o=typeof n;return!!("number"==o?mt(e)&&pt(n,e.length):"string"==o&&n in e)&&function(t,n){return t===n||t!=t&&n!=n}(e[n],t)}(n,o,i):void 0===o)?o=1:(s=function(n){var e=function(n){return n?(n=function(t){if("number"==typeof t)return t;if(function(t){return"symbol"==typeof t||jt(t)&&"[object Symbol]"==H.call(t)}(t))return NaN;if(gt(t)){var n="function"==typeof t.valueOf?t.valueOf():t;t=gt(n)?n+"":n}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(f,"");var e=d.test(t);return e||p.test(t)?N(t.slice(2),e?2:8):h.test(t)?NaN:+t}(n))===t||n===-1/0?17976931348623157e292*(n<0?-1:1):n==n?n:0:0===n?n:0}(n),o=e%1;return e==e?o?e-o:e:0}(o),u=l,s==s&&(void 0!==u&&(s=s<=u?s:u),s=s>=0?s:0),o=s);++c<o;){var v=ht(c,b),m=a[v];a[v]=a[c],a[c]=m}return a.length=o,a}}());const d=class{constructor(r){t(this,r),this.dsotOzonContentClick=n(this,"dsotOzonContentClick",7),this.dsotTableOfContentsClick=n(this,"dsotTableOfContentsClick",3),this.showCanvas=!1,this.showBesluitversie=!1,this.openDefault=!1,this.mode="document",this.openOrClosed=[],this.openedAnnotation=[],this.filtered=[],this.notApplicable=[],this.activeAnnotationSelectables=[],this.handleRecursiveToggle=(t,n)=>{const e=this.getEmbeddedDocumentComponents(t);if(e)for(const t of e.documentComponents)this.handleOpenToggle(t,n.next)},this.DocumentComponent=({path:t})=>{const n=t.at(-1);if(!n||"table-of-contents"===this.mode&&"LID"===n.type)return e(o,null);const{DocumentComponent:r}=this,i=this.getEmbeddedDocumentComponents(n);let s,u,c,a,f;return this.hasNestedDraft(n)&&(this.showBesluitversie?(s="B",u="primary",c="Dit is een besluitversie."):(s="!",u="warning",c="Er zijn onderliggende onderdelen die veranderen binnen dit ontwerp.")),n.bevatOntwerpInformatie&&(this.showBesluitversie?(a="Besluitversie",f="primary"):(a="Ontwerp",f="warning")),e("dso-document-component",{annotated:this.isAnnotated(n),filtered:this.isOpen(n)?this.isFiltered(n):this.hasFilteredChildren(n),gereserveerd:n.gereserveerd,heading:"h2",kop:n.kop,inhoud:n.inhoud,openAnnotation:this.isOpenedAnnotation(n),notApplicable:this.isNotApplicable(n)||t.some((t=>this.isNotApplicable(t))),onDsoAnnotationToggle:()=>this.handleAnnotationToggle(n),onDsoOpenToggle:()=>this.handleOpenToggle(n),open:this.isOpen(n),type:n.type,vervallen:n.vervallen,wijzigactie:n.wijzigactie,recursiveToggle:this.recursiveToggleState(n),onDsoRecursiveToggle:t=>this.handleRecursiveToggle(n,t.detail),mode:this.mode,href:"table-of-contents"===this.mode?"/document/"+n.documentTechnischId:void 0,onDsoTableOfContentsClick:t=>this.handleTableOfContentsClick(t),onDsoOzonContentClick:t=>this.handleOzonContentClick(t),ozonContentUrlResolver:this.ozonContentUrlResolver,ozonContentBegripResolver:this.ozonContentBegripResolver,badge:s,badgeStatus:u,badgeTooltip:c,label:a,labelStatus:f},this.isOpenedAnnotation(n)&&e("div",{slot:"annotations"},e("dso-annotation-locatie",{active:this.isCheckedSlideToggle(n),"gewijzigde-locatie":!0,locatieNoemer:"Winkelgebied",onDsoActiveChange:()=>this.handleSelectableChange(n)},e("span",{class:"symboolcode",slot:"symbool","data-symboolcode":"vszt030"}))),this.showContent(n)&&i?.documentComponents.length&&e("ul",{class:"dso-document-component-list"},i.documentComponents.map((n=>e("li",{key:n.documentTechnischId},e(r,{path:[...t,n]}))))))},this.MenuButton=({documentComponent:t})=>{const{type:n}=t;return e("button",{type:"button",onClick:()=>this.document=t},e("span",null,e("i",null,n)))}}async jsonFileWatcher(){this.openOrClosed=[],await this.loadData()}async openDefaultWatcher(){this.openOrClosed=[],await this.loadData()}async componentDidLoad(){await this.loadData()}getEmbeddedDocumentComponents(t){return t?._embedded?.ontwerpDocumentComponenten?{documentComponents:t._embedded.ontwerpDocumentComponenten,ontwerp:!0}:t?._embedded?.documentComponenten?{documentComponents:t._embedded.documentComponenten,ontwerp:!1}:void 0}concatEmbeddedDocumentComponents(t){const n=[...this.getEmbeddedDocumentComponents(t)?.documentComponents??[]];for(const t of n)n.push(...this.concatEmbeddedDocumentComponents(t));return n}selectRandomDocumentComponents(t,n=[]){const e=this.concatEmbeddedDocumentComponents(t).filter((t=>!n.includes(t))),o=f(0,Math.floor(e.length/10));return h(e,o)}async loadData(){if(!this.jsonFile)return this.response=void 0,void(this.document=void 0);this.response=await fetch(this.jsonFile).then((t=>t.json())),this.document=this.getEmbeddedDocumentComponents(this.response)?.documentComponents[0],"LICHAAM"===this.document?.type?(this.notApplicable=this.selectRandomDocumentComponents(this.document),this.filtered=this.selectRandomDocumentComponents(this.document,this.notApplicable)):(this.notApplicable=[],this.filtered=[])}handleOpenToggle(t,n){const e="boolean"==typeof n?n:this.openOrClosed.includes(t);e&&this.openOrClosed.includes(t)?this.openOrClosed=this.openOrClosed.filter((n=>n!==t)):e||this.openOrClosed.includes(t)||(this.openOrClosed=[...this.openOrClosed,t])}handleAnnotationToggle(t){this.openedAnnotation=this.isOpenedAnnotation(t)?this.openedAnnotation.filter((n=>n!==t)):[...this.openedAnnotation,t],this.isOpen(t)||(this.openOrClosed=[...this.openOrClosed,t])}handleSelectableChange(t){this.activeAnnotationSelectables=this.isCheckedSlideToggle(t)?this.activeAnnotationSelectables.filter((n=>n!==t)):[...this.activeAnnotationSelectables,t]}handleOzonContentClick(t){this.dsotOzonContentClick.emit(t.detail)}handleTableOfContentsClick(t){this.dsotTableOfContentsClick.emit(t.detail)}isCheckedSlideToggle(t){return this.activeAnnotationSelectables.includes(t)}hasFilteredChildren(t){return this.filtered.includes(t)||(this.getEmbeddedDocumentComponents(t)?.documentComponents.some((t=>this.hasFilteredChildren(t)))??!1)}isOpen(t){return"LID"===t.type||this.openDefault?!this.openOrClosed.includes(t):this.openOrClosed.includes(t)}isOpenedAnnotation(t){return this.openedAnnotation.includes(t)}isFiltered(t){return this.filtered.includes(t)}isNotApplicable(t){return this.notApplicable.includes(t)}hasNestedDraft(t){return this.getEmbeddedDocumentComponents(t)?.documentComponents.some((t=>!!t.bevatOntwerpInformatie||this.hasNestedDraft(t)))??!1}showContent(t){return this.isOpen(t)&&!(!this.getEmbeddedDocumentComponents(t)?.documentComponents.length&&!t.inhoud)}recursiveToggleState(t){const n=this.getEmbeddedDocumentComponents(t);if(n&&!(n.documentComponents.length<=1)&&n.documentComponents.some((t=>"ARTIKEL"===t.type)))return n.documentComponents.every((t=>this.isOpen(t)))}isAnnotated(t){return"DIVISIE"===t.type||"DIVISIETEKST"===t.type||"ARTIKEL"===t.type||"LID"===t.type}render(){const{DocumentComponent:t,MenuButton:n}=this;return e("dso-responsive-element",{key:"8b44ff48fb7765722cb2aed05ef33b01fa894c5e",class:"dso-document-components"},e("div",{key:"3c21c41664841413f5cdbc4e5d6fecd89f984ded",class:"dso-navbar"},e("ul",{key:"d472b6e3fb32b57796520370a6cc5243d7ffe84c",class:"dso-nav dso-nav-sub"},this.getEmbeddedDocumentComponents(this.response)?.documentComponents?.map((t=>e("li",{class:this.document===t?"dso-active":void 0},e(n,{documentComponent:t})))))),this.document&&e(t,{key:"a42283aeb135b57c722e3b7ace64c4029c55369d",path:[this.document]}))}static get watchers(){return{jsonFile:[{jsonFileWatcher:0}],openDefault:[{openDefaultWatcher:0}]}}};d.style=".sc-dsot-document-component-demo-h{display:block;margin-block:0;margin-inline:8px;border-inline-start:1px dashed transparent;border-inline-end:1px dashed transparent}[show-canvas].sc-dsot-document-component-demo-h{border-inline-start:1px dashed pink;border-inline-end:1px dashed pink}";export{d as dsot_document_component_demo}
1
+ import{r as t,d as n,h as e,F as o}from"./p-BIfnbekk.js";import{g as r,c as i}from"./p-BFTU3MAI.js";var s,u,c,a,f=r(function(){if(u)return s;u=1;var t=1/0,n=9007199254740991,e=/^\s+|\s+$/g,o=/^[-+]0x[0-9a-f]+$/i,r=/^0b[01]+$/i,i=/^0o[0-7]+$/i,c=/^(?:0|[1-9]\d*)$/,a=parseFloat,f=parseInt,h=Object.prototype.toString,d=Math.floor,l=Math.min,p=Math.random;function b(t){var n=typeof t;return!!t&&("object"==n||"function"==n)}function v(n){return n?(n=function(t){if("number"==typeof t)return t;if(function(t){return"symbol"==typeof t||function(t){return!!t&&"object"==typeof t}(t)&&"[object Symbol]"==h.call(t)}(t))return NaN;if(b(t)){var n="function"==typeof t.valueOf?t.valueOf():t;t=b(n)?n+"":n}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(e,"");var s=r.test(t);return s||i.test(t)?f(t.slice(2),s?2:8):o.test(t)?NaN:+t}(n))===t||n===-1/0?17976931348623157e292*(n<0?-1:1):n==n?n:0:0===n?n:0}return s=function(t,e,o){if(o&&"boolean"!=typeof o&&function(t,e,o){if(!b(o))return!1;var r=typeof e;return!!("number"==r?function(t){return null!=t&&function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=n}(t.length)&&!function(t){var n=b(t)?h.call(t):"";return"[object Function]"==n||"[object GeneratorFunction]"==n}(t)}(o)&&function(t,e){return!!(e=null==e?n:e)&&("number"==typeof t||c.test(t))&&t>-1&&t%1==0&&t<e}(e,o.length):"string"==r&&e in o)&&function(t,n){return t===n||t!=t&&n!=n}(o[e],t)}(t,e,o)&&(e=o=void 0),void 0===o&&("boolean"==typeof e?(o=e,e=void 0):"boolean"==typeof t&&(o=t,t=void 0)),void 0===t&&void 0===e?(t=0,e=1):(t=v(t),void 0===e?(e=t,t=0):e=v(e)),t>e){var r=t;t=e,e=r}if(o||t%1||e%1){var i=p();return l(t+i*(e-t+a("1e-"+((i+"").length-1))),e)}return function(t,n){return t+d(p()*(n-t+1))}(t,e)}}()),h=r(function(){if(a)return c;a=1;var t=1/0,n=9007199254740991,e="[object Map]",o="[object Promise]",r="[object Set]",s="[object WeakMap]",u="[object DataView]",f=/^\s+|\s+$/g,h=/^[-+]0x[0-9a-f]+$/i,d=/^0b[01]+$/i,l=/^\[object .+?Constructor\]$/,p=/^0o[0-7]+$/i,b=/^(?:0|[1-9]\d*)$/,v="\\ud800-\\udfff",m="\\u0300-\\u036f\\ufe20-\\ufe23",y="\\u20d0-\\u20f0",g="\\ufe0e\\ufe0f",j="["+v+"]",C="["+m+y+"]",D="\\ud83c[\\udffb-\\udfff]",w="[^"+v+"]",k="(?:\\ud83c[\\udde6-\\uddff]){2}",A="[\\ud800-\\udbff][\\udc00-\\udfff]",O="\\u200d",T="(?:"+C+"|"+D+")?",I="["+g+"]?",$=I+T+"(?:"+O+"(?:"+[w,k,A].join("|")+")"+I+T+")*",S="(?:"+[w+C+"?",C,k,A,j].join("|")+")",F=RegExp(D+"(?="+D+")|"+S+$,"g"),M=RegExp("["+O+v+m+y+g+"]"),x=parseInt,E="object"==typeof self&&self&&self.Object===Object&&self,N="object"==typeof i&&i&&i.Object===Object&&i||E||Function("return this")();function z(t){var n=-1,e=Array(t.size);return t.forEach((function(t,o){e[++n]=[o,t]})),e}function R(t){var n=-1,e=Array(t.size);return t.forEach((function(t){e[++n]=t})),e}var B,L,W,V=Function.prototype,_=Object.prototype,K=N["__core-js_shared__"],P=(B=/[^.]+$/.exec(K&&K.keys&&K.keys.IE_PROTO||""))?"Symbol(src)_1."+B:"",G=V.toString,U=_.hasOwnProperty,H=_.toString,q=RegExp("^"+G.call(U).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),J=N.Symbol,Q=J?J.iterator:void 0,X=_.propertyIsEnumerable,Y=Math.floor,Z=(L=Object.keys,W=Object,function(t){return L(W(t))}),tt=Math.random,nt=dt(N,"DataView"),et=dt(N,"Map"),ot=dt(N,"Promise"),rt=dt(N,"Set"),it=dt(N,"WeakMap"),st=bt(nt),ut=bt(et),ct=bt(ot),at=bt(rt),ft=bt(it);function ht(t,n){return t+Y(tt()*(n-t+1))}function dt(t,n){var e=function(t,n){return null==t?void 0:t[n]}(t,n);return function(t){if(!gt(t)||function(t){return!!P&&P in t}(t))return!1;var n=yt(t)||function(t){var n=!1;if(null!=t&&"function"!=typeof t.toString)try{n=!!(t+"")}catch(t){}return n}(t)?q:l;return n.test(bt(t))}(e)?e:void 0}var lt=function(t){return H.call(t)};function pt(t,e){return!!(e=null==e?n:e)&&("number"==typeof t||b.test(t))&&t>-1&&t%1==0&&t<e}function bt(t){if(null!=t){try{return G.call(t)}catch(t){}try{return t+""}catch(t){}}return""}(nt&&lt(new nt(new ArrayBuffer(1)))!=u||et&&lt(new et)!=e||ot&&lt(ot.resolve())!=o||rt&&lt(new rt)!=r||it&&lt(new it)!=s)&&(lt=function(t){var n=H.call(t),i="[object Object]"==n?t.constructor:void 0,c=i?bt(i):void 0;if(c)switch(c){case st:return u;case ut:return e;case ct:return o;case at:return r;case ft:return s}return n});var vt=Array.isArray;function mt(t){return null!=t&&function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=n}(t.length)&&!yt(t)}function yt(t){var n=gt(t)?H.call(t):"";return"[object Function]"==n||"[object GeneratorFunction]"==n}function gt(t){var n=typeof t;return!!t&&("object"==n||"function"==n)}function jt(t){return!!t&&"object"==typeof t}function Ct(t){return t?function(t,n){return function(n){for(var e=-1,o=n?n.length:0,r=Array(o);++e<o;)r[e]=t[n[e]];return r}(n)}(t,function(t){return mt(t)?function(t){var n=vt(t)||function(t){return function(t){return jt(t)&&mt(t)}(t)&&U.call(t,"callee")&&(!X.call(t,"callee")||"[object Arguments]"==H.call(t))}(t)?function(t,n){for(var e=-1,o=Array(t);++e<t;)o[e]=n(e);return o}(t.length,String):[],e=n.length,o=!!e;for(var r in t)!U.call(t,r)||o&&("length"==r||pt(r,e))||n.push(r);return n}(t):function(t){if((n=t)!==("function"==typeof(e=n&&n.constructor)&&e.prototype||_))return Z(t);var n,e,o=[];for(var r in Object(t))U.call(t,r)&&"constructor"!=r&&o.push(r);return o}(t)}(t)):[]}return c=function(n,o,i){var s,u,c=-1,a=function(t){if(!t)return[];if(mt(t))return function(t){return"string"==typeof t||!vt(t)&&jt(t)&&"[object String]"==H.call(t)}(t)?function(t){return M.test(t)}(n=t)?function(t){return t.match(F)||[]}(n):function(t){return t.split("")}(n):function(t,n){var e=-1,o=t.length;for(n||(n=Array(o));++e<o;)n[e]=t[e];return n}(t);var n;if(Q&&t[Q])return function(t){for(var n,e=[];!(n=t.next()).done;)e.push(n.value);return e}(t[Q]());var o=lt(t);return(o==e?z:o==r?R:Ct)(t)}(n),l=a.length,b=l-1;for((i?function(t,n,e){if(!gt(e))return!1;var o=typeof n;return!!("number"==o?mt(e)&&pt(n,e.length):"string"==o&&n in e)&&function(t,n){return t===n||t!=t&&n!=n}(e[n],t)}(n,o,i):void 0===o)?o=1:(s=function(n){var e=function(n){return n?(n=function(t){if("number"==typeof t)return t;if(function(t){return"symbol"==typeof t||jt(t)&&"[object Symbol]"==H.call(t)}(t))return NaN;if(gt(t)){var n="function"==typeof t.valueOf?t.valueOf():t;t=gt(n)?n+"":n}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(f,"");var e=d.test(t);return e||p.test(t)?x(t.slice(2),e?2:8):h.test(t)?NaN:+t}(n))===t||n===-1/0?17976931348623157e292*(n<0?-1:1):n==n?n:0:0===n?n:0}(n),o=e%1;return e==e?o?e-o:e:0}(o),u=l,s==s&&(void 0!==u&&(s=s<=u?s:u),s=s>=0?s:0),o=s);++c<o;){var v=ht(c,b),m=a[v];a[v]=a[c],a[c]=m}return a.length=o,a}}());const d=class{constructor(r){t(this,r),this.dsotOzonContentClick=n(this,"dsotOzonContentClick",7),this.dsotTableOfContentsClick=n(this,"dsotTableOfContentsClick",3),this.showCanvas=!1,this.showBesluitversie=!1,this.openDefault=!1,this.mode="document",this.openOrClosed=[],this.openedAnnotation=[],this.filtered=[],this.notApplicable=[],this.activeAnnotationSelectables=[],this.handleRecursiveToggle=(t,n)=>{const e=this.getEmbeddedDocumentComponents(t);if(e)for(const t of e.documentComponents)this.handleOpenToggle(t,n.next)},this.DocumentComponent=({path:t})=>{const n=t.at(-1);if(!n||"table-of-contents"===this.mode&&"LID"===n.type)return e(o,null);const{DocumentComponent:r}=this,i=this.getEmbeddedDocumentComponents(n);let s,u,c,a,f;return this.hasNestedDraft(n)&&(this.showBesluitversie?(s="B",u="primary",c="Dit is een besluitversie."):(s="!",u="warning",c="Er zijn onderliggende onderdelen die veranderen binnen dit ontwerp.")),n.bevatOntwerpInformatie&&(this.showBesluitversie?(a="Besluitversie",f="primary"):(a="Ontwerp",f="warning")),e("dso-document-component",{annotated:this.isAnnotated(n),filtered:this.isOpen(n)?this.isFiltered(n):this.hasFilteredChildren(n),gereserveerd:n.gereserveerd,heading:"h2",kop:n.kop,inhoud:n.inhoud,openAnnotation:this.isOpenedAnnotation(n),notApplicable:this.isNotApplicable(n)||t.some((t=>this.isNotApplicable(t))),onDsoAnnotationToggle:t=>this.handleAnnotationToggle(n,t.detail),onDsoOpenToggle:()=>this.handleOpenToggle(n),open:this.isOpen(n),type:n.type,vervallen:n.vervallen,wijzigactie:n.wijzigactie,recursiveToggle:this.recursiveToggleState(n),onDsoRecursiveToggle:t=>this.handleRecursiveToggle(n,t.detail),mode:this.mode,href:"table-of-contents"===this.mode?"/document/"+n.documentTechnischId:void 0,onDsoTableOfContentsClick:t=>this.handleTableOfContentsClick(t),onDsoOzonContentClick:t=>this.handleOzonContentClick(t),ozonContentUrlResolver:this.ozonContentUrlResolver,ozonContentBegripResolver:this.ozonContentBegripResolver,badge:s,badgeStatus:u,badgeTooltip:c,label:a,labelStatus:f},this.isOpenedAnnotation(n)&&e("div",{slot:"annotations"},e("dso-annotation-locatie",{active:this.isCheckedSlideToggle(n),"gewijzigde-locatie":!0,locatieNoemer:"Winkelgebied",onDsoActiveChange:()=>this.handleSelectableChange(n)},e("span",{class:"symboolcode",slot:"symbool","data-symboolcode":"vszt030"}))),this.showContent(n)&&i?.documentComponents.length&&e("ul",{class:"dso-document-component-list"},i.documentComponents.map((n=>e("li",{key:n.documentTechnischId},e(r,{path:[...t,n]}))))))},this.MenuButton=({documentComponent:t})=>{const{type:n}=t;return e("button",{type:"button",onClick:()=>this.document=t},e("span",null,e("i",null,n)))}}async jsonFileWatcher(){this.openOrClosed=[],await this.loadData()}async openDefaultWatcher(){this.openOrClosed=[],await this.loadData()}async componentDidLoad(){await this.loadData()}getEmbeddedDocumentComponents(t){return t?._embedded?.ontwerpDocumentComponenten?{documentComponents:t._embedded.ontwerpDocumentComponenten,ontwerp:!0}:t?._embedded?.documentComponenten?{documentComponents:t._embedded.documentComponenten,ontwerp:!1}:void 0}concatEmbeddedDocumentComponents(t){const n=[...this.getEmbeddedDocumentComponents(t)?.documentComponents??[]];for(const t of n)n.push(...this.concatEmbeddedDocumentComponents(t));return n}selectRandomDocumentComponents(t,n=[]){const e=this.concatEmbeddedDocumentComponents(t).filter((t=>!n.includes(t))),o=f(0,Math.floor(e.length/10));return h(e,o)}async loadData(){if(!this.jsonFile)return this.response=void 0,void(this.document=void 0);this.response=await fetch(this.jsonFile).then((t=>t.json())),this.document=this.getEmbeddedDocumentComponents(this.response)?.documentComponents[0],"LICHAAM"===this.document?.type?(this.notApplicable=this.selectRandomDocumentComponents(this.document),this.filtered=this.selectRandomDocumentComponents(this.document,this.notApplicable)):(this.notApplicable=[],this.filtered=[])}handleOpenToggle(t,n){const e="boolean"==typeof n?n:this.openOrClosed.includes(t);e&&this.openOrClosed.includes(t)?this.openOrClosed=this.openOrClosed.filter((n=>n!==t)):e||this.openOrClosed.includes(t)||(this.openOrClosed=[...this.openOrClosed,t])}handleAnnotationToggle(t,n){this.openedAnnotation=this.isOpenedAnnotation(t)&&!n.next?this.openedAnnotation.filter((n=>n!==t)):[...this.openedAnnotation,t],this.isOpen(t)||(this.openOrClosed=[...this.openOrClosed,t])}handleSelectableChange(t){this.activeAnnotationSelectables=this.isCheckedSlideToggle(t)?this.activeAnnotationSelectables.filter((n=>n!==t)):[...this.activeAnnotationSelectables,t]}handleOzonContentClick(t){this.dsotOzonContentClick.emit(t.detail)}handleTableOfContentsClick(t){this.dsotTableOfContentsClick.emit(t.detail)}isCheckedSlideToggle(t){return this.activeAnnotationSelectables.includes(t)}hasFilteredChildren(t){return this.filtered.includes(t)||(this.getEmbeddedDocumentComponents(t)?.documentComponents.some((t=>this.hasFilteredChildren(t)))??!1)}isOpen(t){return"LID"===t.type||this.openDefault?!this.openOrClosed.includes(t):this.openOrClosed.includes(t)}isOpenedAnnotation(t){return this.openedAnnotation.includes(t)}isFiltered(t){return this.filtered.includes(t)}isNotApplicable(t){return this.notApplicable.includes(t)}hasNestedDraft(t){return this.getEmbeddedDocumentComponents(t)?.documentComponents.some((t=>!!t.bevatOntwerpInformatie||this.hasNestedDraft(t)))??!1}showContent(t){return this.isOpen(t)&&!(!this.getEmbeddedDocumentComponents(t)?.documentComponents.length&&!t.inhoud)}recursiveToggleState(t){const n=this.getEmbeddedDocumentComponents(t);if(n&&!(n.documentComponents.length<=1)&&n.documentComponents.some((t=>"ARTIKEL"===t.type)))return n.documentComponents.every((t=>this.isOpen(t)))}isAnnotated(t){return"DIVISIE"===t.type||"DIVISIETEKST"===t.type||"ARTIKEL"===t.type||"LID"===t.type}render(){const{DocumentComponent:t,MenuButton:n}=this;return e("dso-responsive-element",{key:"d1937ffbb63cdc56a53879d54060786eaaa8fb17",class:"dso-document-components"},e("div",{key:"83911e6a6d08925bddcab009736a8fd6d6ef4810",class:"dso-navbar"},e("ul",{key:"e5cc14968a0f91ba52cc466eb45224a5e1229a2e",class:"dso-nav dso-nav-sub"},this.getEmbeddedDocumentComponents(this.response)?.documentComponents?.map((t=>e("li",{class:this.document===t?"dso-active":void 0},e(n,{documentComponent:t})))))),this.document&&e(t,{key:"82f1e4a26dcf02c40b08c46dc03bbb4aa4c99d7a",path:[this.document]}))}static get watchers(){return{jsonFile:[{jsonFileWatcher:0}],openDefault:[{openDefaultWatcher:0}]}}};d.style=".sc-dsot-document-component-demo-h{display:block;margin-block:0;margin-inline:8px;border-inline-start:1px dashed transparent;border-inline-end:1px dashed transparent}[show-canvas].sc-dsot-document-component-demo-h{border-inline-start:1px dashed pink;border-inline-end:1px dashed pink}";export{d as dsot_document_component_demo}
@@ -1 +1 @@
1
- import{r as e,d as t,h as i,a as s,g as d}from"./p-ai7aDzJN.js";import{i as o}from"./p-FXEjFTzg.js";const n={en:{"dso-legend-group":{edit:"Edit layers",view:"Leave editmode"}},nl:{"dso-legend-group":{edit:"Kaartlagen bewerken",view:"Bewerken verlaten"}}},a=class{constructor(i){e(this,i),this.dsoLegendGroupModeChange=t(this,"dsoLegendGroupModeChange",3),this.text=o((()=>this.host),n),this.toggleMode=e=>{this.dsoLegendGroupModeChange.emit({originalEvent:e.detail.originalEvent,next:"view"===this.mode?"edit":"view"})}}handleModeChange(){if(this.mode){const e=this.mode;this.legendItems.forEach((t=>{t._mode=e}))}}get legendItems(){return Array.from(this.host.querySelectorAll("dso-legend-item"))}connectedCallback(){this.mutationObserver=new MutationObserver((()=>{this.handleModeChange()})),this.mutationObserver.observe(this.host,{childList:!0}),this.handleModeChange()}disconnectedCallback(){this.mutationObserver?.disconnect(),delete this.mutationObserver}render(){return i(s,{key:"152f7438013d1a5edf1bfb3e723a6393fddec6a2"},i("div",{key:"3cb5ba976f84fb7f2b7882d95d352dd80ca1ea0f",class:"legend-group-header"},i("slot",{key:"d896d9d10e45115669e8cb9b1e59939ec569c907",name:"heading"}),this.mode&&i("dso-icon-button",{key:"9169046250d59d072776b0e0782a85f7161eb026",label:this.text("view"===this.mode?"edit":"view"),icon:"view"===this.mode?"pencil":"check",variant:"tertiary",onDsoClick:this.toggleMode})),"edit"===this.mode&&i("slot",{key:"b078732eb83d885b35532967d6c289c9b759d280",name:"options"}),i("slot",{key:"2445dfe4e98b3eb4bea9c731e90c8326c5ca288b"}))}get host(){return d(this)}static get watchers(){return{mode:[{handleModeChange:0}]}}};a.style=":host{display:block}*,*::after,*::before{box-sizing:border-box}.legend-group-header{position:relative}.legend-group-header ::slotted(h3){margin-block:8px !important;padding-block:4px !important}.legend-group-header dso-icon-button{position:absolute;inset-block-start:0;inset-inline-end:0}";export{a as dso_legend_group}
1
+ import{r as e,d as t,h as i,a as s,g as a}from"./p-BIfnbekk.js";import{i as n}from"./p-ULwgxD7S.js";const o={en:{"dso-legend-group":{edit:"Edit layers",view:"Leave editmode"}},nl:{"dso-legend-group":{edit:"Kaartlagen bewerken",view:"Bewerken verlaten"}}},d=class{constructor(i){e(this,i),this.dsoLegendGroupModeChange=t(this,"dsoLegendGroupModeChange",3),this.text=n((()=>this.host),o),this.toggleMode=e=>{this.dsoLegendGroupModeChange.emit({originalEvent:e.detail.originalEvent,next:"view"===this.mode?"edit":"view"})}}handleModeChange(){if(this.mode){const e=this.mode;this.legendItems.forEach((t=>{t._mode=e}))}}get legendItems(){return Array.from(this.host.querySelectorAll("dso-legend-item"))}connectedCallback(){this.mutationObserver=new MutationObserver((()=>{this.handleModeChange()})),this.mutationObserver.observe(this.host,{childList:!0}),this.handleModeChange()}disconnectedCallback(){this.mutationObserver?.disconnect(),delete this.mutationObserver}render(){return i(s,{key:"c6e180da9999c7bfd387a473a1674f2d386009af"},i("div",{key:"2731a49164e33a60c0c609977c6d2b31ec9275df",class:"legend-group-header"},i("slot",{key:"c8b2d7800b83ade97c1a745753d826b87a7fa059",name:"heading"}),this.mode&&i("dso-icon-button",{key:"f5c2a257ae4110ce3661b52fff0256295c59ba9c",label:this.text("view"===this.mode?"edit":"view"),icon:"view"===this.mode?"pencil":"check",variant:"tertiary",onDsoClick:this.toggleMode})),"edit"===this.mode&&i("slot",{key:"c71154bbe1eb5f7e8c5d29f86c5f65381204da53",name:"options"}),i("slot",{key:"7aa06e0de52ba30a547f964270c9bfb3d9c817f9"}))}get host(){return a(this)}static get watchers(){return{mode:[{handleModeChange:0}]}}};d.style=":host{display:block}*,*::after,*::before{box-sizing:border-box}.legend-group-header{position:relative}.legend-group-header ::slotted(h3){margin-block:8px !important;padding-block:4px !important}.legend-group-header dso-icon-button{position:absolute;inset-block-start:0;inset-inline-end:0}";export{d as dso_legend_group}