@duetds/components 10.0.0-alpha.9 → 10.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/hydrate/index.d.ts +38 -7
- package/hydrate/index.js +9613 -4173
- package/hydrate/index.mjs +46160 -0
- package/lib/cjs/_commonjsHelpers-4N64IRaP.js +10 -0
- package/lib/cjs/a11y-utils-DzwEPbds.js +46 -0
- package/lib/cjs/action-arrow-down-small-CDsSJFvZ.js +21 -0
- package/lib/cjs/action-new-window-small-BWlVx6YN.js +21 -0
- package/lib/cjs/{app-globals-2b7fff72.js → app-globals-BtFYkwDf.js} +2 -2
- package/lib/cjs/{common-strings-2984301e.js → common-strings-CC6Xpjb8.js} +30 -0
- package/lib/cjs/duet-action-button.cjs.entry.js +84 -29
- package/lib/cjs/duet-alert.cjs.entry.js +106 -49
- package/lib/cjs/duet-badge.cjs.entry.js +31 -9
- package/lib/cjs/duet-banner.cjs.entry.js +71 -28
- package/lib/cjs/duet-breadcrumb.cjs.entry.js +37 -26
- package/lib/cjs/duet-breadcrumbs.cjs.entry.js +20 -14
- package/lib/cjs/duet-button_2.cjs.entry.js +152 -72
- package/lib/cjs/duet-callout.cjs.entry.js +13 -10
- package/lib/cjs/duet-caption_4.cjs.entry.js +212 -47
- package/lib/cjs/duet-card.cjs.entry.js +93 -35
- package/lib/cjs/duet-checkbox.cjs.entry.js +68 -32
- package/lib/cjs/duet-checkmark.cjs.entry.js +21 -9
- package/lib/cjs/duet-chip.cjs.entry.js +60 -33
- package/lib/cjs/duet-choice_2.cjs.entry.js +279 -130
- package/lib/cjs/duet-collapsible.cjs.entry.js +92 -33
- package/lib/cjs/duet-combobox.cjs.entry.js +99 -58
- package/lib/cjs/duet-contact-card.cjs.entry.js +17 -18
- package/lib/cjs/duet-cookie-consent.cjs.entry.js +14 -11
- package/lib/cjs/duet-date-picker.cjs.entry.js +158 -57
- package/lib/cjs/duet-divider_2.cjs.entry.js +30 -14
- package/lib/cjs/duet-editable-table_3.cjs.entry.js +556 -210
- package/lib/cjs/duet-empty-state.cjs.entry.js +15 -9
- package/lib/cjs/duet-fieldset.cjs.entry.js +51 -18
- package/lib/cjs/duet-file-chooser.cjs.entry.js +18 -11
- package/lib/cjs/duet-footer.cjs.entry.js +56 -30
- package/lib/cjs/duet-grid_2.cjs.entry.js +169 -64
- package/lib/cjs/duet-header_2.cjs.entry.js +302 -91
- package/lib/cjs/duet-hero.cjs.entry.js +159 -35
- package/lib/cjs/duet-icon.cjs.entry.js +64 -20
- package/lib/cjs/duet-indicator.cjs.entry.js +61 -0
- package/lib/cjs/duet-input_2.cjs.entry.js +225 -86
- package/lib/cjs/duet-layout.cjs.entry.js +33 -13
- package/lib/cjs/duet-list_2.cjs.entry.js +58 -14
- package/lib/cjs/duet-menu-bar-button.cjs.entry.js +24 -16
- package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +19 -14
- package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +21 -16
- package/lib/cjs/duet-menu-bar-item.cjs.entry.js +40 -19
- package/lib/cjs/duet-menu-bar-link.cjs.entry.js +18 -10
- package/lib/cjs/duet-menu-bar.cjs.entry.js +37 -59
- package/lib/cjs/duet-modal.cjs.entry.js +122 -35
- package/lib/cjs/duet-multiselect.cjs.entry.js +88 -42
- package/lib/cjs/duet-nav.cjs.entry.js +12 -8
- package/lib/cjs/duet-notification_2.cjs.entry.js +98 -32
- package/lib/cjs/duet-number-input.cjs.entry.js +191 -70
- package/lib/cjs/duet-overlay.cjs.entry.js +36 -14
- package/lib/cjs/duet-page-heading.cjs.entry.js +16 -11
- package/lib/cjs/duet-pagination_2.cjs.entry.js +162 -87
- package/lib/cjs/duet-panel.cjs.entry.js +52 -0
- package/lib/cjs/duet-phone-input.cjs.entry.js +115 -45
- package/lib/cjs/duet-popup-menu_2.cjs.entry.js +226 -102
- package/lib/cjs/duet-progress.cjs.entry.js +32 -13
- package/lib/cjs/duet-promo-card.cjs.entry.js +27 -13
- package/lib/cjs/duet-radio_2.cjs.entry.js +114 -55
- package/lib/cjs/duet-range-slider.cjs.entry.js +73 -37
- package/lib/cjs/duet-scrollable_3.cjs.entry.js +233 -88
- package/lib/cjs/duet-section-layout.cjs.entry.js +17 -10
- package/lib/cjs/duet-select.cjs.entry.js +89 -46
- package/lib/cjs/duet-shaped-image.cjs.entry.js +16 -11
- package/lib/cjs/duet-share-chart-item.cjs.entry.js +22 -0
- package/lib/cjs/duet-share-chart.cjs.entry.js +85 -0
- package/lib/cjs/duet-show-more.cjs.entry.js +81 -38
- package/lib/cjs/duet-slideout-lang.cjs.entry.js +10 -10
- package/lib/cjs/duet-slideout-link.cjs.entry.js +49 -16
- package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +25 -14
- package/lib/cjs/duet-slideout-panel.cjs.entry.js +50 -36
- package/lib/cjs/duet-slideout.cjs.entry.js +85 -52
- package/lib/cjs/duet-status-icon.cjs.entry.js +28 -15
- package/lib/cjs/duet-step_2.cjs.entry.js +72 -24
- package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +25 -10
- package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +27 -18
- package/lib/cjs/duet-submenu-bar-item.cjs.entry.js +40 -19
- package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +18 -9
- package/lib/cjs/duet-submenu-bar.cjs.entry.js +27 -21
- package/lib/cjs/duet-textarea.cjs.entry.js +146 -71
- package/lib/cjs/duet-toggle.cjs.entry.js +55 -29
- package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +22 -11
- package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +27 -16
- package/lib/cjs/duet-toolbar-item.cjs.entry.js +46 -19
- package/lib/cjs/duet-toolbar-link.cjs.entry.js +21 -10
- package/lib/cjs/duet-toolbar.cjs.entry.js +12 -10
- package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +24 -27
- package/lib/cjs/duet-tooltip.cjs.entry.js +98 -46
- package/lib/cjs/duet-tray.cjs.entry.js +63 -24
- package/lib/cjs/duet-upload-aria-status.cjs.entry.js +30 -11
- package/lib/cjs/duet-upload-item.cjs.entry.js +12 -22
- package/lib/cjs/duet-visually-hidden.cjs.entry.js +4 -7
- package/lib/cjs/duet.cjs.js +8 -8
- package/lib/cjs/{errorcodes.utils-e3a0f607.js → errorcodes.utils-BuseNrD9.js} +2 -2
- package/lib/cjs/floating-ui.dom.browser.min-Cj0r5YDz.js +709 -0
- package/lib/cjs/{focus-utils-47d23c45.js → focus-utils-Cbk0cnOs.js} +1 -1
- package/lib/cjs/form-search-CzPfHB80.js +21 -0
- package/lib/cjs/{index-7b1d76ef.js → index-blgG8IJB.js} +1853 -1361
- package/lib/cjs/{label-874fd84f.js → label-DeanNJa0.js} +1 -1
- package/lib/cjs/{language-utils-a6a152b8.js → language-utils-DWW8tvkB.js} +10 -2
- package/lib/cjs/loader.cjs.js +3 -5
- package/lib/cjs/{slot-utils-7e6aa48b.js → slot-utils-Byx247xX.js} +6 -1
- package/lib/cjs/{teleport-c6f8391a.js → teleport-D5NDbuu0.js} +22 -7
- package/lib/cjs/themeable-component-DcR7DztR.js +74 -0
- package/lib/cjs/{token-utils-5000595c.js → token-utils-BJtlJxnJ.js} +80 -9
- package/lib/cjs/{tokens-57e06fe4.js → tokens-BxWzRxOl.js} +150 -8
- package/lib/cjs/{tokens.module-7c947029.js → tokens.module-DJt2h4FX.js} +99 -3
- package/lib/cjs/{watch-options-30a12622.js → watch-options-D4JNsU3B.js} +0 -20
- package/lib/collection/collection-manifest.json +5 -1
- package/lib/collection/common/themeable-component.js +61 -3
- package/lib/collection/common-strings.js +28 -0
- package/lib/collection/components/duet-action-button/duet-action-button.css +29 -12
- package/lib/collection/components/duet-action-button/duet-action-button.js +94 -35
- package/lib/collection/components/duet-alert/duet-alert.css +96 -58
- package/lib/collection/components/duet-alert/duet-alert.js +146 -59
- package/lib/collection/components/duet-badge/duet-badge.css +24 -9
- package/lib/collection/components/duet-badge/duet-badge.js +30 -6
- package/lib/collection/components/duet-banner/duet-banner.css +51 -24
- package/lib/collection/components/duet-banner/duet-banner.js +95 -30
- package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.css +10 -8
- package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.js +26 -28
- package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.css +18 -7
- package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.js +15 -6
- package/lib/collection/components/duet-button/duet-button.css +140 -32
- package/lib/collection/components/duet-button/duet-button.js +174 -93
- package/lib/collection/components/duet-callout/duet-callout.css +7 -2
- package/lib/collection/components/duet-callout/duet-callout.js +10 -4
- package/lib/collection/components/duet-caption/duet-caption.css +8 -4
- package/lib/collection/components/duet-caption/duet-caption.js +19 -7
- package/lib/collection/components/duet-card/duet-card.css +48 -16
- package/lib/collection/components/duet-card/duet-card.js +134 -40
- package/lib/collection/components/duet-checkbox/duet-checkbox.css +30 -8
- package/lib/collection/components/duet-checkbox/duet-checkbox.js +89 -50
- package/lib/collection/components/duet-chip/duet-chip.css +66 -25
- package/lib/collection/components/duet-chip/duet-chip.js +73 -41
- package/lib/collection/components/duet-choice/duet-checkmark.css +4 -0
- package/lib/collection/components/duet-choice/duet-checkmark.js +22 -7
- package/lib/collection/components/duet-choice/duet-choice.css +164 -41
- package/lib/collection/components/duet-choice/duet-choice.js +244 -142
- package/lib/collection/components/duet-choice-group/duet-choice-group.css +4 -4
- package/lib/collection/components/duet-choice-group/duet-choice-group.js +109 -48
- package/lib/collection/components/duet-collapsible/duet-collapsible.css +36 -13
- package/lib/collection/components/duet-collapsible/duet-collapsible.js +100 -38
- package/lib/collection/components/duet-combobox/duet-combobox.css +9 -2
- package/lib/collection/components/duet-combobox/duet-combobox.js +106 -59
- package/lib/collection/components/duet-contact-card/duet-contact-card.css +8 -4
- package/lib/collection/components/duet-contact-card/duet-contact-card.js +21 -19
- package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.css +23 -14
- package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.js +12 -6
- package/lib/collection/components/duet-date-picker/date-picker-day.js +6 -1
- package/lib/collection/components/duet-date-picker/date-utils.js +6 -1
- package/lib/collection/components/duet-date-picker/duet-date-picker.css +103 -46
- package/lib/collection/components/duet-date-picker/duet-date-picker.js +176 -73
- package/lib/collection/components/duet-divider/duet-divider.css +12 -6
- package/lib/collection/components/duet-divider/duet-divider.js +15 -5
- package/lib/collection/components/duet-editable-table/duet-editable-table.css +2 -2
- package/lib/collection/components/duet-editable-table/duet-editable-table.js +88 -31
- package/lib/collection/components/duet-empty-state/duet-empty-state.css +11 -6
- package/lib/collection/components/duet-empty-state/duet-empty-state.js +15 -6
- package/lib/collection/components/duet-fieldset/duet-fieldset.css +13 -6
- package/lib/collection/components/duet-fieldset/duet-fieldset.js +58 -20
- package/lib/collection/components/duet-file-chooser/duet-file-chooser.css +2 -2
- package/lib/collection/components/duet-file-chooser/duet-file-chooser.js +18 -8
- package/lib/collection/components/duet-footer/duet-footer.css +43 -14
- package/lib/collection/components/duet-footer/duet-footer.js +62 -34
- package/lib/collection/components/duet-grid/duet-grid.css +2 -6
- package/lib/collection/components/duet-grid/duet-grid.js +151 -70
- package/lib/collection/components/duet-grid-item/duet-grid-item.css +6 -2
- package/lib/collection/components/duet-grid-item/duet-grid-item.js +40 -13
- package/lib/collection/components/duet-header/duet-header.css +165 -65
- package/lib/collection/components/duet-header/duet-header.js +180 -91
- package/lib/collection/components/duet-heading/duet-heading.css +11 -6
- package/lib/collection/components/duet-heading/duet-heading.js +39 -15
- package/lib/collection/components/duet-hero/duet-hero.css +326 -18
- package/lib/collection/components/duet-hero/duet-hero.js +202 -56
- package/lib/collection/components/duet-icon/duet-icon.css +17 -5
- package/lib/collection/components/duet-icon/duet-icon.js +71 -24
- package/lib/collection/components/duet-indicator/duet-indicator.css +50 -0
- package/lib/collection/components/duet-indicator/duet-indicator.js +138 -0
- package/lib/collection/components/duet-input/duet-input.css +143 -68
- package/lib/collection/components/duet-input/duet-input.js +320 -146
- package/lib/collection/components/duet-label/duet-label.css +8 -4
- package/lib/collection/components/duet-label/duet-label.js +25 -10
- package/lib/collection/components/duet-layout/duet-layout.css +4 -4
- package/lib/collection/components/duet-layout/duet-layout.js +36 -13
- package/lib/collection/components/duet-link/duet-link.css +149 -25
- package/lib/collection/components/duet-link/duet-link.js +120 -32
- package/lib/collection/components/duet-list/duet-list.css +4 -4
- package/lib/collection/components/duet-list/duet-list.js +41 -12
- package/lib/collection/components/duet-list-item/duet-list-item.css +29 -9
- package/lib/collection/components/duet-list-item/duet-list-item.js +50 -4
- package/lib/collection/components/duet-logo/duet-logo.css +36 -8
- package/lib/collection/components/duet-logo/duet-logo.js +112 -12
- package/lib/collection/components/duet-menu-bar/duet-menu-bar.css +108 -6
- package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +60 -59
- package/lib/collection/components/duet-menu-bar-button/duet-menu-bar-button.css +17 -8
- package/lib/collection/components/duet-menu-bar-button/duet-menu-bar-button.js +33 -22
- package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.css +28 -12
- package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.js +20 -12
- package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.css +19 -9
- package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.js +18 -10
- package/lib/collection/components/duet-menu-bar-item/duet-menu-bar-item.css +28 -10
- package/lib/collection/components/duet-menu-bar-item/duet-menu-bar-item.js +39 -16
- package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.css +25 -10
- package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.js +19 -8
- package/lib/collection/components/duet-modal/duet-modal.css +23 -25
- package/lib/collection/components/duet-modal/duet-modal.js +197 -43
- package/lib/collection/components/duet-multiselect/duet-multiselect.css +71 -30
- package/lib/collection/components/duet-multiselect/duet-multiselect.js +104 -54
- package/lib/collection/components/duet-nav/duet-nav.css +8 -4
- package/lib/collection/components/duet-nav/duet-nav.js +10 -3
- package/lib/collection/components/duet-notification/duet-notification.css +33 -26
- package/lib/collection/components/duet-notification/duet-notification.js +46 -9
- package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.css +38 -36
- package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.js +58 -25
- package/lib/collection/components/duet-number-input/duet-number-input.css +29 -14
- package/lib/collection/components/duet-number-input/duet-number-input.js +208 -107
- package/lib/collection/components/duet-overlay/duet-overlay.css +5 -1
- package/lib/collection/components/duet-overlay/duet-overlay.js +41 -16
- package/lib/collection/components/duet-page-heading/duet-page-heading.css +44 -16
- package/lib/collection/components/duet-page-heading/duet-page-heading.js +17 -9
- package/lib/collection/components/duet-pagination/duet-pagination.css +8 -4
- package/lib/collection/components/duet-pagination/duet-pagination.js +132 -78
- package/lib/collection/components/duet-panel/duet-panel.css +99 -0
- package/lib/collection/components/duet-panel/duet-panel.js +233 -0
- package/lib/collection/components/duet-paragraph/duet-paragraph.css +19 -6
- package/lib/collection/components/duet-paragraph/duet-paragraph.js +32 -11
- package/lib/collection/components/duet-phone-input/duet-phone-input.css +46 -2
- package/lib/collection/components/duet-phone-input/duet-phone-input.js +211 -58
- package/lib/collection/components/duet-popup-menu/duet-popup-menu.css +14 -6
- package/lib/collection/components/duet-popup-menu/duet-popup-menu.js +184 -90
- package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.css +30 -12
- package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.js +66 -31
- package/lib/collection/components/duet-progress/duet-progress.css +27 -8
- package/lib/collection/components/duet-progress/duet-progress.js +36 -14
- package/lib/collection/components/duet-promo-card/duet-promo-card.css +18 -12
- package/lib/collection/components/duet-promo-card/duet-promo-card.js +47 -11
- package/lib/collection/components/duet-radio/duet-radio.css +41 -8
- package/lib/collection/components/duet-radio/duet-radio.js +70 -52
- package/lib/collection/components/duet-radio-group/duet-radio-group.css +4 -4
- package/lib/collection/components/duet-radio-group/duet-radio-group.js +78 -30
- package/lib/collection/components/duet-range-slider/duet-range-slider.css +64 -19
- package/lib/collection/components/duet-range-slider/duet-range-slider.js +87 -48
- package/lib/collection/components/duet-range-stepper/duet-range-stepper.css +8 -4
- package/lib/collection/components/duet-range-stepper/duet-range-stepper.js +44 -15
- package/lib/collection/components/duet-scrollable/duet-scrollable.css +29 -19
- package/lib/collection/components/duet-scrollable/duet-scrollable.js +170 -29
- package/lib/collection/components/duet-section-layout/duet-section-layout.css +4 -4
- package/lib/collection/components/duet-section-layout/duet-section-layout.js +16 -6
- package/lib/collection/components/duet-select/duet-select.css +55 -24
- package/lib/collection/components/duet-select/duet-select.js +114 -68
- package/lib/collection/components/duet-shaped-image/duet-shaped-image.css +6 -6
- package/lib/collection/components/duet-shaped-image/duet-shaped-image.js +17 -9
- package/lib/collection/components/duet-share-chart/duet-share-chart.css +82 -0
- package/lib/collection/components/duet-share-chart/duet-share-chart.js +141 -0
- package/lib/collection/components/duet-share-chart-item/duet-share-chart-item.js +67 -0
- package/lib/collection/components/duet-show-more/duet-show-more.css +15 -8
- package/lib/collection/components/duet-show-more/duet-show-more.js +88 -38
- package/lib/collection/components/duet-slideout/duet-slideout.css +72 -40
- package/lib/collection/components/duet-slideout/duet-slideout.js +89 -51
- package/lib/collection/components/duet-slideout-lang/duet-slideout-lang.css +10 -6
- package/lib/collection/components/duet-slideout-lang/duet-slideout-lang.js +5 -2
- package/lib/collection/components/duet-slideout-link/duet-slideout-link.css +24 -11
- package/lib/collection/components/duet-slideout-link/duet-slideout-link.js +50 -15
- package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.css +63 -40
- package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.js +47 -30
- package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.css +29 -16
- package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.js +25 -11
- package/lib/collection/components/duet-spacer/duet-spacer.css +2 -2
- package/lib/collection/components/duet-spacer/duet-spacer.js +16 -6
- package/lib/collection/components/duet-spinner/duet-spinner.css +10 -16
- package/lib/collection/components/duet-spinner/duet-spinner.js +22 -24
- package/lib/collection/components/duet-status-icon/duet-status-icon.js +30 -15
- package/lib/collection/components/duet-step/duet-step.css +28 -13
- package/lib/collection/components/duet-step/duet-step.js +27 -18
- package/lib/collection/components/duet-stepper/duet-stepper.css +4 -4
- package/lib/collection/components/duet-stepper/duet-stepper.js +46 -11
- package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.css +34 -16
- package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.js +25 -16
- package/lib/collection/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.css +49 -15
- package/lib/collection/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.js +25 -13
- package/lib/collection/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.css +29 -8
- package/lib/collection/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.js +26 -8
- package/lib/collection/components/duet-submenu-bar-item/duet-submenu-bar-item.css +33 -10
- package/lib/collection/components/duet-submenu-bar-item/duet-submenu-bar-item.js +38 -15
- package/lib/collection/components/duet-submenu-bar-link/duet-submenu-bar-link.css +34 -9
- package/lib/collection/components/duet-submenu-bar-link/duet-submenu-bar-link.js +17 -5
- package/lib/collection/components/duet-tab/duet-tab.css +15 -11
- package/lib/collection/components/duet-tab/duet-tab.js +88 -24
- package/lib/collection/components/duet-tab-group/duet-tab-group.css +131 -85
- package/lib/collection/components/duet-tab-group/duet-tab-group.js +173 -56
- package/lib/collection/components/duet-table/duet-table-styles.js +68 -4
- package/lib/collection/components/duet-table/duet-table.js +43 -14
- package/lib/collection/components/duet-textarea/duet-textarea.css +68 -23
- package/lib/collection/components/duet-textarea/duet-textarea.js +231 -103
- package/lib/collection/components/duet-toggle/duet-toggle.css +38 -11
- package/lib/collection/components/duet-toggle/duet-toggle.js +88 -39
- package/lib/collection/components/duet-toolbar/duet-toolbar.css +11 -4
- package/lib/collection/components/duet-toolbar/duet-toolbar.js +11 -6
- package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.css +42 -12
- package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.js +28 -14
- package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.css +21 -8
- package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.js +23 -9
- package/lib/collection/components/duet-toolbar-item/duet-toolbar-item.css +52 -30
- package/lib/collection/components/duet-toolbar-item/duet-toolbar-item.js +48 -19
- package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.css +60 -10
- package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.js +23 -9
- package/lib/collection/components/duet-tooltip/duet-tooltip-button.css +24 -14
- package/lib/collection/components/duet-tooltip/duet-tooltip-button.js +9 -11
- package/lib/collection/components/duet-tooltip/duet-tooltip-popup.css +48 -16
- package/lib/collection/components/duet-tooltip/duet-tooltip-popup.js +18 -14
- package/lib/collection/components/duet-tooltip/duet-tooltip.css +4 -4
- package/lib/collection/components/duet-tooltip/duet-tooltip.js +101 -46
- package/lib/collection/components/duet-tray/duet-tray.css +43 -27
- package/lib/collection/components/duet-tray/duet-tray.js +63 -21
- package/lib/collection/components/duet-upload/duet-upload.css +6 -6
- package/lib/collection/components/duet-upload/duet-upload.js +433 -227
- package/lib/collection/components/duet-upload-aria-status/duet-upload-aria-status.js +35 -13
- package/lib/collection/components/duet-upload-item/duet-upload-item.js +19 -20
- package/lib/collection/components/duet-visually-hidden/duet-visually-hidden.css +3 -3
- package/lib/collection/components/duet-visually-hidden/duet-visually-hidden.js +1 -1
- package/lib/collection/index.js +1 -0
- package/lib/collection/utils/a11y-utils.js +20 -0
- package/lib/collection/utils/language-utils.js +7 -0
- package/lib/collection/utils/slot-utils.js +4 -0
- package/lib/collection/utils/teleport.js +22 -7
- package/lib/collection/utils/test-utils.js +2 -2
- package/lib/collection/utils/token-utils.js +59 -7
- package/lib/collection/utils/turva2-color-tokens.js +42 -0
- package/lib/duet/duet.esm.js +1 -1
- package/lib/duet/p-01ce999b.entry.js +4 -0
- package/lib/duet/p-04c9c13e.entry.js +4 -0
- package/lib/duet/p-0d1a4928.entry.js +4 -0
- package/lib/duet/p-0fabcede.entry.js +4 -0
- package/lib/duet/p-1380370e.entry.js +4 -0
- package/lib/duet/p-140b87f4.entry.js +4 -0
- package/lib/duet/p-141f03da.entry.js +4 -0
- package/lib/duet/p-14d64261.entry.js +4 -0
- package/lib/duet/p-1U75pxcR.js +4 -0
- package/lib/duet/p-1d8da041.entry.js +4 -0
- package/lib/duet/p-24f206ab.entry.js +4 -0
- package/lib/duet/p-276f8827.entry.js +4 -0
- package/lib/duet/p-28325583.entry.js +4 -0
- package/lib/duet/p-29e677bc.entry.js +4 -0
- package/lib/duet/p-2c4f4896.entry.js +4 -0
- package/lib/duet/p-2d0eb4b5.entry.js +4 -0
- package/lib/duet/p-30ae4852.entry.js +4 -0
- package/lib/duet/p-320e4688.entry.js +4 -0
- package/lib/duet/p-36d2a441.entry.js +4 -0
- package/lib/duet/p-3a108321.entry.js +4 -0
- package/lib/duet/p-3b52f20d.entry.js +4 -0
- package/lib/duet/p-40956ec6.entry.js +4 -0
- package/lib/duet/p-43f15ad6.entry.js +4 -0
- package/lib/duet/p-4862f0c6.entry.js +4 -0
- package/lib/duet/{p-7d5c5b60.entry.js → p-486a4bc6.entry.js} +1 -1
- package/lib/duet/p-4d14780b.entry.js +4 -0
- package/lib/duet/p-4de6cd49.entry.js +4 -0
- package/lib/duet/p-540fc47b.entry.js +4 -0
- package/lib/duet/p-57ba8f5f.entry.js +4 -0
- package/lib/duet/p-581e1e08.entry.js +4 -0
- package/lib/duet/p-5db08755.entry.js +4 -0
- package/lib/duet/p-5f329414.entry.js +4 -0
- package/lib/duet/p-5iZMFvpJ.js +4 -0
- package/lib/duet/p-6043a6de.entry.js +4 -0
- package/lib/duet/p-6662042f.entry.js +4 -0
- package/lib/duet/p-6862c7d5.entry.js +4 -0
- package/lib/duet/p-6b2823ed.entry.js +4 -0
- package/lib/duet/p-6cf8e63d.entry.js +4 -0
- package/lib/duet/p-6d90a89c.entry.js +4 -0
- package/lib/duet/p-6qQ9c51e.js +4 -0
- package/lib/duet/p-72c7816e.entry.js +4 -0
- package/lib/duet/p-7a8f23b7.entry.js +4 -0
- package/lib/duet/p-823522c9.entry.js +4 -0
- package/lib/duet/p-83c7bfe0.entry.js +4 -0
- package/lib/duet/p-8857eb7b.entry.js +4 -0
- package/lib/duet/{p-e5229df1.entry.js → p-8f2fbd03.entry.js} +1 -1
- package/lib/duet/p-90981fbb.entry.js +4 -0
- package/lib/duet/p-90eed96d.entry.js +4 -0
- package/lib/duet/p-93303c68.entry.js +4 -0
- package/lib/duet/p-94f1de2c.entry.js +4 -0
- package/lib/duet/p-960ada39.entry.js +4 -0
- package/lib/duet/{p-597e4a0d.entry.js → p-9dc2b0d2.entry.js} +1 -1
- package/lib/duet/p-9ee8ddc9.entry.js +4 -0
- package/lib/duet/p-9fd10aed.entry.js +4 -0
- package/lib/duet/p-B0pM7dNk.js +4 -0
- package/lib/duet/p-BDAqOMlM.js +4 -0
- package/lib/duet/p-BVgBUIYF.js +4 -0
- package/lib/duet/{p-81287261.js → p-B_NkY9T0.js} +1 -1
- package/lib/duet/p-Bg75Vqqq.js +4 -0
- package/lib/duet/p-BhYt_2Vd.js +5 -0
- package/lib/duet/p-BmMFVM-y.js +4 -0
- package/lib/duet/p-BtxOyTe3.js +4 -0
- package/lib/duet/p-CVPfl9fc.js +4 -0
- package/lib/duet/p-CooAqTCj.js +4 -0
- package/lib/duet/{p-b3d6e031.js → p-CxgSYSyh.js} +1 -1
- package/lib/duet/p-DJzDRf9m.js +4 -0
- package/lib/duet/p-DOuLHrH5.js +4 -0
- package/lib/duet/{p-a45e3f8b.js → p-Db8rvjPI.js} +1 -1
- package/lib/duet/p-DvwKrUS6.js +4 -0
- package/lib/duet/p-a1e60676.entry.js +4 -0
- package/lib/duet/p-a28d4312.entry.js +4 -0
- package/lib/duet/p-a9692b2a.entry.js +4 -0
- package/lib/duet/p-a9cf57f5.entry.js +4 -0
- package/lib/duet/p-ab74c20e.entry.js +4 -0
- package/lib/duet/p-ac_1YilV.js +4 -0
- package/lib/duet/p-afabb51f.entry.js +4 -0
- package/lib/duet/p-b2464865.entry.js +4 -0
- package/lib/duet/p-b2f22262.entry.js +4 -0
- package/lib/duet/p-ba39d3ad.entry.js +4 -0
- package/lib/duet/p-bb8634c4.entry.js +4 -0
- package/lib/duet/p-bcb8d390.entry.js +4 -0
- package/lib/duet/p-bd0ad7c3.entry.js +4 -0
- package/lib/duet/p-ca3fe683.entry.js +4 -0
- package/lib/duet/p-d26c644d.entry.js +4 -0
- package/lib/duet/p-d31cafc9.entry.js +4 -0
- package/lib/duet/p-d35a4b95.entry.js +4 -0
- package/lib/duet/p-d4e2e471.entry.js +4 -0
- package/lib/duet/p-d8ebfd49.entry.js +4 -0
- package/lib/duet/p-d9f504b7.entry.js +4 -0
- package/lib/duet/{p-8cbd3dfd.entry.js → p-db22799a.entry.js} +1 -1
- package/lib/duet/p-db594a93.entry.js +4 -0
- package/lib/duet/p-dc4d385d.entry.js +4 -0
- package/lib/duet/p-dc57fff7.entry.js +4 -0
- package/lib/duet/p-de255274.entry.js +4 -0
- package/lib/duet/{p-546cf344.entry.js → p-de639eff.entry.js} +1 -1
- package/lib/duet/p-e195c5e2.entry.js +4 -0
- package/lib/duet/p-e2e7b3bd.entry.js +4 -0
- package/lib/duet/p-e3780362.entry.js +4 -0
- package/lib/duet/p-e7c058b0.entry.js +4 -0
- package/lib/duet/p-ec5b54f3.entry.js +4 -0
- package/lib/duet/p-f6720f8c.entry.js +4 -0
- package/lib/duet/p-f6f6b960.entry.js +4 -0
- package/lib/duet/p-fb4ab1f5.entry.js +4 -0
- package/lib/duet/p-fd120a7b.entry.js +4 -0
- package/lib/duet/p-fe34272e.entry.js +4 -0
- package/lib/duet/p-vVCYtBMj.js +4 -0
- package/lib/duet/p-xwlQQBxs.js +4 -0
- package/lib/esm/_commonjsHelpers-DvwKrUS6.js +8 -0
- package/lib/esm/a11y-utils-BuWx2D09.js +43 -0
- package/lib/esm/action-arrow-down-small-Bk3GShyI.js +19 -0
- package/lib/esm/action-new-window-small-EH8_HdAm.js +19 -0
- package/lib/esm/{app-globals-e00fbe9c.js → app-globals-DRDLN5wE.js} +2 -2
- package/lib/esm/common-strings-CVPfl9fc.js +53 -0
- package/lib/esm/duet-action-button.entry.js +84 -27
- package/lib/esm/duet-alert.entry.js +106 -47
- package/lib/esm/duet-badge.entry.js +31 -7
- package/lib/esm/duet-banner.entry.js +71 -26
- package/lib/esm/duet-breadcrumb.entry.js +38 -25
- package/lib/esm/duet-breadcrumbs.entry.js +20 -12
- package/lib/esm/duet-button_2.entry.js +152 -70
- package/lib/esm/duet-callout.entry.js +13 -8
- package/lib/esm/duet-caption_4.entry.js +212 -45
- package/lib/esm/duet-card.entry.js +93 -33
- package/lib/esm/duet-checkbox.entry.js +68 -30
- package/lib/esm/duet-checkmark.entry.js +21 -7
- package/lib/esm/duet-chip.entry.js +60 -31
- package/lib/esm/duet-choice_2.entry.js +280 -129
- package/lib/esm/duet-collapsible.entry.js +92 -31
- package/lib/esm/duet-combobox.entry.js +99 -56
- package/lib/esm/duet-contact-card.entry.js +17 -16
- package/lib/esm/duet-cookie-consent.entry.js +14 -9
- package/lib/esm/duet-date-picker.entry.js +158 -55
- package/lib/esm/duet-divider_2.entry.js +30 -12
- package/lib/esm/duet-editable-table_3.entry.js +556 -208
- package/lib/esm/duet-empty-state.entry.js +15 -7
- package/lib/esm/duet-fieldset.entry.js +51 -16
- package/lib/esm/duet-file-chooser.entry.js +18 -9
- package/lib/esm/duet-footer.entry.js +56 -28
- package/lib/esm/duet-grid_2.entry.js +169 -62
- package/lib/esm/duet-header_2.entry.js +303 -90
- package/lib/esm/duet-hero.entry.js +159 -33
- package/lib/esm/duet-icon.entry.js +64 -18
- package/lib/esm/duet-indicator.entry.js +59 -0
- package/lib/esm/duet-input_2.entry.js +226 -85
- package/lib/esm/duet-layout.entry.js +33 -11
- package/lib/esm/duet-list_2.entry.js +58 -12
- package/lib/esm/duet-menu-bar-button.entry.js +24 -14
- package/lib/esm/duet-menu-bar-dropdown-link.entry.js +19 -12
- package/lib/esm/duet-menu-bar-dropdown.entry.js +21 -14
- package/lib/esm/duet-menu-bar-item.entry.js +40 -17
- package/lib/esm/duet-menu-bar-link.entry.js +18 -8
- package/lib/esm/duet-menu-bar.entry.js +37 -57
- package/lib/esm/duet-modal.entry.js +122 -33
- package/lib/esm/duet-multiselect.entry.js +88 -40
- package/lib/esm/duet-nav.entry.js +12 -6
- package/lib/esm/duet-notification_2.entry.js +98 -30
- package/lib/esm/duet-number-input.entry.js +192 -69
- package/lib/esm/duet-overlay.entry.js +36 -12
- package/lib/esm/duet-page-heading.entry.js +16 -9
- package/lib/esm/duet-pagination_2.entry.js +162 -85
- package/lib/esm/duet-panel.entry.js +50 -0
- package/lib/esm/duet-phone-input.entry.js +115 -43
- package/lib/esm/duet-popup-menu_2.entry.js +223 -97
- package/lib/esm/duet-progress.entry.js +32 -11
- package/lib/esm/duet-promo-card.entry.js +27 -11
- package/lib/esm/duet-radio_2.entry.js +114 -53
- package/lib/esm/duet-range-slider.entry.js +73 -35
- package/lib/esm/duet-scrollable_3.entry.js +233 -86
- package/lib/esm/duet-section-layout.entry.js +17 -8
- package/lib/esm/duet-select.entry.js +89 -44
- package/lib/esm/duet-shaped-image.entry.js +16 -9
- package/lib/esm/duet-share-chart-item.entry.js +20 -0
- package/lib/esm/duet-share-chart.entry.js +83 -0
- package/lib/esm/duet-show-more.entry.js +81 -36
- package/lib/esm/duet-slideout-lang.entry.js +10 -8
- package/lib/esm/duet-slideout-link.entry.js +49 -14
- package/lib/esm/duet-slideout-panel-dropdown.entry.js +25 -12
- package/lib/esm/duet-slideout-panel.entry.js +50 -34
- package/lib/esm/duet-slideout.entry.js +85 -50
- package/lib/esm/duet-status-icon.entry.js +28 -13
- package/lib/esm/duet-step_2.entry.js +73 -23
- package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +25 -8
- package/lib/esm/duet-submenu-bar-dropdown.entry.js +27 -16
- package/lib/esm/duet-submenu-bar-item.entry.js +40 -17
- package/lib/esm/duet-submenu-bar-link.entry.js +18 -7
- package/lib/esm/duet-submenu-bar.entry.js +27 -19
- package/lib/esm/duet-textarea.entry.js +146 -69
- package/lib/esm/duet-toggle.entry.js +55 -27
- package/lib/esm/duet-toolbar-dropdown-link.entry.js +22 -9
- package/lib/esm/duet-toolbar-dropdown.entry.js +27 -14
- package/lib/esm/duet-toolbar-item.entry.js +46 -17
- package/lib/esm/duet-toolbar-link.entry.js +21 -8
- package/lib/esm/duet-toolbar.entry.js +12 -8
- package/lib/esm/duet-tooltip-button_2.entry.js +24 -25
- package/lib/esm/duet-tooltip.entry.js +97 -43
- package/lib/esm/duet-tray.entry.js +63 -22
- package/lib/esm/duet-upload-aria-status.entry.js +30 -9
- package/lib/esm/duet-upload-item.entry.js +12 -20
- package/lib/esm/duet-visually-hidden.entry.js +4 -5
- package/lib/esm/duet.js +7 -6
- package/lib/esm/{errorcodes.utils-416994cc.js → errorcodes.utils-CjUqHglR.js} +3 -3
- package/lib/esm/floating-ui.dom.browser.min-B_NkY9T0.js +702 -0
- package/lib/{dist-custom-elements/p-e30dc66d.js → esm/focus-utils-Do5KtPgs.js} +1 -1
- package/lib/esm/form-search-CevX33LA.js +19 -0
- package/lib/esm/{index-1a6cee61.js → index-BhYt_2Vd.js} +1851 -1357
- package/lib/{dist-custom-elements/p-8db11326.js → esm/keyboard-utils-Db8rvjPI.js} +1 -1
- package/lib/{dist-custom-elements/p-42619f94.js → esm/label-BRuShBbJ.js} +1 -1
- package/lib/esm/{language-utils-8a9d5323.js → language-utils-D2jecvOr.js} +10 -3
- package/lib/esm/loader.js +4 -4
- package/lib/esm/{slot-utils-bf214ae5.js → slot-utils-nDLvv_4O.js} +6 -2
- package/lib/esm/{teleport-546f382d.js → teleport-CooAqTCj.js} +22 -7
- package/lib/esm/themeable-component-C0nhBgYw.js +72 -0
- package/lib/{dist-custom-elements/p-0562173d.js → esm/token-utils-Dks4GBDa.js} +80 -10
- package/lib/esm/{tokens-84fb2357.js → tokens-DOuLHrH5.js} +151 -7
- package/lib/esm/{tokens.module-2d02f5ff.js → tokens.module-BDAqOMlM.js} +100 -4
- package/lib/{dist-custom-elements/p-7d8a2628.js → esm/watch-options-BmMFVM-y.js} +1 -20
- package/lib/index.js +1 -1
- package/lib/loader/cdn.js +1 -2
- package/lib/loader/index.cjs.js +1 -2
- package/lib/loader/index.es2017.js +0 -1
- package/lib/loader/index.js +1 -2
- package/lib/types/common-strings.d.ts +3 -0
- package/lib/types/common-types.d.ts +1 -1
- package/lib/types/components/duet-alert/duet-alert.d.ts +20 -10
- package/lib/types/components/duet-badge/duet-badge.d.ts +1 -0
- package/lib/types/components/duet-banner/duet-banner.d.ts +6 -0
- package/lib/types/components/duet-breadcrumbs/duet-breadcrumb.d.ts +2 -4
- package/lib/types/components/duet-card/duet-card.d.ts +10 -0
- package/lib/types/components/duet-chip/duet-chip.d.ts +1 -0
- package/lib/types/components/duet-choice/duet-choice.d.ts +4 -8
- package/lib/types/components/duet-choice-group/duet-choice-group.d.ts +3 -2
- package/lib/types/components/duet-collapsible/duet-collapsible.d.ts +4 -1
- package/lib/types/components/duet-combobox/duet-combobox.d.ts +2 -0
- package/lib/types/components/duet-date-picker/duet-date-picker.d.ts +4 -0
- package/lib/types/components/duet-fieldset/duet-fieldset.d.ts +3 -0
- package/lib/types/components/duet-grid/duet-grid.d.ts +10 -7
- package/lib/types/components/duet-hero/duet-hero.d.ts +9 -0
- package/lib/types/components/duet-indicator/duet-indicator.d.ts +24 -0
- package/lib/types/components/duet-input/duet-input.d.ts +21 -13
- package/lib/types/components/duet-link/duet-link.d.ts +3 -0
- package/lib/types/components/duet-list-item/duet-list-item.d.ts +9 -3
- package/lib/types/components/duet-logo/duet-logo.d.ts +8 -0
- package/lib/types/components/duet-menu-bar/duet-menu-bar.d.ts +5 -4
- package/lib/types/components/duet-modal/duet-modal.d.ts +17 -1
- package/lib/types/components/duet-notification/duet-notification.d.ts +1 -0
- package/lib/types/components/duet-number-input/duet-number-input.d.ts +13 -8
- package/lib/types/components/duet-overlay/duet-overlay.d.ts +4 -0
- package/lib/types/components/duet-panel/duet-panel.d.ts +47 -0
- package/lib/types/components/duet-paragraph/duet-paragraph.d.ts +1 -0
- package/lib/types/components/duet-phone-input/duet-phone-input.d.ts +23 -1
- package/lib/types/components/duet-popup-menu/duet-popup-menu.d.ts +10 -6
- package/lib/types/components/duet-popup-menu-item/duet-popup-menu-item.d.ts +1 -0
- package/lib/types/components/duet-promo-card/duet-promo-card.d.ts +4 -0
- package/lib/types/components/duet-radio-group/duet-radio-group.d.ts +1 -0
- package/lib/types/components/duet-scrollable/duet-scrollable.d.ts +18 -0
- package/lib/types/components/duet-select/duet-select.d.ts +2 -1
- package/lib/types/components/duet-share-chart/duet-share-chart.d.ts +34 -0
- package/lib/types/components/duet-share-chart-item/duet-share-chart-item.d.ts +13 -0
- package/lib/types/components/duet-show-more/duet-show-more.d.ts +1 -0
- package/lib/types/components/duet-slideout/duet-slideout.d.ts +4 -5
- package/lib/types/components/duet-spinner/duet-spinner.d.ts +6 -3
- package/lib/types/components/duet-status-icon/duet-status-icon.d.ts +1 -0
- package/lib/types/components/duet-stepper/duet-stepper.d.ts +5 -2
- package/lib/types/components/duet-tab/duet-tab.d.ts +10 -0
- package/lib/types/components/duet-tab-group/duet-tab-group.d.ts +9 -0
- package/lib/types/components/duet-textarea/duet-textarea.d.ts +21 -9
- package/lib/types/components/duet-toggle/duet-toggle.d.ts +4 -0
- package/lib/types/components/duet-tooltip/duet-tooltip.d.ts +1 -1
- package/lib/types/components.d.ts +2136 -73
- package/lib/types/index.d.ts +1 -0
- package/lib/types/stencil-public-runtime.d.ts +35 -6
- package/lib/types/utils/a11y-utils.d.ts +11 -0
- package/lib/types/utils/language-utils.d.ts +1 -0
- package/lib/types/utils/slot-utils.d.ts +1 -0
- package/lib/types/utils/teleport.d.ts +4 -1
- package/lib/types/utils/token-utils.d.ts +4 -0
- package/lib/types/utils/turva2-color-tokens.d.ts +39 -0
- package/package.json +37 -17
- package/lib/cjs/a11y-utils-be617c0c.js +0 -25
- package/lib/cjs/action-arrow-down-small-ef77a2d1.js +0 -8
- package/lib/cjs/action-new-window-small-fa51dfb9.js +0 -8
- package/lib/cjs/floating-ui.dom.esm-806e7c53.js +0 -1355
- package/lib/cjs/form-search-d61b2843.js +0 -8
- package/lib/cjs/themeable-component-996b489c.js +0 -15
- package/lib/dist-custom-elements/duet-action-button.d.ts +0 -11
- package/lib/dist-custom-elements/duet-action-button.js +0 -9
- package/lib/dist-custom-elements/duet-alert.d.ts +0 -11
- package/lib/dist-custom-elements/duet-alert.js +0 -9
- package/lib/dist-custom-elements/duet-badge.d.ts +0 -11
- package/lib/dist-custom-elements/duet-badge.js +0 -9
- package/lib/dist-custom-elements/duet-banner.d.ts +0 -11
- package/lib/dist-custom-elements/duet-banner.js +0 -157
- package/lib/dist-custom-elements/duet-breadcrumb.d.ts +0 -11
- package/lib/dist-custom-elements/duet-breadcrumb.js +0 -101
- package/lib/dist-custom-elements/duet-breadcrumbs.d.ts +0 -11
- package/lib/dist-custom-elements/duet-breadcrumbs.js +0 -88
- package/lib/dist-custom-elements/duet-button.d.ts +0 -11
- package/lib/dist-custom-elements/duet-button.js +0 -9
- package/lib/dist-custom-elements/duet-callout.d.ts +0 -11
- package/lib/dist-custom-elements/duet-callout.js +0 -72
- package/lib/dist-custom-elements/duet-caption.d.ts +0 -11
- package/lib/dist-custom-elements/duet-caption.js +0 -9
- package/lib/dist-custom-elements/duet-card.d.ts +0 -11
- package/lib/dist-custom-elements/duet-card.js +0 -174
- package/lib/dist-custom-elements/duet-checkbox.d.ts +0 -11
- package/lib/dist-custom-elements/duet-checkbox.js +0 -9
- package/lib/dist-custom-elements/duet-checkmark.d.ts +0 -11
- package/lib/dist-custom-elements/duet-checkmark.js +0 -9
- package/lib/dist-custom-elements/duet-chip.d.ts +0 -11
- package/lib/dist-custom-elements/duet-chip.js +0 -9
- package/lib/dist-custom-elements/duet-choice-group.d.ts +0 -11
- package/lib/dist-custom-elements/duet-choice-group.js +0 -228
- package/lib/dist-custom-elements/duet-choice.d.ts +0 -11
- package/lib/dist-custom-elements/duet-choice.js +0 -454
- package/lib/dist-custom-elements/duet-collapsible.d.ts +0 -11
- package/lib/dist-custom-elements/duet-collapsible.js +0 -176
- package/lib/dist-custom-elements/duet-combobox.d.ts +0 -11
- package/lib/dist-custom-elements/duet-combobox.js +0 -702
- package/lib/dist-custom-elements/duet-contact-card.d.ts +0 -11
- package/lib/dist-custom-elements/duet-contact-card.js +0 -134
- package/lib/dist-custom-elements/duet-cookie-consent.d.ts +0 -11
- package/lib/dist-custom-elements/duet-cookie-consent.js +0 -106
- package/lib/dist-custom-elements/duet-date-picker.d.ts +0 -11
- package/lib/dist-custom-elements/duet-date-picker.js +0 -937
- package/lib/dist-custom-elements/duet-divider.d.ts +0 -11
- package/lib/dist-custom-elements/duet-divider.js +0 -9
- package/lib/dist-custom-elements/duet-editable-table.d.ts +0 -11
- package/lib/dist-custom-elements/duet-editable-table.js +0 -258
- package/lib/dist-custom-elements/duet-empty-state.d.ts +0 -11
- package/lib/dist-custom-elements/duet-empty-state.js +0 -9
- package/lib/dist-custom-elements/duet-fieldset.d.ts +0 -11
- package/lib/dist-custom-elements/duet-fieldset.js +0 -9
- package/lib/dist-custom-elements/duet-file-chooser.d.ts +0 -11
- package/lib/dist-custom-elements/duet-file-chooser.js +0 -86
- package/lib/dist-custom-elements/duet-footer.d.ts +0 -11
- package/lib/dist-custom-elements/duet-footer.js +0 -223
- package/lib/dist-custom-elements/duet-grid-item.d.ts +0 -11
- package/lib/dist-custom-elements/duet-grid-item.js +0 -9
- package/lib/dist-custom-elements/duet-grid.d.ts +0 -11
- package/lib/dist-custom-elements/duet-grid.js +0 -9
- package/lib/dist-custom-elements/duet-header.d.ts +0 -11
- package/lib/dist-custom-elements/duet-header.js +0 -698
- package/lib/dist-custom-elements/duet-heading.d.ts +0 -11
- package/lib/dist-custom-elements/duet-heading.js +0 -9
- package/lib/dist-custom-elements/duet-hero.d.ts +0 -11
- package/lib/dist-custom-elements/duet-hero.js +0 -299
- package/lib/dist-custom-elements/duet-icon.d.ts +0 -11
- package/lib/dist-custom-elements/duet-icon.js +0 -9
- package/lib/dist-custom-elements/duet-input.d.ts +0 -11
- package/lib/dist-custom-elements/duet-input.js +0 -9
- package/lib/dist-custom-elements/duet-label.d.ts +0 -11
- package/lib/dist-custom-elements/duet-label.js +0 -70
- package/lib/dist-custom-elements/duet-layout.d.ts +0 -11
- package/lib/dist-custom-elements/duet-layout.js +0 -94
- package/lib/dist-custom-elements/duet-link.d.ts +0 -11
- package/lib/dist-custom-elements/duet-link.js +0 -9
- package/lib/dist-custom-elements/duet-list-item.d.ts +0 -11
- package/lib/dist-custom-elements/duet-list-item.js +0 -9
- package/lib/dist-custom-elements/duet-list.d.ts +0 -11
- package/lib/dist-custom-elements/duet-list.js +0 -9
- package/lib/dist-custom-elements/duet-logo.d.ts +0 -11
- package/lib/dist-custom-elements/duet-logo.js +0 -9
- package/lib/dist-custom-elements/duet-menu-bar-button.d.ts +0 -11
- package/lib/dist-custom-elements/duet-menu-bar-button.js +0 -94
- package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.d.ts +0 -11
- package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +0 -87
- package/lib/dist-custom-elements/duet-menu-bar-dropdown.d.ts +0 -11
- package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +0 -108
- package/lib/dist-custom-elements/duet-menu-bar-item.d.ts +0 -11
- package/lib/dist-custom-elements/duet-menu-bar-item.js +0 -108
- package/lib/dist-custom-elements/duet-menu-bar-link.d.ts +0 -11
- package/lib/dist-custom-elements/duet-menu-bar-link.js +0 -70
- package/lib/dist-custom-elements/duet-menu-bar.d.ts +0 -11
- package/lib/dist-custom-elements/duet-menu-bar.js +0 -207
- package/lib/dist-custom-elements/duet-modal.d.ts +0 -11
- package/lib/dist-custom-elements/duet-modal.js +0 -382
- package/lib/dist-custom-elements/duet-multiselect.d.ts +0 -11
- package/lib/dist-custom-elements/duet-multiselect.js +0 -346
- package/lib/dist-custom-elements/duet-nav.d.ts +0 -11
- package/lib/dist-custom-elements/duet-nav.js +0 -54
- package/lib/dist-custom-elements/duet-notification-drawer.d.ts +0 -11
- package/lib/dist-custom-elements/duet-notification-drawer.js +0 -168
- package/lib/dist-custom-elements/duet-notification.d.ts +0 -11
- package/lib/dist-custom-elements/duet-notification.js +0 -95
- package/lib/dist-custom-elements/duet-number-input.d.ts +0 -11
- package/lib/dist-custom-elements/duet-number-input.js +0 -484
- package/lib/dist-custom-elements/duet-overlay.d.ts +0 -11
- package/lib/dist-custom-elements/duet-overlay.js +0 -9
- package/lib/dist-custom-elements/duet-page-heading.d.ts +0 -11
- package/lib/dist-custom-elements/duet-page-heading.js +0 -87
- package/lib/dist-custom-elements/duet-pagination.d.ts +0 -11
- package/lib/dist-custom-elements/duet-pagination.js +0 -493
- package/lib/dist-custom-elements/duet-paragraph.d.ts +0 -11
- package/lib/dist-custom-elements/duet-paragraph.js +0 -9
- package/lib/dist-custom-elements/duet-phone-input.d.ts +0 -11
- package/lib/dist-custom-elements/duet-phone-input.js +0 -2122
- package/lib/dist-custom-elements/duet-popup-menu-item.d.ts +0 -11
- package/lib/dist-custom-elements/duet-popup-menu-item.js +0 -9
- package/lib/dist-custom-elements/duet-popup-menu.d.ts +0 -11
- package/lib/dist-custom-elements/duet-popup-menu.js +0 -9
- package/lib/dist-custom-elements/duet-progress.d.ts +0 -11
- package/lib/dist-custom-elements/duet-progress.js +0 -9
- package/lib/dist-custom-elements/duet-promo-card.d.ts +0 -11
- package/lib/dist-custom-elements/duet-promo-card.js +0 -105
- package/lib/dist-custom-elements/duet-radio-group.d.ts +0 -11
- package/lib/dist-custom-elements/duet-radio-group.js +0 -213
- package/lib/dist-custom-elements/duet-radio.d.ts +0 -11
- package/lib/dist-custom-elements/duet-radio.js +0 -230
- package/lib/dist-custom-elements/duet-range-slider.d.ts +0 -11
- package/lib/dist-custom-elements/duet-range-slider.js +0 -181
- package/lib/dist-custom-elements/duet-range-stepper.d.ts +0 -11
- package/lib/dist-custom-elements/duet-range-stepper.js +0 -234
- package/lib/dist-custom-elements/duet-scrollable.d.ts +0 -11
- package/lib/dist-custom-elements/duet-scrollable.js +0 -9
- package/lib/dist-custom-elements/duet-section-layout.d.ts +0 -11
- package/lib/dist-custom-elements/duet-section-layout.js +0 -56
- package/lib/dist-custom-elements/duet-select.d.ts +0 -11
- package/lib/dist-custom-elements/duet-select.js +0 -9
- package/lib/dist-custom-elements/duet-shaped-image.d.ts +0 -11
- package/lib/dist-custom-elements/duet-shaped-image.js +0 -64
- package/lib/dist-custom-elements/duet-show-more.d.ts +0 -11
- package/lib/dist-custom-elements/duet-show-more.js +0 -9
- package/lib/dist-custom-elements/duet-slideout-lang.d.ts +0 -11
- package/lib/dist-custom-elements/duet-slideout-lang.js +0 -76
- package/lib/dist-custom-elements/duet-slideout-link.d.ts +0 -11
- package/lib/dist-custom-elements/duet-slideout-link.js +0 -98
- package/lib/dist-custom-elements/duet-slideout-panel-dropdown.d.ts +0 -11
- package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +0 -93
- package/lib/dist-custom-elements/duet-slideout-panel.d.ts +0 -11
- package/lib/dist-custom-elements/duet-slideout-panel.js +0 -224
- package/lib/dist-custom-elements/duet-slideout.d.ts +0 -11
- package/lib/dist-custom-elements/duet-slideout.js +0 -328
- package/lib/dist-custom-elements/duet-spacer.d.ts +0 -11
- package/lib/dist-custom-elements/duet-spacer.js +0 -9
- package/lib/dist-custom-elements/duet-spinner.d.ts +0 -11
- package/lib/dist-custom-elements/duet-spinner.js +0 -9
- package/lib/dist-custom-elements/duet-status-icon.d.ts +0 -11
- package/lib/dist-custom-elements/duet-status-icon.js +0 -111
- package/lib/dist-custom-elements/duet-step.d.ts +0 -11
- package/lib/dist-custom-elements/duet-step.js +0 -147
- package/lib/dist-custom-elements/duet-stepper.d.ts +0 -11
- package/lib/dist-custom-elements/duet-stepper.js +0 -151
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.d.ts +0 -11
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +0 -81
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown.d.ts +0 -11
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +0 -152
- package/lib/dist-custom-elements/duet-submenu-bar-item.d.ts +0 -11
- package/lib/dist-custom-elements/duet-submenu-bar-item.js +0 -113
- package/lib/dist-custom-elements/duet-submenu-bar-link.d.ts +0 -11
- package/lib/dist-custom-elements/duet-submenu-bar-link.js +0 -72
- package/lib/dist-custom-elements/duet-submenu-bar.d.ts +0 -11
- package/lib/dist-custom-elements/duet-submenu-bar.js +0 -192
- package/lib/dist-custom-elements/duet-tab-group.d.ts +0 -11
- package/lib/dist-custom-elements/duet-tab-group.js +0 -312
- package/lib/dist-custom-elements/duet-tab.d.ts +0 -11
- package/lib/dist-custom-elements/duet-tab.js +0 -150
- package/lib/dist-custom-elements/duet-table.d.ts +0 -11
- package/lib/dist-custom-elements/duet-table.js +0 -9
- package/lib/dist-custom-elements/duet-textarea.d.ts +0 -11
- package/lib/dist-custom-elements/duet-textarea.js +0 -301
- package/lib/dist-custom-elements/duet-toggle.d.ts +0 -11
- package/lib/dist-custom-elements/duet-toggle.js +0 -146
- package/lib/dist-custom-elements/duet-toolbar-dropdown-link.d.ts +0 -11
- package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +0 -80
- package/lib/dist-custom-elements/duet-toolbar-dropdown.d.ts +0 -11
- package/lib/dist-custom-elements/duet-toolbar-dropdown.js +0 -107
- package/lib/dist-custom-elements/duet-toolbar-item.d.ts +0 -11
- package/lib/dist-custom-elements/duet-toolbar-item.js +0 -120
- package/lib/dist-custom-elements/duet-toolbar-link.d.ts +0 -11
- package/lib/dist-custom-elements/duet-toolbar-link.js +0 -74
- package/lib/dist-custom-elements/duet-toolbar.d.ts +0 -11
- package/lib/dist-custom-elements/duet-toolbar.js +0 -67
- package/lib/dist-custom-elements/duet-tooltip-button.d.ts +0 -11
- package/lib/dist-custom-elements/duet-tooltip-button.js +0 -9
- package/lib/dist-custom-elements/duet-tooltip-popup.d.ts +0 -11
- package/lib/dist-custom-elements/duet-tooltip-popup.js +0 -9
- package/lib/dist-custom-elements/duet-tooltip.d.ts +0 -11
- package/lib/dist-custom-elements/duet-tooltip.js +0 -9
- package/lib/dist-custom-elements/duet-tray.d.ts +0 -11
- package/lib/dist-custom-elements/duet-tray.js +0 -146
- package/lib/dist-custom-elements/duet-upload-aria-status.d.ts +0 -11
- package/lib/dist-custom-elements/duet-upload-aria-status.js +0 -9
- package/lib/dist-custom-elements/duet-upload-item.d.ts +0 -11
- package/lib/dist-custom-elements/duet-upload-item.js +0 -9
- package/lib/dist-custom-elements/duet-upload.d.ts +0 -11
- package/lib/dist-custom-elements/duet-upload.js +0 -1444
- package/lib/dist-custom-elements/duet-visually-hidden.d.ts +0 -11
- package/lib/dist-custom-elements/duet-visually-hidden.js +0 -9
- package/lib/dist-custom-elements/index.d.ts +0 -33
- package/lib/dist-custom-elements/index.js +0 -29
- package/lib/dist-custom-elements/p-081025d8.js +0 -82
- package/lib/dist-custom-elements/p-0871ccd4.js +0 -56
- package/lib/dist-custom-elements/p-115c79b6.js +0 -6
- package/lib/dist-custom-elements/p-18248c41.js +0 -81
- package/lib/dist-custom-elements/p-196352e6.js +0 -39
- package/lib/dist-custom-elements/p-2768f969.js +0 -268
- package/lib/dist-custom-elements/p-30810e37.js +0 -60
- package/lib/dist-custom-elements/p-35375593.js +0 -161
- package/lib/dist-custom-elements/p-3c70317f.js +0 -63
- package/lib/dist-custom-elements/p-4150399b.js +0 -205
- package/lib/dist-custom-elements/p-548610a6.js +0 -2130
- package/lib/dist-custom-elements/p-592cf939.js +0 -102
- package/lib/dist-custom-elements/p-59782228.js +0 -61
- package/lib/dist-custom-elements/p-5d871374.js +0 -316
- package/lib/dist-custom-elements/p-5e91471a.js +0 -63
- package/lib/dist-custom-elements/p-60316b82.js +0 -642
- package/lib/dist-custom-elements/p-63963e6b.js +0 -124
- package/lib/dist-custom-elements/p-6620a58c.js +0 -607
- package/lib/dist-custom-elements/p-77667998.js +0 -232
- package/lib/dist-custom-elements/p-77d42564.js +0 -124
- package/lib/dist-custom-elements/p-8258c05e.js +0 -100
- package/lib/dist-custom-elements/p-8a840972.js +0 -194
- package/lib/dist-custom-elements/p-8d263ac9.js +0 -94
- package/lib/dist-custom-elements/p-91cdfcdd.js +0 -73
- package/lib/dist-custom-elements/p-940f9ee8.js +0 -1630
- package/lib/dist-custom-elements/p-993aea39.js +0 -175
- package/lib/dist-custom-elements/p-9df4cfa4.js +0 -25
- package/lib/dist-custom-elements/p-9e31e365.js +0 -214
- package/lib/dist-custom-elements/p-9ee4d52e.js +0 -321
- package/lib/dist-custom-elements/p-a9b78a2b.js +0 -441
- package/lib/dist-custom-elements/p-aaa7a7bd.js +0 -13
- package/lib/dist-custom-elements/p-aaa95dbc.js +0 -370
- package/lib/dist-custom-elements/p-ad615991.js +0 -115
- package/lib/dist-custom-elements/p-afb6f7fb.js +0 -23
- package/lib/dist-custom-elements/p-b322feac.js +0 -206
- package/lib/dist-custom-elements/p-b632bf7b.js +0 -178
- package/lib/dist-custom-elements/p-ca3cb21e.js +0 -116
- package/lib/dist-custom-elements/p-ccee2b7f.js +0 -127
- package/lib/dist-custom-elements/p-cea716f7.js +0 -503
- package/lib/dist-custom-elements/p-d004da5f.js +0 -6
- package/lib/dist-custom-elements/p-df2458b1.js +0 -80
- package/lib/dist-custom-elements/p-e58296e6.js +0 -110
- package/lib/dist-custom-elements/p-ed1ef4c3.js +0 -55
- package/lib/dist-custom-elements/p-ed6a907e.js +0 -61
- package/lib/dist-custom-elements/p-ed6f3abc.js +0 -165
- package/lib/dist-custom-elements/p-ee0c73c3.js +0 -50
- package/lib/dist-custom-elements/p-f11208c3.js +0 -6
- package/lib/dist-custom-elements/p-f4067b03.js +0 -154
- package/lib/dist-custom-elements/p-f6000a03.js +0 -753
- package/lib/dist-custom-elements/p-f6270dca.js +0 -83
- package/lib/duet/duet.js +0 -127
- package/lib/duet/p-00556ef0.entry.js +0 -4
- package/lib/duet/p-00e58acf.system.entry.js +0 -4
- package/lib/duet/p-02d914b6.system.js +0 -4
- package/lib/duet/p-03dfd146.system.entry.js +0 -4
- package/lib/duet/p-043d8cac.entry.js +0 -4
- package/lib/duet/p-053b71e6.system.js +0 -4
- package/lib/duet/p-078dc32d.system.js +0 -4
- package/lib/duet/p-083bbc28.js +0 -4
- package/lib/duet/p-097593e0.system.entry.js +0 -4
- package/lib/duet/p-0c4bbd65.system.js +0 -4
- package/lib/duet/p-0d7da85a.js +0 -4
- package/lib/duet/p-0dc9089b.system.js +0 -4
- package/lib/duet/p-115c79b6.js +0 -4
- package/lib/duet/p-12739ce5.entry.js +0 -4
- package/lib/duet/p-154681bc.system.entry.js +0 -4
- package/lib/duet/p-16bc0f6a.system.entry.js +0 -4
- package/lib/duet/p-20a9379e.entry.js +0 -4
- package/lib/duet/p-21124f63.system.entry.js +0 -4
- package/lib/duet/p-222fb4e2.entry.js +0 -4
- package/lib/duet/p-2306d206.entry.js +0 -4
- package/lib/duet/p-232405fe.system.entry.js +0 -4
- package/lib/duet/p-280babbe.entry.js +0 -4
- package/lib/duet/p-29cfae19.system.entry.js +0 -4
- package/lib/duet/p-2acb5228.system.entry.js +0 -4
- package/lib/duet/p-2bb44297.system.js +0 -4
- package/lib/duet/p-2d3cfed7.entry.js +0 -4
- package/lib/duet/p-2ea79237.entry.js +0 -4
- package/lib/duet/p-2f4a1c87.system.entry.js +0 -4
- package/lib/duet/p-30424dea.entry.js +0 -4
- package/lib/duet/p-32f2bb6f.system.entry.js +0 -4
- package/lib/duet/p-36d473db.entry.js +0 -4
- package/lib/duet/p-36e38e72.entry.js +0 -4
- package/lib/duet/p-380e506a.system.entry.js +0 -4
- package/lib/duet/p-3931d796.system.entry.js +0 -4
- package/lib/duet/p-396397f0.entry.js +0 -4
- package/lib/duet/p-39c8d5f4.entry.js +0 -4
- package/lib/duet/p-3c43bf45.system.entry.js +0 -4
- package/lib/duet/p-3c548017.entry.js +0 -4
- package/lib/duet/p-3edeecdd.system.entry.js +0 -4
- package/lib/duet/p-41982d26.system.js +0 -4
- package/lib/duet/p-422bf802.system.entry.js +0 -4
- package/lib/duet/p-42789990.system.entry.js +0 -4
- package/lib/duet/p-44ac35f1.entry.js +0 -4
- package/lib/duet/p-49957220.system.js +0 -4
- package/lib/duet/p-49cbde53.entry.js +0 -4
- package/lib/duet/p-49d89759.system.entry.js +0 -4
- package/lib/duet/p-4af1174c.entry.js +0 -4
- package/lib/duet/p-4bbc1e3f.system.entry.js +0 -4
- package/lib/duet/p-4cff3036.system.js +0 -4
- package/lib/duet/p-4d228791.entry.js +0 -4
- package/lib/duet/p-4e095335.entry.js +0 -4
- package/lib/duet/p-4f872b2e.system.entry.js +0 -4
- package/lib/duet/p-4f945200.system.js +0 -4
- package/lib/duet/p-4ffcbae2.entry.js +0 -4
- package/lib/duet/p-534baf68.system.entry.js +0 -4
- package/lib/duet/p-55b6ebd2.system.entry.js +0 -4
- package/lib/duet/p-565c967d.system.entry.js +0 -4
- package/lib/duet/p-56d5d3bd.system.entry.js +0 -4
- package/lib/duet/p-570fd695.system.entry.js +0 -4
- package/lib/duet/p-5a148896.entry.js +0 -4
- package/lib/duet/p-5a47d2bb.entry.js +0 -4
- package/lib/duet/p-5acfa4bf.entry.js +0 -4
- package/lib/duet/p-5b5a4a8f.entry.js +0 -4
- package/lib/duet/p-5cbadb53.system.entry.js +0 -4
- package/lib/duet/p-5cc339cf.entry.js +0 -4
- package/lib/duet/p-5d1a4238.entry.js +0 -4
- package/lib/duet/p-5e01a303.system.entry.js +0 -4
- package/lib/duet/p-5f668b4a.system.entry.js +0 -4
- package/lib/duet/p-5ffa7838.entry.js +0 -4
- package/lib/duet/p-61173f11.system.js +0 -5
- package/lib/duet/p-622e1ffc.js +0 -4
- package/lib/duet/p-64f2d5cf.system.entry.js +0 -4
- package/lib/duet/p-650c6251.system.entry.js +0 -4
- package/lib/duet/p-69e55527.system.entry.js +0 -4
- package/lib/duet/p-6ac3b242.entry.js +0 -4
- package/lib/duet/p-6ac7d70c.entry.js +0 -4
- package/lib/duet/p-6c8f09c8.system.entry.js +0 -4
- package/lib/duet/p-6eec1445.system.entry.js +0 -4
- package/lib/duet/p-6fc78573.entry.js +0 -4
- package/lib/duet/p-705dbeac.system.entry.js +0 -4
- package/lib/duet/p-71a37f03.entry.js +0 -4
- package/lib/duet/p-752fa0fc.system.js +0 -4
- package/lib/duet/p-760919c7.system.entry.js +0 -4
- package/lib/duet/p-7be5b9a7.js +0 -4
- package/lib/duet/p-7c119b9b.system.entry.js +0 -4
- package/lib/duet/p-7cd899ca.system.entry.js +0 -4
- package/lib/duet/p-7d8a2628.js +0 -4
- package/lib/duet/p-7ea9d8e4.system.entry.js +0 -4
- package/lib/duet/p-7fc6af46.system.entry.js +0 -4
- package/lib/duet/p-7fe5e652.entry.js +0 -4
- package/lib/duet/p-86038989.entry.js +0 -4
- package/lib/duet/p-872b746e.entry.js +0 -4
- package/lib/duet/p-875d3971.entry.js +0 -4
- package/lib/duet/p-88daf9bb.system.entry.js +0 -4
- package/lib/duet/p-89ac2008.system.entry.js +0 -4
- package/lib/duet/p-89cf1a91.system.js +0 -4
- package/lib/duet/p-8d43c8cf.entry.js +0 -4
- package/lib/duet/p-8f450e25.entry.js +0 -4
- package/lib/duet/p-8f477bd6.system.js +0 -4
- package/lib/duet/p-8faaaf5f.system.js +0 -4
- package/lib/duet/p-907b42ae.system.entry.js +0 -4
- package/lib/duet/p-9183c04b.system.entry.js +0 -4
- package/lib/duet/p-91b68d54.entry.js +0 -4
- package/lib/duet/p-92d47024.system.entry.js +0 -4
- package/lib/duet/p-939f268d.entry.js +0 -4
- package/lib/duet/p-93c115a9.system.entry.js +0 -4
- package/lib/duet/p-943bf2b1.system.entry.js +0 -4
- package/lib/duet/p-9592f6ba.entry.js +0 -4
- package/lib/duet/p-96d76a4b.entry.js +0 -4
- package/lib/duet/p-98636086.system.js +0 -4
- package/lib/duet/p-9a57fac7.entry.js +0 -4
- package/lib/duet/p-9b16ba14.system.entry.js +0 -4
- package/lib/duet/p-9b61d7b9.system.entry.js +0 -4
- package/lib/duet/p-9d429df0.system.entry.js +0 -4
- package/lib/duet/p-9e5b11f7.entry.js +0 -4
- package/lib/duet/p-9ee0f850.entry.js +0 -4
- package/lib/duet/p-a083b91a.js +0 -5
- package/lib/duet/p-a11e1a80.system.entry.js +0 -4
- package/lib/duet/p-a1e5f0d4.entry.js +0 -4
- package/lib/duet/p-a4b80c74.entry.js +0 -4
- package/lib/duet/p-a7b0d8ce.entry.js +0 -4
- package/lib/duet/p-aaa7a7bd.js +0 -4
- package/lib/duet/p-abc0c9c6.system.js +0 -4
- package/lib/duet/p-ad07b21e.system.entry.js +0 -4
- package/lib/duet/p-ad0d289a.system.entry.js +0 -4
- package/lib/duet/p-ad2b37b0.entry.js +0 -4
- package/lib/duet/p-adc2d7ce.system.entry.js +0 -4
- package/lib/duet/p-aef92a68.entry.js +0 -4
- package/lib/duet/p-afad5fd3.system.js +0 -4
- package/lib/duet/p-b15523c2.entry.js +0 -4
- package/lib/duet/p-b17984d6.system.entry.js +0 -4
- package/lib/duet/p-b2df3729.entry.js +0 -4
- package/lib/duet/p-b327a269.entry.js +0 -4
- package/lib/duet/p-b33512d6.js +0 -4
- package/lib/duet/p-b48b58e1.entry.js +0 -4
- package/lib/duet/p-b864159a.system.js +0 -4
- package/lib/duet/p-b8775dc1.system.entry.js +0 -4
- package/lib/duet/p-ba03d034.system.js +0 -4
- package/lib/duet/p-bbb92080.entry.js +0 -4
- package/lib/duet/p-bd5b0381.entry.js +0 -4
- package/lib/duet/p-bdb001df.entry.js +0 -4
- package/lib/duet/p-be097905.entry.js +0 -4
- package/lib/duet/p-beeb12f1.js +0 -4
- package/lib/duet/p-c118fad4.js +0 -4
- package/lib/duet/p-c1483141.entry.js +0 -4
- package/lib/duet/p-c2e74c89.system.entry.js +0 -4
- package/lib/duet/p-c40ee5d3.entry.js +0 -4
- package/lib/duet/p-c480533b.entry.js +0 -4
- package/lib/duet/p-c487869c.entry.js +0 -4
- package/lib/duet/p-c507caa0.entry.js +0 -4
- package/lib/duet/p-c58f3932.entry.js +0 -4
- package/lib/duet/p-c5d88a34.system.entry.js +0 -4
- package/lib/duet/p-c6bf2cc4.system.entry.js +0 -4
- package/lib/duet/p-c6f29010.system.entry.js +0 -4
- package/lib/duet/p-ca29569e.system.js +0 -4
- package/lib/duet/p-ca3cb21e.js +0 -4
- package/lib/duet/p-ca901ab9.entry.js +0 -4
- package/lib/duet/p-cc5e6288.system.js +0 -4
- package/lib/duet/p-cc67e773.js +0 -4
- package/lib/duet/p-cdba12cc.system.js +0 -4
- package/lib/duet/p-ce282523.entry.js +0 -4
- package/lib/duet/p-cebffd48.system.entry.js +0 -4
- package/lib/duet/p-cf2d66a9.system.entry.js +0 -4
- package/lib/duet/p-cf511280.system.entry.js +0 -4
- package/lib/duet/p-d004da5f.js +0 -4
- package/lib/duet/p-d2875f04.system.entry.js +0 -4
- package/lib/duet/p-d40b4a20.entry.js +0 -4
- package/lib/duet/p-d4554cf2.entry.js +0 -4
- package/lib/duet/p-d4ddd4d1.entry.js +0 -4
- package/lib/duet/p-d5317013.system.entry.js +0 -4
- package/lib/duet/p-d68e93e4.system.entry.js +0 -4
- package/lib/duet/p-d6a321fd.system.entry.js +0 -4
- package/lib/duet/p-d835a292.entry.js +0 -4
- package/lib/duet/p-d840dcdc.system.entry.js +0 -4
- package/lib/duet/p-dac4bc08.system.entry.js +0 -4
- package/lib/duet/p-db2ccb9d.system.js +0 -4
- package/lib/duet/p-e0b83f6c.system.entry.js +0 -4
- package/lib/duet/p-e12066c8.system.js +0 -4
- package/lib/duet/p-e216bea4.system.js +0 -4
- package/lib/duet/p-e29d9d5b.system.entry.js +0 -4
- package/lib/duet/p-e3857119.js +0 -4
- package/lib/duet/p-e45d4dc4.system.entry.js +0 -4
- package/lib/duet/p-e4c8559c.system.js +0 -4
- package/lib/duet/p-e50214f5.system.entry.js +0 -4
- package/lib/duet/p-e6b5a1c7.system.js +0 -4
- package/lib/duet/p-e7c3186e.system.entry.js +0 -4
- package/lib/duet/p-e89a92a9.entry.js +0 -4
- package/lib/duet/p-eb02c981.system.entry.js +0 -4
- package/lib/duet/p-ed086770.system.entry.js +0 -4
- package/lib/duet/p-eebfe28d.system.entry.js +0 -4
- package/lib/duet/p-ef520403.entry.js +0 -4
- package/lib/duet/p-f0260e4c.entry.js +0 -4
- package/lib/duet/p-f07eace6.system.entry.js +0 -4
- package/lib/duet/p-f1083d8c.system.entry.js +0 -4
- package/lib/duet/p-f10d7817.entry.js +0 -4
- package/lib/duet/p-f11208c3.js +0 -4
- package/lib/duet/p-f18245aa.system.entry.js +0 -4
- package/lib/duet/p-f4063bd4.entry.js +0 -4
- package/lib/duet/p-f56098f1.system.entry.js +0 -4
- package/lib/duet/p-f6000a03.js +0 -4
- package/lib/duet/p-f67921d2.system.entry.js +0 -4
- package/lib/duet/p-f6b21d17.system.js +0 -4
- package/lib/duet/p-f7fe4161.system.entry.js +0 -4
- package/lib/duet/p-f97dd407.entry.js +0 -4
- package/lib/duet/p-fcfae4d6.entry.js +0 -4
- package/lib/esm/a11y-utils-c3a7fd7e.js +0 -23
- package/lib/esm/action-arrow-down-small-82273dc8.js +0 -6
- package/lib/esm/action-new-window-small-1945be91.js +0 -6
- package/lib/esm/body-scroll-46854769.js +0 -234
- package/lib/esm/bodyScrollLock.es6-ecbf187e.js +0 -184
- package/lib/esm/common-strings-af765cad.js +0 -25
- package/lib/esm/create-id-149a1b6d.js +0 -11
- package/lib/esm/floating-ui.dom.esm-ebc91b33.js +0 -1348
- package/lib/esm/focus-utils-7bc146cd.js +0 -18
- package/lib/esm/form-search-ea8e19ae.js +0 -6
- package/lib/esm/input-utils-85681162.js +0 -53
- package/lib/esm/is-internet-explorer-2c48f686.js +0 -9
- package/lib/esm/js-utils-9b9e0039.js +0 -47
- package/lib/esm/keyboard-utils-daf80d44.js +0 -58
- package/lib/esm/label-de5c8cbd.js +0 -20
- package/lib/esm/polyfills/core-js.js +0 -11
- package/lib/esm/polyfills/dom.js +0 -79
- package/lib/esm/polyfills/es5-html-element.js +0 -1
- package/lib/esm/polyfills/index.js +0 -34
- package/lib/esm/polyfills/system.js +0 -6
- package/lib/esm/string-utils-192eb3c8.js +0 -61
- package/lib/esm/themeable-component-860041c5.js +0 -13
- package/lib/esm/token-utils-b9ba8c5e.js +0 -138
- package/lib/esm/watch-options-e96ecd92.js +0 -57
- package/lib/esm-es5/a11y-utils-c3a7fd7e.js +0 -4
- package/lib/esm-es5/action-arrow-down-small-82273dc8.js +0 -4
- package/lib/esm-es5/action-new-window-small-1945be91.js +0 -4
- package/lib/esm-es5/app-globals-e00fbe9c.js +0 -4
- package/lib/esm-es5/body-scroll-46854769.js +0 -4
- package/lib/esm-es5/bodyScrollLock.es6-ecbf187e.js +0 -4
- package/lib/esm-es5/common-strings-af765cad.js +0 -4
- package/lib/esm-es5/create-id-149a1b6d.js +0 -4
- package/lib/esm-es5/duet-action-button.entry.js +0 -4
- package/lib/esm-es5/duet-alert.entry.js +0 -4
- package/lib/esm-es5/duet-badge.entry.js +0 -4
- package/lib/esm-es5/duet-banner.entry.js +0 -4
- package/lib/esm-es5/duet-breadcrumb.entry.js +0 -4
- package/lib/esm-es5/duet-breadcrumbs.entry.js +0 -4
- package/lib/esm-es5/duet-button_2.entry.js +0 -4
- package/lib/esm-es5/duet-callout.entry.js +0 -4
- package/lib/esm-es5/duet-caption_4.entry.js +0 -4
- package/lib/esm-es5/duet-card.entry.js +0 -4
- package/lib/esm-es5/duet-checkbox.entry.js +0 -4
- package/lib/esm-es5/duet-checkmark.entry.js +0 -4
- package/lib/esm-es5/duet-chip.entry.js +0 -4
- package/lib/esm-es5/duet-choice_2.entry.js +0 -4
- package/lib/esm-es5/duet-collapsible.entry.js +0 -4
- package/lib/esm-es5/duet-combobox.entry.js +0 -4
- package/lib/esm-es5/duet-contact-card.entry.js +0 -4
- package/lib/esm-es5/duet-cookie-consent.entry.js +0 -4
- package/lib/esm-es5/duet-date-picker.entry.js +0 -4
- package/lib/esm-es5/duet-divider_2.entry.js +0 -4
- package/lib/esm-es5/duet-editable-table_3.entry.js +0 -4
- package/lib/esm-es5/duet-empty-state.entry.js +0 -4
- package/lib/esm-es5/duet-fieldset.entry.js +0 -4
- package/lib/esm-es5/duet-file-chooser.entry.js +0 -4
- package/lib/esm-es5/duet-footer.entry.js +0 -4
- package/lib/esm-es5/duet-grid_2.entry.js +0 -4
- package/lib/esm-es5/duet-header_2.entry.js +0 -4
- package/lib/esm-es5/duet-hero.entry.js +0 -4
- package/lib/esm-es5/duet-icon.entry.js +0 -4
- package/lib/esm-es5/duet-input_2.entry.js +0 -4
- package/lib/esm-es5/duet-layout.entry.js +0 -4
- package/lib/esm-es5/duet-list_2.entry.js +0 -4
- package/lib/esm-es5/duet-menu-bar-button.entry.js +0 -4
- package/lib/esm-es5/duet-menu-bar-dropdown-link.entry.js +0 -4
- package/lib/esm-es5/duet-menu-bar-dropdown.entry.js +0 -4
- package/lib/esm-es5/duet-menu-bar-item.entry.js +0 -4
- package/lib/esm-es5/duet-menu-bar-link.entry.js +0 -4
- package/lib/esm-es5/duet-menu-bar.entry.js +0 -4
- package/lib/esm-es5/duet-modal.entry.js +0 -4
- package/lib/esm-es5/duet-multiselect.entry.js +0 -4
- package/lib/esm-es5/duet-nav.entry.js +0 -4
- package/lib/esm-es5/duet-notification_2.entry.js +0 -4
- package/lib/esm-es5/duet-number-input.entry.js +0 -4
- package/lib/esm-es5/duet-overlay.entry.js +0 -4
- package/lib/esm-es5/duet-page-heading.entry.js +0 -4
- package/lib/esm-es5/duet-pagination_2.entry.js +0 -4
- package/lib/esm-es5/duet-phone-input.entry.js +0 -4
- package/lib/esm-es5/duet-popup-menu_2.entry.js +0 -4
- package/lib/esm-es5/duet-progress.entry.js +0 -4
- package/lib/esm-es5/duet-promo-card.entry.js +0 -4
- package/lib/esm-es5/duet-radio_2.entry.js +0 -4
- package/lib/esm-es5/duet-range-slider.entry.js +0 -4
- package/lib/esm-es5/duet-scrollable_3.entry.js +0 -4
- package/lib/esm-es5/duet-section-layout.entry.js +0 -4
- package/lib/esm-es5/duet-select.entry.js +0 -4
- package/lib/esm-es5/duet-shaped-image.entry.js +0 -4
- package/lib/esm-es5/duet-show-more.entry.js +0 -4
- package/lib/esm-es5/duet-slideout-lang.entry.js +0 -4
- package/lib/esm-es5/duet-slideout-link.entry.js +0 -4
- package/lib/esm-es5/duet-slideout-panel-dropdown.entry.js +0 -4
- package/lib/esm-es5/duet-slideout-panel.entry.js +0 -4
- package/lib/esm-es5/duet-slideout.entry.js +0 -4
- package/lib/esm-es5/duet-status-icon.entry.js +0 -4
- package/lib/esm-es5/duet-step_2.entry.js +0 -4
- package/lib/esm-es5/duet-submenu-bar-dropdown-link.entry.js +0 -4
- package/lib/esm-es5/duet-submenu-bar-dropdown.entry.js +0 -4
- package/lib/esm-es5/duet-submenu-bar-item.entry.js +0 -4
- package/lib/esm-es5/duet-submenu-bar-link.entry.js +0 -4
- package/lib/esm-es5/duet-submenu-bar.entry.js +0 -4
- package/lib/esm-es5/duet-textarea.entry.js +0 -4
- package/lib/esm-es5/duet-toggle.entry.js +0 -4
- package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +0 -4
- package/lib/esm-es5/duet-toolbar-dropdown.entry.js +0 -4
- package/lib/esm-es5/duet-toolbar-item.entry.js +0 -4
- package/lib/esm-es5/duet-toolbar-link.entry.js +0 -4
- package/lib/esm-es5/duet-toolbar.entry.js +0 -4
- package/lib/esm-es5/duet-tooltip-button_2.entry.js +0 -4
- package/lib/esm-es5/duet-tooltip.entry.js +0 -4
- package/lib/esm-es5/duet-tray.entry.js +0 -4
- package/lib/esm-es5/duet-upload-aria-status.entry.js +0 -4
- package/lib/esm-es5/duet-upload-item.entry.js +0 -4
- package/lib/esm-es5/duet-visually-hidden.entry.js +0 -4
- package/lib/esm-es5/duet.js +0 -4
- package/lib/esm-es5/errorcodes.utils-416994cc.js +0 -4
- package/lib/esm-es5/floating-ui.dom.esm-ebc91b33.js +0 -4
- package/lib/esm-es5/focus-utils-7bc146cd.js +0 -4
- package/lib/esm-es5/form-search-ea8e19ae.js +0 -4
- package/lib/esm-es5/index-1a6cee61.js +0 -4
- package/lib/esm-es5/index.js +0 -3
- package/lib/esm-es5/input-utils-85681162.js +0 -4
- package/lib/esm-es5/is-internet-explorer-2c48f686.js +0 -4
- package/lib/esm-es5/js-utils-9b9e0039.js +0 -4
- package/lib/esm-es5/keyboard-utils-daf80d44.js +0 -4
- package/lib/esm-es5/label-de5c8cbd.js +0 -4
- package/lib/esm-es5/language-utils-8a9d5323.js +0 -4
- package/lib/esm-es5/loader.js +0 -4
- package/lib/esm-es5/slot-utils-bf214ae5.js +0 -4
- package/lib/esm-es5/string-utils-192eb3c8.js +0 -4
- package/lib/esm-es5/teleport-546f382d.js +0 -4
- package/lib/esm-es5/themeable-component-860041c5.js +0 -4
- package/lib/esm-es5/token-utils-b9ba8c5e.js +0 -4
- package/lib/esm-es5/tokens-84fb2357.js +0 -4
- package/lib/esm-es5/tokens.module-2d02f5ff.js +0 -4
- package/lib/esm-es5/watch-options-e96ecd92.js +0 -4
- package/lib/loader/package.json +0 -11
- /package/lib/cjs/{body-scroll-dba42314.js → body-scroll-FWPe3_T_.js} +0 -0
- /package/lib/cjs/{bodyScrollLock.es6-dd2d7d91.js → bodyScrollLock.es6-B2sCDud5.js} +0 -0
- /package/lib/cjs/{create-id-1f8c438f.js → create-id-DtslnIOq.js} +0 -0
- /package/lib/cjs/{input-utils-1096a2c5.js → input-utils-DUKdslOM.js} +0 -0
- /package/lib/cjs/{is-internet-explorer-e7f58ebc.js → is-internet-explorer-BTLb_loH.js} +0 -0
- /package/lib/cjs/{js-utils-92e24ba1.js → js-utils-hJ4A2edy.js} +0 -0
- /package/lib/cjs/{keyboard-utils-f7c9f980.js → keyboard-utils-D9UlHbik.js} +0 -0
- /package/lib/cjs/{string-utils-7b13c16e.js → string-utils-B35hEUBv.js} +0 -0
- /package/lib/duet/{p-8354d1f1.js → p-B1B-PPrh.js} +0 -0
- /package/lib/duet/{p-9e371678.js → p-BlUsLmbQ.js} +0 -0
- /package/lib/duet/{p-fc09c464.js → p-C6CAT054.js} +0 -0
- /package/lib/duet/{p-9c3c64b9.js → p-C6E9F6QT.js} +0 -0
- /package/lib/duet/{p-df7874f9.js → p-CLDy7YaM.js} +0 -0
- /package/lib/duet/{p-5e59e970.js → p-Cfr_DJqU.js} +0 -0
- /package/lib/duet/{p-43b89e38.js → p-DxESMgwA.js} +0 -0
- /package/lib/{dist-custom-elements/p-fc09c464.js → esm/body-scroll-C6CAT054.js} +0 -0
- /package/lib/{dist-custom-elements/p-8354d1f1.js → esm/bodyScrollLock.es6-B1B-PPrh.js} +0 -0
- /package/lib/{dist-custom-elements/p-5e59e970.js → esm/create-id-Cfr_DJqU.js} +0 -0
- /package/lib/{dist-custom-elements/p-df7874f9.js → esm/input-utils-CLDy7YaM.js} +0 -0
- /package/lib/{dist-custom-elements/p-43b89e38.js → esm/is-internet-explorer-DxESMgwA.js} +0 -0
- /package/lib/{dist-custom-elements/p-9e371678.js → esm/js-utils-BlUsLmbQ.js} +0 -0
- /package/lib/{dist-custom-elements/p-9c3c64b9.js → esm/string-utils-C6E9F6QT.js} +0 -0
|
@@ -12,23 +12,21 @@ function _interopNamespace(e) {
|
|
|
12
12
|
var d = Object.getOwnPropertyDescriptor(e, k);
|
|
13
13
|
Object.defineProperty(n, k, d.get ? d : {
|
|
14
14
|
enumerable: true,
|
|
15
|
-
get: function () {
|
|
16
|
-
return e[k];
|
|
17
|
-
}
|
|
15
|
+
get: function () { return e[k]; }
|
|
18
16
|
});
|
|
19
17
|
}
|
|
20
18
|
});
|
|
21
19
|
}
|
|
22
|
-
n
|
|
20
|
+
n.default = e;
|
|
23
21
|
return Object.freeze(n);
|
|
24
22
|
}
|
|
25
23
|
|
|
26
24
|
const NAMESPACE = 'duet';
|
|
27
|
-
const BUILD = /* duet */ {
|
|
28
|
-
const Env = /* duet */ {"
|
|
25
|
+
const BUILD = /* duet */ { hydratedSelectorName: "hydrated", lazyLoad: true, slotRelocation: true, updatable: true};
|
|
26
|
+
const Env = /* duet */ {"cdnURIProd":"https://cdn.duetds.com/api","duetIconVersion":"4.2.14"};
|
|
29
27
|
|
|
30
28
|
/*
|
|
31
|
-
Stencil Client Platform v4.
|
|
29
|
+
Stencil Client Platform v4.36.3 | MIT Licensed | https://stenciljs.com
|
|
32
30
|
*/
|
|
33
31
|
var __defProp = Object.defineProperty;
|
|
34
32
|
var __export = (target, all) => {
|
|
@@ -36,14 +34,47 @@ var __export = (target, all) => {
|
|
|
36
34
|
__defProp(target, name, { get: all[name], enumerable: true });
|
|
37
35
|
};
|
|
38
36
|
var Build = {
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
var
|
|
45
|
-
|
|
46
|
-
|
|
37
|
+
isServer: false};
|
|
38
|
+
|
|
39
|
+
// src/utils/constants.ts
|
|
40
|
+
var SVG_NS = "http://www.w3.org/2000/svg";
|
|
41
|
+
var HTML_NS = "http://www.w3.org/1999/xhtml";
|
|
42
|
+
var PrimitiveType = /* @__PURE__ */ ((PrimitiveType2) => {
|
|
43
|
+
PrimitiveType2["Undefined"] = "undefined";
|
|
44
|
+
PrimitiveType2["Null"] = "null";
|
|
45
|
+
PrimitiveType2["String"] = "string";
|
|
46
|
+
PrimitiveType2["Number"] = "number";
|
|
47
|
+
PrimitiveType2["SpecialNumber"] = "number";
|
|
48
|
+
PrimitiveType2["Boolean"] = "boolean";
|
|
49
|
+
PrimitiveType2["BigInt"] = "bigint";
|
|
50
|
+
return PrimitiveType2;
|
|
51
|
+
})(PrimitiveType || {});
|
|
52
|
+
var NonPrimitiveType = /* @__PURE__ */ ((NonPrimitiveType2) => {
|
|
53
|
+
NonPrimitiveType2["Array"] = "array";
|
|
54
|
+
NonPrimitiveType2["Date"] = "date";
|
|
55
|
+
NonPrimitiveType2["Map"] = "map";
|
|
56
|
+
NonPrimitiveType2["Object"] = "object";
|
|
57
|
+
NonPrimitiveType2["RegularExpression"] = "regexp";
|
|
58
|
+
NonPrimitiveType2["Set"] = "set";
|
|
59
|
+
NonPrimitiveType2["Channel"] = "channel";
|
|
60
|
+
NonPrimitiveType2["Symbol"] = "symbol";
|
|
61
|
+
return NonPrimitiveType2;
|
|
62
|
+
})(NonPrimitiveType || {});
|
|
63
|
+
var TYPE_CONSTANT = "type";
|
|
64
|
+
var VALUE_CONSTANT = "value";
|
|
65
|
+
var SERIALIZED_PREFIX = "serialized:";
|
|
66
|
+
|
|
67
|
+
// src/client/client-host-ref.ts
|
|
68
|
+
var getHostRef = (ref) => {
|
|
69
|
+
if (ref.__stencil__getHostRef) {
|
|
70
|
+
return ref.__stencil__getHostRef();
|
|
71
|
+
}
|
|
72
|
+
return void 0;
|
|
73
|
+
};
|
|
74
|
+
var registerInstance = (lazyInstance, hostRef) => {
|
|
75
|
+
lazyInstance.__stencil__getHostRef = () => hostRef;
|
|
76
|
+
hostRef.$lazyInstance$ = lazyInstance;
|
|
77
|
+
};
|
|
47
78
|
var registerHost = (hostElement, cmpMeta) => {
|
|
48
79
|
const hostRef = {
|
|
49
80
|
$flags$: 0,
|
|
@@ -59,7 +90,9 @@ var registerHost = (hostElement, cmpMeta) => {
|
|
|
59
90
|
hostElement["s-p"] = [];
|
|
60
91
|
hostElement["s-rc"] = [];
|
|
61
92
|
}
|
|
62
|
-
|
|
93
|
+
const ref = hostRef;
|
|
94
|
+
hostElement.__stencil__getHostRef = () => ref;
|
|
95
|
+
return ref;
|
|
63
96
|
};
|
|
64
97
|
var isMemberInElement = (elm, memberName) => memberName in elm;
|
|
65
98
|
var consoleError = (e, el) => (0, console.error)(e, el);
|
|
@@ -84,6 +117,18 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
84
117
|
}
|
|
85
118
|
switch(bundleId) {
|
|
86
119
|
|
|
120
|
+
case 'duet-share-chart-item.cjs':
|
|
121
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
122
|
+
/* webpackMode: "lazy" */
|
|
123
|
+
'./duet-share-chart-item.cjs.entry.js')); }).then(processMod, consoleError);
|
|
124
|
+
case 'duet-upload-aria-status.cjs':
|
|
125
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
126
|
+
/* webpackMode: "lazy" */
|
|
127
|
+
'./duet-upload-aria-status.cjs.entry.js')); }).then(processMod, consoleError);
|
|
128
|
+
case 'duet-status-icon.cjs':
|
|
129
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
130
|
+
/* webpackMode: "lazy" */
|
|
131
|
+
'./duet-status-icon.cjs.entry.js')); }).then(processMod, consoleError);
|
|
87
132
|
case 'duet-alert.cjs':
|
|
88
133
|
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
89
134
|
/* webpackMode: "lazy" */
|
|
@@ -100,10 +145,6 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
100
145
|
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
101
146
|
/* webpackMode: "lazy" */
|
|
102
147
|
'./duet-hero.cjs.entry.js')); }).then(processMod, consoleError);
|
|
103
|
-
case 'duet-card.cjs':
|
|
104
|
-
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
105
|
-
/* webpackMode: "lazy" */
|
|
106
|
-
'./duet-card.cjs.entry.js')); }).then(processMod, consoleError);
|
|
107
148
|
case 'duet-empty-state.cjs':
|
|
108
149
|
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
109
150
|
/* webpackMode: "lazy" */
|
|
@@ -120,14 +161,6 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
120
161
|
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
121
162
|
/* webpackMode: "lazy" */
|
|
122
163
|
'./duet-section-layout.cjs.entry.js')); }).then(processMod, consoleError);
|
|
123
|
-
case 'duet-number-input.cjs':
|
|
124
|
-
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
125
|
-
/* webpackMode: "lazy" */
|
|
126
|
-
'./duet-number-input.cjs.entry.js')); }).then(processMod, consoleError);
|
|
127
|
-
case 'duet-icon.cjs':
|
|
128
|
-
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
129
|
-
/* webpackMode: "lazy" */
|
|
130
|
-
'./duet-icon.cjs.entry.js')); }).then(processMod, consoleError);
|
|
131
164
|
case 'duet-range-slider.cjs':
|
|
132
165
|
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
133
166
|
/* webpackMode: "lazy" */
|
|
@@ -172,74 +205,6 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
172
205
|
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
173
206
|
/* webpackMode: "lazy" */
|
|
174
207
|
'./duet-tray.cjs.entry.js')); }).then(processMod, consoleError);
|
|
175
|
-
case 'duet-date-picker.cjs':
|
|
176
|
-
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
177
|
-
/* webpackMode: "lazy" */
|
|
178
|
-
'./duet-date-picker.cjs.entry.js')); }).then(processMod, consoleError);
|
|
179
|
-
case 'duet-button_2.cjs':
|
|
180
|
-
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
181
|
-
/* webpackMode: "lazy" */
|
|
182
|
-
'./duet-button_2.cjs.entry.js')); }).then(processMod, consoleError);
|
|
183
|
-
case 'duet-grid_2.cjs':
|
|
184
|
-
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
185
|
-
/* webpackMode: "lazy" */
|
|
186
|
-
'./duet-grid_2.cjs.entry.js')); }).then(processMod, consoleError);
|
|
187
|
-
case 'duet-header_2.cjs':
|
|
188
|
-
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
189
|
-
/* webpackMode: "lazy" */
|
|
190
|
-
'./duet-header_2.cjs.entry.js')); }).then(processMod, consoleError);
|
|
191
|
-
case 'duet-radio_2.cjs':
|
|
192
|
-
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
193
|
-
/* webpackMode: "lazy" */
|
|
194
|
-
'./duet-radio_2.cjs.entry.js')); }).then(processMod, consoleError);
|
|
195
|
-
case 'duet-choice_2.cjs':
|
|
196
|
-
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
197
|
-
/* webpackMode: "lazy" */
|
|
198
|
-
'./duet-choice_2.cjs.entry.js')); }).then(processMod, consoleError);
|
|
199
|
-
case 'duet-list_2.cjs':
|
|
200
|
-
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
201
|
-
/* webpackMode: "lazy" */
|
|
202
|
-
'./duet-list_2.cjs.entry.js')); }).then(processMod, consoleError);
|
|
203
|
-
case 'duet-divider_2.cjs':
|
|
204
|
-
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
205
|
-
/* webpackMode: "lazy" */
|
|
206
|
-
'./duet-divider_2.cjs.entry.js')); }).then(processMod, consoleError);
|
|
207
|
-
case 'duet-input_2.cjs':
|
|
208
|
-
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
209
|
-
/* webpackMode: "lazy" */
|
|
210
|
-
'./duet-input_2.cjs.entry.js')); }).then(processMod, consoleError);
|
|
211
|
-
case 'duet-step_2.cjs':
|
|
212
|
-
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
213
|
-
/* webpackMode: "lazy" */
|
|
214
|
-
'./duet-step_2.cjs.entry.js')); }).then(processMod, consoleError);
|
|
215
|
-
case 'duet-pagination_2.cjs':
|
|
216
|
-
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
217
|
-
/* webpackMode: "lazy" */
|
|
218
|
-
'./duet-pagination_2.cjs.entry.js')); }).then(processMod, consoleError);
|
|
219
|
-
case 'duet-notification_2.cjs':
|
|
220
|
-
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
221
|
-
/* webpackMode: "lazy" */
|
|
222
|
-
'./duet-notification_2.cjs.entry.js')); }).then(processMod, consoleError);
|
|
223
|
-
case 'duet-editable-table_3.cjs':
|
|
224
|
-
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
225
|
-
/* webpackMode: "lazy" */
|
|
226
|
-
'./duet-editable-table_3.cjs.entry.js')); }).then(processMod, consoleError);
|
|
227
|
-
case 'duet-scrollable_3.cjs':
|
|
228
|
-
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
229
|
-
/* webpackMode: "lazy" */
|
|
230
|
-
'./duet-scrollable_3.cjs.entry.js')); }).then(processMod, consoleError);
|
|
231
|
-
case 'duet-caption_4.cjs':
|
|
232
|
-
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
233
|
-
/* webpackMode: "lazy" */
|
|
234
|
-
'./duet-caption_4.cjs.entry.js')); }).then(processMod, consoleError);
|
|
235
|
-
case 'duet-banner.cjs':
|
|
236
|
-
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
237
|
-
/* webpackMode: "lazy" */
|
|
238
|
-
'./duet-banner.cjs.entry.js')); }).then(processMod, consoleError);
|
|
239
|
-
case 'duet-breadcrumb.cjs':
|
|
240
|
-
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
241
|
-
/* webpackMode: "lazy" */
|
|
242
|
-
'./duet-breadcrumb.cjs.entry.js')); }).then(processMod, consoleError);
|
|
243
208
|
case 'duet-breadcrumbs.cjs':
|
|
244
209
|
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
245
210
|
/* webpackMode: "lazy" */
|
|
@@ -248,10 +213,6 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
248
213
|
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
249
214
|
/* webpackMode: "lazy" */
|
|
250
215
|
'./duet-callout.cjs.entry.js')); }).then(processMod, consoleError);
|
|
251
|
-
case 'duet-combobox.cjs':
|
|
252
|
-
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
253
|
-
/* webpackMode: "lazy" */
|
|
254
|
-
'./duet-combobox.cjs.entry.js')); }).then(processMod, consoleError);
|
|
255
216
|
case 'duet-contact-card.cjs':
|
|
256
217
|
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
257
218
|
/* webpackMode: "lazy" */
|
|
@@ -300,10 +261,10 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
300
261
|
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
301
262
|
/* webpackMode: "lazy" */
|
|
302
263
|
'./duet-page-heading.cjs.entry.js')); }).then(processMod, consoleError);
|
|
303
|
-
case 'duet-
|
|
264
|
+
case 'duet-panel.cjs':
|
|
304
265
|
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
305
266
|
/* webpackMode: "lazy" */
|
|
306
|
-
'./duet-
|
|
267
|
+
'./duet-panel.cjs.entry.js')); }).then(processMod, consoleError);
|
|
307
268
|
case 'duet-promo-card.cjs':
|
|
308
269
|
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
309
270
|
/* webpackMode: "lazy" */
|
|
@@ -312,6 +273,10 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
312
273
|
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
313
274
|
/* webpackMode: "lazy" */
|
|
314
275
|
'./duet-shaped-image.cjs.entry.js')); }).then(processMod, consoleError);
|
|
276
|
+
case 'duet-share-chart.cjs':
|
|
277
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
278
|
+
/* webpackMode: "lazy" */
|
|
279
|
+
'./duet-share-chart.cjs.entry.js')); }).then(processMod, consoleError);
|
|
315
280
|
case 'duet-slideout.cjs':
|
|
316
281
|
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
317
282
|
/* webpackMode: "lazy" */
|
|
@@ -332,10 +297,6 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
332
297
|
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
333
298
|
/* webpackMode: "lazy" */
|
|
334
299
|
'./duet-slideout-panel-dropdown.cjs.entry.js')); }).then(processMod, consoleError);
|
|
335
|
-
case 'duet-status-icon.cjs':
|
|
336
|
-
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
337
|
-
/* webpackMode: "lazy" */
|
|
338
|
-
'./duet-status-icon.cjs.entry.js')); }).then(processMod, consoleError);
|
|
339
300
|
case 'duet-submenu-bar.cjs':
|
|
340
301
|
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
341
302
|
/* webpackMode: "lazy" */
|
|
@@ -384,48 +345,141 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
384
345
|
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
385
346
|
/* webpackMode: "lazy" */
|
|
386
347
|
'./duet-chip.cjs.entry.js')); }).then(processMod, consoleError);
|
|
387
|
-
case 'duet-
|
|
348
|
+
case 'duet-show-more.cjs':
|
|
388
349
|
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
389
350
|
/* webpackMode: "lazy" */
|
|
390
|
-
'./duet-
|
|
351
|
+
'./duet-show-more.cjs.entry.js')); }).then(processMod, consoleError);
|
|
352
|
+
case 'duet-fieldset.cjs':
|
|
353
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
354
|
+
/* webpackMode: "lazy" */
|
|
355
|
+
'./duet-fieldset.cjs.entry.js')); }).then(processMod, consoleError);
|
|
356
|
+
case 'duet-overlay.cjs':
|
|
357
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
358
|
+
/* webpackMode: "lazy" */
|
|
359
|
+
'./duet-overlay.cjs.entry.js')); }).then(processMod, consoleError);
|
|
360
|
+
case 'duet-indicator.cjs':
|
|
361
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
362
|
+
/* webpackMode: "lazy" */
|
|
363
|
+
'./duet-indicator.cjs.entry.js')); }).then(processMod, consoleError);
|
|
364
|
+
case 'duet-icon.cjs':
|
|
365
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
366
|
+
/* webpackMode: "lazy" */
|
|
367
|
+
'./duet-icon.cjs.entry.js')); }).then(processMod, consoleError);
|
|
368
|
+
case 'duet-banner.cjs':
|
|
369
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
370
|
+
/* webpackMode: "lazy" */
|
|
371
|
+
'./duet-banner.cjs.entry.js')); }).then(processMod, consoleError);
|
|
372
|
+
case 'duet-combobox.cjs':
|
|
373
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
374
|
+
/* webpackMode: "lazy" */
|
|
375
|
+
'./duet-combobox.cjs.entry.js')); }).then(processMod, consoleError);
|
|
376
|
+
case 'duet-phone-input.cjs':
|
|
377
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
378
|
+
/* webpackMode: "lazy" */
|
|
379
|
+
'./duet-phone-input.cjs.entry.js')); }).then(processMod, consoleError);
|
|
391
380
|
case 'duet-upload-item.cjs':
|
|
392
381
|
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
393
382
|
/* webpackMode: "lazy" */
|
|
394
383
|
'./duet-upload-item.cjs.entry.js')); }).then(processMod, consoleError);
|
|
395
|
-
case 'duet-
|
|
384
|
+
case 'duet-button_2.cjs':
|
|
396
385
|
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
397
386
|
/* webpackMode: "lazy" */
|
|
398
|
-
'./duet-
|
|
399
|
-
case 'duet-
|
|
387
|
+
'./duet-button_2.cjs.entry.js')); }).then(processMod, consoleError);
|
|
388
|
+
case 'duet-grid_2.cjs':
|
|
400
389
|
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
401
390
|
/* webpackMode: "lazy" */
|
|
402
|
-
'./duet-
|
|
403
|
-
case 'duet-
|
|
391
|
+
'./duet-grid_2.cjs.entry.js')); }).then(processMod, consoleError);
|
|
392
|
+
case 'duet-radio_2.cjs':
|
|
404
393
|
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
405
394
|
/* webpackMode: "lazy" */
|
|
406
|
-
'./duet-
|
|
407
|
-
case 'duet-
|
|
395
|
+
'./duet-radio_2.cjs.entry.js')); }).then(processMod, consoleError);
|
|
396
|
+
case 'duet-list_2.cjs':
|
|
408
397
|
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
409
398
|
/* webpackMode: "lazy" */
|
|
410
|
-
'./duet-
|
|
399
|
+
'./duet-list_2.cjs.entry.js')); }).then(processMod, consoleError);
|
|
400
|
+
case 'duet-divider_2.cjs':
|
|
401
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
402
|
+
/* webpackMode: "lazy" */
|
|
403
|
+
'./duet-divider_2.cjs.entry.js')); }).then(processMod, consoleError);
|
|
404
|
+
case 'duet-notification_2.cjs':
|
|
405
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
406
|
+
/* webpackMode: "lazy" */
|
|
407
|
+
'./duet-notification_2.cjs.entry.js')); }).then(processMod, consoleError);
|
|
408
|
+
case 'duet-breadcrumb.cjs':
|
|
409
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
410
|
+
/* webpackMode: "lazy" */
|
|
411
|
+
'./duet-breadcrumb.cjs.entry.js')); }).then(processMod, consoleError);
|
|
412
|
+
case 'duet-popup-menu_2.cjs':
|
|
413
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
414
|
+
/* webpackMode: "lazy" */
|
|
415
|
+
'./duet-popup-menu_2.cjs.entry.js')); }).then(processMod, consoleError);
|
|
411
416
|
case 'duet-tooltip-button_2.cjs':
|
|
412
417
|
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
413
418
|
/* webpackMode: "lazy" */
|
|
414
419
|
'./duet-tooltip-button_2.cjs.entry.js')); }).then(processMod, consoleError);
|
|
420
|
+
case 'duet-card.cjs':
|
|
421
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
422
|
+
/* webpackMode: "lazy" */
|
|
423
|
+
'./duet-card.cjs.entry.js')); }).then(processMod, consoleError);
|
|
424
|
+
case 'duet-pagination_2.cjs':
|
|
425
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
426
|
+
/* webpackMode: "lazy" */
|
|
427
|
+
'./duet-pagination_2.cjs.entry.js')); }).then(processMod, consoleError);
|
|
428
|
+
case 'duet-choice_2.cjs':
|
|
429
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
430
|
+
/* webpackMode: "lazy" */
|
|
431
|
+
'./duet-choice_2.cjs.entry.js')); }).then(processMod, consoleError);
|
|
432
|
+
case 'duet-input_2.cjs':
|
|
433
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
434
|
+
/* webpackMode: "lazy" */
|
|
435
|
+
'./duet-input_2.cjs.entry.js')); }).then(processMod, consoleError);
|
|
436
|
+
case 'duet-scrollable_3.cjs':
|
|
437
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
438
|
+
/* webpackMode: "lazy" */
|
|
439
|
+
'./duet-scrollable_3.cjs.entry.js')); }).then(processMod, consoleError);
|
|
440
|
+
case 'duet-number-input.cjs':
|
|
441
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
442
|
+
/* webpackMode: "lazy" */
|
|
443
|
+
'./duet-number-input.cjs.entry.js')); }).then(processMod, consoleError);
|
|
444
|
+
case 'duet-step_2.cjs':
|
|
445
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
446
|
+
/* webpackMode: "lazy" */
|
|
447
|
+
'./duet-step_2.cjs.entry.js')); }).then(processMod, consoleError);
|
|
448
|
+
case 'duet-date-picker.cjs':
|
|
449
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
450
|
+
/* webpackMode: "lazy" */
|
|
451
|
+
'./duet-date-picker.cjs.entry.js')); }).then(processMod, consoleError);
|
|
452
|
+
case 'duet-editable-table_3.cjs':
|
|
453
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
454
|
+
/* webpackMode: "lazy" */
|
|
455
|
+
'./duet-editable-table_3.cjs.entry.js')); }).then(processMod, consoleError);
|
|
456
|
+
case 'duet-caption_4.cjs':
|
|
457
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
458
|
+
/* webpackMode: "lazy" */
|
|
459
|
+
'./duet-caption_4.cjs.entry.js')); }).then(processMod, consoleError);
|
|
460
|
+
case 'duet-header_2.cjs':
|
|
461
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
462
|
+
/* webpackMode: "lazy" */
|
|
463
|
+
'./duet-header_2.cjs.entry.js')); }).then(processMod, consoleError);
|
|
415
464
|
}
|
|
416
465
|
}
|
|
417
|
-
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
466
|
+
return (function (t) { return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(t)); }); })(
|
|
418
467
|
/* @vite-ignore */
|
|
419
468
|
/* webpackInclude: /\.entry\.js$/ */
|
|
420
469
|
/* webpackExclude: /\.system\.entry\.js$/ */
|
|
421
470
|
/* webpackMode: "lazy" */
|
|
422
471
|
`./${bundleId}.entry.js${""}`
|
|
423
|
-
)
|
|
424
|
-
{
|
|
425
|
-
|
|
472
|
+
).then(
|
|
473
|
+
(importedModule) => {
|
|
474
|
+
{
|
|
475
|
+
cmpModules.set(bundleId, importedModule);
|
|
476
|
+
}
|
|
477
|
+
return importedModule[exportName];
|
|
478
|
+
},
|
|
479
|
+
(e) => {
|
|
480
|
+
consoleError(e, hostRef.$hostElement$);
|
|
426
481
|
}
|
|
427
|
-
|
|
428
|
-
}, consoleError);
|
|
482
|
+
);
|
|
429
483
|
};
|
|
430
484
|
|
|
431
485
|
// src/client/client-style.ts
|
|
@@ -443,7 +497,6 @@ var HYDRATE_CHILD_ID = "c-id";
|
|
|
443
497
|
var SLOT_FB_CSS = "slot-fb{display:contents}slot-fb[hidden]{display:none}";
|
|
444
498
|
var XLINK_NS = "http://www.w3.org/1999/xlink";
|
|
445
499
|
var win = typeof window !== "undefined" ? window : {};
|
|
446
|
-
var doc = win.document || { head: {} };
|
|
447
500
|
var plt = {
|
|
448
501
|
$flags$: 0,
|
|
449
502
|
$resourcesUrl$: "",
|
|
@@ -454,9 +507,10 @@ var plt = {
|
|
|
454
507
|
ce: (eventName, opts) => new CustomEvent(eventName, opts)
|
|
455
508
|
};
|
|
456
509
|
var supportsListenerOptions = /* @__PURE__ */ (() => {
|
|
510
|
+
var _a;
|
|
457
511
|
let supportsListenerOptions2 = false;
|
|
458
512
|
try {
|
|
459
|
-
|
|
513
|
+
(_a = win.document) == null ? void 0 : _a.addEventListener(
|
|
460
514
|
"e",
|
|
461
515
|
null,
|
|
462
516
|
Object.defineProperty({}, "passive", {
|
|
@@ -478,6 +532,7 @@ var supportsConstructableStylesheets = /* @__PURE__ */ (() => {
|
|
|
478
532
|
}
|
|
479
533
|
return false;
|
|
480
534
|
})() ;
|
|
535
|
+
var supportsMutableAdoptedStyleSheets = supportsConstructableStylesheets ? /* @__PURE__ */ (() => !!win.document && Object.getOwnPropertyDescriptor(win.document.adoptedStyleSheets, "length").writable)() : false;
|
|
481
536
|
var queuePending = false;
|
|
482
537
|
var queueDomReads = [];
|
|
483
538
|
var queueDomWrites = [];
|
|
@@ -514,24 +569,119 @@ var flush = () => {
|
|
|
514
569
|
var nextTick = (cb) => promiseResolve().then(cb);
|
|
515
570
|
var writeTask = /* @__PURE__ */ queueTask(queueDomWrites, true);
|
|
516
571
|
|
|
517
|
-
// src/utils/constants.ts
|
|
518
|
-
var EMPTY_OBJ = {};
|
|
519
|
-
var SVG_NS = "http://www.w3.org/2000/svg";
|
|
520
|
-
var HTML_NS = "http://www.w3.org/1999/xhtml";
|
|
521
|
-
|
|
522
572
|
// src/utils/helpers.ts
|
|
523
|
-
var isDef = (v) => v != null;
|
|
573
|
+
var isDef = (v) => v != null && v !== void 0;
|
|
524
574
|
var isComplexType = (o) => {
|
|
525
575
|
o = typeof o;
|
|
526
576
|
return o === "object" || o === "function";
|
|
527
577
|
};
|
|
528
578
|
|
|
529
579
|
// src/utils/query-nonce-meta-tag-content.ts
|
|
530
|
-
function queryNonceMetaTagContent(
|
|
580
|
+
function queryNonceMetaTagContent(doc) {
|
|
531
581
|
var _a, _b, _c;
|
|
532
|
-
return (_c = (_b = (_a =
|
|
582
|
+
return (_c = (_b = (_a = doc.head) == null ? void 0 : _a.querySelector('meta[name="csp-nonce"]')) == null ? void 0 : _b.getAttribute("content")) != null ? _c : void 0;
|
|
533
583
|
}
|
|
534
584
|
|
|
585
|
+
// src/utils/regular-expression.ts
|
|
586
|
+
var escapeRegExpSpecialCharacters = (text) => {
|
|
587
|
+
return text.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
|
|
588
|
+
};
|
|
589
|
+
|
|
590
|
+
// src/utils/remote-value.ts
|
|
591
|
+
var RemoteValue = class _RemoteValue {
|
|
592
|
+
/**
|
|
593
|
+
* Deserializes a LocalValue serialized object back to its original JavaScript representation
|
|
594
|
+
*
|
|
595
|
+
* @param serialized The serialized LocalValue object
|
|
596
|
+
* @returns The original JavaScript value/object
|
|
597
|
+
*/
|
|
598
|
+
static fromLocalValue(serialized) {
|
|
599
|
+
const type = serialized[TYPE_CONSTANT];
|
|
600
|
+
const value = VALUE_CONSTANT in serialized ? serialized[VALUE_CONSTANT] : void 0;
|
|
601
|
+
switch (type) {
|
|
602
|
+
case "string" /* String */:
|
|
603
|
+
return value;
|
|
604
|
+
case "boolean" /* Boolean */:
|
|
605
|
+
return value;
|
|
606
|
+
case "bigint" /* BigInt */:
|
|
607
|
+
return BigInt(value);
|
|
608
|
+
case "undefined" /* Undefined */:
|
|
609
|
+
return void 0;
|
|
610
|
+
case "null" /* Null */:
|
|
611
|
+
return null;
|
|
612
|
+
case "number" /* Number */:
|
|
613
|
+
if (value === "NaN") return NaN;
|
|
614
|
+
if (value === "-0") return -0;
|
|
615
|
+
if (value === "Infinity") return Infinity;
|
|
616
|
+
if (value === "-Infinity") return -Infinity;
|
|
617
|
+
return value;
|
|
618
|
+
case "array" /* Array */:
|
|
619
|
+
return value.map((item) => _RemoteValue.fromLocalValue(item));
|
|
620
|
+
case "date" /* Date */:
|
|
621
|
+
return new Date(value);
|
|
622
|
+
case "map" /* Map */:
|
|
623
|
+
const map2 = /* @__PURE__ */ new Map();
|
|
624
|
+
for (const [key, val] of value) {
|
|
625
|
+
const deserializedKey = typeof key === "object" && key !== null ? _RemoteValue.fromLocalValue(key) : key;
|
|
626
|
+
const deserializedValue = _RemoteValue.fromLocalValue(val);
|
|
627
|
+
map2.set(deserializedKey, deserializedValue);
|
|
628
|
+
}
|
|
629
|
+
return map2;
|
|
630
|
+
case "object" /* Object */:
|
|
631
|
+
const obj = {};
|
|
632
|
+
for (const [key, val] of value) {
|
|
633
|
+
obj[key] = _RemoteValue.fromLocalValue(val);
|
|
634
|
+
}
|
|
635
|
+
return obj;
|
|
636
|
+
case "regexp" /* RegularExpression */:
|
|
637
|
+
const { pattern, flags } = value;
|
|
638
|
+
return new RegExp(pattern, flags);
|
|
639
|
+
case "set" /* Set */:
|
|
640
|
+
const set = /* @__PURE__ */ new Set();
|
|
641
|
+
for (const item of value) {
|
|
642
|
+
set.add(_RemoteValue.fromLocalValue(item));
|
|
643
|
+
}
|
|
644
|
+
return set;
|
|
645
|
+
case "symbol" /* Symbol */:
|
|
646
|
+
return Symbol(value);
|
|
647
|
+
default:
|
|
648
|
+
throw new Error(`Unsupported type: ${type}`);
|
|
649
|
+
}
|
|
650
|
+
}
|
|
651
|
+
/**
|
|
652
|
+
* Utility method to deserialize multiple LocalValues at once
|
|
653
|
+
*
|
|
654
|
+
* @param serializedValues Array of serialized LocalValue objects
|
|
655
|
+
* @returns Array of deserialized JavaScript values
|
|
656
|
+
*/
|
|
657
|
+
static fromLocalValueArray(serializedValues) {
|
|
658
|
+
return serializedValues.map((value) => _RemoteValue.fromLocalValue(value));
|
|
659
|
+
}
|
|
660
|
+
/**
|
|
661
|
+
* Verifies if the given object matches the structure of a serialized LocalValue
|
|
662
|
+
*
|
|
663
|
+
* @param obj Object to verify
|
|
664
|
+
* @returns boolean indicating if the object has LocalValue structure
|
|
665
|
+
*/
|
|
666
|
+
static isLocalValueObject(obj) {
|
|
667
|
+
if (typeof obj !== "object" || obj === null) {
|
|
668
|
+
return false;
|
|
669
|
+
}
|
|
670
|
+
if (!obj.hasOwnProperty(TYPE_CONSTANT)) {
|
|
671
|
+
return false;
|
|
672
|
+
}
|
|
673
|
+
const type = obj[TYPE_CONSTANT];
|
|
674
|
+
const hasTypeProperty = Object.values({ ...PrimitiveType, ...NonPrimitiveType }).includes(type);
|
|
675
|
+
if (!hasTypeProperty) {
|
|
676
|
+
return false;
|
|
677
|
+
}
|
|
678
|
+
if (type !== "null" /* Null */ && type !== "undefined" /* Undefined */) {
|
|
679
|
+
return obj.hasOwnProperty(VALUE_CONSTANT);
|
|
680
|
+
}
|
|
681
|
+
return true;
|
|
682
|
+
}
|
|
683
|
+
};
|
|
684
|
+
|
|
535
685
|
// src/utils/result.ts
|
|
536
686
|
var result_exports = {};
|
|
537
687
|
__export(result_exports, {
|
|
@@ -580,25 +730,384 @@ var unwrapErr = (result) => {
|
|
|
580
730
|
throw result.value;
|
|
581
731
|
}
|
|
582
732
|
};
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
733
|
+
|
|
734
|
+
// src/utils/serialize.ts
|
|
735
|
+
function deserializeProperty(value) {
|
|
736
|
+
if (typeof value !== "string" || !value.startsWith(SERIALIZED_PREFIX)) {
|
|
737
|
+
return value;
|
|
738
|
+
}
|
|
739
|
+
return RemoteValue.fromLocalValue(JSON.parse(atob(value.slice(SERIALIZED_PREFIX.length))));
|
|
740
|
+
}
|
|
741
|
+
|
|
742
|
+
// src/utils/style.ts
|
|
743
|
+
function createStyleSheetIfNeededAndSupported(styles2) {
|
|
744
|
+
return void 0;
|
|
745
|
+
}
|
|
746
|
+
|
|
747
|
+
// src/utils/shadow-root.ts
|
|
748
|
+
var globalStyleSheet;
|
|
749
|
+
function createShadowRoot(cmpMeta) {
|
|
750
|
+
var _a;
|
|
751
|
+
const shadowRoot = this.attachShadow({
|
|
752
|
+
mode: "open",
|
|
753
|
+
delegatesFocus: !!(cmpMeta.$flags$ & 16 /* shadowDelegatesFocus */)
|
|
754
|
+
}) ;
|
|
755
|
+
if (globalStyleSheet === void 0) globalStyleSheet = (_a = createStyleSheetIfNeededAndSupported()) != null ? _a : null;
|
|
756
|
+
if (globalStyleSheet) {
|
|
757
|
+
if (supportsMutableAdoptedStyleSheets) {
|
|
758
|
+
shadowRoot.adoptedStyleSheets.push(globalStyleSheet);
|
|
759
|
+
} else {
|
|
760
|
+
shadowRoot.adoptedStyleSheets = [...shadowRoot.adoptedStyleSheets, globalStyleSheet];
|
|
761
|
+
}
|
|
762
|
+
}
|
|
763
|
+
}
|
|
764
|
+
var updateFallbackSlotVisibility = (elm) => {
|
|
765
|
+
const childNodes = internalCall(elm, "childNodes");
|
|
766
|
+
if (elm.tagName && elm.tagName.includes("-") && elm["s-cr"] && elm.tagName !== "SLOT-FB") {
|
|
767
|
+
getHostSlotNodes(childNodes, elm.tagName).forEach((slotNode) => {
|
|
768
|
+
if (slotNode.nodeType === 1 /* ElementNode */ && slotNode.tagName === "SLOT-FB") {
|
|
769
|
+
if (getSlotChildSiblings(slotNode, getSlotName(slotNode), false).length) {
|
|
770
|
+
slotNode.hidden = true;
|
|
771
|
+
} else {
|
|
772
|
+
slotNode.hidden = false;
|
|
773
|
+
}
|
|
774
|
+
}
|
|
775
|
+
});
|
|
776
|
+
}
|
|
777
|
+
let i2 = 0;
|
|
778
|
+
for (i2 = 0; i2 < childNodes.length; i2++) {
|
|
779
|
+
const childNode = childNodes[i2];
|
|
780
|
+
if (childNode.nodeType === 1 /* ElementNode */ && internalCall(childNode, "childNodes").length) {
|
|
781
|
+
updateFallbackSlotVisibility(childNode);
|
|
782
|
+
}
|
|
783
|
+
}
|
|
784
|
+
};
|
|
785
|
+
var getSlottedChildNodes = (childNodes) => {
|
|
786
|
+
const result = [];
|
|
787
|
+
for (let i2 = 0; i2 < childNodes.length; i2++) {
|
|
788
|
+
const slottedNode = childNodes[i2]["s-nr"] || void 0;
|
|
789
|
+
if (slottedNode && slottedNode.isConnected) {
|
|
790
|
+
result.push(slottedNode);
|
|
791
|
+
}
|
|
792
|
+
}
|
|
793
|
+
return result;
|
|
794
|
+
};
|
|
795
|
+
function getHostSlotNodes(childNodes, hostName, slotName) {
|
|
796
|
+
let i2 = 0;
|
|
797
|
+
let slottedNodes = [];
|
|
798
|
+
let childNode;
|
|
799
|
+
for (; i2 < childNodes.length; i2++) {
|
|
800
|
+
childNode = childNodes[i2];
|
|
801
|
+
if (childNode["s-sr"] && (!hostName || childNode["s-hn"] === hostName) && (slotName === void 0)) {
|
|
802
|
+
slottedNodes.push(childNode);
|
|
803
|
+
}
|
|
804
|
+
slottedNodes = [...slottedNodes, ...getHostSlotNodes(childNode.childNodes, hostName, slotName)];
|
|
805
|
+
}
|
|
806
|
+
return slottedNodes;
|
|
807
|
+
}
|
|
808
|
+
var getSlotChildSiblings = (slot, slotName, includeSlot = true) => {
|
|
809
|
+
const childNodes = [];
|
|
810
|
+
if (includeSlot && slot["s-sr"] || !slot["s-sr"]) childNodes.push(slot);
|
|
811
|
+
let node = slot;
|
|
812
|
+
while (node = node.nextSibling) {
|
|
813
|
+
if (getSlotName(node) === slotName && (includeSlot || !node["s-sr"])) childNodes.push(node);
|
|
814
|
+
}
|
|
815
|
+
return childNodes;
|
|
816
|
+
};
|
|
817
|
+
var isNodeLocatedInSlot = (nodeToRelocate, slotName) => {
|
|
818
|
+
if (nodeToRelocate.nodeType === 1 /* ElementNode */) {
|
|
819
|
+
if (nodeToRelocate.getAttribute("slot") === null && slotName === "") {
|
|
820
|
+
return true;
|
|
821
|
+
}
|
|
822
|
+
if (nodeToRelocate.getAttribute("slot") === slotName) {
|
|
823
|
+
return true;
|
|
824
|
+
}
|
|
825
|
+
return false;
|
|
826
|
+
}
|
|
827
|
+
if (nodeToRelocate["s-sn"] === slotName) {
|
|
828
|
+
return true;
|
|
829
|
+
}
|
|
830
|
+
return slotName === "";
|
|
831
|
+
};
|
|
832
|
+
var addSlotRelocateNode = (newChild, slotNode, prepend, position) => {
|
|
833
|
+
if (newChild["s-ol"] && newChild["s-ol"].isConnected) {
|
|
834
|
+
return;
|
|
835
|
+
}
|
|
836
|
+
const slottedNodeLocation = document.createTextNode("");
|
|
837
|
+
slottedNodeLocation["s-nr"] = newChild;
|
|
838
|
+
if (!slotNode["s-cr"] || !slotNode["s-cr"].parentNode) return;
|
|
839
|
+
const parent = slotNode["s-cr"].parentNode;
|
|
840
|
+
const appendMethod = internalCall(parent, "appendChild");
|
|
841
|
+
if (typeof position !== "undefined") {
|
|
842
|
+
slottedNodeLocation["s-oo"] = position;
|
|
843
|
+
const childNodes = internalCall(parent, "childNodes");
|
|
844
|
+
const slotRelocateNodes = [slottedNodeLocation];
|
|
845
|
+
childNodes.forEach((n) => {
|
|
846
|
+
if (n["s-nr"]) slotRelocateNodes.push(n);
|
|
847
|
+
});
|
|
848
|
+
slotRelocateNodes.sort((a, b) => {
|
|
849
|
+
if (!a["s-oo"] || a["s-oo"] < (b["s-oo"] || 0)) return -1;
|
|
850
|
+
else if (!b["s-oo"] || b["s-oo"] < a["s-oo"]) return 1;
|
|
851
|
+
return 0;
|
|
852
|
+
});
|
|
853
|
+
slotRelocateNodes.forEach((n) => appendMethod.call(parent, n));
|
|
854
|
+
} else {
|
|
855
|
+
appendMethod.call(parent, slottedNodeLocation);
|
|
856
|
+
}
|
|
857
|
+
newChild["s-ol"] = slottedNodeLocation;
|
|
858
|
+
newChild["s-sh"] = slotNode["s-hn"];
|
|
859
|
+
};
|
|
860
|
+
var getSlotName = (node) => typeof node["s-sn"] === "string" ? node["s-sn"] : node.nodeType === 1 && node.getAttribute("slot") || void 0;
|
|
861
|
+
function patchSlotNode(node) {
|
|
862
|
+
if (node.assignedElements || node.assignedNodes || !node["s-sr"]) return;
|
|
863
|
+
const assignedFactory = (elementsOnly) => (function(opts) {
|
|
864
|
+
const toReturn = [];
|
|
865
|
+
const slotName = this["s-sn"];
|
|
866
|
+
if (opts == null ? void 0 : opts.flatten) {
|
|
867
|
+
console.error(`
|
|
868
|
+
Flattening is not supported for Stencil non-shadow slots.
|
|
869
|
+
You can use \`.childNodes\` to nested slot fallback content.
|
|
870
|
+
If you have a particular use case, please open an issue on the Stencil repo.
|
|
871
|
+
`);
|
|
872
|
+
}
|
|
873
|
+
const parent = this["s-cr"].parentElement;
|
|
874
|
+
const slottedNodes = parent.__childNodes ? parent.childNodes : getSlottedChildNodes(parent.childNodes);
|
|
875
|
+
slottedNodes.forEach((n) => {
|
|
876
|
+
if (slotName === getSlotName(n)) {
|
|
877
|
+
toReturn.push(n);
|
|
878
|
+
}
|
|
879
|
+
});
|
|
880
|
+
if (elementsOnly) {
|
|
881
|
+
return toReturn.filter((n) => n.nodeType === 1 /* ElementNode */);
|
|
882
|
+
}
|
|
883
|
+
return toReturn;
|
|
884
|
+
}).bind(node);
|
|
885
|
+
node.assignedElements = assignedFactory(true);
|
|
886
|
+
node.assignedNodes = assignedFactory(false);
|
|
887
|
+
}
|
|
888
|
+
var patchChildSlotNodes = (elm) => {
|
|
889
|
+
class FakeNodeList extends Array {
|
|
890
|
+
item(n) {
|
|
891
|
+
return this[n];
|
|
892
|
+
}
|
|
893
|
+
}
|
|
894
|
+
patchHostOriginalAccessor("children", elm);
|
|
895
|
+
Object.defineProperty(elm, "children", {
|
|
896
|
+
get() {
|
|
897
|
+
return this.childNodes.filter((n) => n.nodeType === 1);
|
|
898
|
+
}
|
|
899
|
+
});
|
|
900
|
+
Object.defineProperty(elm, "childElementCount", {
|
|
901
|
+
get() {
|
|
902
|
+
return this.children.length;
|
|
903
|
+
}
|
|
904
|
+
});
|
|
905
|
+
patchHostOriginalAccessor("firstChild", elm);
|
|
906
|
+
Object.defineProperty(elm, "firstChild", {
|
|
907
|
+
get() {
|
|
908
|
+
return this.childNodes[0];
|
|
909
|
+
}
|
|
910
|
+
});
|
|
911
|
+
patchHostOriginalAccessor("lastChild", elm);
|
|
912
|
+
Object.defineProperty(elm, "lastChild", {
|
|
913
|
+
get() {
|
|
914
|
+
return this.childNodes[this.childNodes.length - 1];
|
|
915
|
+
}
|
|
916
|
+
});
|
|
917
|
+
patchHostOriginalAccessor("childNodes", elm);
|
|
918
|
+
Object.defineProperty(elm, "childNodes", {
|
|
919
|
+
get() {
|
|
920
|
+
const result = new FakeNodeList();
|
|
921
|
+
result.push(...getSlottedChildNodes(this.__childNodes));
|
|
922
|
+
return result;
|
|
923
|
+
}
|
|
924
|
+
});
|
|
925
|
+
};
|
|
926
|
+
var validElementPatches = ["children", "nextElementSibling", "previousElementSibling"];
|
|
927
|
+
var validNodesPatches = [
|
|
928
|
+
"childNodes",
|
|
929
|
+
"firstChild",
|
|
930
|
+
"lastChild",
|
|
931
|
+
"nextSibling",
|
|
932
|
+
"previousSibling",
|
|
933
|
+
"textContent",
|
|
934
|
+
"parentNode"
|
|
935
|
+
];
|
|
936
|
+
function patchHostOriginalAccessor(accessorName, node) {
|
|
937
|
+
if (!globalThis.Node || !globalThis.Element) {
|
|
938
|
+
return;
|
|
939
|
+
}
|
|
940
|
+
let accessor;
|
|
941
|
+
if (validElementPatches.includes(accessorName)) {
|
|
942
|
+
accessor = Object.getOwnPropertyDescriptor(Element.prototype, accessorName);
|
|
943
|
+
} else if (validNodesPatches.includes(accessorName)) {
|
|
944
|
+
accessor = Object.getOwnPropertyDescriptor(Node.prototype, accessorName);
|
|
945
|
+
}
|
|
946
|
+
if (!accessor) {
|
|
947
|
+
accessor = Object.getOwnPropertyDescriptor(node, accessorName);
|
|
948
|
+
}
|
|
949
|
+
if (accessor) Object.defineProperty(node, "__" + accessorName, accessor);
|
|
950
|
+
}
|
|
951
|
+
function internalCall(node, method) {
|
|
952
|
+
if ("__" + method in node) {
|
|
953
|
+
const toReturn = node["__" + method];
|
|
954
|
+
if (typeof toReturn !== "function") return toReturn;
|
|
955
|
+
return toReturn.bind(node);
|
|
956
|
+
} else {
|
|
957
|
+
if (typeof node[method] !== "function") return node[method];
|
|
958
|
+
return node[method].bind(node);
|
|
959
|
+
}
|
|
960
|
+
}
|
|
961
|
+
var createTime = (fnName, tagName = "") => {
|
|
962
|
+
{
|
|
963
|
+
return () => {
|
|
964
|
+
return;
|
|
965
|
+
};
|
|
966
|
+
}
|
|
967
|
+
};
|
|
968
|
+
var uniqueTime = (key, measureText) => {
|
|
969
|
+
{
|
|
970
|
+
return () => {
|
|
971
|
+
return;
|
|
972
|
+
};
|
|
973
|
+
}
|
|
974
|
+
};
|
|
975
|
+
var rootAppliedStyles = /* @__PURE__ */ new WeakMap();
|
|
976
|
+
var registerStyle = (scopeId2, cssText, allowCS) => {
|
|
977
|
+
let style = styles.get(scopeId2);
|
|
978
|
+
if (supportsConstructableStylesheets && allowCS) {
|
|
979
|
+
style = style || new CSSStyleSheet();
|
|
980
|
+
if (typeof style === "string") {
|
|
981
|
+
style = cssText;
|
|
982
|
+
} else {
|
|
983
|
+
style.replaceSync(cssText);
|
|
984
|
+
}
|
|
985
|
+
} else {
|
|
986
|
+
style = cssText;
|
|
987
|
+
}
|
|
988
|
+
styles.set(scopeId2, style);
|
|
989
|
+
};
|
|
990
|
+
var addStyle = (styleContainerNode, cmpMeta, mode) => {
|
|
991
|
+
var _a;
|
|
992
|
+
const scopeId2 = getScopeId(cmpMeta);
|
|
993
|
+
const style = styles.get(scopeId2);
|
|
994
|
+
if (!win.document) {
|
|
995
|
+
return scopeId2;
|
|
996
|
+
}
|
|
997
|
+
styleContainerNode = styleContainerNode.nodeType === 11 /* DocumentFragment */ ? styleContainerNode : win.document;
|
|
998
|
+
if (style) {
|
|
999
|
+
if (typeof style === "string") {
|
|
1000
|
+
styleContainerNode = styleContainerNode.head || styleContainerNode;
|
|
1001
|
+
let appliedStyles = rootAppliedStyles.get(styleContainerNode);
|
|
1002
|
+
let styleElm;
|
|
1003
|
+
if (!appliedStyles) {
|
|
1004
|
+
rootAppliedStyles.set(styleContainerNode, appliedStyles = /* @__PURE__ */ new Set());
|
|
1005
|
+
}
|
|
1006
|
+
if (!appliedStyles.has(scopeId2)) {
|
|
1007
|
+
if (styleContainerNode.host && (styleElm = styleContainerNode.querySelector(`[${HYDRATED_STYLE_ID}="${scopeId2}"]`))) {
|
|
1008
|
+
styleElm.innerHTML = style;
|
|
1009
|
+
} else {
|
|
1010
|
+
styleElm = win.document.createElement("style");
|
|
1011
|
+
styleElm.innerHTML = style;
|
|
1012
|
+
const nonce = (_a = plt.$nonce$) != null ? _a : queryNonceMetaTagContent(win.document);
|
|
1013
|
+
if (nonce != null) {
|
|
1014
|
+
styleElm.setAttribute("nonce", nonce);
|
|
1015
|
+
}
|
|
1016
|
+
if (!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */)) {
|
|
1017
|
+
if (styleContainerNode.nodeName === "HEAD") {
|
|
1018
|
+
const preconnectLinks = styleContainerNode.querySelectorAll("link[rel=preconnect]");
|
|
1019
|
+
const referenceNode2 = preconnectLinks.length > 0 ? preconnectLinks[preconnectLinks.length - 1].nextSibling : styleContainerNode.querySelector("style");
|
|
1020
|
+
styleContainerNode.insertBefore(
|
|
1021
|
+
styleElm,
|
|
1022
|
+
(referenceNode2 == null ? void 0 : referenceNode2.parentNode) === styleContainerNode ? referenceNode2 : null
|
|
1023
|
+
);
|
|
1024
|
+
} else if ("host" in styleContainerNode) {
|
|
1025
|
+
if (supportsConstructableStylesheets) {
|
|
1026
|
+
const stylesheet = new CSSStyleSheet();
|
|
1027
|
+
stylesheet.replaceSync(style);
|
|
1028
|
+
if (supportsMutableAdoptedStyleSheets) {
|
|
1029
|
+
styleContainerNode.adoptedStyleSheets.unshift(stylesheet);
|
|
1030
|
+
} else {
|
|
1031
|
+
styleContainerNode.adoptedStyleSheets = [stylesheet, ...styleContainerNode.adoptedStyleSheets];
|
|
1032
|
+
}
|
|
1033
|
+
} else {
|
|
1034
|
+
const existingStyleContainer = styleContainerNode.querySelector("style");
|
|
1035
|
+
if (existingStyleContainer) {
|
|
1036
|
+
existingStyleContainer.innerHTML = style + existingStyleContainer.innerHTML;
|
|
1037
|
+
} else {
|
|
1038
|
+
styleContainerNode.prepend(styleElm);
|
|
1039
|
+
}
|
|
1040
|
+
}
|
|
1041
|
+
} else {
|
|
1042
|
+
styleContainerNode.append(styleElm);
|
|
1043
|
+
}
|
|
1044
|
+
}
|
|
1045
|
+
if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) {
|
|
1046
|
+
styleContainerNode.insertBefore(styleElm, null);
|
|
1047
|
+
}
|
|
1048
|
+
}
|
|
1049
|
+
if (cmpMeta.$flags$ & 4 /* hasSlotRelocation */) {
|
|
1050
|
+
styleElm.innerHTML += SLOT_FB_CSS;
|
|
1051
|
+
}
|
|
1052
|
+
if (appliedStyles) {
|
|
1053
|
+
appliedStyles.add(scopeId2);
|
|
1054
|
+
}
|
|
1055
|
+
}
|
|
1056
|
+
} else if (!styleContainerNode.adoptedStyleSheets.includes(style)) {
|
|
1057
|
+
if (supportsMutableAdoptedStyleSheets) {
|
|
1058
|
+
styleContainerNode.adoptedStyleSheets.push(style);
|
|
1059
|
+
} else {
|
|
1060
|
+
styleContainerNode.adoptedStyleSheets = [...styleContainerNode.adoptedStyleSheets, style];
|
|
1061
|
+
}
|
|
1062
|
+
}
|
|
1063
|
+
}
|
|
1064
|
+
return scopeId2;
|
|
1065
|
+
};
|
|
1066
|
+
var attachStyles = (hostRef) => {
|
|
1067
|
+
const cmpMeta = hostRef.$cmpMeta$;
|
|
1068
|
+
const elm = hostRef.$hostElement$;
|
|
1069
|
+
const flags = cmpMeta.$flags$;
|
|
1070
|
+
const endAttachStyles = createTime("attachStyles", cmpMeta.$tagName$);
|
|
1071
|
+
const scopeId2 = addStyle(
|
|
1072
|
+
elm.shadowRoot ? elm.shadowRoot : elm.getRootNode(),
|
|
1073
|
+
cmpMeta);
|
|
1074
|
+
if (flags & 10 /* needsScopedEncapsulation */) {
|
|
1075
|
+
elm["s-sc"] = scopeId2;
|
|
1076
|
+
elm.classList.add(scopeId2 + "-h");
|
|
1077
|
+
}
|
|
1078
|
+
endAttachStyles();
|
|
1079
|
+
};
|
|
1080
|
+
var getScopeId = (cmp, mode) => "sc-" + (cmp.$tagName$);
|
|
1081
|
+
var convertScopedToShadow = (css) => css.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g, "$1{");
|
|
1082
|
+
var hydrateScopedToShadow = () => {
|
|
1083
|
+
if (!win.document) {
|
|
1084
|
+
return;
|
|
1085
|
+
}
|
|
1086
|
+
const styles2 = win.document.querySelectorAll(`[${HYDRATED_STYLE_ID}]`);
|
|
1087
|
+
let i2 = 0;
|
|
1088
|
+
for (; i2 < styles2.length; i2++) {
|
|
1089
|
+
registerStyle(styles2[i2].getAttribute(HYDRATED_STYLE_ID), convertScopedToShadow(styles2[i2].innerHTML), true);
|
|
1090
|
+
}
|
|
1091
|
+
};
|
|
1092
|
+
var h = (nodeName, vnodeData, ...children) => {
|
|
1093
|
+
let child = null;
|
|
1094
|
+
let key = null;
|
|
1095
|
+
let slotName = null;
|
|
1096
|
+
let simple = false;
|
|
1097
|
+
let lastSimple = false;
|
|
1098
|
+
const vNodeChildren = [];
|
|
1099
|
+
const walk = (c) => {
|
|
1100
|
+
for (let i2 = 0; i2 < c.length; i2++) {
|
|
1101
|
+
child = c[i2];
|
|
1102
|
+
if (Array.isArray(child)) {
|
|
1103
|
+
walk(child);
|
|
1104
|
+
} else if (child != null && typeof child !== "boolean") {
|
|
1105
|
+
if (simple = typeof nodeName !== "function" && !isComplexType(child)) {
|
|
1106
|
+
child = String(child);
|
|
1107
|
+
}
|
|
1108
|
+
if (simple && lastSimple) {
|
|
1109
|
+
vNodeChildren[vNodeChildren.length - 1].$text$ += child;
|
|
1110
|
+
} else {
|
|
602
1111
|
vNodeChildren.push(simple ? newVNode(null, child) : child);
|
|
603
1112
|
}
|
|
604
1113
|
lastSimple = simple;
|
|
@@ -691,1247 +1200,1162 @@ var convertToPrivate = (node) => {
|
|
|
691
1200
|
vnode.$name$ = node.vname;
|
|
692
1201
|
return vnode;
|
|
693
1202
|
};
|
|
694
|
-
var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
|
|
695
|
-
if (oldValue !== newValue) {
|
|
696
|
-
let isProp = isMemberInElement(elm, memberName);
|
|
697
|
-
let ln = memberName.toLowerCase();
|
|
698
|
-
if (memberName === "class") {
|
|
699
|
-
const classList = elm.classList;
|
|
700
|
-
const oldClasses = parseClassList(oldValue);
|
|
701
|
-
const newClasses = parseClassList(newValue);
|
|
702
|
-
if (elm["s-si"] && newClasses.indexOf(elm["s-si"]) < 0) {
|
|
703
|
-
newClasses.push(elm["s-si"]);
|
|
704
|
-
}
|
|
705
|
-
classList.remove(...oldClasses.filter((c) => c && !newClasses.includes(c)));
|
|
706
|
-
classList.add(...newClasses.filter((c) => c && !oldClasses.includes(c)));
|
|
707
|
-
} else if (memberName === "style") {
|
|
708
|
-
{
|
|
709
|
-
for (const prop in oldValue) {
|
|
710
|
-
if (!newValue || newValue[prop] == null) {
|
|
711
|
-
if (prop.includes("-")) {
|
|
712
|
-
elm.style.removeProperty(prop);
|
|
713
|
-
} else {
|
|
714
|
-
elm.style[prop] = "";
|
|
715
|
-
}
|
|
716
|
-
}
|
|
717
|
-
}
|
|
718
|
-
}
|
|
719
|
-
for (const prop in newValue) {
|
|
720
|
-
if (!oldValue || newValue[prop] !== oldValue[prop]) {
|
|
721
|
-
if (prop.includes("-")) {
|
|
722
|
-
elm.style.setProperty(prop, newValue[prop]);
|
|
723
|
-
} else {
|
|
724
|
-
elm.style[prop] = newValue[prop];
|
|
725
|
-
}
|
|
726
|
-
}
|
|
727
|
-
}
|
|
728
|
-
} else if (memberName === "key") ; else if (memberName === "ref") {
|
|
729
|
-
if (newValue) {
|
|
730
|
-
newValue(elm);
|
|
731
|
-
}
|
|
732
|
-
} else if ((!isProp ) && memberName[0] === "o" && memberName[1] === "n") {
|
|
733
|
-
if (memberName[2] === "-") {
|
|
734
|
-
memberName = memberName.slice(3);
|
|
735
|
-
} else if (isMemberInElement(win, ln)) {
|
|
736
|
-
memberName = ln.slice(2);
|
|
737
|
-
} else {
|
|
738
|
-
memberName = ln[2] + memberName.slice(3);
|
|
739
|
-
}
|
|
740
|
-
if (oldValue || newValue) {
|
|
741
|
-
const capture = memberName.endsWith(CAPTURE_EVENT_SUFFIX);
|
|
742
|
-
memberName = memberName.replace(CAPTURE_EVENT_REGEX, "");
|
|
743
|
-
if (oldValue) {
|
|
744
|
-
plt.rel(elm, memberName, oldValue, capture);
|
|
745
|
-
}
|
|
746
|
-
if (newValue) {
|
|
747
|
-
plt.ael(elm, memberName, newValue, capture);
|
|
748
|
-
}
|
|
749
|
-
}
|
|
750
|
-
} else {
|
|
751
|
-
const isComplex = isComplexType(newValue);
|
|
752
|
-
if ((isProp || isComplex && newValue !== null) && !isSvg) {
|
|
753
|
-
try {
|
|
754
|
-
if (!elm.tagName.includes("-")) {
|
|
755
|
-
const n = newValue == null ? "" : newValue;
|
|
756
|
-
if (memberName === "list") {
|
|
757
|
-
isProp = false;
|
|
758
|
-
} else if (oldValue == null || elm[memberName] != n) {
|
|
759
|
-
if (typeof elm.__lookupSetter__(memberName) === "function") {
|
|
760
|
-
elm[memberName] = n;
|
|
761
|
-
} else {
|
|
762
|
-
elm.setAttribute(memberName, n);
|
|
763
|
-
}
|
|
764
|
-
}
|
|
765
|
-
} else {
|
|
766
|
-
elm[memberName] = newValue;
|
|
767
|
-
}
|
|
768
|
-
} catch (e) {
|
|
769
|
-
}
|
|
770
|
-
}
|
|
771
|
-
let xlink = false;
|
|
772
|
-
{
|
|
773
|
-
if (ln !== (ln = ln.replace(/^xlink\:?/, ""))) {
|
|
774
|
-
memberName = ln;
|
|
775
|
-
xlink = true;
|
|
776
|
-
}
|
|
777
|
-
}
|
|
778
|
-
if (newValue == null || newValue === false) {
|
|
779
|
-
if (newValue !== false || elm.getAttribute(memberName) === "") {
|
|
780
|
-
if (xlink) {
|
|
781
|
-
elm.removeAttributeNS(XLINK_NS, memberName);
|
|
782
|
-
} else {
|
|
783
|
-
elm.removeAttribute(memberName);
|
|
784
|
-
}
|
|
785
|
-
}
|
|
786
|
-
} else if ((!isProp || flags & 4 /* isHost */ || isSvg) && !isComplex) {
|
|
787
|
-
newValue = newValue === true ? "" : newValue;
|
|
788
|
-
if (xlink) {
|
|
789
|
-
elm.setAttributeNS(XLINK_NS, memberName, newValue);
|
|
790
|
-
} else {
|
|
791
|
-
elm.setAttribute(memberName, newValue);
|
|
792
|
-
}
|
|
793
|
-
}
|
|
794
|
-
}
|
|
795
|
-
}
|
|
796
|
-
};
|
|
797
|
-
var parseClassListRegex = /\s/;
|
|
798
|
-
var parseClassList=s=>("object"==typeof s&&"baseVal"in s&&(s=s.baseVal),s?s.split(parseClassListRegex):[]);
|
|
799
|
-
var CAPTURE_EVENT_SUFFIX = "Capture";
|
|
800
|
-
var CAPTURE_EVENT_REGEX = new RegExp(CAPTURE_EVENT_SUFFIX + "$");
|
|
801
1203
|
|
|
802
|
-
// src/runtime/
|
|
803
|
-
var
|
|
804
|
-
|
|
805
|
-
const
|
|
806
|
-
const
|
|
1204
|
+
// src/runtime/client-hydrate.ts
|
|
1205
|
+
var initializeClientHydrate = (hostElm, tagName, hostId, hostRef) => {
|
|
1206
|
+
var _a, _b, _c;
|
|
1207
|
+
const endHydrate = createTime("hydrateClient", tagName);
|
|
1208
|
+
const shadowRoot = hostElm.shadowRoot;
|
|
1209
|
+
const childRenderNodes = [];
|
|
1210
|
+
const slotNodes = [];
|
|
1211
|
+
const slottedNodes = [];
|
|
1212
|
+
const shadowRootNodes = shadowRoot ? [] : null;
|
|
1213
|
+
const vnode = newVNode(tagName, null);
|
|
1214
|
+
vnode.$elm$ = hostElm;
|
|
1215
|
+
const members = Object.entries(((_a = hostRef.$cmpMeta$) == null ? void 0 : _a.$members$) || {});
|
|
1216
|
+
members.forEach(([memberName, [memberFlags, metaAttributeName]]) => {
|
|
1217
|
+
var _b2;
|
|
1218
|
+
if (!(memberFlags & 31 /* Prop */)) {
|
|
1219
|
+
return;
|
|
1220
|
+
}
|
|
1221
|
+
const attributeName = metaAttributeName || memberName;
|
|
1222
|
+
const attrVal = hostElm.getAttribute(attributeName);
|
|
1223
|
+
if (attrVal !== null) {
|
|
1224
|
+
const attrPropVal = parsePropertyValue(
|
|
1225
|
+
attrVal,
|
|
1226
|
+
memberFlags);
|
|
1227
|
+
(_b2 = hostRef == null ? void 0 : hostRef.$instanceValues$) == null ? void 0 : _b2.set(memberName, attrPropVal);
|
|
1228
|
+
}
|
|
1229
|
+
});
|
|
1230
|
+
let scopeId2;
|
|
807
1231
|
{
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
1232
|
+
const cmpMeta = hostRef.$cmpMeta$;
|
|
1233
|
+
if (cmpMeta && cmpMeta.$flags$ & 10 /* needsScopedEncapsulation */ && hostElm["s-sc"]) {
|
|
1234
|
+
scopeId2 = hostElm["s-sc"];
|
|
1235
|
+
hostElm.classList.add(scopeId2 + "-h");
|
|
1236
|
+
} else if (hostElm["s-sc"]) {
|
|
1237
|
+
delete hostElm["s-sc"];
|
|
812
1238
|
}
|
|
813
1239
|
}
|
|
814
|
-
|
|
815
|
-
|
|
1240
|
+
if (win.document && (!plt.$orgLocNodes$ || !plt.$orgLocNodes$.size)) {
|
|
1241
|
+
initializeDocumentHydrate(win.document.body, plt.$orgLocNodes$ = /* @__PURE__ */ new Map());
|
|
816
1242
|
}
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
1243
|
+
hostElm[HYDRATE_ID] = hostId;
|
|
1244
|
+
hostElm.removeAttribute(HYDRATE_ID);
|
|
1245
|
+
hostRef.$vnode$ = clientHydrate(
|
|
1246
|
+
vnode,
|
|
1247
|
+
childRenderNodes,
|
|
1248
|
+
slotNodes,
|
|
1249
|
+
shadowRootNodes,
|
|
1250
|
+
hostElm,
|
|
1251
|
+
hostElm,
|
|
1252
|
+
hostId,
|
|
1253
|
+
slottedNodes
|
|
825
1254
|
);
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
const newVNode2 = newParentVNode.$children$[childIndex];
|
|
839
|
-
let i2 = 0;
|
|
840
|
-
let elm;
|
|
841
|
-
let childNode;
|
|
842
|
-
let oldVNode;
|
|
843
|
-
if (!useNativeShadowDom) {
|
|
844
|
-
checkSlotRelocate = true;
|
|
845
|
-
if (newVNode2.$tag$ === "slot") {
|
|
846
|
-
if (scopeId) {
|
|
847
|
-
parentElm.classList.add(scopeId + "-s");
|
|
1255
|
+
let crIndex = 0;
|
|
1256
|
+
const crLength = childRenderNodes.length;
|
|
1257
|
+
let childRenderNode;
|
|
1258
|
+
for (crIndex; crIndex < crLength; crIndex++) {
|
|
1259
|
+
childRenderNode = childRenderNodes[crIndex];
|
|
1260
|
+
const orgLocationId = childRenderNode.$hostId$ + "." + childRenderNode.$nodeId$;
|
|
1261
|
+
const orgLocationNode = plt.$orgLocNodes$.get(orgLocationId);
|
|
1262
|
+
const node = childRenderNode.$elm$;
|
|
1263
|
+
if (!shadowRoot) {
|
|
1264
|
+
node["s-hn"] = tagName.toUpperCase();
|
|
1265
|
+
if (childRenderNode.$tag$ === "slot") {
|
|
1266
|
+
node["s-cr"] = hostElm["s-cr"];
|
|
848
1267
|
}
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
1 /* isSlotReference */
|
|
858
|
-
);
|
|
859
|
-
}
|
|
860
|
-
}
|
|
861
|
-
if (newVNode2.$text$ !== null) {
|
|
862
|
-
elm = newVNode2.$elm$ = doc.createTextNode(newVNode2.$text$);
|
|
863
|
-
} else if (newVNode2.$flags$ & 1 /* isSlotReference */) {
|
|
864
|
-
elm = newVNode2.$elm$ = doc.createTextNode("");
|
|
865
|
-
} else {
|
|
866
|
-
if (!isSvgMode) {
|
|
867
|
-
isSvgMode = newVNode2.$tag$ === "svg";
|
|
868
|
-
}
|
|
869
|
-
elm = newVNode2.$elm$ = doc.createElementNS(
|
|
870
|
-
isSvgMode ? SVG_NS : HTML_NS,
|
|
871
|
-
!useNativeShadowDom && BUILD.slotRelocation && newVNode2.$flags$ & 2 /* isSlotFallback */ ? "slot-fb" : newVNode2.$tag$
|
|
872
|
-
) ;
|
|
873
|
-
if (isSvgMode && newVNode2.$tag$ === "foreignObject") {
|
|
874
|
-
isSvgMode = false;
|
|
875
|
-
}
|
|
876
|
-
{
|
|
877
|
-
updateElement(null, newVNode2, isSvgMode);
|
|
878
|
-
}
|
|
879
|
-
const rootNode = elm.getRootNode();
|
|
880
|
-
const isElementWithinShadowRoot = !rootNode.querySelector("body");
|
|
881
|
-
if (!isElementWithinShadowRoot && BUILD.scoped && isDef(scopeId) && elm["s-si"] !== scopeId) {
|
|
882
|
-
elm.classList.add(elm["s-si"] = scopeId);
|
|
883
|
-
}
|
|
884
|
-
{
|
|
885
|
-
updateElementScopeIds(elm, parentElm);
|
|
886
|
-
}
|
|
887
|
-
if (newVNode2.$children$) {
|
|
888
|
-
for (i2 = 0; i2 < newVNode2.$children$.length; ++i2) {
|
|
889
|
-
childNode = createElm(oldParentVNode, newVNode2, i2, elm);
|
|
890
|
-
if (childNode) {
|
|
891
|
-
elm.appendChild(childNode);
|
|
1268
|
+
} else if (((_b = childRenderNode.$tag$) == null ? void 0 : _b.toString().includes("-")) && childRenderNode.$tag$ !== "slot-fb" && !childRenderNode.$elm$.shadowRoot) {
|
|
1269
|
+
const cmpMeta = getHostRef(childRenderNode.$elm$);
|
|
1270
|
+
if (cmpMeta) {
|
|
1271
|
+
const scopeId3 = getScopeId(
|
|
1272
|
+
cmpMeta.$cmpMeta$);
|
|
1273
|
+
const styleSheet = win.document.querySelector(`style[sty-id="${scopeId3}"]`);
|
|
1274
|
+
if (styleSheet) {
|
|
1275
|
+
hostElm.shadowRoot.append(styleSheet.cloneNode(true));
|
|
892
1276
|
}
|
|
893
1277
|
}
|
|
894
1278
|
}
|
|
895
|
-
{
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
elm["s-hn"] = hostTagName;
|
|
904
|
-
{
|
|
905
|
-
if (newVNode2.$flags$ & (2 /* isSlotFallback */ | 1 /* isSlotReference */)) {
|
|
906
|
-
elm["s-sr"] = true;
|
|
907
|
-
elm["s-cr"] = contentRef;
|
|
908
|
-
elm["s-sn"] = newVNode2.$name$ || "";
|
|
909
|
-
elm["s-rf"] = (_a = newVNode2.$attrs$) == null ? void 0 : _a.ref;
|
|
910
|
-
oldVNode = oldParentVNode && oldParentVNode.$children$ && oldParentVNode.$children$[childIndex];
|
|
911
|
-
if (oldVNode && oldVNode.$tag$ === newVNode2.$tag$ && oldParentVNode.$elm$) {
|
|
912
|
-
{
|
|
913
|
-
putBackInOriginalLocation(oldParentVNode.$elm$, false);
|
|
1279
|
+
if (childRenderNode.$tag$ === "slot") {
|
|
1280
|
+
childRenderNode.$name$ = childRenderNode.$elm$["s-sn"] || childRenderNode.$elm$["name"] || null;
|
|
1281
|
+
if (childRenderNode.$children$) {
|
|
1282
|
+
childRenderNode.$flags$ |= 2 /* isSlotFallback */;
|
|
1283
|
+
if (!childRenderNode.$elm$.childNodes.length) {
|
|
1284
|
+
childRenderNode.$children$.forEach((c) => {
|
|
1285
|
+
childRenderNode.$elm$.appendChild(c.$elm$);
|
|
1286
|
+
});
|
|
914
1287
|
}
|
|
1288
|
+
} else {
|
|
1289
|
+
childRenderNode.$flags$ |= 1 /* isSlotReference */;
|
|
915
1290
|
}
|
|
916
1291
|
}
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
let node = parentElm;
|
|
925
|
-
while (node = node.nextSibling) {
|
|
926
|
-
if (node && node["s-sn"] === parentElm["s-sn"] && node["s-sh"] === hostTagName) {
|
|
927
|
-
oldSlotChildNodes.push(node);
|
|
1292
|
+
if (orgLocationNode && orgLocationNode.isConnected) {
|
|
1293
|
+
if (orgLocationNode.parentElement.shadowRoot && orgLocationNode["s-en"] === "") {
|
|
1294
|
+
orgLocationNode.parentNode.insertBefore(node, orgLocationNode.nextSibling);
|
|
1295
|
+
}
|
|
1296
|
+
orgLocationNode.parentNode.removeChild(orgLocationNode);
|
|
1297
|
+
if (!shadowRoot) {
|
|
1298
|
+
node["s-oo"] = parseInt(childRenderNode.$nodeId$);
|
|
928
1299
|
}
|
|
929
1300
|
}
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
const childNode = oldSlotChildNodes[i2];
|
|
933
|
-
if (childNode["s-hn"] !== hostTagName && childNode["s-ol"]) {
|
|
934
|
-
insertBefore(parentReferenceNode(childNode), childNode, referenceNode(childNode));
|
|
935
|
-
childNode["s-ol"].remove();
|
|
936
|
-
childNode["s-ol"] = void 0;
|
|
937
|
-
childNode["s-sh"] = void 0;
|
|
938
|
-
checkSlotRelocate = true;
|
|
939
|
-
}
|
|
940
|
-
if (recursive) {
|
|
941
|
-
putBackInOriginalLocation(childNode, recursive);
|
|
1301
|
+
if (orgLocationNode && !orgLocationNode["s-id"]) {
|
|
1302
|
+
plt.$orgLocNodes$.delete(orgLocationId);
|
|
942
1303
|
}
|
|
943
1304
|
}
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
let
|
|
948
|
-
let
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
if (
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
1305
|
+
const hosts = [];
|
|
1306
|
+
const snLen = slottedNodes.length;
|
|
1307
|
+
let snIndex = 0;
|
|
1308
|
+
let slotGroup;
|
|
1309
|
+
let snGroupIdx;
|
|
1310
|
+
let snGroupLen;
|
|
1311
|
+
let slottedItem;
|
|
1312
|
+
for (snIndex; snIndex < snLen; snIndex++) {
|
|
1313
|
+
slotGroup = slottedNodes[snIndex];
|
|
1314
|
+
if (!slotGroup || !slotGroup.length) continue;
|
|
1315
|
+
snGroupLen = slotGroup.length;
|
|
1316
|
+
snGroupIdx = 0;
|
|
1317
|
+
for (snGroupIdx; snGroupIdx < snGroupLen; snGroupIdx++) {
|
|
1318
|
+
slottedItem = slotGroup[snGroupIdx];
|
|
1319
|
+
if (!hosts[slottedItem.hostId]) {
|
|
1320
|
+
hosts[slottedItem.hostId] = plt.$orgLocNodes$.get(slottedItem.hostId);
|
|
958
1321
|
}
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
{
|
|
970
|
-
checkSlotFallbackVisibility = true;
|
|
971
|
-
if (elm["s-ol"]) {
|
|
972
|
-
elm["s-ol"].remove();
|
|
1322
|
+
if (!hosts[slottedItem.hostId]) continue;
|
|
1323
|
+
const hostEle = hosts[slottedItem.hostId];
|
|
1324
|
+
if (hostEle.shadowRoot && slottedItem.node.parentElement !== hostEle) {
|
|
1325
|
+
hostEle.appendChild(slottedItem.node);
|
|
1326
|
+
}
|
|
1327
|
+
if (!hostEle.shadowRoot || !shadowRoot) {
|
|
1328
|
+
if (!slottedItem.slot["s-cr"]) {
|
|
1329
|
+
slottedItem.slot["s-cr"] = hostEle["s-cr"];
|
|
1330
|
+
if (!slottedItem.slot["s-cr"] && hostEle.shadowRoot) {
|
|
1331
|
+
slottedItem.slot["s-cr"] = hostEle;
|
|
973
1332
|
} else {
|
|
974
|
-
|
|
1333
|
+
slottedItem.slot["s-cr"] = (hostEle.__childNodes || hostEle.childNodes)[0];
|
|
975
1334
|
}
|
|
976
1335
|
}
|
|
977
|
-
|
|
1336
|
+
addSlotRelocateNode(slottedItem.node, slottedItem.slot, false, slottedItem.node["s-oo"]);
|
|
1337
|
+
if (((_c = slottedItem.node.parentElement) == null ? void 0 : _c.shadowRoot) && slottedItem.node["getAttribute"] && slottedItem.node.getAttribute("slot")) {
|
|
1338
|
+
slottedItem.node.removeAttribute("slot");
|
|
1339
|
+
}
|
|
1340
|
+
}
|
|
1341
|
+
}
|
|
1342
|
+
}
|
|
1343
|
+
if (scopeId2 && slotNodes.length) {
|
|
1344
|
+
slotNodes.forEach((slot) => {
|
|
1345
|
+
slot.$elm$.parentElement.classList.add(scopeId2 + "-s");
|
|
1346
|
+
});
|
|
1347
|
+
}
|
|
1348
|
+
if (shadowRoot) {
|
|
1349
|
+
let rnIdex = 0;
|
|
1350
|
+
const rnLen = shadowRootNodes.length;
|
|
1351
|
+
if (rnLen) {
|
|
1352
|
+
for (rnIdex; rnIdex < rnLen; rnIdex++) {
|
|
1353
|
+
const node = shadowRootNodes[rnIdex];
|
|
1354
|
+
if (node) {
|
|
1355
|
+
shadowRoot.appendChild(node);
|
|
1356
|
+
}
|
|
978
1357
|
}
|
|
1358
|
+
Array.from(hostElm.childNodes).forEach((node) => {
|
|
1359
|
+
if (typeof node["s-en"] !== "string" && typeof node["s-sn"] !== "string") {
|
|
1360
|
+
if (node.nodeType === 1 /* ElementNode */ && node.slot && node.hidden) {
|
|
1361
|
+
node.removeAttribute("hidden");
|
|
1362
|
+
} else if (node.nodeType === 8 /* CommentNode */ && !node.nodeValue || node.nodeType === 3 /* TextNode */ && !node.wholeText.trim()) {
|
|
1363
|
+
node.parentNode.removeChild(node);
|
|
1364
|
+
}
|
|
1365
|
+
}
|
|
1366
|
+
});
|
|
979
1367
|
}
|
|
980
1368
|
}
|
|
1369
|
+
hostRef.$hostElement$ = hostElm;
|
|
1370
|
+
endHydrate();
|
|
981
1371
|
};
|
|
982
|
-
var
|
|
983
|
-
let
|
|
984
|
-
let
|
|
985
|
-
let
|
|
986
|
-
let i2
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
for (i2 = oldStartIdx; i2 <= oldEndIdx; ++i2) {
|
|
1032
|
-
if (oldCh[i2] && oldCh[i2].$key$ !== null && oldCh[i2].$key$ === newStartVnode.$key$) {
|
|
1033
|
-
idxInOld = i2;
|
|
1034
|
-
break;
|
|
1372
|
+
var clientHydrate = (parentVNode, childRenderNodes, slotNodes, shadowRootNodes, hostElm, node, hostId, slottedNodes = []) => {
|
|
1373
|
+
let childNodeType;
|
|
1374
|
+
let childIdSplt;
|
|
1375
|
+
let childVNode;
|
|
1376
|
+
let i2;
|
|
1377
|
+
const scopeId2 = hostElm["s-sc"];
|
|
1378
|
+
if (node.nodeType === 1 /* ElementNode */) {
|
|
1379
|
+
childNodeType = node.getAttribute(HYDRATE_CHILD_ID);
|
|
1380
|
+
if (childNodeType) {
|
|
1381
|
+
childIdSplt = childNodeType.split(".");
|
|
1382
|
+
if (childIdSplt[0] === hostId || childIdSplt[0] === "0") {
|
|
1383
|
+
childVNode = createSimpleVNode({
|
|
1384
|
+
$flags$: 0,
|
|
1385
|
+
$hostId$: childIdSplt[0],
|
|
1386
|
+
$nodeId$: childIdSplt[1],
|
|
1387
|
+
$depth$: childIdSplt[2],
|
|
1388
|
+
$index$: childIdSplt[3],
|
|
1389
|
+
$tag$: node.tagName.toLowerCase(),
|
|
1390
|
+
$elm$: node,
|
|
1391
|
+
// If we don't add the initial classes to the VNode, the first `vdom-render.ts` patch
|
|
1392
|
+
// won't try to reconcile them. Classes set on the node will be blown away.
|
|
1393
|
+
$attrs$: { class: node.className || "" }
|
|
1394
|
+
});
|
|
1395
|
+
childRenderNodes.push(childVNode);
|
|
1396
|
+
node.removeAttribute(HYDRATE_CHILD_ID);
|
|
1397
|
+
if (!parentVNode.$children$) {
|
|
1398
|
+
parentVNode.$children$ = [];
|
|
1399
|
+
}
|
|
1400
|
+
if (scopeId2 && childIdSplt[0] === hostId) {
|
|
1401
|
+
node["s-si"] = scopeId2;
|
|
1402
|
+
childVNode.$attrs$.class += " " + scopeId2;
|
|
1403
|
+
}
|
|
1404
|
+
const slotName = childVNode.$elm$.getAttribute("s-sn");
|
|
1405
|
+
if (typeof slotName === "string") {
|
|
1406
|
+
if (childVNode.$tag$ === "slot-fb") {
|
|
1407
|
+
addSlot(
|
|
1408
|
+
slotName,
|
|
1409
|
+
childIdSplt[2],
|
|
1410
|
+
childVNode,
|
|
1411
|
+
node,
|
|
1412
|
+
parentVNode,
|
|
1413
|
+
childRenderNodes,
|
|
1414
|
+
slotNodes,
|
|
1415
|
+
shadowRootNodes,
|
|
1416
|
+
slottedNodes
|
|
1417
|
+
);
|
|
1418
|
+
if (scopeId2) {
|
|
1419
|
+
node.classList.add(scopeId2);
|
|
1420
|
+
}
|
|
1035
1421
|
}
|
|
1422
|
+
childVNode.$elm$["s-sn"] = slotName;
|
|
1423
|
+
childVNode.$elm$.removeAttribute("s-sn");
|
|
1036
1424
|
}
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
elmToMove = oldCh[idxInOld];
|
|
1040
|
-
if (elmToMove.$tag$ !== newStartVnode.$tag$) {
|
|
1041
|
-
node = createElm(oldCh && oldCh[newStartIdx], newVNode2, idxInOld, parentElm);
|
|
1042
|
-
} else {
|
|
1043
|
-
patch(elmToMove, newStartVnode, isInitialRender);
|
|
1044
|
-
oldCh[idxInOld] = void 0;
|
|
1045
|
-
node = elmToMove.$elm$;
|
|
1425
|
+
if (childVNode.$index$ !== void 0) {
|
|
1426
|
+
parentVNode.$children$[childVNode.$index$] = childVNode;
|
|
1046
1427
|
}
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
newStartVnode = newCh[++newStartIdx];
|
|
1051
|
-
}
|
|
1052
|
-
if (node) {
|
|
1053
|
-
{
|
|
1054
|
-
insertBefore(parentReferenceNode(oldStartVnode.$elm$), node, referenceNode(oldStartVnode.$elm$));
|
|
1428
|
+
parentVNode = childVNode;
|
|
1429
|
+
if (shadowRootNodes && childVNode.$depth$ === "0") {
|
|
1430
|
+
shadowRootNodes[childVNode.$index$] = childVNode.$elm$;
|
|
1055
1431
|
}
|
|
1056
1432
|
}
|
|
1057
1433
|
}
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
}
|
|
1071
|
-
};
|
|
1072
|
-
var isSameVnode = (leftVNode, rightVNode, isInitialRender = false) => {
|
|
1073
|
-
if (leftVNode.$tag$ === rightVNode.$tag$) {
|
|
1074
|
-
if (leftVNode.$tag$ === "slot") {
|
|
1075
|
-
if (
|
|
1076
|
-
// The component gets hydrated and no VDOM has been initialized.
|
|
1077
|
-
// Here the comparison can't happen as $name$ property is not set for `leftNode`.
|
|
1078
|
-
"$nodeId$" in leftVNode && isInitialRender && // `leftNode` is not from type HTMLComment which would cause many
|
|
1079
|
-
// hydration comments to be removed
|
|
1080
|
-
leftVNode.$elm$.nodeType !== 8
|
|
1081
|
-
) {
|
|
1082
|
-
return false;
|
|
1083
|
-
}
|
|
1084
|
-
return leftVNode.$name$ === rightVNode.$name$;
|
|
1085
|
-
}
|
|
1086
|
-
if (!isInitialRender) {
|
|
1087
|
-
return leftVNode.$key$ === rightVNode.$key$;
|
|
1088
|
-
}
|
|
1089
|
-
return true;
|
|
1090
|
-
}
|
|
1091
|
-
return false;
|
|
1092
|
-
};
|
|
1093
|
-
var referenceNode = (node) => {
|
|
1094
|
-
return node && node["s-ol"] || node;
|
|
1095
|
-
};
|
|
1096
|
-
var parentReferenceNode = (node) => (node["s-ol"] ? node["s-ol"] : node).parentNode;
|
|
1097
|
-
var patch = (oldVNode, newVNode2, isInitialRender = false) => {
|
|
1098
|
-
const elm = newVNode2.$elm$ = oldVNode.$elm$;
|
|
1099
|
-
const oldChildren = oldVNode.$children$;
|
|
1100
|
-
const newChildren = newVNode2.$children$;
|
|
1101
|
-
const tag = newVNode2.$tag$;
|
|
1102
|
-
const text = newVNode2.$text$;
|
|
1103
|
-
let defaultHolder;
|
|
1104
|
-
if (text === null) {
|
|
1105
|
-
{
|
|
1106
|
-
isSvgMode = tag === "svg" ? true : tag === "foreignObject" ? false : isSvgMode;
|
|
1107
|
-
}
|
|
1108
|
-
{
|
|
1109
|
-
if (tag === "slot" && !useNativeShadowDom) ; else {
|
|
1110
|
-
updateElement(oldVNode, newVNode2, isSvgMode);
|
|
1111
|
-
}
|
|
1112
|
-
}
|
|
1113
|
-
if (oldChildren !== null && newChildren !== null) {
|
|
1114
|
-
updateChildren(elm, oldChildren, newVNode2, newChildren, isInitialRender);
|
|
1115
|
-
} else if (newChildren !== null) {
|
|
1116
|
-
if (oldVNode.$text$ !== null) {
|
|
1117
|
-
elm.textContent = "";
|
|
1434
|
+
if (node.shadowRoot) {
|
|
1435
|
+
for (i2 = node.shadowRoot.childNodes.length - 1; i2 >= 0; i2--) {
|
|
1436
|
+
clientHydrate(
|
|
1437
|
+
parentVNode,
|
|
1438
|
+
childRenderNodes,
|
|
1439
|
+
slotNodes,
|
|
1440
|
+
shadowRootNodes,
|
|
1441
|
+
hostElm,
|
|
1442
|
+
node.shadowRoot.childNodes[i2],
|
|
1443
|
+
hostId,
|
|
1444
|
+
slottedNodes
|
|
1445
|
+
);
|
|
1118
1446
|
}
|
|
1119
|
-
addVnodes(elm, null, newVNode2, newChildren, 0, newChildren.length - 1);
|
|
1120
|
-
} else if (
|
|
1121
|
-
// don't do this on initial render as it can cause non-hydrated content to be removed
|
|
1122
|
-
!isInitialRender && BUILD.updatable && oldChildren !== null
|
|
1123
|
-
) {
|
|
1124
|
-
removeVnodes(oldChildren, 0, oldChildren.length - 1);
|
|
1125
1447
|
}
|
|
1126
|
-
|
|
1127
|
-
|
|
1448
|
+
const nonShadowNodes = node.__childNodes || node.childNodes;
|
|
1449
|
+
for (i2 = nonShadowNodes.length - 1; i2 >= 0; i2--) {
|
|
1450
|
+
clientHydrate(
|
|
1451
|
+
parentVNode,
|
|
1452
|
+
childRenderNodes,
|
|
1453
|
+
slotNodes,
|
|
1454
|
+
shadowRootNodes,
|
|
1455
|
+
hostElm,
|
|
1456
|
+
nonShadowNodes[i2],
|
|
1457
|
+
hostId,
|
|
1458
|
+
slottedNodes
|
|
1459
|
+
);
|
|
1128
1460
|
}
|
|
1129
|
-
} else if (
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1461
|
+
} else if (node.nodeType === 8 /* CommentNode */) {
|
|
1462
|
+
childIdSplt = node.nodeValue.split(".");
|
|
1463
|
+
if (childIdSplt[1] === hostId || childIdSplt[1] === "0") {
|
|
1464
|
+
childNodeType = childIdSplt[0];
|
|
1465
|
+
childVNode = createSimpleVNode({
|
|
1466
|
+
$hostId$: childIdSplt[1],
|
|
1467
|
+
$nodeId$: childIdSplt[2],
|
|
1468
|
+
$depth$: childIdSplt[3],
|
|
1469
|
+
$index$: childIdSplt[4] || "0",
|
|
1470
|
+
$elm$: node,
|
|
1471
|
+
$attrs$: null,
|
|
1472
|
+
$children$: null,
|
|
1473
|
+
$key$: null,
|
|
1474
|
+
$name$: null,
|
|
1475
|
+
$tag$: null,
|
|
1476
|
+
$text$: null
|
|
1477
|
+
});
|
|
1478
|
+
if (childNodeType === TEXT_NODE_ID) {
|
|
1479
|
+
childVNode.$elm$ = findCorrespondingNode(node, 3 /* TextNode */);
|
|
1480
|
+
if (childVNode.$elm$ && childVNode.$elm$.nodeType === 3 /* TextNode */) {
|
|
1481
|
+
childVNode.$text$ = childVNode.$elm$.textContent;
|
|
1482
|
+
childRenderNodes.push(childVNode);
|
|
1483
|
+
node.remove();
|
|
1484
|
+
if (hostId === childVNode.$hostId$) {
|
|
1485
|
+
if (!parentVNode.$children$) {
|
|
1486
|
+
parentVNode.$children$ = [];
|
|
1154
1487
|
}
|
|
1488
|
+
parentVNode.$children$[childVNode.$index$] = childVNode;
|
|
1489
|
+
}
|
|
1490
|
+
if (shadowRootNodes && childVNode.$depth$ === "0") {
|
|
1491
|
+
shadowRootNodes[childVNode.$index$] = childVNode.$elm$;
|
|
1492
|
+
}
|
|
1493
|
+
}
|
|
1494
|
+
} else if (childNodeType === COMMENT_NODE_ID) {
|
|
1495
|
+
childVNode.$elm$ = findCorrespondingNode(node, 8 /* CommentNode */);
|
|
1496
|
+
if (childVNode.$elm$ && childVNode.$elm$.nodeType === 8 /* CommentNode */) {
|
|
1497
|
+
childRenderNodes.push(childVNode);
|
|
1498
|
+
node.remove();
|
|
1499
|
+
}
|
|
1500
|
+
} else if (childVNode.$hostId$ === hostId) {
|
|
1501
|
+
if (childNodeType === SLOT_NODE_ID) {
|
|
1502
|
+
const slotName = node["s-sn"] = childIdSplt[5] || "";
|
|
1503
|
+
addSlot(
|
|
1504
|
+
slotName,
|
|
1505
|
+
childIdSplt[2],
|
|
1506
|
+
childVNode,
|
|
1507
|
+
node,
|
|
1508
|
+
parentVNode,
|
|
1509
|
+
childRenderNodes,
|
|
1510
|
+
slotNodes,
|
|
1511
|
+
shadowRootNodes,
|
|
1512
|
+
slottedNodes
|
|
1513
|
+
);
|
|
1514
|
+
} else if (childNodeType === CONTENT_REF_ID) {
|
|
1515
|
+
if (shadowRootNodes) {
|
|
1516
|
+
node.remove();
|
|
1517
|
+
} else {
|
|
1518
|
+
hostElm["s-cr"] = node;
|
|
1519
|
+
node["s-cn"] = true;
|
|
1155
1520
|
}
|
|
1156
1521
|
}
|
|
1157
1522
|
}
|
|
1158
|
-
|
|
1523
|
+
}
|
|
1524
|
+
} else if (parentVNode && parentVNode.$tag$ === "style") {
|
|
1525
|
+
const vnode = newVNode(null, node.textContent);
|
|
1526
|
+
vnode.$elm$ = node;
|
|
1527
|
+
vnode.$index$ = "0";
|
|
1528
|
+
parentVNode.$children$ = [vnode];
|
|
1529
|
+
} else {
|
|
1530
|
+
if (node.nodeType === 3 /* TextNode */ && !node.wholeText.trim() && !node["s-nr"]) {
|
|
1531
|
+
node.remove();
|
|
1159
1532
|
}
|
|
1160
1533
|
}
|
|
1534
|
+
return parentVNode;
|
|
1161
1535
|
};
|
|
1162
|
-
var
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
if (
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
for (j = hostContentNodes.length - 1; j >= 0; j--) {
|
|
1173
|
-
node = hostContentNodes[j];
|
|
1174
|
-
if (!node["s-cn"] && !node["s-nr"] && node["s-hn"] !== childNode["s-hn"] && (!BUILD.experimentalSlotFixes )) {
|
|
1175
|
-
if (isNodeLocatedInSlot(node, slotName)) {
|
|
1176
|
-
let relocateNodeData = relocateNodes.find((r) => r.$nodeToRelocate$ === node);
|
|
1177
|
-
checkSlotFallbackVisibility = true;
|
|
1178
|
-
node["s-sn"] = node["s-sn"] || slotName;
|
|
1179
|
-
if (relocateNodeData) {
|
|
1180
|
-
relocateNodeData.$nodeToRelocate$["s-sh"] = childNode["s-hn"];
|
|
1181
|
-
relocateNodeData.$slotRefNode$ = childNode;
|
|
1182
|
-
} else {
|
|
1183
|
-
node["s-sh"] = childNode["s-hn"];
|
|
1184
|
-
relocateNodes.push({
|
|
1185
|
-
$slotRefNode$: childNode,
|
|
1186
|
-
$nodeToRelocate$: node
|
|
1187
|
-
});
|
|
1188
|
-
}
|
|
1189
|
-
if (node["s-sr"]) {
|
|
1190
|
-
relocateNodes.map((relocateNode) => {
|
|
1191
|
-
if (isNodeLocatedInSlot(relocateNode.$nodeToRelocate$, node["s-sn"])) {
|
|
1192
|
-
relocateNodeData = relocateNodes.find((r) => r.$nodeToRelocate$ === node);
|
|
1193
|
-
if (relocateNodeData && !relocateNode.$slotRefNode$) {
|
|
1194
|
-
relocateNode.$slotRefNode$ = relocateNodeData.$slotRefNode$;
|
|
1195
|
-
}
|
|
1196
|
-
}
|
|
1197
|
-
});
|
|
1198
|
-
}
|
|
1199
|
-
} else if (!relocateNodes.some((r) => r.$nodeToRelocate$ === node)) {
|
|
1200
|
-
relocateNodes.push({
|
|
1201
|
-
$nodeToRelocate$: node
|
|
1202
|
-
});
|
|
1203
|
-
}
|
|
1204
|
-
}
|
|
1536
|
+
var initializeDocumentHydrate = (node, orgLocNodes) => {
|
|
1537
|
+
if (node.nodeType === 1 /* ElementNode */) {
|
|
1538
|
+
const componentId = node[HYDRATE_ID] || node.getAttribute(HYDRATE_ID);
|
|
1539
|
+
if (componentId) {
|
|
1540
|
+
orgLocNodes.set(componentId, node);
|
|
1541
|
+
}
|
|
1542
|
+
let i2 = 0;
|
|
1543
|
+
if (node.shadowRoot) {
|
|
1544
|
+
for (; i2 < node.shadowRoot.childNodes.length; i2++) {
|
|
1545
|
+
initializeDocumentHydrate(node.shadowRoot.childNodes[i2], orgLocNodes);
|
|
1205
1546
|
}
|
|
1206
1547
|
}
|
|
1207
|
-
|
|
1208
|
-
|
|
1548
|
+
const nonShadowNodes = node.__childNodes || node.childNodes;
|
|
1549
|
+
for (i2 = 0; i2 < nonShadowNodes.length; i2++) {
|
|
1550
|
+
initializeDocumentHydrate(nonShadowNodes[i2], orgLocNodes);
|
|
1551
|
+
}
|
|
1552
|
+
} else if (node.nodeType === 8 /* CommentNode */) {
|
|
1553
|
+
const childIdSplt = node.nodeValue.split(".");
|
|
1554
|
+
if (childIdSplt[0] === ORG_LOCATION_ID) {
|
|
1555
|
+
orgLocNodes.set(childIdSplt[1] + "." + childIdSplt[2], node);
|
|
1556
|
+
node.nodeValue = "";
|
|
1557
|
+
node["s-en"] = childIdSplt[3];
|
|
1209
1558
|
}
|
|
1210
1559
|
}
|
|
1211
1560
|
};
|
|
1212
|
-
var
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1561
|
+
var createSimpleVNode = (vnode) => {
|
|
1562
|
+
const defaultVNode = {
|
|
1563
|
+
$flags$: 0,
|
|
1564
|
+
$hostId$: null,
|
|
1565
|
+
$nodeId$: null,
|
|
1566
|
+
$depth$: null,
|
|
1567
|
+
$index$: "0",
|
|
1568
|
+
$elm$: null,
|
|
1569
|
+
$attrs$: null,
|
|
1570
|
+
$children$: null,
|
|
1571
|
+
$key$: null,
|
|
1572
|
+
$name$: null,
|
|
1573
|
+
$tag$: null,
|
|
1574
|
+
$text$: null
|
|
1575
|
+
};
|
|
1576
|
+
return { ...defaultVNode, ...vnode };
|
|
1577
|
+
};
|
|
1578
|
+
function addSlot(slotName, slotId, childVNode, node, parentVNode, childRenderNodes, slotNodes, shadowRootNodes, slottedNodes) {
|
|
1579
|
+
node["s-sr"] = true;
|
|
1580
|
+
childVNode.$name$ = slotName || null;
|
|
1581
|
+
childVNode.$tag$ = "slot";
|
|
1582
|
+
const parentNodeId = (parentVNode == null ? void 0 : parentVNode.$elm$) ? parentVNode.$elm$["s-id"] || parentVNode.$elm$.getAttribute("s-id") : "";
|
|
1583
|
+
if (shadowRootNodes && win.document) {
|
|
1584
|
+
const slot = childVNode.$elm$ = win.document.createElement(childVNode.$tag$);
|
|
1585
|
+
if (childVNode.$name$) {
|
|
1586
|
+
childVNode.$elm$.setAttribute("name", slotName);
|
|
1216
1587
|
}
|
|
1217
|
-
if (
|
|
1218
|
-
|
|
1588
|
+
if (parentVNode.$elm$.shadowRoot && parentNodeId && parentNodeId !== childVNode.$hostId$) {
|
|
1589
|
+
internalCall(parentVNode.$elm$, "insertBefore")(slot, internalCall(parentVNode.$elm$, "children")[0]);
|
|
1590
|
+
} else {
|
|
1591
|
+
internalCall(internalCall(node, "parentNode"), "insertBefore")(slot, node);
|
|
1592
|
+
}
|
|
1593
|
+
addSlottedNodes(slottedNodes, slotId, slotName, node, childVNode.$hostId$);
|
|
1594
|
+
node.remove();
|
|
1595
|
+
if (childVNode.$depth$ === "0") {
|
|
1596
|
+
shadowRootNodes[childVNode.$index$] = childVNode.$elm$;
|
|
1597
|
+
}
|
|
1598
|
+
} else {
|
|
1599
|
+
const slot = childVNode.$elm$;
|
|
1600
|
+
const shouldMove = parentNodeId && parentNodeId !== childVNode.$hostId$ && parentVNode.$elm$.shadowRoot;
|
|
1601
|
+
addSlottedNodes(slottedNodes, slotId, slotName, node, shouldMove ? parentNodeId : childVNode.$hostId$);
|
|
1602
|
+
patchSlotNode(node);
|
|
1603
|
+
if (shouldMove) {
|
|
1604
|
+
parentVNode.$elm$.insertBefore(slot, parentVNode.$elm$.children[0]);
|
|
1219
1605
|
}
|
|
1220
|
-
return false;
|
|
1221
|
-
}
|
|
1222
|
-
if (nodeToRelocate["s-sn"] === slotName) {
|
|
1223
|
-
return true;
|
|
1224
1606
|
}
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
vNode.$attrs$ && vNode.$attrs$.ref && vNode.$attrs$.ref(null);
|
|
1230
|
-
vNode.$children$ && vNode.$children$.map(nullifyVNodeRefs);
|
|
1607
|
+
childRenderNodes.push(childVNode);
|
|
1608
|
+
slotNodes.push(childVNode);
|
|
1609
|
+
if (!parentVNode.$children$) {
|
|
1610
|
+
parentVNode.$children$ = [];
|
|
1231
1611
|
}
|
|
1612
|
+
parentVNode.$children$[childVNode.$index$] = childVNode;
|
|
1613
|
+
}
|
|
1614
|
+
var addSlottedNodes = (slottedNodes, slotNodeId, slotName, slotNode, hostId) => {
|
|
1615
|
+
var _a, _b;
|
|
1616
|
+
let slottedNode = slotNode.nextSibling;
|
|
1617
|
+
slottedNodes[slotNodeId] = slottedNodes[slotNodeId] || [];
|
|
1618
|
+
if (!slottedNode || ((_a = slottedNode.nodeValue) == null ? void 0 : _a.startsWith(SLOT_NODE_ID + "."))) return;
|
|
1619
|
+
do {
|
|
1620
|
+
if (slottedNode && ((slottedNode["getAttribute"] && slottedNode.getAttribute("slot") || slottedNode["s-sn"]) === slotName || slotName === "" && !slottedNode["s-sn"] && (!slottedNode["getAttribute"] || !slottedNode.getAttribute("slot")) && (slottedNode.nodeType === 8 /* CommentNode */ || slottedNode.nodeType === 3 /* TextNode */))) {
|
|
1621
|
+
slottedNode["s-sn"] = slotName;
|
|
1622
|
+
slottedNodes[slotNodeId].push({ slot: slotNode, node: slottedNode, hostId });
|
|
1623
|
+
}
|
|
1624
|
+
slottedNode = slottedNode == null ? void 0 : slottedNode.nextSibling;
|
|
1625
|
+
} while (slottedNode && !((_b = slottedNode.nodeValue) == null ? void 0 : _b.startsWith(SLOT_NODE_ID + ".")));
|
|
1626
|
+
};
|
|
1627
|
+
var findCorrespondingNode = (node, type) => {
|
|
1628
|
+
let sibling = node;
|
|
1629
|
+
do {
|
|
1630
|
+
sibling = sibling.nextSibling;
|
|
1631
|
+
} while (sibling && (sibling.nodeType !== type || !sibling.nodeValue));
|
|
1632
|
+
return sibling;
|
|
1633
|
+
};
|
|
1634
|
+
var createSupportsRuleRe = (selector) => {
|
|
1635
|
+
const safeSelector2 = escapeRegExpSpecialCharacters(selector);
|
|
1636
|
+
return new RegExp(
|
|
1637
|
+
// First capture group: match any context before the selector that's not inside @supports selector()
|
|
1638
|
+
// Using negative lookahead to avoid matching inside @supports selector(...) condition
|
|
1639
|
+
`(^|[^@]|@(?!supports\\s+selector\\s*\\([^{]*?${safeSelector2}))(${safeSelector2}\\b)`,
|
|
1640
|
+
"g"
|
|
1641
|
+
);
|
|
1232
1642
|
};
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
var findScopeIds = (element) => {
|
|
1241
|
-
const scopeIds = [];
|
|
1242
|
-
if (element) {
|
|
1243
|
-
scopeIds.push(
|
|
1244
|
-
...element["s-scs"] || [],
|
|
1245
|
-
element["s-si"],
|
|
1246
|
-
element["s-sc"],
|
|
1247
|
-
...findScopeIds(element.parentElement)
|
|
1248
|
-
);
|
|
1643
|
+
createSupportsRuleRe("::slotted");
|
|
1644
|
+
createSupportsRuleRe(":host");
|
|
1645
|
+
createSupportsRuleRe(":host-context");
|
|
1646
|
+
var parsePropertyValue = (propValue, propType, isFormAssociated) => {
|
|
1647
|
+
if (typeof propValue === "string" && propValue.startsWith(SERIALIZED_PREFIX)) {
|
|
1648
|
+
propValue = deserializeProperty(propValue);
|
|
1649
|
+
return propValue;
|
|
1249
1650
|
}
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
if (element && parent && element.nodeType === 1 /* ElementNode */) {
|
|
1255
|
-
const scopeIds = new Set(findScopeIds(parent).filter(Boolean));
|
|
1256
|
-
if (scopeIds.size) {
|
|
1257
|
-
(_a = element.classList) == null ? void 0 : _a.add(...element["s-scs"] = Array.from(scopeIds));
|
|
1258
|
-
if (element["s-ol"] || iterateChildNodes) {
|
|
1259
|
-
for (const childNode of Array.from(element.__childNodes || element.childNodes)) {
|
|
1260
|
-
updateElementScopeIds(childNode, element, true);
|
|
1261
|
-
}
|
|
1262
|
-
}
|
|
1651
|
+
if (typeof propValue === "string" && (propType & 16 /* Unknown */ || propType & 8 /* Any */) && (propValue.startsWith("{") && propValue.endsWith("}") || propValue.startsWith("[") && propValue.endsWith("]"))) {
|
|
1652
|
+
try {
|
|
1653
|
+
return JSON.parse(propValue);
|
|
1654
|
+
} catch (e) {
|
|
1263
1655
|
}
|
|
1264
1656
|
}
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
const cmpMeta = hostRef.$cmpMeta$;
|
|
1270
|
-
const oldVNode = hostRef.$vnode$ || newVNode(null, null);
|
|
1271
|
-
const rootVnode = isHost(renderFnResults) ? renderFnResults : h(null, null, renderFnResults);
|
|
1272
|
-
hostTagName = hostElm.tagName;
|
|
1273
|
-
if (cmpMeta.$attrsToReflect$) {
|
|
1274
|
-
rootVnode.$attrs$ = rootVnode.$attrs$ || {};
|
|
1275
|
-
cmpMeta.$attrsToReflect$.map(
|
|
1276
|
-
([propName, attribute]) => rootVnode.$attrs$[attribute] = hostElm[propName]
|
|
1277
|
-
);
|
|
1278
|
-
}
|
|
1279
|
-
if (isInitialLoad && rootVnode.$attrs$) {
|
|
1280
|
-
for (const key of Object.keys(rootVnode.$attrs$)) {
|
|
1281
|
-
if (hostElm.hasAttribute(key) && !["key", "ref", "style", "class"].includes(key)) {
|
|
1282
|
-
rootVnode.$attrs$[key] = hostElm[key];
|
|
1657
|
+
if (propValue != null && !isComplexType(propValue)) {
|
|
1658
|
+
if (propType & 4 /* Boolean */) {
|
|
1659
|
+
{
|
|
1660
|
+
return propValue === "false" ? false : propValue === "" || !!propValue;
|
|
1283
1661
|
}
|
|
1284
1662
|
}
|
|
1663
|
+
if (propType & 2 /* Number */) {
|
|
1664
|
+
return typeof propValue === "string" ? parseFloat(propValue) : typeof propValue === "number" ? propValue : NaN;
|
|
1665
|
+
}
|
|
1666
|
+
if (propType & 1 /* String */) {
|
|
1667
|
+
return String(propValue);
|
|
1668
|
+
}
|
|
1669
|
+
return propValue;
|
|
1285
1670
|
}
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
|
|
1294
|
-
|
|
1295
|
-
|
|
1296
|
-
|
|
1671
|
+
return propValue;
|
|
1672
|
+
};
|
|
1673
|
+
var getElement = (ref) => {
|
|
1674
|
+
var _a;
|
|
1675
|
+
return (_a = getHostRef(ref)) == null ? void 0 : _a.$hostElement$ ;
|
|
1676
|
+
};
|
|
1677
|
+
|
|
1678
|
+
// src/runtime/event-emitter.ts
|
|
1679
|
+
var createEvent = (ref, name, flags) => {
|
|
1680
|
+
const elm = getElement(ref);
|
|
1681
|
+
return {
|
|
1682
|
+
emit: (detail) => {
|
|
1683
|
+
return emitEvent(elm, name, {
|
|
1684
|
+
bubbles: !!(flags & 4 /* Bubbles */),
|
|
1685
|
+
composed: !!(flags & 2 /* Composed */),
|
|
1686
|
+
cancelable: !!(flags & 1 /* Cancellable */),
|
|
1687
|
+
detail
|
|
1688
|
+
});
|
|
1689
|
+
}
|
|
1690
|
+
};
|
|
1691
|
+
};
|
|
1692
|
+
var emitEvent = (elm, name, opts) => {
|
|
1693
|
+
const ev = plt.ce(name, opts);
|
|
1694
|
+
elm.dispatchEvent(ev);
|
|
1695
|
+
return ev;
|
|
1696
|
+
};
|
|
1697
|
+
var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRender) => {
|
|
1698
|
+
if (oldValue === newValue) {
|
|
1699
|
+
return;
|
|
1297
1700
|
}
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1701
|
+
let isProp = isMemberInElement(elm, memberName);
|
|
1702
|
+
let ln = memberName.toLowerCase();
|
|
1703
|
+
if (memberName === "class") {
|
|
1704
|
+
const classList = elm.classList;
|
|
1705
|
+
const oldClasses = parseClassList(oldValue);
|
|
1706
|
+
let newClasses = parseClassList(newValue);
|
|
1707
|
+
if ((elm["s-si"] || elm["s-sc"]) && initialRender) {
|
|
1708
|
+
const scopeId2 = elm["s-sc"] || elm["s-si"];
|
|
1709
|
+
newClasses.push(scopeId2);
|
|
1710
|
+
oldClasses.forEach((c) => {
|
|
1711
|
+
if (c.startsWith(scopeId2)) newClasses.push(c);
|
|
1712
|
+
});
|
|
1713
|
+
newClasses = [...new Set(newClasses)].filter((c) => c);
|
|
1714
|
+
classList.add(...newClasses);
|
|
1715
|
+
} else {
|
|
1716
|
+
classList.remove(...oldClasses.filter((c) => c && !newClasses.includes(c)));
|
|
1717
|
+
classList.add(...newClasses.filter((c) => c && !oldClasses.includes(c)));
|
|
1718
|
+
}
|
|
1719
|
+
} else if (memberName === "style") {
|
|
1720
|
+
{
|
|
1721
|
+
for (const prop in oldValue) {
|
|
1722
|
+
if (!newValue || newValue[prop] == null) {
|
|
1723
|
+
if (prop.includes("-")) {
|
|
1724
|
+
elm.style.removeProperty(prop);
|
|
1725
|
+
} else {
|
|
1726
|
+
elm.style[prop] = "";
|
|
1727
|
+
}
|
|
1309
1728
|
}
|
|
1310
1729
|
}
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
if (
|
|
1315
|
-
|
|
1316
|
-
let insertBeforeNode = slotRefNode.nextSibling;
|
|
1317
|
-
{
|
|
1318
|
-
let orgLocationNode = (_a = nodeToRelocate["s-ol"]) == null ? void 0 : _a.previousSibling;
|
|
1319
|
-
while (orgLocationNode) {
|
|
1320
|
-
let refNode = (_b = orgLocationNode["s-nr"]) != null ? _b : null;
|
|
1321
|
-
if (refNode && refNode["s-sn"] === nodeToRelocate["s-sn"] && parentNodeRef === refNode.parentNode) {
|
|
1322
|
-
refNode = refNode.nextSibling;
|
|
1323
|
-
while (refNode === nodeToRelocate || (refNode == null ? void 0 : refNode["s-sr"])) {
|
|
1324
|
-
refNode = refNode == null ? void 0 : refNode.nextSibling;
|
|
1325
|
-
}
|
|
1326
|
-
if (!refNode || !refNode["s-nr"]) {
|
|
1327
|
-
insertBeforeNode = refNode;
|
|
1328
|
-
break;
|
|
1329
|
-
}
|
|
1330
|
-
}
|
|
1331
|
-
orgLocationNode = orgLocationNode.previousSibling;
|
|
1332
|
-
}
|
|
1333
|
-
}
|
|
1334
|
-
if (!insertBeforeNode && parentNodeRef !== nodeToRelocate.parentNode || nodeToRelocate.nextSibling !== insertBeforeNode) {
|
|
1335
|
-
if (nodeToRelocate !== insertBeforeNode) {
|
|
1336
|
-
if (!nodeToRelocate["s-hn"] && nodeToRelocate["s-ol"]) {
|
|
1337
|
-
nodeToRelocate["s-hn"] = nodeToRelocate["s-ol"].parentNode.nodeName;
|
|
1338
|
-
}
|
|
1339
|
-
insertBefore(parentNodeRef, nodeToRelocate, insertBeforeNode);
|
|
1340
|
-
if (nodeToRelocate.nodeType === 1 /* ElementNode */) {
|
|
1341
|
-
nodeToRelocate.hidden = (_c = nodeToRelocate["s-ih"]) != null ? _c : false;
|
|
1342
|
-
}
|
|
1343
|
-
}
|
|
1344
|
-
}
|
|
1345
|
-
nodeToRelocate && typeof slotRefNode["s-rf"] === "function" && slotRefNode["s-rf"](nodeToRelocate);
|
|
1730
|
+
}
|
|
1731
|
+
for (const prop in newValue) {
|
|
1732
|
+
if (!oldValue || newValue[prop] !== oldValue[prop]) {
|
|
1733
|
+
if (prop.includes("-")) {
|
|
1734
|
+
elm.style.setProperty(prop, newValue[prop]);
|
|
1346
1735
|
} else {
|
|
1347
|
-
|
|
1348
|
-
if (isInitialLoad) {
|
|
1349
|
-
nodeToRelocate["s-ih"] = (_d = nodeToRelocate.hidden) != null ? _d : false;
|
|
1350
|
-
}
|
|
1351
|
-
nodeToRelocate.hidden = true;
|
|
1352
|
-
}
|
|
1736
|
+
elm.style[prop] = newValue[prop];
|
|
1353
1737
|
}
|
|
1354
1738
|
}
|
|
1355
1739
|
}
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
plt.$flags$ &= ~1 /* isTmpDisconnected */;
|
|
1360
|
-
relocateNodes.length = 0;
|
|
1361
|
-
}
|
|
1362
|
-
contentRef = void 0;
|
|
1363
|
-
};
|
|
1364
|
-
var patchChildSlotNodes = (elm) => {
|
|
1365
|
-
class FakeNodeList extends Array {
|
|
1366
|
-
item(n) {
|
|
1367
|
-
return this[n];
|
|
1368
|
-
}
|
|
1369
|
-
}
|
|
1370
|
-
let childNodesFn = globalThis.Node && Object.getOwnPropertyDescriptor(Node.prototype, "childNodes");
|
|
1371
|
-
if (!childNodesFn) {
|
|
1372
|
-
childNodesFn = Object.getOwnPropertyDescriptor(elm, "childNodes");
|
|
1373
|
-
}
|
|
1374
|
-
if (childNodesFn) Object.defineProperty(elm, "__childNodes", childNodesFn);
|
|
1375
|
-
let childrenFn = Object.getOwnPropertyDescriptor(Element.prototype, "children");
|
|
1376
|
-
if (!childrenFn) {
|
|
1377
|
-
childrenFn = Object.getOwnPropertyDescriptor(elm, "children");
|
|
1378
|
-
}
|
|
1379
|
-
if (childrenFn) Object.defineProperty(elm, "__children", childrenFn);
|
|
1380
|
-
Object.defineProperty(elm, "children", {
|
|
1381
|
-
get() {
|
|
1382
|
-
return this.childNodes.filter((n) => n.nodeType === 1);
|
|
1740
|
+
} else if (memberName === "key") ; else if (memberName === "ref") {
|
|
1741
|
+
if (newValue) {
|
|
1742
|
+
newValue(elm);
|
|
1383
1743
|
}
|
|
1384
|
-
})
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
|
|
1744
|
+
} else if ((!isProp ) && memberName[0] === "o" && memberName[1] === "n") {
|
|
1745
|
+
if (memberName[2] === "-") {
|
|
1746
|
+
memberName = memberName.slice(3);
|
|
1747
|
+
} else if (isMemberInElement(win, ln)) {
|
|
1748
|
+
memberName = ln.slice(2);
|
|
1749
|
+
} else {
|
|
1750
|
+
memberName = ln[2] + memberName.slice(3);
|
|
1388
1751
|
}
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
result.push(...nodes);
|
|
1398
|
-
return result;
|
|
1752
|
+
if (oldValue || newValue) {
|
|
1753
|
+
const capture = memberName.endsWith(CAPTURE_EVENT_SUFFIX);
|
|
1754
|
+
memberName = memberName.replace(CAPTURE_EVENT_REGEX, "");
|
|
1755
|
+
if (oldValue) {
|
|
1756
|
+
plt.rel(elm, memberName, oldValue, capture);
|
|
1757
|
+
}
|
|
1758
|
+
if (newValue) {
|
|
1759
|
+
plt.ael(elm, memberName, newValue, capture);
|
|
1399
1760
|
}
|
|
1400
|
-
return FakeNodeList.from(this.__childNodes);
|
|
1401
1761
|
}
|
|
1402
|
-
});
|
|
1403
|
-
};
|
|
1404
|
-
var addSlotRelocateNode = (newChild, slotNode, prepend, position) => {
|
|
1405
|
-
let slottedNodeLocation;
|
|
1406
|
-
if (newChild["s-ol"] && newChild["s-ol"].isConnected) {
|
|
1407
|
-
slottedNodeLocation = newChild["s-ol"];
|
|
1408
1762
|
} else {
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
|
|
1763
|
+
const isComplex = isComplexType(newValue);
|
|
1764
|
+
if ((isProp || isComplex && newValue !== null) && !isSvg) {
|
|
1765
|
+
try {
|
|
1766
|
+
if (!elm.tagName.includes("-")) {
|
|
1767
|
+
const n = newValue == null ? "" : newValue;
|
|
1768
|
+
if (memberName === "list") {
|
|
1769
|
+
isProp = false;
|
|
1770
|
+
} else if (oldValue == null || elm[memberName] != n) {
|
|
1771
|
+
if (typeof elm.__lookupSetter__(memberName) === "function") {
|
|
1772
|
+
elm[memberName] = n;
|
|
1773
|
+
} else {
|
|
1774
|
+
elm.setAttribute(memberName, n);
|
|
1775
|
+
}
|
|
1776
|
+
}
|
|
1777
|
+
} else if (elm[memberName] !== newValue) {
|
|
1778
|
+
elm[memberName] = newValue;
|
|
1779
|
+
}
|
|
1780
|
+
} catch (e) {
|
|
1781
|
+
}
|
|
1782
|
+
}
|
|
1783
|
+
let xlink = false;
|
|
1416
1784
|
{
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
if (n["s-nr"]) slotRelocateNodes.push(n);
|
|
1422
|
-
});
|
|
1423
|
-
slotRelocateNodes.sort((a, b) => {
|
|
1424
|
-
if (!a["s-oo"] || a["s-oo"] < b["s-oo"]) return -1;
|
|
1425
|
-
else if (!b["s-oo"] || b["s-oo"] < a["s-oo"]) return 1;
|
|
1426
|
-
return 0;
|
|
1427
|
-
});
|
|
1428
|
-
slotRelocateNodes.forEach((n) => appendMethod.call(parent, n));
|
|
1785
|
+
if (ln !== (ln = ln.replace(/^xlink\:?/, ""))) {
|
|
1786
|
+
memberName = ln;
|
|
1787
|
+
xlink = true;
|
|
1788
|
+
}
|
|
1429
1789
|
}
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
|
|
1435
|
-
|
|
1436
|
-
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
|
|
1790
|
+
if (newValue == null || newValue === false) {
|
|
1791
|
+
if (newValue !== false || elm.getAttribute(memberName) === "") {
|
|
1792
|
+
if (xlink) {
|
|
1793
|
+
elm.removeAttributeNS(XLINK_NS, memberName);
|
|
1794
|
+
} else {
|
|
1795
|
+
elm.removeAttribute(memberName);
|
|
1796
|
+
}
|
|
1797
|
+
}
|
|
1798
|
+
} else if ((!isProp || flags & 4 /* isHost */ || isSvg) && !isComplex && elm.nodeType === 1 /* ElementNode */) {
|
|
1799
|
+
newValue = newValue === true ? "" : newValue;
|
|
1800
|
+
if (xlink) {
|
|
1801
|
+
elm.setAttributeNS(XLINK_NS, memberName, newValue);
|
|
1802
|
+
} else {
|
|
1803
|
+
elm.setAttribute(memberName, newValue);
|
|
1804
|
+
}
|
|
1442
1805
|
}
|
|
1443
1806
|
}
|
|
1444
|
-
return result;
|
|
1445
1807
|
};
|
|
1446
|
-
var
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
};
|
|
1808
|
+
var parseClassListRegex = /\s/;
|
|
1809
|
+
var parseClassList = (value) => {
|
|
1810
|
+
if (typeof value === "object" && value && "baseVal" in value) {
|
|
1811
|
+
value = value.baseVal;
|
|
1451
1812
|
}
|
|
1452
|
-
|
|
1453
|
-
|
|
1454
|
-
{
|
|
1455
|
-
return () => {
|
|
1456
|
-
return;
|
|
1457
|
-
};
|
|
1813
|
+
if (!value || typeof value !== "string") {
|
|
1814
|
+
return [];
|
|
1458
1815
|
}
|
|
1816
|
+
return value.split(parseClassListRegex);
|
|
1459
1817
|
};
|
|
1818
|
+
var CAPTURE_EVENT_SUFFIX = "Capture";
|
|
1819
|
+
var CAPTURE_EVENT_REGEX = new RegExp(CAPTURE_EVENT_SUFFIX + "$");
|
|
1460
1820
|
|
|
1461
|
-
// src/runtime/
|
|
1462
|
-
var
|
|
1463
|
-
const
|
|
1464
|
-
const
|
|
1465
|
-
const
|
|
1466
|
-
|
|
1467
|
-
|
|
1468
|
-
|
|
1469
|
-
|
|
1470
|
-
|
|
1471
|
-
|
|
1472
|
-
|
|
1821
|
+
// src/runtime/vdom/update-element.ts
|
|
1822
|
+
var updateElement = (oldVnode, newVnode, isSvgMode2, isInitialRender) => {
|
|
1823
|
+
const elm = newVnode.$elm$.nodeType === 11 /* DocumentFragment */ && newVnode.$elm$.host ? newVnode.$elm$.host : newVnode.$elm$;
|
|
1824
|
+
const oldVnodeAttrs = oldVnode && oldVnode.$attrs$ || {};
|
|
1825
|
+
const newVnodeAttrs = newVnode.$attrs$ || {};
|
|
1826
|
+
{
|
|
1827
|
+
for (const memberName of sortedAttrNames(Object.keys(oldVnodeAttrs))) {
|
|
1828
|
+
if (!(memberName in newVnodeAttrs)) {
|
|
1829
|
+
setAccessor(
|
|
1830
|
+
elm,
|
|
1831
|
+
memberName,
|
|
1832
|
+
oldVnodeAttrs[memberName],
|
|
1833
|
+
void 0,
|
|
1834
|
+
isSvgMode2,
|
|
1835
|
+
newVnode.$flags$,
|
|
1836
|
+
isInitialRender
|
|
1837
|
+
);
|
|
1838
|
+
}
|
|
1839
|
+
}
|
|
1473
1840
|
}
|
|
1474
|
-
|
|
1475
|
-
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
|
|
1479
|
-
|
|
1480
|
-
|
|
1481
|
-
|
|
1482
|
-
|
|
1483
|
-
|
|
1484
|
-
|
|
1841
|
+
for (const memberName of sortedAttrNames(Object.keys(newVnodeAttrs))) {
|
|
1842
|
+
setAccessor(
|
|
1843
|
+
elm,
|
|
1844
|
+
memberName,
|
|
1845
|
+
oldVnodeAttrs[memberName],
|
|
1846
|
+
newVnodeAttrs[memberName],
|
|
1847
|
+
isSvgMode2,
|
|
1848
|
+
newVnode.$flags$,
|
|
1849
|
+
isInitialRender
|
|
1850
|
+
);
|
|
1851
|
+
}
|
|
1852
|
+
};
|
|
1853
|
+
function sortedAttrNames(attrNames) {
|
|
1854
|
+
return attrNames.includes("ref") ? (
|
|
1855
|
+
// we need to sort these to ensure that `'ref'` is the last attr
|
|
1856
|
+
[...attrNames.filter((attr) => attr !== "ref"), "ref"]
|
|
1857
|
+
) : (
|
|
1858
|
+
// no need to sort, return the original array
|
|
1859
|
+
attrNames
|
|
1485
1860
|
);
|
|
1486
|
-
|
|
1487
|
-
|
|
1488
|
-
|
|
1489
|
-
|
|
1490
|
-
|
|
1491
|
-
|
|
1492
|
-
|
|
1493
|
-
|
|
1494
|
-
|
|
1495
|
-
|
|
1496
|
-
|
|
1497
|
-
|
|
1498
|
-
|
|
1861
|
+
}
|
|
1862
|
+
|
|
1863
|
+
// src/runtime/vdom/vdom-render.ts
|
|
1864
|
+
var scopeId;
|
|
1865
|
+
var contentRef;
|
|
1866
|
+
var hostTagName;
|
|
1867
|
+
var useNativeShadowDom = false;
|
|
1868
|
+
var checkSlotFallbackVisibility = false;
|
|
1869
|
+
var checkSlotRelocate = false;
|
|
1870
|
+
var isSvgMode = false;
|
|
1871
|
+
var createElm = (oldParentVNode, newParentVNode, childIndex) => {
|
|
1872
|
+
var _a;
|
|
1873
|
+
const newVNode2 = newParentVNode.$children$[childIndex];
|
|
1874
|
+
let i2 = 0;
|
|
1875
|
+
let elm;
|
|
1876
|
+
let childNode;
|
|
1877
|
+
let oldVNode;
|
|
1878
|
+
if (!useNativeShadowDom) {
|
|
1879
|
+
checkSlotRelocate = true;
|
|
1880
|
+
if (newVNode2.$tag$ === "slot") {
|
|
1881
|
+
newVNode2.$flags$ |= newVNode2.$children$ ? (
|
|
1882
|
+
// slot element has fallback content
|
|
1883
|
+
// still create an element that "mocks" the slot element
|
|
1884
|
+
2 /* isSlotFallback */
|
|
1885
|
+
) : (
|
|
1886
|
+
// slot element does not have fallback content
|
|
1887
|
+
// create an html comment we'll use to always reference
|
|
1888
|
+
// where actual slot content should sit next to
|
|
1889
|
+
1 /* isSlotReference */
|
|
1890
|
+
);
|
|
1499
1891
|
}
|
|
1500
|
-
|
|
1501
|
-
|
|
1502
|
-
|
|
1892
|
+
}
|
|
1893
|
+
if (newVNode2.$text$ !== null) {
|
|
1894
|
+
elm = newVNode2.$elm$ = win.document.createTextNode(newVNode2.$text$);
|
|
1895
|
+
} else if (newVNode2.$flags$ & 1 /* isSlotReference */) {
|
|
1896
|
+
elm = newVNode2.$elm$ = win.document.createTextNode("");
|
|
1897
|
+
{
|
|
1898
|
+
updateElement(null, newVNode2, isSvgMode);
|
|
1899
|
+
}
|
|
1900
|
+
} else {
|
|
1901
|
+
if (!isSvgMode) {
|
|
1902
|
+
isSvgMode = newVNode2.$tag$ === "svg";
|
|
1903
|
+
}
|
|
1904
|
+
if (!win.document) {
|
|
1905
|
+
throw new Error(
|
|
1906
|
+
"You are trying to render a Stencil component in an environment that doesn't support the DOM. Make sure to populate the [`window`](https://developer.mozilla.org/en-US/docs/Web/API/Window/window) object before rendering a component."
|
|
1907
|
+
);
|
|
1908
|
+
}
|
|
1909
|
+
elm = newVNode2.$elm$ = win.document.createElementNS(
|
|
1910
|
+
isSvgMode ? SVG_NS : HTML_NS,
|
|
1911
|
+
!useNativeShadowDom && BUILD.slotRelocation && newVNode2.$flags$ & 2 /* isSlotFallback */ ? "slot-fb" : newVNode2.$tag$
|
|
1912
|
+
) ;
|
|
1913
|
+
if (isSvgMode && newVNode2.$tag$ === "foreignObject") {
|
|
1914
|
+
isSvgMode = false;
|
|
1915
|
+
}
|
|
1916
|
+
{
|
|
1917
|
+
updateElement(null, newVNode2, isSvgMode);
|
|
1918
|
+
}
|
|
1919
|
+
if (isDef(scopeId) && elm["s-si"] !== scopeId) {
|
|
1920
|
+
elm.classList.add(elm["s-si"] = scopeId);
|
|
1921
|
+
}
|
|
1922
|
+
if (newVNode2.$children$) {
|
|
1923
|
+
for (i2 = 0; i2 < newVNode2.$children$.length; ++i2) {
|
|
1924
|
+
childNode = createElm(oldParentVNode, newVNode2, i2);
|
|
1925
|
+
if (childNode) {
|
|
1926
|
+
elm.appendChild(childNode);
|
|
1927
|
+
}
|
|
1503
1928
|
}
|
|
1504
|
-
|
|
1505
|
-
|
|
1506
|
-
|
|
1929
|
+
}
|
|
1930
|
+
{
|
|
1931
|
+
if (newVNode2.$tag$ === "svg") {
|
|
1932
|
+
isSvgMode = false;
|
|
1933
|
+
} else if (elm.tagName === "foreignObject") {
|
|
1934
|
+
isSvgMode = true;
|
|
1507
1935
|
}
|
|
1508
1936
|
}
|
|
1509
|
-
plt.$orgLocNodes$.delete(orgLocationId);
|
|
1510
1937
|
}
|
|
1511
|
-
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
|
|
1515
|
-
|
|
1516
|
-
|
|
1517
|
-
|
|
1518
|
-
|
|
1519
|
-
|
|
1520
|
-
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
for (snGroupIdx; snGroupIdx < snGroupLen; snGroupIdx++) {
|
|
1524
|
-
slottedItem = slotGroup[snGroupIdx];
|
|
1525
|
-
if (!hosts[slottedItem.hostId]) {
|
|
1526
|
-
hosts[slottedItem.hostId] = plt.$orgLocNodes$.get(slottedItem.hostId);
|
|
1527
|
-
}
|
|
1528
|
-
if (!hosts[slottedItem.hostId]) continue;
|
|
1529
|
-
const hostEle = hosts[slottedItem.hostId];
|
|
1530
|
-
if (!hostEle.shadowRoot || !shadowRoot) {
|
|
1531
|
-
slottedItem.slot["s-cr"] = hostEle["s-cr"];
|
|
1532
|
-
if (!slottedItem.slot["s-cr"] && hostEle.shadowRoot) {
|
|
1533
|
-
slottedItem.slot["s-cr"] = hostEle;
|
|
1534
|
-
} else {
|
|
1535
|
-
const hostChildren = hostEle.__childNodes || hostEle.childNodes;
|
|
1536
|
-
slottedItem.slot["s-cr"] = hostChildren[0];
|
|
1938
|
+
elm["s-hn"] = hostTagName;
|
|
1939
|
+
{
|
|
1940
|
+
if (newVNode2.$flags$ & (2 /* isSlotFallback */ | 1 /* isSlotReference */)) {
|
|
1941
|
+
elm["s-sr"] = true;
|
|
1942
|
+
elm["s-cr"] = contentRef;
|
|
1943
|
+
elm["s-sn"] = newVNode2.$name$ || "";
|
|
1944
|
+
elm["s-rf"] = (_a = newVNode2.$attrs$) == null ? void 0 : _a.ref;
|
|
1945
|
+
patchSlotNode(elm);
|
|
1946
|
+
oldVNode = oldParentVNode && oldParentVNode.$children$ && oldParentVNode.$children$[childIndex];
|
|
1947
|
+
if (oldVNode && oldVNode.$tag$ === newVNode2.$tag$ && oldParentVNode.$elm$) {
|
|
1948
|
+
{
|
|
1949
|
+
putBackInOriginalLocation(oldParentVNode.$elm$, false);
|
|
1537
1950
|
}
|
|
1538
|
-
addSlotRelocateNode(slottedItem.node, slottedItem.slot, false, slottedItem.node["s-oo"]);
|
|
1539
1951
|
}
|
|
1540
|
-
|
|
1541
|
-
|
|
1952
|
+
{
|
|
1953
|
+
addRemoveSlotScopedClass(contentRef, elm, newParentVNode.$elm$, oldParentVNode == null ? void 0 : oldParentVNode.$elm$);
|
|
1542
1954
|
}
|
|
1543
1955
|
}
|
|
1544
1956
|
}
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
|
|
1957
|
+
return elm;
|
|
1958
|
+
};
|
|
1959
|
+
var putBackInOriginalLocation = (parentElm, recursive) => {
|
|
1960
|
+
plt.$flags$ |= 1 /* isTmpDisconnected */;
|
|
1961
|
+
const oldSlotChildNodes = Array.from(parentElm.__childNodes || parentElm.childNodes);
|
|
1962
|
+
for (let i2 = oldSlotChildNodes.length - 1; i2 >= 0; i2--) {
|
|
1963
|
+
const childNode = oldSlotChildNodes[i2];
|
|
1964
|
+
if (childNode["s-hn"] !== hostTagName && childNode["s-ol"]) {
|
|
1965
|
+
insertBefore(referenceNode(childNode).parentNode, childNode, referenceNode(childNode));
|
|
1966
|
+
childNode["s-ol"].remove();
|
|
1967
|
+
childNode["s-ol"] = void 0;
|
|
1968
|
+
childNode["s-sh"] = void 0;
|
|
1969
|
+
checkSlotRelocate = true;
|
|
1970
|
+
}
|
|
1971
|
+
if (recursive) {
|
|
1972
|
+
putBackInOriginalLocation(childNode, recursive);
|
|
1550
1973
|
}
|
|
1551
|
-
|
|
1552
|
-
|
|
1553
|
-
|
|
1974
|
+
}
|
|
1975
|
+
plt.$flags$ &= -2 /* isTmpDisconnected */;
|
|
1976
|
+
};
|
|
1977
|
+
var addVnodes = (parentElm, before, parentVNode, vnodes, startIdx, endIdx) => {
|
|
1978
|
+
let containerElm = parentElm["s-cr"] && parentElm["s-cr"].parentNode || parentElm;
|
|
1979
|
+
let childNode;
|
|
1980
|
+
if (containerElm.shadowRoot && containerElm.tagName === hostTagName) {
|
|
1981
|
+
containerElm = containerElm.shadowRoot;
|
|
1982
|
+
}
|
|
1983
|
+
for (; startIdx <= endIdx; ++startIdx) {
|
|
1984
|
+
if (vnodes[startIdx]) {
|
|
1985
|
+
childNode = createElm(null, parentVNode, startIdx);
|
|
1986
|
+
if (childNode) {
|
|
1987
|
+
vnodes[startIdx].$elm$ = childNode;
|
|
1988
|
+
insertBefore(containerElm, childNode, referenceNode(before) );
|
|
1554
1989
|
}
|
|
1555
|
-
}
|
|
1990
|
+
}
|
|
1556
1991
|
}
|
|
1557
|
-
hostRef.$hostElement$ = hostElm;
|
|
1558
|
-
endHydrate();
|
|
1559
1992
|
};
|
|
1560
|
-
var
|
|
1561
|
-
let
|
|
1562
|
-
|
|
1563
|
-
|
|
1564
|
-
|
|
1565
|
-
|
|
1566
|
-
|
|
1567
|
-
|
|
1568
|
-
|
|
1569
|
-
|
|
1570
|
-
|
|
1571
|
-
|
|
1572
|
-
|
|
1573
|
-
$hostId$: childIdSplt[0],
|
|
1574
|
-
$nodeId$: childIdSplt[1],
|
|
1575
|
-
$depth$: childIdSplt[2],
|
|
1576
|
-
$index$: childIdSplt[3],
|
|
1577
|
-
$tag$: node.tagName.toLowerCase(),
|
|
1578
|
-
$elm$: node,
|
|
1579
|
-
// If we don't add the initial classes to the VNode, the first `vdom-render.ts` reconciliation will fail:
|
|
1580
|
-
// client side changes before componentDidLoad will be ignored, `set-accessor.ts` will just take the element's initial classes
|
|
1581
|
-
$attrs$: { class: node.className }
|
|
1582
|
-
});
|
|
1583
|
-
childRenderNodes.push(childVNode);
|
|
1584
|
-
node.removeAttribute(HYDRATE_CHILD_ID);
|
|
1585
|
-
if (!parentVNode.$children$) {
|
|
1586
|
-
parentVNode.$children$ = [];
|
|
1587
|
-
}
|
|
1588
|
-
const slotName = childVNode.$elm$.getAttribute("s-sn");
|
|
1589
|
-
if (typeof slotName === "string") {
|
|
1590
|
-
if (childVNode.$tag$ === "slot-fb") {
|
|
1591
|
-
addSlot(
|
|
1592
|
-
slotName,
|
|
1593
|
-
childIdSplt[2],
|
|
1594
|
-
childVNode,
|
|
1595
|
-
node,
|
|
1596
|
-
parentVNode,
|
|
1597
|
-
childRenderNodes,
|
|
1598
|
-
slotNodes,
|
|
1599
|
-
shadowRootNodes,
|
|
1600
|
-
slottedNodes
|
|
1601
|
-
);
|
|
1993
|
+
var removeVnodes = (vnodes, startIdx, endIdx) => {
|
|
1994
|
+
for (let index = startIdx; index <= endIdx; ++index) {
|
|
1995
|
+
const vnode = vnodes[index];
|
|
1996
|
+
if (vnode) {
|
|
1997
|
+
const elm = vnode.$elm$;
|
|
1998
|
+
nullifyVNodeRefs(vnode);
|
|
1999
|
+
if (elm) {
|
|
2000
|
+
{
|
|
2001
|
+
checkSlotFallbackVisibility = true;
|
|
2002
|
+
if (elm["s-ol"]) {
|
|
2003
|
+
elm["s-ol"].remove();
|
|
2004
|
+
} else {
|
|
2005
|
+
putBackInOriginalLocation(elm, true);
|
|
1602
2006
|
}
|
|
1603
|
-
childVNode.$elm$["s-sn"] = slotName;
|
|
1604
|
-
childVNode.$elm$.removeAttribute("s-sn");
|
|
1605
|
-
}
|
|
1606
|
-
if (childVNode.$index$ !== void 0) {
|
|
1607
|
-
parentVNode.$children$[childVNode.$index$] = childVNode;
|
|
1608
|
-
}
|
|
1609
|
-
if (scopeId2) node["s-si"] = scopeId2;
|
|
1610
|
-
parentVNode = childVNode;
|
|
1611
|
-
if (shadowRootNodes && childVNode.$depth$ === "0") {
|
|
1612
|
-
shadowRootNodes[childVNode.$index$] = childVNode.$elm$;
|
|
1613
2007
|
}
|
|
2008
|
+
elm.remove();
|
|
1614
2009
|
}
|
|
1615
2010
|
}
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
|
|
1620
|
-
|
|
1621
|
-
|
|
1622
|
-
|
|
1623
|
-
|
|
1624
|
-
|
|
1625
|
-
|
|
1626
|
-
|
|
1627
|
-
|
|
1628
|
-
|
|
1629
|
-
|
|
1630
|
-
|
|
1631
|
-
|
|
1632
|
-
|
|
1633
|
-
|
|
1634
|
-
|
|
1635
|
-
|
|
1636
|
-
|
|
1637
|
-
|
|
1638
|
-
|
|
1639
|
-
|
|
1640
|
-
|
|
1641
|
-
);
|
|
1642
|
-
|
|
1643
|
-
|
|
1644
|
-
|
|
1645
|
-
|
|
1646
|
-
|
|
1647
|
-
|
|
1648
|
-
|
|
1649
|
-
|
|
1650
|
-
|
|
1651
|
-
|
|
1652
|
-
|
|
1653
|
-
|
|
1654
|
-
|
|
1655
|
-
|
|
1656
|
-
|
|
1657
|
-
|
|
1658
|
-
|
|
1659
|
-
}
|
|
1660
|
-
|
|
1661
|
-
|
|
1662
|
-
|
|
1663
|
-
|
|
1664
|
-
|
|
1665
|
-
|
|
1666
|
-
|
|
1667
|
-
|
|
1668
|
-
|
|
1669
|
-
|
|
1670
|
-
|
|
1671
|
-
}
|
|
1672
|
-
if (shadowRootNodes && childVNode.$depth$ === "0") {
|
|
1673
|
-
shadowRootNodes[childVNode.$index$] = childVNode.$elm$;
|
|
2011
|
+
}
|
|
2012
|
+
};
|
|
2013
|
+
var updateChildren = (parentElm, oldCh, newVNode2, newCh, isInitialRender = false) => {
|
|
2014
|
+
let oldStartIdx = 0;
|
|
2015
|
+
let newStartIdx = 0;
|
|
2016
|
+
let idxInOld = 0;
|
|
2017
|
+
let i2 = 0;
|
|
2018
|
+
let oldEndIdx = oldCh.length - 1;
|
|
2019
|
+
let oldStartVnode = oldCh[0];
|
|
2020
|
+
let oldEndVnode = oldCh[oldEndIdx];
|
|
2021
|
+
let newEndIdx = newCh.length - 1;
|
|
2022
|
+
let newStartVnode = newCh[0];
|
|
2023
|
+
let newEndVnode = newCh[newEndIdx];
|
|
2024
|
+
let node;
|
|
2025
|
+
let elmToMove;
|
|
2026
|
+
while (oldStartIdx <= oldEndIdx && newStartIdx <= newEndIdx) {
|
|
2027
|
+
if (oldStartVnode == null) {
|
|
2028
|
+
oldStartVnode = oldCh[++oldStartIdx];
|
|
2029
|
+
} else if (oldEndVnode == null) {
|
|
2030
|
+
oldEndVnode = oldCh[--oldEndIdx];
|
|
2031
|
+
} else if (newStartVnode == null) {
|
|
2032
|
+
newStartVnode = newCh[++newStartIdx];
|
|
2033
|
+
} else if (newEndVnode == null) {
|
|
2034
|
+
newEndVnode = newCh[--newEndIdx];
|
|
2035
|
+
} else if (isSameVnode(oldStartVnode, newStartVnode, isInitialRender)) {
|
|
2036
|
+
patch(oldStartVnode, newStartVnode, isInitialRender);
|
|
2037
|
+
oldStartVnode = oldCh[++oldStartIdx];
|
|
2038
|
+
newStartVnode = newCh[++newStartIdx];
|
|
2039
|
+
} else if (isSameVnode(oldEndVnode, newEndVnode, isInitialRender)) {
|
|
2040
|
+
patch(oldEndVnode, newEndVnode, isInitialRender);
|
|
2041
|
+
oldEndVnode = oldCh[--oldEndIdx];
|
|
2042
|
+
newEndVnode = newCh[--newEndIdx];
|
|
2043
|
+
} else if (isSameVnode(oldStartVnode, newEndVnode, isInitialRender)) {
|
|
2044
|
+
if ((oldStartVnode.$tag$ === "slot" || newEndVnode.$tag$ === "slot")) {
|
|
2045
|
+
putBackInOriginalLocation(oldStartVnode.$elm$.parentNode, false);
|
|
2046
|
+
}
|
|
2047
|
+
patch(oldStartVnode, newEndVnode, isInitialRender);
|
|
2048
|
+
insertBefore(parentElm, oldStartVnode.$elm$, oldEndVnode.$elm$.nextSibling);
|
|
2049
|
+
oldStartVnode = oldCh[++oldStartIdx];
|
|
2050
|
+
newEndVnode = newCh[--newEndIdx];
|
|
2051
|
+
} else if (isSameVnode(oldEndVnode, newStartVnode, isInitialRender)) {
|
|
2052
|
+
if ((oldStartVnode.$tag$ === "slot" || newEndVnode.$tag$ === "slot")) {
|
|
2053
|
+
putBackInOriginalLocation(oldEndVnode.$elm$.parentNode, false);
|
|
2054
|
+
}
|
|
2055
|
+
patch(oldEndVnode, newStartVnode, isInitialRender);
|
|
2056
|
+
insertBefore(parentElm, oldEndVnode.$elm$, oldStartVnode.$elm$);
|
|
2057
|
+
oldEndVnode = oldCh[--oldEndIdx];
|
|
2058
|
+
newStartVnode = newCh[++newStartIdx];
|
|
2059
|
+
} else {
|
|
2060
|
+
idxInOld = -1;
|
|
2061
|
+
{
|
|
2062
|
+
for (i2 = oldStartIdx; i2 <= oldEndIdx; ++i2) {
|
|
2063
|
+
if (oldCh[i2] && oldCh[i2].$key$ !== null && oldCh[i2].$key$ === newStartVnode.$key$) {
|
|
2064
|
+
idxInOld = i2;
|
|
2065
|
+
break;
|
|
1674
2066
|
}
|
|
1675
2067
|
}
|
|
1676
|
-
}
|
|
1677
|
-
|
|
1678
|
-
|
|
1679
|
-
|
|
1680
|
-
node
|
|
2068
|
+
}
|
|
2069
|
+
if (idxInOld >= 0) {
|
|
2070
|
+
elmToMove = oldCh[idxInOld];
|
|
2071
|
+
if (elmToMove.$tag$ !== newStartVnode.$tag$) {
|
|
2072
|
+
node = createElm(oldCh && oldCh[newStartIdx], newVNode2, idxInOld);
|
|
2073
|
+
} else {
|
|
2074
|
+
patch(elmToMove, newStartVnode, isInitialRender);
|
|
2075
|
+
oldCh[idxInOld] = void 0;
|
|
2076
|
+
node = elmToMove.$elm$;
|
|
1681
2077
|
}
|
|
1682
|
-
|
|
1683
|
-
|
|
1684
|
-
|
|
1685
|
-
|
|
1686
|
-
|
|
1687
|
-
|
|
1688
|
-
|
|
1689
|
-
|
|
2078
|
+
newStartVnode = newCh[++newStartIdx];
|
|
2079
|
+
} else {
|
|
2080
|
+
node = createElm(oldCh && oldCh[newStartIdx], newVNode2, newStartIdx);
|
|
2081
|
+
newStartVnode = newCh[++newStartIdx];
|
|
2082
|
+
}
|
|
2083
|
+
if (node) {
|
|
2084
|
+
{
|
|
2085
|
+
insertBefore(
|
|
2086
|
+
referenceNode(oldStartVnode.$elm$).parentNode,
|
|
1690
2087
|
node,
|
|
1691
|
-
|
|
1692
|
-
childRenderNodes,
|
|
1693
|
-
slotNodes,
|
|
1694
|
-
shadowRootNodes,
|
|
1695
|
-
slottedNodes
|
|
2088
|
+
referenceNode(oldStartVnode.$elm$)
|
|
1696
2089
|
);
|
|
1697
|
-
} else if (childNodeType === CONTENT_REF_ID) {
|
|
1698
|
-
if (shadowRootNodes) {
|
|
1699
|
-
node.remove();
|
|
1700
|
-
} else {
|
|
1701
|
-
hostElm["s-cr"] = node;
|
|
1702
|
-
node["s-cn"] = true;
|
|
1703
|
-
}
|
|
1704
2090
|
}
|
|
1705
2091
|
}
|
|
1706
2092
|
}
|
|
1707
|
-
} else if (parentVNode && parentVNode.$tag$ === "style") {
|
|
1708
|
-
const vnode = newVNode(null, node.textContent);
|
|
1709
|
-
vnode.$elm$ = node;
|
|
1710
|
-
vnode.$index$ = "0";
|
|
1711
|
-
parentVNode.$children$ = [vnode];
|
|
1712
2093
|
}
|
|
1713
|
-
|
|
2094
|
+
if (oldStartIdx > oldEndIdx) {
|
|
2095
|
+
addVnodes(
|
|
2096
|
+
parentElm,
|
|
2097
|
+
newCh[newEndIdx + 1] == null ? null : newCh[newEndIdx + 1].$elm$,
|
|
2098
|
+
newVNode2,
|
|
2099
|
+
newCh,
|
|
2100
|
+
newStartIdx,
|
|
2101
|
+
newEndIdx
|
|
2102
|
+
);
|
|
2103
|
+
} else if (newStartIdx > newEndIdx) {
|
|
2104
|
+
removeVnodes(oldCh, oldStartIdx, oldEndIdx);
|
|
2105
|
+
}
|
|
1714
2106
|
};
|
|
1715
|
-
var
|
|
1716
|
-
if (
|
|
1717
|
-
|
|
1718
|
-
|
|
1719
|
-
orgLocNodes.set(componentId, node);
|
|
1720
|
-
}
|
|
1721
|
-
let i2 = 0;
|
|
1722
|
-
if (node.shadowRoot) {
|
|
1723
|
-
for (; i2 < node.shadowRoot.childNodes.length; i2++) {
|
|
1724
|
-
initializeDocumentHydrate(node.shadowRoot.childNodes[i2], orgLocNodes);
|
|
1725
|
-
}
|
|
2107
|
+
var isSameVnode = (leftVNode, rightVNode, isInitialRender = false) => {
|
|
2108
|
+
if (leftVNode.$tag$ === rightVNode.$tag$) {
|
|
2109
|
+
if (leftVNode.$tag$ === "slot") {
|
|
2110
|
+
return leftVNode.$name$ === rightVNode.$name$;
|
|
1726
2111
|
}
|
|
1727
|
-
|
|
1728
|
-
|
|
1729
|
-
initializeDocumentHydrate(nonShadowNodes[i2], orgLocNodes);
|
|
2112
|
+
if (!isInitialRender) {
|
|
2113
|
+
return leftVNode.$key$ === rightVNode.$key$;
|
|
1730
2114
|
}
|
|
1731
|
-
|
|
1732
|
-
|
|
1733
|
-
if (childIdSplt[0] === ORG_LOCATION_ID) {
|
|
1734
|
-
orgLocNodes.set(childIdSplt[1] + "." + childIdSplt[2], node);
|
|
1735
|
-
node.nodeValue = "";
|
|
1736
|
-
node["s-en"] = childIdSplt[3];
|
|
2115
|
+
if (isInitialRender && !leftVNode.$key$ && rightVNode.$key$) {
|
|
2116
|
+
leftVNode.$key$ = rightVNode.$key$;
|
|
1737
2117
|
}
|
|
2118
|
+
return true;
|
|
1738
2119
|
}
|
|
2120
|
+
return false;
|
|
1739
2121
|
};
|
|
1740
|
-
var
|
|
1741
|
-
|
|
1742
|
-
|
|
1743
|
-
|
|
1744
|
-
|
|
1745
|
-
|
|
1746
|
-
|
|
1747
|
-
|
|
1748
|
-
|
|
1749
|
-
|
|
1750
|
-
|
|
1751
|
-
$name$: null,
|
|
1752
|
-
$tag$: null,
|
|
1753
|
-
$text$: null
|
|
1754
|
-
};
|
|
1755
|
-
return { ...defaultVNode, ...vnode };
|
|
1756
|
-
};
|
|
1757
|
-
function addSlot(slotName, slotId, childVNode, node, parentVNode, childRenderNodes, slotNodes, shadowRootNodes, slottedNodes) {
|
|
1758
|
-
node["s-sr"] = true;
|
|
1759
|
-
const parentNodeId = (parentVNode == null ? void 0 : parentVNode.$elm$) ? parentVNode.$elm$["s-id"] || parentVNode.$elm$.getAttribute("s-id") : "";
|
|
1760
|
-
if (shadowRootNodes) {
|
|
1761
|
-
const slot = childVNode.$elm$ = doc.createElement(childVNode.$tag$);
|
|
1762
|
-
if (childVNode.$name$) {
|
|
1763
|
-
childVNode.$elm$.setAttribute("name", slotName);
|
|
2122
|
+
var referenceNode = (node) => node && node["s-ol"] || node;
|
|
2123
|
+
var patch = (oldVNode, newVNode2, isInitialRender = false) => {
|
|
2124
|
+
const elm = newVNode2.$elm$ = oldVNode.$elm$;
|
|
2125
|
+
const oldChildren = oldVNode.$children$;
|
|
2126
|
+
const newChildren = newVNode2.$children$;
|
|
2127
|
+
const tag = newVNode2.$tag$;
|
|
2128
|
+
const text = newVNode2.$text$;
|
|
2129
|
+
let defaultHolder;
|
|
2130
|
+
if (text === null) {
|
|
2131
|
+
{
|
|
2132
|
+
isSvgMode = tag === "svg" ? true : tag === "foreignObject" ? false : isSvgMode;
|
|
1764
2133
|
}
|
|
1765
|
-
|
|
1766
|
-
|
|
1767
|
-
} else {
|
|
1768
|
-
node.parentNode.insertBefore(childVNode.$elm$, node);
|
|
2134
|
+
{
|
|
2135
|
+
updateElement(oldVNode, newVNode2, isSvgMode, isInitialRender);
|
|
1769
2136
|
}
|
|
1770
|
-
|
|
1771
|
-
|
|
1772
|
-
if (
|
|
1773
|
-
|
|
2137
|
+
if (oldChildren !== null && newChildren !== null) {
|
|
2138
|
+
updateChildren(elm, oldChildren, newVNode2, newChildren, isInitialRender);
|
|
2139
|
+
} else if (newChildren !== null) {
|
|
2140
|
+
if (oldVNode.$text$ !== null) {
|
|
2141
|
+
elm.textContent = "";
|
|
2142
|
+
}
|
|
2143
|
+
addVnodes(elm, null, newVNode2, newChildren, 0, newChildren.length - 1);
|
|
2144
|
+
} else if (
|
|
2145
|
+
// don't do this on initial render as it can cause non-hydrated content to be removed
|
|
2146
|
+
!isInitialRender && BUILD.updatable && oldChildren !== null
|
|
2147
|
+
) {
|
|
2148
|
+
removeVnodes(oldChildren, 0, oldChildren.length - 1);
|
|
2149
|
+
} else if (isInitialRender && BUILD.updatable && oldChildren !== null && newChildren === null) {
|
|
2150
|
+
newVNode2.$children$ = oldChildren;
|
|
1774
2151
|
}
|
|
1775
|
-
|
|
1776
|
-
|
|
1777
|
-
const shouldMove = parentNodeId && parentNodeId !== childVNode.$hostId$ && parentVNode.$elm$.shadowRoot;
|
|
1778
|
-
addSlottedNodes(slottedNodes, slotId, slotName, node, shouldMove ? parentNodeId : childVNode.$hostId$);
|
|
1779
|
-
if (shouldMove) {
|
|
1780
|
-
parentVNode.$elm$.insertBefore(slot, parentVNode.$elm$.children[0]);
|
|
2152
|
+
if (isSvgMode && tag === "svg") {
|
|
2153
|
+
isSvgMode = false;
|
|
1781
2154
|
}
|
|
1782
|
-
|
|
1783
|
-
|
|
1784
|
-
|
|
1785
|
-
|
|
1786
|
-
parentVNode.$children$ = [];
|
|
1787
|
-
}
|
|
1788
|
-
parentVNode.$children$[childVNode.$index$] = childVNode;
|
|
1789
|
-
}
|
|
1790
|
-
var addSlottedNodes = (slottedNodes, slotNodeId, slotName, slotNode, hostId) => {
|
|
1791
|
-
let slottedNode = slotNode.nextSibling;
|
|
1792
|
-
slottedNodes[slotNodeId] = slottedNodes[slotNodeId] || [];
|
|
1793
|
-
while (slottedNode && ((slottedNode["getAttribute"] && slottedNode.getAttribute("slot") || slottedNode["s-sn"]) === slotName || slotName === "" && !slottedNode["s-sn"] && (slottedNode.nodeType === 8 /* CommentNode */ && slottedNode.nodeValue.indexOf(".") !== 1 || slottedNode.nodeType === 3 /* TextNode */))) {
|
|
1794
|
-
slottedNode["s-sn"] = slotName;
|
|
1795
|
-
slottedNodes[slotNodeId].push({ slot: slotNode, node: slottedNode, hostId });
|
|
1796
|
-
slottedNode = slottedNode.nextSibling;
|
|
2155
|
+
} else if ((defaultHolder = elm["s-cr"])) {
|
|
2156
|
+
defaultHolder.parentNode.textContent = text;
|
|
2157
|
+
} else if (oldVNode.$text$ !== text) {
|
|
2158
|
+
elm.data = text;
|
|
1797
2159
|
}
|
|
1798
2160
|
};
|
|
1799
|
-
var
|
|
1800
|
-
|
|
1801
|
-
|
|
1802
|
-
|
|
1803
|
-
|
|
1804
|
-
|
|
1805
|
-
|
|
1806
|
-
|
|
1807
|
-
|
|
1808
|
-
|
|
2161
|
+
var relocateNodes = [];
|
|
2162
|
+
var markSlotContentForRelocation = (elm) => {
|
|
2163
|
+
let node;
|
|
2164
|
+
let hostContentNodes;
|
|
2165
|
+
let j;
|
|
2166
|
+
const children = elm.__childNodes || elm.childNodes;
|
|
2167
|
+
for (const childNode of children) {
|
|
2168
|
+
if (childNode["s-sr"] && (node = childNode["s-cr"]) && node.parentNode) {
|
|
2169
|
+
hostContentNodes = node.parentNode.__childNodes || node.parentNode.childNodes;
|
|
2170
|
+
const slotName = childNode["s-sn"];
|
|
2171
|
+
for (j = hostContentNodes.length - 1; j >= 0; j--) {
|
|
2172
|
+
node = hostContentNodes[j];
|
|
2173
|
+
if (!node["s-cn"] && !node["s-nr"] && node["s-hn"] !== childNode["s-hn"] && (true)) {
|
|
2174
|
+
if (isNodeLocatedInSlot(node, slotName)) {
|
|
2175
|
+
let relocateNodeData = relocateNodes.find((r) => r.$nodeToRelocate$ === node);
|
|
2176
|
+
checkSlotFallbackVisibility = true;
|
|
2177
|
+
node["s-sn"] = node["s-sn"] || slotName;
|
|
2178
|
+
if (relocateNodeData) {
|
|
2179
|
+
relocateNodeData.$nodeToRelocate$["s-sh"] = childNode["s-hn"];
|
|
2180
|
+
relocateNodeData.$slotRefNode$ = childNode;
|
|
2181
|
+
} else {
|
|
2182
|
+
node["s-sh"] = childNode["s-hn"];
|
|
2183
|
+
relocateNodes.push({
|
|
2184
|
+
$slotRefNode$: childNode,
|
|
2185
|
+
$nodeToRelocate$: node
|
|
2186
|
+
});
|
|
2187
|
+
}
|
|
2188
|
+
if (node["s-sr"]) {
|
|
2189
|
+
relocateNodes.map((relocateNode) => {
|
|
2190
|
+
if (isNodeLocatedInSlot(relocateNode.$nodeToRelocate$, node["s-sn"])) {
|
|
2191
|
+
relocateNodeData = relocateNodes.find((r) => r.$nodeToRelocate$ === node);
|
|
2192
|
+
if (relocateNodeData && !relocateNode.$slotRefNode$) {
|
|
2193
|
+
relocateNode.$slotRefNode$ = relocateNodeData.$slotRefNode$;
|
|
2194
|
+
}
|
|
2195
|
+
}
|
|
2196
|
+
});
|
|
2197
|
+
}
|
|
2198
|
+
} else if (!relocateNodes.some((r) => r.$nodeToRelocate$ === node)) {
|
|
2199
|
+
relocateNodes.push({
|
|
2200
|
+
$nodeToRelocate$: node
|
|
2201
|
+
});
|
|
2202
|
+
}
|
|
2203
|
+
}
|
|
2204
|
+
}
|
|
1809
2205
|
}
|
|
1810
|
-
|
|
1811
|
-
|
|
1812
|
-
return propValue;
|
|
1813
|
-
};
|
|
1814
|
-
var getElement = (ref) => getHostRef(ref).$hostElement$ ;
|
|
1815
|
-
|
|
1816
|
-
// src/runtime/event-emitter.ts
|
|
1817
|
-
var createEvent = (ref, name, flags) => {
|
|
1818
|
-
const elm = getElement(ref);
|
|
1819
|
-
return {
|
|
1820
|
-
emit: (detail) => {
|
|
1821
|
-
return emitEvent(elm, name, {
|
|
1822
|
-
bubbles: !!(flags & 4 /* Bubbles */),
|
|
1823
|
-
composed: !!(flags & 2 /* Composed */),
|
|
1824
|
-
cancelable: !!(flags & 1 /* Cancellable */),
|
|
1825
|
-
detail
|
|
1826
|
-
});
|
|
2206
|
+
if (childNode.nodeType === 1 /* ElementNode */) {
|
|
2207
|
+
markSlotContentForRelocation(childNode);
|
|
1827
2208
|
}
|
|
1828
|
-
}
|
|
2209
|
+
}
|
|
1829
2210
|
};
|
|
1830
|
-
var
|
|
1831
|
-
|
|
1832
|
-
|
|
1833
|
-
|
|
2211
|
+
var nullifyVNodeRefs = (vNode) => {
|
|
2212
|
+
{
|
|
2213
|
+
vNode.$attrs$ && vNode.$attrs$.ref && vNode.$attrs$.ref(null);
|
|
2214
|
+
vNode.$children$ && vNode.$children$.map(nullifyVNodeRefs);
|
|
2215
|
+
}
|
|
1834
2216
|
};
|
|
1835
|
-
var
|
|
1836
|
-
|
|
1837
|
-
|
|
1838
|
-
|
|
1839
|
-
|
|
1840
|
-
|
|
1841
|
-
style = cssText;
|
|
1842
|
-
} else {
|
|
1843
|
-
style.replaceSync(cssText);
|
|
1844
|
-
}
|
|
1845
|
-
} else {
|
|
1846
|
-
style = cssText;
|
|
2217
|
+
var insertBefore = (parent, newNode, reference) => {
|
|
2218
|
+
if (typeof newNode["s-sn"] === "string" && !!newNode["s-sr"] && !!newNode["s-cr"]) {
|
|
2219
|
+
addRemoveSlotScopedClass(newNode["s-cr"], newNode, parent, newNode.parentElement);
|
|
2220
|
+
}
|
|
2221
|
+
{
|
|
2222
|
+
return parent == null ? void 0 : parent.insertBefore(newNode, reference);
|
|
1847
2223
|
}
|
|
1848
|
-
styles.set(scopeId2, style);
|
|
1849
2224
|
};
|
|
1850
|
-
|
|
1851
|
-
var _a;
|
|
1852
|
-
|
|
1853
|
-
|
|
1854
|
-
|
|
1855
|
-
|
|
1856
|
-
|
|
1857
|
-
|
|
1858
|
-
let
|
|
1859
|
-
let
|
|
1860
|
-
|
|
1861
|
-
|
|
2225
|
+
function addRemoveSlotScopedClass(reference, slotNode, newParent, oldParent) {
|
|
2226
|
+
var _a, _b;
|
|
2227
|
+
let scopeId2;
|
|
2228
|
+
if (reference && typeof slotNode["s-sn"] === "string" && !!slotNode["s-sr"] && reference.parentNode && reference.parentNode["s-sc"] && (scopeId2 = slotNode["s-si"] || reference.parentNode["s-sc"])) {
|
|
2229
|
+
const scopeName = slotNode["s-sn"];
|
|
2230
|
+
const hostName = slotNode["s-hn"];
|
|
2231
|
+
(_a = newParent.classList) == null ? void 0 : _a.add(scopeId2 + "-s");
|
|
2232
|
+
if (oldParent && ((_b = oldParent.classList) == null ? void 0 : _b.contains(scopeId2 + "-s"))) {
|
|
2233
|
+
let child = (oldParent.__childNodes || oldParent.childNodes)[0];
|
|
2234
|
+
let found = false;
|
|
2235
|
+
while (child) {
|
|
2236
|
+
if (child["s-sn"] !== scopeName && child["s-hn"] === hostName && !!child["s-sr"]) {
|
|
2237
|
+
found = true;
|
|
2238
|
+
break;
|
|
2239
|
+
}
|
|
2240
|
+
child = child.nextSibling;
|
|
1862
2241
|
}
|
|
1863
|
-
if (!
|
|
1864
|
-
|
|
1865
|
-
|
|
1866
|
-
|
|
1867
|
-
|
|
1868
|
-
|
|
1869
|
-
|
|
1870
|
-
|
|
1871
|
-
|
|
1872
|
-
|
|
1873
|
-
|
|
1874
|
-
|
|
1875
|
-
|
|
1876
|
-
|
|
1877
|
-
|
|
1878
|
-
|
|
1879
|
-
|
|
1880
|
-
|
|
1881
|
-
|
|
1882
|
-
|
|
1883
|
-
|
|
1884
|
-
|
|
1885
|
-
|
|
1886
|
-
|
|
1887
|
-
|
|
1888
|
-
|
|
2242
|
+
if (!found) oldParent.classList.remove(scopeId2 + "-s");
|
|
2243
|
+
}
|
|
2244
|
+
}
|
|
2245
|
+
}
|
|
2246
|
+
var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
|
|
2247
|
+
var _a, _b, _c, _d;
|
|
2248
|
+
const hostElm = hostRef.$hostElement$;
|
|
2249
|
+
const cmpMeta = hostRef.$cmpMeta$;
|
|
2250
|
+
const oldVNode = hostRef.$vnode$ || newVNode(null, null);
|
|
2251
|
+
const isHostElement = isHost(renderFnResults);
|
|
2252
|
+
const rootVnode = isHostElement ? renderFnResults : h(null, null, renderFnResults);
|
|
2253
|
+
hostTagName = hostElm.tagName;
|
|
2254
|
+
if (cmpMeta.$attrsToReflect$) {
|
|
2255
|
+
rootVnode.$attrs$ = rootVnode.$attrs$ || {};
|
|
2256
|
+
cmpMeta.$attrsToReflect$.map(
|
|
2257
|
+
([propName, attribute]) => rootVnode.$attrs$[attribute] = hostElm[propName]
|
|
2258
|
+
);
|
|
2259
|
+
}
|
|
2260
|
+
if (isInitialLoad && rootVnode.$attrs$) {
|
|
2261
|
+
for (const key of Object.keys(rootVnode.$attrs$)) {
|
|
2262
|
+
if (hostElm.hasAttribute(key) && !["key", "ref", "style", "class"].includes(key)) {
|
|
2263
|
+
rootVnode.$attrs$[key] = hostElm[key];
|
|
2264
|
+
}
|
|
2265
|
+
}
|
|
2266
|
+
}
|
|
2267
|
+
rootVnode.$tag$ = null;
|
|
2268
|
+
rootVnode.$flags$ |= 4 /* isHost */;
|
|
2269
|
+
hostRef.$vnode$ = rootVnode;
|
|
2270
|
+
rootVnode.$elm$ = oldVNode.$elm$ = hostElm.shadowRoot || hostElm ;
|
|
2271
|
+
{
|
|
2272
|
+
scopeId = hostElm["s-sc"];
|
|
2273
|
+
}
|
|
2274
|
+
useNativeShadowDom = !!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) && !(cmpMeta.$flags$ & 128 /* shadowNeedsScopedCss */);
|
|
2275
|
+
{
|
|
2276
|
+
contentRef = hostElm["s-cr"];
|
|
2277
|
+
checkSlotFallbackVisibility = false;
|
|
2278
|
+
}
|
|
2279
|
+
patch(oldVNode, rootVnode, isInitialLoad);
|
|
2280
|
+
{
|
|
2281
|
+
plt.$flags$ |= 1 /* isTmpDisconnected */;
|
|
2282
|
+
if (checkSlotRelocate) {
|
|
2283
|
+
markSlotContentForRelocation(rootVnode.$elm$);
|
|
2284
|
+
for (const relocateData of relocateNodes) {
|
|
2285
|
+
const nodeToRelocate = relocateData.$nodeToRelocate$;
|
|
2286
|
+
if (!nodeToRelocate["s-ol"] && win.document) {
|
|
2287
|
+
const orgLocationNode = win.document.createTextNode("");
|
|
2288
|
+
orgLocationNode["s-nr"] = nodeToRelocate;
|
|
2289
|
+
insertBefore(nodeToRelocate.parentNode, nodeToRelocate["s-ol"] = orgLocationNode, nodeToRelocate);
|
|
2290
|
+
}
|
|
2291
|
+
}
|
|
2292
|
+
for (const relocateData of relocateNodes) {
|
|
2293
|
+
const nodeToRelocate = relocateData.$nodeToRelocate$;
|
|
2294
|
+
const slotRefNode = relocateData.$slotRefNode$;
|
|
2295
|
+
if (slotRefNode) {
|
|
2296
|
+
const parentNodeRef = slotRefNode.parentNode;
|
|
2297
|
+
let insertBeforeNode = slotRefNode.nextSibling;
|
|
2298
|
+
{
|
|
2299
|
+
let orgLocationNode = (_a = nodeToRelocate["s-ol"]) == null ? void 0 : _a.previousSibling;
|
|
2300
|
+
while (orgLocationNode) {
|
|
2301
|
+
let refNode = (_b = orgLocationNode["s-nr"]) != null ? _b : null;
|
|
2302
|
+
if (refNode && refNode["s-sn"] === nodeToRelocate["s-sn"] && parentNodeRef === (refNode.__parentNode || refNode.parentNode)) {
|
|
2303
|
+
refNode = refNode.nextSibling;
|
|
2304
|
+
while (refNode === nodeToRelocate || (refNode == null ? void 0 : refNode["s-sr"])) {
|
|
2305
|
+
refNode = refNode == null ? void 0 : refNode.nextSibling;
|
|
2306
|
+
}
|
|
2307
|
+
if (!refNode || !refNode["s-nr"]) {
|
|
2308
|
+
insertBeforeNode = refNode;
|
|
2309
|
+
break;
|
|
1889
2310
|
}
|
|
1890
2311
|
}
|
|
1891
|
-
|
|
1892
|
-
styleContainerNode.append(styleElm);
|
|
2312
|
+
orgLocationNode = orgLocationNode.previousSibling;
|
|
1893
2313
|
}
|
|
1894
2314
|
}
|
|
1895
|
-
|
|
1896
|
-
|
|
2315
|
+
const parent = nodeToRelocate.__parentNode || nodeToRelocate.parentNode;
|
|
2316
|
+
const nextSibling = nodeToRelocate.__nextSibling || nodeToRelocate.nextSibling;
|
|
2317
|
+
if (!insertBeforeNode && parentNodeRef !== parent || nextSibling !== insertBeforeNode) {
|
|
2318
|
+
if (nodeToRelocate !== insertBeforeNode) {
|
|
2319
|
+
if (!nodeToRelocate["s-hn"] && nodeToRelocate["s-ol"]) {
|
|
2320
|
+
nodeToRelocate["s-hn"] = nodeToRelocate["s-ol"].parentNode.nodeName;
|
|
2321
|
+
}
|
|
2322
|
+
insertBefore(parentNodeRef, nodeToRelocate, insertBeforeNode);
|
|
2323
|
+
if (nodeToRelocate.nodeType === 1 /* ElementNode */ && nodeToRelocate.tagName !== "SLOT-FB") {
|
|
2324
|
+
nodeToRelocate.hidden = (_c = nodeToRelocate["s-ih"]) != null ? _c : false;
|
|
2325
|
+
}
|
|
2326
|
+
}
|
|
2327
|
+
}
|
|
2328
|
+
nodeToRelocate && typeof slotRefNode["s-rf"] === "function" && slotRefNode["s-rf"](slotRefNode);
|
|
2329
|
+
} else {
|
|
2330
|
+
if (nodeToRelocate.nodeType === 1 /* ElementNode */) {
|
|
2331
|
+
if (isInitialLoad) {
|
|
2332
|
+
nodeToRelocate["s-ih"] = (_d = nodeToRelocate.hidden) != null ? _d : false;
|
|
2333
|
+
}
|
|
2334
|
+
nodeToRelocate.hidden = true;
|
|
1897
2335
|
}
|
|
1898
|
-
}
|
|
1899
|
-
if (cmpMeta.$flags$ & 4 /* hasSlotRelocation */) {
|
|
1900
|
-
styleElm.innerHTML += SLOT_FB_CSS;
|
|
1901
|
-
}
|
|
1902
|
-
if (appliedStyles) {
|
|
1903
|
-
appliedStyles.add(scopeId2);
|
|
1904
2336
|
}
|
|
1905
2337
|
}
|
|
1906
|
-
} else if (!styleContainerNode.adoptedStyleSheets.includes(style)) {
|
|
1907
|
-
styleContainerNode.adoptedStyleSheets = [...styleContainerNode.adoptedStyleSheets, style];
|
|
1908
2338
|
}
|
|
1909
|
-
|
|
1910
|
-
|
|
1911
|
-
};
|
|
1912
|
-
var attachStyles = (hostRef) => {
|
|
1913
|
-
const cmpMeta = hostRef.$cmpMeta$;
|
|
1914
|
-
const elm = hostRef.$hostElement$;
|
|
1915
|
-
const flags = cmpMeta.$flags$;
|
|
1916
|
-
const endAttachStyles = createTime("attachStyles", cmpMeta.$tagName$);
|
|
1917
|
-
const scopeId2 = addStyle(
|
|
1918
|
-
elm.shadowRoot ? elm.shadowRoot : elm.getRootNode(),
|
|
1919
|
-
cmpMeta);
|
|
1920
|
-
if (flags & 10 /* needsScopedEncapsulation */ && flags & 2 /* scopedCssEncapsulation */) {
|
|
1921
|
-
elm["s-sc"] = scopeId2;
|
|
1922
|
-
elm.classList.add(scopeId2 + "-h");
|
|
1923
|
-
if (flags & 2 /* scopedCssEncapsulation */) {
|
|
1924
|
-
elm.classList.add(scopeId2 + "-s");
|
|
2339
|
+
if (checkSlotFallbackVisibility) {
|
|
2340
|
+
updateFallbackSlotVisibility(rootVnode.$elm$);
|
|
1925
2341
|
}
|
|
2342
|
+
plt.$flags$ &= -2 /* isTmpDisconnected */;
|
|
2343
|
+
relocateNodes.length = 0;
|
|
1926
2344
|
}
|
|
1927
|
-
|
|
2345
|
+
contentRef = void 0;
|
|
1928
2346
|
};
|
|
1929
|
-
var getScopeId = (cmp, mode) => "sc-" + (cmp.$tagName$);
|
|
1930
2347
|
|
|
1931
2348
|
// src/runtime/update-component.ts
|
|
1932
2349
|
var attachToAncestor = (hostRef, ancestorComponent) => {
|
|
1933
2350
|
if (ancestorComponent && !hostRef.$onRenderResolve$ && ancestorComponent["s-p"]) {
|
|
1934
|
-
ancestorComponent["s-p"].push(
|
|
2351
|
+
const index = ancestorComponent["s-p"].push(
|
|
2352
|
+
new Promise(
|
|
2353
|
+
(r) => hostRef.$onRenderResolve$ = () => {
|
|
2354
|
+
ancestorComponent["s-p"].splice(index - 1, 1);
|
|
2355
|
+
r();
|
|
2356
|
+
}
|
|
2357
|
+
)
|
|
2358
|
+
);
|
|
1935
2359
|
}
|
|
1936
2360
|
};
|
|
1937
2361
|
var scheduleUpdate = (hostRef, isInitialLoad) => {
|
|
@@ -1944,6 +2368,12 @@ var scheduleUpdate = (hostRef, isInitialLoad) => {
|
|
|
1944
2368
|
}
|
|
1945
2369
|
attachToAncestor(hostRef, hostRef.$ancestorComponent$);
|
|
1946
2370
|
const dispatch = () => dispatchHooks(hostRef, isInitialLoad);
|
|
2371
|
+
if (isInitialLoad) {
|
|
2372
|
+
queueMicrotask(() => {
|
|
2373
|
+
dispatch();
|
|
2374
|
+
});
|
|
2375
|
+
return;
|
|
2376
|
+
}
|
|
1947
2377
|
return writeTask(dispatch) ;
|
|
1948
2378
|
};
|
|
1949
2379
|
var dispatchHooks = (hostRef, isInitialLoad) => {
|
|
@@ -1960,17 +2390,15 @@ var dispatchHooks = (hostRef, isInitialLoad) => {
|
|
|
1960
2390
|
{
|
|
1961
2391
|
hostRef.$flags$ |= 256 /* isListenReady */;
|
|
1962
2392
|
if (hostRef.$queuedListeners$) {
|
|
1963
|
-
hostRef.$queuedListeners$.map(([methodName, event]) => safeCall(instance, methodName, event));
|
|
2393
|
+
hostRef.$queuedListeners$.map(([methodName, event]) => safeCall(instance, methodName, event, elm));
|
|
1964
2394
|
hostRef.$queuedListeners$ = void 0;
|
|
1965
2395
|
}
|
|
1966
2396
|
}
|
|
1967
|
-
|
|
1968
|
-
|
|
1969
|
-
|
|
1970
|
-
}
|
|
1971
|
-
{
|
|
1972
|
-
maybePromise = enqueue(maybePromise, () => safeCall(instance, "componentWillRender"));
|
|
2397
|
+
maybePromise = safeCall(instance, "componentWillLoad", void 0, elm);
|
|
2398
|
+
} else {
|
|
2399
|
+
maybePromise = safeCall(instance, "componentWillUpdate", void 0, elm);
|
|
1973
2400
|
}
|
|
2401
|
+
maybePromise = enqueue(maybePromise, () => safeCall(instance, "componentWillRender", void 0, elm));
|
|
1974
2402
|
endSchedule();
|
|
1975
2403
|
return enqueue(maybePromise, () => updateComponent(hostRef, instance, isInitialLoad));
|
|
1976
2404
|
};
|
|
@@ -2013,7 +2441,7 @@ var callRender = (hostRef, instance, elm, isInitialLoad) => {
|
|
|
2013
2441
|
try {
|
|
2014
2442
|
instance = instance.render() ;
|
|
2015
2443
|
{
|
|
2016
|
-
hostRef.$flags$ &=
|
|
2444
|
+
hostRef.$flags$ &= -17 /* isQueuedForUpdate */;
|
|
2017
2445
|
}
|
|
2018
2446
|
{
|
|
2019
2447
|
hostRef.$flags$ |= 2 /* hasRendered */;
|
|
@@ -2036,17 +2464,13 @@ var postUpdateComponent = (hostRef) => {
|
|
|
2036
2464
|
const endPostUpdate = createTime("postUpdate", tagName);
|
|
2037
2465
|
const instance = hostRef.$lazyInstance$ ;
|
|
2038
2466
|
const ancestorComponent = hostRef.$ancestorComponent$;
|
|
2039
|
-
|
|
2040
|
-
safeCall(instance, "componentDidRender");
|
|
2041
|
-
}
|
|
2467
|
+
safeCall(instance, "componentDidRender", void 0, elm);
|
|
2042
2468
|
if (!(hostRef.$flags$ & 64 /* hasLoadedComponent */)) {
|
|
2043
2469
|
hostRef.$flags$ |= 64 /* hasLoadedComponent */;
|
|
2044
2470
|
{
|
|
2045
2471
|
addHydratedFlag(elm);
|
|
2046
2472
|
}
|
|
2047
|
-
|
|
2048
|
-
safeCall(instance, "componentDidLoad");
|
|
2049
|
-
}
|
|
2473
|
+
safeCall(instance, "componentDidLoad", void 0, elm);
|
|
2050
2474
|
endPostUpdate();
|
|
2051
2475
|
{
|
|
2052
2476
|
hostRef.$onReadyResolve$(elm);
|
|
@@ -2055,9 +2479,7 @@ var postUpdateComponent = (hostRef) => {
|
|
|
2055
2479
|
}
|
|
2056
2480
|
}
|
|
2057
2481
|
} else {
|
|
2058
|
-
|
|
2059
|
-
safeCall(instance, "componentDidUpdate");
|
|
2060
|
-
}
|
|
2482
|
+
safeCall(instance, "componentDidUpdate", void 0, elm);
|
|
2061
2483
|
endPostUpdate();
|
|
2062
2484
|
}
|
|
2063
2485
|
{
|
|
@@ -2071,21 +2493,24 @@ var postUpdateComponent = (hostRef) => {
|
|
|
2071
2493
|
if (hostRef.$flags$ & 512 /* needsRerender */) {
|
|
2072
2494
|
nextTick(() => scheduleUpdate(hostRef, false));
|
|
2073
2495
|
}
|
|
2074
|
-
hostRef.$flags$ &=
|
|
2496
|
+
hostRef.$flags$ &= -517;
|
|
2075
2497
|
}
|
|
2076
2498
|
};
|
|
2077
2499
|
var appDidLoad = (who) => {
|
|
2500
|
+
var _a;
|
|
2501
|
+
nextTick(() => emitEvent(win, "appload", { detail: { namespace: NAMESPACE } }));
|
|
2078
2502
|
{
|
|
2079
|
-
|
|
2503
|
+
if ((_a = plt.$orgLocNodes$) == null ? void 0 : _a.size) {
|
|
2504
|
+
plt.$orgLocNodes$.clear();
|
|
2505
|
+
}
|
|
2080
2506
|
}
|
|
2081
|
-
nextTick(() => emitEvent(win, "appload", { detail: { namespace: NAMESPACE } }));
|
|
2082
2507
|
};
|
|
2083
|
-
var safeCall = (instance, method, arg) => {
|
|
2508
|
+
var safeCall = (instance, method, arg, elm) => {
|
|
2084
2509
|
if (instance && instance[method]) {
|
|
2085
2510
|
try {
|
|
2086
2511
|
return instance[method](arg);
|
|
2087
2512
|
} catch (e) {
|
|
2088
|
-
consoleError(e);
|
|
2513
|
+
consoleError(e, elm);
|
|
2089
2514
|
}
|
|
2090
2515
|
}
|
|
2091
2516
|
return void 0;
|
|
@@ -2099,16 +2524,21 @@ var addHydratedFlag = (elm) => {
|
|
|
2099
2524
|
var getValue = (ref, propName) => getHostRef(ref).$instanceValues$.get(propName);
|
|
2100
2525
|
var setValue = (ref, propName, newVal, cmpMeta) => {
|
|
2101
2526
|
const hostRef = getHostRef(ref);
|
|
2527
|
+
if (!hostRef) {
|
|
2528
|
+
return;
|
|
2529
|
+
}
|
|
2102
2530
|
if (!hostRef) {
|
|
2103
2531
|
throw new Error(
|
|
2104
|
-
`Couldn't find host element for "${cmpMeta.$tagName$}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/
|
|
2532
|
+
`Couldn't find host element for "${cmpMeta.$tagName$}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/stenciljs/core/issues/5457).`
|
|
2105
2533
|
);
|
|
2106
2534
|
}
|
|
2107
2535
|
const elm = hostRef.$hostElement$ ;
|
|
2108
2536
|
const oldVal = hostRef.$instanceValues$.get(propName);
|
|
2109
2537
|
const flags = hostRef.$flags$;
|
|
2110
2538
|
const instance = hostRef.$lazyInstance$ ;
|
|
2111
|
-
newVal = parsePropertyValue(
|
|
2539
|
+
newVal = parsePropertyValue(
|
|
2540
|
+
newVal,
|
|
2541
|
+
cmpMeta.$members$[propName][0]);
|
|
2112
2542
|
const areBothNaN = Number.isNaN(oldVal) && Number.isNaN(newVal);
|
|
2113
2543
|
const didValueChange = newVal !== oldVal && !areBothNaN;
|
|
2114
2544
|
if ((!(flags & 8 /* isConstructingInstance */) || oldVal === void 0) && didValueChange) {
|
|
@@ -2127,6 +2557,11 @@ var setValue = (ref, propName, newVal, cmpMeta) => {
|
|
|
2127
2557
|
}
|
|
2128
2558
|
}
|
|
2129
2559
|
if ((flags & (2 /* hasRendered */ | 16 /* isQueuedForUpdate */)) === 2 /* hasRendered */) {
|
|
2560
|
+
if (instance.componentShouldUpdate) {
|
|
2561
|
+
if (instance.componentShouldUpdate(newVal, oldVal, propName) === false) {
|
|
2562
|
+
return;
|
|
2563
|
+
}
|
|
2564
|
+
}
|
|
2130
2565
|
scheduleUpdate(hostRef, false);
|
|
2131
2566
|
}
|
|
2132
2567
|
}
|
|
@@ -2144,62 +2579,78 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
2144
2579
|
const members = Object.entries((_a = cmpMeta.$members$) != null ? _a : {});
|
|
2145
2580
|
members.map(([memberName, [memberFlags]]) => {
|
|
2146
2581
|
if ((memberFlags & 31 /* Prop */ || (flags & 2 /* proxyState */) && memberFlags & 32 /* State */)) {
|
|
2147
|
-
|
|
2582
|
+
const { get: origGetter, set: origSetter } = Object.getOwnPropertyDescriptor(prototype, memberName) || {};
|
|
2583
|
+
if (origGetter) cmpMeta.$members$[memberName][0] |= 2048 /* Getter */;
|
|
2584
|
+
if (origSetter) cmpMeta.$members$[memberName][0] |= 4096 /* Setter */;
|
|
2585
|
+
if (flags & 1 /* isElementConstructor */ || !origGetter) {
|
|
2148
2586
|
Object.defineProperty(prototype, memberName, {
|
|
2149
2587
|
get() {
|
|
2150
|
-
|
|
2151
|
-
|
|
2152
|
-
|
|
2153
|
-
|
|
2154
|
-
},
|
|
2155
|
-
configurable: true,
|
|
2156
|
-
enumerable: true
|
|
2157
|
-
});
|
|
2158
|
-
} else if (flags & 1 /* isElementConstructor */ && memberFlags & 2048 /* Getter */) {
|
|
2159
|
-
{
|
|
2160
|
-
Object.defineProperty(prototype, memberName, {
|
|
2161
|
-
get() {
|
|
2588
|
+
{
|
|
2589
|
+
if ((cmpMeta.$members$[memberName][0] & 2048 /* Getter */) === 0) {
|
|
2590
|
+
return getValue(this, memberName);
|
|
2591
|
+
}
|
|
2162
2592
|
const ref = getHostRef(this);
|
|
2163
2593
|
const instance = ref ? ref.$lazyInstance$ : prototype;
|
|
2164
2594
|
if (!instance) return;
|
|
2165
2595
|
return instance[memberName];
|
|
2166
|
-
}
|
|
2167
|
-
|
|
2168
|
-
|
|
2169
|
-
|
|
2170
|
-
}
|
|
2171
|
-
|
|
2172
|
-
|
|
2173
|
-
|
|
2174
|
-
|
|
2175
|
-
|
|
2176
|
-
|
|
2177
|
-
|
|
2178
|
-
|
|
2179
|
-
|
|
2180
|
-
|
|
2181
|
-
|
|
2182
|
-
|
|
2183
|
-
|
|
2596
|
+
}
|
|
2597
|
+
},
|
|
2598
|
+
configurable: true,
|
|
2599
|
+
enumerable: true
|
|
2600
|
+
});
|
|
2601
|
+
}
|
|
2602
|
+
Object.defineProperty(prototype, memberName, {
|
|
2603
|
+
set(newValue) {
|
|
2604
|
+
const ref = getHostRef(this);
|
|
2605
|
+
if (!ref) {
|
|
2606
|
+
return;
|
|
2607
|
+
}
|
|
2608
|
+
if (origSetter) {
|
|
2609
|
+
const currentValue = memberFlags & 32 /* State */ ? this[memberName] : ref.$hostElement$[memberName];
|
|
2610
|
+
if (typeof currentValue === "undefined" && ref.$instanceValues$.get(memberName)) {
|
|
2611
|
+
newValue = ref.$instanceValues$.get(memberName);
|
|
2612
|
+
} else if (!ref.$instanceValues$.get(memberName) && currentValue) {
|
|
2613
|
+
ref.$instanceValues$.set(memberName, currentValue);
|
|
2614
|
+
}
|
|
2615
|
+
origSetter.apply(this, [
|
|
2616
|
+
parsePropertyValue(
|
|
2617
|
+
newValue,
|
|
2618
|
+
memberFlags)
|
|
2619
|
+
]);
|
|
2620
|
+
newValue = memberFlags & 32 /* State */ ? this[memberName] : ref.$hostElement$[memberName];
|
|
2621
|
+
setValue(this, memberName, newValue, cmpMeta);
|
|
2622
|
+
return;
|
|
2623
|
+
}
|
|
2624
|
+
{
|
|
2625
|
+
if ((flags & 1 /* isElementConstructor */) === 0 || (cmpMeta.$members$[memberName][0] & 4096 /* Setter */) === 0) {
|
|
2626
|
+
setValue(this, memberName, newValue, cmpMeta);
|
|
2627
|
+
if (flags & 1 /* isElementConstructor */ && !ref.$lazyInstance$) {
|
|
2628
|
+
ref.$onReadyPromise$.then(() => {
|
|
2629
|
+
if (cmpMeta.$members$[memberName][0] & 4096 /* Setter */ && ref.$lazyInstance$[memberName] !== ref.$instanceValues$.get(memberName)) {
|
|
2630
|
+
ref.$lazyInstance$[memberName] = newValue;
|
|
2631
|
+
}
|
|
2632
|
+
});
|
|
2184
2633
|
}
|
|
2185
|
-
|
|
2186
|
-
|
|
2187
|
-
|
|
2188
|
-
|
|
2189
|
-
|
|
2190
|
-
|
|
2191
|
-
ref.$lazyInstance$[memberName] = parsePropertyValue(newValue, cmpMeta.$members$[memberName][0]);
|
|
2192
|
-
setValue(this, memberName, ref.$lazyInstance$[memberName], cmpMeta);
|
|
2193
|
-
};
|
|
2194
|
-
if (ref.$lazyInstance$) {
|
|
2195
|
-
setterSetVal();
|
|
2196
|
-
} else {
|
|
2197
|
-
ref.$onReadyPromise$.then(() => setterSetVal());
|
|
2634
|
+
return;
|
|
2635
|
+
}
|
|
2636
|
+
const setterSetVal = () => {
|
|
2637
|
+
const currentValue = ref.$lazyInstance$[memberName];
|
|
2638
|
+
if (!ref.$instanceValues$.get(memberName) && currentValue) {
|
|
2639
|
+
ref.$instanceValues$.set(memberName, currentValue);
|
|
2198
2640
|
}
|
|
2641
|
+
ref.$lazyInstance$[memberName] = parsePropertyValue(
|
|
2642
|
+
newValue,
|
|
2643
|
+
memberFlags);
|
|
2644
|
+
setValue(this, memberName, ref.$lazyInstance$[memberName], cmpMeta);
|
|
2645
|
+
};
|
|
2646
|
+
if (ref.$lazyInstance$) {
|
|
2647
|
+
setterSetVal();
|
|
2648
|
+
} else {
|
|
2649
|
+
ref.$onReadyPromise$.then(() => setterSetVal());
|
|
2199
2650
|
}
|
|
2200
|
-
}
|
|
2651
|
+
}
|
|
2201
2652
|
}
|
|
2202
|
-
}
|
|
2653
|
+
});
|
|
2203
2654
|
} else if (flags & 1 /* isElementConstructor */ && memberFlags & 64 /* Method */) {
|
|
2204
2655
|
Object.defineProperty(prototype, memberName, {
|
|
2205
2656
|
value(...args) {
|
|
@@ -2219,7 +2670,7 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
2219
2670
|
plt.jmp(() => {
|
|
2220
2671
|
var _a2;
|
|
2221
2672
|
const propName = attrNameToPropName.get(attrName);
|
|
2222
|
-
if (this.hasOwnProperty(propName)) {
|
|
2673
|
+
if (this.hasOwnProperty(propName) && BUILD.lazyLoad) {
|
|
2223
2674
|
newValue = this[propName];
|
|
2224
2675
|
delete this[propName];
|
|
2225
2676
|
} else if (prototype.hasOwnProperty(propName) && typeof this[propName] === "number" && // cast type to number to avoid TS compiler issues
|
|
@@ -2228,7 +2679,7 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
2228
2679
|
} else if (propName == null) {
|
|
2229
2680
|
const hostRef = getHostRef(this);
|
|
2230
2681
|
const flags2 = hostRef == null ? void 0 : hostRef.$flags$;
|
|
2231
|
-
if (flags2 && !(flags2 & 8 /* isConstructingInstance */) && flags2 & 128 /* isWatchReady */ && newValue !== oldValue) {
|
|
2682
|
+
if (hostRef && flags2 && !(flags2 & 8 /* isConstructingInstance */) && flags2 & 128 /* isWatchReady */ && newValue !== oldValue) {
|
|
2232
2683
|
const instance = hostRef.$lazyInstance$ ;
|
|
2233
2684
|
const entry = (_a2 = cmpMeta.$watchers$) == null ? void 0 : _a2[attrName];
|
|
2234
2685
|
entry == null ? void 0 : entry.forEach((callbackName) => {
|
|
@@ -2240,15 +2691,16 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
2240
2691
|
return;
|
|
2241
2692
|
}
|
|
2242
2693
|
const propDesc = Object.getOwnPropertyDescriptor(prototype, propName);
|
|
2243
|
-
|
|
2244
|
-
|
|
2694
|
+
newValue = newValue === null && typeof this[propName] === "boolean" ? false : newValue;
|
|
2695
|
+
if (newValue !== this[propName] && (!propDesc.get || !!propDesc.set)) {
|
|
2696
|
+
this[propName] = newValue;
|
|
2245
2697
|
}
|
|
2246
2698
|
});
|
|
2247
2699
|
};
|
|
2248
2700
|
Cstr.observedAttributes = Array.from(
|
|
2249
2701
|
/* @__PURE__ */ new Set([
|
|
2250
2702
|
...Object.keys((_b = cmpMeta.$watchers$) != null ? _b : {}),
|
|
2251
|
-
...members.filter(([_, m]) => m[0] &
|
|
2703
|
+
...members.filter(([_, m]) => m[0] & 31 /* HasAttribute */).map(([propName, m]) => {
|
|
2252
2704
|
var _a2;
|
|
2253
2705
|
const attrName = m[1] || propName;
|
|
2254
2706
|
attrNameToPropName.set(attrName, propName);
|
|
@@ -2271,7 +2723,7 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
|
|
|
2271
2723
|
hostRef.$flags$ |= 32 /* hasInitializedComponent */;
|
|
2272
2724
|
const bundleId = cmpMeta.$lazyBundleId$;
|
|
2273
2725
|
if (bundleId) {
|
|
2274
|
-
const CstrImport = loadModule(cmpMeta);
|
|
2726
|
+
const CstrImport = loadModule(cmpMeta, hostRef);
|
|
2275
2727
|
if (CstrImport && "then" in CstrImport) {
|
|
2276
2728
|
const endLoad = uniqueTime();
|
|
2277
2729
|
Cstr = await CstrImport;
|
|
@@ -2296,16 +2748,16 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
|
|
|
2296
2748
|
try {
|
|
2297
2749
|
new Cstr(hostRef);
|
|
2298
2750
|
} catch (e) {
|
|
2299
|
-
consoleError(e);
|
|
2751
|
+
consoleError(e, elm);
|
|
2300
2752
|
}
|
|
2301
2753
|
{
|
|
2302
|
-
hostRef.$flags$ &=
|
|
2754
|
+
hostRef.$flags$ &= -9 /* isConstructingInstance */;
|
|
2303
2755
|
}
|
|
2304
2756
|
{
|
|
2305
2757
|
hostRef.$flags$ |= 128 /* isWatchReady */;
|
|
2306
2758
|
}
|
|
2307
2759
|
endNewInstance();
|
|
2308
|
-
fireConnectedCallback(hostRef.$lazyInstance
|
|
2760
|
+
fireConnectedCallback(hostRef.$lazyInstance$, elm);
|
|
2309
2761
|
} else {
|
|
2310
2762
|
Cstr = elm.constructor;
|
|
2311
2763
|
const cmpTag = elm.localName;
|
|
@@ -2332,9 +2784,9 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
|
|
|
2332
2784
|
schedule();
|
|
2333
2785
|
}
|
|
2334
2786
|
};
|
|
2335
|
-
var fireConnectedCallback = (instance) => {
|
|
2787
|
+
var fireConnectedCallback = (instance, elm) => {
|
|
2336
2788
|
{
|
|
2337
|
-
safeCall(instance, "connectedCallback");
|
|
2789
|
+
safeCall(instance, "connectedCallback", void 0, elm);
|
|
2338
2790
|
}
|
|
2339
2791
|
};
|
|
2340
2792
|
|
|
@@ -2342,6 +2794,9 @@ var fireConnectedCallback = (instance) => {
|
|
|
2342
2794
|
var connectedCallback = (elm) => {
|
|
2343
2795
|
if ((plt.$flags$ & 1 /* isTmpDisconnected */) === 0) {
|
|
2344
2796
|
const hostRef = getHostRef(elm);
|
|
2797
|
+
if (!hostRef) {
|
|
2798
|
+
return;
|
|
2799
|
+
}
|
|
2345
2800
|
const cmpMeta = hostRef.$cmpMeta$;
|
|
2346
2801
|
const endConnected = createTime("connectedCallback", cmpMeta.$tagName$);
|
|
2347
2802
|
if (!(hostRef.$flags$ & 1 /* hasConnected */)) {
|
|
@@ -2390,61 +2845,77 @@ var connectedCallback = (elm) => {
|
|
|
2390
2845
|
} else {
|
|
2391
2846
|
addHostEventListeners(elm, hostRef, cmpMeta.$listeners$);
|
|
2392
2847
|
if (hostRef == null ? void 0 : hostRef.$lazyInstance$) {
|
|
2393
|
-
fireConnectedCallback(hostRef.$lazyInstance
|
|
2848
|
+
fireConnectedCallback(hostRef.$lazyInstance$, elm);
|
|
2394
2849
|
} else if (hostRef == null ? void 0 : hostRef.$onReadyPromise$) {
|
|
2395
|
-
hostRef.$onReadyPromise$.then(() => fireConnectedCallback(hostRef.$lazyInstance
|
|
2850
|
+
hostRef.$onReadyPromise$.then(() => fireConnectedCallback(hostRef.$lazyInstance$, elm));
|
|
2396
2851
|
}
|
|
2397
2852
|
}
|
|
2398
2853
|
endConnected();
|
|
2399
2854
|
}
|
|
2400
2855
|
};
|
|
2401
2856
|
var setContentReference = (elm) => {
|
|
2402
|
-
|
|
2857
|
+
if (!win.document) {
|
|
2858
|
+
return;
|
|
2859
|
+
}
|
|
2860
|
+
const contentRefElm = elm["s-cr"] = win.document.createComment(
|
|
2403
2861
|
""
|
|
2404
2862
|
);
|
|
2405
2863
|
contentRefElm["s-cn"] = true;
|
|
2406
2864
|
insertBefore(elm, contentRefElm, elm.firstChild);
|
|
2407
2865
|
};
|
|
2408
|
-
var disconnectInstance = (instance) => {
|
|
2866
|
+
var disconnectInstance = (instance, elm) => {
|
|
2409
2867
|
{
|
|
2410
|
-
safeCall(instance, "disconnectedCallback");
|
|
2868
|
+
safeCall(instance, "disconnectedCallback", void 0, elm || instance);
|
|
2411
2869
|
}
|
|
2412
2870
|
};
|
|
2413
2871
|
var disconnectedCallback = async (elm) => {
|
|
2414
2872
|
if ((plt.$flags$ & 1 /* isTmpDisconnected */) === 0) {
|
|
2415
2873
|
const hostRef = getHostRef(elm);
|
|
2416
2874
|
{
|
|
2417
|
-
if (hostRef.$rmListeners$) {
|
|
2875
|
+
if (hostRef == null ? void 0 : hostRef.$rmListeners$) {
|
|
2418
2876
|
hostRef.$rmListeners$.map((rmListener) => rmListener());
|
|
2419
2877
|
hostRef.$rmListeners$ = void 0;
|
|
2420
2878
|
}
|
|
2421
2879
|
}
|
|
2422
2880
|
if (hostRef == null ? void 0 : hostRef.$lazyInstance$) {
|
|
2423
|
-
disconnectInstance(hostRef.$lazyInstance
|
|
2881
|
+
disconnectInstance(hostRef.$lazyInstance$, elm);
|
|
2424
2882
|
} else if (hostRef == null ? void 0 : hostRef.$onReadyPromise$) {
|
|
2425
|
-
hostRef.$onReadyPromise$.then(() => disconnectInstance(hostRef.$lazyInstance
|
|
2883
|
+
hostRef.$onReadyPromise$.then(() => disconnectInstance(hostRef.$lazyInstance$, elm));
|
|
2426
2884
|
}
|
|
2427
2885
|
}
|
|
2886
|
+
if (rootAppliedStyles.has(elm)) {
|
|
2887
|
+
rootAppliedStyles.delete(elm);
|
|
2888
|
+
}
|
|
2889
|
+
if (elm.shadowRoot && rootAppliedStyles.has(elm.shadowRoot)) {
|
|
2890
|
+
rootAppliedStyles.delete(elm.shadowRoot);
|
|
2891
|
+
}
|
|
2428
2892
|
};
|
|
2429
2893
|
|
|
2430
2894
|
// src/runtime/bootstrap-lazy.ts
|
|
2431
2895
|
var bootstrapLazy = (lazyBundles, options = {}) => {
|
|
2432
2896
|
var _a;
|
|
2897
|
+
if (!win.document) {
|
|
2898
|
+
console.warn("Stencil: No document found. Skipping bootstrapping lazy components.");
|
|
2899
|
+
return;
|
|
2900
|
+
}
|
|
2433
2901
|
const endBootstrap = createTime();
|
|
2434
2902
|
const cmpTags = [];
|
|
2435
2903
|
const exclude = options.exclude || [];
|
|
2436
2904
|
const customElements2 = win.customElements;
|
|
2437
|
-
const head =
|
|
2905
|
+
const head = win.document.head;
|
|
2438
2906
|
const metaCharset = /* @__PURE__ */ head.querySelector("meta[charset]");
|
|
2439
|
-
const dataStyles = /* @__PURE__ */
|
|
2907
|
+
const dataStyles = /* @__PURE__ */ win.document.createElement("style");
|
|
2440
2908
|
const deferredConnectedCallbacks = [];
|
|
2441
2909
|
let appLoadFallback;
|
|
2442
2910
|
let isBootstrapping = true;
|
|
2443
2911
|
Object.assign(plt, options);
|
|
2444
|
-
plt.$resourcesUrl$ = new URL(options.resourcesUrl || "./",
|
|
2912
|
+
plt.$resourcesUrl$ = new URL(options.resourcesUrl || "./", win.document.baseURI).href;
|
|
2445
2913
|
{
|
|
2446
2914
|
plt.$flags$ |= 2 /* appLoaded */;
|
|
2447
2915
|
}
|
|
2916
|
+
{
|
|
2917
|
+
hydrateScopedToShadow();
|
|
2918
|
+
}
|
|
2448
2919
|
let hasSlotRelocation = false;
|
|
2449
2920
|
lazyBundles.map((lazyBundle) => {
|
|
2450
2921
|
lazyBundle[1].map((compactMeta) => {
|
|
@@ -2481,12 +2952,7 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
|
|
|
2481
2952
|
if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) {
|
|
2482
2953
|
{
|
|
2483
2954
|
if (!self.shadowRoot) {
|
|
2484
|
-
|
|
2485
|
-
self.attachShadow({
|
|
2486
|
-
mode: "open",
|
|
2487
|
-
delegatesFocus: !!(cmpMeta.$flags$ & 16 /* shadowDelegatesFocus */)
|
|
2488
|
-
});
|
|
2489
|
-
}
|
|
2955
|
+
createShadowRoot.call(self, cmpMeta);
|
|
2490
2956
|
} else {
|
|
2491
2957
|
if (self.shadowRoot.mode !== "open") {
|
|
2492
2958
|
throw new Error(
|
|
@@ -2499,6 +2965,9 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
|
|
|
2499
2965
|
}
|
|
2500
2966
|
connectedCallback() {
|
|
2501
2967
|
const hostRef = getHostRef(this);
|
|
2968
|
+
if (!hostRef) {
|
|
2969
|
+
return;
|
|
2970
|
+
}
|
|
2502
2971
|
if (!this.hasRegisteredEventListeners) {
|
|
2503
2972
|
this.hasRegisteredEventListeners = true;
|
|
2504
2973
|
addHostEventListeners(this, hostRef, cmpMeta.$listeners$);
|
|
@@ -2515,14 +2984,31 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
|
|
|
2515
2984
|
}
|
|
2516
2985
|
disconnectedCallback() {
|
|
2517
2986
|
plt.jmp(() => disconnectedCallback(this));
|
|
2987
|
+
plt.raf(() => {
|
|
2988
|
+
var _a3;
|
|
2989
|
+
const hostRef = getHostRef(this);
|
|
2990
|
+
if (!hostRef) {
|
|
2991
|
+
return;
|
|
2992
|
+
}
|
|
2993
|
+
const i2 = deferredConnectedCallbacks.findIndex((host) => host === this);
|
|
2994
|
+
if (i2 > -1) {
|
|
2995
|
+
deferredConnectedCallbacks.splice(i2, 1);
|
|
2996
|
+
}
|
|
2997
|
+
if (((_a3 = hostRef == null ? void 0 : hostRef.$vnode$) == null ? void 0 : _a3.$elm$) instanceof Node && !hostRef.$vnode$.$elm$.isConnected) {
|
|
2998
|
+
delete hostRef.$vnode$.$elm$;
|
|
2999
|
+
}
|
|
3000
|
+
});
|
|
2518
3001
|
}
|
|
2519
3002
|
componentOnReady() {
|
|
2520
|
-
|
|
3003
|
+
var _a3;
|
|
3004
|
+
return (_a3 = getHostRef(this)) == null ? void 0 : _a3.$onReadyPromise$;
|
|
2521
3005
|
}
|
|
2522
3006
|
};
|
|
2523
|
-
{
|
|
3007
|
+
if (!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) && cmpMeta.$flags$ & 256 /* hasRenderFn */) {
|
|
2524
3008
|
{
|
|
2525
|
-
|
|
3009
|
+
{
|
|
3010
|
+
patchChildSlotNodes(HostElement.prototype);
|
|
3011
|
+
}
|
|
2526
3012
|
}
|
|
2527
3013
|
}
|
|
2528
3014
|
cmpMeta.$lazyBundleId$ = lazyBundle[0];
|
|
@@ -2541,7 +3027,7 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
|
|
|
2541
3027
|
}
|
|
2542
3028
|
if (dataStyles.innerHTML.length) {
|
|
2543
3029
|
dataStyles.setAttribute("data-styles", "");
|
|
2544
|
-
const nonce = (_a = plt.$nonce$) != null ? _a : queryNonceMetaTagContent(
|
|
3030
|
+
const nonce = (_a = plt.$nonce$) != null ? _a : queryNonceMetaTagContent(win.document);
|
|
2545
3031
|
if (nonce != null) {
|
|
2546
3032
|
dataStyles.setAttribute("nonce", nonce);
|
|
2547
3033
|
}
|
|
@@ -2562,9 +3048,9 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
|
|
|
2562
3048
|
// src/runtime/fragment.ts
|
|
2563
3049
|
var Fragment = (_, children) => children;
|
|
2564
3050
|
var addHostEventListeners = (elm, hostRef, listeners, attachParentListeners) => {
|
|
2565
|
-
if (listeners) {
|
|
3051
|
+
if (listeners && win.document) {
|
|
2566
3052
|
listeners.map(([flags, name, method]) => {
|
|
2567
|
-
const target = getHostListenerTarget(elm, flags) ;
|
|
3053
|
+
const target = getHostListenerTarget(win.document, elm, flags) ;
|
|
2568
3054
|
const handler = hostListenerProxy(hostRef, method);
|
|
2569
3055
|
const opts = hostListenerOpts(flags);
|
|
2570
3056
|
plt.ael(target, name, handler, opts);
|
|
@@ -2583,13 +3069,19 @@ var hostListenerProxy = (hostRef, methodName) => (ev) => {
|
|
|
2583
3069
|
}
|
|
2584
3070
|
}
|
|
2585
3071
|
} catch (e) {
|
|
2586
|
-
consoleError(e);
|
|
3072
|
+
consoleError(e, hostRef.$hostElement$);
|
|
2587
3073
|
}
|
|
2588
3074
|
};
|
|
2589
|
-
var getHostListenerTarget = (elm, flags) => {
|
|
2590
|
-
if (flags & 4 /* TargetDocument */)
|
|
2591
|
-
|
|
2592
|
-
|
|
3075
|
+
var getHostListenerTarget = (doc, elm, flags) => {
|
|
3076
|
+
if (flags & 4 /* TargetDocument */) {
|
|
3077
|
+
return doc;
|
|
3078
|
+
}
|
|
3079
|
+
if (flags & 8 /* TargetWindow */) {
|
|
3080
|
+
return win;
|
|
3081
|
+
}
|
|
3082
|
+
if (flags & 16 /* TargetBody */) {
|
|
3083
|
+
return doc.body;
|
|
3084
|
+
}
|
|
2593
3085
|
return elm;
|
|
2594
3086
|
};
|
|
2595
3087
|
var hostListenerOpts = (flags) => supportsListenerOptions ? {
|
|
@@ -2607,9 +3099,9 @@ exports.Host = Host;
|
|
|
2607
3099
|
exports.NAMESPACE = NAMESPACE;
|
|
2608
3100
|
exports.bootstrapLazy = bootstrapLazy;
|
|
2609
3101
|
exports.createEvent = createEvent;
|
|
2610
|
-
exports.doc = doc;
|
|
2611
3102
|
exports.getElement = getElement;
|
|
2612
3103
|
exports.h = h;
|
|
2613
3104
|
exports.promiseResolve = promiseResolve;
|
|
2614
3105
|
exports.registerInstance = registerInstance;
|
|
2615
3106
|
exports.setNonce = setNonce;
|
|
3107
|
+
exports.win = win;
|