@maggioli-design-system/magma 2.0.0-alpha.1 → 2.0.0-beta.2
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/README.md +15 -2
- package/dist/cjs/{datetime-CVIe4VUc.js → datetime-DHnUzK2K.js} +1 -1
- package/dist/cjs/{index-BoL6yK0y.js → index-CNuKb6Lv.js} +482 -370
- package/dist/cjs/index.cjs.js +257 -0
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/magma-components.cjs.js +3 -3
- package/dist/cjs/mds-accordion-item.cjs.entry.js +4 -4
- package/dist/cjs/mds-accordion-timer-item.cjs.entry.js +7 -5
- package/dist/cjs/mds-accordion-timer.cjs.entry.js +9 -7
- package/dist/cjs/mds-accordion.cjs.entry.js +4 -4
- package/dist/cjs/mds-author.cjs.entry.js +4 -4
- package/dist/cjs/mds-avatar-stack-item.cjs.entry.js +4 -4
- package/dist/cjs/mds-avatar-stack.cjs.entry.js +4 -4
- package/dist/cjs/mds-avatar.cjs.entry.js +41 -14
- package/dist/cjs/mds-badge.cjs.entry.js +8 -6
- package/dist/cjs/mds-banner_3.cjs.entry.js +33 -19
- package/dist/cjs/mds-benchmark-bar.cjs.entry.js +8 -6
- package/dist/cjs/mds-bibliography.cjs.entry.js +8 -8
- package/dist/cjs/mds-breadcrumb-item.cjs.entry.js +4 -4
- package/dist/cjs/mds-breadcrumb.cjs.entry.js +7 -4
- package/dist/cjs/mds-button-dropdown.cjs.entry.js +4 -4
- package/dist/cjs/mds-button-group.cjs.entry.js +4 -4
- package/dist/cjs/mds-button_3.cjs.entry.js +44 -249
- package/dist/cjs/mds-calendar_2.cjs.entry.js +287 -144
- package/dist/cjs/mds-card-content.cjs.entry.js +4 -4
- package/dist/cjs/mds-card-footer.cjs.entry.js +4 -4
- package/dist/cjs/mds-card-header.cjs.entry.js +4 -4
- package/dist/cjs/mds-card-media.cjs.entry.js +4 -4
- package/dist/cjs/mds-card.cjs.entry.js +11 -13
- package/dist/cjs/mds-details.cjs.entry.js +7 -5
- package/dist/cjs/mds-dropdown.cjs.entry.js +42 -18
- package/dist/cjs/mds-emoji.cjs.entry.js +29 -20
- package/dist/cjs/mds-entity.cjs.entry.js +4 -4
- package/dist/cjs/mds-file-preview.cjs.entry.js +18 -6
- package/dist/cjs/mds-file.cjs.entry.js +10 -5
- package/dist/cjs/mds-filter-item.cjs.entry.js +7 -7
- package/dist/cjs/mds-filter.cjs.entry.js +5 -5
- package/dist/cjs/mds-header-bar.cjs.entry.js +8 -4
- package/dist/cjs/mds-header.cjs.entry.js +30 -16
- package/dist/cjs/mds-horizontal-scroll.cjs.entry.js +18 -13
- package/dist/cjs/mds-hr.cjs.entry.js +4 -4
- package/dist/cjs/mds-img.cjs.entry.js +15 -8
- package/dist/cjs/mds-input-date-range-preselection.cjs.entry.js +4 -4
- package/dist/cjs/mds-input-date-range.cjs.entry.js +221 -71
- package/dist/cjs/mds-input-date.cjs.entry.js +40 -17
- package/dist/cjs/mds-input-field.cjs.entry.js +7 -7
- package/dist/cjs/mds-input-otp.cjs.entry.js +6 -6
- package/dist/cjs/mds-input-range.cjs.entry.js +19 -9
- package/dist/cjs/mds-input-select.cjs.entry.js +39 -19
- package/dist/cjs/mds-input-switch_2.cjs.entry.js +19 -10
- package/dist/cjs/mds-input-tip_2.cjs.entry.js +14 -9
- package/dist/cjs/mds-input-upload.cjs.entry.js +19 -12
- package/dist/cjs/mds-input.cjs.entry.js +39 -16
- package/dist/cjs/mds-keyboard-key.cjs.entry.js +8 -5
- package/dist/cjs/mds-keyboard.cjs.entry.js +13 -8
- package/dist/cjs/mds-kpi-item.cjs.entry.js +4 -4
- package/dist/cjs/mds-kpi.cjs.entry.js +4 -4
- package/dist/cjs/mds-label.cjs.entry.js +7 -4
- package/dist/cjs/mds-list-item.cjs.entry.js +4 -4
- package/dist/cjs/mds-list.cjs.entry.js +4 -4
- package/dist/cjs/mds-mention.cjs.entry.js +4 -4
- package/dist/cjs/mds-modal.cjs.entry.js +22 -15
- package/dist/cjs/mds-note.cjs.entry.js +7 -4
- package/dist/cjs/mds-notification.cjs.entry.js +11 -9
- package/dist/cjs/mds-paginator-item.cjs.entry.js +7 -7
- package/dist/cjs/mds-paginator.cjs.entry.js +4 -4
- package/dist/cjs/mds-policy-ai.cjs.entry.js +7 -4
- package/dist/cjs/mds-pref-animation.cjs.entry.js +13 -8
- package/dist/cjs/mds-pref-consumption.cjs.entry.js +13 -8
- package/dist/cjs/mds-pref-contrast.cjs.entry.js +14 -9
- package/dist/cjs/mds-pref-language-item.cjs.entry.js +7 -4
- package/dist/cjs/mds-pref-language.cjs.entry.js +8 -5
- package/dist/cjs/mds-pref-theme-variant-item.cjs.entry.js +8 -5
- package/dist/cjs/mds-pref-theme-variant.cjs.entry.js +9 -6
- package/dist/cjs/mds-pref-theme.cjs.entry.js +17 -12
- package/dist/cjs/mds-pref.cjs.entry.js +15 -8
- package/dist/cjs/mds-price-table-features-cell.cjs.entry.js +4 -4
- package/dist/cjs/mds-price-table-features-row.cjs.entry.js +4 -4
- package/dist/cjs/mds-price-table-features.cjs.entry.js +4 -4
- package/dist/cjs/mds-price-table-header.cjs.entry.js +4 -4
- package/dist/cjs/mds-price-table-list-item.cjs.entry.js +4 -4
- package/dist/cjs/mds-price-table-list.cjs.entry.js +4 -4
- package/dist/cjs/mds-price-table.cjs.entry.js +4 -4
- package/dist/cjs/mds-progress_2.cjs.entry.js +17 -11
- package/dist/cjs/mds-push-notification-item.cjs.entry.js +12 -7
- package/dist/cjs/mds-push-notification.cjs.entry.js +22 -10
- package/dist/cjs/mds-quote.cjs.entry.js +4 -4
- package/dist/cjs/mds-radial-menu-item.cjs.entry.js +7 -4
- package/dist/cjs/mds-radial-menu.cjs.entry.js +30 -14
- package/dist/cjs/mds-separator.cjs.entry.js +4 -4
- package/dist/cjs/mds-status-bar.cjs.entry.js +10 -5
- package/dist/cjs/mds-stepper-bar-item.cjs.entry.js +13 -6
- package/dist/cjs/mds-stepper-bar.cjs.entry.js +8 -6
- package/dist/cjs/mds-tab-bar-item.cjs.entry.js +14 -7
- package/dist/cjs/mds-tab-bar.cjs.entry.js +4 -4
- package/dist/cjs/mds-tab_2.cjs.entry.js +28 -16
- package/dist/cjs/mds-table-body.cjs.entry.js +4 -4
- package/dist/cjs/mds-table-footer.cjs.entry.js +4 -4
- package/dist/cjs/mds-table-header-cell.cjs.entry.js +27 -12
- package/dist/cjs/mds-table-header.cjs.entry.js +13 -5
- package/dist/cjs/mds-table-row.cjs.entry.js +12 -6
- package/dist/cjs/mds-table.cjs.entry.js +11 -7
- package/dist/cjs/mds-text.cjs.entry.js +9 -7
- package/dist/cjs/mds-toast.cjs.entry.js +12 -8
- package/dist/cjs/mds-tooltip.cjs.entry.js +35 -15
- package/dist/cjs/mds-tree-item.cjs.entry.js +16 -6
- package/dist/cjs/mds-tree.cjs.entry.js +14 -8
- package/dist/cjs/mds-url-view.cjs.entry.js +10 -7
- package/dist/cjs/mds-usage.cjs.entry.js +7 -4
- package/dist/cjs/mds-video-wall.cjs.entry.js +4 -4
- package/dist/cjs/mds-zero.cjs.entry.js +4 -4
- package/dist/collection/collection-manifest.json +3 -2
- package/dist/collection/components/mds-accordion/mds-accordion.js +4 -3
- package/dist/collection/components/mds-accordion-item/mds-accordion-item.js +10 -6
- package/dist/collection/components/mds-accordion-timer/mds-accordion-timer.js +6 -5
- package/dist/collection/components/mds-accordion-timer-item/mds-accordion-timer-item.js +12 -7
- package/dist/collection/components/mds-author/mds-author.js +2 -2
- package/dist/collection/components/mds-avatar/mds-avatar.js +30 -9
- package/dist/collection/components/mds-avatar-stack/mds-avatar-stack.js +6 -2
- package/dist/collection/components/mds-avatar-stack-item/mds-avatar-stack-item.js +5 -3
- package/dist/collection/components/mds-badge/mds-badge.js +9 -6
- package/dist/collection/components/mds-banner/mds-banner.js +11 -6
- package/dist/collection/components/mds-benchmark-bar/mds-benchmark-bar.js +9 -6
- package/dist/collection/components/mds-bibliography/mds-bibliography.js +15 -10
- package/dist/collection/components/mds-breadcrumb/mds-breadcrumb.js +8 -4
- package/dist/collection/components/mds-breadcrumb-item/mds-breadcrumb-item.js +3 -2
- package/dist/collection/components/mds-button/mds-button.js +23 -13
- package/dist/collection/components/mds-button-dropdown/mds-button-dropdown.js +16 -7
- package/dist/collection/components/mds-button-group/mds-button-group.js +4 -1
- package/dist/collection/components/mds-calendar/mds-calendar.css +63 -5
- package/dist/collection/components/mds-calendar/mds-calendar.js +450 -143
- package/dist/collection/components/mds-calendar-cell/mds-calendar-cell.js +7 -4
- package/dist/collection/components/mds-card/mds-card.js +8 -10
- package/dist/collection/components/mds-card-content/mds-card-content.js +2 -2
- package/dist/collection/components/mds-card-footer/mds-card-footer.js +2 -2
- package/dist/collection/components/mds-card-header/mds-card-header.js +2 -2
- package/dist/collection/components/mds-card-media/mds-card-media.js +2 -2
- package/dist/collection/components/mds-chip/mds-chip.js +20 -12
- package/dist/collection/components/mds-details/mds-details.js +2 -2
- package/dist/collection/components/mds-dropdown/mds-dropdown.js +16 -10
- package/dist/collection/components/mds-emoji/mds-emoji.js +18 -7
- package/dist/collection/components/mds-entity/mds-entity.js +6 -4
- package/dist/collection/components/mds-file/mds-file.js +10 -5
- package/dist/collection/components/mds-file-preview/mds-file-preview.js +21 -8
- package/dist/collection/components/mds-filter/mds-filter.js +5 -4
- package/dist/collection/components/mds-filter-item/mds-filter-item.js +6 -5
- package/dist/collection/components/mds-header/mds-header.js +30 -17
- package/dist/collection/components/mds-header-bar/mds-header-bar.js +16 -7
- package/dist/collection/components/mds-help/mds-help.js +4 -3
- package/dist/collection/components/mds-horizontal-scroll/mds-horizontal-scroll.js +19 -13
- package/dist/collection/components/mds-hr/mds-hr.js +1 -1
- package/dist/collection/components/mds-icon/mds-icon.js +2 -2
- package/dist/collection/components/mds-icon/services/icons-set.service.js +33 -1
- package/dist/collection/components/mds-img/mds-img.js +17 -9
- package/dist/collection/components/mds-input/mds-input.js +65 -30
- package/dist/collection/components/mds-input-date/mds-input-date.js +52 -22
- package/dist/collection/components/mds-input-date-range/mds-input-date-range.css +37 -1
- package/dist/collection/components/mds-input-date-range/mds-input-date-range.js +245 -84
- package/dist/collection/components/mds-input-date-range/test/mds-input-date-range.stories.js +10 -0
- package/dist/collection/components/mds-input-date-range-preselection/mds-input-date-range-preselection.js +4 -1
- package/dist/collection/components/mds-input-field/mds-input-field.js +9 -5
- package/dist/collection/components/mds-input-otp/mds-input-otp.js +3 -3
- package/dist/collection/components/mds-input-range/mds-input-range.js +2 -1
- package/dist/collection/components/mds-input-select/mds-input-select.js +33 -16
- package/dist/collection/components/mds-input-switch/mds-input-switch.js +18 -9
- package/dist/collection/components/mds-input-tip/mds-input-tip.js +6 -2
- package/dist/collection/components/mds-input-tip-item/mds-input-tip-item.js +11 -4
- package/dist/collection/components/mds-input-upload/mds-input-upload.js +15 -10
- package/dist/collection/components/mds-keyboard/mds-keyboard.js +13 -6
- package/dist/collection/components/mds-keyboard-key/mds-keyboard-key.js +9 -5
- package/dist/collection/components/mds-kpi/mds-kpi.js +2 -2
- package/dist/collection/components/mds-kpi-item/mds-kpi-item.js +1 -1
- package/dist/collection/components/mds-label/mds-label.js +11 -5
- package/dist/collection/components/mds-list/mds-list.js +2 -2
- package/dist/collection/components/mds-list-item/mds-list-item.js +8 -5
- package/dist/collection/components/mds-mention/mds-mention.js +3 -2
- package/dist/collection/components/mds-modal/mds-modal.js +25 -17
- package/dist/collection/components/mds-note/mds-note.js +8 -4
- package/dist/collection/components/mds-notification/mds-notification.js +7 -6
- package/dist/collection/components/mds-paginator/mds-paginator.js +3 -2
- package/dist/collection/components/mds-paginator-item/mds-paginator-item.js +5 -5
- package/dist/collection/components/mds-policy-ai/mds-policy-ai.js +7 -3
- package/dist/collection/components/mds-pref/mds-pref.js +10 -6
- package/dist/collection/components/mds-pref-animation/mds-pref-animation.js +14 -8
- package/dist/collection/components/mds-pref-consumption/mds-pref-consumption.js +14 -8
- package/dist/collection/components/mds-pref-contrast/mds-pref-contrast.js +15 -9
- package/dist/collection/components/mds-pref-language/mds-pref-language.js +13 -7
- package/dist/collection/components/mds-pref-language-item/mds-pref-language-item.js +7 -3
- package/dist/collection/components/mds-pref-theme/mds-pref-theme.js +20 -13
- package/dist/collection/components/mds-pref-theme-variant/mds-pref-theme-variant.js +16 -9
- package/dist/collection/components/mds-pref-theme-variant-item/mds-pref-theme-variant-item.js +10 -5
- package/dist/collection/components/mds-price-table/mds-price-table.js +4 -1
- package/dist/collection/components/mds-price-table-features/mds-price-table-features.js +2 -2
- package/dist/collection/components/mds-price-table-features-cell/mds-price-table-features-cell.js +4 -3
- package/dist/collection/components/mds-price-table-features-row/mds-price-table-features-row.js +2 -2
- package/dist/collection/components/mds-price-table-header/mds-price-table-header.js +4 -1
- package/dist/collection/components/mds-price-table-list/mds-price-table-list.js +2 -2
- package/dist/collection/components/mds-price-table-list-item/mds-price-table-list-item.js +6 -2
- package/dist/collection/components/mds-progress/mds-progress.js +10 -6
- package/dist/collection/components/mds-push-notification/mds-push-notification.js +27 -15
- package/dist/collection/components/mds-push-notification-item/mds-push-notification-item.js +17 -9
- package/dist/collection/components/mds-quote/mds-quote.js +6 -4
- package/dist/collection/components/mds-radial-menu/mds-radial-menu.js +16 -8
- package/dist/collection/components/mds-radial-menu-item/mds-radial-menu-item.js +11 -5
- package/dist/collection/components/mds-radial-progress/mds-radial-progress.js +5 -3
- package/dist/collection/components/mds-separator/mds-separator.js +1 -1
- package/dist/collection/components/mds-spinner/mds-spinner.js +1 -1
- package/dist/collection/components/mds-status-bar/mds-status-bar.js +10 -5
- package/dist/collection/components/mds-stepper-bar/mds-stepper-bar.js +7 -5
- package/dist/collection/components/mds-stepper-bar-item/mds-stepper-bar-item.js +9 -4
- package/dist/collection/components/mds-tab/mds-tab.js +13 -9
- package/dist/collection/components/mds-tab-bar/mds-tab-bar.js +4 -3
- package/dist/collection/components/mds-tab-bar-item/mds-tab-bar-item.js +9 -5
- package/dist/collection/components/mds-tab-item/mds-tab-item.js +11 -6
- package/dist/collection/components/mds-table/mds-table.js +9 -7
- package/dist/collection/components/mds-table-body/mds-table-body.js +4 -4
- package/dist/collection/components/mds-table-cell/mds-table-cell.js +2 -2
- package/dist/collection/components/mds-table-footer/mds-table-footer.js +2 -2
- package/dist/collection/components/mds-table-header/mds-table-header.js +23 -9
- package/dist/collection/components/mds-table-header-cell/mds-table-header-cell.js +21 -9
- package/dist/collection/components/mds-table-row/mds-table-row.js +16 -10
- package/dist/collection/components/mds-text/mds-text.js +15 -10
- package/dist/collection/components/mds-toast/mds-toast.js +10 -7
- package/dist/collection/components/mds-tooltip/mds-tooltip.js +9 -6
- package/dist/collection/components/mds-tree/mds-tree.js +13 -8
- package/dist/collection/components/mds-tree-item/mds-tree-item.js +21 -10
- package/dist/collection/components/mds-url-view/mds-url-view.js +10 -6
- package/dist/collection/components/mds-usage/mds-usage.js +8 -4
- package/dist/collection/components/mds-video-wall/mds-video-wall.js +6 -4
- package/dist/collection/components/mds-zero/mds-zero.js +2 -2
- package/dist/collection/index.js +15 -0
- package/dist/components/_commonjsHelpers.js +1 -32
- package/dist/components/aria.js +1 -45
- package/dist/components/arrow-back.js +1 -3
- package/dist/components/arrow-forward.js +1 -3
- package/dist/components/broken-image.js +1 -3
- package/dist/components/browser.js +1 -8
- package/dist/components/calendar-today.js +1 -3
- package/dist/components/cancel.js +1 -3
- package/dist/components/check-circle.js +1 -3
- package/dist/components/circle.js +1 -3
- package/dist/components/close.js +1 -3
- package/dist/components/clsx.js +1 -3
- package/dist/components/date.js +1 -14
- package/dist/components/done.js +1 -3
- package/dist/components/floating-controller.js +1 -200
- package/dist/components/floating-ui.dom.js +1 -1695
- package/dist/components/horizontal-rule.js +1 -3
- package/dist/components/icons-set.service.js +1 -0
- package/dist/components/index.d.ts +2 -0
- package/dist/components/index.js +1 -1
- package/dist/components/keyboard-arrow-down.js +1 -3
- package/dist/components/keyboard-arrow-right.js +1 -3
- package/dist/components/keyboard-arrow-up.js +1 -3
- package/dist/components/keyboard-manager.js +1 -50
- package/dist/components/keys.js +1 -775
- package/dist/components/locale.it.js +1 -571
- package/dist/components/locale.js +1 -831
- package/dist/components/mds-accordion-item.js +1 -63
- package/dist/components/mds-accordion-timer-item.js +1 -120
- package/dist/components/mds-accordion-timer.js +1 -179
- package/dist/components/mds-accordion.js +1 -83
- package/dist/components/mds-author.js +1 -39
- package/dist/components/mds-avatar-stack-item.js +1 -6
- package/dist/components/mds-avatar-stack-item2.js +1 -78
- package/dist/components/mds-avatar-stack.js +1 -84
- package/dist/components/mds-avatar.js +1 -6
- package/dist/components/mds-avatar2.js +1 -246
- package/dist/components/mds-badge.js +1 -6
- package/dist/components/mds-badge2.js +1 -71
- package/dist/components/mds-banner.js +1 -6
- package/dist/components/mds-banner2.js +1 -177
- package/dist/components/mds-benchmark-bar.js +1 -99
- package/dist/components/mds-bibliography.js +1 -179
- package/dist/components/mds-breadcrumb-item.js +1 -70
- package/dist/components/mds-breadcrumb.js +1 -177
- package/dist/components/mds-button-dropdown.js +1 -104
- package/dist/components/mds-button-group.js +1 -35
- package/dist/components/mds-button.js +1 -6
- package/dist/components/mds-button2.js +1 -280
- package/dist/components/mds-calendar-cell.js +1 -6
- package/dist/components/mds-calendar-cell2.js +1 -86
- package/dist/components/mds-calendar.js +1 -6
- package/dist/components/mds-calendar2.js +1 -8602
- package/dist/components/mds-card-content.js +1 -35
- package/dist/components/mds-card-footer.js +1 -35
- package/dist/components/mds-card-header.js +1 -39
- package/dist/components/mds-card-media.js +1 -35
- package/dist/components/mds-card.js +1 -60
- package/dist/components/mds-chip.js +1 -6
- package/dist/components/mds-chip2.js +1 -195
- package/dist/components/mds-details.js +1 -81
- package/dist/components/mds-dropdown.js +1 -6
- package/dist/components/mds-dropdown2.js +1 -285
- package/dist/components/mds-emoji.js +3 -6971
- package/dist/components/mds-entity.js +1 -99
- package/dist/components/mds-file-preview.js +1 -6
- package/dist/components/mds-file-preview2.js +8 -359
- package/dist/components/mds-file.js +14 -7649
- package/dist/components/mds-filter-item.js +1 -6
- package/dist/components/mds-filter-item2.js +1 -67
- package/dist/components/mds-filter.js +1 -151
- package/dist/components/mds-header-bar.js +1 -88
- package/dist/components/mds-header.js +1 -256
- package/dist/components/mds-help.js +1 -6
- package/dist/components/mds-help2.js +1 -65
- package/dist/components/mds-horizontal-scroll.js +1 -267
- package/dist/components/mds-hr.js +1 -35
- package/dist/components/mds-icon.js +1 -6
- package/dist/components/mds-icon2.js +1 -313
- package/dist/components/mds-img.js +1 -6
- package/dist/components/mds-img2.js +1 -209
- package/dist/components/mds-input-date-range-preselection.js +1 -73
- package/dist/components/mds-input-date-range.js +1 -420
- package/dist/components/mds-input-date.js +1 -257
- package/dist/components/mds-input-field.js +1 -75
- package/dist/components/mds-input-otp.js +1 -156
- package/dist/components/mds-input-range.js +1 -153
- package/dist/components/mds-input-select.js +1 -236
- package/dist/components/mds-input-switch.js +1 -6
- package/dist/components/mds-input-switch2.js +1 -253
- package/dist/components/mds-input-tip-item.js +1 -6
- package/dist/components/mds-input-tip-item2.js +1 -112
- package/dist/components/mds-input-tip.js +1 -6
- package/dist/components/mds-input-tip2.js +1 -43
- package/dist/components/mds-input-upload.js +1 -753
- package/dist/components/mds-input.js +1 -6
- package/dist/components/mds-input2.js +1 -738
- package/dist/components/mds-keyboard-key.js +1 -334
- package/dist/components/mds-keyboard.js +1 -269
- package/dist/components/mds-kpi-item.js +1 -74
- package/dist/components/mds-kpi.js +1 -35
- package/dist/components/mds-label.js +1 -143
- package/dist/components/mds-list-item.js +1 -65
- package/dist/components/mds-list.js +1 -35
- package/dist/components/mds-mention.js +1 -76
- package/dist/components/mds-modal.js +1 -6
- package/dist/components/mds-modal2.js +1 -270
- package/dist/components/mds-note.js +1 -128
- package/dist/components/mds-notification.js +1 -120
- package/dist/components/mds-paginator-item.js +1 -6
- package/dist/components/mds-paginator-item2.js +1 -65
- package/dist/components/mds-paginator.js +1 -116
- package/dist/components/mds-policy-ai.js +1 -219
- package/dist/components/mds-pref-animation.js +1 -188
- package/dist/components/mds-pref-consumption.js +1 -202
- package/dist/components/mds-pref-contrast.js +1 -213
- package/dist/components/mds-pref-language-item.js +1 -306
- package/dist/components/mds-pref-language.js +1 -1025
- package/dist/components/mds-pref-theme-variant-item.js +1 -109
- package/dist/components/mds-pref-theme-variant.js +1 -213
- package/dist/components/mds-pref-theme.js +1 -333
- package/dist/components/mds-pref.js +1 -150
- package/dist/components/mds-price-table-features-cell.js +1 -49
- package/dist/components/mds-price-table-features-row.js +1 -45
- package/dist/components/mds-price-table-features.js +1 -43
- package/dist/components/mds-price-table-header.js +1 -35
- package/dist/components/mds-price-table-list-item.js +1 -54
- package/dist/components/mds-price-table-list.js +1 -48
- package/dist/components/mds-price-table.js +1 -35
- package/dist/components/mds-progress.js +1 -6
- package/dist/components/mds-progress2.js +1 -121
- package/dist/components/mds-push-notification-item.js +1 -326
- package/dist/components/mds-push-notification.js +1 -205
- package/dist/components/mds-quote.js +1 -52
- package/dist/components/mds-radial-menu-item.js +1 -80
- package/dist/components/mds-radial-menu.js +1 -248
- package/dist/components/mds-radial-progress.js +1 -6
- package/dist/components/mds-radial-progress2.js +1 -119
- package/dist/components/mds-separator.js +1 -6
- package/dist/components/mds-separator2.js +1 -32
- package/dist/components/mds-spinner.js +1 -6
- package/dist/components/mds-spinner2.js +1 -54
- package/dist/components/mds-status-bar.js +1 -98
- package/dist/components/mds-stepper-bar-item.js +1 -194
- package/dist/components/mds-stepper-bar.js +1 -136
- package/dist/components/mds-tab-bar-item.js +1 -89
- package/dist/components/mds-tab-bar.js +1 -51
- package/dist/components/mds-tab-item.js +1 -6
- package/dist/components/mds-tab-item2.js +1 -112
- package/dist/components/mds-tab.js +1 -6
- package/dist/components/mds-tab2.js +1 -261
- package/dist/components/mds-table-body.js +1 -38
- package/dist/components/mds-table-cell.js +1 -6
- package/dist/components/mds-table-cell2.js +1 -39
- package/dist/components/mds-table-footer.js +1 -35
- package/dist/components/mds-table-header-cell.js +1 -6
- package/dist/components/mds-table-header-cell2.js +1 -173
- package/dist/components/mds-table-header.js +1 -164
- package/dist/components/mds-table-row.js +1 -141
- package/dist/components/mds-table.js +1 -200
- package/dist/components/mds-text.js +1 -6
- package/dist/components/mds-text2.js +1 -324
- package/dist/components/mds-toast.js +1 -127
- package/dist/components/mds-tooltip.js +1 -6
- package/dist/components/mds-tooltip2.js +1 -177
- package/dist/components/mds-tree-item.js +1 -201
- package/dist/components/mds-tree.js +1 -121
- package/dist/components/mds-url-view.js +1 -146
- package/dist/components/mds-usage.js +1 -108
- package/dist/components/mds-video-wall.js +1 -68
- package/dist/components/mds-zero.js +1 -35
- package/dist/components/panorama.js +1 -3
- package/dist/components/remove.js +1 -3
- package/dist/components/settings.js +1 -3
- package/dist/components/slot.js +1 -48
- package/dist/components/unit.js +1 -41
- package/dist/documentation.d.ts +37 -0
- package/dist/documentation.json +1520 -707
- package/dist/esm/{datetime-C4yPBff1.js → datetime-BJtA1qmE.js} +1 -1
- package/dist/esm/{index-BfAC4pqU.js → index-CAd5312P.js} +482 -370
- package/dist/esm/index.js +256 -0
- package/dist/esm/loader.js +3 -3
- package/dist/esm/magma-components.js +4 -4
- package/dist/esm/mds-accordion-item.entry.js +4 -4
- package/dist/esm/mds-accordion-timer-item.entry.js +7 -5
- package/dist/esm/mds-accordion-timer.entry.js +9 -7
- package/dist/esm/mds-accordion.entry.js +4 -4
- package/dist/esm/mds-author.entry.js +4 -4
- package/dist/esm/mds-avatar-stack-item.entry.js +4 -4
- package/dist/esm/mds-avatar-stack.entry.js +4 -4
- package/dist/esm/mds-avatar.entry.js +41 -14
- package/dist/esm/mds-badge.entry.js +8 -6
- package/dist/esm/mds-banner_3.entry.js +33 -19
- package/dist/esm/mds-benchmark-bar.entry.js +8 -6
- package/dist/esm/mds-bibliography.entry.js +8 -8
- package/dist/esm/mds-breadcrumb-item.entry.js +4 -4
- package/dist/esm/mds-breadcrumb.entry.js +7 -4
- package/dist/esm/mds-button-dropdown.entry.js +4 -4
- package/dist/esm/mds-button-group.entry.js +4 -4
- package/dist/esm/mds-button_3.entry.js +40 -245
- package/dist/esm/mds-calendar_2.entry.js +287 -144
- package/dist/esm/mds-card-content.entry.js +4 -4
- package/dist/esm/mds-card-footer.entry.js +4 -4
- package/dist/esm/mds-card-header.entry.js +4 -4
- package/dist/esm/mds-card-media.entry.js +4 -4
- package/dist/esm/mds-card.entry.js +11 -13
- package/dist/esm/mds-details.entry.js +7 -5
- package/dist/esm/mds-dropdown.entry.js +42 -18
- package/dist/esm/mds-emoji.entry.js +29 -20
- package/dist/esm/mds-entity.entry.js +4 -4
- package/dist/esm/mds-file-preview.entry.js +18 -6
- package/dist/esm/mds-file.entry.js +10 -5
- package/dist/esm/mds-filter-item.entry.js +7 -7
- package/dist/esm/mds-filter.entry.js +5 -5
- package/dist/esm/mds-header-bar.entry.js +8 -4
- package/dist/esm/mds-header.entry.js +30 -16
- package/dist/esm/mds-horizontal-scroll.entry.js +18 -13
- package/dist/esm/mds-hr.entry.js +4 -4
- package/dist/esm/mds-img.entry.js +15 -8
- package/dist/esm/mds-input-date-range-preselection.entry.js +4 -4
- package/dist/esm/mds-input-date-range.entry.js +221 -71
- package/dist/esm/mds-input-date.entry.js +40 -17
- package/dist/esm/mds-input-field.entry.js +7 -7
- package/dist/esm/mds-input-otp.entry.js +6 -6
- package/dist/esm/mds-input-range.entry.js +19 -9
- package/dist/esm/mds-input-select.entry.js +39 -19
- package/dist/esm/mds-input-switch_2.entry.js +19 -10
- package/dist/esm/mds-input-tip_2.entry.js +14 -9
- package/dist/esm/mds-input-upload.entry.js +19 -12
- package/dist/esm/mds-input.entry.js +39 -16
- package/dist/esm/mds-keyboard-key.entry.js +8 -5
- package/dist/esm/mds-keyboard.entry.js +13 -8
- package/dist/esm/mds-kpi-item.entry.js +4 -4
- package/dist/esm/mds-kpi.entry.js +4 -4
- package/dist/esm/mds-label.entry.js +7 -4
- package/dist/esm/mds-list-item.entry.js +4 -4
- package/dist/esm/mds-list.entry.js +4 -4
- package/dist/esm/mds-mention.entry.js +4 -4
- package/dist/esm/mds-modal.entry.js +22 -15
- package/dist/esm/mds-note.entry.js +7 -4
- package/dist/esm/mds-notification.entry.js +11 -9
- package/dist/esm/mds-paginator-item.entry.js +7 -7
- package/dist/esm/mds-paginator.entry.js +4 -4
- package/dist/esm/mds-policy-ai.entry.js +7 -4
- package/dist/esm/mds-pref-animation.entry.js +13 -8
- package/dist/esm/mds-pref-consumption.entry.js +13 -8
- package/dist/esm/mds-pref-contrast.entry.js +14 -9
- package/dist/esm/mds-pref-language-item.entry.js +7 -4
- package/dist/esm/mds-pref-language.entry.js +8 -5
- package/dist/esm/mds-pref-theme-variant-item.entry.js +8 -5
- package/dist/esm/mds-pref-theme-variant.entry.js +9 -6
- package/dist/esm/mds-pref-theme.entry.js +17 -12
- package/dist/esm/mds-pref.entry.js +15 -8
- package/dist/esm/mds-price-table-features-cell.entry.js +4 -4
- package/dist/esm/mds-price-table-features-row.entry.js +4 -4
- package/dist/esm/mds-price-table-features.entry.js +4 -4
- package/dist/esm/mds-price-table-header.entry.js +4 -4
- package/dist/esm/mds-price-table-list-item.entry.js +4 -4
- package/dist/esm/mds-price-table-list.entry.js +4 -4
- package/dist/esm/mds-price-table.entry.js +4 -4
- package/dist/esm/mds-progress_2.entry.js +17 -11
- package/dist/esm/mds-push-notification-item.entry.js +12 -7
- package/dist/esm/mds-push-notification.entry.js +22 -10
- package/dist/esm/mds-quote.entry.js +4 -4
- package/dist/esm/mds-radial-menu-item.entry.js +7 -4
- package/dist/esm/mds-radial-menu.entry.js +30 -14
- package/dist/esm/mds-separator.entry.js +4 -4
- package/dist/esm/mds-status-bar.entry.js +10 -5
- package/dist/esm/mds-stepper-bar-item.entry.js +13 -6
- package/dist/esm/mds-stepper-bar.entry.js +8 -6
- package/dist/esm/mds-tab-bar-item.entry.js +14 -7
- package/dist/esm/mds-tab-bar.entry.js +4 -4
- package/dist/esm/mds-tab_2.entry.js +28 -16
- package/dist/esm/mds-table-body.entry.js +4 -4
- package/dist/esm/mds-table-footer.entry.js +4 -4
- package/dist/esm/mds-table-header-cell.entry.js +27 -12
- package/dist/esm/mds-table-header.entry.js +13 -5
- package/dist/esm/mds-table-row.entry.js +12 -6
- package/dist/esm/mds-table.entry.js +11 -7
- package/dist/esm/mds-text.entry.js +9 -7
- package/dist/esm/mds-toast.entry.js +12 -8
- package/dist/esm/mds-tooltip.entry.js +35 -15
- package/dist/esm/mds-tree-item.entry.js +16 -6
- package/dist/esm/mds-tree.entry.js +14 -8
- package/dist/esm/mds-url-view.entry.js +10 -7
- package/dist/esm/mds-usage.entry.js +7 -4
- package/dist/esm/mds-video-wall.entry.js +4 -4
- package/dist/esm/mds-zero.entry.js +4 -4
- package/dist/esm-es5/{datetime-C4yPBff1.js → datetime-BJtA1qmE.js} +1 -1
- package/dist/esm-es5/index-CAd5312P.js +1 -0
- package/dist/esm-es5/index.js +1 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/magma-components.js +1 -1
- package/dist/esm-es5/mds-accordion-item.entry.js +1 -1
- package/dist/esm-es5/mds-accordion-timer-item.entry.js +1 -1
- package/dist/esm-es5/mds-accordion-timer.entry.js +1 -1
- package/dist/esm-es5/mds-accordion.entry.js +1 -1
- package/dist/esm-es5/mds-author.entry.js +1 -1
- package/dist/esm-es5/mds-avatar-stack-item.entry.js +1 -1
- package/dist/esm-es5/mds-avatar-stack.entry.js +1 -1
- package/dist/esm-es5/mds-avatar.entry.js +1 -1
- package/dist/esm-es5/mds-badge.entry.js +1 -1
- package/dist/esm-es5/mds-banner_3.entry.js +1 -1
- package/dist/esm-es5/mds-benchmark-bar.entry.js +1 -1
- package/dist/esm-es5/mds-bibliography.entry.js +1 -1
- package/dist/esm-es5/mds-breadcrumb-item.entry.js +1 -1
- package/dist/esm-es5/mds-breadcrumb.entry.js +1 -1
- package/dist/esm-es5/mds-button-dropdown.entry.js +1 -1
- package/dist/esm-es5/mds-button-group.entry.js +1 -1
- package/dist/esm-es5/mds-button_3.entry.js +1 -1
- package/dist/esm-es5/mds-calendar_2.entry.js +1 -1
- package/dist/esm-es5/mds-card-content.entry.js +1 -1
- package/dist/esm-es5/mds-card-footer.entry.js +1 -1
- package/dist/esm-es5/mds-card-header.entry.js +1 -1
- package/dist/esm-es5/mds-card-media.entry.js +1 -1
- package/dist/esm-es5/mds-card.entry.js +1 -1
- package/dist/esm-es5/mds-details.entry.js +1 -1
- package/dist/esm-es5/mds-dropdown.entry.js +1 -1
- package/dist/esm-es5/mds-emoji.entry.js +3 -3
- package/dist/esm-es5/mds-entity.entry.js +1 -1
- package/dist/esm-es5/mds-file-preview.entry.js +2 -2
- package/dist/esm-es5/mds-file.entry.js +2 -2
- package/dist/esm-es5/mds-filter-item.entry.js +1 -1
- package/dist/esm-es5/mds-filter.entry.js +1 -1
- package/dist/esm-es5/mds-header-bar.entry.js +1 -1
- package/dist/esm-es5/mds-header.entry.js +1 -1
- package/dist/esm-es5/mds-horizontal-scroll.entry.js +1 -1
- package/dist/esm-es5/mds-hr.entry.js +1 -1
- package/dist/esm-es5/mds-img.entry.js +1 -1
- package/dist/esm-es5/mds-input-date-range-preselection.entry.js +1 -1
- package/dist/esm-es5/mds-input-date-range.entry.js +1 -1
- package/dist/esm-es5/mds-input-date.entry.js +1 -1
- package/dist/esm-es5/mds-input-field.entry.js +1 -1
- package/dist/esm-es5/mds-input-otp.entry.js +1 -1
- package/dist/esm-es5/mds-input-range.entry.js +1 -1
- package/dist/esm-es5/mds-input-select.entry.js +1 -1
- package/dist/esm-es5/mds-input-switch_2.entry.js +1 -1
- package/dist/esm-es5/mds-input-tip_2.entry.js +1 -1
- package/dist/esm-es5/mds-input-upload.entry.js +1 -1
- package/dist/esm-es5/mds-input.entry.js +1 -1
- package/dist/esm-es5/mds-keyboard-key.entry.js +1 -1
- package/dist/esm-es5/mds-keyboard.entry.js +1 -1
- package/dist/esm-es5/mds-kpi-item.entry.js +1 -1
- package/dist/esm-es5/mds-kpi.entry.js +1 -1
- package/dist/esm-es5/mds-label.entry.js +1 -1
- package/dist/esm-es5/mds-list-item.entry.js +1 -1
- package/dist/esm-es5/mds-list.entry.js +1 -1
- package/dist/esm-es5/mds-mention.entry.js +1 -1
- package/dist/esm-es5/mds-modal.entry.js +1 -1
- package/dist/esm-es5/mds-note.entry.js +1 -1
- package/dist/esm-es5/mds-notification.entry.js +1 -1
- package/dist/esm-es5/mds-paginator-item.entry.js +1 -1
- package/dist/esm-es5/mds-paginator.entry.js +1 -1
- package/dist/esm-es5/mds-policy-ai.entry.js +1 -1
- package/dist/esm-es5/mds-pref-animation.entry.js +1 -1
- package/dist/esm-es5/mds-pref-consumption.entry.js +1 -1
- package/dist/esm-es5/mds-pref-contrast.entry.js +1 -1
- package/dist/esm-es5/mds-pref-language-item.entry.js +1 -1
- package/dist/esm-es5/mds-pref-language.entry.js +1 -1
- package/dist/esm-es5/mds-pref-theme-variant-item.entry.js +1 -1
- package/dist/esm-es5/mds-pref-theme-variant.entry.js +1 -1
- package/dist/esm-es5/mds-pref-theme.entry.js +1 -1
- package/dist/esm-es5/mds-pref.entry.js +1 -1
- package/dist/esm-es5/mds-price-table-features-cell.entry.js +1 -1
- package/dist/esm-es5/mds-price-table-features-row.entry.js +1 -1
- package/dist/esm-es5/mds-price-table-features.entry.js +1 -1
- package/dist/esm-es5/mds-price-table-header.entry.js +1 -1
- package/dist/esm-es5/mds-price-table-list-item.entry.js +1 -1
- package/dist/esm-es5/mds-price-table-list.entry.js +1 -1
- package/dist/esm-es5/mds-price-table.entry.js +1 -1
- package/dist/esm-es5/mds-progress_2.entry.js +1 -1
- package/dist/esm-es5/mds-push-notification-item.entry.js +1 -1
- package/dist/esm-es5/mds-push-notification.entry.js +1 -1
- package/dist/esm-es5/mds-quote.entry.js +1 -1
- package/dist/esm-es5/mds-radial-menu-item.entry.js +1 -1
- package/dist/esm-es5/mds-radial-menu.entry.js +1 -1
- package/dist/esm-es5/mds-separator.entry.js +1 -1
- package/dist/esm-es5/mds-status-bar.entry.js +1 -1
- package/dist/esm-es5/mds-stepper-bar-item.entry.js +1 -1
- package/dist/esm-es5/mds-stepper-bar.entry.js +1 -1
- package/dist/esm-es5/mds-tab-bar-item.entry.js +1 -1
- package/dist/esm-es5/mds-tab-bar.entry.js +1 -1
- package/dist/esm-es5/mds-tab_2.entry.js +1 -1
- package/dist/esm-es5/mds-table-body.entry.js +1 -1
- package/dist/esm-es5/mds-table-footer.entry.js +1 -1
- package/dist/esm-es5/mds-table-header-cell.entry.js +1 -1
- package/dist/esm-es5/mds-table-header.entry.js +1 -1
- package/dist/esm-es5/mds-table-row.entry.js +1 -1
- package/dist/esm-es5/mds-table.entry.js +1 -1
- package/dist/esm-es5/mds-text.entry.js +1 -1
- package/dist/esm-es5/mds-toast.entry.js +1 -1
- package/dist/esm-es5/mds-tooltip.entry.js +1 -1
- package/dist/esm-es5/mds-tree-item.entry.js +1 -1
- package/dist/esm-es5/mds-tree.entry.js +1 -1
- package/dist/esm-es5/mds-url-view.entry.js +1 -1
- package/dist/esm-es5/mds-usage.entry.js +1 -1
- package/dist/esm-es5/mds-video-wall.entry.js +1 -1
- package/dist/esm-es5/mds-zero.entry.js +1 -1
- package/dist/hydrate/index.d.ts +12 -0
- package/dist/hydrate/index.js +6687 -1804
- package/dist/hydrate/index.mjs +6686 -1805
- package/dist/magma-components/index.esm.js +1 -0
- package/dist/magma-components/magma-components.esm.js +1 -1
- package/dist/magma-components/magma-components.js +1 -1
- package/dist/magma-components/{p-da1e08a8.system.entry.js → p-00313884.entry.js} +1 -1
- package/dist/magma-components/{p-8c757fad.entry.js → p-01dc43dd.entry.js} +1 -1
- package/dist/magma-components/p-01dca5e8.entry.js +1 -0
- package/dist/magma-components/p-030d45e3.entry.js +1 -0
- package/dist/magma-components/p-0328a23e.system.entry.js +1 -0
- package/dist/magma-components/{p-54a1e963.entry.js → p-08c6869a.entry.js} +1 -1
- package/dist/magma-components/p-09de9fc5.system.entry.js +1 -0
- package/dist/magma-components/{p-18412b69.entry.js → p-0acb46c8.entry.js} +1 -1
- package/dist/magma-components/p-0b10ef9f.system.entry.js +1 -0
- package/dist/magma-components/p-0b11f03b.entry.js +1 -0
- package/dist/magma-components/p-0be56202.system.entry.js +1 -0
- package/dist/magma-components/p-0de58147.entry.js +1 -0
- package/dist/magma-components/p-0e481e5c.system.entry.js +1 -0
- package/dist/magma-components/p-0f104850.system.entry.js +1 -0
- package/dist/magma-components/p-1073bf63.entry.js +1 -0
- package/dist/magma-components/p-11490a89.entry.js +1 -0
- package/dist/magma-components/p-137b0bbe.system.entry.js +1 -0
- package/dist/magma-components/{p-37c304a8.entry.js → p-14a98729.entry.js} +1 -1
- package/dist/magma-components/p-14d858f8.system.entry.js +1 -0
- package/dist/magma-components/p-14e918de.system.entry.js +1 -0
- package/dist/magma-components/p-154ef5b9.entry.js +1 -0
- package/dist/magma-components/p-158af6e3.entry.js +1 -0
- package/dist/magma-components/p-17427d8a.system.entry.js +1 -0
- package/dist/magma-components/p-1805592d.entry.js +1 -0
- package/dist/magma-components/p-18563022.entry.js +1 -0
- package/dist/magma-components/{p-7a88d5b1.entry.js → p-19f99447.entry.js} +1 -1
- package/dist/magma-components/p-1a56d383.system.entry.js +1 -0
- package/dist/magma-components/p-1bb7895a.system.entry.js +1 -0
- package/dist/magma-components/p-1ce791c1.system.entry.js +1 -0
- package/dist/magma-components/p-1da904c3.system.entry.js +1 -0
- package/dist/magma-components/p-20961bf1.entry.js +1 -0
- package/dist/magma-components/p-24a9ed63.system.entry.js +1 -0
- package/dist/magma-components/{p-2431bf5b.entry.js → p-26b131cf.entry.js} +1 -1
- package/dist/magma-components/p-28ebb626.entry.js +1 -0
- package/dist/magma-components/{p-25d96882.system.entry.js → p-292f4566.system.entry.js} +1 -1
- package/dist/magma-components/p-2a1d3680.system.entry.js +1 -0
- package/dist/magma-components/p-2ab75334.system.entry.js +1 -0
- package/dist/magma-components/p-2ccc796b.system.entry.js +1 -0
- package/dist/magma-components/p-2d9d0887.system.entry.js +1 -0
- package/dist/magma-components/p-2df01d02.system.entry.js +1 -0
- package/dist/magma-components/{p-2b47fe1f.entry.js → p-3145c7eb.entry.js} +1 -1
- package/dist/magma-components/p-34018dfe.entry.js +1 -0
- package/dist/magma-components/{p-86cdcab6.system.entry.js → p-35a9f1b4.system.entry.js} +3 -3
- package/dist/magma-components/p-35ec8bbd.entry.js +1 -0
- package/dist/magma-components/p-370f9463.system.entry.js +1 -0
- package/dist/magma-components/p-387948c4.system.entry.js +1 -0
- package/dist/magma-components/p-3aeecbba.system.entry.js +1 -0
- package/dist/magma-components/p-3af9132f.system.entry.js +1 -0
- package/dist/magma-components/p-3bfd085f.system.entry.js +1 -0
- package/dist/magma-components/{p-eca9aeea.entry.js → p-3c246a39.entry.js} +1 -1
- package/dist/magma-components/p-3c2bf79b.entry.js +1 -0
- package/dist/magma-components/p-3ce52f3c.entry.js +1 -0
- package/dist/magma-components/p-3e5993b4.entry.js +1 -0
- package/dist/magma-components/p-3ef80cd4.system.entry.js +1 -0
- package/dist/magma-components/{p-fb852b6f.entry.js → p-3fc3b8b4.entry.js} +1 -1
- package/dist/magma-components/p-423955d1.system.entry.js +1 -0
- package/dist/magma-components/p-42f336df.system.entry.js +1 -0
- package/dist/magma-components/p-45a85712.system.entry.js +1 -0
- package/dist/magma-components/p-460cd731.system.entry.js +1 -0
- package/dist/magma-components/p-473f6954.entry.js +1 -0
- package/dist/magma-components/p-47fa0ecf.entry.js +1 -0
- package/dist/magma-components/p-4b07fe37.entry.js +1 -0
- package/dist/magma-components/p-4b884441.entry.js +1 -0
- package/dist/magma-components/{p-1faa59ee.entry.js → p-4ba583c9.entry.js} +1 -1
- package/dist/magma-components/{p-e3090966.entry.js → p-4c08fe3e.entry.js} +1 -1
- package/dist/magma-components/p-4f490917.entry.js +1 -0
- package/dist/magma-components/p-4f98fdba.system.entry.js +1 -0
- package/dist/magma-components/p-50553954.system.entry.js +1 -0
- package/dist/magma-components/{p-74aeba83.entry.js → p-523d4716.entry.js} +1 -1
- package/dist/magma-components/p-52ccfafc.system.entry.js +1 -0
- package/dist/magma-components/p-52e2f903.entry.js +1 -0
- package/dist/magma-components/p-53195d95.system.entry.js +1 -0
- package/dist/magma-components/p-5488f51f.system.entry.js +1 -0
- package/dist/magma-components/p-553927f9.system.entry.js +1 -0
- package/dist/magma-components/p-55b4bbba.entry.js +1 -0
- package/dist/magma-components/{p-379a4998.entry.js → p-583f5ffa.entry.js} +1 -1
- package/dist/magma-components/{p-312e1512.entry.js → p-59d65cff.entry.js} +1 -1
- package/dist/magma-components/p-59f53701.system.entry.js +1 -0
- package/dist/magma-components/p-5b881091.entry.js +1 -0
- package/dist/magma-components/p-5c44d208.entry.js +1 -0
- package/dist/magma-components/p-5fdcd8e2.system.entry.js +1 -0
- package/dist/magma-components/p-5fe7b875.system.entry.js +1 -0
- package/dist/magma-components/p-614e7f83.system.entry.js +1 -0
- package/dist/magma-components/p-62cf9003.system.entry.js +1 -0
- package/dist/magma-components/{p-014d0127.entry.js → p-63898681.entry.js} +1 -1
- package/dist/magma-components/p-663a510e.entry.js +1 -0
- package/dist/magma-components/{p-a68b2bd1.entry.js → p-68f57bb1.entry.js} +1 -1
- package/dist/magma-components/p-6ae4df92.system.entry.js +1 -0
- package/dist/magma-components/p-6d268a59.entry.js +1 -0
- package/dist/magma-components/p-7306b02e.system.entry.js +17 -0
- package/dist/magma-components/p-75011fed.system.entry.js +9 -0
- package/dist/magma-components/{p-8cadef2a.entry.js → p-7595afcf.entry.js} +3 -3
- package/dist/magma-components/p-77e9bd68.entry.js +1 -0
- package/dist/magma-components/p-7d836722.entry.js +1 -0
- package/dist/magma-components/p-7e037cf3.entry.js +8 -0
- package/dist/magma-components/p-8106dbfd.system.entry.js +1 -0
- package/dist/magma-components/p-82deeaa0.system.entry.js +1 -0
- package/dist/magma-components/p-83589b83.entry.js +1 -0
- package/dist/magma-components/{p-1650e033.entry.js → p-83721814.entry.js} +2 -2
- package/dist/magma-components/p-83de0e53.system.entry.js +1 -0
- package/dist/magma-components/p-849760e7.system.entry.js +1 -0
- package/dist/magma-components/{p-76abcca3.system.entry.js → p-85ac6e54.system.entry.js} +1 -1
- package/dist/magma-components/p-87f8a213.entry.js +1 -0
- package/dist/magma-components/p-89bf698e.system.entry.js +1 -0
- package/dist/magma-components/p-89f96753.system.entry.js +1 -0
- package/dist/magma-components/p-8b3065b4.entry.js +1 -0
- package/dist/magma-components/p-8bec8ad6.system.entry.js +1 -0
- package/dist/magma-components/p-8d76853c.system.entry.js +1 -0
- package/dist/magma-components/p-8f1ce3f1.system.entry.js +1 -0
- package/dist/magma-components/p-9021fa60.entry.js +1 -0
- package/dist/magma-components/p-90b72c1c.system.entry.js +1 -0
- package/dist/magma-components/p-90d5b6df.system.entry.js +1 -0
- package/dist/magma-components/p-913372ff.entry.js +1 -0
- package/dist/magma-components/p-94093140.system.entry.js +1 -0
- package/dist/magma-components/p-944d9b27.system.entry.js +1 -0
- package/dist/magma-components/{p-2086a922.entry.js → p-94713401.entry.js} +1 -1
- package/dist/magma-components/{p-199d6fc7.entry.js → p-956b5ae6.entry.js} +1 -1
- package/dist/magma-components/p-95eae04e.entry.js +1 -0
- package/dist/magma-components/p-961a2531.entry.js +1 -0
- package/dist/magma-components/p-9658cb0c.entry.js +1 -0
- package/dist/magma-components/p-96d1a168.entry.js +1 -0
- package/dist/magma-components/p-96f6a646.entry.js +1 -0
- package/dist/magma-components/p-98435b90.system.entry.js +1 -0
- package/dist/magma-components/p-988b0c7c.entry.js +1 -0
- package/dist/magma-components/p-98a05642.system.entry.js +1 -0
- package/dist/magma-components/p-99f7a1b6.system.entry.js +1 -0
- package/dist/magma-components/p-9a1940c1.system.entry.js +1 -0
- package/dist/magma-components/p-9a89bc78.system.entry.js +1 -0
- package/dist/magma-components/p-9ad586a7.system.entry.js +1 -0
- package/dist/magma-components/p-9b52918e.system.entry.js +1 -0
- package/dist/magma-components/{p-B2gc1lkP.system.js → p-BJKToXNf.system.js} +1 -1
- package/dist/magma-components/{p-C4yPBff1.js → p-BJtA1qmE.js} +1 -1
- package/dist/magma-components/p-CAd5312P.js +2 -0
- package/dist/magma-components/p-DI5DWqw4.system.js +2 -0
- package/dist/magma-components/p-DTZViJWJ.system.js +1 -0
- package/dist/magma-components/p-a1af65e8.entry.js +1 -0
- package/dist/magma-components/p-a5473293.system.entry.js +1 -0
- package/dist/magma-components/p-a6caafcb.system.entry.js +1 -0
- package/dist/magma-components/p-a7bd4585.entry.js +1 -0
- package/dist/magma-components/p-a88fba47.system.entry.js +1 -0
- package/dist/magma-components/{p-408abcfd.entry.js → p-a959ade4.entry.js} +1 -1
- package/dist/magma-components/p-aa7d8972.entry.js +1 -0
- package/dist/magma-components/p-aa98652f.entry.js +1 -0
- package/dist/magma-components/p-aaeb0ee3.system.entry.js +1 -0
- package/dist/magma-components/p-ab89bf5b.system.entry.js +1 -0
- package/dist/magma-components/p-abc720e3.entry.js +1 -0
- package/dist/magma-components/p-abe87810.entry.js +1 -0
- package/dist/magma-components/{p-492e2cc1.entry.js → p-ac80aca8.entry.js} +1 -1
- package/dist/magma-components/p-acb07134.system.entry.js +1 -0
- package/dist/magma-components/p-acd4f96a.entry.js +1 -0
- package/dist/magma-components/{p-00649cfc.entry.js → p-af49bca2.entry.js} +1 -1
- package/dist/magma-components/{p-6ccffbff.entry.js → p-af670eaf.entry.js} +1 -1
- package/dist/magma-components/p-b14a94e0.system.entry.js +1 -0
- package/dist/magma-components/p-b2bc194a.entry.js +1 -0
- package/dist/magma-components/p-b2e76c18.system.entry.js +1 -0
- package/dist/magma-components/p-b37dff80.system.entry.js +1 -0
- package/dist/magma-components/p-b3e3226e.entry.js +1 -0
- package/dist/magma-components/p-b40f1153.entry.js +1 -0
- package/dist/magma-components/p-b4709a95.entry.js +1 -0
- package/dist/magma-components/p-b5db6527.system.entry.js +1 -0
- package/dist/magma-components/p-b764defa.entry.js +1 -0
- package/dist/magma-components/p-b9b2501e.system.entry.js +1 -0
- package/dist/magma-components/p-b9b5bcdd.system.entry.js +1 -0
- package/dist/magma-components/p-ba2a0bc1.system.entry.js +1 -0
- package/dist/magma-components/p-bb4380cd.entry.js +1 -0
- package/dist/magma-components/p-bce3a8b0.system.entry.js +1 -0
- package/dist/magma-components/p-bd2998e6.system.entry.js +1 -0
- package/dist/magma-components/p-bd3dbc2d.entry.js +1 -0
- package/dist/magma-components/p-bed57abb.entry.js +1 -0
- package/dist/magma-components/p-bfed0b7a.entry.js +1 -0
- package/dist/magma-components/p-c6177cb9.system.entry.js +1 -0
- package/dist/magma-components/p-c638556c.entry.js +1 -0
- package/dist/magma-components/{p-9b5cfdd8.entry.js → p-c6fa4a21.entry.js} +1 -1
- package/dist/magma-components/p-c8e99385.system.entry.js +1 -0
- package/dist/magma-components/{p-e69e24a3.entry.js → p-c9231987.entry.js} +1 -1
- package/dist/magma-components/p-c9c51ba6.system.entry.js +1 -0
- package/dist/magma-components/p-cc53b30c.entry.js +1 -0
- package/dist/magma-components/{p-823a5efc.entry.js → p-ccc0521c.entry.js} +1 -1
- package/dist/magma-components/p-cd71630e.system.entry.js +1 -0
- package/dist/magma-components/p-cd879243.system.entry.js +1 -0
- package/dist/magma-components/{p-c288b9a1.entry.js → p-ce064d47.entry.js} +1 -1
- package/dist/magma-components/{p-d4a1c10f.system.entry.js → p-d1eea8ca.system.entry.js} +1 -1
- package/dist/magma-components/p-d2537229.system.entry.js +1 -0
- package/dist/magma-components/p-d2617a1a.entry.js +1 -0
- package/dist/magma-components/p-d41c4637.system.entry.js +1 -0
- package/dist/magma-components/{p-a2d2cb35.entry.js → p-d88f44aa.entry.js} +1 -1
- package/dist/magma-components/p-dae9ae8e.system.entry.js +1 -0
- package/dist/magma-components/{p-b9d6a1f7.entry.js → p-dd860de4.entry.js} +1 -1
- package/dist/magma-components/p-df87e2f5.system.entry.js +1 -0
- package/dist/magma-components/p-dfe082be.system.entry.js +1 -0
- package/dist/magma-components/{p-1b165893.entry.js → p-e00ba5a0.entry.js} +1 -1
- package/dist/magma-components/p-e0d12fa2.system.entry.js +1 -0
- package/dist/magma-components/{p-6e94ea64.entry.js → p-e2cd11c3.entry.js} +1 -1
- package/dist/magma-components/p-e5fb3081.system.entry.js +1 -0
- package/dist/magma-components/{p-08f81a0c.entry.js → p-e67a6452.entry.js} +1 -1
- package/dist/magma-components/p-e6d8c9e3.system.entry.js +1 -0
- package/dist/magma-components/p-e71aecc1.entry.js +1 -0
- package/dist/magma-components/p-eac692ea.system.entry.js +1 -0
- package/dist/magma-components/p-ecf2e98d.system.entry.js +1 -0
- package/dist/magma-components/p-ed6d1453.system.entry.js +1 -0
- package/dist/magma-components/p-f289eb5a.entry.js +1 -0
- package/dist/magma-components/p-f3604c99.entry.js +1 -0
- package/dist/magma-components/{p-f56acab0.entry.js → p-f3dbca34.entry.js} +1 -1
- package/dist/magma-components/p-f4b4bdf2.system.entry.js +1 -0
- package/dist/magma-components/p-f56d16f7.entry.js +1 -0
- package/dist/magma-components/p-f8014852.system.entry.js +1 -0
- package/dist/magma-components/{p-41e50837.entry.js → p-f851100d.entry.js} +1 -1
- package/dist/magma-components/{p-6f7bce81.entry.js → p-f8d5adce.entry.js} +1 -1
- package/dist/magma-components/p-fa427f75.system.entry.js +1 -0
- package/dist/magma-components/p-fa6a05b5.entry.js +1 -0
- package/dist/magma-components/p-fb8b0104.entry.js +1 -0
- package/dist/magma-components/p-fcf59139.system.entry.js +1 -0
- package/dist/magma-components/p-fe3d5720.system.entry.js +1 -0
- package/dist/magma-components/p-fe85ad8e.system.entry.js +1 -0
- package/dist/magma-components/p-ffae137a.entry.js +1 -0
- package/dist/magma-components/p-oCzRm29V.system.js +1 -0
- package/dist/stats.json +4561 -2983
- package/dist/types/components/mds-accordion/mds-accordion.d.ts +1 -1
- package/dist/types/components/mds-accordion-item/mds-accordion-item.d.ts +1 -1
- package/dist/types/components/mds-accordion-timer/mds-accordion-timer.d.ts +1 -1
- package/dist/types/components/mds-accordion-timer-item/mds-accordion-timer-item.d.ts +1 -1
- package/dist/types/components/mds-author/mds-author.d.ts +1 -1
- package/dist/types/components/mds-avatar-stack/mds-avatar-stack.d.ts +3 -0
- package/dist/types/components/mds-badge/mds-badge.d.ts +1 -1
- package/dist/types/components/mds-banner/mds-banner.d.ts +4 -1
- package/dist/types/components/mds-benchmark-bar/mds-benchmark-bar.d.ts +1 -1
- package/dist/types/components/mds-breadcrumb/mds-breadcrumb.d.ts +4 -1
- package/dist/types/components/mds-button/mds-button.d.ts +1 -1
- package/dist/types/components/mds-button-dropdown/mds-button-dropdown.d.ts +3 -0
- package/dist/types/components/mds-button-group/mds-button-group.d.ts +3 -0
- package/dist/types/components/mds-calendar/mds-calendar.d.ts +75 -8
- package/dist/types/components/mds-card-content/mds-card-content.d.ts +1 -1
- package/dist/types/components/mds-card-footer/mds-card-footer.d.ts +1 -1
- package/dist/types/components/mds-card-header/mds-card-header.d.ts +1 -1
- package/dist/types/components/mds-card-media/mds-card-media.d.ts +1 -1
- package/dist/types/components/mds-chip/mds-chip.d.ts +3 -0
- package/dist/types/components/mds-details/mds-details.d.ts +1 -1
- package/dist/types/components/mds-dropdown/mds-dropdown.d.ts +4 -4
- package/dist/types/components/mds-emoji/mds-emoji.d.ts +7 -0
- package/dist/types/components/mds-entity/mds-entity.d.ts +1 -1
- package/dist/types/components/mds-file/mds-file.d.ts +3 -0
- package/dist/types/components/mds-file-preview/mds-file-preview.d.ts +3 -0
- package/dist/types/components/mds-filter/mds-filter.d.ts +1 -1
- package/dist/types/components/mds-filter-item/mds-filter-item.d.ts +1 -1
- package/dist/types/components/mds-header/mds-header.d.ts +5 -1
- package/dist/types/components/mds-header-bar/mds-header-bar.d.ts +5 -1
- package/dist/types/components/mds-help/mds-help.d.ts +1 -1
- package/dist/types/components/mds-horizontal-scroll/mds-horizontal-scroll.d.ts +1 -1
- package/dist/types/components/mds-icon/services/icons-set.service.d.ts +2 -1
- package/dist/types/components/mds-img/mds-img.d.ts +3 -0
- package/dist/types/components/mds-input/mds-input.d.ts +15 -0
- package/dist/types/components/mds-input-date/mds-input-date.d.ts +19 -1
- package/dist/types/components/mds-input-date-range/mds-input-date-range.d.ts +38 -4
- package/dist/types/components/mds-input-date-range/test/mds-input-date-range.stories.d.ts +12 -0
- package/dist/types/components/mds-input-date-range-preselection/mds-input-date-range-preselection.d.ts +3 -0
- package/dist/types/components/mds-input-field/mds-input-field.d.ts +3 -0
- package/dist/types/components/mds-input-range/mds-input-range.d.ts +2 -1
- package/dist/types/components/mds-input-select/mds-input-select.d.ts +4 -0
- package/dist/types/components/mds-input-switch/mds-input-switch.d.ts +4 -1
- package/dist/types/components/mds-input-tip/mds-input-tip.d.ts +3 -0
- package/dist/types/components/mds-input-tip-item/mds-input-tip-item.d.ts +6 -0
- package/dist/types/components/mds-input-upload/mds-input-upload.d.ts +3 -0
- package/dist/types/components/mds-keyboard/mds-keyboard.d.ts +7 -1
- package/dist/types/components/mds-keyboard-key/mds-keyboard-key.d.ts +3 -0
- package/dist/types/components/mds-keyboard-key/meta/icons.d.ts +1 -1
- package/dist/types/components/mds-kpi/mds-kpi.d.ts +1 -1
- package/dist/types/components/mds-label/mds-label.d.ts +4 -1
- package/dist/types/components/mds-list/mds-list.d.ts +1 -1
- package/dist/types/components/mds-list-item/mds-list-item.d.ts +1 -1
- package/dist/types/components/mds-modal/mds-modal.d.ts +4 -1
- package/dist/types/components/mds-note/mds-note.d.ts +4 -1
- package/dist/types/components/mds-paginator-item/mds-paginator-item.d.ts +2 -2
- package/dist/types/components/mds-policy-ai/mds-policy-ai.d.ts +3 -0
- package/dist/types/components/mds-pref/mds-pref.d.ts +4 -1
- package/dist/types/components/mds-pref-animation/mds-pref-animation.d.ts +3 -0
- package/dist/types/components/mds-pref-consumption/mds-pref-consumption.d.ts +3 -0
- package/dist/types/components/mds-pref-contrast/mds-pref-contrast.d.ts +3 -0
- package/dist/types/components/mds-pref-language/mds-pref-language.d.ts +4 -1
- package/dist/types/components/mds-pref-language-item/mds-pref-language-item.d.ts +3 -0
- package/dist/types/components/mds-pref-theme/mds-pref-theme.d.ts +3 -0
- package/dist/types/components/mds-pref-theme-variant/mds-pref-theme-variant.d.ts +4 -1
- package/dist/types/components/mds-pref-theme-variant-item/mds-pref-theme-variant-item.d.ts +3 -0
- package/dist/types/components/mds-price-table/mds-price-table.d.ts +3 -0
- package/dist/types/components/mds-price-table-features/mds-price-table-features.d.ts +1 -1
- package/dist/types/components/mds-price-table-features-cell/mds-price-table-features-cell.d.ts +1 -1
- package/dist/types/components/mds-price-table-features-row/mds-price-table-features-row.d.ts +1 -1
- package/dist/types/components/mds-price-table-header/mds-price-table-header.d.ts +3 -0
- package/dist/types/components/mds-price-table-list/mds-price-table-list.d.ts +1 -1
- package/dist/types/components/mds-price-table-list-item/mds-price-table-list-item.d.ts +3 -0
- package/dist/types/components/mds-push-notification/mds-push-notification.d.ts +12 -4
- package/dist/types/components/mds-push-notification-item/mds-push-notification-item.d.ts +3 -0
- package/dist/types/components/mds-quote/mds-quote.d.ts +1 -1
- package/dist/types/components/mds-radial-menu/mds-radial-menu.d.ts +3 -0
- package/dist/types/components/mds-radial-menu-item/mds-radial-menu-item.d.ts +3 -0
- package/dist/types/components/mds-status-bar/mds-status-bar.d.ts +4 -1
- package/dist/types/components/mds-stepper-bar/mds-stepper-bar.d.ts +1 -1
- package/dist/types/components/mds-stepper-bar-item/mds-stepper-bar-item.d.ts +3 -0
- package/dist/types/components/mds-tab/mds-tab.d.ts +1 -1
- package/dist/types/components/mds-tab-bar/mds-tab-bar.d.ts +1 -1
- package/dist/types/components/mds-tab-bar-item/mds-tab-bar-item.d.ts +4 -1
- package/dist/types/components/mds-table/mds-table.d.ts +5 -2
- package/dist/types/components/mds-table-body/mds-table-body.d.ts +7 -1
- package/dist/types/components/mds-table-cell/mds-table-cell.d.ts +1 -1
- package/dist/types/components/mds-table-footer/mds-table-footer.d.ts +1 -1
- package/dist/types/components/mds-table-header/mds-table-header.d.ts +12 -1
- package/dist/types/components/mds-table-header-cell/mds-table-header-cell.d.ts +3 -0
- package/dist/types/components/mds-table-row/mds-table-row.d.ts +19 -1
- package/dist/types/components/mds-text/mds-text.d.ts +1 -1
- package/dist/types/components/mds-toast/mds-toast.d.ts +1 -1
- package/dist/types/components/mds-tooltip/mds-tooltip.d.ts +1 -1
- package/dist/types/components/mds-tree/mds-tree.d.ts +1 -1
- package/dist/types/components/mds-tree-item/mds-tree-item.d.ts +10 -1
- package/dist/types/components/mds-url-view/mds-url-view.d.ts +4 -1
- package/dist/types/components/mds-usage/mds-usage.d.ts +4 -1
- package/dist/types/components/mds-video-wall/mds-video-wall.d.ts +1 -1
- package/dist/types/components/mds-zero/mds-zero.d.ts +1 -1
- package/dist/types/components.d.ts +1316 -219
- package/dist/types/index.d.ts +15 -0
- package/dist/types/stencil-public-runtime.d.ts +110 -5
- package/package.json +57 -11
- package/dist/esm-es5/index-BfAC4pqU.js +0 -1
- package/dist/magma-components/p-0130bb78.system.entry.js +0 -1
- package/dist/magma-components/p-01ed6d96.system.entry.js +0 -1
- package/dist/magma-components/p-01ff9d4c.system.entry.js +0 -1
- package/dist/magma-components/p-020e7201.entry.js +0 -1
- package/dist/magma-components/p-0228b956.entry.js +0 -1
- package/dist/magma-components/p-0291dd4c.entry.js +0 -1
- package/dist/magma-components/p-035d53f9.system.entry.js +0 -1
- package/dist/magma-components/p-03fc3cb6.system.entry.js +0 -1
- package/dist/magma-components/p-05069088.system.entry.js +0 -1
- package/dist/magma-components/p-0515681e.system.entry.js +0 -1
- package/dist/magma-components/p-0c530d94.system.entry.js +0 -1
- package/dist/magma-components/p-0e5f654a.entry.js +0 -1
- package/dist/magma-components/p-12a177ab.entry.js +0 -1
- package/dist/magma-components/p-12ba0511.system.entry.js +0 -1
- package/dist/magma-components/p-156af42d.entry.js +0 -1
- package/dist/magma-components/p-15b809ad.entry.js +0 -1
- package/dist/magma-components/p-15d3742b.entry.js +0 -1
- package/dist/magma-components/p-189867fe.system.entry.js +0 -1
- package/dist/magma-components/p-18b16f64.system.entry.js +0 -1
- package/dist/magma-components/p-1ed337e0.entry.js +0 -1
- package/dist/magma-components/p-1eebabf2.entry.js +0 -1
- package/dist/magma-components/p-1f29eafd.entry.js +0 -1
- package/dist/magma-components/p-1ffda3d3.entry.js +0 -1
- package/dist/magma-components/p-20a0e4ed.entry.js +0 -1
- package/dist/magma-components/p-23bdb4b9.entry.js +0 -1
- package/dist/magma-components/p-243cd6ac.entry.js +0 -1
- package/dist/magma-components/p-2445abc7.entry.js +0 -1
- package/dist/magma-components/p-262d9b35.system.entry.js +0 -1
- package/dist/magma-components/p-2634fdb6.system.entry.js +0 -1
- package/dist/magma-components/p-26a6c88d.system.entry.js +0 -1
- package/dist/magma-components/p-26aa7c0a.entry.js +0 -1
- package/dist/magma-components/p-273da050.system.entry.js +0 -1
- package/dist/magma-components/p-28d0a199.entry.js +0 -1
- package/dist/magma-components/p-29666107.system.entry.js +0 -1
- package/dist/magma-components/p-2c591bb6.system.entry.js +0 -1
- package/dist/magma-components/p-2ea972ee.entry.js +0 -1
- package/dist/magma-components/p-2f9a4987.entry.js +0 -1
- package/dist/magma-components/p-2ff9602e.system.entry.js +0 -1
- package/dist/magma-components/p-306e8c38.system.entry.js +0 -1
- package/dist/magma-components/p-311501ee.entry.js +0 -1
- package/dist/magma-components/p-3174b23d.entry.js +0 -1
- package/dist/magma-components/p-3310f321.entry.js +0 -1
- package/dist/magma-components/p-3498386e.entry.js +0 -1
- package/dist/magma-components/p-35347823.system.entry.js +0 -1
- package/dist/magma-components/p-366a19e8.entry.js +0 -1
- package/dist/magma-components/p-378f31a6.system.entry.js +0 -1
- package/dist/magma-components/p-37ed33dd.system.entry.js +0 -1
- package/dist/magma-components/p-37fc281b.system.entry.js +0 -1
- package/dist/magma-components/p-3d26511d.entry.js +0 -1
- package/dist/magma-components/p-3ee572f8.entry.js +0 -1
- package/dist/magma-components/p-40f01f36.system.entry.js +0 -1
- package/dist/magma-components/p-4173feeb.entry.js +0 -1
- package/dist/magma-components/p-424c3870.system.entry.js +0 -1
- package/dist/magma-components/p-425d8aa7.system.entry.js +0 -1
- package/dist/magma-components/p-4337ae15.system.entry.js +0 -1
- package/dist/magma-components/p-4576a939.entry.js +0 -1
- package/dist/magma-components/p-47af67d2.system.entry.js +0 -1
- package/dist/magma-components/p-4c135083.system.entry.js +0 -17
- package/dist/magma-components/p-4cec5cdd.system.entry.js +0 -1
- package/dist/magma-components/p-4dc6a848.system.entry.js +0 -1
- package/dist/magma-components/p-4de2320c.system.entry.js +0 -1
- package/dist/magma-components/p-4e62891c.system.entry.js +0 -1
- package/dist/magma-components/p-50260c87.entry.js +0 -1
- package/dist/magma-components/p-50dae232.entry.js +0 -1
- package/dist/magma-components/p-532ab129.system.entry.js +0 -1
- package/dist/magma-components/p-54c5f7c1.entry.js +0 -1
- package/dist/magma-components/p-54f4ca42.system.entry.js +0 -1
- package/dist/magma-components/p-5846c25b.system.entry.js +0 -1
- package/dist/magma-components/p-588942b7.system.entry.js +0 -1
- package/dist/magma-components/p-58dda765.system.entry.js +0 -1
- package/dist/magma-components/p-5cd12f3a.entry.js +0 -1
- package/dist/magma-components/p-5f73aa83.system.entry.js +0 -1
- package/dist/magma-components/p-6062f434.entry.js +0 -1
- package/dist/magma-components/p-60911cb6.system.entry.js +0 -1
- package/dist/magma-components/p-62e44706.entry.js +0 -1
- package/dist/magma-components/p-67586c4c.system.entry.js +0 -1
- package/dist/magma-components/p-67a980ba.system.entry.js +0 -1
- package/dist/magma-components/p-68489eef.system.entry.js +0 -1
- package/dist/magma-components/p-697204cf.system.entry.js +0 -1
- package/dist/magma-components/p-69f23add.system.entry.js +0 -1
- package/dist/magma-components/p-6ce95afa.entry.js +0 -1
- package/dist/magma-components/p-6f008516.system.entry.js +0 -1
- package/dist/magma-components/p-75ace8e3.entry.js +0 -1
- package/dist/magma-components/p-78657972.system.entry.js +0 -1
- package/dist/magma-components/p-7b437b69.system.entry.js +0 -1
- package/dist/magma-components/p-81cc57c3.system.entry.js +0 -1
- package/dist/magma-components/p-83f64f85.system.entry.js +0 -1
- package/dist/magma-components/p-85f80db8.system.entry.js +0 -1
- package/dist/magma-components/p-862cabb7.entry.js +0 -1
- package/dist/magma-components/p-88a64306.system.entry.js +0 -1
- package/dist/magma-components/p-8904037f.system.entry.js +0 -1
- package/dist/magma-components/p-8a06e18f.system.entry.js +0 -1
- package/dist/magma-components/p-8b3a86e9.system.entry.js +0 -1
- package/dist/magma-components/p-8dc2ff30.entry.js +0 -1
- package/dist/magma-components/p-8e65b812.system.entry.js +0 -1
- package/dist/magma-components/p-9671bf48.system.entry.js +0 -1
- package/dist/magma-components/p-96b887e1.system.entry.js +0 -1
- package/dist/magma-components/p-9a9197b4.system.entry.js +0 -1
- package/dist/magma-components/p-9d276d82.entry.js +0 -1
- package/dist/magma-components/p-9d413aae.system.entry.js +0 -1
- package/dist/magma-components/p-9ed86996.entry.js +0 -1
- package/dist/magma-components/p-BfAC4pqU.js +0 -2
- package/dist/magma-components/p-C3FmKB70.system.js +0 -1
- package/dist/magma-components/p-DQqgZ0cY.system.js +0 -2
- package/dist/magma-components/p-YWpyar7R.system.js +0 -1
- package/dist/magma-components/p-a301089d.system.entry.js +0 -1
- package/dist/magma-components/p-a3b7c3a4.system.entry.js +0 -1
- package/dist/magma-components/p-a8045692.entry.js +0 -8
- package/dist/magma-components/p-a80cccaf.system.entry.js +0 -1
- package/dist/magma-components/p-a97f5bcf.entry.js +0 -1
- package/dist/magma-components/p-aa36fa23.system.entry.js +0 -1
- package/dist/magma-components/p-ab9f8323.system.entry.js +0 -1
- package/dist/magma-components/p-ac58144b.system.entry.js +0 -1
- package/dist/magma-components/p-ac83e397.system.entry.js +0 -1
- package/dist/magma-components/p-b095c76c.system.entry.js +0 -1
- package/dist/magma-components/p-b099c62f.system.entry.js +0 -1
- package/dist/magma-components/p-b1ed5b11.system.entry.js +0 -1
- package/dist/magma-components/p-b357828f.entry.js +0 -1
- package/dist/magma-components/p-b3a2264a.system.entry.js +0 -1
- package/dist/magma-components/p-b3c10df3.system.entry.js +0 -1
- package/dist/magma-components/p-b3f73660.system.entry.js +0 -1
- package/dist/magma-components/p-b4365088.entry.js +0 -1
- package/dist/magma-components/p-b56cbc41.entry.js +0 -1
- package/dist/magma-components/p-b7095315.entry.js +0 -1
- package/dist/magma-components/p-b73122dd.entry.js +0 -1
- package/dist/magma-components/p-b7c13b8f.entry.js +0 -1
- package/dist/magma-components/p-b9accbfe.entry.js +0 -1
- package/dist/magma-components/p-bc187c3e.system.entry.js +0 -1
- package/dist/magma-components/p-bcd19fac.entry.js +0 -1
- package/dist/magma-components/p-bd4d2dde.entry.js +0 -1
- package/dist/magma-components/p-be5f3afa.system.entry.js +0 -1
- package/dist/magma-components/p-bed25376.system.entry.js +0 -1
- package/dist/magma-components/p-c0c4d65e.system.entry.js +0 -1
- package/dist/magma-components/p-c409307f.system.entry.js +0 -1
- package/dist/magma-components/p-c6410cd5.entry.js +0 -1
- package/dist/magma-components/p-c8349720.entry.js +0 -1
- package/dist/magma-components/p-cb329d03.system.entry.js +0 -1
- package/dist/magma-components/p-cd80c3d4.entry.js +0 -1
- package/dist/magma-components/p-ce6e9905.system.entry.js +0 -1
- package/dist/magma-components/p-cfd475d8.system.entry.js +0 -1
- package/dist/magma-components/p-d057243f.system.entry.js +0 -1
- package/dist/magma-components/p-d1188a0a.system.entry.js +0 -9
- package/dist/magma-components/p-d1574fd4.system.entry.js +0 -1
- package/dist/magma-components/p-d1d1d3f9.entry.js +0 -1
- package/dist/magma-components/p-d5aa3d8f.system.entry.js +0 -1
- package/dist/magma-components/p-d7b05354.system.entry.js +0 -1
- package/dist/magma-components/p-d87a0a3c.system.entry.js +0 -1
- package/dist/magma-components/p-dd905ce6.entry.js +0 -1
- package/dist/magma-components/p-de2cf21a.entry.js +0 -1
- package/dist/magma-components/p-e285b234.system.entry.js +0 -1
- package/dist/magma-components/p-e4b2f4a5.entry.js +0 -1
- package/dist/magma-components/p-e5bb0588.system.entry.js +0 -1
- package/dist/magma-components/p-e8a68ec6.system.entry.js +0 -1
- package/dist/magma-components/p-eaf44e56.entry.js +0 -1
- package/dist/magma-components/p-ec80755e.entry.js +0 -1
- package/dist/magma-components/p-ec86fabf.system.entry.js +0 -1
- package/dist/magma-components/p-ed988ff9.entry.js +0 -1
- package/dist/magma-components/p-ef766346.system.entry.js +0 -1
- package/dist/magma-components/p-f02b5c85.system.entry.js +0 -1
- package/dist/magma-components/p-f0df5249.entry.js +0 -1
- package/dist/magma-components/p-f1418e28.system.entry.js +0 -1
- package/dist/magma-components/p-f483796b.system.entry.js +0 -1
- package/dist/magma-components/p-f528e98a.entry.js +0 -1
- package/dist/magma-components/p-f69095c5.entry.js +0 -1
- package/dist/magma-components/p-f6bffd82.entry.js +0 -1
- package/dist/magma-components/p-f7023e4e.system.entry.js +0 -1
- package/dist/magma-components/p-f8f2b590.system.entry.js +0 -1
- package/dist/magma-components/p-f902cb3a.system.entry.js +0 -1
- package/dist/magma-components/p-f962b4dc.entry.js +0 -1
- package/dist/magma-components/p-fa038ac2.entry.js +0 -1
- package/dist/magma-components/p-fbf60d0d.system.entry.js +0 -1
- package/dist/magma-components/p-fdf44de5.system.entry.js +0 -1
- package/dist/magma-components/p-ffeeb010.entry.js +0 -1
|
@@ -1,14 +1,10 @@
|
|
|
1
1
|
const NAMESPACE = 'magma-components';
|
|
2
|
-
const BUILD = /* magma-components */ { hydratedSelectorName: "hydrated", lazyLoad: true, propChangeCallback: true, state: true, updatable: true};
|
|
2
|
+
const BUILD = /* magma-components */ { hotModuleReplacement: false, hydratedSelectorName: "hydrated", lazyLoad: true, propChangeCallback: true, state: true, updatable: true};
|
|
3
3
|
|
|
4
4
|
/*
|
|
5
|
-
Stencil Client Platform v4.
|
|
5
|
+
Stencil Client Platform v4.43.5 | MIT Licensed | https://stenciljs.com
|
|
6
6
|
*/
|
|
7
|
-
|
|
8
|
-
var __export = (target, all) => {
|
|
9
|
-
for (var name in all)
|
|
10
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
11
|
-
};
|
|
7
|
+
|
|
12
8
|
var PrimitiveType = /* @__PURE__ */ ((PrimitiveType2) => {
|
|
13
9
|
PrimitiveType2["Undefined"] = "undefined";
|
|
14
10
|
PrimitiveType2["Null"] = "null";
|
|
@@ -33,6 +29,19 @@ var NonPrimitiveType = /* @__PURE__ */ ((NonPrimitiveType2) => {
|
|
|
33
29
|
var TYPE_CONSTANT = "type";
|
|
34
30
|
var VALUE_CONSTANT = "value";
|
|
35
31
|
var SERIALIZED_PREFIX = "serialized:";
|
|
32
|
+
|
|
33
|
+
// src/utils/get-prop-descriptor.ts
|
|
34
|
+
function getPropertyDescriptor(obj, memberName, getOnly) {
|
|
35
|
+
const stopAt = typeof HTMLElement !== "undefined" ? HTMLElement.prototype : null;
|
|
36
|
+
while (obj && obj !== stopAt) {
|
|
37
|
+
const desc = Object.getOwnPropertyDescriptor(obj, memberName);
|
|
38
|
+
if (desc && (!getOnly || desc.get)) return desc;
|
|
39
|
+
obj = Object.getPrototypeOf(obj);
|
|
40
|
+
}
|
|
41
|
+
return void 0;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
// src/utils/es2022-rewire-class-members.ts
|
|
36
45
|
var reWireGetterSetter = (instance, hostRef) => {
|
|
37
46
|
var _a;
|
|
38
47
|
const cmpMeta = hostRef.$cmpMeta$;
|
|
@@ -40,7 +49,7 @@ var reWireGetterSetter = (instance, hostRef) => {
|
|
|
40
49
|
members.map(([memberName, [memberFlags]]) => {
|
|
41
50
|
if ((memberFlags & 31 /* Prop */ || memberFlags & 32 /* State */)) {
|
|
42
51
|
const ogValue = instance[memberName];
|
|
43
|
-
const ogDescriptor = getPropertyDescriptor(Object.getPrototypeOf(instance), memberName) || Object.getOwnPropertyDescriptor(instance, memberName);
|
|
52
|
+
const ogDescriptor = getPropertyDescriptor(Object.getPrototypeOf(instance), memberName, true) || Object.getOwnPropertyDescriptor(instance, memberName);
|
|
44
53
|
if (ogDescriptor) {
|
|
45
54
|
Object.defineProperty(instance, memberName, {
|
|
46
55
|
get() {
|
|
@@ -53,18 +62,14 @@ var reWireGetterSetter = (instance, hostRef) => {
|
|
|
53
62
|
enumerable: true
|
|
54
63
|
});
|
|
55
64
|
}
|
|
56
|
-
|
|
65
|
+
if (hostRef.$instanceValues$.has(memberName)) {
|
|
66
|
+
instance[memberName] = hostRef.$instanceValues$.get(memberName);
|
|
67
|
+
} else if (ogValue !== void 0) {
|
|
68
|
+
instance[memberName] = ogValue;
|
|
69
|
+
}
|
|
57
70
|
}
|
|
58
71
|
});
|
|
59
72
|
};
|
|
60
|
-
function getPropertyDescriptor(obj, memberName) {
|
|
61
|
-
while (obj) {
|
|
62
|
-
const desc = Object.getOwnPropertyDescriptor(obj, memberName);
|
|
63
|
-
if (desc == null ? void 0 : desc.get) return desc;
|
|
64
|
-
obj = Object.getPrototypeOf(obj);
|
|
65
|
-
}
|
|
66
|
-
return void 0;
|
|
67
|
-
}
|
|
68
73
|
|
|
69
74
|
// src/client/client-host-ref.ts
|
|
70
75
|
var getHostRef = (ref) => {
|
|
@@ -515,6 +520,10 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
515
520
|
return import(
|
|
516
521
|
/* webpackMode: "lazy" */
|
|
517
522
|
'./mds-text.entry.js').then(processMod, consoleError);
|
|
523
|
+
case 'mds-button_3':
|
|
524
|
+
return import(
|
|
525
|
+
/* webpackMode: "lazy" */
|
|
526
|
+
'./mds-button_3.entry.js').then(processMod, consoleError);
|
|
518
527
|
case 'mds-push-notification-item':
|
|
519
528
|
return import(
|
|
520
529
|
/* webpackMode: "lazy" */
|
|
@@ -523,10 +532,6 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
523
532
|
return import(
|
|
524
533
|
/* webpackMode: "lazy" */
|
|
525
534
|
'./mds-input-upload.entry.js').then(processMod, consoleError);
|
|
526
|
-
case 'mds-button_3':
|
|
527
|
-
return import(
|
|
528
|
-
/* webpackMode: "lazy" */
|
|
529
|
-
'./mds-button_3.entry.js').then(processMod, consoleError);
|
|
530
535
|
case 'mds-banner_3':
|
|
531
536
|
return import(
|
|
532
537
|
/* webpackMode: "lazy" */
|
|
@@ -619,6 +624,9 @@ var supportsListenerOptions = /* @__PURE__ */ (() => {
|
|
|
619
624
|
var promiseResolve = (v) => Promise.resolve(v);
|
|
620
625
|
var supportsConstructableStylesheets = /* @__PURE__ */ (() => {
|
|
621
626
|
try {
|
|
627
|
+
if (!win.document.adoptedStyleSheets) {
|
|
628
|
+
return false;
|
|
629
|
+
}
|
|
622
630
|
new CSSStyleSheet();
|
|
623
631
|
return typeof new CSSStyleSheet().replaceSync === "function";
|
|
624
632
|
} catch (e) {
|
|
@@ -661,173 +669,6 @@ var flush = () => {
|
|
|
661
669
|
};
|
|
662
670
|
var nextTick = (cb) => promiseResolve().then(cb);
|
|
663
671
|
var writeTask = /* @__PURE__ */ queueTask(queueDomWrites, true);
|
|
664
|
-
var isComplexType = (o) => {
|
|
665
|
-
o = typeof o;
|
|
666
|
-
return o === "object" || o === "function";
|
|
667
|
-
};
|
|
668
|
-
|
|
669
|
-
// src/utils/query-nonce-meta-tag-content.ts
|
|
670
|
-
function queryNonceMetaTagContent(doc) {
|
|
671
|
-
var _a, _b, _c;
|
|
672
|
-
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;
|
|
673
|
-
}
|
|
674
|
-
|
|
675
|
-
// src/utils/regular-expression.ts
|
|
676
|
-
var escapeRegExpSpecialCharacters = (text) => {
|
|
677
|
-
return text.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
|
|
678
|
-
};
|
|
679
|
-
|
|
680
|
-
// src/utils/remote-value.ts
|
|
681
|
-
var RemoteValue = class _RemoteValue {
|
|
682
|
-
/**
|
|
683
|
-
* Deserializes a LocalValue serialized object back to its original JavaScript representation
|
|
684
|
-
*
|
|
685
|
-
* @param serialized The serialized LocalValue object
|
|
686
|
-
* @returns The original JavaScript value/object
|
|
687
|
-
*/
|
|
688
|
-
static fromLocalValue(serialized) {
|
|
689
|
-
const type = serialized[TYPE_CONSTANT];
|
|
690
|
-
const value = VALUE_CONSTANT in serialized ? serialized[VALUE_CONSTANT] : void 0;
|
|
691
|
-
switch (type) {
|
|
692
|
-
case "string" /* String */:
|
|
693
|
-
return value;
|
|
694
|
-
case "boolean" /* Boolean */:
|
|
695
|
-
return value;
|
|
696
|
-
case "bigint" /* BigInt */:
|
|
697
|
-
return BigInt(value);
|
|
698
|
-
case "undefined" /* Undefined */:
|
|
699
|
-
return void 0;
|
|
700
|
-
case "null" /* Null */:
|
|
701
|
-
return null;
|
|
702
|
-
case "number" /* Number */:
|
|
703
|
-
if (value === "NaN") return NaN;
|
|
704
|
-
if (value === "-0") return -0;
|
|
705
|
-
if (value === "Infinity") return Infinity;
|
|
706
|
-
if (value === "-Infinity") return -Infinity;
|
|
707
|
-
return value;
|
|
708
|
-
case "array" /* Array */:
|
|
709
|
-
return value.map((item) => _RemoteValue.fromLocalValue(item));
|
|
710
|
-
case "date" /* Date */:
|
|
711
|
-
return new Date(value);
|
|
712
|
-
case "map" /* Map */:
|
|
713
|
-
const map2 = /* @__PURE__ */ new Map();
|
|
714
|
-
for (const [key, val] of value) {
|
|
715
|
-
const deserializedKey = typeof key === "object" && key !== null ? _RemoteValue.fromLocalValue(key) : key;
|
|
716
|
-
const deserializedValue = _RemoteValue.fromLocalValue(val);
|
|
717
|
-
map2.set(deserializedKey, deserializedValue);
|
|
718
|
-
}
|
|
719
|
-
return map2;
|
|
720
|
-
case "object" /* Object */:
|
|
721
|
-
const obj = {};
|
|
722
|
-
for (const [key, val] of value) {
|
|
723
|
-
obj[key] = _RemoteValue.fromLocalValue(val);
|
|
724
|
-
}
|
|
725
|
-
return obj;
|
|
726
|
-
case "regexp" /* RegularExpression */:
|
|
727
|
-
const { pattern, flags } = value;
|
|
728
|
-
return new RegExp(pattern, flags);
|
|
729
|
-
case "set" /* Set */:
|
|
730
|
-
const set = /* @__PURE__ */ new Set();
|
|
731
|
-
for (const item of value) {
|
|
732
|
-
set.add(_RemoteValue.fromLocalValue(item));
|
|
733
|
-
}
|
|
734
|
-
return set;
|
|
735
|
-
case "symbol" /* Symbol */:
|
|
736
|
-
return Symbol(value);
|
|
737
|
-
default:
|
|
738
|
-
throw new Error(`Unsupported type: ${type}`);
|
|
739
|
-
}
|
|
740
|
-
}
|
|
741
|
-
/**
|
|
742
|
-
* Utility method to deserialize multiple LocalValues at once
|
|
743
|
-
*
|
|
744
|
-
* @param serializedValues Array of serialized LocalValue objects
|
|
745
|
-
* @returns Array of deserialized JavaScript values
|
|
746
|
-
*/
|
|
747
|
-
static fromLocalValueArray(serializedValues) {
|
|
748
|
-
return serializedValues.map((value) => _RemoteValue.fromLocalValue(value));
|
|
749
|
-
}
|
|
750
|
-
/**
|
|
751
|
-
* Verifies if the given object matches the structure of a serialized LocalValue
|
|
752
|
-
*
|
|
753
|
-
* @param obj Object to verify
|
|
754
|
-
* @returns boolean indicating if the object has LocalValue structure
|
|
755
|
-
*/
|
|
756
|
-
static isLocalValueObject(obj) {
|
|
757
|
-
if (typeof obj !== "object" || obj === null) {
|
|
758
|
-
return false;
|
|
759
|
-
}
|
|
760
|
-
if (!obj.hasOwnProperty(TYPE_CONSTANT)) {
|
|
761
|
-
return false;
|
|
762
|
-
}
|
|
763
|
-
const type = obj[TYPE_CONSTANT];
|
|
764
|
-
const hasTypeProperty = Object.values({ ...PrimitiveType, ...NonPrimitiveType }).includes(type);
|
|
765
|
-
if (!hasTypeProperty) {
|
|
766
|
-
return false;
|
|
767
|
-
}
|
|
768
|
-
if (type !== "null" /* Null */ && type !== "undefined" /* Undefined */) {
|
|
769
|
-
return obj.hasOwnProperty(VALUE_CONSTANT);
|
|
770
|
-
}
|
|
771
|
-
return true;
|
|
772
|
-
}
|
|
773
|
-
};
|
|
774
|
-
|
|
775
|
-
// src/utils/result.ts
|
|
776
|
-
var result_exports = {};
|
|
777
|
-
__export(result_exports, {
|
|
778
|
-
err: () => err,
|
|
779
|
-
map: () => map,
|
|
780
|
-
ok: () => ok,
|
|
781
|
-
unwrap: () => unwrap,
|
|
782
|
-
unwrapErr: () => unwrapErr
|
|
783
|
-
});
|
|
784
|
-
var ok = (value) => ({
|
|
785
|
-
isOk: true,
|
|
786
|
-
isErr: false,
|
|
787
|
-
value
|
|
788
|
-
});
|
|
789
|
-
var err = (value) => ({
|
|
790
|
-
isOk: false,
|
|
791
|
-
isErr: true,
|
|
792
|
-
value
|
|
793
|
-
});
|
|
794
|
-
function map(result, fn) {
|
|
795
|
-
if (result.isOk) {
|
|
796
|
-
const val = fn(result.value);
|
|
797
|
-
if (val instanceof Promise) {
|
|
798
|
-
return val.then((newVal) => ok(newVal));
|
|
799
|
-
} else {
|
|
800
|
-
return ok(val);
|
|
801
|
-
}
|
|
802
|
-
}
|
|
803
|
-
if (result.isErr) {
|
|
804
|
-
const value = result.value;
|
|
805
|
-
return err(value);
|
|
806
|
-
}
|
|
807
|
-
throw "should never get here";
|
|
808
|
-
}
|
|
809
|
-
var unwrap = (result) => {
|
|
810
|
-
if (result.isOk) {
|
|
811
|
-
return result.value;
|
|
812
|
-
} else {
|
|
813
|
-
throw result.value;
|
|
814
|
-
}
|
|
815
|
-
};
|
|
816
|
-
var unwrapErr = (result) => {
|
|
817
|
-
if (result.isErr) {
|
|
818
|
-
return result.value;
|
|
819
|
-
} else {
|
|
820
|
-
throw result.value;
|
|
821
|
-
}
|
|
822
|
-
};
|
|
823
|
-
|
|
824
|
-
// src/utils/serialize.ts
|
|
825
|
-
function deserializeProperty(value) {
|
|
826
|
-
if (typeof value !== "string" || !value.startsWith(SERIALIZED_PREFIX)) {
|
|
827
|
-
return value;
|
|
828
|
-
}
|
|
829
|
-
return RemoteValue.fromLocalValue(JSON.parse(atob(value.slice(SERIALIZED_PREFIX.length))));
|
|
830
|
-
}
|
|
831
672
|
|
|
832
673
|
// src/utils/style.ts
|
|
833
674
|
function createStyleSheetIfNeededAndSupported(styles2) {
|
|
@@ -838,7 +679,8 @@ function createStyleSheetIfNeededAndSupported(styles2) {
|
|
|
838
679
|
var globalStyleSheet;
|
|
839
680
|
function createShadowRoot(cmpMeta) {
|
|
840
681
|
var _a;
|
|
841
|
-
const
|
|
682
|
+
const opts = { mode: "open" };
|
|
683
|
+
const shadowRoot = this.attachShadow(opts);
|
|
842
684
|
if (globalStyleSheet === void 0) globalStyleSheet = (_a = createStyleSheetIfNeededAndSupported()) != null ? _a : null;
|
|
843
685
|
if (globalStyleSheet) {
|
|
844
686
|
if (supportsMutableAdoptedStyleSheets) {
|
|
@@ -938,6 +780,14 @@ var uniqueTime = (key, measureText) => {
|
|
|
938
780
|
};
|
|
939
781
|
}
|
|
940
782
|
};
|
|
783
|
+
|
|
784
|
+
// src/utils/query-nonce-meta-tag-content.ts
|
|
785
|
+
function queryNonceMetaTagContent(doc) {
|
|
786
|
+
var _a, _b, _c;
|
|
787
|
+
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;
|
|
788
|
+
}
|
|
789
|
+
|
|
790
|
+
// src/runtime/styles.ts
|
|
941
791
|
var rootAppliedStyles = /* @__PURE__ */ new WeakMap();
|
|
942
792
|
var registerStyle = (scopeId2, cssText, allowCS) => {
|
|
943
793
|
let style = styles.get(scopeId2);
|
|
@@ -954,7 +804,7 @@ var registerStyle = (scopeId2, cssText, allowCS) => {
|
|
|
954
804
|
styles.set(scopeId2, style);
|
|
955
805
|
};
|
|
956
806
|
var addStyle = (styleContainerNode, cmpMeta, mode) => {
|
|
957
|
-
var _a;
|
|
807
|
+
var _a, _b, _c;
|
|
958
808
|
const scopeId2 = getScopeId(cmpMeta);
|
|
959
809
|
const style = styles.get(scopeId2);
|
|
960
810
|
if (!win.document) {
|
|
@@ -969,61 +819,84 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
|
|
|
969
819
|
if (!appliedStyles) {
|
|
970
820
|
rootAppliedStyles.set(styleContainerNode, appliedStyles = /* @__PURE__ */ new Set());
|
|
971
821
|
}
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
styleContainerNode.adoptedStyleSheets = [stylesheet, ...styleContainerNode.adoptedStyleSheets];
|
|
998
|
-
}
|
|
822
|
+
const existingStyleElm = styleContainerNode.querySelector(`[${HYDRATED_STYLE_ID}="${scopeId2}"]`);
|
|
823
|
+
if (existingStyleElm) {
|
|
824
|
+
existingStyleElm.textContent = style;
|
|
825
|
+
} else if (!appliedStyles.has(scopeId2)) {
|
|
826
|
+
styleElm = win.document.createElement("style");
|
|
827
|
+
styleElm.textContent = style;
|
|
828
|
+
const nonce = (_a = plt.$nonce$) != null ? _a : queryNonceMetaTagContent(win.document);
|
|
829
|
+
if (nonce != null) {
|
|
830
|
+
styleElm.setAttribute("nonce", nonce);
|
|
831
|
+
}
|
|
832
|
+
if (!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */)) {
|
|
833
|
+
if (styleContainerNode.nodeName === "HEAD") {
|
|
834
|
+
const preconnectLinks = styleContainerNode.querySelectorAll("link[rel=preconnect]");
|
|
835
|
+
const referenceNode2 = preconnectLinks.length > 0 ? preconnectLinks[preconnectLinks.length - 1].nextSibling : styleContainerNode.querySelector("style");
|
|
836
|
+
styleContainerNode.insertBefore(
|
|
837
|
+
styleElm,
|
|
838
|
+
(referenceNode2 == null ? void 0 : referenceNode2.parentNode) === styleContainerNode ? referenceNode2 : null
|
|
839
|
+
);
|
|
840
|
+
} else if ("host" in styleContainerNode) {
|
|
841
|
+
if (supportsConstructableStylesheets) {
|
|
842
|
+
const currentWindow = (_b = styleContainerNode.defaultView) != null ? _b : styleContainerNode.ownerDocument.defaultView;
|
|
843
|
+
const stylesheet = new currentWindow.CSSStyleSheet();
|
|
844
|
+
stylesheet.replaceSync(style);
|
|
845
|
+
if (supportsMutableAdoptedStyleSheets) {
|
|
846
|
+
styleContainerNode.adoptedStyleSheets.unshift(stylesheet);
|
|
999
847
|
} else {
|
|
1000
|
-
|
|
1001
|
-
if (existingStyleContainer) {
|
|
1002
|
-
existingStyleContainer.innerHTML = style + existingStyleContainer.innerHTML;
|
|
1003
|
-
} else {
|
|
1004
|
-
styleContainerNode.prepend(styleElm);
|
|
1005
|
-
}
|
|
848
|
+
styleContainerNode.adoptedStyleSheets = [stylesheet, ...styleContainerNode.adoptedStyleSheets];
|
|
1006
849
|
}
|
|
1007
850
|
} else {
|
|
1008
|
-
styleContainerNode.
|
|
851
|
+
const existingStyleContainer = styleContainerNode.querySelector("style");
|
|
852
|
+
if (existingStyleContainer && true) {
|
|
853
|
+
existingStyleContainer.textContent = style + existingStyleContainer.textContent;
|
|
854
|
+
} else {
|
|
855
|
+
styleContainerNode.prepend(styleElm);
|
|
856
|
+
}
|
|
1009
857
|
}
|
|
858
|
+
} else {
|
|
859
|
+
styleContainerNode.append(styleElm);
|
|
1010
860
|
}
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
861
|
+
}
|
|
862
|
+
if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) {
|
|
863
|
+
styleContainerNode.insertBefore(styleElm, null);
|
|
1014
864
|
}
|
|
1015
865
|
if (cmpMeta.$flags$ & 4 /* hasSlotRelocation */) {
|
|
1016
|
-
styleElm.
|
|
866
|
+
styleElm.textContent += SLOT_FB_CSS;
|
|
1017
867
|
}
|
|
1018
868
|
if (appliedStyles) {
|
|
1019
869
|
appliedStyles.add(scopeId2);
|
|
1020
870
|
}
|
|
1021
871
|
}
|
|
1022
|
-
} else
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
872
|
+
} else {
|
|
873
|
+
let appliedStyles = rootAppliedStyles.get(styleContainerNode);
|
|
874
|
+
if (!appliedStyles) {
|
|
875
|
+
rootAppliedStyles.set(styleContainerNode, appliedStyles = /* @__PURE__ */ new Set());
|
|
876
|
+
}
|
|
877
|
+
if (!appliedStyles.has(scopeId2)) {
|
|
878
|
+
const currentWindow = (_c = styleContainerNode.defaultView) != null ? _c : styleContainerNode.ownerDocument.defaultView;
|
|
879
|
+
let stylesheet;
|
|
880
|
+
if (style.constructor === currentWindow.CSSStyleSheet) {
|
|
881
|
+
stylesheet = style;
|
|
882
|
+
} else {
|
|
883
|
+
stylesheet = new currentWindow.CSSStyleSheet();
|
|
884
|
+
for (let i2 = 0; i2 < style.cssRules.length; i2++) {
|
|
885
|
+
stylesheet.insertRule(style.cssRules[i2].cssText, i2);
|
|
886
|
+
}
|
|
887
|
+
}
|
|
888
|
+
if (supportsMutableAdoptedStyleSheets) {
|
|
889
|
+
styleContainerNode.adoptedStyleSheets.push(stylesheet);
|
|
890
|
+
} else {
|
|
891
|
+
styleContainerNode.adoptedStyleSheets = [...styleContainerNode.adoptedStyleSheets, stylesheet];
|
|
892
|
+
}
|
|
893
|
+
appliedStyles.add(scopeId2);
|
|
894
|
+
if ("host" in styleContainerNode) {
|
|
895
|
+
const ssrStyleElm = styleContainerNode.querySelector(`[${HYDRATED_STYLE_ID}="${scopeId2}"]`);
|
|
896
|
+
if (ssrStyleElm) {
|
|
897
|
+
writeTask(() => ssrStyleElm.remove());
|
|
898
|
+
}
|
|
899
|
+
}
|
|
1027
900
|
}
|
|
1028
901
|
}
|
|
1029
902
|
}
|
|
@@ -1055,7 +928,16 @@ var hydrateScopedToShadow = () => {
|
|
|
1055
928
|
registerStyle(styles2[i2].getAttribute(HYDRATED_STYLE_ID), convertScopedToShadow(styles2[i2].innerHTML), true);
|
|
1056
929
|
}
|
|
1057
930
|
};
|
|
931
|
+
var isComplexType = (o) => {
|
|
932
|
+
o = typeof o;
|
|
933
|
+
return o === "object" || o === "function";
|
|
934
|
+
};
|
|
935
|
+
|
|
936
|
+
// src/runtime/vdom/h.ts
|
|
1058
937
|
var h = (nodeName, vnodeData, ...children) => {
|
|
938
|
+
if (typeof nodeName === "string") {
|
|
939
|
+
nodeName = transformTag(nodeName);
|
|
940
|
+
}
|
|
1059
941
|
let child = null;
|
|
1060
942
|
let key = null;
|
|
1061
943
|
let simple = false;
|
|
@@ -1112,7 +994,8 @@ var newVNode = (tag, text) => {
|
|
|
1112
994
|
const vnode = {
|
|
1113
995
|
$flags$: 0,
|
|
1114
996
|
$tag$: tag,
|
|
1115
|
-
|
|
997
|
+
// Normalize undefined to null to prevent rendering "undefined" as text
|
|
998
|
+
$text$: text != null ? text : null,
|
|
1116
999
|
$elm$: null,
|
|
1117
1000
|
$children$: null
|
|
1118
1001
|
};
|
|
@@ -1159,7 +1042,7 @@ var convertToPrivate = (node) => {
|
|
|
1159
1042
|
|
|
1160
1043
|
// src/runtime/client-hydrate.ts
|
|
1161
1044
|
var initializeClientHydrate = (hostElm, tagName, hostId, hostRef) => {
|
|
1162
|
-
var _a, _b;
|
|
1045
|
+
var _a, _b, _c, _d;
|
|
1163
1046
|
const endHydrate = createTime("hydrateClient", tagName);
|
|
1164
1047
|
const shadowRoot = hostElm.shadowRoot;
|
|
1165
1048
|
const childRenderNodes = [];
|
|
@@ -1192,7 +1075,7 @@ var initializeClientHydrate = (hostElm, tagName, hostId, hostRef) => {
|
|
|
1192
1075
|
const orgLocationNode = plt.$orgLocNodes$.get(orgLocationId);
|
|
1193
1076
|
const node = childRenderNode.$elm$;
|
|
1194
1077
|
if (!shadowRoot) {
|
|
1195
|
-
node["s-hn"] = tagName.toUpperCase();
|
|
1078
|
+
node["s-hn"] = transformTag(tagName).toUpperCase();
|
|
1196
1079
|
if (childRenderNode.$tag$ === "slot") {
|
|
1197
1080
|
node["s-cr"] = hostElm["s-cr"];
|
|
1198
1081
|
}
|
|
@@ -1203,7 +1086,7 @@ var initializeClientHydrate = (hostElm, tagName, hostId, hostRef) => {
|
|
|
1203
1086
|
cmpMeta.$cmpMeta$);
|
|
1204
1087
|
const styleSheet = win.document.querySelector(`style[sty-id="${scopeId3}"]`);
|
|
1205
1088
|
if (styleSheet) {
|
|
1206
|
-
|
|
1089
|
+
shadowRootNodes.unshift(styleSheet.cloneNode(true));
|
|
1207
1090
|
}
|
|
1208
1091
|
}
|
|
1209
1092
|
}
|
|
@@ -1240,6 +1123,7 @@ var initializeClientHydrate = (hostElm, tagName, hostId, hostRef) => {
|
|
|
1240
1123
|
let snGroupIdx;
|
|
1241
1124
|
let snGroupLen;
|
|
1242
1125
|
let slottedItem;
|
|
1126
|
+
let currentPos = 0;
|
|
1243
1127
|
for (snIndex; snIndex < snLen; snIndex++) {
|
|
1244
1128
|
slotGroup = slottedNodes[snIndex];
|
|
1245
1129
|
if (!slotGroup || !slotGroup.length) continue;
|
|
@@ -1253,7 +1137,7 @@ var initializeClientHydrate = (hostElm, tagName, hostId, hostRef) => {
|
|
|
1253
1137
|
if (!hosts[slottedItem.hostId]) continue;
|
|
1254
1138
|
const hostEle = hosts[slottedItem.hostId];
|
|
1255
1139
|
if (hostEle.shadowRoot && slottedItem.node.parentElement !== hostEle) {
|
|
1256
|
-
hostEle.
|
|
1140
|
+
hostEle.insertBefore(slottedItem.node, (_c = (_b = slotGroup[snGroupIdx - 1]) == null ? void 0 : _b.node) == null ? void 0 : _c.nextSibling);
|
|
1257
1141
|
}
|
|
1258
1142
|
if (!hostEle.shadowRoot || !shadowRoot) {
|
|
1259
1143
|
if (!slottedItem.slot["s-cr"]) {
|
|
@@ -1264,14 +1148,15 @@ var initializeClientHydrate = (hostElm, tagName, hostId, hostRef) => {
|
|
|
1264
1148
|
slottedItem.slot["s-cr"] = (hostEle.__childNodes || hostEle.childNodes)[0];
|
|
1265
1149
|
}
|
|
1266
1150
|
}
|
|
1267
|
-
addSlotRelocateNode(slottedItem.node, slottedItem.slot, false, slottedItem.node["s-oo"]);
|
|
1268
|
-
if (((
|
|
1151
|
+
addSlotRelocateNode(slottedItem.node, slottedItem.slot, false, slottedItem.node["s-oo"] || currentPos);
|
|
1152
|
+
if (((_d = slottedItem.node.parentElement) == null ? void 0 : _d.shadowRoot) && slottedItem.node["getAttribute"] && slottedItem.node.getAttribute("slot")) {
|
|
1269
1153
|
slottedItem.node.removeAttribute("slot");
|
|
1270
1154
|
}
|
|
1271
1155
|
}
|
|
1156
|
+
currentPos = (slottedItem.node["s-oo"] || currentPos) + 1;
|
|
1272
1157
|
}
|
|
1273
1158
|
}
|
|
1274
|
-
if (shadowRoot) {
|
|
1159
|
+
if (shadowRoot && !shadowRoot.childNodes.length) {
|
|
1275
1160
|
let rnIdex = 0;
|
|
1276
1161
|
const rnLen = shadowRootNodes.length;
|
|
1277
1162
|
if (rnLen) {
|
|
@@ -1285,7 +1170,7 @@ var initializeClientHydrate = (hostElm, tagName, hostId, hostRef) => {
|
|
|
1285
1170
|
if (typeof node["s-en"] !== "string" && typeof node["s-sn"] !== "string") {
|
|
1286
1171
|
if (node.nodeType === 1 /* ElementNode */ && node.slot && node.hidden) {
|
|
1287
1172
|
node.removeAttribute("hidden");
|
|
1288
|
-
} else if (node.nodeType === 8 /* CommentNode */ && !node.nodeValue
|
|
1173
|
+
} else if (node.nodeType === 8 /* CommentNode */ && !node.nodeValue) {
|
|
1289
1174
|
node.parentNode.removeChild(node);
|
|
1290
1175
|
}
|
|
1291
1176
|
}
|
|
@@ -1441,10 +1326,6 @@ var clientHydrate = (parentVNode, childRenderNodes, slotNodes, shadowRootNodes,
|
|
|
1441
1326
|
vnode.$elm$ = node;
|
|
1442
1327
|
vnode.$index$ = "0";
|
|
1443
1328
|
parentVNode.$children$ = [vnode];
|
|
1444
|
-
} else {
|
|
1445
|
-
if (node.nodeType === 3 /* TextNode */ && !node.wholeText.trim() && !node["s-nr"]) {
|
|
1446
|
-
node.remove();
|
|
1447
|
-
}
|
|
1448
1329
|
}
|
|
1449
1330
|
return parentVNode;
|
|
1450
1331
|
};
|
|
@@ -1546,18 +1427,144 @@ var findCorrespondingNode = (node, type) => {
|
|
|
1546
1427
|
} while (sibling && (sibling.nodeType !== type || !sibling.nodeValue));
|
|
1547
1428
|
return sibling;
|
|
1548
1429
|
};
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
|
|
1552
|
-
|
|
1553
|
-
|
|
1554
|
-
|
|
1555
|
-
|
|
1556
|
-
)
|
|
1430
|
+
|
|
1431
|
+
// src/runtime/normalize-watchers.ts
|
|
1432
|
+
var normalizeWatchers = (raw) => {
|
|
1433
|
+
if (!raw) return void 0;
|
|
1434
|
+
const keys = Object.keys(raw);
|
|
1435
|
+
if (keys.length === 0) return void 0;
|
|
1436
|
+
let hasLegacy = false;
|
|
1437
|
+
for (const propName of keys) {
|
|
1438
|
+
if (hasLegacy) break;
|
|
1439
|
+
for (const h2 of raw[propName]) {
|
|
1440
|
+
if (typeof h2 === "string") {
|
|
1441
|
+
hasLegacy = true;
|
|
1442
|
+
break;
|
|
1443
|
+
}
|
|
1444
|
+
}
|
|
1445
|
+
}
|
|
1446
|
+
if (!hasLegacy) return raw;
|
|
1447
|
+
const out = {};
|
|
1448
|
+
for (const propName of keys) {
|
|
1449
|
+
out[propName] = raw[propName].map(
|
|
1450
|
+
(h2) => typeof h2 === "string" ? { [h2]: 0 } : h2
|
|
1451
|
+
);
|
|
1452
|
+
}
|
|
1453
|
+
return out;
|
|
1557
1454
|
};
|
|
1558
|
-
|
|
1559
|
-
|
|
1560
|
-
|
|
1455
|
+
|
|
1456
|
+
// src/utils/remote-value.ts
|
|
1457
|
+
var RemoteValue = class _RemoteValue {
|
|
1458
|
+
/**
|
|
1459
|
+
* Deserializes a LocalValue serialized object back to its original JavaScript representation
|
|
1460
|
+
*
|
|
1461
|
+
* @param serialized The serialized LocalValue object
|
|
1462
|
+
* @returns The original JavaScript value/object
|
|
1463
|
+
*/
|
|
1464
|
+
static fromLocalValue(serialized) {
|
|
1465
|
+
const type = serialized[TYPE_CONSTANT];
|
|
1466
|
+
const value = VALUE_CONSTANT in serialized ? serialized[VALUE_CONSTANT] : void 0;
|
|
1467
|
+
switch (type) {
|
|
1468
|
+
case "string" /* String */:
|
|
1469
|
+
return value;
|
|
1470
|
+
case "boolean" /* Boolean */:
|
|
1471
|
+
return value;
|
|
1472
|
+
case "bigint" /* BigInt */:
|
|
1473
|
+
return BigInt(value);
|
|
1474
|
+
case "undefined" /* Undefined */:
|
|
1475
|
+
return void 0;
|
|
1476
|
+
case "null" /* Null */:
|
|
1477
|
+
return null;
|
|
1478
|
+
case "number" /* Number */:
|
|
1479
|
+
if (value === "NaN") return NaN;
|
|
1480
|
+
if (value === "-0") return -0;
|
|
1481
|
+
if (value === "Infinity") return Infinity;
|
|
1482
|
+
if (value === "-Infinity") return -Infinity;
|
|
1483
|
+
return value;
|
|
1484
|
+
case "array" /* Array */:
|
|
1485
|
+
return value.map((item) => _RemoteValue.fromLocalValue(item));
|
|
1486
|
+
case "date" /* Date */:
|
|
1487
|
+
return new Date(value);
|
|
1488
|
+
case "map" /* Map */:
|
|
1489
|
+
const map = /* @__PURE__ */ new Map();
|
|
1490
|
+
for (const [key, val] of value) {
|
|
1491
|
+
const deserializedKey = typeof key === "object" && key !== null ? _RemoteValue.fromLocalValue(key) : key;
|
|
1492
|
+
const deserializedValue = _RemoteValue.fromLocalValue(val);
|
|
1493
|
+
map.set(deserializedKey, deserializedValue);
|
|
1494
|
+
}
|
|
1495
|
+
return map;
|
|
1496
|
+
case "object" /* Object */:
|
|
1497
|
+
const obj = {};
|
|
1498
|
+
for (const [key, val] of value) {
|
|
1499
|
+
obj[key] = _RemoteValue.fromLocalValue(val);
|
|
1500
|
+
}
|
|
1501
|
+
return obj;
|
|
1502
|
+
case "regexp" /* RegularExpression */:
|
|
1503
|
+
const { pattern, flags } = value;
|
|
1504
|
+
return new RegExp(pattern, flags);
|
|
1505
|
+
case "set" /* Set */:
|
|
1506
|
+
const set = /* @__PURE__ */ new Set();
|
|
1507
|
+
for (const item of value) {
|
|
1508
|
+
set.add(_RemoteValue.fromLocalValue(item));
|
|
1509
|
+
}
|
|
1510
|
+
return set;
|
|
1511
|
+
case "symbol" /* Symbol */:
|
|
1512
|
+
return Symbol(value);
|
|
1513
|
+
default:
|
|
1514
|
+
throw new Error(`Unsupported type: ${type}`);
|
|
1515
|
+
}
|
|
1516
|
+
}
|
|
1517
|
+
/**
|
|
1518
|
+
* Utility method to deserialize multiple LocalValues at once
|
|
1519
|
+
*
|
|
1520
|
+
* @param serializedValues Array of serialized LocalValue objects
|
|
1521
|
+
* @returns Array of deserialized JavaScript values
|
|
1522
|
+
*/
|
|
1523
|
+
static fromLocalValueArray(serializedValues) {
|
|
1524
|
+
return serializedValues.map((value) => _RemoteValue.fromLocalValue(value));
|
|
1525
|
+
}
|
|
1526
|
+
/**
|
|
1527
|
+
* Verifies if the given object matches the structure of a serialized LocalValue
|
|
1528
|
+
*
|
|
1529
|
+
* @param obj Object to verify
|
|
1530
|
+
* @returns boolean indicating if the object has LocalValue structure
|
|
1531
|
+
*/
|
|
1532
|
+
static isLocalValueObject(obj) {
|
|
1533
|
+
if (typeof obj !== "object" || obj === null) {
|
|
1534
|
+
return false;
|
|
1535
|
+
}
|
|
1536
|
+
if (!obj.hasOwnProperty(TYPE_CONSTANT)) {
|
|
1537
|
+
return false;
|
|
1538
|
+
}
|
|
1539
|
+
const type = obj[TYPE_CONSTANT];
|
|
1540
|
+
const hasTypeProperty = Object.values({ ...PrimitiveType, ...NonPrimitiveType }).includes(type);
|
|
1541
|
+
if (!hasTypeProperty) {
|
|
1542
|
+
return false;
|
|
1543
|
+
}
|
|
1544
|
+
if (type !== "null" /* Null */ && type !== "undefined" /* Undefined */) {
|
|
1545
|
+
return obj.hasOwnProperty(VALUE_CONSTANT);
|
|
1546
|
+
}
|
|
1547
|
+
return true;
|
|
1548
|
+
}
|
|
1549
|
+
};
|
|
1550
|
+
|
|
1551
|
+
// src/utils/serialize.ts
|
|
1552
|
+
function decodeBase64Unicode(base64) {
|
|
1553
|
+
const binary = atob(base64);
|
|
1554
|
+
const bytes = new Uint8Array(binary.length);
|
|
1555
|
+
for (let i2 = 0; i2 < binary.length; i2++) {
|
|
1556
|
+
bytes[i2] = binary.charCodeAt(i2);
|
|
1557
|
+
}
|
|
1558
|
+
return new TextDecoder().decode(bytes);
|
|
1559
|
+
}
|
|
1560
|
+
function deserializeProperty(value) {
|
|
1561
|
+
if (typeof value !== "string" || !value.startsWith(SERIALIZED_PREFIX)) {
|
|
1562
|
+
return value;
|
|
1563
|
+
}
|
|
1564
|
+
return RemoteValue.fromLocalValue(JSON.parse(decodeBase64Unicode(value.slice(SERIALIZED_PREFIX.length))));
|
|
1565
|
+
}
|
|
1566
|
+
|
|
1567
|
+
// src/runtime/parse-property-value.ts
|
|
1561
1568
|
var parsePropertyValue = (propValue, propType, isFormAssociated) => {
|
|
1562
1569
|
if (typeof propValue === "string" && propValue.startsWith(SERIALIZED_PREFIX)) {
|
|
1563
1570
|
propValue = deserializeProperty(propValue);
|
|
@@ -1650,7 +1657,7 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRen
|
|
|
1650
1657
|
}
|
|
1651
1658
|
} else if (memberName === "key") ; else if (memberName === "ref") {
|
|
1652
1659
|
if (newValue) {
|
|
1653
|
-
newValue
|
|
1660
|
+
queueRefAttachment(newValue, elm);
|
|
1654
1661
|
}
|
|
1655
1662
|
} else if ((!isProp ) && memberName[0] === "o" && memberName[1] === "n") {
|
|
1656
1663
|
if (memberName[2] === "-") {
|
|
@@ -1670,15 +1677,45 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRen
|
|
|
1670
1677
|
plt.ael(elm, memberName, newValue, capture);
|
|
1671
1678
|
}
|
|
1672
1679
|
}
|
|
1680
|
+
} else if (memberName[0] === "a" && memberName.startsWith("attr:")) {
|
|
1681
|
+
const propName = memberName.slice(5);
|
|
1682
|
+
let attrName;
|
|
1683
|
+
{
|
|
1684
|
+
const hostRef = getHostRef(elm);
|
|
1685
|
+
if (hostRef && hostRef.$cmpMeta$ && hostRef.$cmpMeta$.$members$) {
|
|
1686
|
+
const memberMeta = hostRef.$cmpMeta$.$members$[propName];
|
|
1687
|
+
if (memberMeta && memberMeta[1]) {
|
|
1688
|
+
attrName = memberMeta[1];
|
|
1689
|
+
}
|
|
1690
|
+
}
|
|
1691
|
+
}
|
|
1692
|
+
if (!attrName) {
|
|
1693
|
+
attrName = propName.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase();
|
|
1694
|
+
}
|
|
1695
|
+
if (newValue == null || newValue === false) {
|
|
1696
|
+
if (newValue !== false || elm.getAttribute(attrName) === "") {
|
|
1697
|
+
elm.removeAttribute(attrName);
|
|
1698
|
+
}
|
|
1699
|
+
} else {
|
|
1700
|
+
elm.setAttribute(attrName, newValue === true ? "" : newValue);
|
|
1701
|
+
}
|
|
1702
|
+
return;
|
|
1703
|
+
} else if (memberName[0] === "p" && memberName.startsWith("prop:")) {
|
|
1704
|
+
const propName = memberName.slice(5);
|
|
1705
|
+
try {
|
|
1706
|
+
elm[propName] = newValue;
|
|
1707
|
+
} catch (e) {
|
|
1708
|
+
}
|
|
1709
|
+
return;
|
|
1673
1710
|
} else {
|
|
1674
1711
|
const isComplex = isComplexType(newValue);
|
|
1675
|
-
if ((isProp || isComplex && newValue !== null) &&
|
|
1712
|
+
if ((isProp || isComplex && newValue !== null) && !isSvg) {
|
|
1676
1713
|
try {
|
|
1677
1714
|
if (!elm.tagName.includes("-")) {
|
|
1678
1715
|
const n = newValue == null ? "" : newValue;
|
|
1679
1716
|
if (memberName === "list") {
|
|
1680
1717
|
isProp = false;
|
|
1681
|
-
} else if (oldValue == null || elm[memberName]
|
|
1718
|
+
} else if (oldValue == null || elm[memberName] !== n) {
|
|
1682
1719
|
if (typeof elm.__lookupSetter__(memberName) === "function") {
|
|
1683
1720
|
elm[memberName] = n;
|
|
1684
1721
|
} else {
|
|
@@ -1771,19 +1808,20 @@ function sortedAttrNames(attrNames) {
|
|
|
1771
1808
|
);
|
|
1772
1809
|
}
|
|
1773
1810
|
var hostTagName;
|
|
1811
|
+
var useNativeShadowDom = false;
|
|
1774
1812
|
var isSvgMode = false;
|
|
1813
|
+
var refCallbacksToRemove = [];
|
|
1814
|
+
var refCallbacksToAttach = [];
|
|
1775
1815
|
var createElm = (oldParentVNode, newParentVNode, childIndex) => {
|
|
1776
1816
|
const newVNode2 = newParentVNode.$children$[childIndex];
|
|
1777
1817
|
let i2 = 0;
|
|
1778
1818
|
let elm;
|
|
1779
1819
|
let childNode;
|
|
1780
|
-
if (newVNode2.$text$
|
|
1820
|
+
if (newVNode2.$text$ != null) {
|
|
1781
1821
|
elm = newVNode2.$elm$ = win.document.createTextNode(newVNode2.$text$);
|
|
1782
1822
|
} else {
|
|
1783
1823
|
if (!win.document) {
|
|
1784
|
-
throw new Error(
|
|
1785
|
-
"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."
|
|
1786
|
-
);
|
|
1824
|
+
throw new Error("You are trying to render a Stencil component in an environment that doesn't support the DOM.");
|
|
1787
1825
|
}
|
|
1788
1826
|
elm = newVNode2.$elm$ = win.document.createElement(
|
|
1789
1827
|
newVNode2.$tag$
|
|
@@ -1792,10 +1830,11 @@ var createElm = (oldParentVNode, newParentVNode, childIndex) => {
|
|
|
1792
1830
|
updateElement(null, newVNode2, isSvgMode);
|
|
1793
1831
|
}
|
|
1794
1832
|
if (newVNode2.$children$) {
|
|
1833
|
+
const appendTarget = newVNode2.$tag$ === "template" ? elm.content : elm;
|
|
1795
1834
|
for (i2 = 0; i2 < newVNode2.$children$.length; ++i2) {
|
|
1796
1835
|
childNode = createElm(oldParentVNode, newVNode2, i2);
|
|
1797
1836
|
if (childNode) {
|
|
1798
|
-
|
|
1837
|
+
appendTarget.appendChild(childNode);
|
|
1799
1838
|
}
|
|
1800
1839
|
}
|
|
1801
1840
|
}
|
|
@@ -1803,12 +1842,34 @@ var createElm = (oldParentVNode, newParentVNode, childIndex) => {
|
|
|
1803
1842
|
elm["s-hn"] = hostTagName;
|
|
1804
1843
|
return elm;
|
|
1805
1844
|
};
|
|
1845
|
+
var relocateToHostRoot = (parentElm) => {
|
|
1846
|
+
plt.$flags$ |= 1 /* isTmpDisconnected */;
|
|
1847
|
+
const host = parentElm.closest(hostTagName.toLowerCase());
|
|
1848
|
+
if (host != null) {
|
|
1849
|
+
const contentRefNode = Array.from(host.__childNodes || host.childNodes).find(
|
|
1850
|
+
(ref) => ref["s-cr"]
|
|
1851
|
+
);
|
|
1852
|
+
const childNodeArray = Array.from(
|
|
1853
|
+
parentElm.__childNodes || parentElm.childNodes
|
|
1854
|
+
);
|
|
1855
|
+
for (const childNode of contentRefNode ? childNodeArray.reverse() : childNodeArray) {
|
|
1856
|
+
if (childNode["s-sh"] != null) {
|
|
1857
|
+
insertBefore(host, childNode, contentRefNode != null ? contentRefNode : null);
|
|
1858
|
+
childNode["s-sh"] = void 0;
|
|
1859
|
+
}
|
|
1860
|
+
}
|
|
1861
|
+
}
|
|
1862
|
+
plt.$flags$ &= -2 /* isTmpDisconnected */;
|
|
1863
|
+
};
|
|
1806
1864
|
var addVnodes = (parentElm, before, parentVNode, vnodes, startIdx, endIdx) => {
|
|
1807
1865
|
let containerElm = parentElm;
|
|
1808
1866
|
let childNode;
|
|
1809
1867
|
if (containerElm.shadowRoot && containerElm.tagName === hostTagName) {
|
|
1810
1868
|
containerElm = containerElm.shadowRoot;
|
|
1811
1869
|
}
|
|
1870
|
+
if (parentVNode.$tag$ === "template") {
|
|
1871
|
+
containerElm = containerElm.content;
|
|
1872
|
+
}
|
|
1812
1873
|
for (; startIdx <= endIdx; ++startIdx) {
|
|
1813
1874
|
if (vnodes[startIdx]) {
|
|
1814
1875
|
childNode = createElm(null, parentVNode, startIdx);
|
|
@@ -1844,6 +1905,7 @@ var updateChildren = (parentElm, oldCh, newVNode2, newCh, isInitialRender = fals
|
|
|
1844
1905
|
let newEndVnode = newCh[newEndIdx];
|
|
1845
1906
|
let node;
|
|
1846
1907
|
let elmToMove;
|
|
1908
|
+
const containerElm = newVNode2.$tag$ === "template" ? parentElm.content : parentElm;
|
|
1847
1909
|
while (oldStartIdx <= oldEndIdx && newStartIdx <= newEndIdx) {
|
|
1848
1910
|
if (oldStartVnode == null) {
|
|
1849
1911
|
oldStartVnode = oldCh[++oldStartIdx];
|
|
@@ -1863,12 +1925,12 @@ var updateChildren = (parentElm, oldCh, newVNode2, newCh, isInitialRender = fals
|
|
|
1863
1925
|
newEndVnode = newCh[--newEndIdx];
|
|
1864
1926
|
} else if (isSameVnode(oldStartVnode, newEndVnode, isInitialRender)) {
|
|
1865
1927
|
patch(oldStartVnode, newEndVnode, isInitialRender);
|
|
1866
|
-
insertBefore(
|
|
1928
|
+
insertBefore(containerElm, oldStartVnode.$elm$, oldEndVnode.$elm$.nextSibling);
|
|
1867
1929
|
oldStartVnode = oldCh[++oldStartIdx];
|
|
1868
1930
|
newEndVnode = newCh[--newEndIdx];
|
|
1869
1931
|
} else if (isSameVnode(oldEndVnode, newStartVnode, isInitialRender)) {
|
|
1870
1932
|
patch(oldEndVnode, newStartVnode, isInitialRender);
|
|
1871
|
-
insertBefore(
|
|
1933
|
+
insertBefore(containerElm, oldEndVnode.$elm$, oldStartVnode.$elm$);
|
|
1872
1934
|
oldEndVnode = oldCh[--oldEndIdx];
|
|
1873
1935
|
newStartVnode = newCh[++newStartIdx];
|
|
1874
1936
|
} else {
|
|
@@ -1931,9 +1993,16 @@ var patch = (oldVNode, newVNode2, isInitialRender = false) => {
|
|
|
1931
1993
|
const elm = newVNode2.$elm$ = oldVNode.$elm$;
|
|
1932
1994
|
const oldChildren = oldVNode.$children$;
|
|
1933
1995
|
const newChildren = newVNode2.$children$;
|
|
1996
|
+
const tag = newVNode2.$tag$;
|
|
1934
1997
|
const text = newVNode2.$text$;
|
|
1935
|
-
if (text
|
|
1998
|
+
if (text == null) {
|
|
1936
1999
|
{
|
|
2000
|
+
if (tag === "slot" && !useNativeShadowDom) {
|
|
2001
|
+
if (oldVNode.$name$ !== newVNode2.$name$) {
|
|
2002
|
+
newVNode2.$elm$["s-sn"] = newVNode2.$name$ || "";
|
|
2003
|
+
relocateToHostRoot(newVNode2.$elm$.parentElement);
|
|
2004
|
+
}
|
|
2005
|
+
}
|
|
1937
2006
|
updateElement(oldVNode, newVNode2, isSvgMode, isInitialRender);
|
|
1938
2007
|
}
|
|
1939
2008
|
if (oldChildren !== null && newChildren !== null) {
|
|
@@ -1957,12 +2026,29 @@ var patch = (oldVNode, newVNode2, isInitialRender = false) => {
|
|
|
1957
2026
|
};
|
|
1958
2027
|
var nullifyVNodeRefs = (vNode) => {
|
|
1959
2028
|
{
|
|
1960
|
-
vNode.$attrs$ && vNode.$attrs$.ref
|
|
2029
|
+
if (vNode.$attrs$ && vNode.$attrs$.ref) {
|
|
2030
|
+
refCallbacksToRemove.push(() => vNode.$attrs$.ref(null));
|
|
2031
|
+
}
|
|
1961
2032
|
vNode.$children$ && vNode.$children$.map(nullifyVNodeRefs);
|
|
1962
2033
|
}
|
|
1963
2034
|
};
|
|
1964
|
-
var
|
|
2035
|
+
var queueRefAttachment = (refCallback, elm) => {
|
|
1965
2036
|
{
|
|
2037
|
+
refCallbacksToAttach.push(() => refCallback(elm));
|
|
2038
|
+
}
|
|
2039
|
+
};
|
|
2040
|
+
var flushQueuedRefCallbacks = () => {
|
|
2041
|
+
{
|
|
2042
|
+
refCallbacksToRemove.forEach((cb) => cb());
|
|
2043
|
+
refCallbacksToRemove.length = 0;
|
|
2044
|
+
refCallbacksToAttach.forEach((cb) => cb());
|
|
2045
|
+
refCallbacksToAttach.length = 0;
|
|
2046
|
+
}
|
|
2047
|
+
};
|
|
2048
|
+
var insertBefore = (parent, newNode, reference, isInitialLoad) => {
|
|
2049
|
+
if (parent.__insertBefore) {
|
|
2050
|
+
return parent.__insertBefore(newNode, reference);
|
|
2051
|
+
} else {
|
|
1966
2052
|
return parent == null ? void 0 : parent.insertBefore(newNode, reference);
|
|
1967
2053
|
}
|
|
1968
2054
|
};
|
|
@@ -1992,7 +2078,9 @@ var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
|
|
|
1992
2078
|
rootVnode.$flags$ |= 4 /* isHost */;
|
|
1993
2079
|
hostRef.$vnode$ = rootVnode;
|
|
1994
2080
|
rootVnode.$elm$ = oldVNode.$elm$ = hostElm.shadowRoot || hostElm ;
|
|
2081
|
+
useNativeShadowDom = !!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) && !(cmpMeta.$flags$ & 128 /* shadowNeedsScopedCss */);
|
|
1995
2082
|
patch(oldVNode, rootVnode, isInitialLoad);
|
|
2083
|
+
flushQueuedRefCallbacks();
|
|
1996
2084
|
};
|
|
1997
2085
|
|
|
1998
2086
|
// src/runtime/update-component.ts
|
|
@@ -2057,8 +2145,8 @@ var dispatchHooks = (hostRef, isInitialLoad) => {
|
|
|
2057
2145
|
endSchedule();
|
|
2058
2146
|
return enqueue(maybePromise, () => updateComponent(hostRef, instance, isInitialLoad));
|
|
2059
2147
|
};
|
|
2060
|
-
var enqueue = (maybePromise, fn) => isPromisey(maybePromise) ? maybePromise.then(fn).catch((
|
|
2061
|
-
console.error(
|
|
2148
|
+
var enqueue = (maybePromise, fn) => isPromisey(maybePromise) ? maybePromise.then(fn).catch((err) => {
|
|
2149
|
+
console.error(err);
|
|
2062
2150
|
fn();
|
|
2063
2151
|
}) : fn();
|
|
2064
2152
|
var isPromisey = (maybePromise) => maybePromise instanceof Promise || maybePromise && maybePromise.then && typeof maybePromise.then === "function";
|
|
@@ -2086,7 +2174,7 @@ var updateComponent = async (hostRef, instance, isInitialLoad) => {
|
|
|
2086
2174
|
if (childrenPromises.length === 0) {
|
|
2087
2175
|
postUpdate();
|
|
2088
2176
|
} else {
|
|
2089
|
-
Promise.all(childrenPromises).then(postUpdate);
|
|
2177
|
+
Promise.all(childrenPromises).then(postUpdate).catch(postUpdate);
|
|
2090
2178
|
hostRef.$flags$ |= 4 /* isWaitingForChildren */;
|
|
2091
2179
|
childrenPromises.length = 0;
|
|
2092
2180
|
}
|
|
@@ -2200,25 +2288,35 @@ var setValue = (ref, propName, newVal, cmpMeta) => {
|
|
|
2200
2288
|
const didValueChange = newVal !== oldVal && !areBothNaN;
|
|
2201
2289
|
if ((!(flags & 8 /* isConstructingInstance */) || oldVal === void 0) && didValueChange) {
|
|
2202
2290
|
hostRef.$instanceValues$.set(propName, newVal);
|
|
2203
|
-
if (
|
|
2204
|
-
|
|
2205
|
-
|
|
2206
|
-
|
|
2207
|
-
|
|
2208
|
-
|
|
2209
|
-
|
|
2210
|
-
|
|
2211
|
-
|
|
2291
|
+
if (cmpMeta.$watchers$) {
|
|
2292
|
+
const watchMethods = cmpMeta.$watchers$[propName];
|
|
2293
|
+
if (watchMethods) {
|
|
2294
|
+
watchMethods.map((watcher) => {
|
|
2295
|
+
try {
|
|
2296
|
+
const [[watchMethodName, watcherFlags]] = Object.entries(watcher);
|
|
2297
|
+
if (flags & 128 /* isWatchReady */ || watcherFlags & 1 /* Immediate */) {
|
|
2298
|
+
if (!instance) {
|
|
2299
|
+
hostRef.$fetchedCbList$.push(() => {
|
|
2300
|
+
hostRef.$lazyInstance$[watchMethodName](newVal, oldVal, propName);
|
|
2301
|
+
});
|
|
2302
|
+
} else {
|
|
2303
|
+
instance[watchMethodName](newVal, oldVal, propName);
|
|
2304
|
+
}
|
|
2212
2305
|
}
|
|
2213
|
-
})
|
|
2214
|
-
|
|
2215
|
-
}
|
|
2216
|
-
if ((flags & (2 /* hasRendered */ | 16 /* isQueuedForUpdate */)) === 2 /* hasRendered */) {
|
|
2217
|
-
if (instance.componentShouldUpdate) {
|
|
2218
|
-
if (instance.componentShouldUpdate(newVal, oldVal, propName) === false) {
|
|
2219
|
-
return;
|
|
2306
|
+
} catch (e) {
|
|
2307
|
+
consoleError(e, elm);
|
|
2220
2308
|
}
|
|
2309
|
+
});
|
|
2310
|
+
}
|
|
2311
|
+
}
|
|
2312
|
+
if (flags & 2 /* hasRendered */) {
|
|
2313
|
+
if (instance.componentShouldUpdate) {
|
|
2314
|
+
const shouldUpdate = instance.componentShouldUpdate(newVal, oldVal, propName);
|
|
2315
|
+
if (shouldUpdate === false && !(flags & 16 /* isQueuedForUpdate */)) {
|
|
2316
|
+
return;
|
|
2221
2317
|
}
|
|
2318
|
+
}
|
|
2319
|
+
if (!(flags & 16 /* isQueuedForUpdate */)) {
|
|
2222
2320
|
scheduleUpdate(hostRef, false);
|
|
2223
2321
|
}
|
|
2224
2322
|
}
|
|
@@ -2252,7 +2350,7 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
2252
2350
|
if (cmpMeta.$members$ || BUILD.propChangeCallback) {
|
|
2253
2351
|
{
|
|
2254
2352
|
if (Cstr.watchers && !cmpMeta.$watchers$) {
|
|
2255
|
-
cmpMeta.$watchers$ = Cstr.watchers;
|
|
2353
|
+
cmpMeta.$watchers$ = normalizeWatchers(Cstr.watchers);
|
|
2256
2354
|
}
|
|
2257
2355
|
if (Cstr.deserializers && !cmpMeta.$deserializers$) {
|
|
2258
2356
|
cmpMeta.$deserializers$ = Cstr.deserializers;
|
|
@@ -2264,7 +2362,7 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
2264
2362
|
const members = Object.entries((_a = cmpMeta.$members$) != null ? _a : {});
|
|
2265
2363
|
members.map(([memberName, [memberFlags]]) => {
|
|
2266
2364
|
if ((memberFlags & 31 /* Prop */ || (flags & 2 /* proxyState */) && memberFlags & 32 /* State */)) {
|
|
2267
|
-
const { get: origGetter, set: origSetter } =
|
|
2365
|
+
const { get: origGetter, set: origSetter } = getPropertyDescriptor(prototype, memberName) || {};
|
|
2268
2366
|
if (origGetter) cmpMeta.$members$[memberName][0] |= 2048 /* Getter */;
|
|
2269
2367
|
if (origSetter) cmpMeta.$members$[memberName][0] |= 4096 /* Setter */;
|
|
2270
2368
|
if (flags & 1 /* isElementConstructor */ || !origGetter) {
|
|
@@ -2369,23 +2467,26 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
2369
2467
|
return;
|
|
2370
2468
|
} else if (propName == null) {
|
|
2371
2469
|
const flags2 = hostRef == null ? void 0 : hostRef.$flags$;
|
|
2372
|
-
if (hostRef && flags2 && !(flags2 & 8 /* isConstructingInstance */) &&
|
|
2470
|
+
if (hostRef && flags2 && !(flags2 & 8 /* isConstructingInstance */) && newValue !== oldValue) {
|
|
2373
2471
|
const instance = hostRef.$lazyInstance$ ;
|
|
2374
2472
|
const entry = (_a2 = cmpMeta.$watchers$) == null ? void 0 : _a2[attrName];
|
|
2375
|
-
entry == null ? void 0 : entry.forEach((
|
|
2376
|
-
|
|
2377
|
-
|
|
2473
|
+
entry == null ? void 0 : entry.forEach((watcher) => {
|
|
2474
|
+
const [[watchMethodName, watcherFlags]] = Object.entries(watcher);
|
|
2475
|
+
if (instance[watchMethodName] != null && (flags2 & 128 /* isWatchReady */ || watcherFlags & 1 /* Immediate */)) {
|
|
2476
|
+
instance[watchMethodName].call(instance, newValue, oldValue, attrName);
|
|
2378
2477
|
}
|
|
2379
2478
|
});
|
|
2380
2479
|
}
|
|
2381
2480
|
return;
|
|
2382
2481
|
}
|
|
2383
2482
|
const propFlags = members.find(([m]) => m === propName);
|
|
2384
|
-
|
|
2483
|
+
const isBooleanTarget = propFlags && propFlags[1][0] & 4 /* Boolean */;
|
|
2484
|
+
const isSpuriousBooleanRemoval = isBooleanTarget && newValue === null && this[propName] === void 0;
|
|
2485
|
+
if (isBooleanTarget) {
|
|
2385
2486
|
newValue = newValue === null || newValue === "false" ? false : true;
|
|
2386
2487
|
}
|
|
2387
2488
|
const propDesc = Object.getOwnPropertyDescriptor(prototype, propName);
|
|
2388
|
-
if (newValue != this[propName] && (!propDesc.get || !!propDesc.set)) {
|
|
2489
|
+
if (!isSpuriousBooleanRemoval && newValue != this[propName] && (!propDesc.get || !!propDesc.set)) {
|
|
2389
2490
|
this[propName] = newValue;
|
|
2390
2491
|
}
|
|
2391
2492
|
});
|
|
@@ -2412,71 +2513,84 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
2412
2513
|
// src/runtime/initialize-component.ts
|
|
2413
2514
|
var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
|
|
2414
2515
|
let Cstr;
|
|
2415
|
-
|
|
2416
|
-
hostRef.$flags$
|
|
2417
|
-
|
|
2418
|
-
|
|
2419
|
-
|
|
2420
|
-
|
|
2421
|
-
|
|
2422
|
-
|
|
2423
|
-
|
|
2424
|
-
|
|
2425
|
-
|
|
2426
|
-
|
|
2427
|
-
|
|
2428
|
-
|
|
2429
|
-
|
|
2430
|
-
|
|
2516
|
+
try {
|
|
2517
|
+
if ((hostRef.$flags$ & 32 /* hasInitializedComponent */) === 0) {
|
|
2518
|
+
hostRef.$flags$ |= 32 /* hasInitializedComponent */;
|
|
2519
|
+
const bundleId = cmpMeta.$lazyBundleId$;
|
|
2520
|
+
if (bundleId) {
|
|
2521
|
+
const CstrImport = loadModule(cmpMeta, hostRef);
|
|
2522
|
+
if (CstrImport && "then" in CstrImport) {
|
|
2523
|
+
const endLoad = uniqueTime();
|
|
2524
|
+
Cstr = await CstrImport;
|
|
2525
|
+
endLoad();
|
|
2526
|
+
} else {
|
|
2527
|
+
Cstr = CstrImport;
|
|
2528
|
+
}
|
|
2529
|
+
if (!Cstr) {
|
|
2530
|
+
throw new Error(`Constructor for "${cmpMeta.$tagName$}#${hostRef.$modeName$}" was not found`);
|
|
2531
|
+
}
|
|
2532
|
+
if (!Cstr.isProxied) {
|
|
2533
|
+
{
|
|
2534
|
+
cmpMeta.$watchers$ = normalizeWatchers(Cstr.watchers);
|
|
2535
|
+
cmpMeta.$serializers$ = Cstr.serializers;
|
|
2536
|
+
cmpMeta.$deserializers$ = Cstr.deserializers;
|
|
2537
|
+
}
|
|
2538
|
+
proxyComponent(Cstr, cmpMeta, 2 /* proxyState */);
|
|
2539
|
+
Cstr.isProxied = true;
|
|
2540
|
+
}
|
|
2541
|
+
const endNewInstance = createTime("createInstance", cmpMeta.$tagName$);
|
|
2431
2542
|
{
|
|
2432
|
-
|
|
2433
|
-
|
|
2434
|
-
|
|
2543
|
+
hostRef.$flags$ |= 8 /* isConstructingInstance */;
|
|
2544
|
+
}
|
|
2545
|
+
try {
|
|
2546
|
+
new Cstr(hostRef);
|
|
2547
|
+
} catch (e) {
|
|
2548
|
+
consoleError(e, elm);
|
|
2549
|
+
}
|
|
2550
|
+
{
|
|
2551
|
+
hostRef.$flags$ &= -9 /* isConstructingInstance */;
|
|
2552
|
+
}
|
|
2553
|
+
{
|
|
2554
|
+
hostRef.$flags$ |= 128 /* isWatchReady */;
|
|
2555
|
+
}
|
|
2556
|
+
endNewInstance();
|
|
2557
|
+
{
|
|
2558
|
+
fireConnectedCallback(hostRef.$lazyInstance$, elm);
|
|
2559
|
+
}
|
|
2560
|
+
} else {
|
|
2561
|
+
Cstr = elm.constructor;
|
|
2562
|
+
const cmpTag = elm.localName;
|
|
2563
|
+
customElements.whenDefined(cmpTag).then(() => hostRef.$flags$ |= 128 /* isWatchReady */);
|
|
2564
|
+
}
|
|
2565
|
+
if (Cstr && Cstr.style) {
|
|
2566
|
+
let style;
|
|
2567
|
+
if (typeof Cstr.style === "string") {
|
|
2568
|
+
style = Cstr.style;
|
|
2569
|
+
}
|
|
2570
|
+
const scopeId2 = getScopeId(cmpMeta);
|
|
2571
|
+
if (!styles.has(scopeId2) || BUILD.hotModuleReplacement) {
|
|
2572
|
+
const endRegisterStyles = createTime("registerStyles", cmpMeta.$tagName$);
|
|
2573
|
+
registerStyle(scopeId2, style, !!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */));
|
|
2574
|
+
endRegisterStyles();
|
|
2435
2575
|
}
|
|
2436
|
-
proxyComponent(Cstr, cmpMeta, 2 /* proxyState */);
|
|
2437
|
-
Cstr.isProxied = true;
|
|
2438
|
-
}
|
|
2439
|
-
const endNewInstance = createTime("createInstance", cmpMeta.$tagName$);
|
|
2440
|
-
{
|
|
2441
|
-
hostRef.$flags$ |= 8 /* isConstructingInstance */;
|
|
2442
|
-
}
|
|
2443
|
-
try {
|
|
2444
|
-
new Cstr(hostRef);
|
|
2445
|
-
} catch (e) {
|
|
2446
|
-
consoleError(e, elm);
|
|
2447
|
-
}
|
|
2448
|
-
{
|
|
2449
|
-
hostRef.$flags$ &= -9 /* isConstructingInstance */;
|
|
2450
|
-
}
|
|
2451
|
-
{
|
|
2452
|
-
hostRef.$flags$ |= 128 /* isWatchReady */;
|
|
2453
2576
|
}
|
|
2454
|
-
|
|
2455
|
-
|
|
2577
|
+
}
|
|
2578
|
+
const ancestorComponent = hostRef.$ancestorComponent$;
|
|
2579
|
+
const schedule = () => scheduleUpdate(hostRef, true);
|
|
2580
|
+
if (ancestorComponent && ancestorComponent["s-rc"]) {
|
|
2581
|
+
ancestorComponent["s-rc"].push(schedule);
|
|
2456
2582
|
} else {
|
|
2457
|
-
|
|
2458
|
-
const cmpTag = elm.localName;
|
|
2459
|
-
customElements.whenDefined(cmpTag).then(() => hostRef.$flags$ |= 128 /* isWatchReady */);
|
|
2583
|
+
schedule();
|
|
2460
2584
|
}
|
|
2461
|
-
|
|
2462
|
-
|
|
2463
|
-
|
|
2464
|
-
|
|
2465
|
-
|
|
2466
|
-
|
|
2467
|
-
|
|
2468
|
-
|
|
2469
|
-
registerStyle(scopeId2, style, !!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */));
|
|
2470
|
-
endRegisterStyles();
|
|
2471
|
-
}
|
|
2585
|
+
} catch (e) {
|
|
2586
|
+
consoleError(e, elm);
|
|
2587
|
+
if (hostRef.$onRenderResolve$) {
|
|
2588
|
+
hostRef.$onRenderResolve$();
|
|
2589
|
+
hostRef.$onRenderResolve$ = void 0;
|
|
2590
|
+
}
|
|
2591
|
+
if (hostRef.$onReadyResolve$) {
|
|
2592
|
+
hostRef.$onReadyResolve$(elm);
|
|
2472
2593
|
}
|
|
2473
|
-
}
|
|
2474
|
-
const ancestorComponent = hostRef.$ancestorComponent$;
|
|
2475
|
-
const schedule = () => scheduleUpdate(hostRef, true);
|
|
2476
|
-
if (ancestorComponent && ancestorComponent["s-rc"]) {
|
|
2477
|
-
ancestorComponent["s-rc"].push(schedule);
|
|
2478
|
-
} else {
|
|
2479
|
-
schedule();
|
|
2480
2594
|
}
|
|
2481
2595
|
};
|
|
2482
2596
|
var fireConnectedCallback = (instance, elm) => {
|
|
@@ -2518,7 +2632,7 @@ var connectedCallback = (elm) => {
|
|
|
2518
2632
|
}
|
|
2519
2633
|
if (cmpMeta.$members$) {
|
|
2520
2634
|
Object.entries(cmpMeta.$members$).map(([memberName, [memberFlags]]) => {
|
|
2521
|
-
if (memberFlags & 31 /* Prop */ &&
|
|
2635
|
+
if (memberFlags & 31 /* Prop */ && Object.prototype.hasOwnProperty.call(elm, memberName)) {
|
|
2522
2636
|
const value = elm[memberName];
|
|
2523
2637
|
delete elm[memberName];
|
|
2524
2638
|
elm[memberName] = value;
|
|
@@ -2592,19 +2706,15 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
|
|
|
2592
2706
|
{
|
|
2593
2707
|
hydrateScopedToShadow();
|
|
2594
2708
|
}
|
|
2595
|
-
let hasSlotRelocation = false;
|
|
2596
2709
|
lazyBundles.map((lazyBundle) => {
|
|
2597
2710
|
lazyBundle[1].map((compactMeta) => {
|
|
2598
|
-
var _a2, _b
|
|
2711
|
+
var _a2, _b;
|
|
2599
2712
|
const cmpMeta = {
|
|
2600
2713
|
$flags$: compactMeta[0],
|
|
2601
2714
|
$tagName$: compactMeta[1],
|
|
2602
2715
|
$members$: compactMeta[2],
|
|
2603
2716
|
$listeners$: compactMeta[3]
|
|
2604
2717
|
};
|
|
2605
|
-
if (cmpMeta.$flags$ & 4 /* hasSlotRelocation */) {
|
|
2606
|
-
hasSlotRelocation = true;
|
|
2607
|
-
}
|
|
2608
2718
|
{
|
|
2609
2719
|
cmpMeta.$members$ = compactMeta[2];
|
|
2610
2720
|
}
|
|
@@ -2615,16 +2725,18 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
|
|
|
2615
2725
|
cmpMeta.$attrsToReflect$ = [];
|
|
2616
2726
|
}
|
|
2617
2727
|
{
|
|
2618
|
-
cmpMeta.$watchers$ = (
|
|
2619
|
-
cmpMeta.$serializers$ = (
|
|
2620
|
-
cmpMeta.$deserializers$ = (
|
|
2728
|
+
cmpMeta.$watchers$ = normalizeWatchers(compactMeta[4]);
|
|
2729
|
+
cmpMeta.$serializers$ = (_a2 = compactMeta[5]) != null ? _a2 : {};
|
|
2730
|
+
cmpMeta.$deserializers$ = (_b = compactMeta[6]) != null ? _b : {};
|
|
2621
2731
|
}
|
|
2622
|
-
const tagName = cmpMeta.$tagName
|
|
2732
|
+
const tagName = transformTag(cmpMeta.$tagName$);
|
|
2623
2733
|
const HostElement = class extends HTMLElement {
|
|
2734
|
+
["s-p"];
|
|
2735
|
+
["s-rc"];
|
|
2736
|
+
hasRegisteredEventListeners = false;
|
|
2624
2737
|
// StencilLazyHost
|
|
2625
2738
|
constructor(self) {
|
|
2626
2739
|
super(self);
|
|
2627
|
-
this.hasRegisteredEventListeners = false;
|
|
2628
2740
|
self = this;
|
|
2629
2741
|
registerHost(self, cmpMeta);
|
|
2630
2742
|
if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) {
|
|
@@ -2696,9 +2808,6 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
|
|
|
2696
2808
|
});
|
|
2697
2809
|
});
|
|
2698
2810
|
if (cmpTags.length > 0) {
|
|
2699
|
-
if (hasSlotRelocation) {
|
|
2700
|
-
dataStyles.textContent += SLOT_FB_CSS;
|
|
2701
|
-
}
|
|
2702
2811
|
{
|
|
2703
2812
|
dataStyles.textContent += cmpTags.sort() + HYDRATED_CSS;
|
|
2704
2813
|
}
|
|
@@ -2753,5 +2862,8 @@ var hostListenerOpts = (flags) => supportsListenerOptions ? {
|
|
|
2753
2862
|
|
|
2754
2863
|
// src/runtime/nonce.ts
|
|
2755
2864
|
var setNonce = (nonce) => plt.$nonce$ = nonce;
|
|
2865
|
+
function transformTag(tag) {
|
|
2866
|
+
return tag;
|
|
2867
|
+
}
|
|
2756
2868
|
|
|
2757
2869
|
export { Host as H, bootstrapLazy as b, createEvent as c, getElement as g, h, promiseResolve as p, registerInstance as r, setNonce as s };
|