@angular/material 20.0.0-next.2 → 20.0.0-next.4
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 +5 -4
- package/badge/index.d.ts +2 -2
- package/badge/testing/index.d.ts +1 -1
- package/{badge.d-49a8a74b.d.ts → badge.d-d42103d0.d.ts} +1 -1
- package/bottom-sheet/index.d.ts +1 -0
- package/button/index.d.ts +4 -4
- package/button-toggle/index.d.ts +4 -4
- package/button-toggle/testing/index.d.ts +1 -1
- package/{button-toggle.d-edc8acff.d.ts → button-toggle.d-e3ddc80f.d.ts} +1 -1
- package/checkbox/index.d.ts +1 -1
- package/chips/index.d.ts +13 -3
- package/core/index.d.ts +11 -6
- package/core/m2/_theming.scss +68 -44
- package/core/tokens/_density.scss +1 -0
- package/datepicker/index.d.ts +5 -4
- package/dialog/index.d.ts +2 -2
- package/dialog/testing/index.d.ts +1 -1
- package/{dialog.d-57867441.d.ts → dialog.d-4ffbd89c.d.ts} +1 -1
- package/fesm2022/animation-5f89c9a6.mjs +33 -0
- package/fesm2022/animation-5f89c9a6.mjs.map +1 -0
- package/fesm2022/autocomplete/testing.mjs +2 -2
- package/fesm2022/autocomplete/testing.mjs.map +1 -1
- package/fesm2022/autocomplete.mjs +28 -25
- package/fesm2022/autocomplete.mjs.map +1 -1
- package/fesm2022/badge/testing.mjs.map +1 -1
- package/fesm2022/badge.mjs +16 -15
- package/fesm2022/badge.mjs.map +1 -1
- package/fesm2022/bottom-sheet/testing.mjs.map +1 -1
- package/fesm2022/bottom-sheet.mjs +16 -13
- 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 +19 -18
- package/fesm2022/button-toggle.mjs.map +1 -1
- package/fesm2022/button.mjs +8 -7
- package/fesm2022/button.mjs.map +1 -1
- package/fesm2022/card/testing.mjs.map +1 -1
- package/fesm2022/card.mjs +47 -47
- package/fesm2022/checkbox/testing.mjs.map +1 -1
- package/fesm2022/checkbox.mjs +16 -15
- package/fesm2022/checkbox.mjs.map +1 -1
- package/fesm2022/chips/testing.mjs +7 -1
- package/fesm2022/chips/testing.mjs.map +1 -1
- package/fesm2022/chips.mjs +74 -58
- package/fesm2022/chips.mjs.map +1 -1
- package/fesm2022/{common-module-2d64df09.mjs → common-module-3ec8031a.mjs} +5 -5
- package/fesm2022/{common-module-2d64df09.mjs.map → common-module-3ec8031a.mjs.map} +1 -1
- package/fesm2022/core/testing.mjs +2 -2
- package/fesm2022/core.mjs +26 -47
- package/fesm2022/core.mjs.map +1 -1
- package/fesm2022/{date-range-input-harness-de70be6a.mjs → date-range-input-harness-3718a667.mjs} +1 -1
- package/fesm2022/date-range-input-harness-3718a667.mjs.map +1 -0
- package/fesm2022/datepicker/testing.mjs +2 -2
- package/fesm2022/datepicker/testing.mjs.map +1 -1
- package/fesm2022/datepicker.mjs +96 -93
- package/fesm2022/datepicker.mjs.map +1 -1
- package/fesm2022/dialog/testing.mjs +3 -2
- package/fesm2022/dialog/testing.mjs.map +1 -1
- package/fesm2022/dialog.mjs +3 -2
- package/fesm2022/dialog.mjs.map +1 -1
- package/fesm2022/divider.mjs +8 -8
- package/fesm2022/{error-options-4a00765e.mjs → error-options-ee129e4b.mjs} +7 -7
- package/fesm2022/{error-options-4a00765e.mjs.map → error-options-ee129e4b.mjs.map} +1 -1
- package/fesm2022/expansion.mjs +30 -29
- package/fesm2022/expansion.mjs.map +1 -1
- package/fesm2022/form-field/testing.mjs +4 -4
- package/fesm2022/{form-field-6d755764.mjs → form-field-9a53ebf1.mjs} +34 -34
- package/fesm2022/form-field-9a53ebf1.mjs.map +1 -0
- package/fesm2022/form-field.mjs +4 -3
- package/fesm2022/form-field.mjs.map +1 -1
- package/fesm2022/grid-list.mjs +25 -25
- package/fesm2022/icon/testing.mjs +8 -8
- package/fesm2022/{icon-button-0850d958.mjs → icon-button-acdabdec.mjs} +13 -12
- package/fesm2022/icon-button-acdabdec.mjs.map +1 -0
- package/fesm2022/{icon-module-3f77a24d.mjs → icon-module-fd90a70e.mjs} +10 -10
- package/fesm2022/{icon-module-3f77a24d.mjs.map → icon-module-fd90a70e.mjs.map} +1 -1
- package/fesm2022/{icon-registry-13a3b98e.mjs → icon-registry-c1df72ea.mjs} +4 -4
- package/fesm2022/{icon-registry-13a3b98e.mjs.map → icon-registry-c1df72ea.mjs.map} +1 -1
- package/fesm2022/icon.mjs +3 -3
- package/fesm2022/{index-1763d3a6.mjs → index-1ea85b8e.mjs} +9 -9
- package/fesm2022/{index-1763d3a6.mjs.map → index-1ea85b8e.mjs.map} +1 -1
- package/fesm2022/{index-4bc1d6d3.mjs → index-b8da641d.mjs} +7 -7
- package/fesm2022/{index-4bc1d6d3.mjs.map → index-b8da641d.mjs.map} +1 -1
- package/fesm2022/input.mjs +13 -12
- package/fesm2022/input.mjs.map +1 -1
- package/fesm2022/{internal-form-field-434c4039.mjs → internal-form-field-7304c17d.mjs} +4 -4
- package/fesm2022/{internal-form-field-434c4039.mjs.map → internal-form-field-7304c17d.mjs.map} +1 -1
- package/fesm2022/{line-d6afe347.mjs → line-d0757c01.mjs} +9 -9
- package/fesm2022/{line-d6afe347.mjs.map → line-d0757c01.mjs.map} +1 -1
- package/fesm2022/list.mjs +58 -59
- package/fesm2022/list.mjs.map +1 -1
- package/fesm2022/material.mjs.map +1 -1
- package/fesm2022/menu/testing.mjs.map +1 -1
- package/fesm2022/menu.mjs +25 -23
- package/fesm2022/menu.mjs.map +1 -1
- package/fesm2022/{module-cf951a02.mjs → module-2701d616.mjs} +18 -18
- package/fesm2022/{module-cf951a02.mjs.map → module-2701d616.mjs.map} +1 -1
- package/fesm2022/{module-d757bba0.mjs → module-8175acdf.mjs} +7 -7
- package/fesm2022/{module-d757bba0.mjs.map → module-8175acdf.mjs.map} +1 -1
- package/fesm2022/{module-47e3be58.mjs → module-8c65f824.mjs} +18 -18
- package/fesm2022/module-8c65f824.mjs.map +1 -0
- package/fesm2022/{module-a5f9ab72.mjs → module-a40bca65.mjs} +36 -32
- package/fesm2022/module-a40bca65.mjs.map +1 -0
- package/fesm2022/{module-1c16a0a9.mjs → module-e7f30cea.mjs} +20 -19
- package/fesm2022/module-e7f30cea.mjs.map +1 -0
- package/fesm2022/{optgroup-harness-5e66b138.mjs → optgroup-harness-d5cf72ed.mjs} +2 -2
- package/fesm2022/optgroup-harness-d5cf72ed.mjs.map +1 -0
- package/fesm2022/{option-07c3c660.mjs → option-a77bb984.mjs} +10 -10
- package/fesm2022/{option-07c3c660.mjs.map → option-a77bb984.mjs.map} +1 -1
- package/fesm2022/{option-harness-3b7c1106.mjs → option-harness-b4971f41.mjs} +1 -1
- package/fesm2022/option-harness-b4971f41.mjs.map +1 -0
- package/fesm2022/paginator/testing.mjs +3 -3
- package/fesm2022/paginator/testing.mjs.map +1 -1
- package/fesm2022/paginator.mjs +27 -26
- package/fesm2022/paginator.mjs.map +1 -1
- package/fesm2022/progress-bar.mjs +11 -12
- package/fesm2022/progress-bar.mjs.map +1 -1
- package/fesm2022/progress-spinner.mjs +11 -12
- package/fesm2022/progress-spinner.mjs.map +1 -1
- package/fesm2022/{pseudo-checkbox-af5a4ea4.mjs → pseudo-checkbox-006bd0a9.mjs} +8 -7
- package/fesm2022/pseudo-checkbox-006bd0a9.mjs.map +1 -0
- package/fesm2022/{pseudo-checkbox-module-216fae38.mjs → pseudo-checkbox-module-d04dbe5a.mjs} +7 -7
- package/fesm2022/{pseudo-checkbox-module-216fae38.mjs.map → pseudo-checkbox-module-d04dbe5a.mjs.map} +1 -1
- package/fesm2022/radio/testing.mjs.map +1 -1
- package/fesm2022/radio.mjs +18 -19
- package/fesm2022/radio.mjs.map +1 -1
- package/fesm2022/{ripple-9939d1f5.mjs → ripple-18f3bc18.mjs} +11 -10
- package/fesm2022/{ripple-9939d1f5.mjs.map → ripple-18f3bc18.mjs.map} +1 -1
- package/fesm2022/{ripple-loader-f2078c66.mjs → ripple-loader-e685c61f.mjs} +13 -13
- package/fesm2022/ripple-loader-e685c61f.mjs.map +1 -0
- package/fesm2022/select/testing.mjs +3 -3
- package/fesm2022/{select-harness-69d47123.mjs → select-harness-30466074.mjs} +3 -3
- package/fesm2022/select-harness-30466074.mjs.map +1 -0
- package/fesm2022/select.mjs +13 -12
- package/fesm2022/select.mjs.map +1 -1
- package/fesm2022/sidenav/testing.mjs.map +1 -1
- package/fesm2022/sidenav.mjs +27 -26
- package/fesm2022/sidenav.mjs.map +1 -1
- package/fesm2022/slide-toggle/testing.mjs.map +1 -1
- package/fesm2022/slide-toggle.mjs +14 -15
- package/fesm2022/slide-toggle.mjs.map +1 -1
- package/fesm2022/slider/testing.mjs.map +1 -1
- package/fesm2022/slider.mjs +23 -24
- package/fesm2022/slider.mjs.map +1 -1
- package/fesm2022/snack-bar/testing.mjs.map +1 -1
- package/fesm2022/snack-bar.mjs +34 -31
- package/fesm2022/snack-bar.mjs.map +1 -1
- package/fesm2022/sort/testing.mjs.map +1 -1
- package/fesm2022/sort.mjs +19 -18
- package/fesm2022/sort.mjs.map +1 -1
- package/fesm2022/stepper/testing.mjs.map +1 -1
- package/fesm2022/stepper.mjs +43 -42
- package/fesm2022/stepper.mjs.map +1 -1
- package/fesm2022/{structural-styles-d5ada3b3.mjs → structural-styles-e3fe1eb7.mjs} +4 -4
- package/fesm2022/{structural-styles-d5ada3b3.mjs.map → structural-styles-e3fe1eb7.mjs.map} +1 -1
- package/fesm2022/table/testing.mjs.map +1 -1
- package/fesm2022/table.mjs +56 -56
- package/fesm2022/tabs/testing.mjs.map +1 -1
- package/fesm2022/tabs.mjs +58 -65
- 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 +27 -26
- package/fesm2022/timepicker.mjs.map +1 -1
- package/fesm2022/toolbar/testing.mjs.map +1 -1
- package/fesm2022/toolbar.mjs +11 -11
- package/fesm2022/tooltip/testing.mjs.map +1 -1
- package/fesm2022/tooltip.mjs +3 -2
- package/fesm2022/tooltip.mjs.map +1 -1
- package/fesm2022/tree/testing.mjs.map +1 -1
- package/fesm2022/tree.mjs +26 -26
- package/{index.d-0536b706.d.ts → index.d-cc6e48d4.d.ts} +1 -1
- package/{index.d-37e31cd3.d.ts → index.d-d77f0821.d.ts} +2 -2
- package/list/index.d.ts +3 -3
- package/menu/index.d.ts +3 -2
- package/{module.d-74a721b9.d.ts → module.d-9a0cb968.d.ts} +1 -0
- package/{module.d-ba05faa6.d.ts → module.d-a23953f5.d.ts} +1 -1
- package/{module.d-792a497c.d.ts → module.d-d86ca350.d.ts} +3 -3
- package/package.json +2 -2
- package/paginator/index.d.ts +8 -8
- package/progress-bar/index.d.ts +0 -1
- package/{pseudo-checkbox-module.d-3abc0461.d.ts → pseudo-checkbox-module.d-d21de92b.d.ts} +1 -1
- package/radio/index.d.ts +2 -2
- package/{ripple-loader.d-8aac2988.d.ts → ripple-loader.d-e5ac6c14.d.ts} +1 -1
- package/{ripple.d-2fb57d04.d.ts → ripple.d-f2cd74cf.d.ts} +1 -1
- package/schematics/ng-add/fonts/material-fonts.js +1 -1
- package/schematics/ng-add/fonts/material-fonts.js.map +1 -0
- package/schematics/ng-add/index.js +2 -2
- package/schematics/ng-add/index.js.map +1 -0
- package/schematics/ng-add/package-config.js +1 -1
- package/schematics/ng-add/package-config.js.map +1 -0
- package/schematics/ng-add/schema.js +1 -1
- package/schematics/ng-add/schema.js.map +1 -0
- package/schematics/ng-add/setup-project.js +1 -1
- package/schematics/ng-add/setup-project.js.map +1 -0
- package/schematics/ng-add/theming/create-custom-theme.js +1 -1
- package/schematics/ng-add/theming/create-custom-theme.js.map +1 -0
- package/schematics/ng-add/theming/theming.js +1 -1
- package/schematics/ng-add/theming/theming.js.map +1 -0
- package/schematics/ng-generate/address-form/index.js +1 -1
- package/schematics/ng-generate/address-form/index.js.map +1 -0
- package/schematics/ng-generate/address-form/schema.js +1 -1
- package/schematics/ng-generate/address-form/schema.js.map +1 -0
- package/schematics/ng-generate/dashboard/index.js +1 -1
- package/schematics/ng-generate/dashboard/index.js.map +1 -0
- package/schematics/ng-generate/dashboard/schema.js +1 -1
- package/schematics/ng-generate/dashboard/schema.js.map +1 -0
- package/schematics/ng-generate/navigation/index.js +1 -1
- package/schematics/ng-generate/navigation/index.js.map +1 -0
- package/schematics/ng-generate/navigation/schema.js +1 -1
- package/schematics/ng-generate/navigation/schema.js.map +1 -0
- package/schematics/ng-generate/table/index.js +1 -1
- package/schematics/ng-generate/table/index.js.map +1 -0
- package/schematics/ng-generate/table/schema.js +1 -1
- package/schematics/ng-generate/table/schema.js.map +1 -0
- package/schematics/ng-generate/theme-color/index_bundled.js +3828 -2237
- package/schematics/ng-generate/theme-color/index_bundled.js.map +4 -4
- package/schematics/ng-generate/tree/index.js +1 -1
- package/schematics/ng-generate/tree/index.js.map +1 -0
- package/schematics/ng-generate/tree/schema.js +1 -1
- package/schematics/ng-generate/tree/schema.js.map +1 -0
- package/schematics/ng-update/index_bundled.js +194 -782
- package/schematics/ng-update/index_bundled.js.map +4 -4
- package/schematics/tsconfig.json +26 -0
- package/select/index.d.ts +5 -5
- package/sidenav/index.d.ts +1 -1
- package/slider/index.d.ts +2 -2
- package/snack-bar/index.d.ts +5 -4
- package/sort/index.d.ts +1 -1
- package/stepper/index.d.ts +3 -3
- package/tabs/index.d.ts +4 -4
- package/timepicker/index.d.ts +0 -1
- package/tooltip/index.d.ts +1 -1
- package/fesm2022/date-range-input-harness-de70be6a.mjs.map +0 -1
- package/fesm2022/form-field-6d755764.mjs.map +0 -1
- package/fesm2022/icon-button-0850d958.mjs.map +0 -1
- package/fesm2022/module-1c16a0a9.mjs.map +0 -1
- package/fesm2022/module-47e3be58.mjs.map +0 -1
- package/fesm2022/module-a5f9ab72.mjs.map +0 -1
- package/fesm2022/optgroup-harness-5e66b138.mjs.map +0 -1
- package/fesm2022/option-harness-3b7c1106.mjs.map +0 -1
- package/fesm2022/pseudo-checkbox-af5a4ea4.mjs.map +0 -1
- package/fesm2022/ripple-loader-f2078c66.mjs.map +0 -1
- package/fesm2022/select-harness-69d47123.mjs.map +0 -1
- package/schematics/ng-add/fonts/material-fonts.mjs +0 -34
- package/schematics/ng-add/index.mjs +0 -54
- package/schematics/ng-add/package-config.mjs +0 -51
- package/schematics/ng-add/schema.mjs +0 -10
- package/schematics/ng-add/setup-project.mjs +0 -75
- package/schematics/ng-add/theming/create-custom-theme.mjs +0 -30
- package/schematics/ng-add/theming/theming.mjs +0 -151
- package/schematics/ng-generate/address-form/index.mjs +0 -43
- package/schematics/ng-generate/address-form/schema.mjs +0 -10
- package/schematics/ng-generate/dashboard/index.mjs +0 -42
- package/schematics/ng-generate/dashboard/schema.mjs +0 -10
- package/schematics/ng-generate/navigation/index.mjs +0 -42
- package/schematics/ng-generate/navigation/schema.mjs +0 -10
- package/schematics/ng-generate/table/index.mjs +0 -40
- package/schematics/ng-generate/table/schema.mjs +0 -10
- package/schematics/ng-generate/tree/index.mjs +0 -40
- package/schematics/ng-generate/tree/schema.mjs +0 -10
- package/schematics/schematics.externs.js +0 -0
package/autocomplete/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import * as i0 from '@angular/core';
|
|
|
2
2
|
import { InjectionToken, AfterContentInit, OnDestroy, TemplateRef, ElementRef, QueryList, EventEmitter, AfterViewInit, OnChanges, SimpleChanges } from '@angular/core';
|
|
3
3
|
import * as i2 from '@angular/cdk/overlay';
|
|
4
4
|
import { ScrollStrategy, Overlay } from '@angular/cdk/overlay';
|
|
5
|
-
import { M as MatOptionModule } from '../index.d-
|
|
5
|
+
import { M as MatOptionModule } from '../index.d-d77f0821.js';
|
|
6
6
|
import { M as MatCommonModule } from '../common-module.d-0e6515ae.js';
|
|
7
7
|
import { T as ThemePalette } from '../palette.d-ec4a617c.js';
|
|
8
8
|
import { M as MatOption, a as MatOptgroup, b as MatOptionSelectionChange } from '../option.d-6f493d78.js';
|
|
@@ -11,10 +11,10 @@ import { ActiveDescendantKeyManager } from '@angular/cdk/a11y';
|
|
|
11
11
|
import { ControlValueAccessor } from '@angular/forms';
|
|
12
12
|
import { Observable } from 'rxjs';
|
|
13
13
|
import * as i5 from '@angular/cdk/scrolling';
|
|
14
|
-
import '../index.d-
|
|
15
|
-
import '../ripple.d-
|
|
14
|
+
import '../index.d-cc6e48d4.js';
|
|
15
|
+
import '../ripple.d-f2cd74cf.js';
|
|
16
16
|
import '@angular/cdk/platform';
|
|
17
|
-
import '../pseudo-checkbox-module.d-
|
|
17
|
+
import '../pseudo-checkbox-module.d-d21de92b.js';
|
|
18
18
|
import '@angular/cdk/bidi';
|
|
19
19
|
|
|
20
20
|
/** Event object that is emitted when an autocomplete option is selected. */
|
|
@@ -224,6 +224,7 @@ declare class MatAutocompleteTrigger implements ControlValueAccessor, AfterViewI
|
|
|
224
224
|
private _viewportRuler;
|
|
225
225
|
private _scrollStrategy;
|
|
226
226
|
private _renderer;
|
|
227
|
+
private _animationsDisabled;
|
|
227
228
|
private _defaults;
|
|
228
229
|
private _overlayRef;
|
|
229
230
|
private _portal;
|
package/badge/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import * as i1 from '@angular/cdk/a11y';
|
|
3
3
|
import { M as MatCommonModule } from '../common-module.d-0e6515ae.js';
|
|
4
|
-
import { M as MatBadge, _ as _MatBadgeStyleLoader } from '../badge.d-
|
|
5
|
-
export { M as MatBadge, a as MatBadgePosition, b as MatBadgeSize } from '../badge.d-
|
|
4
|
+
import { M as MatBadge, _ as _MatBadgeStyleLoader } from '../badge.d-d42103d0.js';
|
|
5
|
+
export { M as MatBadge, a as MatBadgePosition, b as MatBadgeSize } from '../badge.d-d42103d0.js';
|
|
6
6
|
import '@angular/cdk/bidi';
|
|
7
7
|
import '../palette.d-ec4a617c.js';
|
|
8
8
|
|
package/badge/testing/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { BaseHarnessFilters, ComponentHarness, HarnessPredicate } from '@angular/cdk/testing';
|
|
2
|
-
import { a as MatBadgePosition, b as MatBadgeSize } from '../../badge.d-
|
|
2
|
+
import { a as MatBadgePosition, b as MatBadgeSize } from '../../badge.d-d42103d0.js';
|
|
3
3
|
import '@angular/core';
|
|
4
4
|
import '../../palette.d-ec4a617c.js';
|
|
5
5
|
|
|
@@ -20,7 +20,7 @@ declare class MatBadge implements OnInit, OnDestroy {
|
|
|
20
20
|
private _elementRef;
|
|
21
21
|
private _ariaDescriber;
|
|
22
22
|
private _renderer;
|
|
23
|
-
private
|
|
23
|
+
private _animationsDisabled;
|
|
24
24
|
private _idGenerator;
|
|
25
25
|
/**
|
|
26
26
|
* Theme color of the badge. This API is supported in M2 themes only, it
|
package/bottom-sheet/index.d.ts
CHANGED
|
@@ -153,6 +153,7 @@ declare const MAT_BOTTOM_SHEET_DEFAULT_OPTIONS: InjectionToken<MatBottomSheetCon
|
|
|
153
153
|
declare class MatBottomSheet implements OnDestroy {
|
|
154
154
|
private _overlay;
|
|
155
155
|
private _parentBottomSheet;
|
|
156
|
+
private _animationsDisabled;
|
|
156
157
|
private _defaultOptions;
|
|
157
158
|
private _bottomSheetRefAtThisLevel;
|
|
158
159
|
private _dialog;
|
package/button/index.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export { M as MAT_BUTTON_CONFIG, f as MAT_FAB_DEFAULT_OPTIONS, g as MAT_FAB_DEFAULT_OPTIONS_FACTORY, d as MatAnchor, c as MatButton, a as MatButtonAppearance, b as MatButtonConfig, n as MatButtonModule, j as MatFabAnchor, h as MatFabButton, e as MatFabDefaultOptions, m as MatIconAnchor, l as MatIconButton, k as MatMiniFabAnchor, i as MatMiniFabButton } from '../module.d-
|
|
1
|
+
export { M as MAT_BUTTON_CONFIG, f as MAT_FAB_DEFAULT_OPTIONS, g as MAT_FAB_DEFAULT_OPTIONS_FACTORY, d as MatAnchor, c as MatButton, a as MatButtonAppearance, b as MatButtonConfig, n as MatButtonModule, j as MatFabAnchor, h as MatFabButton, e as MatFabDefaultOptions, m as MatIconAnchor, l as MatIconButton, k as MatMiniFabAnchor, i as MatMiniFabButton } from '../module.d-d86ca350.js';
|
|
2
2
|
import '@angular/core';
|
|
3
3
|
import '../common-module.d-0e6515ae.js';
|
|
4
4
|
import '@angular/cdk/bidi';
|
|
5
|
-
import '../index.d-
|
|
6
|
-
import '../ripple.d-
|
|
5
|
+
import '../index.d-cc6e48d4.js';
|
|
6
|
+
import '../ripple.d-f2cd74cf.js';
|
|
7
7
|
import '@angular/cdk/platform';
|
|
8
8
|
import '@angular/cdk/a11y';
|
|
9
9
|
import '../palette.d-ec4a617c.js';
|
|
10
|
-
import '../ripple-loader.d-
|
|
10
|
+
import '../ripple-loader.d-e5ac6c14.js';
|
package/button-toggle/index.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { M as MatButtonToggleGroup, a as MatButtonToggle } from '../button-toggle.d-
|
|
2
|
-
export { d as MAT_BUTTON_TOGGLE_DEFAULT_OPTIONS, f as MAT_BUTTON_TOGGLE_GROUP, e as MAT_BUTTON_TOGGLE_GROUP_DEFAULT_OPTIONS_FACTORY, g as MAT_BUTTON_TOGGLE_GROUP_VALUE_ACCESSOR, a as MatButtonToggle, b as MatButtonToggleAppearance, h as MatButtonToggleChange, c as MatButtonToggleDefaultOptions, M as MatButtonToggleGroup, T as ToggleType } from '../button-toggle.d-
|
|
1
|
+
import { M as MatButtonToggleGroup, a as MatButtonToggle } from '../button-toggle.d-e3ddc80f.js';
|
|
2
|
+
export { d as MAT_BUTTON_TOGGLE_DEFAULT_OPTIONS, f as MAT_BUTTON_TOGGLE_GROUP, e as MAT_BUTTON_TOGGLE_GROUP_DEFAULT_OPTIONS_FACTORY, g as MAT_BUTTON_TOGGLE_GROUP_VALUE_ACCESSOR, a as MatButtonToggle, b as MatButtonToggleAppearance, h as MatButtonToggleChange, c as MatButtonToggleDefaultOptions, M as MatButtonToggleGroup, T as ToggleType } from '../button-toggle.d-e3ddc80f.js';
|
|
3
3
|
import * as i0 from '@angular/core';
|
|
4
4
|
import { M as MatCommonModule } from '../common-module.d-0e6515ae.js';
|
|
5
|
-
import { M as MatRippleModule } from '../index.d-
|
|
5
|
+
import { M as MatRippleModule } from '../index.d-cc6e48d4.js';
|
|
6
6
|
import '@angular/cdk/bidi';
|
|
7
7
|
import '@angular/forms';
|
|
8
|
-
import '../ripple.d-
|
|
8
|
+
import '../ripple.d-f2cd74cf.js';
|
|
9
9
|
import '@angular/cdk/platform';
|
|
10
10
|
|
|
11
11
|
declare class MatButtonToggleModule {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { BaseHarnessFilters, ComponentHarness, HarnessPredicate } from '@angular/cdk/testing';
|
|
2
|
-
import { b as MatButtonToggleAppearance } from '../../button-toggle.d-
|
|
2
|
+
import { b as MatButtonToggleAppearance } from '../../button-toggle.d-e3ddc80f.js';
|
|
3
3
|
import '@angular/cdk/bidi';
|
|
4
4
|
import '@angular/core';
|
|
5
5
|
import '@angular/forms';
|
|
@@ -182,7 +182,7 @@ declare class MatButtonToggle implements OnInit, AfterViewInit, OnDestroy {
|
|
|
182
182
|
private _elementRef;
|
|
183
183
|
private _focusMonitor;
|
|
184
184
|
private _idGenerator;
|
|
185
|
-
private
|
|
185
|
+
private _animationDisabled;
|
|
186
186
|
private _checked;
|
|
187
187
|
/**
|
|
188
188
|
* Attached to the aria-label attribute of the host element. In most cases, aria-labelledby will
|
package/checkbox/index.d.ts
CHANGED
|
@@ -31,7 +31,7 @@ declare class MatCheckbox implements AfterViewInit, OnChanges, ControlValueAcces
|
|
|
31
31
|
_elementRef: ElementRef<HTMLElement>;
|
|
32
32
|
private _changeDetectorRef;
|
|
33
33
|
private _ngZone;
|
|
34
|
-
|
|
34
|
+
protected _animationsDisabled: boolean;
|
|
35
35
|
private _options;
|
|
36
36
|
/** Focuses the checkbox. */
|
|
37
37
|
focus(): void;
|
package/chips/index.d.ts
CHANGED
|
@@ -6,9 +6,9 @@ import { ControlValueAccessor, NgControl } from '@angular/forms';
|
|
|
6
6
|
import { E as ErrorStateMatcher } from '../error-options.d-448d9046.js';
|
|
7
7
|
import { M as MatFormFieldControl } from '../form-field-control.d-eb86711c.js';
|
|
8
8
|
import { M as MatCommonModule } from '../common-module.d-0e6515ae.js';
|
|
9
|
-
import { M as MatRippleModule } from '../index.d-
|
|
9
|
+
import { M as MatRippleModule } from '../index.d-cc6e48d4.js';
|
|
10
10
|
import '@angular/cdk/bidi';
|
|
11
|
-
import '../ripple.d-
|
|
11
|
+
import '../ripple.d-f2cd74cf.js';
|
|
12
12
|
import '@angular/cdk/platform';
|
|
13
13
|
|
|
14
14
|
/**
|
|
@@ -837,6 +837,10 @@ declare class MatChipInput implements MatChipTextControl, OnChanges, OnDestroy {
|
|
|
837
837
|
get disabled(): boolean;
|
|
838
838
|
set disabled(value: boolean);
|
|
839
839
|
private _disabled;
|
|
840
|
+
/** Whether the input is readonly. */
|
|
841
|
+
readonly: boolean;
|
|
842
|
+
/** Whether the input should remain interactive when it is disabled. */
|
|
843
|
+
disabledInteractive: boolean;
|
|
840
844
|
/** Whether the input is empty. */
|
|
841
845
|
get empty(): boolean;
|
|
842
846
|
/** The native input element to which this directive is attached. */
|
|
@@ -859,10 +863,14 @@ declare class MatChipInput implements MatChipTextControl, OnChanges, OnDestroy {
|
|
|
859
863
|
setDescribedByIds(ids: string[]): void;
|
|
860
864
|
/** Checks whether a keycode is one of the configured separators. */
|
|
861
865
|
private _isSeparatorKey;
|
|
866
|
+
/** Gets the value to set on the `readonly` attribute. */
|
|
867
|
+
protected _getReadonlyAttribute(): string | null;
|
|
862
868
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatChipInput, never>;
|
|
863
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MatChipInput, "input[matChipInputFor]", ["matChipInput", "matChipInputFor"], { "chipGrid": { "alias": "matChipInputFor"; "required": false; }; "addOnBlur": { "alias": "matChipInputAddOnBlur"; "required": false; }; "separatorKeyCodes": { "alias": "matChipInputSeparatorKeyCodes"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "id": { "alias": "id"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "chipEnd": "matChipInputTokenEnd"; }, never, never, true, never>;
|
|
869
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MatChipInput, "input[matChipInputFor]", ["matChipInput", "matChipInputFor"], { "chipGrid": { "alias": "matChipInputFor"; "required": false; }; "addOnBlur": { "alias": "matChipInputAddOnBlur"; "required": false; }; "separatorKeyCodes": { "alias": "matChipInputSeparatorKeyCodes"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "id": { "alias": "id"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "disabledInteractive": { "alias": "matChipInputDisabledInteractive"; "required": false; }; }, { "chipEnd": "matChipInputTokenEnd"; }, never, never, true, never>;
|
|
864
870
|
static ngAcceptInputType_addOnBlur: unknown;
|
|
865
871
|
static ngAcceptInputType_disabled: unknown;
|
|
872
|
+
static ngAcceptInputType_readonly: unknown;
|
|
873
|
+
static ngAcceptInputType_disabledInteractive: unknown;
|
|
866
874
|
}
|
|
867
875
|
|
|
868
876
|
declare class MatChipsModule {
|
|
@@ -877,6 +885,8 @@ interface MatChipsDefaultOptions {
|
|
|
877
885
|
separatorKeyCodes: readonly number[] | ReadonlySet<number>;
|
|
878
886
|
/** Whether icon indicators should be hidden for single-selection. */
|
|
879
887
|
hideSingleSelectionIndicator?: boolean;
|
|
888
|
+
/** Whether the chip input should be interactive while disabled by default. */
|
|
889
|
+
inputDisabledInteractive?: boolean;
|
|
880
890
|
}
|
|
881
891
|
/** Injection token to be used to override the default options for the chips module. */
|
|
882
892
|
declare const MAT_CHIPS_DEFAULT_OPTIONS: InjectionToken<MatChipsDefaultOptions>;
|
package/core/index.d.ts
CHANGED
|
@@ -7,15 +7,15 @@ import { Subject } from 'rxjs';
|
|
|
7
7
|
import { E as ErrorStateMatcher$1 } from '../error-options.d-448d9046.js';
|
|
8
8
|
export { E as ErrorStateMatcher, S as ShowOnDirtyErrorStateMatcher } from '../error-options.d-448d9046.js';
|
|
9
9
|
export { M as MatLine, a as MatLineModule, s as setLines } from '../line.d-570a2537.js';
|
|
10
|
-
export { M as MatOptionModule } from '../index.d-
|
|
11
|
-
export { M as MatRippleLoader } from '../ripple-loader.d-
|
|
12
|
-
export { M as MatRippleModule } from '../index.d-
|
|
13
|
-
export { b as MatPseudoCheckbox, M as MatPseudoCheckboxModule, a as MatPseudoCheckboxState } from '../pseudo-checkbox-module.d-
|
|
10
|
+
export { M as MatOptionModule } from '../index.d-d77f0821.js';
|
|
11
|
+
export { M as MatRippleLoader } from '../ripple-loader.d-e5ac6c14.js';
|
|
12
|
+
export { M as MatRippleModule } from '../index.d-cc6e48d4.js';
|
|
13
|
+
export { b as MatPseudoCheckbox, M as MatPseudoCheckboxModule, a as MatPseudoCheckboxState } from '../pseudo-checkbox-module.d-d21de92b.js';
|
|
14
14
|
import { D as DateAdapter } from '../date-adapter.d-c6835d41.js';
|
|
15
15
|
export { D as DateAdapter, M as MAT_DATE_LOCALE, a as MAT_DATE_LOCALE_FACTORY } from '../date-adapter.d-c6835d41.js';
|
|
16
16
|
export { d as MAT_OPTGROUP, a as MatOptgroup, M as MatOption, b as MatOptionSelectionChange, _ as _countGroupLabelsBeforeOption, c as _getOptionScrollPosition } from '../option.d-6f493d78.js';
|
|
17
17
|
export { a as MAT_OPTION_PARENT_COMPONENT, M as MatOptionParentComponent } from '../option-parent.d-559ad5c5.js';
|
|
18
|
-
export { c as MAT_RIPPLE_GLOBAL_OPTIONS, M as MatRipple, g as RippleAnimationConfig, f as RippleConfig, b as RippleGlobalOptions, h as RippleRef, R as RippleRenderer, e as RippleState, a as RippleTarget, d as defaultRippleAnimationConfig } from '../ripple.d-
|
|
18
|
+
export { c as MAT_RIPPLE_GLOBAL_OPTIONS, M as MatRipple, g as RippleAnimationConfig, f as RippleConfig, b as RippleGlobalOptions, h as RippleRef, R as RippleRenderer, e as RippleState, a as RippleTarget, d as defaultRippleAnimationConfig } from '../ripple.d-f2cd74cf.js';
|
|
19
19
|
import '@angular/cdk/bidi';
|
|
20
20
|
import '@angular/cdk/a11y';
|
|
21
21
|
import '@angular/cdk/platform';
|
|
@@ -44,6 +44,11 @@ declare class AnimationDurations {
|
|
|
44
44
|
static ENTERING: string;
|
|
45
45
|
static EXITING: string;
|
|
46
46
|
}
|
|
47
|
+
/**
|
|
48
|
+
* Returns whether animations have been disabled by DI. Must be called in a DI context.
|
|
49
|
+
* @docs-private
|
|
50
|
+
*/
|
|
51
|
+
declare function _animationsDisabled(): boolean;
|
|
47
52
|
|
|
48
53
|
interface ErrorStateMatcher extends ErrorStateMatcher$1 {
|
|
49
54
|
}
|
|
@@ -191,4 +196,4 @@ declare class _MatInternalFormField {
|
|
|
191
196
|
static ɵcmp: i0.ɵɵComponentDeclaration<_MatInternalFormField, "div[mat-internal-form-field]", never, { "labelPosition": { "alias": "labelPosition"; "required": true; }; }, {}, never, ["*"], true, never>;
|
|
192
197
|
}
|
|
193
198
|
|
|
194
|
-
export { AnimationCurves, AnimationDurations, MAT_DATE_FORMATS, MAT_NATIVE_DATE_FORMATS, type MatDateFormats, MatNativeDateModule, NativeDateAdapter, NativeDateModule, VERSION, _ErrorStateTracker, _MatInternalFormField, _StructuralStylesLoader, provideNativeDateAdapter };
|
|
199
|
+
export { AnimationCurves, AnimationDurations, MAT_DATE_FORMATS, MAT_NATIVE_DATE_FORMATS, type MatDateFormats, MatNativeDateModule, NativeDateAdapter, NativeDateModule, VERSION, _ErrorStateTracker, _MatInternalFormField, _StructuralStylesLoader, _animationsDisabled, provideNativeDateAdapter };
|
package/core/m2/_theming.scss
CHANGED
|
@@ -24,7 +24,6 @@
|
|
|
24
24
|
@return map.get(map.get($palette, contrast), $hue);
|
|
25
25
|
}
|
|
26
26
|
|
|
27
|
-
|
|
28
27
|
/// Creates a map of hues to colors for a theme. This is used to define a theme palette in terms
|
|
29
28
|
/// of the Material Design hues.
|
|
30
29
|
/// @param {Map} $base-palette Map of hue keys to color values for the basis for this palette.
|
|
@@ -33,29 +32,39 @@
|
|
|
33
32
|
/// @param {String | Number} $darker "darker" hue for this palette.
|
|
34
33
|
/// @param {String | Number} $text "text" hue for this palette.
|
|
35
34
|
/// @returns {Map} A complete Angular Material theming palette.
|
|
36
|
-
@function define-palette(
|
|
37
|
-
$
|
|
38
|
-
$
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
35
|
+
@function define-palette(
|
|
36
|
+
$base-palette,
|
|
37
|
+
$default: 500,
|
|
38
|
+
$lighter: 100,
|
|
39
|
+
$darker: 700,
|
|
40
|
+
$text: $default
|
|
41
|
+
) {
|
|
42
|
+
$result: map.merge(
|
|
43
|
+
$base-palette,
|
|
44
|
+
(
|
|
45
|
+
default: _get-color-from-palette($base-palette, $default),
|
|
46
|
+
lighter: _get-color-from-palette($base-palette, $lighter),
|
|
47
|
+
darker: _get-color-from-palette($base-palette, $darker),
|
|
48
|
+
text: _get-color-from-palette($base-palette, $text),
|
|
49
|
+
default-contrast: get-contrast-color-from-palette($base-palette, $default),
|
|
50
|
+
lighter-contrast: get-contrast-color-from-palette($base-palette, $lighter),
|
|
51
|
+
darker-contrast: get-contrast-color-from-palette($base-palette, $darker),
|
|
52
|
+
)
|
|
53
|
+
);
|
|
47
54
|
|
|
48
55
|
// For each hue in the palette, add a "-contrast" color to the map.
|
|
49
56
|
@each $hue, $color in $base-palette {
|
|
50
|
-
$result: map.merge(
|
|
51
|
-
|
|
52
|
-
|
|
57
|
+
$result: map.merge(
|
|
58
|
+
$result,
|
|
59
|
+
(
|
|
60
|
+
'#{$hue}-contrast': get-contrast-color-from-palette($base-palette, $hue),
|
|
61
|
+
)
|
|
62
|
+
);
|
|
53
63
|
}
|
|
54
64
|
|
|
55
65
|
@return $result;
|
|
56
66
|
}
|
|
57
67
|
|
|
58
|
-
|
|
59
68
|
/// Gets a color from a theme palette (the output of mat-palette).
|
|
60
69
|
/// The hue can be one of the standard values (500, A400, etc.), one of the three preconfigured
|
|
61
70
|
/// hues (default, lighter, darker), or any of the aforementioned suffixed with "-contrast".
|
|
@@ -93,11 +102,9 @@
|
|
|
93
102
|
$color: map.get($theme, color);
|
|
94
103
|
@if not map.get($color, primary) {
|
|
95
104
|
@error 'Theme does not define a valid "primary" palette.';
|
|
96
|
-
}
|
|
97
|
-
@else if not map.get($color, accent) {
|
|
105
|
+
} @else if not map.get($color, accent) {
|
|
98
106
|
@error 'Theme does not define a valid "accent" palette.';
|
|
99
|
-
}
|
|
100
|
-
@else if not map.get($color, warn) {
|
|
107
|
+
} @else if not map.get($color, warn) {
|
|
101
108
|
@error 'Theme does not define a valid "warn" palette.';
|
|
102
109
|
}
|
|
103
110
|
}
|
|
@@ -113,7 +120,7 @@
|
|
|
113
120
|
warn: if($warn != null, $warn, define-palette(palette.$red-palette)),
|
|
114
121
|
is-dark: false,
|
|
115
122
|
foreground: palette.$light-theme-foreground-palette,
|
|
116
|
-
background: palette.$light-theme-background-palette
|
|
123
|
+
background: palette.$light-theme-background-palette
|
|
117
124
|
);
|
|
118
125
|
}
|
|
119
126
|
|
|
@@ -126,7 +133,7 @@
|
|
|
126
133
|
warn: if($warn != null, $warn, define-palette(palette.$red-palette)),
|
|
127
134
|
is-dark: true,
|
|
128
135
|
foreground: palette.$dark-theme-foreground-palette,
|
|
129
|
-
background: palette.$dark-theme-background-palette
|
|
136
|
+
background: palette.$dark-theme-background-palette
|
|
130
137
|
);
|
|
131
138
|
}
|
|
132
139
|
|
|
@@ -152,10 +159,12 @@
|
|
|
152
159
|
// configuration for the `color` theming part.
|
|
153
160
|
@if $accent != null {
|
|
154
161
|
@warn theming.$private-legacy-theme-warning;
|
|
155
|
-
$theme: _mat-validate-theme(
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
162
|
+
$theme: _mat-validate-theme(
|
|
163
|
+
(
|
|
164
|
+
_is-legacy-theme: true,
|
|
165
|
+
color: _mat-create-light-color-config($primary, $accent, $warn),
|
|
166
|
+
)
|
|
167
|
+
);
|
|
159
168
|
|
|
160
169
|
@return _internalize-theme(theming.private-create-backwards-compatibility-theme($theme));
|
|
161
170
|
}
|
|
@@ -168,10 +177,16 @@
|
|
|
168
177
|
$primary: map.get($color-settings, primary);
|
|
169
178
|
$accent: map.get($color-settings, accent);
|
|
170
179
|
$warn: map.get($color-settings, warn);
|
|
171
|
-
$result: map.merge(
|
|
180
|
+
$result: map.merge(
|
|
181
|
+
$result,
|
|
182
|
+
(
|
|
183
|
+
color: _mat-create-light-color-config($primary, $accent, $warn),
|
|
184
|
+
)
|
|
185
|
+
);
|
|
172
186
|
}
|
|
173
187
|
@return _internalize-theme(
|
|
174
|
-
|
|
188
|
+
theming.private-create-backwards-compatibility-theme(_mat-validate-theme($result))
|
|
189
|
+
);
|
|
175
190
|
}
|
|
176
191
|
|
|
177
192
|
// TODO: Remove legacy API and rename below `$primary` to `$config`. Currently it cannot be renamed
|
|
@@ -196,10 +211,12 @@
|
|
|
196
211
|
// configuration for the `color` theming part.
|
|
197
212
|
@if $accent != null {
|
|
198
213
|
@warn theming.$private-legacy-theme-warning;
|
|
199
|
-
$theme: _mat-validate-theme(
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
214
|
+
$theme: _mat-validate-theme(
|
|
215
|
+
(
|
|
216
|
+
_is-legacy-theme: true,
|
|
217
|
+
color: _mat-create-dark-color-config($primary, $accent, $warn),
|
|
218
|
+
)
|
|
219
|
+
);
|
|
203
220
|
@return _internalize-theme(theming.private-create-backwards-compatibility-theme($theme));
|
|
204
221
|
}
|
|
205
222
|
// If the map pattern is used (1), we just pass-through the configurations for individual
|
|
@@ -211,10 +228,16 @@
|
|
|
211
228
|
$primary: map.get($color-settings, primary);
|
|
212
229
|
$accent: map.get($color-settings, accent);
|
|
213
230
|
$warn: map.get($color-settings, warn);
|
|
214
|
-
$result: map.merge(
|
|
231
|
+
$result: map.merge(
|
|
232
|
+
$result,
|
|
233
|
+
(
|
|
234
|
+
color: _mat-create-dark-color-config($primary, $accent, $warn),
|
|
235
|
+
)
|
|
236
|
+
);
|
|
215
237
|
}
|
|
216
238
|
@return _internalize-theme(
|
|
217
|
-
|
|
239
|
+
theming.private-create-backwards-compatibility-theme(_mat-validate-theme($result))
|
|
240
|
+
);
|
|
218
241
|
}
|
|
219
242
|
|
|
220
243
|
/// Gets the color configuration from the given theme or configuration.
|
|
@@ -227,11 +250,11 @@
|
|
|
227
250
|
}
|
|
228
251
|
|
|
229
252
|
/// Gets the density configuration from the given theme or configuration.
|
|
230
|
-
/// @param {Map} $theme-or-config The theme map returned from `define-light-theme` or
|
|
253
|
+
/// @param {Map|string|number} $theme-or-config The theme map returned from `define-light-theme` or
|
|
231
254
|
/// `define-dark-theme`.
|
|
232
|
-
/// @param {
|
|
233
|
-
/// `density` configuration.
|
|
234
|
-
/// @returns {
|
|
255
|
+
/// @param {string|number} $default The default value returned if the given `$theme` does not
|
|
256
|
+
/// include a `density` configuration.
|
|
257
|
+
/// @returns {string|number} Density configuration for a theme.
|
|
235
258
|
@function get-density-config($theme-or-config, $default: 0) {
|
|
236
259
|
@return theming.private-get-density-config($theme-or-config, $default);
|
|
237
260
|
}
|
|
@@ -258,14 +281,16 @@
|
|
|
258
281
|
$internalized-theme: (
|
|
259
282
|
theming.$private-internal-name: (
|
|
260
283
|
theme-version: 0,
|
|
261
|
-
m2-config: $theme
|
|
262
|
-
)
|
|
284
|
+
m2-config: $theme,
|
|
285
|
+
),
|
|
263
286
|
);
|
|
264
287
|
@if (theming.$theme-legacy-inspection-api-compatibility) {
|
|
265
288
|
@return map.merge($theme, $internalized-theme);
|
|
266
289
|
}
|
|
267
|
-
$error-theme:
|
|
268
|
-
|
|
290
|
+
$error-theme: _replace-values-with-errors(
|
|
291
|
+
$theme,
|
|
292
|
+
'Theme may only be accessed via theme inspection API'
|
|
293
|
+
);
|
|
269
294
|
@return map.merge($error-theme, $internalized-theme);
|
|
270
295
|
}
|
|
271
296
|
|
|
@@ -285,8 +310,7 @@
|
|
|
285
310
|
$value: map.set($value, $k, _replace-values-with-errors($v, $message));
|
|
286
311
|
}
|
|
287
312
|
@return $value;
|
|
288
|
-
}
|
|
289
|
-
@else if $value-type == 'list' and list.length($value) > 0 {
|
|
313
|
+
} @else if $value-type == 'list' and list.length($value) > 0 {
|
|
290
314
|
@for $i from 1 through list.length() {
|
|
291
315
|
$value: list.set-nth($value, $i, _replace-values-with-errors(list.nth($value, $i), $message));
|
|
292
316
|
}
|
package/datepicker/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
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 { c as MatButton, n as MatButtonModule } from '../module.d-
|
|
3
|
+
import { c as MatButton, n as MatButtonModule } from '../module.d-d86ca350.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';
|
|
@@ -17,10 +17,10 @@ import { M as MatFormFieldControl } from '../form-field-control.d-eb86711c.js';
|
|
|
17
17
|
import { Directionality } from '@angular/cdk/bidi';
|
|
18
18
|
import { E as ErrorStateMatcher } from '../error-options.d-448d9046.js';
|
|
19
19
|
import * as i5 from '@angular/cdk/scrolling';
|
|
20
|
-
import '../index.d-
|
|
21
|
-
import '../ripple.d-
|
|
20
|
+
import '../index.d-cc6e48d4.js';
|
|
21
|
+
import '../ripple.d-f2cd74cf.js';
|
|
22
22
|
import '@angular/cdk/platform';
|
|
23
|
-
import '../ripple-loader.d-
|
|
23
|
+
import '../ripple-loader.d-e5ac6c14.js';
|
|
24
24
|
|
|
25
25
|
/** Extra CSS classes that can be associated with a calendar cell. */
|
|
26
26
|
type MatCalendarCellCssClasses = string | string[] | Set<string> | {
|
|
@@ -1156,6 +1156,7 @@ declare abstract class MatDatepickerBase<C extends MatDatepickerControl<D>, S, D
|
|
|
1156
1156
|
private _dateAdapter;
|
|
1157
1157
|
private _dir;
|
|
1158
1158
|
private _model;
|
|
1159
|
+
private _animationsDisabled;
|
|
1159
1160
|
private _scrollStrategy;
|
|
1160
1161
|
private _inputStateChanges;
|
|
1161
1162
|
private _document;
|
package/dialog/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { M as MatDialogRef, a as MatDialogContainer } from '../dialog.d-
|
|
2
|
-
export { A as AutoFocusTarget, f as DialogPosition, D as DialogRole, b as MAT_DIALOG_DATA, c as MAT_DIALOG_DEFAULT_OPTIONS, d as MAT_DIALOG_SCROLL_STRATEGY, e as MatDialog, g as MatDialogConfig, a as MatDialogContainer, M as MatDialogRef, h as MatDialogState, _ as _closeDialogVia } from '../dialog.d-
|
|
1
|
+
import { M as MatDialogRef, a as MatDialogContainer } from '../dialog.d-4ffbd89c.js';
|
|
2
|
+
export { A as AutoFocusTarget, f as DialogPosition, D as DialogRole, b as MAT_DIALOG_DATA, c as MAT_DIALOG_DEFAULT_OPTIONS, d as MAT_DIALOG_SCROLL_STRATEGY, e as MatDialog, g as MatDialogConfig, a as MatDialogContainer, M as MatDialogRef, h as MatDialogState, _ as _closeDialogVia } from '../dialog.d-4ffbd89c.js';
|
|
3
3
|
import * as i0 from '@angular/core';
|
|
4
4
|
import { OnInit, OnChanges, SimpleChanges, OnDestroy } from '@angular/core';
|
|
5
5
|
import * as i5 from '@angular/cdk/scrolling';
|
|
@@ -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 { D as DialogRole, e as MatDialog, g as MatDialogConfig, M as MatDialogRef } from '../../dialog.d-
|
|
3
|
+
import { D as DialogRole, e as MatDialog, g as MatDialogConfig, M as MatDialogRef } from '../../dialog.d-4ffbd89c.js';
|
|
4
4
|
import { ComponentType } from '@angular/cdk/overlay';
|
|
5
5
|
import { OnDestroy } from '@angular/core';
|
|
6
6
|
import '@angular/cdk/bidi';
|
|
@@ -121,7 +121,6 @@ interface LegacyDialogAnimationEvent {
|
|
|
121
121
|
totalTime: number;
|
|
122
122
|
}
|
|
123
123
|
declare class MatDialogContainer extends CdkDialogContainer<MatDialogConfig> implements OnDestroy {
|
|
124
|
-
private _animationMode;
|
|
125
124
|
/** Emits when an animation state changes. */
|
|
126
125
|
_animationStateChanged: EventEmitter<LegacyDialogAnimationEvent>;
|
|
127
126
|
/** Whether animations are enabled. */
|
|
@@ -284,6 +283,7 @@ declare class MatDialog implements OnDestroy {
|
|
|
284
283
|
private _parentDialog;
|
|
285
284
|
private _idGenerator;
|
|
286
285
|
protected _dialog: Dialog;
|
|
286
|
+
private _animationsDisabled;
|
|
287
287
|
private readonly _openDialogsAtThisLevel;
|
|
288
288
|
private readonly _afterAllClosedAtThisLevel;
|
|
289
289
|
private readonly _afterOpenedAtThisLevel;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { inject, ANIMATION_MODULE_TYPE } from '@angular/core';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* @deprecated No longer used, will be removed.
|
|
5
|
+
* @breaking-change 21.0.0
|
|
6
|
+
* @docs-private
|
|
7
|
+
*/
|
|
8
|
+
class AnimationCurves {
|
|
9
|
+
static STANDARD_CURVE = 'cubic-bezier(0.4,0.0,0.2,1)';
|
|
10
|
+
static DECELERATION_CURVE = 'cubic-bezier(0.0,0.0,0.2,1)';
|
|
11
|
+
static ACCELERATION_CURVE = 'cubic-bezier(0.4,0.0,1,1)';
|
|
12
|
+
static SHARP_CURVE = 'cubic-bezier(0.4,0.0,0.6,1)';
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @deprecated No longer used, will be removed.
|
|
16
|
+
* @breaking-change 21.0.0
|
|
17
|
+
* @docs-private
|
|
18
|
+
*/
|
|
19
|
+
class AnimationDurations {
|
|
20
|
+
static COMPLEX = '375ms';
|
|
21
|
+
static ENTERING = '225ms';
|
|
22
|
+
static EXITING = '195ms';
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Returns whether animations have been disabled by DI. Must be called in a DI context.
|
|
26
|
+
* @docs-private
|
|
27
|
+
*/
|
|
28
|
+
function _animationsDisabled() {
|
|
29
|
+
return inject(ANIMATION_MODULE_TYPE, { optional: true }) === 'NoopAnimations';
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
export { AnimationCurves as A, _animationsDisabled as _, AnimationDurations as a };
|
|
33
|
+
//# sourceMappingURL=animation-5f89c9a6.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"animation-5f89c9a6.mjs","sources":["../../../../../../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 {ANIMATION_MODULE_TYPE, inject} from '@angular/core';\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 return inject(ANIMATION_MODULE_TYPE, {optional: true}) === 'NoopAnimations';\n}\n"],"names":[],"mappings":";;AAUA;;;;AAIG;MACU,eAAe,CAAA;AAC1B,IAAA,OAAO,cAAc,GAAG,6BAA6B,CAAA;AACrD,IAAA,OAAO,kBAAkB,GAAG,6BAA6B,CAAA;AACzD,IAAA,OAAO,kBAAkB,GAAG,2BAA2B,CAAA;AACvD,IAAA,OAAO,WAAW,GAAG,6BAA6B,CAAA;;AAGpD;;;;AAIG;MACU,kBAAkB,CAAA;AAC7B,IAAA,OAAO,OAAO,GAAG,OAAO,CAAA;AACxB,IAAA,OAAO,QAAQ,GAAG,OAAO,CAAA;AACzB,IAAA,OAAO,OAAO,GAAG,OAAO,CAAA;;AAG1B;;;AAGG;SACa,mBAAmB,GAAA;AACjC,IAAA,OAAO,MAAM,CAAC,qBAAqB,EAAE,EAAC,QAAQ,EAAE,IAAI,EAAC,CAAC,KAAK,gBAAgB,CAAA;AAC7E;;;;"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { coerceBooleanProperty } from '@angular/cdk/coercion';
|
|
2
2
|
import { ComponentHarness, HarnessPredicate } from '@angular/cdk/testing';
|
|
3
|
-
import { M as MatOptionHarness } from '../option-harness-
|
|
4
|
-
import { M as MatOptgroupHarness } from '../optgroup-harness-
|
|
3
|
+
import { M as MatOptionHarness } from '../option-harness-b4971f41.mjs';
|
|
4
|
+
import { M as MatOptgroupHarness } from '../optgroup-harness-d5cf72ed.mjs';
|
|
5
5
|
|
|
6
6
|
class MatAutocompleteHarness extends ComponentHarness {
|
|
7
7
|
_documentRootLocator = this.documentRootLocatorFactory();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"testing.mjs","sources":["
|
|
1
|
+
{"version":3,"file":"testing.mjs","sources":["../../../../../../k8-fastbuild-ST-70f2edae98f4/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":"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"}
|