@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.mjs
CHANGED
|
@@ -6487,11 +6487,11 @@ class MdAccordionItem {
|
|
|
6487
6487
|
// A capped panel body scrolls; it must be keyboard-reachable so
|
|
6488
6488
|
// arrow keys can scroll it (WCAG 2.1.1 / axe scrollable-region-focusable).
|
|
6489
6489
|
const scrollable = this.contentMaxHeight.trim().length > 0;
|
|
6490
|
-
return (hAsync(Host, { key: '
|
|
6490
|
+
return (hAsync(Host, { key: '18b8e3ca433ffaad163de47f156565ade6f0dc5a', class: {
|
|
6491
6491
|
'md-accordion-item': true,
|
|
6492
6492
|
'md-accordion-item--expanded': this.expanded,
|
|
6493
6493
|
'md-accordion-item--disabled': this.disabled,
|
|
6494
|
-
} }, hAsync("span", { key: '
|
|
6494
|
+
} }, 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: {
|
|
6495
6495
|
'md-accordion-item__content-inner': true,
|
|
6496
6496
|
'md-accordion-item__content-inner--scroll': scrollable,
|
|
6497
6497
|
}, part: "content-inner",
|
|
@@ -6500,7 +6500,7 @@ class MdAccordionItem {
|
|
|
6500
6500
|
// (axe scrollable-region-focusable). Its accessible name is
|
|
6501
6501
|
// provided by the enclosing labelled panel region, so no
|
|
6502
6502
|
// extra role/label is needed here.
|
|
6503
|
-
tabindex: scrollable ? '0' : undefined, style: scrollable ? { maxBlockSize: this.contentMaxHeight } : undefined }, hAsync("slot", { key: '
|
|
6503
|
+
tabindex: scrollable ? '0' : undefined, style: scrollable ? { maxBlockSize: this.contentMaxHeight } : undefined }, hAsync("slot", { key: '483340b4fd974efe287be70a5cd3a3730d883fe0' }))))));
|
|
6504
6504
|
}
|
|
6505
6505
|
componentDidRender() {
|
|
6506
6506
|
}
|
|
@@ -6829,7 +6829,7 @@ class MdAppBar {
|
|
|
6829
6829
|
const flexible = this.isFlexible();
|
|
6830
6830
|
const search = this.isSearchVariant();
|
|
6831
6831
|
const centered = this.titleAlignment === 'center';
|
|
6832
|
-
return (hAsync(Host, { key: '
|
|
6832
|
+
return (hAsync(Host, { key: '1279f91d1663e63e92c8dc3720efe6c4e63720cc', class: {
|
|
6833
6833
|
'md-app-bar': true,
|
|
6834
6834
|
[`md-app-bar--${this.variant}`]: true,
|
|
6835
6835
|
'md-app-bar--flexible': flexible,
|
|
@@ -6882,6 +6882,88 @@ class MdAppBar {
|
|
|
6882
6882
|
/** Maximum trailing action icons per M3 app bar guidance. */
|
|
6883
6883
|
MdAppBar.MAX_TRAILING_ICONS = 3;
|
|
6884
6884
|
|
|
6885
|
+
/** Internal notification; public chart interaction events stay on the parent. */
|
|
6886
|
+
const CHART_SERIES_CHANGE = 'mdChartSeriesChange';
|
|
6887
|
+
/** DOM id/hidden remain standard attributes; series identity/visibility use explicit aliases. */
|
|
6888
|
+
const CHART_SERIES_FIELDS = {
|
|
6889
|
+
label: 'label', data: 'data', stroke: 'stroke', fill: 'fill', range: 'range',
|
|
6890
|
+
color: 'color', stack: 'stack', curve: 'curve', dash: 'dash',
|
|
6891
|
+
seriesHidden: 'hidden', connectNulls: 'connectNulls', showMarks: 'showMarks',
|
|
6892
|
+
symbol: 'symbol', pointSymbols: 'pointSymbols', pointColors: 'pointColors',
|
|
6893
|
+
pointWidths: 'pointWidths', overlay: 'overlay', widthRatio: 'widthRatio',
|
|
6894
|
+
seriesId: 'id', yAxisIndex: 'yAxisIndex', dashAfter: 'dashAfter', hollow: 'hollow',
|
|
6895
|
+
lineWidth: 'lineWidth', markSize: 'markSize',
|
|
6896
|
+
};
|
|
6897
|
+
const isSeries = (element) => element.localName === 'md-chart-series';
|
|
6898
|
+
// React SSR and hydrate HTML carry these typed values through escaped JSON.
|
|
6899
|
+
// Parse only structured fields: labels and other authored strings stay literal.
|
|
6900
|
+
const structuredFields = {
|
|
6901
|
+
data: 'array', range: 'array', pointSymbols: 'map', pointColors: 'map', pointWidths: 'map',
|
|
6902
|
+
};
|
|
6903
|
+
function readSeriesField(prop, value) {
|
|
6904
|
+
if (typeof value !== 'string' || !structuredFields[prop])
|
|
6905
|
+
return value;
|
|
6906
|
+
try {
|
|
6907
|
+
const parsed = JSON.parse(value);
|
|
6908
|
+
if (parsed === null)
|
|
6909
|
+
return parsed;
|
|
6910
|
+
return structuredFields[prop] === 'array'
|
|
6911
|
+
? (Array.isArray(parsed) ? parsed : undefined)
|
|
6912
|
+
: (typeof parsed === 'object' && !Array.isArray(parsed) ? parsed : undefined);
|
|
6913
|
+
}
|
|
6914
|
+
catch {
|
|
6915
|
+
return undefined;
|
|
6916
|
+
}
|
|
6917
|
+
}
|
|
6918
|
+
/** Undefined means no declarative children: preserve the parent's original series array. */
|
|
6919
|
+
function readChartSeries(host) {
|
|
6920
|
+
const children = Array.from(host.children).filter(child => isSeries(child) && !child.getAttribute('slot'));
|
|
6921
|
+
if (!children.length)
|
|
6922
|
+
return undefined;
|
|
6923
|
+
return children.map(child => {
|
|
6924
|
+
const series = { data: [] };
|
|
6925
|
+
for (const [prop, field] of Object.entries(CHART_SERIES_FIELDS)) {
|
|
6926
|
+
const value = readSeriesField(prop, child[prop]);
|
|
6927
|
+
if (value !== undefined)
|
|
6928
|
+
series[field] = value;
|
|
6929
|
+
}
|
|
6930
|
+
return series;
|
|
6931
|
+
});
|
|
6932
|
+
}
|
|
6933
|
+
/** Observe membership/order/slot changes and typed prop assignments; batch a burst into one refeed. */
|
|
6934
|
+
function observeChartSeries(host, changed) {
|
|
6935
|
+
let active = true;
|
|
6936
|
+
let queued = false;
|
|
6937
|
+
const refresh = () => {
|
|
6938
|
+
if (!active || queued)
|
|
6939
|
+
return;
|
|
6940
|
+
queued = true;
|
|
6941
|
+
queueMicrotask(() => {
|
|
6942
|
+
queued = false;
|
|
6943
|
+
if (active)
|
|
6944
|
+
changed(readChartSeries(host));
|
|
6945
|
+
});
|
|
6946
|
+
};
|
|
6947
|
+
const onChange = (event) => {
|
|
6948
|
+
const child = event.target;
|
|
6949
|
+
if (child?.parentElement === host && isSeries(child) && !child.getAttribute('slot'))
|
|
6950
|
+
refresh();
|
|
6951
|
+
};
|
|
6952
|
+
const observer = typeof MutationObserver === 'undefined' ? undefined : new MutationObserver(records => {
|
|
6953
|
+
if (records.some(record => record.type === 'childList' ? record.target === host
|
|
6954
|
+
: record.target.nodeType === 1 && record.target.parentElement === host && isSeries(record.target)))
|
|
6955
|
+
refresh();
|
|
6956
|
+
});
|
|
6957
|
+
observer?.observe(host, { childList: true, attributes: true, attributeFilter: ['slot'], subtree: true });
|
|
6958
|
+
host.addEventListener(CHART_SERIES_CHANGE, onChange);
|
|
6959
|
+
changed(readChartSeries(host));
|
|
6960
|
+
return () => {
|
|
6961
|
+
active = false;
|
|
6962
|
+
observer?.disconnect();
|
|
6963
|
+
host.removeEventListener(CHART_SERIES_CHANGE, onChange);
|
|
6964
|
+
};
|
|
6965
|
+
}
|
|
6966
|
+
|
|
6885
6967
|
/*
|
|
6886
6968
|
* Developer-injectable chart tooltips
|
|
6887
6969
|
* ===========================================================
|
|
@@ -16294,6 +16376,7 @@ class MdAreaChart {
|
|
|
16294
16376
|
this.label = '';
|
|
16295
16377
|
/** Title alignment over the plot: `start` (left), `center`, or `end` (right). */
|
|
16296
16378
|
this.titleAlign = 'start';
|
|
16379
|
+
/** Data fallback when no direct, unslotted `md-chart-series` children are present. */
|
|
16297
16380
|
this.series = [];
|
|
16298
16381
|
this.curve = 'smooth';
|
|
16299
16382
|
/** Default stacking is `'normal'` (additive). */
|
|
@@ -16539,11 +16622,14 @@ class MdAreaChart {
|
|
|
16539
16622
|
this.moveKeyboardCursor(-1);
|
|
16540
16623
|
};
|
|
16541
16624
|
}
|
|
16625
|
+
get effectiveSeries() {
|
|
16626
|
+
return this.childSeries ?? this.series;
|
|
16627
|
+
}
|
|
16542
16628
|
/** A stable key per series — id, else label, else position. Suffixed on
|
|
16543
16629
|
* collision so two series sharing a label do not share a toggle. */
|
|
16544
16630
|
seriesKeys() {
|
|
16545
16631
|
const seen = new Map();
|
|
16546
|
-
return this.
|
|
16632
|
+
return this.effectiveSeries.map((s, i) => {
|
|
16547
16633
|
const base = s.id != null ? `id:${s.id}` : s.label != null ? `label:${s.label}` : `pos:${i}`;
|
|
16548
16634
|
const n = seen.get(base) ?? 0;
|
|
16549
16635
|
seen.set(base, n + 1);
|
|
@@ -16575,6 +16661,8 @@ class MdAreaChart {
|
|
|
16575
16661
|
}
|
|
16576
16662
|
}
|
|
16577
16663
|
disconnectedCallback() {
|
|
16664
|
+
this.disposeSeriesWatch?.();
|
|
16665
|
+
this.disposeSeriesWatch = undefined;
|
|
16578
16666
|
this.ro?.disconnect();
|
|
16579
16667
|
this.ro = null;
|
|
16580
16668
|
this.engine?.dispose();
|
|
@@ -16658,7 +16746,7 @@ class MdAreaChart {
|
|
|
16658
16746
|
}
|
|
16659
16747
|
/** Number of datapoints along x — the longest series, or the axis if longer. */
|
|
16660
16748
|
dataLength() {
|
|
16661
|
-
const longest = this.
|
|
16749
|
+
const longest = this.effectiveSeries.reduce((acc, s) => Math.max(acc, s.range?.length ?? s.data?.length ?? 0), 0);
|
|
16662
16750
|
return Math.max(longest, this.xAxis?.data?.length ?? 0);
|
|
16663
16751
|
}
|
|
16664
16752
|
/** Current window, defaulted to the full range and clamped to the data. */
|
|
@@ -16799,7 +16887,7 @@ class MdAreaChart {
|
|
|
16799
16887
|
buildSpec(t) {
|
|
16800
16888
|
const percentage = this.stack === 'percentage';
|
|
16801
16889
|
const yFmt = (v) => (this.valueFormatter ? this.valueFormatter(v) : v.toLocaleString(this.locale || undefined));
|
|
16802
|
-
// Zoom is a view: slice what the engine draws, leave `this.
|
|
16890
|
+
// Zoom is a view: slice what the engine draws, leave `this.effectiveSeries` alone.
|
|
16803
16891
|
// Index-addressed options (pointSymbols) are rebased into window
|
|
16804
16892
|
// coordinates, and anything outside the window is dropped.
|
|
16805
16893
|
const zw = this.zoomWin ? this.win() : null;
|
|
@@ -16817,7 +16905,7 @@ class MdAreaChart {
|
|
|
16817
16905
|
};
|
|
16818
16906
|
const keys = this.seriesKeys();
|
|
16819
16907
|
return {
|
|
16820
|
-
series: this.
|
|
16908
|
+
series: this.effectiveSeries.map((s, i) => ({
|
|
16821
16909
|
label: s.label ?? `Series ${i + 1}`,
|
|
16822
16910
|
color: resolveSeriesColor(this.el, s.color, pickPaletteColor(t.palette, i)),
|
|
16823
16911
|
// A range series draws from its band; `data` only keeps the row count
|
|
@@ -16900,7 +16988,7 @@ class MdAreaChart {
|
|
|
16900
16988
|
this.rememberLegendToggle(item.seriesIndex, !!item.hidden);
|
|
16901
16989
|
this.mdLegendClick.emit({
|
|
16902
16990
|
seriesIndex: item.seriesIndex,
|
|
16903
|
-
seriesId: this.
|
|
16991
|
+
seriesId: this.effectiveSeries[item.seriesIndex]?.id,
|
|
16904
16992
|
selected: !item.hidden,
|
|
16905
16993
|
});
|
|
16906
16994
|
},
|
|
@@ -16926,7 +17014,7 @@ class MdAreaChart {
|
|
|
16926
17014
|
axisValue: this.xAxis?.data?.[abs],
|
|
16927
17015
|
seriesValues: values.map((v) => ({
|
|
16928
17016
|
seriesIndex: v.seriesIndex,
|
|
16929
|
-
seriesId: this.
|
|
17017
|
+
seriesId: this.effectiveSeries[v.seriesIndex]?.id,
|
|
16930
17018
|
label: v.label,
|
|
16931
17019
|
dataIndex: v.value == null ? -1 : abs,
|
|
16932
17020
|
value: v.value,
|
|
@@ -16946,7 +17034,7 @@ class MdAreaChart {
|
|
|
16946
17034
|
/** The payload shared by the three per-series click events (marker / line /
|
|
16947
17035
|
* area) — same shape, different gesture. */
|
|
16948
17036
|
clickDetail(si, di, e) {
|
|
16949
|
-
const s = this.
|
|
17037
|
+
const s = this.effectiveSeries[si];
|
|
16950
17038
|
if (!s)
|
|
16951
17039
|
return null;
|
|
16952
17040
|
const abs = di + (this.zoomWin ? this.win().start : 0);
|
|
@@ -16964,7 +17052,7 @@ class MdAreaChart {
|
|
|
16964
17052
|
const hp = this.engine?.getScene()?.hoverPoints;
|
|
16965
17053
|
if (hp)
|
|
16966
17054
|
return hp.map((h) => h.seriesIndex);
|
|
16967
|
-
return this.
|
|
17055
|
+
return this.effectiveSeries.map((_, i) => i).filter((i) => !this.effectiveSeries[i].hidden);
|
|
16968
17056
|
}
|
|
16969
17057
|
rebuildA11yTable() {
|
|
16970
17058
|
if (!this.a11yTableHost)
|
|
@@ -16975,7 +17063,7 @@ class MdAreaChart {
|
|
|
16975
17063
|
xAxisData: this.xAxis?.data,
|
|
16976
17064
|
xValueFormatter: this.xAxis?.valueFormatter ?? ((v) => defaultValueFormatter(v, this.locale)),
|
|
16977
17065
|
locale: this.locale,
|
|
16978
|
-
series: this.
|
|
17066
|
+
series: this.effectiveSeries,
|
|
16979
17067
|
valueFormatter: this.valueFormatter,
|
|
16980
17068
|
labels: this.tableLabels,
|
|
16981
17069
|
});
|
|
@@ -17006,27 +17094,32 @@ class MdAreaChart {
|
|
|
17006
17094
|
buildChartSummary({
|
|
17007
17095
|
title: this.label,
|
|
17008
17096
|
chartType: 'area',
|
|
17009
|
-
seriesCount: this.
|
|
17097
|
+
seriesCount: this.effectiveSeries.length,
|
|
17010
17098
|
locale: this.locale,
|
|
17011
17099
|
xMin: xValues[0],
|
|
17012
17100
|
xMax: xValues[xValues.length - 1],
|
|
17013
17101
|
});
|
|
17014
17102
|
// While loading, the loader owns the box — an empty-state message under it
|
|
17015
17103
|
// would just be the wrong answer to "where is my data?".
|
|
17016
|
-
const empty = this.
|
|
17017
|
-
return (hAsync(Host, { key: '
|
|
17104
|
+
const empty = this.effectiveSeries.length === 0 && !this.loading;
|
|
17105
|
+
return (hAsync(Host, { key: 'e1d6a86a06af8d582bab9e0723926854f260a2dd', class: {
|
|
17018
17106
|
'md-area-chart': true,
|
|
17019
17107
|
'md-area-chart--empty': empty,
|
|
17020
17108
|
'md-area-chart--mounted': this.mounted,
|
|
17021
17109
|
'md-area-chart--zoom-slider': this.zoomSliderOn,
|
|
17022
17110
|
'md-area-chart--zoom-drag': this.zoomInside,
|
|
17023
|
-
}, 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: '
|
|
17111
|
+
}, 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)));
|
|
17024
17112
|
}
|
|
17025
17113
|
componentWillLoad() {
|
|
17026
17114
|
}
|
|
17027
17115
|
componentDidRender() {
|
|
17028
17116
|
}
|
|
17029
17117
|
connectedCallback() {
|
|
17118
|
+
this.disposeSeriesWatch?.();
|
|
17119
|
+
this.disposeSeriesWatch = observeChartSeries(this.el, series => {
|
|
17120
|
+
this.childSeries = series;
|
|
17121
|
+
this.onAnyPropChange();
|
|
17122
|
+
});
|
|
17030
17123
|
}
|
|
17031
17124
|
componentShouldUpdate() {
|
|
17032
17125
|
return true;
|
|
@@ -17156,6 +17249,7 @@ class MdAreaChart {
|
|
|
17156
17249
|
"labelPlot": [1, "label-plot"],
|
|
17157
17250
|
"labelPoint": [1, "label-point"],
|
|
17158
17251
|
"density": [514],
|
|
17252
|
+
"childSeries": [32],
|
|
17159
17253
|
"mounted": [32],
|
|
17160
17254
|
"kbIndex": [32],
|
|
17161
17255
|
"announcement": [32],
|
|
@@ -19928,7 +20022,7 @@ class MdBadge {
|
|
|
19928
20022
|
const hasLabel = !isSmall && !!display;
|
|
19929
20023
|
const hasIcon = !isSmall && (!!this.icon || this.hasSlottedIcon);
|
|
19930
20024
|
const hasContent = hasLabel || hasIcon;
|
|
19931
|
-
return (hAsync(Host, { key: '
|
|
20025
|
+
return (hAsync(Host, { key: '83264af1e7312e733e8fd53f971f4ba529f6d27e', class: {
|
|
19932
20026
|
'md-badge': true,
|
|
19933
20027
|
'md-badge--small': isSmall,
|
|
19934
20028
|
'md-badge--large': !isSmall,
|
|
@@ -19936,7 +20030,7 @@ class MdBadge {
|
|
|
19936
20030
|
// the base rule already is, so a `--rect` class would name nothing.
|
|
19937
20031
|
'md-badge--circle': this.shape === 'circle',
|
|
19938
20032
|
'md-badge--has-content': hasContent,
|
|
19939
|
-
}, role: "status", "aria-label": this.accessibleLabel }, !isSmall && (hAsync("slot", { key: '
|
|
20033
|
+
}, 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))));
|
|
19940
20034
|
}
|
|
19941
20035
|
componentDidLoad() {
|
|
19942
20036
|
}
|
|
@@ -19996,6 +20090,7 @@ class MdBarChart {
|
|
|
19996
20090
|
this.label = '';
|
|
19997
20091
|
/** Title alignment over the plot: `start` (left), `center`, or `end` (right). */
|
|
19998
20092
|
this.titleAlign = 'start';
|
|
20093
|
+
/** Data fallback when no direct, unslotted `md-chart-series` children are present. */
|
|
19999
20094
|
this.series = [];
|
|
20000
20095
|
/** Bar layout — `'horizontal'` swaps categories onto the y axis. */
|
|
20001
20096
|
this.layout = 'vertical';
|
|
@@ -20278,11 +20373,14 @@ class MdBarChart {
|
|
|
20278
20373
|
this.moveKeyboardCursor(-1);
|
|
20279
20374
|
};
|
|
20280
20375
|
}
|
|
20376
|
+
get effectiveSeries() {
|
|
20377
|
+
return this.childSeries ?? this.series;
|
|
20378
|
+
}
|
|
20281
20379
|
/** A stable key per series — id, else label, else position. Suffixed on
|
|
20282
20380
|
* collision so two series sharing a label do not share a toggle. */
|
|
20283
20381
|
seriesKeys() {
|
|
20284
20382
|
const seen = new Map();
|
|
20285
|
-
return this.
|
|
20383
|
+
return this.effectiveSeries.map((s, i) => {
|
|
20286
20384
|
const base = s.id != null ? `id:${s.id}` : s.label != null ? `label:${s.label}` : `pos:${i}`;
|
|
20287
20385
|
const n = seen.get(base) ?? 0;
|
|
20288
20386
|
seen.set(base, n + 1);
|
|
@@ -20314,6 +20412,8 @@ class MdBarChart {
|
|
|
20314
20412
|
}
|
|
20315
20413
|
}
|
|
20316
20414
|
disconnectedCallback() {
|
|
20415
|
+
this.disposeSeriesWatch?.();
|
|
20416
|
+
this.disposeSeriesWatch = undefined;
|
|
20317
20417
|
this.ro?.disconnect();
|
|
20318
20418
|
this.ro = null;
|
|
20319
20419
|
this.engine?.dispose();
|
|
@@ -20455,7 +20555,7 @@ class MdBarChart {
|
|
|
20455
20555
|
}
|
|
20456
20556
|
/** Number of categories — the longest series, or the category axis if longer. */
|
|
20457
20557
|
dataLength() {
|
|
20458
|
-
const s = (this.
|
|
20558
|
+
const s = (this.effectiveSeries ?? []).reduce((acc, d) => Math.max(acc, d?.data?.length ?? 0), 0);
|
|
20459
20559
|
return Math.max(s, this.xAxis?.data?.length ?? 0);
|
|
20460
20560
|
}
|
|
20461
20561
|
/** Absolute index of the window's first visible category (0 when unzoomed). */
|
|
@@ -20597,7 +20697,7 @@ class MdBarChart {
|
|
|
20597
20697
|
const percentage = this.stack === 'percentage';
|
|
20598
20698
|
const vFmt = (v) => (this.valueFormatter ? this.valueFormatter(v) : v.toLocaleString(this.locale || undefined));
|
|
20599
20699
|
const keys = this.seriesKeys();
|
|
20600
|
-
// Zoom is a view: slice what the engine draws, leave `this.
|
|
20700
|
+
// Zoom is a view: slice what the engine draws, leave `this.effectiveSeries` alone.
|
|
20601
20701
|
// Per-category options (`data`, `range`) are sliced; index-keyed maps
|
|
20602
20702
|
// (`pointWidths`, `pointColors`) are rebased into window coordinates and
|
|
20603
20703
|
// anything outside the window is dropped.
|
|
@@ -20615,7 +20715,7 @@ class MdBarChart {
|
|
|
20615
20715
|
return out;
|
|
20616
20716
|
};
|
|
20617
20717
|
return {
|
|
20618
|
-
series: this.
|
|
20718
|
+
series: this.effectiveSeries.map((s, i) => {
|
|
20619
20719
|
let pointColors;
|
|
20620
20720
|
if (s.pointColors) {
|
|
20621
20721
|
const resolved = {};
|
|
@@ -20717,12 +20817,12 @@ class MdBarChart {
|
|
|
20717
20817
|
this.rememberLegendToggle(item.seriesIndex, !!item.hidden);
|
|
20718
20818
|
this.mdLegendClick.emit({
|
|
20719
20819
|
seriesIndex: item.seriesIndex,
|
|
20720
|
-
seriesId: this.
|
|
20820
|
+
seriesId: this.effectiveSeries[item.seriesIndex]?.id,
|
|
20721
20821
|
selected: !item.hidden,
|
|
20722
20822
|
});
|
|
20723
20823
|
},
|
|
20724
20824
|
onPointClick: (si, di, e) => {
|
|
20725
|
-
const s = this.
|
|
20825
|
+
const s = this.effectiveSeries[si];
|
|
20726
20826
|
if (!s)
|
|
20727
20827
|
return;
|
|
20728
20828
|
const abs = di + this.winStart(); // windowed → absolute (see onHover)
|
|
@@ -20745,7 +20845,7 @@ class MdBarChart {
|
|
|
20745
20845
|
const hp = this.engine?.getScene()?.hoverPoints;
|
|
20746
20846
|
if (hp)
|
|
20747
20847
|
return hp.map((h) => h.seriesIndex);
|
|
20748
|
-
return this.
|
|
20848
|
+
return this.effectiveSeries.map((_, i) => i).filter((i) => !this.effectiveSeries[i].hidden);
|
|
20749
20849
|
}
|
|
20750
20850
|
rebuildA11yTable() {
|
|
20751
20851
|
if (!this.a11yTableHost)
|
|
@@ -20756,7 +20856,7 @@ class MdBarChart {
|
|
|
20756
20856
|
xAxisData: this.xAxis?.data,
|
|
20757
20857
|
xValueFormatter: this.xAxis?.valueFormatter ?? ((v) => defaultValueFormatter(v, this.locale)),
|
|
20758
20858
|
locale: this.locale,
|
|
20759
|
-
series: this.
|
|
20859
|
+
series: this.effectiveSeries,
|
|
20760
20860
|
valueFormatter: this.valueFormatter,
|
|
20761
20861
|
});
|
|
20762
20862
|
}
|
|
@@ -20765,7 +20865,7 @@ class MdBarChart {
|
|
|
20765
20865
|
* series present at that category. */
|
|
20766
20866
|
emitBarClickForCategory(dataIndex, nativeEvent) {
|
|
20767
20867
|
const si = this.visibleSeriesIndices()[0] ?? 0;
|
|
20768
|
-
const s = this.
|
|
20868
|
+
const s = this.effectiveSeries[si];
|
|
20769
20869
|
if (!s)
|
|
20770
20870
|
return;
|
|
20771
20871
|
// `dataIndex` is the keyboard cursor, which walks the windowed scene —
|
|
@@ -20804,14 +20904,14 @@ class MdBarChart {
|
|
|
20804
20904
|
render() {
|
|
20805
20905
|
const xValues = this.xAxis?.data ?? [];
|
|
20806
20906
|
const summary = buildChartSummary({
|
|
20807
|
-
title: this.label, chartType: 'bar', seriesCount: this.
|
|
20907
|
+
title: this.label, chartType: 'bar', seriesCount: this.effectiveSeries.length,
|
|
20808
20908
|
xMin: xValues[0],
|
|
20809
20909
|
xMax: xValues[xValues.length - 1],
|
|
20810
20910
|
});
|
|
20811
20911
|
// While loading, the loader owns the box — an empty-state message under it
|
|
20812
20912
|
// answers "no data" to a question nobody asked yet.
|
|
20813
|
-
const empty = this.
|
|
20814
|
-
return (hAsync(Host, { key: '
|
|
20913
|
+
const empty = this.effectiveSeries.length === 0 && !this.loading;
|
|
20914
|
+
return (hAsync(Host, { key: '0cd150a6cd43a9624df1e91dc6a4d5fd2de47167', class: {
|
|
20815
20915
|
'md-bar-chart': true,
|
|
20816
20916
|
'md-bar-chart--empty': empty,
|
|
20817
20917
|
'md-bar-chart--loading': this.loading,
|
|
@@ -20819,13 +20919,18 @@ class MdBarChart {
|
|
|
20819
20919
|
'md-bar-chart--zoom-slider': this.zoomSliderOn,
|
|
20820
20920
|
'md-bar-chart--zoom-drag': this.zoomInside,
|
|
20821
20921
|
[`md-bar-chart--${this.layout}`]: true,
|
|
20822
|
-
}, 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: '
|
|
20922
|
+
}, 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)));
|
|
20823
20923
|
}
|
|
20824
20924
|
componentWillLoad() {
|
|
20825
20925
|
}
|
|
20826
20926
|
componentDidRender() {
|
|
20827
20927
|
}
|
|
20828
20928
|
connectedCallback() {
|
|
20929
|
+
this.disposeSeriesWatch?.();
|
|
20930
|
+
this.disposeSeriesWatch = observeChartSeries(this.el, series => {
|
|
20931
|
+
this.childSeries = series;
|
|
20932
|
+
this.onAnyPropChange();
|
|
20933
|
+
});
|
|
20829
20934
|
}
|
|
20830
20935
|
componentShouldUpdate() {
|
|
20831
20936
|
return true;
|
|
@@ -20969,6 +21074,7 @@ class MdBarChart {
|
|
|
20969
21074
|
"loading": [516],
|
|
20970
21075
|
"loadingLabel": [1, "loading-label"],
|
|
20971
21076
|
"density": [514],
|
|
21077
|
+
"childSeries": [32],
|
|
20972
21078
|
"mounted": [32],
|
|
20973
21079
|
"kbIndex": [32],
|
|
20974
21080
|
"announcement": [32],
|
|
@@ -21324,12 +21430,12 @@ class MdBottomSheet {
|
|
|
21324
21430
|
render() {
|
|
21325
21431
|
const hasHeadline = !!this.headline;
|
|
21326
21432
|
const showHeader = hasHeadline || this.closeable || this.hasSlottedClose;
|
|
21327
|
-
return (hAsync(Host, { key: '
|
|
21433
|
+
return (hAsync(Host, { key: '10b8362bbd1cd3744c049464fdd9dc0620b33198', class: {
|
|
21328
21434
|
'md-bottom-sheet': true,
|
|
21329
21435
|
[`md-bottom-sheet--${this.variant}`]: true,
|
|
21330
21436
|
'md-bottom-sheet--open': this.open,
|
|
21331
21437
|
'md-bottom-sheet--no-drag-handle': !this.showDragHandle,
|
|
21332
|
-
} }, hAsync("div", { key: '
|
|
21438
|
+
} }, 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 ||
|
|
21333
21439
|
(!hasHeadline ? 'Bottom sheet' : undefined), "aria-hidden": !this.open ? 'true' : undefined,
|
|
21334
21440
|
// A closed sheet stays in the DOM (translated off-screen for the
|
|
21335
21441
|
// enter/exit motion, never display:none), so its focus guards,
|
|
@@ -21338,10 +21444,10 @@ class MdBottomSheet {
|
|
|
21338
21444
|
// drops the whole panel from focus order and the a11y tree while
|
|
21339
21445
|
// hidden; it flips off in the same render that clears aria-hidden,
|
|
21340
21446
|
// before the post-open focusFirst() runs.
|
|
21341
|
-
inert: !this.open, tabindex: -1, ref: (el) => (this.containerEl = el) }, hAsync("span", { key: '
|
|
21447
|
+
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: {
|
|
21342
21448
|
'md-bottom-sheet__drag-handle': true,
|
|
21343
21449
|
'md-bottom-sheet__drag-handle--dragging': this.dragging,
|
|
21344
|
-
}, part: "drag-handle", "aria-hidden": "true", onPointerDown: this.handleDragStart, onPointerMove: this.handleDragMove, onPointerUp: this.handleDragEnd, onPointerCancel: this.handleDragEnd }, hAsync("div", { key: '
|
|
21450
|
+
}, 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 }))));
|
|
21345
21451
|
}
|
|
21346
21452
|
componentDidRender() {
|
|
21347
21453
|
}
|
|
@@ -22904,6 +23010,157 @@ MdCard.INTERACTIVE_CONTENT_SELECTOR = [
|
|
|
22904
23010
|
'md-autocomplete',
|
|
22905
23011
|
].join(',');
|
|
22906
23012
|
|
|
23013
|
+
const mdChartSeriesCss = () => `:host{display:none !important}`;
|
|
23014
|
+
|
|
23015
|
+
/**
|
|
23016
|
+
* Declarative series data for md-line-chart, md-area-chart and md-bar-chart.
|
|
23017
|
+
* Direct, unslotted children replace the parent's series array in DOM order.
|
|
23018
|
+
* This is a nonvisual descriptor; assign arrays and maps as JavaScript properties.
|
|
23019
|
+
*/
|
|
23020
|
+
class MdChartSeries {
|
|
23021
|
+
constructor(hostRef) {
|
|
23022
|
+
registerInstance(this, hostRef);
|
|
23023
|
+
/** Y values (number/null); md-line-chart also accepts {x,y} points and [x,y] tuples. Reassign to update. */
|
|
23024
|
+
this.data = [];
|
|
23025
|
+
}
|
|
23026
|
+
// Pure: the hydrate runtime calls deserializers before constructing an instance.
|
|
23027
|
+
deserializeStructuredProp(value, prop = '') {
|
|
23028
|
+
const parsed = value == null ? undefined : readSeriesField(prop, value);
|
|
23029
|
+
return parsed === undefined && prop === 'data' ? [] : parsed;
|
|
23030
|
+
}
|
|
23031
|
+
componentDidLoad() { this.notifyChange(); }
|
|
23032
|
+
notifyChange() {
|
|
23033
|
+
this.el.dispatchEvent(new CustomEvent(CHART_SERIES_CHANGE, { bubbles: true, composed: true }));
|
|
23034
|
+
}
|
|
23035
|
+
render() { return null; }
|
|
23036
|
+
get el() { return getElement(this); }
|
|
23037
|
+
static get watchers() { return {
|
|
23038
|
+
"label": [{
|
|
23039
|
+
"notifyChange": 0
|
|
23040
|
+
}],
|
|
23041
|
+
"data": [{
|
|
23042
|
+
"notifyChange": 0
|
|
23043
|
+
}],
|
|
23044
|
+
"stroke": [{
|
|
23045
|
+
"notifyChange": 0
|
|
23046
|
+
}],
|
|
23047
|
+
"fill": [{
|
|
23048
|
+
"notifyChange": 0
|
|
23049
|
+
}],
|
|
23050
|
+
"range": [{
|
|
23051
|
+
"notifyChange": 0
|
|
23052
|
+
}],
|
|
23053
|
+
"color": [{
|
|
23054
|
+
"notifyChange": 0
|
|
23055
|
+
}],
|
|
23056
|
+
"stack": [{
|
|
23057
|
+
"notifyChange": 0
|
|
23058
|
+
}],
|
|
23059
|
+
"curve": [{
|
|
23060
|
+
"notifyChange": 0
|
|
23061
|
+
}],
|
|
23062
|
+
"dash": [{
|
|
23063
|
+
"notifyChange": 0
|
|
23064
|
+
}],
|
|
23065
|
+
"seriesHidden": [{
|
|
23066
|
+
"notifyChange": 0
|
|
23067
|
+
}],
|
|
23068
|
+
"connectNulls": [{
|
|
23069
|
+
"notifyChange": 0
|
|
23070
|
+
}],
|
|
23071
|
+
"showMarks": [{
|
|
23072
|
+
"notifyChange": 0
|
|
23073
|
+
}],
|
|
23074
|
+
"symbol": [{
|
|
23075
|
+
"notifyChange": 0
|
|
23076
|
+
}],
|
|
23077
|
+
"pointSymbols": [{
|
|
23078
|
+
"notifyChange": 0
|
|
23079
|
+
}],
|
|
23080
|
+
"pointColors": [{
|
|
23081
|
+
"notifyChange": 0
|
|
23082
|
+
}],
|
|
23083
|
+
"pointWidths": [{
|
|
23084
|
+
"notifyChange": 0
|
|
23085
|
+
}],
|
|
23086
|
+
"overlay": [{
|
|
23087
|
+
"notifyChange": 0
|
|
23088
|
+
}],
|
|
23089
|
+
"widthRatio": [{
|
|
23090
|
+
"notifyChange": 0
|
|
23091
|
+
}],
|
|
23092
|
+
"seriesId": [{
|
|
23093
|
+
"notifyChange": 0
|
|
23094
|
+
}],
|
|
23095
|
+
"yAxisIndex": [{
|
|
23096
|
+
"notifyChange": 0
|
|
23097
|
+
}],
|
|
23098
|
+
"dashAfter": [{
|
|
23099
|
+
"notifyChange": 0
|
|
23100
|
+
}],
|
|
23101
|
+
"hollow": [{
|
|
23102
|
+
"notifyChange": 0
|
|
23103
|
+
}],
|
|
23104
|
+
"lineWidth": [{
|
|
23105
|
+
"notifyChange": 0
|
|
23106
|
+
}],
|
|
23107
|
+
"markSize": [{
|
|
23108
|
+
"notifyChange": 0
|
|
23109
|
+
}]
|
|
23110
|
+
}; }
|
|
23111
|
+
static get deserializers() { return {
|
|
23112
|
+
"data": [{
|
|
23113
|
+
"deserializeStructuredProp": 0
|
|
23114
|
+
}],
|
|
23115
|
+
"range": [{
|
|
23116
|
+
"deserializeStructuredProp": 0
|
|
23117
|
+
}],
|
|
23118
|
+
"pointSymbols": [{
|
|
23119
|
+
"deserializeStructuredProp": 0
|
|
23120
|
+
}],
|
|
23121
|
+
"pointColors": [{
|
|
23122
|
+
"deserializeStructuredProp": 0
|
|
23123
|
+
}],
|
|
23124
|
+
"pointWidths": [{
|
|
23125
|
+
"deserializeStructuredProp": 0
|
|
23126
|
+
}]
|
|
23127
|
+
}; }
|
|
23128
|
+
static get style() { return mdChartSeriesCss(); }
|
|
23129
|
+
static get cmpMeta() { return {
|
|
23130
|
+
"$flags$": 9,
|
|
23131
|
+
"$tagName$": "md-chart-series",
|
|
23132
|
+
"$members$": {
|
|
23133
|
+
"label": [1],
|
|
23134
|
+
"data": [16],
|
|
23135
|
+
"stroke": [4],
|
|
23136
|
+
"fill": [4],
|
|
23137
|
+
"range": [16],
|
|
23138
|
+
"color": [1],
|
|
23139
|
+
"stack": [1],
|
|
23140
|
+
"curve": [1],
|
|
23141
|
+
"dash": [1],
|
|
23142
|
+
"seriesHidden": [4, "series-hidden"],
|
|
23143
|
+
"connectNulls": [4, "connect-nulls"],
|
|
23144
|
+
"showMarks": [4, "show-marks"],
|
|
23145
|
+
"symbol": [1],
|
|
23146
|
+
"pointSymbols": [16, "point-symbols"],
|
|
23147
|
+
"pointColors": [16, "point-colors"],
|
|
23148
|
+
"pointWidths": [16, "point-widths"],
|
|
23149
|
+
"overlay": [4],
|
|
23150
|
+
"widthRatio": [2, "width-ratio"],
|
|
23151
|
+
"seriesId": [1, "series-id"],
|
|
23152
|
+
"yAxisIndex": [2, "y-axis-index"],
|
|
23153
|
+
"dashAfter": [2, "dash-after"],
|
|
23154
|
+
"hollow": [4],
|
|
23155
|
+
"lineWidth": [2, "line-width"],
|
|
23156
|
+
"markSize": [2, "mark-size"]
|
|
23157
|
+
},
|
|
23158
|
+
"$listeners$": undefined,
|
|
23159
|
+
"$lazyBundleId$": "-",
|
|
23160
|
+
"$attrsToReflect$": []
|
|
23161
|
+
}; }
|
|
23162
|
+
}
|
|
23163
|
+
|
|
22907
23164
|
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}`;
|
|
22908
23165
|
|
|
22909
23166
|
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}`;
|
|
@@ -23194,7 +23451,7 @@ class MdCheckbox {
|
|
|
23194
23451
|
(tabindex present) widget descendant "even with aria-hidden" — so the
|
|
23195
23452
|
attribute is dropped entirely, leaving the host non-focusable. */
|
|
23196
23453
|
const decorative = this.el.getAttribute('aria-hidden') === 'true';
|
|
23197
|
-
return (hAsync(Host, { key: '
|
|
23454
|
+
return (hAsync(Host, { key: '229aabb586a8592b9b804c64105146b567875156', class: {
|
|
23198
23455
|
'md-checkbox': true,
|
|
23199
23456
|
'md-checkbox--checked': this.checked && !this.indeterminate,
|
|
23200
23457
|
'md-checkbox--indeterminate': this.indeterminate,
|
|
@@ -23204,10 +23461,10 @@ class MdCheckbox {
|
|
|
23204
23461
|
'md-checkbox--pressed': this.pressed,
|
|
23205
23462
|
'md-checkbox--prev-unselected': !this.prevChecked && !this.prevIndeterminate,
|
|
23206
23463
|
'md-checkbox--has-support': !!supportingMessage,
|
|
23207
|
-
}, 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: '
|
|
23464
|
+
}, 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: {
|
|
23208
23465
|
'material-symbols-outlined': true,
|
|
23209
23466
|
'md-checkbox__glyph--entering': isSelected && this.glyphEntering,
|
|
23210
|
-
} }, this.indeterminate ? 'remove' : 'check')))), supportingMessage && (hAsync("span", { key: '
|
|
23467
|
+
} }, 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: {
|
|
23211
23468
|
'md-checkbox__support': true,
|
|
23212
23469
|
'md-checkbox__support--error': hasError,
|
|
23213
23470
|
} }, supportingMessage))));
|
|
@@ -23496,7 +23753,7 @@ class MdChip {
|
|
|
23496
23753
|
// remove button to nest.
|
|
23497
23754
|
const hostIsButton = this.isInteractiveHost && !showRemove;
|
|
23498
23755
|
const renderPrimary = this.isInteractiveHost && showRemove;
|
|
23499
|
-
return (hAsync(Host, { key: '
|
|
23756
|
+
return (hAsync(Host, { key: 'd1370b60dd886159eca8ffb08c05c10471b271c4', style: this.colorVars, class: {
|
|
23500
23757
|
'md-chip': true,
|
|
23501
23758
|
[`md-chip--${this.variant}`]: true,
|
|
23502
23759
|
'md-chip--selected': this.selected && this.isSelectable,
|
|
@@ -23510,7 +23767,7 @@ class MdChip {
|
|
|
23510
23767
|
'md-chip--disabled': isEffectivelyDisabled,
|
|
23511
23768
|
'md-chip--with-leading-icon': hasLeadingIcon || showCheckmark,
|
|
23512
23769
|
'md-chip--with-trailing-icon': hasTrailingIcon || showRemove,
|
|
23513
|
-
}, 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: '
|
|
23770
|
+
}, 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))))));
|
|
23514
23771
|
}
|
|
23515
23772
|
componentWillLoad() {
|
|
23516
23773
|
}
|
|
@@ -27978,13 +28235,13 @@ class MdDialog {
|
|
|
27978
28235
|
// slotted content was provided, which made the slot effectively
|
|
27979
28236
|
// unreachable.
|
|
27980
28237
|
const hasHeadline = !!this.headline || this.hasSlottedHeadline;
|
|
27981
|
-
return (hAsync(Host, { key: '
|
|
28238
|
+
return (hAsync(Host, { key: '6f97d1da6bd3f09e7b11c6637d48bb1e502c5ff6', class: {
|
|
27982
28239
|
'md-dialog': true,
|
|
27983
28240
|
'md-dialog--open': this.open,
|
|
27984
28241
|
'md-dialog--fullscreen': this.fullscreen,
|
|
27985
28242
|
'md-dialog--animating': this.animating,
|
|
27986
28243
|
'md-dialog--has-icon': hasIcon,
|
|
27987
|
-
} }, !this.fullscreen && (hAsync("div", { key: '
|
|
28244
|
+
} }, !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())));
|
|
27988
28245
|
}
|
|
27989
28246
|
componentDidRender() {
|
|
27990
28247
|
}
|
|
@@ -28128,13 +28385,13 @@ class MdDivider {
|
|
|
28128
28385
|
this.vertical = false;
|
|
28129
28386
|
}
|
|
28130
28387
|
render() {
|
|
28131
|
-
return (hAsync(Host, { key: '
|
|
28388
|
+
return (hAsync(Host, { key: 'c5ae53f9d20e572c8f549cb5417fd7d70d823483', class: {
|
|
28132
28389
|
'md-divider': true,
|
|
28133
28390
|
'md-divider--inset': this.inset,
|
|
28134
28391
|
'md-divider--inset-start': this.insetStart,
|
|
28135
28392
|
'md-divider--inset-end': this.insetEnd,
|
|
28136
28393
|
'md-divider--vertical': this.vertical,
|
|
28137
|
-
}, role: "separator", "aria-orientation": this.vertical ? 'vertical' : 'horizontal' }, hAsync("div", { key: '
|
|
28394
|
+
}, role: "separator", "aria-orientation": this.vertical ? 'vertical' : 'horizontal' }, hAsync("div", { key: '1ab949a45c6da360c47f587127d675bb4779522d', class: "md-divider__line", part: "divider" })));
|
|
28138
28395
|
}
|
|
28139
28396
|
componentWillLoad() {
|
|
28140
28397
|
}
|
|
@@ -28323,7 +28580,7 @@ class MdFab {
|
|
|
28323
28580
|
const hasIcon = !!(this.menuIcon || this.icon);
|
|
28324
28581
|
const overridesSlottedIcon = this.menuIcon !== null && this.hasSlottedIcon;
|
|
28325
28582
|
const hasExplicitAriaLabel = this.authoredAccessibleName;
|
|
28326
|
-
return (hAsync(Host, { key: '
|
|
28583
|
+
return (hAsync(Host, { key: '014a3ab0edefe7c602058d30eb95a59e067177b1', class: {
|
|
28327
28584
|
'md-fab': true,
|
|
28328
28585
|
[`md-fab--${this.variant}`]: true,
|
|
28329
28586
|
// Fixed circular sizes apply only to FABs that never carry a label.
|
|
@@ -28334,7 +28591,7 @@ class MdFab {
|
|
|
28334
28591
|
'md-fab--lowered': this.lowered,
|
|
28335
28592
|
'md-fab--menu-icon': overridesSlottedIcon,
|
|
28336
28593
|
'md-fab--disabled': this.disabled || this.softDisabled,
|
|
28337
|
-
}, 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: '
|
|
28594
|
+
}, 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)));
|
|
28338
28595
|
}
|
|
28339
28596
|
connectedCallback() {
|
|
28340
28597
|
}
|
|
@@ -29154,13 +29411,13 @@ class MdFabMenu {
|
|
|
29154
29411
|
}
|
|
29155
29412
|
/* ── Render ───────────────────────────────────────────── */
|
|
29156
29413
|
render() {
|
|
29157
|
-
return (hAsync(Host, { key: '
|
|
29414
|
+
return (hAsync(Host, { key: 'bf627e4349e28a06fae5da7448e7d5efe506a256', class: {
|
|
29158
29415
|
'md-fab-menu': true,
|
|
29159
29416
|
'md-fab-menu--open': this.open,
|
|
29160
29417
|
'md-fab-menu--closing': this.closing,
|
|
29161
29418
|
[`md-fab-menu--${this.variant}`]: true,
|
|
29162
29419
|
[`md-fab-menu--${this.effectivePlacement}`]: true,
|
|
29163
|
-
}, 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: '
|
|
29420
|
+
}, 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' })))));
|
|
29164
29421
|
}
|
|
29165
29422
|
componentWillLoad() {
|
|
29166
29423
|
}
|
|
@@ -29276,12 +29533,12 @@ class MdFabMenuItem {
|
|
|
29276
29533
|
render() {
|
|
29277
29534
|
const hasIcon = !!this.icon;
|
|
29278
29535
|
const effectivelyDisabled = this.isDisabled;
|
|
29279
|
-
return (hAsync(Host, { key: '
|
|
29536
|
+
return (hAsync(Host, { key: 'e855baef6055d8af0a820d88ff564e5211a3b292', class: {
|
|
29280
29537
|
'md-fab-menu-item': true,
|
|
29281
29538
|
'md-fab-menu-item--with-icon': hasIcon || this.hasSlottedIcon,
|
|
29282
29539
|
'md-fab-menu-item--disabled': effectivelyDisabled,
|
|
29283
29540
|
'md-fab-menu-item--roving-focus-visible': this.rovingFocusVisible,
|
|
29284
|
-
}, role: "menuitem", "aria-disabled": effectivelyDisabled ? 'true' : null, onClick: this.handleClick, onKeyDown: this.handleKeyDown }, hAsync("md-ripple", { key: '
|
|
29541
|
+
}, 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))));
|
|
29285
29542
|
}
|
|
29286
29543
|
componentDidRender() {
|
|
29287
29544
|
}
|
|
@@ -29461,7 +29718,7 @@ class MdIconButton {
|
|
|
29461
29718
|
const hasIcon = !!this.icon || this.hasSlottedIcon;
|
|
29462
29719
|
// Do not gate visibility on `hasIcon` — slotted glyphs must paint before sync.
|
|
29463
29720
|
const showDefaultIconLayer = !showSelected || (!this.selectedIcon && !this.hasSlottedSelected);
|
|
29464
|
-
return (hAsync(Host, { key: '
|
|
29721
|
+
return (hAsync(Host, { key: '084a91de82e93d9476564d05917c2d29c1362a93', class: {
|
|
29465
29722
|
'md-icon-button': true,
|
|
29466
29723
|
[`md-icon-button--${this.variant}`]: true,
|
|
29467
29724
|
[`md-icon-button--${this.size}`]: true,
|
|
@@ -29477,13 +29734,13 @@ class MdIconButton {
|
|
|
29477
29734
|
'md-icon-button--connected-right': this.connectedRight,
|
|
29478
29735
|
}, role: "button", "aria-disabled": isEffectivelyDisabled ? 'true' : 'false', "aria-pressed": this.toggle ? String(this.selected) : undefined, tabindex: this.disabled
|
|
29479
29736
|
? '-1'
|
|
29480
|
-
: (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: '
|
|
29737
|
+
: (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: {
|
|
29481
29738
|
'md-icon-button__icon': true,
|
|
29482
29739
|
'md-icon-button__icon--on': showDefaultIconLayer,
|
|
29483
|
-
}, part: "icon" }, hAsync("slot", { key: '
|
|
29740
|
+
}, 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: {
|
|
29484
29741
|
'md-icon-button__icon': true,
|
|
29485
29742
|
'md-icon-button__icon--on': showSelected,
|
|
29486
|
-
}, part: "selected-icon" }, hAsync("slot", { key: '
|
|
29743
|
+
}, 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))))));
|
|
29487
29744
|
}
|
|
29488
29745
|
componentDidRender() {
|
|
29489
29746
|
}
|
|
@@ -29580,7 +29837,8 @@ class MdLineChart {
|
|
|
29580
29837
|
* irregular data needs: uneven sampling, or several series measured on
|
|
29581
29838
|
* completely different dates. Set `xAxis.scale = 'time'` (or `'value'`) so
|
|
29582
29839
|
* the gaps render proportionally; series carrying their own x need no
|
|
29583
|
-
* `xAxis.data` at all.
|
|
29840
|
+
* `xAxis.data` at all. Direct, unslotted `md-chart-series` children take
|
|
29841
|
+
* precedence; this array remains the fallback when no such children exist.
|
|
29584
29842
|
*/
|
|
29585
29843
|
this.series = [];
|
|
29586
29844
|
/** Default curve interpolation. Overridable per-series. */
|
|
@@ -29862,6 +30120,9 @@ class MdLineChart {
|
|
|
29862
30120
|
* already applied the window, so the commit needs no second applyZoom. */
|
|
29863
30121
|
this.onZoomSliderEvent = (e) => e.stopPropagation();
|
|
29864
30122
|
}
|
|
30123
|
+
get effectiveSeries() {
|
|
30124
|
+
return this.childSeries ?? this.series;
|
|
30125
|
+
}
|
|
29865
30126
|
// ─────────────────── lifecycle ───────────────────
|
|
29866
30127
|
componentDidLoad() {
|
|
29867
30128
|
try {
|
|
@@ -29875,6 +30136,8 @@ class MdLineChart {
|
|
|
29875
30136
|
}
|
|
29876
30137
|
}
|
|
29877
30138
|
disconnectedCallback() {
|
|
30139
|
+
this.disposeSeriesWatch?.();
|
|
30140
|
+
this.disposeSeriesWatch = undefined;
|
|
29878
30141
|
this.ro?.disconnect();
|
|
29879
30142
|
this.ro = null;
|
|
29880
30143
|
this.engine?.dispose();
|
|
@@ -29973,7 +30236,7 @@ class MdLineChart {
|
|
|
29973
30236
|
*/
|
|
29974
30237
|
seriesKeys() {
|
|
29975
30238
|
const seen = new Map();
|
|
29976
|
-
return this.
|
|
30239
|
+
return this.effectiveSeries.map((s, i) => {
|
|
29977
30240
|
const base = s.id != null ? `id:${s.id}` : s.label != null ? `label:${s.label}` : `pos:${i}`;
|
|
29978
30241
|
const n = seen.get(base) ?? 0;
|
|
29979
30242
|
seen.set(base, n + 1);
|
|
@@ -30009,10 +30272,10 @@ class MdLineChart {
|
|
|
30009
30272
|
const scale = this.xAxis?.scale ?? 'category';
|
|
30010
30273
|
const axis = this.xAxis?.data;
|
|
30011
30274
|
const c = this.mergeCache;
|
|
30012
|
-
if (c && c.series === this.
|
|
30275
|
+
if (c && c.series === this.effectiveSeries && c.axis === axis && c.scale === scale)
|
|
30013
30276
|
return c.out;
|
|
30014
|
-
const out = normalizeSeriesX(this.
|
|
30015
|
-
this.mergeCache = { series: this.
|
|
30277
|
+
const out = normalizeSeriesX(this.effectiveSeries ?? [], axis, scale);
|
|
30278
|
+
this.mergeCache = { series: this.effectiveSeries, axis, scale, out };
|
|
30016
30279
|
return out;
|
|
30017
30280
|
}
|
|
30018
30281
|
/** Number of datapoints along x — the longest series, or the axis if longer. */
|
|
@@ -30166,7 +30429,7 @@ class MdLineChart {
|
|
|
30166
30429
|
// series that blips out of the feed for a frame must keep its toggle when it
|
|
30167
30430
|
// returns. Growth is bounded in rememberLegendToggle instead.
|
|
30168
30431
|
const keys = this.seriesKeys();
|
|
30169
|
-
// Zoom is a view: slice what the engine draws, leave `this.
|
|
30432
|
+
// Zoom is a view: slice what the engine draws, leave `this.effectiveSeries` alone.
|
|
30170
30433
|
// Anything index-addressed (dashAfter, pointSymbols, markIndices, markLines
|
|
30171
30434
|
// on a category axis) is rebased into window coordinates, and anything that
|
|
30172
30435
|
// falls outside the window is dropped.
|
|
@@ -30187,7 +30450,7 @@ class MdLineChart {
|
|
|
30187
30450
|
// addressed options (pointSymbols, dashAfter) are rebased onto it before
|
|
30188
30451
|
// the zoom window rebases them again.
|
|
30189
30452
|
const m = this.merged;
|
|
30190
|
-
const series = this.
|
|
30453
|
+
const series = this.effectiveSeries.map((s, i) => {
|
|
30191
30454
|
const key = keys[i];
|
|
30192
30455
|
const remembered = this.legendHidden.get(key);
|
|
30193
30456
|
const toMerged = m.toMerged[i];
|
|
@@ -30315,7 +30578,7 @@ class MdLineChart {
|
|
|
30315
30578
|
this.rememberLegendToggle(item.seriesIndex, !!item.hidden);
|
|
30316
30579
|
this.mdLegendClick.emit({
|
|
30317
30580
|
seriesIndex: item.seriesIndex,
|
|
30318
|
-
seriesId: this.
|
|
30581
|
+
seriesId: this.effectiveSeries[item.seriesIndex]?.id,
|
|
30319
30582
|
selected: !item.hidden,
|
|
30320
30583
|
});
|
|
30321
30584
|
},
|
|
@@ -30353,7 +30616,7 @@ class MdLineChart {
|
|
|
30353
30616
|
* index, not the merged one).
|
|
30354
30617
|
*/
|
|
30355
30618
|
clickDetail(si, di, e) {
|
|
30356
|
-
const s = this.
|
|
30619
|
+
const s = this.effectiveSeries[si];
|
|
30357
30620
|
if (!s)
|
|
30358
30621
|
return null;
|
|
30359
30622
|
const abs = di + (this.zoomWin ? this.win().start : 0);
|
|
@@ -30395,7 +30658,7 @@ class MdLineChart {
|
|
|
30395
30658
|
const own = this.ownIndex(v.seriesIndex, abs);
|
|
30396
30659
|
return {
|
|
30397
30660
|
seriesIndex: v.seriesIndex,
|
|
30398
|
-
seriesId: this.
|
|
30661
|
+
seriesId: this.effectiveSeries[v.seriesIndex]?.id,
|
|
30399
30662
|
label: v.label,
|
|
30400
30663
|
dataIndex: v.value == null ? -1 : own,
|
|
30401
30664
|
value: v.value,
|
|
@@ -30410,9 +30673,9 @@ class MdLineChart {
|
|
|
30410
30673
|
if (hp)
|
|
30411
30674
|
return hp.map((h) => h.seriesIndex);
|
|
30412
30675
|
const keys = this.seriesKeys();
|
|
30413
|
-
return this.
|
|
30676
|
+
return this.effectiveSeries
|
|
30414
30677
|
.map((_, i) => i)
|
|
30415
|
-
.filter((i) => !(this.
|
|
30678
|
+
.filter((i) => !(this.effectiveSeries[i].hidden ?? this.legendHidden.get(keys[i]) ?? false));
|
|
30416
30679
|
}
|
|
30417
30680
|
rebuildA11yTable() {
|
|
30418
30681
|
if (!this.a11yTableHost)
|
|
@@ -30427,7 +30690,7 @@ class MdLineChart {
|
|
|
30427
30690
|
xValueFormatter: this.xAxis?.valueFormatter ?? ((v) => defaultValueFormatter(v, this.locale)),
|
|
30428
30691
|
locale: this.locale,
|
|
30429
30692
|
labels: this.tableLabels,
|
|
30430
|
-
series: this.
|
|
30693
|
+
series: this.effectiveSeries.map((s, i) => ({ label: s.label, data: m.data[i] ?? [] })),
|
|
30431
30694
|
valueFormatter: this.valueFormatter,
|
|
30432
30695
|
});
|
|
30433
30696
|
}
|
|
@@ -30456,28 +30719,33 @@ class MdLineChart {
|
|
|
30456
30719
|
buildChartSummary({
|
|
30457
30720
|
title: this.label,
|
|
30458
30721
|
chartType: this.area ? 'area' : 'line',
|
|
30459
|
-
seriesCount: this.
|
|
30722
|
+
seriesCount: this.effectiveSeries.length,
|
|
30460
30723
|
xMin: xValues[0],
|
|
30461
30724
|
xMax: xValues[xValues.length - 1],
|
|
30462
30725
|
locale: this.locale,
|
|
30463
30726
|
});
|
|
30464
30727
|
// While loading, the loader owns the box — an empty-state message under it
|
|
30465
30728
|
// would just be the wrong answer to "where is my data?".
|
|
30466
|
-
const empty = this.
|
|
30467
|
-
return (hAsync(Host, { key: '
|
|
30729
|
+
const empty = this.effectiveSeries.length === 0 && !this.loading;
|
|
30730
|
+
return (hAsync(Host, { key: '108bae0ed9d7075f205c643093bddb0691d143e4', class: {
|
|
30468
30731
|
'md-line-chart': true,
|
|
30469
30732
|
'md-line-chart--empty': empty,
|
|
30470
30733
|
'md-line-chart--loading': this.loading,
|
|
30471
30734
|
'md-line-chart--mounted': this.mounted,
|
|
30472
30735
|
'md-line-chart--zoom-slider': this.zoomSliderOn,
|
|
30473
30736
|
'md-line-chart--zoom-drag': this.zoomInside,
|
|
30474
|
-
}, 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: '
|
|
30737
|
+
}, 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)));
|
|
30475
30738
|
}
|
|
30476
30739
|
componentWillLoad() {
|
|
30477
30740
|
}
|
|
30478
30741
|
componentDidRender() {
|
|
30479
30742
|
}
|
|
30480
30743
|
connectedCallback() {
|
|
30744
|
+
this.disposeSeriesWatch?.();
|
|
30745
|
+
this.disposeSeriesWatch = observeChartSeries(this.el, series => {
|
|
30746
|
+
this.childSeries = series;
|
|
30747
|
+
this.onAnyPropChange();
|
|
30748
|
+
});
|
|
30481
30749
|
}
|
|
30482
30750
|
componentShouldUpdate() {
|
|
30483
30751
|
return true;
|
|
@@ -30615,6 +30883,7 @@ class MdLineChart {
|
|
|
30615
30883
|
"loading": [516],
|
|
30616
30884
|
"loadingLabel": [1, "loading-label"],
|
|
30617
30885
|
"density": [514],
|
|
30886
|
+
"childSeries": [32],
|
|
30618
30887
|
"mounted": [32],
|
|
30619
30888
|
"kbIndex": [32],
|
|
30620
30889
|
"announcement": [32],
|
|
@@ -34232,7 +34501,7 @@ class MdMenu {
|
|
|
34232
34501
|
];
|
|
34233
34502
|
}
|
|
34234
34503
|
render() {
|
|
34235
|
-
return (hAsync(Host, { key: '
|
|
34504
|
+
return (hAsync(Host, { key: 'd2a4af3e77d79eaa89596c3a55049005726d5c90', class: {
|
|
34236
34505
|
'md-menu': true,
|
|
34237
34506
|
'md-menu--open': this.open,
|
|
34238
34507
|
'md-menu--closing': this.closing,
|
|
@@ -34254,13 +34523,13 @@ class MdMenu {
|
|
|
34254
34523
|
// closed steady state is just as affected). `inert` while hidden removes
|
|
34255
34524
|
// the whole subtree from focus order and the a11y tree; it flips off in
|
|
34256
34525
|
// the same render that clears aria-hidden, before any post-open focus.
|
|
34257
|
-
inert: !this.open || this.closing }, hAsync("div", { key: '
|
|
34526
|
+
inert: !this.open || this.closing }, hAsync("div", { key: '859a6853ac7e43b2f619edb37d49b469494c41ac', class: "md-menu__surface", part: "surface",
|
|
34258
34527
|
// In provider/listbox mode the surface is just a container: it holds
|
|
34259
34528
|
// the combobox (header slot) AND the listbox, so it must not itself be
|
|
34260
34529
|
// a menu or a listbox. The host (md-select) renders the actual
|
|
34261
34530
|
// role="listbox" wrapper around the options in its own shadow root, so
|
|
34262
34531
|
// aria-controls / aria-activedescendant IDREFs resolve.
|
|
34263
|
-
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: '
|
|
34532
|
+
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",
|
|
34264
34533
|
// Keyboard access to the scrolling option list (WCAG 2.1.1): the
|
|
34265
34534
|
// active option's roving tabindex can sit on a PINNED HEADER item
|
|
34266
34535
|
// (e.g. a select's "Select all") that lives outside this viewport,
|
|
@@ -34507,7 +34776,7 @@ class MdMenuItem {
|
|
|
34507
34776
|
return 'menuitem';
|
|
34508
34777
|
}
|
|
34509
34778
|
render() {
|
|
34510
|
-
return (hAsync(Host, { key: '
|
|
34779
|
+
return (hAsync(Host, { key: '044bf1116a7d1a5f92a45e5eb79b5785883ea64b', class: {
|
|
34511
34780
|
'md-menu-item': true,
|
|
34512
34781
|
'md-menu-item--selected': this.selected,
|
|
34513
34782
|
'md-menu-item--disabled': this.disabled,
|
|
@@ -34517,7 +34786,7 @@ class MdMenuItem {
|
|
|
34517
34786
|
? this.indeterminate && !this.selected
|
|
34518
34787
|
? 'mixed'
|
|
34519
34788
|
: String(this.selected)
|
|
34520
|
-
: undefined, tabindex: "-1", onClick: this.handleClick, onKeyDown: this.handleKeyDown }, hAsync("md-ripple", { key: '
|
|
34789
|
+
: 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' : '')))));
|
|
34521
34790
|
}
|
|
34522
34791
|
componentDidLoad() {
|
|
34523
34792
|
}
|
|
@@ -34577,7 +34846,7 @@ class MdMenuItemGroup {
|
|
|
34577
34846
|
this.density = 0;
|
|
34578
34847
|
}
|
|
34579
34848
|
render() {
|
|
34580
|
-
return (hAsync(Host, { key: '
|
|
34849
|
+
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' }))));
|
|
34581
34850
|
}
|
|
34582
34851
|
componentWillLoad() {
|
|
34583
34852
|
}
|
|
@@ -34862,11 +35131,11 @@ class MdMeter {
|
|
|
34862
35131
|
const circular = this.variant === 'circular';
|
|
34863
35132
|
const withHeader = !circular && (this.showLabel || this.showValue);
|
|
34864
35133
|
const text = this.formattedValue;
|
|
34865
|
-
return (hAsync(Host, { key: '
|
|
35134
|
+
return (hAsync(Host, { key: 'f5966fad21953c73b8c38149ea44012d7c8bcf4c', class: {
|
|
34866
35135
|
'md-meter': true,
|
|
34867
35136
|
'md-meter--with-header': withHeader,
|
|
34868
35137
|
'md-meter--circular': circular,
|
|
34869
|
-
}, 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: '
|
|
35138
|
+
}, 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}%` } })))));
|
|
34870
35139
|
}
|
|
34871
35140
|
componentWillLoad() {
|
|
34872
35141
|
}
|
|
@@ -36015,7 +36284,7 @@ class MdMultiSelect {
|
|
|
36015
36284
|
])));
|
|
36016
36285
|
}
|
|
36017
36286
|
render() {
|
|
36018
|
-
return (hAsync(Host, { key: '
|
|
36287
|
+
return (hAsync(Host, { key: '81c9ebbd069af9f1371322b3dc95070e944686f0', class: {
|
|
36019
36288
|
'md-multi-select': true,
|
|
36020
36289
|
[`md-multi-select--${this.variant}`]: true,
|
|
36021
36290
|
'md-multi-select--open': this.open,
|
|
@@ -36028,7 +36297,7 @@ class MdMultiSelect {
|
|
|
36028
36297
|
[`md-multi-select--chips-${this.chipPosition}`]: this.trigger === 'button' ||
|
|
36029
36298
|
this.hasSlottedTrigger ||
|
|
36030
36299
|
this.displayMode === 'chips',
|
|
36031
|
-
}, "aria-haspopup": "listbox", "aria-busy": this.loading ? 'true' : undefined }, hAsync("div", { key: '
|
|
36300
|
+
}, "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() }))));
|
|
36032
36301
|
}
|
|
36033
36302
|
connectedCallback() {
|
|
36034
36303
|
}
|
|
@@ -37093,7 +37362,7 @@ class MdNavigationRail {
|
|
|
37093
37362
|
render() {
|
|
37094
37363
|
const hasFooterProfile = this.hasFooterLeading || this.hasFooterContent;
|
|
37095
37364
|
const footerContentVisible = this.variant === 'expanded' || this.orientation === 'horizontal';
|
|
37096
|
-
return (hAsync(Host, { key: '
|
|
37365
|
+
return (hAsync(Host, { key: '0cda1ebf4379c2ceef6cda44f5ba5ebf57cd46d8', class: {
|
|
37097
37366
|
'md-navigation-rail': true,
|
|
37098
37367
|
[`md-navigation-rail--${this.variant}`]: true,
|
|
37099
37368
|
'md-navigation-rail--tabs-expanded': this.tabsExpanded,
|
|
@@ -37108,7 +37377,7 @@ class MdNavigationRail {
|
|
|
37108
37377
|
'md-navigation-rail--with-header': this.hasHeader,
|
|
37109
37378
|
'md-navigation-rail--with-fab': this.hasFab,
|
|
37110
37379
|
'md-navigation-rail--with-footer': this.hasFooter || hasFooterProfile,
|
|
37111
|
-
}, role: "navigation", "aria-label": this.label, onKeyDown: this.handleKeyDown }, hAsync("div", { key: '
|
|
37380
|
+
}, 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 })))));
|
|
37112
37381
|
}
|
|
37113
37382
|
componentDidRender() {
|
|
37114
37383
|
}
|
|
@@ -37677,7 +37946,7 @@ class MdNavigationRailTab {
|
|
|
37677
37946
|
: !this.label
|
|
37678
37947
|
? authorAriaLabel
|
|
37679
37948
|
: undefined;
|
|
37680
|
-
return (hAsync(Host, { key: '
|
|
37949
|
+
return (hAsync(Host, { key: '62248946f855334aaed7efa56ea178057afc913c', class: {
|
|
37681
37950
|
'md-navigation-rail-tab': true,
|
|
37682
37951
|
'md-navigation-rail-tab--active': this.active,
|
|
37683
37952
|
'md-navigation-rail-tab--child-selected': this.submenuHasSelection && !this.active,
|
|
@@ -40249,6 +40518,144 @@ class MdOtpField {
|
|
|
40249
40518
|
}; }
|
|
40250
40519
|
}
|
|
40251
40520
|
|
|
40521
|
+
/** Internal notifications; public interaction events stay on the chart. */
|
|
40522
|
+
const PIE_SLICE_CHANGE = 'mdPieSliceChange';
|
|
40523
|
+
const SPARKLINE_POINT_CHANGE = 'mdSparklinePointChange';
|
|
40524
|
+
const PIE_SLICE_FIELDS = {
|
|
40525
|
+
label: 'label', value: 'value', color: 'color', selected: 'selected', radius: 'radius',
|
|
40526
|
+
sliceId: 'id', sliceHidden: 'hidden', childSlices: 'children',
|
|
40527
|
+
};
|
|
40528
|
+
const directChildren = (host, tag) => Array.from(host.children)
|
|
40529
|
+
.filter(child => child.localName === tag && !child.getAttribute('slot'));
|
|
40530
|
+
/** Pure HTML/SSR decoder; typed arrays retain their identity. */
|
|
40531
|
+
function readPieChildren(value) {
|
|
40532
|
+
if (typeof value === 'string') {
|
|
40533
|
+
try {
|
|
40534
|
+
value = JSON.parse(value);
|
|
40535
|
+
}
|
|
40536
|
+
catch {
|
|
40537
|
+
return undefined;
|
|
40538
|
+
}
|
|
40539
|
+
}
|
|
40540
|
+
return value === null || Array.isArray(value) ? value : undefined;
|
|
40541
|
+
}
|
|
40542
|
+
/** No descriptors means the caller must keep its legacy array unchanged. */
|
|
40543
|
+
function readPieSlices(host) {
|
|
40544
|
+
const children = directChildren(host, 'md-pie-slice');
|
|
40545
|
+
if (!children.length)
|
|
40546
|
+
return undefined;
|
|
40547
|
+
return children.map(child => {
|
|
40548
|
+
const props = child;
|
|
40549
|
+
const datum = { label: '', value: 0 };
|
|
40550
|
+
for (const [prop, field] of Object.entries(PIE_SLICE_FIELDS)) {
|
|
40551
|
+
const value = prop === 'childSlices' ? readPieChildren(props[prop]) : props[prop];
|
|
40552
|
+
if (value !== undefined)
|
|
40553
|
+
datum[field] = value;
|
|
40554
|
+
}
|
|
40555
|
+
const nested = readPieSlices(child);
|
|
40556
|
+
if (nested !== undefined)
|
|
40557
|
+
datum.children = nested;
|
|
40558
|
+
return datum;
|
|
40559
|
+
});
|
|
40560
|
+
}
|
|
40561
|
+
/** A missing, removed or explicit null attribute is a gap, never numeric zero. */
|
|
40562
|
+
function readSparklineValue(value) {
|
|
40563
|
+
if (typeof value === 'string') {
|
|
40564
|
+
const text = value.trim();
|
|
40565
|
+
if (!text || text === 'null')
|
|
40566
|
+
return null;
|
|
40567
|
+
value = Number(text);
|
|
40568
|
+
}
|
|
40569
|
+
return typeof value === 'number' && Number.isFinite(value) ? value : null;
|
|
40570
|
+
}
|
|
40571
|
+
/** Preserve label types through SSR without treating ordinary HTML text as JSON. */
|
|
40572
|
+
function readSparklineLabel(value) {
|
|
40573
|
+
if (value == null)
|
|
40574
|
+
return undefined;
|
|
40575
|
+
if (typeof value !== 'string')
|
|
40576
|
+
return value;
|
|
40577
|
+
try {
|
|
40578
|
+
const envelope = JSON.parse(value);
|
|
40579
|
+
if (!envelope || typeof envelope !== 'object' || Array.isArray(envelope))
|
|
40580
|
+
return value;
|
|
40581
|
+
const record = envelope;
|
|
40582
|
+
if (Object.keys(record).length !== 2 || !Object.prototype.hasOwnProperty.call(record, '$awcPointLabel') || !Object.prototype.hasOwnProperty.call(record, 'value'))
|
|
40583
|
+
return value;
|
|
40584
|
+
if (record.$awcPointLabel === 'string' && typeof record.value === 'string')
|
|
40585
|
+
return record.value;
|
|
40586
|
+
if (record.$awcPointLabel === 'number' && typeof record.value === 'number' && Number.isFinite(record.value))
|
|
40587
|
+
return record.value;
|
|
40588
|
+
if (record.$awcPointLabel === 'null' && record.value === null)
|
|
40589
|
+
return null;
|
|
40590
|
+
if (record.$awcPointLabel === 'date' && typeof record.value === 'string') {
|
|
40591
|
+
const date = new Date(record.value);
|
|
40592
|
+
if (Number.isFinite(date.getTime()) && date.toISOString() === record.value)
|
|
40593
|
+
return date;
|
|
40594
|
+
}
|
|
40595
|
+
}
|
|
40596
|
+
catch { /* An ordinary HTML label is a literal string. */ }
|
|
40597
|
+
return value;
|
|
40598
|
+
}
|
|
40599
|
+
function readSparklinePoints(host) {
|
|
40600
|
+
const children = directChildren(host, 'md-sparkline-point');
|
|
40601
|
+
if (!children.length)
|
|
40602
|
+
return undefined;
|
|
40603
|
+
return {
|
|
40604
|
+
data: children.map(child => readSparklineValue(child.value)),
|
|
40605
|
+
labels: children.map(child => child.label),
|
|
40606
|
+
};
|
|
40607
|
+
}
|
|
40608
|
+
/** Child labels are partial overrides; entirely omitted labels preserve identity. */
|
|
40609
|
+
function resolveSparklineLabels(points, labels) {
|
|
40610
|
+
if (!points || !points.labels.some(label => label !== undefined))
|
|
40611
|
+
return labels;
|
|
40612
|
+
return points.labels.map((label, index) => label !== undefined ? label : labels?.[index] !== undefined ? labels[index] : index);
|
|
40613
|
+
}
|
|
40614
|
+
/** Observe only valid descriptor chains, including pie descendants at any depth. */
|
|
40615
|
+
function observeData(host, tag, event, recursive, read, changed) {
|
|
40616
|
+
let active = true;
|
|
40617
|
+
let queued = false;
|
|
40618
|
+
const belongs = (node) => {
|
|
40619
|
+
if (node === host)
|
|
40620
|
+
return true;
|
|
40621
|
+
while (node && node !== host) {
|
|
40622
|
+
if (node.localName !== tag || node.getAttribute('slot'))
|
|
40623
|
+
return false;
|
|
40624
|
+
node = node.parentElement;
|
|
40625
|
+
if (!recursive)
|
|
40626
|
+
return node === host;
|
|
40627
|
+
}
|
|
40628
|
+
return node === host;
|
|
40629
|
+
};
|
|
40630
|
+
const refresh = () => {
|
|
40631
|
+
if (!active || queued)
|
|
40632
|
+
return;
|
|
40633
|
+
queued = true;
|
|
40634
|
+
queueMicrotask(() => {
|
|
40635
|
+
queued = false;
|
|
40636
|
+
if (active)
|
|
40637
|
+
changed(read(host));
|
|
40638
|
+
});
|
|
40639
|
+
};
|
|
40640
|
+
const onChange = (notification) => {
|
|
40641
|
+
const target = notification.target;
|
|
40642
|
+
if (target?.localName === tag && belongs(target))
|
|
40643
|
+
refresh();
|
|
40644
|
+
};
|
|
40645
|
+
const observer = typeof MutationObserver === 'undefined' ? undefined : new MutationObserver(records => {
|
|
40646
|
+
if (records.some(record => record.type === 'childList'
|
|
40647
|
+
? record.target === host || (recursive && record.target.nodeType === 1 && belongs(record.target))
|
|
40648
|
+
: record.target.nodeType === 1 && record.target.localName === tag && (record.target.parentElement === host || (recursive && belongs(record.target.parentElement)))))
|
|
40649
|
+
refresh();
|
|
40650
|
+
});
|
|
40651
|
+
observer?.observe(host, { childList: true, attributes: true, attributeFilter: ['slot'], subtree: true });
|
|
40652
|
+
host.addEventListener(event, onChange);
|
|
40653
|
+
changed(read(host));
|
|
40654
|
+
return () => { active = false; observer?.disconnect(); host.removeEventListener(event, onChange); };
|
|
40655
|
+
}
|
|
40656
|
+
const observePieSlices = (host, changed) => observeData(host, 'md-pie-slice', PIE_SLICE_CHANGE, true, readPieSlices, changed);
|
|
40657
|
+
const observeSparklinePoints = (host, changed) => observeData(host, 'md-sparkline-point', SPARKLINE_POINT_CHANGE, false, readSparklinePoints, changed);
|
|
40658
|
+
|
|
40252
40659
|
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}`;
|
|
40253
40660
|
|
|
40254
40661
|
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}`;
|
|
@@ -40287,6 +40694,7 @@ class MdPieChart {
|
|
|
40287
40694
|
this.label = '';
|
|
40288
40695
|
/** Title alignment over the chart: `start` (left), `center`, or `end` (right). */
|
|
40289
40696
|
this.titleAlign = 'start';
|
|
40697
|
+
/** Fallback when no direct default-slot md-pie-slice children are present. */
|
|
40290
40698
|
this.data = [];
|
|
40291
40699
|
/** Inner radius (`"0%"` = pie, `"60%"` = donut, or px number). */
|
|
40292
40700
|
this.innerRadius = '0%';
|
|
@@ -40423,6 +40831,7 @@ class MdPieChart {
|
|
|
40423
40831
|
this.moveKeyboardCursor(-1);
|
|
40424
40832
|
};
|
|
40425
40833
|
}
|
|
40834
|
+
get effectiveData() { return this.childSlices ?? this.data; }
|
|
40426
40835
|
/** A stable key per datum — id, else label, else position. */
|
|
40427
40836
|
datumKeys() {
|
|
40428
40837
|
const seen = new Map();
|
|
@@ -40445,6 +40854,8 @@ class MdPieChart {
|
|
|
40445
40854
|
}
|
|
40446
40855
|
}
|
|
40447
40856
|
disconnectedCallback() {
|
|
40857
|
+
this.disposeSliceWatch?.();
|
|
40858
|
+
this.disposeSliceWatch = undefined;
|
|
40448
40859
|
this.ro?.disconnect();
|
|
40449
40860
|
this.ro = null;
|
|
40450
40861
|
this.engine?.dispose();
|
|
@@ -40582,7 +40993,7 @@ class MdPieChart {
|
|
|
40582
40993
|
walk(d.children, level + 1, at, color);
|
|
40583
40994
|
});
|
|
40584
40995
|
};
|
|
40585
|
-
walk(this.
|
|
40996
|
+
walk(this.effectiveData ?? [], 0, undefined);
|
|
40586
40997
|
return out;
|
|
40587
40998
|
}
|
|
40588
40999
|
/**
|
|
@@ -40603,7 +41014,7 @@ class MdPieChart {
|
|
|
40603
41014
|
walk(d.children);
|
|
40604
41015
|
}
|
|
40605
41016
|
};
|
|
40606
|
-
walk(this.
|
|
41017
|
+
walk(this.effectiveData ?? []);
|
|
40607
41018
|
return out;
|
|
40608
41019
|
}
|
|
40609
41020
|
buildSpec(t) {
|
|
@@ -40611,7 +41022,7 @@ class MdPieChart {
|
|
|
40611
41022
|
// `t.palette` is the role cycle: primary, tertiary, secondary, error, then
|
|
40612
41023
|
// the containers. Take the three non-semantic accents off the front as the
|
|
40613
41024
|
// ramp's anchors.
|
|
40614
|
-
const palette = harmonicPalette(t.palette.slice(0, 3), this.
|
|
41025
|
+
const palette = harmonicPalette(t.palette.slice(0, 3), this.effectiveData.length, {
|
|
40615
41026
|
light: t.surface,
|
|
40616
41027
|
dark: t.textColor,
|
|
40617
41028
|
});
|
|
@@ -40688,20 +41099,20 @@ class MdPieChart {
|
|
|
40688
41099
|
rebuildA11yTable() {
|
|
40689
41100
|
if (!this.a11yTableHost)
|
|
40690
41101
|
return;
|
|
40691
|
-
const total = this.
|
|
41102
|
+
const total = this.effectiveData.reduce((acc, d) => acc + d.value, 0);
|
|
40692
41103
|
const lb = this.tableLabels ?? {};
|
|
40693
41104
|
this.a11yTableHost.innerHTML = buildDataTableHtml({
|
|
40694
41105
|
title: this.label,
|
|
40695
41106
|
xAxisLabel: lb.category ?? 'Category',
|
|
40696
|
-
xAxisData: this.
|
|
41107
|
+
xAxisData: this.effectiveData.map(d => d.label),
|
|
40697
41108
|
locale: this.locale,
|
|
40698
41109
|
// A pie's rows are its slices, so each "series" here is one column of the
|
|
40699
41110
|
// table: the value, and the share it represents.
|
|
40700
41111
|
series: [
|
|
40701
|
-
{ label: lb.value ?? 'Value', data: this.
|
|
41112
|
+
{ label: lb.value ?? 'Value', data: this.effectiveData.map(d => d.value) },
|
|
40702
41113
|
{
|
|
40703
41114
|
label: lb.share ?? 'Share',
|
|
40704
|
-
data: this.
|
|
41115
|
+
data: this.effectiveData.map(d => (total > 0 ? (d.value / total) * 100 : 0)),
|
|
40705
41116
|
},
|
|
40706
41117
|
],
|
|
40707
41118
|
valueFormatter: v => (v == null ? '—' : this.formatValue(v)),
|
|
@@ -40740,8 +41151,8 @@ class MdPieChart {
|
|
|
40740
41151
|
// Against its OWN level, not the whole tree: a version is a share of its
|
|
40741
41152
|
// browser, and reading it as a share of every slice on the chart — parents
|
|
40742
41153
|
// and children together — would be a percentage of nothing.
|
|
40743
|
-
const siblings = this.
|
|
40744
|
-
? (findSiblings(this.
|
|
41154
|
+
const siblings = this.effectiveData?.some((x) => x.children?.length)
|
|
41155
|
+
? (findSiblings(this.effectiveData ?? [], d) ?? flat)
|
|
40745
41156
|
: flat;
|
|
40746
41157
|
const total = siblings.reduce((acc, x) => acc + x.value, 0);
|
|
40747
41158
|
const pct = total > 0 ? (d.value / total) * 100 : 0;
|
|
@@ -40753,26 +41164,31 @@ class MdPieChart {
|
|
|
40753
41164
|
render() {
|
|
40754
41165
|
// While loading, the loader owns the box — an empty-state message under it
|
|
40755
41166
|
// would just be the wrong answer to "where is my data?".
|
|
40756
|
-
const empty = this.
|
|
41167
|
+
const empty = this.effectiveData.length === 0 && !this.loading;
|
|
40757
41168
|
const summary = this.summary ||
|
|
40758
41169
|
buildChartSummary({
|
|
40759
41170
|
title: this.label,
|
|
40760
41171
|
chartType: 'pie',
|
|
40761
|
-
seriesCount: this.
|
|
41172
|
+
seriesCount: this.effectiveData.length,
|
|
40762
41173
|
locale: this.locale,
|
|
40763
41174
|
});
|
|
40764
|
-
return (hAsync(Host, { key: '
|
|
41175
|
+
return (hAsync(Host, { key: 'c38105b3f6a3701fba5124f8f243c6a2d71d65a6', class: {
|
|
40765
41176
|
'md-pie-chart': true,
|
|
40766
41177
|
'md-pie-chart--empty': empty,
|
|
40767
41178
|
'md-pie-chart--mounted': this.mounted,
|
|
40768
41179
|
'md-pie-chart--donut': this.innerRadius !== '0%' && this.innerRadius !== 0,
|
|
40769
|
-
}, role: "figure", "aria-label": summary, "aria-busy": this.loading ? 'true' : null, style: this.heightProp ? { blockSize: this.heightProp } : undefined }, hAsync("header", { key: '
|
|
41180
|
+
}, 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)));
|
|
40770
41181
|
}
|
|
40771
41182
|
componentWillLoad() {
|
|
40772
41183
|
}
|
|
40773
41184
|
componentDidRender() {
|
|
40774
41185
|
}
|
|
40775
41186
|
connectedCallback() {
|
|
41187
|
+
this.disposeSliceWatch?.();
|
|
41188
|
+
this.disposeSliceWatch = observePieSlices(this.el, slices => {
|
|
41189
|
+
this.childSlices = slices;
|
|
41190
|
+
this.onAnyPropChange();
|
|
41191
|
+
});
|
|
40776
41192
|
}
|
|
40777
41193
|
componentShouldUpdate() {
|
|
40778
41194
|
return true;
|
|
@@ -40887,6 +41303,7 @@ class MdPieChart {
|
|
|
40887
41303
|
"animation": [1],
|
|
40888
41304
|
"animationDuration": [2, "animation-duration"],
|
|
40889
41305
|
"density": [514],
|
|
41306
|
+
"childSlices": [32],
|
|
40890
41307
|
"mounted": [32],
|
|
40891
41308
|
"kbIndex": [32],
|
|
40892
41309
|
"announcement": [32],
|
|
@@ -40903,6 +41320,74 @@ class MdPieChart {
|
|
|
40903
41320
|
}; }
|
|
40904
41321
|
}
|
|
40905
41322
|
|
|
41323
|
+
const mdPieSliceCss = () => `:host{display:none !important}`;
|
|
41324
|
+
|
|
41325
|
+
/** Nonvisual pie datum. Direct default-slot slices override the parent's data array. */
|
|
41326
|
+
class MdPieSlice {
|
|
41327
|
+
constructor(hostRef) {
|
|
41328
|
+
registerInstance(this, hostRef);
|
|
41329
|
+
/** Slice name in the legend, tooltip and accessible table. */
|
|
41330
|
+
this.label = '';
|
|
41331
|
+
/** Value proportional to the slice's angle. */
|
|
41332
|
+
this.value = 0;
|
|
41333
|
+
}
|
|
41334
|
+
// Pure: the hydrate runtime calls this before constructing an instance.
|
|
41335
|
+
deserializeChildren(value) { return value == null ? undefined : readPieChildren(value); }
|
|
41336
|
+
componentDidLoad() { this.notifyChange(); }
|
|
41337
|
+
notifyChange() { this.el.dispatchEvent(new CustomEvent(PIE_SLICE_CHANGE, { bubbles: true, composed: true })); }
|
|
41338
|
+
render() { return hAsync("slot", { key: '980541239d821a7ee5993a4eb00b577424a2b581' }); }
|
|
41339
|
+
get el() { return getElement(this); }
|
|
41340
|
+
static get watchers() { return {
|
|
41341
|
+
"label": [{
|
|
41342
|
+
"notifyChange": 0
|
|
41343
|
+
}],
|
|
41344
|
+
"value": [{
|
|
41345
|
+
"notifyChange": 0
|
|
41346
|
+
}],
|
|
41347
|
+
"color": [{
|
|
41348
|
+
"notifyChange": 0
|
|
41349
|
+
}],
|
|
41350
|
+
"selected": [{
|
|
41351
|
+
"notifyChange": 0
|
|
41352
|
+
}],
|
|
41353
|
+
"radius": [{
|
|
41354
|
+
"notifyChange": 0
|
|
41355
|
+
}],
|
|
41356
|
+
"sliceId": [{
|
|
41357
|
+
"notifyChange": 0
|
|
41358
|
+
}],
|
|
41359
|
+
"sliceHidden": [{
|
|
41360
|
+
"notifyChange": 0
|
|
41361
|
+
}],
|
|
41362
|
+
"childSlices": [{
|
|
41363
|
+
"notifyChange": 0
|
|
41364
|
+
}]
|
|
41365
|
+
}; }
|
|
41366
|
+
static get deserializers() { return {
|
|
41367
|
+
"childSlices": [{
|
|
41368
|
+
"deserializeChildren": 0
|
|
41369
|
+
}]
|
|
41370
|
+
}; }
|
|
41371
|
+
static get style() { return mdPieSliceCss(); }
|
|
41372
|
+
static get cmpMeta() { return {
|
|
41373
|
+
"$flags$": 265,
|
|
41374
|
+
"$tagName$": "md-pie-slice",
|
|
41375
|
+
"$members$": {
|
|
41376
|
+
"label": [1],
|
|
41377
|
+
"value": [2],
|
|
41378
|
+
"color": [1],
|
|
41379
|
+
"selected": [4],
|
|
41380
|
+
"radius": [2],
|
|
41381
|
+
"sliceId": [1, "slice-id"],
|
|
41382
|
+
"sliceHidden": [4, "slice-hidden"],
|
|
41383
|
+
"childSlices": [16, "child-slices"]
|
|
41384
|
+
},
|
|
41385
|
+
"$listeners$": undefined,
|
|
41386
|
+
"$lazyBundleId$": "-",
|
|
41387
|
+
"$attrsToReflect$": []
|
|
41388
|
+
}; }
|
|
41389
|
+
}
|
|
41390
|
+
|
|
40906
41391
|
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}`;
|
|
40907
41392
|
|
|
40908
41393
|
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}`;
|
|
@@ -42369,7 +42854,7 @@ class MdProgressIndicator {
|
|
|
42369
42854
|
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) }))));
|
|
42370
42855
|
}
|
|
42371
42856
|
render() {
|
|
42372
|
-
return (hAsync(Host, { key: '
|
|
42857
|
+
return (hAsync(Host, { key: 'b1496e204f3e169dd4d52f3d04110d902174a3f3', class: {
|
|
42373
42858
|
'md-progress-indicator': true,
|
|
42374
42859
|
[`md-progress-indicator--${this.variant}`]: true,
|
|
42375
42860
|
'md-progress-indicator--indeterminate': this.indeterminate,
|
|
@@ -42860,7 +43345,7 @@ class MdRadio {
|
|
|
42860
43345
|
// ─── Render ────────────────────────────────────────────────
|
|
42861
43346
|
render() {
|
|
42862
43347
|
const isEffectivelyDisabled = this.isDisabled;
|
|
42863
|
-
return (hAsync(Host, { key: '
|
|
43348
|
+
return (hAsync(Host, { key: '0353918de7642a91942f40b56f079ad7db5ae471', class: {
|
|
42864
43349
|
'md-radio': true,
|
|
42865
43350
|
'md-radio--checked': this.checked,
|
|
42866
43351
|
'md-radio--unchecked': !this.checked,
|
|
@@ -42869,7 +43354,7 @@ class MdRadio {
|
|
|
42869
43354
|
'md-radio--focused': this.focused,
|
|
42870
43355
|
'md-radio--focus-ring': this.programmaticFocus,
|
|
42871
43356
|
'md-radio--has-support': !!this.validationMessage,
|
|
42872
|
-
}, 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: '
|
|
43357
|
+
}, 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))));
|
|
42873
43358
|
}
|
|
42874
43359
|
componentShouldUpdate() {
|
|
42875
43360
|
return true;
|
|
@@ -43289,14 +43774,14 @@ class MdRating {
|
|
|
43289
43774
|
const name = interactive
|
|
43290
43775
|
? baseLabel
|
|
43291
43776
|
: `${baseLabel}: ${this.resolveLabel(value)}`;
|
|
43292
|
-
return (hAsync(Host, { key: '
|
|
43777
|
+
return (hAsync(Host, { key: 'cd1e737806af5ae9c000633e06a08e6341e77292', class: {
|
|
43293
43778
|
'md-rating': true,
|
|
43294
43779
|
[`md-rating--${this.size}`]: true,
|
|
43295
43780
|
'md-rating--readonly': this.readonly,
|
|
43296
43781
|
'md-rating--disabled': this.disabled,
|
|
43297
43782
|
'md-rating--soft-disabled': this.softDisabled,
|
|
43298
43783
|
'md-rating--focused': this.focused,
|
|
43299
|
-
} }, hAsync("div", { key: '
|
|
43784
|
+
} }, 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))))));
|
|
43300
43785
|
}
|
|
43301
43786
|
componentDidLoad() {
|
|
43302
43787
|
}
|
|
@@ -43671,7 +44156,7 @@ class MdRipple {
|
|
|
43671
44156
|
this.growAnimation.addEventListener('finish', () => this.endWave(), { once: true });
|
|
43672
44157
|
}
|
|
43673
44158
|
render() {
|
|
43674
|
-
return (hAsync(Host, { key: '
|
|
44159
|
+
return (hAsync(Host, { key: '729a4e6378597ff503bd774e8112f9835feb851c', "aria-hidden": "true" }, hAsync("div", { key: '2c90bface7e00c00c32df72a4c5d4a76bf0e88a3', class: "md-ripple" })));
|
|
43675
44160
|
}
|
|
43676
44161
|
componentWillLoad() {
|
|
43677
44162
|
}
|
|
@@ -45325,7 +45810,7 @@ class MdSegmentedButton {
|
|
|
45325
45810
|
const showCheckmark = this.selected && !this.noCheckmark;
|
|
45326
45811
|
const isFirst = index === 0;
|
|
45327
45812
|
const isLast = index === total - 1;
|
|
45328
|
-
return (hAsync(Host, { key: '
|
|
45813
|
+
return (hAsync(Host, { key: 'aad0f10c1dd0c67a27e7197768cdd9016c3cf0fb', class: {
|
|
45329
45814
|
'md-segmented-button': true,
|
|
45330
45815
|
'md-segmented-button--selected': this.selected,
|
|
45331
45816
|
'md-segmented-button--disabled': this.isDisabled,
|
|
@@ -45333,7 +45818,7 @@ class MdSegmentedButton {
|
|
|
45333
45818
|
'md-segmented-button--first': isFirst,
|
|
45334
45819
|
'md-segmented-button--last': isLast,
|
|
45335
45820
|
[`md-segmented-button--density-${Math.abs(density)}`]: density !== 0,
|
|
45336
|
-
}, 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: '
|
|
45821
|
+
}, 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 ? (
|
|
45337
45822
|
// Icon segments: single element swaps icon ↔ checkmark in-place
|
|
45338
45823
|
hAsync("span", { class: "md-segmented-button__graphic material-symbols-outlined", part: showCheckmark ? 'checkmark' : 'icon', "aria-hidden": "true" }, showCheckmark ? 'check' : this.icon)) : !this.noCheckmark ? (
|
|
45339
45824
|
// Text-only: always reserve leading graphic space so segments
|
|
@@ -45342,7 +45827,7 @@ class MdSegmentedButton {
|
|
|
45342
45827
|
'md-segmented-button__graphic': true,
|
|
45343
45828
|
'material-symbols-outlined': true,
|
|
45344
45829
|
'md-segmented-button__graphic--hidden': !this.selected,
|
|
45345
|
-
}, part: this.selected ? 'checkmark' : undefined, "aria-hidden": "true" }, this.selected ? 'check' : '')) : null, hAsync("slot", { key: '
|
|
45830
|
+
}, 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" })))));
|
|
45346
45831
|
}
|
|
45347
45832
|
componentDidRender() {
|
|
45348
45833
|
}
|
|
@@ -45460,10 +45945,10 @@ class MdSegmentedButtonSet {
|
|
|
45460
45945
|
}
|
|
45461
45946
|
}
|
|
45462
45947
|
render() {
|
|
45463
|
-
return (hAsync(Host, { key: '
|
|
45948
|
+
return (hAsync(Host, { key: '542fcc93259149aa8cc56eb25a44ff272b26fa50', class: {
|
|
45464
45949
|
'md-segmented-button-set': true,
|
|
45465
45950
|
[`md-segmented-button-set--density-${Math.abs(this.density)}`]: this.density !== 0,
|
|
45466
|
-
}, role: this.multiselect ? 'group' : 'radiogroup' }, hAsync("slot", { key: '
|
|
45951
|
+
}, role: this.multiselect ? 'group' : 'radiogroup' }, hAsync("slot", { key: '903c36bb9f5a0e22082b1c787351d670245f7eef', onSlotchange: this.handleSlotChange })));
|
|
45467
45952
|
}
|
|
45468
45953
|
componentWillLoad() {
|
|
45469
45954
|
}
|
|
@@ -46188,13 +46673,13 @@ class MdSelect {
|
|
|
46188
46673
|
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)))))));
|
|
46189
46674
|
}
|
|
46190
46675
|
render() {
|
|
46191
|
-
return (hAsync(Host, { key: '
|
|
46676
|
+
return (hAsync(Host, { key: '967f74a5d3e79b2e64715e4a71c3d8dba5c01fbd', class: {
|
|
46192
46677
|
'md-select': true,
|
|
46193
46678
|
[`md-select--${this.variant}`]: true,
|
|
46194
46679
|
'md-select--open': this.open,
|
|
46195
46680
|
'md-select--disabled': this.disabled,
|
|
46196
46681
|
'md-select--loading': this.loading,
|
|
46197
|
-
}, "aria-haspopup": "listbox", "aria-busy": this.loading ? 'true' : undefined }, this.renderTrigger(), this.renderMenu(), hAsync("div", { key: '
|
|
46682
|
+
}, "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() }))));
|
|
46198
46683
|
}
|
|
46199
46684
|
componentDidLoad() {
|
|
46200
46685
|
}
|
|
@@ -46343,7 +46828,7 @@ class MdSelectOption {
|
|
|
46343
46828
|
// but the element is visually hidden — the picker renders the real,
|
|
46344
46829
|
// interactive row inside its md-menu. aria-hidden avoids double
|
|
46345
46830
|
// announcement of the (hidden) carrier alongside the live menu item.
|
|
46346
|
-
return (hAsync(Host, { key: '
|
|
46831
|
+
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' })));
|
|
46347
46832
|
}
|
|
46348
46833
|
componentWillLoad() {
|
|
46349
46834
|
}
|
|
@@ -46680,13 +47165,13 @@ class MdSideSheet {
|
|
|
46680
47165
|
const isModal = this.variant === 'modal';
|
|
46681
47166
|
const hasHeadline = !!this.headline;
|
|
46682
47167
|
const showBackBtn = isModal && this.showBack;
|
|
46683
|
-
return (hAsync(Host, { key: '
|
|
47168
|
+
return (hAsync(Host, { key: '5c8ecc6ed0a826a855eda4fcacb5d3bb3d0c8abd', class: {
|
|
46684
47169
|
'md-side-sheet': true,
|
|
46685
47170
|
[`md-side-sheet--${this.variant}`]: true,
|
|
46686
47171
|
[`md-side-sheet--${this.side}`]: true,
|
|
46687
47172
|
'md-side-sheet--open': this.open,
|
|
46688
47173
|
'md-side-sheet--detached': this.detached,
|
|
46689
|
-
} }, isModal && (hAsync("div", { key: '
|
|
47174
|
+
} }, 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,
|
|
46690
47175
|
// A closed sheet stays in the DOM (slid off-screen for the
|
|
46691
47176
|
// enter/exit motion, never display:none), so its focus guards,
|
|
46692
47177
|
// close/back buttons, and slotted controls remain tab-reachable
|
|
@@ -46696,7 +47181,7 @@ class MdSideSheet {
|
|
|
46696
47181
|
// aria-hidden, before the modal focusFirst() runs. When open, the
|
|
46697
47182
|
// standard variant stays non-inert so its content joins the page
|
|
46698
47183
|
// tab order normally.
|
|
46699
|
-
inert: !this.open, tabindex: -1, ref: (el) => (this.containerEl = el) }, isModal && (hAsync("span", { key: '
|
|
47184
|
+
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 })))));
|
|
46700
47185
|
}
|
|
46701
47186
|
componentDidRender() {
|
|
46702
47187
|
}
|
|
@@ -46855,7 +47340,7 @@ class MdSkeleton {
|
|
|
46855
47340
|
inlineStyle['--_w'] = this.width;
|
|
46856
47341
|
if (this.height)
|
|
46857
47342
|
inlineStyle['--_h'] = this.height;
|
|
46858
|
-
return (hAsync(Host, { key: '
|
|
47343
|
+
return (hAsync(Host, { key: 'd3309d07745511bd18e93a1f38409c23066be63c', class: {
|
|
46859
47344
|
'md-skeleton': true,
|
|
46860
47345
|
[`md-skeleton--${this.variant}`]: true,
|
|
46861
47346
|
[`md-skeleton--anim-${effectiveAnimation}`]: true,
|
|
@@ -47920,14 +48405,14 @@ class MdSnackbar {
|
|
|
47920
48405
|
render() {
|
|
47921
48406
|
const hasAction = !!this.action || this.hasSlottedAction;
|
|
47922
48407
|
const hasClose = this.closeable || this.hasSlottedClose;
|
|
47923
|
-
return (hAsync(Host, { key: '
|
|
48408
|
+
return (hAsync(Host, { key: 'b04af661705bd3f2f7a94095d5f37761e53c15eb', class: {
|
|
47924
48409
|
'md-snackbar': true,
|
|
47925
48410
|
'md-snackbar--open': this.open,
|
|
47926
48411
|
'md-snackbar--stacked': this.stacked,
|
|
47927
48412
|
[`md-snackbar--${this.position}`]: true,
|
|
47928
48413
|
'md-snackbar--with-action': hasAction,
|
|
47929
48414
|
'md-snackbar--with-close': hasClose,
|
|
47930
|
-
}, role: this.politeness === 'assertive' ? 'alert' : 'status', "aria-live": this.politeness, "aria-atomic": "true" }, hAsync("div", { key: '
|
|
48415
|
+
}, 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" }))))))));
|
|
47931
48416
|
}
|
|
47932
48417
|
componentWillLoad() {
|
|
47933
48418
|
}
|
|
@@ -47990,7 +48475,7 @@ class MdSparkline {
|
|
|
47990
48475
|
registerInstance(this, hostRef);
|
|
47991
48476
|
this.mdSparkClick = createEvent(this, "mdSparkClick", 7);
|
|
47992
48477
|
this.mdReady = createEvent(this, "mdReady", 7);
|
|
47993
|
-
/** Numeric
|
|
48478
|
+
/** Numeric fallback when no direct default-slot md-sparkline-point children exist. Pass `null` for gaps. */
|
|
47994
48479
|
this.data = [];
|
|
47995
48480
|
/** Visual variant. */
|
|
47996
48481
|
this.variant = 'line';
|
|
@@ -48012,6 +48497,8 @@ class MdSparkline {
|
|
|
48012
48497
|
this.ro = null;
|
|
48013
48498
|
this.bindChartHost = (el) => { this.chartHost = el; };
|
|
48014
48499
|
}
|
|
48500
|
+
get effectiveData() { return this.childPoints?.data ?? this.data; }
|
|
48501
|
+
get effectiveLabels() { return resolveSparklineLabels(this.childPoints, this.labels); }
|
|
48015
48502
|
componentDidLoad() {
|
|
48016
48503
|
try {
|
|
48017
48504
|
this.initChart();
|
|
@@ -48024,6 +48511,8 @@ class MdSparkline {
|
|
|
48024
48511
|
}
|
|
48025
48512
|
}
|
|
48026
48513
|
disconnectedCallback() {
|
|
48514
|
+
this.disposePointWatch?.();
|
|
48515
|
+
this.disposePointWatch = undefined;
|
|
48027
48516
|
this.ro?.disconnect();
|
|
48028
48517
|
this.ro = null;
|
|
48029
48518
|
this.engine?.dispose();
|
|
@@ -48082,7 +48571,7 @@ class MdSparkline {
|
|
|
48082
48571
|
}
|
|
48083
48572
|
markIndices() {
|
|
48084
48573
|
const nums = [];
|
|
48085
|
-
this.
|
|
48574
|
+
this.effectiveData.forEach((d, i) => {
|
|
48086
48575
|
if (typeof d === 'number')
|
|
48087
48576
|
nums.push({ d, i });
|
|
48088
48577
|
});
|
|
@@ -48135,7 +48624,7 @@ class MdSparkline {
|
|
|
48135
48624
|
series: [{
|
|
48136
48625
|
label: '',
|
|
48137
48626
|
color,
|
|
48138
|
-
data: this.
|
|
48627
|
+
data: this.effectiveData,
|
|
48139
48628
|
curve: this.curve,
|
|
48140
48629
|
connectNulls: true,
|
|
48141
48630
|
showMarks: false,
|
|
@@ -48144,7 +48633,7 @@ class MdSparkline {
|
|
|
48144
48633
|
lineWidth: this.lineWidth,
|
|
48145
48634
|
markSize: this.markSize,
|
|
48146
48635
|
}],
|
|
48147
|
-
xValues: this.
|
|
48636
|
+
xValues: this.effectiveLabels ?? this.effectiveData.map((_, i) => i),
|
|
48148
48637
|
xScale: 'category',
|
|
48149
48638
|
xFormatter: (v) => String(v),
|
|
48150
48639
|
xHidden: true,
|
|
@@ -48167,8 +48656,8 @@ class MdSparkline {
|
|
|
48167
48656
|
buildBarSpec(color) {
|
|
48168
48657
|
const fmt = (v) => (this.valueFormatter ? this.valueFormatter(v) : v.toLocaleString());
|
|
48169
48658
|
return {
|
|
48170
|
-
series: [{ label: '', color, data: this.
|
|
48171
|
-
categories: (this.
|
|
48659
|
+
series: [{ label: '', color, data: this.effectiveData, hidden: false }],
|
|
48660
|
+
categories: (this.effectiveLabels ?? this.effectiveData.map((_, i) => i)),
|
|
48172
48661
|
categoryFormatter: (v) => String(v),
|
|
48173
48662
|
categoryHidden: true,
|
|
48174
48663
|
valueScale: 'value',
|
|
@@ -48197,7 +48686,7 @@ class MdSparkline {
|
|
|
48197
48686
|
const color = resolveSeriesColor(this.el, this.color, pickPaletteColor(t.palette, 0));
|
|
48198
48687
|
const theme = this.buildEngineTheme(t);
|
|
48199
48688
|
const onPointClick = (_si, di) => {
|
|
48200
|
-
const v = this.
|
|
48689
|
+
const v = this.effectiveData[di];
|
|
48201
48690
|
this.mdSparkClick.emit({ dataIndex: di, value: typeof v === 'number' ? v : null });
|
|
48202
48691
|
};
|
|
48203
48692
|
if (this.engine instanceof BarChartEngine) {
|
|
@@ -48209,7 +48698,7 @@ class MdSparkline {
|
|
|
48209
48698
|
this.engine.setHoverEnabled(this.showTooltip);
|
|
48210
48699
|
}
|
|
48211
48700
|
render() {
|
|
48212
|
-
const finiteValues = this.
|
|
48701
|
+
const finiteValues = this.effectiveData.filter((d) => typeof d === 'number');
|
|
48213
48702
|
const last = finiteValues.length ? finiteValues[finiteValues.length - 1] : null;
|
|
48214
48703
|
const max = finiteValues.length ? Math.max(...finiteValues) : null;
|
|
48215
48704
|
const min = finiteValues.length ? Math.min(...finiteValues) : null;
|
|
@@ -48221,17 +48710,22 @@ class MdSparkline {
|
|
|
48221
48710
|
const summary = finiteValues.length
|
|
48222
48711
|
? `Sparkline, latest ${fmt(last)}, range ${fmt(min)} to ${fmt(max)}.${refNote}`
|
|
48223
48712
|
: `Sparkline, no data.${refNote}`;
|
|
48224
|
-
return (hAsync(Host, { key: '
|
|
48713
|
+
return (hAsync(Host, { key: '0b1c1db8cdfbaea69f86d5959cf2a9cb6780bfce', class: {
|
|
48225
48714
|
'md-sparkline': true,
|
|
48226
48715
|
'md-sparkline--mounted': this.mounted,
|
|
48227
48716
|
[`md-sparkline--${this.variant}`]: true,
|
|
48228
|
-
}, role: "img", "aria-label": summary, style: this.heightProp ? { blockSize: this.heightProp } : undefined }, hAsync("div", { key: '
|
|
48717
|
+
}, 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) })));
|
|
48229
48718
|
}
|
|
48230
48719
|
componentWillLoad() {
|
|
48231
48720
|
}
|
|
48232
48721
|
componentDidRender() {
|
|
48233
48722
|
}
|
|
48234
48723
|
connectedCallback() {
|
|
48724
|
+
this.disposePointWatch?.();
|
|
48725
|
+
this.disposePointWatch = observeSparklinePoints(this.el, points => {
|
|
48726
|
+
this.childPoints = points;
|
|
48727
|
+
this.onAnyPropChange();
|
|
48728
|
+
});
|
|
48235
48729
|
}
|
|
48236
48730
|
componentShouldUpdate() {
|
|
48237
48731
|
return true;
|
|
@@ -48283,7 +48777,7 @@ class MdSparkline {
|
|
|
48283
48777
|
}; }
|
|
48284
48778
|
static get style() { return initialMotionCss$q() + mdSparklineCss(); }
|
|
48285
48779
|
static get cmpMeta() { return {
|
|
48286
|
-
"$flags$":
|
|
48780
|
+
"$flags$": 265,
|
|
48287
48781
|
"$tagName$": "md-sparkline",
|
|
48288
48782
|
"$members$": {
|
|
48289
48783
|
"data": [16],
|
|
@@ -48303,6 +48797,7 @@ class MdSparkline {
|
|
|
48303
48797
|
"lineWidth": [2, "line-width"],
|
|
48304
48798
|
"markSize": [2, "mark-size"],
|
|
48305
48799
|
"barWidth": [2, "bar-width"],
|
|
48800
|
+
"childPoints": [32],
|
|
48306
48801
|
"mounted": [32],
|
|
48307
48802
|
"refreshTheme": [64],
|
|
48308
48803
|
"resize": [64],
|
|
@@ -48328,6 +48823,52 @@ function toRgba(color, alpha) {
|
|
|
48328
48823
|
return color;
|
|
48329
48824
|
}
|
|
48330
48825
|
|
|
48826
|
+
const mdSparklinePointCss = () => `:host{display:none !important}`;
|
|
48827
|
+
|
|
48828
|
+
/** Nonvisual indexed sparkline point. Missing values retain their position as gaps. */
|
|
48829
|
+
class MdSparklinePoint {
|
|
48830
|
+
constructor(hostRef) {
|
|
48831
|
+
registerInstance(this, hostRef);
|
|
48832
|
+
/** Numeric value, or null for a gap. Omission, removal and value="null" are gaps. */
|
|
48833
|
+
this.value = null;
|
|
48834
|
+
}
|
|
48835
|
+
// Pure: the hydrate runtime calls this before constructing an instance.
|
|
48836
|
+
deserializeValue(value) { return readSparklineValue(value); }
|
|
48837
|
+
deserializeLabel(value) { return readSparklineLabel(value); }
|
|
48838
|
+
componentDidLoad() { this.notifyChange(); }
|
|
48839
|
+
notifyChange() { this.el.dispatchEvent(new CustomEvent(SPARKLINE_POINT_CHANGE, { bubbles: true, composed: true })); }
|
|
48840
|
+
render() { return null; }
|
|
48841
|
+
get el() { return getElement(this); }
|
|
48842
|
+
static get watchers() { return {
|
|
48843
|
+
"value": [{
|
|
48844
|
+
"notifyChange": 0
|
|
48845
|
+
}],
|
|
48846
|
+
"label": [{
|
|
48847
|
+
"notifyChange": 0
|
|
48848
|
+
}]
|
|
48849
|
+
}; }
|
|
48850
|
+
static get deserializers() { return {
|
|
48851
|
+
"value": [{
|
|
48852
|
+
"deserializeValue": 0
|
|
48853
|
+
}],
|
|
48854
|
+
"label": [{
|
|
48855
|
+
"deserializeLabel": 0
|
|
48856
|
+
}]
|
|
48857
|
+
}; }
|
|
48858
|
+
static get style() { return mdSparklinePointCss(); }
|
|
48859
|
+
static get cmpMeta() { return {
|
|
48860
|
+
"$flags$": 9,
|
|
48861
|
+
"$tagName$": "md-sparkline-point",
|
|
48862
|
+
"$members$": {
|
|
48863
|
+
"value": [2],
|
|
48864
|
+
"label": [8]
|
|
48865
|
+
},
|
|
48866
|
+
"$listeners$": undefined,
|
|
48867
|
+
"$lazyBundleId$": "-",
|
|
48868
|
+
"$attrsToReflect$": []
|
|
48869
|
+
}; }
|
|
48870
|
+
}
|
|
48871
|
+
|
|
48331
48872
|
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}`;
|
|
48332
48873
|
|
|
48333
48874
|
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}`;
|
|
@@ -48438,7 +48979,7 @@ class MdSplitButton {
|
|
|
48438
48979
|
}
|
|
48439
48980
|
render() {
|
|
48440
48981
|
const hasIcon = !!this.icon;
|
|
48441
|
-
return (hAsync(Host, { key: '
|
|
48982
|
+
return (hAsync(Host, { key: '3b1f0a297305c78e397ee9a0352b2489fec9c05c', class: {
|
|
48442
48983
|
'md-split-button': true,
|
|
48443
48984
|
[`md-split-button--${this.variant}`]: true,
|
|
48444
48985
|
[`md-split-button--${this.size}`]: true,
|
|
@@ -48446,10 +48987,10 @@ class MdSplitButton {
|
|
|
48446
48987
|
'md-split-button--trailing-checked': this.trailingChecked,
|
|
48447
48988
|
'md-split-button--with-icon': hasIcon,
|
|
48448
48989
|
'md-split-button--full-width': this.fullWidth,
|
|
48449
|
-
} }, hAsync("button", { key: '
|
|
48990
|
+
} }, 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: {
|
|
48450
48991
|
'md-split-button__trailing': true,
|
|
48451
48992
|
'md-split-button__trailing--checked': this.trailingChecked,
|
|
48452
|
-
}, 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: '
|
|
48993
|
+
}, 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))));
|
|
48453
48994
|
}
|
|
48454
48995
|
componentWillLoad() {
|
|
48455
48996
|
}
|
|
@@ -48622,7 +49163,7 @@ class MdStatusDot {
|
|
|
48622
49163
|
// aria-live="polite", so static labels deliberately avoid it to prevent
|
|
48623
49164
|
// spurious announcements when the dot merely renders.
|
|
48624
49165
|
const role = labelled ? (this.live ? 'status' : 'img') : 'presentation';
|
|
48625
|
-
return (hAsync(Host, { key: '
|
|
49166
|
+
return (hAsync(Host, { key: '7ad304bcf5c9b1f178bfd3af94b5ef3e1f479268', class: {
|
|
48626
49167
|
'md-status-dot': true,
|
|
48627
49168
|
[`md-status-dot--${this.state}`]: true,
|
|
48628
49169
|
[`md-status-dot--${this.size}`]: true,
|
|
@@ -48965,7 +49506,7 @@ class MdStep {
|
|
|
48965
49506
|
// inherits the flex properties the host used to carry). Every other mode
|
|
48966
49507
|
// renders them bare, exactly as before — no extra box, no layout change.
|
|
48967
49508
|
const headerNodes = [
|
|
48968
|
-
!isFirst && isVertical && (hAsync("span", { key: '
|
|
49509
|
+
!isFirst && isVertical && (hAsync("span", { key: '3d5b90edb970fcbe929b51c11e7c175002912600', class: {
|
|
48969
49510
|
'md-step__connector': true,
|
|
48970
49511
|
'md-step__connector--leading': true,
|
|
48971
49512
|
'md-step__connector--filled': this.index <= this.activeIndex,
|
|
@@ -48983,15 +49524,15 @@ class MdStep {
|
|
|
48983
49524
|
* `aria-current` STAYS. "Which one is it on" is the entire point of a
|
|
48984
49525
|
* status trail, and it is the one thing the visible text does not carry.
|
|
48985
49526
|
*/
|
|
48986
|
-
hAsync("div", { key: '
|
|
48987
|
-
!isLast && (hAsync("span", { key: '
|
|
49527
|
+
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))))),
|
|
49528
|
+
!isLast && (hAsync("span", { key: 'ac2627f5b3268da966285a2cd01aa3786cb938df', class: {
|
|
48988
49529
|
'md-step__connector': true,
|
|
48989
49530
|
'md-step__connector--trailing': true,
|
|
48990
49531
|
'md-step__connector--filled': this.index < this.activeIndex,
|
|
48991
49532
|
}, part: "connector connector-trailing", "aria-hidden": "true" })),
|
|
48992
49533
|
];
|
|
48993
49534
|
const panelStep = !isVertical && hasPanel;
|
|
48994
|
-
return (hAsync(Host, { key: '
|
|
49535
|
+
return (hAsync(Host, { key: '891c3be7f8bdc29c3865534aa6cae58eaf104afb', class: {
|
|
48995
49536
|
'md-step': true,
|
|
48996
49537
|
[`md-step--${this.orientation}`]: true,
|
|
48997
49538
|
[`md-step--indicator-${this.indicatorKind}`]: true,
|
|
@@ -49005,12 +49546,12 @@ class MdStep {
|
|
|
49005
49546
|
'md-step--first': isFirst,
|
|
49006
49547
|
'md-step--last': isLast,
|
|
49007
49548
|
'md-step--panel-step': !isVertical && hasPanel,
|
|
49008
|
-
}, 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: '
|
|
49549
|
+
}, 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: {
|
|
49009
49550
|
'md-step__content': true,
|
|
49010
49551
|
'md-step__content--open': this.active,
|
|
49011
49552
|
'md-step__content--lazy': lazy,
|
|
49012
49553
|
'md-step__content--entering': lazy && this.active && this.animatePanel,
|
|
49013
|
-
}, part: "content", onAnimationEnd: this.onPanelAnimationDone, "on-animationcancel": this.onPanelAnimationDone, role: "region", "aria-label": this.label || this.composeA11yLabel() }, hAsync("div", { key: '
|
|
49554
|
+
}, 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'))))))))));
|
|
49014
49555
|
}
|
|
49015
49556
|
componentWillLoad() {
|
|
49016
49557
|
}
|
|
@@ -49570,19 +50111,19 @@ class MdStepper {
|
|
|
49570
50111
|
}
|
|
49571
50112
|
render() {
|
|
49572
50113
|
const mobile = this.variant === 'mobile';
|
|
49573
|
-
return (hAsync(Host, { key: '
|
|
50114
|
+
return (hAsync(Host, { key: '95354ba1a93eec2aaaa6fa01d6745250584914f5', class: {
|
|
49574
50115
|
'md-stepper': true,
|
|
49575
50116
|
[`md-stepper--${this.orientation}`]: true,
|
|
49576
50117
|
[`md-stepper--indicator-${this.indicator}`]: true,
|
|
49577
50118
|
[`md-stepper--mode-${this.mode}`]: true,
|
|
49578
50119
|
'md-stepper--mobile': mobile,
|
|
49579
|
-
}, role: "navigation", "aria-label": this.label }, hAsync("div", { key: '
|
|
50120
|
+
}, 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'
|
|
49580
50121
|
? this.steps.map((s, i) => (hAsync("span", { class: {
|
|
49581
50122
|
'md-stepper__mobile-dot': true,
|
|
49582
50123
|
'is-active': i === this.active,
|
|
49583
50124
|
'is-done': i < this.active || !!s.completed,
|
|
49584
50125
|
} })))
|
|
49585
|
-
: hAsync("span", { class: "md-stepper__mobile-text" }, `${this.stepWord} ${this.active + 1} ${this.ofWord} ${this.stepCount}`)), hAsync("md-button", { key: '
|
|
50126
|
+
: 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)))));
|
|
49586
50127
|
}
|
|
49587
50128
|
componentDidRender() {
|
|
49588
50129
|
}
|
|
@@ -50372,13 +50913,13 @@ class MdSubMenuItem {
|
|
|
50372
50913
|
this.stopCorridorWatch();
|
|
50373
50914
|
}
|
|
50374
50915
|
render() {
|
|
50375
|
-
return (hAsync(Host, { key: '
|
|
50916
|
+
return (hAsync(Host, { key: '4a6583db9631c4ee8e799b957e30273824b68441', class: {
|
|
50376
50917
|
'md-sub-menu-item': true,
|
|
50377
50918
|
'md-sub-menu-item--disabled': this.disabled,
|
|
50378
50919
|
'md-sub-menu-item--open': this.submenuOpen,
|
|
50379
50920
|
'md-sub-menu-item--divider': this.divider,
|
|
50380
50921
|
'md-sub-menu-item--gap': this.gap,
|
|
50381
|
-
}, 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: '
|
|
50922
|
+
}, 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" }))));
|
|
50382
50923
|
}
|
|
50383
50924
|
connectedCallback() {
|
|
50384
50925
|
}
|
|
@@ -50643,7 +51184,7 @@ class MdSwitch {
|
|
|
50643
51184
|
const showSelectedIcon = this.icons || this.showOnlySelectedIcon;
|
|
50644
51185
|
const showUnselectedIcon = this.icons;
|
|
50645
51186
|
const showIcon = this.selected ? showSelectedIcon : showUnselectedIcon;
|
|
50646
|
-
return (hAsync(Host, { key: '
|
|
51187
|
+
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: {
|
|
50647
51188
|
'md-switch': true,
|
|
50648
51189
|
'md-switch--selected': this.selected,
|
|
50649
51190
|
'md-switch--disabled': this.disabled || this.softDisabled,
|
|
@@ -50651,7 +51192,7 @@ class MdSwitch {
|
|
|
50651
51192
|
'md-switch--with-icon': showIcon,
|
|
50652
51193
|
'md-switch--focus-ring': this.programmaticFocus,
|
|
50653
51194
|
'md-switch--has-support': !!this.validationMessage,
|
|
50654
|
-
}, onClick: this.toggle, onKeyDown: this.handleKeyDown, onPointerDown: this.handlePointerDown, onPointerUp: this.handlePointerUp, onPointerLeave: this.handlePointerUp, onPointerCancel: this.handlePointerUp, onBlur: this.handleBlur }, hAsync("span", { key: '
|
|
51195
|
+
}, 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))));
|
|
50655
51196
|
}
|
|
50656
51197
|
componentDidLoad() {
|
|
50657
51198
|
}
|
|
@@ -50841,7 +51382,7 @@ class MdTab {
|
|
|
50841
51382
|
const hasBadge = this.badge !== undefined;
|
|
50842
51383
|
const isInline = this.inlineIcon && hasIcon && hasLabel;
|
|
50843
51384
|
const isStacked = hasIcon && hasLabel && !isInline;
|
|
50844
|
-
return (hAsync(Host, { key: '
|
|
51385
|
+
return (hAsync(Host, { key: '53d96f6295b2aef16cf89a76b348cee98c98707e', class: {
|
|
50845
51386
|
'md-tab': true,
|
|
50846
51387
|
[`md-tab--${this.variant}`]: true,
|
|
50847
51388
|
'md-tab--active': this.active,
|
|
@@ -50849,16 +51390,16 @@ class MdTab {
|
|
|
50849
51390
|
'md-tab--inline-icon': isInline,
|
|
50850
51391
|
'md-tab--stacked': isStacked,
|
|
50851
51392
|
'md-tab--icon-only': hasIcon && !hasLabel,
|
|
50852
|
-
}, 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: '
|
|
51393
|
+
}, 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: {
|
|
50853
51394
|
'md-tab__content': true,
|
|
50854
51395
|
'md-tab__content--inline': isInline,
|
|
50855
|
-
}, part: "content" }, hasIcon && (hAsync("span", { key: '
|
|
51396
|
+
}, 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: {
|
|
50856
51397
|
'md-tab__indicator': true,
|
|
50857
51398
|
'md-tab__indicator--active': this.active,
|
|
50858
51399
|
}, part: "indicator", "aria-hidden": "true" })) : null), this.variant === 'secondary' ? (hAsync("span", { class: {
|
|
50859
51400
|
'md-tab__indicator': true,
|
|
50860
51401
|
'md-tab__indicator--active': this.active,
|
|
50861
|
-
}, part: "indicator", "aria-hidden": "true" })) : null, hAsync("span", { key: '
|
|
51402
|
+
}, part: "indicator", "aria-hidden": "true" })) : null, hAsync("span", { key: '0888f99842a865b9ac010070a0da3dec11ae4de5', class: "md-tab__divider", part: "divider", "aria-hidden": "true" })));
|
|
50862
51403
|
}
|
|
50863
51404
|
componentDidRender() {
|
|
50864
51405
|
}
|
|
@@ -50914,7 +51455,7 @@ class MdTabPanel {
|
|
|
50914
51455
|
this.active = false;
|
|
50915
51456
|
}
|
|
50916
51457
|
render() {
|
|
50917
|
-
return (hAsync(Host, { key: '
|
|
51458
|
+
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' }))));
|
|
50918
51459
|
}
|
|
50919
51460
|
componentWillLoad() {
|
|
50920
51461
|
}
|
|
@@ -51117,7 +51658,7 @@ class MdTabPanels {
|
|
|
51117
51658
|
this.el.setAttribute('data-active-resolved', '');
|
|
51118
51659
|
}
|
|
51119
51660
|
render() {
|
|
51120
|
-
return (hAsync(Host, { key: '
|
|
51661
|
+
return (hAsync(Host, { key: '21a2e377759d4b9e8c97c6bd7949a40938926ec4' }, hAsync("slot", { key: '1e0e5887ceded08e1ce02797177cb8d48e42fb1b' })));
|
|
51121
51662
|
}
|
|
51122
51663
|
componentWillLoad() {
|
|
51123
51664
|
const children = Array.from(this.el.children).filter(child => !child.getAttribute('slot'));
|
|
@@ -52617,7 +53158,7 @@ class MdTable {
|
|
|
52617
53158
|
this.el.querySelectorAll('md-table-head md-table-row, md-table-foot md-table-row').length)
|
|
52618
53159
|
: null,
|
|
52619
53160
|
};
|
|
52620
|
-
return (hAsync(Host, { key: '
|
|
53161
|
+
return (hAsync(Host, { key: 'bfcc96ee8606c66d984b132369d9701334c1cbb5', class: {
|
|
52621
53162
|
'md-table': true,
|
|
52622
53163
|
[`md-table--density-${this.density}`]: typeof this.density === 'string',
|
|
52623
53164
|
'md-table--sticky-header': this.stickyHeader,
|
|
@@ -52633,7 +53174,7 @@ class MdTable {
|
|
|
52633
53174
|
// the host: the table content model admits only rowgroups/rows, and the
|
|
52634
53175
|
// host also hosts the caption, live region, loading overlay and empty
|
|
52635
53176
|
// state (axe aria-required-children).
|
|
52636
|
-
style: style }, hAsync("span", { key: '
|
|
53177
|
+
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 ? (
|
|
52637
53178
|
// Frozen header: the header grid sits above a vertically-scrolling
|
|
52638
53179
|
// body grid, so the scrollbar spans only the body. Both grids share
|
|
52639
53180
|
// the column tracks (syncFrozenColumns copies the body's resolved
|
|
@@ -52651,7 +53192,7 @@ class MdTable {
|
|
|
52651
53192
|
// their rows promote here instead of nesting a second rowgroup.
|
|
52652
53193
|
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",
|
|
52653
53194
|
// Layout-only grid between the rowgroup wrapper and the rows.
|
|
52654
|
-
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: '
|
|
53195
|
+
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()));
|
|
52655
53196
|
}
|
|
52656
53197
|
componentWillLoad() {
|
|
52657
53198
|
}
|
|
@@ -52779,7 +53320,7 @@ class MdTableBody {
|
|
|
52779
53320
|
this.presentational = false;
|
|
52780
53321
|
}
|
|
52781
53322
|
render() {
|
|
52782
|
-
return (hAsync(Host, { key: '
|
|
53323
|
+
return (hAsync(Host, { key: '5d62ed6a84987358aa4c6519a14efcbe3ebb3fdc', class: "md-table-body", role: this.presentational ? 'presentation' : 'rowgroup', "data-md-rowgroup": "body" }, hAsync("slot", { key: '7f44a228c719eaa99e67d243d9191601022e6e1b', onSlotchange: () =>
|
|
52783
53324
|
// Row mutations happen inside THIS shadow slot — slotchange is not
|
|
52784
53325
|
// composed, so md-table would never see reorders (a sorted row
|
|
52785
53326
|
// kept its stale data-last stamp, losing its divider). Relay as a
|
|
@@ -52901,14 +53442,14 @@ class MdTableCell {
|
|
|
52901
53442
|
style.gridColumn = `span ${this.colSpan}`;
|
|
52902
53443
|
if (this.rowSpan > 1)
|
|
52903
53444
|
style.gridRow = `span ${this.rowSpan}`;
|
|
52904
|
-
return (hAsync(Host, { key: '
|
|
53445
|
+
return (hAsync(Host, { key: 'f5e0c8ee1d1334fcaea0a4e98d3fde19d08bc009', class: {
|
|
52905
53446
|
'md-table-cell': true,
|
|
52906
53447
|
'md-table-cell--head': this.head,
|
|
52907
53448
|
'md-table-cell--pinned': this.showPin,
|
|
52908
53449
|
[`md-table-cell--align-${this.align}`]: true,
|
|
52909
53450
|
[`md-table-cell--padding-${this.padding}`]: true,
|
|
52910
53451
|
[`md-table-cell--variant-${this.variant}`]: true,
|
|
52911
|
-
}, 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: '
|
|
53452
|
+
}, 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' }))));
|
|
52912
53453
|
}
|
|
52913
53454
|
componentWillLoad() {
|
|
52914
53455
|
}
|
|
@@ -53055,14 +53596,14 @@ class MdTableContainer {
|
|
|
53055
53596
|
// would nest two scrollbars. max-height only controls the SIZE of the
|
|
53056
53597
|
// frozen body; the architecture is opt-in on the table.
|
|
53057
53598
|
const frozen = !!this.el.querySelector('md-table[frozen-header]');
|
|
53058
|
-
return (hAsync(Host, { key: '
|
|
53599
|
+
return (hAsync(Host, { key: 'bbf0bedada679c273609e2afde3b126d1a203830', class: {
|
|
53059
53600
|
'md-table-container': true,
|
|
53060
53601
|
[`md-table-container--${this.variant}`]: true,
|
|
53061
53602
|
[`md-table-container--shape-${this.shape}`]: true,
|
|
53062
53603
|
'md-table-container--scrollable': !!this.maxHeight,
|
|
53063
53604
|
'md-table-container--frozen-header': frozen,
|
|
53064
53605
|
'md-table-container--vibrant': this.vibrant,
|
|
53065
|
-
}, style: style }, hAsync("div", { key: '
|
|
53606
|
+
}, 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" }))));
|
|
53066
53607
|
}
|
|
53067
53608
|
componentWillLoad() {
|
|
53068
53609
|
}
|
|
@@ -53159,10 +53700,10 @@ class MdTableExpandToggle {
|
|
|
53159
53700
|
this.row = null;
|
|
53160
53701
|
}
|
|
53161
53702
|
render() {
|
|
53162
|
-
return (hAsync(Host, { key: '
|
|
53703
|
+
return (hAsync(Host, { key: '7b2ff4c273148be27497d48b007d3ba706c34aa0', class: {
|
|
53163
53704
|
'md-table-expand-toggle': true,
|
|
53164
53705
|
'md-table-expand-toggle--expanded': this.expanded,
|
|
53165
|
-
} }, hAsync("md-icon-button", { key: '
|
|
53706
|
+
} }, hAsync("md-icon-button", { key: '1703bc5df3e43d5606eaad24b92814826b1be8e8', size: "xs", icon: this.icon, "aria-label": this.buttonLabel, "aria-expanded": this.expanded ? 'true' : 'false', onClick: this.onClick })));
|
|
53166
53707
|
}
|
|
53167
53708
|
componentWillLoad() {
|
|
53168
53709
|
}
|
|
@@ -53213,7 +53754,7 @@ class MdTableFoot {
|
|
|
53213
53754
|
this.presentational = false;
|
|
53214
53755
|
}
|
|
53215
53756
|
render() {
|
|
53216
|
-
return (hAsync(Host, { key: '
|
|
53757
|
+
return (hAsync(Host, { key: '700686b717d365d11aece8af38c52698845c6352', class: "md-table-foot", role: this.presentational ? 'presentation' : 'rowgroup', "data-md-rowgroup": "foot" }, hAsync("slot", { key: '8c32c016602374669a568af8d54acbf7421fdf40', onSlotchange: () =>
|
|
53217
53758
|
// Row mutations happen inside THIS shadow slot — slotchange is not
|
|
53218
53759
|
// composed, so md-table would never see reorders (a sorted row
|
|
53219
53760
|
// kept its stale data-last stamp, losing its divider). Relay as a
|
|
@@ -53263,7 +53804,7 @@ class MdTableHead {
|
|
|
53263
53804
|
registerInstance(this, hostRef);
|
|
53264
53805
|
}
|
|
53265
53806
|
render() {
|
|
53266
|
-
return (hAsync(Host, { key: '
|
|
53807
|
+
return (hAsync(Host, { key: 'faf426cb9e3682b5ab5c7e89a4c0f9fafbdb4e05', class: "md-table-head", role: "rowgroup", "data-md-rowgroup": "head" }, hAsync("slot", { key: 'a0ae4061b75ce225954c80093df31198fbbd2427', onSlotchange: () =>
|
|
53267
53808
|
// Row mutations happen inside THIS shadow slot — slotchange is not
|
|
53268
53809
|
// composed, so md-table would never see reorders (a sorted row
|
|
53269
53810
|
// kept its stale data-last stamp, losing its divider). Relay as a
|
|
@@ -53453,11 +53994,11 @@ class MdTablePagination {
|
|
|
53453
53994
|
const isLast = this.page >= this.lastPage;
|
|
53454
53995
|
const opts = this.options;
|
|
53455
53996
|
const selectOptions = opts.map((o) => ({ value: String(o.value), label: o.label }));
|
|
53456
|
-
return (hAsync(Host, { key: '
|
|
53997
|
+
return (hAsync(Host, { key: '08ea5504c31d504af30416fa0c2ec67b95474e9a', class: {
|
|
53457
53998
|
'md-table-pagination': true,
|
|
53458
53999
|
'md-table-pagination--compact': this.compact,
|
|
53459
54000
|
'md-table-pagination--disabled': this.disabled,
|
|
53460
|
-
}, role: "navigation", "aria-label": "Pagination" }, hAsync("div", { key: '
|
|
54001
|
+
}, 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" }))));
|
|
53461
54002
|
}
|
|
53462
54003
|
componentWillLoad() {
|
|
53463
54004
|
}
|
|
@@ -53618,7 +54159,7 @@ class MdTableRow {
|
|
|
53618
54159
|
this.expanded = !this.expanded;
|
|
53619
54160
|
}
|
|
53620
54161
|
render() {
|
|
53621
|
-
return (hAsync(Host, { key: '
|
|
54162
|
+
return (hAsync(Host, { key: 'b412c0ff4df6d35672c0d97912e5148e460c05ab', class: {
|
|
53622
54163
|
'md-table-row': true,
|
|
53623
54164
|
[`md-table-row--${this.rowgroup}`]: true,
|
|
53624
54165
|
'md-table-row--selected': this.selected,
|
|
@@ -53627,12 +54168,12 @@ class MdTableRow {
|
|
|
53627
54168
|
'md-table-row--highlight': this.highlight,
|
|
53628
54169
|
'md-table-row--expandable': this.expandable,
|
|
53629
54170
|
'md-table-row--expanded': this.expanded,
|
|
53630
|
-
}, 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: '
|
|
54171
|
+
}, 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: () =>
|
|
53631
54172
|
// Cells slot into the ROW's shadow — cell additions/removals (e.g.
|
|
53632
54173
|
// a checkbox column appearing when selection turns on) are
|
|
53633
54174
|
// invisible to md-table without this relay (same non-composed
|
|
53634
54175
|
// slotchange rule as the rowgroups).
|
|
53635
|
-
this.el.dispatchEvent(new CustomEvent('mdRowgroupSlotChange', { bubbles: true })) }), this.expandable && (hAsync("div", { key: '
|
|
54176
|
+
this.el.dispatchEvent(new CustomEvent('mdRowgroupSlotChange', { bubbles: true })) }), this.expandable && (hAsync("div", { key: '550a391e1eb13c9775f19ec41e8e4ab772bb629c', class: {
|
|
53636
54177
|
'md-table-row__expanded': true,
|
|
53637
54178
|
'md-table-row__expanded--open': this.expanded,
|
|
53638
54179
|
}, part: "expanded",
|
|
@@ -53643,7 +54184,7 @@ class MdTableRow {
|
|
|
53643
54184
|
// inert while collapsed: the height animation only clips the
|
|
53644
54185
|
// panel visually — without inert, focusable content inside stays
|
|
53645
54186
|
// tab-reachable while invisible.
|
|
53646
|
-
inert: !this.expanded }, hAsync("div", { key: '
|
|
54187
|
+
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" })))))));
|
|
53647
54188
|
}
|
|
53648
54189
|
componentWillLoad() {
|
|
53649
54190
|
}
|
|
@@ -53803,11 +54344,11 @@ class MdTableSortLabel {
|
|
|
53803
54344
|
// aria-sort actually belongs on the parent columnheader cell (md-table-cell head),
|
|
53804
54345
|
// but we surface it on the host as well so it's present regardless of how the
|
|
53805
54346
|
// header is composed.
|
|
53806
|
-
return (hAsync(Host, { key: '
|
|
54347
|
+
return (hAsync(Host, { key: '4f9381d5fd668936e746cbba1c8c41a4bb39f372', class: {
|
|
53807
54348
|
'md-table-sort-label': true,
|
|
53808
54349
|
'md-table-sort-label--active': this.active,
|
|
53809
54350
|
'md-table-sort-label--disabled': this.disabled,
|
|
53810
|
-
}, 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: '
|
|
54351
|
+
}, 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) : '')));
|
|
53811
54352
|
}
|
|
53812
54353
|
componentDidLoad() {
|
|
53813
54354
|
}
|
|
@@ -54021,14 +54562,14 @@ class MdTableToolbar {
|
|
|
54021
54562
|
return this.labelSelected.replace('%count%', this.numSelected.toLocaleString());
|
|
54022
54563
|
}
|
|
54023
54564
|
render() {
|
|
54024
|
-
return (hAsync(Host, { key: '
|
|
54565
|
+
return (hAsync(Host, { key: '2d86697d081b1531e9480532aba6547ece17825d', class: {
|
|
54025
54566
|
'md-table-toolbar': true,
|
|
54026
54567
|
'md-table-toolbar--compact': this.compact,
|
|
54027
54568
|
'md-table-toolbar--selection-mode': this.inSelectionMode,
|
|
54028
|
-
}, role: "toolbar", "aria-label": this.headline || 'Table toolbar' }, hAsync("div", { key: '
|
|
54569
|
+
}, 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: {
|
|
54029
54570
|
'md-table-toolbar__selection-caption': true,
|
|
54030
54571
|
'md-table-toolbar__selection-caption--entering': this.selectionCaptionEntering,
|
|
54031
|
-
}, 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: '
|
|
54572
|
+
}, 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" })))));
|
|
54032
54573
|
}
|
|
54033
54574
|
componentWillLoad() {
|
|
54034
54575
|
this.bindSelection();
|
|
@@ -54574,7 +55115,7 @@ class MdTabs {
|
|
|
54574
55115
|
}
|
|
54575
55116
|
// ─── Render ──────────────────────────────────────────────
|
|
54576
55117
|
render() {
|
|
54577
|
-
return (hAsync(Host, { key: '
|
|
55118
|
+
return (hAsync(Host, { key: '859a68e3e6d7b2ef38d076844c3953de893c621e', class: {
|
|
54578
55119
|
'md-tabs': true,
|
|
54579
55120
|
[`md-tabs--${this.variant}`]: true,
|
|
54580
55121
|
'md-tabs--tw-auto': this.tabWidthMode === 'auto',
|
|
@@ -54582,7 +55123,7 @@ class MdTabs {
|
|
|
54582
55123
|
}, style: {
|
|
54583
55124
|
...(this.tabWidthMode === 'fixed' ? { '--_tab-width': this.tabWidth } : {}),
|
|
54584
55125
|
...(this.width ? { 'inline-size': this.width } : {}),
|
|
54585
|
-
}, role: "tablist", "aria-label": this.ariaLabelProp || 'tabs', "aria-orientation": "horizontal" }, hAsync("div", { key: '
|
|
55126
|
+
}, 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' }))));
|
|
54586
55127
|
}
|
|
54587
55128
|
componentWillLoad() {
|
|
54588
55129
|
// Direct children are known before the slot exists. Apply selection before
|
|
@@ -55742,7 +56283,7 @@ class MdTextField {
|
|
|
55742
56283
|
? this.passwordVisible
|
|
55743
56284
|
: this.type !== 'password';
|
|
55744
56285
|
const passwordIcon = isPasswordRevealed ? 'visibility_off' : 'visibility';
|
|
55745
|
-
return (hAsync(Host, { key: '
|
|
56286
|
+
return (hAsync(Host, { key: '061691f1e95cbdf682109da550a49745dc391e76', class: {
|
|
55746
56287
|
'md-text-field': true,
|
|
55747
56288
|
[`md-text-field--${this.variant}`]: true,
|
|
55748
56289
|
'md-text-field--focused': this.focused || this.appearFocused,
|
|
@@ -55766,25 +56307,25 @@ class MdTextField {
|
|
|
55766
56307
|
// made the documented custom properties dead (clobbered every render).
|
|
55767
56308
|
'--md-text-field-focus-border-width': `${Number(this.focusBorderWidth)}px`,
|
|
55768
56309
|
'--md-text-field-focus-inset': `${-(Number(this.focusBorderWidth) - 1)}px`,
|
|
55769
|
-
} : undefined }, hAsync("div", { key: '
|
|
56310
|
+
} : 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: {
|
|
55770
56311
|
'md-text-field__clear': true,
|
|
55771
56312
|
'md-text-field__clear--disabled': clearDisabled,
|
|
55772
56313
|
'md-text-field__clear--empty': !this.value,
|
|
55773
|
-
}, disabled: clearDisabled, onClick: this.handleClear, "aria-label": "Clear" }, hAsync("slot", { key: '
|
|
56314
|
+
}, 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: {
|
|
55774
56315
|
'md-text-field__password-toggle': true,
|
|
55775
56316
|
'md-text-field__password-toggle--disabled': this.isDisabled,
|
|
55776
|
-
}, disabled: this.isDisabled, onClick: this.handlePasswordToggle, "aria-label": isPasswordRevealed ? this.hidePasswordLabel : this.showPasswordLabel, "aria-pressed": isPasswordRevealed ? 'true' : 'false' }, hAsync("slot", { key: '
|
|
56317
|
+
}, 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: {
|
|
55777
56318
|
'md-text-field__speech': true,
|
|
55778
56319
|
'md-text-field__speech--listening': this.listening,
|
|
55779
56320
|
'md-text-field__speech--disabled': this.isDisabled,
|
|
55780
|
-
}, 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: '
|
|
56321
|
+
}, 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: {
|
|
55781
56322
|
'md-text-field__icon': !this.hasTrailingIconButton,
|
|
55782
56323
|
'md-text-field__icon--trailing': !this.hasTrailingIconButton,
|
|
55783
56324
|
'md-text-field__trailing-icon-button': this.hasTrailingIconButton,
|
|
55784
|
-
}, "aria-hidden": this.hasTrailingIconButton ? null : 'true', style: { display: this.hasSlottedTrailing ? undefined : 'none' } }, hAsync("slot", { key: '
|
|
56325
|
+
}, "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: {
|
|
55785
56326
|
'md-text-field__legend': true,
|
|
55786
56327
|
'md-text-field__legend--active': this.isFloating && !!this.label,
|
|
55787
|
-
} }, hAsync("span", { key: '
|
|
56328
|
+
} }, 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)))));
|
|
55788
56329
|
}
|
|
55789
56330
|
connectedCallback() {
|
|
55790
56331
|
}
|
|
@@ -57922,7 +58463,7 @@ class MdTimePicker {
|
|
|
57922
58463
|
}
|
|
57923
58464
|
// ───────────────────────────── RENDER ─────────────────────────────
|
|
57924
58465
|
render() {
|
|
57925
|
-
return (hAsync(Host, { key: '
|
|
58466
|
+
return (hAsync(Host, { key: '2b13dff66867171a91af829a595849ddf961ab8d', class: {
|
|
57926
58467
|
'md-time-picker': true,
|
|
57927
58468
|
[`md-time-picker--${this.variant}`]: true,
|
|
57928
58469
|
[`md-time-picker--format-${this.format}`]: true,
|
|
@@ -58564,7 +59105,7 @@ class MdToolbar {
|
|
|
58564
59105
|
const ariaLabel = label.length > 0 ? this.ariaLabelProp : undefined;
|
|
58565
59106
|
const ariaLabelledbyOut = labelledby.length > 0 ? this.ariaLabelledby : undefined;
|
|
58566
59107
|
const ariaOrientation = isToolbar ? (isVertical ? 'vertical' : 'horizontal') : undefined;
|
|
58567
|
-
return (hAsync(Host, { key: '
|
|
59108
|
+
return (hAsync(Host, { key: '5139e2aa004e038a0662bbf4fe046263169435bd', class: {
|
|
58568
59109
|
'md-toolbar': true,
|
|
58569
59110
|
[`md-toolbar--${this.variant}`]: true,
|
|
58570
59111
|
[`md-toolbar--${this.color}`]: true,
|
|
@@ -58572,11 +59113,11 @@ class MdToolbar {
|
|
|
58572
59113
|
[`md-toolbar--align-${this.alignment}`]: true,
|
|
58573
59114
|
'md-toolbar--vertical': isVertical,
|
|
58574
59115
|
'md-toolbar--generic': !isToolbar,
|
|
58575
|
-
}, role: isToolbar ? 'toolbar' : undefined, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledbyOut, "aria-orientation": ariaOrientation }, hAsync("div", { key: '
|
|
59116
|
+
}, 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: {
|
|
58576
59117
|
'md-toolbar__fab-container': true,
|
|
58577
59118
|
'md-toolbar__fab-container--floating': isFloating,
|
|
58578
59119
|
'md-toolbar__fab-container--hidden': !this.hasFab,
|
|
58579
|
-
}, part: "fab-container" }, hAsync("slot", { key: '
|
|
59120
|
+
}, part: "fab-container" }, hAsync("slot", { key: 'cb48c25667f7159c5de7b3c08b6ed4f10d09e187', name: "fab" }))));
|
|
58580
59121
|
}
|
|
58581
59122
|
componentDidRender() {
|
|
58582
59123
|
}
|
|
@@ -59367,7 +59908,7 @@ class MdTooltip {
|
|
|
59367
59908
|
const isRich = this.variant === 'rich';
|
|
59368
59909
|
const hasSubhead = !!this.subhead || this.hasSlottedSubhead;
|
|
59369
59910
|
const hasActions = this.hasSlottedActions;
|
|
59370
|
-
return (hAsync(Host, { key: '
|
|
59911
|
+
return (hAsync(Host, { key: '21bcca8ebbb72fb3d218461483b52c45868bab86', class: "md-tooltip-wrapper" }, hAsync("slot", { key: 'd0a71d7fa77f60ec04fc464bb7bf48d4ac55be60' }), hAsync("div", { key: 'c08cdcabc19a4f96fb55962856abe9697b3d6b04', class: {
|
|
59371
59912
|
'md-tooltip__popup': true,
|
|
59372
59913
|
'md-tooltip__popup--plain': !isRich,
|
|
59373
59914
|
'md-tooltip__popup--rich': isRich,
|
|
@@ -59699,7 +60240,7 @@ class MdTransferList {
|
|
|
59699
60240
|
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 }))));
|
|
59700
60241
|
}
|
|
59701
60242
|
render() {
|
|
59702
|
-
return (hAsync(Host, { key: '
|
|
60243
|
+
return (hAsync(Host, { key: '429fbd532b617c357ce1547fa2b18f602d22ce1c', class: {
|
|
59703
60244
|
'md-transfer-list': true,
|
|
59704
60245
|
'md-transfer-list--disabled': this.disabled,
|
|
59705
60246
|
}, role: "group", "aria-disabled": this.disabled ? 'true' : 'false' }, this.renderColumn('source'), this.renderControls(), this.renderColumn('target')));
|
|
@@ -59779,6 +60320,7 @@ registerComponents([
|
|
|
59779
60320
|
MdButton,
|
|
59780
60321
|
MdButtonGroup,
|
|
59781
60322
|
MdCard,
|
|
60323
|
+
MdChartSeries,
|
|
59782
60324
|
MdCheckbox,
|
|
59783
60325
|
MdChip,
|
|
59784
60326
|
MdColorPicker,
|
|
@@ -59806,6 +60348,7 @@ registerComponents([
|
|
|
59806
60348
|
MdOrganizationChart,
|
|
59807
60349
|
MdOtpField,
|
|
59808
60350
|
MdPieChart,
|
|
60351
|
+
MdPieSlice,
|
|
59809
60352
|
MdProgressIndicator,
|
|
59810
60353
|
MdRadio,
|
|
59811
60354
|
MdRating,
|
|
@@ -59820,6 +60363,7 @@ registerComponents([
|
|
|
59820
60363
|
MdSlider,
|
|
59821
60364
|
MdSnackbar,
|
|
59822
60365
|
MdSparkline,
|
|
60366
|
+
MdSparklinePoint,
|
|
59823
60367
|
MdSplitButton,
|
|
59824
60368
|
MdStatusDot,
|
|
59825
60369
|
MdStep,
|