@maggioli-design-system/magma 2.4.0 → 2.4.1
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 +1 -1
- package/CHANGELOG.md +13 -0
- package/dist/cjs/{floating-controller-BxER7sig.js → floating-controller-BiwDIKXd.js} +1 -1
- package/dist/cjs/mds-dropdown.cjs.entry.js +2 -2
- package/dist/cjs/mds-emoji.cjs.entry.js +35 -5
- package/dist/cjs/mds-horizontal-scroll.cjs.entry.js +1 -1
- package/dist/cjs/mds-input-switch_2.cjs.entry.js +1 -1
- package/dist/cjs/mds-modal.cjs.entry.js +1 -1
- package/dist/cjs/mds-pref-mode.cjs.entry.js +1 -1
- package/dist/cjs/mds-push-notification.cjs.entry.js +1 -1
- package/dist/cjs/mds-radial-menu.cjs.entry.js +2 -2
- package/dist/cjs/mds-tab_2.cjs.entry.js +1 -1
- package/dist/cjs/mds-toast.cjs.entry.js +1 -1
- package/dist/cjs/mds-tooltip.cjs.entry.js +2 -2
- package/dist/cjs/mds-tree-item.cjs.entry.js +2 -2
- package/dist/cjs/{unit-Cm341q1R.js → unit-JdmHaLT3.js} +1 -1
- package/dist/collection/common/unit.js +1 -1
- package/dist/collection/components/mds-accordion/AGENTS.md +1 -1
- package/dist/collection/components/mds-accordion/documentation.json +1 -1
- package/dist/collection/components/mds-accordion-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-accordion-item/documentation.json +1 -1
- package/dist/collection/components/mds-accordion-timer/AGENTS.md +1 -1
- package/dist/collection/components/mds-accordion-timer/documentation.json +1 -1
- package/dist/collection/components/mds-accordion-timer-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-accordion-timer-item/documentation.json +1 -1
- package/dist/collection/components/mds-author/AGENTS.md +1 -1
- package/dist/collection/components/mds-author/documentation.json +1 -1
- package/dist/collection/components/mds-avatar/AGENTS.md +1 -1
- package/dist/collection/components/mds-avatar/documentation.json +1 -1
- package/dist/collection/components/mds-avatar-stack/AGENTS.md +1 -1
- package/dist/collection/components/mds-avatar-stack/documentation.json +1 -1
- package/dist/collection/components/mds-avatar-stack-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-avatar-stack-item/documentation.json +1 -1
- package/dist/collection/components/mds-badge/AGENTS.md +1 -1
- package/dist/collection/components/mds-badge/documentation.json +1 -1
- package/dist/collection/components/mds-banner/AGENTS.md +1 -1
- package/dist/collection/components/mds-banner/documentation.json +1 -1
- package/dist/collection/components/mds-benchmark-bar/AGENTS.md +1 -1
- package/dist/collection/components/mds-benchmark-bar/documentation.json +1 -1
- package/dist/collection/components/mds-bibliography/AGENTS.md +1 -1
- package/dist/collection/components/mds-bibliography/documentation.json +1 -1
- package/dist/collection/components/mds-breadcrumb/AGENTS.md +1 -1
- package/dist/collection/components/mds-breadcrumb/documentation.json +1 -1
- package/dist/collection/components/mds-breadcrumb-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-breadcrumb-item/documentation.json +1 -1
- package/dist/collection/components/mds-button/AGENTS.md +1 -1
- package/dist/collection/components/mds-button/documentation.json +1 -1
- package/dist/collection/components/mds-button-dropdown/AGENTS.md +1 -1
- package/dist/collection/components/mds-button-dropdown/documentation.json +1 -1
- package/dist/collection/components/mds-button-group/AGENTS.md +1 -1
- package/dist/collection/components/mds-button-group/documentation.json +1 -1
- package/dist/collection/components/mds-calendar/AGENTS.md +1 -1
- package/dist/collection/components/mds-calendar/documentation.json +1 -1
- package/dist/collection/components/mds-calendar-cell/AGENTS.md +1 -1
- package/dist/collection/components/mds-calendar-cell/documentation.json +1 -1
- package/dist/collection/components/mds-card/AGENTS.md +1 -1
- package/dist/collection/components/mds-card/documentation.json +1 -1
- package/dist/collection/components/mds-card-content/AGENTS.md +1 -1
- package/dist/collection/components/mds-card-content/documentation.json +1 -1
- package/dist/collection/components/mds-card-footer/AGENTS.md +1 -1
- package/dist/collection/components/mds-card-footer/documentation.json +1 -1
- package/dist/collection/components/mds-card-header/AGENTS.md +1 -1
- package/dist/collection/components/mds-card-header/documentation.json +1 -1
- package/dist/collection/components/mds-card-media/AGENTS.md +1 -1
- package/dist/collection/components/mds-card-media/documentation.json +1 -1
- package/dist/collection/components/mds-chip/AGENTS.md +1 -1
- package/dist/collection/components/mds-chip/documentation.json +1 -1
- package/dist/collection/components/mds-details/AGENTS.md +1 -1
- package/dist/collection/components/mds-details/documentation.json +1 -1
- package/dist/collection/components/mds-dropdown/AGENTS.md +1 -1
- package/dist/collection/components/mds-dropdown/documentation.json +1 -1
- package/dist/collection/components/mds-emoji/AGENTS.md +2 -2
- package/dist/collection/components/mds-emoji/documentation.json +2 -2
- package/dist/collection/components/mds-emoji/mds-emoji.js +34 -4
- package/dist/collection/components/mds-entity/AGENTS.md +1 -1
- package/dist/collection/components/mds-entity/documentation.json +1 -1
- package/dist/collection/components/mds-file/AGENTS.md +1 -1
- package/dist/collection/components/mds-file/documentation.json +1 -1
- package/dist/collection/components/mds-file-preview/AGENTS.md +1 -1
- package/dist/collection/components/mds-file-preview/documentation.json +1 -1
- package/dist/collection/components/mds-filter/AGENTS.md +1 -1
- package/dist/collection/components/mds-filter/documentation.json +1 -1
- package/dist/collection/components/mds-filter-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-filter-item/documentation.json +1 -1
- package/dist/collection/components/mds-header/AGENTS.md +1 -1
- package/dist/collection/components/mds-header/documentation.json +1 -1
- package/dist/collection/components/mds-header-bar/AGENTS.md +1 -1
- package/dist/collection/components/mds-header-bar/documentation.json +1 -1
- package/dist/collection/components/mds-help/AGENTS.md +1 -1
- package/dist/collection/components/mds-help/documentation.json +1 -1
- package/dist/collection/components/mds-horizontal-scroll/AGENTS.md +1 -1
- package/dist/collection/components/mds-horizontal-scroll/documentation.json +1 -1
- package/dist/collection/components/mds-hr/AGENTS.md +1 -1
- package/dist/collection/components/mds-hr/documentation.json +1 -1
- package/dist/collection/components/mds-icon/AGENTS.md +1 -1
- package/dist/collection/components/mds-icon/documentation.json +1 -1
- package/dist/collection/components/mds-img/AGENTS.md +1 -1
- package/dist/collection/components/mds-img/documentation.json +1 -1
- package/dist/collection/components/mds-input/AGENTS.md +1 -1
- package/dist/collection/components/mds-input/documentation.json +1 -1
- package/dist/collection/components/mds-input-date/AGENTS.md +1 -1
- package/dist/collection/components/mds-input-date/documentation.json +1 -1
- package/dist/collection/components/mds-input-date-range/AGENTS.md +1 -1
- package/dist/collection/components/mds-input-date-range/documentation.json +1 -1
- package/dist/collection/components/mds-input-date-range-preselection/AGENTS.md +1 -1
- package/dist/collection/components/mds-input-date-range-preselection/documentation.json +1 -1
- package/dist/collection/components/mds-input-field/AGENTS.md +1 -1
- package/dist/collection/components/mds-input-field/documentation.json +1 -1
- package/dist/collection/components/mds-input-otp/AGENTS.md +1 -1
- package/dist/collection/components/mds-input-otp/documentation.json +1 -1
- package/dist/collection/components/mds-input-range/AGENTS.md +1 -1
- package/dist/collection/components/mds-input-range/documentation.json +1 -1
- package/dist/collection/components/mds-input-select/AGENTS.md +1 -1
- package/dist/collection/components/mds-input-select/documentation.json +1 -1
- package/dist/collection/components/mds-input-switch/AGENTS.md +1 -1
- package/dist/collection/components/mds-input-switch/documentation.json +1 -1
- package/dist/collection/components/mds-input-switch/mds-input-switch.css +5 -3
- package/dist/collection/components/mds-input-tip/AGENTS.md +1 -1
- package/dist/collection/components/mds-input-tip/documentation.json +1 -1
- package/dist/collection/components/mds-input-tip-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-input-tip-item/documentation.json +1 -1
- package/dist/collection/components/mds-input-upload/AGENTS.md +1 -1
- package/dist/collection/components/mds-input-upload/documentation.json +1 -1
- package/dist/collection/components/mds-keyboard/AGENTS.md +1 -1
- package/dist/collection/components/mds-keyboard/documentation.json +1 -1
- package/dist/collection/components/mds-keyboard-key/AGENTS.md +1 -1
- package/dist/collection/components/mds-keyboard-key/documentation.json +1 -1
- package/dist/collection/components/mds-kpi/AGENTS.md +1 -1
- package/dist/collection/components/mds-kpi/documentation.json +1 -1
- package/dist/collection/components/mds-kpi-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-kpi-item/documentation.json +1 -1
- package/dist/collection/components/mds-label/AGENTS.md +1 -1
- package/dist/collection/components/mds-label/documentation.json +1 -1
- package/dist/collection/components/mds-list/AGENTS.md +1 -1
- package/dist/collection/components/mds-list/documentation.json +1 -1
- package/dist/collection/components/mds-list-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-list-item/documentation.json +1 -1
- package/dist/collection/components/mds-mention/AGENTS.md +1 -1
- package/dist/collection/components/mds-mention/documentation.json +1 -1
- package/dist/collection/components/mds-modal/AGENTS.md +1 -1
- package/dist/collection/components/mds-modal/documentation.json +1 -1
- package/dist/collection/components/mds-note/AGENTS.md +1 -1
- package/dist/collection/components/mds-note/documentation.json +1 -1
- package/dist/collection/components/mds-notification/AGENTS.md +1 -1
- package/dist/collection/components/mds-notification/documentation.json +1 -1
- package/dist/collection/components/mds-paginator/AGENTS.md +1 -1
- package/dist/collection/components/mds-paginator/documentation.json +1 -1
- package/dist/collection/components/mds-paginator-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-paginator-item/documentation.json +1 -1
- package/dist/collection/components/mds-policy-ai/AGENTS.md +1 -1
- package/dist/collection/components/mds-policy-ai/documentation.json +1 -1
- package/dist/collection/components/mds-pref/AGENTS.md +1 -1
- package/dist/collection/components/mds-pref/documentation.json +1 -1
- package/dist/collection/components/mds-pref-animation/AGENTS.md +1 -1
- package/dist/collection/components/mds-pref-animation/documentation.json +1 -1
- package/dist/collection/components/mds-pref-consumption/AGENTS.md +1 -1
- package/dist/collection/components/mds-pref-consumption/documentation.json +1 -1
- package/dist/collection/components/mds-pref-contrast/AGENTS.md +1 -1
- package/dist/collection/components/mds-pref-contrast/documentation.json +1 -1
- package/dist/collection/components/mds-pref-language/AGENTS.md +1 -1
- package/dist/collection/components/mds-pref-language/documentation.json +1 -1
- package/dist/collection/components/mds-pref-language-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-pref-language-item/documentation.json +1 -1
- package/dist/collection/components/mds-pref-mode/AGENTS.md +1 -1
- package/dist/collection/components/mds-pref-mode/documentation.json +1 -1
- package/dist/collection/components/mds-pref-theme/AGENTS.md +1 -1
- package/dist/collection/components/mds-pref-theme/documentation.json +1 -1
- package/dist/collection/components/mds-pref-theme-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-pref-theme-item/documentation.json +1 -1
- package/dist/collection/components/mds-price-table/AGENTS.md +1 -1
- package/dist/collection/components/mds-price-table/documentation.json +1 -1
- package/dist/collection/components/mds-price-table-features/AGENTS.md +1 -1
- package/dist/collection/components/mds-price-table-features/documentation.json +1 -1
- package/dist/collection/components/mds-price-table-features-cell/AGENTS.md +1 -1
- package/dist/collection/components/mds-price-table-features-cell/documentation.json +1 -1
- package/dist/collection/components/mds-price-table-features-row/AGENTS.md +1 -1
- package/dist/collection/components/mds-price-table-features-row/documentation.json +1 -1
- package/dist/collection/components/mds-price-table-header/AGENTS.md +1 -1
- package/dist/collection/components/mds-price-table-header/documentation.json +1 -1
- package/dist/collection/components/mds-price-table-list/AGENTS.md +1 -1
- package/dist/collection/components/mds-price-table-list/documentation.json +1 -1
- package/dist/collection/components/mds-price-table-list-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-price-table-list-item/documentation.json +1 -1
- package/dist/collection/components/mds-progress/AGENTS.md +1 -1
- package/dist/collection/components/mds-progress/documentation.json +1 -1
- package/dist/collection/components/mds-push-notification/AGENTS.md +1 -1
- package/dist/collection/components/mds-push-notification/documentation.json +1 -1
- package/dist/collection/components/mds-push-notification-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-push-notification-item/documentation.json +1 -1
- package/dist/collection/components/mds-quote/AGENTS.md +1 -1
- package/dist/collection/components/mds-quote/documentation.json +1 -1
- package/dist/collection/components/mds-radial-menu/AGENTS.md +1 -1
- package/dist/collection/components/mds-radial-menu/documentation.json +1 -1
- package/dist/collection/components/mds-radial-menu-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-radial-menu-item/documentation.json +1 -1
- package/dist/collection/components/mds-radial-progress/AGENTS.md +1 -1
- package/dist/collection/components/mds-radial-progress/documentation.json +1 -1
- package/dist/collection/components/mds-separator/AGENTS.md +1 -1
- package/dist/collection/components/mds-separator/documentation.json +1 -1
- package/dist/collection/components/mds-spinner/AGENTS.md +1 -1
- package/dist/collection/components/mds-spinner/documentation.json +1 -1
- package/dist/collection/components/mds-status-bar/AGENTS.md +1 -1
- package/dist/collection/components/mds-status-bar/documentation.json +1 -1
- package/dist/collection/components/mds-stepper-bar/AGENTS.md +1 -1
- package/dist/collection/components/mds-stepper-bar/documentation.json +1 -1
- package/dist/collection/components/mds-stepper-bar-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-stepper-bar-item/documentation.json +1 -1
- package/dist/collection/components/mds-tab/AGENTS.md +1 -1
- package/dist/collection/components/mds-tab/documentation.json +1 -1
- package/dist/collection/components/mds-tab-bar/AGENTS.md +1 -1
- package/dist/collection/components/mds-tab-bar/documentation.json +1 -1
- package/dist/collection/components/mds-tab-bar-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-tab-bar-item/documentation.json +1 -1
- package/dist/collection/components/mds-tab-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-tab-item/documentation.json +1 -1
- package/dist/collection/components/mds-table/AGENTS.md +1 -1
- package/dist/collection/components/mds-table/documentation.json +1 -1
- package/dist/collection/components/mds-table-body/AGENTS.md +1 -1
- package/dist/collection/components/mds-table-body/documentation.json +1 -1
- package/dist/collection/components/mds-table-cell/AGENTS.md +1 -1
- package/dist/collection/components/mds-table-cell/documentation.json +1 -1
- package/dist/collection/components/mds-table-footer/AGENTS.md +1 -1
- package/dist/collection/components/mds-table-footer/documentation.json +1 -1
- package/dist/collection/components/mds-table-header/AGENTS.md +1 -1
- package/dist/collection/components/mds-table-header/documentation.json +1 -1
- package/dist/collection/components/mds-table-header-cell/AGENTS.md +1 -1
- package/dist/collection/components/mds-table-header-cell/documentation.json +1 -1
- package/dist/collection/components/mds-table-row/AGENTS.md +1 -1
- package/dist/collection/components/mds-table-row/documentation.json +1 -1
- package/dist/collection/components/mds-text/AGENTS.md +1 -1
- package/dist/collection/components/mds-text/documentation.json +1 -1
- package/dist/collection/components/mds-toast/AGENTS.md +1 -1
- package/dist/collection/components/mds-toast/documentation.json +1 -1
- package/dist/collection/components/mds-toast-region/AGENTS.md +1 -1
- package/dist/collection/components/mds-toast-region/documentation.json +1 -1
- package/dist/collection/components/mds-tooltip/AGENTS.md +1 -1
- package/dist/collection/components/mds-tooltip/documentation.json +1 -1
- package/dist/collection/components/mds-tree/AGENTS.md +1 -1
- package/dist/collection/components/mds-tree/documentation.json +1 -1
- package/dist/collection/components/mds-tree-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-tree-item/documentation.json +1 -1
- package/dist/collection/components/mds-tree-item/mds-tree-item.css +8 -5
- package/dist/collection/components/mds-url-view/AGENTS.md +1 -1
- package/dist/collection/components/mds-url-view/documentation.json +1 -1
- package/dist/collection/components/mds-usage/AGENTS.md +1 -1
- package/dist/collection/components/mds-usage/documentation.json +1 -1
- package/dist/collection/components/mds-video-wall/AGENTS.md +1 -1
- package/dist/collection/components/mds-video-wall/documentation.json +1 -1
- package/dist/collection/components/mds-zero/AGENTS.md +1 -1
- package/dist/collection/components/mds-zero/documentation.json +1 -1
- package/dist/components/mds-button-dropdown.js +1 -1
- package/dist/components/mds-dropdown.js +1 -1
- package/dist/components/mds-emoji.js +3 -3
- 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-input-date-range.js +1 -1
- package/dist/components/mds-input-date.js +1 -1
- package/dist/components/mds-input-switch.js +1 -1
- package/dist/components/mds-input-upload.js +1 -1
- package/dist/components/mds-keyboard.js +1 -1
- package/dist/components/mds-modal.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.js +1 -1
- package/dist/components/mds-pref-mode.js +1 -1
- package/dist/components/mds-pref-theme.js +1 -1
- package/dist/components/mds-push-notification.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-status-bar.js +1 -1
- package/dist/components/mds-tab.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-toast.js +1 -1
- package/dist/components/mds-tooltip.js +1 -1
- package/dist/components/mds-tree-item.js +1 -1
- package/dist/components/{p-CylHulxe.js → p-BHy4k3pJ.js} +1 -1
- package/dist/components/{p-2gaGDQwL.js → p-BLXRGNya.js} +1 -1
- package/dist/components/p-C2fyy4Mv.js +1 -0
- package/dist/components/p-CWk1SCJg.js +1 -0
- package/dist/components/{p-BjFCjSw6.js → p-CWwWCzma.js} +1 -1
- package/dist/components/{p-DGGk8PS_.js → p-ChrRK8N9.js} +1 -1
- package/dist/components/{p-wHQGpA62.js → p-Ea5ilDf6.js} +1 -1
- package/dist/components/{p-Dleapw-k.js → p-Ebefwvkw.js} +1 -1
- package/dist/documentation.json +2 -2
- package/dist/esm/{floating-controller-BV0E_Juq.js → floating-controller-CVVcyKew.js} +1 -1
- package/dist/esm/mds-dropdown.entry.js +2 -2
- package/dist/esm/mds-emoji.entry.js +35 -5
- package/dist/esm/mds-horizontal-scroll.entry.js +1 -1
- package/dist/esm/mds-input-switch_2.entry.js +1 -1
- package/dist/esm/mds-modal.entry.js +1 -1
- package/dist/esm/mds-pref-mode.entry.js +1 -1
- package/dist/esm/mds-push-notification.entry.js +1 -1
- package/dist/esm/mds-radial-menu.entry.js +2 -2
- package/dist/esm/mds-tab_2.entry.js +1 -1
- package/dist/esm/mds-toast.entry.js +1 -1
- package/dist/esm/mds-tooltip.entry.js +2 -2
- package/dist/esm/mds-tree-item.entry.js +2 -2
- package/dist/esm/polyfills/core-js.js +0 -0
- package/dist/esm/polyfills/dom.js +0 -0
- package/dist/esm/polyfills/es5-html-element.js +0 -0
- package/dist/esm/polyfills/index.js +0 -0
- package/dist/esm/polyfills/system.js +0 -0
- package/dist/esm/{unit-D8eZRaSQ.js → unit-CWk1SCJg.js} +1 -1
- package/dist/esm-es5/{floating-controller-BV0E_Juq.js → floating-controller-CVVcyKew.js} +1 -1
- package/dist/esm-es5/mds-dropdown.entry.js +1 -1
- package/dist/esm-es5/mds-emoji.entry.js +271 -251
- package/dist/esm-es5/mds-horizontal-scroll.entry.js +1 -1
- package/dist/esm-es5/mds-input-switch_2.entry.js +1 -1
- package/dist/esm-es5/mds-modal.entry.js +1 -1
- package/dist/esm-es5/mds-pref-mode.entry.js +1 -1
- package/dist/esm-es5/mds-push-notification.entry.js +1 -1
- package/dist/esm-es5/mds-radial-menu.entry.js +1 -1
- package/dist/esm-es5/mds-tab_2.entry.js +1 -1
- package/dist/esm-es5/mds-toast.entry.js +1 -1
- package/dist/esm-es5/mds-tooltip.entry.js +1 -1
- package/dist/esm-es5/mds-tree-item.entry.js +1 -1
- package/dist/esm-es5/unit-CWk1SCJg.js +1 -0
- package/dist/hydrate/index.js +37 -7
- package/dist/hydrate/index.mjs +37 -7
- package/dist/magma-components/magma-components.esm.js +1 -1
- package/dist/magma-components/{p-b9e0b31d.entry.js → p-14ef1aec.entry.js} +1 -1
- package/dist/magma-components/{p-d0f257d9.system.entry.js → p-1d68fc4a.system.entry.js} +1 -1
- package/dist/magma-components/{p-1809e47d.system.entry.js → p-287d1253.system.entry.js} +51 -31
- package/dist/magma-components/{p-53bcfdbb.entry.js → p-2e8f703e.entry.js} +1 -1
- package/dist/magma-components/{p-dba5a6da.entry.js → p-357ec8c0.entry.js} +1 -1
- package/dist/magma-components/{p-3725c2c1.entry.js → p-4800a310.entry.js} +1 -1
- package/dist/magma-components/{p-b6b7dc40.entry.js → p-5cef4711.entry.js} +1 -1
- package/dist/magma-components/p-61f0ebf3.entry.js +1 -0
- package/dist/magma-components/{p-f28e048b.system.entry.js → p-677ef2a3.system.entry.js} +1 -1
- package/dist/magma-components/{p-b728638c.system.entry.js → p-7448435b.system.entry.js} +1 -1
- package/dist/magma-components/{p-2aab3752.entry.js → p-7502528c.entry.js} +1 -1
- package/dist/magma-components/{p-8f5f2dfe.system.entry.js → p-815801dd.system.entry.js} +2 -2
- package/dist/magma-components/{p-be741e35.entry.js → p-8c66c761.entry.js} +1 -1
- package/dist/magma-components/{p-9e4e1a86.system.entry.js → p-914d1b2a.system.entry.js} +1 -1
- package/dist/magma-components/{p-505fb7d4.entry.js → p-91ed604f.entry.js} +1 -1
- package/dist/magma-components/{p-dc3ef031.system.entry.js → p-938dbe67.system.entry.js} +3 -3
- package/dist/magma-components/p-B-nayZ3E.system.js +1 -0
- package/dist/magma-components/p-CWk1SCJg.js +1 -0
- package/dist/magma-components/{p-5vJawLPw.system.js → p-DVjUXVFl.system.js} +1 -1
- package/dist/magma-components/{p-ZaZnuNvg.js → p-DmFo8_MF.js} +1 -1
- package/dist/magma-components/p-QYez4sql.system.js +1 -1
- package/dist/magma-components/{p-2f3c6105.entry.js → p-b169ee9b.entry.js} +1 -1
- package/dist/magma-components/{p-3eaeb263.system.entry.js → p-bdd18c90.system.entry.js} +1 -1
- package/dist/magma-components/{p-db75bf05.system.entry.js → p-c6b16493.system.entry.js} +1 -1
- package/dist/magma-components/{p-ce2ef293.system.entry.js → p-c6b9a14e.system.entry.js} +1 -1
- package/dist/magma-components/{p-2a2b7c43.entry.js → p-c72651b2.entry.js} +1 -1
- package/dist/magma-components/{p-dbb82d72.system.entry.js → p-cfe080ab.system.entry.js} +1 -1
- package/dist/magma-components/{p-a61623f9.system.entry.js → p-e1ce306a.system.entry.js} +1 -1
- package/dist/magma-components/{p-972ff8a9.entry.js → p-e73cc6fc.entry.js} +3 -3
- package/dist/stats.json +220 -220
- package/dist/types/components/mds-emoji/mds-emoji.d.ts +2 -0
- package/package.json +8 -8
- package/dist/components/p-AFBkzOrP.js +0 -1
- package/dist/components/p-D8eZRaSQ.js +0 -1
- package/dist/esm-es5/unit-D8eZRaSQ.js +0 -1
- package/dist/magma-components/p-6b01ef3b.entry.js +0 -1
- package/dist/magma-components/p-D8eZRaSQ.js +0 -1
- package/dist/magma-components/p-_X0N_X__.system.js +0 -1
package/dist/hydrate/index.mjs
CHANGED
|
@@ -19754,7 +19754,7 @@ const cssDurationToMilliseconds = (duration, defaultValue = 1000) => {
|
|
|
19754
19754
|
}
|
|
19755
19755
|
return defaultValue;
|
|
19756
19756
|
};
|
|
19757
|
-
const cssDurationToSeconds = (duration, defaultValue =
|
|
19757
|
+
const cssDurationToSeconds = (duration, defaultValue = 1) => {
|
|
19758
19758
|
if (duration.includes('ms')) {
|
|
19759
19759
|
return Number(duration.replace('ms', '')) / 1000;
|
|
19760
19760
|
}
|
|
@@ -28484,6 +28484,9 @@ class MdsEmoji {
|
|
|
28484
28484
|
this.mouseY = 0;
|
|
28485
28485
|
this.currentRotateX = 0;
|
|
28486
28486
|
this.currentRotateY = 0;
|
|
28487
|
+
// Whether the values below come from the computed style. They are read lazily
|
|
28488
|
+
// by rotate until it is available: see updateCSSCustomProps.
|
|
28489
|
+
this.cssCustomPropsRead = false;
|
|
28487
28490
|
this.expressionAngleMax = 16; // massimo angolo di rotazione della emoji
|
|
28488
28491
|
this.expressionFollowMouseHeadDuration = 0.3; // durata dell'animazione di rotazione della testa quando segue il mouse
|
|
28489
28492
|
this.expressionFollowMouseTraitsDuration = 0.2; // durata dell'animazione di rotazione degli occhi e della bocca quando segue il mouse
|
|
@@ -28509,9 +28512,19 @@ class MdsEmoji {
|
|
|
28509
28512
|
if (typeof window === 'undefined')
|
|
28510
28513
|
return;
|
|
28511
28514
|
const elementStyles = window.getComputedStyle(this.host);
|
|
28515
|
+
// Stencil loads children before their parents, so a slotted emoji reaches
|
|
28516
|
+
// componentDidLoad while its host's shadow DOM has not rendered the slot yet.
|
|
28517
|
+
// Outside the flat tree the computed style is empty, every value fell back and
|
|
28518
|
+
// the durations became 1000 seconds: the head took minutes to follow the
|
|
28519
|
+
// pointer. Keep the current values and let rotate read them again later.
|
|
28520
|
+
if (elementStyles.display === '') {
|
|
28521
|
+
this.cssCustomPropsRead = false;
|
|
28522
|
+
return;
|
|
28523
|
+
}
|
|
28524
|
+
this.cssCustomPropsRead = true;
|
|
28512
28525
|
this.expressionAngleMax = cssRotationToNumber(elementStyles.getPropertyValue('--mds-emoji-expression-max-rotation'), 16);
|
|
28513
|
-
this.expressionFollowMouseHeadDuration = cssDurationToSeconds(elementStyles.getPropertyValue('--mds-emoji-expression-follow-mouse-head-duration'));
|
|
28514
|
-
this.expressionFollowMouseTraitsDuration = cssDurationToSeconds(elementStyles.getPropertyValue('--mds-emoji-expression-follow-mouse-traits-duration'));
|
|
28526
|
+
this.expressionFollowMouseHeadDuration = cssDurationToSeconds(elementStyles.getPropertyValue('--mds-emoji-expression-follow-mouse-head-duration'), 0.3);
|
|
28527
|
+
this.expressionFollowMouseTraitsDuration = cssDurationToSeconds(elementStyles.getPropertyValue('--mds-emoji-expression-follow-mouse-traits-duration'), 0.2);
|
|
28515
28528
|
this.headOffset = cssSizeToNumber(elementStyles.getPropertyValue('--mds-emoji-offset-head'), 1);
|
|
28516
28529
|
this.eyesOffset = cssSizeToNumber(elementStyles.getPropertyValue('--mds-emoji-offset-eyes'), 1);
|
|
28517
28530
|
this.mouthOffset = cssSizeToNumber(elementStyles.getPropertyValue('--mds-emoji-offset-mouth'), 1);
|
|
@@ -29095,6 +29108,8 @@ class MdsEmoji {
|
|
|
29095
29108
|
this.rotate(gaze.x, gaze.y, immediate);
|
|
29096
29109
|
};
|
|
29097
29110
|
this.rotate = (percentX, percentY, immediate = false) => {
|
|
29111
|
+
if (!this.cssCustomPropsRead)
|
|
29112
|
+
this.updateCSSCustomProps();
|
|
29098
29113
|
const ease = 'power1.out';
|
|
29099
29114
|
// The traits can be put in place at once instead of eased there: an expression
|
|
29100
29115
|
// about to take the face over owns them from this very frame, and a tween still
|
|
@@ -29144,6 +29159,9 @@ class MdsEmoji {
|
|
|
29144
29159
|
transformOrigin: '50% 50%',
|
|
29145
29160
|
duration: this.expressionFollowMouseHeadDuration,
|
|
29146
29161
|
ease,
|
|
29162
|
+
// A newer pose replaces the previous one: without it a slower tween still
|
|
29163
|
+
// running kept writing its own angles once the newer one had finished.
|
|
29164
|
+
overwrite: 'auto',
|
|
29147
29165
|
});
|
|
29148
29166
|
if (this.eyesEl) {
|
|
29149
29167
|
gsapWithCSS.to(this.eyesEl, Object.assign({ translateX: this.eyesOffsetX, translateY: this.eyesOffsetY, transformOrigin: '50% 50%' }, traitVars));
|
|
@@ -29168,17 +29186,29 @@ class MdsEmoji {
|
|
|
29168
29186
|
}
|
|
29169
29187
|
};
|
|
29170
29188
|
}
|
|
29189
|
+
// A move disconnects the host and connects it again, while componentDidLoad runs
|
|
29190
|
+
// once: the pointer listener follows the connection, so a moved emoji still hears it.
|
|
29191
|
+
connectedCallback() {
|
|
29192
|
+
if (typeof window === 'undefined')
|
|
29193
|
+
return;
|
|
29194
|
+
window.addEventListener('mousemove', this.handleFollowMouse);
|
|
29195
|
+
}
|
|
29171
29196
|
componentDidLoad() {
|
|
29172
29197
|
if (typeof window === 'undefined')
|
|
29173
29198
|
return;
|
|
29174
29199
|
this.updateCSSCustomProps();
|
|
29175
|
-
window.addEventListener('mousemove', this.handleFollowMouse);
|
|
29176
29200
|
this.checkNameChanged(this.name);
|
|
29177
29201
|
}
|
|
29178
29202
|
disconnectedCallback() {
|
|
29179
29203
|
var _a, _b;
|
|
29180
29204
|
if (typeof window === 'undefined')
|
|
29181
29205
|
return;
|
|
29206
|
+
// In the lazy build the instance can hear of a disconnect after the host is back on
|
|
29207
|
+
// the page. GSAP causes one: to read the transform of a host that is not drawn (a
|
|
29208
|
+
// slotted emoji before its slot is rendered) it appends it to <html> for a moment
|
|
29209
|
+
// and puts it back. The emoji is still mounted then, nothing to tear down.
|
|
29210
|
+
if (this.host.isConnected)
|
|
29211
|
+
return;
|
|
29182
29212
|
window.removeEventListener('mousemove', this.handleFollowMouse);
|
|
29183
29213
|
this.isThinking = false;
|
|
29184
29214
|
this.isBlinking = false;
|
|
@@ -29354,7 +29384,7 @@ class MdsEmoji {
|
|
|
29354
29384
|
return element;
|
|
29355
29385
|
}
|
|
29356
29386
|
render() {
|
|
29357
|
-
return hAsync(Host, { key: '
|
|
29387
|
+
return hAsync(Host, { key: '228ea1ce5afd636026b77ac0a00462a7e2471470' });
|
|
29358
29388
|
}
|
|
29359
29389
|
get host() { return getElement(this); }
|
|
29360
29390
|
static get watchers() { return {
|
|
@@ -35199,7 +35229,7 @@ var localeIt$t = {
|
|
|
35199
35229
|
unselect: unselect
|
|
35200
35230
|
};
|
|
35201
35231
|
|
|
35202
|
-
const mdsInputSwitchCss = () => `@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-font-weight:initial}}}:host(:not(:is([hydrated],.hydrated))),:is(mds-icon,mds-text):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-input-switch-animation-timing-adjust:1.4;--mds-input-switch-animation-timing-function:var(--ease-in-out-quad,cubic-bezier(.455,.03,.515,.955));--mds-input-switch-box-color-enabled-checked:rgb(var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231)));--mds-input-switch-box-color-enabled-unchecked:rgb(var(--magma-border-strong,var(--border-neutral-strong,140 140 140)));--mds-input-switch-box-color-disabled-checked:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)));--mds-input-switch-box-color-disabled-unchecked:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)));--mds-input-switch-box-padding-lg:calc(var(--spacing,.0025rem)*100);--mds-input-switch-box-padding-md:calc(var(--spacing,.0025rem)*100);--mds-input-switch-box-padding-sm:calc(var(--spacing,.0025rem)*100);--mds-input-switch-box-padding:var(--mds-input-switch-box-padding-md,calc(var(--spacing,.0025rem)*100));--mds-input-switch-duration:.3s;--mds-input-switch-icon-color-checked-disabled:rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119)));--mds-input-switch-icon-color-checked:rgb(var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231)));--mds-input-switch-icon-color-indeterminate-disabled:rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119)));--mds-input-switch-icon-color-indeterminate:rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119)));--mds-input-switch-icon-color-unchecked-disabled:rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119)));--mds-input-switch-icon-color-unchecked:rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99)));--mds-input-switch-icon-explicit-color:var(--mds-input-switch-icon-color-checked,rgb(var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231))));--mds-input-switch-toggle-color-enabled-checked:rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-input-switch-toggle-color-enabled-unchecked:rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237)));--mds-input-switch-toggle-color-disabled-checked:rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-input-switch-toggle-color-disabled-unchecked:rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-input-switch-toggle-container-size:calc(calc(var(--mds-input-switch-toggle-size-md,calc(var(--spacing,.0025rem) * 600)) * 2) + calc(var(--mds-input-switch-box-padding-md,calc(var(--spacing,.0025rem) * 100)) * 2));--mds-input-switch-toggle-size-lg:calc(var(--spacing,.0025rem)*800);--mds-input-switch-toggle-size-md:calc(var(--spacing,.0025rem)*600);--mds-input-switch-toggle-size-sm:calc(var(--spacing,.0025rem)*400);--mds-input-switch-toggle-size:var(--mds-input-switch-toggle-size-md,calc(var(--spacing,.0025rem)*600));align-items:flex-start;display:inline-flex;gap:calc(var(--spacing,.0025rem)*200)}.field{height:0;margin:0;opacity:0;pointer-events:none;position:absolute;width:0}.label-icon{animation-duration:var(--magma-outline-animation-duration,1s);animation-fill-mode:forwards;animation-iteration-count:infinite;animation-name:focus-bounce;animation-play-state:paused;animation-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1));border-radius:var(--magma-radius-3xs,var(--radius-squircle-3xs,6px));outline:var(--magma-outline-blur,2px solid var(--magma-outline-blur-color,#0000));transition-duration:.2s;transition-property:background-color,border-color,box-shadow,color,fill,outline,outline-offset,transform;transition-timing-function:ease-in-out;corner-shape:var(--magma-corner-shape,squircle);align-items:baseline;cursor:pointer;display:flex;position:relative;transition-property:outline-offset,opacity}.field:focus-visible+.label-icon,.label-icon:focus-visible{--magma-outline-blur:var(--magma-outline-focus);animation-play-state:running}.label-text{cursor:pointer;display:flex}.label-text--empty{display:none}:host([type=switch]) .label-text{align-items:center;align-self:center}.icon-explicit{fill:var(--mds-input-switch-icon-explicit-color,rgb(var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231))));height:var(--mds-input-switch-toggle-size,calc(var(--spacing,.0025rem)*600));width:var(--mds-input-switch-toggle-size,calc(var(--spacing,.0025rem)*600))}.icon-typography-checked,.icon-typography-unchecked{align-items:center;display:inline-flex}.icon-typography-checked{left:0;position:absolute;top:0}.switch-container{align-self:stretch;animation-duration:var(--magma-outline-animation-duration,1s);animation-fill-mode:forwards;animation-iteration-count:infinite;animation-name:focus-bounce;animation-play-state:paused;animation-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1));border-radius:var(--magma-radius-full,var(--radius-full,1000px));box-sizing:border-box;display:flex;flex-shrink:0;outline:var(--magma-outline-blur,2px solid var(--magma-outline-blur-color,#0000));transition-duration:.2s;transition-property:background-color,border-color,box-shadow,color,fill,outline,outline-offset,transform;transition-property:width,outline-offset,opacity;transition-timing-function:ease-in-out;width:var(--mds-input-switch-toggle-container-size,calc(var(--spacing,.0025rem)*600*2 + var(--spacing,.0025rem)*100*2))}.field:focus-visible+.switch-container,.switch-container:focus-visible{--magma-outline-blur:var(--magma-outline-focus);animation-play-state:running}.switch{background-color:var(--mds-input-switch-box-color-enabled-unchecked,rgb(var(--magma-border-strong,var(--border-neutral-strong,140 140 140))));box-sizing:border-box;cursor:pointer;display:inline-flex;flex-shrink:0;height:min-content;padding:var(--mds-input-switch-box-padding,calc(var(--spacing,.0025rem)*100));transition-duration:var(--mds-input-switch-duration,.3s);transition-property:background-color,border-color,box-shadow,color,fill,height,margin,opacity,padding,transform,width;transition-timing-function:var(--ease-out-sine,cubic-bezier(.39,.575,.565,1));width:var(--mds-input-switch-toggle-container-size,calc(var(--spacing,.0025rem)*600*2 + var(--spacing,.0025rem)*100*2))}.switch,.switch-toggle{border-radius:var(--magma-radius-full,var(--radius-full,1000px))}.switch-toggle{align-items:center;animation-duration:calc(var(--mds-input-switch-duration,.3s)*1.5);animation-fill-mode:forwards;animation-iteration-count:1;animation-timing-function:var(--mds-input-switch-animation-timing-function);background-color:var(--mds-input-switch-toggle-color-enabled-unchecked,rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237))));box-shadow:var(--shadow-sm,0 1px 3px 0 #0000001a,0 1px 2px -1px #0000001a);display:flex;height:var(--mds-input-switch-toggle-size,calc(var(--spacing,.0025rem)*600));justify-content:center;transition-duration:var(--duration-200,.2s);transition-property:background-color,border-color,box-shadow,color,fill,height,margin,opacity,padding,width;transition-timing-function:var(--ease-linear);width:var(--mds-input-switch-toggle-size,calc(var(--spacing,.0025rem)*600))}.field:checked+.switch-container .switch{background-color:var(--mds-input-switch-box-color-enabled-checked,rgb(var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231))))}.field:checked+.switch-container .switch-toggle{background-color:var(--mds-input-switch-toggle-color-enabled-checked,rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));transform:translate(100%)}.field:checked+.switch-container--sliding .switch-toggle{animation-name:check}.field:not(:checked)+.switch-container--sliding .switch-toggle{animation-name:uncheck}.field:disabled+.switch-container .switch{background-color:var(--mds-input-switch-box-color-disabled-unchecked,rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208))))}.field:checked:disabled+.switch-container .switch{background-color:var(--mds-input-switch-box-color-disabled-checked,rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208))))}.field:disabled+.switch-container .switch-toggle{background-color:var(--mds-input-switch-toggle-color-disabled-unchecked,rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255))))}.field:checked:disabled+.switch-container .switch-toggle{background-color:var(--mds-input-switch-toggle-color-disabled-checked,rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255))))}@keyframes check{0%{transform:translate(0);width:var(--mds-input-switch-toggle-size,calc(var(--spacing,.0025rem)*600))}50%{transform:translate(0);width:calc(var(--mds-input-switch-toggle-size,calc(var(--spacing,.0025rem) * 600)) * var(--mds-input-switch-animation-timing-adjust,1.4))}to{transform:translate(100%);width:var(--mds-input-switch-toggle-size,calc(var(--spacing,.0025rem)*600))}}@keyframes uncheck{0%{transform:translate(100%);width:var(--mds-input-switch-toggle-size,calc(var(--spacing,.0025rem)*600))}50%{transform:translate(0);width:calc(var(--mds-input-switch-toggle-size,calc(var(--spacing,.0025rem) * 600)) * var(--mds-input-switch-animation-timing-adjust,1.4))}to{transform:translate(0);width:var(--mds-input-switch-toggle-size,calc(var(--spacing,.0025rem)*600))}}:host(:disabled),:host([disabled]){pointer-events:none}.icon-checked,.icon-unchecked{--tw-font-weight:var(--font-weight-normal,400);font-weight:var(--font-weight-normal,400);transition-duration:var(--duration-200,.2s);transition-property:fill,transform;transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1))}.icon-unchecked{fill:var(--mds-input-switch-icon-color-unchecked,rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99))));opacity:1;transform:scale(1)}.icon-checked,.icon-unchecked{transition-duration:var(--mds-input-switch-duration,.3s)}.icon-checked{fill:var(--mds-input-switch-icon-color-checked,rgb(var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231))));transform:scale(0)}.field:disabled+.label-icon,.field:disabled+.label-icon+.label-text{cursor:default}.field:checked+.label-icon .icon-unchecked{opacity:0;transform:scale(1.5);transition-duration:calc(var(--mds-input-switch-duration,.3s)*2)}.field:checked+.label-icon .icon-checked{transform:scale(1);transition-duration:calc(var(--mds-input-switch-duration,.3s)*1.5)}.field:disabled+.label-icon .icon-unchecked{fill:var(--mds-input-switch-icon-color-unchecked-disabled,rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119))))}.field:disabled+.label-icon .icon-checked{fill:var(--mds-input-switch-icon-color-checked-disabled,rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119))))}.field:disabled:indeterminate+.label-icon .icon-checked{fill:var(--mds-input-switch-icon-color-indeterminate-disabled,rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119))))}.field:indeterminate+.label-icon .icon-checked{fill:var(--mds-input-switch-icon-color-indeterminate,rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119))));transform:scale(1)}:host([explicit]:not([disabled]):not([checked])){--mds-input-switch-icon-explicit-color:var(--mds-input-switch-icon-color-unchecked,rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99))))}:host([explicit][checked]:not([disabled])){--mds-input-switch-icon-explicit-color:var(--mds-input-switch-icon-color-checked,rgb(var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231))))}:host([explicit][checked][disabled]){--mds-input-switch-icon-explicit-color:var(--mds-input-switch-icon-color-checked-disabled,rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119))))}:host([explicit][disabled]:not([checked])){--mds-input-switch-icon-explicit-color:var(--mds-input-switch-icon-color-unchecked-disabled,rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119))))}:host([pref-mode=dark]:not([pref-theme-scheme=light])){--mds-input-switch-box-color-enabled-checked:rgb(var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231)));--mds-input-switch-box-color-enabled-unchecked:rgb(var(--magma-border-default,var(--border-neutral-default,196 196 196)));--mds-input-switch-box-color-disabled-checked:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)));--mds-input-switch-box-color-disabled-unchecked:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)));--mds-input-switch-toggle-color-enabled-checked:rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-input-switch-toggle-color-enabled-unchecked:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));--mds-input-switch-toggle-color-disabled-checked:rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-input-switch-toggle-color-disabled-unchecked:rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119)));--mds-input-switch-icon-color-checked:rgb(var(--magma-accent-border,var(--variant-primary-06,148 172 218)));--mds-input-switch-icon-color-unchecked:rgb(var(--magma-border-default,var(--border-neutral-default,196 196 196)));--mds-input-switch-icon-color-unchecked-disabled:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)));--mds-input-switch-icon-color-indeterminate-disabled:rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119)));--mds-input-switch-icon-color-indeterminate:rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119)))}:host([size=sm]){--mds-input-switch-box-padding:var(--mds-input-switch-box-padding-sm,calc(var(--spacing,.0025rem)*100));--mds-input-switch-toggle-size:var(--mds-input-switch-toggle-size-sm,calc(var(--spacing,.0025rem)*400));--mds-input-switch-toggle-container-size:calc(calc(var(--mds-input-switch-toggle-size-sm,calc(var(--spacing,.0025rem) * 400)) * 2) + calc(var(--mds-input-switch-box-padding-sm,calc(var(--spacing,.0025rem) * 100)) * 2))}:host([size=md]){--mds-input-switch-box-padding:var(--mds-input-switch-box-padding-md,calc(var(--spacing,.0025rem)*100));--mds-input-switch-toggle-size:var(--mds-input-switch-toggle-size-md,calc(var(--spacing,.0025rem)*600));--mds-input-switch-toggle-container-size:calc(calc(var(--mds-input-switch-toggle-size-md,calc(var(--spacing,.0025rem) * 600)) * 2) + calc(var(--mds-input-switch-box-padding-md,calc(var(--spacing,.0025rem) * 100)) * 2))}:host([size=lg]){--mds-input-switch-box-padding:var(--mds-input-switch-box-padding-lg,calc(var(--spacing,.0025rem)*100));--mds-input-switch-toggle-size:var(--mds-input-switch-toggle-size-lg,calc(var(--spacing,.0025rem)*800));--mds-input-switch-toggle-container-size:calc(calc(var(--mds-input-switch-toggle-size-lg,calc(var(--spacing,.0025rem) * 800)) * 2) + calc(var(--mds-input-switch-box-padding-lg,calc(var(--spacing,.0025rem) * 100)) * 2))}@property --tw-font-weight{syntax:"*";inherits:false}@media (prefers-color-scheme:dark){:host(:not([pref-mode])),:host([pref-mode=system]:not([pref-theme-scheme=light])){--mds-input-switch-box-color-enabled-checked:rgb(var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231)));--mds-input-switch-box-color-enabled-unchecked:rgb(var(--magma-border-default,var(--border-neutral-default,196 196 196)));--mds-input-switch-box-color-disabled-checked:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)));--mds-input-switch-box-color-disabled-unchecked:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)));--mds-input-switch-toggle-color-enabled-checked:rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-input-switch-toggle-color-enabled-unchecked:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));--mds-input-switch-toggle-color-disabled-checked:rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-input-switch-toggle-color-disabled-unchecked:rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119)));--mds-input-switch-icon-color-checked:rgb(var(--magma-accent-border,var(--variant-primary-06,148 172 218)));--mds-input-switch-icon-color-unchecked:rgb(var(--magma-border-default,var(--border-neutral-default,196 196 196)));--mds-input-switch-icon-color-unchecked-disabled:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)));--mds-input-switch-icon-color-indeterminate-disabled:rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119)));--mds-input-switch-icon-color-indeterminate:rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119)))}}`;
|
|
35232
|
+
const mdsInputSwitchCss = () => `@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-font-weight:initial}}}:host(:not(:is([hydrated],.hydrated))),:is(mds-icon,mds-text):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-input-switch-animation-timing-adjust:1.4;--mds-input-switch-animation-timing-function:var(--ease-in-out-quad,cubic-bezier(.455,.03,.515,.955));--mds-input-switch-box-color-enabled-checked:rgb(var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231)));--mds-input-switch-box-color-enabled-unchecked:rgb(var(--magma-border-strong,var(--border-neutral-strong,140 140 140)));--mds-input-switch-box-color-disabled-checked:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)));--mds-input-switch-box-color-disabled-unchecked:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)));--mds-input-switch-box-padding-lg:calc(var(--spacing,.0025rem)*100);--mds-input-switch-box-padding-md:calc(var(--spacing,.0025rem)*100);--mds-input-switch-box-padding-sm:calc(var(--spacing,.0025rem)*100);--mds-input-switch-box-padding:var(--mds-input-switch-box-padding-md,calc(var(--spacing,.0025rem)*100));--mds-input-switch-duration:.3s;--mds-input-switch-icon-color-checked-disabled:rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119)));--mds-input-switch-icon-color-checked:rgb(var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231)));--mds-input-switch-icon-color-indeterminate-disabled:rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119)));--mds-input-switch-icon-color-indeterminate:rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119)));--mds-input-switch-icon-color-unchecked-disabled:rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119)));--mds-input-switch-icon-color-unchecked:rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99)));--mds-input-switch-icon-explicit-color:var(--mds-input-switch-icon-color-checked,rgb(var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231))));--mds-input-switch-toggle-color-enabled-checked:rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-input-switch-toggle-color-enabled-unchecked:rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237)));--mds-input-switch-toggle-color-disabled-checked:rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-input-switch-toggle-color-disabled-unchecked:rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-input-switch-toggle-container-size:calc(calc(var(--mds-input-switch-toggle-size-md,calc(var(--spacing,.0025rem) * 600)) * 2) + calc(var(--mds-input-switch-box-padding-md,calc(var(--spacing,.0025rem) * 100)) * 2));--mds-input-switch-toggle-size-lg:calc(var(--spacing,.0025rem)*800);--mds-input-switch-toggle-size-md:calc(var(--spacing,.0025rem)*600);--mds-input-switch-toggle-size-sm:calc(var(--spacing,.0025rem)*400);--mds-input-switch-toggle-size:var(--mds-input-switch-toggle-size-md,calc(var(--spacing,.0025rem)*600));align-items:flex-start;display:inline-flex;gap:calc(var(--spacing,.0025rem)*200);position:relative}.field{height:0;margin:0;opacity:0;pointer-events:none;position:absolute;width:0}.label-icon{animation-duration:var(--magma-outline-animation-duration,1s);animation-fill-mode:forwards;animation-iteration-count:infinite;animation-name:focus-bounce;animation-play-state:paused;animation-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1));border-radius:var(--magma-radius-3xs,var(--radius-squircle-3xs,6px));outline:var(--magma-outline-blur,2px solid var(--magma-outline-blur-color,#0000));transition-duration:.2s;transition-property:background-color,border-color,box-shadow,color,fill,outline,outline-offset,transform;transition-timing-function:ease-in-out;corner-shape:var(--magma-corner-shape,squircle);align-items:baseline;cursor:pointer;display:flex;position:relative;transition-property:outline-offset,opacity}.field:focus-visible+.label-icon,.label-icon:focus-visible{--magma-outline-blur:var(--magma-outline-focus);animation-play-state:running}.label-text{cursor:pointer;display:flex}.label-text--empty{display:none}:host([type=switch]) .label-text{align-items:center;align-self:center}.icon-explicit{fill:var(--mds-input-switch-icon-explicit-color,rgb(var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231))));height:var(--mds-input-switch-toggle-size,calc(var(--spacing,.0025rem)*600));width:var(--mds-input-switch-toggle-size,calc(var(--spacing,.0025rem)*600))}.icon-typography-checked,.icon-typography-unchecked{align-items:center;display:inline-flex}.icon-typography-checked{left:0;position:absolute;top:0}.switch-container{align-self:stretch;animation-duration:var(--magma-outline-animation-duration,1s);animation-fill-mode:forwards;animation-iteration-count:infinite;animation-name:focus-bounce;animation-play-state:paused;animation-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1));border-radius:var(--magma-radius-full,var(--radius-full,1000px));box-sizing:border-box;display:flex;flex-shrink:0;outline:var(--magma-outline-blur,2px solid var(--magma-outline-blur-color,#0000));transition-duration:.2s;transition-property:background-color,border-color,box-shadow,color,fill,outline,outline-offset,transform;transition-property:width,outline-offset,opacity;transition-timing-function:ease-in-out;width:var(--mds-input-switch-toggle-container-size,calc(var(--spacing,.0025rem)*600*2 + var(--spacing,.0025rem)*100*2))}.field:focus-visible+.switch-container,.switch-container:focus-visible{--magma-outline-blur:var(--magma-outline-focus);animation-play-state:running}.switch{background-color:var(--mds-input-switch-box-color-enabled-unchecked,rgb(var(--magma-border-strong,var(--border-neutral-strong,140 140 140))));box-sizing:border-box;cursor:pointer;display:inline-flex;flex-shrink:0;height:min-content;padding:var(--mds-input-switch-box-padding,calc(var(--spacing,.0025rem)*100));transition-duration:var(--mds-input-switch-duration,.3s);transition-property:background-color,border-color,box-shadow,color,fill,height,margin,opacity,padding,transform,width;transition-timing-function:var(--ease-out-sine,cubic-bezier(.39,.575,.565,1));width:var(--mds-input-switch-toggle-container-size,calc(var(--spacing,.0025rem)*600*2 + var(--spacing,.0025rem)*100*2))}.switch,.switch-toggle{border-radius:var(--magma-radius-full,var(--radius-full,1000px))}.switch-toggle{align-items:center;animation-duration:calc(var(--mds-input-switch-duration,.3s)*1.5);animation-fill-mode:forwards;animation-iteration-count:1;animation-timing-function:var(--mds-input-switch-animation-timing-function);background-color:var(--mds-input-switch-toggle-color-enabled-unchecked,rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237))));box-shadow:var(--shadow-sm,0 1px 3px 0 #0000001a,0 1px 2px -1px #0000001a);display:flex;height:var(--mds-input-switch-toggle-size,calc(var(--spacing,.0025rem)*600));justify-content:center;transition-duration:var(--duration-200,.2s);transition-property:background-color,border-color,box-shadow,color,fill,height,margin,opacity,padding,width;transition-timing-function:var(--ease-linear);width:var(--mds-input-switch-toggle-size,calc(var(--spacing,.0025rem)*600))}.field:checked+.switch-container .switch{background-color:var(--mds-input-switch-box-color-enabled-checked,rgb(var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231))))}.field:checked+.switch-container .switch-toggle{background-color:var(--mds-input-switch-toggle-color-enabled-checked,rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));transform:translate(100%)}.field:checked+.switch-container--sliding .switch-toggle{animation-name:check}.field:not(:checked)+.switch-container--sliding .switch-toggle{animation-name:uncheck}.field:disabled+.switch-container .switch{background-color:var(--mds-input-switch-box-color-disabled-unchecked,rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208))))}.field:checked:disabled+.switch-container .switch{background-color:var(--mds-input-switch-box-color-disabled-checked,rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208))))}.field:disabled+.switch-container .switch-toggle{background-color:var(--mds-input-switch-toggle-color-disabled-unchecked,rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255))))}.field:checked:disabled+.switch-container .switch-toggle{background-color:var(--mds-input-switch-toggle-color-disabled-checked,rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255))))}@keyframes check{0%{transform:translate(0);width:var(--mds-input-switch-toggle-size,calc(var(--spacing,.0025rem)*600))}50%{transform:translate(0);width:calc(var(--mds-input-switch-toggle-size,calc(var(--spacing,.0025rem) * 600)) * var(--mds-input-switch-animation-timing-adjust,1.4))}to{transform:translate(100%);width:var(--mds-input-switch-toggle-size,calc(var(--spacing,.0025rem)*600))}}@keyframes uncheck{0%{transform:translate(100%);width:var(--mds-input-switch-toggle-size,calc(var(--spacing,.0025rem)*600))}50%{transform:translate(0);width:calc(var(--mds-input-switch-toggle-size,calc(var(--spacing,.0025rem) * 600)) * var(--mds-input-switch-animation-timing-adjust,1.4))}to{transform:translate(0);width:var(--mds-input-switch-toggle-size,calc(var(--spacing,.0025rem)*600))}}:host(:disabled),:host([disabled]){pointer-events:none}.icon-checked,.icon-unchecked{--tw-font-weight:var(--font-weight-normal,400);font-weight:var(--font-weight-normal,400);transition-duration:var(--duration-200,.2s);transition-property:fill,transform;transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1))}.icon-unchecked{fill:var(--mds-input-switch-icon-color-unchecked,rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99))));opacity:1;transform:scale(1)}.icon-checked,.icon-unchecked{transition-duration:var(--mds-input-switch-duration,.3s)}.icon-checked{fill:var(--mds-input-switch-icon-color-checked,rgb(var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231))));transform:scale(0)}.field:disabled+.label-icon,.field:disabled+.label-icon+.label-text{cursor:default}.field:checked+.label-icon .icon-unchecked{opacity:0;transform:scale(1.5);transition-duration:calc(var(--mds-input-switch-duration,.3s)*2)}.field:checked+.label-icon .icon-checked{transform:scale(1);transition-duration:calc(var(--mds-input-switch-duration,.3s)*1.5)}.field:disabled+.label-icon .icon-unchecked{fill:var(--mds-input-switch-icon-color-unchecked-disabled,rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119))))}.field:disabled+.label-icon .icon-checked{fill:var(--mds-input-switch-icon-color-checked-disabled,rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119))))}.field:disabled:indeterminate+.label-icon .icon-checked{fill:var(--mds-input-switch-icon-color-indeterminate-disabled,rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119))))}.field:indeterminate+.label-icon .icon-checked{fill:var(--mds-input-switch-icon-color-indeterminate,rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119))));transform:scale(1)}:host([explicit]:not([disabled]):not([checked])){--mds-input-switch-icon-explicit-color:var(--mds-input-switch-icon-color-unchecked,rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99))))}:host([explicit][checked]:not([disabled])){--mds-input-switch-icon-explicit-color:var(--mds-input-switch-icon-color-checked,rgb(var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231))))}:host([explicit][checked][disabled]){--mds-input-switch-icon-explicit-color:var(--mds-input-switch-icon-color-checked-disabled,rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119))))}:host([explicit][disabled]:not([checked])){--mds-input-switch-icon-explicit-color:var(--mds-input-switch-icon-color-unchecked-disabled,rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119))))}:host([pref-mode=dark]:not([pref-theme-scheme=light])){--mds-input-switch-box-color-enabled-checked:rgb(var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231)));--mds-input-switch-box-color-enabled-unchecked:rgb(var(--magma-border-default,var(--border-neutral-default,196 196 196)));--mds-input-switch-box-color-disabled-checked:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)));--mds-input-switch-box-color-disabled-unchecked:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)));--mds-input-switch-toggle-color-enabled-checked:rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-input-switch-toggle-color-enabled-unchecked:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));--mds-input-switch-toggle-color-disabled-checked:rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-input-switch-toggle-color-disabled-unchecked:rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119)));--mds-input-switch-icon-color-checked:rgb(var(--magma-accent-border,var(--variant-primary-06,148 172 218)));--mds-input-switch-icon-color-unchecked:rgb(var(--magma-border-default,var(--border-neutral-default,196 196 196)));--mds-input-switch-icon-color-unchecked-disabled:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)));--mds-input-switch-icon-color-indeterminate-disabled:rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119)));--mds-input-switch-icon-color-indeterminate:rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119)))}:host([size=sm]){--mds-input-switch-box-padding:var(--mds-input-switch-box-padding-sm,calc(var(--spacing,.0025rem)*100));--mds-input-switch-toggle-size:var(--mds-input-switch-toggle-size-sm,calc(var(--spacing,.0025rem)*400));--mds-input-switch-toggle-container-size:calc(calc(var(--mds-input-switch-toggle-size-sm,calc(var(--spacing,.0025rem) * 400)) * 2) + calc(var(--mds-input-switch-box-padding-sm,calc(var(--spacing,.0025rem) * 100)) * 2))}:host([size=md]){--mds-input-switch-box-padding:var(--mds-input-switch-box-padding-md,calc(var(--spacing,.0025rem)*100));--mds-input-switch-toggle-size:var(--mds-input-switch-toggle-size-md,calc(var(--spacing,.0025rem)*600));--mds-input-switch-toggle-container-size:calc(calc(var(--mds-input-switch-toggle-size-md,calc(var(--spacing,.0025rem) * 600)) * 2) + calc(var(--mds-input-switch-box-padding-md,calc(var(--spacing,.0025rem) * 100)) * 2))}:host([size=lg]){--mds-input-switch-box-padding:var(--mds-input-switch-box-padding-lg,calc(var(--spacing,.0025rem)*100));--mds-input-switch-toggle-size:var(--mds-input-switch-toggle-size-lg,calc(var(--spacing,.0025rem)*800));--mds-input-switch-toggle-container-size:calc(calc(var(--mds-input-switch-toggle-size-lg,calc(var(--spacing,.0025rem) * 800)) * 2) + calc(var(--mds-input-switch-box-padding-lg,calc(var(--spacing,.0025rem) * 100)) * 2))}@property --tw-font-weight{syntax:"*";inherits:false}@media (prefers-color-scheme:dark){:host(:not([pref-mode])),:host([pref-mode=system]:not([pref-theme-scheme=light])){--mds-input-switch-box-color-enabled-checked:rgb(var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231)));--mds-input-switch-box-color-enabled-unchecked:rgb(var(--magma-border-default,var(--border-neutral-default,196 196 196)));--mds-input-switch-box-color-disabled-checked:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)));--mds-input-switch-box-color-disabled-unchecked:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)));--mds-input-switch-toggle-color-enabled-checked:rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-input-switch-toggle-color-enabled-unchecked:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));--mds-input-switch-toggle-color-disabled-checked:rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-input-switch-toggle-color-disabled-unchecked:rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119)));--mds-input-switch-icon-color-checked:rgb(var(--magma-accent-border,var(--variant-primary-06,148 172 218)));--mds-input-switch-icon-color-unchecked:rgb(var(--magma-border-default,var(--border-neutral-default,196 196 196)));--mds-input-switch-icon-color-unchecked-disabled:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)));--mds-input-switch-icon-color-indeterminate-disabled:rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119)));--mds-input-switch-icon-color-indeterminate:rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119)))}}`;
|
|
35203
35233
|
|
|
35204
35234
|
/**
|
|
35205
35235
|
* @slot - Put text string or elements here
|
|
@@ -46816,7 +46846,7 @@ var mdiFolderOpen = `<svg xmlns="http://www.w3.org/2000/svg" id="mdi-folder-open
|
|
|
46816
46846
|
|
|
46817
46847
|
var miBaselineFolderClosed = `<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M10 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2h-8l-2-2z"/></svg>`;
|
|
46818
46848
|
|
|
46819
|
-
const mdsTreeItemCss = () => `@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),mds-button:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}@container style(--mds-tree-branch-use-rounded-border:true){:host{--mds-tree-branch-border-radius:var(--private-tree-item-branch-border-radius)}}@container style(--mds-tree-branch-use-rounded-border:false){:host{--mds-tree-branch-border-radius:0px}}:host{--mds-tree-item-actions-border-radius:var(--mds-tree-actions-border-radius);--mds-tree-item-actions-gap:var(--mds-tree-actions-gap);--mds-tree-item-branch-border-color:var(--mds-tree-branch-border-color);--mds-tree-item-branch-border-radius:var(--mds-tree-branch-border-radius,var(--private-tree-item-branch-border-radius));--mds-tree-item-branch-border-size:var(--mds-tree-branch-border-size);--mds-tree-item-branch-dot-default-color:var(--mds-tree-branch-dot-default-color);--mds-tree-item-branch-dot-expanded-color:var(--mds-tree-branch-dot-expanded-color);--mds-tree-item-label-default-background:var(--mds-tree-label-default-background);--mds-tree-item-label-hover-background:var(--mds-tree-label-hover-background);--mds-tree-item-label-icon-default-color:var(--mds-tree-label-icon-default-color);--mds-tree-item-label-icon-hover-color:var(--mds-tree-label-icon-hover-color);--mds-tree-item-line-clamp:var(--mds-tree-line-clamp);--mds-tree-item-toggle-gap:var(--mds-tree-toggle-gap,calc(var(--spacing,.0025rem)*100));--mds-tree-item-toggle-icon-async-background:var(--mds-tree-toggle-icon-async-background);--mds-tree-item-toggle-icon-async-color:var(--mds-tree-toggle-icon-async-color);--mds-tree-item-toggle-icon-chevron-default-background:var(--mds-tree-toggle-icon-chevron-default-background);--mds-tree-item-toggle-icon-chevron-default-color:var(--mds-tree-toggle-icon-chevron-default-color);--mds-tree-item-toggle-icon-chevron-expanded-background:var(--mds-tree-toggle-icon-chevron-expanded-background,var(--mds-tree-item-toggle-icon-chevron-default-background));--mds-tree-item-toggle-icon-chevron-expanded-color:var(--mds-tree-toggle-icon-chevron-expanded-color,var(--mds-tree-item-toggle-icon-chevron-default-color));--mds-tree-item-toggle-icon-folder-default-background:var(--mds-tree-toggle-icon-folder-default-background);--mds-tree-item-toggle-icon-folder-default-color:var(--mds-tree-toggle-icon-folder-default-color);--mds-tree-item-toggle-icon-folder-expanded-background:var(--mds-tree-item-toggle-icon-folder-default-background);--mds-tree-item-toggle-icon-folder-expanded-color:var(--mds-tree-toggle-icon-folder-expanded-color,var(--mds-tree-item-toggle-icon-folder-default-color));--mds-tree-item-toggle-icon-position-right-default-background:var(--mds-tree-toggle-icon-position-right-default-background);--mds-tree-item-toggle-icon-position-right-default-color:var(--mds-tree-toggle-icon-position-right-default-color);--mds-tree-item-toggle-icon-position-right-expanded-background:var(--mds-tree-toggle-icon-position-right-expanded-background);--mds-tree-item-toggle-icon-position-right-expanded-color:var(--mds-tree-toggle-icon-position-right-expanded-color);--mds-tree-item-toggle-size:var(--mds-tree-toggle-size);--mds-tree-item-transition-duration:var(--mds-tree-transition-duration);--mds-tree-item-transition-timing-function:var(--mds-tree-transition-timing-function);--mds-tree-item-icon-background-color:var(--mds-tree-item-toggle-icon-chevron-default-background);--mds-tree-item-icon-color:var(--mds-tree-item-toggle-icon-chevron-default-color);--header-gap:var(--mds-tree-item-toggle-gap);--private-tree-item-branch-border-radius:min(var(--magma-radius-lg,var(--radius-squircle-lg,28px)),var(--magma-corner-cap,.5) * var(--mds-tree-item-toggle-size));display:grid;transition-duration:var(--mds-tree-item-transition-duration);transition-timing-function:var(--mds-tree-item-transition-timing-function)}.header{--offset:calc(var(--mds-tree-item-toggle-size) + var(--header-gap));align-items:flex-start;gap:var(--header-gap);position:relative;z-index:1}.header,.title{display:flex;min-width:0}.title{align-items:stretch;flex-grow:1;gap:calc(var(--spacing,.0025rem)*200);justify-content:space-between}.label-action{--mds-button-line-clamp:var(--mds-tree-item-line-clamp);--padding:calc(var(--spacing,.0025rem)*100);background-color:var(--mds-tree-item-label-default-background);border-radius:min(var(--magma-radius-lg,var(--radius-squircle-lg,28px)),var(--magma-corner-cap,.5) * calc(var(--spacing,.0025rem)*900));fill:var(--mds-tree-item-label-icon-default-color);flex-grow:1;justify-content:flex-start;margin-left:calc(var(--padding)*-1);padding-left:var(--padding);padding-right:var(--padding)}.label-action:hover{background-color:var(--mds-tree-item-label-hover-background);fill:var(--mds-tree-item-label-icon-hover-color)}.actions-container{--duration-300:.3s;--ease:var(--ease-in-out-expo,cubic-bezier(1,0,0,1));border-radius:var(--mds-tree-item-actions-border-radius);corner-shape:var(--magma-corner-shape,squircle);interpolate-size:allow-keywords;align-items:center;display:none;justify-content:flex-start;min-width:0;overflow:hidden;transition-behavior:allow-discrete;transition-duration:var(--duration-300,.3s);transition-property:min-width,width,overflow;transition-timing-function:var(--ease);width:0}.actions-container--has-actions{display:flex}.actions{border-radius:var(--mds-tree-item-actions-border-radius);corner-shape:var(--magma-corner-shape,squircle);align-items:center;display:inline-flex;flex-shrink:0;gap:var(--mds-tree-item-actions-gap);pointer-events:none;transform:scale(0);transition-duration:var(--duration-300,.3s);transition-property:transform;transition-timing-function:var(--ease)}.header:focus-within .actions,.header:hover .actions,:host([resolved-actions=visible]) .actions-container{pointer-events:auto}.header:focus-within .actions-container,.header:hover .actions-container,:host([resolved-actions=visible]) .actions-container{animation:toggleOverflow var(--duration-300,.3s) forwards;min-width:fit-content;width:fit-content}.header:focus-within .actions,.header:hover .actions,:host([resolved-actions=visible]) .actions{transform:scale(1)}.children{--mds-tree-item-children-padding-left:calc(var(--mds-tree-item-toggle-size)/2 - var(--mds-tree-item-branch-border-size)/2);interpolate-size:allow-keywords;display:flex;flex-direction:column;height:0;overflow:clip;padding-left:var(--mds-tree-item-children-padding-left);position:relative;transform:translateY(calc(var(--mds-tree-item-toggle-size)/2*-1));transition-duration:var(--mds-tree-item-transition-duration);transition-property:height,transform,visibility;transition-timing-function:var(--mds-tree-item-transition-timing-function);visibility:hidden;z-index:0}.children--expanded{animation:toggleOverflow var(--mds-tree-item-transition-duration) forwards;animation-timing-function:var(--mds-tree-item-transition-timing-function);display:flex;height:auto;transform:translateY(0);visibility:inherit}.children--empty,.children--hidden{display:none}@keyframes toggleOverflow{99.99%{overflow:hidden}to{overflow:visible}}@keyframes toggleDisplay{99.99%{display:flex}to{display:none}}.tree-node{--middle-pos-x:calc(50% - var(--mds-tree-item-branch-border-size)/2);align-items:center;box-sizing:border-box;display:inline-flex;flex-shrink:0;height:var(--mds-tree-item-toggle-size);justify-content:center;pointer-events:none;position:relative;width:var(--mds-tree-item-toggle-size);z-index:0}.tree-branch{--pos-y:calc(calc(var(--mds-tree-item-toggle-size) / 2 + var(--mds-tree-item-branch-border-radius,var(--magma-radius-lg,var(--radius-squircle-lg,28px)))) * -1);--tree-height:calc(var(--mds-tree-item-toggle-size) + var(--mds-tree-item-branch-border-radius,var(--magma-radius-lg,var(--radius-squircle-lg,28px))) + var(--mds-tree-item-branch-border-size) / 2);--tree-width:calc(var(--mds-tree-item-toggle-size)/2);border-color:var(--mds-tree-item-branch-border-color);border-radius:0 0 0 var(--mds-tree-item-branch-border-radius,var(--magma-radius-lg,var(--radius-squircle-lg,28px)));border-style:solid;border-width:0 0 var(--mds-tree-item-branch-border-size) var(--mds-tree-item-branch-border-size);box-sizing:border-box;corner-shape:var(--magma-corner-shape,squircle);display:flex;height:var(--tree-height);inset:0;position:absolute;transform:translateY(var(--pos-y));width:calc(var(--mds-tree-item-toggle-size)/2);z-index:1}:host(:first-child) .tree-branch{--pos-y:calc(var(--mds-tree-item-toggle-size)/2*-1);--tree-height:calc(var(--mds-tree-item-toggle-size) + var(--mds-tree-item-branch-border-size)/2)}.tree-dot{--size:calc(var(--spacing,.0025rem)*300 + var(--mds-tree-item-branch-border-size)*2);background-color:var(--mds-tree-item-branch-border-color);border-radius:var(--size);display:none;height:var(--size);position:relative;width:var(--size)}.header--has-children .tree-dot{display:inline-flex}.header:not(.header--has-children) .tree-node .tree-branch{width:calc(var(--mds-tree-item-toggle-size) - var(--header-gap))}:host(:not(:last-child)) .header--has-children .tree-node:after{--size:calc(calc(var(--mds-tree-item-toggle-size) / 2) + var(--mds-tree-item-branch-border-radius,var(--magma-radius-lg,var(--radius-squircle-lg,28px))));--pos-y:calc(var(--size)/2);border-color:var(--mds-tree-item-branch-border-color);border-radius:0 0 0 var(--mds-tree-item-branch-border-radius,var(--magma-radius-lg,var(--radius-squircle-lg,28px)));border-style:solid;border-width:0 0 var(--mds-tree-item-branch-border-size) var(--mds-tree-item-branch-border-size);box-sizing:border-box;content:"";corner-shape:var(--magma-corner-shape,squircle);display:flex;height:var(--size);inset:0;position:absolute;transform:translateY(var(--pos-y));width:var(--mds-tree-item-branch-border-size);z-index:1}:host(:not(:last-child)) .children--has-children:before{border-left:var(--mds-tree-item-branch-border-size) solid var(--mds-tree-item-branch-border-color);content:"";display:flex;height:calc(100% + var(--mds-tree-item-toggle-size));left:0;position:absolute;top:calc(var(--mds-tree-item-toggle-size)*-1)}.tree-dot:after{--pos-y:calc(var(--size)/2);background-color:var(--mds-tree-item-branch-border-color);box-sizing:border-box;content:"";display:inline-flex;height:calc(var(--size)/2);inset:0 50% 0 0;position:absolute;transform:translate(calc(var(--pos-y) - var(--mds-tree-item-branch-border-size)/2),var(--pos-y));transition-duration:var(--mds-tree-item-transition-duration);transition-property:height;transition-timing-function:var(--mds-tree-item-transition-timing-function);width:var(--mds-tree-item-branch-border-size);z-index:1}:host([expanded]) .tree-dot:after{height:calc(var(--size) + var(--mds-tree-item-branch-border-size))}:host([depth="0"]) .children--has-children .tree-branch,:host([depth="0"]) .children--has-children:before,:host([depth="0"]) .header--has-children .tree-node:after,:host([depth="0"]) .tree-node .tree-branch,:host([depth="0"]) .tree-node:before{display:none}.toggle-icon{align-items:center;align-self:center;display:inline-flex;flex-shrink:0;height:var(--mds-tree-item-toggle-size);justify-content:center;margin-left:calc(var(--offset)*-1);position:relative;transform:rotate(0);transition-duration:var(--mds-tree-item-transition-duration);transition-property:transform;transition-timing-function:var(--mds-tree-item-transition-timing-function);width:var(--mds-tree-item-toggle-size);z-index:1}.toggle-icon mds-button{--size:calc(var(--spacing,.0025rem)*600);align-self:center;background-color:var(--mds-tree-item-icon-background-color);border:0;border-radius:var(--mds-tree-item-toggle-size);color:var(--mds-tree-item-icon-color);fill:var(--mds-tree-item-icon-color);height:var(--size);min-height:var(--size);min-width:var(--size);overflow:hidden;width:var(--size)}.toggle-icon mds-button[await]{background-color:var(--mds-tree-item-toggle-icon-async-background);color:var(--mds-tree-item-toggle-icon-async-color)}:host([toggle=chevron]) .toggle-icon{--mds-tree-item-icon-background-color:var(--mds-tree-item-toggle-icon-chevron-default-background);--mds-tree-item-icon-color:var(--mds-tree-item-toggle-icon-chevron-default-color)}:host([expanded][toggle=chevron]) .toggle-icon{--mds-tree-item-icon-background-color:var(--mds-tree-item-toggle-icon-chevron-expanded-background);--mds-tree-item-icon-color:var(--mds-tree-item-toggle-icon-chevron-expanded-color)}:host([toggle=folder][toggle-position=left]) .toggle-icon mds-button{box-shadow:0 calc(var(--spacing,.0025rem)*25) 0 0 var(--mds-tree-item-branch-border-color)}:host([toggle=folder]) .toggle-icon mds-button{--size:auto;border-radius:var(--magma-radius-3xs,var(--radius-squircle-3xs,6px));padding:calc(var(--spacing,.0025rem)*25) calc(var(--spacing,.0025rem)*50)}:host([toggle=folder]) .toggle-icon{--mds-tree-item-icon-background-color:var(--mds-tree-item-toggle-icon-folder-default-background);--mds-tree-item-icon-color:var(--mds-tree-item-toggle-icon-folder-default-color)}:host([toggle=folder][expanded]) .toggle-icon{--mds-tree-item-icon-background-color:var(--mds-tree-item-toggle-icon-folder-expanded-background);--mds-tree-item-icon-color:var(--mds-tree-item-toggle-icon-folder-expanded-color)}:host([toggle-position=right]) .toggle-icon{--mds-tree-item-icon-background-color:var(--mds-tree-item-toggle-icon-position-right-default-background);--mds-tree-item-icon-color:var(--mds-tree-item-toggle-icon-position-right-default-color);background-color:#0000;order:1}:host([expanded][toggle-position=right]) .toggle-icon{--mds-tree-item-icon-background-color:var(--mds-tree-item-toggle-icon-position-right-expanded-background);--mds-tree-item-icon-color:var(--mds-tree-item-toggle-icon-position-right-expanded-color)}:host([expanded][toggle-position=left][toggle=chevron]) .toggle-icon{transform:rotate(90deg)}.header:not(.header--has-children) .toggle-icon{display:none}:host([toggle-position=left]) .toggle-icon{order:0}:host([toggle-position=right]) .header--has-children .title{margin-right:var(--offset)}:host([toggle-position=left][toggle=chevron][expanded]) .toggle-icon{transform:rotate(90deg)}:host([toggle-position=left][toggle=chevron]:not([expanded])) .toggle-icon{transform:rotate(0)}:host([toggle=chevron][toggle-position=right]) .toggle-icon{transform:rotate(90deg)}:host([toggle=chevron][expanded][toggle-position=right]) .toggle-icon{transform:rotate(270deg)}:host([toggle=chevron][toggle-position=right]) .toggle-icon--dot,:host([toggle=folder][toggle-position=right]) .toggle-icon--dot{transform:rotate(0)scale(.825)}:host([toggle=chevron][toggle-position=right]) .toggle-icon,:host([toggle=folder][toggle-position=right]) .toggle-icon{background-color:#0000;fill:var(--mds-tree-item-branch-dot-default-color)}:host([toggle=chevron][expanded][toggle-position=right]) .toggle-icon,:host([toggle=folder][expanded][toggle-position=right]) .toggle-icon{background-color:#0000;fill:var(--mds-tree-item-branch-dot-expanded-color)}:host([appearance=none]) .header{--offset:0;gap:0}:host([appearance=none]) .tree-dot,:host([appearance=none]) .tree-node,:host([appearance=none]:not(:last-child)) .children--has-children:before{display:none}:host([appearance=none]) .label-action{--padding:calc(var(--spacing,.0025rem)*200);margin-left:0;padding-left:var(--padding);padding-right:var(--padding)}:host([appearance=none][toggle-position=left]) .children{padding-left:calc(var(--header-gap)*2 + var(--mds-tree-item-branch-border-size) + var(--mds-tree-item-children-padding-left)*2)}:host([appearance=none][toggle-position=right]) .children{padding-left:var(--mds-tree-item-children-padding-left)}`;
|
|
46849
|
+
const mdsTreeItemCss = () => `@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),mds-button:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}@container style(--mds-tree-branch-use-rounded-border:true){:host{--mds-tree-branch-border-radius:var(--private-tree-item-branch-border-radius)}}@container style(--mds-tree-branch-use-rounded-border:false){:host{--mds-tree-branch-border-radius:0px}}:host{--mds-tree-item-actions-border-radius:var(--mds-tree-actions-border-radius);--mds-tree-item-actions-gap:var(--mds-tree-actions-gap);--mds-tree-item-branch-border-color:var(--mds-tree-branch-border-color);--mds-tree-item-branch-border-radius:var(--mds-tree-branch-border-radius,var(--private-tree-item-branch-border-radius));--mds-tree-item-branch-border-size:var(--mds-tree-branch-border-size);--mds-tree-item-branch-dot-default-color:var(--mds-tree-branch-dot-default-color);--mds-tree-item-branch-dot-expanded-color:var(--mds-tree-branch-dot-expanded-color);--mds-tree-item-label-default-background:var(--mds-tree-label-default-background);--mds-tree-item-label-hover-background:var(--mds-tree-label-hover-background);--mds-tree-item-label-icon-default-color:var(--mds-tree-label-icon-default-color);--mds-tree-item-label-icon-hover-color:var(--mds-tree-label-icon-hover-color);--mds-tree-item-line-clamp:var(--mds-tree-line-clamp);--mds-tree-item-toggle-gap:var(--mds-tree-toggle-gap,calc(var(--spacing,.0025rem)*100));--mds-tree-item-toggle-icon-async-background:var(--mds-tree-toggle-icon-async-background);--mds-tree-item-toggle-icon-async-color:var(--mds-tree-toggle-icon-async-color);--mds-tree-item-toggle-icon-chevron-default-background:var(--mds-tree-toggle-icon-chevron-default-background);--mds-tree-item-toggle-icon-chevron-default-color:var(--mds-tree-toggle-icon-chevron-default-color);--mds-tree-item-toggle-icon-chevron-expanded-background:var(--mds-tree-toggle-icon-chevron-expanded-background,var(--mds-tree-item-toggle-icon-chevron-default-background));--mds-tree-item-toggle-icon-chevron-expanded-color:var(--mds-tree-toggle-icon-chevron-expanded-color,var(--mds-tree-item-toggle-icon-chevron-default-color));--mds-tree-item-toggle-icon-folder-default-background:var(--mds-tree-toggle-icon-folder-default-background);--mds-tree-item-toggle-icon-folder-default-color:var(--mds-tree-toggle-icon-folder-default-color);--mds-tree-item-toggle-icon-folder-expanded-background:var(--mds-tree-item-toggle-icon-folder-default-background);--mds-tree-item-toggle-icon-folder-expanded-color:var(--mds-tree-toggle-icon-folder-expanded-color,var(--mds-tree-item-toggle-icon-folder-default-color));--mds-tree-item-toggle-icon-position-right-default-background:var(--mds-tree-toggle-icon-position-right-default-background);--mds-tree-item-toggle-icon-position-right-default-color:var(--mds-tree-toggle-icon-position-right-default-color);--mds-tree-item-toggle-icon-position-right-expanded-background:var(--mds-tree-toggle-icon-position-right-expanded-background);--mds-tree-item-toggle-icon-position-right-expanded-color:var(--mds-tree-toggle-icon-position-right-expanded-color);--mds-tree-item-toggle-size:var(--mds-tree-toggle-size);--mds-tree-item-transition-duration:var(--mds-tree-transition-duration);--mds-tree-item-transition-timing-function:var(--mds-tree-transition-timing-function);--mds-tree-item-icon-background-color:var(--mds-tree-item-toggle-icon-chevron-default-background);--mds-tree-item-icon-color:var(--mds-tree-item-toggle-icon-chevron-default-color);--header-gap:var(--mds-tree-item-toggle-gap);--private-tree-item-branch-border-radius:min(var(--magma-radius-lg,var(--radius-squircle-lg,28px)),var(--magma-corner-cap,.5) * var(--mds-tree-item-toggle-size));display:grid;transition-duration:var(--mds-tree-item-transition-duration);transition-timing-function:var(--mds-tree-item-transition-timing-function)}.header{--offset:calc(var(--mds-tree-item-toggle-size) + var(--header-gap));align-items:flex-start;gap:var(--header-gap);position:relative;z-index:1}.header,.title{display:flex;min-width:0}.title{align-items:stretch;flex-grow:1;gap:calc(var(--spacing,.0025rem)*200);justify-content:space-between}.label-action{--mds-button-line-clamp:var(--mds-tree-item-line-clamp);--padding:calc(var(--spacing,.0025rem)*100);background-color:var(--mds-tree-item-label-default-background);border-radius:min(var(--magma-radius-lg,var(--radius-squircle-lg,28px)),var(--magma-corner-cap,.5) * calc(var(--spacing,.0025rem)*900));fill:var(--mds-tree-item-label-icon-default-color);flex-grow:1;justify-content:flex-start;margin-left:calc(var(--padding)*-1);padding-left:var(--padding);padding-right:var(--padding)}.label-action:hover{background-color:var(--mds-tree-item-label-hover-background);fill:var(--mds-tree-item-label-icon-hover-color)}.actions-container{--duration-300:.3s;--ease:var(--ease-in-out-expo,cubic-bezier(1,0,0,1));border-radius:var(--mds-tree-item-actions-border-radius);corner-shape:var(--magma-corner-shape,squircle);interpolate-size:allow-keywords;align-items:center;display:none;justify-content:flex-start;min-width:0;overflow:hidden;transition-behavior:allow-discrete;transition-duration:var(--duration-300,.3s);transition-property:min-width,width,overflow;transition-timing-function:var(--ease);width:0}.actions-container--has-actions{display:flex}.actions{border-radius:var(--mds-tree-item-actions-border-radius);corner-shape:var(--magma-corner-shape,squircle);align-items:center;display:inline-flex;flex-shrink:0;gap:var(--mds-tree-item-actions-gap);pointer-events:none;transform:scale(0);transition-duration:var(--duration-300,.3s);transition-property:transform;transition-timing-function:var(--ease)}.header:focus-within .actions,.header:hover .actions,:host([resolved-actions=visible]) .actions-container{pointer-events:auto}.header:focus-within .actions-container,.header:hover .actions-container,:host([resolved-actions=visible]) .actions-container{animation:toggleOverflow var(--duration-300,.3s) forwards;min-width:fit-content;width:fit-content}.header:focus-within .actions,.header:hover .actions,:host([resolved-actions=visible]) .actions{transform:scale(1)}.children{--mds-tree-item-children-padding-left:calc(var(--mds-tree-item-toggle-size)/2 - var(--mds-tree-item-branch-border-size)/2);interpolate-size:allow-keywords;display:flex;flex-direction:column;height:0;overflow:clip;padding-left:var(--mds-tree-item-children-padding-left);position:relative;transform:translateY(calc(var(--mds-tree-item-toggle-size)/2*-1));transition-duration:var(--mds-tree-item-transition-duration);transition-property:height,transform,visibility;transition-timing-function:var(--mds-tree-item-transition-timing-function);visibility:hidden;z-index:0}.children--expanded{animation:toggleOverflow var(--mds-tree-item-transition-duration) forwards;animation-timing-function:var(--mds-tree-item-transition-timing-function);display:flex;height:auto;transform:translateY(0);visibility:inherit}.children--empty,.children--hidden{display:none}@keyframes toggleOverflow{99.99%{overflow:hidden}to{overflow:visible}}@keyframes toggleDisplay{99.99%{display:flex}to{display:none}}.tree-node{--middle-pos-x:calc(50% - var(--mds-tree-item-branch-border-size)/2);align-items:center;box-sizing:border-box;display:inline-flex;flex-shrink:0;height:var(--mds-tree-item-toggle-size);justify-content:center;pointer-events:none;position:relative;width:var(--mds-tree-item-toggle-size);z-index:0}.tree-branch{--pos-y:calc(calc(var(--mds-tree-item-toggle-size) / 2 + var(--mds-tree-item-branch-border-radius,var(--magma-radius-lg,var(--radius-squircle-lg,28px)))) * -1);--tree-height:calc(var(--mds-tree-item-toggle-size) + var(--mds-tree-item-branch-border-radius,var(--magma-radius-lg,var(--radius-squircle-lg,28px))) + var(--mds-tree-item-branch-border-size) / 2);--tree-width:calc(var(--mds-tree-item-toggle-size)/2);border-color:var(--mds-tree-item-branch-border-color);border-radius:0 0 0 var(--mds-tree-item-branch-border-radius,var(--magma-radius-lg,var(--radius-squircle-lg,28px)));border-style:solid;border-width:0 0 var(--mds-tree-item-branch-border-size) var(--mds-tree-item-branch-border-size);box-sizing:border-box;corner-shape:var(--magma-corner-shape,squircle);display:flex;height:var(--tree-height);inset:0;position:absolute;transform:translateY(var(--pos-y));width:calc(var(--mds-tree-item-toggle-size)/2);z-index:1}:host(:first-of-type) .tree-branch{--pos-y:calc(var(--mds-tree-item-toggle-size)/2*-1);--tree-height:calc(var(--mds-tree-item-toggle-size) + var(--mds-tree-item-branch-border-size)/2)}.tree-dot{--size:calc(var(--spacing,.0025rem)*300 + var(--mds-tree-item-branch-border-size)*2);background-color:var(--mds-tree-item-branch-border-color);border-radius:var(--size);display:none;height:var(--size);position:relative;width:var(--size)}.header--has-children .tree-dot{display:inline-flex}.header:not(.header--has-children) .tree-node .tree-branch{width:calc(var(--mds-tree-item-toggle-size) - var(--header-gap))}:host(:not(:last-of-type)) .header--has-children .tree-node:after{--size:calc(calc(var(--mds-tree-item-toggle-size) / 2) + var(--mds-tree-item-branch-border-radius,var(--magma-radius-lg,var(--radius-squircle-lg,28px))));--pos-y:calc(var(--size)/2);border-color:var(--mds-tree-item-branch-border-color);border-radius:0 0 0 var(--mds-tree-item-branch-border-radius,var(--magma-radius-lg,var(--radius-squircle-lg,28px)));border-style:solid;border-width:0 0 var(--mds-tree-item-branch-border-size) var(--mds-tree-item-branch-border-size);box-sizing:border-box;content:"";corner-shape:var(--magma-corner-shape,squircle);display:flex;height:var(--size);inset:0;position:absolute;transform:translateY(var(--pos-y));width:var(--mds-tree-item-branch-border-size);z-index:1}:host(:not(:last-of-type)) .children--has-children:before{border-left:var(--mds-tree-item-branch-border-size) solid var(--mds-tree-item-branch-border-color);content:"";display:flex;height:calc(100% + var(--mds-tree-item-toggle-size));left:0;position:absolute;top:calc(var(--mds-tree-item-toggle-size)*-1)}.tree-dot:after{--pos-y:calc(var(--size)/2);background-color:var(--mds-tree-item-branch-border-color);box-sizing:border-box;content:"";display:inline-flex;height:calc(var(--size)/2);inset:0 50% 0 0;position:absolute;transform:translate(calc(var(--pos-y) - var(--mds-tree-item-branch-border-size)/2),var(--pos-y));transition-duration:var(--mds-tree-item-transition-duration);transition-property:height;transition-timing-function:var(--mds-tree-item-transition-timing-function);width:var(--mds-tree-item-branch-border-size);z-index:1}:host([expanded]) .tree-dot:after{height:calc(var(--size) + var(--mds-tree-item-branch-border-size))}:host([depth="0"]) .children--has-children .tree-branch,:host([depth="0"]) .children--has-children:before,:host([depth="0"]) .header--has-children .tree-node:after,:host([depth="0"]) .tree-node .tree-branch,:host([depth="0"]) .tree-node:before{display:none}.toggle-icon{align-items:center;align-self:center;display:inline-flex;flex-shrink:0;height:var(--mds-tree-item-toggle-size);justify-content:center;margin-left:calc(var(--offset)*-1);position:relative;transform:rotate(0);transition-duration:var(--mds-tree-item-transition-duration);transition-property:transform;transition-timing-function:var(--mds-tree-item-transition-timing-function);width:var(--mds-tree-item-toggle-size);z-index:1}.toggle-icon mds-button{--size:calc(var(--spacing,.0025rem)*600);align-self:center;background-color:var(--mds-tree-item-icon-background-color);border:0;border-radius:var(--mds-tree-item-toggle-size);color:var(--mds-tree-item-icon-color);fill:var(--mds-tree-item-icon-color);height:var(--size);min-height:var(--size);min-width:var(--size);overflow:hidden;width:var(--size)}.toggle-icon mds-button[await]{background-color:var(--mds-tree-item-toggle-icon-async-background);color:var(--mds-tree-item-toggle-icon-async-color)}:host([toggle=chevron]) .toggle-icon{--mds-tree-item-icon-background-color:var(--mds-tree-item-toggle-icon-chevron-default-background);--mds-tree-item-icon-color:var(--mds-tree-item-toggle-icon-chevron-default-color)}:host([expanded][toggle=chevron]) .toggle-icon{--mds-tree-item-icon-background-color:var(--mds-tree-item-toggle-icon-chevron-expanded-background);--mds-tree-item-icon-color:var(--mds-tree-item-toggle-icon-chevron-expanded-color)}:host([toggle=folder][toggle-position=left]) .toggle-icon mds-button{box-shadow:0 calc(var(--spacing,.0025rem)*25) 0 0 var(--mds-tree-item-branch-border-color)}:host([toggle=folder]) .toggle-icon mds-button{--size:auto;border-radius:var(--magma-radius-3xs,var(--radius-squircle-3xs,6px));padding:calc(var(--spacing,.0025rem)*25) calc(var(--spacing,.0025rem)*50)}:host([toggle=folder]) .toggle-icon{--mds-tree-item-icon-background-color:var(--mds-tree-item-toggle-icon-folder-default-background);--mds-tree-item-icon-color:var(--mds-tree-item-toggle-icon-folder-default-color)}:host([toggle=folder][expanded]) .toggle-icon{--mds-tree-item-icon-background-color:var(--mds-tree-item-toggle-icon-folder-expanded-background);--mds-tree-item-icon-color:var(--mds-tree-item-toggle-icon-folder-expanded-color)}:host([toggle-position=right]) .toggle-icon{--mds-tree-item-icon-background-color:var(--mds-tree-item-toggle-icon-position-right-default-background);--mds-tree-item-icon-color:var(--mds-tree-item-toggle-icon-position-right-default-color);background-color:#0000;order:1}:host([expanded][toggle-position=right]) .toggle-icon{--mds-tree-item-icon-background-color:var(--mds-tree-item-toggle-icon-position-right-expanded-background);--mds-tree-item-icon-color:var(--mds-tree-item-toggle-icon-position-right-expanded-color)}:host([expanded][toggle-position=left][toggle=chevron]) .toggle-icon{transform:rotate(90deg)}.header:not(.header--has-children) .toggle-icon{display:none}:host([toggle-position=left]) .toggle-icon{order:0}:host([toggle-position=right]) .header--has-children .title{margin-right:var(--offset)}:host([toggle-position=left][toggle=chevron][expanded]) .toggle-icon{transform:rotate(90deg)}:host([toggle-position=left][toggle=chevron]:not([expanded])) .toggle-icon{transform:rotate(0)}:host([toggle=chevron][toggle-position=right]) .toggle-icon{transform:rotate(90deg)}:host([toggle=chevron][expanded][toggle-position=right]) .toggle-icon{transform:rotate(270deg)}:host([toggle=chevron][toggle-position=right]) .toggle-icon--dot,:host([toggle=folder][toggle-position=right]) .toggle-icon--dot{transform:rotate(0)scale(.825)}:host([toggle=chevron][toggle-position=right]) .toggle-icon,:host([toggle=folder][toggle-position=right]) .toggle-icon{background-color:#0000;fill:var(--mds-tree-item-branch-dot-default-color)}:host([toggle=chevron][expanded][toggle-position=right]) .toggle-icon,:host([toggle=folder][expanded][toggle-position=right]) .toggle-icon{background-color:#0000;fill:var(--mds-tree-item-branch-dot-expanded-color)}:host([appearance=none]) .header{--offset:0;gap:0}:host([appearance=none]) .tree-dot,:host([appearance=none]) .tree-node,:host([appearance=none]:not(:last-of-type)) .children--has-children:before{display:none}:host([appearance=none]) .label-action{--padding:calc(var(--spacing,.0025rem)*200);margin-left:0;padding-left:var(--padding);padding-right:var(--padding)}:host([appearance=none][toggle-position=left]) .children{padding-left:calc(var(--header-gap)*2 + var(--mds-tree-item-branch-border-size) + var(--mds-tree-item-children-padding-left)*2)}:host([appearance=none][toggle-position=right]) .children{padding-left:var(--mds-tree-item-children-padding-left)}`;
|
|
46820
46850
|
|
|
46821
46851
|
/**
|
|
46822
46852
|
* @slot - Add `mds-tree-item` element/s.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as e,a,c as n,w as t,N as i,H as d,b as l}from"./p-CPRkNQdE.js";export{s as setNonce}from"./p-CPRkNQdE.js";import{g as o}from"./p-DQuL1Twl.js";var r=e=>{const a=e.cloneNode;e.cloneNode=function(e){if("TEMPLATE"===this.nodeName)return a.call(this,e);const n=a.call(this,!1),t=this.childNodes;if(e)for(let e=0;e<t.length;e++)2!==t[e].nodeType&&n.appendChild(t[e].cloneNode(!0));return n}};(()=>{a.isDev&&!a.isTesting&&n("Running in development mode."),a.cloneNodeFix&&r(d.prototype);const l=a.scriptDataOpts?t.document&&Array.from(t.document.querySelectorAll("script")).find((e=>new RegExp(`/${i}(\\.esm)?\\.js($|\\?|#)`).test(e.src)||e.getAttribute("data-stencil-namespace")===i)):null,s=import.meta.url,o=a.scriptDataOpts&&(l||{})["data-opts"]||{};return""!==s&&(o.resourcesUrl=new URL(".",s).href),e(o)})().then((async e=>(await o(),l(JSON.parse('[["p-23ce0824",[[257,"mds-text",{"animation":[513],"tag":[1537],"text":[513],"truncate":[513],"typography":[513],"variant":[513]},null,{"text":[{"textHandler":0}]}]]],["p-a8593847",[[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}],"type":[{"handleTypeChange":0}],"href":[{"handleHrefChange":0}],"variant":[{"handleVariantChange":0}],"aria-labelledby":[{"handleAriaLabelledbyChange":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}]}]]],["p-1f5cd2b5",[[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}]}]]],["p-ac4109e3",[[65,"mds-input-date",{"accessibleName":[1,"aria-label"],"value":[513],"name":[513],"variant":[1537],"min":[1537],"max":[1537],"delay":[514],"size":[513],"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}]}]]],["p-87b15008",[[1,"mds-policy-ai",{"headline":[513],"description":[513],"variant":[513],"href":[513]}]]],["p-1287fb51",[[257,"mds-avatar-stack",{"size":[513],"total":[514],"itemsCount":[32]}]]],["p-3ba5ddae",[[321,"mds-input-date-range",{"accessibleName":[1,"aria-label"],"startDate":[513,"start-date"],"endDate":[513,"end-date"],"min":[513],"max":[513],"delay":[514],"size":[513],"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}]}]]],["p-90fe332f",[[65,"mds-input-otp",{"accessibleName":[1,"aria-label"],"length":[2],"autosubmit":[516],"disabled":[516],"value":[1537],"digits":[32],"formDisabled":[32]},null,{"value":[{"valueChanged":0}]}]]],["p-cc109576",[[257,"mds-pref-language",{"size":[513],"set":[1537],"showDropdown":[32]},[[0,"mdsPrefLanguageItemSelect","handleItemSelect"]],{"set":[{"handleSetChange":0}]}]]],["p-166c0190",[[257,"mds-pref-theme",{"size":[513],"name":[1537],"scheme":[1537],"cornerShape":[1537,"corner-shape"],"showDropdown":[32]},[[0,"mdsPrefThemeItemSelect","handleItemSelect"]],{"name":[{"handleNameChange":0}],"scheme":[{"handleSchemeChange":0}],"cornerShape":[{"handleCornerShapeChange":0}]}]]],["p-8b081ba9",[[257,"mds-table-header",{"selectable":[4],"selectAll":[32],"hasActions":[32],"indeterminate":[32],"hasSelection":[32],"setSelection":[64],"setActions":[64]}]]],["p-a51f849a",[[257,"mds-entity",{"await":[516],"icon":[513],"src":[513],"initials":[513],"tone":[513],"variant":[513],"hasDetails":[32],"hasActions":[32]}]]],["p-d0c0c195",[[1,"mds-pref-animation",{"size":[513],"mode":[1537]},null,{"mode":[{"modeChanged":0}]}]]],["p-cc0cb701",[[1,"mds-pref-consumption",{"size":[513],"mode":[1537]},null,{"mode":[{"modeChanged":0}]}]]],["p-3ac09ace",[[1,"mds-pref-contrast",{"size":[513],"mode":[1537]},null,{"mode":[{"modeChanged":0}]}]]],["p-2a2b7c43",[[1,"mds-pref-mode",{"size":[513],"mode":[1537],"transition":[1537],"lockedScheme":[513,"locked-scheme"]},null,{"mode":[{"modeChanged":0}]}]]],["p-2c4d2717",[[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}]}]]],["p-2abfc393",[[257,"mds-keyboard",{"test":[1537],"try":[516],"testPassed":[32]},null,{"try":[{"handleTryProperty":0}]}]]],["p-e954b5c5",[[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}]}]]],["p-88ac5d50",[[257,"mds-breadcrumb",{"hideBack":[4,"hide-back"]},[[0,"mdsBreadcrumbItemSelect","activedEventHandler"]]]]],["p-f454c06b",[[257,"mds-header-bar",{"menu":[513],"nav":[513],"hasNav":[32],"isOpened":[32],"setOpened":[64]}]]],["p-3725c2c1",[[257,"mds-horizontal-scroll",{"controls":[1537],"navigation":[513],"snap":[513],"hasCompatibility":[32],"showForward":[32],"showBack":[32]},null,{"navigation":[{"watchNavigation":0}]}]]],["p-1a5411a8",[[1,"mds-label",{"label":[513],"variant":[513],"tone":[513],"truncate":[513],"typography":[1],"deletable":[4]}]]],["p-a7bad4e8",[[1,"mds-mention",{"deletable":[516],"icon":[513],"label":[513],"size":[513]}]]],["p-2d7d9e4f",[[257,"mds-note",{"deletable":[4],"variant":[513]}]]],["p-ef4d07ba",[[1,"mds-pref-language-item",{"code":[513],"selected":[516]},null,{"code":[{"handleCodeChange":0}]}]]],["p-505fb7d4",[[257,"mds-push-notification",{"visible":[1540],"behavior":[1],"show":[64],"hide":[64],"removeNotification":[64]},null,{"visible":[{"visibleChanged":0}]}]]],["p-dba5a6da",[[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}]}]]],["p-9bdca8b4",[[257,"mds-table-row",{"interactive":[516],"overlayActions":[516,"overlay-actions"],"selectable":[516],"selected":[1540],"selection":[516],"value":[520],"hasActions":[32],"sizerWidth":[32]},null,{"selected":[{"selectedChanged":0}]}]]],["p-b6b7dc40",[[257,"mds-toast",{"duration":[1538],"visible":[1540],"variant":[513],"tone":[513],"position":[1537],"deletable":[4],"hasActions":[32],"stacked":[32]},null,{"visible":[{"visibleChanged":0}],"duration":[{"durationChanged":0}]}]]],["p-b9e0b31d",[[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}]}]]],["p-a1443292",[[1,"mds-url-view",{"icon":[513],"label":[513],"src":[513],"loading":[513]}]]],["p-028f3717",[[1,"mds-file",{"suffix":[513],"description":[1],"filename":[1],"preview":[1],"hideDownloadedIcon":[4,"hide-downloaded-icon"],"format":[1537],"wasDownloaded":[32]},null,{"filename":[{"handleFilename":0}]}]]],["p-e49818c4",[[257,"mds-filter",{"autoReset":[516,"auto-reset"],"label":[1],"multiple":[516],"reset":[516],"active":[32],"itemsSelected":[32]},[[0,"mdsFilterItemSelect","activeEventHandler"]]]]],["p-b62bbd07",[[1,"mds-keyboard-key",{"name":[513],"pressed":[516]}]]],["p-2aab3752",[[257,"mds-tooltip",{"hideArrow":[4,"hide-arrow"],"arrowPadding":[2,"arrow-padding"],"disableAutoPlacement":[516,"disable-auto-placement"],"flip":[4],"target":[513],"offset":[2],"placement":[513],"relation":[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}],"relation":[{"relationChanged":0}],"visible":[{"visibleChanged":0}],"target":[{"targetChanged":0}]}]]],["p-2f3c6105",[[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}]}]]],["p-8d8c9c90",[[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]}]]],["p-5a2deba5",[[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}]}]]],["p-f7f6881a",[[1,"mds-radial-menu-item",{"tooltip":[513],"icon":[1537],"tone":[513],"variant":[513],"size":[513]}]]],["p-e15a874b",[[257,"mds-status-bar",{"description":[513],"overflow":[513],"position":[513],"visible":[1540],"hide":[64]},null,{"visible":[{"handleVisbilityProp":0}]}]]],["p-8a4a2b5a",[[257,"mds-accordion-timer-item",{"typography":[1],"selected":[516],"description":[1],"duration":[514],"progress":[2],"uuid":[2]},null,{"selected":[{"handleSelected":0}]}]]],["p-62e65f3b",[[257,"mds-benchmark-bar",{"label":[1537],"alias":[1],"typography":[1],"value":[2],"variant":[513],"size":[513]},null,{"label":[{"labelChanged":0}]}]]],["p-f3763382",[[1,"mds-breadcrumb-item",{"selected":[1540],"label":[513]}]]],["p-70a911e8",[[257,"mds-input-date-range-preselection",{"selected":[1540],"start":[513],"end":[513]}]]],["p-7a568cbf",[[321,"mds-input-select",{"accessibleName":[1,"aria-label"],"autocomplete":[513],"autoFocus":[516,"auto-focus"],"placeholder":[513],"name":[513],"disabled":[516],"required":[516],"multiple":[516],"rows":[514],"size":[520],"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}],"size":[{"sizeChanged":0}]}]]],["p-5d9b1fe5",[[1,"mds-pref-theme-item",{"label":[1537],"name":[513],"scheme":[513],"selected":[516]}]]],["p-3e1b21bd",[[1,"mds-paginator",{"pages":[2],"currentPage":[1538,"current-page"]}]]],["p-2362b91a",[[1,"mds-kpi-item",{"label":[1],"description":[1],"threshold":[2],"icon":[1],"isIntersecting":[32]}]]],["p-b48fc62e",[[257,"mds-list-item",{"typography":[513],"variant":[1],"icon":[1]}]]],["p-0b5fe949",[[257,"mds-tab-bar-item",{"icon":[1],"label":[1537],"selected":[1540],"typography":[1]},null,{"label":[{"labelChanged":0}]}]]],["p-7f776dff",[[257,"mds-table",{"interactive":[4],"selectable":[4],"selection":[1540],"sorting":[513],"hasBatchActions":[32],"selectedRows":[32],"updateSelection":[64],"updateActions":[64],"selectAll":[64]},null,{"interactive":[{"onTableInteractive":0}],"selectable":[{"onTableSelectable":0}]}]]],["p-51a869ee",[[257,"mds-usage",{"variant":[513],"alias":[1],"icon":[1]}]]],["p-3b36319a",[[257,"mds-accordion-item",{"typography":[1],"selected":[1540],"label":[1]}]]],["p-4ea00c22",[[1,"mds-bibliography",{"format":[1],"author":[1],"name":[1],"publisher":[1],"date":[1],"location":[1],"rel":[1],"typography":[1],"variant":[1],"url":[1]}]]],["p-5b21eb78",[[321,"mds-input-field",{"label":[1025],"message":[1025],"variant":[1537]},null,{"label":[{"labelChanged":0}]}]]],["p-7d548a19",[[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}]}]]],["p-bba4c7eb",[[1,"mds-notification",{"target":[1],"value":[1538],"dismissed":[1540],"strategy":[1537],"max":[514],"describing":[32]},null,{"strategy":[{"strategyHandler":0}]}]]],["p-911dc847",[[257,"mds-pref",{"size":[513],"controller":[1540],"showReload":[32]},[[0,"mdsPrefChange","handlePrefChange"],[0,"mdsPrefThemeChange","handleThemeChange"]],{"controller":[{"handleControllerChange":0}],"size":[{"handleSizeChange":0}]}]]],["p-288f3cfe",[[257,"mds-price-table-features",{"label":[1]}]]],["p-f43379ef",[[257,"mds-price-table-features-cell",{"type":[513]}]]],["p-495a70e2",[[257,"mds-price-table-list",{"hasItems":[32]}]]],["p-0727d8f9",[[257,"mds-price-table-list-item",{"supported":[516],"typography":[513]}]]],["p-c3622315",[[257,"mds-quote",{"typography":[1],"tag":[1]}]]],["p-14b40c21",[[257,"mds-table-footer",{"selectable":[4],"hasActions":[32]}]]],["p-c1d8a25e",[[257,"mds-accordion",{"multiple":[4],"disableClose":[4,"disable-close"]},[[0,"mdsAccordionItemSelect","selectedEventHandler"],[0,"mdsAccordionItemUnselect","unselectedEventHandler"]]]]],["p-a2ec6eac",[[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}]}]]],["p-f9b5a5ec",[[257,"mds-author",{"hasAvatar":[32]}]]],["p-fd53a51c",[[257,"mds-button-group"]]],["p-2061e567",[[257,"mds-card",{"disableAutoGrid":[516,"disable-auto-grid"],"layout":[32]}]]],["p-0dd4b006",[[257,"mds-card-content"]]],["p-96f973e3",[[257,"mds-card-footer"]]],["p-32bfb09c",[[257,"mds-card-header",{"hasActions":[32]}]]],["p-3871807a",[[257,"mds-card-media"]]],["p-21c2d7bd",[[257,"mds-details",{"opened":[1540],"isOpened":[32],"hasIcon":[32]},null,{"opened":[{"validateOpened":0}]}]]],["p-972ff8a9",[[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}]}]]],["p-fcaa81b3",[[1,"mds-hr"]]],["p-ecb87d38",[[257,"mds-kpi"]]],["p-9e7d02e5",[[257,"mds-list"]]],["p-e8b9d639",[[257,"mds-price-table"]]],["p-38a9e862",[[257,"mds-price-table-features-row",{"cellPercWidth":[32]}]]],["p-b940888d",[[257,"mds-price-table-header"]]],["p-eba7cfb3",[[257,"mds-stepper-bar",{"itemsDone":[2,"items-done"],"navigation":[513],"currentItem":[32]},null,{"itemsDone":[{"itemDone":0}]}]]],["p-4191bf22",[[257,"mds-tab-bar",null,[[0,"mdsTabBarItemSelect","changeEventHandler"]]]]],["p-916a26e4",[[257,"mds-table-body",{"interactive":[516],"selection":[516]}]]],["p-926ef760",[[257,"mds-toast-region",{"position":[513],"max":[514]},null,{"position":[{"positionChanged":0}],"max":[{"maxChanged":0}]}]]],["p-47f7366c",[[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}]}]]],["p-b509fb36",[[257,"mds-video-wall",{"autoplay":[4],"loop":[4],"muted":[4],"noise":[1],"poster":[1],"preload":[1],"src":[1],"hasContent":[32]}]]],["p-811272a9",[[257,"mds-zero"]]],["p-4f24ccf3",[[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],"size":[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}]}]]],["p-bc30508b",[[1,"mds-filter-item",{"selected":[1540],"label":[513],"icon":[513],"value":[513],"count":[513],"disabled":[516]}]]],["p-53bcfdbb",[[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}]}]]],["p-4225484c",[[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}]}]]],["p-b919ce62",[[1,"mds-avatar-stack-item",{"count":[514],"initials":[1537],"src":[513],"tone":[513],"variant":[513]}]]],["p-1989c0b4",[[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}]}]]],["p-e5ab1f4f",[[1,"mds-table-header-cell",{"sortable":[516],"label":[513],"sortKey":[513,"sort-key"],"direction":[1537]},null,{"direction":[{"directionHandler":0}]}]]],["p-e6ed6e12",[[257,"mds-paginator-item",{"icon":[513],"selected":[516],"disabled":[516]}]]],["p-0bcf3bb6",[[1,"mds-separator"]]],["p-6da68fd5",[[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":[516],"icon":[1],"label":[513],"selected":[1540],"selectable":[516],"variant":[513],"tone":[513]},null,{"selectable":[{"handleSelectableProp":0}],"selected":[{"handleSelectedProp":0}]}],[257,"mds-help",{"icon":[1],"disableAutoPlacement":[516,"disable-auto-placement"],"placement":[513]}]]],["p-f88c202e",[[1,"mds-avatar",{"icon":[513],"initials":[1537],"count":[1538],"src":[513],"tone":[513],"variant":[1537],"imageFailed":[32],"loaded":[32]},null,{"initials":[{"initialsHandler":0}],"count":[{"countHandler":0}],"src":[{"srcHandler":0}]}]]],["p-43338a07",[[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]}]]],["p-6b01ef3b",[[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],"knobSliding":[32],"hasText":[32]},null,{"disabled":[{"disabledChanged":0}],"checked":[{"checkedChanged":0}],"value":[{"valueChanged":0}],"explicit":[{"explicitChanged":0}]}],[257,"mds-table-cell",{"value":[520]}]]],["p-1f9ebc0d",[[257,"mds-badge",{"label":[1537],"variant":[513],"tone":[513],"typography":[513]},null,{"label":[{"labelChanged":0}]}]]],["p-3bb26611",[[257,"mds-input-tip-item",{"variant":[513],"expanded":[1540]},null,{"expanded":[{"handleEcpandedChanged":0}]}],[257,"mds-input-tip",{"active":[516],"position":[513]}]]],["p-c89c2e30",[[1,"mds-progress",{"progress":[2],"direction":[513],"variant":[513],"typography":[1],"size":[513],"steps":[1],"leftOut":[32]},null,{"steps":[{"stepsChanged":0}],"aria-hidden":[{"ariaHiddenChanged":0}]}],[1,"mds-radial-progress",{"progress":[2],"icon":[513],"typography":[513],"variant":[513],"animatedProgress":[32]},null,{"progress":[{"onProgressChange":0}]}]]],["p-be741e35",[[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],"sliderSlides":[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}]}]]]]'),e))));
|
|
1
|
+
import{p as e,a,c as n,w as t,N as i,H as d,b as l}from"./p-CPRkNQdE.js";export{s as setNonce}from"./p-CPRkNQdE.js";import{g as o}from"./p-DQuL1Twl.js";var r=e=>{const a=e.cloneNode;e.cloneNode=function(e){if("TEMPLATE"===this.nodeName)return a.call(this,e);const n=a.call(this,!1),t=this.childNodes;if(e)for(let e=0;e<t.length;e++)2!==t[e].nodeType&&n.appendChild(t[e].cloneNode(!0));return n}};(()=>{a.isDev&&!a.isTesting&&n("Running in development mode."),a.cloneNodeFix&&r(d.prototype);const l=a.scriptDataOpts?t.document&&Array.from(t.document.querySelectorAll("script")).find((e=>new RegExp(`/${i}(\\.esm)?\\.js($|\\?|#)`).test(e.src)||e.getAttribute("data-stencil-namespace")===i)):null,s=import.meta.url,o=a.scriptDataOpts&&(l||{})["data-opts"]||{};return""!==s&&(o.resourcesUrl=new URL(".",s).href),e(o)})().then((async e=>(await o(),l(JSON.parse('[["p-23ce0824",[[257,"mds-text",{"animation":[513],"tag":[1537],"text":[513],"truncate":[513],"typography":[513],"variant":[513]},null,{"text":[{"textHandler":0}]}]]],["p-a8593847",[[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}],"type":[{"handleTypeChange":0}],"href":[{"handleHrefChange":0}],"variant":[{"handleVariantChange":0}],"aria-labelledby":[{"handleAriaLabelledbyChange":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}]}]]],["p-1f5cd2b5",[[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}]}]]],["p-ac4109e3",[[65,"mds-input-date",{"accessibleName":[1,"aria-label"],"value":[513],"name":[513],"variant":[1537],"min":[1537],"max":[1537],"delay":[514],"size":[513],"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}]}]]],["p-87b15008",[[1,"mds-policy-ai",{"headline":[513],"description":[513],"variant":[513],"href":[513]}]]],["p-1287fb51",[[257,"mds-avatar-stack",{"size":[513],"total":[514],"itemsCount":[32]}]]],["p-3ba5ddae",[[321,"mds-input-date-range",{"accessibleName":[1,"aria-label"],"startDate":[513,"start-date"],"endDate":[513,"end-date"],"min":[513],"max":[513],"delay":[514],"size":[513],"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}]}]]],["p-90fe332f",[[65,"mds-input-otp",{"accessibleName":[1,"aria-label"],"length":[2],"autosubmit":[516],"disabled":[516],"value":[1537],"digits":[32],"formDisabled":[32]},null,{"value":[{"valueChanged":0}]}]]],["p-cc109576",[[257,"mds-pref-language",{"size":[513],"set":[1537],"showDropdown":[32]},[[0,"mdsPrefLanguageItemSelect","handleItemSelect"]],{"set":[{"handleSetChange":0}]}]]],["p-166c0190",[[257,"mds-pref-theme",{"size":[513],"name":[1537],"scheme":[1537],"cornerShape":[1537,"corner-shape"],"showDropdown":[32]},[[0,"mdsPrefThemeItemSelect","handleItemSelect"]],{"name":[{"handleNameChange":0}],"scheme":[{"handleSchemeChange":0}],"cornerShape":[{"handleCornerShapeChange":0}]}]]],["p-8b081ba9",[[257,"mds-table-header",{"selectable":[4],"selectAll":[32],"hasActions":[32],"indeterminate":[32],"hasSelection":[32],"setSelection":[64],"setActions":[64]}]]],["p-a51f849a",[[257,"mds-entity",{"await":[516],"icon":[513],"src":[513],"initials":[513],"tone":[513],"variant":[513],"hasDetails":[32],"hasActions":[32]}]]],["p-d0c0c195",[[1,"mds-pref-animation",{"size":[513],"mode":[1537]},null,{"mode":[{"modeChanged":0}]}]]],["p-cc0cb701",[[1,"mds-pref-consumption",{"size":[513],"mode":[1537]},null,{"mode":[{"modeChanged":0}]}]]],["p-3ac09ace",[[1,"mds-pref-contrast",{"size":[513],"mode":[1537]},null,{"mode":[{"modeChanged":0}]}]]],["p-c72651b2",[[1,"mds-pref-mode",{"size":[513],"mode":[1537],"transition":[1537],"lockedScheme":[513,"locked-scheme"]},null,{"mode":[{"modeChanged":0}]}]]],["p-2c4d2717",[[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}]}]]],["p-2abfc393",[[257,"mds-keyboard",{"test":[1537],"try":[516],"testPassed":[32]},null,{"try":[{"handleTryProperty":0}]}]]],["p-e954b5c5",[[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}]}]]],["p-88ac5d50",[[257,"mds-breadcrumb",{"hideBack":[4,"hide-back"]},[[0,"mdsBreadcrumbItemSelect","activedEventHandler"]]]]],["p-f454c06b",[[257,"mds-header-bar",{"menu":[513],"nav":[513],"hasNav":[32],"isOpened":[32],"setOpened":[64]}]]],["p-4800a310",[[257,"mds-horizontal-scroll",{"controls":[1537],"navigation":[513],"snap":[513],"hasCompatibility":[32],"showForward":[32],"showBack":[32]},null,{"navigation":[{"watchNavigation":0}]}]]],["p-1a5411a8",[[1,"mds-label",{"label":[513],"variant":[513],"tone":[513],"truncate":[513],"typography":[1],"deletable":[4]}]]],["p-a7bad4e8",[[1,"mds-mention",{"deletable":[516],"icon":[513],"label":[513],"size":[513]}]]],["p-2d7d9e4f",[[257,"mds-note",{"deletable":[4],"variant":[513]}]]],["p-ef4d07ba",[[1,"mds-pref-language-item",{"code":[513],"selected":[516]},null,{"code":[{"handleCodeChange":0}]}]]],["p-91ed604f",[[257,"mds-push-notification",{"visible":[1540],"behavior":[1],"show":[64],"hide":[64],"removeNotification":[64]},null,{"visible":[{"visibleChanged":0}]}]]],["p-357ec8c0",[[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}]}]]],["p-9bdca8b4",[[257,"mds-table-row",{"interactive":[516],"overlayActions":[516,"overlay-actions"],"selectable":[516],"selected":[1540],"selection":[516],"value":[520],"hasActions":[32],"sizerWidth":[32]},null,{"selected":[{"selectedChanged":0}]}]]],["p-5cef4711",[[257,"mds-toast",{"duration":[1538],"visible":[1540],"variant":[513],"tone":[513],"position":[1537],"deletable":[4],"hasActions":[32],"stacked":[32]},null,{"visible":[{"visibleChanged":0}],"duration":[{"durationChanged":0}]}]]],["p-14ef1aec",[[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}]}]]],["p-a1443292",[[1,"mds-url-view",{"icon":[513],"label":[513],"src":[513],"loading":[513]}]]],["p-028f3717",[[1,"mds-file",{"suffix":[513],"description":[1],"filename":[1],"preview":[1],"hideDownloadedIcon":[4,"hide-downloaded-icon"],"format":[1537],"wasDownloaded":[32]},null,{"filename":[{"handleFilename":0}]}]]],["p-e49818c4",[[257,"mds-filter",{"autoReset":[516,"auto-reset"],"label":[1],"multiple":[516],"reset":[516],"active":[32],"itemsSelected":[32]},[[0,"mdsFilterItemSelect","activeEventHandler"]]]]],["p-b62bbd07",[[1,"mds-keyboard-key",{"name":[513],"pressed":[516]}]]],["p-7502528c",[[257,"mds-tooltip",{"hideArrow":[4,"hide-arrow"],"arrowPadding":[2,"arrow-padding"],"disableAutoPlacement":[516,"disable-auto-placement"],"flip":[4],"target":[513],"offset":[2],"placement":[513],"relation":[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}],"relation":[{"relationChanged":0}],"visible":[{"visibleChanged":0}],"target":[{"targetChanged":0}]}]]],["p-b169ee9b",[[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}]}]]],["p-8d8c9c90",[[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]}]]],["p-5a2deba5",[[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}]}]]],["p-f7f6881a",[[1,"mds-radial-menu-item",{"tooltip":[513],"icon":[1537],"tone":[513],"variant":[513],"size":[513]}]]],["p-e15a874b",[[257,"mds-status-bar",{"description":[513],"overflow":[513],"position":[513],"visible":[1540],"hide":[64]},null,{"visible":[{"handleVisbilityProp":0}]}]]],["p-8a4a2b5a",[[257,"mds-accordion-timer-item",{"typography":[1],"selected":[516],"description":[1],"duration":[514],"progress":[2],"uuid":[2]},null,{"selected":[{"handleSelected":0}]}]]],["p-62e65f3b",[[257,"mds-benchmark-bar",{"label":[1537],"alias":[1],"typography":[1],"value":[2],"variant":[513],"size":[513]},null,{"label":[{"labelChanged":0}]}]]],["p-f3763382",[[1,"mds-breadcrumb-item",{"selected":[1540],"label":[513]}]]],["p-70a911e8",[[257,"mds-input-date-range-preselection",{"selected":[1540],"start":[513],"end":[513]}]]],["p-7a568cbf",[[321,"mds-input-select",{"accessibleName":[1,"aria-label"],"autocomplete":[513],"autoFocus":[516,"auto-focus"],"placeholder":[513],"name":[513],"disabled":[516],"required":[516],"multiple":[516],"rows":[514],"size":[520],"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}],"size":[{"sizeChanged":0}]}]]],["p-5d9b1fe5",[[1,"mds-pref-theme-item",{"label":[1537],"name":[513],"scheme":[513],"selected":[516]}]]],["p-3e1b21bd",[[1,"mds-paginator",{"pages":[2],"currentPage":[1538,"current-page"]}]]],["p-2362b91a",[[1,"mds-kpi-item",{"label":[1],"description":[1],"threshold":[2],"icon":[1],"isIntersecting":[32]}]]],["p-b48fc62e",[[257,"mds-list-item",{"typography":[513],"variant":[1],"icon":[1]}]]],["p-0b5fe949",[[257,"mds-tab-bar-item",{"icon":[1],"label":[1537],"selected":[1540],"typography":[1]},null,{"label":[{"labelChanged":0}]}]]],["p-7f776dff",[[257,"mds-table",{"interactive":[4],"selectable":[4],"selection":[1540],"sorting":[513],"hasBatchActions":[32],"selectedRows":[32],"updateSelection":[64],"updateActions":[64],"selectAll":[64]},null,{"interactive":[{"onTableInteractive":0}],"selectable":[{"onTableSelectable":0}]}]]],["p-51a869ee",[[257,"mds-usage",{"variant":[513],"alias":[1],"icon":[1]}]]],["p-3b36319a",[[257,"mds-accordion-item",{"typography":[1],"selected":[1540],"label":[1]}]]],["p-4ea00c22",[[1,"mds-bibliography",{"format":[1],"author":[1],"name":[1],"publisher":[1],"date":[1],"location":[1],"rel":[1],"typography":[1],"variant":[1],"url":[1]}]]],["p-5b21eb78",[[321,"mds-input-field",{"label":[1025],"message":[1025],"variant":[1537]},null,{"label":[{"labelChanged":0}]}]]],["p-7d548a19",[[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}]}]]],["p-bba4c7eb",[[1,"mds-notification",{"target":[1],"value":[1538],"dismissed":[1540],"strategy":[1537],"max":[514],"describing":[32]},null,{"strategy":[{"strategyHandler":0}]}]]],["p-911dc847",[[257,"mds-pref",{"size":[513],"controller":[1540],"showReload":[32]},[[0,"mdsPrefChange","handlePrefChange"],[0,"mdsPrefThemeChange","handleThemeChange"]],{"controller":[{"handleControllerChange":0}],"size":[{"handleSizeChange":0}]}]]],["p-288f3cfe",[[257,"mds-price-table-features",{"label":[1]}]]],["p-f43379ef",[[257,"mds-price-table-features-cell",{"type":[513]}]]],["p-495a70e2",[[257,"mds-price-table-list",{"hasItems":[32]}]]],["p-0727d8f9",[[257,"mds-price-table-list-item",{"supported":[516],"typography":[513]}]]],["p-c3622315",[[257,"mds-quote",{"typography":[1],"tag":[1]}]]],["p-14b40c21",[[257,"mds-table-footer",{"selectable":[4],"hasActions":[32]}]]],["p-c1d8a25e",[[257,"mds-accordion",{"multiple":[4],"disableClose":[4,"disable-close"]},[[0,"mdsAccordionItemSelect","selectedEventHandler"],[0,"mdsAccordionItemUnselect","unselectedEventHandler"]]]]],["p-a2ec6eac",[[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}]}]]],["p-f9b5a5ec",[[257,"mds-author",{"hasAvatar":[32]}]]],["p-fd53a51c",[[257,"mds-button-group"]]],["p-2061e567",[[257,"mds-card",{"disableAutoGrid":[516,"disable-auto-grid"],"layout":[32]}]]],["p-0dd4b006",[[257,"mds-card-content"]]],["p-96f973e3",[[257,"mds-card-footer"]]],["p-32bfb09c",[[257,"mds-card-header",{"hasActions":[32]}]]],["p-3871807a",[[257,"mds-card-media"]]],["p-21c2d7bd",[[257,"mds-details",{"opened":[1540],"isOpened":[32],"hasIcon":[32]},null,{"opened":[{"validateOpened":0}]}]]],["p-e73cc6fc",[[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}]}]]],["p-fcaa81b3",[[1,"mds-hr"]]],["p-ecb87d38",[[257,"mds-kpi"]]],["p-9e7d02e5",[[257,"mds-list"]]],["p-e8b9d639",[[257,"mds-price-table"]]],["p-38a9e862",[[257,"mds-price-table-features-row",{"cellPercWidth":[32]}]]],["p-b940888d",[[257,"mds-price-table-header"]]],["p-eba7cfb3",[[257,"mds-stepper-bar",{"itemsDone":[2,"items-done"],"navigation":[513],"currentItem":[32]},null,{"itemsDone":[{"itemDone":0}]}]]],["p-4191bf22",[[257,"mds-tab-bar",null,[[0,"mdsTabBarItemSelect","changeEventHandler"]]]]],["p-916a26e4",[[257,"mds-table-body",{"interactive":[516],"selection":[516]}]]],["p-926ef760",[[257,"mds-toast-region",{"position":[513],"max":[514]},null,{"position":[{"positionChanged":0}],"max":[{"maxChanged":0}]}]]],["p-47f7366c",[[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}]}]]],["p-b509fb36",[[257,"mds-video-wall",{"autoplay":[4],"loop":[4],"muted":[4],"noise":[1],"poster":[1],"preload":[1],"src":[1],"hasContent":[32]}]]],["p-811272a9",[[257,"mds-zero"]]],["p-4f24ccf3",[[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],"size":[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}]}]]],["p-bc30508b",[[1,"mds-filter-item",{"selected":[1540],"label":[513],"icon":[513],"value":[513],"count":[513],"disabled":[516]}]]],["p-2e8f703e",[[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}]}]]],["p-4225484c",[[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}]}]]],["p-b919ce62",[[1,"mds-avatar-stack-item",{"count":[514],"initials":[1537],"src":[513],"tone":[513],"variant":[513]}]]],["p-1989c0b4",[[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}]}]]],["p-e5ab1f4f",[[1,"mds-table-header-cell",{"sortable":[516],"label":[513],"sortKey":[513,"sort-key"],"direction":[1537]},null,{"direction":[{"directionHandler":0}]}]]],["p-e6ed6e12",[[257,"mds-paginator-item",{"icon":[513],"selected":[516],"disabled":[516]}]]],["p-0bcf3bb6",[[1,"mds-separator"]]],["p-6da68fd5",[[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":[516],"icon":[1],"label":[513],"selected":[1540],"selectable":[516],"variant":[513],"tone":[513]},null,{"selectable":[{"handleSelectableProp":0}],"selected":[{"handleSelectedProp":0}]}],[257,"mds-help",{"icon":[1],"disableAutoPlacement":[516,"disable-auto-placement"],"placement":[513]}]]],["p-f88c202e",[[1,"mds-avatar",{"icon":[513],"initials":[1537],"count":[1538],"src":[513],"tone":[513],"variant":[1537],"imageFailed":[32],"loaded":[32]},null,{"initials":[{"initialsHandler":0}],"count":[{"countHandler":0}],"src":[{"srcHandler":0}]}]]],["p-43338a07",[[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]}]]],["p-61f0ebf3",[[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],"knobSliding":[32],"hasText":[32]},null,{"disabled":[{"disabledChanged":0}],"checked":[{"checkedChanged":0}],"value":[{"valueChanged":0}],"explicit":[{"explicitChanged":0}]}],[257,"mds-table-cell",{"value":[520]}]]],["p-1f9ebc0d",[[257,"mds-badge",{"label":[1537],"variant":[513],"tone":[513],"typography":[513]},null,{"label":[{"labelChanged":0}]}]]],["p-3bb26611",[[257,"mds-input-tip-item",{"variant":[513],"expanded":[1540]},null,{"expanded":[{"handleEcpandedChanged":0}]}],[257,"mds-input-tip",{"active":[516],"position":[513]}]]],["p-c89c2e30",[[1,"mds-progress",{"progress":[2],"direction":[513],"variant":[513],"typography":[1],"size":[513],"steps":[1],"leftOut":[32]},null,{"steps":[{"stepsChanged":0}],"aria-hidden":[{"ariaHiddenChanged":0}]}],[1,"mds-radial-progress",{"progress":[2],"icon":[513],"typography":[513],"variant":[513],"animatedProgress":[32]},null,{"progress":[{"onProgressChange":0}]}]]],["p-8c66c761",[[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],"sliderSlides":[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}]}]]]]'),e))));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e,d as t,h as r,e as i,g as o}from"./p-CPRkNQdE.js";import{c as a}from"./p-ChV9xqsO.js";import{h as n}from"./p-AEckDMXh.js";import{L as d}from"./p-BmT_DEV2.js";import{c as s}from"./p-D8eZRaSQ.js";import"./p-C25F_FlB.js";var l={expand:"Ανάπτυξη {{ label }}",collapse:"Σύμπτυξη {{ label }}"},c={expand:"Expand {{ label }}",collapse:"Collapse {{ label }}"},g={expand:"Expandir {{ label }}",collapse:"Contraer {{ label }}"},m={expand:"Espandi {{ label }}",collapse:"Contrai {{ label }}"};const h=class{constructor(r){e(this,r),this.expandEvent=t(this,"mdsTreeItemExpand",7),this.collapsedEvent=t(this,"mdsTreeItemCollapse",7),this.hasActions=!1,this.hasChildren=!1,this.t=new d({el:l,en:c,es:g,it:m}),this.truncate="word",this.checkChildrenTransitionEnd=()=>{this.childrenElement.classList.contains("children--expanded")||this.childrenElement.classList.add("children--hidden")},this.updateToggleIcon=()=>{this.currentToggleIcon="folder"!==this.toggle?'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M10 6L8.59 7.41L13.17 12l-4.58 4.59L10 18l6-6z"/></svg>':this.expanded?'<svg xmlns="http://www.w3.org/2000/svg" id="mdi-folder-open" viewBox="0 0 24 24"><path d="M19,20H4C2.89,20 2,19.1 2,18V6C2,4.89 2.89,4 4,4H10L12,6H19A2,2 0 0,1 21,8H21L4,8V18L6.14,10H23.21L20.93,18.5C20.7,19.37 19.92,20 19,20Z" /></svg>':'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M10 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2h-8l-2-2z"/></svg>'},this.onClick=()=>{!this.async||this.expanded?this.updateToggle():this.idle()},this.idle=()=>{this.await=!0,this.expandEvent.emit({element:this.host})},this.updateToggle=()=>{this.expanded=!this.expanded,this.updateToggleIcon()},this.updateCssCustomProperty=()=>{const e=window.getComputedStyle(this.host);this.cssToggleChildrenDuration=e.getPropertyValue("--mds-tree-item-transition-duration")},this.resolveActions=()=>{var e;const t=this.host.closest("mds-tree-item[actions], mds-tree[actions]");this.resolvedActions=null!==(e=null==t?void 0:t.getAttribute("actions"))&&void 0!==e?e:"auto"},this.expandedState=()=>this.hasChildren||this.async?String(!!this.expanded):void 0,this.onActionSlotChange=()=>{this.hasActions=n(this.host,"action")},this.updateHasChildren=()=>{this.hasChildren=!!this.host.querySelector("mds-tree-item")}}handleIconChange(){this.updateToggleIcon()}handleExpandedChange(e){var t;this.updateToggleIcon(),e?null===(t=this.childrenElement)||void 0===t||t.classList.remove("children--hidden"):(this.updateCssCustomProperty(),this.toggleChildrenTimer=setTimeout((()=>{clearTimeout(this.toggleChildrenTimer),this.collapsedEvent.emit({element:this.host})}),s(this.cssToggleChildrenDuration,0)))}async expand(){this.expanded=!0,this.await=!1,this.updateToggleIcon()}handleActionsChange(){this.resolveActions()}async refreshActions(){this.resolveActions()}componentWillLoad(){this.updateToggleIcon(),this.resolveActions(),this.hasActions=n(this.host,"action"),this.updateHasChildren()}componentDidLoad(){var e;this.updateCssCustomProperty(),this.childrenElement=null===(e=this.host.shadowRoot)||void 0===e?void 0:e.querySelector(".children"),this.childrenElement.addEventListener("transitionend",this.checkChildrenTransitionEnd)}disconnectedCallback(){this.childrenElement.removeEventListener("transitionend",this.checkChildrenTransitionEnd)}render(){return r(i,{key:"735098e78ac200244db7f011e0d60f5111324af1","resolved-actions":this.resolvedActions,role:"listitem"},r("div",{key:"c416d0e4ced03af6ea187fe85dd99edd1634f7de",class:a("header",this.hasChildren&&"header--has-children")},r("div",{key:"07952207361f352ad77724a181d1177a61aedfe7",class:"tree-node"},r("div",{key:"a6a3b6cfadd34471fcc0236e37653008b53a3c6b",class:"tree-branch"}),r("div",{key:"ed2ace03fa2e4d94994d35c66d7083a02ddd85b3",class:"tree-dot"})),r("div",{key:"3f5dd3c32641cd32157e1ad9ca61b9653719e991",class:"toggle-icon"},r("mds-button",{key:"a24fe48961109b728eafecf0fd1a95debfd6dc1c","aria-expanded":this.expandedState(),await:this.await,onClick:this.onClick,icon:this.await?void 0:this.currentToggleIcon,title:this.t.get(this.expanded?"collapse":"expand",{label:this.label}),variant:"dark",tone:"text",size:"sm"})),r("div",{key:"2508c264bb305a850f5de7f5338a93d2b7256812",class:"title"},r("mds-button",{key:"a700b659554c64c9d1ac43de263630d403b923e2","aria-expanded":this.expandedState(),class:a("label-action",this.await&&"label-action--await"),disabled:this.await,icon:this.icon,onClick:this.onClick,variant:"dark",tone:"text",truncate:this.truncate,label:this.label}),r("div",{key:"875dc79ae0953f8f2ad24c1680fbf2f31e6b5392",class:a("actions-container",this.hasActions&&"actions-container--has-actions"),part:"actions-container"},r("div",{key:"a27e94d38d41a1ce1146fd1f3f9cd4ade4ce7e3b",class:"actions",part:"actions-list"},r("slot",{key:"384a111728b3fb61d6444c34d53781e9d5898135",name:"action",onSlotchange:this.onActionSlotChange}))))),r("div",{key:"2303bbbd30f35902771fdb9c877e205698c1ea64",class:a("children",this.hasChildren&&"children--has-children",this.expanded&&"children--expanded"),role:this.hasChildren?"list":void 0},r("slot",{key:"03b549736e3f0dfcfdd72cd9793c0fb475c8b409",onSlotchange:this.updateHasChildren})))}get host(){return o(this)}static get watchers(){return{toggle:[{handleIconChange:0}],expanded:[{handleExpandedChange:0}],actions:[{handleActionsChange:0}]}}};h.style='@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),mds-button:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}@container style(--mds-tree-branch-use-rounded-border:true){:host{--mds-tree-branch-border-radius:var(--private-tree-item-branch-border-radius)}}@container style(--mds-tree-branch-use-rounded-border:false){:host{--mds-tree-branch-border-radius:0px}}:host{--mds-tree-item-actions-border-radius:var(--mds-tree-actions-border-radius);--mds-tree-item-actions-gap:var(--mds-tree-actions-gap);--mds-tree-item-branch-border-color:var(--mds-tree-branch-border-color);--mds-tree-item-branch-border-radius:var(--mds-tree-branch-border-radius,var(--private-tree-item-branch-border-radius));--mds-tree-item-branch-border-size:var(--mds-tree-branch-border-size);--mds-tree-item-branch-dot-default-color:var(--mds-tree-branch-dot-default-color);--mds-tree-item-branch-dot-expanded-color:var(--mds-tree-branch-dot-expanded-color);--mds-tree-item-label-default-background:var(--mds-tree-label-default-background);--mds-tree-item-label-hover-background:var(--mds-tree-label-hover-background);--mds-tree-item-label-icon-default-color:var(--mds-tree-label-icon-default-color);--mds-tree-item-label-icon-hover-color:var(--mds-tree-label-icon-hover-color);--mds-tree-item-line-clamp:var(--mds-tree-line-clamp);--mds-tree-item-toggle-gap:var(--mds-tree-toggle-gap,calc(var(--spacing,.0025rem)*100));--mds-tree-item-toggle-icon-async-background:var(--mds-tree-toggle-icon-async-background);--mds-tree-item-toggle-icon-async-color:var(--mds-tree-toggle-icon-async-color);--mds-tree-item-toggle-icon-chevron-default-background:var(--mds-tree-toggle-icon-chevron-default-background);--mds-tree-item-toggle-icon-chevron-default-color:var(--mds-tree-toggle-icon-chevron-default-color);--mds-tree-item-toggle-icon-chevron-expanded-background:var(--mds-tree-toggle-icon-chevron-expanded-background,var(--mds-tree-item-toggle-icon-chevron-default-background));--mds-tree-item-toggle-icon-chevron-expanded-color:var(--mds-tree-toggle-icon-chevron-expanded-color,var(--mds-tree-item-toggle-icon-chevron-default-color));--mds-tree-item-toggle-icon-folder-default-background:var(--mds-tree-toggle-icon-folder-default-background);--mds-tree-item-toggle-icon-folder-default-color:var(--mds-tree-toggle-icon-folder-default-color);--mds-tree-item-toggle-icon-folder-expanded-background:var(--mds-tree-item-toggle-icon-folder-default-background);--mds-tree-item-toggle-icon-folder-expanded-color:var(--mds-tree-toggle-icon-folder-expanded-color,var(--mds-tree-item-toggle-icon-folder-default-color));--mds-tree-item-toggle-icon-position-right-default-background:var(--mds-tree-toggle-icon-position-right-default-background);--mds-tree-item-toggle-icon-position-right-default-color:var(--mds-tree-toggle-icon-position-right-default-color);--mds-tree-item-toggle-icon-position-right-expanded-background:var(--mds-tree-toggle-icon-position-right-expanded-background);--mds-tree-item-toggle-icon-position-right-expanded-color:var(--mds-tree-toggle-icon-position-right-expanded-color);--mds-tree-item-toggle-size:var(--mds-tree-toggle-size);--mds-tree-item-transition-duration:var(--mds-tree-transition-duration);--mds-tree-item-transition-timing-function:var(--mds-tree-transition-timing-function);--mds-tree-item-icon-background-color:var(--mds-tree-item-toggle-icon-chevron-default-background);--mds-tree-item-icon-color:var(--mds-tree-item-toggle-icon-chevron-default-color);--header-gap:var(--mds-tree-item-toggle-gap);--private-tree-item-branch-border-radius:min(var(--magma-radius-lg,var(--radius-squircle-lg,28px)),var(--magma-corner-cap,.5) * var(--mds-tree-item-toggle-size));display:grid;transition-duration:var(--mds-tree-item-transition-duration);transition-timing-function:var(--mds-tree-item-transition-timing-function)}.header{--offset:calc(var(--mds-tree-item-toggle-size) + var(--header-gap));align-items:flex-start;gap:var(--header-gap);position:relative;z-index:1}.header,.title{display:flex;min-width:0}.title{align-items:stretch;flex-grow:1;gap:calc(var(--spacing,.0025rem)*200);justify-content:space-between}.label-action{--mds-button-line-clamp:var(--mds-tree-item-line-clamp);--padding:calc(var(--spacing,.0025rem)*100);background-color:var(--mds-tree-item-label-default-background);border-radius:min(var(--magma-radius-lg,var(--radius-squircle-lg,28px)),var(--magma-corner-cap,.5) * calc(var(--spacing,.0025rem)*900));fill:var(--mds-tree-item-label-icon-default-color);flex-grow:1;justify-content:flex-start;margin-left:calc(var(--padding)*-1);padding-left:var(--padding);padding-right:var(--padding)}.label-action:hover{background-color:var(--mds-tree-item-label-hover-background);fill:var(--mds-tree-item-label-icon-hover-color)}.actions-container{--duration-300:.3s;--ease:var(--ease-in-out-expo,cubic-bezier(1,0,0,1));border-radius:var(--mds-tree-item-actions-border-radius);corner-shape:var(--magma-corner-shape,squircle);interpolate-size:allow-keywords;align-items:center;display:none;justify-content:flex-start;min-width:0;overflow:hidden;transition-behavior:allow-discrete;transition-duration:var(--duration-300,.3s);transition-property:min-width,width,overflow;transition-timing-function:var(--ease);width:0}.actions-container--has-actions{display:flex}.actions{border-radius:var(--mds-tree-item-actions-border-radius);corner-shape:var(--magma-corner-shape,squircle);align-items:center;display:inline-flex;flex-shrink:0;gap:var(--mds-tree-item-actions-gap);pointer-events:none;transform:scale(0);transition-duration:var(--duration-300,.3s);transition-property:transform;transition-timing-function:var(--ease)}.header:focus-within .actions,.header:hover .actions,:host([resolved-actions=visible]) .actions-container{pointer-events:auto}.header:focus-within .actions-container,.header:hover .actions-container,:host([resolved-actions=visible]) .actions-container{animation:toggleOverflow var(--duration-300,.3s) forwards;min-width:fit-content;width:fit-content}.header:focus-within .actions,.header:hover .actions,:host([resolved-actions=visible]) .actions{transform:scale(1)}.children{--mds-tree-item-children-padding-left:calc(var(--mds-tree-item-toggle-size)/2 - var(--mds-tree-item-branch-border-size)/2);interpolate-size:allow-keywords;display:flex;flex-direction:column;height:0;overflow:clip;padding-left:var(--mds-tree-item-children-padding-left);position:relative;transform:translateY(calc(var(--mds-tree-item-toggle-size)/2*-1));transition-duration:var(--mds-tree-item-transition-duration);transition-property:height,transform,visibility;transition-timing-function:var(--mds-tree-item-transition-timing-function);visibility:hidden;z-index:0}.children--expanded{animation:toggleOverflow var(--mds-tree-item-transition-duration) forwards;animation-timing-function:var(--mds-tree-item-transition-timing-function);display:flex;height:auto;transform:translateY(0);visibility:inherit}.children--empty,.children--hidden{display:none}@keyframes toggleOverflow{99.99%{overflow:hidden}to{overflow:visible}}@keyframes toggleDisplay{99.99%{display:flex}to{display:none}}.tree-node{--middle-pos-x:calc(50% - var(--mds-tree-item-branch-border-size)/2);align-items:center;box-sizing:border-box;display:inline-flex;flex-shrink:0;height:var(--mds-tree-item-toggle-size);justify-content:center;pointer-events:none;position:relative;width:var(--mds-tree-item-toggle-size);z-index:0}.tree-branch{--pos-y:calc(calc(var(--mds-tree-item-toggle-size) / 2 + var(--mds-tree-item-branch-border-radius,var(--magma-radius-lg,var(--radius-squircle-lg,28px)))) * -1);--tree-height:calc(var(--mds-tree-item-toggle-size) + var(--mds-tree-item-branch-border-radius,var(--magma-radius-lg,var(--radius-squircle-lg,28px))) + var(--mds-tree-item-branch-border-size) / 2);--tree-width:calc(var(--mds-tree-item-toggle-size)/2);border-color:var(--mds-tree-item-branch-border-color);border-radius:0 0 0 var(--mds-tree-item-branch-border-radius,var(--magma-radius-lg,var(--radius-squircle-lg,28px)));border-style:solid;border-width:0 0 var(--mds-tree-item-branch-border-size) var(--mds-tree-item-branch-border-size);box-sizing:border-box;corner-shape:var(--magma-corner-shape,squircle);display:flex;height:var(--tree-height);inset:0;position:absolute;transform:translateY(var(--pos-y));width:calc(var(--mds-tree-item-toggle-size)/2);z-index:1}:host(:first-child) .tree-branch{--pos-y:calc(var(--mds-tree-item-toggle-size)/2*-1);--tree-height:calc(var(--mds-tree-item-toggle-size) + var(--mds-tree-item-branch-border-size)/2)}.tree-dot{--size:calc(var(--spacing,.0025rem)*300 + var(--mds-tree-item-branch-border-size)*2);background-color:var(--mds-tree-item-branch-border-color);border-radius:var(--size);display:none;height:var(--size);position:relative;width:var(--size)}.header--has-children .tree-dot{display:inline-flex}.header:not(.header--has-children) .tree-node .tree-branch{width:calc(var(--mds-tree-item-toggle-size) - var(--header-gap))}:host(:not(:last-child)) .header--has-children .tree-node:after{--size:calc(calc(var(--mds-tree-item-toggle-size) / 2) + var(--mds-tree-item-branch-border-radius,var(--magma-radius-lg,var(--radius-squircle-lg,28px))));--pos-y:calc(var(--size)/2);border-color:var(--mds-tree-item-branch-border-color);border-radius:0 0 0 var(--mds-tree-item-branch-border-radius,var(--magma-radius-lg,var(--radius-squircle-lg,28px)));border-style:solid;border-width:0 0 var(--mds-tree-item-branch-border-size) var(--mds-tree-item-branch-border-size);box-sizing:border-box;content:"";corner-shape:var(--magma-corner-shape,squircle);display:flex;height:var(--size);inset:0;position:absolute;transform:translateY(var(--pos-y));width:var(--mds-tree-item-branch-border-size);z-index:1}:host(:not(:last-child)) .children--has-children:before{border-left:var(--mds-tree-item-branch-border-size) solid var(--mds-tree-item-branch-border-color);content:"";display:flex;height:calc(100% + var(--mds-tree-item-toggle-size));left:0;position:absolute;top:calc(var(--mds-tree-item-toggle-size)*-1)}.tree-dot:after{--pos-y:calc(var(--size)/2);background-color:var(--mds-tree-item-branch-border-color);box-sizing:border-box;content:"";display:inline-flex;height:calc(var(--size)/2);inset:0 50% 0 0;position:absolute;transform:translate(calc(var(--pos-y) - var(--mds-tree-item-branch-border-size)/2),var(--pos-y));transition-duration:var(--mds-tree-item-transition-duration);transition-property:height;transition-timing-function:var(--mds-tree-item-transition-timing-function);width:var(--mds-tree-item-branch-border-size);z-index:1}:host([expanded]) .tree-dot:after{height:calc(var(--size) + var(--mds-tree-item-branch-border-size))}:host([depth="0"]) .children--has-children .tree-branch,:host([depth="0"]) .children--has-children:before,:host([depth="0"]) .header--has-children .tree-node:after,:host([depth="0"]) .tree-node .tree-branch,:host([depth="0"]) .tree-node:before{display:none}.toggle-icon{align-items:center;align-self:center;display:inline-flex;flex-shrink:0;height:var(--mds-tree-item-toggle-size);justify-content:center;margin-left:calc(var(--offset)*-1);position:relative;transform:rotate(0);transition-duration:var(--mds-tree-item-transition-duration);transition-property:transform;transition-timing-function:var(--mds-tree-item-transition-timing-function);width:var(--mds-tree-item-toggle-size);z-index:1}.toggle-icon mds-button{--size:calc(var(--spacing,.0025rem)*600);align-self:center;background-color:var(--mds-tree-item-icon-background-color);border:0;border-radius:var(--mds-tree-item-toggle-size);color:var(--mds-tree-item-icon-color);fill:var(--mds-tree-item-icon-color);height:var(--size);min-height:var(--size);min-width:var(--size);overflow:hidden;width:var(--size)}.toggle-icon mds-button[await]{background-color:var(--mds-tree-item-toggle-icon-async-background);color:var(--mds-tree-item-toggle-icon-async-color)}:host([toggle=chevron]) .toggle-icon{--mds-tree-item-icon-background-color:var(--mds-tree-item-toggle-icon-chevron-default-background);--mds-tree-item-icon-color:var(--mds-tree-item-toggle-icon-chevron-default-color)}:host([expanded][toggle=chevron]) .toggle-icon{--mds-tree-item-icon-background-color:var(--mds-tree-item-toggle-icon-chevron-expanded-background);--mds-tree-item-icon-color:var(--mds-tree-item-toggle-icon-chevron-expanded-color)}:host([toggle=folder][toggle-position=left]) .toggle-icon mds-button{box-shadow:0 calc(var(--spacing,.0025rem)*25) 0 0 var(--mds-tree-item-branch-border-color)}:host([toggle=folder]) .toggle-icon mds-button{--size:auto;border-radius:var(--magma-radius-3xs,var(--radius-squircle-3xs,6px));padding:calc(var(--spacing,.0025rem)*25) calc(var(--spacing,.0025rem)*50)}:host([toggle=folder]) .toggle-icon{--mds-tree-item-icon-background-color:var(--mds-tree-item-toggle-icon-folder-default-background);--mds-tree-item-icon-color:var(--mds-tree-item-toggle-icon-folder-default-color)}:host([toggle=folder][expanded]) .toggle-icon{--mds-tree-item-icon-background-color:var(--mds-tree-item-toggle-icon-folder-expanded-background);--mds-tree-item-icon-color:var(--mds-tree-item-toggle-icon-folder-expanded-color)}:host([toggle-position=right]) .toggle-icon{--mds-tree-item-icon-background-color:var(--mds-tree-item-toggle-icon-position-right-default-background);--mds-tree-item-icon-color:var(--mds-tree-item-toggle-icon-position-right-default-color);background-color:#0000;order:1}:host([expanded][toggle-position=right]) .toggle-icon{--mds-tree-item-icon-background-color:var(--mds-tree-item-toggle-icon-position-right-expanded-background);--mds-tree-item-icon-color:var(--mds-tree-item-toggle-icon-position-right-expanded-color)}:host([expanded][toggle-position=left][toggle=chevron]) .toggle-icon{transform:rotate(90deg)}.header:not(.header--has-children) .toggle-icon{display:none}:host([toggle-position=left]) .toggle-icon{order:0}:host([toggle-position=right]) .header--has-children .title{margin-right:var(--offset)}:host([toggle-position=left][toggle=chevron][expanded]) .toggle-icon{transform:rotate(90deg)}:host([toggle-position=left][toggle=chevron]:not([expanded])) .toggle-icon{transform:rotate(0)}:host([toggle=chevron][toggle-position=right]) .toggle-icon{transform:rotate(90deg)}:host([toggle=chevron][expanded][toggle-position=right]) .toggle-icon{transform:rotate(270deg)}:host([toggle=chevron][toggle-position=right]) .toggle-icon--dot,:host([toggle=folder][toggle-position=right]) .toggle-icon--dot{transform:rotate(0)scale(.825)}:host([toggle=chevron][toggle-position=right]) .toggle-icon,:host([toggle=folder][toggle-position=right]) .toggle-icon{background-color:#0000;fill:var(--mds-tree-item-branch-dot-default-color)}:host([toggle=chevron][expanded][toggle-position=right]) .toggle-icon,:host([toggle=folder][expanded][toggle-position=right]) .toggle-icon{background-color:#0000;fill:var(--mds-tree-item-branch-dot-expanded-color)}:host([appearance=none]) .header{--offset:0;gap:0}:host([appearance=none]) .tree-dot,:host([appearance=none]) .tree-node,:host([appearance=none]:not(:last-child)) .children--has-children:before{display:none}:host([appearance=none]) .label-action{--padding:calc(var(--spacing,.0025rem)*200);margin-left:0;padding-left:var(--padding);padding-right:var(--padding)}:host([appearance=none][toggle-position=left]) .children{padding-left:calc(var(--header-gap)*2 + var(--mds-tree-item-branch-border-size) + var(--mds-tree-item-children-padding-left)*2)}:host([appearance=none][toggle-position=right]) .children{padding-left:var(--mds-tree-item-children-padding-left)}';export{h as mds_tree_item}
|
|
1
|
+
import{r as e,d as t,h as r,e as i,g as o}from"./p-CPRkNQdE.js";import{c as a}from"./p-ChV9xqsO.js";import{h as n}from"./p-AEckDMXh.js";import{L as d}from"./p-BmT_DEV2.js";import{c as s}from"./p-CWk1SCJg.js";import"./p-C25F_FlB.js";var l={expand:"Ανάπτυξη {{ label }}",collapse:"Σύμπτυξη {{ label }}"},c={expand:"Expand {{ label }}",collapse:"Collapse {{ label }}"},g={expand:"Expandir {{ label }}",collapse:"Contraer {{ label }}"},m={expand:"Espandi {{ label }}",collapse:"Contrai {{ label }}"};const h=class{constructor(r){e(this,r),this.expandEvent=t(this,"mdsTreeItemExpand",7),this.collapsedEvent=t(this,"mdsTreeItemCollapse",7),this.hasActions=!1,this.hasChildren=!1,this.t=new d({el:l,en:c,es:g,it:m}),this.truncate="word",this.checkChildrenTransitionEnd=()=>{this.childrenElement.classList.contains("children--expanded")||this.childrenElement.classList.add("children--hidden")},this.updateToggleIcon=()=>{this.currentToggleIcon="folder"!==this.toggle?'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M10 6L8.59 7.41L13.17 12l-4.58 4.59L10 18l6-6z"/></svg>':this.expanded?'<svg xmlns="http://www.w3.org/2000/svg" id="mdi-folder-open" viewBox="0 0 24 24"><path d="M19,20H4C2.89,20 2,19.1 2,18V6C2,4.89 2.89,4 4,4H10L12,6H19A2,2 0 0,1 21,8H21L4,8V18L6.14,10H23.21L20.93,18.5C20.7,19.37 19.92,20 19,20Z" /></svg>':'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M10 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2h-8l-2-2z"/></svg>'},this.onClick=()=>{!this.async||this.expanded?this.updateToggle():this.idle()},this.idle=()=>{this.await=!0,this.expandEvent.emit({element:this.host})},this.updateToggle=()=>{this.expanded=!this.expanded,this.updateToggleIcon()},this.updateCssCustomProperty=()=>{const e=window.getComputedStyle(this.host);this.cssToggleChildrenDuration=e.getPropertyValue("--mds-tree-item-transition-duration")},this.resolveActions=()=>{var e;const t=this.host.closest("mds-tree-item[actions], mds-tree[actions]");this.resolvedActions=null!==(e=null==t?void 0:t.getAttribute("actions"))&&void 0!==e?e:"auto"},this.expandedState=()=>this.hasChildren||this.async?String(!!this.expanded):void 0,this.onActionSlotChange=()=>{this.hasActions=n(this.host,"action")},this.updateHasChildren=()=>{this.hasChildren=!!this.host.querySelector("mds-tree-item")}}handleIconChange(){this.updateToggleIcon()}handleExpandedChange(e){var t;this.updateToggleIcon(),e?null===(t=this.childrenElement)||void 0===t||t.classList.remove("children--hidden"):(this.updateCssCustomProperty(),this.toggleChildrenTimer=setTimeout((()=>{clearTimeout(this.toggleChildrenTimer),this.collapsedEvent.emit({element:this.host})}),s(this.cssToggleChildrenDuration,0)))}async expand(){this.expanded=!0,this.await=!1,this.updateToggleIcon()}handleActionsChange(){this.resolveActions()}async refreshActions(){this.resolveActions()}componentWillLoad(){this.updateToggleIcon(),this.resolveActions(),this.hasActions=n(this.host,"action"),this.updateHasChildren()}componentDidLoad(){var e;this.updateCssCustomProperty(),this.childrenElement=null===(e=this.host.shadowRoot)||void 0===e?void 0:e.querySelector(".children"),this.childrenElement.addEventListener("transitionend",this.checkChildrenTransitionEnd)}disconnectedCallback(){this.childrenElement.removeEventListener("transitionend",this.checkChildrenTransitionEnd)}render(){return r(i,{key:"735098e78ac200244db7f011e0d60f5111324af1","resolved-actions":this.resolvedActions,role:"listitem"},r("div",{key:"c416d0e4ced03af6ea187fe85dd99edd1634f7de",class:a("header",this.hasChildren&&"header--has-children")},r("div",{key:"07952207361f352ad77724a181d1177a61aedfe7",class:"tree-node"},r("div",{key:"a6a3b6cfadd34471fcc0236e37653008b53a3c6b",class:"tree-branch"}),r("div",{key:"ed2ace03fa2e4d94994d35c66d7083a02ddd85b3",class:"tree-dot"})),r("div",{key:"3f5dd3c32641cd32157e1ad9ca61b9653719e991",class:"toggle-icon"},r("mds-button",{key:"a24fe48961109b728eafecf0fd1a95debfd6dc1c","aria-expanded":this.expandedState(),await:this.await,onClick:this.onClick,icon:this.await?void 0:this.currentToggleIcon,title:this.t.get(this.expanded?"collapse":"expand",{label:this.label}),variant:"dark",tone:"text",size:"sm"})),r("div",{key:"2508c264bb305a850f5de7f5338a93d2b7256812",class:"title"},r("mds-button",{key:"a700b659554c64c9d1ac43de263630d403b923e2","aria-expanded":this.expandedState(),class:a("label-action",this.await&&"label-action--await"),disabled:this.await,icon:this.icon,onClick:this.onClick,variant:"dark",tone:"text",truncate:this.truncate,label:this.label}),r("div",{key:"875dc79ae0953f8f2ad24c1680fbf2f31e6b5392",class:a("actions-container",this.hasActions&&"actions-container--has-actions"),part:"actions-container"},r("div",{key:"a27e94d38d41a1ce1146fd1f3f9cd4ade4ce7e3b",class:"actions",part:"actions-list"},r("slot",{key:"384a111728b3fb61d6444c34d53781e9d5898135",name:"action",onSlotchange:this.onActionSlotChange}))))),r("div",{key:"2303bbbd30f35902771fdb9c877e205698c1ea64",class:a("children",this.hasChildren&&"children--has-children",this.expanded&&"children--expanded"),role:this.hasChildren?"list":void 0},r("slot",{key:"03b549736e3f0dfcfdd72cd9793c0fb475c8b409",onSlotchange:this.updateHasChildren})))}get host(){return o(this)}static get watchers(){return{toggle:[{handleIconChange:0}],expanded:[{handleExpandedChange:0}],actions:[{handleActionsChange:0}]}}};h.style='@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),mds-button:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}@container style(--mds-tree-branch-use-rounded-border:true){:host{--mds-tree-branch-border-radius:var(--private-tree-item-branch-border-radius)}}@container style(--mds-tree-branch-use-rounded-border:false){:host{--mds-tree-branch-border-radius:0px}}:host{--mds-tree-item-actions-border-radius:var(--mds-tree-actions-border-radius);--mds-tree-item-actions-gap:var(--mds-tree-actions-gap);--mds-tree-item-branch-border-color:var(--mds-tree-branch-border-color);--mds-tree-item-branch-border-radius:var(--mds-tree-branch-border-radius,var(--private-tree-item-branch-border-radius));--mds-tree-item-branch-border-size:var(--mds-tree-branch-border-size);--mds-tree-item-branch-dot-default-color:var(--mds-tree-branch-dot-default-color);--mds-tree-item-branch-dot-expanded-color:var(--mds-tree-branch-dot-expanded-color);--mds-tree-item-label-default-background:var(--mds-tree-label-default-background);--mds-tree-item-label-hover-background:var(--mds-tree-label-hover-background);--mds-tree-item-label-icon-default-color:var(--mds-tree-label-icon-default-color);--mds-tree-item-label-icon-hover-color:var(--mds-tree-label-icon-hover-color);--mds-tree-item-line-clamp:var(--mds-tree-line-clamp);--mds-tree-item-toggle-gap:var(--mds-tree-toggle-gap,calc(var(--spacing,.0025rem)*100));--mds-tree-item-toggle-icon-async-background:var(--mds-tree-toggle-icon-async-background);--mds-tree-item-toggle-icon-async-color:var(--mds-tree-toggle-icon-async-color);--mds-tree-item-toggle-icon-chevron-default-background:var(--mds-tree-toggle-icon-chevron-default-background);--mds-tree-item-toggle-icon-chevron-default-color:var(--mds-tree-toggle-icon-chevron-default-color);--mds-tree-item-toggle-icon-chevron-expanded-background:var(--mds-tree-toggle-icon-chevron-expanded-background,var(--mds-tree-item-toggle-icon-chevron-default-background));--mds-tree-item-toggle-icon-chevron-expanded-color:var(--mds-tree-toggle-icon-chevron-expanded-color,var(--mds-tree-item-toggle-icon-chevron-default-color));--mds-tree-item-toggle-icon-folder-default-background:var(--mds-tree-toggle-icon-folder-default-background);--mds-tree-item-toggle-icon-folder-default-color:var(--mds-tree-toggle-icon-folder-default-color);--mds-tree-item-toggle-icon-folder-expanded-background:var(--mds-tree-item-toggle-icon-folder-default-background);--mds-tree-item-toggle-icon-folder-expanded-color:var(--mds-tree-toggle-icon-folder-expanded-color,var(--mds-tree-item-toggle-icon-folder-default-color));--mds-tree-item-toggle-icon-position-right-default-background:var(--mds-tree-toggle-icon-position-right-default-background);--mds-tree-item-toggle-icon-position-right-default-color:var(--mds-tree-toggle-icon-position-right-default-color);--mds-tree-item-toggle-icon-position-right-expanded-background:var(--mds-tree-toggle-icon-position-right-expanded-background);--mds-tree-item-toggle-icon-position-right-expanded-color:var(--mds-tree-toggle-icon-position-right-expanded-color);--mds-tree-item-toggle-size:var(--mds-tree-toggle-size);--mds-tree-item-transition-duration:var(--mds-tree-transition-duration);--mds-tree-item-transition-timing-function:var(--mds-tree-transition-timing-function);--mds-tree-item-icon-background-color:var(--mds-tree-item-toggle-icon-chevron-default-background);--mds-tree-item-icon-color:var(--mds-tree-item-toggle-icon-chevron-default-color);--header-gap:var(--mds-tree-item-toggle-gap);--private-tree-item-branch-border-radius:min(var(--magma-radius-lg,var(--radius-squircle-lg,28px)),var(--magma-corner-cap,.5) * var(--mds-tree-item-toggle-size));display:grid;transition-duration:var(--mds-tree-item-transition-duration);transition-timing-function:var(--mds-tree-item-transition-timing-function)}.header{--offset:calc(var(--mds-tree-item-toggle-size) + var(--header-gap));align-items:flex-start;gap:var(--header-gap);position:relative;z-index:1}.header,.title{display:flex;min-width:0}.title{align-items:stretch;flex-grow:1;gap:calc(var(--spacing,.0025rem)*200);justify-content:space-between}.label-action{--mds-button-line-clamp:var(--mds-tree-item-line-clamp);--padding:calc(var(--spacing,.0025rem)*100);background-color:var(--mds-tree-item-label-default-background);border-radius:min(var(--magma-radius-lg,var(--radius-squircle-lg,28px)),var(--magma-corner-cap,.5) * calc(var(--spacing,.0025rem)*900));fill:var(--mds-tree-item-label-icon-default-color);flex-grow:1;justify-content:flex-start;margin-left:calc(var(--padding)*-1);padding-left:var(--padding);padding-right:var(--padding)}.label-action:hover{background-color:var(--mds-tree-item-label-hover-background);fill:var(--mds-tree-item-label-icon-hover-color)}.actions-container{--duration-300:.3s;--ease:var(--ease-in-out-expo,cubic-bezier(1,0,0,1));border-radius:var(--mds-tree-item-actions-border-radius);corner-shape:var(--magma-corner-shape,squircle);interpolate-size:allow-keywords;align-items:center;display:none;justify-content:flex-start;min-width:0;overflow:hidden;transition-behavior:allow-discrete;transition-duration:var(--duration-300,.3s);transition-property:min-width,width,overflow;transition-timing-function:var(--ease);width:0}.actions-container--has-actions{display:flex}.actions{border-radius:var(--mds-tree-item-actions-border-radius);corner-shape:var(--magma-corner-shape,squircle);align-items:center;display:inline-flex;flex-shrink:0;gap:var(--mds-tree-item-actions-gap);pointer-events:none;transform:scale(0);transition-duration:var(--duration-300,.3s);transition-property:transform;transition-timing-function:var(--ease)}.header:focus-within .actions,.header:hover .actions,:host([resolved-actions=visible]) .actions-container{pointer-events:auto}.header:focus-within .actions-container,.header:hover .actions-container,:host([resolved-actions=visible]) .actions-container{animation:toggleOverflow var(--duration-300,.3s) forwards;min-width:fit-content;width:fit-content}.header:focus-within .actions,.header:hover .actions,:host([resolved-actions=visible]) .actions{transform:scale(1)}.children{--mds-tree-item-children-padding-left:calc(var(--mds-tree-item-toggle-size)/2 - var(--mds-tree-item-branch-border-size)/2);interpolate-size:allow-keywords;display:flex;flex-direction:column;height:0;overflow:clip;padding-left:var(--mds-tree-item-children-padding-left);position:relative;transform:translateY(calc(var(--mds-tree-item-toggle-size)/2*-1));transition-duration:var(--mds-tree-item-transition-duration);transition-property:height,transform,visibility;transition-timing-function:var(--mds-tree-item-transition-timing-function);visibility:hidden;z-index:0}.children--expanded{animation:toggleOverflow var(--mds-tree-item-transition-duration) forwards;animation-timing-function:var(--mds-tree-item-transition-timing-function);display:flex;height:auto;transform:translateY(0);visibility:inherit}.children--empty,.children--hidden{display:none}@keyframes toggleOverflow{99.99%{overflow:hidden}to{overflow:visible}}@keyframes toggleDisplay{99.99%{display:flex}to{display:none}}.tree-node{--middle-pos-x:calc(50% - var(--mds-tree-item-branch-border-size)/2);align-items:center;box-sizing:border-box;display:inline-flex;flex-shrink:0;height:var(--mds-tree-item-toggle-size);justify-content:center;pointer-events:none;position:relative;width:var(--mds-tree-item-toggle-size);z-index:0}.tree-branch{--pos-y:calc(calc(var(--mds-tree-item-toggle-size) / 2 + var(--mds-tree-item-branch-border-radius,var(--magma-radius-lg,var(--radius-squircle-lg,28px)))) * -1);--tree-height:calc(var(--mds-tree-item-toggle-size) + var(--mds-tree-item-branch-border-radius,var(--magma-radius-lg,var(--radius-squircle-lg,28px))) + var(--mds-tree-item-branch-border-size) / 2);--tree-width:calc(var(--mds-tree-item-toggle-size)/2);border-color:var(--mds-tree-item-branch-border-color);border-radius:0 0 0 var(--mds-tree-item-branch-border-radius,var(--magma-radius-lg,var(--radius-squircle-lg,28px)));border-style:solid;border-width:0 0 var(--mds-tree-item-branch-border-size) var(--mds-tree-item-branch-border-size);box-sizing:border-box;corner-shape:var(--magma-corner-shape,squircle);display:flex;height:var(--tree-height);inset:0;position:absolute;transform:translateY(var(--pos-y));width:calc(var(--mds-tree-item-toggle-size)/2);z-index:1}:host(:first-of-type) .tree-branch{--pos-y:calc(var(--mds-tree-item-toggle-size)/2*-1);--tree-height:calc(var(--mds-tree-item-toggle-size) + var(--mds-tree-item-branch-border-size)/2)}.tree-dot{--size:calc(var(--spacing,.0025rem)*300 + var(--mds-tree-item-branch-border-size)*2);background-color:var(--mds-tree-item-branch-border-color);border-radius:var(--size);display:none;height:var(--size);position:relative;width:var(--size)}.header--has-children .tree-dot{display:inline-flex}.header:not(.header--has-children) .tree-node .tree-branch{width:calc(var(--mds-tree-item-toggle-size) - var(--header-gap))}:host(:not(:last-of-type)) .header--has-children .tree-node:after{--size:calc(calc(var(--mds-tree-item-toggle-size) / 2) + var(--mds-tree-item-branch-border-radius,var(--magma-radius-lg,var(--radius-squircle-lg,28px))));--pos-y:calc(var(--size)/2);border-color:var(--mds-tree-item-branch-border-color);border-radius:0 0 0 var(--mds-tree-item-branch-border-radius,var(--magma-radius-lg,var(--radius-squircle-lg,28px)));border-style:solid;border-width:0 0 var(--mds-tree-item-branch-border-size) var(--mds-tree-item-branch-border-size);box-sizing:border-box;content:"";corner-shape:var(--magma-corner-shape,squircle);display:flex;height:var(--size);inset:0;position:absolute;transform:translateY(var(--pos-y));width:var(--mds-tree-item-branch-border-size);z-index:1}:host(:not(:last-of-type)) .children--has-children:before{border-left:var(--mds-tree-item-branch-border-size) solid var(--mds-tree-item-branch-border-color);content:"";display:flex;height:calc(100% + var(--mds-tree-item-toggle-size));left:0;position:absolute;top:calc(var(--mds-tree-item-toggle-size)*-1)}.tree-dot:after{--pos-y:calc(var(--size)/2);background-color:var(--mds-tree-item-branch-border-color);box-sizing:border-box;content:"";display:inline-flex;height:calc(var(--size)/2);inset:0 50% 0 0;position:absolute;transform:translate(calc(var(--pos-y) - var(--mds-tree-item-branch-border-size)/2),var(--pos-y));transition-duration:var(--mds-tree-item-transition-duration);transition-property:height;transition-timing-function:var(--mds-tree-item-transition-timing-function);width:var(--mds-tree-item-branch-border-size);z-index:1}:host([expanded]) .tree-dot:after{height:calc(var(--size) + var(--mds-tree-item-branch-border-size))}:host([depth="0"]) .children--has-children .tree-branch,:host([depth="0"]) .children--has-children:before,:host([depth="0"]) .header--has-children .tree-node:after,:host([depth="0"]) .tree-node .tree-branch,:host([depth="0"]) .tree-node:before{display:none}.toggle-icon{align-items:center;align-self:center;display:inline-flex;flex-shrink:0;height:var(--mds-tree-item-toggle-size);justify-content:center;margin-left:calc(var(--offset)*-1);position:relative;transform:rotate(0);transition-duration:var(--mds-tree-item-transition-duration);transition-property:transform;transition-timing-function:var(--mds-tree-item-transition-timing-function);width:var(--mds-tree-item-toggle-size);z-index:1}.toggle-icon mds-button{--size:calc(var(--spacing,.0025rem)*600);align-self:center;background-color:var(--mds-tree-item-icon-background-color);border:0;border-radius:var(--mds-tree-item-toggle-size);color:var(--mds-tree-item-icon-color);fill:var(--mds-tree-item-icon-color);height:var(--size);min-height:var(--size);min-width:var(--size);overflow:hidden;width:var(--size)}.toggle-icon mds-button[await]{background-color:var(--mds-tree-item-toggle-icon-async-background);color:var(--mds-tree-item-toggle-icon-async-color)}:host([toggle=chevron]) .toggle-icon{--mds-tree-item-icon-background-color:var(--mds-tree-item-toggle-icon-chevron-default-background);--mds-tree-item-icon-color:var(--mds-tree-item-toggle-icon-chevron-default-color)}:host([expanded][toggle=chevron]) .toggle-icon{--mds-tree-item-icon-background-color:var(--mds-tree-item-toggle-icon-chevron-expanded-background);--mds-tree-item-icon-color:var(--mds-tree-item-toggle-icon-chevron-expanded-color)}:host([toggle=folder][toggle-position=left]) .toggle-icon mds-button{box-shadow:0 calc(var(--spacing,.0025rem)*25) 0 0 var(--mds-tree-item-branch-border-color)}:host([toggle=folder]) .toggle-icon mds-button{--size:auto;border-radius:var(--magma-radius-3xs,var(--radius-squircle-3xs,6px));padding:calc(var(--spacing,.0025rem)*25) calc(var(--spacing,.0025rem)*50)}:host([toggle=folder]) .toggle-icon{--mds-tree-item-icon-background-color:var(--mds-tree-item-toggle-icon-folder-default-background);--mds-tree-item-icon-color:var(--mds-tree-item-toggle-icon-folder-default-color)}:host([toggle=folder][expanded]) .toggle-icon{--mds-tree-item-icon-background-color:var(--mds-tree-item-toggle-icon-folder-expanded-background);--mds-tree-item-icon-color:var(--mds-tree-item-toggle-icon-folder-expanded-color)}:host([toggle-position=right]) .toggle-icon{--mds-tree-item-icon-background-color:var(--mds-tree-item-toggle-icon-position-right-default-background);--mds-tree-item-icon-color:var(--mds-tree-item-toggle-icon-position-right-default-color);background-color:#0000;order:1}:host([expanded][toggle-position=right]) .toggle-icon{--mds-tree-item-icon-background-color:var(--mds-tree-item-toggle-icon-position-right-expanded-background);--mds-tree-item-icon-color:var(--mds-tree-item-toggle-icon-position-right-expanded-color)}:host([expanded][toggle-position=left][toggle=chevron]) .toggle-icon{transform:rotate(90deg)}.header:not(.header--has-children) .toggle-icon{display:none}:host([toggle-position=left]) .toggle-icon{order:0}:host([toggle-position=right]) .header--has-children .title{margin-right:var(--offset)}:host([toggle-position=left][toggle=chevron][expanded]) .toggle-icon{transform:rotate(90deg)}:host([toggle-position=left][toggle=chevron]:not([expanded])) .toggle-icon{transform:rotate(0)}:host([toggle=chevron][toggle-position=right]) .toggle-icon{transform:rotate(90deg)}:host([toggle=chevron][expanded][toggle-position=right]) .toggle-icon{transform:rotate(270deg)}:host([toggle=chevron][toggle-position=right]) .toggle-icon--dot,:host([toggle=folder][toggle-position=right]) .toggle-icon--dot{transform:rotate(0)scale(.825)}:host([toggle=chevron][toggle-position=right]) .toggle-icon,:host([toggle=folder][toggle-position=right]) .toggle-icon{background-color:#0000;fill:var(--mds-tree-item-branch-dot-default-color)}:host([toggle=chevron][expanded][toggle-position=right]) .toggle-icon,:host([toggle=folder][expanded][toggle-position=right]) .toggle-icon{background-color:#0000;fill:var(--mds-tree-item-branch-dot-expanded-color)}:host([appearance=none]) .header{--offset:0;gap:0}:host([appearance=none]) .tree-dot,:host([appearance=none]) .tree-node,:host([appearance=none]:not(:last-of-type)) .children--has-children:before{display:none}:host([appearance=none]) .label-action{--padding:calc(var(--spacing,.0025rem)*200);margin-left:0;padding-left:var(--padding);padding-right:var(--padding)}:host([appearance=none][toggle-position=left]) .children{padding-left:calc(var(--header-gap)*2 + var(--mds-tree-item-branch-border-size) + var(--mds-tree-item-children-padding-left)*2)}:host([appearance=none][toggle-position=right]) .children{padding-left:var(--mds-tree-item-children-padding-left)}';export{h as mds_tree_item}
|