@pumpkin-tech/pumpkin-tech-ng 0.2.39 → 0.2.40

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.
@@ -1108,6 +1108,10 @@ class ButtonComponent extends BaseField {
1108
1108
  shape = 'default';
1109
1109
  /** Cor do botão: ThemePalette (primary/accent/warn) ou cor CSS */
1110
1110
  color = 'primary';
1111
+ /** Exclusivos do tipo dashed */
1112
+ backgroundColor = 'transparent';
1113
+ hoverBackgroundColor = '';
1114
+ radius = 10;
1111
1115
  buttonClick = new EventEmitter();
1112
1116
  onLinkClick(event) {
1113
1117
  if (this.disabled || this.loading) {
@@ -1127,6 +1131,29 @@ class ButtonComponent extends BaseField {
1127
1131
  xxl: { h: 64, pad: '0 26px', icon: 32, font: 20, iconIconOnly: 32, iconFab: 36, iconMiniFab: 30 },
1128
1132
  };
1129
1133
  get sizeCfg() { return this.sizes[this.size] ?? this.sizes.md; }
1134
+ dashedSizes = {
1135
+ xs: { height: 30, minWidth: 30, padding: '6px', font: 12, icon: 16 },
1136
+ sm: { height: 36, minWidth: 36, padding: '8px', font: 14, icon: 20 },
1137
+ md: { height: 44, minWidth: 44, padding: '12px', font: 15, icon: 24 },
1138
+ lg: { height: 52, minWidth: 52, padding: '14px', font: 16, icon: 28 },
1139
+ xl: { height: 60, minWidth: 60, padding: '16px', font: 18, icon: 32 },
1140
+ xxl: { height: 72, minWidth: 72, padding: '20px', font: 20, icon: 36 },
1141
+ };
1142
+ get dashedSizeCfg() { return this.dashedSizes[this.size] ?? this.dashedSizes.md; }
1143
+ DEFAULT_TEXT_COLOR = 'var(--ptech-on-color, var(--app-text-on-accent, #ffffff))';
1144
+ get dashedTextColor() {
1145
+ return this.textColor !== this.DEFAULT_TEXT_COLOR ? this.textColor : null;
1146
+ }
1147
+ get dashedColor() {
1148
+ if (!this.isThemeColor)
1149
+ return this.color;
1150
+ const map = {
1151
+ primary: 'var(--app-primary, #22c55e)',
1152
+ accent: 'var(--app-accent, #3b82f6)',
1153
+ warn: 'var(--app-warn, #ef4444)',
1154
+ };
1155
+ return map[this.color] ?? '#22c55e';
1156
+ }
1130
1157
  get isThemeColor() {
1131
1158
  const c = (this.color ?? '').toString();
1132
1159
  return c === 'primary' || c === 'accent' || c === 'warn';
@@ -1164,7 +1191,7 @@ class ButtonComponent extends BaseField {
1164
1191
  this.buttonClick.emit(event);
1165
1192
  }
1166
1193
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ButtonComponent, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
1167
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.16", type: ButtonComponent, isStandalone: true, selector: "ptech-button", inputs: { type: "type", size: "size", tooltip: "tooltip", icon: "icon", iconColor: "iconColor", iconWidth: "iconWidth", iconHeight: "iconHeight", textColor: "textColor", link: "link", target: "target", shape: "shape", color: "color" }, outputs: { buttonClick: "buttonClick" }, usesInheritance: true, ngImport: i0, template: `
1194
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.16", type: ButtonComponent, isStandalone: true, selector: "ptech-button", inputs: { type: "type", size: "size", tooltip: "tooltip", icon: "icon", iconColor: "iconColor", iconWidth: "iconWidth", iconHeight: "iconHeight", textColor: "textColor", link: "link", target: "target", shape: "shape", color: "color", backgroundColor: "backgroundColor", hoverBackgroundColor: "hoverBackgroundColor", radius: "radius" }, outputs: { buttonClick: "buttonClick" }, usesInheritance: true, ngImport: i0, template: `
1168
1195
  <ng-container [ngSwitch]="type">
1169
1196
 
1170
1197
  <!-- BASIC -->
@@ -1443,6 +1470,41 @@ class ButtonComponent extends BaseField {
1443
1470
 
1444
1471
  </button>
1445
1472
 
1473
+ <!-- DASHED -->
1474
+ <button
1475
+ *ngSwitchCase="'dashed'"
1476
+ type="button"
1477
+ class="ptech-btn ptech-btn-dashed"
1478
+ [class.ptech-btn-dashed--icon-only]="!label"
1479
+ [disabled]="disabled || loading"
1480
+ [matTooltip]="tooltip || null"
1481
+ [attr.aria-busy]="loading ? 'true' : null"
1482
+ [attr.aria-label]="ariaLabel || label || icon || null"
1483
+ [style.--ptech-dashed-color]="dashedColor"
1484
+ [style.--ptech-dashed-text-color]="dashedTextColor"
1485
+ [style.--ptech-dashed-bg]="backgroundColor"
1486
+ [style.--ptech-dashed-hover-bg]="hoverBackgroundColor || null"
1487
+ [style.--ptech-dashed-radius.px]="radius"
1488
+ [style.--btn-h.px]="dashedSizeCfg.height"
1489
+ [style.--btn-dashed-min-w.px]="dashedSizeCfg.minWidth"
1490
+ [style.--btn-pad]="dashedSizeCfg.padding"
1491
+ [style.--btn-fs.px]="dashedSizeCfg.font"
1492
+ [style.--icon-fs.px]="dashedSizeCfg.icon"
1493
+ [style.width]="fullWidth ? '100%' : null"
1494
+ (click)="onInnerClick($event)"
1495
+ >
1496
+ <span class="btn-icon-wrapper" *ngIf="icon || loading">
1497
+ <mat-icon *ngIf="!loading && icon" class="btn-icon" [ngStyle]="iconStyle">{{ icon }}</mat-icon>
1498
+ <mat-progress-spinner
1499
+ *ngIf="loading"
1500
+ class="btn-spinner"
1501
+ [diameter]="dashedSizeCfg.icon"
1502
+ mode="indeterminate"
1503
+ ></mat-progress-spinner>
1504
+ </span>
1505
+ <span class="btn-label" *ngIf="label">{{ label }}</span>
1506
+ </button>
1507
+
1446
1508
  <!-- LINK -->
1447
1509
  <a
1448
1510
  *ngSwitchCase="'link'"
@@ -1475,7 +1537,7 @@ class ButtonComponent extends BaseField {
1475
1537
  </a>
1476
1538
 
1477
1539
  </ng-container>
1478
- `, isInline: true, styles: [".pill-style{border-radius:20px}.ptech-btn{min-height:var(--btn-h, 36px);padding:var(--btn-pad, 0 14px);display:inline-flex;align-items:center;justify-content:center;gap:6px}.btn-icon-wrapper{display:inline-flex;align-items:center;justify-content:center}.btn-icon{font-size:var(--icon-fs, 20px);line-height:1;display:inline-flex;align-items:center;justify-content:center}.btn-label{font-size:var(--btn-fs, 15px);margin-left:2px;line-height:1;display:inline-flex;align-items:center;transform:translateY(-3.5px)}.btn-spinner{display:inline-flex;align-items:center;justify-content:center;margin-right:5px;margin-top:5px}.btn-spinner ::ng-deep .mat-mdc-progress-spinner{margin:0;vertical-align:middle}.ptech-btn.ptech-btn-icon.mat-mdc-icon-button{width:var(--btn-icon-size, 36px)!important;height:var(--btn-icon-size, 36px)!important;min-width:var(--btn-icon-size, 36px)!important;min-height:var(--btn-icon-size, 36px)!important;padding:0!important;display:inline-flex;align-items:center;justify-content:center;pointer-events:auto}button,a[mat-button]{cursor:pointer;transition:box-shadow .3s,transform .2s}button:hover{box-shadow:0 4px 8px #0003}button:active{box-shadow:0 2px 4px #0003}button:disabled{cursor:not-allowed;opacity:.5;transform:none;box-shadow:none}.ptech-btn.ptech-btn-icon:disabled{opacity:1}.ptech-btn.ptech-btn-icon:disabled .btn-icon{color:var(--app-muted, #9ca3af)!important}.ptech-btn-icon .btn-icon{font-size:var(--icon-fs, 20px)}\n"], dependencies: [{ kind: "ngmodule", type: CoreMaterialModule }, { kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1$1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: i1$1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i1$1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "component", type: i2$1.MatButton, selector: " button[matButton], a[matButton], button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button], a[mat-button], a[mat-raised-button], a[mat-flat-button], a[mat-stroked-button] ", inputs: ["matButton"], exportAs: ["matButton", "matAnchor"] }, { kind: "component", type: i2$1.MatMiniFabButton, selector: "button[mat-mini-fab], a[mat-mini-fab], button[matMiniFab], a[matMiniFab]", exportAs: ["matButton", "matAnchor"] }, { kind: "component", type: i2$1.MatIconButton, selector: "button[mat-icon-button], a[mat-icon-button], button[matIconButton], a[matIconButton]", exportAs: ["matButton", "matAnchor"] }, { kind: "component", type: i2$1.MatFabButton, selector: "button[mat-fab], a[mat-fab], button[matFab], a[matFab]", inputs: ["extended"], exportAs: ["matButton", "matAnchor"] }, { kind: "component", type: i3$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: i7.MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }, { kind: "component", type: i5.MatProgressSpinner, selector: "mat-progress-spinner, mat-spinner", inputs: ["color", "mode", "value", "diameter", "strokeWidth"], exportAs: ["matProgressSpinner"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
1540
+ `, isInline: true, styles: [".pill-style{border-radius:20px}.ptech-btn{min-height:var(--btn-h, 36px);padding:var(--btn-pad, 0 14px);display:inline-flex;align-items:center;justify-content:center;gap:6px}.btn-icon-wrapper{display:inline-flex;align-items:center;justify-content:center}.btn-icon{font-size:var(--icon-fs, 20px);line-height:1;display:inline-flex;align-items:center;justify-content:center}.btn-label{font-size:var(--btn-fs, 15px);margin-left:2px;line-height:1;display:inline-flex;align-items:center;transform:translateY(-3.5px)}.btn-spinner{display:inline-flex;align-items:center;justify-content:center;margin-right:5px;margin-top:5px}.btn-spinner ::ng-deep .mat-mdc-progress-spinner{margin:0;vertical-align:middle}.ptech-btn.ptech-btn-icon.mat-mdc-icon-button{width:var(--btn-icon-size, 36px)!important;height:var(--btn-icon-size, 36px)!important;min-width:var(--btn-icon-size, 36px)!important;min-height:var(--btn-icon-size, 36px)!important;padding:0!important;display:inline-flex;align-items:center;justify-content:center;pointer-events:auto}button,a[mat-button]{cursor:pointer;transition:box-shadow .3s,transform .2s}button:not(.ptech-btn-dashed):hover{box-shadow:0 4px 8px #0003}button:not(.ptech-btn-dashed):active{box-shadow:0 2px 4px #0003}button:not(.ptech-btn-dashed):disabled{cursor:not-allowed;opacity:.5;transform:none;box-shadow:none}.ptech-btn.ptech-btn-icon:disabled{opacity:1}.ptech-btn.ptech-btn-icon:disabled .btn-icon{color:var(--app-muted, #9ca3af)!important}.ptech-btn-icon .btn-icon{font-size:var(--icon-fs, 20px)}.ptech-btn-dashed{min-height:var(--btn-h, 44px);min-width:var(--btn-dashed-min-w, 44px);padding:var(--btn-pad, 12px);border:2px dashed var(--ptech-dashed-color, #22c55e);border-radius:var(--ptech-dashed-radius, 10px);background:var(--ptech-dashed-bg, transparent);color:var(--ptech-dashed-text-color, var(--ptech-dashed-color, #22c55e));font-size:var(--btn-fs, 15px);font-weight:700;font-family:inherit;line-height:1;gap:8px;box-shadow:none;outline:none;box-sizing:border-box;transition:background-color .15s ease,box-shadow .15s ease,transform .15s ease}.ptech-btn-dashed.ptech-btn-dashed--icon-only{padding:var(--btn-pad, 12px);aspect-ratio:1}.ptech-btn-dashed:hover:not(:disabled){background:var(--ptech-dashed-hover-bg, color-mix(in srgb, var(--ptech-dashed-color, #22c55e) 12%, transparent));box-shadow:0 8px 18px color-mix(in srgb,var(--ptech-dashed-color, #22c55e) 20%,transparent)}.ptech-btn-dashed:focus-visible{box-shadow:0 0 0 3px color-mix(in srgb,var(--ptech-dashed-color, #22c55e) 22%,transparent)}.ptech-btn-dashed:active:not(:disabled){transform:translateY(1px);box-shadow:none}.ptech-btn-dashed:disabled{cursor:not-allowed;opacity:.55;box-shadow:none;transform:none}.ptech-btn-dashed .btn-label{transform:none;margin-left:0}.ptech-btn-dashed .btn-icon{width:var(--icon-fs, 24px);height:var(--icon-fs, 24px);font-size:var(--icon-fs, 24px);line-height:var(--icon-fs, 24px);--mdc-icon-size: var(--icon-fs, 24px);color:inherit}\n"], dependencies: [{ kind: "ngmodule", type: CoreMaterialModule }, { kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1$1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: i1$1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i1$1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "component", type: i2$1.MatButton, selector: " button[matButton], a[matButton], button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button], a[mat-button], a[mat-raised-button], a[mat-flat-button], a[mat-stroked-button] ", inputs: ["matButton"], exportAs: ["matButton", "matAnchor"] }, { kind: "component", type: i2$1.MatMiniFabButton, selector: "button[mat-mini-fab], a[mat-mini-fab], button[matMiniFab], a[matMiniFab]", exportAs: ["matButton", "matAnchor"] }, { kind: "component", type: i2$1.MatIconButton, selector: "button[mat-icon-button], a[mat-icon-button], button[matIconButton], a[matIconButton]", exportAs: ["matButton", "matAnchor"] }, { kind: "component", type: i2$1.MatFabButton, selector: "button[mat-fab], a[mat-fab], button[matFab], a[matFab]", inputs: ["extended"], exportAs: ["matButton", "matAnchor"] }, { kind: "component", type: i3$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: i7.MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }, { kind: "component", type: i5.MatProgressSpinner, selector: "mat-progress-spinner, mat-spinner", inputs: ["color", "mode", "value", "diameter", "strokeWidth"], exportAs: ["matProgressSpinner"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
1479
1541
  }
1480
1542
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ButtonComponent, decorators: [{
1481
1543
  type: Component,
@@ -1758,6 +1820,41 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
1758
1820
 
1759
1821
  </button>
1760
1822
 
1823
+ <!-- DASHED -->
1824
+ <button
1825
+ *ngSwitchCase="'dashed'"
1826
+ type="button"
1827
+ class="ptech-btn ptech-btn-dashed"
1828
+ [class.ptech-btn-dashed--icon-only]="!label"
1829
+ [disabled]="disabled || loading"
1830
+ [matTooltip]="tooltip || null"
1831
+ [attr.aria-busy]="loading ? 'true' : null"
1832
+ [attr.aria-label]="ariaLabel || label || icon || null"
1833
+ [style.--ptech-dashed-color]="dashedColor"
1834
+ [style.--ptech-dashed-text-color]="dashedTextColor"
1835
+ [style.--ptech-dashed-bg]="backgroundColor"
1836
+ [style.--ptech-dashed-hover-bg]="hoverBackgroundColor || null"
1837
+ [style.--ptech-dashed-radius.px]="radius"
1838
+ [style.--btn-h.px]="dashedSizeCfg.height"
1839
+ [style.--btn-dashed-min-w.px]="dashedSizeCfg.minWidth"
1840
+ [style.--btn-pad]="dashedSizeCfg.padding"
1841
+ [style.--btn-fs.px]="dashedSizeCfg.font"
1842
+ [style.--icon-fs.px]="dashedSizeCfg.icon"
1843
+ [style.width]="fullWidth ? '100%' : null"
1844
+ (click)="onInnerClick($event)"
1845
+ >
1846
+ <span class="btn-icon-wrapper" *ngIf="icon || loading">
1847
+ <mat-icon *ngIf="!loading && icon" class="btn-icon" [ngStyle]="iconStyle">{{ icon }}</mat-icon>
1848
+ <mat-progress-spinner
1849
+ *ngIf="loading"
1850
+ class="btn-spinner"
1851
+ [diameter]="dashedSizeCfg.icon"
1852
+ mode="indeterminate"
1853
+ ></mat-progress-spinner>
1854
+ </span>
1855
+ <span class="btn-label" *ngIf="label">{{ label }}</span>
1856
+ </button>
1857
+
1761
1858
  <!-- LINK -->
1762
1859
  <a
1763
1860
  *ngSwitchCase="'link'"
@@ -1790,7 +1887,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
1790
1887
  </a>
1791
1888
 
1792
1889
  </ng-container>
1793
- `, styles: [".pill-style{border-radius:20px}.ptech-btn{min-height:var(--btn-h, 36px);padding:var(--btn-pad, 0 14px);display:inline-flex;align-items:center;justify-content:center;gap:6px}.btn-icon-wrapper{display:inline-flex;align-items:center;justify-content:center}.btn-icon{font-size:var(--icon-fs, 20px);line-height:1;display:inline-flex;align-items:center;justify-content:center}.btn-label{font-size:var(--btn-fs, 15px);margin-left:2px;line-height:1;display:inline-flex;align-items:center;transform:translateY(-3.5px)}.btn-spinner{display:inline-flex;align-items:center;justify-content:center;margin-right:5px;margin-top:5px}.btn-spinner ::ng-deep .mat-mdc-progress-spinner{margin:0;vertical-align:middle}.ptech-btn.ptech-btn-icon.mat-mdc-icon-button{width:var(--btn-icon-size, 36px)!important;height:var(--btn-icon-size, 36px)!important;min-width:var(--btn-icon-size, 36px)!important;min-height:var(--btn-icon-size, 36px)!important;padding:0!important;display:inline-flex;align-items:center;justify-content:center;pointer-events:auto}button,a[mat-button]{cursor:pointer;transition:box-shadow .3s,transform .2s}button:hover{box-shadow:0 4px 8px #0003}button:active{box-shadow:0 2px 4px #0003}button:disabled{cursor:not-allowed;opacity:.5;transform:none;box-shadow:none}.ptech-btn.ptech-btn-icon:disabled{opacity:1}.ptech-btn.ptech-btn-icon:disabled .btn-icon{color:var(--app-muted, #9ca3af)!important}.ptech-btn-icon .btn-icon{font-size:var(--icon-fs, 20px)}\n"] }]
1890
+ `, styles: [".pill-style{border-radius:20px}.ptech-btn{min-height:var(--btn-h, 36px);padding:var(--btn-pad, 0 14px);display:inline-flex;align-items:center;justify-content:center;gap:6px}.btn-icon-wrapper{display:inline-flex;align-items:center;justify-content:center}.btn-icon{font-size:var(--icon-fs, 20px);line-height:1;display:inline-flex;align-items:center;justify-content:center}.btn-label{font-size:var(--btn-fs, 15px);margin-left:2px;line-height:1;display:inline-flex;align-items:center;transform:translateY(-3.5px)}.btn-spinner{display:inline-flex;align-items:center;justify-content:center;margin-right:5px;margin-top:5px}.btn-spinner ::ng-deep .mat-mdc-progress-spinner{margin:0;vertical-align:middle}.ptech-btn.ptech-btn-icon.mat-mdc-icon-button{width:var(--btn-icon-size, 36px)!important;height:var(--btn-icon-size, 36px)!important;min-width:var(--btn-icon-size, 36px)!important;min-height:var(--btn-icon-size, 36px)!important;padding:0!important;display:inline-flex;align-items:center;justify-content:center;pointer-events:auto}button,a[mat-button]{cursor:pointer;transition:box-shadow .3s,transform .2s}button:not(.ptech-btn-dashed):hover{box-shadow:0 4px 8px #0003}button:not(.ptech-btn-dashed):active{box-shadow:0 2px 4px #0003}button:not(.ptech-btn-dashed):disabled{cursor:not-allowed;opacity:.5;transform:none;box-shadow:none}.ptech-btn.ptech-btn-icon:disabled{opacity:1}.ptech-btn.ptech-btn-icon:disabled .btn-icon{color:var(--app-muted, #9ca3af)!important}.ptech-btn-icon .btn-icon{font-size:var(--icon-fs, 20px)}.ptech-btn-dashed{min-height:var(--btn-h, 44px);min-width:var(--btn-dashed-min-w, 44px);padding:var(--btn-pad, 12px);border:2px dashed var(--ptech-dashed-color, #22c55e);border-radius:var(--ptech-dashed-radius, 10px);background:var(--ptech-dashed-bg, transparent);color:var(--ptech-dashed-text-color, var(--ptech-dashed-color, #22c55e));font-size:var(--btn-fs, 15px);font-weight:700;font-family:inherit;line-height:1;gap:8px;box-shadow:none;outline:none;box-sizing:border-box;transition:background-color .15s ease,box-shadow .15s ease,transform .15s ease}.ptech-btn-dashed.ptech-btn-dashed--icon-only{padding:var(--btn-pad, 12px);aspect-ratio:1}.ptech-btn-dashed:hover:not(:disabled){background:var(--ptech-dashed-hover-bg, color-mix(in srgb, var(--ptech-dashed-color, #22c55e) 12%, transparent));box-shadow:0 8px 18px color-mix(in srgb,var(--ptech-dashed-color, #22c55e) 20%,transparent)}.ptech-btn-dashed:focus-visible{box-shadow:0 0 0 3px color-mix(in srgb,var(--ptech-dashed-color, #22c55e) 22%,transparent)}.ptech-btn-dashed:active:not(:disabled){transform:translateY(1px);box-shadow:none}.ptech-btn-dashed:disabled{cursor:not-allowed;opacity:.55;box-shadow:none;transform:none}.ptech-btn-dashed .btn-label{transform:none;margin-left:0}.ptech-btn-dashed .btn-icon{width:var(--icon-fs, 24px);height:var(--icon-fs, 24px);font-size:var(--icon-fs, 24px);line-height:var(--icon-fs, 24px);--mdc-icon-size: var(--icon-fs, 24px);color:inherit}\n"] }]
1794
1891
  }], ctorParameters: () => [{ type: i0.ElementRef }], propDecorators: { type: [{
1795
1892
  type: Input
1796
1893
  }], size: [{
@@ -1815,6 +1912,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
1815
1912
  type: Input
1816
1913
  }], color: [{
1817
1914
  type: Input
1915
+ }], backgroundColor: [{
1916
+ type: Input
1917
+ }], hoverBackgroundColor: [{
1918
+ type: Input
1919
+ }], radius: [{
1920
+ type: Input
1818
1921
  }], buttonClick: [{
1819
1922
  type: Output
1820
1923
  }] } });
@@ -4715,7 +4818,7 @@ class ActionDialogComponent {
4715
4818
  ></ptech-button>
4716
4819
  </mat-dialog-actions>
4717
4820
  </div>
4718
- `, isInline: true, styles: [":host{display:block;color:var(--ptech-dialog-text, var(--app-text, inherit))}.ptech-dialog-shell{display:flex;flex-direction:column;max-width:92vw;width:100%;max-height:88vh;min-height:0;background:var(--ptech-dialog-bg, var(--app-surface, #fff));color:var(--ptech-dialog-text, var(--app-text, inherit));border-radius:16px;border:1px solid var(--ptech-dialog-border, var(--app-border-color, rgba(0, 0, 0, .12)));overflow:hidden}.ptech-dialog-header{display:grid;grid-template-columns:52px 1fr 52px;align-items:center;gap:12px;padding:14px 16px;background:var(--ptech-dialog-header-bg, var(--app-surface-2, #f7f7f7));flex:0 0 auto}.ptech-dialog-drag{width:42px;height:42px;border-radius:12px;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--ptech-dialog-border, var(--app-border-color, rgba(0, 0, 0, .12)));color:var(--ptech-dialog-muted, var(--app-muted, #94a3b8));background:color-mix(in srgb,var(--app-surface, #fff) 92%,transparent)}.ptech-dialog-heading h1[mat-dialog-title],.ptech-dialog-heading h2[mat-dialog-title]{margin:0;line-height:1.2;font-weight:700;color:var(--ptech-dialog-text, var(--app-text, inherit));text-align:center}.ptech-dialog-heading{text-align:center;justify-self:center;width:100%}.ptech-dialog-subtitle{margin:2px 0 0;color:var(--ptech-dialog-muted, var(--app-muted, #94a3b8));font-size:1rem;font-weight:500}.ptech-dialog-close{width:42px;height:42px;border-radius:12px;border:1px solid var(--ptech-dialog-border, var(--app-border-color, rgba(0, 0, 0, .12)));color:var(--ptech-dialog-text, var(--app-text, inherit));background:color-mix(in srgb,var(--app-surface, #fff) 92%,transparent);display:inline-flex;align-items:center;justify-content:center;padding:0!important}.ptech-dialog-close .mat-icon{margin:0;width:26px;height:26px;font-size:26px;line-height:26px}.ptech-dialog-divider{border-top:1px solid var(--ptech-dialog-border, var(--app-border-color, rgba(0, 0, 0, .12)))}.ptech-dialog-content{flex:1 1 auto;min-height:0;max-height:none;overflow-y:auto;overflow-x:hidden;padding:16px;box-sizing:border-box;color:var(--ptech-dialog-content-text, var(--ptech-dialog-text, var(--app-text, inherit)))}.ptech-dialog-content p,.ptech-dialog-content span,.ptech-dialog-content div,.ptech-dialog-content li,.ptech-dialog-content strong,.ptech-dialog-content em,.ptech-dialog-content small{color:var(--ptech-dialog-content-text, var(--ptech-dialog-text, var(--app-text, inherit)))}.ptech-dialog-content::-webkit-scrollbar{width:10px;height:10px}.ptech-dialog-content::-webkit-scrollbar-track{background:var(--ptech-scroll-track, var(--app-scroll-track, color-mix(in srgb, var(--app-surface-2, #f7f7f7) 70%, transparent)));border-radius:12px}.ptech-dialog-content::-webkit-scrollbar-thumb{background:var(--ptech-scroll-thumb, var(--app-scroll-thumb, color-mix(in srgb, var(--app-link-accent, #3b82f6) 70%, #6b7280 30%)));border-radius:12px;border:2px solid transparent;background-clip:padding-box}.ptech-dialog-content::-webkit-scrollbar-thumb:hover{background:var(--ptech-scroll-thumb-hover, var(--app-scroll-thumb-hover, var(--ptech-scroll-thumb, #60a5fa)))}.ptech-dialog-content{scrollbar-width:thin;scrollbar-color:var(--ptech-scroll-thumb, var(--app-scroll-thumb, #60a5fa)) var(--ptech-scroll-track, var(--app-scroll-track, #1f2937))}.ptech-dialog-actions{margin:0;padding:14px 16px 16px;border-top:1px solid var(--ptech-dialog-border, var(--app-border-color, rgba(0, 0, 0, .12)));background:var(--ptech-dialog-footer-bg, var(--app-surface-2, #f7f7f7));display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap;flex:0 0 auto}::ng-deep .ptech-dialog-panel .mat-mdc-dialog-surface{background:transparent!important;box-shadow:none!important;color:inherit;overflow:visible;border-radius:16px;padding:0;max-height:none!important}.ptech-dialog-content.mat-mdc-dialog-content{max-height:none!important;margin:0}::ng-deep .cdk-overlay-pane.ptech-dialog-panel{display:flex!important;align-items:center!important;justify-content:center!important;max-width:96vw!important;max-height:96dvh!important;margin:0 auto!important;z-index:var(--ptech-overlay-z-index, 10000)!important}::ng-deep .cdk-overlay-pane:not(.ptech-dialog-panel){z-index:calc(var(--ptech-overlay-z-index, 10000) + 1)!important}::ng-deep .cdk-overlay-pane .mat-mdc-select-panel,::ng-deep .cdk-overlay-pane .ptech-select-enum-panel,::ng-deep .cdk-overlay-pane .ptech-select-entity-panel,::ng-deep .cdk-overlay-pane .ptech-select-quantity-panel{opacity:1!important;visibility:visible!important;pointer-events:auto!important}::ng-deep .cdk-overlay-pane .mat-mdc-tooltip-panel{z-index:var(--ptech-tooltip-z-index, 11000)!important}@media (max-width: 700px){.ptech-dialog-shell{max-width:94vw!important;max-height:calc(100dvh - 18px)!important;margin:0 auto!important}::ng-deep .cdk-overlay-pane.ptech-dialog-panel{max-width:96vw!important;max-height:calc(100dvh - 8px)!important;padding:0!important}}\n", ".ptech-dialog-shell{min-width:min(640px,92vw)}.ptech-dialog-heading h2[mat-dialog-title]{font-size:1.4rem}.dialog-content-custom{white-space:normal!important;word-break:break-word!important;overflow-wrap:break-word!important}mat-card{background:var(--ptech-dialog-raw-bg, var(--app-raw-bg, #2b2e34))!important;color:var(--ptech-dialog-raw-text, var(--app-raw-text, #fff))!important;padding:12px 16px!important;border-radius:6px;font-size:13px;line-height:18px;margin-bottom:24px;white-space:normal!important;word-break:break-word!important;overflow-wrap:break-word!important}mat-card pre{margin:0;white-space:pre-wrap!important;word-break:break-word!important;overflow-wrap:break-word!important}.action-btn{margin:0}\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: FormsModule }, { kind: "directive", type: i2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: CoreMaterialModule }, { kind: "component", type: i2$1.MatIconButton, selector: "button[mat-icon-button], a[mat-icon-button], button[matIconButton], a[matIconButton]", exportAs: ["matButton", "matAnchor"] }, { kind: "component", type: i5$2.MatCard, selector: "mat-card", inputs: ["appearance"], exportAs: ["matCard"] }, { kind: "component", type: i3.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i3.MatLabel, selector: "mat-label" }, { kind: "directive", type: i4.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly", "disabledInteractive"], exportAs: ["matInput"] }, { kind: "component", type: i3$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: i1$4.MatDialogTitle, selector: "[mat-dialog-title], [matDialogTitle]", inputs: ["id"], exportAs: ["matDialogTitle"] }, { kind: "directive", type: i1$4.MatDialogActions, selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]", inputs: ["align"] }, { kind: "directive", type: i1$4.MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { kind: "component", type: i9.MatCheckbox, selector: "mat-checkbox", inputs: ["aria-label", "aria-labelledby", "aria-describedby", "aria-expanded", "aria-controls", "aria-owns", "id", "required", "labelPosition", "name", "value", "disableRipple", "tabIndex", "color", "disabledInteractive", "checked", "disabled", "indeterminate"], outputs: ["change", "indeterminateChange"], exportAs: ["matCheckbox"] }, { kind: "component", type: ButtonComponent, selector: "ptech-button", inputs: ["type", "size", "tooltip", "icon", "iconColor", "iconWidth", "iconHeight", "textColor", "link", "target", "shape", "color"], outputs: ["buttonClick"] }, { kind: "component", type: SelectEntityComponent, selector: "ptech-select-entity", inputs: ["multiple", "property", "propertyEnum", "propertyFn", "idProp", "searchPlaceholder", "multipleTriggerMax", "entities"], outputs: ["selectClick", "selectionChange", "loadingChange"] }, { kind: "component", type: QuantityItemsComponent, selector: "ptech-quantity-items", inputs: ["min", "max", "step", "quantity"], outputs: ["quantityChange"] }, { kind: "component", type: SelectQuantityItemsComponent, selector: "ptech-select-quantity-items", inputs: ["appearance", "min", "max", "step", "quantity"], outputs: ["quantityChange"] }, { kind: "component", type: InputCurrencyComponent, selector: "ptech-input-currency", inputs: ["options"], outputs: ["valueChange"] }, { kind: "directive", type: CdkDrag, selector: "[cdkDrag]", inputs: ["cdkDragData", "cdkDragLockAxis", "cdkDragRootElement", "cdkDragBoundary", "cdkDragStartDelay", "cdkDragFreeDragPosition", "cdkDragDisabled", "cdkDragConstrainPosition", "cdkDragPreviewClass", "cdkDragPreviewContainer", "cdkDragScale"], outputs: ["cdkDragStarted", "cdkDragReleased", "cdkDragEnded", "cdkDragEntered", "cdkDragExited", "cdkDragDropped", "cdkDragMoved"], exportAs: ["cdkDrag"] }, { kind: "directive", type: CdkDragHandle, selector: "[cdkDragHandle]", inputs: ["cdkDragHandleDisabled"] }] });
4821
+ `, isInline: true, styles: [":host{display:block;color:var(--ptech-dialog-text, var(--app-text, inherit))}.ptech-dialog-shell{display:flex;flex-direction:column;max-width:92vw;width:100%;max-height:88vh;min-height:0;background:var(--ptech-dialog-bg, var(--app-surface, #fff));color:var(--ptech-dialog-text, var(--app-text, inherit));border-radius:16px;border:1px solid var(--ptech-dialog-border, var(--app-border-color, rgba(0, 0, 0, .12)));overflow:hidden}.ptech-dialog-header{display:grid;grid-template-columns:52px 1fr 52px;align-items:center;gap:12px;padding:14px 16px;background:var(--ptech-dialog-header-bg, var(--app-surface-2, #f7f7f7));flex:0 0 auto}.ptech-dialog-drag{width:42px;height:42px;border-radius:12px;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--ptech-dialog-border, var(--app-border-color, rgba(0, 0, 0, .12)));color:var(--ptech-dialog-muted, var(--app-muted, #94a3b8));background:color-mix(in srgb,var(--app-surface, #fff) 92%,transparent)}.ptech-dialog-heading h1[mat-dialog-title],.ptech-dialog-heading h2[mat-dialog-title]{margin:0;line-height:1.2;font-weight:700;color:var(--ptech-dialog-text, var(--app-text, inherit));text-align:center}.ptech-dialog-heading{text-align:center;justify-self:center;width:100%}.ptech-dialog-subtitle{margin:2px 0 0;color:var(--ptech-dialog-muted, var(--app-muted, #94a3b8));font-size:1rem;font-weight:500}.ptech-dialog-close{width:42px;height:42px;border-radius:12px;border:1px solid var(--ptech-dialog-border, var(--app-border-color, rgba(0, 0, 0, .12)));color:var(--ptech-dialog-text, var(--app-text, inherit));background:color-mix(in srgb,var(--app-surface, #fff) 92%,transparent);display:inline-flex;align-items:center;justify-content:center;padding:0!important}.ptech-dialog-close .mat-icon{margin:0;width:26px;height:26px;font-size:26px;line-height:26px}.ptech-dialog-divider{border-top:1px solid var(--ptech-dialog-border, var(--app-border-color, rgba(0, 0, 0, .12)))}.ptech-dialog-content{flex:1 1 auto;min-height:0;max-height:none;overflow-y:auto;overflow-x:hidden;padding:16px;box-sizing:border-box;color:var(--ptech-dialog-content-text, var(--ptech-dialog-text, var(--app-text, inherit)))}.ptech-dialog-content p,.ptech-dialog-content span,.ptech-dialog-content div,.ptech-dialog-content li,.ptech-dialog-content strong,.ptech-dialog-content em,.ptech-dialog-content small{color:var(--ptech-dialog-content-text, var(--ptech-dialog-text, var(--app-text, inherit)))}.ptech-dialog-content::-webkit-scrollbar{width:10px;height:10px}.ptech-dialog-content::-webkit-scrollbar-track{background:var(--ptech-scroll-track, var(--app-scroll-track, color-mix(in srgb, var(--app-surface-2, #f7f7f7) 70%, transparent)));border-radius:12px}.ptech-dialog-content::-webkit-scrollbar-thumb{background:var(--ptech-scroll-thumb, var(--app-scroll-thumb, color-mix(in srgb, var(--app-link-accent, #3b82f6) 70%, #6b7280 30%)));border-radius:12px;border:2px solid transparent;background-clip:padding-box}.ptech-dialog-content::-webkit-scrollbar-thumb:hover{background:var(--ptech-scroll-thumb-hover, var(--app-scroll-thumb-hover, var(--ptech-scroll-thumb, #60a5fa)))}.ptech-dialog-content{scrollbar-width:thin;scrollbar-color:var(--ptech-scroll-thumb, var(--app-scroll-thumb, #60a5fa)) var(--ptech-scroll-track, var(--app-scroll-track, #1f2937))}.ptech-dialog-actions{margin:0;padding:14px 16px 16px;border-top:1px solid var(--ptech-dialog-border, var(--app-border-color, rgba(0, 0, 0, .12)));background:var(--ptech-dialog-footer-bg, var(--app-surface-2, #f7f7f7));display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap;flex:0 0 auto}::ng-deep .ptech-dialog-panel .mat-mdc-dialog-surface{background:transparent!important;box-shadow:none!important;color:inherit;overflow:visible;border-radius:16px;padding:0;max-height:none!important}.ptech-dialog-content.mat-mdc-dialog-content{max-height:none!important;margin:0}::ng-deep .cdk-overlay-pane.ptech-dialog-panel{display:flex!important;align-items:center!important;justify-content:center!important;max-width:96vw!important;max-height:96dvh!important;margin:0 auto!important;z-index:var(--ptech-overlay-z-index, 10000)!important}::ng-deep .cdk-overlay-pane:not(.ptech-dialog-panel){z-index:calc(var(--ptech-overlay-z-index, 10000) + 1)!important}::ng-deep .cdk-overlay-pane .mat-mdc-select-panel,::ng-deep .cdk-overlay-pane .ptech-select-enum-panel,::ng-deep .cdk-overlay-pane .ptech-select-entity-panel,::ng-deep .cdk-overlay-pane .ptech-select-quantity-panel{opacity:1!important;visibility:visible!important;pointer-events:auto!important}::ng-deep .cdk-overlay-pane .mat-mdc-tooltip-panel{z-index:var(--ptech-tooltip-z-index, 11000)!important}@media (max-width: 700px){.ptech-dialog-shell{max-width:94vw!important;max-height:calc(100dvh - 18px)!important;margin:0 auto!important}::ng-deep .cdk-overlay-pane.ptech-dialog-panel{max-width:96vw!important;max-height:calc(100dvh - 8px)!important;padding:0!important}}\n", ".ptech-dialog-shell{min-width:min(640px,92vw)}.ptech-dialog-heading h2[mat-dialog-title]{font-size:1.4rem}.dialog-content-custom{white-space:normal!important;word-break:break-word!important;overflow-wrap:break-word!important}mat-card{background:var(--ptech-dialog-raw-bg, var(--app-raw-bg, #2b2e34))!important;color:var(--ptech-dialog-raw-text, var(--app-raw-text, #fff))!important;padding:12px 16px!important;border-radius:6px;font-size:13px;line-height:18px;margin-bottom:24px;white-space:normal!important;word-break:break-word!important;overflow-wrap:break-word!important}mat-card pre{margin:0;white-space:pre-wrap!important;word-break:break-word!important;overflow-wrap:break-word!important}.action-btn{margin:0}\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: FormsModule }, { kind: "directive", type: i2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: CoreMaterialModule }, { kind: "component", type: i2$1.MatIconButton, selector: "button[mat-icon-button], a[mat-icon-button], button[matIconButton], a[matIconButton]", exportAs: ["matButton", "matAnchor"] }, { kind: "component", type: i5$2.MatCard, selector: "mat-card", inputs: ["appearance"], exportAs: ["matCard"] }, { kind: "component", type: i3.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i3.MatLabel, selector: "mat-label" }, { kind: "directive", type: i4.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly", "disabledInteractive"], exportAs: ["matInput"] }, { kind: "component", type: i3$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: i1$4.MatDialogTitle, selector: "[mat-dialog-title], [matDialogTitle]", inputs: ["id"], exportAs: ["matDialogTitle"] }, { kind: "directive", type: i1$4.MatDialogActions, selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]", inputs: ["align"] }, { kind: "directive", type: i1$4.MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { kind: "component", type: i9.MatCheckbox, selector: "mat-checkbox", inputs: ["aria-label", "aria-labelledby", "aria-describedby", "aria-expanded", "aria-controls", "aria-owns", "id", "required", "labelPosition", "name", "value", "disableRipple", "tabIndex", "color", "disabledInteractive", "checked", "disabled", "indeterminate"], outputs: ["change", "indeterminateChange"], exportAs: ["matCheckbox"] }, { kind: "component", type: ButtonComponent, selector: "ptech-button", inputs: ["type", "size", "tooltip", "icon", "iconColor", "iconWidth", "iconHeight", "textColor", "link", "target", "shape", "color", "backgroundColor", "hoverBackgroundColor", "radius"], outputs: ["buttonClick"] }, { kind: "component", type: SelectEntityComponent, selector: "ptech-select-entity", inputs: ["multiple", "property", "propertyEnum", "propertyFn", "idProp", "searchPlaceholder", "multipleTriggerMax", "entities"], outputs: ["selectClick", "selectionChange", "loadingChange"] }, { kind: "component", type: QuantityItemsComponent, selector: "ptech-quantity-items", inputs: ["min", "max", "step", "quantity"], outputs: ["quantityChange"] }, { kind: "component", type: SelectQuantityItemsComponent, selector: "ptech-select-quantity-items", inputs: ["appearance", "min", "max", "step", "quantity"], outputs: ["quantityChange"] }, { kind: "component", type: InputCurrencyComponent, selector: "ptech-input-currency", inputs: ["options"], outputs: ["valueChange"] }, { kind: "directive", type: CdkDrag, selector: "[cdkDrag]", inputs: ["cdkDragData", "cdkDragLockAxis", "cdkDragRootElement", "cdkDragBoundary", "cdkDragStartDelay", "cdkDragFreeDragPosition", "cdkDragDisabled", "cdkDragConstrainPosition", "cdkDragPreviewClass", "cdkDragPreviewContainer", "cdkDragScale"], outputs: ["cdkDragStarted", "cdkDragReleased", "cdkDragEnded", "cdkDragEntered", "cdkDragExited", "cdkDragDropped", "cdkDragMoved"], exportAs: ["cdkDrag"] }, { kind: "directive", type: CdkDragHandle, selector: "[cdkDragHandle]", inputs: ["cdkDragHandleDisabled"] }] });
4719
4822
  }
4720
4823
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ActionDialogComponent, decorators: [{
4721
4824
  type: Component,
@@ -4925,7 +5028,7 @@ class InfoDetailDialogComponent {
4925
5028
 
4926
5029
  </mat-dialog-actions>
4927
5030
  </div>
4928
- `, isInline: true, styles: [":host{display:block;color:var(--ptech-dialog-text, var(--app-text, inherit))}.ptech-dialog-shell{display:flex;flex-direction:column;max-width:92vw;width:100%;max-height:88vh;min-height:0;background:var(--ptech-dialog-bg, var(--app-surface, #fff));color:var(--ptech-dialog-text, var(--app-text, inherit));border-radius:16px;border:1px solid var(--ptech-dialog-border, var(--app-border-color, rgba(0, 0, 0, .12)));overflow:hidden}.ptech-dialog-header{display:grid;grid-template-columns:52px 1fr 52px;align-items:center;gap:12px;padding:14px 16px;background:var(--ptech-dialog-header-bg, var(--app-surface-2, #f7f7f7));flex:0 0 auto}.ptech-dialog-drag{width:42px;height:42px;border-radius:12px;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--ptech-dialog-border, var(--app-border-color, rgba(0, 0, 0, .12)));color:var(--ptech-dialog-muted, var(--app-muted, #94a3b8));background:color-mix(in srgb,var(--app-surface, #fff) 92%,transparent)}.ptech-dialog-heading h1[mat-dialog-title],.ptech-dialog-heading h2[mat-dialog-title]{margin:0;line-height:1.2;font-weight:700;color:var(--ptech-dialog-text, var(--app-text, inherit));text-align:center}.ptech-dialog-heading{text-align:center;justify-self:center;width:100%}.ptech-dialog-subtitle{margin:2px 0 0;color:var(--ptech-dialog-muted, var(--app-muted, #94a3b8));font-size:1rem;font-weight:500}.ptech-dialog-close{width:42px;height:42px;border-radius:12px;border:1px solid var(--ptech-dialog-border, var(--app-border-color, rgba(0, 0, 0, .12)));color:var(--ptech-dialog-text, var(--app-text, inherit));background:color-mix(in srgb,var(--app-surface, #fff) 92%,transparent);display:inline-flex;align-items:center;justify-content:center;padding:0!important}.ptech-dialog-close .mat-icon{margin:0;width:26px;height:26px;font-size:26px;line-height:26px}.ptech-dialog-divider{border-top:1px solid var(--ptech-dialog-border, var(--app-border-color, rgba(0, 0, 0, .12)))}.ptech-dialog-content{flex:1 1 auto;min-height:0;max-height:none;overflow-y:auto;overflow-x:hidden;padding:16px;box-sizing:border-box;color:var(--ptech-dialog-content-text, var(--ptech-dialog-text, var(--app-text, inherit)))}.ptech-dialog-content p,.ptech-dialog-content span,.ptech-dialog-content div,.ptech-dialog-content li,.ptech-dialog-content strong,.ptech-dialog-content em,.ptech-dialog-content small{color:var(--ptech-dialog-content-text, var(--ptech-dialog-text, var(--app-text, inherit)))}.ptech-dialog-content::-webkit-scrollbar{width:10px;height:10px}.ptech-dialog-content::-webkit-scrollbar-track{background:var(--ptech-scroll-track, var(--app-scroll-track, color-mix(in srgb, var(--app-surface-2, #f7f7f7) 70%, transparent)));border-radius:12px}.ptech-dialog-content::-webkit-scrollbar-thumb{background:var(--ptech-scroll-thumb, var(--app-scroll-thumb, color-mix(in srgb, var(--app-link-accent, #3b82f6) 70%, #6b7280 30%)));border-radius:12px;border:2px solid transparent;background-clip:padding-box}.ptech-dialog-content::-webkit-scrollbar-thumb:hover{background:var(--ptech-scroll-thumb-hover, var(--app-scroll-thumb-hover, var(--ptech-scroll-thumb, #60a5fa)))}.ptech-dialog-content{scrollbar-width:thin;scrollbar-color:var(--ptech-scroll-thumb, var(--app-scroll-thumb, #60a5fa)) var(--ptech-scroll-track, var(--app-scroll-track, #1f2937))}.ptech-dialog-actions{margin:0;padding:14px 16px 16px;border-top:1px solid var(--ptech-dialog-border, var(--app-border-color, rgba(0, 0, 0, .12)));background:var(--ptech-dialog-footer-bg, var(--app-surface-2, #f7f7f7));display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap;flex:0 0 auto}::ng-deep .ptech-dialog-panel .mat-mdc-dialog-surface{background:transparent!important;box-shadow:none!important;color:inherit;overflow:visible;border-radius:16px;padding:0;max-height:none!important}.ptech-dialog-content.mat-mdc-dialog-content{max-height:none!important;margin:0}::ng-deep .cdk-overlay-pane.ptech-dialog-panel{display:flex!important;align-items:center!important;justify-content:center!important;max-width:96vw!important;max-height:96dvh!important;margin:0 auto!important;z-index:var(--ptech-overlay-z-index, 10000)!important}::ng-deep .cdk-overlay-pane:not(.ptech-dialog-panel){z-index:calc(var(--ptech-overlay-z-index, 10000) + 1)!important}::ng-deep .cdk-overlay-pane .mat-mdc-select-panel,::ng-deep .cdk-overlay-pane .ptech-select-enum-panel,::ng-deep .cdk-overlay-pane .ptech-select-entity-panel,::ng-deep .cdk-overlay-pane .ptech-select-quantity-panel{opacity:1!important;visibility:visible!important;pointer-events:auto!important}::ng-deep .cdk-overlay-pane .mat-mdc-tooltip-panel{z-index:var(--ptech-tooltip-z-index, 11000)!important}@media (max-width: 700px){.ptech-dialog-shell{max-width:94vw!important;max-height:calc(100dvh - 18px)!important;margin:0 auto!important}::ng-deep .cdk-overlay-pane.ptech-dialog-panel{max-width:96vw!important;max-height:calc(100dvh - 8px)!important;padding:0!important}}\n", ".ptech-dialog-shell{min-width:min(840px,92vw)}.ptech-dialog-heading h2[mat-dialog-title]{font-size:1.6rem}.info-dialog-content{white-space:normal;word-break:break-word;overflow-wrap:break-word;font-size:14px;line-height:1.5}.action-btn{margin:0}.link-reset{text-decoration:none}@media (max-width: 900px){.ptech-dialog-shell{min-width:min(92vw,92vw)}.ptech-dialog-heading h2[mat-dialog-title]{font-size:1.3rem}}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: CoreMaterialModule }, { kind: "component", type: i2$1.MatIconButton, selector: "button[mat-icon-button], a[mat-icon-button], button[matIconButton], a[matIconButton]", exportAs: ["matButton", "matAnchor"] }, { kind: "component", type: i3$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: i1$4.MatDialogTitle, selector: "[mat-dialog-title], [matDialogTitle]", inputs: ["id"], exportAs: ["matDialogTitle"] }, { kind: "directive", type: i1$4.MatDialogActions, selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]", inputs: ["align"] }, { kind: "directive", type: i1$4.MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { kind: "component", type: ButtonComponent, selector: "ptech-button", inputs: ["type", "size", "tooltip", "icon", "iconColor", "iconWidth", "iconHeight", "textColor", "link", "target", "shape", "color"], outputs: ["buttonClick"] }, { kind: "directive", type: CdkDrag, selector: "[cdkDrag]", inputs: ["cdkDragData", "cdkDragLockAxis", "cdkDragRootElement", "cdkDragBoundary", "cdkDragStartDelay", "cdkDragFreeDragPosition", "cdkDragDisabled", "cdkDragConstrainPosition", "cdkDragPreviewClass", "cdkDragPreviewContainer", "cdkDragScale"], outputs: ["cdkDragStarted", "cdkDragReleased", "cdkDragEnded", "cdkDragEntered", "cdkDragExited", "cdkDragDropped", "cdkDragMoved"], exportAs: ["cdkDrag"] }, { kind: "directive", type: CdkDragHandle, selector: "[cdkDragHandle]", inputs: ["cdkDragHandleDisabled"] }] });
5031
+ `, isInline: true, styles: [":host{display:block;color:var(--ptech-dialog-text, var(--app-text, inherit))}.ptech-dialog-shell{display:flex;flex-direction:column;max-width:92vw;width:100%;max-height:88vh;min-height:0;background:var(--ptech-dialog-bg, var(--app-surface, #fff));color:var(--ptech-dialog-text, var(--app-text, inherit));border-radius:16px;border:1px solid var(--ptech-dialog-border, var(--app-border-color, rgba(0, 0, 0, .12)));overflow:hidden}.ptech-dialog-header{display:grid;grid-template-columns:52px 1fr 52px;align-items:center;gap:12px;padding:14px 16px;background:var(--ptech-dialog-header-bg, var(--app-surface-2, #f7f7f7));flex:0 0 auto}.ptech-dialog-drag{width:42px;height:42px;border-radius:12px;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--ptech-dialog-border, var(--app-border-color, rgba(0, 0, 0, .12)));color:var(--ptech-dialog-muted, var(--app-muted, #94a3b8));background:color-mix(in srgb,var(--app-surface, #fff) 92%,transparent)}.ptech-dialog-heading h1[mat-dialog-title],.ptech-dialog-heading h2[mat-dialog-title]{margin:0;line-height:1.2;font-weight:700;color:var(--ptech-dialog-text, var(--app-text, inherit));text-align:center}.ptech-dialog-heading{text-align:center;justify-self:center;width:100%}.ptech-dialog-subtitle{margin:2px 0 0;color:var(--ptech-dialog-muted, var(--app-muted, #94a3b8));font-size:1rem;font-weight:500}.ptech-dialog-close{width:42px;height:42px;border-radius:12px;border:1px solid var(--ptech-dialog-border, var(--app-border-color, rgba(0, 0, 0, .12)));color:var(--ptech-dialog-text, var(--app-text, inherit));background:color-mix(in srgb,var(--app-surface, #fff) 92%,transparent);display:inline-flex;align-items:center;justify-content:center;padding:0!important}.ptech-dialog-close .mat-icon{margin:0;width:26px;height:26px;font-size:26px;line-height:26px}.ptech-dialog-divider{border-top:1px solid var(--ptech-dialog-border, var(--app-border-color, rgba(0, 0, 0, .12)))}.ptech-dialog-content{flex:1 1 auto;min-height:0;max-height:none;overflow-y:auto;overflow-x:hidden;padding:16px;box-sizing:border-box;color:var(--ptech-dialog-content-text, var(--ptech-dialog-text, var(--app-text, inherit)))}.ptech-dialog-content p,.ptech-dialog-content span,.ptech-dialog-content div,.ptech-dialog-content li,.ptech-dialog-content strong,.ptech-dialog-content em,.ptech-dialog-content small{color:var(--ptech-dialog-content-text, var(--ptech-dialog-text, var(--app-text, inherit)))}.ptech-dialog-content::-webkit-scrollbar{width:10px;height:10px}.ptech-dialog-content::-webkit-scrollbar-track{background:var(--ptech-scroll-track, var(--app-scroll-track, color-mix(in srgb, var(--app-surface-2, #f7f7f7) 70%, transparent)));border-radius:12px}.ptech-dialog-content::-webkit-scrollbar-thumb{background:var(--ptech-scroll-thumb, var(--app-scroll-thumb, color-mix(in srgb, var(--app-link-accent, #3b82f6) 70%, #6b7280 30%)));border-radius:12px;border:2px solid transparent;background-clip:padding-box}.ptech-dialog-content::-webkit-scrollbar-thumb:hover{background:var(--ptech-scroll-thumb-hover, var(--app-scroll-thumb-hover, var(--ptech-scroll-thumb, #60a5fa)))}.ptech-dialog-content{scrollbar-width:thin;scrollbar-color:var(--ptech-scroll-thumb, var(--app-scroll-thumb, #60a5fa)) var(--ptech-scroll-track, var(--app-scroll-track, #1f2937))}.ptech-dialog-actions{margin:0;padding:14px 16px 16px;border-top:1px solid var(--ptech-dialog-border, var(--app-border-color, rgba(0, 0, 0, .12)));background:var(--ptech-dialog-footer-bg, var(--app-surface-2, #f7f7f7));display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap;flex:0 0 auto}::ng-deep .ptech-dialog-panel .mat-mdc-dialog-surface{background:transparent!important;box-shadow:none!important;color:inherit;overflow:visible;border-radius:16px;padding:0;max-height:none!important}.ptech-dialog-content.mat-mdc-dialog-content{max-height:none!important;margin:0}::ng-deep .cdk-overlay-pane.ptech-dialog-panel{display:flex!important;align-items:center!important;justify-content:center!important;max-width:96vw!important;max-height:96dvh!important;margin:0 auto!important;z-index:var(--ptech-overlay-z-index, 10000)!important}::ng-deep .cdk-overlay-pane:not(.ptech-dialog-panel){z-index:calc(var(--ptech-overlay-z-index, 10000) + 1)!important}::ng-deep .cdk-overlay-pane .mat-mdc-select-panel,::ng-deep .cdk-overlay-pane .ptech-select-enum-panel,::ng-deep .cdk-overlay-pane .ptech-select-entity-panel,::ng-deep .cdk-overlay-pane .ptech-select-quantity-panel{opacity:1!important;visibility:visible!important;pointer-events:auto!important}::ng-deep .cdk-overlay-pane .mat-mdc-tooltip-panel{z-index:var(--ptech-tooltip-z-index, 11000)!important}@media (max-width: 700px){.ptech-dialog-shell{max-width:94vw!important;max-height:calc(100dvh - 18px)!important;margin:0 auto!important}::ng-deep .cdk-overlay-pane.ptech-dialog-panel{max-width:96vw!important;max-height:calc(100dvh - 8px)!important;padding:0!important}}\n", ".ptech-dialog-shell{min-width:min(840px,92vw)}.ptech-dialog-heading h2[mat-dialog-title]{font-size:1.6rem}.info-dialog-content{white-space:normal;word-break:break-word;overflow-wrap:break-word;font-size:14px;line-height:1.5}.action-btn{margin:0}.link-reset{text-decoration:none}@media (max-width: 900px){.ptech-dialog-shell{min-width:min(92vw,92vw)}.ptech-dialog-heading h2[mat-dialog-title]{font-size:1.3rem}}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: CoreMaterialModule }, { kind: "component", type: i2$1.MatIconButton, selector: "button[mat-icon-button], a[mat-icon-button], button[matIconButton], a[matIconButton]", exportAs: ["matButton", "matAnchor"] }, { kind: "component", type: i3$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: i1$4.MatDialogTitle, selector: "[mat-dialog-title], [matDialogTitle]", inputs: ["id"], exportAs: ["matDialogTitle"] }, { kind: "directive", type: i1$4.MatDialogActions, selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]", inputs: ["align"] }, { kind: "directive", type: i1$4.MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { kind: "component", type: ButtonComponent, selector: "ptech-button", inputs: ["type", "size", "tooltip", "icon", "iconColor", "iconWidth", "iconHeight", "textColor", "link", "target", "shape", "color", "backgroundColor", "hoverBackgroundColor", "radius"], outputs: ["buttonClick"] }, { kind: "directive", type: CdkDrag, selector: "[cdkDrag]", inputs: ["cdkDragData", "cdkDragLockAxis", "cdkDragRootElement", "cdkDragBoundary", "cdkDragStartDelay", "cdkDragFreeDragPosition", "cdkDragDisabled", "cdkDragConstrainPosition", "cdkDragPreviewClass", "cdkDragPreviewContainer", "cdkDragScale"], outputs: ["cdkDragStarted", "cdkDragReleased", "cdkDragEnded", "cdkDragEntered", "cdkDragExited", "cdkDragDropped", "cdkDragMoved"], exportAs: ["cdkDrag"] }, { kind: "directive", type: CdkDragHandle, selector: "[cdkDragHandle]", inputs: ["cdkDragHandleDisabled"] }] });
4929
5032
  }
4930
5033
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: InfoDetailDialogComponent, decorators: [{
4931
5034
  type: Component,
@@ -5028,7 +5131,7 @@ class InfoDetailComponent {
5028
5131
 
5029
5132
  <ng-content></ng-content>
5030
5133
  </div>
5031
- `, isInline: true, styles: [":host{display:inline-block;font-family:Inter,sans-serif;color:var(--text-color, var(--app-text, #ffffff))}.info-trigger{display:inline-flex;align-items:center;gap:.5rem;cursor:pointer;transition:opacity .2s ease,transform .15s ease}.info-trigger:hover{opacity:.85;transform:translateY(-1px)}.info-trigger .detail-link{margin:0;line-height:1.2;font-size:.85rem;text-decoration:underline;color:inherit;transition:color .2s ease}.info-trigger .detail-link:hover{color:var(--link-hover-color, var(--app-link-accent, #00bfff))}@media (max-width: 600px){.info-trigger{gap:.625rem}.info-trigger .detail-link{font-size:.95rem}}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "component", type: ButtonComponent, selector: "ptech-button", inputs: ["type", "size", "tooltip", "icon", "iconColor", "iconWidth", "iconHeight", "textColor", "link", "target", "shape", "color"], outputs: ["buttonClick"] }] });
5134
+ `, isInline: true, styles: [":host{display:inline-block;font-family:Inter,sans-serif;color:var(--text-color, var(--app-text, #ffffff))}.info-trigger{display:inline-flex;align-items:center;gap:.5rem;cursor:pointer;transition:opacity .2s ease,transform .15s ease}.info-trigger:hover{opacity:.85;transform:translateY(-1px)}.info-trigger .detail-link{margin:0;line-height:1.2;font-size:.85rem;text-decoration:underline;color:inherit;transition:color .2s ease}.info-trigger .detail-link:hover{color:var(--link-hover-color, var(--app-link-accent, #00bfff))}@media (max-width: 600px){.info-trigger{gap:.625rem}.info-trigger .detail-link{font-size:.95rem}}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "component", type: ButtonComponent, selector: "ptech-button", inputs: ["type", "size", "tooltip", "icon", "iconColor", "iconWidth", "iconHeight", "textColor", "link", "target", "shape", "color", "backgroundColor", "hoverBackgroundColor", "radius"], outputs: ["buttonClick"] }] });
5032
5135
  }
5033
5136
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: InfoDetailComponent, decorators: [{
5034
5137
  type: Component,
@@ -5100,7 +5203,7 @@ class ActionResultDialogComponent {
5100
5203
  window.open(this.whatsappUrl, '_blank');
5101
5204
  }
5102
5205
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ActionResultDialogComponent, deps: [{ token: MAT_DIALOG_DATA }, { token: i1$4.MatDialogRef }, { token: i2$2.DomSanitizer }, { token: MESSAGE_SERVICE }], target: i0.ɵɵFactoryTarget.Component });
5103
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.16", type: ActionResultDialogComponent, isStandalone: true, selector: "ptech-action-result-dialog", ngImport: i0, template: "<div class=\"ptech-dialog-shell\" cdkDrag cdkDragRootElement=\".cdk-overlay-pane\">\n <div class=\"ptech-dialog-header\">\n <div class=\"ptech-dialog-drag\" cdkDragHandle aria-hidden=\"true\">\n <mat-icon>drag_indicator</mat-icon>\n </div>\n\n <div class=\"ptech-dialog-heading\">\n <h2 mat-dialog-title>{{ data.title }}</h2>\n <p class=\"ptech-dialog-subtitle\" *ngIf=\"data.subtitle\">{{ data.subtitle }}</p>\n </div>\n\n <button\n mat-icon-button\n type=\"button\"\n class=\"ptech-dialog-close\"\n aria-label=\"Fechar\"\n (click)=\"close()\">\n <mat-icon>close</mat-icon>\n </button>\n </div>\n\n <div class=\"ptech-dialog-divider\"></div>\n\n <mat-dialog-content class=\"ptech-dialog-content dialog-content-custom\">\n <div *ngIf=\"data.content\" [innerHTML]=\"sanitizedContent\"></div>\n\n <div *ngIf=\"data.details\" class=\"details\">\n <mat-card>\n <pre>{{ data.details | json }}</pre>\n </mat-card>\n </div>\n </mat-dialog-content>\n\n <mat-dialog-actions *ngIf=\"data.rawContent\" align=\"end\" class=\"ptech-dialog-actions\">\n <ptech-button\n *ngIf=\"data.rawContent\"\n class=\"action-btn\"\n label=\"WhatsApp\"\n icon=\"share\"\n type=\"raised\"\n color=\"var(--app-status-success, #00c853)\"\n (click)=\"openWhatsApp()\"\n ></ptech-button>\n\n <ptech-button\n *ngIf=\"data.rawContent\"\n class=\"action-btn\"\n label=\"Copiar\"\n icon=\"file_copy\"\n type=\"raised\"\n color=\"primary\"\n (click)=\"copyToClipboard()\"\n ></ptech-button>\n\n </mat-dialog-actions>\n</div>\n", styles: [".ptech-dialog-shell{min-width:min(700px,92vw)}.ptech-dialog-heading h2[mat-dialog-title]{font-size:1.4rem}.dialog-content-custom{display:flex;flex-direction:column;gap:20px}.dialog-content-custom div[innerHTML]{color:var(--ptech-dialog-text, var(--app-text, inherit));font-size:14px;line-height:20px}.details{background:var(--ptech-dialog-raw-bg, var(--app-raw-bg, #2b2e34))!important;color:var(--ptech-dialog-raw-text, var(--app-raw-text, #fff))!important;padding:14px 18px!important;border-radius:8px;font-size:14px;line-height:20px;font-family:monospace;white-space:pre-wrap;word-break:break-word;box-shadow:none;width:100%}.details mat-card{background:var(--ptech-dialog-bg, transparent);box-shadow:none;padding:0;margin:0}.details pre{margin:0;color:var(--ptech-dialog-text, var(--app-text, #fff))}ptech-button.action-btn{margin:0}\n", ":host{display:block;color:var(--ptech-dialog-text, var(--app-text, inherit))}.ptech-dialog-shell{display:flex;flex-direction:column;max-width:92vw;width:100%;max-height:88vh;min-height:0;background:var(--ptech-dialog-bg, var(--app-surface, #fff));color:var(--ptech-dialog-text, var(--app-text, inherit));border-radius:16px;border:1px solid var(--ptech-dialog-border, var(--app-border-color, rgba(0, 0, 0, .12)));overflow:hidden}.ptech-dialog-header{display:grid;grid-template-columns:52px 1fr 52px;align-items:center;gap:12px;padding:14px 16px;background:var(--ptech-dialog-header-bg, var(--app-surface-2, #f7f7f7));flex:0 0 auto}.ptech-dialog-drag{width:42px;height:42px;border-radius:12px;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--ptech-dialog-border, var(--app-border-color, rgba(0, 0, 0, .12)));color:var(--ptech-dialog-muted, var(--app-muted, #94a3b8));background:color-mix(in srgb,var(--app-surface, #fff) 92%,transparent)}.ptech-dialog-heading h1[mat-dialog-title],.ptech-dialog-heading h2[mat-dialog-title]{margin:0;line-height:1.2;font-weight:700;color:var(--ptech-dialog-text, var(--app-text, inherit));text-align:center}.ptech-dialog-heading{text-align:center;justify-self:center;width:100%}.ptech-dialog-subtitle{margin:2px 0 0;color:var(--ptech-dialog-muted, var(--app-muted, #94a3b8));font-size:1rem;font-weight:500}.ptech-dialog-close{width:42px;height:42px;border-radius:12px;border:1px solid var(--ptech-dialog-border, var(--app-border-color, rgba(0, 0, 0, .12)));color:var(--ptech-dialog-text, var(--app-text, inherit));background:color-mix(in srgb,var(--app-surface, #fff) 92%,transparent);display:inline-flex;align-items:center;justify-content:center;padding:0!important}.ptech-dialog-close .mat-icon{margin:0;width:26px;height:26px;font-size:26px;line-height:26px}.ptech-dialog-divider{border-top:1px solid var(--ptech-dialog-border, var(--app-border-color, rgba(0, 0, 0, .12)))}.ptech-dialog-content{flex:1 1 auto;min-height:0;max-height:none;overflow-y:auto;overflow-x:hidden;padding:16px;box-sizing:border-box;color:var(--ptech-dialog-content-text, var(--ptech-dialog-text, var(--app-text, inherit)))}.ptech-dialog-content p,.ptech-dialog-content span,.ptech-dialog-content div,.ptech-dialog-content li,.ptech-dialog-content strong,.ptech-dialog-content em,.ptech-dialog-content small{color:var(--ptech-dialog-content-text, var(--ptech-dialog-text, var(--app-text, inherit)))}.ptech-dialog-content::-webkit-scrollbar{width:10px;height:10px}.ptech-dialog-content::-webkit-scrollbar-track{background:var(--ptech-scroll-track, var(--app-scroll-track, color-mix(in srgb, var(--app-surface-2, #f7f7f7) 70%, transparent)));border-radius:12px}.ptech-dialog-content::-webkit-scrollbar-thumb{background:var(--ptech-scroll-thumb, var(--app-scroll-thumb, color-mix(in srgb, var(--app-link-accent, #3b82f6) 70%, #6b7280 30%)));border-radius:12px;border:2px solid transparent;background-clip:padding-box}.ptech-dialog-content::-webkit-scrollbar-thumb:hover{background:var(--ptech-scroll-thumb-hover, var(--app-scroll-thumb-hover, var(--ptech-scroll-thumb, #60a5fa)))}.ptech-dialog-content{scrollbar-width:thin;scrollbar-color:var(--ptech-scroll-thumb, var(--app-scroll-thumb, #60a5fa)) var(--ptech-scroll-track, var(--app-scroll-track, #1f2937))}.ptech-dialog-actions{margin:0;padding:14px 16px 16px;border-top:1px solid var(--ptech-dialog-border, var(--app-border-color, rgba(0, 0, 0, .12)));background:var(--ptech-dialog-footer-bg, var(--app-surface-2, #f7f7f7));display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap;flex:0 0 auto}::ng-deep .ptech-dialog-panel .mat-mdc-dialog-surface{background:transparent!important;box-shadow:none!important;color:inherit;overflow:visible;border-radius:16px;padding:0;max-height:none!important}.ptech-dialog-content.mat-mdc-dialog-content{max-height:none!important;margin:0}::ng-deep .cdk-overlay-pane.ptech-dialog-panel{display:flex!important;align-items:center!important;justify-content:center!important;max-width:96vw!important;max-height:96dvh!important;margin:0 auto!important;z-index:var(--ptech-overlay-z-index, 10000)!important}::ng-deep .cdk-overlay-pane:not(.ptech-dialog-panel){z-index:calc(var(--ptech-overlay-z-index, 10000) + 1)!important}::ng-deep .cdk-overlay-pane .mat-mdc-select-panel,::ng-deep .cdk-overlay-pane .ptech-select-enum-panel,::ng-deep .cdk-overlay-pane .ptech-select-entity-panel,::ng-deep .cdk-overlay-pane .ptech-select-quantity-panel{opacity:1!important;visibility:visible!important;pointer-events:auto!important}::ng-deep .cdk-overlay-pane .mat-mdc-tooltip-panel{z-index:var(--ptech-tooltip-z-index, 11000)!important}@media (max-width: 700px){.ptech-dialog-shell{max-width:94vw!important;max-height:calc(100dvh - 18px)!important;margin:0 auto!important}::ng-deep .cdk-overlay-pane.ptech-dialog-panel{max-width:96vw!important;max-height:calc(100dvh - 8px)!important;padding:0!important}}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: CoreMaterialModule }, { kind: "component", type: i2$1.MatIconButton, selector: "button[mat-icon-button], a[mat-icon-button], button[matIconButton], a[matIconButton]", exportAs: ["matButton", "matAnchor"] }, { kind: "component", type: i5$2.MatCard, selector: "mat-card", inputs: ["appearance"], exportAs: ["matCard"] }, { kind: "component", type: i3$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: i1$4.MatDialogTitle, selector: "[mat-dialog-title], [matDialogTitle]", inputs: ["id"], exportAs: ["matDialogTitle"] }, { kind: "directive", type: i1$4.MatDialogActions, selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]", inputs: ["align"] }, { kind: "directive", type: i1$4.MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { kind: "component", type: ButtonComponent, selector: "ptech-button", inputs: ["type", "size", "tooltip", "icon", "iconColor", "iconWidth", "iconHeight", "textColor", "link", "target", "shape", "color"], outputs: ["buttonClick"] }, { kind: "directive", type: CdkDrag, selector: "[cdkDrag]", inputs: ["cdkDragData", "cdkDragLockAxis", "cdkDragRootElement", "cdkDragBoundary", "cdkDragStartDelay", "cdkDragFreeDragPosition", "cdkDragDisabled", "cdkDragConstrainPosition", "cdkDragPreviewClass", "cdkDragPreviewContainer", "cdkDragScale"], outputs: ["cdkDragStarted", "cdkDragReleased", "cdkDragEnded", "cdkDragEntered", "cdkDragExited", "cdkDragDropped", "cdkDragMoved"], exportAs: ["cdkDrag"] }, { kind: "directive", type: CdkDragHandle, selector: "[cdkDragHandle]", inputs: ["cdkDragHandleDisabled"] }, { kind: "pipe", type: i1$1.JsonPipe, name: "json" }] });
5206
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.16", type: ActionResultDialogComponent, isStandalone: true, selector: "ptech-action-result-dialog", ngImport: i0, template: "<div class=\"ptech-dialog-shell\" cdkDrag cdkDragRootElement=\".cdk-overlay-pane\">\n <div class=\"ptech-dialog-header\">\n <div class=\"ptech-dialog-drag\" cdkDragHandle aria-hidden=\"true\">\n <mat-icon>drag_indicator</mat-icon>\n </div>\n\n <div class=\"ptech-dialog-heading\">\n <h2 mat-dialog-title>{{ data.title }}</h2>\n <p class=\"ptech-dialog-subtitle\" *ngIf=\"data.subtitle\">{{ data.subtitle }}</p>\n </div>\n\n <button\n mat-icon-button\n type=\"button\"\n class=\"ptech-dialog-close\"\n aria-label=\"Fechar\"\n (click)=\"close()\">\n <mat-icon>close</mat-icon>\n </button>\n </div>\n\n <div class=\"ptech-dialog-divider\"></div>\n\n <mat-dialog-content class=\"ptech-dialog-content dialog-content-custom\">\n <div *ngIf=\"data.content\" [innerHTML]=\"sanitizedContent\"></div>\n\n <div *ngIf=\"data.details\" class=\"details\">\n <mat-card>\n <pre>{{ data.details | json }}</pre>\n </mat-card>\n </div>\n </mat-dialog-content>\n\n <mat-dialog-actions *ngIf=\"data.rawContent\" align=\"end\" class=\"ptech-dialog-actions\">\n <ptech-button\n *ngIf=\"data.rawContent\"\n class=\"action-btn\"\n label=\"WhatsApp\"\n icon=\"share\"\n type=\"raised\"\n color=\"var(--app-status-success, #00c853)\"\n (click)=\"openWhatsApp()\"\n ></ptech-button>\n\n <ptech-button\n *ngIf=\"data.rawContent\"\n class=\"action-btn\"\n label=\"Copiar\"\n icon=\"file_copy\"\n type=\"raised\"\n color=\"primary\"\n (click)=\"copyToClipboard()\"\n ></ptech-button>\n\n </mat-dialog-actions>\n</div>\n", styles: [".ptech-dialog-shell{min-width:min(700px,92vw)}.ptech-dialog-heading h2[mat-dialog-title]{font-size:1.4rem}.dialog-content-custom{display:flex;flex-direction:column;gap:20px}.dialog-content-custom div[innerHTML]{color:var(--ptech-dialog-text, var(--app-text, inherit));font-size:14px;line-height:20px}.details{background:var(--ptech-dialog-raw-bg, var(--app-raw-bg, #2b2e34))!important;color:var(--ptech-dialog-raw-text, var(--app-raw-text, #fff))!important;padding:14px 18px!important;border-radius:8px;font-size:14px;line-height:20px;font-family:monospace;white-space:pre-wrap;word-break:break-word;box-shadow:none;width:100%}.details mat-card{background:var(--ptech-dialog-bg, transparent);box-shadow:none;padding:0;margin:0}.details pre{margin:0;color:var(--ptech-dialog-text, var(--app-text, #fff))}ptech-button.action-btn{margin:0}\n", ":host{display:block;color:var(--ptech-dialog-text, var(--app-text, inherit))}.ptech-dialog-shell{display:flex;flex-direction:column;max-width:92vw;width:100%;max-height:88vh;min-height:0;background:var(--ptech-dialog-bg, var(--app-surface, #fff));color:var(--ptech-dialog-text, var(--app-text, inherit));border-radius:16px;border:1px solid var(--ptech-dialog-border, var(--app-border-color, rgba(0, 0, 0, .12)));overflow:hidden}.ptech-dialog-header{display:grid;grid-template-columns:52px 1fr 52px;align-items:center;gap:12px;padding:14px 16px;background:var(--ptech-dialog-header-bg, var(--app-surface-2, #f7f7f7));flex:0 0 auto}.ptech-dialog-drag{width:42px;height:42px;border-radius:12px;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--ptech-dialog-border, var(--app-border-color, rgba(0, 0, 0, .12)));color:var(--ptech-dialog-muted, var(--app-muted, #94a3b8));background:color-mix(in srgb,var(--app-surface, #fff) 92%,transparent)}.ptech-dialog-heading h1[mat-dialog-title],.ptech-dialog-heading h2[mat-dialog-title]{margin:0;line-height:1.2;font-weight:700;color:var(--ptech-dialog-text, var(--app-text, inherit));text-align:center}.ptech-dialog-heading{text-align:center;justify-self:center;width:100%}.ptech-dialog-subtitle{margin:2px 0 0;color:var(--ptech-dialog-muted, var(--app-muted, #94a3b8));font-size:1rem;font-weight:500}.ptech-dialog-close{width:42px;height:42px;border-radius:12px;border:1px solid var(--ptech-dialog-border, var(--app-border-color, rgba(0, 0, 0, .12)));color:var(--ptech-dialog-text, var(--app-text, inherit));background:color-mix(in srgb,var(--app-surface, #fff) 92%,transparent);display:inline-flex;align-items:center;justify-content:center;padding:0!important}.ptech-dialog-close .mat-icon{margin:0;width:26px;height:26px;font-size:26px;line-height:26px}.ptech-dialog-divider{border-top:1px solid var(--ptech-dialog-border, var(--app-border-color, rgba(0, 0, 0, .12)))}.ptech-dialog-content{flex:1 1 auto;min-height:0;max-height:none;overflow-y:auto;overflow-x:hidden;padding:16px;box-sizing:border-box;color:var(--ptech-dialog-content-text, var(--ptech-dialog-text, var(--app-text, inherit)))}.ptech-dialog-content p,.ptech-dialog-content span,.ptech-dialog-content div,.ptech-dialog-content li,.ptech-dialog-content strong,.ptech-dialog-content em,.ptech-dialog-content small{color:var(--ptech-dialog-content-text, var(--ptech-dialog-text, var(--app-text, inherit)))}.ptech-dialog-content::-webkit-scrollbar{width:10px;height:10px}.ptech-dialog-content::-webkit-scrollbar-track{background:var(--ptech-scroll-track, var(--app-scroll-track, color-mix(in srgb, var(--app-surface-2, #f7f7f7) 70%, transparent)));border-radius:12px}.ptech-dialog-content::-webkit-scrollbar-thumb{background:var(--ptech-scroll-thumb, var(--app-scroll-thumb, color-mix(in srgb, var(--app-link-accent, #3b82f6) 70%, #6b7280 30%)));border-radius:12px;border:2px solid transparent;background-clip:padding-box}.ptech-dialog-content::-webkit-scrollbar-thumb:hover{background:var(--ptech-scroll-thumb-hover, var(--app-scroll-thumb-hover, var(--ptech-scroll-thumb, #60a5fa)))}.ptech-dialog-content{scrollbar-width:thin;scrollbar-color:var(--ptech-scroll-thumb, var(--app-scroll-thumb, #60a5fa)) var(--ptech-scroll-track, var(--app-scroll-track, #1f2937))}.ptech-dialog-actions{margin:0;padding:14px 16px 16px;border-top:1px solid var(--ptech-dialog-border, var(--app-border-color, rgba(0, 0, 0, .12)));background:var(--ptech-dialog-footer-bg, var(--app-surface-2, #f7f7f7));display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap;flex:0 0 auto}::ng-deep .ptech-dialog-panel .mat-mdc-dialog-surface{background:transparent!important;box-shadow:none!important;color:inherit;overflow:visible;border-radius:16px;padding:0;max-height:none!important}.ptech-dialog-content.mat-mdc-dialog-content{max-height:none!important;margin:0}::ng-deep .cdk-overlay-pane.ptech-dialog-panel{display:flex!important;align-items:center!important;justify-content:center!important;max-width:96vw!important;max-height:96dvh!important;margin:0 auto!important;z-index:var(--ptech-overlay-z-index, 10000)!important}::ng-deep .cdk-overlay-pane:not(.ptech-dialog-panel){z-index:calc(var(--ptech-overlay-z-index, 10000) + 1)!important}::ng-deep .cdk-overlay-pane .mat-mdc-select-panel,::ng-deep .cdk-overlay-pane .ptech-select-enum-panel,::ng-deep .cdk-overlay-pane .ptech-select-entity-panel,::ng-deep .cdk-overlay-pane .ptech-select-quantity-panel{opacity:1!important;visibility:visible!important;pointer-events:auto!important}::ng-deep .cdk-overlay-pane .mat-mdc-tooltip-panel{z-index:var(--ptech-tooltip-z-index, 11000)!important}@media (max-width: 700px){.ptech-dialog-shell{max-width:94vw!important;max-height:calc(100dvh - 18px)!important;margin:0 auto!important}::ng-deep .cdk-overlay-pane.ptech-dialog-panel{max-width:96vw!important;max-height:calc(100dvh - 8px)!important;padding:0!important}}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: CoreMaterialModule }, { kind: "component", type: i2$1.MatIconButton, selector: "button[mat-icon-button], a[mat-icon-button], button[matIconButton], a[matIconButton]", exportAs: ["matButton", "matAnchor"] }, { kind: "component", type: i5$2.MatCard, selector: "mat-card", inputs: ["appearance"], exportAs: ["matCard"] }, { kind: "component", type: i3$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: i1$4.MatDialogTitle, selector: "[mat-dialog-title], [matDialogTitle]", inputs: ["id"], exportAs: ["matDialogTitle"] }, { kind: "directive", type: i1$4.MatDialogActions, selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]", inputs: ["align"] }, { kind: "directive", type: i1$4.MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { kind: "component", type: ButtonComponent, selector: "ptech-button", inputs: ["type", "size", "tooltip", "icon", "iconColor", "iconWidth", "iconHeight", "textColor", "link", "target", "shape", "color", "backgroundColor", "hoverBackgroundColor", "radius"], outputs: ["buttonClick"] }, { kind: "directive", type: CdkDrag, selector: "[cdkDrag]", inputs: ["cdkDragData", "cdkDragLockAxis", "cdkDragRootElement", "cdkDragBoundary", "cdkDragStartDelay", "cdkDragFreeDragPosition", "cdkDragDisabled", "cdkDragConstrainPosition", "cdkDragPreviewClass", "cdkDragPreviewContainer", "cdkDragScale"], outputs: ["cdkDragStarted", "cdkDragReleased", "cdkDragEnded", "cdkDragEntered", "cdkDragExited", "cdkDragDropped", "cdkDragMoved"], exportAs: ["cdkDrag"] }, { kind: "directive", type: CdkDragHandle, selector: "[cdkDragHandle]", inputs: ["cdkDragHandleDisabled"] }, { kind: "pipe", type: i1$1.JsonPipe, name: "json" }] });
5104
5207
  }
5105
5208
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ActionResultDialogComponent, decorators: [{
5106
5209
  type: Component,
@@ -7101,7 +7204,7 @@ class TableComponent {
7101
7204
  <mat-progress-bar mode="indeterminate"></mat-progress-bar>
7102
7205
  </ng-template>
7103
7206
  </div>
7104
- `, isInline: true, 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"], dependencies: [{ kind: "ngmodule", type: CoreMaterialModule }, { 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: "directive", type: i1$1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i1$1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i1$1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "directive", type: i1$1.NgSwitchDefault, selector: "[ngSwitchDefault]" }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i3$6.MatTable, selector: "mat-table, table[mat-table]", exportAs: ["matTable"] }, { kind: "directive", type: i3$6.MatHeaderCellDef, selector: "[matHeaderCellDef]" }, { kind: "directive", type: i3$6.MatHeaderRowDef, selector: "[matHeaderRowDef]", inputs: ["matHeaderRowDef", "matHeaderRowDefSticky"] }, { kind: "directive", type: i3$6.MatColumnDef, selector: "[matColumnDef]", inputs: ["matColumnDef"] }, { kind: "directive", type: i3$6.MatCellDef, selector: "[matCellDef]" }, { kind: "directive", type: i3$6.MatRowDef, selector: "[matRowDef]", inputs: ["matRowDefColumns", "matRowDefWhen"] }, { kind: "directive", type: i3$6.MatHeaderCell, selector: "mat-header-cell, th[mat-header-cell]" }, { kind: "directive", type: i3$6.MatCell, selector: "mat-cell, td[mat-cell]" }, { kind: "component", type: i3$6.MatHeaderRow, selector: "mat-header-row, tr[mat-header-row]", exportAs: ["matHeaderRow"] }, { kind: "component", type: i3$6.MatRow, selector: "mat-row, tr[mat-row]", exportAs: ["matRow"] }, { kind: "component", type: i4$3.MatPaginator, selector: "mat-paginator", inputs: ["color", "pageIndex", "length", "pageSize", "pageSizeOptions", "hidePageSize", "showFirstLastButtons", "selectConfig", "disabled"], outputs: ["page"], exportAs: ["matPaginator"] }, { kind: "component", type: i1$2.MatProgressBar, selector: "mat-progress-bar", inputs: ["color", "value", "bufferValue", "mode"], outputs: ["animationEnd"], exportAs: ["matProgressBar"] }, { kind: "component", type: i3$4.MatRadioButton, selector: "mat-radio-button", inputs: ["id", "name", "aria-label", "aria-labelledby", "aria-describedby", "disableRipple", "tabIndex", "checked", "value", "labelPosition", "disabled", "required", "color", "disabledInteractive"], outputs: ["change"], exportAs: ["matRadioButton"] }, { kind: "component", type: i9.MatCheckbox, selector: "mat-checkbox", inputs: ["aria-label", "aria-labelledby", "aria-describedby", "aria-expanded", "aria-controls", "aria-owns", "id", "required", "labelPosition", "name", "value", "disableRipple", "tabIndex", "color", "disabledInteractive", "checked", "disabled", "indeterminate"], outputs: ["change", "indeterminateChange"], exportAs: ["matCheckbox"] }, { kind: "ngmodule", type: DragDropModule }, { kind: "directive", type: i8$1.CdkDropList, selector: "[cdkDropList], cdk-drop-list", inputs: ["cdkDropListConnectedTo", "cdkDropListData", "cdkDropListOrientation", "id", "cdkDropListLockAxis", "cdkDropListDisabled", "cdkDropListSortingDisabled", "cdkDropListEnterPredicate", "cdkDropListSortPredicate", "cdkDropListAutoScrollDisabled", "cdkDropListAutoScrollStep", "cdkDropListElementContainer", "cdkDropListHasAnchor"], outputs: ["cdkDropListDropped", "cdkDropListEntered", "cdkDropListExited", "cdkDropListSorted"], exportAs: ["cdkDropList"] }, { kind: "directive", type: i8$1.CdkDrag, selector: "[cdkDrag]", inputs: ["cdkDragData", "cdkDragLockAxis", "cdkDragRootElement", "cdkDragBoundary", "cdkDragStartDelay", "cdkDragFreeDragPosition", "cdkDragDisabled", "cdkDragConstrainPosition", "cdkDragPreviewClass", "cdkDragPreviewContainer", "cdkDragScale"], outputs: ["cdkDragStarted", "cdkDragReleased", "cdkDragEnded", "cdkDragEntered", "cdkDragExited", "cdkDragDropped", "cdkDragMoved"], exportAs: ["cdkDrag"] }, { kind: "ngmodule", type: FormsModule }, { kind: "component", type: BadgeComponent, selector: "ptech-badge", inputs: ["label", "icon", "tooltip", "ariaLabel", "clickable", "disabled", "pill", "uppercase", "size", "variant", "color", "col"], outputs: ["badgeClick", "badgeKey"] }, { kind: "component", type: BadgeStackComponent, selector: "ptech-badge-stack", inputs: ["direction", "gap", "wrap", "align", "justify", "ariaLabel", "col"] }, { kind: "component", type: ButtonComponent, selector: "ptech-button", inputs: ["type", "size", "tooltip", "icon", "iconColor", "iconWidth", "iconHeight", "textColor", "link", "target", "shape", "color"], outputs: ["buttonClick"] }, { kind: "component", type: CheckBoxComponent, selector: "ptech-check-box", inputs: ["color", "indeterminate", "value"], outputs: ["change", "indeterminateChange"] }, { kind: "component", type: SlideToggleComponent, selector: "ptech-slide-toggle", inputs: ["appearance", "color", "labelPosition", "disableRipple"], outputs: ["change"] }, { kind: "pipe", type: i1$1.DatePipe, name: "date" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
7207
+ `, isInline: true, 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"], dependencies: [{ kind: "ngmodule", type: CoreMaterialModule }, { 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: "directive", type: i1$1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i1$1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i1$1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "directive", type: i1$1.NgSwitchDefault, selector: "[ngSwitchDefault]" }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i3$6.MatTable, selector: "mat-table, table[mat-table]", exportAs: ["matTable"] }, { kind: "directive", type: i3$6.MatHeaderCellDef, selector: "[matHeaderCellDef]" }, { kind: "directive", type: i3$6.MatHeaderRowDef, selector: "[matHeaderRowDef]", inputs: ["matHeaderRowDef", "matHeaderRowDefSticky"] }, { kind: "directive", type: i3$6.MatColumnDef, selector: "[matColumnDef]", inputs: ["matColumnDef"] }, { kind: "directive", type: i3$6.MatCellDef, selector: "[matCellDef]" }, { kind: "directive", type: i3$6.MatRowDef, selector: "[matRowDef]", inputs: ["matRowDefColumns", "matRowDefWhen"] }, { kind: "directive", type: i3$6.MatHeaderCell, selector: "mat-header-cell, th[mat-header-cell]" }, { kind: "directive", type: i3$6.MatCell, selector: "mat-cell, td[mat-cell]" }, { kind: "component", type: i3$6.MatHeaderRow, selector: "mat-header-row, tr[mat-header-row]", exportAs: ["matHeaderRow"] }, { kind: "component", type: i3$6.MatRow, selector: "mat-row, tr[mat-row]", exportAs: ["matRow"] }, { kind: "component", type: i4$3.MatPaginator, selector: "mat-paginator", inputs: ["color", "pageIndex", "length", "pageSize", "pageSizeOptions", "hidePageSize", "showFirstLastButtons", "selectConfig", "disabled"], outputs: ["page"], exportAs: ["matPaginator"] }, { kind: "component", type: i1$2.MatProgressBar, selector: "mat-progress-bar", inputs: ["color", "value", "bufferValue", "mode"], outputs: ["animationEnd"], exportAs: ["matProgressBar"] }, { kind: "component", type: i3$4.MatRadioButton, selector: "mat-radio-button", inputs: ["id", "name", "aria-label", "aria-labelledby", "aria-describedby", "disableRipple", "tabIndex", "checked", "value", "labelPosition", "disabled", "required", "color", "disabledInteractive"], outputs: ["change"], exportAs: ["matRadioButton"] }, { kind: "component", type: i9.MatCheckbox, selector: "mat-checkbox", inputs: ["aria-label", "aria-labelledby", "aria-describedby", "aria-expanded", "aria-controls", "aria-owns", "id", "required", "labelPosition", "name", "value", "disableRipple", "tabIndex", "color", "disabledInteractive", "checked", "disabled", "indeterminate"], outputs: ["change", "indeterminateChange"], exportAs: ["matCheckbox"] }, { kind: "ngmodule", type: DragDropModule }, { kind: "directive", type: i8$1.CdkDropList, selector: "[cdkDropList], cdk-drop-list", inputs: ["cdkDropListConnectedTo", "cdkDropListData", "cdkDropListOrientation", "id", "cdkDropListLockAxis", "cdkDropListDisabled", "cdkDropListSortingDisabled", "cdkDropListEnterPredicate", "cdkDropListSortPredicate", "cdkDropListAutoScrollDisabled", "cdkDropListAutoScrollStep", "cdkDropListElementContainer", "cdkDropListHasAnchor"], outputs: ["cdkDropListDropped", "cdkDropListEntered", "cdkDropListExited", "cdkDropListSorted"], exportAs: ["cdkDropList"] }, { kind: "directive", type: i8$1.CdkDrag, selector: "[cdkDrag]", inputs: ["cdkDragData", "cdkDragLockAxis", "cdkDragRootElement", "cdkDragBoundary", "cdkDragStartDelay", "cdkDragFreeDragPosition", "cdkDragDisabled", "cdkDragConstrainPosition", "cdkDragPreviewClass", "cdkDragPreviewContainer", "cdkDragScale"], outputs: ["cdkDragStarted", "cdkDragReleased", "cdkDragEnded", "cdkDragEntered", "cdkDragExited", "cdkDragDropped", "cdkDragMoved"], exportAs: ["cdkDrag"] }, { kind: "ngmodule", type: FormsModule }, { kind: "component", type: BadgeComponent, selector: "ptech-badge", inputs: ["label", "icon", "tooltip", "ariaLabel", "clickable", "disabled", "pill", "uppercase", "size", "variant", "color", "col"], outputs: ["badgeClick", "badgeKey"] }, { kind: "component", type: BadgeStackComponent, selector: "ptech-badge-stack", inputs: ["direction", "gap", "wrap", "align", "justify", "ariaLabel", "col"] }, { kind: "component", type: ButtonComponent, selector: "ptech-button", inputs: ["type", "size", "tooltip", "icon", "iconColor", "iconWidth", "iconHeight", "textColor", "link", "target", "shape", "color", "backgroundColor", "hoverBackgroundColor", "radius"], outputs: ["buttonClick"] }, { kind: "component", type: CheckBoxComponent, selector: "ptech-check-box", inputs: ["color", "indeterminate", "value"], outputs: ["change", "indeterminateChange"] }, { kind: "component", type: SlideToggleComponent, selector: "ptech-slide-toggle", inputs: ["appearance", "color", "labelPosition", "disableRipple"], outputs: ["change"] }, { kind: "pipe", type: i1$1.DatePipe, name: "date" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
7105
7208
  }
7106
7209
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: TableComponent, decorators: [{
7107
7210
  type: Component,