@zanichelli/albe-web-components 5.5.4 → 5.5.6-cs1
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/CHANGELOG.md +8 -0
- package/dist/cjs/{icons-9fc3ff30.js → icons-460f0f1e.js} +104 -104
- package/dist/cjs/{index-84b7063a.js → index-0b49c192.js} +648 -96
- package/dist/cjs/{index-3dd0f9bd.js → index-15126331.js} +168 -168
- package/dist/cjs/index.cjs.js +5 -5
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/{utils-29f9ccf5.js → utils-7db26db9.js} +19 -33
- package/dist/cjs/{utils-4a419726.js → utils-b1ef8660.js} +13 -13
- package/dist/cjs/web-components-library.cjs.js +3 -3
- package/dist/cjs/z-alert.cjs.entry.js +2 -2
- package/dist/cjs/z-app-header.cjs.entry.js +16 -14
- package/dist/cjs/z-app-switcher_9.cjs.entry.js +159 -177
- package/dist/cjs/z-aria-alert.cjs.entry.js +4 -3
- package/dist/cjs/z-avatar.cjs.entry.js +9 -8
- package/dist/cjs/z-body_2.cjs.entry.js +5 -3
- package/dist/cjs/z-button-deprecated.cjs.entry.js +12 -9
- package/dist/cjs/z-button-filter.cjs.entry.js +4 -3
- package/dist/cjs/z-button-sort.cjs.entry.js +5 -6
- package/dist/cjs/z-button.cjs.entry.js +10 -11
- package/dist/cjs/z-candybar.cjs.entry.js +2 -2
- package/dist/cjs/z-card.cjs.entry.js +16 -19
- package/dist/cjs/z-carousel.cjs.entry.js +2 -2
- package/dist/cjs/z-chip-deprecated.cjs.entry.js +4 -6
- package/dist/cjs/z-chip.cjs.entry.js +7 -7
- package/dist/cjs/z-combobox.cjs.entry.js +30 -26
- package/dist/cjs/z-contextual-menu.cjs.entry.js +5 -10
- package/dist/cjs/z-cookiebar.cjs.entry.js +6 -7
- package/dist/cjs/z-cover-hero.cjs.entry.js +6 -5
- package/dist/cjs/z-date-picker.cjs.entry.js +39 -46
- package/dist/cjs/z-dragdrop-area_2.cjs.entry.js +4 -3
- package/dist/cjs/z-file-upload.cjs.entry.js +18 -20
- package/dist/cjs/z-file.cjs.entry.js +4 -4
- package/dist/cjs/z-footer-link_3.cjs.entry.js +4 -4
- package/dist/cjs/z-footer.cjs.entry.js +13 -16
- package/dist/cjs/z-ghost-loading.cjs.entry.js +3 -3
- package/dist/cjs/z-icon-package.cjs.entry.js +3 -4
- package/dist/cjs/z-info-box.cjs.entry.js +3 -3
- package/dist/cjs/z-info-reveal.cjs.entry.js +9 -8
- package/dist/cjs/z-input-deprecated.cjs.entry.js +55 -67
- package/dist/cjs/z-input-label_2.cjs.entry.js +40 -36
- package/dist/cjs/z-list-group.cjs.entry.js +7 -7
- package/dist/cjs/z-list_2.cjs.entry.js +12 -12
- package/dist/cjs/z-menu-dropdown_2.cjs.entry.js +10 -11
- package/dist/cjs/z-menu-section.cjs.entry.js +3 -3
- package/dist/cjs/z-menu.cjs.entry.js +10 -13
- package/dist/cjs/z-messages-pocket.cjs.entry.js +7 -7
- package/dist/cjs/z-modal-login.cjs.entry.js +17 -15
- package/dist/cjs/z-modal.cjs.entry.js +3 -6
- package/dist/cjs/z-myz-card-alert.cjs.entry.js +8 -8
- package/dist/cjs/z-myz-card-dictionary.cjs.entry.js +4 -4
- package/dist/cjs/z-myz-card-footer-sections.cjs.entry.js +2 -2
- package/dist/cjs/z-myz-card-footer.cjs.entry.js +11 -10
- package/dist/cjs/z-myz-card-icon.cjs.entry.js +2 -2
- package/dist/cjs/z-myz-card-info.cjs.entry.js +27 -17
- package/dist/cjs/z-myz-card-list.cjs.entry.js +4 -3
- package/dist/cjs/z-myz-card_4.cjs.entry.js +17 -13
- package/dist/cjs/z-myz-list-item.cjs.entry.js +4 -4
- package/dist/cjs/z-myz-topbar.cjs.entry.js +35 -39
- package/dist/cjs/z-navigation-tab-link.cjs.entry.js +11 -11
- package/dist/cjs/z-navigation-tab.cjs.entry.js +12 -12
- package/dist/cjs/z-navigation-tabs.cjs.entry.js +21 -21
- package/dist/cjs/z-notification.cjs.entry.js +3 -8
- package/dist/cjs/z-offcanvas.cjs.entry.js +12 -15
- package/dist/cjs/z-otp.cjs.entry.js +18 -18
- package/dist/cjs/z-pagination-bar.cjs.entry.js +13 -25
- package/dist/cjs/z-pagination-page.cjs.entry.js +2 -2
- package/dist/cjs/z-pagination.cjs.entry.js +14 -17
- package/dist/cjs/z-panel-elem.cjs.entry.js +4 -4
- package/dist/cjs/z-pocket-message.cjs.entry.js +3 -3
- package/dist/cjs/z-pocket_3.cjs.entry.js +19 -19
- package/dist/cjs/z-popover-deprecated.cjs.entry.js +17 -14
- package/dist/cjs/z-popover.cjs.entry.js +37 -55
- package/dist/cjs/z-section-title.cjs.entry.js +5 -14
- package/dist/cjs/z-skip-to-content.cjs.entry.js +19 -21
- package/dist/cjs/z-slideshow.cjs.entry.js +29 -12
- package/dist/cjs/z-status-tag.cjs.entry.js +9 -9
- package/dist/cjs/z-stepper-item.cjs.entry.js +2 -2
- package/dist/cjs/z-stepper.cjs.entry.js +3 -3
- package/dist/cjs/z-table-body.cjs.entry.js +1 -1
- package/dist/cjs/z-table-cell.cjs.entry.js +11 -11
- package/dist/cjs/z-table-empty-box.cjs.entry.js +6 -7
- package/dist/cjs/z-table-expanded-row.cjs.entry.js +2 -2
- package/dist/cjs/z-table-footer.cjs.entry.js +1 -1
- package/dist/cjs/z-table-head.cjs.entry.js +1 -1
- package/dist/cjs/z-table-header-row.cjs.entry.js +4 -4
- package/dist/cjs/z-table-header.cjs.entry.js +18 -21
- package/dist/cjs/z-table-row.cjs.entry.js +9 -9
- package/dist/cjs/z-table-sticky-footer.cjs.entry.js +3 -3
- package/dist/cjs/z-table.cjs.entry.js +7 -9
- package/dist/cjs/z-tag.cjs.entry.js +3 -3
- package/dist/cjs/z-toast-notification-list.cjs.entry.js +17 -17
- package/dist/cjs/z-toast-notification.cjs.entry.js +38 -41
- package/dist/cjs/z-toggle-button.cjs.entry.js +8 -10
- package/dist/cjs/z-toggle-switch.cjs.entry.js +19 -17
- package/dist/cjs/z-tooltip-deprecated.cjs.entry.js +36 -47
- package/dist/cjs/z-tooltip.cjs.entry.js +4 -4
- package/dist/cjs/z-user-dropdown.cjs.entry.js +6 -8
- package/dist/cjs/z-visually-hidden.cjs.entry.js +2 -2
- package/dist/collection/beans/index.js +168 -168
- package/dist/collection/collection-manifest.json +2 -2
- package/dist/collection/components/buttons/z-button/index.js +209 -207
- package/dist/collection/components/buttons/z-button/styles.css +31 -30
- package/dist/collection/components/buttons/z-button-sort/index.js +181 -177
- package/dist/collection/components/buttons/z-button-sort/styles.css +14 -14
- package/dist/collection/components/buttons/z-chip/index.js +107 -104
- package/dist/collection/components/buttons/z-chip/styles.css +12 -15
- package/dist/collection/components/buttons/z-toggle-button/index.js +105 -101
- package/dist/collection/components/buttons/z-toggle-button/styles.css +10 -10
- package/dist/collection/components/buttons/z-toggle-switch/index.js +116 -115
- package/dist/collection/components/buttons/z-toggle-switch/styles.css +15 -18
- package/dist/collection/components/date-picker/styles.css +65 -83
- package/dist/collection/components/date-picker/utils.js +19 -33
- package/dist/collection/components/date-picker/z-date-picker/index.js +164 -160
- package/dist/collection/components/date-picker/z-range-picker/index.js +233 -240
- package/dist/collection/components/file-upload/z-dragdrop-area/index.js +32 -30
- package/dist/collection/components/file-upload/z-dragdrop-area/styles.css +14 -25
- package/dist/collection/components/file-upload/z-file/index.js +93 -85
- package/dist/collection/components/file-upload/z-file/styles.css +5 -18
- package/dist/collection/components/file-upload/z-file-upload/index.js +203 -208
- package/dist/collection/components/file-upload/z-file-upload/styles.css +8 -15
- package/dist/collection/components/footer/z-footer/index.js +172 -207
- package/dist/collection/components/footer/z-footer/styles.css +27 -32
- package/dist/collection/components/footer/z-footer-link/index.js +33 -28
- package/dist/collection/components/footer/z-footer-link/styles.css +6 -14
- package/dist/collection/components/footer/z-footer-section/index.js +39 -37
- package/dist/collection/components/footer/z-footer-section/styles.css +35 -48
- package/dist/collection/components/footer/z-footer-social/index.js +65 -60
- package/dist/collection/components/footer/z-footer-social/styles.css +0 -8
- package/dist/collection/components/icons/icons.js +103 -103
- package/dist/collection/components/icons/z-icon/index.js +102 -98
- package/dist/collection/components/icons/z-icon/styles.css +2 -2
- package/dist/collection/components/icons/z-icon-package/index.js +14 -13
- package/dist/collection/components/icons/z-icon-package/styles.css +3 -3
- package/dist/collection/components/indicators/z-stepper/index.js +12 -8
- package/dist/collection/components/indicators/z-stepper/styles.css +3 -3
- package/dist/collection/components/indicators/z-stepper-item/index.js +82 -82
- package/dist/collection/components/indicators/z-stepper-item/styles.css +22 -23
- package/dist/collection/components/inputs/z-combobox/index.js +340 -337
- package/dist/collection/components/inputs/z-combobox/styles.css +43 -48
- package/dist/collection/components/inputs/z-input/index.js +554 -569
- package/dist/collection/components/inputs/z-input/styles.css +83 -93
- package/dist/collection/components/inputs/z-input-message/index.js +53 -49
- package/dist/collection/components/inputs/z-input-message/styles.css +7 -6
- package/dist/collection/components/inputs/z-select/index.js +363 -353
- package/dist/collection/components/inputs/z-select/styles.css +23 -28
- package/dist/collection/components/list/z-list/index.js +39 -34
- package/dist/collection/components/list/z-list/styles.css +2 -3
- package/dist/collection/components/list/z-list-element/index.js +293 -288
- package/dist/collection/components/list/z-list-element/styles.css +18 -40
- package/dist/collection/components/list/z-list-group/index.js +103 -101
- package/dist/collection/components/list/z-list-group/styles.css +1 -2
- package/dist/collection/components/list/z-toast-notification-list/index.js +75 -67
- package/dist/collection/components/list/z-toast-notification-list/styles.css +37 -44
- package/dist/collection/components/logo/z-logo/index.js +113 -110
- package/dist/collection/components/logo/z-logo/styles.css +3 -3
- package/dist/collection/components/modal/z-modal/index.js +129 -133
- package/dist/collection/components/modal/z-modal/styles.css +23 -29
- package/dist/collection/components/modal/z-modal-login/index.js +181 -203
- package/dist/collection/components/modal/z-modal-login/styles.css +28 -37
- package/dist/collection/components/navigation/tabs/navigation-tab.css +19 -19
- package/dist/collection/components/navigation/tabs/z-navigation-tab/index.js +173 -173
- package/dist/collection/components/navigation/tabs/z-navigation-tab-link/index.js +206 -206
- package/dist/collection/components/navigation/tabs/z-navigation-tabs/index.js +103 -107
- package/dist/collection/components/navigation/tabs/z-navigation-tabs/styles.css +23 -23
- package/dist/collection/components/navigation/z-app-header/index.js +149 -157
- package/dist/collection/components/navigation/z-app-header/styles.css +68 -78
- package/dist/collection/components/navigation/z-app-switcher/index.js +61 -52
- package/dist/collection/components/navigation/z-app-switcher/styles.css +5 -17
- package/dist/collection/components/navigation/z-app-topbar/index.js +123 -123
- package/dist/collection/components/navigation/z-app-topbar/styles.css +11 -17
- package/dist/collection/components/navigation/z-link/index.js +252 -244
- package/dist/collection/components/navigation/z-link/styles.css +15 -12
- package/dist/collection/components/navigation/z-menu/index.js +133 -131
- package/dist/collection/components/navigation/z-menu/styles.css +22 -25
- package/dist/collection/components/navigation/z-menu-dropdown/index.js +82 -83
- package/dist/collection/components/navigation/z-menu-dropdown/styles.css +21 -21
- package/dist/collection/components/navigation/z-menu-section/index.js +80 -73
- package/dist/collection/components/navigation/z-menu-section/styles.css +14 -14
- package/dist/collection/components/navigation/z-user-dropdown/index.js +166 -171
- package/dist/collection/components/navigation/z-user-dropdown/styles.css +63 -72
- package/dist/collection/components/notification/z-candybar/index.js +12 -9
- package/dist/collection/components/notification/z-candybar/styles.css +21 -27
- package/dist/collection/components/notification/z-cookiebar/index.js +82 -83
- package/dist/collection/components/notification/z-cookiebar/styles.css +18 -19
- package/dist/collection/components/notification/z-info-box/index.js +67 -61
- package/dist/collection/components/notification/z-info-box/styles.css +8 -8
- package/dist/collection/components/notification/z-notification/index.js +155 -156
- package/dist/collection/components/notification/z-notification/styles.css +11 -11
- package/dist/collection/components/notification/z-toast-notification/index.js +248 -251
- package/dist/collection/components/notification/z-toast-notification/styles.css +38 -30
- package/dist/collection/components/notification/z-tooltip/index.js +101 -94
- package/dist/collection/components/panel/z-panel-elem/index.js +174 -174
- package/dist/collection/components/panel/z-panel-elem/styles.css +6 -6
- package/dist/collection/components/typography/z-body/index.js +57 -55
- package/dist/collection/components/typography/z-heading/index.js +57 -55
- package/dist/collection/components/typography/z-typography/index.js +70 -63
- package/dist/collection/components/typography/z-typography/styles.css +13 -13
- package/dist/collection/components/z-aria-alert/index.js +31 -24
- package/dist/collection/components/z-avatar/index.js +110 -105
- package/dist/collection/components/z-avatar/styles.css +7 -10
- package/dist/collection/components/z-card/index.js +133 -138
- package/dist/collection/components/z-card/styles.css +38 -42
- package/dist/collection/components/z-carousel/index.js +51 -49
- package/dist/collection/components/z-carousel/styles.css +3 -3
- package/dist/collection/components/z-contextual-menu/index.js +89 -95
- package/dist/collection/components/z-contextual-menu/styles.css +8 -8
- package/dist/collection/components/z-cover-hero/index.js +64 -65
- package/dist/collection/components/z-cover-hero/styles.css +4 -4
- package/dist/collection/components/z-divider/index.js +77 -71
- package/dist/collection/components/z-ghost-loading/index.js +12 -8
- package/dist/collection/components/z-ghost-loading/styles.css +14 -14
- package/dist/collection/components/z-info-reveal/index.js +88 -84
- package/dist/collection/components/z-info-reveal/styles.css +9 -8
- package/dist/collection/components/z-offcanvas/index.js +107 -102
- package/dist/collection/components/z-offcanvas/styles.css +65 -45
- package/dist/collection/components/z-pagination/index.js +231 -246
- package/dist/collection/components/z-pagination/styles.css +16 -21
- package/dist/collection/components/z-popover/index.js +219 -223
- package/dist/collection/components/z-popover/styles.css +9 -9
- package/dist/collection/components/z-section-title/index.js +57 -60
- package/dist/collection/components/z-section-title/styles.css +2 -2
- package/dist/collection/components/z-skip-to-content/index.js +93 -85
- package/dist/collection/components/z-skip-to-content/styles.css +11 -15
- package/dist/collection/components/z-table/z-table/index.js +275 -288
- package/dist/collection/components/z-table/z-table/styles.css +23 -74
- package/dist/collection/components/z-table/z-table-body/index.js +11 -7
- package/dist/collection/components/z-table/z-table-cell/index.js +66 -63
- package/dist/collection/components/z-table/z-table-cell/styles.css +5 -4
- package/dist/collection/components/z-table/z-table-empty-box/index.js +54 -54
- package/dist/collection/components/z-table/z-table-empty-box/styles.css +5 -6
- package/dist/collection/components/z-table/z-table-expanded-row/index.js +33 -29
- package/dist/collection/components/z-table/z-table-expanded-row/styles.css +2 -2
- package/dist/collection/components/z-table/z-table-footer/index.js +11 -7
- package/dist/collection/components/z-table/z-table-footer/styles.css +3 -3
- package/dist/collection/components/z-table/z-table-head/index.js +11 -7
- package/dist/collection/components/z-table/z-table-header/index.js +173 -173
- package/dist/collection/components/z-table/z-table-header/styles.css +4 -2
- package/dist/collection/components/z-table/z-table-header-row/index.js +34 -30
- package/dist/collection/components/z-table/z-table-header-row/styles.css +1 -1
- package/dist/collection/components/z-table/z-table-row/index.js +67 -61
- package/dist/collection/components/z-table/z-table-row/styles.css +9 -18
- package/dist/collection/components/z-table/z-table-sticky-footer/index.js +12 -8
- package/dist/collection/components/z-table/z-table-sticky-footer/styles.css +4 -4
- package/dist/collection/components/z-tag/index.js +50 -47
- package/dist/collection/components/z-tag/styles.css +7 -12
- package/dist/collection/components/z-visually-hidden/index.js +11 -7
- package/dist/collection/components/z-visually-hidden/styles.css +6 -6
- package/dist/collection/constants/icons.js +1 -1
- package/dist/collection/deprecated/pagination/z-pagination-bar/index.js +174 -181
- package/dist/collection/deprecated/pagination/z-pagination-bar/styles.css +8 -9
- package/dist/collection/deprecated/pagination/z-pagination-page/index.js +115 -109
- package/dist/collection/deprecated/pagination/z-pagination-page/styles.css +13 -13
- package/dist/collection/deprecated/z-button-deprecated/index.js +199 -191
- package/dist/collection/deprecated/z-button-deprecated/styles.css +39 -39
- package/dist/collection/deprecated/z-button-filter/index.js +120 -115
- package/dist/collection/deprecated/z-button-filter/styles.css +7 -17
- package/dist/collection/deprecated/z-chip-deprecated/index.js +50 -50
- package/dist/collection/deprecated/z-chip-deprecated/styles.css +2 -2
- package/dist/collection/deprecated/z-input-deprecated/index.js +609 -626
- package/dist/collection/deprecated/z-input-deprecated/styles.css +77 -91
- package/dist/collection/deprecated/z-input-label/index.js +66 -60
- package/dist/collection/deprecated/z-input-label/styles.css +2 -2
- package/dist/collection/deprecated/z-popover-deprecated/index.js +195 -183
- package/dist/collection/deprecated/z-popover-deprecated/styles.css +36 -37
- package/dist/collection/deprecated/z-status-tag/index.js +111 -106
- package/dist/collection/deprecated/z-status-tag/styles.css +10 -12
- package/dist/collection/deprecated/z-tooltip-deprecated/index.js +160 -160
- package/dist/collection/deprecated/z-tooltip-deprecated/styles.css +37 -37
- package/dist/collection/index.js +4 -3
- package/dist/collection/snowflakes/myz/card/z-myz-card/index.js +93 -85
- package/dist/collection/snowflakes/myz/card/z-myz-card/styles.css +4 -4
- package/dist/collection/snowflakes/myz/card/z-myz-card-alert/index.js +106 -103
- package/dist/collection/snowflakes/myz/card/z-myz-card-alert/styles.css +16 -16
- package/dist/collection/snowflakes/myz/card/z-myz-card-body/index.js +12 -10
- package/dist/collection/snowflakes/myz/card/z-myz-card-body/styles.css +4 -4
- package/dist/collection/snowflakes/myz/card/z-myz-card-cover/index.js +80 -74
- package/dist/collection/snowflakes/myz/card/z-myz-card-cover/styles.css +2 -2
- package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/index.js +143 -143
- package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/styles.css +10 -27
- package/dist/collection/snowflakes/myz/card/z-myz-card-footer/index.js +157 -163
- package/dist/collection/snowflakes/myz/card/z-myz-card-footer/styles.css +52 -50
- package/dist/collection/snowflakes/myz/card/z-myz-card-footer-sections/index.js +12 -13
- package/dist/collection/snowflakes/myz/card/z-myz-card-footer-sections/styles.css +3 -15
- package/dist/collection/snowflakes/myz/card/z-myz-card-header/index.js +79 -72
- package/dist/collection/snowflakes/myz/card/z-myz-card-header/styles.css +13 -14
- package/dist/collection/snowflakes/myz/card/z-myz-card-icon/index.js +66 -62
- package/dist/collection/snowflakes/myz/card/z-myz-card-icon/styles.css +14 -15
- package/dist/collection/snowflakes/myz/card/z-myz-card-info/index.js +104 -118
- package/dist/collection/snowflakes/myz/card/z-myz-card-info/styles.css +23 -54
- package/dist/collection/snowflakes/myz/card/z-myz-card-list/index.js +34 -27
- package/dist/collection/snowflakes/myz/card/z-myz-card-list/styles.css +13 -13
- package/dist/collection/snowflakes/myz/list/z-myz-list/index.js +54 -46
- package/dist/collection/snowflakes/myz/list/z-myz-list/styles.css +1 -1
- package/dist/collection/snowflakes/myz/list/z-myz-list-item/index.js +169 -165
- package/dist/collection/snowflakes/myz/list/z-myz-list-item/styles.css +18 -19
- package/dist/collection/snowflakes/myz/pocket/z-messages-pocket/index.js +86 -87
- package/dist/collection/snowflakes/myz/pocket/z-messages-pocket/styles.css +13 -17
- package/dist/collection/snowflakes/myz/pocket/z-pocket/index.js +135 -125
- package/dist/collection/snowflakes/myz/pocket/z-pocket/styles.css +10 -22
- package/dist/collection/snowflakes/myz/pocket/z-pocket-body/index.js +64 -57
- package/dist/collection/snowflakes/myz/pocket/z-pocket-body/styles.css +6 -14
- package/dist/collection/snowflakes/myz/pocket/z-pocket-header/index.js +65 -58
- package/dist/collection/snowflakes/myz/pocket/z-pocket-header/styles.css +9 -22
- package/dist/collection/snowflakes/myz/pocket/z-pocket-message/index.js +12 -13
- package/dist/collection/snowflakes/myz/pocket/z-pocket-message/styles.css +13 -22
- package/dist/collection/snowflakes/myz/topbar/index.js +263 -293
- package/dist/collection/snowflakes/myz/topbar/styles.css +157 -177
- package/dist/collection/snowflakes/myz/z-alert/index.js +37 -32
- package/dist/collection/snowflakes/myz/z-alert/styles.css +6 -6
- package/dist/collection/snowflakes/myz/z-otp/index.js +101 -95
- package/dist/collection/snowflakes/myz/z-otp/styles.css +7 -7
- package/dist/collection/snowflakes/myz/z-slideshow/index.js +88 -73
- package/dist/collection/snowflakes/myz/z-slideshow/styles.css +30 -31
- package/dist/collection/utils/storybook-utils.js +6 -5
- package/dist/collection/utils/utils.js +14 -14
- package/dist/esm/{icons-92a7dcde.js → icons-56ca282c.js} +104 -104
- package/dist/esm/{index-90e18641.js → index-3517583d.js} +648 -96
- package/dist/esm/{index-3c2d757b.js → index-b7165fb7.js} +168 -168
- package/dist/esm/index.js +5 -5
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{utils-729724da.js → utils-5d136bc4.js} +19 -33
- package/dist/esm/{utils-57be09c8.js → utils-c9ef6b5f.js} +13 -13
- package/dist/esm/web-components-library.js +3 -3
- package/dist/esm/z-alert.entry.js +2 -2
- package/dist/esm/z-app-header.entry.js +16 -14
- package/dist/esm/z-app-switcher_9.entry.js +159 -177
- package/dist/esm/z-aria-alert.entry.js +4 -3
- package/dist/esm/z-avatar.entry.js +9 -8
- package/dist/esm/z-body_2.entry.js +5 -3
- package/dist/esm/z-button-deprecated.entry.js +12 -9
- package/dist/esm/z-button-filter.entry.js +4 -3
- package/dist/esm/z-button-sort.entry.js +5 -6
- package/dist/esm/z-button.entry.js +10 -11
- package/dist/esm/z-candybar.entry.js +2 -2
- package/dist/esm/z-card.entry.js +16 -19
- package/dist/esm/z-carousel.entry.js +2 -2
- package/dist/esm/z-chip-deprecated.entry.js +4 -6
- package/dist/esm/z-chip.entry.js +7 -7
- package/dist/esm/z-combobox.entry.js +30 -26
- package/dist/esm/z-contextual-menu.entry.js +5 -10
- package/dist/esm/z-cookiebar.entry.js +6 -7
- package/dist/esm/z-cover-hero.entry.js +6 -5
- package/dist/esm/z-date-picker.entry.js +39 -46
- package/dist/esm/z-dragdrop-area_2.entry.js +4 -3
- package/dist/esm/z-file-upload.entry.js +18 -20
- package/dist/esm/z-file.entry.js +4 -4
- package/dist/esm/z-footer-link_3.entry.js +4 -4
- package/dist/esm/z-footer.entry.js +13 -16
- package/dist/esm/z-ghost-loading.entry.js +3 -3
- package/dist/esm/z-icon-package.entry.js +3 -4
- package/dist/esm/z-info-box.entry.js +3 -3
- package/dist/esm/z-info-reveal.entry.js +9 -8
- package/dist/esm/z-input-deprecated.entry.js +55 -67
- package/dist/esm/z-input-label_2.entry.js +40 -36
- package/dist/esm/z-list-group.entry.js +7 -7
- package/dist/esm/z-list_2.entry.js +12 -12
- package/dist/esm/z-menu-dropdown_2.entry.js +10 -11
- package/dist/esm/z-menu-section.entry.js +3 -3
- package/dist/esm/z-menu.entry.js +10 -13
- package/dist/esm/z-messages-pocket.entry.js +7 -7
- package/dist/esm/z-modal-login.entry.js +17 -15
- package/dist/esm/z-modal.entry.js +3 -6
- package/dist/esm/z-myz-card-alert.entry.js +8 -8
- package/dist/esm/z-myz-card-dictionary.entry.js +4 -4
- package/dist/esm/z-myz-card-footer-sections.entry.js +2 -2
- package/dist/esm/z-myz-card-footer.entry.js +11 -10
- package/dist/esm/z-myz-card-icon.entry.js +2 -2
- package/dist/esm/z-myz-card-info.entry.js +27 -17
- package/dist/esm/z-myz-card-list.entry.js +4 -3
- package/dist/esm/z-myz-card_4.entry.js +17 -13
- package/dist/esm/z-myz-list-item.entry.js +4 -4
- package/dist/esm/z-myz-topbar.entry.js +35 -39
- package/dist/esm/z-navigation-tab-link.entry.js +11 -11
- package/dist/esm/z-navigation-tab.entry.js +12 -12
- package/dist/esm/z-navigation-tabs.entry.js +21 -21
- package/dist/esm/z-notification.entry.js +3 -8
- package/dist/esm/z-offcanvas.entry.js +12 -15
- package/dist/esm/z-otp.entry.js +18 -18
- package/dist/esm/z-pagination-bar.entry.js +13 -25
- package/dist/esm/z-pagination-page.entry.js +2 -2
- package/dist/esm/z-pagination.entry.js +14 -17
- package/dist/esm/z-panel-elem.entry.js +4 -4
- package/dist/esm/z-pocket-message.entry.js +3 -3
- package/dist/esm/z-pocket_3.entry.js +19 -19
- package/dist/esm/z-popover-deprecated.entry.js +17 -14
- package/dist/esm/z-popover.entry.js +37 -55
- package/dist/esm/z-section-title.entry.js +5 -14
- package/dist/esm/z-skip-to-content.entry.js +19 -21
- package/dist/esm/z-slideshow.entry.js +29 -12
- package/dist/esm/z-status-tag.entry.js +9 -9
- package/dist/esm/z-stepper-item.entry.js +2 -2
- package/dist/esm/z-stepper.entry.js +3 -3
- package/dist/esm/z-table-body.entry.js +1 -1
- package/dist/esm/z-table-cell.entry.js +11 -11
- package/dist/esm/z-table-empty-box.entry.js +6 -7
- package/dist/esm/z-table-expanded-row.entry.js +2 -2
- package/dist/esm/z-table-footer.entry.js +1 -1
- package/dist/esm/z-table-head.entry.js +1 -1
- package/dist/esm/z-table-header-row.entry.js +4 -4
- package/dist/esm/z-table-header.entry.js +18 -21
- package/dist/esm/z-table-row.entry.js +9 -9
- package/dist/esm/z-table-sticky-footer.entry.js +3 -3
- package/dist/esm/z-table.entry.js +7 -9
- package/dist/esm/z-tag.entry.js +3 -3
- package/dist/esm/z-toast-notification-list.entry.js +17 -17
- package/dist/esm/z-toast-notification.entry.js +38 -41
- package/dist/esm/z-toggle-button.entry.js +8 -10
- package/dist/esm/z-toggle-switch.entry.js +19 -17
- package/dist/esm/z-tooltip-deprecated.entry.js +36 -47
- package/dist/esm/z-tooltip.entry.js +4 -4
- package/dist/esm/z-user-dropdown.entry.js +6 -8
- package/dist/esm/z-visually-hidden.entry.js +2 -2
- package/dist/types/beans/index.d.ts +171 -174
- package/dist/types/components/buttons/z-button/index.d.ts +6 -13
- package/dist/types/components/buttons/z-button-sort/index.d.ts +4 -4
- package/dist/types/components/buttons/z-chip/index.d.ts +4 -4
- package/dist/types/components/buttons/z-toggle-button/index.d.ts +2 -3
- package/dist/types/components/buttons/z-toggle-switch/index.d.ts +11 -5
- package/dist/types/components/date-picker/utils.d.ts +4 -4
- package/dist/types/components/date-picker/z-date-picker/index.d.ts +7 -8
- package/dist/types/components/date-picker/z-range-picker/index.d.ts +11 -13
- package/dist/types/components/file-upload/z-dragdrop-area/index.d.ts +3 -3
- package/dist/types/components/file-upload/z-file/index.d.ts +7 -5
- package/dist/types/components/file-upload/z-file-upload/index.d.ts +18 -17
- package/dist/types/components/footer/z-footer/index.d.ts +15 -15
- package/dist/types/components/footer/z-footer-section/index.d.ts +1 -1
- package/dist/types/components/footer/z-footer-social/index.d.ts +1 -1
- package/dist/types/components/icons/icons.d.ts +1 -1
- package/dist/types/components/icons/z-icon/index.d.ts +3 -3
- package/dist/types/components/icons/z-icon-package/index.d.ts +1 -1
- package/dist/types/components/indicators/z-stepper/index.d.ts +1 -1
- package/dist/types/components/indicators/z-stepper-item/index.d.ts +1 -1
- package/dist/types/components/inputs/z-combobox/index.d.ts +14 -15
- package/dist/types/components/inputs/z-input/index.d.ts +25 -46
- package/dist/types/components/inputs/z-input-message/index.d.ts +4 -3
- package/dist/types/components/inputs/z-select/index.d.ts +23 -23
- package/dist/types/components/list/z-list/index.d.ts +4 -3
- package/dist/types/components/list/z-list-element/index.d.ts +11 -7
- package/dist/types/components/list/z-list-group/index.d.ts +4 -3
- package/dist/types/components/list/z-toast-notification-list/index.d.ts +6 -6
- package/dist/types/components/logo/z-logo/index.d.ts +2 -1
- package/dist/types/components/modal/z-modal/index.d.ts +5 -4
- package/dist/types/components/modal/z-modal-login/index.d.ts +13 -14
- package/dist/types/components/navigation/tabs/z-navigation-tab/index.d.ts +9 -8
- package/dist/types/components/navigation/tabs/z-navigation-tab-link/index.d.ts +9 -8
- package/dist/types/components/navigation/tabs/z-navigation-tabs/index.d.ts +10 -9
- package/dist/types/components/navigation/z-app-header/index.d.ts +11 -10
- package/dist/types/components/navigation/z-app-switcher/index.d.ts +4 -4
- package/dist/types/components/navigation/z-app-topbar/index.d.ts +3 -2
- package/dist/types/components/navigation/z-link/index.d.ts +6 -7
- package/dist/types/components/navigation/z-menu/index.d.ts +7 -6
- package/dist/types/components/navigation/z-menu-dropdown/index.d.ts +7 -7
- package/dist/types/components/navigation/z-menu-section/index.d.ts +8 -6
- package/dist/types/components/navigation/z-user-dropdown/index.d.ts +10 -9
- package/dist/types/components/notification/z-candybar/index.d.ts +1 -1
- package/dist/types/components/notification/z-cookiebar/index.d.ts +6 -6
- package/dist/types/components/notification/z-info-box/index.d.ts +3 -3
- package/dist/types/components/notification/z-notification/index.d.ts +6 -5
- package/dist/types/components/notification/z-toast-notification/index.d.ts +20 -19
- package/dist/types/components/notification/z-tooltip/index.d.ts +2 -2
- package/dist/types/components/panel/z-panel-elem/index.d.ts +4 -4
- package/dist/types/components/typography/z-body/index.d.ts +4 -1
- package/dist/types/components/typography/z-heading/index.d.ts +4 -1
- package/dist/types/components/typography/z-typography/index.d.ts +8 -4
- package/dist/types/components/z-aria-alert/index.d.ts +5 -2
- package/dist/types/components/z-avatar/index.d.ts +3 -2
- package/dist/types/components/z-card/index.d.ts +7 -6
- package/dist/types/components/z-carousel/index.d.ts +1 -1
- package/dist/types/components/z-contextual-menu/index.d.ts +4 -3
- package/dist/types/components/z-cover-hero/index.d.ts +3 -2
- package/dist/types/components/z-divider/index.d.ts +2 -1
- package/dist/types/components/z-ghost-loading/index.d.ts +2 -1
- package/dist/types/components/z-info-reveal/index.d.ts +9 -7
- package/dist/types/components/z-offcanvas/index.d.ts +9 -8
- package/dist/types/components/z-pagination/index.d.ts +14 -13
- package/dist/types/components/z-popover/index.d.ts +7 -7
- package/dist/types/components/z-section-title/index.d.ts +5 -4
- package/dist/types/components/z-skip-to-content/index.d.ts +8 -8
- package/dist/types/components/z-table/z-table/index.d.ts +5 -4
- package/dist/types/components/z-table/z-table-body/index.d.ts +2 -2
- package/dist/types/components/z-table/z-table-cell/index.d.ts +4 -3
- package/dist/types/components/z-table/z-table-empty-box/index.d.ts +5 -4
- package/dist/types/components/z-table/z-table-expanded-row/index.d.ts +1 -1
- package/dist/types/components/z-table/z-table-footer/index.d.ts +2 -2
- package/dist/types/components/z-table/z-table-head/index.d.ts +2 -2
- package/dist/types/components/z-table/z-table-header/index.d.ts +9 -7
- package/dist/types/components/z-table/z-table-header-row/index.d.ts +4 -2
- package/dist/types/components/z-table/z-table-row/index.d.ts +7 -4
- package/dist/types/components/z-table/z-table-sticky-footer/index.d.ts +1 -1
- package/dist/types/components/z-tag/index.d.ts +2 -1
- package/dist/types/components/z-visually-hidden/index.d.ts +1 -1
- package/dist/types/components.d.ts +500 -137
- package/dist/types/deprecated/pagination/z-pagination-bar/index.d.ts +14 -16
- package/dist/types/deprecated/pagination/z-pagination-page/index.d.ts +1 -1
- package/dist/types/deprecated/z-button-deprecated/index.d.ts +5 -5
- package/dist/types/deprecated/z-button-filter/index.d.ts +6 -6
- package/dist/types/deprecated/z-chip-deprecated/index.d.ts +3 -1
- package/dist/types/deprecated/z-input-deprecated/index.d.ts +23 -34
- package/dist/types/deprecated/z-input-label/index.d.ts +1 -1
- package/dist/types/deprecated/z-popover-deprecated/index.d.ts +8 -7
- package/dist/types/deprecated/z-status-tag/index.d.ts +2 -1
- package/dist/types/deprecated/z-tooltip-deprecated/index.d.ts +4 -3
- package/dist/types/index.d.ts +4 -3
- package/dist/types/snowflakes/myz/card/z-myz-card/index.d.ts +2 -2
- package/dist/types/snowflakes/myz/card/z-myz-card-alert/index.d.ts +6 -7
- package/dist/types/snowflakes/myz/card/z-myz-card-body/index.d.ts +1 -1
- package/dist/types/snowflakes/myz/card/z-myz-card-cover/index.d.ts +2 -2
- package/dist/types/snowflakes/myz/card/z-myz-card-dictionary/index.d.ts +2 -2
- package/dist/types/snowflakes/myz/card/z-myz-card-footer/index.d.ts +6 -12
- package/dist/types/snowflakes/myz/card/z-myz-card-footer-sections/index.d.ts +1 -1
- package/dist/types/snowflakes/myz/card/z-myz-card-header/index.d.ts +4 -9
- package/dist/types/snowflakes/myz/card/z-myz-card-icon/index.d.ts +1 -1
- package/dist/types/snowflakes/myz/card/z-myz-card-info/index.d.ts +12 -12
- package/dist/types/snowflakes/myz/card/z-myz-card-list/index.d.ts +4 -5
- package/dist/types/snowflakes/myz/list/z-myz-list/index.d.ts +2 -2
- package/dist/types/snowflakes/myz/list/z-myz-list-item/index.d.ts +3 -3
- package/dist/types/snowflakes/myz/pocket/z-messages-pocket/index.d.ts +3 -3
- package/dist/types/snowflakes/myz/pocket/z-pocket/index.d.ts +4 -4
- package/dist/types/snowflakes/myz/pocket/z-pocket-body/index.d.ts +1 -1
- package/dist/types/snowflakes/myz/pocket/z-pocket-header/index.d.ts +3 -3
- package/dist/types/snowflakes/myz/pocket/z-pocket-message/index.d.ts +1 -1
- package/dist/types/snowflakes/myz/topbar/index.d.ts +22 -24
- package/dist/types/snowflakes/myz/z-alert/index.d.ts +1 -1
- package/dist/types/snowflakes/myz/z-otp/index.d.ts +8 -4
- package/dist/types/snowflakes/myz/z-slideshow/index.d.ts +12 -12
- package/dist/types/utils/utils.d.ts +12 -5
- package/dist/web-components-library/index.esm.js +1 -1
- package/dist/web-components-library/{p-8f030e78.entry.js → p-00fd5cac.entry.js} +1 -1
- package/dist/web-components-library/p-01cbf6d4.entry.js +1 -0
- package/{www/build/p-596da333.entry.js → dist/web-components-library/p-02f14544.entry.js} +1 -1
- package/dist/web-components-library/p-0617465e.entry.js +1 -0
- package/dist/web-components-library/p-06f54c19.entry.js +1 -0
- package/dist/web-components-library/p-0ad2c8ca.entry.js +1 -0
- package/dist/web-components-library/{p-8cf3798f.entry.js → p-0af8d806.entry.js} +1 -1
- package/dist/web-components-library/p-14f11a64.entry.js +1 -0
- package/dist/web-components-library/p-1668ec30.entry.js +1 -0
- package/dist/web-components-library/p-2177384f.entry.js +1 -0
- package/dist/web-components-library/p-25769717.entry.js +1 -0
- package/dist/web-components-library/p-25b8e583.entry.js +1 -0
- package/dist/web-components-library/p-2772f005.entry.js +1 -0
- package/dist/web-components-library/{p-4aaf3433.entry.js → p-2acf124c.entry.js} +1 -1
- package/dist/web-components-library/p-2e2ae623.entry.js +1 -0
- package/dist/web-components-library/p-311f5e7a.entry.js +16 -0
- package/dist/web-components-library/p-3124aed0.entry.js +1 -0
- package/dist/web-components-library/p-31604337.entry.js +1 -0
- package/dist/web-components-library/{p-0ab1b40f.entry.js → p-32baba0e.entry.js} +1 -1
- package/dist/web-components-library/p-348c5ada.entry.js +1 -0
- package/dist/web-components-library/{p-105b82a6.entry.js → p-363c7e45.entry.js} +1 -1
- package/dist/web-components-library/{p-6baa8e33.entry.js → p-3b974737.entry.js} +1 -1
- package/dist/web-components-library/{p-7b054eb2.entry.js → p-3c463e59.entry.js} +1 -1
- package/dist/web-components-library/p-41b8390e.entry.js +1 -0
- package/dist/web-components-library/{p-a94f78b4.entry.js → p-41dbc6f1.entry.js} +1 -1
- package/dist/web-components-library/p-48134f75.entry.js +1 -0
- package/dist/web-components-library/p-4fe96235.entry.js +1 -0
- package/dist/web-components-library/p-53d9ac21.entry.js +1 -0
- package/dist/web-components-library/p-5a8bdc47.entry.js +1 -0
- package/dist/web-components-library/p-5f5725ce.entry.js +1 -0
- package/dist/web-components-library/p-5fe820fe.entry.js +1 -0
- package/dist/web-components-library/p-6106b802.entry.js +1 -0
- package/dist/web-components-library/p-613cc3b2.entry.js +1 -0
- package/dist/web-components-library/p-621ccd34.entry.js +1 -0
- package/dist/web-components-library/p-6852e978.entry.js +1 -0
- package/dist/web-components-library/p-6a53a0d8.entry.js +1 -0
- package/dist/web-components-library/p-6b7f7ac9.entry.js +1 -0
- package/dist/web-components-library/p-6de8783e.entry.js +1 -0
- package/dist/web-components-library/p-6e01660c.entry.js +1 -0
- package/dist/web-components-library/p-6fa0cef6.entry.js +1 -0
- package/dist/web-components-library/p-71ff9b83.entry.js +1 -0
- package/dist/web-components-library/p-747ad8dc.entry.js +1 -0
- package/dist/web-components-library/p-773cc0f3.entry.js +1 -0
- package/dist/web-components-library/p-792a7ea0.entry.js +1 -0
- package/dist/web-components-library/p-79940e8f.entry.js +1 -0
- package/dist/web-components-library/p-79c9cf77.entry.js +1 -0
- package/dist/web-components-library/p-7a9d3944.entry.js +1 -0
- package/dist/web-components-library/p-7d6e5930.entry.js +1 -0
- package/dist/web-components-library/p-810276c9.entry.js +1 -0
- package/dist/web-components-library/p-8158fe3c.js +1 -0
- package/dist/web-components-library/{p-bd772b8a.entry.js → p-834a3866.entry.js} +1 -1
- package/dist/web-components-library/p-83ee9630.entry.js +1 -0
- package/dist/web-components-library/p-87942fb9.entry.js +1 -0
- package/dist/web-components-library/{p-2c836d42.entry.js → p-88b9d5b4.entry.js} +1 -1
- package/dist/web-components-library/{p-a93d5b8c.entry.js → p-88de0323.entry.js} +1 -1
- package/dist/web-components-library/p-940352dc.entry.js +1 -0
- package/dist/web-components-library/p-9a75f3f8.entry.js +1 -0
- package/dist/web-components-library/p-9c0df331.entry.js +1 -0
- package/dist/web-components-library/p-a55ef7b5.entry.js +1 -0
- package/dist/web-components-library/p-aae7a242.entry.js +1 -0
- package/dist/web-components-library/p-ae2dd723.entry.js +1 -0
- package/dist/web-components-library/p-af6789f2.entry.js +1 -0
- package/dist/web-components-library/p-b1b66050.entry.js +1 -0
- package/{www/build/p-42b0972c.js → dist/web-components-library/p-b2d16b41.js} +1 -1
- package/{www/build/p-e6ac4dc4.entry.js → dist/web-components-library/p-b2ee6ded.entry.js} +1 -1
- package/dist/web-components-library/{p-bfa3593e.js → p-b33f1112.js} +1 -1
- package/dist/web-components-library/p-b366ef8e.js +2 -0
- package/{www/build/p-f31b8e83.js → dist/web-components-library/p-b4e14eed.js} +1 -1
- package/dist/web-components-library/{p-1c413074.entry.js → p-b50ee2a8.entry.js} +1 -1
- package/dist/web-components-library/p-b9de57a3.entry.js +1 -0
- package/dist/web-components-library/p-bb684454.entry.js +1 -0
- package/dist/web-components-library/p-bc65252e.entry.js +1 -0
- package/dist/web-components-library/p-bd70bbcc.entry.js +1 -0
- package/dist/web-components-library/p-c0d382bc.entry.js +1 -0
- package/dist/web-components-library/p-c1c6988e.entry.js +1 -0
- package/dist/web-components-library/p-c26d641f.entry.js +1 -0
- package/dist/web-components-library/p-c4b70baa.entry.js +1 -0
- package/dist/web-components-library/p-c5ecf36a.entry.js +1 -0
- package/dist/web-components-library/{p-1196b959.entry.js → p-cfe78918.entry.js} +1 -1
- package/dist/web-components-library/p-dd74911c.entry.js +1 -0
- package/dist/web-components-library/p-e137a17f.entry.js +1 -0
- package/dist/web-components-library/p-e1cbcb1e.entry.js +1 -0
- package/dist/web-components-library/{p-1ff7bde5.entry.js → p-e3176170.entry.js} +1 -1
- package/dist/web-components-library/p-e45c7aeb.entry.js +1 -0
- package/dist/web-components-library/p-eb612914.entry.js +1 -0
- package/dist/web-components-library/p-efdca379.entry.js +1 -0
- package/dist/web-components-library/{p-e17ca1a1.entry.js → p-f0a63044.entry.js} +1 -1
- package/dist/web-components-library/p-f24a4525.entry.js +1 -0
- package/dist/web-components-library/p-f6ff5bc5.entry.js +1 -0
- package/dist/web-components-library/p-f94ad50d.entry.js +1 -0
- package/dist/web-components-library/p-fddbe121.entry.js +1 -0
- package/dist/web-components-library/p-ff000765.entry.js +1 -0
- package/dist/web-components-library/p-ff0fc090.entry.js +1 -0
- package/dist/web-components-library/p-ffacff3f.entry.js +1 -0
- package/dist/web-components-library/web-components-library.esm.js +1 -1
- package/loader/package.json +1 -0
- package/package.json +24 -17
- package/react/index.d.ts +1 -1
- package/readme.md +91 -33
- package/src-react/index.ts +1 -1
- package/www/build/index.esm.js +1 -1
- package/www/build/{p-8f030e78.entry.js → p-00fd5cac.entry.js} +1 -1
- package/www/build/p-01cbf6d4.entry.js +1 -0
- package/{dist/web-components-library/p-596da333.entry.js → www/build/p-02f14544.entry.js} +1 -1
- package/www/build/p-0617465e.entry.js +1 -0
- package/www/build/p-06f54c19.entry.js +1 -0
- package/www/build/p-0ad2c8ca.entry.js +1 -0
- package/www/build/{p-8cf3798f.entry.js → p-0af8d806.entry.js} +1 -1
- package/www/build/p-14f11a64.entry.js +1 -0
- package/www/build/p-1668ec30.entry.js +1 -0
- package/www/build/p-2177384f.entry.js +1 -0
- package/www/build/p-25769717.entry.js +1 -0
- package/www/build/p-25b8e583.entry.js +1 -0
- package/www/build/p-2772f005.entry.js +1 -0
- package/www/build/{p-4aaf3433.entry.js → p-2acf124c.entry.js} +1 -1
- package/www/build/p-2e2ae623.entry.js +1 -0
- package/www/build/p-311f5e7a.entry.js +16 -0
- package/www/build/p-3124aed0.entry.js +1 -0
- package/www/build/p-31604337.entry.js +1 -0
- package/www/build/{p-0ab1b40f.entry.js → p-32baba0e.entry.js} +1 -1
- package/www/build/p-348c5ada.entry.js +1 -0
- package/www/build/{p-105b82a6.entry.js → p-363c7e45.entry.js} +1 -1
- package/www/build/{p-6baa8e33.entry.js → p-3b974737.entry.js} +1 -1
- package/www/build/{p-7b054eb2.entry.js → p-3c463e59.entry.js} +1 -1
- package/www/build/p-41b8390e.entry.js +1 -0
- package/www/build/{p-a94f78b4.entry.js → p-41dbc6f1.entry.js} +1 -1
- package/www/build/p-48134f75.entry.js +1 -0
- package/www/build/p-4fe96235.entry.js +1 -0
- package/www/build/p-53d9ac21.entry.js +1 -0
- package/www/build/p-5a8bdc47.entry.js +1 -0
- package/www/build/p-5f5725ce.entry.js +1 -0
- package/www/build/p-5fe820fe.entry.js +1 -0
- package/www/build/p-6106b802.entry.js +1 -0
- package/www/build/p-613cc3b2.entry.js +1 -0
- package/www/build/p-621ccd34.entry.js +1 -0
- package/www/build/p-6852e978.entry.js +1 -0
- package/www/build/p-6a53a0d8.entry.js +1 -0
- package/www/build/p-6b7f7ac9.entry.js +1 -0
- package/www/build/p-6de8783e.entry.js +1 -0
- package/www/build/p-6e01660c.entry.js +1 -0
- package/www/build/p-6fa0cef6.entry.js +1 -0
- package/www/build/p-71ff9b83.entry.js +1 -0
- package/www/build/p-747ad8dc.entry.js +1 -0
- package/www/build/p-773cc0f3.entry.js +1 -0
- package/www/build/p-792a7ea0.entry.js +1 -0
- package/www/build/p-79940e8f.entry.js +1 -0
- package/www/build/p-79c9cf77.entry.js +1 -0
- package/www/build/p-7a9d3944.entry.js +1 -0
- package/www/build/p-7d6e5930.entry.js +1 -0
- package/www/build/p-810276c9.entry.js +1 -0
- package/www/build/p-8158fe3c.js +1 -0
- package/www/build/{p-bd772b8a.entry.js → p-834a3866.entry.js} +1 -1
- package/www/build/p-83ee9630.entry.js +1 -0
- package/www/build/p-87942fb9.entry.js +1 -0
- package/www/build/{p-2c836d42.entry.js → p-88b9d5b4.entry.js} +1 -1
- package/www/build/{p-a93d5b8c.entry.js → p-88de0323.entry.js} +1 -1
- package/www/build/p-8a9e2dd1.js +1 -0
- package/www/build/p-940352dc.entry.js +1 -0
- package/www/build/p-9a75f3f8.entry.js +1 -0
- package/www/build/p-9c0df331.entry.js +1 -0
- package/www/build/p-a55ef7b5.entry.js +1 -0
- package/www/build/p-aae7a242.entry.js +1 -0
- package/www/build/p-ae2dd723.entry.js +1 -0
- package/www/build/p-af6789f2.entry.js +1 -0
- package/www/build/p-b1b66050.entry.js +1 -0
- package/{dist/web-components-library/p-42b0972c.js → www/build/p-b2d16b41.js} +1 -1
- package/{dist/web-components-library/p-e6ac4dc4.entry.js → www/build/p-b2ee6ded.entry.js} +1 -1
- package/www/build/{p-bfa3593e.js → p-b33f1112.js} +1 -1
- package/www/build/p-b366ef8e.js +2 -0
- package/{dist/web-components-library/p-f31b8e83.js → www/build/p-b4e14eed.js} +1 -1
- package/www/build/{p-1c413074.entry.js → p-b50ee2a8.entry.js} +1 -1
- package/www/build/p-b9de57a3.entry.js +1 -0
- package/www/build/p-bb684454.entry.js +1 -0
- package/www/build/p-bc65252e.entry.js +1 -0
- package/www/build/p-bd70bbcc.entry.js +1 -0
- package/www/build/p-c0d382bc.entry.js +1 -0
- package/www/build/p-c1c6988e.entry.js +1 -0
- package/www/build/p-c26d641f.entry.js +1 -0
- package/www/build/p-c4b70baa.entry.js +1 -0
- package/www/build/p-c5ecf36a.entry.js +1 -0
- package/www/build/{p-1196b959.entry.js → p-cfe78918.entry.js} +1 -1
- package/www/build/p-dd74911c.entry.js +1 -0
- package/www/build/p-e137a17f.entry.js +1 -0
- package/www/build/p-e1cbcb1e.entry.js +1 -0
- package/www/build/{p-1ff7bde5.entry.js → p-e3176170.entry.js} +1 -1
- package/www/build/p-e45c7aeb.entry.js +1 -0
- package/www/build/p-eb612914.entry.js +1 -0
- package/www/build/p-efdca379.entry.js +1 -0
- package/www/build/{p-e17ca1a1.entry.js → p-f0a63044.entry.js} +1 -1
- package/www/build/p-f24a4525.entry.js +1 -0
- package/www/build/p-f6ff5bc5.entry.js +1 -0
- package/www/build/p-f94ad50d.entry.js +1 -0
- package/www/build/p-fddbe121.entry.js +1 -0
- package/www/build/p-ff000765.entry.js +1 -0
- package/www/build/p-ff0fc090.entry.js +1 -0
- package/www/build/p-ffacff3f.entry.js +1 -0
- package/www/build/web-components-library.esm.js +1 -1
- package/www/index.html +1 -1
- package/www/pages/file-upload.html +16 -4
- package/www/pages/notification.html +153 -69
- package/dist/cjs/index-1fda0714.js +0 -60
- package/dist/esm/index-abb47b30.js +0 -58
- package/dist/web-components-library/p-02474663.entry.js +0 -1
- package/dist/web-components-library/p-02681c05.entry.js +0 -1
- package/dist/web-components-library/p-0aa9746a.entry.js +0 -1
- package/dist/web-components-library/p-104b70e5.entry.js +0 -1
- package/dist/web-components-library/p-1906915c.entry.js +0 -1
- package/dist/web-components-library/p-1e6aff0f.entry.js +0 -1
- package/dist/web-components-library/p-223566d6.entry.js +0 -1
- package/dist/web-components-library/p-286363e2.js +0 -7
- package/dist/web-components-library/p-29e8a12c.entry.js +0 -1
- package/dist/web-components-library/p-2de00f19.entry.js +0 -1
- package/dist/web-components-library/p-33f74396.entry.js +0 -1
- package/dist/web-components-library/p-3fc438b7.entry.js +0 -1
- package/dist/web-components-library/p-41c5beec.entry.js +0 -1
- package/dist/web-components-library/p-46a6341a.entry.js +0 -1
- package/dist/web-components-library/p-4d9667dc.entry.js +0 -1
- package/dist/web-components-library/p-51130281.entry.js +0 -1
- package/dist/web-components-library/p-5789bbe7.entry.js +0 -1
- package/dist/web-components-library/p-578a5ad1.entry.js +0 -1
- package/dist/web-components-library/p-5ae44c56.entry.js +0 -1
- package/dist/web-components-library/p-6375f662.entry.js +0 -1
- package/dist/web-components-library/p-6bb8de3e.entry.js +0 -1
- package/dist/web-components-library/p-71034a6f.entry.js +0 -1
- package/dist/web-components-library/p-710cec6d.entry.js +0 -1
- package/dist/web-components-library/p-7171717f.entry.js +0 -1
- package/dist/web-components-library/p-71e8c2af.entry.js +0 -1
- package/dist/web-components-library/p-78e26102.entry.js +0 -1
- package/dist/web-components-library/p-79408b00.entry.js +0 -1
- package/dist/web-components-library/p-7d37e4a8.entry.js +0 -16
- package/dist/web-components-library/p-7ebb03d8.entry.js +0 -1
- package/dist/web-components-library/p-7f2fa336.entry.js +0 -1
- package/dist/web-components-library/p-8468d87e.entry.js +0 -1
- package/dist/web-components-library/p-8e4d7f5d.entry.js +0 -1
- package/dist/web-components-library/p-9260abad.entry.js +0 -1
- package/dist/web-components-library/p-92cc171f.entry.js +0 -1
- package/dist/web-components-library/p-9352da73.entry.js +0 -1
- package/dist/web-components-library/p-953a07d5.entry.js +0 -1
- package/dist/web-components-library/p-97ae16a0.entry.js +0 -1
- package/dist/web-components-library/p-98268a57.js +0 -1
- package/dist/web-components-library/p-9c7cf598.entry.js +0 -1
- package/dist/web-components-library/p-9fb79d74.entry.js +0 -1
- package/dist/web-components-library/p-a5232d04.entry.js +0 -1
- package/dist/web-components-library/p-a54ef821.entry.js +0 -1
- package/dist/web-components-library/p-a759ab46.entry.js +0 -1
- package/dist/web-components-library/p-a9eea65b.entry.js +0 -1
- package/dist/web-components-library/p-ab5f212d.entry.js +0 -1
- package/dist/web-components-library/p-ae784c71.entry.js +0 -1
- package/dist/web-components-library/p-ae79ab08.entry.js +0 -1
- package/dist/web-components-library/p-aed2a8cf.entry.js +0 -1
- package/dist/web-components-library/p-b543005a.entry.js +0 -1
- package/dist/web-components-library/p-b574d5f6.entry.js +0 -1
- package/dist/web-components-library/p-bb20020b.entry.js +0 -1
- package/dist/web-components-library/p-bbeb6b3c.entry.js +0 -1
- package/dist/web-components-library/p-bd886dd5.entry.js +0 -1
- package/dist/web-components-library/p-c066ddf1.entry.js +0 -1
- package/dist/web-components-library/p-c284139b.entry.js +0 -1
- package/dist/web-components-library/p-c6124ee4.entry.js +0 -1
- package/dist/web-components-library/p-c730a93d.entry.js +0 -1
- package/dist/web-components-library/p-c9348925.entry.js +0 -1
- package/dist/web-components-library/p-cb13d050.entry.js +0 -1
- package/dist/web-components-library/p-cc6a5872.entry.js +0 -1
- package/dist/web-components-library/p-cf35d3cd.entry.js +0 -1
- package/dist/web-components-library/p-cf73af9a.entry.js +0 -1
- package/dist/web-components-library/p-d0d75b41.entry.js +0 -1
- package/dist/web-components-library/p-d0fea19f.entry.js +0 -1
- package/dist/web-components-library/p-d34eccf8.entry.js +0 -1
- package/dist/web-components-library/p-d4927410.entry.js +0 -1
- package/dist/web-components-library/p-d79f69f2.js +0 -1
- package/dist/web-components-library/p-e2560604.entry.js +0 -1
- package/dist/web-components-library/p-e293f91e.entry.js +0 -1
- package/dist/web-components-library/p-e6ddee24.entry.js +0 -1
- package/dist/web-components-library/p-f0d90cc2.entry.js +0 -1
- package/dist/web-components-library/p-f6a11970.entry.js +0 -1
- package/dist/web-components-library/p-f6da32c4.entry.js +0 -1
- package/dist/web-components-library/p-fd2338b2.entry.js +0 -1
- package/dist/web-components-library/p-fea2c39a.entry.js +0 -1
- package/www/build/p-02474663.entry.js +0 -1
- package/www/build/p-02681c05.entry.js +0 -1
- package/www/build/p-0aa9746a.entry.js +0 -1
- package/www/build/p-104b70e5.entry.js +0 -1
- package/www/build/p-1906915c.entry.js +0 -1
- package/www/build/p-1e6aff0f.entry.js +0 -1
- package/www/build/p-223566d6.entry.js +0 -1
- package/www/build/p-286363e2.js +0 -7
- package/www/build/p-29e8a12c.entry.js +0 -1
- package/www/build/p-2de00f19.entry.js +0 -1
- package/www/build/p-33f74396.entry.js +0 -1
- package/www/build/p-363f4c73.js +0 -1
- package/www/build/p-3fc438b7.entry.js +0 -1
- package/www/build/p-41c5beec.entry.js +0 -1
- package/www/build/p-46a6341a.entry.js +0 -1
- package/www/build/p-4d9667dc.entry.js +0 -1
- package/www/build/p-51130281.entry.js +0 -1
- package/www/build/p-5789bbe7.entry.js +0 -1
- package/www/build/p-578a5ad1.entry.js +0 -1
- package/www/build/p-5ae44c56.entry.js +0 -1
- package/www/build/p-6375f662.entry.js +0 -1
- package/www/build/p-6bb8de3e.entry.js +0 -1
- package/www/build/p-71034a6f.entry.js +0 -1
- package/www/build/p-710cec6d.entry.js +0 -1
- package/www/build/p-7171717f.entry.js +0 -1
- package/www/build/p-71e8c2af.entry.js +0 -1
- package/www/build/p-78e26102.entry.js +0 -1
- package/www/build/p-79408b00.entry.js +0 -1
- package/www/build/p-7d37e4a8.entry.js +0 -16
- package/www/build/p-7ebb03d8.entry.js +0 -1
- package/www/build/p-7f2fa336.entry.js +0 -1
- package/www/build/p-8468d87e.entry.js +0 -1
- package/www/build/p-8e4d7f5d.entry.js +0 -1
- package/www/build/p-9260abad.entry.js +0 -1
- package/www/build/p-92cc171f.entry.js +0 -1
- package/www/build/p-9352da73.entry.js +0 -1
- package/www/build/p-953a07d5.entry.js +0 -1
- package/www/build/p-97ae16a0.entry.js +0 -1
- package/www/build/p-98268a57.js +0 -1
- package/www/build/p-9c7cf598.entry.js +0 -1
- package/www/build/p-9fb79d74.entry.js +0 -1
- package/www/build/p-a5232d04.entry.js +0 -1
- package/www/build/p-a54ef821.entry.js +0 -1
- package/www/build/p-a759ab46.entry.js +0 -1
- package/www/build/p-a9eea65b.entry.js +0 -1
- package/www/build/p-ab5f212d.entry.js +0 -1
- package/www/build/p-ae784c71.entry.js +0 -1
- package/www/build/p-ae79ab08.entry.js +0 -1
- package/www/build/p-aed2a8cf.entry.js +0 -1
- package/www/build/p-b543005a.entry.js +0 -1
- package/www/build/p-b574d5f6.entry.js +0 -1
- package/www/build/p-bb20020b.entry.js +0 -1
- package/www/build/p-bbeb6b3c.entry.js +0 -1
- package/www/build/p-bd886dd5.entry.js +0 -1
- package/www/build/p-c066ddf1.entry.js +0 -1
- package/www/build/p-c284139b.entry.js +0 -1
- package/www/build/p-c6124ee4.entry.js +0 -1
- package/www/build/p-c730a93d.entry.js +0 -1
- package/www/build/p-c9348925.entry.js +0 -1
- package/www/build/p-cb13d050.entry.js +0 -1
- package/www/build/p-cc6a5872.entry.js +0 -1
- package/www/build/p-cf35d3cd.entry.js +0 -1
- package/www/build/p-cf73af9a.entry.js +0 -1
- package/www/build/p-d0d75b41.entry.js +0 -1
- package/www/build/p-d0fea19f.entry.js +0 -1
- package/www/build/p-d34eccf8.entry.js +0 -1
- package/www/build/p-d4927410.entry.js +0 -1
- package/www/build/p-d79f69f2.js +0 -1
- package/www/build/p-e2560604.entry.js +0 -1
- package/www/build/p-e293f91e.entry.js +0 -1
- package/www/build/p-e6ddee24.entry.js +0 -1
- package/www/build/p-f0d90cc2.entry.js +0 -1
- package/www/build/p-f6a11970.entry.js +0 -1
- package/www/build/p-f6da32c4.entry.js +0 -1
- package/www/build/p-fd2338b2.entry.js +0 -1
- package/www/build/p-fea2c39a.entry.js +0 -1
|
@@ -20,10 +20,10 @@ const plt = {
|
|
|
20
20
|
ce: (eventName, opts) => new CustomEvent(eventName, opts),
|
|
21
21
|
};
|
|
22
22
|
const promiseResolve = (v) => Promise.resolve(v);
|
|
23
|
-
const
|
|
23
|
+
const supportsConstructableStylesheets = /*@__PURE__*/ (() => {
|
|
24
24
|
try {
|
|
25
25
|
new CSSStyleSheet();
|
|
26
|
-
return typeof new CSSStyleSheet().
|
|
26
|
+
return typeof new CSSStyleSheet().replaceSync === 'function';
|
|
27
27
|
}
|
|
28
28
|
catch (e) { }
|
|
29
29
|
return false;
|
|
@@ -43,7 +43,7 @@ const addHostEventListeners = (elm, hostRef, listeners, attachParentListeners) =
|
|
|
43
43
|
const hostListenerProxy = (hostRef, methodName) => (ev) => {
|
|
44
44
|
try {
|
|
45
45
|
{
|
|
46
|
-
if (hostRef.$flags$ & 256 /* isListenReady */) {
|
|
46
|
+
if (hostRef.$flags$ & 256 /* HOST_FLAGS.isListenReady */) {
|
|
47
47
|
// instance is ready, let's call it's member method for this event
|
|
48
48
|
hostRef.$lazyInstance$[methodName](ev);
|
|
49
49
|
}
|
|
@@ -57,16 +57,16 @@ const hostListenerProxy = (hostRef, methodName) => (ev) => {
|
|
|
57
57
|
}
|
|
58
58
|
};
|
|
59
59
|
const getHostListenerTarget = (elm, flags) => {
|
|
60
|
-
if (flags & 4 /* TargetDocument */)
|
|
60
|
+
if (flags & 4 /* LISTENER_FLAGS.TargetDocument */)
|
|
61
61
|
return doc;
|
|
62
|
-
if (flags & 8 /* TargetWindow */)
|
|
62
|
+
if (flags & 8 /* LISTENER_FLAGS.TargetWindow */)
|
|
63
63
|
return win;
|
|
64
|
-
if (flags & 16 /* TargetBody */)
|
|
64
|
+
if (flags & 16 /* LISTENER_FLAGS.TargetBody */)
|
|
65
65
|
return doc.body;
|
|
66
66
|
return elm;
|
|
67
67
|
};
|
|
68
68
|
// prettier-ignore
|
|
69
|
-
const hostListenerOpts = (flags) => (flags & 2 /* Capture */) !== 0;
|
|
69
|
+
const hostListenerOpts = (flags) => (flags & 2 /* LISTENER_FLAGS.Capture */) !== 0;
|
|
70
70
|
const HYDRATED_CSS = '{visibility:hidden}.hydrated{visibility:inherit}';
|
|
71
71
|
const XLINK_NS = 'http://www.w3.org/1999/xlink';
|
|
72
72
|
const createTime = (fnName, tagName = '') => {
|
|
@@ -83,12 +83,17 @@ const uniqueTime = (key, measureText) => {
|
|
|
83
83
|
};
|
|
84
84
|
}
|
|
85
85
|
};
|
|
86
|
-
const rootAppliedStyles = new WeakMap();
|
|
86
|
+
const rootAppliedStyles = /*@__PURE__*/ new WeakMap();
|
|
87
87
|
const registerStyle = (scopeId, cssText, allowCS) => {
|
|
88
88
|
let style = styles.get(scopeId);
|
|
89
|
-
if (
|
|
89
|
+
if (supportsConstructableStylesheets && allowCS) {
|
|
90
90
|
style = (style || new CSSStyleSheet());
|
|
91
|
-
style
|
|
91
|
+
if (typeof style === 'string') {
|
|
92
|
+
style = cssText;
|
|
93
|
+
}
|
|
94
|
+
else {
|
|
95
|
+
style.replaceSync(cssText);
|
|
96
|
+
}
|
|
92
97
|
}
|
|
93
98
|
else {
|
|
94
99
|
style = cssText;
|
|
@@ -97,10 +102,10 @@ const registerStyle = (scopeId, cssText, allowCS) => {
|
|
|
97
102
|
};
|
|
98
103
|
const addStyle = (styleContainerNode, cmpMeta, mode, hostElm) => {
|
|
99
104
|
let scopeId = getScopeId(cmpMeta);
|
|
100
|
-
|
|
105
|
+
const style = styles.get(scopeId);
|
|
101
106
|
// if an element is NOT connected then getRootNode() will return the wrong root node
|
|
102
107
|
// so the fallback is to always use the document for the root node in those cases
|
|
103
|
-
styleContainerNode = styleContainerNode.nodeType === 11 /* DocumentFragment */ ? styleContainerNode : doc;
|
|
108
|
+
styleContainerNode = styleContainerNode.nodeType === 11 /* NODE_TYPE.DocumentFragment */ ? styleContainerNode : doc;
|
|
104
109
|
if (style) {
|
|
105
110
|
if (typeof style === 'string') {
|
|
106
111
|
styleContainerNode = styleContainerNode.head || styleContainerNode;
|
|
@@ -134,7 +139,7 @@ const attachStyles = (hostRef) => {
|
|
|
134
139
|
const flags = cmpMeta.$flags$;
|
|
135
140
|
const endAttachStyles = createTime('attachStyles', cmpMeta.$tagName$);
|
|
136
141
|
const scopeId = addStyle(elm.shadowRoot ? elm.shadowRoot : elm.getRootNode(), cmpMeta);
|
|
137
|
-
if (flags & 10 /* needsScopedEncapsulation */) {
|
|
142
|
+
if (flags & 10 /* CMP_FLAGS.needsScopedEncapsulation */) {
|
|
138
143
|
// only required when we're NOT using native shadow dom (slot)
|
|
139
144
|
// or this browser doesn't support native shadow dom
|
|
140
145
|
// and this host element was NOT created with SSR
|
|
@@ -144,7 +149,7 @@ const attachStyles = (hostRef) => {
|
|
|
144
149
|
// DOM WRITE!!
|
|
145
150
|
elm['s-sc'] = scopeId;
|
|
146
151
|
elm.classList.add(scopeId + '-h');
|
|
147
|
-
if (flags & 2 /* scopedCssEncapsulation */) {
|
|
152
|
+
if (flags & 2 /* CMP_FLAGS.scopedCssEncapsulation */) {
|
|
148
153
|
elm.classList.add(scopeId + '-s');
|
|
149
154
|
}
|
|
150
155
|
}
|
|
@@ -187,7 +192,7 @@ const h = (nodeName, vnodeData, ...children) => {
|
|
|
187
192
|
let slotName = null;
|
|
188
193
|
let simple = false;
|
|
189
194
|
let lastSimple = false;
|
|
190
|
-
|
|
195
|
+
const vNodeChildren = [];
|
|
191
196
|
const walk = (c) => {
|
|
192
197
|
for (let i = 0; i < c.length; i++) {
|
|
193
198
|
child = c[i];
|
|
@@ -362,7 +367,7 @@ const setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
|
|
|
362
367
|
if ((isProp || (isComplex && newValue !== null)) && !isSvg) {
|
|
363
368
|
try {
|
|
364
369
|
if (!elm.tagName.includes('-')) {
|
|
365
|
-
|
|
370
|
+
const n = newValue == null ? '' : newValue;
|
|
366
371
|
// Workaround for Safari, moving the <input> caret when re-assigning the same valued
|
|
367
372
|
if (memberName === 'list') {
|
|
368
373
|
isProp = false;
|
|
@@ -401,7 +406,7 @@ const setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
|
|
|
401
406
|
}
|
|
402
407
|
}
|
|
403
408
|
}
|
|
404
|
-
else if ((!isProp || flags & 4 /* isHost */ || isSvg) && !isComplex) {
|
|
409
|
+
else if ((!isProp || flags & 4 /* VNODE_FLAGS.isHost */ || isSvg) && !isComplex) {
|
|
405
410
|
newValue = newValue === true ? '' : newValue;
|
|
406
411
|
if (xlink) {
|
|
407
412
|
elm.setAttributeNS(XLINK_NS, memberName, newValue);
|
|
@@ -419,7 +424,7 @@ const updateElement = (oldVnode, newVnode, isSvgMode, memberName) => {
|
|
|
419
424
|
// if the element passed in is a shadow root, which is a document fragment
|
|
420
425
|
// then we want to be adding attrs/props to the shadow root's "host" element
|
|
421
426
|
// if it's not a shadow root, then we add attrs/props to the same element
|
|
422
|
-
const elm = newVnode.$elm$.nodeType === 11 /* DocumentFragment */ && newVnode.$elm$.host
|
|
427
|
+
const elm = newVnode.$elm$.nodeType === 11 /* NODE_TYPE.DocumentFragment */ && newVnode.$elm$.host
|
|
423
428
|
? newVnode.$elm$.host
|
|
424
429
|
: newVnode.$elm$;
|
|
425
430
|
const oldVnodeAttrs = (oldVnode && oldVnode.$attrs$) || EMPTY_OBJ;
|
|
@@ -437,9 +442,19 @@ const updateElement = (oldVnode, newVnode, isSvgMode, memberName) => {
|
|
|
437
442
|
setAccessor(elm, memberName, oldVnodeAttrs[memberName], newVnodeAttrs[memberName], isSvgMode, newVnode.$flags$);
|
|
438
443
|
}
|
|
439
444
|
};
|
|
445
|
+
/**
|
|
446
|
+
* Create a DOM Node corresponding to one of the children of a given VNode.
|
|
447
|
+
*
|
|
448
|
+
* @param oldParentVNode the parent VNode from the previous render
|
|
449
|
+
* @param newParentVNode the parent VNode from the current render
|
|
450
|
+
* @param childIndex the index of the VNode, in the _new_ parent node's
|
|
451
|
+
* children, for which we will create a new DOM node
|
|
452
|
+
* @param parentElm the parent DOM node which our new node will be a child of
|
|
453
|
+
* @returns the newly created node
|
|
454
|
+
*/
|
|
440
455
|
const createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
|
|
441
456
|
// tslint:disable-next-line: prefer-const
|
|
442
|
-
|
|
457
|
+
const newVNode = newParentVNode.$children$[childIndex];
|
|
443
458
|
let i = 0;
|
|
444
459
|
let elm;
|
|
445
460
|
let childNode;
|
|
@@ -454,16 +469,16 @@ const createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
|
|
|
454
469
|
}
|
|
455
470
|
newVNode.$flags$ |= newVNode.$children$
|
|
456
471
|
? // slot element has fallback content
|
|
457
|
-
2 /* isSlotFallback */
|
|
472
|
+
2 /* VNODE_FLAGS.isSlotFallback */
|
|
458
473
|
: // slot element does not have fallback content
|
|
459
|
-
1 /* isSlotReference */;
|
|
474
|
+
1 /* VNODE_FLAGS.isSlotReference */;
|
|
460
475
|
}
|
|
461
476
|
}
|
|
462
477
|
if (newVNode.$text$ !== null) {
|
|
463
478
|
// create text node
|
|
464
479
|
elm = newVNode.$elm$ = doc.createTextNode(newVNode.$text$);
|
|
465
480
|
}
|
|
466
|
-
else if (newVNode.$flags$ & 1 /* isSlotReference */) {
|
|
481
|
+
else if (newVNode.$flags$ & 1 /* VNODE_FLAGS.isSlotReference */) {
|
|
467
482
|
// create a slot reference node
|
|
468
483
|
elm = newVNode.$elm$ =
|
|
469
484
|
doc.createTextNode('');
|
|
@@ -473,7 +488,7 @@ const createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
|
|
|
473
488
|
isSvgMode = newVNode.$tag$ === 'svg';
|
|
474
489
|
}
|
|
475
490
|
// create element
|
|
476
|
-
elm = newVNode.$elm$ = (doc.createElementNS(isSvgMode ? SVG_NS : HTML_NS, newVNode.$flags$ & 2 /* isSlotFallback */
|
|
491
|
+
elm = newVNode.$elm$ = (doc.createElementNS(isSvgMode ? SVG_NS : HTML_NS, newVNode.$flags$ & 2 /* VNODE_FLAGS.isSlotFallback */
|
|
477
492
|
? 'slot-fb'
|
|
478
493
|
: newVNode.$tag$)
|
|
479
494
|
);
|
|
@@ -513,7 +528,7 @@ const createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
|
|
|
513
528
|
}
|
|
514
529
|
{
|
|
515
530
|
elm['s-hn'] = hostTagName;
|
|
516
|
-
if (newVNode.$flags$ & (2 /* isSlotFallback */ | 1 /* isSlotReference */)) {
|
|
531
|
+
if (newVNode.$flags$ & (2 /* VNODE_FLAGS.isSlotFallback */ | 1 /* VNODE_FLAGS.isSlotReference */)) {
|
|
517
532
|
// remember the content reference comment
|
|
518
533
|
elm['s-sr'] = true;
|
|
519
534
|
// remember the content reference comment
|
|
@@ -532,7 +547,7 @@ const createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
|
|
|
532
547
|
return elm;
|
|
533
548
|
};
|
|
534
549
|
const putBackInOriginalLocation = (parentElm, recursive) => {
|
|
535
|
-
plt.$flags$ |= 1 /* isTmpDisconnected */;
|
|
550
|
+
plt.$flags$ |= 1 /* PLATFORM_FLAGS.isTmpDisconnected */;
|
|
536
551
|
const oldSlotChildNodes = parentElm.childNodes;
|
|
537
552
|
for (let i = oldSlotChildNodes.length - 1; i >= 0; i--) {
|
|
538
553
|
const childNode = oldSlotChildNodes[i];
|
|
@@ -553,7 +568,7 @@ const putBackInOriginalLocation = (parentElm, recursive) => {
|
|
|
553
568
|
putBackInOriginalLocation(childNode, recursive);
|
|
554
569
|
}
|
|
555
570
|
}
|
|
556
|
-
plt.$flags$ &= ~1 /* isTmpDisconnected */;
|
|
571
|
+
plt.$flags$ &= ~1 /* PLATFORM_FLAGS.isTmpDisconnected */;
|
|
557
572
|
};
|
|
558
573
|
const addVnodes = (parentElm, before, parentVNode, vnodes, startIdx, endIdx) => {
|
|
559
574
|
let containerElm = ((parentElm['s-cr'] && parentElm['s-cr'].parentNode) || parentElm);
|
|
@@ -595,6 +610,74 @@ const removeVnodes = (vnodes, startIdx, endIdx, vnode, elm) => {
|
|
|
595
610
|
}
|
|
596
611
|
}
|
|
597
612
|
};
|
|
613
|
+
/**
|
|
614
|
+
* Reconcile the children of a new VNode with the children of an old VNode by
|
|
615
|
+
* traversing the two collections of children, identifying nodes that are
|
|
616
|
+
* conserved or changed, calling out to `patch` to make any necessary
|
|
617
|
+
* updates to the DOM, and rearranging DOM nodes as needed.
|
|
618
|
+
*
|
|
619
|
+
* The algorithm for reconciling children works by analyzing two 'windows' onto
|
|
620
|
+
* the two arrays of children (`oldCh` and `newCh`). We keep track of the
|
|
621
|
+
* 'windows' by storing start and end indices and references to the
|
|
622
|
+
* corresponding array entries. Initially the two 'windows' are basically equal
|
|
623
|
+
* to the entire array, but we progressively narrow the windows until there are
|
|
624
|
+
* no children left to update by doing the following:
|
|
625
|
+
*
|
|
626
|
+
* 1. Skip any `null` entries at the beginning or end of the two arrays, so
|
|
627
|
+
* that if we have an initial array like the following we'll end up dealing
|
|
628
|
+
* only with a window bounded by the highlighted elements:
|
|
629
|
+
*
|
|
630
|
+
* [null, null, VNode1 , ... , VNode2, null, null]
|
|
631
|
+
* ^^^^^^ ^^^^^^
|
|
632
|
+
*
|
|
633
|
+
* 2. Check to see if the elements at the head and tail positions are equal
|
|
634
|
+
* across the windows. This will basically detect elements which haven't
|
|
635
|
+
* been added, removed, or changed position, i.e. if you had the following
|
|
636
|
+
* VNode elements (represented as HTML):
|
|
637
|
+
*
|
|
638
|
+
* oldVNode: `<div><p><span>HEY</span></p></div>`
|
|
639
|
+
* newVNode: `<div><p><span>THERE</span></p></div>`
|
|
640
|
+
*
|
|
641
|
+
* Then when comparing the children of the `<div>` tag we check the equality
|
|
642
|
+
* of the VNodes corresponding to the `<p>` tags and, since they are the
|
|
643
|
+
* same tag in the same position, we'd be able to avoid completely
|
|
644
|
+
* re-rendering the subtree under them with a new DOM element and would just
|
|
645
|
+
* call out to `patch` to handle reconciling their children and so on.
|
|
646
|
+
*
|
|
647
|
+
* 3. Check, for both windows, to see if the element at the beginning of the
|
|
648
|
+
* window corresponds to the element at the end of the other window. This is
|
|
649
|
+
* a heuristic which will let us identify _some_ situations in which
|
|
650
|
+
* elements have changed position, for instance it _should_ detect that the
|
|
651
|
+
* children nodes themselves have not changed but merely moved in the
|
|
652
|
+
* following example:
|
|
653
|
+
*
|
|
654
|
+
* oldVNode: `<div><element-one /><element-two /></div>`
|
|
655
|
+
* newVNode: `<div><element-two /><element-one /></div>`
|
|
656
|
+
*
|
|
657
|
+
* If we find cases like this then we also need to move the concrete DOM
|
|
658
|
+
* elements corresponding to the moved children to write the re-order to the
|
|
659
|
+
* DOM.
|
|
660
|
+
*
|
|
661
|
+
* 4. Finally, if VNodes have the `key` attribute set on them we check for any
|
|
662
|
+
* nodes in the old children which have the same key as the first element in
|
|
663
|
+
* our window on the new children. If we find such a node we handle calling
|
|
664
|
+
* out to `patch`, moving relevant DOM nodes, and so on, in accordance with
|
|
665
|
+
* what we find.
|
|
666
|
+
*
|
|
667
|
+
* Finally, once we've narrowed our 'windows' to the point that either of them
|
|
668
|
+
* collapse (i.e. they have length 0) we then handle any remaining VNode
|
|
669
|
+
* insertion or deletion that needs to happen to get a DOM state that correctly
|
|
670
|
+
* reflects the new child VNodes. If, for instance, after our window on the old
|
|
671
|
+
* children has collapsed we still have more nodes on the new children that
|
|
672
|
+
* we haven't dealt with yet then we need to add them, or if the new children
|
|
673
|
+
* collapse but we still have unhandled _old_ children then we need to make
|
|
674
|
+
* sure the corresponding DOM nodes are removed.
|
|
675
|
+
*
|
|
676
|
+
* @param parentElm the node into which the parent VNode is rendered
|
|
677
|
+
* @param oldCh the old children of the parent node
|
|
678
|
+
* @param newVNode the new VNode which will replace the parent
|
|
679
|
+
* @param newCh the new children of the parent node
|
|
680
|
+
*/
|
|
598
681
|
const updateChildren = (parentElm, oldCh, newVNode, newCh) => {
|
|
599
682
|
let oldStartIdx = 0;
|
|
600
683
|
let newStartIdx = 0;
|
|
@@ -610,7 +693,7 @@ const updateChildren = (parentElm, oldCh, newVNode, newCh) => {
|
|
|
610
693
|
let elmToMove;
|
|
611
694
|
while (oldStartIdx <= oldEndIdx && newStartIdx <= newEndIdx) {
|
|
612
695
|
if (oldStartVnode == null) {
|
|
613
|
-
//
|
|
696
|
+
// VNode might have been moved left
|
|
614
697
|
oldStartVnode = oldCh[++oldStartIdx];
|
|
615
698
|
}
|
|
616
699
|
else if (oldEndVnode == null) {
|
|
@@ -623,37 +706,100 @@ const updateChildren = (parentElm, oldCh, newVNode, newCh) => {
|
|
|
623
706
|
newEndVnode = newCh[--newEndIdx];
|
|
624
707
|
}
|
|
625
708
|
else if (isSameVnode(oldStartVnode, newStartVnode)) {
|
|
709
|
+
// if the start nodes are the same then we should patch the new VNode
|
|
710
|
+
// onto the old one, and increment our `newStartIdx` and `oldStartIdx`
|
|
711
|
+
// indices to reflect that. We don't need to move any DOM Nodes around
|
|
712
|
+
// since things are matched up in order.
|
|
626
713
|
patch(oldStartVnode, newStartVnode);
|
|
627
714
|
oldStartVnode = oldCh[++oldStartIdx];
|
|
628
715
|
newStartVnode = newCh[++newStartIdx];
|
|
629
716
|
}
|
|
630
717
|
else if (isSameVnode(oldEndVnode, newEndVnode)) {
|
|
718
|
+
// likewise, if the end nodes are the same we patch new onto old and
|
|
719
|
+
// decrement our end indices, and also likewise in this case we don't
|
|
720
|
+
// need to move any DOM Nodes.
|
|
631
721
|
patch(oldEndVnode, newEndVnode);
|
|
632
722
|
oldEndVnode = oldCh[--oldEndIdx];
|
|
633
723
|
newEndVnode = newCh[--newEndIdx];
|
|
634
724
|
}
|
|
635
725
|
else if (isSameVnode(oldStartVnode, newEndVnode)) {
|
|
636
|
-
// Vnode moved right
|
|
726
|
+
// case: "Vnode moved right"
|
|
727
|
+
//
|
|
728
|
+
// We've found that the last node in our window on the new children is
|
|
729
|
+
// the same VNode as the _first_ node in our window on the old children
|
|
730
|
+
// we're dealing with now. Visually, this is the layout of these two
|
|
731
|
+
// nodes:
|
|
732
|
+
//
|
|
733
|
+
// newCh: [..., newStartVnode , ... , newEndVnode , ...]
|
|
734
|
+
// ^^^^^^^^^^^
|
|
735
|
+
// oldCh: [..., oldStartVnode , ... , oldEndVnode , ...]
|
|
736
|
+
// ^^^^^^^^^^^^^
|
|
737
|
+
//
|
|
738
|
+
// In this situation we need to patch `newEndVnode` onto `oldStartVnode`
|
|
739
|
+
// and move the DOM element for `oldStartVnode`.
|
|
637
740
|
if ((oldStartVnode.$tag$ === 'slot' || newEndVnode.$tag$ === 'slot')) {
|
|
638
741
|
putBackInOriginalLocation(oldStartVnode.$elm$.parentNode, false);
|
|
639
742
|
}
|
|
640
743
|
patch(oldStartVnode, newEndVnode);
|
|
744
|
+
// We need to move the element for `oldStartVnode` into a position which
|
|
745
|
+
// will be appropriate for `newEndVnode`. For this we can use
|
|
746
|
+
// `.insertBefore` and `oldEndVnode.$elm$.nextSibling`. If there is a
|
|
747
|
+
// sibling for `oldEndVnode.$elm$` then we want to move the DOM node for
|
|
748
|
+
// `oldStartVnode` between `oldEndVnode` and it's sibling, like so:
|
|
749
|
+
//
|
|
750
|
+
// <old-start-node />
|
|
751
|
+
// <some-intervening-node />
|
|
752
|
+
// <old-end-node />
|
|
753
|
+
// <!-- -> <-- `oldStartVnode.$elm$` should be inserted here
|
|
754
|
+
// <next-sibling />
|
|
755
|
+
//
|
|
756
|
+
// If instead `oldEndVnode.$elm$` has no sibling then we just want to put
|
|
757
|
+
// the node for `oldStartVnode` at the end of the children of
|
|
758
|
+
// `parentElm`. Luckily, `Node.nextSibling` will return `null` if there
|
|
759
|
+
// aren't any siblings, and passing `null` to `Node.insertBefore` will
|
|
760
|
+
// append it to the children of the parent element.
|
|
641
761
|
parentElm.insertBefore(oldStartVnode.$elm$, oldEndVnode.$elm$.nextSibling);
|
|
642
762
|
oldStartVnode = oldCh[++oldStartIdx];
|
|
643
763
|
newEndVnode = newCh[--newEndIdx];
|
|
644
764
|
}
|
|
645
765
|
else if (isSameVnode(oldEndVnode, newStartVnode)) {
|
|
646
|
-
// Vnode moved left
|
|
766
|
+
// case: "Vnode moved left"
|
|
767
|
+
//
|
|
768
|
+
// We've found that the first node in our window on the new children is
|
|
769
|
+
// the same VNode as the _last_ node in our window on the old children.
|
|
770
|
+
// Visually, this is the layout of these two nodes:
|
|
771
|
+
//
|
|
772
|
+
// newCh: [..., newStartVnode , ... , newEndVnode , ...]
|
|
773
|
+
// ^^^^^^^^^^^^^
|
|
774
|
+
// oldCh: [..., oldStartVnode , ... , oldEndVnode , ...]
|
|
775
|
+
// ^^^^^^^^^^^
|
|
776
|
+
//
|
|
777
|
+
// In this situation we need to patch `newStartVnode` onto `oldEndVnode`
|
|
778
|
+
// (which will handle updating any changed attributes, reconciling their
|
|
779
|
+
// children etc) but we also need to move the DOM node to which
|
|
780
|
+
// `oldEndVnode` corresponds.
|
|
647
781
|
if ((oldStartVnode.$tag$ === 'slot' || newEndVnode.$tag$ === 'slot')) {
|
|
648
782
|
putBackInOriginalLocation(oldEndVnode.$elm$.parentNode, false);
|
|
649
783
|
}
|
|
650
784
|
patch(oldEndVnode, newStartVnode);
|
|
785
|
+
// We've already checked above if `oldStartVnode` and `newStartVnode` are
|
|
786
|
+
// the same node, so since we're here we know that they are not. Thus we
|
|
787
|
+
// can move the element for `oldEndVnode` _before_ the element for
|
|
788
|
+
// `oldStartVnode`, leaving `oldStartVnode` to be reconciled in the
|
|
789
|
+
// future.
|
|
651
790
|
parentElm.insertBefore(oldEndVnode.$elm$, oldStartVnode.$elm$);
|
|
652
791
|
oldEndVnode = oldCh[--oldEndIdx];
|
|
653
792
|
newStartVnode = newCh[++newStartIdx];
|
|
654
793
|
}
|
|
655
794
|
else {
|
|
656
|
-
//
|
|
795
|
+
// Here we do some checks to match up old and new nodes based on the
|
|
796
|
+
// `$key$` attribute, which is set by putting a `key="my-key"` attribute
|
|
797
|
+
// in the JSX for a DOM element in the implementation of a Stencil
|
|
798
|
+
// component.
|
|
799
|
+
//
|
|
800
|
+
// First we check to see if there are any nodes in the array of old
|
|
801
|
+
// children which have the same key as the first node in the new
|
|
802
|
+
// children.
|
|
657
803
|
idxInOld = -1;
|
|
658
804
|
{
|
|
659
805
|
for (i = oldStartIdx; i <= oldEndIdx; ++i) {
|
|
@@ -664,23 +810,32 @@ const updateChildren = (parentElm, oldCh, newVNode, newCh) => {
|
|
|
664
810
|
}
|
|
665
811
|
}
|
|
666
812
|
if (idxInOld >= 0) {
|
|
813
|
+
// We found a node in the old children which matches up with the first
|
|
814
|
+
// node in the new children! So let's deal with that
|
|
667
815
|
elmToMove = oldCh[idxInOld];
|
|
668
816
|
if (elmToMove.$tag$ !== newStartVnode.$tag$) {
|
|
817
|
+
// the tag doesn't match so we'll need a new DOM element
|
|
669
818
|
node = createElm(oldCh && oldCh[newStartIdx], newVNode, idxInOld, parentElm);
|
|
670
819
|
}
|
|
671
820
|
else {
|
|
672
821
|
patch(elmToMove, newStartVnode);
|
|
822
|
+
// invalidate the matching old node so that we won't try to update it
|
|
823
|
+
// again later on
|
|
673
824
|
oldCh[idxInOld] = undefined;
|
|
674
825
|
node = elmToMove.$elm$;
|
|
675
826
|
}
|
|
676
827
|
newStartVnode = newCh[++newStartIdx];
|
|
677
828
|
}
|
|
678
829
|
else {
|
|
679
|
-
//
|
|
830
|
+
// We either didn't find an element in the old children that matches
|
|
831
|
+
// the key of the first new child OR the build is not using `key`
|
|
832
|
+
// attributes at all. In either case we need to create a new element
|
|
833
|
+
// for the new node.
|
|
680
834
|
node = createElm(oldCh && oldCh[newStartIdx], newVNode, newStartIdx, parentElm);
|
|
681
835
|
newStartVnode = newCh[++newStartIdx];
|
|
682
836
|
}
|
|
683
837
|
if (node) {
|
|
838
|
+
// if we created a new node then handle inserting it to the DOM
|
|
684
839
|
{
|
|
685
840
|
parentReferenceNode(oldStartVnode.$elm$).insertBefore(node, referenceNode(oldStartVnode.$elm$));
|
|
686
841
|
}
|
|
@@ -688,21 +843,43 @@ const updateChildren = (parentElm, oldCh, newVNode, newCh) => {
|
|
|
688
843
|
}
|
|
689
844
|
}
|
|
690
845
|
if (oldStartIdx > oldEndIdx) {
|
|
846
|
+
// we have some more new nodes to add which don't match up with old nodes
|
|
691
847
|
addVnodes(parentElm, newCh[newEndIdx + 1] == null ? null : newCh[newEndIdx + 1].$elm$, newVNode, newCh, newStartIdx, newEndIdx);
|
|
692
848
|
}
|
|
693
849
|
else if (newStartIdx > newEndIdx) {
|
|
850
|
+
// there are nodes in the `oldCh` array which no longer correspond to nodes
|
|
851
|
+
// in the new array, so lets remove them (which entails cleaning up the
|
|
852
|
+
// relevant DOM nodes)
|
|
694
853
|
removeVnodes(oldCh, oldStartIdx, oldEndIdx);
|
|
695
854
|
}
|
|
696
855
|
};
|
|
697
|
-
|
|
856
|
+
/**
|
|
857
|
+
* Compare two VNodes to determine if they are the same
|
|
858
|
+
*
|
|
859
|
+
* **NB**: This function is an equality _heuristic_ based on the available
|
|
860
|
+
* information set on the two VNodes and can be misleading under certain
|
|
861
|
+
* circumstances. In particular, if the two nodes do not have `key` attrs
|
|
862
|
+
* (available under `$key$` on VNodes) then the function falls back on merely
|
|
863
|
+
* checking that they have the same tag.
|
|
864
|
+
*
|
|
865
|
+
* So, in other words, if `key` attrs are not set on VNodes which may be
|
|
866
|
+
* changing order within a `children` array or something along those lines then
|
|
867
|
+
* we could obtain a false positive and then have to do needless re-rendering.
|
|
868
|
+
*
|
|
869
|
+
* @param leftVNode the first VNode to check
|
|
870
|
+
* @param rightVNode the second VNode to check
|
|
871
|
+
* @returns whether they're equal or not
|
|
872
|
+
*/
|
|
873
|
+
const isSameVnode = (leftVNode, rightVNode) => {
|
|
698
874
|
// compare if two vnode to see if they're "technically" the same
|
|
699
875
|
// need to have the same element tag, and same key to be the same
|
|
700
|
-
if (
|
|
701
|
-
if (
|
|
702
|
-
return
|
|
876
|
+
if (leftVNode.$tag$ === rightVNode.$tag$) {
|
|
877
|
+
if (leftVNode.$tag$ === 'slot') {
|
|
878
|
+
return leftVNode.$name$ === rightVNode.$name$;
|
|
703
879
|
}
|
|
880
|
+
// this will be set if components in the build have `key` attrs set on them
|
|
704
881
|
{
|
|
705
|
-
return
|
|
882
|
+
return leftVNode.$key$ === rightVNode.$key$;
|
|
706
883
|
}
|
|
707
884
|
}
|
|
708
885
|
return false;
|
|
@@ -715,6 +892,14 @@ const referenceNode = (node) => {
|
|
|
715
892
|
return (node && node['s-ol']) || node;
|
|
716
893
|
};
|
|
717
894
|
const parentReferenceNode = (node) => (node['s-ol'] ? node['s-ol'] : node).parentNode;
|
|
895
|
+
/**
|
|
896
|
+
* Handle reconciling an outdated VNode with a new one which corresponds to
|
|
897
|
+
* it. This function handles flushing updates to the DOM and reconciling the
|
|
898
|
+
* children of the two nodes (if any).
|
|
899
|
+
*
|
|
900
|
+
* @param oldVNode an old VNode whose DOM element and children we want to update
|
|
901
|
+
* @param newVNode a new VNode representing an updated version of the old one
|
|
902
|
+
*/
|
|
718
903
|
const patch = (oldVNode, newVNode) => {
|
|
719
904
|
const elm = (newVNode.$elm$ = oldVNode.$elm$);
|
|
720
905
|
const oldChildren = oldVNode.$children$;
|
|
@@ -728,7 +913,6 @@ const patch = (oldVNode, newVNode) => {
|
|
|
728
913
|
// only add this to the when the compiler sees we're using an svg somewhere
|
|
729
914
|
isSvgMode = tag === 'svg' ? true : tag === 'foreignObject' ? false : isSvgMode;
|
|
730
915
|
}
|
|
731
|
-
// element node
|
|
732
916
|
{
|
|
733
917
|
if (tag === 'slot')
|
|
734
918
|
;
|
|
@@ -741,6 +925,7 @@ const patch = (oldVNode, newVNode) => {
|
|
|
741
925
|
}
|
|
742
926
|
if (oldChildren !== null && newChildren !== null) {
|
|
743
927
|
// looks like there's child vnodes for both the old and new vnodes
|
|
928
|
+
// so we need to call `updateChildren` to reconcile them
|
|
744
929
|
updateChildren(elm, oldChildren, newVNode, newChildren);
|
|
745
930
|
}
|
|
746
931
|
else if (newChildren !== null) {
|
|
@@ -772,7 +957,7 @@ const patch = (oldVNode, newVNode) => {
|
|
|
772
957
|
};
|
|
773
958
|
const updateFallbackSlotVisibility = (elm) => {
|
|
774
959
|
// tslint:disable-next-line: prefer-const
|
|
775
|
-
|
|
960
|
+
const childNodes = elm.childNodes;
|
|
776
961
|
let childNode;
|
|
777
962
|
let i;
|
|
778
963
|
let ilen;
|
|
@@ -781,7 +966,7 @@ const updateFallbackSlotVisibility = (elm) => {
|
|
|
781
966
|
let nodeType;
|
|
782
967
|
for (i = 0, ilen = childNodes.length; i < ilen; i++) {
|
|
783
968
|
childNode = childNodes[i];
|
|
784
|
-
if (childNode.nodeType === 1 /* ElementNode */) {
|
|
969
|
+
if (childNode.nodeType === 1 /* NODE_TYPE.ElementNode */) {
|
|
785
970
|
if (childNode['s-sr']) {
|
|
786
971
|
// this is a slot fallback node
|
|
787
972
|
// get the slot name for this slot reference node
|
|
@@ -793,7 +978,7 @@ const updateFallbackSlotVisibility = (elm) => {
|
|
|
793
978
|
nodeType = childNodes[j].nodeType;
|
|
794
979
|
if (childNodes[j]['s-hn'] !== childNode['s-hn'] || slotNameAttr !== '') {
|
|
795
980
|
// this sibling node is from a different component OR is a named fallback slot node
|
|
796
|
-
if (nodeType === 1 /* ElementNode */ && slotNameAttr === childNodes[j].getAttribute('slot')) {
|
|
981
|
+
if (nodeType === 1 /* NODE_TYPE.ElementNode */ && slotNameAttr === childNodes[j].getAttribute('slot')) {
|
|
797
982
|
childNode.hidden = true;
|
|
798
983
|
break;
|
|
799
984
|
}
|
|
@@ -802,8 +987,8 @@ const updateFallbackSlotVisibility = (elm) => {
|
|
|
802
987
|
// this is a default fallback slot node
|
|
803
988
|
// any element or text node (with content)
|
|
804
989
|
// should hide the default fallback slot node
|
|
805
|
-
if (nodeType === 1 /* ElementNode */ ||
|
|
806
|
-
(nodeType === 3 /* TextNode */ && childNodes[j].textContent.trim() !== '')) {
|
|
990
|
+
if (nodeType === 1 /* NODE_TYPE.ElementNode */ ||
|
|
991
|
+
(nodeType === 3 /* NODE_TYPE.TextNode */ && childNodes[j].textContent.trim() !== '')) {
|
|
807
992
|
childNode.hidden = true;
|
|
808
993
|
break;
|
|
809
994
|
}
|
|
@@ -825,8 +1010,8 @@ const relocateSlotContent = (elm) => {
|
|
|
825
1010
|
let relocateNodeData;
|
|
826
1011
|
let j;
|
|
827
1012
|
let i = 0;
|
|
828
|
-
|
|
829
|
-
|
|
1013
|
+
const childNodes = elm.childNodes;
|
|
1014
|
+
const ilen = childNodes.length;
|
|
830
1015
|
for (; i < ilen; i++) {
|
|
831
1016
|
childNode = childNodes[i];
|
|
832
1017
|
if (childNode['s-sr'] && (node = childNode['s-cr']) && node.parentNode) {
|
|
@@ -881,13 +1066,13 @@ const relocateSlotContent = (elm) => {
|
|
|
881
1066
|
}
|
|
882
1067
|
}
|
|
883
1068
|
}
|
|
884
|
-
if (childNode.nodeType === 1 /* ElementNode */) {
|
|
1069
|
+
if (childNode.nodeType === 1 /* NODE_TYPE.ElementNode */) {
|
|
885
1070
|
relocateSlotContent(childNode);
|
|
886
1071
|
}
|
|
887
1072
|
}
|
|
888
1073
|
};
|
|
889
1074
|
const isNodeLocatedInSlot = (nodeToRelocate, slotNameAttr) => {
|
|
890
|
-
if (nodeToRelocate.nodeType === 1 /* ElementNode */) {
|
|
1075
|
+
if (nodeToRelocate.nodeType === 1 /* NODE_TYPE.ElementNode */) {
|
|
891
1076
|
if (nodeToRelocate.getAttribute('slot') === null && slotNameAttr === '') {
|
|
892
1077
|
return true;
|
|
893
1078
|
}
|
|
@@ -918,7 +1103,7 @@ const renderVdom = (hostRef, renderFnResults) => {
|
|
|
918
1103
|
cmpMeta.$attrsToReflect$.map(([propName, attribute]) => (rootVnode.$attrs$[attribute] = hostElm[propName]));
|
|
919
1104
|
}
|
|
920
1105
|
rootVnode.$tag$ = null;
|
|
921
|
-
rootVnode.$flags$ |= 4 /* isHost */;
|
|
1106
|
+
rootVnode.$flags$ |= 4 /* VNODE_FLAGS.isHost */;
|
|
922
1107
|
hostRef.$vnode$ = rootVnode;
|
|
923
1108
|
rootVnode.$elm$ = oldVNode.$elm$ = (hostElm.shadowRoot || hostElm );
|
|
924
1109
|
{
|
|
@@ -926,7 +1111,7 @@ const renderVdom = (hostRef, renderFnResults) => {
|
|
|
926
1111
|
}
|
|
927
1112
|
{
|
|
928
1113
|
contentRef = hostElm['s-cr'];
|
|
929
|
-
useNativeShadowDom = (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) !== 0;
|
|
1114
|
+
useNativeShadowDom = (cmpMeta.$flags$ & 1 /* CMP_FLAGS.shadowDomEncapsulation */) !== 0;
|
|
930
1115
|
// always reset
|
|
931
1116
|
checkSlotFallbackVisibility = false;
|
|
932
1117
|
}
|
|
@@ -935,7 +1120,7 @@ const renderVdom = (hostRef, renderFnResults) => {
|
|
|
935
1120
|
{
|
|
936
1121
|
// while we're moving nodes around existing nodes, temporarily disable
|
|
937
1122
|
// the disconnectCallback from working
|
|
938
|
-
plt.$flags$ |= 1 /* isTmpDisconnected */;
|
|
1123
|
+
plt.$flags$ |= 1 /* PLATFORM_FLAGS.isTmpDisconnected */;
|
|
939
1124
|
if (checkSlotRelocate) {
|
|
940
1125
|
relocateSlotContent(rootVnode.$elm$);
|
|
941
1126
|
let relocateData;
|
|
@@ -993,7 +1178,7 @@ const renderVdom = (hostRef, renderFnResults) => {
|
|
|
993
1178
|
}
|
|
994
1179
|
else {
|
|
995
1180
|
// this node doesn't have a slot home to go to, so let's hide it
|
|
996
|
-
if (nodeToRelocate.nodeType === 1 /* ElementNode */) {
|
|
1181
|
+
if (nodeToRelocate.nodeType === 1 /* NODE_TYPE.ElementNode */) {
|
|
997
1182
|
nodeToRelocate.hidden = true;
|
|
998
1183
|
}
|
|
999
1184
|
}
|
|
@@ -1004,7 +1189,7 @@ const renderVdom = (hostRef, renderFnResults) => {
|
|
|
1004
1189
|
}
|
|
1005
1190
|
// done moving nodes around
|
|
1006
1191
|
// allow the disconnect callback to work again
|
|
1007
|
-
plt.$flags$ &= ~1 /* isTmpDisconnected */;
|
|
1192
|
+
plt.$flags$ &= ~1 /* PLATFORM_FLAGS.isTmpDisconnected */;
|
|
1008
1193
|
// always reset
|
|
1009
1194
|
relocateNodes.length = 0;
|
|
1010
1195
|
}
|
|
@@ -1015,9 +1200,9 @@ const createEvent = (ref, name, flags) => {
|
|
|
1015
1200
|
return {
|
|
1016
1201
|
emit: (detail) => {
|
|
1017
1202
|
return emitEvent(elm, name, {
|
|
1018
|
-
bubbles: !!(flags & 4 /* Bubbles */),
|
|
1019
|
-
composed: !!(flags & 2 /* Composed */),
|
|
1020
|
-
cancelable: !!(flags & 1 /* Cancellable */),
|
|
1203
|
+
bubbles: !!(flags & 4 /* EVENT_FLAGS.Bubbles */),
|
|
1204
|
+
composed: !!(flags & 2 /* EVENT_FLAGS.Composed */),
|
|
1205
|
+
cancelable: !!(flags & 1 /* EVENT_FLAGS.Cancellable */),
|
|
1021
1206
|
detail,
|
|
1022
1207
|
});
|
|
1023
1208
|
},
|
|
@@ -1042,10 +1227,10 @@ const attachToAncestor = (hostRef, ancestorComponent) => {
|
|
|
1042
1227
|
};
|
|
1043
1228
|
const scheduleUpdate = (hostRef, isInitialLoad) => {
|
|
1044
1229
|
{
|
|
1045
|
-
hostRef.$flags$ |= 16 /* isQueuedForUpdate */;
|
|
1230
|
+
hostRef.$flags$ |= 16 /* HOST_FLAGS.isQueuedForUpdate */;
|
|
1046
1231
|
}
|
|
1047
|
-
if (hostRef.$flags$ & 4 /* isWaitingForChildren */) {
|
|
1048
|
-
hostRef.$flags$ |= 512 /* needsRerender */;
|
|
1232
|
+
if (hostRef.$flags$ & 4 /* HOST_FLAGS.isWaitingForChildren */) {
|
|
1233
|
+
hostRef.$flags$ |= 512 /* HOST_FLAGS.needsRerender */;
|
|
1049
1234
|
return;
|
|
1050
1235
|
}
|
|
1051
1236
|
attachToAncestor(hostRef, hostRef.$ancestorComponent$);
|
|
@@ -1061,7 +1246,7 @@ const dispatchHooks = (hostRef, isInitialLoad) => {
|
|
|
1061
1246
|
let promise;
|
|
1062
1247
|
if (isInitialLoad) {
|
|
1063
1248
|
{
|
|
1064
|
-
hostRef.$flags$ |= 256 /* isListenReady */;
|
|
1249
|
+
hostRef.$flags$ |= 256 /* HOST_FLAGS.isListenReady */;
|
|
1065
1250
|
if (hostRef.$queuedListeners$) {
|
|
1066
1251
|
hostRef.$queuedListeners$.map(([methodName, event]) => safeCall(instance, methodName, event));
|
|
1067
1252
|
hostRef.$queuedListeners$ = null;
|
|
@@ -1112,7 +1297,7 @@ const updateComponent = async (hostRef, instance, isInitialLoad) => {
|
|
|
1112
1297
|
}
|
|
1113
1298
|
else {
|
|
1114
1299
|
Promise.all(childrenPromises).then(postUpdate);
|
|
1115
|
-
hostRef.$flags$ |= 4 /* isWaitingForChildren */;
|
|
1300
|
+
hostRef.$flags$ |= 4 /* HOST_FLAGS.isWaitingForChildren */;
|
|
1116
1301
|
childrenPromises.length = 0;
|
|
1117
1302
|
}
|
|
1118
1303
|
}
|
|
@@ -1121,10 +1306,10 @@ const callRender = (hostRef, instance, elm) => {
|
|
|
1121
1306
|
try {
|
|
1122
1307
|
instance = instance.render() ;
|
|
1123
1308
|
{
|
|
1124
|
-
hostRef.$flags$ &= ~16 /* isQueuedForUpdate */;
|
|
1309
|
+
hostRef.$flags$ &= ~16 /* HOST_FLAGS.isQueuedForUpdate */;
|
|
1125
1310
|
}
|
|
1126
1311
|
{
|
|
1127
|
-
hostRef.$flags$ |= 2 /* hasRendered */;
|
|
1312
|
+
hostRef.$flags$ |= 2 /* HOST_FLAGS.hasRendered */;
|
|
1128
1313
|
}
|
|
1129
1314
|
{
|
|
1130
1315
|
{
|
|
@@ -1151,8 +1336,8 @@ const postUpdateComponent = (hostRef) => {
|
|
|
1151
1336
|
{
|
|
1152
1337
|
safeCall(instance, 'componentDidRender');
|
|
1153
1338
|
}
|
|
1154
|
-
if (!(hostRef.$flags$ & 64 /* hasLoadedComponent */)) {
|
|
1155
|
-
hostRef.$flags$ |= 64 /* hasLoadedComponent */;
|
|
1339
|
+
if (!(hostRef.$flags$ & 64 /* HOST_FLAGS.hasLoadedComponent */)) {
|
|
1340
|
+
hostRef.$flags$ |= 64 /* HOST_FLAGS.hasLoadedComponent */;
|
|
1156
1341
|
{
|
|
1157
1342
|
// DOM WRITE!
|
|
1158
1343
|
addHydratedFlag(elm);
|
|
@@ -1184,10 +1369,10 @@ const postUpdateComponent = (hostRef) => {
|
|
|
1184
1369
|
hostRef.$onRenderResolve$();
|
|
1185
1370
|
hostRef.$onRenderResolve$ = undefined;
|
|
1186
1371
|
}
|
|
1187
|
-
if (hostRef.$flags$ & 512 /* needsRerender */) {
|
|
1372
|
+
if (hostRef.$flags$ & 512 /* HOST_FLAGS.needsRerender */) {
|
|
1188
1373
|
nextTick(() => scheduleUpdate(hostRef, false));
|
|
1189
1374
|
}
|
|
1190
|
-
hostRef.$flags$ &= ~(4 /* isWaitingForChildren */ | 512 /* needsRerender */);
|
|
1375
|
+
hostRef.$flags$ &= ~(4 /* HOST_FLAGS.isWaitingForChildren */ | 512 /* HOST_FLAGS.needsRerender */);
|
|
1191
1376
|
}
|
|
1192
1377
|
// ( •_•)
|
|
1193
1378
|
// ( •_•)>⌐■-■
|
|
@@ -1243,16 +1428,16 @@ const addHydratedFlag = (elm) => elm.classList.add('hydrated')
|
|
|
1243
1428
|
const parsePropertyValue = (propValue, propType) => {
|
|
1244
1429
|
// ensure this value is of the correct prop type
|
|
1245
1430
|
if (propValue != null && !isComplexType(propValue)) {
|
|
1246
|
-
if (propType & 4 /* Boolean */) {
|
|
1431
|
+
if (propType & 4 /* MEMBER_FLAGS.Boolean */) {
|
|
1247
1432
|
// per the HTML spec, any string value means it is a boolean true value
|
|
1248
1433
|
// but we'll cheat here and say that the string "false" is the boolean false
|
|
1249
1434
|
return propValue === 'false' ? false : propValue === '' || !!propValue;
|
|
1250
1435
|
}
|
|
1251
|
-
if (propType & 2 /* Number */) {
|
|
1436
|
+
if (propType & 2 /* MEMBER_FLAGS.Number */) {
|
|
1252
1437
|
// force it to be a number
|
|
1253
1438
|
return parseFloat(propValue);
|
|
1254
1439
|
}
|
|
1255
|
-
if (propType & 1 /* String */) {
|
|
1440
|
+
if (propType & 1 /* MEMBER_FLAGS.String */) {
|
|
1256
1441
|
// could have been passed as a number or boolean
|
|
1257
1442
|
// but we still want it as a string
|
|
1258
1443
|
return String(propValue);
|
|
@@ -1276,13 +1461,13 @@ const setValue = (ref, propName, newVal, cmpMeta) => {
|
|
|
1276
1461
|
// explicitly check for NaN on both sides, as `NaN === NaN` is always false
|
|
1277
1462
|
const areBothNaN = Number.isNaN(oldVal) && Number.isNaN(newVal);
|
|
1278
1463
|
const didValueChange = newVal !== oldVal && !areBothNaN;
|
|
1279
|
-
if ((!(flags & 8 /* isConstructingInstance */) || oldVal === undefined) && didValueChange) {
|
|
1464
|
+
if ((!(flags & 8 /* HOST_FLAGS.isConstructingInstance */) || oldVal === undefined) && didValueChange) {
|
|
1280
1465
|
// gadzooks! the property's value has changed!!
|
|
1281
1466
|
// set our new value!
|
|
1282
1467
|
hostRef.$instanceValues$.set(propName, newVal);
|
|
1283
1468
|
if (instance) {
|
|
1284
1469
|
// get an array of method names of watch functions to call
|
|
1285
|
-
if (cmpMeta.$watchers$ && flags & 128 /* isWatchReady */) {
|
|
1470
|
+
if (cmpMeta.$watchers$ && flags & 128 /* HOST_FLAGS.isWatchReady */) {
|
|
1286
1471
|
const watchMethods = cmpMeta.$watchers$[propName];
|
|
1287
1472
|
if (watchMethods) {
|
|
1288
1473
|
// this instance is watching for when this property changed
|
|
@@ -1297,7 +1482,7 @@ const setValue = (ref, propName, newVal, cmpMeta) => {
|
|
|
1297
1482
|
});
|
|
1298
1483
|
}
|
|
1299
1484
|
}
|
|
1300
|
-
if ((flags & (2 /* hasRendered */ | 16 /* isQueuedForUpdate */)) === 2 /* hasRendered */) {
|
|
1485
|
+
if ((flags & (2 /* HOST_FLAGS.hasRendered */ | 16 /* HOST_FLAGS.isQueuedForUpdate */)) === 2 /* HOST_FLAGS.hasRendered */) {
|
|
1301
1486
|
// looks like this value actually changed, so we've got work to do!
|
|
1302
1487
|
// but only if we've already rendered, otherwise just chill out
|
|
1303
1488
|
// queue that we need to do an update, but don't worry about queuing
|
|
@@ -1316,8 +1501,8 @@ const proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
1316
1501
|
const members = Object.entries(cmpMeta.$members$);
|
|
1317
1502
|
const prototype = Cstr.prototype;
|
|
1318
1503
|
members.map(([memberName, [memberFlags]]) => {
|
|
1319
|
-
if ((memberFlags & 31 /* Prop */ ||
|
|
1320
|
-
((flags & 2 /* proxyState */) && memberFlags & 32 /* State */))) {
|
|
1504
|
+
if ((memberFlags & 31 /* MEMBER_FLAGS.Prop */ ||
|
|
1505
|
+
((flags & 2 /* PROXY_FLAGS.proxyState */) && memberFlags & 32 /* MEMBER_FLAGS.State */))) {
|
|
1321
1506
|
// proxyComponent - prop
|
|
1322
1507
|
Object.defineProperty(prototype, memberName, {
|
|
1323
1508
|
get() {
|
|
@@ -1332,8 +1517,8 @@ const proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
1332
1517
|
enumerable: true,
|
|
1333
1518
|
});
|
|
1334
1519
|
}
|
|
1335
|
-
else if (flags & 1 /* isElementConstructor */ &&
|
|
1336
|
-
memberFlags & 64 /* Method */) {
|
|
1520
|
+
else if (flags & 1 /* PROXY_FLAGS.isElementConstructor */ &&
|
|
1521
|
+
memberFlags & 64 /* MEMBER_FLAGS.Method */) {
|
|
1337
1522
|
// proxyComponent - method
|
|
1338
1523
|
Object.defineProperty(prototype, memberName, {
|
|
1339
1524
|
value(...args) {
|
|
@@ -1343,7 +1528,7 @@ const proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
1343
1528
|
});
|
|
1344
1529
|
}
|
|
1345
1530
|
});
|
|
1346
|
-
if ((flags & 1 /* isElementConstructor */)) {
|
|
1531
|
+
if ((flags & 1 /* PROXY_FLAGS.isElementConstructor */)) {
|
|
1347
1532
|
const attrNameToPropName = new Map();
|
|
1348
1533
|
prototype.attributeChangedCallback = function (attrName, _oldValue, newValue) {
|
|
1349
1534
|
plt.jmp(() => {
|
|
@@ -1399,11 +1584,11 @@ const proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
1399
1584
|
// create an array of attributes to observe
|
|
1400
1585
|
// and also create a map of html attribute name to js property name
|
|
1401
1586
|
Cstr.observedAttributes = members
|
|
1402
|
-
.filter(([_, m]) => m[0] & 15 /* HasAttribute */) // filter to only keep props that should match attributes
|
|
1587
|
+
.filter(([_, m]) => m[0] & 15 /* MEMBER_FLAGS.HasAttribute */) // filter to only keep props that should match attributes
|
|
1403
1588
|
.map(([propName, m]) => {
|
|
1404
1589
|
const attrName = m[1] || propName;
|
|
1405
1590
|
attrNameToPropName.set(attrName, propName);
|
|
1406
|
-
if (m[0] & 512 /* ReflectAttr */) {
|
|
1591
|
+
if (m[0] & 512 /* MEMBER_FLAGS.ReflectAttr */) {
|
|
1407
1592
|
cmpMeta.$attrsToReflect$.push([propName, attrName]);
|
|
1408
1593
|
}
|
|
1409
1594
|
return attrName;
|
|
@@ -1414,10 +1599,10 @@ const proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
1414
1599
|
};
|
|
1415
1600
|
const initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId, Cstr) => {
|
|
1416
1601
|
// initializeComponent
|
|
1417
|
-
if ((hostRef.$flags$ & 32 /* hasInitializedComponent */) === 0) {
|
|
1602
|
+
if ((hostRef.$flags$ & 32 /* HOST_FLAGS.hasInitializedComponent */) === 0) {
|
|
1418
1603
|
{
|
|
1419
1604
|
// we haven't initialized this element yet
|
|
1420
|
-
hostRef.$flags$ |= 32 /* hasInitializedComponent */;
|
|
1605
|
+
hostRef.$flags$ |= 32 /* HOST_FLAGS.hasInitializedComponent */;
|
|
1421
1606
|
// lazy loaded components
|
|
1422
1607
|
// request the component's implementation to be
|
|
1423
1608
|
// wired up with the host element
|
|
@@ -1435,7 +1620,7 @@ const initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId, Cstr) =>
|
|
|
1435
1620
|
{
|
|
1436
1621
|
cmpMeta.$watchers$ = Cstr.watchers;
|
|
1437
1622
|
}
|
|
1438
|
-
proxyComponent(Cstr, cmpMeta, 2 /* proxyState */);
|
|
1623
|
+
proxyComponent(Cstr, cmpMeta, 2 /* PROXY_FLAGS.proxyState */);
|
|
1439
1624
|
Cstr.isProxied = true;
|
|
1440
1625
|
}
|
|
1441
1626
|
const endNewInstance = createTime('createInstance', cmpMeta.$tagName$);
|
|
@@ -1443,7 +1628,7 @@ const initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId, Cstr) =>
|
|
|
1443
1628
|
// but let's keep track of when we start and stop
|
|
1444
1629
|
// so that the getters/setters don't incorrectly step on data
|
|
1445
1630
|
{
|
|
1446
|
-
hostRef.$flags$ |= 8 /* isConstructingInstance */;
|
|
1631
|
+
hostRef.$flags$ |= 8 /* HOST_FLAGS.isConstructingInstance */;
|
|
1447
1632
|
}
|
|
1448
1633
|
// construct the lazy-loaded component implementation
|
|
1449
1634
|
// passing the hostRef is very important during
|
|
@@ -1456,10 +1641,10 @@ const initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId, Cstr) =>
|
|
|
1456
1641
|
consoleError(e);
|
|
1457
1642
|
}
|
|
1458
1643
|
{
|
|
1459
|
-
hostRef.$flags$ &= ~8 /* isConstructingInstance */;
|
|
1644
|
+
hostRef.$flags$ &= ~8 /* HOST_FLAGS.isConstructingInstance */;
|
|
1460
1645
|
}
|
|
1461
1646
|
{
|
|
1462
|
-
hostRef.$flags$ |= 128 /* isWatchReady */;
|
|
1647
|
+
hostRef.$flags$ |= 128 /* HOST_FLAGS.isWatchReady */;
|
|
1463
1648
|
}
|
|
1464
1649
|
endNewInstance();
|
|
1465
1650
|
}
|
|
@@ -1469,7 +1654,7 @@ const initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId, Cstr) =>
|
|
|
1469
1654
|
const scopeId = getScopeId(cmpMeta);
|
|
1470
1655
|
if (!styles.has(scopeId)) {
|
|
1471
1656
|
const endRegisterStyles = createTime('registerStyles', cmpMeta.$tagName$);
|
|
1472
|
-
registerStyle(scopeId, style, !!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */));
|
|
1657
|
+
registerStyle(scopeId, style, !!(cmpMeta.$flags$ & 1 /* CMP_FLAGS.shadowDomEncapsulation */));
|
|
1473
1658
|
endRegisterStyles();
|
|
1474
1659
|
}
|
|
1475
1660
|
}
|
|
@@ -1491,19 +1676,19 @@ const initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId, Cstr) =>
|
|
|
1491
1676
|
}
|
|
1492
1677
|
};
|
|
1493
1678
|
const connectedCallback = (elm) => {
|
|
1494
|
-
if ((plt.$flags$ & 1 /* isTmpDisconnected */) === 0) {
|
|
1679
|
+
if ((plt.$flags$ & 1 /* PLATFORM_FLAGS.isTmpDisconnected */) === 0) {
|
|
1495
1680
|
const hostRef = getHostRef(elm);
|
|
1496
1681
|
const cmpMeta = hostRef.$cmpMeta$;
|
|
1497
1682
|
const endConnected = createTime('connectedCallback', cmpMeta.$tagName$);
|
|
1498
|
-
if (!(hostRef.$flags$ & 1 /* hasConnected */)) {
|
|
1683
|
+
if (!(hostRef.$flags$ & 1 /* HOST_FLAGS.hasConnected */)) {
|
|
1499
1684
|
// first time this component has connected
|
|
1500
|
-
hostRef.$flags$ |= 1 /* hasConnected */;
|
|
1685
|
+
hostRef.$flags$ |= 1 /* HOST_FLAGS.hasConnected */;
|
|
1501
1686
|
{
|
|
1502
1687
|
// initUpdate
|
|
1503
1688
|
// if the slot polyfill is required we'll need to put some nodes
|
|
1504
1689
|
// in here to act as original content anchors as we move nodes around
|
|
1505
1690
|
// host element has been connected to the DOM
|
|
1506
|
-
if ((cmpMeta.$flags$ & (4 /* hasSlotRelocation */ | 8 /* needsShadowDomShim */))) {
|
|
1691
|
+
if ((cmpMeta.$flags$ & (4 /* CMP_FLAGS.hasSlotRelocation */ | 8 /* CMP_FLAGS.needsShadowDomShim */))) {
|
|
1507
1692
|
setContentReference(elm);
|
|
1508
1693
|
}
|
|
1509
1694
|
}
|
|
@@ -1526,7 +1711,7 @@ const connectedCallback = (elm) => {
|
|
|
1526
1711
|
// https://developers.google.com/web/fundamentals/web-components/best-practices#lazy-properties
|
|
1527
1712
|
if (cmpMeta.$members$) {
|
|
1528
1713
|
Object.entries(cmpMeta.$members$).map(([memberName, [memberFlags]]) => {
|
|
1529
|
-
if (memberFlags & 31 /* Prop */ && elm.hasOwnProperty(memberName)) {
|
|
1714
|
+
if (memberFlags & 31 /* MEMBER_FLAGS.Prop */ && elm.hasOwnProperty(memberName)) {
|
|
1530
1715
|
const value = elm[memberName];
|
|
1531
1716
|
delete elm[memberName];
|
|
1532
1717
|
elm[memberName] = value;
|
|
@@ -1558,7 +1743,7 @@ const setContentReference = (elm) => {
|
|
|
1558
1743
|
elm.insertBefore(contentRefElm, elm.firstChild);
|
|
1559
1744
|
};
|
|
1560
1745
|
const disconnectedCallback = (elm) => {
|
|
1561
|
-
if ((plt.$flags$ & 1 /* isTmpDisconnected */) === 0) {
|
|
1746
|
+
if ((plt.$flags$ & 1 /* PLATFORM_FLAGS.isTmpDisconnected */) === 0) {
|
|
1562
1747
|
const hostRef = getHostRef(elm);
|
|
1563
1748
|
const instance = hostRef.$lazyInstance$ ;
|
|
1564
1749
|
{
|
|
@@ -1613,7 +1798,7 @@ const bootstrapLazy = (lazyBundles, options = {}) => {
|
|
|
1613
1798
|
super(self);
|
|
1614
1799
|
self = this;
|
|
1615
1800
|
registerHost(self, cmpMeta);
|
|
1616
|
-
if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) {
|
|
1801
|
+
if (cmpMeta.$flags$ & 1 /* CMP_FLAGS.shadowDomEncapsulation */) {
|
|
1617
1802
|
// this component is using shadow dom
|
|
1618
1803
|
// and this browser supports shadow dom
|
|
1619
1804
|
// add the read-only property "shadowRoot" to the host element
|
|
@@ -1648,7 +1833,7 @@ const bootstrapLazy = (lazyBundles, options = {}) => {
|
|
|
1648
1833
|
cmpMeta.$lazyBundleId$ = lazyBundle[0];
|
|
1649
1834
|
if (!exclude.includes(tagName) && !customElements.get(tagName)) {
|
|
1650
1835
|
cmpTags.push(tagName);
|
|
1651
|
-
customElements.define(tagName, proxyComponent(HostElement, cmpMeta, 1 /* isElementConstructor */));
|
|
1836
|
+
customElements.define(tagName, proxyComponent(HostElement, cmpMeta, 1 /* PROXY_FLAGS.isElementConstructor */));
|
|
1652
1837
|
}
|
|
1653
1838
|
});
|
|
1654
1839
|
});
|
|
@@ -1670,7 +1855,7 @@ const bootstrapLazy = (lazyBundles, options = {}) => {
|
|
|
1670
1855
|
// Fallback appLoad event
|
|
1671
1856
|
endBootstrap();
|
|
1672
1857
|
};
|
|
1673
|
-
const hostRefs = new WeakMap();
|
|
1858
|
+
const hostRefs = /*@__PURE__*/ new WeakMap();
|
|
1674
1859
|
const getHostRef = (ref) => hostRefs.get(ref);
|
|
1675
1860
|
const registerInstance = (lazyInstance, hostRef) => hostRefs.set((hostRef.$lazyInstance$ = lazyInstance), hostRef);
|
|
1676
1861
|
const registerHost = (elm, cmpMeta) => {
|
|
@@ -1702,7 +1887,374 @@ const loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
1702
1887
|
if (module) {
|
|
1703
1888
|
return module[exportName];
|
|
1704
1889
|
}
|
|
1890
|
+
|
|
1891
|
+
if (!hmrVersionId || !BUILD.hotModuleReplacement) {
|
|
1892
|
+
const processMod = importedModule => {
|
|
1893
|
+
cmpModules.set(bundleId, importedModule);
|
|
1894
|
+
return importedModule[exportName];
|
|
1895
|
+
}
|
|
1896
|
+
switch(bundleId) {
|
|
1897
|
+
|
|
1898
|
+
case 'z-app-switcher_9':
|
|
1899
|
+
return import(
|
|
1900
|
+
/* webpackMode: "lazy" */
|
|
1901
|
+
'./z-app-switcher_9.entry.js').then(processMod, consoleError);
|
|
1902
|
+
case 'z-app-header':
|
|
1903
|
+
return import(
|
|
1904
|
+
/* webpackMode: "lazy" */
|
|
1905
|
+
'./z-app-header.entry.js').then(processMod, consoleError);
|
|
1906
|
+
case 'z-aria-alert':
|
|
1907
|
+
return import(
|
|
1908
|
+
/* webpackMode: "lazy" */
|
|
1909
|
+
'./z-aria-alert.entry.js').then(processMod, consoleError);
|
|
1910
|
+
case 'z-avatar':
|
|
1911
|
+
return import(
|
|
1912
|
+
/* webpackMode: "lazy" */
|
|
1913
|
+
'./z-avatar.entry.js').then(processMod, consoleError);
|
|
1914
|
+
case 'z-button-deprecated':
|
|
1915
|
+
return import(
|
|
1916
|
+
/* webpackMode: "lazy" */
|
|
1917
|
+
'./z-button-deprecated.entry.js').then(processMod, consoleError);
|
|
1918
|
+
case 'z-button-filter':
|
|
1919
|
+
return import(
|
|
1920
|
+
/* webpackMode: "lazy" */
|
|
1921
|
+
'./z-button-filter.entry.js').then(processMod, consoleError);
|
|
1922
|
+
case 'z-button-sort':
|
|
1923
|
+
return import(
|
|
1924
|
+
/* webpackMode: "lazy" */
|
|
1925
|
+
'./z-button-sort.entry.js').then(processMod, consoleError);
|
|
1926
|
+
case 'z-card':
|
|
1927
|
+
return import(
|
|
1928
|
+
/* webpackMode: "lazy" */
|
|
1929
|
+
'./z-card.entry.js').then(processMod, consoleError);
|
|
1930
|
+
case 'z-carousel':
|
|
1931
|
+
return import(
|
|
1932
|
+
/* webpackMode: "lazy" */
|
|
1933
|
+
'./z-carousel.entry.js').then(processMod, consoleError);
|
|
1934
|
+
case 'z-chip-deprecated':
|
|
1935
|
+
return import(
|
|
1936
|
+
/* webpackMode: "lazy" */
|
|
1937
|
+
'./z-chip-deprecated.entry.js').then(processMod, consoleError);
|
|
1938
|
+
case 'z-combobox':
|
|
1939
|
+
return import(
|
|
1940
|
+
/* webpackMode: "lazy" */
|
|
1941
|
+
'./z-combobox.entry.js').then(processMod, consoleError);
|
|
1942
|
+
case 'z-contextual-menu':
|
|
1943
|
+
return import(
|
|
1944
|
+
/* webpackMode: "lazy" */
|
|
1945
|
+
'./z-contextual-menu.entry.js').then(processMod, consoleError);
|
|
1946
|
+
case 'z-cookiebar':
|
|
1947
|
+
return import(
|
|
1948
|
+
/* webpackMode: "lazy" */
|
|
1949
|
+
'./z-cookiebar.entry.js').then(processMod, consoleError);
|
|
1950
|
+
case 'z-cover-hero':
|
|
1951
|
+
return import(
|
|
1952
|
+
/* webpackMode: "lazy" */
|
|
1953
|
+
'./z-cover-hero.entry.js').then(processMod, consoleError);
|
|
1954
|
+
case 'z-date-picker':
|
|
1955
|
+
return import(
|
|
1956
|
+
/* webpackMode: "lazy" */
|
|
1957
|
+
'./z-date-picker.entry.js').then(processMod, consoleError);
|
|
1958
|
+
case 'z-file':
|
|
1959
|
+
return import(
|
|
1960
|
+
/* webpackMode: "lazy" */
|
|
1961
|
+
'./z-file.entry.js').then(processMod, consoleError);
|
|
1962
|
+
case 'z-file-upload':
|
|
1963
|
+
return import(
|
|
1964
|
+
/* webpackMode: "lazy" */
|
|
1965
|
+
'./z-file-upload.entry.js').then(processMod, consoleError);
|
|
1966
|
+
case 'z-footer':
|
|
1967
|
+
return import(
|
|
1968
|
+
/* webpackMode: "lazy" */
|
|
1969
|
+
'./z-footer.entry.js').then(processMod, consoleError);
|
|
1970
|
+
case 'z-icon-package':
|
|
1971
|
+
return import(
|
|
1972
|
+
/* webpackMode: "lazy" */
|
|
1973
|
+
'./z-icon-package.entry.js').then(processMod, consoleError);
|
|
1974
|
+
case 'z-info-box':
|
|
1975
|
+
return import(
|
|
1976
|
+
/* webpackMode: "lazy" */
|
|
1977
|
+
'./z-info-box.entry.js').then(processMod, consoleError);
|
|
1978
|
+
case 'z-info-reveal':
|
|
1979
|
+
return import(
|
|
1980
|
+
/* webpackMode: "lazy" */
|
|
1981
|
+
'./z-info-reveal.entry.js').then(processMod, consoleError);
|
|
1982
|
+
case 'z-input-deprecated':
|
|
1983
|
+
return import(
|
|
1984
|
+
/* webpackMode: "lazy" */
|
|
1985
|
+
'./z-input-deprecated.entry.js').then(processMod, consoleError);
|
|
1986
|
+
case 'z-menu':
|
|
1987
|
+
return import(
|
|
1988
|
+
/* webpackMode: "lazy" */
|
|
1989
|
+
'./z-menu.entry.js').then(processMod, consoleError);
|
|
1990
|
+
case 'z-menu-section':
|
|
1991
|
+
return import(
|
|
1992
|
+
/* webpackMode: "lazy" */
|
|
1993
|
+
'./z-menu-section.entry.js').then(processMod, consoleError);
|
|
1994
|
+
case 'z-messages-pocket':
|
|
1995
|
+
return import(
|
|
1996
|
+
/* webpackMode: "lazy" */
|
|
1997
|
+
'./z-messages-pocket.entry.js').then(processMod, consoleError);
|
|
1998
|
+
case 'z-modal-login':
|
|
1999
|
+
return import(
|
|
2000
|
+
/* webpackMode: "lazy" */
|
|
2001
|
+
'./z-modal-login.entry.js').then(processMod, consoleError);
|
|
2002
|
+
case 'z-myz-card-alert':
|
|
2003
|
+
return import(
|
|
2004
|
+
/* webpackMode: "lazy" */
|
|
2005
|
+
'./z-myz-card-alert.entry.js').then(processMod, consoleError);
|
|
2006
|
+
case 'z-myz-card-dictionary':
|
|
2007
|
+
return import(
|
|
2008
|
+
/* webpackMode: "lazy" */
|
|
2009
|
+
'./z-myz-card-dictionary.entry.js').then(processMod, consoleError);
|
|
2010
|
+
case 'z-myz-card-footer':
|
|
2011
|
+
return import(
|
|
2012
|
+
/* webpackMode: "lazy" */
|
|
2013
|
+
'./z-myz-card-footer.entry.js').then(processMod, consoleError);
|
|
2014
|
+
case 'z-myz-card-footer-sections':
|
|
2015
|
+
return import(
|
|
2016
|
+
/* webpackMode: "lazy" */
|
|
2017
|
+
'./z-myz-card-footer-sections.entry.js').then(processMod, consoleError);
|
|
2018
|
+
case 'z-myz-card-icon':
|
|
2019
|
+
return import(
|
|
2020
|
+
/* webpackMode: "lazy" */
|
|
2021
|
+
'./z-myz-card-icon.entry.js').then(processMod, consoleError);
|
|
2022
|
+
case 'z-myz-card-info':
|
|
2023
|
+
return import(
|
|
2024
|
+
/* webpackMode: "lazy" */
|
|
2025
|
+
'./z-myz-card-info.entry.js').then(processMod, consoleError);
|
|
2026
|
+
case 'z-myz-card-list':
|
|
2027
|
+
return import(
|
|
2028
|
+
/* webpackMode: "lazy" */
|
|
2029
|
+
'./z-myz-card-list.entry.js').then(processMod, consoleError);
|
|
2030
|
+
case 'z-myz-topbar':
|
|
2031
|
+
return import(
|
|
2032
|
+
/* webpackMode: "lazy" */
|
|
2033
|
+
'./z-myz-topbar.entry.js').then(processMod, consoleError);
|
|
2034
|
+
case 'z-navigation-tab':
|
|
2035
|
+
return import(
|
|
2036
|
+
/* webpackMode: "lazy" */
|
|
2037
|
+
'./z-navigation-tab.entry.js').then(processMod, consoleError);
|
|
2038
|
+
case 'z-navigation-tab-link':
|
|
2039
|
+
return import(
|
|
2040
|
+
/* webpackMode: "lazy" */
|
|
2041
|
+
'./z-navigation-tab-link.entry.js').then(processMod, consoleError);
|
|
2042
|
+
case 'z-navigation-tabs':
|
|
2043
|
+
return import(
|
|
2044
|
+
/* webpackMode: "lazy" */
|
|
2045
|
+
'./z-navigation-tabs.entry.js').then(processMod, consoleError);
|
|
2046
|
+
case 'z-notification':
|
|
2047
|
+
return import(
|
|
2048
|
+
/* webpackMode: "lazy" */
|
|
2049
|
+
'./z-notification.entry.js').then(processMod, consoleError);
|
|
2050
|
+
case 'z-offcanvas':
|
|
2051
|
+
return import(
|
|
2052
|
+
/* webpackMode: "lazy" */
|
|
2053
|
+
'./z-offcanvas.entry.js').then(processMod, consoleError);
|
|
2054
|
+
case 'z-otp':
|
|
2055
|
+
return import(
|
|
2056
|
+
/* webpackMode: "lazy" */
|
|
2057
|
+
'./z-otp.entry.js').then(processMod, consoleError);
|
|
2058
|
+
case 'z-pagination':
|
|
2059
|
+
return import(
|
|
2060
|
+
/* webpackMode: "lazy" */
|
|
2061
|
+
'./z-pagination.entry.js').then(processMod, consoleError);
|
|
2062
|
+
case 'z-pagination-bar':
|
|
2063
|
+
return import(
|
|
2064
|
+
/* webpackMode: "lazy" */
|
|
2065
|
+
'./z-pagination-bar.entry.js').then(processMod, consoleError);
|
|
2066
|
+
case 'z-panel-elem':
|
|
2067
|
+
return import(
|
|
2068
|
+
/* webpackMode: "lazy" */
|
|
2069
|
+
'./z-panel-elem.entry.js').then(processMod, consoleError);
|
|
2070
|
+
case 'z-pocket-message':
|
|
2071
|
+
return import(
|
|
2072
|
+
/* webpackMode: "lazy" */
|
|
2073
|
+
'./z-pocket-message.entry.js').then(processMod, consoleError);
|
|
2074
|
+
case 'z-popover-deprecated':
|
|
2075
|
+
return import(
|
|
2076
|
+
/* webpackMode: "lazy" */
|
|
2077
|
+
'./z-popover-deprecated.entry.js').then(processMod, consoleError);
|
|
2078
|
+
case 'z-section-title':
|
|
2079
|
+
return import(
|
|
2080
|
+
/* webpackMode: "lazy" */
|
|
2081
|
+
'./z-section-title.entry.js').then(processMod, consoleError);
|
|
2082
|
+
case 'z-skip-to-content':
|
|
2083
|
+
return import(
|
|
2084
|
+
/* webpackMode: "lazy" */
|
|
2085
|
+
'./z-skip-to-content.entry.js').then(processMod, consoleError);
|
|
2086
|
+
case 'z-slideshow':
|
|
2087
|
+
return import(
|
|
2088
|
+
/* webpackMode: "lazy" */
|
|
2089
|
+
'./z-slideshow.entry.js').then(processMod, consoleError);
|
|
2090
|
+
case 'z-status-tag':
|
|
2091
|
+
return import(
|
|
2092
|
+
/* webpackMode: "lazy" */
|
|
2093
|
+
'./z-status-tag.entry.js').then(processMod, consoleError);
|
|
2094
|
+
case 'z-stepper':
|
|
2095
|
+
return import(
|
|
2096
|
+
/* webpackMode: "lazy" */
|
|
2097
|
+
'./z-stepper.entry.js').then(processMod, consoleError);
|
|
2098
|
+
case 'z-stepper-item':
|
|
2099
|
+
return import(
|
|
2100
|
+
/* webpackMode: "lazy" */
|
|
2101
|
+
'./z-stepper-item.entry.js').then(processMod, consoleError);
|
|
2102
|
+
case 'z-table':
|
|
2103
|
+
return import(
|
|
2104
|
+
/* webpackMode: "lazy" */
|
|
2105
|
+
'./z-table.entry.js').then(processMod, consoleError);
|
|
2106
|
+
case 'z-table-body':
|
|
2107
|
+
return import(
|
|
2108
|
+
/* webpackMode: "lazy" */
|
|
2109
|
+
'./z-table-body.entry.js').then(processMod, consoleError);
|
|
2110
|
+
case 'z-table-expanded-row':
|
|
2111
|
+
return import(
|
|
2112
|
+
/* webpackMode: "lazy" */
|
|
2113
|
+
'./z-table-expanded-row.entry.js').then(processMod, consoleError);
|
|
2114
|
+
case 'z-table-footer':
|
|
2115
|
+
return import(
|
|
2116
|
+
/* webpackMode: "lazy" */
|
|
2117
|
+
'./z-table-footer.entry.js').then(processMod, consoleError);
|
|
2118
|
+
case 'z-table-head':
|
|
2119
|
+
return import(
|
|
2120
|
+
/* webpackMode: "lazy" */
|
|
2121
|
+
'./z-table-head.entry.js').then(processMod, consoleError);
|
|
2122
|
+
case 'z-table-header-row':
|
|
2123
|
+
return import(
|
|
2124
|
+
/* webpackMode: "lazy" */
|
|
2125
|
+
'./z-table-header-row.entry.js').then(processMod, consoleError);
|
|
2126
|
+
case 'z-table-row':
|
|
2127
|
+
return import(
|
|
2128
|
+
/* webpackMode: "lazy" */
|
|
2129
|
+
'./z-table-row.entry.js').then(processMod, consoleError);
|
|
2130
|
+
case 'z-table-sticky-footer':
|
|
2131
|
+
return import(
|
|
2132
|
+
/* webpackMode: "lazy" */
|
|
2133
|
+
'./z-table-sticky-footer.entry.js').then(processMod, consoleError);
|
|
2134
|
+
case 'z-tag':
|
|
2135
|
+
return import(
|
|
2136
|
+
/* webpackMode: "lazy" */
|
|
2137
|
+
'./z-tag.entry.js').then(processMod, consoleError);
|
|
2138
|
+
case 'z-toast-notification':
|
|
2139
|
+
return import(
|
|
2140
|
+
/* webpackMode: "lazy" */
|
|
2141
|
+
'./z-toast-notification.entry.js').then(processMod, consoleError);
|
|
2142
|
+
case 'z-toast-notification-list':
|
|
2143
|
+
return import(
|
|
2144
|
+
/* webpackMode: "lazy" */
|
|
2145
|
+
'./z-toast-notification-list.entry.js').then(processMod, consoleError);
|
|
2146
|
+
case 'z-toggle-button':
|
|
2147
|
+
return import(
|
|
2148
|
+
/* webpackMode: "lazy" */
|
|
2149
|
+
'./z-toggle-button.entry.js').then(processMod, consoleError);
|
|
2150
|
+
case 'z-toggle-switch':
|
|
2151
|
+
return import(
|
|
2152
|
+
/* webpackMode: "lazy" */
|
|
2153
|
+
'./z-toggle-switch.entry.js').then(processMod, consoleError);
|
|
2154
|
+
case 'z-tooltip':
|
|
2155
|
+
return import(
|
|
2156
|
+
/* webpackMode: "lazy" */
|
|
2157
|
+
'./z-tooltip.entry.js').then(processMod, consoleError);
|
|
2158
|
+
case 'z-tooltip-deprecated':
|
|
2159
|
+
return import(
|
|
2160
|
+
/* webpackMode: "lazy" */
|
|
2161
|
+
'./z-tooltip-deprecated.entry.js').then(processMod, consoleError);
|
|
2162
|
+
case 'z-user-dropdown':
|
|
2163
|
+
return import(
|
|
2164
|
+
/* webpackMode: "lazy" */
|
|
2165
|
+
'./z-user-dropdown.entry.js').then(processMod, consoleError);
|
|
2166
|
+
case 'z-visually-hidden':
|
|
2167
|
+
return import(
|
|
2168
|
+
/* webpackMode: "lazy" */
|
|
2169
|
+
'./z-visually-hidden.entry.js').then(processMod, consoleError);
|
|
2170
|
+
case 'z-alert':
|
|
2171
|
+
return import(
|
|
2172
|
+
/* webpackMode: "lazy" */
|
|
2173
|
+
'./z-alert.entry.js').then(processMod, consoleError);
|
|
2174
|
+
case 'z-candybar':
|
|
2175
|
+
return import(
|
|
2176
|
+
/* webpackMode: "lazy" */
|
|
2177
|
+
'./z-candybar.entry.js').then(processMod, consoleError);
|
|
2178
|
+
case 'z-chip':
|
|
2179
|
+
return import(
|
|
2180
|
+
/* webpackMode: "lazy" */
|
|
2181
|
+
'./z-chip.entry.js').then(processMod, consoleError);
|
|
2182
|
+
case 'z-dragdrop-area_2':
|
|
2183
|
+
return import(
|
|
2184
|
+
/* webpackMode: "lazy" */
|
|
2185
|
+
'./z-dragdrop-area_2.entry.js').then(processMod, consoleError);
|
|
2186
|
+
case 'z-footer-link_3':
|
|
2187
|
+
return import(
|
|
2188
|
+
/* webpackMode: "lazy" */
|
|
2189
|
+
'./z-footer-link_3.entry.js').then(processMod, consoleError);
|
|
2190
|
+
case 'z-ghost-loading':
|
|
2191
|
+
return import(
|
|
2192
|
+
/* webpackMode: "lazy" */
|
|
2193
|
+
'./z-ghost-loading.entry.js').then(processMod, consoleError);
|
|
2194
|
+
case 'z-input-label_2':
|
|
2195
|
+
return import(
|
|
2196
|
+
/* webpackMode: "lazy" */
|
|
2197
|
+
'./z-input-label_2.entry.js').then(processMod, consoleError);
|
|
2198
|
+
case 'z-list-group':
|
|
2199
|
+
return import(
|
|
2200
|
+
/* webpackMode: "lazy" */
|
|
2201
|
+
'./z-list-group.entry.js').then(processMod, consoleError);
|
|
2202
|
+
case 'z-menu-dropdown_2':
|
|
2203
|
+
return import(
|
|
2204
|
+
/* webpackMode: "lazy" */
|
|
2205
|
+
'./z-menu-dropdown_2.entry.js').then(processMod, consoleError);
|
|
2206
|
+
case 'z-myz-card_4':
|
|
2207
|
+
return import(
|
|
2208
|
+
/* webpackMode: "lazy" */
|
|
2209
|
+
'./z-myz-card_4.entry.js').then(processMod, consoleError);
|
|
2210
|
+
case 'z-pagination-page':
|
|
2211
|
+
return import(
|
|
2212
|
+
/* webpackMode: "lazy" */
|
|
2213
|
+
'./z-pagination-page.entry.js').then(processMod, consoleError);
|
|
2214
|
+
case 'z-pocket_3':
|
|
2215
|
+
return import(
|
|
2216
|
+
/* webpackMode: "lazy" */
|
|
2217
|
+
'./z-pocket_3.entry.js').then(processMod, consoleError);
|
|
2218
|
+
case 'z-table-cell':
|
|
2219
|
+
return import(
|
|
2220
|
+
/* webpackMode: "lazy" */
|
|
2221
|
+
'./z-table-cell.entry.js').then(processMod, consoleError);
|
|
2222
|
+
case 'z-table-empty-box':
|
|
2223
|
+
return import(
|
|
2224
|
+
/* webpackMode: "lazy" */
|
|
2225
|
+
'./z-table-empty-box.entry.js').then(processMod, consoleError);
|
|
2226
|
+
case 'z-table-header':
|
|
2227
|
+
return import(
|
|
2228
|
+
/* webpackMode: "lazy" */
|
|
2229
|
+
'./z-table-header.entry.js').then(processMod, consoleError);
|
|
2230
|
+
case 'z-modal':
|
|
2231
|
+
return import(
|
|
2232
|
+
/* webpackMode: "lazy" */
|
|
2233
|
+
'./z-modal.entry.js').then(processMod, consoleError);
|
|
2234
|
+
case 'z-list_2':
|
|
2235
|
+
return import(
|
|
2236
|
+
/* webpackMode: "lazy" */
|
|
2237
|
+
'./z-list_2.entry.js').then(processMod, consoleError);
|
|
2238
|
+
case 'z-myz-list-item':
|
|
2239
|
+
return import(
|
|
2240
|
+
/* webpackMode: "lazy" */
|
|
2241
|
+
'./z-myz-list-item.entry.js').then(processMod, consoleError);
|
|
2242
|
+
case 'z-popover':
|
|
2243
|
+
return import(
|
|
2244
|
+
/* webpackMode: "lazy" */
|
|
2245
|
+
'./z-popover.entry.js').then(processMod, consoleError);
|
|
2246
|
+
case 'z-body_2':
|
|
2247
|
+
return import(
|
|
2248
|
+
/* webpackMode: "lazy" */
|
|
2249
|
+
'./z-body_2.entry.js').then(processMod, consoleError);
|
|
2250
|
+
case 'z-button':
|
|
2251
|
+
return import(
|
|
2252
|
+
/* webpackMode: "lazy" */
|
|
2253
|
+
'./z-button.entry.js').then(processMod, consoleError);
|
|
2254
|
+
}
|
|
2255
|
+
}
|
|
1705
2256
|
return import(
|
|
2257
|
+
/* @vite-ignore */
|
|
1706
2258
|
/* webpackInclude: /\.entry\.js$/ */
|
|
1707
2259
|
/* webpackExclude: /\.system\.entry\.js$/ */
|
|
1708
2260
|
/* webpackMode: "lazy" */
|
|
@@ -1713,14 +2265,14 @@ const loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
1713
2265
|
return importedModule[exportName];
|
|
1714
2266
|
}, consoleError);
|
|
1715
2267
|
};
|
|
1716
|
-
const styles = new Map();
|
|
2268
|
+
const styles = /*@__PURE__*/ new Map();
|
|
1717
2269
|
const queueDomReads = [];
|
|
1718
2270
|
const queueDomWrites = [];
|
|
1719
2271
|
const queueTask = (queue, write) => (cb) => {
|
|
1720
2272
|
queue.push(cb);
|
|
1721
2273
|
if (!queuePending) {
|
|
1722
2274
|
queuePending = true;
|
|
1723
|
-
if (write && plt.$flags$ & 4 /* queueSync */) {
|
|
2275
|
+
if (write && plt.$flags$ & 4 /* PLATFORM_FLAGS.queueSync */) {
|
|
1724
2276
|
nextTick(flush);
|
|
1725
2277
|
}
|
|
1726
2278
|
else {
|