@dso-toolkit/core 90.2.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.
- package/dist/bundle/dso-accordion-section.js +10 -10
- package/dist/bundle/dso-accordion.js +1 -1
- package/dist/bundle/dso-action-list-item.js +3 -3
- package/dist/bundle/dso-action-list.js +2 -2
- package/dist/bundle/dso-advanced-select.js +8 -8
- package/dist/bundle/dso-alert.js +1 -1
- package/dist/bundle/dso-annotation-activiteit.js +10 -10
- package/dist/bundle/dso-annotation-gebiedsaanwijzing.js +9 -9
- package/dist/bundle/dso-annotation-kaart.js +5 -5
- package/dist/bundle/dso-annotation-locatie.js +1 -1
- package/dist/bundle/dso-annotation-omgevingsnormwaarde.js +10 -10
- package/dist/bundle/dso-attachments-counter.js +1 -1
- package/dist/bundle/dso-autosuggest.js +6 -6
- package/dist/bundle/dso-badge.js +1 -1
- package/dist/bundle/dso-banner.js +1 -1
- package/dist/bundle/dso-button-group.js +1 -1
- package/dist/bundle/dso-card-container.js +1 -1
- package/dist/bundle/dso-card.js +2 -2
- package/dist/bundle/dso-contact-information.js +1 -1
- package/dist/bundle/dso-cursor-tooltip.js +1 -1
- package/dist/bundle/dso-date-picker.js +1 -1
- package/dist/bundle/dso-document-card.js +2 -2
- package/dist/bundle/dso-document-component.js +1 -1
- package/dist/bundle/dso-dropdown-menu.js +1 -1
- package/dist/bundle/dso-expandable.js +1 -1
- package/dist/bundle/dso-header.js +4 -4
- package/dist/bundle/dso-highlight-box.js +2 -2
- package/dist/bundle/dso-history-item.js +7 -6
- package/dist/bundle/dso-icon-button.js +1 -1
- package/dist/bundle/dso-icon.js +1 -1
- package/dist/bundle/dso-image-overlay.js +1 -1
- package/dist/bundle/dso-info-button.js +1 -1
- package/dist/bundle/dso-info.js +1 -1
- package/dist/bundle/dso-input-range.js +10 -10
- package/dist/bundle/dso-label.js +1 -1
- package/dist/bundle/dso-legend-group.js +5 -5
- package/dist/bundle/dso-legend-item.js +8 -8
- package/dist/bundle/dso-legend.js +6 -6
- package/dist/bundle/dso-list-button.js +8 -8
- package/dist/bundle/dso-logo.js +2 -2
- package/dist/bundle/dso-map-base-layers.js +10 -10
- package/dist/bundle/dso-map-controls.js +7 -7
- package/dist/bundle/dso-map-layer-object.js +4 -4
- package/dist/bundle/dso-map-layer.js +4 -4
- package/dist/bundle/dso-map-message.js +4 -4
- package/dist/bundle/dso-map-overlays.js +10 -10
- package/dist/bundle/dso-mark-bar.js +4 -4
- package/dist/bundle/dso-modal.js +7 -7
- package/dist/bundle/dso-onboarding-tip.js +5 -5
- package/dist/bundle/dso-ozon-content-toggletip.js +1 -1
- package/dist/bundle/dso-ozon-content.js +1 -1
- package/dist/bundle/dso-pagination.js +3 -3
- package/dist/bundle/dso-panel.js +1 -1
- package/dist/bundle/dso-plekinfo-card.js +4 -4
- package/dist/bundle/dso-progress-indicator.js +1 -1
- package/dist/bundle/dso-project-item.js +6 -6
- package/dist/bundle/dso-renvooi.js +1 -1
- package/dist/bundle/dso-responsive-element.js +1 -1
- package/dist/bundle/dso-scrollable.js +1 -1
- package/dist/bundle/dso-segmented-button.js +2 -2
- package/dist/bundle/dso-selectable.js +1 -1
- package/dist/bundle/dso-skiplink.js +3 -3
- package/dist/bundle/dso-slide-toggle.js +1 -1
- package/dist/bundle/dso-survey-rating.js +6 -6
- package/dist/bundle/dso-tab.js +1 -1
- package/dist/bundle/dso-table.js +1 -1
- package/dist/bundle/dso-tabs.js +2 -2
- package/dist/bundle/dso-tijdreis-banner.js +3 -3
- package/dist/bundle/dso-toggletip.js +7 -8
- package/dist/bundle/dso-tooltip.js +1 -1
- package/dist/bundle/dso-tree-view.js +4 -4
- package/dist/bundle/dso-viewer-grid.js +2 -2
- package/dist/bundle/dsot-document-component-demo.js +20 -20
- package/dist/bundle/index.js +2 -2
- package/dist/bundle/{p-BrjfgYHu.js → p-Aw2GDcd_.js} +1 -1
- package/dist/bundle/{p-BtoSFmxi.js → p-B-4vwR9R.js} +4 -4
- package/dist/bundle/{p-Yb_1DkLQ.js → p-B3_SLWNA.js} +2 -2
- package/dist/bundle/{p-DkfAYJEK.js → p-BEeZGrQZ.js} +1 -1
- package/dist/bundle/{p-YQatg-S9.js → p-BN7BaBN6.js} +10 -10
- package/dist/bundle/{p-S5dgiDyu.js → p-BTGCfFEi.js} +4 -4
- package/dist/bundle/{p-DHnYupzr.js → p-Bpxt6ayX.js} +1 -1
- package/dist/bundle/{p-DgXlrrIE.js → p-BrHMwOG1.js} +2 -2
- package/dist/bundle/{p-BknPxtzH.js → p-BtO3hbCA.js} +3 -3
- package/dist/bundle/{p-DU-jWPQj.js → p-BtSsjpsk.js} +4 -4
- package/dist/bundle/{p-DmmKAUIT.js → p-ChUPoPD0.js} +23 -14
- package/dist/bundle/{p-jCIJm9RS.js → p-CwtbTbJR.js} +2 -2
- package/dist/bundle/{p-Co2uuask.js → p-Cx-wt8X8.js} +1 -1
- package/dist/bundle/{p-Cvc_zdE2.js → p-D1-LTBJ5.js} +4 -4
- package/dist/bundle/{p-Cv4NtJR0.js → p-D5HubnB5.js} +2 -2
- package/dist/bundle/{p-C_akviUd.js → p-DEQj4hHE.js} +1 -1
- package/dist/bundle/{p-XMxdbO4a.js → p-DNfICZYP.js} +2 -2
- package/dist/bundle/{p-CJuXnQoh.js → p-DVcclNIE.js} +3 -3
- package/dist/bundle/{p-BmmH_eu_.js → p-Dlc0se6g.js} +13 -13
- package/dist/bundle/{p-DVa4-JLn.js → p-DqzYyiPW.js} +1 -1
- package/dist/bundle/{p-HAIRtan0.js → p-DrnFQ7QE.js} +1 -1
- package/dist/bundle/{p-B09PltTN.js → p-DtKW-Ahw.js} +6 -6
- package/dist/bundle/{p-ntyBxyGu.js → p-DxWHGT19.js} +5 -5
- package/dist/bundle/{p-CxUu0O7_.js → p-OxRzmdbG.js} +3 -3
- package/dist/bundle/{p-BF6yRtxl.js → p-PyXrDQQO.js} +4 -4
- package/dist/bundle/{p-FXEjFTzg.js → p-ULwgxD7S.js} +33 -12
- package/dist/bundle/{p-BW1PprKl.js → p-ZVYFxI1s.js} +1 -1
- package/dist/bundle/{p-CIaQxmqO.js → p-eDWNcXMC.js} +8 -16
- package/dist/bundle/{p-nkfcrXkM.js → p-eonzuQ6G.js} +3 -3
- package/dist/bundle/{p-DfR9IgAn.js → p-gyRjz9FA.js} +9 -9
- package/dist/bundle/{p-BNIsduz8.js → p-j2wKDi7f.js} +7 -7
- package/dist/bundle/{p-CVb-Vo71.js → p-uPEAyTMl.js} +3 -3
- package/dist/bundle/{p-DhxQaUrY.js → p-yUjhN7ux.js} +4 -4
- package/dist/bundle/{p-BgyqGgJ8.js → p-zRaH89Qj.js} +72 -64
- package/dist/cjs/{annotation-body-RMdkmeDi.js → annotation-body-D709UN2k.js} +1 -1
- package/dist/cjs/{annotation-list-renvooi-values-yougabBy.js → annotation-list-renvooi-values-Bf6MmhgH.js} +1 -1
- package/dist/cjs/{annotation-watcher-CRuL5p8N.js → annotation-watcher-nmRcLxK5.js} +1 -1
- package/dist/cjs/dso-accordion-section.cjs.entry.js +2 -2
- package/dist/cjs/dso-accordion.cjs.entry.js +1 -1
- package/dist/cjs/dso-action-list-item.cjs.entry.js +2 -2
- package/dist/cjs/dso-action-list.cjs.entry.js +2 -2
- package/dist/cjs/dso-advanced-select.cjs.entry.js +2 -2
- package/dist/cjs/dso-alert_7.cjs.entry.js +12 -12
- package/dist/cjs/dso-annotation-activiteit.cjs.entry.js +4 -4
- package/dist/cjs/dso-annotation-gebiedsaanwijzing.cjs.entry.js +3 -3
- package/dist/cjs/dso-annotation-kaart.cjs.entry.js +2 -2
- package/dist/cjs/dso-annotation-locatie_2.cjs.entry.js +4 -4
- package/dist/cjs/dso-annotation-omgevingsnormwaarde.cjs.entry.js +4 -4
- package/dist/cjs/dso-attachments-counter_2.cjs.entry.js +1 -1
- package/dist/cjs/dso-autosuggest.cjs.entry.js +3 -3
- package/dist/cjs/dso-banner.cjs.entry.js +1 -1
- package/dist/cjs/dso-button-group.cjs.entry.js +1 -1
- package/dist/cjs/dso-card-container.cjs.entry.js +1 -1
- package/dist/cjs/dso-card.cjs.entry.js +1 -1
- package/dist/cjs/dso-contact-information.cjs.entry.js +1 -1
- package/dist/cjs/dso-cursor-tooltip.cjs.entry.js +1 -1
- package/dist/cjs/dso-date-picker.cjs.entry.js +1 -1
- package/dist/cjs/dso-document-card.cjs.entry.js +1 -1
- package/dist/cjs/dso-dropdown-menu.cjs.entry.js +3 -3
- package/dist/cjs/dso-header.cjs.entry.js +2 -2
- package/dist/cjs/dso-highlight-box.cjs.entry.js +2 -2
- package/dist/cjs/dso-history-item.cjs.entry.js +4 -4
- package/dist/cjs/dso-icon_2.cjs.entry.js +6 -6
- package/dist/cjs/dso-info-button.cjs.entry.js +7 -14
- package/dist/cjs/dso-info_2.cjs.entry.js +3 -3
- package/dist/cjs/dso-input-range.cjs.entry.js +3 -3
- package/dist/cjs/dso-label_3.cjs.entry.js +5 -5
- package/dist/cjs/dso-legend-group.cjs.entry.js +3 -3
- package/dist/cjs/dso-legend-item.cjs.entry.js +3 -3
- package/dist/cjs/dso-legend.cjs.entry.js +3 -3
- package/dist/cjs/dso-list-button.cjs.entry.js +2 -2
- package/dist/cjs/dso-logo.cjs.entry.js +2 -2
- package/dist/cjs/dso-map-base-layers.cjs.entry.js +4 -4
- package/dist/cjs/dso-map-controls.cjs.entry.js +3 -3
- package/dist/cjs/dso-map-layer-object.cjs.entry.js +3 -3
- package/dist/cjs/dso-map-layer.cjs.entry.js +3 -3
- package/dist/cjs/dso-map-message.cjs.entry.js +3 -3
- package/dist/cjs/dso-map-overlays.cjs.entry.js +4 -4
- package/dist/cjs/dso-mark-bar.cjs.entry.js +2 -2
- package/dist/cjs/dso-modal.cjs.entry.js +4 -4
- package/dist/cjs/dso-onboarding-tip.cjs.entry.js +4 -4
- package/dist/cjs/dso-pagination.cjs.entry.js +1 -1
- package/dist/cjs/dso-plekinfo-card.cjs.entry.js +3 -3
- package/dist/cjs/dso-progress-indicator.cjs.entry.js +3 -3
- package/dist/cjs/dso-project-item.cjs.entry.js +2 -2
- package/dist/cjs/dso-responsive-element.cjs.entry.js +2 -2
- package/dist/cjs/dso-scrollable.cjs.entry.js +3 -3
- package/dist/cjs/dso-segmented-button.cjs.entry.js +2 -2
- package/dist/cjs/dso-skiplink.cjs.entry.js +2 -2
- package/dist/cjs/dso-survey-rating.cjs.entry.js +3 -3
- package/dist/cjs/dso-tab.cjs.entry.js +1 -1
- package/dist/cjs/dso-tabs.cjs.entry.js +2 -2
- package/dist/cjs/dso-tijdreis-banner.cjs.entry.js +2 -2
- package/dist/cjs/dso-toggletip.cjs.entry.js +2 -2
- package/dist/cjs/dso-toolkit.cjs.js +3 -3
- package/dist/cjs/dso-tooltip.cjs.entry.js +2 -2
- package/dist/cjs/dso-tree-view.cjs.entry.js +2 -2
- package/dist/cjs/dso-viewer-grid.cjs.entry.js +2 -2
- package/dist/cjs/dsot-document-component-demo.cjs.entry.js +3 -3
- package/dist/cjs/{floating-ui.dom-D-ZpkBFm.js → floating-ui.dom-ClybLJQM.js} +72 -64
- package/dist/cjs/{i18n-CBaOSyHy.js → i18n-EVv0JhYm.js} +33 -12
- package/dist/cjs/{index-BKUr3Wdg.js → index-Dqk4tvHL.js} +23 -14
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{parse-wijzigactie-from-node.function-B_NZh4Us.js → parse-wijzigactie-from-node.function-2IxB-3Tj.js} +1 -1
- package/dist/cjs/{position-tooltip.function-Bwu_g1_t.js → position-tooltip.function-CppeKAt4.js} +1 -1
- package/dist/cjs/{tooltip.functional-component-ByUlZk1N.js → tooltip.functional-component-DrN_v5w1.js} +1 -1
- package/dist/cjs/{v4-DVHpSsrI.js → v4-B9KyY_nQ.js} +1 -1
- package/dist/cjs/{wrap-wijzigactie.functional-component-BNrVU6nv.js → wrap-wijzigactie.functional-component-CJUtPTJt.js} +1 -1
- package/dist/collection/collection-manifest.json +2 -1
- package/dist/collection/components/accordion/components/accordion-section.css +3 -0
- package/dist/collection/components/action-list/action-list.css +1 -1
- package/dist/collection/components/action-list/components/action-list-item.css +6 -6
- package/dist/collection/components/highlight-box/highlight-box.css +5 -5
- package/dist/collection/components/history-item/history-item.css +29 -11
- package/dist/collection/components/history-item/history-item.js +22 -3
- package/dist/collection/components/icon/icon.js +1 -1
- package/dist/collection/components/icon-button/icon-button.js +1 -1
- package/dist/collection/components/info/info.js +1 -1
- package/dist/collection/components/info-button/info-button.css +0 -15
- package/dist/collection/components/info-button/info-button.js +2 -28
- package/dist/collection/components/input-range/input-range.js +9 -9
- package/dist/collection/components/label/label.js +2 -2
- package/dist/collection/components/legend/legend-group/legend-group.js +1 -1
- package/dist/collection/components/legend/legend-item/legend-item.js +1 -1
- package/dist/collection/components/legend/legend.js +1 -1
- package/dist/collection/components/list-button/list-button.js +1 -1
- package/dist/collection/components/logo/logo.js +1 -1
- package/dist/collection/components/map-base-layers/map-base-layers.js +1 -1
- package/dist/collection/components/map-controls/map-controls.js +1 -1
- package/dist/collection/components/map-layer/components/map-layer-object.js +1 -1
- package/dist/collection/components/map-layer/map-layer.js +1 -1
- package/dist/collection/components/map-message/map-message.js +2 -2
- package/dist/collection/components/map-overlays/map-overlays.js +1 -1
- package/dist/collection/components/mark-bar/mark-bar.js +1 -1
- package/dist/collection/components/modal/modal.js +1 -1
- package/dist/collection/components/onboarding-tip/onboarding-tip.js +1 -1
- package/dist/collection/components/ozon-content/components/ozon-content-toggletip/ozon-content-toggletip.js +1 -1
- package/dist/collection/components/ozon-content/ozon-content.js +1 -1
- package/dist/collection/components/panel/panel.js +1 -1
- package/dist/collection/components/plekinfo-card/plekinfo-card.js +1 -1
- package/dist/collection/components/progress-indicator/progress-indicator.js +1 -1
- package/dist/collection/components/project-item/project-item.js +1 -1
- package/dist/collection/components/responsive-element/responsive-element.js +1 -1
- package/dist/collection/components/scrollable/scrollable.js +2 -2
- package/dist/collection/components/segmented-button/segmented-button.js +1 -1
- package/dist/collection/components/selectable/selectable.js +1 -1
- package/dist/collection/components/skiplink/skiplink.js +1 -1
- package/dist/collection/components/slide-toggle/slide-toggle.js +1 -1
- package/dist/collection/components/survey-rating/survey-rating.js +2 -2
- package/dist/collection/components/table/table.js +1 -1
- package/dist/collection/components/tabs/tabs.js +1 -1
- package/dist/collection/components/tijdreis-banner/tijdreis-banner.js +1 -1
- package/dist/collection/components/toggletip/toggletip.js +1 -20
- package/dist/collection/components/tooltip/tooltip.js +1 -1
- package/dist/collection/components/tree-view/tree-view.js +1 -1
- package/dist/collection/components/viewer-grid/viewer-grid.js +1 -1
- package/dist/collection/utils/i18n.js +1 -0
- package/dist/components/dso-accordion-section.js +1 -1
- package/dist/components/dso-action-list-item.js +1 -1
- package/dist/components/dso-action-list.js +1 -1
- package/dist/components/dso-advanced-select.js +1 -1
- package/dist/components/dso-highlight-box.js +1 -1
- package/dist/components/dso-history-item.js +1 -1
- package/dist/components/dso-input-range.js +1 -1
- package/dist/components/dso-legend-group.js +1 -1
- package/dist/components/dso-legend-item.js +1 -1
- package/dist/components/dso-legend.js +1 -1
- package/dist/components/dso-list-button.js +1 -1
- package/dist/components/dso-logo.js +1 -1
- package/dist/components/dso-map-base-layers.js +1 -1
- package/dist/components/dso-map-controls.js +1 -1
- package/dist/components/dso-map-layer-object.js +1 -1
- package/dist/components/dso-map-layer.js +1 -1
- package/dist/components/dso-map-message.js +1 -1
- package/dist/components/dso-map-overlays.js +1 -1
- package/dist/components/dso-mark-bar.js +1 -1
- package/dist/components/dso-modal.js +1 -1
- package/dist/components/dso-onboarding-tip.js +1 -1
- package/dist/components/dso-plekinfo-card.js +1 -1
- package/dist/components/dso-project-item.js +1 -1
- package/dist/components/dso-segmented-button.js +1 -1
- package/dist/components/dso-skiplink.js +1 -1
- package/dist/components/dso-survey-rating.js +1 -1
- package/dist/components/dso-tabs.js +1 -1
- package/dist/components/dso-tijdreis-banner.js +1 -1
- package/dist/components/dso-toggletip.js +1 -1
- package/dist/components/dso-tree-view.js +1 -1
- package/dist/components/dso-viewer-grid.js +1 -1
- package/dist/components/floating-ui.dom.js +1 -1
- package/dist/components/i18n.js +1 -1
- package/dist/components/icon-button.js +1 -1
- package/dist/components/icon.js +1 -1
- package/dist/components/info-button.js +1 -1
- package/dist/components/info.js +1 -1
- package/dist/components/label.js +1 -1
- package/dist/components/ozon-content-toggletip.js +1 -1
- package/dist/components/ozon-content.js +1 -1
- package/dist/components/panel.js +1 -1
- package/dist/components/progress-indicator.js +1 -1
- package/dist/components/responsive-element.js +1 -1
- package/dist/components/scrollable.js +1 -1
- package/dist/components/selectable.js +1 -1
- package/dist/components/slide-toggle.js +1 -1
- package/dist/components/table.js +1 -1
- package/dist/components/tooltip.js +1 -1
- package/dist/components/v4.js +1 -1
- package/dist/dso-toolkit/dso-toolkit.esm.js +1 -1
- package/dist/dso-toolkit/{p-a2bbe083.entry.js → p-01eb841e.entry.js} +1 -1
- package/dist/dso-toolkit/{p-780737ad.entry.js → p-064c5a7a.entry.js} +1 -1
- package/dist/dso-toolkit/{p-c52616a2.entry.js → p-0806202d.entry.js} +1 -1
- package/dist/dso-toolkit/{p-ac6825b5.entry.js → p-0860136b.entry.js} +1 -1
- package/dist/dso-toolkit/{p-7229fed0.entry.js → p-0aad5fe6.entry.js} +1 -1
- package/dist/dso-toolkit/p-0d157ae7.entry.js +1 -0
- package/dist/dso-toolkit/{p-3290cf30.entry.js → p-0f876c0a.entry.js} +1 -1
- package/dist/dso-toolkit/{p-05e7c356.entry.js → p-1fa1ffbc.entry.js} +1 -1
- package/dist/dso-toolkit/{p-2b751600.entry.js → p-2398e358.entry.js} +1 -1
- package/dist/dso-toolkit/{p-3fee4537.entry.js → p-28494f89.entry.js} +1 -1
- package/dist/dso-toolkit/{p-200819a2.entry.js → p-2f516e4b.entry.js} +1 -1
- package/dist/dso-toolkit/{p-c650002e.entry.js → p-331a77f3.entry.js} +1 -1
- package/dist/dso-toolkit/p-3d59a7bb.entry.js +1 -0
- package/dist/dso-toolkit/{p-fe4dd620.entry.js → p-3e5b2fef.entry.js} +1 -1
- package/dist/dso-toolkit/{p-e8f4fcd0.entry.js → p-3f0c3325.entry.js} +3 -3
- package/dist/dso-toolkit/{p-2d950317.entry.js → p-3f6d1167.entry.js} +1 -1
- package/dist/dso-toolkit/{p-36e813f9.entry.js → p-41bf7330.entry.js} +1 -1
- package/dist/dso-toolkit/p-43b8db31.entry.js +1 -0
- package/dist/dso-toolkit/{p-c5766326.entry.js → p-466cd42e.entry.js} +1 -1
- package/dist/dso-toolkit/{p-d8c89791.entry.js → p-4bf15aa2.entry.js} +1 -1
- package/dist/dso-toolkit/p-4f7c6b0b.entry.js +1 -0
- package/dist/dso-toolkit/{p-a563e235.entry.js → p-51c0ca8c.entry.js} +1 -1
- package/dist/dso-toolkit/p-521908e4.entry.js +1 -0
- package/dist/dso-toolkit/{p-188f383c.entry.js → p-5c68cd75.entry.js} +1 -1
- package/dist/dso-toolkit/{p-0d296ef0.entry.js → p-655e3b73.entry.js} +1 -1
- package/dist/dso-toolkit/{p-747e0b01.entry.js → p-6bcc7aa8.entry.js} +1 -1
- package/dist/dso-toolkit/{p-c33dc797.entry.js → p-6e5e6778.entry.js} +1 -1
- package/dist/dso-toolkit/{p-ff1d91b4.entry.js → p-6ffcff75.entry.js} +1 -1
- package/dist/dso-toolkit/{p-2c4eb07e.entry.js → p-7267f3f4.entry.js} +1 -1
- package/dist/dso-toolkit/{p-5893f749.entry.js → p-75001c55.entry.js} +1 -1
- package/dist/dso-toolkit/{p-6fc38a28.entry.js → p-758753b4.entry.js} +1 -1
- package/dist/dso-toolkit/p-762bae0a.entry.js +1 -0
- package/dist/dso-toolkit/{p-a90e1620.entry.js → p-7e01a979.entry.js} +1 -1
- package/dist/dso-toolkit/{p-16e69d06.entry.js → p-850d9452.entry.js} +1 -1
- package/dist/dso-toolkit/{p-bca812a8.entry.js → p-86250ce1.entry.js} +1 -1
- package/dist/dso-toolkit/{p-ec04f087.entry.js → p-8bfb71c6.entry.js} +1 -1
- package/dist/dso-toolkit/{p-4c305060.entry.js → p-8cbecafb.entry.js} +1 -1
- package/dist/dso-toolkit/{p-b63c1d6a.entry.js → p-8dbdfc2c.entry.js} +1 -1
- package/dist/dso-toolkit/{p-55a2d0ce.entry.js → p-8ec9c2e4.entry.js} +1 -1
- package/dist/dso-toolkit/{p-2391ab39.entry.js → p-9ddc4327.entry.js} +1 -1
- package/dist/dso-toolkit/{p-BlaG0Agw.js → p-B9WLR_Pd.js} +1 -1
- package/dist/dso-toolkit/p-BIfnbekk.js +2 -0
- package/dist/dso-toolkit/{p-Ce5efsIs.js → p-BaoXsbsy.js} +1 -1
- package/dist/dso-toolkit/p-BuFNkQa2.js +1 -0
- package/dist/dso-toolkit/p-CJ3poofC.js +1 -0
- package/dist/dso-toolkit/p-Co-_Hv5Q.js +1 -0
- package/dist/dso-toolkit/p-DEQj4hHE.js +1 -0
- package/dist/dso-toolkit/p-DHajDj9P.js +1 -0
- package/dist/dso-toolkit/p-ULwgxD7S.js +1 -0
- package/dist/dso-toolkit/p-Vx2gP-Bl.js +1 -0
- package/dist/dso-toolkit/{p-e1dca044.entry.js → p-a1bbab8d.entry.js} +1 -1
- package/dist/dso-toolkit/p-a1ce78db.entry.js +1 -0
- package/dist/dso-toolkit/{p-881da5bc.entry.js → p-a28f17f3.entry.js} +1 -1
- package/dist/dso-toolkit/{p-a22d7d1e.entry.js → p-a33024ef.entry.js} +1 -1
- package/dist/dso-toolkit/{p-7b2ac6ae.entry.js → p-ac214c2f.entry.js} +1 -1
- package/dist/dso-toolkit/p-b10d5ff7.entry.js +1 -0
- package/dist/dso-toolkit/{p-e47f6979.entry.js → p-bcb59685.entry.js} +1 -1
- package/dist/dso-toolkit/{p-bbf2a5cb.entry.js → p-c0235338.entry.js} +1 -1
- package/dist/dso-toolkit/p-c0974a7b.entry.js +1 -0
- package/dist/dso-toolkit/{p-d819289c.entry.js → p-c1bbf72e.entry.js} +1 -1
- package/dist/dso-toolkit/{p-f09a941a.entry.js → p-c485698f.entry.js} +1 -1
- package/dist/dso-toolkit/{p-0c6c3d19.entry.js → p-c9ad74b4.entry.js} +1 -1
- package/dist/dso-toolkit/{p-0bbe5de0.entry.js → p-cbc7268a.entry.js} +1 -1
- package/dist/dso-toolkit/{p-b0bc4aed.entry.js → p-d0bbc40a.entry.js} +1 -1
- package/dist/dso-toolkit/{p-25bb82be.entry.js → p-db1a32fc.entry.js} +1 -1
- package/dist/dso-toolkit/{p-c800076a.entry.js → p-dbbdb8de.entry.js} +1 -1
- package/dist/dso-toolkit/{p-0b4ddc17.entry.js → p-e1feb2cb.entry.js} +1 -1
- package/dist/dso-toolkit/{p-027fc4fe.entry.js → p-e331aecd.entry.js} +1 -1
- package/dist/dso-toolkit/{p-7c74a079.entry.js → p-e3ccc1f7.entry.js} +1 -1
- package/dist/dso-toolkit/{p-3631a64d.entry.js → p-ed940510.entry.js} +1 -1
- package/dist/dso-toolkit/{p-35c8afb5.entry.js → p-f9d75ac8.entry.js} +1 -1
- package/dist/dso-toolkit/p-zRaH89Qj.js +1 -0
- package/dist/esm/{annotation-body-Ce5c-0pe.js → annotation-body-XmHPl1j-.js} +1 -1
- package/dist/esm/{annotation-list-renvooi-values-B9Td2jg4.js → annotation-list-renvooi-values-BrskkBG_.js} +1 -1
- package/dist/esm/{annotation-watcher-Dk6POxYU.js → annotation-watcher-CXzFGupS.js} +1 -1
- package/dist/esm/dso-accordion-section.entry.js +2 -2
- package/dist/esm/dso-accordion.entry.js +1 -1
- package/dist/esm/dso-action-list-item.entry.js +2 -2
- package/dist/esm/dso-action-list.entry.js +2 -2
- package/dist/esm/dso-advanced-select.entry.js +2 -2
- package/dist/esm/dso-alert_7.entry.js +12 -12
- package/dist/esm/dso-annotation-activiteit.entry.js +4 -4
- package/dist/esm/dso-annotation-gebiedsaanwijzing.entry.js +3 -3
- package/dist/esm/dso-annotation-kaart.entry.js +2 -2
- package/dist/esm/dso-annotation-locatie_2.entry.js +4 -4
- package/dist/esm/dso-annotation-omgevingsnormwaarde.entry.js +4 -4
- package/dist/esm/dso-attachments-counter_2.entry.js +1 -1
- package/dist/esm/dso-autosuggest.entry.js +3 -3
- package/dist/esm/dso-banner.entry.js +1 -1
- package/dist/esm/dso-button-group.entry.js +1 -1
- package/dist/esm/dso-card-container.entry.js +1 -1
- package/dist/esm/dso-card.entry.js +1 -1
- package/dist/esm/dso-contact-information.entry.js +1 -1
- package/dist/esm/dso-cursor-tooltip.entry.js +1 -1
- package/dist/esm/dso-date-picker.entry.js +1 -1
- package/dist/esm/dso-document-card.entry.js +1 -1
- package/dist/esm/dso-dropdown-menu.entry.js +3 -3
- package/dist/esm/dso-header.entry.js +2 -2
- package/dist/esm/dso-highlight-box.entry.js +2 -2
- package/dist/esm/dso-history-item.entry.js +4 -4
- package/dist/esm/dso-icon_2.entry.js +6 -6
- package/dist/esm/dso-info-button.entry.js +7 -14
- package/dist/esm/dso-info_2.entry.js +3 -3
- package/dist/esm/dso-input-range.entry.js +3 -3
- package/dist/esm/dso-label_3.entry.js +5 -5
- package/dist/esm/dso-legend-group.entry.js +3 -3
- package/dist/esm/dso-legend-item.entry.js +3 -3
- package/dist/esm/dso-legend.entry.js +3 -3
- package/dist/esm/dso-list-button.entry.js +2 -2
- package/dist/esm/dso-logo.entry.js +2 -2
- package/dist/esm/dso-map-base-layers.entry.js +4 -4
- package/dist/esm/dso-map-controls.entry.js +3 -3
- package/dist/esm/dso-map-layer-object.entry.js +3 -3
- package/dist/esm/dso-map-layer.entry.js +3 -3
- package/dist/esm/dso-map-message.entry.js +3 -3
- package/dist/esm/dso-map-overlays.entry.js +4 -4
- package/dist/esm/dso-mark-bar.entry.js +2 -2
- package/dist/esm/dso-modal.entry.js +4 -4
- package/dist/esm/dso-onboarding-tip.entry.js +4 -4
- package/dist/esm/dso-pagination.entry.js +1 -1
- package/dist/esm/dso-plekinfo-card.entry.js +3 -3
- package/dist/esm/dso-progress-indicator.entry.js +3 -3
- package/dist/esm/dso-project-item.entry.js +2 -2
- package/dist/esm/dso-responsive-element.entry.js +2 -2
- package/dist/esm/dso-scrollable.entry.js +3 -3
- package/dist/esm/dso-segmented-button.entry.js +2 -2
- package/dist/esm/dso-skiplink.entry.js +2 -2
- package/dist/esm/dso-survey-rating.entry.js +3 -3
- package/dist/esm/dso-tab.entry.js +1 -1
- package/dist/esm/dso-tabs.entry.js +2 -2
- package/dist/esm/dso-tijdreis-banner.entry.js +2 -2
- package/dist/esm/dso-toggletip.entry.js +2 -2
- package/dist/esm/dso-toolkit.js +4 -4
- package/dist/esm/dso-tooltip.entry.js +2 -2
- package/dist/esm/dso-tree-view.entry.js +2 -2
- package/dist/esm/dso-viewer-grid.entry.js +2 -2
- package/dist/esm/dsot-document-component-demo.entry.js +3 -3
- package/dist/esm/{floating-ui.dom-BgyqGgJ8.js → floating-ui.dom-zRaH89Qj.js} +72 -64
- package/dist/esm/{i18n-FXEjFTzg.js → i18n-ULwgxD7S.js} +33 -12
- package/dist/esm/{index-ai7aDzJN.js → index-BIfnbekk.js} +23 -14
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{parse-wijzigactie-from-node.function-DFRwNK3S.js → parse-wijzigactie-from-node.function-g0_S_VRv.js} +1 -1
- package/dist/esm/{position-tooltip.function-Db-YtSLm.js → position-tooltip.function-Cf2lM20T.js} +1 -1
- package/dist/esm/{tooltip.functional-component-TdyYX_ny.js → tooltip.functional-component-eBucNQlw.js} +1 -1
- package/dist/esm/{v4-C_akviUd.js → v4-DEQj4hHE.js} +1 -1
- package/dist/esm/{wrap-wijzigactie.functional-component-DDktk4pu.js → wrap-wijzigactie.functional-component-BB1TmP-v.js} +1 -1
- package/dist/types/components/history-item/history-item.d.ts +4 -0
- package/dist/types/components/info-button/info-button.d.ts +0 -5
- package/dist/types/components/toggletip/toggletip.d.ts +0 -4
- package/dist/types/components.d.ts +9 -18
- package/dist/types/stencil-public-runtime.d.ts +3 -1
- package/package.json +9 -10
- package/dist/dso-toolkit/p-1db16e23.entry.js +0 -1
- package/dist/dso-toolkit/p-297777c1.entry.js +0 -1
- package/dist/dso-toolkit/p-453c359e.entry.js +0 -1
- package/dist/dso-toolkit/p-7df48674.entry.js +0 -1
- package/dist/dso-toolkit/p-863dde86.entry.js +0 -1
- package/dist/dso-toolkit/p-88a5dc4d.entry.js +0 -1
- package/dist/dso-toolkit/p-BgyqGgJ8.js +0 -1
- package/dist/dso-toolkit/p-C_akviUd.js +0 -1
- package/dist/dso-toolkit/p-CiFROHm0.js +0 -1
- package/dist/dso-toolkit/p-DMMFbykw.js +0 -1
- package/dist/dso-toolkit/p-DQQwiKx8.js +0 -1
- package/dist/dso-toolkit/p-Dmt6eQ2x.js +0 -1
- package/dist/dso-toolkit/p-Dnozu1V0.js +0 -1
- package/dist/dso-toolkit/p-FXEjFTzg.js +0 -1
- package/dist/dso-toolkit/p-ac8d2b73.entry.js +0 -1
- package/dist/dso-toolkit/p-ai7aDzJN.js +0 -2
- package/dist/dso-toolkit/p-c3c19b60.entry.js +0 -1
- package/dist/dso-toolkit/p-f5348bf8.entry.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as o,d as e,h as r,a as t}from"./p-
|
|
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&<(new nt(new ArrayBuffer(1)))!=u||et&<(new et)!=e||ot&<(ot.resolve())!=o||rt&<(new rt)!=r||it&<(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: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
|
+
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&<(new nt(new ArrayBuffer(1)))!=u||et&<(new et)!=e||ot&<(ot.resolve())!=o||rt&<(new rt)!=r||it&<(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
|
|
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}
|