ng-prime-tools 1.0.25 → 1.0.27
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/README.md +9 -0
- package/esm2022/lib/enums/public-api.mjs +2 -1
- package/esm2022/lib/enums/severity.enum.mjs +8 -0
- package/esm2022/lib/models/button.model.mjs +1 -1
- package/esm2022/lib/models/dialog-config.model.mjs +2 -0
- package/esm2022/lib/models/public-api.mjs +3 -2
- package/esm2022/lib/models/toast-message.model.mjs +2 -0
- package/esm2022/lib/ng-prime-tools.module.mjs +18 -5
- package/esm2022/lib/pt-dialog/pt-dialog.component.mjs +205 -47
- package/esm2022/lib/pt-dialog/pt-dialog.module.mjs +4 -19
- package/esm2022/lib/pt-toast-notifier/index.mjs +2 -0
- package/esm2022/lib/pt-toast-notifier/pt-toast-notifier.component.mjs +29 -0
- package/esm2022/lib/pt-toast-notifier/pt-toast-notifier.module.mjs +21 -0
- package/esm2022/lib/pt-toast-notifier/public-api.mjs +3 -0
- package/esm2022/public-api.mjs +3 -1
- package/fesm2022/ng-prime-tools.mjs +272 -69
- package/fesm2022/ng-prime-tools.mjs.map +1 -1
- package/lib/enums/public-api.d.ts +1 -0
- package/lib/enums/public-api.d.ts.map +1 -1
- package/lib/enums/severity.enum.d.ts +7 -0
- package/lib/enums/severity.enum.d.ts.map +1 -0
- package/lib/models/button.model.d.ts +2 -0
- package/lib/models/button.model.d.ts.map +1 -1
- package/lib/models/dialog-config.model.d.ts +18 -0
- package/lib/models/dialog-config.model.d.ts.map +1 -0
- package/lib/models/public-api.d.ts +2 -1
- package/lib/models/public-api.d.ts.map +1 -1
- package/lib/models/toast-message.model.d.ts +7 -0
- package/lib/models/toast-message.model.d.ts.map +1 -0
- package/lib/ng-prime-tools.module.d.ts +2 -1
- package/lib/ng-prime-tools.module.d.ts.map +1 -1
- package/lib/pt-dialog/pt-dialog.component.d.ts +10 -3
- package/lib/pt-dialog/pt-dialog.component.d.ts.map +1 -1
- package/lib/pt-dialog/pt-dialog.module.d.ts +2 -3
- package/lib/pt-dialog/pt-dialog.module.d.ts.map +1 -1
- package/lib/pt-toast-notifier/index.d.ts +2 -0
- package/lib/pt-toast-notifier/index.d.ts.map +1 -0
- package/lib/pt-toast-notifier/pt-toast-notifier.component.d.ts +12 -0
- package/lib/pt-toast-notifier/pt-toast-notifier.component.d.ts.map +1 -0
- package/lib/pt-toast-notifier/pt-toast-notifier.module.d.ts +10 -0
- package/lib/pt-toast-notifier/pt-toast-notifier.module.d.ts.map +1 -0
- package/lib/pt-toast-notifier/public-api.d.ts +3 -0
- package/lib/pt-toast-notifier/public-api.d.ts.map +1 -0
- package/package.json +1 -1
- package/public-api.d.ts +1 -0
- package/public-api.d.ts.map +1 -1
- package/esm2022/lib/models/dialog.model.mjs +0 -2
- package/lib/models/dialog.model.d.ts +0 -13
- package/lib/models/dialog.model.d.ts.map +0 -1
@@ -3,34 +3,19 @@ import { CommonModule } from '@angular/common';
|
|
3
3
|
import { PTDialogComponent } from './pt-dialog.component';
|
4
4
|
import { DialogModule } from 'primeng/dialog';
|
5
5
|
import { PTButtonModule } from '../pt-button';
|
6
|
-
import { ToastModule } from 'primeng/toast';
|
7
6
|
import { ConfirmDialogModule } from 'primeng/confirmdialog';
|
8
7
|
import * as i0 from "@angular/core";
|
9
8
|
export class PTDialogModule {
|
10
9
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: PTDialogModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
11
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.11", ngImport: i0, type: PTDialogModule, declarations: [PTDialogComponent], imports: [CommonModule,
|
12
|
-
|
13
|
-
PTButtonModule,
|
14
|
-
ToastModule,
|
15
|
-
ConfirmDialogModule], exports: [PTDialogComponent] }); }
|
16
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: PTDialogModule, imports: [CommonModule,
|
17
|
-
DialogModule,
|
18
|
-
PTButtonModule,
|
19
|
-
ToastModule,
|
20
|
-
ConfirmDialogModule] }); }
|
10
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.11", ngImport: i0, type: PTDialogModule, declarations: [PTDialogComponent], imports: [CommonModule, DialogModule, PTButtonModule, ConfirmDialogModule], exports: [PTDialogComponent] }); }
|
11
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: PTDialogModule, imports: [CommonModule, DialogModule, PTButtonModule, ConfirmDialogModule] }); }
|
21
12
|
}
|
22
13
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: PTDialogModule, decorators: [{
|
23
14
|
type: NgModule,
|
24
15
|
args: [{
|
25
16
|
declarations: [PTDialogComponent],
|
26
|
-
imports: [
|
27
|
-
CommonModule,
|
28
|
-
DialogModule,
|
29
|
-
PTButtonModule,
|
30
|
-
ToastModule,
|
31
|
-
ConfirmDialogModule,
|
32
|
-
],
|
17
|
+
imports: [CommonModule, DialogModule, PTButtonModule, ConfirmDialogModule],
|
33
18
|
exports: [PTDialogComponent],
|
34
19
|
}]
|
35
20
|
}] });
|
36
|
-
//# sourceMappingURL=data:application/json;base64,
|
21
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHQtZGlhbG9nLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25nLXByaW1lLXRvb2xzL3NyYy9saWIvcHQtZGlhbG9nL3B0LWRpYWxvZy5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLGVBQWUsQ0FBQ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9uTW9kdWxlIH0gZnJvbSAnLi4vcHQtYnV0dG9uJztcbmltcG9ydCB7IENvbmZpcm1EaWFsb2dNb2R1bGUgfSBmcm9tICdwcmltZW5nL2NvbmZpcm1kaWFsb2cnO1xuXG5ATmdNb2R1bGUoe1xuICBkZWNsYXJhdGlvbnM6IFtQVERpYWxvZ0NvbXBvbmVudF0sXG4gIGltcG9ydHM6IFtDb21tb25Nb2R1bGUsIERpYWxvZ01vZHVsZSwgUFRCdXR0b25Nb2R1bGUsIENvbmZpcm1EaWFsb2dNb2R1bGVdLFxuICBleHBvcnRzOiBbUFREaWFsb2dDb21wb25lbnRdLFxufSlcbmV4cG9ydCBjbGFzcyBQVERpYWxvZ01vZHVsZSB7fVxuIl19
|
@@ -0,0 +1,2 @@
|
|
1
|
+
export * from './public-api';
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9uZy1wcmltZS10b29scy9zcmMvbGliL3B0LXRvYXN0LW5vdGlmaWVyL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsY0FBYyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9wdWJsaWMtYXBpJztcbiJdfQ==
|
@@ -0,0 +1,29 @@
|
|
1
|
+
import { Component } from '@angular/core';
|
2
|
+
import * as i0 from "@angular/core";
|
3
|
+
import * as i1 from "primeng/api";
|
4
|
+
import * as i2 from "primeng/toast";
|
5
|
+
export class PTToastNotifierComponent {
|
6
|
+
constructor(messageService) {
|
7
|
+
this.messageService = messageService;
|
8
|
+
}
|
9
|
+
show(toast) {
|
10
|
+
if (toast) {
|
11
|
+
this.messageService.add({
|
12
|
+
severity: toast.severity,
|
13
|
+
summary: toast.summary,
|
14
|
+
detail: toast.detail,
|
15
|
+
life: toast.life || 3000,
|
16
|
+
});
|
17
|
+
}
|
18
|
+
}
|
19
|
+
clear() {
|
20
|
+
this.messageService.clear();
|
21
|
+
}
|
22
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: PTToastNotifierComponent, deps: [{ token: i1.MessageService }], target: i0.ɵɵFactoryTarget.Component }); }
|
23
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.11", type: PTToastNotifierComponent, selector: "pt-toast-notifier", ngImport: i0, template: "<p-toast position=\"top-right\"></p-toast>\n", dependencies: [{ kind: "component", type: i2.Toast, selector: "p-toast", inputs: ["key", "autoZIndex", "baseZIndex", "life", "style", "styleClass", "position", "preventOpenDuplicates", "preventDuplicates", "showTransformOptions", "hideTransformOptions", "showTransitionOptions", "hideTransitionOptions", "breakpoints"], outputs: ["onClose"] }] }); }
|
24
|
+
}
|
25
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: PTToastNotifierComponent, decorators: [{
|
26
|
+
type: Component,
|
27
|
+
args: [{ selector: 'pt-toast-notifier', template: "<p-toast position=\"top-right\"></p-toast>\n" }]
|
28
|
+
}], ctorParameters: () => [{ type: i1.MessageService }] });
|
29
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHQtdG9hc3Qtbm90aWZpZXIuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbmctcHJpbWUtdG9vbHMvc3JjL2xpYi9wdC10b2FzdC1ub3RpZmllci9wdC10b2FzdC1ub3RpZmllci5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9uZy1wcmltZS10b29scy9zcmMvbGliL3B0LXRvYXN0LW5vdGlmaWVyL3B0LXRvYXN0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ogJy4vcHQtdG9hc3Qtbm90aWZpZXIuY29tcG9uZW50Lmh0bWwnLFxufSlcbmV4cG9ydCBjbGFzcyBQVFRvYXN0Tm90aWZpZXJDb21wb25lbnQge1xuICBjb25zdHJ1Y3Rvcihwcml2YXRlIG1lc3NhZ2VTZXJ2aWNlOiBNZXNzYWdlU2VydmljZSkge31cblxuICBzaG93KHRvYXN0OiBUb2FzdE1lc3NhZ2UpOiB2b2lkIHtcbiAgICBpZiAodG9hc3QpIHtcbiAgICAgIHRoaXMubWVzc2FnZVNlcnZpY2UuYWRkKHtcbiAgICAgICAgc2V2ZXJpdHk6IHRvYXN0LnNldmVyaXR5LFxuICAgICAgICBzdW1tYXJ5OiB0b2FzdC5zdW1tYXJ5LFxuICAgICAgICBkZXRhaWw6IHRvYXN0LmRldGFpbCxcbiAgICAgICAgbGlmZTogdG9hc3QubGlmZSB8fCAzMDAwLFxuICAgICAgfSk7XG4gICAgfVxuICB9XG5cbiAgY2xlYXIoKTogdm9pZCB7XG4gICAgdGhpcy5tZXNzYWdlU2VydmljZS5jbGVhcigpO1xuICB9XG59XG4iLCI8cC10b2FzdCBwb3NpdGlvbj1cInRvcC1yaWdodFwiPjwvcC10b2FzdD5cbiJdfQ==
|
@@ -0,0 +1,21 @@
|
|
1
|
+
import { NgModule } from '@angular/core';
|
2
|
+
import { PTToastNotifierComponent } from './pt-toast-notifier.component';
|
3
|
+
import { ToastModule } from 'primeng/toast';
|
4
|
+
import { CommonModule } from '@angular/common';
|
5
|
+
import { MessageService } from 'primeng/api';
|
6
|
+
import * as i0 from "@angular/core";
|
7
|
+
export class PTToastNotifierModule {
|
8
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: PTToastNotifierModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
9
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.11", ngImport: i0, type: PTToastNotifierModule, declarations: [PTToastNotifierComponent], imports: [CommonModule, ToastModule], exports: [PTToastNotifierComponent] }); }
|
10
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: PTToastNotifierModule, providers: [MessageService], imports: [CommonModule, ToastModule] }); }
|
11
|
+
}
|
12
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: PTToastNotifierModule, decorators: [{
|
13
|
+
type: NgModule,
|
14
|
+
args: [{
|
15
|
+
declarations: [PTToastNotifierComponent],
|
16
|
+
imports: [CommonModule, ToastModule],
|
17
|
+
exports: [PTToastNotifierComponent],
|
18
|
+
providers: [MessageService],
|
19
|
+
}]
|
20
|
+
}] });
|
21
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHQtdG9hc3Qtbm90aWZpZXIubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbmctcHJpbWUtdG9vbHMvc3JjL2xpYi9wdC10b2FzdC1ub3RpZmllci9wdC10b2FzdC1ub3RpZmllci5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUN6QyxPQUFPLEVBQUUsd0JBQXdCLEVBQUUsTUFBTSwrQkFBK0IsQ0FBQztBQUN6RSxPQUFPLEVBQUUsV0FBVyxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQzVDLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUMvQyxPQUFPLEVBQUUsY0FBYyxFQUFFLE1BQU0sYUFBYSxDQUFDOztBQVE3QyxNQUFNLE9BQU8scUJBQXFCOytHQUFyQixxQkFBcUI7Z0hBQXJCLHFCQUFxQixpQkFMakIsd0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
|
+
export * from './pt-toast-notifier.component';
|
2
|
+
export * from './pt-toast-notifier.module';
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25nLXByaW1lLXRvb2xzL3NyYy9saWIvcHQtdG9hc3Qtbm90aWZpZXIvcHVibGljLWFwaS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLCtCQUErQixDQUFDO0FBQzlDLGNBQWMsNEJBQTRCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL3B0LXRvYXN0LW5vdGlmaWVyLmNvbXBvbmVudCc7XG5leHBvcnQgKiBmcm9tICcuL3B0LXRvYXN0LW5vdGlmaWVyLm1vZHVsZSc7XG4iXX0=
|
package/esm2022/public-api.mjs
CHANGED
@@ -40,9 +40,11 @@ export * from './lib/pt-login-page';
|
|
40
40
|
export * from './lib/pt-button';
|
41
41
|
// dialog
|
42
42
|
export * from './lib/pt-dialog';
|
43
|
+
// Toasts
|
44
|
+
export * from './lib/pt-toast-notifier';
|
43
45
|
// Generic
|
44
46
|
export * from './lib/models';
|
45
47
|
export * from './lib/enums';
|
46
48
|
export * from './lib/types';
|
47
49
|
export * from './lib/pt-group';
|
48
|
-
//# sourceMappingURL=data:application/json;base64,
|
50
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3Byb2plY3RzL25nLXByaW1lLXRvb2xzL3NyYy9wdWJsaWMtYXBpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsNkJBQTZCLENBQUM7QUFFNUMsaUJBQWlCO0FBQ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/operators';
|
|
47
47
|
import { BehaviorSubject } from 'rxjs';
|
48
48
|
import * as i3$6 from 'primeng/breadcrumb';
|
49
49
|
import { BreadcrumbModule } from 'primeng/breadcrumb';
|
50
|
-
import * as i2$2 from 'primeng/toast';
|
51
|
-
import { ToastModule } from 'primeng/toast';
|
52
50
|
import * as i3$7 from 'primeng/confirmdialog';
|
53
51
|
import { ConfirmDialogModule } from 'primeng/confirmdialog';
|
54
52
|
import { DialogModule } from 'primeng/dialog';
|
53
|
+
import * as i2$2 from 'primeng/toast';
|
54
|
+
import { ToastModule } from 'primeng/toast';
|
55
55
|
|
56
56
|
/**
|
57
57
|
* Calculates the width required for a column based on the header text (column title).
|
@@ -676,6 +676,14 @@ const BadgeTypeStyles = {
|
|
676
676
|
},
|
677
677
|
};
|
678
678
|
|
679
|
+
var SeverityEnum;
|
680
|
+
(function (SeverityEnum) {
|
681
|
+
SeverityEnum["WARNING"] = "warning";
|
682
|
+
SeverityEnum["SUCCESS"] = "success";
|
683
|
+
SeverityEnum["DANGER"] = "danger";
|
684
|
+
SeverityEnum["INFO"] = "info";
|
685
|
+
})(SeverityEnum || (SeverityEnum = {}));
|
686
|
+
|
679
687
|
// projects/ng-prime-tools/src/lib/enums/public_api.ts
|
680
688
|
|
681
689
|
class MultiSearchCriteriaComponent {
|
@@ -3499,63 +3507,108 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.11", ngImpo
|
|
3499
3507
|
}]
|
3500
3508
|
}] });
|
3501
3509
|
|
3510
|
+
// Default Styles for Different Dialog Types
|
3511
|
+
const DIALOG_STYLES = {
|
3512
|
+
[SeverityEnum.WARNING]: {
|
3513
|
+
header: { text: 'Warning', color: '#d98300' },
|
3514
|
+
content: { text: 'This is a warning message!', color: '#d98300' },
|
3515
|
+
confirmButtonConfig: { backgroundColor: '#d98300', fontColor: '#fff' },
|
3516
|
+
cancelButtonConfig: { backgroundColor: '#6c757d', fontColor: '#fff' },
|
3517
|
+
},
|
3518
|
+
[SeverityEnum.SUCCESS]: {
|
3519
|
+
header: { text: 'Success', color: '#28a745' },
|
3520
|
+
content: { text: 'Operation was successful!', color: '#28a745' },
|
3521
|
+
confirmButtonConfig: { backgroundColor: '#28a745', fontColor: '#fff' },
|
3522
|
+
cancelButtonConfig: { backgroundColor: '#6c757d', fontColor: '#fff' },
|
3523
|
+
},
|
3524
|
+
[SeverityEnum.DANGER]: {
|
3525
|
+
header: { text: 'Error', color: '#dc3545' },
|
3526
|
+
content: { text: 'An error occurred!', color: '#dc3545' },
|
3527
|
+
confirmButtonConfig: { backgroundColor: '#dc3545', fontColor: '#fff' },
|
3528
|
+
cancelButtonConfig: { backgroundColor: '#6c757d', fontColor: '#fff' },
|
3529
|
+
},
|
3530
|
+
[SeverityEnum.INFO]: {
|
3531
|
+
header: { text: 'Information', color: '#007bff' },
|
3532
|
+
content: { text: 'Here is some important information.', color: '#007bff' },
|
3533
|
+
confirmButtonConfig: { backgroundColor: '#007bff', fontColor: '#fff' },
|
3534
|
+
cancelButtonConfig: { backgroundColor: '#6c757d', fontColor: '#fff' },
|
3535
|
+
},
|
3536
|
+
};
|
3537
|
+
// Centralized Default Values
|
3538
|
+
const DEFAULT_DIALOG_CONFIG = {
|
3539
|
+
header: { text: 'Confirmation' },
|
3540
|
+
visible: false,
|
3541
|
+
width: '400px',
|
3542
|
+
height: 'auto',
|
3543
|
+
content: 'Do you want to proceed?',
|
3544
|
+
confirmButtonConfig: {
|
3545
|
+
label: 'Confirm',
|
3546
|
+
fontColor: '#fff',
|
3547
|
+
backgroundColor: '#007bff',
|
3548
|
+
},
|
3549
|
+
cancelButtonConfig: {
|
3550
|
+
label: 'Cancel',
|
3551
|
+
fontColor: '#fff',
|
3552
|
+
backgroundColor: '#6c757d',
|
3553
|
+
},
|
3554
|
+
dialogStyle: SeverityEnum.INFO,
|
3555
|
+
};
|
3502
3556
|
class PTDialogComponent {
|
3503
3557
|
constructor(confirmationService, messageService, renderer, el) {
|
3504
3558
|
this.confirmationService = confirmationService;
|
3505
3559
|
this.messageService = messageService;
|
3506
3560
|
this.renderer = renderer;
|
3507
3561
|
this.el = el;
|
3508
|
-
this.
|
3509
|
-
header: { text: 'Confirmation' },
|
3510
|
-
visible: false,
|
3511
|
-
width: '400px',
|
3512
|
-
height: 'auto',
|
3513
|
-
content: 'Do you want to proceed?',
|
3514
|
-
confirmButtonConfig: {
|
3515
|
-
label: 'Confirm',
|
3516
|
-
fontColor: '#fff',
|
3517
|
-
backgroundColor: '#007bff',
|
3518
|
-
},
|
3519
|
-
cancelButtonConfig: {
|
3520
|
-
label: 'Cancel',
|
3521
|
-
fontColor: '#fff',
|
3522
|
-
backgroundColor: '#6c757d',
|
3523
|
-
},
|
3524
|
-
};
|
3562
|
+
this.dialogConfig = { ...DEFAULT_DIALOG_CONFIG };
|
3525
3563
|
this.confirm = new EventEmitter();
|
3526
3564
|
this.cancel = new EventEmitter();
|
3527
3565
|
}
|
3528
3566
|
ngOnChanges(changes) {
|
3529
|
-
if (changes['
|
3530
|
-
|
3567
|
+
if (changes['dialogConfig']) {
|
3568
|
+
if (changes['dialogConfig'].currentValue?.dialogStyle !==
|
3569
|
+
changes['dialogConfig'].previousValue?.dialogStyle) {
|
3570
|
+
this.applyDialogStyle();
|
3571
|
+
}
|
3572
|
+
if (this.dialogConfig.visible) {
|
3573
|
+
this.showDialog();
|
3574
|
+
}
|
3531
3575
|
}
|
3532
3576
|
}
|
3577
|
+
applyDialogStyle() {
|
3578
|
+
const dialogStyle = this.dialogConfig.dialogStyle || SeverityEnum.INFO;
|
3579
|
+
const styleConfig = DIALOG_STYLES[dialogStyle] || {};
|
3580
|
+
this.dialogConfig = {
|
3581
|
+
...DEFAULT_DIALOG_CONFIG,
|
3582
|
+
...styleConfig,
|
3583
|
+
confirmButtonConfig: {
|
3584
|
+
...DEFAULT_DIALOG_CONFIG.confirmButtonConfig,
|
3585
|
+
...styleConfig.confirmButtonConfig,
|
3586
|
+
},
|
3587
|
+
cancelButtonConfig: {
|
3588
|
+
...DEFAULT_DIALOG_CONFIG.cancelButtonConfig,
|
3589
|
+
...styleConfig.cancelButtonConfig,
|
3590
|
+
},
|
3591
|
+
};
|
3592
|
+
}
|
3533
3593
|
showDialog() {
|
3534
3594
|
this.confirmationService.confirm({
|
3535
|
-
header: this.
|
3536
|
-
message: this.
|
3537
|
-
|
3538
|
-
|
3539
|
-
|
3540
|
-
|
3595
|
+
header: this.getDialogHeaderText(),
|
3596
|
+
message: this.getDialogContentText(),
|
3597
|
+
acceptLabel: this.dialogConfig.confirmButtonConfig?.label || 'Confirm',
|
3598
|
+
rejectLabel: this.dialogConfig.cancelButtonConfig?.label || 'Cancel',
|
3599
|
+
acceptButtonStyleClass: this.getButtonStyle(this.dialogConfig.confirmButtonConfig, true),
|
3600
|
+
rejectButtonStyleClass: this.getButtonStyle(this.dialogConfig.cancelButtonConfig, false),
|
3601
|
+
acceptIcon: this.dialogConfig.confirmButtonConfig?.icon || 'pi pi-check',
|
3602
|
+
rejectIcon: this.dialogConfig.cancelButtonConfig?.icon || 'pi pi-times',
|
3541
3603
|
accept: () => {
|
3542
3604
|
this.confirm.emit();
|
3543
|
-
this.
|
3544
|
-
|
3545
|
-
summary: 'Confirmed',
|
3546
|
-
detail: 'Action confirmed',
|
3547
|
-
life: 3000,
|
3548
|
-
});
|
3605
|
+
if (this.dialogConfig.toastOnConfirm) {
|
3606
|
+
}
|
3549
3607
|
},
|
3550
3608
|
reject: (type) => {
|
3551
3609
|
this.cancel.emit();
|
3552
|
-
if (type === ConfirmEventType.REJECT
|
3553
|
-
this.
|
3554
|
-
severity: 'error',
|
3555
|
-
summary: 'Rejected',
|
3556
|
-
detail: 'Action cancelled',
|
3557
|
-
life: 3000,
|
3558
|
-
});
|
3610
|
+
if (type === ConfirmEventType.REJECT &&
|
3611
|
+
this.dialogConfig.toastOnCancel) {
|
3559
3612
|
}
|
3560
3613
|
},
|
3561
3614
|
});
|
@@ -3563,21 +3616,133 @@ class PTDialogComponent {
|
|
3563
3616
|
setTimeout(() => {
|
3564
3617
|
const dialogElement = this.el.nativeElement.querySelector('.p-dialog');
|
3565
3618
|
if (dialogElement) {
|
3566
|
-
this.renderer.setStyle(dialogElement, 'width', this.
|
3567
|
-
this.renderer.setStyle(dialogElement, 'height', this.
|
3619
|
+
this.renderer.setStyle(dialogElement, 'width', this.dialogConfig.width || '400px');
|
3620
|
+
this.renderer.setStyle(dialogElement, 'height', this.dialogConfig.height || 'auto');
|
3568
3621
|
}
|
3569
3622
|
}, 0);
|
3570
3623
|
}
|
3571
|
-
getButtonStyle(buttonConfig) {
|
3572
|
-
|
3624
|
+
getButtonStyle(buttonConfig, isConfirm = false) {
|
3625
|
+
let styleClass = buttonConfig?.styleClass ?? 'p-button-sm';
|
3626
|
+
// ✅ Apply width dynamically if provided, otherwise default to 100%
|
3627
|
+
const buttonWidth = buttonConfig?.width ?? '100%';
|
3628
|
+
// ✅ Set default severity: SUCCESS for confirm, SECONDARY for cancel
|
3629
|
+
const defaultSeverity = isConfirm ? SeverityEnum.DANGER : SeverityEnum.INFO;
|
3630
|
+
const severity = buttonConfig?.severity ?? defaultSeverity;
|
3631
|
+
// ✅ Apply severity-based styles only if no custom background color is set
|
3632
|
+
if (!buttonConfig?.backgroundColor) {
|
3633
|
+
switch (severity) {
|
3634
|
+
case SeverityEnum.WARNING:
|
3635
|
+
styleClass += ' p-button-warning';
|
3636
|
+
break;
|
3637
|
+
case SeverityEnum.DANGER:
|
3638
|
+
styleClass += ' p-button-danger';
|
3639
|
+
break;
|
3640
|
+
case SeverityEnum.SUCCESS:
|
3641
|
+
styleClass += ' p-button-success';
|
3642
|
+
break;
|
3643
|
+
case SeverityEnum.INFO:
|
3644
|
+
default:
|
3645
|
+
styleClass += ' p-button-secondary';
|
3646
|
+
break;
|
3647
|
+
}
|
3648
|
+
}
|
3649
|
+
return `${styleClass.trim()} width-${buttonWidth.replace('%', '')}`;
|
3650
|
+
}
|
3651
|
+
getDialogHeaderText() {
|
3652
|
+
const header = this.dialogConfig.header;
|
3653
|
+
const dialogStyle = this.dialogConfig.dialogStyle ?? SeverityEnum.INFO;
|
3654
|
+
const styleHeader = DIALOG_STYLES[dialogStyle]?.header;
|
3655
|
+
return typeof header === 'object' && header !== null && 'text' in header
|
3656
|
+
? header.text
|
3657
|
+
: typeof header === 'string'
|
3658
|
+
? header
|
3659
|
+
: typeof styleHeader === 'object' &&
|
3660
|
+
styleHeader !== null &&
|
3661
|
+
'text' in styleHeader
|
3662
|
+
? styleHeader.text
|
3663
|
+
: 'Confirmation'; // ✅ Default value
|
3664
|
+
}
|
3665
|
+
getDialogHeaderStyle() {
|
3666
|
+
const header = this.dialogConfig.header;
|
3667
|
+
const dialogStyle = this.dialogConfig.dialogStyle ?? SeverityEnum.INFO;
|
3668
|
+
const styleHeader = DIALOG_STYLES[dialogStyle]?.header;
|
3669
|
+
return typeof header === 'object' && header !== null
|
3670
|
+
? {
|
3671
|
+
color: header.color ||
|
3672
|
+
(typeof styleHeader === 'object' ? styleHeader?.color : '#333'),
|
3673
|
+
fontSize: header.fontSize || '25px',
|
3674
|
+
}
|
3675
|
+
: {
|
3676
|
+
color: typeof styleHeader === 'object' ? styleHeader?.color : '#333',
|
3677
|
+
fontSize: '25px',
|
3678
|
+
};
|
3679
|
+
}
|
3680
|
+
getDialogIconClass() {
|
3681
|
+
const header = this.dialogConfig.header;
|
3682
|
+
const dialogStyle = this.dialogConfig.dialogStyle ?? SeverityEnum.INFO; // ✅ Ensure dialogStyle is always defined
|
3683
|
+
const styleHeader = DIALOG_STYLES[dialogStyle]?.header; // ✅ Store the style header separately
|
3684
|
+
// ✅ Ensure header.icon exists and is an object before accessing .code
|
3685
|
+
const icon = typeof header === 'object' && header !== null && 'icon' in header
|
3686
|
+
? header.icon
|
3687
|
+
: typeof styleHeader === 'object' && 'icon' in styleHeader
|
3688
|
+
? styleHeader.icon
|
3689
|
+
: undefined;
|
3690
|
+
// ✅ If `icon` is an object, extract `.code`, otherwise return as string or default value
|
3691
|
+
return typeof icon === 'string'
|
3692
|
+
? icon
|
3693
|
+
: icon?.code || 'pi pi-exclamation-circle';
|
3694
|
+
}
|
3695
|
+
getDialogIconStyle() {
|
3696
|
+
const header = this.dialogConfig.header;
|
3697
|
+
const dialogStyle = this.dialogConfig.dialogStyle ?? SeverityEnum.INFO;
|
3698
|
+
const styleHeader = DIALOG_STYLES[dialogStyle]?.header;
|
3699
|
+
const icon = typeof header === 'object' && header !== null && 'icon' in header
|
3700
|
+
? header.icon
|
3701
|
+
: undefined;
|
3702
|
+
return {
|
3703
|
+
color: icon?.color ||
|
3704
|
+
(typeof styleHeader === 'object' ? styleHeader?.color : '#f39c12'),
|
3705
|
+
fontSize: icon?.fontSize || '1.5rem',
|
3706
|
+
backgroundColor: icon?.backgroundColor || 'transparent',
|
3707
|
+
borderRadius: icon?.shape === 'circular' ? '50%' : '4px',
|
3708
|
+
padding: '5px',
|
3709
|
+
};
|
3710
|
+
}
|
3711
|
+
getDialogContentText() {
|
3712
|
+
const content = this.dialogConfig.content;
|
3713
|
+
const dialogStyle = this.dialogConfig.dialogStyle ?? SeverityEnum.INFO;
|
3714
|
+
const styleContent = DIALOG_STYLES[dialogStyle]?.content;
|
3715
|
+
return typeof content === 'string'
|
3716
|
+
? content
|
3717
|
+
: content?.text ||
|
3718
|
+
(typeof styleContent === 'object'
|
3719
|
+
? styleContent?.text
|
3720
|
+
: 'Are you sure?');
|
3721
|
+
}
|
3722
|
+
getDialogContentStyle() {
|
3723
|
+
const content = this.dialogConfig.content;
|
3724
|
+
const dialogStyle = this.dialogConfig.dialogStyle ?? SeverityEnum.INFO;
|
3725
|
+
const styleContent = DIALOG_STYLES[dialogStyle]?.content;
|
3726
|
+
return typeof content === 'object' && content !== null
|
3727
|
+
? {
|
3728
|
+
color: content.color ||
|
3729
|
+
(typeof styleContent === 'object' ? styleContent?.color : '#333'),
|
3730
|
+
fontSize: content.fontSize || '20px',
|
3731
|
+
textAlign: content.position || 'left',
|
3732
|
+
}
|
3733
|
+
: {
|
3734
|
+
color: typeof styleContent === 'object' ? styleContent?.color : '#333',
|
3735
|
+
fontSize: '20px',
|
3736
|
+
textAlign: 'left',
|
3737
|
+
};
|
3573
3738
|
}
|
3574
3739
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: PTDialogComponent, deps: [{ token: i1$1.ConfirmationService }, { token: i1$1.MessageService }, { token: i0.Renderer2 }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
3575
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.11", type: PTDialogComponent, selector: "pt-dialog", inputs: {
|
3740
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.11", type: PTDialogComponent, selector: "pt-dialog", inputs: { dialogConfig: "dialogConfig" }, outputs: { confirm: "confirm", cancel: "cancel" }, providers: [ConfirmationService, MessageService], usesOnChanges: true, ngImport: i0, template: "<div class=\"pt-dialog\">\n <p-confirmDialog>\n <!-- Header with Icon and Title aligned horizontally -->\n <ng-template pTemplate=\"header\">\n <div class=\"popup-header bordered-section\">\n <i [class]=\"getDialogIconClass()\" [ngStyle]=\"getDialogIconStyle()\"></i>\n <span class=\"popup-title\" [ngStyle]=\"getDialogHeaderStyle()\">\n {{ getDialogHeaderText() }}\n </span>\n </div>\n </ng-template>\n\n <!-- Message Content with Divider -->\n <ng-template pTemplate=\"message\" let-message>\n <div\n class=\"popup-content bordered-section\"\n [ngStyle]=\"getDialogContentStyle()\"\n >\n <p>{{ getDialogContentText() }}</p>\n </div>\n </ng-template>\n </p-confirmDialog>\n</div>\n", styles: ["::ng-deep .pt-dialog .p-dialog .p-dialog-header{padding-bottom:0}::ng-deep .pt-dialog .p-dialog .p-dialog-content{padding:0}::ng-deep .pt-dialog .full-width-button{width:100%;display:block;text-align:center}::ng-deep .pt-dialog .p-dialog-footer{display:flex;justify-content:center;gap:10px;width:100%;padding:10px}::ng-deep .pt-dialog .p-confirm-dialog-accept,::ng-deep .pt-dialog .p-confirm-dialog-reject{flex:1;max-width:50%;text-align:center;display:flex;justify-content:center;align-items:center;height:40px}::ng-deep .pt-dialog .p-confirm-dialog-accept i,::ng-deep .pt-dialog .p-confirm-dialog-reject i{margin-right:5px}::ng-deep .pt-dialog .p-confirm-dialog-accept .p-button-label,::ng-deep .pt-dialog .p-confirm-dialog-reject .p-button-label{font-weight:700;flex-grow:1;text-align:center}.pt-dialog .popup-header{display:flex;align-items:center;gap:10px;font-size:1.2rem;font-weight:700;padding-bottom:10px;width:100%}.pt-dialog .popup-title{color:#333;font-size:1.2rem}.pt-dialog .bordered-section{width:100%;border-bottom:1px solid rgba(0,0,0,.2);padding-bottom:10px;margin-bottom:10px}.pt-dialog .popup-content{display:flex;justify-content:center;text-align:center;padding:15px;width:100%}\n"], dependencies: [{ kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: i1$1.PrimeTemplate, selector: "[pTemplate]", inputs: ["type", "pTemplate"] }, { kind: "component", type: i3$7.ConfirmDialog, selector: "p-confirmDialog", inputs: ["header", "icon", "message", "style", "styleClass", "maskStyleClass", "acceptIcon", "acceptLabel", "closeAriaLabel", "acceptAriaLabel", "acceptVisible", "rejectIcon", "rejectLabel", "rejectAriaLabel", "rejectVisible", "acceptButtonStyleClass", "rejectButtonStyleClass", "closeOnEscape", "dismissableMask", "blockScroll", "rtl", "closable", "appendTo", "key", "autoZIndex", "baseZIndex", "transitionOptions", "focusTrap", "defaultFocus", "breakpoints", "visible", "position"], outputs: ["onHide"] }] }); }
|
3576
3741
|
}
|
3577
3742
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: PTDialogComponent, decorators: [{
|
3578
3743
|
type: Component,
|
3579
|
-
args: [{ selector: 'pt-dialog', providers: [ConfirmationService, MessageService], template: "<div
|
3580
|
-
}], ctorParameters: () => [{ type: i1$1.ConfirmationService }, { type: i1$1.MessageService }, { type: i0.Renderer2 }, { type: i0.ElementRef }], propDecorators: {
|
3744
|
+
args: [{ selector: 'pt-dialog', providers: [ConfirmationService, MessageService], template: "<div class=\"pt-dialog\">\n <p-confirmDialog>\n <!-- Header with Icon and Title aligned horizontally -->\n <ng-template pTemplate=\"header\">\n <div class=\"popup-header bordered-section\">\n <i [class]=\"getDialogIconClass()\" [ngStyle]=\"getDialogIconStyle()\"></i>\n <span class=\"popup-title\" [ngStyle]=\"getDialogHeaderStyle()\">\n {{ getDialogHeaderText() }}\n </span>\n </div>\n </ng-template>\n\n <!-- Message Content with Divider -->\n <ng-template pTemplate=\"message\" let-message>\n <div\n class=\"popup-content bordered-section\"\n [ngStyle]=\"getDialogContentStyle()\"\n >\n <p>{{ getDialogContentText() }}</p>\n </div>\n </ng-template>\n </p-confirmDialog>\n</div>\n", styles: ["::ng-deep .pt-dialog .p-dialog .p-dialog-header{padding-bottom:0}::ng-deep .pt-dialog .p-dialog .p-dialog-content{padding:0}::ng-deep .pt-dialog .full-width-button{width:100%;display:block;text-align:center}::ng-deep .pt-dialog .p-dialog-footer{display:flex;justify-content:center;gap:10px;width:100%;padding:10px}::ng-deep .pt-dialog .p-confirm-dialog-accept,::ng-deep .pt-dialog .p-confirm-dialog-reject{flex:1;max-width:50%;text-align:center;display:flex;justify-content:center;align-items:center;height:40px}::ng-deep .pt-dialog .p-confirm-dialog-accept i,::ng-deep .pt-dialog .p-confirm-dialog-reject i{margin-right:5px}::ng-deep .pt-dialog .p-confirm-dialog-accept .p-button-label,::ng-deep .pt-dialog .p-confirm-dialog-reject .p-button-label{font-weight:700;flex-grow:1;text-align:center}.pt-dialog .popup-header{display:flex;align-items:center;gap:10px;font-size:1.2rem;font-weight:700;padding-bottom:10px;width:100%}.pt-dialog .popup-title{color:#333;font-size:1.2rem}.pt-dialog .bordered-section{width:100%;border-bottom:1px solid rgba(0,0,0,.2);padding-bottom:10px;margin-bottom:10px}.pt-dialog .popup-content{display:flex;justify-content:center;text-align:center;padding:15px;width:100%}\n"] }]
|
3745
|
+
}], ctorParameters: () => [{ type: i1$1.ConfirmationService }, { type: i1$1.MessageService }, { type: i0.Renderer2 }, { type: i0.ElementRef }], propDecorators: { dialogConfig: [{
|
3581
3746
|
type: Input
|
3582
3747
|
}], confirm: [{
|
3583
3748
|
type: Output
|
@@ -3587,32 +3752,58 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.11", ngImpo
|
|
3587
3752
|
|
3588
3753
|
class PTDialogModule {
|
3589
3754
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: PTDialogModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
3590
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.11", ngImport: i0, type: PTDialogModule, declarations: [PTDialogComponent], imports: [CommonModule,
|
3591
|
-
|
3592
|
-
PTButtonModule,
|
3593
|
-
ToastModule,
|
3594
|
-
ConfirmDialogModule], exports: [PTDialogComponent] }); }
|
3595
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: PTDialogModule, imports: [CommonModule,
|
3596
|
-
DialogModule,
|
3597
|
-
PTButtonModule,
|
3598
|
-
ToastModule,
|
3599
|
-
ConfirmDialogModule] }); }
|
3755
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.11", ngImport: i0, type: PTDialogModule, declarations: [PTDialogComponent], imports: [CommonModule, DialogModule, PTButtonModule, ConfirmDialogModule], exports: [PTDialogComponent] }); }
|
3756
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: PTDialogModule, imports: [CommonModule, DialogModule, PTButtonModule, ConfirmDialogModule] }); }
|
3600
3757
|
}
|
3601
3758
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: PTDialogModule, decorators: [{
|
3602
3759
|
type: NgModule,
|
3603
3760
|
args: [{
|
3604
3761
|
declarations: [PTDialogComponent],
|
3605
|
-
imports: [
|
3606
|
-
CommonModule,
|
3607
|
-
DialogModule,
|
3608
|
-
PTButtonModule,
|
3609
|
-
ToastModule,
|
3610
|
-
ConfirmDialogModule,
|
3611
|
-
],
|
3762
|
+
imports: [CommonModule, DialogModule, PTButtonModule, ConfirmDialogModule],
|
3612
3763
|
exports: [PTDialogComponent],
|
3613
3764
|
}]
|
3614
3765
|
}] });
|
3615
3766
|
|
3767
|
+
class PTToastNotifierComponent {
|
3768
|
+
constructor(messageService) {
|
3769
|
+
this.messageService = messageService;
|
3770
|
+
}
|
3771
|
+
show(toast) {
|
3772
|
+
if (toast) {
|
3773
|
+
this.messageService.add({
|
3774
|
+
severity: toast.severity,
|
3775
|
+
summary: toast.summary,
|
3776
|
+
detail: toast.detail,
|
3777
|
+
life: toast.life || 3000,
|
3778
|
+
});
|
3779
|
+
}
|
3780
|
+
}
|
3781
|
+
clear() {
|
3782
|
+
this.messageService.clear();
|
3783
|
+
}
|
3784
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: PTToastNotifierComponent, deps: [{ token: i1$1.MessageService }], target: i0.ɵɵFactoryTarget.Component }); }
|
3785
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.11", type: PTToastNotifierComponent, selector: "pt-toast-notifier", ngImport: i0, template: "<p-toast position=\"top-right\"></p-toast>\n", dependencies: [{ kind: "component", type: i2$2.Toast, selector: "p-toast", inputs: ["key", "autoZIndex", "baseZIndex", "life", "style", "styleClass", "position", "preventOpenDuplicates", "preventDuplicates", "showTransformOptions", "hideTransformOptions", "showTransitionOptions", "hideTransitionOptions", "breakpoints"], outputs: ["onClose"] }] }); }
|
3786
|
+
}
|
3787
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: PTToastNotifierComponent, decorators: [{
|
3788
|
+
type: Component,
|
3789
|
+
args: [{ selector: 'pt-toast-notifier', template: "<p-toast position=\"top-right\"></p-toast>\n" }]
|
3790
|
+
}], ctorParameters: () => [{ type: i1$1.MessageService }] });
|
3791
|
+
|
3792
|
+
class PTToastNotifierModule {
|
3793
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: PTToastNotifierModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
3794
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.11", ngImport: i0, type: PTToastNotifierModule, declarations: [PTToastNotifierComponent], imports: [CommonModule, ToastModule], exports: [PTToastNotifierComponent] }); }
|
3795
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: PTToastNotifierModule, providers: [MessageService], imports: [CommonModule, ToastModule] }); }
|
3796
|
+
}
|
3797
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: PTToastNotifierModule, decorators: [{
|
3798
|
+
type: NgModule,
|
3799
|
+
args: [{
|
3800
|
+
declarations: [PTToastNotifierComponent],
|
3801
|
+
imports: [CommonModule, ToastModule],
|
3802
|
+
exports: [PTToastNotifierComponent],
|
3803
|
+
providers: [MessageService],
|
3804
|
+
}]
|
3805
|
+
}] });
|
3806
|
+
|
3616
3807
|
class NgPrimeToolsModule {
|
3617
3808
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: NgPrimeToolsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
3618
3809
|
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.11", ngImport: i0, type: NgPrimeToolsModule, imports: [CommonModule,
|
@@ -3652,7 +3843,9 @@ class NgPrimeToolsModule {
|
|
3652
3843
|
// Button
|
3653
3844
|
PTButtonModule,
|
3654
3845
|
// Dialog
|
3655
|
-
PTDialogModule
|
3846
|
+
PTDialogModule,
|
3847
|
+
// Toasts
|
3848
|
+
PTToastNotifierModule], exports: [PTAdvancedPrimeTableModule,
|
3656
3849
|
MultiSearchCriteriaModule,
|
3657
3850
|
// Inputs
|
3658
3851
|
PTCheckBoxInputModule,
|
@@ -3687,7 +3880,9 @@ class NgPrimeToolsModule {
|
|
3687
3880
|
// Button
|
3688
3881
|
PTButtonModule,
|
3689
3882
|
// Dialog
|
3690
|
-
PTDialogModule
|
3883
|
+
PTDialogModule,
|
3884
|
+
// Toasts
|
3885
|
+
PTToastNotifierModule] }); }
|
3691
3886
|
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: NgPrimeToolsModule, imports: [CommonModule,
|
3692
3887
|
FormsModule,
|
3693
3888
|
PTAdvancedPrimeTableModule,
|
@@ -3725,7 +3920,9 @@ class NgPrimeToolsModule {
|
|
3725
3920
|
// Button
|
3726
3921
|
PTButtonModule,
|
3727
3922
|
// Dialog
|
3728
|
-
PTDialogModule,
|
3923
|
+
PTDialogModule,
|
3924
|
+
// Toasts
|
3925
|
+
PTToastNotifierModule, PTAdvancedPrimeTableModule,
|
3729
3926
|
MultiSearchCriteriaModule,
|
3730
3927
|
// Inputs
|
3731
3928
|
PTCheckBoxInputModule,
|
@@ -3760,7 +3957,9 @@ class NgPrimeToolsModule {
|
|
3760
3957
|
// Button
|
3761
3958
|
PTButtonModule,
|
3762
3959
|
// Dialog
|
3763
|
-
PTDialogModule
|
3960
|
+
PTDialogModule,
|
3961
|
+
// Toasts
|
3962
|
+
PTToastNotifierModule] }); }
|
3764
3963
|
}
|
3765
3964
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: NgPrimeToolsModule, decorators: [{
|
3766
3965
|
type: NgModule,
|
@@ -3804,6 +4003,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.11", ngImpo
|
|
3804
4003
|
PTButtonModule,
|
3805
4004
|
// Dialog
|
3806
4005
|
PTDialogModule,
|
4006
|
+
// Toasts
|
4007
|
+
PTToastNotifierModule,
|
3807
4008
|
],
|
3808
4009
|
exports: [
|
3809
4010
|
PTAdvancedPrimeTableModule,
|
@@ -3842,6 +4043,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.11", ngImpo
|
|
3842
4043
|
PTButtonModule,
|
3843
4044
|
// Dialog
|
3844
4045
|
PTDialogModule,
|
4046
|
+
// Toasts
|
4047
|
+
PTToastNotifierModule,
|
3845
4048
|
],
|
3846
4049
|
}]
|
3847
4050
|
}] });
|
@@ -4282,5 +4485,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.11", ngImpo
|
|
4282
4485
|
* Generated bundle index. Do not edit.
|
4283
4486
|
*/
|
4284
4487
|
|
4285
|
-
export { BadgeType, BadgeTypeStyles, ButtonColorEnum, FormInputTypeEnum, InputValidationEnum, MultiSearchCriteriaComponent, MultiSearchCriteriaModule, NgPrimeToolsModule, PTAdvancedPrimeTableComponent, PTAdvancedPrimeTableModule, PTBreadCrumbComponent, PTBreadCrumbModule, PTButtonComponent, PTButtonModule, PTCardComponent, PTCardModule, PTChartComparisonComponent, PTChartComparisonModule, PTChartComponent, PTChartModule, PTCheckBoxInputComponent, PTCheckBoxInputModule, PTDateInputComponent, PTDateInputModule, PTDialogComponent, PTDialogModule, PTDropdownComponent, PTDropdownModule, PTFooterComponent, PTFooterModule, PTFormBuilderComponent, PTFormBuilderModule, PTGroupComponent, PTGroupModule, PTLineChartComponent, PTLineChartModule, PTLoginPageComponent, PTLoginPageModule, PTMenuComponent, PTMenuFancyComponent, PTMenuFancyModule, PTMenuModule, PTMetricCardComponent, PTMetricCardGroupComponent, PTMetricCardGroupModule, PTMetricCardModule, PTMetricPanelComponent, PTMetricPanelModule, PTNavbarMenuComponent, PTNavbarMenuModule, PTNumberInputComponent, PTNumberInputModule, PTPageSkeletonComponent, PTPageSkeletonModule, PTSideBarMenuComponent, PTSideBarMenuModule, PTSwitchInputComponent, PTSwitchInputModule, PTTextAreaInputComponent, PTTextAreaInputModule, PTTextInputComponent, PTTextInputModule, SearchCriteriaTypeEnum, TableTypeEnum };
|
4488
|
+
export { BadgeType, BadgeTypeStyles, ButtonColorEnum, FormInputTypeEnum, InputValidationEnum, MultiSearchCriteriaComponent, MultiSearchCriteriaModule, NgPrimeToolsModule, PTAdvancedPrimeTableComponent, PTAdvancedPrimeTableModule, PTBreadCrumbComponent, PTBreadCrumbModule, PTButtonComponent, PTButtonModule, PTCardComponent, PTCardModule, PTChartComparisonComponent, PTChartComparisonModule, PTChartComponent, PTChartModule, PTCheckBoxInputComponent, PTCheckBoxInputModule, PTDateInputComponent, PTDateInputModule, PTDialogComponent, PTDialogModule, PTDropdownComponent, PTDropdownModule, PTFooterComponent, PTFooterModule, PTFormBuilderComponent, PTFormBuilderModule, PTGroupComponent, PTGroupModule, PTLineChartComponent, PTLineChartModule, PTLoginPageComponent, PTLoginPageModule, PTMenuComponent, PTMenuFancyComponent, PTMenuFancyModule, PTMenuModule, PTMetricCardComponent, PTMetricCardGroupComponent, PTMetricCardGroupModule, PTMetricCardModule, PTMetricPanelComponent, PTMetricPanelModule, PTNavbarMenuComponent, PTNavbarMenuModule, PTNumberInputComponent, PTNumberInputModule, PTPageSkeletonComponent, PTPageSkeletonModule, PTSideBarMenuComponent, PTSideBarMenuModule, PTSwitchInputComponent, PTSwitchInputModule, PTTextAreaInputComponent, PTTextAreaInputModule, PTTextInputComponent, PTTextInputModule, PTToastNotifierComponent, PTToastNotifierModule, SearchCriteriaTypeEnum, SeverityEnum, TableTypeEnum };
|
4286
4489
|
//# sourceMappingURL=ng-prime-tools.mjs.map
|