@maggioli-design-system/magma 2.0.0-beta.2 → 2.0.0-beta.3
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 +11 -3
- package/dist/cjs/{floating-controller-DA8xyqCa.js → floating-controller-CXEVR1wX.js} +5 -5
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/magma-components.cjs.js +1 -1
- package/dist/cjs/mds-accordion-item.cjs.entry.js +24 -2
- package/dist/cjs/mds-accordion-timer-item.cjs.entry.js +12 -2
- package/dist/cjs/mds-accordion-timer.cjs.entry.js +1 -1
- package/dist/cjs/mds-accordion.cjs.entry.js +32 -5
- package/dist/cjs/mds-author.cjs.entry.js +1 -1
- package/dist/cjs/mds-avatar-stack-item.cjs.entry.js +1 -1
- package/dist/cjs/mds-avatar-stack.cjs.entry.js +1 -1
- package/dist/cjs/mds-avatar.cjs.entry.js +27 -11
- package/dist/cjs/mds-badge.cjs.entry.js +24 -2
- package/dist/cjs/mds-banner_3.cjs.entry.js +49 -10
- package/dist/cjs/mds-benchmark-bar.cjs.entry.js +1 -1
- package/dist/cjs/mds-bibliography.cjs.entry.js +1 -1
- package/dist/cjs/mds-breadcrumb-item.cjs.entry.js +1 -1
- package/dist/cjs/mds-breadcrumb.cjs.entry.js +7 -7
- package/dist/cjs/mds-button-dropdown.cjs.entry.js +1 -1
- package/dist/cjs/mds-button-group.cjs.entry.js +1 -1
- package/dist/cjs/mds-button_3.cjs.entry.js +30 -9
- package/dist/cjs/mds-calendar_2.cjs.entry.js +69 -67
- package/dist/cjs/mds-card-content.cjs.entry.js +1 -1
- package/dist/cjs/mds-card-footer.cjs.entry.js +1 -1
- package/dist/cjs/mds-card-header.cjs.entry.js +1 -1
- package/dist/cjs/mds-card-media.cjs.entry.js +1 -1
- package/dist/cjs/mds-card.cjs.entry.js +22 -4
- package/dist/cjs/mds-details.cjs.entry.js +14 -2
- package/dist/cjs/mds-dropdown.cjs.entry.js +41 -21
- package/dist/cjs/mds-emoji.cjs.entry.js +1 -1
- package/dist/cjs/mds-entity.cjs.entry.js +20 -2
- package/dist/cjs/mds-file-preview.cjs.entry.js +25 -3
- package/dist/cjs/mds-file.cjs.entry.js +26 -4
- package/dist/cjs/mds-filter-item.cjs.entry.js +22 -2
- package/dist/cjs/mds-filter.cjs.entry.js +24 -2
- package/dist/cjs/mds-header-bar.cjs.entry.js +24 -2
- package/dist/cjs/mds-header.cjs.entry.js +20 -4
- package/dist/cjs/mds-horizontal-scroll.cjs.entry.js +1 -1
- package/dist/cjs/mds-hr.cjs.entry.js +16 -2
- package/dist/cjs/mds-img.cjs.entry.js +5 -4
- package/dist/cjs/mds-input-date-range-preselection.cjs.entry.js +1 -1
- package/dist/cjs/mds-input-date-range.cjs.entry.js +31 -14
- package/dist/cjs/mds-input-date.cjs.entry.js +38 -14
- package/dist/cjs/mds-input-field.cjs.entry.js +1 -1
- package/dist/cjs/mds-input-otp.cjs.entry.js +1 -1
- package/dist/cjs/mds-input-range.cjs.entry.js +24 -2
- package/dist/cjs/mds-input-select.cjs.entry.js +25 -3
- package/dist/cjs/mds-input-switch_2.cjs.entry.js +27 -4
- package/dist/cjs/mds-input-tip_2.cjs.entry.js +28 -5
- package/dist/cjs/mds-input-upload.cjs.entry.js +17 -7
- package/dist/cjs/mds-input.cjs.entry.js +26 -3
- package/dist/cjs/mds-keyboard-key.cjs.entry.js +1 -1
- package/dist/cjs/mds-keyboard.cjs.entry.js +30 -11
- package/dist/cjs/mds-kpi-item.cjs.entry.js +24 -2
- package/dist/cjs/mds-kpi.cjs.entry.js +1 -1
- package/dist/cjs/mds-label.cjs.entry.js +18 -2
- package/dist/cjs/mds-list-item.cjs.entry.js +12 -2
- package/dist/cjs/mds-list.cjs.entry.js +1 -1
- package/dist/cjs/mds-mention.cjs.entry.js +1 -1
- package/dist/cjs/mds-modal.cjs.entry.js +121 -43
- package/dist/cjs/mds-note.cjs.entry.js +22 -2
- package/dist/cjs/mds-notification.cjs.entry.js +14 -4
- package/dist/cjs/mds-paginator-item.cjs.entry.js +18 -2
- package/dist/cjs/mds-paginator.cjs.entry.js +39 -2
- package/dist/cjs/mds-policy-ai.cjs.entry.js +5 -2
- package/dist/cjs/mds-pref-animation.cjs.entry.js +15 -8
- package/dist/cjs/mds-pref-consumption.cjs.entry.js +15 -8
- package/dist/cjs/mds-pref-contrast.cjs.entry.js +15 -8
- package/dist/cjs/mds-pref-language-item.cjs.entry.js +2 -2
- package/dist/cjs/mds-pref-language.cjs.entry.js +2 -2
- package/dist/cjs/mds-pref-theme-variant-item.cjs.entry.js +2 -2
- package/dist/cjs/mds-pref-theme-variant.cjs.entry.js +2 -2
- package/dist/cjs/mds-pref-theme.cjs.entry.js +27 -18
- package/dist/cjs/mds-pref.cjs.entry.js +2 -2
- package/dist/cjs/mds-price-table-features-cell.cjs.entry.js +24 -2
- package/dist/cjs/mds-price-table-features-row.cjs.entry.js +24 -2
- package/dist/cjs/mds-price-table-features.cjs.entry.js +24 -2
- package/dist/cjs/mds-price-table-header.cjs.entry.js +2 -2
- package/dist/cjs/mds-price-table-list-item.cjs.entry.js +2 -2
- package/dist/cjs/mds-price-table-list.cjs.entry.js +24 -2
- package/dist/cjs/mds-price-table.cjs.entry.js +2 -2
- package/dist/cjs/mds-progress_2.cjs.entry.js +26 -4
- package/dist/cjs/mds-push-notification-item.cjs.entry.js +28 -6
- package/dist/cjs/mds-push-notification.cjs.entry.js +16 -2
- package/dist/cjs/mds-quote.cjs.entry.js +12 -2
- package/dist/cjs/mds-radial-menu-item.cjs.entry.js +2 -2
- package/dist/cjs/mds-radial-menu.cjs.entry.js +3 -3
- package/dist/cjs/mds-separator.cjs.entry.js +20 -2
- package/dist/cjs/mds-status-bar.cjs.entry.js +25 -3
- package/dist/cjs/mds-stepper-bar-item.cjs.entry.js +10 -2
- package/dist/cjs/mds-stepper-bar.cjs.entry.js +2 -2
- package/dist/cjs/mds-tab-bar-item.cjs.entry.js +24 -2
- package/dist/cjs/mds-tab-bar.cjs.entry.js +24 -2
- package/dist/cjs/mds-tab_2.cjs.entry.js +56 -6
- package/dist/cjs/mds-table-body.cjs.entry.js +12 -2
- package/dist/cjs/mds-table-footer.cjs.entry.js +12 -2
- package/dist/cjs/mds-table-header-cell.cjs.entry.js +12 -2
- package/dist/cjs/mds-table-header.cjs.entry.js +12 -2
- package/dist/cjs/mds-table-row.cjs.entry.js +12 -4
- package/dist/cjs/mds-table.cjs.entry.js +26 -4
- package/dist/cjs/mds-text.cjs.entry.js +12 -2
- package/dist/cjs/mds-toast.cjs.entry.js +24 -2
- package/dist/cjs/mds-tooltip.cjs.entry.js +37 -17
- package/dist/cjs/mds-tree-item.cjs.entry.js +26 -2
- package/dist/cjs/mds-tree.cjs.entry.js +34 -2
- package/dist/cjs/mds-url-view.cjs.entry.js +22 -2
- package/dist/cjs/mds-usage.cjs.entry.js +24 -2
- package/dist/cjs/mds-video-wall.cjs.entry.js +2 -2
- package/dist/cjs/mds-zero.cjs.entry.js +24 -2
- package/dist/cjs/preference-BdpIXWLP.js +81 -0
- package/dist/collection/common/floating-controller.js +5 -5
- package/dist/collection/common/preference.js +78 -0
- package/dist/collection/components/mds-accordion/mds-accordion.css +16 -16
- package/dist/collection/components/mds-accordion/mds-accordion.js +43 -9
- package/dist/collection/components/mds-accordion/test/mds-accordion.stories.js +4 -3
- package/dist/collection/components/mds-accordion-item/mds-accordion-item.css +38 -27
- package/dist/collection/components/mds-accordion-item/mds-accordion-item.js +31 -1
- package/dist/collection/components/mds-accordion-timer/mds-accordion-timer.css +0 -11
- package/dist/collection/components/mds-accordion-timer-item/mds-accordion-timer-item.css +16 -8
- package/dist/collection/components/mds-accordion-timer-item/mds-accordion-timer-item.js +16 -1
- package/dist/collection/components/mds-author/mds-author.css +1 -1
- package/dist/collection/components/mds-avatar/mds-avatar.css +27 -19
- package/dist/collection/components/mds-avatar/mds-avatar.js +28 -10
- package/dist/collection/components/mds-avatar-stack/mds-avatar-stack.css +25 -0
- package/dist/collection/components/mds-avatar-stack-item/mds-avatar-stack-item.css +5 -113
- package/dist/collection/components/mds-badge/mds-badge.css +41 -21
- package/dist/collection/components/mds-badge/mds-badge.js +31 -1
- package/dist/collection/components/mds-banner/mds-banner.css +36 -15
- package/dist/collection/components/mds-banner/mds-banner.js +31 -7
- package/dist/collection/components/mds-banner/test/mds-banner.stories.js +3 -3
- package/dist/collection/components/mds-bibliography/mds-bibliography.css +2 -2
- package/dist/collection/components/mds-breadcrumb/mds-breadcrumb.css +0 -12
- package/dist/collection/components/mds-breadcrumb/mds-breadcrumb.js +10 -10
- package/dist/collection/components/mds-breadcrumb/test/mds-breadcrumb.stories.js +2 -2
- package/dist/collection/components/mds-button/mds-button.css +27 -29
- package/dist/collection/components/mds-button/mds-button.js +22 -1
- package/dist/collection/components/mds-button-group/mds-button-group.css +15 -0
- package/dist/collection/components/mds-calendar/mds-calendar.js +67 -65
- package/dist/collection/components/mds-card/mds-card.css +17 -6
- package/dist/collection/components/mds-card/mds-card.js +28 -7
- package/dist/collection/components/mds-card/test/mds-card.stories.js +3 -3
- package/dist/collection/components/mds-chip/mds-chip.css +38 -24
- package/dist/collection/components/mds-chip/mds-chip.js +25 -1
- package/dist/collection/components/mds-details/mds-details.css +23 -10
- package/dist/collection/components/mds-details/mds-details.js +15 -1
- package/dist/collection/components/mds-dropdown/mds-dropdown.css +40 -19
- package/dist/collection/components/mds-dropdown/mds-dropdown.js +63 -35
- package/dist/collection/components/mds-dropdown/test/mds-dropdown.stories.js +15 -15
- package/dist/collection/components/mds-entity/mds-entity.css +19 -10
- package/dist/collection/components/mds-entity/mds-entity.js +26 -1
- package/dist/collection/components/mds-file/mds-file.css +32 -20
- package/dist/collection/components/mds-file/mds-file.js +33 -7
- package/dist/collection/components/mds-file/test/mds-file.stories.js +2 -2
- package/dist/collection/components/mds-file-preview/mds-file-preview.css +41 -23
- package/dist/collection/components/mds-file-preview/mds-file-preview.js +28 -2
- package/dist/collection/components/mds-filter/mds-filter.css +43 -26
- package/dist/collection/components/mds-filter/mds-filter.js +27 -1
- package/dist/collection/components/mds-filter-item/mds-filter-item.css +33 -13
- package/dist/collection/components/mds-filter-item/mds-filter-item.js +29 -1
- package/dist/collection/components/mds-header/mds-header.css +18 -7
- package/dist/collection/components/mds-header/mds-header.js +27 -8
- package/dist/collection/components/mds-header/test/mds-header.stories.js +2 -2
- package/dist/collection/components/mds-header-bar/mds-header-bar.css +33 -13
- package/dist/collection/components/mds-header-bar/mds-header-bar.js +27 -1
- package/dist/collection/components/mds-help/mds-help.js +7 -7
- package/dist/collection/components/mds-horizontal-scroll/mds-horizontal-scroll.css +11 -15
- package/dist/collection/components/mds-hr/mds-hr.css +9 -3
- package/dist/collection/components/mds-hr/mds-hr.js +21 -1
- package/dist/collection/components/mds-icon/mds-icon.js +2 -4
- package/dist/collection/components/mds-img/mds-img.js +4 -3
- package/dist/collection/components/mds-input/mds-input.css +34 -60
- package/dist/collection/components/mds-input/mds-input.js +29 -2
- package/dist/collection/components/mds-input-date/mds-input-date.css +35 -16
- package/dist/collection/components/mds-input-date/mds-input-date.js +41 -13
- package/dist/collection/components/mds-input-date-range/mds-input-date-range.css +35 -15
- package/dist/collection/components/mds-input-date-range/mds-input-date-range.js +34 -13
- package/dist/collection/components/mds-input-field/mds-input-field.css +48 -0
- package/dist/collection/components/mds-input-range/mds-input-range.css +37 -36
- package/dist/collection/components/mds-input-range/mds-input-range.js +28 -2
- package/dist/collection/components/mds-input-select/mds-input-select.css +40 -28
- package/dist/collection/components/mds-input-select/mds-input-select.js +28 -2
- package/dist/collection/components/mds-input-switch/mds-input-switch.css +9 -3
- package/dist/collection/components/mds-input-switch/mds-input-switch.js +17 -1
- package/dist/collection/components/mds-input-tip/mds-input-tip.css +16 -7
- package/dist/collection/components/mds-input-tip/mds-input-tip.js +16 -1
- package/dist/collection/components/mds-input-tip-item/mds-input-tip-item.css +29 -16
- package/dist/collection/components/mds-input-tip-item/mds-input-tip-item.js +18 -2
- package/dist/collection/components/mds-input-upload/mds-input-upload.css +2 -5
- package/dist/collection/components/mds-input-upload/mds-input-upload.js +16 -6
- package/dist/collection/components/mds-keyboard/mds-keyboard.css +9 -3
- package/dist/collection/components/mds-keyboard/mds-keyboard.js +31 -10
- package/dist/collection/components/mds-kpi-item/mds-kpi-item.css +47 -43
- package/dist/collection/components/mds-kpi-item/mds-kpi-item.js +27 -1
- package/dist/collection/components/mds-label/mds-label.css +17 -6
- package/dist/collection/components/mds-label/mds-label.js +20 -1
- package/dist/collection/components/mds-list/mds-list.css +4 -5
- package/dist/collection/components/mds-list-item/mds-list-item.css +11 -8
- package/dist/collection/components/mds-list-item/mds-list-item.js +16 -1
- package/dist/collection/components/mds-modal/mds-modal.css +198 -67
- package/dist/collection/components/mds-modal/mds-modal.js +133 -74
- package/dist/collection/components/mds-modal/test/mds-modal.stories.js +44 -3
- package/dist/collection/components/mds-note/mds-note.css +47 -35
- package/dist/collection/components/mds-note/mds-note.js +25 -1
- package/dist/collection/components/mds-notification/mds-notification.css +34 -26
- package/dist/collection/components/mds-notification/mds-notification.js +22 -7
- package/dist/collection/components/mds-notification/test/mds-notification.stories.js +7 -7
- package/dist/collection/components/mds-paginator/mds-paginator.css +48 -28
- package/dist/collection/components/mds-paginator/mds-paginator.js +46 -1
- package/dist/collection/components/mds-paginator-item/mds-paginator-item.css +29 -15
- package/dist/collection/components/mds-paginator-item/mds-paginator-item.js +24 -1
- package/dist/collection/components/mds-policy-ai/mds-policy-ai.css +10 -7
- package/dist/collection/components/mds-policy-ai/mds-policy-ai.js +4 -1
- package/dist/collection/components/mds-pref/mds-pref.js +1 -1
- package/dist/collection/components/mds-pref-animation/mds-pref-animation.css +8 -3
- package/dist/collection/components/mds-pref-animation/mds-pref-animation.js +15 -7
- package/dist/collection/components/mds-pref-consumption/mds-pref-consumption.css +8 -3
- package/dist/collection/components/mds-pref-consumption/mds-pref-consumption.js +15 -7
- package/dist/collection/components/mds-pref-contrast/mds-pref-contrast.css +8 -3
- package/dist/collection/components/mds-pref-contrast/mds-pref-contrast.js +15 -7
- package/dist/collection/components/mds-pref-language/mds-pref-language.js +1 -1
- package/dist/collection/components/mds-pref-language-item/mds-pref-language-item.js +1 -1
- package/dist/collection/components/mds-pref-theme/mds-pref-theme.css +3 -3
- package/dist/collection/components/mds-pref-theme/mds-pref-theme.js +29 -17
- package/dist/collection/components/mds-pref-theme-variant/mds-pref-theme-variant.js +1 -1
- package/dist/collection/components/mds-pref-theme-variant-item/mds-pref-theme-variant-item.js +1 -1
- package/dist/collection/components/mds-price-table/mds-price-table.js +1 -1
- package/dist/collection/components/mds-price-table-features/mds-price-table-features.css +35 -16
- package/dist/collection/components/mds-price-table-features/mds-price-table-features.js +31 -1
- package/dist/collection/components/mds-price-table-features-cell/mds-price-table-features-cell.css +39 -24
- package/dist/collection/components/mds-price-table-features-cell/mds-price-table-features-cell.js +31 -1
- package/dist/collection/components/mds-price-table-features-row/mds-price-table-features-row.css +37 -17
- package/dist/collection/components/mds-price-table-features-row/mds-price-table-features-row.js +28 -2
- package/dist/collection/components/mds-price-table-header/mds-price-table-header.js +1 -1
- package/dist/collection/components/mds-price-table-list/mds-price-table-list.css +41 -28
- package/dist/collection/components/mds-price-table-list/mds-price-table-list.js +28 -2
- package/dist/collection/components/mds-price-table-list-item/mds-price-table-list-item.css +4 -5
- package/dist/collection/components/mds-price-table-list-item/mds-price-table-list-item.js +1 -1
- package/dist/collection/components/mds-progress/mds-progress.css +37 -19
- package/dist/collection/components/mds-progress/mds-progress.js +27 -1
- package/dist/collection/components/mds-push-notification/mds-push-notification.css +14 -8
- package/dist/collection/components/mds-push-notification/mds-push-notification.js +21 -1
- package/dist/collection/components/mds-push-notification-item/mds-push-notification-item.css +51 -38
- package/dist/collection/components/mds-push-notification-item/mds-push-notification-item.js +33 -7
- package/dist/collection/components/mds-push-notification-item/test/mds-push-notification-item.stories.js +2 -2
- package/dist/collection/components/mds-quote/mds-quote.css +9 -5
- package/dist/collection/components/mds-quote/mds-quote.js +16 -1
- package/dist/collection/components/mds-radial-menu/mds-radial-menu.js +1 -1
- package/dist/collection/components/mds-radial-menu-item/mds-radial-menu-item.js +1 -1
- package/dist/collection/components/mds-radial-progress/mds-radial-progress.js +1 -1
- package/dist/collection/components/mds-separator/mds-separator.css +19 -9
- package/dist/collection/components/mds-separator/mds-separator.js +26 -1
- package/dist/collection/components/mds-spinner/mds-spinner.css +29 -23
- package/dist/collection/components/mds-spinner/mds-spinner.js +16 -1
- package/dist/collection/components/mds-status-bar/mds-status-bar.css +22 -19
- package/dist/collection/components/mds-status-bar/mds-status-bar.js +32 -2
- package/dist/collection/components/mds-stepper-bar/mds-stepper-bar.css +13 -32
- package/dist/collection/components/mds-stepper-bar/mds-stepper-bar.js +1 -1
- package/dist/collection/components/mds-stepper-bar-item/mds-stepper-bar-item.css +34 -44
- package/dist/collection/components/mds-stepper-bar-item/mds-stepper-bar-item.js +10 -1
- package/dist/collection/components/mds-tab/mds-tab.css +50 -20
- package/dist/collection/components/mds-tab/mds-tab.js +40 -3
- package/dist/collection/components/mds-tab-bar/mds-tab-bar.css +35 -14
- package/dist/collection/components/mds-tab-bar/mds-tab-bar.js +31 -1
- package/dist/collection/components/mds-tab-bar-item/mds-tab-bar-item.css +36 -16
- package/dist/collection/components/mds-tab-bar-item/mds-tab-bar-item.js +27 -1
- package/dist/collection/components/mds-tab-item/mds-tab-item.css +11 -6
- package/dist/collection/components/mds-tab-item/mds-tab-item.js +74 -1
- package/dist/collection/components/mds-table/mds-table.css +39 -19
- package/dist/collection/components/mds-table/mds-table.js +29 -3
- package/dist/collection/components/mds-table-body/mds-table-body.css +18 -9
- package/dist/collection/components/mds-table-body/mds-table-body.js +16 -1
- package/dist/collection/components/mds-table-cell/mds-table-cell.css +17 -8
- package/dist/collection/components/mds-table-cell/mds-table-cell.js +16 -1
- package/dist/collection/components/mds-table-footer/mds-table-footer.css +18 -8
- package/dist/collection/components/mds-table-footer/mds-table-footer.js +16 -1
- package/dist/collection/components/mds-table-header/mds-table-header.css +18 -8
- package/dist/collection/components/mds-table-header/mds-table-header.js +12 -1
- package/dist/collection/components/mds-table-header-cell/mds-table-header-cell.css +20 -10
- package/dist/collection/components/mds-table-header-cell/mds-table-header-cell.js +13 -2
- package/dist/collection/components/mds-table-row/mds-table-row.css +25 -14
- package/dist/collection/components/mds-table-row/mds-table-row.js +31 -3
- package/dist/collection/components/mds-text/mds-text.css +7 -5
- package/dist/collection/components/mds-text/mds-text.js +16 -1
- package/dist/collection/components/mds-toast/mds-toast.css +51 -26
- package/dist/collection/components/mds-toast/mds-toast.js +32 -2
- package/dist/collection/components/mds-tooltip/mds-tooltip.css +39 -22
- package/dist/collection/components/mds-tooltip/mds-tooltip.js +54 -26
- package/dist/collection/components/mds-tooltip/test/mds-tooltip.stories.js +11 -11
- package/dist/collection/components/mds-tree/mds-tree.css +2 -2
- package/dist/collection/components/mds-tree/mds-tree.js +33 -1
- package/dist/collection/components/mds-tree-item/mds-tree-item.css +47 -76
- package/dist/collection/components/mds-tree-item/mds-tree-item.js +95 -1
- package/dist/collection/components/mds-url-view/mds-url-view.css +43 -31
- package/dist/collection/components/mds-url-view/mds-url-view.js +25 -1
- package/dist/collection/components/mds-usage/mds-usage.css +44 -26
- package/dist/collection/components/mds-usage/mds-usage.js +27 -1
- package/dist/collection/components/mds-video-wall/mds-video-wall.css +13 -14
- package/dist/collection/components/mds-video-wall/mds-video-wall.js +2 -1
- package/dist/collection/components/mds-zero/mds-zero.css +36 -20
- package/dist/collection/components/mds-zero/mds-zero.js +31 -1
- package/dist/collection/storybook/color-scale.stories.js +1 -1
- package/dist/components/floating-controller.js +1 -1
- package/dist/components/mds-accordion-item.js +1 -1
- package/dist/components/mds-accordion-timer-item.js +1 -1
- package/dist/components/mds-accordion-timer.js +1 -1
- package/dist/components/mds-accordion.js +1 -1
- package/dist/components/mds-author.js +1 -1
- package/dist/components/mds-avatar-stack-item2.js +1 -1
- package/dist/components/mds-avatar-stack.js +1 -1
- package/dist/components/mds-avatar2.js +1 -1
- package/dist/components/mds-badge2.js +1 -1
- package/dist/components/mds-banner2.js +1 -1
- package/dist/components/mds-benchmark-bar.js +1 -1
- package/dist/components/mds-bibliography.js +1 -1
- package/dist/components/mds-breadcrumb-item.js +1 -1
- package/dist/components/mds-breadcrumb.js +1 -1
- package/dist/components/mds-button-dropdown.js +1 -1
- package/dist/components/mds-button-group.js +1 -1
- package/dist/components/mds-button2.js +1 -1
- package/dist/components/mds-calendar-cell2.js +1 -1
- package/dist/components/mds-calendar2.js +1 -1
- package/dist/components/mds-card-content.js +1 -1
- package/dist/components/mds-card-footer.js +1 -1
- package/dist/components/mds-card-header.js +1 -1
- package/dist/components/mds-card-media.js +1 -1
- package/dist/components/mds-card.js +1 -1
- package/dist/components/mds-chip2.js +1 -1
- package/dist/components/mds-details.js +1 -1
- package/dist/components/mds-dropdown2.js +1 -1
- package/dist/components/mds-emoji.js +1 -1
- package/dist/components/mds-entity.js +1 -1
- package/dist/components/mds-file-preview2.js +2 -2
- package/dist/components/mds-file.js +3 -3
- package/dist/components/mds-filter-item2.js +1 -1
- package/dist/components/mds-filter.js +1 -1
- package/dist/components/mds-header-bar.js +1 -1
- package/dist/components/mds-header.js +1 -1
- package/dist/components/mds-help2.js +1 -1
- package/dist/components/mds-horizontal-scroll.js +1 -1
- package/dist/components/mds-hr.js +1 -1
- package/dist/components/mds-icon2.js +1 -1
- package/dist/components/mds-img2.js +1 -1
- package/dist/components/mds-input-date-range-preselection.js +1 -1
- package/dist/components/mds-input-date-range.js +1 -1
- package/dist/components/mds-input-date.js +1 -1
- package/dist/components/mds-input-field.js +1 -1
- package/dist/components/mds-input-otp.js +1 -1
- package/dist/components/mds-input-range.js +1 -1
- package/dist/components/mds-input-select.js +1 -1
- package/dist/components/mds-input-switch2.js +1 -1
- package/dist/components/mds-input-tip-item2.js +1 -1
- package/dist/components/mds-input-tip2.js +1 -1
- package/dist/components/mds-input-upload.js +1 -1
- package/dist/components/mds-input2.js +1 -1
- package/dist/components/mds-keyboard-key.js +1 -1
- package/dist/components/mds-keyboard.js +1 -1
- package/dist/components/mds-kpi-item.js +1 -1
- package/dist/components/mds-kpi.js +1 -1
- package/dist/components/mds-label.js +1 -1
- package/dist/components/mds-list-item.js +1 -1
- package/dist/components/mds-list.js +1 -1
- package/dist/components/mds-mention.js +1 -1
- package/dist/components/mds-modal2.js +1 -1
- package/dist/components/mds-note.js +1 -1
- package/dist/components/mds-notification.js +1 -1
- package/dist/components/mds-paginator-item2.js +1 -1
- package/dist/components/mds-paginator.js +1 -1
- package/dist/components/mds-policy-ai.js +1 -1
- package/dist/components/mds-pref-animation.js +1 -1
- package/dist/components/mds-pref-consumption.js +1 -1
- package/dist/components/mds-pref-contrast.js +1 -1
- package/dist/components/mds-pref-language-item.js +1 -1
- package/dist/components/mds-pref-language.js +1 -1
- package/dist/components/mds-pref-theme-variant-item.js +1 -1
- package/dist/components/mds-pref-theme-variant.js +1 -1
- package/dist/components/mds-pref-theme.js +1 -1
- package/dist/components/mds-pref.js +1 -1
- package/dist/components/mds-price-table-features-cell.js +1 -1
- package/dist/components/mds-price-table-features-row.js +1 -1
- package/dist/components/mds-price-table-features.js +1 -1
- package/dist/components/mds-price-table-header.js +1 -1
- package/dist/components/mds-price-table-list-item.js +1 -1
- package/dist/components/mds-price-table-list.js +1 -1
- package/dist/components/mds-price-table.js +1 -1
- package/dist/components/mds-progress2.js +1 -1
- package/dist/components/mds-push-notification-item.js +1 -1
- package/dist/components/mds-push-notification.js +1 -1
- package/dist/components/mds-quote.js +1 -1
- package/dist/components/mds-radial-menu-item.js +1 -1
- package/dist/components/mds-radial-menu.js +1 -1
- package/dist/components/mds-radial-progress2.js +1 -1
- package/dist/components/mds-separator2.js +1 -1
- package/dist/components/mds-spinner2.js +1 -1
- package/dist/components/mds-status-bar.js +1 -1
- package/dist/components/mds-stepper-bar-item.js +1 -1
- package/dist/components/mds-stepper-bar.js +1 -1
- package/dist/components/mds-tab-bar-item.js +1 -1
- package/dist/components/mds-tab-bar.js +1 -1
- package/dist/components/mds-tab-item2.js +1 -1
- package/dist/components/mds-tab2.js +1 -1
- package/dist/components/mds-table-body.js +1 -1
- package/dist/components/mds-table-cell2.js +1 -1
- package/dist/components/mds-table-footer.js +1 -1
- package/dist/components/mds-table-header-cell2.js +1 -1
- package/dist/components/mds-table-header.js +1 -1
- package/dist/components/mds-table-row.js +1 -1
- package/dist/components/mds-table.js +1 -1
- package/dist/components/mds-text2.js +1 -1
- package/dist/components/mds-toast.js +1 -1
- package/dist/components/mds-tooltip2.js +1 -1
- package/dist/components/mds-tree-item.js +1 -1
- package/dist/components/mds-tree.js +1 -1
- package/dist/components/mds-url-view.js +1 -1
- package/dist/components/mds-usage.js +1 -1
- package/dist/components/mds-video-wall.js +1 -1
- package/dist/components/mds-zero.js +1 -1
- package/dist/components/preference.js +1 -0
- package/dist/documentation.json +488 -382
- package/dist/esm/{floating-controller-CP3-OFb9.js → floating-controller-D5eXU5Mk.js} +5 -5
- package/dist/esm/loader.js +1 -1
- package/dist/esm/magma-components.js +1 -1
- package/dist/esm/mds-accordion-item.entry.js +24 -2
- package/dist/esm/mds-accordion-timer-item.entry.js +12 -2
- package/dist/esm/mds-accordion-timer.entry.js +1 -1
- package/dist/esm/mds-accordion.entry.js +32 -5
- package/dist/esm/mds-author.entry.js +1 -1
- package/dist/esm/mds-avatar-stack-item.entry.js +1 -1
- package/dist/esm/mds-avatar-stack.entry.js +1 -1
- package/dist/esm/mds-avatar.entry.js +27 -11
- package/dist/esm/mds-badge.entry.js +24 -2
- package/dist/esm/mds-banner_3.entry.js +49 -10
- package/dist/esm/mds-benchmark-bar.entry.js +1 -1
- package/dist/esm/mds-bibliography.entry.js +1 -1
- package/dist/esm/mds-breadcrumb-item.entry.js +1 -1
- package/dist/esm/mds-breadcrumb.entry.js +7 -7
- package/dist/esm/mds-button-dropdown.entry.js +1 -1
- package/dist/esm/mds-button-group.entry.js +1 -1
- package/dist/esm/mds-button_3.entry.js +30 -9
- package/dist/esm/mds-calendar_2.entry.js +69 -67
- package/dist/esm/mds-card-content.entry.js +1 -1
- package/dist/esm/mds-card-footer.entry.js +1 -1
- package/dist/esm/mds-card-header.entry.js +1 -1
- package/dist/esm/mds-card-media.entry.js +1 -1
- package/dist/esm/mds-card.entry.js +22 -4
- package/dist/esm/mds-details.entry.js +14 -2
- package/dist/esm/mds-dropdown.entry.js +41 -21
- package/dist/esm/mds-emoji.entry.js +1 -1
- package/dist/esm/mds-entity.entry.js +20 -2
- package/dist/esm/mds-file-preview.entry.js +25 -3
- package/dist/esm/mds-file.entry.js +26 -4
- package/dist/esm/mds-filter-item.entry.js +22 -2
- package/dist/esm/mds-filter.entry.js +24 -2
- package/dist/esm/mds-header-bar.entry.js +24 -2
- package/dist/esm/mds-header.entry.js +20 -4
- package/dist/esm/mds-horizontal-scroll.entry.js +1 -1
- package/dist/esm/mds-hr.entry.js +16 -2
- package/dist/esm/mds-img.entry.js +5 -4
- package/dist/esm/mds-input-date-range-preselection.entry.js +1 -1
- package/dist/esm/mds-input-date-range.entry.js +31 -14
- package/dist/esm/mds-input-date.entry.js +38 -14
- package/dist/esm/mds-input-field.entry.js +1 -1
- package/dist/esm/mds-input-otp.entry.js +1 -1
- package/dist/esm/mds-input-range.entry.js +24 -2
- package/dist/esm/mds-input-select.entry.js +25 -3
- package/dist/esm/mds-input-switch_2.entry.js +27 -4
- package/dist/esm/mds-input-tip_2.entry.js +28 -5
- package/dist/esm/mds-input-upload.entry.js +17 -7
- package/dist/esm/mds-input.entry.js +26 -3
- package/dist/esm/mds-keyboard-key.entry.js +1 -1
- package/dist/esm/mds-keyboard.entry.js +30 -11
- package/dist/esm/mds-kpi-item.entry.js +24 -2
- package/dist/esm/mds-kpi.entry.js +1 -1
- package/dist/esm/mds-label.entry.js +18 -2
- package/dist/esm/mds-list-item.entry.js +12 -2
- package/dist/esm/mds-list.entry.js +1 -1
- package/dist/esm/mds-mention.entry.js +1 -1
- package/dist/esm/mds-modal.entry.js +121 -43
- package/dist/esm/mds-note.entry.js +22 -2
- package/dist/esm/mds-notification.entry.js +14 -4
- package/dist/esm/mds-paginator-item.entry.js +18 -2
- package/dist/esm/mds-paginator.entry.js +39 -2
- package/dist/esm/mds-policy-ai.entry.js +5 -2
- package/dist/esm/mds-pref-animation.entry.js +15 -8
- package/dist/esm/mds-pref-consumption.entry.js +15 -8
- package/dist/esm/mds-pref-contrast.entry.js +15 -8
- package/dist/esm/mds-pref-language-item.entry.js +2 -2
- package/dist/esm/mds-pref-language.entry.js +2 -2
- package/dist/esm/mds-pref-theme-variant-item.entry.js +2 -2
- package/dist/esm/mds-pref-theme-variant.entry.js +2 -2
- package/dist/esm/mds-pref-theme.entry.js +27 -18
- package/dist/esm/mds-pref.entry.js +2 -2
- package/dist/esm/mds-price-table-features-cell.entry.js +24 -2
- package/dist/esm/mds-price-table-features-row.entry.js +24 -2
- package/dist/esm/mds-price-table-features.entry.js +24 -2
- package/dist/esm/mds-price-table-header.entry.js +2 -2
- package/dist/esm/mds-price-table-list-item.entry.js +2 -2
- package/dist/esm/mds-price-table-list.entry.js +24 -2
- package/dist/esm/mds-price-table.entry.js +2 -2
- package/dist/esm/mds-progress_2.entry.js +26 -4
- package/dist/esm/mds-push-notification-item.entry.js +28 -6
- package/dist/esm/mds-push-notification.entry.js +16 -2
- package/dist/esm/mds-quote.entry.js +12 -2
- package/dist/esm/mds-radial-menu-item.entry.js +2 -2
- package/dist/esm/mds-radial-menu.entry.js +3 -3
- package/dist/esm/mds-separator.entry.js +20 -2
- package/dist/esm/mds-status-bar.entry.js +25 -3
- package/dist/esm/mds-stepper-bar-item.entry.js +10 -2
- package/dist/esm/mds-stepper-bar.entry.js +2 -2
- package/dist/esm/mds-tab-bar-item.entry.js +24 -2
- package/dist/esm/mds-tab-bar.entry.js +24 -2
- package/dist/esm/mds-tab_2.entry.js +56 -6
- package/dist/esm/mds-table-body.entry.js +12 -2
- package/dist/esm/mds-table-footer.entry.js +12 -2
- package/dist/esm/mds-table-header-cell.entry.js +12 -2
- package/dist/esm/mds-table-header.entry.js +12 -2
- package/dist/esm/mds-table-row.entry.js +12 -4
- package/dist/esm/mds-table.entry.js +26 -4
- package/dist/esm/mds-text.entry.js +12 -2
- package/dist/esm/mds-toast.entry.js +24 -2
- package/dist/esm/mds-tooltip.entry.js +37 -17
- package/dist/esm/mds-tree-item.entry.js +26 -2
- package/dist/esm/mds-tree.entry.js +34 -2
- package/dist/esm/mds-url-view.entry.js +22 -2
- package/dist/esm/mds-usage.entry.js +24 -2
- package/dist/esm/mds-video-wall.entry.js +2 -2
- package/dist/esm/mds-zero.entry.js +24 -2
- package/dist/esm/preference-fMwnXhio.js +79 -0
- package/dist/esm-es5/floating-controller-D5eXU5Mk.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 +1 -1
- 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 +3 -3
- 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/esm-es5/preference-fMwnXhio.js +1 -0
- package/dist/hydrate/index.js +2084 -527
- package/dist/hydrate/index.mjs +2084 -527
- package/dist/magma-components/magma-components.esm.js +1 -1
- package/dist/magma-components/p-0105d7c7.entry.js +8 -0
- package/dist/magma-components/p-022defe8.entry.js +1 -0
- package/dist/magma-components/p-02d858d0.entry.js +1 -0
- package/dist/magma-components/p-0607a2b3.entry.js +1 -0
- package/dist/magma-components/{p-0b11f03b.entry.js → p-0af4d0ef.entry.js} +1 -1
- package/dist/magma-components/p-0b91aae4.entry.js +1 -0
- package/dist/magma-components/p-0bb29dbd.system.entry.js +1 -0
- package/dist/magma-components/p-0c1a5df0.entry.js +1 -0
- package/dist/magma-components/p-0e986d85.entry.js +18 -0
- package/dist/magma-components/p-0ea42813.entry.js +1 -0
- package/dist/magma-components/p-0fe5aeaf.system.entry.js +1 -0
- package/dist/magma-components/p-10ddec99.system.entry.js +1 -0
- package/dist/magma-components/p-11567740.entry.js +1 -0
- package/dist/magma-components/p-116238cf.system.entry.js +1 -0
- package/dist/magma-components/p-1239667c.system.entry.js +1 -0
- package/dist/magma-components/p-1518fda3.system.entry.js +1 -0
- package/dist/magma-components/p-16c94506.system.entry.js +1 -0
- package/dist/magma-components/p-18823bfc.system.entry.js +1 -0
- package/dist/magma-components/p-188e94ef.system.entry.js +1 -0
- package/dist/magma-components/p-19446c9e.entry.js +1 -0
- package/dist/magma-components/p-1a73c7b0.system.entry.js +1 -0
- package/dist/magma-components/p-1ad03ee9.entry.js +1 -0
- package/dist/magma-components/p-1c4038f7.system.entry.js +1 -0
- package/dist/magma-components/p-2035564c.system.entry.js +1 -0
- package/dist/magma-components/p-2128ce5a.system.entry.js +1 -0
- package/dist/magma-components/p-21ee64ec.entry.js +1 -0
- package/dist/magma-components/p-224d2f55.entry.js +1 -0
- package/dist/magma-components/p-23791e85.system.entry.js +1 -0
- package/dist/magma-components/p-248c1b2c.system.entry.js +1 -0
- package/dist/magma-components/p-249b80a5.entry.js +1 -0
- package/dist/magma-components/p-262daf4f.entry.js +1 -0
- package/dist/magma-components/p-288ce251.entry.js +1 -0
- package/dist/magma-components/p-2a804b82.entry.js +1 -0
- package/dist/magma-components/p-2aff9851.system.entry.js +1 -0
- package/dist/magma-components/p-2b0667f6.system.entry.js +1 -0
- package/dist/magma-components/p-2bd03b3d.system.entry.js +1 -0
- package/dist/magma-components/p-2bfa7ed9.system.entry.js +1 -0
- package/dist/magma-components/p-2c6c80e8.entry.js +1 -0
- package/dist/magma-components/p-2e88e014.system.entry.js +1 -0
- package/dist/magma-components/p-2f5cc981.system.entry.js +1 -0
- package/dist/magma-components/p-31403b12.entry.js +1 -0
- package/dist/magma-components/p-31616d0b.entry.js +1 -0
- package/dist/magma-components/p-33b03c17.system.entry.js +1 -0
- package/dist/magma-components/p-353f30cc.system.entry.js +1 -0
- package/dist/magma-components/p-35482f9d.system.entry.js +1 -0
- package/dist/magma-components/p-35b5889a.system.entry.js +1 -0
- package/dist/magma-components/p-36d9d329.system.entry.js +1 -0
- package/dist/magma-components/p-36fd1ed7.system.entry.js +1 -0
- package/dist/magma-components/p-377c94ee.system.entry.js +1 -0
- package/dist/magma-components/p-385f395d.system.entry.js +1 -0
- package/dist/magma-components/p-39c09a42.system.entry.js +1 -0
- package/dist/magma-components/p-3_AKUQtJ.system.js +1 -0
- package/dist/magma-components/p-3c306ed0.system.entry.js +1 -0
- package/dist/magma-components/p-3de6fa18.entry.js +1 -0
- package/dist/magma-components/p-41da539f.entry.js +1 -0
- package/dist/magma-components/p-422bb9e2.system.entry.js +1 -0
- package/dist/magma-components/p-447c2d1b.entry.js +1 -0
- package/dist/magma-components/p-44e2965d.entry.js +1 -0
- package/dist/magma-components/p-46266f27.entry.js +1 -0
- package/dist/magma-components/p-4630472f.entry.js +1 -0
- package/dist/magma-components/{p-8b3065b4.entry.js → p-4671336c.entry.js} +1 -1
- package/dist/magma-components/p-4803d24f.system.entry.js +1 -0
- package/dist/magma-components/p-4a929c1c.entry.js +1 -0
- package/dist/magma-components/p-4bc7756a.system.entry.js +1 -0
- package/dist/magma-components/p-4f8ae676.system.entry.js +1 -0
- package/dist/magma-components/p-50c922ad.system.entry.js +1 -0
- package/dist/magma-components/p-50cdb70c.system.entry.js +1 -0
- package/dist/magma-components/p-52c10dbf.system.entry.js +1 -0
- package/dist/magma-components/p-52e35c13.system.entry.js +1 -0
- package/dist/magma-components/p-56a8f1d0.system.entry.js +1 -0
- package/dist/magma-components/p-5724212b.entry.js +1 -0
- package/dist/magma-components/p-5be1c273.entry.js +1 -0
- package/dist/magma-components/p-5d05fa1a.entry.js +1 -0
- package/dist/magma-components/p-5de4bf4f.entry.js +1 -0
- package/dist/magma-components/p-5e626696.entry.js +1 -0
- package/dist/magma-components/p-5f1532c0.system.entry.js +1 -0
- package/dist/magma-components/{p-dd860de4.entry.js → p-5fe8c814.entry.js} +1 -1
- package/dist/magma-components/{p-7306b02e.system.entry.js → p-60e8812c.system.entry.js} +1 -1
- package/dist/magma-components/p-611fa0a4.entry.js +1 -0
- package/dist/magma-components/p-61fefe1b.system.entry.js +1 -0
- package/dist/magma-components/p-62c9216f.system.entry.js +1 -0
- package/dist/magma-components/p-652b4e43.entry.js +1 -0
- package/dist/magma-components/p-6a92f533.entry.js +1 -0
- package/dist/magma-components/p-6b3569a0.entry.js +1 -0
- package/dist/magma-components/p-6b9175f1.system.entry.js +1 -0
- package/dist/magma-components/p-6ecfec17.entry.js +1 -0
- package/dist/magma-components/p-6ed096d3.system.entry.js +1 -0
- package/dist/magma-components/p-6ee86191.entry.js +1 -0
- package/dist/magma-components/{p-94713401.entry.js → p-70719b58.entry.js} +1 -1
- package/dist/magma-components/p-70e1a436.entry.js +1 -0
- package/dist/magma-components/p-725d9e09.entry.js +1 -0
- package/dist/magma-components/p-726a76f0.entry.js +1 -0
- package/dist/magma-components/p-72d91c6f.system.entry.js +1 -0
- package/dist/magma-components/{p-68f57bb1.entry.js → p-73926a10.entry.js} +1 -1
- package/dist/magma-components/p-7499262d.system.entry.js +1 -0
- package/dist/magma-components/p-750214a3.entry.js +1 -0
- package/dist/magma-components/p-7590a160.entry.js +1 -0
- package/dist/magma-components/p-75fa7e6f.system.entry.js +1 -0
- package/dist/magma-components/p-765447d4.system.entry.js +1 -0
- package/dist/magma-components/p-76cb480d.entry.js +1 -0
- package/dist/magma-components/p-79e12ac8.entry.js +1 -0
- package/dist/magma-components/p-7b4b9b88.system.entry.js +1 -0
- package/dist/magma-components/p-7c464f28.entry.js +1 -0
- package/dist/magma-components/p-7d338f59.system.entry.js +1 -0
- package/dist/magma-components/p-81e16f90.system.entry.js +1 -0
- package/dist/magma-components/p-82c6cdb9.system.entry.js +1 -0
- package/dist/magma-components/p-83b01f8e.system.entry.js +1 -0
- package/dist/magma-components/p-8546f46f.system.entry.js +1 -0
- package/dist/magma-components/p-85a2d99d.entry.js +1 -0
- package/dist/magma-components/p-8620f425.entry.js +1 -0
- package/dist/magma-components/p-89581b08.system.entry.js +1 -0
- package/dist/magma-components/p-8964a9fe.entry.js +1 -0
- package/dist/magma-components/p-899cd759.entry.js +1 -0
- package/dist/magma-components/p-8b2408b2.entry.js +1 -0
- package/dist/magma-components/p-8b9f6896.entry.js +1 -0
- package/dist/magma-components/p-8bde0c42.entry.js +1 -0
- package/dist/magma-components/p-8d5955ca.system.entry.js +1 -0
- package/dist/magma-components/p-91a1d3d5.entry.js +1 -0
- package/dist/magma-components/p-93538408.system.entry.js +1 -0
- package/dist/magma-components/p-94ff105b.system.entry.js +1 -0
- package/dist/magma-components/p-96f7ec63.entry.js +1 -0
- package/dist/magma-components/p-97144490.entry.js +1 -0
- package/dist/magma-components/p-999b0698.system.entry.js +1 -0
- package/dist/magma-components/p-9e533765.system.entry.js +18 -0
- package/dist/magma-components/p-DTZViJWJ.system.js +1 -1
- package/dist/magma-components/p-DssKRrAV.system.js +1 -0
- package/dist/magma-components/p-MSUJeuJp.js +1 -0
- package/dist/magma-components/p-a24d6d4a.system.entry.js +1 -0
- package/dist/magma-components/p-a24dadaa.system.entry.js +1 -0
- package/dist/magma-components/p-a2b84011.system.entry.js +1 -0
- package/dist/magma-components/p-a2d761d6.entry.js +1 -0
- package/dist/magma-components/p-a379adca.entry.js +1 -0
- package/dist/magma-components/p-a46f7424.system.entry.js +1 -0
- package/dist/magma-components/p-a47708f1.system.entry.js +1 -0
- package/dist/magma-components/p-a4d11055.system.entry.js +1 -0
- package/dist/magma-components/{p-7595afcf.entry.js → p-a5ef9d32.entry.js} +1 -1
- package/dist/magma-components/p-a6103622.entry.js +1 -0
- package/dist/magma-components/p-a6b8b861.entry.js +1 -0
- package/dist/magma-components/p-a6bdaa85.entry.js +1 -0
- package/dist/magma-components/p-a716833c.system.entry.js +1 -0
- package/dist/magma-components/p-a877906d.system.entry.js +1 -0
- package/dist/magma-components/p-a8a2d90e.system.entry.js +1 -0
- package/dist/magma-components/p-a92edada.entry.js +1 -0
- package/dist/magma-components/p-aafec5fe.entry.js +1 -0
- package/dist/magma-components/p-abce0c57.system.entry.js +1 -0
- package/dist/magma-components/p-ac2ee475.entry.js +1 -0
- package/dist/magma-components/p-ac5baffa.system.entry.js +1 -0
- package/dist/magma-components/p-ad1ad433.system.entry.js +1 -0
- package/dist/magma-components/p-ae433eb9.entry.js +1 -0
- package/dist/magma-components/p-afaef9a1.entry.js +1 -0
- package/dist/magma-components/p-b257222c.system.entry.js +1 -0
- package/dist/magma-components/p-b472ed3c.entry.js +1 -0
- package/dist/magma-components/p-b4fc19e9.entry.js +1 -0
- package/dist/magma-components/p-b53ef2c1.entry.js +1 -0
- package/dist/magma-components/p-b7dedc9f.entry.js +1 -0
- package/dist/magma-components/p-b97edfb5.entry.js +1 -0
- package/dist/magma-components/p-bc851caf.entry.js +1 -0
- package/dist/magma-components/p-bc8ef479.system.entry.js +9 -0
- package/dist/magma-components/p-bdc54840.system.entry.js +1 -0
- package/dist/magma-components/p-bf29ca5a.entry.js +1 -0
- package/dist/magma-components/p-bfc29d3b.system.entry.js +1 -0
- package/dist/magma-components/p-bff1e84c.system.entry.js +1 -0
- package/dist/magma-components/p-c01c49b6.entry.js +1 -0
- package/dist/magma-components/p-c0296d86.system.entry.js +1 -0
- package/dist/magma-components/p-c036f516.entry.js +1 -0
- package/dist/magma-components/p-c3d8aa52.entry.js +1 -0
- package/dist/magma-components/{p-d1eea8ca.system.entry.js → p-c4e7b103.system.entry.js} +1 -1
- package/dist/magma-components/p-c7a0a746.system.entry.js +1 -0
- package/dist/magma-components/p-c92a772e.entry.js +1 -0
- package/dist/magma-components/p-ca09ab1d.system.entry.js +1 -0
- package/dist/magma-components/p-cc9212ce.system.entry.js +1 -0
- package/dist/magma-components/p-cc95225c.system.entry.js +1 -0
- package/dist/magma-components/p-cd49c455.entry.js +1 -0
- package/dist/magma-components/p-d0542487.entry.js +1 -0
- package/dist/magma-components/p-d0dfe659.entry.js +1 -0
- package/dist/magma-components/p-d0eb94ea.system.entry.js +1 -0
- package/dist/magma-components/p-d3e5c4eb.system.entry.js +1 -0
- package/dist/magma-components/p-d4295773.entry.js +1 -0
- package/dist/magma-components/p-d5700423.system.entry.js +1 -0
- package/dist/magma-components/{p-292f4566.system.entry.js → p-d838cb1c.system.entry.js} +1 -1
- package/dist/magma-components/p-d9605a5d.system.entry.js +1 -0
- package/dist/magma-components/p-daa8f835.entry.js +1 -0
- package/dist/magma-components/p-db4e2a0b.system.entry.js +1 -0
- package/dist/magma-components/p-de0dac8f.entry.js +1 -0
- package/dist/magma-components/p-de8204f9.entry.js +1 -0
- package/dist/magma-components/p-e0b841e3.entry.js +1 -0
- package/dist/magma-components/p-e35ab355.entry.js +1 -0
- package/dist/magma-components/p-e44e2652.system.entry.js +1 -0
- package/dist/magma-components/p-e48d23f4.system.entry.js +1 -0
- package/dist/magma-components/p-e570aec5.system.entry.js +1 -0
- package/dist/magma-components/p-e57698df.system.entry.js +1 -0
- package/dist/magma-components/p-e669739e.entry.js +1 -0
- package/dist/magma-components/p-e8fa7a07.entry.js +1 -0
- package/dist/magma-components/{p-19f99447.entry.js → p-ea2c8dd1.entry.js} +1 -1
- package/dist/magma-components/p-ea881c45.system.entry.js +1 -0
- package/dist/magma-components/p-ebfb6963.system.entry.js +1 -0
- package/dist/magma-components/p-eca8523b.system.entry.js +1 -0
- package/dist/magma-components/p-ef142420.system.entry.js +1 -0
- package/dist/magma-components/p-ef56af85.system.entry.js +1 -0
- package/dist/magma-components/p-f0762290.entry.js +1 -0
- package/dist/magma-components/p-f1832c1e.system.entry.js +1 -0
- package/dist/magma-components/p-f4b1974a.entry.js +1 -0
- package/dist/magma-components/p-f7cfc9a7.system.entry.js +1 -0
- package/dist/magma-components/p-f83a9e08.entry.js +1 -0
- package/dist/magma-components/p-f8ee5fec.system.entry.js +1 -0
- package/dist/magma-components/p-f91dab2b.entry.js +1 -0
- package/dist/magma-components/p-fMwnXhio.js +1 -0
- package/dist/magma-components/p-fa61d03c.entry.js +1 -0
- package/dist/magma-components/p-fbf423a7.system.entry.js +1 -0
- package/dist/magma-components/p-fbfb589c.entry.js +1 -0
- package/dist/magma-components/p-fc56d9ae.entry.js +1 -0
- package/dist/magma-components/p-fc862fe2.system.entry.js +1 -0
- package/dist/magma-components/{p-59d65cff.entry.js → p-fd574e21.entry.js} +1 -1
- package/dist/magma-components/p-fd649ac2.entry.js +1 -0
- package/dist/magma-components/p-fed36619.entry.js +1 -0
- package/dist/stats.json +4297 -2219
- package/dist/types/common/floating-controller.d.ts +3 -3
- package/dist/types/common/preference.d.ts +22 -0
- package/dist/types/components/mds-accordion/mds-accordion.d.ts +10 -2
- package/dist/types/components/mds-accordion/test/mds-accordion.stories.d.ts +3 -2
- package/dist/types/components/mds-accordion-item/mds-accordion-item.d.ts +10 -0
- package/dist/types/components/mds-accordion-timer-item/mds-accordion-timer-item.d.ts +4 -0
- package/dist/types/components/mds-avatar/mds-avatar.d.ts +8 -0
- package/dist/types/components/mds-badge/mds-badge.d.ts +10 -0
- package/dist/types/components/mds-banner/mds-banner.d.ts +11 -2
- package/dist/types/components/mds-banner/test/mds-banner.stories.d.ts +2 -2
- package/dist/types/components/mds-breadcrumb/mds-breadcrumb.d.ts +2 -2
- package/dist/types/components/mds-breadcrumb/test/mds-breadcrumb.stories.d.ts +1 -1
- package/dist/types/components/mds-button/mds-button.d.ts +6 -0
- package/dist/types/components/mds-calendar/mds-calendar.d.ts +6 -0
- package/dist/types/components/mds-card/mds-card.d.ts +10 -2
- package/dist/types/components/mds-card/test/mds-card.stories.d.ts +2 -2
- package/dist/types/components/mds-chip/mds-chip.d.ts +9 -0
- package/dist/types/components/mds-details/mds-details.d.ts +5 -0
- package/dist/types/components/mds-dropdown/mds-dropdown.d.ts +20 -11
- package/dist/types/components/mds-dropdown/test/mds-dropdown.stories.d.ts +10 -10
- package/dist/types/components/mds-entity/mds-entity.d.ts +8 -0
- package/dist/types/components/mds-file/mds-file.d.ts +12 -2
- package/dist/types/components/mds-file/test/mds-file.stories.d.ts +1 -1
- package/dist/types/components/mds-file-preview/mds-file-preview.d.ts +10 -0
- package/dist/types/components/mds-filter/mds-filter.d.ts +10 -0
- package/dist/types/components/mds-filter-item/mds-filter-item.d.ts +9 -0
- package/dist/types/components/mds-header/mds-header.d.ts +9 -2
- package/dist/types/components/mds-header/test/mds-header.stories.d.ts +1 -1
- package/dist/types/components/mds-header-bar/mds-header-bar.d.ts +10 -0
- package/dist/types/components/mds-help/mds-help.d.ts +2 -2
- package/dist/types/components/mds-hr/mds-hr.d.ts +6 -0
- package/dist/types/components/mds-icon/mds-icon.d.ts +0 -1
- package/dist/types/components/mds-img/mds-img.d.ts +1 -0
- package/dist/types/components/mds-input/mds-input.d.ts +10 -0
- package/dist/types/components/mds-input-date/mds-input-date.d.ts +12 -0
- package/dist/types/components/mds-input-date-range/mds-input-date-range.d.ts +11 -0
- package/dist/types/components/mds-input-range/mds-input-range.d.ts +10 -0
- package/dist/types/components/mds-input-select/mds-input-select.d.ts +10 -0
- package/dist/types/components/mds-input-switch/mds-input-switch.d.ts +6 -0
- package/dist/types/components/mds-input-tip/mds-input-tip.d.ts +4 -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 +6 -1
- package/dist/types/components/mds-kpi-item/mds-kpi-item.d.ts +10 -0
- package/dist/types/components/mds-label/mds-label.d.ts +7 -0
- package/dist/types/components/mds-list-item/mds-list-item.d.ts +4 -0
- package/dist/types/components/mds-modal/mds-modal.d.ts +23 -12
- package/dist/types/components/mds-modal/meta/types.d.ts +0 -1
- package/dist/types/components/mds-modal/test/mds-modal.stories.d.ts +16 -2
- package/dist/types/components/mds-note/mds-note.d.ts +9 -0
- package/dist/types/components/mds-notification/mds-notification.d.ts +5 -2
- package/dist/types/components/mds-notification/test/mds-notification.stories.d.ts +6 -6
- package/dist/types/components/mds-paginator/mds-paginator.d.ts +15 -0
- package/dist/types/components/mds-paginator-item/mds-paginator-item.d.ts +7 -0
- package/dist/types/components/mds-policy-ai/mds-policy-ai.d.ts +1 -0
- package/dist/types/components/mds-pref-animation/mds-pref-animation.d.ts +5 -0
- package/dist/types/components/mds-pref-consumption/mds-pref-consumption.d.ts +5 -0
- package/dist/types/components/mds-pref-contrast/mds-pref-contrast.d.ts +5 -0
- package/dist/types/components/mds-pref-theme/mds-pref-theme.d.ts +9 -0
- package/dist/types/components/mds-price-table-features/mds-price-table-features.d.ts +10 -0
- package/dist/types/components/mds-price-table-features-cell/mds-price-table-features-cell.d.ts +10 -0
- package/dist/types/components/mds-price-table-features-row/mds-price-table-features-row.d.ts +10 -0
- package/dist/types/components/mds-price-table-list/mds-price-table-list.d.ts +10 -0
- package/dist/types/components/mds-progress/mds-progress.d.ts +10 -0
- package/dist/types/components/mds-push-notification/mds-push-notification.d.ts +6 -0
- package/dist/types/components/mds-push-notification-item/mds-push-notification-item.d.ts +11 -1
- package/dist/types/components/mds-quote/mds-quote.d.ts +4 -0
- package/dist/types/components/mds-separator/mds-separator.d.ts +8 -0
- package/dist/types/components/mds-spinner/mds-spinner.d.ts +4 -0
- package/dist/types/components/mds-status-bar/mds-status-bar.d.ts +10 -0
- 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 +11 -1
- package/dist/types/components/mds-tab-bar/mds-tab-bar.d.ts +10 -0
- package/dist/types/components/mds-tab-bar-item/mds-tab-bar-item.d.ts +10 -0
- package/dist/types/components/mds-tab-item/mds-tab-item.d.ts +20 -0
- package/dist/types/components/mds-table/mds-table.d.ts +9 -0
- package/dist/types/components/mds-table-body/mds-table-body.d.ts +4 -0
- package/dist/types/components/mds-table-cell/mds-table-cell.d.ts +4 -0
- package/dist/types/components/mds-table-footer/mds-table-footer.d.ts +4 -0
- package/dist/types/components/mds-table-header/mds-table-header.d.ts +4 -0
- package/dist/types/components/mds-table-header-cell/mds-table-header-cell.d.ts +4 -0
- package/dist/types/components/mds-table-row/mds-table-row.d.ts +8 -0
- package/dist/types/components/mds-text/mds-text.d.ts +4 -0
- package/dist/types/components/mds-toast/mds-toast.d.ts +10 -0
- package/dist/types/components/mds-tooltip/mds-tooltip.d.ts +17 -8
- package/dist/types/components/mds-tooltip/test/mds-tooltip.stories.d.ts +8 -8
- package/dist/types/components/mds-tree/mds-tree.d.ts +5 -0
- package/dist/types/components/mds-tree-item/mds-tree-item.d.ts +25 -1
- package/dist/types/components/mds-url-view/mds-url-view.d.ts +9 -0
- package/dist/types/components/mds-usage/mds-usage.d.ts +10 -0
- package/dist/types/components/mds-zero/mds-zero.d.ts +10 -0
- package/dist/types/components.d.ts +200 -160
- package/package.json +6 -3
- package/dist/esm-es5/floating-controller-CP3-OFb9.js +0 -1
- package/dist/magma-components/p-00313884.entry.js +0 -1
- package/dist/magma-components/p-01dc43dd.entry.js +0 -1
- package/dist/magma-components/p-01dca5e8.entry.js +0 -1
- package/dist/magma-components/p-030d45e3.entry.js +0 -1
- package/dist/magma-components/p-0328a23e.system.entry.js +0 -1
- package/dist/magma-components/p-08c6869a.entry.js +0 -1
- package/dist/magma-components/p-09de9fc5.system.entry.js +0 -1
- package/dist/magma-components/p-0acb46c8.entry.js +0 -1
- package/dist/magma-components/p-0b10ef9f.system.entry.js +0 -1
- package/dist/magma-components/p-0be56202.system.entry.js +0 -1
- package/dist/magma-components/p-0de58147.entry.js +0 -1
- package/dist/magma-components/p-0e481e5c.system.entry.js +0 -1
- package/dist/magma-components/p-0f104850.system.entry.js +0 -1
- package/dist/magma-components/p-1073bf63.entry.js +0 -1
- package/dist/magma-components/p-11490a89.entry.js +0 -1
- package/dist/magma-components/p-137b0bbe.system.entry.js +0 -1
- package/dist/magma-components/p-14a98729.entry.js +0 -1
- package/dist/magma-components/p-14d858f8.system.entry.js +0 -1
- package/dist/magma-components/p-14e918de.system.entry.js +0 -1
- package/dist/magma-components/p-154ef5b9.entry.js +0 -1
- package/dist/magma-components/p-158af6e3.entry.js +0 -1
- package/dist/magma-components/p-17427d8a.system.entry.js +0 -1
- package/dist/magma-components/p-1805592d.entry.js +0 -1
- package/dist/magma-components/p-18563022.entry.js +0 -1
- package/dist/magma-components/p-1a56d383.system.entry.js +0 -1
- package/dist/magma-components/p-1bb7895a.system.entry.js +0 -1
- package/dist/magma-components/p-1ce791c1.system.entry.js +0 -1
- package/dist/magma-components/p-1da904c3.system.entry.js +0 -1
- package/dist/magma-components/p-20961bf1.entry.js +0 -1
- package/dist/magma-components/p-24a9ed63.system.entry.js +0 -1
- package/dist/magma-components/p-26b131cf.entry.js +0 -1
- package/dist/magma-components/p-28ebb626.entry.js +0 -1
- package/dist/magma-components/p-2a1d3680.system.entry.js +0 -1
- package/dist/magma-components/p-2ab75334.system.entry.js +0 -1
- package/dist/magma-components/p-2ccc796b.system.entry.js +0 -1
- package/dist/magma-components/p-2d9d0887.system.entry.js +0 -1
- package/dist/magma-components/p-2df01d02.system.entry.js +0 -1
- package/dist/magma-components/p-3145c7eb.entry.js +0 -1
- package/dist/magma-components/p-34018dfe.entry.js +0 -1
- package/dist/magma-components/p-35a9f1b4.system.entry.js +0 -18
- package/dist/magma-components/p-35ec8bbd.entry.js +0 -1
- package/dist/magma-components/p-370f9463.system.entry.js +0 -1
- package/dist/magma-components/p-387948c4.system.entry.js +0 -1
- package/dist/magma-components/p-3aeecbba.system.entry.js +0 -1
- package/dist/magma-components/p-3af9132f.system.entry.js +0 -1
- package/dist/magma-components/p-3bfd085f.system.entry.js +0 -1
- package/dist/magma-components/p-3c246a39.entry.js +0 -1
- package/dist/magma-components/p-3c2bf79b.entry.js +0 -1
- package/dist/magma-components/p-3ce52f3c.entry.js +0 -1
- package/dist/magma-components/p-3e5993b4.entry.js +0 -1
- package/dist/magma-components/p-3ef80cd4.system.entry.js +0 -1
- package/dist/magma-components/p-3fc3b8b4.entry.js +0 -1
- package/dist/magma-components/p-423955d1.system.entry.js +0 -1
- package/dist/magma-components/p-42f336df.system.entry.js +0 -1
- package/dist/magma-components/p-45a85712.system.entry.js +0 -1
- package/dist/magma-components/p-460cd731.system.entry.js +0 -1
- package/dist/magma-components/p-473f6954.entry.js +0 -1
- package/dist/magma-components/p-47fa0ecf.entry.js +0 -1
- package/dist/magma-components/p-4b07fe37.entry.js +0 -1
- package/dist/magma-components/p-4b884441.entry.js +0 -1
- package/dist/magma-components/p-4ba583c9.entry.js +0 -1
- package/dist/magma-components/p-4c08fe3e.entry.js +0 -1
- package/dist/magma-components/p-4f490917.entry.js +0 -1
- package/dist/magma-components/p-4f98fdba.system.entry.js +0 -1
- package/dist/magma-components/p-50553954.system.entry.js +0 -1
- package/dist/magma-components/p-523d4716.entry.js +0 -1
- package/dist/magma-components/p-52ccfafc.system.entry.js +0 -1
- package/dist/magma-components/p-52e2f903.entry.js +0 -1
- package/dist/magma-components/p-53195d95.system.entry.js +0 -1
- package/dist/magma-components/p-5488f51f.system.entry.js +0 -1
- package/dist/magma-components/p-553927f9.system.entry.js +0 -1
- package/dist/magma-components/p-55b4bbba.entry.js +0 -1
- package/dist/magma-components/p-583f5ffa.entry.js +0 -1
- package/dist/magma-components/p-59f53701.system.entry.js +0 -1
- package/dist/magma-components/p-5b881091.entry.js +0 -1
- package/dist/magma-components/p-5c44d208.entry.js +0 -1
- package/dist/magma-components/p-5fdcd8e2.system.entry.js +0 -1
- package/dist/magma-components/p-5fe7b875.system.entry.js +0 -1
- package/dist/magma-components/p-614e7f83.system.entry.js +0 -1
- package/dist/magma-components/p-62cf9003.system.entry.js +0 -1
- package/dist/magma-components/p-63898681.entry.js +0 -1
- package/dist/magma-components/p-663a510e.entry.js +0 -1
- package/dist/magma-components/p-6ae4df92.system.entry.js +0 -1
- package/dist/magma-components/p-6d268a59.entry.js +0 -1
- package/dist/magma-components/p-75011fed.system.entry.js +0 -9
- package/dist/magma-components/p-77e9bd68.entry.js +0 -1
- package/dist/magma-components/p-7d836722.entry.js +0 -1
- package/dist/magma-components/p-7e037cf3.entry.js +0 -8
- package/dist/magma-components/p-8106dbfd.system.entry.js +0 -1
- package/dist/magma-components/p-82deeaa0.system.entry.js +0 -1
- package/dist/magma-components/p-83589b83.entry.js +0 -1
- package/dist/magma-components/p-83721814.entry.js +0 -18
- package/dist/magma-components/p-83de0e53.system.entry.js +0 -1
- package/dist/magma-components/p-849760e7.system.entry.js +0 -1
- package/dist/magma-components/p-85ac6e54.system.entry.js +0 -1
- package/dist/magma-components/p-87f8a213.entry.js +0 -1
- package/dist/magma-components/p-89bf698e.system.entry.js +0 -1
- package/dist/magma-components/p-89f96753.system.entry.js +0 -1
- package/dist/magma-components/p-8bec8ad6.system.entry.js +0 -1
- package/dist/magma-components/p-8d76853c.system.entry.js +0 -1
- package/dist/magma-components/p-8f1ce3f1.system.entry.js +0 -1
- package/dist/magma-components/p-9021fa60.entry.js +0 -1
- package/dist/magma-components/p-90b72c1c.system.entry.js +0 -1
- package/dist/magma-components/p-90d5b6df.system.entry.js +0 -1
- package/dist/magma-components/p-913372ff.entry.js +0 -1
- package/dist/magma-components/p-94093140.system.entry.js +0 -1
- package/dist/magma-components/p-944d9b27.system.entry.js +0 -1
- package/dist/magma-components/p-956b5ae6.entry.js +0 -1
- package/dist/magma-components/p-95eae04e.entry.js +0 -1
- package/dist/magma-components/p-961a2531.entry.js +0 -1
- package/dist/magma-components/p-9658cb0c.entry.js +0 -1
- package/dist/magma-components/p-96d1a168.entry.js +0 -1
- package/dist/magma-components/p-96f6a646.entry.js +0 -1
- package/dist/magma-components/p-98435b90.system.entry.js +0 -1
- package/dist/magma-components/p-988b0c7c.entry.js +0 -1
- package/dist/magma-components/p-98a05642.system.entry.js +0 -1
- package/dist/magma-components/p-99f7a1b6.system.entry.js +0 -1
- package/dist/magma-components/p-9a1940c1.system.entry.js +0 -1
- package/dist/magma-components/p-9a89bc78.system.entry.js +0 -1
- package/dist/magma-components/p-9ad586a7.system.entry.js +0 -1
- package/dist/magma-components/p-9b52918e.system.entry.js +0 -1
- package/dist/magma-components/p-9yaIBCJC.system.js +0 -1
- package/dist/magma-components/p-CxU_BeBE.js +0 -1
- package/dist/magma-components/p-a1af65e8.entry.js +0 -1
- package/dist/magma-components/p-a5473293.system.entry.js +0 -1
- package/dist/magma-components/p-a6caafcb.system.entry.js +0 -1
- package/dist/magma-components/p-a7bd4585.entry.js +0 -1
- package/dist/magma-components/p-a88fba47.system.entry.js +0 -1
- package/dist/magma-components/p-a959ade4.entry.js +0 -1
- package/dist/magma-components/p-aa7d8972.entry.js +0 -1
- package/dist/magma-components/p-aa98652f.entry.js +0 -1
- package/dist/magma-components/p-aaeb0ee3.system.entry.js +0 -1
- package/dist/magma-components/p-ab89bf5b.system.entry.js +0 -1
- package/dist/magma-components/p-abc720e3.entry.js +0 -1
- package/dist/magma-components/p-abe87810.entry.js +0 -1
- package/dist/magma-components/p-ac80aca8.entry.js +0 -1
- package/dist/magma-components/p-acb07134.system.entry.js +0 -1
- package/dist/magma-components/p-acd4f96a.entry.js +0 -1
- package/dist/magma-components/p-af49bca2.entry.js +0 -1
- package/dist/magma-components/p-af670eaf.entry.js +0 -1
- package/dist/magma-components/p-b14a94e0.system.entry.js +0 -1
- package/dist/magma-components/p-b2bc194a.entry.js +0 -1
- package/dist/magma-components/p-b2e76c18.system.entry.js +0 -1
- package/dist/magma-components/p-b37dff80.system.entry.js +0 -1
- package/dist/magma-components/p-b3e3226e.entry.js +0 -1
- package/dist/magma-components/p-b40f1153.entry.js +0 -1
- package/dist/magma-components/p-b4709a95.entry.js +0 -1
- package/dist/magma-components/p-b5db6527.system.entry.js +0 -1
- package/dist/magma-components/p-b764defa.entry.js +0 -1
- package/dist/magma-components/p-b9b2501e.system.entry.js +0 -1
- package/dist/magma-components/p-b9b5bcdd.system.entry.js +0 -1
- package/dist/magma-components/p-ba2a0bc1.system.entry.js +0 -1
- package/dist/magma-components/p-bb4380cd.entry.js +0 -1
- package/dist/magma-components/p-bce3a8b0.system.entry.js +0 -1
- package/dist/magma-components/p-bd2998e6.system.entry.js +0 -1
- package/dist/magma-components/p-bd3dbc2d.entry.js +0 -1
- package/dist/magma-components/p-bed57abb.entry.js +0 -1
- package/dist/magma-components/p-bfed0b7a.entry.js +0 -1
- package/dist/magma-components/p-c6177cb9.system.entry.js +0 -1
- package/dist/magma-components/p-c638556c.entry.js +0 -1
- package/dist/magma-components/p-c6fa4a21.entry.js +0 -1
- package/dist/magma-components/p-c8e99385.system.entry.js +0 -1
- package/dist/magma-components/p-c9231987.entry.js +0 -1
- package/dist/magma-components/p-c9c51ba6.system.entry.js +0 -1
- package/dist/magma-components/p-cc53b30c.entry.js +0 -1
- package/dist/magma-components/p-ccc0521c.entry.js +0 -1
- package/dist/magma-components/p-cd71630e.system.entry.js +0 -1
- package/dist/magma-components/p-cd879243.system.entry.js +0 -1
- package/dist/magma-components/p-ce064d47.entry.js +0 -1
- package/dist/magma-components/p-d2537229.system.entry.js +0 -1
- package/dist/magma-components/p-d2617a1a.entry.js +0 -1
- package/dist/magma-components/p-d41c4637.system.entry.js +0 -1
- package/dist/magma-components/p-d88f44aa.entry.js +0 -1
- package/dist/magma-components/p-dae9ae8e.system.entry.js +0 -1
- package/dist/magma-components/p-df87e2f5.system.entry.js +0 -1
- package/dist/magma-components/p-dfe082be.system.entry.js +0 -1
- package/dist/magma-components/p-e00ba5a0.entry.js +0 -1
- package/dist/magma-components/p-e0d12fa2.system.entry.js +0 -1
- package/dist/magma-components/p-e2cd11c3.entry.js +0 -1
- package/dist/magma-components/p-e5fb3081.system.entry.js +0 -1
- package/dist/magma-components/p-e67a6452.entry.js +0 -1
- package/dist/magma-components/p-e6d8c9e3.system.entry.js +0 -1
- package/dist/magma-components/p-e71aecc1.entry.js +0 -1
- package/dist/magma-components/p-eac692ea.system.entry.js +0 -1
- package/dist/magma-components/p-ecf2e98d.system.entry.js +0 -1
- package/dist/magma-components/p-ed6d1453.system.entry.js +0 -1
- package/dist/magma-components/p-f289eb5a.entry.js +0 -1
- package/dist/magma-components/p-f3604c99.entry.js +0 -1
- package/dist/magma-components/p-f3dbca34.entry.js +0 -1
- package/dist/magma-components/p-f4b4bdf2.system.entry.js +0 -1
- package/dist/magma-components/p-f56d16f7.entry.js +0 -1
- package/dist/magma-components/p-f8014852.system.entry.js +0 -1
- package/dist/magma-components/p-f851100d.entry.js +0 -1
- package/dist/magma-components/p-f8d5adce.entry.js +0 -1
- package/dist/magma-components/p-fa427f75.system.entry.js +0 -1
- package/dist/magma-components/p-fa6a05b5.entry.js +0 -1
- package/dist/magma-components/p-fb8b0104.entry.js +0 -1
- package/dist/magma-components/p-fcf59139.system.entry.js +0 -1
- package/dist/magma-components/p-fe3d5720.system.entry.js +0 -1
- package/dist/magma-components/p-fe85ad8e.system.entry.js +0 -1
- package/dist/magma-components/p-ffae137a.entry.js +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as i,h as a,H as n,g as e}from"./p-CAd5312P.js";import{m as t}from"./p-J-ikDhyq.js";import{c as s}from"./p-ChV9xqsO.js";import{B as d}from"./p-MSUJeuJp.js";import"./p-8RYXTPXs.js";import"./p-D8eZRaSQ.js";import"./p-CSCy6TMW.js";const r=class{constructor(a){i(this,a),this.backdropController=new d("mds-radial-menu-backdrop"),this.angleStart=0,this.angleEnd=360,this.radius=5,this.direction="clockwise",this.backdrop=!1,this.interaction="click",this.variant="dark",this.tone="strong",this.size="lg",this.toggleMenu=()=>{this.opened=!0!==this.opened||void 0},this.setItemSize=()=>{var i;null===(i=this.items)||void 0===i||i.forEach((i=>{i.size=this.size}))},this.setItemIndex=()=>{this.items.forEach(((i,a)=>{i.style.setProperty("--mds-radial-menu-item-index",a.toString())}))},this.setIsFullCircle=()=>{this.hostElement.style.setProperty("--mds-radial-menu-is-full-circle",this.angleEnd-this.angleStart==360?"1":"0")},this.setIsStartGreaterThanEnd=()=>{this.hostElement.style.setProperty("--mds-radial-menu-is-start-greater-than-end",this.angleStart>this.angleEnd?"-1":"1")},this.updateItems=()=>{this.items=this.hostElement.querySelectorAll(':scope > [slot="item"]'),this.setItemSize(),this.setItemIndex(),this.hostElement.style.setProperty("--mds-radial-menu-nth-siblings",(this.items.length-1).toString())},this.toggleRightClickMenu=i=>{i.preventDefault(),this.hostElement.style.top=i.clientY-this.hostElement.offsetHeight/2+"px",this.hostElement.style.left=i.clientX-this.hostElement.offsetWidth/2+"px",this.toggleMenu()},this.handleBackdrop=()=>{this.backdrop&&this.opened?this.backdropController.attachBackdrop():this.backdropController.detachBackdrop()}}componentWillLoad(){var i;this.icon=null!==(i=this.icon)&&void 0!==i?i:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M12 8c1.1 0 2-.9 2-2s-.9-2-2-2s-2 .9-2 2s.9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2s2-.9 2-2s-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2s2-.9 2-2s-.9-2-2-2z"/></svg>',this.onAngleStartChange(this.angleStart),this.onAngleEndChange(this.angleEnd),this.onRadiusChange(this.radius),this.onSizeChange()}componentDidLoad(){this.updateItems(),this.setIsFullCircle(),this.setIsStartGreaterThanEnd(),this.onOpenedChange(this.opened),this.onInteractionChange(this.interaction)}disconnectedCallback(){"undefined"!=typeof document&&document.removeEventListener("contextmenu",this.toggleRightClickMenu)}onDiscChanged(i){!1===i&&(this.disc=void 0)}backdropChanged(i){!1===i&&(this.backdrop=void 0),this.handleBackdrop()}onInteractionChange(i){"undefined"!=typeof document&&("rightclick"!==i?document.removeEventListener("contextmenu",this.toggleRightClickMenu):document.addEventListener("contextmenu",this.toggleRightClickMenu))}onAngleStartChange(i){this.hostElement.style.setProperty("--mds-radial-menu-angle-start",`${i}deg`),this.setIsFullCircle(),this.setIsStartGreaterThanEnd()}onAngleEndChange(i){this.hostElement.style.setProperty("--mds-radial-menu-angle-end",`${i}deg`),this.setIsFullCircle(),this.setIsStartGreaterThanEnd()}onRadiusChange(i){this.hostElement.style.setProperty("--mds-radial-menu-radius",`${i}rem`)}onSizeChange(){this.setItemSize()}onOpenedChange(i){!1===i&&(this.opened=void 0),this.handleBackdrop()}render(){return a(n,{key:"6f7cf327cfc3a90b1ce80e9e9aab86f6423cbf41"},a("mds-button",{key:"545b32a7fe48707ceb0eec5adb799a776421a053",class:s("menu-button","click"!==this.interaction&&"menu-button--hidden"),icon:this.opened?t:this.icon,tone:this.tone,variant:this.variant,size:this.size,onClick:this.toggleMenu}),a("div",{key:"76acb7ae11c61f5f216c1870f61eb5cd50b1848b",class:"radial-menu",part:"radial-menu"},a("slot",{key:"1f0a16e3505609ec32450384c40f35ec439c58ed",name:"item",onSlotchange:this.updateItems})),a("div",{key:"cd886be843d69836088046472a720ceaac4b7676",class:"disc"}))}get hostElement(){return e(this)}static get watchers(){return{disc:[{onDiscChanged:0}],backdrop:[{backdropChanged:0}],interaction:[{onInteractionChange:0}],angleStart:[{onAngleStartChange:0}],angleEnd:[{onAngleEndChange:0}],radius:[{onRadiusChange:0}],size:[{onSizeChange:0}],opened:[{onOpenedChange:0}]}}};r.style='@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--mds-radial-menu-angle-start:0deg;--mds-radial-menu-angle-end:360deg;--mds-radial-menu-context-menu-z-index:var(--magma-context-menu-z-index,8000);--mds-radial-menu-delay:10ms;--mds-radial-menu-direction:-1;--mds-radial-menu-disc-background:rgb(var(--tone-neutral,0 0 0)/.5);--mds-radial-menu-disc-size:calc(var(--mds-radial-menu-radius,5rem)*2);--mds-radial-menu-radius:5rem;--mds-radial-menu-transition-duration:.5s}}}:host(:not(:is([hydrated],.hydrated))),mds-button:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}@property --mds-radial-menu-angle-start{syntax:"<angle>";inherits:false;initial-value:0deg}@property --mds-radial-menu-angle-end{syntax:"<angle>";inherits:false;initial-value:1turn}@property --mds-radial-menu-delay{syntax:"<time>";inherits:false;initial-value:10ms}@property --mds-radial-menu-direction{syntax:"<integer>";inherits:false;initial-value:-1}@property --mds-radial-menu-radius{syntax:"<length>";inherits:false;initial-value:5rem}@property --mds-radial-menu-transition-duration{syntax:"<time>";inherits:false;initial-value:.5s}:host{--mds-radial-menu-angle-start:0deg;--mds-radial-menu-angle-end:360deg;--mds-radial-menu-context-menu-z-index:var(--magma-context-menu-z-index,8000);--mds-radial-menu-delay:10ms;--mds-radial-menu-direction:-1;--mds-radial-menu-disc-background:rgb(var(--tone-neutral,0 0 0)/.5);--mds-radial-menu-disc-filter:blur(8px);--mds-radial-menu-disc-shadow:var(--shadow-lg-sharp,0 0 1px 1px #0000000f,0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d);--mds-radial-menu-disc-size:calc(var(--mds-radial-menu-radius,5rem)*2);--mds-radial-menu-radius:5rem;--mds-radial-menu-transition-duration:.5s;--mds-radial-menu-transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1));--mds-radial-menu-nth-siblings:0;--mds-radial-menu-disc-delay:0s;--mds-radial-menu-disc-scale:0;--mds-radial-menu-radius-current:0;--mds-radial-menu-is-full-circle:1;--mds-radial-menu-is-start-greater-than-end:1;display:inline-flex;position:relative;-webkit-transition-duration:var(--mds-radial-menu-transition-duration,.5s);transition-duration:var(--mds-radial-menu-transition-duration,.5s);transition-property:top,left;-webkit-transition-timing-function:var(--mds-radial-menu-transition-timing-function);transition-timing-function:var(--mds-radial-menu-transition-timing-function);z-index:var(--magma-dropdown-z-index,5000)}:host([direction=clockwise]){--mds-radial-menu-direction:calc(var(--mds-radial-menu-is-start-greater-than-end)*-1)}:host([direction=counterclockwise]){--mds-radial-menu-direction:calc(var(--mds-radial-menu-is-start-greater-than-end)*1)}.menu-button{border-radius:100%;position:relative;transform:scale(1);-webkit-transition-duration:var(--mds-radial-menu-transition-duration,.5s);transition-duration:var(--mds-radial-menu-transition-duration,.5s);-webkit-transition-timing-function:var(--mds-radial-menu-transition-timing-function);transition-timing-function:var(--mds-radial-menu-transition-timing-function);z-index:2}:host(:not([opened])) .menu-button--hidden{transform:scale(0)}.radial-menu{inset:0;pointer-events:none;position:absolute;-webkit-transition-delay:calc((var(--mds-radial-menu-nth-siblings)*2)*var(--mds-radial-menu-delay,10ms));transition-delay:calc((var(--mds-radial-menu-nth-siblings)*2)*var(--mds-radial-menu-delay,10ms));transition-property:z-index;z-index:3}:host(:not([opened])) .radial-menu{transition-delay:0s;z-index:1}:host(:not([opened])){--mds-radial-menu-radius-current:0}:host([opened]){--mds-radial-menu-radius-current:var(--mds-radial-menu-radius,5rem)}:host([opened]) ::slotted(mds-radial-menu-item){pointer-events:auto;transform:scale(1)}::slotted(mds-radial-menu-item){--mds-radial-menu-item-offset-per-child:calc((var(--mds-radial-menu-angle-end,360deg) - var(--mds-radial-menu-angle-start,0deg))/(var(--mds-radial-menu-nth-siblings) + var(--mds-radial-menu-is-full-circle)));--mds-radial-menu-item-angle-offset:calc(var(--mds-radial-menu-direction,-1)*var(--mds-radial-menu-item-index)*var(--mds-radial-menu-item-offset-per-child));--mds-radial-menu-item-delay:calc((var(--mds-radial-menu-item-index) + 1)*var(--mds-radial-menu-delay,10ms));--mds-radial-menu-item-translate:calc(cos((var(--mds-radial-menu-angle-start,0deg) + var(--mds-radial-menu-item-angle-offset))) * var(--mds-radial-menu-radius-current)) calc(sin((var(--mds-radial-menu-angle-start,0deg) + var(--mds-radial-menu-item-angle-offset))) * var(--mds-radial-menu-radius-current) * -1)}.disc{--size:calc(var(--mds-radial-menu-disc-size,calc(var(--mds-radial-menu-radius,5rem) * 2)) + var(--mds-radial-menu-radius,5rem));-webkit-backdrop-filter:var(--mds-radial-menu-disc-filter);backdrop-filter:var(--mds-radial-menu-disc-filter);background-color:var(--mds-radial-menu-disc-background,rgb(var(--tone-neutral,0 0 0)/.5));border-radius:100%;-webkit-box-shadow:var(--mds-radial-menu-disc-shadow);box-shadow:var(--mds-radial-menu-disc-shadow);display:inline-flex;height:var(--size);inset:50%;position:absolute;-webkit-transform:translate(-50%,-50%) scale(var(--mds-radial-menu-disc-scale));transform:translate(-50%,-50%) scale(var(--mds-radial-menu-disc-scale));-webkit-transition-delay:var(--mds-radial-menu-disc-delay);transition-delay:var(--mds-radial-menu-disc-delay);-webkit-transition-duration:var(--mds-radial-menu-transition-duration,.5s);transition-duration:var(--mds-radial-menu-transition-duration,.5s);transition-property:height,transform,width;-webkit-transition-timing-function:var(--mds-radial-menu-transition-timing-function);transition-timing-function:var(--mds-radial-menu-transition-timing-function);width:var(--size);z-index:0}:host(:not([opened][disc])){--mds-radial-menu-disc-scale:0;--mds-radial-menu-disc-delay:calc((var(--mds-radial-menu-nth-siblings) + 1)*var(--mds-radial-menu-delay,10ms))}:host([opened][disc]){--mds-radial-menu-disc-scale:1;--mds-radial-menu-disc-delay:0s}:host([interaction=rightclick]){position:fixed;z-index:var(--mds-radial-menu-context-menu-z-index,var(--magma-context-menu-z-index,8000))}';export{r as mds_radial_menu}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,c as a,h as r,H as e,g as i}from"./p-CAd5312P.js";import{s as n}from"./p-fMwnXhio.js";const s=class{constructor(r){t(this,r),this.changeEvent=a(this,"mdsInputRangeChange"),r.$hostElement$["s-ei"]?this.internals=r.$hostElement$["s-ei"]:(this.internals=r.$hostElement$.attachInternals(),r.$hostElement$["s-ei"]=this.internals),this.max=100,this.min=0,this.step=1,this.onInput=()=>{if(Number.isNaN(this.inputElement.value))throw Error(`Entered value ${this.inputElement.value} is not a Number`);this.value=Number(this.inputElement.value)}}calculateProgress(){let t=Number(this.inputElement.value);const a=Math.pow(10,this.decimalPlaces);t>this.max?t=this.max:t<this.min&&(t=this.min),(t-this.min)*a%(this.step*a)!=0&&(t=(Math.round((t*a-this.min*a)/(this.step*a))*(this.step*a)+this.min*a)/a),this.value=t,this.internals.setFormValue(this.value.toString()),this.progress=(this.value-this.min)/(this.max-this.min)*100}countDecimals(t){return Math.floor(t)===t?0:t.toString().split(".")[1].length||0}disabledChanged(t){t&&this.internals.setFormValue(null)}valueChanged(t,a){t!==a&&(this.inputElement.value=this.value.toString(),this.calculateProgress(),this.changeEvent.emit(this.value))}minChanged(){this.calculateProgress()}maxChanged(){this.calculateProgress()}stepChanged(){if(this.step<=0)throw Error("step cant be negative or zero");this.decimalPlaces=this.countDecimals(this.step),this.calculateProgress()}formResetCallback(){this.internals.setFormValue("")}connectedCallback(){this.unsubscribePrefAnimation=n("animation",(t=>{this.prefAnimation=t})),this.unsubscribePrefContrast=n("contrast",(t=>{this.prefContrast=t})),this.unsubscribePrefTheme=n("theme",(t=>{this.prefTheme=t})),this.unsubscribePrefThemeScheme=n("theme-scheme",(t=>{this.prefThemeScheme=t}))}disconnectedCallback(){var t,a,r,e;null===(t=this.unsubscribePrefAnimation)||void 0===t||t.call(this),null===(a=this.unsubscribePrefContrast)||void 0===a||a.call(this),null===(r=this.unsubscribePrefTheme)||void 0===r||r.call(this),null===(e=this.unsubscribePrefThemeScheme)||void 0===e||e.call(this)}componentDidLoad(){var t;this.decimalPlaces=this.countDecimals(this.step),this.onInput(),this.label=null!==(t=this.element.textContent)&&void 0!==t?t:"",this.calculateProgress()}render(){var t;return r(e,{key:"b820e8ed601040eee9bac980e0ee308a3d09de51","pref-animation":this.prefAnimation,"pref-contrast":this.prefContrast,"pref-theme":this.prefTheme,"pref-theme-scheme":this.prefThemeScheme},r("header",{key:"f9849eb9243eaab7585991a7f32a7ecd0aa30d78",class:"header",part:"header"},r("mds-text",{key:"9d32ebdd41564adfc5c4d4546017b87aeaef6580",class:"label",typography:"label"},r("slot",{key:"6061c4d9d0987242ca08444370831aa55aa0e927"})),r("mds-text",{key:"a8e588f3833bdd9a809b75b1f9cf2bef725ccd4e",class:"value",typography:"label"},this.formatValue?this.formatValue(this.value):this.value)),r("div",{key:"b0ea4bd7ca1b5f82c4b6581d891a5ca3db71b901",class:"range"},r("div",{key:"2d888c14de77f99cfbb651c470e85888869eefcf",class:"track",part:"track"},r("div",{key:"0bd42dcedd84c2e8ce4ac8e922c40de108bca01c",class:"contrast-area"}),r("div",{key:"d88d39f19a361f6a515ba9faf63bfce0961abb77",class:"track-total"},r("div",{key:"82d7e7dd1e4741f89ab8ca250daf93b3e1fb7c28",class:"track-progress",style:{"--mds-input-range-progress":`${null!==(t=this.progress)&&void 0!==t?t:0}`}}))),r("input",{key:"c6d01e5b369efc8a60007255b1ae4c1cd2cfce03",ref:t=>this.inputElement=t,class:"field","aria-label":this.label,disabled:this.disabled,max:this.max,min:this.min,onInput:this.onInput,step:this.step,type:"range",value:this.value,name:this.name})))}static get formAssociated(){return!0}get element(){return i(this)}static get watchers(){return{disabled:[{disabledChanged:0}],value:[{valueChanged:0}],min:[{minChanged:0}],max:[{maxChanged:0}],step:[{stepChanged:0}]}}};s.style="@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),mds-text:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-input-range-transition-duration:var(--duration-300,.3s);--private-input-range-transition-duration:var(--mds-input-range-transition-duration);--mds-input-range-thumb-background-disabled:rgb(var(--tone-neutral-08,107 107 107));--mds-input-range-thumb-background:rgb(var(--tone-neutral,0 0 0));--mds-input-range-thumb-cursor:col-resize;--mds-input-range-thumb-size:calc(var(--spacing,.0025rem)*400);--mds-input-range-track-background-disabled:rgb(var(--tone-neutral-08,107 107 107));--mds-input-range-track-background:rgb(var(--tone-neutral-08,107 107 107));--mds-input-range-track-progress-background-disabled:rgb(var(--tone-neutral-06,158 158 158));--mds-input-range-track-progress-background:rgb(var(--variant-primary-03,211 226 255));--mds-input-range-track-size:calc(var(--spacing,.0025rem)*600);--private-border-width:calc(var(--mds-input-range-track-size)/2 - var(--mds-input-range-thumb-size)/2);--private-thumb-size:calc(var(--mds-input-range-thumb-size) + var(--private-border-width)*2);display:grid;gap:calc(var(--spacing,.0025rem)*200);-webkit-transition-duration:var(--private-input-range-transition-duration);transition-duration:var(--private-input-range-transition-duration);transition-property:color;-webkit-transition-timing-function:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}.header{display:flex;gap:calc(var(--spacing,.0025rem)*200)}.label{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.value{margin-left:auto}.range{align-items:center;display:flex;height:var(--private-thumb-size);position:relative}.track{box-sizing:border-box;position:absolute;width:100%}.field{animation-duration:var(--magma-outline-animation-duration,1s);animation-fill-mode:forwards;animation-iteration-count:infinite;animation-name:focus-bounce;animation-play-state:paused;animation-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1));appearance:none;background-color:#0000;border-radius:1000px;flex-grow:1;height:calc(var(--spacing,.0025rem)*400);margin:0;outline:var(--magma-outline-blur,2px solid var(--magma-outline-blur-color,#0000));transition-duration:.2s;transition-property:background-color,border-color,box-shadow,color,fill,outline,outline-offset,transform;transition-timing-function:ease-in-out;z-index:20}.field:focus-visible{--magma-outline-blur:var(--magma-outline-focus);animation-play-state:running}.field::-webkit-slider-thumb{appearance:none;background-color:var(--mds-input-range-thumb-background);border-color:var(--mds-input-range-track-progress-background);border-radius:var(--mds-input-range-thumb-size);border-style:solid;border-width:var(--private-border-width);cursor:var(--mds-input-range-thumb-cursor);height:var(--private-thumb-size);line-height:0;transform:translateY(-50%);transition-property:background-color,border;width:var(--private-thumb-size)}.field::-webkit-slider-runnable-track{appearance:none;border:0;height:0;width:100%}.track-progress{background-color:var(--mds-input-range-track-progress-background);width:calc((100% - var(--mds-input-range-track-size))*(var(--mds-input-range-progress,0)*0.01) + var(--mds-input-range-track-size)/2)}.track-progress,.track-total{display:flex;height:var(--mds-input-range-track-size);-webkit-transition-duration:var(--private-input-range-transition-duration);transition-duration:var(--private-input-range-transition-duration);transition-property:background-color}.track-total{background-color:var(--mds-input-range-track-background);overflow:hidden;-webkit-transition-timing-function:var(--ease-in-out);transition-timing-function:var(--ease-in-out);width:100%}.contrast-area,.track-total{border-radius:var(--mds-input-range-track-size)}.contrast-area{margin-left:calc(var(--spacing,.0025rem)*100);margin-right:calc(var(--spacing,.0025rem)*100)}:host([disabled]:not([disabled=false])){--mds-input-range-thumb-background:var(--mds-input-range-thumb-background-disabled);--mds-input-range-track-background:var(--mds-input-range-track-background-disabled);--mds-input-range-track-progress-background:var(--mds-input-range-track-progress-background-disabled)}:host([disabled]:not([disabled=false])) .field::-webkit-slider-thumb{cursor:not-allowed}:host([pref-animation=reduce]){--private-input-range-transition-duration:0s}:host([pref-theme=dark]:not([pref-theme-scheme=light])){--mds-input-range-thumb-background:rgb(var(--variant-primary-04,184 208 255));--mds-input-range-track-background:rgb(var(--tone-neutral-07,134 134 134));--mds-input-range-track-progress-background:rgb(var(--variant-primary-05,152 188 255))}:host([pref-contrast=more]){color:rgb(var(--tone-neutral-01,255 255 255))}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host([pref-animation=system]){--private-input-range-transition-duration:0s}}@media (prefers-color-scheme:dark){:host(:not([pref-theme])),:host([pref-theme=system]:not([pref-theme-scheme=light])){--mds-input-range-thumb-background:rgb(var(--variant-primary-04,184 208 255));--mds-input-range-track-background:rgb(var(--tone-neutral-07,134 134 134));--mds-input-range-track-progress-background:rgb(var(--variant-primary-05,152 188 255))}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){color:rgb(var(--tone-neutral-01,255 255 255))}}";export{s as mds_input_range}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var __awaiter=this&&this.__awaiter||function(a,e,r,i){function t(a){return a instanceof r?a:new r((function(e){e(a)}))}return new(r||(r=Promise))((function(r,o){function n(a){try{c(i.next(a))}catch(a){o(a)}}function s(a){try{c(i["throw"](a))}catch(a){o(a)}}function c(a){a.done?r(a.value):t(a.value).then(n,s)}c((i=i.apply(a,e||[])).next())}))};var __generator=this&&this.__generator||function(a,e){var r={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},i,t,o,n=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return n.next=s(0),n["throw"]=s(1),n["return"]=s(2),typeof Symbol==="function"&&(n[Symbol.iterator]=function(){return this}),n;function s(a){return function(e){return c([a,e])}}function c(s){if(i)throw new TypeError("Generator is already executing.");while(n&&(n=0,s[0]&&(r=0)),r)try{if(i=1,t&&(o=s[0]&2?t["return"]:s[0]?t["throw"]||((o=t["return"])&&o.call(t),0):t.next)&&!(o=o.call(t,s[1])).done)return o;if(t=0,o)s=[s[0]&2,o.value];switch(s[0]){case 0:case 1:o=s;break;case 4:r.label++;return{value:s[1],done:false};case 5:r.label++;t=s[1];s=[0];continue;case 7:s=r.ops.pop();r.trys.pop();continue;default:if(!(o=r.trys,o=o.length>0&&o[o.length-1])&&(s[0]===6||s[0]===2)){r=0;continue}if(s[0]===3&&(!o||s[1]>o[0]&&s[1]<o[3])){r.label=s[1];break}if(s[0]===6&&r.label<o[1]){r.label=o[1];o=s;break}if(o&&r.label<o[2]){r.label=o[2];r.ops.push(s);break}if(o[2])r.ops.pop();r.trys.pop();continue}s=e.call(a,r)}catch(a){s=[6,a];t=0}finally{i=o=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};System.register(["./p-DI5DWqw4.system.js","./p-DUHwOT7z.system.js","./p-DcKeJ0td.system.js","./p-Y11niGnP.system.js","./p-C0tqOovl.system.js","./p-BcI1w9tp.system.js","./p-D-RexH7B.system.js"],(function(a){"use strict";var e,r,i,t,o,n,s,c,l,d;return{setters:[function(a){e=a.r;r=a.h;i=a.H;t=a.g},function(a){o=a.k},function(a){n=a.L},function(a){s=a.m},function(a){c=a.m},function(a){l=a.m},function(a){d=a.m}],execute:function(){var v="Αλφαβητικός χαρακτήρας {{ character }} που χρησιμοποιείται συνήθως για τη δημιουργία συντομεύσεων πληκτρολογίου";var h="Πλήκτρο λειτουργίας {{ character }} που χρησιμοποιείται συχνά για καθολικές λειτουργίες ανάλογα με το λειτουργικό σύστημα και την έκδοσή του";var m="Αριθμητικός χαρακτήρας {{ character }} που χρησιμοποιείται συνήθως για τη δημιουργία συντομεύσεων πληκτρολογίου";var p="Πλήκτρο τροποποίησης Alt{{#keyboardPosition}}{{#left}} αριστερό{{/left}}{{#right}} δεξιό{{/right}}{{/keyboardPosition}} (εναλλακτικό), που χρησιμοποιείται συχνά για συντομεύσεις συστήματος";var g="Πλήκτρο τροποποίησης Control ή Ctrl{{#keyboardPosition}}{{#left}} αριστερό{{/left}}{{#right}} δεξιό{{/right}}{{/keyboardPosition}}, που χρησιμοποιείται σε πολλές συντομεύσεις";var y="Πλήκτρο τροποποίησης Meta{{#keyboardPosition}}{{#left}} αριστερό{{/left}}{{#right}} δεξιό{{/right}}{{/keyboardPosition}}, πλήκτρο Windows ⊞ στα Windows ή Command ⌘ στο macOS";var k="Πλήκτρο τροποποίησης Shift{{#keyboardPosition}}{{#left}} αριστερό{{/left}}{{#right}} δεξιό{{/right}}{{/keyboardPosition}}, που χρησιμοποιείται για κεφαλαία γράμματα";var u="Πλήκτρο πλοήγησης Κάτω βέλος";var b="Πλήκτρο πλοήγησης Αριστερό βέλος";var f="Πλήκτρο πλοήγησης Δεξί βέλος";var w="Πλήκτρο πλοήγησης Πάνω βέλος";var z="Πλήκτρο πλοήγησης Μετάβαση στο τέλος";var x="Πλήκτρο πλοήγησης Μετάβαση στην αρχή";var T="Πλήκτρο πλοήγησης Κύλιση προς τα κάτω";var P="Πλήκτρο πλοήγησης Κύλιση προς τα πάνω";var C="Πλήκτρο Enter αριθμητικού πληκτρολογίου για επιβεβαίωση ενέργειας";var L="Ειδικό πλήκτρο Διαγραφή χαρακτήρα";var S="Ειδικό πλήκτρο Caps Lock (συνήθως αποφεύγεται στις συντομεύσεις πληκτρολογίου)";var H="Ειδικό πλήκτρο Διαγραφή επιλεγμένου στοιχείου";var M="Ειδικό πλήκτρο Enter για επιβεβαίωση ενέργειας";var A="Ειδικό πλήκτρο Έξοδος ή ακύρωση";var E="Ειδικό πλήκτρο Διάστημα";var B="Ειδικό πλήκτρο Tab για εναλλαγή εστίασης μεταξύ στοιχείων";var V={keyCharacter:v,keyFunction:h,keyNumber:m,modAlt:p,modControl:g,modMeta:y,modShift:k,navArrowDown:u,navArrowLeft:b,navArrowRight:f,navArrowUp:w,navEnd:z,navHome:x,navPageDown:T,navPageUp:P,numPadEnter:C,specBackspace:L,specCapsLock:S,specDelete:H,specEnter:M,specEscape:A,specSpace:E,specTab:B};var D="Alphabetic character {{ character }} typically used for composing keyboard shortcuts";var j="Function key {{ character }} often used for global functions depending on the operating system and its version";var F="Numeric character {{ character }} typically used for composing keyboard shortcuts";var N="Modifier key Alt{{#keyboardPosition}}{{#left}} left{{/left}}{{#right}} right{{/right}}{{/keyboardPosition}} (alternative), often used for system shortcuts";var U="Modifier key Control or Ctrl{{#keyboardPosition}}{{#left}} left{{/left}}{{#right}} right{{/right}}{{/keyboardPosition}}, used in many shortcuts";var _="Modifier key Meta{{#keyboardPosition}}{{#left}} left{{/left}}{{#right}} right{{/right}}{{/keyboardPosition}}, Windows ⊞ key on Windows or Command ⌘ on macOS";var q="Modifier key Shift{{#keyboardPosition}}{{#left}} left{{/left}}{{#right}} right{{/right}}{{/keyboardPosition}}, used for uppercase letters";var O="Navigation key Down Arrow";var I="Navigation key Left Arrow";var W="Navigation key Right Arrow";var R="Navigation key Up Arrow";var G="Navigation key Go to End";var K="Navigation key Go to Home";var Z="Navigation key Scroll Down";var J="Navigation key Scroll Up";var Y="Keypad Enter key to confirm an action";var Q="Special key Delete character";var X="Special key Caps Lock (generally avoided in keyboard shortcuts)";var $="Special key Delete selected item";var aa="Special key Enter to confirm an action";var ea="Special key Exit or cancel";var ra="Special key Space bar";var ia="Special key Tab to change focus between elements";var ta={keyCharacter:D,keyFunction:j,keyNumber:F,modAlt:N,modControl:U,modMeta:_,modShift:q,navArrowDown:O,navArrowLeft:I,navArrowRight:W,navArrowUp:R,navEnd:G,navHome:K,navPageDown:Z,navPageUp:J,numPadEnter:Y,specBackspace:Q,specCapsLock:X,specDelete:$,specEnter:aa,specEscape:ea,specSpace:ra,specTab:ia};var oa="Carácter alfabético {{ character }} típicamente usado para componer atajos de teclado";var na="Tecla de función {{ character }} a menudo utilizada para funciones globales según el sistema operativo y su versión";var sa="Carácter numérico {{ character }} típicamente usado para componer atajos de teclado";var ca="Tecla modificadora Alt{{#keyboardPosition}}{{#left}} izquierda{{/left}}{{#right}} derecha{{/right}}{{/keyboardPosition}} (alternativa), a menudo usada para atajos de sistema";var la="Tecla modificadora Control o Ctrl{{#keyboardPosition}}{{#left}} izquierda{{/left}}{{#right}} derecha{{/right}}{{/keyboardPosition}}, utilizada en muchos atajos";var da="Tecla modificadora Meta{{#keyboardPosition}}{{#left}} izquierda{{/left}}{{#right}} derecha{{/right}}{{/keyboardPosition}}, tecla Windows ⊞ en Windows o Command ⌘ en macOS";var va="Tecla modificadora Shift{{#keyboardPosition}}{{#left}} izquierda{{/left}}{{#right}} derecha{{/right}}{{/keyboardPosition}}, utilizada para letras mayúsculas";var ha="Tecla de navegación Flecha abajo";var ma="Tecla de navegación Flecha izquierda";var pa="Tecla de navegación Flecha derecha";var ga="Tecla de navegación Flecha arriba";var ya="Tecla de navegación Ir al final";var ka="Tecla de navegación Ir al inicio";var ua="Tecla de navegación Desplazar hacia abajo";var ba="Tecla de navegación Desplazar hacia arriba";var fa="Tecla Enter del teclado numérico para confirmar una acción";var wa="Tecla especial Borrar carácter";var za="Tecla especial Bloq Mayús (generalmente evitada en atajos de teclado)";var xa="Tecla especial Eliminar elemento seleccionado";var Ta="Tecla especial Enter para confirmar una acción";var Pa="Tecla especial Salir o cancelar";var Ca="Tecla especial Barra espaciadora";var La="Tecla especial Tab para cambiar el foco entre elementos";var Sa={keyCharacter:oa,keyFunction:na,keyNumber:sa,modAlt:ca,modControl:la,modMeta:da,modShift:va,navArrowDown:ha,navArrowLeft:ma,navArrowRight:pa,navArrowUp:ga,navEnd:ya,navHome:ka,navPageDown:ua,navPageUp:ba,numPadEnter:fa,specBackspace:wa,specCapsLock:za,specDelete:xa,specEnter:Ta,specEscape:Pa,specSpace:Ca,specTab:La};var Ha="Carattere alfabetico {{ character }} tipicamente usato per comporre le scorciatoie da tastiera";var Ma="Tasto funzione {{ character }} spesso usato per funzioni globali a seconda del sistema operativo e della sua versione";var Aa="Carattere numerico {{ character }} tipicamente usato per comporre le scorciatoie da tastiera";var Ea="Tasto modificatore Alt{{#keyboardPosition}}{{#left}} sinistro{{/left}}{{#right}} destro{{/right}}{{/keyboardPosition}} (alternativo), spesso usato per shortcut di sistema";var Ba="Tasto modificatore Control o Ctrl{{#keyboardPosition}}{{#left}} sinistro{{/left}}{{#right}} destro{{/right}}{{/keyboardPosition}}, usato in molte scorciatoie";var Va="Tasto modificatore meta{{#keyboardPosition}}{{#left}} sinistro{{/left}}{{#right}} destro{{/right}}{{/keyboardPosition}}, Finestra ⊞ su Windows o Command ⌘ su macOS";var Da="Tasto modificatore Shift{{#keyboardPosition}}{{#left}} sinistro{{/left}}{{#right}} destro{{/right}}{{/keyboardPosition}}, usato per maiuscole";var ja="Tasto navigazione Freccia giù";var Fa="Tasto navigazione Freccia sinistra";var Na="Tasto navigazione Freccia destra";var Ua="Tasto navigazione Freccia su";var _a="Tasto navigazione Vai alla fine";var qa="Tasto navigazione Vai all'inizio";var Oa="Tasto navigazione Scorri in giù";var Ia="Tasto navigazione Scorri in su";var Wa="Tasto Invio per confermare una azione dal tastierino numerico";var Ra="Tasto speciale Cancella carattere";var Ga="Tasto speciale Blocco maiuscole (generalmente evitato nelle scorciatoie da tastiera)";var Ka="Tasto speciale Cancella elemento selezionato";var Za="Tasto speciale Invio per confermare una azione";var Ja="Tasto speciale Esci o annulla";var Ya="Tasto speciale Barra spaziatrice";var Qa="Tasto speciale Tab per cambiare focus tra elementi";var Xa={keyCharacter:Ha,keyFunction:Ma,keyNumber:Aa,modAlt:Ea,modControl:Ba,modMeta:Va,modShift:Da,navArrowDown:ja,navArrowLeft:Fa,navArrowRight:Na,navArrowUp:Ua,navEnd:_a,navHome:qa,navPageDown:Oa,navPageUp:Ia,numPadEnter:Wa,specBackspace:Ra,specCapsLock:Ga,specDelete:Ka,specEnter:Za,specEscape:Ja,specSpace:Ya,specTab:Qa};var $a='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M19 7v4H5.83l3.58-3.59L8 6l-6 6l6 6l1.41-1.41L5.83 13H21V7z"/></svg>';var ae='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M15.41 16.59L10.83 12l4.58-4.59L14 6l-6 6l6 6l1.41-1.41z"/></svg>';var ee='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M11.59 7.41L15.17 11H1v2h14.17l-3.59 3.59L13 18l6-6l-6-6l-1.41 1.41zM20 6v12h2V6h-2z"/></svg>';var re='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M17.5 3C15.57 3 14 4.57 14 6.5V8h-4V6.5C10 4.57 8.43 3 6.5 3S3 4.57 3 6.5S4.57 10 6.5 10H8v4H6.5C4.57 14 3 15.57 3 17.5S4.57 21 6.5 21s3.5-1.57 3.5-3.5V16h4v1.5c0 1.93 1.57 3.5 3.5 3.5s3.5-1.57 3.5-3.5s-1.57-3.5-3.5-3.5H16v-4h1.5c1.93 0 3.5-1.57 3.5-3.5S19.43 3 17.5 3zM16 8V6.5c0-.83.67-1.5 1.5-1.5s1.5.67 1.5 1.5S18.33 8 17.5 8H16zM6.5 8C5.67 8 5 7.33 5 6.5S5.67 5 6.5 5S8 5.67 8 6.5V8H6.5zm3.5 6v-4h4v4h-4zm7.5 5c-.83 0-1.5-.67-1.5-1.5V16h1.5c.83 0 1.5.67 1.5 1.5s-.67 1.5-1.5 1.5zm-11 0c-.83 0-1.5-.67-1.5-1.5S5.67 16 6.5 16H8v1.5c0 .83-.67 1.5-1.5 1.5z"/></svg>';var ie='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M15 5h6v2h-6zM9 5H3v2h4.85l6.92 12H21v-2h-5.07z"/></svg>';var te='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M3 3h8v8H3zm10 0h8v8h-8zM3 13h8v8H3zm10 0h8v8h-8z"/></svg>';var oe='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M22 3H7c-.69 0-1.23.35-1.59.88L0 12l5.41 8.11c.36.53.9.89 1.59.89h15c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H7.07L2.4 12l4.66-7H22v14zm-11.59-2L14 13.41L17.59 17L19 15.59L15.41 12L19 8.41L17.59 7L14 10.59L10.41 7L9 8.41L12.59 12L9 15.59z"/></svg>';var ne='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M12 8.41L16.59 13L18 11.59l-6-6l-6 6L7.41 13L12 8.41zM6 18h12v-2H6v2z"/></svg>';var se='<svg xmlns="http://www.w3.org/2000/svg" id="mdi-keyboard-space" viewBox="0 0 24 24"><path d="M3 15H5V19H19V15H21V19C21 20.1 20.1 21 19 21H5C3.9 21 3 20.1 3 19V15Z" /></svg>';var ce='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M5 9l1.41 1.41L11 5.83V22h2V5.83l4.59 4.59L19 9l-7-7l-7 7z"/></svg>';var le='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M19 15l-1.41-1.41L13 18.17V2h-2v16.17l-4.59-4.59L5 15l7 7l7-7z"/></svg>';var de='<svg xmlns="http://www.w3.org/2000/svg" id="mdi-apple-keyboard-shift" viewBox="0 0 24 24"><path d="M15,18V12H17.17L12,6.83L6.83,12H9V18H15M12,4L22,14H17V20H7V14H2L12,4Z" /></svg>';var ve='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M8 11h3v10h2V11h3l-4-4l-4 4zM4 3v2h16V3H4z"/></svg>';var he='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M16 13h-3V3h-2v10H8l4 4l4-4zM4 19v2h16v-2H4z"/></svg>';var me=new Map;me.set("arrowdown",c);me.set("arrowleft",ae);me.set("arrowright",d);me.set("arrowup",l);me.set("command",re);me.set("commandleft",re);me.set("commandright",re);me.set("delete",oe);me.set("capslock",ne);me.set("backspace",oe);me.set("enter",$a);me.set("home",ve);me.set("end",he);me.set("option",ie);me.set("optionleft",ie);me.set("optionright",ie);me.set("pagedown",le);me.set("pageup",ce);me.set("shift",de);me.set("shiftleft",de);me.set("shiftright",de);me.set("space",se);me.set("tab",ee);me.set("windows",te);me.set("windowsleft",te);me.set("windowsright",te);var pe=function(){return'@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--mds-keyboard-key-illumination-dark-size:calc(var(--spacing,.0025rem)*150);--mds-keyboard-key-illumination-light-size:calc(var(--spacing,.0025rem)*50);--mds-keyboard-key-padding:calc(var(--spacing,.0025rem)*100);--mds-keyboard-key-transition-duration:.3s}}}@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-icon,mds-text):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}@property --mds-keyboard-key-transition-duration{syntax:"<time>";inherits:false;initial-value:.3s}:host{--mds-keyboard-key-illumination-dark-size:calc(var(--spacing,.0025rem)*150);--mds-keyboard-key-illumination-light-size:calc(var(--spacing,.0025rem)*50);--mds-keyboard-key-illumination-dark:0 calc(var(--mds-keyboard-key-illumination-dark-size,calc(var(--spacing,.0025rem) * 150)) * -1) 0 0 rgb(0 0 0/var(--mds-keyboard-key-illumination-dark-opacity,.05)) inset;--mds-keyboard-key-illumination-light:0 var(--mds-keyboard-key-illumination-light-size,calc(var(--spacing,.0025rem)*50)) 0 0 rgb(255 255 255/var(--mds-keyboard-key-illumination-light-opacity,.5)) inset;--mds-keyboard-key-padding:calc(var(--spacing,.0025rem)*100);--mds-keyboard-key-transition-duration:.3s;--icon-size:calc(var(--spacing,.0025rem)*600);--key-size-default:calc(var(--icon-size) + calc(var(--mds-keyboard-key-padding,calc(var(--spacing,.0025rem) * 100)) * 2) + var(--mds-keyboard-key-illumination-dark-size,calc(var(--spacing,.0025rem) * 150)) + var(--mds-keyboard-key-illumination-light-size,calc(var(--spacing,.0025rem) * 50)));--key-size-pressed:calc(var(--icon-size) + calc(var(--mds-keyboard-key-padding,calc(var(--spacing,.0025rem) * 100)) * 2) + calc(var(--mds-keyboard-key-illumination-light-size,calc(var(--spacing,.0025rem) * 50)) * 2));corner-shape:var(--magma-corner-shape,round);align-items:flex-end;display:inline-flex;min-height:var(--key-size-default);min-width:var(--key-size-default)}.physical-key{background-color:var(--mds-keyboard-key-background,rgb(var(--tone-bisque-08,121 103 97)));border-radius:var(--radius-lg,16px);-webkit-box-shadow:var(--mds-keyboard-key-illumination-light),var(--mds-keyboard-key-illumination-dark),var(--mds-keyboard-key-illumination-shadow);box-shadow:var(--mds-keyboard-key-illumination-light),var(--mds-keyboard-key-illumination-dark),var(--mds-keyboard-key-illumination-shadow);box-sizing:border-box;corner-shape:inherit;align-items:baseline;display:inline-flex;flex-grow:1;flex-shrink:0;height:var(--key-size-default);justify-content:center;min-width:calc(var(--spacing,.0025rem)*1000);padding:calc(var(--mds-keyboard-key-illumination-light-size,calc(var(--spacing,.0025rem) * 50)) + var(--mds-keyboard-key-padding,calc(var(--spacing,.0025rem) * 100))) var(--mds-keyboard-key-padding,calc(var(--spacing,.0025rem) * 100)) calc(var(--mds-keyboard-key-illumination-dark-size,calc(var(--spacing,.0025rem) * 150)) + var(--mds-keyboard-key-padding,calc(var(--spacing,.0025rem) * 100))) var(--mds-keyboard-key-padding,calc(var(--spacing,.0025rem) * 100));position:relative;text-align:center;-webkit-transition-duration:var(--mds-keyboard-key-transition-duration,.3s);transition-duration:var(--mds-keyboard-key-transition-duration,.3s);transition-property:box-shadow,padding,height;-webkit-transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1));transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1));-webkit-user-select:none;user-select:none}:host(:active) .physical-key,:host([pressed]:not([pressed=false])) .physical-key{--mds-keyboard-key-illumination-dark:0 calc(var(--mds-keyboard-key-illumination-light-size,calc(var(--spacing,.0025rem) * 50)) * -1) 0 0 rgb(0 0 0/var(--mds-keyboard-key-illumination-dark-opacity,.075)) inset;-webkit-box-shadow:var(--mds-keyboard-key-illumination-light),var(--mds-keyboard-key-illumination-dark),var(--mds-keyboard-key-illumination-shadow);box-shadow:var(--mds-keyboard-key-illumination-light),var(--mds-keyboard-key-illumination-dark),var(--mds-keyboard-key-illumination-shadow);height:var(--key-size-pressed);padding:calc(var(--mds-keyboard-key-illumination-light-size,calc(var(--spacing,.0025rem) * 50)) + var(--mds-keyboard-key-padding,calc(var(--spacing,.0025rem) * 100))) var(--mds-keyboard-key-padding,calc(var(--spacing,.0025rem) * 100)) calc(var(--mds-keyboard-key-illumination-light-size,calc(var(--spacing,.0025rem) * 50)) + var(--mds-keyboard-key-padding,calc(var(--spacing,.0025rem) * 100))) var(--mds-keyboard-key-padding,calc(var(--spacing,.0025rem) * 100))}:host([code=space]) .physical-key{min-width:calc(var(--key-size-default)*2)}mds-badge{background-color:#0000;color:currentColor;margin-left:calc(var(--spacing,.0025rem)*50);padding:0;white-space:nowrap}.shortcut-icon{fill:currentColor}.shortcut-text{color:currentColor;text-transform:capitalize;white-space:nowrap}'};var ge=a("mds_keyboard_key",function(){function a(a){var r=this;e(this,a);this.t=new n({el:V,en:ta,es:Sa,it:Xa});this.keyboardKeys=o;this.getTitle=function(){if(r.name!==undefined){return r.t.get(r.keyboardKeys[r.name.toLowerCase()].description,{character:r.keyboardKeys[r.name.toLowerCase()].alias,keyboardPosition:r.keyboardKeys[r.name.toLowerCase()].keyboardPosition})}return undefined}}a.prototype.updateLang=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(a){this.language=this.t.lang(this.host);return[2]}))}))};a.prototype.componentWillLoad=function(){this.t.lang(this.host)};a.prototype.render=function(){var a,e,t,o;return r(i,{key:"cb83531c55004919cc5c55d48053369d7d90c659",title:this.getTitle()},r("div",{key:"e096caf23accb54d1364d9c78bc6896d02fac267",class:"physical-key"},this.name&&me.has(this.name)?r("mds-icon",{name:(a=me.get(this.name))!==null&&a!==void 0?a:s,class:"shortcut-icon"}):r("mds-text",{class:"shortcut-text",typography:"detail"},this.name&&r("b",null,this.keyboardKeys[this.name].alias)),this.name&&((e=this.keyboardKeys[this.name])===null||e===void 0?void 0:e.keyboardPosition)&&r("mds-text",{key:"cf5210c595b02e51e32722d9ef7ed53d21a44045",typography:"label"},((t=this.keyboardKeys[this.name].keyboardPosition)===null||t===void 0?void 0:t.left)&&"l",((o=this.keyboardKeys[this.name].keyboardPosition)===null||o===void 0?void 0:o.right)&&"r")))};Object.defineProperty(a.prototype,"host",{get:function(){return t(this)},enumerable:false,configurable:true});return a}());ge.style=pe()}}}));
|
|
1
|
+
var __awaiter=this&&this.__awaiter||function(a,e,r,i){function t(a){return a instanceof r?a:new r((function(e){e(a)}))}return new(r||(r=Promise))((function(r,o){function n(a){try{c(i.next(a))}catch(a){o(a)}}function s(a){try{c(i["throw"](a))}catch(a){o(a)}}function c(a){a.done?r(a.value):t(a.value).then(n,s)}c((i=i.apply(a,e||[])).next())}))};var __generator=this&&this.__generator||function(a,e){var r={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},i,t,o,n=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return n.next=s(0),n["throw"]=s(1),n["return"]=s(2),typeof Symbol==="function"&&(n[Symbol.iterator]=function(){return this}),n;function s(a){return function(e){return c([a,e])}}function c(s){if(i)throw new TypeError("Generator is already executing.");while(n&&(n=0,s[0]&&(r=0)),r)try{if(i=1,t&&(o=s[0]&2?t["return"]:s[0]?t["throw"]||((o=t["return"])&&o.call(t),0):t.next)&&!(o=o.call(t,s[1])).done)return o;if(t=0,o)s=[s[0]&2,o.value];switch(s[0]){case 0:case 1:o=s;break;case 4:r.label++;return{value:s[1],done:false};case 5:r.label++;t=s[1];s=[0];continue;case 7:s=r.ops.pop();r.trys.pop();continue;default:if(!(o=r.trys,o=o.length>0&&o[o.length-1])&&(s[0]===6||s[0]===2)){r=0;continue}if(s[0]===3&&(!o||s[1]>o[0]&&s[1]<o[3])){r.label=s[1];break}if(s[0]===6&&r.label<o[1]){r.label=o[1];o=s;break}if(o&&r.label<o[2]){r.label=o[2];r.ops.push(s);break}if(o[2])r.ops.pop();r.trys.pop();continue}s=e.call(a,r)}catch(a){s=[6,a];t=0}finally{i=o=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};System.register(["./p-DI5DWqw4.system.js","./p-DUHwOT7z.system.js","./p-DcKeJ0td.system.js","./p-Y11niGnP.system.js","./p-C0tqOovl.system.js","./p-BcI1w9tp.system.js","./p-D-RexH7B.system.js"],(function(a){"use strict";var e,r,i,t,o,n,s,c,l,d;return{setters:[function(a){e=a.r;r=a.h;i=a.H;t=a.g},function(a){o=a.k},function(a){n=a.L},function(a){s=a.m},function(a){c=a.m},function(a){l=a.m},function(a){d=a.m}],execute:function(){var v="Αλφαβητικός χαρακτήρας {{ character }} που χρησιμοποιείται συνήθως για τη δημιουργία συντομεύσεων πληκτρολογίου";var h="Πλήκτρο λειτουργίας {{ character }} που χρησιμοποιείται συχνά για καθολικές λειτουργίες ανάλογα με το λειτουργικό σύστημα και την έκδοσή του";var m="Αριθμητικός χαρακτήρας {{ character }} που χρησιμοποιείται συνήθως για τη δημιουργία συντομεύσεων πληκτρολογίου";var p="Πλήκτρο τροποποίησης Alt{{#keyboardPosition}}{{#left}} αριστερό{{/left}}{{#right}} δεξιό{{/right}}{{/keyboardPosition}} (εναλλακτικό), που χρησιμοποιείται συχνά για συντομεύσεις συστήματος";var g="Πλήκτρο τροποποίησης Control ή Ctrl{{#keyboardPosition}}{{#left}} αριστερό{{/left}}{{#right}} δεξιό{{/right}}{{/keyboardPosition}}, που χρησιμοποιείται σε πολλές συντομεύσεις";var y="Πλήκτρο τροποποίησης Meta{{#keyboardPosition}}{{#left}} αριστερό{{/left}}{{#right}} δεξιό{{/right}}{{/keyboardPosition}}, πλήκτρο Windows ⊞ στα Windows ή Command ⌘ στο macOS";var k="Πλήκτρο τροποποίησης Shift{{#keyboardPosition}}{{#left}} αριστερό{{/left}}{{#right}} δεξιό{{/right}}{{/keyboardPosition}}, που χρησιμοποιείται για κεφαλαία γράμματα";var u="Πλήκτρο πλοήγησης Κάτω βέλος";var f="Πλήκτρο πλοήγησης Αριστερό βέλος";var b="Πλήκτρο πλοήγησης Δεξί βέλος";var w="Πλήκτρο πλοήγησης Πάνω βέλος";var z="Πλήκτρο πλοήγησης Μετάβαση στο τέλος";var x="Πλήκτρο πλοήγησης Μετάβαση στην αρχή";var T="Πλήκτρο πλοήγησης Κύλιση προς τα κάτω";var P="Πλήκτρο πλοήγησης Κύλιση προς τα πάνω";var C="Πλήκτρο Enter αριθμητικού πληκτρολογίου για επιβεβαίωση ενέργειας";var L="Ειδικό πλήκτρο Διαγραφή χαρακτήρα";var S="Ειδικό πλήκτρο Caps Lock (συνήθως αποφεύγεται στις συντομεύσεις πληκτρολογίου)";var H="Ειδικό πλήκτρο Διαγραφή επιλεγμένου στοιχείου";var M="Ειδικό πλήκτρο Enter για επιβεβαίωση ενέργειας";var A="Ειδικό πλήκτρο Έξοδος ή ακύρωση";var E="Ειδικό πλήκτρο Διάστημα";var B="Ειδικό πλήκτρο Tab για εναλλαγή εστίασης μεταξύ στοιχείων";var V={keyCharacter:v,keyFunction:h,keyNumber:m,modAlt:p,modControl:g,modMeta:y,modShift:k,navArrowDown:u,navArrowLeft:f,navArrowRight:b,navArrowUp:w,navEnd:z,navHome:x,navPageDown:T,navPageUp:P,numPadEnter:C,specBackspace:L,specCapsLock:S,specDelete:H,specEnter:M,specEscape:A,specSpace:E,specTab:B};var D="Alphabetic character {{ character }} typically used for composing keyboard shortcuts";var j="Function key {{ character }} often used for global functions depending on the operating system and its version";var F="Numeric character {{ character }} typically used for composing keyboard shortcuts";var N="Modifier key Alt{{#keyboardPosition}}{{#left}} left{{/left}}{{#right}} right{{/right}}{{/keyboardPosition}} (alternative), often used for system shortcuts";var U="Modifier key Control or Ctrl{{#keyboardPosition}}{{#left}} left{{/left}}{{#right}} right{{/right}}{{/keyboardPosition}}, used in many shortcuts";var _="Modifier key Meta{{#keyboardPosition}}{{#left}} left{{/left}}{{#right}} right{{/right}}{{/keyboardPosition}}, Windows ⊞ key on Windows or Command ⌘ on macOS";var q="Modifier key Shift{{#keyboardPosition}}{{#left}} left{{/left}}{{#right}} right{{/right}}{{/keyboardPosition}}, used for uppercase letters";var O="Navigation key Down Arrow";var I="Navigation key Left Arrow";var W="Navigation key Right Arrow";var R="Navigation key Up Arrow";var G="Navigation key Go to End";var K="Navigation key Go to Home";var Z="Navigation key Scroll Down";var J="Navigation key Scroll Up";var Y="Keypad Enter key to confirm an action";var Q="Special key Delete character";var X="Special key Caps Lock (generally avoided in keyboard shortcuts)";var $="Special key Delete selected item";var aa="Special key Enter to confirm an action";var ea="Special key Exit or cancel";var ra="Special key Space bar";var ia="Special key Tab to change focus between elements";var ta={keyCharacter:D,keyFunction:j,keyNumber:F,modAlt:N,modControl:U,modMeta:_,modShift:q,navArrowDown:O,navArrowLeft:I,navArrowRight:W,navArrowUp:R,navEnd:G,navHome:K,navPageDown:Z,navPageUp:J,numPadEnter:Y,specBackspace:Q,specCapsLock:X,specDelete:$,specEnter:aa,specEscape:ea,specSpace:ra,specTab:ia};var oa="Carácter alfabético {{ character }} típicamente usado para componer atajos de teclado";var na="Tecla de función {{ character }} a menudo utilizada para funciones globales según el sistema operativo y su versión";var sa="Carácter numérico {{ character }} típicamente usado para componer atajos de teclado";var ca="Tecla modificadora Alt{{#keyboardPosition}}{{#left}} izquierda{{/left}}{{#right}} derecha{{/right}}{{/keyboardPosition}} (alternativa), a menudo usada para atajos de sistema";var la="Tecla modificadora Control o Ctrl{{#keyboardPosition}}{{#left}} izquierda{{/left}}{{#right}} derecha{{/right}}{{/keyboardPosition}}, utilizada en muchos atajos";var da="Tecla modificadora Meta{{#keyboardPosition}}{{#left}} izquierda{{/left}}{{#right}} derecha{{/right}}{{/keyboardPosition}}, tecla Windows ⊞ en Windows o Command ⌘ en macOS";var va="Tecla modificadora Shift{{#keyboardPosition}}{{#left}} izquierda{{/left}}{{#right}} derecha{{/right}}{{/keyboardPosition}}, utilizada para letras mayúsculas";var ha="Tecla de navegación Flecha abajo";var ma="Tecla de navegación Flecha izquierda";var pa="Tecla de navegación Flecha derecha";var ga="Tecla de navegación Flecha arriba";var ya="Tecla de navegación Ir al final";var ka="Tecla de navegación Ir al inicio";var ua="Tecla de navegación Desplazar hacia abajo";var fa="Tecla de navegación Desplazar hacia arriba";var ba="Tecla Enter del teclado numérico para confirmar una acción";var wa="Tecla especial Borrar carácter";var za="Tecla especial Bloq Mayús (generalmente evitada en atajos de teclado)";var xa="Tecla especial Eliminar elemento seleccionado";var Ta="Tecla especial Enter para confirmar una acción";var Pa="Tecla especial Salir o cancelar";var Ca="Tecla especial Barra espaciadora";var La="Tecla especial Tab para cambiar el foco entre elementos";var Sa={keyCharacter:oa,keyFunction:na,keyNumber:sa,modAlt:ca,modControl:la,modMeta:da,modShift:va,navArrowDown:ha,navArrowLeft:ma,navArrowRight:pa,navArrowUp:ga,navEnd:ya,navHome:ka,navPageDown:ua,navPageUp:fa,numPadEnter:ba,specBackspace:wa,specCapsLock:za,specDelete:xa,specEnter:Ta,specEscape:Pa,specSpace:Ca,specTab:La};var Ha="Carattere alfabetico {{ character }} tipicamente usato per comporre le scorciatoie da tastiera";var Ma="Tasto funzione {{ character }} spesso usato per funzioni globali a seconda del sistema operativo e della sua versione";var Aa="Carattere numerico {{ character }} tipicamente usato per comporre le scorciatoie da tastiera";var Ea="Tasto modificatore Alt{{#keyboardPosition}}{{#left}} sinistro{{/left}}{{#right}} destro{{/right}}{{/keyboardPosition}} (alternativo), spesso usato per shortcut di sistema";var Ba="Tasto modificatore Control o Ctrl{{#keyboardPosition}}{{#left}} sinistro{{/left}}{{#right}} destro{{/right}}{{/keyboardPosition}}, usato in molte scorciatoie";var Va="Tasto modificatore meta{{#keyboardPosition}}{{#left}} sinistro{{/left}}{{#right}} destro{{/right}}{{/keyboardPosition}}, Finestra ⊞ su Windows o Command ⌘ su macOS";var Da="Tasto modificatore Shift{{#keyboardPosition}}{{#left}} sinistro{{/left}}{{#right}} destro{{/right}}{{/keyboardPosition}}, usato per maiuscole";var ja="Tasto navigazione Freccia giù";var Fa="Tasto navigazione Freccia sinistra";var Na="Tasto navigazione Freccia destra";var Ua="Tasto navigazione Freccia su";var _a="Tasto navigazione Vai alla fine";var qa="Tasto navigazione Vai all'inizio";var Oa="Tasto navigazione Scorri in giù";var Ia="Tasto navigazione Scorri in su";var Wa="Tasto Invio per confermare una azione dal tastierino numerico";var Ra="Tasto speciale Cancella carattere";var Ga="Tasto speciale Blocco maiuscole (generalmente evitato nelle scorciatoie da tastiera)";var Ka="Tasto speciale Cancella elemento selezionato";var Za="Tasto speciale Invio per confermare una azione";var Ja="Tasto speciale Esci o annulla";var Ya="Tasto speciale Barra spaziatrice";var Qa="Tasto speciale Tab per cambiare focus tra elementi";var Xa={keyCharacter:Ha,keyFunction:Ma,keyNumber:Aa,modAlt:Ea,modControl:Ba,modMeta:Va,modShift:Da,navArrowDown:ja,navArrowLeft:Fa,navArrowRight:Na,navArrowUp:Ua,navEnd:_a,navHome:qa,navPageDown:Oa,navPageUp:Ia,numPadEnter:Wa,specBackspace:Ra,specCapsLock:Ga,specDelete:Ka,specEnter:Za,specEscape:Ja,specSpace:Ya,specTab:Qa};var $a='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M19 7v4H5.83l3.58-3.59L8 6l-6 6l6 6l1.41-1.41L5.83 13H21V7z"/></svg>';var ae='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M15.41 16.59L10.83 12l4.58-4.59L14 6l-6 6l6 6l1.41-1.41z"/></svg>';var ee='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M11.59 7.41L15.17 11H1v2h14.17l-3.59 3.59L13 18l6-6l-6-6l-1.41 1.41zM20 6v12h2V6h-2z"/></svg>';var re='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M17.5 3C15.57 3 14 4.57 14 6.5V8h-4V6.5C10 4.57 8.43 3 6.5 3S3 4.57 3 6.5S4.57 10 6.5 10H8v4H6.5C4.57 14 3 15.57 3 17.5S4.57 21 6.5 21s3.5-1.57 3.5-3.5V16h4v1.5c0 1.93 1.57 3.5 3.5 3.5s3.5-1.57 3.5-3.5s-1.57-3.5-3.5-3.5H16v-4h1.5c1.93 0 3.5-1.57 3.5-3.5S19.43 3 17.5 3zM16 8V6.5c0-.83.67-1.5 1.5-1.5s1.5.67 1.5 1.5S18.33 8 17.5 8H16zM6.5 8C5.67 8 5 7.33 5 6.5S5.67 5 6.5 5S8 5.67 8 6.5V8H6.5zm3.5 6v-4h4v4h-4zm7.5 5c-.83 0-1.5-.67-1.5-1.5V16h1.5c.83 0 1.5.67 1.5 1.5s-.67 1.5-1.5 1.5zm-11 0c-.83 0-1.5-.67-1.5-1.5S5.67 16 6.5 16H8v1.5c0 .83-.67 1.5-1.5 1.5z"/></svg>';var ie='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M15 5h6v2h-6zM9 5H3v2h4.85l6.92 12H21v-2h-5.07z"/></svg>';var te='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M3 3h8v8H3zm10 0h8v8h-8zM3 13h8v8H3zm10 0h8v8h-8z"/></svg>';var oe='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M22 3H7c-.69 0-1.23.35-1.59.88L0 12l5.41 8.11c.36.53.9.89 1.59.89h15c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H7.07L2.4 12l4.66-7H22v14zm-11.59-2L14 13.41L17.59 17L19 15.59L15.41 12L19 8.41L17.59 7L14 10.59L10.41 7L9 8.41L12.59 12L9 15.59z"/></svg>';var ne='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M12 8.41L16.59 13L18 11.59l-6-6l-6 6L7.41 13L12 8.41zM6 18h12v-2H6v2z"/></svg>';var se='<svg xmlns="http://www.w3.org/2000/svg" id="mdi-keyboard-space" viewBox="0 0 24 24"><path d="M3 15H5V19H19V15H21V19C21 20.1 20.1 21 19 21H5C3.9 21 3 20.1 3 19V15Z" /></svg>';var ce='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M5 9l1.41 1.41L11 5.83V22h2V5.83l4.59 4.59L19 9l-7-7l-7 7z"/></svg>';var le='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M19 15l-1.41-1.41L13 18.17V2h-2v16.17l-4.59-4.59L5 15l7 7l7-7z"/></svg>';var de='<svg xmlns="http://www.w3.org/2000/svg" id="mdi-apple-keyboard-shift" viewBox="0 0 24 24"><path d="M15,18V12H17.17L12,6.83L6.83,12H9V18H15M12,4L22,14H17V20H7V14H2L12,4Z" /></svg>';var ve='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M8 11h3v10h2V11h3l-4-4l-4 4zM4 3v2h16V3H4z"/></svg>';var he='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M16 13h-3V3h-2v10H8l4 4l4-4zM4 19v2h16v-2H4z"/></svg>';var me=new Map;me.set("arrowdown",c);me.set("arrowleft",ae);me.set("arrowright",d);me.set("arrowup",l);me.set("command",re);me.set("commandleft",re);me.set("commandright",re);me.set("delete",oe);me.set("capslock",ne);me.set("backspace",oe);me.set("enter",$a);me.set("home",ve);me.set("end",he);me.set("option",ie);me.set("optionleft",ie);me.set("optionright",ie);me.set("pagedown",le);me.set("pageup",ce);me.set("shift",de);me.set("shiftleft",de);me.set("shiftright",de);me.set("space",se);me.set("tab",ee);me.set("windows",te);me.set("windowsleft",te);me.set("windowsright",te);var pe=function(){return'@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--mds-keyboard-key-illumination-dark-size:calc(var(--spacing,.0025rem)*150);--mds-keyboard-key-illumination-light-size:calc(var(--spacing,.0025rem)*50);--mds-keyboard-key-padding:calc(var(--spacing,.0025rem)*100);--mds-keyboard-key-transition-duration:.3s}}}:host(:not(:is([hydrated],.hydrated))),:is(mds-icon,mds-text):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}@property --mds-keyboard-key-transition-duration{syntax:"<time>";inherits:false;initial-value:.3s}:host{--mds-keyboard-key-illumination-dark-size:calc(var(--spacing,.0025rem)*150);--mds-keyboard-key-illumination-light-size:calc(var(--spacing,.0025rem)*50);--mds-keyboard-key-illumination-dark:0 calc(var(--mds-keyboard-key-illumination-dark-size,calc(var(--spacing,.0025rem) * 150)) * -1) 0 0 rgb(0 0 0/var(--mds-keyboard-key-illumination-dark-opacity,.05)) inset;--mds-keyboard-key-illumination-light:0 var(--mds-keyboard-key-illumination-light-size,calc(var(--spacing,.0025rem)*50)) 0 0 rgb(255 255 255/var(--mds-keyboard-key-illumination-light-opacity,.5)) inset;--mds-keyboard-key-padding:calc(var(--spacing,.0025rem)*100);--mds-keyboard-key-transition-duration:.3s;--icon-size:calc(var(--spacing,.0025rem)*600);--key-size-default:calc(var(--icon-size) + calc(var(--mds-keyboard-key-padding,calc(var(--spacing,.0025rem) * 100)) * 2) + var(--mds-keyboard-key-illumination-dark-size,calc(var(--spacing,.0025rem) * 150)) + var(--mds-keyboard-key-illumination-light-size,calc(var(--spacing,.0025rem) * 50)));--key-size-pressed:calc(var(--icon-size) + calc(var(--mds-keyboard-key-padding,calc(var(--spacing,.0025rem) * 100)) * 2) + calc(var(--mds-keyboard-key-illumination-light-size,calc(var(--spacing,.0025rem) * 50)) * 2));corner-shape:var(--magma-corner-shape,round);align-items:flex-end;display:inline-flex;min-height:var(--key-size-default);min-width:var(--key-size-default)}.physical-key{background-color:var(--mds-keyboard-key-background,rgb(var(--tone-bisque-08,121 103 97)));border-radius:var(--radius-lg,16px);-webkit-box-shadow:var(--mds-keyboard-key-illumination-light),var(--mds-keyboard-key-illumination-dark),var(--mds-keyboard-key-illumination-shadow);box-shadow:var(--mds-keyboard-key-illumination-light),var(--mds-keyboard-key-illumination-dark),var(--mds-keyboard-key-illumination-shadow);box-sizing:border-box;corner-shape:inherit;align-items:baseline;display:inline-flex;flex-grow:1;flex-shrink:0;height:var(--key-size-default);justify-content:center;min-width:calc(var(--spacing,.0025rem)*1000);padding:calc(var(--mds-keyboard-key-illumination-light-size,calc(var(--spacing,.0025rem) * 50)) + var(--mds-keyboard-key-padding,calc(var(--spacing,.0025rem) * 100))) var(--mds-keyboard-key-padding,calc(var(--spacing,.0025rem) * 100)) calc(var(--mds-keyboard-key-illumination-dark-size,calc(var(--spacing,.0025rem) * 150)) + var(--mds-keyboard-key-padding,calc(var(--spacing,.0025rem) * 100))) var(--mds-keyboard-key-padding,calc(var(--spacing,.0025rem) * 100));position:relative;text-align:center;-webkit-transition-duration:var(--mds-keyboard-key-transition-duration,.3s);transition-duration:var(--mds-keyboard-key-transition-duration,.3s);transition-property:box-shadow,padding,height;-webkit-transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1));transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1));-webkit-user-select:none;user-select:none}:host(:active) .physical-key,:host([pressed]:not([pressed=false])) .physical-key{--mds-keyboard-key-illumination-dark:0 calc(var(--mds-keyboard-key-illumination-light-size,calc(var(--spacing,.0025rem) * 50)) * -1) 0 0 rgb(0 0 0/var(--mds-keyboard-key-illumination-dark-opacity,.075)) inset;-webkit-box-shadow:var(--mds-keyboard-key-illumination-light),var(--mds-keyboard-key-illumination-dark),var(--mds-keyboard-key-illumination-shadow);box-shadow:var(--mds-keyboard-key-illumination-light),var(--mds-keyboard-key-illumination-dark),var(--mds-keyboard-key-illumination-shadow);height:var(--key-size-pressed);padding:calc(var(--mds-keyboard-key-illumination-light-size,calc(var(--spacing,.0025rem) * 50)) + var(--mds-keyboard-key-padding,calc(var(--spacing,.0025rem) * 100))) var(--mds-keyboard-key-padding,calc(var(--spacing,.0025rem) * 100)) calc(var(--mds-keyboard-key-illumination-light-size,calc(var(--spacing,.0025rem) * 50)) + var(--mds-keyboard-key-padding,calc(var(--spacing,.0025rem) * 100))) var(--mds-keyboard-key-padding,calc(var(--spacing,.0025rem) * 100))}:host([code=space]) .physical-key{min-width:calc(var(--key-size-default)*2)}mds-badge{background-color:#0000;color:currentColor;margin-left:calc(var(--spacing,.0025rem)*50);padding:0;white-space:nowrap}.shortcut-icon{fill:currentColor}.shortcut-text{color:currentColor;text-transform:capitalize;white-space:nowrap}'};var ge=a("mds_keyboard_key",function(){function a(a){var r=this;e(this,a);this.t=new n({el:V,en:ta,es:Sa,it:Xa});this.keyboardKeys=o;this.getTitle=function(){if(r.name!==undefined){return r.t.get(r.keyboardKeys[r.name.toLowerCase()].description,{character:r.keyboardKeys[r.name.toLowerCase()].alias,keyboardPosition:r.keyboardKeys[r.name.toLowerCase()].keyboardPosition})}return undefined}}a.prototype.updateLang=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(a){this.language=this.t.lang(this.host);return[2]}))}))};a.prototype.componentWillLoad=function(){this.t.lang(this.host)};a.prototype.render=function(){var a,e,t,o;return r(i,{key:"cb83531c55004919cc5c55d48053369d7d90c659",title:this.getTitle()},r("div",{key:"e096caf23accb54d1364d9c78bc6896d02fac267",class:"physical-key"},this.name&&me.has(this.name)?r("mds-icon",{name:(a=me.get(this.name))!==null&&a!==void 0?a:s,class:"shortcut-icon"}):r("mds-text",{class:"shortcut-text",typography:"detail"},this.name&&r("b",null,this.keyboardKeys[this.name].alias)),this.name&&((e=this.keyboardKeys[this.name])===null||e===void 0?void 0:e.keyboardPosition)&&r("mds-text",{key:"cf5210c595b02e51e32722d9ef7ed53d21a44045",typography:"label"},((t=this.keyboardKeys[this.name].keyboardPosition)===null||t===void 0?void 0:t.left)&&"l",((o=this.keyboardKeys[this.name].keyboardPosition)===null||o===void 0?void 0:o.right)&&"r")))};Object.defineProperty(a.prototype,"host",{get:function(){return t(this)},enumerable:false,configurable:true});return a}());ge.style=pe()}}}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
System.register(["./p-DI5DWqw4.system.js","./p-_X0N_X__.system.js","./p-DssKRrAV.system.js","./p-Qrub-hmK.system.js"],(function(t){"use strict";var o,a,r,s,i,n,e,d;return{setters:[function(t){o=t.r;a=t.c;r=t.h;s=t.H;i=t.g},function(t){n=t.c},function(t){e=t.s},function(t){d=t.c}],execute:function(){var c=function(){return'@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--mds-toast-background:rgb(var(--tone-neutral-02,244 244 244));--mds-toast-color:rgb(var(--tone-neutral,0 0 0));--mds-toast-duration:.3s;--mds-toast-icon-color:rgb(var(--tone-neutral,0 0 0));--mds-toast-width:auto;--tw-ease:initial}}}:host(:not(:is([hydrated],.hydrated))),mds-text:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}@property --mds-toast-duration{syntax:"<time>";inherits:false;initial-value:.3s}@property --mds-toast-width{syntax:"<length>|auto";inherits:false;initial-value:auto}:host{--mds-toast-background:rgb(var(--tone-neutral-02,244 244 244));--mds-toast-color:rgb(var(--tone-neutral,0 0 0));--mds-toast-duration:.3s;--mds-toast-icon-color:rgb(var(--tone-neutral,0 0 0));--mds-toast-shadow:var(--shadow-xl,0 20px 25px -5px #0000001a,0 8px 10px -6px #0000001a);--mds-toast-width:auto;--private-toast-transition-duration:var(--mds-toast-duration,.3s);--private-toast-transition-duration-intro:var(--duration-500,.5s);--private-toast-transition-duration-icon:var(--duration-200,.2s);color:var(--mds-toast-color,rgb(var(--tone-neutral,0 0 0)));display:flex;left:0;pointer-events:none;position:fixed;right:0}.dialog{--tw-ease:var(--ease-in-cubic,cubic-bezier(.55,.055,.675,.19));align-items:center;background-color:var(--mds-toast-background,rgb(var(--tone-neutral-02,244 244 244)));border-radius:var(--radius-xl,20px);-webkit-box-shadow:var(--mds-toast-shadow);box-shadow:var(--mds-toast-shadow);display:inline-flex;gap:calc(var(--spacing,.0025rem)*400);margin-inline:calc(var(--spacing,.0025rem)*400);max-width:100%;padding:calc(var(--spacing,.0025rem)*400);pointer-events:none;-webkit-transition-duration:var(--private-toast-transition-duration);transition-duration:var(--private-toast-transition-duration);transition-property:box-shadow,background-color,color,transform;transition-timing-function:var(--ease-in-cubic,cubic-bezier(.55,.055,.675,.19));width:var(--mds-toast-width,auto)}:host([visible]:not([visible=false])) .dialog{pointer-events:auto}:host([position^=top]){top:0}:host([position=top-left]){justify-content:flex-start}:host([position=top-center]){justify-content:center}:host([position=top-right]){justify-content:flex-end}:host([position^=bottom]){bottom:0}:host([position=bottom-left]){justify-content:flex-start}:host([position=bottom-center]){justify-content:center}:host([position=bottom-right]){justify-content:flex-end}.actions{display:flex;gap:calc(var(--spacing,.0025rem)*200)}::slotted([slot=icon]){--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1));fill:var(--mds-toast-icon-color,rgb(var(--tone-neutral,0 0 0)));flex-shrink:0;-webkit-transition-duration:var(--private-toast-transition-duration-icon);transition-duration:var(--private-toast-transition-duration-icon);transition-property:fill;transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1))}:host([variant=dark]),:host([variant=dark][tone=strong]){--mds-toast-background:rgb(var(--tone-neutral-02,244 244 244));--mds-toast-color:rgb(var(--tone-neutral-09,76 76 76));--mds-toast-shadow:var(--shadow-lg-sharp,0 0 1px 1px #0000000f,0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d);--mds-toast-icon-color:rgb(var(--tone-neutral-09,76 76 76))}:host([variant=dark][tone=weak]){--mds-toast-background:rgb(var(--tone-neutral-03,233 233 233));--mds-toast-color:rgb(var(--tone-neutral-10,60 60 60));--mds-toast-shadow:var(--shadow-sm-sharp,0 0 1px 1px #0000000f,0 1px 3px 0 #0000001a);--mds-toast-icon-color:rgb(var(--tone-neutral-08,107 107 107))}:host([variant=error]),:host([variant=error][tone=strong]){--mds-toast-background:rgb(var(--status-error-09,135 0 14));--mds-toast-color:rgb(var(--status-error-02,255 234 231));--mds-toast-shadow:var(--shadow-lg-sharp,0 0 1px 1px #0000000f,0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d);--mds-toast-icon-color:rgb(var(--status-error-05,250 165 160))}:host([variant=error][tone=weak]){--mds-toast-background:rgb(var(--status-error-10,115 0 0));--mds-toast-color:rgb(var(--status-error-03,255 217 214));--mds-toast-shadow:var(--shadow-sm-sharp,0 0 1px 1px #0000000f,0 1px 3px 0 #0000001a);--mds-toast-icon-color:rgb(var(--status-error-06,239 108 105))}:host([variant=info]),:host([variant=info][tone=strong]){--mds-toast-background:rgb(var(--status-info-09,0 73 116));--mds-toast-color:rgb(var(--status-info-02,222 242 250));--mds-toast-shadow:var(--shadow-lg-sharp,0 0 1px 1px #0000000f,0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d);--mds-toast-icon-color:rgb(var(--status-info-05,112 198 234))}:host([variant=info][tone=weak]){--mds-toast-background:rgb(var(--status-info-10,0 61 103));--mds-toast-color:rgb(var(--status-info-03,198 231 247));--mds-toast-shadow:var(--shadow-sm-sharp,0 0 1px 1px #0000000f,0 1px 3px 0 #0000001a);--mds-toast-icon-color:rgb(var(--status-info-06,0 161 208))}:host([variant=light]),:host([variant=light][tone=strong]){--mds-toast-background:rgb(var(--tone-neutral,0 0 0));--mds-toast-color:rgb(var(--tone-neutral-02,244 244 244));--mds-toast-shadow:var(--shadow-lg-sharp,0 0 1px 1px #0000000f,0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d);--mds-toast-icon-color:rgb(var(--tone-neutral-03,233 233 233))}:host([variant=light][tone=weak]){--mds-toast-background:rgb(var(--tone-neutral,0 0 0));--mds-toast-color:rgb(var(--tone-neutral-02,244 244 244));--mds-toast-shadow:var(--shadow-sm-sharp,0 0 1px 1px #0000000f,0 1px 3px 0 #0000001a);--mds-toast-icon-color:rgb(var(--tone-neutral-04,218 218 218))}:host([variant=success]),:host([variant=success][tone=strong]){--mds-toast-background:rgb(var(--status-success-09,0 82 9));--mds-toast-color:rgb(var(--status-success-02,222 244 228));--mds-toast-shadow:var(--shadow-lg-sharp,0 0 1px 1px #0000000f,0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d);--mds-toast-icon-color:rgb(var(--status-success-05,107 206 147))}:host([variant=success][tone=weak]){--mds-toast-background:rgb(var(--status-success-10,0 69 0));--mds-toast-color:rgb(var(--status-success-03,196 235 209));--mds-toast-shadow:var(--shadow-sm-sharp,0 0 1px 1px #0000000f,0 1px 3px 0 #0000001a);--mds-toast-icon-color:rgb(var(--status-success-06,0 171 97))}:host([variant=warning]),:host([variant=warning][tone=strong]){--mds-toast-background:rgb(var(--status-warning-09,90 67 0));--mds-toast-color:rgb(var(--status-warning-02,255 237 185));--mds-toast-shadow:var(--shadow-lg-sharp,0 0 1px 1px #0000000f,0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d);--mds-toast-icon-color:rgb(var(--status-warning-05,237 177 0))}:host([variant=warning][tone=weak]){--mds-toast-background:rgb(var(--status-warning-10,77 57 0));--mds-toast-color:rgb(var(--status-warning-03,255 223 129));--mds-toast-shadow:var(--shadow-sm-sharp,0 0 1px 1px #0000000f,0 1px 3px 0 #0000001a);--mds-toast-icon-color:rgb(var(--status-warning-06,190 142 0))}.to-top-center,.to-top-left,.to-top-right{transform:translateY(calc(-1 * calc(var(--spacing,.0025rem) * full) - calc(var(--spacing,.0025rem) * 400)));--tw-ease:var(--ease-in-cubic,cubic-bezier(.55,.055,.675,.19));transition-duration:var(--private-toast-transition-duration,var(--mds-toast-duration,.3s));transition-property:background-color,border-color,box-shadow,color,fill,height,margin,opacity,padding,transform,width;transition-timing-function:var(--ease-in-cubic,cubic-bezier(.55,.055,.675,.19))}.to-top-center.dialog--visible,.to-top-left.dialog--visible,.to-top-right.dialog--visible{transform:translateY(calc(var(--spacing,.0025rem)*400));--tw-ease:var(--ease-in-out-expo,cubic-bezier(1,0,0,1));transition-duration:var(--private-toast-transition-duration-intro,var(--duration-500));transition-property:background-color,border-color,box-shadow,color,fill,height,margin,opacity,padding,transform,width;transition-timing-function:var(--ease-in-out-expo,cubic-bezier(1,0,0,1))}.to-bottom-center,.to-bottom-left,.to-bottom-right{transform:translateY(calc(calc(var(--spacing,.0025rem) * full) + calc(var(--spacing,.0025rem) * 200)));--tw-ease:var(--ease-in-cubic,cubic-bezier(.55,.055,.675,.19));transition-duration:var(--private-toast-transition-duration,var(--mds-toast-duration,.3s));transition-property:background-color,border-color,box-shadow,color,fill,height,margin,opacity,padding,transform,width;transition-timing-function:var(--ease-in-cubic,cubic-bezier(.55,.055,.675,.19))}.to-bottom-center.dialog--visible,.to-bottom-left.dialog--visible,.to-bottom-right.dialog--visible{transform:translateY(calc(var(--spacing,.0025rem)*400*-1));--tw-ease:var(--ease-in-out-expo,cubic-bezier(1,0,0,1));transition-duration:var(--private-toast-transition-duration-intro,var(--duration-500));transition-property:background-color,border-color,box-shadow,color,fill,height,margin,opacity,padding,transform,width;transition-timing-function:var(--ease-in-out-expo,cubic-bezier(1,0,0,1))}:host([pref-animation=reduce]){--private-toast-transition-duration:0s;--private-toast-transition-duration-intro:0s;--private-toast-transition-duration-icon:0s}:host([pref-theme=dark]:not([pref-theme-scheme=light])){--mds-toast-shadow:var(--shadow-outline)!important}:host([pref-contrast=more]){--mds-toast-shadow:var(--shadow-outline-strong-50)!important}@property --tw-ease{syntax:"*";inherits:false}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host([pref-animation=system]){--private-toast-transition-duration:0s;--private-toast-transition-duration-intro:0s;--private-toast-transition-duration-icon:0s}}@media (prefers-color-scheme:dark){:host(:not([pref-theme])),:host([pref-theme=system]:not([pref-theme-scheme=light])){--mds-toast-shadow:var(--shadow-outline)!important}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){--mds-toast-shadow:var(--shadow-outline-strong-50)!important}}'};var u=t("mds_toast",function(){function t(t){var r=this;o(this,t);this.closedEvent=a(this,"mdsToastClose");this.cssDismissAnimationDuration=300;this.duration=5e3;this.variant="light";this.tone="strong";this.position="bottom-center";this.reloadTimeListeners=function(t){if(typeof window==="undefined")return;if(r.duration===undefined||r.duration===0||Number.isNaN(r.duration)){return}if(!t){return}r.removeTimeListener();r.addTimeListener()};this.removeTimeListener=function(){window.clearInterval(r.timer);r.timer=0};this.addTimeListener=function(){r.timer=window.setInterval((function(){r.visible=false;r.timerToastDismiss=window.setInterval((function(){r.closedEvent.emit();window.clearInterval(r.timerToastDismiss);r.timerToastDismiss=0}),r.cssDismissAnimationDuration)}),r.duration)}}t.prototype.updateCSSCustomProps=function(){if(typeof window==="undefined")return;var t=window.getComputedStyle(this.hostElement);this.cssDismissAnimationDuration=n(t.getPropertyValue("--mds-tab-duration"))};t.prototype.connectedCallback=function(){var t=this;this.unsubscribePrefAnimation=e("animation",(function(o){t.prefAnimation=o}));this.unsubscribePrefContrast=e("contrast",(function(o){t.prefContrast=o}));this.unsubscribePrefTheme=e("theme",(function(o){t.prefTheme=o}));this.unsubscribePrefThemeScheme=e("theme-scheme",(function(o){t.prefThemeScheme=o}))};t.prototype.disconnectedCallback=function(){var t,o,a,r;(t=this.unsubscribePrefAnimation)===null||t===void 0?void 0:t.call(this);(o=this.unsubscribePrefContrast)===null||o===void 0?void 0:o.call(this);(a=this.unsubscribePrefTheme)===null||a===void 0?void 0:a.call(this);(r=this.unsubscribePrefThemeScheme)===null||r===void 0?void 0:r.call(this)};t.prototype.componentWillLoad=function(){this.hasText=this.hostElement.innerHTML!=="";this.actions=this.hostElement.querySelector(':scope > [slot="action"]')!==null;if(this.duration===undefined||this.duration===0||Number.isNaN(this.duration)){return}if(this.visible){this.addTimeListener()}};t.prototype.componentDidLoad=function(){this.updateCSSCustomProps()};t.prototype.visibleChanged=function(t){this.reloadTimeListeners(t)};t.prototype.durationChanged=function(){this.reloadTimeListeners(!!this.visible)};t.prototype.render=function(){return r(s,{key:"46d107363c17135813a545047e6ae735f7dcefa6","pref-animation":this.prefAnimation,"pref-contrast":this.prefContrast,"pref-theme":this.prefTheme,"pref-theme-scheme":this.prefThemeScheme},r("div",{key:"eb0d5703757687387438435fc931b62b1bc913e5",class:d("dialog",this.position&&"to-".concat(this.position),this.visible&&"dialog--visible")},r("slot",{key:"27ead3c153f71fa6b6505f6b90cbd612a6ad5ea9",name:"icon"}),this.hasText&&r("mds-text",{key:"270d5019769748ab6cbe60f0621884cd5c793e10",typography:"caption"},r("slot",{key:"14be34434c9d2a6c51cf2d2511bbfd721900f386"})),this.actions&&r("div",{key:"d84eb829e6934b2a10ffc01e4d450f83d02388a9",class:"actions"},r("slot",{key:"b1a7fd63b939a511f8ef5f793d5f98cd12ad27d3",name:"action"}))))};Object.defineProperty(t.prototype,"hostElement",{get:function(){return i(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{visible:[{visibleChanged:0}],duration:[{durationChanged:0}]}},enumerable:false,configurable:true});return t}());u.style=c()}}}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as i,c as t,h as s,H as a,g as o}from"./p-CAd5312P.js";import{a as e,c as n}from"./p-D8eZRaSQ.js";import{s as r}from"./p-fMwnXhio.js";const d=class{constructor(s){i(this,s),this.changedEvent=t(this,"mdsPushNotificationChange"),this.shownEvent=t(this,"mdsPushNotificationShow"),this.hiddenEvent=t(this,"mdsPushNotificationHide"),this.behavior="auto",this.introItem=i=>(i.style.marginBottom=`-${i.offsetHeight+e(this.cssItemsGap)}px`,new Promise((t=>{setTimeout((()=>{i.style.marginBottom=`-${i.offsetHeight+e(this.cssItemsGap)}px`,setTimeout((()=>{i.style.visibility="visible",i.style.position="relative",i.style.transform="translate(0, 0)",i.style.marginBottom="0px",t()}),n(this.cssItemsIntroDuration))}),15)}))),this.outroItem=i=>(this.slotNotifications.assignedNodes().length<=1&&this.hide(),i.style.marginBottom="0px",new Promise((t=>{setTimeout((()=>{i.style.marginBottom="0px",setTimeout((()=>{i.addEventListener("transitionend",(()=>{i.remove()})),i.style.removeProperty("transform"),i.style.marginBottom=`-${i.offsetHeight+e(this.cssItemsGap)}px`,t()}),n(this.cssItemsOutroDuration))}),15)}))),this.handleSlotChange=()=>{const i=this.slotNotifications.assignedElements().map((i=>i)).filter((i=>""===i.style.visibility));0!==i.length&&(i.forEach((async i=>{i.addEventListener("mdsPushNotificationItemClose",(()=>this.outroItem(i))),await this.introItem(i)})),"auto"===this.behavior&&this.show())},this.updateCSSCustomProps=()=>{var i,t,s;const a=window.getComputedStyle(this.host);this.cssItemsGap=null!==(i=a.getPropertyValue("--mds-push-notification-items-gap"))&&void 0!==i?i:"0.5rem",this.cssItemsIntroDuration=null!==(t=a.getPropertyValue("--mds-push-notification-items-intro-delay"))&&void 0!==t?t:"200ms",this.cssItemsOutroDuration=null!==(s=a.getPropertyValue("--mds-push-notification-items-outro-delay"))&&void 0!==s?s:"0ms"},this.clear=()=>{this.slotNotifications.assignedElements().forEach((i=>this.outroItem(i))),this.hide()}}show(){return this.visible=!0,Promise.resolve()}hide(){return this.visible=void 0,Promise.resolve()}removeNotification(i){return Array.isArray(i)?i.forEach(this.outroItem):this.outroItem(i),Promise.resolve()}connectedCallback(){this.unsubscribePrefTheme=r("theme",(i=>{this.prefTheme=i})),this.unsubscribePrefThemeScheme=r("theme-scheme",(i=>{this.prefThemeScheme=i}))}disconnectedCallback(){var i,t;null===(i=this.unsubscribePrefTheme)||void 0===i||i.call(this),null===(t=this.unsubscribePrefThemeScheme)||void 0===t||t.call(this)}componentDidLoad(){this.updateCSSCustomProps(),this.slotNotifications.addEventListener("slotchange",this.handleSlotChange),this.handleSlotChange()}visibleChanged(i){return i?(this.changedEvent.emit({visible:!0}),void this.shownEvent.emit()):void 0===i?(this.changedEvent.emit({visible:!1}),void this.hiddenEvent.emit()):void(this.visible=void 0)}render(){return s(a,{key:"14c13d8af66f6c90da99f9f858d8696a796d01a7","pref-theme":this.prefTheme,"pref-theme-scheme":this.prefThemeScheme},s("mds-button",{key:"61d7ab9ae3a1d0df6dd091f211b86aa7a8afb0c0",variant:"dark",onClick:this.clear},"Cancella notifiche"),s("div",{key:"614552ee81de3151c82622a0cf209e8e93afb314",class:"notifications",part:"notifications"},s("slot",{key:"bd60fe0bbcc81ff17c30681f27452a5d5aca067e",ref:i=>this.slotNotifications=i})))}get host(){return o(this)}static get watchers(){return{visible:[{visibleChanged:0}]}}};d.style='@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--mds-push-notification-fadeout-delay:0s;--mds-push-notification-gap:calc(var(--spacing,.0025rem)*200);--mds-push-notification-items-intro-delay:.3s;--mds-push-notification-items-outro-delay:0s;--mds-push-notification-items-duration:.3s;--tw-ease:initial}}}:host(:not(:is([hydrated],.hydrated))),mds-button:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}@property --mds-push-notification-fadeout-delay{syntax:"<time>";inherits:false;initial-value:0s}@property --mds-push-notification-items-intro-delay{syntax:"<time>";inherits:false;initial-value:.3s}@property --mds-push-notification-items-outro-delay{syntax:"<time>";inherits:false;initial-value:0s}@property --mds-push-notification-items-duration{syntax:"<time>";inherits:false;initial-value:.3s}:host{--mds-push-notification-fadeout-delay:0s;--mds-push-notification-gap:calc(var(--spacing,.0025rem)*200);--mds-push-notification-items-intro-delay:.3s;--mds-push-notification-items-outro-delay:0s;--mds-push-notification-items-duration:.3s;--mds-push-notification-items-gap:var(--mds-push-notification-gap,calc(var(--spacing,.0025rem)*200));--mds-push-notification-items-timing-function:var(--ease-in-out-quint,cubic-bezier(.86,0,.07,1));--mds-push-notification-background:linear-gradient(90deg,#dcdcdc00 0%,#dcdcdcd9);-webkit-overflow-scrolling:touch;-ms-overflow-style:none;scrollbar-width:none;--tw-ease:var(--ease-in-out-expo,cubic-bezier(1,0,0,1));background:var(--mds-push-notification-background);bottom:0;box-sizing:initial!important;display:flex;flex-direction:column;gap:calc(var(--spacing,.0025rem)*200);max-width:360px;min-width:calc(var(--spacing,.0025rem)*7200);overflow-x:hidden;padding:calc(var(--spacing,.0025rem)*400);padding-left:calc(var(--spacing,.0025rem)*2400);position:fixed;right:0;top:0;transform:translate(100%);-webkit-transition-delay:var(--mds-push-notification-fadeout-delay,0s);transition-delay:var(--mds-push-notification-fadeout-delay,0s);-webkit-transition-duration:var(--duration-500,.5s);transition-duration:var(--duration-500,.5s);transition-property:transform;transition-timing-function:var(--ease-in-out-expo,cubic-bezier(1,0,0,1));z-index:var(--magma-notification-z-index,3000)}:host::-webkit-scrollbar{display:none}.notifications{display:flex;flex-direction:column-reverse;gap:var(--mds-push-notification-items-gap)}.notifications ::slotted(mds-push-notification-item){--mds-push-notification-duration:var(--mds-push-notification-items-duration,.3s);--mds-push-notification-timing-function:var(--mds-push-notification-items-timing-function);position:absolute;-webkit-transform:translate(calc(100% + calc(var(--mds-push-notification-gap,calc(var(--spacing,.0025rem) * 200)) + var(--mds-push-notification-gap,calc(var(--spacing,.0025rem) * 200)))));transform:translate(calc(100% + calc(var(--mds-push-notification-gap,calc(var(--spacing,.0025rem) * 200)) + var(--mds-push-notification-gap,calc(var(--spacing,.0025rem) * 200)))));visibility:hidden}:host([pref-theme=dark]:not([pref-theme-scheme=light])){--mds-push-notification-background:linear-gradient(90deg,#0000 0%,#00000080 20%,#000000d9)}:host([visible]){transform:translate(0);transition-delay:0s}@property --tw-ease{syntax:"*";inherits:false}@media (prefers-color-scheme:dark){:host(:not([pref-theme])),:host([pref-theme=system]:not([pref-theme-scheme=light])){--mds-push-notification-background:linear-gradient(90deg,#0000 0%,#00000080 20%,#000000d9)}}';export{d as mds_push_notification}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var __awaiter=this&&this.__awaiter||function(t,e,i,o){function n(t){return t instanceof i?t:new i((function(e){e(t)}))}return new(i||(i=Promise))((function(i,s){function r(t){try{c(o.next(t))}catch(t){s(t)}}function a(t){try{c(o["throw"](t))}catch(t){s(t)}}function c(t){t.done?i(t.value):n(t.value).then(r,a)}c((o=o.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var i={label:0,sent:function(){if(s[0]&1)throw s[1];return s[1]},trys:[],ops:[]},o,n,s,r=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return r.next=a(0),r["throw"]=a(1),r["return"]=a(2),typeof Symbol==="function"&&(r[Symbol.iterator]=function(){return this}),r;function a(t){return function(e){return c([t,e])}}function c(a){if(o)throw new TypeError("Generator is already executing.");while(r&&(r=0,a[0]&&(i=0)),i)try{if(o=1,n&&(s=a[0]&2?n["return"]:a[0]?n["throw"]||((s=n["return"])&&s.call(n),0):n.next)&&!(s=s.call(n,a[1])).done)return s;if(n=0,s)a=[a[0]&2,s.value];switch(a[0]){case 0:case 1:s=a;break;case 4:i.label++;return{value:a[1],done:false};case 5:i.label++;n=a[1];a=[0];continue;case 7:a=i.ops.pop();i.trys.pop();continue;default:if(!(s=i.trys,s=s.length>0&&s[s.length-1])&&(a[0]===6||a[0]===2)){i=0;continue}if(a[0]===3&&(!s||a[1]>s[0]&&a[1]<s[3])){i.label=a[1];break}if(a[0]===6&&i.label<s[1]){i.label=s[1];s=a;break}if(s&&i.label<s[2]){i.label=s[2];i.ops.push(a);break}if(s[2])i.ops.pop();i.trys.pop();continue}a=e.call(t,i)}catch(t){a=[6,t];n=0}finally{o=s=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:true}}};System.register(["./p-DI5DWqw4.system.js","./p-DcKeJ0td.system.js","./p-DssKRrAV.system.js"],(function(t){"use strict";var e,i,o,n,s,r,a;return{setters:[function(t){e=t.r;i=t.c;o=t.h;n=t.H;s=t.g},function(t){r=t.L},function(t){a=t.s}],execute:function(){var c='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n <path d="M13.314 12.492c-.943-.837-4.99-3.526-8.385-5.563 2.037 3.395 4.726 7.442 5.563 8.384q.045.052.094.101a2 2 0 1 0 2.728-2.922"/>\n <path d="M2 14c0 1.893.526 3.663 1.44 5.173.326.538.93.827 1.558.827h14.004c.629 0 1.232-.29 1.558-.827A9.95 9.95 0 0 0 22 14c0-5.523-4.477-10-10-10a9.95 9.95 0 0 0-5.416 1.592c.64.39 1.292.795 1.937 1.202A8 8 0 0 1 18.93 18H5.07A7.96 7.96 0 0 1 4 14c0-1.247.285-2.427.794-3.48-.407-.644-.812-1.297-1.202-1.936A9.95 9.95 0 0 0 2 14"/>\n</svg>\n';var u='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n <path d="M9.885 4.224C5.378 5.194 2 9.203 2 14c0 1.893.526 3.663 1.44 5.173.326.538.93.827 1.558.827h14.004c.629 0 1.232-.29 1.558-.827A9.95 9.95 0 0 0 22 14c0-4.797-3.378-8.805-7.885-9.776.177.728.352 1.476.52 2.22A8.003 8.003 0 0 1 18.93 18H5.07A8.003 8.003 0 0 1 9.365 6.444a137 137 0 0 1 .52-2.22"/>\n <path d="M13.995 13.862C13.921 12.605 12.96 7.842 12 4c-.96 3.841-1.92 8.605-1.995 9.862a2 2 0 1 0 3.99 0"/>\n</svg>\n';var m='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n <path d="M13.508 15.314c.837-.943 3.526-4.99 5.563-8.385-3.395 2.037-7.443 4.726-8.385 5.563q-.051.045-.1.094a2 2 0 1 0 2.922 2.728"/>\n <path d="M3.44 19.173A9.95 9.95 0 0 1 2 14C2 8.477 6.477 4 12 4c1.996 0 3.855.585 5.416 1.592-.64.39-1.292.795-1.937 1.202A8 8 0 0 0 5.07 18h13.86A7.96 7.96 0 0 0 20 14a8 8 0 0 0-.794-3.48c.407-.644.813-1.297 1.202-1.936A9.95 9.95 0 0 1 22 14a9.95 9.95 0 0 1-1.44 5.173c-.326.538-.93.827-1.558.827H4.998c-.629 0-1.232-.29-1.558-.827"/>\n</svg>\n';var d="Υψηλή";var l="Χαμηλή";var h="Μεσαία";var f="Κατανάλωση";var v={consumptionHigh:d,consumptionLow:l,consumptionMedium:h,label:f};var b="High";var p="Low";var g="Medium";var w="Consumption";var y={consumptionHigh:b,consumptionLow:p,consumptionMedium:g,label:w};var k="Alto";var A="Bajo";var M="Medio";var x="Consumo";var C={consumptionHigh:k,consumptionLow:A,consumptionMedium:M,label:x};var _="Alto";var H="Basso";var j="Medio";var L="Consumo";var B={consumptionHigh:_,consumptionLow:H,consumptionMedium:j,label:L};var S=function(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-tab,mds-tab-item,mds-text):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{display:grid;gap:calc(var(--spacing,.0025rem)*100)}.item{--mds-tab-item-default-color:rgb(var(--tone-neutral-05,197 197 197));flex-basis:0;flex-grow:1}.item--high{--mds-tab-item-selected-color:rgb(var(--status-error-06,239 108 105))}.item--medium{--mds-tab-item-selected-color:rgb(var(--status-warning-06,190 142 0))}.item--low{--mds-tab-item-selected-color:rgb(var(--status-success-06,0 171 97))}:host([pref-contrast=more]) .item{--mds-tab-item-default-color:rgb(var(--tone-neutral-01,255 255 255))}:host([pref-contrast=more]) .item--high{--mds-tab-item-default-color:rgb(var(--status-error-03,255 217 214))}:host([pref-contrast=more]) .item--medium{--mds-tab-item-default-color:rgb(var(--status-warning-03,255 223 129))}:host([pref-contrast=more]) .item--low{--mds-tab-item-default-color:rgb(var(--status-success-03,196 235 209))}@media (prefers-contrast:more){:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))) .item{--mds-tab-item-default-color:rgb(var(--tone-neutral-01,255 255 255))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))) .item--high{--mds-tab-item-default-color:rgb(var(--status-error-03,255 217 214))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))) .item--medium{--mds-tab-item-default-color:rgb(var(--status-warning-03,255 223 129))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))) .item--low{--mds-tab-item-default-color:rgb(var(--status-success-03,196 235 209))}}"};var D=t("mds_pref_consumption",function(){function t(t){var o=this;e(this,t);this.prefChangeEvent=i(this,"mdsPrefChange");this.localStorageAlias="mdsPrefConsumption";this.customPropertyAlias="--magma-pref-consumption";this.defaultMode="high";this.t=new r({el:v,en:y,es:C,it:B});this.consumption={high:{selector:"pref-consumption-high",label:"consumptionHigh"},medium:{selector:"pref-consumption-medium",label:"consumptionMedium"},low:{selector:"pref-consumption-low",label:"consumptionLow"}};this.setConsumption=function(t){o.prefChangeEvent.emit({preference:"consumption"});o.mode=t;localStorage.setItem(o.localStorageAlias,o.mode);if(typeof document!=="undefined"){var e=document.querySelector("html");for(var i in o.consumption){if({}.hasOwnProperty.call(o.consumption,i)){e===null||e===void 0?void 0:e.classList.remove(o.consumption[i].selector)}}e===null||e===void 0?void 0:e.classList.add(o.consumption[o.mode].selector);e===null||e===void 0?void 0:e.style.setProperty(o.customPropertyAlias,o.mode)}};this.handleModeClick=function(t){return function(){o.setConsumption(t)}}}t.prototype.updateLang=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.language=this.t.lang(this.element);return[2]}))}))};t.prototype.connectedCallback=function(){var t=this;this.unsubscribePrefContrast=a("contrast",(function(e){t.prefContrast=e}))};t.prototype.disconnectedCallback=function(){var t;(t=this.unsubscribePrefContrast)===null||t===void 0?void 0:t.call(this)};t.prototype.componentWillRender=function(){var t,e;this.t.lang(this.element);this.setConsumption((e=(t=this.mode)!==null&&t!==void 0?t:localStorage.getItem(this.localStorageAlias))!==null&&e!==void 0?e:this.defaultMode)};t.prototype.modeChanged=function(t){this.setConsumption(t)};t.prototype.render=function(){var t;return o(n,{key:"8aacd0158d8dcd42a86c3f8d5a963b509a067d7c","pref-contrast":this.prefContrast},o("mds-text",{key:"0114ef44e5ec8ebfc5eb61e59bc01a8dccc5d443",class:"info",typography:"caption"},o("b",{key:"9062cda609e301b70910c76f0529259aece20356"},this.t.get("label"))," ",this.t.get(this.consumption[(t=this.mode)!==null&&t!==void 0?t:this.defaultMode].label)),o("mds-tab",{key:"44c1462c501e7014db8ece5a0bdbb7a743fb8848",fill:true,size:this.size},o("mds-tab-item",{key:"6ecc4b3963061b230abdba6dd6e1382bc941007e",selected:this.mode==="low",onClick:this.handleModeClick("low"),class:"item item--low",icon:c}),o("mds-tab-item",{key:"bd85e99d05f2c21f2e3c1910c0eacce5ab241dd5",selected:this.mode==="medium",onClick:this.handleModeClick("medium"),class:"item item--medium",icon:u}),o("mds-tab-item",{key:"4acf72c60c3b29c9fcc1793faf216a8309a4110d",selected:this.mode==="high",onClick:this.handleModeClick("high"),class:"item item--high",icon:m})))};Object.defineProperty(t.prototype,"element",{get:function(){return s(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{mode:[{modeChanged:0}]}},enumerable:false,configurable:true});return t}());D.style=S()}}}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
System.register(["./p-DI5DWqw4.system.js","./p-DssKRrAV.system.js"],(function(e){"use strict";var r,t,o,a,i;return{setters:[function(e){r=e.r;t=e.h;o=e.H;a=e.g},function(e){i=e.s}],execute:function(){var s=function(){return'@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--mds-price-table-features-row-background:#0000;--mds-price-table-features-row-background-hover:rgb(var(--tone-neutral-10,60 60 60));--mds-price-table-features-row-color:rgb(var(--tone-neutral-04,218 218 218));--mds-price-table-features-row-color-hover:rgb(var(--tone-neutral-01,255 255 255));--tw-ease:initial}}}:host(:not(:is([hydrated],.hydrated))),mds-price-table-features-cell:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}@property --mds-price-table-features-row-background{syntax:"<color>";inherits:false;initial-value:#0000}:host{--mds-price-table-features-row-background:#0000;--mds-price-table-features-row-background-hover:rgb(var(--tone-neutral-10,60 60 60));--mds-price-table-features-row-color:rgb(var(--tone-neutral-04,218 218 218));--mds-price-table-features-row-color-hover:rgb(var(--tone-neutral-01,255 255 255));--mds-price-table-features-row-transition-duration:var(--duration-200,.2s);--private-price-table-features-row-transition-duration:var(--mds-price-table-features-row-transition-duration);--tw-ease:var(--ease-in-out,cubic-bezier(.4,0,.2,1));background-color:var(--mds-price-table-features-row-background,#0000);color:var(--mds-price-table-features-row-color,rgb(var(--tone-neutral-04,218 218 218)));display:table-row;-webkit-transition-duration:var(--private-price-table-features-row-transition-duration);transition-duration:var(--private-price-table-features-row-transition-duration);transition-property:background-color,color;transition-timing-function:var(--ease-in-out,cubic-bezier(.4,0,.2,1))}:host(:hover){--mds-price-table-features-row-background:var(--mds-price-table-features-row-background-hover,rgb(var(--tone-neutral-10,60 60 60)));--mds-price-table-features-row-color:var(--mds-price-table-features-row-color-hover,rgb(var(--tone-neutral-01,255 255 255)))}:host(:hover)>::slotted(mds-price-table-features-cell){--mds-price-table-features-cell-icon-supported-color:var(--mds-price-table-features-cell-icon-supported-color-hover,rgb(var(--label-green-06,30 171 82)));--mds-price-table-features-cell-icon-unsupported-color:var(--mds-price-table-features-cell-icon-unsupported-color-hover,rgb(var(--tone-neutral-06,158 158 158)))}:host>::slotted([type=label]){padding-left:0}:host(:hover)>::slotted([type=label]){-webkit-transform:translate(calc(var(--spacing,.0025rem)*200));transform:translate(calc(var(--spacing,.0025rem)*200))}:host([pref-animation=reduce]){--private-price-table-features-row-transition-duration:0s}:host([pref-contrast=more]){--mds-price-table-features-row-color:rgb(var(--tone-neutral-01,255 255 255));--mds-price-table-features-row-color-hover:rgb(var(--tone-neutral-01,255 255 255))}:host([pref-theme=dark]:not([pref-theme-scheme=light])){--mds-price-table-features-row-background-hover:rgb(var(--tone-neutral-09,76 76 76))}@property --tw-ease{syntax:"*";inherits:false}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host([pref-animation=system]){--private-price-table-features-row-transition-duration:0s}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){--mds-price-table-features-row-color:rgb(var(--tone-neutral-01,255 255 255));--mds-price-table-features-row-color-hover:rgb(var(--tone-neutral-01,255 255 255))}}@media (prefers-color-scheme:dark){:host(:not([pref-theme])),:host([pref-theme=system]:not([pref-theme-scheme=light])){--mds-price-table-features-row-background-hover:rgb(var(--tone-neutral-09,76 76 76))}}'};var n=e("mds_price_table_features_row",function(){function e(e){r(this,e)}e.prototype.connectedCallback=function(){var e=this;this.unsubscribePrefAnimation=i("animation",(function(r){e.prefAnimation=r}));this.unsubscribePrefContrast=i("contrast",(function(r){e.prefContrast=r}));this.unsubscribePrefTheme=i("theme",(function(r){e.prefTheme=r}));this.unsubscribePrefThemeScheme=i("theme-scheme",(function(r){e.prefThemeScheme=r}))};e.prototype.disconnectedCallback=function(){var e,r,t,o;(e=this.unsubscribePrefAnimation)===null||e===void 0?void 0:e.call(this);(r=this.unsubscribePrefContrast)===null||r===void 0?void 0:r.call(this);(t=this.unsubscribePrefTheme)===null||t===void 0?void 0:t.call(this);(o=this.unsubscribePrefThemeScheme)===null||o===void 0?void 0:o.call(this)};e.prototype.componentWillRender=function(){var e=this;this.horizontalCells=this.host.querySelectorAll("mds-price-table-features-cell");this.cellPercWidth=Number(100/this.horizontalCells.length).toFixed(4)+"%";this.horizontalCells.forEach((function(r){r.style.width=e.cellPercWidth}))};e.prototype.render=function(){return t(o,{key:"aa643a67f90377589c46362cad147ea0133bc36a","pref-animation":this.prefAnimation,"pref-contrast":this.prefContrast,"pref-theme":this.prefTheme,"pref-theme-scheme":this.prefThemeScheme},t("slot",{key:"8aa2a7633dc5196acd823229e3ba1b6cb1103345"}))};Object.defineProperty(e.prototype,"host",{get:function(){return a(this)},enumerable:false,configurable:true});return e}());n.style=s()}}}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var __awaiter=this&&this.__awaiter||function(t,i,r,e){function n(t){return t instanceof r?t:new r((function(i){i(t)}))}return new(r||(r=Promise))((function(r,o){function a(t){try{u(e.next(t))}catch(t){o(t)}}function s(t){try{u(e["throw"](t))}catch(t){o(t)}}function u(t){t.done?r(t.value):n(t.value).then(a,s)}u((e=e.apply(t,i||[])).next())}))};var __generator=this&&this.__generator||function(t,i){var r={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},e,n,o,a=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return a.next=s(0),a["throw"]=s(1),a["return"]=s(2),typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function s(t){return function(i){return u([t,i])}}function u(s){if(e)throw new TypeError("Generator is already executing.");while(a&&(a=0,s[0]&&(r=0)),r)try{if(e=1,n&&(o=s[0]&2?n["return"]:s[0]?n["throw"]||((o=n["return"])&&o.call(n),0):n.next)&&!(o=o.call(n,s[1])).done)return o;if(n=0,o)s=[s[0]&2,o.value];switch(s[0]){case 0:case 1:o=s;break;case 4:r.label++;return{value:s[1],done:false};case 5:r.label++;n=s[1];s=[0];continue;case 7:s=r.ops.pop();r.trys.pop();continue;default:if(!(o=r.trys,o=o.length>0&&o[o.length-1])&&(s[0]===6||s[0]===2)){r=0;continue}if(s[0]===3&&(!o||s[1]>o[0]&&s[1]<o[3])){r.label=s[1];break}if(s[0]===6&&r.label<o[1]){r.label=o[1];o=s;break}if(o&&r.label<o[2]){r.label=o[2];r.ops.push(s);break}if(o[2])r.ops.pop();r.trys.pop();continue}s=i.call(t,r)}catch(t){s=[6,t];n=0}finally{e=o=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};System.register(["./p-DI5DWqw4.system.js","./p-Qrub-hmK.system.js","./p-C0tqOovl.system.js","./p-BcI1w9tp.system.js","./p-CqQ2xyQJ.system.js","./p-YGHolmSj.system.js","./p-DcKeJ0td.system.js","./p-CYRMc5KW.system.js","./p-DssKRrAV.system.js"],(function(t){"use strict";var i,r,e,n,o,a,s,u,c,d,l,h,p;return{setters:[function(t){i=t.r;r=t.c;e=t.h;n=t.H;o=t.g},function(t){a=t.c},function(t){s=t.m},function(t){u=t.m},function(t){c=t.m},function(t){d=t.m},function(t){l=t.L},function(t){h=t.h},function(t){p=t.s}],execute:function(){var f='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n <path d="M10 11H8V8h2zM16 11h-2V8h2z"/>\n <path fill-rule="evenodd" d="M21.544 10.436a3 3 0 0 1 0 3.128l-3.667 6A3 3 0 0 1 15.317 21H8.683a3 3 0 0 1-2.56-1.436l-3.666-6a3 3 0 0 1 0-3.128l3.667-6A3 3 0 0 1 8.683 3h6.635a3 3 0 0 1 2.56 1.436zM4.162 11.479a1 1 0 0 0 0 1.043l3.668 6a1 1 0 0 0 .853.478h6.634a1 1 0 0 0 .853-.479l3.667-6a1 1 0 0 0 0-1.042l-3.667-6A1 1 0 0 0 15.317 5H8.683a1 1 0 0 0-.853.479z" clip-rule="evenodd"/>\n <path d="M16.707 14.707C15.477 15.937 13.698 16.5 12 16.5s-3.477-.563-4.707-1.793l1.414-1.414c.77.77 1.991 1.207 3.293 1.207s2.523-.437 3.293-1.207z"/>\n</svg>\n';var m='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"/></svg>';var v='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5zM12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5s5 2.24 5 5s-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3s3-1.34 3-3s-1.34-3-3-3z"/></svg>';var g='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M12 7c2.76 0 5 2.24 5 5c0 .65-.13 1.26-.36 1.83l2.92 2.92c1.51-1.26 2.7-2.89 3.43-4.75c-1.73-4.39-6-7.5-11-7.5c-1.4 0-2.74.25-3.98.7l2.16 2.16C10.74 7.13 11.35 7 12 7zM2 4.27l2.28 2.28l.46.46A11.804 11.804 0 0 0 1 12c1.73 4.39 6 7.5 11 7.5c1.55 0 3.03-.3 4.38-.84l.42.42L19.73 22L21 20.73L3.27 3L2 4.27zM7.53 9.8l1.55 1.55c-.05.21-.08.43-.08.65c0 1.66 1.34 3 3 3c.22 0 .44-.03.65-.08l1.55 1.55c-.67.33-1.41.53-2.2.53c-2.76 0-5-2.24-5-5c0-.79.2-1.53.53-2.2zm4.31-.78l3.15 3.15l.02-.16c0-1.66-1.34-3-3-3l-.17.01z"/></svg>';var b='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M12 14c1.66 0 3-1.34 3-3V5c0-1.66-1.34-3-3-3S9 3.34 9 5v6c0 1.66 1.34 3 3 3z"/><path d="M17 11c0 2.76-2.24 5-5 5s-5-2.24-5-5H5c0 3.53 2.61 6.43 6 6.92V21h2v-3.08c3.39-.49 6-3.39 6-6.92h-2z"/></svg>';var w='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M10.8 4.9c0-.66.54-1.2 1.2-1.2s1.2.54 1.2 1.2l-.01 3.91L15 10.6V5c0-1.66-1.34-3-3-3c-1.54 0-2.79 1.16-2.96 2.65l1.76 1.76V4.9zM19 11h-1.7c0 .58-.1 1.13-.27 1.64l1.27 1.27c.44-.88.7-1.87.7-2.91zM4.41 2.86L3 4.27l6 6V11c0 1.66 1.34 3 3 3c.23 0 .44-.03.65-.08l1.66 1.66c-.71.33-1.5.52-2.31.52c-2.76 0-5.3-2.1-5.3-5.1H5c0 3.41 2.72 6.23 6 6.72V21h2v-3.28a7.13 7.13 0 0 0 2.55-.9l4.2 4.2l1.41-1.41L4.41 2.86z"/></svg>';var x="Μείωση";var y="Απόκρυψη κωδικού";var k="Αύξηση";var z="Εμφάνιση κωδικού";var M="Η φωνητική υπαγόρευση δεν υποστηρίζεται από αυτό το πρόγραμμα περιήγησης";var T="Διακοπή φωνητικής υπαγόρευσης";var N="Έναρξη φωνητικής υπαγόρευσης";var A={decrease:x,hidePassword:y,increase:k,showPassword:z,speechToTextError:M,speechToTextOff:T,speechToTextOn:N};var P="Decrease";var L="Hide password";var _="Increase";var C="Show password";var I="Voice dictation is not supported by this browser";var O="Stop voice dictation";var V="Start voice dictation";var S={decrease:P,hidePassword:L,increase:_,showPassword:C,speechToTextError:I,speechToTextOff:O,speechToTextOn:V};var j="Disminuir";var B="Ocultar contraseña";var E="Aumentar";var R="Mostrar contraseña";var F="El dictado por voz no es compatible con este navegador";var H="Detener dictado por voz";var D="Iniciar dictado por voz";var q={decrease:j,hidePassword:B,increase:E,showPassword:R,speechToTextError:F,speechToTextOff:H,speechToTextOn:D};var U="Diminuisci";var K="Nascondi password";var Q="Aumenta";var Z="Visualizza password";var J="Dettatura vocale non supportata da questo browser";var X="Ferma dettatura vocale";var G="Inizia dettatura vocale";var W={decrease:U,hidePassword:K,increase:Q,showPassword:Z,speechToTextError:J,speechToTextOff:X,speechToTextOn:G};var Y=function(){return null};var $=function(t){return t.length>0?null:{required:""}};var tt=function(t){return function(i){if(i===""||t===null){return null}var r=parseFloat(i);return!isNaN(r)&&r>t?{max:"valore massimo ".concat(t)}:null}};var it=function(t){return function(i){if(i===""||t===null){return null}var r=parseFloat(i);return!isNaN(r)&&r<t?{min:"valore minimo ".concat(t)}:null}};var rt=function(t){return function(i){if(i===""||t===null){return null}return i.length>t?{minLenght:"La lunghezza massima accettata è ".concat(t)}:null}};var et=function(t){return function(i){if(i===""||t===null){return null}return i.length<t?{minLenght:"La lunghezza minima accettata è ".concat(t)}:null}};var nt=function(t){if(t==="")return null;if(Number.isNaN(t.slice(0,-1))||t.length!==10&&t.length!==13)return{"isbn-error":"formato isbn non correto"};var i=t.split("").map((function(t){return t==="X"?10:Number(t)}));var r=0;if(t.length===10){var e=i.reduce((function(t,i,r){return t+(10-r)*i}),0);r=e%11}else{var e=i.reduce((function(t,i,r){var e=r%2===0?1:3;return t+i*e}),0);r=e%10}return r===0?null:{"isbn-error":"codice isbn non valido"}};var ot=function(){function t(){this._validators=[];this._errors=null;this.isValid=true}t.prototype.addValidator=function(t){var i;if(Array.isArray(t)){(i=this._validators).push.apply(i,t)}else{this._validators.push(t)}};t.prototype._hasValidator=function(t,i){return Array.isArray(t)?t.includes(i):t===i};t.prototype.hasValidator=function(t){return t?this._hasValidator(this._validators,t):this._validators.length>0};t.prototype.removeValidator=function(t){var i=this;this._validators=this._validators.filter((function(r){return!i._hasValidator(t,r)}))};t.prototype.validate=function(t){var i=this._validators.map((function(i){return i(t)})).reduce((function(t,i){return Object.assign(Object.assign({},t),i)}),Y);this._errors=Object.keys(i).length===0?null:i;this.isValid=!this._errors};Object.defineProperty(t.prototype,"errors",{get:function(){return this._errors},enumerable:false,configurable:true});return t}();var at=function(){function t(){}return t}();at.CF_Regex=/^(?:[A-Z][AEIOU][AEIOUX]|[AEIOU]X{2}|[B-DF-HJ-NP-TV-Z]{2}[A-Z]){2}(?:[\dLMNP-V]{2}(?:[A-EHLMPR-T](?:[04LQ][1-9MNP-V]|[15MR][\dLMNP-V]|[26NS][0-8LMNP-U])|[DHPS][37PT][0L]|[ACELMRT][37PT][01LM]|[AC-EHLMPR-T][26NS][9V])|(?:[02468LNQSU][048LQU]|[13579MPRTV][26NS])B[26NS][9V])(?:[A-MZ][1-9MNP-V][\dLMNP-V]{2}|[A-M][0L](?:[1-9MNP-V][\dLMNP-V]|[0L][1-9MNP-V]))[A-Z]$/i;at.CF_MASK="A{6}(99|AA)A(99|AA)A(999|AAA)A";at.CC_MASK="9999-9999-9999-9999";var st=function(){function t(t){this.validator=new ot;this.pattern=t}t.prototype.mask=function(t){if(!this.pattern){throw new Error("no pattern found, set pattern before mask")}};t.prototype.isValid=function(t){this.validator.validate(t);return this.validator.isValid};return t}();function ut(t){var i;switch(t){case"tel":i=new st("");break;case"url":i=new st("");break;case"cc":i=new st(at.CC_MASK);break;case"cf":i=new st(at.CF_MASK);i.validator.addValidator((function(t){if(t==="")return null;return at.CF_Regex.test(t)?null:{"cf-regex":"Codice fiscale inserito non corretto"}}));i.validator.addValidator((function(t){if(t==="")return null;return t.length===16?null:{"cf-length":"Codice fiscale deve essere lungo 16 caratteri"}}));break;case"isbn":i=new st;i.validator.addValidator(nt);break;case"piva":i=new st("");break;default:i=new st("")}return i}var ct=function(){return'@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--mds-input-background:rgb(var(--tone-neutral,0 0 0));--mds-input-placeholder-default-color:rgb(var(--tone-neutral-06,158 158 158));--mds-input-placeholder-focus-color:rgb(var(--tone-neutral-07,134 134 134));--mds-input-placeholder-hover-color:var(--mds-input-placeholder-default-color,rgb(var(--tone-neutral-06,158 158 158)));--mds-input-tip-background:rgb(var(--tone-neutral-03,233 233 233));--mds-input-icon-color:var(--mds-input-variant-color-rgb,0 0 0);--mds-input-variant-color-rgb:0 0 0;--mds-input-textarea-resize:none;--mds-input-textarea-max-height:calc(var(--spacing,.0025rem)*6400);--mds-input-textarea-min-height:calc(var(--spacing,.0025rem)*2400);--mds-input-tip-horizontal-offset-focused:calc(var(--spacing,.0025rem)*100);--mds-input-tip-horizontal-offset:calc(var(--spacing,.0025rem)*100);--mds-input-tip-vertical-offset:calc(var(--spacing,.0025rem)*100);--mds-input-textarea-field-sizing:content}}}:host(:not(:is([hydrated],.hydrated))),:is(mds-button,mds-icon,mds-input-tip,mds-input-tip-item,mds-spinner):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}@property --mds-input-variant-color-rgb{syntax:"<integer>+";inherits:false;initial-value:0 0 0}@property --mds-input-textarea-resize{syntax:"none|vertical";inherits:false;initial-value:none}@property --mds-input-textarea-field-sizing{syntax:"content|fixed";inherits:false;initial-value:content}:host{--mds-input-background:rgb(var(--tone-neutral,0 0 0));--mds-input-icon-color:rgb(var(--variant-primary-03,211 226 255));--mds-input-placeholder-default-color:rgb(var(--tone-neutral-06,158 158 158));--mds-input-placeholder-focus-color:rgb(var(--tone-neutral-07,134 134 134));--mds-input-placeholder-hover-color:var(--mds-input-placeholder-default-color,rgb(var(--tone-neutral-06,158 158 158)));--mds-input-ring:0 0 0 1px rgb(var(--mds-input-variant-color-rgb,0 0 0)/.1);--mds-input-shadow:0 1px 3px 0 rgb(var(--mds-input-variant-color-rgb,0 0 0)/.1),0 1px 2px 0 rgb(var(--mds-input-variant-color-rgb,0 0 0)/.06);--mds-input-textarea-field-sizing:content;--mds-input-textarea-resize:none;--mds-input-textarea-max-height:calc(var(--spacing,.0025rem)*6400);--mds-input-textarea-min-height:calc(var(--spacing,.0025rem)*2400);--mds-input-tip-background:rgb(var(--tone-neutral-03,233 233 233));--mds-input-tip-horizontal-offset-focused:calc(var(--spacing,.0025rem)*100);--mds-input-tip-horizontal-offset:calc(var(--spacing,.0025rem)*100);--mds-input-tip-vertical-offset:calc(var(--spacing,.0025rem)*100);--mds-input-variant-color-rgb:var(--variant-primary-03,211 226 255);--mds-input-border-radius:var(--radius-xl,20px);--mds-input-transition-duration:var(--duration-300,.3s);--mds-input-controls-border:2px solid rgb(var(--tone-neutral-09,76 76 76));--mds-input-controls-color:rgb(var(--tone-neutral-03,233 233 233));--private-input-transition-duration:var(--mds-input-transition-duration);border-radius:var(--mds-input-border-radius);corner-shape:var(--magma-corner-shape,round);font-family:var(--font-info,Karla,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif);font-size:var(--text-size-info-detail,1rem);font-weight:var(--tw-font-weight,var(--text-size-info-detail--font-weight,400));gap:calc(var(--spacing,.0025rem)*200);line-height:var(--tw-leading,var(--text-size-info-detail--line-height,1.5rem));min-height:auto;text-box:trim-both text;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;container-type:inline-size;display:flex;position:relative;--mds-input-icon-color:rgb(var(--variant-primary-04,184 208 255));--mds-input-variant-color-rgb:0 0 0}:host([typography=detail]) .input{font-family:var(--font-info,Karla,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif);font-size:var(--text-size-info-detail,1rem);font-weight:var(--tw-font-weight,var(--text-size-info-detail--font-weight,400));line-height:var(--tw-leading,var(--text-size-info-detail--line-height,1.5rem));min-height:auto;text-box:trim-both text;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host([typography=snippet]) .input{font-family:var(--font-code,"Roboto Mono","Courier New",monospace);font-size:var(--text-size-code-snippet,1rem);font-weight:var(--tw-font-weight,var(--text-size-code-snippet--font-weight,400));line-height:var(--tw-leading,var(--text-size-code-snippet--line-height,1.5rem));min-height:auto;text-box:trim-both text;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.input{font-family:var(--font-info,Karla,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif);font-size:var(--text-size-info-detail,1rem);font-weight:var(--tw-font-weight,var(--text-size-info-detail--font-weight,400));line-height:var(--tw-leading,var(--text-size-info-detail--line-height,1.5rem));min-height:auto;text-box:trim-both text;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:var(--mds-input-background,rgb(var(--tone-neutral,0 0 0)));border-radius:inherit;-webkit-box-shadow:var(--mds-input-ring),var(--mds-input-shadow);box-shadow:var(--mds-input-ring),var(--mds-input-shadow);box-sizing:border-box;color:rgb(var(--tone-neutral-02,244 244 244));corner-shape:inherit;border:0;margin:0;max-width:100%;min-height:3rem;overflow:hidden;padding:calc(var(--spacing,.0025rem)*300) calc(var(--spacing,.0025rem)*400);text-overflow:ellipsis;-webkit-transition-duration:var(--private-input-transition-duration);transition-duration:var(--private-input-transition-duration);transition-property:background-color,border-color,box-shadow,color,fill,margin,opacity,padding,transform;-webkit-transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1));transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1));width:100%}.input::-webkit-input-placeholder{color:var(--mds-input-placeholder-default-color,rgb(var(--tone-neutral-06,158 158 158)));-webkit-transition-duration:var(--duration-300,.3s);transition-duration:var(--duration-300,.3s);transition-property:color;-webkit-transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1));transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1))}.input:-ms-placeholder-shown{color:var(--mds-input-placeholder-default-color,rgb(var(--tone-neutral-06,158 158 158)));transition-duration:var(--duration-300,.3s);transition-property:color;transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1))}.input::-moz-placeholder{color:var(--mds-input-placeholder-default-color,rgb(var(--tone-neutral-06,158 158 158)));transition-duration:var(--duration-300,.3s);transition-property:color;transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1))}.input::placeholder{color:var(--mds-input-placeholder-default-color,rgb(var(--tone-neutral-06,158 158 158)));-webkit-transition-duration:var(--duration-300,.3s);transition-duration:var(--duration-300,.3s);transition-property:color;-webkit-transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1));transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1))}.input:hover::placeholder{color:var(--mds-input-placeholder-hover-color,var(--mds-input-placeholder-default-color,rgb(var(--tone-neutral-06,158 158 158))))}.input:hover:-ms-placeholder-shown{color:var(--mds-input-placeholder-hover-color,var(--mds-input-placeholder-default-color,rgb(var(--tone-neutral-06,158 158 158))))}.input:focus::placeholder{color:var(--mds-input-placeholder-focus-color,rgb(var(--tone-neutral-07,134 134 134)))}.input:focus:-ms-placeholder-shown{color:var(--mds-input-placeholder-focus-color,rgb(var(--tone-neutral-07,134 134 134)))}.input::-webkit-inner-spin-button,.input::-webkit-outer-spin-button{appearance:none;display:none;margin:0}:host textarea.input,:host([typography]) textarea.input{border-radius:var(--mds-input-border-radius);field-sizing:var(--mds-input-textarea-field-sizing,content);max-height:var(--mds-input-textarea-max-height,calc(var(--spacing,.0025rem)*6400));min-height:var(--mds-input-textarea-min-height,calc(var(--spacing,.0025rem)*2400));overflow:auto;resize:var(--mds-input-textarea-resize,none)}@container style(--mds-input-textarea-resize:none){:host textarea.input,:host([typography]) textarea.input{border-bottom-right-radius:0}}.input:focus{--tw-outline-style:none;outline-style:none;--mds-input-ring:0 0 0 3px rgb(var(--mds-input-variant-color-rgb,0 0 0)/1);--mds-input-shadow:0 4px 6px 3px rgb(var(--mds-input-variant-color-rgb,0 0 0)/.1),0 2px 4px -1px rgb(var(--mds-input-variant-color-rgb,0 0 0)/.06)}.input:disabled{background-color:rgb(var(--tone-neutral-10,60 60 60))}.input:disabled::placeholder{color:rgb(var(--tone-neutral-05,197 197 197))}.input:disabled:-ms-placeholder-shown{color:rgb(var(--tone-neutral-05,197 197 197))}.input:disabled::-moz-placeholder{color:rgb(var(--tone-neutral-05,197 197 197))}.input:disabled,.input:disabled::placeholder{color:rgb(var(--tone-neutral-05,197 197 197))}.input.has-icon{padding-left:calc(var(--spacing,.0025rem)*1100)}.input.has-right-icon{padding-right:calc(var(--spacing,.0025rem)*1100)}.await,.icon{fill:var(--mds-input-icon-color,var(--mds-input-variant-color-rgb,0 0 0));left:calc(var(--spacing,.0025rem)*300);position:absolute;top:calc(var(--spacing,.0025rem)*300)}.await{color:var(--mds-input-icon-color,var(--mds-input-variant-color-rgb,0 0 0));height:24px;width:24px}.counter{border-left:var(--mds-input-controls-border);display:flex;flex-direction:column;gap:0;position:absolute;right:0}.counter-button{aspect-ratio:unset;border:0;border-radius:var(--mds-input-border-radius);fill:var(--mds-input-controls-color);height:calc(var(--spacing,.0025rem)*600);min-height:0;width:calc(var(--spacing,.0025rem)*700)}.counter .counter-button:first-child{border-bottom-left-radius:0;border-bottom-right-radius:0;border-top-left-radius:0;border-top-right-radius:var(--mds-input-border-radius)}.counter .counter-button:last-child{border-bottom-left-radius:0;border-bottom-right-radius:var(--mds-input-border-radius);border-top-left-radius:0;border-top-right-radius:0}.counter-button--horizontal{bottom:0;height:calc(var(--spacing,.0025rem)*1200);position:absolute;top:0;width:calc(var(--spacing,.0025rem)*1200)}.counter-button--decrease{border-bottom-right-radius:0;border-right:var(--mds-input-controls-border);border-top-right-radius:0;left:0}.counter-button--increase{border-bottom-left-radius:0;border-left:var(--mds-input-controls-border);border-top-left-radius:0;right:0}.mic-toggle-button,.password-toggle-button{fill:var(--mds-input-controls-color);position:absolute;right:calc(var(--spacing,.0025rem)*150);top:calc(var(--spacing,.0025rem)*150)}.toggle-button--error{cursor:help;fill:rgb(var(--tone-neutral-06,158 158 158))}.mic-toggle-button--recording{animation:var(--animate-pulse,pulse 2s cubic-bezier(.4,0,.6,1) infinite)}:host([type=number]) .input{-moz-appearance:textfield;padding-right:calc(var(--spacing,.0025rem)*800)}:host([type=number][controls-layout=horizontal]) .input{padding-left:calc(var(--spacing,.0025rem)*1400);padding-right:calc(var(--spacing,.0025rem)*1400);text-align:center}:host([type=number][controls-layout=horizontal][icon]) .input{padding-left:calc(var(--spacing,.0025rem)*2400);text-align:left}:host([type=number][controls-layout=horizontal]) .icon{left:calc(var(--spacing,.0025rem)*1500)}:host([type=password]) .input{padding-right:calc(var(--spacing,.0025rem)*1000)}:host([type=password]) .input[type=text]:not(:-moz-placeholder-shown){font-family:var(--font-code,"Roboto Mono","Courier New",monospace);font-size:var(--text-size-code-snippet,1rem);font-weight:var(--tw-font-weight,var(--text-size-code-snippet--font-weight,400));line-height:var(--tw-leading,var(--text-size-code-snippet--line-height,1.5rem));min-height:auto;text-box:trim-both text;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host([type=password]) .input[type=text]:not(:-ms-placeholder-shown){font-family:var(--font-code,"Roboto Mono","Courier New",monospace);font-size:var(--text-size-code-snippet,1rem);font-weight:var(--tw-font-weight,var(--text-size-code-snippet--font-weight,400));line-height:var(--tw-leading,var(--text-size-code-snippet--line-height,1.5rem));min-height:auto;text-box:trim-both text;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host([type=password]) .input[type=text]:not(:placeholder-shown){font-family:var(--font-code,"Roboto Mono","Courier New",monospace);font-size:var(--text-size-code-snippet,1rem);font-weight:var(--tw-font-weight,var(--text-size-code-snippet--font-weight,400));line-height:var(--tw-leading,var(--text-size-code-snippet--line-height,1.5rem));min-height:auto;text-box:trim-both text;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host([type=cf]) .input{font-family:var(--font-code,"Roboto Mono","Courier New",monospace);font-size:var(--text-size-code-snippet,1rem);font-weight:var(--tw-font-weight,var(--text-size-code-snippet--font-weight,400));line-height:var(--tw-leading,var(--text-size-code-snippet--line-height,1.5rem));min-height:auto;text-box:trim-both text;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-transform:uppercase}mds-input-tip{--mds-input-tip-horizontal-offset:inherit;--mds-input-tip-horizontal-offset-focused:inherit;--mds-input-tip-vertical-offset:inherit;--mds-input-tip-background:inherit}:host(:focus){--mds-input-icon-color:rgb(var(--variant-primary-05,152 188 255));--mds-input-variant-color-rgb:var(--variant-primary-04,184 208 255)}:host([variant=ai]){--mds-input-icon-color:rgb(var(--variant-ai-04,218 199 253));--mds-input-tip-background:rgb(var(--variant-ai-05,202 174 251));--mds-input-variant-color-rgb:0 0 0}:host([variant=ai]:focus){--mds-input-icon-color:rgb(var(--variant-ai-05,202 174 251));--mds-input-variant-color-rgb:var(--variant-ai-04,218 199 253)}:host([variant=info]){--mds-input-icon-color:rgb(var(--status-info-04,159 216 241));--mds-input-tip-background:rgb(var(--status-info-05,112 198 234));--mds-input-variant-color-rgb:0 0 0}:host([variant=info]:focus){--mds-input-icon-color:rgb(var(--status-info-05,112 198 234));--mds-input-variant-color-rgb:var(--status-info-04,159 216 241)}:host([variant=success]){--mds-input-icon-color:rgb(var(--status-success-04,158 222 181));--mds-input-tip-background:rgb(var(--status-success-05,107 206 147));--mds-input-variant-color-rgb:0 0 0}:host([variant=success]:focus){--mds-input-icon-color:rgb(var(--status-success-05,107 206 147));--mds-input-variant-color-rgb:var(--status-success-04,158 222 181)}:host([variant=warning]){--mds-input-icon-color:rgb(var(--status-warning-04,255 200 33));--mds-input-tip-background:rgb(var(--status-warning-05,237 177 0));--mds-input-variant-color-rgb:0 0 0}:host([variant=warning]:focus){--mds-input-icon-color:rgb(var(--status-warning-05,237 177 0));--mds-input-variant-color-rgb:var(--status-warning-04,255 200 33)}:host([variant=error]){--mds-input-icon-color:rgb(var(--status-error-04,254 193 189));--mds-input-tip-background:rgb(var(--status-error-05,250 165 160));--mds-input-variant-color-rgb:0 0 0}:host([variant=error]:focus){--mds-input-icon-color:rgb(var(--status-error-05,250 165 160));--mds-input-variant-color-rgb:var(--status-error-04,254 193 189)}:host([pref-animation=reduce]){--private-input-transition-duration:0s}:host([pref-contrast=more]){--mds-input-ring:var(--shadow-outline-strong-50);--mds-input-background:rgb(var(--tone-neutral-09,76 76 76));--mds-input-controls-border:2px solid rgb(var(--tone-neutral-05,197 197 197))}:host([pref-contrast=more]) .input::placeholder{color:rgb(var(--tone-neutral-03,233 233 233))}:host([pref-contrast=more]) .input:-ms-placeholder-shown{color:rgb(var(--tone-neutral-03,233 233 233))}:host([pref-theme=dark]:not([pref-theme-scheme=light])){--mds-input-ring:var(--shadow-outline-50);--mds-input-background:rgb(var(--tone-neutral-09,76 76 76));--mds-input-controls-border:2px solid rgb(var(--tone-neutral-06,158 158 158))}:host([pref-theme=dark]:not([pref-theme-scheme=light])) .counter-button:hover{--mds-button-background:rgb(var(--tone-neutral-08,107 107 107))}.password-mask{align-items:center;background-color:var(--mds-input-background,rgb(var(--tone-neutral,0 0 0)));border-radius:var(--radius-xs,8px);bottom:0;display:flex;gap:calc(var(--spacing,.0025rem)*50);height:100%;justify-content:start;left:0;overflow:hidden;padding-left:calc(var(--spacing,.0025rem)*500);pointer-events:none;position:absolute;right:calc(var(--spacing,.0025rem)*1200);top:0}.password-mask:before{background-image:-webkit-gradient(linear,left top,right top,from(#0000),to(var(--mds-input-background,rgb(var(--tone-neutral,0 0 0)))));background-image:linear-gradient(to right,#0000,var(--mds-input-background,rgb(var(--tone-neutral,0 0 0))));bottom:0;content:"";display:inline-flex;position:absolute;right:0;top:0;width:calc(var(--spacing,.0025rem)*600)}.password-mask-items{background-color:rgb(var(--tone-neutral-08,107 107 107)/0);display:inline-flex;gap:calc(var(--spacing,.0025rem)*100);padding:calc(var(--spacing,.0025rem)*100)}.password-mask-item,.password-mask-items{border-radius:1000px;-webkit-transition-duration:var(--duration-300,.3s);transition-duration:var(--duration-300,.3s);transition-property:background-color;-webkit-transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1));transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1))}.password-mask-item{background-color:rgb(var(--tone-neutral-03,233 233 233));height:calc(var(--spacing,.0025rem)*200);width:calc(var(--spacing,.0025rem)*200)}:host(:focus-within) .password-mask-items{background-color:rgb(var(--tone-neutral-08,107 107 107))}@keyframes pulse{50%{opacity:.5}}@media (forced-colors:active){.input:focus{outline:2px solid #0000;outline-offset:2px}}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host([pref-animation=system]){--private-input-transition-duration:0s}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){--mds-input-ring:var(--shadow-outline-strong-50);--mds-input-background:rgb(var(--tone-neutral-09,76 76 76));--mds-input-controls-border:2px solid rgb(var(--tone-neutral-05,197 197 197))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))) .input::-webkit-input-placeholder{color:rgb(var(--tone-neutral-03,233 233 233))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))) .input:-ms-placeholder-shown{color:rgb(var(--tone-neutral-03,233 233 233))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))) .input::placeholder{color:rgb(var(--tone-neutral-03,233 233 233))}}@media (prefers-color-scheme:dark){:host(:not([pref-theme])),:host([pref-theme=system]:not([pref-theme-scheme=light])){--mds-input-ring:var(--shadow-outline-50);--mds-input-background:rgb(var(--tone-neutral-09,76 76 76));--mds-input-controls-border:2px solid rgb(var(--tone-neutral-06,158 158 158))}:is(:host([pref-theme=system]:not([pref-theme-scheme=light])),:host(:not([pref-theme]))) .counter-button:hover{--mds-button-background:rgb(var(--tone-neutral-08,107 107 107))}}'};var dt=t("mds_input",function(){function t(t){var e=this;i(this,t);this.changeEvent=r(this,"mdsInputChange");this.keyDownEvent=r(this,"mdsInputKeydown");this.blurEvent=r(this,"mdsInputBlur");this.focusEvent=r(this,"mdsInputFocus");this.speechEvent=r(this,"mdsInputSpeechEnd");this.validationEvent=r(this,"mdsInputValidation");if(t.$hostElement$["s-ei"]){this.internals=t.$hostElement$["s-ei"]}else{this.internals=t.$hostElement$.attachInternals();t.$hostElement$["s-ei"]=this.internals}this.speechToTextIcon=b;this.hasFocus=false;this.isRecording=false;this.countVariant="count-empty";this.isPasswordVisible=false;this.t=new l({el:A,en:S,es:q,it:W});this.autocomplete="off";this.autofocus=false;this.await=false;this.controlsLayout="vertical";this.controlsIcon="arrow";this.disabled=false;this.readonly=false;this.required=false;this.variant="primary";this.type="text";this.typography="detail";this.value="";this.countMaxLength=function(){var t,i,r;if(e.maxlength===undefined||e.maxlength===0||Number.isNaN(e.maxlength))return;if(e.value===undefined)return;e.currentLengthLabel="".concat((i=(t=e.value)===null||t===void 0?void 0:t.length)!==null&&i!==void 0?i:0," / ").concat(e.maxlength);var n=Math.round(e.value.length*100/e.maxlength);if(((r=e.value)===null||r===void 0?void 0:r.length)===e.maxlength){e.countVariant="count-full";return}if(n>=100){e.countVariant="count-full";return}if(n>=75){e.countVariant="count-almost-full";return}if(n>=50){e.countVariant="count-almost";return}if(n>=25){e.countVariant="count-incomplete";return}e.countVariant="count-empty"};this.onInput=function(t){var i=t.target;if(i){e.value=i.value;e.internals.setFormValue(e.value)}e.keyDownEvent.emit(t)};this.onBlur=function(){e.hasFocus=false;e.validateInput();e.blurEvent.emit()};this.onFocus=function(t){var i=t.target;e.hasFocus=true;e.focusEvent.emit();if(e.readonly){setTimeout((function(){i.select()}),10)}};this.stepUp=function(){if(e.nativeInput&&!e.readonly&&!e.disabled){e.nativeInput.stepUp();e.value=e.nativeInput.value}};this.stepDown=function(){if(e.nativeInput&&!e.readonly&&!e.disabled){e.nativeInput.stepDown();e.value=e.nativeInput.value}};this.toggleTextRecognition=function(){e.isRecording=!e.isRecording;if(!e.isRecording){e.speechToTextLabel=e.t.get("speechToTextOn");e.speechToTextIcon=b;e.stopRecognition();return}e.speechToTextLabel=e.t.get("speechToTextOff");e.speechToTextIcon=d;e.startRecognition()};this.handlePasswordToggleClick=function(){e.isPasswordVisible=!e.isPasswordVisible};this.onSpeechRecognitionError=function(){console.error("SpeechRecognition API may not work properly on Chrome based browsers.");e.speechButton.classList.remove("mic-toggle-button--recording");e.speechButton.classList.add("toggle-button--error");e.isRecording=false;e.speechToTextLabel=e.t.get("speechToTextError");e.speechToTextIcon=w};this.startRecognition=function(){var t,i,r;if(e.speechButton==null){e.speechButton=(i=(t=e.el)===null||t===void 0?void 0:t.shadowRoot)===null||i===void 0?void 0:i.querySelector(".mic-toggle-button")}var n=(r=window.SpeechRecognition)!==null&&r!==void 0?r:window.webkitSpeechRecognition;e.value="";if(!n){e.onSpeechRecognitionError();return}e.recognition=new n;e.recognition.continuous=true;e.recognition.lang=navigator.language||"it-IT";e.recognition.interimResults=true;e.recognition.maxAlternatives=1;var o="";var a=0;e.recognition.onresult=function(t){var i=t.results;var r=i[a];if(r.isFinal){o+=r[0].transcript;e.value=o;a+=1;return}e.value=o+r[0].transcript};e.recognition.onerror=function(t){console.error("SpeechRecognition API error:",t.error);e.onSpeechRecognitionError()};e.recognition.start()};this.stopRecognition=function(){if(e.recognition){e.recognition.stop();e.speechEvent.emit()}}}t.prototype.updateLang=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.language=this.t.lang(this.el);this.t.update();return[2]}))}))};t.prototype.formResetCallback=function(){this.internals.setFormValue("")};t.prototype.connectedCallback=function(){var t=this;this.unsubscribePrefAnimation=p("animation",(function(i){t.prefAnimation=i}));this.unsubscribePrefContrast=p("contrast",(function(i){t.prefContrast=i}));this.unsubscribePrefTheme=p("theme",(function(i){t.prefTheme=i}));this.unsubscribePrefThemeScheme=p("theme-scheme",(function(i){t.prefThemeScheme=i}));this.datalistId="datalist-".concat(h())};t.prototype.disconnectedCallback=function(){var t,i,r,e;(t=this.unsubscribePrefAnimation)===null||t===void 0?void 0:t.call(this);(i=this.unsubscribePrefContrast)===null||i===void 0?void 0:i.call(this);(r=this.unsubscribePrefTheme)===null||r===void 0?void 0:r.call(this);(e=this.unsubscribePrefThemeScheme)===null||e===void 0?void 0:e.call(this)};t.prototype.componentWillLoad=function(){var t;this.language=this.t.lang(this.el);this.speechToTextLabel=this.t.get("speechToTextOn");if(this.el.hasAttribute("tabindex")){var i=this.el.getAttribute("tabindex");this.tabindex=i!==null?parseInt(i):undefined;this.el.removeAttribute("tabindex")}this.internals.setFormValue((t=this.value)!==null&&t!==void 0?t:null);this.maxLengthChanged(this.maxlength);this.isValid=!(this.required&&this.value==="")};t.prototype.componentDidLoad=function(){var t,i,r;this.inputValidation=ut(this.type);this.setValidators();(t=this.nativeInput)===null||t===void 0?void 0:t.setAttribute("pattern",String(this.inputValidation.pattern));if(this.autofocus){(i=this.nativeInput)===null||i===void 0?void 0:i.focus()}this.variantChanged((r=this.variant)!==null&&r!==void 0?r:"primary")};t.prototype.setValidators=function(){if(this.required)this.inputValidation.validator.addValidator($);if(this.max!==""&&Number(this.max)!==0&&!Number.isNaN(Number(this.max)))this.inputValidation.validator.addValidator(tt(Number(this.max)));if(this.min!==""&&Number(this.min)!==0&&!Number.isNaN(Number(this.min)))this.inputValidation.validator.addValidator(it(Number(this.max)));if(this.maxlength!==undefined&&this.maxlength!==0&&!Number.isNaN(this.maxlength))this.inputValidation.validator.addValidator(rt(this.maxlength));if(this.minlength!==undefined&&this.minlength!==0&&!Number.isNaN(this.minlength))this.inputValidation.validator.addValidator(et(this.minlength))};t.prototype.valueChanged=function(){var t;this.changeEvent.emit({value:this.value});this.internals.setFormValue((t=this.value)!==null&&t!==void 0?t:null);if(this.maxlength!==undefined){this.countMaxLength()}if(this.value==="")return;if(!this.isValid)this.validateInput()};t.prototype.variantChanged=function(t){if(t==="ai"&&this.icon===undefined){this.icon=f}};t.prototype.maxLengthChanged=function(t){if(t===undefined)return;if(t<=0){this.maxlength=undefined;return}this.countMaxLength()};t.prototype.addValidator=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(i){this.inputValidation.validator.addValidator(t);return[2,Promise.resolve()]}))}))};t.prototype.removeValidator=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(i){this.inputValidation.validator.removeValidator(t);return[2]}))}))};t.prototype.hasValidator=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(i){return[2,this.inputValidation.validator.hasValidator(t)]}))}))};t.prototype.getErrors=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,Promise.resolve(this.inputValidation.validator.errors)]}))}))};t.prototype.validateInput=function(){if(this.inputValidation.validator.hasValidator()){this.isValid=this.inputValidation.isValid(this.value);if(this.value===""&&!this.required)this.variant="primary";else this.variant=this.isValid?"success":"error";this.validationEvent.emit(this.isValid)}return this.isValid};t.prototype.disabledChanged=function(t){if(t){this.internals.setFormValue(null)}};t.prototype.setFocus=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){if(this.nativeInput){this.nativeInput.focus()}return[2]}))}))};t.prototype.getInputElement=function(){return Promise.resolve(this.nativeInput)};t.prototype.componentWillRender=function(){this.t.lang(this.el)};t.prototype.render=function(){var t=this;var i,r,o;return e(n,{key:"0d7460db7aad441110cd7f4d47764c2d9e791108","pref-animation":this.prefAnimation,"pref-contrast":this.prefContrast,"pref-theme":this.prefTheme,"pref-theme-scheme":this.prefThemeScheme},this.type==="number"&&this.controlsLayout==="horizontal"&&e("mds-button",{key:"c172027bf96b0c93dbf96d248a1c88b301039e45",class:"counter-button counter-button--horizontal counter-button--decrease",icon:this.controlsIcon==="arrow"?s:c,onClick:this.stepDown,tabindex:"0",title:this.t.get("decrease"),variant:"dark",tone:"text",part:"counter-button-decrease"}),this.type==="textarea"?e("textarea",{class:a("input",((i=this.icon)!==null&&i!==void 0?i:this.await)&&"has-icon",this.mic&&"has-right-icon"),autoFocus:this.autofocus,disabled:this.disabled,maxLength:this.maxlength,minLength:this.minlength,name:this.name,onBlur:this.onBlur,onFocus:this.onFocus,onInput:this.onInput,part:"field",placeholder:this.placeholder,readOnly:this.readonly,ref:function(i){return t.nativeInput=i},required:this.required,tabIndex:this.tabindex,value:this.value}):e("input",{class:a("input",((r=this.icon)!==null&&r!==void 0?r:this.await)&&"has-icon",this.mic&&"has-right-icon"),autoComplete:this.autocomplete,autoFocus:this.autofocus,disabled:this.disabled,max:this.max,maxLength:this.maxlength,min:this.min,minLength:this.minlength,name:this.name,onBlur:this.onBlur,onFocus:this.onFocus,onInput:this.onInput,pattern:this.pattern,list:this.datalistId,part:"field",placeholder:this.placeholder,readOnly:this.readonly,ref:function(i){return t.nativeInput=i},required:this.required,step:this.step,tabIndex:this.tabindex,type:this.type==="password"&&this.isPasswordVisible?"text":this.type,value:this.value}),this.type==="number"&&this.controlsLayout==="vertical"&&e("div",{key:"f3a88361f0941911d29d0c6d705d0960857a336b",class:"counter counter--vertical"},e("mds-button",{key:"0843bbc7172058eab2b159c3886f196f64220f82",class:"counter-button",icon:this.controlsIcon==="arrow"?u:m,onClick:this.stepUp,tabindex:"0",title:this.t.get("increase"),variant:"dark",size:"sm",tone:"text",part:"counter-button-increase"}),e("mds-button",{key:"3e820603b927109d00d1619f9767543ce99cb0d4",class:"counter-button",icon:this.controlsIcon==="arrow"?s:c,onClick:this.stepDown,tabindex:"0",title:this.t.get("decrease"),variant:"dark",size:"sm",tone:"text",part:"counter-button-decrease"})),this.type==="number"&&this.controlsLayout==="horizontal"&&e("mds-button",{key:"eb607c83b10df8828ad70794795a098fc6b14105",class:"counter-button counter-button--horizontal counter-button--increase",variant:"dark",tone:"text",icon:this.controlsIcon==="arrow"?u:m,onClick:this.stepUp,tabindex:"0",title:this.t.get("increase"),part:"counter-button-increase"}),this.type==="password"&&e("mds-button",{key:"94118a6d845831badad930088ff46643c3247d9f",class:"password-toggle-button",variant:"dark",tone:"text",icon:this.isPasswordVisible?g:v,onClick:this.handlePasswordToggleClick,tabindex:"0",title:this.isPasswordVisible?this.t.get("hidePassword"):this.t.get("showPassword"),part:"password-toggle-button"}),this.type==="password"&&!this.isPasswordVisible&&((o=this.value)===null||o===void 0?void 0:o.length)>0&&e("div",{key:"4026d3f3e1fef4cb7ed4f8f5ba6e5da8ebc0909d",class:"password-mask"},e("div",{key:"c7cebe84657042702702c76d9e60e57423ca4350",class:"password-mask-items",part:"password-mask-items"},Array.from({length:this.value.length}).map((function(t,i){return e("div",{key:i,class:"password-mask-item",part:"password-mask-item"})})))),this.mic&&e("mds-button",{key:"7c2c2928717675d31808a25d3f42b3ebb1d3470a",class:a("mic-toggle-button",this.isRecording&&"mic-toggle-button--recording"),icon:this.speechToTextIcon,onClick:this.toggleTextRecognition,tabindex:"0",title:this.speechToTextLabel,variant:"dark",tone:"text",part:"mic-toggle-button"}),e("mds-input-tip",{key:"5f0cb96e29178d3b1ab54c3172cec7123aab665a",lang:this.language,position:"top",active:this.hasFocus,part:"tip-top"},this.disabled&&e("mds-input-tip-item",{key:"d0bd26011d9831b88c3e3d5cbe4aacb7e7d5f1f9",expanded:true,variant:"disabled"}),this.readonly&&e("mds-input-tip-item",{key:"7f36c1740c4ce9835e361b423a6e569d0d9b9c1d",expanded:true,variant:"readonly"}),this.required&&e("mds-input-tip-item",{key:"e9208eb5f269492e0700196bf2837fd00a7558c2",expanded:this.hasFocus,variant:this.isValid?"required-success":"required"})),e("mds-input-tip",{key:"faa8b92c6f881b6945923162b6f3a9ffb14311cf",lang:this.language,position:"bottom",active:this.hasFocus,part:"tip-bottom"},this.tip&&e("mds-input-tip-item",{key:"dbb4cd6b9525f2e27e685886d158848fc9fc3096",expanded:true,variant:"text"},this.tip),this.maxlength&&e("mds-input-tip-item",{key:"4be41bf4d722fb252bb55bb9a6f069277ba50b23",part:"tip-count",expanded:true,variant:this.countVariant},this.currentLengthLabel)),this.datalist&&e("datalist",{key:"18f5d2db217e70e0e96769550630eb21e41fa4fd",id:this.datalistId,class:"datalist"},this.datalist.map((function(t,i){return e("option",{key:i,value:t})}))),this.icon&&!this.await&&e("mds-icon",{key:"be8705af2bfacf0b7b36b2e3d4c2b0267f2d9875",class:a("icon",this.variant),name:this.icon}),e("mds-spinner",{key:"c3644543256d040a5f9538c2ab60ec07feed04fe",running:this.await,class:a("await",this.variant)}))};Object.defineProperty(t,"formAssociated",{get:function(){return true},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"el",{get:function(){return o(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{value:[{valueChanged:0}],variant:[{variantChanged:0}],maxlength:[{maxLengthChanged:0}],disabled:[{disabledChanged:0}]}},enumerable:false,configurable:true});return t}());dt.style=ct()}}}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as a,h as t,H as e,g as r}from"./p-CAd5312P.js";import{L as o}from"./p-a4oAcjYG.js";import{i as s}from"./p-Dje8Mggf.js";import{s as i}from"./p-fMwnXhio.js";var n={selectRow:"Επιλογή γραμμής",unselectRow:"Αποεπιλογή γραμμής"},l={selectRow:"Select row",unselectRow:"Deselect row"},c={selectRow:"Seleccionar fila",unselectRow:"Deseleccionar fila"},d={selectRow:"Seleziona riga",unselectRow:"Deseleziona riga"};const b=class{constructor(t){a(this,t),this.hasActions=!0,this.t=new o({el:n,en:l,es:c,it:d}),this.selectable=void 0,this.handleSelectionChange=a=>{var t;this.selected=a.detail.checked,null===(t=this.host.closest("mds-table"))||void 0===t||t.updateSelection()}}async updateLang(){this.language=this.t.lang(this.host),this.t.update()}connectedCallback(){this.unsubscribePrefAnimation=i("animation",(a=>{this.prefAnimation=a}))}componentWillLoad(){this.language=this.t.lang(this.host),this.hasActions=null!==this.host.querySelector(':scope > [slot="action"]')}componentDidLoad(){this.hasActions&&this.initObserver()}initObserver(){this.observer=new ResizeObserver((a=>{this.sizerWidth=`${a[0].borderBoxSize[0].inlineSize.toString()}px`})),this.observer.observe(this.actions)}disconnectedCallback(){var a;null===(a=this.unsubscribePrefAnimation)||void 0===a||a.call(this),this.observer&&this.observer.disconnect()}render(){return t(e,{key:"86bc97a2f6d1335bc792d15d857c001fc4a3110f",role:"row","pref-animation":this.prefAnimation},this.selectable&&t("mds-table-cell",{key:"a92574ce351c4779c2e5335f81e7965fdb9bdbad",class:"selection-cell"},t("div",{key:"5ebfe21be4854c967498e554a2da9f38e91c33c8",class:"checkbox-wrapper"},t("mds-input-switch",{key:"1bd177a4922b0bdd3501b07ffe9012f424b56e8c",title:this.t.get(this.selected?"unselectRow":"selectRow"),lang:this.language,type:"checkbox",checked:this.selected,onMdsInputSwitchChange:this.handleSelectionChange}))),t("slot",{key:"6bc38542f3588754cd23d73e36872393a6f50b12"}),this.hasActions&&s()&&t("mds-table-cell",{key:"4ac2f11075ecb26f0e88489a3bc702fc760ced8c",class:"actions-cell actions-cell--disable"},t("div",{key:"4faadef9e03a6a811efea4eb1f27cda8f64a4352",class:"actions"},t("slot",{key:"398f2fbce1fb64bd757a69d3099a13ee7f67b9af",name:"action"}))),this.hasActions&&!s()&&t("mds-table-cell",{key:"46098974730dfa191c4cc9d0bd98e65fd4ee2693",class:"actions-cell"},t("div",{key:"fd7f848689421936803b1b1b91fa6ff89f9a8f33",class:"actions-sizer",style:{minHeight:"1px",maxWidth:this.sizerWidth,minWidth:this.sizerWidth}}),t("div",{key:"3aad1e774b7204674baadc1a8a34d500b47fe301",class:"actions-view"},t("div",{key:"04c70da921a5453703a162135f702c8d0003181d",class:"actions",ref:a=>this.actions=a,style:{marginRight:`calc(${this.sizerWidth} + var(--mds-table-cell-padding))`}},t("slot",{key:"9567f90a09bfab25b54f2d9f0f610c9dc918dcbe",name:"action"})))))}get host(){return r(this)}};b.style='@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--mds-table-row-color-hover:rgb(var(--tone-neutral-02,244 244 244));--mds-table-row-color-alt:rgb(var(--tone-neutral-02,244 244 244));--mds-table-row-background-hover:rgb(var(--tone-neutral,0 0 0));--mds-table-row-background-alt:rgb(var(--tone-neutral,0 0 0));--mds-table-row-actions-gap:calc(var(--spacing,.0025rem)*400);--tw-ease:initial}}}:host(:not(:is([hydrated],.hydrated))),:is(mds-input-switch,mds-table-cell):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-table-row-color-hover:var(--mds-table-color,rgb(var(--tone-neutral-02,244 244 244)));--mds-table-row-color-alt:var(--mds-table-color-alt,rgb(var(--tone-neutral-02,244 244 244)));--mds-table-row-background-hover:var(--mds-table-background,rgb(var(--tone-neutral,0 0 0)));--mds-table-row-background-alt:var(--mds-table-background-alt,rgb(var(--tone-neutral,0 0 0)));--mds-table-row-actions-gap:var(--mds-table-actions-gap,calc(var(--spacing,.0025rem)*400));--mds-table-row-transition-duration:var(--duration-200,.2s);--private-table-row-transition-duration:var(--mds-table-row-transition-duration);--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1));color:var(--mds-table-row-color);display:table-row;position:relative;-webkit-transition-duration:var(--private-table-row-transition-duration);transition-duration:var(--private-table-row-transition-duration);transition-property:color;transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1))}.selection-cell{vertical-align:middle}.checkbox-wrapper{display:flex}:host([interactive]:hover){--mds-table-row-actions-background:var(--mds-table-row-background-hover,rgb(var(--tone-neutral,0 0 0)));--mds-table-row-background:var(--mds-table-row-background-hover,rgb(var(--tone-neutral,0 0 0)));--mds-table-row-color:var(--mds-table-row-color-hover,rgb(var(--tone-neutral-02,244 244 244)))}:host([selected]){--mds-table-row-background:var(--mds-table-row-background-hover,rgb(var(--tone-neutral,0 0 0)));--mds-table-row-color:var(--mds-table-row-color-hover,rgb(var(--tone-neutral-02,244 244 244)))}:host([sorted]){--mds-table-row-background:var(--mds-table-row-background-alt,rgb(var(--tone-neutral,0 0 0)));--mds-table-row-color:var(--mds-table-row-color-alt,rgb(var(--tone-neutral-02,244 244 244)))}:host([sorted][selected]){--mds-table-row-background:var(--mds-table-row-background-hover,rgb(var(--tone-neutral,0 0 0)));--mds-table-row-color:var(--mds-table-row-color-hover,rgb(var(--tone-neutral-02,244 244 244)))}.actions-view{display:flex;justify-content:end;pointer-events:none;position:absolute}.actions,.actions-view{align-items:center;inset:0}.actions{--mds-table-row-actions-background:var(--mds-table-row-background);background-color:var(--mds-table-row-actions-background);border-bottom-left-radius:calc(var(--radius-lg,16px) + var(--mds-table-border-width,2px)*2);border-top-left-radius:calc(var(--radius-lg,16px) + var(--mds-table-border-width,2px)*2);display:inline-flex;gap:var(--mds-table-row-actions-gap,calc(var(--spacing,.0025rem)*400));margin-right:100%;padding:calc(var(--mds-table-border-width,2px)*2);padding-right:0;pointer-events:auto;position:sticky;transform:translate(100%);transition-duration:.5s;transition-property:transform,background-color,padding-right;-webkit-transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1));transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1))}:host(:hover) .actions{transform:translate(100%)}:host([overlay-actions]) .actions{padding-right:var(--mds-table-cell-padding,calc(var(--spacing,.0025rem)*400));transform:translate(100%)}:host([overlay-actions]:hover) .actions{--mds-table-row-actions-background:var(--mds-table-row-background);transform:translate(0)}:host(:not([interactive]):hover) .actions{--mds-table-row-actions-background:var(--mds-table-row-background-hover,rgb(var(--tone-neutral,0 0 0)))}:host([selection]:not([interactive]):not([selected]):hover) .actions{--mds-table-row-actions-background:var(--mds-table-row-background-alt,rgb(var(--tone-neutral,0 0 0)))}.actions-cell--disable,.actions-cell--disable .actions{position:static!important}.actions-cell--disable .actions{margin-right:0!important;transform:translate(0)!important}:host([pref-animation=reduce]){--private-table-row-transition-duration:0s}@property --tw-ease{syntax:"*";inherits:false}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host([pref-animation=system]){--private-table-row-transition-duration:0s}}';export{b as mds_table_row}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,c as r,h as e,H as o,g as a}from"./p-CAd5312P.js";import{m as n}from"./p-DnEUG7st.js";import{K as s}from"./p-BudfaWhu.js";import{L as d}from"./p-a4oAcjYG.js";var b={back:"Πήγαινε πίσω"},i={back:"Go back"},c={back:"Volver atrás"},u={back:"Indietro"};const l=class{constructor(e){t(this,e),this.changedEvent=r(this,"mdsBreadcrumbChange"),this.kb=new s,this.t=new d({el:b,en:i,es:c,it:u}),this.hideBack=!1,this.queryItems=()=>this.element.querySelectorAll("mds-breadcrumb-item"),this.updateBackButton=t=>{var r;if(this.hideBack)return;const e=null===(r=this.element.shadowRoot)||void 0===r?void 0:r.querySelector(".back");if(0===t)return e.setAttribute("disabled",""),void this.kb.detachClickBehavior();e.removeAttribute("disabled"),this.kb.attachClickBehavior()},this.togglePrevious=()=>{const t=this.element.querySelector("mds-breadcrumb-item[selected]");if(!t)return;const r=Number(t.id.replace("item-","")),e=this.queryItems();let o=0;e.forEach(((t,e)=>{t.selected=e===r-1,t.selected&&(o=e)})),this.updateBackButton(o),this.onChanged(o,t)},this.onChanged=(t,r)=>{this.changedEvent.emit({id:t.toString(),caller:r})}}async updateLang(){this.language=this.t.lang(this.element)}componentDidLoad(){var t;this.queryItems().forEach(((t,r)=>t.id=`item-${r}`));const r=this.element.querySelector("mds-breadcrumb-item[selected]");if(r&&"item-0"!==r.id||this.updateBackButton(0),!this.hideBack){const r=null===(t=this.element.shadowRoot)||void 0===t?void 0:t.querySelector(".back");this.kb.addElement(r),this.kb.attachClickBehavior()}}componentDidUpdate(){var t;if(!this.hideBack){const r=null===(t=this.element.shadowRoot)||void 0===t?void 0:t.querySelector(".back");return this.kb.addElement(r),void this.kb.attachClickBehavior()}this.kb.detachClickBehavior()}componentWillRender(){this.t.lang(this.element)}disconnectedCallback(){this.kb.detachClickBehavior()}activedEventHandler(t){const r=this.queryItems();let e=0;r.forEach(((r,o)=>{r.selected=`item-${o}`===t.detail.id&&t.detail.selected,r.selected&&(e=o)})),this.updateBackButton(e),this.onChanged(e,t.target)}render(){return e(o,{key:"816f24af4192b1e5fb296887f817fbdde2a3fb68"},!this.hideBack&&e("mds-button",{key:"75c612c333cc14a018500bd3fc14ccff835ad642",title:this.t.get("back"),class:"back",tone:"text",variant:"dark",icon:n,onClick:this.togglePrevious}),e("slot",{key:"49aa5944b4553e82bf19d34bde70adc14aee0ccc"}))}get element(){return a(this)}};l.style='@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){:host,:root{--mds-breadcrumb-arrow-depth-color:rgb(var(--tone-neutral-04,218 218 218));--mds-breadcrumb-button-background-current:rgb(var(--tone-neutral-09,76 76 76));--mds-breadcrumb-button-background-disabled:#0000;--mds-breadcrumb-button-background-hover:rgb(var(--tone-neutral-10,60 60 60));--mds-breadcrumb-button-background:#0000;--mds-breadcrumb-button-color-current:rgb(var(--tone-neutral-01,255 255 255));--mds-breadcrumb-button-color-disabled:rgb(var(--tone-neutral-06,158 158 158));--mds-breadcrumb-button-color-hover:rgb(var(--tone-neutral-02,244 244 244));--mds-breadcrumb-button-color:rgb(var(--tone-neutral-02,244 244 244));--mds-breadcrumb-current-button-color:rgb(var(--tone-neutral-05,197 197 197))}}}:host(:not(:is([hydrated],.hydrated))),mds-button:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}@property --mds-breadcrumb-button-background-disabled{syntax:"<color>";inherits:true;initial-value:#0000}@property --mds-breadcrumb-button-background{syntax:"<color>";inherits:true;initial-value:#0000}:host{--mds-breadcrumb-arrow-depth-color:rgb(var(--tone-neutral-04,218 218 218));--mds-breadcrumb-button-background-current:rgb(var(--tone-neutral-09,76 76 76));--mds-breadcrumb-button-background-disabled:#0000;--mds-breadcrumb-button-background-hover:rgb(var(--tone-neutral-10,60 60 60));--mds-breadcrumb-button-background:#0000;--mds-breadcrumb-button-color-current:rgb(var(--tone-neutral-01,255 255 255));--mds-breadcrumb-button-color-disabled:rgb(var(--tone-neutral-06,158 158 158));--mds-breadcrumb-button-color-hover:rgb(var(--tone-neutral-02,244 244 244));--mds-breadcrumb-button-color:rgb(var(--tone-neutral-02,244 244 244));--mds-breadcrumb-current-button-color:rgb(var(--tone-neutral-05,197 197 197));-webkit-overflow-scrolling:touch;-ms-overflow-style:none;align-items:center;display:flex;gap:0;overflow:auto;padding:calc(var(--spacing,.0025rem)*200);scroll-behavior:smooth;-webkit-scroll-snap-type:x mandatory;-ms-scroll-snap-type:x mandatory;scroll-snap-type:x mandatory;scrollbar-width:none;width:100%}:host::-webkit-scrollbar{display:none}';export{l as mds_breadcrumb}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as a,h as t,H as i}from"./p-CAd5312P.js";const s=class{constructor(t){a(this,t)}render(){return t(i,{key:"61a4dc9195da0950bbf27a0403e37cfda7ba20ba",role:"list"},t("slot",{key:"f698fed656a47046f0b04bb9ce2f4f53a7c76033"}))}};s.style="@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),mds-list-item:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{display:grid;gap:calc(var(--spacing,.0025rem)*400);padding-left:calc(var(--spacing,.0025rem)*400)}ul{margin:0;padding:0}";export{s as mds_list}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var __awaiter=this&&this.__awaiter||function(e,r,a,n){function t(e){return e instanceof a?e:new a((function(r){r(e)}))}return new(a||(a=Promise))((function(a,l){function i(e){try{s(n.next(e))}catch(e){l(e)}}function o(e){try{s(n["throw"](e))}catch(e){l(e)}}function s(e){e.done?a(e.value):t(e.value).then(i,o)}s((n=n.apply(e,r||[])).next())}))};var __generator=this&&this.__generator||function(e,r){var a={label:0,sent:function(){if(l[0]&1)throw l[1];return l[1]},trys:[],ops:[]},n,t,l,i=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return i.next=o(0),i["throw"]=o(1),i["return"]=o(2),typeof Symbol==="function"&&(i[Symbol.iterator]=function(){return this}),i;function o(e){return function(r){return s([e,r])}}function s(o){if(n)throw new TypeError("Generator is already executing.");while(i&&(i=0,o[0]&&(a=0)),a)try{if(n=1,t&&(l=o[0]&2?t["return"]:o[0]?t["throw"]||((l=t["return"])&&l.call(t),0):t.next)&&!(l=l.call(t,o[1])).done)return l;if(t=0,l)o=[o[0]&2,l.value];switch(o[0]){case 0:case 1:l=o;break;case 4:a.label++;return{value:o[1],done:false};case 5:a.label++;t=o[1];o=[0];continue;case 7:o=a.ops.pop();a.trys.pop();continue;default:if(!(l=a.trys,l=l.length>0&&l[l.length-1])&&(o[0]===6||o[0]===2)){a=0;continue}if(o[0]===3&&(!l||o[1]>l[0]&&o[1]<l[3])){a.label=o[1];break}if(o[0]===6&&a.label<l[1]){a.label=l[1];l=o;break}if(l&&a.label<l[2]){a.label=l[2];a.ops.push(o);break}if(l[2])a.ops.pop();a.trys.pop();continue}o=r.call(e,a)}catch(e){o=[6,e];t=0}finally{n=l=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};System.register(["./p-DI5DWqw4.system.js","./p-BJKToXNf.system.js","./p-DcKeJ0td.system.js","./p-BMAK4u5Y.system.js","./p-Qrub-hmK.system.js"],(function(e){"use strict";var r,a,n,t,l,i,o,s,c;return{setters:[function(e){r=e.r;a=e.c;n=e.h;t=e.H;l=e.g},function(e){i=e.D},function(e){o=e.L},function(e){s=e.s},function(e){c=e.c}],execute:function(){var d='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M6.23 20.23L8 22l10-10L8 2L6.23 3.77L14.46 12z"/></svg>';var h='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M17.77 3.77L16 2L6 12l10 10l1.77-1.77L9.54 12z"/></svg>';var u=function(){return'@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--mds-calendar-day-number-other-month-color:rgb(var(--tone-neutral-07,134 134 134));--mds-calendar-day-number-color:rgb(var(--tone-neutral-01,255 255 255));--mds-calendar-cell-gap:var(--gap-50);--mds-calendar-cell-other-month-visibility:visible;--mds-calendar-border-radius:var(--radius-lg,16px);--mds-calendar-background:rgb(var(--tone-neutral,0 0 0));--mds-calendar-padding:calc(var(--spacing,.0025rem)*400);--mds-calendar-select-month-or-year-height:calc(var(--spacing,.0025rem)*900);--mds-calendar-select-month-or-year-width:14rem}}}:host(:not(:is([hydrated],.hydrated))),:is(mds-button,mds-calendar-cell):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}@property --mds-calendar-cell-other-month-visibility{syntax:"visible|hidden";inherits:false;initial-value:visible}@property --mds-calendar-select-month-or-year-width{syntax:"<length>";inherits:false;initial-value:14rem}:host{--mds-calendar-day-number-other-month-color:rgb(var(--tone-neutral-07,134 134 134));--mds-calendar-day-number-color:rgb(var(--tone-neutral-01,255 255 255));--mds-calendar-cell-gap:calc(var(--spacing,.0025rem)*50);--mds-calendar-cell-other-month-visibility:visible;--mds-calendar-border-radius:var(--radius-lg,16px);--mds-calendar-background:rgb(var(--tone-neutral,0 0 0));--mds-calendar-padding:calc(var(--spacing,.0025rem)*400);--mds-calendar-select-month-or-year-height:calc(var(--spacing,.0025rem)*900);--mds-calendar-select-month-or-year-width:14rem;--mds-calendar-max-width:480px;--mds-calendar-min-width:280px;background-color:rgb(var(--tone-neutral-09,76 76 76));border-radius:var(--mds-calendar-border-radius,var(--radius-lg,16px));cursor:auto;display:inline-flex;max-width:var(--mds-calendar-max-width);min-width:max-content;overflow:hidden}.calendar-view{background-color:var(--mds-calendar-background,rgb(var(--tone-neutral,0 0 0)));border-radius:inherit;box-sizing:border-box;display:grid;flex:auto;width:100%}.calendar-preselection,.calendar-view{padding:var(--mds-calendar-padding,calc(var(--spacing,.0025rem)*400))}.calendar-preselection{display:none;gap:calc(var(--spacing,.0025rem)*50);grid-auto-rows:-webkit-min-content;grid-auto-rows:min-content}.calendar-preselection--has-preselection{display:grid}nav{display:flex;gap:calc(var(--spacing,.0025rem)*200);justify-content:space-between;min-width:0}.action{-ms-flex-pack:left;justify-content:left;min-width:min-content;padding-left:calc(var(--spacing,.0025rem)*200);padding-right:calc(var(--spacing,.0025rem)*200)}.action-back,.action-forward{flex-shrink:0}.select-month-or-year{align-items:stretch;background-color:rgb(var(--tone-neutral-09,76 76 76));block-size:var(--mds-calendar-select-month-or-year-height,calc(var(--spacing,.0025rem)*900));border-radius:var(--mds-calendar-border-radius,var(--radius-lg,16px));box-sizing:border-box;display:flex;-ms-flex:0 0 var(--mds-calendar-select-month-or-year-width,14rem);flex:0 0 var(--mds-calendar-select-month-or-year-width,14rem);height:var(--mds-calendar-select-month-or-year-height,calc(var(--spacing,.0025rem)*900));inline-size:var(--mds-calendar-select-month-or-year-width,14rem);justify-content:flex-start;max-block-size:var(--mds-calendar-select-month-or-year-height,calc(var(--spacing,.0025rem)*900));max-height:var(--mds-calendar-select-month-or-year-height,calc(var(--spacing,.0025rem)*900));max-inline-size:var(--mds-calendar-select-month-or-year-width,14rem);min-block-size:var(--mds-calendar-select-month-or-year-height,calc(var(--spacing,.0025rem)*900));min-height:var(--mds-calendar-select-month-or-year-height,calc(var(--spacing,.0025rem)*900));min-inline-size:var(--mds-calendar-select-month-or-year-width,14rem);overflow:hidden}.action-month,.action-year{--mds-button-radius:0;align-self:stretch;block-size:100%;box-sizing:border-box;cursor:default;height:100%;max-block-size:100%;max-height:100%;min-block-size:0;min-height:0;padding-left:calc(var(--spacing,.0025rem)*200);padding-right:calc(var(--spacing,.0025rem)*200)}.action-month{flex:auto;min-width:0}.action-year{flex:0 0 4.5rem}.action-month::part(label),.action-year::part(label){overflow:visible;text-overflow:clip;white-space:nowrap}.week-day-name{align-items:center;aspect-ratio:1;min-height:auto;padding:0}.month-view__cells,.month-view__days-names{display:grid;gap:var(--mds-calendar-cell-gap,var(--gap-50));grid-template-columns:repeat(7,minmax(1px,100%));min-width:0}.month-view{display:grid}.month-view__month-names,.month-view__years{display:grid;gap:var(--mds-calendar-cell-gap,var(--gap-50));grid-template-columns:repeat(3,minmax(1px,100%));min-width:0}'};var m=e("mds_calendar",function(){function e(e){var n=this;r(this,e);this.datesEmitter=a(this,"mdsCalendarChange");this.navigationEmitter=a(this,"mdsCalendarNavigate");this.hoverEmitter=a(this,"mdsCalendarHover");this.checkPreselectionsEmitter=a(this,"mdsCalendarPreselect");this.hasPreselection=false;this.currentDate=i.now();this.weekDaysinMonth=[];this.weekdays=[];this.startDateIdentifier=null;this.endDateIdentifier=null;this.isFirstClick=true;this.currentView="calendar";this.selectedYear=this.currentDate.year;this.t=new o({it:{},en:{},es:{},el:{}});this.rangePicker=true;this.showPreviousButton=true;this.showNextButton=true;this.disableMonthYearSelection=false;this.showPreselection=false;this.viewDate=null;this.hoverDate=null;this.startDate=null;this.endDate=null;this.min=null;this.max=null;this.internalStartDate=this.startDate;this.internalEndDate=this.endDate;this.currentMonth="";this.currentYear="";this.handleMouseOver=function(e){var r=e.target;if(!r.matches("mds-calendar-cell")||!n.rangePicker||n.internalStartDate===null||n.internalStartDate===""||n.internalEndDate!==null&&n.internalEndDate!==""){return}var a=r.getAttribute("date");if(a!==null&&a!==""){n.hoverEmitter.emit({hoverDate:a})}};this.handleMouseLeave=function(){if(!n.rangePicker||n.internalStartDate===null||n.internalStartDate===""||n.internalEndDate!==null&&n.internalEndDate!==""||n.hoverDate===null||n.hoverDate===""){return}n.hoverEmitter.emit({hoverDate:null})};this.handleMonthActionClick=function(e){e.stopPropagation();if(n.disableMonthYearSelection){e.preventDefault();return}n.currentView=n.currentView==="months"?"calendar":"months";requestAnimationFrame((function(){n.updateCalendar().then((function(){return n.setDates()}))}))};this.handleYearActionClick=function(e){e.stopPropagation();if(n.disableMonthYearSelection){e.preventDefault();return}n.currentView=n.currentView==="years"?"calendar":"years";requestAnimationFrame((function(){n.updateCalendar().then((function(){return n.setDates()}))}))};this.handlePrev=function(e){if(n.currentView==="calendar"){e.stopPropagation();n.changeMonth(-1)}else if(n.currentView==="years"){e.stopPropagation();n.selectedYear-=10}else{e.stopPropagation()}};this.handleNext=function(e){if(n.currentView==="calendar"){e.stopPropagation();n.changeMonth(1)}else if(n.currentView==="years"){e.stopPropagation();n.selectedYear+=10}else{e.stopPropagation()}};this.handleCellClick=function(e){return function(r){r.stopPropagation();var a=r.currentTarget;if(n.rangePicker)n.handleRange(a,e);else n.handleSingleSelection(a,e)}};this.handleMonthSelect=function(e){return function(r){r.stopPropagation();n.currentDate=n.currentDate.set({month:e});n.currentMonth=n.currentDate.toFormat("MMMM");n.currentView="calendar";n.updateCalendar().then((function(){requestAnimationFrame((function(){return n.setDates()}))}))}};this.handleYearSelect=function(e){return function(r){r.stopPropagation();n.currentDate=n.currentDate.set({year:e});n.currentYear=e.toString();n.currentView="calendar";n.updateCalendar().then((function(){requestAnimationFrame((function(){return n.setDates()}))}))}}}e.prototype.updateLang=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.language=this.t.lang(this.host);return[2]}))}))};e.prototype.handleStartDate=function(e){if(e!==null&&e!==""){this.internalStartDate=s(e===null||e===void 0?void 0:e.toString());this.startDateTime=i.fromISO(this.internalStartDate);this.startDateIdentifier=this.startDateTime.toISODate();if(this.internalEndDate!==null&&this.internalEndDate!==""){var r=i.fromISO(this.internalEndDate);if(this.startDateTime>r){console.warn("startDate is after endDate, swapping values");return}}else if(this.rangePicker){this.isFirstClick=false}this.updateDates()}else if(e===null||e===""){this.internalStartDate=null;this.startDateIdentifier=null;this.startDateTime=null;this.isFirstClick=true;this.updateDates()}};e.prototype.handleEndDate=function(e){if(!this.rangePicker){console.warn("rangePicker is disabled, endDate cannot be set");this.internalEndDate=null}else if(e!==null&&e!==""){this.internalEndDate=s(e===null||e===void 0?void 0:e.toString());this.endDateTime=i.fromISO(this.internalEndDate);this.endDateIdentifier=this.endDateTime.toISODate();if(this.internalStartDate!==null&&this.internalStartDate!==""){var r=i.fromISO(this.internalStartDate);if(r>this.endDateTime){console.warn("startDate is after endDate, swapping values");return}}this.updateDates()}else if(e===null||e===""){this.internalEndDate=null;this.endDateIdentifier=null;this.endDateTime=null;this.updateDates()}};e.prototype.handleViewDate=function(e){var r=this;if(e!==null&&e!==""){var a=i.fromISO(e.toString());if(a.isValid){this.currentDate=a;this.updateCalendar().then((function(){requestAnimationFrame((function(){return r.setDates()}))}))}}};e.prototype.handleHoverDate=function(){var e=this;requestAnimationFrame((function(){return e.setDates()}))};e.prototype.componentWillLoad=function(){var e,r;this.language=this.t.lang(this.host);if(this.viewDate!==null&&this.viewDate!==""){var a=i.fromISO(this.viewDate.toString());if(a.isValid){this.currentDate=a}}else if(this.internalStartDate!==null&&this.internalStartDate!==""){this.internalStartDate=s((e=this.internalStartDate)===null||e===void 0?void 0:e.toString());this.startDateTime=i.fromISO(this.internalStartDate);if(this.startDateTime.isValid){this.currentDate=this.startDateTime}}if(this.internalEndDate!==null&&this.internalEndDate!==""){this.internalEndDate=s((r=this.internalEndDate)===null||r===void 0?void 0:r.toString());this.endDateTime=i.fromISO(this.internalEndDate)}this.updateCalendar()};e.prototype.componentDidLoad=function(){var e,r,a,n,t;this.hasPreselection=((e=this.host)===null||e===void 0?void 0:e.querySelector(".date-preselection--has-preselection"))!==null;(a=(r=this.host)===null||r===void 0?void 0:r.shadowRoot)===null||a===void 0?void 0:a.addEventListener("mouseover",this.handleMouseOver);(t=(n=this.host)===null||n===void 0?void 0:n.shadowRoot)===null||t===void 0?void 0:t.addEventListener("mouseleave",this.handleMouseLeave);this.setDates()};e.prototype.disconnectedCallback=function(){var e,r,a,n;(r=(e=this.host)===null||e===void 0?void 0:e.shadowRoot)===null||r===void 0?void 0:r.removeEventListener("mouseover",this.handleMouseOver);(n=(a=this.host)===null||a===void 0?void 0:a.shadowRoot)===null||n===void 0?void 0:n.removeEventListener("mouseleave",this.handleMouseLeave)};e.prototype.updateCurrentDate=function(e){return __awaiter(this,void 0,void 0,(function(){var r=this;return __generator(this,(function(a){switch(a.label){case 0:this.currentDate=i.fromISO(e);return[4,this.updateCalendar()];case 1:a.sent();return[4,new Promise((function(e){requestAnimationFrame((function(){r.setDates();e()}))}))];case 2:a.sent();return[2,Promise.resolve()]}}))}))};e.prototype.updateDates=function(){var e=this;this.updateCalendar().then((function(){requestAnimationFrame((function(){return e.setDates()}))}))};e.prototype.updateCalendar=function(){return __awaiter(this,void 0,void 0,(function(){var e;var r=this;return __generator(this,(function(a){try{e=this.currentDate.startOf("week");this.weekdays=Array.from({length:7}).map((function(a,n){return e.setLocale(r.language).plus({days:n}).toFormat("ccc")}));this.calculateWeekDaysInMonth();this.currentMonth=this.currentDate.setLocale(this.language).toFormat("MMMM");this.currentMonthNumber=this.currentDate.month;this.currentYear=this.currentDate.toFormat("yyyy")}catch(e){console.error("Error while updating the calendar:",e)}return[2]}))}))};e.prototype.setDates=function(){var e=this.host;if(e==null)return;var r=e.shadowRoot;if(!r)return;var a=r.querySelectorAll("mds-calendar-cell[selection], mds-calendar-cell[preview]");if(this.rangePicker){if(this.hoverDate!==null&&this.hoverDate!==""&&(this.internalEndDate===null||this.internalEndDate==="")){this.setHoverSelection(a,r)}else{this.setRangeSelection(a,r)}}else{this.setSingleSelection(a,r)}};e.prototype.clearSelectionState=function(e){e.forEach((function(e){e.removeAttribute("selection");e.removeAttribute("preview")}))};e.prototype.setRangeSelection=function(e,r){var a=this;this.clearSelectionState(e);if(this.internalStartDate===null||this.internalStartDate==="")return;this.startDateTime=i.fromISO(this.internalStartDate.toString());if(this.internalEndDate===null||this.internalEndDate===""){this.startDateIdentifier=this.startDateTime.toISODate();this.isFirstClick=false;var n=r.querySelectorAll("mds-calendar-cell");n.forEach((function(e){if(e.getAttribute("date")===a.startDateTime.toFormat("yyyy-MM-dd")){e.setAttribute("selection","single");e.setAttribute("preview","true")}}));return}this.endDateTime=i.fromISO(this.internalEndDate.toString());this.startDateIdentifier=this.startDateTime.toISODate();this.endDateIdentifier=this.endDateTime.toISODate();var t=r.querySelectorAll("mds-calendar-cell");if(t!=null){var l=void 0;for(var o=0;o<t.length;o++){var s=t[o].getAttribute("date");if(s!==null&&s!==""){var c=i.fromISO(s);if(c.toFormat("yyyy-MM-dd")===this.startDateTime.toFormat("yyyy-MM-dd")){t[o].setAttribute("selection","start")}if(c.toFormat("yyyy-MM-dd")===this.endDateTime.toFormat("yyyy-MM-dd")){if(this.startDateTime.equals(this.endDateTime)){t[o].setAttribute("selection","single")}else{t[o].setAttribute("selection","end")}}l=c>this.startDateTime&&c<this.endDateTime;if(l){t[o].setAttribute("selection","middle")}}}}};e.prototype.setHoverSelection=function(e,r){this.clearSelectionState(e);if(this.internalStartDate===null||this.internalStartDate===""||this.hoverDate===null||this.hoverDate===""){this.setRangeSelection(e,r);return}var a=i.fromISO(this.internalStartDate);var n=i.fromISO(this.hoverDate);if(!a.isValid||!n.isValid){this.setRangeSelection(e,r);return}var t=a<=n;var l=Array.from(r.querySelectorAll("mds-calendar-cell"));l.forEach((function(e){var r=e.getAttribute("date");if(r===null||r==="")return;var l=i.fromISO(r);if(!l.isValid)return;var o=t?l>=a&&l<=n:l>=n&&l<=a;if(!o)return;e.setAttribute("preview","true");var s="middle";if(a.equals(n)&&l.equals(a)){s="single"}else if(l.equals(a)){s=t?"start":"end"}else if(l.equals(n)){s=t?"end":"start"}e.setAttribute("selection",s)}))};e.prototype.setSingleSelection=function(e,r){this.clearSelectionState(e);if(this.internalStartDate===null||this.internalStartDate==="")return;this.startDateTime=i.fromISO(this.internalStartDate.toString());var a=r.querySelectorAll("mds-calendar-cell");if(a!=null){for(var n=0;n<a.length;n++){var t=a[n].getAttribute("date");if(t!==null&&t!==""){var l=i.fromISO(t);if(l.toFormat("yyyy-MM-dd")===this.startDateTime.toFormat("yyyy-MM-dd")){a[n].setAttribute("selection","single")}}}}};e.prototype.changeMonth=function(e){var r=this;this.currentDate=this.currentDate.plus({months:e});this.updateCalendar().then((function(){requestAnimationFrame((function(){return r.setDates()}))}));this.navigationEmitter.emit({currentDate:this.currentDate.toISODate(),delta:e})};e.prototype.calculateWeekDaysInMonth=function(){var e=this.currentDate.startOf("month");var r=this.currentDate.endOf("month");var a=[];var n=e.weekday;var t=n-1;var l=e.minus({days:t});for(var i=l;i<e;i=i.plus({days:1})){a.push({date:i,isCurrentMonth:false})}for(var i=e;i<=r;i=i.plus({days:1})){a.push({date:i,isCurrentMonth:true})}var o=r.weekday;var s=7-o;var c=r.plus({days:1});for(var i=c;i<c.plus({days:s});i=i.plus({days:1})){a.push({date:i,isCurrentMonth:false})}this.weekDaysinMonth=a};e.prototype.handleRange=function(e,r){var a=this;var n,t;var l=this.startDate||this.host.getAttribute("start-date");if(this.rangePicker&&l!==null&&l!==""&&(this.endDate===null||this.endDate==="")&&(this.internalEndDate===null||this.internalEndDate==="")&&this.isFirstClick){this.internalStartDate=s(l.toString());this.startDateTime=i.fromISO(this.internalStartDate);this.startDateIdentifier=this.startDateTime.toISODate();this.isFirstClick=false}var o=function(){a.internalStartDate=null;a.internalEndDate=null;a.startDateIdentifier=null;a.startDateTime=null;a.endDateIdentifier=null;a.endDateTime=null;a.isFirstClick=true;var e=a.host;requestAnimationFrame((function(){var r;(r=e===null||e===void 0?void 0:e.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll("mds-calendar-cell[selection]").forEach((function(e){e.removeAttribute("selection");e.removeAttribute("preview")}))}))};if(this.startDateIdentifier!==null&&this.startDateIdentifier!==""&&this.endDateIdentifier!==null&&this.endDateIdentifier!==""){o()}if(this.isFirstClick){this.startDateIdentifier=r.toISODate();this.startDateTime=r;this.internalStartDate=this.startDateTime.toISO().split("T")[0];this.isFirstClick=false;var c=this.host;requestAnimationFrame((function(){var e;(e=c===null||c===void 0?void 0:c.shadowRoot)===null||e===void 0?void 0:e.querySelectorAll("mds-calendar-cell[selection]").forEach((function(e){e.removeAttribute("selection")}))}));requestAnimationFrame((function(){e.setAttribute("selection","single");e.setAttribute("preview","true")}));this.datesEmitter.emit({startDate:this.internalStartDate});return}var d=this.host;var h=(n=d===null||d===void 0?void 0:d.shadowRoot)===null||n===void 0?void 0:n.querySelectorAll("mds-calendar-cell");var u=Array.from(h!==null&&h!==void 0?h:[]).findIndex((function(e){return e.getAttribute("date")===a.startDateIdentifier}));var m=Array.from(h!==null&&h!==void 0?h:[]).indexOf(e);if(this.startDateIdentifier!==null&&this.startDateIdentifier!==""&&i.fromISO(this.startDateIdentifier)<i.fromISO(e.getAttribute("date"))){this.endDateIdentifier=e.getAttribute("date");this.endDateTime=r;this.internalEndDate=this.endDateTime.toISO().split("T")[0]}else{this.endDateIdentifier=this.startDateIdentifier;this.endDateTime=this.startDateTime;this.internalEndDate=this.internalStartDate;this.startDateIdentifier=e.getAttribute("date");this.startDateTime=r;this.internalStartDate=this.startDateTime.toISO().split("T")[0]}(t=d===null||d===void 0?void 0:d.shadowRoot)===null||t===void 0?void 0:t.querySelectorAll("mds-calendar-cell[preview]").forEach((function(e){e.removeAttribute("preview")}));if(h&&u!==-1){for(var v=u+1;v<m;v++){h[v].setAttribute("selection","middle")}}if(this.internalStartDate!==null&&this.internalStartDate!==""&&this.internalEndDate!==null&&this.internalEndDate!==""){this.datesEmitter.emit({startDate:this.internalStartDate,endDate:this.internalEndDate});this.checkPreselectionsEmitter.emit()}};e.prototype.handleSingleSelection=function(e,r){var a;var n=this.host;(a=n===null||n===void 0?void 0:n.shadowRoot)===null||a===void 0?void 0:a.querySelectorAll("mds-calendar-cell[selection]").forEach((function(e){e.removeAttribute("selection")}));this.startDateIdentifier=e.getAttribute("date");this.startDateTime=r;this.internalStartDate=this.startDateTime.toISO().split("T")[0];this.isFirstClick=false;e.setAttribute("selection","single");if(this.internalStartDate!==null&&this.internalStartDate!==""){this.datesEmitter.emit({startDate:this.internalStartDate})}};e.prototype.isDateDisabled=function(e){if(this.min!==null&&this.min!==""&&e<i.fromISO(this.min)){return true}if(this.max!==null&&this.max!==""&&e>i.fromISO(this.max)){return true}return undefined};e.prototype.render=function(){var e=this;return n(t,{key:"eae79a23fef07ad0c39289138c1d9d201d01fdb8"},n("div",{key:"981c8f338f2bb75ae160ed026964df32519cf7da",class:c("calendar-preselection",(this.showPreselection||this.hasPreselection)&&"calendar-preselection--has-preselection")},n("slot",{key:"5603f44dbaeea662b8717633333fad6ec82e7fd3",name:"preselection"})),n("div",{key:"666c4a41d8ea01c0dd4ec23f58c6cefbd077a6d8",class:"calendar-view"},n("nav",{key:"f5a49d71045f85a8d816fdd933a12a16f7da81d2"},this.showPreviousButton&&n("mds-button",{key:"f2d618d0030437a32224eccc60a44c975dc118d6",class:"action-back",icon:h,variant:"dark",tone:"text",onClick:this.handlePrev}),n("div",{key:"67e29dee62c2c500b30cb3b9efa480c28ba2f212",class:"select-month-or-year"},(this.currentView==="calendar"||this.currentView==="months")&&n("mds-button",{key:"0e9df902f7d565f412fa9d3d443b5f93e142ce20",class:"action-month",truncate:"none",variant:"dark",tone:"text",label:this.currentMonth,onClick:this.handleMonthActionClick}),(this.currentView==="calendar"||this.currentView==="years")&&n("mds-button",{key:"1ae69a19bbdd472220d3c638f00549626875684c",class:"action-year",truncate:"none",variant:"dark",tone:"text",label:this.currentYear,onClick:this.handleYearActionClick})),this.showNextButton&&n("mds-button",{key:"c47a07e2eee26da908658c8038a3855c13a4dcdc",class:"action-forward",icon:d,variant:"dark",tone:"text",onClick:this.handleNext})),this.currentView==="calendar"&&n("section",{key:"e346703e4efa4251a3277bf1fbabf5686337797a",class:"month-view"},n("header",{key:"c14e9f373b6296e22fc80b361f2235a20aaa5ddc",class:"month-view__days-names"},this.weekdays.map((function(e){return n("mds-button",{class:"week-day-name",variant:"dark",tone:"text",label:e})}))),n("div",{key:"4a80ca577d0c84b538e18ddff65eac0feccdef1d",class:"month-view__cells"},this.weekDaysinMonth.map((function(r,a){return n("mds-calendar-cell",{key:a,today:i.now().toFormat("yyyy-MM-dd")===r.date.toFormat("yyyy-MM-dd"),date:r.date.toFormat("yyyy-MM-dd"),month:r.isCurrentMonth?"current":"other",disabled:e.isDateDisabled(r.date),onClick:e.handleCellClick(r.date),title:r.date.setLocale(e.language).toFormat("cccc d LLLL").replace(/^./,(function(e){return e.toUpperCase()})),label:r.date.toFormat("dd")})})))),this.currentView==="months"&&n("section",{key:"605c67fd9b2f4dab967a2d0d2f59a3a1f8c3d970",class:"month-selection"},n("header",{key:"1e6a1edf56452ad68ab75740a99dfcb858905199",class:"month-view__month-names"},Array.from({length:12}).map((function(r,a){var t=i.local().set({month:a+1}).setLocale(e.language).toFormat("MMMM");return n("mds-button",{class:"action",variant:"dark",tone:"text",label:t,onClick:e.handleMonthSelect(a+1)})})))),this.currentView==="years"&&n("section",{key:"d58540f61197bee490b93d9097913d54cb7d7468",class:"year-selection"},n("header",{key:"24a0f2cb86888f412e19053d64815173e82570a8",class:"month-view__years"},Array.from({length:12}).map((function(r,a){var t=e.selectedYear+a;return n("mds-button",{class:"action",variant:"dark",tone:"text",label:"".concat(t),onClick:e.handleYearSelect(t)})}))))))};Object.defineProperty(e.prototype,"host",{get:function(){return l(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{startDate:[{handleStartDate:0}],endDate:[{handleEndDate:0}],viewDate:[{handleViewDate:0}],hoverDate:[{handleHoverDate:0}]}},enumerable:false,configurable:true});return e}());m.style=u();var v=function(){return'@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--mds-calendar-cell-background:#0000;--mds-calendar-cell-boundaries-background:#0000;--mds-calendar-cell-boundaries-color:rgb(var(--tone-neutral-01,255 255 255));--mds-calendar-cell-boundaries-padding:.25rem;--mds-calendar-cell-color:rgb(var(--tone-neutral-01,255 255 255));--mds-calendar-cell-other-month-background:#0000;--mds-calendar-cell-other-month-color:rgb(var(--tone-neutral-07,134 134 134));--mds-calendar-cell-disabled-background:#0000;--mds-calendar-cell-disabled-color:rgb(var(--tone-neutral-07,134 134 134));--mds-calendar-cell-weekend-background:#0000;--mds-calendar-cell-weekend-color:rgb(var(--tone-neutral-06,158 158 158));--mds-calendar-cell-size:3rem;--mds-calendar-cell-selection-boundaries-border-radius:1.5rem;--mds-calendar-cell-selection-week-boundaries-border-radius:1.5rem;--mds-calendar-cell-preselection-today-background:rgb(var(--variant-primary-09,0 58 168));--mds-calendar-cell-preselection-today-color:rgb(var(--variant-primary-03,211 226 255));--mds-calendar-cell-preselection-current-month-background:rgb(var(--variant-primary-08,0 83 239));--mds-calendar-cell-preselection-current-month-color:rgb(var(--tone-neutral-05,197 197 197));--mds-calendar-cell-preselection-current-month-boundaries-color:rgb(var(--tone-neutral-05,197 197 197));--mds-calendar-cell-preselection-current-month-boundaries-background:rgb(var(--variant-primary-10,0 49 142));--mds-calendar-cell-preselection-other-month-background:rgb(var(--variant-primary-09,0 58 168));--mds-calendar-cell-preselection-other-month-color:rgb(var(--tone-neutral-05,197 197 197));--mds-calendar-cell-preselection-other-month-boundaries-color:rgb(var(--tone-neutral-05,197 197 197));--mds-calendar-cell-preselection-other-month-boundaries-background:rgb(var(--tone-neutral,0 0 0));--mds-calendar-cell-selection-current-month-background:rgb(var(--variant-primary-04,184 208 255));--mds-calendar-cell-selection-current-month-color:rgb(var(--tone-neutral,0 0 0));--mds-calendar-cell-selection-current-month-boundaries-background:rgb(var(--tone-neutral,0 0 0));--mds-calendar-cell-selection-current-month-boundaries-color:rgb(var(--tone-neutral-03,233 233 233));--mds-calendar-cell-selection-current-month-weekend-background:rgb(var(--variant-primary-03,211 226 255));--mds-calendar-cell-selection-current-month-weekend-color:rgb(var(--variant-primary-07,44 117 255));--mds-calendar-cell-selection-current-month-weekend-boundaries-background:rgb(var(--variant-primary-03,211 226 255));--mds-calendar-cell-selection-current-month-weekend-boundaries-color:rgb(var(--tone-neutral-03,233 233 233));--mds-calendar-cell-selection-other-month-background:rgb(var(--variant-primary-07,44 117 255));--mds-calendar-cell-selection-other-month-color:rgb(var(--tone-neutral-04,218 218 218));--mds-calendar-cell-selection-other-month-boundaries-background:rgb(var(--variant-primary-10,0 49 142));--mds-calendar-cell-selection-other-month-boundaries-color:rgb(var(--tone-neutral-05,197 197 197))}}}:host(:not(:is([hydrated],.hydrated))),mds-button:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}@property --mds-calendar-cell-background{syntax:"<color>";inherits:false;initial-value:#0000}@property --mds-calendar-cell-boundaries-background{syntax:"<color>";inherits:false;initial-value:#0000}@property --mds-calendar-cell-boundaries-padding{syntax:"<length>";inherits:false;initial-value:.25rem}@property --mds-calendar-cell-other-month-background{syntax:"<color>";inherits:false;initial-value:#0000}@property --mds-calendar-cell-disabled-background{syntax:"<color>";inherits:false;initial-value:#0000}@property --mds-calendar-cell-weekend-background{syntax:"<color>";inherits:false;initial-value:#0000}@property --mds-calendar-cell-size{syntax:"<length>";inherits:false;initial-value:3rem}@property --mds-calendar-cell-selection-boundaries-border-radius{syntax:"<length>";inherits:false;initial-value:1.5rem}@property --mds-calendar-cell-selection-week-boundaries-border-radius{syntax:"<length>";inherits:false;initial-value:1.5rem}:host{--mds-calendar-cell-background:#0000;--mds-calendar-cell-boundaries-background:#0000;--mds-calendar-cell-boundaries-color:rgb(var(--tone-neutral-01,255 255 255));--mds-calendar-cell-boundaries-padding:calc(var(--spacing,.0025rem)*100);--mds-calendar-cell-color:rgb(var(--tone-neutral-01,255 255 255));--mds-calendar-cell-other-month-background:#0000;--mds-calendar-cell-other-month-color:rgb(var(--tone-neutral-07,134 134 134));--mds-calendar-cell-disabled-background:#0000;--mds-calendar-cell-disabled-color:rgb(var(--tone-neutral-07,134 134 134));--mds-calendar-cell-weekend-background:#0000;--mds-calendar-cell-weekend-color:rgb(var(--tone-neutral-06,158 158 158));--mds-calendar-cell-size:calc(var(--spacing,.0025rem)*1200);--mds-calendar-cell-selection-boundaries-border-radius:200px;--mds-calendar-cell-selection-week-boundaries-border-radius:200px;--mds-calendar-cell-preselection-today-background:rgb(var(--variant-primary-09,0 58 168));--mds-calendar-cell-preselection-today-color:rgb(var(--variant-primary-03,211 226 255));--mds-calendar-cell-preselection-current-month-background:rgb(var(--variant-primary-08,0 83 239));--mds-calendar-cell-preselection-current-month-color:rgb(var(--tone-neutral-05,197 197 197));--mds-calendar-cell-preselection-current-month-boundaries-color:rgb(var(--tone-neutral-05,197 197 197));--mds-calendar-cell-preselection-current-month-boundaries-background:rgb(var(--variant-primary-10,0 49 142));--mds-calendar-cell-preselection-other-month-background:rgb(var(--variant-primary-09,0 58 168));--mds-calendar-cell-preselection-other-month-color:rgb(var(--tone-neutral-05,197 197 197));--mds-calendar-cell-preselection-other-month-boundaries-color:rgb(var(--tone-neutral-05,197 197 197));--mds-calendar-cell-preselection-other-month-boundaries-background:rgb(var(--tone-neutral,0 0 0));--mds-calendar-cell-selection-current-month-background:rgb(var(--variant-primary-04,184 208 255));--mds-calendar-cell-selection-current-month-color:rgb(var(--tone-neutral,0 0 0));--mds-calendar-cell-selection-current-month-boundaries-background:rgb(var(--tone-neutral,0 0 0));--mds-calendar-cell-selection-current-month-boundaries-color:rgb(var(--tone-neutral-03,233 233 233));--mds-calendar-cell-selection-current-month-weekend-background:rgb(var(--variant-primary-03,211 226 255));--mds-calendar-cell-selection-current-month-weekend-color:rgb(var(--variant-primary-07,44 117 255));--mds-calendar-cell-selection-current-month-weekend-boundaries-background:rgb(var(--variant-primary-03,211 226 255));--mds-calendar-cell-selection-current-month-weekend-boundaries-color:rgb(var(--tone-neutral-03,233 233 233));--mds-calendar-cell-selection-other-month-background:rgb(var(--variant-primary-07,44 117 255));--mds-calendar-cell-selection-other-month-color:rgb(var(--tone-neutral-04,218 218 218));--mds-calendar-cell-selection-other-month-boundaries-background:rgb(var(--variant-primary-10,0 49 142));--mds-calendar-cell-selection-other-month-boundaries-color:rgb(var(--tone-neutral-05,197 197 197));align-items:center;aspect-ratio:1;display:flex;justify-content:center;padding:var(--mds-calendar-cell-boundaries-padding,.25rem);position:relative}:host([month=other]){visibility:var(--mds-calendar-cell-other-month-visibility,hidden)}.inner-dot{aspect-ratio:1;background-color:var(--mds-calendar-cell-inner-background);border-radius:var(--mds-calendar-cell-selection-boundaries-border-radius,1.5rem);display:flex;min-height:0;min-width:0;width:100%;z-index:1}.area-background{background-color:var(--mds-calendar-cell-background,#0000);inset:0;z-index:0}.action,.area-background{color:var(--mds-calendar-cell-color,rgb(var(--tone-neutral-01,255 255 255)));position:absolute}.action{align-items:center;aspect-ratio:1;background-color:#0000;border-radius:0;display:flex;inset:calc(var(--mds-calendar-cell-gap,var(--gap-50))*-1);justify-content:center;min-height:0;min-width:0;padding:0;width:auto;z-index:2}:host([selection][orientation=horizontal]) .area-background{margin-left:calc(var(--mds-calendar-cell-gap,var(--gap-50))*-1);margin-right:calc(var(--mds-calendar-cell-gap,var(--gap-50))*-1)}:host([selection=start][orientation=horizontal]) .area-background{border-bottom-left-radius:var(--mds-calendar-cell-selection-boundaries-border-radius,1.5rem);border-top-left-radius:var(--mds-calendar-cell-selection-boundaries-border-radius,1.5rem);margin-left:0}:host([selection=end][orientation=horizontal]) .area-background{border-bottom-right-radius:var(--mds-calendar-cell-selection-boundaries-border-radius,1.5rem);border-top-right-radius:var(--mds-calendar-cell-selection-boundaries-border-radius,1.5rem);margin-right:0}:host([selection][orientation=vertical]) .area-background{margin-bottom:calc(var(--mds-calendar-cell-gap,var(--gap-50))*-1);margin-top:calc(var(--mds-calendar-cell-gap,var(--gap-50))*-1)}:host([selection=start][orientation=vertical]) .area-background{border-radius:var(--mds-calendar-cell-selection-boundaries-border-radius,1.5rem) var(--mds-calendar-cell-selection-boundaries-border-radius,1.5rem) 0 0;margin-top:0}:host([selection=end][orientation=vertical]) .area-background{border-radius:0 0 var(--mds-calendar-cell-selection-boundaries-border-radius,1.5rem) var(--mds-calendar-cell-selection-boundaries-border-radius,1.5rem);margin-bottom:0}:host([orientation=vertical]:not([selection=start],[selection=end])) .area-background{border-radius:0}:host(:nth-child(7n-6)) .area-background,:host([selection=end][orientation=horizontal]:nth-child(7n-6)) .area-background{border-bottom-left-radius:var(--mds-calendar-cell-selection-week-boundaries-border-radius,1.5rem);border-top-left-radius:var(--mds-calendar-cell-selection-week-boundaries-border-radius,1.5rem)}:host(:nth-child(7n)) .area-background,:host([selection=end][orientation=horizontal]:nth-child(7n)) .area-background{border-bottom-right-radius:var(--mds-calendar-cell-selection-week-boundaries-border-radius,1.5rem);border-top-right-radius:var(--mds-calendar-cell-selection-week-boundaries-border-radius,1.5rem)}:host([selection=end][orientation=horizontal]:nth-child(7n)) .area-background{border-bottom-right-radius:var(--mds-calendar-cell-selection-boundaries-border-radius,1.5rem);border-top-right-radius:var(--mds-calendar-cell-selection-boundaries-border-radius,1.5rem)}:host([selection][orientation=horizontal]:nth-child(7n-6)) .area-background{margin-left:0}:host([selection][orientation=horizontal]:nth-child(7n)) .area-background{margin-right:0}:host([selection=single][orientation=horizontal]) .area-background{border-radius:var(--mds-calendar-cell-selection-boundaries-border-radius,1.5rem);margin-left:0;margin-right:0}:host(:nth-child(7n)),:host(:nth-child(7n-1)){--mds-calendar-cell-color:var(--mds-calendar-cell-weekend-color,rgb(var(--tone-neutral-06,158 158 158)));--mds-calendar-cell-background:var(--mds-calendar-cell-weekend-background,#0000)}:host([month=other]:not([selection])){--mds-calendar-cell-color:var(--mds-calendar-cell-other-month-color,rgb(var(--tone-neutral-07,134 134 134)));--mds-calendar-cell-background:var(--mds-calendar-cell-other-month-background,#0000)}:host([disabled]){--mds-calendar-cell-color:var(--mds-calendar-cell-disabled-color,rgb(var(--tone-neutral-07,134 134 134)));--mds-calendar-cell-background:var(--mds-calendar-cell-disabled-background,#0000);cursor:auto;pointer-events:none}:host(:not([selection])[today]){--mds-calendar-cell-inner-background:var(--mds-calendar-cell-preselection-today-background,rgb(var(--variant-primary-09,0 58 168)));--mds-calendar-cell-color:var(--mds-calendar-cell-preselection-today-color,rgb(var(--variant-primary-03,211 226 255)))}:host([selection][month=current]){--mds-calendar-cell-background:var(--mds-calendar-cell-selection-current-month-background,rgb(var(--variant-primary-04,184 208 255)));--mds-calendar-cell-color:var(--mds-calendar-cell-selection-current-month-color,rgb(var(--tone-neutral,0 0 0)))}:host([selection][month=current]:nth-child(7n)),:host([selection][month=current]:nth-child(7n-1)){--mds-calendar-cell-background:var(--mds-calendar-cell-selection-current-month-weekend-background,rgb(var(--variant-primary-03,211 226 255)));--mds-calendar-cell-color:var(--mds-calendar-cell-selection-current-month-weekend-color,rgb(var(--variant-primary-07,44 117 255)))}:host([selection=end][month=current]:nth-child(7n)),:host([selection=end][month=current]:nth-child(7n-1)),:host([selection=start][month=current]:nth-child(7n)),:host([selection=start][month=current]:nth-child(7n-1)){--mds-calendar-cell-background:var(--mds-calendar-cell-selection-current-month-weekend-boundaries-background,rgb(var(--variant-primary-03,211 226 255)));--mds-calendar-cell-color:var(--mds-calendar-cell-selection-current-month-weekend-boundaries-color,rgb(var(--tone-neutral-03,233 233 233)))}:host([selection][month=other]){--mds-calendar-cell-background:var(--mds-calendar-cell-selection-other-month-background,rgb(var(--variant-primary-07,44 117 255)));--mds-calendar-cell-color:var(--mds-calendar-cell-selection-other-month-color,rgb(var(--tone-neutral-04,218 218 218)))}:host([selection=end][month=current]),:host([selection=start][month=current]){--mds-calendar-cell-inner-background:var(--mds-calendar-cell-selection-current-month-boundaries-background,rgb(var(--tone-neutral,0 0 0)));--mds-calendar-cell-color:var(--mds-calendar-cell-selection-current-month-boundaries-color,rgb(var(--tone-neutral-03,233 233 233)))}:host([selection=end][month=other]),:host([selection=start][month=other]){--mds-calendar-cell-inner-background:var(--mds-calendar-cell-selection-other-month-boundaries-background,rgb(var(--variant-primary-10,0 49 142)));--mds-calendar-cell-color:var(--mds-calendar-cell-selection-other-month-boundaries-color,rgb(var(--tone-neutral-05,197 197 197)))}:host([selection][month=current][preview]:not([preview=false])){--mds-calendar-cell-background:var(--mds-calendar-cell-preselection-current-month-background,rgb(var(--variant-primary-08,0 83 239)));--mds-calendar-cell-color:var(--mds-calendar-cell-preselection-current-month-color,rgb(var(--tone-neutral-05,197 197 197)))}:host([selection][month=other][preview]:not([preview=false])){--mds-calendar-cell-background:var(--mds-calendar-cell-preselection-other-month-background,rgb(var(--variant-primary-09,0 58 168)));--mds-calendar-cell-color:var(--mds-calendar-cell-preselection-other-month-color,rgb(var(--tone-neutral-05,197 197 197)))}:host([selection=end][month=current][preview]:not([preview=false])),:host([selection=start][month=current][preview]:not([preview=false])){--mds-calendar-cell-inner-background:var(--mds-calendar-cell-preselection-current-month-boundaries-background,rgb(var(--variant-primary-10,0 49 142)));--mds-calendar-cell-color:var(--mds-calendar-cell-preselection-current-month-boundaries-color,rgb(var(--tone-neutral-05,197 197 197)))}:host([selection=end][month=other][preview]:not([preview=false])),:host([selection=start][month=other][preview]:not([preview=false])){--mds-calendar-cell-inner-background:var(--mds-calendar-cell-preselection-other-month-boundaries-background,rgb(var(--tone-neutral,0 0 0)));--mds-calendar-cell-color:var(--mds-calendar-cell-preselection-other-month-boundaries-color,rgb(var(--tone-neutral-05,197 197 197)))}:host([selection=single][month=current]){--mds-calendar-cell-inner-background:var(--mds-calendar-cell-preselection-current-month-boundaries-background,rgb(var(--variant-primary-10,0 49 142)));--mds-calendar-cell-color:var(--mds-calendar-cell-preselection-current-month-boundaries-color,rgb(var(--tone-neutral-05,197 197 197)))}:host([selection=single][month=other]){--mds-calendar-cell-inner-background:var(--mds-calendar-cell-preselection-other-month-boundaries-background,rgb(var(--tone-neutral,0 0 0)));--mds-calendar-cell-color:var(--mds-calendar-cell-preselection-other-month-boundaries-color,rgb(var(--tone-neutral-05,197 197 197)))}'};var b=e("mds_calendar_cell",function(){function e(e){r(this,e);this.month="current";this.orientation="horizontal";this.preview=false;this.disabled=undefined;this.today=undefined}e.prototype.render=function(){return n(t,{key:"eea49336dfecb6f76ef93509fb42228417bac55a"},n("div",{key:"ea9d3de623b5e1edf19bba5cab930022e790f8f8",class:"inner-dot"}),n("div",{key:"f973bf80d0456cbb7151db3dfebc6f80f9afc5ff",class:"area-background"}),n("mds-button",{key:"755324a7827cc9be52f8500f079df1f6f8285bde",class:"action",variant:"dark",tone:"text",disabled:this.disabled,label:this.label}))};return e}());b.style=v()}}}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
System.register(["./p-DI5DWqw4.system.js"],(function(t){"use strict";var e,n,i;return{setters:[function(t){e=t.r;n=t.h;i=t.H}],execute:function(){var o=function(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{align-items:center;display:flex;flex-grow:1;gap:calc(var(--spacing,.0025rem)*400);justify-content:flex-end;min-width:0;padding:calc(var(--spacing,.0025rem)*400)}"};var r=t("mds_card_footer",function(){function t(t){e(this,t)}t.prototype.render=function(){return n(i,{key:"09063cd00e75b0949a6836416a2c768bd575f50f",slot:"footer"},n("slot",{key:"c06e99b7186e4037aa5c386eddd2ebb404b20e99"}))};return t}());r.style=o()}}}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,h as e,H as i}from"./p-CAd5312P.js";const a=class{constructor(e){t(this,e)}render(){return e(i,{key:"02a890b517f0b821803bf27d527162edf2693d0b",role:"list"},e("slot",{key:"8a8f4296650703c03528450674afc6712afb54b8"}))}};a.style='@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--mds-kpi-text-animation-speed:.15;--mds-kpi-text-animation-placeholder-char:" "}}}:host(:not(:is([hydrated],.hydrated))),mds-kpi-item:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}@property --mds-kpi-text-animation-speed{syntax:"<number>";inherits:false;initial-value:.15}@property --mds-kpi-text-animation-placeholder-char{syntax:"<string>";inherits:false;initial-value:" "}:host{--mds-kpi-text-animation-speed:.15;--mds-kpi-text-animation-placeholder-char:" ";display:grid;gap:calc(var(--spacing,.0025rem)*400);grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}';export{a as mds_kpi}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var __awaiter=this&&this.__awaiter||function(t,e,i,n){function r(t){return t instanceof i?t:new i((function(e){e(t)}))}return new(i||(i=Promise))((function(i,a){function o(t){try{c(n.next(t))}catch(t){a(t)}}function s(t){try{c(n["throw"](t))}catch(t){a(t)}}function c(t){t.done?i(t.value):r(t.value).then(o,s)}c((n=n.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var i={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},n,r,a,o=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return o.next=s(0),o["throw"]=s(1),o["return"]=s(2),typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function s(t){return function(e){return c([t,e])}}function c(s){if(n)throw new TypeError("Generator is already executing.");while(o&&(o=0,s[0]&&(i=0)),i)try{if(n=1,r&&(a=s[0]&2?r["return"]:s[0]?r["throw"]||((a=r["return"])&&a.call(r),0):r.next)&&!(a=a.call(r,s[1])).done)return a;if(r=0,a)s=[s[0]&2,a.value];switch(s[0]){case 0:case 1:a=s;break;case 4:i.label++;return{value:s[1],done:false};case 5:i.label++;r=s[1];s=[0];continue;case 7:s=i.ops.pop();i.trys.pop();continue;default:if(!(a=i.trys,a=a.length>0&&a[a.length-1])&&(s[0]===6||s[0]===2)){i=0;continue}if(s[0]===3&&(!a||s[1]>a[0]&&s[1]<a[3])){i.label=s[1];break}if(s[0]===6&&i.label<a[1]){i.label=a[1];a=s;break}if(a&&i.label<a[2]){i.label=a[2];i.ops.push(s);break}if(a[2])i.ops.pop();i.trys.pop();continue}s=e.call(t,i)}catch(t){s=[6,t];r=0}finally{n=a=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};System.register(["./p-DI5DWqw4.system.js","./p-DcKeJ0td.system.js","./p-DssKRrAV.system.js"],(function(t){"use strict";var e,i,n,r,a,o;return{setters:[function(t){e=t.r;i=t.h;n=t.H;r=t.g},function(t){a=t.L},function(t){o=t.s}],execute:function(){var s="Ενέργεια";var c="Επιλογή όλων των γραμμών";var l="Αποεπιλογή όλων των γραμμών";var u={actions:s,selectAllRows:c,selectNoneRows:l};var d="Action";var h="Select all rows";var f="Deselect all rows";var b={actions:d,selectAllRows:h,selectNoneRows:f};var v="Acción";var p="Seleccionar todas las filas";var w="Deseleccionar todas las filas";var m={actions:v,selectAllRows:p,selectNoneRows:w};var y="Azione";var k="Seleziona tutte le righe";var g="Deseleziona tutte le righe";var _={actions:y,selectAllRows:k,selectNoneRows:g};var x=function(){return'@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-ease:initial}}}:host(:not(:is([hydrated],.hydrated))),:is(mds-input-switch,mds-table-cell,mds-table-header-cell):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-table-header-transition-duration:var(--duration-200,.2s);--private-table-header-transition-duration:var(--mds-table-header-transition-duration);--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1));border-bottom:var(--private-cell-border-width) solid var(--private-cell-border-color);display:table-row;overflow:hidden;-webkit-transition-duration:var(--private-table-header-transition-duration);transition-duration:var(--private-table-header-transition-duration);transition-property:border-color;transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1))}.actions{text-align:right}.selection{vertical-align:middle}.checkbox-wrapper{display:flex}:host([pref-animation=reduce]){--private-table-header-transition-duration:0s}@property --tw-ease{syntax:"*";inherits:false}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host([pref-animation=system]){--private-table-header-transition-duration:0s}}'};var R=t("mds_table_header",function(){function t(t){var i=this;e(this,t);this.selectAll=false;this.hasActions=false;this.indeterminate=false;this.hasSelection=false;this.t=new a({el:u,en:b,es:m,it:_});this.handleSelectAllChange=function(t){var e;if(i.indeterminate){i.selectAll=true}else{i.selectAll=(e=t.detail.checked)!==null&&e!==void 0?e:false}i.indeterminate=false;i.table.selectAll(i.selectAll)}}t.prototype.updateLang=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.language=this.t.lang(this.host);this.t.update();return[2]}))}))};t.prototype.setSelection=function(t,e){return __awaiter(this,void 0,void 0,(function(){var i;return __generator(this,(function(n){this.indeterminate=t!==0&&t!==e;if(this.indeterminate){if(this.checkboxEl==null){this.checkboxEl=(i=this.host.shadowRoot)===null||i===void 0?void 0:i.querySelector(".checkbox")}}this.checkboxEl.checked=t===e;return[2]}))}))};t.prototype.connectedCallback=function(){var t=this;this.unsubscribePrefAnimation=o("animation",(function(e){t.prefAnimation=e}))};t.prototype.disconnectedCallback=function(){var t;(t=this.unsubscribePrefAnimation)===null||t===void 0?void 0:t.call(this)};t.prototype.componentWillLoad=function(){this.language=this.t.lang(this.host);this.table=this.host.closest("mds-table");this.hasActions=this.table.querySelector('mds-table-row > [slot="action"]')!==null};t.prototype.render=function(){return i(n,{key:"06529aa3e118513b377d2998802498c261761c50",role:"row","pref-animation":this.prefAnimation},this.selectable&&i("mds-table-cell",{key:"e6a90c762c4a8f0fc9ac992eda086ece6668b4c9",class:"selection",role:"columnheader"},i("div",{key:"28834ccb255c9f54553e6fc626d85cf9c071094a",class:"checkbox-wrapper"},i("mds-input-switch",{key:"43ee2e5a02cb71e3c268860d6d3ee04918e32401",class:"checkbox",title:this.t.get(this.selectAll?"selectNoneRows":"selectAllRows"),lang:this.language,type:"checkbox",onMdsInputSwitchChange:this.handleSelectAllChange,indeterminate:this.indeterminate}))),i("slot",{key:"4927fa2a425e609494d5eb357c9d31408c4cdfc5"}),this.hasActions&&i("mds-table-header-cell",{key:"1e56bda8d1e791be85d76995387561b6a77cc6b0",part:"actions",class:"actions",label:this.t.get("actions")}))};Object.defineProperty(t.prototype,"host",{get:function(){return r(this)},enumerable:false,configurable:true});return t}());R.style=x()}}}));
|