@angular/material 16.1.0-next.2 → 16.1.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/autocomplete/index.d.ts +6 -6
- package/badge/index.d.ts +1 -1
- package/bottom-sheet/index.d.ts +1 -1
- package/button/_button-base.import.scss +2 -2
- package/button/index.d.ts +10 -10
- package/button-toggle/index.d.ts +2 -2
- package/card/index.d.ts +14 -14
- package/checkbox/index.d.ts +3 -3
- package/chips/index.d.ts +12 -12
- package/core/index.d.ts +7 -7
- package/datepicker/index.d.ts +21 -21
- package/dialog/index.d.ts +6 -6
- package/divider/index.d.ts +1 -1
- package/esm2022/autocomplete/autocomplete-origin.mjs +9 -11
- package/esm2022/autocomplete/autocomplete-trigger.mjs +9 -11
- package/esm2022/autocomplete/autocomplete.mjs +9 -11
- package/esm2022/autocomplete/module.mjs +6 -7
- package/esm2022/autocomplete/testing/autocomplete-harness.mjs +2 -3
- package/esm2022/badge/badge-module.mjs +6 -7
- package/esm2022/badge/badge.mjs +5 -6
- package/esm2022/badge/testing/badge-harness.mjs +2 -3
- package/esm2022/bottom-sheet/bottom-sheet-container.mjs +5 -6
- package/esm2022/bottom-sheet/bottom-sheet-module.mjs +6 -7
- package/esm2022/bottom-sheet/bottom-sheet.mjs +5 -6
- package/esm2022/bottom-sheet/testing/bottom-sheet-harness.mjs +2 -3
- package/esm2022/button/button-base.mjs +9 -11
- package/esm2022/button/button-lazy-loader.mjs +5 -6
- package/esm2022/button/button.mjs +9 -11
- package/esm2022/button/fab.mjs +17 -21
- package/esm2022/button/icon-button.mjs +9 -11
- package/esm2022/button/module.mjs +6 -7
- package/esm2022/button/testing/button-harness.mjs +2 -3
- package/esm2022/button-toggle/button-toggle-module.mjs +6 -7
- package/esm2022/button-toggle/button-toggle.mjs +9 -11
- package/esm2022/button-toggle/testing/button-toggle-group-harness.mjs +2 -3
- package/esm2022/button-toggle/testing/button-toggle-harness.mjs +2 -3
- package/esm2022/card/card.mjs +57 -71
- package/esm2022/card/module.mjs +6 -7
- package/esm2022/card/testing/card-harness.mjs +2 -3
- package/esm2022/checkbox/checkbox-required-validator.mjs +5 -6
- package/esm2022/checkbox/checkbox.mjs +9 -11
- package/esm2022/checkbox/module.mjs +11 -13
- package/esm2022/checkbox/testing/checkbox-harness.mjs +2 -3
- package/esm2022/chips/chip-action.mjs +5 -6
- package/esm2022/chips/chip-edit-input.mjs +5 -6
- package/esm2022/chips/chip-grid.mjs +5 -6
- package/esm2022/chips/chip-icons.mjs +13 -16
- package/esm2022/chips/chip-input.mjs +5 -6
- package/esm2022/chips/chip-listbox.mjs +5 -6
- package/esm2022/chips/chip-option.mjs +5 -6
- package/esm2022/chips/chip-row.mjs +5 -6
- package/esm2022/chips/chip-set.mjs +5 -6
- package/esm2022/chips/chip.mjs +5 -6
- package/esm2022/chips/module.mjs +6 -7
- package/esm2022/chips/testing/chip-avatar-harness.mjs +2 -3
- package/esm2022/chips/testing/chip-edit-input-harness.mjs +2 -3
- package/esm2022/chips/testing/chip-grid-harness.mjs +2 -3
- package/esm2022/chips/testing/chip-harness.mjs +2 -3
- package/esm2022/chips/testing/chip-input-harness.mjs +2 -3
- package/esm2022/chips/testing/chip-listbox-harness.mjs +2 -3
- package/esm2022/chips/testing/chip-option-harness.mjs +2 -3
- package/esm2022/chips/testing/chip-remove-harness.mjs +2 -3
- package/esm2022/chips/testing/chip-row-harness.mjs +2 -3
- package/esm2022/chips/testing/chip-set-harness.mjs +2 -3
- package/esm2022/core/animation/animation.mjs +3 -5
- package/esm2022/core/common-behaviors/common-module.mjs +6 -7
- package/esm2022/core/datetime/index.mjs +11 -13
- package/esm2022/core/datetime/native-date-adapter.mjs +5 -6
- package/esm2022/core/error/error-options.mjs +9 -11
- package/esm2022/core/line/line.mjs +10 -12
- package/esm2022/core/option/index.mjs +6 -7
- package/esm2022/core/option/optgroup.mjs +10 -12
- package/esm2022/core/option/option.mjs +9 -11
- package/esm2022/core/ripple/index.mjs +6 -7
- package/esm2022/core/ripple/ripple-renderer.mjs +2 -3
- package/esm2022/core/ripple/ripple.mjs +5 -6
- package/esm2022/core/selection/pseudo-checkbox/pseudo-checkbox-module.mjs +6 -7
- package/esm2022/core/selection/pseudo-checkbox/pseudo-checkbox.mjs +5 -6
- package/esm2022/core/testing/optgroup-harness.mjs +2 -3
- package/esm2022/core/testing/option-harness.mjs +2 -3
- package/esm2022/core/version.mjs +1 -1
- package/esm2022/datepicker/calendar-body.mjs +5 -6
- package/esm2022/datepicker/calendar.mjs +9 -11
- package/esm2022/datepicker/date-range-input-parts.mjs +12 -14
- package/esm2022/datepicker/date-range-input.mjs +5 -6
- package/esm2022/datepicker/date-range-picker.mjs +5 -6
- package/esm2022/datepicker/date-range-selection-strategy.mjs +5 -6
- package/esm2022/datepicker/date-selection-model.mjs +13 -16
- package/esm2022/datepicker/datepicker-actions.mjs +13 -16
- package/esm2022/datepicker/datepicker-base.mjs +9 -11
- package/esm2022/datepicker/datepicker-input-base.mjs +5 -6
- package/esm2022/datepicker/datepicker-input.mjs +5 -6
- package/esm2022/datepicker/datepicker-intl.mjs +5 -6
- package/esm2022/datepicker/datepicker-module.mjs +6 -7
- package/esm2022/datepicker/datepicker-toggle.mjs +9 -11
- package/esm2022/datepicker/datepicker.mjs +5 -6
- package/esm2022/datepicker/month-view.mjs +5 -6
- package/esm2022/datepicker/multi-year-view.mjs +5 -6
- package/esm2022/datepicker/testing/calendar-cell-harness.mjs +2 -3
- package/esm2022/datepicker/testing/calendar-harness.mjs +2 -3
- package/esm2022/datepicker/testing/date-range-input-harness.mjs +4 -7
- package/esm2022/datepicker/testing/datepicker-input-harness.mjs +2 -3
- package/esm2022/datepicker/testing/datepicker-toggle-harness.mjs +2 -3
- package/esm2022/datepicker/year-view.mjs +5 -6
- package/esm2022/dialog/dialog-container.mjs +9 -11
- package/esm2022/dialog/dialog-content-directives.mjs +17 -21
- package/esm2022/dialog/dialog.mjs +9 -11
- package/esm2022/dialog/module.mjs +6 -7
- package/esm2022/dialog/testing/dialog-harness.mjs +2 -3
- package/esm2022/dialog/testing/dialog-opener.mjs +5 -7
- package/esm2022/divider/divider-module.mjs +6 -7
- package/esm2022/divider/divider.mjs +5 -6
- package/esm2022/divider/testing/divider-harness.mjs +2 -3
- package/esm2022/expansion/accordion.mjs +5 -6
- package/esm2022/expansion/expansion-module.mjs +6 -7
- package/esm2022/expansion/expansion-panel-content.mjs +5 -6
- package/esm2022/expansion/expansion-panel-header.mjs +13 -16
- package/esm2022/expansion/expansion-panel.mjs +9 -11
- package/esm2022/expansion/testing/accordion-harness.mjs +2 -3
- package/esm2022/expansion/testing/expansion-harness.mjs +2 -3
- package/esm2022/form-field/directives/error.mjs +5 -6
- package/esm2022/form-field/directives/floating-label.mjs +5 -6
- package/esm2022/form-field/directives/hint.mjs +5 -6
- package/esm2022/form-field/directives/label.mjs +5 -6
- package/esm2022/form-field/directives/line-ripple.mjs +5 -6
- package/esm2022/form-field/directives/notched-outline.mjs +5 -6
- package/esm2022/form-field/directives/prefix.mjs +5 -6
- package/esm2022/form-field/directives/suffix.mjs +5 -6
- package/esm2022/form-field/form-field-control.mjs +5 -6
- package/esm2022/form-field/form-field.mjs +5 -6
- package/esm2022/form-field/module.mjs +6 -7
- package/esm2022/form-field/testing/error-harness.mjs +2 -3
- package/esm2022/form-field/testing/form-field-harness.mjs +2 -3
- package/esm2022/grid-list/grid-list-module.mjs +6 -7
- package/esm2022/grid-list/grid-list.mjs +5 -6
- package/esm2022/grid-list/grid-tile.mjs +21 -26
- package/esm2022/grid-list/testing/grid-list-harness.mjs +2 -3
- package/esm2022/grid-list/testing/grid-tile-harness.mjs +2 -3
- package/esm2022/icon/icon-module.mjs +6 -7
- package/esm2022/icon/icon-registry.mjs +6 -7
- package/esm2022/icon/icon.mjs +5 -6
- package/esm2022/icon/testing/fake-icon-registry.mjs +10 -12
- package/esm2022/icon/testing/icon-harness.mjs +2 -3
- package/esm2022/input/input.mjs +5 -6
- package/esm2022/input/module.mjs +6 -7
- package/esm2022/input/testing/input-harness.mjs +2 -3
- package/esm2022/input/testing/native-option-harness.mjs +2 -3
- package/esm2022/input/testing/native-select-harness.mjs +2 -3
- package/esm2022/legacy-autocomplete/autocomplete-module.mjs +6 -7
- package/esm2022/legacy-autocomplete/autocomplete-origin.mjs +5 -6
- package/esm2022/legacy-autocomplete/autocomplete-trigger.mjs +5 -6
- package/esm2022/legacy-autocomplete/autocomplete.mjs +5 -6
- package/esm2022/legacy-autocomplete/testing/autocomplete-harness.mjs +2 -3
- package/esm2022/legacy-button/button-module.mjs +6 -7
- package/esm2022/legacy-button/button.mjs +9 -11
- package/esm2022/legacy-button/testing/button-harness.mjs +2 -3
- package/esm2022/legacy-card/card-module.mjs +6 -7
- package/esm2022/legacy-card/card.mjs +57 -71
- package/esm2022/legacy-card/testing/card-harness.mjs +2 -3
- package/esm2022/legacy-checkbox/checkbox-module.mjs +6 -7
- package/esm2022/legacy-checkbox/checkbox.mjs +5 -6
- package/esm2022/legacy-checkbox/testing/checkbox-harness.mjs +2 -3
- package/esm2022/legacy-chips/chip-input.mjs +5 -6
- package/esm2022/legacy-chips/chip-list.mjs +5 -6
- package/esm2022/legacy-chips/chip.mjs +17 -21
- package/esm2022/legacy-chips/chips-module.mjs +6 -7
- package/esm2022/legacy-chips/testing/chip-avatar-harness.mjs +2 -3
- package/esm2022/legacy-chips/testing/chip-harness.mjs +2 -3
- package/esm2022/legacy-chips/testing/chip-input-harness.mjs +2 -3
- package/esm2022/legacy-chips/testing/chip-list-harness.mjs +2 -3
- package/esm2022/legacy-chips/testing/chip-listbox-harness.mjs +2 -3
- package/esm2022/legacy-chips/testing/chip-option-harness.mjs +2 -3
- package/esm2022/legacy-chips/testing/chip-remove-harness.mjs +2 -3
- package/esm2022/legacy-core/option/index.mjs +6 -7
- package/esm2022/legacy-core/option/optgroup.mjs +5 -6
- package/esm2022/legacy-core/option/option.mjs +5 -6
- package/esm2022/legacy-core/testing/optgroup-harness.mjs +2 -3
- package/esm2022/legacy-core/testing/option-harness.mjs +2 -3
- package/esm2022/legacy-dialog/dialog-container.mjs +5 -6
- package/esm2022/legacy-dialog/dialog-content-directives.mjs +17 -21
- package/esm2022/legacy-dialog/dialog-module.mjs +6 -7
- package/esm2022/legacy-dialog/dialog.mjs +5 -6
- package/esm2022/legacy-dialog/testing/dialog-harness.mjs +2 -3
- package/esm2022/legacy-dialog/testing/dialog-opener.mjs +3 -5
- package/esm2022/legacy-form-field/error.mjs +5 -6
- package/esm2022/legacy-form-field/form-field-module.mjs +6 -7
- package/esm2022/legacy-form-field/form-field.mjs +5 -6
- package/esm2022/legacy-form-field/hint.mjs +5 -6
- package/esm2022/legacy-form-field/label.mjs +5 -6
- package/esm2022/legacy-form-field/placeholder.mjs +5 -6
- package/esm2022/legacy-form-field/prefix.mjs +5 -6
- package/esm2022/legacy-form-field/suffix.mjs +5 -6
- package/esm2022/legacy-form-field/testing/error-harness.mjs +2 -3
- package/esm2022/legacy-form-field/testing/form-field-harness.mjs +2 -3
- package/esm2022/legacy-input/input-module.mjs +6 -7
- package/esm2022/legacy-input/input.mjs +5 -6
- package/esm2022/legacy-list/list-module.mjs +6 -7
- package/esm2022/legacy-list/list.mjs +25 -31
- package/esm2022/legacy-list/selection-list.mjs +9 -11
- package/esm2022/legacy-list/testing/action-list-harness.mjs +3 -5
- package/esm2022/legacy-list/testing/list-harness.mjs +3 -5
- package/esm2022/legacy-list/testing/list-item-harness-base.mjs +2 -3
- package/esm2022/legacy-list/testing/nav-list-harness.mjs +3 -5
- package/esm2022/legacy-list/testing/selection-list-harness.mjs +3 -5
- package/esm2022/legacy-menu/menu-content.mjs +5 -6
- package/esm2022/legacy-menu/menu-item.mjs +5 -6
- package/esm2022/legacy-menu/menu-module.mjs +6 -7
- package/esm2022/legacy-menu/menu-trigger.mjs +5 -6
- package/esm2022/legacy-menu/menu.mjs +5 -6
- package/esm2022/legacy-menu/testing/menu-harness.mjs +3 -5
- package/esm2022/legacy-paginator/paginator-module.mjs +6 -7
- package/esm2022/legacy-paginator/paginator.mjs +5 -6
- package/esm2022/legacy-paginator/testing/paginator-harness.mjs +2 -3
- package/esm2022/legacy-progress-bar/progress-bar-module.mjs +6 -7
- package/esm2022/legacy-progress-bar/progress-bar.mjs +5 -6
- package/esm2022/legacy-progress-bar/testing/progress-bar-harness.mjs +2 -3
- package/esm2022/legacy-progress-spinner/progress-spinner-module.mjs +6 -7
- package/esm2022/legacy-progress-spinner/progress-spinner.mjs +5 -6
- package/esm2022/legacy-progress-spinner/testing/progress-spinner-harness.mjs +2 -3
- package/esm2022/legacy-radio/radio-module.mjs +6 -7
- package/esm2022/legacy-radio/radio.mjs +9 -11
- package/esm2022/legacy-radio/testing/radio-harness.mjs +3 -5
- package/esm2022/legacy-select/select-module.mjs +6 -7
- package/esm2022/legacy-select/select.mjs +9 -11
- package/esm2022/legacy-select/testing/select-harness.mjs +2 -3
- package/esm2022/legacy-slide-toggle/slide-toggle-module.mjs +6 -7
- package/esm2022/legacy-slide-toggle/slide-toggle.mjs +5 -6
- package/esm2022/legacy-slide-toggle/testing/slide-toggle-harness.mjs +2 -3
- package/esm2022/legacy-slider/slider-module.mjs +6 -7
- package/esm2022/legacy-slider/slider.mjs +5 -6
- package/esm2022/legacy-slider/testing/slider-harness.mjs +2 -3
- package/esm2022/legacy-snack-bar/simple-snack-bar.mjs +5 -6
- package/esm2022/legacy-snack-bar/snack-bar-container.mjs +5 -6
- package/esm2022/legacy-snack-bar/snack-bar-module.mjs +6 -7
- package/esm2022/legacy-snack-bar/snack-bar.mjs +5 -6
- package/esm2022/legacy-snack-bar/testing/snack-bar-harness.mjs +2 -3
- package/esm2022/legacy-table/cell.mjs +29 -36
- package/esm2022/legacy-table/row.mjs +29 -36
- package/esm2022/legacy-table/table-module.mjs +6 -7
- package/esm2022/legacy-table/table.mjs +9 -11
- package/esm2022/legacy-table/testing/cell-harness.mjs +4 -7
- package/esm2022/legacy-table/testing/row-harness.mjs +4 -7
- package/esm2022/legacy-table/testing/table-harness.mjs +2 -3
- package/esm2022/legacy-table/text-column.mjs +5 -6
- package/esm2022/legacy-tabs/ink-bar.mjs +5 -6
- package/esm2022/legacy-tabs/tab-body.mjs +9 -11
- package/esm2022/legacy-tabs/tab-content.mjs +5 -6
- package/esm2022/legacy-tabs/tab-group.mjs +5 -6
- package/esm2022/legacy-tabs/tab-header.mjs +5 -6
- package/esm2022/legacy-tabs/tab-label-wrapper.mjs +5 -6
- package/esm2022/legacy-tabs/tab-label.mjs +5 -6
- package/esm2022/legacy-tabs/tab-nav-bar/tab-nav-bar.mjs +13 -16
- package/esm2022/legacy-tabs/tab.mjs +5 -6
- package/esm2022/legacy-tabs/tabs-module.mjs +6 -7
- package/esm2022/legacy-tabs/testing/tab-group-harness.mjs +2 -3
- package/esm2022/legacy-tabs/testing/tab-harness.mjs +2 -3
- package/esm2022/legacy-tabs/testing/tab-link-harness.mjs +2 -3
- package/esm2022/legacy-tabs/testing/tab-nav-bar-harness.mjs +2 -3
- package/esm2022/legacy-tabs/testing/tab-nav-panel-harness.mjs +2 -3
- package/esm2022/legacy-tooltip/testing/tooltip-harness.mjs +2 -3
- package/esm2022/legacy-tooltip/tooltip-module.mjs +6 -7
- package/esm2022/legacy-tooltip/tooltip.mjs +9 -11
- package/esm2022/list/action-list.mjs +5 -6
- package/esm2022/list/list-base.mjs +11 -11
- package/esm2022/list/list-item-sections.mjs +25 -31
- package/esm2022/list/list-module.mjs +6 -7
- package/esm2022/list/list-option.mjs +5 -6
- package/esm2022/list/list.mjs +9 -11
- package/esm2022/list/nav-list.mjs +5 -6
- package/esm2022/list/selection-list.mjs +5 -6
- package/esm2022/list/subheader.mjs +5 -6
- package/esm2022/list/testing/action-list-harness.mjs +3 -5
- package/esm2022/list/testing/list-harness.mjs +3 -5
- package/esm2022/list/testing/list-item-harness-base.mjs +2 -3
- package/esm2022/list/testing/nav-list-harness.mjs +3 -5
- package/esm2022/list/testing/selection-list-harness.mjs +3 -5
- package/esm2022/menu/menu-content.mjs +9 -11
- package/esm2022/menu/menu-item.mjs +5 -6
- package/esm2022/menu/menu-trigger.mjs +9 -11
- package/esm2022/menu/menu.mjs +9 -11
- package/esm2022/menu/module.mjs +6 -7
- package/esm2022/menu/testing/menu-harness.mjs +3 -5
- package/esm2022/paginator/module.mjs +6 -7
- package/esm2022/paginator/paginator-intl.mjs +5 -6
- package/esm2022/paginator/paginator.mjs +9 -11
- package/esm2022/paginator/testing/paginator-harness.mjs +2 -3
- package/esm2022/progress-bar/module.mjs +6 -7
- package/esm2022/progress-bar/progress-bar.mjs +5 -6
- package/esm2022/progress-bar/testing/progress-bar-harness.mjs +2 -3
- package/esm2022/progress-spinner/module.mjs +6 -7
- package/esm2022/progress-spinner/progress-spinner.mjs +5 -6
- package/esm2022/progress-spinner/testing/progress-spinner-harness.mjs +2 -3
- package/esm2022/radio/module.mjs +6 -7
- package/esm2022/radio/radio.mjs +17 -21
- package/esm2022/radio/testing/radio-harness.mjs +3 -5
- package/esm2022/select/module.mjs +6 -7
- package/esm2022/select/select.mjs +26 -16
- package/esm2022/select/testing/select-harness.mjs +2 -3
- package/esm2022/sidenav/drawer.mjs +13 -16
- package/esm2022/sidenav/sidenav-module.mjs +6 -7
- package/esm2022/sidenav/sidenav.mjs +13 -16
- package/esm2022/sidenav/testing/drawer-container-harness.mjs +2 -3
- package/esm2022/sidenav/testing/drawer-content-harness.mjs +2 -3
- package/esm2022/sidenav/testing/drawer-harness.mjs +2 -3
- package/esm2022/sidenav/testing/sidenav-container-harness.mjs +2 -3
- package/esm2022/sidenav/testing/sidenav-content-harness.mjs +2 -3
- package/esm2022/sidenav/testing/sidenav-harness.mjs +2 -3
- package/esm2022/slide-toggle/module.mjs +11 -13
- package/esm2022/slide-toggle/slide-toggle-required-validator.mjs +5 -6
- package/esm2022/slide-toggle/slide-toggle.mjs +9 -11
- package/esm2022/slide-toggle/testing/slide-toggle-harness.mjs +2 -3
- package/esm2022/slider/module.mjs +6 -7
- package/esm2022/slider/slider-input.mjs +11 -12
- package/esm2022/slider/slider-interface.mjs +1 -1
- package/esm2022/slider/slider-thumb.mjs +9 -7
- package/esm2022/slider/slider.mjs +7 -19
- package/esm2022/slider/testing/slider-harness.mjs +2 -3
- package/esm2022/slider/testing/slider-thumb-harness.mjs +2 -3
- package/esm2022/snack-bar/module.mjs +6 -7
- package/esm2022/snack-bar/simple-snack-bar.mjs +5 -6
- package/esm2022/snack-bar/snack-bar-container.mjs +9 -11
- package/esm2022/snack-bar/snack-bar-content.mjs +13 -16
- package/esm2022/snack-bar/snack-bar.mjs +9 -11
- package/esm2022/snack-bar/testing/snack-bar-harness.mjs +2 -3
- package/esm2022/sort/sort-header-intl.mjs +5 -6
- package/esm2022/sort/sort-header.mjs +5 -6
- package/esm2022/sort/sort-module.mjs +6 -7
- package/esm2022/sort/sort.mjs +5 -6
- package/esm2022/sort/testing/sort-harness.mjs +2 -3
- package/esm2022/sort/testing/sort-header-harness.mjs +2 -3
- package/esm2022/stepper/step-content.mjs +5 -6
- package/esm2022/stepper/step-header.mjs +5 -6
- package/esm2022/stepper/step-label.mjs +5 -6
- package/esm2022/stepper/stepper-button.mjs +9 -11
- package/esm2022/stepper/stepper-icon.mjs +5 -6
- package/esm2022/stepper/stepper-intl.mjs +5 -6
- package/esm2022/stepper/stepper-module.mjs +6 -7
- package/esm2022/stepper/stepper.mjs +9 -11
- package/esm2022/stepper/testing/step-harness.mjs +2 -3
- package/esm2022/stepper/testing/stepper-button-harnesses.mjs +3 -5
- package/esm2022/stepper/testing/stepper-harness.mjs +2 -3
- package/esm2022/table/cell.mjs +29 -36
- package/esm2022/table/module.mjs +6 -7
- package/esm2022/table/row.mjs +29 -36
- package/esm2022/table/table.mjs +9 -11
- package/esm2022/table/testing/cell-harness.mjs +4 -7
- package/esm2022/table/testing/row-harness.mjs +4 -7
- package/esm2022/table/testing/table-harness.mjs +2 -3
- package/esm2022/table/text-column.mjs +5 -6
- package/esm2022/tabs/module.mjs +6 -7
- package/esm2022/tabs/paginated-tab-header.mjs +5 -6
- package/esm2022/tabs/tab-body.mjs +13 -16
- package/esm2022/tabs/tab-content.mjs +5 -6
- package/esm2022/tabs/tab-group.mjs +11 -13
- package/esm2022/tabs/tab-header.mjs +9 -11
- package/esm2022/tabs/tab-label-wrapper.mjs +9 -11
- package/esm2022/tabs/tab-label.mjs +5 -6
- package/esm2022/tabs/tab-nav-bar/tab-nav-bar.mjs +29 -29
- package/esm2022/tabs/tab.mjs +9 -11
- package/esm2022/tabs/testing/tab-group-harness.mjs +2 -3
- package/esm2022/tabs/testing/tab-harness.mjs +2 -3
- package/esm2022/tabs/testing/tab-link-harness.mjs +2 -3
- package/esm2022/tabs/testing/tab-nav-bar-harness.mjs +2 -3
- package/esm2022/tabs/testing/tab-nav-panel-harness.mjs +2 -3
- package/esm2022/toolbar/testing/toolbar-harness.mjs +2 -3
- package/esm2022/toolbar/toolbar-module.mjs +6 -7
- package/esm2022/toolbar/toolbar.mjs +9 -11
- package/esm2022/tooltip/module.mjs +6 -7
- package/esm2022/tooltip/testing/tooltip-harness.mjs +2 -3
- package/esm2022/tooltip/tooltip.mjs +17 -21
- package/esm2022/tree/node.mjs +13 -16
- package/esm2022/tree/outlet.mjs +5 -6
- package/esm2022/tree/padding.mjs +5 -6
- package/esm2022/tree/testing/node-harness.mjs +2 -3
- package/esm2022/tree/testing/tree-harness.mjs +2 -3
- package/esm2022/tree/toggle.mjs +5 -6
- package/esm2022/tree/tree-module.mjs +6 -7
- package/esm2022/tree/tree.mjs +5 -6
- package/expansion/index.d.ts +7 -7
- package/fesm2022/autocomplete/testing.mjs.map +1 -1
- package/fesm2022/autocomplete.mjs +22 -22
- package/fesm2022/autocomplete.mjs.map +1 -1
- package/fesm2022/badge/testing.mjs.map +1 -1
- package/fesm2022/badge.mjs +7 -7
- package/fesm2022/badge.mjs.map +1 -1
- package/fesm2022/bottom-sheet/testing.mjs.map +1 -1
- package/fesm2022/bottom-sheet.mjs +10 -10
- package/fesm2022/bottom-sheet.mjs.map +1 -1
- package/fesm2022/button/testing.mjs.map +1 -1
- package/fesm2022/button-toggle/testing.mjs.map +1 -1
- package/fesm2022/button-toggle.mjs +10 -10
- package/fesm2022/button-toggle.mjs.map +1 -1
- package/fesm2022/button.mjs +37 -37
- package/fesm2022/button.mjs.map +1 -1
- package/fesm2022/card/testing.mjs.map +1 -1
- package/fesm2022/card.mjs +46 -46
- package/fesm2022/card.mjs.map +1 -1
- package/fesm2022/checkbox/testing.mjs.map +1 -1
- package/fesm2022/checkbox.mjs +17 -17
- package/fesm2022/checkbox.mjs.map +1 -1
- package/fesm2022/chips/testing.mjs.map +1 -1
- package/fesm2022/chips.mjs +40 -40
- package/fesm2022/chips.mjs.map +1 -1
- package/fesm2022/core/testing.mjs.map +1 -1
- package/fesm2022/core.mjs +60 -60
- package/fesm2022/core.mjs.map +1 -1
- package/fesm2022/datepicker/testing.mjs.map +1 -1
- package/fesm2022/datepicker.mjs +82 -82
- package/fesm2022/datepicker.mjs.map +1 -1
- package/fesm2022/dialog/testing.mjs +2 -1
- package/fesm2022/dialog/testing.mjs.map +1 -1
- package/fesm2022/dialog.mjs +28 -28
- package/fesm2022/dialog.mjs.map +1 -1
- package/fesm2022/divider/testing.mjs.map +1 -1
- package/fesm2022/divider.mjs +7 -7
- package/fesm2022/divider.mjs.map +1 -1
- package/fesm2022/expansion/testing.mjs.map +1 -1
- package/fesm2022/expansion.mjs +25 -25
- package/fesm2022/expansion.mjs.map +1 -1
- package/fesm2022/form-field/testing.mjs.map +1 -1
- package/fesm2022/form-field.mjs +34 -34
- package/fesm2022/form-field.mjs.map +1 -1
- package/fesm2022/grid-list/testing.mjs.map +1 -1
- package/fesm2022/grid-list.mjs +22 -22
- package/fesm2022/grid-list.mjs.map +1 -1
- package/fesm2022/icon/testing.mjs +7 -7
- package/fesm2022/icon/testing.mjs.map +1 -1
- package/fesm2022/icon.mjs +11 -11
- package/fesm2022/icon.mjs.map +1 -1
- package/fesm2022/input/testing.mjs.map +1 -1
- package/fesm2022/input.mjs +7 -7
- package/fesm2022/input.mjs.map +1 -1
- package/fesm2022/legacy-autocomplete/testing.mjs.map +1 -1
- package/fesm2022/legacy-autocomplete.mjs +13 -13
- package/fesm2022/legacy-autocomplete.mjs.map +1 -1
- package/fesm2022/legacy-button/testing.mjs.map +1 -1
- package/fesm2022/legacy-button.mjs +10 -10
- package/fesm2022/legacy-button.mjs.map +1 -1
- package/fesm2022/legacy-card/testing.mjs.map +1 -1
- package/fesm2022/legacy-card.mjs +46 -46
- package/fesm2022/legacy-card.mjs.map +1 -1
- package/fesm2022/legacy-checkbox/testing.mjs.map +1 -1
- package/fesm2022/legacy-checkbox.mjs +7 -7
- package/fesm2022/legacy-checkbox.mjs.map +1 -1
- package/fesm2022/legacy-chips/testing.mjs.map +1 -1
- package/fesm2022/legacy-chips.mjs +22 -22
- package/fesm2022/legacy-chips.mjs.map +1 -1
- package/fesm2022/legacy-core/testing.mjs.map +1 -1
- package/fesm2022/legacy-core.mjs +10 -10
- package/fesm2022/legacy-core.mjs.map +1 -1
- package/fesm2022/legacy-dialog/testing.mjs.map +1 -1
- package/fesm2022/legacy-dialog.mjs +22 -22
- package/fesm2022/legacy-dialog.mjs.map +1 -1
- package/fesm2022/legacy-form-field/testing.mjs.map +1 -1
- package/fesm2022/legacy-form-field.mjs +25 -25
- package/fesm2022/legacy-form-field.mjs.map +1 -1
- package/fesm2022/legacy-input.mjs +7 -7
- package/fesm2022/legacy-input.mjs.map +1 -1
- package/fesm2022/legacy-list/testing.mjs.map +1 -1
- package/fesm2022/legacy-list.mjs +28 -28
- package/fesm2022/legacy-list.mjs.map +1 -1
- package/fesm2022/legacy-menu/testing.mjs.map +1 -1
- package/fesm2022/legacy-menu.mjs +16 -16
- package/fesm2022/legacy-menu.mjs.map +1 -1
- package/fesm2022/legacy-paginator/testing.mjs.map +1 -1
- package/fesm2022/legacy-paginator.mjs +7 -7
- package/fesm2022/legacy-paginator.mjs.map +1 -1
- package/fesm2022/legacy-progress-bar/testing.mjs.map +1 -1
- package/fesm2022/legacy-progress-bar.mjs +7 -7
- package/fesm2022/legacy-progress-bar.mjs.map +1 -1
- package/fesm2022/legacy-progress-spinner/testing.mjs.map +1 -1
- package/fesm2022/legacy-progress-spinner.mjs +7 -7
- package/fesm2022/legacy-progress-spinner.mjs.map +1 -1
- package/fesm2022/legacy-radio/testing.mjs.map +1 -1
- package/fesm2022/legacy-radio.mjs +10 -10
- package/fesm2022/legacy-radio.mjs.map +1 -1
- package/fesm2022/legacy-select/testing.mjs.map +1 -1
- package/fesm2022/legacy-select.mjs +10 -10
- package/fesm2022/legacy-select.mjs.map +1 -1
- package/fesm2022/legacy-slide-toggle/testing.mjs.map +1 -1
- package/fesm2022/legacy-slide-toggle.mjs +7 -7
- package/fesm2022/legacy-slide-toggle.mjs.map +1 -1
- package/fesm2022/legacy-slider/testing.mjs.map +1 -1
- package/fesm2022/legacy-slider.mjs +7 -7
- package/fesm2022/legacy-slider.mjs.map +1 -1
- package/fesm2022/legacy-snack-bar/testing.mjs.map +1 -1
- package/fesm2022/legacy-snack-bar.mjs +13 -13
- package/fesm2022/legacy-snack-bar.mjs.map +1 -1
- package/fesm2022/legacy-table/testing.mjs.map +1 -1
- package/fesm2022/legacy-table.mjs +55 -55
- package/fesm2022/legacy-table.mjs.map +1 -1
- package/fesm2022/legacy-tabs/testing.mjs.map +1 -1
- package/fesm2022/legacy-tabs.mjs +40 -40
- package/fesm2022/legacy-tabs.mjs.map +1 -1
- package/fesm2022/legacy-tooltip/testing.mjs.map +1 -1
- package/fesm2022/legacy-tooltip.mjs +10 -10
- package/fesm2022/legacy-tooltip.mjs.map +1 -1
- package/fesm2022/list/testing.mjs.map +1 -1
- package/fesm2022/list.mjs +51 -49
- package/fesm2022/list.mjs.map +1 -1
- package/fesm2022/menu/testing.mjs.map +1 -1
- package/fesm2022/menu.mjs +25 -25
- package/fesm2022/menu.mjs.map +1 -1
- package/fesm2022/paginator/testing.mjs.map +1 -1
- package/fesm2022/paginator.mjs +13 -13
- package/fesm2022/paginator.mjs.map +1 -1
- package/fesm2022/progress-bar/testing.mjs.map +1 -1
- package/fesm2022/progress-bar.mjs +7 -7
- package/fesm2022/progress-bar.mjs.map +1 -1
- package/fesm2022/progress-spinner/testing.mjs.map +1 -1
- package/fesm2022/progress-spinner.mjs +7 -7
- package/fesm2022/progress-spinner.mjs.map +1 -1
- package/fesm2022/radio/testing.mjs.map +1 -1
- package/fesm2022/radio.mjs +16 -16
- package/fesm2022/radio.mjs.map +1 -1
- package/fesm2022/select/testing.mjs.map +1 -1
- package/fesm2022/select.mjs +26 -13
- package/fesm2022/select.mjs.map +1 -1
- package/fesm2022/sidenav/testing.mjs.map +1 -1
- package/fesm2022/sidenav.mjs +22 -22
- package/fesm2022/sidenav.mjs.map +1 -1
- package/fesm2022/slide-toggle/testing.mjs.map +1 -1
- package/fesm2022/slide-toggle.mjs +17 -17
- package/fesm2022/slide-toggle.mjs.map +1 -1
- package/fesm2022/slider/testing.mjs.map +1 -1
- package/fesm2022/slider.mjs +24 -31
- package/fesm2022/slider.mjs.map +1 -1
- package/fesm2022/snack-bar/testing.mjs.map +1 -1
- package/fesm2022/snack-bar.mjs +28 -28
- package/fesm2022/snack-bar.mjs.map +1 -1
- package/fesm2022/sort/testing.mjs.map +1 -1
- package/fesm2022/sort.mjs +13 -13
- package/fesm2022/sort.mjs.map +1 -1
- package/fesm2022/stepper/testing.mjs.map +1 -1
- package/fesm2022/stepper.mjs +31 -31
- package/fesm2022/stepper.mjs.map +1 -1
- package/fesm2022/table/testing.mjs.map +1 -1
- package/fesm2022/table.mjs +55 -55
- package/fesm2022/table.mjs.map +1 -1
- package/fesm2022/tabs/testing.mjs.map +1 -1
- package/fesm2022/tabs.mjs +70 -65
- package/fesm2022/tabs.mjs.map +1 -1
- package/fesm2022/toolbar/testing.mjs.map +1 -1
- package/fesm2022/toolbar.mjs +10 -10
- package/fesm2022/toolbar.mjs.map +1 -1
- package/fesm2022/tooltip/testing.mjs.map +1 -1
- package/fesm2022/tooltip.mjs +16 -16
- package/fesm2022/tooltip.mjs.map +1 -1
- package/fesm2022/tree/testing.mjs.map +1 -1
- package/fesm2022/tree.mjs +25 -25
- package/fesm2022/tree.mjs.map +1 -1
- package/form-field/_form-field-theme.import.scss +1 -1
- package/form-field/index.d.ts +10 -10
- package/grid-list/index.d.ts +6 -6
- package/icon/index.d.ts +2 -2
- package/input/index.d.ts +1 -1
- package/legacy-autocomplete/index.d.ts +3 -3
- package/legacy-button/index.d.ts +2 -2
- package/legacy-card/index.d.ts +14 -14
- package/legacy-checkbox/index.d.ts +1 -1
- package/legacy-chips/index.d.ts +6 -6
- package/legacy-core/index.d.ts +2 -2
- package/legacy-dialog/index.d.ts +5 -5
- package/legacy-form-field/index.d.ts +7 -7
- package/legacy-input/index.d.ts +1 -1
- package/legacy-list/index.d.ts +8 -8
- package/legacy-menu/index.d.ts +4 -4
- package/legacy-paginator/index.d.ts +1 -1
- package/legacy-progress-bar/index.d.ts +1 -1
- package/legacy-progress-spinner/index.d.ts +1 -1
- package/legacy-radio/index.d.ts +2 -2
- package/legacy-select/index.d.ts +2 -2
- package/legacy-slide-toggle/index.d.ts +1 -1
- package/legacy-slider/index.d.ts +1 -1
- package/legacy-snack-bar/index.d.ts +2 -2
- package/legacy-table/index.d.ts +17 -17
- package/legacy-tabs/index.d.ts +12 -12
- package/legacy-tooltip/index.d.ts +2 -2
- package/list/index.d.ts +15 -15
- package/menu/index.d.ts +7 -7
- package/package.json +7 -7
- package/paginator/index.d.ts +2 -2
- package/progress-bar/index.d.ts +1 -1
- package/progress-spinner/index.d.ts +1 -1
- package/radio/index.d.ts +4 -4
- package/schematics/ng-add/index.js +2 -2
- package/schematics/ng-add/index.mjs +2 -2
- package/schematics/ng-generate/mdc-migration/index_bundled.js +219 -51
- package/schematics/ng-generate/mdc-migration/index_bundled.js.map +4 -4
- package/select/index.d.ts +3 -3
- package/sidenav/index.d.ts +6 -6
- package/slide-toggle/index.d.ts +3 -3
- package/slider/index.d.ts +5 -4
- package/snack-bar/index.d.ts +6 -6
- package/sort/index.d.ts +2 -2
- package/stepper/index.d.ts +8 -8
- package/table/index.d.ts +17 -17
- package/tabs/_tabs-common.scss +5 -0
- package/tabs/index.d.ts +19 -19
- package/toolbar/index.d.ts +2 -2
- package/tooltip/index.d.ts +4 -4
- package/tree/index.d.ts +7 -7
|
@@ -7886,6 +7886,9 @@ var RecursiveAstVisitor$1 = class {
|
|
|
7886
7886
|
visitMapType(type, context) {
|
|
7887
7887
|
return this.visitType(type, context);
|
|
7888
7888
|
}
|
|
7889
|
+
visitTransplantedType(type, context) {
|
|
7890
|
+
return type;
|
|
7891
|
+
}
|
|
7889
7892
|
visitWrappedNodeExpr(ast, context) {
|
|
7890
7893
|
return ast;
|
|
7891
7894
|
}
|
|
@@ -8772,6 +8775,9 @@ var Identifiers = _Identifiers;
|
|
|
8772
8775
|
(() => {
|
|
8773
8776
|
_Identifiers.HostDirectivesFeature = { name: "\u0275\u0275HostDirectivesFeature", moduleName: CORE };
|
|
8774
8777
|
})();
|
|
8778
|
+
(() => {
|
|
8779
|
+
_Identifiers.InputTransformsFeatureFeature = { name: "\u0275\u0275InputTransformsFeature", moduleName: CORE };
|
|
8780
|
+
})();
|
|
8775
8781
|
(() => {
|
|
8776
8782
|
_Identifiers.listener = { name: "\u0275\u0275listener", moduleName: CORE };
|
|
8777
8783
|
})();
|
|
@@ -9873,7 +9879,7 @@ function visitAll$1(visitor, nodes) {
|
|
|
9873
9879
|
const result = [];
|
|
9874
9880
|
if (visitor.visit) {
|
|
9875
9881
|
for (const node of nodes) {
|
|
9876
|
-
|
|
9882
|
+
visitor.visit(node) || node.visit(visitor);
|
|
9877
9883
|
}
|
|
9878
9884
|
} else {
|
|
9879
9885
|
for (const node of nodes) {
|
|
@@ -10226,22 +10232,30 @@ function conditionallyCreateDirectiveBindingLiteral(map, keepDeclared) {
|
|
|
10226
10232
|
let declaredName;
|
|
10227
10233
|
let publicName;
|
|
10228
10234
|
let minifiedName;
|
|
10229
|
-
let
|
|
10235
|
+
let expressionValue;
|
|
10230
10236
|
if (typeof value === "string") {
|
|
10231
10237
|
declaredName = key;
|
|
10232
10238
|
minifiedName = key;
|
|
10233
10239
|
publicName = value;
|
|
10234
|
-
|
|
10240
|
+
expressionValue = asLiteral(publicName);
|
|
10235
10241
|
} else {
|
|
10236
10242
|
minifiedName = key;
|
|
10237
10243
|
declaredName = value.classPropertyName;
|
|
10238
10244
|
publicName = value.bindingPropertyName;
|
|
10239
|
-
|
|
10245
|
+
if (keepDeclared && (publicName !== declaredName || value.transformFunction != null)) {
|
|
10246
|
+
const expressionKeys = [asLiteral(publicName), asLiteral(declaredName)];
|
|
10247
|
+
if (value.transformFunction != null) {
|
|
10248
|
+
expressionKeys.push(value.transformFunction);
|
|
10249
|
+
}
|
|
10250
|
+
expressionValue = literalArr(expressionKeys);
|
|
10251
|
+
} else {
|
|
10252
|
+
expressionValue = asLiteral(publicName);
|
|
10253
|
+
}
|
|
10240
10254
|
}
|
|
10241
10255
|
return {
|
|
10242
10256
|
key: minifiedName,
|
|
10243
10257
|
quoted: UNSAFE_OBJECT_KEY_NAME_REGEXP.test(minifiedName),
|
|
10244
|
-
value:
|
|
10258
|
+
value: expressionValue
|
|
10245
10259
|
};
|
|
10246
10260
|
}));
|
|
10247
10261
|
}
|
|
@@ -12930,11 +12944,14 @@ var OpKind;
|
|
|
12930
12944
|
OpKind2[OpKind2["Element"] = 4] = "Element";
|
|
12931
12945
|
OpKind2[OpKind2["Template"] = 5] = "Template";
|
|
12932
12946
|
OpKind2[OpKind2["ElementEnd"] = 6] = "ElementEnd";
|
|
12933
|
-
OpKind2[OpKind2["
|
|
12934
|
-
OpKind2[OpKind2["
|
|
12935
|
-
OpKind2[OpKind2["
|
|
12936
|
-
OpKind2[OpKind2["
|
|
12937
|
-
OpKind2[OpKind2["
|
|
12947
|
+
OpKind2[OpKind2["ContainerStart"] = 7] = "ContainerStart";
|
|
12948
|
+
OpKind2[OpKind2["Container"] = 8] = "Container";
|
|
12949
|
+
OpKind2[OpKind2["ContainerEnd"] = 9] = "ContainerEnd";
|
|
12950
|
+
OpKind2[OpKind2["Text"] = 10] = "Text";
|
|
12951
|
+
OpKind2[OpKind2["Listener"] = 11] = "Listener";
|
|
12952
|
+
OpKind2[OpKind2["InterpolateText"] = 12] = "InterpolateText";
|
|
12953
|
+
OpKind2[OpKind2["Property"] = 13] = "Property";
|
|
12954
|
+
OpKind2[OpKind2["Advance"] = 14] = "Advance";
|
|
12938
12955
|
})(OpKind || (OpKind = {}));
|
|
12939
12956
|
var ExpressionKind;
|
|
12940
12957
|
(function(ExpressionKind2) {
|
|
@@ -13183,6 +13200,9 @@ function transformExpressionsInOp(op, transform, flags) {
|
|
|
13183
13200
|
case OpKind.Element:
|
|
13184
13201
|
case OpKind.ElementStart:
|
|
13185
13202
|
case OpKind.ElementEnd:
|
|
13203
|
+
case OpKind.Container:
|
|
13204
|
+
case OpKind.ContainerStart:
|
|
13205
|
+
case OpKind.ContainerEnd:
|
|
13186
13206
|
case OpKind.Template:
|
|
13187
13207
|
case OpKind.Text:
|
|
13188
13208
|
case OpKind.Advance:
|
|
@@ -13200,6 +13220,9 @@ function transformExpressionsInExpression(expr, transform, flags) {
|
|
|
13200
13220
|
expr.rhs = transformExpressionsInExpression(expr.rhs, transform, flags);
|
|
13201
13221
|
} else if (expr instanceof ReadPropExpr) {
|
|
13202
13222
|
expr.receiver = transformExpressionsInExpression(expr.receiver, transform, flags);
|
|
13223
|
+
} else if (expr instanceof ReadKeyExpr) {
|
|
13224
|
+
expr.receiver = transformExpressionsInExpression(expr.receiver, transform, flags);
|
|
13225
|
+
expr.index = transformExpressionsInExpression(expr.index, transform, flags);
|
|
13203
13226
|
} else if (expr instanceof InvokeFunctionExpr) {
|
|
13204
13227
|
expr.fn = transformExpressionsInExpression(expr.fn, transform, flags);
|
|
13205
13228
|
for (let i = 0; i < expr.args.length; i++) {
|
|
@@ -13505,11 +13528,20 @@ function serializeAttributes({ attributes, bindings, classes, i18n, projectAs, s
|
|
|
13505
13528
|
}
|
|
13506
13529
|
return literalArr(attrArray);
|
|
13507
13530
|
}
|
|
13531
|
+
var REPLACEMENTS = /* @__PURE__ */ new Map([
|
|
13532
|
+
[OpKind.ElementEnd, [OpKind.ElementStart, OpKind.Element]],
|
|
13533
|
+
[OpKind.ContainerEnd, [OpKind.ContainerStart, OpKind.Container]]
|
|
13534
|
+
]);
|
|
13508
13535
|
function phaseEmptyElements(cpl) {
|
|
13509
13536
|
for (const [_, view] of cpl.views) {
|
|
13510
13537
|
for (const op of view.create) {
|
|
13511
|
-
|
|
13512
|
-
|
|
13538
|
+
const opReplacements = REPLACEMENTS.get(op.kind);
|
|
13539
|
+
if (opReplacements === void 0) {
|
|
13540
|
+
continue;
|
|
13541
|
+
}
|
|
13542
|
+
const [startKind, mergedKind] = opReplacements;
|
|
13543
|
+
if (op.prev !== null && op.prev.kind === startKind) {
|
|
13544
|
+
op.prev.kind = mergedKind;
|
|
13513
13545
|
OpList.remove(op);
|
|
13514
13546
|
}
|
|
13515
13547
|
}
|
|
@@ -13546,16 +13578,16 @@ function phaseGenerateAdvance(cpl) {
|
|
|
13546
13578
|
}
|
|
13547
13579
|
}
|
|
13548
13580
|
function element(slot, tag, constIndex, localRefIndex) {
|
|
13549
|
-
return
|
|
13581
|
+
return elementOrContainerBase(Identifiers.element, slot, tag, constIndex, localRefIndex);
|
|
13550
13582
|
}
|
|
13551
13583
|
function elementStart(slot, tag, constIndex, localRefIndex) {
|
|
13552
|
-
return
|
|
13584
|
+
return elementOrContainerBase(Identifiers.elementStart, slot, tag, constIndex, localRefIndex);
|
|
13553
13585
|
}
|
|
13554
|
-
function
|
|
13555
|
-
const args = [
|
|
13556
|
-
|
|
13557
|
-
literal(tag)
|
|
13558
|
-
|
|
13586
|
+
function elementOrContainerBase(instruction, slot, tag, constIndex, localRefIndex) {
|
|
13587
|
+
const args = [literal(slot)];
|
|
13588
|
+
if (tag !== null) {
|
|
13589
|
+
args.push(literal(tag));
|
|
13590
|
+
}
|
|
13559
13591
|
if (localRefIndex !== null) {
|
|
13560
13592
|
args.push(
|
|
13561
13593
|
literal(constIndex),
|
|
@@ -13569,6 +13601,15 @@ function elementStartBase(instruction, slot, tag, constIndex, localRefIndex) {
|
|
|
13569
13601
|
function elementEnd() {
|
|
13570
13602
|
return call(Identifiers.elementEnd, []);
|
|
13571
13603
|
}
|
|
13604
|
+
function elementContainerStart(slot, constIndex, localRefIndex) {
|
|
13605
|
+
return elementOrContainerBase(Identifiers.elementContainerStart, slot, null, constIndex, localRefIndex);
|
|
13606
|
+
}
|
|
13607
|
+
function elementContainer(slot, constIndex, localRefIndex) {
|
|
13608
|
+
return elementOrContainerBase(Identifiers.elementContainer, slot, null, constIndex, localRefIndex);
|
|
13609
|
+
}
|
|
13610
|
+
function elementContainerEnd() {
|
|
13611
|
+
return call(Identifiers.elementContainerEnd, []);
|
|
13612
|
+
}
|
|
13572
13613
|
function template(slot, templateFnRef, decls, vars, tag, constIndex) {
|
|
13573
13614
|
return call(Identifiers.templateCreate, [
|
|
13574
13615
|
literal(slot),
|
|
@@ -13690,6 +13731,15 @@ function reifyCreateOperations(view, ops) {
|
|
|
13690
13731
|
case OpKind.ElementEnd:
|
|
13691
13732
|
OpList.replace(op, elementEnd());
|
|
13692
13733
|
break;
|
|
13734
|
+
case OpKind.ContainerStart:
|
|
13735
|
+
OpList.replace(op, elementContainerStart(op.slot, op.attributes, op.localRefs));
|
|
13736
|
+
break;
|
|
13737
|
+
case OpKind.Container:
|
|
13738
|
+
OpList.replace(op, elementContainer(op.slot, op.attributes, op.localRefs));
|
|
13739
|
+
break;
|
|
13740
|
+
case OpKind.ContainerEnd:
|
|
13741
|
+
OpList.replace(op, elementContainerEnd());
|
|
13742
|
+
break;
|
|
13693
13743
|
case OpKind.Template:
|
|
13694
13744
|
const childView = view.tpl.views.get(op.xref);
|
|
13695
13745
|
OpList.replace(op, template(op.slot, variable(childView.fnName), childView.decls, childView.vars, op.tag, op.attributes));
|
|
@@ -13957,25 +14007,15 @@ function phaseGenerateVariables(cpl) {
|
|
|
13957
14007
|
}
|
|
13958
14008
|
function recursivelyProcessView(view, parentScope) {
|
|
13959
14009
|
const scope = getScopeForView(view, parentScope);
|
|
13960
|
-
view.
|
|
13961
|
-
|
|
13962
|
-
]);
|
|
14010
|
+
if (view.parent !== null) {
|
|
14011
|
+
}
|
|
13963
14012
|
for (const op of view.create) {
|
|
13964
14013
|
switch (op.kind) {
|
|
13965
14014
|
case OpKind.Template:
|
|
13966
14015
|
recursivelyProcessView(view.tpl.views.get(op.xref), scope);
|
|
13967
14016
|
break;
|
|
13968
14017
|
case OpKind.Listener:
|
|
13969
|
-
|
|
13970
|
-
createVariableOp(view.tpl.allocateXrefId(), scope.viewContextVariable, new RestoreViewExpr(view.xref)),
|
|
13971
|
-
...generateVariablesInScopeForView(view, scope)
|
|
13972
|
-
];
|
|
13973
|
-
op.handlerOps.prepend(preambleOps2);
|
|
13974
|
-
for (const handlerOp of op.handlerOps) {
|
|
13975
|
-
if (handlerOp.kind === OpKind.Statement && handlerOp.statement instanceof ReturnStatement) {
|
|
13976
|
-
handlerOp.statement.value = new ResetViewExpr(handlerOp.statement.value);
|
|
13977
|
-
}
|
|
13978
|
-
}
|
|
14018
|
+
op.handlerOps.prepend(generateVariablesInScopeForView(view, scope));
|
|
13979
14019
|
break;
|
|
13980
14020
|
}
|
|
13981
14021
|
}
|
|
@@ -13990,11 +14030,6 @@ function getScopeForView(view, parent) {
|
|
|
13990
14030
|
name: null,
|
|
13991
14031
|
view: view.xref
|
|
13992
14032
|
},
|
|
13993
|
-
savedViewVariable: {
|
|
13994
|
-
kind: SemanticVariableKind.SavedView,
|
|
13995
|
-
name: null,
|
|
13996
|
-
view: view.xref
|
|
13997
|
-
},
|
|
13998
14033
|
contextVariables: /* @__PURE__ */ new Map(),
|
|
13999
14034
|
references: [],
|
|
14000
14035
|
parent
|
|
@@ -14333,7 +14368,10 @@ function allowConservativeInlining(decl2, target) {
|
|
|
14333
14368
|
var CHAINABLE = /* @__PURE__ */ new Set([
|
|
14334
14369
|
Identifiers.elementStart,
|
|
14335
14370
|
Identifiers.elementEnd,
|
|
14336
|
-
Identifiers.property
|
|
14371
|
+
Identifiers.property,
|
|
14372
|
+
Identifiers.elementContainerStart,
|
|
14373
|
+
Identifiers.elementContainerEnd,
|
|
14374
|
+
Identifiers.elementContainer
|
|
14337
14375
|
]);
|
|
14338
14376
|
function phaseChaining(cpl) {
|
|
14339
14377
|
for (const [_, view] of cpl.views) {
|
|
@@ -14411,12 +14449,58 @@ function mergeNextContextsInOps(ops) {
|
|
|
14411
14449
|
}
|
|
14412
14450
|
}
|
|
14413
14451
|
}
|
|
14452
|
+
var CONTAINER_TAG = "ng-container";
|
|
14453
|
+
function phaseNgContainer(cpl) {
|
|
14454
|
+
for (const [_, view] of cpl.views) {
|
|
14455
|
+
const updatedElementXrefs = /* @__PURE__ */ new Set();
|
|
14456
|
+
for (const op of view.create) {
|
|
14457
|
+
if (op.kind === OpKind.ElementStart && op.tag === CONTAINER_TAG) {
|
|
14458
|
+
op.kind = OpKind.ContainerStart;
|
|
14459
|
+
updatedElementXrefs.add(op.xref);
|
|
14460
|
+
}
|
|
14461
|
+
if (op.kind === OpKind.ElementEnd && updatedElementXrefs.has(op.xref)) {
|
|
14462
|
+
op.kind = OpKind.ContainerEnd;
|
|
14463
|
+
}
|
|
14464
|
+
}
|
|
14465
|
+
}
|
|
14466
|
+
}
|
|
14467
|
+
function phaseSaveRestoreView(cpl) {
|
|
14468
|
+
for (const view of cpl.views.values()) {
|
|
14469
|
+
if (view === cpl.root) {
|
|
14470
|
+
continue;
|
|
14471
|
+
}
|
|
14472
|
+
view.create.prepend([
|
|
14473
|
+
createVariableOp(view.tpl.allocateXrefId(), {
|
|
14474
|
+
kind: SemanticVariableKind.SavedView,
|
|
14475
|
+
name: null,
|
|
14476
|
+
view: view.xref
|
|
14477
|
+
}, new GetCurrentViewExpr())
|
|
14478
|
+
]);
|
|
14479
|
+
for (const op of view.create) {
|
|
14480
|
+
if (op.kind !== OpKind.Listener) {
|
|
14481
|
+
continue;
|
|
14482
|
+
}
|
|
14483
|
+
op.handlerOps.prepend([
|
|
14484
|
+
createVariableOp(view.tpl.allocateXrefId(), {
|
|
14485
|
+
kind: SemanticVariableKind.Context,
|
|
14486
|
+
name: null,
|
|
14487
|
+
view: view.xref
|
|
14488
|
+
}, new RestoreViewExpr(view.xref))
|
|
14489
|
+
]);
|
|
14490
|
+
for (const handlerOp of op.handlerOps) {
|
|
14491
|
+
if (handlerOp.kind === OpKind.Statement && handlerOp.statement instanceof ReturnStatement) {
|
|
14492
|
+
handlerOp.statement.value = new ResetViewExpr(handlerOp.statement.value);
|
|
14493
|
+
}
|
|
14494
|
+
}
|
|
14495
|
+
}
|
|
14496
|
+
}
|
|
14497
|
+
}
|
|
14414
14498
|
function transformTemplate(cpl) {
|
|
14415
14499
|
phaseGenerateVariables(cpl);
|
|
14500
|
+
phaseSaveRestoreView(cpl);
|
|
14416
14501
|
phaseResolveNames(cpl);
|
|
14417
14502
|
phaseResolveContexts(cpl);
|
|
14418
14503
|
phaseLocalRefs(cpl);
|
|
14419
|
-
phaseEmptyElements(cpl);
|
|
14420
14504
|
phaseConstCollection(cpl);
|
|
14421
14505
|
phaseSlotAllocation(cpl);
|
|
14422
14506
|
phaseVarCounting(cpl);
|
|
@@ -14424,6 +14508,8 @@ function transformTemplate(cpl) {
|
|
|
14424
14508
|
phaseNaming(cpl);
|
|
14425
14509
|
phaseVariableOptimization(cpl, { conservative: true });
|
|
14426
14510
|
phaseMergeNextContext(cpl);
|
|
14511
|
+
phaseNgContainer(cpl);
|
|
14512
|
+
phaseEmptyElements(cpl);
|
|
14427
14513
|
phaseReify(cpl);
|
|
14428
14514
|
phaseChaining(cpl);
|
|
14429
14515
|
}
|
|
@@ -14539,6 +14625,25 @@ var ViewCompilation = class {
|
|
|
14539
14625
|
}
|
|
14540
14626
|
}
|
|
14541
14627
|
};
|
|
14628
|
+
var BINARY_OPERATORS = /* @__PURE__ */ new Map([
|
|
14629
|
+
["&&", BinaryOperator.And],
|
|
14630
|
+
[">", BinaryOperator.Bigger],
|
|
14631
|
+
[">=", BinaryOperator.BiggerEquals],
|
|
14632
|
+
["&", BinaryOperator.BitwiseAnd],
|
|
14633
|
+
["/", BinaryOperator.Divide],
|
|
14634
|
+
["==", BinaryOperator.Equals],
|
|
14635
|
+
["===", BinaryOperator.Identical],
|
|
14636
|
+
["<", BinaryOperator.Lower],
|
|
14637
|
+
["<=", BinaryOperator.LowerEquals],
|
|
14638
|
+
["-", BinaryOperator.Minus],
|
|
14639
|
+
["%", BinaryOperator.Modulo],
|
|
14640
|
+
["*", BinaryOperator.Multiply],
|
|
14641
|
+
["!=", BinaryOperator.NotEquals],
|
|
14642
|
+
["!==", BinaryOperator.NotIdentical],
|
|
14643
|
+
["??", BinaryOperator.NullishCoalesce],
|
|
14644
|
+
["||", BinaryOperator.Or],
|
|
14645
|
+
["+", BinaryOperator.Plus]
|
|
14646
|
+
]);
|
|
14542
14647
|
function ingest(componentName, template2) {
|
|
14543
14648
|
const cpl = new ComponentCompilation(componentName);
|
|
14544
14649
|
ingestNodes(cpl.root, template2);
|
|
@@ -14618,8 +14723,18 @@ function convertAst(ast, cpl) {
|
|
|
14618
14723
|
}
|
|
14619
14724
|
} else if (ast instanceof LiteralPrimitive) {
|
|
14620
14725
|
return literal(ast.value);
|
|
14726
|
+
} else if (ast instanceof Binary) {
|
|
14727
|
+
const operator = BINARY_OPERATORS.get(ast.operation);
|
|
14728
|
+
if (operator === void 0) {
|
|
14729
|
+
throw new Error(`AssertionError: unknown binary operator ${ast.operation}`);
|
|
14730
|
+
}
|
|
14731
|
+
return new BinaryOperatorExpr(operator, convertAst(ast.left, cpl), convertAst(ast.right, cpl));
|
|
14621
14732
|
} else if (ast instanceof ThisReceiver) {
|
|
14622
14733
|
return new ContextExpr(cpl.root.xref);
|
|
14734
|
+
} else if (ast instanceof KeyedRead) {
|
|
14735
|
+
return new ReadKeyExpr(convertAst(ast.receiver, cpl), convertAst(ast.key, cpl));
|
|
14736
|
+
} else if (ast instanceof Chain) {
|
|
14737
|
+
throw new Error(`AssertionError: Chain in unknown context`);
|
|
14623
14738
|
} else {
|
|
14624
14739
|
throw new Error(`Unhandled expression type: ${ast.constructor.name}`);
|
|
14625
14740
|
}
|
|
@@ -14643,11 +14758,11 @@ function ingestAttributes(op, element2) {
|
|
|
14643
14758
|
}
|
|
14644
14759
|
function ingestBindings(view, op, element2) {
|
|
14645
14760
|
if (element2 instanceof Template) {
|
|
14646
|
-
for (const
|
|
14647
|
-
if (
|
|
14648
|
-
|
|
14649
|
-
view.update.push(createPropertyOp(op.xref, attr.name, convertAst(attr.value, view.tpl)));
|
|
14761
|
+
for (const input of [...element2.templateAttrs, ...element2.inputs]) {
|
|
14762
|
+
if (!(input instanceof BoundAttribute)) {
|
|
14763
|
+
continue;
|
|
14650
14764
|
}
|
|
14765
|
+
view.update.push(createPropertyOp(op.xref, input.name, convertAst(input.value, view.tpl)));
|
|
14651
14766
|
}
|
|
14652
14767
|
} else {
|
|
14653
14768
|
for (const input of element2.inputs) {
|
|
@@ -14655,7 +14770,26 @@ function ingestBindings(view, op, element2) {
|
|
|
14655
14770
|
}
|
|
14656
14771
|
for (const output of element2.outputs) {
|
|
14657
14772
|
const listenerOp = createListenerOp(op.xref, output.name, op.tag);
|
|
14658
|
-
|
|
14773
|
+
let inputExprs;
|
|
14774
|
+
let handler = output.handler;
|
|
14775
|
+
if (handler instanceof ASTWithSource) {
|
|
14776
|
+
handler = handler.ast;
|
|
14777
|
+
}
|
|
14778
|
+
if (handler instanceof Chain) {
|
|
14779
|
+
inputExprs = handler.expressions;
|
|
14780
|
+
} else {
|
|
14781
|
+
inputExprs = [handler];
|
|
14782
|
+
}
|
|
14783
|
+
if (inputExprs.length === 0) {
|
|
14784
|
+
throw new Error("Expected listener to have non-empty expression list.");
|
|
14785
|
+
}
|
|
14786
|
+
const expressions = inputExprs.map((expr) => convertAst(expr, view.tpl));
|
|
14787
|
+
const returnExpr = expressions.pop();
|
|
14788
|
+
for (const expr of expressions) {
|
|
14789
|
+
const stmtOp = createStatementOp(new ExpressionStatement(expr));
|
|
14790
|
+
listenerOp.handlerOps.push(stmtOp);
|
|
14791
|
+
}
|
|
14792
|
+
listenerOp.handlerOps.push(createStatementOp(new ReturnStatement(returnExpr)));
|
|
14659
14793
|
view.create.push(listenerOp);
|
|
14660
14794
|
}
|
|
14661
14795
|
}
|
|
@@ -22980,6 +23114,9 @@ function baseDirectiveFields(meta, constantPool, bindingParser) {
|
|
|
22980
23114
|
if (meta.isStandalone) {
|
|
22981
23115
|
definitionMap.set("standalone", literal(true));
|
|
22982
23116
|
}
|
|
23117
|
+
if (meta.isSignal) {
|
|
23118
|
+
definitionMap.set("signals", literal(true));
|
|
23119
|
+
}
|
|
22983
23120
|
return definitionMap;
|
|
22984
23121
|
}
|
|
22985
23122
|
function addFeatures(definitionMap, meta) {
|
|
@@ -22987,6 +23124,7 @@ function addFeatures(definitionMap, meta) {
|
|
|
22987
23124
|
const features = [];
|
|
22988
23125
|
const providers = meta.providers;
|
|
22989
23126
|
const viewProviders = meta.viewProviders;
|
|
23127
|
+
const inputKeys = Object.keys(meta.inputs);
|
|
22990
23128
|
if (providers || viewProviders) {
|
|
22991
23129
|
const args = [providers || new LiteralArrayExpr([])];
|
|
22992
23130
|
if (viewProviders) {
|
|
@@ -22994,6 +23132,12 @@ function addFeatures(definitionMap, meta) {
|
|
|
22994
23132
|
}
|
|
22995
23133
|
features.push(importExpr(Identifiers.ProvidersFeature).callFn(args));
|
|
22996
23134
|
}
|
|
23135
|
+
for (const key of inputKeys) {
|
|
23136
|
+
if (meta.inputs[key].transformFunction !== null) {
|
|
23137
|
+
features.push(importExpr(Identifiers.InputTransformsFeatureFeature));
|
|
23138
|
+
break;
|
|
23139
|
+
}
|
|
23140
|
+
}
|
|
22997
23141
|
if (meta.usesInheritance) {
|
|
22998
23142
|
features.push(importExpr(Identifiers.InheritDefinitionFeature));
|
|
22999
23143
|
}
|
|
@@ -23105,6 +23249,7 @@ function createComponentType(meta) {
|
|
|
23105
23249
|
typeParams.push(stringArrayAsType(meta.template.ngContentSelectors));
|
|
23106
23250
|
typeParams.push(expressionType(literal(meta.isStandalone)));
|
|
23107
23251
|
typeParams.push(createHostDirectivesType(meta));
|
|
23252
|
+
typeParams.push(expressionType(literal(meta.isSignal)));
|
|
23108
23253
|
return expressionType(importExpr(Identifiers.ComponentDeclaration, typeParams));
|
|
23109
23254
|
}
|
|
23110
23255
|
function compileDeclarationList(list2, mode) {
|
|
@@ -23204,6 +23349,7 @@ function createDirectiveType(meta) {
|
|
|
23204
23349
|
typeParams.push(NONE_TYPE);
|
|
23205
23350
|
typeParams.push(expressionType(literal(meta.isStandalone)));
|
|
23206
23351
|
typeParams.push(createHostDirectivesType(meta));
|
|
23352
|
+
typeParams.push(expressionType(literal(meta.isSignal)));
|
|
23207
23353
|
return expressionType(importExpr(Identifiers.DirectiveDeclaration, typeParams));
|
|
23208
23354
|
}
|
|
23209
23355
|
function createViewQueriesFunction(viewQueries, constantPool, name) {
|
|
@@ -23708,7 +23854,8 @@ function convertDirectiveFacadeToMetadata(facade) {
|
|
|
23708
23854
|
inputsFromType[field] = {
|
|
23709
23855
|
bindingPropertyName: ann.alias || field,
|
|
23710
23856
|
classPropertyName: field,
|
|
23711
|
-
required: ann.required || false
|
|
23857
|
+
required: ann.required || false,
|
|
23858
|
+
transformFunction: ann.transform != null ? new WrappedNodeExpr(ann.transform) : null
|
|
23712
23859
|
};
|
|
23713
23860
|
} else if (isOutput(ann)) {
|
|
23714
23861
|
outputsFromType[field] = ann.alias || field;
|
|
@@ -23732,7 +23879,7 @@ function convertDirectiveFacadeToMetadata(facade) {
|
|
|
23732
23879
|
});
|
|
23733
23880
|
}
|
|
23734
23881
|
function convertDeclareDirectiveFacadeToMetadata(declaration, typeSourceSpan) {
|
|
23735
|
-
var _a2, _b, _c, _d, _e, _f, _g, _h;
|
|
23882
|
+
var _a2, _b, _c, _d, _e, _f, _g, _h, _i;
|
|
23736
23883
|
return {
|
|
23737
23884
|
name: declaration.type.name,
|
|
23738
23885
|
type: wrapReference(declaration.type),
|
|
@@ -23751,6 +23898,7 @@ function convertDeclareDirectiveFacadeToMetadata(declaration, typeSourceSpan) {
|
|
|
23751
23898
|
typeArgumentCount: 0,
|
|
23752
23899
|
fullInheritance: false,
|
|
23753
23900
|
isStandalone: (_h = declaration.isStandalone) != null ? _h : false,
|
|
23901
|
+
isSignal: (_i = declaration.isSignal) != null ? _i : false,
|
|
23754
23902
|
hostDirectives: convertHostDirectivesToMetadata(declaration)
|
|
23755
23903
|
};
|
|
23756
23904
|
}
|
|
@@ -23943,7 +24091,21 @@ function isOutput(value) {
|
|
|
23943
24091
|
function inputsMappingToInputMetadata(inputs) {
|
|
23944
24092
|
return Object.keys(inputs).reduce((result, key) => {
|
|
23945
24093
|
const value = inputs[key];
|
|
23946
|
-
|
|
24094
|
+
if (typeof value === "string") {
|
|
24095
|
+
result[key] = {
|
|
24096
|
+
bindingPropertyName: value,
|
|
24097
|
+
classPropertyName: value,
|
|
24098
|
+
transformFunction: null,
|
|
24099
|
+
required: false
|
|
24100
|
+
};
|
|
24101
|
+
} else {
|
|
24102
|
+
result[key] = {
|
|
24103
|
+
bindingPropertyName: value[0],
|
|
24104
|
+
classPropertyName: value[1],
|
|
24105
|
+
transformFunction: value[2] || null,
|
|
24106
|
+
required: false
|
|
24107
|
+
};
|
|
24108
|
+
}
|
|
23947
24109
|
return result;
|
|
23948
24110
|
}, {});
|
|
23949
24111
|
}
|
|
@@ -23951,12 +24113,18 @@ function parseInputsArray(values) {
|
|
|
23951
24113
|
return values.reduce((results, value) => {
|
|
23952
24114
|
if (typeof value === "string") {
|
|
23953
24115
|
const [bindingPropertyName, classPropertyName] = parseMappingString(value);
|
|
23954
|
-
results[classPropertyName] = {
|
|
24116
|
+
results[classPropertyName] = {
|
|
24117
|
+
bindingPropertyName,
|
|
24118
|
+
classPropertyName,
|
|
24119
|
+
required: false,
|
|
24120
|
+
transformFunction: null
|
|
24121
|
+
};
|
|
23955
24122
|
} else {
|
|
23956
24123
|
results[value.name] = {
|
|
23957
24124
|
bindingPropertyName: value.alias || value.name,
|
|
23958
24125
|
classPropertyName: value.name,
|
|
23959
|
-
required: value.required || false
|
|
24126
|
+
required: value.required || false,
|
|
24127
|
+
transformFunction: value.transform != null ? new WrappedNodeExpr(value.transform) : null
|
|
23960
24128
|
};
|
|
23961
24129
|
}
|
|
23962
24130
|
return results;
|
|
@@ -23997,7 +24165,7 @@ function publishFacade(global2) {
|
|
|
23997
24165
|
const ng = global2.ng || (global2.ng = {});
|
|
23998
24166
|
ng.\u0275compilerFacade = new CompilerFacadeImpl();
|
|
23999
24167
|
}
|
|
24000
|
-
var VERSION = new Version("16.0.
|
|
24168
|
+
var VERSION = new Version("16.1.0-next.3");
|
|
24001
24169
|
var _VisitorMode;
|
|
24002
24170
|
(function(_VisitorMode2) {
|
|
24003
24171
|
_VisitorMode2[_VisitorMode2["Extract"] = 0] = "Extract";
|
|
@@ -25936,7 +26104,7 @@ ${[...componentsToMigrate].join("\n")}`);
|
|
|
25936
26104
|
* found in the LICENSE file at https://angular.io/license
|
|
25937
26105
|
*/
|
|
25938
26106
|
/**
|
|
25939
|
-
* @license Angular v16.0.
|
|
26107
|
+
* @license Angular v16.1.0-next.3
|
|
25940
26108
|
* (c) 2010-2022 Google LLC. https://angular.io/
|
|
25941
26109
|
* License: MIT
|
|
25942
26110
|
*/
|