@pumpkin-tech/pumpkin-tech-ng 0.1.6 → 0.1.8

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, EventEmitter, ElementRef, forwardRef, Output, ContentChild, ViewChild, ChangeDetectionStrategy, Component, HostListener, Inject, InjectionToken, Optional, Pipe, inject } from '@angular/core';
3
3
  import * as i1 from '@angular/cdk/layout';
4
- import * as i2$4 from 'rxjs';
4
+ import * as i2$5 from 'rxjs';
5
5
  import { Subject, BehaviorSubject, delay, tap, map, filter, of } from 'rxjs';
6
6
  import { takeUntil, filter as filter$1, switchMap } from 'rxjs/operators';
7
7
  import { coerceBooleanProperty } from '@angular/cdk/coercion';
@@ -25,7 +25,9 @@ import * as i3 from '@angular/material/form-field';
25
25
  import { MatFormFieldModule } from '@angular/material/form-field';
26
26
  import * as i4 from '@angular/material/input';
27
27
  import { MatInputModule } from '@angular/material/input';
28
+ import * as i2$4 from '@angular/material/table';
28
29
  import { MatTableModule } from '@angular/material/table';
30
+ import * as i3$5 from '@angular/material/paginator';
29
31
  import { MatPaginatorIntl, MatPaginatorModule } from '@angular/material/paginator';
30
32
  import { MatSortModule } from '@angular/material/sort';
31
33
  import * as i3$1 from '@angular/material/icon';
@@ -62,6 +64,7 @@ import * as i2$3 from '@angular/platform-browser';
62
64
  import * as i6$3 from 'ngx-material-timepicker';
63
65
  import { NgxMaterialTimepickerModule } from 'ngx-material-timepicker';
64
66
  import { NgxCurrencyDirective } from 'ngx-currency';
67
+ import { SelectionModel } from '@angular/cdk/collections';
65
68
  import { faker } from '@faker-js/faker';
66
69
 
67
70
  const MEDIA$1 = {
@@ -3276,6 +3279,7 @@ class SelectEnumComponent extends BaseField {
3276
3279
  enum = {};
3277
3280
  disabledOptions = [];
3278
3281
  sort = () => 0;
3282
+ labelMap = {};
3279
3283
  selectionChange = new EventEmitter();
3280
3284
  enumList = [];
3281
3285
  _val;
@@ -3302,7 +3306,7 @@ class SelectEnumComponent extends BaseField {
3302
3306
  registerOnChange(fn) { this.onChange = fn; }
3303
3307
  registerOnTouched(fn) { this.onTouch = fn; }
3304
3308
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: SelectEnumComponent, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
3305
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: SelectEnumComponent, isStandalone: true, selector: "ptech-select-enum", inputs: { multiple: "multiple", enum: "enum", disabledOptions: "disabledOptions", sort: "sort" }, outputs: { selectionChange: "selectionChange" }, providers: [
3309
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: SelectEnumComponent, isStandalone: true, selector: "ptech-select-enum", inputs: { multiple: "multiple", enum: "enum", disabledOptions: "disabledOptions", sort: "sort", labelMap: "labelMap" }, outputs: { selectionChange: "selectionChange" }, providers: [
3306
3310
  {
3307
3311
  provide: NG_VALUE_ACCESSOR,
3308
3312
  useExisting: forwardRef(() => SelectEnumComponent),
@@ -3332,7 +3336,7 @@ class SelectEnumComponent extends BaseField {
3332
3336
  *ngFor="let e of enumList"
3333
3337
  [value]="e.key"
3334
3338
  [disabled]="disabledOptions?.includes(e.key)">
3335
- {{ e.value }}
3339
+ {{ labelMap[e.key] || e.value }}
3336
3340
  <span *ngIf="disabledOptions?.includes(e.key)">
3337
3341
  (indisponível)
3338
3342
  </span>
@@ -3381,7 +3385,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
3381
3385
  *ngFor="let e of enumList"
3382
3386
  [value]="e.key"
3383
3387
  [disabled]="disabledOptions?.includes(e.key)">
3384
- {{ e.value }}
3388
+ {{ labelMap[e.key] || e.value }}
3385
3389
  <span *ngIf="disabledOptions?.includes(e.key)">
3386
3390
  (indisponível)
3387
3391
  </span>
@@ -3405,6 +3409,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
3405
3409
  type: Input
3406
3410
  }], sort: [{
3407
3411
  type: Input
3412
+ }], labelMap: [{
3413
+ type: Input
3408
3414
  }], selectionChange: [{
3409
3415
  type: Output
3410
3416
  }] } });
@@ -4970,6 +4976,694 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
4970
4976
  args: ['style.grid-column']
4971
4977
  }] } });
4972
4978
 
4979
+ class TableComponent {
4980
+ title = '';
4981
+ loading = false;
4982
+ data = [];
4983
+ total = 0;
4984
+ pageIndex = 0; // zero-based
4985
+ pageSize = 10;
4986
+ pageSizeOptions = [5, 10, 20, 50];
4987
+ columns = [];
4988
+ actions = [];
4989
+ // seleção de linhas
4990
+ selectRow = false;
4991
+ selectMultipleRow = false;
4992
+ getRowId = (row) => row?._id ?? row?.id; // fallback
4993
+ /** imagem de fallback para <img> quebrada ou ausente */
4994
+ imageFallback = 'assets/images/placeholder-poster.svg';
4995
+ /** ativa visualização em cards no mobile */
4996
+ responsiveCards = false;
4997
+ selectedRows = new EventEmitter();
4998
+ selectedIds = new EventEmitter();
4999
+ page = new EventEmitter();
5000
+ displayedColumns = [];
5001
+ selection = new SelectionModel(this.selectMultipleRow, []);
5002
+ selectedIdSet = new Set();
5003
+ ngOnChanges(changes) {
5004
+ // colunas
5005
+ const cols = [...this.columns.map(c => c.key)];
5006
+ if (this.selectRow)
5007
+ cols.unshift('select');
5008
+ if (this.actions?.length)
5009
+ cols.push('__actions');
5010
+ this.displayedColumns = cols;
5011
+ // ressincroniza selection da página
5012
+ this.selection = new SelectionModel(this.selectMultipleRow, []);
5013
+ for (const row of this.data || []) {
5014
+ const id = this.getRowId(row);
5015
+ if (this.selectedIdSet.has(id)) {
5016
+ this.selection.select(row);
5017
+ }
5018
+ }
5019
+ // emite estado consolidado
5020
+ this.emitSelected();
5021
+ }
5022
+ // selecionar/deselecionar todos da PÁGINA atual
5023
+ toggleAllRows() {
5024
+ const pageAllSelected = (this.data || []).every(r => this.selectedIdSet.has(this.getRowId(r)));
5025
+ if (pageAllSelected) {
5026
+ for (const r of this.data || [])
5027
+ this.selectedIdSet.delete(this.getRowId(r));
5028
+ this.selection.clear();
5029
+ }
5030
+ else {
5031
+ for (const r of this.data || []) {
5032
+ const id = this.getRowId(r);
5033
+ if (!this.selectedIdSet.has(id)) {
5034
+ this.selectedIdSet.add(id);
5035
+ this.selection.select(r);
5036
+ }
5037
+ }
5038
+ }
5039
+ this.emitSelected();
5040
+ }
5041
+ /** Verifica se todas estão selecionadas */
5042
+ isAllSelected() {
5043
+ // “todos da página atual”
5044
+ return !!this.data?.length && (this.data || []).every(r => this.selectedIdSet.has(this.getRowId(r)));
5045
+ }
5046
+ // opcional: API para limpar seleção externamente
5047
+ clearSelection() {
5048
+ this.selectedIdSet.clear();
5049
+ this.selection.clear();
5050
+ this.emitSelected();
5051
+ }
5052
+ /** Marca/desmarca uma linha */
5053
+ toggleRow(row) {
5054
+ const id = this.getRowId(row);
5055
+ if (this.selectedIdSet.has(id)) {
5056
+ this.selectedIdSet.delete(id);
5057
+ this.selection.deselect(row);
5058
+ }
5059
+ else {
5060
+ if (!this.selectMultipleRow) {
5061
+ // modo single: limpa tudo antes
5062
+ this.selectedIdSet.clear();
5063
+ this.selection.clear();
5064
+ }
5065
+ this.selectedIdSet.add(id);
5066
+ this.selection.select(row);
5067
+ }
5068
+ this.emitSelected();
5069
+ }
5070
+ /** Emite o estado atual */
5071
+ emitSelected() {
5072
+ const selectedRows = [];
5073
+ const selectedIds = Array.from(this.selectedIdSet);
5074
+ // tenta reconstruir as linhas selecionadas (apenas as presentes na página atual)
5075
+ for (const row of this.data || []) {
5076
+ const id = this.getRowId(row);
5077
+ if (this.selectedIdSet.has(id))
5078
+ selectedRows.push(row);
5079
+ }
5080
+ this.selectedRows.emit(selectedRows);
5081
+ this.selectedIds.emit(selectedIds);
5082
+ }
5083
+ /** Verifica se uma linha está selecionada */
5084
+ isSelected(row) {
5085
+ return this.selectedIdSet.has(this.getRowId(row));
5086
+ }
5087
+ onPage(ev) {
5088
+ this.page.emit({ pageIndex: ev.pageIndex, pageSize: ev.pageSize });
5089
+ }
5090
+ renderCell(row, col) {
5091
+ if (col?.cell)
5092
+ return col.cell(row);
5093
+ const v = this.read(row, col.key);
5094
+ if (col.type === 'date' && v)
5095
+ return new Date(v);
5096
+ return v ?? '—';
5097
+ }
5098
+ resolveImage(row, col) {
5099
+ const key = (col.imageKey || col.key);
5100
+ const url = this.read(row, key);
5101
+ return typeof url === 'string' && url.length > 0 ? url : null;
5102
+ }
5103
+ resolveAlt(row, col) {
5104
+ const key = (col.altKey || 'title');
5105
+ const v = this.read(row, key);
5106
+ return typeof v === 'string' ? v : null;
5107
+ }
5108
+ read(obj, path) {
5109
+ if (!obj || !path)
5110
+ return null;
5111
+ if (!path.includes('.'))
5112
+ return obj[path];
5113
+ return path.split('.').reduce((acc, k) => (acc ? acc[k] : undefined), obj);
5114
+ }
5115
+ onImgError(ev) {
5116
+ const img = ev.target;
5117
+ img.src = this.imageFallback;
5118
+ }
5119
+ /** BADGES: resolve a lista de badges para a linha+coluna */
5120
+ getBadges(row, col) {
5121
+ if (!col.badges)
5122
+ return [];
5123
+ const cfg = typeof col.badges === 'function' ? col.badges(row) : col.badges;
5124
+ if (!Array.isArray(cfg))
5125
+ return [];
5126
+ return cfg
5127
+ .filter(b => !b.visible || b.visible(row))
5128
+ .map(b => {
5129
+ const label = typeof b.label === 'function' ? b.label(row) : b.label;
5130
+ const rawColor = typeof b.color === 'function' ? b.color(row) : b.color;
5131
+ const color = rawColor ?? 'neutral';
5132
+ const rawVariant = typeof b.variant === 'function' ? b.variant(row) : b.variant;
5133
+ const variant = rawVariant ?? 'filled';
5134
+ const rawSize = typeof b.size === 'function' ? b.size(row) : b.size;
5135
+ const size = rawSize ?? 'md';
5136
+ return { label, color, variant, size };
5137
+ });
5138
+ }
5139
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: TableComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
5140
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: TableComponent, isStandalone: true, selector: "ptech-table", inputs: { title: "title", loading: "loading", data: "data", total: "total", pageIndex: "pageIndex", pageSize: "pageSize", pageSizeOptions: "pageSizeOptions", columns: "columns", actions: "actions", selectRow: "selectRow", selectMultipleRow: "selectMultipleRow", getRowId: "getRowId", imageFallback: "imageFallback", responsiveCards: "responsiveCards" }, outputs: { selectedRows: "selectedRows", selectedIds: "selectedIds", page: "page" }, usesOnChanges: true, ngImport: i0, template: `
5141
+ <div class="table-container mat-elevation-z8">
5142
+ <div class="header-row" *ngIf="title">
5143
+ <h3>{{ title }}</h3>
5144
+ </div>
5145
+
5146
+ <!-- ⬇⬇ NOVO BLOCO: filtros projetados -->
5147
+ <div class="table-filters">
5148
+ <ng-content select="[table-filters]"></ng-content>
5149
+ </div>
5150
+
5151
+ <!-- ações dos filtros (botões) -->
5152
+ <div class="table-filters-actions">
5153
+ <ng-content select="[table-filters-actions]"></ng-content>
5154
+ </div>
5155
+ <!-- ⬆⬆ -->
5156
+
5157
+ <ng-container *ngIf="!loading; else loadingTpl">
5158
+ <!-- TABELA (desktop / tablet ou mobile sem cards) -->
5159
+ <div class="table-scroll" [class.hide-on-mobile]="responsiveCards">
5160
+ <table mat-table [dataSource]="data">
5161
+ <!-- SELEÇÃO (checkbox ou radio) -->
5162
+ <ng-container *ngIf="selectRow" matColumnDef="select">
5163
+ <th mat-header-cell *matHeaderCellDef style="text-align: center">
5164
+ <mat-checkbox
5165
+ *ngIf="selectMultipleRow"
5166
+ (change)="toggleAllRows()"
5167
+ [checked]="isAllSelected()"
5168
+ [indeterminate]="selection.hasValue() && !isAllSelected()"
5169
+ aria-label="Selecionar todas"
5170
+ ></mat-checkbox>
5171
+ </th>
5172
+ <td mat-cell *matCellDef="let row" style="text-align: center">
5173
+ <mat-checkbox
5174
+ *ngIf="selectMultipleRow"
5175
+ [checked]="isSelected(row)"
5176
+ (change)="toggleRow(row)"
5177
+ aria-label="Selecionar linha"
5178
+ ></mat-checkbox>
5179
+
5180
+ <mat-radio-button
5181
+ *ngIf="!selectMultipleRow"
5182
+ [checked]="isSelected(row)"
5183
+ (change)="toggleRow(row)"
5184
+ aria-label="Selecionar linha"
5185
+ ></mat-radio-button>
5186
+ </td>
5187
+ </ng-container>
5188
+
5189
+ <ng-container *ngFor="let c of columns" [matColumnDef]="c.key">
5190
+ <th
5191
+ mat-header-cell
5192
+ *matHeaderCellDef
5193
+ [style.text-align]="c.align || 'left'"
5194
+ >
5195
+ {{ c.header }}
5196
+ </th>
5197
+ <td
5198
+ mat-cell
5199
+ *matCellDef="let row"
5200
+ [style.text-align]="c.align || 'left'"
5201
+ >
5202
+ <ng-container [ngSwitch]="c.type || 'text'">
5203
+ <!-- IMAGEM -->
5204
+ <ng-container *ngSwitchCase="'image'">
5205
+ <img
5206
+ class="td-thumb"
5207
+ [src]="resolveImage(row, c) || imageFallback"
5208
+ [alt]="resolveAlt(row, c) || ''"
5209
+ [style.width]="c.width || '40px'"
5210
+ [style.height]="c.width || '40px'"
5211
+ style="object-fit: cover; border-radius: 6px"
5212
+ (error)="onImgError($event)"
5213
+ />
5214
+ </ng-container>
5215
+
5216
+ <!-- DATE -->
5217
+ <ng-container *ngSwitchCase="'date'">
5218
+ {{ renderCell(row, c) | date : "dd/MM/yyyy HH:mm" }}
5219
+ </ng-container>
5220
+
5221
+ <!-- BADGE -->
5222
+ <ng-container *ngSwitchCase="'badge'">
5223
+ <ptech-badge-stack>
5224
+ <ng-container *ngFor="let b of getBadges(row, c)">
5225
+ <ptech-badge
5226
+ [label]="b.label"
5227
+ [color]="b.color"
5228
+ [variant]="b.variant"
5229
+ [size]="b.size"
5230
+ ></ptech-badge>
5231
+ </ng-container>
5232
+ </ptech-badge-stack>
5233
+ </ng-container>
5234
+
5235
+ <!-- DEFAULT (text/number) -->
5236
+ <ng-container *ngSwitchDefault>
5237
+ {{ renderCell(row, c) }}
5238
+ </ng-container>
5239
+ </ng-container>
5240
+ </td>
5241
+ </ng-container>
5242
+
5243
+ <ng-container *ngIf="actions.length" matColumnDef="__actions">
5244
+ <th mat-header-cell *matHeaderCellDef style="text-align: center">
5245
+ Ações
5246
+ </th>
5247
+ <td mat-cell *matCellDef="let r" style="text-align: center">
5248
+ <ng-container *ngFor="let a of actions">
5249
+ <ptech-button
5250
+ *ngIf="!a.visible || a.visible(r)"
5251
+ icon="{{ a.icon }}"
5252
+ type="icon"
5253
+ iconColor="{{ a.color }}"
5254
+ tooltip="{{ a.tooltip || '' }}"
5255
+ (click)="a.handler(r)"
5256
+ >
5257
+ </ptech-button>
5258
+ </ng-container>
5259
+ </td>
5260
+ </ng-container>
5261
+
5262
+ <tr mat-header-row *matHeaderRowDef="displayedColumns"></tr>
5263
+ <tr
5264
+ mat-row
5265
+ *matRowDef="let row; columns: displayedColumns"
5266
+ [class.selected]="isSelected(row)"
5267
+ ></tr>
5268
+ </table>
5269
+ </div>
5270
+
5271
+ <!-- CARDS (mobile) -->
5272
+ <div
5273
+ *ngIf="responsiveCards"
5274
+ class="cards-container hide-on-desktop"
5275
+ >
5276
+ <div
5277
+ *ngFor="let row of data"
5278
+ class="card mat-elevation-z8"
5279
+ [class.selected]="isSelected(row)"
5280
+ >
5281
+ <!-- seleção no card -->
5282
+ <div *ngIf="selectRow" class="card-select">
5283
+ <mat-checkbox
5284
+ *ngIf="selectMultipleRow"
5285
+ [checked]="isSelected(row)"
5286
+ (change)="toggleRow(row)"
5287
+ aria-label="Selecionar card"
5288
+ ></mat-checkbox>
5289
+
5290
+ <mat-radio-button
5291
+ *ngIf="!selectMultipleRow"
5292
+ [checked]="isSelected(row)"
5293
+ (change)="toggleRow(row)"
5294
+ aria-label="Selecionar card"
5295
+ ></mat-radio-button>
5296
+ </div>
5297
+
5298
+ <div
5299
+ *ngFor="let c of columns"
5300
+ class="card-row"
5301
+ [ngSwitch]="c.type || 'text'"
5302
+ >
5303
+ <!-- IMAGEM -->
5304
+ <ng-container *ngSwitchCase="'image'">
5305
+ <img
5306
+ class="td-thumb"
5307
+ [src]="resolveImage(row, c) || imageFallback"
5308
+ [alt]="resolveAlt(row, c) || ''"
5309
+ style="width: 64px; height: 64px; object-fit: cover; border-radius: 6px"
5310
+ (error)="onImgError($event)"
5311
+ />
5312
+ </ng-container>
5313
+
5314
+ <!-- BADGE -->
5315
+ <ng-container *ngSwitchCase="'badge'">
5316
+ <div><strong>{{ c.header }}:</strong></div>
5317
+ <ptech-badge-stack>
5318
+ <ng-container *ngFor="let b of getBadges(row, c)">
5319
+ <ptech-badge
5320
+ [label]="b.label"
5321
+ [color]="b.color"
5322
+ [variant]="b.variant"
5323
+ [size]="b.size"
5324
+ ></ptech-badge>
5325
+ </ng-container>
5326
+ </ptech-badge-stack>
5327
+ </ng-container>
5328
+
5329
+ <!-- DATE -->
5330
+ <ng-container *ngSwitchCase="'date'">
5331
+ <div>
5332
+ <strong>{{ c.header }}:</strong>
5333
+ {{ renderCell(row, c) | date : "dd/MM/yyyy HH:mm" }}
5334
+ </div>
5335
+ </ng-container>
5336
+
5337
+ <!-- DEFAULT -->
5338
+ <ng-container *ngSwitchDefault>
5339
+ <div>
5340
+ <strong>{{ c.header }}:</strong>
5341
+ {{ renderCell(row, c) }}
5342
+ </div>
5343
+ </ng-container>
5344
+ </div>
5345
+
5346
+ <!-- AÇÕES -->
5347
+ <div *ngIf="actions?.length" class="card-actions">
5348
+ <ng-container *ngFor="let a of actions">
5349
+ <ptech-button
5350
+ *ngIf="!a.visible || a.visible(row)"
5351
+ icon="{{ a.icon }}"
5352
+ type="icon"
5353
+ iconColor="{{ a.color }}"
5354
+ tooltip="{{ a.tooltip || '' }}"
5355
+ (click)="a.handler(row)"
5356
+ >
5357
+ </ptech-button>
5358
+ </ng-container>
5359
+ </div>
5360
+ </div>
5361
+ </div>
5362
+
5363
+ <mat-paginator
5364
+ class="mat-paginator"
5365
+ [length]="total"
5366
+ [pageIndex]="pageIndex"
5367
+ [pageSize]="pageSize"
5368
+ [pageSizeOptions]="pageSizeOptions"
5369
+ showFirstLastButtons
5370
+ (page)="onPage($event)"
5371
+ >
5372
+ </mat-paginator>
5373
+
5374
+ <div *ngIf="!data?.length" class="muted" style="padding: 12px">
5375
+ Sem dados.
5376
+ </div>
5377
+ </ng-container>
5378
+
5379
+ <ng-template #loadingTpl>
5380
+ <mat-progress-bar mode="indeterminate"></mat-progress-bar>
5381
+ </ng-template>
5382
+ </div>
5383
+ `, 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}.td-thumb{box-shadow:0 1px 2px #00000026;background:#f4f6fa}tr.selected{background-color:#2196f314}.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:0 4px 6px #0003;margin:0 0 10px!important;background-color:#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}// // .table-filters-actions ptech-action-row{// display: flex;// justify-content: flex-end;// gap: 8px;// flex-wrap: wrap;//}.muted{background-color:#fff!important}@media (max-width: 768px){.table-filters{padding:16px;margin-bottom:8px}// .table-filters-actions ptech-action-row{// justify-content: flex-start;//}// .table-filters-actions ptech-action-row > *{// flex: 1 1 auto;//}.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:#fff;border:1px solid rgba(0,0,0,.06);box-shadow:0 1px 3px #0000001f;font-family:inherit}.card.selected{border-color:#1976d2;background-color:#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 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:#0009;margin-right:6px;white-space:nowrap}.card-row{font-size:14px;color:#000000de}.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.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i1$1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "directive", type: i1$1.NgSwitchDefault, selector: "[ngSwitchDefault]" }, { kind: "component", type: i2$4.MatTable, selector: "mat-table, table[mat-table]", exportAs: ["matTable"] }, { kind: "directive", type: i2$4.MatHeaderCellDef, selector: "[matHeaderCellDef]" }, { kind: "directive", type: i2$4.MatHeaderRowDef, selector: "[matHeaderRowDef]", inputs: ["matHeaderRowDef", "matHeaderRowDefSticky"] }, { kind: "directive", type: i2$4.MatColumnDef, selector: "[matColumnDef]", inputs: ["matColumnDef"] }, { kind: "directive", type: i2$4.MatCellDef, selector: "[matCellDef]" }, { kind: "directive", type: i2$4.MatRowDef, selector: "[matRowDef]", inputs: ["matRowDefColumns", "matRowDefWhen"] }, { kind: "directive", type: i2$4.MatHeaderCell, selector: "mat-header-cell, th[mat-header-cell]" }, { kind: "directive", type: i2$4.MatCell, selector: "mat-cell, td[mat-cell]" }, { kind: "component", type: i2$4.MatHeaderRow, selector: "mat-header-row, tr[mat-header-row]", exportAs: ["matHeaderRow"] }, { kind: "component", type: i2$4.MatRow, selector: "mat-row, tr[mat-row]", exportAs: ["matRow"] }, { kind: "component", type: i3$5.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$3.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: i7$1.MatCheckbox, selector: "mat-checkbox", inputs: ["aria-label", "aria-labelledby", "aria-describedby", "id", "required", "labelPosition", "name", "value", "disableRipple", "tabIndex", "color", "disabledInteractive", "checked", "disabled", "indeterminate"], outputs: ["change", "indeterminateChange"], exportAs: ["matCheckbox"] }, { kind: "pipe", type: i1$1.DatePipe, name: "date" }, { 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"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
5384
+ }
5385
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: TableComponent, decorators: [{
5386
+ type: Component,
5387
+ args: [{ selector: 'ptech-table', standalone: true, imports: [CoreMaterialModule, BadgeComponent, BadgeStackComponent, ButtonComponent], changeDetection: ChangeDetectionStrategy.OnPush, template: `
5388
+ <div class="table-container mat-elevation-z8">
5389
+ <div class="header-row" *ngIf="title">
5390
+ <h3>{{ title }}</h3>
5391
+ </div>
5392
+
5393
+ <!-- ⬇⬇ NOVO BLOCO: filtros projetados -->
5394
+ <div class="table-filters">
5395
+ <ng-content select="[table-filters]"></ng-content>
5396
+ </div>
5397
+
5398
+ <!-- ações dos filtros (botões) -->
5399
+ <div class="table-filters-actions">
5400
+ <ng-content select="[table-filters-actions]"></ng-content>
5401
+ </div>
5402
+ <!-- ⬆⬆ -->
5403
+
5404
+ <ng-container *ngIf="!loading; else loadingTpl">
5405
+ <!-- TABELA (desktop / tablet ou mobile sem cards) -->
5406
+ <div class="table-scroll" [class.hide-on-mobile]="responsiveCards">
5407
+ <table mat-table [dataSource]="data">
5408
+ <!-- SELEÇÃO (checkbox ou radio) -->
5409
+ <ng-container *ngIf="selectRow" matColumnDef="select">
5410
+ <th mat-header-cell *matHeaderCellDef style="text-align: center">
5411
+ <mat-checkbox
5412
+ *ngIf="selectMultipleRow"
5413
+ (change)="toggleAllRows()"
5414
+ [checked]="isAllSelected()"
5415
+ [indeterminate]="selection.hasValue() && !isAllSelected()"
5416
+ aria-label="Selecionar todas"
5417
+ ></mat-checkbox>
5418
+ </th>
5419
+ <td mat-cell *matCellDef="let row" style="text-align: center">
5420
+ <mat-checkbox
5421
+ *ngIf="selectMultipleRow"
5422
+ [checked]="isSelected(row)"
5423
+ (change)="toggleRow(row)"
5424
+ aria-label="Selecionar linha"
5425
+ ></mat-checkbox>
5426
+
5427
+ <mat-radio-button
5428
+ *ngIf="!selectMultipleRow"
5429
+ [checked]="isSelected(row)"
5430
+ (change)="toggleRow(row)"
5431
+ aria-label="Selecionar linha"
5432
+ ></mat-radio-button>
5433
+ </td>
5434
+ </ng-container>
5435
+
5436
+ <ng-container *ngFor="let c of columns" [matColumnDef]="c.key">
5437
+ <th
5438
+ mat-header-cell
5439
+ *matHeaderCellDef
5440
+ [style.text-align]="c.align || 'left'"
5441
+ >
5442
+ {{ c.header }}
5443
+ </th>
5444
+ <td
5445
+ mat-cell
5446
+ *matCellDef="let row"
5447
+ [style.text-align]="c.align || 'left'"
5448
+ >
5449
+ <ng-container [ngSwitch]="c.type || 'text'">
5450
+ <!-- IMAGEM -->
5451
+ <ng-container *ngSwitchCase="'image'">
5452
+ <img
5453
+ class="td-thumb"
5454
+ [src]="resolveImage(row, c) || imageFallback"
5455
+ [alt]="resolveAlt(row, c) || ''"
5456
+ [style.width]="c.width || '40px'"
5457
+ [style.height]="c.width || '40px'"
5458
+ style="object-fit: cover; border-radius: 6px"
5459
+ (error)="onImgError($event)"
5460
+ />
5461
+ </ng-container>
5462
+
5463
+ <!-- DATE -->
5464
+ <ng-container *ngSwitchCase="'date'">
5465
+ {{ renderCell(row, c) | date : "dd/MM/yyyy HH:mm" }}
5466
+ </ng-container>
5467
+
5468
+ <!-- BADGE -->
5469
+ <ng-container *ngSwitchCase="'badge'">
5470
+ <ptech-badge-stack>
5471
+ <ng-container *ngFor="let b of getBadges(row, c)">
5472
+ <ptech-badge
5473
+ [label]="b.label"
5474
+ [color]="b.color"
5475
+ [variant]="b.variant"
5476
+ [size]="b.size"
5477
+ ></ptech-badge>
5478
+ </ng-container>
5479
+ </ptech-badge-stack>
5480
+ </ng-container>
5481
+
5482
+ <!-- DEFAULT (text/number) -->
5483
+ <ng-container *ngSwitchDefault>
5484
+ {{ renderCell(row, c) }}
5485
+ </ng-container>
5486
+ </ng-container>
5487
+ </td>
5488
+ </ng-container>
5489
+
5490
+ <ng-container *ngIf="actions.length" matColumnDef="__actions">
5491
+ <th mat-header-cell *matHeaderCellDef style="text-align: center">
5492
+ Ações
5493
+ </th>
5494
+ <td mat-cell *matCellDef="let r" style="text-align: center">
5495
+ <ng-container *ngFor="let a of actions">
5496
+ <ptech-button
5497
+ *ngIf="!a.visible || a.visible(r)"
5498
+ icon="{{ a.icon }}"
5499
+ type="icon"
5500
+ iconColor="{{ a.color }}"
5501
+ tooltip="{{ a.tooltip || '' }}"
5502
+ (click)="a.handler(r)"
5503
+ >
5504
+ </ptech-button>
5505
+ </ng-container>
5506
+ </td>
5507
+ </ng-container>
5508
+
5509
+ <tr mat-header-row *matHeaderRowDef="displayedColumns"></tr>
5510
+ <tr
5511
+ mat-row
5512
+ *matRowDef="let row; columns: displayedColumns"
5513
+ [class.selected]="isSelected(row)"
5514
+ ></tr>
5515
+ </table>
5516
+ </div>
5517
+
5518
+ <!-- CARDS (mobile) -->
5519
+ <div
5520
+ *ngIf="responsiveCards"
5521
+ class="cards-container hide-on-desktop"
5522
+ >
5523
+ <div
5524
+ *ngFor="let row of data"
5525
+ class="card mat-elevation-z8"
5526
+ [class.selected]="isSelected(row)"
5527
+ >
5528
+ <!-- seleção no card -->
5529
+ <div *ngIf="selectRow" class="card-select">
5530
+ <mat-checkbox
5531
+ *ngIf="selectMultipleRow"
5532
+ [checked]="isSelected(row)"
5533
+ (change)="toggleRow(row)"
5534
+ aria-label="Selecionar card"
5535
+ ></mat-checkbox>
5536
+
5537
+ <mat-radio-button
5538
+ *ngIf="!selectMultipleRow"
5539
+ [checked]="isSelected(row)"
5540
+ (change)="toggleRow(row)"
5541
+ aria-label="Selecionar card"
5542
+ ></mat-radio-button>
5543
+ </div>
5544
+
5545
+ <div
5546
+ *ngFor="let c of columns"
5547
+ class="card-row"
5548
+ [ngSwitch]="c.type || 'text'"
5549
+ >
5550
+ <!-- IMAGEM -->
5551
+ <ng-container *ngSwitchCase="'image'">
5552
+ <img
5553
+ class="td-thumb"
5554
+ [src]="resolveImage(row, c) || imageFallback"
5555
+ [alt]="resolveAlt(row, c) || ''"
5556
+ style="width: 64px; height: 64px; object-fit: cover; border-radius: 6px"
5557
+ (error)="onImgError($event)"
5558
+ />
5559
+ </ng-container>
5560
+
5561
+ <!-- BADGE -->
5562
+ <ng-container *ngSwitchCase="'badge'">
5563
+ <div><strong>{{ c.header }}:</strong></div>
5564
+ <ptech-badge-stack>
5565
+ <ng-container *ngFor="let b of getBadges(row, c)">
5566
+ <ptech-badge
5567
+ [label]="b.label"
5568
+ [color]="b.color"
5569
+ [variant]="b.variant"
5570
+ [size]="b.size"
5571
+ ></ptech-badge>
5572
+ </ng-container>
5573
+ </ptech-badge-stack>
5574
+ </ng-container>
5575
+
5576
+ <!-- DATE -->
5577
+ <ng-container *ngSwitchCase="'date'">
5578
+ <div>
5579
+ <strong>{{ c.header }}:</strong>
5580
+ {{ renderCell(row, c) | date : "dd/MM/yyyy HH:mm" }}
5581
+ </div>
5582
+ </ng-container>
5583
+
5584
+ <!-- DEFAULT -->
5585
+ <ng-container *ngSwitchDefault>
5586
+ <div>
5587
+ <strong>{{ c.header }}:</strong>
5588
+ {{ renderCell(row, c) }}
5589
+ </div>
5590
+ </ng-container>
5591
+ </div>
5592
+
5593
+ <!-- AÇÕES -->
5594
+ <div *ngIf="actions?.length" class="card-actions">
5595
+ <ng-container *ngFor="let a of actions">
5596
+ <ptech-button
5597
+ *ngIf="!a.visible || a.visible(row)"
5598
+ icon="{{ a.icon }}"
5599
+ type="icon"
5600
+ iconColor="{{ a.color }}"
5601
+ tooltip="{{ a.tooltip || '' }}"
5602
+ (click)="a.handler(row)"
5603
+ >
5604
+ </ptech-button>
5605
+ </ng-container>
5606
+ </div>
5607
+ </div>
5608
+ </div>
5609
+
5610
+ <mat-paginator
5611
+ class="mat-paginator"
5612
+ [length]="total"
5613
+ [pageIndex]="pageIndex"
5614
+ [pageSize]="pageSize"
5615
+ [pageSizeOptions]="pageSizeOptions"
5616
+ showFirstLastButtons
5617
+ (page)="onPage($event)"
5618
+ >
5619
+ </mat-paginator>
5620
+
5621
+ <div *ngIf="!data?.length" class="muted" style="padding: 12px">
5622
+ Sem dados.
5623
+ </div>
5624
+ </ng-container>
5625
+
5626
+ <ng-template #loadingTpl>
5627
+ <mat-progress-bar mode="indeterminate"></mat-progress-bar>
5628
+ </ng-template>
5629
+ </div>
5630
+ `, 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}.td-thumb{box-shadow:0 1px 2px #00000026;background:#f4f6fa}tr.selected{background-color:#2196f314}.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:0 4px 6px #0003;margin:0 0 10px!important;background-color:#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}// // .table-filters-actions ptech-action-row{// display: flex;// justify-content: flex-end;// gap: 8px;// flex-wrap: wrap;//}.muted{background-color:#fff!important}@media (max-width: 768px){.table-filters{padding:16px;margin-bottom:8px}// .table-filters-actions ptech-action-row{// justify-content: flex-start;//}// .table-filters-actions ptech-action-row > *{// flex: 1 1 auto;//}.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:#fff;border:1px solid rgba(0,0,0,.06);box-shadow:0 1px 3px #0000001f;font-family:inherit}.card.selected{border-color:#1976d2;background-color:#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 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:#0009;margin-right:6px;white-space:nowrap}.card-row{font-size:14px;color:#000000de}.card-actions{display:flex;gap:8px;justify-content:flex-end;margin-top:8px}}\n"] }]
5631
+ }], propDecorators: { title: [{
5632
+ type: Input
5633
+ }], loading: [{
5634
+ type: Input
5635
+ }], data: [{
5636
+ type: Input
5637
+ }], total: [{
5638
+ type: Input
5639
+ }], pageIndex: [{
5640
+ type: Input
5641
+ }], pageSize: [{
5642
+ type: Input
5643
+ }], pageSizeOptions: [{
5644
+ type: Input
5645
+ }], columns: [{
5646
+ type: Input
5647
+ }], actions: [{
5648
+ type: Input
5649
+ }], selectRow: [{
5650
+ type: Input
5651
+ }], selectMultipleRow: [{
5652
+ type: Input
5653
+ }], getRowId: [{
5654
+ type: Input
5655
+ }], imageFallback: [{
5656
+ type: Input
5657
+ }], responsiveCards: [{
5658
+ type: Input
5659
+ }], selectedRows: [{
5660
+ type: Output
5661
+ }], selectedIds: [{
5662
+ type: Output
5663
+ }], page: [{
5664
+ type: Output
5665
+ }] } });
5666
+
4973
5667
  class SnackbarMessageService {
4974
5668
  snackBar;
4975
5669
  constructor(snackBar) {
@@ -5061,7 +5755,8 @@ class PumpkinTechModule {
5061
5755
  CheckBoxComponent,
5062
5756
  ProgressBarComponent,
5063
5757
  ProgressBarMultipleComponent,
5064
- FlagComponent], exports: [
5758
+ FlagComponent,
5759
+ TableComponent], exports: [
5065
5760
  // reexporta tudo junto
5066
5761
  InputComponent,
5067
5762
  TextareaComponent,
@@ -5095,6 +5790,7 @@ class PumpkinTechModule {
5095
5790
  ProgressBarComponent,
5096
5791
  ProgressBarMultipleComponent,
5097
5792
  FlagComponent,
5793
+ TableComponent,
5098
5794
  CoreMaterialModule] });
5099
5795
  static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: PumpkinTechModule, providers: [
5100
5796
  {
@@ -5133,7 +5829,8 @@ class PumpkinTechModule {
5133
5829
  CheckBoxComponent,
5134
5830
  ProgressBarComponent,
5135
5831
  ProgressBarMultipleComponent,
5136
- FlagComponent, CoreMaterialModule] });
5832
+ FlagComponent,
5833
+ TableComponent, CoreMaterialModule] });
5137
5834
  }
5138
5835
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: PumpkinTechModule, decorators: [{
5139
5836
  type: NgModule,
@@ -5173,7 +5870,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
5173
5870
  CheckBoxComponent,
5174
5871
  ProgressBarComponent,
5175
5872
  ProgressBarMultipleComponent,
5176
- FlagComponent
5873
+ FlagComponent,
5874
+ TableComponent
5177
5875
  ],
5178
5876
  exports: [
5179
5877
  // reexporta tudo junto
@@ -5209,6 +5907,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
5209
5907
  ProgressBarComponent,
5210
5908
  ProgressBarMultipleComponent,
5211
5909
  FlagComponent,
5910
+ TableComponent,
5212
5911
  CoreMaterialModule,
5213
5912
  ],
5214
5913
  providers: [
@@ -6326,7 +7025,7 @@ class BreadcrumbService {
6326
7025
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: BreadcrumbService, decorators: [{
6327
7026
  type: Injectable,
6328
7027
  args: [{ providedIn: 'root' }]
6329
- }], ctorParameters: () => [{ type: i2$2.Router }, { type: i2$4.Observable, decorators: [{
7028
+ }], ctorParameters: () => [{ type: i2$2.Router }, { type: i2$5.Observable, decorators: [{
6330
7029
  type: Optional
6331
7030
  }, {
6332
7031
  type: Inject,
@@ -6640,5 +7339,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
6640
7339
  * Generated bundle index. Do not edit.
6641
7340
  */
6642
7341
 
6643
- 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, DirectivesModule, DocumentUtil, DynamicTabDirective, FakeDataService, FlagComponent, FooterComponent, ForDirective, GetFirstStringBeforeSpacePipe, HeaderComponent, IconComponent, InfoDetailComponent, InfoDetailDialogComponent, InputComponent, InputCurrencyComponent, InputDateComponent, InputDateRangeComponent, InputTimeComponent, IsLongerThanPipe, LineBreakAfterPeriodPipe, LineBreakAfterPipe, 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, SlideToggleComponent, SnackbarMessageService, SpaceDropDirective, StringUtil, TextareaComponent, TimeDurationPipe, TitleComponent, UpperCaseDirective, UptimeFormatPipe, UuidUtil };
7342
+ 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, DirectivesModule, DocumentUtil, DynamicTabDirective, FakeDataService, FlagComponent, FooterComponent, ForDirective, GetFirstStringBeforeSpacePipe, HeaderComponent, IconComponent, InfoDetailComponent, InfoDetailDialogComponent, InputComponent, InputCurrencyComponent, InputDateComponent, InputDateRangeComponent, InputTimeComponent, IsLongerThanPipe, LineBreakAfterPeriodPipe, LineBreakAfterPipe, 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, SlideToggleComponent, SnackbarMessageService, SpaceDropDirective, StringUtil, TableComponent, TextareaComponent, TimeDurationPipe, TitleComponent, UpperCaseDirective, UptimeFormatPipe, UuidUtil };
6644
7343
  //# sourceMappingURL=pumpkin-tech-pumpkin-tech-ng.mjs.map