@angular/material 22.0.4 → 22.0.6
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/core/focus-indicators/_private.scss +3 -0
- package/fesm2022/_error-options-chunk.mjs +6 -6
- package/fesm2022/_error-state-chunk.mjs +9 -12
- package/fesm2022/_error-state-chunk.mjs.map +1 -1
- package/fesm2022/_form-field-chunk.mjs +30 -30
- package/fesm2022/_icon-button-chunk.mjs +6 -6
- package/fesm2022/_icon-registry-chunk.mjs +3 -3
- package/fesm2022/_internal-form-field-chunk.mjs +7 -7
- package/fesm2022/_internal-form-field-chunk.mjs.map +1 -1
- 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 +5 -5
- package/fesm2022/_structural-styles-chunk.mjs.map +1 -1
- 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 +17 -17
- package/fesm2022/button.mjs.map +1 -1
- package/fesm2022/card.mjs +46 -46
- package/fesm2022/checkbox.mjs +8 -8
- package/fesm2022/checkbox.mjs.map +1 -1
- package/fesm2022/chips.mjs +52 -47
- package/fesm2022/chips.mjs.map +1 -1
- package/fesm2022/core.mjs +12 -12
- package/fesm2022/core.mjs.map +1 -1
- package/fesm2022/datepicker.mjs +89 -84
- package/fesm2022/datepicker.mjs.map +1 -1
- package/fesm2022/dialog.mjs +25 -25
- package/fesm2022/divider.mjs +7 -7
- package/fesm2022/expansion.mjs +27 -27
- package/fesm2022/expansion.mjs.map +1 -1
- 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/input.mjs +13 -8
- package/fesm2022/input.mjs.map +1 -1
- package/fesm2022/list.mjs +70 -56
- package/fesm2022/list.mjs.map +1 -1
- package/fesm2022/menu.mjs +22 -22
- package/fesm2022/paginator.mjs +11 -10
- package/fesm2022/paginator.mjs.map +1 -1
- package/fesm2022/progress-bar.mjs +7 -7
- package/fesm2022/progress-spinner.mjs +7 -7
- package/fesm2022/radio.mjs +15 -21
- package/fesm2022/radio.mjs.map +1 -1
- package/fesm2022/select.mjs +16 -11
- package/fesm2022/select.mjs.map +1 -1
- package/fesm2022/sidenav.mjs +22 -22
- package/fesm2022/slide-toggle.mjs +8 -8
- package/fesm2022/slide-toggle.mjs.map +1 -1
- package/fesm2022/slider.mjs +16 -16
- package/fesm2022/snack-bar.mjs +22 -22
- package/fesm2022/sort.mjs +15 -15
- package/fesm2022/sort.mjs.map +1 -1
- package/fesm2022/stepper.mjs +33 -33
- package/fesm2022/stepper.mjs.map +1 -1
- package/fesm2022/table.mjs +55 -55
- package/fesm2022/tabs.mjs +43 -43
- package/fesm2022/timepicker.mjs +16 -14
- package/fesm2022/timepicker.mjs.map +1 -1
- package/fesm2022/toolbar.mjs +10 -10
- package/fesm2022/tooltip.mjs +4 -4
- package/fesm2022/tree.mjs +25 -25
- package/package.json +2 -2
- package/prebuilt-themes/deeppurple-amber.css +2 -2
- package/prebuilt-themes/indigo-pink.css +2 -2
- package/prebuilt-themes/pink-bluegrey.css +2 -2
- package/prebuilt-themes/purple-green.css +2 -2
- package/schematics/ng-add/index.js +1 -1
- package/stepper/_m2-stepper.scss +2 -2
- package/types/core.d.ts +2 -1
- package/types/radio.d.ts +0 -2
package/fesm2022/menu.mjs
CHANGED
|
@@ -97,7 +97,7 @@ class MatMenuItem {
|
|
|
97
97
|
}
|
|
98
98
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
99
99
|
minVersion: "12.0.0",
|
|
100
|
-
version: "22.0.
|
|
100
|
+
version: "22.0.7",
|
|
101
101
|
ngImport: i0,
|
|
102
102
|
type: MatMenuItem,
|
|
103
103
|
deps: [],
|
|
@@ -105,7 +105,7 @@ class MatMenuItem {
|
|
|
105
105
|
});
|
|
106
106
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
107
107
|
minVersion: "17.0.0",
|
|
108
|
-
version: "22.0.
|
|
108
|
+
version: "22.0.7",
|
|
109
109
|
type: MatMenuItem,
|
|
110
110
|
isStandalone: true,
|
|
111
111
|
selector: "[mat-menu-item]",
|
|
@@ -144,7 +144,7 @@ class MatMenuItem {
|
|
|
144
144
|
}
|
|
145
145
|
i0.ɵɵngDeclareClassMetadata({
|
|
146
146
|
minVersion: "12.0.0",
|
|
147
|
-
version: "22.0.
|
|
147
|
+
version: "22.0.7",
|
|
148
148
|
ngImport: i0,
|
|
149
149
|
type: MatMenuItem,
|
|
150
150
|
decorators: [{
|
|
@@ -236,7 +236,7 @@ class MatMenuContent {
|
|
|
236
236
|
}
|
|
237
237
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
238
238
|
minVersion: "12.0.0",
|
|
239
|
-
version: "22.0.
|
|
239
|
+
version: "22.0.7",
|
|
240
240
|
ngImport: i0,
|
|
241
241
|
type: MatMenuContent,
|
|
242
242
|
deps: [],
|
|
@@ -244,7 +244,7 @@ class MatMenuContent {
|
|
|
244
244
|
});
|
|
245
245
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
246
246
|
minVersion: "14.0.0",
|
|
247
|
-
version: "22.0.
|
|
247
|
+
version: "22.0.7",
|
|
248
248
|
type: MatMenuContent,
|
|
249
249
|
isStandalone: true,
|
|
250
250
|
selector: "ng-template[matMenuContent]",
|
|
@@ -257,7 +257,7 @@ class MatMenuContent {
|
|
|
257
257
|
}
|
|
258
258
|
i0.ɵɵngDeclareClassMetadata({
|
|
259
259
|
minVersion: "12.0.0",
|
|
260
|
-
version: "22.0.
|
|
260
|
+
version: "22.0.7",
|
|
261
261
|
ngImport: i0,
|
|
262
262
|
type: MatMenuContent,
|
|
263
263
|
decorators: [{
|
|
@@ -515,7 +515,7 @@ class MatMenu {
|
|
|
515
515
|
}
|
|
516
516
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
517
517
|
minVersion: "12.0.0",
|
|
518
|
-
version: "22.0.
|
|
518
|
+
version: "22.0.7",
|
|
519
519
|
ngImport: i0,
|
|
520
520
|
type: MatMenu,
|
|
521
521
|
deps: [],
|
|
@@ -523,7 +523,7 @@ class MatMenu {
|
|
|
523
523
|
});
|
|
524
524
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
525
525
|
minVersion: "16.1.0",
|
|
526
|
-
version: "22.0.
|
|
526
|
+
version: "22.0.7",
|
|
527
527
|
type: MatMenu,
|
|
528
528
|
isStandalone: true,
|
|
529
529
|
selector: "mat-menu",
|
|
@@ -582,7 +582,7 @@ class MatMenu {
|
|
|
582
582
|
}
|
|
583
583
|
i0.ɵɵngDeclareClassMetadata({
|
|
584
584
|
minVersion: "12.0.0",
|
|
585
|
-
version: "22.0.
|
|
585
|
+
version: "22.0.7",
|
|
586
586
|
ngImport: i0,
|
|
587
587
|
type: MatMenu,
|
|
588
588
|
decorators: [{
|
|
@@ -955,7 +955,7 @@ class MatMenuTriggerBase {
|
|
|
955
955
|
}
|
|
956
956
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
957
957
|
minVersion: "12.0.0",
|
|
958
|
-
version: "22.0.
|
|
958
|
+
version: "22.0.7",
|
|
959
959
|
ngImport: i0,
|
|
960
960
|
type: MatMenuTriggerBase,
|
|
961
961
|
deps: "invalid",
|
|
@@ -963,7 +963,7 @@ class MatMenuTriggerBase {
|
|
|
963
963
|
});
|
|
964
964
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
965
965
|
minVersion: "14.0.0",
|
|
966
|
-
version: "22.0.
|
|
966
|
+
version: "22.0.7",
|
|
967
967
|
type: MatMenuTriggerBase,
|
|
968
968
|
isStandalone: true,
|
|
969
969
|
ngImport: i0
|
|
@@ -971,7 +971,7 @@ class MatMenuTriggerBase {
|
|
|
971
971
|
}
|
|
972
972
|
i0.ɵɵngDeclareClassMetadata({
|
|
973
973
|
minVersion: "12.0.0",
|
|
974
|
-
version: "22.0.
|
|
974
|
+
version: "22.0.7",
|
|
975
975
|
ngImport: i0,
|
|
976
976
|
type: MatMenuTriggerBase,
|
|
977
977
|
decorators: [{
|
|
@@ -1081,7 +1081,7 @@ class MatMenuTrigger extends MatMenuTriggerBase {
|
|
|
1081
1081
|
}
|
|
1082
1082
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
1083
1083
|
minVersion: "12.0.0",
|
|
1084
|
-
version: "22.0.
|
|
1084
|
+
version: "22.0.7",
|
|
1085
1085
|
ngImport: i0,
|
|
1086
1086
|
type: MatMenuTrigger,
|
|
1087
1087
|
deps: [],
|
|
@@ -1089,7 +1089,7 @@ class MatMenuTrigger extends MatMenuTriggerBase {
|
|
|
1089
1089
|
});
|
|
1090
1090
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
1091
1091
|
minVersion: "14.0.0",
|
|
1092
|
-
version: "22.0.
|
|
1092
|
+
version: "22.0.7",
|
|
1093
1093
|
type: MatMenuTrigger,
|
|
1094
1094
|
isStandalone: true,
|
|
1095
1095
|
selector: "[mat-menu-trigger-for], [matMenuTriggerFor]",
|
|
@@ -1125,7 +1125,7 @@ class MatMenuTrigger extends MatMenuTriggerBase {
|
|
|
1125
1125
|
}
|
|
1126
1126
|
i0.ɵɵngDeclareClassMetadata({
|
|
1127
1127
|
minVersion: "12.0.0",
|
|
1128
|
-
version: "22.0.
|
|
1128
|
+
version: "22.0.7",
|
|
1129
1129
|
ngImport: i0,
|
|
1130
1130
|
type: MatMenuTrigger,
|
|
1131
1131
|
decorators: [{
|
|
@@ -1289,7 +1289,7 @@ class MatContextMenuTrigger extends MatMenuTriggerBase {
|
|
|
1289
1289
|
}
|
|
1290
1290
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
1291
1291
|
minVersion: "12.0.0",
|
|
1292
|
-
version: "22.0.
|
|
1292
|
+
version: "22.0.7",
|
|
1293
1293
|
ngImport: i0,
|
|
1294
1294
|
type: MatContextMenuTrigger,
|
|
1295
1295
|
deps: [],
|
|
@@ -1297,7 +1297,7 @@ class MatContextMenuTrigger extends MatMenuTriggerBase {
|
|
|
1297
1297
|
});
|
|
1298
1298
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
1299
1299
|
minVersion: "16.1.0",
|
|
1300
|
-
version: "22.0.
|
|
1300
|
+
version: "22.0.7",
|
|
1301
1301
|
type: MatContextMenuTrigger,
|
|
1302
1302
|
isStandalone: true,
|
|
1303
1303
|
selector: "[matContextMenuTriggerFor]",
|
|
@@ -1328,7 +1328,7 @@ class MatContextMenuTrigger extends MatMenuTriggerBase {
|
|
|
1328
1328
|
}
|
|
1329
1329
|
i0.ɵɵngDeclareClassMetadata({
|
|
1330
1330
|
minVersion: "12.0.0",
|
|
1331
|
-
version: "22.0.
|
|
1331
|
+
version: "22.0.7",
|
|
1332
1332
|
ngImport: i0,
|
|
1333
1333
|
type: MatContextMenuTrigger,
|
|
1334
1334
|
decorators: [{
|
|
@@ -1380,7 +1380,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
1380
1380
|
class MatMenuModule {
|
|
1381
1381
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
1382
1382
|
minVersion: "12.0.0",
|
|
1383
|
-
version: "22.0.
|
|
1383
|
+
version: "22.0.7",
|
|
1384
1384
|
ngImport: i0,
|
|
1385
1385
|
type: MatMenuModule,
|
|
1386
1386
|
deps: [],
|
|
@@ -1388,7 +1388,7 @@ class MatMenuModule {
|
|
|
1388
1388
|
});
|
|
1389
1389
|
static ɵmod = i0.ɵɵngDeclareNgModule({
|
|
1390
1390
|
minVersion: "14.0.0",
|
|
1391
|
-
version: "22.0.
|
|
1391
|
+
version: "22.0.7",
|
|
1392
1392
|
ngImport: i0,
|
|
1393
1393
|
type: MatMenuModule,
|
|
1394
1394
|
imports: [MatRippleModule, OverlayModule, MatMenu, MatMenuItem, MatMenuContent, MatMenuTrigger, MatContextMenuTrigger],
|
|
@@ -1396,7 +1396,7 @@ class MatMenuModule {
|
|
|
1396
1396
|
});
|
|
1397
1397
|
static ɵinj = i0.ɵɵngDeclareInjector({
|
|
1398
1398
|
minVersion: "12.0.0",
|
|
1399
|
-
version: "22.0.
|
|
1399
|
+
version: "22.0.7",
|
|
1400
1400
|
ngImport: i0,
|
|
1401
1401
|
type: MatMenuModule,
|
|
1402
1402
|
imports: [MatRippleModule, OverlayModule, BidiModule, CdkScrollableModule]
|
|
@@ -1404,7 +1404,7 @@ class MatMenuModule {
|
|
|
1404
1404
|
}
|
|
1405
1405
|
i0.ɵɵngDeclareClassMetadata({
|
|
1406
1406
|
minVersion: "12.0.0",
|
|
1407
|
-
version: "22.0.
|
|
1407
|
+
version: "22.0.7",
|
|
1408
1408
|
ngImport: i0,
|
|
1409
1409
|
type: MatMenuModule,
|
|
1410
1410
|
decorators: [{
|
package/fesm2022/paginator.mjs
CHANGED
|
@@ -22,6 +22,7 @@ import '@angular/cdk/keycodes';
|
|
|
22
22
|
import '@angular/cdk/overlay';
|
|
23
23
|
import '@angular/cdk/scrolling';
|
|
24
24
|
import '@angular/forms';
|
|
25
|
+
import '@angular/forms/signals';
|
|
25
26
|
import './_error-options-chunk.mjs';
|
|
26
27
|
import './_error-state-chunk.mjs';
|
|
27
28
|
import './form-field.mjs';
|
|
@@ -54,7 +55,7 @@ class MatPaginatorIntl {
|
|
|
54
55
|
};
|
|
55
56
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
56
57
|
minVersion: "12.0.0",
|
|
57
|
-
version: "22.0.
|
|
58
|
+
version: "22.0.7",
|
|
58
59
|
ngImport: i0,
|
|
59
60
|
type: MatPaginatorIntl,
|
|
60
61
|
deps: [],
|
|
@@ -62,14 +63,14 @@ class MatPaginatorIntl {
|
|
|
62
63
|
});
|
|
63
64
|
static ɵprov = i0.ɵɵngDeclareService({
|
|
64
65
|
minVersion: "22.0.0",
|
|
65
|
-
version: "22.0.
|
|
66
|
+
version: "22.0.7",
|
|
66
67
|
ngImport: i0,
|
|
67
68
|
type: MatPaginatorIntl
|
|
68
69
|
});
|
|
69
70
|
}
|
|
70
71
|
i0.ɵɵngDeclareClassMetadata({
|
|
71
72
|
minVersion: "12.0.0",
|
|
72
|
-
version: "22.0.
|
|
73
|
+
version: "22.0.7",
|
|
73
74
|
ngImport: i0,
|
|
74
75
|
type: MatPaginatorIntl,
|
|
75
76
|
decorators: [{
|
|
@@ -252,7 +253,7 @@ class MatPaginator {
|
|
|
252
253
|
}
|
|
253
254
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
254
255
|
minVersion: "12.0.0",
|
|
255
|
-
version: "22.0.
|
|
256
|
+
version: "22.0.7",
|
|
256
257
|
ngImport: i0,
|
|
257
258
|
type: MatPaginator,
|
|
258
259
|
deps: [],
|
|
@@ -260,7 +261,7 @@ class MatPaginator {
|
|
|
260
261
|
});
|
|
261
262
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
262
263
|
minVersion: "17.0.0",
|
|
263
|
-
version: "22.0.
|
|
264
|
+
version: "22.0.7",
|
|
264
265
|
type: MatPaginator,
|
|
265
266
|
isStandalone: true,
|
|
266
267
|
selector: "mat-paginator",
|
|
@@ -325,7 +326,7 @@ class MatPaginator {
|
|
|
325
326
|
}
|
|
326
327
|
i0.ɵɵngDeclareClassMetadata({
|
|
327
328
|
minVersion: "12.0.0",
|
|
328
|
-
version: "22.0.
|
|
329
|
+
version: "22.0.7",
|
|
329
330
|
ngImport: i0,
|
|
330
331
|
type: MatPaginator,
|
|
331
332
|
decorators: [{
|
|
@@ -399,7 +400,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
399
400
|
class MatPaginatorModule {
|
|
400
401
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
401
402
|
minVersion: "12.0.0",
|
|
402
|
-
version: "22.0.
|
|
403
|
+
version: "22.0.7",
|
|
403
404
|
ngImport: i0,
|
|
404
405
|
type: MatPaginatorModule,
|
|
405
406
|
deps: [],
|
|
@@ -407,7 +408,7 @@ class MatPaginatorModule {
|
|
|
407
408
|
});
|
|
408
409
|
static ɵmod = i0.ɵɵngDeclareNgModule({
|
|
409
410
|
minVersion: "14.0.0",
|
|
410
|
-
version: "22.0.
|
|
411
|
+
version: "22.0.7",
|
|
411
412
|
ngImport: i0,
|
|
412
413
|
type: MatPaginatorModule,
|
|
413
414
|
imports: [MatButtonModule, MatSelectModule, MatTooltipModule, MatPaginator],
|
|
@@ -415,7 +416,7 @@ class MatPaginatorModule {
|
|
|
415
416
|
});
|
|
416
417
|
static ɵinj = i0.ɵɵngDeclareInjector({
|
|
417
418
|
minVersion: "12.0.0",
|
|
418
|
-
version: "22.0.
|
|
419
|
+
version: "22.0.7",
|
|
419
420
|
ngImport: i0,
|
|
420
421
|
type: MatPaginatorModule,
|
|
421
422
|
imports: [MatButtonModule, MatSelectModule, MatTooltipModule, MatPaginator]
|
|
@@ -423,7 +424,7 @@ class MatPaginatorModule {
|
|
|
423
424
|
}
|
|
424
425
|
i0.ɵɵngDeclareClassMetadata({
|
|
425
426
|
minVersion: "12.0.0",
|
|
426
|
-
version: "22.0.
|
|
427
|
+
version: "22.0.7",
|
|
427
428
|
ngImport: i0,
|
|
428
429
|
type: MatPaginatorModule,
|
|
429
430
|
decorators: [{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"paginator.mjs","sources":["../../../../../darwin_arm64-fastbuild-ST-fdfa778d11ba/bin/src/material/paginator/paginator-intl.ts","../../../../../darwin_arm64-fastbuild-ST-fdfa778d11ba/bin/src/material/paginator/paginator.ts","../../../../../darwin_arm64-fastbuild-ST-fdfa778d11ba/bin/src/material/paginator/paginator.html","../../../../../darwin_arm64-fastbuild-ST-fdfa778d11ba/bin/src/material/paginator/paginator-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 {Service} from '@angular/core';\nimport {Subject} from 'rxjs';\n\n/**\n * To modify the labels and text displayed, create a new instance of MatPaginatorIntl and\n * include it in a custom provider\n */\n@Service()\nexport class MatPaginatorIntl {\n /**\n * Stream to emit from when labels are changed. Use this to notify components when the labels have\n * changed after initialization.\n */\n readonly changes: Subject<void> = new Subject<void>();\n\n /** A label for the page size selector. */\n itemsPerPageLabel: string = 'Items per page:';\n\n /** A label for the button that increments the current page. */\n nextPageLabel: string = 'Next page';\n\n /** A label for the button that decrements the current page. */\n previousPageLabel: string = 'Previous page';\n\n /** A label for the button that moves to the first page. */\n firstPageLabel: string = 'First page';\n\n /** A label for the button that moves to the last page. */\n lastPageLabel: string = 'Last page';\n\n /** A label for the range of items within the current page and the length of the whole list. */\n getRangeLabel: (page: number, pageSize: number, length: number) => string = (\n page: number,\n pageSize: number,\n length: number,\n ) => {\n if (length == 0 || pageSize == 0) {\n return `0 of ${length}`;\n }\n\n length = Math.max(length, 0);\n\n const startIndex = page * pageSize;\n\n // If the start index exceeds the list length, do not try and fix the end index to the end.\n const endIndex =\n startIndex < length ? Math.min(startIndex + pageSize, length) : startIndex + pageSize;\n\n return `${startIndex + 1} – ${endIndex} of ${length}`;\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 {\n ChangeDetectorRef,\n Component,\n EventEmitter,\n InjectionToken,\n Input,\n OnDestroy,\n OnInit,\n Output,\n ViewEncapsulation,\n booleanAttribute,\n inject,\n numberAttribute,\n} from '@angular/core';\nimport {_IdGenerator} from '@angular/cdk/a11y';\nimport {MatOption, ThemePalette} from '../core';\nimport {MatSelect} from '../select';\nimport {MatIconButton} from '../button';\nimport {MatTooltip} from '../tooltip';\nimport {MatFormField, MatFormFieldAppearance} from '../form-field';\nimport {Observable, ReplaySubject, Subscription} from 'rxjs';\nimport {MatPaginatorIntl} from './paginator-intl';\n\n/** The default page size if there is no page size and there are no provided page size options. */\nconst DEFAULT_PAGE_SIZE = 50;\n\n/** Object that can used to configure the underlying `MatSelect` inside a `MatPaginator`. */\nexport interface MatPaginatorSelectConfig {\n /** Whether to center the active option over the trigger. */\n disableOptionCentering?: boolean;\n\n /** Classes to be passed to the select panel. */\n panelClass?: string | string[] | Set<string> | {[key: string]: any};\n}\n\n/**\n * Change event object that is emitted when the user selects a\n * different page size or navigates to another page.\n */\nexport class PageEvent {\n /** The current page index. */\n pageIndex!: number;\n\n /**\n * Index of the page that was selected previously.\n * @breaking-change 8.0.0 To be made into a required property.\n */\n previousPageIndex?: number;\n\n /** The current page size. */\n pageSize!: number;\n\n /** The current total number of items being paged. */\n length!: number;\n}\n\n// Note that while `MatPaginatorDefaultOptions` and `MAT_PAGINATOR_DEFAULT_OPTIONS` are identical\n// between the MDC and non-MDC versions, we have to duplicate them, because the type of\n// `formFieldAppearance` is narrower in the MDC version.\n\n/** Object that can be used to configure the default options for the paginator module. */\nexport interface MatPaginatorDefaultOptions {\n /** Number of items to display on a page. By default set to 50. */\n pageSize?: number;\n\n /** The set of provided page size options to display to the user. */\n pageSizeOptions?: number[];\n\n /** Whether to hide the page size selection UI from the user. */\n hidePageSize?: boolean;\n\n /** Whether to show the first/last buttons UI to the user. */\n showFirstLastButtons?: boolean;\n\n /** The default form-field appearance to apply to the page size options selector. */\n formFieldAppearance?: MatFormFieldAppearance;\n}\n\n/** Injection token that can be used to provide the default options for the paginator module. */\nexport const MAT_PAGINATOR_DEFAULT_OPTIONS = new InjectionToken<MatPaginatorDefaultOptions>(\n 'MAT_PAGINATOR_DEFAULT_OPTIONS',\n);\n\n/**\n * Component to provide navigation between paged information. Displays the size of the current\n * page, user-selectable options to change that size, what items are being shown, and\n * navigational button to go to the previous or next page.\n */\n@Component({\n selector: 'mat-paginator',\n exportAs: 'matPaginator',\n templateUrl: 'paginator.html',\n styleUrl: 'paginator.css',\n host: {\n 'class': 'mat-mdc-paginator',\n 'role': 'group',\n },\n encapsulation: ViewEncapsulation.None,\n imports: [MatFormField, MatSelect, MatOption, MatIconButton, MatTooltip],\n})\nexport class MatPaginator implements OnInit, OnDestroy {\n _intl = inject(MatPaginatorIntl);\n private _changeDetectorRef = inject(ChangeDetectorRef);\n\n /** If set, styles the \"page size\" form field with the designated style. */\n _formFieldAppearance?: MatFormFieldAppearance;\n\n /** ID for the DOM node containing the paginator's items per page label. */\n readonly _pageSizeLabelId = inject(_IdGenerator).getId('mat-paginator-page-size-label-');\n\n private _intlChanges: Subscription;\n private _isInitialized = false;\n private _initializedStream = new ReplaySubject<void>(1);\n\n /**\n * Theme color of the underlying form controls. This API is supported in M2\n * themes only,it has no effect in M3 themes. For color customization in M3, see https://material.angular.dev/components/paginator/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() color: ThemePalette;\n\n /** The zero-based page index of the displayed list of items. Defaulted to 0. */\n @Input({transform: numberAttribute})\n get pageIndex(): number {\n return this._pageIndex;\n }\n set pageIndex(value: number) {\n this._pageIndex = Math.max(value || 0, 0);\n this._changeDetectorRef.markForCheck();\n }\n private _pageIndex = 0;\n\n /** The length of the total number of items that are being paginated. Defaulted to 0. */\n @Input({transform: numberAttribute})\n get length(): number {\n return this._length;\n }\n set length(value: number) {\n this._length = value || 0;\n this._changeDetectorRef.markForCheck();\n }\n private _length = 0;\n\n /** Number of items to display on a page. By default set to 50. */\n @Input({transform: numberAttribute})\n get pageSize(): number {\n return this._pageSize;\n }\n set pageSize(value: number) {\n this._pageSize = Math.max(value || 0, 0);\n this._updateDisplayedPageSizeOptions();\n }\n private _pageSize!: number;\n\n /** The set of provided page size options to display to the user. */\n @Input()\n get pageSizeOptions(): number[] {\n return this._pageSizeOptions;\n }\n set pageSizeOptions(value: number[] | readonly number[]) {\n this._pageSizeOptions = (value || ([] as number[])).map(p => numberAttribute(p, 0));\n this._updateDisplayedPageSizeOptions();\n }\n private _pageSizeOptions: number[] = [];\n\n /** Whether to hide the page size selection UI from the user. */\n @Input({transform: booleanAttribute})\n hidePageSize: boolean = false;\n\n /** Whether to show the first/last buttons UI to the user. */\n @Input({transform: booleanAttribute})\n showFirstLastButtons: boolean = false;\n\n /** Used to configure the underlying `MatSelect` inside the paginator. */\n @Input() selectConfig: MatPaginatorSelectConfig = {};\n\n /** Whether the paginator is disabled. */\n @Input({transform: booleanAttribute})\n disabled: boolean = false;\n\n /** Event emitted when the paginator changes the page size or page index. */\n @Output() readonly page: EventEmitter<PageEvent> = new EventEmitter<PageEvent>();\n\n /** Displayed set of page size options. Will be sorted and include current page size. */\n _displayedPageSizeOptions!: number[];\n\n /** Emits when the paginator is initialized. */\n initialized: Observable<void> = this._initializedStream;\n\n /** Inserted by Angular inject() migration for backwards compatibility */\n constructor() {\n const _intl = this._intl;\n const defaults = inject<MatPaginatorDefaultOptions>(MAT_PAGINATOR_DEFAULT_OPTIONS, {\n optional: true,\n });\n\n this._intlChanges = _intl.changes.subscribe(() => this._changeDetectorRef.markForCheck());\n\n if (defaults) {\n const {pageSize, pageSizeOptions, hidePageSize, showFirstLastButtons} = defaults;\n\n if (pageSize != null) {\n this._pageSize = pageSize;\n }\n\n if (pageSizeOptions != null) {\n this._pageSizeOptions = pageSizeOptions;\n }\n\n if (hidePageSize != null) {\n this.hidePageSize = hidePageSize;\n }\n\n if (showFirstLastButtons != null) {\n this.showFirstLastButtons = showFirstLastButtons;\n }\n }\n\n this._formFieldAppearance = defaults?.formFieldAppearance || 'outline';\n }\n\n ngOnInit() {\n this._isInitialized = true;\n this._updateDisplayedPageSizeOptions();\n this._initializedStream.next();\n }\n\n ngOnDestroy() {\n this._initializedStream.complete();\n this._intlChanges.unsubscribe();\n }\n\n /** Advances to the next page if it exists. */\n nextPage(): void {\n if (this.hasNextPage()) {\n this._navigate(this.pageIndex + 1);\n }\n }\n\n /** Move back to the previous page if it exists. */\n previousPage(): void {\n if (this.hasPreviousPage()) {\n this._navigate(this.pageIndex - 1);\n }\n }\n\n /** Move to the first page if not already there. */\n firstPage(): void {\n // hasPreviousPage being false implies at the start\n if (this.hasPreviousPage()) {\n this._navigate(0);\n }\n }\n\n /** Move to the last page if not already there. */\n lastPage(): void {\n // hasNextPage being false implies at the end\n if (this.hasNextPage()) {\n this._navigate(this.getNumberOfPages() - 1);\n }\n }\n\n /** Whether there is a previous page. */\n hasPreviousPage(): boolean {\n return this.pageIndex >= 1 && this.pageSize != 0;\n }\n\n /** Whether there is a next page. */\n hasNextPage(): boolean {\n const maxPageIndex = this.getNumberOfPages() - 1;\n return this.pageIndex < maxPageIndex && this.pageSize != 0;\n }\n\n /** Calculate the number of pages */\n getNumberOfPages(): number {\n if (!this.pageSize) {\n return 0;\n }\n\n return Math.ceil(this.length / this.pageSize);\n }\n\n /**\n * Changes the page size so that the first item displayed on the page will still be\n * displayed using the new page size.\n *\n * For example, if the page size is 10 and on the second page (items indexed 10-19) then\n * switching so that the page size is 5 will set the third page as the current page so\n * that the 10th item will still be displayed.\n */\n _changePageSize(pageSize: number) {\n // Current page needs to be updated to reflect the new page size. Navigate to the page\n // containing the previous page's first item.\n const startIndex = this.pageIndex * this.pageSize;\n const previousPageIndex = this.pageIndex;\n\n this.pageIndex = Math.floor(startIndex / pageSize) || 0;\n this.pageSize = pageSize;\n this._emitPageEvent(previousPageIndex);\n }\n\n /** Checks whether the buttons for going forwards should be disabled. */\n _nextButtonsDisabled() {\n return this.disabled || !this.hasNextPage();\n }\n\n /** Checks whether the buttons for going backwards should be disabled. */\n _previousButtonsDisabled() {\n return this.disabled || !this.hasPreviousPage();\n }\n\n /**\n * Updates the list of page size options to display to the user. Includes making sure that\n * the page size is an option and that the list is sorted.\n */\n private _updateDisplayedPageSizeOptions() {\n if (!this._isInitialized) {\n return;\n }\n\n // If no page size is provided, use the first page size option or the default page size.\n if (!this.pageSize) {\n this._pageSize =\n this.pageSizeOptions.length != 0 ? this.pageSizeOptions[0] : DEFAULT_PAGE_SIZE;\n }\n\n this._displayedPageSizeOptions = this.pageSizeOptions.slice();\n\n if (this._displayedPageSizeOptions.indexOf(this.pageSize) === -1) {\n this._displayedPageSizeOptions.push(this.pageSize);\n }\n\n // Sort the numbers using a number-specific sort function.\n this._displayedPageSizeOptions.sort((a, b) => a - b);\n this._changeDetectorRef.markForCheck();\n }\n\n /** Emits an event notifying that a change of the paginator's properties has been triggered. */\n private _emitPageEvent(previousPageIndex: number) {\n this.page.emit({\n previousPageIndex,\n pageIndex: this.pageIndex,\n pageSize: this.pageSize,\n length: this.length,\n });\n }\n\n /** Navigates to a specific page index. */\n private _navigate(index: number) {\n const previousIndex = this.pageIndex;\n\n if (index !== previousIndex) {\n this.pageIndex = index;\n this._emitPageEvent(previousIndex);\n }\n }\n\n /**\n * Callback invoked when one of the navigation buttons is called.\n * @param targetIndex Index to which the paginator should navigate.\n * @param isDisabled Whether the button is disabled.\n */\n protected _buttonClicked(targetIndex: number, isDisabled: boolean) {\n // Note that normally disabled buttons won't dispatch the click event, but the paginator ones\n // do, because we're using `disabledInteractive` to allow them to be focusable. We need to\n // check here to avoid the navigation.\n if (!isDisabled) {\n this._navigate(targetIndex);\n }\n }\n}\n","<div class=\"mat-mdc-paginator-outer-container\">\n <div class=\"mat-mdc-paginator-container\">\n @if (!hidePageSize) {\n <div class=\"mat-mdc-paginator-page-size\">\n <div class=\"mat-mdc-paginator-page-size-label\" [attr.id]=\"_pageSizeLabelId\" aria-hidden=\"true\">\n {{_intl.itemsPerPageLabel}}\n </div>\n\n @if (_displayedPageSizeOptions.length > 1) {\n <mat-form-field\n [appearance]=\"_formFieldAppearance!\"\n [color]=\"color\"\n class=\"mat-mdc-paginator-page-size-select\">\n <mat-select\n #selectRef\n [value]=\"pageSize\"\n [disabled]=\"disabled\"\n [aria-labelledby]=\"_pageSizeLabelId\"\n [panelClass]=\"selectConfig.panelClass || ''\"\n [disableOptionCentering]=\"selectConfig.disableOptionCentering\"\n (selectionChange)=\"_changePageSize($event.value)\"\n hideSingleSelectionIndicator>\n @for (pageSizeOption of _displayedPageSizeOptions; track pageSizeOption) {\n <mat-option [value]=\"pageSizeOption\">\n {{pageSizeOption}}\n </mat-option>\n }\n </mat-select>\n <div class=\"mat-mdc-paginator-touch-target\" (click)=\"selectRef.open()\"></div>\n </mat-form-field>\n }\n\n @if (_displayedPageSizeOptions.length <= 1) {\n <div class=\"mat-mdc-paginator-page-size-value\">{{pageSize}}</div>\n }\n </div>\n }\n\n <div class=\"mat-mdc-paginator-range-actions\">\n <div class=\"mat-mdc-paginator-range-label\" aria-atomic=\"true\" aria-live=\"polite\" role=\"status\">\n {{_intl.getRangeLabel(pageIndex, pageSize, length)}}\n </div>\n\n <!--\n The buttons use `disabledInteractive` so that they can retain focus if they become disabled,\n otherwise focus is moved to the document body. However, users should not be able to navigate\n into these buttons, so `tabindex` is set to -1 when disabled.\n -->\n\n @if (showFirstLastButtons) {\n <button matIconButton type=\"button\"\n class=\"mat-mdc-paginator-navigation-first\"\n (click)=\"_buttonClicked(0, _previousButtonsDisabled())\"\n [attr.aria-label]=\"_intl.firstPageLabel\"\n [matTooltip]=\"_intl.firstPageLabel\"\n [matTooltipDisabled]=\"_previousButtonsDisabled()\"\n matTooltipPosition=\"above\"\n [disabled]=\"_previousButtonsDisabled()\"\n [tabindex]=\"_previousButtonsDisabled() ? -1 : null\"\n disabledInteractive>\n <svg class=\"mat-mdc-paginator-icon\"\n viewBox=\"0 0 24 24\"\n focusable=\"false\"\n aria-hidden=\"true\">\n <path d=\"M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z\"/>\n </svg>\n </button>\n }\n <button matIconButton type=\"button\"\n class=\"mat-mdc-paginator-navigation-previous\"\n (click)=\"_buttonClicked(pageIndex - 1, _previousButtonsDisabled())\"\n [attr.aria-label]=\"_intl.previousPageLabel\"\n [matTooltip]=\"_intl.previousPageLabel\"\n [matTooltipDisabled]=\"_previousButtonsDisabled()\"\n matTooltipPosition=\"above\"\n [disabled]=\"_previousButtonsDisabled()\"\n [tabindex]=\"_previousButtonsDisabled() ? -1 : null\"\n disabledInteractive>\n <svg class=\"mat-mdc-paginator-icon\"\n viewBox=\"0 0 24 24\"\n focusable=\"false\"\n aria-hidden=\"true\">\n <path d=\"M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z\"/>\n </svg>\n </button>\n <button matIconButton type=\"button\"\n class=\"mat-mdc-paginator-navigation-next\"\n (click)=\"_buttonClicked(pageIndex + 1, _nextButtonsDisabled())\"\n [attr.aria-label]=\"_intl.nextPageLabel\"\n [matTooltip]=\"_intl.nextPageLabel\"\n [matTooltipDisabled]=\"_nextButtonsDisabled()\"\n matTooltipPosition=\"above\"\n [disabled]=\"_nextButtonsDisabled()\"\n [tabindex]=\"_nextButtonsDisabled() ? -1 : null\"\n disabledInteractive>\n <svg class=\"mat-mdc-paginator-icon\"\n viewBox=\"0 0 24 24\"\n focusable=\"false\"\n aria-hidden=\"true\">\n <path d=\"M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z\"/>\n </svg>\n </button>\n @if (showFirstLastButtons) {\n <button matIconButton type=\"button\"\n class=\"mat-mdc-paginator-navigation-last\"\n (click)=\"_buttonClicked(getNumberOfPages() - 1, _nextButtonsDisabled())\"\n [attr.aria-label]=\"_intl.lastPageLabel\"\n [matTooltip]=\"_intl.lastPageLabel\"\n [matTooltipDisabled]=\"_nextButtonsDisabled()\"\n matTooltipPosition=\"above\"\n [disabled]=\"_nextButtonsDisabled()\"\n [tabindex]=\"_nextButtonsDisabled() ? -1 : null\"\n disabledInteractive>\n <svg class=\"mat-mdc-paginator-icon\"\n viewBox=\"0 0 24 24\"\n focusable=\"false\"\n aria-hidden=\"true\">\n <path d=\"M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z\"/>\n </svg>\n </button>\n }\n </div>\n </div>\n</div>\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 {NgModule} from '@angular/core';\nimport {MatButtonModule} from '../button';\nimport {MatSelectModule} from '../select';\nimport {MatTooltipModule} from '../tooltip';\nimport {MatPaginator} from './paginator';\n\n@NgModule({\n imports: [MatButtonModule, MatSelectModule, MatTooltipModule, MatPaginator],\n exports: [MatPaginator],\n})\nexport class MatPaginatorModule {}\n"],"names":["MatPaginatorIntl","changes","Subject","itemsPerPageLabel","nextPageLabel","previousPageLabel","firstPageLabel","lastPageLabel","getRangeLabel","page","pageSize","length","Math","max","startIndex","endIndex","min","deps","target","i0","ɵɵFactoryTarget","Service","decorators","DEFAULT_PAGE_SIZE","PageEvent","pageIndex","previousPageIndex","MAT_PAGINATOR_DEFAULT_OPTIONS","InjectionToken","MatPaginator","_intl","inject","_changeDetectorRef","ChangeDetectorRef","_formFieldAppearance","_pageSizeLabelId","_IdGenerator","getId","_intlChanges","_isInitialized","_initializedStream","ReplaySubject","color","_pageIndex","value","markForCheck","_length","_pageSize","_updateDisplayedPageSizeOptions","pageSizeOptions","_pageSizeOptions","map","p","numberAttribute","hidePageSize","showFirstLastButtons","selectConfig","disabled","EventEmitter","_displayedPageSizeOptions","initialized","constructor","defaults","optional","subscribe","formFieldAppearance","ngOnInit","next","ngOnDestroy","complete","unsubscribe","nextPage","hasNextPage","_navigate","previousPage","hasPreviousPage","firstPage","lastPage","getNumberOfPages","maxPageIndex","ceil","_changePageSize","floor","_emitPageEvent","_nextButtonsDisabled","_previousButtonsDisabled","slice","indexOf","push","sort","a","b","emit","index","previousIndex","_buttonClicked","targetIndex","isDisabled","Component","isStandalone","selector","inputs","booleanAttribute","outputs","host","attributes","classAttribute","exportAs","ngImport","template","styles","dependencies","kind","type","MatFormField","MatSelect","MatOption","MatIconButton","MatTooltip","encapsulation","ViewEncapsulation","None","imports","Input","transform","Output","MatPaginatorModule","NgModule","MatButtonModule","MatSelectModule","MatTooltipModule","exports","ɵinj","ɵɵngDeclareInjector","minVersion","version","args"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAgBaA,gBAAgB,CAAA;AAKlBC,EAAAA,OAAO,GAAkB,IAAIC,OAAO,EAAQ;AAGrDC,EAAAA,iBAAiB,GAAW,iBAAiB;AAG7CC,EAAAA,aAAa,GAAW,WAAW;AAGnCC,EAAAA,iBAAiB,GAAW,eAAe;AAG3CC,EAAAA,cAAc,GAAW,YAAY;AAGrCC,EAAAA,aAAa,GAAW,WAAW;AAGnCC,EAAAA,aAAa,GAA+DA,CAC1EC,IAAY,EACZC,QAAgB,EAChBC,MAAc,KACZ;AACF,IAAA,IAAIA,MAAM,IAAI,CAAC,IAAID,QAAQ,IAAI,CAAC,EAAE;MAChC,OAAO,CAAA,KAAA,EAAQC,MAAM,CAAA,CAAE;AACzB,IAAA;IAEAA,MAAM,GAAGC,IAAI,CAACC,GAAG,CAACF,MAAM,EAAE,CAAC,CAAC;AAE5B,IAAA,MAAMG,UAAU,GAAGL,IAAI,GAAGC,QAAQ;AAGlC,IAAA,MAAMK,QAAQ,GACZD,UAAU,GAAGH,MAAM,GAAGC,IAAI,CAACI,GAAG,CAACF,UAAU,GAAGJ,QAAQ,EAAEC,MAAM,CAAC,GAAGG,UAAU,GAAGJ,QAAQ;IAEvF,OAAO,CAAA,EAAGI,UAAU,GAAG,CAAC,MAAMC,QAAQ,CAAA,IAAA,EAAOJ,MAAM,CAAA,CAAE;EACvD,CAAC;;;;;UAzCUX,gBAAgB;AAAAiB,IAAAA,IAAA,EAAA,EAAA;AAAAC,IAAAA,MAAA,EAAAC,EAAA,CAAAC,eAAA,CAAAC;AAAA,GAAA,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EAAA;AAAA8F,IAAAA,IAAA,EAAAa,kBAAkB;cAHnBE,eAAe,EAAEC,eAAe,EAAEC,gBAAgB,EAAErG,YAAY;AAAA,GAAA,CAAA;;;;;;QAG/DiG,kBAAkB;AAAAxG,EAAAA,UAAA,EAAA,CAAA;UAJ9ByG,QAAQ;AAACS,IAAAA,IAAA,EAAA,CAAA;MACRd,OAAO,EAAE,CAACM,eAAe,EAAEC,eAAe,EAAEC,gBAAgB,EAAErG,YAAY,CAAC;MAC3EsG,OAAO,EAAE,CAACtG,YAAY;KACvB;;;;;;"}
|
|
1
|
+
{"version":3,"file":"paginator.mjs","sources":["../../../../../darwin_arm64-fastbuild-ST-fdfa778d11ba/bin/src/material/paginator/paginator-intl.ts","../../../../../darwin_arm64-fastbuild-ST-fdfa778d11ba/bin/src/material/paginator/paginator.ts","../../../../../darwin_arm64-fastbuild-ST-fdfa778d11ba/bin/src/material/paginator/paginator.html","../../../../../darwin_arm64-fastbuild-ST-fdfa778d11ba/bin/src/material/paginator/paginator-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 {Service} from '@angular/core';\nimport {Subject} from 'rxjs';\n\n/**\n * To modify the labels and text displayed, create a new instance of MatPaginatorIntl and\n * include it in a custom provider\n */\n@Service()\nexport class MatPaginatorIntl {\n /**\n * Stream to emit from when labels are changed. Use this to notify components when the labels have\n * changed after initialization.\n */\n readonly changes: Subject<void> = new Subject<void>();\n\n /** A label for the page size selector. */\n itemsPerPageLabel: string = 'Items per page:';\n\n /** A label for the button that increments the current page. */\n nextPageLabel: string = 'Next page';\n\n /** A label for the button that decrements the current page. */\n previousPageLabel: string = 'Previous page';\n\n /** A label for the button that moves to the first page. */\n firstPageLabel: string = 'First page';\n\n /** A label for the button that moves to the last page. */\n lastPageLabel: string = 'Last page';\n\n /** A label for the range of items within the current page and the length of the whole list. */\n getRangeLabel: (page: number, pageSize: number, length: number) => string = (\n page: number,\n pageSize: number,\n length: number,\n ) => {\n if (length == 0 || pageSize == 0) {\n return `0 of ${length}`;\n }\n\n length = Math.max(length, 0);\n\n const startIndex = page * pageSize;\n\n // If the start index exceeds the list length, do not try and fix the end index to the end.\n const endIndex =\n startIndex < length ? Math.min(startIndex + pageSize, length) : startIndex + pageSize;\n\n return `${startIndex + 1} – ${endIndex} of ${length}`;\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 {\n ChangeDetectorRef,\n Component,\n EventEmitter,\n InjectionToken,\n Input,\n OnDestroy,\n OnInit,\n Output,\n ViewEncapsulation,\n booleanAttribute,\n inject,\n numberAttribute,\n} from '@angular/core';\nimport {_IdGenerator} from '@angular/cdk/a11y';\nimport {MatOption, ThemePalette} from '../core';\nimport {MatSelect} from '../select';\nimport {MatIconButton} from '../button';\nimport {MatTooltip} from '../tooltip';\nimport {MatFormField, MatFormFieldAppearance} from '../form-field';\nimport {Observable, ReplaySubject, Subscription} from 'rxjs';\nimport {MatPaginatorIntl} from './paginator-intl';\n\n/** The default page size if there is no page size and there are no provided page size options. */\nconst DEFAULT_PAGE_SIZE = 50;\n\n/** Object that can used to configure the underlying `MatSelect` inside a `MatPaginator`. */\nexport interface MatPaginatorSelectConfig {\n /** Whether to center the active option over the trigger. */\n disableOptionCentering?: boolean;\n\n /** Classes to be passed to the select panel. */\n panelClass?: string | string[] | Set<string> | {[key: string]: any};\n}\n\n/**\n * Change event object that is emitted when the user selects a\n * different page size or navigates to another page.\n */\nexport class PageEvent {\n /** The current page index. */\n pageIndex!: number;\n\n /**\n * Index of the page that was selected previously.\n * @breaking-change 8.0.0 To be made into a required property.\n */\n previousPageIndex?: number;\n\n /** The current page size. */\n pageSize!: number;\n\n /** The current total number of items being paged. */\n length!: number;\n}\n\n// Note that while `MatPaginatorDefaultOptions` and `MAT_PAGINATOR_DEFAULT_OPTIONS` are identical\n// between the MDC and non-MDC versions, we have to duplicate them, because the type of\n// `formFieldAppearance` is narrower in the MDC version.\n\n/** Object that can be used to configure the default options for the paginator module. */\nexport interface MatPaginatorDefaultOptions {\n /** Number of items to display on a page. By default set to 50. */\n pageSize?: number;\n\n /** The set of provided page size options to display to the user. */\n pageSizeOptions?: number[];\n\n /** Whether to hide the page size selection UI from the user. */\n hidePageSize?: boolean;\n\n /** Whether to show the first/last buttons UI to the user. */\n showFirstLastButtons?: boolean;\n\n /** The default form-field appearance to apply to the page size options selector. */\n formFieldAppearance?: MatFormFieldAppearance;\n}\n\n/** Injection token that can be used to provide the default options for the paginator module. */\nexport const MAT_PAGINATOR_DEFAULT_OPTIONS = new InjectionToken<MatPaginatorDefaultOptions>(\n 'MAT_PAGINATOR_DEFAULT_OPTIONS',\n);\n\n/**\n * Component to provide navigation between paged information. Displays the size of the current\n * page, user-selectable options to change that size, what items are being shown, and\n * navigational button to go to the previous or next page.\n */\n@Component({\n selector: 'mat-paginator',\n exportAs: 'matPaginator',\n templateUrl: 'paginator.html',\n styleUrl: 'paginator.css',\n host: {\n 'class': 'mat-mdc-paginator',\n 'role': 'group',\n },\n encapsulation: ViewEncapsulation.None,\n imports: [MatFormField, MatSelect, MatOption, MatIconButton, MatTooltip],\n})\nexport class MatPaginator implements OnInit, OnDestroy {\n _intl = inject(MatPaginatorIntl);\n private _changeDetectorRef = inject(ChangeDetectorRef);\n\n /** If set, styles the \"page size\" form field with the designated style. */\n _formFieldAppearance?: MatFormFieldAppearance;\n\n /** ID for the DOM node containing the paginator's items per page label. */\n readonly _pageSizeLabelId = inject(_IdGenerator).getId('mat-paginator-page-size-label-');\n\n private _intlChanges: Subscription;\n private _isInitialized = false;\n private _initializedStream = new ReplaySubject<void>(1);\n\n /**\n * Theme color of the underlying form controls. This API is supported in M2\n * themes only,it has no effect in M3 themes. For color customization in M3, see https://material.angular.dev/components/paginator/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() color: ThemePalette;\n\n /** The zero-based page index of the displayed list of items. Defaulted to 0. */\n @Input({transform: numberAttribute})\n get pageIndex(): number {\n return this._pageIndex;\n }\n set pageIndex(value: number) {\n this._pageIndex = Math.max(value || 0, 0);\n this._changeDetectorRef.markForCheck();\n }\n private _pageIndex = 0;\n\n /** The length of the total number of items that are being paginated. Defaulted to 0. */\n @Input({transform: numberAttribute})\n get length(): number {\n return this._length;\n }\n set length(value: number) {\n this._length = value || 0;\n this._changeDetectorRef.markForCheck();\n }\n private _length = 0;\n\n /** Number of items to display on a page. By default set to 50. */\n @Input({transform: numberAttribute})\n get pageSize(): number {\n return this._pageSize;\n }\n set pageSize(value: number) {\n this._pageSize = Math.max(value || 0, 0);\n this._updateDisplayedPageSizeOptions();\n }\n private _pageSize!: number;\n\n /** The set of provided page size options to display to the user. */\n @Input()\n get pageSizeOptions(): number[] {\n return this._pageSizeOptions;\n }\n set pageSizeOptions(value: number[] | readonly number[]) {\n this._pageSizeOptions = (value || ([] as number[])).map(p => numberAttribute(p, 0));\n this._updateDisplayedPageSizeOptions();\n }\n private _pageSizeOptions: number[] = [];\n\n /** Whether to hide the page size selection UI from the user. */\n @Input({transform: booleanAttribute})\n hidePageSize: boolean = false;\n\n /** Whether to show the first/last buttons UI to the user. */\n @Input({transform: booleanAttribute})\n showFirstLastButtons: boolean = false;\n\n /** Used to configure the underlying `MatSelect` inside the paginator. */\n @Input() selectConfig: MatPaginatorSelectConfig = {};\n\n /** Whether the paginator is disabled. */\n @Input({transform: booleanAttribute})\n disabled: boolean = false;\n\n /** Event emitted when the paginator changes the page size or page index. */\n @Output() readonly page: EventEmitter<PageEvent> = new EventEmitter<PageEvent>();\n\n /** Displayed set of page size options. Will be sorted and include current page size. */\n _displayedPageSizeOptions!: number[];\n\n /** Emits when the paginator is initialized. */\n initialized: Observable<void> = this._initializedStream;\n\n /** Inserted by Angular inject() migration for backwards compatibility */\n constructor() {\n const _intl = this._intl;\n const defaults = inject<MatPaginatorDefaultOptions>(MAT_PAGINATOR_DEFAULT_OPTIONS, {\n optional: true,\n });\n\n this._intlChanges = _intl.changes.subscribe(() => this._changeDetectorRef.markForCheck());\n\n if (defaults) {\n const {pageSize, pageSizeOptions, hidePageSize, showFirstLastButtons} = defaults;\n\n if (pageSize != null) {\n this._pageSize = pageSize;\n }\n\n if (pageSizeOptions != null) {\n this._pageSizeOptions = pageSizeOptions;\n }\n\n if (hidePageSize != null) {\n this.hidePageSize = hidePageSize;\n }\n\n if (showFirstLastButtons != null) {\n this.showFirstLastButtons = showFirstLastButtons;\n }\n }\n\n this._formFieldAppearance = defaults?.formFieldAppearance || 'outline';\n }\n\n ngOnInit() {\n this._isInitialized = true;\n this._updateDisplayedPageSizeOptions();\n this._initializedStream.next();\n }\n\n ngOnDestroy() {\n this._initializedStream.complete();\n this._intlChanges.unsubscribe();\n }\n\n /** Advances to the next page if it exists. */\n nextPage(): void {\n if (this.hasNextPage()) {\n this._navigate(this.pageIndex + 1);\n }\n }\n\n /** Move back to the previous page if it exists. */\n previousPage(): void {\n if (this.hasPreviousPage()) {\n this._navigate(this.pageIndex - 1);\n }\n }\n\n /** Move to the first page if not already there. */\n firstPage(): void {\n // hasPreviousPage being false implies at the start\n if (this.hasPreviousPage()) {\n this._navigate(0);\n }\n }\n\n /** Move to the last page if not already there. */\n lastPage(): void {\n // hasNextPage being false implies at the end\n if (this.hasNextPage()) {\n this._navigate(this.getNumberOfPages() - 1);\n }\n }\n\n /** Whether there is a previous page. */\n hasPreviousPage(): boolean {\n return this.pageIndex >= 1 && this.pageSize != 0;\n }\n\n /** Whether there is a next page. */\n hasNextPage(): boolean {\n const maxPageIndex = this.getNumberOfPages() - 1;\n return this.pageIndex < maxPageIndex && this.pageSize != 0;\n }\n\n /** Calculate the number of pages */\n getNumberOfPages(): number {\n if (!this.pageSize) {\n return 0;\n }\n\n return Math.ceil(this.length / this.pageSize);\n }\n\n /**\n * Changes the page size so that the first item displayed on the page will still be\n * displayed using the new page size.\n *\n * For example, if the page size is 10 and on the second page (items indexed 10-19) then\n * switching so that the page size is 5 will set the third page as the current page so\n * that the 10th item will still be displayed.\n */\n _changePageSize(pageSize: number) {\n // Current page needs to be updated to reflect the new page size. Navigate to the page\n // containing the previous page's first item.\n const startIndex = this.pageIndex * this.pageSize;\n const previousPageIndex = this.pageIndex;\n\n this.pageIndex = Math.floor(startIndex / pageSize) || 0;\n this.pageSize = pageSize;\n this._emitPageEvent(previousPageIndex);\n }\n\n /** Checks whether the buttons for going forwards should be disabled. */\n _nextButtonsDisabled() {\n return this.disabled || !this.hasNextPage();\n }\n\n /** Checks whether the buttons for going backwards should be disabled. */\n _previousButtonsDisabled() {\n return this.disabled || !this.hasPreviousPage();\n }\n\n /**\n * Updates the list of page size options to display to the user. Includes making sure that\n * the page size is an option and that the list is sorted.\n */\n private _updateDisplayedPageSizeOptions() {\n if (!this._isInitialized) {\n return;\n }\n\n // If no page size is provided, use the first page size option or the default page size.\n if (!this.pageSize) {\n this._pageSize =\n this.pageSizeOptions.length != 0 ? this.pageSizeOptions[0] : DEFAULT_PAGE_SIZE;\n }\n\n this._displayedPageSizeOptions = this.pageSizeOptions.slice();\n\n if (this._displayedPageSizeOptions.indexOf(this.pageSize) === -1) {\n this._displayedPageSizeOptions.push(this.pageSize);\n }\n\n // Sort the numbers using a number-specific sort function.\n this._displayedPageSizeOptions.sort((a, b) => a - b);\n this._changeDetectorRef.markForCheck();\n }\n\n /** Emits an event notifying that a change of the paginator's properties has been triggered. */\n private _emitPageEvent(previousPageIndex: number) {\n this.page.emit({\n previousPageIndex,\n pageIndex: this.pageIndex,\n pageSize: this.pageSize,\n length: this.length,\n });\n }\n\n /** Navigates to a specific page index. */\n private _navigate(index: number) {\n const previousIndex = this.pageIndex;\n\n if (index !== previousIndex) {\n this.pageIndex = index;\n this._emitPageEvent(previousIndex);\n }\n }\n\n /**\n * Callback invoked when one of the navigation buttons is called.\n * @param targetIndex Index to which the paginator should navigate.\n * @param isDisabled Whether the button is disabled.\n */\n protected _buttonClicked(targetIndex: number, isDisabled: boolean) {\n // Note that normally disabled buttons won't dispatch the click event, but the paginator ones\n // do, because we're using `disabledInteractive` to allow them to be focusable. We need to\n // check here to avoid the navigation.\n if (!isDisabled) {\n this._navigate(targetIndex);\n }\n }\n}\n","<div class=\"mat-mdc-paginator-outer-container\">\n <div class=\"mat-mdc-paginator-container\">\n @if (!hidePageSize) {\n <div class=\"mat-mdc-paginator-page-size\">\n <div class=\"mat-mdc-paginator-page-size-label\" [attr.id]=\"_pageSizeLabelId\" aria-hidden=\"true\">\n {{_intl.itemsPerPageLabel}}\n </div>\n\n @if (_displayedPageSizeOptions.length > 1) {\n <mat-form-field\n [appearance]=\"_formFieldAppearance!\"\n [color]=\"color\"\n class=\"mat-mdc-paginator-page-size-select\">\n <mat-select\n #selectRef\n [value]=\"pageSize\"\n [disabled]=\"disabled\"\n [aria-labelledby]=\"_pageSizeLabelId\"\n [panelClass]=\"selectConfig.panelClass || ''\"\n [disableOptionCentering]=\"selectConfig.disableOptionCentering\"\n (selectionChange)=\"_changePageSize($event.value)\"\n hideSingleSelectionIndicator>\n @for (pageSizeOption of _displayedPageSizeOptions; track pageSizeOption) {\n <mat-option [value]=\"pageSizeOption\">\n {{pageSizeOption}}\n </mat-option>\n }\n </mat-select>\n <div class=\"mat-mdc-paginator-touch-target\" (click)=\"selectRef.open()\"></div>\n </mat-form-field>\n }\n\n @if (_displayedPageSizeOptions.length <= 1) {\n <div class=\"mat-mdc-paginator-page-size-value\">{{pageSize}}</div>\n }\n </div>\n }\n\n <div class=\"mat-mdc-paginator-range-actions\">\n <div class=\"mat-mdc-paginator-range-label\" aria-atomic=\"true\" aria-live=\"polite\" role=\"status\">\n {{_intl.getRangeLabel(pageIndex, pageSize, length)}}\n </div>\n\n <!--\n The buttons use `disabledInteractive` so that they can retain focus if they become disabled,\n otherwise focus is moved to the document body. However, users should not be able to navigate\n into these buttons, so `tabindex` is set to -1 when disabled.\n -->\n\n @if (showFirstLastButtons) {\n <button matIconButton type=\"button\"\n class=\"mat-mdc-paginator-navigation-first\"\n (click)=\"_buttonClicked(0, _previousButtonsDisabled())\"\n [attr.aria-label]=\"_intl.firstPageLabel\"\n [matTooltip]=\"_intl.firstPageLabel\"\n [matTooltipDisabled]=\"_previousButtonsDisabled()\"\n matTooltipPosition=\"above\"\n [disabled]=\"_previousButtonsDisabled()\"\n [tabindex]=\"_previousButtonsDisabled() ? -1 : null\"\n disabledInteractive>\n <svg class=\"mat-mdc-paginator-icon\"\n viewBox=\"0 0 24 24\"\n focusable=\"false\"\n aria-hidden=\"true\">\n <path d=\"M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z\"/>\n </svg>\n </button>\n }\n <button matIconButton type=\"button\"\n class=\"mat-mdc-paginator-navigation-previous\"\n (click)=\"_buttonClicked(pageIndex - 1, _previousButtonsDisabled())\"\n [attr.aria-label]=\"_intl.previousPageLabel\"\n [matTooltip]=\"_intl.previousPageLabel\"\n [matTooltipDisabled]=\"_previousButtonsDisabled()\"\n matTooltipPosition=\"above\"\n [disabled]=\"_previousButtonsDisabled()\"\n [tabindex]=\"_previousButtonsDisabled() ? -1 : null\"\n disabledInteractive>\n <svg class=\"mat-mdc-paginator-icon\"\n viewBox=\"0 0 24 24\"\n focusable=\"false\"\n aria-hidden=\"true\">\n <path d=\"M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z\"/>\n </svg>\n </button>\n <button matIconButton type=\"button\"\n class=\"mat-mdc-paginator-navigation-next\"\n (click)=\"_buttonClicked(pageIndex + 1, _nextButtonsDisabled())\"\n [attr.aria-label]=\"_intl.nextPageLabel\"\n [matTooltip]=\"_intl.nextPageLabel\"\n [matTooltipDisabled]=\"_nextButtonsDisabled()\"\n matTooltipPosition=\"above\"\n [disabled]=\"_nextButtonsDisabled()\"\n [tabindex]=\"_nextButtonsDisabled() ? -1 : null\"\n disabledInteractive>\n <svg class=\"mat-mdc-paginator-icon\"\n viewBox=\"0 0 24 24\"\n focusable=\"false\"\n aria-hidden=\"true\">\n <path d=\"M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z\"/>\n </svg>\n </button>\n @if (showFirstLastButtons) {\n <button matIconButton type=\"button\"\n class=\"mat-mdc-paginator-navigation-last\"\n (click)=\"_buttonClicked(getNumberOfPages() - 1, _nextButtonsDisabled())\"\n [attr.aria-label]=\"_intl.lastPageLabel\"\n [matTooltip]=\"_intl.lastPageLabel\"\n [matTooltipDisabled]=\"_nextButtonsDisabled()\"\n matTooltipPosition=\"above\"\n [disabled]=\"_nextButtonsDisabled()\"\n [tabindex]=\"_nextButtonsDisabled() ? -1 : null\"\n disabledInteractive>\n <svg class=\"mat-mdc-paginator-icon\"\n viewBox=\"0 0 24 24\"\n focusable=\"false\"\n aria-hidden=\"true\">\n <path d=\"M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z\"/>\n </svg>\n </button>\n }\n </div>\n </div>\n</div>\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 {NgModule} from '@angular/core';\nimport {MatButtonModule} from '../button';\nimport {MatSelectModule} from '../select';\nimport {MatTooltipModule} from '../tooltip';\nimport {MatPaginator} from './paginator';\n\n@NgModule({\n imports: [MatButtonModule, MatSelectModule, MatTooltipModule, MatPaginator],\n exports: [MatPaginator],\n})\nexport class MatPaginatorModule {}\n"],"names":["MatPaginatorIntl","changes","Subject","itemsPerPageLabel","nextPageLabel","previousPageLabel","firstPageLabel","lastPageLabel","getRangeLabel","page","pageSize","length","Math","max","startIndex","endIndex","min","deps","target","i0","ɵɵFactoryTarget","Service","decorators","DEFAULT_PAGE_SIZE","PageEvent","pageIndex","previousPageIndex","MAT_PAGINATOR_DEFAULT_OPTIONS","InjectionToken","MatPaginator","_intl","inject","_changeDetectorRef","ChangeDetectorRef","_formFieldAppearance","_pageSizeLabelId","_IdGenerator","getId","_intlChanges","_isInitialized","_initializedStream","ReplaySubject","color","_pageIndex","value","markForCheck","_length","_pageSize","_updateDisplayedPageSizeOptions","pageSizeOptions","_pageSizeOptions","map","p","numberAttribute","hidePageSize","showFirstLastButtons","selectConfig","disabled","EventEmitter","_displayedPageSizeOptions","initialized","constructor","defaults","optional","subscribe","formFieldAppearance","ngOnInit","next","ngOnDestroy","complete","unsubscribe","nextPage","hasNextPage","_navigate","previousPage","hasPreviousPage","firstPage","lastPage","getNumberOfPages","maxPageIndex","ceil","_changePageSize","floor","_emitPageEvent","_nextButtonsDisabled","_previousButtonsDisabled","slice","indexOf","push","sort","a","b","emit","index","previousIndex","_buttonClicked","targetIndex","isDisabled","Component","isStandalone","selector","inputs","booleanAttribute","outputs","host","attributes","classAttribute","exportAs","ngImport","template","styles","dependencies","kind","type","MatFormField","MatSelect","MatOption","MatIconButton","MatTooltip","encapsulation","ViewEncapsulation","None","imports","Input","transform","Output","MatPaginatorModule","NgModule","MatButtonModule","MatSelectModule","MatTooltipModule","exports","ɵinj","ɵɵngDeclareInjector","minVersion","version","args"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAgBaA,gBAAgB,CAAA;AAKlBC,EAAAA,OAAO,GAAkB,IAAIC,OAAO,EAAQ;AAGrDC,EAAAA,iBAAiB,GAAW,iBAAiB;AAG7CC,EAAAA,aAAa,GAAW,WAAW;AAGnCC,EAAAA,iBAAiB,GAAW,eAAe;AAG3CC,EAAAA,cAAc,GAAW,YAAY;AAGrCC,EAAAA,aAAa,GAAW,WAAW;AAGnCC,EAAAA,aAAa,GAA+DA,CAC1EC,IAAY,EACZC,QAAgB,EAChBC,MAAc,KACZ;AACF,IAAA,IAAIA,MAAM,IAAI,CAAC,IAAID,QAAQ,IAAI,CAAC,EAAE;MAChC,OAAO,CAAA,KAAA,EAAQC,MAAM,CAAA,C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;aAAC;AAACC,QAAAA,SAAS,EAAEtB;OAAiB;;;YAInCuB;;;;;ME7KUC,kBAAkB,CAAA;;;;;UAAlBA,kBAAkB;AAAA7G,IAAAA,IAAA,EAAA,EAAA;AAAAC,IAAAA,MAAA,EAAAC,EAAA,CAAAC,eAAA,CAAA2G;AAAA,GAAA,CAAA;;;;;UAAlBD,kBAAkB;IAAAJ,OAAA,EAAA,CAHnBM,eAAe,EAAEC,eAAe,EAAEC,gBAAgB,EAAErG,YAAY,CAAA;IAAAsG,OAAA,EAAA,CAChEtG,YAAY;AAAA,GAAA,CAAA;AAEX,EAAA,OAAAuG,IAAA,GAAAjH,EAAA,CAAAkH,mBAAA,CAAA;AAAAC,IAAAA,UAAA,EAAA,QAAA;AAAAC,IAAAA,OAAA,EAAA,QAAA;AAAA3B,IAAAA,QAAA,EAAAzF,EAAA;AAAA8F,IAAAA,IAAA,EAAAa,kBAAkB;cAHnBE,eAAe,EAAEC,eAAe,EAAEC,gBAAgB,EAAErG,YAAY;AAAA,GAAA,CAAA;;;;;;QAG/DiG,kBAAkB;AAAAxG,EAAAA,UAAA,EAAA,CAAA;UAJ9ByG,QAAQ;AAACS,IAAAA,IAAA,EAAA,CAAA;MACRd,OAAO,EAAE,CAACM,eAAe,EAAEC,eAAe,EAAEC,gBAAgB,EAAErG,YAAY,CAAC;MAC3EsG,OAAO,EAAE,CAACtG,YAAY;KACvB;;;;;;"}
|
|
@@ -100,7 +100,7 @@ class MatProgressBar {
|
|
|
100
100
|
};
|
|
101
101
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
102
102
|
minVersion: "12.0.0",
|
|
103
|
-
version: "22.0.
|
|
103
|
+
version: "22.0.7",
|
|
104
104
|
ngImport: i0,
|
|
105
105
|
type: MatProgressBar,
|
|
106
106
|
deps: [],
|
|
@@ -108,7 +108,7 @@ class MatProgressBar {
|
|
|
108
108
|
});
|
|
109
109
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
110
110
|
minVersion: "17.0.0",
|
|
111
|
-
version: "22.0.
|
|
111
|
+
version: "22.0.7",
|
|
112
112
|
type: MatProgressBar,
|
|
113
113
|
isStandalone: true,
|
|
114
114
|
selector: "mat-progress-bar",
|
|
@@ -147,7 +147,7 @@ class MatProgressBar {
|
|
|
147
147
|
}
|
|
148
148
|
i0.ɵɵngDeclareClassMetadata({
|
|
149
149
|
minVersion: "12.0.0",
|
|
150
|
-
version: "22.0.
|
|
150
|
+
version: "22.0.7",
|
|
151
151
|
ngImport: i0,
|
|
152
152
|
type: MatProgressBar,
|
|
153
153
|
decorators: [{
|
|
@@ -205,7 +205,7 @@ function clamp(v, min = 0, max = 100) {
|
|
|
205
205
|
class MatProgressBarModule {
|
|
206
206
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
207
207
|
minVersion: "12.0.0",
|
|
208
|
-
version: "22.0.
|
|
208
|
+
version: "22.0.7",
|
|
209
209
|
ngImport: i0,
|
|
210
210
|
type: MatProgressBarModule,
|
|
211
211
|
deps: [],
|
|
@@ -213,7 +213,7 @@ class MatProgressBarModule {
|
|
|
213
213
|
});
|
|
214
214
|
static ɵmod = i0.ɵɵngDeclareNgModule({
|
|
215
215
|
minVersion: "14.0.0",
|
|
216
|
-
version: "22.0.
|
|
216
|
+
version: "22.0.7",
|
|
217
217
|
ngImport: i0,
|
|
218
218
|
type: MatProgressBarModule,
|
|
219
219
|
imports: [MatProgressBar],
|
|
@@ -221,7 +221,7 @@ class MatProgressBarModule {
|
|
|
221
221
|
});
|
|
222
222
|
static ɵinj = i0.ɵɵngDeclareInjector({
|
|
223
223
|
minVersion: "12.0.0",
|
|
224
|
-
version: "22.0.
|
|
224
|
+
version: "22.0.7",
|
|
225
225
|
ngImport: i0,
|
|
226
226
|
type: MatProgressBarModule,
|
|
227
227
|
imports: [BidiModule]
|
|
@@ -229,7 +229,7 @@ class MatProgressBarModule {
|
|
|
229
229
|
}
|
|
230
230
|
i0.ɵɵngDeclareClassMetadata({
|
|
231
231
|
minVersion: "12.0.0",
|
|
232
|
-
version: "22.0.
|
|
232
|
+
version: "22.0.7",
|
|
233
233
|
ngImport: i0,
|
|
234
234
|
type: MatProgressBarModule,
|
|
235
235
|
decorators: [{
|
|
@@ -89,7 +89,7 @@ class MatProgressSpinner {
|
|
|
89
89
|
}
|
|
90
90
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
91
91
|
minVersion: "12.0.0",
|
|
92
|
-
version: "22.0.
|
|
92
|
+
version: "22.0.7",
|
|
93
93
|
ngImport: i0,
|
|
94
94
|
type: MatProgressSpinner,
|
|
95
95
|
deps: [],
|
|
@@ -97,7 +97,7 @@ class MatProgressSpinner {
|
|
|
97
97
|
});
|
|
98
98
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
99
99
|
minVersion: "16.1.0",
|
|
100
|
-
version: "22.0.
|
|
100
|
+
version: "22.0.7",
|
|
101
101
|
type: MatProgressSpinner,
|
|
102
102
|
isStandalone: true,
|
|
103
103
|
selector: "mat-progress-spinner, mat-spinner",
|
|
@@ -149,7 +149,7 @@ class MatProgressSpinner {
|
|
|
149
149
|
}
|
|
150
150
|
i0.ɵɵngDeclareClassMetadata({
|
|
151
151
|
minVersion: "12.0.0",
|
|
152
|
-
version: "22.0.
|
|
152
|
+
version: "22.0.7",
|
|
153
153
|
ngImport: i0,
|
|
154
154
|
type: MatProgressSpinner,
|
|
155
155
|
decorators: [{
|
|
@@ -216,7 +216,7 @@ const MatSpinner = MatProgressSpinner;
|
|
|
216
216
|
class MatProgressSpinnerModule {
|
|
217
217
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
218
218
|
minVersion: "12.0.0",
|
|
219
|
-
version: "22.0.
|
|
219
|
+
version: "22.0.7",
|
|
220
220
|
ngImport: i0,
|
|
221
221
|
type: MatProgressSpinnerModule,
|
|
222
222
|
deps: [],
|
|
@@ -224,7 +224,7 @@ class MatProgressSpinnerModule {
|
|
|
224
224
|
});
|
|
225
225
|
static ɵmod = i0.ɵɵngDeclareNgModule({
|
|
226
226
|
minVersion: "14.0.0",
|
|
227
|
-
version: "22.0.
|
|
227
|
+
version: "22.0.7",
|
|
228
228
|
ngImport: i0,
|
|
229
229
|
type: MatProgressSpinnerModule,
|
|
230
230
|
imports: [MatProgressSpinner, MatSpinner],
|
|
@@ -232,7 +232,7 @@ class MatProgressSpinnerModule {
|
|
|
232
232
|
});
|
|
233
233
|
static ɵinj = i0.ɵɵngDeclareInjector({
|
|
234
234
|
minVersion: "12.0.0",
|
|
235
|
-
version: "22.0.
|
|
235
|
+
version: "22.0.7",
|
|
236
236
|
ngImport: i0,
|
|
237
237
|
type: MatProgressSpinnerModule,
|
|
238
238
|
imports: [BidiModule]
|
|
@@ -240,7 +240,7 @@ class MatProgressSpinnerModule {
|
|
|
240
240
|
}
|
|
241
241
|
i0.ɵɵngDeclareClassMetadata({
|
|
242
242
|
minVersion: "12.0.0",
|
|
243
|
-
version: "22.0.
|
|
243
|
+
version: "22.0.7",
|
|
244
244
|
ngImport: i0,
|
|
245
245
|
type: MatProgressSpinnerModule,
|
|
246
246
|
decorators: [{
|