@awc-ui/core 1.1.0 → 1.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/templates/astro/package.json +2 -2
- package/bin/templates/html/index.html +3 -3
- package/bin/templates/html/package.json +2 -2
- package/bin/templates/next/package.json +3 -3
- package/bin/templates/nuxt/package.json +2 -2
- package/bin/templates/sveltekit/package.json +2 -2
- package/custom-elements.json +644 -1
- package/dist/cjs/data-elements-Cs49KP5R.js +151 -0
- package/dist/cjs/data-elements-Cs49KP5R.js.map +1 -0
- package/dist/cjs/{index-DLOFxFlM.js → index-DHpWaYWF.js} +23 -3
- package/dist/cjs/{index-DLOFxFlM.js.map → index-DHpWaYWF.js.map} +1 -1
- package/dist/cjs/{initial-motion-DVmpmKD8.js → initial-motion-COVdXmbQ.js} +3 -3
- package/dist/cjs/{initial-motion-DVmpmKD8.js.map → initial-motion-COVdXmbQ.js.map} +1 -1
- package/dist/cjs/{lazy-loading-indicator-Bgw5HXaX.js → lazy-loading-indicator-DqjeYBZo.js} +4 -4
- package/dist/cjs/{lazy-loading-indicator-Bgw5HXaX.js.map → lazy-loading-indicator-DqjeYBZo.js.map} +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/md-accordion-item.cjs.entry.js +5 -5
- package/dist/cjs/md-accordion.cjs.entry.js +2 -2
- package/dist/cjs/md-app-bar.cjs.entry.js +3 -3
- package/dist/cjs/md-area-chart.cjs.entry.js +27 -15
- package/dist/cjs/md-area-chart.cjs.entry.js.map +1 -1
- package/dist/cjs/md-autocomplete.cjs.entry.js +3 -3
- package/dist/cjs/md-avatar_2.cjs.entry.js +3 -3
- package/dist/cjs/md-badge.cjs.entry.js +4 -4
- package/dist/cjs/md-bar-chart.cjs.entry.js +27 -15
- package/dist/cjs/md-bar-chart.cjs.entry.js.map +1 -1
- package/dist/cjs/md-bottom-sheet.cjs.entry.js +6 -6
- package/dist/cjs/md-breadcrumb-item.cjs.entry.js +2 -2
- package/dist/cjs/md-breadcrumbs.cjs.entry.js +2 -2
- package/dist/cjs/md-button-group.cjs.entry.js +2 -2
- package/dist/cjs/md-button_6.cjs.entry.js +12 -12
- package/dist/cjs/md-chart-series.cjs.entry.js +122 -0
- package/dist/cjs/md-chart-series.cjs.entry.js.map +1 -0
- package/dist/cjs/md-checkbox.cjs.entry.js +5 -5
- package/dist/cjs/md-chip.cjs.entry.js +4 -4
- package/dist/cjs/md-color-picker.cjs.entry.js +3 -3
- package/dist/cjs/md-date-picker.cjs.entry.js +3 -3
- package/dist/cjs/md-dialog.cjs.entry.js +5 -5
- package/dist/cjs/md-divider.cjs.entry.js +4 -4
- package/dist/cjs/md-fab-menu-item.cjs.entry.js +4 -4
- package/dist/cjs/md-fab-menu.cjs.entry.js +5 -5
- package/dist/cjs/md-fab.cjs.entry.js +4 -4
- package/dist/cjs/md-line-chart.cjs.entry.js +31 -19
- package/dist/cjs/md-line-chart.cjs.entry.js.map +1 -1
- package/dist/cjs/md-list-item.cjs.entry.js +2 -2
- package/dist/cjs/md-list.cjs.entry.js +2 -2
- package/dist/cjs/{md-loading-indicator-BB9ghhFd.js → md-loading-indicator-Px_NR8tC.js} +4 -4
- package/dist/cjs/{md-loading-indicator-BB9ghhFd.js.map → md-loading-indicator-Px_NR8tC.js.map} +1 -1
- package/dist/cjs/md-loading-indicator.cjs.entry.js +3 -3
- package/dist/cjs/md-menu-item-group.cjs.entry.js +3 -3
- package/dist/cjs/md-menu_2.cjs.entry.js +8 -8
- package/dist/cjs/md-meter.cjs.entry.js +4 -4
- package/dist/cjs/md-multi-select.cjs.entry.js +5 -5
- package/dist/cjs/md-navigation-bar.cjs.entry.js +2 -2
- package/dist/cjs/md-navigation-rail-tab.cjs.entry.js +3 -3
- package/dist/cjs/md-navigation-rail.cjs.entry.js +4 -4
- package/dist/cjs/md-navigation-tab.cjs.entry.js +2 -2
- package/dist/cjs/md-number-field.cjs.entry.js +2 -2
- package/dist/cjs/md-organization-chart.cjs.entry.js +2 -2
- package/dist/cjs/md-otp-field.cjs.entry.js +2 -2
- package/dist/cjs/md-pie-chart.cjs.entry.js +25 -15
- package/dist/cjs/md-pie-chart.cjs.entry.js.map +1 -1
- package/dist/cjs/md-pie-slice.cjs.entry.js +59 -0
- package/dist/cjs/md-pie-slice.cjs.entry.js.map +1 -0
- package/dist/cjs/md-progress-indicator.cjs.entry.js +3 -3
- package/dist/cjs/md-rating.cjs.entry.js +4 -4
- package/dist/cjs/md-search.cjs.entry.js +4 -4
- package/dist/cjs/md-segmented-button-set.cjs.entry.js +4 -4
- package/dist/cjs/md-segmented-button.cjs.entry.js +5 -5
- package/dist/cjs/md-select-option.cjs.entry.js +3 -3
- package/dist/cjs/md-select.cjs.entry.js +5 -5
- package/dist/cjs/md-side-sheet.cjs.entry.js +6 -6
- package/dist/cjs/md-skeleton.cjs.entry.js +3 -3
- package/dist/cjs/md-slider.cjs.entry.js +2 -2
- package/dist/cjs/md-sparkline-point.cjs.entry.js +43 -0
- package/dist/cjs/md-sparkline-point.cjs.entry.js.map +1 -0
- package/dist/cjs/md-sparkline.cjs.entry.js +22 -12
- package/dist/cjs/md-sparkline.cjs.entry.js.map +1 -1
- package/dist/cjs/md-split-button.cjs.entry.js +5 -5
- package/dist/cjs/md-status-dot.cjs.entry.js +3 -3
- package/dist/cjs/md-step.cjs.entry.js +8 -8
- package/dist/cjs/md-stepper.cjs.entry.js +5 -5
- package/dist/cjs/md-sub-menu-item.cjs.entry.js +4 -4
- package/dist/cjs/md-switch.cjs.entry.js +4 -4
- package/dist/cjs/md-tab-panel.cjs.entry.js +3 -3
- package/dist/cjs/md-tab-panels.cjs.entry.js +3 -3
- package/dist/cjs/md-tab.cjs.entry.js +6 -6
- package/dist/cjs/md-table-body.cjs.entry.js +3 -3
- package/dist/cjs/md-table-cell.cjs.entry.js +4 -4
- package/dist/cjs/md-table-container.cjs.entry.js +4 -4
- package/dist/cjs/md-table-expand-toggle.cjs.entry.js +4 -4
- package/dist/cjs/md-table-foot.cjs.entry.js +3 -3
- package/dist/cjs/md-table-head.cjs.entry.js +3 -3
- package/dist/cjs/md-table-pagination.cjs.entry.js +4 -4
- package/dist/cjs/md-table-row.cjs.entry.js +6 -6
- package/dist/cjs/md-table-sort-label.cjs.entry.js +4 -4
- package/dist/cjs/md-table-toolbar.cjs.entry.js +5 -5
- package/dist/cjs/md-table.cjs.entry.js +5 -5
- package/dist/cjs/md-tabs.cjs.entry.js +4 -4
- package/dist/cjs/md-text-field.cjs.entry.js +9 -9
- package/dist/cjs/md-time-picker.cjs.entry.js +4 -4
- package/dist/cjs/md-toolbar.cjs.entry.js +5 -5
- package/dist/cjs/md-transfer-list.cjs.entry.js +3 -3
- package/dist/cjs/md3.cjs.js +2 -2
- package/dist/cjs/{overlay-lifecycle-CUc_dfNl.js → overlay-lifecycle-Bhu5zauR.js} +3 -3
- package/dist/cjs/{overlay-lifecycle-CUc_dfNl.js.map → overlay-lifecycle-Bhu5zauR.js.map} +1 -1
- package/dist/cjs/series-elements-B4T7vF5A.js +90 -0
- package/dist/cjs/series-elements-B4T7vF5A.js.map +1 -0
- package/dist/collection/collection-manifest.json +4 -1
- package/dist/collection/components/md-accordion-item/md-accordion-item.js +3 -3
- package/dist/collection/components/md-app-bar/md-app-bar.js +1 -1
- package/dist/collection/components/md-area-chart/md-area-chart.js +35 -22
- package/dist/collection/components/md-area-chart/md-area-chart.js.map +1 -1
- package/dist/collection/components/md-badge/md-badge.js +2 -2
- package/dist/collection/components/md-bar-chart/md-bar-chart.js +31 -18
- package/dist/collection/components/md-bar-chart/md-bar-chart.js.map +1 -1
- package/dist/collection/components/md-bottom-sheet/md-bottom-sheet.js +4 -4
- package/dist/collection/components/md-chart-series/md-chart-series.css +4 -0
- package/dist/collection/components/md-chart-series/md-chart-series.js +654 -0
- package/dist/collection/components/md-chart-series/md-chart-series.js.map +1 -0
- package/dist/collection/components/md-checkbox/md-checkbox.js +3 -3
- package/dist/collection/components/md-chip/md-chip.js +2 -2
- package/dist/collection/components/md-dialog/md-dialog.js +2 -2
- package/dist/collection/components/md-divider/md-divider.js +2 -2
- package/dist/collection/components/md-fab/md-fab.js +2 -2
- package/dist/collection/components/md-fab-menu/md-fab-menu.js +2 -2
- package/dist/collection/components/md-fab-menu-item/md-fab-menu-item.js +2 -2
- package/dist/collection/components/md-icon-button/md-icon-button.js +4 -4
- package/dist/collection/components/md-line-chart/md-line-chart.js +31 -18
- package/dist/collection/components/md-line-chart/md-line-chart.js.map +1 -1
- package/dist/collection/components/md-menu/md-menu.js +3 -3
- package/dist/collection/components/md-menu-item/md-menu-item.js +2 -2
- package/dist/collection/components/md-menu-item-group/md-menu-item-group.js +1 -1
- package/dist/collection/components/md-meter/md-meter.js +2 -2
- package/dist/collection/components/md-multi-select/md-multi-select.js +2 -2
- package/dist/collection/components/md-navigation-rail/md-navigation-rail.js +2 -2
- package/dist/collection/components/md-navigation-rail-tab/md-navigation-rail-tab.js +1 -1
- package/dist/collection/components/md-pie-chart/md-pie-chart.js +25 -14
- package/dist/collection/components/md-pie-chart/md-pie-chart.js.map +1 -1
- package/dist/collection/components/md-pie-slice/md-pie-slice.css +1 -0
- package/dist/collection/components/md-pie-slice/md-pie-slice.js +227 -0
- package/dist/collection/components/md-pie-slice/md-pie-slice.js.map +1 -0
- package/dist/collection/components/md-progress-indicator/md-progress-indicator.js +1 -1
- package/dist/collection/components/md-radio/md-radio.js +2 -2
- package/dist/collection/components/md-rating/md-rating.js +2 -2
- package/dist/collection/components/md-ripple/md-ripple.js +1 -1
- package/dist/collection/components/md-segmented-button/md-segmented-button.js +3 -3
- package/dist/collection/components/md-segmented-button-set/md-segmented-button-set.js +2 -2
- package/dist/collection/components/md-select/md-select.js +2 -2
- package/dist/collection/components/md-select-option/md-select-option.js +1 -1
- package/dist/collection/components/md-side-sheet/md-side-sheet.js +3 -3
- package/dist/collection/components/md-skeleton/md-skeleton.js +1 -1
- package/dist/collection/components/md-snackbar/md-snackbar.js +2 -2
- package/dist/collection/components/md-sparkline/md-sparkline.js +22 -11
- package/dist/collection/components/md-sparkline/md-sparkline.js.map +1 -1
- package/dist/collection/components/md-sparkline-point/md-sparkline-point.css +1 -0
- package/dist/collection/components/md-sparkline-point/md-sparkline-point.js +96 -0
- package/dist/collection/components/md-sparkline-point/md-sparkline-point.js.map +1 -0
- package/dist/collection/components/md-split-button/md-split-button.js +3 -3
- package/dist/collection/components/md-status-dot/md-status-dot.js +1 -1
- package/dist/collection/components/md-step/md-step.js +6 -6
- package/dist/collection/components/md-stepper/md-stepper.js +3 -3
- package/dist/collection/components/md-sub-menu-item/md-sub-menu-item.js +2 -2
- package/dist/collection/components/md-switch/md-switch.js +2 -2
- package/dist/collection/components/md-tab/md-tab.js +4 -4
- package/dist/collection/components/md-tab-panel/md-tab-panel.js +1 -1
- package/dist/collection/components/md-tab-panels/md-tab-panels.js +1 -1
- package/dist/collection/components/md-table/md-table.js +3 -3
- package/dist/collection/components/md-table-body/md-table-body.js +1 -1
- package/dist/collection/components/md-table-cell/md-table-cell.js +2 -2
- package/dist/collection/components/md-table-container/md-table-container.js +2 -2
- package/dist/collection/components/md-table-expand-toggle/md-table-expand-toggle.js +2 -2
- package/dist/collection/components/md-table-foot/md-table-foot.js +1 -1
- package/dist/collection/components/md-table-head/md-table-head.js +1 -1
- package/dist/collection/components/md-table-pagination/md-table-pagination.js +2 -2
- package/dist/collection/components/md-table-row/md-table-row.js +4 -4
- package/dist/collection/components/md-table-sort-label/md-table-sort-label.js +2 -2
- package/dist/collection/components/md-table-toolbar/md-table-toolbar.js +3 -3
- package/dist/collection/components/md-tabs/md-tabs.js +2 -2
- package/dist/collection/components/md-text-field/md-text-field.js +7 -7
- package/dist/collection/components/md-time-picker/md-time-picker.js +1 -1
- package/dist/collection/components/md-toolbar/md-toolbar.js +3 -3
- package/dist/collection/components/md-tooltip/md-tooltip.js +1 -1
- package/dist/collection/components/md-transfer-list/md-transfer-list.js +1 -1
- package/dist/collection/index.js.map +1 -1
- package/dist/collection/utils/charts/data-elements.js +138 -0
- package/dist/collection/utils/charts/data-elements.js.map +1 -0
- package/dist/collection/utils/charts/series-elements.js +82 -0
- package/dist/collection/utils/charts/series-elements.js.map +1 -0
- package/dist/components/index.js +1 -1
- package/dist/components/md-accordion-item.js +1 -1
- package/dist/components/md-accordion.js +1 -1
- package/dist/components/md-app-bar.js +1 -1
- package/dist/components/md-area-chart.js +1 -1
- package/dist/components/md-area-chart.js.map +1 -1
- package/dist/components/md-autocomplete.js +1 -1
- package/dist/components/md-avatar.js +1 -1
- package/dist/components/md-badge.js +1 -1
- package/dist/components/md-bar-chart.js +1 -1
- package/dist/components/md-bar-chart.js.map +1 -1
- package/dist/components/md-bottom-sheet.js +1 -1
- package/dist/components/md-breadcrumb-item.js +1 -1
- package/dist/components/md-breadcrumbs.js +1 -1
- package/dist/components/md-button-group.js +1 -1
- package/dist/components/md-button.js +1 -1
- package/dist/components/md-card.js +1 -1
- package/dist/components/md-chart-series.d.ts +11 -0
- package/dist/components/md-chart-series.js +2 -0
- package/dist/components/md-chart-series.js.map +1 -0
- package/dist/components/md-checkbox.js +1 -1
- package/dist/components/md-chip.js +1 -1
- package/dist/components/md-color-picker.js +1 -1
- package/dist/components/md-date-picker.js +1 -1
- package/dist/components/md-dialog.js +1 -1
- package/dist/components/md-divider.js +1 -1
- package/dist/components/md-fab-menu-item.js +1 -1
- package/dist/components/md-fab-menu.js +1 -1
- package/dist/components/md-fab.js +1 -1
- package/dist/components/md-icon-button.js +1 -1
- package/dist/components/md-line-chart.js +1 -1
- package/dist/components/md-line-chart.js.map +1 -1
- package/dist/components/md-list-item.js +1 -1
- package/dist/components/md-list.js +1 -1
- package/dist/components/md-loading-indicator.js +1 -1
- package/dist/components/md-menu-item-group.js +1 -1
- package/dist/components/md-menu-item.js +1 -1
- package/dist/components/md-menu.js +1 -1
- package/dist/components/md-meter.js +1 -1
- package/dist/components/md-multi-select.js +1 -1
- package/dist/components/md-navigation-bar.js +1 -1
- package/dist/components/md-navigation-rail-tab.js +1 -1
- package/dist/components/md-navigation-rail.js +1 -1
- package/dist/components/md-navigation-tab.js +1 -1
- package/dist/components/md-number-field.js +1 -1
- package/dist/components/md-organization-chart.js +1 -1
- package/dist/components/md-otp-field.js +1 -1
- package/dist/components/md-pie-chart.js +1 -1
- package/dist/components/md-pie-chart.js.map +1 -1
- package/dist/components/md-pie-slice.d.ts +11 -0
- package/dist/components/md-pie-slice.js +2 -0
- package/dist/components/md-pie-slice.js.map +1 -0
- package/dist/components/md-progress-indicator.js +1 -1
- package/dist/components/md-radio.js +1 -1
- package/dist/components/md-rating.js +1 -1
- package/dist/components/md-ripple.js +1 -1
- package/dist/components/md-search.js +1 -1
- package/dist/components/md-segmented-button-set.js +1 -1
- package/dist/components/md-segmented-button.js +1 -1
- package/dist/components/md-select-option.js +1 -1
- package/dist/components/md-select-option.js.map +1 -1
- package/dist/components/md-select.js +1 -1
- package/dist/components/md-side-sheet.js +1 -1
- package/dist/components/md-skeleton.js +1 -1
- package/dist/components/md-slider.js +1 -1
- package/dist/components/md-snackbar.js +1 -1
- package/dist/components/md-sparkline-point.d.ts +11 -0
- package/dist/components/md-sparkline-point.js +2 -0
- package/dist/components/md-sparkline-point.js.map +1 -0
- package/dist/components/md-sparkline.js +1 -1
- package/dist/components/md-sparkline.js.map +1 -1
- package/dist/components/md-split-button.js +1 -1
- package/dist/components/md-status-dot.js +1 -1
- package/dist/components/md-step.js +1 -1
- package/dist/components/md-stepper.js +1 -1
- package/dist/components/md-sub-menu-item.js +1 -1
- package/dist/components/md-switch.js +1 -1
- package/dist/components/md-tab-panel.js +1 -1
- package/dist/components/md-tab-panels.js +1 -1
- package/dist/components/md-tab.js +1 -1
- package/dist/components/md-tab.js.map +1 -1
- package/dist/components/md-table-body.js +1 -1
- package/dist/components/md-table-cell.js +1 -1
- package/dist/components/md-table-container.js +1 -1
- package/dist/components/md-table-expand-toggle.js +1 -1
- package/dist/components/md-table-foot.js +1 -1
- package/dist/components/md-table-head.js +1 -1
- package/dist/components/md-table-pagination.js +1 -1
- package/dist/components/md-table-pagination.js.map +1 -1
- package/dist/components/md-table-row.js +1 -1
- package/dist/components/md-table-sort-label.js +1 -1
- package/dist/components/md-table-toolbar.js +1 -1
- package/dist/components/md-table.js +1 -1
- package/dist/components/md-tabs.js +1 -1
- package/dist/components/md-text-field.js +1 -1
- package/dist/components/md-time-picker.js +1 -1
- package/dist/components/md-toolbar.js +1 -1
- package/dist/components/md-tooltip.js +1 -1
- package/dist/components/md-transfer-list.js +1 -1
- package/dist/{md3/p-BytnCy9Z.js → components/p-0hoYij4e.js} +2 -2
- package/dist/{components-csr/p-mPtoRtT7.js → components/p-8ZntJ7QX.js} +2 -2
- package/dist/components/p-BcgBd7Uo.js +2 -0
- package/dist/components/p-BcgBd7Uo.js.map +1 -0
- package/dist/components/{p-DIGH4LlS.js → p-Be_QxD6y.js} +2 -2
- package/dist/components/{p-BcOsCkxa.js → p-C9Z-3TKn.js} +2 -2
- package/dist/components/p-CGLhTKkQ.js +2 -0
- package/dist/components/p-CGLhTKkQ.js.map +1 -0
- package/dist/components/{p-CGKlSro0.js → p-CWveMYei.js} +2 -2
- package/dist/{components-csr/p-B3y4Sfu7.js → components/p-CXuNI4mJ.js} +2 -2
- package/dist/components/{p-BCAoGEfF.js → p-CjebvGxr.js} +2 -2
- package/dist/components/{p-BWCwdLDy.js → p-Cui8F6rf.js} +2 -2
- package/dist/components/{p-B9jJRlnU.js → p-D9C2BtN-.js} +2 -2
- package/dist/components/{p-AD7q8XNf.js → p-DI0ebvMQ.js} +2 -2
- package/dist/components/{p-BJAKwQqQ.js → p-DM30Y_8c.js} +2 -2
- package/dist/components/{p-CXOHmY2w.js → p-DTAVEp79.js} +2 -2
- package/dist/{components-csr/p-DQL7SnR8.js → components/p-DoQ8iQ1K.js} +2 -2
- package/dist/components/{p-CjV5tPMM.js → p-OutEvCQi.js} +2 -2
- package/dist/components/{p-D_fs8IXJ.js → p-bn_S0ywb.js} +2 -2
- package/dist/components/{p-CspVD-eh.js → p-t9lomFml.js} +2 -2
- package/dist/components/p-t9lomFml.js.map +1 -0
- package/dist/components/{p-63ROhs5i.js → p-xuLJPnDM.js} +2 -2
- package/dist/components/{p-KXxaSDnZ.js → p-y5Rx7xpR.js} +2 -2
- package/dist/components-csr/index.js +1 -1
- package/dist/components-csr/md-accordion-item.js +1 -1
- package/dist/components-csr/md-accordion.js +1 -1
- package/dist/components-csr/md-app-bar.js +1 -1
- package/dist/components-csr/md-area-chart.js +1 -1
- package/dist/components-csr/md-area-chart.js.map +1 -1
- package/dist/components-csr/md-autocomplete.js +1 -1
- package/dist/components-csr/md-avatar.js +1 -1
- package/dist/components-csr/md-badge.js +1 -1
- package/dist/components-csr/md-bar-chart.js +1 -1
- package/dist/components-csr/md-bar-chart.js.map +1 -1
- package/dist/components-csr/md-bottom-sheet.js +1 -1
- package/dist/components-csr/md-breadcrumb-item.js +1 -1
- package/dist/components-csr/md-breadcrumbs.js +1 -1
- package/dist/components-csr/md-button-group.js +1 -1
- package/dist/components-csr/md-button.js +1 -1
- package/dist/components-csr/md-card.js +1 -1
- package/dist/components-csr/md-chart-series.js +2 -0
- package/dist/components-csr/md-chart-series.js.map +1 -0
- package/dist/components-csr/md-checkbox.js +1 -1
- package/dist/components-csr/md-chip.js +1 -1
- package/dist/components-csr/md-color-picker.js +1 -1
- package/dist/components-csr/md-date-picker.js +1 -1
- package/dist/components-csr/md-dialog.js +1 -1
- package/dist/components-csr/md-divider.js +1 -1
- package/dist/components-csr/md-fab-menu-item.js +1 -1
- package/dist/components-csr/md-fab-menu.js +1 -1
- package/dist/components-csr/md-fab.js +1 -1
- package/dist/components-csr/md-icon-button.js +1 -1
- package/dist/components-csr/md-line-chart.js +1 -1
- package/dist/components-csr/md-line-chart.js.map +1 -1
- package/dist/components-csr/md-list-item.js +1 -1
- package/dist/components-csr/md-list.js +1 -1
- package/dist/components-csr/md-loading-indicator.js +1 -1
- package/dist/components-csr/md-menu-item-group.js +1 -1
- package/dist/components-csr/md-menu-item.js +1 -1
- package/dist/components-csr/md-menu.js +1 -1
- package/dist/components-csr/md-meter.js +1 -1
- package/dist/components-csr/md-multi-select.js +1 -1
- package/dist/components-csr/md-navigation-bar.js +1 -1
- package/dist/components-csr/md-navigation-rail-tab.js +1 -1
- package/dist/components-csr/md-navigation-rail.js +1 -1
- package/dist/components-csr/md-navigation-tab.js +1 -1
- package/dist/components-csr/md-number-field.js +1 -1
- package/dist/components-csr/md-organization-chart.js +1 -1
- package/dist/components-csr/md-otp-field.js +1 -1
- package/dist/components-csr/md-pie-chart.js +1 -1
- package/dist/components-csr/md-pie-chart.js.map +1 -1
- package/dist/components-csr/md-pie-slice.js +2 -0
- package/dist/components-csr/md-pie-slice.js.map +1 -0
- package/dist/components-csr/md-progress-indicator.js +1 -1
- package/dist/components-csr/md-radio.js +1 -1
- package/dist/components-csr/md-rating.js +1 -1
- package/dist/components-csr/md-ripple.js +1 -1
- package/dist/components-csr/md-search.js +1 -1
- package/dist/components-csr/md-segmented-button-set.js +1 -1
- package/dist/components-csr/md-segmented-button.js +1 -1
- package/dist/components-csr/md-select-option.js +1 -1
- package/dist/components-csr/md-select-option.js.map +1 -1
- package/dist/components-csr/md-select.js +1 -1
- package/dist/components-csr/md-side-sheet.js +1 -1
- package/dist/components-csr/md-skeleton.js +1 -1
- package/dist/components-csr/md-slider.js +1 -1
- package/dist/components-csr/md-snackbar.js +1 -1
- package/dist/components-csr/md-sparkline-point.js +2 -0
- package/dist/components-csr/md-sparkline-point.js.map +1 -0
- package/dist/components-csr/md-sparkline.js +1 -1
- package/dist/components-csr/md-sparkline.js.map +1 -1
- package/dist/components-csr/md-split-button.js +1 -1
- package/dist/components-csr/md-status-dot.js +1 -1
- package/dist/components-csr/md-step.js +1 -1
- package/dist/components-csr/md-stepper.js +1 -1
- package/dist/components-csr/md-sub-menu-item.js +1 -1
- package/dist/components-csr/md-switch.js +1 -1
- package/dist/components-csr/md-tab-panel.js +1 -1
- package/dist/components-csr/md-tab-panels.js +1 -1
- package/dist/components-csr/md-tab.js +1 -1
- package/dist/components-csr/md-tab.js.map +1 -1
- package/dist/components-csr/md-table-body.js +1 -1
- package/dist/components-csr/md-table-cell.js +1 -1
- package/dist/components-csr/md-table-container.js +1 -1
- package/dist/components-csr/md-table-expand-toggle.js +1 -1
- package/dist/components-csr/md-table-foot.js +1 -1
- package/dist/components-csr/md-table-head.js +1 -1
- package/dist/components-csr/md-table-pagination.js +1 -1
- package/dist/components-csr/md-table-pagination.js.map +1 -1
- package/dist/components-csr/md-table-row.js +1 -1
- package/dist/components-csr/md-table-sort-label.js +1 -1
- package/dist/components-csr/md-table-toolbar.js +1 -1
- package/dist/components-csr/md-table.js +1 -1
- package/dist/components-csr/md-tabs.js +1 -1
- package/dist/components-csr/md-text-field.js +1 -1
- package/dist/components-csr/md-time-picker.js +1 -1
- package/dist/components-csr/md-toolbar.js +1 -1
- package/dist/components-csr/md-tooltip.js +1 -1
- package/dist/components-csr/md-transfer-list.js +1 -1
- package/dist/components-csr/{p-C7SO-MXq.js → p--clgeNUW.js} +2 -2
- package/dist/components-csr/{p-BT43J7lo.js → p-17dQVZNR.js} +2 -2
- package/dist/{components/p-DoJOR0pW.js → components-csr/p-B28l7X5i.js} +2 -2
- package/dist/components-csr/{p-CZp-Xecz.js → p-B2vk3_BC.js} +2 -2
- package/dist/components-csr/p-BcgBd7Uo.js +2 -0
- package/dist/components-csr/p-BcgBd7Uo.js.map +1 -0
- package/dist/components-csr/{p-D5zCIaks.js → p-BwQyYHuZ.js} +2 -2
- package/dist/components-csr/{p-Cr1trPWZ.js → p-C9XZMCL-.js} +2 -2
- package/dist/components-csr/p-CGLhTKkQ.js +2 -0
- package/dist/components-csr/p-CGLhTKkQ.js.map +1 -0
- package/dist/components-csr/{p-CWxDc07j.js → p-D-dmT5kY.js} +2 -2
- package/dist/components-csr/{p-CQoO26r0.js → p-D6ADzLya.js} +2 -2
- package/dist/{components/p-WQOlnYmQ.js → components-csr/p-D7AEBQIw.js} +2 -2
- package/dist/components-csr/{p-B_K-3G0S.js → p-D9cIx3li.js} +2 -2
- package/dist/components-csr/{p-Ca8f4AyH.js → p-DERBQrj5.js} +2 -2
- package/dist/components-csr/{p-CUMT_XYv.js → p-DFJO04Vn.js} +2 -2
- package/dist/components-csr/{p-Px_e-xy9.js → p-DH9RCl21.js} +2 -2
- package/dist/components-csr/{p-CB_bjwk9.js → p-DHw4bV7s.js} +2 -2
- package/dist/components-csr/{p-BuMwJsnQ.js → p-DeGXyF1I.js} +2 -2
- package/dist/components-csr/{p-B37-0L5e.js → p-dBZ_5SDM.js} +2 -2
- package/dist/components-csr/p-dBZ_5SDM.js.map +1 -0
- package/dist/{components/p-C6Dk5I_4.js → components-csr/p-jG7JIK7t.js} +2 -2
- package/dist/components-csr/{p-CvTDNP2i.js → p-oV2Z2HiI.js} +2 -2
- package/dist/esm/data-elements-D_7JTg9V.js +142 -0
- package/dist/esm/data-elements-D_7JTg9V.js.map +1 -0
- package/dist/esm/{index-DkJ2hl1A.js → index-DuCsV-Tv.js} +23 -3
- package/dist/esm/{index-DkJ2hl1A.js.map → index-DuCsV-Tv.js.map} +1 -1
- package/dist/esm/{initial-motion-DdqthWsh.js → initial-motion-D_VxK6y5.js} +3 -3
- package/dist/esm/{initial-motion-DdqthWsh.js.map → initial-motion-D_VxK6y5.js.map} +1 -1
- package/dist/esm/{lazy-loading-indicator-CrT32bSG.js → lazy-loading-indicator-D01l1mnu.js} +4 -4
- package/dist/esm/{lazy-loading-indicator-CrT32bSG.js.map → lazy-loading-indicator-D01l1mnu.js.map} +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/md-accordion-item.entry.js +5 -5
- package/dist/esm/md-accordion.entry.js +2 -2
- package/dist/esm/md-app-bar.entry.js +3 -3
- package/dist/esm/md-area-chart.entry.js +27 -15
- package/dist/esm/md-area-chart.entry.js.map +1 -1
- package/dist/esm/md-autocomplete.entry.js +3 -3
- package/dist/esm/md-avatar_2.entry.js +3 -3
- package/dist/esm/md-badge.entry.js +4 -4
- package/dist/esm/md-bar-chart.entry.js +27 -15
- package/dist/esm/md-bar-chart.entry.js.map +1 -1
- package/dist/esm/md-bottom-sheet.entry.js +6 -6
- package/dist/esm/md-breadcrumb-item.entry.js +2 -2
- package/dist/esm/md-breadcrumbs.entry.js +2 -2
- package/dist/esm/md-button-group.entry.js +2 -2
- package/dist/esm/md-button_6.entry.js +12 -12
- package/dist/esm/md-chart-series.entry.js +120 -0
- package/dist/esm/md-chart-series.entry.js.map +1 -0
- package/dist/esm/md-checkbox.entry.js +5 -5
- package/dist/esm/md-chip.entry.js +4 -4
- package/dist/esm/md-color-picker.entry.js +3 -3
- package/dist/esm/md-date-picker.entry.js +3 -3
- package/dist/esm/md-dialog.entry.js +5 -5
- package/dist/esm/md-divider.entry.js +4 -4
- package/dist/esm/md-fab-menu-item.entry.js +4 -4
- package/dist/esm/md-fab-menu.entry.js +5 -5
- package/dist/esm/md-fab.entry.js +4 -4
- package/dist/esm/md-line-chart.entry.js +31 -19
- package/dist/esm/md-line-chart.entry.js.map +1 -1
- package/dist/esm/md-list-item.entry.js +2 -2
- package/dist/esm/md-list.entry.js +2 -2
- package/dist/esm/{md-loading-indicator-y7Swvv8I.js → md-loading-indicator-DvHmp-e1.js} +4 -4
- package/dist/esm/{md-loading-indicator-y7Swvv8I.js.map → md-loading-indicator-DvHmp-e1.js.map} +1 -1
- package/dist/esm/md-loading-indicator.entry.js +3 -3
- package/dist/esm/md-menu-item-group.entry.js +3 -3
- package/dist/esm/md-menu_2.entry.js +8 -8
- package/dist/esm/md-meter.entry.js +4 -4
- package/dist/esm/md-multi-select.entry.js +5 -5
- package/dist/esm/md-navigation-bar.entry.js +2 -2
- package/dist/esm/md-navigation-rail-tab.entry.js +3 -3
- package/dist/esm/md-navigation-rail.entry.js +4 -4
- package/dist/esm/md-navigation-tab.entry.js +2 -2
- package/dist/esm/md-number-field.entry.js +2 -2
- package/dist/esm/md-organization-chart.entry.js +2 -2
- package/dist/esm/md-otp-field.entry.js +2 -2
- package/dist/esm/md-pie-chart.entry.js +25 -15
- package/dist/esm/md-pie-chart.entry.js.map +1 -1
- package/dist/esm/md-pie-slice.entry.js +57 -0
- package/dist/esm/md-pie-slice.entry.js.map +1 -0
- package/dist/esm/md-progress-indicator.entry.js +3 -3
- package/dist/esm/md-rating.entry.js +4 -4
- package/dist/esm/md-search.entry.js +4 -4
- package/dist/esm/md-segmented-button-set.entry.js +4 -4
- package/dist/esm/md-segmented-button.entry.js +5 -5
- package/dist/esm/md-select-option.entry.js +3 -3
- package/dist/esm/md-select.entry.js +5 -5
- package/dist/esm/md-side-sheet.entry.js +6 -6
- package/dist/esm/md-skeleton.entry.js +3 -3
- package/dist/esm/md-slider.entry.js +2 -2
- package/dist/esm/md-sparkline-point.entry.js +41 -0
- package/dist/esm/md-sparkline-point.entry.js.map +1 -0
- package/dist/esm/md-sparkline.entry.js +22 -12
- package/dist/esm/md-sparkline.entry.js.map +1 -1
- package/dist/esm/md-split-button.entry.js +5 -5
- package/dist/esm/md-status-dot.entry.js +3 -3
- package/dist/esm/md-step.entry.js +8 -8
- package/dist/esm/md-stepper.entry.js +5 -5
- package/dist/esm/md-sub-menu-item.entry.js +4 -4
- package/dist/esm/md-switch.entry.js +4 -4
- package/dist/esm/md-tab-panel.entry.js +3 -3
- package/dist/esm/md-tab-panels.entry.js +3 -3
- package/dist/esm/md-tab.entry.js +6 -6
- package/dist/esm/md-table-body.entry.js +3 -3
- package/dist/esm/md-table-cell.entry.js +4 -4
- package/dist/esm/md-table-container.entry.js +4 -4
- package/dist/esm/md-table-expand-toggle.entry.js +4 -4
- package/dist/esm/md-table-foot.entry.js +3 -3
- package/dist/esm/md-table-head.entry.js +3 -3
- package/dist/esm/md-table-pagination.entry.js +4 -4
- package/dist/esm/md-table-row.entry.js +6 -6
- package/dist/esm/md-table-sort-label.entry.js +4 -4
- package/dist/esm/md-table-toolbar.entry.js +5 -5
- package/dist/esm/md-table.entry.js +5 -5
- package/dist/esm/md-tabs.entry.js +4 -4
- package/dist/esm/md-text-field.entry.js +9 -9
- package/dist/esm/md-time-picker.entry.js +4 -4
- package/dist/esm/md-toolbar.entry.js +5 -5
- package/dist/esm/md-transfer-list.entry.js +3 -3
- package/dist/esm/md3.js +3 -3
- package/dist/esm/{overlay-lifecycle-B4XGZ4dz.js → overlay-lifecycle-CcRpkenI.js} +3 -3
- package/dist/esm/{overlay-lifecycle-B4XGZ4dz.js.map → overlay-lifecycle-CcRpkenI.js.map} +1 -1
- package/dist/esm/series-elements-BcgBd7Uo.js +86 -0
- package/dist/esm/series-elements-BcgBd7Uo.js.map +1 -0
- package/dist/md3/md3.css +1 -1
- package/dist/md3/md3.esm.js +1 -1
- package/dist/md3/p-02e4b894.entry.js +2 -0
- package/dist/md3/{p-6d4889c1.entry.js.map → p-02e4b894.entry.js.map} +1 -1
- package/dist/md3/{p-9fe46046.entry.js → p-05960ec0.entry.js} +2 -2
- package/dist/md3/{p-77635ead.entry.js → p-08ef6b8f.entry.js} +2 -2
- package/dist/md3/{p-a0f17bfb.entry.js → p-1020166c.entry.js} +2 -2
- package/dist/md3/{p-db74251c.entry.js → p-11531ae7.entry.js} +2 -2
- package/dist/md3/p-1426ea48.entry.js +2 -0
- package/dist/md3/p-1426ea48.entry.js.map +1 -0
- package/dist/md3/{p-908456a6.entry.js → p-18a1fe71.entry.js} +2 -2
- package/dist/md3/p-19222f36.entry.js +2 -0
- package/dist/md3/{p-16306734.entry.js.map → p-19222f36.entry.js.map} +1 -1
- package/dist/md3/{p-fd02aa37.entry.js → p-197f8e6c.entry.js} +2 -2
- package/dist/md3/{p-9d1c66a8.entry.js → p-1c930a91.entry.js} +2 -2
- package/dist/md3/p-22fd4581.entry.js +2 -0
- package/dist/md3/p-22fd4581.entry.js.map +1 -0
- package/dist/md3/{p-96cbfdca.entry.js → p-28eb088f.entry.js} +2 -2
- package/dist/md3/{p-ffbde7ad.entry.js → p-292823f3.entry.js} +2 -2
- package/dist/md3/p-2ab73869.entry.js +2 -0
- package/dist/md3/p-2ab73869.entry.js.map +1 -0
- package/dist/md3/{p-bc863e1b.entry.js → p-2b4ca89b.entry.js} +2 -2
- package/dist/md3/{p-af437c3c.entry.js → p-2caf7fb6.entry.js} +2 -2
- package/dist/md3/p-333e5f08.entry.js +2 -0
- package/dist/md3/p-333e5f08.entry.js.map +1 -0
- package/dist/md3/{p-b5a8f03c.entry.js → p-35216f14.entry.js} +2 -2
- package/dist/md3/{p-272ef8cb.entry.js → p-3e07b199.entry.js} +2 -2
- package/dist/md3/{p-c664501b.entry.js → p-3fc79692.entry.js} +2 -2
- package/dist/md3/{p-1b506237.entry.js → p-45931478.entry.js} +2 -2
- package/dist/md3/{p-03f06a3c.entry.js → p-4a60f85d.entry.js} +2 -2
- package/dist/md3/{p-3d90a202.entry.js → p-4c3e159a.entry.js} +2 -2
- package/dist/md3/{p-0c795946.entry.js → p-50dad3c7.entry.js} +2 -2
- package/dist/md3/{p-1ed83da9.entry.js → p-54c42926.entry.js} +2 -2
- package/dist/md3/{p-eef9c775.entry.js → p-56529078.entry.js} +2 -2
- package/dist/md3/{p-d2692d90.entry.js → p-57084546.entry.js} +2 -2
- package/dist/md3/{p-3b8b58ae.entry.js → p-58eaadac.entry.js} +2 -2
- package/dist/md3/{p-5ec552ec.entry.js → p-63669cbe.entry.js} +2 -2
- package/dist/md3/{p-c7746547.entry.js → p-63c26c74.entry.js} +2 -2
- package/dist/md3/p-656be0be.entry.js +2 -0
- package/dist/md3/p-656be0be.entry.js.map +1 -0
- package/dist/md3/{p-8a863529.entry.js → p-6b984e4d.entry.js} +2 -2
- package/dist/md3/p-7a651133.entry.js +2 -0
- package/dist/md3/{p-4f7838e1.entry.js.map → p-7a651133.entry.js.map} +1 -1
- package/dist/md3/{p-097ad5a5.entry.js → p-7cbef5e9.entry.js} +2 -2
- package/dist/md3/p-7ce532aa.entry.js +2 -0
- package/dist/md3/{p-b098f546.entry.js → p-81c1fc3e.entry.js} +2 -2
- package/dist/md3/{p-d70d0db3.entry.js → p-891e5635.entry.js} +2 -2
- package/dist/md3/{p-85e00706.entry.js → p-8a037b98.entry.js} +2 -2
- package/dist/md3/{p-f8b52c07.entry.js → p-93d4cca0.entry.js} +2 -2
- package/dist/md3/{p-858dda75.entry.js → p-9aabec5d.entry.js} +2 -2
- package/dist/md3/{p-8077ceaf.entry.js → p-9ab44705.entry.js} +2 -2
- package/dist/md3/{p-a9fbc697.entry.js → p-9ed391e9.entry.js} +2 -2
- package/dist/md3/{p-RiA8nMw1.js → p-BOlcFCii.js} +2 -2
- package/dist/md3/{p-RiA8nMw1.js.map → p-BOlcFCii.js.map} +1 -1
- package/dist/md3/p-BcgBd7Uo.js +2 -0
- package/dist/md3/p-BcgBd7Uo.js.map +1 -0
- package/dist/md3/{p-ZTAwTx66.js → p-BgRw_myY.js} +2 -2
- package/dist/md3/{p-ZTAwTx66.js.map → p-BgRw_myY.js.map} +1 -1
- package/dist/{components/p-gd9_5R5P.js → md3/p-CUho8MPx.js} +2 -2
- package/dist/md3/{p-BytnCy9Z.js.map → p-CUho8MPx.js.map} +1 -1
- package/dist/md3/{p-Bin9vIoJ.js → p-DH_rSF2a.js} +2 -2
- package/dist/md3/{p-Bin9vIoJ.js.map → p-DH_rSF2a.js.map} +1 -1
- package/dist/md3/p-D_7JTg9V.js +2 -0
- package/dist/md3/p-D_7JTg9V.js.map +1 -0
- package/dist/md3/{p-DkJ2hl1A.js → p-DuCsV-Tv.js} +2 -2
- package/dist/md3/{p-DkJ2hl1A.js.map → p-DuCsV-Tv.js.map} +1 -1
- package/dist/md3/p-a003e769.entry.js +2 -0
- package/dist/md3/{p-3f8959d1.entry.js.map → p-a003e769.entry.js.map} +1 -1
- package/dist/md3/{p-93afcce6.entry.js → p-a7b61854.entry.js} +2 -2
- package/dist/md3/{p-b50448b3.entry.js → p-ac834a37.entry.js} +2 -2
- package/dist/md3/{p-e3211f30.entry.js → p-b3b6a95b.entry.js} +2 -2
- package/dist/md3/{p-67d958e6.entry.js → p-b3fb40d3.entry.js} +2 -2
- package/dist/md3/{p-eb3958a7.entry.js → p-b68af555.entry.js} +2 -2
- package/dist/md3/{p-d5a459bf.entry.js → p-b7c0e652.entry.js} +2 -2
- package/dist/md3/p-b7c8253a.entry.js +2 -0
- package/dist/md3/{p-19aea41a.entry.js → p-b88b8b01.entry.js} +2 -2
- package/dist/md3/{p-4d5100e0.entry.js → p-ba7975b3.entry.js} +2 -2
- package/dist/md3/{p-4bee383f.entry.js → p-bcb6b76c.entry.js} +2 -2
- package/dist/md3/{p-be2082bc.entry.js → p-be7a6e2c.entry.js} +2 -2
- package/dist/md3/{p-5adc9387.entry.js → p-c069c032.entry.js} +2 -2
- package/dist/md3/{p-6f8d6ff0.entry.js → p-c0f9a8ce.entry.js} +2 -2
- package/dist/md3/{p-5355af66.entry.js → p-c46dcf66.entry.js} +2 -2
- package/dist/md3/{p-e2b5d561.entry.js → p-c60d37e8.entry.js} +2 -2
- package/dist/md3/{p-94da49fa.entry.js → p-c74eecab.entry.js} +2 -2
- package/dist/md3/{p-b1da3d4f.entry.js → p-caab4c1f.entry.js} +2 -2
- package/dist/md3/p-cfff8d6e.entry.js +2 -0
- package/dist/md3/{p-c41bd8c9.entry.js.map → p-cfff8d6e.entry.js.map} +1 -1
- package/dist/md3/{p-137d6f2a.entry.js → p-d369a8c5.entry.js} +2 -2
- package/dist/md3/{p-2e1e04c6.entry.js → p-d76f4326.entry.js} +2 -2
- package/dist/md3/{p-b9e28a86.entry.js → p-d7a4c007.entry.js} +2 -2
- package/dist/md3/{p-26122b64.entry.js → p-d8e45f74.entry.js} +2 -2
- package/dist/md3/{p-47aa8306.entry.js → p-d9b44b23.entry.js} +2 -2
- package/dist/md3/{p-b14baec4.entry.js → p-d9e58e9d.entry.js} +2 -2
- package/dist/md3/{p-19e517bc.entry.js → p-da4139f6.entry.js} +2 -2
- package/dist/md3/p-e2442bac.entry.js +2 -0
- package/dist/md3/p-e2442bac.entry.js.map +1 -0
- package/dist/md3/{p-cb498d56.entry.js → p-e3704fc4.entry.js} +2 -2
- package/dist/md3/p-e6091e31.entry.js +2 -0
- package/dist/md3/p-e6091e31.entry.js.map +1 -0
- package/dist/md3/{p-8003b9d7.entry.js → p-ede7415a.entry.js} +2 -2
- package/dist/md3/{p-b38d7576.entry.js → p-f61cc27a.entry.js} +2 -2
- package/dist/md3/{p-2a220f40.entry.js → p-f7abc084.entry.js} +2 -2
- package/dist/md3/p-fbe29776.entry.js +2 -0
- package/dist/md3/p-fbe29776.entry.js.map +1 -0
- package/dist/md3/{p-ea762ac2.entry.js → p-fcfd76d6.entry.js} +2 -2
- package/dist/md3/p-feb6458b.entry.js +2 -0
- package/dist/md3/{p-c1ace95d.entry.js.map → p-feb6458b.entry.js.map} +1 -1
- package/dist/sources/1072375249d01bb6640401cf49dc3d9e87d0ebac412fcfcd1afd3b5cb37df7b7/app-data +3 -0
- package/dist/sources/35dadf059de729b390f3df3b0fd05fd1578e1afbd6f0fa9d382cd0d8794c32aa/series-elements.ts +81 -0
- package/dist/sources/54db212ca26584b16f4acb70c806fc3f94f045143349e8ec72ca2008a5162a7a/md-sparkline-point.tsx +25 -0
- package/dist/sources/{31256da68371b553f1d4bcf905fb37affca24680ba4be391b39695839fd4d855 → 66e71d8e4dbd2ceea6f5d062c7103815560620a7b21193bfa57d29cddba5757e}/md-sparkline.tsx +23 -8
- package/dist/sources/{d3f592ff8c47ce0c056b6e6cbcaa9d43687c53ebe7c8d193110a731a3e3a4af2 → 85eac5ca1350ced6718812f829f335dc5aa0026c954125260013367c738a7c9e}/index.ts +1 -0
- package/dist/sources/{0257008c17c104ed27ee727cf7dbbad94cf14f4148dd8e281b510dd37a34c730 → 88da03acb5e30b2d52fe3d0021dfc64d19dffb81a9f5c630b8bb67de21c9465d}/md-line-chart.tsx +31 -15
- package/dist/sources/{e6f1f0a964cd8962a51c61e3cdf7851c46e88a48833ea5e3da575166bde936c3 → aee3bad879c53f8a56ed81e96b445b3979341c756330370f1e41c5faee0af1a6}/md-bar-chart.tsx +30 -14
- package/dist/sources/c47db83f1e7e32d375ee8a963e744523d1c0455f96183657bd7d85378b063d17/md-pie-slice.css_tag_md-pie-slice_encapsulation_shadow +1 -0
- package/dist/sources/c47db83f1e7e32d375ee8a963e744523d1c0455f96183657bd7d85378b063d17/md-sparkline-point.css_tag_md-sparkline-point_encapsulation_shadow +1 -0
- package/dist/sources/c721f0ed0c4097f171e84a2ae5b4c537ad352844cffded2d805afc600255d248/md-chart-series.tsx +84 -0
- package/dist/sources/{2f88f34ffdcaef324270476cf641a5f8fa62c288ad7d5d92acbae19cb08f7d5c → c8e8a52259b376459bd17703d1d97716abc1fa35931cc95aedc07f1a3196b0c9}/md-area-chart.tsx +33 -17
- package/dist/sources/cd1f7d7eb12ae719865e4d72507e1c83935839f312f92c6006c0afda6006fc43/md-pie-slice.tsx +35 -0
- package/dist/sources/cf81dec71be5e02fb010aeb51bd2dab53f9abb5d4f38bd4e3fcf4fca7713a0fc/data-elements.ts +125 -0
- package/dist/sources/d1d5e4161ad69f87c2c806ba8c8308c99911631504a5e3c1867b7de0b5e58853/md-chart-series.css_tag_md-chart-series_encapsulation_shadow +4 -0
- package/dist/sources/dc5930bf3b00c49a265ba4bb975468f4d4f69b6d9f0e2eb6f6912e856fe5f27f/app-data +3 -0
- package/dist/sources/{7a73bbcfec9d73868501427987950513fe4f7261f768148ed765bd98327cf27e → e82b4aa8f83e6d24aaa681939bc983114812458c3973d18c664c2d59697e81bd}/md-pie-chart.tsx +25 -11
- package/dist/sources/fcfb5850a256d7109a45b7925913ecd1427f826af8d94c955c17dc6a5f6a7b89/app-data +3 -0
- package/dist/types/components/md-area-chart/md-area-chart.d.ts +9 -5
- package/dist/types/components/md-bar-chart/md-bar-chart.d.ts +7 -3
- package/dist/types/components/md-chart-series/md-chart-series.d.ts +61 -0
- package/dist/types/components/md-line-chart/md-line-chart.d.ts +5 -1
- package/dist/types/components/md-pie-chart/md-pie-chart.d.ts +4 -0
- package/dist/types/components/md-pie-slice/md-pie-slice.d.ts +25 -0
- package/dist/types/components/md-sparkline/md-sparkline.d.ts +5 -1
- package/dist/types/components/md-sparkline-point/md-sparkline-point.d.ts +14 -0
- package/dist/types/components.d.ts +429 -18
- package/dist/types/index.d.ts +1 -1
- package/dist/types/utils/charts/data-elements.d.ts +32 -0
- package/dist/types/utils/charts/series-elements.d.ts +38 -0
- package/hydrate/index.js +734 -190
- package/hydrate/index.mjs +734 -190
- package/package.json +2 -2
- package/src/components/md-chart-series/readme.md +25 -0
- package/src/components/md-pie-slice/readme.md +21 -0
- package/src/components/md-sparkline-point/readme.md +19 -0
- package/dist/components/p-CspVD-eh.js.map +0 -1
- package/dist/components-csr/p-B37-0L5e.js.map +0 -1
- package/dist/md3/p-0baf9f88.entry.js +0 -2
- package/dist/md3/p-0baf9f88.entry.js.map +0 -1
- package/dist/md3/p-16306734.entry.js +0 -2
- package/dist/md3/p-2f99585e.entry.js +0 -2
- package/dist/md3/p-2f99585e.entry.js.map +0 -1
- package/dist/md3/p-3d251149.entry.js +0 -2
- package/dist/md3/p-3d251149.entry.js.map +0 -1
- package/dist/md3/p-3d703571.entry.js +0 -2
- package/dist/md3/p-3d703571.entry.js.map +0 -1
- package/dist/md3/p-3f8959d1.entry.js +0 -2
- package/dist/md3/p-4f7838e1.entry.js +0 -2
- package/dist/md3/p-6d4889c1.entry.js +0 -2
- package/dist/md3/p-9379dfca.entry.js +0 -2
- package/dist/md3/p-9379dfca.entry.js.map +0 -1
- package/dist/md3/p-9f0f41c8.entry.js +0 -2
- package/dist/md3/p-c1ace95d.entry.js +0 -2
- package/dist/md3/p-c41bd8c9.entry.js +0 -2
- package/dist/md3/p-de0967a6.entry.js +0 -2
- package/dist/sources/249f56e5f4c1e582903551d8d8a39d83e268058e66194832a21408420ea4a5fb/app-data +0 -3
- package/dist/sources/a9800d32bbcaf3d8baa4abf6f1c13d77f4f7e22dd03bfd1c90ad1cc9c5ac49a9/app-data +0 -3
- package/dist/sources/bb0c438a1a8f4b6d77c43db8d11b2366bfa6c0c48d4daa3ebbdbcd2bdefa4749/app-data +0 -3
- /package/dist/components/{p-gd9_5R5P.js.map → p-0hoYij4e.js.map} +0 -0
- /package/dist/components/{p-WQOlnYmQ.js.map → p-8ZntJ7QX.js.map} +0 -0
- /package/dist/components/{p-DIGH4LlS.js.map → p-Be_QxD6y.js.map} +0 -0
- /package/dist/components/{p-BcOsCkxa.js.map → p-C9Z-3TKn.js.map} +0 -0
- /package/dist/components/{p-CGKlSro0.js.map → p-CWveMYei.js.map} +0 -0
- /package/dist/components/{p-DoJOR0pW.js.map → p-CXuNI4mJ.js.map} +0 -0
- /package/dist/components/{p-BCAoGEfF.js.map → p-CjebvGxr.js.map} +0 -0
- /package/dist/components/{p-BWCwdLDy.js.map → p-Cui8F6rf.js.map} +0 -0
- /package/dist/components/{p-B9jJRlnU.js.map → p-D9C2BtN-.js.map} +0 -0
- /package/dist/components/{p-AD7q8XNf.js.map → p-DI0ebvMQ.js.map} +0 -0
- /package/dist/components/{p-BJAKwQqQ.js.map → p-DM30Y_8c.js.map} +0 -0
- /package/dist/components/{p-CXOHmY2w.js.map → p-DTAVEp79.js.map} +0 -0
- /package/dist/components/{p-C6Dk5I_4.js.map → p-DoQ8iQ1K.js.map} +0 -0
- /package/dist/components/{p-CjV5tPMM.js.map → p-OutEvCQi.js.map} +0 -0
- /package/dist/components/{p-D_fs8IXJ.js.map → p-bn_S0ywb.js.map} +0 -0
- /package/dist/components/{p-63ROhs5i.js.map → p-xuLJPnDM.js.map} +0 -0
- /package/dist/components/{p-KXxaSDnZ.js.map → p-y5Rx7xpR.js.map} +0 -0
- /package/dist/components-csr/{p-C7SO-MXq.js.map → p--clgeNUW.js.map} +0 -0
- /package/dist/components-csr/{p-BT43J7lo.js.map → p-17dQVZNR.js.map} +0 -0
- /package/dist/components-csr/{p-B3y4Sfu7.js.map → p-B28l7X5i.js.map} +0 -0
- /package/dist/components-csr/{p-CZp-Xecz.js.map → p-B2vk3_BC.js.map} +0 -0
- /package/dist/components-csr/{p-D5zCIaks.js.map → p-BwQyYHuZ.js.map} +0 -0
- /package/dist/components-csr/{p-Cr1trPWZ.js.map → p-C9XZMCL-.js.map} +0 -0
- /package/dist/components-csr/{p-CWxDc07j.js.map → p-D-dmT5kY.js.map} +0 -0
- /package/dist/components-csr/{p-CQoO26r0.js.map → p-D6ADzLya.js.map} +0 -0
- /package/dist/components-csr/{p-mPtoRtT7.js.map → p-D7AEBQIw.js.map} +0 -0
- /package/dist/components-csr/{p-B_K-3G0S.js.map → p-D9cIx3li.js.map} +0 -0
- /package/dist/components-csr/{p-Ca8f4AyH.js.map → p-DERBQrj5.js.map} +0 -0
- /package/dist/components-csr/{p-CUMT_XYv.js.map → p-DFJO04Vn.js.map} +0 -0
- /package/dist/components-csr/{p-Px_e-xy9.js.map → p-DH9RCl21.js.map} +0 -0
- /package/dist/components-csr/{p-CB_bjwk9.js.map → p-DHw4bV7s.js.map} +0 -0
- /package/dist/components-csr/{p-BuMwJsnQ.js.map → p-DeGXyF1I.js.map} +0 -0
- /package/dist/components-csr/{p-DQL7SnR8.js.map → p-jG7JIK7t.js.map} +0 -0
- /package/dist/components-csr/{p-CvTDNP2i.js.map → p-oV2Z2HiI.js.map} +0 -0
- /package/dist/md3/{p-9fe46046.entry.js.map → p-05960ec0.entry.js.map} +0 -0
- /package/dist/md3/{p-77635ead.entry.js.map → p-08ef6b8f.entry.js.map} +0 -0
- /package/dist/md3/{p-a0f17bfb.entry.js.map → p-1020166c.entry.js.map} +0 -0
- /package/dist/md3/{p-db74251c.entry.js.map → p-11531ae7.entry.js.map} +0 -0
- /package/dist/md3/{p-908456a6.entry.js.map → p-18a1fe71.entry.js.map} +0 -0
- /package/dist/md3/{p-fd02aa37.entry.js.map → p-197f8e6c.entry.js.map} +0 -0
- /package/dist/md3/{p-9d1c66a8.entry.js.map → p-1c930a91.entry.js.map} +0 -0
- /package/dist/md3/{p-96cbfdca.entry.js.map → p-28eb088f.entry.js.map} +0 -0
- /package/dist/md3/{p-ffbde7ad.entry.js.map → p-292823f3.entry.js.map} +0 -0
- /package/dist/md3/{p-bc863e1b.entry.js.map → p-2b4ca89b.entry.js.map} +0 -0
- /package/dist/md3/{p-af437c3c.entry.js.map → p-2caf7fb6.entry.js.map} +0 -0
- /package/dist/md3/{p-b5a8f03c.entry.js.map → p-35216f14.entry.js.map} +0 -0
- /package/dist/md3/{p-272ef8cb.entry.js.map → p-3e07b199.entry.js.map} +0 -0
- /package/dist/md3/{p-c664501b.entry.js.map → p-3fc79692.entry.js.map} +0 -0
- /package/dist/md3/{p-1b506237.entry.js.map → p-45931478.entry.js.map} +0 -0
- /package/dist/md3/{p-03f06a3c.entry.js.map → p-4a60f85d.entry.js.map} +0 -0
- /package/dist/md3/{p-3d90a202.entry.js.map → p-4c3e159a.entry.js.map} +0 -0
- /package/dist/md3/{p-0c795946.entry.js.map → p-50dad3c7.entry.js.map} +0 -0
- /package/dist/md3/{p-1ed83da9.entry.js.map → p-54c42926.entry.js.map} +0 -0
- /package/dist/md3/{p-eef9c775.entry.js.map → p-56529078.entry.js.map} +0 -0
- /package/dist/md3/{p-d2692d90.entry.js.map → p-57084546.entry.js.map} +0 -0
- /package/dist/md3/{p-3b8b58ae.entry.js.map → p-58eaadac.entry.js.map} +0 -0
- /package/dist/md3/{p-5ec552ec.entry.js.map → p-63669cbe.entry.js.map} +0 -0
- /package/dist/md3/{p-c7746547.entry.js.map → p-63c26c74.entry.js.map} +0 -0
- /package/dist/md3/{p-8a863529.entry.js.map → p-6b984e4d.entry.js.map} +0 -0
- /package/dist/md3/{p-097ad5a5.entry.js.map → p-7cbef5e9.entry.js.map} +0 -0
- /package/dist/md3/{p-9f0f41c8.entry.js.map → p-7ce532aa.entry.js.map} +0 -0
- /package/dist/md3/{p-b098f546.entry.js.map → p-81c1fc3e.entry.js.map} +0 -0
- /package/dist/md3/{p-d70d0db3.entry.js.map → p-891e5635.entry.js.map} +0 -0
- /package/dist/md3/{p-85e00706.entry.js.map → p-8a037b98.entry.js.map} +0 -0
- /package/dist/md3/{p-f8b52c07.entry.js.map → p-93d4cca0.entry.js.map} +0 -0
- /package/dist/md3/{p-858dda75.entry.js.map → p-9aabec5d.entry.js.map} +0 -0
- /package/dist/md3/{p-8077ceaf.entry.js.map → p-9ab44705.entry.js.map} +0 -0
- /package/dist/md3/{p-a9fbc697.entry.js.map → p-9ed391e9.entry.js.map} +0 -0
- /package/dist/md3/{p-93afcce6.entry.js.map → p-a7b61854.entry.js.map} +0 -0
- /package/dist/md3/{p-b50448b3.entry.js.map → p-ac834a37.entry.js.map} +0 -0
- /package/dist/md3/{p-e3211f30.entry.js.map → p-b3b6a95b.entry.js.map} +0 -0
- /package/dist/md3/{p-67d958e6.entry.js.map → p-b3fb40d3.entry.js.map} +0 -0
- /package/dist/md3/{p-eb3958a7.entry.js.map → p-b68af555.entry.js.map} +0 -0
- /package/dist/md3/{p-d5a459bf.entry.js.map → p-b7c0e652.entry.js.map} +0 -0
- /package/dist/md3/{p-de0967a6.entry.js.map → p-b7c8253a.entry.js.map} +0 -0
- /package/dist/md3/{p-19aea41a.entry.js.map → p-b88b8b01.entry.js.map} +0 -0
- /package/dist/md3/{p-4d5100e0.entry.js.map → p-ba7975b3.entry.js.map} +0 -0
- /package/dist/md3/{p-4bee383f.entry.js.map → p-bcb6b76c.entry.js.map} +0 -0
- /package/dist/md3/{p-be2082bc.entry.js.map → p-be7a6e2c.entry.js.map} +0 -0
- /package/dist/md3/{p-5adc9387.entry.js.map → p-c069c032.entry.js.map} +0 -0
- /package/dist/md3/{p-6f8d6ff0.entry.js.map → p-c0f9a8ce.entry.js.map} +0 -0
- /package/dist/md3/{p-5355af66.entry.js.map → p-c46dcf66.entry.js.map} +0 -0
- /package/dist/md3/{p-e2b5d561.entry.js.map → p-c60d37e8.entry.js.map} +0 -0
- /package/dist/md3/{p-94da49fa.entry.js.map → p-c74eecab.entry.js.map} +0 -0
- /package/dist/md3/{p-b1da3d4f.entry.js.map → p-caab4c1f.entry.js.map} +0 -0
- /package/dist/md3/{p-137d6f2a.entry.js.map → p-d369a8c5.entry.js.map} +0 -0
- /package/dist/md3/{p-2e1e04c6.entry.js.map → p-d76f4326.entry.js.map} +0 -0
- /package/dist/md3/{p-b9e28a86.entry.js.map → p-d7a4c007.entry.js.map} +0 -0
- /package/dist/md3/{p-26122b64.entry.js.map → p-d8e45f74.entry.js.map} +0 -0
- /package/dist/md3/{p-47aa8306.entry.js.map → p-d9b44b23.entry.js.map} +0 -0
- /package/dist/md3/{p-b14baec4.entry.js.map → p-d9e58e9d.entry.js.map} +0 -0
- /package/dist/md3/{p-19e517bc.entry.js.map → p-da4139f6.entry.js.map} +0 -0
- /package/dist/md3/{p-cb498d56.entry.js.map → p-e3704fc4.entry.js.map} +0 -0
- /package/dist/md3/{p-8003b9d7.entry.js.map → p-ede7415a.entry.js.map} +0 -0
- /package/dist/md3/{p-b38d7576.entry.js.map → p-f61cc27a.entry.js.map} +0 -0
- /package/dist/md3/{p-2a220f40.entry.js.map → p-f7abc084.entry.js.map} +0 -0
- /package/dist/md3/{p-ea762ac2.entry.js.map → p-fcfd76d6.entry.js.map} +0 -0
package/hydrate/index.js
CHANGED
|
@@ -6489,11 +6489,11 @@ class MdAccordionItem {
|
|
|
6489
6489
|
// A capped panel body scrolls; it must be keyboard-reachable so
|
|
6490
6490
|
// arrow keys can scroll it (WCAG 2.1.1 / axe scrollable-region-focusable).
|
|
6491
6491
|
const scrollable = this.contentMaxHeight.trim().length > 0;
|
|
6492
|
-
return (hAsync(Host, { key: '
|
|
6492
|
+
return (hAsync(Host, { key: '18b8e3ca433ffaad163de47f156565ade6f0dc5a', class: {
|
|
6493
6493
|
'md-accordion-item': true,
|
|
6494
6494
|
'md-accordion-item--expanded': this.expanded,
|
|
6495
6495
|
'md-accordion-item--disabled': this.disabled,
|
|
6496
|
-
} }, hAsync("span", { key: '
|
|
6496
|
+
} }, hAsync("span", { key: '77e29a9c0649161dfc34133a889590db2ccf0e0d', class: "md-accordion-item__chassis-handle", part: "chassis-handle", "data-accordion-chassis-drag": "true", role: "presentation", "aria-hidden": "true", onClick: this.handleDragHandleClick, onKeyDown: this.handleDragHandleKeyDown }, hAsync("span", { key: '3f0c85e3c9be7526adb318b55109fd7aab3034f4', class: "md-accordion-item__chassis-handle-bar", part: "chassis-handle-bar" })), hAsync(HeadingTag, { key: '6794f6f41d6c2d5ad20b8dc477ddd9de46bfb6f9', class: "md-accordion-item__heading", part: "heading" }, hAsync("button", { key: '81f603f1789b72e6d0d78924924ab3a5e019f2b9', id: this.headerId, class: "md-accordion-item__header", part: "header", type: "button", "aria-expanded": String(this.expanded), "aria-controls": this.contentId, "aria-disabled": this.ariaDisabledHeader ? 'true' : undefined, disabled: this.disabled, onClick: this.handleHeaderClick, onKeyDown: this.handleHeaderKeyDown, ref: (el) => (this.headerEl = el) }, hAsync("md-ripple", { key: 'de6be7a8912c48eb8e0ac5a5f1d3db752ccb3253', disabled: this.disabled }), hAsync("span", { key: '9c52f2241c1fb92815218d9e39888a890823c9d2', class: "md-accordion-item__state-layer", part: "state-layer", "aria-hidden": "true" }), hAsync("span", { key: '03ea6a9b030a6215af6eb6559f4efb29e0f63756', class: "md-accordion-item__drag-handle", part: "drag-handle", "data-accordion-drag-handle": "true", "aria-hidden": "true", onClick: this.handleDragHandleClick, onKeyDown: this.handleDragHandleKeyDown }, hAsync("span", { key: '4fef5bf7ff4813e762dc34909b78b8d66ca041e7', class: "material-symbols-outlined md-accordion-item__drag-handle-icon" }, "drag_indicator")), hasLeading && (hAsync("span", { key: 'b5316d29d768ee631ccfd8259a0e767a1bf8a630', class: "md-accordion-item__leading", part: "leading-icon", "aria-hidden": "true" }, hAsync("slot", { key: 'cfe2efeca9c79b6bc995f1addb7584ece7bc22e4', name: "leading-icon" }, this.icon && (hAsync("span", { key: 'cd40c2f6cbcf0b48edae11d1f391497a86c70edf', class: "material-symbols-outlined md-accordion-item__icon" }, this.icon))))), hAsync("span", { key: 'f1bc0f45012de386be44884c0f18b3624c0a294c', class: "md-accordion-item__text" }, hAsync("span", { key: '148b472f9c3c2449f2b45aaf985638e60f3a4685', class: "md-accordion-item__headline", part: "headline" }, hAsync("slot", { key: '841c2b1562233e5a811d8f5e75c91275d9b2848f', name: "headline" }, this.headline)), (this.supportingText || this.hasSlottedHeadline) && this.supportingText && (hAsync("span", { key: '27b40d475af8643548869b8cf33030cde8a603b3', class: "md-accordion-item__supporting", part: "supporting-text" }, this.supportingText))), hAsync("span", { key: 'a0d2d0d67fdaadcc7568a02e6d3805ae38e778be', class: "md-accordion-item__trailing", part: "trailing-icon", "aria-hidden": "true" }, hAsync("slot", { key: '1889814a84b0b317e3ee36a2d6de7f3c52908c8e', name: "trailing-icon" }, hAsync("svg", { key: 'b39f7f8e4ab0eedda33e623df4aac6c5779c2060', class: "md-accordion-item__chevron", viewBox: "0 0 24 24", width: "24", height: "24", fill: "currentColor", "aria-hidden": "true" }, hAsync("path", { key: 'ce7338f7b74d87621d507da215dde05ff20c7aff', d: "M7.41 8.59L12 13.17l4.59-4.58L18 10l-6 6-6-6z" })))))), hAsync("div", { key: '03f6a846a88699a344c863d75665450ecd8581c1', id: this.contentId, class: "md-accordion-item__panel", part: "panel", role: this.regionRole === 'none' ? undefined : this.regionRole, "aria-labelledby": this.headerId, "aria-hidden": this.expanded ? 'false' : 'true', inert: !this.expanded }, hAsync("div", { key: '6f17b74fe4d45bda8c52337b44277ba05994246f', class: "md-accordion-item__content", part: "content" }, hAsync("div", { key: '6b54ee0a99ed24d99aa3ede517475c93d5bb1e12', class: {
|
|
6497
6497
|
'md-accordion-item__content-inner': true,
|
|
6498
6498
|
'md-accordion-item__content-inner--scroll': scrollable,
|
|
6499
6499
|
}, part: "content-inner",
|
|
@@ -6502,7 +6502,7 @@ class MdAccordionItem {
|
|
|
6502
6502
|
// (axe scrollable-region-focusable). Its accessible name is
|
|
6503
6503
|
// provided by the enclosing labelled panel region, so no
|
|
6504
6504
|
// extra role/label is needed here.
|
|
6505
|
-
tabindex: scrollable ? '0' : undefined, style: scrollable ? { maxBlockSize: this.contentMaxHeight } : undefined }, hAsync("slot", { key: '
|
|
6505
|
+
tabindex: scrollable ? '0' : undefined, style: scrollable ? { maxBlockSize: this.contentMaxHeight } : undefined }, hAsync("slot", { key: '483340b4fd974efe287be70a5cd3a3730d883fe0' }))))));
|
|
6506
6506
|
}
|
|
6507
6507
|
componentDidRender() {
|
|
6508
6508
|
}
|
|
@@ -6831,7 +6831,7 @@ class MdAppBar {
|
|
|
6831
6831
|
const flexible = this.isFlexible();
|
|
6832
6832
|
const search = this.isSearchVariant();
|
|
6833
6833
|
const centered = this.titleAlignment === 'center';
|
|
6834
|
-
return (hAsync(Host, { key: '
|
|
6834
|
+
return (hAsync(Host, { key: '1279f91d1663e63e92c8dc3720efe6c4e63720cc', class: {
|
|
6835
6835
|
'md-app-bar': true,
|
|
6836
6836
|
[`md-app-bar--${this.variant}`]: true,
|
|
6837
6837
|
'md-app-bar--flexible': flexible,
|
|
@@ -6884,6 +6884,88 @@ class MdAppBar {
|
|
|
6884
6884
|
/** Maximum trailing action icons per M3 app bar guidance. */
|
|
6885
6885
|
MdAppBar.MAX_TRAILING_ICONS = 3;
|
|
6886
6886
|
|
|
6887
|
+
/** Internal notification; public chart interaction events stay on the parent. */
|
|
6888
|
+
const CHART_SERIES_CHANGE = 'mdChartSeriesChange';
|
|
6889
|
+
/** DOM id/hidden remain standard attributes; series identity/visibility use explicit aliases. */
|
|
6890
|
+
const CHART_SERIES_FIELDS = {
|
|
6891
|
+
label: 'label', data: 'data', stroke: 'stroke', fill: 'fill', range: 'range',
|
|
6892
|
+
color: 'color', stack: 'stack', curve: 'curve', dash: 'dash',
|
|
6893
|
+
seriesHidden: 'hidden', connectNulls: 'connectNulls', showMarks: 'showMarks',
|
|
6894
|
+
symbol: 'symbol', pointSymbols: 'pointSymbols', pointColors: 'pointColors',
|
|
6895
|
+
pointWidths: 'pointWidths', overlay: 'overlay', widthRatio: 'widthRatio',
|
|
6896
|
+
seriesId: 'id', yAxisIndex: 'yAxisIndex', dashAfter: 'dashAfter', hollow: 'hollow',
|
|
6897
|
+
lineWidth: 'lineWidth', markSize: 'markSize',
|
|
6898
|
+
};
|
|
6899
|
+
const isSeries = (element) => element.localName === 'md-chart-series';
|
|
6900
|
+
// React SSR and hydrate HTML carry these typed values through escaped JSON.
|
|
6901
|
+
// Parse only structured fields: labels and other authored strings stay literal.
|
|
6902
|
+
const structuredFields = {
|
|
6903
|
+
data: 'array', range: 'array', pointSymbols: 'map', pointColors: 'map', pointWidths: 'map',
|
|
6904
|
+
};
|
|
6905
|
+
function readSeriesField(prop, value) {
|
|
6906
|
+
if (typeof value !== 'string' || !structuredFields[prop])
|
|
6907
|
+
return value;
|
|
6908
|
+
try {
|
|
6909
|
+
const parsed = JSON.parse(value);
|
|
6910
|
+
if (parsed === null)
|
|
6911
|
+
return parsed;
|
|
6912
|
+
return structuredFields[prop] === 'array'
|
|
6913
|
+
? (Array.isArray(parsed) ? parsed : undefined)
|
|
6914
|
+
: (typeof parsed === 'object' && !Array.isArray(parsed) ? parsed : undefined);
|
|
6915
|
+
}
|
|
6916
|
+
catch {
|
|
6917
|
+
return undefined;
|
|
6918
|
+
}
|
|
6919
|
+
}
|
|
6920
|
+
/** Undefined means no declarative children: preserve the parent's original series array. */
|
|
6921
|
+
function readChartSeries(host) {
|
|
6922
|
+
const children = Array.from(host.children).filter(child => isSeries(child) && !child.getAttribute('slot'));
|
|
6923
|
+
if (!children.length)
|
|
6924
|
+
return undefined;
|
|
6925
|
+
return children.map(child => {
|
|
6926
|
+
const series = { data: [] };
|
|
6927
|
+
for (const [prop, field] of Object.entries(CHART_SERIES_FIELDS)) {
|
|
6928
|
+
const value = readSeriesField(prop, child[prop]);
|
|
6929
|
+
if (value !== undefined)
|
|
6930
|
+
series[field] = value;
|
|
6931
|
+
}
|
|
6932
|
+
return series;
|
|
6933
|
+
});
|
|
6934
|
+
}
|
|
6935
|
+
/** Observe membership/order/slot changes and typed prop assignments; batch a burst into one refeed. */
|
|
6936
|
+
function observeChartSeries(host, changed) {
|
|
6937
|
+
let active = true;
|
|
6938
|
+
let queued = false;
|
|
6939
|
+
const refresh = () => {
|
|
6940
|
+
if (!active || queued)
|
|
6941
|
+
return;
|
|
6942
|
+
queued = true;
|
|
6943
|
+
queueMicrotask(() => {
|
|
6944
|
+
queued = false;
|
|
6945
|
+
if (active)
|
|
6946
|
+
changed(readChartSeries(host));
|
|
6947
|
+
});
|
|
6948
|
+
};
|
|
6949
|
+
const onChange = (event) => {
|
|
6950
|
+
const child = event.target;
|
|
6951
|
+
if (child?.parentElement === host && isSeries(child) && !child.getAttribute('slot'))
|
|
6952
|
+
refresh();
|
|
6953
|
+
};
|
|
6954
|
+
const observer = typeof MutationObserver === 'undefined' ? undefined : new MutationObserver(records => {
|
|
6955
|
+
if (records.some(record => record.type === 'childList' ? record.target === host
|
|
6956
|
+
: record.target.nodeType === 1 && record.target.parentElement === host && isSeries(record.target)))
|
|
6957
|
+
refresh();
|
|
6958
|
+
});
|
|
6959
|
+
observer?.observe(host, { childList: true, attributes: true, attributeFilter: ['slot'], subtree: true });
|
|
6960
|
+
host.addEventListener(CHART_SERIES_CHANGE, onChange);
|
|
6961
|
+
changed(readChartSeries(host));
|
|
6962
|
+
return () => {
|
|
6963
|
+
active = false;
|
|
6964
|
+
observer?.disconnect();
|
|
6965
|
+
host.removeEventListener(CHART_SERIES_CHANGE, onChange);
|
|
6966
|
+
};
|
|
6967
|
+
}
|
|
6968
|
+
|
|
6887
6969
|
/*
|
|
6888
6970
|
* Developer-injectable chart tooltips
|
|
6889
6971
|
* ===========================================================
|
|
@@ -16296,6 +16378,7 @@ class MdAreaChart {
|
|
|
16296
16378
|
this.label = '';
|
|
16297
16379
|
/** Title alignment over the plot: `start` (left), `center`, or `end` (right). */
|
|
16298
16380
|
this.titleAlign = 'start';
|
|
16381
|
+
/** Data fallback when no direct, unslotted `md-chart-series` children are present. */
|
|
16299
16382
|
this.series = [];
|
|
16300
16383
|
this.curve = 'smooth';
|
|
16301
16384
|
/** Default stacking is `'normal'` (additive). */
|
|
@@ -16541,11 +16624,14 @@ class MdAreaChart {
|
|
|
16541
16624
|
this.moveKeyboardCursor(-1);
|
|
16542
16625
|
};
|
|
16543
16626
|
}
|
|
16627
|
+
get effectiveSeries() {
|
|
16628
|
+
return this.childSeries ?? this.series;
|
|
16629
|
+
}
|
|
16544
16630
|
/** A stable key per series — id, else label, else position. Suffixed on
|
|
16545
16631
|
* collision so two series sharing a label do not share a toggle. */
|
|
16546
16632
|
seriesKeys() {
|
|
16547
16633
|
const seen = new Map();
|
|
16548
|
-
return this.
|
|
16634
|
+
return this.effectiveSeries.map((s, i) => {
|
|
16549
16635
|
const base = s.id != null ? `id:${s.id}` : s.label != null ? `label:${s.label}` : `pos:${i}`;
|
|
16550
16636
|
const n = seen.get(base) ?? 0;
|
|
16551
16637
|
seen.set(base, n + 1);
|
|
@@ -16577,6 +16663,8 @@ class MdAreaChart {
|
|
|
16577
16663
|
}
|
|
16578
16664
|
}
|
|
16579
16665
|
disconnectedCallback() {
|
|
16666
|
+
this.disposeSeriesWatch?.();
|
|
16667
|
+
this.disposeSeriesWatch = undefined;
|
|
16580
16668
|
this.ro?.disconnect();
|
|
16581
16669
|
this.ro = null;
|
|
16582
16670
|
this.engine?.dispose();
|
|
@@ -16660,7 +16748,7 @@ class MdAreaChart {
|
|
|
16660
16748
|
}
|
|
16661
16749
|
/** Number of datapoints along x — the longest series, or the axis if longer. */
|
|
16662
16750
|
dataLength() {
|
|
16663
|
-
const longest = this.
|
|
16751
|
+
const longest = this.effectiveSeries.reduce((acc, s) => Math.max(acc, s.range?.length ?? s.data?.length ?? 0), 0);
|
|
16664
16752
|
return Math.max(longest, this.xAxis?.data?.length ?? 0);
|
|
16665
16753
|
}
|
|
16666
16754
|
/** Current window, defaulted to the full range and clamped to the data. */
|
|
@@ -16801,7 +16889,7 @@ class MdAreaChart {
|
|
|
16801
16889
|
buildSpec(t) {
|
|
16802
16890
|
const percentage = this.stack === 'percentage';
|
|
16803
16891
|
const yFmt = (v) => (this.valueFormatter ? this.valueFormatter(v) : v.toLocaleString(this.locale || undefined));
|
|
16804
|
-
// Zoom is a view: slice what the engine draws, leave `this.
|
|
16892
|
+
// Zoom is a view: slice what the engine draws, leave `this.effectiveSeries` alone.
|
|
16805
16893
|
// Index-addressed options (pointSymbols) are rebased into window
|
|
16806
16894
|
// coordinates, and anything outside the window is dropped.
|
|
16807
16895
|
const zw = this.zoomWin ? this.win() : null;
|
|
@@ -16819,7 +16907,7 @@ class MdAreaChart {
|
|
|
16819
16907
|
};
|
|
16820
16908
|
const keys = this.seriesKeys();
|
|
16821
16909
|
return {
|
|
16822
|
-
series: this.
|
|
16910
|
+
series: this.effectiveSeries.map((s, i) => ({
|
|
16823
16911
|
label: s.label ?? `Series ${i + 1}`,
|
|
16824
16912
|
color: resolveSeriesColor(this.el, s.color, pickPaletteColor(t.palette, i)),
|
|
16825
16913
|
// A range series draws from its band; `data` only keeps the row count
|
|
@@ -16902,7 +16990,7 @@ class MdAreaChart {
|
|
|
16902
16990
|
this.rememberLegendToggle(item.seriesIndex, !!item.hidden);
|
|
16903
16991
|
this.mdLegendClick.emit({
|
|
16904
16992
|
seriesIndex: item.seriesIndex,
|
|
16905
|
-
seriesId: this.
|
|
16993
|
+
seriesId: this.effectiveSeries[item.seriesIndex]?.id,
|
|
16906
16994
|
selected: !item.hidden,
|
|
16907
16995
|
});
|
|
16908
16996
|
},
|
|
@@ -16928,7 +17016,7 @@ class MdAreaChart {
|
|
|
16928
17016
|
axisValue: this.xAxis?.data?.[abs],
|
|
16929
17017
|
seriesValues: values.map((v) => ({
|
|
16930
17018
|
seriesIndex: v.seriesIndex,
|
|
16931
|
-
seriesId: this.
|
|
17019
|
+
seriesId: this.effectiveSeries[v.seriesIndex]?.id,
|
|
16932
17020
|
label: v.label,
|
|
16933
17021
|
dataIndex: v.value == null ? -1 : abs,
|
|
16934
17022
|
value: v.value,
|
|
@@ -16948,7 +17036,7 @@ class MdAreaChart {
|
|
|
16948
17036
|
/** The payload shared by the three per-series click events (marker / line /
|
|
16949
17037
|
* area) — same shape, different gesture. */
|
|
16950
17038
|
clickDetail(si, di, e) {
|
|
16951
|
-
const s = this.
|
|
17039
|
+
const s = this.effectiveSeries[si];
|
|
16952
17040
|
if (!s)
|
|
16953
17041
|
return null;
|
|
16954
17042
|
const abs = di + (this.zoomWin ? this.win().start : 0);
|
|
@@ -16966,7 +17054,7 @@ class MdAreaChart {
|
|
|
16966
17054
|
const hp = this.engine?.getScene()?.hoverPoints;
|
|
16967
17055
|
if (hp)
|
|
16968
17056
|
return hp.map((h) => h.seriesIndex);
|
|
16969
|
-
return this.
|
|
17057
|
+
return this.effectiveSeries.map((_, i) => i).filter((i) => !this.effectiveSeries[i].hidden);
|
|
16970
17058
|
}
|
|
16971
17059
|
rebuildA11yTable() {
|
|
16972
17060
|
if (!this.a11yTableHost)
|
|
@@ -16977,7 +17065,7 @@ class MdAreaChart {
|
|
|
16977
17065
|
xAxisData: this.xAxis?.data,
|
|
16978
17066
|
xValueFormatter: this.xAxis?.valueFormatter ?? ((v) => defaultValueFormatter(v, this.locale)),
|
|
16979
17067
|
locale: this.locale,
|
|
16980
|
-
series: this.
|
|
17068
|
+
series: this.effectiveSeries,
|
|
16981
17069
|
valueFormatter: this.valueFormatter,
|
|
16982
17070
|
labels: this.tableLabels,
|
|
16983
17071
|
});
|
|
@@ -17008,27 +17096,32 @@ class MdAreaChart {
|
|
|
17008
17096
|
buildChartSummary({
|
|
17009
17097
|
title: this.label,
|
|
17010
17098
|
chartType: 'area',
|
|
17011
|
-
seriesCount: this.
|
|
17099
|
+
seriesCount: this.effectiveSeries.length,
|
|
17012
17100
|
locale: this.locale,
|
|
17013
17101
|
xMin: xValues[0],
|
|
17014
17102
|
xMax: xValues[xValues.length - 1],
|
|
17015
17103
|
});
|
|
17016
17104
|
// While loading, the loader owns the box — an empty-state message under it
|
|
17017
17105
|
// would just be the wrong answer to "where is my data?".
|
|
17018
|
-
const empty = this.
|
|
17019
|
-
return (hAsync(Host, { key: '
|
|
17106
|
+
const empty = this.effectiveSeries.length === 0 && !this.loading;
|
|
17107
|
+
return (hAsync(Host, { key: 'e1d6a86a06af8d582bab9e0723926854f260a2dd', class: {
|
|
17020
17108
|
'md-area-chart': true,
|
|
17021
17109
|
'md-area-chart--empty': empty,
|
|
17022
17110
|
'md-area-chart--mounted': this.mounted,
|
|
17023
17111
|
'md-area-chart--zoom-slider': this.zoomSliderOn,
|
|
17024
17112
|
'md-area-chart--zoom-drag': this.zoomInside,
|
|
17025
|
-
}, role: "figure", "aria-label": summary, "aria-busy": this.loading ? 'true' : null, style: this.heightProp ? { blockSize: this.heightProp } : undefined, onPointerDown: this.onPlotPointerDown, onPointerMove: this.onPointerMove, onPointerUp: this.onPointerUp, onPointerCancel: this.onPointerUp, onDblClick: this.onPlotDblClick }, hAsync("header", { key: '
|
|
17113
|
+
}, role: "figure", "aria-label": summary, "aria-busy": this.loading ? 'true' : null, style: this.heightProp ? { blockSize: this.heightProp } : undefined, onPointerDown: this.onPlotPointerDown, onPointerMove: this.onPointerMove, onPointerUp: this.onPointerUp, onPointerCancel: this.onPointerUp, onDblClick: this.onPlotDblClick }, hAsync("header", { key: 'd9c90f67b2b223144eab498e256e700a78e9f156', class: "md-area-chart__header", part: "header" }, hAsync("slot", { key: 'de542d5224f271f17109f5f96b8390cd23252a2c', name: "header" })), hAsync("div", { key: '4b42fb7bc0fbd428907897d6a0127a80496a1b2a', class: "md-area-chart__canvas", part: "canvas", ref: el => this.bindChartHost(el), tabindex: empty ? undefined : '0', role: empty ? undefined : 'application', "aria-label": empty ? undefined : this.labelPlot, onKeyDown: this.onPlotKeyDown, onBlur: this.onPlotBlur }), empty && (hAsync("div", { key: '1dc777e423e31543a01918bdfac703dab5466daf', class: "md-area-chart__empty", part: "empty" }, hAsync("slot", { key: 'a106e9818232ea63a0fb6396555ad0baa2f3cd5f', name: "empty" }, this.labelEmpty))), this.loading && (hAsync("div", { key: '72a708cfa7ab261d9ccf484da45fb2454528ae46', class: "md-area-chart__loading", part: "loading", role: "status" }, hAsync("slot", { key: 'e50d25b2a0b637f2bc696c82c2e39ea4506f1d3b', name: "loader" }, hAsync("slot", { key: '851034f2fbff9532f4a194ab7c1f4e41b7633313', name: "loading" }, hAsync("md-progress-indicator", { key: 'b37be47509aa8f557421f58907af06a2ed1a8eb7', class: "md-area-chart__spinner", variant: "circular", indeterminate: true, label: this.loadingLabel }), hAsync("span", { key: 'c7c291984cd9ea8f1a18d6c1961d10f8fe48387a', class: "md-area-chart__loading-text" }, this.loadingLabel))))), this.dragBand && this.plotRect() && (hAsync("div", { key: 'efeb99c9ed6f853d76f4ea843957fd1fddb3115f', class: "md-area-chart__zoom-band", part: "zoom-band", style: this.zoomBandStyle() })), this.zoomSliderOn && this.renderZoomSlider(), hAsync("footer", { key: '8776c644043319dc585a8eb9895e4638b7d7dc36', class: "md-area-chart__footer", part: "footer" }, hAsync("slot", { key: '50bbc71b38fcf3790bedbe53c4cafd86f2c05fef', name: "footer" })), hAsync("div", { key: 'd4e063549373e4332fdf785325376fb9e3eb6c4c', class: "md-area-chart__a11y-table", ref: el => this.bindA11yTableHost(el) }), hAsync("div", { key: '6c2d8ec7370568d3d9589da8acb1a951bd46eff2', class: "md-area-chart__live", role: "status", "aria-live": "polite", "aria-atomic": "true" }, this.announcement)));
|
|
17026
17114
|
}
|
|
17027
17115
|
componentWillLoad() {
|
|
17028
17116
|
}
|
|
17029
17117
|
componentDidRender() {
|
|
17030
17118
|
}
|
|
17031
17119
|
connectedCallback() {
|
|
17120
|
+
this.disposeSeriesWatch?.();
|
|
17121
|
+
this.disposeSeriesWatch = observeChartSeries(this.el, series => {
|
|
17122
|
+
this.childSeries = series;
|
|
17123
|
+
this.onAnyPropChange();
|
|
17124
|
+
});
|
|
17032
17125
|
}
|
|
17033
17126
|
componentShouldUpdate() {
|
|
17034
17127
|
return true;
|
|
@@ -17158,6 +17251,7 @@ class MdAreaChart {
|
|
|
17158
17251
|
"labelPlot": [1, "label-plot"],
|
|
17159
17252
|
"labelPoint": [1, "label-point"],
|
|
17160
17253
|
"density": [514],
|
|
17254
|
+
"childSeries": [32],
|
|
17161
17255
|
"mounted": [32],
|
|
17162
17256
|
"kbIndex": [32],
|
|
17163
17257
|
"announcement": [32],
|
|
@@ -19930,7 +20024,7 @@ class MdBadge {
|
|
|
19930
20024
|
const hasLabel = !isSmall && !!display;
|
|
19931
20025
|
const hasIcon = !isSmall && (!!this.icon || this.hasSlottedIcon);
|
|
19932
20026
|
const hasContent = hasLabel || hasIcon;
|
|
19933
|
-
return (hAsync(Host, { key: '
|
|
20027
|
+
return (hAsync(Host, { key: '83264af1e7312e733e8fd53f971f4ba529f6d27e', class: {
|
|
19934
20028
|
'md-badge': true,
|
|
19935
20029
|
'md-badge--small': isSmall,
|
|
19936
20030
|
'md-badge--large': !isSmall,
|
|
@@ -19938,7 +20032,7 @@ class MdBadge {
|
|
|
19938
20032
|
// the base rule already is, so a `--rect` class would name nothing.
|
|
19939
20033
|
'md-badge--circle': this.shape === 'circle',
|
|
19940
20034
|
'md-badge--has-content': hasContent,
|
|
19941
|
-
}, role: "status", "aria-label": this.accessibleLabel }, !isSmall && (hAsync("slot", { key: '
|
|
20035
|
+
}, role: "status", "aria-label": this.accessibleLabel }, !isSmall && (hAsync("slot", { key: '7d4447cba66e701e21a6656084743e48cc8d72c8', name: "icon", onSlotchange: this.readSlottedIcon }, this.icon ? (hAsync("span", { class: "md-badge__icon material-symbols-outlined", part: "icon", "aria-hidden": "true" }, this.icon)) : null)), hasLabel && (hAsync("span", { key: '91fc96e5974a0ba1d8d955e69b769d9f23f035d4', class: "md-badge__label", part: "label" }, display))));
|
|
19942
20036
|
}
|
|
19943
20037
|
componentDidLoad() {
|
|
19944
20038
|
}
|
|
@@ -19998,6 +20092,7 @@ class MdBarChart {
|
|
|
19998
20092
|
this.label = '';
|
|
19999
20093
|
/** Title alignment over the plot: `start` (left), `center`, or `end` (right). */
|
|
20000
20094
|
this.titleAlign = 'start';
|
|
20095
|
+
/** Data fallback when no direct, unslotted `md-chart-series` children are present. */
|
|
20001
20096
|
this.series = [];
|
|
20002
20097
|
/** Bar layout — `'horizontal'` swaps categories onto the y axis. */
|
|
20003
20098
|
this.layout = 'vertical';
|
|
@@ -20280,11 +20375,14 @@ class MdBarChart {
|
|
|
20280
20375
|
this.moveKeyboardCursor(-1);
|
|
20281
20376
|
};
|
|
20282
20377
|
}
|
|
20378
|
+
get effectiveSeries() {
|
|
20379
|
+
return this.childSeries ?? this.series;
|
|
20380
|
+
}
|
|
20283
20381
|
/** A stable key per series — id, else label, else position. Suffixed on
|
|
20284
20382
|
* collision so two series sharing a label do not share a toggle. */
|
|
20285
20383
|
seriesKeys() {
|
|
20286
20384
|
const seen = new Map();
|
|
20287
|
-
return this.
|
|
20385
|
+
return this.effectiveSeries.map((s, i) => {
|
|
20288
20386
|
const base = s.id != null ? `id:${s.id}` : s.label != null ? `label:${s.label}` : `pos:${i}`;
|
|
20289
20387
|
const n = seen.get(base) ?? 0;
|
|
20290
20388
|
seen.set(base, n + 1);
|
|
@@ -20316,6 +20414,8 @@ class MdBarChart {
|
|
|
20316
20414
|
}
|
|
20317
20415
|
}
|
|
20318
20416
|
disconnectedCallback() {
|
|
20417
|
+
this.disposeSeriesWatch?.();
|
|
20418
|
+
this.disposeSeriesWatch = undefined;
|
|
20319
20419
|
this.ro?.disconnect();
|
|
20320
20420
|
this.ro = null;
|
|
20321
20421
|
this.engine?.dispose();
|
|
@@ -20457,7 +20557,7 @@ class MdBarChart {
|
|
|
20457
20557
|
}
|
|
20458
20558
|
/** Number of categories — the longest series, or the category axis if longer. */
|
|
20459
20559
|
dataLength() {
|
|
20460
|
-
const s = (this.
|
|
20560
|
+
const s = (this.effectiveSeries ?? []).reduce((acc, d) => Math.max(acc, d?.data?.length ?? 0), 0);
|
|
20461
20561
|
return Math.max(s, this.xAxis?.data?.length ?? 0);
|
|
20462
20562
|
}
|
|
20463
20563
|
/** Absolute index of the window's first visible category (0 when unzoomed). */
|
|
@@ -20599,7 +20699,7 @@ class MdBarChart {
|
|
|
20599
20699
|
const percentage = this.stack === 'percentage';
|
|
20600
20700
|
const vFmt = (v) => (this.valueFormatter ? this.valueFormatter(v) : v.toLocaleString(this.locale || undefined));
|
|
20601
20701
|
const keys = this.seriesKeys();
|
|
20602
|
-
// Zoom is a view: slice what the engine draws, leave `this.
|
|
20702
|
+
// Zoom is a view: slice what the engine draws, leave `this.effectiveSeries` alone.
|
|
20603
20703
|
// Per-category options (`data`, `range`) are sliced; index-keyed maps
|
|
20604
20704
|
// (`pointWidths`, `pointColors`) are rebased into window coordinates and
|
|
20605
20705
|
// anything outside the window is dropped.
|
|
@@ -20617,7 +20717,7 @@ class MdBarChart {
|
|
|
20617
20717
|
return out;
|
|
20618
20718
|
};
|
|
20619
20719
|
return {
|
|
20620
|
-
series: this.
|
|
20720
|
+
series: this.effectiveSeries.map((s, i) => {
|
|
20621
20721
|
let pointColors;
|
|
20622
20722
|
if (s.pointColors) {
|
|
20623
20723
|
const resolved = {};
|
|
@@ -20719,12 +20819,12 @@ class MdBarChart {
|
|
|
20719
20819
|
this.rememberLegendToggle(item.seriesIndex, !!item.hidden);
|
|
20720
20820
|
this.mdLegendClick.emit({
|
|
20721
20821
|
seriesIndex: item.seriesIndex,
|
|
20722
|
-
seriesId: this.
|
|
20822
|
+
seriesId: this.effectiveSeries[item.seriesIndex]?.id,
|
|
20723
20823
|
selected: !item.hidden,
|
|
20724
20824
|
});
|
|
20725
20825
|
},
|
|
20726
20826
|
onPointClick: (si, di, e) => {
|
|
20727
|
-
const s = this.
|
|
20827
|
+
const s = this.effectiveSeries[si];
|
|
20728
20828
|
if (!s)
|
|
20729
20829
|
return;
|
|
20730
20830
|
const abs = di + this.winStart(); // windowed → absolute (see onHover)
|
|
@@ -20747,7 +20847,7 @@ class MdBarChart {
|
|
|
20747
20847
|
const hp = this.engine?.getScene()?.hoverPoints;
|
|
20748
20848
|
if (hp)
|
|
20749
20849
|
return hp.map((h) => h.seriesIndex);
|
|
20750
|
-
return this.
|
|
20850
|
+
return this.effectiveSeries.map((_, i) => i).filter((i) => !this.effectiveSeries[i].hidden);
|
|
20751
20851
|
}
|
|
20752
20852
|
rebuildA11yTable() {
|
|
20753
20853
|
if (!this.a11yTableHost)
|
|
@@ -20758,7 +20858,7 @@ class MdBarChart {
|
|
|
20758
20858
|
xAxisData: this.xAxis?.data,
|
|
20759
20859
|
xValueFormatter: this.xAxis?.valueFormatter ?? ((v) => defaultValueFormatter(v, this.locale)),
|
|
20760
20860
|
locale: this.locale,
|
|
20761
|
-
series: this.
|
|
20861
|
+
series: this.effectiveSeries,
|
|
20762
20862
|
valueFormatter: this.valueFormatter,
|
|
20763
20863
|
});
|
|
20764
20864
|
}
|
|
@@ -20767,7 +20867,7 @@ class MdBarChart {
|
|
|
20767
20867
|
* series present at that category. */
|
|
20768
20868
|
emitBarClickForCategory(dataIndex, nativeEvent) {
|
|
20769
20869
|
const si = this.visibleSeriesIndices()[0] ?? 0;
|
|
20770
|
-
const s = this.
|
|
20870
|
+
const s = this.effectiveSeries[si];
|
|
20771
20871
|
if (!s)
|
|
20772
20872
|
return;
|
|
20773
20873
|
// `dataIndex` is the keyboard cursor, which walks the windowed scene —
|
|
@@ -20806,14 +20906,14 @@ class MdBarChart {
|
|
|
20806
20906
|
render() {
|
|
20807
20907
|
const xValues = this.xAxis?.data ?? [];
|
|
20808
20908
|
const summary = buildChartSummary({
|
|
20809
|
-
title: this.label, chartType: 'bar', seriesCount: this.
|
|
20909
|
+
title: this.label, chartType: 'bar', seriesCount: this.effectiveSeries.length,
|
|
20810
20910
|
xMin: xValues[0],
|
|
20811
20911
|
xMax: xValues[xValues.length - 1],
|
|
20812
20912
|
});
|
|
20813
20913
|
// While loading, the loader owns the box — an empty-state message under it
|
|
20814
20914
|
// answers "no data" to a question nobody asked yet.
|
|
20815
|
-
const empty = this.
|
|
20816
|
-
return (hAsync(Host, { key: '
|
|
20915
|
+
const empty = this.effectiveSeries.length === 0 && !this.loading;
|
|
20916
|
+
return (hAsync(Host, { key: '0cd150a6cd43a9624df1e91dc6a4d5fd2de47167', class: {
|
|
20817
20917
|
'md-bar-chart': true,
|
|
20818
20918
|
'md-bar-chart--empty': empty,
|
|
20819
20919
|
'md-bar-chart--loading': this.loading,
|
|
@@ -20821,13 +20921,18 @@ class MdBarChart {
|
|
|
20821
20921
|
'md-bar-chart--zoom-slider': this.zoomSliderOn,
|
|
20822
20922
|
'md-bar-chart--zoom-drag': this.zoomInside,
|
|
20823
20923
|
[`md-bar-chart--${this.layout}`]: true,
|
|
20824
|
-
}, role: "figure", "aria-label": summary, "aria-busy": this.loading ? 'true' : null, style: this.heightProp ? { blockSize: this.heightProp } : undefined, onPointerDown: this.onPlotPointerDown, onPointerMove: this.onPointerMove, onPointerUp: this.onPointerUp, onPointerCancel: this.onPointerUp, onDblClick: this.onPlotDblClick }, hAsync("header", { key: '
|
|
20924
|
+
}, role: "figure", "aria-label": summary, "aria-busy": this.loading ? 'true' : null, style: this.heightProp ? { blockSize: this.heightProp } : undefined, onPointerDown: this.onPlotPointerDown, onPointerMove: this.onPointerMove, onPointerUp: this.onPointerUp, onPointerCancel: this.onPointerUp, onDblClick: this.onPlotDblClick }, hAsync("header", { key: '1d02a927cb9221ad712b247dce5af95e25df7a50', class: "md-bar-chart__header", part: "header" }, hAsync("slot", { key: 'd7b4ab15ec50c6e4c6e4485f549d105503d4ce62', name: "header" })), hAsync("div", { key: '7dc547fc147616b9429d6ab181b53e44f3ef55b5', class: "md-bar-chart__canvas", part: "canvas", ref: el => this.bindChartHost(el), tabindex: empty ? undefined : '0', role: empty ? undefined : 'application', "aria-label": empty ? undefined : this.labelPlot, onKeyDown: this.onPlotKeyDown, onBlur: this.onPlotBlur }), empty && (hAsync("div", { key: '0d474427a5aa1598f83eef2d76142c25f27e4e55', class: "md-bar-chart__empty", part: "empty" }, hAsync("slot", { key: '4508790960fde889c1a450dad89ccd99a56fba89', name: "empty" }, "No data to display"))), this.loading && (hAsync("div", { key: '662cb4c5084a7c90f117c534c9d0533ddbe09bf7', class: "md-bar-chart__loading", part: "loading", role: "status" }, hAsync("slot", { key: '291c316afbaaf3881b8cbac54de7eaf3947158cc', name: "loader" }, hAsync("slot", { key: '4e77af0daf1fbaf6dc1ea4fa9bab9d830f6a1d87', name: "loading" }, hAsync("md-progress-indicator", { key: '2e2765a26375f0ccbb2d0ba0295d396bbc4a0785', class: "md-bar-chart__spinner", variant: "circular", indeterminate: true, label: this.loadingLabel }), hAsync("span", { key: '660e9a29a56caa3e3216ac2daa036d38da6f8c9c', class: "md-bar-chart__loading-text" }, this.loadingLabel))))), this.dragBand && Math.abs(this.dragBand.x2 - this.dragBand.x1) > 1 && (hAsync("div", { key: '0478897fefb6f9de9d82ffd69f842deb98288d8c', class: "md-bar-chart__zoom-band", part: "zoom-band", style: this.zoomBandStyle() })), this.zoomSliderOn && this.renderZoomSlider(), hAsync("footer", { key: '317f0bb37990c20cfd079b3823269165d8bcc7b2', class: "md-bar-chart__footer", part: "footer" }, hAsync("slot", { key: '8a91dae6842714150327a01375d2544fea61c6c4', name: "footer" })), hAsync("div", { key: '23b3b8b99eaf7ef0e149bd2bf02b37117d6e546b', class: "md-bar-chart__a11y-table", ref: el => this.bindA11yTableHost(el) }), hAsync("div", { key: 'a488272a4cdbbdf993648564e135db22b89ec7c3', class: "md-bar-chart__live", role: "status", "aria-live": "polite", "aria-atomic": "true" }, this.announcement)));
|
|
20825
20925
|
}
|
|
20826
20926
|
componentWillLoad() {
|
|
20827
20927
|
}
|
|
20828
20928
|
componentDidRender() {
|
|
20829
20929
|
}
|
|
20830
20930
|
connectedCallback() {
|
|
20931
|
+
this.disposeSeriesWatch?.();
|
|
20932
|
+
this.disposeSeriesWatch = observeChartSeries(this.el, series => {
|
|
20933
|
+
this.childSeries = series;
|
|
20934
|
+
this.onAnyPropChange();
|
|
20935
|
+
});
|
|
20831
20936
|
}
|
|
20832
20937
|
componentShouldUpdate() {
|
|
20833
20938
|
return true;
|
|
@@ -20971,6 +21076,7 @@ class MdBarChart {
|
|
|
20971
21076
|
"loading": [516],
|
|
20972
21077
|
"loadingLabel": [1, "loading-label"],
|
|
20973
21078
|
"density": [514],
|
|
21079
|
+
"childSeries": [32],
|
|
20974
21080
|
"mounted": [32],
|
|
20975
21081
|
"kbIndex": [32],
|
|
20976
21082
|
"announcement": [32],
|
|
@@ -21326,12 +21432,12 @@ class MdBottomSheet {
|
|
|
21326
21432
|
render() {
|
|
21327
21433
|
const hasHeadline = !!this.headline;
|
|
21328
21434
|
const showHeader = hasHeadline || this.closeable || this.hasSlottedClose;
|
|
21329
|
-
return (hAsync(Host, { key: '
|
|
21435
|
+
return (hAsync(Host, { key: '10b8362bbd1cd3744c049464fdd9dc0620b33198', class: {
|
|
21330
21436
|
'md-bottom-sheet': true,
|
|
21331
21437
|
[`md-bottom-sheet--${this.variant}`]: true,
|
|
21332
21438
|
'md-bottom-sheet--open': this.open,
|
|
21333
21439
|
'md-bottom-sheet--no-drag-handle': !this.showDragHandle,
|
|
21334
|
-
} }, hAsync("div", { key: '
|
|
21440
|
+
} }, hAsync("div", { key: 'fc2f417e1dfa6f094c95451bdef796f3cd9bd79b', class: "md-bottom-sheet__scrim", part: "scrim", "aria-hidden": "true", onClick: this.handleScrimClick }), hAsync("div", { key: 'd006fcaf9fedbc0c879b11df53f71f7c2cf2bc31', class: "md-bottom-sheet__container", part: "container", role: "dialog", "aria-modal": "true", "aria-labelledby": hasHeadline ? this.headlineId : undefined, "aria-label": this.sheetAriaLabel ||
|
|
21335
21441
|
(!hasHeadline ? 'Bottom sheet' : undefined), "aria-hidden": !this.open ? 'true' : undefined,
|
|
21336
21442
|
// A closed sheet stays in the DOM (translated off-screen for the
|
|
21337
21443
|
// enter/exit motion, never display:none), so its focus guards,
|
|
@@ -21340,10 +21446,10 @@ class MdBottomSheet {
|
|
|
21340
21446
|
// drops the whole panel from focus order and the a11y tree while
|
|
21341
21447
|
// hidden; it flips off in the same render that clears aria-hidden,
|
|
21342
21448
|
// before the post-open focusFirst() runs.
|
|
21343
|
-
inert: !this.open, tabindex: -1, ref: (el) => (this.containerEl = el) }, hAsync("span", { key: '
|
|
21449
|
+
inert: !this.open, tabindex: -1, ref: (el) => (this.containerEl = el) }, hAsync("span", { key: '50ce8ae94ae172e46640ef02cfbfae42d04ff5d0', class: "md-bottom-sheet__focus-guard", tabindex: 0, "aria-hidden": "true", onFocus: this.handleEndGuardFocus }), this.showDragHandle && (hAsync("div", { key: '61bea96bd88f536dc6c0830b752e8e8fcddb8c31', class: {
|
|
21344
21450
|
'md-bottom-sheet__drag-handle': true,
|
|
21345
21451
|
'md-bottom-sheet__drag-handle--dragging': this.dragging,
|
|
21346
|
-
}, part: "drag-handle", "aria-hidden": "true", onPointerDown: this.handleDragStart, onPointerMove: this.handleDragMove, onPointerUp: this.handleDragEnd, onPointerCancel: this.handleDragEnd }, hAsync("div", { key: '
|
|
21452
|
+
}, part: "drag-handle", "aria-hidden": "true", onPointerDown: this.handleDragStart, onPointerMove: this.handleDragMove, onPointerUp: this.handleDragEnd, onPointerCancel: this.handleDragEnd }, hAsync("div", { key: '32efa419bcfc88dfc143fcecdab11a4f512fb293', class: "md-bottom-sheet__drag-handle-indicator", part: "drag-handle-indicator" }))), showHeader && (hAsync("div", { key: 'ddd4f3111bed34beea4fe0e571749b66ccae16b0', class: "md-bottom-sheet__header", part: "header" }, hasHeadline && (hAsync("span", { key: '8629f93606c43b1925c43c8180e42b53dc40b6ae', id: this.headlineId, class: "md-bottom-sheet__headline", part: "headline" }, hAsync("slot", { key: '3521e15e34ccbaa7fd867f902950451cc9920991', name: "headline" }, this.headline))), (this.closeable || this.hasSlottedClose) && (hAsync("div", { key: 'ccfbfc58c148bcb4464422df0c50d884f7904e75', class: "md-bottom-sheet__close", part: "close" }, hAsync("slot", { key: 'be547a2407f8839e6c43183fb950201d06e26278', name: "close" }, hAsync("md-icon-button", { key: '9488e922208c2f4e3c30386ceecb798f4c1f00af', variant: "standard", icon: "close", "aria-label": "Close bottom sheet", onClick: this.handleCloseClick })))))), this.topDivider && (hAsync("div", { key: '8fe32accb328e2a80363d6ce25249f892fc4bb3b', class: "md-bottom-sheet__divider", part: "divider-top", "aria-hidden": "true" })), hAsync("div", { key: '58ff5982c486e50621d22f58ea54e5b5e35aafe9', class: "md-bottom-sheet__content", part: "content" }, hAsync("slot", { key: '6c06425dcf03cc24d9c6b987d7ead2a3ba19af7b' })), this.hasActions && this.bottomDivider && (hAsync("div", { key: 'fa91ecd5e776d2d3430af4b9ce0c96ed5a03c3e3', class: "md-bottom-sheet__divider md-bottom-sheet__divider--bottom", part: "divider-bottom", "aria-hidden": "true" })), this.hasActions && (hAsync("div", { key: '22623a876efdde048908baa737d6bfdfcb104483', class: "md-bottom-sheet__actions", part: "actions" }, hAsync("slot", { key: 'd9501e7270315050ff2d5d811a7ce1b43044950a', name: "actions" }))), hAsync("span", { key: '79fb75c7c753c4a77edae15625118ebaaba4f203', class: "md-bottom-sheet__focus-guard", tabindex: 0, "aria-hidden": "true", onFocus: this.handleStartGuardFocus }))));
|
|
21347
21453
|
}
|
|
21348
21454
|
componentDidRender() {
|
|
21349
21455
|
}
|
|
@@ -22906,6 +23012,157 @@ MdCard.INTERACTIVE_CONTENT_SELECTOR = [
|
|
|
22906
23012
|
'md-autocomplete',
|
|
22907
23013
|
].join(',');
|
|
22908
23014
|
|
|
23015
|
+
const mdChartSeriesCss = () => `:host{display:none !important}`;
|
|
23016
|
+
|
|
23017
|
+
/**
|
|
23018
|
+
* Declarative series data for md-line-chart, md-area-chart and md-bar-chart.
|
|
23019
|
+
* Direct, unslotted children replace the parent's series array in DOM order.
|
|
23020
|
+
* This is a nonvisual descriptor; assign arrays and maps as JavaScript properties.
|
|
23021
|
+
*/
|
|
23022
|
+
class MdChartSeries {
|
|
23023
|
+
constructor(hostRef) {
|
|
23024
|
+
registerInstance(this, hostRef);
|
|
23025
|
+
/** Y values (number/null); md-line-chart also accepts {x,y} points and [x,y] tuples. Reassign to update. */
|
|
23026
|
+
this.data = [];
|
|
23027
|
+
}
|
|
23028
|
+
// Pure: the hydrate runtime calls deserializers before constructing an instance.
|
|
23029
|
+
deserializeStructuredProp(value, prop = '') {
|
|
23030
|
+
const parsed = value == null ? undefined : readSeriesField(prop, value);
|
|
23031
|
+
return parsed === undefined && prop === 'data' ? [] : parsed;
|
|
23032
|
+
}
|
|
23033
|
+
componentDidLoad() { this.notifyChange(); }
|
|
23034
|
+
notifyChange() {
|
|
23035
|
+
this.el.dispatchEvent(new CustomEvent(CHART_SERIES_CHANGE, { bubbles: true, composed: true }));
|
|
23036
|
+
}
|
|
23037
|
+
render() { return null; }
|
|
23038
|
+
get el() { return getElement(this); }
|
|
23039
|
+
static get watchers() { return {
|
|
23040
|
+
"label": [{
|
|
23041
|
+
"notifyChange": 0
|
|
23042
|
+
}],
|
|
23043
|
+
"data": [{
|
|
23044
|
+
"notifyChange": 0
|
|
23045
|
+
}],
|
|
23046
|
+
"stroke": [{
|
|
23047
|
+
"notifyChange": 0
|
|
23048
|
+
}],
|
|
23049
|
+
"fill": [{
|
|
23050
|
+
"notifyChange": 0
|
|
23051
|
+
}],
|
|
23052
|
+
"range": [{
|
|
23053
|
+
"notifyChange": 0
|
|
23054
|
+
}],
|
|
23055
|
+
"color": [{
|
|
23056
|
+
"notifyChange": 0
|
|
23057
|
+
}],
|
|
23058
|
+
"stack": [{
|
|
23059
|
+
"notifyChange": 0
|
|
23060
|
+
}],
|
|
23061
|
+
"curve": [{
|
|
23062
|
+
"notifyChange": 0
|
|
23063
|
+
}],
|
|
23064
|
+
"dash": [{
|
|
23065
|
+
"notifyChange": 0
|
|
23066
|
+
}],
|
|
23067
|
+
"seriesHidden": [{
|
|
23068
|
+
"notifyChange": 0
|
|
23069
|
+
}],
|
|
23070
|
+
"connectNulls": [{
|
|
23071
|
+
"notifyChange": 0
|
|
23072
|
+
}],
|
|
23073
|
+
"showMarks": [{
|
|
23074
|
+
"notifyChange": 0
|
|
23075
|
+
}],
|
|
23076
|
+
"symbol": [{
|
|
23077
|
+
"notifyChange": 0
|
|
23078
|
+
}],
|
|
23079
|
+
"pointSymbols": [{
|
|
23080
|
+
"notifyChange": 0
|
|
23081
|
+
}],
|
|
23082
|
+
"pointColors": [{
|
|
23083
|
+
"notifyChange": 0
|
|
23084
|
+
}],
|
|
23085
|
+
"pointWidths": [{
|
|
23086
|
+
"notifyChange": 0
|
|
23087
|
+
}],
|
|
23088
|
+
"overlay": [{
|
|
23089
|
+
"notifyChange": 0
|
|
23090
|
+
}],
|
|
23091
|
+
"widthRatio": [{
|
|
23092
|
+
"notifyChange": 0
|
|
23093
|
+
}],
|
|
23094
|
+
"seriesId": [{
|
|
23095
|
+
"notifyChange": 0
|
|
23096
|
+
}],
|
|
23097
|
+
"yAxisIndex": [{
|
|
23098
|
+
"notifyChange": 0
|
|
23099
|
+
}],
|
|
23100
|
+
"dashAfter": [{
|
|
23101
|
+
"notifyChange": 0
|
|
23102
|
+
}],
|
|
23103
|
+
"hollow": [{
|
|
23104
|
+
"notifyChange": 0
|
|
23105
|
+
}],
|
|
23106
|
+
"lineWidth": [{
|
|
23107
|
+
"notifyChange": 0
|
|
23108
|
+
}],
|
|
23109
|
+
"markSize": [{
|
|
23110
|
+
"notifyChange": 0
|
|
23111
|
+
}]
|
|
23112
|
+
}; }
|
|
23113
|
+
static get deserializers() { return {
|
|
23114
|
+
"data": [{
|
|
23115
|
+
"deserializeStructuredProp": 0
|
|
23116
|
+
}],
|
|
23117
|
+
"range": [{
|
|
23118
|
+
"deserializeStructuredProp": 0
|
|
23119
|
+
}],
|
|
23120
|
+
"pointSymbols": [{
|
|
23121
|
+
"deserializeStructuredProp": 0
|
|
23122
|
+
}],
|
|
23123
|
+
"pointColors": [{
|
|
23124
|
+
"deserializeStructuredProp": 0
|
|
23125
|
+
}],
|
|
23126
|
+
"pointWidths": [{
|
|
23127
|
+
"deserializeStructuredProp": 0
|
|
23128
|
+
}]
|
|
23129
|
+
}; }
|
|
23130
|
+
static get style() { return mdChartSeriesCss(); }
|
|
23131
|
+
static get cmpMeta() { return {
|
|
23132
|
+
"$flags$": 9,
|
|
23133
|
+
"$tagName$": "md-chart-series",
|
|
23134
|
+
"$members$": {
|
|
23135
|
+
"label": [1],
|
|
23136
|
+
"data": [16],
|
|
23137
|
+
"stroke": [4],
|
|
23138
|
+
"fill": [4],
|
|
23139
|
+
"range": [16],
|
|
23140
|
+
"color": [1],
|
|
23141
|
+
"stack": [1],
|
|
23142
|
+
"curve": [1],
|
|
23143
|
+
"dash": [1],
|
|
23144
|
+
"seriesHidden": [4, "series-hidden"],
|
|
23145
|
+
"connectNulls": [4, "connect-nulls"],
|
|
23146
|
+
"showMarks": [4, "show-marks"],
|
|
23147
|
+
"symbol": [1],
|
|
23148
|
+
"pointSymbols": [16, "point-symbols"],
|
|
23149
|
+
"pointColors": [16, "point-colors"],
|
|
23150
|
+
"pointWidths": [16, "point-widths"],
|
|
23151
|
+
"overlay": [4],
|
|
23152
|
+
"widthRatio": [2, "width-ratio"],
|
|
23153
|
+
"seriesId": [1, "series-id"],
|
|
23154
|
+
"yAxisIndex": [2, "y-axis-index"],
|
|
23155
|
+
"dashAfter": [2, "dash-after"],
|
|
23156
|
+
"hollow": [4],
|
|
23157
|
+
"lineWidth": [2, "line-width"],
|
|
23158
|
+
"markSize": [2, "mark-size"]
|
|
23159
|
+
},
|
|
23160
|
+
"$listeners$": undefined,
|
|
23161
|
+
"$lazyBundleId$": "-",
|
|
23162
|
+
"$attrsToReflect$": []
|
|
23163
|
+
}; }
|
|
23164
|
+
}
|
|
23165
|
+
|
|
22909
23166
|
const initialMotionCss$12 = () => `:host(:not([data-awc-motion-ready])),:host(:not([data-awc-motion-ready]))::before,:host(:not([data-awc-motion-ready]))::after,:host(:not([data-awc-motion-ready])) *,:host(:not([data-awc-motion-ready])) *::before,:host(:not([data-awc-motion-ready])) *::after{transition-property:none !important}`;
|
|
22910
23167
|
|
|
22911
23168
|
const mdCheckboxCss = () => `:host{--_container-color:var(--md-checkbox-container-color, transparent);--_selected-container-color:var(--md-checkbox-selected-container-color, var(--md-sys-color-primary));--_outline-color:var(--md-checkbox-outline-color, var(--md-sys-color-on-surface-variant));--_outline-width:var(--md-checkbox-outline-width, 2px);--_icon-color:var(--md-checkbox-icon-color, var(--md-sys-color-on-primary));--_container-shape:var(--md-checkbox-container-shape, 2px);--_container-size:var(--md-checkbox-container-size, max(14px, calc(18px + var(--md-sys-density-scale, 0) * 1px)));--_icon-size:var(--md-checkbox-icon-size, max(14px, calc(18px + var(--md-sys-density-scale, 0) * 1px)));--_touch-size:max(32px, calc(var(--md-checkbox-touch-target-size, 48px) + var(--md-sys-density-scale, 0) * 4px));--_state-layer-size:var(--md-checkbox-state-layer-size, min(40px, var(--_touch-size)));--_state-layer-color:var(--md-checkbox-state-layer-color, var(--md-sys-color-on-surface));--_selected-state-layer-color:var(--md-checkbox-selected-state-layer-color, var(--md-sys-color-primary));display:inline-flex;align-items:center;justify-content:center;position:relative;inline-size:var(--_touch-size);block-size:var(--_touch-size);cursor:pointer;border-radius:var(--md-sys-shape-corner-full, 50%);overflow:hidden;-webkit-tap-highlight-color:transparent;box-sizing:border-box;flex-shrink:0;vertical-align:middle;outline:none;color:var(--_state-layer-color)}:host(.md-checkbox--selected){color:var(--_selected-state-layer-color)}.md-checkbox__native{position:absolute;opacity:0;inline-size:0;block-size:0;pointer-events:none;margin:0}.md-checkbox__ripple-layer{position:absolute;inline-size:var(--_state-layer-size);block-size:var(--_state-layer-size);border-radius:var(--md-sys-shape-corner-full, 50%);overflow:hidden}:host(.md-checkbox--disabled) .md-checkbox__ripple-layer,:host([soft-disabled]) .md-checkbox__ripple-layer{display:none}.md-checkbox__state-layer{position:absolute;inline-size:var(--_state-layer-size);block-size:var(--_state-layer-size);border-radius:var(--md-sys-shape-corner-full, 50%);background-color:var(--_state-layer-color);opacity:0;transition:opacity var(--md-sys-motion-duration-short1, 100ms) var(--md-sys-motion-easing-standard, cubic-bezier(0.2, 0, 0, 1));pointer-events:none}:host(.md-checkbox--unselected:hover) .md-checkbox__state-layer{opacity:var(--md-sys-state-hover-state-layer-opacity, 0.08)}:host(.md-checkbox--unselected:focus-visible) .md-checkbox__state-layer{opacity:var(--md-sys-state-focus-state-layer-opacity, 0.12)}:host(.md-checkbox--unselected:active) .md-checkbox__state-layer{opacity:var(--md-sys-state-pressed-state-layer-opacity, 0.12)}:host(.md-checkbox--selected) .md-checkbox__state-layer{background-color:var(--_selected-state-layer-color)}:host(.md-checkbox--selected:hover) .md-checkbox__state-layer{opacity:var(--md-sys-state-hover-state-layer-opacity, 0.08)}:host(.md-checkbox--selected:focus-visible) .md-checkbox__state-layer{opacity:var(--md-sys-state-focus-state-layer-opacity, 0.12)}:host(.md-checkbox--selected:active) .md-checkbox__state-layer{opacity:var(--md-sys-state-pressed-state-layer-opacity, 0.12)}:host(:focus-visible){outline:2px solid var(--md-sys-color-secondary);outline-offset:calc((var(--_state-layer-size) - var(--_touch-size)) / 2)}.md-checkbox__container{position:relative;display:inline-flex;align-items:center;justify-content:center;inline-size:var(--_container-size);block-size:var(--_container-size);border-radius:var(--_container-shape);border:var(--_outline-width) solid var(--_outline-color);background-color:var(--_container-color);box-sizing:border-box;pointer-events:none;transition:background-color var(--md-sys-motion-duration-short2, 200ms) var(--md-sys-motion-easing-standard, cubic-bezier(0.2, 0, 0, 1)), border-color var(--md-sys-motion-duration-short2, 200ms) var(--md-sys-motion-easing-standard, cubic-bezier(0.2, 0, 0, 1)), transform var(--md-sys-motion-duration-medium4, 400ms) var(--md-sys-motion-easing-emphasized-decelerate, cubic-bezier(0.05, 0.7, 0.1, 1))}:host(.md-checkbox--selected) .md-checkbox__container{background-color:var(--_selected-container-color);border-color:var(--_selected-container-color)}:host(.md-checkbox--pressed) .md-checkbox__container{transform:scale(0.82);transition:background-color var(--md-sys-motion-duration-short2, 200ms) var(--md-sys-motion-easing-standard, cubic-bezier(0.2, 0, 0, 1)), border-color var(--md-sys-motion-duration-short2, 200ms) var(--md-sys-motion-easing-standard, cubic-bezier(0.2, 0, 0, 1)), transform var(--md-sys-motion-duration-short4, 200ms) var(--md-sys-motion-easing-standard, cubic-bezier(0.2, 0, 0, 1))}:host([aria-invalid="true"]) .md-checkbox__container{border-color:var(--md-sys-color-error)}:host([aria-invalid="true"].md-checkbox--selected) .md-checkbox__container{background-color:var(--md-sys-color-error);border-color:var(--md-sys-color-error)}.md-checkbox__icon{display:inline-flex;align-items:center;justify-content:center;inline-size:var(--_icon-size);block-size:var(--_icon-size);color:var(--_icon-color);overflow:visible}.md-checkbox__icon .material-symbols-outlined{font-family:var(--md-sys-icon-font-family, 'Material Symbols Outlined', 'Material Icons');font-size:var(--_icon-size);line-height:1;font-weight:normal;font-style:normal;letter-spacing:normal;text-transform:none;white-space:nowrap;direction:ltr;-webkit-font-smoothing:antialiased;font-variation-settings:'FILL' 1, 'wght' 600, 'GRAD' 0, 'opsz' 24}@keyframes md-checkbox-glyph-in{0%{transform:scale(0);opacity:0}60%{transform:scale(1.18);opacity:1}100%{transform:scale(1);opacity:1}}.md-checkbox__icon .md-checkbox__glyph--entering{animation:md-checkbox-glyph-in var(--md-sys-motion-duration-short2, 200ms) var(--md-sys-motion-easing-standard, cubic-bezier(0.2, 0, 0, 1)) both}:host(.md-checkbox--unselected) .md-checkbox__icon{opacity:0}:host(.md-checkbox--selected) .md-checkbox__icon{opacity:1}:host(.md-checkbox--disabled){cursor:default;pointer-events:none}:host(.md-checkbox--disabled.md-checkbox--unselected) .md-checkbox__container{border-color:color-mix(in srgb, var(--md-sys-color-on-surface) calc(var(--md-sys-state-disabled-content-opacity, 0.38) * 100%), transparent);background-color:transparent}:host(.md-checkbox--disabled.md-checkbox--selected) .md-checkbox__container{background-color:color-mix(in srgb, var(--md-sys-color-on-surface) calc(var(--md-sys-state-disabled-content-opacity, 0.38) * 100%), transparent);border-color:transparent}:host(.md-checkbox--disabled.md-checkbox--selected) .md-checkbox__icon{color:var(--md-sys-color-surface)}:host(.md-checkbox--disabled) .md-checkbox__state-layer{display:none}:host([soft-disabled]){cursor:default;pointer-events:auto}:host([soft-disabled].md-checkbox--unselected) .md-checkbox__container{border-color:color-mix(in srgb, var(--md-sys-color-on-surface) calc(var(--md-sys-state-disabled-content-opacity, 0.38) * 100%), transparent);background-color:transparent}:host([soft-disabled].md-checkbox--selected) .md-checkbox__container{background-color:color-mix(in srgb, var(--md-sys-color-on-surface) calc(var(--md-sys-state-disabled-content-opacity, 0.38) * 100%), transparent);border-color:transparent}:host([soft-disabled].md-checkbox--selected) .md-checkbox__icon{color:var(--md-sys-color-surface)}:host([soft-disabled]) .md-checkbox__state-layer{display:none}@media (prefers-reduced-motion: reduce){.md-checkbox__container,.md-checkbox__state-layer{transition:none}.md-checkbox__icon .md-checkbox__glyph--entering{animation:none}}@media (forced-colors: active){:host{forced-color-adjust:none}.md-checkbox__container{border-color:ButtonText;background-color:ButtonFace}:host(.md-checkbox--selected) .md-checkbox__container{background-color:Highlight;border-color:Highlight}:host(.md-checkbox--selected) .md-checkbox__icon{color:HighlightText}:host(:focus-visible){outline-color:Highlight}:host(.md-checkbox--disabled) .md-checkbox__container{border-color:GrayText;opacity:1}:host(.md-checkbox--disabled.md-checkbox--selected) .md-checkbox__container{background-color:GrayText;border-color:GrayText}.md-checkbox__state-layer{display:none}}:host([density='-1']){--md-sys-density-scale:-1}:host([density='-2']){--md-sys-density-scale:-2}:host([density='-3']){--md-sys-density-scale:-3}:host([density='-4']){--md-sys-density-scale:-4}.md-checkbox__target{position:relative;display:inline-flex;align-items:center;justify-content:center;inline-size:var(--_touch-size);block-size:var(--_touch-size);border-radius:var(--md-sys-shape-corner-full, 50%);overflow:hidden;flex-shrink:0}:host(.md-checkbox--has-support){display:inline-flex;flex-direction:column;align-items:flex-start;inline-size:var(--_touch-size);block-size:auto;overflow:visible;border-radius:0}.md-checkbox__support{display:block;margin-block-start:2px;margin-inline-start:calc((var(--_touch-size) - var(--_container-size)) / 2);inline-size:max-content;max-inline-size:min(60ch, calc(100vw - 48px));overflow-wrap:anywhere;font-family:var(--md-sys-typescale-body-small-font-family, Roboto, sans-serif);font-size:max(10px, calc(12px + var(--md-sys-density-scale, 0) * 0.5px));line-height:max(14px, calc(16px + var(--md-sys-density-scale, 0) * 0.5px));color:var(--md-checkbox-supporting-text-color, var(--md-sys-color-on-surface-variant, #49454F))}.md-checkbox__support--error{color:var(--md-checkbox-error-text-color, var(--md-sys-color-error, #B3261E))}:host([hidden]){display:none !important}`;
|
|
@@ -23196,7 +23453,7 @@ class MdCheckbox {
|
|
|
23196
23453
|
(tabindex present) widget descendant "even with aria-hidden" — so the
|
|
23197
23454
|
attribute is dropped entirely, leaving the host non-focusable. */
|
|
23198
23455
|
const decorative = this.el.getAttribute('aria-hidden') === 'true';
|
|
23199
|
-
return (hAsync(Host, { key: '
|
|
23456
|
+
return (hAsync(Host, { key: '229aabb586a8592b9b804c64105146b567875156', class: {
|
|
23200
23457
|
'md-checkbox': true,
|
|
23201
23458
|
'md-checkbox--checked': this.checked && !this.indeterminate,
|
|
23202
23459
|
'md-checkbox--indeterminate': this.indeterminate,
|
|
@@ -23206,10 +23463,10 @@ class MdCheckbox {
|
|
|
23206
23463
|
'md-checkbox--pressed': this.pressed,
|
|
23207
23464
|
'md-checkbox--prev-unselected': !this.prevChecked && !this.prevIndeterminate,
|
|
23208
23465
|
'md-checkbox--has-support': !!supportingMessage,
|
|
23209
|
-
}, role: "checkbox", "aria-invalid": this.invalid || hasError ? 'true' : undefined, "aria-checked": this.ariaCheckedValue, "aria-disabled": isEffectivelyDisabled ? 'true' : undefined, "aria-required": this.required ? 'true' : undefined, tabindex: decorative ? null : this.disabled ? '-1' : '0', onPointerDown: this.handlePointerDown, onPointerUp: this.handlePointerUp, onPointerLeave: this.handlePointerUp, onPointerCancel: this.handlePointerUp, onClick: this.handleClick, onKeyDown: this.handleKeyDown }, hAsync("span", { key: '
|
|
23466
|
+
}, role: "checkbox", "aria-invalid": this.invalid || hasError ? 'true' : undefined, "aria-checked": this.ariaCheckedValue, "aria-disabled": isEffectivelyDisabled ? 'true' : undefined, "aria-required": this.required ? 'true' : undefined, tabindex: decorative ? null : this.disabled ? '-1' : '0', onPointerDown: this.handlePointerDown, onPointerUp: this.handlePointerUp, onPointerLeave: this.handlePointerUp, onPointerCancel: this.handlePointerUp, onClick: this.handleClick, onKeyDown: this.handleKeyDown }, hAsync("span", { key: 'dd0724974ed10989d9f6d0dba721de7596cbc0a6', class: "md-checkbox__target", part: "target" }, hAsync("span", { key: 'e07899281ea71ef8976613748a16432bb905e607', class: "md-checkbox__ripple-layer", "aria-hidden": "true" }, hAsync("md-ripple", { key: '07b636c3a30aaaeacd41f2a2b93a50853ac603ec', disabled: isEffectivelyDisabled })), hAsync("span", { key: '1f6e794555d9153246bf79c3cf4cac612f413ac1', class: "md-checkbox__state-layer", part: "state-layer", "aria-hidden": "true" }), hAsync("span", { key: 'db8672d36fdc8f5760b8114723782c4a37b49031', class: "md-checkbox__container", part: "container" }, hAsync("span", { key: '720d73751bc3caccd29278707c4808728046201b', class: "md-checkbox__icon", part: "icon", "aria-hidden": "true" }, hAsync("span", { key: this.ariaCheckedValue, class: {
|
|
23210
23467
|
'material-symbols-outlined': true,
|
|
23211
23468
|
'md-checkbox__glyph--entering': isSelected && this.glyphEntering,
|
|
23212
|
-
} }, this.indeterminate ? 'remove' : 'check')))), supportingMessage && (hAsync("span", { key: '
|
|
23469
|
+
} }, this.indeterminate ? 'remove' : 'check')))), supportingMessage && (hAsync("span", { key: '7d213a6668088c6d31078a050038bcfb7a1f2ae0', id: `${this.uid}-support`, ref: (el) => { this.supportEl = el; }, part: "supporting-text", role: hasError ? 'alert' : undefined, class: {
|
|
23213
23470
|
'md-checkbox__support': true,
|
|
23214
23471
|
'md-checkbox__support--error': hasError,
|
|
23215
23472
|
} }, supportingMessage))));
|
|
@@ -23498,7 +23755,7 @@ class MdChip {
|
|
|
23498
23755
|
// remove button to nest.
|
|
23499
23756
|
const hostIsButton = this.isInteractiveHost && !showRemove;
|
|
23500
23757
|
const renderPrimary = this.isInteractiveHost && showRemove;
|
|
23501
|
-
return (hAsync(Host, { key: '
|
|
23758
|
+
return (hAsync(Host, { key: 'd1370b60dd886159eca8ffb08c05c10471b271c4', style: this.colorVars, class: {
|
|
23502
23759
|
'md-chip': true,
|
|
23503
23760
|
[`md-chip--${this.variant}`]: true,
|
|
23504
23761
|
'md-chip--selected': this.selected && this.isSelectable,
|
|
@@ -23512,7 +23769,7 @@ class MdChip {
|
|
|
23512
23769
|
'md-chip--disabled': isEffectivelyDisabled,
|
|
23513
23770
|
'md-chip--with-leading-icon': hasLeadingIcon || showCheckmark,
|
|
23514
23771
|
'md-chip--with-trailing-icon': hasTrailingIcon || showRemove,
|
|
23515
|
-
}, role: hostIsButton ? 'button' : 'group', "aria-roledescription": "chip", "aria-pressed": hostIsButton && this.isSelectable ? String(this.selected) : undefined, "aria-label": hostIsButton ? undefined : chipLabel || undefined, "aria-disabled": isEffectivelyDisabled ? 'true' : undefined, tabindex: hostIsButton ? (this.disabled ? '-1' : '0') : undefined, onClick: this.handleClick, onKeyDown: this.handleKeyDown }, hAsync("md-ripple", { key: '
|
|
23772
|
+
}, role: hostIsButton ? 'button' : 'group', "aria-roledescription": "chip", "aria-pressed": hostIsButton && this.isSelectable ? String(this.selected) : undefined, "aria-label": hostIsButton ? undefined : chipLabel || undefined, "aria-disabled": isEffectivelyDisabled ? 'true' : undefined, tabindex: hostIsButton ? (this.disabled ? '-1' : '0') : undefined, onClick: this.handleClick, onKeyDown: this.handleKeyDown }, hAsync("md-ripple", { key: '2bf472e6d6b56aedf2731b88883069d66ce32501', disabled: isEffectivelyDisabled }), hAsync("span", { key: 'ee61e36e2654e66be279906ad4814788b3df0e29', class: "md-chip__state-layer", part: "state-layer", "aria-hidden": "true" }), !this.elevated && hAsync("span", { key: '38834af77f262d5c26c605785d647d9dfa355a77', class: "md-chip__outline", part: "outline", "aria-hidden": "true" }), renderPrimary && (hAsync("span", { key: '35715bc99efe0a2b6640572386979b9ae4d59a63', class: "md-chip__primary", part: "primary", role: "button", tabindex: this.disabled ? '-1' : '0', "aria-labelledby": "md-chip-label-text", "aria-pressed": this.isSelectable ? String(this.selected) : undefined, "aria-disabled": isEffectivelyDisabled ? 'true' : undefined })), showCheckmark && (hAsync("span", { key: 'd876c1d67bf19e07a2f92a66651a5f1167999605', class: "md-chip__checkmark", part: "checkmark", "aria-hidden": "true" }, hAsync("svg", { key: 'e77004bb21be79d217fe4efb0f00a4138fc80aab', viewBox: "0 0 18 18", fill: "none" }, hAsync("path", { key: 'b29199ef6292c7b3ab6b33344f97e3b9e43534c2', d: "M6.75 12.127L3.623 9l-1.06 1.057L6.75 14.25l9-9-1.057-1.057L6.75 12.127z", fill: "currentColor" })))), hAsync("slot", { key: 'a4c2ece75d0740421038f52ae7cdd601e145b242', name: "leading-icon" }, hasLeadingIcon && !showCheckmark && (hAsync("span", { key: '07f5b41221d548a3a5a5515ea438c763bca6acc2', class: "md-chip__icon material-symbols-outlined", part: "icon", "aria-hidden": "true" }, this.icon))), hAsync("span", { key: 'd538030134ed3a48ef5ee7274515549cb676fab0', class: "md-chip__label", part: "label", id: "md-chip-label-text" }, hAsync("slot", { key: '490f81c8b1097bbaf38c2c8ed364a8f667179710' }, this.label)), showRemove ? (hAsync("button", { class: "md-chip__remove", part: "remove", type: "button", tabindex: this.disabled ? '-1' : '0', "aria-label": chipLabel ? `Remove ${chipLabel}` : 'Remove', disabled: isEffectivelyDisabled, onClick: this.handleRemoveClick, onKeyDown: this.handleRemoveKeyDown }, hAsync("slot", { name: "trailing-icon" }, hAsync("svg", { viewBox: "0 0 18 18", fill: "none", "aria-hidden": "true" }, hAsync("path", { d: "M14.25 4.808l-1.058-1.058L9 7.942 4.808 3.75 3.75 4.808 7.942 9 3.75 13.192l1.058 1.058L9 10.058l4.192 4.192 1.058-1.058L10.058 9l4.192-4.192z", fill: "currentColor" }))))) : (hAsync("slot", { name: "trailing-icon" }, hasTrailingIcon && (hAsync("span", { class: "md-chip__trailing-icon material-symbols-outlined", part: "trailing-icon", "aria-hidden": "true" }, this.trailingIcon))))));
|
|
23516
23773
|
}
|
|
23517
23774
|
componentWillLoad() {
|
|
23518
23775
|
}
|
|
@@ -27980,13 +28237,13 @@ class MdDialog {
|
|
|
27980
28237
|
// slotted content was provided, which made the slot effectively
|
|
27981
28238
|
// unreachable.
|
|
27982
28239
|
const hasHeadline = !!this.headline || this.hasSlottedHeadline;
|
|
27983
|
-
return (hAsync(Host, { key: '
|
|
28240
|
+
return (hAsync(Host, { key: '6f97d1da6bd3f09e7b11c6637d48bb1e502c5ff6', class: {
|
|
27984
28241
|
'md-dialog': true,
|
|
27985
28242
|
'md-dialog--open': this.open,
|
|
27986
28243
|
'md-dialog--fullscreen': this.fullscreen,
|
|
27987
28244
|
'md-dialog--animating': this.animating,
|
|
27988
28245
|
'md-dialog--has-icon': hasIcon,
|
|
27989
|
-
} }, !this.fullscreen && (hAsync("div", { key: '
|
|
28246
|
+
} }, !this.fullscreen && (hAsync("div", { key: '41f3cce89468d93dd53b11db6684c22e0a42f18b', class: "md-dialog__scrim", part: "scrim", "aria-hidden": "true", onClick: this.handleScrimClick })), hAsync("div", { key: '711cd32b071844868eb7d1cdd635d405426f8f0a', class: "md-dialog__container", part: "container", role: this.fullscreen ? 'dialog' : 'alertdialog', "aria-modal": "true", "aria-labelledby": hasHeadline ? this.headlineId : undefined, "aria-describedby": this.contentId, tabindex: -1, ref: (el) => (this.containerEl = el) }, this.fullscreen && (hAsync("div", { key: '0823fc188a887a375942988efb9314702dd2fbde', class: "md-dialog__header", part: "header" }, hAsync("button", { key: '397e4515f7047f3c8dd1905d23616b5863512ae8', class: "md-dialog__close-btn", part: "close-button", "aria-label": this.resolvedLabel(this.closeLabel, 'close'), onClick: this.handleCloseClick }, hAsync("svg", { key: '596269b5e12f3404b35a09c9ac5d09eb5a09422f', viewBox: "0 0 24 24", width: "24", height: "24", fill: "currentColor", "aria-hidden": "true" }, hAsync("path", { key: '32364ab11b8a0f28fe0d33c5275089e936d698b0', d: "M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z" }))), hasHeadline && (hAsync("span", { key: 'abc3ac4f72ecab93ab28c3c7f1e1832f603297fa', id: this.headlineId, class: "md-dialog__header-headline", part: "headline" }, this.headline)), hAsync("slot", { key: 'd0f5bbafcbbf7f880ec462e1d63d5ffea84be349', name: "header-action" }))), this.fullscreen && this.headerDivider && (hAsync("div", { key: 'e68e69fab6b7eff3340913ff3b995d5512507064', class: "md-dialog__divider", part: "divider", "aria-hidden": "true" })), !this.fullscreen && (hAsync("div", { key: 'b4a0b7ab089cb1a1c01829ffa5e29c4569bec2e3', class: "md-dialog__basic-header", part: "header" }, hAsync("slot", { key: '1024ada44519dac24a9eb785bc181ad671bec1df', name: "icon" }, this.icon && (hAsync("span", { key: '9fa8ef087372cf04514cb677d7490acf7da91b23', class: "md-dialog__icon material-symbols-outlined", part: "icon", "aria-hidden": "true" }, this.icon))), hasHeadline && (hAsync("div", { key: '178ca8ea9927cbfea1fea0e32ac895714cc3c22b', id: this.headlineId, class: "md-dialog__headline", part: "headline" }, hAsync("slot", { key: '14aec27a3dbd84eca816f8c5dd49a91ba352994f', name: "headline" }, this.headline))))), hAsync("div", { key: 'f7940ef2acd2323f1292ee202a25f77ba07febd4', id: this.contentId, class: "md-dialog__content", part: "content" }, hAsync("slot", { key: 'f16c17140adc1578ee9db912bacec586959cf20c' })), this.divider && (hAsync("div", { key: '915f6802dc245e47f8cc6bdc993bb9a1f1a35e1e', class: "md-dialog__divider", part: "divider", "aria-hidden": "true" })), this.renderActions())));
|
|
27990
28247
|
}
|
|
27991
28248
|
componentDidRender() {
|
|
27992
28249
|
}
|
|
@@ -28130,13 +28387,13 @@ class MdDivider {
|
|
|
28130
28387
|
this.vertical = false;
|
|
28131
28388
|
}
|
|
28132
28389
|
render() {
|
|
28133
|
-
return (hAsync(Host, { key: '
|
|
28390
|
+
return (hAsync(Host, { key: 'c5ae53f9d20e572c8f549cb5417fd7d70d823483', class: {
|
|
28134
28391
|
'md-divider': true,
|
|
28135
28392
|
'md-divider--inset': this.inset,
|
|
28136
28393
|
'md-divider--inset-start': this.insetStart,
|
|
28137
28394
|
'md-divider--inset-end': this.insetEnd,
|
|
28138
28395
|
'md-divider--vertical': this.vertical,
|
|
28139
|
-
}, role: "separator", "aria-orientation": this.vertical ? 'vertical' : 'horizontal' }, hAsync("div", { key: '
|
|
28396
|
+
}, role: "separator", "aria-orientation": this.vertical ? 'vertical' : 'horizontal' }, hAsync("div", { key: '1ab949a45c6da360c47f587127d675bb4779522d', class: "md-divider__line", part: "divider" })));
|
|
28140
28397
|
}
|
|
28141
28398
|
componentWillLoad() {
|
|
28142
28399
|
}
|
|
@@ -28325,7 +28582,7 @@ class MdFab {
|
|
|
28325
28582
|
const hasIcon = !!(this.menuIcon || this.icon);
|
|
28326
28583
|
const overridesSlottedIcon = this.menuIcon !== null && this.hasSlottedIcon;
|
|
28327
28584
|
const hasExplicitAriaLabel = this.authoredAccessibleName;
|
|
28328
|
-
return (hAsync(Host, { key: '
|
|
28585
|
+
return (hAsync(Host, { key: '014a3ab0edefe7c602058d30eb95a59e067177b1', class: {
|
|
28329
28586
|
'md-fab': true,
|
|
28330
28587
|
[`md-fab--${this.variant}`]: true,
|
|
28331
28588
|
// Fixed circular sizes apply only to FABs that never carry a label.
|
|
@@ -28336,7 +28593,7 @@ class MdFab {
|
|
|
28336
28593
|
'md-fab--lowered': this.lowered,
|
|
28337
28594
|
'md-fab--menu-icon': overridesSlottedIcon,
|
|
28338
28595
|
'md-fab--disabled': this.disabled || this.softDisabled,
|
|
28339
|
-
}, role: "button", "aria-label": hasLabel && !hasExplicitAriaLabel ? this.label : undefined, "aria-disabled": isEffectivelyDisabled ? 'true' : 'false', tabindex: this.disabled ? '-1' : '0', onClick: this.handleClick, onKeyDown: this.handleKeyDown }, this.ripple && hAsync("md-ripple", { key: '
|
|
28596
|
+
}, role: "button", "aria-label": hasLabel && !hasExplicitAriaLabel ? this.label : undefined, "aria-disabled": isEffectivelyDisabled ? 'true' : 'false', tabindex: this.disabled ? '-1' : '0', onClick: this.handleClick, onKeyDown: this.handleKeyDown }, this.ripple && hAsync("md-ripple", { key: '095cd5977d13dc2597ba4084dccf2ef5e7bfcd7c', disabled: isEffectivelyDisabled }), hAsync("span", { key: '3a4aef18a9d5dab3dbd1be06de31c7dcbda758d0', class: "md-fab__state-layer", part: "state-layer", "aria-hidden": "true" }), hAsync("slot", { key: '35c76fe5073b4ceefc446dcccbb1a4ef282a7944', name: "icon" }, hasIcon && hAsync("span", { key: '6246128d56446ab8097c0c374198b14ccd6d1b5c', class: "md-fab__icon material-symbols-outlined", part: "icon", "aria-hidden": "true" }, this.menuIcon || this.icon)), overridesSlottedIcon && hAsync("span", { key: 'c86363d51ee03e8f451f729e949b9f28ea87aa48', class: "md-fab__icon material-symbols-outlined", part: "icon", "aria-hidden": "true" }, this.menuIcon), hasLabel && hAsync("span", { key: '3fd5048d9786e1e5d1589b07f7321c206dc3671f', class: "md-fab__label", part: "label", "aria-hidden": !isExtended ? 'true' : undefined }, this.label)));
|
|
28340
28597
|
}
|
|
28341
28598
|
connectedCallback() {
|
|
28342
28599
|
}
|
|
@@ -29156,13 +29413,13 @@ class MdFabMenu {
|
|
|
29156
29413
|
}
|
|
29157
29414
|
/* ── Render ───────────────────────────────────────────── */
|
|
29158
29415
|
render() {
|
|
29159
|
-
return (hAsync(Host, { key: '
|
|
29416
|
+
return (hAsync(Host, { key: 'bf627e4349e28a06fae5da7448e7d5efe506a256', class: {
|
|
29160
29417
|
'md-fab-menu': true,
|
|
29161
29418
|
'md-fab-menu--open': this.open,
|
|
29162
29419
|
'md-fab-menu--closing': this.closing,
|
|
29163
29420
|
[`md-fab-menu--${this.variant}`]: true,
|
|
29164
29421
|
[`md-fab-menu--${this.effectivePlacement}`]: true,
|
|
29165
|
-
}, role: "menu", id: this.menuId, "aria-label": this.menuLabel, "aria-orientation": "vertical", "aria-hidden": (!this.open && !this.closing) ? 'true' : 'false', onKeyDown: this.handleKeyDown }, hAsync("div", { key: '
|
|
29422
|
+
}, role: "menu", id: this.menuId, "aria-label": this.menuLabel, "aria-orientation": "vertical", "aria-hidden": (!this.open && !this.closing) ? 'true' : 'false', onKeyDown: this.handleKeyDown }, hAsync("div", { key: '45501a7e11e1e8a433d8e883707da1b87a9ab73b', class: "md-fab-menu__container" }, hAsync("div", { key: '5233379b8773a7e963ea84222c4e5abc1fae648b', class: "md-fab-menu__items" }, hAsync("slot", { key: '7b6de0428eef650bb1dd6fdf996a2226c156ac99' })))));
|
|
29166
29423
|
}
|
|
29167
29424
|
componentWillLoad() {
|
|
29168
29425
|
}
|
|
@@ -29278,12 +29535,12 @@ class MdFabMenuItem {
|
|
|
29278
29535
|
render() {
|
|
29279
29536
|
const hasIcon = !!this.icon;
|
|
29280
29537
|
const effectivelyDisabled = this.isDisabled;
|
|
29281
|
-
return (hAsync(Host, { key: '
|
|
29538
|
+
return (hAsync(Host, { key: 'e855baef6055d8af0a820d88ff564e5211a3b292', class: {
|
|
29282
29539
|
'md-fab-menu-item': true,
|
|
29283
29540
|
'md-fab-menu-item--with-icon': hasIcon || this.hasSlottedIcon,
|
|
29284
29541
|
'md-fab-menu-item--disabled': effectivelyDisabled,
|
|
29285
29542
|
'md-fab-menu-item--roving-focus-visible': this.rovingFocusVisible,
|
|
29286
|
-
}, role: "menuitem", "aria-disabled": effectivelyDisabled ? 'true' : null, onClick: this.handleClick, onKeyDown: this.handleKeyDown }, hAsync("md-ripple", { key: '
|
|
29543
|
+
}, role: "menuitem", "aria-disabled": effectivelyDisabled ? 'true' : null, onClick: this.handleClick, onKeyDown: this.handleKeyDown }, hAsync("md-ripple", { key: '296cefa47445e8ef2bbb1a2a01deaa59f24960cb', disabled: effectivelyDisabled }), hAsync("span", { key: 'e3bec975f3fa831ddee752e9c6bb517b4897513a', class: "md-fab-menu-item__state-layer", part: "state-layer", "aria-hidden": "true" }), hAsync("slot", { key: '6e6b8d5d49cce47063b034b5f0a359836338b73b', name: "icon" }, hasIcon && (hAsync("span", { key: 'a7b3a54ae502448c30af78f907f3b82f56405ac6', class: "md-fab-menu-item__icon material-symbols-outlined", part: "icon", "aria-hidden": "true" }, this.icon))), hAsync("span", { key: '1e071ccc1c53b39dc3089c73120f6b0d11b63ad8', class: "md-fab-menu-item__label", part: "label" }, this.label ? this.label : hAsync("slot", null))));
|
|
29287
29544
|
}
|
|
29288
29545
|
componentDidRender() {
|
|
29289
29546
|
}
|
|
@@ -29463,7 +29720,7 @@ class MdIconButton {
|
|
|
29463
29720
|
const hasIcon = !!this.icon || this.hasSlottedIcon;
|
|
29464
29721
|
// Do not gate visibility on `hasIcon` — slotted glyphs must paint before sync.
|
|
29465
29722
|
const showDefaultIconLayer = !showSelected || (!this.selectedIcon && !this.hasSlottedSelected);
|
|
29466
|
-
return (hAsync(Host, { key: '
|
|
29723
|
+
return (hAsync(Host, { key: '084a91de82e93d9476564d05917c2d29c1362a93', class: {
|
|
29467
29724
|
'md-icon-button': true,
|
|
29468
29725
|
[`md-icon-button--${this.variant}`]: true,
|
|
29469
29726
|
[`md-icon-button--${this.size}`]: true,
|
|
@@ -29479,13 +29736,13 @@ class MdIconButton {
|
|
|
29479
29736
|
'md-icon-button--connected-right': this.connectedRight,
|
|
29480
29737
|
}, role: "button", "aria-disabled": isEffectivelyDisabled ? 'true' : 'false', "aria-pressed": this.toggle ? String(this.selected) : undefined, tabindex: this.disabled
|
|
29481
29738
|
? '-1'
|
|
29482
|
-
: (this.groupTabindex !== null ? String(this.groupTabindex) : '0'), onClick: this.handleClick, onKeyDown: this.handleKeyDown, onPointerDown: this.handlePointerDown, onPointerUp: this.handlePointerUp, onPointerLeave: this.handlePointerUp, onPointerCancel: this.handlePointerUp }, this.ripple && hAsync("md-ripple", { key: '
|
|
29739
|
+
: (this.groupTabindex !== null ? String(this.groupTabindex) : '0'), onClick: this.handleClick, onKeyDown: this.handleKeyDown, onPointerDown: this.handlePointerDown, onPointerUp: this.handlePointerUp, onPointerLeave: this.handlePointerUp, onPointerCancel: this.handlePointerUp }, this.ripple && hAsync("md-ripple", { key: 'b38a7b7de99242b1902dfbe9d3b6e6e59c30b205', disabled: isEffectivelyDisabled }), hAsync("span", { key: '762f69b64fcf4b4abbd0938727acf56f6346049c', class: "md-icon-button__state-layer", part: "state-layer", "aria-hidden": "true" }), hAsync("span", { key: 'abde2a494be5d39df57164baeb8c12690e2d9308', class: {
|
|
29483
29740
|
'md-icon-button__icon': true,
|
|
29484
29741
|
'md-icon-button__icon--on': showDefaultIconLayer,
|
|
29485
|
-
}, part: "icon" }, hAsync("slot", { key: '
|
|
29742
|
+
}, part: "icon" }, hAsync("slot", { key: '769cdc6b18d04c886caf914bb7631881d6bc7d97' }), showDefaultIconLayer && hasIcon && !this.hasSlottedIcon && (hAsync("span", { key: '07f895e177fb7dcecf73bd3cf39baa7fd1324e01', class: "md-icon-button__icon-font material-symbols-outlined", "aria-hidden": "true" }, showSelected && this.selectedIcon ? this.selectedIcon : this.icon))), this.toggle && (this.selectedIcon || this.hasSlottedSelected) && (hAsync("span", { key: 'dd2d2d92c0e1d7aff682c96a0c5dda86e0224aa2', class: {
|
|
29486
29743
|
'md-icon-button__icon': true,
|
|
29487
29744
|
'md-icon-button__icon--on': showSelected,
|
|
29488
|
-
}, part: "selected-icon" }, hAsync("slot", { key: '
|
|
29745
|
+
}, part: "selected-icon" }, hAsync("slot", { key: '0bbb09734a68ea497338521960e18eac1d81b8e6', name: "selected" }), !this.hasSlottedSelected && this.selectedIcon && (hAsync("span", { key: '8d5efc1de28995939cc97e902d9929334e08bbb1', class: "md-icon-button__icon-font material-symbols-outlined", "aria-hidden": "true" }, this.selectedIcon))))));
|
|
29489
29746
|
}
|
|
29490
29747
|
componentDidRender() {
|
|
29491
29748
|
}
|
|
@@ -29582,7 +29839,8 @@ class MdLineChart {
|
|
|
29582
29839
|
* irregular data needs: uneven sampling, or several series measured on
|
|
29583
29840
|
* completely different dates. Set `xAxis.scale = 'time'` (or `'value'`) so
|
|
29584
29841
|
* the gaps render proportionally; series carrying their own x need no
|
|
29585
|
-
* `xAxis.data` at all.
|
|
29842
|
+
* `xAxis.data` at all. Direct, unslotted `md-chart-series` children take
|
|
29843
|
+
* precedence; this array remains the fallback when no such children exist.
|
|
29586
29844
|
*/
|
|
29587
29845
|
this.series = [];
|
|
29588
29846
|
/** Default curve interpolation. Overridable per-series. */
|
|
@@ -29864,6 +30122,9 @@ class MdLineChart {
|
|
|
29864
30122
|
* already applied the window, so the commit needs no second applyZoom. */
|
|
29865
30123
|
this.onZoomSliderEvent = (e) => e.stopPropagation();
|
|
29866
30124
|
}
|
|
30125
|
+
get effectiveSeries() {
|
|
30126
|
+
return this.childSeries ?? this.series;
|
|
30127
|
+
}
|
|
29867
30128
|
// ─────────────────── lifecycle ───────────────────
|
|
29868
30129
|
componentDidLoad() {
|
|
29869
30130
|
try {
|
|
@@ -29877,6 +30138,8 @@ class MdLineChart {
|
|
|
29877
30138
|
}
|
|
29878
30139
|
}
|
|
29879
30140
|
disconnectedCallback() {
|
|
30141
|
+
this.disposeSeriesWatch?.();
|
|
30142
|
+
this.disposeSeriesWatch = undefined;
|
|
29880
30143
|
this.ro?.disconnect();
|
|
29881
30144
|
this.ro = null;
|
|
29882
30145
|
this.engine?.dispose();
|
|
@@ -29975,7 +30238,7 @@ class MdLineChart {
|
|
|
29975
30238
|
*/
|
|
29976
30239
|
seriesKeys() {
|
|
29977
30240
|
const seen = new Map();
|
|
29978
|
-
return this.
|
|
30241
|
+
return this.effectiveSeries.map((s, i) => {
|
|
29979
30242
|
const base = s.id != null ? `id:${s.id}` : s.label != null ? `label:${s.label}` : `pos:${i}`;
|
|
29980
30243
|
const n = seen.get(base) ?? 0;
|
|
29981
30244
|
seen.set(base, n + 1);
|
|
@@ -30011,10 +30274,10 @@ class MdLineChart {
|
|
|
30011
30274
|
const scale = this.xAxis?.scale ?? 'category';
|
|
30012
30275
|
const axis = this.xAxis?.data;
|
|
30013
30276
|
const c = this.mergeCache;
|
|
30014
|
-
if (c && c.series === this.
|
|
30277
|
+
if (c && c.series === this.effectiveSeries && c.axis === axis && c.scale === scale)
|
|
30015
30278
|
return c.out;
|
|
30016
|
-
const out = normalizeSeriesX(this.
|
|
30017
|
-
this.mergeCache = { series: this.
|
|
30279
|
+
const out = normalizeSeriesX(this.effectiveSeries ?? [], axis, scale);
|
|
30280
|
+
this.mergeCache = { series: this.effectiveSeries, axis, scale, out };
|
|
30018
30281
|
return out;
|
|
30019
30282
|
}
|
|
30020
30283
|
/** Number of datapoints along x — the longest series, or the axis if longer. */
|
|
@@ -30168,7 +30431,7 @@ class MdLineChart {
|
|
|
30168
30431
|
// series that blips out of the feed for a frame must keep its toggle when it
|
|
30169
30432
|
// returns. Growth is bounded in rememberLegendToggle instead.
|
|
30170
30433
|
const keys = this.seriesKeys();
|
|
30171
|
-
// Zoom is a view: slice what the engine draws, leave `this.
|
|
30434
|
+
// Zoom is a view: slice what the engine draws, leave `this.effectiveSeries` alone.
|
|
30172
30435
|
// Anything index-addressed (dashAfter, pointSymbols, markIndices, markLines
|
|
30173
30436
|
// on a category axis) is rebased into window coordinates, and anything that
|
|
30174
30437
|
// falls outside the window is dropped.
|
|
@@ -30189,7 +30452,7 @@ class MdLineChart {
|
|
|
30189
30452
|
// addressed options (pointSymbols, dashAfter) are rebased onto it before
|
|
30190
30453
|
// the zoom window rebases them again.
|
|
30191
30454
|
const m = this.merged;
|
|
30192
|
-
const series = this.
|
|
30455
|
+
const series = this.effectiveSeries.map((s, i) => {
|
|
30193
30456
|
const key = keys[i];
|
|
30194
30457
|
const remembered = this.legendHidden.get(key);
|
|
30195
30458
|
const toMerged = m.toMerged[i];
|
|
@@ -30317,7 +30580,7 @@ class MdLineChart {
|
|
|
30317
30580
|
this.rememberLegendToggle(item.seriesIndex, !!item.hidden);
|
|
30318
30581
|
this.mdLegendClick.emit({
|
|
30319
30582
|
seriesIndex: item.seriesIndex,
|
|
30320
|
-
seriesId: this.
|
|
30583
|
+
seriesId: this.effectiveSeries[item.seriesIndex]?.id,
|
|
30321
30584
|
selected: !item.hidden,
|
|
30322
30585
|
});
|
|
30323
30586
|
},
|
|
@@ -30355,7 +30618,7 @@ class MdLineChart {
|
|
|
30355
30618
|
* index, not the merged one).
|
|
30356
30619
|
*/
|
|
30357
30620
|
clickDetail(si, di, e) {
|
|
30358
|
-
const s = this.
|
|
30621
|
+
const s = this.effectiveSeries[si];
|
|
30359
30622
|
if (!s)
|
|
30360
30623
|
return null;
|
|
30361
30624
|
const abs = di + (this.zoomWin ? this.win().start : 0);
|
|
@@ -30397,7 +30660,7 @@ class MdLineChart {
|
|
|
30397
30660
|
const own = this.ownIndex(v.seriesIndex, abs);
|
|
30398
30661
|
return {
|
|
30399
30662
|
seriesIndex: v.seriesIndex,
|
|
30400
|
-
seriesId: this.
|
|
30663
|
+
seriesId: this.effectiveSeries[v.seriesIndex]?.id,
|
|
30401
30664
|
label: v.label,
|
|
30402
30665
|
dataIndex: v.value == null ? -1 : own,
|
|
30403
30666
|
value: v.value,
|
|
@@ -30412,9 +30675,9 @@ class MdLineChart {
|
|
|
30412
30675
|
if (hp)
|
|
30413
30676
|
return hp.map((h) => h.seriesIndex);
|
|
30414
30677
|
const keys = this.seriesKeys();
|
|
30415
|
-
return this.
|
|
30678
|
+
return this.effectiveSeries
|
|
30416
30679
|
.map((_, i) => i)
|
|
30417
|
-
.filter((i) => !(this.
|
|
30680
|
+
.filter((i) => !(this.effectiveSeries[i].hidden ?? this.legendHidden.get(keys[i]) ?? false));
|
|
30418
30681
|
}
|
|
30419
30682
|
rebuildA11yTable() {
|
|
30420
30683
|
if (!this.a11yTableHost)
|
|
@@ -30429,7 +30692,7 @@ class MdLineChart {
|
|
|
30429
30692
|
xValueFormatter: this.xAxis?.valueFormatter ?? ((v) => defaultValueFormatter(v, this.locale)),
|
|
30430
30693
|
locale: this.locale,
|
|
30431
30694
|
labels: this.tableLabels,
|
|
30432
|
-
series: this.
|
|
30695
|
+
series: this.effectiveSeries.map((s, i) => ({ label: s.label, data: m.data[i] ?? [] })),
|
|
30433
30696
|
valueFormatter: this.valueFormatter,
|
|
30434
30697
|
});
|
|
30435
30698
|
}
|
|
@@ -30458,28 +30721,33 @@ class MdLineChart {
|
|
|
30458
30721
|
buildChartSummary({
|
|
30459
30722
|
title: this.label,
|
|
30460
30723
|
chartType: this.area ? 'area' : 'line',
|
|
30461
|
-
seriesCount: this.
|
|
30724
|
+
seriesCount: this.effectiveSeries.length,
|
|
30462
30725
|
xMin: xValues[0],
|
|
30463
30726
|
xMax: xValues[xValues.length - 1],
|
|
30464
30727
|
locale: this.locale,
|
|
30465
30728
|
});
|
|
30466
30729
|
// While loading, the loader owns the box — an empty-state message under it
|
|
30467
30730
|
// would just be the wrong answer to "where is my data?".
|
|
30468
|
-
const empty = this.
|
|
30469
|
-
return (hAsync(Host, { key: '
|
|
30731
|
+
const empty = this.effectiveSeries.length === 0 && !this.loading;
|
|
30732
|
+
return (hAsync(Host, { key: '108bae0ed9d7075f205c643093bddb0691d143e4', class: {
|
|
30470
30733
|
'md-line-chart': true,
|
|
30471
30734
|
'md-line-chart--empty': empty,
|
|
30472
30735
|
'md-line-chart--loading': this.loading,
|
|
30473
30736
|
'md-line-chart--mounted': this.mounted,
|
|
30474
30737
|
'md-line-chart--zoom-slider': this.zoomSliderOn,
|
|
30475
30738
|
'md-line-chart--zoom-drag': this.zoomInside,
|
|
30476
|
-
}, role: "figure", "aria-label": summary, "aria-busy": this.loading ? 'true' : null, style: this.heightProp ? { blockSize: this.heightProp } : undefined, onPointerDown: this.onPlotPointerDown, onPointerMove: this.onPointerMove, onPointerUp: this.onPointerUp, onPointerCancel: this.onPointerUp, onDblClick: this.onPlotDblClick }, hAsync("header", { key: '
|
|
30739
|
+
}, role: "figure", "aria-label": summary, "aria-busy": this.loading ? 'true' : null, style: this.heightProp ? { blockSize: this.heightProp } : undefined, onPointerDown: this.onPlotPointerDown, onPointerMove: this.onPointerMove, onPointerUp: this.onPointerUp, onPointerCancel: this.onPointerUp, onDblClick: this.onPlotDblClick }, hAsync("header", { key: '4be15946eb00060d48bfcf905710f19ad3ae916b', class: "md-line-chart__header", part: "header" }, hAsync("slot", { key: 'e6d8c56e0ba11f64d896b6ecf028e2d3c1534f6d', name: "header" })), hAsync("div", { key: '92358975610beb47b93717f18ca5797dcf236c3e', class: "md-line-chart__canvas", part: "canvas", ref: el => this.bindChartHost(el), tabindex: empty ? undefined : '0', role: empty ? undefined : 'application', "aria-label": empty ? undefined : this.labelPlot, onKeyDown: this.onPlotKeyDown, onBlur: this.onPlotBlur }), empty && (hAsync("div", { key: '21ad2adb4b39f050ea9bedbed9a730e99db4f0d3', class: "md-line-chart__empty", part: "empty" }, hAsync("slot", { key: 'af7e84948fd0f370e0f9468d64b7ce1cd2a1041a', name: "empty" }, this.labelEmpty))), this.loading && (hAsync("div", { key: 'f6ce119e5a1b6a18879f1ad08de59959a5939f6e', class: "md-line-chart__loading", part: "loading", role: "status" }, hAsync("slot", { key: '5c0d3ce0b9935e58d3a4c63635a5359b433902cd', name: "loader" }, hAsync("slot", { key: '82835a70a8ce3625c4908495375e66112545c0a0', name: "loading" }, hAsync("md-progress-indicator", { key: 'eb7ab226da9f067e0a6d66b684c4dc20973459ed', class: "md-line-chart__spinner", variant: "circular", indeterminate: true, label: this.loadingLabel }), hAsync("span", { key: '3c322178428f7c65e4324e38dd9b8d66e7d01dea', class: "md-line-chart__loading-text" }, this.loadingLabel))))), this.dragBand && Math.abs(this.dragBand.x2 - this.dragBand.x1) > 1 && (hAsync("div", { key: '42160f1a1449b8789002cfcba547366216eefc72', class: "md-line-chart__zoom-band", part: "zoom-band", style: this.zoomBandStyle() })), this.zoomSliderOn && this.renderZoomSlider(), hAsync("footer", { key: 'c77bb7d16ad941fbb2a798fd20e89cf9784e1940', class: "md-line-chart__footer", part: "footer" }, hAsync("slot", { key: '44fafcf18b767b5a313951c645dae995253afb21', name: "footer" })), hAsync("div", { key: 'fcc1c0f7e5fc2ed30446187382fa3bd0a78b08b7', class: "md-line-chart__a11y-table", ref: el => this.bindA11yTableHost(el) }), hAsync("div", { key: '40399dbb66846a0eb1a4af96e3101b263be0cf83', class: "md-line-chart__live", role: "status", "aria-live": "polite", "aria-atomic": "true" }, this.announcement)));
|
|
30477
30740
|
}
|
|
30478
30741
|
componentWillLoad() {
|
|
30479
30742
|
}
|
|
30480
30743
|
componentDidRender() {
|
|
30481
30744
|
}
|
|
30482
30745
|
connectedCallback() {
|
|
30746
|
+
this.disposeSeriesWatch?.();
|
|
30747
|
+
this.disposeSeriesWatch = observeChartSeries(this.el, series => {
|
|
30748
|
+
this.childSeries = series;
|
|
30749
|
+
this.onAnyPropChange();
|
|
30750
|
+
});
|
|
30483
30751
|
}
|
|
30484
30752
|
componentShouldUpdate() {
|
|
30485
30753
|
return true;
|
|
@@ -30617,6 +30885,7 @@ class MdLineChart {
|
|
|
30617
30885
|
"loading": [516],
|
|
30618
30886
|
"loadingLabel": [1, "loading-label"],
|
|
30619
30887
|
"density": [514],
|
|
30888
|
+
"childSeries": [32],
|
|
30620
30889
|
"mounted": [32],
|
|
30621
30890
|
"kbIndex": [32],
|
|
30622
30891
|
"announcement": [32],
|
|
@@ -34234,7 +34503,7 @@ class MdMenu {
|
|
|
34234
34503
|
];
|
|
34235
34504
|
}
|
|
34236
34505
|
render() {
|
|
34237
|
-
return (hAsync(Host, { key: '
|
|
34506
|
+
return (hAsync(Host, { key: 'd2a4af3e77d79eaa89596c3a55049005726d5c90', class: {
|
|
34238
34507
|
'md-menu': true,
|
|
34239
34508
|
'md-menu--open': this.open,
|
|
34240
34509
|
'md-menu--closing': this.closing,
|
|
@@ -34256,13 +34525,13 @@ class MdMenu {
|
|
|
34256
34525
|
// closed steady state is just as affected). `inert` while hidden removes
|
|
34257
34526
|
// the whole subtree from focus order and the a11y tree; it flips off in
|
|
34258
34527
|
// the same render that clears aria-hidden, before any post-open focus.
|
|
34259
|
-
inert: !this.open || this.closing }, hAsync("div", { key: '
|
|
34528
|
+
inert: !this.open || this.closing }, hAsync("div", { key: '859a6853ac7e43b2f619edb37d49b469494c41ac', class: "md-menu__surface", part: "surface",
|
|
34260
34529
|
// In provider/listbox mode the surface is just a container: it holds
|
|
34261
34530
|
// the combobox (header slot) AND the listbox, so it must not itself be
|
|
34262
34531
|
// a menu or a listbox. The host (md-select) renders the actual
|
|
34263
34532
|
// role="listbox" wrapper around the options in its own shadow root, so
|
|
34264
34533
|
// aria-controls / aria-activedescendant IDREFs resolve.
|
|
34265
|
-
role: this.asListbox ? 'presentation' : 'menu', id: this.menuId, "aria-orientation": this.asListbox ? undefined : 'vertical', "aria-labelledby": this.asListbox ? undefined : this.anchor || undefined }, hAsync("slot", { key: '
|
|
34534
|
+
role: this.asListbox ? 'presentation' : 'menu', id: this.menuId, "aria-orientation": this.asListbox ? undefined : 'vertical', "aria-labelledby": this.asListbox ? undefined : this.anchor || undefined }, hAsync("slot", { key: '811fb923ae5378700f0b979075f57f05f7c45287', name: "header" }), this.useScrollViewport ? (hAsync("div", { class: "md-menu__scroll-shadow", part: "menu-viewport",
|
|
34266
34535
|
// Keyboard access to the scrolling option list (WCAG 2.1.1): the
|
|
34267
34536
|
// active option's roving tabindex can sit on a PINNED HEADER item
|
|
34268
34537
|
// (e.g. a select's "Select all") that lives outside this viewport,
|
|
@@ -34509,7 +34778,7 @@ class MdMenuItem {
|
|
|
34509
34778
|
return 'menuitem';
|
|
34510
34779
|
}
|
|
34511
34780
|
render() {
|
|
34512
|
-
return (hAsync(Host, { key: '
|
|
34781
|
+
return (hAsync(Host, { key: '044bf1116a7d1a5f92a45e5eb79b5785883ea64b', class: {
|
|
34513
34782
|
'md-menu-item': true,
|
|
34514
34783
|
'md-menu-item--selected': this.selected,
|
|
34515
34784
|
'md-menu-item--disabled': this.disabled,
|
|
@@ -34519,7 +34788,7 @@ class MdMenuItem {
|
|
|
34519
34788
|
? this.indeterminate && !this.selected
|
|
34520
34789
|
? 'mixed'
|
|
34521
34790
|
: String(this.selected)
|
|
34522
|
-
: undefined, tabindex: "-1", onClick: this.handleClick, onKeyDown: this.handleKeyDown }, hAsync("md-ripple", { key: '
|
|
34791
|
+
: undefined, tabindex: "-1", onClick: this.handleClick, onKeyDown: this.handleKeyDown }, hAsync("md-ripple", { key: '4b066da8166903308a0528c19d47868da51e7d1d', disabled: this.disabled }), hAsync("span", { key: 'b27783b685caffa92483c0f627d31d8d1ed7315f', class: "md-menu-item__state-layer", part: "state-layer", "aria-hidden": "true" }), this.type !== 'button' && this.checkPosition === 'start' && (hAsync("span", { key: '997ba486886d77d693ee125cf228aca4ee382435', class: "md-menu-item__check", "aria-hidden": "true" }, hAsync("span", { key: 'da216eb638e72940afdd2005010342e8e2559a3f', class: "material-symbols-outlined" }, this.selected ? 'check' : this.indeterminate ? 'remove' : ''))), this.hasLeadingIcon && (hAsync("span", { key: '77bb682406d1aa2dccbd238fd069227497ab918c', class: "md-menu-item__leading", part: "leading-icon", "aria-hidden": "true" }, hAsync("slot", { key: '88d48af27e9e36118bfb2f3107ee89b486bf36b1', name: "leading-icon" }))), hAsync("span", { key: 'db70aeb5f05fa451a30f07ba0d47829f80977e27', class: "md-menu-item__content", part: "content" }, hAsync("span", { key: 'c6d279af685e33f59f6075417b138390651a333f', class: "md-menu-item__headline", part: "headline" }, this.headline), this.supportingText && (hAsync("span", { key: 'b8b1ffeb1d9f751405381eb4044d1882a77fa781', class: "md-menu-item__supporting", part: "supporting-text" }, this.supportingText))), this.badge && (hAsync("span", { key: '7f372e35e68e42b35d4d016c8a4bd35f71c2b338', class: "md-menu-item__badge", part: "badge" }, this.badge)), (this.hasTrailingIcon || this.trailingText) && (hAsync("span", { key: 'e71b83ddc884ab43f26f6f0472d565cb3763dd65', class: "md-menu-item__trailing", part: "trailing" }, hAsync("slot", { key: '8bd8e40e113b9a2e3065f2a99ecee354ec24b7bf', name: "trailing-icon" }, this.trailingText && (hAsync("span", { key: 'a5931b8562da0856f19e2bba479007c7282ed6ad', class: "md-menu-item__trailing-text" }, this.trailingText))))), this.type !== 'button' && this.checkPosition === 'end' && (hAsync("span", { key: '01c14121482342db34a1a145e659fa43a29e2e37', class: "md-menu-item__check", "aria-hidden": "true" }, hAsync("span", { key: '19410770b18b078178add23fe0e4c30a1c28c2dd', class: "material-symbols-outlined" }, this.selected ? 'check' : this.indeterminate ? 'remove' : '')))));
|
|
34523
34792
|
}
|
|
34524
34793
|
componentDidLoad() {
|
|
34525
34794
|
}
|
|
@@ -34579,7 +34848,7 @@ class MdMenuItemGroup {
|
|
|
34579
34848
|
this.density = 0;
|
|
34580
34849
|
}
|
|
34581
34850
|
render() {
|
|
34582
|
-
return (hAsync(Host, { key: '
|
|
34851
|
+
return (hAsync(Host, { key: '85079f86df12bcbfb7d82306ae8817e2304417b1', class: "md-menu-item-group", role: "group", "aria-label": this.label || undefined }, this.label && (hAsync("span", { key: '6e945c1720666cc115c40563d6b678402df39afe', class: "md-menu-item-group__label" }, this.label)), hAsync("div", { key: '152362c34c4d1017f8b7d52531f5304752bf8aa2', class: "md-menu-item-group__items", role: "presentation" }, hAsync("slot", { key: '1342f72bf9419dbe8e6bfd482c088d097b6c273b' }))));
|
|
34583
34852
|
}
|
|
34584
34853
|
componentWillLoad() {
|
|
34585
34854
|
}
|
|
@@ -34864,11 +35133,11 @@ class MdMeter {
|
|
|
34864
35133
|
const circular = this.variant === 'circular';
|
|
34865
35134
|
const withHeader = !circular && (this.showLabel || this.showValue);
|
|
34866
35135
|
const text = this.formattedValue;
|
|
34867
|
-
return (hAsync(Host, { key: '
|
|
35136
|
+
return (hAsync(Host, { key: 'f5966fad21953c73b8c38149ea44012d7c8bcf4c', class: {
|
|
34868
35137
|
'md-meter': true,
|
|
34869
35138
|
'md-meter--with-header': withHeader,
|
|
34870
35139
|
'md-meter--circular': circular,
|
|
34871
|
-
}, role: "meter", "aria-label": this.label || undefined, "aria-valuemin": String(this.saneMin), "aria-valuemax": String(this.saneMax), "aria-valuenow": String(this.clampedValue), "aria-valuetext": text, style: this.hostStyle }, circular && this.renderCircular(text), withHeader && (hAsync("div", { key: '
|
|
35140
|
+
}, role: "meter", "aria-label": this.label || undefined, "aria-valuemin": String(this.saneMin), "aria-valuemax": String(this.saneMax), "aria-valuenow": String(this.clampedValue), "aria-valuetext": text, style: this.hostStyle }, circular && this.renderCircular(text), withHeader && (hAsync("div", { key: '120b93c065c96fec915e7468830d417a4d98f927', class: "md-meter__header", "aria-hidden": "true" }, this.showLabel && (hAsync("span", { key: '79d910a6d92a7f22b928c325a8c99c41a21c7df1', class: "md-meter__label", part: "label" }, this.label)), this.showValue && (hAsync("span", { key: '3c56ee34ecf29151118d7d16bfbf8ee64eee3d1d', class: "md-meter__value", part: "value" }, text)))), !circular && (hAsync("div", { key: '7ecd26a374e2a292fc5dfafa7f0d240ce6a11770', class: "md-meter__track", part: "track", "aria-hidden": "true" }, hAsync("div", { key: '3fdafbf535c22e07795241b10b16df676378677b', class: "md-meter__indicator", part: "indicator", style: { '--_fill-pct': `${this.percentage}%` } })))));
|
|
34872
35141
|
}
|
|
34873
35142
|
componentWillLoad() {
|
|
34874
35143
|
}
|
|
@@ -36017,7 +36286,7 @@ class MdMultiSelect {
|
|
|
36017
36286
|
])));
|
|
36018
36287
|
}
|
|
36019
36288
|
render() {
|
|
36020
|
-
return (hAsync(Host, { key: '
|
|
36289
|
+
return (hAsync(Host, { key: '81c9ebbd069af9f1371322b3dc95070e944686f0', class: {
|
|
36021
36290
|
'md-multi-select': true,
|
|
36022
36291
|
[`md-multi-select--${this.variant}`]: true,
|
|
36023
36292
|
'md-multi-select--open': this.open,
|
|
@@ -36030,7 +36299,7 @@ class MdMultiSelect {
|
|
|
36030
36299
|
[`md-multi-select--chips-${this.chipPosition}`]: this.trigger === 'button' ||
|
|
36031
36300
|
this.hasSlottedTrigger ||
|
|
36032
36301
|
this.displayMode === 'chips',
|
|
36033
|
-
}, "aria-haspopup": "listbox", "aria-busy": this.loading ? 'true' : undefined }, hAsync("div", { key: '
|
|
36302
|
+
}, "aria-haspopup": "listbox", "aria-busy": this.loading ? 'true' : undefined }, hAsync("div", { key: '36772e049048078d2a7aca815489810bf9cc03a4', class: "md-multi-select__frame", part: "frame", ref: (el) => (this.frameEl = el) }, this.renderTrigger(), this.renderChips()), this.renderInlineMeasure(), this.renderMenu(), hAsync("div", { key: 'be00fd74e4543e3b8019b64e309c9bc15a1cde36', class: "md-multi-select__sr-live", part: "live-region", role: "status", "aria-live": "polite", "aria-atomic": "true" }, this.liveMessage), hAsync("div", { key: 'e151468faef24ac3d19f8302eef1a7ebd8f0c755', class: "md-multi-select__options", hidden: true }, hAsync("slot", { key: 'a37c23bd4580a0f2c889797ff251bda4dfc129b0', onSlotchange: () => this.refreshOptions() }))));
|
|
36034
36303
|
}
|
|
36035
36304
|
connectedCallback() {
|
|
36036
36305
|
}
|
|
@@ -37095,7 +37364,7 @@ class MdNavigationRail {
|
|
|
37095
37364
|
render() {
|
|
37096
37365
|
const hasFooterProfile = this.hasFooterLeading || this.hasFooterContent;
|
|
37097
37366
|
const footerContentVisible = this.variant === 'expanded' || this.orientation === 'horizontal';
|
|
37098
|
-
return (hAsync(Host, { key: '
|
|
37367
|
+
return (hAsync(Host, { key: '0cda1ebf4379c2ceef6cda44f5ba5ebf57cd46d8', class: {
|
|
37099
37368
|
'md-navigation-rail': true,
|
|
37100
37369
|
[`md-navigation-rail--${this.variant}`]: true,
|
|
37101
37370
|
'md-navigation-rail--tabs-expanded': this.tabsExpanded,
|
|
@@ -37110,7 +37379,7 @@ class MdNavigationRail {
|
|
|
37110
37379
|
'md-navigation-rail--with-header': this.hasHeader,
|
|
37111
37380
|
'md-navigation-rail--with-fab': this.hasFab,
|
|
37112
37381
|
'md-navigation-rail--with-footer': this.hasFooter || hasFooterProfile,
|
|
37113
|
-
}, role: "navigation", "aria-label": this.label, onKeyDown: this.handleKeyDown }, hAsync("div", { key: '
|
|
37382
|
+
}, role: "navigation", "aria-label": this.label, onKeyDown: this.handleKeyDown }, hAsync("div", { key: '29bcc56b8a63c070fb66efbc752b3e8876a372a1', class: "md-navigation-rail__scrim", part: "scrim", "aria-hidden": "true", onClick: this.handleScrimClick }), hAsync("div", { key: '64bee38ab78696e5e08fe9c08b362f7b37c77e50', class: "md-navigation-rail__container", part: "container" }, hAsync("div", { key: 'c7a2ec6b5e5350415f094ab23718d31a3e2868eb', class: "md-navigation-rail__logo", part: "logo", hidden: !this.hasLogo && !this.hasLogoExpanded }, hAsync("span", { key: '6b1c74146e01286bc0da36523922107a9501a07f', class: "md-navigation-rail__logo-contracted", part: "logo-contracted" }, hAsync("slot", { key: 'd58005bb5df767b6ff8dbef1a7963e44a75ef3ec', name: "logo", onSlotchange: this.handleLogoSlotChange })), hAsync("span", { key: '88be0979312f4f1f9409bb68a7bce2cc86b647ca', class: "md-navigation-rail__logo-expanded", part: "logo-expanded" }, hAsync("slot", { key: 'd35a6f14e536a3b1614da7e1187c92a81f1e11b6', name: "logo-expanded", onSlotchange: this.handleLogoExpandedSlotChange }))), this.expandable && this.orientation === 'vertical' && (hAsync("div", { key: '6b217e50b0e639e7accfec12762fd3a1c312925d', class: "md-navigation-rail__toggle", part: "toggle" }, hAsync("md-icon-button", { key: '5be1e8a3a9c0a0e393c5c66773c1b40e36009786', class: "md-navigation-rail__toggle-button", icon: this.variant === 'expanded' ? 'menu_open' : 'menu', "aria-label": this.toggleLabel, "aria-expanded": this.variant === 'expanded' ? 'true' : 'false', onClick: this.handleToggleClick }))), hAsync("div", { key: '671461c66af69b09202391361e3a9d08b2ce3021', class: "md-navigation-rail__header", part: "header", hidden: !this.hasHeader }, hAsync("slot", { key: '9df387dba7b6855f555871f8a282206b43490ebf', name: "header", onSlotchange: this.handleHeaderSlotChange })), hAsync("div", { key: 'ee0dedbd2fc68599a3aa5f06c18a8269ced0e009', class: "md-navigation-rail__fab", part: "fab", hidden: !this.hasFab }, hAsync("slot", { key: '9ce85f18b0f4a4e58814415c67e3e1d4263822b3', name: "fab", onSlotchange: this.handleFabSlotChange })), hAsync("div", { key: 'e47f17e7ddd48772316156a7d4457f06aa656c62', class: "md-navigation-rail__destinations", part: "destinations", role: this.hasLinkDestinations ? undefined : 'tablist', "aria-orientation": this.hasLinkDestinations ? undefined : this.orientation, "aria-label": this.hasLinkDestinations ? undefined : this.label }, hAsync("slot", { key: '023e4008c971d050dfbf0787fed0ec80699e0226', onSlotchange: this.handleSlotChange })), this.overflowCount > 0 && (hAsync("div", { key: '0b762ca01a849fe514dfe0e29ed8be497d9d1131', class: "md-navigation-rail__overflow", part: "overflow" }, hAsync("button", { key: '17d2099e4bdf500257c1e96d97d120eb2fb9e3eb', id: this.overflowId, type: "button", class: "md-navigation-rail__overflow-trigger", part: "overflow-trigger", "aria-haspopup": "menu", "aria-label": this.overflowLabel, onClick: this.toggleOverflow }, hAsync("span", { key: '575828c7a01d658eac8d3d994ee8e05192483355', class: "material-symbols-outlined md-navigation-rail__overflow-icon", "aria-hidden": "true" }, this.overflowIcon), hAsync("span", { key: 'ec17e13a7dc4171e96986180fa04daeec8c06445', class: "md-navigation-rail__overflow-label" }, this.overflowLabel)), hAsync("md-menu", { key: '90a7fb6d3f7f0d3afba8730fb2e420d7d8a5ecce', anchor: this.overflowId, placement: this.orientation === 'horizontal' ? 'bottom-end' : 'top-start' }, this.overflowedTabs.map((tab) => (hAsync("md-menu-item", { key: tab.getAttribute('value') || tab.getAttribute('label') || '', headline: tab.getAttribute('label') || '', onClick: () => this.selectOverflowed(tab) }, tab.getAttribute('icon') && (hAsync("span", { slot: "leading-icon", class: "material-symbols-outlined" }, tab.getAttribute('icon'))))))))), hAsync("div", { key: '832e2a0bad467c3cbcb3677eca02e9acf62f48ef', class: "md-navigation-rail__footer", part: "footer", hidden: !this.hasFooter && !hasFooterProfile }, hAsync("div", { key: '03e489f1699b4be14d1d0a560eae993d9d75bbf0', class: "md-navigation-rail__footer-profile", part: "footer-profile", hidden: !hasFooterProfile }, hAsync("div", { key: '52e43e6def39c90af9965884e9305761d85c5209', class: "md-navigation-rail__footer-leading", part: "footer-leading" }, hAsync("slot", { key: '708a32e6c9aaad8779ccd0e03a55f87acfd5a4ed', name: "footer-leading", onSlotchange: this.handleFooterProfileSlotChange })), hAsync("div", { key: '7853dad602670e06ac12b663b17f938163eece6a', class: "md-navigation-rail__footer-content", part: "footer-content", "aria-hidden": footerContentVisible ? undefined : 'true', inert: !footerContentVisible }, hAsync("slot", { key: '8d4b9e51d0a21f300435d7cedc7c4a6b1361ea0a', name: "footer-content", onSlotchange: this.handleFooterProfileSlotChange }))), hAsync("slot", { key: 'c9a8891ad4aa6e7270e0ebb44dc16b24e47fc845', name: "footer", onSlotchange: this.handleFooterSlotChange })))));
|
|
37114
37383
|
}
|
|
37115
37384
|
componentDidRender() {
|
|
37116
37385
|
}
|
|
@@ -37679,7 +37948,7 @@ class MdNavigationRailTab {
|
|
|
37679
37948
|
: !this.label
|
|
37680
37949
|
? authorAriaLabel
|
|
37681
37950
|
: undefined;
|
|
37682
|
-
return (hAsync(Host, { key: '
|
|
37951
|
+
return (hAsync(Host, { key: '62248946f855334aaed7efa56ea178057afc913c', class: {
|
|
37683
37952
|
'md-navigation-rail-tab': true,
|
|
37684
37953
|
'md-navigation-rail-tab--active': this.active,
|
|
37685
37954
|
'md-navigation-rail-tab--child-selected': this.submenuHasSelection && !this.active,
|
|
@@ -40251,6 +40520,144 @@ class MdOtpField {
|
|
|
40251
40520
|
}; }
|
|
40252
40521
|
}
|
|
40253
40522
|
|
|
40523
|
+
/** Internal notifications; public interaction events stay on the chart. */
|
|
40524
|
+
const PIE_SLICE_CHANGE = 'mdPieSliceChange';
|
|
40525
|
+
const SPARKLINE_POINT_CHANGE = 'mdSparklinePointChange';
|
|
40526
|
+
const PIE_SLICE_FIELDS = {
|
|
40527
|
+
label: 'label', value: 'value', color: 'color', selected: 'selected', radius: 'radius',
|
|
40528
|
+
sliceId: 'id', sliceHidden: 'hidden', childSlices: 'children',
|
|
40529
|
+
};
|
|
40530
|
+
const directChildren = (host, tag) => Array.from(host.children)
|
|
40531
|
+
.filter(child => child.localName === tag && !child.getAttribute('slot'));
|
|
40532
|
+
/** Pure HTML/SSR decoder; typed arrays retain their identity. */
|
|
40533
|
+
function readPieChildren(value) {
|
|
40534
|
+
if (typeof value === 'string') {
|
|
40535
|
+
try {
|
|
40536
|
+
value = JSON.parse(value);
|
|
40537
|
+
}
|
|
40538
|
+
catch {
|
|
40539
|
+
return undefined;
|
|
40540
|
+
}
|
|
40541
|
+
}
|
|
40542
|
+
return value === null || Array.isArray(value) ? value : undefined;
|
|
40543
|
+
}
|
|
40544
|
+
/** No descriptors means the caller must keep its legacy array unchanged. */
|
|
40545
|
+
function readPieSlices(host) {
|
|
40546
|
+
const children = directChildren(host, 'md-pie-slice');
|
|
40547
|
+
if (!children.length)
|
|
40548
|
+
return undefined;
|
|
40549
|
+
return children.map(child => {
|
|
40550
|
+
const props = child;
|
|
40551
|
+
const datum = { label: '', value: 0 };
|
|
40552
|
+
for (const [prop, field] of Object.entries(PIE_SLICE_FIELDS)) {
|
|
40553
|
+
const value = prop === 'childSlices' ? readPieChildren(props[prop]) : props[prop];
|
|
40554
|
+
if (value !== undefined)
|
|
40555
|
+
datum[field] = value;
|
|
40556
|
+
}
|
|
40557
|
+
const nested = readPieSlices(child);
|
|
40558
|
+
if (nested !== undefined)
|
|
40559
|
+
datum.children = nested;
|
|
40560
|
+
return datum;
|
|
40561
|
+
});
|
|
40562
|
+
}
|
|
40563
|
+
/** A missing, removed or explicit null attribute is a gap, never numeric zero. */
|
|
40564
|
+
function readSparklineValue(value) {
|
|
40565
|
+
if (typeof value === 'string') {
|
|
40566
|
+
const text = value.trim();
|
|
40567
|
+
if (!text || text === 'null')
|
|
40568
|
+
return null;
|
|
40569
|
+
value = Number(text);
|
|
40570
|
+
}
|
|
40571
|
+
return typeof value === 'number' && Number.isFinite(value) ? value : null;
|
|
40572
|
+
}
|
|
40573
|
+
/** Preserve label types through SSR without treating ordinary HTML text as JSON. */
|
|
40574
|
+
function readSparklineLabel(value) {
|
|
40575
|
+
if (value == null)
|
|
40576
|
+
return undefined;
|
|
40577
|
+
if (typeof value !== 'string')
|
|
40578
|
+
return value;
|
|
40579
|
+
try {
|
|
40580
|
+
const envelope = JSON.parse(value);
|
|
40581
|
+
if (!envelope || typeof envelope !== 'object' || Array.isArray(envelope))
|
|
40582
|
+
return value;
|
|
40583
|
+
const record = envelope;
|
|
40584
|
+
if (Object.keys(record).length !== 2 || !Object.prototype.hasOwnProperty.call(record, '$awcPointLabel') || !Object.prototype.hasOwnProperty.call(record, 'value'))
|
|
40585
|
+
return value;
|
|
40586
|
+
if (record.$awcPointLabel === 'string' && typeof record.value === 'string')
|
|
40587
|
+
return record.value;
|
|
40588
|
+
if (record.$awcPointLabel === 'number' && typeof record.value === 'number' && Number.isFinite(record.value))
|
|
40589
|
+
return record.value;
|
|
40590
|
+
if (record.$awcPointLabel === 'null' && record.value === null)
|
|
40591
|
+
return null;
|
|
40592
|
+
if (record.$awcPointLabel === 'date' && typeof record.value === 'string') {
|
|
40593
|
+
const date = new Date(record.value);
|
|
40594
|
+
if (Number.isFinite(date.getTime()) && date.toISOString() === record.value)
|
|
40595
|
+
return date;
|
|
40596
|
+
}
|
|
40597
|
+
}
|
|
40598
|
+
catch { /* An ordinary HTML label is a literal string. */ }
|
|
40599
|
+
return value;
|
|
40600
|
+
}
|
|
40601
|
+
function readSparklinePoints(host) {
|
|
40602
|
+
const children = directChildren(host, 'md-sparkline-point');
|
|
40603
|
+
if (!children.length)
|
|
40604
|
+
return undefined;
|
|
40605
|
+
return {
|
|
40606
|
+
data: children.map(child => readSparklineValue(child.value)),
|
|
40607
|
+
labels: children.map(child => child.label),
|
|
40608
|
+
};
|
|
40609
|
+
}
|
|
40610
|
+
/** Child labels are partial overrides; entirely omitted labels preserve identity. */
|
|
40611
|
+
function resolveSparklineLabels(points, labels) {
|
|
40612
|
+
if (!points || !points.labels.some(label => label !== undefined))
|
|
40613
|
+
return labels;
|
|
40614
|
+
return points.labels.map((label, index) => label !== undefined ? label : labels?.[index] !== undefined ? labels[index] : index);
|
|
40615
|
+
}
|
|
40616
|
+
/** Observe only valid descriptor chains, including pie descendants at any depth. */
|
|
40617
|
+
function observeData(host, tag, event, recursive, read, changed) {
|
|
40618
|
+
let active = true;
|
|
40619
|
+
let queued = false;
|
|
40620
|
+
const belongs = (node) => {
|
|
40621
|
+
if (node === host)
|
|
40622
|
+
return true;
|
|
40623
|
+
while (node && node !== host) {
|
|
40624
|
+
if (node.localName !== tag || node.getAttribute('slot'))
|
|
40625
|
+
return false;
|
|
40626
|
+
node = node.parentElement;
|
|
40627
|
+
if (!recursive)
|
|
40628
|
+
return node === host;
|
|
40629
|
+
}
|
|
40630
|
+
return node === host;
|
|
40631
|
+
};
|
|
40632
|
+
const refresh = () => {
|
|
40633
|
+
if (!active || queued)
|
|
40634
|
+
return;
|
|
40635
|
+
queued = true;
|
|
40636
|
+
queueMicrotask(() => {
|
|
40637
|
+
queued = false;
|
|
40638
|
+
if (active)
|
|
40639
|
+
changed(read(host));
|
|
40640
|
+
});
|
|
40641
|
+
};
|
|
40642
|
+
const onChange = (notification) => {
|
|
40643
|
+
const target = notification.target;
|
|
40644
|
+
if (target?.localName === tag && belongs(target))
|
|
40645
|
+
refresh();
|
|
40646
|
+
};
|
|
40647
|
+
const observer = typeof MutationObserver === 'undefined' ? undefined : new MutationObserver(records => {
|
|
40648
|
+
if (records.some(record => record.type === 'childList'
|
|
40649
|
+
? record.target === host || (recursive && record.target.nodeType === 1 && belongs(record.target))
|
|
40650
|
+
: record.target.nodeType === 1 && record.target.localName === tag && (record.target.parentElement === host || (recursive && belongs(record.target.parentElement)))))
|
|
40651
|
+
refresh();
|
|
40652
|
+
});
|
|
40653
|
+
observer?.observe(host, { childList: true, attributes: true, attributeFilter: ['slot'], subtree: true });
|
|
40654
|
+
host.addEventListener(event, onChange);
|
|
40655
|
+
changed(read(host));
|
|
40656
|
+
return () => { active = false; observer?.disconnect(); host.removeEventListener(event, onChange); };
|
|
40657
|
+
}
|
|
40658
|
+
const observePieSlices = (host, changed) => observeData(host, 'md-pie-slice', PIE_SLICE_CHANGE, true, readPieSlices, changed);
|
|
40659
|
+
const observeSparklinePoints = (host, changed) => observeData(host, 'md-sparkline-point', SPARKLINE_POINT_CHANGE, false, readSparklinePoints, changed);
|
|
40660
|
+
|
|
40254
40661
|
const initialMotionCss$E = () => `:host(:not([data-awc-motion-ready])),:host(:not([data-awc-motion-ready]))::before,:host(:not([data-awc-motion-ready]))::after,:host(:not([data-awc-motion-ready])) *,:host(:not([data-awc-motion-ready])) *::before,:host(:not([data-awc-motion-ready])) *::after{transition-property:none !important}`;
|
|
40255
40662
|
|
|
40256
40663
|
const mdPieChartCss = () => `:host{--_block-size:var(--md-pie-chart-block-size, auto);--_min-block-size:var(--md-pie-chart-min-block-size, max(140px, calc(200px + var(--md-sys-density-scale, 0) * 12px)));--_aspect-ratio:var(--md-pie-chart-aspect-ratio, 1 / 1);--_background:var(--md-pie-chart-background, var(--md-sys-color-surface-container-low, #F7F2FA));--_padding:var(--md-pie-chart-padding, max(8px, calc(16px + var(--md-sys-density-scale, 0) * 2px)));--_shape:var(--md-pie-chart-shape, max(8px, calc(16px + var(--md-sys-density-scale, 0) * 2px)));--_empty-color:var(--md-pie-chart-empty-color, var(--md-sys-color-on-surface-variant, #49454F));--_empty-background:var(--md-pie-chart-empty-background, var(--_background));--_empty-font:var(--md-pie-chart-empty-font, var(--md-sys-typescale-body-medium-font-family, Roboto, sans-serif));--_empty-font-size:var(--md-pie-chart-empty-font-size, var(--md-sys-typescale-body-medium-font-size, 14px));--_empty-icon-size:var(--md-pie-chart-empty-icon-size, 40px);--_center-color:var(--md-pie-chart-center-color, var(--md-sys-color-on-surface, #1C1B1F));display:block;position:relative;inline-size:100%;block-size:var(--_block-size);min-block-size:var(--_min-block-size);background:var(--_background);padding:var(--_padding);border-radius:var(--_shape);box-sizing:border-box;min-inline-size:0;aspect-ratio:var(--_aspect-ratio)}.md-pie-chart__header,.md-pie-chart__footer{display:contents}.md-pie-chart__header>slot[name='header']::slotted(*),.md-pie-chart__footer>slot[name='footer']::slotted(*){display:block;margin-block:8px}.md-pie-chart__canvas{position:absolute;inset:var(--_padding);min-block-size:0;min-inline-size:0}.md-pie-chart__center{position:absolute;top:var(--_pie-center-y, 50%);left:var(--_pie-center-x, 50%);transform:translate(-50%, -50%);pointer-events:none;color:var(--_center-color);text-align:center;font-family:var(--md-sys-typescale-headline-small-font-family, Roboto, system-ui, sans-serif);font-variant-numeric:tabular-nums;display:flex;align-items:center;justify-content:center;max-width:var(--md-pie-center-max-width, var(--_pie-hole, none));max-height:var(--md-pie-center-max-height, var(--_pie-hole-h, none))}.md-pie-chart__center>slot[name='center']::slotted(*){pointer-events:auto}.md-pie-chart__empty{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;box-sizing:border-box;padding:24px;background:var(--_empty-background);border-radius:var(--_shape);color:var(--_empty-color);font-family:var(--_empty-font);font-size:var(--_empty-font-size);line-height:var(--md-sys-typescale-body-medium-line-height, 20px);pointer-events:none;text-align:center}.md-pie-chart__empty ::slotted(.material-symbols-outlined),.md-pie-chart__empty ::slotted(.material-symbols-rounded),.md-pie-chart__empty ::slotted(.material-symbols-sharp),.md-pie-chart__empty ::slotted(.material-icons){font-size:var(--_empty-icon-size) !important;line-height:1;opacity:0.55}.md-pie-chart__a11y-table{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}@media (forced-colors: active){:host{forced-color-adjust:auto}}.md-pie-chart__loading{position:absolute;inset:0;z-index:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;box-sizing:border-box;padding:24px;background:var(--_empty-background, var(--_background));border-radius:var(--_shape);color:var(--_empty-color);text-align:center}.md-pie-chart__spinner{inline-size:40px;block-size:40px}.md-pie-chart__canvas:focus-visible{outline:3px solid var(--md-sys-color-secondary, #625B71);outline-offset:-3px;border-radius:4px}.md-pie-chart__live{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}[part='legend'] button:focus-visible{outline:3px solid var(--md-sys-color-secondary, #625B71);outline-offset:2px;border-radius:6px}:host([density='-1']){--md-sys-density-scale:-1}:host([density='-2']){--md-sys-density-scale:-2}:host([density='-3']){--md-sys-density-scale:-3}:host([density='-4']){--md-sys-density-scale:-4}:host([hidden]){display:none !important}`;
|
|
@@ -40289,6 +40696,7 @@ class MdPieChart {
|
|
|
40289
40696
|
this.label = '';
|
|
40290
40697
|
/** Title alignment over the chart: `start` (left), `center`, or `end` (right). */
|
|
40291
40698
|
this.titleAlign = 'start';
|
|
40699
|
+
/** Fallback when no direct default-slot md-pie-slice children are present. */
|
|
40292
40700
|
this.data = [];
|
|
40293
40701
|
/** Inner radius (`"0%"` = pie, `"60%"` = donut, or px number). */
|
|
40294
40702
|
this.innerRadius = '0%';
|
|
@@ -40425,6 +40833,7 @@ class MdPieChart {
|
|
|
40425
40833
|
this.moveKeyboardCursor(-1);
|
|
40426
40834
|
};
|
|
40427
40835
|
}
|
|
40836
|
+
get effectiveData() { return this.childSlices ?? this.data; }
|
|
40428
40837
|
/** A stable key per datum — id, else label, else position. */
|
|
40429
40838
|
datumKeys() {
|
|
40430
40839
|
const seen = new Map();
|
|
@@ -40447,6 +40856,8 @@ class MdPieChart {
|
|
|
40447
40856
|
}
|
|
40448
40857
|
}
|
|
40449
40858
|
disconnectedCallback() {
|
|
40859
|
+
this.disposeSliceWatch?.();
|
|
40860
|
+
this.disposeSliceWatch = undefined;
|
|
40450
40861
|
this.ro?.disconnect();
|
|
40451
40862
|
this.ro = null;
|
|
40452
40863
|
this.engine?.dispose();
|
|
@@ -40584,7 +40995,7 @@ class MdPieChart {
|
|
|
40584
40995
|
walk(d.children, level + 1, at, color);
|
|
40585
40996
|
});
|
|
40586
40997
|
};
|
|
40587
|
-
walk(this.
|
|
40998
|
+
walk(this.effectiveData ?? [], 0, undefined);
|
|
40588
40999
|
return out;
|
|
40589
41000
|
}
|
|
40590
41001
|
/**
|
|
@@ -40605,7 +41016,7 @@ class MdPieChart {
|
|
|
40605
41016
|
walk(d.children);
|
|
40606
41017
|
}
|
|
40607
41018
|
};
|
|
40608
|
-
walk(this.
|
|
41019
|
+
walk(this.effectiveData ?? []);
|
|
40609
41020
|
return out;
|
|
40610
41021
|
}
|
|
40611
41022
|
buildSpec(t) {
|
|
@@ -40613,7 +41024,7 @@ class MdPieChart {
|
|
|
40613
41024
|
// `t.palette` is the role cycle: primary, tertiary, secondary, error, then
|
|
40614
41025
|
// the containers. Take the three non-semantic accents off the front as the
|
|
40615
41026
|
// ramp's anchors.
|
|
40616
|
-
const palette = harmonicPalette(t.palette.slice(0, 3), this.
|
|
41027
|
+
const palette = harmonicPalette(t.palette.slice(0, 3), this.effectiveData.length, {
|
|
40617
41028
|
light: t.surface,
|
|
40618
41029
|
dark: t.textColor,
|
|
40619
41030
|
});
|
|
@@ -40690,20 +41101,20 @@ class MdPieChart {
|
|
|
40690
41101
|
rebuildA11yTable() {
|
|
40691
41102
|
if (!this.a11yTableHost)
|
|
40692
41103
|
return;
|
|
40693
|
-
const total = this.
|
|
41104
|
+
const total = this.effectiveData.reduce((acc, d) => acc + d.value, 0);
|
|
40694
41105
|
const lb = this.tableLabels ?? {};
|
|
40695
41106
|
this.a11yTableHost.innerHTML = buildDataTableHtml({
|
|
40696
41107
|
title: this.label,
|
|
40697
41108
|
xAxisLabel: lb.category ?? 'Category',
|
|
40698
|
-
xAxisData: this.
|
|
41109
|
+
xAxisData: this.effectiveData.map(d => d.label),
|
|
40699
41110
|
locale: this.locale,
|
|
40700
41111
|
// A pie's rows are its slices, so each "series" here is one column of the
|
|
40701
41112
|
// table: the value, and the share it represents.
|
|
40702
41113
|
series: [
|
|
40703
|
-
{ label: lb.value ?? 'Value', data: this.
|
|
41114
|
+
{ label: lb.value ?? 'Value', data: this.effectiveData.map(d => d.value) },
|
|
40704
41115
|
{
|
|
40705
41116
|
label: lb.share ?? 'Share',
|
|
40706
|
-
data: this.
|
|
41117
|
+
data: this.effectiveData.map(d => (total > 0 ? (d.value / total) * 100 : 0)),
|
|
40707
41118
|
},
|
|
40708
41119
|
],
|
|
40709
41120
|
valueFormatter: v => (v == null ? '—' : this.formatValue(v)),
|
|
@@ -40742,8 +41153,8 @@ class MdPieChart {
|
|
|
40742
41153
|
// Against its OWN level, not the whole tree: a version is a share of its
|
|
40743
41154
|
// browser, and reading it as a share of every slice on the chart — parents
|
|
40744
41155
|
// and children together — would be a percentage of nothing.
|
|
40745
|
-
const siblings = this.
|
|
40746
|
-
? (findSiblings(this.
|
|
41156
|
+
const siblings = this.effectiveData?.some((x) => x.children?.length)
|
|
41157
|
+
? (findSiblings(this.effectiveData ?? [], d) ?? flat)
|
|
40747
41158
|
: flat;
|
|
40748
41159
|
const total = siblings.reduce((acc, x) => acc + x.value, 0);
|
|
40749
41160
|
const pct = total > 0 ? (d.value / total) * 100 : 0;
|
|
@@ -40755,26 +41166,31 @@ class MdPieChart {
|
|
|
40755
41166
|
render() {
|
|
40756
41167
|
// While loading, the loader owns the box — an empty-state message under it
|
|
40757
41168
|
// would just be the wrong answer to "where is my data?".
|
|
40758
|
-
const empty = this.
|
|
41169
|
+
const empty = this.effectiveData.length === 0 && !this.loading;
|
|
40759
41170
|
const summary = this.summary ||
|
|
40760
41171
|
buildChartSummary({
|
|
40761
41172
|
title: this.label,
|
|
40762
41173
|
chartType: 'pie',
|
|
40763
|
-
seriesCount: this.
|
|
41174
|
+
seriesCount: this.effectiveData.length,
|
|
40764
41175
|
locale: this.locale,
|
|
40765
41176
|
});
|
|
40766
|
-
return (hAsync(Host, { key: '
|
|
41177
|
+
return (hAsync(Host, { key: 'c38105b3f6a3701fba5124f8f243c6a2d71d65a6', class: {
|
|
40767
41178
|
'md-pie-chart': true,
|
|
40768
41179
|
'md-pie-chart--empty': empty,
|
|
40769
41180
|
'md-pie-chart--mounted': this.mounted,
|
|
40770
41181
|
'md-pie-chart--donut': this.innerRadius !== '0%' && this.innerRadius !== 0,
|
|
40771
|
-
}, role: "figure", "aria-label": summary, "aria-busy": this.loading ? 'true' : null, style: this.heightProp ? { blockSize: this.heightProp } : undefined }, hAsync("header", { key: '
|
|
41182
|
+
}, role: "figure", "aria-label": summary, "aria-busy": this.loading ? 'true' : null, style: this.heightProp ? { blockSize: this.heightProp } : undefined }, hAsync("div", { key: '0601aaea9abdec1fb23fd877183c31139b7a0d29', hidden: true, "aria-hidden": "true" }, hAsync("slot", { key: 'ca7092993a2d00f72697626973714d72f65c29f3' })), hAsync("header", { key: 'c6bc113f44980b9ca6b5ba6af80ac5b8d5ea1807', class: "md-pie-chart__header", part: "header" }, hAsync("slot", { key: 'cf571427d6dc9b5ad0a6d2c2b0e1e7b413c368f2', name: "header" })), hAsync("div", { key: 'f4b3facd5f3e9e4bb72a9f6fd0a5d23ac6329520', class: "md-pie-chart__canvas", part: "canvas", ref: el => this.bindChartHost(el), tabindex: empty ? undefined : '0', role: empty ? undefined : 'application', "aria-label": empty ? undefined : this.labelPlot, onKeyDown: this.onPlotKeyDown, onBlur: this.onPlotBlur }), hAsync("div", { key: 'db89fa43b84795e28822c6957401976ab1cfc1bd', class: "md-pie-chart__center", part: "center", "aria-hidden": "true" }, hAsync("slot", { key: '5a98f6421b673d2b17ec4f1c72dd1bc1ee969c1b', name: "center" })), empty && (hAsync("div", { key: '7b45f1a57f5853c9178195785c35e8fbb04b21d8', class: "md-pie-chart__empty", part: "empty" }, hAsync("slot", { key: '3e8e6f94224583bcba310a6519c11c20d92f3d41', name: "empty" }, this.labelEmpty))), this.loading && (hAsync("div", { key: '8e0529f7e3dbe11977e46cd073be76dd36476c46', class: "md-pie-chart__loading", part: "loading", role: "status" }, hAsync("slot", { key: '02e301df90d92a362ee8db08d720e9b71e39bef3', name: "loader" }, hAsync("slot", { key: 'a0032aaab87da449eea974702183177a361b13e8', name: "loading" }, hAsync("md-progress-indicator", { key: '60ef01ab5de75c35c0dfd8a3a2713e28e6767cb2', class: "md-pie-chart__spinner", variant: "circular", indeterminate: true, label: this.loadingLabel }), hAsync("span", { key: 'f776f8e3c3d138291d9b7fe32fc820d7d662fe46', class: "md-pie-chart__loading-text" }, this.loadingLabel))))), hAsync("footer", { key: 'c854d335603ff4ff5afd636e3851214508d69873', class: "md-pie-chart__footer", part: "footer" }, hAsync("slot", { key: 'ac764baf89deb9990eeabe87fee38be1fd9a5c04', name: "footer" })), hAsync("div", { key: 'fa7ad976c914ed8c80bbc0d0d3b3915d740b4799', class: "md-pie-chart__a11y-table", ref: el => this.bindA11yTableHost(el) }), hAsync("div", { key: '2b3908fdf4aeb7a253d2098501929a35e9f37eaf', class: "md-pie-chart__live", role: "status", "aria-live": "polite", "aria-atomic": "true" }, this.announcement)));
|
|
40772
41183
|
}
|
|
40773
41184
|
componentWillLoad() {
|
|
40774
41185
|
}
|
|
40775
41186
|
componentDidRender() {
|
|
40776
41187
|
}
|
|
40777
41188
|
connectedCallback() {
|
|
41189
|
+
this.disposeSliceWatch?.();
|
|
41190
|
+
this.disposeSliceWatch = observePieSlices(this.el, slices => {
|
|
41191
|
+
this.childSlices = slices;
|
|
41192
|
+
this.onAnyPropChange();
|
|
41193
|
+
});
|
|
40778
41194
|
}
|
|
40779
41195
|
componentShouldUpdate() {
|
|
40780
41196
|
return true;
|
|
@@ -40889,6 +41305,7 @@ class MdPieChart {
|
|
|
40889
41305
|
"animation": [1],
|
|
40890
41306
|
"animationDuration": [2, "animation-duration"],
|
|
40891
41307
|
"density": [514],
|
|
41308
|
+
"childSlices": [32],
|
|
40892
41309
|
"mounted": [32],
|
|
40893
41310
|
"kbIndex": [32],
|
|
40894
41311
|
"announcement": [32],
|
|
@@ -40905,6 +41322,74 @@ class MdPieChart {
|
|
|
40905
41322
|
}; }
|
|
40906
41323
|
}
|
|
40907
41324
|
|
|
41325
|
+
const mdPieSliceCss = () => `:host{display:none !important}`;
|
|
41326
|
+
|
|
41327
|
+
/** Nonvisual pie datum. Direct default-slot slices override the parent's data array. */
|
|
41328
|
+
class MdPieSlice {
|
|
41329
|
+
constructor(hostRef) {
|
|
41330
|
+
registerInstance(this, hostRef);
|
|
41331
|
+
/** Slice name in the legend, tooltip and accessible table. */
|
|
41332
|
+
this.label = '';
|
|
41333
|
+
/** Value proportional to the slice's angle. */
|
|
41334
|
+
this.value = 0;
|
|
41335
|
+
}
|
|
41336
|
+
// Pure: the hydrate runtime calls this before constructing an instance.
|
|
41337
|
+
deserializeChildren(value) { return value == null ? undefined : readPieChildren(value); }
|
|
41338
|
+
componentDidLoad() { this.notifyChange(); }
|
|
41339
|
+
notifyChange() { this.el.dispatchEvent(new CustomEvent(PIE_SLICE_CHANGE, { bubbles: true, composed: true })); }
|
|
41340
|
+
render() { return hAsync("slot", { key: '980541239d821a7ee5993a4eb00b577424a2b581' }); }
|
|
41341
|
+
get el() { return getElement(this); }
|
|
41342
|
+
static get watchers() { return {
|
|
41343
|
+
"label": [{
|
|
41344
|
+
"notifyChange": 0
|
|
41345
|
+
}],
|
|
41346
|
+
"value": [{
|
|
41347
|
+
"notifyChange": 0
|
|
41348
|
+
}],
|
|
41349
|
+
"color": [{
|
|
41350
|
+
"notifyChange": 0
|
|
41351
|
+
}],
|
|
41352
|
+
"selected": [{
|
|
41353
|
+
"notifyChange": 0
|
|
41354
|
+
}],
|
|
41355
|
+
"radius": [{
|
|
41356
|
+
"notifyChange": 0
|
|
41357
|
+
}],
|
|
41358
|
+
"sliceId": [{
|
|
41359
|
+
"notifyChange": 0
|
|
41360
|
+
}],
|
|
41361
|
+
"sliceHidden": [{
|
|
41362
|
+
"notifyChange": 0
|
|
41363
|
+
}],
|
|
41364
|
+
"childSlices": [{
|
|
41365
|
+
"notifyChange": 0
|
|
41366
|
+
}]
|
|
41367
|
+
}; }
|
|
41368
|
+
static get deserializers() { return {
|
|
41369
|
+
"childSlices": [{
|
|
41370
|
+
"deserializeChildren": 0
|
|
41371
|
+
}]
|
|
41372
|
+
}; }
|
|
41373
|
+
static get style() { return mdPieSliceCss(); }
|
|
41374
|
+
static get cmpMeta() { return {
|
|
41375
|
+
"$flags$": 265,
|
|
41376
|
+
"$tagName$": "md-pie-slice",
|
|
41377
|
+
"$members$": {
|
|
41378
|
+
"label": [1],
|
|
41379
|
+
"value": [2],
|
|
41380
|
+
"color": [1],
|
|
41381
|
+
"selected": [4],
|
|
41382
|
+
"radius": [2],
|
|
41383
|
+
"sliceId": [1, "slice-id"],
|
|
41384
|
+
"sliceHidden": [4, "slice-hidden"],
|
|
41385
|
+
"childSlices": [16, "child-slices"]
|
|
41386
|
+
},
|
|
41387
|
+
"$listeners$": undefined,
|
|
41388
|
+
"$lazyBundleId$": "-",
|
|
41389
|
+
"$attrsToReflect$": []
|
|
41390
|
+
}; }
|
|
41391
|
+
}
|
|
41392
|
+
|
|
40908
41393
|
const initialMotionCss$D = () => `:host(:not([data-awc-motion-ready])),:host(:not([data-awc-motion-ready]))::before,:host(:not([data-awc-motion-ready]))::after,:host(:not([data-awc-motion-ready])) *,:host(:not([data-awc-motion-ready])) *::before,:host(:not([data-awc-motion-ready])) *::after{transition-property:none !important}`;
|
|
40909
41394
|
|
|
40910
41395
|
const mdProgressIndicatorCss = () => `:host{--_active-color:var(--md-progress-indicator-active-indicator-color, var(--md-sys-color-primary, #6750A4));--_active-shape:var(--md-progress-indicator-active-indicator-shape, var(--_track-shape));--_track-color:var(--md-progress-indicator-track-color, var(--md-sys-color-secondary-container, #E8DEF8));--_track-shape:var(--md-progress-indicator-track-shape, var(--md-sys-shape-corner-full, 9999px));--_stop-color:var(--md-progress-indicator-stop-indicator-color, var(--md-sys-color-primary, #6750A4));--_stop-shape:var(--md-progress-indicator-stop-indicator-shape, var(--md-sys-shape-corner-full, 9999px));--_stop-size:var(--md-progress-indicator-stop-indicator-size, max(2px, calc(4px + var(--md-sys-density-scale, 0) * 0.5px)));--_four-color-1:var(--md-progress-indicator-four-color-1, var(--md-sys-color-primary, #6750A4));--_four-color-2:var(--md-progress-indicator-four-color-2, var(--md-sys-color-primary-container, #EADDFF));--_four-color-3:var(--md-progress-indicator-four-color-3, var(--md-sys-color-tertiary, #7D5260));--_four-color-4:var(--md-progress-indicator-four-color-4, var(--md-sys-color-tertiary-container, #FFD8E4));--_gap:var(--md-progress-indicator-track-active-indicator-space, max(2px, calc(4px + var(--md-sys-density-scale, 0) * 0.5px)));--_stop-trailing-space:var(--md-progress-indicator-stop-indicator-trailing-space, 0px);--_thickness:max(2px, calc(4px + var(--md-sys-density-scale, 0) * 0.5px));--_linear-height:max(2px, calc(4px + var(--md-sys-density-scale, 0) * 0.5px));--_size:max(28px, calc(40px + var(--md-sys-density-scale, 0) * 3px));display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box}:host(.md-progress-indicator--linear){display:flex;inline-size:100%;block-size:var(--_linear-height, 4px)}.md-progress-indicator__linear{position:relative;display:flex;align-items:center;inline-size:100%;block-size:100%;overflow:hidden;border-radius:var(--_track-shape)}.md-progress-indicator__track{position:absolute;inset-inline-start:var(--_track-start, 0);inset-inline-end:0;inset-block:0;margin-block:auto;block-size:var(--_thickness, 4px);border-radius:var(--_track-shape);background-color:var(--_track-color)}.md-progress-indicator__track--full{inset-inline-start:0}.md-progress-indicator__track--determinate{transition:none}.md-progress-indicator__active{position:absolute;inset-inline-start:0;inset-block:0;margin-block:auto;inline-size:var(--_fill-width, 0);block-size:var(--_thickness, 4px);background-color:var(--_active-color);border-radius:var(--_active-shape);transition:none}.md-progress-indicator__active--wave{block-size:var(--_linear-height, 10px);border-radius:0;background-color:var(--_active-color);mask-image:var(--_wave-mask);mask-size:var(--_wave-mask-size);mask-repeat:repeat-x;mask-position:left center;animation:md-wave-travel var(--_wave-duration, 1000ms) linear infinite}@keyframes md-wave-travel{to{mask-position:var(--_wave-length-px, 40px) center}}.md-progress-indicator__linear-wave-svg{position:absolute;inset:0;pointer-events:none}.md-progress-indicator__linear-wave-path{fill:var(--_active-color)}.md-progress-indicator__stop{position:absolute;inset-inline-end:var(--_stop-trailing-space, 0);inset-block:0;margin-block:auto;inline-size:min(var(--_stop-size), var(--_thickness, 4px));block-size:min(var(--_stop-size), var(--_thickness, 4px));border-radius:var(--_stop-shape);background-color:var(--_stop-color)}.md-progress-indicator__bar{position:absolute;inset-block:0;margin-block:auto;inline-size:100%;block-size:var(--_thickness, 4px);transform-origin:left center}.md-progress-indicator__bar-inner{position:absolute;inset:0;inline-size:100%;block-size:100%;background-color:var(--_active-color);border-radius:var(--_active-shape);transform-origin:center}.md-progress-indicator__bar--primary{inset-inline-start:-145%;animation:md-linear-primary-translate 2000ms linear infinite;animation-delay:-1666ms}.md-progress-indicator__bar--primary>.md-progress-indicator__bar-inner{animation:md-linear-primary-scale 2000ms linear infinite;animation-delay:-1666ms}.md-progress-indicator__bar--secondary{inset-inline-start:-55%;animation:md-linear-secondary-translate 2000ms linear infinite}.md-progress-indicator__bar--secondary>.md-progress-indicator__bar-inner{animation:md-linear-secondary-scale 2000ms linear infinite}@keyframes md-linear-primary-translate{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(0.5, 0, 0.7017, 0.4958);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(0.3024, 0.3814, 0.55, 0.9564);transform:translateX(83.6714%)}100%{transform:translateX(250%)}}@keyframes md-linear-primary-scale{0%{transform:scaleX(0.08)}36.65%{animation-timing-function:cubic-bezier(0.3347, 0.1248, 0.7858, 1);transform:scaleX(0.08)}69.15%{animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);transform:scaleX(0.58)}100%{transform:scaleX(0.62)}}@keyframes md-linear-secondary-translate{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.5151, 0.4097);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(0.3103, 0.2841, 0.8, 0.7337);transform:translateX(37.6519%)}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627, 0.6, 0.902);transform:translateX(84.3862%)}100%{transform:translateX(160.278%)}}@keyframes md-linear-secondary-scale{0%{animation-timing-function:cubic-bezier(0.205, 0.0571, 0.5766, 0.454);transform:scaleX(0.08)}19.15%{animation-timing-function:cubic-bezier(0.1523, 0.1964, 0.6484, 1.0043);transform:scaleX(0.4571)}44.15%{animation-timing-function:cubic-bezier(0.2578, -0.0032, 0.2118, 1.3818);transform:scaleX(0.58)}100%{transform:scaleX(0.62)}}.md-progress-indicator__bar--wave{block-size:var(--_linear-height, 10px);mask-image:var(--_wave-mask);mask-size:var(--_wave-mask-size);mask-repeat:repeat-x;mask-position:left center}.md-progress-indicator__bar--wave>.md-progress-indicator__bar-inner{border-radius:0}.md-progress-indicator__bar-inner--ghost{background-color:transparent}.md-progress-indicator__bar--primary.md-progress-indicator__bar--wave{animation:md-linear-primary-translate 2000ms linear infinite, md-wave-travel var(--_wave-duration, 500ms) linear infinite;animation-delay:-1666ms, 0ms}.md-progress-indicator__bar--secondary.md-progress-indicator__bar--wave{animation:md-linear-secondary-translate 2000ms linear infinite, md-wave-travel var(--_wave-duration, 500ms) linear infinite}:host-context([dir="rtl"]).md-progress-indicator--indeterminate .md-progress-indicator__linear,:host([dir="rtl"]).md-progress-indicator--indeterminate .md-progress-indicator__linear{transform:scaleX(-1)}:host(.md-progress-indicator--circular){inline-size:var(--_size, 40px);block-size:var(--_size, 40px)}.md-progress-indicator__circular{inline-size:100%;block-size:100%}.md-progress-indicator__circular-track{stroke:var(--_track-color)}.md-progress-indicator__circular-track--determinate{transition:none}.md-progress-indicator__circular-active{stroke:var(--_active-color);transition:none}.md-progress-indicator__circular-active-path{stroke:var(--_active-color)}:host(.md-progress-indicator--circular.md-progress-indicator--indeterminate:not(.md-progress-indicator--wave)) .md-progress-indicator__circular{animation:md-circular-rotate 1568ms linear infinite}:host(.md-progress-indicator--circular.md-progress-indicator--indeterminate:not(.md-progress-indicator--wave)) .md-progress-indicator__circular-active{transition:none;animation:md-circular-dash 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite}:host(.md-progress-indicator--circular.md-progress-indicator--indeterminate:not(.md-progress-indicator--wave)) .md-progress-indicator__circular-track--spinner{transition:none;animation:md-circular-dash-track 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite}@keyframes md-circular-rotate{100%{transform:rotate(360deg)}}@keyframes md-circular-dash{0%{stroke-dasharray:0.05 1;stroke-dashoffset:0}50%{stroke-dasharray:0.70 1;stroke-dashoffset:-0.18}100%{stroke-dasharray:0.05 1;stroke-dashoffset:-0.92}}@keyframes md-circular-dash-track{0%{stroke-dasharray:var(--_spin-da-0, 0.81) var(--_spin-gap-0, 0.19);stroke-dashoffset:var(--_spin-do-0, -0.12)}50%{stroke-dasharray:var(--_spin-da-50, 0.16) var(--_spin-gap-50, 0.84);stroke-dashoffset:var(--_spin-do-50, -0.95)}100%{stroke-dasharray:var(--_spin-da-100, 0.81) var(--_spin-gap-100, 0.19);stroke-dashoffset:var(--_spin-do-100, -1.04)}}:host(.md-progress-indicator--four-color.md-progress-indicator--circular.md-progress-indicator--indeterminate:not(.md-progress-indicator--wave)) .md-progress-indicator__circular-active{animation:md-circular-dash 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite, md-four-color 5332ms linear infinite}@keyframes md-four-color{0%,15%{stroke:var(--_four-color-1)}25%,40%{stroke:var(--_four-color-2)}50%,65%{stroke:var(--_four-color-3)}75%,90%{stroke:var(--_four-color-4)}100%{stroke:var(--_four-color-1)}}@media (prefers-reduced-motion: reduce){.md-progress-indicator__active,.md-progress-indicator__circular-active{transition-duration:0s}.md-progress-indicator__active--wave{animation:none}.md-progress-indicator__bar--primary,.md-progress-indicator__bar--primary>.md-progress-indicator__bar-inner,.md-progress-indicator__bar--secondary,.md-progress-indicator__bar--secondary>.md-progress-indicator__bar-inner{animation-duration:6s}.md-progress-indicator__bar--primary,.md-progress-indicator__bar--primary>.md-progress-indicator__bar-inner{animation-delay:-4998ms}.md-progress-indicator__bar--primary.md-progress-indicator__bar--wave{animation:md-linear-primary-translate 6s linear infinite;animation-delay:-4998ms}.md-progress-indicator__bar--secondary.md-progress-indicator__bar--wave{animation:md-linear-secondary-translate 6s linear infinite}:host(.md-progress-indicator--circular.md-progress-indicator--indeterminate:not(.md-progress-indicator--wave)) .md-progress-indicator__circular{animation-duration:4s}:host(.md-progress-indicator--circular.md-progress-indicator--indeterminate:not(.md-progress-indicator--wave)) .md-progress-indicator__circular-active,:host(.md-progress-indicator--circular.md-progress-indicator--indeterminate:not(.md-progress-indicator--wave)) .md-progress-indicator__circular-track--spinner{animation-duration:3s}:host(.md-progress-indicator--four-color.md-progress-indicator--circular.md-progress-indicator--indeterminate:not(.md-progress-indicator--wave)) .md-progress-indicator__circular-active{animation-duration:3s, 16s}:host(.md-progress-indicator--circular.md-progress-indicator--indeterminate.md-progress-indicator--wave) .md-progress-indicator__circular{animation:md-circular-rotate 4s linear infinite}}@keyframes md-linear-complete{0%{transform:scaleY(1)}60%{transform:scaleY(0.1)}100%{transform:scaleY(0)}}:host(.md-progress-indicator--linear.md-progress-indicator--completing) .md-progress-indicator__linear{transform-origin:center;animation:md-linear-complete 300ms cubic-bezier(0.2, 0, 1, 0.8) forwards}:host(.md-progress-indicator--complete){visibility:hidden}@media (forced-colors: active){.md-progress-indicator__active,.md-progress-indicator__active--wave,.md-progress-indicator__bar,.md-progress-indicator__stop{background-color:CanvasText}.md-progress-indicator__track{background-color:GrayText}.md-progress-indicator__circular-track{stroke:GrayText}.md-progress-indicator__circular-active,.md-progress-indicator__circular-active-path{stroke:CanvasText}.md-progress-indicator__linear-wave-path{fill:CanvasText}}:host([density='-1']){--md-sys-density-scale:-1}:host([density='-2']){--md-sys-density-scale:-2}:host([density='-3']){--md-sys-density-scale:-3}:host([density='-4']){--md-sys-density-scale:-4}:host([hidden]){display:none !important}`;
|
|
@@ -42371,7 +42856,7 @@ class MdProgressIndicator {
|
|
|
42371
42856
|
return (hAsync("svg", { class: "md-progress-indicator__circular", viewBox: `0 0 ${sz} ${sz}`, "aria-hidden": "true" }, hAsync("path", { class: "md-progress-indicator__circular-track", part: "track", d: this.ccPhase > 0 ? '' : track, "stroke-width": t, fill: "none", "stroke-linecap": "round", ref: (e) => (this.trackRef = e) }), hAsync("g", { ref: (e) => (this.rotRef = e) }, hAsync("path", { class: "md-progress-indicator__circular-active", part: "active-indicator", d: active, "stroke-width": t, fill: "none", "stroke-linecap": "round", ref: (e) => (this.activeRef = e) }))));
|
|
42372
42857
|
}
|
|
42373
42858
|
render() {
|
|
42374
|
-
return (hAsync(Host, { key: '
|
|
42859
|
+
return (hAsync(Host, { key: 'b1496e204f3e169dd4d52f3d04110d902174a3f3', class: {
|
|
42375
42860
|
'md-progress-indicator': true,
|
|
42376
42861
|
[`md-progress-indicator--${this.variant}`]: true,
|
|
42377
42862
|
'md-progress-indicator--indeterminate': this.indeterminate,
|
|
@@ -42862,7 +43347,7 @@ class MdRadio {
|
|
|
42862
43347
|
// ─── Render ────────────────────────────────────────────────
|
|
42863
43348
|
render() {
|
|
42864
43349
|
const isEffectivelyDisabled = this.isDisabled;
|
|
42865
|
-
return (hAsync(Host, { key: '
|
|
43350
|
+
return (hAsync(Host, { key: '0353918de7642a91942f40b56f079ad7db5ae471', class: {
|
|
42866
43351
|
'md-radio': true,
|
|
42867
43352
|
'md-radio--checked': this.checked,
|
|
42868
43353
|
'md-radio--unchecked': !this.checked,
|
|
@@ -42871,7 +43356,7 @@ class MdRadio {
|
|
|
42871
43356
|
'md-radio--focused': this.focused,
|
|
42872
43357
|
'md-radio--focus-ring': this.programmaticFocus,
|
|
42873
43358
|
'md-radio--has-support': !!this.validationMessage,
|
|
42874
|
-
}, role: "radio", "aria-invalid": this.invalid ? 'true' : undefined, "aria-checked": String(this.checked), "aria-disabled": isEffectivelyDisabled ? 'true' : undefined, "aria-required": this.required ? 'true' : undefined, tabindex: this.managedTabIndex, onClick: this.handleClick, onKeyDown: this.handleKeyDown, onFocus: this.handleFocus, onBlur: this.handleBlur, onPointerDown: this.handlePointerDown, onPointerUp: this.handlePointerUp, onPointerLeave: this.handlePointerUp, onPointerCancel: this.handlePointerUp }, hAsync("span", { key: '
|
|
43359
|
+
}, role: "radio", "aria-invalid": this.invalid ? 'true' : undefined, "aria-checked": String(this.checked), "aria-disabled": isEffectivelyDisabled ? 'true' : undefined, "aria-required": this.required ? 'true' : undefined, tabindex: this.managedTabIndex, onClick: this.handleClick, onKeyDown: this.handleKeyDown, onFocus: this.handleFocus, onBlur: this.handleBlur, onPointerDown: this.handlePointerDown, onPointerUp: this.handlePointerUp, onPointerLeave: this.handlePointerUp, onPointerCancel: this.handlePointerUp }, hAsync("span", { key: '83813434475e36bc6b25b813939ebac974944a27', class: "md-radio__target" }, hAsync("span", { key: '12f9f0143551a5576a493b0bfc83c0beacacb6d3', class: "md-radio__ripple-layer", "aria-hidden": "true" }, hAsync("md-ripple", { key: '74b7bb1a241a4e8d6f8eacf5a7f9812cf4bc7291', disabled: isEffectivelyDisabled })), hAsync("span", { key: '84bbe05be79c9e124d529229f229d09b3abdc0e0', class: "md-radio__state-layer", part: "state-layer", "aria-hidden": "true" }), hAsync("span", { key: 'bbfd8ac9a97685f8eadbb86717477e1f9db5d8b7', class: "md-radio__container", part: "container", "aria-hidden": "true" }, hAsync("span", { key: '0d3fd6e0cc435c13ecfa844c1332c9ac9291f574', class: "md-radio__outer", part: "outer-circle" }), hAsync("span", { key: '25f382d666a48a52bba3f5369848d12d3ef72289', class: "md-radio__inner", part: "inner-circle" })), hAsync("input", { key: 'a33fa2cabd0405ba0f91ea0a182d086455619480', type: "radio", class: "md-radio__native", checked: this.checked, disabled: this.disabled, required: this.required, name: this.name, value: this.value, "aria-hidden": "true", "aria-invalid": this.invalid ? 'true' : undefined, "aria-describedby": this.validationMessage ? `${this.uid}-support` : undefined, tabindex: "-1", onChange: () => { } })), this.validationMessage && (hAsync("span", { key: 'fe3c64df12c3a14aae0d9a843d62b4c6bdad6ccd', id: `${this.uid}-support`, ref: (el) => { this.supportEl = el; }, class: "md-radio__support", role: "alert" }, this.validationMessage))));
|
|
42875
43360
|
}
|
|
42876
43361
|
componentShouldUpdate() {
|
|
42877
43362
|
return true;
|
|
@@ -43291,14 +43776,14 @@ class MdRating {
|
|
|
43291
43776
|
const name = interactive
|
|
43292
43777
|
? baseLabel
|
|
43293
43778
|
: `${baseLabel}: ${this.resolveLabel(value)}`;
|
|
43294
|
-
return (hAsync(Host, { key: '
|
|
43779
|
+
return (hAsync(Host, { key: 'cd1e737806af5ae9c000633e06a08e6341e77292', class: {
|
|
43295
43780
|
'md-rating': true,
|
|
43296
43781
|
[`md-rating--${this.size}`]: true,
|
|
43297
43782
|
'md-rating--readonly': this.readonly,
|
|
43298
43783
|
'md-rating--disabled': this.disabled,
|
|
43299
43784
|
'md-rating--soft-disabled': this.softDisabled,
|
|
43300
43785
|
'md-rating--focused': this.focused,
|
|
43301
|
-
} }, hAsync("div", { key: '
|
|
43786
|
+
} }, hAsync("div", { key: '09b9074af6db5491193ab5e84368e3952ead8fec', class: "md-rating__items", role: interactive ? 'slider' : 'img', "aria-label": name, "aria-valuemin": interactive ? 0 : undefined, "aria-valuemax": interactive ? this.max : undefined, "aria-valuenow": interactive ? value : undefined, "aria-valuetext": interactive ? this.resolveLabel(value) : undefined, "aria-orientation": interactive ? 'horizontal' : undefined, "aria-readonly": interactive ? 'false' : undefined, "aria-disabled": interactive && (this.disabled || this.softDisabled) ? 'true' : undefined, tabindex: tabindex, part: "items", onKeyDown: this.handleKeyDown, onFocus: this.handleFocus, onBlur: this.handleBlur, onPointerLeave: this.handlePointerLeave }, Array.from({ length: this.max }, (_, i) => this.renderItem(i))), this.showValueLabel && (hAsync("span", { key: '549e76032e0b693596ef78eca5bd3ca93a71102c', class: "md-rating__value-label", part: "value-label", "aria-hidden": "true" }, this.valueLabelVariants().map((t) => (hAsync("span", { key: t, class: "md-rating__value-label-sizer", "aria-hidden": "true" }, t))), hAsync("span", { key: '3521cecdaf8753602e3011b5ce93aa44625d876b', class: "md-rating__value-label-text" }, this.resolveLabel(this.displayValue))))));
|
|
43302
43787
|
}
|
|
43303
43788
|
componentDidLoad() {
|
|
43304
43789
|
}
|
|
@@ -43673,7 +44158,7 @@ class MdRipple {
|
|
|
43673
44158
|
this.growAnimation.addEventListener('finish', () => this.endWave(), { once: true });
|
|
43674
44159
|
}
|
|
43675
44160
|
render() {
|
|
43676
|
-
return (hAsync(Host, { key: '
|
|
44161
|
+
return (hAsync(Host, { key: '729a4e6378597ff503bd774e8112f9835feb851c', "aria-hidden": "true" }, hAsync("div", { key: '2c90bface7e00c00c32df72a4c5d4a76bf0e88a3', class: "md-ripple" })));
|
|
43677
44162
|
}
|
|
43678
44163
|
componentWillLoad() {
|
|
43679
44164
|
}
|
|
@@ -45327,7 +45812,7 @@ class MdSegmentedButton {
|
|
|
45327
45812
|
const showCheckmark = this.selected && !this.noCheckmark;
|
|
45328
45813
|
const isFirst = index === 0;
|
|
45329
45814
|
const isLast = index === total - 1;
|
|
45330
|
-
return (hAsync(Host, { key: '
|
|
45815
|
+
return (hAsync(Host, { key: 'aad0f10c1dd0c67a27e7197768cdd9016c3cf0fb', class: {
|
|
45331
45816
|
'md-segmented-button': true,
|
|
45332
45817
|
'md-segmented-button--selected': this.selected,
|
|
45333
45818
|
'md-segmented-button--disabled': this.isDisabled,
|
|
@@ -45335,7 +45820,7 @@ class MdSegmentedButton {
|
|
|
45335
45820
|
'md-segmented-button--first': isFirst,
|
|
45336
45821
|
'md-segmented-button--last': isLast,
|
|
45337
45822
|
[`md-segmented-button--density-${Math.abs(density)}`]: density !== 0,
|
|
45338
|
-
}, role: this.segmentMultiselect ? 'checkbox' : 'radio', "aria-checked": String(this.selected), "aria-disabled": this.isDisabled ? 'true' : 'false', tabindex: this.disabled ? '-1' : '0', onClick: this.handleClick, onKeyDown: this.handleKeyDown }, this.ripple && hAsync("md-ripple", { key: '
|
|
45823
|
+
}, role: this.segmentMultiselect ? 'checkbox' : 'radio', "aria-checked": String(this.selected), "aria-disabled": this.isDisabled ? 'true' : 'false', tabindex: this.disabled ? '-1' : '0', onClick: this.handleClick, onKeyDown: this.handleKeyDown }, this.ripple && hAsync("md-ripple", { key: 'ec9fff7f82c224f3b8ded1e03115b5b4341ad9c3', disabled: this.isDisabled }), hAsync("span", { key: '4093ee04a854b1158e16da51ba0eda700a90c160', class: "md-segmented-button__state-layer", part: "state-layer", "aria-hidden": "true" }), hAsync("span", { key: '440ee1a949daca3644efd2e5926d5f28b829ae09', class: "md-segmented-button__outline", "aria-hidden": "true" }), hAsync("span", { key: '683cc7be50893224e60ef6421decfaf39213f5d8', class: "md-segmented-button__content" }, hasIcon ? (
|
|
45339
45824
|
// Icon segments: single element swaps icon ↔ checkmark in-place
|
|
45340
45825
|
hAsync("span", { class: "md-segmented-button__graphic material-symbols-outlined", part: showCheckmark ? 'checkmark' : 'icon', "aria-hidden": "true" }, showCheckmark ? 'check' : this.icon)) : !this.noCheckmark ? (
|
|
45341
45826
|
// Text-only: always reserve leading graphic space so segments
|
|
@@ -45344,7 +45829,7 @@ class MdSegmentedButton {
|
|
|
45344
45829
|
'md-segmented-button__graphic': true,
|
|
45345
45830
|
'material-symbols-outlined': true,
|
|
45346
45831
|
'md-segmented-button__graphic--hidden': !this.selected,
|
|
45347
|
-
}, part: this.selected ? 'checkmark' : undefined, "aria-hidden": "true" }, this.selected ? 'check' : '')) : null, hAsync("slot", { key: '
|
|
45832
|
+
}, part: this.selected ? 'checkmark' : undefined, "aria-hidden": "true" }, this.selected ? 'check' : '')) : null, hAsync("slot", { key: '45becef7ddbe734d9a7c17cb7bad2d7b13781cf4', name: "icon" }), hasLabel ? (hAsync("span", { class: "md-segmented-button__label", part: "label" }, this.label ? this.label : hAsync("slot", null))) : (hAsync("slot", null)), !hasIcon && !this.noCheckmark && (hAsync("span", { key: 'e45d93aa8fe5b341cf4281d7f36db6e8fe17e58f', class: "md-segmented-button__spacer", "aria-hidden": "true" })))));
|
|
45348
45833
|
}
|
|
45349
45834
|
componentDidRender() {
|
|
45350
45835
|
}
|
|
@@ -45462,10 +45947,10 @@ class MdSegmentedButtonSet {
|
|
|
45462
45947
|
}
|
|
45463
45948
|
}
|
|
45464
45949
|
render() {
|
|
45465
|
-
return (hAsync(Host, { key: '
|
|
45950
|
+
return (hAsync(Host, { key: '542fcc93259149aa8cc56eb25a44ff272b26fa50', class: {
|
|
45466
45951
|
'md-segmented-button-set': true,
|
|
45467
45952
|
[`md-segmented-button-set--density-${Math.abs(this.density)}`]: this.density !== 0,
|
|
45468
|
-
}, role: this.multiselect ? 'group' : 'radiogroup' }, hAsync("slot", { key: '
|
|
45953
|
+
}, role: this.multiselect ? 'group' : 'radiogroup' }, hAsync("slot", { key: '903c36bb9f5a0e22082b1c787351d670245f7eef', onSlotchange: this.handleSlotChange })));
|
|
45469
45954
|
}
|
|
45470
45955
|
componentWillLoad() {
|
|
45471
45956
|
}
|
|
@@ -46190,13 +46675,13 @@ class MdSelect {
|
|
|
46190
46675
|
hAsync("div", { class: "md-select__listbox", role: "listbox", id: `${this.triggerId}-listbox`, "aria-label": this.accessibleName || 'Options' }, listOptions.map((opt) => (hAsync("md-menu-item", { key: opt.value, id: `${this.triggerId}-opt-${opt.value}`, presentation: "option", type: "radio", "check-position": "start", "keep-open": true, part: opt.value === this.value ? 'option option-selected' : 'option', disabled: opt.disabled, selected: opt.value === this.value, headline: opt.label, "supporting-text": opt.supportingText || '', onMdClick: () => this.selectValue(opt.value) }, opt.icon ? (hAsync("span", { slot: "leading-icon", part: "option-icon", class: "material-symbols-outlined md-select__option-icon", style: opt.iconColor ? { color: opt.iconColor } : undefined, "aria-hidden": "true" }, opt.icon)) : null)))))));
|
|
46191
46676
|
}
|
|
46192
46677
|
render() {
|
|
46193
|
-
return (hAsync(Host, { key: '
|
|
46678
|
+
return (hAsync(Host, { key: '967f74a5d3e79b2e64715e4a71c3d8dba5c01fbd', class: {
|
|
46194
46679
|
'md-select': true,
|
|
46195
46680
|
[`md-select--${this.variant}`]: true,
|
|
46196
46681
|
'md-select--open': this.open,
|
|
46197
46682
|
'md-select--disabled': this.disabled,
|
|
46198
46683
|
'md-select--loading': this.loading,
|
|
46199
|
-
}, "aria-haspopup": "listbox", "aria-busy": this.loading ? 'true' : undefined }, this.renderTrigger(), this.renderMenu(), hAsync("div", { key: '
|
|
46684
|
+
}, "aria-haspopup": "listbox", "aria-busy": this.loading ? 'true' : undefined }, this.renderTrigger(), this.renderMenu(), hAsync("div", { key: 'a9bfa4ecfb714e5fe01bd2d4f71e08c5c506637f', class: "md-select__options", hidden: true }, hAsync("slot", { key: '3644d7e5132429396712c4389cf5145ba5088f4b', onSlotchange: () => this.refreshOptions() }))));
|
|
46200
46685
|
}
|
|
46201
46686
|
componentDidLoad() {
|
|
46202
46687
|
}
|
|
@@ -46345,7 +46830,7 @@ class MdSelectOption {
|
|
|
46345
46830
|
// but the element is visually hidden — the picker renders the real,
|
|
46346
46831
|
// interactive row inside its md-menu. aria-hidden avoids double
|
|
46347
46832
|
// announcement of the (hidden) carrier alongside the live menu item.
|
|
46348
|
-
return (hAsync(Host, { key: '
|
|
46833
|
+
return (hAsync(Host, { key: '54102fefe436596faed6a386f5f545849dec5b3f', role: "option", "aria-hidden": "true", "aria-selected": String(this.selected), "aria-disabled": this.disabled ? 'true' : 'false' }, hAsync("slot", { key: '22b0f149f0e14a35bd5901d0c48c980d3e0cc1df' })));
|
|
46349
46834
|
}
|
|
46350
46835
|
componentWillLoad() {
|
|
46351
46836
|
}
|
|
@@ -46682,13 +47167,13 @@ class MdSideSheet {
|
|
|
46682
47167
|
const isModal = this.variant === 'modal';
|
|
46683
47168
|
const hasHeadline = !!this.headline;
|
|
46684
47169
|
const showBackBtn = isModal && this.showBack;
|
|
46685
|
-
return (hAsync(Host, { key: '
|
|
47170
|
+
return (hAsync(Host, { key: '5c8ecc6ed0a826a855eda4fcacb5d3bb3d0c8abd', class: {
|
|
46686
47171
|
'md-side-sheet': true,
|
|
46687
47172
|
[`md-side-sheet--${this.variant}`]: true,
|
|
46688
47173
|
[`md-side-sheet--${this.side}`]: true,
|
|
46689
47174
|
'md-side-sheet--open': this.open,
|
|
46690
47175
|
'md-side-sheet--detached': this.detached,
|
|
46691
|
-
} }, isModal && (hAsync("div", { key: '
|
|
47176
|
+
} }, isModal && (hAsync("div", { key: 'bff9888991f8f509fd98c679242b0d7dd2223c09', class: "md-side-sheet__scrim", part: "scrim", "aria-hidden": "true", onClick: this.handleScrimClick })), hAsync("div", { key: 'dd774745e5745d0eb7462f84e9705d86947f3814', class: "md-side-sheet__container", part: "container", role: isModal ? 'dialog' : 'region', "aria-modal": isModal ? 'true' : undefined, "aria-labelledby": hasHeadline ? this.headlineId : undefined, "aria-label": this.sheetAriaLabel || (!hasHeadline ? 'Side sheet' : undefined), "aria-hidden": !this.open ? 'true' : undefined,
|
|
46692
47177
|
// A closed sheet stays in the DOM (slid off-screen for the
|
|
46693
47178
|
// enter/exit motion, never display:none), so its focus guards,
|
|
46694
47179
|
// close/back buttons, and slotted controls remain tab-reachable
|
|
@@ -46698,7 +47183,7 @@ class MdSideSheet {
|
|
|
46698
47183
|
// aria-hidden, before the modal focusFirst() runs. When open, the
|
|
46699
47184
|
// standard variant stays non-inert so its content joins the page
|
|
46700
47185
|
// tab order normally.
|
|
46701
|
-
inert: !this.open, tabindex: -1, ref: (el) => (this.containerEl = el) }, isModal && (hAsync("span", { key: '
|
|
47186
|
+
inert: !this.open, tabindex: -1, ref: (el) => (this.containerEl = el) }, isModal && (hAsync("span", { key: 'bcf5af935464324df1a26a1559de21a4aae845cd', class: "md-side-sheet__focus-guard", tabindex: 0, "aria-hidden": "true", onFocus: this.handleEndGuardFocus })), hAsync("div", { key: '7c67cb7eda5088ece049020841602761be7b6ace', class: "md-side-sheet__header", part: "header" }, showBackBtn && (hAsync("div", { key: '202864da8c58f0b6391f75826f7024e633bc5f97', class: "md-side-sheet__back" }, hAsync("slot", { key: 'a045868fb859096956c5cd8fdbd06dab2c5e149a', name: "back" }, hAsync("md-icon-button", { key: 'e4b4ec6b5e53f558513a177dff71cbba2f0d0ccc', variant: "standard", icon: "arrow_back", "aria-label": "Back", onClick: this.handleBackClick })))), hAsync("span", { key: 'daea45cc13c8ffce51b1f388ec58a87311678aa4', id: this.headlineId, class: "md-side-sheet__headline", part: "headline" }, hAsync("slot", { key: '0c5f45dfd4ee72fe5dbbad66f7af452f8797cc30', name: "headline" }, this.headline)), this.closeable && (hAsync("div", { key: 'a8ae866bf2286fc0f9dad5c4ad226ed6e003ccf8', class: "md-side-sheet__close", part: "close" }, hAsync("slot", { key: '5adcfabdc0fc454737f73fd5fec5c3a67e593fa9', name: "close" }, hAsync("md-icon-button", { key: '170ddde8fdd9ff7b06273bd5fae94d7703b3f6ea', variant: "standard", icon: "close", "aria-label": "Close side sheet", onClick: this.handleCloseClick }))))), this.topDivider && (hAsync("div", { key: 'ac881dbaadd77d50c44819f82571e955a12e70c5', class: "md-side-sheet__divider", part: "divider-top", "aria-hidden": "true" })), hAsync("div", { key: 'eb0a7831a3d432867733a2187fdf53a48ff67140', class: "md-side-sheet__content", part: "content" }, hAsync("slot", { key: 'd3fd76bb0c5c7d18140b7d7dd88bac8ff272b7db' })), this.hasActions && this.bottomDivider && (hAsync("div", { key: '5014d4154cf435b65c77e871ae5fb01da416ff37', class: "md-side-sheet__divider md-side-sheet__divider--bottom", part: "divider-bottom", "aria-hidden": "true" })), this.hasActions && (hAsync("div", { key: '66da336415e8cb9af5f23c2fd0c8923985e9d1fa', class: "md-side-sheet__actions", part: "actions" }, hAsync("slot", { key: '8edafb3f6f06c0839ee0e59ec70719c4e75e7580', name: "actions" }))), isModal && (hAsync("span", { key: '325f36c5b23888fb378cb6612650585cb0959578', class: "md-side-sheet__focus-guard", tabindex: 0, "aria-hidden": "true", onFocus: this.handleStartGuardFocus })))));
|
|
46702
47187
|
}
|
|
46703
47188
|
componentDidRender() {
|
|
46704
47189
|
}
|
|
@@ -46857,7 +47342,7 @@ class MdSkeleton {
|
|
|
46857
47342
|
inlineStyle['--_w'] = this.width;
|
|
46858
47343
|
if (this.height)
|
|
46859
47344
|
inlineStyle['--_h'] = this.height;
|
|
46860
|
-
return (hAsync(Host, { key: '
|
|
47345
|
+
return (hAsync(Host, { key: 'd3309d07745511bd18e93a1f38409c23066be63c', class: {
|
|
46861
47346
|
'md-skeleton': true,
|
|
46862
47347
|
[`md-skeleton--${this.variant}`]: true,
|
|
46863
47348
|
[`md-skeleton--anim-${effectiveAnimation}`]: true,
|
|
@@ -47922,14 +48407,14 @@ class MdSnackbar {
|
|
|
47922
48407
|
render() {
|
|
47923
48408
|
const hasAction = !!this.action || this.hasSlottedAction;
|
|
47924
48409
|
const hasClose = this.closeable || this.hasSlottedClose;
|
|
47925
|
-
return (hAsync(Host, { key: '
|
|
48410
|
+
return (hAsync(Host, { key: 'b04af661705bd3f2f7a94095d5f37761e53c15eb', class: {
|
|
47926
48411
|
'md-snackbar': true,
|
|
47927
48412
|
'md-snackbar--open': this.open,
|
|
47928
48413
|
'md-snackbar--stacked': this.stacked,
|
|
47929
48414
|
[`md-snackbar--${this.position}`]: true,
|
|
47930
48415
|
'md-snackbar--with-action': hasAction,
|
|
47931
48416
|
'md-snackbar--with-close': hasClose,
|
|
47932
|
-
}, role: this.politeness === 'assertive' ? 'alert' : 'status', "aria-live": this.politeness, "aria-atomic": "true" }, hAsync("div", { key: '
|
|
48417
|
+
}, role: this.politeness === 'assertive' ? 'alert' : 'status', "aria-live": this.politeness, "aria-atomic": "true" }, hAsync("div", { key: '818df25c55b48341744bef7e5dc134845ecfce37', class: "md-snackbar__surface", part: "surface", onMouseEnter: this.pauseAutoHide, onMouseLeave: this.resumeAutoHide, onFocusin: this.pauseAutoHide, onFocusout: this.handleSurfaceFocusOut }, hAsync("span", { key: '97a0ca6fe0729d747e231e3a51899f68cfc894ff', class: "md-snackbar__message", part: "message" }, hAsync("slot", { key: '96231f2a4bf2c3fe908761f3b0467dd25adf0d54' }, this.message)), hasAction && (hAsync("div", { key: '24baac64a0f19f79213cee6fdcc41f0ceadf2cb3', class: "md-snackbar__actions", part: "actions" }, hAsync("slot", { key: 'c2547d17a414d2a0522d321664fd7f74e38cc74e', name: "action" }, this.action && (hAsync("md-button", { key: '48da7763c2bc868aad2d0f6b13f9d06de03f08c1', variant: "text", size: "sm", class: "md-snackbar__action-btn", onClick: this.handleActionClick }, this.action))))), hasClose && (hAsync("div", { key: '5e089c298adde36c42581c3604cd15ccc828d8b9', class: "md-snackbar__close", part: "close" }, hAsync("slot", { key: 'b1cfe9e7c6fb12a2296e56b4ddb2245cab5899eb', name: "close" }, this.closeable && (hAsync("md-icon-button", { key: '3f019ca75b76228b0132a3e5e3c45fb02ed59675', variant: "standard", icon: "close", "aria-label": this.dismissLabel, onClick: this.handleCloseClick, exportparts: "icon:close-icon" }))))))));
|
|
47933
48418
|
}
|
|
47934
48419
|
componentWillLoad() {
|
|
47935
48420
|
}
|
|
@@ -47992,7 +48477,7 @@ class MdSparkline {
|
|
|
47992
48477
|
registerInstance(this, hostRef);
|
|
47993
48478
|
this.mdSparkClick = createEvent(this, "mdSparkClick", 7);
|
|
47994
48479
|
this.mdReady = createEvent(this, "mdReady", 7);
|
|
47995
|
-
/** Numeric
|
|
48480
|
+
/** Numeric fallback when no direct default-slot md-sparkline-point children exist. Pass `null` for gaps. */
|
|
47996
48481
|
this.data = [];
|
|
47997
48482
|
/** Visual variant. */
|
|
47998
48483
|
this.variant = 'line';
|
|
@@ -48014,6 +48499,8 @@ class MdSparkline {
|
|
|
48014
48499
|
this.ro = null;
|
|
48015
48500
|
this.bindChartHost = (el) => { this.chartHost = el; };
|
|
48016
48501
|
}
|
|
48502
|
+
get effectiveData() { return this.childPoints?.data ?? this.data; }
|
|
48503
|
+
get effectiveLabels() { return resolveSparklineLabels(this.childPoints, this.labels); }
|
|
48017
48504
|
componentDidLoad() {
|
|
48018
48505
|
try {
|
|
48019
48506
|
this.initChart();
|
|
@@ -48026,6 +48513,8 @@ class MdSparkline {
|
|
|
48026
48513
|
}
|
|
48027
48514
|
}
|
|
48028
48515
|
disconnectedCallback() {
|
|
48516
|
+
this.disposePointWatch?.();
|
|
48517
|
+
this.disposePointWatch = undefined;
|
|
48029
48518
|
this.ro?.disconnect();
|
|
48030
48519
|
this.ro = null;
|
|
48031
48520
|
this.engine?.dispose();
|
|
@@ -48084,7 +48573,7 @@ class MdSparkline {
|
|
|
48084
48573
|
}
|
|
48085
48574
|
markIndices() {
|
|
48086
48575
|
const nums = [];
|
|
48087
|
-
this.
|
|
48576
|
+
this.effectiveData.forEach((d, i) => {
|
|
48088
48577
|
if (typeof d === 'number')
|
|
48089
48578
|
nums.push({ d, i });
|
|
48090
48579
|
});
|
|
@@ -48137,7 +48626,7 @@ class MdSparkline {
|
|
|
48137
48626
|
series: [{
|
|
48138
48627
|
label: '',
|
|
48139
48628
|
color,
|
|
48140
|
-
data: this.
|
|
48629
|
+
data: this.effectiveData,
|
|
48141
48630
|
curve: this.curve,
|
|
48142
48631
|
connectNulls: true,
|
|
48143
48632
|
showMarks: false,
|
|
@@ -48146,7 +48635,7 @@ class MdSparkline {
|
|
|
48146
48635
|
lineWidth: this.lineWidth,
|
|
48147
48636
|
markSize: this.markSize,
|
|
48148
48637
|
}],
|
|
48149
|
-
xValues: this.
|
|
48638
|
+
xValues: this.effectiveLabels ?? this.effectiveData.map((_, i) => i),
|
|
48150
48639
|
xScale: 'category',
|
|
48151
48640
|
xFormatter: (v) => String(v),
|
|
48152
48641
|
xHidden: true,
|
|
@@ -48169,8 +48658,8 @@ class MdSparkline {
|
|
|
48169
48658
|
buildBarSpec(color) {
|
|
48170
48659
|
const fmt = (v) => (this.valueFormatter ? this.valueFormatter(v) : v.toLocaleString());
|
|
48171
48660
|
return {
|
|
48172
|
-
series: [{ label: '', color, data: this.
|
|
48173
|
-
categories: (this.
|
|
48661
|
+
series: [{ label: '', color, data: this.effectiveData, hidden: false }],
|
|
48662
|
+
categories: (this.effectiveLabels ?? this.effectiveData.map((_, i) => i)),
|
|
48174
48663
|
categoryFormatter: (v) => String(v),
|
|
48175
48664
|
categoryHidden: true,
|
|
48176
48665
|
valueScale: 'value',
|
|
@@ -48199,7 +48688,7 @@ class MdSparkline {
|
|
|
48199
48688
|
const color = resolveSeriesColor(this.el, this.color, pickPaletteColor(t.palette, 0));
|
|
48200
48689
|
const theme = this.buildEngineTheme(t);
|
|
48201
48690
|
const onPointClick = (_si, di) => {
|
|
48202
|
-
const v = this.
|
|
48691
|
+
const v = this.effectiveData[di];
|
|
48203
48692
|
this.mdSparkClick.emit({ dataIndex: di, value: typeof v === 'number' ? v : null });
|
|
48204
48693
|
};
|
|
48205
48694
|
if (this.engine instanceof BarChartEngine) {
|
|
@@ -48211,7 +48700,7 @@ class MdSparkline {
|
|
|
48211
48700
|
this.engine.setHoverEnabled(this.showTooltip);
|
|
48212
48701
|
}
|
|
48213
48702
|
render() {
|
|
48214
|
-
const finiteValues = this.
|
|
48703
|
+
const finiteValues = this.effectiveData.filter((d) => typeof d === 'number');
|
|
48215
48704
|
const last = finiteValues.length ? finiteValues[finiteValues.length - 1] : null;
|
|
48216
48705
|
const max = finiteValues.length ? Math.max(...finiteValues) : null;
|
|
48217
48706
|
const min = finiteValues.length ? Math.min(...finiteValues) : null;
|
|
@@ -48223,17 +48712,22 @@ class MdSparkline {
|
|
|
48223
48712
|
const summary = finiteValues.length
|
|
48224
48713
|
? `Sparkline, latest ${fmt(last)}, range ${fmt(min)} to ${fmt(max)}.${refNote}`
|
|
48225
48714
|
: `Sparkline, no data.${refNote}`;
|
|
48226
|
-
return (hAsync(Host, { key: '
|
|
48715
|
+
return (hAsync(Host, { key: '0b1c1db8cdfbaea69f86d5959cf2a9cb6780bfce', class: {
|
|
48227
48716
|
'md-sparkline': true,
|
|
48228
48717
|
'md-sparkline--mounted': this.mounted,
|
|
48229
48718
|
[`md-sparkline--${this.variant}`]: true,
|
|
48230
|
-
}, role: "img", "aria-label": summary, style: this.heightProp ? { blockSize: this.heightProp } : undefined }, hAsync("div", { key: '
|
|
48719
|
+
}, role: "img", "aria-label": summary, style: this.heightProp ? { blockSize: this.heightProp } : undefined }, hAsync("div", { key: '9817e8cae6cfb2919da491e99e9b4a1cf5b2290d', hidden: true, "aria-hidden": "true" }, hAsync("slot", { key: 'e26ee219214db004e31a78af36c98d4a73bf2d8c' })), hAsync("div", { key: '1bfaf874873919b4d506f39e1efe61df27b6bb37', class: "md-sparkline__canvas", part: "canvas", ref: el => this.bindChartHost(el) })));
|
|
48231
48720
|
}
|
|
48232
48721
|
componentWillLoad() {
|
|
48233
48722
|
}
|
|
48234
48723
|
componentDidRender() {
|
|
48235
48724
|
}
|
|
48236
48725
|
connectedCallback() {
|
|
48726
|
+
this.disposePointWatch?.();
|
|
48727
|
+
this.disposePointWatch = observeSparklinePoints(this.el, points => {
|
|
48728
|
+
this.childPoints = points;
|
|
48729
|
+
this.onAnyPropChange();
|
|
48730
|
+
});
|
|
48237
48731
|
}
|
|
48238
48732
|
componentShouldUpdate() {
|
|
48239
48733
|
return true;
|
|
@@ -48285,7 +48779,7 @@ class MdSparkline {
|
|
|
48285
48779
|
}; }
|
|
48286
48780
|
static get style() { return initialMotionCss$q() + mdSparklineCss(); }
|
|
48287
48781
|
static get cmpMeta() { return {
|
|
48288
|
-
"$flags$":
|
|
48782
|
+
"$flags$": 265,
|
|
48289
48783
|
"$tagName$": "md-sparkline",
|
|
48290
48784
|
"$members$": {
|
|
48291
48785
|
"data": [16],
|
|
@@ -48305,6 +48799,7 @@ class MdSparkline {
|
|
|
48305
48799
|
"lineWidth": [2, "line-width"],
|
|
48306
48800
|
"markSize": [2, "mark-size"],
|
|
48307
48801
|
"barWidth": [2, "bar-width"],
|
|
48802
|
+
"childPoints": [32],
|
|
48308
48803
|
"mounted": [32],
|
|
48309
48804
|
"refreshTheme": [64],
|
|
48310
48805
|
"resize": [64],
|
|
@@ -48330,6 +48825,52 @@ function toRgba(color, alpha) {
|
|
|
48330
48825
|
return color;
|
|
48331
48826
|
}
|
|
48332
48827
|
|
|
48828
|
+
const mdSparklinePointCss = () => `:host{display:none !important}`;
|
|
48829
|
+
|
|
48830
|
+
/** Nonvisual indexed sparkline point. Missing values retain their position as gaps. */
|
|
48831
|
+
class MdSparklinePoint {
|
|
48832
|
+
constructor(hostRef) {
|
|
48833
|
+
registerInstance(this, hostRef);
|
|
48834
|
+
/** Numeric value, or null for a gap. Omission, removal and value="null" are gaps. */
|
|
48835
|
+
this.value = null;
|
|
48836
|
+
}
|
|
48837
|
+
// Pure: the hydrate runtime calls this before constructing an instance.
|
|
48838
|
+
deserializeValue(value) { return readSparklineValue(value); }
|
|
48839
|
+
deserializeLabel(value) { return readSparklineLabel(value); }
|
|
48840
|
+
componentDidLoad() { this.notifyChange(); }
|
|
48841
|
+
notifyChange() { this.el.dispatchEvent(new CustomEvent(SPARKLINE_POINT_CHANGE, { bubbles: true, composed: true })); }
|
|
48842
|
+
render() { return null; }
|
|
48843
|
+
get el() { return getElement(this); }
|
|
48844
|
+
static get watchers() { return {
|
|
48845
|
+
"value": [{
|
|
48846
|
+
"notifyChange": 0
|
|
48847
|
+
}],
|
|
48848
|
+
"label": [{
|
|
48849
|
+
"notifyChange": 0
|
|
48850
|
+
}]
|
|
48851
|
+
}; }
|
|
48852
|
+
static get deserializers() { return {
|
|
48853
|
+
"value": [{
|
|
48854
|
+
"deserializeValue": 0
|
|
48855
|
+
}],
|
|
48856
|
+
"label": [{
|
|
48857
|
+
"deserializeLabel": 0
|
|
48858
|
+
}]
|
|
48859
|
+
}; }
|
|
48860
|
+
static get style() { return mdSparklinePointCss(); }
|
|
48861
|
+
static get cmpMeta() { return {
|
|
48862
|
+
"$flags$": 9,
|
|
48863
|
+
"$tagName$": "md-sparkline-point",
|
|
48864
|
+
"$members$": {
|
|
48865
|
+
"value": [2],
|
|
48866
|
+
"label": [8]
|
|
48867
|
+
},
|
|
48868
|
+
"$listeners$": undefined,
|
|
48869
|
+
"$lazyBundleId$": "-",
|
|
48870
|
+
"$attrsToReflect$": []
|
|
48871
|
+
}; }
|
|
48872
|
+
}
|
|
48873
|
+
|
|
48333
48874
|
const initialMotionCss$p = () => `:host(:not([data-awc-motion-ready])),:host(:not([data-awc-motion-ready]))::before,:host(:not([data-awc-motion-ready]))::after,:host(:not([data-awc-motion-ready])) *,:host(:not([data-awc-motion-ready])) *::before,:host(:not([data-awc-motion-ready])) *::after{transition-property:none !important}`;
|
|
48334
48875
|
|
|
48335
48876
|
const mdSplitButtonCss = () => `:host{--_container-color:var(--md-split-button-container-color, var(--md-sys-color-primary));--_label-color:var(--md-split-button-label-color, var(--md-sys-color-on-primary));--_icon-color:var(--md-split-button-icon-color, var(--_label-color));--_outline-color:var(--md-split-button-outline-color, var(--md-sys-color-outline));--_state-layer-color:var(--md-sys-color-on-primary);--_container-elevation:var(--md-sys-elevation-0, none);--_outer-shape:var(--md-split-button-container-shape, calc(var(--_height) / 2));--_inner-shape:4px;--_inner-shape-hover:8px;--_between-space:2px;--_height:40px;--_pad-trim:calc(var(--md-sys-density-scale, 0) * 2px);--_icon-size:var(--md-split-button-icon-size, 18px);--_trailing-icon-size:22px;--_leading-padding-left:16px;--_leading-padding-right:14px;--_trailing-padding-left:12px;--_trailing-padding-right:14px;--_trailing-padding-center:13px;display:inline-flex;align-items:stretch;gap:var(--_between-space);vertical-align:middle;box-sizing:border-box;-webkit-tap-highlight-color:transparent}:host(.md-split-button--xs){--_height:32px;--_icon-size:var(--md-split-button-icon-size, 16px);--_trailing-icon-size:22px;--_inner-shape:4px;--_inner-shape-hover:8px;--_leading-padding-left:12px;--_leading-padding-right:10px;--_trailing-padding-left:12px;--_trailing-padding-right:14px;--_trailing-padding-center:13px}:host(.md-split-button--sm){--_height:40px;--_icon-size:var(--md-split-button-icon-size, 18px);--_trailing-icon-size:22px;--_inner-shape:4px;--_inner-shape-hover:8px;--_leading-padding-left:16px;--_leading-padding-right:14px;--_trailing-padding-left:12px;--_trailing-padding-right:14px;--_trailing-padding-center:13px}:host(.md-split-button--md){--_height:56px;--_icon-size:var(--md-split-button-icon-size, 24px);--_trailing-icon-size:26px;--_inner-shape:8px;--_inner-shape-hover:12px;--_leading-padding-left:24px;--_leading-padding-right:20px;--_trailing-padding-left:13px;--_trailing-padding-right:17px;--_trailing-padding-center:15px}:host(.md-split-button--lg){--_height:96px;--_icon-size:var(--md-split-button-icon-size, 36px);--_trailing-icon-size:38px;--_inner-shape:12px;--_inner-shape-hover:20px;--_leading-padding-left:36px;--_leading-padding-right:28px;--_trailing-padding-left:26px;--_trailing-padding-right:32px;--_trailing-padding-center:29px}:host(.md-split-button--xl){--_height:136px;--_icon-size:var(--md-split-button-icon-size, 48px);--_trailing-icon-size:50px;--_inner-shape:16px;--_inner-shape-hover:28px;--_leading-padding-left:48px;--_leading-padding-right:36px;--_trailing-padding-left:37px;--_trailing-padding-right:49px;--_trailing-padding-center:43px}.md-split-button__leading,.md-split-button__trailing{position:relative;display:inline-flex;align-items:center;justify-content:center;border:none;outline:none;cursor:pointer;user-select:none;box-sizing:border-box;height:max(24px, calc(var(--_height) + var(--md-sys-density-scale, 0) * 4px));background-color:var(--_container-color);color:var(--_label-color);box-shadow:var(--_container-elevation);overflow:hidden;-webkit-tap-highlight-color:transparent;transition:border-radius 200ms var(--md-sys-motion-easing-standard, cubic-bezier(0.2, 0, 0, 1));font-family:var(--md-sys-typescale-label-large-font-family, Roboto, sans-serif);font-size:max(12px, calc(14px + var(--md-sys-density-scale, 0) * 0.5px));font-weight:var(--md-sys-typescale-label-large-font-weight, 500);letter-spacing:var(--md-sys-typescale-label-large-letter-spacing, 0.1px);line-height:max(16px, calc(20px + var(--md-sys-density-scale, 0) * 1px))}:host(.md-split-button--xs) .md-split-button__leading{font-size:max(10px, calc(12px + var(--md-sys-density-scale, 0) * 0.5px));font-weight:var(--md-sys-typescale-label-medium-font-weight, 500)}:host(.md-split-button--md) .md-split-button__leading{font-size:max(13px, calc(16px + var(--md-sys-density-scale, 0) * 0.5px));font-weight:var(--md-sys-typescale-title-medium-font-weight, 500)}:host(.md-split-button--lg) .md-split-button__leading{font-size:max(18px, calc(24px + var(--md-sys-density-scale, 0) * 1px));font-weight:var(--md-sys-typescale-headline-small-font-weight, 400);line-height:max(24px, calc(32px + var(--md-sys-density-scale, 0) * 2px))}:host(.md-split-button--xl) .md-split-button__leading{font-size:max(22px, calc(28px + var(--md-sys-density-scale, 0) * 1px));font-weight:var(--md-sys-typescale-headline-medium-font-weight, 400);line-height:max(28px, calc(36px + var(--md-sys-density-scale, 0) * 2px))}.md-split-button__leading{border-start-start-radius:var(--_outer-shape);border-end-start-radius:var(--_outer-shape);border-start-end-radius:var(--_inner-shape);border-end-end-radius:var(--_inner-shape);padding-block:0;padding-inline-start:max(4px, calc(var(--_leading-padding-left) + var(--_pad-trim)));padding-inline-end:max(4px, calc(var(--_leading-padding-right) + var(--_pad-trim)));gap:max(4px, calc(8px + var(--md-sys-density-scale, 0) * 1px))}:host(.md-split-button--with-icon) .md-split-button__leading{padding-inline-start:max(4px, calc(var(--_leading-padding-left) - 4px + var(--_pad-trim)))}.md-split-button__leading:hover,.md-split-button__leading:focus-visible,.md-split-button__leading:active{border-start-end-radius:var(--_inner-shape-hover);border-end-end-radius:calc(var(--_inner-shape) + var(--md-sys-shape-morph-enabled, 1) * (var(--_inner-shape-hover) - var(--_inner-shape)))}.md-split-button__trailing{border-start-start-radius:var(--_inner-shape);border-end-start-radius:var(--_inner-shape);border-start-end-radius:var(--_outer-shape);border-end-end-radius:var(--_outer-shape);padding-block:0;padding-inline-start:max(4px, calc(var(--_trailing-padding-left) + var(--_pad-trim)));padding-inline-end:max(4px, calc(var(--_trailing-padding-right) + var(--_pad-trim)))}.md-split-button__trailing:hover,.md-split-button__trailing:focus-visible,.md-split-button__trailing:active{border-start-start-radius:calc(var(--_inner-shape) + var(--md-sys-shape-morph-enabled, 1) * (var(--_inner-shape-hover) - var(--_inner-shape)));border-end-start-radius:var(--_inner-shape-hover)}.md-split-button__trailing.md-split-button__trailing--checked{border-radius:var(--_outer-shape);padding-block:0;padding-inline:max(4px, calc(var(--_trailing-padding-center) + var(--_pad-trim)))}.md-split-button__leading-state-layer,.md-split-button__trailing-state-layer{position:absolute;inset:0;border-radius:inherit;background-color:var(--_state-layer-color);opacity:0;transition:opacity 100ms var(--md-sys-motion-easing-standard, cubic-bezier(0.2, 0, 0, 1));pointer-events:none}.md-split-button__leading:hover .md-split-button__leading-state-layer{opacity:var(--md-sys-state-hover-state-layer-opacity, 0.08)}.md-split-button__leading:focus-visible .md-split-button__leading-state-layer{opacity:var(--md-sys-state-focus-state-layer-opacity, 0.10)}.md-split-button__leading:active .md-split-button__leading-state-layer{opacity:var(--md-sys-state-pressed-state-layer-opacity, 0.10)}.md-split-button__trailing:hover .md-split-button__trailing-state-layer{opacity:var(--md-sys-state-hover-state-layer-opacity, 0.08)}.md-split-button__trailing:focus-visible .md-split-button__trailing-state-layer{opacity:var(--md-sys-state-focus-state-layer-opacity, 0.10)}.md-split-button__trailing:active .md-split-button__trailing-state-layer{opacity:var(--md-sys-state-pressed-state-layer-opacity, 0.10)}.md-split-button__leading:focus-visible{outline:3px solid var(--md-sys-color-secondary);outline-offset:2px;z-index:1}.md-split-button__trailing:focus-visible{outline:3px solid var(--md-sys-color-secondary);outline-offset:2px;z-index:1}.md-split-button__icon{font-size:var(--_icon-size);width:var(--_icon-size);height:var(--_icon-size);display:flex;align-items:center;justify-content:center;flex-shrink:0;color:var(--_icon-color)}.md-split-button__trailing-icon{font-size:var(--_trailing-icon-size);width:var(--_trailing-icon-size);height:var(--_trailing-icon-size);line-height:var(--_trailing-icon-size);text-align:center;flex-shrink:0;transition:transform 200ms var(--md-sys-motion-easing-standard, cubic-bezier(0.2, 0, 0, 1))}:host(.md-split-button--trailing-checked) .md-split-button__trailing-icon{transform:rotate(180deg)}.material-symbols-outlined{font-family:var(--md-sys-icon-font-family, 'Material Symbols Outlined', 'Material Icons');font-weight:normal;font-style:normal;line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;overflow-wrap:normal;direction:ltr;font-feature-settings:'liga';-webkit-font-smoothing:antialiased}.md-split-button__label{display:flex;align-items:center;white-space:nowrap}:host(.md-split-button--filled){--_container-color:var(--md-split-button-container-color, var(--md-sys-color-primary));--_label-color:var(--md-split-button-label-color, var(--md-sys-color-on-primary));--_state-layer-color:var(--md-sys-color-on-primary);--_container-elevation:var(--md-sys-elevation-0, none)}:host(.md-split-button--elevated){--_container-color:var(--md-split-button-container-color, var(--md-sys-color-surface-container-low));--_label-color:var(--md-split-button-label-color, var(--md-sys-color-primary));--_state-layer-color:var(--md-sys-color-primary);--_container-elevation:var(--md-sys-elevation-1)}:host(.md-split-button--elevated) .md-split-button__leading{clip-path:inset(-6px -1px -6px -6px)}:host(.md-split-button--elevated) .md-split-button__trailing{clip-path:inset(-6px -6px -6px -1px)}:host([dir="rtl"].md-split-button--elevated) .md-split-button__leading,:host-context([dir="rtl"]):host(.md-split-button--elevated) .md-split-button__leading{clip-path:inset(-6px -6px -6px -1px)}:host([dir="rtl"].md-split-button--elevated) .md-split-button__trailing,:host-context([dir="rtl"]):host(.md-split-button--elevated) .md-split-button__trailing{clip-path:inset(-6px -1px -6px -6px)}:host(.md-split-button--elevated) .md-split-button__leading:hover,:host(.md-split-button--elevated) .md-split-button__trailing:hover{box-shadow:var(--md-sys-elevation-2)}:host(.md-split-button--elevated) .md-split-button__leading:active,:host(.md-split-button--elevated) .md-split-button__trailing:active,:host(.md-split-button--elevated) .md-split-button__leading:focus-visible,:host(.md-split-button--elevated) .md-split-button__trailing:focus-visible{box-shadow:var(--md-sys-elevation-1)}:host(.md-split-button--elevated) .md-split-button__leading:focus-visible,:host(.md-split-button--elevated) .md-split-button__trailing:focus-visible{clip-path:inset(-6px);z-index:1}:host(.md-split-button--tonal){--_container-color:var(--md-split-button-container-color, var(--md-sys-color-secondary-container));--_label-color:var(--md-split-button-label-color, var(--md-sys-color-on-secondary-container));--_state-layer-color:var(--md-sys-color-on-secondary-container);--_container-elevation:var(--md-sys-elevation-0, none)}:host(.md-split-button--tonal) .md-split-button__leading:hover,:host(.md-split-button--tonal) .md-split-button__trailing:hover{box-shadow:var(--md-sys-elevation-1)}:host(.md-split-button--outlined){--_container-color:transparent;--_label-color:var(--md-split-button-label-color, var(--md-sys-color-primary));--_state-layer-color:var(--md-sys-color-primary);--_container-elevation:var(--md-sys-elevation-0, none)}:host(.md-split-button--outlined) .md-split-button__leading,:host(.md-split-button--outlined) .md-split-button__trailing{border:1px solid var(--_outline-color)}:host(.md-split-button--outlined) .md-split-button__leading:focus-visible,:host(.md-split-button--outlined) .md-split-button__trailing:focus-visible{border-color:var(--md-split-button-outline-color, var(--md-sys-color-primary))}:host(.md-split-button--full-width){display:flex;inline-size:100%}:host(.md-split-button--full-width) .md-split-button__leading{flex:1 1 auto;min-inline-size:0}:host(.md-split-button--full-width) .md-split-button__trailing{flex:0 0 auto}:host(.md-split-button--full-width) .md-split-button__label{display:block;min-inline-size:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}:host(.md-split-button--disabled){--_disabled-content-color:color-mix(in srgb, var(--md-sys-color-on-surface) calc(var(--md-sys-state-disabled-content-opacity, 0.38) * 100%), transparent);--_icon-color:var(--_disabled-content-color)}:host(.md-split-button--disabled) .md-split-button__leading,:host(.md-split-button--disabled) .md-split-button__trailing{cursor:default;pointer-events:none;box-shadow:var(--md-sys-elevation-0, none) !important;background-color:color-mix(in srgb, var(--md-sys-color-on-surface) calc(var(--md-sys-state-disabled-container-opacity, 0.12) * 100%), transparent);color:var(--_disabled-content-color)}:host(.md-split-button--disabled) .md-split-button__leading-state-layer,:host(.md-split-button--disabled) .md-split-button__trailing-state-layer{display:none}:host(.md-split-button--disabled.md-split-button--outlined) .md-split-button__leading,:host(.md-split-button--disabled.md-split-button--outlined) .md-split-button__trailing{background-color:transparent;border-color:color-mix(in srgb, var(--md-sys-color-on-surface) calc(var(--md-sys-state-disabled-container-opacity, 0.12) * 100%), transparent)}:host(.md-split-button--disabled.md-split-button--elevated) .md-split-button__leading,:host(.md-split-button--disabled.md-split-button--elevated) .md-split-button__trailing{clip-path:none}:host([soft-disabled]) .md-split-button__leading,:host([soft-disabled]) .md-split-button__trailing{cursor:default;pointer-events:auto}:host([soft-disabled]) .md-split-button__leading-state-layer,:host([soft-disabled]) .md-split-button__trailing-state-layer{display:none}@media (prefers-reduced-motion: reduce){.md-split-button__leading,.md-split-button__trailing{transition:none}.md-split-button__leading-state-layer,.md-split-button__trailing-state-layer{transition:none}.md-split-button__trailing-icon{transition:none}}@media (forced-colors: active){:host{forced-color-adjust:none}.md-split-button__leading,.md-split-button__trailing{background-color:ButtonFace;color:ButtonText;border:1px solid ButtonText}.md-split-button__leading:focus-visible,.md-split-button__trailing:focus-visible{outline-color:Highlight}:host(.md-split-button--disabled) .md-split-button__leading,:host(.md-split-button--disabled) .md-split-button__trailing{color:GrayText;border-color:GrayText}:host(.md-split-button--disabled) .md-split-button__icon{color:GrayText}.md-split-button__leading-state-layer,.md-split-button__trailing-state-layer{display:none}}:host([density='-1']){--md-sys-density-scale:-1}:host([density='-2']){--md-sys-density-scale:-2}:host([density='-3']){--md-sys-density-scale:-3}:host([density='-4']){--md-sys-density-scale:-4}:host([hidden]){display:none !important}`;
|
|
@@ -48440,7 +48981,7 @@ class MdSplitButton {
|
|
|
48440
48981
|
}
|
|
48441
48982
|
render() {
|
|
48442
48983
|
const hasIcon = !!this.icon;
|
|
48443
|
-
return (hAsync(Host, { key: '
|
|
48984
|
+
return (hAsync(Host, { key: '3b1f0a297305c78e397ee9a0352b2489fec9c05c', class: {
|
|
48444
48985
|
'md-split-button': true,
|
|
48445
48986
|
[`md-split-button--${this.variant}`]: true,
|
|
48446
48987
|
[`md-split-button--${this.size}`]: true,
|
|
@@ -48448,10 +48989,10 @@ class MdSplitButton {
|
|
|
48448
48989
|
'md-split-button--trailing-checked': this.trailingChecked,
|
|
48449
48990
|
'md-split-button--with-icon': hasIcon,
|
|
48450
48991
|
'md-split-button--full-width': this.fullWidth,
|
|
48451
|
-
} }, hAsync("button", { key: '
|
|
48992
|
+
} }, hAsync("button", { key: '3480d808301db7f72f66a1a618e971fbc3a93940', class: "md-split-button__leading", part: "leading", disabled: this.disabled, "aria-disabled": this.isDisabled ? 'true' : undefined, "aria-label": !this.label ? this.el.getAttribute('aria-label') ?? undefined : undefined, tabindex: this.disabled ? -1 : 0, onClick: this.handleLeadingClick, onKeyDown: this.handleLeadingKeyDown }, this.ripple && hAsync("md-ripple", { key: '6e2eda41a213fb3fa505c1f7627acc42053e7a57', disabled: this.isDisabled }), hAsync("span", { key: '25951c682940918833ef7e2adb63310658a44363', class: "md-split-button__leading-state-layer", part: "leading-state-layer", "aria-hidden": "true" }), hasIcon && (hAsync("span", { key: '17f70edce22645045ef36e26ce8a382aea8a3fa3', class: "md-split-button__icon material-symbols-outlined", part: "icon", "aria-hidden": "true" }, this.icon)), this.label && hAsync("span", { key: 'de9d77700ed104261521b236f15c50b8b748d71a', class: "md-split-button__label", part: "label" }, this.label), hAsync("slot", { key: 'd080a93aed67c02b364b020133142c02721d2b7e' })), hAsync("button", { key: 'ddb48f43a28ba6c454e6cc20ba46dcc8c0f2ad28', class: {
|
|
48452
48993
|
'md-split-button__trailing': true,
|
|
48453
48994
|
'md-split-button__trailing--checked': this.trailingChecked,
|
|
48454
|
-
}, part: "trailing", disabled: this.disabled, "aria-disabled": this.isDisabled ? 'true' : undefined, "aria-haspopup": this.haspopup === 'false' ? undefined : this.haspopup, "aria-expanded": String(this.trailingChecked), "aria-controls": this.controls || undefined, "aria-label": this.menuLabel, tabindex: this.disabled ? -1 : 0, onClick: this.handleTrailingClick, onKeyDown: this.handleTrailingKeyDown }, this.ripple && hAsync("md-ripple", { key: '
|
|
48995
|
+
}, part: "trailing", disabled: this.disabled, "aria-disabled": this.isDisabled ? 'true' : undefined, "aria-haspopup": this.haspopup === 'false' ? undefined : this.haspopup, "aria-expanded": String(this.trailingChecked), "aria-controls": this.controls || undefined, "aria-label": this.menuLabel, tabindex: this.disabled ? -1 : 0, onClick: this.handleTrailingClick, onKeyDown: this.handleTrailingKeyDown }, this.ripple && hAsync("md-ripple", { key: '406f6fbdf7510a603652da42075f429d41ce8b90', disabled: this.isDisabled }), hAsync("span", { key: '4681da87efbc71dda5dfcfc2e146394ad93696c1', class: "md-split-button__trailing-state-layer", part: "trailing-state-layer", "aria-hidden": "true" }), hAsync("span", { key: '8807bd0b6563610a85053ca62d698e386bd19ae9', class: "md-split-button__trailing-icon material-symbols-outlined", part: "trailing-icon", "aria-hidden": "true" }, this.trailingIcon))));
|
|
48455
48996
|
}
|
|
48456
48997
|
componentWillLoad() {
|
|
48457
48998
|
}
|
|
@@ -48624,7 +49165,7 @@ class MdStatusDot {
|
|
|
48624
49165
|
// aria-live="polite", so static labels deliberately avoid it to prevent
|
|
48625
49166
|
// spurious announcements when the dot merely renders.
|
|
48626
49167
|
const role = labelled ? (this.live ? 'status' : 'img') : 'presentation';
|
|
48627
|
-
return (hAsync(Host, { key: '
|
|
49168
|
+
return (hAsync(Host, { key: '7ad304bcf5c9b1f178bfd3af94b5ef3e1f479268', class: {
|
|
48628
49169
|
'md-status-dot': true,
|
|
48629
49170
|
[`md-status-dot--${this.state}`]: true,
|
|
48630
49171
|
[`md-status-dot--${this.size}`]: true,
|
|
@@ -48967,7 +49508,7 @@ class MdStep {
|
|
|
48967
49508
|
// inherits the flex properties the host used to carry). Every other mode
|
|
48968
49509
|
// renders them bare, exactly as before — no extra box, no layout change.
|
|
48969
49510
|
const headerNodes = [
|
|
48970
|
-
!isFirst && isVertical && (hAsync("span", { key: '
|
|
49511
|
+
!isFirst && isVertical && (hAsync("span", { key: '3d5b90edb970fcbe929b51c11e7c175002912600', class: {
|
|
48971
49512
|
'md-step__connector': true,
|
|
48972
49513
|
'md-step__connector--leading': true,
|
|
48973
49514
|
'md-step__connector--filled': this.index <= this.activeIndex,
|
|
@@ -48985,15 +49526,15 @@ class MdStep {
|
|
|
48985
49526
|
* `aria-current` STAYS. "Which one is it on" is the entire point of a
|
|
48986
49527
|
* status trail, and it is the one thing the visible text does not carry.
|
|
48987
49528
|
*/
|
|
48988
|
-
hAsync("div", { key: '
|
|
48989
|
-
!isLast && (hAsync("span", { key: '
|
|
49529
|
+
hAsync("div", { key: 'c3bf8b5c73445db8eae6bb41f86d9cea499498e0', class: "md-step__inner", part: "inner", tabindex: readonly ? undefined : disabled ? -1 : 0, role: readonly ? undefined : 'button', "aria-label": readonly ? undefined : this.composeA11yLabel(), "aria-disabled": !readonly && disabled ? 'true' : undefined, "aria-current": this.active ? 'step' : undefined, "aria-expanded": hasPanel ? (this.active ? 'true' : 'false') : undefined, "aria-controls": renderPanel ? 'md-step-panel' : undefined, onClick: this.handleClick, onKeyDown: this.handleKeyDown }, hAsync("span", { key: 'de3395203da6d3c85f622da9a629d37348d426c5', class: "md-step__indicator", part: "indicator" }, !readonly && hAsync("md-ripple", { key: '4c631d04ef3b28650f5c2bb2eb509d6752e9bdc4', disabled: disabled }), hAsync("span", { key: 'f7f38e947332be16a7de7b55257981b8bd9a5146', class: "md-step__state-layer", part: "state-layer", "aria-hidden": "true" }), this.renderIndicator()), (this.label || supporting || optionalCaption) && (hAsync("span", { key: 'f6b7b37b0d2e3158b1dab2ce3eb4af4a09af6a15', class: "md-step__text", part: "text" }, this.label && hAsync("span", { key: '580ecd09bf59f67093ef73ed5c58816af227e9b7', class: "md-step__label", part: "label" }, this.label), optionalCaption && (hAsync("span", { key: 'a56ed9dd455212241e48b726b1eba4a5eca6732b', class: "md-step__optional", part: "optional" }, optionalCaption)), supporting && (hAsync("span", { key: '10b038629860fdd02ea2dd3419c501a692f01439', class: "md-step__description", part: "description" }, supporting))))),
|
|
49530
|
+
!isLast && (hAsync("span", { key: 'ac2627f5b3268da966285a2cd01aa3786cb938df', class: {
|
|
48990
49531
|
'md-step__connector': true,
|
|
48991
49532
|
'md-step__connector--trailing': true,
|
|
48992
49533
|
'md-step__connector--filled': this.index < this.activeIndex,
|
|
48993
49534
|
}, part: "connector connector-trailing", "aria-hidden": "true" })),
|
|
48994
49535
|
];
|
|
48995
49536
|
const panelStep = !isVertical && hasPanel;
|
|
48996
|
-
return (hAsync(Host, { key: '
|
|
49537
|
+
return (hAsync(Host, { key: '891c3be7f8bdc29c3865534aa6cae58eaf104afb', class: {
|
|
48997
49538
|
'md-step': true,
|
|
48998
49539
|
[`md-step--${this.orientation}`]: true,
|
|
48999
49540
|
[`md-step--indicator-${this.indicatorKind}`]: true,
|
|
@@ -49007,12 +49548,12 @@ class MdStep {
|
|
|
49007
49548
|
'md-step--first': isFirst,
|
|
49008
49549
|
'md-step--last': isLast,
|
|
49009
49550
|
'md-step--panel-step': !isVertical && hasPanel,
|
|
49010
|
-
}, role: "listitem", "aria-current": this.active ? 'step' : undefined, "aria-disabled": disabled ? 'true' : undefined }, panelStep ? hAsync("div", { class: "md-step__header" }, headerNodes) : headerNodes, renderPanel && (hAsync("div", { key: '
|
|
49551
|
+
}, role: "listitem", "aria-current": this.active ? 'step' : undefined, "aria-disabled": disabled ? 'true' : undefined }, panelStep ? hAsync("div", { class: "md-step__header" }, headerNodes) : headerNodes, renderPanel && (hAsync("div", { key: '099212003eff2bc250bcde76a4e8870f24f746cc', id: "md-step-panel", class: {
|
|
49011
49552
|
'md-step__content': true,
|
|
49012
49553
|
'md-step__content--open': this.active,
|
|
49013
49554
|
'md-step__content--lazy': lazy,
|
|
49014
49555
|
'md-step__content--entering': lazy && this.active && this.animatePanel,
|
|
49015
|
-
}, part: "content", onAnimationEnd: this.onPanelAnimationDone, "on-animationcancel": this.onPanelAnimationDone, role: "region", "aria-label": this.label || this.composeA11yLabel() }, hAsync("div", { key: '
|
|
49556
|
+
}, part: "content", onAnimationEnd: this.onPanelAnimationDone, "on-animationcancel": this.onPanelAnimationDone, role: "region", "aria-label": this.label || this.composeA11yLabel() }, hAsync("div", { key: '143c38b88ac87908a6acb06b2dbc37411aa17ac5', class: "md-step__content-sizer" }, hAsync("div", { key: 'bead5621f7710fe2dc79546c9ce894e449944929', class: "md-step__content-inner" }, hAsync("slot", { key: 'bb5668b63efb9dae8c0c03491982b7bfd72abaeb' }), navActions && isVertical && (hAsync("div", { key: 'cfcab958571c9c5115ad54a7db7a4844c278dddd', class: "md-step__actions", part: "actions" }, hAsync("md-button", { key: '9bebab011843deb9d8f334e117d60fd80bc576fc', variant: "text", size: "sm", disabled: isFirst || loading, onClick: this.emitBack }, this.attr('data-back-label', 'Back')), hAsync("md-button", { key: '57c142354981e4975e9fa99ccf0acd19aa8a05c7', variant: "filled", size: "sm", loading: loading, disabled: nextDisabled || loading, onClick: this.emitNext }, isLast ? this.attr('data-finish-label', 'Finish') : this.attr('data-next-label', 'Continue'))))))))));
|
|
49016
49557
|
}
|
|
49017
49558
|
componentWillLoad() {
|
|
49018
49559
|
}
|
|
@@ -49572,19 +50113,19 @@ class MdStepper {
|
|
|
49572
50113
|
}
|
|
49573
50114
|
render() {
|
|
49574
50115
|
const mobile = this.variant === 'mobile';
|
|
49575
|
-
return (hAsync(Host, { key: '
|
|
50116
|
+
return (hAsync(Host, { key: '95354ba1a93eec2aaaa6fa01d6745250584914f5', class: {
|
|
49576
50117
|
'md-stepper': true,
|
|
49577
50118
|
[`md-stepper--${this.orientation}`]: true,
|
|
49578
50119
|
[`md-stepper--indicator-${this.indicator}`]: true,
|
|
49579
50120
|
[`md-stepper--mode-${this.mode}`]: true,
|
|
49580
50121
|
'md-stepper--mobile': mobile,
|
|
49581
|
-
}, role: "navigation", "aria-label": this.label }, hAsync("div", { key: '
|
|
50122
|
+
}, role: "navigation", "aria-label": this.label }, hAsync("div", { key: '9d8e7c769c661a077e7c8440ed6e47cdd336db14', class: "md-stepper__live", "aria-live": "polite", role: "status" }, this.liveMessage), hAsync("div", { key: 'c2e618dceb4b6405bf8d3333585837c053fc41ad', class: "md-stepper__live", "aria-live": "assertive", role: "alert" }, this.errorMessage), hAsync("ol", { key: 'df3777f1fe689abab6478345f909a17a96e55337', class: "md-stepper__list", part: "list" }, hAsync("slot", { key: 'b037c9d9cde62609c04973abdeb42bdf04320f0a', onSlotchange: this.handleSlotChange })), hAsync("div", { key: '30bf76c17e3c41a44868611f719c7dc573b74e15', class: "md-stepper__content", part: "content" }, hAsync("slot", { key: '616f9478eca248f26d671fc3cafaa9a0b0a21c97', name: "content" })), this.nav && !mobile && this.orientation === 'horizontal' && this.stepCount > 0 && (hAsync("div", { key: 'aae1f679bc5465920764c9dca14a87c88dfa5c60', class: "md-stepper__nav", part: "nav" }, hAsync("md-button", { key: 'e92dd71cb9f23f221f91ba89496aa15c1e87078b', variant: "text", size: "sm", disabled: this.active <= 0 || this.loading, onClick: this.handleFooterBack }, this.backLabel), hAsync("md-button", { key: 'cef4af02259ee95cf3aa1b44919d06d9fa1d3ee0', variant: "filled", size: "sm", loading: this.loading, disabled: this.nextDisabled || this.loading, onClick: () => this.next() }, this.active >= this.stepCount - 1 ? this.finishLabel : this.nextLabel))), this.nav && mobile && this.stepCount > 0 && (hAsync("div", { key: '15114237c9fbd4377edbe16f5930e6cced6a12b6', class: "md-stepper__mobile", part: "mobile-nav" }, hAsync("md-button", { key: '5c9c30eee736dc2a494931c4edba1742aa992cfa', variant: "text", size: "sm", disabled: this.active <= 0 || this.loading, onClick: this.handleFooterBack }, this.backLabel), hAsync("div", { key: 'a89bd3b9643ccf091ae83eebfbc4e8ee5fb349f6', class: "md-stepper__mobile-progress", part: "mobile-progress", "aria-hidden": this.indicator === 'dot' ? 'true' : undefined }, this.indicator === 'dot'
|
|
49582
50123
|
? this.steps.map((s, i) => (hAsync("span", { class: {
|
|
49583
50124
|
'md-stepper__mobile-dot': true,
|
|
49584
50125
|
'is-active': i === this.active,
|
|
49585
50126
|
'is-done': i < this.active || !!s.completed,
|
|
49586
50127
|
} })))
|
|
49587
|
-
: hAsync("span", { class: "md-stepper__mobile-text" }, `${this.stepWord} ${this.active + 1} ${this.ofWord} ${this.stepCount}`)), hAsync("md-button", { key: '
|
|
50128
|
+
: hAsync("span", { class: "md-stepper__mobile-text" }, `${this.stepWord} ${this.active + 1} ${this.ofWord} ${this.stepCount}`)), hAsync("md-button", { key: '67a6e3c4c1defc3fe428f18b2fed6d301b446347', variant: "filled", size: "sm", loading: this.loading, disabled: this.nextDisabled || this.loading, onClick: () => this.next() }, this.active >= this.stepCount - 1 ? this.finishLabel : this.nextLabel)))));
|
|
49588
50129
|
}
|
|
49589
50130
|
componentDidRender() {
|
|
49590
50131
|
}
|
|
@@ -50374,13 +50915,13 @@ class MdSubMenuItem {
|
|
|
50374
50915
|
this.stopCorridorWatch();
|
|
50375
50916
|
}
|
|
50376
50917
|
render() {
|
|
50377
|
-
return (hAsync(Host, { key: '
|
|
50918
|
+
return (hAsync(Host, { key: '4a6583db9631c4ee8e799b957e30273824b68441', class: {
|
|
50378
50919
|
'md-sub-menu-item': true,
|
|
50379
50920
|
'md-sub-menu-item--disabled': this.disabled,
|
|
50380
50921
|
'md-sub-menu-item--open': this.submenuOpen,
|
|
50381
50922
|
'md-sub-menu-item--divider': this.divider,
|
|
50382
50923
|
'md-sub-menu-item--gap': this.gap,
|
|
50383
|
-
}, role: "menuitem", "aria-haspopup": "menu", "aria-expanded": String(this.submenuOpen), "aria-disabled": this.disabled ? 'true' : 'false', tabindex: "-1", onClick: this.handleClick, onMouseEnter: this.handleMouseEnter, onMouseLeave: this.handleMouseLeave, onKeyDown: this.handleKeyDown }, hAsync("md-ripple", { key: '
|
|
50924
|
+
}, role: "menuitem", "aria-haspopup": "menu", "aria-expanded": String(this.submenuOpen), "aria-disabled": this.disabled ? 'true' : 'false', tabindex: "-1", onClick: this.handleClick, onMouseEnter: this.handleMouseEnter, onMouseLeave: this.handleMouseLeave, onKeyDown: this.handleKeyDown }, hAsync("md-ripple", { key: 'ca1b30af552cf08bf676cb3636e6282e2b391223', disabled: this.disabled }), hAsync("span", { key: '7b49a451e9dfb691c4c77bc99b61549f24a9c563', class: "md-sub-menu-item__state-layer", part: "state-layer", "aria-hidden": "true" }), this.hasLeadingIcon && (hAsync("span", { key: 'c6b1b9eb3541695cbc8992fefbbbda5098461406', class: "md-sub-menu-item__leading", part: "leading-icon", "aria-hidden": "true" }, hAsync("slot", { key: '43a9c65ee0a602e6ac15f69b2f6b0c709e811368', name: "leading-icon" }))), hAsync("span", { key: '1015cba9ee50205b7860ed0c7621692ce42ff91a', class: "md-sub-menu-item__content", part: "content" }, hAsync("span", { key: '1cdee332c2ca800988e5a9a8fe0e4342cd2ef59f', class: "md-sub-menu-item__headline", part: "headline" }, this.headline), this.supportingText && (hAsync("span", { key: '0fe305667451760e7c6e3e42a56e34dc1140fc2b', class: "md-sub-menu-item__supporting", part: "supporting-text" }, this.supportingText))), this.badge && (hAsync("span", { key: '7894162f6a1a5fe85ef785986f76c7065b7f5641', class: "md-sub-menu-item__badge", part: "badge" }, this.badge)), hAsync("span", { key: '08adf0867e0c17ec428b64bfe808deedf85d2768', class: "md-sub-menu-item__arrow material-symbols-outlined", "aria-hidden": "true" }, "arrow_right"), hAsync("div", { key: 'e49b20b191ad71402a23985133a0f7aad8de8e1e', class: "md-sub-menu-item__submenu", onMouseEnter: this.handleFlyoutEnter, onMouseLeave: this.handleFlyoutLeave }, hAsync("slot", { key: '977992b62a111aebc54b881dc4855f0c4eff6d3b', name: "submenu" }))));
|
|
50384
50925
|
}
|
|
50385
50926
|
connectedCallback() {
|
|
50386
50927
|
}
|
|
@@ -50645,7 +51186,7 @@ class MdSwitch {
|
|
|
50645
51186
|
const showSelectedIcon = this.icons || this.showOnlySelectedIcon;
|
|
50646
51187
|
const showUnselectedIcon = this.icons;
|
|
50647
51188
|
const showIcon = this.selected ? showSelectedIcon : showUnselectedIcon;
|
|
50648
|
-
return (hAsync(Host, { key: '
|
|
51189
|
+
return (hAsync(Host, { key: '239a37905ec6f1098aac839aa8fe584fb04dfd70', role: "switch", "aria-invalid": this.validationMessage ? 'true' : undefined, "aria-checked": String(this.selected), "aria-disabled": this.isDisabled ? 'true' : null, "aria-required": this.required ? 'true' : null, tabindex: this.disabled ? '-1' : '0', class: {
|
|
50649
51190
|
'md-switch': true,
|
|
50650
51191
|
'md-switch--selected': this.selected,
|
|
50651
51192
|
'md-switch--disabled': this.disabled || this.softDisabled,
|
|
@@ -50653,7 +51194,7 @@ class MdSwitch {
|
|
|
50653
51194
|
'md-switch--with-icon': showIcon,
|
|
50654
51195
|
'md-switch--focus-ring': this.programmaticFocus,
|
|
50655
51196
|
'md-switch--has-support': !!this.validationMessage,
|
|
50656
|
-
}, onClick: this.toggle, onKeyDown: this.handleKeyDown, onPointerDown: this.handlePointerDown, onPointerUp: this.handlePointerUp, onPointerLeave: this.handlePointerUp, onPointerCancel: this.handlePointerUp, onBlur: this.handleBlur }, hAsync("span", { key: '
|
|
51197
|
+
}, onClick: this.toggle, onKeyDown: this.handleKeyDown, onPointerDown: this.handlePointerDown, onPointerUp: this.handlePointerUp, onPointerLeave: this.handlePointerUp, onPointerCancel: this.handlePointerUp, onBlur: this.handleBlur }, hAsync("span", { key: '777694e1f72c5be37c152cfbcf434c186e345c31', class: "md-switch__target" }, hAsync("div", { key: '42011552e0387b9fa15210ee89f8b089188edf74', class: "md-switch__track", part: "track" }, hAsync("div", { key: 'c9da95b6a609c0c32d3da58ae9d946f9698c981f', class: "md-switch__handle-container" }, hAsync("span", { key: 'c0d2a6c9c7224c04b2b8e7fd600ca5daaf9f5224', class: "md-switch__state-layer", part: "state-layer", "aria-hidden": "true" }), hAsync("span", { key: 'fc9adf096982045c7d1f5ddb5f7080c1893ab4bb', class: "md-switch__handle", part: "handle" }, showIcon && (this.selected ? (hAsync("slot", { name: "selected-icon" }, hAsync("span", { class: "md-switch__icon material-symbols-outlined", part: "icon", "aria-hidden": "true" }, this.selectedIcon))) : (hAsync("slot", { name: "unselected-icon" }, hAsync("span", { class: "md-switch__icon material-symbols-outlined", part: "icon", "aria-hidden": "true" }, this.unselectedIcon)))))))), this.validationMessage && (hAsync("span", { key: 'ff0b32692ded135cab3c8a1a9434108bab039b07', id: `${this.uid}-support`, ref: (el) => { this.supportEl = el; }, class: "md-switch__support", role: "alert" }, this.validationMessage))));
|
|
50657
51198
|
}
|
|
50658
51199
|
componentDidLoad() {
|
|
50659
51200
|
}
|
|
@@ -50843,7 +51384,7 @@ class MdTab {
|
|
|
50843
51384
|
const hasBadge = this.badge !== undefined;
|
|
50844
51385
|
const isInline = this.inlineIcon && hasIcon && hasLabel;
|
|
50845
51386
|
const isStacked = hasIcon && hasLabel && !isInline;
|
|
50846
|
-
return (hAsync(Host, { key: '
|
|
51387
|
+
return (hAsync(Host, { key: '53d96f6295b2aef16cf89a76b348cee98c98707e', class: {
|
|
50847
51388
|
'md-tab': true,
|
|
50848
51389
|
[`md-tab--${this.variant}`]: true,
|
|
50849
51390
|
'md-tab--active': this.active,
|
|
@@ -50851,16 +51392,16 @@ class MdTab {
|
|
|
50851
51392
|
'md-tab--inline-icon': isInline,
|
|
50852
51393
|
'md-tab--stacked': isStacked,
|
|
50853
51394
|
'md-tab--icon-only': hasIcon && !hasLabel,
|
|
50854
|
-
}, role: "tab", "aria-selected": this.active ? 'true' : 'false', "aria-disabled": this.disabled ? 'true' : null, "aria-controls": this.controls || null, onClick: this.handleClick, onKeyDown: this.handleKeyDown }, hAsync("md-ripple", { key: '
|
|
51395
|
+
}, role: "tab", "aria-selected": this.active ? 'true' : 'false', "aria-disabled": this.disabled ? 'true' : null, "aria-controls": this.controls || null, onClick: this.handleClick, onKeyDown: this.handleKeyDown }, hAsync("md-ripple", { key: 'bc8967ddd5a435a7f5b34c7f12a8d49048ed3776', disabled: this.disabled }), hAsync("span", { key: '314f7eafa99ac9068b268bc9c6fd6fb75c87d243', class: "md-tab__state-layer", part: "state-layer", "aria-hidden": "true" }), hAsync("span", { key: 'c20fa2fbf441cba21b1f1e5a53e7c548e64119ef', class: "md-tab__inner" }, hAsync("span", { key: '5e918c82b317772d5b5ffde4c21fa415a2fbdba3', class: {
|
|
50855
51396
|
'md-tab__content': true,
|
|
50856
51397
|
'md-tab__content--inline': isInline,
|
|
50857
|
-
}, part: "content" }, hasIcon && (hAsync("span", { key: '
|
|
51398
|
+
}, part: "content" }, hasIcon && (hAsync("span", { key: 'c8e669f7deb34df640c30522624119d7b67e9b79', class: "md-tab__icon-wrapper" }, hAsync("slot", { key: 'ce8f2a45d58da7b2c28b12289d5a9d2c704815bf', name: "icon" }, hAsync("span", { key: '519178dcfcc20eb12ce9b5da6de036227d2f97a1', class: "md-tab__icon material-symbols-outlined", part: "icon", "aria-hidden": "true" }, this.icon)), hAsync("slot", { key: 'f9275b01223fe790efda9abfd8633531af689160', name: "badge" }, hasBadge && (hAsync("span", { key: '28351271999c44292ea5ee29e183f05afca3bfee', class: "md-tab__badge", "aria-label": this.badge || 'notification' }, this.badge))))), hasLabel && (hAsync("span", { key: '007d0a3178b3a1ab339f8368753bb2b3db5dcee4', class: "md-tab__label", part: "label" }, hAsync("span", { key: '8e0d0b7d26d42d76db101004f50563a8411c900a', class: "md-tab__label-text" }, this.label), !hasIcon && (hAsync("slot", { key: '1aaa88805a2fba13a25ca1c19d9d50b5dda7e0b6', name: "badge" }, hasBadge && (hAsync("span", { key: '33bdba26841f106a0b3c9de95dbe6aaa492b53e6', class: "md-tab__badge md-tab__badge--inline", "aria-label": this.badge || 'notification' }, this.badge))))))), this.variant === 'primary' ? (hAsync("span", { class: {
|
|
50858
51399
|
'md-tab__indicator': true,
|
|
50859
51400
|
'md-tab__indicator--active': this.active,
|
|
50860
51401
|
}, part: "indicator", "aria-hidden": "true" })) : null), this.variant === 'secondary' ? (hAsync("span", { class: {
|
|
50861
51402
|
'md-tab__indicator': true,
|
|
50862
51403
|
'md-tab__indicator--active': this.active,
|
|
50863
|
-
}, part: "indicator", "aria-hidden": "true" })) : null, hAsync("span", { key: '
|
|
51404
|
+
}, part: "indicator", "aria-hidden": "true" })) : null, hAsync("span", { key: '0888f99842a865b9ac010070a0da3dec11ae4de5', class: "md-tab__divider", part: "divider", "aria-hidden": "true" })));
|
|
50864
51405
|
}
|
|
50865
51406
|
componentDidRender() {
|
|
50866
51407
|
}
|
|
@@ -50916,7 +51457,7 @@ class MdTabPanel {
|
|
|
50916
51457
|
this.active = false;
|
|
50917
51458
|
}
|
|
50918
51459
|
render() {
|
|
50919
|
-
return (hAsync(Host, { key: '
|
|
51460
|
+
return (hAsync(Host, { key: '4a997dbd88f3650da9af5c17d19291b8ea1af681', role: "tabpanel", tabindex: this.active ? '0' : '-1' }, hAsync("div", { key: '0c6382d22811212822f7c1757629c5a8c99c3361', class: "md-tab-panel__body" }, hAsync("slot", { key: '4ab4e46b1166301b3730af741172646461a76ad8' }))));
|
|
50920
51461
|
}
|
|
50921
51462
|
componentWillLoad() {
|
|
50922
51463
|
}
|
|
@@ -51119,7 +51660,7 @@ class MdTabPanels {
|
|
|
51119
51660
|
this.el.setAttribute('data-active-resolved', '');
|
|
51120
51661
|
}
|
|
51121
51662
|
render() {
|
|
51122
|
-
return (hAsync(Host, { key: '
|
|
51663
|
+
return (hAsync(Host, { key: '21a2e377759d4b9e8c97c6bd7949a40938926ec4' }, hAsync("slot", { key: '1e0e5887ceded08e1ce02797177cb8d48e42fb1b' })));
|
|
51123
51664
|
}
|
|
51124
51665
|
componentWillLoad() {
|
|
51125
51666
|
const children = Array.from(this.el.children).filter(child => !child.getAttribute('slot'));
|
|
@@ -52619,7 +53160,7 @@ class MdTable {
|
|
|
52619
53160
|
this.el.querySelectorAll('md-table-head md-table-row, md-table-foot md-table-row').length)
|
|
52620
53161
|
: null,
|
|
52621
53162
|
};
|
|
52622
|
-
return (hAsync(Host, { key: '
|
|
53163
|
+
return (hAsync(Host, { key: 'bfcc96ee8606c66d984b132369d9701334c1cbb5', class: {
|
|
52623
53164
|
'md-table': true,
|
|
52624
53165
|
[`md-table--density-${this.density}`]: typeof this.density === 'string',
|
|
52625
53166
|
'md-table--sticky-header': this.stickyHeader,
|
|
@@ -52635,7 +53176,7 @@ class MdTable {
|
|
|
52635
53176
|
// the host: the table content model admits only rowgroups/rows, and the
|
|
52636
53177
|
// host also hosts the caption, live region, loading overlay and empty
|
|
52637
53178
|
// state (axe aria-required-children).
|
|
52638
|
-
style: style }, hAsync("span", { key: '
|
|
53179
|
+
style: style }, hAsync("span", { key: 'b79cadb12bfdab626dbd577d94945a48930e740d', class: "md-table__sr-status", "aria-live": "polite" }, this.srAnnouncement), this.caption && (hAsync("div", { key: 'd20f4d57f40bfc81cb59d2d3c3279ae5280d1b22', class: "md-table__caption", part: "caption", "aria-hidden": "true" }, this.caption)), this.frozenHeader ? (
|
|
52639
53180
|
// Frozen header: the header grid sits above a vertically-scrolling
|
|
52640
53181
|
// body grid, so the scrollbar spans only the body. Both grids share
|
|
52641
53182
|
// the column tracks (syncFrozenColumns copies the body's resolved
|
|
@@ -52653,7 +53194,7 @@ class MdTable {
|
|
|
52653
53194
|
// their rows promote here instead of nesting a second rowgroup.
|
|
52654
53195
|
role: "rowgroup", tabindex: "0", ref: (el) => (this.bodyScrollEl = el), onScroll: this.onBodyScroll, onWheel: this.onBodyWheel, onKeyDown: this.onBodyKeyDown }, hAsync("div", { class: "md-table__grid md-table__grid--body", part: "grid",
|
|
52655
53196
|
// Layout-only grid between the rowgroup wrapper and the rows.
|
|
52656
|
-
role: "presentation", ref: (el) => (this.bodyGridEl = el) }, hAsync("slot", { onSlotchange: this.handleSlotChange }), this.loading && this.loadingMode === 'skeleton' && this.renderSkeletonRows()), this.empty && !this.loading && this.renderEmpty()), hAsync("div", { class: "md-table__hscroll", part: "hscrollbar", "aria-hidden": "true", ref: (el) => (this.hTrackEl = el) }, hAsync("div", { class: "md-table__hscroll-thumb", part: "hscrollbar-thumb", ref: (el) => (this.hThumbEl = el), onPointerDown: this.onHThumbPointerDown, onPointerMove: this.onHThumbPointerMove, onPointerUp: this.onHThumbPointerUp, onPointerCancel: this.onHThumbPointerUp })), hAsync("div", { class: "md-table__vscroll", part: "vscrollbar", "aria-hidden": "true", ref: (el) => (this.vTrackEl = el) }, hAsync("div", { class: "md-table__vscroll-thumb", part: "vscrollbar-thumb", ref: (el) => (this.vThumbEl = el), onPointerDown: this.onVThumbPointerDown, onPointerMove: this.onVThumbPointerMove, onPointerUp: this.onVThumbPointerUp, onPointerCancel: this.onVThumbPointerUp })))) : (hAsync("div", { class: "md-table__grid", part: "grid", ...tableAria }, hAsync("slot", { onSlotchange: this.handleSlotChange }), this.loading && this.loadingMode === 'skeleton' && this.renderSkeletonRows())), this.loading && this.loadingMode === 'overlay' && (hAsync("div", { key: '
|
|
53197
|
+
role: "presentation", ref: (el) => (this.bodyGridEl = el) }, hAsync("slot", { onSlotchange: this.handleSlotChange }), this.loading && this.loadingMode === 'skeleton' && this.renderSkeletonRows()), this.empty && !this.loading && this.renderEmpty()), hAsync("div", { class: "md-table__hscroll", part: "hscrollbar", "aria-hidden": "true", ref: (el) => (this.hTrackEl = el) }, hAsync("div", { class: "md-table__hscroll-thumb", part: "hscrollbar-thumb", ref: (el) => (this.hThumbEl = el), onPointerDown: this.onHThumbPointerDown, onPointerMove: this.onHThumbPointerMove, onPointerUp: this.onHThumbPointerUp, onPointerCancel: this.onHThumbPointerUp })), hAsync("div", { class: "md-table__vscroll", part: "vscrollbar", "aria-hidden": "true", ref: (el) => (this.vTrackEl = el) }, hAsync("div", { class: "md-table__vscroll-thumb", part: "vscrollbar-thumb", ref: (el) => (this.vThumbEl = el), onPointerDown: this.onVThumbPointerDown, onPointerMove: this.onVThumbPointerMove, onPointerUp: this.onVThumbPointerUp, onPointerCancel: this.onVThumbPointerUp })))) : (hAsync("div", { class: "md-table__grid", part: "grid", ...tableAria }, hAsync("slot", { onSlotchange: this.handleSlotChange }), this.loading && this.loadingMode === 'skeleton' && this.renderSkeletonRows())), this.loading && this.loadingMode === 'overlay' && (hAsync("div", { key: 'c7a153fd3b3db5945e1e317ed17cdbc17b47a013', class: "md-table__loading", part: "loading", "aria-hidden": "true" }, hAsync("slot", { key: '61cfe1ee958e1b6646d166060f6f099d119c5d53', name: "loader" }, hAsync("slot", { key: 'c64db64d369d8f0e1ad5f8559a8b2cd0edd970ba', name: "loading" }, hAsync("div", { key: 'f2d103c982d98eaf23dbdd65fbfa5983dca3f0b6', class: "md-table__progress", part: "progress" }, hAsync("md-progress-indicator", { key: 'ecf288b5cf98eeb40e156e9b489c90d2f8fe69d3', variant: "linear", indeterminate: true, "aria-label": "Loading" })), hAsync("div", { key: '505caeb36f7ec1600ed49d01c836c7701fe52c63', class: "md-table__scrim" }))))), this.empty && !this.loading && !this.frozenHeader && this.renderEmpty()));
|
|
52657
53198
|
}
|
|
52658
53199
|
componentWillLoad() {
|
|
52659
53200
|
}
|
|
@@ -52781,7 +53322,7 @@ class MdTableBody {
|
|
|
52781
53322
|
this.presentational = false;
|
|
52782
53323
|
}
|
|
52783
53324
|
render() {
|
|
52784
|
-
return (hAsync(Host, { key: '
|
|
53325
|
+
return (hAsync(Host, { key: '5d62ed6a84987358aa4c6519a14efcbe3ebb3fdc', class: "md-table-body", role: this.presentational ? 'presentation' : 'rowgroup', "data-md-rowgroup": "body" }, hAsync("slot", { key: '7f44a228c719eaa99e67d243d9191601022e6e1b', onSlotchange: () =>
|
|
52785
53326
|
// Row mutations happen inside THIS shadow slot — slotchange is not
|
|
52786
53327
|
// composed, so md-table would never see reorders (a sorted row
|
|
52787
53328
|
// kept its stale data-last stamp, losing its divider). Relay as a
|
|
@@ -52903,14 +53444,14 @@ class MdTableCell {
|
|
|
52903
53444
|
style.gridColumn = `span ${this.colSpan}`;
|
|
52904
53445
|
if (this.rowSpan > 1)
|
|
52905
53446
|
style.gridRow = `span ${this.rowSpan}`;
|
|
52906
|
-
return (hAsync(Host, { key: '
|
|
53447
|
+
return (hAsync(Host, { key: 'f5e0c8ee1d1334fcaea0a4e98d3fde19d08bc009', class: {
|
|
52907
53448
|
'md-table-cell': true,
|
|
52908
53449
|
'md-table-cell--head': this.head,
|
|
52909
53450
|
'md-table-cell--pinned': this.showPin,
|
|
52910
53451
|
[`md-table-cell--align-${this.align}`]: true,
|
|
52911
53452
|
[`md-table-cell--padding-${this.padding}`]: true,
|
|
52912
53453
|
[`md-table-cell--variant-${this.variant}`]: true,
|
|
52913
|
-
}, role: this.role, scope: this.head && this.scope ? this.scope : undefined, "aria-colspan": this.colSpan > 1 ? String(this.colSpan) : null, "aria-rowspan": this.rowSpan > 1 ? String(this.rowSpan) : null, style: style }, this.showPin && (hAsync("span", { key: '
|
|
53454
|
+
}, role: this.role, scope: this.head && this.scope ? this.scope : undefined, "aria-colspan": this.colSpan > 1 ? String(this.colSpan) : null, "aria-rowspan": this.rowSpan > 1 ? String(this.rowSpan) : null, style: style }, this.showPin && (hAsync("span", { key: '8ae832fcd311b92f6abae11ebd93f32a743a4fc2', class: "md-table-cell__pin", part: "pin", "aria-hidden": "true", title: this.sticky === 'end' ? 'Pinned right' : 'Pinned left' }, this.pinIcon ? (hAsync("span", { class: "material-symbols-outlined md-table-cell__pin-glyph" }, this.pinIcon)) : (hAsync("svg", { viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" }, hAsync("path", { d: "M16,12V4H17V2H7V4H8V12L6,14V16H11.2V22H12.8V16H18V14L16,12Z" }))))), hAsync("span", { key: '6278bd02996229aa1fc23193e874f59d53d9528b', class: "md-table-cell__content", part: "content" }, hAsync("slot", { key: '724d53de0cde0f6cbfa40ac90c943dcf6b23f9ed' }))));
|
|
52914
53455
|
}
|
|
52915
53456
|
componentWillLoad() {
|
|
52916
53457
|
}
|
|
@@ -53057,14 +53598,14 @@ class MdTableContainer {
|
|
|
53057
53598
|
// would nest two scrollbars. max-height only controls the SIZE of the
|
|
53058
53599
|
// frozen body; the architecture is opt-in on the table.
|
|
53059
53600
|
const frozen = !!this.el.querySelector('md-table[frozen-header]');
|
|
53060
|
-
return (hAsync(Host, { key: '
|
|
53601
|
+
return (hAsync(Host, { key: 'bbf0bedada679c273609e2afde3b126d1a203830', class: {
|
|
53061
53602
|
'md-table-container': true,
|
|
53062
53603
|
[`md-table-container--${this.variant}`]: true,
|
|
53063
53604
|
[`md-table-container--shape-${this.shape}`]: true,
|
|
53064
53605
|
'md-table-container--scrollable': !!this.maxHeight,
|
|
53065
53606
|
'md-table-container--frozen-header': frozen,
|
|
53066
53607
|
'md-table-container--vibrant': this.vibrant,
|
|
53067
|
-
}, style: style }, hAsync("div", { key: '
|
|
53608
|
+
}, style: style }, hAsync("div", { key: '44dde15265dbee1b6e0df8bec9c406a29d904e10', class: "md-table-container__top", part: "top" }, hAsync("slot", { key: '31b59f5727cbdb5e87acbef1ac3745be174a0653', name: "top" })), hAsync("div", { key: '4b25b12980f523a6302675411071d60543565812', class: "md-table-container__scroll", part: "scroll" }, hAsync("slot", { key: 'b00bb69c10bb4a4e8ba9a92ca6fcdf827654dd61' })), hAsync("div", { key: 'e7c0ff733c58706c61f3bb16ae22ef2bc9bcadd3', class: "md-table-container__bottom", part: "bottom" }, hAsync("slot", { key: '29898848ff12ed9283985fe00f4669ae9365669a', name: "bottom" }))));
|
|
53068
53609
|
}
|
|
53069
53610
|
componentWillLoad() {
|
|
53070
53611
|
}
|
|
@@ -53161,10 +53702,10 @@ class MdTableExpandToggle {
|
|
|
53161
53702
|
this.row = null;
|
|
53162
53703
|
}
|
|
53163
53704
|
render() {
|
|
53164
|
-
return (hAsync(Host, { key: '
|
|
53705
|
+
return (hAsync(Host, { key: '7b2ff4c273148be27497d48b007d3ba706c34aa0', class: {
|
|
53165
53706
|
'md-table-expand-toggle': true,
|
|
53166
53707
|
'md-table-expand-toggle--expanded': this.expanded,
|
|
53167
|
-
} }, hAsync("md-icon-button", { key: '
|
|
53708
|
+
} }, hAsync("md-icon-button", { key: '1703bc5df3e43d5606eaad24b92814826b1be8e8', size: "xs", icon: this.icon, "aria-label": this.buttonLabel, "aria-expanded": this.expanded ? 'true' : 'false', onClick: this.onClick })));
|
|
53168
53709
|
}
|
|
53169
53710
|
componentWillLoad() {
|
|
53170
53711
|
}
|
|
@@ -53215,7 +53756,7 @@ class MdTableFoot {
|
|
|
53215
53756
|
this.presentational = false;
|
|
53216
53757
|
}
|
|
53217
53758
|
render() {
|
|
53218
|
-
return (hAsync(Host, { key: '
|
|
53759
|
+
return (hAsync(Host, { key: '700686b717d365d11aece8af38c52698845c6352', class: "md-table-foot", role: this.presentational ? 'presentation' : 'rowgroup', "data-md-rowgroup": "foot" }, hAsync("slot", { key: '8c32c016602374669a568af8d54acbf7421fdf40', onSlotchange: () =>
|
|
53219
53760
|
// Row mutations happen inside THIS shadow slot — slotchange is not
|
|
53220
53761
|
// composed, so md-table would never see reorders (a sorted row
|
|
53221
53762
|
// kept its stale data-last stamp, losing its divider). Relay as a
|
|
@@ -53265,7 +53806,7 @@ class MdTableHead {
|
|
|
53265
53806
|
registerInstance(this, hostRef);
|
|
53266
53807
|
}
|
|
53267
53808
|
render() {
|
|
53268
|
-
return (hAsync(Host, { key: '
|
|
53809
|
+
return (hAsync(Host, { key: 'faf426cb9e3682b5ab5c7e89a4c0f9fafbdb4e05', class: "md-table-head", role: "rowgroup", "data-md-rowgroup": "head" }, hAsync("slot", { key: 'a0ae4061b75ce225954c80093df31198fbbd2427', onSlotchange: () =>
|
|
53269
53810
|
// Row mutations happen inside THIS shadow slot — slotchange is not
|
|
53270
53811
|
// composed, so md-table would never see reorders (a sorted row
|
|
53271
53812
|
// kept its stale data-last stamp, losing its divider). Relay as a
|
|
@@ -53455,11 +53996,11 @@ class MdTablePagination {
|
|
|
53455
53996
|
const isLast = this.page >= this.lastPage;
|
|
53456
53997
|
const opts = this.options;
|
|
53457
53998
|
const selectOptions = opts.map((o) => ({ value: String(o.value), label: o.label }));
|
|
53458
|
-
return (hAsync(Host, { key: '
|
|
53999
|
+
return (hAsync(Host, { key: '08ea5504c31d504af30416fa0c2ec67b95474e9a', class: {
|
|
53459
54000
|
'md-table-pagination': true,
|
|
53460
54001
|
'md-table-pagination--compact': this.compact,
|
|
53461
54002
|
'md-table-pagination--disabled': this.disabled,
|
|
53462
|
-
}, role: "navigation", "aria-label": "Pagination" }, hAsync("div", { key: '
|
|
54003
|
+
}, role: "navigation", "aria-label": "Pagination" }, hAsync("div", { key: '91a1f0506f0aa37b8925b83dba01500290149134', class: "md-table-pagination__display", part: "display", "aria-live": "polite" }, this.displayLabel), hAsync("div", { key: 'fd3c7a7f0c4512f66a1eb68e819d9a804483fd34', class: "md-table-pagination__rpp", part: "rpp" }, hAsync("span", { key: 'e493e5985f921ab3cca8f6e285774e466563ee03', class: "md-table-pagination__rpp-label", id: "rpp-label" }, this.labelRowsPerPage), hAsync("md-select", { key: '9020745df5bee27d674d8bdfed117c077676ed4c', class: "md-table-pagination__rpp-select", part: "rpp-select", "aria-label": this.labelRowsPerPage, density: this.selectDensity, options: selectOptions, value: String(this.rowsPerPage), disabled: this.disabled, placement: "top-start", onMdChange: this.handleRppChange })), hAsync("div", { key: '5e753e665fe11fa228054f20faecbfa2e47f45ed', class: "md-table-pagination__nav", part: "nav" }, this.showFirstLast && (hAsync("md-icon-button", { key: 'b784c97c79b38b43f60f8b165e4439c732c7ab24', part: "first-button", icon: "first_page", size: "sm", "aria-label": this.labelFirstPage, disabled: isFirst || this.disabled, onClick: this.handleFirst })), hAsync("md-icon-button", { key: '8568a4afb7c738d039c0a3be9b38e19da44ce7fa', part: "prev-button", icon: "chevron_left", size: "sm", "aria-label": this.labelPreviousPage, disabled: isFirst || this.disabled, onClick: this.handlePrev }), hAsync("md-icon-button", { key: '80ba439dced546b28c0e8818e4e82f6e20e59243', part: "next-button", icon: "chevron_right", size: "sm", "aria-label": this.labelNextPage, disabled: isLast || this.disabled, onClick: this.handleNext }), this.showFirstLast && (hAsync("md-icon-button", { key: '2e218f94079c96a5e359d3f11b451c248c65b887', part: "last-button", icon: "last_page", size: "sm", "aria-label": this.labelLastPage, disabled: isLast || this.disabled, onClick: this.handleLast })), hAsync("slot", { key: '51fa699ed8c7f6303a115495da3fd620ea972291', name: "actions" }))));
|
|
53463
54004
|
}
|
|
53464
54005
|
componentWillLoad() {
|
|
53465
54006
|
}
|
|
@@ -53620,7 +54161,7 @@ class MdTableRow {
|
|
|
53620
54161
|
this.expanded = !this.expanded;
|
|
53621
54162
|
}
|
|
53622
54163
|
render() {
|
|
53623
|
-
return (hAsync(Host, { key: '
|
|
54164
|
+
return (hAsync(Host, { key: 'b412c0ff4df6d35672c0d97912e5148e460c05ab', class: {
|
|
53624
54165
|
'md-table-row': true,
|
|
53625
54166
|
[`md-table-row--${this.rowgroup}`]: true,
|
|
53626
54167
|
'md-table-row--selected': this.selected,
|
|
@@ -53629,12 +54170,12 @@ class MdTableRow {
|
|
|
53629
54170
|
'md-table-row--highlight': this.highlight,
|
|
53630
54171
|
'md-table-row--expandable': this.expandable,
|
|
53631
54172
|
'md-table-row--expanded': this.expanded,
|
|
53632
|
-
}, role: "row", "aria-disabled": this.disabled ? 'true' : null, "aria-expanded": this.expandable ? (this.expanded ? 'true' : 'false') : null, tabindex: this.clickable && !this.disabled ? '0' : null, onClick: this.handleClick, onKeyDown: this.handleKeyDown }, hAsync("slot", { key: '
|
|
54173
|
+
}, role: "row", "aria-disabled": this.disabled ? 'true' : null, "aria-expanded": this.expandable ? (this.expanded ? 'true' : 'false') : null, tabindex: this.clickable && !this.disabled ? '0' : null, onClick: this.handleClick, onKeyDown: this.handleKeyDown }, hAsync("slot", { key: 'a13359d85b8fdb9e374ce31a6ee5a38fe49cb619', onSlotchange: () =>
|
|
53633
54174
|
// Cells slot into the ROW's shadow — cell additions/removals (e.g.
|
|
53634
54175
|
// a checkbox column appearing when selection turns on) are
|
|
53635
54176
|
// invisible to md-table without this relay (same non-composed
|
|
53636
54177
|
// slotchange rule as the rowgroups).
|
|
53637
|
-
this.el.dispatchEvent(new CustomEvent('mdRowgroupSlotChange', { bubbles: true })) }), this.expandable && (hAsync("div", { key: '
|
|
54178
|
+
this.el.dispatchEvent(new CustomEvent('mdRowgroupSlotChange', { bubbles: true })) }), this.expandable && (hAsync("div", { key: '550a391e1eb13c9775f19ec41e8e4ab772bb629c', class: {
|
|
53638
54179
|
'md-table-row__expanded': true,
|
|
53639
54180
|
'md-table-row__expanded--open': this.expanded,
|
|
53640
54181
|
}, part: "expanded",
|
|
@@ -53645,7 +54186,7 @@ class MdTableRow {
|
|
|
53645
54186
|
// inert while collapsed: the height animation only clips the
|
|
53646
54187
|
// panel visually — without inert, focusable content inside stays
|
|
53647
54188
|
// tab-reachable while invisible.
|
|
53648
|
-
inert: !this.expanded }, hAsync("div", { key: '
|
|
54189
|
+
inert: !this.expanded }, hAsync("div", { key: '7a5ecd6238c749ec03af139403f8a5efb95769be', class: "md-table-row__expanded-sizer" }, hAsync("div", { key: '2e0910ef4a3f396aac8a282e08b606a8857d235e', class: "md-table-row__expanded-inner" }, hAsync("slot", { key: 'b2d10c3fc871298e9ef1c8c582198881e435fd95', name: "expanded" })))))));
|
|
53649
54190
|
}
|
|
53650
54191
|
componentWillLoad() {
|
|
53651
54192
|
}
|
|
@@ -53805,11 +54346,11 @@ class MdTableSortLabel {
|
|
|
53805
54346
|
// aria-sort actually belongs on the parent columnheader cell (md-table-cell head),
|
|
53806
54347
|
// but we surface it on the host as well so it's present regardless of how the
|
|
53807
54348
|
// header is composed.
|
|
53808
|
-
return (hAsync(Host, { key: '
|
|
54349
|
+
return (hAsync(Host, { key: '4f9381d5fd668936e746cbba1c8c41a4bb39f372', class: {
|
|
53809
54350
|
'md-table-sort-label': true,
|
|
53810
54351
|
'md-table-sort-label--active': this.active,
|
|
53811
54352
|
'md-table-sort-label--disabled': this.disabled,
|
|
53812
|
-
}, role: "button", tabindex: this.disabled ? '-1' : '0', "aria-disabled": this.disabled ? 'true' : null, onClick: this.handleClick, onKeyDown: this.handleKeyDown }, this.iconPosition === 'start' && this.renderArrow(), hAsync("span", { key: '
|
|
54353
|
+
}, role: "button", tabindex: this.disabled ? '-1' : '0', "aria-disabled": this.disabled ? 'true' : null, onClick: this.handleClick, onKeyDown: this.handleKeyDown }, this.iconPosition === 'start' && this.renderArrow(), hAsync("span", { key: 'cd22f5a3e81a08d31274eda3704b7eecbf67e649', class: "md-table-sort-label__text", part: "label" }, hAsync("slot", { key: '4fdb770e961003cfef2fb71b4edc0de2e5f6ab0e' })), this.iconPosition === 'end' && this.renderArrow(), hAsync("span", { key: '59ddde69e751353ba6705c20110c9d59b7feb039', class: "md-table-sort-label__sr", "aria-live": "polite" }, this.active ? (this.order === 'desc' ? this.sortedDescendingLabel : this.sortedAscendingLabel) : '')));
|
|
53813
54354
|
}
|
|
53814
54355
|
componentDidLoad() {
|
|
53815
54356
|
}
|
|
@@ -54023,14 +54564,14 @@ class MdTableToolbar {
|
|
|
54023
54564
|
return this.labelSelected.replace('%count%', this.numSelected.toLocaleString());
|
|
54024
54565
|
}
|
|
54025
54566
|
render() {
|
|
54026
|
-
return (hAsync(Host, { key: '
|
|
54567
|
+
return (hAsync(Host, { key: '2d86697d081b1531e9480532aba6547ece17825d', class: {
|
|
54027
54568
|
'md-table-toolbar': true,
|
|
54028
54569
|
'md-table-toolbar--compact': this.compact,
|
|
54029
54570
|
'md-table-toolbar--selection-mode': this.inSelectionMode,
|
|
54030
|
-
}, role: "toolbar", "aria-label": this.headline || 'Table toolbar' }, hAsync("div", { key: '
|
|
54571
|
+
}, role: "toolbar", "aria-label": this.headline || 'Table toolbar' }, hAsync("div", { key: '55dc81fe2a1a91273be244c0b4281563a7a98c73', class: "md-table-toolbar__leading", part: "leading", hidden: !this.hasLeading && !this.inSelectionMode }, !this.inSelectionMode && hAsync("slot", { key: '23f4f2b27a04b09b43c0620c2a4b2d266a27c691', name: "leading" })), hAsync("div", { key: 'ff380fc78e68d525cfd7697902f29cf2bad0647c', class: "md-table-toolbar__main", part: "main" }, this.inSelectionMode ? (hAsync("span", { class: {
|
|
54031
54572
|
'md-table-toolbar__selection-caption': true,
|
|
54032
54573
|
'md-table-toolbar__selection-caption--entering': this.selectionCaptionEntering,
|
|
54033
|
-
}, part: "selection-caption", "aria-live": "polite" }, this.selectionLabel)) : (hAsync("div", { class: "md-table-toolbar__titles" }, this.headline && (hAsync("h2", { class: "md-table-toolbar__headline", part: "headline" }, hAsync("slot", { name: "headline" }, this.headline))), this.supportingText && (hAsync("p", { class: "md-table-toolbar__supporting", part: "supporting-text" }, hAsync("slot", { name: "supporting-text" }, this.supportingText))), !this.headline && !this.supportingText && (hAsync("slot", { name: "title-area" }))))), hAsync("div", { key: '
|
|
54574
|
+
}, part: "selection-caption", "aria-live": "polite" }, this.selectionLabel)) : (hAsync("div", { class: "md-table-toolbar__titles" }, this.headline && (hAsync("h2", { class: "md-table-toolbar__headline", part: "headline" }, hAsync("slot", { name: "headline" }, this.headline))), this.supportingText && (hAsync("p", { class: "md-table-toolbar__supporting", part: "supporting-text" }, hAsync("slot", { name: "supporting-text" }, this.supportingText))), !this.headline && !this.supportingText && (hAsync("slot", { name: "title-area" }))))), hAsync("div", { key: 'cc5074997f4a6891ee84f6d97a2c9735fcd03a50', class: "md-table-toolbar__actions", part: "actions" }, this.inSelectionMode ? (hAsync("slot", { name: "selection-actions" })) : (hAsync("slot", { name: "actions" })))));
|
|
54034
54575
|
}
|
|
54035
54576
|
componentWillLoad() {
|
|
54036
54577
|
this.bindSelection();
|
|
@@ -54576,7 +55117,7 @@ class MdTabs {
|
|
|
54576
55117
|
}
|
|
54577
55118
|
// ─── Render ──────────────────────────────────────────────
|
|
54578
55119
|
render() {
|
|
54579
|
-
return (hAsync(Host, { key: '
|
|
55120
|
+
return (hAsync(Host, { key: '859a68e3e6d7b2ef38d076844c3953de893c621e', class: {
|
|
54580
55121
|
'md-tabs': true,
|
|
54581
55122
|
[`md-tabs--${this.variant}`]: true,
|
|
54582
55123
|
'md-tabs--tw-auto': this.tabWidthMode === 'auto',
|
|
@@ -54584,7 +55125,7 @@ class MdTabs {
|
|
|
54584
55125
|
}, style: {
|
|
54585
55126
|
...(this.tabWidthMode === 'fixed' ? { '--_tab-width': this.tabWidth } : {}),
|
|
54586
55127
|
...(this.width ? { 'inline-size': this.width } : {}),
|
|
54587
|
-
}, role: "tablist", "aria-label": this.ariaLabelProp || 'tabs', "aria-orientation": "horizontal" }, hAsync("div", { key: '
|
|
55128
|
+
}, role: "tablist", "aria-label": this.ariaLabelProp || 'tabs', "aria-orientation": "horizontal" }, hAsync("div", { key: '9b9aeba84e73702127d38cf7756738157199b786', class: "md-tabs__container", part: "container", ref: el => (this.containerEl = el), onWheel: this.handleWheel, onScroll: this.updateOverflow }, hAsync("slot", { key: '4cf208ae57b4a9de0eaa480f5a921b8173427f24' }))));
|
|
54588
55129
|
}
|
|
54589
55130
|
componentWillLoad() {
|
|
54590
55131
|
// Direct children are known before the slot exists. Apply selection before
|
|
@@ -55744,7 +56285,7 @@ class MdTextField {
|
|
|
55744
56285
|
? this.passwordVisible
|
|
55745
56286
|
: this.type !== 'password';
|
|
55746
56287
|
const passwordIcon = isPasswordRevealed ? 'visibility_off' : 'visibility';
|
|
55747
|
-
return (hAsync(Host, { key: '
|
|
56288
|
+
return (hAsync(Host, { key: '061691f1e95cbdf682109da550a49745dc391e76', class: {
|
|
55748
56289
|
'md-text-field': true,
|
|
55749
56290
|
[`md-text-field--${this.variant}`]: true,
|
|
55750
56291
|
'md-text-field--focused': this.focused || this.appearFocused,
|
|
@@ -55768,25 +56309,25 @@ class MdTextField {
|
|
|
55768
56309
|
// made the documented custom properties dead (clobbered every render).
|
|
55769
56310
|
'--md-text-field-focus-border-width': `${Number(this.focusBorderWidth)}px`,
|
|
55770
56311
|
'--md-text-field-focus-inset': `${-(Number(this.focusBorderWidth) - 1)}px`,
|
|
55771
|
-
} : undefined }, hAsync("div", { key: '
|
|
56312
|
+
} : undefined }, hAsync("div", { key: '50cfc32ef79750387900859ecb1ba31dabd16edc', class: "md-text-field__container", part: "container", "data-md-anchor-box": supportRowIsBlank ? '' : null, onClick: this.handleContainerClick }, hAsync("div", { key: '1c96d847025dd4de029ba59d161511aed603708e', class: "md-text-field__state-layer", "aria-hidden": "true" }), hAsync("span", { key: '95991983f4e93402762b282491f9dc092d4ba3a1', class: "md-text-field__icon md-text-field__icon--leading", "aria-hidden": "true", style: { display: hasLeading ? undefined : 'none' } }, hAsync("slot", { key: 'bcd14b98147366760e6b1dfe70cd83ea8a981767', name: "leading-icon" })), hAsync("div", { key: '0b10e6e36080b436838ef888fac691f7b5405733', class: "md-text-field__input-wrap" }, this.label && (hAsync("label", { key: 'ab36c56adc19dcec97ac895fd23442f4d1927436', class: "md-text-field__label", part: "label", htmlFor: `${this.uid}-input` }, this.label)), hAsync("div", { key: '4ce284640ecafd6c49a69a0e0e5a183967187b63', class: "md-text-field__input-row" }, hAsync("span", { key: '2ea2ba3359529c2e3e289eac5018c66b038eec83', class: "md-text-field__chips", part: "chips", style: { display: this.hasSlottedChips ? undefined : 'none' } }, hAsync("slot", { key: '3ce54f6abb58c243f9215616081e50fd56efa129', name: "chips" })), this.prefixText && this.isFloating && (hAsync("span", { key: 'a50c124331338c72e3b7a4ff8f95ee1e95a9e325', class: "md-text-field__prefix" }, this.prefixText)), this.renderInputElement(), this.suffixText && this.isFloating && (hAsync("span", { key: '1fb65e217c1115fd1dd69ccf1bd0825d365030e6', class: "md-text-field__suffix" }, this.suffixText)))), showClear && (hAsync("button", { key: 'd075b767d4330459f4561feb0d906ffbca9380e6', type: "button", class: {
|
|
55772
56313
|
'md-text-field__clear': true,
|
|
55773
56314
|
'md-text-field__clear--disabled': clearDisabled,
|
|
55774
56315
|
'md-text-field__clear--empty': !this.value,
|
|
55775
|
-
}, disabled: clearDisabled, onClick: this.handleClear, "aria-label": "Clear" }, hAsync("slot", { key: '
|
|
56316
|
+
}, disabled: clearDisabled, onClick: this.handleClear, "aria-label": "Clear" }, hAsync("slot", { key: '7e7581848e69a7550d432ed3caaf46ae2aa782a7', name: "clear-icon" }, hAsync("span", { key: 'a5ec604f07538e4d2fa9df04601a7b3944f16472', class: "material-symbols-outlined", "aria-hidden": "true" }, "cancel")))), showPasswordToggle && (hAsync("button", { key: '8ebaec3739e831e910f70d728dfcb96bf54bc874', type: "button", class: {
|
|
55776
56317
|
'md-text-field__password-toggle': true,
|
|
55777
56318
|
'md-text-field__password-toggle--disabled': this.isDisabled,
|
|
55778
|
-
}, disabled: this.isDisabled, onClick: this.handlePasswordToggle, "aria-label": isPasswordRevealed ? this.hidePasswordLabel : this.showPasswordLabel, "aria-pressed": isPasswordRevealed ? 'true' : 'false' }, hAsync("slot", { key: '
|
|
56319
|
+
}, disabled: this.isDisabled, onClick: this.handlePasswordToggle, "aria-label": isPasswordRevealed ? this.hidePasswordLabel : this.showPasswordLabel, "aria-pressed": isPasswordRevealed ? 'true' : 'false' }, hAsync("slot", { key: '2dc8f2a58f0c9780db876ebc85962051d7941140', name: "password-toggle-icon" }, hAsync("span", { key: '5160dd18a967452549ea5c1ae7fd7b6484ec0292', class: "material-symbols-outlined", "aria-hidden": "true" }, passwordIcon)))), showSpeech && (hAsync("button", { key: '5b1b3102a5cfa6253a7b7bbb68099380918e738b', type: "button", class: {
|
|
55779
56320
|
'md-text-field__speech': true,
|
|
55780
56321
|
'md-text-field__speech--listening': this.listening,
|
|
55781
56322
|
'md-text-field__speech--disabled': this.isDisabled,
|
|
55782
|
-
}, disabled: this.isDisabled || this.readOnly, onClick: this.handleSpeechToggle, "aria-label": this.listening ? 'Stop listening' : 'Start voice input', "aria-pressed": this.listening ? 'true' : 'false' }, hAsync("slot", { key: '
|
|
56323
|
+
}, disabled: this.isDisabled || this.readOnly, onClick: this.handleSpeechToggle, "aria-label": this.listening ? 'Stop listening' : 'Start voice input', "aria-pressed": this.listening ? 'true' : 'false' }, hAsync("slot", { key: 'd4c441c36c8a21b391816854ca5adfd80584abc8', name: "speech-icon" }, hAsync("span", { key: 'f6edcc02a90db906cccb51c4f5be7bcd861660a7', class: "material-symbols-outlined", "aria-hidden": "true" }, this.listening ? 'hearing' : 'mic')))), this.hasError && (hAsync("span", { key: '4587beee2d0d81e64212a3f111acc8ea7102adff', class: "md-text-field__error-icon", "aria-hidden": "true" }, hAsync("slot", { key: '57b5c81b99a433a01d8d6a52a3b9ad3b6dd5583c', name: "error-icon" }, hAsync("span", { key: 'e67cc638651eb44f8e8a6cda7601ecafb45cc41b', class: "material-symbols-outlined", style: { fontVariationSettings: "'FILL' 1" } }, "error")))), hAsync("span", { key: 'd13de105c1aa0794993fef23364e96698496fc19', class: {
|
|
55783
56324
|
'md-text-field__icon': !this.hasTrailingIconButton,
|
|
55784
56325
|
'md-text-field__icon--trailing': !this.hasTrailingIconButton,
|
|
55785
56326
|
'md-text-field__trailing-icon-button': this.hasTrailingIconButton,
|
|
55786
|
-
}, "aria-hidden": this.hasTrailingIconButton ? null : 'true', style: { display: this.hasSlottedTrailing ? undefined : 'none' } }, hAsync("slot", { key: '
|
|
56327
|
+
}, "aria-hidden": this.hasTrailingIconButton ? null : 'true', style: { display: this.hasSlottedTrailing ? undefined : 'none' } }, hAsync("slot", { key: 'ef3741ed55c66d513ae07a7f00c494f3d4fa693c', name: "trailing-icon" })), this.variant === 'filled' && hAsync("div", { key: '21baa5358c13d3ac9078fc8010eb0ed184b39bbd', class: "md-text-field__indicator" }), this.variant === 'outlined' && (hAsync("fieldset", { key: '28488690280273565c9b9332684ed3484fa5dfac', class: "md-text-field__fieldset" }, hAsync("legend", { key: '95e0464500545b0c03825acaeb244ccf1b612a39', class: {
|
|
55787
56328
|
'md-text-field__legend': true,
|
|
55788
56329
|
'md-text-field__legend--active': this.isFloating && !!this.label,
|
|
55789
|
-
} }, hAsync("span", { key: '
|
|
56330
|
+
} }, hAsync("span", { key: '32941710d1069adb10a37dfa0f8dddd235e75abd' }, this.label))))), (supportText || charCount || this.reserveSupportingSpace) && (hAsync("div", { key: '48092261149f38adb26b7cf39701e64c071d629b', class: "md-text-field__support-row" }, hAsync("span", { key: 'ff9400bd72fe6352da130828f3c849323bde2810', id: `${this.uid}-support`, part: "supporting-text", role: this.hasError ? 'alert' : undefined, class: { 'md-text-field__support-text': true, 'md-text-field__support-text--error': this.hasError } }, supportText || (this.reserveSupportingSpace ? '\u200B' : '')), charCount && hAsync("span", { key: '57327d058b0c4d965af1c9c95b1c767fd1229cec', id: `${this.uid}-counter`, part: "counter", class: "md-text-field__counter" }, charCount)))));
|
|
55790
56331
|
}
|
|
55791
56332
|
connectedCallback() {
|
|
55792
56333
|
}
|
|
@@ -57924,7 +58465,7 @@ class MdTimePicker {
|
|
|
57924
58465
|
}
|
|
57925
58466
|
// ───────────────────────────── RENDER ─────────────────────────────
|
|
57926
58467
|
render() {
|
|
57927
|
-
return (hAsync(Host, { key: '
|
|
58468
|
+
return (hAsync(Host, { key: '2b13dff66867171a91af829a595849ddf961ab8d', class: {
|
|
57928
58469
|
'md-time-picker': true,
|
|
57929
58470
|
[`md-time-picker--${this.variant}`]: true,
|
|
57930
58471
|
[`md-time-picker--format-${this.format}`]: true,
|
|
@@ -58566,7 +59107,7 @@ class MdToolbar {
|
|
|
58566
59107
|
const ariaLabel = label.length > 0 ? this.ariaLabelProp : undefined;
|
|
58567
59108
|
const ariaLabelledbyOut = labelledby.length > 0 ? this.ariaLabelledby : undefined;
|
|
58568
59109
|
const ariaOrientation = isToolbar ? (isVertical ? 'vertical' : 'horizontal') : undefined;
|
|
58569
|
-
return (hAsync(Host, { key: '
|
|
59110
|
+
return (hAsync(Host, { key: '5139e2aa004e038a0662bbf4fe046263169435bd', class: {
|
|
58570
59111
|
'md-toolbar': true,
|
|
58571
59112
|
[`md-toolbar--${this.variant}`]: true,
|
|
58572
59113
|
[`md-toolbar--${this.color}`]: true,
|
|
@@ -58574,11 +59115,11 @@ class MdToolbar {
|
|
|
58574
59115
|
[`md-toolbar--align-${this.alignment}`]: true,
|
|
58575
59116
|
'md-toolbar--vertical': isVertical,
|
|
58576
59117
|
'md-toolbar--generic': !isToolbar,
|
|
58577
|
-
}, role: isToolbar ? 'toolbar' : undefined, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledbyOut, "aria-orientation": ariaOrientation }, hAsync("div", { key: '
|
|
59118
|
+
}, role: isToolbar ? 'toolbar' : undefined, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledbyOut, "aria-orientation": ariaOrientation }, hAsync("div", { key: 'a9b88861de695a2159061d301919007d251c5a18', class: "md-toolbar__container", part: "container" }, hAsync("slot", { key: 'a971eec54f7c15abd4280853b47fac4a4961a30b', name: "leading" }), hAsync("slot", { key: '7eac1cddb0c4f5ae944a3b81bc5589b50de18b6a' }), hAsync("slot", { key: '144df176542d33038af0a2f58336995a902e683e', name: "trailing" })), hAsync("div", { key: 'a4895b6de9dcda614b9864ff6a06d9e684817a2e', class: {
|
|
58578
59119
|
'md-toolbar__fab-container': true,
|
|
58579
59120
|
'md-toolbar__fab-container--floating': isFloating,
|
|
58580
59121
|
'md-toolbar__fab-container--hidden': !this.hasFab,
|
|
58581
|
-
}, part: "fab-container" }, hAsync("slot", { key: '
|
|
59122
|
+
}, part: "fab-container" }, hAsync("slot", { key: 'cb48c25667f7159c5de7b3c08b6ed4f10d09e187', name: "fab" }))));
|
|
58582
59123
|
}
|
|
58583
59124
|
componentDidRender() {
|
|
58584
59125
|
}
|
|
@@ -59369,7 +59910,7 @@ class MdTooltip {
|
|
|
59369
59910
|
const isRich = this.variant === 'rich';
|
|
59370
59911
|
const hasSubhead = !!this.subhead || this.hasSlottedSubhead;
|
|
59371
59912
|
const hasActions = this.hasSlottedActions;
|
|
59372
|
-
return (hAsync(Host, { key: '
|
|
59913
|
+
return (hAsync(Host, { key: '21bcca8ebbb72fb3d218461483b52c45868bab86', class: "md-tooltip-wrapper" }, hAsync("slot", { key: 'd0a71d7fa77f60ec04fc464bb7bf48d4ac55be60' }), hAsync("div", { key: 'c08cdcabc19a4f96fb55962856abe9697b3d6b04', class: {
|
|
59373
59914
|
'md-tooltip__popup': true,
|
|
59374
59915
|
'md-tooltip__popup--plain': !isRich,
|
|
59375
59916
|
'md-tooltip__popup--rich': isRich,
|
|
@@ -59701,7 +60242,7 @@ class MdTransferList {
|
|
|
59701
60242
|
return (hAsync("div", { class: "md-transfer-list__controls", part: "controls" }, !this.singleStepOnly && (hAsync("md-icon-button", { variant: "tonal", icon: this.moveAllRightIcon, disabled: this.disabled || !sourceAvailable, "aria-label": this.moveAllRightLabel, onClick: this.moveAllRight })), hAsync("md-icon-button", { variant: "filled", icon: this.moveRightIcon, disabled: this.disabled || sourceCount === 0, "aria-label": this.moveRightLabel, onClick: this.moveRight }), hAsync("md-icon-button", { variant: "filled", icon: this.moveLeftIcon, disabled: this.disabled || targetCount === 0, "aria-label": this.moveLeftLabel, onClick: this.moveLeft }), !this.singleStepOnly && (hAsync("md-icon-button", { variant: "tonal", icon: this.moveAllLeftIcon, disabled: this.disabled || !targetAvailable, "aria-label": this.moveAllLeftLabel, onClick: this.moveAllLeft }))));
|
|
59702
60243
|
}
|
|
59703
60244
|
render() {
|
|
59704
|
-
return (hAsync(Host, { key: '
|
|
60245
|
+
return (hAsync(Host, { key: '429fbd532b617c357ce1547fa2b18f602d22ce1c', class: {
|
|
59705
60246
|
'md-transfer-list': true,
|
|
59706
60247
|
'md-transfer-list--disabled': this.disabled,
|
|
59707
60248
|
}, role: "group", "aria-disabled": this.disabled ? 'true' : 'false' }, this.renderColumn('source'), this.renderControls(), this.renderColumn('target')));
|
|
@@ -59781,6 +60322,7 @@ registerComponents([
|
|
|
59781
60322
|
MdButton,
|
|
59782
60323
|
MdButtonGroup,
|
|
59783
60324
|
MdCard,
|
|
60325
|
+
MdChartSeries,
|
|
59784
60326
|
MdCheckbox,
|
|
59785
60327
|
MdChip,
|
|
59786
60328
|
MdColorPicker,
|
|
@@ -59808,6 +60350,7 @@ registerComponents([
|
|
|
59808
60350
|
MdOrganizationChart,
|
|
59809
60351
|
MdOtpField,
|
|
59810
60352
|
MdPieChart,
|
|
60353
|
+
MdPieSlice,
|
|
59811
60354
|
MdProgressIndicator,
|
|
59812
60355
|
MdRadio,
|
|
59813
60356
|
MdRating,
|
|
@@ -59822,6 +60365,7 @@ registerComponents([
|
|
|
59822
60365
|
MdSlider,
|
|
59823
60366
|
MdSnackbar,
|
|
59824
60367
|
MdSparkline,
|
|
60368
|
+
MdSparklinePoint,
|
|
59825
60369
|
MdSplitButton,
|
|
59826
60370
|
MdStatusDot,
|
|
59827
60371
|
MdStep,
|