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

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.
@@ -1,7 +1,7 @@
1
1
  import * as i0 from '@angular/core';
2
2
  import { HostBinding, Input, Directive, Injectable, NgModule, Optional, Self, EventEmitter, ElementRef, forwardRef, Output, ContentChild, ViewChild, ChangeDetectionStrategy, Component, HostListener, Inject, InjectionToken, Pipe, ContentChildren, inject } from '@angular/core';
3
3
  import * as i1 from '@angular/cdk/layout';
4
- import * as i2$3 from 'rxjs';
4
+ import * as i2$4 from 'rxjs';
5
5
  import { Subject, BehaviorSubject, takeUntil as takeUntil$1, filter, delay, tap, map, of } from 'rxjs';
6
6
  import { takeUntil, filter as filter$1, switchMap } from 'rxjs/operators';
7
7
  import { coerceBooleanProperty } from '@angular/cdk/coercion';
@@ -13,7 +13,7 @@ import * as i3$3 from '@angular/material/toolbar';
13
13
  import { MatToolbarModule } from '@angular/material/toolbar';
14
14
  import * as i5$1 from '@angular/material/sidenav';
15
15
  import { MatSidenavModule } from '@angular/material/sidenav';
16
- import * as i5$2 from '@angular/material/card';
16
+ import * as i2$2 from '@angular/material/card';
17
17
  import { MatCardModule } from '@angular/material/card';
18
18
  import * as i6 from '@angular/material/list';
19
19
  import { MatListModule } from '@angular/material/list';
@@ -53,6 +53,8 @@ import * as i9 from '@angular/material/checkbox';
53
53
  import { MatCheckboxModule } from '@angular/material/checkbox';
54
54
  import * as i5 from '@angular/material/progress-spinner';
55
55
  import { MatProgressSpinnerModule } from '@angular/material/progress-spinner';
56
+ import * as i3$7 from '@angular/material/expansion';
57
+ import { MatExpansionModule } from '@angular/material/expansion';
56
58
  import { MAT_DATE_LOCALE, DateAdapter, MAT_DATE_FORMATS } from '@angular/material/core';
57
59
  import { MAT_MOMENT_DATE_ADAPTER_OPTIONS, MomentDateAdapter } from '@angular/material-moment-adapter';
58
60
  import 'moment/locale/pt-br';
@@ -60,7 +62,7 @@ import * as i3$2 from '@angular/router';
60
62
  import { RouterModule, NavigationEnd } from '@angular/router';
61
63
  import * as i8$1 from '@angular/cdk/drag-drop';
62
64
  import { CdkDrag, CdkDragHandle, moveItemInArray, DragDropModule } from '@angular/cdk/drag-drop';
63
- import * as i2$2 from '@angular/platform-browser';
65
+ import * as i2$3 from '@angular/platform-browser';
64
66
  import * as i8 from 'ngx-material-timepicker';
65
67
  import { NgxMaterialTimepickerModule } from 'ngx-material-timepicker';
66
68
  import { SelectionModel } from '@angular/cdk/collections';
@@ -410,7 +412,8 @@ const MATERIAL = [
410
412
  MatDialogModule,
411
413
  MatRadioModule,
412
414
  MatCheckboxModule,
413
- MatProgressSpinnerModule
415
+ MatProgressSpinnerModule,
416
+ MatExpansionModule
414
417
  ];
415
418
  class CoreMaterialModule {
416
419
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CoreMaterialModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
@@ -436,7 +439,8 @@ class CoreMaterialModule {
436
439
  MatDialogModule,
437
440
  MatRadioModule,
438
441
  MatCheckboxModule,
439
- MatProgressSpinnerModule], exports: [CommonModule, FormsModule, ReactiveFormsModule, MatToolbarModule,
442
+ MatProgressSpinnerModule,
443
+ MatExpansionModule], exports: [CommonModule, FormsModule, ReactiveFormsModule, MatToolbarModule,
440
444
  MatSidenavModule,
441
445
  MatListModule,
442
446
  MatButtonModule,
@@ -458,7 +462,8 @@ class CoreMaterialModule {
458
462
  MatDialogModule,
459
463
  MatRadioModule,
460
464
  MatCheckboxModule,
461
- MatProgressSpinnerModule] });
465
+ MatProgressSpinnerModule,
466
+ MatExpansionModule] });
462
467
  static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CoreMaterialModule, providers: [
463
468
  { provide: MatPaginatorIntl, useClass: PortugueseMatPaginatorIntl },
464
469
  { provide: MAT_DATE_LOCALE, useValue: 'pt-BR' },
@@ -490,7 +495,8 @@ class CoreMaterialModule {
490
495
  MatDialogModule,
491
496
  MatRadioModule,
492
497
  MatCheckboxModule,
493
- MatProgressSpinnerModule] });
498
+ MatProgressSpinnerModule,
499
+ MatExpansionModule] });
494
500
  }
495
501
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CoreMaterialModule, decorators: [{
496
502
  type: NgModule,
@@ -1537,7 +1543,7 @@ class ButtonComponent extends BaseField {
1537
1543
  </a>
1538
1544
 
1539
1545
  </ng-container>
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 });
1546
+ `, 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:var(--ptech-dashed-icon-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 });
1541
1547
  }
1542
1548
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ButtonComponent, decorators: [{
1543
1549
  type: Component,
@@ -1887,7 +1893,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
1887
1893
  </a>
1888
1894
 
1889
1895
  </ng-container>
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"] }]
1896
+ `, 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:var(--ptech-dashed-icon-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"] }]
1891
1897
  }], ctorParameters: () => [{ type: i0.ElementRef }], propDecorators: { type: [{
1892
1898
  type: Input
1893
1899
  }], size: [{
@@ -4818,7 +4824,7 @@ class ActionDialogComponent {
4818
4824
  ></ptech-button>
4819
4825
  </mat-dialog-actions>
4820
4826
  </div>
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"] }] });
4827
+ `, 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: i2$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"] }] });
4822
4828
  }
4823
4829
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ActionDialogComponent, decorators: [{
4824
4830
  type: Component,
@@ -5202,8 +5208,8 @@ class ActionResultDialogComponent {
5202
5208
  return;
5203
5209
  window.open(this.whatsappUrl, '_blank');
5204
5210
  }
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 });
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" }] });
5211
+ 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$3.DomSanitizer }, { token: MESSAGE_SERVICE }], target: i0.ɵɵFactoryTarget.Component });
5212
+ 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: i2$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" }] });
5207
5213
  }
5208
5214
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ActionResultDialogComponent, decorators: [{
5209
5215
  type: Component,
@@ -5211,7 +5217,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
5211
5217
  }], ctorParameters: () => [{ type: undefined, decorators: [{
5212
5218
  type: Inject,
5213
5219
  args: [MAT_DIALOG_DATA]
5214
- }] }, { type: i1$4.MatDialogRef }, { type: i2$2.DomSanitizer }, { type: undefined, decorators: [{
5220
+ }] }, { type: i1$4.MatDialogRef }, { type: i2$3.DomSanitizer }, { type: undefined, decorators: [{
5215
5221
  type: Inject,
5216
5222
  args: [MESSAGE_SERVICE]
5217
5223
  }] }] });
@@ -7886,6 +7892,214 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
7886
7892
  type: Output
7887
7893
  }] } });
7888
7894
 
7895
+ class CardComponent {
7896
+ title = '';
7897
+ subtitle = '';
7898
+ icon = '';
7899
+ loading = false;
7900
+ shadow = true;
7901
+ margin = true;
7902
+ selected = false;
7903
+ clickable = false;
7904
+ variant = 'default';
7905
+ /** Enables header wrapper when only projected content is used. */
7906
+ hasHeaderProjection = false;
7907
+ /** Enables footer wrapper when projected footer content is used. */
7908
+ hasFooterProjection = false;
7909
+ cardClick = new EventEmitter();
7910
+ onCardClick(event) {
7911
+ if (this.clickable || this.cardClick.observed) {
7912
+ this.cardClick.emit(event);
7913
+ }
7914
+ }
7915
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CardComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
7916
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.16", type: CardComponent, isStandalone: true, selector: "ptech-card", inputs: { title: "title", subtitle: "subtitle", icon: "icon", loading: "loading", shadow: "shadow", margin: "margin", selected: "selected", clickable: "clickable", variant: "variant", hasHeaderProjection: "hasHeaderProjection", hasFooterProjection: "hasFooterProjection" }, outputs: { cardClick: "cardClick" }, ngImport: i0, template: `
7917
+ <mat-card
7918
+ class="ptech-card"
7919
+ [class.ptech-card--clickable]="clickable || cardClick.observed"
7920
+ [class.ptech-card--selected]="selected || variant === 'selected'"
7921
+ [class.ptech-card--flat]="variant === 'flat' || !shadow"
7922
+ [class.ptech-card--outlined]="variant === 'outlined'"
7923
+ [class.ptech-card--marginless]="!margin"
7924
+ (click)="onCardClick($event)"
7925
+ >
7926
+ <mat-card-header *ngIf="title || subtitle || icon || hasHeaderProjection" class="ptech-card__header">
7927
+ <div *ngIf="icon" mat-card-avatar class="ptech-card__avatar">
7928
+ <mat-icon>{{ icon }}</mat-icon>
7929
+ </div>
7930
+
7931
+ <mat-card-title-group *ngIf="title || subtitle">
7932
+ <mat-card-title>{{ title }}</mat-card-title>
7933
+ <mat-card-subtitle *ngIf="subtitle">{{ subtitle }}</mat-card-subtitle>
7934
+ </mat-card-title-group>
7935
+
7936
+ <ng-content select="[ptechCardHeader]"></ng-content>
7937
+ <span class="ptech-card__spacer"></span>
7938
+ <ng-content select="[ptechCardActions]"></ng-content>
7939
+ </mat-card-header>
7940
+
7941
+ <mat-card-content class="ptech-card__content">
7942
+ <ptech-loading-overlay *ngIf="loading"></ptech-loading-overlay>
7943
+ <ng-content select="[ptechCardContent]"></ng-content>
7944
+ <ng-content></ng-content>
7945
+ </mat-card-content>
7946
+
7947
+ <mat-card-actions *ngIf="hasFooterProjection" class="ptech-card__footer">
7948
+ <ng-content select="[ptechCardFooter]"></ng-content>
7949
+ </mat-card-actions>
7950
+ </mat-card>
7951
+ `, isInline: true, styles: [":host{display:block}.ptech-card{position:relative;margin:0 0 16px}.ptech-card--marginless{margin-left:0;margin-right:0}.ptech-card--flat{box-shadow:none!important}.ptech-card--outlined{box-shadow:none!important;border:1px solid var(--app-border-color, rgba(0,0,0,.12))}.ptech-card--selected{border:1px solid var(--app-primary, #3f51b5)}.ptech-card--clickable{cursor:pointer}.ptech-card__header{align-items:center}.ptech-card__avatar{display:inline-flex;align-items:center;justify-content:center}.ptech-card__spacer{flex:1 1 auto}.ptech-card__content{position:relative}.ptech-card__footer{display:flex;justify-content:flex-end;gap:8px}\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$2.MatCard, selector: "mat-card", inputs: ["appearance"], exportAs: ["matCard"] }, { kind: "directive", type: i2$2.MatCardActions, selector: "mat-card-actions", inputs: ["align"], exportAs: ["matCardActions"] }, { kind: "directive", type: i2$2.MatCardAvatar, selector: "[mat-card-avatar], [matCardAvatar]" }, { kind: "directive", type: i2$2.MatCardContent, selector: "mat-card-content" }, { kind: "component", type: i2$2.MatCardHeader, selector: "mat-card-header" }, { kind: "directive", type: i2$2.MatCardSubtitle, selector: "mat-card-subtitle, [mat-card-subtitle], [matCardSubtitle]" }, { kind: "directive", type: i2$2.MatCardTitle, selector: "mat-card-title, [mat-card-title], [matCardTitle]" }, { kind: "component", type: i2$2.MatCardTitleGroup, selector: "mat-card-title-group" }, { kind: "component", type: i3$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: LoadingOverlayComponent, selector: "ptech-loading-overlay" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
7952
+ }
7953
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CardComponent, decorators: [{
7954
+ type: Component,
7955
+ args: [{ selector: 'ptech-card', standalone: true, imports: [CommonModule, CoreMaterialModule, LoadingOverlayComponent], changeDetection: ChangeDetectionStrategy.OnPush, template: `
7956
+ <mat-card
7957
+ class="ptech-card"
7958
+ [class.ptech-card--clickable]="clickable || cardClick.observed"
7959
+ [class.ptech-card--selected]="selected || variant === 'selected'"
7960
+ [class.ptech-card--flat]="variant === 'flat' || !shadow"
7961
+ [class.ptech-card--outlined]="variant === 'outlined'"
7962
+ [class.ptech-card--marginless]="!margin"
7963
+ (click)="onCardClick($event)"
7964
+ >
7965
+ <mat-card-header *ngIf="title || subtitle || icon || hasHeaderProjection" class="ptech-card__header">
7966
+ <div *ngIf="icon" mat-card-avatar class="ptech-card__avatar">
7967
+ <mat-icon>{{ icon }}</mat-icon>
7968
+ </div>
7969
+
7970
+ <mat-card-title-group *ngIf="title || subtitle">
7971
+ <mat-card-title>{{ title }}</mat-card-title>
7972
+ <mat-card-subtitle *ngIf="subtitle">{{ subtitle }}</mat-card-subtitle>
7973
+ </mat-card-title-group>
7974
+
7975
+ <ng-content select="[ptechCardHeader]"></ng-content>
7976
+ <span class="ptech-card__spacer"></span>
7977
+ <ng-content select="[ptechCardActions]"></ng-content>
7978
+ </mat-card-header>
7979
+
7980
+ <mat-card-content class="ptech-card__content">
7981
+ <ptech-loading-overlay *ngIf="loading"></ptech-loading-overlay>
7982
+ <ng-content select="[ptechCardContent]"></ng-content>
7983
+ <ng-content></ng-content>
7984
+ </mat-card-content>
7985
+
7986
+ <mat-card-actions *ngIf="hasFooterProjection" class="ptech-card__footer">
7987
+ <ng-content select="[ptechCardFooter]"></ng-content>
7988
+ </mat-card-actions>
7989
+ </mat-card>
7990
+ `, styles: [":host{display:block}.ptech-card{position:relative;margin:0 0 16px}.ptech-card--marginless{margin-left:0;margin-right:0}.ptech-card--flat{box-shadow:none!important}.ptech-card--outlined{box-shadow:none!important;border:1px solid var(--app-border-color, rgba(0,0,0,.12))}.ptech-card--selected{border:1px solid var(--app-primary, #3f51b5)}.ptech-card--clickable{cursor:pointer}.ptech-card__header{align-items:center}.ptech-card__avatar{display:inline-flex;align-items:center;justify-content:center}.ptech-card__spacer{flex:1 1 auto}.ptech-card__content{position:relative}.ptech-card__footer{display:flex;justify-content:flex-end;gap:8px}\n"] }]
7991
+ }], propDecorators: { title: [{
7992
+ type: Input
7993
+ }], subtitle: [{
7994
+ type: Input
7995
+ }], icon: [{
7996
+ type: Input
7997
+ }], loading: [{
7998
+ type: Input
7999
+ }], shadow: [{
8000
+ type: Input
8001
+ }], margin: [{
8002
+ type: Input
8003
+ }], selected: [{
8004
+ type: Input
8005
+ }], clickable: [{
8006
+ type: Input
8007
+ }], variant: [{
8008
+ type: Input
8009
+ }], hasHeaderProjection: [{
8010
+ type: Input
8011
+ }], hasFooterProjection: [{
8012
+ type: Input
8013
+ }], cardClick: [{
8014
+ type: Output
8015
+ }] } });
8016
+
8017
+ class ExpansionPanelComponent {
8018
+ icon = '';
8019
+ title = '';
8020
+ subtitle = '';
8021
+ rightTitle = '';
8022
+ expanded = true;
8023
+ disabled = false;
8024
+ opened = new EventEmitter();
8025
+ closed = new EventEmitter();
8026
+ toggled = new EventEmitter();
8027
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ExpansionPanelComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
8028
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.16", type: ExpansionPanelComponent, isStandalone: true, selector: "ptech-expansion-panel", inputs: { icon: "icon", title: "title", subtitle: "subtitle", rightTitle: "rightTitle", expanded: "expanded", disabled: "disabled" }, outputs: { opened: "opened", closed: "closed", toggled: "toggled" }, ngImport: i0, template: `
8029
+ <mat-accordion>
8030
+ <mat-expansion-panel
8031
+ [expanded]="expanded"
8032
+ [disabled]="disabled"
8033
+ (opened)="opened.emit()"
8034
+ (closed)="closed.emit()"
8035
+ (afterExpand)="toggled.emit(true)"
8036
+ (afterCollapse)="toggled.emit(false)"
8037
+ >
8038
+ <mat-expansion-panel-header>
8039
+ <mat-panel-title>
8040
+ <mat-icon *ngIf="icon" class="ptech-expansion-panel__icon">{{ icon }}</mat-icon>
8041
+ <span *ngIf="title">{{ title }}</span>
8042
+ <ng-content select="[ptechExpansionHeader]"></ng-content>
8043
+ </mat-panel-title>
8044
+ <mat-panel-description *ngIf="subtitle || rightTitle">
8045
+ <span>{{ subtitle || rightTitle }}</span>
8046
+ <ng-content select="[ptechExpansionActions]"></ng-content>
8047
+ </mat-panel-description>
8048
+ </mat-expansion-panel-header>
8049
+
8050
+ <ng-content></ng-content>
8051
+ </mat-expansion-panel>
8052
+ </mat-accordion>
8053
+ `, isInline: true, styles: [":host{display:block}.ptech-expansion-panel__icon{margin-right:8px}mat-panel-title{align-items:center}mat-panel-description{justify-content:flex-end;align-items:center;gap:8px}\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: i3$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: i3$7.MatAccordion, selector: "mat-accordion", inputs: ["hideToggle", "displayMode", "togglePosition"], exportAs: ["matAccordion"] }, { kind: "component", type: i3$7.MatExpansionPanel, selector: "mat-expansion-panel", inputs: ["hideToggle", "togglePosition"], outputs: ["afterExpand", "afterCollapse"], exportAs: ["matExpansionPanel"] }, { kind: "component", type: i3$7.MatExpansionPanelHeader, selector: "mat-expansion-panel-header", inputs: ["expandedHeight", "collapsedHeight", "tabIndex"] }, { kind: "directive", type: i3$7.MatExpansionPanelTitle, selector: "mat-panel-title" }, { kind: "directive", type: i3$7.MatExpansionPanelDescription, selector: "mat-panel-description" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
8054
+ }
8055
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ExpansionPanelComponent, decorators: [{
8056
+ type: Component,
8057
+ args: [{ selector: 'ptech-expansion-panel', standalone: true, imports: [CommonModule, CoreMaterialModule], changeDetection: ChangeDetectionStrategy.OnPush, template: `
8058
+ <mat-accordion>
8059
+ <mat-expansion-panel
8060
+ [expanded]="expanded"
8061
+ [disabled]="disabled"
8062
+ (opened)="opened.emit()"
8063
+ (closed)="closed.emit()"
8064
+ (afterExpand)="toggled.emit(true)"
8065
+ (afterCollapse)="toggled.emit(false)"
8066
+ >
8067
+ <mat-expansion-panel-header>
8068
+ <mat-panel-title>
8069
+ <mat-icon *ngIf="icon" class="ptech-expansion-panel__icon">{{ icon }}</mat-icon>
8070
+ <span *ngIf="title">{{ title }}</span>
8071
+ <ng-content select="[ptechExpansionHeader]"></ng-content>
8072
+ </mat-panel-title>
8073
+ <mat-panel-description *ngIf="subtitle || rightTitle">
8074
+ <span>{{ subtitle || rightTitle }}</span>
8075
+ <ng-content select="[ptechExpansionActions]"></ng-content>
8076
+ </mat-panel-description>
8077
+ </mat-expansion-panel-header>
8078
+
8079
+ <ng-content></ng-content>
8080
+ </mat-expansion-panel>
8081
+ </mat-accordion>
8082
+ `, styles: [":host{display:block}.ptech-expansion-panel__icon{margin-right:8px}mat-panel-title{align-items:center}mat-panel-description{justify-content:flex-end;align-items:center;gap:8px}\n"] }]
8083
+ }], propDecorators: { icon: [{
8084
+ type: Input
8085
+ }], title: [{
8086
+ type: Input
8087
+ }], subtitle: [{
8088
+ type: Input
8089
+ }], rightTitle: [{
8090
+ type: Input
8091
+ }], expanded: [{
8092
+ type: Input
8093
+ }], disabled: [{
8094
+ type: Input
8095
+ }], opened: [{
8096
+ type: Output
8097
+ }], closed: [{
8098
+ type: Output
8099
+ }], toggled: [{
8100
+ type: Output
8101
+ }] } });
8102
+
7889
8103
  class SnackbarMessageService {
7890
8104
  snackBar;
7891
8105
  constructor(snackBar) {
@@ -7981,7 +8195,9 @@ class PumpkinTechModule {
7981
8195
  FlagComponent,
7982
8196
  TableComponent,
7983
8197
  ListPaginationComponent,
7984
- DialogShellComponent], exports: [
8198
+ DialogShellComponent,
8199
+ CardComponent,
8200
+ ExpansionPanelComponent], exports: [
7985
8201
  // reexporta tudo junto
7986
8202
  InputComponent,
7987
8203
  TextareaComponent,
@@ -8019,6 +8235,8 @@ class PumpkinTechModule {
8019
8235
  TableComponent,
8020
8236
  ListPaginationComponent,
8021
8237
  DialogShellComponent,
8238
+ CardComponent,
8239
+ ExpansionPanelComponent,
8022
8240
  CoreMaterialModule] });
8023
8241
  static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: PumpkinTechModule, providers: [
8024
8242
  {
@@ -8061,7 +8279,9 @@ class PumpkinTechModule {
8061
8279
  FlagComponent,
8062
8280
  TableComponent,
8063
8281
  ListPaginationComponent,
8064
- DialogShellComponent, CoreMaterialModule] });
8282
+ DialogShellComponent,
8283
+ CardComponent,
8284
+ ExpansionPanelComponent, CoreMaterialModule] });
8065
8285
  }
8066
8286
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: PumpkinTechModule, decorators: [{
8067
8287
  type: NgModule,
@@ -8105,7 +8325,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
8105
8325
  FlagComponent,
8106
8326
  TableComponent,
8107
8327
  ListPaginationComponent,
8108
- DialogShellComponent
8328
+ DialogShellComponent,
8329
+ CardComponent,
8330
+ ExpansionPanelComponent
8109
8331
  ],
8110
8332
  exports: [
8111
8333
  // reexporta tudo junto
@@ -8145,6 +8367,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
8145
8367
  TableComponent,
8146
8368
  ListPaginationComponent,
8147
8369
  DialogShellComponent,
8370
+ CardComponent,
8371
+ ExpansionPanelComponent,
8148
8372
  CoreMaterialModule,
8149
8373
  ],
8150
8374
  providers: [
@@ -9275,7 +9499,7 @@ class BreadcrumbService {
9275
9499
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: BreadcrumbService, decorators: [{
9276
9500
  type: Injectable,
9277
9501
  args: [{ providedIn: 'root' }]
9278
- }], ctorParameters: () => [{ type: i3$2.Router }, { type: i2$3.Observable, decorators: [{
9502
+ }], ctorParameters: () => [{ type: i3$2.Router }, { type: i2$4.Observable, decorators: [{
9279
9503
  type: Optional
9280
9504
  }, {
9281
9505
  type: Inject,
@@ -9589,5 +9813,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
9589
9813
  * Generated bundle index. Do not edit.
9590
9814
  */
9591
9815
 
9592
- export { ActionDialogComponent, ActionResultDialogComponent, ActionRowComponent, AlertComponent, ArrayUtil, BREADCRUMB_PREFIX$, BadgeComponent, BadgeStackComponent, BreadcrumbComponent, BreadcrumbService, ButtonComponent, CheckBoxComponent, ClickCatcherDirective, ConfirmationDialogComponent, CoreMaterialModule, CurrencyBrlPipe, CurrencyPreferenceService, CurrencyUtil, DateAgoPipe, DateMaskDirective, DateUtil, DefaultConsoleMessageService, DefaultMessageService, DialogService, DialogShellComponent, DirectivesModule, DocumentUtil, DynamicTabDirective, FakeDataService, FlagComponent, FooterComponent, ForDirective, GetFirstStringBeforeSpacePipe, HeaderComponent, IconComponent, InfoDetailComponent, InfoDetailDialogComponent, InputComponent, InputCurrencyComponent, InputDateComponent, InputDateRangeComponent, InputTimeComponent, IsLongerThanPipe, LineBreakAfterPeriodPipe, LineBreakAfterPipe, ListPaginationComponent, LoadingOverlayComponent, LoadingService, LowerCaseDirective, MESSAGE_SERVICE, MY_DATE_FORMATS, MemoryFormatPipe, ModuleChangeService, NavComponent, NavService, NumberUtil, ObjectUtil, PhoneBrazilPipe, PhoneMaskBrazilDirective, PhoneMaskSpainDirective, PhoneSpainPipe, PipesModule, ProfileMenuComponent, ProgressBarComponent, ProgressBarMultipleComponent, PtechColDirective, PtechGridDirective, PumpkinTechModule, QuantityItemsComponent, RadioGroupEntityComponent, RadioGroupEnumComponent, RedDirective, SelectEntityComponent, SelectEnumComponent, SelectQuantityItemsComponent, SlideToggleComponent, SnackbarMessageService, SpaceDropDirective, StringUtil, TableCellDirective, TableComponent, TextareaComponent, TimeDurationPipe, TitleComponent, UpperCaseDirective, UptimeFormatPipe, UuidUtil };
9816
+ export { ActionDialogComponent, ActionResultDialogComponent, ActionRowComponent, AlertComponent, ArrayUtil, BREADCRUMB_PREFIX$, BadgeComponent, BadgeStackComponent, BreadcrumbComponent, BreadcrumbService, ButtonComponent, CardComponent, CheckBoxComponent, ClickCatcherDirective, ConfirmationDialogComponent, CoreMaterialModule, CurrencyBrlPipe, CurrencyPreferenceService, CurrencyUtil, DateAgoPipe, DateMaskDirective, DateUtil, DefaultConsoleMessageService, DefaultMessageService, DialogService, DialogShellComponent, DirectivesModule, DocumentUtil, DynamicTabDirective, ExpansionPanelComponent, FakeDataService, FlagComponent, FooterComponent, ForDirective, GetFirstStringBeforeSpacePipe, HeaderComponent, IconComponent, InfoDetailComponent, InfoDetailDialogComponent, InputComponent, InputCurrencyComponent, InputDateComponent, InputDateRangeComponent, InputTimeComponent, IsLongerThanPipe, LineBreakAfterPeriodPipe, LineBreakAfterPipe, ListPaginationComponent, LoadingOverlayComponent, LoadingService, LowerCaseDirective, MESSAGE_SERVICE, MY_DATE_FORMATS, MemoryFormatPipe, ModuleChangeService, NavComponent, NavService, NumberUtil, ObjectUtil, PhoneBrazilPipe, PhoneMaskBrazilDirective, PhoneMaskSpainDirective, PhoneSpainPipe, PipesModule, ProfileMenuComponent, ProgressBarComponent, ProgressBarMultipleComponent, PtechColDirective, PtechGridDirective, PumpkinTechModule, QuantityItemsComponent, RadioGroupEntityComponent, RadioGroupEnumComponent, RedDirective, SelectEntityComponent, SelectEnumComponent, SelectQuantityItemsComponent, SlideToggleComponent, SnackbarMessageService, SpaceDropDirective, StringUtil, TableCellDirective, TableComponent, TextareaComponent, TimeDurationPipe, TitleComponent, UpperCaseDirective, UptimeFormatPipe, UuidUtil };
9593
9817
  //# sourceMappingURL=pumpkin-tech-pumpkin-tech-ng.mjs.map