@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
|
@@ -42,10 +42,10 @@ const plt = {
|
|
|
42
42
|
ce: (eventName, opts) => new CustomEvent(eventName, opts),
|
|
43
43
|
};
|
|
44
44
|
const promiseResolve = (v) => Promise.resolve(v);
|
|
45
|
-
const
|
|
45
|
+
const supportsConstructableStylesheets = /*@__PURE__*/ (() => {
|
|
46
46
|
try {
|
|
47
47
|
new CSSStyleSheet();
|
|
48
|
-
return typeof new CSSStyleSheet().
|
|
48
|
+
return typeof new CSSStyleSheet().replaceSync === 'function';
|
|
49
49
|
}
|
|
50
50
|
catch (e) { }
|
|
51
51
|
return false;
|
|
@@ -65,7 +65,7 @@ const addHostEventListeners = (elm, hostRef, listeners, attachParentListeners) =
|
|
|
65
65
|
const hostListenerProxy = (hostRef, methodName) => (ev) => {
|
|
66
66
|
try {
|
|
67
67
|
{
|
|
68
|
-
if (hostRef.$flags$ & 256 /* isListenReady */) {
|
|
68
|
+
if (hostRef.$flags$ & 256 /* HOST_FLAGS.isListenReady */) {
|
|
69
69
|
// instance is ready, let's call it's member method for this event
|
|
70
70
|
hostRef.$lazyInstance$[methodName](ev);
|
|
71
71
|
}
|
|
@@ -79,16 +79,16 @@ const hostListenerProxy = (hostRef, methodName) => (ev) => {
|
|
|
79
79
|
}
|
|
80
80
|
};
|
|
81
81
|
const getHostListenerTarget = (elm, flags) => {
|
|
82
|
-
if (flags & 4 /* TargetDocument */)
|
|
82
|
+
if (flags & 4 /* LISTENER_FLAGS.TargetDocument */)
|
|
83
83
|
return doc;
|
|
84
|
-
if (flags & 8 /* TargetWindow */)
|
|
84
|
+
if (flags & 8 /* LISTENER_FLAGS.TargetWindow */)
|
|
85
85
|
return win;
|
|
86
|
-
if (flags & 16 /* TargetBody */)
|
|
86
|
+
if (flags & 16 /* LISTENER_FLAGS.TargetBody */)
|
|
87
87
|
return doc.body;
|
|
88
88
|
return elm;
|
|
89
89
|
};
|
|
90
90
|
// prettier-ignore
|
|
91
|
-
const hostListenerOpts = (flags) => (flags & 2 /* Capture */) !== 0;
|
|
91
|
+
const hostListenerOpts = (flags) => (flags & 2 /* LISTENER_FLAGS.Capture */) !== 0;
|
|
92
92
|
const HYDRATED_CSS = '{visibility:hidden}.hydrated{visibility:inherit}';
|
|
93
93
|
const XLINK_NS = 'http://www.w3.org/1999/xlink';
|
|
94
94
|
const createTime = (fnName, tagName = '') => {
|
|
@@ -105,12 +105,17 @@ const uniqueTime = (key, measureText) => {
|
|
|
105
105
|
};
|
|
106
106
|
}
|
|
107
107
|
};
|
|
108
|
-
const rootAppliedStyles = new WeakMap();
|
|
108
|
+
const rootAppliedStyles = /*@__PURE__*/ new WeakMap();
|
|
109
109
|
const registerStyle = (scopeId, cssText, allowCS) => {
|
|
110
110
|
let style = styles.get(scopeId);
|
|
111
|
-
if (
|
|
111
|
+
if (supportsConstructableStylesheets && allowCS) {
|
|
112
112
|
style = (style || new CSSStyleSheet());
|
|
113
|
-
style
|
|
113
|
+
if (typeof style === 'string') {
|
|
114
|
+
style = cssText;
|
|
115
|
+
}
|
|
116
|
+
else {
|
|
117
|
+
style.replaceSync(cssText);
|
|
118
|
+
}
|
|
114
119
|
}
|
|
115
120
|
else {
|
|
116
121
|
style = cssText;
|
|
@@ -119,10 +124,10 @@ const registerStyle = (scopeId, cssText, allowCS) => {
|
|
|
119
124
|
};
|
|
120
125
|
const addStyle = (styleContainerNode, cmpMeta, mode, hostElm) => {
|
|
121
126
|
let scopeId = getScopeId(cmpMeta);
|
|
122
|
-
|
|
127
|
+
const style = styles.get(scopeId);
|
|
123
128
|
// if an element is NOT connected then getRootNode() will return the wrong root node
|
|
124
129
|
// so the fallback is to always use the document for the root node in those cases
|
|
125
|
-
styleContainerNode = styleContainerNode.nodeType === 11 /* DocumentFragment */ ? styleContainerNode : doc;
|
|
130
|
+
styleContainerNode = styleContainerNode.nodeType === 11 /* NODE_TYPE.DocumentFragment */ ? styleContainerNode : doc;
|
|
126
131
|
if (style) {
|
|
127
132
|
if (typeof style === 'string') {
|
|
128
133
|
styleContainerNode = styleContainerNode.head || styleContainerNode;
|
|
@@ -156,7 +161,7 @@ const attachStyles = (hostRef) => {
|
|
|
156
161
|
const flags = cmpMeta.$flags$;
|
|
157
162
|
const endAttachStyles = createTime('attachStyles', cmpMeta.$tagName$);
|
|
158
163
|
const scopeId = addStyle(elm.shadowRoot ? elm.shadowRoot : elm.getRootNode(), cmpMeta);
|
|
159
|
-
if (flags & 10 /* needsScopedEncapsulation */) {
|
|
164
|
+
if (flags & 10 /* CMP_FLAGS.needsScopedEncapsulation */) {
|
|
160
165
|
// only required when we're NOT using native shadow dom (slot)
|
|
161
166
|
// or this browser doesn't support native shadow dom
|
|
162
167
|
// and this host element was NOT created with SSR
|
|
@@ -166,7 +171,7 @@ const attachStyles = (hostRef) => {
|
|
|
166
171
|
// DOM WRITE!!
|
|
167
172
|
elm['s-sc'] = scopeId;
|
|
168
173
|
elm.classList.add(scopeId + '-h');
|
|
169
|
-
if (flags & 2 /* scopedCssEncapsulation */) {
|
|
174
|
+
if (flags & 2 /* CMP_FLAGS.scopedCssEncapsulation */) {
|
|
170
175
|
elm.classList.add(scopeId + '-s');
|
|
171
176
|
}
|
|
172
177
|
}
|
|
@@ -209,7 +214,7 @@ const h = (nodeName, vnodeData, ...children) => {
|
|
|
209
214
|
let slotName = null;
|
|
210
215
|
let simple = false;
|
|
211
216
|
let lastSimple = false;
|
|
212
|
-
|
|
217
|
+
const vNodeChildren = [];
|
|
213
218
|
const walk = (c) => {
|
|
214
219
|
for (let i = 0; i < c.length; i++) {
|
|
215
220
|
child = c[i];
|
|
@@ -384,7 +389,7 @@ const setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
|
|
|
384
389
|
if ((isProp || (isComplex && newValue !== null)) && !isSvg) {
|
|
385
390
|
try {
|
|
386
391
|
if (!elm.tagName.includes('-')) {
|
|
387
|
-
|
|
392
|
+
const n = newValue == null ? '' : newValue;
|
|
388
393
|
// Workaround for Safari, moving the <input> caret when re-assigning the same valued
|
|
389
394
|
if (memberName === 'list') {
|
|
390
395
|
isProp = false;
|
|
@@ -423,7 +428,7 @@ const setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
|
|
|
423
428
|
}
|
|
424
429
|
}
|
|
425
430
|
}
|
|
426
|
-
else if ((!isProp || flags & 4 /* isHost */ || isSvg) && !isComplex) {
|
|
431
|
+
else if ((!isProp || flags & 4 /* VNODE_FLAGS.isHost */ || isSvg) && !isComplex) {
|
|
427
432
|
newValue = newValue === true ? '' : newValue;
|
|
428
433
|
if (xlink) {
|
|
429
434
|
elm.setAttributeNS(XLINK_NS, memberName, newValue);
|
|
@@ -441,7 +446,7 @@ const updateElement = (oldVnode, newVnode, isSvgMode, memberName) => {
|
|
|
441
446
|
// if the element passed in is a shadow root, which is a document fragment
|
|
442
447
|
// then we want to be adding attrs/props to the shadow root's "host" element
|
|
443
448
|
// if it's not a shadow root, then we add attrs/props to the same element
|
|
444
|
-
const elm = newVnode.$elm$.nodeType === 11 /* DocumentFragment */ && newVnode.$elm$.host
|
|
449
|
+
const elm = newVnode.$elm$.nodeType === 11 /* NODE_TYPE.DocumentFragment */ && newVnode.$elm$.host
|
|
445
450
|
? newVnode.$elm$.host
|
|
446
451
|
: newVnode.$elm$;
|
|
447
452
|
const oldVnodeAttrs = (oldVnode && oldVnode.$attrs$) || EMPTY_OBJ;
|
|
@@ -459,9 +464,19 @@ const updateElement = (oldVnode, newVnode, isSvgMode, memberName) => {
|
|
|
459
464
|
setAccessor(elm, memberName, oldVnodeAttrs[memberName], newVnodeAttrs[memberName], isSvgMode, newVnode.$flags$);
|
|
460
465
|
}
|
|
461
466
|
};
|
|
467
|
+
/**
|
|
468
|
+
* Create a DOM Node corresponding to one of the children of a given VNode.
|
|
469
|
+
*
|
|
470
|
+
* @param oldParentVNode the parent VNode from the previous render
|
|
471
|
+
* @param newParentVNode the parent VNode from the current render
|
|
472
|
+
* @param childIndex the index of the VNode, in the _new_ parent node's
|
|
473
|
+
* children, for which we will create a new DOM node
|
|
474
|
+
* @param parentElm the parent DOM node which our new node will be a child of
|
|
475
|
+
* @returns the newly created node
|
|
476
|
+
*/
|
|
462
477
|
const createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
|
|
463
478
|
// tslint:disable-next-line: prefer-const
|
|
464
|
-
|
|
479
|
+
const newVNode = newParentVNode.$children$[childIndex];
|
|
465
480
|
let i = 0;
|
|
466
481
|
let elm;
|
|
467
482
|
let childNode;
|
|
@@ -476,16 +491,16 @@ const createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
|
|
|
476
491
|
}
|
|
477
492
|
newVNode.$flags$ |= newVNode.$children$
|
|
478
493
|
? // slot element has fallback content
|
|
479
|
-
2 /* isSlotFallback */
|
|
494
|
+
2 /* VNODE_FLAGS.isSlotFallback */
|
|
480
495
|
: // slot element does not have fallback content
|
|
481
|
-
1 /* isSlotReference */;
|
|
496
|
+
1 /* VNODE_FLAGS.isSlotReference */;
|
|
482
497
|
}
|
|
483
498
|
}
|
|
484
499
|
if (newVNode.$text$ !== null) {
|
|
485
500
|
// create text node
|
|
486
501
|
elm = newVNode.$elm$ = doc.createTextNode(newVNode.$text$);
|
|
487
502
|
}
|
|
488
|
-
else if (newVNode.$flags$ & 1 /* isSlotReference */) {
|
|
503
|
+
else if (newVNode.$flags$ & 1 /* VNODE_FLAGS.isSlotReference */) {
|
|
489
504
|
// create a slot reference node
|
|
490
505
|
elm = newVNode.$elm$ =
|
|
491
506
|
doc.createTextNode('');
|
|
@@ -495,7 +510,7 @@ const createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
|
|
|
495
510
|
isSvgMode = newVNode.$tag$ === 'svg';
|
|
496
511
|
}
|
|
497
512
|
// create element
|
|
498
|
-
elm = newVNode.$elm$ = (doc.createElementNS(isSvgMode ? SVG_NS : HTML_NS, newVNode.$flags$ & 2 /* isSlotFallback */
|
|
513
|
+
elm = newVNode.$elm$ = (doc.createElementNS(isSvgMode ? SVG_NS : HTML_NS, newVNode.$flags$ & 2 /* VNODE_FLAGS.isSlotFallback */
|
|
499
514
|
? 'slot-fb'
|
|
500
515
|
: newVNode.$tag$)
|
|
501
516
|
);
|
|
@@ -535,7 +550,7 @@ const createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
|
|
|
535
550
|
}
|
|
536
551
|
{
|
|
537
552
|
elm['s-hn'] = hostTagName;
|
|
538
|
-
if (newVNode.$flags$ & (2 /* isSlotFallback */ | 1 /* isSlotReference */)) {
|
|
553
|
+
if (newVNode.$flags$ & (2 /* VNODE_FLAGS.isSlotFallback */ | 1 /* VNODE_FLAGS.isSlotReference */)) {
|
|
539
554
|
// remember the content reference comment
|
|
540
555
|
elm['s-sr'] = true;
|
|
541
556
|
// remember the content reference comment
|
|
@@ -554,7 +569,7 @@ const createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
|
|
|
554
569
|
return elm;
|
|
555
570
|
};
|
|
556
571
|
const putBackInOriginalLocation = (parentElm, recursive) => {
|
|
557
|
-
plt.$flags$ |= 1 /* isTmpDisconnected */;
|
|
572
|
+
plt.$flags$ |= 1 /* PLATFORM_FLAGS.isTmpDisconnected */;
|
|
558
573
|
const oldSlotChildNodes = parentElm.childNodes;
|
|
559
574
|
for (let i = oldSlotChildNodes.length - 1; i >= 0; i--) {
|
|
560
575
|
const childNode = oldSlotChildNodes[i];
|
|
@@ -575,7 +590,7 @@ const putBackInOriginalLocation = (parentElm, recursive) => {
|
|
|
575
590
|
putBackInOriginalLocation(childNode, recursive);
|
|
576
591
|
}
|
|
577
592
|
}
|
|
578
|
-
plt.$flags$ &= ~1 /* isTmpDisconnected */;
|
|
593
|
+
plt.$flags$ &= ~1 /* PLATFORM_FLAGS.isTmpDisconnected */;
|
|
579
594
|
};
|
|
580
595
|
const addVnodes = (parentElm, before, parentVNode, vnodes, startIdx, endIdx) => {
|
|
581
596
|
let containerElm = ((parentElm['s-cr'] && parentElm['s-cr'].parentNode) || parentElm);
|
|
@@ -617,6 +632,74 @@ const removeVnodes = (vnodes, startIdx, endIdx, vnode, elm) => {
|
|
|
617
632
|
}
|
|
618
633
|
}
|
|
619
634
|
};
|
|
635
|
+
/**
|
|
636
|
+
* Reconcile the children of a new VNode with the children of an old VNode by
|
|
637
|
+
* traversing the two collections of children, identifying nodes that are
|
|
638
|
+
* conserved or changed, calling out to `patch` to make any necessary
|
|
639
|
+
* updates to the DOM, and rearranging DOM nodes as needed.
|
|
640
|
+
*
|
|
641
|
+
* The algorithm for reconciling children works by analyzing two 'windows' onto
|
|
642
|
+
* the two arrays of children (`oldCh` and `newCh`). We keep track of the
|
|
643
|
+
* 'windows' by storing start and end indices and references to the
|
|
644
|
+
* corresponding array entries. Initially the two 'windows' are basically equal
|
|
645
|
+
* to the entire array, but we progressively narrow the windows until there are
|
|
646
|
+
* no children left to update by doing the following:
|
|
647
|
+
*
|
|
648
|
+
* 1. Skip any `null` entries at the beginning or end of the two arrays, so
|
|
649
|
+
* that if we have an initial array like the following we'll end up dealing
|
|
650
|
+
* only with a window bounded by the highlighted elements:
|
|
651
|
+
*
|
|
652
|
+
* [null, null, VNode1 , ... , VNode2, null, null]
|
|
653
|
+
* ^^^^^^ ^^^^^^
|
|
654
|
+
*
|
|
655
|
+
* 2. Check to see if the elements at the head and tail positions are equal
|
|
656
|
+
* across the windows. This will basically detect elements which haven't
|
|
657
|
+
* been added, removed, or changed position, i.e. if you had the following
|
|
658
|
+
* VNode elements (represented as HTML):
|
|
659
|
+
*
|
|
660
|
+
* oldVNode: `<div><p><span>HEY</span></p></div>`
|
|
661
|
+
* newVNode: `<div><p><span>THERE</span></p></div>`
|
|
662
|
+
*
|
|
663
|
+
* Then when comparing the children of the `<div>` tag we check the equality
|
|
664
|
+
* of the VNodes corresponding to the `<p>` tags and, since they are the
|
|
665
|
+
* same tag in the same position, we'd be able to avoid completely
|
|
666
|
+
* re-rendering the subtree under them with a new DOM element and would just
|
|
667
|
+
* call out to `patch` to handle reconciling their children and so on.
|
|
668
|
+
*
|
|
669
|
+
* 3. Check, for both windows, to see if the element at the beginning of the
|
|
670
|
+
* window corresponds to the element at the end of the other window. This is
|
|
671
|
+
* a heuristic which will let us identify _some_ situations in which
|
|
672
|
+
* elements have changed position, for instance it _should_ detect that the
|
|
673
|
+
* children nodes themselves have not changed but merely moved in the
|
|
674
|
+
* following example:
|
|
675
|
+
*
|
|
676
|
+
* oldVNode: `<div><element-one /><element-two /></div>`
|
|
677
|
+
* newVNode: `<div><element-two /><element-one /></div>`
|
|
678
|
+
*
|
|
679
|
+
* If we find cases like this then we also need to move the concrete DOM
|
|
680
|
+
* elements corresponding to the moved children to write the re-order to the
|
|
681
|
+
* DOM.
|
|
682
|
+
*
|
|
683
|
+
* 4. Finally, if VNodes have the `key` attribute set on them we check for any
|
|
684
|
+
* nodes in the old children which have the same key as the first element in
|
|
685
|
+
* our window on the new children. If we find such a node we handle calling
|
|
686
|
+
* out to `patch`, moving relevant DOM nodes, and so on, in accordance with
|
|
687
|
+
* what we find.
|
|
688
|
+
*
|
|
689
|
+
* Finally, once we've narrowed our 'windows' to the point that either of them
|
|
690
|
+
* collapse (i.e. they have length 0) we then handle any remaining VNode
|
|
691
|
+
* insertion or deletion that needs to happen to get a DOM state that correctly
|
|
692
|
+
* reflects the new child VNodes. If, for instance, after our window on the old
|
|
693
|
+
* children has collapsed we still have more nodes on the new children that
|
|
694
|
+
* we haven't dealt with yet then we need to add them, or if the new children
|
|
695
|
+
* collapse but we still have unhandled _old_ children then we need to make
|
|
696
|
+
* sure the corresponding DOM nodes are removed.
|
|
697
|
+
*
|
|
698
|
+
* @param parentElm the node into which the parent VNode is rendered
|
|
699
|
+
* @param oldCh the old children of the parent node
|
|
700
|
+
* @param newVNode the new VNode which will replace the parent
|
|
701
|
+
* @param newCh the new children of the parent node
|
|
702
|
+
*/
|
|
620
703
|
const updateChildren = (parentElm, oldCh, newVNode, newCh) => {
|
|
621
704
|
let oldStartIdx = 0;
|
|
622
705
|
let newStartIdx = 0;
|
|
@@ -632,7 +715,7 @@ const updateChildren = (parentElm, oldCh, newVNode, newCh) => {
|
|
|
632
715
|
let elmToMove;
|
|
633
716
|
while (oldStartIdx <= oldEndIdx && newStartIdx <= newEndIdx) {
|
|
634
717
|
if (oldStartVnode == null) {
|
|
635
|
-
//
|
|
718
|
+
// VNode might have been moved left
|
|
636
719
|
oldStartVnode = oldCh[++oldStartIdx];
|
|
637
720
|
}
|
|
638
721
|
else if (oldEndVnode == null) {
|
|
@@ -645,37 +728,100 @@ const updateChildren = (parentElm, oldCh, newVNode, newCh) => {
|
|
|
645
728
|
newEndVnode = newCh[--newEndIdx];
|
|
646
729
|
}
|
|
647
730
|
else if (isSameVnode(oldStartVnode, newStartVnode)) {
|
|
731
|
+
// if the start nodes are the same then we should patch the new VNode
|
|
732
|
+
// onto the old one, and increment our `newStartIdx` and `oldStartIdx`
|
|
733
|
+
// indices to reflect that. We don't need to move any DOM Nodes around
|
|
734
|
+
// since things are matched up in order.
|
|
648
735
|
patch(oldStartVnode, newStartVnode);
|
|
649
736
|
oldStartVnode = oldCh[++oldStartIdx];
|
|
650
737
|
newStartVnode = newCh[++newStartIdx];
|
|
651
738
|
}
|
|
652
739
|
else if (isSameVnode(oldEndVnode, newEndVnode)) {
|
|
740
|
+
// likewise, if the end nodes are the same we patch new onto old and
|
|
741
|
+
// decrement our end indices, and also likewise in this case we don't
|
|
742
|
+
// need to move any DOM Nodes.
|
|
653
743
|
patch(oldEndVnode, newEndVnode);
|
|
654
744
|
oldEndVnode = oldCh[--oldEndIdx];
|
|
655
745
|
newEndVnode = newCh[--newEndIdx];
|
|
656
746
|
}
|
|
657
747
|
else if (isSameVnode(oldStartVnode, newEndVnode)) {
|
|
658
|
-
// Vnode moved right
|
|
748
|
+
// case: "Vnode moved right"
|
|
749
|
+
//
|
|
750
|
+
// We've found that the last node in our window on the new children is
|
|
751
|
+
// the same VNode as the _first_ node in our window on the old children
|
|
752
|
+
// we're dealing with now. Visually, this is the layout of these two
|
|
753
|
+
// nodes:
|
|
754
|
+
//
|
|
755
|
+
// newCh: [..., newStartVnode , ... , newEndVnode , ...]
|
|
756
|
+
// ^^^^^^^^^^^
|
|
757
|
+
// oldCh: [..., oldStartVnode , ... , oldEndVnode , ...]
|
|
758
|
+
// ^^^^^^^^^^^^^
|
|
759
|
+
//
|
|
760
|
+
// In this situation we need to patch `newEndVnode` onto `oldStartVnode`
|
|
761
|
+
// and move the DOM element for `oldStartVnode`.
|
|
659
762
|
if ((oldStartVnode.$tag$ === 'slot' || newEndVnode.$tag$ === 'slot')) {
|
|
660
763
|
putBackInOriginalLocation(oldStartVnode.$elm$.parentNode, false);
|
|
661
764
|
}
|
|
662
765
|
patch(oldStartVnode, newEndVnode);
|
|
766
|
+
// We need to move the element for `oldStartVnode` into a position which
|
|
767
|
+
// will be appropriate for `newEndVnode`. For this we can use
|
|
768
|
+
// `.insertBefore` and `oldEndVnode.$elm$.nextSibling`. If there is a
|
|
769
|
+
// sibling for `oldEndVnode.$elm$` then we want to move the DOM node for
|
|
770
|
+
// `oldStartVnode` between `oldEndVnode` and it's sibling, like so:
|
|
771
|
+
//
|
|
772
|
+
// <old-start-node />
|
|
773
|
+
// <some-intervening-node />
|
|
774
|
+
// <old-end-node />
|
|
775
|
+
// <!-- -> <-- `oldStartVnode.$elm$` should be inserted here
|
|
776
|
+
// <next-sibling />
|
|
777
|
+
//
|
|
778
|
+
// If instead `oldEndVnode.$elm$` has no sibling then we just want to put
|
|
779
|
+
// the node for `oldStartVnode` at the end of the children of
|
|
780
|
+
// `parentElm`. Luckily, `Node.nextSibling` will return `null` if there
|
|
781
|
+
// aren't any siblings, and passing `null` to `Node.insertBefore` will
|
|
782
|
+
// append it to the children of the parent element.
|
|
663
783
|
parentElm.insertBefore(oldStartVnode.$elm$, oldEndVnode.$elm$.nextSibling);
|
|
664
784
|
oldStartVnode = oldCh[++oldStartIdx];
|
|
665
785
|
newEndVnode = newCh[--newEndIdx];
|
|
666
786
|
}
|
|
667
787
|
else if (isSameVnode(oldEndVnode, newStartVnode)) {
|
|
668
|
-
// Vnode moved left
|
|
788
|
+
// case: "Vnode moved left"
|
|
789
|
+
//
|
|
790
|
+
// We've found that the first node in our window on the new children is
|
|
791
|
+
// the same VNode as the _last_ node in our window on the old children.
|
|
792
|
+
// Visually, this is the layout of these two nodes:
|
|
793
|
+
//
|
|
794
|
+
// newCh: [..., newStartVnode , ... , newEndVnode , ...]
|
|
795
|
+
// ^^^^^^^^^^^^^
|
|
796
|
+
// oldCh: [..., oldStartVnode , ... , oldEndVnode , ...]
|
|
797
|
+
// ^^^^^^^^^^^
|
|
798
|
+
//
|
|
799
|
+
// In this situation we need to patch `newStartVnode` onto `oldEndVnode`
|
|
800
|
+
// (which will handle updating any changed attributes, reconciling their
|
|
801
|
+
// children etc) but we also need to move the DOM node to which
|
|
802
|
+
// `oldEndVnode` corresponds.
|
|
669
803
|
if ((oldStartVnode.$tag$ === 'slot' || newEndVnode.$tag$ === 'slot')) {
|
|
670
804
|
putBackInOriginalLocation(oldEndVnode.$elm$.parentNode, false);
|
|
671
805
|
}
|
|
672
806
|
patch(oldEndVnode, newStartVnode);
|
|
807
|
+
// We've already checked above if `oldStartVnode` and `newStartVnode` are
|
|
808
|
+
// the same node, so since we're here we know that they are not. Thus we
|
|
809
|
+
// can move the element for `oldEndVnode` _before_ the element for
|
|
810
|
+
// `oldStartVnode`, leaving `oldStartVnode` to be reconciled in the
|
|
811
|
+
// future.
|
|
673
812
|
parentElm.insertBefore(oldEndVnode.$elm$, oldStartVnode.$elm$);
|
|
674
813
|
oldEndVnode = oldCh[--oldEndIdx];
|
|
675
814
|
newStartVnode = newCh[++newStartIdx];
|
|
676
815
|
}
|
|
677
816
|
else {
|
|
678
|
-
//
|
|
817
|
+
// Here we do some checks to match up old and new nodes based on the
|
|
818
|
+
// `$key$` attribute, which is set by putting a `key="my-key"` attribute
|
|
819
|
+
// in the JSX for a DOM element in the implementation of a Stencil
|
|
820
|
+
// component.
|
|
821
|
+
//
|
|
822
|
+
// First we check to see if there are any nodes in the array of old
|
|
823
|
+
// children which have the same key as the first node in the new
|
|
824
|
+
// children.
|
|
679
825
|
idxInOld = -1;
|
|
680
826
|
{
|
|
681
827
|
for (i = oldStartIdx; i <= oldEndIdx; ++i) {
|
|
@@ -686,23 +832,32 @@ const updateChildren = (parentElm, oldCh, newVNode, newCh) => {
|
|
|
686
832
|
}
|
|
687
833
|
}
|
|
688
834
|
if (idxInOld >= 0) {
|
|
835
|
+
// We found a node in the old children which matches up with the first
|
|
836
|
+
// node in the new children! So let's deal with that
|
|
689
837
|
elmToMove = oldCh[idxInOld];
|
|
690
838
|
if (elmToMove.$tag$ !== newStartVnode.$tag$) {
|
|
839
|
+
// the tag doesn't match so we'll need a new DOM element
|
|
691
840
|
node = createElm(oldCh && oldCh[newStartIdx], newVNode, idxInOld, parentElm);
|
|
692
841
|
}
|
|
693
842
|
else {
|
|
694
843
|
patch(elmToMove, newStartVnode);
|
|
844
|
+
// invalidate the matching old node so that we won't try to update it
|
|
845
|
+
// again later on
|
|
695
846
|
oldCh[idxInOld] = undefined;
|
|
696
847
|
node = elmToMove.$elm$;
|
|
697
848
|
}
|
|
698
849
|
newStartVnode = newCh[++newStartIdx];
|
|
699
850
|
}
|
|
700
851
|
else {
|
|
701
|
-
//
|
|
852
|
+
// We either didn't find an element in the old children that matches
|
|
853
|
+
// the key of the first new child OR the build is not using `key`
|
|
854
|
+
// attributes at all. In either case we need to create a new element
|
|
855
|
+
// for the new node.
|
|
702
856
|
node = createElm(oldCh && oldCh[newStartIdx], newVNode, newStartIdx, parentElm);
|
|
703
857
|
newStartVnode = newCh[++newStartIdx];
|
|
704
858
|
}
|
|
705
859
|
if (node) {
|
|
860
|
+
// if we created a new node then handle inserting it to the DOM
|
|
706
861
|
{
|
|
707
862
|
parentReferenceNode(oldStartVnode.$elm$).insertBefore(node, referenceNode(oldStartVnode.$elm$));
|
|
708
863
|
}
|
|
@@ -710,21 +865,43 @@ const updateChildren = (parentElm, oldCh, newVNode, newCh) => {
|
|
|
710
865
|
}
|
|
711
866
|
}
|
|
712
867
|
if (oldStartIdx > oldEndIdx) {
|
|
868
|
+
// we have some more new nodes to add which don't match up with old nodes
|
|
713
869
|
addVnodes(parentElm, newCh[newEndIdx + 1] == null ? null : newCh[newEndIdx + 1].$elm$, newVNode, newCh, newStartIdx, newEndIdx);
|
|
714
870
|
}
|
|
715
871
|
else if (newStartIdx > newEndIdx) {
|
|
872
|
+
// there are nodes in the `oldCh` array which no longer correspond to nodes
|
|
873
|
+
// in the new array, so lets remove them (which entails cleaning up the
|
|
874
|
+
// relevant DOM nodes)
|
|
716
875
|
removeVnodes(oldCh, oldStartIdx, oldEndIdx);
|
|
717
876
|
}
|
|
718
877
|
};
|
|
719
|
-
|
|
878
|
+
/**
|
|
879
|
+
* Compare two VNodes to determine if they are the same
|
|
880
|
+
*
|
|
881
|
+
* **NB**: This function is an equality _heuristic_ based on the available
|
|
882
|
+
* information set on the two VNodes and can be misleading under certain
|
|
883
|
+
* circumstances. In particular, if the two nodes do not have `key` attrs
|
|
884
|
+
* (available under `$key$` on VNodes) then the function falls back on merely
|
|
885
|
+
* checking that they have the same tag.
|
|
886
|
+
*
|
|
887
|
+
* So, in other words, if `key` attrs are not set on VNodes which may be
|
|
888
|
+
* changing order within a `children` array or something along those lines then
|
|
889
|
+
* we could obtain a false positive and then have to do needless re-rendering.
|
|
890
|
+
*
|
|
891
|
+
* @param leftVNode the first VNode to check
|
|
892
|
+
* @param rightVNode the second VNode to check
|
|
893
|
+
* @returns whether they're equal or not
|
|
894
|
+
*/
|
|
895
|
+
const isSameVnode = (leftVNode, rightVNode) => {
|
|
720
896
|
// compare if two vnode to see if they're "technically" the same
|
|
721
897
|
// need to have the same element tag, and same key to be the same
|
|
722
|
-
if (
|
|
723
|
-
if (
|
|
724
|
-
return
|
|
898
|
+
if (leftVNode.$tag$ === rightVNode.$tag$) {
|
|
899
|
+
if (leftVNode.$tag$ === 'slot') {
|
|
900
|
+
return leftVNode.$name$ === rightVNode.$name$;
|
|
725
901
|
}
|
|
902
|
+
// this will be set if components in the build have `key` attrs set on them
|
|
726
903
|
{
|
|
727
|
-
return
|
|
904
|
+
return leftVNode.$key$ === rightVNode.$key$;
|
|
728
905
|
}
|
|
729
906
|
}
|
|
730
907
|
return false;
|
|
@@ -737,6 +914,14 @@ const referenceNode = (node) => {
|
|
|
737
914
|
return (node && node['s-ol']) || node;
|
|
738
915
|
};
|
|
739
916
|
const parentReferenceNode = (node) => (node['s-ol'] ? node['s-ol'] : node).parentNode;
|
|
917
|
+
/**
|
|
918
|
+
* Handle reconciling an outdated VNode with a new one which corresponds to
|
|
919
|
+
* it. This function handles flushing updates to the DOM and reconciling the
|
|
920
|
+
* children of the two nodes (if any).
|
|
921
|
+
*
|
|
922
|
+
* @param oldVNode an old VNode whose DOM element and children we want to update
|
|
923
|
+
* @param newVNode a new VNode representing an updated version of the old one
|
|
924
|
+
*/
|
|
740
925
|
const patch = (oldVNode, newVNode) => {
|
|
741
926
|
const elm = (newVNode.$elm$ = oldVNode.$elm$);
|
|
742
927
|
const oldChildren = oldVNode.$children$;
|
|
@@ -750,7 +935,6 @@ const patch = (oldVNode, newVNode) => {
|
|
|
750
935
|
// only add this to the when the compiler sees we're using an svg somewhere
|
|
751
936
|
isSvgMode = tag === 'svg' ? true : tag === 'foreignObject' ? false : isSvgMode;
|
|
752
937
|
}
|
|
753
|
-
// element node
|
|
754
938
|
{
|
|
755
939
|
if (tag === 'slot')
|
|
756
940
|
;
|
|
@@ -763,6 +947,7 @@ const patch = (oldVNode, newVNode) => {
|
|
|
763
947
|
}
|
|
764
948
|
if (oldChildren !== null && newChildren !== null) {
|
|
765
949
|
// looks like there's child vnodes for both the old and new vnodes
|
|
950
|
+
// so we need to call `updateChildren` to reconcile them
|
|
766
951
|
updateChildren(elm, oldChildren, newVNode, newChildren);
|
|
767
952
|
}
|
|
768
953
|
else if (newChildren !== null) {
|
|
@@ -794,7 +979,7 @@ const patch = (oldVNode, newVNode) => {
|
|
|
794
979
|
};
|
|
795
980
|
const updateFallbackSlotVisibility = (elm) => {
|
|
796
981
|
// tslint:disable-next-line: prefer-const
|
|
797
|
-
|
|
982
|
+
const childNodes = elm.childNodes;
|
|
798
983
|
let childNode;
|
|
799
984
|
let i;
|
|
800
985
|
let ilen;
|
|
@@ -803,7 +988,7 @@ const updateFallbackSlotVisibility = (elm) => {
|
|
|
803
988
|
let nodeType;
|
|
804
989
|
for (i = 0, ilen = childNodes.length; i < ilen; i++) {
|
|
805
990
|
childNode = childNodes[i];
|
|
806
|
-
if (childNode.nodeType === 1 /* ElementNode */) {
|
|
991
|
+
if (childNode.nodeType === 1 /* NODE_TYPE.ElementNode */) {
|
|
807
992
|
if (childNode['s-sr']) {
|
|
808
993
|
// this is a slot fallback node
|
|
809
994
|
// get the slot name for this slot reference node
|
|
@@ -815,7 +1000,7 @@ const updateFallbackSlotVisibility = (elm) => {
|
|
|
815
1000
|
nodeType = childNodes[j].nodeType;
|
|
816
1001
|
if (childNodes[j]['s-hn'] !== childNode['s-hn'] || slotNameAttr !== '') {
|
|
817
1002
|
// this sibling node is from a different component OR is a named fallback slot node
|
|
818
|
-
if (nodeType === 1 /* ElementNode */ && slotNameAttr === childNodes[j].getAttribute('slot')) {
|
|
1003
|
+
if (nodeType === 1 /* NODE_TYPE.ElementNode */ && slotNameAttr === childNodes[j].getAttribute('slot')) {
|
|
819
1004
|
childNode.hidden = true;
|
|
820
1005
|
break;
|
|
821
1006
|
}
|
|
@@ -824,8 +1009,8 @@ const updateFallbackSlotVisibility = (elm) => {
|
|
|
824
1009
|
// this is a default fallback slot node
|
|
825
1010
|
// any element or text node (with content)
|
|
826
1011
|
// should hide the default fallback slot node
|
|
827
|
-
if (nodeType === 1 /* ElementNode */ ||
|
|
828
|
-
(nodeType === 3 /* TextNode */ && childNodes[j].textContent.trim() !== '')) {
|
|
1012
|
+
if (nodeType === 1 /* NODE_TYPE.ElementNode */ ||
|
|
1013
|
+
(nodeType === 3 /* NODE_TYPE.TextNode */ && childNodes[j].textContent.trim() !== '')) {
|
|
829
1014
|
childNode.hidden = true;
|
|
830
1015
|
break;
|
|
831
1016
|
}
|
|
@@ -847,8 +1032,8 @@ const relocateSlotContent = (elm) => {
|
|
|
847
1032
|
let relocateNodeData;
|
|
848
1033
|
let j;
|
|
849
1034
|
let i = 0;
|
|
850
|
-
|
|
851
|
-
|
|
1035
|
+
const childNodes = elm.childNodes;
|
|
1036
|
+
const ilen = childNodes.length;
|
|
852
1037
|
for (; i < ilen; i++) {
|
|
853
1038
|
childNode = childNodes[i];
|
|
854
1039
|
if (childNode['s-sr'] && (node = childNode['s-cr']) && node.parentNode) {
|
|
@@ -903,13 +1088,13 @@ const relocateSlotContent = (elm) => {
|
|
|
903
1088
|
}
|
|
904
1089
|
}
|
|
905
1090
|
}
|
|
906
|
-
if (childNode.nodeType === 1 /* ElementNode */) {
|
|
1091
|
+
if (childNode.nodeType === 1 /* NODE_TYPE.ElementNode */) {
|
|
907
1092
|
relocateSlotContent(childNode);
|
|
908
1093
|
}
|
|
909
1094
|
}
|
|
910
1095
|
};
|
|
911
1096
|
const isNodeLocatedInSlot = (nodeToRelocate, slotNameAttr) => {
|
|
912
|
-
if (nodeToRelocate.nodeType === 1 /* ElementNode */) {
|
|
1097
|
+
if (nodeToRelocate.nodeType === 1 /* NODE_TYPE.ElementNode */) {
|
|
913
1098
|
if (nodeToRelocate.getAttribute('slot') === null && slotNameAttr === '') {
|
|
914
1099
|
return true;
|
|
915
1100
|
}
|
|
@@ -940,7 +1125,7 @@ const renderVdom = (hostRef, renderFnResults) => {
|
|
|
940
1125
|
cmpMeta.$attrsToReflect$.map(([propName, attribute]) => (rootVnode.$attrs$[attribute] = hostElm[propName]));
|
|
941
1126
|
}
|
|
942
1127
|
rootVnode.$tag$ = null;
|
|
943
|
-
rootVnode.$flags$ |= 4 /* isHost */;
|
|
1128
|
+
rootVnode.$flags$ |= 4 /* VNODE_FLAGS.isHost */;
|
|
944
1129
|
hostRef.$vnode$ = rootVnode;
|
|
945
1130
|
rootVnode.$elm$ = oldVNode.$elm$ = (hostElm.shadowRoot || hostElm );
|
|
946
1131
|
{
|
|
@@ -948,7 +1133,7 @@ const renderVdom = (hostRef, renderFnResults) => {
|
|
|
948
1133
|
}
|
|
949
1134
|
{
|
|
950
1135
|
contentRef = hostElm['s-cr'];
|
|
951
|
-
useNativeShadowDom = (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) !== 0;
|
|
1136
|
+
useNativeShadowDom = (cmpMeta.$flags$ & 1 /* CMP_FLAGS.shadowDomEncapsulation */) !== 0;
|
|
952
1137
|
// always reset
|
|
953
1138
|
checkSlotFallbackVisibility = false;
|
|
954
1139
|
}
|
|
@@ -957,7 +1142,7 @@ const renderVdom = (hostRef, renderFnResults) => {
|
|
|
957
1142
|
{
|
|
958
1143
|
// while we're moving nodes around existing nodes, temporarily disable
|
|
959
1144
|
// the disconnectCallback from working
|
|
960
|
-
plt.$flags$ |= 1 /* isTmpDisconnected */;
|
|
1145
|
+
plt.$flags$ |= 1 /* PLATFORM_FLAGS.isTmpDisconnected */;
|
|
961
1146
|
if (checkSlotRelocate) {
|
|
962
1147
|
relocateSlotContent(rootVnode.$elm$);
|
|
963
1148
|
let relocateData;
|
|
@@ -1015,7 +1200,7 @@ const renderVdom = (hostRef, renderFnResults) => {
|
|
|
1015
1200
|
}
|
|
1016
1201
|
else {
|
|
1017
1202
|
// this node doesn't have a slot home to go to, so let's hide it
|
|
1018
|
-
if (nodeToRelocate.nodeType === 1 /* ElementNode */) {
|
|
1203
|
+
if (nodeToRelocate.nodeType === 1 /* NODE_TYPE.ElementNode */) {
|
|
1019
1204
|
nodeToRelocate.hidden = true;
|
|
1020
1205
|
}
|
|
1021
1206
|
}
|
|
@@ -1026,7 +1211,7 @@ const renderVdom = (hostRef, renderFnResults) => {
|
|
|
1026
1211
|
}
|
|
1027
1212
|
// done moving nodes around
|
|
1028
1213
|
// allow the disconnect callback to work again
|
|
1029
|
-
plt.$flags$ &= ~1 /* isTmpDisconnected */;
|
|
1214
|
+
plt.$flags$ &= ~1 /* PLATFORM_FLAGS.isTmpDisconnected */;
|
|
1030
1215
|
// always reset
|
|
1031
1216
|
relocateNodes.length = 0;
|
|
1032
1217
|
}
|
|
@@ -1037,9 +1222,9 @@ const createEvent = (ref, name, flags) => {
|
|
|
1037
1222
|
return {
|
|
1038
1223
|
emit: (detail) => {
|
|
1039
1224
|
return emitEvent(elm, name, {
|
|
1040
|
-
bubbles: !!(flags & 4 /* Bubbles */),
|
|
1041
|
-
composed: !!(flags & 2 /* Composed */),
|
|
1042
|
-
cancelable: !!(flags & 1 /* Cancellable */),
|
|
1225
|
+
bubbles: !!(flags & 4 /* EVENT_FLAGS.Bubbles */),
|
|
1226
|
+
composed: !!(flags & 2 /* EVENT_FLAGS.Composed */),
|
|
1227
|
+
cancelable: !!(flags & 1 /* EVENT_FLAGS.Cancellable */),
|
|
1043
1228
|
detail,
|
|
1044
1229
|
});
|
|
1045
1230
|
},
|
|
@@ -1064,10 +1249,10 @@ const attachToAncestor = (hostRef, ancestorComponent) => {
|
|
|
1064
1249
|
};
|
|
1065
1250
|
const scheduleUpdate = (hostRef, isInitialLoad) => {
|
|
1066
1251
|
{
|
|
1067
|
-
hostRef.$flags$ |= 16 /* isQueuedForUpdate */;
|
|
1252
|
+
hostRef.$flags$ |= 16 /* HOST_FLAGS.isQueuedForUpdate */;
|
|
1068
1253
|
}
|
|
1069
|
-
if (hostRef.$flags$ & 4 /* isWaitingForChildren */) {
|
|
1070
|
-
hostRef.$flags$ |= 512 /* needsRerender */;
|
|
1254
|
+
if (hostRef.$flags$ & 4 /* HOST_FLAGS.isWaitingForChildren */) {
|
|
1255
|
+
hostRef.$flags$ |= 512 /* HOST_FLAGS.needsRerender */;
|
|
1071
1256
|
return;
|
|
1072
1257
|
}
|
|
1073
1258
|
attachToAncestor(hostRef, hostRef.$ancestorComponent$);
|
|
@@ -1083,7 +1268,7 @@ const dispatchHooks = (hostRef, isInitialLoad) => {
|
|
|
1083
1268
|
let promise;
|
|
1084
1269
|
if (isInitialLoad) {
|
|
1085
1270
|
{
|
|
1086
|
-
hostRef.$flags$ |= 256 /* isListenReady */;
|
|
1271
|
+
hostRef.$flags$ |= 256 /* HOST_FLAGS.isListenReady */;
|
|
1087
1272
|
if (hostRef.$queuedListeners$) {
|
|
1088
1273
|
hostRef.$queuedListeners$.map(([methodName, event]) => safeCall(instance, methodName, event));
|
|
1089
1274
|
hostRef.$queuedListeners$ = null;
|
|
@@ -1134,7 +1319,7 @@ const updateComponent = async (hostRef, instance, isInitialLoad) => {
|
|
|
1134
1319
|
}
|
|
1135
1320
|
else {
|
|
1136
1321
|
Promise.all(childrenPromises).then(postUpdate);
|
|
1137
|
-
hostRef.$flags$ |= 4 /* isWaitingForChildren */;
|
|
1322
|
+
hostRef.$flags$ |= 4 /* HOST_FLAGS.isWaitingForChildren */;
|
|
1138
1323
|
childrenPromises.length = 0;
|
|
1139
1324
|
}
|
|
1140
1325
|
}
|
|
@@ -1143,10 +1328,10 @@ const callRender = (hostRef, instance, elm) => {
|
|
|
1143
1328
|
try {
|
|
1144
1329
|
instance = instance.render() ;
|
|
1145
1330
|
{
|
|
1146
|
-
hostRef.$flags$ &= ~16 /* isQueuedForUpdate */;
|
|
1331
|
+
hostRef.$flags$ &= ~16 /* HOST_FLAGS.isQueuedForUpdate */;
|
|
1147
1332
|
}
|
|
1148
1333
|
{
|
|
1149
|
-
hostRef.$flags$ |= 2 /* hasRendered */;
|
|
1334
|
+
hostRef.$flags$ |= 2 /* HOST_FLAGS.hasRendered */;
|
|
1150
1335
|
}
|
|
1151
1336
|
{
|
|
1152
1337
|
{
|
|
@@ -1173,8 +1358,8 @@ const postUpdateComponent = (hostRef) => {
|
|
|
1173
1358
|
{
|
|
1174
1359
|
safeCall(instance, 'componentDidRender');
|
|
1175
1360
|
}
|
|
1176
|
-
if (!(hostRef.$flags$ & 64 /* hasLoadedComponent */)) {
|
|
1177
|
-
hostRef.$flags$ |= 64 /* hasLoadedComponent */;
|
|
1361
|
+
if (!(hostRef.$flags$ & 64 /* HOST_FLAGS.hasLoadedComponent */)) {
|
|
1362
|
+
hostRef.$flags$ |= 64 /* HOST_FLAGS.hasLoadedComponent */;
|
|
1178
1363
|
{
|
|
1179
1364
|
// DOM WRITE!
|
|
1180
1365
|
addHydratedFlag(elm);
|
|
@@ -1206,10 +1391,10 @@ const postUpdateComponent = (hostRef) => {
|
|
|
1206
1391
|
hostRef.$onRenderResolve$();
|
|
1207
1392
|
hostRef.$onRenderResolve$ = undefined;
|
|
1208
1393
|
}
|
|
1209
|
-
if (hostRef.$flags$ & 512 /* needsRerender */) {
|
|
1394
|
+
if (hostRef.$flags$ & 512 /* HOST_FLAGS.needsRerender */) {
|
|
1210
1395
|
nextTick(() => scheduleUpdate(hostRef, false));
|
|
1211
1396
|
}
|
|
1212
|
-
hostRef.$flags$ &= ~(4 /* isWaitingForChildren */ | 512 /* needsRerender */);
|
|
1397
|
+
hostRef.$flags$ &= ~(4 /* HOST_FLAGS.isWaitingForChildren */ | 512 /* HOST_FLAGS.needsRerender */);
|
|
1213
1398
|
}
|
|
1214
1399
|
// ( •_•)
|
|
1215
1400
|
// ( •_•)>⌐■-■
|
|
@@ -1265,16 +1450,16 @@ const addHydratedFlag = (elm) => elm.classList.add('hydrated')
|
|
|
1265
1450
|
const parsePropertyValue = (propValue, propType) => {
|
|
1266
1451
|
// ensure this value is of the correct prop type
|
|
1267
1452
|
if (propValue != null && !isComplexType(propValue)) {
|
|
1268
|
-
if (propType & 4 /* Boolean */) {
|
|
1453
|
+
if (propType & 4 /* MEMBER_FLAGS.Boolean */) {
|
|
1269
1454
|
// per the HTML spec, any string value means it is a boolean true value
|
|
1270
1455
|
// but we'll cheat here and say that the string "false" is the boolean false
|
|
1271
1456
|
return propValue === 'false' ? false : propValue === '' || !!propValue;
|
|
1272
1457
|
}
|
|
1273
|
-
if (propType & 2 /* Number */) {
|
|
1458
|
+
if (propType & 2 /* MEMBER_FLAGS.Number */) {
|
|
1274
1459
|
// force it to be a number
|
|
1275
1460
|
return parseFloat(propValue);
|
|
1276
1461
|
}
|
|
1277
|
-
if (propType & 1 /* String */) {
|
|
1462
|
+
if (propType & 1 /* MEMBER_FLAGS.String */) {
|
|
1278
1463
|
// could have been passed as a number or boolean
|
|
1279
1464
|
// but we still want it as a string
|
|
1280
1465
|
return String(propValue);
|
|
@@ -1298,13 +1483,13 @@ const setValue = (ref, propName, newVal, cmpMeta) => {
|
|
|
1298
1483
|
// explicitly check for NaN on both sides, as `NaN === NaN` is always false
|
|
1299
1484
|
const areBothNaN = Number.isNaN(oldVal) && Number.isNaN(newVal);
|
|
1300
1485
|
const didValueChange = newVal !== oldVal && !areBothNaN;
|
|
1301
|
-
if ((!(flags & 8 /* isConstructingInstance */) || oldVal === undefined) && didValueChange) {
|
|
1486
|
+
if ((!(flags & 8 /* HOST_FLAGS.isConstructingInstance */) || oldVal === undefined) && didValueChange) {
|
|
1302
1487
|
// gadzooks! the property's value has changed!!
|
|
1303
1488
|
// set our new value!
|
|
1304
1489
|
hostRef.$instanceValues$.set(propName, newVal);
|
|
1305
1490
|
if (instance) {
|
|
1306
1491
|
// get an array of method names of watch functions to call
|
|
1307
|
-
if (cmpMeta.$watchers$ && flags & 128 /* isWatchReady */) {
|
|
1492
|
+
if (cmpMeta.$watchers$ && flags & 128 /* HOST_FLAGS.isWatchReady */) {
|
|
1308
1493
|
const watchMethods = cmpMeta.$watchers$[propName];
|
|
1309
1494
|
if (watchMethods) {
|
|
1310
1495
|
// this instance is watching for when this property changed
|
|
@@ -1319,7 +1504,7 @@ const setValue = (ref, propName, newVal, cmpMeta) => {
|
|
|
1319
1504
|
});
|
|
1320
1505
|
}
|
|
1321
1506
|
}
|
|
1322
|
-
if ((flags & (2 /* hasRendered */ | 16 /* isQueuedForUpdate */)) === 2 /* hasRendered */) {
|
|
1507
|
+
if ((flags & (2 /* HOST_FLAGS.hasRendered */ | 16 /* HOST_FLAGS.isQueuedForUpdate */)) === 2 /* HOST_FLAGS.hasRendered */) {
|
|
1323
1508
|
// looks like this value actually changed, so we've got work to do!
|
|
1324
1509
|
// but only if we've already rendered, otherwise just chill out
|
|
1325
1510
|
// queue that we need to do an update, but don't worry about queuing
|
|
@@ -1338,8 +1523,8 @@ const proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
1338
1523
|
const members = Object.entries(cmpMeta.$members$);
|
|
1339
1524
|
const prototype = Cstr.prototype;
|
|
1340
1525
|
members.map(([memberName, [memberFlags]]) => {
|
|
1341
|
-
if ((memberFlags & 31 /* Prop */ ||
|
|
1342
|
-
((flags & 2 /* proxyState */) && memberFlags & 32 /* State */))) {
|
|
1526
|
+
if ((memberFlags & 31 /* MEMBER_FLAGS.Prop */ ||
|
|
1527
|
+
((flags & 2 /* PROXY_FLAGS.proxyState */) && memberFlags & 32 /* MEMBER_FLAGS.State */))) {
|
|
1343
1528
|
// proxyComponent - prop
|
|
1344
1529
|
Object.defineProperty(prototype, memberName, {
|
|
1345
1530
|
get() {
|
|
@@ -1354,8 +1539,8 @@ const proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
1354
1539
|
enumerable: true,
|
|
1355
1540
|
});
|
|
1356
1541
|
}
|
|
1357
|
-
else if (flags & 1 /* isElementConstructor */ &&
|
|
1358
|
-
memberFlags & 64 /* Method */) {
|
|
1542
|
+
else if (flags & 1 /* PROXY_FLAGS.isElementConstructor */ &&
|
|
1543
|
+
memberFlags & 64 /* MEMBER_FLAGS.Method */) {
|
|
1359
1544
|
// proxyComponent - method
|
|
1360
1545
|
Object.defineProperty(prototype, memberName, {
|
|
1361
1546
|
value(...args) {
|
|
@@ -1365,7 +1550,7 @@ const proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
1365
1550
|
});
|
|
1366
1551
|
}
|
|
1367
1552
|
});
|
|
1368
|
-
if ((flags & 1 /* isElementConstructor */)) {
|
|
1553
|
+
if ((flags & 1 /* PROXY_FLAGS.isElementConstructor */)) {
|
|
1369
1554
|
const attrNameToPropName = new Map();
|
|
1370
1555
|
prototype.attributeChangedCallback = function (attrName, _oldValue, newValue) {
|
|
1371
1556
|
plt.jmp(() => {
|
|
@@ -1421,11 +1606,11 @@ const proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
1421
1606
|
// create an array of attributes to observe
|
|
1422
1607
|
// and also create a map of html attribute name to js property name
|
|
1423
1608
|
Cstr.observedAttributes = members
|
|
1424
|
-
.filter(([_, m]) => m[0] & 15 /* HasAttribute */) // filter to only keep props that should match attributes
|
|
1609
|
+
.filter(([_, m]) => m[0] & 15 /* MEMBER_FLAGS.HasAttribute */) // filter to only keep props that should match attributes
|
|
1425
1610
|
.map(([propName, m]) => {
|
|
1426
1611
|
const attrName = m[1] || propName;
|
|
1427
1612
|
attrNameToPropName.set(attrName, propName);
|
|
1428
|
-
if (m[0] & 512 /* ReflectAttr */) {
|
|
1613
|
+
if (m[0] & 512 /* MEMBER_FLAGS.ReflectAttr */) {
|
|
1429
1614
|
cmpMeta.$attrsToReflect$.push([propName, attrName]);
|
|
1430
1615
|
}
|
|
1431
1616
|
return attrName;
|
|
@@ -1436,10 +1621,10 @@ const proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
1436
1621
|
};
|
|
1437
1622
|
const initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId, Cstr) => {
|
|
1438
1623
|
// initializeComponent
|
|
1439
|
-
if ((hostRef.$flags$ & 32 /* hasInitializedComponent */) === 0) {
|
|
1624
|
+
if ((hostRef.$flags$ & 32 /* HOST_FLAGS.hasInitializedComponent */) === 0) {
|
|
1440
1625
|
{
|
|
1441
1626
|
// we haven't initialized this element yet
|
|
1442
|
-
hostRef.$flags$ |= 32 /* hasInitializedComponent */;
|
|
1627
|
+
hostRef.$flags$ |= 32 /* HOST_FLAGS.hasInitializedComponent */;
|
|
1443
1628
|
// lazy loaded components
|
|
1444
1629
|
// request the component's implementation to be
|
|
1445
1630
|
// wired up with the host element
|
|
@@ -1457,7 +1642,7 @@ const initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId, Cstr) =>
|
|
|
1457
1642
|
{
|
|
1458
1643
|
cmpMeta.$watchers$ = Cstr.watchers;
|
|
1459
1644
|
}
|
|
1460
|
-
proxyComponent(Cstr, cmpMeta, 2 /* proxyState */);
|
|
1645
|
+
proxyComponent(Cstr, cmpMeta, 2 /* PROXY_FLAGS.proxyState */);
|
|
1461
1646
|
Cstr.isProxied = true;
|
|
1462
1647
|
}
|
|
1463
1648
|
const endNewInstance = createTime('createInstance', cmpMeta.$tagName$);
|
|
@@ -1465,7 +1650,7 @@ const initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId, Cstr) =>
|
|
|
1465
1650
|
// but let's keep track of when we start and stop
|
|
1466
1651
|
// so that the getters/setters don't incorrectly step on data
|
|
1467
1652
|
{
|
|
1468
|
-
hostRef.$flags$ |= 8 /* isConstructingInstance */;
|
|
1653
|
+
hostRef.$flags$ |= 8 /* HOST_FLAGS.isConstructingInstance */;
|
|
1469
1654
|
}
|
|
1470
1655
|
// construct the lazy-loaded component implementation
|
|
1471
1656
|
// passing the hostRef is very important during
|
|
@@ -1478,10 +1663,10 @@ const initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId, Cstr) =>
|
|
|
1478
1663
|
consoleError(e);
|
|
1479
1664
|
}
|
|
1480
1665
|
{
|
|
1481
|
-
hostRef.$flags$ &= ~8 /* isConstructingInstance */;
|
|
1666
|
+
hostRef.$flags$ &= ~8 /* HOST_FLAGS.isConstructingInstance */;
|
|
1482
1667
|
}
|
|
1483
1668
|
{
|
|
1484
|
-
hostRef.$flags$ |= 128 /* isWatchReady */;
|
|
1669
|
+
hostRef.$flags$ |= 128 /* HOST_FLAGS.isWatchReady */;
|
|
1485
1670
|
}
|
|
1486
1671
|
endNewInstance();
|
|
1487
1672
|
}
|
|
@@ -1491,7 +1676,7 @@ const initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId, Cstr) =>
|
|
|
1491
1676
|
const scopeId = getScopeId(cmpMeta);
|
|
1492
1677
|
if (!styles.has(scopeId)) {
|
|
1493
1678
|
const endRegisterStyles = createTime('registerStyles', cmpMeta.$tagName$);
|
|
1494
|
-
registerStyle(scopeId, style, !!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */));
|
|
1679
|
+
registerStyle(scopeId, style, !!(cmpMeta.$flags$ & 1 /* CMP_FLAGS.shadowDomEncapsulation */));
|
|
1495
1680
|
endRegisterStyles();
|
|
1496
1681
|
}
|
|
1497
1682
|
}
|
|
@@ -1513,19 +1698,19 @@ const initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId, Cstr) =>
|
|
|
1513
1698
|
}
|
|
1514
1699
|
};
|
|
1515
1700
|
const connectedCallback = (elm) => {
|
|
1516
|
-
if ((plt.$flags$ & 1 /* isTmpDisconnected */) === 0) {
|
|
1701
|
+
if ((plt.$flags$ & 1 /* PLATFORM_FLAGS.isTmpDisconnected */) === 0) {
|
|
1517
1702
|
const hostRef = getHostRef(elm);
|
|
1518
1703
|
const cmpMeta = hostRef.$cmpMeta$;
|
|
1519
1704
|
const endConnected = createTime('connectedCallback', cmpMeta.$tagName$);
|
|
1520
|
-
if (!(hostRef.$flags$ & 1 /* hasConnected */)) {
|
|
1705
|
+
if (!(hostRef.$flags$ & 1 /* HOST_FLAGS.hasConnected */)) {
|
|
1521
1706
|
// first time this component has connected
|
|
1522
|
-
hostRef.$flags$ |= 1 /* hasConnected */;
|
|
1707
|
+
hostRef.$flags$ |= 1 /* HOST_FLAGS.hasConnected */;
|
|
1523
1708
|
{
|
|
1524
1709
|
// initUpdate
|
|
1525
1710
|
// if the slot polyfill is required we'll need to put some nodes
|
|
1526
1711
|
// in here to act as original content anchors as we move nodes around
|
|
1527
1712
|
// host element has been connected to the DOM
|
|
1528
|
-
if ((cmpMeta.$flags$ & (4 /* hasSlotRelocation */ | 8 /* needsShadowDomShim */))) {
|
|
1713
|
+
if ((cmpMeta.$flags$ & (4 /* CMP_FLAGS.hasSlotRelocation */ | 8 /* CMP_FLAGS.needsShadowDomShim */))) {
|
|
1529
1714
|
setContentReference(elm);
|
|
1530
1715
|
}
|
|
1531
1716
|
}
|
|
@@ -1548,7 +1733,7 @@ const connectedCallback = (elm) => {
|
|
|
1548
1733
|
// https://developers.google.com/web/fundamentals/web-components/best-practices#lazy-properties
|
|
1549
1734
|
if (cmpMeta.$members$) {
|
|
1550
1735
|
Object.entries(cmpMeta.$members$).map(([memberName, [memberFlags]]) => {
|
|
1551
|
-
if (memberFlags & 31 /* Prop */ && elm.hasOwnProperty(memberName)) {
|
|
1736
|
+
if (memberFlags & 31 /* MEMBER_FLAGS.Prop */ && elm.hasOwnProperty(memberName)) {
|
|
1552
1737
|
const value = elm[memberName];
|
|
1553
1738
|
delete elm[memberName];
|
|
1554
1739
|
elm[memberName] = value;
|
|
@@ -1580,7 +1765,7 @@ const setContentReference = (elm) => {
|
|
|
1580
1765
|
elm.insertBefore(contentRefElm, elm.firstChild);
|
|
1581
1766
|
};
|
|
1582
1767
|
const disconnectedCallback = (elm) => {
|
|
1583
|
-
if ((plt.$flags$ & 1 /* isTmpDisconnected */) === 0) {
|
|
1768
|
+
if ((plt.$flags$ & 1 /* PLATFORM_FLAGS.isTmpDisconnected */) === 0) {
|
|
1584
1769
|
const hostRef = getHostRef(elm);
|
|
1585
1770
|
const instance = hostRef.$lazyInstance$ ;
|
|
1586
1771
|
{
|
|
@@ -1635,7 +1820,7 @@ const bootstrapLazy = (lazyBundles, options = {}) => {
|
|
|
1635
1820
|
super(self);
|
|
1636
1821
|
self = this;
|
|
1637
1822
|
registerHost(self, cmpMeta);
|
|
1638
|
-
if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) {
|
|
1823
|
+
if (cmpMeta.$flags$ & 1 /* CMP_FLAGS.shadowDomEncapsulation */) {
|
|
1639
1824
|
// this component is using shadow dom
|
|
1640
1825
|
// and this browser supports shadow dom
|
|
1641
1826
|
// add the read-only property "shadowRoot" to the host element
|
|
@@ -1670,7 +1855,7 @@ const bootstrapLazy = (lazyBundles, options = {}) => {
|
|
|
1670
1855
|
cmpMeta.$lazyBundleId$ = lazyBundle[0];
|
|
1671
1856
|
if (!exclude.includes(tagName) && !customElements.get(tagName)) {
|
|
1672
1857
|
cmpTags.push(tagName);
|
|
1673
|
-
customElements.define(tagName, proxyComponent(HostElement, cmpMeta, 1 /* isElementConstructor */));
|
|
1858
|
+
customElements.define(tagName, proxyComponent(HostElement, cmpMeta, 1 /* PROXY_FLAGS.isElementConstructor */));
|
|
1674
1859
|
}
|
|
1675
1860
|
});
|
|
1676
1861
|
});
|
|
@@ -1692,7 +1877,7 @@ const bootstrapLazy = (lazyBundles, options = {}) => {
|
|
|
1692
1877
|
// Fallback appLoad event
|
|
1693
1878
|
endBootstrap();
|
|
1694
1879
|
};
|
|
1695
|
-
const hostRefs = new WeakMap();
|
|
1880
|
+
const hostRefs = /*@__PURE__*/ new WeakMap();
|
|
1696
1881
|
const getHostRef = (ref) => hostRefs.get(ref);
|
|
1697
1882
|
const registerInstance = (lazyInstance, hostRef) => hostRefs.set((hostRef.$lazyInstance$ = lazyInstance), hostRef);
|
|
1698
1883
|
const registerHost = (elm, cmpMeta) => {
|
|
@@ -1724,7 +1909,374 @@ const loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
1724
1909
|
if (module) {
|
|
1725
1910
|
return module[exportName];
|
|
1726
1911
|
}
|
|
1912
|
+
|
|
1913
|
+
if (!hmrVersionId || !BUILD.hotModuleReplacement) {
|
|
1914
|
+
const processMod = importedModule => {
|
|
1915
|
+
cmpModules.set(bundleId, importedModule);
|
|
1916
|
+
return importedModule[exportName];
|
|
1917
|
+
}
|
|
1918
|
+
switch(bundleId) {
|
|
1919
|
+
|
|
1920
|
+
case 'z-app-switcher_9.cjs':
|
|
1921
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
1922
|
+
/* webpackMode: "lazy" */
|
|
1923
|
+
'./z-app-switcher_9.cjs.entry.js')); }).then(processMod, consoleError);
|
|
1924
|
+
case 'z-app-header.cjs':
|
|
1925
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
1926
|
+
/* webpackMode: "lazy" */
|
|
1927
|
+
'./z-app-header.cjs.entry.js')); }).then(processMod, consoleError);
|
|
1928
|
+
case 'z-aria-alert.cjs':
|
|
1929
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
1930
|
+
/* webpackMode: "lazy" */
|
|
1931
|
+
'./z-aria-alert.cjs.entry.js')); }).then(processMod, consoleError);
|
|
1932
|
+
case 'z-avatar.cjs':
|
|
1933
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
1934
|
+
/* webpackMode: "lazy" */
|
|
1935
|
+
'./z-avatar.cjs.entry.js')); }).then(processMod, consoleError);
|
|
1936
|
+
case 'z-button-deprecated.cjs':
|
|
1937
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
1938
|
+
/* webpackMode: "lazy" */
|
|
1939
|
+
'./z-button-deprecated.cjs.entry.js')); }).then(processMod, consoleError);
|
|
1940
|
+
case 'z-button-filter.cjs':
|
|
1941
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
1942
|
+
/* webpackMode: "lazy" */
|
|
1943
|
+
'./z-button-filter.cjs.entry.js')); }).then(processMod, consoleError);
|
|
1944
|
+
case 'z-button-sort.cjs':
|
|
1945
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
1946
|
+
/* webpackMode: "lazy" */
|
|
1947
|
+
'./z-button-sort.cjs.entry.js')); }).then(processMod, consoleError);
|
|
1948
|
+
case 'z-card.cjs':
|
|
1949
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
1950
|
+
/* webpackMode: "lazy" */
|
|
1951
|
+
'./z-card.cjs.entry.js')); }).then(processMod, consoleError);
|
|
1952
|
+
case 'z-carousel.cjs':
|
|
1953
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
1954
|
+
/* webpackMode: "lazy" */
|
|
1955
|
+
'./z-carousel.cjs.entry.js')); }).then(processMod, consoleError);
|
|
1956
|
+
case 'z-chip-deprecated.cjs':
|
|
1957
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
1958
|
+
/* webpackMode: "lazy" */
|
|
1959
|
+
'./z-chip-deprecated.cjs.entry.js')); }).then(processMod, consoleError);
|
|
1960
|
+
case 'z-combobox.cjs':
|
|
1961
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
1962
|
+
/* webpackMode: "lazy" */
|
|
1963
|
+
'./z-combobox.cjs.entry.js')); }).then(processMod, consoleError);
|
|
1964
|
+
case 'z-contextual-menu.cjs':
|
|
1965
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
1966
|
+
/* webpackMode: "lazy" */
|
|
1967
|
+
'./z-contextual-menu.cjs.entry.js')); }).then(processMod, consoleError);
|
|
1968
|
+
case 'z-cookiebar.cjs':
|
|
1969
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
1970
|
+
/* webpackMode: "lazy" */
|
|
1971
|
+
'./z-cookiebar.cjs.entry.js')); }).then(processMod, consoleError);
|
|
1972
|
+
case 'z-cover-hero.cjs':
|
|
1973
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
1974
|
+
/* webpackMode: "lazy" */
|
|
1975
|
+
'./z-cover-hero.cjs.entry.js')); }).then(processMod, consoleError);
|
|
1976
|
+
case 'z-date-picker.cjs':
|
|
1977
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
1978
|
+
/* webpackMode: "lazy" */
|
|
1979
|
+
'./z-date-picker.cjs.entry.js')); }).then(processMod, consoleError);
|
|
1980
|
+
case 'z-file.cjs':
|
|
1981
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
1982
|
+
/* webpackMode: "lazy" */
|
|
1983
|
+
'./z-file.cjs.entry.js')); }).then(processMod, consoleError);
|
|
1984
|
+
case 'z-file-upload.cjs':
|
|
1985
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
1986
|
+
/* webpackMode: "lazy" */
|
|
1987
|
+
'./z-file-upload.cjs.entry.js')); }).then(processMod, consoleError);
|
|
1988
|
+
case 'z-footer.cjs':
|
|
1989
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
1990
|
+
/* webpackMode: "lazy" */
|
|
1991
|
+
'./z-footer.cjs.entry.js')); }).then(processMod, consoleError);
|
|
1992
|
+
case 'z-icon-package.cjs':
|
|
1993
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
1994
|
+
/* webpackMode: "lazy" */
|
|
1995
|
+
'./z-icon-package.cjs.entry.js')); }).then(processMod, consoleError);
|
|
1996
|
+
case 'z-info-box.cjs':
|
|
1997
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
1998
|
+
/* webpackMode: "lazy" */
|
|
1999
|
+
'./z-info-box.cjs.entry.js')); }).then(processMod, consoleError);
|
|
2000
|
+
case 'z-info-reveal.cjs':
|
|
2001
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
2002
|
+
/* webpackMode: "lazy" */
|
|
2003
|
+
'./z-info-reveal.cjs.entry.js')); }).then(processMod, consoleError);
|
|
2004
|
+
case 'z-input-deprecated.cjs':
|
|
2005
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
2006
|
+
/* webpackMode: "lazy" */
|
|
2007
|
+
'./z-input-deprecated.cjs.entry.js')); }).then(processMod, consoleError);
|
|
2008
|
+
case 'z-menu.cjs':
|
|
2009
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
2010
|
+
/* webpackMode: "lazy" */
|
|
2011
|
+
'./z-menu.cjs.entry.js')); }).then(processMod, consoleError);
|
|
2012
|
+
case 'z-menu-section.cjs':
|
|
2013
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
2014
|
+
/* webpackMode: "lazy" */
|
|
2015
|
+
'./z-menu-section.cjs.entry.js')); }).then(processMod, consoleError);
|
|
2016
|
+
case 'z-messages-pocket.cjs':
|
|
2017
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
2018
|
+
/* webpackMode: "lazy" */
|
|
2019
|
+
'./z-messages-pocket.cjs.entry.js')); }).then(processMod, consoleError);
|
|
2020
|
+
case 'z-modal-login.cjs':
|
|
2021
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
2022
|
+
/* webpackMode: "lazy" */
|
|
2023
|
+
'./z-modal-login.cjs.entry.js')); }).then(processMod, consoleError);
|
|
2024
|
+
case 'z-myz-card-alert.cjs':
|
|
2025
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
2026
|
+
/* webpackMode: "lazy" */
|
|
2027
|
+
'./z-myz-card-alert.cjs.entry.js')); }).then(processMod, consoleError);
|
|
2028
|
+
case 'z-myz-card-dictionary.cjs':
|
|
2029
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
2030
|
+
/* webpackMode: "lazy" */
|
|
2031
|
+
'./z-myz-card-dictionary.cjs.entry.js')); }).then(processMod, consoleError);
|
|
2032
|
+
case 'z-myz-card-footer.cjs':
|
|
2033
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
2034
|
+
/* webpackMode: "lazy" */
|
|
2035
|
+
'./z-myz-card-footer.cjs.entry.js')); }).then(processMod, consoleError);
|
|
2036
|
+
case 'z-myz-card-footer-sections.cjs':
|
|
2037
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
2038
|
+
/* webpackMode: "lazy" */
|
|
2039
|
+
'./z-myz-card-footer-sections.cjs.entry.js')); }).then(processMod, consoleError);
|
|
2040
|
+
case 'z-myz-card-icon.cjs':
|
|
2041
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
2042
|
+
/* webpackMode: "lazy" */
|
|
2043
|
+
'./z-myz-card-icon.cjs.entry.js')); }).then(processMod, consoleError);
|
|
2044
|
+
case 'z-myz-card-info.cjs':
|
|
2045
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
2046
|
+
/* webpackMode: "lazy" */
|
|
2047
|
+
'./z-myz-card-info.cjs.entry.js')); }).then(processMod, consoleError);
|
|
2048
|
+
case 'z-myz-card-list.cjs':
|
|
2049
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
2050
|
+
/* webpackMode: "lazy" */
|
|
2051
|
+
'./z-myz-card-list.cjs.entry.js')); }).then(processMod, consoleError);
|
|
2052
|
+
case 'z-myz-topbar.cjs':
|
|
2053
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
2054
|
+
/* webpackMode: "lazy" */
|
|
2055
|
+
'./z-myz-topbar.cjs.entry.js')); }).then(processMod, consoleError);
|
|
2056
|
+
case 'z-navigation-tab.cjs':
|
|
2057
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
2058
|
+
/* webpackMode: "lazy" */
|
|
2059
|
+
'./z-navigation-tab.cjs.entry.js')); }).then(processMod, consoleError);
|
|
2060
|
+
case 'z-navigation-tab-link.cjs':
|
|
2061
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
2062
|
+
/* webpackMode: "lazy" */
|
|
2063
|
+
'./z-navigation-tab-link.cjs.entry.js')); }).then(processMod, consoleError);
|
|
2064
|
+
case 'z-navigation-tabs.cjs':
|
|
2065
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
2066
|
+
/* webpackMode: "lazy" */
|
|
2067
|
+
'./z-navigation-tabs.cjs.entry.js')); }).then(processMod, consoleError);
|
|
2068
|
+
case 'z-notification.cjs':
|
|
2069
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
2070
|
+
/* webpackMode: "lazy" */
|
|
2071
|
+
'./z-notification.cjs.entry.js')); }).then(processMod, consoleError);
|
|
2072
|
+
case 'z-offcanvas.cjs':
|
|
2073
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
2074
|
+
/* webpackMode: "lazy" */
|
|
2075
|
+
'./z-offcanvas.cjs.entry.js')); }).then(processMod, consoleError);
|
|
2076
|
+
case 'z-otp.cjs':
|
|
2077
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
2078
|
+
/* webpackMode: "lazy" */
|
|
2079
|
+
'./z-otp.cjs.entry.js')); }).then(processMod, consoleError);
|
|
2080
|
+
case 'z-pagination.cjs':
|
|
2081
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
2082
|
+
/* webpackMode: "lazy" */
|
|
2083
|
+
'./z-pagination.cjs.entry.js')); }).then(processMod, consoleError);
|
|
2084
|
+
case 'z-pagination-bar.cjs':
|
|
2085
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
2086
|
+
/* webpackMode: "lazy" */
|
|
2087
|
+
'./z-pagination-bar.cjs.entry.js')); }).then(processMod, consoleError);
|
|
2088
|
+
case 'z-panel-elem.cjs':
|
|
2089
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
2090
|
+
/* webpackMode: "lazy" */
|
|
2091
|
+
'./z-panel-elem.cjs.entry.js')); }).then(processMod, consoleError);
|
|
2092
|
+
case 'z-pocket-message.cjs':
|
|
2093
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
2094
|
+
/* webpackMode: "lazy" */
|
|
2095
|
+
'./z-pocket-message.cjs.entry.js')); }).then(processMod, consoleError);
|
|
2096
|
+
case 'z-popover-deprecated.cjs':
|
|
2097
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
2098
|
+
/* webpackMode: "lazy" */
|
|
2099
|
+
'./z-popover-deprecated.cjs.entry.js')); }).then(processMod, consoleError);
|
|
2100
|
+
case 'z-section-title.cjs':
|
|
2101
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
2102
|
+
/* webpackMode: "lazy" */
|
|
2103
|
+
'./z-section-title.cjs.entry.js')); }).then(processMod, consoleError);
|
|
2104
|
+
case 'z-skip-to-content.cjs':
|
|
2105
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
2106
|
+
/* webpackMode: "lazy" */
|
|
2107
|
+
'./z-skip-to-content.cjs.entry.js')); }).then(processMod, consoleError);
|
|
2108
|
+
case 'z-slideshow.cjs':
|
|
2109
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
2110
|
+
/* webpackMode: "lazy" */
|
|
2111
|
+
'./z-slideshow.cjs.entry.js')); }).then(processMod, consoleError);
|
|
2112
|
+
case 'z-status-tag.cjs':
|
|
2113
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
2114
|
+
/* webpackMode: "lazy" */
|
|
2115
|
+
'./z-status-tag.cjs.entry.js')); }).then(processMod, consoleError);
|
|
2116
|
+
case 'z-stepper.cjs':
|
|
2117
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
2118
|
+
/* webpackMode: "lazy" */
|
|
2119
|
+
'./z-stepper.cjs.entry.js')); }).then(processMod, consoleError);
|
|
2120
|
+
case 'z-stepper-item.cjs':
|
|
2121
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
2122
|
+
/* webpackMode: "lazy" */
|
|
2123
|
+
'./z-stepper-item.cjs.entry.js')); }).then(processMod, consoleError);
|
|
2124
|
+
case 'z-table.cjs':
|
|
2125
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
2126
|
+
/* webpackMode: "lazy" */
|
|
2127
|
+
'./z-table.cjs.entry.js')); }).then(processMod, consoleError);
|
|
2128
|
+
case 'z-table-body.cjs':
|
|
2129
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
2130
|
+
/* webpackMode: "lazy" */
|
|
2131
|
+
'./z-table-body.cjs.entry.js')); }).then(processMod, consoleError);
|
|
2132
|
+
case 'z-table-expanded-row.cjs':
|
|
2133
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
2134
|
+
/* webpackMode: "lazy" */
|
|
2135
|
+
'./z-table-expanded-row.cjs.entry.js')); }).then(processMod, consoleError);
|
|
2136
|
+
case 'z-table-footer.cjs':
|
|
2137
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
2138
|
+
/* webpackMode: "lazy" */
|
|
2139
|
+
'./z-table-footer.cjs.entry.js')); }).then(processMod, consoleError);
|
|
2140
|
+
case 'z-table-head.cjs':
|
|
2141
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
2142
|
+
/* webpackMode: "lazy" */
|
|
2143
|
+
'./z-table-head.cjs.entry.js')); }).then(processMod, consoleError);
|
|
2144
|
+
case 'z-table-header-row.cjs':
|
|
2145
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
2146
|
+
/* webpackMode: "lazy" */
|
|
2147
|
+
'./z-table-header-row.cjs.entry.js')); }).then(processMod, consoleError);
|
|
2148
|
+
case 'z-table-row.cjs':
|
|
2149
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
2150
|
+
/* webpackMode: "lazy" */
|
|
2151
|
+
'./z-table-row.cjs.entry.js')); }).then(processMod, consoleError);
|
|
2152
|
+
case 'z-table-sticky-footer.cjs':
|
|
2153
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
2154
|
+
/* webpackMode: "lazy" */
|
|
2155
|
+
'./z-table-sticky-footer.cjs.entry.js')); }).then(processMod, consoleError);
|
|
2156
|
+
case 'z-tag.cjs':
|
|
2157
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
2158
|
+
/* webpackMode: "lazy" */
|
|
2159
|
+
'./z-tag.cjs.entry.js')); }).then(processMod, consoleError);
|
|
2160
|
+
case 'z-toast-notification.cjs':
|
|
2161
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
2162
|
+
/* webpackMode: "lazy" */
|
|
2163
|
+
'./z-toast-notification.cjs.entry.js')); }).then(processMod, consoleError);
|
|
2164
|
+
case 'z-toast-notification-list.cjs':
|
|
2165
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
2166
|
+
/* webpackMode: "lazy" */
|
|
2167
|
+
'./z-toast-notification-list.cjs.entry.js')); }).then(processMod, consoleError);
|
|
2168
|
+
case 'z-toggle-button.cjs':
|
|
2169
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
2170
|
+
/* webpackMode: "lazy" */
|
|
2171
|
+
'./z-toggle-button.cjs.entry.js')); }).then(processMod, consoleError);
|
|
2172
|
+
case 'z-toggle-switch.cjs':
|
|
2173
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
2174
|
+
/* webpackMode: "lazy" */
|
|
2175
|
+
'./z-toggle-switch.cjs.entry.js')); }).then(processMod, consoleError);
|
|
2176
|
+
case 'z-tooltip.cjs':
|
|
2177
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
2178
|
+
/* webpackMode: "lazy" */
|
|
2179
|
+
'./z-tooltip.cjs.entry.js')); }).then(processMod, consoleError);
|
|
2180
|
+
case 'z-tooltip-deprecated.cjs':
|
|
2181
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
2182
|
+
/* webpackMode: "lazy" */
|
|
2183
|
+
'./z-tooltip-deprecated.cjs.entry.js')); }).then(processMod, consoleError);
|
|
2184
|
+
case 'z-user-dropdown.cjs':
|
|
2185
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
2186
|
+
/* webpackMode: "lazy" */
|
|
2187
|
+
'./z-user-dropdown.cjs.entry.js')); }).then(processMod, consoleError);
|
|
2188
|
+
case 'z-visually-hidden.cjs':
|
|
2189
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
2190
|
+
/* webpackMode: "lazy" */
|
|
2191
|
+
'./z-visually-hidden.cjs.entry.js')); }).then(processMod, consoleError);
|
|
2192
|
+
case 'z-alert.cjs':
|
|
2193
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
2194
|
+
/* webpackMode: "lazy" */
|
|
2195
|
+
'./z-alert.cjs.entry.js')); }).then(processMod, consoleError);
|
|
2196
|
+
case 'z-candybar.cjs':
|
|
2197
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
2198
|
+
/* webpackMode: "lazy" */
|
|
2199
|
+
'./z-candybar.cjs.entry.js')); }).then(processMod, consoleError);
|
|
2200
|
+
case 'z-chip.cjs':
|
|
2201
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
2202
|
+
/* webpackMode: "lazy" */
|
|
2203
|
+
'./z-chip.cjs.entry.js')); }).then(processMod, consoleError);
|
|
2204
|
+
case 'z-dragdrop-area_2.cjs':
|
|
2205
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
2206
|
+
/* webpackMode: "lazy" */
|
|
2207
|
+
'./z-dragdrop-area_2.cjs.entry.js')); }).then(processMod, consoleError);
|
|
2208
|
+
case 'z-footer-link_3.cjs':
|
|
2209
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
2210
|
+
/* webpackMode: "lazy" */
|
|
2211
|
+
'./z-footer-link_3.cjs.entry.js')); }).then(processMod, consoleError);
|
|
2212
|
+
case 'z-ghost-loading.cjs':
|
|
2213
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
2214
|
+
/* webpackMode: "lazy" */
|
|
2215
|
+
'./z-ghost-loading.cjs.entry.js')); }).then(processMod, consoleError);
|
|
2216
|
+
case 'z-input-label_2.cjs':
|
|
2217
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
2218
|
+
/* webpackMode: "lazy" */
|
|
2219
|
+
'./z-input-label_2.cjs.entry.js')); }).then(processMod, consoleError);
|
|
2220
|
+
case 'z-list-group.cjs':
|
|
2221
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
2222
|
+
/* webpackMode: "lazy" */
|
|
2223
|
+
'./z-list-group.cjs.entry.js')); }).then(processMod, consoleError);
|
|
2224
|
+
case 'z-menu-dropdown_2.cjs':
|
|
2225
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
2226
|
+
/* webpackMode: "lazy" */
|
|
2227
|
+
'./z-menu-dropdown_2.cjs.entry.js')); }).then(processMod, consoleError);
|
|
2228
|
+
case 'z-myz-card_4.cjs':
|
|
2229
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
2230
|
+
/* webpackMode: "lazy" */
|
|
2231
|
+
'./z-myz-card_4.cjs.entry.js')); }).then(processMod, consoleError);
|
|
2232
|
+
case 'z-pagination-page.cjs':
|
|
2233
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
2234
|
+
/* webpackMode: "lazy" */
|
|
2235
|
+
'./z-pagination-page.cjs.entry.js')); }).then(processMod, consoleError);
|
|
2236
|
+
case 'z-pocket_3.cjs':
|
|
2237
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
2238
|
+
/* webpackMode: "lazy" */
|
|
2239
|
+
'./z-pocket_3.cjs.entry.js')); }).then(processMod, consoleError);
|
|
2240
|
+
case 'z-table-cell.cjs':
|
|
2241
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
2242
|
+
/* webpackMode: "lazy" */
|
|
2243
|
+
'./z-table-cell.cjs.entry.js')); }).then(processMod, consoleError);
|
|
2244
|
+
case 'z-table-empty-box.cjs':
|
|
2245
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
2246
|
+
/* webpackMode: "lazy" */
|
|
2247
|
+
'./z-table-empty-box.cjs.entry.js')); }).then(processMod, consoleError);
|
|
2248
|
+
case 'z-table-header.cjs':
|
|
2249
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
2250
|
+
/* webpackMode: "lazy" */
|
|
2251
|
+
'./z-table-header.cjs.entry.js')); }).then(processMod, consoleError);
|
|
2252
|
+
case 'z-modal.cjs':
|
|
2253
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
2254
|
+
/* webpackMode: "lazy" */
|
|
2255
|
+
'./z-modal.cjs.entry.js')); }).then(processMod, consoleError);
|
|
2256
|
+
case 'z-list_2.cjs':
|
|
2257
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
2258
|
+
/* webpackMode: "lazy" */
|
|
2259
|
+
'./z-list_2.cjs.entry.js')); }).then(processMod, consoleError);
|
|
2260
|
+
case 'z-myz-list-item.cjs':
|
|
2261
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
2262
|
+
/* webpackMode: "lazy" */
|
|
2263
|
+
'./z-myz-list-item.cjs.entry.js')); }).then(processMod, consoleError);
|
|
2264
|
+
case 'z-popover.cjs':
|
|
2265
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
2266
|
+
/* webpackMode: "lazy" */
|
|
2267
|
+
'./z-popover.cjs.entry.js')); }).then(processMod, consoleError);
|
|
2268
|
+
case 'z-body_2.cjs':
|
|
2269
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
2270
|
+
/* webpackMode: "lazy" */
|
|
2271
|
+
'./z-body_2.cjs.entry.js')); }).then(processMod, consoleError);
|
|
2272
|
+
case 'z-button.cjs':
|
|
2273
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
2274
|
+
/* webpackMode: "lazy" */
|
|
2275
|
+
'./z-button.cjs.entry.js')); }).then(processMod, consoleError);
|
|
2276
|
+
}
|
|
2277
|
+
}
|
|
1727
2278
|
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
2279
|
+
/* @vite-ignore */
|
|
1728
2280
|
/* webpackInclude: /\.entry\.js$/ */
|
|
1729
2281
|
/* webpackExclude: /\.system\.entry\.js$/ */
|
|
1730
2282
|
/* webpackMode: "lazy" */
|
|
@@ -1735,14 +2287,14 @@ const loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
1735
2287
|
return importedModule[exportName];
|
|
1736
2288
|
}, consoleError);
|
|
1737
2289
|
};
|
|
1738
|
-
const styles = new Map();
|
|
2290
|
+
const styles = /*@__PURE__*/ new Map();
|
|
1739
2291
|
const queueDomReads = [];
|
|
1740
2292
|
const queueDomWrites = [];
|
|
1741
2293
|
const queueTask = (queue, write) => (cb) => {
|
|
1742
2294
|
queue.push(cb);
|
|
1743
2295
|
if (!queuePending) {
|
|
1744
2296
|
queuePending = true;
|
|
1745
|
-
if (write && plt.$flags$ & 4 /* queueSync */) {
|
|
2297
|
+
if (write && plt.$flags$ & 4 /* PLATFORM_FLAGS.queueSync */) {
|
|
1746
2298
|
nextTick(flush);
|
|
1747
2299
|
}
|
|
1748
2300
|
else {
|