@pumpkin-tech/pumpkin-tech-ng 0.1.7 → 0.1.9
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.
- package/esm2022/lib/components/action-dialog/action-dialog.component.mjs +132 -4
- package/esm2022/lib/components/action-result-dialog/action-result-dialog.component.mjs +1 -1
- package/esm2022/lib/components/action-row/action-row.component.mjs +1 -1
- package/esm2022/lib/components/button/button.component.mjs +352 -73
- package/esm2022/lib/components/info-detail/info-detail-dialog.component.mjs +73 -33
- package/esm2022/lib/components/info-detail/info-detail.component.mjs +25 -7
- package/esm2022/lib/components/select-entity/select-entity.component.mjs +10 -4
- package/esm2022/lib/components/table/table.component.mjs +380 -270
- package/esm2022/lib/directives/index.mjs +2 -1
- package/esm2022/lib/directives/table-cell.directive.mjs +22 -0
- package/esm2022/lib/modules/directives.module.mjs +10 -5
- package/esm2022/lib/utils/string.util.mjs +48 -1
- package/fesm2022/pumpkin-tech-pumpkin-tech-ng.mjs +1032 -379
- package/fesm2022/pumpkin-tech-pumpkin-tech-ng.mjs.map +1 -1
- package/lib/components/button/button.component.d.ts +6 -1
- package/lib/components/info-detail/info-detail-dialog.component.d.ts +5 -2
- package/lib/components/select-entity/select-entity.component.d.ts +3 -1
- package/lib/components/table/table.component.d.ts +12 -3
- package/lib/directives/index.d.ts +1 -0
- package/lib/directives/table-cell.directive.d.ts +9 -0
- package/lib/modules/directives.module.d.ts +2 -1
- package/lib/utils/string.util.d.ts +17 -0
- package/package.json +1 -1
|
@@ -43,10 +43,74 @@ export class ActionDialogComponent {
|
|
|
43
43
|
this.msg.errorMessage('Número inválido', 'Deve haver no mínimo 1 conexão.');
|
|
44
44
|
}
|
|
45
45
|
onSelectionChange($event) {
|
|
46
|
-
//console.log('selection changed', $event);
|
|
46
|
+
// console.log('selection changed', $event);
|
|
47
47
|
}
|
|
48
48
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ActionDialogComponent, deps: [{ token: MAT_DIALOG_DATA }, { token: i1.MatDialogRef }, { token: MESSAGE_SERVICE, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
49
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: ActionDialogComponent, isStandalone: true, selector: "ptech-action-dialog", ngImport: i0, template:
|
|
49
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: ActionDialogComponent, isStandalone: true, selector: "ptech-action-dialog", ngImport: i0, template: `
|
|
50
|
+
<h2 mat-dialog-title>{{ data.title }}</h2>
|
|
51
|
+
|
|
52
|
+
<mat-dialog-content class="dialog-content-custom">
|
|
53
|
+
<div *ngFor="let field of data.fields">
|
|
54
|
+
<!-- Select -->
|
|
55
|
+
<ng-container *ngIf="field.type === 'select'">
|
|
56
|
+
<ptech-select-entity
|
|
57
|
+
[label]="field.label"
|
|
58
|
+
[entities]="field.options ?? []"
|
|
59
|
+
[(ngModel)]="field.value"
|
|
60
|
+
property="label"
|
|
61
|
+
placeholder="Selecione"
|
|
62
|
+
(selectionChange)="onSelectionChange($event)"
|
|
63
|
+
></ptech-select-entity>
|
|
64
|
+
</ng-container>
|
|
65
|
+
|
|
66
|
+
<!-- Number -->
|
|
67
|
+
<ng-container *ngIf="field.type === 'number'">
|
|
68
|
+
<mat-label>{{ field.label }}</mat-label>
|
|
69
|
+
<ptech-quantity-items
|
|
70
|
+
[quantity]="field.value"
|
|
71
|
+
(quantityChange)="changeQuantity($event)"
|
|
72
|
+
></ptech-quantity-items>
|
|
73
|
+
</ng-container>
|
|
74
|
+
|
|
75
|
+
<!-- Text -->
|
|
76
|
+
<ng-container *ngIf="field.type === 'text'">
|
|
77
|
+
<mat-form-field appearance="fill">
|
|
78
|
+
<mat-label>{{ field.label }}</mat-label>
|
|
79
|
+
<input matInput type="text" [(ngModel)]="field.value" />
|
|
80
|
+
</mat-form-field>
|
|
81
|
+
</ng-container>
|
|
82
|
+
|
|
83
|
+
<!-- Checkbox -->
|
|
84
|
+
<ng-container *ngIf="field.type === 'checkbox'">
|
|
85
|
+
<mat-checkbox [(ngModel)]="field.value">{{ field.label }}</mat-checkbox>
|
|
86
|
+
</ng-container>
|
|
87
|
+
</div>
|
|
88
|
+
|
|
89
|
+
<mat-card *ngIf="data.infoBox">
|
|
90
|
+
<pre>{{ data.infoBox }}</pre>
|
|
91
|
+
</mat-card>
|
|
92
|
+
</mat-dialog-content>
|
|
93
|
+
|
|
94
|
+
<mat-dialog-actions align="end">
|
|
95
|
+
<ptech-button
|
|
96
|
+
class="action-btn"
|
|
97
|
+
type="raised"
|
|
98
|
+
[label]="data.confirmText || 'Confirmar'"
|
|
99
|
+
icon="assignment_turned_in"
|
|
100
|
+
color="primary"
|
|
101
|
+
(click)="onConfirm()"
|
|
102
|
+
></ptech-button>
|
|
103
|
+
|
|
104
|
+
<ptech-button
|
|
105
|
+
class="action-btn"
|
|
106
|
+
type="raised"
|
|
107
|
+
[label]="data.cancelText || 'Fechar'"
|
|
108
|
+
icon="close"
|
|
109
|
+
color="#dc3545"
|
|
110
|
+
(click)="onCancel()"
|
|
111
|
+
></ptech-button>
|
|
112
|
+
</mat-dialog-actions>
|
|
113
|
+
`, isInline: true, styles: [".action-btn{margin-right:5px!important}mat-dialog-content{max-height:calc(90vh - 120px);overflow-y:auto;overflow-x:hidden;padding:16px;box-sizing:border-box;white-space:normal!important;word-break:break-word!important;overflow-wrap:break-word!important}mat-card{background:#2b2e34!important;color:#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}.dialog-content-custom{padding-top:10px!important}:host ::ng-deep .mat-mdc-dialog-title{margin-bottom:0!important;padding-bottom:0!important}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i3.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: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: CoreMaterialModule }, { kind: "component", type: i4.MatCard, selector: "mat-card", inputs: ["appearance"], exportAs: ["matCard"] }, { kind: "component", type: i5.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i5.MatLabel, selector: "mat-label" }, { kind: "directive", type: i6.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly"], exportAs: ["matInput"] }, { kind: "directive", type: i1.MatDialogTitle, selector: "[mat-dialog-title], [matDialogTitle]", inputs: ["id"], exportAs: ["matDialogTitle"] }, { kind: "directive", type: i1.MatDialogActions, selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]", inputs: ["align"] }, { kind: "directive", type: i1.MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { kind: "component", type: i7.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: "component", type: ButtonComponent, selector: "ptech-button", inputs: ["type", "size", "tooltip", "icon", "iconColor", "iconWidth", "iconHeight", "textColor", "link", "target", "shape", "color"], outputs: ["buttonClick"] }, { kind: "component", type: SelectEntityComponent, selector: "ptech-select-entity", inputs: ["multiple", "property", "propertyEnum", "propertyFn", "idProp", "searchPlaceholder", "multipleTriggerMax", "entities"], outputs: ["selectClick", "selectionChange", "loadingChange"] }, { kind: "component", type: QuantityItemsComponent, selector: "ptech-quantity-items", inputs: ["min", "max", "step", "quantity"], outputs: ["quantityChange"] }] });
|
|
50
114
|
}
|
|
51
115
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ActionDialogComponent, decorators: [{
|
|
52
116
|
type: Component,
|
|
@@ -57,7 +121,71 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
57
121
|
ButtonComponent,
|
|
58
122
|
SelectEntityComponent,
|
|
59
123
|
QuantityItemsComponent,
|
|
60
|
-
], template:
|
|
124
|
+
], template: `
|
|
125
|
+
<h2 mat-dialog-title>{{ data.title }}</h2>
|
|
126
|
+
|
|
127
|
+
<mat-dialog-content class="dialog-content-custom">
|
|
128
|
+
<div *ngFor="let field of data.fields">
|
|
129
|
+
<!-- Select -->
|
|
130
|
+
<ng-container *ngIf="field.type === 'select'">
|
|
131
|
+
<ptech-select-entity
|
|
132
|
+
[label]="field.label"
|
|
133
|
+
[entities]="field.options ?? []"
|
|
134
|
+
[(ngModel)]="field.value"
|
|
135
|
+
property="label"
|
|
136
|
+
placeholder="Selecione"
|
|
137
|
+
(selectionChange)="onSelectionChange($event)"
|
|
138
|
+
></ptech-select-entity>
|
|
139
|
+
</ng-container>
|
|
140
|
+
|
|
141
|
+
<!-- Number -->
|
|
142
|
+
<ng-container *ngIf="field.type === 'number'">
|
|
143
|
+
<mat-label>{{ field.label }}</mat-label>
|
|
144
|
+
<ptech-quantity-items
|
|
145
|
+
[quantity]="field.value"
|
|
146
|
+
(quantityChange)="changeQuantity($event)"
|
|
147
|
+
></ptech-quantity-items>
|
|
148
|
+
</ng-container>
|
|
149
|
+
|
|
150
|
+
<!-- Text -->
|
|
151
|
+
<ng-container *ngIf="field.type === 'text'">
|
|
152
|
+
<mat-form-field appearance="fill">
|
|
153
|
+
<mat-label>{{ field.label }}</mat-label>
|
|
154
|
+
<input matInput type="text" [(ngModel)]="field.value" />
|
|
155
|
+
</mat-form-field>
|
|
156
|
+
</ng-container>
|
|
157
|
+
|
|
158
|
+
<!-- Checkbox -->
|
|
159
|
+
<ng-container *ngIf="field.type === 'checkbox'">
|
|
160
|
+
<mat-checkbox [(ngModel)]="field.value">{{ field.label }}</mat-checkbox>
|
|
161
|
+
</ng-container>
|
|
162
|
+
</div>
|
|
163
|
+
|
|
164
|
+
<mat-card *ngIf="data.infoBox">
|
|
165
|
+
<pre>{{ data.infoBox }}</pre>
|
|
166
|
+
</mat-card>
|
|
167
|
+
</mat-dialog-content>
|
|
168
|
+
|
|
169
|
+
<mat-dialog-actions align="end">
|
|
170
|
+
<ptech-button
|
|
171
|
+
class="action-btn"
|
|
172
|
+
type="raised"
|
|
173
|
+
[label]="data.confirmText || 'Confirmar'"
|
|
174
|
+
icon="assignment_turned_in"
|
|
175
|
+
color="primary"
|
|
176
|
+
(click)="onConfirm()"
|
|
177
|
+
></ptech-button>
|
|
178
|
+
|
|
179
|
+
<ptech-button
|
|
180
|
+
class="action-btn"
|
|
181
|
+
type="raised"
|
|
182
|
+
[label]="data.cancelText || 'Fechar'"
|
|
183
|
+
icon="close"
|
|
184
|
+
color="#dc3545"
|
|
185
|
+
(click)="onCancel()"
|
|
186
|
+
></ptech-button>
|
|
187
|
+
</mat-dialog-actions>
|
|
188
|
+
`, styles: [".action-btn{margin-right:5px!important}mat-dialog-content{max-height:calc(90vh - 120px);overflow-y:auto;overflow-x:hidden;padding:16px;box-sizing:border-box;white-space:normal!important;word-break:break-word!important;overflow-wrap:break-word!important}mat-card{background:#2b2e34!important;color:#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}.dialog-content-custom{padding-top:10px!important}:host ::ng-deep .mat-mdc-dialog-title{margin-bottom:0!important;padding-bottom:0!important}\n"] }]
|
|
61
189
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
62
190
|
type: Inject,
|
|
63
191
|
args: [MAT_DIALOG_DATA]
|
|
@@ -67,4 +195,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
67
195
|
type: Inject,
|
|
68
196
|
args: [MESSAGE_SERVICE]
|
|
69
197
|
}] }] });
|
|
70
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
198
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWN0aW9uLWRpYWxvZy5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9wdW1wa2luLXRlY2gtbmcvc3JjL2xpYi9jb21wb25lbnRzL2FjdGlvbi1kaWFsb2cvYWN0aW9uLWRpYWxvZy5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxNQUFNLEVBQUUsUUFBUSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQzVELE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUMvQyxPQUFPLEVBQUUsV0FBVyxFQUFFLE1BQU0sZ0JBQWdCLENBQUM7QUFDN0M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55Pj4oKGFjYywgZmllbGQpID0+IHtcbiAgICAgICAgICAgIGFjY1tmaWVsZC5sYWJlbF0gPSBmaWVsZC52YWx1ZTtcbiAgICAgICAgICAgIHJldHVybiBhY2M7XG4gICAgICAgIH0sIHt9KTtcbiAgICAgICAgdGhpcy5kaWFsb2dSZWYuY2xvc2UocmVzdWx0KTtcbiAgICB9XG5cbiAgICBvbkNhbmNlbCgpIHtcbiAgICAgICAgdGhpcy5kaWFsb2dSZWYuY2xvc2UoKTtcbiAgICB9XG5cbiAgICBjaGFuZ2VRdWFudGl0eSgkZXZlbnQ6IG51bWJlcikge1xuICAgICAgICBpZiAoJGV2ZW50ICE9PSAwKSByZXR1cm47XG4gICAgICAgIHRoaXMubXNnLmVycm9yTWVzc2FnZShcbiAgICAgICAgICAgICdOw7ptZXJvIGludsOhbGlkbycsXG4gICAgICAgICAgICAnRGV2ZSBoYXZlciBubyBtw61uaW1vIDEgY29uZXjDo28uJ1xuICAgICAgICApO1xuICAgIH1cblxuICAgIG9uU2VsZWN0aW9uQ2hhbmdlKCRldmVudDogYW55KSB7XG4gICAgICAgIC8vIGNvbnNvbGUubG9nKCdzZWxlY3Rpb24gY2hhbmdlZCcsICRldmVudCk7XG4gICAgfVxufVxuIl19
|
|
@@ -55,7 +55,7 @@ export class ActionResultDialogComponent {
|
|
|
55
55
|
window.open(this.whatsappUrl, '_blank');
|
|
56
56
|
}
|
|
57
57
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ActionResultDialogComponent, deps: [{ token: MAT_DIALOG_DATA }, { token: i1.MatDialogRef }, { token: i2.DomSanitizer }, { token: MESSAGE_SERVICE }], target: i0.ɵɵFactoryTarget.Component });
|
|
58
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: ActionResultDialogComponent, isStandalone: true, selector: "ptech-action-result-dialog", ngImport: i0, template: "<h2 mat-dialog-title>{{ data.title }}</h2>\n\n<mat-dialog-content>\n <!-- Conte\u00FAdo HTML (sanitizado) -->\n <div *ngIf=\"data.content\" [innerHTML]=\"sanitizedContent\"></div>\n\n <!-- Detalhes estruturados (JSON etc.) -->\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 align=\"end\">\n <ptech-button\n *ngIf=\"data.rawContent\"\n class=\"action-btn\"\n label=\"WhatsApp\"\n icon=\"share\"\n type=\"raised\"\n color=\"#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 <ptech-button\n class=\"action-btn\"\n label=\"Fechar\"\n icon=\"close\"\n type=\"raised\"\n color=\"#dc3545\"\n (click)=\"close()\"\n ></ptech-button>\n</mat-dialog-actions>\n", styles: [":host{display:block;color:#fff;padding:24px;border-radius:10px;min-width:420px;font-family:Inter,sans-serif;background:transparent}h2[mat-dialog-title]{font-size:20px;font-weight:600;margin-bottom:24px}mat-dialog-content{display:flex;flex-direction:column;gap:20px}mat-dialog-content div[innerHTML]{color:#fff;font-size:14px;line-height:20px}.details{background:#2b2e34!important;color:#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:transparent;box-shadow:none;padding:0;margin:0}.details pre{margin:0;color:#fff}mat-dialog-actions{display:flex;justify-content:flex-end;gap:12px}mat-dialog-actions button,mat-dialog-actions a[mat-flat-button]{border-radius:6px!important;font-weight:500;padding:8px 18px;text-transform:none}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: i3.JsonPipe, name: "json" }, { kind: "ngmodule", type: CoreMaterialModule }, { kind: "component", type: i4.MatCard, selector: "mat-card", inputs: ["appearance"], exportAs: ["matCard"] }, { kind: "directive", type: i1.MatDialogTitle, selector: "[mat-dialog-title], [matDialogTitle]", inputs: ["id"], exportAs: ["matDialogTitle"] }, { kind: "directive", type: i1.MatDialogActions, selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]", inputs: ["align"] }, { kind: "directive", type: i1.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"] }] });
|
|
58
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: ActionResultDialogComponent, isStandalone: true, selector: "ptech-action-result-dialog", ngImport: i0, template: "<h2 mat-dialog-title>{{ data.title }}</h2>\n\n<mat-dialog-content>\n <!-- Conte\u00FAdo HTML (sanitizado) -->\n <div *ngIf=\"data.content\" [innerHTML]=\"sanitizedContent\"></div>\n\n <!-- Detalhes estruturados (JSON etc.) -->\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 align=\"end\">\n <ptech-button\n *ngIf=\"data.rawContent\"\n class=\"action-btn\"\n label=\"WhatsApp\"\n icon=\"share\"\n type=\"raised\"\n color=\"#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 <ptech-button\n class=\"action-btn\"\n label=\"Fechar\"\n icon=\"close\"\n type=\"raised\"\n color=\"#dc3545\"\n (click)=\"close()\"\n ></ptech-button>\n</mat-dialog-actions>\n", styles: [":host{display:block;color:#fff;padding:24px;border-radius:10px;min-width:420px;font-family:Inter,sans-serif;background:transparent}h2[mat-dialog-title]{font-size:20px;font-weight:600;margin-bottom:24px}mat-dialog-content{display:flex;flex-direction:column;gap:20px}mat-dialog-content div[innerHTML]{color:#fff;font-size:14px;line-height:20px}.details{background:#2b2e34!important;color:#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:transparent;box-shadow:none;padding:0;margin:0}.details pre{margin:0;color:#fff}mat-dialog-actions{display:flex;justify-content:flex-end;gap:12px}mat-dialog-actions button,mat-dialog-actions a[mat-flat-button]{border-radius:6px!important;font-weight:500;padding:8px 18px;text-transform:none}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: i3.JsonPipe, name: "json" }, { kind: "ngmodule", type: CoreMaterialModule }, { kind: "component", type: i4.MatCard, selector: "mat-card", inputs: ["appearance"], exportAs: ["matCard"] }, { kind: "directive", type: i1.MatDialogTitle, selector: "[mat-dialog-title], [matDialogTitle]", inputs: ["id"], exportAs: ["matDialogTitle"] }, { kind: "directive", type: i1.MatDialogActions, selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]", inputs: ["align"] }, { kind: "directive", type: i1.MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { kind: "component", type: ButtonComponent, selector: "ptech-button", inputs: ["type", "size", "tooltip", "icon", "iconColor", "iconWidth", "iconHeight", "textColor", "link", "target", "shape", "color"], outputs: ["buttonClick"] }] });
|
|
59
59
|
}
|
|
60
60
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ActionResultDialogComponent, decorators: [{
|
|
61
61
|
type: Component,
|
|
@@ -16,4 +16,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
16
16
|
</div>
|
|
17
17
|
`, styles: [".action-row{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:16px}@media (max-width: 767px){.action-row{flex-direction:column;align-items:stretch}}\n"] }]
|
|
18
18
|
}] });
|
|
19
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
19
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWN0aW9uLXJvdy5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9wdW1wa2luLXRlY2gtbmcvc3JjL2xpYi9jb21wb25lbnRzL2FjdGlvbi1yb3cvYWN0aW9uLXJvdy5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxNQUFNLGVBQWUsQ0FBQzs7QUEyQjFDLE1BQU0sT0FBTyxrQkFBa0I7d0dBQWxCLGtCQUFrQjs0RkFBbEIsa0JBQWtCLDRFQXRCbkI7Ozs7R0FJVDs7NEZBa0JVLGtCQUFrQjtrQkF6QjlCLFNBQVM7K0JBQ0Usa0JBQWtCLGNBQ2hCLElBQUksWUFDTjs7OztHQUlUIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgQ29tcG9uZW50IH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5cbkBDb21wb25lbnQoe1xuICBzZWxlY3RvcjogJ3B0ZWNoLWFjdGlvbi1yb3cnLFxuICBzdGFuZGFsb25lOiB0cnVlLFxuICB0ZW1wbGF0ZTogYFxuICAgIDxkaXYgY2xhc3M9XCJhY3Rpb24tcm93XCI+XG4gICAgICA8bmctY29udGVudD48L25nLWNvbnRlbnQ+XG4gICAgPC9kaXY+XG4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