@angular/material 19.2.2 → 19.2.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/autocomplete/index.d.ts +83 -124
- package/autocomplete/testing/index.d.ts +5 -11
- package/badge/index.d.ts +17 -30
- package/badge/testing/index.d.ts +5 -8
- package/bottom-sheet/index.d.ts +88 -103
- package/bottom-sheet/testing/index.d.ts +4 -6
- package/button/index.d.ts +109 -148
- package/button/testing/index.d.ts +6 -10
- package/button-toggle/index.d.ts +116 -142
- package/button-toggle/testing/index.d.ts +34 -36
- package/card/index.d.ts +79 -117
- package/card/testing/index.d.ts +11 -15
- package/checkbox/index.d.ts +55 -85
- package/checkbox/testing/index.d.ts +6 -10
- package/chips/index.d.ts +592 -690
- package/chips/testing/index.d.ts +78 -93
- package/core/index.d.ts +565 -669
- package/core/testing/index.d.ts +28 -32
- package/datepicker/index.d.ts +1323 -1479
- package/datepicker/testing/index.d.ts +109 -119
- package/dialog/index.d.ts +194 -246
- package/dialog/testing/index.d.ts +17 -26
- package/divider/index.d.ts +4 -10
- package/divider/testing/index.d.ts +4 -6
- package/expansion/index.d.ts +137 -189
- package/expansion/testing/index.d.ts +25 -31
- package/fesm2022/autocomplete/testing.mjs.map +1 -1
- package/fesm2022/autocomplete.mjs +26 -17
- package/fesm2022/autocomplete.mjs.map +1 -1
- package/fesm2022/badge/testing.mjs.map +1 -1
- package/fesm2022/badge.mjs +3 -7
- package/fesm2022/badge.mjs.map +1 -1
- package/fesm2022/bottom-sheet/testing.mjs.map +1 -1
- package/fesm2022/bottom-sheet.mjs +0 -4
- 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 +5 -4
- package/fesm2022/button-toggle.mjs.map +1 -1
- package/fesm2022/button.mjs +6 -6
- package/fesm2022/button.mjs.map +1 -1
- package/fesm2022/card/testing.mjs.map +1 -1
- package/fesm2022/card.mjs +0 -4
- package/fesm2022/card.mjs.map +1 -1
- package/fesm2022/checkbox/testing.mjs.map +1 -1
- package/fesm2022/checkbox.mjs +5 -5
- package/fesm2022/checkbox.mjs.map +1 -1
- package/fesm2022/chips/testing.mjs.map +1 -1
- package/fesm2022/chips.mjs +0 -4
- package/fesm2022/chips.mjs.map +1 -1
- package/fesm2022/core/testing.mjs.map +1 -1
- package/fesm2022/core.mjs +7 -7
- package/fesm2022/core.mjs.map +1 -1
- package/fesm2022/datepicker/testing.mjs.map +1 -1
- package/fesm2022/datepicker.mjs +42 -18
- package/fesm2022/datepicker.mjs.map +1 -1
- package/fesm2022/dialog/testing.mjs.map +1 -1
- package/fesm2022/dialog.mjs +4 -8
- package/fesm2022/dialog.mjs.map +1 -1
- package/fesm2022/divider/testing.mjs.map +1 -1
- package/fesm2022/divider.mjs +0 -4
- package/fesm2022/divider.mjs.map +1 -1
- package/fesm2022/expansion/testing.mjs.map +1 -1
- package/fesm2022/expansion.mjs +2 -6
- package/fesm2022/expansion.mjs.map +1 -1
- package/fesm2022/form-field/testing.mjs +0 -2
- package/fesm2022/form-field/testing.mjs.map +1 -1
- package/fesm2022/form-field.mjs +0 -4
- package/fesm2022/form-field.mjs.map +1 -1
- package/fesm2022/grid-list/testing.mjs.map +1 -1
- package/fesm2022/grid-list.mjs +0 -4
- package/fesm2022/grid-list.mjs.map +1 -1
- package/fesm2022/icon/testing.mjs +0 -4
- package/fesm2022/icon/testing.mjs.map +1 -1
- package/fesm2022/icon.mjs +15 -7
- package/fesm2022/icon.mjs.map +1 -1
- package/fesm2022/input/testing.mjs.map +1 -1
- package/fesm2022/input.mjs +0 -4
- package/fesm2022/input.mjs.map +1 -1
- package/fesm2022/list/testing.mjs +1 -1
- package/fesm2022/list/testing.mjs.map +1 -1
- package/fesm2022/list.mjs +2 -6
- package/fesm2022/list.mjs.map +1 -1
- package/fesm2022/menu/testing.mjs.map +1 -1
- package/fesm2022/menu.mjs +15 -7
- package/fesm2022/menu.mjs.map +1 -1
- package/fesm2022/paginator/testing.mjs.map +1 -1
- package/fesm2022/paginator.mjs +10 -6
- package/fesm2022/paginator.mjs.map +1 -1
- package/fesm2022/progress-bar/testing.mjs +0 -4
- 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 +0 -4
- 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/radio/testing.mjs.map +1 -1
- package/fesm2022/radio.mjs +5 -4
- package/fesm2022/radio.mjs.map +1 -1
- package/fesm2022/select/testing.mjs.map +1 -1
- package/fesm2022/select.mjs +14 -10
- package/fesm2022/select.mjs.map +1 -1
- package/fesm2022/sidenav/testing.mjs +1 -1
- package/fesm2022/sidenav/testing.mjs.map +1 -1
- package/fesm2022/sidenav.mjs +9 -9
- package/fesm2022/sidenav.mjs.map +1 -1
- package/fesm2022/slide-toggle/testing.mjs.map +1 -1
- package/fesm2022/slide-toggle.mjs +0 -4
- package/fesm2022/slide-toggle.mjs.map +1 -1
- package/fesm2022/slider/testing.mjs.map +1 -1
- package/fesm2022/slider.mjs +0 -4
- package/fesm2022/slider.mjs.map +1 -1
- package/fesm2022/snack-bar/testing.mjs.map +1 -1
- package/fesm2022/snack-bar.mjs +5 -5
- package/fesm2022/snack-bar.mjs.map +1 -1
- package/fesm2022/sort/testing.mjs.map +1 -1
- package/fesm2022/sort.mjs +10 -6
- package/fesm2022/sort.mjs.map +1 -1
- package/fesm2022/stepper/testing.mjs.map +1 -1
- package/fesm2022/stepper.mjs +10 -6
- package/fesm2022/stepper.mjs.map +1 -1
- package/fesm2022/table/testing.mjs.map +1 -1
- package/fesm2022/table.mjs +0 -4
- package/fesm2022/table.mjs.map +1 -1
- package/fesm2022/tabs/testing.mjs.map +1 -1
- package/fesm2022/tabs.mjs +8 -15
- package/fesm2022/tabs.mjs.map +1 -1
- package/fesm2022/timepicker/testing.mjs.map +1 -1
- package/fesm2022/timepicker.mjs +1 -5
- package/fesm2022/timepicker.mjs.map +1 -1
- package/fesm2022/toolbar/testing.mjs.map +1 -1
- package/fesm2022/toolbar.mjs +0 -4
- package/fesm2022/toolbar.mjs.map +1 -1
- package/fesm2022/tooltip/testing.mjs.map +1 -1
- package/fesm2022/tooltip.mjs +15 -7
- package/fesm2022/tooltip.mjs.map +1 -1
- package/fesm2022/tree/testing.mjs.map +1 -1
- package/fesm2022/tree.mjs +0 -4
- package/fesm2022/tree.mjs.map +1 -1
- package/form-field/index.d.ts +251 -318
- package/form-field/testing/control/index.d.ts +2 -2
- package/form-field/testing/index.d.ts +14 -21
- package/grid-list/index.d.ts +124 -150
- package/grid-list/testing/index.d.ts +39 -44
- package/icon/index.d.ts +87 -108
- package/icon/testing/index.d.ts +38 -43
- package/index.d.ts +2 -3
- package/input/index.d.ts +27 -61
- package/input/testing/index.d.ts +16 -19
- package/list/index.d.ts +158 -241
- package/list/testing/index.d.ts +157 -179
- package/menu/index.d.ts +180 -231
- package/menu/testing/index.d.ts +17 -23
- package/package.json +2 -2
- package/paginator/index.d.ts +84 -97
- package/paginator/testing/index.d.ts +10 -14
- package/progress-bar/index.d.ts +38 -58
- package/progress-bar/testing/index.d.ts +7 -10
- package/progress-spinner/index.d.ts +38 -51
- package/progress-spinner/testing/index.d.ts +7 -10
- package/radio/index.d.ts +145 -168
- package/radio/testing/index.d.ts +61 -67
- package/schematics/ng-add/index.js +1 -1
- package/schematics/ng-add/index.mjs +1 -1
- package/schematics/ng-generate/theme-color/index_bundled.js +2 -2
- package/schematics/ng-generate/theme-color/schema.json +10 -0
- package/schematics/ng-update/index_bundled.js +31 -31
- package/select/index.d.ts +77 -130
- package/select/testing/index.d.ts +10 -15
- package/sidenav/index.d.ts +47 -91
- package/sidenav/testing/index.d.ts +58 -63
- package/slide-toggle/index.d.ts +51 -84
- package/slide-toggle/testing/index.d.ts +17 -21
- package/slider/index.d.ts +277 -327
- package/slider/testing/index.d.ts +42 -47
- package/snack-bar/index.d.ts +147 -185
- package/snack-bar/testing/index.d.ts +7 -9
- package/sort/index.d.ts +94 -124
- package/sort/testing/index.d.ts +21 -24
- package/stepper/index.d.ts +108 -165
- package/stepper/testing/index.d.ts +43 -52
- package/table/index.d.ts +87 -153
- package/table/testing/index.d.ts +64 -78
- package/tabs/index.d.ts +306 -382
- package/tabs/testing/index.d.ts +67 -76
- package/timepicker/index.d.ts +123 -159
- package/timepicker/testing/index.d.ts +20 -26
- package/toolbar/index.d.ts +13 -25
- package/toolbar/testing/index.d.ts +13 -16
- package/tooltip/index.d.ts +88 -117
- package/tooltip/testing/index.d.ts +7 -10
- package/tree/index.d.ts +116 -163
- package/tree/testing/index.d.ts +52 -58
|
@@ -658,9 +658,9 @@ var require_tslib = __commonJS({
|
|
|
658
658
|
}
|
|
659
659
|
});
|
|
660
660
|
|
|
661
|
-
// bazel-out/
|
|
661
|
+
// bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/attribute-selectors.js
|
|
662
662
|
var require_attribute_selectors = __commonJS({
|
|
663
|
-
"bazel-out/
|
|
663
|
+
"bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/attribute-selectors.js"(exports) {
|
|
664
664
|
"use strict";
|
|
665
665
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
666
666
|
exports.attributeSelectors = void 0;
|
|
@@ -668,9 +668,9 @@ var require_attribute_selectors = __commonJS({
|
|
|
668
668
|
}
|
|
669
669
|
});
|
|
670
670
|
|
|
671
|
-
// bazel-out/
|
|
671
|
+
// bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/class-names.js
|
|
672
672
|
var require_class_names = __commonJS({
|
|
673
|
-
"bazel-out/
|
|
673
|
+
"bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/class-names.js"(exports) {
|
|
674
674
|
"use strict";
|
|
675
675
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
676
676
|
exports.classNames = void 0;
|
|
@@ -678,9 +678,9 @@ var require_class_names = __commonJS({
|
|
|
678
678
|
}
|
|
679
679
|
});
|
|
680
680
|
|
|
681
|
-
// bazel-out/
|
|
681
|
+
// bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/constructor-checks.js
|
|
682
682
|
var require_constructor_checks = __commonJS({
|
|
683
|
-
"bazel-out/
|
|
683
|
+
"bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/constructor-checks.js"(exports) {
|
|
684
684
|
"use strict";
|
|
685
685
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
686
686
|
exports.constructorChecks = void 0;
|
|
@@ -688,9 +688,9 @@ var require_constructor_checks = __commonJS({
|
|
|
688
688
|
}
|
|
689
689
|
});
|
|
690
690
|
|
|
691
|
-
// bazel-out/
|
|
691
|
+
// bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/css-selectors.js
|
|
692
692
|
var require_css_selectors = __commonJS({
|
|
693
|
-
"bazel-out/
|
|
693
|
+
"bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/css-selectors.js"(exports) {
|
|
694
694
|
"use strict";
|
|
695
695
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
696
696
|
exports.cssSelectors = void 0;
|
|
@@ -698,9 +698,9 @@ var require_css_selectors = __commonJS({
|
|
|
698
698
|
}
|
|
699
699
|
});
|
|
700
700
|
|
|
701
|
-
// bazel-out/
|
|
701
|
+
// bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/css-tokens.js
|
|
702
702
|
var require_css_tokens = __commonJS({
|
|
703
|
-
"bazel-out/
|
|
703
|
+
"bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/css-tokens.js"(exports) {
|
|
704
704
|
"use strict";
|
|
705
705
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
706
706
|
exports.cssTokens = void 0;
|
|
@@ -708,9 +708,9 @@ var require_css_tokens = __commonJS({
|
|
|
708
708
|
}
|
|
709
709
|
});
|
|
710
710
|
|
|
711
|
-
// bazel-out/
|
|
711
|
+
// bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/element-selectors.js
|
|
712
712
|
var require_element_selectors = __commonJS({
|
|
713
|
-
"bazel-out/
|
|
713
|
+
"bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/element-selectors.js"(exports) {
|
|
714
714
|
"use strict";
|
|
715
715
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
716
716
|
exports.elementSelectors = void 0;
|
|
@@ -718,9 +718,9 @@ var require_element_selectors = __commonJS({
|
|
|
718
718
|
}
|
|
719
719
|
});
|
|
720
720
|
|
|
721
|
-
// bazel-out/
|
|
721
|
+
// bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/input-names.js
|
|
722
722
|
var require_input_names = __commonJS({
|
|
723
|
-
"bazel-out/
|
|
723
|
+
"bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/input-names.js"(exports) {
|
|
724
724
|
"use strict";
|
|
725
725
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
726
726
|
exports.inputNames = void 0;
|
|
@@ -728,9 +728,9 @@ var require_input_names = __commonJS({
|
|
|
728
728
|
}
|
|
729
729
|
});
|
|
730
730
|
|
|
731
|
-
// bazel-out/
|
|
731
|
+
// bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/method-call-checks.js
|
|
732
732
|
var require_method_call_checks = __commonJS({
|
|
733
|
-
"bazel-out/
|
|
733
|
+
"bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/method-call-checks.js"(exports) {
|
|
734
734
|
"use strict";
|
|
735
735
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
736
736
|
exports.methodCallChecks = void 0;
|
|
@@ -738,9 +738,9 @@ var require_method_call_checks = __commonJS({
|
|
|
738
738
|
}
|
|
739
739
|
});
|
|
740
740
|
|
|
741
|
-
// bazel-out/
|
|
741
|
+
// bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/output-names.js
|
|
742
742
|
var require_output_names = __commonJS({
|
|
743
|
-
"bazel-out/
|
|
743
|
+
"bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/output-names.js"(exports) {
|
|
744
744
|
"use strict";
|
|
745
745
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
746
746
|
exports.outputNames = void 0;
|
|
@@ -748,9 +748,9 @@ var require_output_names = __commonJS({
|
|
|
748
748
|
}
|
|
749
749
|
});
|
|
750
750
|
|
|
751
|
-
// bazel-out/
|
|
751
|
+
// bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/property-names.js
|
|
752
752
|
var require_property_names = __commonJS({
|
|
753
|
-
"bazel-out/
|
|
753
|
+
"bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/property-names.js"(exports) {
|
|
754
754
|
"use strict";
|
|
755
755
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
756
756
|
exports.propertyNames = void 0;
|
|
@@ -758,9 +758,9 @@ var require_property_names = __commonJS({
|
|
|
758
758
|
}
|
|
759
759
|
});
|
|
760
760
|
|
|
761
|
-
// bazel-out/
|
|
761
|
+
// bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/symbol-removal.js
|
|
762
762
|
var require_symbol_removal = __commonJS({
|
|
763
|
-
"bazel-out/
|
|
763
|
+
"bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/symbol-removal.js"(exports) {
|
|
764
764
|
"use strict";
|
|
765
765
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
766
766
|
exports.symbolRemoval = void 0;
|
|
@@ -768,9 +768,9 @@ var require_symbol_removal = __commonJS({
|
|
|
768
768
|
}
|
|
769
769
|
});
|
|
770
770
|
|
|
771
|
-
// bazel-out/
|
|
771
|
+
// bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/index.js
|
|
772
772
|
var require_data = __commonJS({
|
|
773
|
-
"bazel-out/
|
|
773
|
+
"bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/index.js"(exports) {
|
|
774
774
|
"use strict";
|
|
775
775
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
776
776
|
var tslib_1 = require_tslib();
|
|
@@ -788,9 +788,9 @@ var require_data = __commonJS({
|
|
|
788
788
|
}
|
|
789
789
|
});
|
|
790
790
|
|
|
791
|
-
// bazel-out/
|
|
791
|
+
// bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/upgrade-data.js
|
|
792
792
|
var require_upgrade_data = __commonJS({
|
|
793
|
-
"bazel-out/
|
|
793
|
+
"bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/upgrade-data.js"(exports) {
|
|
794
794
|
"use strict";
|
|
795
795
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
796
796
|
exports.materialUpgradeData = void 0;
|
|
@@ -7210,9 +7210,9 @@ var require_scss_syntax = __commonJS({
|
|
|
7210
7210
|
}
|
|
7211
7211
|
});
|
|
7212
7212
|
|
|
7213
|
-
// bazel-out/
|
|
7213
|
+
// bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/migrations/mat-core-removal.js
|
|
7214
7214
|
var require_mat_core_removal = __commonJS({
|
|
7215
|
-
"bazel-out/
|
|
7215
|
+
"bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/migrations/mat-core-removal.js"(exports) {
|
|
7216
7216
|
"use strict";
|
|
7217
7217
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7218
7218
|
exports.MatCoreMigration = void 0;
|
|
@@ -7287,9 +7287,9 @@ var require_mat_core_removal = __commonJS({
|
|
|
7287
7287
|
}
|
|
7288
7288
|
});
|
|
7289
7289
|
|
|
7290
|
-
// bazel-out/
|
|
7290
|
+
// bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/migrations/explicit-system-variable-prefix.js
|
|
7291
7291
|
var require_explicit_system_variable_prefix = __commonJS({
|
|
7292
|
-
"bazel-out/
|
|
7292
|
+
"bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/migrations/explicit-system-variable-prefix.js"(exports) {
|
|
7293
7293
|
"use strict";
|
|
7294
7294
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7295
7295
|
exports.ExplicitSystemVariablePrefixMigration = void 0;
|
|
@@ -7375,7 +7375,7 @@ var require_explicit_system_variable_prefix = __commonJS({
|
|
|
7375
7375
|
}
|
|
7376
7376
|
});
|
|
7377
7377
|
|
|
7378
|
-
// bazel-out/
|
|
7378
|
+
// bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/index.mjs
|
|
7379
7379
|
var ng_update_exports = {};
|
|
7380
7380
|
__export(ng_update_exports, {
|
|
7381
7381
|
updateToV19: () => updateToV19
|
package/select/index.d.ts
CHANGED
|
@@ -1,95 +1,80 @@
|
|
|
1
|
-
import { ActiveDescendantKeyManager } from '@angular/cdk/a11y';
|
|
2
|
-
import { AfterContentInit } from '@angular/core';
|
|
3
|
-
import { CdkConnectedOverlay } from '@angular/cdk/overlay';
|
|
4
|
-
import { CdkOverlayOrigin } from '@angular/cdk/overlay';
|
|
5
|
-
import { ChangeDetectorRef } from '@angular/core';
|
|
6
|
-
import { ConnectedPosition } from '@angular/cdk/overlay';
|
|
7
|
-
import { ControlValueAccessor } from '@angular/forms';
|
|
8
|
-
import { DoCheck } from '@angular/core';
|
|
9
|
-
import { ElementRef } from '@angular/core';
|
|
10
|
-
import { ErrorStateMatcher } from '@angular/material/core';
|
|
11
|
-
import { EventEmitter } from '@angular/core';
|
|
12
1
|
import * as i0 from '@angular/core';
|
|
13
|
-
import
|
|
14
|
-
import * as i2 from '@angular/
|
|
15
|
-
import
|
|
16
|
-
import * as
|
|
17
|
-
import {
|
|
18
|
-
|
|
19
|
-
import {
|
|
20
|
-
import { MatFormFieldControl } from '@angular/material/form-field';
|
|
21
|
-
import { MatHint } from '@angular/material/form-field';
|
|
22
|
-
import { MatLabel } from '@angular/material/form-field';
|
|
23
|
-
import { MatOptgroup } from '@angular/material/core';
|
|
24
|
-
import { MatOption } from '@angular/material/core';
|
|
25
|
-
import { MatOptionSelectionChange } from '@angular/material/core';
|
|
26
|
-
import { MatPrefix } from '@angular/material/form-field';
|
|
27
|
-
import { MatSuffix } from '@angular/material/form-field';
|
|
28
|
-
import { NgControl } from '@angular/forms';
|
|
29
|
-
import { Observable } from 'rxjs';
|
|
30
|
-
import { OnChanges } from '@angular/core';
|
|
31
|
-
import { OnDestroy } from '@angular/core';
|
|
32
|
-
import { OnInit } from '@angular/core';
|
|
33
|
-
import { Overlay } from '@angular/cdk/overlay';
|
|
34
|
-
import { QueryList } from '@angular/core';
|
|
35
|
-
import { ScrollStrategy } from '@angular/cdk/overlay';
|
|
2
|
+
import { InjectionToken, AfterContentInit, OnChanges, OnDestroy, OnInit, DoCheck, ChangeDetectorRef, ElementRef, QueryList, EventEmitter, SimpleChanges } from '@angular/core';
|
|
3
|
+
import * as i2 from '@angular/cdk/overlay';
|
|
4
|
+
import { ScrollStrategy, Overlay, ConnectedPosition, CdkOverlayOrigin, CdkConnectedOverlay } from '@angular/cdk/overlay';
|
|
5
|
+
import * as i1 from '@angular/material/core';
|
|
6
|
+
import { MatOption, MatOptgroup, ErrorStateMatcher, MatOptionSelectionChange } from '@angular/material/core';
|
|
7
|
+
export { MatOptgroup, MatOption } from '@angular/material/core';
|
|
8
|
+
import { ActiveDescendantKeyManager } from '@angular/cdk/a11y';
|
|
36
9
|
import { SelectionModel } from '@angular/cdk/collections';
|
|
37
|
-
import
|
|
38
|
-
import { Subject } from 'rxjs';
|
|
10
|
+
import * as i2$1 from '@angular/cdk/scrolling';
|
|
39
11
|
import { ViewportRuler } from '@angular/cdk/scrolling';
|
|
12
|
+
import { ControlValueAccessor, NgControl } from '@angular/forms';
|
|
13
|
+
import * as i2$2 from '@angular/material/form-field';
|
|
14
|
+
import { MatFormFieldControl, MatFormField } from '@angular/material/form-field';
|
|
15
|
+
export { MatError, MatFormField, MatHint, MatLabel, MatPrefix, MatSuffix } from '@angular/material/form-field';
|
|
16
|
+
import { Subject, Observable } from 'rxjs';
|
|
40
17
|
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
18
|
+
/** Injection token that determines the scroll handling while a select is open. */
|
|
19
|
+
declare const MAT_SELECT_SCROLL_STRATEGY: InjectionToken<() => ScrollStrategy>;
|
|
20
|
+
/**
|
|
21
|
+
* @docs-private
|
|
22
|
+
* @deprecated No longer used, will be removed.
|
|
23
|
+
* @breaking-change 21.0.0
|
|
24
|
+
*/
|
|
25
|
+
declare function MAT_SELECT_SCROLL_STRATEGY_PROVIDER_FACTORY(overlay: Overlay): () => ScrollStrategy;
|
|
26
|
+
/** Object that can be used to configure the default options for the select module. */
|
|
27
|
+
interface MatSelectConfig {
|
|
28
|
+
/** Whether option centering should be disabled. */
|
|
29
|
+
disableOptionCentering?: boolean;
|
|
30
|
+
/** Time to wait in milliseconds after the last keystroke before moving focus to an item. */
|
|
31
|
+
typeaheadDebounceInterval?: number;
|
|
32
|
+
/** Class or list of classes to be applied to the menu's overlay panel. */
|
|
33
|
+
overlayPanelClass?: string | string[];
|
|
34
|
+
/** Whether icon indicators should be hidden for single-selection. */
|
|
35
|
+
hideSingleSelectionIndicator?: boolean;
|
|
36
|
+
/**
|
|
37
|
+
* Width of the panel. If set to `auto`, the panel will match the trigger width.
|
|
38
|
+
* If set to null or an empty string, the panel will grow to match the longest option's text.
|
|
39
|
+
*/
|
|
40
|
+
panelWidth?: string | number | null;
|
|
41
|
+
/**
|
|
42
|
+
* Whether nullable options can be selected by default.
|
|
43
|
+
* See `MatSelect.canSelectNullableOptions` for more information.
|
|
44
|
+
*/
|
|
45
|
+
canSelectNullableOptions?: boolean;
|
|
53
46
|
}
|
|
54
|
-
|
|
55
47
|
/** Injection token that can be used to provide the default options the select module. */
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
48
|
+
declare const MAT_SELECT_CONFIG: InjectionToken<MatSelectConfig>;
|
|
49
|
+
/**
|
|
50
|
+
* @docs-private
|
|
51
|
+
* @deprecated No longer used, will be removed.
|
|
52
|
+
* @breaking-change 21.0.0
|
|
53
|
+
*/
|
|
54
|
+
declare const MAT_SELECT_SCROLL_STRATEGY_PROVIDER: {
|
|
63
55
|
provide: InjectionToken<() => ScrollStrategy>;
|
|
64
56
|
deps: (typeof Overlay)[];
|
|
65
57
|
useFactory: typeof MAT_SELECT_SCROLL_STRATEGY_PROVIDER_FACTORY;
|
|
66
58
|
};
|
|
67
|
-
|
|
68
|
-
/** @docs-private */
|
|
69
|
-
export declare function MAT_SELECT_SCROLL_STRATEGY_PROVIDER_FACTORY(overlay: Overlay): () => ScrollStrategy;
|
|
70
|
-
|
|
71
59
|
/**
|
|
72
60
|
* Injection token that can be used to reference instances of `MatSelectTrigger`. It serves as
|
|
73
61
|
* alternative token to the actual `MatSelectTrigger` class which could cause unnecessary
|
|
74
62
|
* retention of the class and its directive metadata.
|
|
75
63
|
*/
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
export { MatPrefix }
|
|
91
|
-
|
|
92
|
-
export declare class MatSelect implements AfterContentInit, OnChanges, OnDestroy, OnInit, DoCheck, ControlValueAccessor, MatFormFieldControl<any> {
|
|
64
|
+
declare const MAT_SELECT_TRIGGER: InjectionToken<MatSelectTrigger>;
|
|
65
|
+
/** Change event object that is emitted when the select value has changed. */
|
|
66
|
+
declare class MatSelectChange<T = any> {
|
|
67
|
+
/** Reference to the select that emitted the change event. */
|
|
68
|
+
source: MatSelect;
|
|
69
|
+
/** Current value of the select that emitted the event. */
|
|
70
|
+
value: T;
|
|
71
|
+
constructor(
|
|
72
|
+
/** Reference to the select that emitted the change event. */
|
|
73
|
+
source: MatSelect,
|
|
74
|
+
/** Current value of the select that emitted the event. */
|
|
75
|
+
value: T);
|
|
76
|
+
}
|
|
77
|
+
declare class MatSelect implements AfterContentInit, OnChanges, OnDestroy, OnInit, DoCheck, ControlValueAccessor, MatFormFieldControl<any> {
|
|
93
78
|
protected _viewportRuler: ViewportRuler;
|
|
94
79
|
protected _changeDetectorRef: ChangeDetectorRef;
|
|
95
80
|
readonly _elementRef: ElementRef<any>;
|
|
@@ -445,6 +430,19 @@ export declare class MatSelect implements AfterContentInit, OnChanges, OnDestroy
|
|
|
445
430
|
static ngAcceptInputType_typeaheadDebounceInterval: unknown;
|
|
446
431
|
static ngAcceptInputType_canSelectNullableOptions: unknown;
|
|
447
432
|
}
|
|
433
|
+
/**
|
|
434
|
+
* Allows the user to customize the trigger that is displayed when the select has a value.
|
|
435
|
+
*/
|
|
436
|
+
declare class MatSelectTrigger {
|
|
437
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatSelectTrigger, never>;
|
|
438
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MatSelectTrigger, "mat-select-trigger", never, {}, {}, never, never, true, never>;
|
|
439
|
+
}
|
|
440
|
+
|
|
441
|
+
declare class MatSelectModule {
|
|
442
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatSelectModule, never>;
|
|
443
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<MatSelectModule, never, [typeof i2.OverlayModule, typeof i1.MatOptionModule, typeof i1.MatCommonModule, typeof MatSelect, typeof MatSelectTrigger], [typeof i2$1.CdkScrollableModule, typeof i2$2.MatFormFieldModule, typeof MatSelect, typeof MatSelectTrigger, typeof i1.MatOptionModule, typeof i1.MatCommonModule]>;
|
|
444
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<MatSelectModule>;
|
|
445
|
+
}
|
|
448
446
|
|
|
449
447
|
/**
|
|
450
448
|
* The following are all the animations for the mat-select component, with each
|
|
@@ -455,7 +453,7 @@ export declare class MatSelect implements AfterContentInit, OnChanges, OnDestroy
|
|
|
455
453
|
* @deprecated No longer used, will be removed.
|
|
456
454
|
* @breaking-change 21.0.0
|
|
457
455
|
*/
|
|
458
|
-
|
|
456
|
+
declare const matSelectAnimations: {
|
|
459
457
|
/**
|
|
460
458
|
* @deprecated No longer being used. To be removed.
|
|
461
459
|
* @breaking-change 12.0.0
|
|
@@ -464,55 +462,4 @@ export declare const matSelectAnimations: {
|
|
|
464
462
|
readonly transformPanel: any;
|
|
465
463
|
};
|
|
466
464
|
|
|
467
|
-
|
|
468
|
-
export declare class MatSelectChange<T = any> {
|
|
469
|
-
/** Reference to the select that emitted the change event. */
|
|
470
|
-
source: MatSelect;
|
|
471
|
-
/** Current value of the select that emitted the event. */
|
|
472
|
-
value: T;
|
|
473
|
-
constructor(
|
|
474
|
-
/** Reference to the select that emitted the change event. */
|
|
475
|
-
source: MatSelect,
|
|
476
|
-
/** Current value of the select that emitted the event. */
|
|
477
|
-
value: T);
|
|
478
|
-
}
|
|
479
|
-
|
|
480
|
-
/** Object that can be used to configure the default options for the select module. */
|
|
481
|
-
export declare interface MatSelectConfig {
|
|
482
|
-
/** Whether option centering should be disabled. */
|
|
483
|
-
disableOptionCentering?: boolean;
|
|
484
|
-
/** Time to wait in milliseconds after the last keystroke before moving focus to an item. */
|
|
485
|
-
typeaheadDebounceInterval?: number;
|
|
486
|
-
/** Class or list of classes to be applied to the menu's overlay panel. */
|
|
487
|
-
overlayPanelClass?: string | string[];
|
|
488
|
-
/** Whether icon indicators should be hidden for single-selection. */
|
|
489
|
-
hideSingleSelectionIndicator?: boolean;
|
|
490
|
-
/**
|
|
491
|
-
* Width of the panel. If set to `auto`, the panel will match the trigger width.
|
|
492
|
-
* If set to null or an empty string, the panel will grow to match the longest option's text.
|
|
493
|
-
*/
|
|
494
|
-
panelWidth?: string | number | null;
|
|
495
|
-
/**
|
|
496
|
-
* Whether nullable options can be selected by default.
|
|
497
|
-
* See `MatSelect.canSelectNullableOptions` for more information.
|
|
498
|
-
*/
|
|
499
|
-
canSelectNullableOptions?: boolean;
|
|
500
|
-
}
|
|
501
|
-
|
|
502
|
-
export declare class MatSelectModule {
|
|
503
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatSelectModule, never>;
|
|
504
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<MatSelectModule, never, [typeof i1.OverlayModule, typeof i2.MatOptionModule, typeof i2.MatCommonModule, typeof i3.MatSelect, typeof i3.MatSelectTrigger], [typeof i4.CdkScrollableModule, typeof i5.MatFormFieldModule, typeof i3.MatSelect, typeof i3.MatSelectTrigger, typeof i2.MatOptionModule, typeof i2.MatCommonModule]>;
|
|
505
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<MatSelectModule>;
|
|
506
|
-
}
|
|
507
|
-
|
|
508
|
-
/**
|
|
509
|
-
* Allows the user to customize the trigger that is displayed when the select has a value.
|
|
510
|
-
*/
|
|
511
|
-
export declare class MatSelectTrigger {
|
|
512
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatSelectTrigger, never>;
|
|
513
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MatSelectTrigger, "mat-select-trigger", never, {}, {}, never, never, true, never>;
|
|
514
|
-
}
|
|
515
|
-
|
|
516
|
-
export { MatSuffix }
|
|
517
|
-
|
|
518
|
-
export { }
|
|
465
|
+
export { MAT_SELECT_CONFIG, MAT_SELECT_SCROLL_STRATEGY, MAT_SELECT_SCROLL_STRATEGY_PROVIDER, MAT_SELECT_SCROLL_STRATEGY_PROVIDER_FACTORY, MAT_SELECT_TRIGGER, MatSelect, MatSelectChange, type MatSelectConfig, MatSelectModule, MatSelectTrigger, matSelectAnimations };
|
|
@@ -1,14 +1,15 @@
|
|
|
1
|
-
import { BaseHarnessFilters } from '@angular/cdk/testing';
|
|
2
|
-
import {
|
|
3
|
-
import { HarnessPredicate } from '@angular/cdk/testing';
|
|
1
|
+
import { BaseHarnessFilters, ComponentHarnessConstructor, HarnessPredicate } from '@angular/cdk/testing';
|
|
2
|
+
import { OptionHarnessFilters, MatOptionHarness, OptgroupHarnessFilters, MatOptgroupHarness } from '@angular/material/core/testing';
|
|
4
3
|
import { MatFormFieldControlHarness } from '@angular/material/form-field/testing/control';
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
4
|
+
|
|
5
|
+
/** A set of criteria that can be used to filter a list of `MatSelectHarness` instances. */
|
|
6
|
+
interface SelectHarnessFilters extends BaseHarnessFilters {
|
|
7
|
+
/** Only find instances which match the given disabled state. */
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
}
|
|
9
10
|
|
|
10
11
|
/** Harness for interacting with a mat-select in tests. */
|
|
11
|
-
|
|
12
|
+
declare class MatSelectHarness extends MatFormFieldControlHarness {
|
|
12
13
|
static hostSelector: string;
|
|
13
14
|
private _prefix;
|
|
14
15
|
private _optionClass;
|
|
@@ -58,10 +59,4 @@ export declare class MatSelectHarness extends MatFormFieldControlHarness {
|
|
|
58
59
|
private _getPanelSelector;
|
|
59
60
|
}
|
|
60
61
|
|
|
61
|
-
|
|
62
|
-
export declare interface SelectHarnessFilters extends BaseHarnessFilters {
|
|
63
|
-
/** Only find instances which match the given disabled state. */
|
|
64
|
-
disabled?: boolean;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
export { }
|
|
62
|
+
export { MatSelectHarness, type SelectHarnessFilters };
|