@angular/material 22.2.0-next.5 → 22.2.0-rc.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/_error-options-chunk.mjs +6 -6
- package/fesm2022/_form-field-chunk.mjs +30 -30
- package/fesm2022/_icon-button-chunk.mjs +6 -6
- package/fesm2022/_icon-registry-chunk.mjs +14 -15
- package/fesm2022/_icon-registry-chunk.mjs.map +1 -1
- package/fesm2022/_internal-form-field-chunk.mjs +3 -3
- package/fesm2022/_line-chunk.mjs +7 -7
- package/fesm2022/_option-chunk.mjs +6 -6
- package/fesm2022/_option-module-chunk.mjs +4 -4
- package/fesm2022/_pseudo-checkbox-chunk.mjs +3 -3
- package/fesm2022/_pseudo-checkbox-module-chunk.mjs +4 -4
- package/fesm2022/_ripple-chunk.mjs +6 -6
- package/fesm2022/_ripple-loader-chunk.mjs +3 -3
- package/fesm2022/_ripple-module-chunk.mjs +4 -4
- package/fesm2022/_structural-styles-chunk.mjs +3 -3
- package/fesm2022/_tooltip-chunk.mjs +6 -6
- package/fesm2022/autocomplete.mjs +13 -13
- package/fesm2022/badge.mjs +10 -10
- package/fesm2022/bottom-sheet.mjs +10 -10
- package/fesm2022/button-toggle.mjs +10 -10
- package/fesm2022/button.mjs +13 -13
- package/fesm2022/card.mjs +46 -46
- package/fesm2022/checkbox.mjs +7 -7
- package/fesm2022/chips.mjs +46 -46
- package/fesm2022/core.mjs +12 -12
- package/fesm2022/core.mjs.map +1 -1
- package/fesm2022/datepicker.mjs +82 -82
- package/fesm2022/dialog.mjs +25 -25
- package/fesm2022/divider.mjs +7 -7
- package/fesm2022/expansion.mjs +25 -25
- package/fesm2022/form-field.mjs +4 -4
- package/fesm2022/grid-list.mjs +22 -22
- package/fesm2022/icon-testing.mjs +7 -7
- package/fesm2022/icon.mjs +7 -7
- package/fesm2022/icon.mjs.map +1 -1
- package/fesm2022/input.mjs +7 -7
- package/fesm2022/list.mjs +49 -49
- package/fesm2022/menu.mjs +22 -22
- package/fesm2022/paginator.mjs +10 -10
- package/fesm2022/progress-bar.mjs +7 -7
- package/fesm2022/progress-spinner.mjs +7 -7
- package/fesm2022/radio.mjs +10 -10
- package/fesm2022/select.mjs +10 -10
- package/fesm2022/sidenav.mjs +22 -22
- package/fesm2022/slide-toggle.mjs +7 -7
- package/fesm2022/slider.mjs +16 -16
- package/fesm2022/snack-bar.mjs +22 -22
- package/fesm2022/sort.mjs +13 -13
- package/fesm2022/stepper.mjs +31 -31
- package/fesm2022/table.mjs +55 -55
- package/fesm2022/tabs.mjs +43 -43
- package/fesm2022/timepicker.mjs +13 -13
- package/fesm2022/toolbar.mjs +10 -10
- package/fesm2022/tooltip.mjs +4 -4
- package/fesm2022/tree.mjs +25 -25
- package/package.json +2 -2
- package/schematics/ng-add/fonts/material-fonts.js +1 -1
- package/schematics/ng-add/fonts/material-fonts.js.map +1 -1
- package/schematics/ng-add/index.js +1 -1
- package/types/_dialog-chunk.d.ts +1 -1
- package/types/_error-options-chunk.d.ts +2 -2
- package/types/_icon-module-chunk.d.ts +8 -6
- package/types/_icon-registry-chunk.d.ts +1 -1
- package/types/_paginator-chunk.d.ts +1 -1
- package/types/_ripple-loader-chunk.d.ts +1 -1
- package/types/bottom-sheet.d.ts +1 -1
- package/types/core.d.ts +1 -1
- package/types/datepicker.d.ts +5 -5
- package/types/icon-testing.d.ts +1 -1
- package/types/snack-bar.d.ts +1 -1
- package/types/sort.d.ts +1 -1
- package/types/stepper.d.ts +1 -1
package/fesm2022/grid-list.mjs
CHANGED
|
@@ -33,7 +33,7 @@ class MatGridTile {
|
|
|
33
33
|
}
|
|
34
34
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
35
35
|
minVersion: "12.0.0",
|
|
36
|
-
version: "22.2.0-next.
|
|
36
|
+
version: "22.2.0-next.7",
|
|
37
37
|
ngImport: i0,
|
|
38
38
|
type: MatGridTile,
|
|
39
39
|
deps: [],
|
|
@@ -41,7 +41,7 @@ class MatGridTile {
|
|
|
41
41
|
});
|
|
42
42
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
43
43
|
minVersion: "14.0.0",
|
|
44
|
-
version: "22.2.0-next.
|
|
44
|
+
version: "22.2.0-next.7",
|
|
45
45
|
type: MatGridTile,
|
|
46
46
|
isStandalone: true,
|
|
47
47
|
selector: "mat-grid-tile",
|
|
@@ -65,7 +65,7 @@ class MatGridTile {
|
|
|
65
65
|
}
|
|
66
66
|
i0.ɵɵngDeclareClassMetadata({
|
|
67
67
|
minVersion: "12.0.0",
|
|
68
|
-
version: "22.2.0-next.
|
|
68
|
+
version: "22.2.0-next.7",
|
|
69
69
|
ngImport: i0,
|
|
70
70
|
type: MatGridTile,
|
|
71
71
|
decorators: [{
|
|
@@ -100,7 +100,7 @@ class MatGridTileText {
|
|
|
100
100
|
}
|
|
101
101
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
102
102
|
minVersion: "12.0.0",
|
|
103
|
-
version: "22.2.0-next.
|
|
103
|
+
version: "22.2.0-next.7",
|
|
104
104
|
ngImport: i0,
|
|
105
105
|
type: MatGridTileText,
|
|
106
106
|
deps: [],
|
|
@@ -108,7 +108,7 @@ class MatGridTileText {
|
|
|
108
108
|
});
|
|
109
109
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
110
110
|
minVersion: "14.0.0",
|
|
111
|
-
version: "22.2.0-next.
|
|
111
|
+
version: "22.2.0-next.7",
|
|
112
112
|
type: MatGridTileText,
|
|
113
113
|
isStandalone: true,
|
|
114
114
|
selector: "mat-grid-tile-header, mat-grid-tile-footer",
|
|
@@ -124,7 +124,7 @@ class MatGridTileText {
|
|
|
124
124
|
}
|
|
125
125
|
i0.ɵɵngDeclareClassMetadata({
|
|
126
126
|
minVersion: "12.0.0",
|
|
127
|
-
version: "22.2.0-next.
|
|
127
|
+
version: "22.2.0-next.7",
|
|
128
128
|
ngImport: i0,
|
|
129
129
|
type: MatGridTileText,
|
|
130
130
|
decorators: [{
|
|
@@ -147,7 +147,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
147
147
|
class MatGridAvatarCssMatStyler {
|
|
148
148
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
149
149
|
minVersion: "12.0.0",
|
|
150
|
-
version: "22.2.0-next.
|
|
150
|
+
version: "22.2.0-next.7",
|
|
151
151
|
ngImport: i0,
|
|
152
152
|
type: MatGridAvatarCssMatStyler,
|
|
153
153
|
deps: [],
|
|
@@ -155,7 +155,7 @@ class MatGridAvatarCssMatStyler {
|
|
|
155
155
|
});
|
|
156
156
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
157
157
|
minVersion: "14.0.0",
|
|
158
|
-
version: "22.2.0-next.
|
|
158
|
+
version: "22.2.0-next.7",
|
|
159
159
|
type: MatGridAvatarCssMatStyler,
|
|
160
160
|
isStandalone: true,
|
|
161
161
|
selector: "[mat-grid-avatar], [matGridAvatar]",
|
|
@@ -167,7 +167,7 @@ class MatGridAvatarCssMatStyler {
|
|
|
167
167
|
}
|
|
168
168
|
i0.ɵɵngDeclareClassMetadata({
|
|
169
169
|
minVersion: "12.0.0",
|
|
170
|
-
version: "22.2.0-next.
|
|
170
|
+
version: "22.2.0-next.7",
|
|
171
171
|
ngImport: i0,
|
|
172
172
|
type: MatGridAvatarCssMatStyler,
|
|
173
173
|
decorators: [{
|
|
@@ -183,7 +183,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
183
183
|
class MatGridTileHeaderCssMatStyler {
|
|
184
184
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
185
185
|
minVersion: "12.0.0",
|
|
186
|
-
version: "22.2.0-next.
|
|
186
|
+
version: "22.2.0-next.7",
|
|
187
187
|
ngImport: i0,
|
|
188
188
|
type: MatGridTileHeaderCssMatStyler,
|
|
189
189
|
deps: [],
|
|
@@ -191,7 +191,7 @@ class MatGridTileHeaderCssMatStyler {
|
|
|
191
191
|
});
|
|
192
192
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
193
193
|
minVersion: "14.0.0",
|
|
194
|
-
version: "22.2.0-next.
|
|
194
|
+
version: "22.2.0-next.7",
|
|
195
195
|
type: MatGridTileHeaderCssMatStyler,
|
|
196
196
|
isStandalone: true,
|
|
197
197
|
selector: "mat-grid-tile-header",
|
|
@@ -203,7 +203,7 @@ class MatGridTileHeaderCssMatStyler {
|
|
|
203
203
|
}
|
|
204
204
|
i0.ɵɵngDeclareClassMetadata({
|
|
205
205
|
minVersion: "12.0.0",
|
|
206
|
-
version: "22.2.0-next.
|
|
206
|
+
version: "22.2.0-next.7",
|
|
207
207
|
ngImport: i0,
|
|
208
208
|
type: MatGridTileHeaderCssMatStyler,
|
|
209
209
|
decorators: [{
|
|
@@ -219,7 +219,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
219
219
|
class MatGridTileFooterCssMatStyler {
|
|
220
220
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
221
221
|
minVersion: "12.0.0",
|
|
222
|
-
version: "22.2.0-next.
|
|
222
|
+
version: "22.2.0-next.7",
|
|
223
223
|
ngImport: i0,
|
|
224
224
|
type: MatGridTileFooterCssMatStyler,
|
|
225
225
|
deps: [],
|
|
@@ -227,7 +227,7 @@ class MatGridTileFooterCssMatStyler {
|
|
|
227
227
|
});
|
|
228
228
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
229
229
|
minVersion: "14.0.0",
|
|
230
|
-
version: "22.2.0-next.
|
|
230
|
+
version: "22.2.0-next.7",
|
|
231
231
|
type: MatGridTileFooterCssMatStyler,
|
|
232
232
|
isStandalone: true,
|
|
233
233
|
selector: "mat-grid-tile-footer",
|
|
@@ -239,7 +239,7 @@ class MatGridTileFooterCssMatStyler {
|
|
|
239
239
|
}
|
|
240
240
|
i0.ɵɵngDeclareClassMetadata({
|
|
241
241
|
minVersion: "12.0.0",
|
|
242
|
-
version: "22.2.0-next.
|
|
242
|
+
version: "22.2.0-next.7",
|
|
243
243
|
ngImport: i0,
|
|
244
244
|
type: MatGridTileFooterCssMatStyler,
|
|
245
245
|
decorators: [{
|
|
@@ -468,7 +468,7 @@ class MatGridList {
|
|
|
468
468
|
}
|
|
469
469
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
470
470
|
minVersion: "12.0.0",
|
|
471
|
-
version: "22.2.0-next.
|
|
471
|
+
version: "22.2.0-next.7",
|
|
472
472
|
ngImport: i0,
|
|
473
473
|
type: MatGridList,
|
|
474
474
|
deps: [],
|
|
@@ -476,7 +476,7 @@ class MatGridList {
|
|
|
476
476
|
});
|
|
477
477
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
478
478
|
minVersion: "14.0.0",
|
|
479
|
-
version: "22.2.0-next.
|
|
479
|
+
version: "22.2.0-next.7",
|
|
480
480
|
type: MatGridList,
|
|
481
481
|
isStandalone: true,
|
|
482
482
|
selector: "mat-grid-list",
|
|
@@ -509,7 +509,7 @@ class MatGridList {
|
|
|
509
509
|
}
|
|
510
510
|
i0.ɵɵngDeclareClassMetadata({
|
|
511
511
|
minVersion: "12.0.0",
|
|
512
|
-
version: "22.2.0-next.
|
|
512
|
+
version: "22.2.0-next.7",
|
|
513
513
|
ngImport: i0,
|
|
514
514
|
type: MatGridList,
|
|
515
515
|
decorators: [{
|
|
@@ -552,7 +552,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
552
552
|
class MatGridListModule {
|
|
553
553
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
554
554
|
minVersion: "12.0.0",
|
|
555
|
-
version: "22.2.0-next.
|
|
555
|
+
version: "22.2.0-next.7",
|
|
556
556
|
ngImport: i0,
|
|
557
557
|
type: MatGridListModule,
|
|
558
558
|
deps: [],
|
|
@@ -560,7 +560,7 @@ class MatGridListModule {
|
|
|
560
560
|
});
|
|
561
561
|
static ɵmod = i0.ɵɵngDeclareNgModule({
|
|
562
562
|
minVersion: "14.0.0",
|
|
563
|
-
version: "22.2.0-next.
|
|
563
|
+
version: "22.2.0-next.7",
|
|
564
564
|
ngImport: i0,
|
|
565
565
|
type: MatGridListModule,
|
|
566
566
|
imports: [MatLineModule, MatGridList, MatGridTile, MatGridTileText, MatGridTileHeaderCssMatStyler, MatGridTileFooterCssMatStyler, MatGridAvatarCssMatStyler],
|
|
@@ -568,7 +568,7 @@ class MatGridListModule {
|
|
|
568
568
|
});
|
|
569
569
|
static ɵinj = i0.ɵɵngDeclareInjector({
|
|
570
570
|
minVersion: "12.0.0",
|
|
571
|
-
version: "22.2.0-next.
|
|
571
|
+
version: "22.2.0-next.7",
|
|
572
572
|
ngImport: i0,
|
|
573
573
|
type: MatGridListModule,
|
|
574
574
|
imports: [MatLineModule, BidiModule, MatLineModule]
|
|
@@ -576,7 +576,7 @@ class MatGridListModule {
|
|
|
576
576
|
}
|
|
577
577
|
i0.ɵɵngDeclareClassMetadata({
|
|
578
578
|
minVersion: "12.0.0",
|
|
579
|
-
version: "22.2.0-next.
|
|
579
|
+
version: "22.2.0-next.7",
|
|
580
580
|
ngImport: i0,
|
|
581
581
|
type: MatGridListModule,
|
|
582
582
|
decorators: [{
|
|
@@ -104,7 +104,7 @@ class FakeMatIconRegistry {
|
|
|
104
104
|
}
|
|
105
105
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
106
106
|
minVersion: "12.0.0",
|
|
107
|
-
version: "22.2.0-next.
|
|
107
|
+
version: "22.2.0-next.7",
|
|
108
108
|
ngImport: i0,
|
|
109
109
|
type: FakeMatIconRegistry,
|
|
110
110
|
deps: [],
|
|
@@ -112,7 +112,7 @@ class FakeMatIconRegistry {
|
|
|
112
112
|
});
|
|
113
113
|
static ɵprov = i0.ɵɵngDeclareService({
|
|
114
114
|
minVersion: "22.0.0",
|
|
115
|
-
version: "22.2.0-next.
|
|
115
|
+
version: "22.2.0-next.7",
|
|
116
116
|
ngImport: i0,
|
|
117
117
|
type: FakeMatIconRegistry,
|
|
118
118
|
autoProvided: false
|
|
@@ -120,7 +120,7 @@ class FakeMatIconRegistry {
|
|
|
120
120
|
}
|
|
121
121
|
i0.ɵɵngDeclareClassMetadata({
|
|
122
122
|
minVersion: "12.0.0",
|
|
123
|
-
version: "22.2.0-next.
|
|
123
|
+
version: "22.2.0-next.7",
|
|
124
124
|
ngImport: i0,
|
|
125
125
|
type: FakeMatIconRegistry,
|
|
126
126
|
decorators: [{
|
|
@@ -133,7 +133,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
133
133
|
class MatIconTestingModule {
|
|
134
134
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
135
135
|
minVersion: "12.0.0",
|
|
136
|
-
version: "22.2.0-next.
|
|
136
|
+
version: "22.2.0-next.7",
|
|
137
137
|
ngImport: i0,
|
|
138
138
|
type: MatIconTestingModule,
|
|
139
139
|
deps: [],
|
|
@@ -141,13 +141,13 @@ class MatIconTestingModule {
|
|
|
141
141
|
});
|
|
142
142
|
static ɵmod = i0.ɵɵngDeclareNgModule({
|
|
143
143
|
minVersion: "14.0.0",
|
|
144
|
-
version: "22.2.0-next.
|
|
144
|
+
version: "22.2.0-next.7",
|
|
145
145
|
ngImport: i0,
|
|
146
146
|
type: MatIconTestingModule
|
|
147
147
|
});
|
|
148
148
|
static ɵinj = i0.ɵɵngDeclareInjector({
|
|
149
149
|
minVersion: "12.0.0",
|
|
150
|
-
version: "22.2.0-next.
|
|
150
|
+
version: "22.2.0-next.7",
|
|
151
151
|
ngImport: i0,
|
|
152
152
|
type: MatIconTestingModule,
|
|
153
153
|
providers: [{
|
|
@@ -158,7 +158,7 @@ class MatIconTestingModule {
|
|
|
158
158
|
}
|
|
159
159
|
i0.ɵɵngDeclareClassMetadata({
|
|
160
160
|
minVersion: "12.0.0",
|
|
161
|
-
version: "22.2.0-next.
|
|
161
|
+
version: "22.2.0-next.7",
|
|
162
162
|
ngImport: i0,
|
|
163
163
|
type: MatIconTestingModule,
|
|
164
164
|
decorators: [{
|
package/fesm2022/icon.mjs
CHANGED
|
@@ -230,7 +230,7 @@ class MatIcon {
|
|
|
230
230
|
}
|
|
231
231
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
232
232
|
minVersion: "12.0.0",
|
|
233
|
-
version: "22.2.0-next.
|
|
233
|
+
version: "22.2.0-next.7",
|
|
234
234
|
ngImport: i0,
|
|
235
235
|
type: MatIcon,
|
|
236
236
|
deps: [],
|
|
@@ -238,7 +238,7 @@ class MatIcon {
|
|
|
238
238
|
});
|
|
239
239
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
240
240
|
minVersion: "16.1.0",
|
|
241
|
-
version: "22.2.0-next.
|
|
241
|
+
version: "22.2.0-next.7",
|
|
242
242
|
type: MatIcon,
|
|
243
243
|
isStandalone: true,
|
|
244
244
|
selector: "mat-icon",
|
|
@@ -274,7 +274,7 @@ class MatIcon {
|
|
|
274
274
|
}
|
|
275
275
|
i0.ɵɵngDeclareClassMetadata({
|
|
276
276
|
minVersion: "12.0.0",
|
|
277
|
-
version: "22.2.0-next.
|
|
277
|
+
version: "22.2.0-next.7",
|
|
278
278
|
ngImport: i0,
|
|
279
279
|
type: MatIcon,
|
|
280
280
|
decorators: [{
|
|
@@ -324,7 +324,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
324
324
|
class MatIconModule {
|
|
325
325
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
326
326
|
minVersion: "12.0.0",
|
|
327
|
-
version: "22.2.0-next.
|
|
327
|
+
version: "22.2.0-next.7",
|
|
328
328
|
ngImport: i0,
|
|
329
329
|
type: MatIconModule,
|
|
330
330
|
deps: [],
|
|
@@ -332,7 +332,7 @@ class MatIconModule {
|
|
|
332
332
|
});
|
|
333
333
|
static ɵmod = i0.ɵɵngDeclareNgModule({
|
|
334
334
|
minVersion: "14.0.0",
|
|
335
|
-
version: "22.2.0-next.
|
|
335
|
+
version: "22.2.0-next.7",
|
|
336
336
|
ngImport: i0,
|
|
337
337
|
type: MatIconModule,
|
|
338
338
|
imports: [MatIcon],
|
|
@@ -340,7 +340,7 @@ class MatIconModule {
|
|
|
340
340
|
});
|
|
341
341
|
static ɵinj = i0.ɵɵngDeclareInjector({
|
|
342
342
|
minVersion: "12.0.0",
|
|
343
|
-
version: "22.2.0-next.
|
|
343
|
+
version: "22.2.0-next.7",
|
|
344
344
|
ngImport: i0,
|
|
345
345
|
type: MatIconModule,
|
|
346
346
|
imports: [BidiModule]
|
|
@@ -348,7 +348,7 @@ class MatIconModule {
|
|
|
348
348
|
}
|
|
349
349
|
i0.ɵɵngDeclareClassMetadata({
|
|
350
350
|
minVersion: "12.0.0",
|
|
351
|
-
version: "22.2.0-next.
|
|
351
|
+
version: "22.2.0-next.7",
|
|
352
352
|
ngImport: i0,
|
|
353
353
|
type: MatIconModule,
|
|
354
354
|
decorators: [{
|
package/fesm2022/icon.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"icon.mjs","sources":["../../../../../darwin_arm64-fastbuild-ST-fdfa778d11ba/bin/src/material/icon/icon.ts","../../../../../darwin_arm64-fastbuild-ST-fdfa778d11ba/bin/src/material/icon/icon-module.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 {\n AfterViewChecked,\n booleanAttribute,\n Component,\n ElementRef,\n ErrorHandler,\n inject,\n InjectionToken,\n Input,\n OnDestroy,\n OnInit,\n ViewEncapsulation,\n HostAttributeToken,\n DOCUMENT,\n} from '@angular/core';\nimport {ThemePalette} from '../core';\nimport {Subscription} from 'rxjs';\nimport {take} from 'rxjs/operators';\n\nimport {MatIconRegistry} from './icon-registry';\n\n/** Default options for `mat-icon`. */\nexport interface MatIconDefaultOptions {\n /**\n * Theme color of the icon. This API is supported in M2 themes only, it\n * has no effect in M3 themes. For color customization in M3, see https://material.angular.dev/components/icon/styling.\n *\n * For information on applying color variants in M3, see\n * https://material.angular.dev/guide/material-2-theming#optional-add-backwards-compatibility-styles-for-color-variants\n */\n color?: ThemePalette;\n /** Font set that the icon is a part of. */\n fontSet?: string;\n}\n\n/** Injection token to be used to override the default options for `mat-icon`. */\nexport const MAT_ICON_DEFAULT_OPTIONS = new InjectionToken<MatIconDefaultOptions>(\n 'MAT_ICON_DEFAULT_OPTIONS',\n);\n\n/**\n * Injection token used to provide the current location to `MatIcon`.\n * Used to handle server-side rendering and to stub out during unit tests.\n * @docs-private\n */\nexport const MAT_ICON_LOCATION = new InjectionToken<MatIconLocation>('mat-icon-location', {\n providedIn: 'root',\n factory: () => {\n const _document = inject(DOCUMENT);\n const _location = _document ? _document.location : null;\n\n return {\n // Note that this needs to be a function, rather than a property, because Angular\n // will only resolve it once, but we want the current path on each call.\n getPathname: () => (_location ? _location.pathname + _location.search : ''),\n };\n },\n});\n\n/**\n * Stubbed out location for `MatIcon`.\n * @docs-private\n */\nexport interface MatIconLocation {\n getPathname: () => string;\n}\n\n/** SVG attributes that accept a FuncIRI (e.g. `url(<something>)`). */\nconst funcIriAttributes = [\n 'clip-path',\n 'color-profile',\n 'src',\n 'cursor',\n 'fill',\n 'filter',\n 'marker',\n 'marker-start',\n 'marker-mid',\n 'marker-end',\n 'mask',\n 'stroke',\n];\n\n/** Selector that can be used to find all elements that are using a `FuncIRI`. */\nconst funcIriAttributeSelector = funcIriAttributes.map(attr => `[${attr}]`).join(', ');\n\n/** Regex that can be used to extract the id out of a FuncIRI. */\nconst funcIriPattern = /^url\\(['\"]?#(.*?)['\"]?\\)$/;\n\n/**\n * Component to display an icon. It can be used in the following ways:\n *\n * - Specify the svgIcon input to load an SVG icon from a URL previously registered with the\n * addSvgIcon, addSvgIconInNamespace, addSvgIconSet, or addSvgIconSetInNamespace methods of\n * MatIconRegistry. If the svgIcon value contains a colon it is assumed to be in the format\n * \"[namespace]:[name]\", if not the value will be the name of an icon in the default namespace.\n * Examples:\n * `<mat-icon svgIcon=\"left-arrow\"></mat-icon>\n * <mat-icon svgIcon=\"animals:cat\"></mat-icon>`\n *\n * - Use a font ligature as an icon by putting the ligature text in the `fontIcon` attribute or the\n * content of the `<mat-icon>` component. If you register a custom font class, don't forget to also\n * include the special class `mat-ligature-font`. It is recommended to use the attribute alternative\n * to prevent the ligature text to be selectable and to appear in search engine results.\n * By default, the Material icons font is used as described at\n * http://google.github.io/material-design-icons/#icon-font-for-the-web. You can specify an\n * alternate font by setting the fontSet input to either the CSS class to apply to use the\n * desired font, or to an alias previously registered with MatIconRegistry.registerFontClassAlias.\n * Examples:\n * `<mat-icon fontIcon=\"home\"></mat-icon>\n * <mat-icon>home</mat-icon>\n * <mat-icon fontSet=\"myfont\" fontIcon=\"sun\"></mat-icon>\n * <mat-icon fontSet=\"myfont\">sun</mat-icon>`\n *\n * - Specify a font glyph to be included via CSS rules by setting the fontSet input to specify the\n * font, and the fontIcon input to specify the icon. Typically the fontIcon will specify a\n * CSS class which causes the glyph to be displayed via a :before selector, as in\n * https://fontawesome-v4.github.io/examples/\n * Example:\n * `<mat-icon fontSet=\"fa\" fontIcon=\"alarm\"></mat-icon>`\n */\n@Component({\n template: '<ng-content></ng-content>',\n selector: 'mat-icon',\n exportAs: 'matIcon',\n styleUrl: 'icon.css',\n host: {\n 'role': 'img',\n 'class': 'mat-icon notranslate',\n '[class]': 'color ? \"mat-\" + color : \"\"',\n '[attr.data-mat-icon-type]': '_usingFontIcon() ? \"font\" : \"svg\"',\n '[attr.data-mat-icon-name]': '_svgName || fontIcon',\n '[attr.data-mat-icon-namespace]': '_svgNamespace || fontSet',\n '[attr.fontIcon]': '_usingFontIcon() ? fontIcon : null',\n '[class.mat-icon-inline]': 'inline',\n '[class.mat-icon-no-color]': 'color !== \"primary\" && color !== \"accent\" && color !== \"warn\"',\n },\n encapsulation: ViewEncapsulation.None,\n})\nexport class MatIcon implements OnInit, AfterViewChecked, OnDestroy {\n readonly _elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\n private _iconRegistry = inject(MatIconRegistry);\n private _location = inject<MatIconLocation>(MAT_ICON_LOCATION);\n private readonly _errorHandler = inject(ErrorHandler);\n private _defaultColor!: ThemePalette;\n\n /**\n * Theme color of the icon. This API is supported in M2 themes only, it\n * has no effect in M3 themes. For color customization in M3, see https://material.angular.dev/components/icon/styling.\n *\n * For information on applying color variants in M3, see\n * https://material.angular.dev/guide/material-2-theming#optional-add-backwards-compatibility-styles-for-color-variants\n */\n @Input()\n get color() {\n return this._color || this._defaultColor;\n }\n set color(value: string | null | undefined) {\n this._color = value;\n }\n private _color: string | null | undefined;\n\n /**\n * Whether the icon should be inlined, automatically sizing the icon to match the font size of\n * the element the icon is contained in.\n */\n @Input({transform: booleanAttribute})\n inline: boolean = false;\n\n /** Name of the icon in the SVG icon set. */\n @Input()\n get svgIcon(): string {\n return this._svgIcon;\n }\n set svgIcon(value: string) {\n if (value !== this._svgIcon) {\n if (value) {\n this._updateSvgIcon(value);\n } else if (this._svgIcon) {\n this._clearSvgElement();\n }\n this._svgIcon = value;\n }\n }\n private _svgIcon!: string;\n\n /** Font set that the icon is a part of. */\n @Input()\n get fontSet(): string {\n return this._fontSet;\n }\n set fontSet(value: string) {\n const newValue = this._cleanupFontValue(value);\n\n if (newValue !== this._fontSet) {\n this._fontSet = newValue;\n this._updateFontIconClasses();\n }\n }\n private _fontSet!: string;\n\n /** Name of an icon within a font set. */\n @Input()\n get fontIcon(): string {\n return this._fontIcon;\n }\n set fontIcon(value: string) {\n const newValue = this._cleanupFontValue(value);\n\n if (newValue !== this._fontIcon) {\n this._fontIcon = newValue;\n this._updateFontIconClasses();\n }\n }\n private _fontIcon!: string;\n\n private _previousFontSetClass: string[] = [];\n private _previousFontIconClass!: string;\n\n _svgName: string | null = null;\n _svgNamespace: string | null = null;\n\n /** Keeps track of the current page path. */\n private _previousPath?: string;\n\n /** Keeps track of the elements and attributes that we've prefixed with the current path. */\n private _elementsWithExternalReferences?: Map<Element, {name: string; value: string}[]>;\n\n /** Subscription to the current in-progress SVG icon request. */\n private _currentIconFetch = Subscription.EMPTY;\n\n constructor() {\n const ariaHidden = inject(new HostAttributeToken('aria-hidden'), {optional: true});\n const defaults = inject<MatIconDefaultOptions>(MAT_ICON_DEFAULT_OPTIONS, {optional: true});\n\n if (defaults) {\n if (defaults.color) {\n this.color = this._defaultColor = defaults.color;\n }\n\n if (defaults.fontSet) {\n this.fontSet = defaults.fontSet;\n }\n }\n\n // If the user has not explicitly set aria-hidden, mark the icon as hidden, as this is\n // the right thing to do for the majority of icon use-cases.\n if (!ariaHidden) {\n this._elementRef.nativeElement.setAttribute('aria-hidden', 'true');\n }\n }\n\n /**\n * Splits an svgIcon binding value into its icon set and icon name components.\n * Returns a 2-element array of [(icon set), (icon name)].\n * The separator for the two fields is ':'. If there is no separator, an empty\n * string is returned for the icon set and the entire value is returned for\n * the icon name. If the argument is falsy, returns an array of two empty strings.\n * Throws an error if the name contains two or more ':' separators.\n * Examples:\n * `'social:cake' -> ['social', 'cake']\n * 'penguin' -> ['', 'penguin']\n * null -> ['', '']\n * 'a:b:c' -> (throws Error)`\n */\n private _splitIconName(iconName: string): [string, string] {\n if (!iconName) {\n return ['', ''];\n }\n const parts = iconName.split(':');\n switch (parts.length) {\n case 1:\n return ['', parts[0]]; // Use default namespace.\n case 2:\n return <[string, string]>parts;\n default:\n throw Error(`Invalid icon name: \"${iconName}\"`); // TODO: add an ngDevMode check\n }\n }\n\n ngOnInit() {\n // Update font classes because ngOnChanges won't be called if none of the inputs are present,\n // e.g. <mat-icon>arrow</mat-icon> In this case we need to add a CSS class for the default font.\n this._updateFontIconClasses();\n }\n\n ngAfterViewChecked() {\n const cachedElements = this._elementsWithExternalReferences;\n\n if (cachedElements && cachedElements.size) {\n const newPath = this._location.getPathname();\n\n // We need to check whether the URL has changed on each change detection since\n // the browser doesn't have an API that will let us react on link clicks and\n // we can't depend on the Angular router. The references need to be updated,\n // because while most browsers don't care whether the URL is correct after\n // the first render, Safari will break if the user navigates to a different\n // page and the SVG isn't re-rendered.\n if (newPath !== this._previousPath) {\n this._previousPath = newPath;\n this._prependPathToReferences(newPath);\n }\n }\n }\n\n ngOnDestroy() {\n this._currentIconFetch.unsubscribe();\n\n if (this._elementsWithExternalReferences) {\n this._elementsWithExternalReferences.clear();\n }\n }\n\n _usingFontIcon(): boolean {\n return !this.svgIcon;\n }\n\n private _setSvgElement(svg: SVGElement) {\n this._clearSvgElement();\n\n // Note: we do this fix here, rather than the icon registry, because the\n // references have to point to the URL at the time that the icon was created.\n const path = this._location.getPathname();\n this._previousPath = path;\n this._cacheChildrenWithExternalReferences(svg);\n this._prependPathToReferences(path);\n this._elementRef.nativeElement.appendChild(svg);\n }\n\n private _clearSvgElement() {\n const layoutElement: HTMLElement = this._elementRef.nativeElement;\n let childCount = layoutElement.childNodes.length;\n\n if (this._elementsWithExternalReferences) {\n this._elementsWithExternalReferences.clear();\n }\n\n // Remove existing non-element child nodes and SVGs, and add the new SVG element. Note that\n // we can't use innerHTML, because IE will throw if the element has a data binding.\n while (childCount--) {\n const child = layoutElement.childNodes[childCount];\n\n // 1 corresponds to Node.ELEMENT_NODE. We remove all non-element nodes in order to get rid\n // of any loose text nodes, as well as any SVG elements in order to remove any old icons.\n if (child.nodeType !== 1 || child.nodeName.toLowerCase() === 'svg') {\n child.remove();\n }\n }\n }\n\n private _updateFontIconClasses() {\n if (!this._usingFontIcon()) {\n return;\n }\n\n const elem: HTMLElement = this._elementRef.nativeElement;\n const fontSetClasses = (\n this.fontSet\n ? this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/)\n : this._iconRegistry.getDefaultFontSetClass()\n ).filter(className => className.length > 0);\n\n this._previousFontSetClass.forEach(className => elem.classList.remove(className));\n fontSetClasses.forEach(className => elem.classList.add(className));\n this._previousFontSetClass = fontSetClasses;\n\n if (\n this.fontIcon !== this._previousFontIconClass &&\n !fontSetClasses.includes('mat-ligature-font')\n ) {\n if (this._previousFontIconClass) {\n elem.classList.remove(this._previousFontIconClass);\n }\n if (this.fontIcon) {\n elem.classList.add(this.fontIcon);\n }\n this._previousFontIconClass = this.fontIcon;\n }\n }\n\n /**\n * Cleans up a value to be used as a fontIcon or fontSet.\n * Since the value ends up being assigned as a CSS class, we\n * have to trim the value and omit space-separated values.\n */\n private _cleanupFontValue(value: string) {\n return typeof value === 'string' ? value.trim().split(' ')[0] : value;\n }\n\n /**\n * Prepends the current path to all elements that have an attribute pointing to a `FuncIRI`\n * reference. This is required because WebKit browsers require references to be prefixed with\n * the current path, if the page has a `base` tag.\n */\n private _prependPathToReferences(path: string) {\n const elements = this._elementsWithExternalReferences;\n\n if (elements) {\n elements.forEach((attrs, element) => {\n attrs.forEach(attr => {\n element.setAttribute(attr.name, `url('${path}#${attr.value}')`);\n });\n });\n }\n }\n\n /**\n * Caches the children of an SVG element that have `url()`\n * references that we need to prefix with the current path.\n */\n private _cacheChildrenWithExternalReferences(element: SVGElement) {\n const elementsWithFuncIri = element.querySelectorAll(funcIriAttributeSelector);\n const elements = (this._elementsWithExternalReferences =\n this._elementsWithExternalReferences || new Map());\n\n for (let i = 0; i < elementsWithFuncIri.length; i++) {\n funcIriAttributes.forEach(attr => {\n const elementWithReference = elementsWithFuncIri[i];\n const value = elementWithReference.getAttribute(attr);\n const match = value ? value.match(funcIriPattern) : null;\n\n if (match) {\n let attributes = elements.get(elementWithReference);\n\n if (!attributes) {\n attributes = [];\n elements.set(elementWithReference, attributes);\n }\n\n attributes!.push({name: attr, value: match[1]});\n }\n });\n }\n }\n\n /** Sets a new SVG icon with a particular name. */\n private _updateSvgIcon(rawName: string | undefined) {\n this._svgNamespace = null;\n this._svgName = null;\n this._currentIconFetch.unsubscribe();\n\n if (rawName) {\n const [namespace, iconName] = this._splitIconName(rawName);\n\n if (namespace) {\n this._svgNamespace = namespace;\n }\n\n if (iconName) {\n this._svgName = iconName;\n }\n\n this._currentIconFetch = this._iconRegistry\n .getNamedSvgIcon(iconName, namespace)\n .pipe(take(1))\n .subscribe(\n svg => this._setSvgElement(svg),\n (err: Error) => {\n const errorMessage = `Error retrieving icon ${namespace}:${iconName}! ${err.message}`;\n this._errorHandler.handleError(new Error(errorMessage));\n },\n );\n }\n }\n}\n","/**\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 {BidiModule} from '@angular/cdk/bidi';\nimport {NgModule} from '@angular/core';\nimport {MatIcon} from './icon';\n\n@NgModule({\n imports: [MatIcon],\n exports: [MatIcon, BidiModule],\n})\nexport class MatIconModule {}\n"],"names":[],"mappings":";;;;;;;;;;;MA4Ca,wBAAwB,GAAG,IAAI,cAAc,CACxD,0BAA0B;MAQf,iBAAiB,GAAG,IAAI,cAAc,CAAkB,mBAAmB,EAAE;AACxF,EAAA,UAAU,EAAE,MAAM;AAClB,EAAA,OAAO,EAAE,MAAK;AACZ,IAAA,MAAM,SAAS,GAAG,MAAM,CAAC,QAAQ,CAAC;IAClC,MAAM,SAAS,GAAG,SAAS,GAAG,SAAS,CAAC,QAAQ,GAAG,IAAI;IAEvD,OAAO;MAGL,WAAW,EAAE,MAAO,SAAS,GAAG,SAAS,CAAC,QAAQ,GAAG,SAAS,CAAC,MAAM,GAAG;KACzE;AACH,EAAA;AACD,CAAA;AAWD,MAAM,iBAAiB,GAAG,CACxB,WAAW,EACX,eAAe,EACf,KAAK,EACL,QAAQ,EACR,MAAM,EACN,QAAQ,EACR,QAAQ,EACR,cAAc,EACd,YAAY,EACZ,YAAY,EACZ,MAAM,EACN,QAAQ,CACT;AAGD,MAAM,wBAAwB,GAAG,iBAAiB,CAAC,GAAG,CAAC,IAAI,IAAI,CAAA,CAAA,EAAI,IAAI,GAAG,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC;AAGtF,MAAM,cAAc,GAAG,2BAA2B;MAoDrC,OAAO,CAAA;AACT,EAAA,WAAW,GAAG,MAAM,CAA0B,UAAU,CAAC;AAC1D,EAAA,aAAa,GAAG,MAAM,CAAC,eAAe,CAAC;AACvC,EAAA,SAAS,GAAG,MAAM,CAAkB,iBAAiB,CAAC;AAC7C,EAAA,aAAa,GAAG,MAAM,CAAC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AHd,OAAO,CAAA;AAAA,IAAA,OAAA,EAAA,CACP,OAAO,EAAE,UAAU;AAAA,GAAA,CAAA;AAElB,EAAA,OAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA;AAAA,IAAA,UAAA,EAAA,QAAA;AAAA,IAAA,OAAA,EAAA,eAAA;AAAA,IAAA,QAAA,EAAA,EAAA;AAAA,IAAA,IAAA,EAAA,aAAa;cAFL,UAAU;AAAA,GAAA,CAAA;;;;;;QAElB,aAAa;AAAA,EAAA,UAAA,EAAA,CAAA;UAJzB,QAAQ;AAAC,IAAA,IAAA,EAAA,CAAA;MACR,OAAO,EAAE,CAAC,OAAO,CAAC;AAClB,MAAA,OAAO,EAAE,CAAC,OAAO,EAAE,UAAU;KAC9B;;;;"}
|
|
1
|
+
{"version":3,"file":"icon.mjs","sources":["../../../../../darwin_arm64-fastbuild-ST-fdfa778d11ba/bin/src/material/icon/icon.ts","../../../../../darwin_arm64-fastbuild-ST-fdfa778d11ba/bin/src/material/icon/icon-module.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 {\n AfterViewChecked,\n booleanAttribute,\n Component,\n ElementRef,\n ErrorHandler,\n inject,\n InjectionToken,\n Input,\n OnDestroy,\n OnInit,\n ViewEncapsulation,\n HostAttributeToken,\n DOCUMENT,\n} from '@angular/core';\nimport {ThemePalette} from '../core';\nimport {Subscription} from 'rxjs';\nimport {take} from 'rxjs/operators';\n\nimport {MatIconRegistry} from './icon-registry';\n\n/** Default options for `mat-icon`. */\nexport interface MatIconDefaultOptions {\n /**\n * Theme color of the icon. This API is supported in M2 themes only, it\n * has no effect in M3 themes. For color customization in M3, see https://material.angular.dev/components/icon/styling.\n *\n * For information on applying color variants in M3, see\n * https://material.angular.dev/guide/material-2-theming#optional-add-backwards-compatibility-styles-for-color-variants\n */\n color?: ThemePalette;\n /** Font set that the icon is a part of. */\n fontSet?: string;\n}\n\n/** Injection token to be used to override the default options for `mat-icon`. */\nexport const MAT_ICON_DEFAULT_OPTIONS = new InjectionToken<MatIconDefaultOptions>(\n 'MAT_ICON_DEFAULT_OPTIONS',\n);\n\n/**\n * Injection token used to provide the current location to `MatIcon`.\n * Used to handle server-side rendering and to stub out during unit tests.\n * @docs-private\n */\nexport const MAT_ICON_LOCATION = new InjectionToken<MatIconLocation>('mat-icon-location', {\n providedIn: 'root',\n factory: () => {\n const _document = inject(DOCUMENT);\n const _location = _document ? _document.location : null;\n\n return {\n // Note that this needs to be a function, rather than a property, because Angular\n // will only resolve it once, but we want the current path on each call.\n getPathname: () => (_location ? _location.pathname + _location.search : ''),\n };\n },\n});\n\n/**\n * Stubbed out location for `MatIcon`.\n * @docs-private\n */\nexport interface MatIconLocation {\n getPathname: () => string;\n}\n\n/** SVG attributes that accept a FuncIRI (e.g. `url(<something>)`). */\nconst funcIriAttributes = [\n 'clip-path',\n 'color-profile',\n 'src',\n 'cursor',\n 'fill',\n 'filter',\n 'marker',\n 'marker-start',\n 'marker-mid',\n 'marker-end',\n 'mask',\n 'stroke',\n];\n\n/** Selector that can be used to find all elements that are using a `FuncIRI`. */\nconst funcIriAttributeSelector = funcIriAttributes.map(attr => `[${attr}]`).join(', ');\n\n/** Regex that can be used to extract the id out of a FuncIRI. */\nconst funcIriPattern = /^url\\(['\"]?#(.*?)['\"]?\\)$/;\n\n/**\n * Component to display an icon. It can be used in the following ways:\n *\n * - Specify the svgIcon input to load an SVG icon from a URL previously registered with the\n * addSvgIcon, addSvgIconInNamespace, addSvgIconSet, or addSvgIconSetInNamespace methods of\n * MatIconRegistry. If the svgIcon value contains a colon it is assumed to be in the format\n * \"[namespace]:[name]\", if not the value will be the name of an icon in the default namespace.\n * Examples:\n * `<mat-icon svgIcon=\"left-arrow\"></mat-icon>\n * <mat-icon svgIcon=\"animals:cat\"></mat-icon>`\n *\n * - Use a font ligature as an icon by putting the ligature text in the `fontIcon` attribute or the\n * content of the `<mat-icon>` component. If you register a custom font class, don't forget to also\n * include the special class `mat-ligature-font`. It is recommended to use the attribute alternative\n * to prevent the ligature text to be selectable and to appear in search engine results.\n * By default, the Material Icons or Material Symbols fonts are used as described at\n * https://fonts.google.com/icons. You can specify an alternate font by setting the `fontSet`\n * input to either the CSS class to apply to use the desired font, or to an alias previously\n * registered with `MatIconRegistry.registerFontClassAlias`.\n * Examples:\n * ```html\n * <mat-icon fontIcon=\"home\"></mat-icon>\n * <mat-icon>home</mat-icon>\n * <mat-icon fontSet=\"myfont\" fontIcon=\"sun\"></mat-icon>\n * <mat-icon fontSet=\"myfont\">sun</mat-icon>\n * ```\n *\n * - Specify a font glyph to be included via CSS rules by setting the fontSet input to specify the\n * font, and the fontIcon input to specify the icon. Typically the fontIcon will specify a\n * CSS class which causes the glyph to be displayed via a :before selector, as in\n * https://fontawesome-v4.github.io/examples/\n * Example:\n * `<mat-icon fontSet=\"fa\" fontIcon=\"alarm\"></mat-icon>`\n */\n@Component({\n template: '<ng-content></ng-content>',\n selector: 'mat-icon',\n exportAs: 'matIcon',\n styleUrl: 'icon.css',\n host: {\n 'role': 'img',\n 'class': 'mat-icon notranslate',\n '[class]': 'color ? \"mat-\" + color : \"\"',\n '[attr.data-mat-icon-type]': '_usingFontIcon() ? \"font\" : \"svg\"',\n '[attr.data-mat-icon-name]': '_svgName || fontIcon',\n '[attr.data-mat-icon-namespace]': '_svgNamespace || fontSet',\n '[attr.fontIcon]': '_usingFontIcon() ? fontIcon : null',\n '[class.mat-icon-inline]': 'inline',\n '[class.mat-icon-no-color]': 'color !== \"primary\" && color !== \"accent\" && color !== \"warn\"',\n },\n encapsulation: ViewEncapsulation.None,\n})\nexport class MatIcon implements OnInit, AfterViewChecked, OnDestroy {\n readonly _elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\n private _iconRegistry = inject(MatIconRegistry);\n private _location = inject<MatIconLocation>(MAT_ICON_LOCATION);\n private readonly _errorHandler = inject(ErrorHandler);\n private _defaultColor!: ThemePalette;\n\n /**\n * Theme color of the icon. This API is supported in M2 themes only, it\n * has no effect in M3 themes. For color customization in M3, see https://material.angular.dev/components/icon/styling.\n *\n * For information on applying color variants in M3, see\n * https://material.angular.dev/guide/material-2-theming#optional-add-backwards-compatibility-styles-for-color-variants\n */\n @Input()\n get color() {\n return this._color || this._defaultColor;\n }\n set color(value: string | null | undefined) {\n this._color = value;\n }\n private _color: string | null | undefined;\n\n /**\n * Whether the icon should be inlined, automatically sizing the icon to match the font size of\n * the element the icon is contained in.\n */\n @Input({transform: booleanAttribute})\n inline: boolean = false;\n\n /** Name of the icon in the SVG icon set. */\n @Input()\n get svgIcon(): string {\n return this._svgIcon;\n }\n set svgIcon(value: string) {\n if (value !== this._svgIcon) {\n if (value) {\n this._updateSvgIcon(value);\n } else if (this._svgIcon) {\n this._clearSvgElement();\n }\n this._svgIcon = value;\n }\n }\n private _svgIcon!: string;\n\n /** Font set that the icon is a part of. */\n @Input()\n get fontSet(): string {\n return this._fontSet;\n }\n set fontSet(value: string) {\n const newValue = this._cleanupFontValue(value);\n\n if (newValue !== this._fontSet) {\n this._fontSet = newValue;\n this._updateFontIconClasses();\n }\n }\n private _fontSet!: string;\n\n /** Name of an icon within a font set. */\n @Input()\n get fontIcon(): string {\n return this._fontIcon;\n }\n set fontIcon(value: string) {\n const newValue = this._cleanupFontValue(value);\n\n if (newValue !== this._fontIcon) {\n this._fontIcon = newValue;\n this._updateFontIconClasses();\n }\n }\n private _fontIcon!: string;\n\n private _previousFontSetClass: string[] = [];\n private _previousFontIconClass!: string;\n\n _svgName: string | null = null;\n _svgNamespace: string | null = null;\n\n /** Keeps track of the current page path. */\n private _previousPath?: string;\n\n /** Keeps track of the elements and attributes that we've prefixed with the current path. */\n private _elementsWithExternalReferences?: Map<Element, {name: string; value: string}[]>;\n\n /** Subscription to the current in-progress SVG icon request. */\n private _currentIconFetch = Subscription.EMPTY;\n\n constructor() {\n const ariaHidden = inject(new HostAttributeToken('aria-hidden'), {optional: true});\n const defaults = inject<MatIconDefaultOptions>(MAT_ICON_DEFAULT_OPTIONS, {optional: true});\n\n if (defaults) {\n if (defaults.color) {\n this.color = this._defaultColor = defaults.color;\n }\n\n if (defaults.fontSet) {\n this.fontSet = defaults.fontSet;\n }\n }\n\n // If the user has not explicitly set aria-hidden, mark the icon as hidden, as this is\n // the right thing to do for the majority of icon use-cases.\n if (!ariaHidden) {\n this._elementRef.nativeElement.setAttribute('aria-hidden', 'true');\n }\n }\n\n /**\n * Splits an svgIcon binding value into its icon set and icon name components.\n * Returns a 2-element array of [(icon set), (icon name)].\n * The separator for the two fields is ':'. If there is no separator, an empty\n * string is returned for the icon set and the entire value is returned for\n * the icon name. If the argument is falsy, returns an array of two empty strings.\n * Throws an error if the name contains two or more ':' separators.\n * Examples:\n * `'social:cake' -> ['social', 'cake']\n * 'penguin' -> ['', 'penguin']\n * null -> ['', '']\n * 'a:b:c' -> (throws Error)`\n */\n private _splitIconName(iconName: string): [string, string] {\n if (!iconName) {\n return ['', ''];\n }\n const parts = iconName.split(':');\n switch (parts.length) {\n case 1:\n return ['', parts[0]]; // Use default namespace.\n case 2:\n return <[string, string]>parts;\n default:\n throw Error(`Invalid icon name: \"${iconName}\"`); // TODO: add an ngDevMode check\n }\n }\n\n ngOnInit() {\n // Update font classes because ngOnChanges won't be called if none of the inputs are present,\n // e.g. <mat-icon>arrow</mat-icon> In this case we need to add a CSS class for the default font.\n this._updateFontIconClasses();\n }\n\n ngAfterViewChecked() {\n const cachedElements = this._elementsWithExternalReferences;\n\n if (cachedElements && cachedElements.size) {\n const newPath = this._location.getPathname();\n\n // We need to check whether the URL has changed on each change detection since\n // the browser doesn't have an API that will let us react on link clicks and\n // we can't depend on the Angular router. The references need to be updated,\n // because while most browsers don't care whether the URL is correct after\n // the first render, Safari will break if the user navigates to a different\n // page and the SVG isn't re-rendered.\n if (newPath !== this._previousPath) {\n this._previousPath = newPath;\n this._prependPathToReferences(newPath);\n }\n }\n }\n\n ngOnDestroy() {\n this._currentIconFetch.unsubscribe();\n\n if (this._elementsWithExternalReferences) {\n this._elementsWithExternalReferences.clear();\n }\n }\n\n _usingFontIcon(): boolean {\n return !this.svgIcon;\n }\n\n private _setSvgElement(svg: SVGElement) {\n this._clearSvgElement();\n\n // Note: we do this fix here, rather than the icon registry, because the\n // references have to point to the URL at the time that the icon was created.\n const path = this._location.getPathname();\n this._previousPath = path;\n this._cacheChildrenWithExternalReferences(svg);\n this._prependPathToReferences(path);\n this._elementRef.nativeElement.appendChild(svg);\n }\n\n private _clearSvgElement() {\n const layoutElement: HTMLElement = this._elementRef.nativeElement;\n let childCount = layoutElement.childNodes.length;\n\n if (this._elementsWithExternalReferences) {\n this._elementsWithExternalReferences.clear();\n }\n\n // Remove existing non-element child nodes and SVGs, and add the new SVG element. Note that\n // we can't use innerHTML, because IE will throw if the element has a data binding.\n while (childCount--) {\n const child = layoutElement.childNodes[childCount];\n\n // 1 corresponds to Node.ELEMENT_NODE. We remove all non-element nodes in order to get rid\n // of any loose text nodes, as well as any SVG elements in order to remove any old icons.\n if (child.nodeType !== 1 || child.nodeName.toLowerCase() === 'svg') {\n child.remove();\n }\n }\n }\n\n private _updateFontIconClasses() {\n if (!this._usingFontIcon()) {\n return;\n }\n\n const elem: HTMLElement = this._elementRef.nativeElement;\n const fontSetClasses = (\n this.fontSet\n ? this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/)\n : this._iconRegistry.getDefaultFontSetClass()\n ).filter(className => className.length > 0);\n\n this._previousFontSetClass.forEach(className => elem.classList.remove(className));\n fontSetClasses.forEach(className => elem.classList.add(className));\n this._previousFontSetClass = fontSetClasses;\n\n if (\n this.fontIcon !== this._previousFontIconClass &&\n !fontSetClasses.includes('mat-ligature-font')\n ) {\n if (this._previousFontIconClass) {\n elem.classList.remove(this._previousFontIconClass);\n }\n if (this.fontIcon) {\n elem.classList.add(this.fontIcon);\n }\n this._previousFontIconClass = this.fontIcon;\n }\n }\n\n /**\n * Cleans up a value to be used as a fontIcon or fontSet.\n * Since the value ends up being assigned as a CSS class, we\n * have to trim the value and omit space-separated values.\n */\n private _cleanupFontValue(value: string) {\n return typeof value === 'string' ? value.trim().split(' ')[0] : value;\n }\n\n /**\n * Prepends the current path to all elements that have an attribute pointing to a `FuncIRI`\n * reference. This is required because WebKit browsers require references to be prefixed with\n * the current path, if the page has a `base` tag.\n */\n private _prependPathToReferences(path: string) {\n const elements = this._elementsWithExternalReferences;\n\n if (elements) {\n elements.forEach((attrs, element) => {\n attrs.forEach(attr => {\n element.setAttribute(attr.name, `url('${path}#${attr.value}')`);\n });\n });\n }\n }\n\n /**\n * Caches the children of an SVG element that have `url()`\n * references that we need to prefix with the current path.\n */\n private _cacheChildrenWithExternalReferences(element: SVGElement) {\n const elementsWithFuncIri = element.querySelectorAll(funcIriAttributeSelector);\n const elements = (this._elementsWithExternalReferences =\n this._elementsWithExternalReferences || new Map());\n\n for (let i = 0; i < elementsWithFuncIri.length; i++) {\n funcIriAttributes.forEach(attr => {\n const elementWithReference = elementsWithFuncIri[i];\n const value = elementWithReference.getAttribute(attr);\n const match = value ? value.match(funcIriPattern) : null;\n\n if (match) {\n let attributes = elements.get(elementWithReference);\n\n if (!attributes) {\n attributes = [];\n elements.set(elementWithReference, attributes);\n }\n\n attributes!.push({name: attr, value: match[1]});\n }\n });\n }\n }\n\n /** Sets a new SVG icon with a particular name. */\n private _updateSvgIcon(rawName: string | undefined) {\n this._svgNamespace = null;\n this._svgName = null;\n this._currentIconFetch.unsubscribe();\n\n if (rawName) {\n const [namespace, iconName] = this._splitIconName(rawName);\n\n if (namespace) {\n this._svgNamespace = namespace;\n }\n\n if (iconName) {\n this._svgName = iconName;\n }\n\n this._currentIconFetch = this._iconRegistry\n .getNamedSvgIcon(iconName, namespace)\n .pipe(take(1))\n .subscribe(\n svg => this._setSvgElement(svg),\n (err: Error) => {\n const errorMessage = `Error retrieving icon ${namespace}:${iconName}! ${err.message}`;\n this._errorHandler.handleError(new Error(errorMessage));\n },\n );\n }\n }\n}\n","/**\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 {BidiModule} from '@angular/cdk/bidi';\nimport {NgModule} from '@angular/core';\nimport {MatIcon} from './icon';\n\n@NgModule({\n imports: [MatIcon],\n exports: [MatIcon, BidiModule],\n})\nexport class MatIconModule {}\n"],"names":[],"mappings":";;;;;;;;;;;MA4Ca,wBAAwB,GAAG,IAAI,cAAc,CACxD,0BAA0B;MAQf,iBAAiB,GAAG,IAAI,cAAc,CAAkB,mBAAmB,EAAE;AACxF,EAAA,UAAU,EAAE,MAAM;AAClB,EAAA,OAAO,EAAE,MAAK;AACZ,IAAA,MAAM,SAAS,GAAG,MAAM,CAAC,QAAQ,CAAC;IAClC,MAAM,SAAS,GAAG,SAAS,GAAG,SAAS,CAAC,QAAQ,GAAG,IAAI;IAEvD,OAAO;MAGL,WAAW,EAAE,MAAO,SAAS,GAAG,SAAS,CAAC,QAAQ,GAAG,SAAS,CAAC,MAAM,GAAG;KACzE;AACH,EAAA;AACD,CAAA;AAWD,MAAM,iBAAiB,GAAG,CACxB,WAAW,EACX,eAAe,EACf,KAAK,EACL,QAAQ,EACR,MAAM,EACN,QAAQ,EACR,QAAQ,EACR,cAAc,EACd,YAAY,EACZ,YAAY,EACZ,MAAM,EACN,QAAQ,CACT;AAGD,MAAM,wBAAwB,GAAG,iBAAiB,CAAC,GAAG,CAAC,IAAI,IAAI,CAAA,CAAA,EAAI,IAAI,GAAG,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC;AAGtF,MAAM,cAAc,GAAG,2BAA2B;MAsDrC,OAAO,CAAA;AACT,EAAA,WAAW,GAAG,MAAM,CAA0B,UAAU,CAAC;AAC1D,EAAA,aAAa,GAAG,MAAM,CAAC,eAAe,CAAC;AACvC,EAAA,SAAS,GAAG,MAAM,CAAkB,iBAAiB,CAAC;AAC7C,EAAA,aAAa,GAAG,MAAM,CAA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,CAHd,OAAO,CAAA;AAAA,IAAA,OAAA,EAAA,CACP,OAAO,EAAE,UAAU;AAAA,GAAA,CAAA;AAElB,EAAA,OAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA;AAAA,IAAA,UAAA,EAAA,QAAA;AAAA,IAAA,OAAA,EAAA,eAAA;AAAA,IAAA,QAAA,EAAA,EAAA;AAAA,IAAA,IAAA,EAAA,aAAa;cAFL,UAAU;AAAA,GAAA,CAAA;;;;;;QAElB,aAAa;AAAA,EAAA,UAAA,EAAA,CAAA;UAJzB,QAAQ;AAAC,IAAA,IAAA,EAAA,CAAA;MACR,OAAO,EAAE,CAAC,OAAO,CAAC;AAClB,MAAA,OAAO,EAAE,CAAC,OAAO,EAAE,UAAU;KAC9B;;;;"}
|
package/fesm2022/input.mjs
CHANGED
|
@@ -318,7 +318,7 @@ class MatInput {
|
|
|
318
318
|
}
|
|
319
319
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
320
320
|
minVersion: "12.0.0",
|
|
321
|
-
version: "22.2.0-next.
|
|
321
|
+
version: "22.2.0-next.7",
|
|
322
322
|
ngImport: i0,
|
|
323
323
|
type: MatInput,
|
|
324
324
|
deps: [],
|
|
@@ -326,7 +326,7 @@ class MatInput {
|
|
|
326
326
|
});
|
|
327
327
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
328
328
|
minVersion: "16.1.0",
|
|
329
|
-
version: "22.2.0-next.
|
|
329
|
+
version: "22.2.0-next.7",
|
|
330
330
|
type: MatInput,
|
|
331
331
|
isStandalone: true,
|
|
332
332
|
selector: "input[matInput], textarea[matInput], select[matNativeControl],\n input[matNativeControl], textarea[matNativeControl]",
|
|
@@ -379,7 +379,7 @@ class MatInput {
|
|
|
379
379
|
}
|
|
380
380
|
i0.ɵɵngDeclareClassMetadata({
|
|
381
381
|
minVersion: "12.0.0",
|
|
382
|
-
version: "22.2.0-next.
|
|
382
|
+
version: "22.2.0-next.7",
|
|
383
383
|
ngImport: i0,
|
|
384
384
|
type: MatInput,
|
|
385
385
|
decorators: [{
|
|
@@ -460,7 +460,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
460
460
|
class MatInputModule {
|
|
461
461
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
462
462
|
minVersion: "12.0.0",
|
|
463
|
-
version: "22.2.0-next.
|
|
463
|
+
version: "22.2.0-next.7",
|
|
464
464
|
ngImport: i0,
|
|
465
465
|
type: MatInputModule,
|
|
466
466
|
deps: [],
|
|
@@ -468,7 +468,7 @@ class MatInputModule {
|
|
|
468
468
|
});
|
|
469
469
|
static ɵmod = i0.ɵɵngDeclareNgModule({
|
|
470
470
|
minVersion: "14.0.0",
|
|
471
|
-
version: "22.2.0-next.
|
|
471
|
+
version: "22.2.0-next.7",
|
|
472
472
|
ngImport: i0,
|
|
473
473
|
type: MatInputModule,
|
|
474
474
|
imports: [MatFormFieldModule, MatInput],
|
|
@@ -476,7 +476,7 @@ class MatInputModule {
|
|
|
476
476
|
});
|
|
477
477
|
static ɵinj = i0.ɵɵngDeclareInjector({
|
|
478
478
|
minVersion: "12.0.0",
|
|
479
|
-
version: "22.2.0-next.
|
|
479
|
+
version: "22.2.0-next.7",
|
|
480
480
|
ngImport: i0,
|
|
481
481
|
type: MatInputModule,
|
|
482
482
|
imports: [MatFormFieldModule, MatFormFieldModule, TextFieldModule, BidiModule]
|
|
@@ -484,7 +484,7 @@ class MatInputModule {
|
|
|
484
484
|
}
|
|
485
485
|
i0.ɵɵngDeclareClassMetadata({
|
|
486
486
|
minVersion: "12.0.0",
|
|
487
|
-
version: "22.2.0-next.
|
|
487
|
+
version: "22.2.0-next.7",
|
|
488
488
|
ngImport: i0,
|
|
489
489
|
type: MatInputModule,
|
|
490
490
|
decorators: [{
|