@angular/material 22.0.0-next.5 → 22.0.0-next.7
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 +21 -21
- package/fesm2022/_error-options-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 +3 -3
- package/fesm2022/_line-chunk.mjs +7 -7
- package/fesm2022/_option-chunk.mjs +6 -6
- package/fesm2022/_option-module-chunk.mjs +4 -4
- package/fesm2022/_pseudo-checkbox-chunk.mjs +3 -3
- package/fesm2022/_pseudo-checkbox-module-chunk.mjs +4 -4
- package/fesm2022/_ripple-chunk.mjs +6 -6
- package/fesm2022/_ripple-loader-chunk.mjs +9 -13
- package/fesm2022/_ripple-loader-chunk.mjs.map +1 -1
- package/fesm2022/_ripple-module-chunk.mjs +4 -4
- package/fesm2022/_structural-styles-chunk.mjs +3 -3
- package/fesm2022/_tooltip-chunk.mjs +6 -6
- package/fesm2022/autocomplete.mjs +13 -13
- package/fesm2022/badge.mjs +10 -10
- package/fesm2022/bottom-sheet.mjs +17 -20
- package/fesm2022/bottom-sheet.mjs.map +1 -1
- package/fesm2022/button-toggle.mjs +10 -10
- package/fesm2022/button.mjs +13 -13
- package/fesm2022/card.mjs +46 -46
- package/fesm2022/checkbox.mjs +7 -7
- package/fesm2022/chips.mjs +46 -46
- package/fesm2022/core.mjs +22 -18
- package/fesm2022/core.mjs.map +1 -1
- package/fesm2022/datepicker.mjs +88 -92
- package/fesm2022/datepicker.mjs.map +1 -1
- package/fesm2022/dialog.mjs +32 -35
- package/fesm2022/dialog.mjs.map +1 -1
- package/fesm2022/divider.mjs +7 -7
- package/fesm2022/expansion.mjs +25 -25
- package/fesm2022/form-field.mjs +4 -4
- package/fesm2022/grid-list.mjs +22 -22
- package/fesm2022/icon-testing.mjs +17 -13
- package/fesm2022/icon-testing.mjs.map +1 -1
- package/fesm2022/icon.mjs +7 -7
- package/fesm2022/input.mjs +7 -7
- package/fesm2022/list.mjs +49 -49
- package/fesm2022/menu.mjs +22 -22
- package/fesm2022/paginator.mjs +16 -20
- 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 +10 -10
- package/fesm2022/select.mjs +10 -10
- package/fesm2022/sidenav.mjs +22 -22
- package/fesm2022/slide-toggle.mjs +7 -7
- package/fesm2022/slider.mjs +16 -16
- package/fesm2022/snack-bar.mjs +28 -32
- package/fesm2022/snack-bar.mjs.map +1 -1
- package/fesm2022/sort.mjs +19 -23
- package/fesm2022/sort.mjs.map +1 -1
- package/fesm2022/stepper.mjs +51 -43
- package/fesm2022/stepper.mjs.map +1 -1
- package/fesm2022/table.mjs +55 -55
- package/fesm2022/tabs.mjs +43 -43
- package/fesm2022/timepicker.mjs +13 -13
- package/fesm2022/toolbar.mjs +10 -10
- package/fesm2022/tooltip.mjs +4 -4
- package/fesm2022/tree.mjs +25 -25
- package/package.json +2 -2
- package/schematics/ng-add/index.js +1 -1
- package/types/_dialog-chunk.d.ts +6 -1
- package/types/bottom-sheet.d.ts +6 -1
- package/types/stepper.d.ts +5 -1
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.0-next.
|
|
100
|
+
version: "22.0.0-next.9",
|
|
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.0-next.
|
|
108
|
+
version: "22.0.0-next.9",
|
|
109
109
|
type: MatMenuItem,
|
|
110
110
|
isStandalone: true,
|
|
111
111
|
selector: "[mat-menu-item]",
|
|
@@ -145,7 +145,7 @@ class MatMenuItem {
|
|
|
145
145
|
}
|
|
146
146
|
i0.ɵɵngDeclareClassMetadata({
|
|
147
147
|
minVersion: "12.0.0",
|
|
148
|
-
version: "22.0.0-next.
|
|
148
|
+
version: "22.0.0-next.9",
|
|
149
149
|
ngImport: i0,
|
|
150
150
|
type: MatMenuItem,
|
|
151
151
|
decorators: [{
|
|
@@ -238,7 +238,7 @@ class MatMenuContent {
|
|
|
238
238
|
}
|
|
239
239
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
240
240
|
minVersion: "12.0.0",
|
|
241
|
-
version: "22.0.0-next.
|
|
241
|
+
version: "22.0.0-next.9",
|
|
242
242
|
ngImport: i0,
|
|
243
243
|
type: MatMenuContent,
|
|
244
244
|
deps: [],
|
|
@@ -246,7 +246,7 @@ class MatMenuContent {
|
|
|
246
246
|
});
|
|
247
247
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
248
248
|
minVersion: "14.0.0",
|
|
249
|
-
version: "22.0.0-next.
|
|
249
|
+
version: "22.0.0-next.9",
|
|
250
250
|
type: MatMenuContent,
|
|
251
251
|
isStandalone: true,
|
|
252
252
|
selector: "ng-template[matMenuContent]",
|
|
@@ -259,7 +259,7 @@ class MatMenuContent {
|
|
|
259
259
|
}
|
|
260
260
|
i0.ɵɵngDeclareClassMetadata({
|
|
261
261
|
minVersion: "12.0.0",
|
|
262
|
-
version: "22.0.0-next.
|
|
262
|
+
version: "22.0.0-next.9",
|
|
263
263
|
ngImport: i0,
|
|
264
264
|
type: MatMenuContent,
|
|
265
265
|
decorators: [{
|
|
@@ -514,7 +514,7 @@ class MatMenu {
|
|
|
514
514
|
}
|
|
515
515
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
516
516
|
minVersion: "12.0.0",
|
|
517
|
-
version: "22.0.0-next.
|
|
517
|
+
version: "22.0.0-next.9",
|
|
518
518
|
ngImport: i0,
|
|
519
519
|
type: MatMenu,
|
|
520
520
|
deps: [],
|
|
@@ -522,7 +522,7 @@ class MatMenu {
|
|
|
522
522
|
});
|
|
523
523
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
524
524
|
minVersion: "16.1.0",
|
|
525
|
-
version: "22.0.0-next.
|
|
525
|
+
version: "22.0.0-next.9",
|
|
526
526
|
type: MatMenu,
|
|
527
527
|
isStandalone: true,
|
|
528
528
|
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.0-next.
|
|
585
|
+
version: "22.0.0-next.9",
|
|
586
586
|
ngImport: i0,
|
|
587
587
|
type: MatMenu,
|
|
588
588
|
decorators: [{
|
|
@@ -954,7 +954,7 @@ class MatMenuTriggerBase {
|
|
|
954
954
|
}
|
|
955
955
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
956
956
|
minVersion: "12.0.0",
|
|
957
|
-
version: "22.0.0-next.
|
|
957
|
+
version: "22.0.0-next.9",
|
|
958
958
|
ngImport: i0,
|
|
959
959
|
type: MatMenuTriggerBase,
|
|
960
960
|
deps: "invalid",
|
|
@@ -962,7 +962,7 @@ class MatMenuTriggerBase {
|
|
|
962
962
|
});
|
|
963
963
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
964
964
|
minVersion: "14.0.0",
|
|
965
|
-
version: "22.0.0-next.
|
|
965
|
+
version: "22.0.0-next.9",
|
|
966
966
|
type: MatMenuTriggerBase,
|
|
967
967
|
isStandalone: true,
|
|
968
968
|
ngImport: i0
|
|
@@ -970,7 +970,7 @@ class MatMenuTriggerBase {
|
|
|
970
970
|
}
|
|
971
971
|
i0.ɵɵngDeclareClassMetadata({
|
|
972
972
|
minVersion: "12.0.0",
|
|
973
|
-
version: "22.0.0-next.
|
|
973
|
+
version: "22.0.0-next.9",
|
|
974
974
|
ngImport: i0,
|
|
975
975
|
type: MatMenuTriggerBase,
|
|
976
976
|
decorators: [{
|
|
@@ -1080,7 +1080,7 @@ class MatMenuTrigger extends MatMenuTriggerBase {
|
|
|
1080
1080
|
}
|
|
1081
1081
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
1082
1082
|
minVersion: "12.0.0",
|
|
1083
|
-
version: "22.0.0-next.
|
|
1083
|
+
version: "22.0.0-next.9",
|
|
1084
1084
|
ngImport: i0,
|
|
1085
1085
|
type: MatMenuTrigger,
|
|
1086
1086
|
deps: [],
|
|
@@ -1088,7 +1088,7 @@ class MatMenuTrigger extends MatMenuTriggerBase {
|
|
|
1088
1088
|
});
|
|
1089
1089
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
1090
1090
|
minVersion: "14.0.0",
|
|
1091
|
-
version: "22.0.0-next.
|
|
1091
|
+
version: "22.0.0-next.9",
|
|
1092
1092
|
type: MatMenuTrigger,
|
|
1093
1093
|
isStandalone: true,
|
|
1094
1094
|
selector: "[mat-menu-trigger-for], [matMenuTriggerFor]",
|
|
@@ -1124,7 +1124,7 @@ class MatMenuTrigger extends MatMenuTriggerBase {
|
|
|
1124
1124
|
}
|
|
1125
1125
|
i0.ɵɵngDeclareClassMetadata({
|
|
1126
1126
|
minVersion: "12.0.0",
|
|
1127
|
-
version: "22.0.0-next.
|
|
1127
|
+
version: "22.0.0-next.9",
|
|
1128
1128
|
ngImport: i0,
|
|
1129
1129
|
type: MatMenuTrigger,
|
|
1130
1130
|
decorators: [{
|
|
@@ -1288,7 +1288,7 @@ class MatContextMenuTrigger extends MatMenuTriggerBase {
|
|
|
1288
1288
|
}
|
|
1289
1289
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
1290
1290
|
minVersion: "12.0.0",
|
|
1291
|
-
version: "22.0.0-next.
|
|
1291
|
+
version: "22.0.0-next.9",
|
|
1292
1292
|
ngImport: i0,
|
|
1293
1293
|
type: MatContextMenuTrigger,
|
|
1294
1294
|
deps: [],
|
|
@@ -1296,7 +1296,7 @@ class MatContextMenuTrigger extends MatMenuTriggerBase {
|
|
|
1296
1296
|
});
|
|
1297
1297
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
1298
1298
|
minVersion: "16.1.0",
|
|
1299
|
-
version: "22.0.0-next.
|
|
1299
|
+
version: "22.0.0-next.9",
|
|
1300
1300
|
type: MatContextMenuTrigger,
|
|
1301
1301
|
isStandalone: true,
|
|
1302
1302
|
selector: "[matContextMenuTriggerFor]",
|
|
@@ -1327,7 +1327,7 @@ class MatContextMenuTrigger extends MatMenuTriggerBase {
|
|
|
1327
1327
|
}
|
|
1328
1328
|
i0.ɵɵngDeclareClassMetadata({
|
|
1329
1329
|
minVersion: "12.0.0",
|
|
1330
|
-
version: "22.0.0-next.
|
|
1330
|
+
version: "22.0.0-next.9",
|
|
1331
1331
|
ngImport: i0,
|
|
1332
1332
|
type: MatContextMenuTrigger,
|
|
1333
1333
|
decorators: [{
|
|
@@ -1379,7 +1379,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
1379
1379
|
class MatMenuModule {
|
|
1380
1380
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
1381
1381
|
minVersion: "12.0.0",
|
|
1382
|
-
version: "22.0.0-next.
|
|
1382
|
+
version: "22.0.0-next.9",
|
|
1383
1383
|
ngImport: i0,
|
|
1384
1384
|
type: MatMenuModule,
|
|
1385
1385
|
deps: [],
|
|
@@ -1387,7 +1387,7 @@ class MatMenuModule {
|
|
|
1387
1387
|
});
|
|
1388
1388
|
static ɵmod = i0.ɵɵngDeclareNgModule({
|
|
1389
1389
|
minVersion: "14.0.0",
|
|
1390
|
-
version: "22.0.0-next.
|
|
1390
|
+
version: "22.0.0-next.9",
|
|
1391
1391
|
ngImport: i0,
|
|
1392
1392
|
type: MatMenuModule,
|
|
1393
1393
|
imports: [MatRippleModule, OverlayModule, MatMenu, MatMenuItem, MatMenuContent, MatMenuTrigger, MatContextMenuTrigger],
|
|
@@ -1395,7 +1395,7 @@ class MatMenuModule {
|
|
|
1395
1395
|
});
|
|
1396
1396
|
static ɵinj = i0.ɵɵngDeclareInjector({
|
|
1397
1397
|
minVersion: "12.0.0",
|
|
1398
|
-
version: "22.0.0-next.
|
|
1398
|
+
version: "22.0.0-next.9",
|
|
1399
1399
|
ngImport: i0,
|
|
1400
1400
|
type: MatMenuModule,
|
|
1401
1401
|
imports: [MatRippleModule, OverlayModule, BidiModule, CdkScrollableModule]
|
|
@@ -1403,7 +1403,7 @@ class MatMenuModule {
|
|
|
1403
1403
|
}
|
|
1404
1404
|
i0.ɵɵngDeclareClassMetadata({
|
|
1405
1405
|
minVersion: "12.0.0",
|
|
1406
|
-
version: "22.0.0-next.
|
|
1406
|
+
version: "22.0.0-next.9",
|
|
1407
1407
|
ngImport: i0,
|
|
1408
1408
|
type: MatMenuModule,
|
|
1409
1409
|
decorators: [{
|
package/fesm2022/paginator.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { Service, InjectionToken, inject, ChangeDetectorRef, numberAttribute, EventEmitter, booleanAttribute, Output, Input, ViewEncapsulation, ChangeDetectionStrategy, Component, NgModule } from '@angular/core';
|
|
3
3
|
import { _IdGenerator } from '@angular/cdk/a11y';
|
|
4
4
|
import { Subject, ReplaySubject } from 'rxjs';
|
|
5
5
|
import { MatFormField } from './_form-field-chunk.mjs';
|
|
@@ -54,30 +54,26 @@ class MatPaginatorIntl {
|
|
|
54
54
|
};
|
|
55
55
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
56
56
|
minVersion: "12.0.0",
|
|
57
|
-
version: "22.0.0-next.
|
|
57
|
+
version: "22.0.0-next.9",
|
|
58
58
|
ngImport: i0,
|
|
59
59
|
type: MatPaginatorIntl,
|
|
60
60
|
deps: [],
|
|
61
|
-
target: i0.ɵɵFactoryTarget.
|
|
61
|
+
target: i0.ɵɵFactoryTarget.Service
|
|
62
62
|
});
|
|
63
|
-
static ɵprov = i0.ɵɵ
|
|
64
|
-
minVersion: "
|
|
65
|
-
version: "22.0.0-next.
|
|
63
|
+
static ɵprov = i0.ɵɵngDeclareService({
|
|
64
|
+
minVersion: "22.0.0",
|
|
65
|
+
version: "22.0.0-next.9",
|
|
66
66
|
ngImport: i0,
|
|
67
|
-
type: MatPaginatorIntl
|
|
68
|
-
providedIn: 'root'
|
|
67
|
+
type: MatPaginatorIntl
|
|
69
68
|
});
|
|
70
69
|
}
|
|
71
70
|
i0.ɵɵngDeclareClassMetadata({
|
|
72
71
|
minVersion: "12.0.0",
|
|
73
|
-
version: "22.0.0-next.
|
|
72
|
+
version: "22.0.0-next.9",
|
|
74
73
|
ngImport: i0,
|
|
75
74
|
type: MatPaginatorIntl,
|
|
76
75
|
decorators: [{
|
|
77
|
-
type:
|
|
78
|
-
args: [{
|
|
79
|
-
providedIn: 'root'
|
|
80
|
-
}]
|
|
76
|
+
type: Service
|
|
81
77
|
}]
|
|
82
78
|
});
|
|
83
79
|
|
|
@@ -256,7 +252,7 @@ class MatPaginator {
|
|
|
256
252
|
}
|
|
257
253
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
258
254
|
minVersion: "12.0.0",
|
|
259
|
-
version: "22.0.0-next.
|
|
255
|
+
version: "22.0.0-next.9",
|
|
260
256
|
ngImport: i0,
|
|
261
257
|
type: MatPaginator,
|
|
262
258
|
deps: [],
|
|
@@ -264,7 +260,7 @@ class MatPaginator {
|
|
|
264
260
|
});
|
|
265
261
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
266
262
|
minVersion: "17.0.0",
|
|
267
|
-
version: "22.0.0-next.
|
|
263
|
+
version: "22.0.0-next.9",
|
|
268
264
|
type: MatPaginator,
|
|
269
265
|
isStandalone: true,
|
|
270
266
|
selector: "mat-paginator",
|
|
@@ -330,7 +326,7 @@ class MatPaginator {
|
|
|
330
326
|
}
|
|
331
327
|
i0.ɵɵngDeclareClassMetadata({
|
|
332
328
|
minVersion: "12.0.0",
|
|
333
|
-
version: "22.0.0-next.
|
|
329
|
+
version: "22.0.0-next.9",
|
|
334
330
|
ngImport: i0,
|
|
335
331
|
type: MatPaginator,
|
|
336
332
|
decorators: [{
|
|
@@ -405,7 +401,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
405
401
|
class MatPaginatorModule {
|
|
406
402
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
407
403
|
minVersion: "12.0.0",
|
|
408
|
-
version: "22.0.0-next.
|
|
404
|
+
version: "22.0.0-next.9",
|
|
409
405
|
ngImport: i0,
|
|
410
406
|
type: MatPaginatorModule,
|
|
411
407
|
deps: [],
|
|
@@ -413,7 +409,7 @@ class MatPaginatorModule {
|
|
|
413
409
|
});
|
|
414
410
|
static ɵmod = i0.ɵɵngDeclareNgModule({
|
|
415
411
|
minVersion: "14.0.0",
|
|
416
|
-
version: "22.0.0-next.
|
|
412
|
+
version: "22.0.0-next.9",
|
|
417
413
|
ngImport: i0,
|
|
418
414
|
type: MatPaginatorModule,
|
|
419
415
|
imports: [MatButtonModule, MatSelectModule, MatTooltipModule, MatPaginator],
|
|
@@ -421,7 +417,7 @@ class MatPaginatorModule {
|
|
|
421
417
|
});
|
|
422
418
|
static ɵinj = i0.ɵɵngDeclareInjector({
|
|
423
419
|
minVersion: "12.0.0",
|
|
424
|
-
version: "22.0.0-next.
|
|
420
|
+
version: "22.0.0-next.9",
|
|
425
421
|
ngImport: i0,
|
|
426
422
|
type: MatPaginatorModule,
|
|
427
423
|
imports: [MatButtonModule, MatSelectModule, MatTooltipModule, MatPaginator]
|
|
@@ -429,7 +425,7 @@ class MatPaginatorModule {
|
|
|
429
425
|
}
|
|
430
426
|
i0.ɵɵngDeclareClassMetadata({
|
|
431
427
|
minVersion: "12.0.0",
|
|
432
|
-
version: "22.0.0-next.
|
|
428
|
+
version: "22.0.0-next.9",
|
|
433
429
|
ngImport: i0,
|
|
434
430
|
type: MatPaginatorModule,
|
|
435
431
|
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 {Injectable} 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@Injectable({providedIn: 'root'})\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 ChangeDetectionStrategy,\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 changeDetection: ChangeDetectionStrategy.OnPush,\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","Injectable","ɵprov","ɵɵngDeclareInjectable","minVersion","version","ngImport","type","decorators","providedIn","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","template","styles","dependencies","kind","MatFormField","MatSelect","MatOption","MatIconButton","MatTooltip","changeDetection","ChangeDetectionStrategy","OnPush","encapsulation","ViewEncapsulation","None","imports","Input","transform","Output","MatPaginatorModule","NgModule","MatButtonModule","MatSelectModule","MatTooltipModule","exports","ɵinj","ɵɵngDeclareInjector","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,UAA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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 ChangeDetectionStrategy,\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 changeDetection: ChangeDetectionStrategy.OnPush,\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","changeDetection","ChangeDetectionStrategy","OnPush","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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EAAExG,YAAY,CAAA;IAAAyG,OAAA,EAAA,CAChEzG,YAAY;AAAA,GAAA,CAAA;AAEX,EAAA,OAAA0G,IAAA,GAAApH,EAAA,CAAAqH,mBAAA,CAAA;AAAAC,IAAAA,UAAA,EAAA,QAAA;AAAAC,IAAAA,OAAA,EAAA,eAAA;AAAA9B,IAAAA,QAAA,EAAAzF,EAAA;AAAA8F,IAAAA,IAAA,EAAAgB,kBAAkB;cAHnBE,eAAe,EAAEC,eAAe,EAAEC,gBAAgB,EAAExG,YAAY;AAAA,GAAA,CAAA;;;;;;QAG/DoG,kBAAkB;AAAA3G,EAAAA,UAAA,EAAA,CAAA;UAJ9B4G,QAAQ;AAACS,IAAAA,IAAA,EAAA,CAAA;MACRd,OAAO,EAAE,CAACM,eAAe,EAAEC,eAAe,EAAEC,gBAAgB,EAAExG,YAAY,CAAC;MAC3EyG,OAAO,EAAE,CAACzG,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.0-next.
|
|
103
|
+
version: "22.0.0-next.9",
|
|
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.0-next.
|
|
111
|
+
version: "22.0.0-next.9",
|
|
112
112
|
type: MatProgressBar,
|
|
113
113
|
isStandalone: true,
|
|
114
114
|
selector: "mat-progress-bar",
|
|
@@ -148,7 +148,7 @@ class MatProgressBar {
|
|
|
148
148
|
}
|
|
149
149
|
i0.ɵɵngDeclareClassMetadata({
|
|
150
150
|
minVersion: "12.0.0",
|
|
151
|
-
version: "22.0.0-next.
|
|
151
|
+
version: "22.0.0-next.9",
|
|
152
152
|
ngImport: i0,
|
|
153
153
|
type: MatProgressBar,
|
|
154
154
|
decorators: [{
|
|
@@ -207,7 +207,7 @@ function clamp(v, min = 0, max = 100) {
|
|
|
207
207
|
class MatProgressBarModule {
|
|
208
208
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
209
209
|
minVersion: "12.0.0",
|
|
210
|
-
version: "22.0.0-next.
|
|
210
|
+
version: "22.0.0-next.9",
|
|
211
211
|
ngImport: i0,
|
|
212
212
|
type: MatProgressBarModule,
|
|
213
213
|
deps: [],
|
|
@@ -215,7 +215,7 @@ class MatProgressBarModule {
|
|
|
215
215
|
});
|
|
216
216
|
static ɵmod = i0.ɵɵngDeclareNgModule({
|
|
217
217
|
minVersion: "14.0.0",
|
|
218
|
-
version: "22.0.0-next.
|
|
218
|
+
version: "22.0.0-next.9",
|
|
219
219
|
ngImport: i0,
|
|
220
220
|
type: MatProgressBarModule,
|
|
221
221
|
imports: [MatProgressBar],
|
|
@@ -223,7 +223,7 @@ class MatProgressBarModule {
|
|
|
223
223
|
});
|
|
224
224
|
static ɵinj = i0.ɵɵngDeclareInjector({
|
|
225
225
|
minVersion: "12.0.0",
|
|
226
|
-
version: "22.0.0-next.
|
|
226
|
+
version: "22.0.0-next.9",
|
|
227
227
|
ngImport: i0,
|
|
228
228
|
type: MatProgressBarModule,
|
|
229
229
|
imports: [BidiModule]
|
|
@@ -231,7 +231,7 @@ class MatProgressBarModule {
|
|
|
231
231
|
}
|
|
232
232
|
i0.ɵɵngDeclareClassMetadata({
|
|
233
233
|
minVersion: "12.0.0",
|
|
234
|
-
version: "22.0.0-next.
|
|
234
|
+
version: "22.0.0-next.9",
|
|
235
235
|
ngImport: i0,
|
|
236
236
|
type: MatProgressBarModule,
|
|
237
237
|
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.0-next.
|
|
92
|
+
version: "22.0.0-next.9",
|
|
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.0-next.
|
|
100
|
+
version: "22.0.0-next.9",
|
|
101
101
|
type: MatProgressSpinner,
|
|
102
102
|
isStandalone: true,
|
|
103
103
|
selector: "mat-progress-spinner, mat-spinner",
|
|
@@ -150,7 +150,7 @@ class MatProgressSpinner {
|
|
|
150
150
|
}
|
|
151
151
|
i0.ɵɵngDeclareClassMetadata({
|
|
152
152
|
minVersion: "12.0.0",
|
|
153
|
-
version: "22.0.0-next.
|
|
153
|
+
version: "22.0.0-next.9",
|
|
154
154
|
ngImport: i0,
|
|
155
155
|
type: MatProgressSpinner,
|
|
156
156
|
decorators: [{
|
|
@@ -218,7 +218,7 @@ const MatSpinner = MatProgressSpinner;
|
|
|
218
218
|
class MatProgressSpinnerModule {
|
|
219
219
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
220
220
|
minVersion: "12.0.0",
|
|
221
|
-
version: "22.0.0-next.
|
|
221
|
+
version: "22.0.0-next.9",
|
|
222
222
|
ngImport: i0,
|
|
223
223
|
type: MatProgressSpinnerModule,
|
|
224
224
|
deps: [],
|
|
@@ -226,7 +226,7 @@ class MatProgressSpinnerModule {
|
|
|
226
226
|
});
|
|
227
227
|
static ɵmod = i0.ɵɵngDeclareNgModule({
|
|
228
228
|
minVersion: "14.0.0",
|
|
229
|
-
version: "22.0.0-next.
|
|
229
|
+
version: "22.0.0-next.9",
|
|
230
230
|
ngImport: i0,
|
|
231
231
|
type: MatProgressSpinnerModule,
|
|
232
232
|
imports: [MatProgressSpinner, MatSpinner],
|
|
@@ -234,7 +234,7 @@ class MatProgressSpinnerModule {
|
|
|
234
234
|
});
|
|
235
235
|
static ɵinj = i0.ɵɵngDeclareInjector({
|
|
236
236
|
minVersion: "12.0.0",
|
|
237
|
-
version: "22.0.0-next.
|
|
237
|
+
version: "22.0.0-next.9",
|
|
238
238
|
ngImport: i0,
|
|
239
239
|
type: MatProgressSpinnerModule,
|
|
240
240
|
imports: [BidiModule]
|
|
@@ -242,7 +242,7 @@ class MatProgressSpinnerModule {
|
|
|
242
242
|
}
|
|
243
243
|
i0.ɵɵngDeclareClassMetadata({
|
|
244
244
|
minVersion: "12.0.0",
|
|
245
|
-
version: "22.0.0-next.
|
|
245
|
+
version: "22.0.0-next.9",
|
|
246
246
|
ngImport: i0,
|
|
247
247
|
type: MatProgressSpinnerModule,
|
|
248
248
|
decorators: [{
|