@angular/material 22.0.0-next.8 → 22.0.0-rc.1
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 +31 -35
- package/fesm2022/_form-field-chunk.mjs.map +1 -1
- package/fesm2022/_icon-button-chunk.mjs +7 -9
- package/fesm2022/_icon-button-chunk.mjs.map +1 -1
- package/fesm2022/_icon-registry-chunk.mjs +3 -3
- package/fesm2022/_icon-registry-chunk.mjs.map +1 -1
- package/fesm2022/_internal-form-field-chunk.mjs +4 -6
- package/fesm2022/_internal-form-field-chunk.mjs.map +1 -1
- package/fesm2022/_line-chunk.mjs +7 -7
- package/fesm2022/_line-chunk.mjs.map +1 -1
- package/fesm2022/_option-chunk.mjs +7 -11
- package/fesm2022/_option-chunk.mjs.map +1 -1
- package/fesm2022/_option-module-chunk.mjs +4 -4
- package/fesm2022/_option-module-chunk.mjs.map +1 -1
- package/fesm2022/_pseudo-checkbox-chunk.mjs +4 -6
- package/fesm2022/_pseudo-checkbox-chunk.mjs.map +1 -1
- package/fesm2022/_pseudo-checkbox-module-chunk.mjs +4 -4
- package/fesm2022/_pseudo-checkbox-module-chunk.mjs.map +1 -1
- package/fesm2022/_ripple-chunk.mjs +7 -9
- package/fesm2022/_ripple-chunk.mjs.map +1 -1
- package/fesm2022/_ripple-loader-chunk.mjs +3 -3
- package/fesm2022/_ripple-module-chunk.mjs +4 -4
- package/fesm2022/_ripple-module-chunk.mjs.map +1 -1
- package/fesm2022/_structural-styles-chunk.mjs +4 -6
- package/fesm2022/_structural-styles-chunk.mjs.map +1 -1
- package/fesm2022/_tooltip-chunk.mjs +7 -9
- package/fesm2022/_tooltip-chunk.mjs.map +1 -1
- package/fesm2022/autocomplete.mjs +14 -16
- package/fesm2022/autocomplete.mjs.map +1 -1
- package/fesm2022/badge.mjs +11 -13
- package/fesm2022/badge.mjs.map +1 -1
- package/fesm2022/bottom-sheet.mjs +10 -10
- package/fesm2022/button-toggle.mjs +11 -13
- package/fesm2022/button-toggle.mjs.map +1 -1
- package/fesm2022/button.mjs +14 -20
- package/fesm2022/button.mjs.map +1 -1
- package/fesm2022/card.mjs +47 -53
- package/fesm2022/card.mjs.map +1 -1
- package/fesm2022/checkbox.mjs +8 -10
- package/fesm2022/checkbox.mjs.map +1 -1
- package/fesm2022/chips.mjs +47 -59
- package/fesm2022/chips.mjs.map +1 -1
- package/fesm2022/core.mjs +12 -12
- package/fesm2022/core.mjs.map +1 -1
- package/fesm2022/datepicker.mjs +85 -109
- package/fesm2022/datepicker.mjs.map +1 -1
- package/fesm2022/dialog-testing.mjs +1 -2
- package/fesm2022/dialog-testing.mjs.map +1 -1
- package/fesm2022/dialog.mjs +25 -25
- package/fesm2022/dialog.mjs.map +1 -1
- package/fesm2022/divider.mjs +8 -10
- package/fesm2022/divider.mjs.map +1 -1
- package/fesm2022/expansion.mjs +26 -30
- package/fesm2022/expansion.mjs.map +1 -1
- package/fesm2022/form-field.mjs +4 -4
- package/fesm2022/form-field.mjs.map +1 -1
- package/fesm2022/grid-list.mjs +23 -29
- package/fesm2022/grid-list.mjs.map +1 -1
- package/fesm2022/icon-testing.mjs +7 -7
- package/fesm2022/icon.mjs +8 -10
- package/fesm2022/icon.mjs.map +1 -1
- package/fesm2022/input.mjs +7 -7
- package/fesm2022/input.mjs.map +1 -1
- package/fesm2022/list.mjs +50 -62
- package/fesm2022/list.mjs.map +1 -1
- package/fesm2022/menu.mjs +23 -27
- package/fesm2022/menu.mjs.map +1 -1
- package/fesm2022/paginator.mjs +11 -13
- package/fesm2022/paginator.mjs.map +1 -1
- package/fesm2022/progress-bar.mjs +8 -10
- package/fesm2022/progress-bar.mjs.map +1 -1
- package/fesm2022/progress-spinner.mjs +8 -10
- package/fesm2022/progress-spinner.mjs.map +1 -1
- package/fesm2022/radio.mjs +11 -13
- package/fesm2022/radio.mjs.map +1 -1
- package/fesm2022/select.mjs +11 -13
- package/fesm2022/select.mjs.map +1 -1
- package/fesm2022/sidenav.mjs +65 -50
- package/fesm2022/sidenav.mjs.map +1 -1
- package/fesm2022/slide-toggle.mjs +8 -10
- package/fesm2022/slide-toggle.mjs.map +1 -1
- package/fesm2022/slider.mjs +17 -21
- package/fesm2022/slider.mjs.map +1 -1
- package/fesm2022/snack-bar.mjs +23 -25
- package/fesm2022/snack-bar.mjs.map +1 -1
- package/fesm2022/sort.mjs +14 -16
- package/fesm2022/sort.mjs.map +1 -1
- package/fesm2022/stepper.mjs +32 -38
- package/fesm2022/stepper.mjs.map +1 -1
- package/fesm2022/table.mjs +55 -55
- package/fesm2022/table.mjs.map +1 -1
- package/fesm2022/tabs.mjs +44 -48
- package/fesm2022/tabs.mjs.map +1 -1
- package/fesm2022/timepicker.mjs +14 -18
- package/fesm2022/timepicker.mjs.map +1 -1
- package/fesm2022/toolbar.mjs +11 -13
- package/fesm2022/toolbar.mjs.map +1 -1
- package/fesm2022/tooltip.mjs +4 -4
- package/fesm2022/tooltip.mjs.map +1 -1
- package/fesm2022/tree.mjs +25 -25
- package/fesm2022/tree.mjs.map +1 -1
- package/package.json +2 -2
- package/schematics/ng-add/index.js +1 -1
- package/types/sidenav.d.ts +7 -8
package/fesm2022/grid-list.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { TileCoordinator } from './_public-api-chunk.mjs';
|
|
2
2
|
export { ɵTileCoordinator } from './_public-api-chunk.mjs';
|
|
3
3
|
import * as i0 from '@angular/core';
|
|
4
|
-
import { InjectionToken, inject, ElementRef, Input,
|
|
4
|
+
import { InjectionToken, inject, ElementRef, Input, ViewEncapsulation, Component, ContentChildren, Directive, NgModule } from '@angular/core';
|
|
5
5
|
import { coerceNumberProperty } from '@angular/cdk/coercion';
|
|
6
6
|
import { setLines, MatLine, MatLineModule } from './_line-chunk.mjs';
|
|
7
7
|
import { Directionality, BidiModule } from '@angular/cdk/bidi';
|
|
@@ -33,7 +33,7 @@ class MatGridTile {
|
|
|
33
33
|
}
|
|
34
34
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
35
35
|
minVersion: "12.0.0",
|
|
36
|
-
version: "22.0.0-
|
|
36
|
+
version: "22.0.0-rc.0",
|
|
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.0.0-
|
|
44
|
+
version: "22.0.0-rc.0",
|
|
45
45
|
type: MatGridTile,
|
|
46
46
|
isStandalone: true,
|
|
47
47
|
selector: "mat-grid-tile",
|
|
@@ -60,13 +60,12 @@ class MatGridTile {
|
|
|
60
60
|
ngImport: i0,
|
|
61
61
|
template: "<div class=\"mat-grid-tile-content\">\n <ng-content></ng-content>\n</div>\n",
|
|
62
62
|
styles: [".mat-grid-list {\n display: block;\n position: relative;\n}\n\n.mat-grid-tile {\n display: block;\n position: absolute;\n overflow: hidden;\n}\n.mat-grid-tile .mat-grid-tile-header,\n.mat-grid-tile .mat-grid-tile-footer {\n display: flex;\n align-items: center;\n height: 48px;\n color: #fff;\n background: rgba(0, 0, 0, 0.38);\n overflow: hidden;\n padding: 0 16px;\n position: absolute;\n left: 0;\n right: 0;\n}\n.mat-grid-tile .mat-grid-tile-header > *,\n.mat-grid-tile .mat-grid-tile-footer > * {\n margin: 0;\n padding: 0;\n font-weight: normal;\n font-size: inherit;\n}\n.mat-grid-tile .mat-grid-tile-header.mat-2-line,\n.mat-grid-tile .mat-grid-tile-footer.mat-2-line {\n height: 68px;\n}\n.mat-grid-tile .mat-grid-list-text {\n display: flex;\n flex-direction: column;\n flex: auto;\n box-sizing: border-box;\n overflow: hidden;\n}\n.mat-grid-tile .mat-grid-list-text > * {\n margin: 0;\n padding: 0;\n font-weight: normal;\n font-size: inherit;\n}\n.mat-grid-tile .mat-grid-list-text:empty {\n display: none;\n}\n.mat-grid-tile .mat-grid-tile-header {\n top: 0;\n}\n.mat-grid-tile .mat-grid-tile-footer {\n bottom: 0;\n}\n.mat-grid-tile .mat-grid-avatar {\n padding-right: 16px;\n}\n[dir=rtl] .mat-grid-tile .mat-grid-avatar {\n padding-right: 0;\n padding-left: 16px;\n}\n.mat-grid-tile .mat-grid-avatar:empty {\n display: none;\n}\n\n.mat-grid-tile-header {\n font-size: var(--mat-grid-list-tile-header-primary-text-size, var(--mat-sys-body-large));\n}\n.mat-grid-tile-header .mat-line {\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n display: block;\n box-sizing: border-box;\n}\n.mat-grid-tile-header .mat-line:nth-child(n+2) {\n font-size: var(--mat-grid-list-tile-header-secondary-text-size, var(--mat-sys-body-medium));\n}\n\n.mat-grid-tile-footer {\n font-size: var(--mat-grid-list-tile-footer-primary-text-size, var(--mat-sys-body-large));\n}\n.mat-grid-tile-footer .mat-line {\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n display: block;\n box-sizing: border-box;\n}\n.mat-grid-tile-footer .mat-line:nth-child(n+2) {\n font-size: var(--mat-grid-list-tile-footer-secondary-text-size, var(--mat-sys-body-medium));\n}\n\n.mat-grid-tile-content {\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n position: absolute;\n display: flex;\n align-items: center;\n justify-content: center;\n height: 100%;\n padding: 0;\n margin: 0;\n}\n"],
|
|
63
|
-
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
64
63
|
encapsulation: i0.ViewEncapsulation.None
|
|
65
64
|
});
|
|
66
65
|
}
|
|
67
66
|
i0.ɵɵngDeclareClassMetadata({
|
|
68
67
|
minVersion: "12.0.0",
|
|
69
|
-
version: "22.0.0-
|
|
68
|
+
version: "22.0.0-rc.0",
|
|
70
69
|
ngImport: i0,
|
|
71
70
|
type: MatGridTile,
|
|
72
71
|
decorators: [{
|
|
@@ -80,7 +79,6 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
80
79
|
'[attr.colspan]': 'colspan'
|
|
81
80
|
},
|
|
82
81
|
encapsulation: ViewEncapsulation.None,
|
|
83
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
84
82
|
template: "<div class=\"mat-grid-tile-content\">\n <ng-content></ng-content>\n</div>\n",
|
|
85
83
|
styles: [".mat-grid-list {\n display: block;\n position: relative;\n}\n\n.mat-grid-tile {\n display: block;\n position: absolute;\n overflow: hidden;\n}\n.mat-grid-tile .mat-grid-tile-header,\n.mat-grid-tile .mat-grid-tile-footer {\n display: flex;\n align-items: center;\n height: 48px;\n color: #fff;\n background: rgba(0, 0, 0, 0.38);\n overflow: hidden;\n padding: 0 16px;\n position: absolute;\n left: 0;\n right: 0;\n}\n.mat-grid-tile .mat-grid-tile-header > *,\n.mat-grid-tile .mat-grid-tile-footer > * {\n margin: 0;\n padding: 0;\n font-weight: normal;\n font-size: inherit;\n}\n.mat-grid-tile .mat-grid-tile-header.mat-2-line,\n.mat-grid-tile .mat-grid-tile-footer.mat-2-line {\n height: 68px;\n}\n.mat-grid-tile .mat-grid-list-text {\n display: flex;\n flex-direction: column;\n flex: auto;\n box-sizing: border-box;\n overflow: hidden;\n}\n.mat-grid-tile .mat-grid-list-text > * {\n margin: 0;\n padding: 0;\n font-weight: normal;\n font-size: inherit;\n}\n.mat-grid-tile .mat-grid-list-text:empty {\n display: none;\n}\n.mat-grid-tile .mat-grid-tile-header {\n top: 0;\n}\n.mat-grid-tile .mat-grid-tile-footer {\n bottom: 0;\n}\n.mat-grid-tile .mat-grid-avatar {\n padding-right: 16px;\n}\n[dir=rtl] .mat-grid-tile .mat-grid-avatar {\n padding-right: 0;\n padding-left: 16px;\n}\n.mat-grid-tile .mat-grid-avatar:empty {\n display: none;\n}\n\n.mat-grid-tile-header {\n font-size: var(--mat-grid-list-tile-header-primary-text-size, var(--mat-sys-body-large));\n}\n.mat-grid-tile-header .mat-line {\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n display: block;\n box-sizing: border-box;\n}\n.mat-grid-tile-header .mat-line:nth-child(n+2) {\n font-size: var(--mat-grid-list-tile-header-secondary-text-size, var(--mat-sys-body-medium));\n}\n\n.mat-grid-tile-footer {\n font-size: var(--mat-grid-list-tile-footer-primary-text-size, var(--mat-sys-body-large));\n}\n.mat-grid-tile-footer .mat-line {\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n display: block;\n box-sizing: border-box;\n}\n.mat-grid-tile-footer .mat-line:nth-child(n+2) {\n font-size: var(--mat-grid-list-tile-footer-secondary-text-size, var(--mat-sys-body-medium));\n}\n\n.mat-grid-tile-content {\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n position: absolute;\n display: flex;\n align-items: center;\n justify-content: center;\n height: 100%;\n padding: 0;\n margin: 0;\n}\n"]
|
|
86
84
|
}]
|
|
@@ -102,7 +100,7 @@ class MatGridTileText {
|
|
|
102
100
|
}
|
|
103
101
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
104
102
|
minVersion: "12.0.0",
|
|
105
|
-
version: "22.0.0-
|
|
103
|
+
version: "22.0.0-rc.0",
|
|
106
104
|
ngImport: i0,
|
|
107
105
|
type: MatGridTileText,
|
|
108
106
|
deps: [],
|
|
@@ -110,7 +108,7 @@ class MatGridTileText {
|
|
|
110
108
|
});
|
|
111
109
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
112
110
|
minVersion: "14.0.0",
|
|
113
|
-
version: "22.0.0-
|
|
111
|
+
version: "22.0.0-rc.0",
|
|
114
112
|
type: MatGridTileText,
|
|
115
113
|
isStandalone: true,
|
|
116
114
|
selector: "mat-grid-tile-header, mat-grid-tile-footer",
|
|
@@ -121,20 +119,18 @@ class MatGridTileText {
|
|
|
121
119
|
}],
|
|
122
120
|
ngImport: i0,
|
|
123
121
|
template: "<ng-content select=\"[mat-grid-avatar], [matGridAvatar]\"></ng-content>\n<div class=\"mat-grid-list-text\"><ng-content select=\"[mat-line], [matLine]\"></ng-content></div>\n<ng-content></ng-content>\n",
|
|
124
|
-
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
125
122
|
encapsulation: i0.ViewEncapsulation.None
|
|
126
123
|
});
|
|
127
124
|
}
|
|
128
125
|
i0.ɵɵngDeclareClassMetadata({
|
|
129
126
|
minVersion: "12.0.0",
|
|
130
|
-
version: "22.0.0-
|
|
127
|
+
version: "22.0.0-rc.0",
|
|
131
128
|
ngImport: i0,
|
|
132
129
|
type: MatGridTileText,
|
|
133
130
|
decorators: [{
|
|
134
131
|
type: Component,
|
|
135
132
|
args: [{
|
|
136
133
|
selector: 'mat-grid-tile-header, mat-grid-tile-footer',
|
|
137
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
138
134
|
encapsulation: ViewEncapsulation.None,
|
|
139
135
|
template: "<ng-content select=\"[mat-grid-avatar], [matGridAvatar]\"></ng-content>\n<div class=\"mat-grid-list-text\"><ng-content select=\"[mat-line], [matLine]\"></ng-content></div>\n<ng-content></ng-content>\n"
|
|
140
136
|
}]
|
|
@@ -151,7 +147,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
151
147
|
class MatGridAvatarCssMatStyler {
|
|
152
148
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
153
149
|
minVersion: "12.0.0",
|
|
154
|
-
version: "22.0.0-
|
|
150
|
+
version: "22.0.0-rc.0",
|
|
155
151
|
ngImport: i0,
|
|
156
152
|
type: MatGridAvatarCssMatStyler,
|
|
157
153
|
deps: [],
|
|
@@ -159,7 +155,7 @@ class MatGridAvatarCssMatStyler {
|
|
|
159
155
|
});
|
|
160
156
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
161
157
|
minVersion: "14.0.0",
|
|
162
|
-
version: "22.0.0-
|
|
158
|
+
version: "22.0.0-rc.0",
|
|
163
159
|
type: MatGridAvatarCssMatStyler,
|
|
164
160
|
isStandalone: true,
|
|
165
161
|
selector: "[mat-grid-avatar], [matGridAvatar]",
|
|
@@ -171,7 +167,7 @@ class MatGridAvatarCssMatStyler {
|
|
|
171
167
|
}
|
|
172
168
|
i0.ɵɵngDeclareClassMetadata({
|
|
173
169
|
minVersion: "12.0.0",
|
|
174
|
-
version: "22.0.0-
|
|
170
|
+
version: "22.0.0-rc.0",
|
|
175
171
|
ngImport: i0,
|
|
176
172
|
type: MatGridAvatarCssMatStyler,
|
|
177
173
|
decorators: [{
|
|
@@ -187,7 +183,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
187
183
|
class MatGridTileHeaderCssMatStyler {
|
|
188
184
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
189
185
|
minVersion: "12.0.0",
|
|
190
|
-
version: "22.0.0-
|
|
186
|
+
version: "22.0.0-rc.0",
|
|
191
187
|
ngImport: i0,
|
|
192
188
|
type: MatGridTileHeaderCssMatStyler,
|
|
193
189
|
deps: [],
|
|
@@ -195,7 +191,7 @@ class MatGridTileHeaderCssMatStyler {
|
|
|
195
191
|
});
|
|
196
192
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
197
193
|
minVersion: "14.0.0",
|
|
198
|
-
version: "22.0.0-
|
|
194
|
+
version: "22.0.0-rc.0",
|
|
199
195
|
type: MatGridTileHeaderCssMatStyler,
|
|
200
196
|
isStandalone: true,
|
|
201
197
|
selector: "mat-grid-tile-header",
|
|
@@ -207,7 +203,7 @@ class MatGridTileHeaderCssMatStyler {
|
|
|
207
203
|
}
|
|
208
204
|
i0.ɵɵngDeclareClassMetadata({
|
|
209
205
|
minVersion: "12.0.0",
|
|
210
|
-
version: "22.0.0-
|
|
206
|
+
version: "22.0.0-rc.0",
|
|
211
207
|
ngImport: i0,
|
|
212
208
|
type: MatGridTileHeaderCssMatStyler,
|
|
213
209
|
decorators: [{
|
|
@@ -223,7 +219,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
223
219
|
class MatGridTileFooterCssMatStyler {
|
|
224
220
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
225
221
|
minVersion: "12.0.0",
|
|
226
|
-
version: "22.0.0-
|
|
222
|
+
version: "22.0.0-rc.0",
|
|
227
223
|
ngImport: i0,
|
|
228
224
|
type: MatGridTileFooterCssMatStyler,
|
|
229
225
|
deps: [],
|
|
@@ -231,7 +227,7 @@ class MatGridTileFooterCssMatStyler {
|
|
|
231
227
|
});
|
|
232
228
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
233
229
|
minVersion: "14.0.0",
|
|
234
|
-
version: "22.0.0-
|
|
230
|
+
version: "22.0.0-rc.0",
|
|
235
231
|
type: MatGridTileFooterCssMatStyler,
|
|
236
232
|
isStandalone: true,
|
|
237
233
|
selector: "mat-grid-tile-footer",
|
|
@@ -243,7 +239,7 @@ class MatGridTileFooterCssMatStyler {
|
|
|
243
239
|
}
|
|
244
240
|
i0.ɵɵngDeclareClassMetadata({
|
|
245
241
|
minVersion: "12.0.0",
|
|
246
|
-
version: "22.0.0-
|
|
242
|
+
version: "22.0.0-rc.0",
|
|
247
243
|
ngImport: i0,
|
|
248
244
|
type: MatGridTileFooterCssMatStyler,
|
|
249
245
|
decorators: [{
|
|
@@ -472,7 +468,7 @@ class MatGridList {
|
|
|
472
468
|
}
|
|
473
469
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
474
470
|
minVersion: "12.0.0",
|
|
475
|
-
version: "22.0.0-
|
|
471
|
+
version: "22.0.0-rc.0",
|
|
476
472
|
ngImport: i0,
|
|
477
473
|
type: MatGridList,
|
|
478
474
|
deps: [],
|
|
@@ -480,7 +476,7 @@ class MatGridList {
|
|
|
480
476
|
});
|
|
481
477
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
482
478
|
minVersion: "14.0.0",
|
|
483
|
-
version: "22.0.0-
|
|
479
|
+
version: "22.0.0-rc.0",
|
|
484
480
|
type: MatGridList,
|
|
485
481
|
isStandalone: true,
|
|
486
482
|
selector: "mat-grid-list",
|
|
@@ -508,13 +504,12 @@ class MatGridList {
|
|
|
508
504
|
ngImport: i0,
|
|
509
505
|
template: "<div>\n <ng-content></ng-content>\n</div>",
|
|
510
506
|
styles: [".mat-grid-list {\n display: block;\n position: relative;\n}\n\n.mat-grid-tile {\n display: block;\n position: absolute;\n overflow: hidden;\n}\n.mat-grid-tile .mat-grid-tile-header,\n.mat-grid-tile .mat-grid-tile-footer {\n display: flex;\n align-items: center;\n height: 48px;\n color: #fff;\n background: rgba(0, 0, 0, 0.38);\n overflow: hidden;\n padding: 0 16px;\n position: absolute;\n left: 0;\n right: 0;\n}\n.mat-grid-tile .mat-grid-tile-header > *,\n.mat-grid-tile .mat-grid-tile-footer > * {\n margin: 0;\n padding: 0;\n font-weight: normal;\n font-size: inherit;\n}\n.mat-grid-tile .mat-grid-tile-header.mat-2-line,\n.mat-grid-tile .mat-grid-tile-footer.mat-2-line {\n height: 68px;\n}\n.mat-grid-tile .mat-grid-list-text {\n display: flex;\n flex-direction: column;\n flex: auto;\n box-sizing: border-box;\n overflow: hidden;\n}\n.mat-grid-tile .mat-grid-list-text > * {\n margin: 0;\n padding: 0;\n font-weight: normal;\n font-size: inherit;\n}\n.mat-grid-tile .mat-grid-list-text:empty {\n display: none;\n}\n.mat-grid-tile .mat-grid-tile-header {\n top: 0;\n}\n.mat-grid-tile .mat-grid-tile-footer {\n bottom: 0;\n}\n.mat-grid-tile .mat-grid-avatar {\n padding-right: 16px;\n}\n[dir=rtl] .mat-grid-tile .mat-grid-avatar {\n padding-right: 0;\n padding-left: 16px;\n}\n.mat-grid-tile .mat-grid-avatar:empty {\n display: none;\n}\n\n.mat-grid-tile-header {\n font-size: var(--mat-grid-list-tile-header-primary-text-size, var(--mat-sys-body-large));\n}\n.mat-grid-tile-header .mat-line {\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n display: block;\n box-sizing: border-box;\n}\n.mat-grid-tile-header .mat-line:nth-child(n+2) {\n font-size: var(--mat-grid-list-tile-header-secondary-text-size, var(--mat-sys-body-medium));\n}\n\n.mat-grid-tile-footer {\n font-size: var(--mat-grid-list-tile-footer-primary-text-size, var(--mat-sys-body-large));\n}\n.mat-grid-tile-footer .mat-line {\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n display: block;\n box-sizing: border-box;\n}\n.mat-grid-tile-footer .mat-line:nth-child(n+2) {\n font-size: var(--mat-grid-list-tile-footer-secondary-text-size, var(--mat-sys-body-medium));\n}\n\n.mat-grid-tile-content {\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n position: absolute;\n display: flex;\n align-items: center;\n justify-content: center;\n height: 100%;\n padding: 0;\n margin: 0;\n}\n"],
|
|
511
|
-
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
512
507
|
encapsulation: i0.ViewEncapsulation.None
|
|
513
508
|
});
|
|
514
509
|
}
|
|
515
510
|
i0.ɵɵngDeclareClassMetadata({
|
|
516
511
|
minVersion: "12.0.0",
|
|
517
|
-
version: "22.0.0-
|
|
512
|
+
version: "22.0.0-rc.0",
|
|
518
513
|
ngImport: i0,
|
|
519
514
|
type: MatGridList,
|
|
520
515
|
decorators: [{
|
|
@@ -530,7 +525,6 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
530
525
|
provide: MAT_GRID_LIST,
|
|
531
526
|
useExisting: MatGridList
|
|
532
527
|
}],
|
|
533
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
534
528
|
encapsulation: ViewEncapsulation.None,
|
|
535
529
|
template: "<div>\n <ng-content></ng-content>\n</div>",
|
|
536
530
|
styles: [".mat-grid-list {\n display: block;\n position: relative;\n}\n\n.mat-grid-tile {\n display: block;\n position: absolute;\n overflow: hidden;\n}\n.mat-grid-tile .mat-grid-tile-header,\n.mat-grid-tile .mat-grid-tile-footer {\n display: flex;\n align-items: center;\n height: 48px;\n color: #fff;\n background: rgba(0, 0, 0, 0.38);\n overflow: hidden;\n padding: 0 16px;\n position: absolute;\n left: 0;\n right: 0;\n}\n.mat-grid-tile .mat-grid-tile-header > *,\n.mat-grid-tile .mat-grid-tile-footer > * {\n margin: 0;\n padding: 0;\n font-weight: normal;\n font-size: inherit;\n}\n.mat-grid-tile .mat-grid-tile-header.mat-2-line,\n.mat-grid-tile .mat-grid-tile-footer.mat-2-line {\n height: 68px;\n}\n.mat-grid-tile .mat-grid-list-text {\n display: flex;\n flex-direction: column;\n flex: auto;\n box-sizing: border-box;\n overflow: hidden;\n}\n.mat-grid-tile .mat-grid-list-text > * {\n margin: 0;\n padding: 0;\n font-weight: normal;\n font-size: inherit;\n}\n.mat-grid-tile .mat-grid-list-text:empty {\n display: none;\n}\n.mat-grid-tile .mat-grid-tile-header {\n top: 0;\n}\n.mat-grid-tile .mat-grid-tile-footer {\n bottom: 0;\n}\n.mat-grid-tile .mat-grid-avatar {\n padding-right: 16px;\n}\n[dir=rtl] .mat-grid-tile .mat-grid-avatar {\n padding-right: 0;\n padding-left: 16px;\n}\n.mat-grid-tile .mat-grid-avatar:empty {\n display: none;\n}\n\n.mat-grid-tile-header {\n font-size: var(--mat-grid-list-tile-header-primary-text-size, var(--mat-sys-body-large));\n}\n.mat-grid-tile-header .mat-line {\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n display: block;\n box-sizing: border-box;\n}\n.mat-grid-tile-header .mat-line:nth-child(n+2) {\n font-size: var(--mat-grid-list-tile-header-secondary-text-size, var(--mat-sys-body-medium));\n}\n\n.mat-grid-tile-footer {\n font-size: var(--mat-grid-list-tile-footer-primary-text-size, var(--mat-sys-body-large));\n}\n.mat-grid-tile-footer .mat-line {\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n display: block;\n box-sizing: border-box;\n}\n.mat-grid-tile-footer .mat-line:nth-child(n+2) {\n font-size: var(--mat-grid-list-tile-footer-secondary-text-size, var(--mat-sys-body-medium));\n}\n\n.mat-grid-tile-content {\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n position: absolute;\n display: flex;\n align-items: center;\n justify-content: center;\n height: 100%;\n padding: 0;\n margin: 0;\n}\n"]
|
|
@@ -558,7 +552,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
558
552
|
class MatGridListModule {
|
|
559
553
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
560
554
|
minVersion: "12.0.0",
|
|
561
|
-
version: "22.0.0-
|
|
555
|
+
version: "22.0.0-rc.0",
|
|
562
556
|
ngImport: i0,
|
|
563
557
|
type: MatGridListModule,
|
|
564
558
|
deps: [],
|
|
@@ -566,7 +560,7 @@ class MatGridListModule {
|
|
|
566
560
|
});
|
|
567
561
|
static ɵmod = i0.ɵɵngDeclareNgModule({
|
|
568
562
|
minVersion: "14.0.0",
|
|
569
|
-
version: "22.0.0-
|
|
563
|
+
version: "22.0.0-rc.0",
|
|
570
564
|
ngImport: i0,
|
|
571
565
|
type: MatGridListModule,
|
|
572
566
|
imports: [MatLineModule, MatGridList, MatGridTile, MatGridTileText, MatGridTileHeaderCssMatStyler, MatGridTileFooterCssMatStyler, MatGridAvatarCssMatStyler],
|
|
@@ -574,7 +568,7 @@ class MatGridListModule {
|
|
|
574
568
|
});
|
|
575
569
|
static ɵinj = i0.ɵɵngDeclareInjector({
|
|
576
570
|
minVersion: "12.0.0",
|
|
577
|
-
version: "22.0.0-
|
|
571
|
+
version: "22.0.0-rc.0",
|
|
578
572
|
ngImport: i0,
|
|
579
573
|
type: MatGridListModule,
|
|
580
574
|
imports: [MatLineModule, BidiModule, MatLineModule]
|
|
@@ -582,7 +576,7 @@ class MatGridListModule {
|
|
|
582
576
|
}
|
|
583
577
|
i0.ɵɵngDeclareClassMetadata({
|
|
584
578
|
minVersion: "12.0.0",
|
|
585
|
-
version: "22.0.0-
|
|
579
|
+
version: "22.0.0-rc.0",
|
|
586
580
|
ngImport: i0,
|
|
587
581
|
type: MatGridListModule,
|
|
588
582
|
decorators: [{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"grid-list.mjs","sources":["../../../../../darwin_arm64-fastbuild-ST-fdfa778d11ba/bin/src/material/grid-list/grid-list-base.ts","../../../../../darwin_arm64-fastbuild-ST-fdfa778d11ba/bin/src/material/grid-list/grid-tile.ts","../../../../../darwin_arm64-fastbuild-ST-fdfa778d11ba/bin/src/material/grid-list/grid-tile.html","../../../../../darwin_arm64-fastbuild-ST-fdfa778d11ba/bin/src/material/grid-list/grid-tile-text.html","../../../../../darwin_arm64-fastbuild-ST-fdfa778d11ba/bin/src/material/grid-list/tile-styler.ts","../../../../../darwin_arm64-fastbuild-ST-fdfa778d11ba/bin/src/material/grid-list/grid-list.ts","../../../../../darwin_arm64-fastbuild-ST-fdfa778d11ba/bin/src/material/grid-list/grid-list.html","../../../../../darwin_arm64-fastbuild-ST-fdfa778d11ba/bin/src/material/grid-list/grid-list-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 {InjectionToken} from '@angular/core';\n\n/**\n * Injection token used to provide a grid list to a tile and to avoid circular imports.\n * @docs-private\n */\nexport const MAT_GRID_LIST = new InjectionToken<MatGridListBase>('MAT_GRID_LIST');\n\n/**\n * Base interface for a `MatGridList`.\n * @docs-private\n */\nexport interface MatGridListBase {\n cols: number;\n gutterSize: string;\n rowHeight: number | string;\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 {\n Component,\n ViewEncapsulation,\n ElementRef,\n Input,\n ContentChildren,\n QueryList,\n AfterContentInit,\n Directive,\n ChangeDetectionStrategy,\n inject,\n} from '@angular/core';\nimport {MatLine, setLines} from '../core';\nimport {coerceNumberProperty, NumberInput} from '@angular/cdk/coercion';\nimport {MAT_GRID_LIST, MatGridListBase} from './grid-list-base';\n\n@Component({\n selector: 'mat-grid-tile',\n exportAs: 'matGridTile',\n host: {\n 'class': 'mat-grid-tile',\n // Ensures that the \"rowspan\" and \"colspan\" input value is reflected in\n // the DOM. This is needed for the grid-tile harness.\n '[attr.rowspan]': 'rowspan',\n '[attr.colspan]': 'colspan',\n },\n templateUrl: 'grid-tile.html',\n styleUrl: 'grid-list.css',\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class MatGridTile {\n private _element = inject<ElementRef<HTMLElement>>(ElementRef);\n _gridList? = inject<MatGridListBase>(MAT_GRID_LIST, {optional: true});\n\n _rowspan: number = 1;\n _colspan: number = 1;\n\n /** Amount of rows that the grid tile takes up. */\n @Input()\n get rowspan(): number {\n return this._rowspan;\n }\n set rowspan(value: NumberInput) {\n this._rowspan = Math.round(coerceNumberProperty(value));\n }\n\n /** Amount of columns that the grid tile takes up. */\n @Input()\n get colspan(): number {\n return this._colspan;\n }\n set colspan(value: NumberInput) {\n this._colspan = Math.round(coerceNumberProperty(value));\n }\n\n /**\n * Sets the style of the grid-tile element. Needs to be set manually to avoid\n * \"Changed after checked\" errors that would occur with HostBinding.\n */\n _setStyle(property: string, value: any): void {\n (this._element.nativeElement.style as any)[property] = value;\n }\n}\n\n@Component({\n selector: 'mat-grid-tile-header, mat-grid-tile-footer',\n templateUrl: 'grid-tile-text.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n})\nexport class MatGridTileText implements AfterContentInit {\n private _element = inject<ElementRef<HTMLElement>>(ElementRef);\n\n @ContentChildren(MatLine, {descendants: true}) _lines!: QueryList<MatLine>;\n\n ngAfterContentInit() {\n setLines(this._lines, this._element);\n }\n}\n\n/**\n * Directive whose purpose is to add the mat- CSS styling to this selector.\n * @docs-private\n */\n@Directive({\n selector: '[mat-grid-avatar], [matGridAvatar]',\n host: {'class': 'mat-grid-avatar'},\n})\nexport class MatGridAvatarCssMatStyler {}\n\n/**\n * Directive whose purpose is to add the mat- CSS styling to this selector.\n * @docs-private\n */\n@Directive({\n selector: 'mat-grid-tile-header',\n host: {'class': 'mat-grid-tile-header'},\n})\nexport class MatGridTileHeaderCssMatStyler {}\n\n/**\n * Directive whose purpose is to add the mat- CSS styling to this selector.\n * @docs-private\n */\n@Directive({\n selector: 'mat-grid-tile-footer',\n host: {'class': 'mat-grid-tile-footer'},\n})\nexport class MatGridTileFooterCssMatStyler {}\n","<div class=\"mat-grid-tile-content\">\n <ng-content></ng-content>\n</div>\n","<ng-content select=\"[mat-grid-avatar], [matGridAvatar]\"></ng-content>\n<div class=\"mat-grid-list-text\"><ng-content select=\"[mat-line], [matLine]\"></ng-content></div>\n<ng-content></ng-content>\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 {QueryList} from '@angular/core';\nimport {MatGridTile} from './grid-tile';\nimport {TileCoordinator} from './tile-coordinator';\n\n/**\n * RegExp that can be used to check whether a value will\n * be allowed inside a CSS `calc()` expression.\n */\nconst cssCalcAllowedValue = /^-?\\d+((\\.\\d+)?[A-Za-z%$]?)+$/;\n\n/** Object that can be styled by the `TileStyler`. */\nexport interface TileStyleTarget {\n _setListStyle(style: [string, string | null] | null): void;\n _tiles: QueryList<MatGridTile>;\n}\n\n/**\n * Sets the style properties for an individual tile, given the position calculated by the\n * Tile Coordinator.\n * @docs-private\n */\nexport abstract class TileStyler {\n _gutterSize!: string;\n _rows: number = 0;\n _rowspan: number = 0;\n _cols!: number;\n _direction!: string;\n\n /**\n * Adds grid-list layout info once it is available. Cannot be processed in the constructor\n * because these properties haven't been calculated by that point.\n *\n * @param gutterSize Size of the grid's gutter.\n * @param tracker Instance of the TileCoordinator.\n * @param cols Amount of columns in the grid.\n * @param direction Layout direction of the grid.\n */\n init(gutterSize: string, tracker: TileCoordinator, cols: number, direction: string): void {\n this._gutterSize = normalizeUnits(gutterSize);\n this._rows = tracker.rowCount;\n this._rowspan = tracker.rowspan;\n this._cols = cols;\n this._direction = direction;\n }\n\n /**\n * Computes the amount of space a single 1x1 tile would take up (width or height).\n * Used as a basis for other calculations.\n * @param sizePercent Percent of the total grid-list space that one 1x1 tile would take up.\n * @param gutterFraction Fraction of the gutter size taken up by one 1x1 tile.\n * @return The size of a 1x1 tile as an expression that can be evaluated via CSS calc().\n */\n getBaseTileSize(sizePercent: number, gutterFraction: number): string {\n // Take the base size percent (as would be if evenly dividing the size between cells),\n // and then subtracting the size of one gutter. However, since there are no gutters on the\n // edges, each tile only uses a fraction (gutterShare = numGutters / numCells) of the gutter\n // size. (Imagine having one gutter per tile, and then breaking up the extra gutter on the\n // edge evenly among the cells).\n return `(${sizePercent}% - (${this._gutterSize} * ${gutterFraction}))`;\n }\n\n /**\n * Gets The horizontal or vertical position of a tile, e.g., the 'top' or 'left' property value.\n * @param offset Number of tiles that have already been rendered in the row/column.\n * @param baseSize Base size of a 1x1 tile (as computed in getBaseTileSize).\n * @return Position of the tile as a CSS calc() expression.\n */\n getTilePosition(baseSize: string, offset: number): string {\n // The position comes the size of a 1x1 tile plus gutter for each previous tile in the\n // row/column (offset).\n return offset === 0 ? '0' : calc(`(${baseSize} + ${this._gutterSize}) * ${offset}`);\n }\n\n /**\n * Gets the actual size of a tile, e.g., width or height, taking rowspan or colspan into account.\n * @param baseSize Base size of a 1x1 tile (as computed in getBaseTileSize).\n * @param span The tile's rowspan or colspan.\n * @return Size of the tile as a CSS calc() expression.\n */\n getTileSize(baseSize: string, span: number): string {\n return `(${baseSize} * ${span}) + (${span - 1} * ${this._gutterSize})`;\n }\n\n /**\n * Sets the style properties to be applied to a tile for the given row and column index.\n * @param tile Tile to which to apply the styling.\n * @param rowIndex Index of the tile's row.\n * @param colIndex Index of the tile's column.\n */\n setStyle(tile: MatGridTile, rowIndex: number, colIndex: number): void {\n // Percent of the available horizontal space that one column takes up.\n let percentWidthPerTile = 100 / this._cols;\n\n // Fraction of the vertical gutter size that each column takes up.\n // For example, if there are 5 columns, each column uses 4/5 = 0.8 times the gutter width.\n let gutterWidthFractionPerTile = (this._cols - 1) / this._cols;\n\n this.setColStyles(tile, colIndex, percentWidthPerTile, gutterWidthFractionPerTile);\n this.setRowStyles(tile, rowIndex, percentWidthPerTile, gutterWidthFractionPerTile);\n }\n\n /** Sets the horizontal placement of the tile in the list. */\n setColStyles(tile: MatGridTile, colIndex: number, percentWidth: number, gutterWidth: number) {\n // Base horizontal size of a column.\n let baseTileWidth = this.getBaseTileSize(percentWidth, gutterWidth);\n\n // The width and horizontal position of each tile is always calculated the same way, but the\n // height and vertical position depends on the rowMode.\n let side = this._direction === 'rtl' ? 'right' : 'left';\n tile._setStyle(side, this.getTilePosition(baseTileWidth, colIndex));\n tile._setStyle('width', calc(this.getTileSize(baseTileWidth, tile.colspan)));\n }\n\n /**\n * Calculates the total size taken up by gutters across one axis of a list.\n */\n getGutterSpan(): string {\n return `${this._gutterSize} * (${this._rowspan} - 1)`;\n }\n\n /**\n * Calculates the total size taken up by tiles across one axis of a list.\n * @param tileHeight Height of the tile.\n */\n getTileSpan(tileHeight: string): string {\n return `${this._rowspan} * ${this.getTileSize(tileHeight, 1)}`;\n }\n\n /**\n * Sets the vertical placement of the tile in the list.\n * This method will be implemented by each type of TileStyler.\n * @docs-private\n */\n abstract setRowStyles(\n tile: MatGridTile,\n rowIndex: number,\n percentWidth: number,\n gutterWidth: number,\n ): void;\n\n /**\n * Calculates the computed height and returns the correct style property to set.\n * This method can be implemented by each type of TileStyler.\n * @docs-private\n */\n getComputedHeight(): [string, string] | null {\n return null;\n }\n\n /**\n * Called when the tile styler is swapped out with a different one. To be used for cleanup.\n * @param list Grid list that the styler was attached to.\n * @docs-private\n */\n abstract reset(list: TileStyleTarget): void;\n}\n\n/**\n * This type of styler is instantiated when the user passes in a fixed row height.\n * Example `<mat-grid-list cols=\"3\" rowHeight=\"100px\">`\n * @docs-private\n */\nexport class FixedTileStyler extends TileStyler {\n constructor(public fixedRowHeight: string) {\n super();\n }\n\n override init(gutterSize: string, tracker: TileCoordinator, cols: number, direction: string) {\n super.init(gutterSize, tracker, cols, direction);\n this.fixedRowHeight = normalizeUnits(this.fixedRowHeight);\n\n if (\n !cssCalcAllowedValue.test(this.fixedRowHeight) &&\n (typeof ngDevMode === 'undefined' || ngDevMode)\n ) {\n throw Error(`Invalid value \"${this.fixedRowHeight}\" set as rowHeight.`);\n }\n }\n\n override setRowStyles(tile: MatGridTile, rowIndex: number): void {\n tile._setStyle('top', this.getTilePosition(this.fixedRowHeight, rowIndex));\n tile._setStyle('height', calc(this.getTileSize(this.fixedRowHeight, tile.rowspan)));\n }\n\n override getComputedHeight(): [string, string] {\n return ['height', calc(`${this.getTileSpan(this.fixedRowHeight)} + ${this.getGutterSpan()}`)];\n }\n\n override reset(list: TileStyleTarget) {\n list._setListStyle(['height', null]);\n\n if (list._tiles) {\n list._tiles.forEach(tile => {\n tile._setStyle('top', null);\n tile._setStyle('height', null);\n });\n }\n }\n}\n\n/**\n * This type of styler is instantiated when the user passes in a width:height ratio\n * for the row height. Example `<mat-grid-list cols=\"3\" rowHeight=\"3:1\">`\n * @docs-private\n */\nexport class RatioTileStyler extends TileStyler {\n /** Ratio width:height given by user to determine row height. */\n rowHeightRatio!: number;\n baseTileHeight!: string;\n\n constructor(value: string) {\n super();\n this._parseRatio(value);\n }\n\n setRowStyles(\n tile: MatGridTile,\n rowIndex: number,\n percentWidth: number,\n gutterWidth: number,\n ): void {\n let percentHeightPerTile = percentWidth / this.rowHeightRatio;\n this.baseTileHeight = this.getBaseTileSize(percentHeightPerTile, gutterWidth);\n\n // Use padding-top and margin-top to maintain the given aspect ratio, as\n // a percentage-based value for these properties is applied versus the *width* of the\n // containing block. See http://www.w3.org/TR/CSS2/box.html#margin-properties\n tile._setStyle('marginTop', this.getTilePosition(this.baseTileHeight, rowIndex));\n tile._setStyle('paddingTop', calc(this.getTileSize(this.baseTileHeight, tile.rowspan)));\n }\n\n override getComputedHeight(): [string, string] {\n return [\n 'paddingBottom',\n calc(`${this.getTileSpan(this.baseTileHeight)} + ${this.getGutterSpan()}`),\n ];\n }\n\n reset(list: TileStyleTarget) {\n list._setListStyle(['paddingBottom', null]);\n\n list._tiles.forEach(tile => {\n tile._setStyle('marginTop', null);\n tile._setStyle('paddingTop', null);\n });\n }\n\n private _parseRatio(value: string): void {\n const ratioParts = value.split(':');\n\n if (ratioParts.length !== 2 && (typeof ngDevMode === 'undefined' || ngDevMode)) {\n throw Error(`mat-grid-list: invalid ratio given for row-height: \"${value}\"`);\n }\n\n this.rowHeightRatio = parseFloat(ratioParts[0]) / parseFloat(ratioParts[1]);\n }\n}\n\n/**\n * This type of styler is instantiated when the user selects a \"fit\" row height mode.\n * In other words, the row height will reflect the total height of the container divided\n * by the number of rows. Example `<mat-grid-list cols=\"3\" rowHeight=\"fit\">`\n *\n * @docs-private\n */\nexport class FitTileStyler extends TileStyler {\n setRowStyles(tile: MatGridTile, rowIndex: number): void {\n // Percent of the available vertical space that one row takes up.\n let percentHeightPerTile = 100 / this._rowspan;\n\n // Fraction of the horizontal gutter size that each column takes up.\n let gutterHeightPerTile = (this._rows - 1) / this._rows;\n\n // Base vertical size of a column.\n let baseTileHeight = this.getBaseTileSize(percentHeightPerTile, gutterHeightPerTile);\n\n tile._setStyle('top', this.getTilePosition(baseTileHeight, rowIndex));\n tile._setStyle('height', calc(this.getTileSize(baseTileHeight, tile.rowspan)));\n }\n\n reset(list: TileStyleTarget) {\n if (list._tiles) {\n list._tiles.forEach(tile => {\n tile._setStyle('top', null);\n tile._setStyle('height', null);\n });\n }\n }\n}\n\n/** Wraps a CSS string in a calc function */\nfunction calc(exp: string): string {\n return `calc(${exp})`;\n}\n\n/** Appends pixels to a CSS string if no units are given. */\nfunction normalizeUnits(value: string): string {\n return value.match(/([A-Za-z%]+)$/) ? value : `${value}px`;\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 {\n Component,\n ViewEncapsulation,\n AfterContentChecked,\n OnInit,\n Input,\n ContentChildren,\n QueryList,\n ElementRef,\n ChangeDetectionStrategy,\n inject,\n} from '@angular/core';\nimport {MatGridTile} from './grid-tile';\nimport {TileCoordinator} from './tile-coordinator';\nimport {\n TileStyler,\n FitTileStyler,\n RatioTileStyler,\n FixedTileStyler,\n TileStyleTarget,\n} from './tile-styler';\nimport {Directionality} from '@angular/cdk/bidi';\nimport {coerceNumberProperty, NumberInput} from '@angular/cdk/coercion';\nimport {MAT_GRID_LIST, MatGridListBase} from './grid-list-base';\n\n// TODO(kara): Conditional (responsive) column count / row size.\n// TODO(kara): Re-layout on window resize / media change (debounced).\n// TODO(kara): gridTileHeader and gridTileFooter.\n\nconst MAT_FIT_MODE = 'fit';\n\n@Component({\n selector: 'mat-grid-list',\n exportAs: 'matGridList',\n templateUrl: 'grid-list.html',\n styleUrl: 'grid-list.css',\n host: {\n 'class': 'mat-grid-list',\n // Ensures that the \"cols\" input value is reflected in the DOM. This is\n // needed for the grid-list harness.\n '[attr.cols]': 'cols',\n },\n providers: [\n {\n provide: MAT_GRID_LIST,\n useExisting: MatGridList,\n },\n ],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n})\nexport class MatGridList implements MatGridListBase, OnInit, AfterContentChecked, TileStyleTarget {\n private _element = inject<ElementRef<HTMLElement>>(ElementRef);\n private _dir = inject(Directionality, {optional: true});\n\n /** Number of columns being rendered. */\n private _cols!: number;\n\n /** Used for determining the position of each tile in the grid. */\n private _tileCoordinator!: TileCoordinator;\n\n /**\n * Row height value passed in by user. This can be one of three types:\n * - Number value (ex: \"100px\"): sets a fixed row height to that value\n * - Ratio value (ex: \"4:3\"): sets the row height based on width:height ratio\n * - \"Fit\" mode (ex: \"fit\"): sets the row height to total height divided by number of rows\n */\n private _rowHeight!: string;\n\n /** The amount of space between tiles. This will be something like '5px' or '2em'. */\n private _gutter: string = '1px';\n\n /** Sets position and size styles for a tile */\n private _tileStyler!: TileStyler;\n\n /** Query list of tiles that are being rendered. */\n @ContentChildren(MatGridTile, {descendants: true}) _tiles!: QueryList<MatGridTile>;\n\n /** Amount of columns in the grid list. */\n @Input()\n get cols(): number {\n return this._cols;\n }\n set cols(value: NumberInput) {\n this._cols = Math.max(1, Math.round(coerceNumberProperty(value)));\n }\n\n /** Size of the grid list's gutter in pixels. */\n @Input()\n get gutterSize(): string {\n return this._gutter;\n }\n set gutterSize(value: string) {\n this._gutter = `${value == null ? '' : value}`;\n }\n\n /** Set internal representation of row height from the user-provided value. */\n @Input()\n get rowHeight(): string | number {\n return this._rowHeight;\n }\n set rowHeight(value: string | number) {\n const newValue = `${value == null ? '' : value}`;\n\n if (newValue !== this._rowHeight) {\n this._rowHeight = newValue;\n this._setTileStyler(this._rowHeight);\n }\n }\n\n ngOnInit() {\n this._checkCols();\n this._checkRowHeight();\n }\n\n /**\n * The layout calculation is fairly cheap if nothing changes, so there's little cost\n * to run it frequently.\n */\n ngAfterContentChecked() {\n this._layoutTiles();\n }\n\n /** Throw a friendly error if cols property is missing */\n private _checkCols() {\n if (!this.cols && (typeof ngDevMode === 'undefined' || ngDevMode)) {\n throw Error(\n `mat-grid-list: must pass in number of columns. ` + `Example: <mat-grid-list cols=\"3\">`,\n );\n }\n }\n\n /** Default to equal width:height if rowHeight property is missing */\n private _checkRowHeight(): void {\n if (!this._rowHeight) {\n this._setTileStyler('1:1');\n }\n }\n\n /** Creates correct Tile Styler subtype based on rowHeight passed in by user */\n private _setTileStyler(rowHeight: string): void {\n if (this._tileStyler) {\n this._tileStyler.reset(this);\n }\n\n if (rowHeight === MAT_FIT_MODE) {\n this._tileStyler = new FitTileStyler();\n } else if (rowHeight && rowHeight.indexOf(':') > -1) {\n this._tileStyler = new RatioTileStyler(rowHeight);\n } else {\n this._tileStyler = new FixedTileStyler(rowHeight);\n }\n }\n\n /** Computes and applies the size and position for all children grid tiles. */\n private _layoutTiles(): void {\n if (!this._tileCoordinator) {\n this._tileCoordinator = new TileCoordinator();\n }\n\n const tracker = this._tileCoordinator;\n const tiles = this._tiles.filter(tile => !tile._gridList || tile._gridList === this);\n const direction = this._dir ? this._dir.value : 'ltr';\n\n this._tileCoordinator.update(this.cols, tiles);\n this._tileStyler.init(this.gutterSize, tracker, this.cols, direction);\n\n tiles.forEach((tile, index) => {\n const pos = tracker.positions[index];\n this._tileStyler.setStyle(tile, pos.row, pos.col);\n });\n\n this._setListStyle(this._tileStyler.getComputedHeight());\n }\n\n /** Sets style on the main grid-list element, given the style name and value. */\n _setListStyle(style: [string, string | null] | null): void {\n if (style) {\n (this._element.nativeElement.style as any)[style[0]] = style[1];\n }\n }\n}\n","<div>\n <ng-content></ng-content>\n</div>","/**\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 {MatLineModule} from '../core';\nimport {MatGridList} from './grid-list';\nimport {\n MatGridAvatarCssMatStyler,\n MatGridTile,\n MatGridTileFooterCssMatStyler,\n MatGridTileHeaderCssMatStyler,\n MatGridTileText,\n} from './grid-tile';\n\n// Export required to fix compiler confusion about import module paths\nexport {MatLine} from '../core';\n\n@NgModule({\n imports: [\n MatLineModule,\n MatGridList,\n MatGridTile,\n MatGridTileText,\n MatGridTileHeaderCssMatStyler,\n MatGridTileFooterCssMatStyler,\n MatGridAvatarCssMatStyler,\n ],\n exports: [\n BidiModule,\n MatGridList,\n MatGridTile,\n MatGridTileText,\n MatLineModule,\n MatGridTileHeaderCssMatStyler,\n MatGridTileFooterCssMatStyler,\n MatGridAvatarCssMatStyler,\n ],\n})\nexport class MatGridListModule {}\n"],"names":["MAT_GRID_LIST","InjectionToken","MatGridTile","_element","inject","ElementRef","_gridList","optional","_rowspan","_colspan","rowspan","value","Math","round","coerceNumberProperty","colspan","_setStyle","property","nativeElement","style","deps","target","i0","ɵɵFactoryTarget","Component","ɵcmp","ɵɵngDeclareComponent","minVersion","version","type","styles","changeDetection","ChangeDetectionStrategy","OnPush","encapsulation","ViewEncapsulation","None","decorators","exportAs","host","template","Input","MatGridTileText","_lines","ngAfterContentInit","setLines","isStandalone","selector","queries","propertyName","predicate","MatLine","descendants","ngImport","args","ContentChildren","MatGridAvatarCssMatStyler","Directive","classAttribute","MatGridTileHeaderCssMatStyler","MatGridTileFooterCssMatStyler","cssCalcAllowedValue","TileStyler","_gutterSize","_rows","_cols","_direction","init","gutterSize","tracker","cols","direction","normalizeUnits","rowCount","getBaseTileSize","sizePercent","gutterFraction","getTilePosition","baseSize","offset","calc","getTileSize","span","setStyle","tile","rowIndex","colIndex","percentWidthPerTile","gutterWidthFractionPerTile","setColStyles","setRowStyles","percentWidth","gutterWidth","baseTileWidth","side","getGutterSpan","getTileSpan","tileHeight","getComputedHeight","FixedTileStyler","fixedRowHeight","constructor","test","ngDevMode","Error","reset","list","_setListStyle","_tiles","forEach","RatioTileStyler","rowHeightRatio","baseTileHeight","_parseRatio","percentHeightPerTile","ratioParts","split","length","parseFloat","FitTileStyler","gutterHeightPerTile","exp","match","MAT_FIT_MODE","MatGridList","_dir","Directionality","_tileCoordinator","_rowHeight","_gutter","_tileStyler","max","rowHeight","newValue","_setTileStyler","ngOnInit","_checkCols","_checkRowHeight","ngAfterContentChecked","_layoutTiles","indexOf","TileCoordinator","tiles","filter","update","index","pos","positions","row","col","inputs","properties","providers","provide","useExisting","MatGridListModule","NgModule","ɵmod","ɵɵngDeclareNgModule","MatLineModule","BidiModule","imports","exports"],"mappings":";;;;;;;;;AAcO,MAAMA,aAAa,GAAG,IAAIC,cAAc,CAAkB,eAAe,CAAC;;MCyBpEC,WAAW,CAAA;AACdC,EAAAA,QAAQ,GAAGC,MAAM,CAA0BC,UAAU,CAAC;AAC9DC,EAAAA,SAAS,GAAIF,MAAM,CAAkBJ,aAAa,EAAE;AAACO,IAAAA,QAAQ,EAAE;AAAI,GAAC,CAAC;AAErEC,EAAAA,QAAQ,GAAW,CAAC;AACpBC,EAAAA,QAAQ,GAAW,CAAC;EAGpB,IACIC,OAAOA,GA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H,WAAW,EACXwC,eAAe,EACfqH,aAAa,EACbpG,6BAA6B,EAC7BC,6BAA6B,EAC7BJ,yBAAyB;KAE5B;;;;;;"}
|
|
1
|
+
{"version":3,"file":"grid-list.mjs","sources":["../../../../../darwin_arm64-fastbuild-ST-fdfa778d11ba/bin/src/material/grid-list/grid-list-base.ts","../../../../../darwin_arm64-fastbuild-ST-fdfa778d11ba/bin/src/material/grid-list/grid-tile.ts","../../../../../darwin_arm64-fastbuild-ST-fdfa778d11ba/bin/src/material/grid-list/grid-tile.html","../../../../../darwin_arm64-fastbuild-ST-fdfa778d11ba/bin/src/material/grid-list/grid-tile-text.html","../../../../../darwin_arm64-fastbuild-ST-fdfa778d11ba/bin/src/material/grid-list/tile-styler.ts","../../../../../darwin_arm64-fastbuild-ST-fdfa778d11ba/bin/src/material/grid-list/grid-list.ts","../../../../../darwin_arm64-fastbuild-ST-fdfa778d11ba/bin/src/material/grid-list/grid-list.html","../../../../../darwin_arm64-fastbuild-ST-fdfa778d11ba/bin/src/material/grid-list/grid-list-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 {InjectionToken} from '@angular/core';\n\n/**\n * Injection token used to provide a grid list to a tile and to avoid circular imports.\n * @docs-private\n */\nexport const MAT_GRID_LIST = new InjectionToken<MatGridListBase>('MAT_GRID_LIST');\n\n/**\n * Base interface for a `MatGridList`.\n * @docs-private\n */\nexport interface MatGridListBase {\n cols: number;\n gutterSize: string;\n rowHeight: number | string;\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 {\n Component,\n ViewEncapsulation,\n ElementRef,\n Input,\n ContentChildren,\n QueryList,\n AfterContentInit,\n Directive,\n inject,\n} from '@angular/core';\nimport {MatLine, setLines} from '../core';\nimport {coerceNumberProperty, NumberInput} from '@angular/cdk/coercion';\nimport {MAT_GRID_LIST, MatGridListBase} from './grid-list-base';\n\n@Component({\n selector: 'mat-grid-tile',\n exportAs: 'matGridTile',\n host: {\n 'class': 'mat-grid-tile',\n // Ensures that the \"rowspan\" and \"colspan\" input value is reflected in\n // the DOM. This is needed for the grid-tile harness.\n '[attr.rowspan]': 'rowspan',\n '[attr.colspan]': 'colspan',\n },\n templateUrl: 'grid-tile.html',\n styleUrl: 'grid-list.css',\n encapsulation: ViewEncapsulation.None,\n})\nexport class MatGridTile {\n private _element = inject<ElementRef<HTMLElement>>(ElementRef);\n _gridList? = inject<MatGridListBase>(MAT_GRID_LIST, {optional: true});\n\n _rowspan: number = 1;\n _colspan: number = 1;\n\n /** Amount of rows that the grid tile takes up. */\n @Input()\n get rowspan(): number {\n return this._rowspan;\n }\n set rowspan(value: NumberInput) {\n this._rowspan = Math.round(coerceNumberProperty(value));\n }\n\n /** Amount of columns that the grid tile takes up. */\n @Input()\n get colspan(): number {\n return this._colspan;\n }\n set colspan(value: NumberInput) {\n this._colspan = Math.round(coerceNumberProperty(value));\n }\n\n /**\n * Sets the style of the grid-tile element. Needs to be set manually to avoid\n * \"Changed after checked\" errors that would occur with HostBinding.\n */\n _setStyle(property: string, value: any): void {\n (this._element.nativeElement.style as any)[property] = value;\n }\n}\n\n@Component({\n selector: 'mat-grid-tile-header, mat-grid-tile-footer',\n templateUrl: 'grid-tile-text.html',\n encapsulation: ViewEncapsulation.None,\n})\nexport class MatGridTileText implements AfterContentInit {\n private _element = inject<ElementRef<HTMLElement>>(ElementRef);\n\n @ContentChildren(MatLine, {descendants: true}) _lines!: QueryList<MatLine>;\n\n ngAfterContentInit() {\n setLines(this._lines, this._element);\n }\n}\n\n/**\n * Directive whose purpose is to add the mat- CSS styling to this selector.\n * @docs-private\n */\n@Directive({\n selector: '[mat-grid-avatar], [matGridAvatar]',\n host: {'class': 'mat-grid-avatar'},\n})\nexport class MatGridAvatarCssMatStyler {}\n\n/**\n * Directive whose purpose is to add the mat- CSS styling to this selector.\n * @docs-private\n */\n@Directive({\n selector: 'mat-grid-tile-header',\n host: {'class': 'mat-grid-tile-header'},\n})\nexport class MatGridTileHeaderCssMatStyler {}\n\n/**\n * Directive whose purpose is to add the mat- CSS styling to this selector.\n * @docs-private\n */\n@Directive({\n selector: 'mat-grid-tile-footer',\n host: {'class': 'mat-grid-tile-footer'},\n})\nexport class MatGridTileFooterCssMatStyler {}\n","<div class=\"mat-grid-tile-content\">\n <ng-content></ng-content>\n</div>\n","<ng-content select=\"[mat-grid-avatar], [matGridAvatar]\"></ng-content>\n<div class=\"mat-grid-list-text\"><ng-content select=\"[mat-line], [matLine]\"></ng-content></div>\n<ng-content></ng-content>\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 {QueryList} from '@angular/core';\nimport {MatGridTile} from './grid-tile';\nimport {TileCoordinator} from './tile-coordinator';\n\n/**\n * RegExp that can be used to check whether a value will\n * be allowed inside a CSS `calc()` expression.\n */\nconst cssCalcAllowedValue = /^-?\\d+((\\.\\d+)?[A-Za-z%$]?)+$/;\n\n/** Object that can be styled by the `TileStyler`. */\nexport interface TileStyleTarget {\n _setListStyle(style: [string, string | null] | null): void;\n _tiles: QueryList<MatGridTile>;\n}\n\n/**\n * Sets the style properties for an individual tile, given the position calculated by the\n * Tile Coordinator.\n * @docs-private\n */\nexport abstract class TileStyler {\n _gutterSize!: string;\n _rows: number = 0;\n _rowspan: number = 0;\n _cols!: number;\n _direction!: string;\n\n /**\n * Adds grid-list layout info once it is available. Cannot be processed in the constructor\n * because these properties haven't been calculated by that point.\n *\n * @param gutterSize Size of the grid's gutter.\n * @param tracker Instance of the TileCoordinator.\n * @param cols Amount of columns in the grid.\n * @param direction Layout direction of the grid.\n */\n init(gutterSize: string, tracker: TileCoordinator, cols: number, direction: string): void {\n this._gutterSize = normalizeUnits(gutterSize);\n this._rows = tracker.rowCount;\n this._rowspan = tracker.rowspan;\n this._cols = cols;\n this._direction = direction;\n }\n\n /**\n * Computes the amount of space a single 1x1 tile would take up (width or height).\n * Used as a basis for other calculations.\n * @param sizePercent Percent of the total grid-list space that one 1x1 tile would take up.\n * @param gutterFraction Fraction of the gutter size taken up by one 1x1 tile.\n * @return The size of a 1x1 tile as an expression that can be evaluated via CSS calc().\n */\n getBaseTileSize(sizePercent: number, gutterFraction: number): string {\n // Take the base size percent (as would be if evenly dividing the size between cells),\n // and then subtracting the size of one gutter. However, since there are no gutters on the\n // edges, each tile only uses a fraction (gutterShare = numGutters / numCells) of the gutter\n // size. (Imagine having one gutter per tile, and then breaking up the extra gutter on the\n // edge evenly among the cells).\n return `(${sizePercent}% - (${this._gutterSize} * ${gutterFraction}))`;\n }\n\n /**\n * Gets The horizontal or vertical position of a tile, e.g., the 'top' or 'left' property value.\n * @param offset Number of tiles that have already been rendered in the row/column.\n * @param baseSize Base size of a 1x1 tile (as computed in getBaseTileSize).\n * @return Position of the tile as a CSS calc() expression.\n */\n getTilePosition(baseSize: string, offset: number): string {\n // The position comes the size of a 1x1 tile plus gutter for each previous tile in the\n // row/column (offset).\n return offset === 0 ? '0' : calc(`(${baseSize} + ${this._gutterSize}) * ${offset}`);\n }\n\n /**\n * Gets the actual size of a tile, e.g., width or height, taking rowspan or colspan into account.\n * @param baseSize Base size of a 1x1 tile (as computed in getBaseTileSize).\n * @param span The tile's rowspan or colspan.\n * @return Size of the tile as a CSS calc() expression.\n */\n getTileSize(baseSize: string, span: number): string {\n return `(${baseSize} * ${span}) + (${span - 1} * ${this._gutterSize})`;\n }\n\n /**\n * Sets the style properties to be applied to a tile for the given row and column index.\n * @param tile Tile to which to apply the styling.\n * @param rowIndex Index of the tile's row.\n * @param colIndex Index of the tile's column.\n */\n setStyle(tile: MatGridTile, rowIndex: number, colIndex: number): void {\n // Percent of the available horizontal space that one column takes up.\n let percentWidthPerTile = 100 / this._cols;\n\n // Fraction of the vertical gutter size that each column takes up.\n // For example, if there are 5 columns, each column uses 4/5 = 0.8 times the gutter width.\n let gutterWidthFractionPerTile = (this._cols - 1) / this._cols;\n\n this.setColStyles(tile, colIndex, percentWidthPerTile, gutterWidthFractionPerTile);\n this.setRowStyles(tile, rowIndex, percentWidthPerTile, gutterWidthFractionPerTile);\n }\n\n /** Sets the horizontal placement of the tile in the list. */\n setColStyles(tile: MatGridTile, colIndex: number, percentWidth: number, gutterWidth: number) {\n // Base horizontal size of a column.\n let baseTileWidth = this.getBaseTileSize(percentWidth, gutterWidth);\n\n // The width and horizontal position of each tile is always calculated the same way, but the\n // height and vertical position depends on the rowMode.\n let side = this._direction === 'rtl' ? 'right' : 'left';\n tile._setStyle(side, this.getTilePosition(baseTileWidth, colIndex));\n tile._setStyle('width', calc(this.getTileSize(baseTileWidth, tile.colspan)));\n }\n\n /**\n * Calculates the total size taken up by gutters across one axis of a list.\n */\n getGutterSpan(): string {\n return `${this._gutterSize} * (${this._rowspan} - 1)`;\n }\n\n /**\n * Calculates the total size taken up by tiles across one axis of a list.\n * @param tileHeight Height of the tile.\n */\n getTileSpan(tileHeight: string): string {\n return `${this._rowspan} * ${this.getTileSize(tileHeight, 1)}`;\n }\n\n /**\n * Sets the vertical placement of the tile in the list.\n * This method will be implemented by each type of TileStyler.\n * @docs-private\n */\n abstract setRowStyles(\n tile: MatGridTile,\n rowIndex: number,\n percentWidth: number,\n gutterWidth: number,\n ): void;\n\n /**\n * Calculates the computed height and returns the correct style property to set.\n * This method can be implemented by each type of TileStyler.\n * @docs-private\n */\n getComputedHeight(): [string, string] | null {\n return null;\n }\n\n /**\n * Called when the tile styler is swapped out with a different one. To be used for cleanup.\n * @param list Grid list that the styler was attached to.\n * @docs-private\n */\n abstract reset(list: TileStyleTarget): void;\n}\n\n/**\n * This type of styler is instantiated when the user passes in a fixed row height.\n * Example `<mat-grid-list cols=\"3\" rowHeight=\"100px\">`\n * @docs-private\n */\nexport class FixedTileStyler extends TileStyler {\n constructor(public fixedRowHeight: string) {\n super();\n }\n\n override init(gutterSize: string, tracker: TileCoordinator, cols: number, direction: string) {\n super.init(gutterSize, tracker, cols, direction);\n this.fixedRowHeight = normalizeUnits(this.fixedRowHeight);\n\n if (\n !cssCalcAllowedValue.test(this.fixedRowHeight) &&\n (typeof ngDevMode === 'undefined' || ngDevMode)\n ) {\n throw Error(`Invalid value \"${this.fixedRowHeight}\" set as rowHeight.`);\n }\n }\n\n override setRowStyles(tile: MatGridTile, rowIndex: number): void {\n tile._setStyle('top', this.getTilePosition(this.fixedRowHeight, rowIndex));\n tile._setStyle('height', calc(this.getTileSize(this.fixedRowHeight, tile.rowspan)));\n }\n\n override getComputedHeight(): [string, string] {\n return ['height', calc(`${this.getTileSpan(this.fixedRowHeight)} + ${this.getGutterSpan()}`)];\n }\n\n override reset(list: TileStyleTarget) {\n list._setListStyle(['height', null]);\n\n if (list._tiles) {\n list._tiles.forEach(tile => {\n tile._setStyle('top', null);\n tile._setStyle('height', null);\n });\n }\n }\n}\n\n/**\n * This type of styler is instantiated when the user passes in a width:height ratio\n * for the row height. Example `<mat-grid-list cols=\"3\" rowHeight=\"3:1\">`\n * @docs-private\n */\nexport class RatioTileStyler extends TileStyler {\n /** Ratio width:height given by user to determine row height. */\n rowHeightRatio!: number;\n baseTileHeight!: string;\n\n constructor(value: string) {\n super();\n this._parseRatio(value);\n }\n\n setRowStyles(\n tile: MatGridTile,\n rowIndex: number,\n percentWidth: number,\n gutterWidth: number,\n ): void {\n let percentHeightPerTile = percentWidth / this.rowHeightRatio;\n this.baseTileHeight = this.getBaseTileSize(percentHeightPerTile, gutterWidth);\n\n // Use padding-top and margin-top to maintain the given aspect ratio, as\n // a percentage-based value for these properties is applied versus the *width* of the\n // containing block. See http://www.w3.org/TR/CSS2/box.html#margin-properties\n tile._setStyle('marginTop', this.getTilePosition(this.baseTileHeight, rowIndex));\n tile._setStyle('paddingTop', calc(this.getTileSize(this.baseTileHeight, tile.rowspan)));\n }\n\n override getComputedHeight(): [string, string] {\n return [\n 'paddingBottom',\n calc(`${this.getTileSpan(this.baseTileHeight)} + ${this.getGutterSpan()}`),\n ];\n }\n\n reset(list: TileStyleTarget) {\n list._setListStyle(['paddingBottom', null]);\n\n list._tiles.forEach(tile => {\n tile._setStyle('marginTop', null);\n tile._setStyle('paddingTop', null);\n });\n }\n\n private _parseRatio(value: string): void {\n const ratioParts = value.split(':');\n\n if (ratioParts.length !== 2 && (typeof ngDevMode === 'undefined' || ngDevMode)) {\n throw Error(`mat-grid-list: invalid ratio given for row-height: \"${value}\"`);\n }\n\n this.rowHeightRatio = parseFloat(ratioParts[0]) / parseFloat(ratioParts[1]);\n }\n}\n\n/**\n * This type of styler is instantiated when the user selects a \"fit\" row height mode.\n * In other words, the row height will reflect the total height of the container divided\n * by the number of rows. Example `<mat-grid-list cols=\"3\" rowHeight=\"fit\">`\n *\n * @docs-private\n */\nexport class FitTileStyler extends TileStyler {\n setRowStyles(tile: MatGridTile, rowIndex: number): void {\n // Percent of the available vertical space that one row takes up.\n let percentHeightPerTile = 100 / this._rowspan;\n\n // Fraction of the horizontal gutter size that each column takes up.\n let gutterHeightPerTile = (this._rows - 1) / this._rows;\n\n // Base vertical size of a column.\n let baseTileHeight = this.getBaseTileSize(percentHeightPerTile, gutterHeightPerTile);\n\n tile._setStyle('top', this.getTilePosition(baseTileHeight, rowIndex));\n tile._setStyle('height', calc(this.getTileSize(baseTileHeight, tile.rowspan)));\n }\n\n reset(list: TileStyleTarget) {\n if (list._tiles) {\n list._tiles.forEach(tile => {\n tile._setStyle('top', null);\n tile._setStyle('height', null);\n });\n }\n }\n}\n\n/** Wraps a CSS string in a calc function */\nfunction calc(exp: string): string {\n return `calc(${exp})`;\n}\n\n/** Appends pixels to a CSS string if no units are given. */\nfunction normalizeUnits(value: string): string {\n return value.match(/([A-Za-z%]+)$/) ? value : `${value}px`;\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 {\n Component,\n ViewEncapsulation,\n AfterContentChecked,\n OnInit,\n Input,\n ContentChildren,\n QueryList,\n ElementRef,\n inject,\n} from '@angular/core';\nimport {MatGridTile} from './grid-tile';\nimport {TileCoordinator} from './tile-coordinator';\nimport {\n TileStyler,\n FitTileStyler,\n RatioTileStyler,\n FixedTileStyler,\n TileStyleTarget,\n} from './tile-styler';\nimport {Directionality} from '@angular/cdk/bidi';\nimport {coerceNumberProperty, NumberInput} from '@angular/cdk/coercion';\nimport {MAT_GRID_LIST, MatGridListBase} from './grid-list-base';\n\n// TODO(kara): Conditional (responsive) column count / row size.\n// TODO(kara): Re-layout on window resize / media change (debounced).\n// TODO(kara): gridTileHeader and gridTileFooter.\n\nconst MAT_FIT_MODE = 'fit';\n\n@Component({\n selector: 'mat-grid-list',\n exportAs: 'matGridList',\n templateUrl: 'grid-list.html',\n styleUrl: 'grid-list.css',\n host: {\n 'class': 'mat-grid-list',\n // Ensures that the \"cols\" input value is reflected in the DOM. This is\n // needed for the grid-list harness.\n '[attr.cols]': 'cols',\n },\n providers: [\n {\n provide: MAT_GRID_LIST,\n useExisting: MatGridList,\n },\n ],\n encapsulation: ViewEncapsulation.None,\n})\nexport class MatGridList implements MatGridListBase, OnInit, AfterContentChecked, TileStyleTarget {\n private _element = inject<ElementRef<HTMLElement>>(ElementRef);\n private _dir = inject(Directionality, {optional: true});\n\n /** Number of columns being rendered. */\n private _cols!: number;\n\n /** Used for determining the position of each tile in the grid. */\n private _tileCoordinator!: TileCoordinator;\n\n /**\n * Row height value passed in by user. This can be one of three types:\n * - Number value (ex: \"100px\"): sets a fixed row height to that value\n * - Ratio value (ex: \"4:3\"): sets the row height based on width:height ratio\n * - \"Fit\" mode (ex: \"fit\"): sets the row height to total height divided by number of rows\n */\n private _rowHeight!: string;\n\n /** The amount of space between tiles. This will be something like '5px' or '2em'. */\n private _gutter: string = '1px';\n\n /** Sets position and size styles for a tile */\n private _tileStyler!: TileStyler;\n\n /** Query list of tiles that are being rendered. */\n @ContentChildren(MatGridTile, {descendants: true}) _tiles!: QueryList<MatGridTile>;\n\n /** Amount of columns in the grid list. */\n @Input()\n get cols(): number {\n return this._cols;\n }\n set cols(value: NumberInput) {\n this._cols = Math.max(1, Math.round(coerceNumberProperty(value)));\n }\n\n /** Size of the grid list's gutter in pixels. */\n @Input()\n get gutterSize(): string {\n return this._gutter;\n }\n set gutterSize(value: string) {\n this._gutter = `${value == null ? '' : value}`;\n }\n\n /** Set internal representation of row height from the user-provided value. */\n @Input()\n get rowHeight(): string | number {\n return this._rowHeight;\n }\n set rowHeight(value: string | number) {\n const newValue = `${value == null ? '' : value}`;\n\n if (newValue !== this._rowHeight) {\n this._rowHeight = newValue;\n this._setTileStyler(this._rowHeight);\n }\n }\n\n ngOnInit() {\n this._checkCols();\n this._checkRowHeight();\n }\n\n /**\n * The layout calculation is fairly cheap if nothing changes, so there's little cost\n * to run it frequently.\n */\n ngAfterContentChecked() {\n this._layoutTiles();\n }\n\n /** Throw a friendly error if cols property is missing */\n private _checkCols() {\n if (!this.cols && (typeof ngDevMode === 'undefined' || ngDevMode)) {\n throw Error(\n `mat-grid-list: must pass in number of columns. ` + `Example: <mat-grid-list cols=\"3\">`,\n );\n }\n }\n\n /** Default to equal width:height if rowHeight property is missing */\n private _checkRowHeight(): void {\n if (!this._rowHeight) {\n this._setTileStyler('1:1');\n }\n }\n\n /** Creates correct Tile Styler subtype based on rowHeight passed in by user */\n private _setTileStyler(rowHeight: string): void {\n if (this._tileStyler) {\n this._tileStyler.reset(this);\n }\n\n if (rowHeight === MAT_FIT_MODE) {\n this._tileStyler = new FitTileStyler();\n } else if (rowHeight && rowHeight.indexOf(':') > -1) {\n this._tileStyler = new RatioTileStyler(rowHeight);\n } else {\n this._tileStyler = new FixedTileStyler(rowHeight);\n }\n }\n\n /** Computes and applies the size and position for all children grid tiles. */\n private _layoutTiles(): void {\n if (!this._tileCoordinator) {\n this._tileCoordinator = new TileCoordinator();\n }\n\n const tracker = this._tileCoordinator;\n const tiles = this._tiles.filter(tile => !tile._gridList || tile._gridList === this);\n const direction = this._dir ? this._dir.value : 'ltr';\n\n this._tileCoordinator.update(this.cols, tiles);\n this._tileStyler.init(this.gutterSize, tracker, this.cols, direction);\n\n tiles.forEach((tile, index) => {\n const pos = tracker.positions[index];\n this._tileStyler.setStyle(tile, pos.row, pos.col);\n });\n\n this._setListStyle(this._tileStyler.getComputedHeight());\n }\n\n /** Sets style on the main grid-list element, given the style name and value. */\n _setListStyle(style: [string, string | null] | null): void {\n if (style) {\n (this._element.nativeElement.style as any)[style[0]] = style[1];\n }\n }\n}\n","<div>\n <ng-content></ng-content>\n</div>","/**\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 {MatLineModule} from '../core';\nimport {MatGridList} from './grid-list';\nimport {\n MatGridAvatarCssMatStyler,\n MatGridTile,\n MatGridTileFooterCssMatStyler,\n MatGridTileHeaderCssMatStyler,\n MatGridTileText,\n} from './grid-tile';\n\n// Export required to fix compiler confusion about import module paths\nexport {MatLine} from '../core';\n\n@NgModule({\n imports: [\n MatLineModule,\n MatGridList,\n MatGridTile,\n MatGridTileText,\n MatGridTileHeaderCssMatStyler,\n MatGridTileFooterCssMatStyler,\n MatGridAvatarCssMatStyler,\n ],\n exports: [\n BidiModule,\n MatGridList,\n MatGridTile,\n MatGridTileText,\n MatLineModule,\n MatGridTileHeaderCssMatStyler,\n MatGridTileFooterCssMatStyler,\n MatGridAvatarCssMatStyler,\n ],\n})\nexport class MatGridListModule {}\n"],"names":["MAT_GRID_LIST","InjectionToken","MatGridTile","_element","inject","ElementRef","_gridList","optional","_rowspan","_colspan","rowspan","value","Math","round","coerceNumberProperty","colspan","_setStyle","property","nativeElement","style","deps","target","i0","ɵɵFactoryTarget","Component","ɵcmp","ɵɵngDeclareComponent","minVersion","version","type","styles","encapsulation","ViewEncapsulation","None","decorators","exportAs","host","template","Input","MatGridTileText","_lines","ngAfterContentInit","setLines","isStandalone","selector","queries","propertyName","predicate","MatLine","descendants","ngImport","ContentChildren","args","MatGridAvatarCssMatStyler","Directive","classAttribute","MatGridTileHeaderCssMatStyler","MatGridTileFooterCssMatStyler","cssCalcAllowedValue","TileStyler","_gutterSize","_rows","_cols","_direction","init","gutterSize","tracker","cols","direction","normalizeUnits","rowCount","getBaseTileSize","sizePercent","gutterFraction","getTilePosition","baseSize","offset","calc","getTileSize","span","setStyle","tile","rowIndex","colIndex","percentWidthPerTile","gutterWidthFractionPerTile","setColStyles","setRowStyles","percentWidth","gutterWidth","baseTileWidth","side","getGutterSpan","getTileSpan","tileHeight","getComputedHeight","FixedTileStyler","fixedRowHeight","constructor","test","ngDevMode","Error","reset","list","_setListStyle","_tiles","forEach","RatioTileStyler","rowHeightRatio","baseTileHeight","_parseRatio","percentHeightPerTile","ratioParts","split","length","parseFloat","FitTileStyler","gutterHeightPerTile","exp","match","MAT_FIT_MODE","MatGridList","_dir","Directionality","_tileCoordinator","_rowHeight","_gutter","_tileStyler","max","rowHeight","newValue","_setTileStyler","ngOnInit","_checkCols","_checkRowHeight","ngAfterContentChecked","_layoutTiles","indexOf","TileCoordinator","tiles","filter","update","index","pos","positions","row","col","inputs","properties","providers","provide","useExisting","MatGridListModule","NgModule","ɵmod","ɵɵngDeclareNgModule","MatLineModule","BidiModule","imports","exports"],"mappings":";;;;;;;;;AAcO,MAAMA,aAAa,GAAG,IAAIC,cAAc,CAAkB,eAAe,CAAC;;MCuBpEC,WAAW,CAAA;AACdC,EAAAA,QAAQ,GAAGC,MAAM,CAA0BC,UAAU,CAAC;AAC9DC,EAAAA,SAAS,GAAIF,MAAM,CAAkBJ,aAAa,EAAE;AAACO,IAAAA,QAAQ,EAAE;AAAI,GAAC,CAAC;AAErEC,EAAAA,QAAQ,GAAW,CAAC;AACpBC,EAAAA,QAA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AAAA,MAAA,EAAAC,EAAA,CAAAC,eAAA,CAAAkI;AAAA,GAAA,CAAA;AAAjB,EAAA,OAAAC,IAAA,GAAApI,EAAA,CAAAqI,mBAAA,CAAA;AAAAhI,IAAAA,UAAA,EAAA,QAAA;AAAAC,IAAAA,OAAA,EAAA,aAAA;AAAAsB,IAAAA,QAAA,EAAA5B,EAAA;AAAAO,IAAAA,IAAA,EAAA2H,iBAAiB;cAnB1BI,aAAa,EACbnC,WAAW,EACXvH,WAAW,EACXqC,eAAe,EACfiB,6BAA6B,EAC7BC,6BAA6B,EAC7BJ,yBAAyB;cAGzBwG,UAAU,EACVpC,WAAW,EACXvH,WAAW,EACXqC,eAAe,EACfqH,aAAa,EACbpG,6BAA6B,EAC7BC,6BAA6B,EAC7BJ,yBAAyB;AAAA,GAAA,CAAA;;;;;UAGhBmG,iBAAiB;AAAAM,IAAAA,OAAA,EAAA,CAnB1BF,aAAa,EASbC,UAAU,EAIVD,aAAa;AAAA,GAAA,CAAA;;;;;;QAMJJ,iBAAiB;AAAAtH,EAAAA,UAAA,EAAA,CAAA;UArB7BuH,QAAQ;AAACrG,IAAAA,IAAA,EAAA,CAAA;AACR0G,MAAAA,OAAO,EAAE,CACPF,aAAa,EACbnC,WAAW,EACXvH,WAAW,EACXqC,eAAe,EACfiB,6BAA6B,EAC7BC,6BAA6B,EAC7BJ,yBAAyB,CAC1B;AACD0G,MAAAA,OAAO,EAAE,CACPF,UAAU,EACVpC,WAAW,EACXvH,WAAW,EACXqC,eAAe,EACfqH,aAAa,EACbpG,6BAA6B,EAC7BC,6BAA6B,EAC7BJ,yBAAyB;KAE5B;;;;;;"}
|
|
@@ -104,7 +104,7 @@ class FakeMatIconRegistry {
|
|
|
104
104
|
}
|
|
105
105
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
106
106
|
minVersion: "12.0.0",
|
|
107
|
-
version: "22.0.0-
|
|
107
|
+
version: "22.0.0-rc.0",
|
|
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.0.0-
|
|
115
|
+
version: "22.0.0-rc.0",
|
|
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.0.0-
|
|
123
|
+
version: "22.0.0-rc.0",
|
|
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.0.0-
|
|
136
|
+
version: "22.0.0-rc.0",
|
|
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.0.0-
|
|
144
|
+
version: "22.0.0-rc.0",
|
|
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.0.0-
|
|
150
|
+
version: "22.0.0-rc.0",
|
|
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.0.0-
|
|
161
|
+
version: "22.0.0-rc.0",
|
|
162
162
|
ngImport: i0,
|
|
163
163
|
type: MatIconTestingModule,
|
|
164
164
|
decorators: [{
|
package/fesm2022/icon.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { InjectionToken, inject, DOCUMENT, ElementRef, ErrorHandler, HostAttributeToken, booleanAttribute, Input,
|
|
2
|
+
import { InjectionToken, inject, DOCUMENT, ElementRef, ErrorHandler, HostAttributeToken, booleanAttribute, Input, ViewEncapsulation, Component, NgModule } from '@angular/core';
|
|
3
3
|
import { Subscription } from 'rxjs';
|
|
4
4
|
import { take } from 'rxjs/operators';
|
|
5
5
|
import { MatIconRegistry } from './_icon-registry-chunk.mjs';
|
|
@@ -230,7 +230,7 @@ class MatIcon {
|
|
|
230
230
|
}
|
|
231
231
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
232
232
|
minVersion: "12.0.0",
|
|
233
|
-
version: "22.0.0-
|
|
233
|
+
version: "22.0.0-rc.0",
|
|
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.0.0-
|
|
241
|
+
version: "22.0.0-rc.0",
|
|
242
242
|
type: MatIcon,
|
|
243
243
|
isStandalone: true,
|
|
244
244
|
selector: "mat-icon",
|
|
@@ -269,13 +269,12 @@ class MatIcon {
|
|
|
269
269
|
template: '<ng-content></ng-content>',
|
|
270
270
|
isInline: true,
|
|
271
271
|
styles: ["mat-icon, mat-icon.mat-primary, mat-icon.mat-accent, mat-icon.mat-warn {\n color: var(--mat-icon-color, inherit);\n}\n\n.mat-icon {\n -webkit-user-select: none;\n user-select: none;\n background-repeat: no-repeat;\n display: inline-block;\n fill: currentColor;\n height: 24px;\n width: 24px;\n overflow: hidden;\n}\n.mat-icon.mat-icon-inline {\n font-size: inherit;\n height: inherit;\n line-height: inherit;\n width: inherit;\n}\n.mat-icon.mat-ligature-font[fontIcon]::before {\n content: attr(fontIcon);\n}\n\n[dir=rtl] .mat-icon-rtl-mirror {\n transform: scale(-1, 1);\n}\n\n.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,\n.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon {\n display: block;\n}\n.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,\n.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon {\n margin: auto;\n}\n"],
|
|
272
|
-
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
273
272
|
encapsulation: i0.ViewEncapsulation.None
|
|
274
273
|
});
|
|
275
274
|
}
|
|
276
275
|
i0.ɵɵngDeclareClassMetadata({
|
|
277
276
|
minVersion: "12.0.0",
|
|
278
|
-
version: "22.0.0-
|
|
277
|
+
version: "22.0.0-rc.0",
|
|
279
278
|
ngImport: i0,
|
|
280
279
|
type: MatIcon,
|
|
281
280
|
decorators: [{
|
|
@@ -296,7 +295,6 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
296
295
|
'[class.mat-icon-no-color]': 'color !== "primary" && color !== "accent" && color !== "warn"'
|
|
297
296
|
},
|
|
298
297
|
encapsulation: ViewEncapsulation.None,
|
|
299
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
300
298
|
styles: ["mat-icon, mat-icon.mat-primary, mat-icon.mat-accent, mat-icon.mat-warn {\n color: var(--mat-icon-color, inherit);\n}\n\n.mat-icon {\n -webkit-user-select: none;\n user-select: none;\n background-repeat: no-repeat;\n display: inline-block;\n fill: currentColor;\n height: 24px;\n width: 24px;\n overflow: hidden;\n}\n.mat-icon.mat-icon-inline {\n font-size: inherit;\n height: inherit;\n line-height: inherit;\n width: inherit;\n}\n.mat-icon.mat-ligature-font[fontIcon]::before {\n content: attr(fontIcon);\n}\n\n[dir=rtl] .mat-icon-rtl-mirror {\n transform: scale(-1, 1);\n}\n\n.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,\n.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon {\n display: block;\n}\n.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,\n.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon {\n margin: auto;\n}\n"]
|
|
301
299
|
}]
|
|
302
300
|
}],
|
|
@@ -326,7 +324,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
326
324
|
class MatIconModule {
|
|
327
325
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
328
326
|
minVersion: "12.0.0",
|
|
329
|
-
version: "22.0.0-
|
|
327
|
+
version: "22.0.0-rc.0",
|
|
330
328
|
ngImport: i0,
|
|
331
329
|
type: MatIconModule,
|
|
332
330
|
deps: [],
|
|
@@ -334,7 +332,7 @@ class MatIconModule {
|
|
|
334
332
|
});
|
|
335
333
|
static ɵmod = i0.ɵɵngDeclareNgModule({
|
|
336
334
|
minVersion: "14.0.0",
|
|
337
|
-
version: "22.0.0-
|
|
335
|
+
version: "22.0.0-rc.0",
|
|
338
336
|
ngImport: i0,
|
|
339
337
|
type: MatIconModule,
|
|
340
338
|
imports: [MatIcon],
|
|
@@ -342,7 +340,7 @@ class MatIconModule {
|
|
|
342
340
|
});
|
|
343
341
|
static ɵinj = i0.ɵɵngDeclareInjector({
|
|
344
342
|
minVersion: "12.0.0",
|
|
345
|
-
version: "22.0.0-
|
|
343
|
+
version: "22.0.0-rc.0",
|
|
346
344
|
ngImport: i0,
|
|
347
345
|
type: MatIconModule,
|
|
348
346
|
imports: [BidiModule]
|
|
@@ -350,7 +348,7 @@ class MatIconModule {
|
|
|
350
348
|
}
|
|
351
349
|
i0.ɵɵngDeclareClassMetadata({
|
|
352
350
|
minVersion: "12.0.0",
|
|
353
|
-
version: "22.0.0-
|
|
351
|
+
version: "22.0.0-rc.0",
|
|
354
352
|
ngImport: i0,
|
|
355
353
|
type: MatIconModule,
|
|
356
354
|
decorators: [{
|