@pumpkin-tech/pumpkin-tech-ng 0.2.17 → 0.2.19
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.
|
@@ -26,7 +26,7 @@ import { MatFormFieldModule } from '@angular/material/form-field';
|
|
|
26
26
|
import * as i4 from '@angular/material/input';
|
|
27
27
|
import { MatInputModule } from '@angular/material/input';
|
|
28
28
|
import * as i3$5 from '@angular/material/table';
|
|
29
|
-
import { MatTableModule } from '@angular/material/table';
|
|
29
|
+
import { MatTableModule, MatTable } from '@angular/material/table';
|
|
30
30
|
import * as i4$3 from '@angular/material/paginator';
|
|
31
31
|
import { MatPaginatorIntl, MatPaginatorModule } from '@angular/material/paginator';
|
|
32
32
|
import { MatSortModule } from '@angular/material/sort';
|
|
@@ -5216,22 +5216,46 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
5216
5216
|
|
|
5217
5217
|
class ProfileMenuComponent {
|
|
5218
5218
|
icon = 'account_circle';
|
|
5219
|
+
flagCode;
|
|
5220
|
+
flagSize = 20;
|
|
5221
|
+
flagSquared = false;
|
|
5222
|
+
flagAriaLabel;
|
|
5219
5223
|
displayName = '';
|
|
5220
5224
|
items = [];
|
|
5221
5225
|
handle(item) {
|
|
5222
5226
|
item.action();
|
|
5223
5227
|
}
|
|
5224
5228
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ProfileMenuComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
5225
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.16", type: ProfileMenuComponent, isStandalone: true, selector: "ptech-profile-menu", inputs: { icon: "icon", displayName: "displayName", items: "items" }, ngImport: i0, template: `
|
|
5229
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.16", type: ProfileMenuComponent, isStandalone: true, selector: "ptech-profile-menu", inputs: { icon: "icon", flagCode: "flagCode", flagSize: "flagSize", flagSquared: "flagSquared", flagAriaLabel: "flagAriaLabel", displayName: "displayName", items: "items" }, ngImport: i0, template: `
|
|
5226
5230
|
<div class="profile-menu" [matMenuTriggerFor]="menu" aria-label="Profile menu">
|
|
5227
|
-
<
|
|
5231
|
+
<ptech-flag
|
|
5232
|
+
*ngIf="flagCode; else triggerIcon"
|
|
5233
|
+
class="profile-trigger-flag"
|
|
5234
|
+
[code]="flagCode"
|
|
5235
|
+
[size]="flagSize"
|
|
5236
|
+
[squared]="flagSquared"
|
|
5237
|
+
[ariaLabel]="flagAriaLabel || 'Profile menu flag'"
|
|
5238
|
+
></ptech-flag>
|
|
5239
|
+
<ng-template #triggerIcon>
|
|
5240
|
+
<mat-icon aria-hidden="true"> {{ icon }}</mat-icon>
|
|
5241
|
+
</ng-template>
|
|
5228
5242
|
<span class="hide-on-mobile">{{ displayName | getFirstStringBeforeSpace }}</span>
|
|
5229
5243
|
<mat-icon>arrow_drop_down</mat-icon>
|
|
5230
5244
|
</div>
|
|
5231
5245
|
|
|
5232
5246
|
<mat-menu #menu="matMenu" class="ptech-profile-menu-panel">
|
|
5233
5247
|
<button mat-menu-item class="show-on-mobile user-item" disabled>
|
|
5234
|
-
<
|
|
5248
|
+
<ptech-flag
|
|
5249
|
+
*ngIf="flagCode; else mobileUserIcon"
|
|
5250
|
+
class="profile-menu-flag"
|
|
5251
|
+
[code]="flagCode"
|
|
5252
|
+
[size]="flagSize"
|
|
5253
|
+
[squared]="flagSquared"
|
|
5254
|
+
[ariaLabel]="flagAriaLabel || 'Profile menu flag'"
|
|
5255
|
+
></ptech-flag>
|
|
5256
|
+
<ng-template #mobileUserIcon>
|
|
5257
|
+
<mat-icon aria-hidden="true"> {{ icon }}</mat-icon>
|
|
5258
|
+
</ng-template>
|
|
5235
5259
|
<span>{{ displayName | getFirstStringBeforeSpace }}</span>
|
|
5236
5260
|
</button>
|
|
5237
5261
|
<mat-divider class="show-on-mobile"></mat-divider>
|
|
@@ -5256,20 +5280,40 @@ class ProfileMenuComponent {
|
|
|
5256
5280
|
|
|
5257
5281
|
<ng-content select="[extra-items]"></ng-content>
|
|
5258
5282
|
</mat-menu>
|
|
5259
|
-
`, isInline: true, styles: [".profile-menu{display:flex;align-items:center;cursor:pointer;position:relative}.profile-menu mat-icon{margin-right:8px;color:var(--ptech-profile-trigger-text, var(--ptech-header-icon-color, var(--app-text-on-accent, #fff)))}.profile-menu span{color:var(--ptech-profile-trigger-text, var(--ptech-header-icon-color, var(--app-text-on-accent, #fff)));font-weight:700;margin-right:4px}.profile-menu mat-icon:last-child{margin-right:0}.mat-divider{margin:0!important}.hide-on-mobile{display:inline}.show-on-mobile{display:none}@media (max-width: 599px){.hide-on-mobile{display:none}.show-on-mobile{display:flex}}.user-item span{font-weight:700}::ng-deep .ptech-profile-menu-panel,::ng-deep .ptech-profile-menu-panel.mat-mdc-menu-panel{background-color:var(--ptech-menu-bg, var(--app-surface, #fff))!important;color:var(--ptech-menu-text, var(--app-text, inherit))!important}::ng-deep .ptech-profile-menu-panel .mat-mdc-menu-content{background-color:var(--ptech-menu-bg, var(--app-surface, #fff))!important;color:var(--ptech-menu-text, var(--app-text, inherit))!important}::ng-deep .ptech-profile-menu-panel .mat-mdc-menu-item,::ng-deep .ptech-profile-menu-panel .mat-mdc-menu-item .mat-icon,::ng-deep .ptech-profile-menu-panel .mat-mdc-menu-item .mdc-list-item__primary-text,::ng-deep .ptech-profile-menu-panel .mat-mdc-menu-item span{color:var(--ptech-menu-text, var(--app-text, inherit))!important}::ng-deep .ptech-profile-menu-panel .mat-mdc-menu-item:hover,::ng-deep .ptech-profile-menu-panel .mat-mdc-menu-item.cdk-program-focused,::ng-deep .ptech-profile-menu-panel .mat-mdc-menu-item.cdk-focused{background-color:var(--ptech-menu-hover, var(--app-chip-bg, rgba(0,0,0,.06)))!important}::ng-deep .ptech-profile-menu-panel .mat-divider,::ng-deep .ptech-profile-menu-panel .mat-mdc-menu-item+.mat-divider{border-top-color:var(--ptech-menu-divider, var(--app-border-color, rgba(0,0,0,.12)))!important}::ng-deep .ptech-profile-menu-panel .mat-mdc-menu-item[disabled],::ng-deep .ptech-profile-menu-panel .mat-mdc-menu-item[disabled] .mat-icon,::ng-deep .ptech-profile-menu-panel .mat-mdc-menu-item[disabled] span{color:var(--ptech-menu-disabled, var(--app-muted, #9ca3af))!important;opacity:1!important}::ng-deep .ptech-profile-menu-panel .profile-menu-flag{width:var(--mat-menu-item-leading-spacing, 24px);min-width:var(--mat-menu-item-leading-spacing, 24px);margin-right:var(--mat-menu-item-spacing, 16px);justify-content:center}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: CoreMaterialModule }, { kind: "component", type: i5$2.MatDivider, selector: "mat-divider", inputs: ["vertical", "inset"] }, { kind: "component", type: i3$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: i4$2.MatMenu, selector: "mat-menu", inputs: ["backdropClass", "aria-label", "aria-labelledby", "aria-describedby", "xPosition", "yPosition", "overlapTrigger", "hasBackdrop", "class", "classList"], outputs: ["closed", "close"], exportAs: ["matMenu"] }, { kind: "component", type: i4$2.MatMenuItem, selector: "[mat-menu-item]", inputs: ["role", "disabled", "disableRipple"], exportAs: ["matMenuItem"] }, { kind: "directive", type: i4$2.MatMenuTrigger, selector: "[mat-menu-trigger-for], [matMenuTriggerFor]", inputs: ["mat-menu-trigger-for", "matMenuTriggerFor", "matMenuTriggerData", "matMenuTriggerRestoreFocus"], outputs: ["menuOpened", "onMenuOpen", "menuClosed", "onMenuClose"], exportAs: ["matMenuTrigger"] }, { kind: "component", type: FlagComponent, selector: "ptech-flag", inputs: ["code", "size", "squared", "tooltip", "label", "ariaLabel", "clickable", "col"], outputs: ["flagClick"] }, { kind: "pipe", type: GetFirstStringBeforeSpacePipe, name: "getFirstStringBeforeSpace" }] });
|
|
5283
|
+
`, isInline: true, styles: [".profile-menu{display:flex;align-items:center;cursor:pointer;position:relative}.profile-menu mat-icon{margin-right:8px;color:var(--ptech-profile-trigger-text, var(--ptech-header-icon-color, var(--app-text-on-accent, #fff)))}.profile-menu span{color:var(--ptech-profile-trigger-text, var(--ptech-header-icon-color, var(--app-text-on-accent, #fff)));font-weight:700;margin-right:4px}.profile-menu mat-icon:last-child{margin-right:0}.profile-trigger-flag{margin-right:8px;justify-content:center}.mat-divider{margin:0!important}.hide-on-mobile{display:inline}.show-on-mobile{display:none}@media (max-width: 599px){.hide-on-mobile{display:none}.show-on-mobile{display:flex}}.user-item span{font-weight:700}::ng-deep .ptech-profile-menu-panel,::ng-deep .ptech-profile-menu-panel.mat-mdc-menu-panel{background-color:var(--ptech-menu-bg, var(--app-surface, #fff))!important;color:var(--ptech-menu-text, var(--app-text, inherit))!important}::ng-deep .ptech-profile-menu-panel .mat-mdc-menu-content{background-color:var(--ptech-menu-bg, var(--app-surface, #fff))!important;color:var(--ptech-menu-text, var(--app-text, inherit))!important}::ng-deep .ptech-profile-menu-panel .mat-mdc-menu-item,::ng-deep .ptech-profile-menu-panel .mat-mdc-menu-item .mat-icon,::ng-deep .ptech-profile-menu-panel .mat-mdc-menu-item .mdc-list-item__primary-text,::ng-deep .ptech-profile-menu-panel .mat-mdc-menu-item span{color:var(--ptech-menu-text, var(--app-text, inherit))!important}::ng-deep .ptech-profile-menu-panel .mat-mdc-menu-item:hover,::ng-deep .ptech-profile-menu-panel .mat-mdc-menu-item.cdk-program-focused,::ng-deep .ptech-profile-menu-panel .mat-mdc-menu-item.cdk-focused{background-color:var(--ptech-menu-hover, var(--app-chip-bg, rgba(0,0,0,.06)))!important}::ng-deep .ptech-profile-menu-panel .mat-divider,::ng-deep .ptech-profile-menu-panel .mat-mdc-menu-item+.mat-divider{border-top-color:var(--ptech-menu-divider, var(--app-border-color, rgba(0,0,0,.12)))!important}::ng-deep .ptech-profile-menu-panel .mat-mdc-menu-item[disabled],::ng-deep .ptech-profile-menu-panel .mat-mdc-menu-item[disabled] .mat-icon,::ng-deep .ptech-profile-menu-panel .mat-mdc-menu-item[disabled] span{color:var(--ptech-menu-disabled, var(--app-muted, #9ca3af))!important;opacity:1!important}::ng-deep .ptech-profile-menu-panel .profile-menu-flag{width:var(--mat-menu-item-leading-spacing, 24px);min-width:var(--mat-menu-item-leading-spacing, 24px);margin-right:var(--mat-menu-item-spacing, 16px);justify-content:center}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: CoreMaterialModule }, { kind: "component", type: i5$2.MatDivider, selector: "mat-divider", inputs: ["vertical", "inset"] }, { kind: "component", type: i3$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: i4$2.MatMenu, selector: "mat-menu", inputs: ["backdropClass", "aria-label", "aria-labelledby", "aria-describedby", "xPosition", "yPosition", "overlapTrigger", "hasBackdrop", "class", "classList"], outputs: ["closed", "close"], exportAs: ["matMenu"] }, { kind: "component", type: i4$2.MatMenuItem, selector: "[mat-menu-item]", inputs: ["role", "disabled", "disableRipple"], exportAs: ["matMenuItem"] }, { kind: "directive", type: i4$2.MatMenuTrigger, selector: "[mat-menu-trigger-for], [matMenuTriggerFor]", inputs: ["mat-menu-trigger-for", "matMenuTriggerFor", "matMenuTriggerData", "matMenuTriggerRestoreFocus"], outputs: ["menuOpened", "onMenuOpen", "menuClosed", "onMenuClose"], exportAs: ["matMenuTrigger"] }, { kind: "component", type: FlagComponent, selector: "ptech-flag", inputs: ["code", "size", "squared", "tooltip", "label", "ariaLabel", "clickable", "col"], outputs: ["flagClick"] }, { kind: "pipe", type: GetFirstStringBeforeSpacePipe, name: "getFirstStringBeforeSpace" }] });
|
|
5260
5284
|
}
|
|
5261
5285
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ProfileMenuComponent, decorators: [{
|
|
5262
5286
|
type: Component,
|
|
5263
5287
|
args: [{ selector: 'ptech-profile-menu', imports: [CommonModule, CoreMaterialModule, GetFirstStringBeforeSpacePipe, FlagComponent], template: `
|
|
5264
5288
|
<div class="profile-menu" [matMenuTriggerFor]="menu" aria-label="Profile menu">
|
|
5265
|
-
<
|
|
5289
|
+
<ptech-flag
|
|
5290
|
+
*ngIf="flagCode; else triggerIcon"
|
|
5291
|
+
class="profile-trigger-flag"
|
|
5292
|
+
[code]="flagCode"
|
|
5293
|
+
[size]="flagSize"
|
|
5294
|
+
[squared]="flagSquared"
|
|
5295
|
+
[ariaLabel]="flagAriaLabel || 'Profile menu flag'"
|
|
5296
|
+
></ptech-flag>
|
|
5297
|
+
<ng-template #triggerIcon>
|
|
5298
|
+
<mat-icon aria-hidden="true"> {{ icon }}</mat-icon>
|
|
5299
|
+
</ng-template>
|
|
5266
5300
|
<span class="hide-on-mobile">{{ displayName | getFirstStringBeforeSpace }}</span>
|
|
5267
5301
|
<mat-icon>arrow_drop_down</mat-icon>
|
|
5268
5302
|
</div>
|
|
5269
5303
|
|
|
5270
5304
|
<mat-menu #menu="matMenu" class="ptech-profile-menu-panel">
|
|
5271
5305
|
<button mat-menu-item class="show-on-mobile user-item" disabled>
|
|
5272
|
-
<
|
|
5306
|
+
<ptech-flag
|
|
5307
|
+
*ngIf="flagCode; else mobileUserIcon"
|
|
5308
|
+
class="profile-menu-flag"
|
|
5309
|
+
[code]="flagCode"
|
|
5310
|
+
[size]="flagSize"
|
|
5311
|
+
[squared]="flagSquared"
|
|
5312
|
+
[ariaLabel]="flagAriaLabel || 'Profile menu flag'"
|
|
5313
|
+
></ptech-flag>
|
|
5314
|
+
<ng-template #mobileUserIcon>
|
|
5315
|
+
<mat-icon aria-hidden="true"> {{ icon }}</mat-icon>
|
|
5316
|
+
</ng-template>
|
|
5273
5317
|
<span>{{ displayName | getFirstStringBeforeSpace }}</span>
|
|
5274
5318
|
</button>
|
|
5275
5319
|
<mat-divider class="show-on-mobile"></mat-divider>
|
|
@@ -5294,9 +5338,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
5294
5338
|
|
|
5295
5339
|
<ng-content select="[extra-items]"></ng-content>
|
|
5296
5340
|
</mat-menu>
|
|
5297
|
-
`, styles: [".profile-menu{display:flex;align-items:center;cursor:pointer;position:relative}.profile-menu mat-icon{margin-right:8px;color:var(--ptech-profile-trigger-text, var(--ptech-header-icon-color, var(--app-text-on-accent, #fff)))}.profile-menu span{color:var(--ptech-profile-trigger-text, var(--ptech-header-icon-color, var(--app-text-on-accent, #fff)));font-weight:700;margin-right:4px}.profile-menu mat-icon:last-child{margin-right:0}.mat-divider{margin:0!important}.hide-on-mobile{display:inline}.show-on-mobile{display:none}@media (max-width: 599px){.hide-on-mobile{display:none}.show-on-mobile{display:flex}}.user-item span{font-weight:700}::ng-deep .ptech-profile-menu-panel,::ng-deep .ptech-profile-menu-panel.mat-mdc-menu-panel{background-color:var(--ptech-menu-bg, var(--app-surface, #fff))!important;color:var(--ptech-menu-text, var(--app-text, inherit))!important}::ng-deep .ptech-profile-menu-panel .mat-mdc-menu-content{background-color:var(--ptech-menu-bg, var(--app-surface, #fff))!important;color:var(--ptech-menu-text, var(--app-text, inherit))!important}::ng-deep .ptech-profile-menu-panel .mat-mdc-menu-item,::ng-deep .ptech-profile-menu-panel .mat-mdc-menu-item .mat-icon,::ng-deep .ptech-profile-menu-panel .mat-mdc-menu-item .mdc-list-item__primary-text,::ng-deep .ptech-profile-menu-panel .mat-mdc-menu-item span{color:var(--ptech-menu-text, var(--app-text, inherit))!important}::ng-deep .ptech-profile-menu-panel .mat-mdc-menu-item:hover,::ng-deep .ptech-profile-menu-panel .mat-mdc-menu-item.cdk-program-focused,::ng-deep .ptech-profile-menu-panel .mat-mdc-menu-item.cdk-focused{background-color:var(--ptech-menu-hover, var(--app-chip-bg, rgba(0,0,0,.06)))!important}::ng-deep .ptech-profile-menu-panel .mat-divider,::ng-deep .ptech-profile-menu-panel .mat-mdc-menu-item+.mat-divider{border-top-color:var(--ptech-menu-divider, var(--app-border-color, rgba(0,0,0,.12)))!important}::ng-deep .ptech-profile-menu-panel .mat-mdc-menu-item[disabled],::ng-deep .ptech-profile-menu-panel .mat-mdc-menu-item[disabled] .mat-icon,::ng-deep .ptech-profile-menu-panel .mat-mdc-menu-item[disabled] span{color:var(--ptech-menu-disabled, var(--app-muted, #9ca3af))!important;opacity:1!important}::ng-deep .ptech-profile-menu-panel .profile-menu-flag{width:var(--mat-menu-item-leading-spacing, 24px);min-width:var(--mat-menu-item-leading-spacing, 24px);margin-right:var(--mat-menu-item-spacing, 16px);justify-content:center}\n"] }]
|
|
5341
|
+
`, styles: [".profile-menu{display:flex;align-items:center;cursor:pointer;position:relative}.profile-menu mat-icon{margin-right:8px;color:var(--ptech-profile-trigger-text, var(--ptech-header-icon-color, var(--app-text-on-accent, #fff)))}.profile-menu span{color:var(--ptech-profile-trigger-text, var(--ptech-header-icon-color, var(--app-text-on-accent, #fff)));font-weight:700;margin-right:4px}.profile-menu mat-icon:last-child{margin-right:0}.profile-trigger-flag{margin-right:8px;justify-content:center}.mat-divider{margin:0!important}.hide-on-mobile{display:inline}.show-on-mobile{display:none}@media (max-width: 599px){.hide-on-mobile{display:none}.show-on-mobile{display:flex}}.user-item span{font-weight:700}::ng-deep .ptech-profile-menu-panel,::ng-deep .ptech-profile-menu-panel.mat-mdc-menu-panel{background-color:var(--ptech-menu-bg, var(--app-surface, #fff))!important;color:var(--ptech-menu-text, var(--app-text, inherit))!important}::ng-deep .ptech-profile-menu-panel .mat-mdc-menu-content{background-color:var(--ptech-menu-bg, var(--app-surface, #fff))!important;color:var(--ptech-menu-text, var(--app-text, inherit))!important}::ng-deep .ptech-profile-menu-panel .mat-mdc-menu-item,::ng-deep .ptech-profile-menu-panel .mat-mdc-menu-item .mat-icon,::ng-deep .ptech-profile-menu-panel .mat-mdc-menu-item .mdc-list-item__primary-text,::ng-deep .ptech-profile-menu-panel .mat-mdc-menu-item span{color:var(--ptech-menu-text, var(--app-text, inherit))!important}::ng-deep .ptech-profile-menu-panel .mat-mdc-menu-item:hover,::ng-deep .ptech-profile-menu-panel .mat-mdc-menu-item.cdk-program-focused,::ng-deep .ptech-profile-menu-panel .mat-mdc-menu-item.cdk-focused{background-color:var(--ptech-menu-hover, var(--app-chip-bg, rgba(0,0,0,.06)))!important}::ng-deep .ptech-profile-menu-panel .mat-divider,::ng-deep .ptech-profile-menu-panel .mat-mdc-menu-item+.mat-divider{border-top-color:var(--ptech-menu-divider, var(--app-border-color, rgba(0,0,0,.12)))!important}::ng-deep .ptech-profile-menu-panel .mat-mdc-menu-item[disabled],::ng-deep .ptech-profile-menu-panel .mat-mdc-menu-item[disabled] .mat-icon,::ng-deep .ptech-profile-menu-panel .mat-mdc-menu-item[disabled] span{color:var(--ptech-menu-disabled, var(--app-muted, #9ca3af))!important;opacity:1!important}::ng-deep .ptech-profile-menu-panel .profile-menu-flag{width:var(--mat-menu-item-leading-spacing, 24px);min-width:var(--mat-menu-item-leading-spacing, 24px);margin-right:var(--mat-menu-item-spacing, 16px);justify-content:center}\n"] }]
|
|
5298
5342
|
}], propDecorators: { icon: [{
|
|
5299
5343
|
type: Input
|
|
5344
|
+
}], flagCode: [{
|
|
5345
|
+
type: Input
|
|
5346
|
+
}], flagSize: [{
|
|
5347
|
+
type: Input
|
|
5348
|
+
}], flagSquared: [{
|
|
5349
|
+
type: Input
|
|
5350
|
+
}], flagAriaLabel: [{
|
|
5351
|
+
type: Input
|
|
5300
5352
|
}], displayName: [{
|
|
5301
5353
|
type: Input
|
|
5302
5354
|
}], items: [{
|
|
@@ -6096,6 +6148,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
6096
6148
|
}] } });
|
|
6097
6149
|
|
|
6098
6150
|
class TableComponent {
|
|
6151
|
+
iterableDiffers;
|
|
6099
6152
|
title = '';
|
|
6100
6153
|
loading = false;
|
|
6101
6154
|
data = [];
|
|
@@ -6124,10 +6177,16 @@ class TableComponent {
|
|
|
6124
6177
|
reorder = new EventEmitter();
|
|
6125
6178
|
toggleChange = new EventEmitter();
|
|
6126
6179
|
displayedColumns = [];
|
|
6180
|
+
renderData = [];
|
|
6127
6181
|
selection = new SelectionModel(this.selectMultipleRow, []);
|
|
6128
6182
|
selectedIdSet = new Set();
|
|
6183
|
+
dataDiffer;
|
|
6184
|
+
matTable;
|
|
6129
6185
|
cellTemplates;
|
|
6130
6186
|
cellTemplateMap = new Map();
|
|
6187
|
+
constructor(iterableDiffers) {
|
|
6188
|
+
this.iterableDiffers = iterableDiffers;
|
|
6189
|
+
}
|
|
6131
6190
|
ngAfterContentInit() {
|
|
6132
6191
|
this.rebuildTemplateMap();
|
|
6133
6192
|
// se os templates mudarem dinamicamente (raro), sincroniza:
|
|
@@ -6159,9 +6218,13 @@ class TableComponent {
|
|
|
6159
6218
|
if (this.actions?.length)
|
|
6160
6219
|
cols.push('__actions');
|
|
6161
6220
|
this.displayedColumns = cols;
|
|
6221
|
+
if (changes['data']) {
|
|
6222
|
+
this.dataDiffer = this.iterableDiffers.find(this.data || []).create();
|
|
6223
|
+
this.syncRenderData();
|
|
6224
|
+
}
|
|
6162
6225
|
// ressincroniza selection da página
|
|
6163
6226
|
this.selection = new SelectionModel(this.selectMultipleRow, []);
|
|
6164
|
-
for (const row of this.
|
|
6227
|
+
for (const row of this.renderData || []) {
|
|
6165
6228
|
const id = this.getRowId(row);
|
|
6166
6229
|
if (this.selectedIdSet.has(id)) {
|
|
6167
6230
|
this.selection.select(row);
|
|
@@ -6170,16 +6233,31 @@ class TableComponent {
|
|
|
6170
6233
|
// emite estado consolidado
|
|
6171
6234
|
this.emitSelected();
|
|
6172
6235
|
}
|
|
6236
|
+
ngDoCheck() {
|
|
6237
|
+
if (!this.dataDiffer) {
|
|
6238
|
+
this.dataDiffer = this.iterableDiffers.find(this.data || []).create();
|
|
6239
|
+
this.syncRenderData();
|
|
6240
|
+
return;
|
|
6241
|
+
}
|
|
6242
|
+
const changes = this.dataDiffer.diff(this.data || []);
|
|
6243
|
+
if (changes) {
|
|
6244
|
+
this.syncRenderData();
|
|
6245
|
+
this.matTable?.renderRows();
|
|
6246
|
+
}
|
|
6247
|
+
}
|
|
6248
|
+
syncRenderData() {
|
|
6249
|
+
this.renderData = [...(this.data || [])];
|
|
6250
|
+
}
|
|
6173
6251
|
// selecionar/deselecionar todos da PÁGINA atual
|
|
6174
6252
|
toggleAllRows() {
|
|
6175
|
-
const pageAllSelected = (this.
|
|
6253
|
+
const pageAllSelected = (this.renderData || []).every(r => this.selectedIdSet.has(this.getRowId(r)));
|
|
6176
6254
|
if (pageAllSelected) {
|
|
6177
|
-
for (const r of this.
|
|
6255
|
+
for (const r of this.renderData || [])
|
|
6178
6256
|
this.selectedIdSet.delete(this.getRowId(r));
|
|
6179
6257
|
this.selection.clear();
|
|
6180
6258
|
}
|
|
6181
6259
|
else {
|
|
6182
|
-
for (const r of this.
|
|
6260
|
+
for (const r of this.renderData || []) {
|
|
6183
6261
|
const id = this.getRowId(r);
|
|
6184
6262
|
if (!this.selectedIdSet.has(id)) {
|
|
6185
6263
|
this.selectedIdSet.add(id);
|
|
@@ -6192,7 +6270,7 @@ class TableComponent {
|
|
|
6192
6270
|
/** Verifica se todas estão selecionadas */
|
|
6193
6271
|
isAllSelected() {
|
|
6194
6272
|
// “todos da página atual”
|
|
6195
|
-
return !!this.
|
|
6273
|
+
return !!this.renderData?.length && (this.renderData || []).every(r => this.selectedIdSet.has(this.getRowId(r)));
|
|
6196
6274
|
}
|
|
6197
6275
|
// opcional: API para limpar seleção externamente
|
|
6198
6276
|
clearSelection() {
|
|
@@ -6223,7 +6301,7 @@ class TableComponent {
|
|
|
6223
6301
|
const selectedRows = [];
|
|
6224
6302
|
const selectedIds = Array.from(this.selectedIdSet);
|
|
6225
6303
|
// tenta reconstruir as linhas selecionadas (apenas as presentes na página atual)
|
|
6226
|
-
for (const row of this.
|
|
6304
|
+
for (const row of this.renderData || []) {
|
|
6227
6305
|
const id = this.getRowId(row);
|
|
6228
6306
|
if (this.selectedIdSet.has(id))
|
|
6229
6307
|
selectedRows.push(row);
|
|
@@ -6247,18 +6325,27 @@ class TableComponent {
|
|
|
6247
6325
|
this.page.emit({ pageIndex: ev.pageIndex, pageSize: ev.pageSize });
|
|
6248
6326
|
}
|
|
6249
6327
|
onDrop(event) {
|
|
6250
|
-
if (!this.reorderable || !Array.isArray(this.
|
|
6328
|
+
if (!this.reorderable || !Array.isArray(this.renderData))
|
|
6251
6329
|
return;
|
|
6252
6330
|
if (event.previousIndex === event.currentIndex)
|
|
6253
6331
|
return;
|
|
6254
|
-
moveItemInArray(this.
|
|
6332
|
+
moveItemInArray(this.renderData, event.previousIndex, event.currentIndex);
|
|
6255
6333
|
this.reorder.emit({
|
|
6256
6334
|
previousIndex: event.previousIndex,
|
|
6257
6335
|
currentIndex: event.currentIndex,
|
|
6258
|
-
item: this.
|
|
6259
|
-
data: [...this.
|
|
6336
|
+
item: this.renderData[event.currentIndex],
|
|
6337
|
+
data: [...this.renderData],
|
|
6260
6338
|
});
|
|
6261
6339
|
}
|
|
6340
|
+
cellTemplateContext(row, col, rowIndex) {
|
|
6341
|
+
return {
|
|
6342
|
+
$implicit: row,
|
|
6343
|
+
row,
|
|
6344
|
+
column: col,
|
|
6345
|
+
value: this.renderCell(row, col),
|
|
6346
|
+
index: rowIndex,
|
|
6347
|
+
};
|
|
6348
|
+
}
|
|
6262
6349
|
renderCell(row, col) {
|
|
6263
6350
|
if (col?.cell)
|
|
6264
6351
|
return col.cell(row);
|
|
@@ -6346,8 +6433,8 @@ class TableComponent {
|
|
|
6346
6433
|
value: !!value,
|
|
6347
6434
|
});
|
|
6348
6435
|
}
|
|
6349
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: TableComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
6350
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.16", type: TableComponent, isStandalone: true, selector: "ptech-table", inputs: { title: "title", loading: "loading", data: "data", total: "total", pageIndex: "pageIndex", pageSize: "pageSize", pageSizeOptions: "pageSizeOptions", columns: "columns", actions: "actions", selectRow: "selectRow", selectMultipleRow: "selectMultipleRow", selectionMode: "selectionMode", usePtechSelectionControls: "usePtechSelectionControls", getRowId: "getRowId", imageFallback: "imageFallback", responsiveCards: "responsiveCards", reorderable: "reorderable" }, outputs: { selectedRows: "selectedRows", selectedRow: "selectedRow", selectedIds: "selectedIds", selectionChange: "selectionChange", page: "page", reorder: "reorder", toggleChange: "toggleChange" }, queries: [{ propertyName: "cellTemplates", predicate: TableCellDirective }], usesOnChanges: true, ngImport: i0, template: `
|
|
6436
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: TableComponent, deps: [{ token: i0.IterableDiffers }], target: i0.ɵɵFactoryTarget.Component });
|
|
6437
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.16", type: TableComponent, isStandalone: true, selector: "ptech-table", inputs: { title: "title", loading: "loading", data: "data", total: "total", pageIndex: "pageIndex", pageSize: "pageSize", pageSizeOptions: "pageSizeOptions", columns: "columns", actions: "actions", selectRow: "selectRow", selectMultipleRow: "selectMultipleRow", selectionMode: "selectionMode", usePtechSelectionControls: "usePtechSelectionControls", getRowId: "getRowId", imageFallback: "imageFallback", responsiveCards: "responsiveCards", reorderable: "reorderable" }, outputs: { selectedRows: "selectedRows", selectedRow: "selectedRow", selectedIds: "selectedIds", selectionChange: "selectionChange", page: "page", reorder: "reorder", toggleChange: "toggleChange" }, queries: [{ propertyName: "cellTemplates", predicate: TableCellDirective }], viewQueries: [{ propertyName: "matTable", first: true, predicate: MatTable, descendants: true }], usesOnChanges: true, ngImport: i0, template: `
|
|
6351
6438
|
<div class="table-container mat-elevation-z8">
|
|
6352
6439
|
<div class="header-row" *ngIf="title">
|
|
6353
6440
|
<h3>{{ title }}</h3>
|
|
@@ -6369,9 +6456,9 @@ class TableComponent {
|
|
|
6369
6456
|
<div class="table-scroll" [class.hide-on-mobile]="responsiveCards">
|
|
6370
6457
|
<table
|
|
6371
6458
|
mat-table
|
|
6372
|
-
[dataSource]="
|
|
6459
|
+
[dataSource]="renderData"
|
|
6373
6460
|
cdkDropList
|
|
6374
|
-
[cdkDropListData]="
|
|
6461
|
+
[cdkDropListData]="renderData"
|
|
6375
6462
|
[cdkDropListDisabled]="!reorderable"
|
|
6376
6463
|
(cdkDropListDropped)="onDrop($event)"
|
|
6377
6464
|
>
|
|
@@ -6438,7 +6525,7 @@ class TableComponent {
|
|
|
6438
6525
|
<!-- se existir template customizado para a coluna, usa ele -->
|
|
6439
6526
|
<ng-container *ngIf="getCellTemplate(c.key) as tpl; else defaultCell">
|
|
6440
6527
|
<ng-container
|
|
6441
|
-
*ngTemplateOutlet="tpl; context:
|
|
6528
|
+
*ngTemplateOutlet="tpl; context: cellTemplateContext(row, c)"
|
|
6442
6529
|
></ng-container>
|
|
6443
6530
|
</ng-container>
|
|
6444
6531
|
|
|
@@ -6538,7 +6625,7 @@ class TableComponent {
|
|
|
6538
6625
|
class="cards-container hide-on-desktop"
|
|
6539
6626
|
>
|
|
6540
6627
|
<div
|
|
6541
|
-
|
|
6628
|
+
*ngFor="let row of renderData; let rowIndex = index"
|
|
6542
6629
|
class="card mat-elevation-z8"
|
|
6543
6630
|
[class.selected]="isSelected(row)"
|
|
6544
6631
|
>
|
|
@@ -6575,7 +6662,7 @@ class TableComponent {
|
|
|
6575
6662
|
<div>
|
|
6576
6663
|
<strong>{{ c.header }}:</strong>
|
|
6577
6664
|
<ng-container
|
|
6578
|
-
*ngTemplateOutlet="tpl; context:
|
|
6665
|
+
*ngTemplateOutlet="tpl; context: cellTemplateContext(row, c, rowIndex)"
|
|
6579
6666
|
></ng-container>
|
|
6580
6667
|
</div>
|
|
6581
6668
|
</ng-container>
|
|
@@ -6676,7 +6763,7 @@ class TableComponent {
|
|
|
6676
6763
|
>
|
|
6677
6764
|
</mat-paginator>
|
|
6678
6765
|
|
|
6679
|
-
<div *ngIf="!
|
|
6766
|
+
<div *ngIf="!renderData?.length" class="muted" style="padding: 12px">
|
|
6680
6767
|
Sem dados.
|
|
6681
6768
|
</div>
|
|
6682
6769
|
</ng-container>
|
|
@@ -6711,9 +6798,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
6711
6798
|
<div class="table-scroll" [class.hide-on-mobile]="responsiveCards">
|
|
6712
6799
|
<table
|
|
6713
6800
|
mat-table
|
|
6714
|
-
[dataSource]="
|
|
6801
|
+
[dataSource]="renderData"
|
|
6715
6802
|
cdkDropList
|
|
6716
|
-
[cdkDropListData]="
|
|
6803
|
+
[cdkDropListData]="renderData"
|
|
6717
6804
|
[cdkDropListDisabled]="!reorderable"
|
|
6718
6805
|
(cdkDropListDropped)="onDrop($event)"
|
|
6719
6806
|
>
|
|
@@ -6780,7 +6867,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
6780
6867
|
<!-- se existir template customizado para a coluna, usa ele -->
|
|
6781
6868
|
<ng-container *ngIf="getCellTemplate(c.key) as tpl; else defaultCell">
|
|
6782
6869
|
<ng-container
|
|
6783
|
-
*ngTemplateOutlet="tpl; context:
|
|
6870
|
+
*ngTemplateOutlet="tpl; context: cellTemplateContext(row, c)"
|
|
6784
6871
|
></ng-container>
|
|
6785
6872
|
</ng-container>
|
|
6786
6873
|
|
|
@@ -6880,7 +6967,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
6880
6967
|
class="cards-container hide-on-desktop"
|
|
6881
6968
|
>
|
|
6882
6969
|
<div
|
|
6883
|
-
|
|
6970
|
+
*ngFor="let row of renderData; let rowIndex = index"
|
|
6884
6971
|
class="card mat-elevation-z8"
|
|
6885
6972
|
[class.selected]="isSelected(row)"
|
|
6886
6973
|
>
|
|
@@ -6917,7 +7004,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
6917
7004
|
<div>
|
|
6918
7005
|
<strong>{{ c.header }}:</strong>
|
|
6919
7006
|
<ng-container
|
|
6920
|
-
*ngTemplateOutlet="tpl; context:
|
|
7007
|
+
*ngTemplateOutlet="tpl; context: cellTemplateContext(row, c, rowIndex)"
|
|
6921
7008
|
></ng-container>
|
|
6922
7009
|
</div>
|
|
6923
7010
|
</ng-container>
|
|
@@ -7018,7 +7105,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
7018
7105
|
>
|
|
7019
7106
|
</mat-paginator>
|
|
7020
7107
|
|
|
7021
|
-
<div *ngIf="!
|
|
7108
|
+
<div *ngIf="!renderData?.length" class="muted" style="padding: 12px">
|
|
7022
7109
|
Sem dados.
|
|
7023
7110
|
</div>
|
|
7024
7111
|
</ng-container>
|
|
@@ -7028,7 +7115,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
7028
7115
|
</ng-template>
|
|
7029
7116
|
</div>
|
|
7030
7117
|
`, styles: [":host{display:block;width:100%;max-width:100%;box-sizing:border-box;overflow-x:hidden}.table-container{width:100%;max-width:100%;box-sizing:border-box;margin:0 0 20px;padding:0 16px}.table-scroll{width:100%;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.table-scroll table{width:max-content;min-width:100%;border-collapse:collapse;table-layout:auto;background:var(--ptech-table-bg, var(--app-surface, #fff))}:host ::ng-deep .table-scroll .mat-mdc-header-row,:host ::ng-deep .table-scroll .mdc-data-table__header-row{background:var(--ptech-table-header-bg, var(--app-surface-2, #f7f7f7))}:host ::ng-deep .table-scroll .mat-mdc-header-cell{color:var(--ptech-table-header-text, var(--app-text, inherit));border-bottom-color:var(--ptech-table-divider, var(--app-border-color, rgba(0,0,0,.12)))}:host ::ng-deep .table-scroll .mat-mdc-cell{color:var(--ptech-table-cell-text, var(--app-text, inherit));border-bottom-color:var(--ptech-table-divider, var(--app-border-color, rgba(0,0,0,.12)))}:host ::ng-deep .table-scroll .mat-mdc-row,:host ::ng-deep .table-scroll .mdc-data-table__row{background:var(--ptech-table-bg, var(--app-surface, #fff))}:host ::ng-deep .mat-mdc-paginator{background:var(--ptech-table-bg, var(--app-surface, #fff));color:var(--ptech-table-cell-text, var(--app-text, inherit))}:host ::ng-deep .mat-mdc-paginator .mat-mdc-paginator-page-size-label,:host ::ng-deep .mat-mdc-paginator .mat-mdc-paginator-range-label,:host ::ng-deep .mat-mdc-paginator .mat-mdc-select-value-text,:host ::ng-deep .mat-mdc-paginator .mat-mdc-select-arrow,:host ::ng-deep .mat-mdc-paginator .mat-mdc-icon-button{color:var(--ptech-table-cell-text, var(--app-text, inherit))}:host ::ng-deep .mat-mdc-paginator .mat-mdc-paginator-icon,:host ::ng-deep .mat-mdc-paginator .mat-mdc-icon-button svg,:host ::ng-deep .mat-mdc-paginator .mat-mdc-icon-button svg path{fill:var(--ptech-table-cell-text, var(--app-text, inherit))!important}:host ::ng-deep .mat-mdc-paginator .mat-mdc-icon-button[disabled],:host ::ng-deep .mat-mdc-paginator .mat-mdc-icon-button.mat-mdc-button-disabled{color:var(--app-muted, #9ca3af)!important}:host ::ng-deep .mat-mdc-paginator .mat-mdc-icon-button[disabled] .mat-mdc-paginator-icon,:host ::ng-deep .mat-mdc-paginator .mat-mdc-icon-button.mat-mdc-button-disabled .mat-mdc-paginator-icon,:host ::ng-deep .mat-mdc-paginator .mat-mdc-icon-button[disabled] svg,:host ::ng-deep .mat-mdc-paginator .mat-mdc-icon-button.mat-mdc-button-disabled svg,:host ::ng-deep .mat-mdc-paginator .mat-mdc-icon-button[disabled] svg path,:host ::ng-deep .mat-mdc-paginator .mat-mdc-icon-button.mat-mdc-button-disabled svg path{fill:var(--app-muted, #9ca3af)!important}::ng-deep .ptech-table-paginator-panel{background-color:var(--app-surface, #fff)!important}::ng-deep .ptech-table-paginator-panel .mdc-list-item__primary-text{color:var(--app-text, inherit)!important}::ng-deep .ptech-table-paginator-panel .mat-mdc-option:hover:not(.mdc-list-item--disabled),::ng-deep .ptech-table-paginator-panel .mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled){background-color:var(--app-chip-bg, rgba(0,0,0,.06))!important}:host ::ng-deep .mat-mdc-radio-button .mdc-radio__native-control:enabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--ptech-table-cell-text, var(--app-text, inherit))!important}:host ::ng-deep .mat-mdc-radio-button .mdc-radio__native-control:enabled:not(:checked)+.mdc-radio__background .mdc-radio__inner-circle{border-color:var(--ptech-table-cell-text, var(--app-text, inherit))!important}:host ::ng-deep .mat-mdc-checkbox .mdc-checkbox__background{border-color:var(--ptech-checkbox-border, var(--ptech-table-cell-text, var(--app-text, inherit)))!important;background-color:transparent!important}:host ::ng-deep .mat-mdc-checkbox .mdc-checkbox__checkmark{color:var(--ptech-checkbox-checkmark, #ffffff)!important}:host ::ng-deep .mat-mdc-checkbox.mat-mdc-checkbox-checked .mdc-checkbox__background,:host ::ng-deep .mat-mdc-checkbox.mat-mdc-checkbox-indeterminate .mdc-checkbox__background{border-color:var(--ptech-checkbox-checked-bg, var(--app-link-accent, #42a5f5))!important;background-color:var(--ptech-checkbox-checked-bg, var(--app-link-accent, #42a5f5))!important}.td-thumb{box-shadow:var(--ptech-table-shadow-sm, 0 1px 2px rgba(0, 0, 0, .15));background:var(--ptech-table-thumb-bg, #f4f6fa)}tr.selected{background-color:var(--ptech-table-row-selected, rgba(33, 150, 243, .08))}.mat-column-select{width:56px;text-align:center}.mat-column-__actions{text-align:center;width:120px}.hide-on-mobile{display:block}.hide-on-desktop{display:none}.table-filters{box-shadow:var(--ptech-table-shadow-md, 0px 4px 6px rgba(0, 0, 0, .2));margin:0 0 10px!important;background-color:var(--ptech-table-filters-bg, var(--app-surface-2, #f7f7f7));padding:16px;border-radius:8px;flex-wrap:wrap;gap:16px;align-items:center}.table-filters-actions{margin:0 0 8px}.table-filters:empty{display:none}.muted{background-color:var(--app-surface, #fff)!important}@media (max-width: 768px){.table-filters{padding:16px;margin-bottom:8px}.table-container{padding:0 8px;margin:0 0 12px}.hide-on-mobile{display:none}.hide-on-desktop{display:block}.cards-container{display:flex;flex-direction:column;gap:12px;margin:0 0 8px}.card{padding:8px 12px;border-radius:8px;background:var(--ptech-table-card-bg, var(--app-surface, #ffffff));border:1px solid var(--ptech-table-card-border, rgba(0, 0, 0, .06));box-shadow:var(--ptech-table-shadow-card, 0 1px 3px rgba(0, 0, 0, .12));font-family:inherit}.card.selected{border-color:var(--ptech-table-card-selected-border, #1976d2);background-color:var(--ptech-table-card-selected-bg, var(--app-row-selected-bg, #f3f7ff));box-shadow:0 0 0 1px #1976d226}.card-select{display:flex;justify-content:flex-end;margin-bottom:4px}.card-row{display:flex;flex-wrap:wrap;align-items:baseline;padding:4px 0;border-bottom:1px solid var(--ptech-table-card-divider, rgba(0, 0, 0, .04));line-height:1.5}.card-row div{width:100%;display:block;word-break:break-word;overflow-wrap:anywhere;white-space:normal}.card-row span,.card-row strong{word-break:break-word;overflow-wrap:anywhere}.card-row:last-child{border-bottom:none}.card-row strong{font-weight:500;font-size:12px;text-transform:uppercase;letter-spacing:.03em;color:var(--ptech-table-card-label, var(--app-muted, rgba(0, 0, 0, .6)));margin-right:6px;white-space:nowrap}.card-row{font-size:14px;color:var(--ptech-table-card-text, var(--app-text, rgba(0, 0, 0, .87)))}.card-actions{display:flex;gap:8px;justify-content:flex-end;margin-top:8px}}\n"] }]
|
|
7031
|
-
}], propDecorators: { title: [{
|
|
7118
|
+
}], ctorParameters: () => [{ type: i0.IterableDiffers }], propDecorators: { title: [{
|
|
7032
7119
|
type: Input
|
|
7033
7120
|
}], loading: [{
|
|
7034
7121
|
type: Input
|
|
@@ -7076,6 +7163,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
7076
7163
|
type: Output
|
|
7077
7164
|
}], toggleChange: [{
|
|
7078
7165
|
type: Output
|
|
7166
|
+
}], matTable: [{
|
|
7167
|
+
type: ViewChild,
|
|
7168
|
+
args: [MatTable]
|
|
7079
7169
|
}], cellTemplates: [{
|
|
7080
7170
|
type: ContentChildren,
|
|
7081
7171
|
args: [TableCellDirective]
|