@maggioli-design-system/magma 2.2.0 → 2.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AGENTS.md +25 -10
- package/CHANGELOG.md +712 -0
- package/README.md +5 -2
- package/agents/anti-patterns.md +7 -4
- package/agents/assets.md +231 -28
- package/agents/color.md +7 -5
- package/agents/components.md +5 -4
- package/agents/conventions.md +16 -0
- package/agents/install.md +8 -4
- package/agents/reporting.md +11 -2
- package/agents/theming.md +15 -0
- package/dist/cjs/_commonjsHelpers-CFO10eej.js +7 -0
- package/dist/cjs/{aria-BbJUuU9_.js → aria-CzO5Rp1y.js} +23 -15
- package/dist/cjs/{floating-controller-uOCBLTk2.js → floating-controller-BxER7sig.js} +37 -14
- package/dist/cjs/{floating-ui.dom-DflSHZIo.js → floating-ui.dom-VQ_HnnRe.js} +146 -209
- package/dist/cjs/icon-BhokFNM7.js +22 -0
- package/dist/cjs/{index-MyEb-PfD.js → index-B5DKRaVO.js} +1 -1
- package/dist/cjs/{index-UmmmCMIG.js → index-B_qgSpWL.js} +125 -96
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/keyboard-manager-BuCJdI8Q.js +75 -0
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{locale-CnorkBwF.js → locale-D9XY8LN9.js} +1 -1
- package/dist/cjs/{locale.it-CfUV2hxK.js → locale.it-CQgfBg0W.js} +6 -1
- package/dist/cjs/{datetime-DHnUzK2K.js → luxon-8hyy5YD7.js} +164 -64
- package/dist/cjs/magma-components.cjs.js +3 -3
- package/dist/cjs/mds-accordion-item.cjs.entry.js +3 -3
- package/dist/cjs/mds-accordion-timer-item.cjs.entry.js +11 -10
- package/dist/cjs/mds-accordion-timer.cjs.entry.js +17 -3
- package/dist/cjs/mds-accordion.cjs.entry.js +37 -22
- package/dist/cjs/mds-author.cjs.entry.js +2 -2
- package/dist/cjs/mds-avatar-stack-item.cjs.entry.js +2 -2
- package/dist/cjs/mds-avatar-stack.cjs.entry.js +11 -5
- package/dist/cjs/mds-avatar.cjs.entry.js +58 -91
- package/dist/cjs/mds-badge.cjs.entry.js +4 -4
- package/dist/cjs/mds-banner_3.cjs.entry.js +51 -69
- package/dist/cjs/mds-benchmark-bar.cjs.entry.js +6 -3
- package/dist/cjs/mds-bibliography.cjs.entry.js +23 -17
- package/dist/cjs/mds-breadcrumb-item.cjs.entry.js +9 -5
- package/dist/cjs/mds-breadcrumb.cjs.entry.js +17 -33
- package/dist/cjs/mds-button-dropdown.cjs.entry.js +41 -4
- package/dist/cjs/mds-button-group.cjs.entry.js +2 -2
- package/dist/cjs/mds-button_3.cjs.entry.js +98 -67
- package/dist/cjs/mds-calendar_2.cjs.entry.js +125 -50
- package/dist/cjs/mds-card-content.cjs.entry.js +2 -2
- package/dist/cjs/mds-card-footer.cjs.entry.js +2 -2
- package/dist/cjs/mds-card-header.cjs.entry.js +3 -3
- package/dist/cjs/mds-card-media.cjs.entry.js +3 -3
- package/dist/cjs/mds-card.cjs.entry.js +25 -16
- package/dist/cjs/mds-details.cjs.entry.js +18 -8
- package/dist/cjs/mds-dropdown.cjs.entry.js +31 -15
- package/dist/cjs/mds-emoji.cjs.entry.js +192 -135
- package/dist/cjs/mds-entity.cjs.entry.js +4 -4
- package/dist/cjs/mds-file-preview.cjs.entry.js +30 -23
- package/dist/cjs/mds-file.cjs.entry.js +52 -7525
- package/dist/cjs/mds-filter-item.cjs.entry.js +81 -7
- package/dist/cjs/mds-filter.cjs.entry.js +120 -22
- package/dist/cjs/mds-header-bar.cjs.entry.js +38 -10
- package/dist/cjs/mds-header.cjs.entry.js +9 -11
- package/dist/cjs/mds-horizontal-scroll.cjs.entry.js +44 -13
- package/dist/cjs/mds-hr.cjs.entry.js +3 -3
- package/dist/cjs/mds-img.cjs.entry.js +39 -47
- package/dist/cjs/mds-input-date-range-preselection.cjs.entry.js +16 -8
- package/dist/cjs/mds-input-date-range.cjs.entry.js +44 -26
- package/dist/cjs/mds-input-date.cjs.entry.js +49 -14
- package/dist/cjs/mds-input-field.cjs.entry.js +3 -3
- package/dist/cjs/mds-input-otp.cjs.entry.js +57 -22
- package/dist/cjs/mds-input-range.cjs.entry.js +3 -3
- package/dist/cjs/mds-input-select.cjs.entry.js +36 -9
- package/dist/cjs/mds-input-switch_2.cjs.entry.js +27 -14
- package/dist/cjs/mds-input-tip_2.cjs.entry.js +8 -7
- package/dist/cjs/mds-input-upload.cjs.entry.js +1097 -15
- package/dist/cjs/mds-input.cjs.entry.js +17 -8
- package/dist/cjs/mds-keyboard-key.cjs.entry.js +4 -4
- package/dist/cjs/mds-keyboard.cjs.entry.js +15 -7
- package/dist/cjs/mds-kpi-item.cjs.entry.js +18 -4
- package/dist/cjs/mds-kpi.cjs.entry.js +1 -1
- package/dist/cjs/mds-label.cjs.entry.js +13 -30
- package/dist/cjs/mds-list-item.cjs.entry.js +3 -4
- package/dist/cjs/mds-list.cjs.entry.js +1 -1
- package/dist/cjs/mds-mention.cjs.entry.js +7 -6
- package/dist/cjs/mds-modal.cjs.entry.js +55 -11
- package/dist/cjs/mds-note.cjs.entry.js +18 -14
- package/dist/cjs/mds-notification.cjs.entry.js +72 -15
- package/dist/cjs/mds-paginator-item.cjs.entry.js +23 -11
- package/dist/cjs/mds-paginator.cjs.entry.js +39 -4
- package/dist/cjs/mds-policy-ai.cjs.entry.js +5 -5
- package/dist/cjs/mds-pref-animation.cjs.entry.js +42 -9
- package/dist/cjs/mds-pref-consumption.cjs.entry.js +42 -9
- package/dist/cjs/mds-pref-contrast.cjs.entry.js +45 -33
- package/dist/cjs/mds-pref-language-item.cjs.entry.js +8 -8
- package/dist/cjs/mds-pref-language.cjs.entry.js +44 -22
- package/dist/cjs/mds-pref-mode.cjs.entry.js +29 -25
- package/dist/cjs/mds-pref-theme-item.cjs.entry.js +6 -4
- package/dist/cjs/mds-pref-theme.cjs.entry.js +137 -32
- package/dist/cjs/mds-pref.cjs.entry.js +47 -59
- package/dist/cjs/mds-price-table-features-cell.cjs.entry.js +4 -4
- package/dist/cjs/mds-price-table-features-row.cjs.entry.js +4 -4
- package/dist/cjs/mds-price-table-features.cjs.entry.js +4 -4
- package/dist/cjs/mds-price-table-header.cjs.entry.js +2 -2
- package/dist/cjs/mds-price-table-list-item.cjs.entry.js +3 -3
- package/dist/cjs/mds-price-table-list.cjs.entry.js +14 -6
- package/dist/cjs/mds-price-table.cjs.entry.js +2 -2
- package/dist/cjs/mds-progress_2.cjs.entry.js +46 -33
- package/dist/cjs/mds-push-notification-item.cjs.entry.js +13 -10
- package/dist/cjs/mds-push-notification.cjs.entry.js +37 -14
- package/dist/cjs/mds-quote.cjs.entry.js +4 -4
- package/dist/cjs/mds-radial-menu-item.cjs.entry.js +3 -3
- package/dist/cjs/mds-radial-menu.cjs.entry.js +81 -36
- package/dist/cjs/mds-separator.cjs.entry.js +4 -4
- package/dist/cjs/mds-status-bar.cjs.entry.js +8 -9
- package/dist/cjs/mds-stepper-bar-item.cjs.entry.js +18 -6
- package/dist/cjs/mds-stepper-bar.cjs.entry.js +9 -18
- package/dist/cjs/mds-tab-bar-item.cjs.entry.js +25 -16
- package/dist/cjs/mds-tab-bar.cjs.entry.js +12 -6
- package/dist/cjs/mds-tab_2.cjs.entry.js +31 -12
- package/dist/cjs/mds-table-body.cjs.entry.js +4 -4
- package/dist/cjs/mds-table-footer.cjs.entry.js +13 -4
- package/dist/cjs/mds-table-header-cell.cjs.entry.js +118 -79
- package/dist/cjs/mds-table-header.cjs.entry.js +13 -5
- package/dist/cjs/mds-table-row.cjs.entry.js +35 -11
- package/dist/cjs/mds-table.cjs.entry.js +87 -23
- package/dist/cjs/mds-text.cjs.entry.js +39 -29
- package/dist/cjs/mds-toast-region.cjs.entry.js +119 -0
- package/dist/cjs/mds-toast.cjs.entry.js +163 -33
- package/dist/cjs/mds-tooltip.cjs.entry.js +84 -16
- package/dist/cjs/mds-tree-item.cjs.entry.js +24 -10
- package/dist/cjs/mds-tree.cjs.entry.js +37 -15
- package/dist/cjs/mds-url-view.cjs.entry.js +6 -6
- package/dist/cjs/mds-usage.cjs.entry.js +26 -7
- package/dist/cjs/mds-video-wall.cjs.entry.js +5 -4
- package/dist/cjs/mds-zero.cjs.entry.js +4 -4
- package/dist/cjs/{preference-DRkzNp5a.js → preference-C8BcoA3M.js} +1 -1
- package/dist/cjs/{slot-RmXfgH4P.js → slot-Dku0TdVg.js} +15 -0
- package/dist/cjs/string-RoXIuD3q.js +7 -0
- package/dist/collection/collection-manifest.json +2 -1
- package/dist/collection/common/aria.js +25 -1
- package/dist/collection/common/file.js +6 -1
- package/dist/collection/common/floating-controller.js +35 -12
- package/dist/collection/common/hash.js +15 -0
- package/dist/collection/common/icon.js +4 -1
- package/dist/collection/common/keyboard-manager.js +29 -6
- package/dist/collection/common/slot.js +15 -1
- package/dist/collection/common/string.js +3 -1
- package/dist/collection/common/yugop/random-text.js +5 -0
- package/dist/collection/components/mds-accordion/AGENTS.md +3 -2
- package/dist/collection/components/mds-accordion/antipattern.md +1 -1
- package/dist/collection/components/mds-accordion/documentation.json +9 -4
- package/dist/collection/components/mds-accordion/mds-accordion.css +6 -6
- package/dist/collection/components/mds-accordion/mds-accordion.js +34 -21
- package/dist/collection/components/mds-accordion-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-accordion-item/antipattern.md +2 -2
- package/dist/collection/components/mds-accordion-item/documentation.json +3 -3
- package/dist/collection/components/mds-accordion-item/mds-accordion-item.css +16 -12
- package/dist/collection/components/mds-accordion-timer/AGENTS.md +2 -2
- package/dist/collection/components/mds-accordion-timer/documentation.json +3 -3
- package/dist/collection/components/mds-accordion-timer/mds-accordion-timer.css +2 -2
- package/dist/collection/components/mds-accordion-timer/mds-accordion-timer.js +15 -1
- package/dist/collection/components/mds-accordion-timer-item/AGENTS.md +4 -4
- package/dist/collection/components/mds-accordion-timer-item/documentation.json +4 -4
- package/dist/collection/components/mds-accordion-timer-item/mds-accordion-timer-item.css +11 -7
- package/dist/collection/components/mds-accordion-timer-item/mds-accordion-timer-item.js +9 -8
- package/dist/collection/components/mds-author/AGENTS.md +1 -1
- package/dist/collection/components/mds-author/documentation.json +3 -3
- package/dist/collection/components/mds-author/mds-author.css +2 -1
- package/dist/collection/components/mds-avatar/AGENTS.md +4 -4
- package/dist/collection/components/mds-avatar/documentation.json +5 -5
- package/dist/collection/components/mds-avatar/mds-avatar.css +33 -21
- package/dist/collection/components/mds-avatar/mds-avatar.js +56 -70
- package/dist/collection/components/mds-avatar/pattern.md +13 -2
- package/dist/collection/components/mds-avatar-stack/AGENTS.md +2 -2
- package/dist/collection/components/mds-avatar-stack/documentation.json +3 -3
- package/dist/collection/components/mds-avatar-stack/mds-avatar-stack.css +4 -4
- package/dist/collection/components/mds-avatar-stack/mds-avatar-stack.js +15 -2
- package/dist/collection/components/mds-avatar-stack-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-avatar-stack-item/documentation.json +2 -2
- package/dist/collection/components/mds-avatar-stack-item/mds-avatar-stack-item.css +6 -6
- package/dist/collection/components/mds-badge/AGENTS.md +1 -1
- package/dist/collection/components/mds-badge/antipattern.md +0 -1
- package/dist/collection/components/mds-badge/documentation.json +4 -4
- package/dist/collection/components/mds-badge/mds-badge.css +17 -15
- package/dist/collection/components/mds-badge/pattern.md +0 -1
- package/dist/collection/components/mds-banner/AGENTS.md +1 -1
- package/dist/collection/components/mds-banner/documentation.json +2 -2
- package/dist/collection/components/mds-banner/mds-banner.css +63 -59
- package/dist/collection/components/mds-benchmark-bar/AGENTS.md +2 -2
- package/dist/collection/components/mds-benchmark-bar/antipattern.md +1 -1
- package/dist/collection/components/mds-benchmark-bar/documentation.json +5 -5
- package/dist/collection/components/mds-benchmark-bar/mds-benchmark-bar.js +4 -1
- package/dist/collection/components/mds-benchmark-bar/pattern.md +1 -1
- package/dist/collection/components/mds-bibliography/AGENTS.md +4 -4
- package/dist/collection/components/mds-bibliography/antipattern.md +1 -1
- package/dist/collection/components/mds-bibliography/documentation.json +17 -8
- package/dist/collection/components/mds-bibliography/mds-bibliography.css +11 -7
- package/dist/collection/components/mds-bibliography/mds-bibliography.js +29 -17
- package/dist/collection/components/mds-bibliography/pattern.md +2 -2
- package/dist/collection/components/mds-breadcrumb/AGENTS.md +8 -6
- package/dist/collection/components/mds-breadcrumb/antipattern.md +3 -3
- package/dist/collection/components/mds-breadcrumb/documentation.json +18 -8
- package/dist/collection/components/mds-breadcrumb/mds-breadcrumb.css +20 -9
- package/dist/collection/components/mds-breadcrumb/mds-breadcrumb.js +13 -29
- package/dist/collection/components/mds-breadcrumb/pattern.md +2 -5
- package/dist/collection/components/mds-breadcrumb-item/AGENTS.md +4 -4
- package/dist/collection/components/mds-breadcrumb-item/documentation.json +10 -5
- package/dist/collection/components/mds-breadcrumb-item/mds-breadcrumb-item.css +15 -14
- package/dist/collection/components/mds-breadcrumb-item/mds-breadcrumb-item.js +10 -3
- package/dist/collection/components/mds-button/AGENTS.md +11 -8
- package/dist/collection/components/mds-button/antipattern.md +1 -1
- package/dist/collection/components/mds-button/documentation.json +22 -9
- package/dist/collection/components/mds-button/mds-button.css +238 -423
- package/dist/collection/components/mds-button/mds-button.js +73 -39
- package/dist/collection/components/mds-button/pattern.md +13 -0
- package/dist/collection/components/mds-button-dropdown/AGENTS.md +10 -9
- package/dist/collection/components/mds-button-dropdown/antipattern.md +1 -1
- package/dist/collection/components/mds-button-dropdown/documentation.json +13 -9
- package/dist/collection/components/mds-button-dropdown/mds-button-dropdown.css +38 -17
- package/dist/collection/components/mds-button-dropdown/mds-button-dropdown.js +26 -5
- package/dist/collection/components/mds-button-dropdown/pattern.md +8 -1
- package/dist/collection/components/mds-button-group/AGENTS.md +1 -1
- package/dist/collection/components/mds-button-group/documentation.json +2 -2
- package/dist/collection/components/mds-button-group/mds-button-group.js +1 -1
- package/dist/collection/components/mds-calendar/AGENTS.md +5 -5
- package/dist/collection/components/mds-calendar/documentation.json +5 -5
- package/dist/collection/components/mds-calendar/mds-calendar.css +17 -9
- package/dist/collection/components/mds-calendar/mds-calendar.js +52 -19
- package/dist/collection/components/mds-calendar/pattern.md +4 -3
- package/dist/collection/components/mds-calendar-cell/AGENTS.md +8 -8
- package/dist/collection/components/mds-calendar-cell/antipattern.md +2 -1
- package/dist/collection/components/mds-calendar-cell/documentation.json +14 -10
- package/dist/collection/components/mds-calendar-cell/mds-calendar-cell.css +260 -109
- package/dist/collection/components/mds-calendar-cell/mds-calendar-cell.js +8 -3
- package/dist/collection/components/mds-calendar-cell/pattern.md +3 -1
- package/dist/collection/components/mds-card/AGENTS.md +5 -4
- package/dist/collection/components/mds-card/antipattern.md +1 -1
- package/dist/collection/components/mds-card/documentation.json +10 -5
- package/dist/collection/components/mds-card/mds-card.css +3 -2
- package/dist/collection/components/mds-card/mds-card.js +22 -13
- package/dist/collection/components/mds-card/pattern.md +4 -3
- package/dist/collection/components/mds-card-content/AGENTS.md +1 -1
- package/dist/collection/components/mds-card-content/documentation.json +2 -2
- package/dist/collection/components/mds-card-content/mds-card-content.js +1 -1
- package/dist/collection/components/mds-card-footer/AGENTS.md +1 -1
- package/dist/collection/components/mds-card-footer/documentation.json +2 -2
- package/dist/collection/components/mds-card-footer/mds-card-footer.js +1 -1
- package/dist/collection/components/mds-card-header/AGENTS.md +1 -1
- package/dist/collection/components/mds-card-header/documentation.json +2 -2
- package/dist/collection/components/mds-card-header/mds-card-header.js +1 -1
- package/dist/collection/components/mds-card-media/AGENTS.md +2 -2
- package/dist/collection/components/mds-card-media/documentation.json +7 -3
- package/dist/collection/components/mds-card-media/mds-card-media.js +2 -1
- package/dist/collection/components/mds-chip/AGENTS.md +3 -3
- package/dist/collection/components/mds-chip/documentation.json +6 -6
- package/dist/collection/components/mds-chip/mds-chip.css +98 -95
- package/dist/collection/components/mds-chip/mds-chip.js +40 -60
- package/dist/collection/components/mds-chip/pattern.md +1 -1
- package/dist/collection/components/mds-details/AGENTS.md +5 -4
- package/dist/collection/components/mds-details/documentation.json +6 -6
- package/dist/collection/components/mds-details/mds-details.css +20 -8
- package/dist/collection/components/mds-details/mds-details.js +14 -4
- package/dist/collection/components/mds-details/pattern.md +2 -2
- package/dist/collection/components/mds-dropdown/AGENTS.md +7 -7
- package/dist/collection/components/mds-dropdown/documentation.json +16 -11
- package/dist/collection/components/mds-dropdown/mds-dropdown.css +71 -38
- package/dist/collection/components/mds-dropdown/mds-dropdown.js +31 -12
- package/dist/collection/components/mds-dropdown/pattern.md +4 -2
- package/dist/collection/components/mds-emoji/AGENTS.md +12 -12
- package/dist/collection/components/mds-emoji/antipattern.md +1 -1
- package/dist/collection/components/mds-emoji/documentation.json +35 -65
- package/dist/collection/components/mds-emoji/mds-emoji.css +5 -5
- package/dist/collection/components/mds-emoji/mds-emoji.js +101 -77
- package/dist/collection/components/mds-emoji/meta/gaze.js +22 -0
- package/dist/collection/components/mds-entity/AGENTS.md +1 -1
- package/dist/collection/components/mds-entity/documentation.json +2 -2
- package/dist/collection/components/mds-entity/mds-entity.css +17 -12
- package/dist/collection/components/mds-file/AGENTS.md +6 -6
- package/dist/collection/components/mds-file/documentation.json +5 -5
- package/dist/collection/components/mds-file/mds-file.css +15 -15
- package/dist/collection/components/mds-file/mds-file.js +35 -11
- package/dist/collection/components/mds-file/pattern.md +1 -1
- package/dist/collection/components/mds-file-preview/AGENTS.md +5 -5
- package/dist/collection/components/mds-file-preview/antipattern.md +1 -1
- package/dist/collection/components/mds-file-preview/documentation.json +20 -10
- package/dist/collection/components/mds-file-preview/mds-file-preview.css +48 -22
- package/dist/collection/components/mds-file-preview/mds-file-preview.js +34 -21
- package/dist/collection/components/mds-file-preview/pattern.md +1 -1
- package/dist/collection/components/mds-filter/AGENTS.md +5 -3
- package/dist/collection/components/mds-filter/documentation.json +4 -4
- package/dist/collection/components/mds-filter/mds-filter.css +19 -19
- package/dist/collection/components/mds-filter/mds-filter.js +102 -20
- package/dist/collection/components/mds-filter/pattern.md +34 -4
- package/dist/collection/components/mds-filter-item/AGENTS.md +10 -9
- package/dist/collection/components/mds-filter-item/documentation.json +5 -5
- package/dist/collection/components/mds-filter-item/mds-filter-item.css +34 -21
- package/dist/collection/components/mds-filter-item/mds-filter-item.js +54 -4
- package/dist/collection/components/mds-filter-item/pattern.md +5 -5
- package/dist/collection/components/mds-header/AGENTS.md +5 -5
- package/dist/collection/components/mds-header/antipattern.md +2 -2
- package/dist/collection/components/mds-header/documentation.json +14 -9
- package/dist/collection/components/mds-header/mds-header.css +26 -16
- package/dist/collection/components/mds-header/mds-header.js +10 -9
- package/dist/collection/components/mds-header/pattern.md +1 -1
- package/dist/collection/components/mds-header-bar/AGENTS.md +6 -6
- package/dist/collection/components/mds-header-bar/documentation.json +14 -10
- package/dist/collection/components/mds-header-bar/mds-header-bar.css +15 -6
- package/dist/collection/components/mds-header-bar/mds-header-bar.js +22 -9
- package/dist/collection/components/mds-header-bar/pattern.md +2 -2
- package/dist/collection/components/mds-help/AGENTS.md +7 -7
- package/dist/collection/components/mds-help/documentation.json +12 -8
- package/dist/collection/components/mds-help/mds-help.css +23 -1
- package/dist/collection/components/mds-help/mds-help.js +8 -5
- package/dist/collection/components/mds-help/pattern.md +2 -2
- package/dist/collection/components/mds-horizontal-scroll/AGENTS.md +3 -3
- package/dist/collection/components/mds-horizontal-scroll/documentation.json +8 -4
- package/dist/collection/components/mds-horizontal-scroll/mds-horizontal-scroll.css +13 -13
- package/dist/collection/components/mds-horizontal-scroll/mds-horizontal-scroll.js +18 -11
- package/dist/collection/components/mds-hr/AGENTS.md +1 -1
- package/dist/collection/components/mds-hr/documentation.json +2 -2
- package/dist/collection/components/mds-hr/mds-hr.css +2 -2
- package/dist/collection/components/mds-icon/AGENTS.md +2 -2
- package/dist/collection/components/mds-icon/documentation.json +5 -5
- package/dist/collection/components/mds-icon/mds-icon.js +14 -3
- package/dist/collection/components/mds-icon/pattern.md +1 -1
- package/dist/collection/components/mds-img/AGENTS.md +9 -9
- package/dist/collection/components/mds-img/antipattern.md +1 -1
- package/dist/collection/components/mds-img/documentation.json +36 -34
- package/dist/collection/components/mds-img/mds-img.css +6 -6
- package/dist/collection/components/mds-img/mds-img.js +58 -56
- package/dist/collection/components/mds-input/AGENTS.md +17 -15
- package/dist/collection/components/mds-input/antipattern.md +1 -1
- package/dist/collection/components/mds-input/documentation.json +134 -25
- package/dist/collection/components/mds-input/mds-input.css +136 -65
- package/dist/collection/components/mds-input/mds-input.js +69 -9
- package/dist/collection/components/mds-input/pattern.md +15 -0
- package/dist/collection/components/mds-input-date/AGENTS.md +7 -4
- package/dist/collection/components/mds-input-date/antipattern.md +1 -1
- package/dist/collection/components/mds-input-date/documentation.json +72 -7
- package/dist/collection/components/mds-input-date/mds-input-date.css +53 -28
- package/dist/collection/components/mds-input-date/mds-input-date.js +61 -2
- package/dist/collection/components/mds-input-date-range/AGENTS.md +4 -2
- package/dist/collection/components/mds-input-date-range/documentation.json +67 -3
- package/dist/collection/components/mds-input-date-range/mds-input-date-range.css +51 -25
- package/dist/collection/components/mds-input-date-range/mds-input-date-range.js +50 -1
- package/dist/collection/components/mds-input-date-range-preselection/AGENTS.md +3 -3
- package/dist/collection/components/mds-input-date-range-preselection/antipattern.md +1 -1
- package/dist/collection/components/mds-input-date-range-preselection/documentation.json +26 -8
- package/dist/collection/components/mds-input-date-range-preselection/mds-input-date-range-preselection.css +18 -18
- package/dist/collection/components/mds-input-date-range-preselection/mds-input-date-range-preselection.js +31 -9
- package/dist/collection/components/mds-input-field/AGENTS.md +4 -4
- package/dist/collection/components/mds-input-field/documentation.json +10 -6
- package/dist/collection/components/mds-input-field/mds-input-field.css +8 -8
- package/dist/collection/components/mds-input-field/mds-input-field.js +5 -2
- package/dist/collection/components/mds-input-otp/AGENTS.md +5 -4
- package/dist/collection/components/mds-input-otp/antipattern.md +1 -1
- package/dist/collection/components/mds-input-otp/documentation.json +5 -5
- package/dist/collection/components/mds-input-otp/mds-input-otp.css +12 -0
- package/dist/collection/components/mds-input-otp/mds-input-otp.js +53 -18
- package/dist/collection/components/mds-input-otp/pattern.md +1 -1
- package/dist/collection/components/mds-input-range/AGENTS.md +1 -1
- package/dist/collection/components/mds-input-range/antipattern.md +1 -1
- package/dist/collection/components/mds-input-range/documentation.json +3 -3
- package/dist/collection/components/mds-input-range/mds-input-range.css +16 -15
- package/dist/collection/components/mds-input-select/AGENTS.md +7 -4
- package/dist/collection/components/mds-input-select/documentation.json +59 -8
- package/dist/collection/components/mds-input-select/mds-input-select.css +112 -31
- package/dist/collection/components/mds-input-select/mds-input-select.js +61 -7
- package/dist/collection/components/mds-input-select/pattern.md +3 -3
- package/dist/collection/components/mds-input-switch/AGENTS.md +2 -2
- package/dist/collection/components/mds-input-switch/antipattern.md +1 -1
- package/dist/collection/components/mds-input-switch/documentation.json +4 -4
- package/dist/collection/components/mds-input-switch/mds-input-switch.css +93 -71
- package/dist/collection/components/mds-input-switch/mds-input-switch.js +19 -6
- package/dist/collection/components/mds-input-tip/AGENTS.md +2 -2
- package/dist/collection/components/mds-input-tip/documentation.json +3 -3
- package/dist/collection/components/mds-input-tip/mds-input-tip.css +1 -1
- package/dist/collection/components/mds-input-tip/mds-input-tip.js +4 -3
- package/dist/collection/components/mds-input-tip-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-input-tip-item/documentation.json +2 -2
- package/dist/collection/components/mds-input-tip-item/mds-input-tip-item.css +24 -21
- package/dist/collection/components/mds-input-tip-item/meta/dictionary.js +2 -8
- package/dist/collection/components/mds-input-upload/AGENTS.md +2 -2
- package/dist/collection/components/mds-input-upload/documentation.json +7 -3
- package/dist/collection/components/mds-input-upload/mds-input-upload.css +17 -15
- package/dist/collection/components/mds-input-upload/mds-input-upload.js +13 -8
- package/dist/collection/components/mds-keyboard/AGENTS.md +2 -2
- package/dist/collection/components/mds-keyboard/documentation.json +4 -4
- package/dist/collection/components/mds-keyboard/mds-keyboard.css +28 -16
- package/dist/collection/components/mds-keyboard/mds-keyboard.js +11 -3
- package/dist/collection/components/mds-keyboard/pattern.md +1 -1
- package/dist/collection/components/mds-keyboard-key/AGENTS.md +2 -2
- package/dist/collection/components/mds-keyboard-key/documentation.json +3 -3
- package/dist/collection/components/mds-keyboard-key/mds-keyboard-key.css +4 -3
- package/dist/collection/components/mds-kpi/AGENTS.md +1 -1
- package/dist/collection/components/mds-kpi/documentation.json +2 -2
- package/dist/collection/components/mds-kpi-item/AGENTS.md +2 -2
- package/dist/collection/components/mds-kpi-item/antipattern.md +1 -1
- package/dist/collection/components/mds-kpi-item/documentation.json +5 -5
- package/dist/collection/components/mds-kpi-item/mds-kpi-item.css +13 -13
- package/dist/collection/components/mds-kpi-item/mds-kpi-item.js +15 -1
- package/dist/collection/components/mds-kpi-item/pattern.md +2 -2
- package/dist/collection/components/mds-label/AGENTS.md +2 -2
- package/dist/collection/components/mds-label/documentation.json +3 -3
- package/dist/collection/components/mds-label/mds-label.css +18 -13
- package/dist/collection/components/mds-label/mds-label.js +2 -24
- package/dist/collection/components/mds-list/AGENTS.md +2 -2
- package/dist/collection/components/mds-list/documentation.json +3 -3
- package/dist/collection/components/mds-list-item/AGENTS.md +4 -3
- package/dist/collection/components/mds-list-item/documentation.json +14 -6
- package/dist/collection/components/mds-list-item/mds-list-item.css +0 -18
- package/dist/collection/components/mds-list-item/mds-list-item.js +3 -2
- package/dist/collection/components/mds-list-item/pattern.md +11 -0
- package/dist/collection/components/mds-mention/AGENTS.md +2 -2
- package/dist/collection/components/mds-mention/documentation.json +3 -3
- package/dist/collection/components/mds-mention/mds-mention.css +4 -13
- package/dist/collection/components/mds-mention/mds-mention.js +4 -3
- package/dist/collection/components/mds-modal/AGENTS.md +8 -7
- package/dist/collection/components/mds-modal/documentation.json +16 -7
- package/dist/collection/components/mds-modal/mds-modal.css +23 -14
- package/dist/collection/components/mds-modal/mds-modal.js +36 -7
- package/dist/collection/components/mds-modal/pattern.md +1 -1
- package/dist/collection/components/mds-note/AGENTS.md +2 -1
- package/dist/collection/components/mds-note/documentation.json +8 -3
- package/dist/collection/components/mds-note/mds-note.css +7 -15
- package/dist/collection/components/mds-note/mds-note.js +13 -9
- package/dist/collection/components/mds-note/pattern.md +1 -0
- package/dist/collection/components/mds-notification/AGENTS.md +5 -5
- package/dist/collection/components/mds-notification/documentation.json +11 -6
- package/dist/collection/components/mds-notification/mds-notification.css +13 -6
- package/dist/collection/components/mds-notification/mds-notification.js +78 -13
- package/dist/collection/components/mds-paginator/AGENTS.md +4 -3
- package/dist/collection/components/mds-paginator/antipattern.md +2 -1
- package/dist/collection/components/mds-paginator/documentation.json +6 -6
- package/dist/collection/components/mds-paginator/mds-paginator.css +8 -8
- package/dist/collection/components/mds-paginator/mds-paginator.js +12 -1
- package/dist/collection/components/mds-paginator/pattern.md +9 -1
- package/dist/collection/components/mds-paginator-item/AGENTS.md +4 -4
- package/dist/collection/components/mds-paginator-item/antipattern.md +2 -1
- package/dist/collection/components/mds-paginator-item/documentation.json +6 -6
- package/dist/collection/components/mds-paginator-item/mds-paginator-item.css +69 -71
- package/dist/collection/components/mds-paginator-item/mds-paginator-item.js +19 -7
- package/dist/collection/components/mds-paginator-item/pattern.md +3 -1
- package/dist/collection/components/mds-policy-ai/AGENTS.md +3 -2
- package/dist/collection/components/mds-policy-ai/documentation.json +13 -5
- package/dist/collection/components/mds-policy-ai/mds-policy-ai.css +21 -15
- package/dist/collection/components/mds-policy-ai/mds-policy-ai.js +3 -2
- package/dist/collection/components/mds-policy-ai/pattern.md +6 -1
- package/dist/collection/components/mds-pref/AGENTS.md +6 -6
- package/dist/collection/components/mds-pref/antipattern.md +1 -1
- package/dist/collection/components/mds-pref/documentation.json +20 -9
- package/dist/collection/components/mds-pref/mds-pref.js +61 -57
- package/dist/collection/components/mds-pref/pattern.md +5 -5
- package/dist/collection/components/mds-pref-animation/AGENTS.md +3 -3
- package/dist/collection/components/mds-pref-animation/antipattern.md +1 -1
- package/dist/collection/components/mds-pref-animation/documentation.json +5 -5
- package/dist/collection/components/mds-pref-animation/mds-pref-animation.css +7 -7
- package/dist/collection/components/mds-pref-animation/mds-pref-animation.js +38 -5
- package/dist/collection/components/mds-pref-animation/pattern.md +6 -6
- package/dist/collection/components/mds-pref-consumption/AGENTS.md +3 -3
- package/dist/collection/components/mds-pref-consumption/antipattern.md +1 -1
- package/dist/collection/components/mds-pref-consumption/documentation.json +5 -5
- package/dist/collection/components/mds-pref-consumption/mds-pref-consumption.css +4 -4
- package/dist/collection/components/mds-pref-consumption/mds-pref-consumption.js +38 -5
- package/dist/collection/components/mds-pref-consumption/pattern.md +5 -6
- package/dist/collection/components/mds-pref-contrast/AGENTS.md +3 -3
- package/dist/collection/components/mds-pref-contrast/antipattern.md +2 -2
- package/dist/collection/components/mds-pref-contrast/documentation.json +5 -5
- package/dist/collection/components/mds-pref-contrast/mds-pref-contrast.css +5 -5
- package/dist/collection/components/mds-pref-contrast/mds-pref-contrast.js +41 -29
- package/dist/collection/components/mds-pref-contrast/pattern.md +3 -3
- package/dist/collection/components/mds-pref-language/AGENTS.md +7 -7
- package/dist/collection/components/mds-pref-language/antipattern.md +2 -2
- package/dist/collection/components/mds-pref-language/documentation.json +17 -7
- package/dist/collection/components/mds-pref-language/mds-pref-language.css +10 -2
- package/dist/collection/components/mds-pref-language/mds-pref-language.js +54 -20
- package/dist/collection/components/mds-pref-language/pattern.md +3 -3
- package/dist/collection/components/mds-pref-language-item/AGENTS.md +2 -2
- package/dist/collection/components/mds-pref-language-item/antipattern.md +1 -1
- package/dist/collection/components/mds-pref-language-item/documentation.json +10 -5
- package/dist/collection/components/mds-pref-language-item/mds-pref-language-item.js +9 -6
- package/dist/collection/components/mds-pref-mode/AGENTS.md +13 -6
- package/dist/collection/components/mds-pref-mode/antipattern.md +4 -4
- package/dist/collection/components/mds-pref-mode/documentation.json +22 -6
- package/dist/collection/components/mds-pref-mode/mds-pref-mode.css +6 -6
- package/dist/collection/components/mds-pref-mode/mds-pref-mode.js +22 -23
- package/dist/collection/components/mds-pref-mode/pattern.md +5 -5
- package/dist/collection/components/mds-pref-theme/AGENTS.md +9 -7
- package/dist/collection/components/mds-pref-theme/antipattern.md +4 -4
- package/dist/collection/components/mds-pref-theme/documentation.json +17 -7
- package/dist/collection/components/mds-pref-theme/mds-pref-theme.css +10 -2
- package/dist/collection/components/mds-pref-theme/mds-pref-theme.js +149 -31
- package/dist/collection/components/mds-pref-theme/pattern.md +3 -3
- package/dist/collection/components/mds-pref-theme-item/AGENTS.md +2 -2
- package/dist/collection/components/mds-pref-theme-item/antipattern.md +1 -1
- package/dist/collection/components/mds-pref-theme-item/documentation.json +8 -4
- package/dist/collection/components/mds-pref-theme-item/mds-pref-theme-item.css +30 -12
- package/dist/collection/components/mds-pref-theme-item/mds-pref-theme-item.js +8 -3
- package/dist/collection/components/mds-price-table/AGENTS.md +1 -1
- package/dist/collection/components/mds-price-table/documentation.json +2 -2
- package/dist/collection/components/mds-price-table/mds-price-table.js +1 -1
- package/dist/collection/components/mds-price-table-features/AGENTS.md +3 -3
- package/dist/collection/components/mds-price-table-features/documentation.json +4 -4
- package/dist/collection/components/mds-price-table-features/mds-price-table-features.css +3 -3
- package/dist/collection/components/mds-price-table-features/mds-price-table-features.js +1 -1
- package/dist/collection/components/mds-price-table-features-cell/AGENTS.md +2 -2
- package/dist/collection/components/mds-price-table-features-cell/documentation.json +3 -3
- package/dist/collection/components/mds-price-table-features-cell/mds-price-table-features-cell.css +15 -12
- package/dist/collection/components/mds-price-table-features-cell/mds-price-table-features-cell.js +1 -1
- package/dist/collection/components/mds-price-table-features-row/AGENTS.md +1 -1
- package/dist/collection/components/mds-price-table-features-row/documentation.json +2 -2
- package/dist/collection/components/mds-price-table-features-row/mds-price-table-features-row.css +12 -12
- package/dist/collection/components/mds-price-table-features-row/mds-price-table-features-row.js +1 -1
- package/dist/collection/components/mds-price-table-header/AGENTS.md +1 -1
- package/dist/collection/components/mds-price-table-header/documentation.json +2 -2
- package/dist/collection/components/mds-price-table-header/mds-price-table-header.js +1 -1
- package/dist/collection/components/mds-price-table-list/AGENTS.md +3 -3
- package/dist/collection/components/mds-price-table-list/documentation.json +3 -3
- package/dist/collection/components/mds-price-table-list/mds-price-table-list.css +10 -9
- package/dist/collection/components/mds-price-table-list/mds-price-table-list.js +13 -3
- package/dist/collection/components/mds-price-table-list-item/AGENTS.md +3 -3
- package/dist/collection/components/mds-price-table-list-item/documentation.json +9 -5
- package/dist/collection/components/mds-price-table-list-item/mds-price-table-list-item.css +7 -3
- package/dist/collection/components/mds-price-table-list-item/mds-price-table-list-item.js +2 -1
- package/dist/collection/components/mds-price-table-list-item/pattern.md +1 -1
- package/dist/collection/components/mds-progress/AGENTS.md +3 -2
- package/dist/collection/components/mds-progress/documentation.json +4 -4
- package/dist/collection/components/mds-progress/mds-progress.css +22 -21
- package/dist/collection/components/mds-progress/mds-progress.js +42 -29
- package/dist/collection/components/mds-progress/pattern.md +1 -0
- package/dist/collection/components/mds-push-notification/AGENTS.md +4 -4
- package/dist/collection/components/mds-push-notification/documentation.json +4 -4
- package/dist/collection/components/mds-push-notification/mds-push-notification.js +19 -12
- package/dist/collection/components/mds-push-notification-item/AGENTS.md +4 -5
- package/dist/collection/components/mds-push-notification-item/documentation.json +18 -13
- package/dist/collection/components/mds-push-notification-item/mds-push-notification-item.css +20 -103
- package/dist/collection/components/mds-push-notification-item/mds-push-notification-item.js +17 -8
- package/dist/collection/components/mds-push-notification-item/pattern.md +2 -3
- package/dist/collection/components/mds-quote/AGENTS.md +1 -1
- package/dist/collection/components/mds-quote/documentation.json +2 -2
- package/dist/collection/components/mds-quote/mds-quote.css +6 -4
- package/dist/collection/components/mds-quote/mds-quote.js +1 -1
- package/dist/collection/components/mds-radial-menu/AGENTS.md +13 -12
- package/dist/collection/components/mds-radial-menu/antipattern.md +1 -1
- package/dist/collection/components/mds-radial-menu/documentation.json +19 -33
- package/dist/collection/components/mds-radial-menu/mds-radial-menu.css +29 -10
- package/dist/collection/components/mds-radial-menu/mds-radial-menu.js +57 -39
- package/dist/collection/components/mds-radial-menu/pattern.md +14 -1
- package/dist/collection/components/mds-radial-menu-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-radial-menu-item/documentation.json +2 -2
- package/dist/collection/components/mds-radial-menu-item/mds-radial-menu-item.js +1 -1
- package/dist/collection/components/mds-radial-progress/AGENTS.md +11 -1
- package/dist/collection/components/mds-radial-progress/antipattern.md +8 -1
- package/dist/collection/components/mds-radial-progress/documentation.json +31 -5
- package/dist/collection/components/mds-radial-progress/mds-radial-progress.css +24 -16
- package/dist/collection/components/mds-radial-progress/mds-radial-progress.js +1 -1
- package/dist/collection/components/mds-radial-progress/pattern.md +13 -1
- package/dist/collection/components/mds-separator/AGENTS.md +1 -1
- package/dist/collection/components/mds-separator/documentation.json +2 -2
- package/dist/collection/components/mds-separator/mds-separator.css +3 -3
- package/dist/collection/components/mds-separator/mds-separator.js +1 -1
- package/dist/collection/components/mds-spinner/AGENTS.md +2 -2
- package/dist/collection/components/mds-spinner/documentation.json +4 -4
- package/dist/collection/components/mds-spinner/mds-spinner.css +67 -16
- package/dist/collection/components/mds-spinner/mds-spinner.js +1 -1
- package/dist/collection/components/mds-spinner/pattern.md +1 -1
- package/dist/collection/components/mds-status-bar/AGENTS.md +1 -1
- package/dist/collection/components/mds-status-bar/antipattern.md +1 -1
- package/dist/collection/components/mds-status-bar/documentation.json +4 -4
- package/dist/collection/components/mds-status-bar/mds-status-bar.css +14 -8
- package/dist/collection/components/mds-status-bar/mds-status-bar.js +5 -6
- package/dist/collection/components/mds-status-bar/pattern.md +1 -1
- package/dist/collection/components/mds-stepper-bar/AGENTS.md +5 -5
- package/dist/collection/components/mds-stepper-bar/documentation.json +8 -14
- package/dist/collection/components/mds-stepper-bar/mds-stepper-bar.css +6 -6
- package/dist/collection/components/mds-stepper-bar/mds-stepper-bar.js +9 -27
- package/dist/collection/components/mds-stepper-bar/pattern.md +1 -1
- package/dist/collection/components/mds-stepper-bar-item/AGENTS.md +4 -4
- package/dist/collection/components/mds-stepper-bar-item/documentation.json +6 -6
- package/dist/collection/components/mds-stepper-bar-item/mds-stepper-bar-item.css +37 -20
- package/dist/collection/components/mds-stepper-bar-item/mds-stepper-bar-item.js +15 -3
- package/dist/collection/components/mds-stepper-bar-item/pattern.md +1 -1
- package/dist/collection/components/mds-tab/AGENTS.md +4 -4
- package/dist/collection/components/mds-tab/documentation.json +5 -5
- package/dist/collection/components/mds-tab/mds-tab.css +55 -27
- package/dist/collection/components/mds-tab/mds-tab.js +25 -5
- package/dist/collection/components/mds-tab/pattern.md +9 -0
- package/dist/collection/components/mds-tab-bar/AGENTS.md +1 -1
- package/dist/collection/components/mds-tab-bar/antipattern.md +1 -1
- package/dist/collection/components/mds-tab-bar/documentation.json +3 -3
- package/dist/collection/components/mds-tab-bar/mds-tab-bar.css +1 -1
- package/dist/collection/components/mds-tab-bar/mds-tab-bar.js +9 -3
- package/dist/collection/components/mds-tab-bar-item/AGENTS.md +3 -3
- package/dist/collection/components/mds-tab-bar-item/antipattern.md +2 -2
- package/dist/collection/components/mds-tab-bar-item/documentation.json +5 -5
- package/dist/collection/components/mds-tab-bar-item/mds-tab-bar-item.css +36 -15
- package/dist/collection/components/mds-tab-bar-item/mds-tab-bar-item.js +22 -18
- package/dist/collection/components/mds-tab-bar-item/pattern.md +1 -1
- package/dist/collection/components/mds-tab-item/AGENTS.md +2 -2
- package/dist/collection/components/mds-tab-item/documentation.json +9 -4
- package/dist/collection/components/mds-tab-item/mds-tab-item.css +13 -3
- package/dist/collection/components/mds-tab-item/mds-tab-item.js +4 -1
- package/dist/collection/components/mds-table/AGENTS.md +12 -8
- package/dist/collection/components/mds-table/antipattern.md +1 -1
- package/dist/collection/components/mds-table/documentation.json +85 -10
- package/dist/collection/components/mds-table/mds-table.css +36 -26
- package/dist/collection/components/mds-table/mds-table.js +131 -21
- package/dist/collection/components/mds-table/pattern.md +34 -1
- package/dist/collection/components/mds-table-body/AGENTS.md +1 -1
- package/dist/collection/components/mds-table-body/documentation.json +2 -2
- package/dist/collection/components/mds-table-body/mds-table-body.css +13 -10
- package/dist/collection/components/mds-table-body/mds-table-body.js +1 -1
- package/dist/collection/components/mds-table-cell/AGENTS.md +5 -5
- package/dist/collection/components/mds-table-cell/antipattern.md +1 -1
- package/dist/collection/components/mds-table-cell/documentation.json +11 -7
- package/dist/collection/components/mds-table-cell/mds-table-cell.css +7 -11
- package/dist/collection/components/mds-table-cell/mds-table-cell.js +1 -1
- package/dist/collection/components/mds-table-cell/pattern.md +6 -0
- package/dist/collection/components/mds-table-footer/AGENTS.md +14 -4
- package/dist/collection/components/mds-table-footer/documentation.json +42 -9
- package/dist/collection/components/mds-table-footer/mds-table-footer.css +6 -1
- package/dist/collection/components/mds-table-footer/mds-table-footer.js +41 -2
- package/dist/collection/components/mds-table-footer/pattern.md +2 -1
- package/dist/collection/components/mds-table-header/AGENTS.md +4 -3
- package/dist/collection/components/mds-table-header/documentation.json +49 -6
- package/dist/collection/components/mds-table-header/mds-table-header.css +7 -0
- package/dist/collection/components/mds-table-header/mds-table-header.js +36 -2
- package/dist/collection/components/mds-table-header/pattern.md +1 -1
- package/dist/collection/components/mds-table-header-cell/AGENTS.md +16 -7
- package/dist/collection/components/mds-table-header-cell/antipattern.md +17 -10
- package/dist/collection/components/mds-table-header-cell/documentation.json +72 -10
- package/dist/collection/components/mds-table-header-cell/mds-table-header-cell.js +166 -82
- package/dist/collection/components/mds-table-header-cell/meta/event-detail.js +1 -0
- package/dist/collection/components/mds-table-header-cell/pattern.md +27 -6
- package/dist/collection/components/mds-table-row/AGENTS.md +3 -3
- package/dist/collection/components/mds-table-row/documentation.json +5 -5
- package/dist/collection/components/mds-table-row/mds-table-row.css +17 -16
- package/dist/collection/components/mds-table-row/mds-table-row.js +24 -5
- package/dist/collection/components/mds-table-row/pattern.md +1 -2
- package/dist/collection/components/mds-text/AGENTS.md +4 -4
- package/dist/collection/components/mds-text/documentation.json +3 -3
- package/dist/collection/components/mds-text/mds-text.css +89 -6
- package/dist/collection/components/mds-text/mds-text.js +31 -26
- package/dist/collection/components/mds-toast/AGENTS.md +13 -7
- package/dist/collection/components/mds-toast/antipattern.md +18 -0
- package/dist/collection/components/mds-toast/documentation.json +53 -13
- package/dist/collection/components/mds-toast/mds-toast.css +70 -21
- package/dist/collection/components/mds-toast/mds-toast.js +174 -35
- package/dist/collection/components/mds-toast/meta/event-detail.js +1 -0
- package/dist/collection/components/mds-toast/pattern.md +18 -4
- package/dist/collection/components/mds-toast-region/AGENTS.md +51 -0
- package/dist/collection/components/mds-toast-region/antipattern.md +62 -0
- package/dist/collection/components/mds-toast-region/documentation.json +136 -0
- package/dist/collection/components/mds-toast-region/mds-toast-region.css +31 -0
- package/dist/collection/components/mds-toast-region/mds-toast-region.js +177 -0
- package/dist/collection/components/mds-toast-region/pattern.md +82 -0
- package/dist/collection/components/mds-tooltip/AGENTS.md +9 -7
- package/dist/collection/components/mds-tooltip/antipattern.md +14 -0
- package/dist/collection/components/mds-tooltip/documentation.json +61 -11
- package/dist/collection/components/mds-tooltip/mds-tooltip.css +47 -12
- package/dist/collection/components/mds-tooltip/mds-tooltip.js +113 -14
- package/dist/collection/components/mds-tooltip/pattern.md +11 -2
- package/dist/collection/components/mds-tree/AGENTS.md +6 -5
- package/dist/collection/components/mds-tree/documentation.json +13 -7
- package/dist/collection/components/mds-tree/mds-tree.css +18 -17
- package/dist/collection/components/mds-tree/mds-tree.js +41 -16
- package/dist/collection/components/mds-tree/pattern.md +5 -1
- package/dist/collection/components/mds-tree-item/AGENTS.md +7 -7
- package/dist/collection/components/mds-tree-item/documentation.json +7 -7
- package/dist/collection/components/mds-tree-item/mds-tree-item.css +47 -15
- package/dist/collection/components/mds-tree-item/mds-tree-item.js +22 -8
- package/dist/collection/components/mds-tree-item/pattern.md +2 -1
- package/dist/collection/components/mds-url-view/AGENTS.md +2 -2
- package/dist/collection/components/mds-url-view/documentation.json +3 -3
- package/dist/collection/components/mds-url-view/mds-url-view.css +10 -9
- package/dist/collection/components/mds-url-view/mds-url-view.js +2 -2
- package/dist/collection/components/mds-usage/AGENTS.md +15 -11
- package/dist/collection/components/mds-usage/antipattern.md +17 -1
- package/dist/collection/components/mds-usage/documentation.json +48 -10
- package/dist/collection/components/mds-usage/mds-usage.css +11 -9
- package/dist/collection/components/mds-usage/mds-usage.js +30 -5
- package/dist/collection/components/mds-usage/meta/variants.js +14 -18
- package/dist/collection/components/mds-usage/pattern.md +13 -3
- package/dist/collection/components/mds-video-wall/AGENTS.md +2 -2
- package/dist/collection/components/mds-video-wall/documentation.json +3 -3
- package/dist/collection/components/mds-video-wall/mds-video-wall.css +13 -8
- package/dist/collection/components/mds-video-wall/mds-video-wall.js +2 -1
- package/dist/collection/components/mds-zero/AGENTS.md +1 -1
- package/dist/collection/components/mds-zero/documentation.json +2 -2
- package/dist/collection/components/mds-zero/mds-zero.css +5 -4
- package/dist/collection/components/mds-zero/mds-zero.js +1 -1
- package/dist/collection/type/floating-ui.js +1 -0
- package/dist/collection/type/input.js +2 -0
- package/dist/components/index.d.ts +2 -0
- package/dist/components/index.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-item.js +1 -1
- package/dist/components/mds-avatar-stack.js +1 -1
- package/dist/components/mds-avatar.js +1 -1
- package/dist/components/mds-badge.js +1 -1
- package/dist/components/mds-banner.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-button.js +1 -1
- package/dist/components/mds-calendar-cell.js +1 -1
- package/dist/components/mds-calendar.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-chip.js +1 -1
- package/dist/components/mds-details.js +1 -1
- package/dist/components/mds-dropdown.js +1 -1
- package/dist/components/mds-emoji.js +7 -7
- package/dist/components/mds-entity.js +1 -1
- package/dist/components/mds-file-preview.js +1 -1
- package/dist/components/mds-file.js +1 -18
- package/dist/components/mds-filter-item.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-help.js +1 -1
- package/dist/components/mds-horizontal-scroll.js +1 -1
- package/dist/components/mds-hr.js +1 -1
- package/dist/components/mds-icon.js +1 -1
- package/dist/components/mds-img.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-switch.js +1 -1
- package/dist/components/mds-input-tip-item.js +1 -1
- package/dist/components/mds-input-tip.js +1 -1
- package/dist/components/mds-input-upload.js +1 -1
- package/dist/components/mds-input.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-modal.js +1 -1
- package/dist/components/mds-note.js +1 -1
- package/dist/components/mds-notification.js +1 -1
- package/dist/components/mds-paginator-item.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-mode.js +1 -1
- package/dist/components/mds-pref-theme-item.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-progress.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-progress.js +1 -1
- package/dist/components/mds-separator.js +1 -1
- package/dist/components/mds-spinner.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-item.js +1 -1
- package/dist/components/mds-tab.js +1 -1
- package/dist/components/mds-table-body.js +1 -1
- package/dist/components/mds-table-cell.js +1 -1
- package/dist/components/mds-table-footer.js +1 -1
- package/dist/components/mds-table-header-cell.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-text.js +1 -1
- package/dist/components/mds-toast-region.d.ts +11 -0
- package/dist/components/mds-toast-region.js +1 -0
- package/dist/components/mds-toast.js +1 -1
- package/dist/components/mds-tooltip.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/p-2gaGDQwL.js +1 -0
- package/dist/components/p-6pgPWpGI.js +1 -0
- package/dist/components/p-AFBkzOrP.js +1 -0
- package/dist/components/p-B1bYa-o0.js +1 -0
- package/dist/components/p-B2p5a1Y8.js +3 -0
- package/dist/components/p-B6B6q5kP.js +1 -0
- package/dist/components/{p--miH951G.js → p-B9dgiq4u.js} +1 -1
- package/dist/components/p-BFisF7aN.js +1 -0
- package/dist/components/p-BL220gRU.js +1 -0
- package/dist/components/p-BLiWCyrD.js +1 -0
- package/dist/components/p-BN5kmfLJ.js +8 -0
- package/dist/components/p-BUr3NqxM.js +1 -0
- package/dist/components/p-BaFfIZGB.js +1 -0
- package/dist/{magma-components/p-8yWTOQiz.js → components/p-Bg5E4Wnq.js} +1 -1
- package/dist/components/p-BjFCjSw6.js +1 -0
- package/dist/components/{p-zHpei4x6.js → p-BlnEiKN4.js} +1 -1
- package/dist/components/p-CGrPq3C4.js +1 -0
- package/dist/components/p-CIWWmisz.js +1 -0
- package/dist/components/p-CJyTL7Mj.js +1 -0
- package/dist/components/p-Cvhn9asj.js +1 -0
- package/dist/components/p-CylHulxe.js +1 -0
- package/dist/components/p-D3_jgpKd.js +1 -0
- package/dist/components/p-D4JiVIoh.js +1 -0
- package/dist/components/p-DACnmwad.js +1 -0
- package/dist/components/p-DGGk8PS_.js +1 -0
- package/dist/components/p-DSxDXNWp.js +1 -0
- package/dist/components/p-DWIIDHSa.js +1 -0
- package/dist/components/p-DYpfVn7a.js +1 -0
- package/dist/components/p-D_0rjNZp.js +1 -0
- package/dist/components/p-DaptTdaU.js +1 -0
- package/dist/components/{p-C7EyV0z3.js → p-DezdwzYQ.js} +1 -1
- package/dist/components/{p-s2Gu6hY7.js → p-DhIGZbIo.js} +1 -1
- package/dist/components/p-Didp833Z.js +1 -0
- package/dist/components/p-Dleapw-k.js +1 -0
- package/dist/components/p-JPhOaOXe.js +1 -0
- package/dist/components/p-NOw8-OrM.js +1 -0
- package/dist/components/p-NlPseOAv.js +1 -0
- package/dist/components/{p-Bv2IVRzI.js → p-cIZniMh0.js} +1 -1
- package/dist/components/p-fhAmrBfl.js +1 -0
- package/dist/components/p-sM-eFjwq.js +1 -0
- package/dist/components/p-wHQGpA62.js +1 -0
- package/dist/documentation.json +1503 -511
- package/dist/esm/_commonjsHelpers-B85MJLTf.js +5 -0
- package/dist/esm/aria-Cvhn9asj.js +53 -0
- package/dist/esm/{floating-controller-BTYkH_Ih.js → floating-controller-BV0E_Juq.js} +37 -14
- package/dist/esm/{floating-ui.dom-CHAGzQT-.js → floating-ui.dom-BaFfIZGB.js} +147 -209
- package/dist/esm/icon-B7RVWU-q.js +18 -0
- package/dist/esm/{index-BxPbQB28.js → index-CPRkNQdE.js} +125 -96
- package/dist/esm/{index-BhCZiGfL.js → index-DI_6NAg0.js} +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/keyboard-manager-CGrPq3C4.js +73 -0
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{locale-CVJm6KFD.js → locale-DfpXg7qZ.js} +1 -1
- package/dist/esm/{locale.it-Cvxh7La5.js → locale.it-Diyps98n.js} +6 -1
- package/dist/esm/{datetime-BJtA1qmE.js → luxon-DbyXf6dF.js} +164 -64
- package/dist/esm/magma-components.js +4 -4
- package/dist/esm/mds-accordion-item.entry.js +3 -3
- package/dist/esm/mds-accordion-timer-item.entry.js +11 -10
- package/dist/esm/mds-accordion-timer.entry.js +17 -3
- package/dist/esm/mds-accordion.entry.js +37 -22
- package/dist/esm/mds-author.entry.js +2 -2
- package/dist/esm/mds-avatar-stack-item.entry.js +2 -2
- package/dist/esm/mds-avatar-stack.entry.js +11 -5
- package/dist/esm/mds-avatar.entry.js +58 -91
- package/dist/esm/mds-badge.entry.js +4 -4
- package/dist/esm/mds-banner_3.entry.js +51 -69
- package/dist/esm/mds-benchmark-bar.entry.js +6 -3
- package/dist/esm/mds-bibliography.entry.js +23 -17
- package/dist/esm/mds-breadcrumb-item.entry.js +9 -5
- package/dist/esm/mds-breadcrumb.entry.js +17 -33
- package/dist/esm/mds-button-dropdown.entry.js +41 -4
- package/dist/esm/mds-button-group.entry.js +2 -2
- package/dist/esm/mds-button_3.entry.js +96 -65
- package/dist/esm/mds-calendar_2.entry.js +101 -26
- package/dist/esm/mds-card-content.entry.js +2 -2
- package/dist/esm/mds-card-footer.entry.js +2 -2
- package/dist/esm/mds-card-header.entry.js +3 -3
- package/dist/esm/mds-card-media.entry.js +3 -3
- package/dist/esm/mds-card.entry.js +25 -16
- package/dist/esm/mds-details.entry.js +18 -8
- package/dist/esm/mds-dropdown.entry.js +31 -15
- package/dist/esm/mds-emoji.entry.js +192 -135
- package/dist/esm/mds-entity.entry.js +4 -4
- package/dist/esm/mds-file-preview.entry.js +30 -23
- package/dist/esm/mds-file.entry.js +52 -7525
- package/dist/esm/mds-filter-item.entry.js +81 -7
- package/dist/esm/mds-filter.entry.js +120 -22
- package/dist/esm/mds-header-bar.entry.js +38 -10
- package/dist/esm/mds-header.entry.js +9 -11
- package/dist/esm/mds-horizontal-scroll.entry.js +44 -13
- package/dist/esm/mds-hr.entry.js +3 -3
- package/dist/esm/mds-img.entry.js +39 -47
- package/dist/esm/mds-input-date-range-preselection.entry.js +16 -8
- package/dist/esm/mds-input-date-range.entry.js +25 -7
- package/dist/esm/mds-input-date.entry.js +43 -8
- package/dist/esm/mds-input-field.entry.js +3 -3
- package/dist/esm/mds-input-otp.entry.js +57 -22
- package/dist/esm/mds-input-range.entry.js +3 -3
- package/dist/esm/mds-input-select.entry.js +36 -9
- package/dist/esm/mds-input-switch_2.entry.js +27 -14
- package/dist/esm/mds-input-tip_2.entry.js +8 -7
- package/dist/esm/mds-input-upload.entry.js +1097 -15
- package/dist/esm/mds-input.entry.js +17 -8
- package/dist/esm/mds-keyboard-key.entry.js +4 -4
- package/dist/esm/mds-keyboard.entry.js +15 -7
- package/dist/esm/mds-kpi-item.entry.js +18 -4
- package/dist/esm/mds-kpi.entry.js +1 -1
- package/dist/esm/mds-label.entry.js +13 -30
- package/dist/esm/mds-list-item.entry.js +3 -4
- package/dist/esm/mds-list.entry.js +1 -1
- package/dist/esm/mds-mention.entry.js +7 -6
- package/dist/esm/mds-modal.entry.js +54 -10
- package/dist/esm/mds-note.entry.js +18 -14
- package/dist/esm/mds-notification.entry.js +72 -15
- package/dist/esm/mds-paginator-item.entry.js +23 -11
- package/dist/esm/mds-paginator.entry.js +39 -4
- package/dist/esm/mds-policy-ai.entry.js +5 -5
- package/dist/esm/mds-pref-animation.entry.js +42 -9
- package/dist/esm/mds-pref-consumption.entry.js +42 -9
- package/dist/esm/mds-pref-contrast.entry.js +45 -33
- package/dist/esm/mds-pref-language-item.entry.js +8 -8
- package/dist/esm/mds-pref-language.entry.js +44 -22
- package/dist/esm/mds-pref-mode.entry.js +29 -25
- package/dist/esm/mds-pref-theme-item.entry.js +6 -4
- package/dist/esm/mds-pref-theme.entry.js +137 -32
- package/dist/esm/mds-pref.entry.js +47 -59
- package/dist/esm/mds-price-table-features-cell.entry.js +4 -4
- package/dist/esm/mds-price-table-features-row.entry.js +4 -4
- package/dist/esm/mds-price-table-features.entry.js +4 -4
- package/dist/esm/mds-price-table-header.entry.js +2 -2
- package/dist/esm/mds-price-table-list-item.entry.js +3 -3
- package/dist/esm/mds-price-table-list.entry.js +14 -6
- package/dist/esm/mds-price-table.entry.js +2 -2
- package/dist/esm/mds-progress_2.entry.js +46 -33
- package/dist/esm/mds-push-notification-item.entry.js +13 -10
- package/dist/esm/mds-push-notification.entry.js +37 -14
- package/dist/esm/mds-quote.entry.js +4 -4
- package/dist/esm/mds-radial-menu-item.entry.js +3 -3
- package/dist/esm/mds-radial-menu.entry.js +81 -36
- package/dist/esm/mds-separator.entry.js +4 -4
- package/dist/esm/mds-status-bar.entry.js +8 -9
- package/dist/esm/mds-stepper-bar-item.entry.js +18 -6
- package/dist/esm/mds-stepper-bar.entry.js +9 -18
- package/dist/esm/mds-tab-bar-item.entry.js +25 -16
- package/dist/esm/mds-tab-bar.entry.js +12 -6
- package/dist/esm/mds-tab_2.entry.js +31 -12
- package/dist/esm/mds-table-body.entry.js +4 -4
- package/dist/esm/mds-table-footer.entry.js +13 -4
- package/dist/esm/mds-table-header-cell.entry.js +118 -79
- package/dist/esm/mds-table-header.entry.js +13 -5
- package/dist/esm/mds-table-row.entry.js +35 -11
- package/dist/esm/mds-table.entry.js +87 -23
- package/dist/esm/mds-text.entry.js +39 -29
- package/dist/esm/mds-toast-region.entry.js +117 -0
- package/dist/esm/mds-toast.entry.js +163 -33
- package/dist/esm/mds-tooltip.entry.js +84 -16
- package/dist/esm/mds-tree-item.entry.js +24 -10
- package/dist/esm/mds-tree.entry.js +37 -15
- package/dist/esm/mds-url-view.entry.js +6 -6
- package/dist/esm/mds-usage.entry.js +26 -7
- package/dist/esm/mds-video-wall.entry.js +5 -4
- package/dist/esm/mds-zero.entry.js +4 -4
- package/dist/esm/{preference-DNNqH7BU.js → preference-Ch1zJnqq.js} +1 -1
- package/dist/esm/{slot-C0o_l0td.js → slot-AEckDMXh.js} +15 -1
- package/dist/esm/string-6pgPWpGI.js +5 -0
- package/dist/esm-es5/_commonjsHelpers-B85MJLTf.js +1 -0
- package/dist/esm-es5/aria-Cvhn9asj.js +6 -0
- package/dist/esm-es5/{floating-controller-BTYkH_Ih.js → floating-controller-BV0E_Juq.js} +22 -7
- package/dist/esm-es5/{floating-ui.dom-CHAGzQT-.js → floating-ui.dom-BaFfIZGB.js} +69 -60
- package/dist/esm-es5/icon-B7RVWU-q.js +4 -0
- package/dist/esm-es5/{index-BxPbQB28.js → index-CPRkNQdE.js} +75 -73
- package/dist/esm-es5/{index-BhCZiGfL.js → index-DI_6NAg0.js} +1 -1
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/keyboard-manager-CGrPq3C4.js +9 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/{locale-CVJm6KFD.js → locale-DfpXg7qZ.js} +1 -1
- package/dist/esm-es5/locale.it-Diyps98n.js +11 -0
- package/dist/esm-es5/{datetime-BJtA1qmE.js → luxon-DbyXf6dF.js} +51 -20
- package/dist/esm-es5/magma-components.js +3 -3
- package/dist/esm-es5/mds-accordion-item.entry.js +2 -2
- package/dist/esm-es5/mds-accordion-timer-item.entry.js +7 -3
- package/dist/esm-es5/mds-accordion-timer.entry.js +12 -2
- package/dist/esm-es5/mds-accordion.entry.js +14 -2
- 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 +4 -1
- package/dist/esm-es5/mds-avatar.entry.js +19 -6
- package/dist/esm-es5/mds-badge.entry.js +1 -1
- package/dist/esm-es5/mds-banner_3.entry.js +19 -18
- package/dist/esm-es5/mds-benchmark-bar.entry.js +5 -2
- package/dist/esm-es5/mds-bibliography.entry.js +13 -2
- package/dist/esm-es5/mds-breadcrumb-item.entry.js +4 -1
- package/dist/esm-es5/mds-breadcrumb.entry.js +8 -2
- package/dist/esm-es5/mds-button-dropdown.entry.js +7 -4
- package/dist/esm-es5/mds-button-group.entry.js +1 -1
- package/dist/esm-es5/mds-button_3.entry.js +48 -12
- package/dist/esm-es5/mds-calendar_2.entry.js +21 -8
- 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 +11 -5
- package/dist/esm-es5/mds-details.entry.js +7 -2
- package/dist/esm-es5/mds-dropdown.entry.js +28 -19
- package/dist/esm-es5/mds-emoji.entry.js +334 -302
- package/dist/esm-es5/mds-entity.entry.js +1 -1
- package/dist/esm-es5/mds-file-preview.entry.js +15 -13
- package/dist/esm-es5/mds-file.entry.js +22 -2835
- package/dist/esm-es5/mds-filter-item.entry.js +13 -1
- package/dist/esm-es5/mds-filter.entry.js +22 -2
- package/dist/esm-es5/mds-header-bar.entry.js +7 -5
- package/dist/esm-es5/mds-header.entry.js +10 -7
- package/dist/esm-es5/mds-horizontal-scroll.entry.js +16 -13
- package/dist/esm-es5/mds-hr.entry.js +1 -1
- package/dist/esm-es5/mds-img.entry.js +17 -11
- package/dist/esm-es5/mds-input-date-range-preselection.entry.js +6 -1
- package/dist/esm-es5/mds-input-date-range.entry.js +20 -11
- package/dist/esm-es5/mds-input-date.entry.js +11 -3
- package/dist/esm-es5/mds-input-field.entry.js +2 -2
- package/dist/esm-es5/mds-input-otp.entry.js +16 -6
- package/dist/esm-es5/mds-input-range.entry.js +7 -7
- package/dist/esm-es5/mds-input-select.entry.js +14 -5
- package/dist/esm-es5/mds-input-switch_2.entry.js +17 -9
- package/dist/esm-es5/mds-input-tip_2.entry.js +4 -3
- package/dist/esm-es5/mds-input-upload.entry.js +5 -3
- package/dist/esm-es5/mds-input.entry.js +30 -25
- package/dist/esm-es5/mds-keyboard-key.entry.js +2 -2
- package/dist/esm-es5/mds-keyboard.entry.js +7 -3
- package/dist/esm-es5/mds-kpi-item.entry.js +7 -2
- package/dist/esm-es5/mds-kpi.entry.js +1 -1
- package/dist/esm-es5/mds-label.entry.js +2 -2
- package/dist/esm-es5/mds-list-item.entry.js +2 -2
- package/dist/esm-es5/mds-list.entry.js +1 -1
- package/dist/esm-es5/mds-mention.entry.js +4 -3
- package/dist/esm-es5/mds-modal.entry.js +20 -8
- package/dist/esm-es5/mds-note.entry.js +5 -2
- package/dist/esm-es5/mds-notification.entry.js +24 -4
- package/dist/esm-es5/mds-paginator-item.entry.js +8 -1
- package/dist/esm-es5/mds-paginator.entry.js +3 -3
- package/dist/esm-es5/mds-policy-ai.entry.js +2 -2
- package/dist/esm-es5/mds-pref-animation.entry.js +14 -4
- package/dist/esm-es5/mds-pref-consumption.entry.js +14 -4
- package/dist/esm-es5/mds-pref-contrast.entry.js +14 -7
- package/dist/esm-es5/mds-pref-language-item.entry.js +5 -5
- package/dist/esm-es5/mds-pref-language.entry.js +20 -6
- package/dist/esm-es5/mds-pref-mode.entry.js +10 -3
- package/dist/esm-es5/mds-pref-theme-item.entry.js +4 -3
- package/dist/esm-es5/mds-pref-theme.entry.js +46 -11
- package/dist/esm-es5/mds-pref.entry.js +21 -6
- package/dist/esm-es5/mds-price-table-features-cell.entry.js +2 -2
- 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 +2 -2
- package/dist/esm-es5/mds-price-table-list.entry.js +5 -1
- package/dist/esm-es5/mds-price-table.entry.js +1 -1
- package/dist/esm-es5/mds-progress_2.entry.js +18 -3
- package/dist/esm-es5/mds-push-notification-item.entry.js +7 -3
- package/dist/esm-es5/mds-push-notification.entry.js +9 -12
- package/dist/esm-es5/mds-quote.entry.js +2 -2
- package/dist/esm-es5/mds-radial-menu-item.entry.js +2 -2
- package/dist/esm-es5/mds-radial-menu.entry.js +8 -11
- package/dist/esm-es5/mds-separator.entry.js +1 -1
- package/dist/esm-es5/mds-status-bar.entry.js +5 -3
- package/dist/esm-es5/mds-stepper-bar-item.entry.js +9 -3
- package/dist/esm-es5/mds-stepper-bar.entry.js +10 -5
- package/dist/esm-es5/mds-tab-bar-item.entry.js +10 -3
- package/dist/esm-es5/mds-tab-bar.entry.js +5 -1
- package/dist/esm-es5/mds-tab_2.entry.js +16 -4
- package/dist/esm-es5/mds-table-body.entry.js +1 -1
- package/dist/esm-es5/mds-table-footer.entry.js +4 -1
- package/dist/esm-es5/mds-table-header-cell.entry.js +22 -3
- package/dist/esm-es5/mds-table-header.entry.js +10 -5
- package/dist/esm-es5/mds-table-row.entry.js +12 -6
- package/dist/esm-es5/mds-table.entry.js +38 -7
- package/dist/esm-es5/mds-text.entry.js +26 -8
- package/dist/esm-es5/mds-toast-region.entry.js +22 -0
- package/dist/esm-es5/mds-toast.entry.js +42 -5
- package/dist/esm-es5/mds-tooltip.entry.js +21 -6
- package/dist/esm-es5/mds-tree-item.entry.js +15 -4
- package/dist/esm-es5/mds-tree.entry.js +16 -3
- package/dist/esm-es5/mds-url-view.entry.js +2 -2
- package/dist/esm-es5/mds-usage.entry.js +9 -3
- package/dist/esm-es5/mds-video-wall.entry.js +2 -2
- package/dist/esm-es5/mds-zero.entry.js +1 -1
- package/dist/esm-es5/{preference-DNNqH7BU.js → preference-Ch1zJnqq.js} +4 -4
- package/dist/esm-es5/slot-AEckDMXh.js +30 -0
- package/dist/esm-es5/string-6pgPWpGI.js +2 -0
- package/dist/hydrate/index.js +5339 -9639
- package/dist/hydrate/index.mjs +5339 -9639
- package/dist/magma-components/index.esm.js +1 -1
- package/dist/magma-components/magma-components.esm.js +1 -1
- package/dist/magma-components/magma-components.js +1 -1
- package/dist/magma-components/p-007968a8.system.entry.js +47 -0
- package/dist/magma-components/p-028f3717.entry.js +1 -0
- package/dist/magma-components/p-0727d8f9.entry.js +1 -0
- package/dist/magma-components/p-0b5fe949.entry.js +1 -0
- package/dist/magma-components/p-0b7a884e.system.entry.js +29 -0
- package/dist/magma-components/p-0bcf3bb6.entry.js +1 -0
- package/dist/magma-components/{p-a0d9e01f.system.entry.js → p-0c9bdfff.system.entry.js} +1 -1
- package/dist/magma-components/p-0dd4b006.entry.js +1 -0
- package/dist/magma-components/p-0f47fd37.system.entry.js +16 -0
- package/dist/magma-components/p-11e50140.system.entry.js +19 -0
- package/dist/magma-components/p-11feeebf.system.entry.js +4 -0
- package/dist/magma-components/p-1287fb51.entry.js +1 -0
- package/dist/magma-components/p-12a2f8e2.system.entry.js +13 -0
- package/dist/magma-components/p-14b40c21.entry.js +1 -0
- package/dist/magma-components/p-166c0190.entry.js +1 -0
- package/dist/magma-components/p-176e6d9d.system.entry.js +4 -0
- package/dist/magma-components/{p-91451e37.system.entry.js → p-1809e47d.system.entry.js} +455 -422
- package/dist/magma-components/p-1989c0b4.entry.js +8 -0
- package/dist/magma-components/p-1a5411a8.entry.js +1 -0
- package/dist/magma-components/p-1f5cd2b5.entry.js +1 -0
- package/dist/magma-components/p-1f9ebc0d.entry.js +1 -0
- package/dist/magma-components/p-1fe66383.system.entry.js +1 -0
- package/dist/magma-components/p-20469b7a.system.entry.js +1 -0
- package/dist/magma-components/p-20608f69.system.entry.js +35 -0
- package/dist/magma-components/p-2061e567.entry.js +1 -0
- package/dist/magma-components/p-21c2d7bd.entry.js +1 -0
- package/dist/magma-components/p-21fe0fef.system.entry.js +14 -0
- package/dist/magma-components/p-2294945a.system.entry.js +34 -0
- package/dist/magma-components/p-2362b91a.entry.js +1 -0
- package/dist/magma-components/p-23bf1afa.system.entry.js +27 -0
- package/dist/magma-components/{p-c48e3460.entry.js → p-23ce0824.entry.js} +1 -1
- package/dist/magma-components/p-25576b51.system.entry.js +14 -0
- package/dist/magma-components/p-288f3cfe.entry.js +1 -0
- package/dist/magma-components/p-29d4605e.system.entry.js +10 -0
- package/dist/magma-components/p-2a2b7c43.entry.js +1 -0
- package/dist/magma-components/p-2aab3752.entry.js +1 -0
- package/dist/magma-components/p-2abfc393.entry.js +1 -0
- package/dist/magma-components/p-2c4d2717.entry.js +1 -0
- package/dist/magma-components/p-2d7d9e4f.entry.js +1 -0
- package/dist/magma-components/p-2f3c6105.entry.js +1 -0
- package/dist/magma-components/p-3093af30.system.entry.js +4 -0
- package/dist/magma-components/p-32bfb09c.entry.js +1 -0
- package/dist/magma-components/p-342770d2.system.entry.js +7 -0
- package/dist/magma-components/p-36ad5759.system.entry.js +10 -0
- package/dist/magma-components/p-3725c2c1.entry.js +1 -0
- package/dist/magma-components/p-37b801d0.system.entry.js +22 -0
- package/dist/magma-components/p-3871807a.entry.js +1 -0
- package/dist/magma-components/p-38a9e862.entry.js +1 -0
- package/dist/magma-components/p-3a88fc9b.system.entry.js +1 -0
- package/dist/magma-components/p-3ac09ace.entry.js +1 -0
- package/dist/magma-components/p-3b36319a.entry.js +1 -0
- package/dist/magma-components/p-3ba5ddae.entry.js +1 -0
- package/dist/magma-components/p-3bb26611.entry.js +1 -0
- package/dist/magma-components/p-3e1b21bd.entry.js +1 -0
- package/dist/magma-components/p-3eaeb263.system.entry.js +25 -0
- package/dist/magma-components/p-3fb98529.system.entry.js +28 -0
- package/dist/magma-components/p-4116e328.system.entry.js +1 -0
- package/dist/magma-components/p-4191bf22.entry.js +1 -0
- package/dist/magma-components/p-4225484c.entry.js +1 -0
- package/dist/magma-components/p-4260da67.system.entry.js +12 -0
- package/dist/magma-components/p-43338a07.entry.js +1 -0
- package/dist/magma-components/p-4582aa3e.system.entry.js +16 -0
- package/dist/magma-components/p-47f7366c.entry.js +1 -0
- package/dist/magma-components/p-495a70e2.entry.js +1 -0
- package/dist/magma-components/p-4a051ef5.system.entry.js +46 -0
- package/dist/magma-components/p-4c2dad1e.system.entry.js +81 -0
- package/dist/magma-components/p-4d079b1a.system.entry.js +26 -0
- package/dist/magma-components/p-4ea00c22.entry.js +1 -0
- package/dist/magma-components/p-4f24ccf3.entry.js +1 -0
- package/dist/magma-components/{p-f3dbebdd.system.entry.js → p-4fdda209.system.entry.js} +26 -8
- package/dist/magma-components/p-505fb7d4.entry.js +1 -0
- package/dist/magma-components/p-51a869ee.entry.js +1 -0
- package/dist/magma-components/p-5219eba6.system.entry.js +4 -0
- package/dist/magma-components/p-52a85b97.system.entry.js +9 -0
- package/dist/magma-components/p-52d5d104.system.entry.js +17 -0
- package/dist/magma-components/p-53bcfdbb.entry.js +1 -0
- package/dist/magma-components/p-5439125d.system.entry.js +10 -0
- package/dist/magma-components/p-547f657e.system.entry.js +91 -0
- package/dist/magma-components/p-5a2deba5.entry.js +1 -0
- package/dist/magma-components/p-5b21eb78.entry.js +1 -0
- package/dist/magma-components/p-5d9b1fe5.entry.js +1 -0
- package/dist/magma-components/p-5ea3be82.system.entry.js +23 -0
- package/dist/magma-components/{p-BPNsbMrg.system.js → p-5vJawLPw.system.js} +29 -14
- package/dist/magma-components/p-62e65f3b.entry.js +1 -0
- package/dist/magma-components/p-648ec03b.system.entry.js +73 -0
- package/dist/magma-components/p-69b37755.system.entry.js +17 -0
- package/dist/magma-components/p-6b01ef3b.entry.js +1 -0
- package/dist/magma-components/p-6b2fff4b.system.entry.js +11 -0
- package/dist/magma-components/p-6bc4114c.system.entry.js +19 -0
- package/dist/magma-components/p-6c91b00d.system.entry.js +22 -0
- package/dist/magma-components/p-6da68fd5.entry.js +1 -0
- package/dist/magma-components/p-6ebbcd7b.system.entry.js +14 -0
- package/dist/magma-components/p-6pgPWpGI.js +1 -0
- package/dist/magma-components/p-70a911e8.entry.js +1 -0
- package/dist/magma-components/p-70f5536c.system.entry.js +15 -0
- package/dist/magma-components/{p-61bedbe7.system.entry.js → p-721b625a.system.entry.js} +17 -8
- package/dist/magma-components/p-72cc4977.system.entry.js +21 -0
- package/dist/magma-components/p-7497b39d.system.entry.js +7 -0
- package/dist/magma-components/p-765ff9a3.system.entry.js +98 -0
- package/dist/magma-components/p-7a568cbf.entry.js +1 -0
- package/dist/magma-components/p-7d548a19.entry.js +1 -0
- package/dist/magma-components/p-7f776dff.entry.js +1 -0
- package/dist/magma-components/p-8059aa67.system.entry.js +17 -0
- package/dist/magma-components/p-811272a9.entry.js +1 -0
- package/dist/magma-components/p-87b15008.entry.js +1 -0
- package/dist/magma-components/p-88ac5d50.entry.js +1 -0
- package/dist/magma-components/p-88be542e.system.entry.js +7 -0
- package/dist/magma-components/{p-7c940015.system.entry.js → p-890bae38.system.entry.js} +1 -1
- package/dist/magma-components/p-8a4a2b5a.entry.js +1 -0
- package/dist/magma-components/p-8b081ba9.entry.js +1 -0
- package/dist/magma-components/{p-0a9fb138.system.entry.js → p-8ba250d6.system.entry.js} +1 -1
- package/dist/magma-components/p-8d8c9c90.entry.js +1 -0
- package/dist/magma-components/p-8e08ae08.system.entry.js +94 -0
- package/dist/magma-components/p-8f5f2dfe.system.entry.js +19 -0
- package/dist/magma-components/p-90fe332f.entry.js +1 -0
- package/dist/magma-components/p-911dc847.entry.js +1 -0
- package/dist/magma-components/p-916a26e4.entry.js +1 -0
- package/dist/magma-components/p-926ef760.entry.js +1 -0
- package/dist/magma-components/p-93d8b236.system.entry.js +10 -0
- package/dist/magma-components/p-95328cc7.system.entry.js +17 -0
- package/dist/magma-components/p-95486c6a.system.entry.js +5 -0
- package/dist/magma-components/{p-3a1a6945.entry.js → p-96f973e3.entry.js} +1 -1
- package/dist/magma-components/p-972ff8a9.entry.js +18 -0
- package/dist/magma-components/p-9a28bd8d.system.entry.js +20 -0
- package/dist/magma-components/p-9bdca8b4.entry.js +1 -0
- package/dist/magma-components/p-9caf411a.system.entry.js +13 -0
- package/dist/magma-components/p-9e4e1a86.system.entry.js +111 -0
- package/dist/magma-components/{p-3f05ec8a.entry.js → p-9e7d02e5.entry.js} +1 -1
- package/dist/magma-components/p-AEckDMXh.js +1 -0
- package/dist/magma-components/p-B7RVWU-q.js +1 -0
- package/dist/magma-components/p-B85MJLTf.js +1 -0
- package/dist/magma-components/{p-CKfEQ187.system.js → p-BHS0WXNt.system.js} +1 -1
- package/dist/magma-components/p-BaFfIZGB.js +1 -0
- package/dist/magma-components/{p-RJ5ZA1kY.system.js → p-BeNKMPXR.system.js} +9 -2
- package/dist/magma-components/{p-Kv1yahtR.js → p-BmT_DEV2.js} +2 -2
- package/dist/magma-components/{p-BTF_aRDG.system.js → p-C1ailvfu.system.js} +28 -28
- package/dist/magma-components/{p-7-TP6wnI.js → p-C25F_FlB.js} +1 -1
- package/dist/magma-components/p-CDjzBTsk.js +1 -0
- package/dist/magma-components/p-CGrPq3C4.js +1 -0
- package/dist/magma-components/p-CPRkNQdE.js +3 -0
- package/dist/magma-components/{p-DaONbL_w.system.js → p-CmzGV0XD.system.js} +44 -44
- package/dist/magma-components/p-Cvhn9asj.js +1 -0
- package/dist/magma-components/p-D6-Ny6z1.system.js +1 -0
- package/dist/magma-components/{p-hVpoPUxI.system.js → p-D8596ytD.system.js} +8 -8
- package/dist/magma-components/p-D9J8lbUv.system.js +9 -0
- package/dist/magma-components/p-DAifcgtS.system.js +4 -0
- package/dist/magma-components/p-DbyXf6dF.js +1 -0
- package/dist/magma-components/p-JuViHg2B.system.js +11 -0
- package/dist/magma-components/{p-CdsZyFQ-.system.js → p-LUd56iG_.system.js} +1 -1
- package/dist/magma-components/p-QYez4sql.system.js +5 -0
- package/dist/magma-components/{p-BJKToXNf.system.js → p-WSL9tMdv.system.js} +81 -50
- package/dist/magma-components/p-ZaZnuNvg.js +1 -0
- package/dist/magma-components/{p-876a5fb9.system.entry.js → p-a08d20c2.system.entry.js} +1 -1
- package/dist/magma-components/p-a136e6fe.system.entry.js +6 -0
- package/dist/magma-components/p-a1443292.entry.js +1 -0
- package/dist/magma-components/p-a1ca2441.system.entry.js +22 -0
- package/dist/magma-components/{p-f8da21a1.system.entry.js → p-a2d10402.system.entry.js} +1 -1
- package/dist/magma-components/p-a2ec6eac.entry.js +1 -0
- package/dist/magma-components/{p-d5e53364.system.entry.js → p-a40443ca.system.entry.js} +1 -1
- package/dist/magma-components/p-a47a9f11.system.entry.js +1 -0
- package/dist/magma-components/p-a4f46de1.system.entry.js +24 -0
- package/dist/magma-components/p-a51f849a.entry.js +1 -0
- package/dist/magma-components/p-a53f6a94.system.entry.js +5 -0
- package/dist/magma-components/p-a61623f9.system.entry.js +52 -0
- package/dist/magma-components/p-a6fe6b4c.system.entry.js +1 -0
- package/dist/magma-components/p-a7bad4e8.entry.js +1 -0
- package/dist/magma-components/p-a8593847.entry.js +1 -0
- package/dist/magma-components/p-aa8653b1.system.entry.js +13 -0
- package/dist/magma-components/p-ac4109e3.entry.js +1 -0
- package/dist/magma-components/{p-bba04b08.system.entry.js → p-af704402.system.entry.js} +5 -2
- package/dist/magma-components/p-b36d54e1.system.entry.js +41 -0
- package/dist/magma-components/p-b40ef7ab.system.entry.js +23 -0
- package/dist/magma-components/p-b48fc62e.entry.js +1 -0
- package/dist/magma-components/p-b509fb36.entry.js +1 -0
- package/dist/magma-components/{p-f65e29e0.system.entry.js → p-b514bd3a.system.entry.js} +1 -1
- package/dist/magma-components/p-b58363e2.system.entry.js +31 -0
- package/dist/magma-components/{p-a9e4efa3.entry.js → p-b62bbd07.entry.js} +1 -1
- package/dist/magma-components/p-b6b7dc40.entry.js +1 -0
- package/dist/magma-components/p-b728638c.system.entry.js +46 -0
- package/dist/magma-components/p-b919ce62.entry.js +1 -0
- package/dist/magma-components/{p-c4beed1b.entry.js → p-b940888d.entry.js} +1 -1
- package/dist/magma-components/p-b9e0b31d.entry.js +1 -0
- package/dist/magma-components/p-bba4c7eb.entry.js +1 -0
- package/dist/magma-components/p-bc30508b.entry.js +1 -0
- package/dist/magma-components/p-be32b7a9.system.entry.js +13 -0
- package/dist/magma-components/p-be741e35.entry.js +1 -0
- package/dist/magma-components/p-c1d8a25e.entry.js +1 -0
- package/dist/magma-components/p-c3622315.entry.js +1 -0
- package/dist/magma-components/p-c4286fb7.system.entry.js +1 -0
- package/dist/magma-components/p-c6db7a0f.system.entry.js +22 -0
- package/dist/magma-components/p-c89c2e30.entry.js +1 -0
- package/dist/magma-components/p-ca8e0927.system.entry.js +7 -0
- package/dist/magma-components/p-cc0cb701.entry.js +1 -0
- package/dist/magma-components/{p-dcf841d5.entry.js → p-cc109576.entry.js} +1 -1
- package/dist/magma-components/p-cc88c963.system.entry.js +1 -0
- package/dist/magma-components/p-ce2ef293.system.entry.js +48 -0
- package/dist/magma-components/p-d0c0c195.entry.js +1 -0
- package/dist/magma-components/p-d0f257d9.system.entry.js +80 -0
- package/dist/magma-components/p-d3678561.system.entry.js +35 -0
- package/dist/magma-components/p-d8d87750.system.entry.js +21 -0
- package/dist/magma-components/p-d9551916.system.entry.js +222 -0
- package/dist/magma-components/p-da532544.system.entry.js +25 -0
- package/dist/magma-components/p-da6cf595.system.entry.js +7 -0
- package/dist/magma-components/p-da9afc4b.system.entry.js +8 -0
- package/dist/magma-components/p-daf9c8ca.system.entry.js +4 -0
- package/dist/magma-components/p-db75bf05.system.entry.js +49 -0
- package/dist/magma-components/p-dba5a6da.entry.js +1 -0
- package/dist/magma-components/p-dbb82d72.system.entry.js +54 -0
- package/dist/magma-components/p-dbf69d54.system.entry.js +5 -0
- package/dist/magma-components/p-dc3ef031.system.entry.js +27 -0
- package/dist/magma-components/p-dd8fb2f8.system.entry.js +105 -0
- package/dist/magma-components/p-dfbecf72.system.entry.js +11 -0
- package/dist/magma-components/p-e032e77f.system.entry.js +1 -0
- package/dist/magma-components/p-e15a874b.entry.js +1 -0
- package/dist/magma-components/p-e471decd.system.entry.js +32 -0
- package/dist/magma-components/p-e49818c4.entry.js +1 -0
- package/dist/magma-components/p-e5ab1f4f.entry.js +1 -0
- package/dist/magma-components/p-e6ed6e12.entry.js +1 -0
- package/dist/magma-components/{p-ad09a06b.entry.js → p-e8b9d639.entry.js} +1 -1
- package/dist/magma-components/p-e954b5c5.entry.js +1 -0
- package/dist/magma-components/p-eba7cfb3.entry.js +1 -0
- package/dist/magma-components/{p-8c93550d.entry.js → p-ecb87d38.entry.js} +1 -1
- package/dist/magma-components/p-eebf450c.system.entry.js +4 -0
- package/dist/magma-components/p-ef4d07ba.entry.js +1 -0
- package/dist/magma-components/p-f28e048b.system.entry.js +55 -0
- package/dist/magma-components/p-f30cdd34.system.entry.js +1 -0
- package/dist/magma-components/p-f3763382.entry.js +1 -0
- package/dist/magma-components/p-f43379ef.entry.js +1 -0
- package/dist/magma-components/p-f454c06b.entry.js +1 -0
- package/dist/magma-components/p-f48843b7.system.entry.js +1 -0
- package/dist/magma-components/p-f5a08dca.system.entry.js +40 -0
- package/dist/magma-components/p-f7af41fb.system.entry.js +33 -0
- package/dist/magma-components/p-f7f6881a.entry.js +1 -0
- package/dist/magma-components/p-f88c202e.entry.js +1 -0
- package/dist/magma-components/{p-1cb495d3.entry.js → p-f9b5a5ec.entry.js} +1 -1
- package/dist/magma-components/p-fcaa81b3.entry.js +1 -0
- package/dist/magma-components/{p-dc399372.entry.js → p-fd53a51c.entry.js} +1 -1
- package/dist/magma-components/p-ff4276d3.system.entry.js +16 -0
- package/dist/magma-components/p-nFkaC8l_.system.js +210 -0
- package/dist/magma-components/p-pxyGaQ-P.system.js +2 -0
- package/dist/magma-components/p-sm_-_oFY.system.js +6 -0
- package/dist/{components/p-faViX-qz.js → magma-components/p-zQY2FlcD.js} +1 -1
- package/dist/stats.json +6762 -4706
- package/dist/types/common/aria.d.ts +8 -1
- package/dist/types/common/file.d.ts +5 -0
- package/dist/types/common/floating-controller.d.ts +16 -2
- package/dist/types/common/hash.d.ts +8 -0
- package/dist/types/common/keyboard-manager.d.ts +8 -1
- package/dist/types/common/slot.d.ts +9 -1
- package/dist/types/common/string.d.ts +3 -1
- package/dist/types/components/mds-accordion/mds-accordion.d.ts +8 -1
- package/dist/types/components/mds-accordion-timer/mds-accordion-timer.d.ts +6 -0
- package/dist/types/components/mds-accordion-timer-item/mds-accordion-timer-item.d.ts +2 -1
- package/dist/types/components/mds-avatar/mds-avatar.d.ts +13 -9
- package/dist/types/components/mds-avatar-stack/mds-avatar-stack.d.ts +2 -1
- package/dist/types/components/mds-bibliography/mds-bibliography.d.ts +10 -2
- package/dist/types/components/mds-breadcrumb/mds-breadcrumb.d.ts +0 -3
- package/dist/types/components/mds-breadcrumb-item/mds-breadcrumb-item.d.ts +4 -1
- package/dist/types/components/mds-button/mds-button.d.ts +17 -1
- package/dist/types/components/mds-button-dropdown/mds-button-dropdown.d.ts +8 -3
- package/dist/types/components/mds-calendar/mds-calendar.d.ts +8 -0
- package/dist/types/components/mds-calendar-cell/mds-calendar-cell.d.ts +4 -1
- package/dist/types/components/mds-card/mds-card.d.ts +8 -0
- package/dist/types/components/mds-card-media/mds-card-media.d.ts +1 -0
- package/dist/types/components/mds-chip/mds-chip.d.ts +7 -5
- package/dist/types/components/mds-details/mds-details.d.ts +3 -1
- package/dist/types/components/mds-dropdown/mds-dropdown.d.ts +8 -3
- package/dist/types/components/mds-emoji/mds-emoji.d.ts +18 -10
- package/dist/types/components/mds-emoji/meta/gaze.d.ts +19 -0
- package/dist/types/components/mds-file/mds-file.d.ts +13 -2
- package/dist/types/components/mds-file-preview/mds-file-preview.d.ts +15 -4
- package/dist/types/components/mds-filter/mds-filter.d.ts +15 -0
- package/dist/types/components/mds-filter-item/mds-filter-item.d.ts +16 -1
- package/dist/types/components/mds-header/mds-header.d.ts +7 -5
- package/dist/types/components/mds-header/meta/event-detail.d.ts +2 -1
- package/dist/types/components/mds-header-bar/mds-header-bar.d.ts +4 -2
- package/dist/types/components/mds-help/mds-help.d.ts +5 -2
- package/dist/types/components/mds-horizontal-scroll/mds-horizontal-scroll.d.ts +2 -0
- package/dist/types/components/mds-icon/mds-icon.d.ts +5 -0
- package/dist/types/components/mds-img/mds-img.d.ts +24 -14
- package/dist/types/components/mds-input/mds-input.d.ts +30 -8
- 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 +9 -0
- package/dist/types/components/mds-input-date-range-preselection/mds-input-date-range-preselection.d.ts +8 -1
- package/dist/types/components/mds-input-field/mds-input-field.d.ts +4 -1
- package/dist/types/components/mds-input-otp/mds-input-otp.d.ts +8 -0
- package/dist/types/components/mds-input-select/mds-input-select.d.ts +15 -2
- package/dist/types/components/mds-input-switch/mds-input-switch.d.ts +8 -3
- package/dist/types/components/mds-input-tip/mds-input-tip.d.ts +2 -1
- package/dist/types/components/mds-input-tip-item/meta/dictionary.d.ts +1 -2
- package/dist/types/components/mds-input-upload/mds-input-upload.d.ts +3 -1
- package/dist/types/components/mds-kpi-item/mds-kpi-item.d.ts +7 -0
- package/dist/types/components/mds-label/mds-label.d.ts +0 -9
- package/dist/types/components/mds-list-item/mds-list-item.d.ts +2 -0
- package/dist/types/components/mds-mention/mds-mention.d.ts +2 -1
- package/dist/types/components/mds-modal/mds-modal.d.ts +5 -1
- package/dist/types/components/mds-note/mds-note.d.ts +1 -0
- package/dist/types/components/mds-notification/mds-notification.d.ts +25 -2
- package/dist/types/components/mds-paginator/mds-paginator.d.ts +1 -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 +2 -1
- package/dist/types/components/mds-pref/mds-pref.d.ts +11 -9
- package/dist/types/components/mds-pref-animation/mds-pref-animation.d.ts +8 -0
- package/dist/types/components/mds-pref-consumption/mds-pref-consumption.d.ts +8 -0
- package/dist/types/components/mds-pref-contrast/mds-pref-contrast.d.ts +8 -2
- package/dist/types/components/mds-pref-language/mds-pref-language.d.ts +2 -2
- package/dist/types/components/mds-pref-language-item/mds-pref-language-item.d.ts +1 -0
- package/dist/types/components/mds-pref-mode/mds-pref-mode.d.ts +6 -1
- package/dist/types/components/mds-pref-theme/mds-pref-theme.d.ts +24 -2
- package/dist/types/components/mds-pref-theme-item/mds-pref-theme-item.d.ts +1 -0
- package/dist/types/components/mds-price-table-list/mds-price-table-list.d.ts +1 -0
- package/dist/types/components/mds-price-table-list-item/mds-price-table-list-item.d.ts +1 -0
- package/dist/types/components/mds-progress/mds-progress.d.ts +14 -4
- package/dist/types/components/mds-push-notification/mds-push-notification.d.ts +4 -9
- package/dist/types/components/mds-push-notification-item/mds-push-notification-item.d.ts +5 -2
- package/dist/types/components/mds-radial-menu/mds-radial-menu.d.ts +12 -5
- package/dist/types/components/mds-status-bar/mds-status-bar.d.ts +1 -2
- package/dist/types/components/mds-stepper-bar/mds-stepper-bar.d.ts +4 -3
- package/dist/types/components/mds-stepper-bar-item/mds-stepper-bar-item.d.ts +10 -2
- package/dist/types/components/mds-tab/mds-tab.d.ts +8 -0
- package/dist/types/components/mds-tab-bar-item/mds-tab-bar-item.d.ts +4 -3
- package/dist/types/components/mds-tab-item/mds-tab-item.d.ts +3 -0
- package/dist/types/components/mds-table/mds-table.d.ts +23 -3
- package/dist/types/components/mds-table/meta/type.d.ts +1 -0
- package/dist/types/components/mds-table-footer/mds-table-footer.d.ts +9 -1
- package/dist/types/components/mds-table-header/mds-table-header.d.ts +9 -1
- package/dist/types/components/mds-table-header-cell/mds-table-header-cell.d.ts +38 -14
- package/dist/types/components/mds-table-header-cell/meta/event-detail.d.ts +6 -0
- package/dist/types/components/mds-table-row/mds-table-row.d.ts +1 -0
- package/dist/types/components/mds-text/mds-text.d.ts +8 -4
- package/dist/types/components/mds-toast/mds-toast.d.ts +39 -8
- package/dist/types/components/mds-toast/meta/event-detail.d.ts +3 -0
- package/dist/types/components/mds-toast-region/mds-toast-region.d.ts +36 -0
- package/dist/types/components/mds-tooltip/mds-tooltip.d.ts +32 -6
- package/dist/types/components/mds-tree/mds-tree.d.ts +12 -2
- package/dist/types/components/mds-tree-item/mds-tree-item.d.ts +7 -3
- package/dist/types/components/mds-url-view/mds-url-view.d.ts +2 -1
- package/dist/types/components/mds-usage/mds-usage.d.ts +8 -1
- package/dist/types/components/mds-usage/meta/variants.d.ts +7 -19
- package/dist/types/components.d.ts +376 -137
- package/dist/types/stencil-public-runtime.d.ts +61 -55
- package/dist/types/type/floating-ui.d.ts +2 -0
- package/dist/types/type/input.d.ts +3 -0
- package/package.json +30 -29
- package/dist/cjs/_commonjsHelpers-B83fTs8d.js +0 -36
- package/dist/cjs/browser-C1BdXKu5.js +0 -10
- package/dist/cjs/keyboard-manager-C_Eaxw-C.js +0 -52
- package/dist/collection/components/mds-avatar/meta/variants.js +0 -20
- package/dist/collection/dictionary/icon.js +0 -10
- package/dist/collection/type/icon.js +0 -1
- package/dist/components/p-B3Z2Goa-.js +0 -1
- package/dist/components/p-B3dWp2vS.js +0 -1
- package/dist/components/p-B6FOPjps.js +0 -1
- package/dist/components/p-B7CR1EtF.js +0 -1
- package/dist/components/p-BBPQjm8h.js +0 -1
- package/dist/components/p-BCiJ4PRD.js +0 -1
- package/dist/components/p-BHJDW5JC.js +0 -1
- package/dist/components/p-BSs0SO-j.js +0 -1
- package/dist/components/p-BTpjOy0A.js +0 -1
- package/dist/components/p-BY6Qu1V4.js +0 -1
- package/dist/components/p-BhmePCyA.js +0 -1
- package/dist/components/p-BpGzrg1C.js +0 -1
- package/dist/components/p-C-J9fW51.js +0 -1
- package/dist/components/p-CAa2kI72.js +0 -1
- package/dist/components/p-CBV19-8O.js +0 -1
- package/dist/components/p-CCv9tBZK.js +0 -1
- package/dist/components/p-CDf607TB.js +0 -1
- package/dist/components/p-CEMAGNly.js +0 -1
- package/dist/components/p-CGYDZBMv.js +0 -1
- package/dist/components/p-CHAGzQT-.js +0 -1
- package/dist/components/p-CHAvkoj3.js +0 -1
- package/dist/components/p-CMFUEkte.js +0 -1
- package/dist/components/p-CR2GGKXK.js +0 -1
- package/dist/components/p-CSCy6TMW.js +0 -1
- package/dist/components/p-Cb5kuO7B.js +0 -1
- package/dist/components/p-CiNNzAa3.js +0 -1
- package/dist/components/p-CsgCQiHG.js +0 -1
- package/dist/components/p-DGDdPv_Y.js +0 -1
- package/dist/components/p-D_wD-Pyk.js +0 -1
- package/dist/components/p-Dje8Mggf.js +0 -1
- package/dist/components/p-E-ZsRS8r.js +0 -1
- package/dist/components/p-HR2JwDjG.js +0 -1
- package/dist/components/p-KRu9I7dw.js +0 -1
- package/dist/components/p-LE7qQIFR.js +0 -8
- package/dist/components/p-pBvN1uAc.js +0 -3
- package/dist/components/p-vgIKH234.js +0 -1
- package/dist/esm/_commonjsHelpers-E-ZsRS8r.js +0 -32
- package/dist/esm/aria-CSCy6TMW.js +0 -45
- package/dist/esm/browser-Dje8Mggf.js +0 -8
- package/dist/esm/keyboard-manager-KRu9I7dw.js +0 -50
- package/dist/esm-es5/_commonjsHelpers-E-ZsRS8r.js +0 -1
- package/dist/esm-es5/aria-CSCy6TMW.js +0 -1
- package/dist/esm-es5/browser-Dje8Mggf.js +0 -1
- package/dist/esm-es5/keyboard-manager-KRu9I7dw.js +0 -5
- package/dist/esm-es5/locale.it-Cvxh7La5.js +0 -6
- package/dist/esm-es5/slot-C0o_l0td.js +0 -23
- package/dist/magma-components/p-019e8a95.system.entry.js +0 -13
- package/dist/magma-components/p-01dd1f55.entry.js +0 -1
- package/dist/magma-components/p-02119624.system.entry.js +0 -40
- package/dist/magma-components/p-02fc7592.entry.js +0 -1
- package/dist/magma-components/p-03cd0069.system.entry.js +0 -1
- package/dist/magma-components/p-05fbca60.system.entry.js +0 -37
- package/dist/magma-components/p-06d9af89.entry.js +0 -1
- package/dist/magma-components/p-07e4701d.entry.js +0 -1
- package/dist/magma-components/p-081a19b1.system.entry.js +0 -45
- package/dist/magma-components/p-09d0b6a8.entry.js +0 -1
- package/dist/magma-components/p-0b300de7.entry.js +0 -1
- package/dist/magma-components/p-0d3c3de9.entry.js +0 -1
- package/dist/magma-components/p-1150ffb8.system.entry.js +0 -10
- package/dist/magma-components/p-115a5e47.entry.js +0 -1
- package/dist/magma-components/p-1314d80e.entry.js +0 -1
- package/dist/magma-components/p-133a6ffd.system.entry.js +0 -49
- package/dist/magma-components/p-13db55de.entry.js +0 -1
- package/dist/magma-components/p-1a2731ec.system.entry.js +0 -10
- package/dist/magma-components/p-1a602906.system.entry.js +0 -13
- package/dist/magma-components/p-1c975156.entry.js +0 -1
- package/dist/magma-components/p-1d154234.system.entry.js +0 -12
- package/dist/magma-components/p-1d9d7666.entry.js +0 -1
- package/dist/magma-components/p-1ddaaa6d.system.entry.js +0 -217
- package/dist/magma-components/p-21aa0a74.entry.js +0 -1
- package/dist/magma-components/p-21c46e74.system.entry.js +0 -4
- package/dist/magma-components/p-2399b7e8.entry.js +0 -1
- package/dist/magma-components/p-25407d89.entry.js +0 -1
- package/dist/magma-components/p-27547a7a.system.entry.js +0 -7
- package/dist/magma-components/p-289a874e.entry.js +0 -1
- package/dist/magma-components/p-2be3bd23.system.entry.js +0 -1
- package/dist/magma-components/p-2c586431.entry.js +0 -1
- package/dist/magma-components/p-2d324edc.entry.js +0 -1
- package/dist/magma-components/p-2da2cdf3.system.entry.js +0 -7
- package/dist/magma-components/p-2e01e057.system.entry.js +0 -7
- package/dist/magma-components/p-2e9b80e8.entry.js +0 -1
- package/dist/magma-components/p-30c3872d.entry.js +0 -1
- package/dist/magma-components/p-3231a6a3.entry.js +0 -1
- package/dist/magma-components/p-32361702.system.entry.js +0 -7
- package/dist/magma-components/p-3448d0ce.entry.js +0 -1
- package/dist/magma-components/p-367cee40.system.entry.js +0 -1
- package/dist/magma-components/p-3a8870e4.system.entry.js +0 -47
- package/dist/magma-components/p-3b68fbcd.system.entry.js +0 -22
- package/dist/magma-components/p-3ecade3c.system.entry.js +0 -11
- package/dist/magma-components/p-4073c5f2.system.entry.js +0 -90
- package/dist/magma-components/p-40bd2e6d.entry.js +0 -1
- package/dist/magma-components/p-423597db.system.entry.js +0 -4
- package/dist/magma-components/p-443c2a29.system.entry.js +0 -10
- package/dist/magma-components/p-45a91f1c.system.entry.js +0 -1
- package/dist/magma-components/p-487af9d3.entry.js +0 -1
- package/dist/magma-components/p-4909070e.entry.js +0 -1
- package/dist/magma-components/p-4d966161.system.entry.js +0 -14
- package/dist/magma-components/p-4ddf891e.system.entry.js +0 -69
- package/dist/magma-components/p-4e15cde7.entry.js +0 -1
- package/dist/magma-components/p-4f14a166.entry.js +0 -1
- package/dist/magma-components/p-4ffec31a.system.entry.js +0 -1
- package/dist/magma-components/p-4oB0woT9.system.js +0 -6
- package/dist/magma-components/p-50b266e9.system.entry.js +0 -4
- package/dist/magma-components/p-5165b09f.system.entry.js +0 -4
- package/dist/magma-components/p-544cc9c7.system.entry.js +0 -25
- package/dist/magma-components/p-562bb482.system.entry.js +0 -16
- package/dist/magma-components/p-5ac9e2f4.entry.js +0 -1
- package/dist/magma-components/p-5ae5ec95.entry.js +0 -1
- package/dist/magma-components/p-5d2d8ffe.system.entry.js +0 -11
- package/dist/magma-components/p-5e180f53.system.entry.js +0 -32
- package/dist/magma-components/p-61ff1d85.system.entry.js +0 -1
- package/dist/magma-components/p-62b17608.system.entry.js +0 -102
- package/dist/magma-components/p-63e7c98f.entry.js +0 -1
- package/dist/magma-components/p-6474c850.entry.js +0 -8
- package/dist/magma-components/p-660657ac.system.entry.js +0 -15
- package/dist/magma-components/p-66237a64.entry.js +0 -1
- package/dist/magma-components/p-6702e489.entry.js +0 -1
- package/dist/magma-components/p-694ed534.entry.js +0 -1
- package/dist/magma-components/p-6b446fd9.system.entry.js +0 -81
- package/dist/magma-components/p-6c414bc2.system.entry.js +0 -19
- package/dist/magma-components/p-6cbd8a6d.system.entry.js +0 -12
- package/dist/magma-components/p-6d0dc1fd.entry.js +0 -1
- package/dist/magma-components/p-6ed05d99.entry.js +0 -1
- package/dist/magma-components/p-6f2471b1.entry.js +0 -1
- package/dist/magma-components/p-6fa03aab.system.entry.js +0 -7
- package/dist/magma-components/p-70141ccd.entry.js +0 -1
- package/dist/magma-components/p-707d8626.system.entry.js +0 -2838
- package/dist/magma-components/p-71dafc3f.entry.js +0 -1
- package/dist/magma-components/p-726209f4.system.entry.js +0 -1
- package/dist/magma-components/p-745ee76b.system.entry.js +0 -32
- package/dist/magma-components/p-761415b3.system.entry.js +0 -37
- package/dist/magma-components/p-771720b7.entry.js +0 -18
- package/dist/magma-components/p-7a7c308b.entry.js +0 -1
- package/dist/magma-components/p-7bea6c05.system.entry.js +0 -10
- package/dist/magma-components/p-7ca990d4.system.entry.js +0 -11
- package/dist/magma-components/p-7d6ca97d.system.entry.js +0 -7
- package/dist/magma-components/p-7ffda4f5.entry.js +0 -1
- package/dist/magma-components/p-8097dfc8.system.entry.js +0 -7
- package/dist/magma-components/p-809adece.system.entry.js +0 -17
- package/dist/magma-components/p-843ab1b4.entry.js +0 -1
- package/dist/magma-components/p-87026d34.entry.js +0 -1
- package/dist/magma-components/p-8765dc11.entry.js +0 -1
- package/dist/magma-components/p-87faaa8e.system.entry.js +0 -16
- package/dist/magma-components/p-8a838a1a.entry.js +0 -1
- package/dist/magma-components/p-8bcb2a5f.entry.js +0 -1
- package/dist/magma-components/p-8ca1d30d.system.entry.js +0 -1
- package/dist/magma-components/p-91c4015f.system.entry.js +0 -4
- package/dist/magma-components/p-91c8960a.system.entry.js +0 -1
- package/dist/magma-components/p-932620b6.entry.js +0 -1
- package/dist/magma-components/p-939da879.system.entry.js +0 -8
- package/dist/magma-components/p-97bde480.entry.js +0 -1
- package/dist/magma-components/p-97d02403.entry.js +0 -1
- package/dist/magma-components/p-983f3e40.entry.js +0 -1
- package/dist/magma-components/p-99227c78.system.entry.js +0 -11
- package/dist/magma-components/p-9a583f6b.system.entry.js +0 -1
- package/dist/magma-components/p-9a86e0ce.system.entry.js +0 -1
- package/dist/magma-components/p-9d1cdb42.system.entry.js +0 -15
- package/dist/magma-components/p-9e5982b6.entry.js +0 -1
- package/dist/magma-components/p-9eb1e154.system.entry.js +0 -14
- package/dist/magma-components/p-9eef2f79.entry.js +0 -1
- package/dist/magma-components/p-9fe14430.system.entry.js +0 -7
- package/dist/magma-components/p-9fe7035a.entry.js +0 -1
- package/dist/magma-components/p-B6mQg6yQ.js +0 -1
- package/dist/magma-components/p-BJtA1qmE.js +0 -1
- package/dist/magma-components/p-BpVYIPkx.js +0 -1
- package/dist/magma-components/p-BxPbQB28.js +0 -3
- package/dist/magma-components/p-C0o_l0td.js +0 -1
- package/dist/magma-components/p-CHAGzQT-.js +0 -1
- package/dist/magma-components/p-CSCy6TMW.js +0 -1
- package/dist/magma-components/p-CYRMc5KW.system.js +0 -1
- package/dist/magma-components/p-DIUTGDX_.system.js +0 -1
- package/dist/magma-components/p-Dg8nxRUX.system.js +0 -201
- package/dist/magma-components/p-Dje8Mggf.js +0 -1
- package/dist/magma-components/p-E-ZsRS8r.js +0 -1
- package/dist/magma-components/p-KRu9I7dw.js +0 -1
- package/dist/magma-components/p-LerCJgfP.system.js +0 -5
- package/dist/magma-components/p-ZDRIVCAt.system.js +0 -5
- package/dist/magma-components/p-a0972ec9.entry.js +0 -1
- package/dist/magma-components/p-a1851e6f.entry.js +0 -1
- package/dist/magma-components/p-a1b5bd58.entry.js +0 -1
- package/dist/magma-components/p-a2d9549d.system.entry.js +0 -32
- package/dist/magma-components/p-a5a13b20.entry.js +0 -1
- package/dist/magma-components/p-a6a71c77.entry.js +0 -1
- package/dist/magma-components/p-a96312c1.entry.js +0 -1
- package/dist/magma-components/p-aa0bd826.entry.js +0 -1
- package/dist/magma-components/p-aa74169f.system.entry.js +0 -1
- package/dist/magma-components/p-ab4ffbd4.system.entry.js +0 -68
- package/dist/magma-components/p-ad9cb1f5.entry.js +0 -1
- package/dist/magma-components/p-aed8b119.entry.js +0 -1
- package/dist/magma-components/p-afbef2fc.entry.js +0 -1
- package/dist/magma-components/p-b183d698.system.entry.js +0 -16
- package/dist/magma-components/p-b49196da.entry.js +0 -1
- package/dist/magma-components/p-b77a2832.entry.js +0 -1
- package/dist/magma-components/p-b925c109.system.entry.js +0 -14
- package/dist/magma-components/p-b9e3281a.system.entry.js +0 -72
- package/dist/magma-components/p-bb0538b6.entry.js +0 -1
- package/dist/magma-components/p-bb055583.entry.js +0 -1
- package/dist/magma-components/p-bc6a41a9.system.entry.js +0 -1
- package/dist/magma-components/p-bd9324f3.system.entry.js +0 -1
- package/dist/magma-components/p-c4ccb710.entry.js +0 -1
- package/dist/magma-components/p-c4e4ba90.system.entry.js +0 -38
- package/dist/magma-components/p-c573e136.entry.js +0 -1
- package/dist/magma-components/p-c5ad848f.entry.js +0 -1
- package/dist/magma-components/p-c6841b21.entry.js +0 -1
- package/dist/magma-components/p-c89a44b2.entry.js +0 -1
- package/dist/magma-components/p-c94575de.entry.js +0 -1
- package/dist/magma-components/p-cabe9133.system.entry.js +0 -4
- package/dist/magma-components/p-cb2c5f1b.entry.js +0 -1
- package/dist/magma-components/p-cb571b55.system.entry.js +0 -1
- package/dist/magma-components/p-cbc0f01f.system.entry.js +0 -17
- package/dist/magma-components/p-cc1ee10a.system.entry.js +0 -20
- package/dist/magma-components/p-cd1dc29a.entry.js +0 -1
- package/dist/magma-components/p-cd5cf28b.system.entry.js +0 -1
- package/dist/magma-components/p-cd952369.entry.js +0 -1
- package/dist/magma-components/p-d35aebe5.entry.js +0 -1
- package/dist/magma-components/p-d74fa7af.entry.js +0 -1
- package/dist/magma-components/p-d7515aae.entry.js +0 -1
- package/dist/magma-components/p-d7a94afb.system.entry.js +0 -7
- package/dist/magma-components/p-d93c9a11.system.entry.js +0 -89
- package/dist/magma-components/p-d9fbbf3f.entry.js +0 -1
- package/dist/magma-components/p-db492cf5.system.entry.js +0 -13
- package/dist/magma-components/p-dc06b29e.entry.js +0 -1
- package/dist/magma-components/p-dc7bada4.entry.js +0 -1
- package/dist/magma-components/p-dfb4a965.system.entry.js +0 -28
- package/dist/magma-components/p-e1a91e9e.system.entry.js +0 -1
- package/dist/magma-components/p-e2ef1d6f.entry.js +0 -1
- package/dist/magma-components/p-e5438280.system.entry.js +0 -10
- package/dist/magma-components/p-e8cd2b93.system.entry.js +0 -4
- package/dist/magma-components/p-e95f2a48.entry.js +0 -1
- package/dist/magma-components/p-eb113725.system.entry.js +0 -1
- package/dist/magma-components/p-ec5eccbb.entry.js +0 -1
- package/dist/magma-components/p-eca99a0a.system.entry.js +0 -1
- package/dist/magma-components/p-ed897f9f.entry.js +0 -1
- package/dist/magma-components/p-eea815ca.system.entry.js +0 -16
- package/dist/magma-components/p-ef4cd904.system.entry.js +0 -16
- package/dist/magma-components/p-eff1fd6c.system.entry.js +0 -15
- package/dist/magma-components/p-eff38775.entry.js +0 -1
- package/dist/magma-components/p-f01874a8.entry.js +0 -1
- package/dist/magma-components/p-f05d7005.entry.js +0 -1
- package/dist/magma-components/p-f0c67a70.system.entry.js +0 -15
- package/dist/magma-components/p-f215496c.entry.js +0 -1
- package/dist/magma-components/p-f28cfb33.system.entry.js +0 -4
- package/dist/magma-components/p-f830793e.entry.js +0 -1
- package/dist/magma-components/p-f835c307.system.entry.js +0 -7
- package/dist/magma-components/p-f89c3a01.system.entry.js +0 -32
- package/dist/magma-components/p-f8eb19b3.entry.js +0 -1
- package/dist/magma-components/p-f8feee93.system.entry.js +0 -4
- package/dist/magma-components/p-f97b4ff4.system.entry.js +0 -16
- package/dist/magma-components/p-fc8f8a0c.entry.js +0 -1
- package/dist/magma-components/p-fcaa5967.entry.js +0 -18
- package/dist/magma-components/p-ff970859.system.entry.js +0 -30
- package/dist/magma-components/p-lozaO1BU.system.js +0 -1
- package/dist/types/components/mds-avatar/meta/variants.d.ts +0 -2
- package/dist/types/dictionary/icon.d.ts +0 -4
- package/dist/types/type/icon.d.ts +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as a,h as i,e}from"./p-CPRkNQdE.js";import{L as n}from"./p-BmT_DEV2.js";import"./p-C25F_FlB.js";var t='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n <path fill-rule="evenodd" d="M15.318 3a3 3 0 0 1 2.56 1.436l3.666 6a3 3 0 0 1 0 3.129l-3.667 6A3 3 0 0 1 15.317 21H8.684a3 3 0 0 1-2.56-1.436l-3.667-6a3 3 0 0 1 0-3.129l3.666-6A3 3 0 0 1 8.682 3zm-.025 11.293c-.77.77-1.991 1.207-3.293 1.207-1.301 0-2.523-.437-3.293-1.207l-1.414 1.414C8.523 16.937 10.302 17.5 12 17.5c1.699 0 3.477-.563 4.707-1.793zM8 11h2V8H8zm6 0h2V8h-2z" clip-rule="evenodd"/>\n</svg>\n',r='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M12 1L3 5v6c0 5.55 3.84 10.74 9 12c5.16-1.26 9-6.45 9-12V5l-9-4zm7 10c0 1.85-.51 3.65-1.38 5.21l-1.45-1.45a4.994 4.994 0 0 0-.64-6.29a5.003 5.003 0 0 0-7.07 0a5.003 5.003 0 0 0 0 7.07a5.006 5.006 0 0 0 6.29.64l1.72 1.72c-1.19 1.42-2.73 2.51-4.47 3.04c-4.02-1.25-7-5.42-7-9.94V6.3l7-3.11l7 3.11V11zm-7 4c-1.66 0-3-1.34-3-3s1.34-3 3-3s3 1.34 3 3s-1.34 3-3 3z"/></svg>',c={bannerDescription:"Αυτό το περιεχόμενο δημιουργήθηκε αυτόματα από την τεχνητή μας νοημοσύνη MIA και ενδέχεται να περιέχει ανακρίβειες. Σας συνιστούμε να επαληθεύσετε την ακρίβειά του και να συμβουλευτείτε επίσημες πηγές για οριστικές πληροφορίες.",bannerTitle:"Περιεχόμενο που δημιουργήθηκε με την MIA",cardDescription:"Αυτό το περιεχόμενο δημιουργήθηκε αυτόματα από την τεχνητή μας νοημοσύνη MIA και ενδέχεται να περιέχει ανακρίβειες.",cardTitle:"Περιεχόμενο που δημιουργήθηκε με την MIA",chipLabel:"Δημιουργήθηκε με MIA",iconTooltip:"Αυτό το περιεχόμενο δημιουργήθηκε αυτόματα από την τεχνητή μας νοημοσύνη MIA και ενδέχεται να περιέχει ανακρίβειες.",iconLinkLabel:"Κάντε κλικ για να διαβάσετε τις πολιτικές μας για την τεχνητή νοημοσύνη",linkLabel:"Πολιτική τεχνητής νοημοσύνης MIA",linkLabelShort:"Πολιτική MIA",linkLabelTitle:"Διαβάστε τις πολιτικές μας για τη χρήση της MIA, της τεχνητής μας νοημοσύνης, και τη δημιουργία αυτόματου περιεχομένου"},o={bannerDescription:"This content was automatically generated by our artificial intelligence MIA and may contain inaccuracies. Please verify its accuracy and consult official sources for definitive information.",bannerTitle:"Content generated with MIA",cardDescription:"This content was automatically generated by our artificial intelligence MIA and may contain inaccuracies.",cardTitle:"Content generated with MIA",chipLabel:"Generated with MIA",iconTooltip:"This content was automatically generated by our artificial intelligence MIA and may contain inaccuracies.",iconLinkLabel:"Click to read our artificial intelligence policies",linkLabel:"MIA Artificial Intelligence Policy",linkLabelShort:"MIA Policy",linkLabelTitle:"Read our policies on the use of MIA, our artificial intelligence, and the automatic generation of content"},l={bannerDescription:"Este contenido fue generado automáticamente por nuestra inteligencia artificial MIA y puede contener inexactitudes. Te recomendamos verificar su precisión y consultar fuentes oficiales para obtener información definitiva.",bannerTitle:"Contenido generado con MIA",cardDescription:"Este contenido fue generado automáticamente por nuestra inteligencia artificial MIA y puede contener inexactitudes.",cardTitle:"Contenido generado con MIA",chipLabel:"Generado con MIA",iconTooltip:"Este contenido fue generado automáticamente por nuestra inteligencia artificial MIA y puede contener inexactitudes.",iconLinkLabel:"Haz clic para leer nuestras políticas sobre inteligencia artificial",linkLabel:"Política de inteligencia artificial de MIA",linkLabelShort:"Política MIA",linkLabelTitle:"Lee nuestras políticas sobre el uso de MIA, nuestra inteligencia artificial, y la generación automática de contenidos"},s={bannerDescription:"Questo contenuto è stato generato automaticamente tramite la nostra intelligenza artificiale MIA e potrebbe contenere inesattezze, ti invitiamo a verificarne l'accuratezza e a consultare fonti ufficiali per informazioni definitive.",bannerTitle:"Contenuto generato con MIA",cardDescription:"Questo contenuto è stato generato automaticamente tramite la nostra intelligenza artificiale MIA e potrebbe contenere inesattezze.",cardTitle:"Contenuto generato con MIA",chipLabel:"Generato con MIA",iconTooltip:"Questo contenuto è stato generato automaticamente dalla nostra intelligenza artificiale MIA e potrebbe contenere inesattezze.",iconLinkLabel:"Clicca per leggere le nostre policy sulla intelligenza artificiale",linkLabel:"Policy MIA intelligenza artificiale",linkLabelShort:"Policy MIA",linkLabelTitle:"Leggi le nostre policy sull'utilizzo di MIA, la nostra intelligenza artificiale e la generazione automatica dei contenuti"};const d=class{constructor(i){a(this,i),this.t=new n({el:c,en:o,es:l,it:s}),this.variant="chip",this.href="https://www.maggiolieditore.it/il-regolamento-europeo-sull-intelligenza-artificiale.html",this.handleIconClick=()=>{window.open(this.href,"_blank")}}render(){var a,n,c,o,l,s,d;return i(e,{key:"1ccdc2dcb6ab702f2a8e04fc4880ec3e43a5654a"},"icon"===this.variant&&i("mds-help",{key:"b266e724ff53551047268a2fdbc67ae6191d92da",icon:t,class:"icon-help",onClick:this.handleIconClick,part:"icon"},i("div",{key:"26cf223be1bbda7afa815fe1d2bf08a52e562770",class:"icon-tip-content"},i("mds-text",{key:"06592e711eade042b5ad9d45fcadc44102990150",typography:"tip"},null!==(a=this.headline)&&void 0!==a?a:this.t.get("iconTooltip")),i("mds-text",{key:"7b7a66a274c96256be0659e26315f59a198dbe82",typography:"tip"},null!==(n=this.description)&&void 0!==n?n:this.t.get("iconLinkLabel")))),"chip"===this.variant&&i("div",{key:"2fde8d3749975560d057b68d725deae08b53c770",class:"chip-wrapper",part:"chip-wrapper"},i("mds-chip",{key:"a12acecd67ee9581ddf0ca657c1e6465577c8013",id:"chip",icon:t,class:"chip",part:"chip",variant:"ai",label:null!==(c=this.headline)&&void 0!==c?c:this.t.get("chipLabel")}),i("mds-dropdown",{key:"f73697af232bc455d443f4a8b7685ff9fd0a94b7",target:"#chip",class:"chip-dropdown",interaction:"mouseover",role:"group"},i("mds-text",{key:"7ffa330e8b22700d0be5dde58152b587e6c53970",typography:"tip"},null!==(o=this.description)&&void 0!==o?o:this.t.get("cardDescription")),i("mds-button",{key:"5acf7ffe6f5a1579230de75f3ab18155d4b80ba8",icon:r,href:this.href,variant:"ai",tone:"weak",size:"sm",label:this.t.get("linkLabel")}))),"card"===this.variant&&i("div",{key:"cfb0a483cbaf71f5fce63fd0af8502f269d83b3d",class:"mini-card",part:"card"},i("mds-icon",{key:"56ea13a8780ce2bdd0c14688bcec0424af2e81e6",name:t,class:"mini-card-icon"}),i("div",{key:"e4b20168f2f6e4aaf8d982c9f22d39303e718fc5",class:"mini-card-content"},i("mds-text",{key:"ea6f0011968ea29299a50d5a58230e888789722d",typography:"caption"},null!==(l=this.description)&&void 0!==l?l:this.t.get("iconTooltip")),i("mds-button",{key:"fd52cad25457fd5382dcf3b2c6d74071a47f18ba",class:"mini-card-button",icon:r,href:this.href,variant:"ai",tone:"weak",size:"sm"},i("span",{key:"d74f5d3ec01167ed69ec1dc88a60ca1305324115",class:"link-label-long"},this.t.get("linkLabel")),i("span",{key:"416c71642e6f420c883e589197ad6bb8499c6bc9",class:"link-label-short"},this.t.get("linkLabelShort"))))),"banner"===this.variant&&i("mds-banner",{key:"0810588c81cc164da24bb4bdef69cf4e06dcf8cc",class:"banner",variant:"ai",tone:"weak",icon:t,headline:null!==(s=this.headline)&&void 0!==s?s:this.t.get("bannerTitle"),part:"banner"},i("mds-text",{key:"525a6002422e5c0005fe92367c85450aea31cff1",typography:"caption"},null!==(d=this.description)&&void 0!==d?d:this.t.get("bannerDescription")),i("mds-button",{key:"e5d5d053a5d9542b7d148055128861d87c2e906f",icon:r,slot:"action",href:this.href,variant:"ai",tone:"weak",size:"sm"},i("span",{key:"69f593298072fda78629c0220ed96989fa530c38",class:"link-label-long"},this.t.get("linkLabel")),i("span",{key:"de2c28bf3083fd309d01322385cdb84ca5334618",class:"link-label-short"},this.t.get("linkLabelShort")))))}};d.style="@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-banner,mds-button,mds-chip,mds-dropdown,mds-help,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}:host{display:inline-flex}:host(:not([variant=icon])){container:mds-policy-ai/inline-size;width:100%}mds-button{justify-self:start}.banner{--mds-banner-cockade-background:rgb(var(--magma-accent-ai-fg,var(--variant-ai-03,87 20 242)));--mds-banner-icon-color:rgb(var(--magma-accent-ai-surface-subtle,var(--variant-ai-10,240 234 254)))}.mini-card{background-color:rgb(var(--magma-surface-raised,var(--surface-neutral-raised,248 248 248)));border-radius:var(--magma-radius-lg,var(--radius-squircle-lg,28px));box-shadow:var(--shadow-sm-sharp,0 0 1px 1px #0000000f,0 1px 3px 0 #0000001a);corner-shape:var(--magma-corner-shape,squircle);display:inline-flex;gap:calc(var(--spacing,.0025rem)*300);grid-template-columns:repeat(1,minmax(1px,100%));padding:calc(var(--spacing,.0025rem)*400)}.mini-card-icon{background-color:rgb(var(--magma-accent-ai-fg,var(--variant-ai-03,87 20 242)));border-radius:var(--magma-radius-full,var(--radius-full,1000px));border-top-left-radius:var(--magma-radius-none,var(--radius-none,0));border-top-right-radius:var(--magma-radius-none,var(--radius-none,0));fill:rgb(var(--magma-accent-ai-surface-subtle,var(--variant-ai-10,240 234 254)));height:calc(var(--spacing,.0025rem)*600);margin-top:calc(var(--spacing,.0025rem)*-400);padding:calc(var(--spacing,.0025rem)*100);padding-top:calc(var(--spacing,.0025rem)*400);width:calc(var(--spacing,.0025rem)*600)}.link-label-short{display:none}.mini-card-content{display:grid;gap:calc(var(--spacing,.0025rem)*300);grid-template-columns:repeat(1,minmax(1px,100%))}.mini-card-button{max-width:min-content;min-width:0;width:100%}@container mds-policy-ai (max-width:260px){.mini-card{display:grid}.mini-card-icon{border-top-left-radius:var(--magma-radius-none,var(--radius-none,0));border-top-right-radius:var(--magma-radius-none,var(--radius-none,0));margin-top:calc(var(--spacing,.0025rem)*-400);padding-top:calc(var(--spacing,.0025rem)*200)}.mini-card-button{max-width:none}.link-label-long{display:none}.link-label-short{display:inline}}.chip{cursor:help}.chip-dropdown{max-width:calc(var(--spacing,.0025rem)*7200);padding:calc(var(--spacing,.0025rem)*300) calc(var(--spacing,.0025rem)*400)}.icon-help{background-color:rgb(var(--magma-accent-ai-fg,var(--variant-ai-03,87 20 242)));border:1px solid rgb(var(--magma-surface-raised,var(--surface-neutral-raised,248 248 248)));border-radius:var(--magma-radius-full,var(--radius-full,1000px));cursor:pointer;fill:rgb(var(--magma-accent-ai-surface-subtle,var(--variant-ai-10,240 234 254)));height:min-content;width:min-content}.icon-tip-content{display:grid;gap:calc(var(--spacing,.0025rem)*200)}.icon-help::part(icon){height:calc(var(--spacing,.0025rem)*600);padding:calc(var(--spacing,.0025rem)*100);width:calc(var(--spacing,.0025rem)*600)}";export{d as mds_policy_ai}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,d as r,h as e,e as a,g as s}from"./p-CPRkNQdE.js";import{m as o}from"./p-DnEUG7st.js";import{L as d}from"./p-BmT_DEV2.js";import"./p-C25F_FlB.js";var b={back:"Πήγαινε πίσω"},c={back:"Go back"},i={back:"Volver atrás"},n={back:"Indietro"};const l=class{constructor(e){t(this,e),this.changedEvent=r(this,"mdsBreadcrumbChange",7),this.t=new d({el:b,en:c,es:i,it:n}),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");0!==t?e.removeAttribute("disabled"):e.setAttribute("disabled","")},this.togglePrevious=()=>{const t=this.element.querySelector("mds-breadcrumb-item[selected]");if(!t)return;const r=Array.from(this.queryItems()).indexOf(t),e=this.queryItems();let a=0;e.forEach(((t,e)=>{t.selected=e===r-1,t.selected&&(a=e)})),this.updateBackButton(a),this.onChanged(a,e[a])},this.onChanged=(t,r)=>{this.changedEvent.emit({id:t.toString(),caller:r})}}componentDidLoad(){const t=this.queryItems();t.forEach(((t,r)=>{""===t.id&&(t.id=`item-${r}`)}));const r=this.element.querySelector("mds-breadcrumb-item[selected]");r&&r!==t[0]||this.updateBackButton(0)}activedEventHandler(t){const r=this.queryItems();let e=0;r.forEach(((r,a)=>{r.selected=r===t.target&&t.detail.selected,r.selected&&(e=a)})),this.updateBackButton(e),this.onChanged(e,t.target)}render(){return e(a,{key:"4e731f0258bc334fe28045208072e4daf04c0522"},!this.hideBack&&e("mds-button",{key:"ac35cc1c60cb81dae791d5c2035d030562543c0c",title:this.t.get("back"),class:"back",tone:"text",variant:"dark",icon:o,onClick:this.togglePrevious}),e("slot",{key:"3cecbe7f3ea8f130337f905da1c3bb2617c4713f"}))}get element(){return s(this)}};l.style="@layer reset,vendor,theme,base,components,utilities;: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}:host{--mds-breadcrumb-arrow-depth-color:rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99)));--mds-breadcrumb-button-background-disabled:#0000;--mds-breadcrumb-button-background-hover:rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237)));--mds-breadcrumb-button-background-selected:rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225)));--mds-breadcrumb-button-background:#0000;--mds-breadcrumb-button-color-hover:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));--mds-breadcrumb-button-color-selected:var(--mds-breadcrumb-button-color-current,var(--mds-breadcrumb-current-button-color,rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))));--mds-breadcrumb-button-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));-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;scroll-snap-type:x mandatory;scrollbar-width:none;width:100%}.back[disabled]{--mds-button-background:var(--mds-breadcrumb-button-background-disabled,#0000)}:host::-webkit-scrollbar{display:none}";export{l as mds_breadcrumb}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
System.register(["./p-CmzGV0XD.system.js","./p-Cwb0_qSC.system.js","./p-xn0Wyqcy.system.js"],(function(e){"use strict";var t,i,r,a,s;return{setters:[function(e){t=e.r;i=e.h;r=e.e},function(e){a=e.m},function(e){s=e.m}],execute:function(){var o=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))),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-price-table-list-item-supported-icon-color-hover:rgb(var(--label-green-05,26 148 71));--mds-price-table-list-item-supported-icon-color:rgb(var(--label-green-06,34 195 93));--mds-price-table-list-item-unsupported-icon-color:rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119)));align-items:flex-start;display:flex;gap:calc(var(--spacing,.0025rem)*100)}.text{flex-grow:1}.icon-container{flex-shrink:0}.icon{display:flex;--tw-ease:var(--ease-out-expo,cubic-bezier(.19,1,.22,1));fill:var(--mds-price-table-list-item-unsupported-icon-color,rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119))));height:calc(var(--spacing,.0025rem)*600);transition-duration:var(--duration-500,.5s);transition-property:fill;transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1));width:calc(var(--spacing,.0025rem)*600)}.icon svg{aspect-ratio:var(--aspect-square,1/1);height:100%;width:100%}:host([supported]:not([supported=false])) .icon{fill:var(--mds-price-table-list-item-supported-icon-color,rgb(var(--label-green-06,34 195 93)))}:host([supported]:not([supported=false]):hover) .icon{fill:var(--mds-price-table-list-item-supported-icon-color-hover,rgb(var(--label-green-05,26 148 71)))}@property --tw-ease{syntax:"*";inherits:false}'};var n=e("mds_price_table_list_item",/** @class */function(){function e(e){t(this,e);
|
|
2
|
+
/**
|
|
3
|
+
* Specifies if the feature is supported or not
|
|
4
|
+
*/this.supported=false;
|
|
5
|
+
/**
|
|
6
|
+
* Specifies if the feature is supported or not
|
|
7
|
+
*/this.typography="detail"}e.prototype.render=function(){return i(r,{key:"7bc2e7a2e6f89fd723fab9a30423636a43cf0fbf",slot:"item"},i("mds-text",{key:"d9e21bf79683cbcfaccbb554b98d6f8e7546a935",class:"icon-container",typography:this.typography},this.supported?i("i",{class:"icon",innerHTML:a,part:"icon"}):i("i",{class:"icon",innerHTML:s,part:"icon"})),i("mds-text",{key:"9817a5978205678e58b79b2141c03d99e320f927",class:"text",typography:this.typography},i("slot",{key:"bc8718fc0dc0f4fa74a49f4a29cb03e524a65edd"})))};return e}());n.style=o()}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./p-
|
|
1
|
+
System.register(["./p-CmzGV0XD.system.js"],(function(t){"use strict";var e,i,n;return{setters:[function(t){e=t.r;i=t.h;n=t.e}],execute:function(){var r=function(){return'@layer reset,vendor,theme,base,components,utilities;: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}: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))}'};var a=t("mds_kpi",/** @class */function(){function t(t){e(this,t)}t.prototype.render=function(){return i(n,{key:"efc7c5f2d0b3edb52ea3d67df78cd460edf2c46c",role:"list"},i("slot",{key:"ba0f918fc0fe6f3dbe848843bb9c12f071fb7883"}))};return t}());a.style=r()}}}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as e,d as t,h as r,e as a}from"./p-CPRkNQdE.js";import{m as i}from"./p-DFyAGAnn.js";import{p as o}from"./p-C25F_FlB.js";const s=class{constructor(r){e(this,r),this.clickSelectEvent=t(this,"mdsAccordionTimerItemClickSelect",7),this.selectEvent=t(this,"mdsAccordionTimerItemSelect",7),this.selectedMouseEnterEvent=t(this,"mdsAccordionTimerItemMouseEnterSelect",7),this.selectedMouseLeaveEvent=t(this,"mdsAccordionTimerItemMouseLeaveSelect",7),this.typography="h5",this.selected=!1,this.progress=0,this.uuid=0,this.toggle=()=>{this.selected||this.clickSelectEvent.emit({selected:!0,uuid:this.uuid})},this.mouseEnter=()=>{this.selected&&this.selectedMouseEnterEvent.emit({selected:this.selected,uuid:this.uuid})},this.mouseLeave=()=>{this.selected&&this.selectedMouseLeaveEvent.emit({selected:this.selected,uuid:this.uuid})}}handleSelected(e){this.progress=0,e&&this.selectEvent.emit({selected:this.selected,uuid:this.uuid})}render(){var e;return r(a,{key:"52af0edc77740b2cbc0d2d1202a126ead6f65f98",onMouseEnter:this.mouseEnter,onMouseLeave:this.mouseLeave,"pref-animation":o.state.animation},r("div",{key:"8831b6877027a1dafdaffcd6691aaaec3866106d",class:"row"},r("mds-progress",{key:"76c612b636459a087735c81e73d95ddc089e1a34","aria-hidden":"true",class:"progress-bar",progress:Number(null===(e=this.progress)||void 0===e?void 0:e.toFixed(2)),direction:"vertical",size:"sm",part:"progress"}),r("div",{key:"c21cc0bf808a10dd554a94785833fe53f68a7b34",class:"accordion"},r("button",{key:"52560ccbd9f4567cce06aed63489d07be0050064","aria-controls":"content","aria-expanded":this.selected?"true":"false",class:"action",id:"action",onClick:this.toggle,role:"button",tabindex:"0"},r("mds-text",{key:"5b09b2e68513625387c1e14d056a0b5c385f60f3",typography:this.typography,part:"label"},this.description),r("mds-text",{key:"23cf879e6723e66eb8c917d7141009dde1b02d87","aria-hidden":"true",class:"icon-button",typography:this.typography,part:"icon"},r("i",{key:"2276545e4646804f830d211c209c6061e539f0ca",class:"icon",innerHTML:i}))),r("div",{key:"24792704d4a6cad279ac9135b2ddf85a6789e05e",class:"content",id:"content"},r("div",{key:"07bcee6e3de3901fddd74f59659c86bae6d7beb2","aria-label":this.description,class:"content-expander",part:"content",role:"region"},r("slot",{key:"a2074f9f09309edce5729a5d0eb79ec9c02f8a71"}))))))}static get watchers(){return{selected:[{handleSelected:0}]}}};s.style="@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-progress,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-accordion-timer-item-color:var(--mds-accordion-timer-color,rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))));--mds-accordion-timer-item-progress-bar-color:var(--mds-accordion-timer-progress-bar-color,rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73))));--mds-accordion-timer-item-progress-bar-background:var(--mds-accordion-timer-progress-bar-background,rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208))));--mds-accordion-timer-item-progress-bar-thickness:var(--mds-accordion-timer-progress-bar-thickness,calc(var(--spacing,.0025rem)*100));--mds-accordion-timer-item-duration:var(--mds-accordion-timer-duration,.5s);--private-accordion-timer-item-duration:var(--mds-accordion-timer-item-duration,.5s);color:var(--mds-accordion-timer-item-color,rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))));display:grid;padding-bottom:calc(var(--spacing,.0025rem)*400);padding-top:calc(var(--spacing,.0025rem)*400);position:relative;transition-duration:var(--private-accordion-timer-item-duration);transition-property:color;transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1))}.row{display:flex;gap:calc(var(--spacing,.0025rem)*400)}.accordion{display:grid}.progress-bar{--mds-progress-color:var(--mds-accordion-timer-item-progress-bar-color,rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73))));--mds-progress-background:var(--mds-accordion-timer-item-progress-bar-background,rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208))));--mds-progress-thickness:var(--mds-accordion-timer-item-progress-bar-thickness,calc(var(--spacing,.0025rem)*100));flex-shrink:0}.action{border-radius:min(var(--magma-radius-xs,var(--radius-squircle-xs,14px)),var(--magma-corner-cap,.5) * calc(var(--spacing,.0025rem)*600));color:inherit;corner-shape:var(--magma-corner-shape,squircle);background-color:#0000;border:0;cursor:pointer;display:flex;justify-content:space-between;padding:0;text-align:left}.action,.content{gap:calc(var(--spacing,.0025rem)*400)}.content{display:grid;grid-template-rows:0fr;opacity:0;overflow:hidden;padding-top:0;transition-duration:var(--private-accordion-timer-item-duration);transition-property:grid-template-rows,opacity,padding;transition-timing-function:var(--ease-in-out-expo,cubic-bezier(1,0,0,1))}.content,.content-expander{min-height:0}.icon{display:flex;fill:currentColor;transform:rotate(0);transition-duration:var(--duration-500,.5s);transition-property:transform;transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1))}.icon svg{aspect-ratio:var(--aspect-square,1/1);height:100%;width:100%}:host([selected]:not([selected=false])) .action{cursor:auto}:host([selected]:not([selected=false])) .icon{transform:rotate(90deg)}:host([selected]:not([selected=false])) .content{grid-template-rows:1fr;opacity:1;padding-top:calc(var(--spacing,.0025rem)*400)}:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host([pref-animation=reduce]){--private-accordion-timer-item-duration:0s}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-accordion-timer-item-duration:0s}}";export{s as mds_accordion_timer_item}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as e,h as t,e as i,g as a}from"./p-CPRkNQdE.js";import{L as o}from"./p-BmT_DEV2.js";import{p as s}from"./p-C25F_FlB.js";var r={actions:"Ενέργεια",selectAllRows:"Επιλογή όλων των γραμμών",selectNoneRows:"Αποεπιλογή όλων των γραμμών"},n={actions:"Action",selectAllRows:"Select all rows",selectNoneRows:"Deselect all rows"},l={actions:"Acción",selectAllRows:"Seleccionar todas las filas",selectNoneRows:"Deseleccionar todas las filas"},d={actions:"Azione",selectAllRows:"Seleziona tutte le righe",selectNoneRows:"Deseleziona tutte le righe"};const c=class{constructor(t){e(this,t),this.selectAll=!1,this.hasActions=!1,this.indeterminate=!1,this.hasSelection=!1,this.t=new o({el:r,en:n,es:l,it:d}),this.handleSelectAllChange=e=>{var t,i;this.selectAll=!!this.indeterminate||null!==(t=e.detail.checked)&&void 0!==t&&t,this.indeterminate=!1,null===(i=this.table)||void 0===i||i.selectAll(this.selectAll)}}async setSelection(e,t){var i,a;this.indeterminate=0!==e&&e!==t,null!==(i=this.checkboxEl)&&void 0!==i||(this.checkboxEl=null===(a=this.host.shadowRoot)||void 0===a?void 0:a.querySelector(".checkbox")),this.checkboxEl&&(this.checkboxEl.checked=t>0&&e===t)}async setActions(e){this.hasActions=e}componentWillLoad(){var e;this.table=this.host.closest("mds-table"),this.hasActions=null!=(null===(e=this.table)||void 0===e?void 0:e.querySelector('mds-table-row > [slot="action"]'))}render(){return t(i,{key:"75ac5be5f4e4b3e0e53140116a98ef64feff6aba",role:"row","pref-animation":s.state.animation},this.selectable&&t("mds-table-cell",{key:"e2152dcf3b944fba3ebb09d39b7e33032a7c1e71",class:"selection",role:"columnheader"},t("div",{key:"69a38fd4eafc13e926fbd2f37b6c2e68fd97aa6c",class:"checkbox-wrapper"},t("mds-input-switch",{key:"50b32b14632f3194e1e86fd41c54c42b5e582c49",class:"checkbox",title:this.t.get(this.selectAll?"selectNoneRows":"selectAllRows"),type:"checkbox",onMdsInputSwitchChange:this.handleSelectAllChange,indeterminate:this.indeterminate}))),t("slot",{key:"ca7f0a6eb82be383b22cbc0701d95e7debf6dded"}),this.hasActions&&t("mds-table-header-cell",{key:"17b31a6574c2f617f4604f90b1b6720aad03762a",part:"actions",class:"actions",label:this.t.get("actions")}))}get host(){return a(this)}};c.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{--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;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{--mds-table-cell-background:var(--mds-table-background);vertical-align:middle}.checkbox-wrapper{display:flex}:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}: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(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-table-header-transition-duration:0s}}';export{c as mds_table_header}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./p-
|
|
1
|
+
System.register(["./p-CmzGV0XD.system.js","./p-BeNKMPXR.system.js","./p-Qrub-hmK.system.js"],(function(t){"use strict";var e,n,a,i,s,r;return{setters:[function(t){e=t.r;n=t.h;a=t.e;i=t.g},function(t){s=t.h},function(t){r=t.c}],execute:function(){var o=function(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),mds-avatar: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;container:mds-author/inline-size;display:flex;gap:calc(var(--spacing,.0025rem)*400);width:100%}.avatar{display:flex;flex-shrink:0;-webkit-user-select:none;user-select:none}.avatar--hidden{display:none}.info{display:grid;flex-grow:1;min-width:0}@container (max-width:200px){:host{flex-direction:column;justify-content:center;text-align:center}}"};var c=t("mds_author",/** @class */function(){function t(t){var n=this;e(this,t);this.onAvatarSlotChange=function(){n.hasAvatar=s(n.hostElement,"avatar")}}t.prototype.componentWillLoad=function(){this.hasAvatar=s(this.hostElement,"avatar")};t.prototype.render=function(){return n(a,{key:"f5b51924114938e611ce958f17c82ba570118265"},n("div",{key:"cc9e5fc6b1201f23bad89f5537930a33933fe544",class:r("avatar",!this.hasAvatar&&"avatar--hidden")},n("slot",{key:"6d41ceb7f8fb607996fef022953bfa6b0cb23c38",name:"avatar",onSlotchange:this.onAvatarSlotChange})),n("div",{key:"d6562d74f921dca17b1652307c54858af02ae836",class:"info"},n("slot",{key:"532d1eff068bdbe4833c082038bd3ded6aaf9682"})))};Object.defineProperty(t.prototype,"hostElement",{get:function(){return i(this)},enumerable:false,configurable:true});return t}());c.style=o()}}}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as a,d as r,h as t,e as o,g as s}from"./p-CPRkNQdE.js";import{m as i}from"./p-DiWN48aq.js";import{r as n}from"./p-wI0alRSO.js";import{L as e}from"./p-BmT_DEV2.js";import"./p-C25F_FlB.js";var d={moreActions:"Περισσότερες ενέργειες"},c={moreActions:"More actions"},m={moreActions:"Más acciones"},h={moreActions:"Altre azioni"};const u=class{constructor(t){a(this,t),this.clickEvent=r(this,"mdsButtonDropdownClick",7),t.$hostElement$["s-ei"]?this.internals=t.$hostElement$["s-ei"]:(this.internals=t.$hostElement$.attachInternals(),t.$hostElement$["s-ei"]=this.internals),this.t=new e({el:d,en:c,es:m,it:h}),this.formDisabled=!1,this.type="button",this.variant="primary",this.tone="strong",this.size="md",this.target="self",this.truncate="word",this.isDisabled=()=>!!this.disabled||this.formDisabled,this.primaryActionClick=()=>{var a;if(this.isDisabled()||this.await)return;this.clickEvent.emit();const{form:r}=this.internals;r&&""===(null!==(a=this.href)&&void 0!==a?a:"")&&("submit"===this.type?n(r,this.name,this.value):"reset"===this.type&&r.reset())}}formDisabledCallback(a){this.formDisabled=a}componentDidLoad(){var a,r;this.autoFocus&&(null===(r=null===(a=this.host.shadowRoot)||void 0===a?void 0:a.querySelector(".dropdown-primary-action"))||void 0===r||r.focus())}render(){return t(o,{key:"045b614fa83abde938d45e02f4bb69d9357a65e0"},t("mds-button",{key:"4b20a4d368b32b8b3a2f73f87b25b2bb154e333d",active:this.active,class:"dropdown-primary-action",await:this.await,disabled:this.isDisabled(),href:this.href,icon:this.icon,onClick:this.primaryActionClick,size:this.size,target:this.target,tone:this.tone,truncate:this.truncate,variant:this.variant,label:this.label}),t("mds-button",{key:"27d24c6a2cea99c728244051d80b45a67fa0c75b",active:this.active,"aria-label":this.t.get("moreActions"),await:this.await,class:"dropdown-action",disabled:this.isDisabled(),icon:i,size:this.size,tone:this.tone,variant:this.variant}),t("mds-dropdown",{key:"9bd6a2d7dec91ca0f0854c995f3cd9b53cd459d5",target:".dropdown-action",part:"dropdown"},t("slot",{key:"ad42c1e7bc61a0e8cd5c0fcee9a27aa2de7fa941"})))}static get formAssociated(){return!0}get host(){return s(this)}};u.style="@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-button,mds-dropdown):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-button-dropdown-window-radius:var(--magma-radius-2xl,var(--radius-squircle-2xl,40px));--mds-button-dropdown-radius:min(var(--magma-radius-2xl,var(--radius-squircle-2xl,40px)),var(--magma-corner-cap,.5) * var(--private-button-dropdown-height));--private-button-dropdown-height:calc(var(--spacing,.0025rem)*900);border-radius:var(--mds-button-dropdown-radius,var(--magma-radius-2xl,var(--radius-squircle-2xl,40px)));corner-shape:var(--magma-corner-shape,squircle);display:inline-flex;place-self:flex-start;transition-duration:var(--duration-200,.2s);transition-property:background-color,box-shadow;transition-timing-function:var(--ease-out-quad,cubic-bezier(.25,.46,.45,.94))}mds-dropdown{border-radius:var(--mds-button-dropdown-window-radius,var(--magma-radius-2xl,var(--radius-squircle-2xl,40px)));gap:calc(var(--spacing,.0025rem)*50);padding:calc(var(--spacing,.0025rem)*200)}mds-button{--mds-button-radius:var(--mds-button-dropdown-radius,var(--magma-radius-2xl,var(--radius-squircle-2xl,40px)));--mds-button-border-tone-strong-hover-width:0;--mds-button-border-tone-outline-hover-width:0;--mds-button-border-tone-weak-hover-width:0}.dropdown-primary-action{border-bottom-right-radius:0;border-top-right-radius:0}.dropdown-action{border-bottom-left-radius:0;border-top-left-radius:0}::slotted(mds-button){justify-content:flex-start}:host([size=sm]){--mds-button-dropdown-radius:min(var(--magma-radius-md,var(--radius-squircle-md,20px)),var(--magma-corner-cap,.5) * var(--private-button-dropdown-height));--private-button-dropdown-height:calc(var(--spacing,.0025rem)*700)}:host([size=lg]){--private-button-dropdown-height:calc(var(--spacing,.0025rem)*1200)}:host([size=xl]){--private-button-dropdown-height:calc(var(--spacing,.0025rem)*1300)}:host([variant=error][tone=strong]){background-color:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)))}:host([variant=error][tone=weak]){background-color:rgb(var(--magma-danger-wash-strong,var(--status-error-08,254 198 194)))}:host([variant=success][tone=strong]){background-color:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)))}:host([variant=success][tone=weak]){background-color:rgb(var(--magma-success-wash-strong,var(--status-success-08,165 225 186)))}:host([variant=warning][tone=strong]){background-color:rgb(var(--magma-warning-emphasis,var(--status-warning-04,142 106 0)))}:host([variant=warning][tone=weak]){background-color:rgb(var(--magma-warning-wash-strong,var(--status-warning-08,255 205 57)))}:host([variant=info][tone=strong]){background-color:rgb(var(--magma-info-emphasis,var(--status-info-04,0 119 164)))}:host([variant=info][tone=weak]){background-color:rgb(var(--magma-info-wash-strong,var(--status-info-08,168 219 242)))}:host([variant=ai][tone=strong]){background-color:rgb(var(--magma-accent-ai-emphasis,var(--variant-ai-04,126 73 245)))}:host([variant=ai][tone=weak]){background-color:rgb(var(--magma-accent-ai-surface-hover,var(--variant-ai-08,219 205 252)))}:host([variant=primary][tone=strong]){background-color:rgb(var(--magma-accent-emphasis-hover,var(--variant-primary-03,7 76 204)))}:host([variant=primary][tone=weak]){background-color:rgb(var(--magma-accent-surface-hover,var(--variant-primary-08,204 212 226)))}:host([variant=secondary][tone=strong]){background-color:rgb(var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231)))}:host([variant=secondary][tone=weak]){background-color:rgb(var(--magma-accent-surface-hover,var(--variant-primary-08,204 212 226)))}:host([variant=dark][tone=strong]){background-color:rgb(var(--magma-surface-inverse-muted,var(--tone-neutral-03,73 73 73)))}:host([variant=dark][tone=weak]){background-color:rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225)))}:host([variant=light][tone=strong]){background-color:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)));box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3))}:host([variant=light][tone=weak]){background-color:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)));box-shadow:var(--shadow-ring-weak-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.15))}";export{u as mds_button_dropdown}
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
var __awaiter=this&&this.__awaiter||function(e,r,a,t){function n(e){return e instanceof a?e:new a((function(r){r(e)}))}return new(a||(a=Promise))((function(a,i){function l(e){try{c(t.next(e))}catch(e){i(e)}}function o(e){try{c(t["throw"](e))}catch(e){i(e)}}function c(e){e.done?a(e.value):n(e.value).then(l,o)}c((t=t.apply(e,r||[])).next())}))};var __generator=this&&this.__generator||function(e,r){var a={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},t,n,i,l=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return l.next=o(0),l["throw"]=o(1),l["return"]=o(2),typeof Symbol==="function"&&(l[Symbol.iterator]=function(){return this}),l;function o(e){return function(r){return c([e,r])}}function c(o){if(t)throw new TypeError("Generator is already executing.");while(l&&(l=0,o[0]&&(a=0)),a)try{if(t=1,n&&(i=o[0]&2?n["return"]:o[0]?n["throw"]||((i=n["return"])&&i.call(n),0):n.next)&&!(i=i.call(n,o[1])).done)return i;if(n=0,i)o=[o[0]&2,i.value];switch(o[0]){case 0:case 1:i=o;break;case 4:a.label++;return{value:o[1],done:false};case 5:a.label++;n=o[1];o=[0];continue;case 7:o=a.ops.pop();a.trys.pop();continue;default:if(!(i=a.trys,i=i.length>0&&i[i.length-1])&&(o[0]===6||o[0]===2)){a=0;continue}if(o[0]===3&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(o[0]===6&&a.label<i[1]){a.label=i[1];i=o;break}if(i&&a.label<i[2]){a.label=i[2];a.ops.push(o);break}if(i[2])a.ops.pop();a.trys.pop();continue}o=r.call(e,a)}catch(e){o=[6,e];n=0}finally{t=i=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};System.register(["./p-CmzGV0XD.system.js","./p-WSL9tMdv.system.js","./p-D8596ytD.system.js","./p-opeIIa7t.system.js","./p-BeNKMPXR.system.js","./p-Qrub-hmK.system.js","./p-C1ailvfu.system.js"],(function(e){"use strict";var r,a,t,n,i,l,o,c,s,d,h;return{setters:[function(e){r=e.r;a=e.d;t=e.h;n=e.e;i=e.g},function(e){l=e.D},function(e){o=e.p},function(e){c=e.s},function(e){s=e.h},function(e){d=e.c},function(e){h=e.L}],execute:function(){var u='<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 v='<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 m="Επόμενος μήνας";var b="Επόμενα έτη";var f="Προηγούμενος μήνας";var p="Προηγούμενα έτη";var g={nextMonth:m,nextYears:b,previousMonth:f,previousYears:p};var y="Next month";var k="Next years";var w="Previous month";var x="Previous years";var M={nextMonth:y,nextYears:k,previousMonth:w,previousYears:x};var z="Mes siguiente";var _="Años siguientes";var A="Mes anterior";var D="Años anteriores";var q={nextMonth:z,nextYears:_,previousMonth:A,previousYears:D};var C="Mese successivo";var j="Anni successivi";var F="Mese precedente";var L="Anni precedenti";var Y={nextMonth:C,nextYears:j,previousMonth:F,previousYears:L};var P=function(){return"@layer reset,vendor,theme,base,components,utilities;: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}:host{--mds-calendar-day-number-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));--mds-calendar-cell-gap:calc(var(--spacing,.0025rem)*50);--mds-calendar-cell-other-month-visibility:visible;--mds-calendar-border-radius:var(--magma-radius-lg,var(--radius-squircle-lg,28px));--mds-calendar-background:rgb(var(--magma-surface-raised,var(--surface-neutral-raised,248 248 248)));--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;background-color:rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225)));border-radius:var(--mds-calendar-border-radius,var(--magma-radius-lg,var(--radius-squircle-lg,28px)));corner-shape:var(--magma-corner-shape,squircle);cursor:auto;display:inline-flex;inline-size:100%;max-width:var(--mds-calendar-max-width,480px);min-width:min-content;overflow:hidden}.calendar-view{background-color:var(--mds-calendar-background,rgb(var(--magma-surface-raised,var(--surface-neutral-raised,248 248 248))));border-radius:inherit;box-sizing:border-box;corner-shape:inherit;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: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{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{background-color:rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225)));block-size:var(--mds-calendar-select-month-or-year-height,calc(var(--spacing,.0025rem)*900));border-radius:min(var(--mds-calendar-border-radius,var(--magma-radius-lg,var(--radius-squircle-lg,28px))),var(--magma-corner-cap,.5) * var(--mds-calendar-select-month-or-year-height,calc(var(--spacing,.0025rem)*900)));box-sizing:border-box;corner-shape:var(--magma-corner-shape,squircle);align-items:stretch;display:flex;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;block-size:calc(var(--spacing,.0025rem)*1200);inline-size:100%;min-height:auto;padding:0}.month-view__cells,.month-view__days-names{display:grid;gap:var(--mds-calendar-cell-gap);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);grid-template-columns:repeat(3,minmax(1px,100%));min-width:0}"};var S=e("mds_calendar",/** @class */function(){function e(e){var t=this;r(this,e);this.datesEmitter=a(this,"mdsCalendarChange",7);this.navigationEmitter=a(this,"mdsCalendarNavigate",7);this.hoverEmitter=a(this,"mdsCalendarHover",7);this.checkPreselectionsEmitter=a(this,"mdsCalendarPreselect",7);this.t=new h({el:g,en:M,es:q,it:Y});this.hasPreselection=false;this.currentDate=l.now();this.weekDaysinMonth=[];this.weekdays=[];this.startDateIdentifier=null;this.endDateIdentifier=null;this.isFirstClick=true;this.currentView="calendar";this.selectedYear=this.currentDate.year;
|
|
2
|
+
/**
|
|
3
|
+
* If set, the component selects a single date instead of a date range (start and end date).
|
|
4
|
+
*/this.singlePicker=false;
|
|
5
|
+
/**
|
|
6
|
+
* If set, the component hides the previous navigation button in the calendar header.
|
|
7
|
+
*/this.hidePreviousButton=false;
|
|
8
|
+
/**
|
|
9
|
+
* If set, the component hides the next navigation button in the calendar header.
|
|
10
|
+
*/this.hideNextButton=false;
|
|
11
|
+
/**
|
|
12
|
+
* Disables switching to month or year selection views from the calendar header.
|
|
13
|
+
*/this.disableMonthYearSelection=false;
|
|
14
|
+
/**
|
|
15
|
+
* If set, the component hides the preselection area above the calendar view even when the
|
|
16
|
+
* `preselection` slot has content.
|
|
17
|
+
*/this.hidePreselection=false;
|
|
18
|
+
/**
|
|
19
|
+
* Hides the highlight on today's date in the calendar view.
|
|
20
|
+
*/this.hideToday=false;
|
|
21
|
+
/**
|
|
22
|
+
* Specifies the date used to determine the visible month without changing the selection.
|
|
23
|
+
* @description It's in ISO format (YYYY-MM-DD).
|
|
24
|
+
* @example '2023-10-01'
|
|
25
|
+
*/this.viewDate=null;
|
|
26
|
+
/**
|
|
27
|
+
* Specifies the date used to preview the range selection across multiple visible calendars.
|
|
28
|
+
* @description It's in ISO format (YYYY-MM-DD).
|
|
29
|
+
* @example '2023-10-15'
|
|
30
|
+
*/this.hoverDate=null;
|
|
31
|
+
/**
|
|
32
|
+
* Specifies the start date of the selection
|
|
33
|
+
* @description It's in ISO format (YYYY-MM-DD).
|
|
34
|
+
* @example '2023-10-01'
|
|
35
|
+
*/this.startDate=null;
|
|
36
|
+
/**
|
|
37
|
+
* Specifies the end date of the selection
|
|
38
|
+
* @description It's in ISO format (YYYY-MM-DD).
|
|
39
|
+
* @example '2023-10-01'
|
|
40
|
+
*/this.endDate=null;
|
|
41
|
+
/**
|
|
42
|
+
* Specifies the minimum date of the selection
|
|
43
|
+
* @description It's in ISO format (YYYY-MM-DD).
|
|
44
|
+
* @example '2023-10-01'
|
|
45
|
+
*/this.min=null;
|
|
46
|
+
/**
|
|
47
|
+
* Specifies the minimum date of the selection
|
|
48
|
+
* @description It's in ISO format (YYYY-MM-DD).
|
|
49
|
+
* @example '2023-10-01'
|
|
50
|
+
*/this.max=null;this.internalStartDate=this.startDate;this.internalEndDate=this.endDate;this.internalHoverDate=null;this.currentMonth="";this.currentYear="";
|
|
51
|
+
// The area shows what the preselection slot holds, added after load too. It used to wait for a
|
|
52
|
+
// `date-preselection--has-preselection` marker class, looked up once on load (#826); the class
|
|
53
|
+
// still shows it, for the pages written that way.
|
|
54
|
+
this.updatePreselection=function(){t.hasPreselection=s(t.host,"preselection")||t.host.querySelector(".date-preselection--has-preselection")!==null};this.handleMouseOver=function(e){var r=e.target;if(!r.matches("mds-calendar-cell")||t.singlePicker||t.internalStartDate===null||t.internalStartDate===""||t.internalEndDate!==null&&t.internalEndDate!==""){return}var a=r.getAttribute("date");if(a!==null&&a!==""){if(a!==t.internalHoverDate){t.internalHoverDate=a;requestAnimationFrame((function(){return t.setDates()}))}t.hoverEmitter.emit({hoverDate:a})}};this.handleMouseLeave=function(){var e=t.internalHoverDate!==null;t.internalHoverDate=null;if(t.singlePicker||t.internalStartDate===null||t.internalStartDate===""||t.internalEndDate!==null&&t.internalEndDate!==""){return}if(e){requestAnimationFrame((function(){return t.setDates()}))}if(t.hoverDate!==null&&t.hoverDate!==""){t.hoverEmitter.emit({hoverDate:null})}};this.handleMonthActionClick=function(e){e.stopPropagation();if(t.disableMonthYearSelection){e.preventDefault();return}t.currentView=t.currentView==="months"?"calendar":"months";requestAnimationFrame((function(){t.updateCalendar().then((function(){return t.setDates()}))}))};this.handleYearActionClick=function(e){e.stopPropagation();if(t.disableMonthYearSelection){e.preventDefault();return}t.currentView=t.currentView==="years"?"calendar":"years";requestAnimationFrame((function(){t.updateCalendar().then((function(){return t.setDates()}))}))};this.handlePrev=function(e){if(t.currentView==="calendar"){e.stopPropagation();t.changeMonth(-1)}else if(t.currentView==="years"){e.stopPropagation();t.selectedYear-=10}else{e.stopPropagation()}};this.handleNext=function(e){if(t.currentView==="calendar"){e.stopPropagation();t.changeMonth(1)}else if(t.currentView==="years"){e.stopPropagation();t.selectedYear+=10}else{e.stopPropagation()}};this.handleCellClick=function(e){return function(r){r.stopPropagation();var a=r.currentTarget;if(t.singlePicker)t.handleSingleSelection(a,e);else t.handleRange(a,e)}};this.handleMonthSelect=function(e){return function(r){r.stopPropagation();t.currentDate=t.currentDate.set({month:e});t.currentMonth=t.currentDate.toFormat("MMMM");t.currentView="calendar";t.updateCalendar().then((function(){requestAnimationFrame((function(){return t.setDates()}))}))}};this.handleYearSelect=function(e){return function(r){r.stopPropagation();t.currentDate=t.currentDate.set({year:e});t.currentYear=e.toString();t.currentView="calendar";t.updateCalendar().then((function(){requestAnimationFrame((function(){return t.setDates()}))}))}}}e.prototype.handleStartDate=function(e){var r=this.parseDateProp(e,"start-date");if(r!==null){this.internalStartDate=r;this.startDateTime=l.fromISO(r);this.startDateIdentifier=this.startDateTime.toISODate();if(this.internalEndDate!==null&&this.internalEndDate!==""){this.orderRange()}else if(!this.singlePicker){this.isFirstClick=false}this.updateDates()}else{this.internalStartDate=null;this.startDateIdentifier=null;this.startDateTime=null;this.isFirstClick=true;this.updateDates()}};e.prototype.handleEndDate=function(e){if(this.singlePicker){console.warn("singlePicker is enabled, endDate cannot be set");this.internalEndDate=null;return}var r=this.parseDateProp(e,"end-date");if(r!==null){this.internalEndDate=r;this.endDateTime=l.fromISO(r);this.endDateIdentifier=this.endDateTime.toISODate();if(this.internalStartDate!==null&&this.internalStartDate!==""){this.orderRange()}this.updateDates()}else{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=l.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()}))};
|
|
55
|
+
/**
|
|
56
|
+
* A range given backwards, a start after its end, is put in order. The warning always said
|
|
57
|
+
* the values were swapped, but the calendar kept the dates it was given and drew nothing new,
|
|
58
|
+
* and at load the order was not checked at all.
|
|
59
|
+
*/e.prototype.orderRange=function(){var e;if(this.internalStartDate===null||this.internalEndDate===null)return;var r=l.fromISO(this.internalStartDate);var a=l.fromISO(this.internalEndDate);if(r<=a)return;console.warn("mds-calendar: startDate is after endDate, swapping values");e=[this.internalEndDate,this.internalStartDate],this.internalStartDate=e[0],this.internalEndDate=e[1];this.startDateTime=a;this.endDateTime=r;this.startDateIdentifier=a.toISODate();this.endDateIdentifier=r.toISODate()};
|
|
60
|
+
/**
|
|
61
|
+
* Normalizes a date prop to ISO 8601, treating an empty or invalid value as unset (`null`).
|
|
62
|
+
* An invalid value is reported with a warning instead of breaking the component lifecycle.
|
|
63
|
+
*/e.prototype.parseDateProp=function(e,r){if(e===null||e===""){return null}var a=c(e.toString());if(a===null||!l.fromISO(a).isValid){console.warn("mds-calendar: ignoring the invalid ".concat(r,' "').concat(e,'"'));return null}return a};e.prototype.componentWillLoad=function(){this.internalStartDate=this.parseDateProp(this.internalStartDate,"start-date");this.internalEndDate=this.parseDateProp(this.internalEndDate,"end-date");if(this.singlePicker&&this.internalEndDate!==null){console.warn("singlePicker is enabled, endDate cannot be set");this.internalEndDate=null}this.orderRange();if(this.viewDate!==null&&this.viewDate!==""){var e=l.fromISO(this.viewDate.toString());if(e.isValid){this.currentDate=e}}else if(this.internalStartDate!==null){this.startDateTime=l.fromISO(this.internalStartDate);this.currentDate=this.startDateTime}if(this.internalEndDate!==null){this.endDateTime=l.fromISO(this.internalEndDate)}this.updateCalendar()};e.prototype.componentDidLoad=function(){var e,r,a;this.updatePreselection();(r=(e=this.host)===null||e===void 0?void 0:e.shadowRoot)===null||r===void 0?void 0:r.addEventListener("mouseover",this.handleMouseOver);(a=this.host)===null||a===void 0?void 0:a.addEventListener("mouseleave",this.handleMouseLeave);this.setDates()};e.prototype.disconnectedCallback=function(){var e,r,a;(r=(e=this.host)===null||e===void 0?void 0:e.shadowRoot)===null||r===void 0?void 0:r.removeEventListener("mouseover",this.handleMouseOver);(a=this.host)===null||a===void 0?void 0:a.removeEventListener("mouseleave",this.handleMouseLeave)};
|
|
64
|
+
/**
|
|
65
|
+
* Sets the calendar's current date and re-renders the calendar accordingly.
|
|
66
|
+
* @param date the date to display, in ISO format (YYYY-MM-DD)
|
|
67
|
+
*/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=l.fromISO(e);return[4/*yield*/,this.updateCalendar()];case 1:a.sent();return[4/*yield*/,new Promise((function(e){requestAnimationFrame((function(){r.setDates();e()}))}))];case 2:a.sent();return[2/*return*/,Promise.resolve()]}}))}))};
|
|
68
|
+
/**
|
|
69
|
+
* The date previewed on hover: a `hover-date` set by a parent wins over the cell hovered in
|
|
70
|
+
* this calendar, so that the parent can spread the preview across several visible calendars.
|
|
71
|
+
*/e.prototype.resolveHoverDate=function(){if(this.hoverDate!==null&&this.hoverDate!==""){return this.hoverDate}return this.internalHoverDate};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;return __generator(this,(function(r){try{e=this.currentDate.startOf("week");this.weekdays=Array.from({length:7}).map((function(r,a){return e.setLocale(o.state.language).plus({days:a}).toFormat("ccc")}));this.calculateWeekDaysInMonth();this.currentMonth=this.currentDate.setLocale(o.state.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/*return*/]}))}))};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.singlePicker){var t=this.resolveHoverDate();if(t!==null&&(this.internalEndDate===null||this.internalEndDate==="")){this.setHoverSelection(a,r,t)}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=l.fromISO(this.internalStartDate.toString());if(this.internalEndDate===null||this.internalEndDate===""){this.startDateIdentifier=this.startDateTime.toISODate();this.isFirstClick=false;var t=r.querySelectorAll("mds-calendar-cell");t.forEach((function(e){if(e.getAttribute("date")===a.startDateTime.toFormat("yyyy-MM-dd")){e.setAttribute("selection","single");e.setAttribute("preview","true")}}));return}this.endDateTime=l.fromISO(this.internalEndDate.toString());this.startDateIdentifier=this.startDateTime.toISODate();this.endDateIdentifier=this.endDateTime.toISODate();var n=r.querySelectorAll("mds-calendar-cell");if(n!=null){var i=void 0;for(var o=0;o<n.length;o++){var c=n[o].getAttribute("date");if(c!==null&&c!==""){var s=l.fromISO(c);if(s.toFormat("yyyy-MM-dd")===this.startDateTime.toFormat("yyyy-MM-dd")){n[o].setAttribute("selection","start")}if(s.toFormat("yyyy-MM-dd")===this.endDateTime.toFormat("yyyy-MM-dd")){if(this.startDateTime.equals(this.endDateTime)){n[o].setAttribute("selection","single")}else{n[o].setAttribute("selection","end")}}i=s>this.startDateTime&&s<this.endDateTime;if(i){n[o].setAttribute("selection","middle")}}}}};e.prototype.setHoverSelection=function(e,r,a){this.clearSelectionState(e);if(this.internalStartDate===null||this.internalStartDate===""){this.setRangeSelection(e,r);return}var t=l.fromISO(this.internalStartDate);var n=l.fromISO(a);if(!t.isValid||!n.isValid){this.setRangeSelection(e,r);return}var i=t<=n;var o=Array.from(r.querySelectorAll("mds-calendar-cell"));o.forEach((function(e){var r=e.getAttribute("date");if(r===null||r==="")return;var a=l.fromISO(r);if(!a.isValid)return;var o=i?a>=t&&a<=n:a>=n&&a<=t;if(!o)return;e.setAttribute("preview","true");var c="middle";if(t.equals(n)&&a.equals(t)){c="single"}else if(a.equals(t)){c=i?"start":"end"}else if(a.equals(n)){c=i?"end":"start"}e.setAttribute("selection",c)}))};e.prototype.setSingleSelection=function(e,r){this.clearSelectionState(e);if(this.internalStartDate===null||this.internalStartDate==="")return;this.startDateTime=l.fromISO(this.internalStartDate.toString());var a=r.querySelectorAll("mds-calendar-cell");if(a!=null){for(var t=0;t<a.length;t++){var n=a[t].getAttribute("date");if(n!==null&&n!==""){var i=l.fromISO(n);if(i.toFormat("yyyy-MM-dd")===this.startDateTime.toFormat("yyyy-MM-dd")){a[t].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 t=e.weekday;var n=t-1;var i=e.minus({days:n});for(var l=i;l<e;l=l.plus({days:1})){a.push({date:l,isCurrentMonth:false})}for(var l=e;l<=r;l=l.plus({days:1})){a.push({date:l,isCurrentMonth:true})}var o=r.weekday;var c=7-o;var s=r.plus({days:1});for(var l=s;l<s.plus({days:c});l=l.plus({days:1})){a.push({date:l,isCurrentMonth:false})}this.weekDaysinMonth=a};e.prototype.handleRange=function(e,r){var a=this;if(!this.singlePicker&&(this.endDate===null||this.endDate==="")&&(this.internalEndDate===null||this.internalEndDate==="")&&this.isFirstClick){var t=this.parseDateProp(this.startDate||this.host.getAttribute("start-date"),"start-date");if(t!==null){this.internalStartDate=t;this.startDateTime=l.fromISO(t);this.startDateIdentifier=this.startDateTime.toISODate();this.isFirstClick=false}}var n=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!==""){n()}if(this.isFirstClick){this.startDateIdentifier=r.toISODate();this.startDateTime=r;this.internalStartDate=this.startDateTime.toISO().split("T")[0];this.isFirstClick=false;var i=this.host;requestAnimationFrame((function(){var e;(e=i===null||i===void 0?void 0:i.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}if(this.startDateIdentifier!==null&&this.startDateIdentifier!==""&&l.fromISO(this.startDateIdentifier)<l.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]}
|
|
72
|
+
// Redraw start, middle and end from the internal dates: a standalone calendar has no parent
|
|
73
|
+
// echoing the range through start-date / end-date, so nothing else would mark the two ends.
|
|
74
|
+
requestAnimationFrame((function(){return a.setDates()}));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 t=this.host;(a=t===null||t===void 0?void 0:t.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<l.fromISO(this.min)){return true}if(this.max!==null&&this.max!==""&&e>l.fromISO(this.max)){return true}return undefined};e.prototype.render=function(){var e=this;return t(n,{key:"8611a2c99c4cd736e76f1b7ede71aaf4f98fc00b"},t("div",{key:"2722b2e4b90c64e0d1247931380fdba8f634da1a",class:d("calendar-preselection",this.hasPreselection&&!this.hidePreselection&&"calendar-preselection--has-preselection")},t("slot",{key:"3dbd57162a6b22bfd51c163a476b90498c81e757",name:"preselection",onSlotchange:this.updatePreselection})),t("div",{key:"29e894b84333a08efa15cd46dc2015ac8d8a9663",class:"calendar-view"},t("nav",{key:"5383cd78806d501699f6d41e883aab92b79a2456"},!this.hidePreviousButton&&t("mds-button",{key:"f9c65eb580f1ab80c74b7ac002d56ca5bddbc4ae","aria-label":this.t.get(this.currentView==="years"?"previousYears":"previousMonth"),class:"action-back",
|
|
75
|
+
// the months view has nothing to move back or forward to
|
|
76
|
+
disabled:this.currentView==="months",icon:v,variant:"dark",tone:"text",onClick:this.handlePrev}),t("div",{key:"4979c86c0979effdd2104de726c5711f079bb5c7",class:"select-month-or-year"},(this.currentView==="calendar"||this.currentView==="months")&&t("mds-button",{key:"ca34dd25e152dd700f69e4367d1d6647b38b9768",class:"action-month",truncate:"none",variant:"dark",tone:"text",label:this.currentMonth,onClick:this.handleMonthActionClick}),(this.currentView==="calendar"||this.currentView==="years")&&t("mds-button",{key:"853f39d4f660f27fad3ca55ce4970495115d40de",class:"action-year",truncate:"none",variant:"dark",tone:"text",label:this.currentYear,onClick:this.handleYearActionClick})),!this.hideNextButton&&t("mds-button",{key:"ea639d7b4fa5ff27d2f059ecbd7db49ba60e2642","aria-label":this.t.get(this.currentView==="years"?"nextYears":"nextMonth"),class:"action-forward",disabled:this.currentView==="months",icon:u,variant:"dark",tone:"text",onClick:this.handleNext})),this.currentView==="calendar"&&t("section",{key:"89f888f30c42fc106d29b7b3e2b69555db02805f",class:"month-view"},t("header",{key:"56c800fd0acb55f7843d055e7465f18e0df9e295",class:"month-view__days-names"},this.weekdays.map((function(e){return t("mds-button",{class:"week-day-name",variant:"dark",tone:"text",label:e})}))),t("div",{key:"f03c98174586cb5b86c86dbc3fe7763359a984fc",class:"month-view__cells"},this.weekDaysinMonth.map((function(r,a){return t("mds-calendar-cell",{key:a,today:!e.hideToday&&l.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(o.state.language).toFormat("cccc d LLLL").replace(/^./,(function(e){return e.toUpperCase()})),label:r.date.toFormat("dd")})})))),this.currentView==="months"&&t("section",{key:"a96f215d14da90cf1d66cead45dc6120678f1313",class:"month-selection"},t("header",{key:"54fffeb45ff37884669e27142c763d2003351da0",class:"month-view__month-names"},Array.from({length:12}).map((function(r,a){var n=l.local().set({month:a+1}).setLocale(o.state.language).toFormat("MMMM");return t("mds-button",{class:"action",variant:"dark",tone:"text",label:n,onClick:e.handleMonthSelect(a+1)})})))),this.currentView==="years"&&t("section",{key:"eeade1ee73a96c0a4e2ee9d0b0986feec7652077",class:"year-selection"},t("header",{key:"1dd18af4c5ddb8d77c0930d3362716967350f229",class:"month-view__years"},Array.from({length:12}).map((function(r,a){var n=e.selectedYear+a;return t("mds-button",{class:"action",variant:"dark",tone:"text",label:"".concat(n),onClick:e.handleYearSelect(n)})}))))))};Object.defineProperty(e.prototype,"host",{get:function(){return i(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}());S.style=P();var T=function(){return"@layer reset,vendor,theme,base,components,utilities;: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}:host{--private-calendar-cell-background:var(--mds-calendar-cell-background,#0000);--private-calendar-cell-boundaries-padding:var(--mds-calendar-cell-boundaries-padding,calc(var(--spacing,.0025rem)*100));--private-calendar-cell-color:var(--mds-calendar-cell-color,var(--mds-calendar-day-number-color,rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))));--private-calendar-cell-other-month-background:var(--mds-calendar-cell-other-month-background,#0000);--private-calendar-cell-other-month-color:var(--mds-calendar-cell-other-month-color,rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119))));--private-calendar-cell-disabled-background:var(--mds-calendar-cell-disabled-background,#0000);--private-calendar-cell-disabled-color:var(--mds-calendar-cell-disabled-color,rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119))));--private-calendar-cell-weekend-background:var(--mds-calendar-cell-weekend-background,#0000);--private-calendar-cell-weekend-color:var(--mds-calendar-cell-weekend-color,rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99))));--private-calendar-cell-selection-boundaries-border-radius:var(--mds-calendar-cell-selection-boundaries-border-radius,var(--magma-radius-full,var(--radius-full,1000px)));--private-calendar-cell-selection-week-boundaries-border-radius:var(--mds-calendar-cell-selection-week-boundaries-border-radius,var(--magma-radius-full,var(--radius-full,1000px)));--private-calendar-cell-preselection-today-background:var(--mds-calendar-cell-preselection-today-background,rgb(var(--magma-accent-surface,var(--variant-primary-09,220 224 231))));--private-calendar-cell-preselection-today-color:var(--mds-calendar-cell-preselection-today-color,rgb(var(--magma-accent-fg,var(--variant-primary-03,7 76 204))));--private-calendar-cell-preselection-current-month-background:var(--mds-calendar-cell-preselection-current-month-background,rgb(var(--magma-accent-surface-hover,var(--variant-primary-08,204 212 226))));--private-calendar-cell-preselection-current-month-color:var(--mds-calendar-cell-preselection-current-month-color,rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119))));--private-calendar-cell-preselection-current-month-boundaries-color:var(--mds-calendar-cell-preselection-current-month-boundaries-color,rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119))));--private-calendar-cell-preselection-current-month-boundaries-background:var(--mds-calendar-cell-preselection-current-month-boundaries-background,rgb(var(--magma-accent-surface-subtle,var(--variant-primary-10,236 237 240))));--private-calendar-cell-preselection-other-month-background:var(--mds-calendar-cell-preselection-other-month-background,rgb(var(--magma-accent-surface,var(--variant-primary-09,220 224 231))));--private-calendar-cell-preselection-other-month-color:var(--mds-calendar-cell-preselection-other-month-color,rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119))));--private-calendar-cell-preselection-other-month-boundaries-color:var(--mds-calendar-cell-preselection-other-month-boundaries-color,rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119))));--private-calendar-cell-preselection-other-month-boundaries-background:var(--mds-calendar-cell-preselection-other-month-boundaries-background,rgb(var(--magma-surface-raised,var(--surface-neutral-raised,248 248 248))));--private-calendar-cell-selection-current-month-background:var(--mds-calendar-cell-selection-current-month-background,rgb(var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231))));--private-calendar-cell-selection-current-month-color:var(--mds-calendar-cell-selection-current-month-color,rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));--private-calendar-cell-selection-current-month-boundaries-background:var(--mds-calendar-cell-selection-current-month-boundaries-background,rgb(var(--magma-surface-raised,var(--surface-neutral-raised,248 248 248))));--private-calendar-cell-selection-current-month-boundaries-color:var(--mds-calendar-cell-selection-current-month-boundaries-color,rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73))));--private-calendar-cell-selection-current-month-weekend-background:var(--mds-calendar-cell-selection-current-month-weekend-background,rgb(var(--magma-accent-emphasis-hover,var(--variant-primary-03,7 76 204))));--private-calendar-cell-selection-current-month-weekend-color:var(--mds-calendar-cell-selection-current-month-weekend-color,rgb(var(--magma-accent-border,var(--variant-primary-06,148 172 218))));--private-calendar-cell-selection-current-month-weekend-boundaries-background:var(--mds-calendar-cell-selection-current-month-weekend-boundaries-background,rgb(var(--magma-accent-emphasis-hover,var(--variant-primary-03,7 76 204))));--private-calendar-cell-selection-current-month-weekend-boundaries-color:var(--mds-calendar-cell-selection-current-month-weekend-boundaries-color,rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73))));--private-calendar-cell-selection-other-month-background:var(--mds-calendar-cell-selection-other-month-background,rgb(var(--magma-accent-surface-hover,var(--variant-primary-08,204 212 226))));--private-calendar-cell-selection-other-month-color:var(--mds-calendar-cell-selection-other-month-color,rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99))));--private-calendar-cell-selection-other-month-boundaries-background:var(--mds-calendar-cell-selection-other-month-boundaries-background,rgb(var(--magma-accent-surface-subtle,var(--variant-primary-10,236 237 240))));--private-calendar-cell-selection-other-month-boundaries-color:var(--mds-calendar-cell-selection-other-month-boundaries-color,rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119))));align-items:center;aspect-ratio:1;display:flex;justify-content:center;padding:var(--private-calendar-cell-boundaries-padding);position:relative}:host([month=other]){visibility:var(--mds-calendar-cell-other-month-visibility,hidden)}.inner-dot{aspect-ratio:1;background-color:var(--private-calendar-cell-inner-background);border-radius:var(--private-calendar-cell-selection-boundaries-border-radius);display:flex;min-height:0;min-width:0;width:100%;z-index:1}.area-background{background-color:var(--private-calendar-cell-background);inset:0;position:absolute;z-index:0}.action,.area-background{color:var(--private-calendar-cell-color)}.action{align-items:center;background-color:#0000;border-radius:0;display:flex;inset:calc(var(--mds-calendar-cell-gap)*-1);justify-content:center;min-height:0;min-width:0;padding:0;place-self:stretch stretch;position:absolute;width:auto;z-index:2}:host([selection]:not(:where([selection=none]))[orientation=horizontal]) .area-background{margin-left:calc(var(--mds-calendar-cell-gap)*-1);margin-right:calc(var(--mds-calendar-cell-gap)*-1)}:host([selection=start][orientation=horizontal]) .area-background{border-bottom-left-radius:var(--private-calendar-cell-selection-boundaries-border-radius);border-top-left-radius:var(--private-calendar-cell-selection-boundaries-border-radius);margin-left:0}:host([selection=end][orientation=horizontal]) .area-background{border-bottom-right-radius:var(--private-calendar-cell-selection-boundaries-border-radius);border-top-right-radius:var(--private-calendar-cell-selection-boundaries-border-radius);margin-right:0}:host([selection]:not(:where([selection=none]))[orientation=vertical]) .area-background{margin-bottom:calc(var(--mds-calendar-cell-gap)*-1);margin-top:calc(var(--mds-calendar-cell-gap)*-1)}:host([selection=start][orientation=vertical]) .area-background{border-radius:var(--private-calendar-cell-selection-boundaries-border-radius) var(--private-calendar-cell-selection-boundaries-border-radius) 0 0;margin-top:0}:host([selection=end][orientation=vertical]) .area-background{border-radius:0 0 var(--private-calendar-cell-selection-boundaries-border-radius) var(--private-calendar-cell-selection-boundaries-border-radius);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(--private-calendar-cell-selection-week-boundaries-border-radius);border-top-left-radius:var(--private-calendar-cell-selection-week-boundaries-border-radius)}:host(:nth-child(7n)) .area-background,:host([selection=end][orientation=horizontal]:nth-child(7n)) .area-background{border-bottom-right-radius:var(--private-calendar-cell-selection-week-boundaries-border-radius);border-top-right-radius:var(--private-calendar-cell-selection-week-boundaries-border-radius)}:host([selection=end][orientation=horizontal]:nth-child(7n)) .area-background{border-bottom-right-radius:var(--private-calendar-cell-selection-boundaries-border-radius);border-top-right-radius:var(--private-calendar-cell-selection-boundaries-border-radius)}:host([selection]:not(:where([selection=none]))[orientation=horizontal]:nth-child(7n-6)) .area-background{margin-left:0}:host([selection]:not(:where([selection=none]))[orientation=horizontal]:nth-child(7n)) .area-background{margin-right:0}:host([selection=single][orientation=horizontal]) .area-background{border-radius:var(--private-calendar-cell-selection-boundaries-border-radius);margin-left:0;margin-right:0}:host(:nth-child(7n)),:host(:nth-child(7n-1)){--private-calendar-cell-color:var(--private-calendar-cell-weekend-color);--private-calendar-cell-background:var(--private-calendar-cell-weekend-background)}:host([month=other]:not([selection]:not(:where([selection=none])))){--private-calendar-cell-color:var(--private-calendar-cell-other-month-color);--private-calendar-cell-background:var(--private-calendar-cell-other-month-background)}:host([disabled]){--private-calendar-cell-color:var(--private-calendar-cell-disabled-color);--private-calendar-cell-background:var(--private-calendar-cell-disabled-background);cursor:auto;pointer-events:none}:host(:not([selection]:not(:where([selection=none])))[today]){--private-calendar-cell-inner-background:var(--private-calendar-cell-preselection-today-background);--private-calendar-cell-color:var(--private-calendar-cell-preselection-today-color)}:host([selection]:not(:where([selection=none]))[month=current]){--private-calendar-cell-background:var(--private-calendar-cell-selection-current-month-background);--private-calendar-cell-color:var(--private-calendar-cell-selection-current-month-color)}:host([selection]:not(:where([selection=none]))[month=current]:nth-child(7n)),:host([selection]:not(:where([selection=none]))[month=current]:nth-child(7n-1)){--private-calendar-cell-background:var(--private-calendar-cell-selection-current-month-weekend-background);--private-calendar-cell-color:var(--private-calendar-cell-selection-current-month-weekend-color)}: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)){--private-calendar-cell-background:var(--private-calendar-cell-selection-current-month-weekend-boundaries-background);--private-calendar-cell-color:var(--private-calendar-cell-selection-current-month-weekend-boundaries-color)}:host([selection]:not(:where([selection=none]))[month=other]){--private-calendar-cell-background:var(--private-calendar-cell-selection-other-month-background);--private-calendar-cell-color:var(--private-calendar-cell-selection-other-month-color)}:host([selection=end][month=current]),:host([selection=start][month=current]){--private-calendar-cell-inner-background:var(--private-calendar-cell-selection-current-month-boundaries-background);--private-calendar-cell-color:var(--private-calendar-cell-selection-current-month-boundaries-color)}:host([selection=end][month=other]),:host([selection=start][month=other]){--private-calendar-cell-inner-background:var(--private-calendar-cell-selection-other-month-boundaries-background);--private-calendar-cell-color:var(--private-calendar-cell-selection-other-month-boundaries-color)}:host([selection]:not(:where([selection=none]))[month=current][preview]:not([preview=false])){--private-calendar-cell-background:var(--private-calendar-cell-preselection-current-month-background);--private-calendar-cell-color:var(--private-calendar-cell-preselection-current-month-color)}:host([selection]:not(:where([selection=none]))[month=other][preview]:not([preview=false])){--private-calendar-cell-background:var(--private-calendar-cell-preselection-other-month-background);--private-calendar-cell-color:var(--private-calendar-cell-preselection-other-month-color)}:host([selection=end][month=current][preview]:not([preview=false])),:host([selection=start][month=current][preview]:not([preview=false])){--private-calendar-cell-inner-background:var(--private-calendar-cell-preselection-current-month-boundaries-background);--private-calendar-cell-color:var(--private-calendar-cell-preselection-current-month-boundaries-color)}:host([selection=end][month=other][preview]:not([preview=false])),:host([selection=start][month=other][preview]:not([preview=false])){--private-calendar-cell-inner-background:var(--private-calendar-cell-preselection-other-month-boundaries-background);--private-calendar-cell-color:var(--private-calendar-cell-preselection-other-month-boundaries-color)}:host([selection=single][month=current]){--private-calendar-cell-inner-background:var(--private-calendar-cell-preselection-current-month-boundaries-background);--private-calendar-cell-color:var(--private-calendar-cell-preselection-current-month-boundaries-color)}:host([selection=single][month=other]){--private-calendar-cell-inner-background:var(--private-calendar-cell-preselection-other-month-boundaries-background);--private-calendar-cell-color:var(--private-calendar-cell-preselection-other-month-boundaries-color)}"};var I=e("mds_calendar_cell",/** @class */function(){function e(e){r(this,e);
|
|
77
|
+
/**
|
|
78
|
+
* Specifies if the day belongs to the displayed month, `current`, or to an adjacent one,
|
|
79
|
+
* `other`. `weekend` is deprecated and does nothing: the weekend days are styled by their
|
|
80
|
+
* column of the week
|
|
81
|
+
*/this.month="current";
|
|
82
|
+
/**
|
|
83
|
+
* Specifies the selection orientation of the cell
|
|
84
|
+
* @description It can be 'horizontal' or 'vertical', but currently only 'horizontal' is supported
|
|
85
|
+
*/this.orientation="horizontal";
|
|
86
|
+
/**
|
|
87
|
+
* Specifies if the selection is a preview or the final selection
|
|
88
|
+
*/this.preview=false;
|
|
89
|
+
/**
|
|
90
|
+
* Specifies if the cell is disabled
|
|
91
|
+
*/this.disabled=undefined;
|
|
92
|
+
/**
|
|
93
|
+
* Specifies if the cell is today
|
|
94
|
+
*/this.today=undefined}e.prototype.render=function(){return t(n,{key:"21da5d99d0748ca3904e882198c257f5a8d90227"},t("div",{key:"ddb54e7f37beda15bd28254f7fa3c01d857e6e64",class:"inner-dot"}),t("div",{key:"32087d935d2905d8ce6b78b372109c53fbb25c5f",class:"area-background"}),t("mds-button",{key:"518d648a07f7af617e703c61fa8d9c6265760df2",class:"action",variant:"dark",tone:"text",disabled:this.disabled,label:this.label}))};return e}());I.style=T()}}}));
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
System.register(["./p-CmzGV0XD.system.js","./p-_X0N_X__.system.js","./p-Cg7Go_uc.system.js","./p-C1ailvfu.system.js","./p-D8596ytD.system.js"],(function(e){"use strict";var t,s,i,a,r,o,d,n,l;return{setters:[function(e){t=e.r;s=e.d;i=e.h;a=e.e;r=e.g},function(e){o=e.c},function(e){d=e.m},function(e){n=e.L},function(e){l=e.p}],execute:function(){var m='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M12 7c-2.76 0-5 2.24-5 5s2.24 5 5 5s5-2.24 5-5s-2.24-5-5-5zM2 13h2c.55 0 1-.45 1-1s-.45-1-1-1H2c-.55 0-1 .45-1 1s.45 1 1 1zm18 0h2c.55 0 1-.45 1-1s-.45-1-1-1h-2c-.55 0-1 .45-1 1s.45 1 1 1zM11 2v2c0 .55.45 1 1 1s1-.45 1-1V2c0-.55-.45-1-1-1s-1 .45-1 1zm0 18v2c0 .55.45 1 1 1s1-.45 1-1v-2c0-.55-.45-1-1-1s-1 .45-1 1zM5.99 4.58a.996.996 0 0 0-1.41 0a.996.996 0 0 0 0 1.41l1.06 1.06c.39.39 1.03.39 1.41 0s.39-1.03 0-1.41L5.99 4.58zm12.37 12.37a.996.996 0 0 0-1.41 0a.996.996 0 0 0 0 1.41l1.06 1.06c.39.39 1.03.39 1.41 0a.996.996 0 0 0 0-1.41l-1.06-1.06zm1.06-10.96a.996.996 0 0 0 0-1.41a.996.996 0 0 0-1.41 0l-1.06 1.06c-.39.39-.39 1.03 0 1.41s1.03.39 1.41 0l1.06-1.06zM7.05 18.36a.996.996 0 0 0 0-1.41a.996.996 0 0 0-1.41 0l-1.06 1.06c-.39.39-.39 1.03 0 1.41s1.03.39 1.41 0l1.06-1.06z"/></svg>';var c='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M9.37 5.51A7.35 7.35 0 0 0 9.1 7.5c0 4.08 3.32 7.4 7.4 7.4c.68 0 1.35-.09 1.99-.27A7.014 7.014 0 0 1 12 19c-3.86 0-7-3.14-7-7c0-2.93 1.81-5.45 4.37-6.49zM12 3a9 9 0 1 0 9 9c0-.46-.04-.92-.1-1.36a5.389 5.389 0 0 1-4.4 2.26a5.403 5.403 0 0 1-3.14-9.8c-.44-.06-.9-.1-1.36-.1z"/></svg>';var h='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M12 3a9 9 0 1 0 9 9c0-.46-.04-.92-.1-1.36a5.389 5.389 0 0 1-4.4 2.26a5.403 5.403 0 0 1-3.14-9.8c-.44-.06-.9-.1-1.36-.1z"/></svg>';var f="Σκούρο";var u="Λειτουργία";var v="Ανοιχτό";var b="Με βάση το λειτουργικό σύστημα";var g={darkMode:f,label:u,lightMode:v,systemSettings:b};var y="Dark";var p="Mode";var k="Light";var w="Based on operating system";var x={darkMode:y,label:p,lightMode:k,systemSettings:w};var M="Oscura";var z="Modo";var C="Clara";var T="Basado en el sistema operativo";var S={darkMode:M,label:z,lightMode:C,systemSettings:T};var j="Scura";var _="Modalità";var B="Chiara";var D="Basato sul sistema operativo";var O={darkMode:j,label:_,lightMode:B,systemSettings:D};var X=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{--mds-pref-mode-overlay-fadeout-duration:.2s;--mds-pref-mode-overlay-show-duration:.3s;--mds-pref-mode-overlay-z-index:var(--magma-theme-overlay-z-index,7000);display:grid;gap:calc(var(--spacing,.0025rem)*200)}.item{--mds-tab-item-default-color:rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119)));flex-basis:0;flex-grow:1}.item--system{--mds-tab-item-selected-color:rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73)))}.item--light{--mds-tab-item-selected-color:rgb(var(--label-yellow-06,214 163 7))}.item--dark{--mds-tab-item-selected-color:rgb(var(--label-sky-06,47 182 243))}:host([pref-mode=dark]:not([pref-theme-scheme=light])) .item{--mds-tab-item-default-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}:host([pref-mode=dark]:not([pref-theme-scheme=light])) .item--light{--mds-tab-item-selected-color:rgb(var(--label-yellow-03,112 85 4))}:host([pref-mode=dark]:not([pref-theme-scheme=light])) .item--dark{--mds-tab-item-selected-color:rgb(var(--label-sky-03,8 94 133))}@media (prefers-color-scheme:dark){:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-contrast]))) .item{--mds-tab-item-default-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-contrast]))) .item--light{--mds-tab-item-selected-color:rgb(var(--label-yellow-03,112 85 4))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-contrast]))) .item--dark{--mds-tab-item-selected-color:rgb(var(--label-sky-03,8 94 133))}}"};var A=e("mds_pref_mode",/** @class */function(){function e(e){var i=this;t(this,e);this.prefChangeEvent=s(this,"mdsPrefChange",7);this.defaultMode="system";this.t=new n({el:g,en:x,es:S,it:O});this.localStorageAlias="mdsPrefMode";this.customPropertyAlias="--magma-pref-mode";this.overlayBackgroundVisible="rgb(var(--magma-surface-default))";this.overlayBackgroundHidden="rgb(var(--magma-surface-default) / 0)";this.cssOverlayShowDuration="300";this.cssOverlayFadeoutDuration="200";this.cssOverlayZIndex="6000";this.overlayId="mds-pref-mode-overlay";this.overlayShow=false;this.syncingFromStore=false;this.updateCSSCustomProps=function(){var e,t,s;if(typeof window==="undefined")return;var a=window.getComputedStyle(i.element);i.cssOverlayShowDuration=(e=a.getPropertyValue("--mds-pref-mode-overlay-show-duration"))!==null&&e!==void 0?e:"300";i.cssOverlayFadeoutDuration=(t=a.getPropertyValue("--mds-pref-mode-overlay-fadeout-duration"))!==null&&t!==void 0?t:"200";i.cssOverlayZIndex=(s=a.getPropertyValue("--mds-pref-mode-overlay-z-index"))!==null&&s!==void 0?s:"6000"};
|
|
2
|
+
/**
|
|
3
|
+
* Specifies the transition of switching from a mode to another one
|
|
4
|
+
*/this.transition="smooth";this.modes={dark:{selector:"pref-mode-dark",label:"darkMode"},system:{selector:"pref-mode-system",label:"systemSettings"},light:{selector:"pref-mode-light",label:"lightMode"}};
|
|
5
|
+
/**
|
|
6
|
+
* Follows a mode applied elsewhere (another instance, or a writer of the
|
|
7
|
+
* `<html>` classes) without applying it again: no event, no storage write.
|
|
8
|
+
*/this.syncMode=function(e){if(e===undefined||e===i.mode){return}i.syncingFromStore=true;i.mode=e;i.appliedMode=e;i.syncingFromStore=false};
|
|
9
|
+
/**
|
|
10
|
+
* Applies a mode once per change, and announces it once applied: the `mode` watcher
|
|
11
|
+
* calls this again for the value it has just been given, which used to emit a second
|
|
12
|
+
* mdsPrefChange, and the first application, the one of load, is no change to announce.
|
|
13
|
+
*/this.setMode=function(e){if(e===i.appliedMode){i.mode=e;return}var t=i.appliedMode===undefined;i.appliedMode=e;i.mode=e;localStorage.setItem(i.localStorageAlias,i.mode);if(typeof document!=="undefined"){var s=document.querySelector("html");for(var a in i.modes){if({}.hasOwnProperty.call(i.modes,a)){s===null||s===void 0?void 0:s.classList.remove(i.modes[a].selector)}}s===null||s===void 0?void 0:s.classList.add(i.modes[e].selector);s===null||s===void 0?void 0:s.style.setProperty(i.customPropertyAlias,i.mode)}l.state.mode=e;if(!t){i.prefChangeEvent.emit({preference:"mode"})}};this.isDarkMode=function(){return window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches};this.getColorScheme=function(e){if(e!==undefined){if(e==="system"){return i.isDarkMode()?"dark":"light"}return e}if(i.mode==="system"){return i.isDarkMode()?"dark":"light"}return i.mode};this.instanceOverlay=function(){if(i.overlayEl==null){i.overlayEl=document.createElement("div");i.overlayEl.className=i.overlayId;i.overlayEl.style.inset="0";i.overlayEl.style.pointerEvents="none";i.overlayEl.style.position="fixed";i.overlayEl.style.transition="background-color ".concat(i.cssOverlayFadeoutDuration," ease-out");i.overlayEl.style.zIndex=i.cssOverlayZIndex}i.overlayEl.style.backgroundColor=i.overlayBackgroundHidden};this.attachFlashOverlayTransition=function(){i.overlayShow=true;i.instanceOverlay();i.overlayEl.style.backgroundColor=i.overlayBackgroundVisible;document.body.appendChild(i.overlayEl);clearTimeout(i.overlayTimer);i.overlayTimer=setTimeout((function(){i.overlayShow=false;i.detachOverlayTransition()}),o(i.cssOverlayShowDuration))};this.attachSmoothOverlayTransition=function(e){i.overlayShow=true;i.instanceOverlay();document.body.appendChild(i.overlayEl);clearTimeout(i.overlaySmoothTimer);i.overlaySmoothTimer=setTimeout((function(){i.overlayEl.style.backgroundColor=i.overlayBackgroundVisible;clearTimeout(i.overlayTimer);i.overlayTimer=setTimeout((function(){i.setMode(e);clearTimeout(i.overlayTimer);i.overlayTimer=setTimeout((function(){i.overlayShow=false;i.detachOverlayTransition()}),o(i.cssOverlayFadeoutDuration))}),o(i.cssOverlayShowDuration))}),1)};this.isModeDisabled=function(e){if(i.lockedScheme==="light"){return e==="dark"}if(i.lockedScheme==="dark"){return e==="light"}return false};this.changeMode=function(e){if(i.isModeDisabled(e)){return}var t=i.getColorScheme();var s=i.getColorScheme(e);if(t===s){i.setMode(e);return}switch(i.transition){case"none":i.setMode(e);break;case"flash":i.setMode(e);i.attachFlashOverlayTransition();break;case"smooth":i.attachSmoothOverlayTransition(e);break;default:i.setMode(e);break}};this.handleModeClick=function(e){return function(){if(i.overlayShow){return}i.changeMode(e)}}}
|
|
14
|
+
// The stored mode is applied once, on load. After that each instance only mirrors
|
|
15
|
+
// the shared store: re-applying its own `mode` on every render made a second
|
|
16
|
+
// instance (a controller next to a settings page) revert what the other one chose.
|
|
17
|
+
// Safari is no exception any more: it used to be forced to light, written to the storage,
|
|
18
|
+
// while the dark refinements were Chromium-only `:host-context` rules (#960).
|
|
19
|
+
e.prototype.componentWillLoad=function(){var e,t;this.setMode((t=(e=this.mode)!==null&&e!==void 0?e:localStorage.getItem(this.localStorageAlias))!==null&&t!==void 0?t:this.defaultMode)};e.prototype.connectedCallback=function(){this.unsubscribeStore=l.onChange("mode",this.syncMode)};e.prototype.disconnectedCallback=function(){var e;(e=this.unsubscribeStore)===null||e===void 0?void 0:e.call(this)};e.prototype.componentDidLoad=function(){this.updateCSSCustomProps()};e.prototype.modeChanged=function(e,t){if(e===t||this.syncingFromStore){return}this.setMode(e)};e.prototype.detachOverlayTransition=function(){var e=this;if(this.overlayEl==null){return}this.overlayEl.style.backgroundColor=this.overlayBackgroundHidden;clearTimeout(this.overlayTimer);this.overlayTimer=setTimeout((function(){e.overlayEl.remove()}),o(this.cssOverlayFadeoutDuration))};e.prototype.render=function(){var e;return i(a,{key:"54942d5c0b4d9a9bd64491cf336f0781a7c2f48b","pref-contrast":l.state.contrast,"pref-mode":l.state.mode,"pref-theme-scheme":l.state["theme-scheme"]},i("mds-text",{key:"0febf8db8b0d509c7fe8493add1adcbd51b2b685",class:"info",typography:"caption"},i("b",{key:"cdfe50fb106eb352ece6c95cd4849182fd3100a2"},this.t.get("label"))," ",this.t.get(this.modes[(e=this.mode)!==null&&e!==void 0?e:this.defaultMode].label)),i("mds-tab",{key:"91b9a987e51b1723eaa9ed8dafd1eb885df7bbf4",fill:true,size:this.size},i("mds-tab-item",{key:"f8b02536a2ff93163881f8d8cd9487c8c1dc57d5",disabled:this.isModeDisabled("light"),selected:this.mode==="light",onClick:this.handleModeClick("light"),class:"item item--light",icon:m,title:this.t.get(this.modes.light.label)}),i("mds-tab-item",{key:"24171536adfeacd0820757c9645563de1f104499",disabled:this.isModeDisabled("system"),selected:this.mode==="system",onClick:this.handleModeClick("system"),class:"item item--system",icon:d,title:this.t.get(this.modes.system.label)}),i("mds-tab-item",{key:"a8a70270da474426111975d6e636f97b1c2ad0fc",disabled:this.isModeDisabled("dark"),selected:this.mode==="dark",onClick:this.handleModeClick("dark"),class:"item item--dark",icon:this.mode==="dark"?h:c,title:this.t.get(this.modes.dark.label)})))};Object.defineProperty(e.prototype,"element",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{mode:[{modeChanged:0}]}},enumerable:false,configurable:true});return e}());A.style=X()}}}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,h as i,e as s,g as e}from"./p-CPRkNQdE.js";import{s as n}from"./p-wI0alRSO.js";import{L as h}from"./p-BmT_DEV2.js";import"./p-C25F_FlB.js";var r={digit:"Ψηφίο {{position}} από {{length}}"},o={digit:"Digit {{position}} of {{length}}"},a={digit:"Dígito {{position}} de {{length}}"},l={digit:"Cifra {{position}} di {{length}}"};const d=class{constructor(i){t(this,i),i.$hostElement$["s-ei"]?this.internals=i.$hostElement$["s-ei"]:(this.internals=i.$hostElement$.attachInternals(),i.$hostElement$["s-ei"]=this.internals),this.loadValue="",this.digits=[],this.formDisabled=!1,this.t=new h({el:r,en:o,es:a,it:l}),this.length=6,this.autosubmit=!1,this.disabled=!1,this.value="",this.isDisabled=()=>!!this.disabled||this.formDisabled,this.cellIndex=t=>Array.from(this.element.shadowRoot.querySelectorAll("mds-input")).indexOf(t),this.setOtpDigit=(t,i)=>{const s=[...this.digits];s[this.cellIndex(t)]=i,this.digits=s,this.updateValue()},this.submit=t=>{var i,s;const e=(null!==(i=this.value)&&void 0!==i?i:"").length===this.length;t.blur(),this.autosubmit&&e&&(null===(s=this.internals.form)||void 0===s||s.requestSubmit())},this.handleKeyDown=t=>{var i;if(t.ctrlKey||t.metaKey||t.altKey)return;const s=t.target,e=s.previousElementSibling,n=s.nextElementSibling;switch(t.key){case"Backspace":return t.preventDefault(),""===(null!==(i=this.digits[this.cellIndex(s)])&&void 0!==i?i:"")&&e?(this.setOtpDigit(e,""),void e.setFocus()):void this.setOtpDigit(s,"");case"Delete":return t.preventDefault(),void this.setOtpDigit(s,"");case"ArrowLeft":return t.preventDefault(),void(null==e||e.setFocus());case"ArrowRight":return t.preventDefault(),void(null==n||n.setFocus())}1===t.key.length&&(t.preventDefault(),/^[0-9]$/.test(t.key)&&(this.setOtpDigit(s,t.key),null!=n?n.setFocus():this.submit(s)))},this.handlePaste=t=>{var i,s;t.preventDefault();const e=(null!==(s=null===(i=t.clipboardData)||void 0===i?void 0:i.getData("text"))&&void 0!==s?s:"").trim();if(!/^[0-9]+$/.test(e))return;let n=t.target;for(const t of e){this.setOtpDigit(n,t);const i=n.nextElementSibling;if(null==i)return void this.submit(n);n=i,n.setFocus()}},this.digitName=t=>{var i;const s=this.t.get("digit",{position:t+1,length:this.length});return""!==(null!==(i=this.accessibleName)&&void 0!==i?i:"")?`${this.accessibleName}, ${s}`:s}}valueChanged(t){(null!=t?t:"")!==this.digits.join("")&&this.fillCells(null!=t?t:"")}formDisabledCallback(t){this.formDisabled=t}formResetCallback(){this.fillCells(this.loadValue)}componentWillLoad(){var t;this.loadValue=null!==(t=this.value)&&void 0!==t?t:"",this.fillCells(this.loadValue)}fillCells(t){this.digits=Array.from(t).slice(0,this.length),this.updateValue()}updateValue(){this.value=this.digits.join(""),n(this.internals,this.value)}render(){return i(s,{key:"c9877d93f4c68eadde74ec087c10bb7465811051"},Array.from({length:this.length}).map(((t,s)=>{var e;return i("mds-input",{"aria-label":this.digitName(s),class:"input",disabled:this.isDisabled(),maxlength:1,onKeyDown:this.handleKeyDown,onPaste:this.handlePaste,value:null!==(e=this.digits[s])&&void 0!==e?e:""})})))}static get formAssociated(){return!0}get element(){return e(this)}static get watchers(){return{value:[{valueChanged:0}]}}};d.style="@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),mds-input: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:inline-flex;gap:calc(var(--spacing,.0025rem)*400)}.input{width:calc(var(--spacing,.0025rem)*1200)}.input::part(field){text-align:center}.input::part(tip-count),.input::part(tip-top){display:none}";export{d as mds_input_otp}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as e,h as a,e as t,g as i}from"./p-CPRkNQdE.js";import{L as s}from"./p-BmT_DEV2.js";import"./p-C25F_FlB.js";var o={reloadPageToSeeChanges:"Πρέπει να ανανεώσετε τη σελίδα για να δείτε όλες τις αλλαγές, διαφορετικά θα είναι ορατές μόνο για τα πρόσφατα μεταφορτωμένα στοιχεία."},n={reloadPageToSeeChanges:"You must refresh the page to see all changes, or they will only be visible for new items uploaded."},r={reloadPageToSeeChanges:"Es necesario actualizar la página para ver todos los cambios, o solo serán visibles para los nuevos elementos cargados."},d={reloadPageToSeeChanges:"È necessario aggiornare la pagina per vedere tutti i cambiamenti, oppure saranno visibili solo per i nuovi elementi caricati."};const l=new Set,h=class{constructor(a){e(this,a),this.showReload=!1,this.prefNeedsReload=["consumption","language"],this.loaded=!1,this.t=new s({el:o,en:n,es:r,it:d}),this.sizeChildren=e=>{Array.from(this.host.querySelectorAll("*")).filter((e=>e.tagName.toLowerCase().startsWith("mds-pref-"))).forEach((a=>{a.size=e}))},this.applySize=()=>{void 0!==this.size&&this.sizeChildren(this.size)},this.applySchemeLock=e=>{const a=this.host.querySelector("mds-pref-mode");a&&(a.lockedScheme="light"===e||"dark"===e?e:void 0)},this.applyInitialSchemeLock=()=>{const e=this.host.querySelector("mds-pref-theme");this.applySchemeLock(null==e?void 0:e.scheme)}}handleControllerChange(e){!1===e&&(this.controller=void 0)}handleSizeChange(e){this.sizeChildren(e)}componentWillLoad(){this.applySize()}connectedCallback(){var e;l.add(this.host),"undefined"!=typeof window&&(null===(e=document.documentElement)||void 0===e||e.setAttribute("data-magma-pref",""))}componentDidLoad(){this.loaded=!0,this.applyInitialSchemeLock()}disconnectedCallback(){var e;this.host.isConnected||(l.delete(this.host),"undefined"!=typeof window&&0===l.size&&(null===(e=document.documentElement)||void 0===e||e.removeAttribute("data-magma-pref")))}handlePrefChange(e){var a;this.loaded&&!this.controller&&this.prefNeedsReload.includes(null===(a=e.detail)||void 0===a?void 0:a.preference)&&(this.showReload=!0)}handleThemeChange(e){var a;this.applySchemeLock(null===(a=e.detail)||void 0===a?void 0:a.scheme)}render(){return a(t,{key:"5b69ed67ebf12ceee2c010795b6b8fb01ede21c0"},a("slot",{key:"4d059f4ba6e4cd74bd0387d3fa59909c4a80590b",onSlotchange:this.applySize}),this.showReload&&a("div",{key:"998c080264836779c2bdeb8ef0d6551c32421a01",class:"reload-required"},a("mds-text",{key:"d36aee958b2662e46570cfebee882d0cfe4d751f",typography:"caption"},this.t.get("reloadPageToSeeChanges"))))}get host(){return i(this)}static get watchers(){return{controller:[{handleControllerChange:0}],size:[{handleSizeChange:0}]}}};h.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{display:grid;gap:calc(var(--spacing,.0025rem)*400)}:host(:empty),:host([controller]){display:none}.reload-required{display:grid;gap:calc(var(--spacing,.0025rem)*200)}";export{h as mds_pref}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as a,h as t,e as r}from"./p-CPRkNQdE.js";import{p as e}from"./p-C25F_FlB.js";const o=class{constructor(t){a(this,t)}render(){return t(r,{key:"5e918bf491f104a62a39beeeaa8f5ffde267928a",role:"rowgroup","pref-animation":e.state.animation},t("slot",{key:"2a0b4df364406f5461136b670e63394df7202c29"}))}};o.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{--tw-ease:initial}}}:host(:not(:is([hydrated],.hydrated))),mds-table-row: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-body-background-hover:var(--mds-table-background-alt,rgb(var(--magma-surface-raised,var(--surface-neutral-raised,248 248 248))));--mds-table-body-background:var(--mds-table-background,rgb(var(--magma-surface-default,var(--surface-neutral-default,242 242 242))));--mds-table-body-background-alt:var(--mds-table-body-background-hover);--mds-table-body-color-alt:var(--mds-table-color-alt,rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73))));--mds-table-body-color:var(--mds-table-color,rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))));--mds-table-row-background:var(--mds-table-body-background,rgb(var(--magma-surface-default,var(--surface-neutral-default,242 242 242))));--mds-table-row-color:var(--mds-table-body-color,rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))));--mds-table-body-transition-duration:var(--duration-200,.2s);--private-table-body-transition-duration:var(--mds-table-body-transition-duration);--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1));background-color:var(--mds-table-body-background,rgb(var(--magma-surface-default,var(--surface-neutral-default,242 242 242))));display:table-row-group;overflow:hidden;transition-duration:var(--private-table-body-transition-duration);transition-property:background-color;transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1))}:host(:last-of-type) ::slotted(:last-of-type){--private-cell-border-color:#0000}:host([interactive]:hover){--mds-table-row-background:var(--mds-table-body-background-hover);--mds-table-row-color:var(--mds-table-body-color-alt,rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73))))}:host([selection]){--mds-table-body-background:var(--mds-table-body-background-alt,rgb(var(--magma-surface-raised,var(--surface-neutral-raised,248 248 248))))}:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host([pref-animation=reduce]){--private-table-body-transition-duration:0s}@property --tw-ease{syntax:"*";inherits:false}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-table-body-transition-duration:0s}}';export{o as mds_table_body}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,h as i,e as s,g as o}from"./p-CPRkNQdE.js";const e=t=>{var i;const s=null!==(i=t.duration)&&void 0!==i?i:0;return 0!==s&&!Number.isNaN(s)},a=class{constructor(i){t(this,i),this.shown=[],this.position="bottom-center",this.max=3,this.limit=()=>Number.isInteger(this.max)&&this.max>0?this.max:3,this.toasts=()=>Array.from(this.host.querySelectorAll("mds-toast")),this.update=()=>{const t=this.toasts();t.forEach((t=>{t.position!==this.position&&(t.position=this.position)}));const i=t.filter((t=>!!t.visible));this.shown=this.shown.filter((t=>i.includes(t)));const s=i.filter((t=>!this.shown.includes(t)));if(this.shown.push(...s),0===s.length)return;let o=this.shown.length-this.limit();for(const t of this.shown.filter((t=>!s.includes(t)))){if(o<=0)break;e(t)&&(t.visible=!1,o-=1)}this.shown=this.shown.filter((t=>t.visible))},this.observe=()=>{var t;"undefined"!=typeof MutationObserver&&(null===(t=this.observer)||void 0===t||t.disconnect(),this.observer=new MutationObserver(this.update),this.observer.observe(this.host,{attributeFilter:["visible"],childList:!0,subtree:!0}))},this.checkMax=t=>{null==t||Number.isInteger(t)&&t>0||console.warn(`mds-toast-region: ignoring the invalid max "${t}", using 3`)}}connectedCallback(){this.observe()}disconnectedCallback(){var t;null===(t=this.observer)||void 0===t||t.disconnect(),this.observer=void 0}componentWillLoad(){this.checkMax(this.max)}componentDidLoad(){this.update()}positionChanged(){this.update()}maxChanged(t){this.checkMax(t),this.update()}render(){return i(s,{key:"098e53f02216610eecc7994a704e20113fc9a5cb",role:"status","aria-live":"polite","aria-atomic":"false"},i("slot",{key:"5bdfcac941c9828783fb8baaa8b2222098d0d561"}))}get host(){return o(this)}static get watchers(){return{position:[{positionChanged:0}],max:[{maxChanged:0}]}}};a.style="@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{--mds-toast-region-gap:calc(var(--spacing,.0025rem)*200);bottom:0;display:flex;flex-direction:column;gap:var(--mds-toast-region-gap,calc(var(--spacing,.0025rem)*200));left:0;pointer-events:none;position:fixed;right:0;z-index:var(--magma-modal-z-index,3000)}:host([position^=top]){bottom:auto;flex-direction:column-reverse;top:0}";export{a as mds_toast_region}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
System.register(["./p-CmzGV0XD.system.js","./p-C61qxZLH.system.js","./p-D9J8lbUv.system.js","./p-C1ailvfu.system.js","./p-D8596ytD.system.js"],(function(e){"use strict";var o,r,a,t,l,n,s,b,d;return{setters:[function(e){o=e.r;r=e.d;a=e.h;t=e.e;l=e.g},function(e){n=e.m},function(e){s=e.K},function(e){b=e.L},function(e){d=e.p}],execute:function(){var i="Αφαίρεση";var c={deleteLabel:i};var m="Remove";var g={deleteLabel:m};var v="Eliminar";var h={deleteLabel:v};var u="Rimuovi";var f={deleteLabel:u};var p=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))),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}:host{--mds-note-background:rgb(var(--label-yellow-10,253 236 186));--mds-note-color:rgb(var(--label-yellow-02,87 67 3));--mds-note-fold-color:rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237)));--mds-note-fold-size:40px;--mds-note-selection-background:var(--magma-selection-background,rgb(var(--label-sky-09,185 231 251)));--mds-note-selection-color:var(--magma-selection-color,rgb(var(--label-sky-01,4 48 68)));--mds-note-transition-duration:var(--duration-300,.3s);--private-note-transition-duration:var(--mds-note-transition-duration);--tw-ease:var(--ease-in-out,cubic-bezier(.4,0,.2,1));background-color:var(--mds-note-background,rgb(var(--label-yellow-10,253 236 186)));border-radius:var(--magma-radius-3xs,var(--radius-squircle-3xs,6px));color:var(--mds-note-color,rgb(var(--label-yellow-02,87 67 3)));transition-timing-function:var(--ease-in-out,cubic-bezier(.4,0,.2,1));corner-shape:var(--magma-corner-shape,squircle);display:grid;gap:calc(var(--spacing,.0025rem)*200);overflow:hidden;padding:calc(var(--spacing,.0025rem)*600);position:relative;transition-duration:var(--private-note-transition-duration);transition-property:color,background-color}:host ::slotted(mds-text){--mds-text-selection-background:var(--mds-note-selection-background,var(--magma-selection-background,rgb(var(--label-sky-09,185 231 251))));--mds-text-selection-color:var(--mds-note-selection-color,var(--magma-selection-color,rgb(var(--label-sky-01,4 48 68))))}:host([deletable]:not([deletable=false])){padding-right:calc(var(--spacing,.0025rem)*1600)}:host([deletable]:not([deletable=false])) .button-close{position:absolute;right:calc(var(--spacing,.0025rem)*400);top:calc(var(--spacing,.0025rem)*400)}.fold{border-color:#0000 #0000 var(--mds-note-fold-color,rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237)))) #0000;border-style:solid;border-width:0 0 var(--mds-note-fold-size,40px) var(--mds-note-fold-size,40px);bottom:0;display:block;filter:drop-shadow(0 0 var(--mds-note-fold-size,40px) var(--mds-note-color,rgb(var(--label-yellow-02,87 67 3))));height:0;opacity:.4;pointer-events:none;position:absolute;right:0;transition-duration:inherit;transition-property:border;width:0}.button-close{--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1));background-color:#0000;border-radius:var(--magma-radius-full,var(--radius-full,1000px));cursor:pointer;fill:var(--mds-note-color,rgb(var(--label-yellow-02,87 67 3)));padding:calc(var(--spacing,.0025rem)*100);transition-duration:var(--duration-200,.2s);transition-property:background-color,fill,outline,outline-offset;transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1))}.button-close:hover{background-color:rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255))/.5)}:host([variant=amaranth]){--mds-note-background:rgb(var(--label-amaranth-09,253 214 221));--mds-note-color:rgb(var(--label-amaranth-02,131 8 29));--mds-note-selection-background:rgb(var(--label-amaranth-08,252 197 207));--mds-note-selection-color:rgb(var(--label-amaranth-04,213 12 47))}:host([variant=aqua]){--mds-note-background:rgb(var(--label-aqua-09,151 237 252));--mds-note-color:rgb(var(--label-aqua-02,2 75 88));--mds-note-selection-background:rgb(var(--label-aqua-08,99 229 251));--mds-note-selection-color:rgb(var(--label-aqua-04,4 122 143))}:host([variant=blue]){--mds-note-background:rgb(var(--label-blue-09,216 222 254));--mds-note-color:rgb(var(--label-blue-02,7 39 192));--mds-note-selection-background:rgb(var(--label-blue-08,200 210 253));--mds-note-selection-color:rgb(var(--label-blue-04,63 94 248))}:host([variant=green]){--mds-note-background:rgb(var(--label-green-09,165 240 193));--mds-note-color:rgb(var(--label-green-02,14 80 38));--mds-note-selection-background:rgb(var(--label-green-08,125 232 164));--mds-note-selection-color:rgb(var(--label-green-04,22 128 61))}:host([variant=lime]){--mds-note-background:rgb(var(--label-lime-09,189 239 111));--mds-note-color:rgb(var(--label-lime-02,49 76 8));--mds-note-selection-background:rgb(var(--label-lime-08,159 232 46));--mds-note-selection-color:rgb(var(--label-lime-04,81 124 13))}:host([variant=orange]){--mds-note-background:rgb(var(--label-orange-09,253 217 191));--mds-note-color:rgb(var(--label-orange-02,114 48 3));--mds-note-selection-background:rgb(var(--label-orange-08,253 201 166));--mds-note-selection-color:rgb(var(--label-orange-04,185 78 5))}:host([variant=orchid]){--mds-note-background:rgb(var(--label-orchid-09,251 213 232));--mds-note-color:rgb(var(--label-orchid-02,127 13 70));--mds-note-selection-background:rgb(var(--label-orchid-08,249 197 223));--mds-note-selection-color:rgb(var(--label-orchid-04,206 21 113))}:host([variant=purple]){--mds-note-background:rgb(var(--label-purple-09,235 216 253));--mds-note-color:rgb(var(--label-purple-02,90 8 168));--mds-note-selection-background:rgb(var(--label-purple-08,228 202 252));--mds-note-selection-color:rgb(var(--label-purple-04,150 51 245))}:host([variant=red]){--mds-note-background:rgb(var(--label-red-09,250 215 215));--mds-note-color:rgb(var(--label-red-02,131 17 17));--mds-note-selection-background:rgb(var(--label-red-08,248 201 201));--mds-note-selection-color:rgb(var(--label-red-04,212 28 28))}:host([variant=sky]){--mds-note-background:rgb(var(--label-sky-09,185 231 251));--mds-note-color:rgb(var(--label-sky-02,6 73 104));--mds-note-selection-background:rgb(var(--label-sky-08,157 220 249));--mds-note-selection-color:rgb(var(--label-sky-04,10 118 167))}:host([variant=violet]){--mds-note-background:rgb(var(--label-violet-09,229 218 253));--mds-note-color:rgb(var(--label-violet-02,65 11 190));--mds-note-selection-background:rgb(var(--label-violet-08,219 205 252));--mds-note-selection-color:rgb(var(--label-violet-04,126 73 245))}:host([variant=yellow]){--mds-note-background:rgb(var(--label-yellow-09,251 221 131));--mds-note-color:rgb(var(--label-yellow-02,87 67 3));--mds-note-selection-background:rgb(var(--label-yellow-08,249 207 78));--mds-note-selection-color:rgb(var(--label-yellow-04,141 107 5))}:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host([pref-animation=reduce]){--private-note-transition-duration:0s}:host([pref-mode=dark]:not([pref-theme-scheme=light])){box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset}:host([pref-mode=dark]:not([pref-theme-scheme=light])):host([variant=amaranth]){--mds-note-background:rgb(var(--label-amaranth-08,252 197 207));--mds-note-fold-color:rgb(var(--label-amaranth-06,248 138 157));--mds-note-color:rgb(var(--label-amaranth-02,131 8 29));--mds-note-selection-background:rgb(var(--label-amaranth-07,250 170 183));--mds-note-selection-color:rgb(var(--label-amaranth-03,170 10 37))}:host([pref-mode=dark]:not([pref-theme-scheme=light])):host([variant=aqua]){--mds-note-background:rgb(var(--label-aqua-08,99 229 251));--mds-note-fold-color:rgb(var(--label-aqua-06,6 186 217));--mds-note-color:rgb(var(--label-aqua-02,2 75 88));--mds-note-selection-background:rgb(var(--label-aqua-07,7 208 243));--mds-note-selection-color:rgb(var(--label-aqua-03,3 97 114))}:host([pref-mode=dark]:not([pref-theme-scheme=light])):host([variant=blue]){--mds-note-background:rgb(var(--label-blue-08,200 210 253));--mds-note-fold-color:rgb(var(--label-blue-06,149 166 251));--mds-note-color:rgb(var(--label-blue-02,7 39 192));--mds-note-selection-background:rgb(var(--label-blue-07,175 189 252));--mds-note-selection-color:rgb(var(--label-blue-03,11 51 246))}:host([pref-mode=dark]:not([pref-theme-scheme=light])):host([variant=green]){--mds-note-background:rgb(var(--label-green-08,125 232 164));--mds-note-fold-color:rgb(var(--label-green-06,34 195 93));--mds-note-color:rgb(var(--label-green-02,14 80 38));--mds-note-selection-background:rgb(var(--label-green-07,44 218 108));--mds-note-selection-color:rgb(var(--label-green-03,18 103 49))}:host([pref-mode=dark]:not([pref-theme-scheme=light])):host([variant=lime]){--mds-note-background:rgb(var(--label-lime-08,159 232 46));--mds-note-fold-color:rgb(var(--label-lime-06,123 189 20));--mds-note-color:rgb(var(--label-lime-02,49 76 8));--mds-note-selection-background:rgb(var(--label-lime-07,137 211 23));--mds-note-selection-color:rgb(var(--label-lime-03,64 99 11))}:host([pref-mode=dark]:not([pref-theme-scheme=light])):host([variant=orange]){--mds-note-background:rgb(var(--label-orange-08,253 201 166));--mds-note-fold-color:rgb(var(--label-orange-06,250 143 69));--mds-note-color:rgb(var(--label-orange-02,114 48 3));--mds-note-selection-background:rgb(var(--label-orange-07,252 174 121));--mds-note-selection-color:rgb(var(--label-orange-03,147 63 4))}:host([pref-mode=dark]:not([pref-theme-scheme=light])):host([variant=orchid]){--mds-note-background:rgb(var(--label-orchid-08,249 197 223));--mds-note-fold-color:rgb(var(--label-orchid-06,243 137 189));--mds-note-color:rgb(var(--label-orchid-02,127 13 70));--mds-note-selection-background:rgb(var(--label-orchid-07,246 169 207));--mds-note-selection-color:rgb(var(--label-orchid-03,165 17 90))}:host([pref-mode=dark]:not([pref-theme-scheme=light])):host([variant=sky]){--mds-note-background:rgb(var(--label-sky-08,157 220 249));--mds-note-fold-color:rgb(var(--label-sky-06,47 182 243));--mds-note-color:rgb(var(--label-sky-02,6 73 104));--mds-note-selection-background:rgb(var(--label-sky-07,106 203 246));--mds-note-selection-color:rgb(var(--label-sky-03,8 94 133))}:host([pref-mode=dark]:not([pref-theme-scheme=light])):host([variant=violet]){--mds-note-background:rgb(var(--label-violet-08,219 205 252));--mds-note-fold-color:rgb(var(--label-violet-06,184 156 250));--mds-note-color:rgb(var(--label-violet-02,65 11 190));--mds-note-selection-background:rgb(var(--label-violet-07,202 181 251));--mds-note-selection-color:rgb(var(--label-violet-03,87 20 242))}:host([pref-mode=dark]:not([pref-theme-scheme=light])):host([variant=yellow]){--mds-note-background:rgb(var(--label-yellow-08,249 207 78));--mds-note-fold-color:rgb(var(--label-yellow-06,214 163 7));--mds-note-color:rgb(var(--label-yellow-02,87 67 3));--mds-note-selection-background:rgb(var(--label-yellow-07,239 183 8));--mds-note-selection-color:rgb(var(--label-yellow-03,112 85 4))}:host([pref-contrast=more]){box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset}:host([pref-contrast=more]) .fold{bottom:calc(var(--spacing,.0025rem)*50);right:calc(var(--spacing,.0025rem)*50)}@property --tw-ease{syntax:"*";inherits:false}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-note-transition-duration:0s}}@media (prefers-color-scheme:dark){:host(:not([pref-mode])),:host([pref-mode=system]:not([pref-theme-scheme=light])){box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))):host([variant=amaranth]){--mds-note-background:rgb(var(--label-amaranth-08,252 197 207));--mds-note-fold-color:rgb(var(--label-amaranth-06,248 138 157));--mds-note-color:rgb(var(--label-amaranth-02,131 8 29));--mds-note-selection-background:rgb(var(--label-amaranth-07,250 170 183));--mds-note-selection-color:rgb(var(--label-amaranth-03,170 10 37))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))):host([variant=aqua]){--mds-note-background:rgb(var(--label-aqua-08,99 229 251));--mds-note-fold-color:rgb(var(--label-aqua-06,6 186 217));--mds-note-color:rgb(var(--label-aqua-02,2 75 88));--mds-note-selection-background:rgb(var(--label-aqua-07,7 208 243));--mds-note-selection-color:rgb(var(--label-aqua-03,3 97 114))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))):host([variant=blue]){--mds-note-background:rgb(var(--label-blue-08,200 210 253));--mds-note-fold-color:rgb(var(--label-blue-06,149 166 251));--mds-note-color:rgb(var(--label-blue-02,7 39 192));--mds-note-selection-background:rgb(var(--label-blue-07,175 189 252));--mds-note-selection-color:rgb(var(--label-blue-03,11 51 246))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))):host([variant=green]){--mds-note-background:rgb(var(--label-green-08,125 232 164));--mds-note-fold-color:rgb(var(--label-green-06,34 195 93));--mds-note-color:rgb(var(--label-green-02,14 80 38));--mds-note-selection-background:rgb(var(--label-green-07,44 218 108));--mds-note-selection-color:rgb(var(--label-green-03,18 103 49))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))):host([variant=lime]){--mds-note-background:rgb(var(--label-lime-08,159 232 46));--mds-note-fold-color:rgb(var(--label-lime-06,123 189 20));--mds-note-color:rgb(var(--label-lime-02,49 76 8));--mds-note-selection-background:rgb(var(--label-lime-07,137 211 23));--mds-note-selection-color:rgb(var(--label-lime-03,64 99 11))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))):host([variant=orange]){--mds-note-background:rgb(var(--label-orange-08,253 201 166));--mds-note-fold-color:rgb(var(--label-orange-06,250 143 69));--mds-note-color:rgb(var(--label-orange-02,114 48 3));--mds-note-selection-background:rgb(var(--label-orange-07,252 174 121));--mds-note-selection-color:rgb(var(--label-orange-03,147 63 4))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))):host([variant=orchid]){--mds-note-background:rgb(var(--label-orchid-08,249 197 223));--mds-note-fold-color:rgb(var(--label-orchid-06,243 137 189));--mds-note-color:rgb(var(--label-orchid-02,127 13 70));--mds-note-selection-background:rgb(var(--label-orchid-07,246 169 207));--mds-note-selection-color:rgb(var(--label-orchid-03,165 17 90))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))):host([variant=sky]){--mds-note-background:rgb(var(--label-sky-08,157 220 249));--mds-note-fold-color:rgb(var(--label-sky-06,47 182 243));--mds-note-color:rgb(var(--label-sky-02,6 73 104));--mds-note-selection-background:rgb(var(--label-sky-07,106 203 246));--mds-note-selection-color:rgb(var(--label-sky-03,8 94 133))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))):host([variant=violet]){--mds-note-background:rgb(var(--label-violet-08,219 205 252));--mds-note-fold-color:rgb(var(--label-violet-06,184 156 250));--mds-note-color:rgb(var(--label-violet-02,65 11 190));--mds-note-selection-background:rgb(var(--label-violet-07,202 181 251));--mds-note-selection-color:rgb(var(--label-violet-03,87 20 242))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))):host([variant=yellow]){--mds-note-background:rgb(var(--label-yellow-08,249 207 78));--mds-note-fold-color:rgb(var(--label-yellow-06,214 163 7));--mds-note-color:rgb(var(--label-yellow-02,87 67 3));--mds-note-selection-background:rgb(var(--label-yellow-07,239 183 8));--mds-note-selection-color:rgb(var(--label-yellow-03,112 85 4))}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))) .fold{bottom:calc(var(--spacing,.0025rem)*50);right:calc(var(--spacing,.0025rem)*50)}}'};var k=e("mds_note",/** @class */function(){function e(e){var a=this;o(this,e);this.deleteEvent=r(this,"mdsNoteDelete",7);this.km=new s;this.t=new b({el:c,en:g,es:h,it:f});
|
|
2
|
+
/**
|
|
3
|
+
* Enables the cross icon to perform cancel/delete action on element
|
|
4
|
+
*/this.deletable=false;
|
|
5
|
+
/**
|
|
6
|
+
* Specifies the color variant for the element
|
|
7
|
+
*/this.variant="yellow";this.onClickClose=function(){a.deleteEvent.emit()};
|
|
8
|
+
// Enter clicks the note only while it can be deleted: it was attached on load whatever
|
|
9
|
+
// `deletable` said, and taken off only by the next update
|
|
10
|
+
this.syncClickBehavior=function(){if(a.deletable){a.km.addElement(a.host);a.km.attachClickBehavior();return}a.km.detachClickBehavior()}}e.prototype.componentDidLoad=function(){this.syncClickBehavior()};e.prototype.componentDidUpdate=function(){this.syncClickBehavior()};e.prototype.disconnectedCallback=function(){this.km.detachClickBehavior()};e.prototype.render=function(){return a(t,{key:"afc4f6edaa1335d3fa8f423868a7360123ddd092",role:"note","pref-animation":d.state.animation,"pref-contrast":d.state.contrast,"pref-mode":d.state.mode,"pref-theme-scheme":d.state["theme-scheme"]},this.deletable&&a("mds-button",{key:"14c72715f75fbe34ecbce103857344c5b8c156c7",title:this.t.get("deleteLabel"),icon:n,class:"button-close",variant:"dark",tone:"text",onClick:this.onClickClose}),a("slot",{key:"3aee270bd7e583869d0804597c2d87380f274a7b",name:"title"}),a("slot",{key:"151050ec4554c2bfd050806226abf3de06f92b13"}),a("div",{key:"fe68e569f2f7571dcb0c565e030a5c1683647e39","aria-hidden":"true",class:"fold"}))};Object.defineProperty(e.prototype,"host",{get:function(){return l(this)},enumerable:false,configurable:true});return e}());k.style=p()}}}));
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
System.register(["./p-CmzGV0XD.system.js","./p-C1ailvfu.system.js","./p-D8596ytD.system.js"],(function(t){"use strict";var e,i,s,a,o,n;return{setters:[function(t){e=t.r;i=t.d;s=t.h;a=t.e},function(t){o=t.L},function(t){n=t.p}],execute:function(){var r='<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 m='<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 c='<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 u="Μεσαία";var f="Κατανάλωση";var h={consumptionHigh:d,consumptionLow:l,consumptionMedium:u,label:f};var v="High";var g="Low";var p="Medium";var b="Consumption";var w={consumptionHigh:v,consumptionLow:g,consumptionMedium:p,label:b};var x="Alto";var y="Bajo";var C="Medio";var M="Consumo";var A={consumptionHigh:x,consumptionLow:y,consumptionMedium:C,label:M};var k="Alto";var H="Basso";var j="Medio";var L="Consumo";var B={consumptionHigh:k,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)*200)}.item{--mds-tab-item-default-color:rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119)));flex-basis:0;flex-grow:1}.item--high{--mds-tab-item-selected-color:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)))}.item--medium{--mds-tab-item-selected-color:rgb(var(--magma-warning-emphasis,var(--status-warning-04,142 106 0)))}.item--low{--mds-tab-item-selected-color:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)))}:host([pref-contrast=more]) .item{--mds-tab-item-default-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}:host([pref-contrast=more]) .item--high{--mds-tab-item-default-color:rgb(var(--magma-danger-text-default,var(--text-error-default,89 0 0)))}:host([pref-contrast=more]) .item--medium{--mds-tab-item-default-color:rgb(var(--magma-warning-text-default,var(--text-warning-default,58 44 0)))}:host([pref-contrast=more]) .item--low{--mds-tab-item-default-color:rgb(var(--magma-success-text-default,var(--text-success-default,0 53 0)))}@media (prefers-contrast:more){:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))) .item{--mds-tab-item-default-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))) .item--high{--mds-tab-item-default-color:rgb(var(--magma-danger-text-default,var(--text-error-default,89 0 0)))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))) .item--medium{--mds-tab-item-default-color:rgb(var(--magma-warning-text-default,var(--text-warning-default,58 44 0)))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))) .item--low{--mds-tab-item-default-color:rgb(var(--magma-success-text-default,var(--text-success-default,0 53 0)))}}"};var D=t("mds_pref_consumption",/** @class */function(){function t(t){var s=this;e(this,t);this.prefChangeEvent=i(this,"mdsPrefChange",7);this.localStorageAlias="mdsPrefConsumption";this.customPropertyAlias="--magma-pref-consumption";this.defaultMode="high";this.syncingFromStore=false;this.t=new o({el:h,en:w,es:A,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.isMode=function(t){return t!=null&&{}.hasOwnProperty.call(s.consumption,t)};this.warnInvalidMode=function(t){console.warn('mds-pref-consumption: ignoring the invalid mode "'.concat(t,'", use one of: ').concat(Object.keys(s.consumption).join(", ")))};
|
|
2
|
+
/**
|
|
3
|
+
* Follows a consumption applied elsewhere (another instance, or a writer of the
|
|
4
|
+
* `<html>` classes) without applying it again: no event, no storage write.
|
|
5
|
+
*/this.syncConsumption=function(t){if(t===undefined||t===s.mode){return}s.syncingFromStore=true;s.mode=t;s.appliedMode=t;s.syncingFromStore=false};
|
|
6
|
+
/**
|
|
7
|
+
* Applies a consumption once per change, and announces it once applied: the `mode` watcher
|
|
8
|
+
* calls this again for the value it has just been given, which used to emit a second
|
|
9
|
+
* mdsPrefChange, and the first application, the one of load, is no change to announce.
|
|
10
|
+
*/this.setConsumption=function(t){if(t===s.appliedMode){s.mode=t;return}var e=s.appliedMode===undefined;s.appliedMode=t;s.mode=t;localStorage.setItem(s.localStorageAlias,s.mode);if(typeof document!=="undefined"){var i=document.querySelector("html");for(var a in s.consumption){if({}.hasOwnProperty.call(s.consumption,a)){i===null||i===void 0?void 0:i.classList.remove(s.consumption[a].selector)}}i===null||i===void 0?void 0:i.classList.add(s.consumption[s.mode].selector);i===null||i===void 0?void 0:i.style.setProperty(s.customPropertyAlias,s.mode)}n.state.consumption=t;if(!e){s.prefChangeEvent.emit({preference:"consumption"})}};this.handleModeClick=function(t){return function(){s.setConsumption(t)}}}
|
|
11
|
+
// Applied once, on load, then mirrored from the shared store (see mds-pref-mode). A mode
|
|
12
|
+
// outside the union is ignored, and one an earlier page left in the storage is dropped: it was
|
|
13
|
+
// applied, threw, and broke every following load too (#825)
|
|
14
|
+
t.prototype.componentWillLoad=function(){var t;if(this.mode!=null&&!this.isMode(this.mode))this.warnInvalidMode(this.mode);var e=localStorage.getItem(this.localStorageAlias);if(e!==null&&!this.isMode(e))localStorage.removeItem(this.localStorageAlias);this.setConsumption((t=[this.mode,e].find(this.isMode))!==null&&t!==void 0?t:this.defaultMode)};t.prototype.connectedCallback=function(){this.unsubscribeStore=n.onChange("consumption",this.syncConsumption)};t.prototype.disconnectedCallback=function(){var t;(t=this.unsubscribeStore)===null||t===void 0?void 0:t.call(this)};t.prototype.modeChanged=function(t){if(this.syncingFromStore){return}
|
|
15
|
+
// a mode outside the union, or the attribute removed, is not applied: the instance goes back
|
|
16
|
+
// to the consumption of the page
|
|
17
|
+
if(!this.isMode(t)){if(t!=null)this.warnInvalidMode(t);this.syncConsumption(n.state.consumption);return}this.setConsumption(t)};t.prototype.render=function(){var t;return s(a,{key:"8cefd0a0898e2865f7c3262cdf1b7d4cff70ca48","pref-contrast":n.state.contrast},s("mds-text",{key:"d87939dcf15a0f3e4f217c97fafb6dc6564cee5b",class:"info",typography:"caption"},s("b",{key:"205fe30173dec1c6a63b4dd2bf008d7edcea2900"},this.t.get("label"))," ",this.t.get(this.consumption[(t=this.mode)!==null&&t!==void 0?t:this.defaultMode].label)),s("mds-tab",{key:"6e87fd04f67fb8ca65a41469d8690cb7d6225fcd",fill:true,size:this.size},s("mds-tab-item",{key:"cec3f2a522431fe305489abb616afa87e52f8540",selected:this.mode==="low",onClick:this.handleModeClick("low"),class:"item item--low",icon:r,title:this.t.get(this.consumption.low.label)}),s("mds-tab-item",{key:"c92c93637404a8391c1e7b76b93e35dfaf420612",selected:this.mode==="medium",onClick:this.handleModeClick("medium"),class:"item item--medium",icon:m,title:this.t.get(this.consumption.medium.label)}),s("mds-tab-item",{key:"6ffb2cc2f73ddd53e010376549e75f9e01f517a7",selected:this.mode==="high",onClick:this.handleModeClick("high"),class:"item item--high",icon:c,title:this.t.get(this.consumption.high.label)})))};Object.defineProperty(t,"watchers",{get:function(){return{mode:[{modeChanged:0}]}},enumerable:false,configurable:true});return t}());D.style=S()}}}));
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
System.register(["./p-CmzGV0XD.system.js","./p-D8596ytD.system.js","./p-BeNKMPXR.system.js"],(function(e){"use strict";var t,a,r,o,i,n;return{setters:[function(e){t=e.r;a=e.h;r=e.e;o=e.g},function(e){i=e.p},function(e){n=e.o}],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{--tw-ease:initial}}}:host(:not(:is([hydrated],.hydrated))),mds-separator: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-price-table-list-separator-color:rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73))/.5);--mds-price-table-list-transition-duration:var(--duration-200,.2s);--private-price-table-list-transition-duration:var(--mds-price-table-list-transition-duration);--tw-ease:var(--ease-in-out,cubic-bezier(.4,0,.2,1));background-color:rgb(var(--label-green-10,206 247 221));border-radius:var(--magma-radius-xl,var(--radius-squircle-xl,36px));transition-timing-function:var(--ease-in-out,cubic-bezier(.4,0,.2,1));corner-shape:var(--magma-corner-shape,squircle);display:grid;gap:calc(var(--spacing,.0025rem)*600);padding:calc(var(--spacing,.0025rem)*600);transition-duration:var(--private-price-table-list-transition-duration);transition-property:background-color,color}.separator{--tw-ease:var(--ease-in-out,cubic-bezier(.4,0,.2,1));background-color:var(--mds-price-table-list-separator-color,rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73))/.5));transition-duration:var(--private-price-table-list-transition-duration);transition-property:background-color;transition-timing-function:var(--ease-in-out,cubic-bezier(.4,0,.2,1))}.header,.main{display:grid}.main{gap:calc(var(--spacing,.0025rem)*300)}.footer{display:grid;gap:calc(var(--spacing,.0025rem)*400)}:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host([pref-animation=reduce]){--private-price-table-list-transition-duration:0s}:host([pref-mode=dark]:not([pref-theme-scheme=light])){--mds-price-table-list-separator-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))/.5);background-color:rgb(var(--label-green-09,165 240 193));box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3))}:host([pref-contrast=more]){--mds-price-table-list-separator-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))/.5);box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset;color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}@property --tw-ease{syntax:"*";inherits:false}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-price-table-list-transition-duration:0s}}@media (prefers-color-scheme:dark){:host(:not([pref-mode])),:host([pref-mode=system]:not([pref-theme-scheme=light])){--mds-price-table-list-separator-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))/.5);background-color:rgb(var(--label-green-09,165 240 193));box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3))}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){--mds-price-table-list-separator-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))/.5);box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset;color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}}'};var d=e("mds_price_table_list",/** @class */function(){function e(e){var a=this;t(this,e);
|
|
2
|
+
// The region of the items is rendered only with items, so no slotchange tells the list of the
|
|
3
|
+
// ones rendered after load, a page that fetches them (#826): it reads them again when its
|
|
4
|
+
// content changes. The observer stays on the host when it moves, and goes with it.
|
|
5
|
+
this.updateItems=function(){a.hasItems=a.hostElement.querySelectorAll('[slot="item"], mds-price-table-list-item').length>0}}e.prototype.componentWillLoad=function(){this.updateItems();n(this.hostElement,this.updateItems)};e.prototype.render=function(){return a(r,{key:"601cebefd295169a47aa96afd221db6ea4a70904","pref-animation":i.state.animation,"pref-contrast":i.state.contrast,"pref-mode":i.state.mode,"pref-theme-scheme":i.state["theme-scheme"]},a("div",{key:"87da18c7994577027dc2ee943c8f37de230e3591",class:"header",part:"header"},a("slot",{key:"512ba8c6721a54a115922c335d08b9d1d58538ec",name:"header"})),this.hasItems&&a("mds-separator",{key:"a21cf2a55b4ed41fa8f3af840c8e138676a7ee91",class:"separator"}),this.hasItems&&a("div",{key:"69522140ac3c5343c2ee4074691937610bd41c2f",class:"main",part:"content"},a("slot",{key:"442fbbe53150fcb135e9f442a8e5b8069c955ded",name:"item"})),a("div",{key:"a45774c2fa0f1381f20900dfb0e0ba784306b3b1",class:"footer",part:"footer"},a("slot",{key:"188e67207d4d71f9dffd9dabd60327823d2887c2",name:"price"}),a("slot",{key:"742c53165eaf70cd276f4c609ab159137ab5878f",name:"action"})))};Object.defineProperty(e.prototype,"hostElement",{get:function(){return o(this)},enumerable:false,configurable:true});return e}());d.style=s()}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as
|
|
1
|
+
import{r as e,h as o,e as r}from"./p-CPRkNQdE.js";const t=class{constructor(o){e(this,o)}render(){return o(r,{key:"09063cd00e75b0949a6836416a2c768bd575f50f",slot:"footer"},o("slot",{key:"c06e99b7186e4037aa5c386eddd2ebb404b20e99"}))}};t.style="@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;background-color:var(--mds-card-background);display:flex;flex-grow:1;gap:calc(var(--spacing,.0025rem)*400);justify-content:flex-end;min-width:0;padding:calc(var(--spacing,.0025rem)*400)}";export{t as mds_card_footer}
|