@maggioli-design-system/magma 2.0.1 → 2.2.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 +72 -0
- package/agents/anti-patterns.md +39 -0
- package/agents/assets.md +203 -0
- package/agents/color.md +193 -0
- package/agents/components.md +129 -0
- package/agents/conventions.md +188 -0
- package/agents/install.md +169 -0
- package/agents/reporting.md +118 -0
- package/agents/theming.md +140 -0
- package/agents/typography.md +32 -0
- package/agents/variants.md +112 -0
- package/dist/cjs/floating-controller-uOCBLTk2.js +369 -0
- package/dist/cjs/form-Bk2OHlHM.js +46 -0
- package/dist/cjs/index-MyEb-PfD.js +198 -0
- package/dist/cjs/index-UmmmCMIG.js +5184 -0
- package/dist/cjs/index.cjs.js +63 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/locale-CnorkBwF.js +816 -0
- package/dist/cjs/magma-components.cjs.js +2 -2
- package/dist/cjs/mds-accordion-item.cjs.entry.js +2 -2
- package/dist/cjs/mds-accordion-timer-item.cjs.entry.js +2 -2
- package/dist/cjs/mds-accordion-timer.cjs.entry.js +1 -1
- package/dist/cjs/mds-accordion.cjs.entry.js +2 -2
- package/dist/cjs/mds-author.cjs.entry.js +1 -1
- package/dist/cjs/mds-avatar-stack-item.cjs.entry.js +1 -1
- package/dist/cjs/mds-avatar-stack.cjs.entry.js +1 -1
- package/dist/cjs/mds-avatar.cjs.entry.js +2 -2
- package/dist/cjs/mds-badge.cjs.entry.js +2 -2
- package/dist/cjs/mds-banner_3.cjs.entry.js +6 -6
- package/dist/cjs/mds-benchmark-bar.cjs.entry.js +1 -1
- package/dist/cjs/mds-bibliography.cjs.entry.js +1 -1
- package/dist/cjs/mds-breadcrumb-item.cjs.entry.js +1 -1
- package/dist/cjs/mds-breadcrumb.cjs.entry.js +3 -3
- package/dist/cjs/mds-button-dropdown.cjs.entry.js +38 -4
- package/dist/cjs/mds-button-group.cjs.entry.js +2 -2
- package/dist/cjs/mds-button_3.cjs.entry.js +81 -28
- package/dist/cjs/mds-calendar_2.cjs.entry.js +7 -7
- 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 +2 -2
- package/dist/cjs/mds-card-media.cjs.entry.js +2 -2
- package/dist/cjs/mds-card.cjs.entry.js +3 -3
- package/dist/cjs/mds-details.cjs.entry.js +3 -3
- package/dist/cjs/mds-dropdown.cjs.entry.js +5 -5
- package/dist/cjs/mds-emoji.cjs.entry.js +3 -3
- package/dist/cjs/mds-entity.cjs.entry.js +3 -3
- package/dist/cjs/mds-file-preview.cjs.entry.js +5 -5
- package/dist/cjs/mds-file.cjs.entry.js +4 -4
- package/dist/cjs/mds-filter-item.cjs.entry.js +3 -3
- package/dist/cjs/mds-filter.cjs.entry.js +3 -3
- package/dist/cjs/mds-header-bar.cjs.entry.js +3 -3
- package/dist/cjs/mds-header.cjs.entry.js +3 -3
- package/dist/cjs/mds-horizontal-scroll.cjs.entry.js +2 -2
- package/dist/cjs/mds-hr.cjs.entry.js +3 -3
- package/dist/cjs/mds-img.cjs.entry.js +3 -3
- package/dist/cjs/mds-input-date-range-preselection.cjs.entry.js +2 -2
- package/dist/cjs/mds-input-date-range.cjs.entry.js +89 -9
- package/dist/cjs/mds-input-date.cjs.entry.js +124 -27
- package/dist/cjs/mds-input-field.cjs.entry.js +2 -2
- package/dist/cjs/mds-input-otp.cjs.entry.js +65 -19
- package/dist/cjs/mds-input-range.cjs.entry.js +32 -16
- package/dist/cjs/mds-input-select.cjs.entry.js +159 -30
- package/dist/cjs/mds-input-switch_2.cjs.entry.js +64 -22
- package/dist/cjs/mds-input-tip_2.cjs.entry.js +6 -6
- package/dist/cjs/mds-input-upload.cjs.entry.js +136 -67
- package/dist/cjs/mds-input.cjs.entry.js +320 -36
- package/dist/cjs/mds-keyboard-key.cjs.entry.js +4 -4
- package/dist/cjs/mds-keyboard.cjs.entry.js +4 -4
- package/dist/cjs/mds-kpi-item.cjs.entry.js +3 -3
- package/dist/cjs/mds-kpi.cjs.entry.js +2 -2
- package/dist/cjs/mds-label.cjs.entry.js +3 -3
- package/dist/cjs/mds-list-item.cjs.entry.js +3 -3
- package/dist/cjs/mds-list.cjs.entry.js +2 -2
- package/dist/cjs/mds-mention.cjs.entry.js +4 -4
- package/dist/cjs/mds-modal.cjs.entry.js +5 -5
- package/dist/cjs/mds-note.cjs.entry.js +4 -4
- package/dist/cjs/mds-notification.cjs.entry.js +3 -3
- package/dist/cjs/mds-paginator-item.cjs.entry.js +3 -3
- package/dist/cjs/mds-paginator.cjs.entry.js +3 -3
- package/dist/cjs/mds-policy-ai.cjs.entry.js +4 -4
- package/dist/cjs/mds-pref-animation.cjs.entry.js +29 -5
- package/dist/cjs/mds-pref-consumption.cjs.entry.js +29 -5
- package/dist/cjs/mds-pref-contrast.cjs.entry.js +27 -6
- package/dist/cjs/mds-pref-language-item.cjs.entry.js +4 -4
- package/dist/cjs/mds-pref-language.cjs.entry.js +4 -4
- package/dist/cjs/mds-pref-mode.cjs.entry.js +30 -7
- package/dist/cjs/mds-pref-theme-item.cjs.entry.js +2 -2
- package/dist/cjs/mds-pref-theme.cjs.entry.js +4 -4
- package/dist/cjs/mds-pref.cjs.entry.js +10 -5
- package/dist/cjs/mds-price-table-features-cell.cjs.entry.js +3 -3
- package/dist/cjs/mds-price-table-features-row.cjs.entry.js +3 -3
- package/dist/cjs/mds-price-table-features.cjs.entry.js +3 -3
- package/dist/cjs/mds-price-table-header.cjs.entry.js +2 -2
- package/dist/cjs/mds-price-table-list-item.cjs.entry.js +2 -2
- package/dist/cjs/mds-price-table-list.cjs.entry.js +3 -3
- package/dist/cjs/mds-price-table.cjs.entry.js +2 -2
- package/dist/cjs/mds-progress_2.cjs.entry.js +4 -4
- package/dist/cjs/mds-push-notification-item.cjs.entry.js +5 -5
- package/dist/cjs/mds-push-notification.cjs.entry.js +3 -3
- package/dist/cjs/mds-quote.cjs.entry.js +3 -3
- package/dist/cjs/mds-radial-menu-item.cjs.entry.js +2 -2
- package/dist/cjs/mds-radial-menu.cjs.entry.js +3 -3
- package/dist/cjs/mds-separator.cjs.entry.js +3 -3
- package/dist/cjs/mds-status-bar.cjs.entry.js +3 -3
- package/dist/cjs/mds-stepper-bar-item.cjs.entry.js +4 -4
- package/dist/cjs/mds-stepper-bar.cjs.entry.js +2 -2
- package/dist/cjs/mds-tab-bar-item.cjs.entry.js +3 -3
- package/dist/cjs/mds-tab-bar.cjs.entry.js +3 -3
- package/dist/cjs/mds-tab_2.cjs.entry.js +29 -7
- package/dist/cjs/mds-table-body.cjs.entry.js +3 -3
- package/dist/cjs/mds-table-footer.cjs.entry.js +3 -3
- package/dist/cjs/mds-table-header-cell.cjs.entry.js +3 -3
- package/dist/cjs/mds-table-header.cjs.entry.js +4 -4
- package/dist/cjs/mds-table-row.cjs.entry.js +24 -18
- package/dist/cjs/mds-table.cjs.entry.js +4 -4
- package/dist/cjs/mds-text.cjs.entry.js +3 -3
- package/dist/cjs/mds-toast.cjs.entry.js +3 -3
- package/dist/cjs/mds-tooltip.cjs.entry.js +4 -4
- package/dist/cjs/mds-tree-item.cjs.entry.js +4 -4
- package/dist/cjs/mds-tree.cjs.entry.js +2 -2
- package/dist/cjs/mds-url-view.cjs.entry.js +4 -4
- package/dist/cjs/mds-usage.cjs.entry.js +4 -4
- package/dist/cjs/mds-video-wall.cjs.entry.js +2 -2
- package/dist/cjs/mds-zero.cjs.entry.js +3 -3
- package/dist/cjs/preference-DRkzNp5a.js +389 -0
- package/dist/collection/common/form.js +24 -1
- package/dist/collection/common/navigation.js +60 -0
- package/dist/collection/common/validity/index.js +42 -0
- package/dist/collection/components/mds-accordion/AGENTS.md +65 -0
- package/dist/collection/components/mds-accordion/antipattern.md +123 -0
- package/dist/collection/components/mds-accordion/documentation.json +172 -0
- package/dist/collection/components/mds-accordion/pattern.md +150 -0
- package/dist/collection/components/mds-accordion-item/AGENTS.md +76 -0
- package/dist/collection/components/mds-accordion-item/antipattern.md +137 -0
- package/dist/collection/components/mds-accordion-item/documentation.json +288 -0
- package/dist/collection/components/mds-accordion-item/pattern.md +156 -0
- package/dist/collection/components/mds-accordion-timer/AGENTS.md +65 -0
- package/dist/collection/components/mds-accordion-timer/antipattern.md +133 -0
- package/dist/collection/components/mds-accordion-timer/documentation.json +168 -0
- package/dist/collection/components/mds-accordion-timer/pattern.md +137 -0
- package/dist/collection/components/mds-accordion-timer-item/AGENTS.md +82 -0
- package/dist/collection/components/mds-accordion-timer-item/antipattern.md +143 -0
- package/dist/collection/components/mds-accordion-timer-item/documentation.json +400 -0
- package/dist/collection/components/mds-accordion-timer-item/pattern.md +136 -0
- package/dist/collection/components/mds-author/AGENTS.md +40 -0
- package/dist/collection/components/mds-author/antipattern.md +106 -0
- package/dist/collection/components/mds-author/documentation.json +51 -0
- package/dist/collection/components/mds-author/pattern.md +101 -0
- package/dist/collection/components/mds-avatar/AGENTS.md +70 -0
- package/dist/collection/components/mds-avatar/antipattern.md +96 -0
- package/dist/collection/components/mds-avatar/documentation.json +362 -0
- package/dist/collection/components/mds-avatar/pattern.md +108 -0
- package/dist/collection/components/mds-avatar-stack/AGENTS.md +65 -0
- package/dist/collection/components/mds-avatar-stack/antipattern.md +122 -0
- package/dist/collection/components/mds-avatar-stack/documentation.json +196 -0
- package/dist/collection/components/mds-avatar-stack/pattern.md +125 -0
- package/dist/collection/components/mds-avatar-stack-item/AGENTS.md +60 -0
- package/dist/collection/components/mds-avatar-stack-item/antipattern.md +113 -0
- package/dist/collection/components/mds-avatar-stack-item/documentation.json +315 -0
- package/dist/collection/components/mds-avatar-stack-item/pattern.md +105 -0
- package/dist/collection/components/mds-badge/AGENTS.md +63 -0
- package/dist/collection/components/mds-badge/antipattern.md +104 -0
- package/dist/collection/components/mds-badge/documentation.json +316 -0
- package/dist/collection/components/mds-badge/pattern.md +130 -0
- package/dist/collection/components/mds-banner/AGENTS.md +87 -0
- package/dist/collection/components/mds-banner/antipattern.md +141 -0
- package/dist/collection/components/mds-banner/documentation.json +378 -0
- package/dist/collection/components/mds-banner/pattern.md +176 -0
- package/dist/collection/components/mds-benchmark-bar/AGENTS.md +59 -0
- package/dist/collection/components/mds-benchmark-bar/antipattern.md +77 -0
- package/dist/collection/components/mds-benchmark-bar/documentation.json +313 -0
- package/dist/collection/components/mds-benchmark-bar/pattern.md +102 -0
- package/dist/collection/components/mds-bibliography/AGENTS.md +61 -0
- package/dist/collection/components/mds-bibliography/antipattern.md +130 -0
- package/dist/collection/components/mds-bibliography/documentation.json +407 -0
- package/dist/collection/components/mds-bibliography/pattern.md +142 -0
- package/dist/collection/components/mds-breadcrumb/AGENTS.md +68 -0
- package/dist/collection/components/mds-breadcrumb/antipattern.md +112 -0
- package/dist/collection/components/mds-breadcrumb/documentation.json +156 -0
- package/dist/collection/components/mds-breadcrumb/pattern.md +103 -0
- package/dist/collection/components/mds-breadcrumb-item/AGENTS.md +67 -0
- package/dist/collection/components/mds-breadcrumb-item/antipattern.md +109 -0
- package/dist/collection/components/mds-breadcrumb-item/documentation.json +160 -0
- package/dist/collection/components/mds-breadcrumb-item/pattern.md +85 -0
- package/dist/collection/components/mds-button/AGENTS.md +102 -0
- package/dist/collection/components/mds-button/antipattern.md +144 -0
- package/dist/collection/components/mds-button/documentation.json +922 -0
- package/dist/collection/components/mds-button/mds-button.css +17 -1
- package/dist/collection/components/mds-button/mds-button.js +116 -24
- package/dist/collection/components/mds-button/pattern.md +198 -0
- package/dist/collection/components/mds-button-dropdown/AGENTS.md +88 -0
- package/dist/collection/components/mds-button-dropdown/antipattern.md +158 -0
- package/dist/collection/components/mds-button-dropdown/documentation.json +614 -0
- package/dist/collection/components/mds-button-dropdown/mds-button-dropdown.js +94 -6
- package/dist/collection/components/mds-button-dropdown/pattern.md +164 -0
- package/dist/collection/components/mds-button-group/AGENTS.md +33 -0
- package/dist/collection/components/mds-button-group/antipattern.md +105 -0
- package/dist/collection/components/mds-button-group/documentation.json +43 -0
- package/dist/collection/components/mds-button-group/mds-button-group.js +1 -1
- package/dist/collection/components/mds-button-group/pattern.md +89 -0
- package/dist/collection/components/mds-calendar/AGENTS.md +96 -0
- package/dist/collection/components/mds-calendar/antipattern.md +113 -0
- package/dist/collection/components/mds-calendar/documentation.json +626 -0
- package/dist/collection/components/mds-calendar/mds-calendar.js +4 -4
- package/dist/collection/components/mds-calendar/pattern.md +128 -0
- package/dist/collection/components/mds-calendar-cell/AGENTS.md +94 -0
- package/dist/collection/components/mds-calendar-cell/antipattern.md +58 -0
- package/dist/collection/components/mds-calendar-cell/documentation.json +539 -0
- package/dist/collection/components/mds-calendar-cell/mds-calendar-cell.js +1 -1
- package/dist/collection/components/mds-calendar-cell/pattern.md +82 -0
- package/dist/collection/components/mds-card/AGENTS.md +60 -0
- package/dist/collection/components/mds-card/antipattern.md +133 -0
- package/dist/collection/components/mds-card/documentation.json +117 -0
- package/dist/collection/components/mds-card/mds-card.js +1 -1
- package/dist/collection/components/mds-card/pattern.md +160 -0
- package/dist/collection/components/mds-card-content/AGENTS.md +34 -0
- package/dist/collection/components/mds-card-content/antipattern.md +110 -0
- package/dist/collection/components/mds-card-content/documentation.json +43 -0
- package/dist/collection/components/mds-card-content/mds-card-content.js +1 -1
- package/dist/collection/components/mds-card-content/pattern.md +91 -0
- package/dist/collection/components/mds-card-footer/AGENTS.md +34 -0
- package/dist/collection/components/mds-card-footer/antipattern.md +112 -0
- package/dist/collection/components/mds-card-footer/documentation.json +43 -0
- package/dist/collection/components/mds-card-footer/mds-card-footer.js +1 -1
- package/dist/collection/components/mds-card-footer/pattern.md +95 -0
- package/dist/collection/components/mds-card-header/AGENTS.md +38 -0
- package/dist/collection/components/mds-card-header/antipattern.md +114 -0
- package/dist/collection/components/mds-card-header/documentation.json +51 -0
- package/dist/collection/components/mds-card-header/mds-card-header.js +1 -1
- package/dist/collection/components/mds-card-header/pattern.md +143 -0
- package/dist/collection/components/mds-card-media/AGENTS.md +46 -0
- package/dist/collection/components/mds-card-media/antipattern.md +128 -0
- package/dist/collection/components/mds-card-media/documentation.json +56 -0
- package/dist/collection/components/mds-card-media/mds-card-media.js +1 -1
- package/dist/collection/components/mds-card-media/pattern.md +93 -0
- package/dist/collection/components/mds-chip/AGENTS.md +84 -0
- package/dist/collection/components/mds-chip/antipattern.md +119 -0
- package/dist/collection/components/mds-chip/documentation.json +535 -0
- package/dist/collection/components/mds-chip/mds-chip.js +2 -2
- package/dist/collection/components/mds-chip/pattern.md +166 -0
- package/dist/collection/components/mds-details/AGENTS.md +72 -0
- package/dist/collection/components/mds-details/antipattern.md +128 -0
- package/dist/collection/components/mds-details/documentation.json +153 -0
- package/dist/collection/components/mds-details/mds-details.js +1 -1
- package/dist/collection/components/mds-details/pattern.md +138 -0
- package/dist/collection/components/mds-dropdown/AGENTS.md +95 -0
- package/dist/collection/components/mds-dropdown/antipattern.md +137 -0
- package/dist/collection/components/mds-dropdown/documentation.json +701 -0
- package/dist/collection/components/mds-dropdown/mds-dropdown.js +2 -2
- package/dist/collection/components/mds-dropdown/pattern.md +201 -0
- package/dist/collection/components/mds-emoji/AGENTS.md +88 -0
- package/dist/collection/components/mds-emoji/antipattern.md +134 -0
- package/dist/collection/components/mds-emoji/documentation.json +506 -0
- package/dist/collection/components/mds-emoji/mds-emoji.js +1 -1
- package/dist/collection/components/mds-emoji/pattern.md +219 -0
- package/dist/collection/components/mds-entity/AGENTS.md +76 -0
- package/dist/collection/components/mds-entity/antipattern.md +112 -0
- package/dist/collection/components/mds-entity/documentation.json +365 -0
- package/dist/collection/components/mds-entity/mds-entity.js +1 -1
- package/dist/collection/components/mds-entity/pattern.md +125 -0
- package/dist/collection/components/mds-file/AGENTS.md +63 -0
- package/dist/collection/components/mds-file/antipattern.md +92 -0
- package/dist/collection/components/mds-file/documentation.json +484 -0
- package/dist/collection/components/mds-file/mds-file.js +1 -1
- package/dist/collection/components/mds-file/pattern.md +109 -0
- package/dist/collection/components/mds-file-preview/AGENTS.md +88 -0
- package/dist/collection/components/mds-file-preview/antipattern.md +129 -0
- package/dist/collection/components/mds-file-preview/documentation.json +780 -0
- package/dist/collection/components/mds-file-preview/mds-file-preview.js +2 -2
- package/dist/collection/components/mds-file-preview/pattern.md +164 -0
- package/dist/collection/components/mds-filter/AGENTS.md +72 -0
- package/dist/collection/components/mds-filter/antipattern.md +140 -0
- package/dist/collection/components/mds-filter/documentation.json +239 -0
- package/dist/collection/components/mds-filter/mds-filter.js +1 -1
- package/dist/collection/components/mds-filter/pattern.md +129 -0
- package/dist/collection/components/mds-filter-item/AGENTS.md +64 -0
- package/dist/collection/components/mds-filter-item/antipattern.md +127 -0
- package/dist/collection/components/mds-filter-item/documentation.json +240 -0
- package/dist/collection/components/mds-filter-item/mds-filter-item.js +1 -1
- package/dist/collection/components/mds-filter-item/pattern.md +125 -0
- package/dist/collection/components/mds-header/AGENTS.md +95 -0
- package/dist/collection/components/mds-header/antipattern.md +120 -0
- package/dist/collection/components/mds-header/documentation.json +491 -0
- package/dist/collection/components/mds-header/mds-header.js +1 -1
- package/dist/collection/components/mds-header/pattern.md +182 -0
- package/dist/collection/components/mds-header-bar/AGENTS.md +80 -0
- package/dist/collection/components/mds-header-bar/antipattern.md +119 -0
- package/dist/collection/components/mds-header-bar/documentation.json +251 -0
- package/dist/collection/components/mds-header-bar/mds-header-bar.js +1 -1
- package/dist/collection/components/mds-header-bar/pattern.md +134 -0
- package/dist/collection/components/mds-help/AGENTS.md +65 -0
- package/dist/collection/components/mds-help/antipattern.md +73 -0
- package/dist/collection/components/mds-help/documentation.json +228 -0
- package/dist/collection/components/mds-help/mds-help.js +1 -1
- package/dist/collection/components/mds-help/pattern.md +106 -0
- package/dist/collection/components/mds-horizontal-scroll/AGENTS.md +72 -0
- package/dist/collection/components/mds-horizontal-scroll/antipattern.md +120 -0
- package/dist/collection/components/mds-horizontal-scroll/documentation.json +279 -0
- package/dist/collection/components/mds-horizontal-scroll/mds-horizontal-scroll.js +1 -1
- package/dist/collection/components/mds-horizontal-scroll/pattern.md +154 -0
- package/dist/collection/components/mds-hr/AGENTS.md +27 -0
- package/dist/collection/components/mds-hr/antipattern.md +84 -0
- package/dist/collection/components/mds-hr/documentation.json +33 -0
- package/dist/collection/components/mds-hr/mds-hr.js +1 -1
- package/dist/collection/components/mds-hr/pattern.md +88 -0
- package/dist/collection/components/mds-icon/AGENTS.md +52 -0
- package/dist/collection/components/mds-icon/antipattern.md +118 -0
- package/dist/collection/components/mds-icon/documentation.json +205 -0
- package/dist/collection/components/mds-icon/mds-icon.js +1 -1
- package/dist/collection/components/mds-icon/pattern.md +135 -0
- package/dist/collection/components/mds-img/AGENTS.md +78 -0
- package/dist/collection/components/mds-img/antipattern.md +106 -0
- package/dist/collection/components/mds-img/documentation.json +470 -0
- package/dist/collection/components/mds-img/pattern.md +128 -0
- package/dist/collection/components/mds-input/AGENTS.md +138 -0
- package/dist/collection/components/mds-input/antipattern.md +128 -0
- package/dist/collection/components/mds-input/documentation.json +1574 -0
- package/dist/collection/components/mds-input/mds-input.js +185 -30
- package/dist/collection/components/mds-input/meta/input-type/InputValidationManager.js +8 -1
- package/dist/collection/components/mds-input/meta/validators.js +100 -2
- package/dist/collection/components/mds-input/meta/validity.js +35 -0
- package/dist/collection/components/mds-input/pattern.md +252 -0
- package/dist/collection/components/mds-input-date/AGENTS.md +98 -0
- package/dist/collection/components/mds-input-date/antipattern.md +107 -0
- package/dist/collection/components/mds-input-date/documentation.json +638 -0
- package/dist/collection/components/mds-input-date/mds-input-date.js +130 -24
- package/dist/collection/components/mds-input-date/pattern.md +158 -0
- package/dist/collection/components/mds-input-date-range/AGENTS.md +90 -0
- package/dist/collection/components/mds-input-date-range/antipattern.md +168 -0
- package/dist/collection/components/mds-input-date-range/documentation.json +502 -0
- package/dist/collection/components/mds-input-date-range/mds-input-date-range.css +13 -0
- package/dist/collection/components/mds-input-date-range/mds-input-date-range.js +106 -5
- package/dist/collection/components/mds-input-date-range/pattern.md +122 -0
- package/dist/collection/components/mds-input-date-range-preselection/AGENTS.md +62 -0
- package/dist/collection/components/mds-input-date-range-preselection/antipattern.md +147 -0
- package/dist/collection/components/mds-input-date-range-preselection/documentation.json +176 -0
- package/dist/collection/components/mds-input-date-range-preselection/mds-input-date-range-preselection.js +1 -1
- package/dist/collection/components/mds-input-date-range-preselection/pattern.md +101 -0
- package/dist/collection/components/mds-input-field/AGENTS.md +60 -0
- package/dist/collection/components/mds-input-field/antipattern.md +115 -0
- package/dist/collection/components/mds-input-field/documentation.json +178 -0
- package/dist/collection/components/mds-input-field/mds-input-field.js +1 -1
- package/dist/collection/components/mds-input-field/pattern.md +95 -0
- package/dist/collection/components/mds-input-otp/AGENTS.md +48 -0
- package/dist/collection/components/mds-input-otp/antipattern.md +105 -0
- package/dist/collection/components/mds-input-otp/documentation.json +203 -0
- package/dist/collection/components/mds-input-otp/mds-input-otp.css +4 -1
- package/dist/collection/components/mds-input-otp/mds-input-otp.js +88 -15
- package/dist/collection/components/mds-input-otp/pattern.md +107 -0
- package/dist/collection/components/mds-input-range/AGENTS.md +84 -0
- package/dist/collection/components/mds-input-range/antipattern.md +127 -0
- package/dist/collection/components/mds-input-range/documentation.json +315 -0
- package/dist/collection/components/mds-input-range/mds-input-range.css +6 -2
- package/dist/collection/components/mds-input-range/mds-input-range.js +30 -13
- package/dist/collection/components/mds-input-range/pattern.md +110 -0
- package/dist/collection/components/mds-input-select/AGENTS.md +99 -0
- package/dist/collection/components/mds-input-select/antipattern.md +126 -0
- package/dist/collection/components/mds-input-select/documentation.json +552 -0
- package/dist/collection/components/mds-input-select/mds-input-select.js +164 -35
- package/dist/collection/components/mds-input-select/meta/event-detail.js +1 -0
- package/dist/collection/components/mds-input-select/pattern.md +168 -0
- package/dist/collection/components/mds-input-switch/AGENTS.md +106 -0
- package/dist/collection/components/mds-input-switch/antipattern.md +117 -0
- package/dist/collection/components/mds-input-switch/documentation.json +638 -0
- package/dist/collection/components/mds-input-switch/mds-input-switch.css +4 -1
- package/dist/collection/components/mds-input-switch/mds-input-switch.js +59 -16
- package/dist/collection/components/mds-input-switch/pattern.md +133 -0
- package/dist/collection/components/mds-input-tip/AGENTS.md +56 -0
- package/dist/collection/components/mds-input-tip/antipattern.md +108 -0
- package/dist/collection/components/mds-input-tip/documentation.json +160 -0
- package/dist/collection/components/mds-input-tip/mds-input-tip.js +1 -1
- package/dist/collection/components/mds-input-tip/pattern.md +125 -0
- package/dist/collection/components/mds-input-tip-item/AGENTS.md +58 -0
- package/dist/collection/components/mds-input-tip-item/antipattern.md +98 -0
- package/dist/collection/components/mds-input-tip-item/documentation.json +181 -0
- package/dist/collection/components/mds-input-tip-item/mds-input-tip-item.js +2 -2
- package/dist/collection/components/mds-input-tip-item/pattern.md +107 -0
- package/dist/collection/components/mds-input-upload/AGENTS.md +78 -0
- package/dist/collection/components/mds-input-upload/antipattern.md +144 -0
- package/dist/collection/components/mds-input-upload/documentation.json +425 -0
- package/dist/collection/components/mds-input-upload/mds-input-upload.css +15 -0
- package/dist/collection/components/mds-input-upload/mds-input-upload.js +176 -66
- package/dist/collection/components/mds-input-upload/pattern.md +165 -0
- package/dist/collection/components/mds-keyboard/AGENTS.md +76 -0
- package/dist/collection/components/mds-keyboard/antipattern.md +111 -0
- package/dist/collection/components/mds-keyboard/documentation.json +227 -0
- package/dist/collection/components/mds-keyboard/mds-keyboard.js +1 -1
- package/dist/collection/components/mds-keyboard/pattern.md +129 -0
- package/dist/collection/components/mds-keyboard-key/AGENTS.md +55 -0
- package/dist/collection/components/mds-keyboard-key/antipattern.md +117 -0
- package/dist/collection/components/mds-keyboard-key/documentation.json +450 -0
- package/dist/collection/components/mds-keyboard-key/mds-keyboard-key.js +1 -1
- package/dist/collection/components/mds-keyboard-key/pattern.md +98 -0
- package/dist/collection/components/mds-kpi/AGENTS.md +44 -0
- package/dist/collection/components/mds-kpi/antipattern.md +93 -0
- package/dist/collection/components/mds-kpi/documentation.json +54 -0
- package/dist/collection/components/mds-kpi/mds-kpi.js +1 -1
- package/dist/collection/components/mds-kpi/pattern.md +109 -0
- package/dist/collection/components/mds-kpi-item/AGENTS.md +62 -0
- package/dist/collection/components/mds-kpi-item/antipattern.md +119 -0
- package/dist/collection/components/mds-kpi-item/documentation.json +199 -0
- package/dist/collection/components/mds-kpi-item/mds-kpi-item.js +1 -1
- package/dist/collection/components/mds-kpi-item/pattern.md +115 -0
- package/dist/collection/components/mds-label/AGENTS.md +71 -0
- package/dist/collection/components/mds-label/antipattern.md +92 -0
- package/dist/collection/components/mds-label/documentation.json +388 -0
- package/dist/collection/components/mds-label/pattern.md +111 -0
- package/dist/collection/components/mds-list/AGENTS.md +33 -0
- package/dist/collection/components/mds-list/antipattern.md +117 -0
- package/dist/collection/components/mds-list/documentation.json +43 -0
- package/dist/collection/components/mds-list/mds-list.js +1 -1
- package/dist/collection/components/mds-list/pattern.md +104 -0
- package/dist/collection/components/mds-list-item/AGENTS.md +60 -0
- package/dist/collection/components/mds-list-item/antipattern.md +118 -0
- package/dist/collection/components/mds-list-item/documentation.json +200 -0
- package/dist/collection/components/mds-list-item/mds-list-item.js +1 -1
- package/dist/collection/components/mds-list-item/pattern.md +101 -0
- package/dist/collection/components/mds-mention/AGENTS.md +55 -0
- package/dist/collection/components/mds-mention/antipattern.md +86 -0
- package/dist/collection/components/mds-mention/documentation.json +203 -0
- package/dist/collection/components/mds-mention/mds-mention.js +1 -1
- package/dist/collection/components/mds-mention/pattern.md +91 -0
- package/dist/collection/components/mds-modal/AGENTS.md +107 -0
- package/dist/collection/components/mds-modal/antipattern.md +96 -0
- package/dist/collection/components/mds-modal/documentation.json +552 -0
- package/dist/collection/components/mds-modal/mds-modal.js +3 -3
- package/dist/collection/components/mds-modal/pattern.md +228 -0
- package/dist/collection/components/mds-note/AGENTS.md +68 -0
- package/dist/collection/components/mds-note/antipattern.md +99 -0
- package/dist/collection/components/mds-note/documentation.json +220 -0
- package/dist/collection/components/mds-note/mds-note.js +1 -1
- package/dist/collection/components/mds-note/pattern.md +108 -0
- package/dist/collection/components/mds-notification/AGENTS.md +67 -0
- package/dist/collection/components/mds-notification/antipattern.md +86 -0
- package/dist/collection/components/mds-notification/documentation.json +253 -0
- package/dist/collection/components/mds-notification/mds-notification.js +1 -1
- package/dist/collection/components/mds-notification/pattern.md +98 -0
- package/dist/collection/components/mds-paginator/AGENTS.md +57 -0
- package/dist/collection/components/mds-paginator/antipattern.md +95 -0
- package/dist/collection/components/mds-paginator/documentation.json +135 -0
- package/dist/collection/components/mds-paginator/mds-paginator.js +1 -1
- package/dist/collection/components/mds-paginator/pattern.md +92 -0
- package/dist/collection/components/mds-paginator-item/AGENTS.md +74 -0
- package/dist/collection/components/mds-paginator-item/antipattern.md +95 -0
- package/dist/collection/components/mds-paginator-item/documentation.json +206 -0
- package/dist/collection/components/mds-paginator-item/mds-paginator-item.js +1 -1
- package/dist/collection/components/mds-paginator-item/pattern.md +75 -0
- package/dist/collection/components/mds-policy-ai/AGENTS.md +58 -0
- package/dist/collection/components/mds-policy-ai/antipattern.md +97 -0
- package/dist/collection/components/mds-policy-ai/documentation.json +244 -0
- package/dist/collection/components/mds-policy-ai/mds-policy-ai.js +1 -1
- package/dist/collection/components/mds-policy-ai/pattern.md +102 -0
- package/dist/collection/components/mds-pref/AGENTS.md +50 -0
- package/dist/collection/components/mds-pref/antipattern.md +85 -0
- package/dist/collection/components/mds-pref/documentation.json +138 -0
- package/dist/collection/components/mds-pref/mds-pref.js +7 -2
- package/dist/collection/components/mds-pref/pattern.md +93 -0
- package/dist/collection/components/mds-pref-animation/AGENTS.md +48 -0
- package/dist/collection/components/mds-pref-animation/antipattern.md +67 -0
- package/dist/collection/components/mds-pref-animation/documentation.json +154 -0
- package/dist/collection/components/mds-pref-animation/mds-pref-animation.js +26 -2
- package/dist/collection/components/mds-pref-animation/pattern.md +86 -0
- package/dist/collection/components/mds-pref-consumption/AGENTS.md +47 -0
- package/dist/collection/components/mds-pref-consumption/antipattern.md +84 -0
- package/dist/collection/components/mds-pref-consumption/documentation.json +154 -0
- package/dist/collection/components/mds-pref-consumption/mds-pref-consumption.js +26 -2
- package/dist/collection/components/mds-pref-consumption/pattern.md +70 -0
- package/dist/collection/components/mds-pref-contrast/AGENTS.md +50 -0
- package/dist/collection/components/mds-pref-contrast/antipattern.md +71 -0
- package/dist/collection/components/mds-pref-contrast/documentation.json +154 -0
- package/dist/collection/components/mds-pref-contrast/mds-pref-contrast.js +24 -3
- package/dist/collection/components/mds-pref-contrast/pattern.md +82 -0
- package/dist/collection/components/mds-pref-language/AGENTS.md +56 -0
- package/dist/collection/components/mds-pref-language/antipattern.md +130 -0
- package/dist/collection/components/mds-pref-language/documentation.json +174 -0
- package/dist/collection/components/mds-pref-language/mds-pref-language.js +1 -1
- package/dist/collection/components/mds-pref-language/pattern.md +104 -0
- package/dist/collection/components/mds-pref-language-item/AGENTS.md +48 -0
- package/dist/collection/components/mds-pref-language-item/antipattern.md +99 -0
- package/dist/collection/components/mds-pref-language-item/documentation.json +122 -0
- package/dist/collection/components/mds-pref-language-item/mds-pref-language-item.js +1 -1
- package/dist/collection/components/mds-pref-language-item/pattern.md +85 -0
- package/dist/collection/components/mds-pref-mode/AGENTS.md +53 -0
- package/dist/collection/components/mds-pref-mode/antipattern.md +104 -0
- package/dist/collection/components/mds-pref-mode/documentation.json +241 -0
- package/dist/collection/components/mds-pref-mode/mds-pref-mode.js +27 -4
- package/dist/collection/components/mds-pref-mode/pattern.md +94 -0
- package/dist/collection/components/mds-pref-theme/AGENTS.md +60 -0
- package/dist/collection/components/mds-pref-theme/antipattern.md +104 -0
- package/dist/collection/components/mds-pref-theme/documentation.json +277 -0
- package/dist/collection/components/mds-pref-theme/mds-pref-theme.js +1 -1
- package/dist/collection/components/mds-pref-theme/pattern.md +97 -0
- package/dist/collection/components/mds-pref-theme-item/AGENTS.md +60 -0
- package/dist/collection/components/mds-pref-theme-item/antipattern.md +98 -0
- package/dist/collection/components/mds-pref-theme-item/documentation.json +228 -0
- package/dist/collection/components/mds-pref-theme-item/mds-pref-theme-item.js +1 -1
- package/dist/collection/components/mds-pref-theme-item/pattern.md +98 -0
- package/dist/collection/components/mds-price-table/AGENTS.md +34 -0
- package/dist/collection/components/mds-price-table/antipattern.md +131 -0
- package/dist/collection/components/mds-price-table/documentation.json +43 -0
- package/dist/collection/components/mds-price-table/mds-price-table.js +1 -1
- package/dist/collection/components/mds-price-table/pattern.md +182 -0
- package/dist/collection/components/mds-price-table-features/AGENTS.md +61 -0
- package/dist/collection/components/mds-price-table-features/antipattern.md +152 -0
- package/dist/collection/components/mds-price-table-features/documentation.json +96 -0
- package/dist/collection/components/mds-price-table-features/mds-price-table-features.js +1 -1
- package/dist/collection/components/mds-price-table-features/pattern.md +157 -0
- package/dist/collection/components/mds-price-table-features-cell/AGENTS.md +69 -0
- package/dist/collection/components/mds-price-table-features-cell/antipattern.md +105 -0
- package/dist/collection/components/mds-price-table-features-cell/documentation.json +154 -0
- 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-cell/pattern.md +128 -0
- package/dist/collection/components/mds-price-table-features-row/AGENTS.md +43 -0
- package/dist/collection/components/mds-price-table-features-row/antipattern.md +135 -0
- package/dist/collection/components/mds-price-table-features-row/documentation.json +64 -0
- package/dist/collection/components/mds-price-table-features-row/mds-price-table-features-row.js +1 -1
- package/dist/collection/components/mds-price-table-features-row/pattern.md +125 -0
- package/dist/collection/components/mds-price-table-header/AGENTS.md +34 -0
- package/dist/collection/components/mds-price-table-header/antipattern.md +133 -0
- package/dist/collection/components/mds-price-table-header/documentation.json +43 -0
- package/dist/collection/components/mds-price-table-header/mds-price-table-header.js +1 -1
- package/dist/collection/components/mds-price-table-header/pattern.md +176 -0
- package/dist/collection/components/mds-price-table-list/AGENTS.md +63 -0
- package/dist/collection/components/mds-price-table-list/antipattern.md +133 -0
- package/dist/collection/components/mds-price-table-list/documentation.json +104 -0
- package/dist/collection/components/mds-price-table-list/mds-price-table-list.js +1 -1
- package/dist/collection/components/mds-price-table-list/pattern.md +134 -0
- package/dist/collection/components/mds-price-table-list-item/AGENTS.md +61 -0
- package/dist/collection/components/mds-price-table-list-item/antipattern.md +90 -0
- package/dist/collection/components/mds-price-table-list-item/documentation.json +145 -0
- package/dist/collection/components/mds-price-table-list-item/mds-price-table-list-item.js +1 -1
- package/dist/collection/components/mds-price-table-list-item/pattern.md +105 -0
- package/dist/collection/components/mds-progress/AGENTS.md +68 -0
- package/dist/collection/components/mds-progress/antipattern.md +94 -0
- package/dist/collection/components/mds-progress/documentation.json +375 -0
- package/dist/collection/components/mds-progress/mds-progress.js +1 -1
- package/dist/collection/components/mds-progress/pattern.md +139 -0
- package/dist/collection/components/mds-push-notification/AGENTS.md +88 -0
- package/dist/collection/components/mds-push-notification/antipattern.md +154 -0
- package/dist/collection/components/mds-push-notification/documentation.json +306 -0
- package/dist/collection/components/mds-push-notification/mds-push-notification.js +1 -1
- package/dist/collection/components/mds-push-notification/pattern.md +203 -0
- package/dist/collection/components/mds-push-notification-item/AGENTS.md +91 -0
- package/dist/collection/components/mds-push-notification-item/antipattern.md +129 -0
- package/dist/collection/components/mds-push-notification-item/documentation.json +586 -0
- package/dist/collection/components/mds-push-notification-item/mds-push-notification-item.js +2 -2
- package/dist/collection/components/mds-push-notification-item/pattern.md +201 -0
- package/dist/collection/components/mds-quote/AGENTS.md +51 -0
- package/dist/collection/components/mds-quote/antipattern.md +122 -0
- package/dist/collection/components/mds-quote/documentation.json +176 -0
- package/dist/collection/components/mds-quote/mds-quote.js +1 -1
- package/dist/collection/components/mds-quote/pattern.md +108 -0
- package/dist/collection/components/mds-radial-menu/AGENTS.md +87 -0
- package/dist/collection/components/mds-radial-menu/antipattern.md +104 -0
- package/dist/collection/components/mds-radial-menu/documentation.json +581 -0
- package/dist/collection/components/mds-radial-menu/mds-radial-menu.js +1 -1
- package/dist/collection/components/mds-radial-menu/pattern.md +150 -0
- package/dist/collection/components/mds-radial-menu-item/AGENTS.md +51 -0
- package/dist/collection/components/mds-radial-menu-item/antipattern.md +106 -0
- package/dist/collection/components/mds-radial-menu-item/documentation.json +294 -0
- package/dist/collection/components/mds-radial-menu-item/mds-radial-menu-item.js +1 -1
- package/dist/collection/components/mds-radial-menu-item/pattern.md +98 -0
- package/dist/collection/components/mds-radial-progress/AGENTS.md +58 -0
- package/dist/collection/components/mds-radial-progress/antipattern.md +99 -0
- package/dist/collection/components/mds-radial-progress/documentation.json +232 -0
- package/dist/collection/components/mds-radial-progress/mds-radial-progress.js +1 -1
- package/dist/collection/components/mds-radial-progress/pattern.md +132 -0
- package/dist/collection/components/mds-separator/AGENTS.md +39 -0
- package/dist/collection/components/mds-separator/antipattern.md +98 -0
- package/dist/collection/components/mds-separator/documentation.json +45 -0
- package/dist/collection/components/mds-separator/mds-separator.js +1 -1
- package/dist/collection/components/mds-separator/pattern.md +82 -0
- package/dist/collection/components/mds-spinner/AGENTS.md +49 -0
- package/dist/collection/components/mds-spinner/antipattern.md +93 -0
- package/dist/collection/components/mds-spinner/documentation.json +86 -0
- package/dist/collection/components/mds-spinner/mds-spinner.js +1 -1
- package/dist/collection/components/mds-spinner/pattern.md +102 -0
- package/dist/collection/components/mds-status-bar/AGENTS.md +75 -0
- package/dist/collection/components/mds-status-bar/antipattern.md +128 -0
- package/dist/collection/components/mds-status-bar/documentation.json +262 -0
- package/dist/collection/components/mds-status-bar/mds-status-bar.js +1 -1
- package/dist/collection/components/mds-status-bar/pattern.md +123 -0
- package/dist/collection/components/mds-stepper-bar/AGENTS.md +74 -0
- package/dist/collection/components/mds-stepper-bar/antipattern.md +123 -0
- package/dist/collection/components/mds-stepper-bar/documentation.json +208 -0
- package/dist/collection/components/mds-stepper-bar/mds-stepper-bar.js +1 -1
- package/dist/collection/components/mds-stepper-bar/pattern.md +182 -0
- package/dist/collection/components/mds-stepper-bar-item/AGENTS.md +84 -0
- package/dist/collection/components/mds-stepper-bar-item/antipattern.md +115 -0
- package/dist/collection/components/mds-stepper-bar-item/documentation.json +453 -0
- package/dist/collection/components/mds-stepper-bar-item/mds-stepper-bar-item.js +1 -1
- package/dist/collection/components/mds-stepper-bar-item/pattern.md +203 -0
- package/dist/collection/components/mds-tab/AGENTS.md +110 -0
- package/dist/collection/components/mds-tab/antipattern.md +191 -0
- package/dist/collection/components/mds-tab/documentation.json +495 -0
- package/dist/collection/components/mds-tab/mds-tab.css +10 -1
- package/dist/collection/components/mds-tab/mds-tab.js +18 -4
- package/dist/collection/components/mds-tab/pattern.md +233 -0
- package/dist/collection/components/mds-tab-bar/AGENTS.md +46 -0
- package/dist/collection/components/mds-tab-bar/antipattern.md +105 -0
- package/dist/collection/components/mds-tab-bar/documentation.json +71 -0
- package/dist/collection/components/mds-tab-bar/mds-tab-bar.js +1 -1
- package/dist/collection/components/mds-tab-bar/pattern.md +87 -0
- package/dist/collection/components/mds-tab-bar-item/AGENTS.md +67 -0
- package/dist/collection/components/mds-tab-bar-item/antipattern.md +116 -0
- package/dist/collection/components/mds-tab-bar-item/documentation.json +210 -0
- package/dist/collection/components/mds-tab-bar-item/mds-tab-bar-item.js +1 -1
- package/dist/collection/components/mds-tab-bar-item/pattern.md +110 -0
- package/dist/collection/components/mds-tab-item/AGENTS.md +83 -0
- package/dist/collection/components/mds-tab-item/antipattern.md +159 -0
- package/dist/collection/components/mds-tab-item/documentation.json +577 -0
- package/dist/collection/components/mds-tab-item/mds-tab-item.js +15 -3
- package/dist/collection/components/mds-tab-item/pattern.md +173 -0
- package/dist/collection/components/mds-table/AGENTS.md +90 -0
- package/dist/collection/components/mds-table/antipattern.md +169 -0
- package/dist/collection/components/mds-table/documentation.json +304 -0
- package/dist/collection/components/mds-table/mds-table.js +1 -1
- package/dist/collection/components/mds-table/pattern.md +288 -0
- package/dist/collection/components/mds-table-body/AGENTS.md +55 -0
- package/dist/collection/components/mds-table-body/antipattern.md +118 -0
- package/dist/collection/components/mds-table-body/documentation.json +122 -0
- package/dist/collection/components/mds-table-body/mds-table-body.js +1 -1
- package/dist/collection/components/mds-table-body/pattern.md +154 -0
- package/dist/collection/components/mds-table-cell/AGENTS.md +56 -0
- package/dist/collection/components/mds-table-cell/antipattern.md +100 -0
- package/dist/collection/components/mds-table-cell/documentation.json +104 -0
- package/dist/collection/components/mds-table-cell/mds-table-cell.js +1 -1
- package/dist/collection/components/mds-table-cell/pattern.md +168 -0
- package/dist/collection/components/mds-table-footer/AGENTS.md +33 -0
- package/dist/collection/components/mds-table-footer/antipattern.md +114 -0
- package/dist/collection/components/mds-table-footer/documentation.json +43 -0
- package/dist/collection/components/mds-table-footer/mds-table-footer.js +1 -1
- package/dist/collection/components/mds-table-footer/pattern.md +116 -0
- package/dist/collection/components/mds-table-header/AGENTS.md +61 -0
- package/dist/collection/components/mds-table-header/antipattern.md +157 -0
- package/dist/collection/components/mds-table-header/documentation.json +156 -0
- package/dist/collection/components/mds-table-header/mds-table-header.js +1 -1
- package/dist/collection/components/mds-table-header/pattern.md +158 -0
- package/dist/collection/components/mds-table-header-cell/AGENTS.md +51 -0
- package/dist/collection/components/mds-table-header-cell/antipattern.md +108 -0
- package/dist/collection/components/mds-table-header-cell/documentation.json +158 -0
- package/dist/collection/components/mds-table-header-cell/mds-table-header-cell.js +1 -1
- package/dist/collection/components/mds-table-header-cell/pattern.md +145 -0
- package/dist/collection/components/mds-table-row/AGENTS.md +68 -0
- package/dist/collection/components/mds-table-row/antipattern.md +142 -0
- package/dist/collection/components/mds-table-row/documentation.json +252 -0
- package/dist/collection/components/mds-table-row/mds-table-row.js +22 -16
- package/dist/collection/components/mds-table-row/pattern.md +157 -0
- package/dist/collection/components/mds-text/AGENTS.md +64 -0
- package/dist/collection/components/mds-text/antipattern.md +113 -0
- package/dist/collection/components/mds-text/documentation.json +746 -0
- package/dist/collection/components/mds-text/mds-text.js +1 -1
- package/dist/collection/components/mds-text/pattern.md +139 -0
- package/dist/collection/components/mds-toast/AGENTS.md +78 -0
- package/dist/collection/components/mds-toast/antipattern.md +131 -0
- package/dist/collection/components/mds-toast/documentation.json +339 -0
- package/dist/collection/components/mds-toast/mds-toast.js +1 -1
- package/dist/collection/components/mds-toast/pattern.md +161 -0
- package/dist/collection/components/mds-tooltip/AGENTS.md +80 -0
- package/dist/collection/components/mds-tooltip/antipattern.md +108 -0
- package/dist/collection/components/mds-tooltip/documentation.json +483 -0
- package/dist/collection/components/mds-tooltip/mds-tooltip.js +1 -1
- package/dist/collection/components/mds-tooltip/pattern.md +128 -0
- package/dist/collection/components/mds-tree/AGENTS.md +88 -0
- package/dist/collection/components/mds-tree/antipattern.md +153 -0
- package/dist/collection/components/mds-tree/documentation.json +472 -0
- package/dist/collection/components/mds-tree/mds-tree.js +1 -1
- package/dist/collection/components/mds-tree/pattern.md +198 -0
- package/dist/collection/components/mds-tree-item/AGENTS.md +119 -0
- package/dist/collection/components/mds-tree-item/antipattern.md +152 -0
- package/dist/collection/components/mds-tree-item/documentation.json +646 -0
- package/dist/collection/components/mds-tree-item/mds-tree-item.js +1 -1
- package/dist/collection/components/mds-tree-item/pattern.md +201 -0
- package/dist/collection/components/mds-url-view/AGENTS.md +63 -0
- package/dist/collection/components/mds-url-view/antipattern.md +107 -0
- package/dist/collection/components/mds-url-view/documentation.json +209 -0
- package/dist/collection/components/mds-url-view/mds-url-view.js +1 -1
- package/dist/collection/components/mds-url-view/pattern.md +106 -0
- package/dist/collection/components/mds-usage/AGENTS.md +70 -0
- package/dist/collection/components/mds-usage/antipattern.md +87 -0
- package/dist/collection/components/mds-usage/documentation.json +156 -0
- package/dist/collection/components/mds-usage/mds-usage.js +1 -1
- package/dist/collection/components/mds-usage/pattern.md +117 -0
- package/dist/collection/components/mds-video-wall/AGENTS.md +65 -0
- package/dist/collection/components/mds-video-wall/antipattern.md +97 -0
- package/dist/collection/components/mds-video-wall/documentation.json +316 -0
- package/dist/collection/components/mds-video-wall/mds-video-wall.js +1 -1
- package/dist/collection/components/mds-video-wall/pattern.md +101 -0
- package/dist/collection/components/mds-zero/AGENTS.md +55 -0
- package/dist/collection/components/mds-zero/antipattern.md +106 -0
- package/dist/collection/components/mds-zero/documentation.json +82 -0
- package/dist/collection/components/mds-zero/mds-zero.js +1 -1
- package/dist/collection/components/mds-zero/pattern.md +118 -0
- package/dist/collection/index.js +11 -4
- 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 +3 -3
- package/dist/components/mds-entity.js +1 -1
- package/dist/components/mds-file-preview.js +1 -1
- package/dist/components/mds-file.js +3 -3
- 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.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--miH951G.js +5 -0
- package/dist/components/p-B3Z2Goa-.js +1 -0
- package/dist/components/p-B3dWp2vS.js +1 -0
- package/dist/components/p-B6FOPjps.js +1 -0
- package/dist/components/p-B7CR1EtF.js +1 -0
- package/dist/components/p-BBPQjm8h.js +1 -0
- package/dist/components/p-BCiJ4PRD.js +1 -0
- package/dist/components/p-BHJDW5JC.js +1 -0
- package/dist/components/p-BSs0SO-j.js +1 -0
- package/dist/components/p-BTpjOy0A.js +1 -0
- package/dist/components/p-BY6Qu1V4.js +1 -0
- package/dist/components/p-BhmePCyA.js +1 -0
- package/dist/components/p-BpGzrg1C.js +1 -0
- package/dist/components/p-Bv2IVRzI.js +1 -0
- package/dist/components/p-C-J9fW51.js +1 -0
- package/dist/components/p-C7EyV0z3.js +1 -0
- package/dist/components/p-CAa2kI72.js +1 -0
- package/dist/components/p-CBV19-8O.js +1 -0
- package/dist/components/p-CCv9tBZK.js +1 -0
- package/dist/components/p-CDf607TB.js +1 -0
- package/dist/components/p-CEMAGNly.js +1 -0
- package/dist/components/p-CGYDZBMv.js +1 -0
- package/dist/components/p-CHAvkoj3.js +1 -0
- package/dist/components/p-CMFUEkte.js +1 -0
- package/dist/components/p-CR2GGKXK.js +1 -0
- package/dist/components/p-Cb5kuO7B.js +1 -0
- package/dist/components/p-CiNNzAa3.js +1 -0
- package/dist/components/p-DGDdPv_Y.js +1 -0
- package/dist/components/p-D_wD-Pyk.js +1 -0
- package/dist/components/p-HR2JwDjG.js +1 -0
- package/dist/components/p-LE7qQIFR.js +8 -0
- package/dist/components/p-faViX-qz.js +1 -0
- package/dist/components/p-pBvN1uAc.js +3 -0
- package/dist/components/p-vgIKH234.js +1 -0
- package/dist/components/p-wI0alRSO.js +1 -0
- package/dist/components/p-zHpei4x6.js +1 -0
- package/dist/documentation.json +623 -365
- package/dist/esm/floating-controller-BTYkH_Ih.js +366 -0
- package/dist/esm/form-wI0alRSO.js +42 -0
- package/dist/esm/index-BhCZiGfL.js +196 -0
- package/dist/esm/index-BxPbQB28.js +5149 -0
- package/dist/esm/index.js +63 -2
- package/dist/esm/loader.js +3 -3
- package/dist/esm/locale-CVJm6KFD.js +814 -0
- package/dist/esm/magma-components.js +3 -3
- package/dist/esm/mds-accordion-item.entry.js +2 -2
- package/dist/esm/mds-accordion-timer-item.entry.js +2 -2
- package/dist/esm/mds-accordion-timer.entry.js +1 -1
- package/dist/esm/mds-accordion.entry.js +2 -2
- package/dist/esm/mds-author.entry.js +1 -1
- package/dist/esm/mds-avatar-stack-item.entry.js +1 -1
- package/dist/esm/mds-avatar-stack.entry.js +1 -1
- package/dist/esm/mds-avatar.entry.js +2 -2
- package/dist/esm/mds-badge.entry.js +2 -2
- package/dist/esm/mds-banner_3.entry.js +6 -6
- package/dist/esm/mds-benchmark-bar.entry.js +1 -1
- package/dist/esm/mds-bibliography.entry.js +1 -1
- package/dist/esm/mds-breadcrumb-item.entry.js +1 -1
- package/dist/esm/mds-breadcrumb.entry.js +3 -3
- package/dist/esm/mds-button-dropdown.entry.js +38 -4
- package/dist/esm/mds-button-group.entry.js +2 -2
- package/dist/esm/mds-button_3.entry.js +82 -29
- package/dist/esm/mds-calendar_2.entry.js +7 -7
- 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 +2 -2
- package/dist/esm/mds-card-media.entry.js +2 -2
- package/dist/esm/mds-card.entry.js +3 -3
- package/dist/esm/mds-details.entry.js +3 -3
- package/dist/esm/mds-dropdown.entry.js +5 -5
- package/dist/esm/mds-emoji.entry.js +3 -3
- package/dist/esm/mds-entity.entry.js +3 -3
- package/dist/esm/mds-file-preview.entry.js +5 -5
- package/dist/esm/mds-file.entry.js +4 -4
- package/dist/esm/mds-filter-item.entry.js +3 -3
- package/dist/esm/mds-filter.entry.js +3 -3
- package/dist/esm/mds-header-bar.entry.js +3 -3
- package/dist/esm/mds-header.entry.js +3 -3
- package/dist/esm/mds-horizontal-scroll.entry.js +2 -2
- package/dist/esm/mds-hr.entry.js +3 -3
- package/dist/esm/mds-img.entry.js +3 -3
- package/dist/esm/mds-input-date-range-preselection.entry.js +2 -2
- package/dist/esm/mds-input-date-range.entry.js +89 -9
- package/dist/esm/mds-input-date.entry.js +124 -27
- package/dist/esm/mds-input-field.entry.js +2 -2
- package/dist/esm/mds-input-otp.entry.js +65 -19
- package/dist/esm/mds-input-range.entry.js +32 -16
- package/dist/esm/mds-input-select.entry.js +159 -30
- package/dist/esm/mds-input-switch_2.entry.js +64 -22
- package/dist/esm/mds-input-tip_2.entry.js +6 -6
- package/dist/esm/mds-input-upload.entry.js +136 -67
- package/dist/esm/mds-input.entry.js +320 -36
- package/dist/esm/mds-keyboard-key.entry.js +4 -4
- package/dist/esm/mds-keyboard.entry.js +4 -4
- package/dist/esm/mds-kpi-item.entry.js +3 -3
- package/dist/esm/mds-kpi.entry.js +2 -2
- package/dist/esm/mds-label.entry.js +3 -3
- package/dist/esm/mds-list-item.entry.js +3 -3
- package/dist/esm/mds-list.entry.js +2 -2
- package/dist/esm/mds-mention.entry.js +4 -4
- package/dist/esm/mds-modal.entry.js +5 -5
- package/dist/esm/mds-note.entry.js +4 -4
- package/dist/esm/mds-notification.entry.js +3 -3
- package/dist/esm/mds-paginator-item.entry.js +3 -3
- package/dist/esm/mds-paginator.entry.js +3 -3
- package/dist/esm/mds-policy-ai.entry.js +4 -4
- package/dist/esm/mds-pref-animation.entry.js +29 -5
- package/dist/esm/mds-pref-consumption.entry.js +29 -5
- package/dist/esm/mds-pref-contrast.entry.js +27 -6
- package/dist/esm/mds-pref-language-item.entry.js +4 -4
- package/dist/esm/mds-pref-language.entry.js +4 -4
- package/dist/esm/mds-pref-mode.entry.js +30 -7
- package/dist/esm/mds-pref-theme-item.entry.js +2 -2
- package/dist/esm/mds-pref-theme.entry.js +4 -4
- package/dist/esm/mds-pref.entry.js +10 -5
- package/dist/esm/mds-price-table-features-cell.entry.js +3 -3
- package/dist/esm/mds-price-table-features-row.entry.js +3 -3
- package/dist/esm/mds-price-table-features.entry.js +3 -3
- package/dist/esm/mds-price-table-header.entry.js +2 -2
- package/dist/esm/mds-price-table-list-item.entry.js +2 -2
- package/dist/esm/mds-price-table-list.entry.js +3 -3
- package/dist/esm/mds-price-table.entry.js +2 -2
- package/dist/esm/mds-progress_2.entry.js +4 -4
- package/dist/esm/mds-push-notification-item.entry.js +5 -5
- package/dist/esm/mds-push-notification.entry.js +3 -3
- package/dist/esm/mds-quote.entry.js +3 -3
- package/dist/esm/mds-radial-menu-item.entry.js +2 -2
- package/dist/esm/mds-radial-menu.entry.js +3 -3
- package/dist/esm/mds-separator.entry.js +3 -3
- package/dist/esm/mds-status-bar.entry.js +3 -3
- package/dist/esm/mds-stepper-bar-item.entry.js +4 -4
- package/dist/esm/mds-stepper-bar.entry.js +2 -2
- package/dist/esm/mds-tab-bar-item.entry.js +3 -3
- package/dist/esm/mds-tab-bar.entry.js +3 -3
- package/dist/esm/mds-tab_2.entry.js +29 -7
- package/dist/esm/mds-table-body.entry.js +3 -3
- package/dist/esm/mds-table-footer.entry.js +3 -3
- package/dist/esm/mds-table-header-cell.entry.js +3 -3
- package/dist/esm/mds-table-header.entry.js +4 -4
- package/dist/esm/mds-table-row.entry.js +24 -18
- package/dist/esm/mds-table.entry.js +4 -4
- package/dist/esm/mds-text.entry.js +3 -3
- package/dist/esm/mds-toast.entry.js +3 -3
- package/dist/esm/mds-tooltip.entry.js +4 -4
- package/dist/esm/mds-tree-item.entry.js +4 -4
- package/dist/esm/mds-tree.entry.js +2 -2
- package/dist/esm/mds-url-view.entry.js +4 -4
- package/dist/esm/mds-usage.entry.js +4 -4
- package/dist/esm/mds-video-wall.entry.js +2 -2
- package/dist/esm/mds-zero.entry.js +3 -3
- package/dist/esm/preference-DNNqH7BU.js +385 -0
- package/dist/esm-es5/floating-controller-BTYkH_Ih.js +66 -0
- package/dist/esm-es5/form-wI0alRSO.js +16 -0
- package/dist/esm-es5/index-BhCZiGfL.js +10 -0
- package/dist/esm-es5/index-BxPbQB28.js +371 -0
- package/dist/esm-es5/index.js +37 -20
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/locale-CVJm6KFD.js +230 -0
- package/dist/esm-es5/magma-components.js +2 -2
- package/dist/esm-es5/mds-accordion-item.entry.js +1 -1
- package/dist/esm-es5/mds-accordion-timer-item.entry.js +1 -1
- package/dist/esm-es5/mds-accordion-timer.entry.js +1 -1
- package/dist/esm-es5/mds-accordion.entry.js +1 -1
- package/dist/esm-es5/mds-author.entry.js +1 -1
- package/dist/esm-es5/mds-avatar-stack-item.entry.js +1 -1
- package/dist/esm-es5/mds-avatar-stack.entry.js +1 -1
- package/dist/esm-es5/mds-avatar.entry.js +2 -2
- package/dist/esm-es5/mds-badge.entry.js +1 -1
- package/dist/esm-es5/mds-banner_3.entry.js +4 -4
- package/dist/esm-es5/mds-benchmark-bar.entry.js +1 -1
- package/dist/esm-es5/mds-bibliography.entry.js +1 -1
- package/dist/esm-es5/mds-breadcrumb-item.entry.js +1 -1
- package/dist/esm-es5/mds-breadcrumb.entry.js +2 -2
- package/dist/esm-es5/mds-button-dropdown.entry.js +10 -4
- package/dist/esm-es5/mds-button-group.entry.js +1 -1
- package/dist/esm-es5/mds-button_3.entry.js +28 -6
- package/dist/esm-es5/mds-calendar_2.entry.js +3 -3
- 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 +2 -2
- package/dist/esm-es5/mds-details.entry.js +2 -2
- package/dist/esm-es5/mds-dropdown.entry.js +2 -2
- package/dist/esm-es5/mds-emoji.entry.js +2 -2
- package/dist/esm-es5/mds-entity.entry.js +1 -1
- package/dist/esm-es5/mds-file-preview.entry.js +12 -12
- package/dist/esm-es5/mds-file.entry.js +12 -12
- package/dist/esm-es5/mds-filter-item.entry.js +1 -1
- package/dist/esm-es5/mds-filter.entry.js +2 -2
- package/dist/esm-es5/mds-header-bar.entry.js +2 -2
- package/dist/esm-es5/mds-header.entry.js +4 -4
- package/dist/esm-es5/mds-horizontal-scroll.entry.js +2 -2
- package/dist/esm-es5/mds-hr.entry.js +1 -1
- package/dist/esm-es5/mds-img.entry.js +1 -1
- package/dist/esm-es5/mds-input-date-range-preselection.entry.js +1 -1
- package/dist/esm-es5/mds-input-date-range.entry.js +33 -6
- package/dist/esm-es5/mds-input-date.entry.js +47 -7
- package/dist/esm-es5/mds-input-field.entry.js +2 -2
- package/dist/esm-es5/mds-input-otp.entry.js +21 -4
- package/dist/esm-es5/mds-input-range.entry.js +15 -7
- package/dist/esm-es5/mds-input-select.entry.js +37 -6
- package/dist/esm-es5/mds-input-switch_2.entry.js +24 -4
- package/dist/esm-es5/mds-input-tip_2.entry.js +3 -3
- package/dist/esm-es5/mds-input-upload.entry.js +42 -18
- package/dist/esm-es5/mds-input.entry.js +105 -22
- package/dist/esm-es5/mds-keyboard-key.entry.js +2 -2
- package/dist/esm-es5/mds-keyboard.entry.js +2 -2
- package/dist/esm-es5/mds-kpi-item.entry.js +2 -2
- package/dist/esm-es5/mds-kpi.entry.js +1 -1
- package/dist/esm-es5/mds-label.entry.js +1 -1
- package/dist/esm-es5/mds-list-item.entry.js +2 -2
- package/dist/esm-es5/mds-list.entry.js +1 -1
- package/dist/esm-es5/mds-mention.entry.js +2 -2
- package/dist/esm-es5/mds-modal.entry.js +2 -2
- package/dist/esm-es5/mds-note.entry.js +2 -2
- package/dist/esm-es5/mds-notification.entry.js +2 -2
- package/dist/esm-es5/mds-paginator-item.entry.js +1 -1
- package/dist/esm-es5/mds-paginator.entry.js +2 -2
- package/dist/esm-es5/mds-policy-ai.entry.js +2 -2
- package/dist/esm-es5/mds-pref-animation.entry.js +7 -1
- package/dist/esm-es5/mds-pref-consumption.entry.js +7 -1
- package/dist/esm-es5/mds-pref-contrast.entry.js +8 -2
- package/dist/esm-es5/mds-pref-language-item.entry.js +2 -2
- package/dist/esm-es5/mds-pref-language.entry.js +2 -2
- package/dist/esm-es5/mds-pref-mode.entry.js +10 -2
- package/dist/esm-es5/mds-pref-theme-item.entry.js +2 -2
- package/dist/esm-es5/mds-pref-theme.entry.js +2 -2
- package/dist/esm-es5/mds-pref.entry.js +6 -3
- 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 +1 -1
- package/dist/esm-es5/mds-price-table.entry.js +1 -1
- package/dist/esm-es5/mds-progress_2.entry.js +3 -3
- package/dist/esm-es5/mds-push-notification-item.entry.js +2 -2
- package/dist/esm-es5/mds-push-notification.entry.js +2 -2
- 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 +2 -2
- package/dist/esm-es5/mds-separator.entry.js +1 -1
- package/dist/esm-es5/mds-status-bar.entry.js +2 -2
- package/dist/esm-es5/mds-stepper-bar-item.entry.js +2 -2
- package/dist/esm-es5/mds-stepper-bar.entry.js +3 -3
- package/dist/esm-es5/mds-tab-bar-item.entry.js +3 -3
- package/dist/esm-es5/mds-tab-bar.entry.js +1 -1
- package/dist/esm-es5/mds-tab_2.entry.js +15 -4
- package/dist/esm-es5/mds-table-body.entry.js +1 -1
- package/dist/esm-es5/mds-table-footer.entry.js +1 -1
- package/dist/esm-es5/mds-table-header-cell.entry.js +2 -2
- package/dist/esm-es5/mds-table-header.entry.js +4 -4
- package/dist/esm-es5/mds-table-row.entry.js +12 -4
- package/dist/esm-es5/mds-table.entry.js +2 -2
- package/dist/esm-es5/mds-text.entry.js +2 -2
- package/dist/esm-es5/mds-toast.entry.js +2 -2
- package/dist/esm-es5/mds-tooltip.entry.js +2 -2
- package/dist/esm-es5/mds-tree-item.entry.js +2 -2
- package/dist/esm-es5/mds-tree.entry.js +2 -2
- package/dist/esm-es5/mds-url-view.entry.js +2 -2
- package/dist/esm-es5/mds-usage.entry.js +2 -2
- 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 +58 -0
- package/dist/hydrate/index.js +1708 -441
- package/dist/hydrate/index.mjs +1708 -441
- 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-019e8a95.system.entry.js +13 -0
- package/dist/magma-components/p-01dd1f55.entry.js +1 -0
- package/dist/magma-components/p-02119624.system.entry.js +40 -0
- package/dist/magma-components/p-02fc7592.entry.js +1 -0
- package/dist/magma-components/p-03cd0069.system.entry.js +1 -0
- package/dist/magma-components/p-05fbca60.system.entry.js +37 -0
- package/dist/magma-components/p-06d9af89.entry.js +1 -0
- package/dist/magma-components/p-07e4701d.entry.js +1 -0
- package/dist/magma-components/p-081a19b1.system.entry.js +45 -0
- package/dist/magma-components/p-09d0b6a8.entry.js +1 -0
- package/dist/magma-components/p-0a9fb138.system.entry.js +1 -0
- package/dist/magma-components/p-0b300de7.entry.js +1 -0
- package/dist/magma-components/p-0d3c3de9.entry.js +1 -0
- package/dist/magma-components/p-1150ffb8.system.entry.js +10 -0
- package/dist/magma-components/p-115a5e47.entry.js +1 -0
- package/dist/magma-components/p-1314d80e.entry.js +1 -0
- package/dist/magma-components/p-133a6ffd.system.entry.js +49 -0
- package/dist/magma-components/p-13db55de.entry.js +1 -0
- package/dist/magma-components/p-1a2731ec.system.entry.js +10 -0
- package/dist/magma-components/p-1a602906.system.entry.js +13 -0
- package/dist/magma-components/p-1c975156.entry.js +1 -0
- package/dist/magma-components/p-1cb495d3.entry.js +1 -0
- package/dist/magma-components/p-1d154234.system.entry.js +12 -0
- package/dist/magma-components/p-1d9d7666.entry.js +1 -0
- package/dist/magma-components/p-1ddaaa6d.system.entry.js +217 -0
- package/dist/magma-components/p-21aa0a74.entry.js +1 -0
- package/dist/magma-components/p-21c46e74.system.entry.js +4 -0
- package/dist/magma-components/p-2399b7e8.entry.js +1 -0
- package/dist/magma-components/p-25407d89.entry.js +1 -0
- package/dist/magma-components/p-27547a7a.system.entry.js +7 -0
- package/dist/magma-components/p-289a874e.entry.js +1 -0
- package/dist/magma-components/p-2be3bd23.system.entry.js +1 -0
- package/dist/magma-components/p-2c586431.entry.js +1 -0
- package/dist/magma-components/p-2d324edc.entry.js +1 -0
- package/dist/magma-components/p-2da2cdf3.system.entry.js +7 -0
- package/dist/magma-components/p-2e01e057.system.entry.js +7 -0
- package/dist/magma-components/p-2e9b80e8.entry.js +1 -0
- package/dist/magma-components/p-30c3872d.entry.js +1 -0
- package/dist/magma-components/p-3231a6a3.entry.js +1 -0
- package/dist/magma-components/p-32361702.system.entry.js +7 -0
- package/dist/magma-components/p-3448d0ce.entry.js +1 -0
- package/dist/magma-components/p-367cee40.system.entry.js +1 -0
- package/dist/magma-components/p-3a1a6945.entry.js +1 -0
- package/dist/magma-components/p-3a8870e4.system.entry.js +47 -0
- package/dist/magma-components/p-3b68fbcd.system.entry.js +22 -0
- package/dist/magma-components/p-3ecade3c.system.entry.js +11 -0
- package/dist/magma-components/p-3f05ec8a.entry.js +1 -0
- package/dist/magma-components/p-4073c5f2.system.entry.js +90 -0
- package/dist/magma-components/p-40bd2e6d.entry.js +1 -0
- package/dist/magma-components/p-423597db.system.entry.js +4 -0
- package/dist/magma-components/p-443c2a29.system.entry.js +10 -0
- package/dist/magma-components/p-45a91f1c.system.entry.js +1 -0
- package/dist/magma-components/p-487af9d3.entry.js +1 -0
- package/dist/magma-components/p-4909070e.entry.js +1 -0
- package/dist/magma-components/p-4d966161.system.entry.js +14 -0
- package/dist/magma-components/p-4ddf891e.system.entry.js +69 -0
- package/dist/magma-components/p-4e15cde7.entry.js +1 -0
- package/dist/magma-components/p-4f14a166.entry.js +1 -0
- package/dist/magma-components/p-4ffec31a.system.entry.js +1 -0
- package/dist/magma-components/p-50b266e9.system.entry.js +4 -0
- package/dist/magma-components/p-5165b09f.system.entry.js +4 -0
- package/dist/magma-components/p-544cc9c7.system.entry.js +25 -0
- package/dist/magma-components/p-562bb482.system.entry.js +16 -0
- package/dist/magma-components/p-5ac9e2f4.entry.js +1 -0
- package/dist/magma-components/p-5ae5ec95.entry.js +1 -0
- package/dist/magma-components/p-5d2d8ffe.system.entry.js +11 -0
- package/dist/magma-components/p-5e180f53.system.entry.js +32 -0
- package/dist/magma-components/p-61bedbe7.system.entry.js +68 -0
- package/dist/magma-components/p-61ff1d85.system.entry.js +1 -0
- package/dist/magma-components/p-62b17608.system.entry.js +102 -0
- package/dist/magma-components/p-63e7c98f.entry.js +1 -0
- package/dist/magma-components/p-6474c850.entry.js +8 -0
- package/dist/magma-components/p-660657ac.system.entry.js +15 -0
- package/dist/magma-components/p-66237a64.entry.js +1 -0
- package/dist/magma-components/p-6702e489.entry.js +1 -0
- package/dist/magma-components/p-694ed534.entry.js +1 -0
- package/dist/magma-components/p-6b446fd9.system.entry.js +81 -0
- package/dist/magma-components/p-6c414bc2.system.entry.js +19 -0
- package/dist/magma-components/p-6cbd8a6d.system.entry.js +12 -0
- package/dist/magma-components/p-6d0dc1fd.entry.js +1 -0
- package/dist/magma-components/p-6ed05d99.entry.js +1 -0
- package/dist/magma-components/p-6f2471b1.entry.js +1 -0
- package/dist/magma-components/p-6fa03aab.system.entry.js +7 -0
- package/dist/magma-components/p-7-TP6wnI.js +1 -0
- package/dist/magma-components/p-70141ccd.entry.js +1 -0
- package/dist/magma-components/p-707d8626.system.entry.js +2838 -0
- package/dist/magma-components/p-71dafc3f.entry.js +1 -0
- package/dist/magma-components/p-726209f4.system.entry.js +1 -0
- package/dist/magma-components/p-745ee76b.system.entry.js +32 -0
- package/dist/magma-components/p-761415b3.system.entry.js +37 -0
- package/dist/magma-components/p-771720b7.entry.js +18 -0
- package/dist/magma-components/p-7a7c308b.entry.js +1 -0
- package/dist/magma-components/p-7bea6c05.system.entry.js +10 -0
- package/dist/magma-components/p-7c940015.system.entry.js +1 -0
- package/dist/magma-components/p-7ca990d4.system.entry.js +11 -0
- package/dist/magma-components/p-7d6ca97d.system.entry.js +7 -0
- package/dist/magma-components/p-7ffda4f5.entry.js +1 -0
- package/dist/magma-components/p-8097dfc8.system.entry.js +7 -0
- package/dist/magma-components/p-809adece.system.entry.js +17 -0
- package/dist/magma-components/p-843ab1b4.entry.js +1 -0
- package/dist/magma-components/p-87026d34.entry.js +1 -0
- package/dist/magma-components/p-8765dc11.entry.js +1 -0
- package/dist/magma-components/p-876a5fb9.system.entry.js +1 -0
- package/dist/magma-components/p-87faaa8e.system.entry.js +16 -0
- package/dist/magma-components/p-8a838a1a.entry.js +1 -0
- package/dist/magma-components/p-8bcb2a5f.entry.js +1 -0
- package/dist/magma-components/p-8c93550d.entry.js +1 -0
- package/dist/magma-components/p-8ca1d30d.system.entry.js +1 -0
- package/dist/magma-components/p-8yWTOQiz.js +1 -0
- package/dist/magma-components/p-91451e37.system.entry.js +913 -0
- package/dist/magma-components/p-91c4015f.system.entry.js +4 -0
- package/dist/magma-components/p-91c8960a.system.entry.js +1 -0
- package/dist/magma-components/p-932620b6.entry.js +1 -0
- package/dist/magma-components/p-939da879.system.entry.js +8 -0
- package/dist/magma-components/p-97bde480.entry.js +1 -0
- package/dist/magma-components/p-97d02403.entry.js +1 -0
- package/dist/magma-components/p-983f3e40.entry.js +1 -0
- package/dist/magma-components/p-99227c78.system.entry.js +11 -0
- package/dist/magma-components/p-9a583f6b.system.entry.js +1 -0
- package/dist/magma-components/p-9a86e0ce.system.entry.js +1 -0
- package/dist/magma-components/p-9d1cdb42.system.entry.js +15 -0
- package/dist/magma-components/p-9e5982b6.entry.js +1 -0
- package/dist/magma-components/p-9eb1e154.system.entry.js +14 -0
- package/dist/magma-components/p-9eef2f79.entry.js +1 -0
- package/dist/magma-components/p-9fe14430.system.entry.js +7 -0
- package/dist/magma-components/p-9fe7035a.entry.js +1 -0
- package/dist/magma-components/p-BPNsbMrg.system.js +67 -0
- package/dist/magma-components/p-BS7eEvwu.system.js +17 -0
- package/dist/magma-components/p-BTF_aRDG.system.js +231 -0
- package/dist/magma-components/p-BpVYIPkx.js +1 -0
- package/dist/magma-components/p-BxPbQB28.js +3 -0
- package/dist/magma-components/p-CKfEQ187.system.js +107 -0
- package/dist/magma-components/p-CdsZyFQ-.system.js +10 -0
- package/dist/magma-components/p-DaONbL_w.system.js +162 -0
- package/dist/magma-components/p-Kv1yahtR.js +5 -0
- package/dist/magma-components/p-ZDRIVCAt.system.js +5 -0
- package/dist/magma-components/p-a0972ec9.entry.js +1 -0
- package/dist/magma-components/p-a0d9e01f.system.entry.js +1 -0
- package/dist/magma-components/p-a1851e6f.entry.js +1 -0
- package/dist/magma-components/p-a1b5bd58.entry.js +1 -0
- package/dist/magma-components/p-a2d9549d.system.entry.js +32 -0
- package/dist/magma-components/p-a5a13b20.entry.js +1 -0
- package/dist/magma-components/p-a6a71c77.entry.js +1 -0
- package/dist/magma-components/p-a96312c1.entry.js +1 -0
- package/dist/magma-components/p-a9e4efa3.entry.js +1 -0
- package/dist/magma-components/p-aa0bd826.entry.js +1 -0
- package/dist/magma-components/p-aa74169f.system.entry.js +1 -0
- package/dist/magma-components/p-ab4ffbd4.system.entry.js +68 -0
- package/dist/magma-components/p-ad09a06b.entry.js +1 -0
- package/dist/magma-components/p-ad9cb1f5.entry.js +1 -0
- package/dist/magma-components/p-aed8b119.entry.js +1 -0
- package/dist/magma-components/p-afbef2fc.entry.js +1 -0
- package/dist/magma-components/p-b183d698.system.entry.js +16 -0
- package/dist/magma-components/p-b49196da.entry.js +1 -0
- package/dist/magma-components/p-b77a2832.entry.js +1 -0
- package/dist/magma-components/p-b925c109.system.entry.js +14 -0
- package/dist/magma-components/p-b9e3281a.system.entry.js +72 -0
- package/dist/magma-components/p-bb0538b6.entry.js +1 -0
- package/dist/magma-components/p-bb055583.entry.js +1 -0
- package/dist/magma-components/p-bba04b08.system.entry.js +14 -0
- package/dist/magma-components/p-bc6a41a9.system.entry.js +1 -0
- package/dist/magma-components/p-bd9324f3.system.entry.js +1 -0
- package/dist/magma-components/p-c48e3460.entry.js +1 -0
- package/dist/magma-components/p-c4beed1b.entry.js +1 -0
- package/dist/magma-components/p-c4ccb710.entry.js +1 -0
- package/dist/magma-components/p-c4e4ba90.system.entry.js +38 -0
- package/dist/magma-components/p-c573e136.entry.js +1 -0
- package/dist/magma-components/p-c5ad848f.entry.js +1 -0
- package/dist/magma-components/p-c6841b21.entry.js +1 -0
- package/dist/magma-components/p-c89a44b2.entry.js +1 -0
- package/dist/magma-components/p-c94575de.entry.js +1 -0
- package/dist/magma-components/p-cabe9133.system.entry.js +4 -0
- package/dist/magma-components/p-cb2c5f1b.entry.js +1 -0
- package/dist/magma-components/p-cb571b55.system.entry.js +1 -0
- package/dist/magma-components/p-cbc0f01f.system.entry.js +17 -0
- package/dist/magma-components/p-cc1ee10a.system.entry.js +20 -0
- package/dist/magma-components/p-cd1dc29a.entry.js +1 -0
- package/dist/magma-components/p-cd5cf28b.system.entry.js +1 -0
- package/dist/magma-components/p-cd952369.entry.js +1 -0
- package/dist/magma-components/p-d35aebe5.entry.js +1 -0
- package/dist/magma-components/p-d5e53364.system.entry.js +1 -0
- package/dist/magma-components/p-d74fa7af.entry.js +1 -0
- package/dist/magma-components/p-d7515aae.entry.js +1 -0
- package/dist/magma-components/p-d7a94afb.system.entry.js +7 -0
- package/dist/magma-components/p-d93c9a11.system.entry.js +89 -0
- package/dist/magma-components/p-d9fbbf3f.entry.js +1 -0
- package/dist/magma-components/p-db492cf5.system.entry.js +13 -0
- package/dist/magma-components/p-dc06b29e.entry.js +1 -0
- package/dist/magma-components/p-dc399372.entry.js +1 -0
- package/dist/magma-components/p-dc7bada4.entry.js +1 -0
- package/dist/magma-components/p-dcf841d5.entry.js +1 -0
- package/dist/magma-components/p-dfb4a965.system.entry.js +28 -0
- package/dist/magma-components/p-e1a91e9e.system.entry.js +1 -0
- package/dist/magma-components/p-e2ef1d6f.entry.js +1 -0
- package/dist/magma-components/p-e5438280.system.entry.js +10 -0
- package/dist/magma-components/p-e8cd2b93.system.entry.js +4 -0
- package/dist/magma-components/p-e95f2a48.entry.js +1 -0
- package/dist/magma-components/p-eb113725.system.entry.js +1 -0
- package/dist/magma-components/p-ec5eccbb.entry.js +1 -0
- package/dist/magma-components/p-eca99a0a.system.entry.js +1 -0
- package/dist/magma-components/p-ed897f9f.entry.js +1 -0
- package/dist/magma-components/p-eea815ca.system.entry.js +16 -0
- package/dist/magma-components/p-ef4cd904.system.entry.js +16 -0
- package/dist/magma-components/p-eff1fd6c.system.entry.js +15 -0
- package/dist/magma-components/p-eff38775.entry.js +1 -0
- package/dist/magma-components/p-f01874a8.entry.js +1 -0
- package/dist/magma-components/p-f05d7005.entry.js +1 -0
- package/dist/magma-components/p-f0c67a70.system.entry.js +15 -0
- package/dist/magma-components/p-f215496c.entry.js +1 -0
- package/dist/magma-components/p-f28cfb33.system.entry.js +4 -0
- package/dist/magma-components/p-f3dbebdd.system.entry.js +27 -0
- package/dist/magma-components/p-f65e29e0.system.entry.js +1 -0
- package/dist/magma-components/p-f830793e.entry.js +1 -0
- package/dist/magma-components/p-f835c307.system.entry.js +7 -0
- package/dist/magma-components/p-f89c3a01.system.entry.js +32 -0
- package/dist/magma-components/p-f8da21a1.system.entry.js +3 -0
- package/dist/magma-components/p-f8eb19b3.entry.js +1 -0
- package/dist/magma-components/p-f8feee93.system.entry.js +4 -0
- package/dist/magma-components/p-f97b4ff4.system.entry.js +16 -0
- package/dist/magma-components/p-fc8f8a0c.entry.js +1 -0
- package/dist/magma-components/p-fcaa5967.entry.js +18 -0
- package/dist/magma-components/p-ff970859.system.entry.js +30 -0
- package/dist/magma-components/p-hVpoPUxI.system.js +58 -0
- package/dist/magma-components/p-wI0alRSO.js +1 -0
- package/dist/stats.json +3235 -2557
- package/dist/types/common/form.d.ts +8 -1
- package/dist/types/common/navigation.d.ts +32 -0
- package/dist/types/common/preference.d.ts +1 -1
- package/dist/types/common/validity/index.d.ts +22 -0
- package/dist/types/components/mds-button/mds-button.d.ts +32 -2
- package/dist/types/components/mds-button-dropdown/mds-button-dropdown.d.ts +23 -1
- package/dist/types/components/mds-input/mds-input.d.ts +41 -2
- package/dist/types/components/mds-input/meta/validators.d.ts +22 -0
- package/dist/types/components/mds-input/meta/validity.d.ts +14 -0
- package/dist/types/components/mds-input-date/mds-input-date.d.ts +38 -0
- package/dist/types/components/mds-input-date-range/mds-input-date-range.d.ts +26 -0
- package/dist/types/components/mds-input-otp/mds-input-otp.d.ts +21 -2
- package/dist/types/components/mds-input-range/mds-input-range.d.ts +8 -1
- package/dist/types/components/mds-input-select/mds-input-select.d.ts +41 -4
- package/dist/types/components/mds-input-select/meta/event-detail.d.ts +8 -0
- package/dist/types/components/mds-input-switch/mds-input-switch.d.ts +17 -0
- package/dist/types/components/mds-input-upload/mds-input-upload.d.ts +27 -5
- package/dist/types/components/mds-keyboard-key/meta/icons.d.ts +1 -1
- package/dist/types/components/mds-pref-animation/mds-pref-animation.d.ts +10 -1
- package/dist/types/components/mds-pref-consumption/mds-pref-consumption.d.ts +10 -1
- package/dist/types/components/mds-pref-contrast/mds-pref-contrast.d.ts +10 -1
- package/dist/types/components/mds-pref-mode/mds-pref-mode.d.ts +10 -1
- package/dist/types/components/mds-tab/mds-tab.d.ts +6 -1
- package/dist/types/components/mds-tab-item/mds-tab-item.d.ts +6 -1
- package/dist/types/components/mds-table-row/mds-table-row.d.ts +3 -2
- package/dist/types/components.d.ts +106 -23
- package/dist/types/index.d.ts +12 -4
- package/package.json +27 -14
- package/dist/cjs/floating-controller-Cd_vNLLD.js +0 -369
- package/dist/cjs/form-DTCBh5WK.js +0 -22
- package/dist/cjs/index--6wz7eWi.js +0 -5183
- package/dist/cjs/locale-CB5_Z7PE.js +0 -816
- package/dist/cjs/preference-eJcbLLAn.js +0 -389
- package/dist/components/p-6K9sFzLr.js +0 -1
- package/dist/components/p-A9TZf0Ii.js +0 -1
- package/dist/components/p-BBhbQT2f.js +0 -1
- package/dist/components/p-BFpRu7yD.js +0 -1
- package/dist/components/p-BL63WAAq.js +0 -8
- package/dist/components/p-BNHXZ-JR.js +0 -1
- package/dist/components/p-BShLEry5.js +0 -1
- package/dist/components/p-BSxuG1vZ.js +0 -1
- package/dist/components/p-BTHR4xXu.js +0 -1
- package/dist/components/p-BYxxgEE_.js +0 -1
- package/dist/components/p-BZFyAX-6.js +0 -1
- package/dist/components/p-BhFTcUD0.js +0 -3
- package/dist/components/p-Bss3F51Q.js +0 -5
- package/dist/components/p-BtMdmkID.js +0 -1
- package/dist/components/p-ByaUOMp0.js +0 -1
- package/dist/components/p-C1xZO_fq.js +0 -1
- package/dist/components/p-C58NKMEE.js +0 -1
- package/dist/components/p-C6Q4zFh6.js +0 -1
- package/dist/components/p-CUQ7WIXh.js +0 -1
- package/dist/components/p-CVpjH8Un.js +0 -1
- package/dist/components/p-Cd_8zD_I.js +0 -1
- package/dist/components/p-CnAeawmf.js +0 -1
- package/dist/components/p-CvIFS8oA.js +0 -1
- package/dist/components/p-DCrjf0F0.js +0 -1
- package/dist/components/p-DlHJvYE7.js +0 -1
- package/dist/components/p-DlaJNPdd.js +0 -1
- package/dist/components/p-DnrQaRnh.js +0 -1
- package/dist/components/p-OPg_Naue.js +0 -1
- package/dist/components/p-RS4yyl41.js +0 -1
- package/dist/components/p-gv3eu44S.js +0 -1
- package/dist/components/p-kff6xSdW.js +0 -1
- package/dist/components/p-pys1EQ60.js +0 -1
- package/dist/components/p-qketFgr0.js +0 -1
- package/dist/components/p-wq6nWuWE.js +0 -1
- package/dist/components/p-zml3K7nx.js +0 -1
- package/dist/esm/floating-controller-DVldZ5mh.js +0 -366
- package/dist/esm/form-A9TZf0Ii.js +0 -19
- package/dist/esm/index-DIiEV39g.js +0 -5149
- package/dist/esm/locale-CbJbTW_c.js +0 -814
- package/dist/esm/preference-CKerJx2M.js +0 -385
- package/dist/esm-es5/floating-controller-DVldZ5mh.js +0 -66
- package/dist/esm-es5/form-A9TZf0Ii.js +0 -8
- package/dist/esm-es5/index-DIiEV39g.js +0 -371
- package/dist/esm-es5/locale-CbJbTW_c.js +0 -230
- package/dist/esm-es5/preference-CKerJx2M.js +0 -58
- package/dist/magma-components/p-005172ba.entry.js +0 -1
- package/dist/magma-components/p-05fa40aa.system.entry.js +0 -10
- package/dist/magma-components/p-071f18c6.system.entry.js +0 -27
- package/dist/magma-components/p-0798b0bf.system.entry.js +0 -24
- package/dist/magma-components/p-0827a5bd.entry.js +0 -1
- package/dist/magma-components/p-086fb3aa.entry.js +0 -1
- package/dist/magma-components/p-0a088e7d.system.entry.js +0 -10
- package/dist/magma-components/p-0a691082.entry.js +0 -1
- package/dist/magma-components/p-0ec21574.system.entry.js +0 -10
- package/dist/magma-components/p-0f6bb54d.system.entry.js +0 -22
- package/dist/magma-components/p-102d3bd3.system.entry.js +0 -1
- package/dist/magma-components/p-10704ede.system.entry.js +0 -4
- package/dist/magma-components/p-15c77a98.system.entry.js +0 -19
- package/dist/magma-components/p-15f63bf3.entry.js +0 -1
- package/dist/magma-components/p-16e9fb14.system.entry.js +0 -7
- package/dist/magma-components/p-181dfb04.entry.js +0 -1
- package/dist/magma-components/p-184720be.system.entry.js +0 -1
- package/dist/magma-components/p-18473d2f.entry.js +0 -1
- package/dist/magma-components/p-18667ae7.system.entry.js +0 -13
- package/dist/magma-components/p-18f7b970.system.entry.js +0 -4
- package/dist/magma-components/p-19adde9d.entry.js +0 -1
- package/dist/magma-components/p-1afc0452.entry.js +0 -1
- package/dist/magma-components/p-1cce738a.system.entry.js +0 -32
- package/dist/magma-components/p-1df6ac96.system.entry.js +0 -7
- package/dist/magma-components/p-209063b6.system.entry.js +0 -50
- package/dist/magma-components/p-216f95cc.system.entry.js +0 -1
- package/dist/magma-components/p-21891a24.entry.js +0 -1
- package/dist/magma-components/p-21d6687a.system.entry.js +0 -7
- package/dist/magma-components/p-2217a7be.entry.js +0 -1
- package/dist/magma-components/p-231505e8.entry.js +0 -1
- package/dist/magma-components/p-2386f0d6.system.entry.js +0 -37
- package/dist/magma-components/p-23e61db9.system.entry.js +0 -4
- package/dist/magma-components/p-25935d33.system.entry.js +0 -1
- package/dist/magma-components/p-284c40cd.system.entry.js +0 -4
- package/dist/magma-components/p-29684655.system.entry.js +0 -16
- package/dist/magma-components/p-2b56fc14.entry.js +0 -1
- package/dist/magma-components/p-2b73fee6.entry.js +0 -1
- package/dist/magma-components/p-2d5aadba.system.entry.js +0 -7
- package/dist/magma-components/p-2de17848.entry.js +0 -1
- package/dist/magma-components/p-34482514.entry.js +0 -1
- package/dist/magma-components/p-34c0890e.entry.js +0 -1
- package/dist/magma-components/p-3635eca6.system.entry.js +0 -1
- package/dist/magma-components/p-3b0c1202.entry.js +0 -1
- package/dist/magma-components/p-3db23b5f.system.entry.js +0 -16
- package/dist/magma-components/p-3ec7d3ea.entry.js +0 -1
- package/dist/magma-components/p-3f747a63.system.entry.js +0 -1
- package/dist/magma-components/p-3ff30842.system.entry.js +0 -16
- package/dist/magma-components/p-40563e33.entry.js +0 -1
- package/dist/magma-components/p-41bf6f25.system.entry.js +0 -81
- package/dist/magma-components/p-421a630e.entry.js +0 -1
- package/dist/magma-components/p-4299b76b.system.entry.js +0 -4
- package/dist/magma-components/p-4543501c.entry.js +0 -1
- package/dist/magma-components/p-4616bc07.entry.js +0 -1
- package/dist/magma-components/p-46786d71.system.entry.js +0 -14
- package/dist/magma-components/p-470e5ac8.system.entry.js +0 -1
- package/dist/magma-components/p-48d37230.entry.js +0 -1
- package/dist/magma-components/p-49b120cb.system.entry.js +0 -13
- package/dist/magma-components/p-4af76eb3.entry.js +0 -1
- package/dist/magma-components/p-4b3a8132.system.entry.js +0 -13
- package/dist/magma-components/p-4ba6cb3f.entry.js +0 -1
- package/dist/magma-components/p-4c8316a8.entry.js +0 -1
- package/dist/magma-components/p-4c95442e.entry.js +0 -1
- package/dist/magma-components/p-4cadbd49.entry.js +0 -1
- package/dist/magma-components/p-4e4bdbf8.entry.js +0 -1
- package/dist/magma-components/p-4e5ab0e4.system.entry.js +0 -16
- package/dist/magma-components/p-4f107cb2.system.entry.js +0 -2838
- package/dist/magma-components/p-518b55f3.entry.js +0 -1
- package/dist/magma-components/p-56ad5bf2.entry.js +0 -1
- package/dist/magma-components/p-5eec629c.system.entry.js +0 -17
- package/dist/magma-components/p-5f545f85.system.entry.js +0 -1
- package/dist/magma-components/p-61a5ac3d.system.entry.js +0 -17
- package/dist/magma-components/p-636cc471.entry.js +0 -1
- package/dist/magma-components/p-646034cb.system.entry.js +0 -27
- package/dist/magma-components/p-677ab154.system.entry.js +0 -3
- package/dist/magma-components/p-67d80d37.system.entry.js +0 -1
- package/dist/magma-components/p-6937f340.entry.js +0 -1
- package/dist/magma-components/p-6b7e449f.entry.js +0 -1
- package/dist/magma-components/p-6c417ea1.system.entry.js +0 -913
- package/dist/magma-components/p-6ce60d59.entry.js +0 -1
- package/dist/magma-components/p-6cf760ea.system.entry.js +0 -45
- package/dist/magma-components/p-6dc27543.entry.js +0 -1
- package/dist/magma-components/p-6de37588.entry.js +0 -1
- package/dist/magma-components/p-6f6b5eb5.entry.js +0 -1
- package/dist/magma-components/p-7090184f.entry.js +0 -1
- package/dist/magma-components/p-716ad14c.entry.js +0 -1
- package/dist/magma-components/p-71804224.entry.js +0 -1
- package/dist/magma-components/p-735dc594.system.entry.js +0 -1
- package/dist/magma-components/p-739fdf76.system.entry.js +0 -1
- package/dist/magma-components/p-74b0902a.entry.js +0 -1
- package/dist/magma-components/p-7530a2f2.entry.js +0 -1
- package/dist/magma-components/p-759133b3.entry.js +0 -1
- package/dist/magma-components/p-75dd012a.system.entry.js +0 -11
- package/dist/magma-components/p-76ae22d6.entry.js +0 -1
- package/dist/magma-components/p-78248693.entry.js +0 -1
- package/dist/magma-components/p-7912f877.entry.js +0 -1
- package/dist/magma-components/p-7c0d202c.entry.js +0 -1
- package/dist/magma-components/p-7d304fd4.system.entry.js +0 -65
- package/dist/magma-components/p-7f6d708c.system.entry.js +0 -41
- package/dist/magma-components/p-81b72b6e.entry.js +0 -1
- package/dist/magma-components/p-859ab5a2.entry.js +0 -18
- package/dist/magma-components/p-88564e9b.system.entry.js +0 -14
- package/dist/magma-components/p-896ae0ee.entry.js +0 -1
- package/dist/magma-components/p-89a3bc7a.system.entry.js +0 -16
- package/dist/magma-components/p-8b1abf81.system.entry.js +0 -32
- package/dist/magma-components/p-8bbee38d.entry.js +0 -1
- package/dist/magma-components/p-8bf680d6.system.entry.js +0 -15
- package/dist/magma-components/p-8cb3a071.system.entry.js +0 -15
- package/dist/magma-components/p-8dff6606.system.entry.js +0 -11
- package/dist/magma-components/p-8e40eda3.system.entry.js +0 -9
- package/dist/magma-components/p-8f229eaf.entry.js +0 -1
- package/dist/magma-components/p-91b9d4e7.system.entry.js +0 -4
- package/dist/magma-components/p-92e1001f.entry.js +0 -1
- package/dist/magma-components/p-9378b373.system.entry.js +0 -49
- package/dist/magma-components/p-94fa3396.system.entry.js +0 -47
- package/dist/magma-components/p-9741d95e.system.entry.js +0 -7
- package/dist/magma-components/p-97ea9e6e.system.entry.js +0 -68
- package/dist/magma-components/p-9846fe89.system.entry.js +0 -1
- package/dist/magma-components/p-998721b9.system.entry.js +0 -1
- package/dist/magma-components/p-9a5296c0.system.entry.js +0 -7
- package/dist/magma-components/p-9bbd4193.system.entry.js +0 -102
- package/dist/magma-components/p-9be4a736.entry.js +0 -1
- package/dist/magma-components/p-9caffe14.entry.js +0 -1
- package/dist/magma-components/p-9d86477d.system.entry.js +0 -1
- package/dist/magma-components/p-9de1ac7f.entry.js +0 -1
- package/dist/magma-components/p-9e3bc553.system.entry.js +0 -26
- package/dist/magma-components/p-9e58467e.system.entry.js +0 -10
- package/dist/magma-components/p-9e9a1ebd.system.entry.js +0 -15
- package/dist/magma-components/p-A9TZf0Ii.js +0 -1
- package/dist/magma-components/p-BFnx_0hM.js +0 -5
- package/dist/magma-components/p-BbMKuVem.js +0 -1
- package/dist/magma-components/p-C2FHijr2.system.js +0 -231
- package/dist/magma-components/p-CDTiTqY0.system.js +0 -58
- package/dist/magma-components/p-CI85vVs8.system.js +0 -9
- package/dist/magma-components/p-CnXBPjmc.system.js +0 -5
- package/dist/magma-components/p-DB8Rm54c.js +0 -1
- package/dist/magma-components/p-DIiEV39g.js +0 -3
- package/dist/magma-components/p-DVd2EM-q.system.js +0 -90
- package/dist/magma-components/p-DmC-b-ZK.system.js +0 -67
- package/dist/magma-components/p-MGv0i39Y.system.js +0 -162
- package/dist/magma-components/p-a15da479.system.entry.js +0 -8
- package/dist/magma-components/p-a3b0f586.entry.js +0 -1
- package/dist/magma-components/p-a93b2a39.entry.js +0 -1
- package/dist/magma-components/p-aa267e7b.entry.js +0 -1
- package/dist/magma-components/p-ab9095ae.system.entry.js +0 -4
- package/dist/magma-components/p-ab997243.system.entry.js +0 -4
- package/dist/magma-components/p-ace198e9.entry.js +0 -1
- package/dist/magma-components/p-ad3983b2.entry.js +0 -1
- package/dist/magma-components/p-aea6081f.entry.js +0 -1
- package/dist/magma-components/p-af41c8b8.system.entry.js +0 -1
- package/dist/magma-components/p-af45f0a5.system.entry.js +0 -20
- package/dist/magma-components/p-b0539d61.system.entry.js +0 -32
- package/dist/magma-components/p-b35c26f8.entry.js +0 -18
- package/dist/magma-components/p-b3a3578c.entry.js +0 -1
- package/dist/magma-components/p-b49e0321.system.entry.js +0 -1
- package/dist/magma-components/p-b71e0d51.entry.js +0 -1
- package/dist/magma-components/p-b8d4a14e.entry.js +0 -1
- package/dist/magma-components/p-ba035f90.entry.js +0 -1
- package/dist/magma-components/p-bc51d310.system.entry.js +0 -1
- package/dist/magma-components/p-bd490a8e.entry.js +0 -1
- package/dist/magma-components/p-be198039.system.entry.js +0 -4
- package/dist/magma-components/p-bf7168b4.entry.js +0 -1
- package/dist/magma-components/p-bf84d9fa.entry.js +0 -1
- package/dist/magma-components/p-c4e58240.entry.js +0 -1
- package/dist/magma-components/p-c573de10.entry.js +0 -1
- package/dist/magma-components/p-c6be3db7.system.entry.js +0 -1
- package/dist/magma-components/p-c7517884.system.entry.js +0 -38
- package/dist/magma-components/p-c9be79bd.entry.js +0 -1
- package/dist/magma-components/p-c9e12c2b.system.entry.js +0 -7
- package/dist/magma-components/p-cb6a1908.entry.js +0 -1
- package/dist/magma-components/p-cbd5aef4.system.entry.js +0 -14
- package/dist/magma-components/p-cc033985.system.entry.js +0 -14
- package/dist/magma-components/p-cd21137b.system.entry.js +0 -1
- package/dist/magma-components/p-cd84a264.system.entry.js +0 -41
- package/dist/magma-components/p-d0457835.entry.js +0 -1
- package/dist/magma-components/p-d3116844.entry.js +0 -1
- package/dist/magma-components/p-d38165ed.system.entry.js +0 -1
- package/dist/magma-components/p-d3933a22.entry.js +0 -1
- package/dist/magma-components/p-d44c49d6.system.entry.js +0 -8
- package/dist/magma-components/p-d4a529ce.entry.js +0 -1
- package/dist/magma-components/p-d64311e2.entry.js +0 -1
- package/dist/magma-components/p-d6d4aa1a.entry.js +0 -1
- package/dist/magma-components/p-d81e7100.system.entry.js +0 -15
- package/dist/magma-components/p-d8c27f4b.entry.js +0 -1
- package/dist/magma-components/p-d921d876.entry.js +0 -1
- package/dist/magma-components/p-da1ac3e1.entry.js +0 -1
- package/dist/magma-components/p-da4dc390.system.entry.js +0 -4
- package/dist/magma-components/p-dda7a33b.entry.js +0 -1
- package/dist/magma-components/p-de6bc3c8.entry.js +0 -1
- package/dist/magma-components/p-df2b7607.system.entry.js +0 -4
- package/dist/magma-components/p-e0b2ef8f.system.entry.js +0 -1
- package/dist/magma-components/p-e0c50a2d.entry.js +0 -1
- package/dist/magma-components/p-e1277efe.system.entry.js +0 -1
- package/dist/magma-components/p-e1e6dd97.entry.js +0 -1
- package/dist/magma-components/p-e2f7a9bd.system.entry.js +0 -1
- package/dist/magma-components/p-e375c8b1.entry.js +0 -1
- package/dist/magma-components/p-e3fce8ca.entry.js +0 -1
- package/dist/magma-components/p-e5c6f9a9.system.entry.js +0 -7
- package/dist/magma-components/p-e5da7036.entry.js +0 -1
- package/dist/magma-components/p-e6dccab5.system.entry.js +0 -1
- package/dist/magma-components/p-e9a16f22.system.entry.js +0 -134
- package/dist/magma-components/p-ea0091b6.entry.js +0 -1
- package/dist/magma-components/p-ec00defc.system.entry.js +0 -13
- package/dist/magma-components/p-ec59ec9a.entry.js +0 -1
- package/dist/magma-components/p-eddcef53.system.entry.js +0 -1
- package/dist/magma-components/p-edfb0d7a.entry.js +0 -1
- package/dist/magma-components/p-eed00e7f.system.entry.js +0 -1
- package/dist/magma-components/p-ef8cb401.entry.js +0 -1
- package/dist/magma-components/p-f070a5b5.system.entry.js +0 -11
- package/dist/magma-components/p-f23d4974.entry.js +0 -1
- package/dist/magma-components/p-f542246f.system.entry.js +0 -1
- package/dist/magma-components/p-f5c680dd.entry.js +0 -1
- package/dist/magma-components/p-f60c6e8e.system.entry.js +0 -40
- package/dist/magma-components/p-f8369939.entry.js +0 -1
- package/dist/magma-components/p-f97ede3e.system.entry.js +0 -19
- package/dist/magma-components/p-f97ff5b2.entry.js +0 -1
- package/dist/magma-components/p-f9d9cf7c.system.entry.js +0 -11
- package/dist/magma-components/p-fa163e86.entry.js +0 -1
- package/dist/magma-components/p-fe1662e8.system.entry.js +0 -28
- package/dist/magma-components/p-fe19080a.entry.js +0 -8
- package/dist/magma-components/p-ff133cbd.entry.js +0 -1
- package/dist/magma-components/p-ff49fb35.entry.js +0 -1
- package/dist/magma-components/p-fff44704.entry.js +0 -1
package/dist/esm-es5/index.js
CHANGED
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
var __awaiter=this&&this.__awaiter||function(t,
|
|
1
|
+
var __awaiter=this&&this.__awaiter||function(e,t,n,r){function i(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function u(e){try{f(r.next(e))}catch(e){o(e)}}function a(e){try{f(r["throw"](e))}catch(e){o(e)}}function f(e){e.done?n(e.value):i(e.value).then(u,a)}f((r=r.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},r,i,o,u=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return u.next=a(0),u["throw"]=a(1),u["return"]=a(2),typeof Symbol==="function"&&(u[Symbol.iterator]=function(){return this}),u;function a(e){return function(t){return f([e,t])}}function f(a){if(r)throw new TypeError("Generator is already executing.");while(u&&(u=0,a[0]&&(n=0)),n)try{if(r=1,i&&(o=a[0]&2?i["return"]:a[0]?i["throw"]||((o=i["return"])&&o.call(i),0):i.next)&&!(o=o.call(i,a[1])).done)return o;if(i=0,o)a=[a[0]&2,o.value];switch(a[0]){case 0:case 1:o=a;break;case 4:n.label++;return{value:a[1],done:false};case 5:n.label++;i=a[1];a=[0];continue;case 7:a=n.ops.pop();n.trys.pop();continue;default:if(!(o=n.trys,o=o.length>0&&o[o.length-1])&&(a[0]===6||a[0]===2)){n=0;continue}if(a[0]===3&&(!o||a[1]>o[0]&&a[1]<o[3])){n.label=a[1];break}if(a[0]===6&&n.label<o[1]){n.label=o[1];o=a;break}if(o&&n.label<o[2]){n.label=o[2];n.ops.push(a);break}if(o[2])n.ops.pop();n.trys.pop();continue}a=t.call(e,n)}catch(e){a=[6,e];i=0}finally{r=o=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:true}}};import{B as Build}from"./index-BxPbQB28.js";function promisifyRequest(e){return new Promise((function(t,n){
|
|
2
2
|
// @ts-ignore - file size hacks
|
|
3
|
-
|
|
3
|
+
e.oncomplete=e.onsuccess=function(){return t(e.result)};
|
|
4
4
|
// @ts-ignore - file size hacks
|
|
5
|
-
|
|
5
|
+
e.onabort=e.onerror=function(){return n(e.error)}}))}function createStore(e,t){var n;var r=function(){if(n)return n;var r=indexedDB.open(e);r.onupgradeneeded=function(){return r.result.createObjectStore(t)};n=promisifyRequest(r);n.then((function(e){
|
|
6
6
|
// It seems like Safari sometimes likes to just close the connection.
|
|
7
7
|
// It's supposed to fire this event when that happens. Let's hope it does!
|
|
8
|
-
|
|
8
|
+
e.onclose=function(){return n=undefined}}),(function(){n=undefined}));return n};return function(e,n){return r().then((function(r){return n(r.transaction(t,e).objectStore(t))}))}}var defaultGetStoreFunc;function defaultGetStore(){if(!defaultGetStoreFunc){defaultGetStoreFunc=createStore("keyval-store","keyval")}return defaultGetStoreFunc}
|
|
9
9
|
/**
|
|
10
10
|
* Get a value by its key.
|
|
11
11
|
*
|
|
12
12
|
* @param key
|
|
13
13
|
* @param customStore Method to get a custom store. Use with caution (see the docs).
|
|
14
|
-
*/function get(t
|
|
14
|
+
*/function get(e,t){if(t===void 0){t=defaultGetStore()}return t("readonly",(function(t){return promisifyRequest(t.get(e))}))}
|
|
15
15
|
/**
|
|
16
16
|
* Set a value with a key.
|
|
17
17
|
*
|
|
18
18
|
* @param key
|
|
19
19
|
* @param value
|
|
20
20
|
* @param customStore Method to get a custom store. Use with caution (see the docs).
|
|
21
|
-
*/function set(t,
|
|
21
|
+
*/function set(e,t,n){if(n===void 0){n=defaultGetStore()}return n("readwrite",(function(n){n.put(t,e);return promisifyRequest(n.transaction)}))}
|
|
22
22
|
/**
|
|
23
23
|
* Delete a particular key from the store.
|
|
24
24
|
*
|
|
25
25
|
* @param key
|
|
26
26
|
* @param customStore Method to get a custom store. Use with caution (see the docs).
|
|
27
|
-
*/function del(t
|
|
27
|
+
*/function del(e,t){if(t===void 0){t=defaultGetStore()}return t("readwrite",(function(t){t.delete(e);return promisifyRequest(t.transaction)}))}var MdsIconSet=/** @class */function(){
|
|
28
28
|
/**
|
|
29
29
|
* Create a new icon set. Icon sets have a name (ie, a namespace). For
|
|
30
30
|
* example, an icon with a name of "rh-logo" represents a "logo" icon from the
|
|
@@ -36,27 +36,27 @@ t.onclose=function(){return n=undefined}}),(function(){n=undefined}));return n};
|
|
|
36
36
|
* @param resolveIconName an optional function to combine the path and an icon name into a final path. The function will be passed the namespaced icon name (for example, "rh-api" where rh is the namespace and api is the individual icon's name)
|
|
37
37
|
* @returns an object with the status of the icon set installation, such as `{ result: true, text: 'icon set installed' }` or `{ result: false, text: 'icon set is already installed' }`
|
|
38
38
|
*/
|
|
39
|
-
function
|
|
39
|
+
function e(e,t,n){this.name=e;this.path=t;this._resolveIconName=n}
|
|
40
40
|
/**
|
|
41
41
|
* Run the icon set's name resolver to turn an icon name into an icon path, id, etc.
|
|
42
|
-
*/
|
|
42
|
+
*/e.prototype.resolveIconName=function(e){
|
|
43
43
|
// console.log(`resolveIconName - iconName: ${iconName} | name: ${this.name} | path: ${this.path}`)
|
|
44
|
-
return this._resolveIconName(
|
|
44
|
+
return this._resolveIconName(e,this.name,this.path)};Object.defineProperty(e.prototype,"resolver",{get:function(){return this._resolveIconName},enumerable:false,configurable:true});return e}();
|
|
45
45
|
// Shared, cross-realm key for the configured SVG base path. Stencil emits several bundled
|
|
46
46
|
// copies of this singleton (lazy chunks, the esm/esm-es5 variants, dist/components, and the
|
|
47
47
|
// public `services` entry); `Symbol.for` returns the same symbol in every copy, so storing
|
|
48
48
|
// the path under it on `globalThis` gives them all one source of truth.
|
|
49
|
-
var SVG_PATH_GLOBAL=Symbol.for("@maggioli-design-system/magma:mdsIconSvgPath");var IconsSetController=/** @class */function(){function
|
|
49
|
+
var SVG_PATH_GLOBAL=Symbol.for("@maggioli-design-system/magma:mdsIconSvgPath");var IconsSetController=/** @class */function(){function e(){var e=this;this._svgPathKey="mdsIconSvgPath";this._iconsSets=new Map;this._svgPathUpdate="mdsIconSvgPathUpdate";this.cacheExp=60*60*1e3*24;this.listeners=new Set;this.memoryCache={};
|
|
50
50
|
// Try to retrieve svg from cache
|
|
51
|
-
this.isCacheAvailable=function(
|
|
51
|
+
this.isCacheAvailable=function(t){return __awaiter(e,void 0,void 0,(function(){var e,n,r;return __generator(this,(function(i){switch(i.label){case 0:
|
|
52
52
|
// idb-keyval requires indexedDB, missing in the hydrate/SSR runtime
|
|
53
|
-
if(typeof indexedDB==="undefined"){return[2/*return*/,false]}i.label=1;case 1:i.trys.push([1,3,,4]);return[4/*yield*/,get("loader_".concat(
|
|
53
|
+
if(typeof indexedDB==="undefined"){return[2/*return*/,false]}i.label=1;case 1:i.trys.push([1,3,,4]);return[4/*yield*/,get("loader_".concat(t))];case 2:e=i.sent();if(!e){return[2/*return*/,false]}n=JSON.parse(e);if(Date.now()<n.expiry){return[2/*return*/,n.data]}del("loader_".concat(t));return[2/*return*/,false];case 3:r=i.sent();console.error("isCacheAvailable error",r);return[2/*return*/,false];case 4:return[2/*return*/]}}))}))};
|
|
54
54
|
// Set svg to cache
|
|
55
|
-
this.setCache=function(
|
|
55
|
+
this.setCache=function(t,n){return __awaiter(e,void 0,void 0,(function(){var e;return __generator(this,(function(r){switch(r.label){case 0:if(typeof indexedDB==="undefined"){return[2/*return*/]}r.label=1;case 1:r.trys.push([1,3,,4]);return[4/*yield*/,set("loader_".concat(t),JSON.stringify({data:n,expiry:Date.now()+this.cacheExp}))];case 2:r.sent();return[3/*break*/,4];case 3:e=r.sent();console.error("setCache error",e);return[3/*break*/,4];case 4:return[2/*return*/]}}))}))};this.setUpListener()}Object.defineProperty(e.prototype,"_svgPath",{
|
|
56
56
|
// Backed by `globalThis` (see SVG_PATH_GLOBAL) rather than an instance field, so that every
|
|
57
57
|
// bundled copy of this singleton reads/writes the same path and stays in sync regardless of
|
|
58
58
|
// how the consumer imports the service. No sessionStorage involved.
|
|
59
|
-
get:function(){var
|
|
59
|
+
get:function(){var e;if(typeof globalThis==="undefined")return"";return(e=globalThis[SVG_PATH_GLOBAL])!==null&&e!==void 0?e:""},set:function(e){if(typeof globalThis==="undefined")return;globalThis[SVG_PATH_GLOBAL]=e},enumerable:false,configurable:true});e.prototype.addIconSet=function(e,t,n){var r=n;var i=this._iconsSets.get(e);if(!r&&i&&typeof i.resolver==="function"){r=i.resolver}else if(r&&typeof r!=="function"){console.error("MdsIconSvg: the third input of addIconSet should be a function that parses and returns the icons's filename.");return false}else if(!r){console.error("MdsIconSvg: the set ".concat(e," needs a resolve function for the icon names."));return false}this._iconsSets.set(e,new MdsIconSet(e,t,r));return true};e.prototype.getIconSet=function(e){if(!e)return{set:null};return{set:this._iconsSets.get(e.split("/")[0])}};
|
|
60
60
|
/**
|
|
61
61
|
* Sets the directory of the svg files. Query and fragment are dropped: the icon name is
|
|
62
62
|
* appended to the path.
|
|
@@ -72,11 +72,11 @@ get:function(){var t;if(typeof globalThis==="undefined")return"";return(t=global
|
|
|
72
72
|
*
|
|
73
73
|
* input path: empty or not a URL
|
|
74
74
|
* throw error
|
|
75
|
-
*/
|
|
75
|
+
*/e.prototype.setSvgPath=function(e){var t=Error("Svg path not recognize ".concat(e,", ensure is a absolute path starting with '/' or a url"));if(typeof e!=="string"||e.trim()===""){throw t}var n=e.trim();
|
|
76
76
|
// a host with a port and no scheme (`localhost:9000/svg/`) would be read as the scheme `localhost:`
|
|
77
77
|
var r=/^[\w.-]+:\d+(\/|$)/.test(n)?"//".concat(n):n;var i;try{
|
|
78
78
|
// the placeholder base only validates a path, which is kept as it is
|
|
79
|
-
i=new URL(r,"http://localhost/")}catch(
|
|
79
|
+
i=new URL(r,"http://localhost/")}catch(e){throw t}if(typeof window!=="undefined"){if(/^[a-z][a-z\d+.-]*:/i.test(r)){i.search="";i.hash="";this._svgPath=i.href}else{this._svgPath=r.replace(/[?#].*$/,"")}window.dispatchEvent(new Event(this._svgPathUpdate))}};e.prototype.getSvgPath=function(){return this._svgPath};e.prototype.registerListener=function(e){this.listeners.add(e)};e.prototype.unregisterListener=function(e){this.listeners.delete(e)};e.prototype.setUpListener=function(){var e=this;if(typeof window!=="undefined"){window.addEventListener(this._svgPathUpdate,(function(){for(var t=0,n=e.listeners;t<n.length;t++){var r=n[t];r()}}))}};e.prototype.fetchSvg=function(e){return __awaiter(this,void 0,void 0,(function(){var t,n,r,i,o,u,a,f;return __generator(this,(function(s){switch(s.label){case 0:
|
|
80
80
|
// No fetch during SSR: relative icon paths have no origin to resolve
|
|
81
81
|
// against, and the client re-fetches after hydration anyway. The empty
|
|
82
82
|
// icon causes no layout shift because mds-icon's :host reserves the box
|
|
@@ -84,7 +84,24 @@ i=new URL(r,"http://localhost/")}catch(t){throw e}if(typeof window!=="undefined"
|
|
|
84
84
|
// fetch, so they are excluded via isTesting.
|
|
85
85
|
if(Build.isServer&&!Build.isTesting){return[2/*return*/,""]}
|
|
86
86
|
// an icon without the attribute passes an undefined (or null) name: there is nothing to load
|
|
87
|
-
if(!
|
|
88
|
-
/* sessionStorage unavailable — ignore */}if(n){this.setSvgPath(n)}}r=this._svgPath&&!
|
|
87
|
+
if(!e){return[2/*return*/,""]}s.label=1;case 1:s.trys.push([1,5,,6]);if(!this._svgPath&&typeof window==="undefined"){throw Error("Cant find svgPath, ensure you set it")}if(!this._svgPath){n="";try{n=(t=window.sessionStorage.getItem(IconsSetService._svgPathKey))!==null&&t!==void 0?t:""}catch(e){
|
|
88
|
+
/* sessionStorage unavailable — ignore */}if(n){this.setSvgPath(n)}}r=this._svgPath&&!e.startsWith("http")?this._svgPath.concat(e,".svg"):e;
|
|
89
89
|
// Memory first: every instance of an icon already loaded skips the IndexedDB round-trip
|
|
90
|
-
if(this.memoryCache[r]){return[2/*return*/,this.memoryCache[r]]}return[4/*yield*/,this.isCacheAvailable(r)];case 2:i=
|
|
90
|
+
if(this.memoryCache[r]){return[2/*return*/,this.memoryCache[r]]}return[4/*yield*/,this.isCacheAvailable(r)];case 2:i=s.sent();if(i){this.memoryCache[r]=i;return[2/*return*/,i]}return[4/*yield*/,fetch(r)];case 3:o=s.sent();if(!o.ok){throw Error("Request for '".concat(r,"' returned ").concat(o.status," (").concat(o.statusText,")"))}return[4/*yield*/,o.text()];case 4:u=s.sent();a=u.toLowerCase().trim();if(!(a.startsWith("<svg")||a.startsWith("<?xml"))){throw Error("Resource '".concat(r,"' returned an invalid SVG file"))}this.setCache(r,u);this.memoryCache[r]=u;return[2/*return*/,u];case 5:f=s.sent();console.error("fetchSvg error",f);return[2/*return*/,""];case 6:return[2/*return*/]}}))}))};return e}();var IconsSetService=new IconsSetController;
|
|
91
|
+
// Shared, cross-realm slot for the registered handler. Stencil emits several bundled copies of
|
|
92
|
+
// this module (lazy chunks, dist/components, the public `services` entry); `Symbol.for` returns
|
|
93
|
+
// the same symbol in every copy, so storing the handler under it on `globalThis` gives them all
|
|
94
|
+
// one source of truth, whichever copy the consumer registered it through.
|
|
95
|
+
var HANDLER_GLOBAL=Symbol.for("@maggioli-design-system/magma:navigationHandler");var isPlainClick=function(e){return e.button===0&&!e.ctrlKey&&!e.metaKey&&!e.shiftKey&&!e.altKey};var isSameOrigin=function(e){if(typeof window==="undefined")return false;try{return new URL(e,document.baseURI).origin===window.location.origin}catch(e){return false}};var NavigationController=/** @class */function(){function e(){}Object.defineProperty(e.prototype,"handler",{get:function(){if(typeof globalThis==="undefined")return undefined;return globalThis[HANDLER_GLOBAL]},set:function(e){if(typeof globalThis==="undefined")return;globalThis[HANDLER_GLOBAL]=e},enumerable:false,configurable:true});
|
|
96
|
+
/**
|
|
97
|
+
* Registers the handler of the app, replacing the previous one; `undefined` removes it.
|
|
98
|
+
* Returns the function that removes this handler, for the cleanup of an effect.
|
|
99
|
+
*/e.prototype.setHandler=function(e){var t=this;this.handler=e;return function(){if(t.handler===e)t.handler=undefined}};e.prototype.getHandler=function(){return this.handler};
|
|
100
|
+
/**
|
|
101
|
+
* Whether the registered handler is to take this click on this link: there is one, the click
|
|
102
|
+
* is a plain one and the link stays on the origin of the page.
|
|
103
|
+
*/e.prototype.canHandle=function(e,t){return this.handler!==undefined&&isPlainClick(t)&&isSameOrigin(e)};
|
|
104
|
+
/**
|
|
105
|
+
* Hands the link to the registered handler. `true` when it took it; `false` when there is
|
|
106
|
+
* none or it declined, and the caller follows the link itself.
|
|
107
|
+
*/e.prototype.handle=function(e,t){var n=this.handler;if(n===undefined)return false;return n(e,t)!==false};return e}();var NavigationService=new NavigationController;export{IconsSetService,NavigationService};
|
package/dist/esm-es5/loader.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var __awaiter=this&&this.__awaiter||function(e,a,t,n){function i(e){return e instanceof t?e:new t((function(a){a(e)}))}return new(t||(t=Promise))((function(t,d){function s(e){try{r(n.next(e))}catch(e){d(e)}}function l(e){try{r(n["throw"](e))}catch(e){d(e)}}function r(e){e.done?t(e.value):i(e.value).then(s,l)}r((n=n.apply(e,a||[])).next())}))};var __generator=this&&this.__generator||function(e,a){var t={label:0,sent:function(){if(d[0]&1)throw d[1];return d[1]},trys:[],ops:[]},n,i,d,s=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return s.next=l(0),s["throw"]=l(1),s["return"]=l(2),typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function l(e){return function(a){return r([e,a])}}function r(l){if(n)throw new TypeError("Generator is already executing.");while(s&&(s=0,l[0]&&(t=0)),t)try{if(n=1,i&&(d=l[0]&2?i["return"]:l[0]?i["throw"]||((d=i["return"])&&d.call(i),0):i.next)&&!(d=d.call(i,l[1])).done)return d;if(i=0,d)l=[l[0]&2,d.value];switch(l[0]){case 0:case 1:d=l;break;case 4:t.label++;return{value:l[1],done:false};case 5:t.label++;i=l[1];l=[0];continue;case 7:l=t.ops.pop();t.trys.pop();continue;default:if(!(d=t.trys,d=d.length>0&&d[d.length-1])&&(l[0]===6||l[0]===2)){t=0;continue}if(l[0]===3&&(!d||l[1]>d[0]&&l[1]<d[3])){t.label=l[1];break}if(l[0]===6&&t.label<d[1]){t.label=d[1];d=l;break}if(d&&t.label<d[2]){t.label=d[2];t.ops.push(l);break}if(d[2])t.ops.pop();t.trys.pop();continue}l=a.call(e,t)}catch(e){l=[6,e];i=0}finally{n=d=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:true}}};import{b as bootstrapLazy}from"./index-DIiEV39g.js";export{s as setNonce}from"./index-DIiEV39g.js";import{g as globalScripts}from"./app-globals-DQuL1Twl.js";var defineCustomElements=function(e,a){return __awaiter(void 0,void 0,void 0,(function(){return __generator(this,(function(e){switch(e.label){case 0:if(typeof window==="undefined")return[2/*return*/,undefined];return[4/*yield*/,globalScripts()];case 1:e.sent();return[2/*return*/,bootstrapLazy(JSON.parse('[["mds-text",[[257,"mds-text",{"animation":[513],"tag":[1537],"text":[513],"truncate":[513],"typography":[513],"variant":[513]},null,{"text":[{"textHandler":0}]}]]],["mds-button_3",[[321,"mds-button",{"autoFocus":[4,"auto-focus"],"label":[1537],"animation":[513],"icon":[1537],"iconPosition":[513,"icon-position"],"type":[513],"variant":[513],"tone":[513],"size":[513],"active":[1540],"disabled":[1540],"await":[1540],"href":[513],"target":[1],"truncate":[513]},null,{"disabled":[{"disabledChanged":0}],"label":[{"labelChanged":0}],"await":[{"awaitChanged":0},{"handleAwaitChange":0}],"type":[{"handleTypeChange":0}],"variant":[{"handleVariantChange":0}]}],[1,"mds-spinner",{"running":[1540]},null,{"running":[{"handleRunning":0}]}],[1,"mds-icon",{"name":[513],"svgHTML":[32],"_iconHref":[32],"setSvgPath":[64]},null,{"name":[{"updateIcon":0}]}]]],["mds-input-upload",[[65,"mds-input-upload",{"accept":[513],"maxFileSize":[514,"max-file-size"],"maxFiles":[514,"max-files"],"sort":[513],"initialValue":[16],"dragging":[32],"files":[32],"progress":[32],"animateText":[32],"getFiles":[64],"getFilesError":[64],"reset":[64]},null,{"initialValue":[{"updateInitialValue":0}],"maxFiles":[{"handleMaxFilesChange":0}]}]]],["mds-input-date",[[65,"mds-input-date",{"accessibleName":[1,"aria-label"],"value":[513],"name":[513],"variant":[1537],"min":[1537],"max":[1537],"delay":[514],"hideToday":[516,"hide-today"],"disabled":[516],"readonly":[516],"required":[516],"empty":[32],"isValid":[32],"touched":[32],"calendarKey":[32],"dropdownRef":[32],"hasFocus":[32],"focusInput":[64],"setValue":[64],"getErrors":[64]},null,{"value":[{"handleValue":0}]}]]],["mds-policy-ai",[[1,"mds-policy-ai",{"headline":[513],"description":[513],"variant":[513],"href":[513]}]]],["mds-avatar-stack",[[257,"mds-avatar-stack",{"size":[513],"total":[514]}]]],["mds-input-date-range",[[321,"mds-input-date-range",{"accessibleName":[1,"aria-label"],"startDate":[513,"start-date"],"endDate":[513,"end-date"],"min":[513],"max":[513],"delay":[514],"hideToday":[516,"hide-today"],"dualCalendar":[516,"dual-calendar"],"name":[513],"calendarKey":[32],"internalStartDate":[32],"internalEndDate":[32],"visibleCalendarDate":[32],"dropdownRef":[32],"hasPreselection":[32],"preselect":[64]},null,{"startDate":[{"handleStartDateChange":0}],"endDate":[{"handleEndDateChange":0}]}]]],["mds-input-otp",[[65,"mds-input-otp",{"accessibleName":[1,"aria-label"],"length":[2],"autosubmit":[516],"value":[1537]}]]],["mds-pref-language",[[257,"mds-pref-language",{"size":[513],"set":[1537],"showDropdown":[32]},null,{"set":[{"handleSetChange":0}]}]]],["mds-pref-theme",[[257,"mds-pref-theme",{"size":[513],"name":[1537],"scheme":[1537],"cornerShape":[1537,"corner-shape"],"showDropdown":[32]}]]],["mds-table-header",[[257,"mds-table-header",{"selectable":[4],"selectAll":[32],"hasActions":[32],"indeterminate":[32],"hasSelection":[32],"setSelection":[64]}]]],["mds-entity",[[257,"mds-entity",{"await":[516],"icon":[513],"src":[513],"initials":[513],"tone":[513],"variant":[513],"hasDetails":[32],"hasActions":[32]}]]],["mds-pref-animation",[[1,"mds-pref-animation",{"size":[513],"mode":[1537]},null,{"mode":[{"modeChanged":0}]}]]],["mds-pref-consumption",[[1,"mds-pref-consumption",{"size":[513],"mode":[1537]},null,{"mode":[{"modeChanged":0}]}]]],["mds-pref-contrast",[[1,"mds-pref-contrast",{"size":[513],"mode":[1537]},null,{"mode":[{"modeChanged":0}]}]]],["mds-pref-mode",[[1,"mds-pref-mode",{"size":[513],"mode":[1537],"transition":[1537],"lockedScheme":[513,"locked-scheme"],"disabled":[32]},null,{"mode":[{"modeChanged":0}]}]]],["mds-push-notification-item",[[257,"mds-push-notification-item",{"datetime":[1537],"dateFormat":[513,"date-format"],"deletable":[1540],"icon":[513],"initials":[1537],"message":[513],"preview":[513],"src":[513],"subject":[513],"tone":[513],"variant":[513],"hasActions":[32],"hasBadge":[32]},null,{"deletable":[{"handleDeletableChange":0}]}]]],["mds-button-dropdown",[[257,"mds-button-dropdown",{"label":[1],"autoFocus":[4,"auto-focus"],"icon":[1537],"type":[513],"variant":[513],"tone":[513],"size":[513],"active":[1540],"disabled":[1540],"await":[1540],"href":[513],"target":[1],"truncate":[513]}]]],["mds-header",[[257,"mds-header",{"appearance":[1537],"appearanceSet":[513,"appearance-set"],"autoHide":[514,"auto-hide"],"hideBackdrop":[516,"hide-backdrop"],"menu":[513],"nav":[513],"threshold":[514],"visibility":[1537],"hasMenu":[32],"isOpened":[32],"setOpened":[64]},null,{"menu":[{"onMenuChangedHandler":0}],"nav":[{"onNavChangedHandler":0}],"appearanceSet":[{"onAppearanceSetChangedHandler":0}],"visibility":[{"handleVisibilityChange":0}]}]]],["mds-keyboard",[[257,"mds-keyboard",{"test":[1537],"try":[516],"testPassed":[32]},null,{"try":[{"handleTryProperty":0}]}]]],["mds-radial-menu-item",[[1,"mds-radial-menu-item",{"tooltip":[513],"icon":[1537],"tone":[513],"variant":[513],"size":[513]}]]],["mds-status-bar",[[257,"mds-status-bar",{"description":[513],"overflow":[513],"position":[513],"visible":[1540],"hide":[64]},null,{"visible":[{"handleVisbilityProp":0}]}]]],["mds-stepper-bar-item",[[1,"mds-stepper-bar-item",{"label":[1],"step":[4],"badge":[1540],"icon":[1],"iconChecked":[1,"icon-checked"],"done":[516],"current":[1540],"value":[513],"typography":[1],"isDone":[32],"isCurrent":[32],"index":[32]},null,{"done":[{"selectedHandler":0}],"current":[{"currentHandler":0}]}]]],["mds-accordion-timer-item",[[257,"mds-accordion-timer-item",{"typography":[1],"selected":[516],"description":[1],"duration":[514],"progress":[2],"uuid":[2]},null,{"selected":[{"handleSelected":0}]}]]],["mds-benchmark-bar",[[257,"mds-benchmark-bar",{"label":[1537],"alias":[1],"typography":[1],"value":[2],"variant":[513],"size":[513]},null,{"label":[{"labelChanged":0}]}]]],["mds-breadcrumb",[[257,"mds-breadcrumb",{"hideBack":[4,"hide-back"]},[[0,"mdsBreadcrumbItemSelect","activedEventHandler"]]]]],["mds-breadcrumb-item",[[1,"mds-breadcrumb-item",{"selected":[1540],"label":[513]}]]],["mds-header-bar",[[257,"mds-header-bar",{"menu":[513],"nav":[513],"hasNav":[32],"isOpened":[32],"setOpened":[64]}]]],["mds-horizontal-scroll",[[257,"mds-horizontal-scroll",{"controls":[1537],"navigation":[513],"snap":[513],"hasCompatibility":[32],"showForward":[32],"showBack":[32]},null,{"navigation":[{"watchNavigation":0}]}]]],["mds-input-date-range-preselection",[[257,"mds-input-date-range-preselection",{"selected":[1540],"start":[513],"end":[513]}]]],["mds-input-select",[[321,"mds-input-select",{"accessibleName":[1,"aria-label"],"autocomplete":[513],"autoFocus":[516,"auto-focus"],"placeholder":[513],"name":[513],"disabled":[516],"required":[516],"multiple":[516],"size":[514],"value":[520],"defaultValue":[520,"default-value"],"variant":[513],"hasFocus":[32],"setValue":[64]},null,{"value":[{"valueChanged":0}],"disabled":[{"disabledChanged":0}],"placeholder":[{"placeholderChanged":0}]}]]],["mds-label",[[1,"mds-label",{"label":[513],"variant":[513],"tone":[513],"truncate":[513],"typography":[1],"deletable":[4]}]]],["mds-mention",[[1,"mds-mention",{"deletable":[516],"icon":[513],"label":[513],"size":[513]}]]],["mds-note",[[257,"mds-note",{"deletable":[4],"variant":[513]}]]],["mds-pref-language-item",[[1,"mds-pref-language-item",{"code":[513],"selected":[516]},null,{"code":[{"handleCodeChange":0}]}]]],["mds-pref-theme-item",[[1,"mds-pref-theme-item",{"label":[1537],"name":[513],"scheme":[513],"selected":[516]}]]],["mds-push-notification",[[257,"mds-push-notification",{"visible":[1540],"behavior":[1],"show":[64],"hide":[64],"removeNotification":[64]},null,{"visible":[{"visibleChanged":0}]}]]],["mds-radial-menu",[[257,"mds-radial-menu",{"angleStart":[514,"angle-start"],"angleEnd":[514,"angle-end"],"radius":[514],"direction":[513],"opened":[1540],"disc":[1540],"backdrop":[516],"interaction":[513],"icon":[1537],"variant":[513],"tone":[513],"size":[513]},null,{"disc":[{"onDiscChanged":0}],"backdrop":[{"backdropChanged":0}],"interaction":[{"onInteractionChange":0}],"angleStart":[{"onAngleStartChange":0}],"angleEnd":[{"onAngleEndChange":0}],"radius":[{"onRadiusChange":0}],"size":[{"onSizeChange":0}],"opened":[{"onOpenedChange":0}]}]]],["mds-input-switch_2",[[321,"mds-input-switch",{"autofocus":[516],"checked":[1540],"disabled":[1540],"explicit":[516],"icon":[513],"indeterminate":[1540],"name":[513],"size":[513],"type":[513],"typography":[513],"variant":[513],"value":[1537],"dirty":[32],"hasText":[32]},null,{"disabled":[{"disabledChanged":0}],"checked":[{"checkedChanged":0}],"explicit":[{"explicitChanged":0}]}],[257,"mds-table-cell",{"value":[520]}]]],["mds-table-row",[[257,"mds-table-row",{"interactive":[516],"overlayActions":[516,"overlay-actions"],"selectable":[516],"selected":[1540],"selection":[516],"value":[520],"hasActions":[32],"sizerWidth":[32]}]]],["mds-tree-item",[[257,"mds-tree-item",{"actions":[513],"async":[516],"depth":[514],"label":[1],"toggle":[513],"togglePosition":[513,"toggle-position"],"appearance":[513],"expanded":[1540],"truncate":[513],"icon":[1],"hasActions":[32],"hasChildren":[32],"currentToggleIcon":[32],"await":[32],"resolvedActions":[32],"expand":[64],"refreshActions":[64]},null,{"toggle":[{"handleIconChange":0}],"expanded":[{"handleExpandedChange":0}],"actions":[{"handleActionsChange":0}]}]]],["mds-url-view",[[1,"mds-url-view",{"icon":[513],"label":[513],"src":[513],"loading":[513]}]]],["mds-file",[[1,"mds-file",{"suffix":[513],"description":[1],"filename":[1],"preview":[1],"hideDownloadedIcon":[4,"hide-downloaded-icon"],"format":[1537],"wasDownloaded":[32]},null,{"filename":[{"handleFilename":0}]}]]],["mds-filter",[[257,"mds-filter",{"autoReset":[516,"auto-reset"],"label":[1],"multiple":[516],"reset":[516],"active":[32],"itemsSelected":[32]},[[0,"mdsFilterItemSelect","activeEventHandler"]]]]],["mds-paginator",[[1,"mds-paginator",{"pages":[2],"currentPage":[1538,"current-page"]}]]],["mds-keyboard-key",[[1,"mds-keyboard-key",{"name":[513],"pressed":[516]}]]],["mds-kpi-item",[[1,"mds-kpi-item",{"label":[1],"description":[1],"threshold":[2],"icon":[1],"isIntersecting":[32]}]]],["mds-list-item",[[257,"mds-list-item",{"typography":[513],"variant":[1],"icon":[1]}]]],["mds-tab-bar-item",[[257,"mds-tab-bar-item",{"icon":[1],"label":[1537],"selected":[1540],"typography":[1],"isSelected":[32]},null,{"selected":[{"validateSelected":0}],"label":[{"labelChanged":0}]}]]],["mds-table",[[257,"mds-table",{"interactive":[4],"selectable":[4],"selection":[1540],"selectedRows":[32],"updateSelection":[64],"selectAll":[64]},null,{"interactive":[{"onTableInteractive":0}],"selectable":[{"onTableSelectable":0}]}]]],["mds-usage",[[257,"mds-usage",{"variant":[1],"alias":[1]}]]],["mds-accordion-item",[[257,"mds-accordion-item",{"typography":[1],"selected":[1540],"label":[1]}]]],["mds-bibliography",[[1,"mds-bibliography",{"format":[1],"author":[1],"name":[1],"publisher":[1],"date":[1],"location":[1],"rel":[1],"typography":[1],"variant":[1],"url":[1]}]]],["mds-input-field",[[321,"mds-input-field",{"label":[1025],"message":[1025],"variant":[1537]},null,{"label":[{"labelChanged":0}]}]]],["mds-input-range",[[321,"mds-input-range",{"formatValue":[16],"name":[513],"max":[2],"min":[2],"step":[2],"disabled":[1540],"value":[1538],"progress":[32]},null,{"disabled":[{"disabledChanged":0}],"value":[{"valueChanged":0}],"min":[{"minChanged":0}],"max":[{"maxChanged":0}],"step":[{"stepChanged":0}]}]]],["mds-notification",[[1,"mds-notification",{"target":[1],"value":[1538],"dismissed":[1540],"strategy":[1537],"max":[514]},null,{"strategy":[{"strategyHandler":0}]}]]],["mds-pref",[[257,"mds-pref",{"size":[513],"controller":[1540],"showReload":[32]},null,{"controller":[{"handleControllerChange":0}],"size":[{"handleSizeChange":0}]}]]],["mds-price-table-features",[[257,"mds-price-table-features",{"label":[1]}]]],["mds-price-table-features-cell",[[257,"mds-price-table-features-cell",{"type":[513]}]]],["mds-price-table-list",[[257,"mds-price-table-list",{"hasItems":[32]}]]],["mds-price-table-list-item",[[257,"mds-price-table-list-item",{"supported":[516],"typography":[513]}]]],["mds-quote",[[257,"mds-quote",{"typography":[1],"tag":[1]}]]],["mds-toast",[[257,"mds-toast",{"duration":[1538],"visible":[1540],"variant":[513],"tone":[513],"position":[1537],"hasActions":[32]},null,{"visible":[{"visibleChanged":0}],"duration":[{"durationChanged":0}]}]]],["mds-accordion",[[257,"mds-accordion",{"multiple":[4],"disableClose":[4,"disable-close"]},[[0,"mdsAccordionItemSelect","selectedEventHandler"],[0,"mdsAccordionItemUnselect","unselectedEventHandler"]]]]],["mds-accordion-timer",[[257,"mds-accordion-timer",{"duration":[514],"paused":[516],"time":[32]},[[0,"mdsAccordionTimerItemClickSelect","onClickSelect"],[0,"mdsAccordionTimerItemSelect","onSelect"],[0,"mdsAccordionTimerItemMouseEnterSelect","onMouseEnterSelect"],[0,"mdsAccordionTimerItemMouseLeaveSelect","onMouseLeaveSelect"]],{"paused":[{"handlePaused":0}]}]]],["mds-author",[[257,"mds-author",{"hasAvatar":[32]}]]],["mds-button-group",[[257,"mds-button-group"]]],["mds-card",[[257,"mds-card",{"disableAutoGrid":[516,"disable-auto-grid"],"layout":[32]}]]],["mds-card-content",[[257,"mds-card-content"]]],["mds-card-footer",[[257,"mds-card-footer"]]],["mds-card-header",[[257,"mds-card-header",{"hasActions":[32]}]]],["mds-card-media",[[257,"mds-card-media"]]],["mds-details",[[257,"mds-details",{"opened":[1540],"isOpened":[32],"hasIcon":[32]},null,{"opened":[{"validateOpened":0}]}]]],["mds-emoji",[[1,"mds-emoji",{"name":[513],"agree":[64],"smile":[64],"disagree":[64],"startThinking":[64],"stopThinking":[64],"startBlinking":[64],"stopBlinking":[64],"stopFollowMouse":[64],"startFollowMouse":[64]},null,{"name":[{"checkNameChanged":0}]}]]],["mds-hr",[[1,"mds-hr"]]],["mds-kpi",[[257,"mds-kpi"]]],["mds-list",[[257,"mds-list"]]],["mds-price-table",[[257,"mds-price-table"]]],["mds-price-table-features-row",[[257,"mds-price-table-features-row",{"cellPercWidth":[32]}]]],["mds-price-table-header",[[257,"mds-price-table-header"]]],["mds-stepper-bar",[[257,"mds-stepper-bar",{"itemsDone":[2,"items-done"],"navigation":[513],"currentItem":[32]},[[0,"mdsStepperBarItemDone","changeEventHandler"]],{"itemsDone":[{"itemDone":0}]}]]],["mds-tab-bar",[[257,"mds-tab-bar",null,[[0,"mdsTabBarItemSelect","changeEventHandler"]]]]],["mds-table-body",[[257,"mds-table-body",{"interactive":[516],"selection":[516]}]]],["mds-table-footer",[[257,"mds-table-footer"]]],["mds-tree",[[257,"mds-tree",{"appearance":[513],"async":[516],"label":[1],"toggle":[513],"togglePosition":[513,"toggle-position"],"expanded":[1540],"truncate":[513],"actions":[513]},null,{"expanded":[{"handleExpandedChange":0}],"toggle":[{"handleToggleChange":0}],"togglePosition":[{"handleTogglePositionChange":0}],"appearance":[{"handleAppearanceChange":0}],"actions":[{"handleActionsChange":0}],"truncate":[{"handleTruncateChange":0}]}]]],["mds-video-wall",[[257,"mds-video-wall",{"autoplay":[4],"loop":[4],"muted":[4],"noise":[1],"poster":[1],"preload":[1],"src":[1],"hasContent":[32]}]]],["mds-zero",[[257,"mds-zero"]]],["mds-file-preview",[[1,"mds-file-preview",{"deletable":[516],"downloadable":[516],"description":[513],"filename":[513],"filesize":[513],"message":[513],"truncate":[513],"src":[513],"suffix":[513],"icon":[513],"variant":[513],"format":[1537]},null,{"filename":[{"handleFilename":0}],"downloadable":[{"handleDownloadable":0}]}]]],["mds-input",[[65,"mds-input",{"accessibleName":[1,"aria-label"],"autocomplete":[513],"autofocus":[516],"await":[516],"controlsLayout":[513,"controls-layout"],"controlsIcon":[513,"controls-icon"],"datalist":[16],"disabled":[516],"icon":[1537],"max":[520],"maxlength":[1538],"mic":[516],"min":[520],"minlength":[514],"name":[513],"pattern":[513],"placeholder":[513],"readonly":[516],"required":[516],"variant":[1537],"tip":[513],"step":[513],"type":[513],"typography":[513],"value":[1537],"hasFocus":[32],"isRecording":[32],"currentLengthLabel":[32],"countVariant":[32],"isPasswordVisible":[32],"addValidator":[64],"removeValidator":[64],"hasValidator":[64],"getErrors":[64],"setFocus":[64],"getInputElement":[64]},null,{"value":[{"valueChanged":0}],"variant":[{"variantChanged":0}],"maxlength":[{"maxLengthChanged":0}],"disabled":[{"disabledChanged":0}]}]]],["mds-table-header-cell",[[1,"mds-table-header-cell",{"sortable":[516],"label":[513],"direction":[1537],"isAscending":[32]},null,{"sortable":[{"sortableHandler":0}],"direction":[{"directionHandler":0}]}]]],["mds-filter-item",[[1,"mds-filter-item",{"selected":[1540],"label":[513],"icon":[513],"value":[513],"count":[513],"disabled":[516]}]]],["mds-paginator-item",[[257,"mds-paginator-item",{"icon":[513],"selected":[516],"disabled":[516]}]]],["mds-separator",[[1,"mds-separator"]]],["mds-modal",[[257,"mds-modal",{"accessibleName":[1,"aria-label"],"opened":[1540],"hideBackdrop":[1540,"hide-backdrop"],"position":[1537],"animation":[513],"overflow":[513],"interaction":[513],"hasBottom":[32],"hasTop":[32],"hasWindow":[32],"windowHeaderHeight":[32],"windowFooterHeight":[32],"close":[64]},null,{"opened":[{"handleOpenProp":0}],"hideBackdrop":[{"handleHideBackdropProp":0}]}]]],["mds-banner_3",[[257,"mds-banner",{"variant":[513],"tone":[513],"hideCockade":[516,"hide-cockade"],"deletable":[4],"headline":[1],"icon":[1],"closeButtonVariant":[32],"hasActions":[32]},null,{"variant":[{"variantHandler":0}]}],[1,"mds-chip",{"clickable":[1540],"deletable":[4],"disabled":[4],"icon":[1],"label":[513],"selected":[1540],"selectable":[516],"variant":[513],"tone":[513]},null,{"selectable":[{"handleSelectableProp":0}],"clickable":[{"handleClickableProp":0}],"selected":[{"handleSelectedProp":0}]}],[257,"mds-help",{"icon":[1],"disableAutoPlacement":[516,"disable-auto-placement"],"placement":[513]}]]],["mds-avatar",[[1,"mds-avatar",{"icon":[513],"initials":[1537],"count":[1538],"src":[513],"tone":[513],"variant":[1537],"fallback":[32],"loaded":[32]},null,{"initials":[{"initialsHandler":0}],"count":[{"countHandler":0}],"src":[{"srcHandler":0}],"icon":[{"iconHandler":0}]}]]],["mds-tooltip",[[257,"mds-tooltip",{"hideArrow":[4,"hide-arrow"],"arrowPadding":[2,"arrow-padding"],"disableAutoPlacement":[516,"disable-auto-placement"],"flip":[4],"target":[513],"offset":[2],"placement":[513],"typography":[1],"disableShift":[4,"disable-shift"],"shiftPadding":[2,"shift-padding"],"strategy":[513],"visible":[1540]},null,{"hideArrow":[{"hideArrowChanged":0}],"disableAutoPlacement":[{"disableAutoPlacementChanged":0}],"flip":[{"flipChanged":0}],"offset":[{"offsetChanged":0}],"placement":[{"placementChanged":0}],"disableShift":[{"disableShiftChanged":0}],"shiftPadding":[{"shiftPaddingChanged":0}],"strategy":[{"strategyChanged":0}],"visible":[{"visibleChanged":0}],"target":[{"targetChanged":0}]}]]],["mds-calendar_2",[[257,"mds-calendar",{"singlePicker":[4,"single-picker"],"hidePreviousButton":[4,"hide-previous-button"],"hideNextButton":[4,"hide-next-button"],"disableMonthYearSelection":[4,"disable-month-year-selection"],"hidePreselection":[4,"hide-preselection"],"hideToday":[4,"hide-today"],"viewDate":[513,"view-date"],"hoverDate":[513,"hover-date"],"startDate":[513,"start-date"],"endDate":[513,"end-date"],"min":[513],"max":[513],"hasPreselection":[32],"currentDate":[32],"weekDaysinMonth":[32],"weekdays":[32],"startDateIdentifier":[32],"endDateIdentifier":[32],"isFirstClick":[32],"currentView":[32],"selectedYear":[32],"internalStartDate":[32],"internalEndDate":[32],"currentMonth":[32],"currentYear":[32],"updateCurrentDate":[64]},null,{"startDate":[{"handleStartDate":0}],"endDate":[{"handleEndDate":0}],"viewDate":[{"handleViewDate":0}],"hoverDate":[{"handleHoverDate":0}]}],[1,"mds-calendar-cell",{"month":[513],"label":[513],"date":[513],"orientation":[513],"preview":[516],"selection":[513],"disabled":[516],"today":[516]}]]],["mds-badge",[[257,"mds-badge",{"label":[1537],"variant":[513],"tone":[513],"typography":[513]},null,{"label":[{"labelChanged":0}]}]]],["mds-dropdown",[[257,"mds-dropdown",{"hideArrow":[516,"hide-arrow"],"arrowPadding":[2,"arrow-padding"],"disableAutoPlacement":[4,"disable-auto-placement"],"backdrop":[516],"flip":[4],"interaction":[513],"target":[1],"offset":[2],"placement":[1],"disableShift":[4,"disable-shift"],"shiftPadding":[2,"shift-padding"],"disableSmooth":[4,"disable-smooth"],"strategy":[1],"visible":[1540],"zIndex":[2,"z-index"]},null,{"hideArrow":[{"hideArrowChanged":0}],"arrowPadding":[{"arrowPaddingChanged":0}],"disableAutoPlacement":[{"disableAutoPlacementChanged":0}],"backdrop":[{"backdropChanged":0}],"flip":[{"flipChanged":0}],"offset":[{"offsetChanged":0}],"placement":[{"placementChanged":0}],"disableShift":[{"disableShiftChanged":0}],"shiftPadding":[{"shiftPaddingChanged":0}],"strategy":[{"strategyChanged":0}],"target":[{"targetChanged":0}],"visible":[{"visibleChanged":0}]}]]],["mds-img",[[1,"mds-img",{"alt":[1537],"crossorigin":[1],"height":[1],"loading":[1],"referrerpolicy":[1],"sizes":[1],"src":[1],"srcset":[1],"srcsetConsumption":[1,"srcset-consumption"],"width":[1],"imageConsumptionLoaded":[32],"imageError":[32]},null,{"srcsetConsumption":[{"srcsetConsumptionHandler":0}],"src":[{"srcHandler":0}]}]]],["mds-avatar-stack-item",[[1,"mds-avatar-stack-item",{"count":[514],"initials":[1537],"src":[513],"tone":[513],"variant":[513]}]]],["mds-input-tip_2",[[257,"mds-input-tip-item",{"variant":[513],"expanded":[1540]},null,{"expanded":[{"handleEcpandedChanged":0}]}],[257,"mds-input-tip",{"active":[516],"position":[513]}]]],["mds-progress_2",[[1,"mds-progress",{"progress":[2],"direction":[513],"variant":[513],"typography":[1],"size":[513],"steps":[1],"currentStep":[32]},null,{"progress":[{"progressChanged":0}],"steps":[{"stepsChanged":0}]}],[1,"mds-radial-progress",{"progress":[2],"icon":[513],"typography":[513],"variant":[513],"animatedProgress":[32]},null,{"progress":[{"onProgressChange":0}]}]]],["mds-tab_2",[[1,"mds-tab-item",{"await":[516],"selected":[1540],"disabled":[1540],"icon":[1],"label":[513],"iconPosition":[1,"icon-position"],"type":[1],"size":[513],"direction":[513],"animation":[513],"value":[513],"href":[513],"expanded":[4],"isSelected":[32],"hasText":[32]},null,{"selected":[{"validateActive":0}]}],[257,"mds-tab",{"direction":[1537],"scrollbar":[1540],"animation":[513],"fill":[1540],"overflow":[1540],"size":[1537],"sliderWidth":[32],"sliderHeight":[32],"sliderOffsetX":[32],"sliderOffsetY":[32],"overflowLeft":[32],"overflowRight":[32]},[[0,"mdsTabItemSelect","changeEventHandler"],[0,"mdsTabItemFocus","focusEventHandler"]],{"animation":[{"handleAnimationChange":0}],"direction":[{"handleDirectionChange":0}],"scrollbar":[{"handleScrollbarChange":0}],"fill":[{"handleFillChange":0}],"overflow":[{"handleOverflowChange":0}],"size":[{"handleSizeChange":0}]}]]]]'),a)]}}))}))};export{defineCustomElements};
|
|
1
|
+
var __awaiter=this&&this.__awaiter||function(e,a,t,n){function i(e){return e instanceof t?e:new t((function(a){a(e)}))}return new(t||(t=Promise))((function(t,d){function l(e){try{r(n.next(e))}catch(e){d(e)}}function s(e){try{r(n["throw"](e))}catch(e){d(e)}}function r(e){e.done?t(e.value):i(e.value).then(l,s)}r((n=n.apply(e,a||[])).next())}))};var __generator=this&&this.__generator||function(e,a){var t={label:0,sent:function(){if(d[0]&1)throw d[1];return d[1]},trys:[],ops:[]},n,i,d,l=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return l.next=s(0),l["throw"]=s(1),l["return"]=s(2),typeof Symbol==="function"&&(l[Symbol.iterator]=function(){return this}),l;function s(e){return function(a){return r([e,a])}}function r(s){if(n)throw new TypeError("Generator is already executing.");while(l&&(l=0,s[0]&&(t=0)),t)try{if(n=1,i&&(d=s[0]&2?i["return"]:s[0]?i["throw"]||((d=i["return"])&&d.call(i),0):i.next)&&!(d=d.call(i,s[1])).done)return d;if(i=0,d)s=[s[0]&2,d.value];switch(s[0]){case 0:case 1:d=s;break;case 4:t.label++;return{value:s[1],done:false};case 5:t.label++;i=s[1];s=[0];continue;case 7:s=t.ops.pop();t.trys.pop();continue;default:if(!(d=t.trys,d=d.length>0&&d[d.length-1])&&(s[0]===6||s[0]===2)){t=0;continue}if(s[0]===3&&(!d||s[1]>d[0]&&s[1]<d[3])){t.label=s[1];break}if(s[0]===6&&t.label<d[1]){t.label=d[1];d=s;break}if(d&&t.label<d[2]){t.label=d[2];t.ops.push(s);break}if(d[2])t.ops.pop();t.trys.pop();continue}s=a.call(e,t)}catch(e){s=[6,e];i=0}finally{n=d=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};import{b as bootstrapLazy}from"./index-BxPbQB28.js";export{s as setNonce}from"./index-BxPbQB28.js";import{g as globalScripts}from"./app-globals-DQuL1Twl.js";var defineCustomElements=function(e,a){return __awaiter(void 0,void 0,void 0,(function(){return __generator(this,(function(e){switch(e.label){case 0:if(typeof window==="undefined")return[2/*return*/,undefined];return[4/*yield*/,globalScripts()];case 1:e.sent();return[2/*return*/,bootstrapLazy(JSON.parse('[["mds-text",[[257,"mds-text",{"animation":[513],"tag":[1537],"text":[513],"truncate":[513],"typography":[513],"variant":[513]},null,{"text":[{"textHandler":0}]}]]],["mds-button_3",[[321,"mds-button",{"autoFocus":[4,"auto-focus"],"label":[1537],"animation":[513],"icon":[1537],"iconPosition":[513,"icon-position"],"type":[513],"name":[513],"value":[513],"variant":[513],"tone":[513],"size":[513],"active":[1540],"disabled":[1540],"await":[1540],"href":[513],"target":[1],"truncate":[513]},null,{"disabled":[{"disabledChanged":0}],"label":[{"labelChanged":0}],"await":[{"awaitChanged":0},{"handleAwaitChange":0}],"type":[{"handleTypeChange":0}],"href":[{"handleHrefChange":0}],"variant":[{"handleVariantChange":0}]}],[1,"mds-spinner",{"running":[1540]},null,{"running":[{"handleRunning":0}]}],[1,"mds-icon",{"name":[513],"svgHTML":[32],"_iconHref":[32],"setSvgPath":[64]},null,{"name":[{"updateIcon":0}]}]]],["mds-input-upload",[[65,"mds-input-upload",{"accept":[513],"disabled":[516],"name":[513],"maxFileSize":[514,"max-file-size"],"maxFiles":[514,"max-files"],"sort":[513],"initialValue":[16],"dragging":[32],"files":[32],"progress":[32],"animateText":[32],"activeSort":[32],"formDisabled":[32],"getFiles":[64],"getFilesError":[64],"reset":[64]},null,{"initialValue":[{"updateInitialValue":0}],"name":[{"handleNameChange":0}],"sort":[{"handleSortChange":0}],"maxFiles":[{"handleMaxFilesChange":0}]}]]],["mds-input-date",[[65,"mds-input-date",{"accessibleName":[1,"aria-label"],"value":[513],"name":[513],"variant":[1537],"min":[1537],"max":[1537],"delay":[514],"hideToday":[516,"hide-today"],"disabled":[516],"readonly":[516],"required":[516],"formDisabled":[32],"empty":[32],"isValid":[32],"touched":[32],"calendarKey":[32],"dropdownRef":[32],"hasFocus":[32],"focusInput":[64],"setValue":[64],"getErrors":[64]},[[0,"invalid","invalidHandler"]],{"value":[{"handleValue":0}],"max":[{"validationRulesChanged":0}],"min":[{"validationRulesChanged":0}],"required":[{"validationRulesChanged":0}]}]]],["mds-policy-ai",[[1,"mds-policy-ai",{"headline":[513],"description":[513],"variant":[513],"href":[513]}]]],["mds-avatar-stack",[[257,"mds-avatar-stack",{"size":[513],"total":[514]}]]],["mds-input-date-range",[[321,"mds-input-date-range",{"accessibleName":[1,"aria-label"],"startDate":[513,"start-date"],"endDate":[513,"end-date"],"min":[513],"max":[513],"delay":[514],"hideToday":[516,"hide-today"],"dualCalendar":[516,"dual-calendar"],"name":[513],"disabled":[516],"calendarKey":[32],"internalStartDate":[32],"internalEndDate":[32],"visibleCalendarDate":[32],"dropdownRef":[32],"hasPreselection":[32],"formDisabled":[32],"preselect":[64]},null,{"startDate":[{"handleStartDateChange":0}],"endDate":[{"handleEndDateChange":0}],"min":[{"handleRangeChange":0}],"max":[{"handleRangeChange":0}],"disabled":[{"handleDisabledChange":0}]}]]],["mds-input-otp",[[65,"mds-input-otp",{"accessibleName":[1,"aria-label"],"length":[2],"autosubmit":[516],"disabled":[516],"value":[1537],"digits":[32],"formDisabled":[32]},null,{"value":[{"valueChanged":0}]}]]],["mds-pref-language",[[257,"mds-pref-language",{"size":[513],"set":[1537],"showDropdown":[32]},null,{"set":[{"handleSetChange":0}]}]]],["mds-pref-theme",[[257,"mds-pref-theme",{"size":[513],"name":[1537],"scheme":[1537],"cornerShape":[1537,"corner-shape"],"showDropdown":[32]}]]],["mds-table-header",[[257,"mds-table-header",{"selectable":[4],"selectAll":[32],"hasActions":[32],"indeterminate":[32],"hasSelection":[32],"setSelection":[64]}]]],["mds-entity",[[257,"mds-entity",{"await":[516],"icon":[513],"src":[513],"initials":[513],"tone":[513],"variant":[513],"hasDetails":[32],"hasActions":[32]}]]],["mds-pref-animation",[[1,"mds-pref-animation",{"size":[513],"mode":[1537]},null,{"mode":[{"modeChanged":0}]}]]],["mds-pref-consumption",[[1,"mds-pref-consumption",{"size":[513],"mode":[1537]},null,{"mode":[{"modeChanged":0}]}]]],["mds-pref-contrast",[[1,"mds-pref-contrast",{"size":[513],"mode":[1537]},null,{"mode":[{"modeChanged":0}]}]]],["mds-pref-mode",[[1,"mds-pref-mode",{"size":[513],"mode":[1537],"transition":[1537],"lockedScheme":[513,"locked-scheme"],"disabled":[32]},null,{"mode":[{"modeChanged":0}]}]]],["mds-push-notification-item",[[257,"mds-push-notification-item",{"datetime":[1537],"dateFormat":[513,"date-format"],"deletable":[1540],"icon":[513],"initials":[1537],"message":[513],"preview":[513],"src":[513],"subject":[513],"tone":[513],"variant":[513],"hasActions":[32],"hasBadge":[32]},null,{"deletable":[{"handleDeletableChange":0}]}]]],["mds-button-dropdown",[[321,"mds-button-dropdown",{"label":[1],"autoFocus":[4,"auto-focus"],"icon":[1537],"type":[513],"name":[513],"value":[513],"variant":[513],"tone":[513],"size":[513],"active":[1540],"disabled":[1540],"await":[1540],"href":[513],"target":[1],"truncate":[513],"formDisabled":[32]}]]],["mds-header",[[257,"mds-header",{"appearance":[1537],"appearanceSet":[513,"appearance-set"],"autoHide":[514,"auto-hide"],"hideBackdrop":[516,"hide-backdrop"],"menu":[513],"nav":[513],"threshold":[514],"visibility":[1537],"hasMenu":[32],"isOpened":[32],"setOpened":[64]},null,{"menu":[{"onMenuChangedHandler":0}],"nav":[{"onNavChangedHandler":0}],"appearanceSet":[{"onAppearanceSetChangedHandler":0}],"visibility":[{"handleVisibilityChange":0}]}]]],["mds-keyboard",[[257,"mds-keyboard",{"test":[1537],"try":[516],"testPassed":[32]},null,{"try":[{"handleTryProperty":0}]}]]],["mds-radial-menu-item",[[1,"mds-radial-menu-item",{"tooltip":[513],"icon":[1537],"tone":[513],"variant":[513],"size":[513]}]]],["mds-status-bar",[[257,"mds-status-bar",{"description":[513],"overflow":[513],"position":[513],"visible":[1540],"hide":[64]},null,{"visible":[{"handleVisbilityProp":0}]}]]],["mds-stepper-bar-item",[[1,"mds-stepper-bar-item",{"label":[1],"step":[4],"badge":[1540],"icon":[1],"iconChecked":[1,"icon-checked"],"done":[516],"current":[1540],"value":[513],"typography":[1],"isDone":[32],"isCurrent":[32],"index":[32]},null,{"done":[{"selectedHandler":0}],"current":[{"currentHandler":0}]}]]],["mds-accordion-timer-item",[[257,"mds-accordion-timer-item",{"typography":[1],"selected":[516],"description":[1],"duration":[514],"progress":[2],"uuid":[2]},null,{"selected":[{"handleSelected":0}]}]]],["mds-benchmark-bar",[[257,"mds-benchmark-bar",{"label":[1537],"alias":[1],"typography":[1],"value":[2],"variant":[513],"size":[513]},null,{"label":[{"labelChanged":0}]}]]],["mds-breadcrumb",[[257,"mds-breadcrumb",{"hideBack":[4,"hide-back"]},[[0,"mdsBreadcrumbItemSelect","activedEventHandler"]]]]],["mds-breadcrumb-item",[[1,"mds-breadcrumb-item",{"selected":[1540],"label":[513]}]]],["mds-header-bar",[[257,"mds-header-bar",{"menu":[513],"nav":[513],"hasNav":[32],"isOpened":[32],"setOpened":[64]}]]],["mds-horizontal-scroll",[[257,"mds-horizontal-scroll",{"controls":[1537],"navigation":[513],"snap":[513],"hasCompatibility":[32],"showForward":[32],"showBack":[32]},null,{"navigation":[{"watchNavigation":0}]}]]],["mds-input-date-range-preselection",[[257,"mds-input-date-range-preselection",{"selected":[1540],"start":[513],"end":[513]}]]],["mds-input-select",[[321,"mds-input-select",{"accessibleName":[1,"aria-label"],"autocomplete":[513],"autoFocus":[516,"auto-focus"],"placeholder":[513],"name":[513],"disabled":[516],"required":[516],"multiple":[516],"size":[514],"value":[520],"defaultValue":[520,"default-value"],"variant":[513],"hasFocus":[32],"formDisabled":[32],"setValue":[64]},null,{"value":[{"valueChanged":0}],"required":[{"requiredChanged":0}],"name":[{"nameChanged":0}],"disabled":[{"disabledChanged":0}],"placeholder":[{"placeholderChanged":0}]}]]],["mds-label",[[1,"mds-label",{"label":[513],"variant":[513],"tone":[513],"truncate":[513],"typography":[1],"deletable":[4]}]]],["mds-mention",[[1,"mds-mention",{"deletable":[516],"icon":[513],"label":[513],"size":[513]}]]],["mds-note",[[257,"mds-note",{"deletable":[4],"variant":[513]}]]],["mds-pref-language-item",[[1,"mds-pref-language-item",{"code":[513],"selected":[516]},null,{"code":[{"handleCodeChange":0}]}]]],["mds-pref-theme-item",[[1,"mds-pref-theme-item",{"label":[1537],"name":[513],"scheme":[513],"selected":[516]}]]],["mds-push-notification",[[257,"mds-push-notification",{"visible":[1540],"behavior":[1],"show":[64],"hide":[64],"removeNotification":[64]},null,{"visible":[{"visibleChanged":0}]}]]],["mds-radial-menu",[[257,"mds-radial-menu",{"angleStart":[514,"angle-start"],"angleEnd":[514,"angle-end"],"radius":[514],"direction":[513],"opened":[1540],"disc":[1540],"backdrop":[516],"interaction":[513],"icon":[1537],"variant":[513],"tone":[513],"size":[513]},null,{"disc":[{"onDiscChanged":0}],"backdrop":[{"backdropChanged":0}],"interaction":[{"onInteractionChange":0}],"angleStart":[{"onAngleStartChange":0}],"angleEnd":[{"onAngleEndChange":0}],"radius":[{"onRadiusChange":0}],"size":[{"onSizeChange":0}],"opened":[{"onOpenedChange":0}]}]]],["mds-file",[[1,"mds-file",{"suffix":[513],"description":[1],"filename":[1],"preview":[1],"hideDownloadedIcon":[4,"hide-downloaded-icon"],"format":[1537],"wasDownloaded":[32]},null,{"filename":[{"handleFilename":0}]}]]],["mds-keyboard-key",[[1,"mds-keyboard-key",{"name":[513],"pressed":[516]}]]],["mds-input",[[65,"mds-input",{"accessibleName":[1,"aria-label"],"autocomplete":[513],"autofocus":[516],"await":[516],"controlsLayout":[513,"controls-layout"],"controlsIcon":[513,"controls-icon"],"datalist":[16],"disabled":[516],"icon":[1537],"max":[520],"maxlength":[1538],"mic":[516],"min":[520],"minlength":[514],"name":[513],"pattern":[513],"placeholder":[513],"readonly":[516],"required":[516],"variant":[1537],"tip":[513],"step":[513],"type":[513],"typography":[513],"value":[1537],"hasFocus":[32],"isRecording":[32],"currentLengthLabel":[32],"countVariant":[32],"isPasswordVisible":[32],"formDisabled":[32],"addValidator":[64],"removeValidator":[64],"hasValidator":[64],"getErrors":[64],"setFocus":[64],"getInputElement":[64]},[[0,"invalid","invalidHandler"]],{"max":[{"validationRulesChanged":0}],"maxlength":[{"validationRulesChanged":0},{"maxLengthChanged":0}],"min":[{"validationRulesChanged":0}],"minlength":[{"validationRulesChanged":0}],"pattern":[{"validationRulesChanged":0}],"required":[{"validationRulesChanged":0}],"type":[{"validationRulesChanged":0}],"value":[{"valueChanged":0}],"variant":[{"variantChanged":0}],"disabled":[{"disabledChanged":0}]}]]],["mds-input-switch_2",[[321,"mds-input-switch",{"autofocus":[516],"checked":[1540],"disabled":[1540],"explicit":[516],"icon":[513],"indeterminate":[1540],"name":[513],"size":[513],"type":[513],"typography":[513],"variant":[513],"value":[1537],"formDisabled":[32],"dirty":[32],"hasText":[32]},null,{"disabled":[{"disabledChanged":0}],"checked":[{"checkedChanged":0}],"value":[{"valueChanged":0}],"explicit":[{"explicitChanged":0}]}],[257,"mds-table-cell",{"value":[520]}]]],["mds-table-row",[[257,"mds-table-row",{"interactive":[516],"overlayActions":[516,"overlay-actions"],"selectable":[516],"selected":[1540],"selection":[516],"value":[520],"hasActions":[32],"sizerWidth":[32]}]]],["mds-tree-item",[[257,"mds-tree-item",{"actions":[513],"async":[516],"depth":[514],"label":[1],"toggle":[513],"togglePosition":[513,"toggle-position"],"appearance":[513],"expanded":[1540],"truncate":[513],"icon":[1],"hasActions":[32],"hasChildren":[32],"currentToggleIcon":[32],"await":[32],"resolvedActions":[32],"expand":[64],"refreshActions":[64]},null,{"toggle":[{"handleIconChange":0}],"expanded":[{"handleExpandedChange":0}],"actions":[{"handleActionsChange":0}]}]]],["mds-url-view",[[1,"mds-url-view",{"icon":[513],"label":[513],"src":[513],"loading":[513]}]]],["mds-filter",[[257,"mds-filter",{"autoReset":[516,"auto-reset"],"label":[1],"multiple":[516],"reset":[516],"active":[32],"itemsSelected":[32]},[[0,"mdsFilterItemSelect","activeEventHandler"]]]]],["mds-paginator",[[1,"mds-paginator",{"pages":[2],"currentPage":[1538,"current-page"]}]]],["mds-kpi-item",[[1,"mds-kpi-item",{"label":[1],"description":[1],"threshold":[2],"icon":[1],"isIntersecting":[32]}]]],["mds-list-item",[[257,"mds-list-item",{"typography":[513],"variant":[1],"icon":[1]}]]],["mds-tab-bar-item",[[257,"mds-tab-bar-item",{"icon":[1],"label":[1537],"selected":[1540],"typography":[1],"isSelected":[32]},null,{"selected":[{"validateSelected":0}],"label":[{"labelChanged":0}]}]]],["mds-table",[[257,"mds-table",{"interactive":[4],"selectable":[4],"selection":[1540],"selectedRows":[32],"updateSelection":[64],"selectAll":[64]},null,{"interactive":[{"onTableInteractive":0}],"selectable":[{"onTableSelectable":0}]}]]],["mds-usage",[[257,"mds-usage",{"variant":[1],"alias":[1]}]]],["mds-accordion-item",[[257,"mds-accordion-item",{"typography":[1],"selected":[1540],"label":[1]}]]],["mds-bibliography",[[1,"mds-bibliography",{"format":[1],"author":[1],"name":[1],"publisher":[1],"date":[1],"location":[1],"rel":[1],"typography":[1],"variant":[1],"url":[1]}]]],["mds-input-field",[[321,"mds-input-field",{"label":[1025],"message":[1025],"variant":[1537]},null,{"label":[{"labelChanged":0}]}]]],["mds-input-range",[[321,"mds-input-range",{"formatValue":[16],"name":[513],"max":[2],"min":[2],"step":[2],"disabled":[1540],"value":[1538],"progress":[32],"formDisabled":[32]},null,{"disabled":[{"disabledChanged":0}],"value":[{"valueChanged":0}],"min":[{"minChanged":0}],"max":[{"maxChanged":0}],"step":[{"stepChanged":0}]}]]],["mds-notification",[[1,"mds-notification",{"target":[1],"value":[1538],"dismissed":[1540],"strategy":[1537],"max":[514]},null,{"strategy":[{"strategyHandler":0}]}]]],["mds-pref",[[257,"mds-pref",{"size":[513],"controller":[1540],"showReload":[32]},null,{"controller":[{"handleControllerChange":0}],"size":[{"handleSizeChange":0}]}]]],["mds-price-table-features",[[257,"mds-price-table-features",{"label":[1]}]]],["mds-price-table-features-cell",[[257,"mds-price-table-features-cell",{"type":[513]}]]],["mds-price-table-list",[[257,"mds-price-table-list",{"hasItems":[32]}]]],["mds-price-table-list-item",[[257,"mds-price-table-list-item",{"supported":[516],"typography":[513]}]]],["mds-quote",[[257,"mds-quote",{"typography":[1],"tag":[1]}]]],["mds-toast",[[257,"mds-toast",{"duration":[1538],"visible":[1540],"variant":[513],"tone":[513],"position":[1537],"hasActions":[32]},null,{"visible":[{"visibleChanged":0}],"duration":[{"durationChanged":0}]}]]],["mds-accordion",[[257,"mds-accordion",{"multiple":[4],"disableClose":[4,"disable-close"]},[[0,"mdsAccordionItemSelect","selectedEventHandler"],[0,"mdsAccordionItemUnselect","unselectedEventHandler"]]]]],["mds-accordion-timer",[[257,"mds-accordion-timer",{"duration":[514],"paused":[516],"time":[32]},[[0,"mdsAccordionTimerItemClickSelect","onClickSelect"],[0,"mdsAccordionTimerItemSelect","onSelect"],[0,"mdsAccordionTimerItemMouseEnterSelect","onMouseEnterSelect"],[0,"mdsAccordionTimerItemMouseLeaveSelect","onMouseLeaveSelect"]],{"paused":[{"handlePaused":0}]}]]],["mds-author",[[257,"mds-author",{"hasAvatar":[32]}]]],["mds-button-group",[[257,"mds-button-group"]]],["mds-card",[[257,"mds-card",{"disableAutoGrid":[516,"disable-auto-grid"],"layout":[32]}]]],["mds-card-content",[[257,"mds-card-content"]]],["mds-card-footer",[[257,"mds-card-footer"]]],["mds-card-header",[[257,"mds-card-header",{"hasActions":[32]}]]],["mds-card-media",[[257,"mds-card-media"]]],["mds-details",[[257,"mds-details",{"opened":[1540],"isOpened":[32],"hasIcon":[32]},null,{"opened":[{"validateOpened":0}]}]]],["mds-emoji",[[1,"mds-emoji",{"name":[513],"agree":[64],"smile":[64],"disagree":[64],"startThinking":[64],"stopThinking":[64],"startBlinking":[64],"stopBlinking":[64],"stopFollowMouse":[64],"startFollowMouse":[64]},null,{"name":[{"checkNameChanged":0}]}]]],["mds-hr",[[1,"mds-hr"]]],["mds-kpi",[[257,"mds-kpi"]]],["mds-list",[[257,"mds-list"]]],["mds-price-table",[[257,"mds-price-table"]]],["mds-price-table-features-row",[[257,"mds-price-table-features-row",{"cellPercWidth":[32]}]]],["mds-price-table-header",[[257,"mds-price-table-header"]]],["mds-stepper-bar",[[257,"mds-stepper-bar",{"itemsDone":[2,"items-done"],"navigation":[513],"currentItem":[32]},[[0,"mdsStepperBarItemDone","changeEventHandler"]],{"itemsDone":[{"itemDone":0}]}]]],["mds-tab-bar",[[257,"mds-tab-bar",null,[[0,"mdsTabBarItemSelect","changeEventHandler"]]]]],["mds-table-body",[[257,"mds-table-body",{"interactive":[516],"selection":[516]}]]],["mds-table-footer",[[257,"mds-table-footer"]]],["mds-tree",[[257,"mds-tree",{"appearance":[513],"async":[516],"label":[1],"toggle":[513],"togglePosition":[513,"toggle-position"],"expanded":[1540],"truncate":[513],"actions":[513]},null,{"expanded":[{"handleExpandedChange":0}],"toggle":[{"handleToggleChange":0}],"togglePosition":[{"handleTogglePositionChange":0}],"appearance":[{"handleAppearanceChange":0}],"actions":[{"handleActionsChange":0}],"truncate":[{"handleTruncateChange":0}]}]]],["mds-video-wall",[[257,"mds-video-wall",{"autoplay":[4],"loop":[4],"muted":[4],"noise":[1],"poster":[1],"preload":[1],"src":[1],"hasContent":[32]}]]],["mds-zero",[[257,"mds-zero"]]],["mds-file-preview",[[1,"mds-file-preview",{"deletable":[516],"downloadable":[516],"description":[513],"filename":[513],"filesize":[513],"message":[513],"truncate":[513],"src":[513],"suffix":[513],"icon":[513],"variant":[513],"format":[1537]},null,{"filename":[{"handleFilename":0}],"downloadable":[{"handleDownloadable":0}]}]]],["mds-table-header-cell",[[1,"mds-table-header-cell",{"sortable":[516],"label":[513],"direction":[1537],"isAscending":[32]},null,{"sortable":[{"sortableHandler":0}],"direction":[{"directionHandler":0}]}]]],["mds-filter-item",[[1,"mds-filter-item",{"selected":[1540],"label":[513],"icon":[513],"value":[513],"count":[513],"disabled":[516]}]]],["mds-paginator-item",[[257,"mds-paginator-item",{"icon":[513],"selected":[516],"disabled":[516]}]]],["mds-separator",[[1,"mds-separator"]]],["mds-modal",[[257,"mds-modal",{"accessibleName":[1,"aria-label"],"opened":[1540],"hideBackdrop":[1540,"hide-backdrop"],"position":[1537],"animation":[513],"overflow":[513],"interaction":[513],"hasBottom":[32],"hasTop":[32],"hasWindow":[32],"windowHeaderHeight":[32],"windowFooterHeight":[32],"close":[64]},null,{"opened":[{"handleOpenProp":0}],"hideBackdrop":[{"handleHideBackdropProp":0}]}]]],["mds-banner_3",[[257,"mds-banner",{"variant":[513],"tone":[513],"hideCockade":[516,"hide-cockade"],"deletable":[4],"headline":[1],"icon":[1],"closeButtonVariant":[32],"hasActions":[32]},null,{"variant":[{"variantHandler":0}]}],[1,"mds-chip",{"clickable":[1540],"deletable":[4],"disabled":[4],"icon":[1],"label":[513],"selected":[1540],"selectable":[516],"variant":[513],"tone":[513]},null,{"selectable":[{"handleSelectableProp":0}],"clickable":[{"handleClickableProp":0}],"selected":[{"handleSelectedProp":0}]}],[257,"mds-help",{"icon":[1],"disableAutoPlacement":[516,"disable-auto-placement"],"placement":[513]}]]],["mds-avatar",[[1,"mds-avatar",{"icon":[513],"initials":[1537],"count":[1538],"src":[513],"tone":[513],"variant":[1537],"fallback":[32],"loaded":[32]},null,{"initials":[{"initialsHandler":0}],"count":[{"countHandler":0}],"src":[{"srcHandler":0}],"icon":[{"iconHandler":0}]}]]],["mds-tooltip",[[257,"mds-tooltip",{"hideArrow":[4,"hide-arrow"],"arrowPadding":[2,"arrow-padding"],"disableAutoPlacement":[516,"disable-auto-placement"],"flip":[4],"target":[513],"offset":[2],"placement":[513],"typography":[1],"disableShift":[4,"disable-shift"],"shiftPadding":[2,"shift-padding"],"strategy":[513],"visible":[1540]},null,{"hideArrow":[{"hideArrowChanged":0}],"disableAutoPlacement":[{"disableAutoPlacementChanged":0}],"flip":[{"flipChanged":0}],"offset":[{"offsetChanged":0}],"placement":[{"placementChanged":0}],"disableShift":[{"disableShiftChanged":0}],"shiftPadding":[{"shiftPaddingChanged":0}],"strategy":[{"strategyChanged":0}],"visible":[{"visibleChanged":0}],"target":[{"targetChanged":0}]}]]],["mds-calendar_2",[[257,"mds-calendar",{"singlePicker":[4,"single-picker"],"hidePreviousButton":[4,"hide-previous-button"],"hideNextButton":[4,"hide-next-button"],"disableMonthYearSelection":[4,"disable-month-year-selection"],"hidePreselection":[4,"hide-preselection"],"hideToday":[4,"hide-today"],"viewDate":[513,"view-date"],"hoverDate":[513,"hover-date"],"startDate":[513,"start-date"],"endDate":[513,"end-date"],"min":[513],"max":[513],"hasPreselection":[32],"currentDate":[32],"weekDaysinMonth":[32],"weekdays":[32],"startDateIdentifier":[32],"endDateIdentifier":[32],"isFirstClick":[32],"currentView":[32],"selectedYear":[32],"internalStartDate":[32],"internalEndDate":[32],"currentMonth":[32],"currentYear":[32],"updateCurrentDate":[64]},null,{"startDate":[{"handleStartDate":0}],"endDate":[{"handleEndDate":0}],"viewDate":[{"handleViewDate":0}],"hoverDate":[{"handleHoverDate":0}]}],[1,"mds-calendar-cell",{"month":[513],"label":[513],"date":[513],"orientation":[513],"preview":[516],"selection":[513],"disabled":[516],"today":[516]}]]],["mds-badge",[[257,"mds-badge",{"label":[1537],"variant":[513],"tone":[513],"typography":[513]},null,{"label":[{"labelChanged":0}]}]]],["mds-dropdown",[[257,"mds-dropdown",{"hideArrow":[516,"hide-arrow"],"arrowPadding":[2,"arrow-padding"],"disableAutoPlacement":[4,"disable-auto-placement"],"backdrop":[516],"flip":[4],"interaction":[513],"target":[1],"offset":[2],"placement":[1],"disableShift":[4,"disable-shift"],"shiftPadding":[2,"shift-padding"],"disableSmooth":[4,"disable-smooth"],"strategy":[1],"visible":[1540],"zIndex":[2,"z-index"]},null,{"hideArrow":[{"hideArrowChanged":0}],"arrowPadding":[{"arrowPaddingChanged":0}],"disableAutoPlacement":[{"disableAutoPlacementChanged":0}],"backdrop":[{"backdropChanged":0}],"flip":[{"flipChanged":0}],"offset":[{"offsetChanged":0}],"placement":[{"placementChanged":0}],"disableShift":[{"disableShiftChanged":0}],"shiftPadding":[{"shiftPaddingChanged":0}],"strategy":[{"strategyChanged":0}],"target":[{"targetChanged":0}],"visible":[{"visibleChanged":0}]}]]],["mds-img",[[1,"mds-img",{"alt":[1537],"crossorigin":[1],"height":[1],"loading":[1],"referrerpolicy":[1],"sizes":[1],"src":[1],"srcset":[1],"srcsetConsumption":[1,"srcset-consumption"],"width":[1],"imageConsumptionLoaded":[32],"imageError":[32]},null,{"srcsetConsumption":[{"srcsetConsumptionHandler":0}],"src":[{"srcHandler":0}]}]]],["mds-avatar-stack-item",[[1,"mds-avatar-stack-item",{"count":[514],"initials":[1537],"src":[513],"tone":[513],"variant":[513]}]]],["mds-input-tip_2",[[257,"mds-input-tip-item",{"variant":[513],"expanded":[1540]},null,{"expanded":[{"handleEcpandedChanged":0}]}],[257,"mds-input-tip",{"active":[516],"position":[513]}]]],["mds-progress_2",[[1,"mds-progress",{"progress":[2],"direction":[513],"variant":[513],"typography":[1],"size":[513],"steps":[1],"currentStep":[32]},null,{"progress":[{"progressChanged":0}],"steps":[{"stepsChanged":0}]}],[1,"mds-radial-progress",{"progress":[2],"icon":[513],"typography":[513],"variant":[513],"animatedProgress":[32]},null,{"progress":[{"onProgressChange":0}]}]]],["mds-tab_2",[[1,"mds-tab-item",{"await":[516],"selected":[1540],"disabled":[1540],"icon":[1],"label":[513],"iconPosition":[1,"icon-position"],"type":[1],"size":[513],"direction":[513],"animation":[513],"value":[513],"href":[513],"expanded":[4],"isSelected":[32],"hasText":[32]},null,{"selected":[{"validateActive":0}]}],[257,"mds-tab",{"direction":[1537],"scrollbar":[1540],"animation":[513],"fill":[1540],"overflow":[1540],"size":[1537],"sliderWidth":[32],"sliderHeight":[32],"sliderOffsetX":[32],"sliderOffsetY":[32],"overflowLeft":[32],"overflowRight":[32],"navigation":[32],"hasContent":[32]},[[0,"mdsTabItemSelect","changeEventHandler"],[0,"mdsTabItemFocus","focusEventHandler"]],{"animation":[{"handleAnimationChange":0}],"direction":[{"handleDirectionChange":0}],"scrollbar":[{"handleScrollbarChange":0}],"fill":[{"handleFillChange":0}],"overflow":[{"handleOverflowChange":0}],"size":[{"handleSizeChange":0}]}]]]]'),a)]}}))}))};export{defineCustomElements};
|
|
@@ -0,0 +1,230 @@
|
|
|
1
|
+
import{p as preferenceStore}from"./preference-DNNqH7BU.js";
|
|
2
|
+
/*!
|
|
3
|
+
* mustache.js - Logic-less {{mustache}} templates with JavaScript
|
|
4
|
+
* http://github.com/janl/mustache.js
|
|
5
|
+
*/var objectToString=Object.prototype.toString;var isArray=Array.isArray||function e(t){return objectToString.call(t)==="[object Array]"};function isFunction(e){return typeof e==="function"}
|
|
6
|
+
/**
|
|
7
|
+
* More correct typeof string handling array
|
|
8
|
+
* which normally returns typeof 'object'
|
|
9
|
+
*/function typeStr(e){return isArray(e)?"array":typeof e}function escapeRegExp(e){return e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}
|
|
10
|
+
/**
|
|
11
|
+
* Null safe way of checking whether or not an object,
|
|
12
|
+
* including its prototype, has a given property
|
|
13
|
+
*/function hasProperty(e,t){return e!=null&&typeof e==="object"&&t in e}
|
|
14
|
+
/**
|
|
15
|
+
* Safe way of detecting whether or not the given thing is a primitive and
|
|
16
|
+
* whether it has the given property
|
|
17
|
+
*/function primitiveHasOwnProperty(e,t){return e!=null&&typeof e!=="object"&&e.hasOwnProperty&&e.hasOwnProperty(t)}
|
|
18
|
+
// Workaround for https://issues.apache.org/jira/browse/COUCHDB-577
|
|
19
|
+
// See https://github.com/janl/mustache.js/issues/189
|
|
20
|
+
var regExpTest=RegExp.prototype.test;function testRegExp(e,t){return regExpTest.call(e,t)}var nonSpaceRe=/\S/;function isWhitespace(e){return!testRegExp(nonSpaceRe,e)}var entityMap={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/","`":"`","=":"="};function escapeHtml(e){return String(e).replace(/[&<>"'`=\/]/g,(function e(t){return entityMap[t]}))}var whiteRe=/\s*/;var spaceRe=/\s+/;var equalsRe=/\s*=/;var curlyRe=/\s*\}/;var tagRe=/#|\^|\/|>|\{|&|=|!/;
|
|
21
|
+
/**
|
|
22
|
+
* Breaks up the given `template` string into a tree of tokens. If the `tags`
|
|
23
|
+
* argument is given here it must be an array with two string values: the
|
|
24
|
+
* opening and closing tags used in the template (e.g. [ "<%", "%>" ]). Of
|
|
25
|
+
* course, the default is to use mustaches (i.e. mustache.tags).
|
|
26
|
+
*
|
|
27
|
+
* A token is an array with at least 4 elements. The first element is the
|
|
28
|
+
* mustache symbol that was used inside the tag, e.g. "#" or "&". If the tag
|
|
29
|
+
* did not contain a symbol (i.e. {{myValue}}) this element is "name". For
|
|
30
|
+
* all text that appears outside a symbol this element is "text".
|
|
31
|
+
*
|
|
32
|
+
* The second element of a token is its "value". For mustache tags this is
|
|
33
|
+
* whatever else was inside the tag besides the opening symbol. For text tokens
|
|
34
|
+
* this is the text itself.
|
|
35
|
+
*
|
|
36
|
+
* The third and fourth elements of the token are the start and end indices,
|
|
37
|
+
* respectively, of the token in the original template.
|
|
38
|
+
*
|
|
39
|
+
* Tokens that are the root node of a subtree contain two more elements: 1) an
|
|
40
|
+
* array of tokens in the subtree and 2) the index in the original template at
|
|
41
|
+
* which the closing tag for that section begins.
|
|
42
|
+
*
|
|
43
|
+
* Tokens for partials also contain two more elements: 1) a string value of
|
|
44
|
+
* indendation prior to that tag and 2) the index of that tag on that line -
|
|
45
|
+
* eg a value of 2 indicates the partial is the third tag on this line.
|
|
46
|
+
*/function parseTemplate(e,t){if(!e)return[];var r=false;var n=[];// Stack to hold section tokens
|
|
47
|
+
var i=[];// Buffer to hold the tokens
|
|
48
|
+
var a=[];// Indices of whitespace tokens on the current line
|
|
49
|
+
var s=false;// Is there a {{tag}} on the current line?
|
|
50
|
+
var f=false;// Is there a non-space char on the current line?
|
|
51
|
+
var u="";// Tracks indentation for tags that use it
|
|
52
|
+
var o=0;// Stores a count of number of tags encountered on a line
|
|
53
|
+
// Strips all whitespace tokens array for the current line
|
|
54
|
+
// if there was a {{#tag}} on it and otherwise only space.
|
|
55
|
+
function c(){if(s&&!f){while(a.length)delete i[a.pop()]}else{a=[]}s=false;f=false}var h,l,v;function p(e){if(typeof e==="string")e=e.split(spaceRe,2);if(!isArray(e)||e.length!==2)throw new Error("Invalid tags: "+e);h=new RegExp(escapeRegExp(e[0])+"\\s*");l=new RegExp("\\s*"+escapeRegExp(e[1]));v=new RegExp("\\s*"+escapeRegExp("}"+e[1]))}p(t||mustache.tags);var d=new Scanner(e);var y,m,g,w,x,W;while(!d.eos()){y=d.pos;
|
|
56
|
+
// Match any text between tags.
|
|
57
|
+
g=d.scanUntil(h);if(g){for(var R=0,b=g.length;R<b;++R){w=g.charAt(R);if(isWhitespace(w)){a.push(i.length);u+=w}else{f=true;r=true;u+=" "}i.push(["text",w,y,y+1]);y+=1;
|
|
58
|
+
// Check for whitespace on the current line.
|
|
59
|
+
if(w==="\n"){c();u="";o=0;r=false}}}
|
|
60
|
+
// Match the opening tag.
|
|
61
|
+
if(!d.scan(h))break;s=true;
|
|
62
|
+
// Get the tag type.
|
|
63
|
+
m=d.scan(tagRe)||"name";d.scan(whiteRe);
|
|
64
|
+
// Get the tag value.
|
|
65
|
+
if(m==="="){g=d.scanUntil(equalsRe);d.scan(equalsRe);d.scanUntil(l)}else if(m==="{"){g=d.scanUntil(v);d.scan(curlyRe);d.scanUntil(l);m="&"}else{g=d.scanUntil(l)}
|
|
66
|
+
// Match the closing tag.
|
|
67
|
+
if(!d.scan(l))throw new Error("Unclosed tag at "+d.pos);if(m==">"){x=[m,g,y,d.pos,u,o,r]}else{x=[m,g,y,d.pos]}o++;i.push(x);if(m==="#"||m==="^"){n.push(x)}else if(m==="/"){
|
|
68
|
+
// Check section nesting.
|
|
69
|
+
W=n.pop();if(!W)throw new Error('Unopened section "'+g+'" at '+y);if(W[1]!==g)throw new Error('Unclosed section "'+W[1]+'" at '+y)}else if(m==="name"||m==="{"||m==="&"){f=true}else if(m==="="){
|
|
70
|
+
// Set the tags for the next time around.
|
|
71
|
+
p(g)}}c();
|
|
72
|
+
// Make sure there are no open sections when we're done.
|
|
73
|
+
W=n.pop();if(W)throw new Error('Unclosed section "'+W[1]+'" at '+d.pos);return nestTokens(squashTokens(i))}
|
|
74
|
+
/**
|
|
75
|
+
* Combines the values of consecutive text tokens in the given `tokens` array
|
|
76
|
+
* to a single token.
|
|
77
|
+
*/function squashTokens(e){var t=[];var r,n;for(var i=0,a=e.length;i<a;++i){r=e[i];if(r){if(r[0]==="text"&&n&&n[0]==="text"){n[1]+=r[1];n[3]=r[3]}else{t.push(r);n=r}}}return t}
|
|
78
|
+
/**
|
|
79
|
+
* Forms the given array of `tokens` into a nested tree structure where
|
|
80
|
+
* tokens that represent a section have two additional items: 1) an array of
|
|
81
|
+
* all tokens that appear in that section and 2) the index in the original
|
|
82
|
+
* template that represents the end of that section.
|
|
83
|
+
*/function nestTokens(e){var t=[];var r=t;var n=[];var i,a;for(var s=0,f=e.length;s<f;++s){i=e[s];switch(i[0]){case"#":case"^":r.push(i);n.push(i);r=i[4]=[];break;case"/":a=n.pop();a[5]=i[2];r=n.length>0?n[n.length-1][4]:t;break;default:r.push(i)}}return t}
|
|
84
|
+
/**
|
|
85
|
+
* A simple string scanner that is used by the template parser to find
|
|
86
|
+
* tokens in template strings.
|
|
87
|
+
*/function Scanner(e){this.string=e;this.tail=e;this.pos=0}
|
|
88
|
+
/**
|
|
89
|
+
* Returns `true` if the tail is empty (end of string).
|
|
90
|
+
*/Scanner.prototype.eos=function e(){return this.tail===""};
|
|
91
|
+
/**
|
|
92
|
+
* Tries to match the given regular expression at the current position.
|
|
93
|
+
* Returns the matched text if it can match, the empty string otherwise.
|
|
94
|
+
*/Scanner.prototype.scan=function e(t){var r=this.tail.match(t);if(!r||r.index!==0)return"";var n=r[0];this.tail=this.tail.substring(n.length);this.pos+=n.length;return n};
|
|
95
|
+
/**
|
|
96
|
+
* Skips all text until the given regular expression can be matched. Returns
|
|
97
|
+
* the skipped string, which is the entire tail if no match can be made.
|
|
98
|
+
*/Scanner.prototype.scanUntil=function e(t){var r=this.tail.search(t),n;switch(r){case-1:n=this.tail;this.tail="";break;case 0:n="";break;default:n=this.tail.substring(0,r);this.tail=this.tail.substring(r)}this.pos+=n.length;return n};
|
|
99
|
+
/**
|
|
100
|
+
* Represents a rendering context by wrapping a view object and
|
|
101
|
+
* maintaining a reference to the parent context.
|
|
102
|
+
*/function Context(e,t){this.view=e;this.cache={".":this.view};this.parent=t}
|
|
103
|
+
/**
|
|
104
|
+
* Creates a new context using the given view with this context
|
|
105
|
+
* as the parent.
|
|
106
|
+
*/Context.prototype.push=function e(t){return new Context(t,this)};
|
|
107
|
+
/**
|
|
108
|
+
* Returns the value of the given name in this context, traversing
|
|
109
|
+
* up the context hierarchy if the value is absent in this context's view.
|
|
110
|
+
*/Context.prototype.lookup=function e(t){var r=this.cache;var n;if(r.hasOwnProperty(t)){n=r[t]}else{var i=this,a,s,f,u=false;while(i){if(t.indexOf(".")>0){a=i.view;s=t.split(".");f=0;
|
|
111
|
+
/**
|
|
112
|
+
* Using the dot notion path in `name`, we descend through the
|
|
113
|
+
* nested objects.
|
|
114
|
+
*
|
|
115
|
+
* To be certain that the lookup has been successful, we have to
|
|
116
|
+
* check if the last object in the path actually has the property
|
|
117
|
+
* we are looking for. We store the result in `lookupHit`.
|
|
118
|
+
*
|
|
119
|
+
* This is specially necessary for when the value has been set to
|
|
120
|
+
* `undefined` and we want to avoid looking up parent contexts.
|
|
121
|
+
*
|
|
122
|
+
* In the case where dot notation is used, we consider the lookup
|
|
123
|
+
* to be successful even if the last "object" in the path is
|
|
124
|
+
* not actually an object but a primitive (e.g., a string, or an
|
|
125
|
+
* integer), because it is sometimes useful to access a property
|
|
126
|
+
* of an autoboxed primitive, such as the length of a string.
|
|
127
|
+
**/while(a!=null&&f<s.length){if(f===s.length-1)u=hasProperty(a,s[f])||primitiveHasOwnProperty(a,s[f]);a=a[s[f++]]}}else{a=i.view[t];
|
|
128
|
+
/**
|
|
129
|
+
* Only checking against `hasProperty`, which always returns `false` if
|
|
130
|
+
* `context.view` is not an object. Deliberately omitting the check
|
|
131
|
+
* against `primitiveHasOwnProperty` if dot notation is not used.
|
|
132
|
+
*
|
|
133
|
+
* Consider this example:
|
|
134
|
+
* ```
|
|
135
|
+
* Mustache.render("The length of a football field is {{#length}}{{length}}{{/length}}.", {length: "100 yards"})
|
|
136
|
+
* ```
|
|
137
|
+
*
|
|
138
|
+
* If we were to check also against `primitiveHasOwnProperty`, as we do
|
|
139
|
+
* in the dot notation case, then render call would return:
|
|
140
|
+
*
|
|
141
|
+
* "The length of a football field is 9."
|
|
142
|
+
*
|
|
143
|
+
* rather than the expected:
|
|
144
|
+
*
|
|
145
|
+
* "The length of a football field is 100 yards."
|
|
146
|
+
**/u=hasProperty(i.view,t)}if(u){n=a;break}i=i.parent}r[t]=n}if(isFunction(n))n=n.call(this.view);return n};
|
|
147
|
+
/**
|
|
148
|
+
* A Writer knows how to take a stream of tokens and render them to a
|
|
149
|
+
* string, given a context. It also maintains a cache of templates to
|
|
150
|
+
* avoid the need to parse the same template twice.
|
|
151
|
+
*/function Writer(){this.templateCache={_cache:{},set:function e(t,r){this._cache[t]=r},get:function e(t){return this._cache[t]},clear:function e(){this._cache={}}}}
|
|
152
|
+
/**
|
|
153
|
+
* Clears all cached templates in this writer.
|
|
154
|
+
*/Writer.prototype.clearCache=function e(){if(typeof this.templateCache!=="undefined"){this.templateCache.clear()}};
|
|
155
|
+
/**
|
|
156
|
+
* Parses and caches the given `template` according to the given `tags` or
|
|
157
|
+
* `mustache.tags` if `tags` is omitted, and returns the array of tokens
|
|
158
|
+
* that is generated from the parse.
|
|
159
|
+
*/Writer.prototype.parse=function e(t,r){var n=this.templateCache;var i=t+":"+(r||mustache.tags).join(":");var a=typeof n!=="undefined";var s=a?n.get(i):undefined;if(s==undefined){s=parseTemplate(t,r);a&&n.set(i,s)}return s};
|
|
160
|
+
/**
|
|
161
|
+
* High-level method that is used to render the given `template` with
|
|
162
|
+
* the given `view`.
|
|
163
|
+
*
|
|
164
|
+
* The optional `partials` argument may be an object that contains the
|
|
165
|
+
* names and templates of partials that are used in the template. It may
|
|
166
|
+
* also be a function that is used to load partial templates on the fly
|
|
167
|
+
* that takes a single argument: the name of the partial.
|
|
168
|
+
*
|
|
169
|
+
* If the optional `config` argument is given here, then it should be an
|
|
170
|
+
* object with a `tags` attribute or an `escape` attribute or both.
|
|
171
|
+
* If an array is passed, then it will be interpreted the same way as
|
|
172
|
+
* a `tags` attribute on a `config` object.
|
|
173
|
+
*
|
|
174
|
+
* The `tags` attribute of a `config` object must be an array with two
|
|
175
|
+
* string values: the opening and closing tags used in the template (e.g.
|
|
176
|
+
* [ "<%", "%>" ]). The default is to mustache.tags.
|
|
177
|
+
*
|
|
178
|
+
* The `escape` attribute of a `config` object must be a function which
|
|
179
|
+
* accepts a string as input and outputs a safely escaped string.
|
|
180
|
+
* If an `escape` function is not provided, then an HTML-safe string
|
|
181
|
+
* escaping function is used as the default.
|
|
182
|
+
*/Writer.prototype.render=function e(t,r,n,i){var a=this.getConfigTags(i);var s=this.parse(t,a);var f=r instanceof Context?r:new Context(r,undefined);return this.renderTokens(s,f,n,t,i)};
|
|
183
|
+
/**
|
|
184
|
+
* Low-level method that renders the given array of `tokens` using
|
|
185
|
+
* the given `context` and `partials`.
|
|
186
|
+
*
|
|
187
|
+
* Note: The `originalTemplate` is only ever used to extract the portion
|
|
188
|
+
* of the original template that was contained in a higher-order section.
|
|
189
|
+
* If the template doesn't use higher-order sections, this argument may
|
|
190
|
+
* be omitted.
|
|
191
|
+
*/Writer.prototype.renderTokens=function e(t,r,n,i,a){var s="";var f,u,o;for(var c=0,h=t.length;c<h;++c){o=undefined;f=t[c];u=f[0];if(u==="#")o=this.renderSection(f,r,n,i,a);else if(u==="^")o=this.renderInverted(f,r,n,i,a);else if(u===">")o=this.renderPartial(f,r,n,a);else if(u==="&")o=this.unescapedValue(f,r);else if(u==="name")o=this.escapedValue(f,r,a);else if(u==="text")o=this.rawValue(f);if(o!==undefined)s+=o}return s};Writer.prototype.renderSection=function e(t,r,n,i,a){var s=this;var f="";var u=r.lookup(t[1]);
|
|
192
|
+
// This function is used to render an arbitrary template
|
|
193
|
+
// in the current context by higher-order sections.
|
|
194
|
+
function o(e){return s.render(e,r,n,a)}if(!u)return;if(isArray(u)){for(var c=0,h=u.length;c<h;++c){f+=this.renderTokens(t[4],r.push(u[c]),n,i,a)}}else if(typeof u==="object"||typeof u==="string"||typeof u==="number"){f+=this.renderTokens(t[4],r.push(u),n,i,a)}else if(isFunction(u)){if(typeof i!=="string")throw new Error("Cannot use higher-order sections without the original template");
|
|
195
|
+
// Extract the portion of the original template that the section contains.
|
|
196
|
+
u=u.call(r.view,i.slice(t[3],t[5]),o);if(u!=null)f+=u}else{f+=this.renderTokens(t[4],r,n,i,a)}return f};Writer.prototype.renderInverted=function e(t,r,n,i,a){var s=r.lookup(t[1]);
|
|
197
|
+
// Use JavaScript's definition of falsy. Include empty arrays.
|
|
198
|
+
// See https://github.com/janl/mustache.js/issues/186
|
|
199
|
+
if(!s||isArray(s)&&s.length===0)return this.renderTokens(t[4],r,n,i,a)};Writer.prototype.indentPartial=function e(t,r,n){var i=r.replace(/[^ \t]/g,"");var a=t.split("\n");for(var s=0;s<a.length;s++){if(a[s].length&&(s>0||!n)){a[s]=i+a[s]}}return a.join("\n")};Writer.prototype.renderPartial=function e(t,r,n,i){if(!n)return;var a=this.getConfigTags(i);var s=isFunction(n)?n(t[1]):n[t[1]];if(s!=null){var f=t[6];var u=t[5];var o=t[4];var c=s;if(u==0&&o){c=this.indentPartial(s,o,f)}var h=this.parse(c,a);return this.renderTokens(h,r,n,c,i)}};Writer.prototype.unescapedValue=function e(t,r){var n=r.lookup(t[1]);if(n!=null)return n};Writer.prototype.escapedValue=function e(t,r,n){var i=this.getConfigEscape(n)||mustache.escape;var a=r.lookup(t[1]);if(a!=null)return typeof a==="number"&&i===mustache.escape?String(a):i(a)};Writer.prototype.rawValue=function e(t){return t[1]};Writer.prototype.getConfigTags=function e(t){if(isArray(t)){return t}else if(t&&typeof t==="object"){return t.tags}else{return undefined}};Writer.prototype.getConfigEscape=function e(t){if(t&&typeof t==="object"&&!isArray(t)){return t.escape}else{return undefined}};var mustache={name:"mustache.js",version:"4.2.0",tags:["{{","}}"],clearCache:undefined,escape:undefined,parse:undefined,render:undefined,Scanner:undefined,Context:undefined,Writer:undefined,
|
|
200
|
+
/**
|
|
201
|
+
* Allows a user to override the default caching strategy, by providing an
|
|
202
|
+
* object with set, get and clear methods. This can also be used to disable
|
|
203
|
+
* the cache by setting it to the literal `undefined`.
|
|
204
|
+
*/
|
|
205
|
+
set templateCache(e){defaultWriter.templateCache=e},
|
|
206
|
+
/**
|
|
207
|
+
* Gets the default or overridden caching object from the default writer.
|
|
208
|
+
*/
|
|
209
|
+
get templateCache(){return defaultWriter.templateCache}};
|
|
210
|
+
// All high-level mustache.* functions use this writer.
|
|
211
|
+
var defaultWriter=new Writer;
|
|
212
|
+
/**
|
|
213
|
+
* Clears all cached templates in the default writer.
|
|
214
|
+
*/mustache.clearCache=function e(){return defaultWriter.clearCache()};
|
|
215
|
+
/**
|
|
216
|
+
* Parses and caches the given template in the default writer and returns the
|
|
217
|
+
* array of tokens it contains. Doing this ahead of time avoids the need to
|
|
218
|
+
* parse templates on the fly as they are rendered.
|
|
219
|
+
*/mustache.parse=function e(t,r){return defaultWriter.parse(t,r)};
|
|
220
|
+
/**
|
|
221
|
+
* Renders the `template` with the given `view`, `partials`, and `config`
|
|
222
|
+
* using the default writer.
|
|
223
|
+
*/mustache.render=function e(t,r,n,i){if(typeof t!=="string"){throw new TypeError('Invalid template! Template should be a "string" '+'but "'+typeStr(t)+'" was given as the first '+"argument for mustache#render(template, view, partials)")}return defaultWriter.render(t,r,n,i)};
|
|
224
|
+
// Export the escaping function so that the user may override it.
|
|
225
|
+
// See https://github.com/janl/mustache.js/issues/244
|
|
226
|
+
mustache.escape=escapeHtml;
|
|
227
|
+
// Export these mainly for testing, but also for advanced usage.
|
|
228
|
+
mustache.Scanner=Scanner;mustache.Context=Context;mustache.Writer=Writer;var Locale=/** @class */function(){function e(e){var t=this;this.rollbackLanguage="en";this.set=function(e){t.config=e};this.pluralize=function(e,r,n){var i=t.config[n]?t.config[n][e]:t.config[t.rollbackLanguage][e];var a=[];if(Array.isArray(i)){a.push(i[0]);a.push(i[1])}else{a.push(i);a.push(i)}var s=a[0];var f=s;var u=Object.keys(r);if(u.length>0){var o=u[0];if(typeof r[o]==="number"){if(r[o]!==1){f=a[1]}}}return mustache.render(f,r)};this.get=function(e,r){
|
|
229
|
+
// Reading the store during render auto-subscribes the component to language changes
|
|
230
|
+
var n=preferenceStore.state.language;if(r){return t.pluralize(e,r,n)}return t.config[n]?t.config[n][e]:t.config[t.rollbackLanguage][e]};if(e){this.set(e)}}return e}();export{Locale as L};
|