@angular/material 15.0.0-next.1 → 15.0.0-next.3
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/bottom-sheet/index.d.ts +2 -0
- package/core/_core.scss +2 -3
- package/core/theming/_theming.scss +19 -1
- package/datepicker/_datepicker-legacy-compat.scss +85 -0
- package/datepicker/_datepicker-theme.scss +8 -2
- package/datepicker/index.d.ts +21 -11
- package/dialog/index.d.ts +2 -0
- package/esm2020/autocomplete/autocomplete.mjs +2 -1
- package/esm2020/bottom-sheet/bottom-sheet-config.mjs +3 -1
- package/esm2020/bottom-sheet/bottom-sheet-container.mjs +3 -3
- package/esm2020/chips/chip-set.mjs +2 -1
- package/esm2020/core/version.mjs +1 -1
- package/esm2020/datepicker/calendar.mjs +43 -20
- package/esm2020/datepicker/date-range-input.mjs +10 -10
- package/esm2020/datepicker/datepicker-actions.mjs +2 -2
- package/esm2020/datepicker/datepicker-base.mjs +3 -3
- package/esm2020/datepicker/datepicker-input.mjs +9 -9
- package/esm2020/datepicker/datepicker-module.mjs +5 -5
- package/esm2020/datepicker/datepicker-toggle.mjs +5 -5
- package/esm2020/dialog/dialog-config.mjs +3 -1
- package/esm2020/expansion/accordion.mjs +2 -1
- package/esm2020/form-field/testing/error-harness.mjs +31 -0
- package/esm2020/form-field/testing/form-field-harness.mjs +9 -4
- package/esm2020/form-field/testing/public-api.mjs +2 -1
- package/esm2020/legacy-autocomplete/autocomplete.mjs +5 -5
- package/esm2020/legacy-autocomplete/testing/autocomplete-harness.mjs +1 -1
- package/esm2020/legacy-button/button.mjs +4 -4
- package/esm2020/legacy-chips/chip-list.mjs +3 -4
- package/esm2020/legacy-core/option/index.mjs +8 -8
- package/esm2020/legacy-core/public-api.mjs +26 -26
- package/esm2020/legacy-core/testing/optgroup-harness-filters.mjs +1 -1
- package/esm2020/legacy-core/testing/optgroup-harness.mjs +1 -1
- package/esm2020/legacy-core/testing/option-harness-filters.mjs +1 -1
- package/esm2020/legacy-core/testing/option-harness.mjs +1 -1
- package/esm2020/legacy-form-field/form-field.mjs +3 -3
- package/esm2020/legacy-form-field/testing/error-harness.mjs +26 -0
- package/esm2020/legacy-form-field/testing/form-field-harness.mjs +3 -1
- package/esm2020/legacy-form-field/testing/public-api.mjs +2 -1
- package/esm2020/legacy-list/selection-list.mjs +3 -4
- package/esm2020/legacy-select/select.mjs +9 -9
- package/esm2020/legacy-select/testing/select-harness.mjs +1 -1
- package/esm2020/list/selection-list.mjs +3 -4
- package/esm2020/menu/menu.mjs +4 -6
- package/esm2020/select/select.mjs +5 -3
- package/esm2020/stepper/stepper.mjs +3 -3
- package/esm2020/tabs/paginated-tab-header.mjs +3 -2
- package/esm2020/tooltip/tooltip.mjs +16 -10
- package/fesm2015/autocomplete.mjs +2 -0
- package/fesm2015/autocomplete.mjs.map +1 -1
- package/fesm2015/bottom-sheet.mjs +4 -2
- package/fesm2015/bottom-sheet.mjs.map +1 -1
- package/fesm2015/chips.mjs +2 -0
- package/fesm2015/chips.mjs.map +1 -1
- package/fesm2015/core.mjs +1 -1
- package/fesm2015/core.mjs.map +1 -1
- package/fesm2015/datepicker.mjs +66 -43
- package/fesm2015/datepicker.mjs.map +1 -1
- package/fesm2015/dialog.mjs +2 -0
- package/fesm2015/dialog.mjs.map +1 -1
- package/fesm2015/expansion.mjs +2 -0
- package/fesm2015/expansion.mjs.map +1 -1
- package/fesm2015/form-field/testing.mjs +36 -5
- package/fesm2015/form-field/testing.mjs.map +1 -1
- package/fesm2015/legacy-autocomplete/testing.mjs.map +1 -1
- package/fesm2015/legacy-autocomplete.mjs +4 -4
- package/fesm2015/legacy-autocomplete.mjs.map +1 -1
- package/fesm2015/legacy-button.mjs +4 -4
- package/fesm2015/legacy-button.mjs.map +1 -1
- package/fesm2015/legacy-chips.mjs +3 -3
- package/fesm2015/legacy-chips.mjs.map +1 -1
- package/fesm2015/legacy-core/testing.mjs.map +1 -1
- package/fesm2015/legacy-core.mjs +1 -1
- package/fesm2015/legacy-core.mjs.map +1 -1
- package/fesm2015/legacy-form-field/testing.mjs +28 -2
- package/fesm2015/legacy-form-field/testing.mjs.map +1 -1
- package/fesm2015/legacy-form-field.mjs +2 -2
- package/fesm2015/legacy-form-field.mjs.map +1 -1
- package/fesm2015/legacy-list.mjs +3 -3
- package/fesm2015/legacy-list.mjs.map +1 -1
- package/fesm2015/legacy-select/testing.mjs.map +1 -1
- package/fesm2015/legacy-select.mjs +8 -8
- package/fesm2015/legacy-select.mjs.map +1 -1
- package/fesm2015/list.mjs +3 -3
- package/fesm2015/list.mjs.map +1 -1
- package/fesm2015/menu.mjs +4 -5
- package/fesm2015/menu.mjs.map +1 -1
- package/fesm2015/select.mjs +5 -2
- package/fesm2015/select.mjs.map +1 -1
- package/fesm2015/stepper.mjs +2 -2
- package/fesm2015/stepper.mjs.map +1 -1
- package/fesm2015/tabs.mjs +3 -1
- package/fesm2015/tabs.mjs.map +1 -1
- package/fesm2015/tooltip.mjs +16 -9
- package/fesm2015/tooltip.mjs.map +1 -1
- package/fesm2020/autocomplete.mjs +1 -0
- package/fesm2020/autocomplete.mjs.map +1 -1
- package/fesm2020/bottom-sheet.mjs +4 -2
- package/fesm2020/bottom-sheet.mjs.map +1 -1
- package/fesm2020/chips.mjs +1 -0
- package/fesm2020/chips.mjs.map +1 -1
- package/fesm2020/core.mjs +1 -1
- package/fesm2020/core.mjs.map +1 -1
- package/fesm2020/datepicker.mjs +66 -43
- package/fesm2020/datepicker.mjs.map +1 -1
- package/fesm2020/dialog.mjs +2 -0
- package/fesm2020/dialog.mjs.map +1 -1
- package/fesm2020/expansion.mjs +1 -0
- package/fesm2020/expansion.mjs.map +1 -1
- package/fesm2020/form-field/testing.mjs +39 -5
- package/fesm2020/form-field/testing.mjs.map +1 -1
- package/fesm2020/legacy-autocomplete/testing.mjs.map +1 -1
- package/fesm2020/legacy-autocomplete.mjs +4 -4
- package/fesm2020/legacy-autocomplete.mjs.map +1 -1
- package/fesm2020/legacy-button.mjs +4 -4
- package/fesm2020/legacy-button.mjs.map +1 -1
- package/fesm2020/legacy-chips.mjs +2 -3
- package/fesm2020/legacy-chips.mjs.map +1 -1
- package/fesm2020/legacy-core/testing.mjs.map +1 -1
- package/fesm2020/legacy-core.mjs +1 -1
- package/fesm2020/legacy-core.mjs.map +1 -1
- package/fesm2020/legacy-form-field/testing.mjs +28 -2
- package/fesm2020/legacy-form-field/testing.mjs.map +1 -1
- package/fesm2020/legacy-form-field.mjs +2 -2
- package/fesm2020/legacy-form-field.mjs.map +1 -1
- package/fesm2020/legacy-list.mjs +2 -3
- package/fesm2020/legacy-list.mjs.map +1 -1
- package/fesm2020/legacy-select/testing.mjs.map +1 -1
- package/fesm2020/legacy-select.mjs +8 -8
- package/fesm2020/legacy-select.mjs.map +1 -1
- package/fesm2020/list.mjs +2 -3
- package/fesm2020/list.mjs.map +1 -1
- package/fesm2020/menu.mjs +3 -5
- package/fesm2020/menu.mjs.map +1 -1
- package/fesm2020/select.mjs +4 -2
- package/fesm2020/select.mjs.map +1 -1
- package/fesm2020/stepper.mjs +2 -2
- package/fesm2020/stepper.mjs.map +1 -1
- package/fesm2020/tabs.mjs +2 -1
- package/fesm2020/tabs.mjs.map +1 -1
- package/fesm2020/tooltip.mjs +15 -9
- package/fesm2020/tooltip.mjs.map +1 -1
- package/form-field/testing/index.d.ts +36 -4
- package/legacy-autocomplete/testing/index.d.ts +3 -3
- package/legacy-button/_button-theme.scss +20 -1
- package/legacy-core/_core.scss +2 -4
- package/legacy-core/index.d.ts +132 -132
- package/legacy-core/testing/index.d.ts +20 -20
- package/legacy-form-field/testing/index.d.ts +23 -1
- package/legacy-prebuilt-themes/legacy-deeppurple-amber.css +1 -1
- package/legacy-prebuilt-themes/legacy-indigo-pink.css +1 -1
- package/legacy-prebuilt-themes/legacy-pink-bluegrey.css +1 -1
- package/legacy-prebuilt-themes/legacy-purple-green.css +1 -1
- package/legacy-select/testing/index.d.ts +3 -3
- package/menu/index.d.ts +0 -2
- package/package.json +2 -2
- package/prebuilt-themes/deeppurple-amber.css +1 -1
- package/prebuilt-themes/indigo-pink.css +1 -1
- package/prebuilt-themes/pink-bluegrey.css +1 -1
- package/prebuilt-themes/purple-green.css +1 -1
- package/schematics/ng-add/index.js +1 -1
- package/schematics/ng-add/index.mjs +1 -1
- package/schematics/ng-generate/mdc-migration/index_bundled.js +151 -66
- package/schematics/ng-generate/mdc-migration/index_bundled.js.map +2 -2
- package/schematics/ng-generate/mdc-migration/mdc_migration_bundle_metadata.json +1 -1
- package/schematics/ng-update/index_bundled.js +190 -28
- package/schematics/ng-update/index_bundled.js.map +2 -2
- package/schematics/ng-update/ng_update_index_metadata.json +1 -1
- package/tooltip/index.d.ts +4 -4
package/legacy-core/index.d.ts
CHANGED
|
@@ -1,125 +1,167 @@
|
|
|
1
|
-
import { AnimationCurves } from '@angular/material/core';
|
|
2
|
-
import { AnimationDurations } from '@angular/material/core';
|
|
3
|
-
import { CanColor } from '@angular/material/core';
|
|
4
|
-
import { CanDisable } from '@angular/material/core';
|
|
5
|
-
import { CanDisableRipple } from '@angular/material/core';
|
|
6
|
-
import { CanUpdateErrorState } from '@angular/material/core';
|
|
7
1
|
import { ChangeDetectorRef } from '@angular/core';
|
|
8
|
-
import { _countGroupLabelsBeforeOption } from '@angular/material/core';
|
|
9
|
-
import { DateAdapter } from '@angular/material/core';
|
|
10
|
-
import { defaultRippleAnimationConfig } from '@angular/material/core';
|
|
2
|
+
import { _countGroupLabelsBeforeOption as _countGroupLabelsBeforeLegacyOption } from '@angular/material/core';
|
|
11
3
|
import { ElementRef } from '@angular/core';
|
|
12
|
-
import {
|
|
13
|
-
import { _getOptionScrollPosition } from '@angular/material/core';
|
|
14
|
-
import { GranularSanityChecks } from '@angular/material/core';
|
|
15
|
-
import { HasInitialized } from '@angular/material/core';
|
|
16
|
-
import { HasTabIndex } from '@angular/material/core';
|
|
4
|
+
import { _getOptionScrollPosition as _getLegacyOptionScrollPosition } from '@angular/material/core';
|
|
17
5
|
import * as i0 from '@angular/core';
|
|
18
6
|
import * as i3 from '@angular/material/core';
|
|
19
7
|
import * as i4 from '@angular/common';
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
8
|
+
import { VERSION as LEGACY_VERSION } from '@angular/material/core';
|
|
9
|
+
import { AnimationCurves as LegacyAnimationCurves } from '@angular/material/core';
|
|
10
|
+
import { AnimationDurations as LegacyAnimationDurations } from '@angular/material/core';
|
|
11
|
+
import { CanColor as LegacyCanColor } from '@angular/material/core';
|
|
12
|
+
import { CanDisable as LegacyCanDisable } from '@angular/material/core';
|
|
13
|
+
import { CanDisableRipple as LegacyCanDisableRipple } from '@angular/material/core';
|
|
14
|
+
import { CanUpdateErrorState as LegacyCanUpdateErrorState } from '@angular/material/core';
|
|
15
|
+
import { DateAdapter as LegacyDateAdapter } from '@angular/material/core';
|
|
16
|
+
import { defaultRippleAnimationConfig as legacyDefaultRippleAnimationConfig } from '@angular/material/core';
|
|
17
|
+
import { ErrorStateMatcher as LegacyErrorStateMatcher } from '@angular/material/core';
|
|
18
|
+
import { GranularSanityChecks as LegacyGranularSanityChecks } from '@angular/material/core';
|
|
19
|
+
import { HasInitialized as LegacyHasInitialized } from '@angular/material/core';
|
|
20
|
+
import { HasTabIndex as LegacyHasTabIndex } from '@angular/material/core';
|
|
21
|
+
import { mixinColor as legacyMixinColor } from '@angular/material/core';
|
|
22
|
+
import { mixinDisabled as legacyMixinDisabled } from '@angular/material/core';
|
|
23
|
+
import { mixinDisableRipple as legacyMixinDisableRipple } from '@angular/material/core';
|
|
24
|
+
import { mixinErrorState as legacyMixinErrorState } from '@angular/material/core';
|
|
25
|
+
import { mixinInitialized as legacyMixinInitialized } from '@angular/material/core';
|
|
26
|
+
import { mixinTabIndex as legacyMixinTabIndex } from '@angular/material/core';
|
|
27
|
+
import { NativeDateAdapter as LegacyNativeDateAdapter } from '@angular/material/core';
|
|
28
|
+
import { NativeDateModule as LegacyNativeDateModule } from '@angular/material/core';
|
|
29
|
+
import { RippleAnimationConfig as LegacyRippleAnimationConfig } from '@angular/material/core';
|
|
30
|
+
import { RippleConfig as LegacyRippleConfig } from '@angular/material/core';
|
|
31
|
+
import { RippleGlobalOptions as LegacyRippleGlobalOptions } from '@angular/material/core';
|
|
32
|
+
import { RippleRef as LegacyRippleRef } from '@angular/material/core';
|
|
33
|
+
import { RippleRenderer as LegacyRippleRenderer } from '@angular/material/core';
|
|
34
|
+
import { RippleState as LegacyRippleState } from '@angular/material/core';
|
|
35
|
+
import { RippleTarget as LegacyRippleTarget } from '@angular/material/core';
|
|
36
|
+
import { SanityChecks as LegacySanityChecks } from '@angular/material/core';
|
|
37
|
+
import { setLines as legacySetLines } from '@angular/material/core';
|
|
38
|
+
import { ShowOnDirtyErrorStateMatcher as LegacyShowOnDirtyErrorStateMatcher } from '@angular/material/core';
|
|
39
|
+
import { ThemePalette as LegacyThemePalette } from '@angular/material/core';
|
|
40
|
+
import { MAT_DATE_FORMATS as MAT_LEGACY_DATE_FORMATS } from '@angular/material/core';
|
|
41
|
+
import { MAT_DATE_LOCALE as MAT_LEGACY_DATE_LOCALE } from '@angular/material/core';
|
|
42
|
+
import { MAT_DATE_LOCALE_FACTORY as MAT_LEGACY_DATE_LOCALE_FACTORY } from '@angular/material/core';
|
|
43
|
+
import { MAT_NATIVE_DATE_FORMATS as MAT_LEGACY_NATIVE_DATE_FORMATS } from '@angular/material/core';
|
|
44
|
+
import { MAT_OPTGROUP as MAT_LEGACY_OPTGROUP } from '@angular/material/core';
|
|
45
|
+
import { MAT_OPTION_PARENT_COMPONENT as MAT_LEGACY_OPTION_PARENT_COMPONENT } from '@angular/material/core';
|
|
46
|
+
import { MAT_RIPPLE_GLOBAL_OPTIONS as MAT_LEGACY_RIPPLE_GLOBAL_OPTIONS } from '@angular/material/core';
|
|
47
|
+
import { MATERIAL_SANITY_CHECKS as MATERIAL_LEGACY_SANITY_CHECKS } from '@angular/material/core';
|
|
28
48
|
import { MatCommonModule as MatLegacyCommonModule } from '@angular/material/core';
|
|
29
49
|
import { MatDateFormats as MatLegacyDateFormats } from '@angular/material/core';
|
|
50
|
+
import { MatLine as MatLegacyLine } from '@angular/material/core';
|
|
30
51
|
import { MatLineModule as MatLegacyLineModule } from '@angular/material/core';
|
|
31
52
|
import { MatNativeDateModule as MatLegacyNativeDateModule } from '@angular/material/core';
|
|
53
|
+
import { _MatOptgroupBase as _MatLegacyOptgroupBase } from '@angular/material/core';
|
|
54
|
+
import { _MatOptionBase as _MatLegacyOptionBase } from '@angular/material/core';
|
|
55
|
+
import { MatOptionParentComponent as MatLegacyOptionParentComponent } from '@angular/material/core';
|
|
56
|
+
import { MatOptionSelectionChange as MatLegacyOptionSelectionChange } from '@angular/material/core';
|
|
32
57
|
import { MatPseudoCheckbox as MatLegacyPseudoCheckbox } from '@angular/material/core';
|
|
33
58
|
import { MatPseudoCheckboxModule as MatLegacyPseudoCheckboxModule } from '@angular/material/core';
|
|
34
59
|
import { MatPseudoCheckboxState as MatLegacyPseudoCheckboxState } from '@angular/material/core';
|
|
35
60
|
import { MatRipple as MatLegacyRipple } from '@angular/material/core';
|
|
36
61
|
import { MatRippleModule as MatLegacyRippleModule } from '@angular/material/core';
|
|
37
|
-
import { MatLine } from '@angular/material/core';
|
|
38
|
-
import { _MatOptgroupBase } from '@angular/material/core';
|
|
39
|
-
import { _MatOptionBase } from '@angular/material/core';
|
|
40
|
-
import { MatOptionParentComponent } from '@angular/material/core';
|
|
41
|
-
import { MatOptionSelectionChange } from '@angular/material/core';
|
|
42
|
-
import { mixinColor } from '@angular/material/core';
|
|
43
|
-
import { mixinDisabled } from '@angular/material/core';
|
|
44
|
-
import { mixinDisableRipple } from '@angular/material/core';
|
|
45
|
-
import { mixinErrorState } from '@angular/material/core';
|
|
46
|
-
import { mixinInitialized } from '@angular/material/core';
|
|
47
|
-
import { mixinTabIndex } from '@angular/material/core';
|
|
48
|
-
import { NativeDateAdapter } from '@angular/material/core';
|
|
49
|
-
import { NativeDateModule } from '@angular/material/core';
|
|
50
|
-
import { RippleAnimationConfig } from '@angular/material/core';
|
|
51
|
-
import { RippleConfig } from '@angular/material/core';
|
|
52
|
-
import { RippleGlobalOptions } from '@angular/material/core';
|
|
53
|
-
import { RippleRef } from '@angular/material/core';
|
|
54
|
-
import { RippleRenderer } from '@angular/material/core';
|
|
55
|
-
import { RippleState } from '@angular/material/core';
|
|
56
|
-
import { RippleTarget } from '@angular/material/core';
|
|
57
|
-
import { SanityChecks } from '@angular/material/core';
|
|
58
|
-
import { setLines } from '@angular/material/core';
|
|
59
|
-
import { ShowOnDirtyErrorStateMatcher } from '@angular/material/core';
|
|
60
|
-
import { ThemePalette } from '@angular/material/core';
|
|
61
|
-
import { VERSION } from '@angular/material/core';
|
|
62
62
|
|
|
63
|
-
export {
|
|
63
|
+
export { _countGroupLabelsBeforeLegacyOption }
|
|
64
64
|
|
|
65
|
-
export {
|
|
65
|
+
export { _getLegacyOptionScrollPosition }
|
|
66
66
|
|
|
67
|
-
|
|
67
|
+
declare namespace i1 {
|
|
68
|
+
export {
|
|
69
|
+
MatLegacyOption
|
|
70
|
+
}
|
|
71
|
+
}
|
|
68
72
|
|
|
69
|
-
|
|
73
|
+
declare namespace i2 {
|
|
74
|
+
export {
|
|
75
|
+
MatLegacyOptgroup
|
|
76
|
+
}
|
|
77
|
+
}
|
|
70
78
|
|
|
71
|
-
export {
|
|
79
|
+
export { LEGACY_VERSION }
|
|
72
80
|
|
|
73
|
-
export {
|
|
81
|
+
export { LegacyAnimationCurves }
|
|
74
82
|
|
|
75
|
-
export {
|
|
83
|
+
export { LegacyAnimationDurations }
|
|
76
84
|
|
|
77
|
-
export {
|
|
85
|
+
export { LegacyCanColor }
|
|
78
86
|
|
|
79
|
-
export {
|
|
87
|
+
export { LegacyCanDisable }
|
|
80
88
|
|
|
81
|
-
export {
|
|
89
|
+
export { LegacyCanDisableRipple }
|
|
82
90
|
|
|
83
|
-
export {
|
|
91
|
+
export { LegacyCanUpdateErrorState }
|
|
84
92
|
|
|
85
|
-
export {
|
|
93
|
+
export { LegacyDateAdapter }
|
|
86
94
|
|
|
87
|
-
export {
|
|
95
|
+
export { legacyDefaultRippleAnimationConfig }
|
|
88
96
|
|
|
89
|
-
export {
|
|
97
|
+
export { LegacyErrorStateMatcher }
|
|
90
98
|
|
|
91
|
-
|
|
92
|
-
export {
|
|
93
|
-
MatLegacyOption
|
|
94
|
-
}
|
|
95
|
-
}
|
|
99
|
+
export { LegacyGranularSanityChecks }
|
|
96
100
|
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
}
|
|
101
|
+
export { LegacyHasInitialized }
|
|
102
|
+
|
|
103
|
+
export { LegacyHasTabIndex }
|
|
104
|
+
|
|
105
|
+
export { legacyMixinColor }
|
|
106
|
+
|
|
107
|
+
export { legacyMixinDisabled }
|
|
108
|
+
|
|
109
|
+
export { legacyMixinDisableRipple }
|
|
110
|
+
|
|
111
|
+
export { legacyMixinErrorState }
|
|
112
|
+
|
|
113
|
+
export { legacyMixinInitialized }
|
|
114
|
+
|
|
115
|
+
export { legacyMixinTabIndex }
|
|
116
|
+
|
|
117
|
+
export { LegacyNativeDateAdapter }
|
|
118
|
+
|
|
119
|
+
export { LegacyNativeDateModule }
|
|
120
|
+
|
|
121
|
+
export { LegacyRippleAnimationConfig }
|
|
122
|
+
|
|
123
|
+
export { LegacyRippleConfig }
|
|
124
|
+
|
|
125
|
+
export { LegacyRippleGlobalOptions }
|
|
126
|
+
|
|
127
|
+
export { LegacyRippleRef }
|
|
128
|
+
|
|
129
|
+
export { LegacyRippleRenderer }
|
|
130
|
+
|
|
131
|
+
export { LegacyRippleState }
|
|
102
132
|
|
|
103
|
-
export {
|
|
133
|
+
export { LegacyRippleTarget }
|
|
104
134
|
|
|
105
|
-
export {
|
|
135
|
+
export { LegacySanityChecks }
|
|
106
136
|
|
|
107
|
-
export {
|
|
137
|
+
export { legacySetLines }
|
|
108
138
|
|
|
109
|
-
export {
|
|
139
|
+
export { LegacyShowOnDirtyErrorStateMatcher }
|
|
110
140
|
|
|
111
|
-
export {
|
|
141
|
+
export { LegacyThemePalette }
|
|
112
142
|
|
|
113
|
-
export {
|
|
143
|
+
export { MAT_LEGACY_DATE_FORMATS }
|
|
114
144
|
|
|
115
|
-
export {
|
|
145
|
+
export { MAT_LEGACY_DATE_LOCALE }
|
|
116
146
|
|
|
117
|
-
export {
|
|
147
|
+
export { MAT_LEGACY_DATE_LOCALE_FACTORY }
|
|
148
|
+
|
|
149
|
+
export { MAT_LEGACY_NATIVE_DATE_FORMATS }
|
|
150
|
+
|
|
151
|
+
export { MAT_LEGACY_OPTGROUP }
|
|
152
|
+
|
|
153
|
+
export { MAT_LEGACY_OPTION_PARENT_COMPONENT }
|
|
154
|
+
|
|
155
|
+
export { MAT_LEGACY_RIPPLE_GLOBAL_OPTIONS }
|
|
156
|
+
|
|
157
|
+
export { MATERIAL_LEGACY_SANITY_CHECKS }
|
|
118
158
|
|
|
119
159
|
export { MatLegacyCommonModule }
|
|
120
160
|
|
|
121
161
|
export { MatLegacyDateFormats }
|
|
122
162
|
|
|
163
|
+
export { MatLegacyLine }
|
|
164
|
+
|
|
123
165
|
export { MatLegacyLineModule }
|
|
124
166
|
|
|
125
167
|
export { MatLegacyNativeDateModule }
|
|
@@ -129,22 +171,26 @@ export { MatLegacyNativeDateModule }
|
|
|
129
171
|
* @deprecated Use `MatOptgroup` from `@angular/material/core` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.
|
|
130
172
|
* @breaking-change 17.0.0
|
|
131
173
|
*/
|
|
132
|
-
export declare class MatLegacyOptgroup extends
|
|
174
|
+
export declare class MatLegacyOptgroup extends _MatLegacyOptgroupBase {
|
|
133
175
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatLegacyOptgroup, never>;
|
|
134
176
|
static ɵcmp: i0.ɵɵComponentDeclaration<MatLegacyOptgroup, "mat-optgroup", ["matOptgroup"], { "disabled": "disabled"; }, {}, never, ["*", "mat-option, ng-container"], false, never>;
|
|
135
177
|
}
|
|
136
178
|
|
|
179
|
+
export { _MatLegacyOptgroupBase }
|
|
180
|
+
|
|
137
181
|
/**
|
|
138
182
|
* Single option inside of a `<mat-select>` element.
|
|
139
183
|
* @deprecated Use `MatOption` from `@angular/material/core` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.
|
|
140
184
|
* @breaking-change 17.0.0
|
|
141
185
|
*/
|
|
142
|
-
export declare class MatLegacyOption<T = any> extends
|
|
143
|
-
constructor(element: ElementRef<HTMLElement>, changeDetectorRef: ChangeDetectorRef, parent:
|
|
186
|
+
export declare class MatLegacyOption<T = any> extends _MatLegacyOptionBase<T> {
|
|
187
|
+
constructor(element: ElementRef<HTMLElement>, changeDetectorRef: ChangeDetectorRef, parent: MatLegacyOptionParentComponent, group: MatLegacyOptgroup);
|
|
144
188
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatLegacyOption<any>, [null, null, { optional: true; }, { optional: true; }]>;
|
|
145
189
|
static ɵcmp: i0.ɵɵComponentDeclaration<MatLegacyOption<any>, "mat-option", ["matOption"], {}, {}, never, ["*"], false, never>;
|
|
146
190
|
}
|
|
147
191
|
|
|
192
|
+
export { _MatLegacyOptionBase }
|
|
193
|
+
|
|
148
194
|
/**
|
|
149
195
|
* @deprecated Use `MatOptionModule` from `@angular/material/core` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.
|
|
150
196
|
* @breaking-change 17.0.0
|
|
@@ -155,6 +201,10 @@ export declare class MatLegacyOptionModule {
|
|
|
155
201
|
static ɵinj: i0.ɵɵInjectorDeclaration<MatLegacyOptionModule>;
|
|
156
202
|
}
|
|
157
203
|
|
|
204
|
+
export { MatLegacyOptionParentComponent }
|
|
205
|
+
|
|
206
|
+
export { MatLegacyOptionSelectionChange }
|
|
207
|
+
|
|
158
208
|
export { MatLegacyPseudoCheckbox }
|
|
159
209
|
|
|
160
210
|
export { MatLegacyPseudoCheckboxModule }
|
|
@@ -165,54 +215,4 @@ export { MatLegacyRipple }
|
|
|
165
215
|
|
|
166
216
|
export { MatLegacyRippleModule }
|
|
167
217
|
|
|
168
|
-
export { MatLine }
|
|
169
|
-
|
|
170
|
-
export { _MatOptgroupBase }
|
|
171
|
-
|
|
172
|
-
export { _MatOptionBase }
|
|
173
|
-
|
|
174
|
-
export { MatOptionParentComponent }
|
|
175
|
-
|
|
176
|
-
export { MatOptionSelectionChange }
|
|
177
|
-
|
|
178
|
-
export { mixinColor }
|
|
179
|
-
|
|
180
|
-
export { mixinDisabled }
|
|
181
|
-
|
|
182
|
-
export { mixinDisableRipple }
|
|
183
|
-
|
|
184
|
-
export { mixinErrorState }
|
|
185
|
-
|
|
186
|
-
export { mixinInitialized }
|
|
187
|
-
|
|
188
|
-
export { mixinTabIndex }
|
|
189
|
-
|
|
190
|
-
export { NativeDateAdapter }
|
|
191
|
-
|
|
192
|
-
export { NativeDateModule }
|
|
193
|
-
|
|
194
|
-
export { RippleAnimationConfig }
|
|
195
|
-
|
|
196
|
-
export { RippleConfig }
|
|
197
|
-
|
|
198
|
-
export { RippleGlobalOptions }
|
|
199
|
-
|
|
200
|
-
export { RippleRef }
|
|
201
|
-
|
|
202
|
-
export { RippleRenderer }
|
|
203
|
-
|
|
204
|
-
export { RippleState }
|
|
205
|
-
|
|
206
|
-
export { RippleTarget }
|
|
207
|
-
|
|
208
|
-
export { SanityChecks }
|
|
209
|
-
|
|
210
|
-
export { setLines }
|
|
211
|
-
|
|
212
|
-
export { ShowOnDirtyErrorStateMatcher }
|
|
213
|
-
|
|
214
|
-
export { ThemePalette }
|
|
215
|
-
|
|
216
|
-
export { VERSION }
|
|
217
|
-
|
|
218
218
|
export { }
|
|
@@ -2,6 +2,23 @@ import { BaseHarnessFilters } from '@angular/cdk/testing';
|
|
|
2
2
|
import { ComponentHarness } from '@angular/cdk/testing';
|
|
3
3
|
import { HarnessPredicate } from '@angular/cdk/testing';
|
|
4
4
|
|
|
5
|
+
/**
|
|
6
|
+
* @deprecated Use `OptgroupHarnessFilters` from `@angular/material/core/testing` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.
|
|
7
|
+
* @breaking-change 17.0.0
|
|
8
|
+
*/
|
|
9
|
+
export declare interface LegacyOptgroupHarnessFilters extends BaseHarnessFilters {
|
|
10
|
+
labelText?: string | RegExp;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* @deprecated Use `OptionHarnessFilters` from `@angular/material/core/testing` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.
|
|
15
|
+
* @breaking-change 17.0.0
|
|
16
|
+
*/
|
|
17
|
+
export declare interface LegacyOptionHarnessFilters extends BaseHarnessFilters {
|
|
18
|
+
text?: string | RegExp;
|
|
19
|
+
isSelected?: boolean;
|
|
20
|
+
}
|
|
21
|
+
|
|
5
22
|
/**
|
|
6
23
|
* Harness for interacting with a `mat-optgroup` in tests.
|
|
7
24
|
* @deprecated Use `MatOptgroupHarness` from `@angular/material/core/testing` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.
|
|
@@ -17,7 +34,7 @@ export declare class MatLegacyOptgroupHarness extends ComponentHarness {
|
|
|
17
34
|
* @param options Options for filtering which option instances are considered a match.
|
|
18
35
|
* @return a `HarnessPredicate` configured with the given options.
|
|
19
36
|
*/
|
|
20
|
-
static with(options?:
|
|
37
|
+
static with(options?: LegacyOptgroupHarnessFilters): HarnessPredicate<MatLegacyOptgroupHarness>;
|
|
21
38
|
/** Gets the option group's label text. */
|
|
22
39
|
getLabelText(): Promise<string>;
|
|
23
40
|
/** Gets whether the option group is disabled. */
|
|
@@ -26,7 +43,7 @@ export declare class MatLegacyOptgroupHarness extends ComponentHarness {
|
|
|
26
43
|
* Gets the options that are inside the group.
|
|
27
44
|
* @param filter Optionally filters which options are included.
|
|
28
45
|
*/
|
|
29
|
-
getOptions(filter?:
|
|
46
|
+
getOptions(filter?: LegacyOptionHarnessFilters): Promise<MatLegacyOptionHarness[]>;
|
|
30
47
|
}
|
|
31
48
|
|
|
32
49
|
/**
|
|
@@ -45,7 +62,7 @@ export declare class MatLegacyOptionHarness extends ComponentHarness {
|
|
|
45
62
|
* @param options Options for filtering which option instances are considered a match.
|
|
46
63
|
* @return a `HarnessPredicate` configured with the given options.
|
|
47
64
|
*/
|
|
48
|
-
static with(options?:
|
|
65
|
+
static with(options?: LegacyOptionHarnessFilters): HarnessPredicate<MatLegacyOptionHarness>;
|
|
49
66
|
/** Clicks the option. */
|
|
50
67
|
click(): Promise<void>;
|
|
51
68
|
/** Gets the option's label text. */
|
|
@@ -60,21 +77,4 @@ export declare class MatLegacyOptionHarness extends ComponentHarness {
|
|
|
60
77
|
isMultiple(): Promise<boolean>;
|
|
61
78
|
}
|
|
62
79
|
|
|
63
|
-
/**
|
|
64
|
-
* @deprecated Use `OptgroupHarnessFilters` from `@angular/material/core/testing` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.
|
|
65
|
-
* @breaking-change 17.0.0
|
|
66
|
-
*/
|
|
67
|
-
export declare interface OptgroupHarnessFilters extends BaseHarnessFilters {
|
|
68
|
-
labelText?: string | RegExp;
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
/**
|
|
72
|
-
* @deprecated Use `OptionHarnessFilters` from `@angular/material/core/testing` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.
|
|
73
|
-
* @breaking-change 17.0.0
|
|
74
|
-
*/
|
|
75
|
-
export declare interface OptionHarnessFilters extends BaseHarnessFilters {
|
|
76
|
-
text?: string | RegExp;
|
|
77
|
-
isSelected?: boolean;
|
|
78
|
-
}
|
|
79
|
-
|
|
80
80
|
export { }
|
|
@@ -1,14 +1,19 @@
|
|
|
1
1
|
import { AsyncFactoryFn } from '@angular/cdk/testing';
|
|
2
|
+
import { ComponentHarnessConstructor } from '@angular/cdk/testing';
|
|
2
3
|
import { HarnessPredicate } from '@angular/cdk/testing';
|
|
4
|
+
import { ErrorHarnessFilters as LegacyErrorHarnessFilters } from '@angular/material/form-field/testing';
|
|
3
5
|
import { FormFieldHarnessFilters as LegacyFormFieldHarnessFilters } from '@angular/material/form-field/testing';
|
|
4
6
|
import { MatDatepickerInputHarness } from '@angular/material/datepicker/testing';
|
|
5
7
|
import { MatDateRangeInputHarness } from '@angular/material/datepicker/testing';
|
|
8
|
+
import { _MatErrorHarnessBase } from '@angular/material/form-field/testing';
|
|
6
9
|
import { _MatFormFieldHarnessBase } from '@angular/material/form-field/testing';
|
|
7
10
|
import { MatFormFieldControlHarness as MatLegacyFormFieldControlHarness } from '@angular/material/form-field/testing/control';
|
|
8
11
|
import { MatLegacyInputHarness } from '@angular/material/legacy-input/testing';
|
|
9
12
|
import { MatLegacySelectHarness } from '@angular/material/legacy-select/testing';
|
|
10
13
|
import { TestElement } from '@angular/cdk/testing';
|
|
11
14
|
|
|
15
|
+
export { LegacyErrorHarnessFilters }
|
|
16
|
+
|
|
12
17
|
/**
|
|
13
18
|
* Possible harnesses of controls which can be bound to a form-field.
|
|
14
19
|
* @deprecated Use `FormFieldControlHarness` from `@angular/material/form-field/testing` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.
|
|
@@ -18,6 +23,22 @@ export declare type LegacyFormFieldControlHarness = MatLegacyInputHarness | MatL
|
|
|
18
23
|
|
|
19
24
|
export { LegacyFormFieldHarnessFilters }
|
|
20
25
|
|
|
26
|
+
/**
|
|
27
|
+
* Harness for interacting with a `mat-error` in tests.
|
|
28
|
+
* @deprecated Use `MatErrorHarness` from `@angular/material/form-field/testing` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.
|
|
29
|
+
* @breaking-change 17.0.0
|
|
30
|
+
*/
|
|
31
|
+
export declare class MatLegacyErrorHarness extends _MatErrorHarnessBase {
|
|
32
|
+
static hostSelector: string;
|
|
33
|
+
/**
|
|
34
|
+
* Gets a `HarnessPredicate` that can be used to search for an error with specific
|
|
35
|
+
* attributes.
|
|
36
|
+
* @param options Options for filtering which error instances are considered a match.
|
|
37
|
+
* @return a `HarnessPredicate` configured with the given options.
|
|
38
|
+
*/
|
|
39
|
+
static with<T extends MatLegacyErrorHarness>(this: ComponentHarnessConstructor<T>, options?: LegacyErrorHarnessFilters): HarnessPredicate<T>;
|
|
40
|
+
}
|
|
41
|
+
|
|
21
42
|
export { MatLegacyFormFieldControlHarness }
|
|
22
43
|
|
|
23
44
|
/**
|
|
@@ -25,7 +46,7 @@ export { MatLegacyFormFieldControlHarness }
|
|
|
25
46
|
* @deprecated Use `MatFormFieldHarness` from `@angular/material/form-field/testing` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.
|
|
26
47
|
* @breaking-change 17.0.0
|
|
27
48
|
*/
|
|
28
|
-
export declare class MatLegacyFormFieldHarness extends _MatFormFieldHarnessBase<LegacyFormFieldControlHarness> {
|
|
49
|
+
export declare class MatLegacyFormFieldHarness extends _MatFormFieldHarnessBase<LegacyFormFieldControlHarness, typeof MatLegacyErrorHarness> {
|
|
29
50
|
static hostSelector: string;
|
|
30
51
|
/**
|
|
31
52
|
* Gets a `HarnessPredicate` that can be used to search for a `MatFormFieldHarness` that meets
|
|
@@ -43,6 +64,7 @@ export declare class MatLegacyFormFieldHarness extends _MatFormFieldHarnessBase<
|
|
|
43
64
|
protected _selectControl: AsyncFactoryFn<MatLegacySelectHarness | null>;
|
|
44
65
|
protected _datepickerInputControl: AsyncFactoryFn<MatDatepickerInputHarness | null>;
|
|
45
66
|
protected _dateRangeInputControl: AsyncFactoryFn<MatDateRangeInputHarness | null>;
|
|
67
|
+
protected _errorHarness: typeof MatLegacyErrorHarness;
|
|
46
68
|
/** Gets the appearance of the form-field. */
|
|
47
69
|
getAppearance(): Promise<'legacy' | 'standard' | 'fill' | 'outline'>;
|
|
48
70
|
/** Whether the form-field has a label. */
|