@pumpkin-tech/pumpkin-tech-ng 0.2.50 → 0.2.51
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.
|
@@ -9173,12 +9173,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
9173
9173
|
}] } });
|
|
9174
9174
|
|
|
9175
9175
|
class PtechTabComponent {
|
|
9176
|
+
cdr;
|
|
9176
9177
|
index;
|
|
9177
9178
|
label = '';
|
|
9178
9179
|
icon = '';
|
|
9179
9180
|
badge;
|
|
9180
9181
|
counter;
|
|
9181
|
-
active = false;
|
|
9182
9182
|
closeable = false;
|
|
9183
9183
|
disabled = false;
|
|
9184
9184
|
template;
|
|
@@ -9186,8 +9186,29 @@ class PtechTabComponent {
|
|
|
9186
9186
|
routerLink;
|
|
9187
9187
|
selectionChange = new EventEmitter();
|
|
9188
9188
|
action;
|
|
9189
|
-
|
|
9190
|
-
|
|
9189
|
+
// Optional: PtechTabsComponent.createDynamicTab() calls `new PtechTabComponent()` directly
|
|
9190
|
+
// (bypassing Angular's injector entirely) for the dynamic openTab()/openTabs() API, so this
|
|
9191
|
+
// can legitimately be undefined outside normal DI-constructed instances.
|
|
9192
|
+
constructor(cdr) {
|
|
9193
|
+
this.cdr = cdr;
|
|
9194
|
+
}
|
|
9195
|
+
// Bug fix: for tabs used as plain content-projected children (the normal <ptech-tab> usage
|
|
9196
|
+
// - every consumer except the dynamic openTab()/openTabs() API), PtechTabsComponent.selectTab()
|
|
9197
|
+
// toggles `active` by mutating this component's own property directly, not through a parent
|
|
9198
|
+
// template binding. Under OnPush, that mutation alone never marks this component dirty, so
|
|
9199
|
+
// its own `*ngIf="active"` never re-evaluates - the tab nav highlight moves (that update
|
|
9200
|
+
// happens inside PtechTabsComponent's own re-checked template) but the visible content never
|
|
9201
|
+
// switches. A custom setter calling markForCheck() is what actually keeps the two in sync.
|
|
9202
|
+
_active = false;
|
|
9203
|
+
get active() { return this._active; }
|
|
9204
|
+
set active(value) {
|
|
9205
|
+
if (this._active !== value) {
|
|
9206
|
+
this._active = value;
|
|
9207
|
+
this.cdr?.markForCheck();
|
|
9208
|
+
}
|
|
9209
|
+
}
|
|
9210
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: PtechTabComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
9211
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.16", type: PtechTabComponent, isStandalone: true, selector: "ptech-tab", inputs: { index: "index", label: "label", icon: "icon", badge: "badge", counter: "counter", closeable: "closeable", disabled: "disabled", template: "template", data: "data", routerLink: "routerLink", active: "active" }, outputs: { selectionChange: "selectionChange" }, ngImport: i0, template: `
|
|
9191
9212
|
<div *ngIf="active" class="ptech-tab-content">
|
|
9192
9213
|
<ng-content></ng-content>
|
|
9193
9214
|
<ng-container *ngIf="template"
|
|
@@ -9206,7 +9227,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
9206
9227
|
[ngTemplateOutletContext]="{ $implicit: data }"></ng-container>
|
|
9207
9228
|
</div>
|
|
9208
9229
|
`, changeDetection: ChangeDetectionStrategy.OnPush, styles: [":host{display:block}\n"] }]
|
|
9209
|
-
}], propDecorators: { index: [{
|
|
9230
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }], propDecorators: { index: [{
|
|
9210
9231
|
type: Input
|
|
9211
9232
|
}], label: [{
|
|
9212
9233
|
type: Input
|
|
@@ -9216,8 +9237,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
9216
9237
|
type: Input
|
|
9217
9238
|
}], counter: [{
|
|
9218
9239
|
type: Input
|
|
9219
|
-
}], active: [{
|
|
9220
|
-
type: Input
|
|
9221
9240
|
}], closeable: [{
|
|
9222
9241
|
type: Input
|
|
9223
9242
|
}], disabled: [{
|
|
@@ -9230,6 +9249,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
9230
9249
|
type: Input
|
|
9231
9250
|
}], selectionChange: [{
|
|
9232
9251
|
type: Output
|
|
9252
|
+
}], active: [{
|
|
9253
|
+
type: Input
|
|
9233
9254
|
}] } });
|
|
9234
9255
|
|
|
9235
9256
|
class PtechTabsComponent {
|
|
@@ -9343,7 +9364,7 @@ class PtechTabsComponent {
|
|
|
9343
9364
|
<ptech-tab [active]="tab.active" [template]="tab.template" [data]="tab.data"></ptech-tab>
|
|
9344
9365
|
</ng-container>
|
|
9345
9366
|
</mat-tab-nav-panel>
|
|
9346
|
-
`, isInline: true, styles: [":host{display:block}.ptech-tabs-nav.scrollable{overflow-x:auto;overflow-y:hidden}.ptech-tabs-panel{display:block;padding-top:var(--ptech-tabs-content-gap, 24px)}a[mat-tab-link]{display:inline-flex;align-items:center;gap:6px;min-width:max-content}.badge{min-width:20px;height:20px;padding:0 6px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;background:var(--app-chip-bg, rgba(0,0,0,.08));font-size:12px}\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: "component", type: i2$1.MatIconButton, selector: "button[mat-icon-button], a[mat-icon-button], button[matIconButton], a[matIconButton]", exportAs: ["matButton", "matAnchor"] }, { kind: "component", type: i3$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: i4$4.MatTabNav, selector: "[mat-tab-nav-bar]", inputs: ["fitInkBarToContent", "mat-stretch-tabs", "animationDuration", "backgroundColor", "disableRipple", "color", "tabPanel"], exportAs: ["matTabNavBar", "matTabNav"] }, { kind: "component", type: i4$4.MatTabNavPanel, selector: "mat-tab-nav-panel", inputs: ["id"], exportAs: ["matTabNavPanel"] }, { kind: "component", type: i4$4.MatTabLink, selector: "[mat-tab-link], [matTabLink]", inputs: ["active", "disabled", "disableRipple", "tabIndex", "id"], exportAs: ["matTabLink"] }, { kind: "component", type: PtechTabComponent, selector: "ptech-tab", inputs: ["index", "label", "icon", "badge", "counter", "
|
|
9367
|
+
`, isInline: true, styles: [":host{display:block}.ptech-tabs-nav.scrollable{overflow-x:auto;overflow-y:hidden}.ptech-tabs-panel{display:block;padding-top:var(--ptech-tabs-content-gap, 24px)}a[mat-tab-link]{display:inline-flex;align-items:center;gap:6px;min-width:max-content}.badge{min-width:20px;height:20px;padding:0 6px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;background:var(--app-chip-bg, rgba(0,0,0,.08));font-size:12px}\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: "component", type: i2$1.MatIconButton, selector: "button[mat-icon-button], a[mat-icon-button], button[matIconButton], a[matIconButton]", exportAs: ["matButton", "matAnchor"] }, { kind: "component", type: i3$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: i4$4.MatTabNav, selector: "[mat-tab-nav-bar]", inputs: ["fitInkBarToContent", "mat-stretch-tabs", "animationDuration", "backgroundColor", "disableRipple", "color", "tabPanel"], exportAs: ["matTabNavBar", "matTabNav"] }, { kind: "component", type: i4$4.MatTabNavPanel, selector: "mat-tab-nav-panel", inputs: ["id"], exportAs: ["matTabNavPanel"] }, { kind: "component", type: i4$4.MatTabLink, selector: "[mat-tab-link], [matTabLink]", inputs: ["active", "disabled", "disableRipple", "tabIndex", "id"], exportAs: ["matTabLink"] }, { kind: "component", type: PtechTabComponent, selector: "ptech-tab", inputs: ["index", "label", "icon", "badge", "counter", "closeable", "disabled", "template", "data", "routerLink", "active"], outputs: ["selectionChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
9347
9368
|
}
|
|
9348
9369
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: PtechTabsComponent, decorators: [{
|
|
9349
9370
|
type: Component,
|
|
@@ -9759,6 +9780,136 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
9759
9780
|
type: Output
|
|
9760
9781
|
}] } });
|
|
9761
9782
|
|
|
9783
|
+
/**
|
|
9784
|
+
* Generic vertical timeline/activity-feed: a marker (icon in a colored dot, per
|
|
9785
|
+
* {@link PtechTimelineStatus}) connected by a line to the next item, with a default
|
|
9786
|
+
* title/subtitle/description/date layout that any consumer can override entirely via
|
|
9787
|
+
* `[itemTemplate]` (receives the item as `$implicit`). The library only renders the shape -
|
|
9788
|
+
* every piece of data (financial history, audit log, notification feed, ...) is supplied by
|
|
9789
|
+
* the consuming app.
|
|
9790
|
+
*/
|
|
9791
|
+
class PtechTimelineComponent {
|
|
9792
|
+
items = [];
|
|
9793
|
+
itemTemplate;
|
|
9794
|
+
compact = false;
|
|
9795
|
+
clickable = false;
|
|
9796
|
+
loading = false;
|
|
9797
|
+
error = false;
|
|
9798
|
+
emptyText = 'Nenhum item encontrado';
|
|
9799
|
+
errorText = 'Não foi possível carregar os itens.';
|
|
9800
|
+
itemClick = new EventEmitter();
|
|
9801
|
+
trackByItem = (_, item) => item.id ?? item.title;
|
|
9802
|
+
onItemClick(item) {
|
|
9803
|
+
if (this.clickable) {
|
|
9804
|
+
this.itemClick.emit(item);
|
|
9805
|
+
}
|
|
9806
|
+
}
|
|
9807
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: PtechTimelineComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
9808
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.16", type: PtechTimelineComponent, isStandalone: true, selector: "ptech-timeline", inputs: { items: "items", itemTemplate: "itemTemplate", compact: "compact", clickable: "clickable", loading: "loading", error: "error", emptyText: "emptyText", errorText: "errorText" }, outputs: { itemClick: "itemClick" }, ngImport: i0, template: `
|
|
9809
|
+
<ul class="ptech-timeline" [class.ptech-timeline--compact]="compact" *ngIf="items?.length">
|
|
9810
|
+
<li class="ptech-timeline-item" *ngFor="let item of items; let last = last; trackBy: trackByItem">
|
|
9811
|
+
<div class="ptech-timeline-marker">
|
|
9812
|
+
<span class="ptech-timeline-dot" [ngClass]="'ptech-timeline-dot--' + (item.status || 'neutral')">
|
|
9813
|
+
<mat-icon *ngIf="item.icon">{{ item.icon }}</mat-icon>
|
|
9814
|
+
</span>
|
|
9815
|
+
<span class="ptech-timeline-line" *ngIf="!last"></span>
|
|
9816
|
+
</div>
|
|
9817
|
+
|
|
9818
|
+
<div
|
|
9819
|
+
class="ptech-timeline-content"
|
|
9820
|
+
[class.ptech-timeline-content--clickable]="clickable"
|
|
9821
|
+
(click)="onItemClick(item)"
|
|
9822
|
+
>
|
|
9823
|
+
<ng-container *ngIf="itemTemplate; else defaultItem" [ngTemplateOutlet]="itemTemplate"
|
|
9824
|
+
[ngTemplateOutletContext]="{ $implicit: item }"></ng-container>
|
|
9825
|
+
<ng-template #defaultItem>
|
|
9826
|
+
<div class="ptech-timeline-header">
|
|
9827
|
+
<span class="ptech-timeline-title">{{ item.title }}</span>
|
|
9828
|
+
<span class="ptech-timeline-date" *ngIf="item.date">{{ item.date | date:'dd/MM/yyyy HH:mm' }}</span>
|
|
9829
|
+
</div>
|
|
9830
|
+
<div class="ptech-timeline-subtitle" *ngIf="item.subtitle">{{ item.subtitle }}</div>
|
|
9831
|
+
<div class="ptech-timeline-description" *ngIf="item.description">{{ item.description }}</div>
|
|
9832
|
+
</ng-template>
|
|
9833
|
+
</div>
|
|
9834
|
+
</li>
|
|
9835
|
+
</ul>
|
|
9836
|
+
|
|
9837
|
+
<div class="ptech-timeline-state" *ngIf="loading">
|
|
9838
|
+
<mat-spinner diameter="28" mode="indeterminate"></mat-spinner>
|
|
9839
|
+
</div>
|
|
9840
|
+
|
|
9841
|
+
<div class="ptech-timeline-state" *ngIf="!loading && !items?.length && !error">
|
|
9842
|
+
{{ emptyText }}
|
|
9843
|
+
</div>
|
|
9844
|
+
|
|
9845
|
+
<div class="ptech-timeline-state ptech-timeline-state--error" *ngIf="!loading && error">
|
|
9846
|
+
{{ errorText }}
|
|
9847
|
+
</div>
|
|
9848
|
+
`, isInline: true, styles: [":host{display:block;width:100%}.ptech-timeline{list-style:none;margin:0;padding:0}.ptech-timeline-item{display:flex;gap:12px;align-items:stretch}.ptech-timeline-marker{display:flex;flex-direction:column;align-items:center;flex:0 0 auto}.ptech-timeline-dot{display:flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:50%;flex:0 0 auto;background:var(--app-chip-bg, rgba(0,0,0,.06));color:var(--app-muted, #6b7280);border:2px solid var(--app-surface, #fff);box-shadow:0 0 0 1px var(--app-border-color, rgba(0,0,0,.12))}.ptech-timeline-dot mat-icon{font-size:18px;width:18px;height:18px}.ptech-timeline-dot--success{background:var(--ptech-timeline-success-bg, color-mix(in srgb, var(--app-status-success, #15803d) 16%, transparent));color:var(--app-status-success, #15803d)}.ptech-timeline-dot--error{background:var(--ptech-timeline-error-bg, color-mix(in srgb, var(--app-status-error, #b91c1c) 16%, transparent));color:var(--app-status-error, #b91c1c)}.ptech-timeline-dot--warning{background:var(--ptech-timeline-warning-bg, color-mix(in srgb, var(--app-status-warning, #92400e) 16%, transparent));color:var(--app-status-warning, #92400e)}.ptech-timeline-dot--info{background:var(--ptech-timeline-info-bg, color-mix(in srgb, var(--app-primary, #3f51b5) 16%, transparent));color:var(--app-primary, #3f51b5)}.ptech-timeline-dot--neutral{background:var(--app-chip-bg, rgba(0,0,0,.06));color:var(--app-muted, #6b7280)}.ptech-timeline-line{flex:1 1 auto;width:2px;min-height:16px;background:var(--app-border-color, rgba(0,0,0,.12));margin:2px 0}.ptech-timeline-content{flex:1 1 auto;min-width:0;padding-bottom:20px}.ptech-timeline-content--clickable{cursor:pointer}.ptech-timeline-content--clickable:hover .ptech-timeline-title{text-decoration:underline}.ptech-timeline-header{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:8px}.ptech-timeline-title{font-weight:600;font-size:14px;color:var(--app-text, inherit)}.ptech-timeline-date{font-size:12px;color:var(--app-muted, #6b7280);white-space:nowrap}.ptech-timeline-subtitle{font-size:13px;font-weight:500;color:var(--app-text, inherit);margin-top:2px}.ptech-timeline-description{font-size:13px;color:var(--app-muted, #6b7280);margin-top:2px;line-height:1.4}.ptech-timeline--compact .ptech-timeline-content{padding-bottom:12px}.ptech-timeline--compact .ptech-timeline-dot{width:24px;height:24px}.ptech-timeline--compact .ptech-timeline-dot mat-icon{font-size:14px;width:14px;height:14px}.ptech-timeline-state{display:flex;align-items:center;justify-content:center;padding:32px 16px;color:var(--app-muted, #6b7280);font-size:13px;text-align:center}.ptech-timeline-state--error{color:var(--app-status-error, #b91c1c)}@media (max-width: 480px){.ptech-timeline-item{gap:8px}.ptech-timeline-header{flex-direction:column;align-items:flex-start;gap:2px}}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1$1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "ngmodule", type: CoreMaterialModule }, { kind: "component", type: i3$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: i5.MatProgressSpinner, selector: "mat-progress-spinner, mat-spinner", inputs: ["color", "mode", "value", "diameter", "strokeWidth"], exportAs: ["matProgressSpinner"] }, { kind: "pipe", type: i1$1.DatePipe, name: "date" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
9849
|
+
}
|
|
9850
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: PtechTimelineComponent, decorators: [{
|
|
9851
|
+
type: Component,
|
|
9852
|
+
args: [{ selector: 'ptech-timeline', standalone: true, imports: [CommonModule, CoreMaterialModule], changeDetection: ChangeDetectionStrategy.OnPush, template: `
|
|
9853
|
+
<ul class="ptech-timeline" [class.ptech-timeline--compact]="compact" *ngIf="items?.length">
|
|
9854
|
+
<li class="ptech-timeline-item" *ngFor="let item of items; let last = last; trackBy: trackByItem">
|
|
9855
|
+
<div class="ptech-timeline-marker">
|
|
9856
|
+
<span class="ptech-timeline-dot" [ngClass]="'ptech-timeline-dot--' + (item.status || 'neutral')">
|
|
9857
|
+
<mat-icon *ngIf="item.icon">{{ item.icon }}</mat-icon>
|
|
9858
|
+
</span>
|
|
9859
|
+
<span class="ptech-timeline-line" *ngIf="!last"></span>
|
|
9860
|
+
</div>
|
|
9861
|
+
|
|
9862
|
+
<div
|
|
9863
|
+
class="ptech-timeline-content"
|
|
9864
|
+
[class.ptech-timeline-content--clickable]="clickable"
|
|
9865
|
+
(click)="onItemClick(item)"
|
|
9866
|
+
>
|
|
9867
|
+
<ng-container *ngIf="itemTemplate; else defaultItem" [ngTemplateOutlet]="itemTemplate"
|
|
9868
|
+
[ngTemplateOutletContext]="{ $implicit: item }"></ng-container>
|
|
9869
|
+
<ng-template #defaultItem>
|
|
9870
|
+
<div class="ptech-timeline-header">
|
|
9871
|
+
<span class="ptech-timeline-title">{{ item.title }}</span>
|
|
9872
|
+
<span class="ptech-timeline-date" *ngIf="item.date">{{ item.date | date:'dd/MM/yyyy HH:mm' }}</span>
|
|
9873
|
+
</div>
|
|
9874
|
+
<div class="ptech-timeline-subtitle" *ngIf="item.subtitle">{{ item.subtitle }}</div>
|
|
9875
|
+
<div class="ptech-timeline-description" *ngIf="item.description">{{ item.description }}</div>
|
|
9876
|
+
</ng-template>
|
|
9877
|
+
</div>
|
|
9878
|
+
</li>
|
|
9879
|
+
</ul>
|
|
9880
|
+
|
|
9881
|
+
<div class="ptech-timeline-state" *ngIf="loading">
|
|
9882
|
+
<mat-spinner diameter="28" mode="indeterminate"></mat-spinner>
|
|
9883
|
+
</div>
|
|
9884
|
+
|
|
9885
|
+
<div class="ptech-timeline-state" *ngIf="!loading && !items?.length && !error">
|
|
9886
|
+
{{ emptyText }}
|
|
9887
|
+
</div>
|
|
9888
|
+
|
|
9889
|
+
<div class="ptech-timeline-state ptech-timeline-state--error" *ngIf="!loading && error">
|
|
9890
|
+
{{ errorText }}
|
|
9891
|
+
</div>
|
|
9892
|
+
`, styles: [":host{display:block;width:100%}.ptech-timeline{list-style:none;margin:0;padding:0}.ptech-timeline-item{display:flex;gap:12px;align-items:stretch}.ptech-timeline-marker{display:flex;flex-direction:column;align-items:center;flex:0 0 auto}.ptech-timeline-dot{display:flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:50%;flex:0 0 auto;background:var(--app-chip-bg, rgba(0,0,0,.06));color:var(--app-muted, #6b7280);border:2px solid var(--app-surface, #fff);box-shadow:0 0 0 1px var(--app-border-color, rgba(0,0,0,.12))}.ptech-timeline-dot mat-icon{font-size:18px;width:18px;height:18px}.ptech-timeline-dot--success{background:var(--ptech-timeline-success-bg, color-mix(in srgb, var(--app-status-success, #15803d) 16%, transparent));color:var(--app-status-success, #15803d)}.ptech-timeline-dot--error{background:var(--ptech-timeline-error-bg, color-mix(in srgb, var(--app-status-error, #b91c1c) 16%, transparent));color:var(--app-status-error, #b91c1c)}.ptech-timeline-dot--warning{background:var(--ptech-timeline-warning-bg, color-mix(in srgb, var(--app-status-warning, #92400e) 16%, transparent));color:var(--app-status-warning, #92400e)}.ptech-timeline-dot--info{background:var(--ptech-timeline-info-bg, color-mix(in srgb, var(--app-primary, #3f51b5) 16%, transparent));color:var(--app-primary, #3f51b5)}.ptech-timeline-dot--neutral{background:var(--app-chip-bg, rgba(0,0,0,.06));color:var(--app-muted, #6b7280)}.ptech-timeline-line{flex:1 1 auto;width:2px;min-height:16px;background:var(--app-border-color, rgba(0,0,0,.12));margin:2px 0}.ptech-timeline-content{flex:1 1 auto;min-width:0;padding-bottom:20px}.ptech-timeline-content--clickable{cursor:pointer}.ptech-timeline-content--clickable:hover .ptech-timeline-title{text-decoration:underline}.ptech-timeline-header{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:8px}.ptech-timeline-title{font-weight:600;font-size:14px;color:var(--app-text, inherit)}.ptech-timeline-date{font-size:12px;color:var(--app-muted, #6b7280);white-space:nowrap}.ptech-timeline-subtitle{font-size:13px;font-weight:500;color:var(--app-text, inherit);margin-top:2px}.ptech-timeline-description{font-size:13px;color:var(--app-muted, #6b7280);margin-top:2px;line-height:1.4}.ptech-timeline--compact .ptech-timeline-content{padding-bottom:12px}.ptech-timeline--compact .ptech-timeline-dot{width:24px;height:24px}.ptech-timeline--compact .ptech-timeline-dot mat-icon{font-size:14px;width:14px;height:14px}.ptech-timeline-state{display:flex;align-items:center;justify-content:center;padding:32px 16px;color:var(--app-muted, #6b7280);font-size:13px;text-align:center}.ptech-timeline-state--error{color:var(--app-status-error, #b91c1c)}@media (max-width: 480px){.ptech-timeline-item{gap:8px}.ptech-timeline-header{flex-direction:column;align-items:flex-start;gap:2px}}\n"] }]
|
|
9893
|
+
}], propDecorators: { items: [{
|
|
9894
|
+
type: Input
|
|
9895
|
+
}], itemTemplate: [{
|
|
9896
|
+
type: Input
|
|
9897
|
+
}], compact: [{
|
|
9898
|
+
type: Input
|
|
9899
|
+
}], clickable: [{
|
|
9900
|
+
type: Input
|
|
9901
|
+
}], loading: [{
|
|
9902
|
+
type: Input
|
|
9903
|
+
}], error: [{
|
|
9904
|
+
type: Input
|
|
9905
|
+
}], emptyText: [{
|
|
9906
|
+
type: Input
|
|
9907
|
+
}], errorText: [{
|
|
9908
|
+
type: Input
|
|
9909
|
+
}], itemClick: [{
|
|
9910
|
+
type: Output
|
|
9911
|
+
}] } });
|
|
9912
|
+
|
|
9762
9913
|
class SnackbarMessageService {
|
|
9763
9914
|
snackBar;
|
|
9764
9915
|
constructor(snackBar) {
|
|
@@ -9864,7 +10015,8 @@ class PumpkinTechModule {
|
|
|
9864
10015
|
PtechTabComponent,
|
|
9865
10016
|
PtechPopoverComponent,
|
|
9866
10017
|
PtechWidgetMenuComponent,
|
|
9867
|
-
PtechCarouselComponent
|
|
10018
|
+
PtechCarouselComponent,
|
|
10019
|
+
PtechTimelineComponent], exports: [
|
|
9868
10020
|
// reexporta tudo junto
|
|
9869
10021
|
InputComponent,
|
|
9870
10022
|
TextareaComponent,
|
|
@@ -9912,6 +10064,7 @@ class PumpkinTechModule {
|
|
|
9912
10064
|
PtechPopoverComponent,
|
|
9913
10065
|
PtechWidgetMenuComponent,
|
|
9914
10066
|
PtechCarouselComponent,
|
|
10067
|
+
PtechTimelineComponent,
|
|
9915
10068
|
CoreMaterialModule] });
|
|
9916
10069
|
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: PumpkinTechModule, providers: [
|
|
9917
10070
|
{
|
|
@@ -9964,7 +10117,8 @@ class PumpkinTechModule {
|
|
|
9964
10117
|
PtechTabComponent,
|
|
9965
10118
|
PtechPopoverComponent,
|
|
9966
10119
|
PtechWidgetMenuComponent,
|
|
9967
|
-
PtechCarouselComponent,
|
|
10120
|
+
PtechCarouselComponent,
|
|
10121
|
+
PtechTimelineComponent, CoreMaterialModule] });
|
|
9968
10122
|
}
|
|
9969
10123
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: PumpkinTechModule, decorators: [{
|
|
9970
10124
|
type: NgModule,
|
|
@@ -10018,7 +10172,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
10018
10172
|
PtechTabComponent,
|
|
10019
10173
|
PtechPopoverComponent,
|
|
10020
10174
|
PtechWidgetMenuComponent,
|
|
10021
|
-
PtechCarouselComponent
|
|
10175
|
+
PtechCarouselComponent,
|
|
10176
|
+
PtechTimelineComponent
|
|
10022
10177
|
],
|
|
10023
10178
|
exports: [
|
|
10024
10179
|
// reexporta tudo junto
|
|
@@ -10068,6 +10223,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
10068
10223
|
PtechPopoverComponent,
|
|
10069
10224
|
PtechWidgetMenuComponent,
|
|
10070
10225
|
PtechCarouselComponent,
|
|
10226
|
+
PtechTimelineComponent,
|
|
10071
10227
|
CoreMaterialModule,
|
|
10072
10228
|
],
|
|
10073
10229
|
providers: [
|
|
@@ -11512,5 +11668,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
11512
11668
|
* Generated bundle index. Do not edit.
|
|
11513
11669
|
*/
|
|
11514
11670
|
|
|
11515
|
-
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, PtechAutocompleteComponent, PtechCarouselComponent, PtechColDirective, PtechDualListboxComponent, PtechGridDirective, PtechInputFileComponent, PtechPopoverComponent, PtechTabComponent, PtechTableColumnBuilder, PtechTabsComponent, PtechWidgetMenuComponent, PumpkinTechModule, QuantityItemsComponent, RadioGroupEntityComponent, RadioGroupEnumComponent, RedDirective, SelectEntityComponent, SelectEnumComponent, SelectQuantityItemsComponent, SlideToggleComponent, SnackbarMessageService, SpaceDropDirective, StringUtil, TableCellDirective, TableComponent, TextareaComponent, TimeDurationPipe, TitleComponent, UpperCaseDirective, UptimeFormatPipe, UuidUtil };
|
|
11671
|
+
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, PtechAutocompleteComponent, PtechCarouselComponent, PtechColDirective, PtechDualListboxComponent, PtechGridDirective, PtechInputFileComponent, PtechPopoverComponent, PtechTabComponent, PtechTableColumnBuilder, PtechTabsComponent, PtechTimelineComponent, PtechWidgetMenuComponent, PumpkinTechModule, QuantityItemsComponent, RadioGroupEntityComponent, RadioGroupEnumComponent, RedDirective, SelectEntityComponent, SelectEnumComponent, SelectQuantityItemsComponent, SlideToggleComponent, SnackbarMessageService, SpaceDropDirective, StringUtil, TableCellDirective, TableComponent, TextareaComponent, TimeDurationPipe, TitleComponent, UpperCaseDirective, UptimeFormatPipe, UuidUtil };
|
|
11516
11672
|
//# sourceMappingURL=pumpkin-tech-pumpkin-tech-ng.mjs.map
|