@eherve/angular-material-datatable 22.0.0 → 22.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -181,7 +181,7 @@ var CellCheckboxValueComponent = class CellCheckboxValueComponent {
|
|
|
181
181
|
name: "transform"
|
|
182
182
|
}
|
|
183
183
|
],
|
|
184
|
-
changeDetection: i0.ChangeDetectionStrategy.
|
|
184
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
185
185
|
});
|
|
186
186
|
};
|
|
187
187
|
i0.ɵɵngDeclareClassMetadata({
|
|
@@ -198,7 +198,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
198
198
|
MatIconModule,
|
|
199
199
|
TransformPipe
|
|
200
200
|
],
|
|
201
|
-
changeDetection: ChangeDetectionStrategy.
|
|
201
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
202
202
|
template: "<!-- @format -->\n\n@let value = row | get: column.property | transform: row : column;\n@if (value === false) {\n <mat-icon>check_box_outline_blank</mat-icon>\n} @else if (value === true) {\n <mat-icon>check_box</mat-icon>\n}\n",
|
|
203
203
|
styles: ["mat-icon{color:currentColor;padding:8px;box-sizing:content-box}\n"]
|
|
204
204
|
}]
|
|
@@ -359,7 +359,7 @@ var CellDateValueComponent = class CellDateValueComponent {
|
|
|
359
359
|
type: MomentFormatPipe,
|
|
360
360
|
name: "momentFormat"
|
|
361
361
|
}],
|
|
362
|
-
changeDetection: i0.ChangeDetectionStrategy.
|
|
362
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
363
363
|
});
|
|
364
364
|
};
|
|
365
365
|
i0.ɵɵngDeclareClassMetadata({
|
|
@@ -372,7 +372,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
372
372
|
args: [{
|
|
373
373
|
selector: "lib-cell-date-value",
|
|
374
374
|
imports: [MatIconModule, MomentFormatPipe],
|
|
375
|
-
changeDetection: ChangeDetectionStrategy.
|
|
375
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
376
376
|
template: "<!-- @format -->\n\n@if (value) {\n <span class=\"date\"> {{ value | momentFormat: column }} </span>\n @if (column.withDuration) {\n <span class=\"duration\"> ({{ duration }}) </span>\n }\n}\n",
|
|
377
377
|
styles: [".date,.duration{white-space:nowrap}.duration{margin-left:4px}\n"]
|
|
378
378
|
}]
|
|
@@ -421,7 +421,7 @@ var CellDurationValueComponent = class CellDurationValueComponent {
|
|
|
421
421
|
kind: "ngmodule",
|
|
422
422
|
type: MatIconModule
|
|
423
423
|
}],
|
|
424
|
-
changeDetection: i0.ChangeDetectionStrategy.
|
|
424
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
425
425
|
});
|
|
426
426
|
};
|
|
427
427
|
i0.ɵɵngDeclareClassMetadata({
|
|
@@ -434,7 +434,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
434
434
|
args: [{
|
|
435
435
|
selector: "lib-cell-duration-value",
|
|
436
436
|
imports: [MatIconModule],
|
|
437
|
-
changeDetection: ChangeDetectionStrategy.
|
|
437
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
438
438
|
template: "<!-- @format -->\n\n@if (duration !== null) {\n {{ duration }}\n}\n"
|
|
439
439
|
}]
|
|
440
440
|
}],
|
|
@@ -495,7 +495,7 @@ var CellNumberValueComponent = class CellNumberValueComponent {
|
|
|
495
495
|
name: "transform"
|
|
496
496
|
}
|
|
497
497
|
],
|
|
498
|
-
changeDetection: i0.ChangeDetectionStrategy.
|
|
498
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
499
499
|
});
|
|
500
500
|
};
|
|
501
501
|
i0.ɵɵngDeclareClassMetadata({
|
|
@@ -513,7 +513,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
513
513
|
MatIconModule,
|
|
514
514
|
TransformPipe
|
|
515
515
|
],
|
|
516
|
-
changeDetection: ChangeDetectionStrategy.
|
|
516
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
517
517
|
template: "<!-- @format -->\n\n@let value = row | get: column.property;\n{{ value | transform: row : column | number: column.format : column.locale }}\n",
|
|
518
518
|
styles: ["mat-icon{padding:8px}\n"]
|
|
519
519
|
}]
|
|
@@ -763,7 +763,7 @@ var CellSelectValueComponent = class CellSelectValueComponent {
|
|
|
763
763
|
name: "safeHtml"
|
|
764
764
|
}
|
|
765
765
|
],
|
|
766
|
-
changeDetection: i0.ChangeDetectionStrategy.
|
|
766
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
767
767
|
});
|
|
768
768
|
};
|
|
769
769
|
i0.ɵɵngDeclareClassMetadata({
|
|
@@ -785,7 +785,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
785
785
|
TransformPipe,
|
|
786
786
|
SafeHtmlPipe
|
|
787
787
|
],
|
|
788
|
-
changeDetection: ChangeDetectionStrategy.
|
|
788
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
789
789
|
template: "<!-- @format -->\n\n@let value = row | get: column.property | transform: row : column;\n\n@if (column.isArrayValue && value | isArray) {\n <div class=\"options\">\n @for (v of value; track v) {\n <ng-container\n *ngTemplateOutlet=\"optionTmpl; context: { value: v }\"\n ></ng-container>\n }\n </div>\n} @else {\n <ng-container\n *ngTemplateOutlet=\"optionTmpl; context: { value }\"\n ></ng-container>\n}\n\n<ng-template #optionTmpl let-value=\"value\">\n @let option = value | selectOption: options;\n @if (option) {\n <div class=\"option\">\n @if (option.icon) {\n @switch (option.iconSrc) {\n @case (\"svg\") {\n <mat-icon\n [svgIcon]=\"option.icon\"\n [style.color]=\"option.iconColor ?? option.color\"\n [style.margin-right.px]=\"8\"\n ></mat-icon>\n }\n @default {\n <mat-icon\n [style.color]=\"option.iconColor ?? option.color\"\n [style.margin-right.px]=\"8\"\n >\n {{ option.icon }}\n </mat-icon>\n }\n }\n }\n @if (!column.iconOnly) {\n <mat-label\n [style.color]=\"option.color\"\n [innerHTML]=\"option.name | safeHtml\"\n ></mat-label>\n }\n </div>\n } @else {\n {{ value }}\n }\n</ng-template>\n",
|
|
790
790
|
styles: [".option{display:flex;box-sizing:border-box;place-content:center start;align-items:center;flex-direction:row;padding:4px}mat-icon,mat-label{color:currentColor}:host-context(tr.has-click:hover) mat-icon,:host-context(tr.has-click:hover) mat-label{color:var(--datatable-hover-color, var(--mat-sys-on-primary))!important}.options{display:flex;box-sizing:border-box;place-content:start start;align-items:center;flex-direction:row;flex-wrap:wrap}\n"]
|
|
791
791
|
}]
|
|
@@ -1332,7 +1332,7 @@ var HeaderAutocompleteFilterComponent = class HeaderAutocompleteFilterComponent
|
|
|
1332
1332
|
name: "safeHtml"
|
|
1333
1333
|
}
|
|
1334
1334
|
],
|
|
1335
|
-
changeDetection: i0.ChangeDetectionStrategy.
|
|
1335
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
1336
1336
|
});
|
|
1337
1337
|
};
|
|
1338
1338
|
i0.ɵɵngDeclareClassMetadata({
|
|
@@ -1357,7 +1357,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
1357
1357
|
ReactiveFormsModule,
|
|
1358
1358
|
SafeHtmlPipe
|
|
1359
1359
|
],
|
|
1360
|
-
changeDetection: ChangeDetectionStrategy.
|
|
1360
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1361
1361
|
providers: [{
|
|
1362
1362
|
provide: NG_VALUE_ACCESSOR,
|
|
1363
1363
|
multi: true,
|
|
@@ -1533,7 +1533,7 @@ var HeaderCheckboxFilterComponent = class HeaderCheckboxFilterComponent {
|
|
|
1533
1533
|
name: "safeHtml"
|
|
1534
1534
|
}
|
|
1535
1535
|
],
|
|
1536
|
-
changeDetection: i0.ChangeDetectionStrategy.
|
|
1536
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
1537
1537
|
});
|
|
1538
1538
|
};
|
|
1539
1539
|
i0.ɵɵngDeclareClassMetadata({
|
|
@@ -1554,7 +1554,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
1554
1554
|
ReactiveFormsModule,
|
|
1555
1555
|
SafeHtmlPipe
|
|
1556
1556
|
],
|
|
1557
|
-
changeDetection: ChangeDetectionStrategy.
|
|
1557
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1558
1558
|
providers: [{
|
|
1559
1559
|
provide: NG_VALUE_ACCESSOR,
|
|
1560
1560
|
multi: true,
|
|
@@ -1693,7 +1693,7 @@ var OperatorSelectComponent = class OperatorSelectComponent {
|
|
|
1693
1693
|
}
|
|
1694
1694
|
],
|
|
1695
1695
|
animations: [trigger("fade", [transition(":enter", [style({ opacity: 0 }), animate("0.2s", style({ opacity: 1 }))]), transition(":leave", [style({ opacity: 1 }), animate("0.2s", style({ opacity: 0 }))])])],
|
|
1696
|
-
changeDetection: i0.ChangeDetectionStrategy.
|
|
1696
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
1697
1697
|
});
|
|
1698
1698
|
};
|
|
1699
1699
|
i0.ɵɵngDeclareClassMetadata({
|
|
@@ -1711,7 +1711,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
1711
1711
|
MatButtonModule
|
|
1712
1712
|
],
|
|
1713
1713
|
animations: [trigger("fade", [transition(":enter", [style({ opacity: 0 }), animate("0.2s", style({ opacity: 1 }))]), transition(":leave", [style({ opacity: 1 }), animate("0.2s", style({ opacity: 0 }))])])],
|
|
1714
|
-
changeDetection: ChangeDetectionStrategy.
|
|
1714
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1715
1715
|
providers: [{
|
|
1716
1716
|
provide: NG_VALUE_ACCESSOR,
|
|
1717
1717
|
multi: true,
|
|
@@ -2299,7 +2299,7 @@ var TimeUnitSelectComponent = class TimeUnitSelectComponent {
|
|
|
2299
2299
|
}
|
|
2300
2300
|
],
|
|
2301
2301
|
animations: [trigger("fade", [transition(":enter", [style({ opacity: 0 }), animate("0.2s", style({ opacity: 1 }))]), transition(":leave", [style({ opacity: 1 }), animate("0.2s", style({ opacity: 0 }))])])],
|
|
2302
|
-
changeDetection: i0.ChangeDetectionStrategy.
|
|
2302
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
2303
2303
|
});
|
|
2304
2304
|
};
|
|
2305
2305
|
i0.ɵɵngDeclareClassMetadata({
|
|
@@ -2317,7 +2317,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
2317
2317
|
MatButtonModule
|
|
2318
2318
|
],
|
|
2319
2319
|
animations: [trigger("fade", [transition(":enter", [style({ opacity: 0 }), animate("0.2s", style({ opacity: 1 }))]), transition(":leave", [style({ opacity: 1 }), animate("0.2s", style({ opacity: 0 }))])])],
|
|
2320
|
-
changeDetection: ChangeDetectionStrategy.
|
|
2320
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
2321
2321
|
providers: [{
|
|
2322
2322
|
provide: NG_VALUE_ACCESSOR,
|
|
2323
2323
|
multi: true,
|
|
@@ -2585,7 +2585,7 @@ var HeaderDurationFilterComponent = class HeaderDurationFilterComponent {
|
|
|
2585
2585
|
name: "safeHtml"
|
|
2586
2586
|
}
|
|
2587
2587
|
],
|
|
2588
|
-
changeDetection: i0.ChangeDetectionStrategy.
|
|
2588
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
2589
2589
|
});
|
|
2590
2590
|
};
|
|
2591
2591
|
i0.ɵɵngDeclareClassMetadata({
|
|
@@ -2608,7 +2608,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
2608
2608
|
TimeUnitSelectComponent,
|
|
2609
2609
|
SafeHtmlPipe
|
|
2610
2610
|
],
|
|
2611
|
-
changeDetection: ChangeDetectionStrategy.
|
|
2611
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
2612
2612
|
providers: [{
|
|
2613
2613
|
provide: NG_VALUE_ACCESSOR,
|
|
2614
2614
|
multi: true,
|
|
@@ -2840,7 +2840,7 @@ var HeaderNumberFilterComponent = class HeaderNumberFilterComponent {
|
|
|
2840
2840
|
name: "safeHtml"
|
|
2841
2841
|
}
|
|
2842
2842
|
],
|
|
2843
|
-
changeDetection: i0.ChangeDetectionStrategy.
|
|
2843
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
2844
2844
|
});
|
|
2845
2845
|
};
|
|
2846
2846
|
i0.ɵɵngDeclareClassMetadata({
|
|
@@ -2863,7 +2863,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
2863
2863
|
OperatorSelectComponent,
|
|
2864
2864
|
SafeHtmlPipe
|
|
2865
2865
|
],
|
|
2866
|
-
changeDetection: ChangeDetectionStrategy.
|
|
2866
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
2867
2867
|
providers: [{
|
|
2868
2868
|
provide: NG_VALUE_ACCESSOR,
|
|
2869
2869
|
multi: true,
|
|
@@ -3142,7 +3142,7 @@ var HeaderSelectFilterComponent = class HeaderSelectFilterComponent {
|
|
|
3142
3142
|
name: "isArray"
|
|
3143
3143
|
}
|
|
3144
3144
|
],
|
|
3145
|
-
changeDetection: i0.ChangeDetectionStrategy.
|
|
3145
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
3146
3146
|
});
|
|
3147
3147
|
};
|
|
3148
3148
|
i0.ɵɵngDeclareClassMetadata({
|
|
@@ -3166,7 +3166,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
3166
3166
|
SafeHtmlPipe,
|
|
3167
3167
|
IsArrayPipe
|
|
3168
3168
|
],
|
|
3169
|
-
changeDetection: ChangeDetectionStrategy.
|
|
3169
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
3170
3170
|
providers: [{
|
|
3171
3171
|
provide: NG_VALUE_ACCESSOR,
|
|
3172
3172
|
multi: true,
|
|
@@ -3369,7 +3369,7 @@ var HeaderTextFilterComponent = class HeaderTextFilterComponent {
|
|
|
3369
3369
|
name: "safeHtml"
|
|
3370
3370
|
}
|
|
3371
3371
|
],
|
|
3372
|
-
changeDetection: i0.ChangeDetectionStrategy.
|
|
3372
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
3373
3373
|
});
|
|
3374
3374
|
};
|
|
3375
3375
|
i0.ɵɵngDeclareClassMetadata({
|
|
@@ -3390,7 +3390,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
3390
3390
|
ReactiveFormsModule,
|
|
3391
3391
|
SafeHtmlPipe
|
|
3392
3392
|
],
|
|
3393
|
-
changeDetection: ChangeDetectionStrategy.
|
|
3393
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
3394
3394
|
providers: [{
|
|
3395
3395
|
provide: NG_VALUE_ACCESSOR,
|
|
3396
3396
|
multi: true,
|
|
@@ -3557,7 +3557,7 @@ var ProgressSpinnerComponent = class ProgressSpinnerComponent {
|
|
|
3557
3557
|
name: "merge"
|
|
3558
3558
|
}
|
|
3559
3559
|
],
|
|
3560
|
-
changeDetection: i0.ChangeDetectionStrategy.
|
|
3560
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
3561
3561
|
});
|
|
3562
3562
|
};
|
|
3563
3563
|
i0.ɵɵngDeclareClassMetadata({
|
|
@@ -3575,7 +3575,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
3575
3575
|
CountUpModule,
|
|
3576
3576
|
MergePipe
|
|
3577
3577
|
],
|
|
3578
|
-
changeDetection: ChangeDetectionStrategy.
|
|
3578
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
3579
3579
|
template: "<!-- @format -->\n\n<div id=\"container\" [style.font-size]=\"fontSize\" [style.width.px]=\"diameter\" [style.height.px]=\"diameter\">\n <mat-progress-spinner id=\"background\" [diameter]=\"diameter\" mode=\"determinate\" [value]=\"100\"> </mat-progress-spinner>\n <mat-progress-spinner\n id=\"foreground\"\n [diameter]=\"diameter\"\n mode=\"determinate\"\n [value]=\"value\"\n intersectionObserver\n (intersection)=\"load($event.intersect)\">\n </mat-progress-spinner>\n <div id=\"inner-block\">\n <mat-label\n [countUp]=\"value\"\n [options]=\"datatableIntl.numberOptions | merge: { suffix: '%', duration: 0.6 }\"\n [reanimateOnClick]=\"false\"></mat-label>\n <ng-content></ng-content>\n </div>\n</div>\n",
|
|
3580
3580
|
styles: ["#container{position:relative}#container #foreground{--mat-progress-spinner-active-indicator-color: var(--progress-spinner-color, varvar(--mat-sys-primary))}#container #foreground ::ng-deep .mdc-circular-progress__determinate-circle{stroke-width:var(--progress-spinner-stroke-width, 5%)!important}#container #background{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);--mat-progress-spinner-active-indicator-color: var(--progress-spinner-color, var(--mat-sys-primary))}#container #background ::ng-deep .mdc-circular-progress__determinate-circle{stroke-width:var(--progress-spinner-stroke-width, calc(5% + 2px) )!important;stroke-opacity:var(--progress-spinner-background-opacity, .2)}#container #inner-block{position:absolute;inset:0;box-sizing:content-box;display:flex;flex-direction:column;place-content:center center;align-items:center;overflow:hidden;border-radius:50%;margin:calc(var(--progress-spinner-stroke-width, calc(5% + 2px) ) + 2px);line-height:1em}#container:hover #foreground ::ng-deep .mdc-circular-progress__determinate-circle{stroke-width:var(--progress-spinner-stroke-width, calc(5% + 2px) )!important}#container:hover #background ::ng-deep .mdc-circular-progress__determinate-circle{stroke-opacity:var(--progress-spinner-background-opacity, .33)}\n"]
|
|
3581
3581
|
}]
|