@angular/material 20.0.0-next.6 → 20.0.0-next.7
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/_autocomplete-theme.scss +1 -1
- package/autocomplete/index.d.ts +9 -10
- package/autocomplete/testing/index.d.ts +2 -2
- package/badge/_badge-theme.scss +1 -1
- package/badge/index.d.ts +5 -5
- package/badge/testing/index.d.ts +2 -2
- package/{badge.d-619691fb.d.ts → badge.d-BUeRGv1E.d.ts} +3 -3
- package/bottom-sheet/_bottom-sheet-theme.scss +1 -1
- package/bottom-sheet/index.d.ts +3 -2
- package/button/_button-theme.scss +6 -1
- package/button/_fab-theme.scss +5 -1
- package/button/_icon-button-theme.scss +6 -1
- package/button/_m3-button.scss +22 -5
- package/button/_m3-fab.scss +13 -0
- package/button/_m3-icon-button.scss +15 -1
- package/button/index.d.ts +215 -8
- package/button-toggle/_button-toggle-theme.scss +6 -1
- package/button-toggle/_m3-button-toggle.scss +13 -0
- package/button-toggle/index.d.ts +6 -6
- package/button-toggle/testing/index.d.ts +1 -1
- package/{button-toggle.d-620c8912.d.ts → button-toggle.d-cP94fe1M.d.ts} +3 -3
- package/card/_card-theme.scss +1 -1
- package/card/index.d.ts +1 -1
- package/checkbox/_checkbox-theme.scss +6 -1
- package/checkbox/_m3-checkbox.scss +14 -1
- package/checkbox/index.d.ts +2 -2
- package/chips/_chips-theme.scss +5 -1
- package/chips/_m3-chip.scss +13 -0
- package/chips/index.d.ts +17 -5
- package/{common-module.d-421e3498.d.ts → common-module.d-CUT8AqiB.d.ts} +2 -2
- package/core/_core-theme.scss +1 -1
- package/core/density/private/_all-density.scss +38 -38
- package/core/index.d.ts +15 -15
- package/core/option/_optgroup-theme.scss +1 -1
- package/core/option/_option-theme.scss +1 -1
- package/core/ripple/_ripple-theme.scss +1 -1
- package/core/testing/index.d.ts +32 -3
- package/core/theming/_definition.scss +0 -1
- package/core/theming/_inspection.scss +1 -0
- package/core/tokens/_m3-system.scss +49 -9
- package/core/tokens/_m3-tokens.scss +0 -18
- package/core/tokens/_token-utils.scss +5 -0
- package/{date-adapter.d-e8299690.d.ts → date-adapter.d-DzP3EMeE.d.ts} +1 -1
- package/{date-range-input-harness.d-440b288d.d.ts → date-range-input-harness.d-CJDdddpn.d.ts} +3 -3
- package/datepicker/_datepicker-theme.scss +1 -1
- package/datepicker/index.d.ts +14 -9
- package/datepicker/testing/index.d.ts +4 -4
- package/dialog/_dialog-theme.scss +1 -1
- package/dialog/index.d.ts +5 -5
- package/dialog/testing/index.d.ts +1 -1
- package/{dialog.d-2ea3eab1.d.ts → dialog.d-DSidcNPx.d.ts} +2 -2
- package/divider/_divider-theme.scss +1 -1
- package/divider/index.d.ts +24 -4
- package/divider/testing/index.d.ts +15 -2
- package/{error-options.d-059d9639.d.ts → error-options.d-C1yXmo10.d.ts} +1 -1
- package/expansion/_expansion-theme.scss +6 -1
- package/expansion/_m3-expansion.scss +14 -0
- package/expansion/index.d.ts +1 -1
- package/fesm2022/{animation-e58fc357.mjs → animation-DYWs964N.mjs} +2 -2
- package/fesm2022/{animation-e58fc357.mjs.map → animation-DYWs964N.mjs.map} +1 -1
- package/fesm2022/autocomplete/testing.mjs +2 -2
- package/fesm2022/autocomplete/testing.mjs.map +1 -1
- package/fesm2022/autocomplete.mjs +15 -15
- package/fesm2022/autocomplete.mjs.map +1 -1
- package/fesm2022/badge/testing.mjs.map +1 -1
- package/fesm2022/badge.mjs +5 -5
- package/fesm2022/badge.mjs.map +1 -1
- package/fesm2022/bottom-sheet/testing.mjs.map +1 -1
- package/fesm2022/bottom-sheet.mjs +13 -5
- 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 +9 -9
- package/fesm2022/button-toggle.mjs.map +1 -1
- package/fesm2022/button.mjs +218 -9
- package/fesm2022/button.mjs.map +1 -1
- package/fesm2022/card/testing.mjs.map +1 -1
- package/fesm2022/card.mjs +4 -4
- package/fesm2022/card.mjs.map +1 -1
- package/fesm2022/checkbox/testing.mjs.map +1 -1
- package/fesm2022/checkbox.mjs +8 -8
- package/fesm2022/checkbox.mjs.map +1 -1
- package/fesm2022/chips/testing.mjs.map +1 -1
- package/fesm2022/chips.mjs +38 -22
- package/fesm2022/chips.mjs.map +1 -1
- package/fesm2022/{common-module-6bff0328.mjs → common-module-BTLyTce6.mjs} +2 -2
- package/fesm2022/{common-module-6bff0328.mjs.map → common-module-BTLyTce6.mjs.map} +1 -1
- package/fesm2022/core/testing.mjs +35 -3
- package/fesm2022/core/testing.mjs.map +1 -1
- package/fesm2022/core.mjs +18 -18
- package/fesm2022/core.mjs.map +1 -1
- package/fesm2022/{date-formats-9cbc3057.mjs → date-formats-BQbO9F6H.mjs} +2 -2
- package/fesm2022/{date-formats-9cbc3057.mjs.map → date-formats-BQbO9F6H.mjs.map} +1 -1
- package/fesm2022/{date-range-input-harness-3d3cf01a.mjs → date-range-input-harness-qhTX-DXo.mjs} +3 -3
- package/fesm2022/{date-range-input-harness-3d3cf01a.mjs.map → date-range-input-harness-qhTX-DXo.mjs.map} +1 -1
- package/fesm2022/datepicker/testing.mjs +3 -3
- package/fesm2022/datepicker/testing.mjs.map +1 -1
- package/fesm2022/datepicker.mjs +38 -29
- package/fesm2022/datepicker.mjs.map +1 -1
- package/fesm2022/dialog/testing.mjs +4 -4
- package/fesm2022/dialog/testing.mjs.map +1 -1
- package/fesm2022/dialog.mjs +3 -3
- package/fesm2022/dialog.mjs.map +1 -1
- package/fesm2022/divider/testing.mjs +17 -2
- package/fesm2022/divider/testing.mjs.map +1 -1
- package/fesm2022/divider.mjs +55 -4
- package/fesm2022/divider.mjs.map +1 -1
- package/fesm2022/{error-options-e22abc6f.mjs → error-options-f2L_D2TV.mjs} +2 -2
- package/fesm2022/{error-options-e22abc6f.mjs.map → error-options-f2L_D2TV.mjs.map} +1 -1
- package/fesm2022/{error-state-5fa5df66.mjs → error-state-DAicm3pw.mjs} +2 -2
- package/fesm2022/{error-state-5fa5df66.mjs.map → error-state-DAicm3pw.mjs.map} +1 -1
- package/fesm2022/expansion/testing.mjs.map +1 -1
- package/fesm2022/expansion.mjs +8 -8
- package/fesm2022/expansion.mjs.map +1 -1
- package/fesm2022/form-field/testing/control.mjs +10 -2
- package/fesm2022/form-field/testing/control.mjs.map +1 -1
- package/fesm2022/form-field/testing.mjs +6 -6
- package/fesm2022/form-field/testing.mjs.map +1 -1
- package/fesm2022/{form-field-ba7d9525.mjs → form-field-DXXhIBX2.mjs} +25 -7
- package/fesm2022/form-field-DXXhIBX2.mjs.map +1 -0
- package/fesm2022/form-field.mjs +4 -4
- package/fesm2022/grid-list/testing.mjs +2 -2
- package/fesm2022/grid-list/testing.mjs.map +1 -1
- package/fesm2022/grid-list.mjs +10 -11
- package/fesm2022/grid-list.mjs.map +1 -1
- package/fesm2022/icon/testing.mjs +1 -1
- package/fesm2022/icon/testing.mjs.map +1 -1
- package/fesm2022/{icon-button-c94ccf8a.mjs → icon-button-SnLX2J-J.mjs} +8 -8
- package/fesm2022/{icon-button-c94ccf8a.mjs.map → icon-button-SnLX2J-J.mjs.map} +1 -1
- package/fesm2022/{icon-registry-4f5f0eba.mjs → icon-registry-C2Nxi8Mq.mjs} +3 -3
- package/fesm2022/{icon-registry-4f5f0eba.mjs.map → icon-registry-C2Nxi8Mq.mjs.map} +1 -1
- package/fesm2022/icon.mjs +397 -9
- package/fesm2022/icon.mjs.map +1 -1
- package/fesm2022/{index-33bb4181.mjs → index-CYUgEsfZ.mjs} +6 -6
- package/fesm2022/{index-33bb4181.mjs.map → index-CYUgEsfZ.mjs.map} +1 -1
- package/fesm2022/{index-975cf4ab.mjs → index-D7tf-UtR.mjs} +4 -4
- package/fesm2022/{index-975cf4ab.mjs.map → index-D7tf-UtR.mjs.map} +1 -1
- package/fesm2022/input/testing.mjs +2 -2
- package/fesm2022/input/testing.mjs.map +1 -1
- package/fesm2022/{input-harness-6ca0e4e7.mjs → input-harness-CxVp_q3n.mjs} +3 -3
- package/fesm2022/{input-harness-6ca0e4e7.mjs.map → input-harness-CxVp_q3n.mjs.map} +1 -1
- package/fesm2022/{input-value-accessor-16c2d528.mjs → input-value-accessor-cp3A3zMa.mjs} +2 -2
- package/fesm2022/{input-value-accessor-16c2d528.mjs.map → input-value-accessor-cp3A3zMa.mjs.map} +1 -1
- package/fesm2022/input.mjs +21 -29
- package/fesm2022/input.mjs.map +1 -1
- package/fesm2022/{internal-form-field-a658b1d3.mjs → internal-form-field-Bq9jLDgy.mjs} +5 -5
- package/fesm2022/{internal-form-field-a658b1d3.mjs.map → internal-form-field-Bq9jLDgy.mjs.map} +1 -1
- package/fesm2022/{line-fa9011f8.mjs → line-DI2_SkWl.mjs} +3 -3
- package/fesm2022/{line-fa9011f8.mjs.map → line-DI2_SkWl.mjs.map} +1 -1
- package/fesm2022/list/testing.mjs +1 -1
- package/fesm2022/list/testing.mjs.map +1 -1
- package/fesm2022/list.mjs +21 -21
- package/fesm2022/list.mjs.map +1 -1
- package/fesm2022/menu/testing.mjs.map +1 -1
- package/fesm2022/menu.mjs +8 -8
- package/fesm2022/menu.mjs.map +1 -1
- package/fesm2022/{module-f0bd6006.mjs → module-BIHXUA0w.mjs} +4 -4
- package/fesm2022/{module-f0bd6006.mjs.map → module-BIHXUA0w.mjs.map} +1 -1
- package/fesm2022/{module-7aee2437.mjs → module-Bj-soMIE.mjs} +7 -7
- package/fesm2022/{module-7aee2437.mjs.map → module-Bj-soMIE.mjs.map} +1 -1
- package/fesm2022/{module-9e568fe9.mjs → module-Bj_BSG1B.mjs} +23 -14
- package/fesm2022/{module-9e568fe9.mjs.map → module-Bj_BSG1B.mjs.map} +1 -1
- package/fesm2022/{module-f09a8c90.mjs → module-nTxiyWBy.mjs} +11 -11
- package/fesm2022/{module-f09a8c90.mjs.map → module-nTxiyWBy.mjs.map} +1 -1
- package/fesm2022/{option-2e7efc25.mjs → option-Ce_vIVuD.mjs} +10 -10
- package/fesm2022/{option-2e7efc25.mjs.map → option-Ce_vIVuD.mjs.map} +1 -1
- package/fesm2022/{option-harness-4cd4ee4e.mjs → option-harness-D_dpAU04.mjs} +2 -2
- package/fesm2022/{option-harness-4cd4ee4e.mjs.map → option-harness-D_dpAU04.mjs.map} +1 -1
- package/fesm2022/paginator/testing.mjs +4 -4
- package/fesm2022/paginator/testing.mjs.map +1 -1
- package/fesm2022/paginator.mjs +22 -22
- package/fesm2022/paginator.mjs.map +1 -1
- package/fesm2022/progress-bar/testing.mjs.map +1 -1
- package/fesm2022/progress-bar.mjs +5 -5
- package/fesm2022/progress-bar.mjs.map +1 -1
- package/fesm2022/progress-spinner/testing.mjs.map +1 -1
- package/fesm2022/progress-spinner.mjs +5 -5
- package/fesm2022/progress-spinner.mjs.map +1 -1
- package/fesm2022/{pseudo-checkbox-module-22aca2eb.mjs → pseudo-checkbox-module-B1fNUV1l.mjs} +4 -4
- package/fesm2022/{pseudo-checkbox-module-22aca2eb.mjs.map → pseudo-checkbox-module-B1fNUV1l.mjs.map} +1 -1
- package/fesm2022/{pseudo-checkbox-7c1050cc.mjs → pseudo-checkbox-rb5Qj2XH.mjs} +6 -6
- package/fesm2022/{pseudo-checkbox-7c1050cc.mjs.map → pseudo-checkbox-rb5Qj2XH.mjs.map} +1 -1
- package/fesm2022/{public-api-af61bf48.mjs → public-api-B95TI2uI.mjs} +2 -2
- package/fesm2022/{public-api-af61bf48.mjs.map → public-api-B95TI2uI.mjs.map} +1 -1
- package/fesm2022/radio/testing.mjs.map +1 -1
- package/fesm2022/radio.mjs +9 -9
- package/fesm2022/radio.mjs.map +1 -1
- package/fesm2022/{ripple-loader-9a207cda.mjs → ripple-loader-R9v4tIlx.mjs} +4 -4
- package/fesm2022/{ripple-loader-9a207cda.mjs.map → ripple-loader-R9v4tIlx.mjs.map} +1 -1
- package/fesm2022/{ripple-ca34ab3c.mjs → ripple-t-kasrhF.mjs} +6 -6
- package/fesm2022/{ripple-ca34ab3c.mjs.map → ripple-t-kasrhF.mjs.map} +1 -1
- package/fesm2022/select/testing.mjs +122 -5
- package/fesm2022/select/testing.mjs.map +1 -1
- package/fesm2022/select.mjs +14 -14
- package/fesm2022/sidenav/testing.mjs.map +1 -1
- package/fesm2022/sidenav.mjs +7 -7
- package/fesm2022/sidenav.mjs.map +1 -1
- package/fesm2022/slide-toggle/testing.mjs.map +1 -1
- package/fesm2022/slide-toggle.mjs +8 -8
- package/fesm2022/slide-toggle.mjs.map +1 -1
- package/fesm2022/slider/testing.mjs.map +1 -1
- package/fesm2022/slider.mjs +10 -10
- package/fesm2022/slider.mjs.map +1 -1
- package/fesm2022/snack-bar/testing.mjs.map +1 -1
- package/fesm2022/snack-bar.mjs +14 -14
- package/fesm2022/snack-bar.mjs.map +1 -1
- package/fesm2022/sort/testing.mjs.map +1 -1
- package/fesm2022/sort.mjs +6 -6
- package/fesm2022/sort.mjs.map +1 -1
- package/fesm2022/stepper/testing.mjs.map +1 -1
- package/fesm2022/stepper.mjs +13 -13
- package/fesm2022/stepper.mjs.map +1 -1
- package/fesm2022/{structural-styles-fe60c44d.mjs → structural-styles-BcST1BXh.mjs} +5 -5
- package/fesm2022/{structural-styles-fe60c44d.mjs.map → structural-styles-BcST1BXh.mjs.map} +1 -1
- package/fesm2022/table/testing.mjs.map +1 -1
- package/fesm2022/table.mjs +6 -6
- package/fesm2022/table.mjs.map +1 -1
- package/fesm2022/tabs/testing.mjs.map +1 -1
- package/fesm2022/tabs.mjs +15 -15
- package/fesm2022/tabs.mjs.map +1 -1
- package/fesm2022/timepicker/testing.mjs +1 -1
- package/fesm2022/timepicker/testing.mjs.map +1 -1
- package/fesm2022/timepicker.mjs +13 -13
- package/fesm2022/timepicker.mjs.map +1 -1
- package/fesm2022/toolbar/testing.mjs.map +1 -1
- package/fesm2022/toolbar.mjs +4 -4
- package/fesm2022/toolbar.mjs.map +1 -1
- package/fesm2022/tooltip/testing.mjs.map +1 -1
- package/fesm2022/tooltip.mjs +3 -3
- package/fesm2022/tree/testing.mjs.map +1 -1
- package/fesm2022/tree.mjs +4 -4
- package/fesm2022/tree.mjs.map +1 -1
- package/form-field/_form-field-theme.scss +6 -1
- package/form-field/_m3-form-field.scss +17 -0
- package/form-field/index.d.ts +5 -5
- package/form-field/testing/control/index.d.ts +10 -2
- package/form-field/testing/index.d.ts +7 -8
- package/{form-field-control.d-9ed49092.d.ts → form-field-control.d-39fAGkWp.d.ts} +3 -1
- package/{form-field.d-486f4e86.d.ts → form-field.d-DeaA8Upo.d.ts} +5 -4
- package/grid-list/_grid-list-theme.scss +1 -1
- package/grid-list/index.d.ts +3 -4
- package/icon/_icon-theme.scss +1 -1
- package/icon/index.d.ts +4 -4
- package/icon/testing/index.d.ts +1 -1
- package/{icon-module.d-a4b3b1e1.d.ts → icon-module.d-BeibE7j0.d.ts} +5 -5
- package/{icon-registry.d-6dd1799a.d.ts → icon-registry.d-DyR40vgq.d.ts} +2 -2
- package/{index.d-511f9e6c.d.ts → index.d-_XdEyDn3.d.ts} +3 -3
- package/{index.d-73f24bb1.d.ts → index.d-osnm7rw7.d.ts} +5 -5
- package/input/_input-theme.scss +1 -1
- package/input/index.d.ts +15 -12
- package/input/testing/index.d.ts +2 -2
- package/{input-harness.d-be80831e.d.ts → input-harness.d-C1zsmszC.d.ts} +3 -3
- package/{line.d-712398cb.d.ts → line.d-OCn_JHOE.d.ts} +2 -2
- package/list/_list-theme.scss +5 -1
- package/list/_m3-list.scss +17 -3
- package/list/index.d.ts +9 -10
- package/list/testing/index.d.ts +2 -2
- package/{list-option-types.d-076a5300.d.ts → list-option-types.d-BcmY3SsC.d.ts} +1 -1
- package/menu/_menu-theme.scss +1 -1
- package/menu/index.d.ts +4 -4
- package/{module.d-f55544a0.d.ts → module.d-Cym1ScGE.d.ts} +5 -5
- package/{module.d-8839a0c2.d.ts → module.d-D0Yb5xFi.d.ts} +16 -11
- package/{module.d-683b2a19.d.ts → module.d-_FxAFBZR.d.ts} +3 -3
- package/{option-harness.d-4f143bc0.d.ts → option-harness.d-BpYClwei.d.ts} +2 -2
- package/{option-parent.d-d4243d2f.d.ts → option-parent.d-CvnRKBST.d.ts} +2 -2
- package/{option.d-4fb11594.d.ts → option.d-ef4idHSb.d.ts} +1 -1
- package/package.json +2 -2
- package/paginator/_m3-paginator.scss +16 -0
- package/paginator/_paginator-theme.scss +6 -1
- package/paginator/index.d.ts +19 -19
- package/paginator/testing/index.d.ts +4 -4
- package/{paginator.d-181ff014.d.ts → paginator.d-Ctdtnt7L.d.ts} +5 -5
- package/{palette.d-1d8ebc0d.d.ts → palette.d-fF1us9u8.d.ts} +1 -1
- package/prebuilt-themes/azure-blue.css +1 -1
- package/prebuilt-themes/cyan-orange.css +1 -1
- package/prebuilt-themes/deeppurple-amber.css +1 -1
- package/prebuilt-themes/indigo-pink.css +1 -1
- package/prebuilt-themes/magenta-violet.css +1 -1
- package/prebuilt-themes/pink-bluegrey.css +1 -1
- package/prebuilt-themes/purple-green.css +1 -1
- package/prebuilt-themes/rose-red.css +1 -1
- package/progress-bar/index.d.ts +2 -2
- package/progress-spinner/index.d.ts +5 -5
- package/progress-spinner/testing/index.d.ts +2 -2
- package/{progress-spinner.d-c723a559.d.ts → progress-spinner.d-DRWEU4qb.d.ts} +3 -3
- package/{pseudo-checkbox-module.d-42351ab6.d.ts → pseudo-checkbox-module.d-czRCRd5m.d.ts} +3 -3
- package/radio/_m3-radio.scss +14 -1
- package/radio/_radio-theme.scss +5 -1
- package/radio/index.d.ts +5 -5
- package/{ripple-loader.d-f51e5eb6.d.ts → ripple-loader.d-DL-hT7NH.d.ts} +1 -1
- package/{ripple.d-305c30f3.d.ts → ripple.d-DBFnJ3Aa.d.ts} +3 -3
- package/schematics/ng-add/index.js +1 -1
- package/schematics/ng-generate/theme-color/index_bundled.js +3829 -3941
- package/schematics/ng-generate/theme-color/index_bundled.js.map +3 -4
- package/select/_m3-select.scss +13 -0
- package/select/_select-theme.scss +6 -1
- package/select/index.d.ts +12 -12
- package/select/testing/index.d.ts +64 -5
- package/sidenav/_sidenav-theme.scss +1 -1
- package/sidenav/index.d.ts +2 -2
- package/sidenav/testing/index.d.ts +1 -1
- package/slide-toggle/_slide-toggle-theme.scss +1 -1
- package/slide-toggle/index.d.ts +2 -2
- package/slider/_slider-theme.scss +1 -1
- package/slider/index.d.ts +5 -5
- package/snack-bar/index.d.ts +7 -7
- package/sort/_sort-theme.scss +1 -1
- package/sort/index.d.ts +5 -6
- package/sort/testing/index.d.ts +1 -1
- package/{sort-direction.d-52bce05e.d.ts → sort-direction.d-Dlz8961P.d.ts} +1 -1
- package/{sort.d-7718b3de.d.ts → sort.d-CHu7FXsP.d.ts} +4 -4
- package/stepper/_m3-stepper.scss +13 -0
- package/stepper/_stepper-theme.scss +6 -1
- package/stepper/index.d.ts +6 -6
- package/table/_m3-table.scss +15 -0
- package/table/_table-theme.scss +5 -1
- package/table/index.d.ts +8 -8
- package/table/testing/index.d.ts +1 -1
- package/tabs/_m3-tabs.scss +13 -1
- package/tabs/_tabs-theme.scss +5 -1
- package/tabs/index.d.ts +4 -4
- package/timepicker/_timepicker-theme.scss +1 -1
- package/timepicker/index.d.ts +2 -2
- package/timepicker/testing/index.d.ts +1 -1
- package/toolbar/_m3-toolbar.scss +14 -0
- package/toolbar/_toolbar-theme.scss +6 -1
- package/toolbar/index.d.ts +1 -1
- package/tooltip/_tooltip-theme.scss +1 -1
- package/tooltip/index.d.ts +2 -2
- package/tree/_m3-tree.scss +13 -0
- package/tree/_tree-theme.scss +5 -1
- package/tree/index.d.ts +1 -1
- package/core/tokens/_density.scss +0 -151
- package/divider-harness.d-ee96b7aa.d.ts +0 -15
- package/divider-module.d-4305a1f1.d.ts +0 -24
- package/fesm2022/divider-harness-bea2a71d.mjs +0 -18
- package/fesm2022/divider-harness-bea2a71d.mjs.map +0 -1
- package/fesm2022/divider-module-15f4b7a3.mjs +0 -56
- package/fesm2022/divider-module-15f4b7a3.mjs.map +0 -1
- package/fesm2022/form-field-ba7d9525.mjs.map +0 -1
- package/fesm2022/form-field-control-harness-adcc773d.mjs +0 -11
- package/fesm2022/form-field-control-harness-adcc773d.mjs.map +0 -1
- package/fesm2022/icon-module-165b91b7.mjs +0 -395
- package/fesm2022/icon-module-165b91b7.mjs.map +0 -1
- package/fesm2022/module-f44de9b3.mjs +0 -214
- package/fesm2022/module-f44de9b3.mjs.map +0 -1
- package/fesm2022/optgroup-harness-d961ca3f.mjs +0 -36
- package/fesm2022/optgroup-harness-d961ca3f.mjs.map +0 -1
- package/fesm2022/select-harness-9656d727.mjs +0 -123
- package/fesm2022/select-harness-9656d727.mjs.map +0 -1
- package/form-field-control-harness.d-e3cf007b.d.ts +0 -10
- package/module.d-9a1d1c76.d.ts +0 -214
- package/optgroup-harness.d-c52f5a8b.d.ts +0 -32
- package/select-harness.d-485a3cf8.d.ts +0 -64
|
@@ -198,6 +198,10 @@ $_system-fallbacks: m3-system.create-system-fallbacks();
|
|
|
198
198
|
@return ();
|
|
199
199
|
}
|
|
200
200
|
$values: map.get($tokens, $prefix);
|
|
201
|
+
@if ($values == null) {
|
|
202
|
+
@return ();
|
|
203
|
+
}
|
|
204
|
+
|
|
201
205
|
$color-variant: map.get($options, color-variant);
|
|
202
206
|
$emit-overrides-only: map.get($options, emit-overrides-only);
|
|
203
207
|
@if $color-variant == null {
|
|
@@ -214,6 +218,7 @@ $_system-fallbacks: m3-system.create-system-fallbacks();
|
|
|
214
218
|
|
|
215
219
|
@error 'Invalid color variant: #{$color-variant}. #{$secondary-message}.';
|
|
216
220
|
}
|
|
221
|
+
|
|
217
222
|
@return if($emit-overrides-only, $overrides, map.merge($values, $overrides));
|
|
218
223
|
}
|
|
219
224
|
|
|
@@ -264,4 +264,4 @@ declare abstract class DateAdapter<D, L = any> {
|
|
|
264
264
|
clampDate(date: D, min?: D | null, max?: D | null): D;
|
|
265
265
|
}
|
|
266
266
|
|
|
267
|
-
export { DateAdapter
|
|
267
|
+
export { DateAdapter, MAT_DATE_LOCALE, MAT_DATE_LOCALE_FACTORY };
|
package/{date-range-input-harness.d-440b288d.d.ts → date-range-input-harness.d-CJDdddpn.d.ts}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { BaseHarnessFilters, ComponentHarness, HarnessPredicate } from '@angular/cdk/testing';
|
|
2
|
-
import {
|
|
2
|
+
import { MatFormFieldControlHarness } from './form-field/testing/control/index.js';
|
|
3
3
|
|
|
4
4
|
/** A set of criteria that can be used to filter a list of datepicker input instances. */
|
|
5
5
|
interface DatepickerInputHarnessFilters extends BaseHarnessFilters {
|
|
@@ -275,5 +275,5 @@ declare class MatDateRangeInputHarness extends DatepickerTriggerHarnessBase {
|
|
|
275
275
|
protected _openCalendar(): Promise<void>;
|
|
276
276
|
}
|
|
277
277
|
|
|
278
|
-
export {
|
|
279
|
-
export type { CalendarHarnessFilters
|
|
278
|
+
export { CalendarView, DatepickerTriggerHarnessBase, MatCalendarCellHarness, MatCalendarHarness, MatDateRangeInputHarness, MatDatepickerInputHarness, MatEndDateHarness, MatStartDateHarness };
|
|
279
|
+
export type { CalendarCellHarnessFilters, CalendarHarnessFilters, DateRangeInputHarnessFilters, DatepickerInputHarnessFilters, DatepickerToggleHarnessFilters };
|
|
@@ -120,7 +120,7 @@ $calendar-weekday-table-font-size: 11px !default;
|
|
|
120
120
|
/// @param {Map} $theme The theme to generate density styles for.
|
|
121
121
|
@mixin density($theme) {
|
|
122
122
|
@if inspection.get-theme-version($theme) == 1 {
|
|
123
|
-
|
|
123
|
+
// There are no M3 density tokens for this component
|
|
124
124
|
} @else {
|
|
125
125
|
// TODO(crisbeto): move this into the structural styles
|
|
126
126
|
// once the icon button density is switched to tokens.
|
package/datepicker/index.d.ts
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { OnChanges, OnDestroy, AfterViewChecked, EventEmitter, SimpleChanges, FactoryProvider, AfterContentInit, ChangeDetectorRef, AfterViewInit, ElementRef, InjectionToken, OnInit, DoCheck, TemplateRef } from '@angular/core';
|
|
3
|
-
import {
|
|
3
|
+
import { MatButton, MatButtonModule } from '../button/index.js';
|
|
4
4
|
import * as i2 from '@angular/cdk/overlay';
|
|
5
5
|
import { ScrollStrategy, Overlay } from '@angular/cdk/overlay';
|
|
6
6
|
import * as i1 from '@angular/cdk/a11y';
|
|
7
7
|
import { FocusOrigin } from '@angular/cdk/a11y';
|
|
8
8
|
import * as i3 from '@angular/cdk/portal';
|
|
9
9
|
import { ComponentType, Portal, TemplatePortal } from '@angular/cdk/portal';
|
|
10
|
-
import {
|
|
10
|
+
import { MatCommonModule } from '../common-module.d-CUT8AqiB.js';
|
|
11
11
|
import { Observable, Subject } from 'rxjs';
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
12
|
+
import { DateAdapter } from '../date-adapter.d-DzP3EMeE.js';
|
|
13
|
+
import { ThemePalette } from '../palette.d-fF1us9u8.js';
|
|
14
14
|
import { ControlValueAccessor, Validator, ValidatorFn, AbstractControl, ValidationErrors, NgForm, FormGroupDirective, NgControl } from '@angular/forms';
|
|
15
|
-
import {
|
|
15
|
+
import { MatFormFieldControl } from '../form-field-control.d-39fAGkWp.js';
|
|
16
16
|
import { Directionality } from '@angular/cdk/bidi';
|
|
17
|
-
import {
|
|
17
|
+
import { ErrorStateMatcher } from '../error-options.d-C1yXmo10.js';
|
|
18
18
|
import * as i5 from '@angular/cdk/scrolling';
|
|
19
|
-
import '../
|
|
20
|
-
import '../
|
|
19
|
+
import '../ripple-loader.d-DL-hT7NH.js';
|
|
20
|
+
import '../index.d-_XdEyDn3.js';
|
|
21
|
+
import '../ripple.d-DBFnJ3Aa.js';
|
|
21
22
|
import '@angular/cdk/platform';
|
|
22
|
-
import '../ripple-loader.d-f51e5eb6.js';
|
|
23
23
|
|
|
24
24
|
/** Extra CSS classes that can be associated with a calendar cell. */
|
|
25
25
|
type MatCalendarCellCssClasses = string | string[] | Set<string> | {
|
|
@@ -1637,6 +1637,11 @@ declare class MatDateRangeInput<D> implements MatFormFieldControl<DateRange<D>>,
|
|
|
1637
1637
|
*/
|
|
1638
1638
|
readonly disableAutomaticLabeling = true;
|
|
1639
1639
|
constructor(...args: unknown[]);
|
|
1640
|
+
/**
|
|
1641
|
+
* Implemented as part of MatFormFieldControl.
|
|
1642
|
+
* @docs-private
|
|
1643
|
+
*/
|
|
1644
|
+
get describedByIds(): string[];
|
|
1640
1645
|
/**
|
|
1641
1646
|
* Implemented as a part of `MatFormFieldControl`.
|
|
1642
1647
|
* @docs-private
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export {
|
|
1
|
+
import { DatepickerTriggerHarnessBase, DatepickerToggleHarnessFilters } from '../../date-range-input-harness.d-CJDdddpn.js';
|
|
2
|
+
export { CalendarCellHarnessFilters, CalendarHarnessFilters, CalendarView, DateRangeInputHarnessFilters, DatepickerInputHarnessFilters, MatCalendarCellHarness, MatCalendarHarness, MatDateRangeInputHarness, MatDatepickerInputHarness, MatEndDateHarness, MatStartDateHarness } from '../../date-range-input-harness.d-CJDdddpn.js';
|
|
3
3
|
import { HarnessPredicate } from '@angular/cdk/testing';
|
|
4
|
-
import '../../form-field
|
|
4
|
+
import '../../form-field/testing/control/index.js';
|
|
5
5
|
|
|
6
6
|
/** Harness for interacting with a standard Material datepicker toggle in tests. */
|
|
7
7
|
declare class MatDatepickerToggleHarness extends DatepickerTriggerHarnessBase {
|
|
@@ -22,4 +22,4 @@ declare class MatDatepickerToggleHarness extends DatepickerTriggerHarnessBase {
|
|
|
22
22
|
protected _openCalendar(): Promise<void>;
|
|
23
23
|
}
|
|
24
24
|
|
|
25
|
-
export { MatDatepickerToggleHarness };
|
|
25
|
+
export { DatepickerToggleHarnessFilters, MatDatepickerToggleHarness };
|
package/dialog/index.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export {
|
|
1
|
+
import { MatDialogRef, MatDialogContainer } from '../dialog.d-DSidcNPx.js';
|
|
2
|
+
export { AutoFocusTarget, DialogPosition, DialogRole, MAT_DIALOG_DATA, MAT_DIALOG_DEFAULT_OPTIONS, MAT_DIALOG_SCROLL_STRATEGY, MatDialog, MatDialogConfig, MatDialogState, _closeDialogVia } from '../dialog.d-DSidcNPx.js';
|
|
3
3
|
import * as i0 from '@angular/core';
|
|
4
|
-
import { OnInit, OnChanges, SimpleChanges
|
|
4
|
+
import { OnInit, OnDestroy, OnChanges, SimpleChanges } from '@angular/core';
|
|
5
5
|
import * as i5 from '@angular/cdk/scrolling';
|
|
6
6
|
import * as i1 from '@angular/cdk/dialog';
|
|
7
7
|
import * as i2 from '@angular/cdk/overlay';
|
|
8
8
|
import * as i3 from '@angular/cdk/portal';
|
|
9
|
-
import {
|
|
9
|
+
import { MatCommonModule } from '../common-module.d-CUT8AqiB.js';
|
|
10
10
|
import '@angular/cdk/bidi';
|
|
11
11
|
import '@angular/cdk/a11y';
|
|
12
12
|
import 'rxjs';
|
|
@@ -104,4 +104,4 @@ declare const matDialogAnimations: {
|
|
|
104
104
|
readonly dialogContainer: any;
|
|
105
105
|
};
|
|
106
106
|
|
|
107
|
-
export { MatDialogActions, MatDialogClose, MatDialogContent, MatDialogModule, MatDialogTitle, _defaultParams, matDialogAnimations };
|
|
107
|
+
export { MatDialogActions, MatDialogClose, MatDialogContainer, MatDialogContent, MatDialogModule, MatDialogRef, MatDialogTitle, _defaultParams, matDialogAnimations };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as _angular_cdk_testing from '@angular/cdk/testing';
|
|
2
2
|
import { BaseHarnessFilters, ContentContainerComponentHarness, ComponentHarnessConstructor, HarnessPredicate } from '@angular/cdk/testing';
|
|
3
|
-
import {
|
|
3
|
+
import { DialogRole, MatDialog, MatDialogConfig, MatDialogRef } from '../../dialog.d-DSidcNPx.js';
|
|
4
4
|
import { ComponentType } from '@angular/cdk/overlay';
|
|
5
5
|
import { OnDestroy } from '@angular/core';
|
|
6
6
|
import '@angular/cdk/bidi';
|
|
@@ -332,5 +332,5 @@ declare class MatDialog implements OnDestroy {
|
|
|
332
332
|
static ɵprov: i0.ɵɵInjectableDeclaration<MatDialog>;
|
|
333
333
|
}
|
|
334
334
|
|
|
335
|
-
export {
|
|
336
|
-
export type { AutoFocusTarget
|
|
335
|
+
export { MAT_DIALOG_DATA, MAT_DIALOG_DEFAULT_OPTIONS, MAT_DIALOG_SCROLL_STRATEGY, MatDialog, MatDialogConfig, MatDialogContainer, MatDialogRef, MatDialogState, _closeDialogVia };
|
|
336
|
+
export type { AutoFocusTarget, DialogPosition, DialogRole };
|
package/divider/index.d.ts
CHANGED
|
@@ -1,5 +1,25 @@
|
|
|
1
|
-
|
|
2
|
-
import '@angular/core';
|
|
3
|
-
import '../common-module.d-
|
|
1
|
+
import { BooleanInput } from '@angular/cdk/coercion';
|
|
2
|
+
import * as i0 from '@angular/core';
|
|
3
|
+
import { MatCommonModule } from '../common-module.d-CUT8AqiB.js';
|
|
4
4
|
import '@angular/cdk/bidi';
|
|
5
|
-
|
|
5
|
+
|
|
6
|
+
declare class MatDivider {
|
|
7
|
+
/** Whether the divider is vertically aligned. */
|
|
8
|
+
get vertical(): boolean;
|
|
9
|
+
set vertical(value: BooleanInput);
|
|
10
|
+
private _vertical;
|
|
11
|
+
/** Whether the divider is an inset divider. */
|
|
12
|
+
get inset(): boolean;
|
|
13
|
+
set inset(value: BooleanInput);
|
|
14
|
+
private _inset;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatDivider, never>;
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MatDivider, "mat-divider", never, { "vertical": { "alias": "vertical"; "required": false; }; "inset": { "alias": "inset"; "required": false; }; }, {}, never, never, true, never>;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
declare class MatDividerModule {
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatDividerModule, never>;
|
|
21
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<MatDividerModule, never, [typeof MatCommonModule, typeof MatDivider], [typeof MatDivider, typeof MatCommonModule]>;
|
|
22
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<MatDividerModule>;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
export { MatDivider, MatDividerModule };
|
|
@@ -1,2 +1,15 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { BaseHarnessFilters, ComponentHarness, HarnessPredicate } from '@angular/cdk/testing';
|
|
2
|
+
|
|
3
|
+
interface DividerHarnessFilters extends BaseHarnessFilters {
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
/** Harness for interacting with a `mat-divider`. */
|
|
7
|
+
declare class MatDividerHarness extends ComponentHarness {
|
|
8
|
+
static hostSelector: string;
|
|
9
|
+
static with(options?: DividerHarnessFilters): HarnessPredicate<MatDividerHarness>;
|
|
10
|
+
getOrientation(): Promise<'horizontal' | 'vertical'>;
|
|
11
|
+
isInset(): Promise<boolean>;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
export { MatDividerHarness };
|
|
15
|
+
export type { DividerHarnessFilters };
|
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
@use '../core/style/sass-utils';
|
|
7
7
|
@use '../core/tokens/token-utils';
|
|
8
8
|
@use './m2-expansion';
|
|
9
|
+
@use './m3-expansion';
|
|
9
10
|
|
|
10
11
|
@mixin base($theme) {
|
|
11
12
|
@if inspection.get-theme-version($theme) == 1 {
|
|
@@ -45,7 +46,8 @@
|
|
|
45
46
|
|
|
46
47
|
@mixin density($theme) {
|
|
47
48
|
@if inspection.get-theme-version($theme) == 1 {
|
|
48
|
-
@include
|
|
49
|
+
@include token-utils.create-token-values(
|
|
50
|
+
m3-expansion.$prefix, m3-expansion.get-density-tokens($theme));
|
|
49
51
|
} @else {
|
|
50
52
|
@include sass-utils.current-selector-or-root() {
|
|
51
53
|
@include token-utils.create-token-values-mixed(
|
|
@@ -72,6 +74,9 @@
|
|
|
72
74
|
@include theming.private-check-duplicate-theme-styles($theme, 'mat-expansion') {
|
|
73
75
|
@if inspection.get-theme-version($theme) == 1 {
|
|
74
76
|
@include _theme-from-tokens(inspection.get-theme-tokens($theme));
|
|
77
|
+
@if inspection.theme-has($theme, density) {
|
|
78
|
+
@include density($theme);
|
|
79
|
+
}
|
|
75
80
|
} @else {
|
|
76
81
|
@include base($theme);
|
|
77
82
|
@if inspection.theme-has($theme, color) {
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
@use 'sass:map';
|
|
2
|
+
@use 'sass:list';
|
|
2
3
|
@use '../core/style/sass-utils';
|
|
3
4
|
@use '../core/tokens/m3-utils';
|
|
5
|
+
@use '../core/theming/theming';
|
|
6
|
+
@use '../core/theming/inspection';
|
|
4
7
|
|
|
5
8
|
// The prefix used to generate the fully qualified name for tokens in this file.
|
|
6
9
|
$prefix: (mat, expansion);
|
|
@@ -39,3 +42,14 @@ $prefix: (mat, expansion);
|
|
|
39
42
|
|
|
40
43
|
@return m3-utils.namespace($prefix, $tokens, $token-slots);
|
|
41
44
|
}
|
|
45
|
+
|
|
46
|
+
// Tokens that can be configured through Angular Material's density theming API.
|
|
47
|
+
@function get-density-tokens($theme) {
|
|
48
|
+
$scale: theming.clamp-density(inspection.get-theme-density($theme), -3);
|
|
49
|
+
$index: ($scale * -1) + 1;
|
|
50
|
+
|
|
51
|
+
@return (
|
|
52
|
+
header-collapsed-state-height: list.nth((48px, 44px, 40px, 36px), $index),
|
|
53
|
+
header-expanded-state-height: list.nth((64px, 60px, 56px, 48px), $index),
|
|
54
|
+
);
|
|
55
|
+
}
|
package/expansion/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { InjectionToken, TemplateRef, AfterContentInit, OnChanges, OnDestroy, EventEmitter, SimpleChanges, ElementRef, AfterViewInit, QueryList } from '@angular/core';
|
|
3
|
-
import {
|
|
3
|
+
import { MatCommonModule } from '../common-module.d-CUT8AqiB.js';
|
|
4
4
|
import * as i2 from '@angular/cdk/accordion';
|
|
5
5
|
import { CdkAccordion, CdkAccordionItem } from '@angular/cdk/accordion';
|
|
6
6
|
import * as i3 from '@angular/cdk/portal';
|
|
@@ -37,5 +37,5 @@ function _animationsDisabled() {
|
|
|
37
37
|
return mediaMatcher.matchMedia('(prefers-reduced-motion)').matches;
|
|
38
38
|
}
|
|
39
39
|
|
|
40
|
-
export { AnimationCurves
|
|
41
|
-
//# sourceMappingURL=animation-
|
|
40
|
+
export { AnimationCurves, AnimationDurations, MATERIAL_ANIMATIONS, _animationsDisabled };
|
|
41
|
+
//# sourceMappingURL=animation-DYWs964N.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"animation-
|
|
1
|
+
{"version":3,"file":"animation-DYWs964N.mjs","sources":["../../../../../darwin_arm64-fastbuild-ST-46c76129e412/bin/src/material/core/animation/animation.ts"],"sourcesContent":["/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.dev/license\n */\n\nimport {MediaMatcher} from '@angular/cdk/layout';\nimport {ANIMATION_MODULE_TYPE, inject, InjectionToken} from '@angular/core';\n\n/** Object used to configure the animation in Angular Material. */\nexport interface AnimationsConfig {\n /** Whether all animations should be disabled. */\n animationsDisabled?: boolean;\n}\n\n/** Injection token used to configure the animations in Angular Material. */\nexport const MATERIAL_ANIMATIONS = new InjectionToken<AnimationsConfig>('MATERIAL_ANIMATIONS');\n\n/**\n * @deprecated No longer used, will be removed.\n * @breaking-change 21.0.0\n * @docs-private\n */\nexport class AnimationCurves {\n static STANDARD_CURVE = 'cubic-bezier(0.4,0.0,0.2,1)';\n static DECELERATION_CURVE = 'cubic-bezier(0.0,0.0,0.2,1)';\n static ACCELERATION_CURVE = 'cubic-bezier(0.4,0.0,1,1)';\n static SHARP_CURVE = 'cubic-bezier(0.4,0.0,0.6,1)';\n}\n\n/**\n * @deprecated No longer used, will be removed.\n * @breaking-change 21.0.0\n * @docs-private\n */\nexport class AnimationDurations {\n static COMPLEX = '375ms';\n static ENTERING = '225ms';\n static EXITING = '195ms';\n}\n\n/**\n * Returns whether animations have been disabled by DI. Must be called in a DI context.\n * @docs-private\n */\nexport function _animationsDisabled(): boolean {\n if (\n inject(MATERIAL_ANIMATIONS, {optional: true})?.animationsDisabled ||\n inject(ANIMATION_MODULE_TYPE, {optional: true}) === 'NoopAnimations'\n ) {\n return true;\n }\n\n const mediaMatcher = inject(MediaMatcher);\n return mediaMatcher.matchMedia('(prefers-reduced-motion)').matches;\n}\n"],"names":[],"mappings":";;;AAiBA;MACa,mBAAmB,GAAG,IAAI,cAAc,CAAmB,qBAAqB;AAE7F;;;;AAIG;MACU,eAAe,CAAA;AAC1B,IAAA,OAAO,cAAc,GAAG,6BAA6B;AACrD,IAAA,OAAO,kBAAkB,GAAG,6BAA6B;AACzD,IAAA,OAAO,kBAAkB,GAAG,2BAA2B;AACvD,IAAA,OAAO,WAAW,GAAG,6BAA6B;;AAGpD;;;;AAIG;MACU,kBAAkB,CAAA;AAC7B,IAAA,OAAO,OAAO,GAAG,OAAO;AACxB,IAAA,OAAO,QAAQ,GAAG,OAAO;AACzB,IAAA,OAAO,OAAO,GAAG,OAAO;;AAG1B;;;AAGG;SACa,mBAAmB,GAAA;IACjC,IACE,MAAM,CAAC,mBAAmB,EAAE,EAAC,QAAQ,EAAE,IAAI,EAAC,CAAC,EAAE,kBAAkB;AACjE,QAAA,MAAM,CAAC,qBAAqB,EAAE,EAAC,QAAQ,EAAE,IAAI,EAAC,CAAC,KAAK,gBAAgB,EACpE;AACA,QAAA,OAAO,IAAI;;AAGb,IAAA,MAAM,YAAY,GAAG,MAAM,CAAC,YAAY,CAAC;IACzC,OAAO,YAAY,CAAC,UAAU,CAAC,0BAA0B,CAAC,CAAC,OAAO;AACpE;;;;"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { coerceBooleanProperty } from '@angular/cdk/coercion';
|
|
2
2
|
import { ComponentHarness, HarnessPredicate } from '@angular/cdk/testing';
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
3
|
+
import { MatOptionHarness } from '../option-harness-D_dpAU04.mjs';
|
|
4
|
+
import { MatOptgroupHarness } from '../core/testing.mjs';
|
|
5
5
|
|
|
6
6
|
class MatAutocompleteHarness extends ComponentHarness {
|
|
7
7
|
_documentRootLocator = this.documentRootLocatorFactory();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"testing.mjs","sources":["../../../../../../darwin_arm64-fastbuild-ST-46c76129e412/bin/src/material/autocomplete/testing/autocomplete-harness.ts"],"sourcesContent":["/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.dev/license\n */\n\nimport {coerceBooleanProperty} from '@angular/cdk/coercion';\nimport {\n ComponentHarness,\n ComponentHarnessConstructor,\n HarnessPredicate,\n TestElement,\n} from '@angular/cdk/testing';\nimport {\n MatOptgroupHarness,\n MatOptionHarness,\n OptgroupHarnessFilters,\n OptionHarnessFilters,\n} from '../../core/testing';\nimport {AutocompleteHarnessFilters} from './autocomplete-harness-filters';\n\nexport class MatAutocompleteHarness extends ComponentHarness {\n private _documentRootLocator = this.documentRootLocatorFactory();\n\n /** The selector for the host element of a `MatAutocomplete` instance. */\n static hostSelector = '.mat-mdc-autocomplete-trigger';\n\n /**\n * Gets a `HarnessPredicate` that can be used to search for an autocomplete with specific\n * attributes.\n * @param options Options for filtering which autocomplete instances are considered a match.\n * @return a `HarnessPredicate` configured with the given options.\n */\n static with<T extends MatAutocompleteHarness>(\n this: ComponentHarnessConstructor<T>,\n options: AutocompleteHarnessFilters = {},\n ): HarnessPredicate<T> {\n return new HarnessPredicate(this, options)\n .addOption('value', options.value, (harness, value) =>\n HarnessPredicate.stringMatches(harness.getValue(), value),\n )\n .addOption('disabled', options.disabled, async (harness, disabled) => {\n return (await harness.isDisabled()) === disabled;\n });\n }\n\n /** Gets the value of the autocomplete input. */\n async getValue(): Promise<string> {\n return (await this.host()).getProperty<string>('value');\n }\n\n /** Whether the autocomplete input is disabled. */\n async isDisabled(): Promise<boolean> {\n const disabled = (await this.host()).getAttribute('disabled');\n return coerceBooleanProperty(await disabled);\n }\n\n /** Focuses the autocomplete input. */\n async focus(): Promise<void> {\n return (await this.host()).focus();\n }\n\n /** Blurs the autocomplete input. */\n async blur(): Promise<void> {\n return (await this.host()).blur();\n }\n\n /** Whether the autocomplete input is focused. */\n async isFocused(): Promise<boolean> {\n return (await this.host()).isFocused();\n }\n\n /** Enters text into the autocomplete. */\n async enterText(value: string): Promise<void> {\n return (await this.host()).sendKeys(value);\n }\n\n /** Clears the input value. */\n async clear(): Promise<void> {\n return (await this.host()).clear();\n }\n\n /** Gets the options inside the autocomplete panel. */\n async getOptions(filters?: Omit<OptionHarnessFilters, 'ancestor'>): Promise<MatOptionHarness[]> {\n if (!(await this.isOpen())) {\n throw new Error('Unable to retrieve options for autocomplete. Autocomplete panel is closed.');\n }\n\n return this._documentRootLocator.locatorForAll(\n MatOptionHarness.with({\n ...(filters || {}),\n ancestor: await this._getPanelSelector(),\n } as OptionHarnessFilters),\n )();\n }\n\n /** Gets the option groups inside the autocomplete panel. */\n async getOptionGroups(\n filters?: Omit<OptgroupHarnessFilters, 'ancestor'>,\n ): Promise<MatOptgroupHarness[]> {\n if (!(await this.isOpen())) {\n throw new Error(\n 'Unable to retrieve option groups for autocomplete. Autocomplete panel is closed.',\n );\n }\n\n return this._documentRootLocator.locatorForAll(\n MatOptgroupHarness.with({\n ...(filters || {}),\n ancestor: await this._getPanelSelector(),\n } as OptgroupHarnessFilters),\n )();\n }\n\n /** Selects the first option matching the given filters. */\n async selectOption(filters: OptionHarnessFilters): Promise<void> {\n await this.focus(); // Focus the input to make sure the autocomplete panel is shown.\n const options = await this.getOptions(filters);\n if (!options.length) {\n throw Error(`Could not find a mat-option matching ${JSON.stringify(filters)}`);\n }\n await options[0].click();\n }\n\n /** Whether the autocomplete is open. */\n async isOpen(): Promise<boolean> {\n const panel = await this._getPanel();\n return !!panel && (await panel.hasClass(`mat-mdc-autocomplete-visible`));\n }\n\n /** Gets the panel associated with this autocomplete trigger. */\n private async _getPanel(): Promise<TestElement | null> {\n // Technically this is static, but it needs to be in a\n // function, because the autocomplete's panel ID can changed.\n return this._documentRootLocator.locatorForOptional(await this._getPanelSelector())();\n }\n\n /** Gets the selector that can be used to find the autocomplete trigger's panel. */\n protected async _getPanelSelector(): Promise<string> {\n return `#${await (await this.host()).getAttribute('aria-controls')}`;\n }\n}\n"],"names":[],"mappings":";;;;;AAuBM,MAAO,sBAAuB,SAAQ,gBAAgB,CAAA;AAClD,IAAA,oBAAoB,GAAG,IAAI,CAAC,0BAA0B,EAAE
|
|
1
|
+
{"version":3,"file":"testing.mjs","sources":["../../../../../../darwin_arm64-fastbuild-ST-46c76129e412/bin/src/material/autocomplete/testing/autocomplete-harness.ts"],"sourcesContent":["/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.dev/license\n */\n\nimport {coerceBooleanProperty} from '@angular/cdk/coercion';\nimport {\n ComponentHarness,\n ComponentHarnessConstructor,\n HarnessPredicate,\n TestElement,\n} from '@angular/cdk/testing';\nimport {\n MatOptgroupHarness,\n MatOptionHarness,\n OptgroupHarnessFilters,\n OptionHarnessFilters,\n} from '../../core/testing';\nimport {AutocompleteHarnessFilters} from './autocomplete-harness-filters';\n\nexport class MatAutocompleteHarness extends ComponentHarness {\n private _documentRootLocator = this.documentRootLocatorFactory();\n\n /** The selector for the host element of a `MatAutocomplete` instance. */\n static hostSelector = '.mat-mdc-autocomplete-trigger';\n\n /**\n * Gets a `HarnessPredicate` that can be used to search for an autocomplete with specific\n * attributes.\n * @param options Options for filtering which autocomplete instances are considered a match.\n * @return a `HarnessPredicate` configured with the given options.\n */\n static with<T extends MatAutocompleteHarness>(\n this: ComponentHarnessConstructor<T>,\n options: AutocompleteHarnessFilters = {},\n ): HarnessPredicate<T> {\n return new HarnessPredicate(this, options)\n .addOption('value', options.value, (harness, value) =>\n HarnessPredicate.stringMatches(harness.getValue(), value),\n )\n .addOption('disabled', options.disabled, async (harness, disabled) => {\n return (await harness.isDisabled()) === disabled;\n });\n }\n\n /** Gets the value of the autocomplete input. */\n async getValue(): Promise<string> {\n return (await this.host()).getProperty<string>('value');\n }\n\n /** Whether the autocomplete input is disabled. */\n async isDisabled(): Promise<boolean> {\n const disabled = (await this.host()).getAttribute('disabled');\n return coerceBooleanProperty(await disabled);\n }\n\n /** Focuses the autocomplete input. */\n async focus(): Promise<void> {\n return (await this.host()).focus();\n }\n\n /** Blurs the autocomplete input. */\n async blur(): Promise<void> {\n return (await this.host()).blur();\n }\n\n /** Whether the autocomplete input is focused. */\n async isFocused(): Promise<boolean> {\n return (await this.host()).isFocused();\n }\n\n /** Enters text into the autocomplete. */\n async enterText(value: string): Promise<void> {\n return (await this.host()).sendKeys(value);\n }\n\n /** Clears the input value. */\n async clear(): Promise<void> {\n return (await this.host()).clear();\n }\n\n /** Gets the options inside the autocomplete panel. */\n async getOptions(filters?: Omit<OptionHarnessFilters, 'ancestor'>): Promise<MatOptionHarness[]> {\n if (!(await this.isOpen())) {\n throw new Error('Unable to retrieve options for autocomplete. Autocomplete panel is closed.');\n }\n\n return this._documentRootLocator.locatorForAll(\n MatOptionHarness.with({\n ...(filters || {}),\n ancestor: await this._getPanelSelector(),\n } as OptionHarnessFilters),\n )();\n }\n\n /** Gets the option groups inside the autocomplete panel. */\n async getOptionGroups(\n filters?: Omit<OptgroupHarnessFilters, 'ancestor'>,\n ): Promise<MatOptgroupHarness[]> {\n if (!(await this.isOpen())) {\n throw new Error(\n 'Unable to retrieve option groups for autocomplete. Autocomplete panel is closed.',\n );\n }\n\n return this._documentRootLocator.locatorForAll(\n MatOptgroupHarness.with({\n ...(filters || {}),\n ancestor: await this._getPanelSelector(),\n } as OptgroupHarnessFilters),\n )();\n }\n\n /** Selects the first option matching the given filters. */\n async selectOption(filters: OptionHarnessFilters): Promise<void> {\n await this.focus(); // Focus the input to make sure the autocomplete panel is shown.\n const options = await this.getOptions(filters);\n if (!options.length) {\n throw Error(`Could not find a mat-option matching ${JSON.stringify(filters)}`);\n }\n await options[0].click();\n }\n\n /** Whether the autocomplete is open. */\n async isOpen(): Promise<boolean> {\n const panel = await this._getPanel();\n return !!panel && (await panel.hasClass(`mat-mdc-autocomplete-visible`));\n }\n\n /** Gets the panel associated with this autocomplete trigger. */\n private async _getPanel(): Promise<TestElement | null> {\n // Technically this is static, but it needs to be in a\n // function, because the autocomplete's panel ID can changed.\n return this._documentRootLocator.locatorForOptional(await this._getPanelSelector())();\n }\n\n /** Gets the selector that can be used to find the autocomplete trigger's panel. */\n protected async _getPanelSelector(): Promise<string> {\n return `#${await (await this.host()).getAttribute('aria-controls')}`;\n }\n}\n"],"names":[],"mappings":";;;;;AAuBM,MAAO,sBAAuB,SAAQ,gBAAgB,CAAA;AAClD,IAAA,oBAAoB,GAAG,IAAI,CAAC,0BAA0B,EAAE;;AAGhE,IAAA,OAAO,YAAY,GAAG,+BAA+B;AAErD;;;;;AAKG;AACH,IAAA,OAAO,IAAI,CAET,OAAA,GAAsC,EAAE,EAAA;AAExC,QAAA,OAAO,IAAI,gBAAgB,CAAC,IAAI,EAAE,OAAO;aACtC,SAAS,CAAC,OAAO,EAAE,OAAO,CAAC,KAAK,EAAE,CAAC,OAAO,EAAE,KAAK,KAChD,gBAAgB,CAAC,aAAa,CAAC,OAAO,CAAC,QAAQ,EAAE,EAAE,KAAK,CAAC;AAE1D,aAAA,SAAS,CAAC,UAAU,EAAE,OAAO,CAAC,QAAQ,EAAE,OAAO,OAAO,EAAE,QAAQ,KAAI;YACnE,OAAO,CAAC,MAAM,OAAO,CAAC,UAAU,EAAE,MAAM,QAAQ;AAClD,SAAC,CAAC;;;AAIN,IAAA,MAAM,QAAQ,GAAA;AACZ,QAAA,OAAO,CAAC,MAAM,IAAI,CAAC,IAAI,EAAE,EAAE,WAAW,CAAS,OAAO,CAAC;;;AAIzD,IAAA,MAAM,UAAU,GAAA;AACd,QAAA,MAAM,QAAQ,GAAG,CAAC,MAAM,IAAI,CAAC,IAAI,EAAE,EAAE,YAAY,CAAC,UAAU,CAAC;AAC7D,QAAA,OAAO,qBAAqB,CAAC,MAAM,QAAQ,CAAC;;;AAI9C,IAAA,MAAM,KAAK,GAAA;QACT,OAAO,CAAC,MAAM,IAAI,CAAC,IAAI,EAAE,EAAE,KAAK,EAAE;;;AAIpC,IAAA,MAAM,IAAI,GAAA;QACR,OAAO,CAAC,MAAM,IAAI,CAAC,IAAI,EAAE,EAAE,IAAI,EAAE;;;AAInC,IAAA,MAAM,SAAS,GAAA;QACb,OAAO,CAAC,MAAM,IAAI,CAAC,IAAI,EAAE,EAAE,SAAS,EAAE;;;IAIxC,MAAM,SAAS,CAAC,KAAa,EAAA;AAC3B,QAAA,OAAO,CAAC,MAAM,IAAI,CAAC,IAAI,EAAE,EAAE,QAAQ,CAAC,KAAK,CAAC;;;AAI5C,IAAA,MAAM,KAAK,GAAA;QACT,OAAO,CAAC,MAAM,IAAI,CAAC,IAAI,EAAE,EAAE,KAAK,EAAE;;;IAIpC,MAAM,UAAU,CAAC,OAAgD,EAAA;QAC/D,IAAI,EAAE,MAAM,IAAI,CAAC,MAAM,EAAE,CAAC,EAAE;AAC1B,YAAA,MAAM,IAAI,KAAK,CAAC,4EAA4E,CAAC;;QAG/F,OAAO,IAAI,CAAC,oBAAoB,CAAC,aAAa,CAC5C,gBAAgB,CAAC,IAAI,CAAC;AACpB,YAAA,IAAI,OAAO,IAAI,EAAE,CAAC;AAClB,YAAA,QAAQ,EAAE,MAAM,IAAI,CAAC,iBAAiB,EAAE;SACjB,CAAC,CAC3B,EAAE;;;IAIL,MAAM,eAAe,CACnB,OAAkD,EAAA;QAElD,IAAI,EAAE,MAAM,IAAI,CAAC,MAAM,EAAE,CAAC,EAAE;AAC1B,YAAA,MAAM,IAAI,KAAK,CACb,kFAAkF,CACnF;;QAGH,OAAO,IAAI,CAAC,oBAAoB,CAAC,aAAa,CAC5C,kBAAkB,CAAC,IAAI,CAAC;AACtB,YAAA,IAAI,OAAO,IAAI,EAAE,CAAC;AAClB,YAAA,QAAQ,EAAE,MAAM,IAAI,CAAC,iBAAiB,EAAE;SACf,CAAC,CAC7B,EAAE;;;IAIL,MAAM,YAAY,CAAC,OAA6B,EAAA;AAC9C,QAAA,MAAM,IAAI,CAAC,KAAK,EAAE,CAAC;QACnB,MAAM,OAAO,GAAG,MAAM,IAAI,CAAC,UAAU,CAAC,OAAO,CAAC;AAC9C,QAAA,IAAI,CAAC,OAAO,CAAC,MAAM,EAAE;YACnB,MAAM,KAAK,CAAC,CAAA,qCAAA,EAAwC,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,CAAE,CAAA,CAAC;;AAEhF,QAAA,MAAM,OAAO,CAAC,CAAC,CAAC,CAAC,KAAK,EAAE;;;AAI1B,IAAA,MAAM,MAAM,GAAA;AACV,QAAA,MAAM,KAAK,GAAG,MAAM,IAAI,CAAC,SAAS,EAAE;AACpC,QAAA,OAAO,CAAC,CAAC,KAAK,KAAK,MAAM,KAAK,CAAC,QAAQ,CAAC,CAA8B,4BAAA,CAAA,CAAC,CAAC;;;AAIlE,IAAA,MAAM,SAAS,GAAA;;;AAGrB,QAAA,OAAO,IAAI,CAAC,oBAAoB,CAAC,kBAAkB,CAAC,MAAM,IAAI,CAAC,iBAAiB,EAAE,CAAC,EAAE;;;AAI7E,IAAA,MAAM,iBAAiB,GAAA;AAC/B,QAAA,OAAO,CAAI,CAAA,EAAA,MAAM,CAAC,MAAM,IAAI,CAAC,IAAI,EAAE,EAAE,YAAY,CAAC,eAAe,CAAC,EAAE;;;;;;"}
|
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export {
|
|
1
|
+
import { MatOption, MAT_OPTGROUP, MAT_OPTION_PARENT_COMPONENT, MatOptionSelectionChange, _countGroupLabelsBeforeOption, _getOptionScrollPosition } from './option-Ce_vIVuD.mjs';
|
|
2
|
+
export { MatOptgroup } from './option-Ce_vIVuD.mjs';
|
|
3
3
|
import * as i0 from '@angular/core';
|
|
4
|
-
import { InjectionToken, inject, ChangeDetectorRef, ElementRef, EventEmitter,
|
|
4
|
+
import { InjectionToken, inject, ChangeDetectorRef, ElementRef, EventEmitter, TemplateRef, booleanAttribute, Input, Output, ContentChildren, ViewChild, ChangeDetectionStrategy, ViewEncapsulation, Component, Directive, forwardRef, EnvironmentInjector, ViewContainerRef, NgZone, Renderer2, afterNextRender, NgModule } from '@angular/core';
|
|
5
5
|
import { ViewportRuler, CdkScrollableModule } from '@angular/cdk/scrolling';
|
|
6
6
|
import { Overlay, OverlayConfig, OverlayModule } from '@angular/cdk/overlay';
|
|
7
7
|
import { _IdGenerator, ActiveDescendantKeyManager, removeAriaReferencedId, addAriaReferencedId } from '@angular/cdk/a11y';
|
|
8
8
|
import { Platform, _getFocusedElementPierceShadowDom, _getEventTarget } from '@angular/cdk/platform';
|
|
9
9
|
import { Subscription, Subject, merge, of, defer, Observable } from 'rxjs';
|
|
10
|
-
import {
|
|
10
|
+
import { _animationsDisabled } from './animation-DYWs964N.mjs';
|
|
11
11
|
import { Directionality } from '@angular/cdk/bidi';
|
|
12
12
|
import { hasModifierKey, ESCAPE, ENTER, TAB, UP_ARROW, DOWN_ARROW } from '@angular/cdk/keycodes';
|
|
13
13
|
import { BreakpointObserver, Breakpoints } from '@angular/cdk/layout';
|
|
14
14
|
import { TemplatePortal } from '@angular/cdk/portal';
|
|
15
15
|
import { NG_VALUE_ACCESSOR } from '@angular/forms';
|
|
16
16
|
import { filter, map, startWith, switchMap, tap, delay, take } from 'rxjs/operators';
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import './ripple-
|
|
17
|
+
import { MAT_FORM_FIELD } from './form-field-DXXhIBX2.mjs';
|
|
18
|
+
import { MatOptionModule } from './index-CYUgEsfZ.mjs';
|
|
19
|
+
import { MatCommonModule } from './common-module-BTLyTce6.mjs';
|
|
20
|
+
import './ripple-t-kasrhF.mjs';
|
|
21
21
|
import '@angular/cdk/coercion';
|
|
22
22
|
import '@angular/cdk/private';
|
|
23
|
-
import './pseudo-checkbox-
|
|
24
|
-
import './structural-styles-
|
|
23
|
+
import './pseudo-checkbox-rb5Qj2XH.mjs';
|
|
24
|
+
import './structural-styles-BcST1BXh.mjs';
|
|
25
25
|
import '@angular/common';
|
|
26
26
|
import '@angular/cdk/observers/private';
|
|
27
|
-
import './index-
|
|
28
|
-
import './pseudo-checkbox-module-
|
|
27
|
+
import './index-D7tf-UtR.mjs';
|
|
28
|
+
import './pseudo-checkbox-module-B1fNUV1l.mjs';
|
|
29
29
|
|
|
30
30
|
/** Event object that is emitted when an autocomplete option is selected. */
|
|
31
31
|
class MatAutocompleteSelectedEvent {
|
|
@@ -240,13 +240,13 @@ class MatAutocomplete {
|
|
|
240
240
|
return false;
|
|
241
241
|
}
|
|
242
242
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.5", ngImport: i0, type: MatAutocomplete, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
243
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "20.0.0-next.5", type: MatAutocomplete, isStandalone: true, selector: "mat-autocomplete", inputs: { ariaLabel: ["aria-label", "ariaLabel"], ariaLabelledby: ["aria-labelledby", "ariaLabelledby"], displayWith: "displayWith", autoActiveFirstOption: ["autoActiveFirstOption", "autoActiveFirstOption", booleanAttribute], autoSelectActiveOption: ["autoSelectActiveOption", "autoSelectActiveOption", booleanAttribute], requireSelection: ["requireSelection", "requireSelection", booleanAttribute], panelWidth: "panelWidth", disableRipple: ["disableRipple", "disableRipple", booleanAttribute], classList: ["class", "classList"], hideSingleSelectionIndicator: ["hideSingleSelectionIndicator", "hideSingleSelectionIndicator", booleanAttribute] }, outputs: { optionSelected: "optionSelected", opened: "opened", closed: "closed", optionActivated: "optionActivated" }, host: { classAttribute: "mat-mdc-autocomplete" }, providers: [{ provide: MAT_OPTION_PARENT_COMPONENT, useExisting: MatAutocomplete }], queries: [{ propertyName: "options", predicate: MatOption, descendants: true }, { propertyName: "optionGroups", predicate: MAT_OPTGROUP, descendants: true }], viewQueries: [{ propertyName: "template", first: true, predicate: TemplateRef, descendants: true, static: true }, { propertyName: "panel", first: true, predicate: ["panel"], descendants: true }], exportAs: ["matAutocomplete"], ngImport: i0, template: "<ng-template let-formFieldId=\"id\">\n <div\n class=\"mat-mdc-autocomplete-panel mdc-menu-surface mdc-menu-surface--open\"\n role=\"listbox\"\n [id]=\"id\"\n [class]=\"_classList\"\n [class.mat-mdc-autocomplete-visible]=\"showPanel\"\n [class.mat-mdc-autocomplete-hidden]=\"!showPanel\"\n [class.mat-autocomplete-panel-animations-enabled]=\"!_animationsDisabled\"\n [class.mat-primary]=\"_color === 'primary'\"\n [class.mat-accent]=\"_color === 'accent'\"\n [class.mat-warn]=\"_color === 'warn'\"\n [attr.aria-label]=\"ariaLabel || null\"\n [attr.aria-labelledby]=\"_getPanelAriaLabelledby(formFieldId)\"\n #panel>\n <ng-content></ng-content>\n </div>\n</ng-template>\n", styles: ["div.mat-mdc-autocomplete-panel{width:100%;max-height:256px;visibility:hidden;transform-origin:center top;overflow:auto;padding:8px 0;box-sizing:border-box;position:static;border-radius:var(--mat-autocomplete-container-shape, var(--mat-sys-corner-extra-small));box-shadow:var(--mat-autocomplete-container-elevation-shadow, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12));background-color:var(--mat-autocomplete-background-color, var(--mat-sys-surface-container))}@media(forced-colors: active){div.mat-mdc-autocomplete-panel{outline:solid 1px}}.cdk-overlay-pane:not(.mat-mdc-autocomplete-panel-above) div.mat-mdc-autocomplete-panel{border-top-left-radius:0;border-top-right-radius:0}.mat-mdc-autocomplete-panel-above div.mat-mdc-autocomplete-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:center bottom}div.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-visible{visibility:visible}div.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-hidden{visibility:hidden;pointer-events:none}@keyframes _mat-autocomplete-enter{from{opacity:0;transform:scaleY(0.8)}to{opacity:1;transform:none}}.mat-autocomplete-panel-animations-enabled{animation:_mat-autocomplete-enter 120ms cubic-bezier(0, 0, 0.2, 1)}mat-autocomplete{display:none}"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
243
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "20.0.0-next.5", type: MatAutocomplete, isStandalone: true, selector: "mat-autocomplete", inputs: { ariaLabel: ["aria-label", "ariaLabel"], ariaLabelledby: ["aria-labelledby", "ariaLabelledby"], displayWith: "displayWith", autoActiveFirstOption: ["autoActiveFirstOption", "autoActiveFirstOption", booleanAttribute], autoSelectActiveOption: ["autoSelectActiveOption", "autoSelectActiveOption", booleanAttribute], requireSelection: ["requireSelection", "requireSelection", booleanAttribute], panelWidth: "panelWidth", disableRipple: ["disableRipple", "disableRipple", booleanAttribute], classList: ["class", "classList"], hideSingleSelectionIndicator: ["hideSingleSelectionIndicator", "hideSingleSelectionIndicator", booleanAttribute] }, outputs: { optionSelected: "optionSelected", opened: "opened", closed: "closed", optionActivated: "optionActivated" }, host: { classAttribute: "mat-mdc-autocomplete" }, providers: [{ provide: MAT_OPTION_PARENT_COMPONENT, useExisting: MatAutocomplete }], queries: [{ propertyName: "options", predicate: MatOption, descendants: true }, { propertyName: "optionGroups", predicate: MAT_OPTGROUP, descendants: true }], viewQueries: [{ propertyName: "template", first: true, predicate: TemplateRef, descendants: true, static: true }, { propertyName: "panel", first: true, predicate: ["panel"], descendants: true }], exportAs: ["matAutocomplete"], ngImport: i0, template: "<ng-template let-formFieldId=\"id\">\n <div\n class=\"mat-mdc-autocomplete-panel mdc-menu-surface mdc-menu-surface--open\"\n role=\"listbox\"\n [id]=\"id\"\n [class]=\"_classList\"\n [class.mat-mdc-autocomplete-visible]=\"showPanel\"\n [class.mat-mdc-autocomplete-hidden]=\"!showPanel\"\n [class.mat-autocomplete-panel-animations-enabled]=\"!_animationsDisabled\"\n [class.mat-primary]=\"_color === 'primary'\"\n [class.mat-accent]=\"_color === 'accent'\"\n [class.mat-warn]=\"_color === 'warn'\"\n [attr.aria-label]=\"ariaLabel || null\"\n [attr.aria-labelledby]=\"_getPanelAriaLabelledby(formFieldId)\"\n #panel>\n <ng-content></ng-content>\n </div>\n</ng-template>\n", styles: ["div.mat-mdc-autocomplete-panel{width:100%;max-height:256px;visibility:hidden;transform-origin:center top;overflow:auto;padding:8px 0;box-sizing:border-box;position:static;border-radius:var(--mat-autocomplete-container-shape, var(--mat-sys-corner-extra-small));box-shadow:var(--mat-autocomplete-container-elevation-shadow, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12));background-color:var(--mat-autocomplete-background-color, var(--mat-sys-surface-container))}@media(forced-colors: active){div.mat-mdc-autocomplete-panel{outline:solid 1px}}.cdk-overlay-pane:not(.mat-mdc-autocomplete-panel-above) div.mat-mdc-autocomplete-panel{border-top-left-radius:0;border-top-right-radius:0}.mat-mdc-autocomplete-panel-above div.mat-mdc-autocomplete-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:center bottom}div.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-visible{visibility:visible}div.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-hidden{visibility:hidden;pointer-events:none}@keyframes _mat-autocomplete-enter{from{opacity:0;transform:scaleY(0.8)}to{opacity:1;transform:none}}.mat-autocomplete-panel-animations-enabled{animation:_mat-autocomplete-enter 120ms cubic-bezier(0, 0, 0.2, 1)}mat-autocomplete{display:none}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
244
244
|
}
|
|
245
245
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.5", ngImport: i0, type: MatAutocomplete, decorators: [{
|
|
246
246
|
type: Component,
|
|
247
247
|
args: [{ selector: 'mat-autocomplete', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, exportAs: 'matAutocomplete', host: {
|
|
248
248
|
'class': 'mat-mdc-autocomplete',
|
|
249
|
-
}, providers: [{ provide: MAT_OPTION_PARENT_COMPONENT, useExisting: MatAutocomplete }], template: "<ng-template let-formFieldId=\"id\">\n <div\n class=\"mat-mdc-autocomplete-panel mdc-menu-surface mdc-menu-surface--open\"\n role=\"listbox\"\n [id]=\"id\"\n [class]=\"_classList\"\n [class.mat-mdc-autocomplete-visible]=\"showPanel\"\n [class.mat-mdc-autocomplete-hidden]=\"!showPanel\"\n [class.mat-autocomplete-panel-animations-enabled]=\"!_animationsDisabled\"\n [class.mat-primary]=\"_color === 'primary'\"\n [class.mat-accent]=\"_color === 'accent'\"\n [class.mat-warn]=\"_color === 'warn'\"\n [attr.aria-label]=\"ariaLabel || null\"\n [attr.aria-labelledby]=\"_getPanelAriaLabelledby(formFieldId)\"\n #panel>\n <ng-content></ng-content>\n </div>\n</ng-template>\n", styles: ["div.mat-mdc-autocomplete-panel{width:100%;max-height:256px;visibility:hidden;transform-origin:center top;overflow:auto;padding:8px 0;box-sizing:border-box;position:static;border-radius:var(--mat-autocomplete-container-shape, var(--mat-sys-corner-extra-small));box-shadow:var(--mat-autocomplete-container-elevation-shadow, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12));background-color:var(--mat-autocomplete-background-color, var(--mat-sys-surface-container))}@media(forced-colors: active){div.mat-mdc-autocomplete-panel{outline:solid 1px}}.cdk-overlay-pane:not(.mat-mdc-autocomplete-panel-above) div.mat-mdc-autocomplete-panel{border-top-left-radius:0;border-top-right-radius:0}.mat-mdc-autocomplete-panel-above div.mat-mdc-autocomplete-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:center bottom}div.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-visible{visibility:visible}div.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-hidden{visibility:hidden;pointer-events:none}@keyframes _mat-autocomplete-enter{from{opacity:0;transform:scaleY(0.8)}to{opacity:1;transform:none}}.mat-autocomplete-panel-animations-enabled{animation:_mat-autocomplete-enter 120ms cubic-bezier(0, 0, 0.2, 1)}mat-autocomplete{display:none}"] }]
|
|
249
|
+
}, providers: [{ provide: MAT_OPTION_PARENT_COMPONENT, useExisting: MatAutocomplete }], template: "<ng-template let-formFieldId=\"id\">\n <div\n class=\"mat-mdc-autocomplete-panel mdc-menu-surface mdc-menu-surface--open\"\n role=\"listbox\"\n [id]=\"id\"\n [class]=\"_classList\"\n [class.mat-mdc-autocomplete-visible]=\"showPanel\"\n [class.mat-mdc-autocomplete-hidden]=\"!showPanel\"\n [class.mat-autocomplete-panel-animations-enabled]=\"!_animationsDisabled\"\n [class.mat-primary]=\"_color === 'primary'\"\n [class.mat-accent]=\"_color === 'accent'\"\n [class.mat-warn]=\"_color === 'warn'\"\n [attr.aria-label]=\"ariaLabel || null\"\n [attr.aria-labelledby]=\"_getPanelAriaLabelledby(formFieldId)\"\n #panel>\n <ng-content></ng-content>\n </div>\n</ng-template>\n", styles: ["div.mat-mdc-autocomplete-panel{width:100%;max-height:256px;visibility:hidden;transform-origin:center top;overflow:auto;padding:8px 0;box-sizing:border-box;position:static;border-radius:var(--mat-autocomplete-container-shape, var(--mat-sys-corner-extra-small));box-shadow:var(--mat-autocomplete-container-elevation-shadow, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12));background-color:var(--mat-autocomplete-background-color, var(--mat-sys-surface-container))}@media(forced-colors: active){div.mat-mdc-autocomplete-panel{outline:solid 1px}}.cdk-overlay-pane:not(.mat-mdc-autocomplete-panel-above) div.mat-mdc-autocomplete-panel{border-top-left-radius:0;border-top-right-radius:0}.mat-mdc-autocomplete-panel-above div.mat-mdc-autocomplete-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:center bottom}div.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-visible{visibility:visible}div.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-hidden{visibility:hidden;pointer-events:none}@keyframes _mat-autocomplete-enter{from{opacity:0;transform:scaleY(0.8)}to{opacity:1;transform:none}}.mat-autocomplete-panel-animations-enabled{animation:_mat-autocomplete-enter 120ms cubic-bezier(0, 0, 0.2, 1)}mat-autocomplete{display:none}\n"] }]
|
|
250
250
|
}], ctorParameters: () => [], propDecorators: { template: [{
|
|
251
251
|
type: ViewChild,
|
|
252
252
|
args: [TemplateRef, { static: true }]
|
|
@@ -1252,5 +1252,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.5",
|
|
|
1252
1252
|
}]
|
|
1253
1253
|
}] });
|
|
1254
1254
|
|
|
1255
|
-
export { MAT_AUTOCOMPLETE_DEFAULT_OPTIONS, MAT_AUTOCOMPLETE_DEFAULT_OPTIONS_FACTORY, MAT_AUTOCOMPLETE_SCROLL_STRATEGY, MAT_AUTOCOMPLETE_SCROLL_STRATEGY_FACTORY, MAT_AUTOCOMPLETE_SCROLL_STRATEGY_FACTORY_PROVIDER, MAT_AUTOCOMPLETE_VALUE_ACCESSOR, MatAutocomplete, MatAutocompleteModule, MatAutocompleteOrigin, MatAutocompleteSelectedEvent, MatAutocompleteTrigger, getMatAutocompleteMissingPanelError };
|
|
1255
|
+
export { MAT_AUTOCOMPLETE_DEFAULT_OPTIONS, MAT_AUTOCOMPLETE_DEFAULT_OPTIONS_FACTORY, MAT_AUTOCOMPLETE_SCROLL_STRATEGY, MAT_AUTOCOMPLETE_SCROLL_STRATEGY_FACTORY, MAT_AUTOCOMPLETE_SCROLL_STRATEGY_FACTORY_PROVIDER, MAT_AUTOCOMPLETE_VALUE_ACCESSOR, MatAutocomplete, MatAutocompleteModule, MatAutocompleteOrigin, MatAutocompleteSelectedEvent, MatAutocompleteTrigger, MatOption, getMatAutocompleteMissingPanelError };
|
|
1256
1256
|
//# sourceMappingURL=autocomplete.mjs.map
|