@dso-toolkit/core 100.3.1 → 100.4.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 +20 -11
- package/dist/bundle/dso-accordion.js +3 -3
- package/dist/bundle/dso-action-list-item.js +4 -4
- package/dist/bundle/dso-action-list.js +2 -2
- package/dist/bundle/dso-advanced-select.js +6 -6
- 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 +7 -7
- package/dist/bundle/dso-badge.js +1 -1
- package/dist/bundle/dso-banner.js +4 -4
- package/dist/bundle/dso-button-group.js +1 -1
- package/dist/bundle/dso-card-container.js +2 -2
- package/dist/bundle/dso-card.js +2 -2
- package/dist/bundle/dso-contact-information.js +1 -1
- package/dist/bundle/dso-cursor-tooltip.js +2 -2
- 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-group.js +2 -2
- package/dist/bundle/dso-dropdown-menu-item.js +3 -3
- package/dist/bundle/dso-dropdown-menu.js +5 -5
- package/dist/bundle/dso-expandable.js +1 -1
- package/dist/bundle/dso-grid-column.js +3 -4
- package/dist/bundle/dso-header.js +24 -8
- package/dist/bundle/dso-hero-image.js +1 -1
- package/dist/bundle/dso-highlight-box.js +2 -2
- package/dist/bundle/dso-history-item.js +2 -2
- 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 +1 -1
- package/dist/bundle/dso-label.js +1 -1
- package/dist/bundle/dso-legend-group.js +4 -4
- package/dist/bundle/dso-legend-item.js +7 -7
- package/dist/bundle/dso-legend.js +6 -6
- package/dist/bundle/dso-list-button.js +8 -8
- package/dist/bundle/dso-logo.js +1 -1
- package/dist/bundle/dso-map-base-layers.js +8 -8
- package/dist/bundle/dso-map-controls.js +7 -7
- package/dist/bundle/dso-map-layer-object.js +3 -3
- package/dist/bundle/dso-map-layer.js +3 -3
- package/dist/bundle/dso-map-message.js +2 -2
- package/dist/bundle/dso-map-overlays.js +8 -8
- package/dist/bundle/dso-mark-bar.js +3 -3
- package/dist/bundle/dso-modal.js +1 -1
- 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 +3 -3
- package/dist/bundle/dso-progress-indicator.js +1 -1
- package/dist/bundle/dso-project-item.js +5 -5
- 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 +1 -1
- package/dist/bundle/dso-selectable.js +1 -1
- package/dist/bundle/dso-shopping-cart-item.js +3 -3
- package/dist/bundle/dso-shopping-cart.js +3 -3
- package/dist/bundle/dso-skiplink.js +2 -2
- package/dist/bundle/dso-slide-toggle.js +1 -1
- package/dist/bundle/dso-survey-rating.js +4 -4
- package/dist/bundle/dso-tab.js +1 -1
- package/dist/bundle/dso-table.js +1 -1
- package/dist/bundle/dso-tabs.js +1 -1
- package/dist/bundle/dso-tijdreis-banner.js +3 -3
- package/dist/bundle/dso-tree-view.js +3 -3
- package/dist/bundle/dso-viewer-grid.js +3 -3
- package/dist/bundle/dsot-document-component-demo.js +18 -18
- package/dist/bundle/index.js +2 -2
- package/dist/bundle/{p-LAIYa8JB.js → p-6lwKSTtN.js} +9 -9
- package/dist/bundle/{p-DSn98k7j.js → p-B1sfJaTU.js} +16 -45
- package/dist/bundle/{p-BhW3MSGZ.js → p-B5zDTnXM.js} +5 -5
- package/dist/bundle/{p-wroz5qbN.js → p-BHAfq_R9.js} +5 -5
- package/dist/bundle/{p-C78OzjGD.js → p-BHPEhHca.js} +2 -2
- package/dist/bundle/{p-DB6jeYdL.js → p-BIioZO_6.js} +1 -1
- package/dist/bundle/{p-Cz4DEkYY.js → p-BMhDrgpW.js} +4 -4
- package/dist/bundle/{p-3mY5bRq3.js → p-BZr7fJps.js} +16 -27
- package/dist/bundle/{p-Cy1s6Fqo.js → p-BdK56OMA.js} +6 -6
- package/dist/bundle/{p-COI1m0uI.js → p-BdO8V8e5.js} +4 -4
- package/dist/bundle/{p-Ci81TOhm.js → p-BiTWJ9tJ.js} +29 -79
- package/dist/bundle/{p-CkzyPAOs.js → p-Brr0tC8B.js} +1 -1
- package/dist/bundle/p-BsaL-EuM.js +76 -0
- package/dist/bundle/{p-CMm0xWy5.js → p-BvB8dh8P.js} +2 -2
- package/dist/bundle/p-C49HfF1N.js +60 -0
- package/dist/bundle/{p-D8J4Z2LD.js → p-CDD0hRMQ.js} +9 -9
- package/dist/bundle/{p-DTx5uLrL.js → p-CDym9tDn.js} +3 -3
- package/dist/bundle/{p-DdH_IPw_.js → p-CMhiuOhg.js} +1 -1
- package/dist/bundle/{p-BcoGSCi2.js → p-CSbcQBj9.js} +2 -2
- package/dist/bundle/{p-nBjxlgfX.js → p-Ccf_D9uM.js} +6 -6
- package/dist/bundle/{p-Cg-toWNU.js → p-CvUpjPda.js} +1 -1
- package/dist/bundle/{p-CIfxp928.js → p-D09qaSTl.js} +3 -3
- package/dist/bundle/{p-BydRjBUc.js → p-D7-d0naf.js} +18 -42
- package/dist/bundle/{p-BVLZrKNg.js → p-DHj0KBgK.js} +1 -1
- package/dist/bundle/{p-BPxWl5Jg.js → p-DStIHFXU.js} +17 -17
- package/dist/bundle/{p-DFhKaDMe.js → p-DZCYhv_b.js} +1 -1
- package/dist/bundle/{p-D33uqBOM.js → p-D_wg33r9.js} +3 -3
- package/dist/bundle/{p-BeyBvNPm.js → p-Diwr4pu4.js} +16 -30
- package/dist/bundle/{p-Bj6TmNEh.js → p-DixhcduG.js} +1 -1
- package/dist/bundle/{p-CiFTQ7lb.js → p-DtUeWj74.js} +76 -33
- package/dist/bundle/{p-ZSFwKURq.js → p-Dtkoi4Xj.js} +2 -2
- package/dist/bundle/{p-DjR55R0Z.js → p-d1IkgLLm.js} +1 -1
- package/dist/bundle/{p-TaOl3xYb.js → p-uUZVT-Ex.js} +3 -3
- package/dist/{esm/i18n-CCOI5nUo.js → bundle/p-xDSTG4OU.js} +28 -1
- package/dist/cjs/{annotation-body-H_YdGRBP.js → annotation-body-CCYWAvBu.js} +1 -1
- package/dist/cjs/{annotation-list-renvooi-values-DnvYPhrD.js → annotation-list-renvooi-values-UnGybDbb.js} +1 -1
- package/dist/cjs/{annotation-watcher-DXLGEmn8.js → annotation-watcher-D9lm8RSy.js} +1 -1
- package/dist/cjs/dso-accordion-section.cjs.entry.js +13 -4
- package/dist/cjs/dso-accordion.cjs.entry.js +3 -3
- package/dist/cjs/dso-action-list-item.cjs.entry.js +3 -3
- package/dist/cjs/dso-action-list.cjs.entry.js +2 -2
- package/dist/cjs/dso-advanced-select.cjs.entry.js +1 -1
- package/dist/cjs/dso-alert_7.cjs.entry.js +45 -110
- package/dist/cjs/dso-annotation-activiteit.cjs.entry.js +5 -5
- package/dist/cjs/dso-annotation-gebiedsaanwijzing.cjs.entry.js +4 -4
- package/dist/cjs/dso-annotation-kaart.cjs.entry.js +2 -2
- package/dist/cjs/dso-annotation-locatie_2.cjs.entry.js +9 -9
- package/dist/cjs/dso-annotation-omgevingsnormwaarde.cjs.entry.js +5 -5
- package/dist/cjs/dso-attachments-counter_2.cjs.entry.js +3 -3
- package/dist/cjs/dso-autosuggest.cjs.entry.js +4 -4
- package/dist/cjs/dso-banner.cjs.entry.js +3 -3
- package/dist/cjs/dso-button-group.cjs.entry.js +2 -2
- package/dist/cjs/dso-card-container.cjs.entry.js +2 -2
- 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 +2 -2
- 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-group.cjs.entry.js +2 -2
- package/dist/cjs/dso-dropdown-menu-item.cjs.entry.js +2 -2
- package/dist/cjs/dso-dropdown-menu.cjs.entry.js +3 -3
- package/dist/cjs/dso-grid-column.cjs.entry.js +3 -4
- package/dist/cjs/dso-header.cjs.entry.js +22 -6
- package/dist/cjs/dso-hero-image.cjs.entry.js +1 -1
- package/dist/cjs/dso-highlight-box.cjs.entry.js +2 -2
- package/dist/cjs/dso-history-item.cjs.entry.js +1 -1
- package/dist/cjs/dso-icon_2.cjs.entry.js +16 -45
- package/dist/cjs/dso-info_3.cjs.entry.js +17 -41
- package/dist/cjs/dso-input-range.cjs.entry.js +1 -1
- package/dist/cjs/dso-label_3.cjs.entry.js +16 -27
- package/dist/cjs/dso-legend-group.cjs.entry.js +2 -2
- package/dist/cjs/dso-legend-item.cjs.entry.js +2 -2
- 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 +1 -1
- package/dist/cjs/dso-map-base-layers.cjs.entry.js +2 -2
- package/dist/cjs/dso-map-controls.cjs.entry.js +3 -3
- package/dist/cjs/dso-map-layer-object.cjs.entry.js +2 -2
- package/dist/cjs/dso-map-layer.cjs.entry.js +2 -2
- package/dist/cjs/dso-map-message.cjs.entry.js +1 -1
- package/dist/cjs/dso-map-overlays.cjs.entry.js +2 -2
- package/dist/cjs/dso-mark-bar.cjs.entry.js +1 -1
- package/dist/cjs/dso-modal.cjs.entry.js +2 -2
- package/dist/cjs/dso-onboarding-tip.cjs.entry.js +2 -2
- package/dist/cjs/dso-pagination.cjs.entry.js +1 -1
- package/dist/cjs/dso-plekinfo-card.cjs.entry.js +2 -2
- package/dist/cjs/dso-progress-indicator.cjs.entry.js +2 -2
- 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 +1 -1
- package/dist/cjs/dso-shopping-cart-item.cjs.entry.js +1 -1
- package/dist/cjs/dso-shopping-cart.cjs.entry.js +1 -1
- package/dist/cjs/dso-skiplink.cjs.entry.js +1 -1
- package/dist/cjs/dso-survey-rating.cjs.entry.js +1 -1
- package/dist/cjs/dso-tab.cjs.entry.js +1 -1
- package/dist/cjs/dso-tabs.cjs.entry.js +1 -1
- package/dist/cjs/dso-tijdreis-banner.cjs.entry.js +2 -2
- package/dist/cjs/dso-toolkit.cjs.js +2 -2
- package/dist/cjs/dso-tree-view.cjs.entry.js +1 -1
- package/dist/cjs/dso-viewer-grid.cjs.entry.js +3 -3
- package/dist/cjs/dsot-document-component-demo.cjs.entry.js +1 -1
- package/dist/cjs/{i18n-DH0Su3jj.js → i18n-Bzut_vVm.js} +28 -1
- package/dist/cjs/{index-CfwUrDXc.js → index-BBx5yytN.js} +76 -33
- package/dist/cjs/{index-EngjN4P3.js → index-DZPLxT1W.js} +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{parse-wijzigactie-from-node.function-B2dUQ7Rf.js → parse-wijzigactie-from-node.function-CYUDdIa0.js} +1 -1
- package/dist/cjs/toggletip.controller-BB-Voe-Z.js +63 -0
- package/dist/cjs/tooltip.controller-Cvac0qe3.js +78 -0
- package/dist/cjs/{tooltip.functional-component-BEcuvKwS.js → tooltip.functional-component-DOBjuEpE.js} +1 -1
- package/dist/cjs/{wrap-wijzigactie.functional-component-DodUwf7_.js → wrap-wijzigactie.functional-component-D1UjZ36u.js} +1 -1
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/accordion/accordion.js +4 -1
- package/dist/collection/components/accordion/components/accordion-section.css +4 -0
- package/dist/collection/components/accordion/components/accordion-section.js +15 -2
- package/dist/collection/components/action-list/action-list.js +4 -1
- package/dist/collection/components/action-list/components/action-list-item.js +5 -2
- package/dist/collection/components/alert/alert.js +4 -1
- package/dist/collection/components/annotation/annotation-activiteit/annotation-activiteit.js +1 -4
- package/dist/collection/components/annotation/annotation-gebiedsaanwijzing/annotation-gebiedsaanwijzing.js +1 -4
- package/dist/collection/components/annotation/annotation-locatie/annotation-locatie.js +1 -4
- package/dist/collection/components/annotation/annotation-omgevingsnormwaarde/annotation-omgevingsnormwaarde.js +1 -6
- package/dist/collection/components/autosuggest/autosuggest.js +5 -2
- package/dist/collection/components/badge/badge.js +26 -77
- package/dist/collection/components/banner/banner.js +5 -2
- package/dist/collection/components/button-group/button-group.js +4 -1
- package/dist/collection/components/card-container/card-container.js +4 -1
- package/dist/collection/components/cursor-tooltip/cursor-tooltip.js +4 -1
- package/dist/collection/components/document-component/document-component.js +6 -4
- package/dist/collection/components/dropdown-menu/dropdown-menu-group/dropdown-menu-group.js +4 -1
- package/dist/collection/components/dropdown-menu/dropdown-menu-item/dropdown-menu-item.js +4 -1
- package/dist/collection/components/dropdown-menu/dropdown-menu.js +4 -1
- package/dist/collection/components/expandable/expandable.js +5 -2
- package/dist/collection/components/grid-column/grid-column.js +2 -3
- package/dist/collection/components/header/header.css +31 -14
- package/dist/collection/components/header/header.js +22 -3
- package/dist/collection/components/highlight-box/highlight-box.js +5 -1
- package/dist/collection/components/icon-button/icon-button.js +13 -43
- package/dist/collection/components/image-overlay/image-overlay.js +5 -0
- package/dist/collection/components/info/info.js +4 -1
- package/dist/collection/components/info-button/info-button.js +16 -38
- package/dist/collection/components/label/label.js +16 -24
- package/dist/collection/components/legend/legend.js +4 -1
- package/dist/collection/components/list-button/list-button.js +4 -1
- package/dist/collection/components/map-controls/map-controls.js +4 -1
- package/dist/collection/components/onboarding-tip/onboarding-tip.js +5 -1
- package/dist/collection/components/ozon-content/components/ozon-content-toggletip/ozon-content-toggletip.js +16 -27
- package/dist/collection/components/project-item/project-item.js +7 -1
- package/dist/collection/components/responsive-element/responsive-element.js +4 -1
- package/dist/collection/components/scrollable/scrollable.js +5 -2
- package/dist/collection/components/slide-toggle/slide-toggle.js +4 -1
- package/dist/collection/components/table/table.js +5 -1
- package/dist/collection/components/tijdreis-banner/tijdreis-banner.js +5 -1
- package/dist/collection/components/viewer-grid/viewer-grid.js +5 -9
- package/dist/collection/functional-components/tooltip/toggletip.controller.js +57 -0
- package/dist/collection/functional-components/tooltip/tooltip.controller.js +73 -0
- package/dist/components/alert.js +1 -1
- package/dist/components/annotation-locatie.js +1 -1
- package/dist/components/badge.js +1 -1
- package/dist/components/button-group.js +1 -1
- package/dist/components/document-component.js +1 -1
- package/dist/components/dso-accordion-section.js +1 -1
- package/dist/components/dso-accordion.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-annotation-activiteit.js +1 -1
- package/dist/components/dso-annotation-gebiedsaanwijzing.js +1 -1
- package/dist/components/dso-annotation-omgevingsnormwaarde.js +1 -1
- package/dist/components/dso-autosuggest.js +1 -1
- package/dist/components/dso-banner.js +1 -1
- package/dist/components/dso-card-container.js +1 -1
- package/dist/components/dso-cursor-tooltip.js +1 -1
- package/dist/components/dso-dropdown-menu-group.js +1 -1
- package/dist/components/dso-dropdown-menu-item.js +1 -1
- package/dist/components/dso-dropdown-menu.js +1 -1
- package/dist/components/dso-grid-column.js +1 -1
- package/dist/components/dso-header.js +1 -1
- package/dist/components/dso-highlight-box.js +1 -1
- package/dist/components/dso-legend.js +1 -1
- package/dist/components/dso-list-button.js +1 -1
- package/dist/components/dso-map-controls.js +1 -1
- package/dist/components/dso-onboarding-tip.js +1 -1
- package/dist/components/dso-project-item.js +1 -1
- package/dist/components/dso-tijdreis-banner.js +1 -1
- package/dist/components/dso-viewer-grid.js +1 -1
- package/dist/components/expandable.js +1 -1
- package/dist/components/i18n.js +1 -1
- package/dist/components/icon-button.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/responsive-element.js +1 -1
- package/dist/components/scrollable.js +1 -1
- package/dist/components/slide-toggle.js +1 -1
- package/dist/components/table.js +1 -1
- package/dist/components/toggletip.controller.js +1 -0
- package/dist/components/tooltip.controller.js +1 -0
- package/dist/dso-toolkit/dso-toolkit.esm.js +1 -1
- package/dist/dso-toolkit/{p-342636b2.entry.js → p-0150c527.entry.js} +1 -1
- package/dist/dso-toolkit/p-0b1d6ae8.entry.js +1 -0
- package/dist/dso-toolkit/{p-99db12e8.entry.js → p-13e28f82.entry.js} +1 -1
- package/dist/dso-toolkit/p-179c804c.entry.js +1 -0
- package/dist/dso-toolkit/{p-a93cfad8.entry.js → p-19fa3db4.entry.js} +1 -1
- package/dist/dso-toolkit/{p-301cb792.entry.js → p-1ee5fdd2.entry.js} +1 -1
- package/dist/dso-toolkit/{p-f0b21f16.entry.js → p-1f197259.entry.js} +1 -1
- package/dist/dso-toolkit/{p-d92b4f7b.entry.js → p-2153bba4.entry.js} +1 -1
- package/dist/dso-toolkit/p-2sI1K6K0.js +3 -0
- package/dist/dso-toolkit/{p-fb2eb060.entry.js → p-300882d5.entry.js} +1 -1
- package/dist/dso-toolkit/{p-3ce055f8.entry.js → p-32b07ce7.entry.js} +1 -1
- package/dist/dso-toolkit/{p-6a6a38e6.entry.js → p-36a98cb8.entry.js} +1 -1
- package/dist/dso-toolkit/{p-f5575f84.entry.js → p-37c83fa7.entry.js} +1 -1
- package/dist/dso-toolkit/{p-8bd4637f.entry.js → p-3a6a1010.entry.js} +1 -1
- package/dist/dso-toolkit/p-3ed9443d.entry.js +1 -0
- package/dist/dso-toolkit/p-42bf0148.entry.js +1 -0
- package/dist/dso-toolkit/p-432f9847.entry.js +1 -0
- package/dist/dso-toolkit/{p-acb7b5c5.entry.js → p-4632a0df.entry.js} +1 -1
- package/dist/dso-toolkit/{p-b83b2fa7.entry.js → p-47e2a6ae.entry.js} +1 -1
- package/dist/dso-toolkit/{p-16288a6a.entry.js → p-4aa3ca6c.entry.js} +1 -1
- package/dist/dso-toolkit/{p-0f019b7c.entry.js → p-4d7fa0e9.entry.js} +1 -1
- package/dist/dso-toolkit/{p-84ca2384.entry.js → p-4ec77050.entry.js} +1 -1
- package/dist/dso-toolkit/{p-0099ff32.entry.js → p-52d7dd12.entry.js} +1 -1
- package/dist/dso-toolkit/{p-3628d830.entry.js → p-54036b31.entry.js} +1 -1
- package/dist/dso-toolkit/p-5612fca8.entry.js +1 -0
- package/dist/dso-toolkit/{p-768794e0.entry.js → p-5901d652.entry.js} +1 -1
- package/dist/dso-toolkit/{p-3098df1c.entry.js → p-63fce2aa.entry.js} +1 -1
- package/dist/dso-toolkit/{p-610341c7.entry.js → p-640306bf.entry.js} +1 -1
- package/dist/dso-toolkit/{p-64f2263c.entry.js → p-64331ac9.entry.js} +1 -1
- package/dist/dso-toolkit/{p-f6e9a1b4.entry.js → p-67bdfcdd.entry.js} +1 -1
- package/dist/dso-toolkit/p-6835e07d.entry.js +1 -0
- package/dist/dso-toolkit/{p-5018c559.entry.js → p-6a53b29f.entry.js} +1 -1
- package/dist/dso-toolkit/{p-48cd0276.entry.js → p-6a68177b.entry.js} +1 -1
- package/dist/dso-toolkit/{p-ab498200.entry.js → p-6f7241e5.entry.js} +1 -1
- package/dist/dso-toolkit/p-7119884a.entry.js +1 -0
- package/dist/dso-toolkit/{p-460e04c3.entry.js → p-780ebd6c.entry.js} +1 -1
- package/dist/dso-toolkit/{p-7eadab64.entry.js → p-7ebf7e11.entry.js} +1 -1
- package/dist/dso-toolkit/{p-5598c232.entry.js → p-7ff8aa45.entry.js} +2 -2
- package/dist/dso-toolkit/{p-e2d4f404.entry.js → p-8cbb00ac.entry.js} +1 -1
- package/dist/dso-toolkit/{p-0117fba0.entry.js → p-8eda69f2.entry.js} +1 -1
- package/dist/dso-toolkit/{p-ecc3eaab.entry.js → p-9aea5b98.entry.js} +1 -1
- package/dist/dso-toolkit/{p-ec50e32d.entry.js → p-9c96a21a.entry.js} +1 -1
- package/dist/dso-toolkit/p-B02Jy5YO.js +1 -0
- package/dist/dso-toolkit/p-B_Ud6lxQ.js +1 -0
- package/dist/dso-toolkit/p-C0I7oJkh.js +1 -0
- package/dist/dso-toolkit/p-CUqv0PSk.js +1 -0
- package/dist/dso-toolkit/p-DkZG4rwC.js +1 -0
- package/dist/dso-toolkit/{p-kDBsQgLI.js → p-Dksz1aH2.js} +1 -1
- package/dist/dso-toolkit/{p-DeuvCGGT.js → p-DoJpDsvb.js} +1 -1
- package/dist/dso-toolkit/p-DxsAk2iQ.js +1 -0
- package/dist/dso-toolkit/{p-58978006.entry.js → p-a00c540b.entry.js} +1 -1
- package/dist/dso-toolkit/{p-0438b8cb.entry.js → p-a0ac6345.entry.js} +1 -1
- package/dist/dso-toolkit/{p-f85b0396.entry.js → p-a3003466.entry.js} +1 -1
- package/dist/dso-toolkit/{p-7cea7c6f.entry.js → p-a43a81a4.entry.js} +1 -1
- package/dist/dso-toolkit/p-b093e2f2.entry.js +1 -0
- package/dist/dso-toolkit/{p-f17348e1.entry.js → p-b1fc14cc.entry.js} +1 -1
- package/dist/dso-toolkit/{p-cfccb614.entry.js → p-b26c5285.entry.js} +1 -1
- package/dist/dso-toolkit/{p-2e7acaf8.entry.js → p-bb0d9c4a.entry.js} +1 -1
- package/dist/dso-toolkit/{p-d2e60e72.entry.js → p-c0735ea5.entry.js} +1 -1
- package/dist/dso-toolkit/{p-a639c227.entry.js → p-c8ead3ad.entry.js} +1 -1
- package/dist/dso-toolkit/{p-c525f97c.entry.js → p-cafa54b4.entry.js} +1 -1
- package/dist/dso-toolkit/{p-f9490a3f.entry.js → p-cca237f7.entry.js} +1 -1
- package/dist/dso-toolkit/{p-ebf09749.entry.js → p-d64bd153.entry.js} +1 -1
- package/dist/dso-toolkit/{p-9fef9c1a.entry.js → p-d819abc5.entry.js} +1 -1
- package/dist/dso-toolkit/{p-02f97f93.entry.js → p-d8dfaacb.entry.js} +1 -1
- package/dist/dso-toolkit/{p-3fc897a1.entry.js → p-de86de0a.entry.js} +1 -1
- package/dist/dso-toolkit/{p-0085311a.entry.js → p-e2ff8b0c.entry.js} +1 -1
- package/dist/dso-toolkit/{p-272382d1.entry.js → p-e3d0debf.entry.js} +1 -1
- package/dist/dso-toolkit/{p-0cd1de97.entry.js → p-e4181a16.entry.js} +1 -1
- package/dist/dso-toolkit/{p-a0b21fb2.entry.js → p-e442fe62.entry.js} +1 -1
- package/dist/dso-toolkit/{p-918d8967.entry.js → p-e5cd6084.entry.js} +1 -1
- package/dist/dso-toolkit/p-ead6c401.entry.js +1 -0
- package/dist/dso-toolkit/{p-55a160ad.entry.js → p-f1047e57.entry.js} +1 -1
- package/dist/dso-toolkit/p-mhQu0fx2.js +1 -0
- package/dist/dso-toolkit/p-xDSTG4OU.js +1 -0
- package/dist/esm/{annotation-body-CfhN4FON.js → annotation-body-lbq2tmAQ.js} +1 -1
- package/dist/esm/{annotation-list-renvooi-values-BTPUEm3B.js → annotation-list-renvooi-values-iAOwX0lR.js} +1 -1
- package/dist/esm/{annotation-watcher-BO0jbdlD.js → annotation-watcher-COiqhqqD.js} +1 -1
- package/dist/esm/dso-accordion-section.entry.js +13 -4
- package/dist/esm/dso-accordion.entry.js +3 -3
- package/dist/esm/dso-action-list-item.entry.js +3 -3
- package/dist/esm/dso-action-list.entry.js +2 -2
- package/dist/esm/dso-advanced-select.entry.js +1 -1
- package/dist/esm/dso-alert_7.entry.js +45 -110
- package/dist/esm/dso-annotation-activiteit.entry.js +5 -5
- package/dist/esm/dso-annotation-gebiedsaanwijzing.entry.js +4 -4
- package/dist/esm/dso-annotation-kaart.entry.js +2 -2
- package/dist/esm/dso-annotation-locatie_2.entry.js +9 -9
- package/dist/esm/dso-annotation-omgevingsnormwaarde.entry.js +5 -5
- package/dist/esm/dso-attachments-counter_2.entry.js +3 -3
- package/dist/esm/dso-autosuggest.entry.js +4 -4
- package/dist/esm/dso-banner.entry.js +3 -3
- package/dist/esm/dso-button-group.entry.js +2 -2
- package/dist/esm/dso-card-container.entry.js +2 -2
- 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 +2 -2
- 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-group.entry.js +2 -2
- package/dist/esm/dso-dropdown-menu-item.entry.js +2 -2
- package/dist/esm/dso-dropdown-menu.entry.js +3 -3
- package/dist/esm/dso-grid-column.entry.js +3 -4
- package/dist/esm/dso-header.entry.js +22 -6
- package/dist/esm/dso-hero-image.entry.js +1 -1
- package/dist/esm/dso-highlight-box.entry.js +2 -2
- package/dist/esm/dso-history-item.entry.js +1 -1
- package/dist/esm/dso-icon_2.entry.js +16 -45
- package/dist/esm/dso-info_3.entry.js +17 -41
- package/dist/esm/dso-input-range.entry.js +1 -1
- package/dist/esm/dso-label_3.entry.js +16 -27
- package/dist/esm/dso-legend-group.entry.js +2 -2
- package/dist/esm/dso-legend-item.entry.js +2 -2
- 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 +1 -1
- package/dist/esm/dso-map-base-layers.entry.js +2 -2
- package/dist/esm/dso-map-controls.entry.js +3 -3
- package/dist/esm/dso-map-layer-object.entry.js +2 -2
- package/dist/esm/dso-map-layer.entry.js +2 -2
- package/dist/esm/dso-map-message.entry.js +1 -1
- package/dist/esm/dso-map-overlays.entry.js +2 -2
- package/dist/esm/dso-mark-bar.entry.js +1 -1
- package/dist/esm/dso-modal.entry.js +2 -2
- package/dist/esm/dso-onboarding-tip.entry.js +2 -2
- package/dist/esm/dso-pagination.entry.js +1 -1
- package/dist/esm/dso-plekinfo-card.entry.js +2 -2
- package/dist/esm/dso-progress-indicator.entry.js +2 -2
- 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 +1 -1
- package/dist/esm/dso-shopping-cart-item.entry.js +1 -1
- package/dist/esm/dso-shopping-cart.entry.js +1 -1
- package/dist/esm/dso-skiplink.entry.js +1 -1
- package/dist/esm/dso-survey-rating.entry.js +1 -1
- package/dist/esm/dso-tab.entry.js +1 -1
- package/dist/esm/dso-tabs.entry.js +1 -1
- package/dist/esm/dso-tijdreis-banner.entry.js +2 -2
- package/dist/esm/dso-toolkit.js +3 -3
- package/dist/esm/dso-tree-view.entry.js +1 -1
- package/dist/esm/dso-viewer-grid.entry.js +3 -3
- package/dist/esm/dsot-document-component-demo.entry.js +1 -1
- package/dist/{bundle/p-CCOI5nUo.js → esm/i18n-xDSTG4OU.js} +28 -1
- package/dist/esm/{index-CieBNbUH.js → index-2sI1K6K0.js} +76 -33
- package/dist/esm/{index-B0pTkGRp.js → index-LpJ181Xi.js} +1 -1
- package/dist/esm/loader.js +2 -2
- package/dist/esm/{parse-wijzigactie-from-node.function-DhCCxNJH.js → parse-wijzigactie-from-node.function-CrOTV1B6.js} +1 -1
- package/dist/esm/toggletip.controller-KNf1n4og.js +60 -0
- package/dist/esm/tooltip.controller-RLM8ixUv.js +76 -0
- package/dist/esm/{tooltip.functional-component-chN-aNlU.js → tooltip.functional-component-3fxPwYtA.js} +1 -1
- package/dist/esm/{wrap-wijzigactie.functional-component-BYWldnbn.js → wrap-wijzigactie.functional-component-C-ha4z-Y.js} +1 -1
- package/dist/types/components/accordion/accordion.d.ts +3 -0
- package/dist/types/components/accordion/components/accordion-section.d.ts +4 -0
- package/dist/types/components/action-list/action-list.d.ts +3 -0
- package/dist/types/components/action-list/components/action-list-item.d.ts +3 -0
- package/dist/types/components/alert/alert.d.ts +3 -0
- package/dist/types/components/annotation/annotation-activiteit/annotation-activiteit.d.ts +0 -3
- package/dist/types/components/annotation/annotation-gebiedsaanwijzing/annotation-gebiedsaanwijzing.d.ts +0 -3
- package/dist/types/components/annotation/annotation-locatie/annotation-locatie.d.ts +0 -3
- package/dist/types/components/annotation/annotation-omgevingsnormwaarde/annotation-omgevingsnormwaarde.d.ts +0 -5
- package/dist/types/components/autosuggest/autosuggest.d.ts +3 -0
- package/dist/types/components/badge/badge.d.ts +2 -8
- package/dist/types/components/banner/banner.d.ts +3 -0
- package/dist/types/components/button-group/button-group.d.ts +3 -0
- package/dist/types/components/card-container/card-container.d.ts +3 -0
- package/dist/types/components/cursor-tooltip/cursor-tooltip.d.ts +3 -0
- package/dist/types/components/document-component/document-component.d.ts +2 -0
- package/dist/types/components/dropdown-menu/dropdown-menu-group/dropdown-menu-group.d.ts +3 -0
- package/dist/types/components/dropdown-menu/dropdown-menu-item/dropdown-menu-item.d.ts +3 -0
- package/dist/types/components/dropdown-menu/dropdown-menu.d.ts +3 -0
- package/dist/types/components/expandable/expandable.d.ts +3 -0
- package/dist/types/components/header/header.d.ts +8 -0
- package/dist/types/components/highlight-box/highlight-box.d.ts +4 -0
- package/dist/types/components/icon-button/icon-button.d.ts +2 -7
- package/dist/types/components/image-overlay/image-overlay.d.ts +5 -0
- package/dist/types/components/info/info.d.ts +3 -0
- package/dist/types/components/info-button/info-button.d.ts +4 -2
- package/dist/types/components/label/label.d.ts +5 -2
- package/dist/types/components/legend/legend.d.ts +3 -0
- package/dist/types/components/list-button/list-button.d.ts +3 -0
- package/dist/types/components/map-controls/map-controls.d.ts +3 -0
- package/dist/types/components/onboarding-tip/onboarding-tip.d.ts +4 -0
- package/dist/types/components/ozon-content/components/ozon-content-toggletip/ozon-content-toggletip.d.ts +5 -2
- package/dist/types/components/project-item/project-item.d.ts +6 -0
- package/dist/types/components/responsive-element/responsive-element.d.ts +3 -0
- package/dist/types/components/scrollable/scrollable.d.ts +3 -0
- package/dist/types/components/slide-toggle/slide-toggle.d.ts +3 -0
- package/dist/types/components/table/table.d.ts +4 -0
- package/dist/types/components/tijdreis-banner/tijdreis-banner.d.ts +4 -0
- package/dist/types/components/viewer-grid/viewer-grid.d.ts +3 -7
- package/dist/types/components.d.ts +1 -13
- package/dist/types/functional-components/tooltip/toggletip.controller.d.ts +31 -0
- package/dist/types/functional-components/tooltip/tooltip.controller.d.ts +30 -0
- package/dist/types/stencil-public-runtime.d.ts +12 -0
- package/loader/index.d.ts +1 -1
- package/package.json +10 -10
- package/dist/dso-toolkit/p-0fb7714e.entry.js +0 -1
- package/dist/dso-toolkit/p-55668cd5.entry.js +0 -1
- package/dist/dso-toolkit/p-6a42dae9.entry.js +0 -1
- package/dist/dso-toolkit/p-947abc8e.entry.js +0 -1
- package/dist/dso-toolkit/p-C32sfSnK.js +0 -1
- package/dist/dso-toolkit/p-C7Q97EIG.js +0 -1
- package/dist/dso-toolkit/p-CCOI5nUo.js +0 -1
- package/dist/dso-toolkit/p-CieBNbUH.js +0 -2
- package/dist/dso-toolkit/p-DQbnZnP0.js +0 -1
- package/dist/dso-toolkit/p-DxGQgnCh.js +0 -1
- package/dist/dso-toolkit/p-a98b5b00.entry.js +0 -1
- package/dist/dso-toolkit/p-b6a747b3.entry.js +0 -1
- package/dist/dso-toolkit/p-be6bbcf3.entry.js +0 -1
- package/dist/dso-toolkit/p-d71f20c0.entry.js +0 -1
- package/dist/dso-toolkit/p-de3ece98.entry.js +0 -1
- package/dist/dso-toolkit/p-e9bcbf0c.entry.js +0 -1
- package/dist/dso-toolkit/p-jq9f4Z3R.js +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-BBx5yytN.js');
|
|
4
4
|
var clsx = require('./clsx-BtxeOLZW.js');
|
|
5
5
|
var index$1 = require('./index-DMUCyuUA.js');
|
|
6
6
|
|
|
@@ -217,9 +217,9 @@ const ViewerGrid = class {
|
|
|
217
217
|
}
|
|
218
218
|
render() {
|
|
219
219
|
const tabs = viewerGridTabs.filter((tab) => tab !== "document" || this.documentPanelOpen);
|
|
220
|
-
return (index.h(index.Fragment, { key: '
|
|
220
|
+
return (index.h(index.Fragment, { key: '6d9277b4004149dcb3858574a8a82af20d66ab3f' }, index.h("slot", { key: 'f147112c65bcbc87e9380756b53e4895a7d7d244', name: "top-bar" }), index.h("div", { key: 'b0f1cc547756c349a450751969ec4c9b7d906b06', class: "viewer-grid-columns" }, this.tabView && (index.h("nav", { key: '41bd44f717513b28bf2d2452c6167ff9e8be7ef0', class: "dso-navbar" }, index.h("ul", { key: '559d612bebddeeaba5d5967874efd8138fcd7171', class: "dso-nav dso-nav-sub" }, tabs.map((tab) => (index.h("li", { key: tab, class: clsx.clsx({ "dso-active": this.activeTab === tab }) }, index.h("button", { type: "button", class: "dso-tertiary", "aria-current": this.activeTab === tab ? "page" : undefined, onClick: () => this.switchActiveTab(tab) }, viewerGridTabLabelMap[tab]))))))), (!this.tabView || (this.tabView && this.activeTab === "search") || this.print) && (index.h(MainPanel, { key: 'eccbdaa6599ea2d1ab89a56c3b4b18a08864e3bf', tabView: this.tabView, mainSize: this.mainSize, documentPanelOpen: this.documentPanelOpen, mainPanelExpanded: this.mainPanelExpanded, mainPanelHidden: this.tabView ? false : this.mainPanelHidden, toggleMainPanel: this.toggleMainPanel, dsoMainSizeChangeAnimationEnd: this.dsoMainSizeChangeAnimationEnd, printFilterPanel: !this.tabView && this.filterPanelOpen && this.print ? this.renderFilterPanel() : undefined })), (!this.tabView || (this.tabView && this.activeTab === "search")) && !this.print && this.renderFilterPanel(), (!this.tabView || (this.tabView && this.activeTab === "map") || this.print) && (index.h("div", { key: '30f9f266b45dc388dff9acd5c823251cc61a845b', class: "map-area" }, index.h("div", { key: '109d0e4a900eeb73bcfc6010adca2ebff19045b0', class: "map", ref: (element) => (this.mapElement = element) }, index.h("slot", { key: 'eed36839ef0420e970f50671c6df5bcf350d41a9', name: "map" })), index.h("slot", { key: 'ef40b89cbd1bce703de261748ad5bdc2ed21b5fb', name: "legend" }))), ((!this.tabView && this.documentPanelOpen) ||
|
|
221
221
|
(this.tabView && this.activeTab === "document" && this.documentPanelOpen) ||
|
|
222
|
-
this.print) && (index.h(DocumentPanel, { key: '
|
|
222
|
+
this.print) && (index.h(DocumentPanel, { key: '4489619e0bd57c813cb75ac4e498d77c378e1468', tabView: this.tabView, panelSize: this.documentPanelSize, shrinkDocumentPanel: this.shrinkDocumentPanel, expandDocumentPanel: this.expandDocumentPanel, dsoDocumentPanelSizeChangeAnimationEnd: this.dsoDocumentPanelSizeChangeAnimationEnd })), index.h(Overlay, { key: '47505c483c7dfa87d3f1845cd168cfc830cb9270', ref: (element) => (this.overlay = element), dsoCloseOverlay: (e) => this.dsoCloseOverlay.emit({ originalEvent: e }) }))));
|
|
223
223
|
}
|
|
224
224
|
get host() { return index.getElement(this); }
|
|
225
225
|
static get watchers() { return {
|
|
@@ -920,6 +920,10 @@ class LanguageUtil {
|
|
|
920
920
|
this.options = options;
|
|
921
921
|
this.supportedLngs = this.options.supportedLngs || false;
|
|
922
922
|
this.logger = baseLogger.create('languageUtils');
|
|
923
|
+
this.resolveHierarchyCache = {};
|
|
924
|
+
}
|
|
925
|
+
clearCache() {
|
|
926
|
+
this.resolveHierarchyCache = {};
|
|
923
927
|
}
|
|
924
928
|
getScriptPartFromCode(code) {
|
|
925
929
|
code = getCleanedCode(code);
|
|
@@ -1000,6 +1004,25 @@ class LanguageUtil {
|
|
|
1000
1004
|
return found || [];
|
|
1001
1005
|
}
|
|
1002
1006
|
toResolveHierarchy(code, fallbackCode) {
|
|
1007
|
+
const fallbackLng = this.options.fallbackLng;
|
|
1008
|
+
const fallbackLngKey = Array.isArray(fallbackLng) ? fallbackLng.join('|') : fallbackLng;
|
|
1009
|
+
if (fallbackLngKey !== this._cachedFallbackLng) {
|
|
1010
|
+
this.resolveHierarchyCache = {};
|
|
1011
|
+
this._cachedFallbackLng = fallbackLngKey;
|
|
1012
|
+
}
|
|
1013
|
+
const hasCacheableFallback = fallbackCode === undefined || fallbackCode === false || isString(fallbackCode);
|
|
1014
|
+
const usesUncacheableOptionsFallback = fallbackCode === undefined && typeof this.options.fallbackLng === 'function';
|
|
1015
|
+
const cacheable = isString(code) && hasCacheableFallback && !usesUncacheableOptionsFallback;
|
|
1016
|
+
let cacheKey = null;
|
|
1017
|
+
if (cacheable) {
|
|
1018
|
+
let fallbackCacheKey;
|
|
1019
|
+
if (fallbackCode === undefined) fallbackCacheKey = 'undefined';else if (fallbackCode === false) fallbackCacheKey = 'boolean:false';else fallbackCacheKey = `string:${fallbackCode}`;
|
|
1020
|
+
cacheKey = `${code.length}:${code}|${fallbackCacheKey}`;
|
|
1021
|
+
}
|
|
1022
|
+
if (cacheKey !== null) {
|
|
1023
|
+
const cached = this.resolveHierarchyCache[cacheKey];
|
|
1024
|
+
if (cached !== undefined) return cached.slice();
|
|
1025
|
+
}
|
|
1003
1026
|
const fallbackCodes = this.getFallbackCodes((fallbackCode === false ? [] : fallbackCode) || this.options.fallbackLng || [], code);
|
|
1004
1027
|
const codes = [];
|
|
1005
1028
|
const addCode = c => {
|
|
@@ -1020,6 +1043,10 @@ class LanguageUtil {
|
|
|
1020
1043
|
fallbackCodes.forEach(fc => {
|
|
1021
1044
|
if (!codes.includes(fc)) addCode(this.formatLanguageCode(fc));
|
|
1022
1045
|
});
|
|
1046
|
+
if (cacheKey !== null) {
|
|
1047
|
+
this.resolveHierarchyCache[cacheKey] = codes;
|
|
1048
|
+
return codes.slice();
|
|
1049
|
+
}
|
|
1023
1050
|
return codes;
|
|
1024
1051
|
}
|
|
1025
1052
|
}
|
|
@@ -1296,7 +1323,7 @@ class Interpolator {
|
|
|
1296
1323
|
interpolationkey: match[1].trim()
|
|
1297
1324
|
}), value.trim());
|
|
1298
1325
|
}
|
|
1299
|
-
str = str.replace(match[0], value);
|
|
1326
|
+
str = str.replace(match[0], regexSafe(makeString(value)));
|
|
1300
1327
|
this.regexp.lastIndex = 0;
|
|
1301
1328
|
}
|
|
1302
1329
|
return str;
|
|
@@ -5,7 +5,7 @@ const BUILD = /* dso-toolkit */ { allRenderFn: true, appendChildSlotFix: false,
|
|
|
5
5
|
const Env = /* dso-toolkit */ {};
|
|
6
6
|
|
|
7
7
|
/*
|
|
8
|
-
Stencil Client Platform v4.
|
|
8
|
+
Stencil Client Platform v4.44.2 | MIT Licensed | https://stenciljs.com
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
var Build = {
|
|
@@ -142,7 +142,9 @@ var setErrorHandler = (handler) => customError = handler;
|
|
|
142
142
|
|
|
143
143
|
// src/client/client-load-module.ts
|
|
144
144
|
var cmpModules = /* @__PURE__ */ new Map();
|
|
145
|
+
var failedLoadAttempts = /* @__PURE__ */ new Map();
|
|
145
146
|
var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
147
|
+
var _a;
|
|
146
148
|
const exportName = cmpMeta.$tagName$.replace(/-/g, "_");
|
|
147
149
|
const bundleId = cmpMeta.$lazyBundleId$;
|
|
148
150
|
if (BUILD.isDev && typeof bundleId !== "string") {
|
|
@@ -157,21 +159,28 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
157
159
|
if (module) {
|
|
158
160
|
return module[exportName];
|
|
159
161
|
}
|
|
162
|
+
const retryCount = (_a = failedLoadAttempts.get(bundleId)) != null ? _a : 0;
|
|
163
|
+
const cacheBustParams = [
|
|
164
|
+
retryCount > 0 ? `s-retry=${retryCount}` : "",
|
|
165
|
+
BUILD.hotModuleReplacement && hmrVersionId ? `s-hmr=${hmrVersionId}` : ""
|
|
166
|
+
].filter(Boolean).join("&");
|
|
160
167
|
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/
|
|
161
168
|
return import(
|
|
162
169
|
/* @vite-ignore */
|
|
163
170
|
/* webpackInclude: /\.entry\.js$/ */
|
|
164
171
|
/* webpackExclude: /\.system\.entry\.js$/ */
|
|
165
172
|
/* webpackMode: "lazy" */
|
|
166
|
-
`./${bundleId}.entry.js${
|
|
173
|
+
`./${bundleId}.entry.js${cacheBustParams ? "?" + cacheBustParams : ""}`
|
|
167
174
|
).then(
|
|
168
175
|
(importedModule) => {
|
|
169
176
|
if (!BUILD.hotModuleReplacement) {
|
|
177
|
+
failedLoadAttempts.delete(bundleId);
|
|
170
178
|
cmpModules.set(bundleId, importedModule);
|
|
171
179
|
}
|
|
172
180
|
return importedModule[exportName];
|
|
173
181
|
},
|
|
174
182
|
(e) => {
|
|
183
|
+
failedLoadAttempts.set(bundleId, retryCount + 1);
|
|
175
184
|
consoleError(e, hostRef.$hostElement$);
|
|
176
185
|
}
|
|
177
186
|
);
|
|
@@ -202,6 +211,8 @@ var DEFAULT_DOC_DATA = {
|
|
|
202
211
|
};
|
|
203
212
|
var SLOT_FB_CSS = "slot-fb{display:contents}slot-fb[hidden]{display:none}";
|
|
204
213
|
var XLINK_NS = "http://www.w3.org/1999/xlink";
|
|
214
|
+
var MAX_LAZY_LOAD_RETRIES = 3;
|
|
215
|
+
var LAZY_LOAD_RETRY_INTERVAL_MS = 1e3;
|
|
205
216
|
var FORM_ASSOCIATED_CUSTOM_ELEMENT_CALLBACKS = [
|
|
206
217
|
"formAssociatedCallback",
|
|
207
218
|
"formResetCallback",
|
|
@@ -261,6 +272,10 @@ var queuePending = false;
|
|
|
261
272
|
var queueDomReads = [];
|
|
262
273
|
var queueDomWrites = [];
|
|
263
274
|
var queueDomWritesLow = [];
|
|
275
|
+
var scheduleFlush = () => {
|
|
276
|
+
var _a;
|
|
277
|
+
return ((_a = win.document) == null ? void 0 : _a.hidden) ? nextTick(flush) : plt.raf(flush);
|
|
278
|
+
};
|
|
264
279
|
var queueTask = (queue, write) => (cb) => {
|
|
265
280
|
queue.push(cb);
|
|
266
281
|
if (!queuePending) {
|
|
@@ -268,7 +283,7 @@ var queueTask = (queue, write) => (cb) => {
|
|
|
268
283
|
if (write && plt.$flags$ & 4 /* queueSync */) {
|
|
269
284
|
nextTick(flush);
|
|
270
285
|
} else {
|
|
271
|
-
|
|
286
|
+
scheduleFlush();
|
|
272
287
|
}
|
|
273
288
|
}
|
|
274
289
|
};
|
|
@@ -312,14 +327,14 @@ var flush = () => {
|
|
|
312
327
|
queueDomWrites.length = 0;
|
|
313
328
|
}
|
|
314
329
|
if (queuePending = queueDomReads.length + queueDomWrites.length + queueDomWritesLow.length > 0) {
|
|
315
|
-
|
|
330
|
+
scheduleFlush();
|
|
316
331
|
} else {
|
|
317
332
|
queueCongestion = 0;
|
|
318
333
|
}
|
|
319
334
|
} else {
|
|
320
335
|
consume(queueDomWrites);
|
|
321
336
|
if (queuePending = queueDomReads.length > 0) {
|
|
322
|
-
|
|
337
|
+
scheduleFlush();
|
|
323
338
|
}
|
|
324
339
|
}
|
|
325
340
|
};
|
|
@@ -404,7 +419,7 @@ function getHostSlotNodes(childNodes, hostName, slotName) {
|
|
|
404
419
|
slottedNodes.push(childNode);
|
|
405
420
|
if (typeof slotName !== "undefined") return slottedNodes;
|
|
406
421
|
}
|
|
407
|
-
slottedNodes = [...slottedNodes, ...getHostSlotNodes(childNode
|
|
422
|
+
slottedNodes = [...slottedNodes, ...getHostSlotNodes(internalCall(childNode, "childNodes"), hostName, slotName)];
|
|
408
423
|
}
|
|
409
424
|
return slottedNodes;
|
|
410
425
|
}
|
|
@@ -751,13 +766,13 @@ var patchChildSlotNodes = (elm) => {
|
|
|
751
766
|
patchHostOriginalAccessor("firstChild", elm);
|
|
752
767
|
Object.defineProperty(elm, "firstChild", {
|
|
753
768
|
get() {
|
|
754
|
-
return this.childNodes[0];
|
|
769
|
+
return this.childNodes[0] || null;
|
|
755
770
|
}
|
|
756
771
|
});
|
|
757
772
|
patchHostOriginalAccessor("lastChild", elm);
|
|
758
773
|
Object.defineProperty(elm, "lastChild", {
|
|
759
774
|
get() {
|
|
760
|
-
return this.childNodes[this.childNodes.length - 1];
|
|
775
|
+
return this.childNodes[this.childNodes.length - 1] || null;
|
|
761
776
|
}
|
|
762
777
|
});
|
|
763
778
|
patchHostOriginalAccessor("childNodes", elm);
|
|
@@ -788,7 +803,7 @@ var patchNextSibling = (node) => {
|
|
|
788
803
|
const parentNodes = (_a = this["s-ol"]) == null ? void 0 : _a.parentNode.childNodes;
|
|
789
804
|
const index = parentNodes == null ? void 0 : parentNodes.indexOf(this);
|
|
790
805
|
if (parentNodes && index > -1) {
|
|
791
|
-
return parentNodes[index + 1];
|
|
806
|
+
return parentNodes[index + 1] || null;
|
|
792
807
|
}
|
|
793
808
|
return this.__nextSibling;
|
|
794
809
|
}
|
|
@@ -803,7 +818,7 @@ var patchNextElementSibling = (element) => {
|
|
|
803
818
|
const parentEles = (_a = this["s-ol"]) == null ? void 0 : _a.parentNode.children;
|
|
804
819
|
const index = parentEles == null ? void 0 : parentEles.indexOf(this);
|
|
805
820
|
if (parentEles && index > -1) {
|
|
806
|
-
return parentEles[index + 1];
|
|
821
|
+
return parentEles[index + 1] || null;
|
|
807
822
|
}
|
|
808
823
|
return this.__nextElementSibling;
|
|
809
824
|
}
|
|
@@ -818,7 +833,7 @@ var patchPreviousSibling = (node) => {
|
|
|
818
833
|
const parentNodes = (_a = this["s-ol"]) == null ? void 0 : _a.parentNode.childNodes;
|
|
819
834
|
const index = parentNodes == null ? void 0 : parentNodes.indexOf(this);
|
|
820
835
|
if (parentNodes && index > -1) {
|
|
821
|
-
return parentNodes[index - 1];
|
|
836
|
+
return parentNodes[index - 1] || null;
|
|
822
837
|
}
|
|
823
838
|
return this.__previousSibling;
|
|
824
839
|
}
|
|
@@ -833,7 +848,7 @@ var patchPreviousElementSibling = (element) => {
|
|
|
833
848
|
const parentNodes = (_a = this["s-ol"]) == null ? void 0 : _a.parentNode.children;
|
|
834
849
|
const index = parentNodes == null ? void 0 : parentNodes.indexOf(this);
|
|
835
850
|
if (parentNodes && index > -1) {
|
|
836
|
-
return parentNodes[index - 1];
|
|
851
|
+
return parentNodes[index - 1] || null;
|
|
837
852
|
}
|
|
838
853
|
return this.__previousElementSibling;
|
|
839
854
|
}
|
|
@@ -1152,10 +1167,15 @@ var h = (nodeName, vnodeData, ...children) => {
|
|
|
1152
1167
|
} else if (child != null && typeof child !== "boolean") {
|
|
1153
1168
|
if (simple = typeof nodeName !== "function" && !isComplexType(child)) {
|
|
1154
1169
|
child = String(child);
|
|
1155
|
-
} else if (
|
|
1156
|
-
|
|
1170
|
+
} else if (typeof nodeName !== "function" && child.$flags$ === void 0) {
|
|
1171
|
+
if (BUILD.isDev) {
|
|
1172
|
+
consoleDevError(`vNode passed as children has unexpected type.
|
|
1157
1173
|
Make sure it's using the correct h() function.
|
|
1158
1174
|
Empty objects can also be the cause, look for JSX comments that became objects.`);
|
|
1175
|
+
} else {
|
|
1176
|
+
consoleError("Invalid vNode child");
|
|
1177
|
+
}
|
|
1178
|
+
continue;
|
|
1159
1179
|
}
|
|
1160
1180
|
if (simple && lastSimple) {
|
|
1161
1181
|
vNodeChildren[vNodeChildren.length - 1].$text$ += child;
|
|
@@ -2425,7 +2445,7 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRen
|
|
|
2425
2445
|
}
|
|
2426
2446
|
}
|
|
2427
2447
|
if (newValue == null || newValue === false) {
|
|
2428
|
-
if (newValue !== false || elm.getAttribute(memberName) === "") {
|
|
2448
|
+
if (newValue !== false || elm.getAttribute(memberName) === "" || flags & 4 /* isHost */ && !isEnumeratedAttribute(memberName)) {
|
|
2429
2449
|
if (BUILD.vdomXlink && xlink) {
|
|
2430
2450
|
elm.removeAttributeNS(XLINK_NS, memberName);
|
|
2431
2451
|
} else {
|
|
@@ -2442,6 +2462,8 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRen
|
|
|
2442
2462
|
}
|
|
2443
2463
|
}
|
|
2444
2464
|
};
|
|
2465
|
+
var ENUMERATED_ATTRIBUTES = /* @__PURE__ */ new Set(["draggable", "contenteditable", "spellcheck"]);
|
|
2466
|
+
var isEnumeratedAttribute = (attrName) => ENUMERATED_ATTRIBUTES.has(attrName) || attrName.startsWith("aria-");
|
|
2445
2467
|
var parseClassListRegex = /\s/;
|
|
2446
2468
|
var parseClassList = (value) => {
|
|
2447
2469
|
if (typeof value === "object" && value && "baseVal" in value) {
|
|
@@ -2853,7 +2875,10 @@ var markSlotContentForRelocation = (elm) => {
|
|
|
2853
2875
|
const slotName = childNode["s-sn"];
|
|
2854
2876
|
for (j = hostContentNodes.length - 1; j >= 0; j--) {
|
|
2855
2877
|
node = hostContentNodes[j];
|
|
2856
|
-
if (!node["s-cn"] && !node["s-nr"] && node["s-hn"] !== childNode["s-hn"] &&
|
|
2878
|
+
if (!node["s-cn"] && !node["s-nr"] && node["s-hn"] !== childNode["s-hn"] && // let an exact named-slot match override a stale default-slot claim. Skip this for
|
|
2879
|
+
// `slotName === ''` itself - a matched default node's cached `s-sn` is `''` too, which
|
|
2880
|
+
// would trivially "match" on every re-render and force pointless re-insertion.
|
|
2881
|
+
(!node["s-sh"] || node["s-sh"] !== childNode["s-hn"] || slotName !== "" && getSlotName(node) === slotName)) {
|
|
2857
2882
|
if (isNodeLocatedInSlot(node, slotName)) {
|
|
2858
2883
|
let relocateNodeData = relocateNodes.find((r) => r.$nodeToRelocate$ === node);
|
|
2859
2884
|
checkSlotFallbackVisibility = true;
|
|
@@ -2926,7 +2951,7 @@ var insertBefore = (parent, newNode, reference, isInitialLoad) => {
|
|
|
2926
2951
|
return newNode;
|
|
2927
2952
|
}
|
|
2928
2953
|
}
|
|
2929
|
-
if (parent
|
|
2954
|
+
if (BUILD.slotRelocation && (parent == null ? void 0 : parent.__insertBefore)) {
|
|
2930
2955
|
return parent.__insertBefore(newNode, reference);
|
|
2931
2956
|
} else {
|
|
2932
2957
|
return parent == null ? void 0 : parent.insertBefore(newNode, reference);
|
|
@@ -3129,7 +3154,7 @@ var attachToAncestor = (hostRef, ancestorComponent) => {
|
|
|
3129
3154
|
}
|
|
3130
3155
|
};
|
|
3131
3156
|
var scheduleUpdate = (hostRef, isInitialLoad) => {
|
|
3132
|
-
if (BUILD.
|
|
3157
|
+
if (BUILD.updatable) {
|
|
3133
3158
|
hostRef.$flags$ |= 16 /* isQueuedForUpdate */;
|
|
3134
3159
|
}
|
|
3135
3160
|
if (BUILD.asyncLoading && hostRef.$flags$ & 4 /* isWaitingForChildren */) {
|
|
@@ -3199,7 +3224,7 @@ var updateComponent = async (hostRef, instance, isInitialLoad) => {
|
|
|
3199
3224
|
}
|
|
3200
3225
|
const endRender = createTime("render", hostRef.$cmpMeta$.$tagName$);
|
|
3201
3226
|
if (BUILD.isDev) {
|
|
3202
|
-
hostRef.$flags$ |=
|
|
3227
|
+
hostRef.$flags$ |= 2048 /* devOnRender */;
|
|
3203
3228
|
}
|
|
3204
3229
|
if (BUILD.hydrateServerSide) {
|
|
3205
3230
|
await callRender(hostRef, instance, elm, isInitialLoad);
|
|
@@ -3208,7 +3233,7 @@ var updateComponent = async (hostRef, instance, isInitialLoad) => {
|
|
|
3208
3233
|
}
|
|
3209
3234
|
if (BUILD.isDev) {
|
|
3210
3235
|
hostRef.$renderCount$ = hostRef.$renderCount$ === void 0 ? 1 : hostRef.$renderCount$ + 1;
|
|
3211
|
-
hostRef.$flags$ &= -
|
|
3236
|
+
hostRef.$flags$ &= -2049 /* devOnRender */;
|
|
3212
3237
|
}
|
|
3213
3238
|
if (BUILD.hydrateServerSide) {
|
|
3214
3239
|
try {
|
|
@@ -3248,12 +3273,11 @@ var renderingRef = null;
|
|
|
3248
3273
|
var callRender = (hostRef, instance, elm, isInitialLoad) => {
|
|
3249
3274
|
const allRenderFn = BUILD.allRenderFn ? true : false;
|
|
3250
3275
|
const lazyLoad = BUILD.lazyLoad ? true : false;
|
|
3251
|
-
const taskQueue = BUILD.taskQueue ? true : false;
|
|
3252
3276
|
const updatable = BUILD.updatable ? true : false;
|
|
3253
3277
|
try {
|
|
3254
3278
|
renderingRef = instance;
|
|
3255
3279
|
instance = allRenderFn ? instance.render() : instance.render && instance.render();
|
|
3256
|
-
if (updatable
|
|
3280
|
+
if (updatable) {
|
|
3257
3281
|
hostRef.$flags$ &= -17 /* isQueuedForUpdate */;
|
|
3258
3282
|
}
|
|
3259
3283
|
if (updatable || lazyLoad) {
|
|
@@ -3289,11 +3313,11 @@ var postUpdateComponent = (hostRef) => {
|
|
|
3289
3313
|
const instance = BUILD.lazyLoad ? hostRef.$lazyInstance$ : elm;
|
|
3290
3314
|
const ancestorComponent = hostRef.$ancestorComponent$;
|
|
3291
3315
|
if (BUILD.isDev) {
|
|
3292
|
-
hostRef.$flags$ |=
|
|
3316
|
+
hostRef.$flags$ |= 2048 /* devOnRender */;
|
|
3293
3317
|
}
|
|
3294
3318
|
safeCall(instance, "componentDidRender", void 0, elm);
|
|
3295
3319
|
if (BUILD.isDev) {
|
|
3296
|
-
hostRef.$flags$ &= -
|
|
3320
|
+
hostRef.$flags$ &= -2049 /* devOnRender */;
|
|
3297
3321
|
}
|
|
3298
3322
|
emitLifecycleEvent(elm, "componentDidRender");
|
|
3299
3323
|
if (!(hostRef.$flags$ & 64 /* hasLoadedComponent */)) {
|
|
@@ -3302,11 +3326,11 @@ var postUpdateComponent = (hostRef) => {
|
|
|
3302
3326
|
addHydratedFlag(elm);
|
|
3303
3327
|
}
|
|
3304
3328
|
if (BUILD.isDev) {
|
|
3305
|
-
hostRef.$flags$ |=
|
|
3329
|
+
hostRef.$flags$ |= 4096 /* devOnDidLoad */;
|
|
3306
3330
|
}
|
|
3307
3331
|
safeCall(instance, "componentDidLoad", void 0, elm);
|
|
3308
3332
|
if (BUILD.isDev) {
|
|
3309
|
-
hostRef.$flags$ &= -
|
|
3333
|
+
hostRef.$flags$ &= -4097 /* devOnDidLoad */;
|
|
3310
3334
|
}
|
|
3311
3335
|
emitLifecycleEvent(elm, "componentDidLoad");
|
|
3312
3336
|
endPostUpdate();
|
|
@@ -3318,11 +3342,11 @@ var postUpdateComponent = (hostRef) => {
|
|
|
3318
3342
|
}
|
|
3319
3343
|
} else {
|
|
3320
3344
|
if (BUILD.isDev) {
|
|
3321
|
-
hostRef.$flags$ |=
|
|
3345
|
+
hostRef.$flags$ |= 2048 /* devOnRender */;
|
|
3322
3346
|
}
|
|
3323
3347
|
safeCall(instance, "componentDidUpdate", void 0, elm);
|
|
3324
3348
|
if (BUILD.isDev) {
|
|
3325
|
-
hostRef.$flags$ &= -
|
|
3349
|
+
hostRef.$flags$ &= -2049 /* devOnRender */;
|
|
3326
3350
|
}
|
|
3327
3351
|
emitLifecycleEvent(elm, "componentDidUpdate");
|
|
3328
3352
|
endPostUpdate();
|
|
@@ -3454,7 +3478,7 @@ var setValue = (ref, propName, newVal, cmpMeta) => {
|
|
|
3454
3478
|
}
|
|
3455
3479
|
}
|
|
3456
3480
|
if (BUILD.isDev) {
|
|
3457
|
-
if (hostRef.$flags$ &
|
|
3481
|
+
if (hostRef.$flags$ & 2048 /* devOnRender */) {
|
|
3458
3482
|
consoleDevWarn(
|
|
3459
3483
|
`The state/prop "${propName}" changed during rendering. This can potentially lead to infinite-loops and other bugs.`,
|
|
3460
3484
|
"\nElement",
|
|
@@ -3464,7 +3488,7 @@ var setValue = (ref, propName, newVal, cmpMeta) => {
|
|
|
3464
3488
|
"\nOld value",
|
|
3465
3489
|
oldVal
|
|
3466
3490
|
);
|
|
3467
|
-
} else if (hostRef.$flags$ &
|
|
3491
|
+
} else if (hostRef.$flags$ & 4096 /* devOnDidLoad */) {
|
|
3468
3492
|
consoleDevWarn(
|
|
3469
3493
|
`The state/prop "${propName}" changed during "componentDidLoad()", this triggers extra re-renders, try to setup on "componentWillLoad()"`,
|
|
3470
3494
|
"\nElement",
|
|
@@ -3512,6 +3536,7 @@ var setValue = (ref, propName, newVal, cmpMeta) => {
|
|
|
3512
3536
|
};
|
|
3513
3537
|
|
|
3514
3538
|
// src/runtime/proxy-component.ts
|
|
3539
|
+
var reflectedAttrValue = (propValue) => propValue == null || propValue === false ? null : propValue === true ? "" : String(propValue);
|
|
3515
3540
|
var proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
3516
3541
|
var _a, _b;
|
|
3517
3542
|
const prototype = Cstr.prototype;
|
|
@@ -3723,7 +3748,13 @@ More information: https://stenciljs.com/docs/properties#prop-mutability`
|
|
|
3723
3748
|
return;
|
|
3724
3749
|
}
|
|
3725
3750
|
const propFlags = members.find(([m]) => m === propName);
|
|
3726
|
-
const
|
|
3751
|
+
const propMemberFlags = propFlags ? propFlags[1][0] : 0;
|
|
3752
|
+
const isBooleanTarget = propMemberFlags & 4 /* Boolean */;
|
|
3753
|
+
if (BUILD.reflect && propMemberFlags & 512 /* ReflectAttr */ && propMemberFlags & 8 /* Any */ && // a complex value is never written to an attribute, so a change while the prop holds
|
|
3754
|
+
// one is always external
|
|
3755
|
+
!isComplexType(this[propName]) && reflectedAttrValue(this[propName]) === newValue) {
|
|
3756
|
+
return;
|
|
3757
|
+
}
|
|
3727
3758
|
const isSpuriousBooleanRemoval = isBooleanTarget && newValue === null && this[propName] === void 0;
|
|
3728
3759
|
if (isBooleanTarget) {
|
|
3729
3760
|
newValue = newValue === null || newValue === "false" ? false : true;
|
|
@@ -3755,10 +3786,12 @@ More information: https://stenciljs.com/docs/properties#prop-mutability`
|
|
|
3755
3786
|
|
|
3756
3787
|
// src/runtime/initialize-component.ts
|
|
3757
3788
|
var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
|
|
3789
|
+
var _a;
|
|
3758
3790
|
let Cstr;
|
|
3759
3791
|
try {
|
|
3760
3792
|
if ((hostRef.$flags$ & 32 /* hasInitializedComponent */) === 0) {
|
|
3761
3793
|
hostRef.$flags$ |= 32 /* hasInitializedComponent */;
|
|
3794
|
+
hostRef.$flags$ &= -1025 /* hasFailedLoad */;
|
|
3762
3795
|
const bundleId = cmpMeta.$lazyBundleId$;
|
|
3763
3796
|
if (BUILD.lazyLoad && bundleId) {
|
|
3764
3797
|
const CstrImport = loadModule(cmpMeta, hostRef, hmrVersionId);
|
|
@@ -3773,6 +3806,11 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
|
|
|
3773
3806
|
Cstr = CstrImport;
|
|
3774
3807
|
}
|
|
3775
3808
|
if (!Cstr) {
|
|
3809
|
+
hostRef.$flags$ &= -33 /* hasInitializedComponent */;
|
|
3810
|
+
hostRef.$loadRetryCount$ = ((_a = hostRef.$loadRetryCount$) != null ? _a : 0) + 1;
|
|
3811
|
+
if (hostRef.$loadRetryCount$ < MAX_LAZY_LOAD_RETRIES) {
|
|
3812
|
+
hostRef.$flags$ |= 1024 /* hasFailedLoad */;
|
|
3813
|
+
}
|
|
3776
3814
|
throw new Error(`Constructor for "${cmpMeta.$tagName$}#${hostRef.$modeName$}" was not found`);
|
|
3777
3815
|
}
|
|
3778
3816
|
if (BUILD.member && !Cstr.isProxied) {
|
|
@@ -3850,7 +3888,7 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
|
|
|
3850
3888
|
hostRef.$onRenderResolve$();
|
|
3851
3889
|
hostRef.$onRenderResolve$ = void 0;
|
|
3852
3890
|
}
|
|
3853
|
-
if (BUILD.asyncLoading && hostRef.$onReadyResolve$) {
|
|
3891
|
+
if (BUILD.asyncLoading && hostRef.$onReadyResolve$ && !(hostRef.$flags$ & 1024 /* hasFailedLoad */)) {
|
|
3854
3892
|
hostRef.$onReadyResolve$(elm);
|
|
3855
3893
|
}
|
|
3856
3894
|
}
|
|
@@ -3922,6 +3960,8 @@ var connectedCallback = (elm) => {
|
|
|
3922
3960
|
addHostEventListeners(elm, hostRef, cmpMeta.$listeners$, false);
|
|
3923
3961
|
if (hostRef == null ? void 0 : hostRef.$lazyInstance$) {
|
|
3924
3962
|
fireConnectedCallback(hostRef.$lazyInstance$, elm);
|
|
3963
|
+
} else if (hostRef.$flags$ & 1024 /* hasFailedLoad */) {
|
|
3964
|
+
setTimeout(() => initializeComponent(elm, hostRef, cmpMeta), LAZY_LOAD_RETRY_INTERVAL_MS);
|
|
3925
3965
|
} else if (hostRef == null ? void 0 : hostRef.$onReadyPromise$) {
|
|
3926
3966
|
hostRef.$onReadyPromise$.then(() => fireConnectedCallback(hostRef.$lazyInstance$, elm));
|
|
3927
3967
|
}
|
|
@@ -3977,6 +4017,9 @@ var defineCustomElement = (Cstr, compactMeta) => {
|
|
|
3977
4017
|
);
|
|
3978
4018
|
};
|
|
3979
4019
|
var proxyCustomElement = (Cstr, compactMeta) => {
|
|
4020
|
+
if (BUILD.profile && performance.mark && performance.getEntriesByName("st:app:start", "mark").length === 0) {
|
|
4021
|
+
performance.mark("st:app:start");
|
|
4022
|
+
}
|
|
3980
4023
|
const cmpMeta = {
|
|
3981
4024
|
$flags$: compactMeta[0],
|
|
3982
4025
|
$tagName$: compactMeta[1]
|
|
@@ -4219,7 +4262,7 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
|
|
|
4219
4262
|
}
|
|
4220
4263
|
disconnectedCallback() {
|
|
4221
4264
|
plt.jmp(() => disconnectedCallback(this));
|
|
4222
|
-
|
|
4265
|
+
nextTick(() => {
|
|
4223
4266
|
var _a3;
|
|
4224
4267
|
const hostRef = getHostRef(this);
|
|
4225
4268
|
if (!hostRef) {
|
package/dist/cjs/loader.cjs.js
CHANGED
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var positionTooltip_function = require('./position-tooltip.function-DCOaqlbY.js');
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Shared controller for the positioning, showing, and hiding of a Toggletip.
|
|
7
|
+
*/
|
|
8
|
+
class ToggletipController {
|
|
9
|
+
constructor(options) {
|
|
10
|
+
this.options = options;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Position the Toggletip and show or hide it based on the `active` parameter.
|
|
14
|
+
*
|
|
15
|
+
* Intended to be called from `componentDidRender`.
|
|
16
|
+
*
|
|
17
|
+
* @param active Whether the Toggletip should be active.
|
|
18
|
+
*/
|
|
19
|
+
update(active) {
|
|
20
|
+
const tipRef = this.options.getTipElement();
|
|
21
|
+
if (!this.cleanUpFunction && active) {
|
|
22
|
+
const referenceElement = this.options.getReferenceElement();
|
|
23
|
+
const tipArrowRef = this.options.getTipArrowElement();
|
|
24
|
+
if (referenceElement && tipRef && tipArrowRef) {
|
|
25
|
+
this.cleanUpFunction = positionTooltip_function.positionTooltip({
|
|
26
|
+
referenceElement,
|
|
27
|
+
tipRef,
|
|
28
|
+
tipArrowRef,
|
|
29
|
+
placementTip: this.options.getPlacement(),
|
|
30
|
+
restrictContentElement: this.options.getRestrictContentElement?.(),
|
|
31
|
+
});
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
if (this.cleanUpFunction) {
|
|
35
|
+
if (active) {
|
|
36
|
+
tipRef?.showPopover();
|
|
37
|
+
}
|
|
38
|
+
else {
|
|
39
|
+
if (tipRef?.isConnected && tipRef.matches(":popover-open")) {
|
|
40
|
+
tipRef?.hidePopover();
|
|
41
|
+
}
|
|
42
|
+
this.cleanUpToggletip();
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
dispose() {
|
|
47
|
+
this.cleanUpToggletip();
|
|
48
|
+
}
|
|
49
|
+
cleanUpToggletip() {
|
|
50
|
+
this.cleanUpFunction?.();
|
|
51
|
+
this.cleanUpFunction = undefined;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* Determines whether an event originated outside `host`, based on `event.composedPath()`.
|
|
56
|
+
* Used for outside-dismiss handling of a Toggletip.
|
|
57
|
+
*/
|
|
58
|
+
function isEventOutside(host, event) {
|
|
59
|
+
return !event.composedPath().includes(host);
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
exports.ToggletipController = ToggletipController;
|
|
63
|
+
exports.isEventOutside = isEventOutside;
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var positionTooltip_function = require('./position-tooltip.function-DCOaqlbY.js');
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Shared controller for the positioning, showing, and hiding of a Tooltip.
|
|
7
|
+
*/
|
|
8
|
+
class TooltipController {
|
|
9
|
+
constructor(options) {
|
|
10
|
+
this.options = options;
|
|
11
|
+
this.lastClickTime = 0;
|
|
12
|
+
this.doShow = () => {
|
|
13
|
+
const tipRef = this.options.getTipElement();
|
|
14
|
+
if (!tipRef?.isConnected) {
|
|
15
|
+
return;
|
|
16
|
+
}
|
|
17
|
+
tipRef.showPopover();
|
|
18
|
+
if (!this.cleanUpFunction) {
|
|
19
|
+
const referenceElement = this.options.getReferenceElement();
|
|
20
|
+
const tipArrowRef = this.options.getTipArrowElement();
|
|
21
|
+
if (referenceElement && tipArrowRef) {
|
|
22
|
+
this.cleanUpFunction = positionTooltip_function.positionTooltip({
|
|
23
|
+
referenceElement,
|
|
24
|
+
tipRef,
|
|
25
|
+
tipArrowRef,
|
|
26
|
+
placementTip: this.options.getPlacement(),
|
|
27
|
+
topPositionSmallViewPort: false,
|
|
28
|
+
halfMainAxisOffset: false,
|
|
29
|
+
forceVisible: true,
|
|
30
|
+
});
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* Registers a click to suppress the tooltip from (re)appearing within showDelay milliseconds after a click on the
|
|
37
|
+
* reference element.
|
|
38
|
+
*/
|
|
39
|
+
notifyClick() {
|
|
40
|
+
this.lastClickTime = Date.now();
|
|
41
|
+
}
|
|
42
|
+
show() {
|
|
43
|
+
const { showDelay = 0 } = this.options;
|
|
44
|
+
this.clearShowTimeout();
|
|
45
|
+
if (Date.now() - this.lastClickTime < showDelay) {
|
|
46
|
+
return;
|
|
47
|
+
}
|
|
48
|
+
if (showDelay > 0) {
|
|
49
|
+
this.tooltipTimeout = window.setTimeout(this.doShow, showDelay);
|
|
50
|
+
}
|
|
51
|
+
else {
|
|
52
|
+
this.doShow();
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
hide() {
|
|
56
|
+
this.clearShowTimeout();
|
|
57
|
+
const tipRef = this.options.getTipElement();
|
|
58
|
+
if (tipRef?.isConnected && tipRef.matches(":popover-open")) {
|
|
59
|
+
tipRef.hidePopover();
|
|
60
|
+
}
|
|
61
|
+
this.cleanUpTooltip();
|
|
62
|
+
}
|
|
63
|
+
dispose() {
|
|
64
|
+
this.clearShowTimeout();
|
|
65
|
+
this.cleanUpTooltip();
|
|
66
|
+
}
|
|
67
|
+
clearShowTimeout() {
|
|
68
|
+
if (this.tooltipTimeout) {
|
|
69
|
+
clearTimeout(this.tooltipTimeout);
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
cleanUpTooltip() {
|
|
73
|
+
this.cleanUpFunction?.();
|
|
74
|
+
this.cleanUpFunction = undefined;
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
exports.TooltipController = TooltipController;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-BBx5yytN.js');
|
|
4
4
|
|
|
5
5
|
const Tooltip = ({ id, tipElementRef, tipArrowElementRef }, children) => (index.h("div", { id: id, popover: "manual", class: "dso-tooltip", ref: tipElementRef }, index.h("span", { class: "tooltip-arrow", ref: tipArrowElementRef }), index.h("div", { class: "tooltip-inner" }, children)));
|
|
6
6
|
|