@db-ux/wc-core-components 4.2.6 → 4.2.7-consolidation2-66e78e5
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/cjs/app-globals-V2Kpy_OQ.js +0 -3
- package/dist/cjs/{constants-CTtyzyuo.js → constants-bMY2_d8A.js} +4 -3
- package/dist/cjs/db-accordion-item.cjs.entry.js +12 -7
- package/dist/cjs/db-accordion.cjs.entry.js +29 -12
- package/dist/cjs/db-badge.cjs.entry.js +9 -6
- package/dist/cjs/db-brand.cjs.entry.js +3 -4
- package/dist/cjs/db-button.cjs.entry.js +2 -3
- package/dist/cjs/db-card.cjs.entry.js +2 -3
- package/dist/cjs/db-checkbox.cjs.entry.js +30 -11
- package/dist/cjs/db-custom-select-dropdown_5.cjs.entry.js +27 -14
- package/dist/cjs/db-custom-select-form-field.cjs.entry.js +2 -3
- package/dist/cjs/db-custom-select.cjs.entry.js +101 -36
- package/dist/cjs/db-divider.cjs.entry.js +2 -3
- package/dist/cjs/db-drawer.cjs.entry.js +15 -8
- package/dist/cjs/db-header.cjs.entry.js +9 -6
- package/dist/cjs/db-icon.cjs.entry.js +2 -3
- package/dist/cjs/db-infotext.cjs.entry.js +2 -3
- package/dist/cjs/db-link.cjs.entry.js +5 -6
- package/dist/cjs/db-navigation-item.cjs.entry.js +12 -7
- package/dist/cjs/db-navigation.cjs.entry.js +3 -4
- package/dist/cjs/db-notification.cjs.entry.js +3 -4
- package/dist/cjs/db-page.cjs.entry.js +2 -3
- package/dist/cjs/db-popover.cjs.entry.js +14 -7
- package/dist/cjs/db-radio.cjs.entry.js +14 -7
- package/dist/cjs/db-section.cjs.entry.js +2 -3
- package/dist/cjs/db-select.cjs.entry.js +21 -10
- package/dist/cjs/db-stack.cjs.entry.js +2 -3
- package/dist/cjs/db-switch.cjs.entry.js +28 -13
- package/dist/cjs/db-tab-item_3.cjs.entry.js +15 -8
- package/dist/cjs/db-tabs.cjs.entry.js +8 -5
- package/dist/cjs/db-textarea.cjs.entry.js +18 -9
- package/dist/cjs/db-tooltip.cjs.entry.js +10 -7
- package/dist/cjs/db-ux.cjs.js +3 -4
- package/dist/cjs/{document-click-listener-DGna8oDJ.js → document-click-listener-B2Xzqbvs.js} +1 -4
- package/dist/cjs/{document-scroll-listener-BBXRu9dN.js → document-scroll-listener-C_v46oIg.js} +1 -4
- package/dist/cjs/floating-components-ogUqz72V.js +0 -3
- package/dist/cjs/{form-components-CPqbzZwG.js → form-components-BrtqMwX0.js} +1 -4
- package/dist/cjs/{index-Bm2Cw2rz.js → index-CW5aVEyQ.js} +19 -3
- package/dist/cjs/{index-Db5RdCbB.js → index-Mi8dWSSD.js} +190 -142
- package/dist/cjs/index.cjs.js +7 -6
- package/dist/cjs/loader.cjs.js +2 -3
- package/dist/cjs/navigation-DauGE-qj.js +0 -3
- package/dist/collection/collection-manifest.json +2 -2
- package/dist/collection/components/accordion/accordion.js +14 -8
- package/dist/collection/components/accordion/index.js +0 -1
- package/dist/collection/components/accordion/model.js +0 -1
- package/dist/collection/components/accordion-item/accordion-item.js +14 -8
- package/dist/collection/components/accordion-item/index.js +0 -1
- package/dist/collection/components/accordion-item/model.js +0 -1
- package/dist/collection/components/badge/badge.js +16 -9
- package/dist/collection/components/badge/index.js +0 -1
- package/dist/collection/components/badge/model.js +0 -1
- package/dist/collection/components/brand/brand.js +13 -8
- package/dist/collection/components/brand/index.js +0 -1
- package/dist/collection/components/brand/model.js +0 -1
- package/dist/collection/components/button/button.js +39 -22
- package/dist/collection/components/button/index.js +0 -1
- package/dist/collection/components/button/model.js +0 -1
- package/dist/collection/components/card/card.js +10 -6
- package/dist/collection/components/card/index.js +0 -1
- package/dist/collection/components/card/model.js +0 -1
- package/dist/collection/components/checkbox/checkbox.js +39 -21
- package/dist/collection/components/checkbox/index.js +0 -1
- package/dist/collection/components/checkbox/model.js +0 -1
- package/dist/collection/components/custom-select/custom-select.js +103 -56
- package/dist/collection/components/custom-select/index.js +0 -1
- package/dist/collection/components/custom-select/model.js +0 -1
- package/dist/collection/components/custom-select-dropdown/custom-select-dropdown.js +6 -4
- package/dist/collection/components/custom-select-dropdown/index.js +0 -1
- package/dist/collection/components/custom-select-dropdown/model.js +0 -1
- package/dist/collection/components/custom-select-form-field/custom-select-form-field.js +4 -3
- package/dist/collection/components/custom-select-form-field/index.js +0 -1
- package/dist/collection/components/custom-select-form-field/model.js +0 -1
- package/dist/collection/components/custom-select-list/custom-select-list.js +8 -5
- package/dist/collection/components/custom-select-list/index.js +0 -1
- package/dist/collection/components/custom-select-list/model.js +0 -1
- package/dist/collection/components/custom-select-list-item/custom-select-list-item.js +27 -15
- package/dist/collection/components/custom-select-list-item/index.js +0 -1
- package/dist/collection/components/custom-select-list-item/model.js +0 -1
- package/dist/collection/components/divider/divider.js +12 -7
- package/dist/collection/components/divider/index.js +0 -1
- package/dist/collection/components/divider/model.js +0 -1
- package/dist/collection/components/drawer/drawer.js +24 -13
- package/dist/collection/components/drawer/index.js +0 -1
- package/dist/collection/components/drawer/model.js +0 -1
- package/dist/collection/components/header/header.js +16 -9
- package/dist/collection/components/header/index.js +0 -1
- package/dist/collection/components/header/model.js +0 -1
- package/dist/collection/components/icon/icon.js +13 -8
- package/dist/collection/components/icon/index.js +0 -1
- package/dist/collection/components/icon/model.js +0 -1
- package/dist/collection/components/infotext/index.js +0 -1
- package/dist/collection/components/infotext/infotext.js +15 -9
- package/dist/collection/components/infotext/model.js +0 -1
- package/dist/collection/components/input/index.js +0 -1
- package/dist/collection/components/input/input.js +104 -57
- package/dist/collection/components/input/model.js +0 -1
- package/dist/collection/components/link/index.js +0 -1
- package/dist/collection/components/link/link.js +83 -18
- package/dist/collection/components/link/model.js +0 -1
- package/dist/collection/components/navigation/index.js +0 -1
- package/dist/collection/components/navigation/model.js +0 -1
- package/dist/collection/components/navigation/navigation.js +4 -3
- package/dist/collection/components/navigation-item/index.js +0 -1
- package/dist/collection/components/navigation-item/model.js +0 -1
- package/dist/collection/components/navigation-item/navigation-item.js +25 -14
- package/dist/collection/components/notification/index.js +0 -1
- package/dist/collection/components/notification/model.js +0 -1
- package/dist/collection/components/notification/notification.js +33 -18
- package/dist/collection/components/page/index.js +0 -1
- package/dist/collection/components/page/model.js +0 -1
- package/dist/collection/components/page/page.js +12 -7
- package/dist/collection/components/popover/index.js +0 -1
- package/dist/collection/components/popover/model.js +0 -1
- package/dist/collection/components/popover/popover.js +18 -10
- package/dist/collection/components/radio/index.js +0 -1
- package/dist/collection/components/radio/model.js +0 -1
- package/dist/collection/components/radio/radio.js +24 -13
- package/dist/collection/components/section/index.js +0 -1
- package/dist/collection/components/section/model.js +0 -1
- package/dist/collection/components/section/section.js +8 -5
- package/dist/collection/components/select/index.js +0 -1
- package/dist/collection/components/select/model.js +0 -1
- package/dist/collection/components/select/select.js +50 -27
- package/dist/collection/components/stack/index.js +0 -1
- package/dist/collection/components/stack/model.js +0 -1
- package/dist/collection/components/stack/stack.js +16 -9
- package/dist/collection/components/switch/index.js +0 -1
- package/dist/collection/components/switch/model.js +0 -1
- package/dist/collection/components/switch/switch.js +48 -27
- package/dist/collection/components/tab-item/index.js +0 -1
- package/dist/collection/components/tab-item/model.js +0 -1
- package/dist/collection/components/tab-item/tab-item.js +31 -18
- package/dist/collection/components/tab-list/index.js +0 -1
- package/dist/collection/components/tab-list/model.js +0 -1
- package/dist/collection/components/tab-list/tab-list.js +4 -3
- package/dist/collection/components/tab-panel/index.js +0 -1
- package/dist/collection/components/tab-panel/model.js +0 -1
- package/dist/collection/components/tab-panel/tab-panel.js +6 -4
- package/dist/collection/components/tabs/index.js +0 -1
- package/dist/collection/components/tabs/model.js +0 -1
- package/dist/collection/components/tabs/tabs.js +22 -12
- package/dist/collection/components/tag/index.js +0 -1
- package/dist/collection/components/tag/model.js +0 -1
- package/dist/collection/components/tag/tag.js +25 -14
- package/dist/collection/components/textarea/index.js +0 -1
- package/dist/collection/components/textarea/model.js +0 -1
- package/dist/collection/components/textarea/textarea.js +67 -35
- package/dist/collection/components/tooltip/index.js +0 -1
- package/dist/collection/components/tooltip/model.js +0 -1
- package/dist/collection/components/tooltip/tooltip.js +18 -10
- package/dist/collection/index.js +0 -1
- package/dist/collection/shared/constants.js +2 -1
- package/dist/collection/shared/examples/index.js +4 -0
- package/dist/collection/shared/model.js +0 -1
- package/dist/collection/utils/document-click-listener.js +0 -1
- package/dist/collection/utils/document-scroll-listener.js +0 -1
- package/dist/collection/utils/floating-components.js +0 -1
- package/dist/collection/utils/form-components.js +0 -1
- package/dist/collection/utils/index.js +18 -1
- package/dist/collection/utils/navigation.js +0 -1
- package/dist/collection/utils/react.js +0 -1
- package/dist/custom-elements.json +1063 -1
- package/dist/db-ux/db-ux.esm.js +1 -2
- package/dist/db-ux/index.esm.js +1 -2
- package/dist/db-ux/p-027fb90a.entry.js +1 -0
- package/dist/db-ux/p-13dd39f1.entry.js +1 -0
- package/dist/db-ux/p-15241486.entry.js +1 -0
- package/dist/db-ux/p-197f90e4.entry.js +1 -0
- package/dist/db-ux/p-2069117e.entry.js +1 -0
- package/dist/db-ux/p-23834011.entry.js +1 -0
- package/dist/db-ux/p-26fa6bc1.entry.js +1 -0
- package/dist/db-ux/p-286f83f4.entry.js +1 -0
- package/dist/db-ux/p-29d3070a.entry.js +1 -0
- package/dist/db-ux/p-29efc51e.entry.js +1 -0
- package/dist/db-ux/p-2baf9c08.entry.js +1 -0
- package/dist/db-ux/p-3622f7e7.entry.js +1 -0
- package/dist/db-ux/p-40ce182c.entry.js +1 -0
- package/dist/db-ux/p-5426dbd3.entry.js +1 -0
- package/dist/db-ux/p-58611dcc.entry.js +1 -0
- package/dist/db-ux/p-5bca6d35.entry.js +1 -0
- package/dist/db-ux/p-623a6b59.entry.js +1 -0
- package/dist/db-ux/p-78f6b72a.entry.js +1 -0
- package/dist/db-ux/p-86414acd.entry.js +1 -0
- package/dist/db-ux/p-9a543d5a.entry.js +1 -0
- package/dist/db-ux/p-9d5365f7.entry.js +1 -0
- package/dist/db-ux/p-9pYJFapZ.js +2 -0
- package/dist/db-ux/p-BdL-nI5y.js +1 -0
- package/dist/db-ux/p-BwBkekqp.js +1 -0
- package/dist/db-ux/p-Cb-k135w.js +1 -0
- package/dist/db-ux/p-DQuL1Twl.js +1 -2
- package/dist/db-ux/p-EqlW5Wqf.js +1 -0
- package/dist/db-ux/p-G-TursYV.js +1 -2
- package/dist/db-ux/p-a1e66a3d.entry.js +1 -0
- package/dist/db-ux/p-a232eea2.entry.js +1 -0
- package/dist/db-ux/p-a7463ead.entry.js +1 -0
- package/dist/db-ux/p-a98bde77.entry.js +1 -0
- package/dist/db-ux/p-af0e61d0.entry.js +1 -0
- package/dist/db-ux/p-b6538eed.entry.js +1 -0
- package/dist/db-ux/p-bde7ff5f.entry.js +1 -0
- package/dist/db-ux/p-c9d514e5.entry.js +1 -0
- package/dist/db-ux/p-cqrM3KjS.js +1 -0
- package/dist/db-ux/p-e30a4814.entry.js +1 -0
- package/dist/db-ux/p-sP2NlPcu.js +1 -2
- package/dist/esm/app-globals-DQuL1Twl.js +0 -3
- package/dist/esm/{constants-DC9V_oNU.js → constants-BdL-nI5y.js} +3 -4
- package/dist/esm/db-accordion-item.entry.js +12 -7
- package/dist/esm/db-accordion.entry.js +29 -12
- package/dist/esm/db-badge.entry.js +9 -6
- package/dist/esm/db-brand.entry.js +3 -4
- package/dist/esm/db-button.entry.js +2 -3
- package/dist/esm/db-card.entry.js +2 -3
- package/dist/esm/db-checkbox.entry.js +30 -11
- package/dist/esm/db-custom-select-dropdown_5.entry.js +27 -14
- package/dist/esm/db-custom-select-form-field.entry.js +2 -3
- package/dist/esm/db-custom-select.entry.js +101 -36
- package/dist/esm/db-divider.entry.js +2 -3
- package/dist/esm/db-drawer.entry.js +15 -8
- package/dist/esm/db-header.entry.js +9 -6
- package/dist/esm/db-icon.entry.js +2 -3
- package/dist/esm/db-infotext.entry.js +2 -3
- package/dist/esm/db-link.entry.js +5 -6
- package/dist/esm/db-navigation-item.entry.js +12 -7
- package/dist/esm/db-navigation.entry.js +3 -4
- package/dist/esm/db-notification.entry.js +3 -4
- package/dist/esm/db-page.entry.js +2 -3
- package/dist/esm/db-popover.entry.js +14 -7
- package/dist/esm/db-radio.entry.js +14 -7
- package/dist/esm/db-section.entry.js +2 -3
- package/dist/esm/db-select.entry.js +21 -10
- package/dist/esm/db-stack.entry.js +2 -3
- package/dist/esm/db-switch.entry.js +28 -13
- package/dist/esm/db-tab-item_3.entry.js +15 -8
- package/dist/esm/db-tabs.entry.js +8 -5
- package/dist/esm/db-textarea.entry.js +18 -9
- package/dist/esm/db-tooltip.entry.js +10 -7
- package/dist/esm/db-ux.js +4 -5
- package/dist/esm/{document-click-listener-D1ZXrKSx.js → document-click-listener-B_LaIr0O.js} +1 -4
- package/dist/esm/{document-scroll-listener-DF6f0ByI.js → document-scroll-listener-dHAsT0Tb.js} +1 -4
- package/dist/esm/floating-components-G-TursYV.js +0 -3
- package/dist/esm/{form-components-DmI6JmyJ.js → form-components-Cl_wgkeJ.js} +1 -4
- package/dist/esm/{index-BMAwJo5Z.js → index-9pYJFapZ.js} +190 -142
- package/dist/esm/{index-DhKljLRG.js → index-BwBkekqp.js} +19 -4
- package/dist/esm/index.js +4 -6
- package/dist/esm/loader.js +3 -4
- package/dist/esm/navigation--UdC9CzO.js +0 -3
- package/dist/types/components/custom-select/custom-select.d.ts +1 -1
- package/dist/types/components/link/link.d.ts +2 -0
- package/dist/types/components.d.ts +4 -0
- package/dist/types/shared/constants.d.ts +2 -0
- package/dist/types/shared/examples/index.d.ts +4 -0
- package/dist/types/shared/model.d.ts +12 -0
- package/dist/types/stencil-public-runtime.d.ts +87 -4
- package/dist/types/utils/index.d.ts +10 -0
- package/dist/vscode.html-custom-data.json +118 -0
- package/dist/web-types.json +176 -0
- package/package.json +10 -9
- package/dist/cjs/app-globals-V2Kpy_OQ.js.map +0 -1
- package/dist/cjs/constants-CTtyzyuo.js.map +0 -1
- package/dist/cjs/db-accordion-item.entry.cjs.js.map +0 -1
- package/dist/cjs/db-accordion.entry.cjs.js.map +0 -1
- package/dist/cjs/db-badge.entry.cjs.js.map +0 -1
- package/dist/cjs/db-brand.entry.cjs.js.map +0 -1
- package/dist/cjs/db-button.entry.cjs.js.map +0 -1
- package/dist/cjs/db-card.entry.cjs.js.map +0 -1
- package/dist/cjs/db-checkbox.entry.cjs.js.map +0 -1
- package/dist/cjs/db-custom-select-dropdown.db-custom-select-list.db-custom-select-list-item.db-input.db-tag.entry.cjs.js.map +0 -1
- package/dist/cjs/db-custom-select-form-field.entry.cjs.js.map +0 -1
- package/dist/cjs/db-custom-select.entry.cjs.js.map +0 -1
- package/dist/cjs/db-divider.entry.cjs.js.map +0 -1
- package/dist/cjs/db-drawer.entry.cjs.js.map +0 -1
- package/dist/cjs/db-header.entry.cjs.js.map +0 -1
- package/dist/cjs/db-icon.entry.cjs.js.map +0 -1
- package/dist/cjs/db-infotext.entry.cjs.js.map +0 -1
- package/dist/cjs/db-link.entry.cjs.js.map +0 -1
- package/dist/cjs/db-navigation-item.entry.cjs.js.map +0 -1
- package/dist/cjs/db-navigation.entry.cjs.js.map +0 -1
- package/dist/cjs/db-notification.entry.cjs.js.map +0 -1
- package/dist/cjs/db-page.entry.cjs.js.map +0 -1
- package/dist/cjs/db-popover.entry.cjs.js.map +0 -1
- package/dist/cjs/db-radio.entry.cjs.js.map +0 -1
- package/dist/cjs/db-section.entry.cjs.js.map +0 -1
- package/dist/cjs/db-select.entry.cjs.js.map +0 -1
- package/dist/cjs/db-stack.entry.cjs.js.map +0 -1
- package/dist/cjs/db-switch.entry.cjs.js.map +0 -1
- package/dist/cjs/db-tab-item.db-tab-list.db-tab-panel.entry.cjs.js.map +0 -1
- package/dist/cjs/db-tabs.entry.cjs.js.map +0 -1
- package/dist/cjs/db-textarea.entry.cjs.js.map +0 -1
- package/dist/cjs/db-tooltip.entry.cjs.js.map +0 -1
- package/dist/cjs/db-ux.cjs.js.map +0 -1
- package/dist/cjs/document-click-listener-DGna8oDJ.js.map +0 -1
- package/dist/cjs/document-scroll-listener-BBXRu9dN.js.map +0 -1
- package/dist/cjs/floating-components-ogUqz72V.js.map +0 -1
- package/dist/cjs/form-components-CPqbzZwG.js.map +0 -1
- package/dist/cjs/index-Bm2Cw2rz.js.map +0 -1
- package/dist/cjs/index-Db5RdCbB.js.map +0 -1
- package/dist/cjs/index.cjs.js.map +0 -1
- package/dist/cjs/loader.cjs.js.map +0 -1
- package/dist/cjs/navigation-DauGE-qj.js.map +0 -1
- package/dist/collection/components/accordion/accordion.js.map +0 -1
- package/dist/collection/components/accordion/index.js.map +0 -1
- package/dist/collection/components/accordion/model.js.map +0 -1
- package/dist/collection/components/accordion-item/accordion-item.js.map +0 -1
- package/dist/collection/components/accordion-item/index.js.map +0 -1
- package/dist/collection/components/accordion-item/model.js.map +0 -1
- package/dist/collection/components/badge/badge.js.map +0 -1
- package/dist/collection/components/badge/index.js.map +0 -1
- package/dist/collection/components/badge/model.js.map +0 -1
- package/dist/collection/components/brand/brand.js.map +0 -1
- package/dist/collection/components/brand/index.js.map +0 -1
- package/dist/collection/components/brand/model.js.map +0 -1
- package/dist/collection/components/button/button.js.map +0 -1
- package/dist/collection/components/button/index.js.map +0 -1
- package/dist/collection/components/button/model.js.map +0 -1
- package/dist/collection/components/card/card.js.map +0 -1
- package/dist/collection/components/card/index.js.map +0 -1
- package/dist/collection/components/card/model.js.map +0 -1
- package/dist/collection/components/checkbox/checkbox.js.map +0 -1
- package/dist/collection/components/checkbox/index.js.map +0 -1
- package/dist/collection/components/checkbox/model.js.map +0 -1
- package/dist/collection/components/custom-select/custom-select.js.map +0 -1
- package/dist/collection/components/custom-select/index.js.map +0 -1
- package/dist/collection/components/custom-select/model.js.map +0 -1
- package/dist/collection/components/custom-select-dropdown/custom-select-dropdown.js.map +0 -1
- package/dist/collection/components/custom-select-dropdown/index.js.map +0 -1
- package/dist/collection/components/custom-select-dropdown/model.js.map +0 -1
- package/dist/collection/components/custom-select-form-field/custom-select-form-field.js.map +0 -1
- package/dist/collection/components/custom-select-form-field/index.js.map +0 -1
- package/dist/collection/components/custom-select-form-field/model.js.map +0 -1
- package/dist/collection/components/custom-select-list/custom-select-list.js.map +0 -1
- package/dist/collection/components/custom-select-list/index.js.map +0 -1
- package/dist/collection/components/custom-select-list/model.js.map +0 -1
- package/dist/collection/components/custom-select-list-item/custom-select-list-item.js.map +0 -1
- package/dist/collection/components/custom-select-list-item/index.js.map +0 -1
- package/dist/collection/components/custom-select-list-item/model.js.map +0 -1
- package/dist/collection/components/divider/divider.js.map +0 -1
- package/dist/collection/components/divider/index.js.map +0 -1
- package/dist/collection/components/divider/model.js.map +0 -1
- package/dist/collection/components/drawer/drawer.js.map +0 -1
- package/dist/collection/components/drawer/index.js.map +0 -1
- package/dist/collection/components/drawer/model.js.map +0 -1
- package/dist/collection/components/header/header.js.map +0 -1
- package/dist/collection/components/header/index.js.map +0 -1
- package/dist/collection/components/header/model.js.map +0 -1
- package/dist/collection/components/icon/icon.js.map +0 -1
- package/dist/collection/components/icon/index.js.map +0 -1
- package/dist/collection/components/icon/model.js.map +0 -1
- package/dist/collection/components/infotext/index.js.map +0 -1
- package/dist/collection/components/infotext/infotext.js.map +0 -1
- package/dist/collection/components/infotext/model.js.map +0 -1
- package/dist/collection/components/input/index.js.map +0 -1
- package/dist/collection/components/input/input.js.map +0 -1
- package/dist/collection/components/input/model.js.map +0 -1
- package/dist/collection/components/link/index.js.map +0 -1
- package/dist/collection/components/link/link.js.map +0 -1
- package/dist/collection/components/link/model.js.map +0 -1
- package/dist/collection/components/navigation/index.js.map +0 -1
- package/dist/collection/components/navigation/model.js.map +0 -1
- package/dist/collection/components/navigation/navigation.js.map +0 -1
- package/dist/collection/components/navigation-item/index.js.map +0 -1
- package/dist/collection/components/navigation-item/model.js.map +0 -1
- package/dist/collection/components/navigation-item/navigation-item.js.map +0 -1
- package/dist/collection/components/notification/index.js.map +0 -1
- package/dist/collection/components/notification/model.js.map +0 -1
- package/dist/collection/components/notification/notification.js.map +0 -1
- package/dist/collection/components/page/index.js.map +0 -1
- package/dist/collection/components/page/model.js.map +0 -1
- package/dist/collection/components/page/page.js.map +0 -1
- package/dist/collection/components/popover/index.js.map +0 -1
- package/dist/collection/components/popover/model.js.map +0 -1
- package/dist/collection/components/popover/popover.js.map +0 -1
- package/dist/collection/components/radio/index.js.map +0 -1
- package/dist/collection/components/radio/model.js.map +0 -1
- package/dist/collection/components/radio/radio.js.map +0 -1
- package/dist/collection/components/section/index.js.map +0 -1
- package/dist/collection/components/section/model.js.map +0 -1
- package/dist/collection/components/section/section.js.map +0 -1
- package/dist/collection/components/select/index.js.map +0 -1
- package/dist/collection/components/select/model.js.map +0 -1
- package/dist/collection/components/select/select.js.map +0 -1
- package/dist/collection/components/stack/index.js.map +0 -1
- package/dist/collection/components/stack/model.js.map +0 -1
- package/dist/collection/components/stack/stack.js.map +0 -1
- package/dist/collection/components/switch/index.js.map +0 -1
- package/dist/collection/components/switch/model.js.map +0 -1
- package/dist/collection/components/switch/switch.js.map +0 -1
- package/dist/collection/components/tab-item/index.js.map +0 -1
- package/dist/collection/components/tab-item/model.js.map +0 -1
- package/dist/collection/components/tab-item/tab-item.js.map +0 -1
- package/dist/collection/components/tab-list/index.js.map +0 -1
- package/dist/collection/components/tab-list/model.js.map +0 -1
- package/dist/collection/components/tab-list/tab-list.js.map +0 -1
- package/dist/collection/components/tab-panel/index.js.map +0 -1
- package/dist/collection/components/tab-panel/model.js.map +0 -1
- package/dist/collection/components/tab-panel/tab-panel.js.map +0 -1
- package/dist/collection/components/tabs/index.js.map +0 -1
- package/dist/collection/components/tabs/model.js.map +0 -1
- package/dist/collection/components/tabs/tabs.js.map +0 -1
- package/dist/collection/components/tag/index.js.map +0 -1
- package/dist/collection/components/tag/model.js.map +0 -1
- package/dist/collection/components/tag/tag.js.map +0 -1
- package/dist/collection/components/textarea/index.js.map +0 -1
- package/dist/collection/components/textarea/model.js.map +0 -1
- package/dist/collection/components/textarea/textarea.js.map +0 -1
- package/dist/collection/components/tooltip/index.js.map +0 -1
- package/dist/collection/components/tooltip/model.js.map +0 -1
- package/dist/collection/components/tooltip/tooltip.js.map +0 -1
- package/dist/collection/index.js.map +0 -1
- package/dist/collection/shared/constants.js.map +0 -1
- package/dist/collection/shared/model.js.map +0 -1
- package/dist/collection/utils/document-click-listener.js.map +0 -1
- package/dist/collection/utils/document-scroll-listener.js.map +0 -1
- package/dist/collection/utils/floating-components.js.map +0 -1
- package/dist/collection/utils/form-components.js.map +0 -1
- package/dist/collection/utils/index.js.map +0 -1
- package/dist/collection/utils/navigation.js.map +0 -1
- package/dist/collection/utils/react.js.map +0 -1
- package/dist/db-ux/db-accordion-item.entry.esm.js.map +0 -1
- package/dist/db-ux/db-accordion.entry.esm.js.map +0 -1
- package/dist/db-ux/db-badge.entry.esm.js.map +0 -1
- package/dist/db-ux/db-brand.entry.esm.js.map +0 -1
- package/dist/db-ux/db-button.entry.esm.js.map +0 -1
- package/dist/db-ux/db-card.entry.esm.js.map +0 -1
- package/dist/db-ux/db-checkbox.entry.esm.js.map +0 -1
- package/dist/db-ux/db-custom-select-dropdown.db-custom-select-list.db-custom-select-list-item.db-input.db-tag.entry.esm.js.map +0 -1
- package/dist/db-ux/db-custom-select-form-field.entry.esm.js.map +0 -1
- package/dist/db-ux/db-custom-select.entry.esm.js.map +0 -1
- package/dist/db-ux/db-divider.entry.esm.js.map +0 -1
- package/dist/db-ux/db-drawer.entry.esm.js.map +0 -1
- package/dist/db-ux/db-header.entry.esm.js.map +0 -1
- package/dist/db-ux/db-icon.entry.esm.js.map +0 -1
- package/dist/db-ux/db-infotext.entry.esm.js.map +0 -1
- package/dist/db-ux/db-link.entry.esm.js.map +0 -1
- package/dist/db-ux/db-navigation-item.entry.esm.js.map +0 -1
- package/dist/db-ux/db-navigation.entry.esm.js.map +0 -1
- package/dist/db-ux/db-notification.entry.esm.js.map +0 -1
- package/dist/db-ux/db-page.entry.esm.js.map +0 -1
- package/dist/db-ux/db-popover.entry.esm.js.map +0 -1
- package/dist/db-ux/db-radio.entry.esm.js.map +0 -1
- package/dist/db-ux/db-section.entry.esm.js.map +0 -1
- package/dist/db-ux/db-select.entry.esm.js.map +0 -1
- package/dist/db-ux/db-stack.entry.esm.js.map +0 -1
- package/dist/db-ux/db-switch.entry.esm.js.map +0 -1
- package/dist/db-ux/db-tab-item.db-tab-list.db-tab-panel.entry.esm.js.map +0 -1
- package/dist/db-ux/db-tabs.entry.esm.js.map +0 -1
- package/dist/db-ux/db-textarea.entry.esm.js.map +0 -1
- package/dist/db-ux/db-tooltip.entry.esm.js.map +0 -1
- package/dist/db-ux/db-ux.esm.js.map +0 -1
- package/dist/db-ux/index.esm.js.map +0 -1
- package/dist/db-ux/loader.esm.js.map +0 -1
- package/dist/db-ux/p-129cbaa9.entry.js +0 -2
- package/dist/db-ux/p-129cbaa9.entry.js.map +0 -1
- package/dist/db-ux/p-162c989a.entry.js +0 -2
- package/dist/db-ux/p-162c989a.entry.js.map +0 -1
- package/dist/db-ux/p-18f10b76.entry.js +0 -2
- package/dist/db-ux/p-18f10b76.entry.js.map +0 -1
- package/dist/db-ux/p-1dcb2a08.entry.js +0 -2
- package/dist/db-ux/p-1dcb2a08.entry.js.map +0 -1
- package/dist/db-ux/p-2addb72d.entry.js +0 -2
- package/dist/db-ux/p-2addb72d.entry.js.map +0 -1
- package/dist/db-ux/p-2f6afcbc.entry.js +0 -2
- package/dist/db-ux/p-2f6afcbc.entry.js.map +0 -1
- package/dist/db-ux/p-35bb2b0a.entry.js +0 -2
- package/dist/db-ux/p-35bb2b0a.entry.js.map +0 -1
- package/dist/db-ux/p-4318a6c7.entry.js +0 -2
- package/dist/db-ux/p-4318a6c7.entry.js.map +0 -1
- package/dist/db-ux/p-45562afc.entry.js +0 -2
- package/dist/db-ux/p-45562afc.entry.js.map +0 -1
- package/dist/db-ux/p-49b9ab25.entry.js +0 -2
- package/dist/db-ux/p-49b9ab25.entry.js.map +0 -1
- package/dist/db-ux/p-4c944f45.entry.js +0 -2
- package/dist/db-ux/p-4c944f45.entry.js.map +0 -1
- package/dist/db-ux/p-4ff5ddf2.entry.js +0 -2
- package/dist/db-ux/p-4ff5ddf2.entry.js.map +0 -1
- package/dist/db-ux/p-5b15eef1.entry.js +0 -2
- package/dist/db-ux/p-5b15eef1.entry.js.map +0 -1
- package/dist/db-ux/p-68c1dd8d.entry.js +0 -2
- package/dist/db-ux/p-68c1dd8d.entry.js.map +0 -1
- package/dist/db-ux/p-78f062f6.entry.js +0 -2
- package/dist/db-ux/p-78f062f6.entry.js.map +0 -1
- package/dist/db-ux/p-7c0eefb1.entry.js +0 -2
- package/dist/db-ux/p-7c0eefb1.entry.js.map +0 -1
- package/dist/db-ux/p-7c46fd6c.entry.js +0 -2
- package/dist/db-ux/p-7c46fd6c.entry.js.map +0 -1
- package/dist/db-ux/p-7f894c65.entry.js +0 -2
- package/dist/db-ux/p-7f894c65.entry.js.map +0 -1
- package/dist/db-ux/p-84ab3984.entry.js +0 -2
- package/dist/db-ux/p-84ab3984.entry.js.map +0 -1
- package/dist/db-ux/p-89e04100.entry.js +0 -2
- package/dist/db-ux/p-89e04100.entry.js.map +0 -1
- package/dist/db-ux/p-BMAwJo5Z.js +0 -3
- package/dist/db-ux/p-BMAwJo5Z.js.map +0 -1
- package/dist/db-ux/p-BMfF_eQJ.js +0 -2
- package/dist/db-ux/p-BMfF_eQJ.js.map +0 -1
- package/dist/db-ux/p-BX4jNwUm.js +0 -2
- package/dist/db-ux/p-BX4jNwUm.js.map +0 -1
- package/dist/db-ux/p-CdVqfu2Z.js +0 -2
- package/dist/db-ux/p-CdVqfu2Z.js.map +0 -1
- package/dist/db-ux/p-DC9V_oNU.js +0 -2
- package/dist/db-ux/p-DC9V_oNU.js.map +0 -1
- package/dist/db-ux/p-DQuL1Twl.js.map +0 -1
- package/dist/db-ux/p-DhKljLRG.js +0 -2
- package/dist/db-ux/p-DhKljLRG.js.map +0 -1
- package/dist/db-ux/p-G-TursYV.js.map +0 -1
- package/dist/db-ux/p-baeda9f2.entry.js +0 -2
- package/dist/db-ux/p-baeda9f2.entry.js.map +0 -1
- package/dist/db-ux/p-bc6b636e.entry.js +0 -2
- package/dist/db-ux/p-bc6b636e.entry.js.map +0 -1
- package/dist/db-ux/p-c7bb7bea.entry.js +0 -2
- package/dist/db-ux/p-c7bb7bea.entry.js.map +0 -1
- package/dist/db-ux/p-d1b7a69c.entry.js +0 -2
- package/dist/db-ux/p-d1b7a69c.entry.js.map +0 -1
- package/dist/db-ux/p-d2e189a4.entry.js +0 -2
- package/dist/db-ux/p-d2e189a4.entry.js.map +0 -1
- package/dist/db-ux/p-d9c43ba7.entry.js +0 -2
- package/dist/db-ux/p-d9c43ba7.entry.js.map +0 -1
- package/dist/db-ux/p-e46f112c.entry.js +0 -2
- package/dist/db-ux/p-e46f112c.entry.js.map +0 -1
- package/dist/db-ux/p-e470d0a2.entry.js +0 -2
- package/dist/db-ux/p-e470d0a2.entry.js.map +0 -1
- package/dist/db-ux/p-f7c1e940.entry.js +0 -2
- package/dist/db-ux/p-f7c1e940.entry.js.map +0 -1
- package/dist/db-ux/p-fedb9696.entry.js +0 -2
- package/dist/db-ux/p-fedb9696.entry.js.map +0 -1
- package/dist/db-ux/p-sP2NlPcu.js.map +0 -1
- package/dist/esm/app-globals-DQuL1Twl.js.map +0 -1
- package/dist/esm/constants-DC9V_oNU.js.map +0 -1
- package/dist/esm/db-accordion-item.entry.js.map +0 -1
- package/dist/esm/db-accordion.entry.js.map +0 -1
- package/dist/esm/db-badge.entry.js.map +0 -1
- package/dist/esm/db-brand.entry.js.map +0 -1
- package/dist/esm/db-button.entry.js.map +0 -1
- package/dist/esm/db-card.entry.js.map +0 -1
- package/dist/esm/db-checkbox.entry.js.map +0 -1
- package/dist/esm/db-custom-select-dropdown.db-custom-select-list.db-custom-select-list-item.db-input.db-tag.entry.js.map +0 -1
- package/dist/esm/db-custom-select-form-field.entry.js.map +0 -1
- package/dist/esm/db-custom-select.entry.js.map +0 -1
- package/dist/esm/db-divider.entry.js.map +0 -1
- package/dist/esm/db-drawer.entry.js.map +0 -1
- package/dist/esm/db-header.entry.js.map +0 -1
- package/dist/esm/db-icon.entry.js.map +0 -1
- package/dist/esm/db-infotext.entry.js.map +0 -1
- package/dist/esm/db-link.entry.js.map +0 -1
- package/dist/esm/db-navigation-item.entry.js.map +0 -1
- package/dist/esm/db-navigation.entry.js.map +0 -1
- package/dist/esm/db-notification.entry.js.map +0 -1
- package/dist/esm/db-page.entry.js.map +0 -1
- package/dist/esm/db-popover.entry.js.map +0 -1
- package/dist/esm/db-radio.entry.js.map +0 -1
- package/dist/esm/db-section.entry.js.map +0 -1
- package/dist/esm/db-select.entry.js.map +0 -1
- package/dist/esm/db-stack.entry.js.map +0 -1
- package/dist/esm/db-switch.entry.js.map +0 -1
- package/dist/esm/db-tab-item.db-tab-list.db-tab-panel.entry.js.map +0 -1
- package/dist/esm/db-tabs.entry.js.map +0 -1
- package/dist/esm/db-textarea.entry.js.map +0 -1
- package/dist/esm/db-tooltip.entry.js.map +0 -1
- package/dist/esm/db-ux.js.map +0 -1
- package/dist/esm/document-click-listener-D1ZXrKSx.js.map +0 -1
- package/dist/esm/document-scroll-listener-DF6f0ByI.js.map +0 -1
- package/dist/esm/floating-components-G-TursYV.js.map +0 -1
- package/dist/esm/form-components-DmI6JmyJ.js.map +0 -1
- package/dist/esm/index-BMAwJo5Z.js.map +0 -1
- package/dist/esm/index-DhKljLRG.js.map +0 -1
- package/dist/esm/index.js.map +0 -1
- package/dist/esm/loader.js.map +0 -1
- package/dist/esm/navigation--UdC9CzO.js.map +0 -1
|
@@ -4,13 +4,9 @@ const NAMESPACE = 'db-ux';
|
|
|
4
4
|
const BUILD = /* db-ux */ { hydratedSelectorName: "hydrated", lazyLoad: true, propChangeCallback: true, shadowDom: false, slotRelocation: true, state: true, updatable: true};
|
|
5
5
|
|
|
6
6
|
/*
|
|
7
|
-
Stencil Client Platform v4.
|
|
7
|
+
Stencil Client Platform v4.41.2 | MIT Licensed | https://stenciljs.com
|
|
8
8
|
*/
|
|
9
|
-
|
|
10
|
-
var __export = (target, all) => {
|
|
11
|
-
for (var name in all)
|
|
12
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
13
|
-
};
|
|
9
|
+
|
|
14
10
|
var reWireGetterSetter = (instance, hostRef) => {
|
|
15
11
|
var _a;
|
|
16
12
|
const cmpMeta = hostRef.$cmpMeta$;
|
|
@@ -162,70 +158,6 @@ var flush = () => {
|
|
|
162
158
|
};
|
|
163
159
|
var nextTick = (cb) => promiseResolve().then(cb);
|
|
164
160
|
var writeTask = /* @__PURE__ */ queueTask(queueDomWrites, true);
|
|
165
|
-
var isComplexType = (o) => {
|
|
166
|
-
o = typeof o;
|
|
167
|
-
return o === "object" || o === "function";
|
|
168
|
-
};
|
|
169
|
-
|
|
170
|
-
// src/utils/query-nonce-meta-tag-content.ts
|
|
171
|
-
function queryNonceMetaTagContent(doc) {
|
|
172
|
-
var _a, _b, _c;
|
|
173
|
-
return (_c = (_b = (_a = doc.head) == null ? void 0 : _a.querySelector('meta[name="csp-nonce"]')) == null ? void 0 : _b.getAttribute("content")) != null ? _c : void 0;
|
|
174
|
-
}
|
|
175
|
-
|
|
176
|
-
// src/utils/regular-expression.ts
|
|
177
|
-
var escapeRegExpSpecialCharacters = (text) => {
|
|
178
|
-
return text.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
|
|
179
|
-
};
|
|
180
|
-
|
|
181
|
-
// src/utils/result.ts
|
|
182
|
-
var result_exports = {};
|
|
183
|
-
__export(result_exports, {
|
|
184
|
-
err: () => err,
|
|
185
|
-
map: () => map,
|
|
186
|
-
ok: () => ok,
|
|
187
|
-
unwrap: () => unwrap,
|
|
188
|
-
unwrapErr: () => unwrapErr
|
|
189
|
-
});
|
|
190
|
-
var ok = (value) => ({
|
|
191
|
-
isOk: true,
|
|
192
|
-
isErr: false,
|
|
193
|
-
value
|
|
194
|
-
});
|
|
195
|
-
var err = (value) => ({
|
|
196
|
-
isOk: false,
|
|
197
|
-
isErr: true,
|
|
198
|
-
value
|
|
199
|
-
});
|
|
200
|
-
function map(result, fn) {
|
|
201
|
-
if (result.isOk) {
|
|
202
|
-
const val = fn(result.value);
|
|
203
|
-
if (val instanceof Promise) {
|
|
204
|
-
return val.then((newVal) => ok(newVal));
|
|
205
|
-
} else {
|
|
206
|
-
return ok(val);
|
|
207
|
-
}
|
|
208
|
-
}
|
|
209
|
-
if (result.isErr) {
|
|
210
|
-
const value = result.value;
|
|
211
|
-
return err(value);
|
|
212
|
-
}
|
|
213
|
-
throw "should never get here";
|
|
214
|
-
}
|
|
215
|
-
var unwrap = (result) => {
|
|
216
|
-
if (result.isOk) {
|
|
217
|
-
return result.value;
|
|
218
|
-
} else {
|
|
219
|
-
throw result.value;
|
|
220
|
-
}
|
|
221
|
-
};
|
|
222
|
-
var unwrapErr = (result) => {
|
|
223
|
-
if (result.isErr) {
|
|
224
|
-
return result.value;
|
|
225
|
-
} else {
|
|
226
|
-
throw result.value;
|
|
227
|
-
}
|
|
228
|
-
};
|
|
229
161
|
var updateFallbackSlotVisibility = (elm) => {
|
|
230
162
|
const childNodes = internalCall(elm, "childNodes");
|
|
231
163
|
if (elm.tagName && elm.tagName.includes("-") && elm["s-cr"] && elm.tagName !== "SLOT-FB") {
|
|
@@ -263,8 +195,9 @@ function getHostSlotNodes(childNodes, hostName, slotName) {
|
|
|
263
195
|
let childNode;
|
|
264
196
|
for (; i2 < childNodes.length; i2++) {
|
|
265
197
|
childNode = childNodes[i2];
|
|
266
|
-
if (childNode["s-sr"] && (!hostName || childNode["s-hn"] === hostName) && (slotName === void 0)) {
|
|
198
|
+
if (childNode["s-sr"] && (!hostName || childNode["s-hn"] === hostName) && (slotName === void 0 || getSlotName(childNode) === slotName)) {
|
|
267
199
|
slottedNodes.push(childNode);
|
|
200
|
+
if (typeof slotName !== "undefined") return slottedNodes;
|
|
268
201
|
}
|
|
269
202
|
slottedNodes = [...slottedNodes, ...getHostSlotNodes(childNode.childNodes, hostName, slotName)];
|
|
270
203
|
}
|
|
@@ -322,6 +255,18 @@ function patchSlotNode(node) {
|
|
|
322
255
|
node.assignedElements = assignedFactory(true);
|
|
323
256
|
node.assignedNodes = assignedFactory(false);
|
|
324
257
|
}
|
|
258
|
+
function dispatchSlotChangeEvent(elm) {
|
|
259
|
+
elm.dispatchEvent(new CustomEvent("slotchange", { bubbles: false, cancelable: false, composed: false }));
|
|
260
|
+
}
|
|
261
|
+
function findSlotFromSlottedNode(slottedNode, parentHost) {
|
|
262
|
+
var _a;
|
|
263
|
+
parentHost = parentHost || ((_a = slottedNode["s-ol"]) == null ? void 0 : _a.parentElement);
|
|
264
|
+
if (!parentHost) return { slotNode: null, slotName: "" };
|
|
265
|
+
const slotName = slottedNode["s-sn"] = getSlotName(slottedNode) || "";
|
|
266
|
+
const childNodes = internalCall(parentHost, "childNodes");
|
|
267
|
+
const slotNode = getHostSlotNodes(childNodes, parentHost.tagName, slotName)[0];
|
|
268
|
+
return { slotNode, slotName };
|
|
269
|
+
}
|
|
325
270
|
function internalCall(node, method) {
|
|
326
271
|
if ("__" + method in node) {
|
|
327
272
|
const toReturn = node["__" + method];
|
|
@@ -346,8 +291,25 @@ var uniqueTime = (key, measureText) => {
|
|
|
346
291
|
};
|
|
347
292
|
}
|
|
348
293
|
};
|
|
294
|
+
|
|
295
|
+
// src/utils/query-nonce-meta-tag-content.ts
|
|
296
|
+
function queryNonceMetaTagContent(doc) {
|
|
297
|
+
var _a, _b, _c;
|
|
298
|
+
return (_c = (_b = (_a = doc.head) == null ? void 0 : _a.querySelector('meta[name="csp-nonce"]')) == null ? void 0 : _b.getAttribute("content")) != null ? _c : void 0;
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
// src/runtime/styles.ts
|
|
349
302
|
var rootAppliedStyles = /* @__PURE__ */ new WeakMap();
|
|
303
|
+
var isComplexType = (o) => {
|
|
304
|
+
o = typeof o;
|
|
305
|
+
return o === "object" || o === "function";
|
|
306
|
+
};
|
|
307
|
+
|
|
308
|
+
// src/runtime/vdom/h.ts
|
|
350
309
|
var h = (nodeName, vnodeData, ...children) => {
|
|
310
|
+
if (typeof nodeName === "string") {
|
|
311
|
+
nodeName = transformTag(nodeName);
|
|
312
|
+
}
|
|
351
313
|
let child = null;
|
|
352
314
|
let key = null;
|
|
353
315
|
let slotName = null;
|
|
@@ -411,7 +373,8 @@ var newVNode = (tag, text) => {
|
|
|
411
373
|
const vnode = {
|
|
412
374
|
$flags$: 0,
|
|
413
375
|
$tag$: tag,
|
|
414
|
-
|
|
376
|
+
// Normalize undefined to null to prevent rendering "undefined" as text
|
|
377
|
+
$text$: text != null ? text : null,
|
|
415
378
|
$elm$: null,
|
|
416
379
|
$children$: null
|
|
417
380
|
};
|
|
@@ -458,18 +421,8 @@ var convertToPrivate = (node) => {
|
|
|
458
421
|
vnode.$name$ = node.vname;
|
|
459
422
|
return vnode;
|
|
460
423
|
};
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
return new RegExp(
|
|
464
|
-
// First capture group: match any context before the selector that's not inside @supports selector()
|
|
465
|
-
// Using negative lookahead to avoid matching inside @supports selector(...) condition
|
|
466
|
-
`(^|[^@]|@(?!supports\\s+selector\\s*\\([^{]*?${safeSelector2}))(${safeSelector2}\\b)`,
|
|
467
|
-
"g"
|
|
468
|
-
);
|
|
469
|
-
};
|
|
470
|
-
createSupportsRuleRe("::slotted");
|
|
471
|
-
createSupportsRuleRe(":host");
|
|
472
|
-
createSupportsRuleRe(":host-context");
|
|
424
|
+
|
|
425
|
+
// src/runtime/parse-property-value.ts
|
|
473
426
|
var parsePropertyValue = (propValue, propType, isFormAssociated) => {
|
|
474
427
|
if (propValue != null && !isComplexType(propValue)) {
|
|
475
428
|
if (propType & 4 /* Boolean */) {
|
|
@@ -660,7 +613,7 @@ var createElm = (oldParentVNode, newParentVNode, childIndex) => {
|
|
|
660
613
|
);
|
|
661
614
|
}
|
|
662
615
|
}
|
|
663
|
-
if (newVNode2.$text$
|
|
616
|
+
if (newVNode2.$text$ != null) {
|
|
664
617
|
elm = newVNode2.$elm$ = win.document.createTextNode(newVNode2.$text$);
|
|
665
618
|
} else if (newVNode2.$flags$ & 1 /* isSlotReference */) {
|
|
666
619
|
elm = newVNode2.$elm$ = win.document.createTextNode("");
|
|
@@ -669,9 +622,7 @@ var createElm = (oldParentVNode, newParentVNode, childIndex) => {
|
|
|
669
622
|
}
|
|
670
623
|
} else {
|
|
671
624
|
if (!win.document) {
|
|
672
|
-
throw new Error(
|
|
673
|
-
"You are trying to render a Stencil component in an environment that doesn't support the DOM. Make sure to populate the [`window`](https://developer.mozilla.org/en-US/docs/Web/API/Window/window) object before rendering a component."
|
|
674
|
-
);
|
|
625
|
+
throw new Error("You are trying to render a Stencil component in an environment that doesn't support the DOM.");
|
|
675
626
|
}
|
|
676
627
|
elm = newVNode2.$elm$ = win.document.createElement(
|
|
677
628
|
!useNativeShadowDom && BUILD.slotRelocation && newVNode2.$flags$ & 2 /* isSlotFallback */ ? "slot-fb" : newVNode2.$tag$
|
|
@@ -680,10 +631,11 @@ var createElm = (oldParentVNode, newParentVNode, childIndex) => {
|
|
|
680
631
|
updateElement(null, newVNode2, isSvgMode);
|
|
681
632
|
}
|
|
682
633
|
if (newVNode2.$children$) {
|
|
634
|
+
const appendTarget = newVNode2.$tag$ === "template" ? elm.content : elm;
|
|
683
635
|
for (i2 = 0; i2 < newVNode2.$children$.length; ++i2) {
|
|
684
636
|
childNode = createElm(oldParentVNode, newVNode2, i2);
|
|
685
637
|
if (childNode) {
|
|
686
|
-
|
|
638
|
+
appendTarget.appendChild(childNode);
|
|
687
639
|
}
|
|
688
640
|
}
|
|
689
641
|
}
|
|
@@ -698,17 +650,43 @@ var createElm = (oldParentVNode, newParentVNode, childIndex) => {
|
|
|
698
650
|
patchSlotNode(elm);
|
|
699
651
|
oldVNode = oldParentVNode && oldParentVNode.$children$ && oldParentVNode.$children$[childIndex];
|
|
700
652
|
if (oldVNode && oldVNode.$tag$ === newVNode2.$tag$ && oldParentVNode.$elm$) {
|
|
701
|
-
|
|
702
|
-
putBackInOriginalLocation(oldParentVNode.$elm$, false);
|
|
703
|
-
}
|
|
653
|
+
relocateToHostRoot(oldParentVNode.$elm$);
|
|
704
654
|
}
|
|
705
655
|
}
|
|
706
656
|
}
|
|
707
657
|
return elm;
|
|
708
658
|
};
|
|
659
|
+
var relocateToHostRoot = (parentElm) => {
|
|
660
|
+
plt.$flags$ |= 1 /* isTmpDisconnected */;
|
|
661
|
+
const host = parentElm.closest(hostTagName.toLowerCase());
|
|
662
|
+
if (host != null) {
|
|
663
|
+
const contentRefNode = Array.from(host.__childNodes || host.childNodes).find(
|
|
664
|
+
(ref) => ref["s-cr"]
|
|
665
|
+
);
|
|
666
|
+
const childNodeArray = Array.from(
|
|
667
|
+
parentElm.__childNodes || parentElm.childNodes
|
|
668
|
+
);
|
|
669
|
+
for (const childNode of contentRefNode ? childNodeArray.reverse() : childNodeArray) {
|
|
670
|
+
if (childNode["s-sh"] != null) {
|
|
671
|
+
insertBefore(host, childNode, contentRefNode != null ? contentRefNode : null);
|
|
672
|
+
childNode["s-sh"] = void 0;
|
|
673
|
+
checkSlotRelocate = true;
|
|
674
|
+
}
|
|
675
|
+
}
|
|
676
|
+
}
|
|
677
|
+
plt.$flags$ &= -2 /* isTmpDisconnected */;
|
|
678
|
+
};
|
|
709
679
|
var putBackInOriginalLocation = (parentElm, recursive) => {
|
|
710
680
|
plt.$flags$ |= 1 /* isTmpDisconnected */;
|
|
711
681
|
const oldSlotChildNodes = Array.from(parentElm.__childNodes || parentElm.childNodes);
|
|
682
|
+
if (parentElm["s-sr"]) {
|
|
683
|
+
let node = parentElm;
|
|
684
|
+
while (node = node.nextSibling) {
|
|
685
|
+
if (node && node["s-sn"] === parentElm["s-sn"] && node["s-sh"] === hostTagName) {
|
|
686
|
+
oldSlotChildNodes.push(node);
|
|
687
|
+
}
|
|
688
|
+
}
|
|
689
|
+
}
|
|
712
690
|
for (let i2 = oldSlotChildNodes.length - 1; i2 >= 0; i2--) {
|
|
713
691
|
const childNode = oldSlotChildNodes[i2];
|
|
714
692
|
if (childNode["s-hn"] !== hostTagName && childNode["s-ol"]) {
|
|
@@ -727,6 +705,9 @@ var putBackInOriginalLocation = (parentElm, recursive) => {
|
|
|
727
705
|
var addVnodes = (parentElm, before, parentVNode, vnodes, startIdx, endIdx) => {
|
|
728
706
|
let containerElm = parentElm["s-cr"] && parentElm["s-cr"].parentNode || parentElm;
|
|
729
707
|
let childNode;
|
|
708
|
+
if (parentVNode.$tag$ === "template") {
|
|
709
|
+
containerElm = containerElm.content;
|
|
710
|
+
}
|
|
730
711
|
for (; startIdx <= endIdx; ++startIdx) {
|
|
731
712
|
if (vnodes[startIdx]) {
|
|
732
713
|
childNode = createElm(null, parentVNode, startIdx);
|
|
@@ -770,6 +751,7 @@ var updateChildren = (parentElm, oldCh, newVNode2, newCh, isInitialRender = fals
|
|
|
770
751
|
let newEndVnode = newCh[newEndIdx];
|
|
771
752
|
let node;
|
|
772
753
|
let elmToMove;
|
|
754
|
+
const containerElm = newVNode2.$tag$ === "template" ? parentElm.content : parentElm;
|
|
773
755
|
while (oldStartIdx <= oldEndIdx && newStartIdx <= newEndIdx) {
|
|
774
756
|
if (oldStartVnode == null) {
|
|
775
757
|
oldStartVnode = oldCh[++oldStartIdx];
|
|
@@ -792,7 +774,7 @@ var updateChildren = (parentElm, oldCh, newVNode2, newCh, isInitialRender = fals
|
|
|
792
774
|
putBackInOriginalLocation(oldStartVnode.$elm$.parentNode, false);
|
|
793
775
|
}
|
|
794
776
|
patch(oldStartVnode, newEndVnode, isInitialRender);
|
|
795
|
-
insertBefore(
|
|
777
|
+
insertBefore(containerElm, oldStartVnode.$elm$, oldEndVnode.$elm$.nextSibling);
|
|
796
778
|
oldStartVnode = oldCh[++oldStartIdx];
|
|
797
779
|
newEndVnode = newCh[--newEndIdx];
|
|
798
780
|
} else if (isSameVnode(oldEndVnode, newStartVnode, isInitialRender)) {
|
|
@@ -800,7 +782,7 @@ var updateChildren = (parentElm, oldCh, newVNode2, newCh, isInitialRender = fals
|
|
|
800
782
|
putBackInOriginalLocation(oldEndVnode.$elm$.parentNode, false);
|
|
801
783
|
}
|
|
802
784
|
patch(oldEndVnode, newStartVnode, isInitialRender);
|
|
803
|
-
insertBefore(
|
|
785
|
+
insertBefore(containerElm, oldEndVnode.$elm$, oldStartVnode.$elm$);
|
|
804
786
|
oldEndVnode = oldCh[--oldEndIdx];
|
|
805
787
|
newStartVnode = newCh[++newStartIdx];
|
|
806
788
|
} else {
|
|
@@ -871,10 +853,17 @@ var patch = (oldVNode, newVNode2, isInitialRender = false) => {
|
|
|
871
853
|
const elm = newVNode2.$elm$ = oldVNode.$elm$;
|
|
872
854
|
const oldChildren = oldVNode.$children$;
|
|
873
855
|
const newChildren = newVNode2.$children$;
|
|
856
|
+
const tag = newVNode2.$tag$;
|
|
874
857
|
const text = newVNode2.$text$;
|
|
875
858
|
let defaultHolder;
|
|
876
|
-
if (text
|
|
859
|
+
if (text == null) {
|
|
877
860
|
{
|
|
861
|
+
if (tag === "slot" && !useNativeShadowDom) {
|
|
862
|
+
if (oldVNode.$name$ !== newVNode2.$name$) {
|
|
863
|
+
newVNode2.$elm$["s-sn"] = newVNode2.$name$ || "";
|
|
864
|
+
relocateToHostRoot(newVNode2.$elm$.parentElement);
|
|
865
|
+
}
|
|
866
|
+
}
|
|
878
867
|
updateElement(oldVNode, newVNode2, isSvgMode);
|
|
879
868
|
}
|
|
880
869
|
if (oldChildren !== null && newChildren !== null) {
|
|
@@ -908,7 +897,7 @@ var markSlotContentForRelocation = (elm) => {
|
|
|
908
897
|
const slotName = childNode["s-sn"];
|
|
909
898
|
for (j = hostContentNodes.length - 1; j >= 0; j--) {
|
|
910
899
|
node = hostContentNodes[j];
|
|
911
|
-
if (!node["s-cn"] && !node["s-nr"] && node["s-hn"] !== childNode["s-hn"] && (
|
|
900
|
+
if (!node["s-cn"] && !node["s-nr"] && node["s-hn"] !== childNode["s-hn"] && (!node["s-sh"] || node["s-sh"] !== childNode["s-hn"])) {
|
|
912
901
|
if (isNodeLocatedInSlot(node, slotName)) {
|
|
913
902
|
let relocateNodeData = relocateNodes.find((r) => r.$nodeToRelocate$ === node);
|
|
914
903
|
checkSlotFallbackVisibility = true;
|
|
@@ -952,14 +941,25 @@ var nullifyVNodeRefs = (vNode) => {
|
|
|
952
941
|
vNode.$children$ && vNode.$children$.map(nullifyVNodeRefs);
|
|
953
942
|
}
|
|
954
943
|
};
|
|
955
|
-
var insertBefore = (parent, newNode, reference) => {
|
|
944
|
+
var insertBefore = (parent, newNode, reference, isInitialLoad) => {
|
|
956
945
|
{
|
|
946
|
+
if (typeof newNode["s-sn"] === "string") {
|
|
947
|
+
parent.insertBefore(newNode, reference);
|
|
948
|
+
const { slotNode } = findSlotFromSlottedNode(newNode);
|
|
949
|
+
if (slotNode && !isInitialLoad) dispatchSlotChangeEvent(slotNode);
|
|
950
|
+
return newNode;
|
|
951
|
+
}
|
|
952
|
+
}
|
|
953
|
+
if (parent.__insertBefore) {
|
|
954
|
+
return parent.__insertBefore(newNode, reference);
|
|
955
|
+
} else {
|
|
957
956
|
return parent == null ? void 0 : parent.insertBefore(newNode, reference);
|
|
958
957
|
}
|
|
959
958
|
};
|
|
960
959
|
var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
|
|
961
|
-
var _a, _b, _c, _d;
|
|
960
|
+
var _a, _b, _c, _d, _e;
|
|
962
961
|
const hostElm = hostRef.$hostElement$;
|
|
962
|
+
const cmpMeta = hostRef.$cmpMeta$;
|
|
963
963
|
const oldVNode = hostRef.$vnode$ || newVNode(null, null);
|
|
964
964
|
const isHostElement = isHost(renderFnResults);
|
|
965
965
|
const rootVnode = isHostElement ? renderFnResults : h(null, null, renderFnResults);
|
|
@@ -990,19 +990,27 @@ var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
|
|
|
990
990
|
if (!nodeToRelocate["s-ol"] && win.document) {
|
|
991
991
|
const orgLocationNode = win.document.createTextNode("");
|
|
992
992
|
orgLocationNode["s-nr"] = nodeToRelocate;
|
|
993
|
-
insertBefore(
|
|
993
|
+
insertBefore(
|
|
994
|
+
nodeToRelocate.parentNode,
|
|
995
|
+
nodeToRelocate["s-ol"] = orgLocationNode,
|
|
996
|
+
nodeToRelocate,
|
|
997
|
+
isInitialLoad
|
|
998
|
+
);
|
|
994
999
|
}
|
|
995
1000
|
}
|
|
996
1001
|
for (const relocateData of relocateNodes) {
|
|
997
1002
|
const nodeToRelocate = relocateData.$nodeToRelocate$;
|
|
998
1003
|
const slotRefNode = relocateData.$slotRefNode$;
|
|
1004
|
+
if (nodeToRelocate.nodeType === 1 /* ElementNode */ && isInitialLoad) {
|
|
1005
|
+
nodeToRelocate["s-ih"] = (_a = nodeToRelocate.hidden) != null ? _a : false;
|
|
1006
|
+
}
|
|
999
1007
|
if (slotRefNode) {
|
|
1000
1008
|
const parentNodeRef = slotRefNode.parentNode;
|
|
1001
1009
|
let insertBeforeNode = slotRefNode.nextSibling;
|
|
1002
|
-
{
|
|
1003
|
-
let orgLocationNode = (
|
|
1010
|
+
if (insertBeforeNode && insertBeforeNode.nodeType === 1 /* ElementNode */) {
|
|
1011
|
+
let orgLocationNode = (_b = nodeToRelocate["s-ol"]) == null ? void 0 : _b.previousSibling;
|
|
1004
1012
|
while (orgLocationNode) {
|
|
1005
|
-
let refNode = (
|
|
1013
|
+
let refNode = (_c = orgLocationNode["s-nr"]) != null ? _c : null;
|
|
1006
1014
|
if (refNode && refNode["s-sn"] === nodeToRelocate["s-sn"] && parentNodeRef === (refNode.__parentNode || refNode.parentNode)) {
|
|
1007
1015
|
refNode = refNode.nextSibling;
|
|
1008
1016
|
while (refNode === nodeToRelocate || (refNode == null ? void 0 : refNode["s-sr"])) {
|
|
@@ -1020,23 +1028,26 @@ var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
|
|
|
1020
1028
|
const nextSibling = nodeToRelocate.__nextSibling || nodeToRelocate.nextSibling;
|
|
1021
1029
|
if (!insertBeforeNode && parentNodeRef !== parent || nextSibling !== insertBeforeNode) {
|
|
1022
1030
|
if (nodeToRelocate !== insertBeforeNode) {
|
|
1023
|
-
|
|
1024
|
-
|
|
1031
|
+
insertBefore(parentNodeRef, nodeToRelocate, insertBeforeNode, isInitialLoad);
|
|
1032
|
+
if (nodeToRelocate.nodeType === 8 /* CommentNode */ && nodeToRelocate.nodeValue.startsWith("s-nt-")) {
|
|
1033
|
+
const textNode = win.document.createTextNode(nodeToRelocate.nodeValue.replace(/^s-nt-/, ""));
|
|
1034
|
+
textNode["s-hn"] = nodeToRelocate["s-hn"];
|
|
1035
|
+
textNode["s-sn"] = nodeToRelocate["s-sn"];
|
|
1036
|
+
textNode["s-sh"] = nodeToRelocate["s-sh"];
|
|
1037
|
+
textNode["s-sr"] = nodeToRelocate["s-sr"];
|
|
1038
|
+
textNode["s-ol"] = nodeToRelocate["s-ol"];
|
|
1039
|
+
textNode["s-ol"]["s-nr"] = textNode;
|
|
1040
|
+
insertBefore(nodeToRelocate.parentNode, textNode, nodeToRelocate, isInitialLoad);
|
|
1041
|
+
nodeToRelocate.parentNode.removeChild(nodeToRelocate);
|
|
1025
1042
|
}
|
|
1026
|
-
insertBefore(parentNodeRef, nodeToRelocate, insertBeforeNode);
|
|
1027
1043
|
if (nodeToRelocate.nodeType === 1 /* ElementNode */ && nodeToRelocate.tagName !== "SLOT-FB") {
|
|
1028
|
-
nodeToRelocate.hidden = (
|
|
1044
|
+
nodeToRelocate.hidden = (_d = nodeToRelocate["s-ih"]) != null ? _d : false;
|
|
1029
1045
|
}
|
|
1030
1046
|
}
|
|
1031
1047
|
}
|
|
1032
1048
|
nodeToRelocate && typeof slotRefNode["s-rf"] === "function" && slotRefNode["s-rf"](slotRefNode);
|
|
1033
|
-
} else {
|
|
1034
|
-
|
|
1035
|
-
if (isInitialLoad) {
|
|
1036
|
-
nodeToRelocate["s-ih"] = (_d = nodeToRelocate.hidden) != null ? _d : false;
|
|
1037
|
-
}
|
|
1038
|
-
nodeToRelocate.hidden = true;
|
|
1039
|
-
}
|
|
1049
|
+
} else if (nodeToRelocate.nodeType === 1 /* ElementNode */) {
|
|
1050
|
+
nodeToRelocate.hidden = true;
|
|
1040
1051
|
}
|
|
1041
1052
|
}
|
|
1042
1053
|
}
|
|
@@ -1046,6 +1057,24 @@ var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
|
|
|
1046
1057
|
plt.$flags$ &= -2 /* isTmpDisconnected */;
|
|
1047
1058
|
relocateNodes.length = 0;
|
|
1048
1059
|
}
|
|
1060
|
+
if (!useNativeShadowDom && !(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) && hostElm["s-cr"]) {
|
|
1061
|
+
const children = rootVnode.$elm$.__childNodes || rootVnode.$elm$.childNodes;
|
|
1062
|
+
for (const childNode of children) {
|
|
1063
|
+
if (childNode["s-hn"] !== hostTagName && !childNode["s-sh"]) {
|
|
1064
|
+
if (isInitialLoad && childNode["s-ih"] == null) {
|
|
1065
|
+
childNode["s-ih"] = (_e = childNode.hidden) != null ? _e : false;
|
|
1066
|
+
}
|
|
1067
|
+
if (childNode.nodeType === 1 /* ElementNode */) {
|
|
1068
|
+
childNode.hidden = true;
|
|
1069
|
+
} else if (childNode.nodeType === 3 /* TextNode */ && !!childNode.nodeValue.trim()) {
|
|
1070
|
+
const textCommentNode = win.document.createComment("s-nt-" + childNode.nodeValue);
|
|
1071
|
+
textCommentNode["s-sn"] = childNode["s-sn"];
|
|
1072
|
+
insertBefore(childNode.parentNode, textCommentNode, childNode, isInitialLoad);
|
|
1073
|
+
childNode.parentNode.removeChild(childNode);
|
|
1074
|
+
}
|
|
1075
|
+
}
|
|
1076
|
+
}
|
|
1077
|
+
}
|
|
1049
1078
|
contentRef = void 0;
|
|
1050
1079
|
};
|
|
1051
1080
|
|
|
@@ -1092,6 +1121,10 @@ var dispatchHooks = (hostRef, isInitialLoad) => {
|
|
|
1092
1121
|
let maybePromise;
|
|
1093
1122
|
if (isInitialLoad) {
|
|
1094
1123
|
{
|
|
1124
|
+
if (hostRef.$deferredConnectedCallback$) {
|
|
1125
|
+
hostRef.$deferredConnectedCallback$ = false;
|
|
1126
|
+
safeCall(instance, "connectedCallback", void 0, elm);
|
|
1127
|
+
}
|
|
1095
1128
|
if (hostRef.$fetchedCbList$.length) {
|
|
1096
1129
|
hostRef.$fetchedCbList$.forEach((cb) => cb(elm));
|
|
1097
1130
|
}
|
|
@@ -1104,8 +1137,8 @@ var dispatchHooks = (hostRef, isInitialLoad) => {
|
|
|
1104
1137
|
endSchedule();
|
|
1105
1138
|
return enqueue(maybePromise, () => updateComponent(hostRef, instance, isInitialLoad));
|
|
1106
1139
|
};
|
|
1107
|
-
var enqueue = (maybePromise, fn) => isPromisey(maybePromise) ? maybePromise.then(fn).catch((
|
|
1108
|
-
console.error(
|
|
1140
|
+
var enqueue = (maybePromise, fn) => isPromisey(maybePromise) ? maybePromise.then(fn).catch((err) => {
|
|
1141
|
+
console.error(err);
|
|
1109
1142
|
fn();
|
|
1110
1143
|
}) : fn();
|
|
1111
1144
|
var isPromisey = (maybePromise) => maybePromise instanceof Promise || maybePromise && maybePromise.then && typeof maybePromise.then === "function";
|
|
@@ -1233,27 +1266,34 @@ var setValue = (ref, propName, newVal, cmpMeta) => {
|
|
|
1233
1266
|
const didValueChange = newVal !== oldVal && !areBothNaN;
|
|
1234
1267
|
if ((!(flags & 8 /* isConstructingInstance */) || oldVal === void 0) && didValueChange) {
|
|
1235
1268
|
hostRef.$instanceValues$.set(propName, newVal);
|
|
1236
|
-
if (
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1269
|
+
if (cmpMeta.$watchers$) {
|
|
1270
|
+
const watchMethods = cmpMeta.$watchers$[propName];
|
|
1271
|
+
if (watchMethods) {
|
|
1272
|
+
watchMethods.map((watcher) => {
|
|
1273
|
+
try {
|
|
1274
|
+
const [[watchMethodName, watcherFlags]] = Object.entries(watcher);
|
|
1275
|
+
if (flags & 128 /* isWatchReady */ || watcherFlags & 1 /* Immediate */) {
|
|
1276
|
+
if (!instance) {
|
|
1277
|
+
hostRef.$fetchedCbList$.push(() => {
|
|
1278
|
+
hostRef.$lazyInstance$[watchMethodName](newVal, oldVal, propName);
|
|
1279
|
+
});
|
|
1280
|
+
} else {
|
|
1281
|
+
instance[watchMethodName](newVal, oldVal, propName);
|
|
1282
|
+
}
|
|
1245
1283
|
}
|
|
1246
|
-
})
|
|
1247
|
-
|
|
1248
|
-
}
|
|
1249
|
-
if ((flags & (2 /* hasRendered */ | 16 /* isQueuedForUpdate */)) === 2 /* hasRendered */) {
|
|
1250
|
-
if (instance.componentShouldUpdate) {
|
|
1251
|
-
if (instance.componentShouldUpdate(newVal, oldVal, propName) === false) {
|
|
1252
|
-
return;
|
|
1284
|
+
} catch (e) {
|
|
1285
|
+
consoleError(e, elm);
|
|
1253
1286
|
}
|
|
1287
|
+
});
|
|
1288
|
+
}
|
|
1289
|
+
}
|
|
1290
|
+
if ((flags & (2 /* hasRendered */ | 16 /* isQueuedForUpdate */)) === 2 /* hasRendered */) {
|
|
1291
|
+
if (instance.componentShouldUpdate) {
|
|
1292
|
+
if (instance.componentShouldUpdate(newVal, oldVal, propName) === false) {
|
|
1293
|
+
return;
|
|
1254
1294
|
}
|
|
1255
|
-
scheduleUpdate(hostRef, false);
|
|
1256
1295
|
}
|
|
1296
|
+
scheduleUpdate(hostRef, false);
|
|
1257
1297
|
}
|
|
1258
1298
|
}
|
|
1259
1299
|
};
|
|
@@ -1367,12 +1407,13 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
1367
1407
|
return;
|
|
1368
1408
|
} else if (propName == null) {
|
|
1369
1409
|
const flags2 = hostRef == null ? void 0 : hostRef.$flags$;
|
|
1370
|
-
if (hostRef && flags2 && !(flags2 & 8 /* isConstructingInstance */) &&
|
|
1410
|
+
if (hostRef && flags2 && !(flags2 & 8 /* isConstructingInstance */) && newValue !== oldValue) {
|
|
1371
1411
|
const instance = hostRef.$lazyInstance$ ;
|
|
1372
1412
|
const entry = (_a2 = cmpMeta.$watchers$) == null ? void 0 : _a2[attrName];
|
|
1373
|
-
entry == null ? void 0 : entry.forEach((
|
|
1374
|
-
|
|
1375
|
-
|
|
1413
|
+
entry == null ? void 0 : entry.forEach((watcher) => {
|
|
1414
|
+
const [[watchMethodName, watcherFlags]] = Object.entries(watcher);
|
|
1415
|
+
if (instance[watchMethodName] != null && (flags2 & 128 /* isWatchReady */ || watcherFlags & 1 /* Immediate */)) {
|
|
1416
|
+
instance[watchMethodName].call(instance, newValue, oldValue, attrName);
|
|
1376
1417
|
}
|
|
1377
1418
|
});
|
|
1378
1419
|
}
|
|
@@ -1446,7 +1487,12 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
|
|
|
1446
1487
|
hostRef.$flags$ |= 128 /* isWatchReady */;
|
|
1447
1488
|
}
|
|
1448
1489
|
endNewInstance();
|
|
1449
|
-
|
|
1490
|
+
const needsDeferredCallback = cmpMeta.$flags$ & 4 /* hasSlotRelocation */;
|
|
1491
|
+
if (!needsDeferredCallback) {
|
|
1492
|
+
fireConnectedCallback(hostRef.$lazyInstance$, elm);
|
|
1493
|
+
} else {
|
|
1494
|
+
hostRef.$deferredConnectedCallback$ = true;
|
|
1495
|
+
}
|
|
1450
1496
|
} else {
|
|
1451
1497
|
Cstr = elm.constructor;
|
|
1452
1498
|
const cmpTag = elm.localName;
|
|
@@ -1587,12 +1633,14 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
|
|
|
1587
1633
|
cmpMeta.$serializers$ = (_b = compactMeta[5]) != null ? _b : {};
|
|
1588
1634
|
cmpMeta.$deserializers$ = (_c = compactMeta[6]) != null ? _c : {};
|
|
1589
1635
|
}
|
|
1590
|
-
const tagName = cmpMeta.$tagName
|
|
1636
|
+
const tagName = transformTag(cmpMeta.$tagName$);
|
|
1591
1637
|
const HostElement = class extends HTMLElement {
|
|
1638
|
+
["s-p"];
|
|
1639
|
+
["s-rc"];
|
|
1640
|
+
hasRegisteredEventListeners = false;
|
|
1592
1641
|
// StencilLazyHost
|
|
1593
1642
|
constructor(self) {
|
|
1594
1643
|
super(self);
|
|
1595
|
-
this.hasRegisteredEventListeners = false;
|
|
1596
1644
|
self = this;
|
|
1597
1645
|
registerHost(self, cmpMeta);
|
|
1598
1646
|
}
|
|
@@ -1678,6 +1726,9 @@ var Fragment = (_, children) => children;
|
|
|
1678
1726
|
|
|
1679
1727
|
// src/runtime/nonce.ts
|
|
1680
1728
|
var setNonce = (nonce) => plt.$nonce$ = nonce;
|
|
1729
|
+
function transformTag(tag) {
|
|
1730
|
+
return tag;
|
|
1731
|
+
}
|
|
1681
1732
|
|
|
1682
1733
|
exports.Fragment = Fragment;
|
|
1683
1734
|
exports.bootstrapLazy = bootstrapLazy;
|
|
@@ -1686,6 +1737,3 @@ exports.h = h;
|
|
|
1686
1737
|
exports.promiseResolve = promiseResolve;
|
|
1687
1738
|
exports.registerInstance = registerInstance;
|
|
1688
1739
|
exports.setNonce = setNonce;
|
|
1689
|
-
//# sourceMappingURL=index-Db5RdCbB.js.map
|
|
1690
|
-
|
|
1691
|
-
//# sourceMappingURL=index-Db5RdCbB.js.map
|
package/dist/cjs/index.cjs.js
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
require('./
|
|
4
|
-
var
|
|
5
|
-
var
|
|
6
|
-
var
|
|
7
|
-
var documentScrollListener = require('./document-scroll-listener-BBXRu9dN.js');
|
|
3
|
+
var constants = require('./constants-bMY2_d8A.js');
|
|
4
|
+
var index = require('./index-CW5aVEyQ.js');
|
|
5
|
+
var documentClickListener = require('./document-click-listener-B2Xzqbvs.js');
|
|
6
|
+
var documentScrollListener = require('./document-scroll-listener-C_v46oIg.js');
|
|
8
7
|
var floatingComponents = require('./floating-components-ogUqz72V.js');
|
|
9
8
|
var navigation = require('./navigation-DauGE-qj.js');
|
|
10
9
|
|
|
@@ -102,6 +101,8 @@ Object.defineProperty(exports, "COLOR_SIMPLE", {
|
|
|
102
101
|
enumerable: true,
|
|
103
102
|
get: function () { return constants.COLOR_SIMPLE; }
|
|
104
103
|
});
|
|
104
|
+
exports.DB_UX_LOCAL_STORAGE_FRAMEWORK = constants.DB_UX_LOCAL_STORAGE_FRAMEWORK;
|
|
105
|
+
exports.DB_UX_LOCAL_STORAGE_MODE = constants.DB_UX_LOCAL_STORAGE_MODE;
|
|
105
106
|
exports.DEFAULT_BACK = constants.DEFAULT_BACK;
|
|
106
107
|
exports.DEFAULT_BURGER_MENU = constants.DEFAULT_BURGER_MENU;
|
|
107
108
|
exports.DEFAULT_CLOSE_BUTTON = constants.DEFAULT_CLOSE_BUTTON;
|
|
@@ -146,6 +147,7 @@ exports.getInputValue = index.getInputValue;
|
|
|
146
147
|
exports.getNumber = index.getNumber;
|
|
147
148
|
exports.getOptionKey = index.getOptionKey;
|
|
148
149
|
exports.getSearchInput = index.getSearchInput;
|
|
150
|
+
exports.getStep = index.getStep;
|
|
149
151
|
exports.hasVoiceOver = index.hasVoiceOver;
|
|
150
152
|
exports.isArrayOfStrings = index.isArrayOfStrings;
|
|
151
153
|
exports.isIOSSafari = index.isIOSSafari;
|
|
@@ -218,4 +220,3 @@ exports.TextareaWrapList = TextareaWrapList;
|
|
|
218
220
|
exports.TooltipVariantList = TooltipVariantList;
|
|
219
221
|
exports.ValidationList = ValidationList;
|
|
220
222
|
exports.WidthList = WidthList;
|
|
221
|
-
//# sourceMappingURL=index.cjs.js.map
|