@craftsjs/alert 4.0.0 → 5.1.0

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.
Files changed (36) hide show
  1. package/LICENSE +21 -21
  2. package/README.md +145 -144
  3. package/_craftsjs-alert.theme.scss +414 -296
  4. package/esm2020/craftsjs-alert.mjs +4 -4
  5. package/esm2020/lib/alert.module.mjs +67 -69
  6. package/esm2020/lib/components/dialog-alert/components/alert-info/alert-info.component.mjs +13 -13
  7. package/esm2020/lib/components/dialog-alert/components/alert-success/alert-success.component.mjs +13 -13
  8. package/esm2020/lib/components/dialog-alert/components/buttons/alert-cancel-button/alert-cancel-button.component.mjs +18 -18
  9. package/esm2020/lib/components/dialog-alert/components/buttons/alert-ok-button/alert-ok-button.component.mjs +18 -18
  10. package/esm2020/lib/components/dialog-alert/components/components.mjs +24 -24
  11. package/esm2020/lib/components/dialog-alert/components/error/error.component.mjs +13 -13
  12. package/esm2020/lib/components/dialog-alert/components/warning/warning.component.mjs +13 -13
  13. package/esm2020/lib/components/dialog-alert/dialog-alert.component.mjs +74 -74
  14. package/esm2020/lib/models/alert-enum.model.mjs +8 -8
  15. package/esm2020/lib/models/alert.model.mjs +2 -2
  16. package/esm2020/lib/services/alert.service.mjs +64 -64
  17. package/esm2020/public-api.mjs +16 -16
  18. package/fesm2015/craftsjs-alert.mjs +260 -261
  19. package/fesm2015/craftsjs-alert.mjs.map +1 -1
  20. package/fesm2020/craftsjs-alert.mjs +258 -259
  21. package/fesm2020/craftsjs-alert.mjs.map +1 -1
  22. package/{craftsjs-alert.d.ts → index.d.ts} +5 -5
  23. package/lib/alert.module.d.ts +20 -20
  24. package/lib/components/dialog-alert/components/alert-info/alert-info.component.d.ts +5 -5
  25. package/lib/components/dialog-alert/components/alert-success/alert-success.component.d.ts +5 -5
  26. package/lib/components/dialog-alert/components/buttons/alert-cancel-button/alert-cancel-button.component.d.ts +7 -7
  27. package/lib/components/dialog-alert/components/buttons/alert-ok-button/alert-ok-button.component.d.ts +7 -7
  28. package/lib/components/dialog-alert/components/components.d.ts +6 -6
  29. package/lib/components/dialog-alert/components/error/error.component.d.ts +5 -5
  30. package/lib/components/dialog-alert/components/warning/warning.component.d.ts +5 -5
  31. package/lib/components/dialog-alert/dialog-alert.component.d.ts +20 -20
  32. package/lib/models/alert-enum.model.d.ts +6 -6
  33. package/lib/models/alert.model.d.ts +12 -12
  34. package/lib/services/alert.service.d.ts +16 -16
  35. package/package.json +9 -9
  36. package/public-api.d.ts +12 -12
@@ -6,293 +6,292 @@ import * as i1$1 from '@angular/material/dialog';
6
6
  import { MatDialogRef, MAT_DIALOG_DATA, MatDialogModule } from '@angular/material/dialog';
7
7
  import * as i2 from '@ngx-translate/core';
8
8
  import { TranslateModule } from '@ngx-translate/core';
9
- import * as i5 from '@angular/common';
9
+ import * as i2$1 from '@angular/common';
10
10
  import { CommonModule } from '@angular/common';
11
- import * as i4 from '@craftsjs/core';
11
+ import * as i3 from '@craftsjs/core';
12
12
  import { DynamicDirective, CoreModule } from '@craftsjs/core';
13
13
 
14
- class AlertSuccessComponent {
15
- }
16
- AlertSuccessComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.7", ngImport: i0, type: AlertSuccessComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
17
- AlertSuccessComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.7", type: AlertSuccessComponent, selector: "alert-success", host: { classAttribute: "alert-icon alert-icon-success" }, ngImport: i0, template: "<span class=\"alert-icon-success-line alert-icon-success-line-long\"></span>\r\n<span class=\"alert-icon-success-line alert-icon-success-line-tip\"></span>\r\n<div class=\"alert-icon-success-ring\"></div>\r\n<div class=\"alert-icon-success-hide-corners\"></div>", styles: [""], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
18
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.7", ngImport: i0, type: AlertSuccessComponent, decorators: [{
19
- type: Component,
20
- args: [{ selector: 'alert-success', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: {
21
- class: 'alert-icon alert-icon-success'
22
- }, template: "<span class=\"alert-icon-success-line alert-icon-success-line-long\"></span>\r\n<span class=\"alert-icon-success-line alert-icon-success-line-tip\"></span>\r\n<div class=\"alert-icon-success-ring\"></div>\r\n<div class=\"alert-icon-success-hide-corners\"></div>", styles: [""] }]
14
+ class AlertSuccessComponent {
15
+ }
16
+ AlertSuccessComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AlertSuccessComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
17
+ AlertSuccessComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: AlertSuccessComponent, selector: "alert-success", host: { classAttribute: "alert-icon alert-icon-success" }, ngImport: i0, template: "<span class=\"alert-icon-success-line alert-icon-success-line-long\"></span>\n<span class=\"alert-icon-success-line alert-icon-success-line-tip\"></span>\n<div class=\"alert-icon-success-ring\"></div>\n<div class=\"alert-icon-success-hide-corners\"></div>", styles: [""], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
18
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AlertSuccessComponent, decorators: [{
19
+ type: Component,
20
+ args: [{ selector: 'alert-success', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: {
21
+ class: 'alert-icon alert-icon-success'
22
+ }, template: "<span class=\"alert-icon-success-line alert-icon-success-line-long\"></span>\n<span class=\"alert-icon-success-line alert-icon-success-line-tip\"></span>\n<div class=\"alert-icon-success-ring\"></div>\n<div class=\"alert-icon-success-hide-corners\"></div>" }]
23
23
  }] });
24
24
 
25
- var AlertEnum;
26
- (function (AlertEnum) {
27
- AlertEnum["success"] = "success";
28
- AlertEnum["error"] = "error";
29
- AlertEnum["info"] = "info";
30
- AlertEnum["warning"] = "warning";
25
+ var AlertEnum;
26
+ (function (AlertEnum) {
27
+ AlertEnum["success"] = "success";
28
+ AlertEnum["error"] = "error";
29
+ AlertEnum["info"] = "info";
30
+ AlertEnum["warning"] = "warning";
31
31
  })(AlertEnum || (AlertEnum = {}));
32
32
 
33
- class AlertInfoComponent {
34
- }
35
- AlertInfoComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.7", ngImport: i0, type: AlertInfoComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
36
- AlertInfoComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.7", type: AlertInfoComponent, selector: "alert-info", host: { classAttribute: "alert-icon alert-icon-info" }, ngImport: i0, template: "", styles: [""], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
37
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.7", ngImport: i0, type: AlertInfoComponent, decorators: [{
38
- type: Component,
39
- args: [{ selector: 'alert-info', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: {
40
- class: 'alert-icon alert-icon-info'
41
- }, template: "", styles: [""] }]
33
+ class AlertInfoComponent {
34
+ }
35
+ AlertInfoComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AlertInfoComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
36
+ AlertInfoComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: AlertInfoComponent, selector: "alert-info", host: { classAttribute: "alert-icon alert-icon-info" }, ngImport: i0, template: "", styles: [""], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
37
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AlertInfoComponent, decorators: [{
38
+ type: Component,
39
+ args: [{ selector: 'alert-info', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: {
40
+ class: 'alert-icon alert-icon-info'
41
+ }, template: "" }]
42
42
  }] });
43
43
 
44
- class WarningComponent {
45
- }
46
- WarningComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.7", ngImport: i0, type: WarningComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
47
- WarningComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.7", type: WarningComponent, selector: "alert-warning", host: { classAttribute: "alert-icon alert-icon-warning " }, ngImport: i0, template: "<span class=\"alert-icon-warning-body\">\r\n <span class=\"alert-icon-warning-dot\"></span>\r\n</span>", styles: [""], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
48
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.7", ngImport: i0, type: WarningComponent, decorators: [{
49
- type: Component,
50
- args: [{ selector: 'alert-warning', host: {
51
- class: 'alert-icon alert-icon-warning '
52
- }, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: "<span class=\"alert-icon-warning-body\">\r\n <span class=\"alert-icon-warning-dot\"></span>\r\n</span>", styles: [""] }]
44
+ class WarningComponent {
45
+ }
46
+ WarningComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: WarningComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
47
+ WarningComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: WarningComponent, selector: "alert-warning", host: { classAttribute: "alert-icon alert-icon-warning " }, ngImport: i0, template: "<span class=\"alert-icon-warning-body\">\n <span class=\"alert-icon-warning-dot\"></span>\n</span>", styles: [""], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
48
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: WarningComponent, decorators: [{
49
+ type: Component,
50
+ args: [{ selector: 'alert-warning', host: {
51
+ class: 'alert-icon alert-icon-warning '
52
+ }, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: "<span class=\"alert-icon-warning-body\">\n <span class=\"alert-icon-warning-dot\"></span>\n</span>" }]
53
53
  }] });
54
54
 
55
- class ErrorComponent {
56
- }
57
- ErrorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.7", ngImport: i0, type: ErrorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
58
- ErrorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.7", type: ErrorComponent, selector: "alert-error", host: { classAttribute: "alert-icon alert-icon-error" }, ngImport: i0, template: "<div class=\"alert-icon-error-x-mark\">\r\n <span class=\"alert-icon-error-line alert-icon-error-line-left\"></span>\r\n <span class=\"alert-icon-error-line alert-icon-error-line-right\"></span>\r\n</div>", styles: [""], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
59
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.7", ngImport: i0, type: ErrorComponent, decorators: [{
60
- type: Component,
61
- args: [{ selector: 'alert-error', host: {
62
- class: 'alert-icon alert-icon-error'
63
- }, encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"alert-icon-error-x-mark\">\r\n <span class=\"alert-icon-error-line alert-icon-error-line-left\"></span>\r\n <span class=\"alert-icon-error-line alert-icon-error-line-right\"></span>\r\n</div>", styles: [""] }]
55
+ class ErrorComponent {
56
+ }
57
+ ErrorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: ErrorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
58
+ ErrorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: ErrorComponent, selector: "alert-error", host: { classAttribute: "alert-icon alert-icon-error" }, ngImport: i0, template: "<div class=\"alert-icon-error-x-mark\">\n <span class=\"alert-icon-error-line alert-icon-error-line-left\"></span>\n <span class=\"alert-icon-error-line alert-icon-error-line-right\"></span>\n</div>", styles: [""], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
59
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: ErrorComponent, decorators: [{
60
+ type: Component,
61
+ args: [{ selector: 'alert-error', host: {
62
+ class: 'alert-icon alert-icon-error'
63
+ }, encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"alert-icon-error-x-mark\">\n <span class=\"alert-icon-error-line alert-icon-error-line-left\"></span>\n <span class=\"alert-icon-error-line alert-icon-error-line-right\"></span>\n</div>" }]
64
64
  }] });
65
65
 
66
- const alertComponents = [
67
- {
68
- type: AlertEnum.success,
69
- component: AlertSuccessComponent
70
- },
71
- {
72
- type: AlertEnum.info,
73
- component: AlertInfoComponent
74
- },
75
- {
76
- type: AlertEnum.warning,
77
- component: WarningComponent
78
- },
79
- {
80
- type: AlertEnum.error,
81
- component: ErrorComponent
82
- }
66
+ const alertComponents = [
67
+ {
68
+ type: AlertEnum.success,
69
+ component: AlertSuccessComponent
70
+ },
71
+ {
72
+ type: AlertEnum.info,
73
+ component: AlertInfoComponent
74
+ },
75
+ {
76
+ type: AlertEnum.warning,
77
+ component: WarningComponent
78
+ },
79
+ {
80
+ type: AlertEnum.error,
81
+ component: ErrorComponent
82
+ }
83
83
  ];
84
84
 
85
- class AlertOkButtonComponent {
86
- constructor() {
87
- this.click = new EventEmitter();
88
- }
89
- }
90
- AlertOkButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.7", ngImport: i0, type: AlertOkButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
91
- AlertOkButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.7", type: AlertOkButtonComponent, selector: "alert-ok-button", outputs: { click: "click" }, ngImport: i0, template: "<button mat-raised-button color=\"primary\" (click)=\"click.emit($event)\">{{'general.ok' | translate}}</button>", styles: [""], components: [{ type: i1.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }], pipes: { "translate": i2.TranslatePipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
92
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.7", ngImport: i0, type: AlertOkButtonComponent, decorators: [{
93
- type: Component,
94
- args: [{ selector: 'alert-ok-button', changeDetection: ChangeDetectionStrategy.OnPush, template: "<button mat-raised-button color=\"primary\" (click)=\"click.emit($event)\">{{'general.ok' | translate}}</button>", styles: [""] }]
95
- }], propDecorators: { click: [{
96
- type: Output
85
+ class AlertOkButtonComponent {
86
+ constructor() {
87
+ this.click = new EventEmitter();
88
+ }
89
+ }
90
+ AlertOkButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AlertOkButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
91
+ AlertOkButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: AlertOkButtonComponent, selector: "alert-ok-button", outputs: { click: "click" }, ngImport: i0, template: "<button mat-raised-button color=\"primary\" (click)=\"click.emit($event)\">{{'general.ok' | translate}}</button>", styles: [""], dependencies: [{ kind: "component", type: i1.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "pipe", type: i2.TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
92
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AlertOkButtonComponent, decorators: [{
93
+ type: Component,
94
+ args: [{ selector: 'alert-ok-button', changeDetection: ChangeDetectionStrategy.OnPush, template: "<button mat-raised-button color=\"primary\" (click)=\"click.emit($event)\">{{'general.ok' | translate}}</button>" }]
95
+ }], propDecorators: { click: [{
96
+ type: Output
97
97
  }] } });
98
98
 
99
- class AlertCancelButtonComponent {
100
- constructor() {
101
- this.click = new EventEmitter();
102
- }
103
- }
104
- AlertCancelButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.7", ngImport: i0, type: AlertCancelButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
105
- AlertCancelButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.7", type: AlertCancelButtonComponent, selector: "alert-cancel-button", outputs: { click: "click" }, ngImport: i0, template: "<button mat-raised-button (click)=\"click.emit($event)\">{{'general.cancel' | translate}}</button>", styles: [""], components: [{ type: i1.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }], pipes: { "translate": i2.TranslatePipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
106
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.7", ngImport: i0, type: AlertCancelButtonComponent, decorators: [{
107
- type: Component,
108
- args: [{ selector: 'alert-cancel-button', changeDetection: ChangeDetectionStrategy.OnPush, template: "<button mat-raised-button (click)=\"click.emit($event)\">{{'general.cancel' | translate}}</button>", styles: [""] }]
109
- }], propDecorators: { click: [{
110
- type: Output
99
+ class AlertCancelButtonComponent {
100
+ constructor() {
101
+ this.click = new EventEmitter();
102
+ }
103
+ }
104
+ AlertCancelButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AlertCancelButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
105
+ AlertCancelButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: AlertCancelButtonComponent, selector: "alert-cancel-button", outputs: { click: "click" }, ngImport: i0, template: "<button mat-raised-button (click)=\"click.emit($event)\">{{'general.cancel' | translate}}</button>", styles: [""], dependencies: [{ kind: "component", type: i1.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "pipe", type: i2.TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
106
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AlertCancelButtonComponent, decorators: [{
107
+ type: Component,
108
+ args: [{ selector: 'alert-cancel-button', changeDetection: ChangeDetectionStrategy.OnPush, template: "<button mat-raised-button (click)=\"click.emit($event)\">{{'general.cancel' | translate}}</button>" }]
109
+ }], propDecorators: { click: [{
110
+ type: Output
111
111
  }] } });
112
112
 
113
- const CRAFTSJS_ALERT_DATA = new InjectionToken('CraftsjsAlertData');
114
- class DialogAlertComponent {
115
- constructor(dialogRef, data) {
116
- this.dialogRef = dialogRef;
117
- this.data = data;
118
- }
119
- ngOnInit() {
120
- }
121
- ngAfterViewInit() {
122
- this.loadComponents();
123
- }
124
- loadComponents() {
125
- const itemComponent = alertComponents.find(x => x.type === this.data.type);
126
- const component = itemComponent && itemComponent.component;
127
- this.resolveComponent(component, this.appDynamic.find(x => x.name === 'alert-icon').viewContainerRef);
128
- this.resolveComponent(this.data.customBody, this.appDynamic.find(x => x.name === 'alert-body').viewContainerRef);
129
- this.resolveComponent(this.data.customButtonComponent, this.appDynamic.find(x => x.name === 'alert-buttons').viewContainerRef);
130
- }
131
- resolveComponent(component, viewContainerRef) {
132
- if (!component) {
133
- return;
134
- }
135
- viewContainerRef.clear();
136
- if (component instanceof TemplateRef) {
137
- viewContainerRef.createEmbeddedView(component, { $implicit: this.data, dialogRef: this.dialogRef });
138
- }
139
- else {
140
- const injector = this.createInjector(viewContainerRef.injector);
141
- viewContainerRef.createComponent(component, {
142
- injector
143
- });
144
- }
145
- }
146
- createInjector(injector) {
147
- return Injector.create({
148
- providers: [{
149
- provide: CRAFTSJS_ALERT_DATA,
150
- useValue: this.data
151
- },
152
- {
153
- provide: MatDialogRef,
154
- useValue: this.dialogRef
155
- }],
156
- parent: injector
157
- });
158
- }
159
- buttonClick(result) {
160
- this.dialogRef.close({ data: this.data, result });
161
- }
162
- }
163
- DialogAlertComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.7", ngImport: i0, type: DialogAlertComponent, deps: [{ token: i1$1.MatDialogRef }, { token: MAT_DIALOG_DATA }], target: i0.ɵɵFactoryTarget.Component });
164
- DialogAlertComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.7", type: DialogAlertComponent, selector: "dialog-alert", viewQueries: [{ propertyName: "appDynamic", predicate: DynamicDirective, descendants: true }], ngImport: i0, template: "<ng-template craftsjsDynamic name=\"alert-icon\"></ng-template>\r\n<div *ngIf=\"data?.title\" class=\"alert-title\">\r\n <span>\r\n {{data.title | translate}}\r\n </span>\r\n</div>\r\n<div *ngIf=\"data?.text\" class=\"alert-text\">\r\n <span>\r\n {{data.text | translate}}\r\n </span>\r\n</div>\r\n<ng-template craftsjsDynamic name=\"alert-body\"></ng-template>\r\n<div class=\"alert-footer\" *ngIf=\"!data?.hiddenButtons\">\r\n <alert-ok-button *ngIf=\"!data?.customButtonComponent\" (click)=\"buttonClick('ok')\">\r\n </alert-ok-button>\r\n <alert-cancel-button *ngIf=\"!data?.customButtonComponent && data?.showCancelButton\"\r\n (click)=\"buttonClick('cancel')\">\r\n </alert-cancel-button>\r\n</div>\r\n<ng-template craftsjsDynamic name=\"alert-buttons\"></ng-template>", styles: [".alert-icon{width:80px;height:80px;border-width:4px;border-style:solid;border-radius:50%;padding:0;position:relative;box-sizing:content-box;margin:20px auto}.alert-icon-custom{width:auto;height:auto;max-width:100%;border:none;border-radius:0}.alert-icon img{max-width:100%;max-height:100%}.alert-title{color:#000000a6;font-weight:600;text-transform:none;position:relative;display:block;font-size:27px;line-height:normal;text-align:center;margin-bottom:0}.alert-title:first-child{margin-top:26px}.alert-title:not(:first-child){padding-bottom:0}.alert-title:not(:last-child){margin-bottom:13px}.alert-text{font-size:16px;position:relative;float:none;line-height:normal;vertical-align:top;text-align:center;display:inline-block;margin:0;padding:0 10px;font-weight:400;color:#000000a3;overflow-wrap:break-word;box-sizing:border-box;width:100%}.alert-text:first-child{margin-top:45px}.alert-text:last-child{margin-bottom:45px}.alert-footer{text-align:right;margin-top:13px;padding:13px 16px;border-radius:inherit;border-top-left-radius:0;border-top-right-radius:0}.alert-footer-button-container{margin:5px;display:inline-block;position:relative}.alert-footer>*{display:inline-block;margin-right:.5em}.alert-footer>:last-child{margin-right:inherit}\n"], components: [{ type: AlertOkButtonComponent, selector: "alert-ok-button", outputs: ["click"] }, { type: AlertCancelButtonComponent, selector: "alert-cancel-button", outputs: ["click"] }], directives: [{ type: i4.DynamicDirective, selector: "[craftsjsDynamic]", inputs: ["name"] }, { type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "translate": i2.TranslatePipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
165
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.7", ngImport: i0, type: DialogAlertComponent, decorators: [{
166
- type: Component,
167
- args: [{ selector: 'dialog-alert', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: "<ng-template craftsjsDynamic name=\"alert-icon\"></ng-template>\r\n<div *ngIf=\"data?.title\" class=\"alert-title\">\r\n <span>\r\n {{data.title | translate}}\r\n </span>\r\n</div>\r\n<div *ngIf=\"data?.text\" class=\"alert-text\">\r\n <span>\r\n {{data.text | translate}}\r\n </span>\r\n</div>\r\n<ng-template craftsjsDynamic name=\"alert-body\"></ng-template>\r\n<div class=\"alert-footer\" *ngIf=\"!data?.hiddenButtons\">\r\n <alert-ok-button *ngIf=\"!data?.customButtonComponent\" (click)=\"buttonClick('ok')\">\r\n </alert-ok-button>\r\n <alert-cancel-button *ngIf=\"!data?.customButtonComponent && data?.showCancelButton\"\r\n (click)=\"buttonClick('cancel')\">\r\n </alert-cancel-button>\r\n</div>\r\n<ng-template craftsjsDynamic name=\"alert-buttons\"></ng-template>", styles: [".alert-icon{width:80px;height:80px;border-width:4px;border-style:solid;border-radius:50%;padding:0;position:relative;box-sizing:content-box;margin:20px auto}.alert-icon-custom{width:auto;height:auto;max-width:100%;border:none;border-radius:0}.alert-icon img{max-width:100%;max-height:100%}.alert-title{color:#000000a6;font-weight:600;text-transform:none;position:relative;display:block;font-size:27px;line-height:normal;text-align:center;margin-bottom:0}.alert-title:first-child{margin-top:26px}.alert-title:not(:first-child){padding-bottom:0}.alert-title:not(:last-child){margin-bottom:13px}.alert-text{font-size:16px;position:relative;float:none;line-height:normal;vertical-align:top;text-align:center;display:inline-block;margin:0;padding:0 10px;font-weight:400;color:#000000a3;overflow-wrap:break-word;box-sizing:border-box;width:100%}.alert-text:first-child{margin-top:45px}.alert-text:last-child{margin-bottom:45px}.alert-footer{text-align:right;margin-top:13px;padding:13px 16px;border-radius:inherit;border-top-left-radius:0;border-top-right-radius:0}.alert-footer-button-container{margin:5px;display:inline-block;position:relative}.alert-footer>*{display:inline-block;margin-right:.5em}.alert-footer>:last-child{margin-right:inherit}\n"] }]
168
- }], ctorParameters: function () { return [{ type: i1$1.MatDialogRef }, { type: undefined, decorators: [{
169
- type: Inject,
170
- args: [MAT_DIALOG_DATA]
171
- }] }]; }, propDecorators: { appDynamic: [{
172
- type: ViewChildren,
173
- args: [DynamicDirective]
113
+ const CRAFTSJS_ALERT_DATA = new InjectionToken('CraftsjsAlertData');
114
+ class DialogAlertComponent {
115
+ constructor(dialogRef, data) {
116
+ this.dialogRef = dialogRef;
117
+ this.data = data;
118
+ }
119
+ ngOnInit() {
120
+ }
121
+ ngAfterViewInit() {
122
+ this.loadComponents();
123
+ }
124
+ loadComponents() {
125
+ const itemComponent = alertComponents.find(x => x.type === this.data.type);
126
+ const component = itemComponent && itemComponent.component;
127
+ this.resolveComponent(component, this.appDynamic.find(x => x.name === 'alert-icon').viewContainerRef);
128
+ this.resolveComponent(this.data.customBody, this.appDynamic.find(x => x.name === 'alert-body').viewContainerRef);
129
+ this.resolveComponent(this.data.customButtonComponent, this.appDynamic.find(x => x.name === 'alert-buttons').viewContainerRef);
130
+ }
131
+ resolveComponent(component, viewContainerRef) {
132
+ if (!component) {
133
+ return;
134
+ }
135
+ viewContainerRef.clear();
136
+ if (component instanceof TemplateRef) {
137
+ viewContainerRef.createEmbeddedView(component, { $implicit: this.data, dialogRef: this.dialogRef });
138
+ }
139
+ else {
140
+ const injector = this.createInjector(viewContainerRef.injector);
141
+ viewContainerRef.createComponent(component, {
142
+ injector
143
+ });
144
+ }
145
+ }
146
+ createInjector(injector) {
147
+ return Injector.create({
148
+ providers: [{
149
+ provide: CRAFTSJS_ALERT_DATA,
150
+ useValue: this.data
151
+ },
152
+ {
153
+ provide: MatDialogRef,
154
+ useValue: this.dialogRef
155
+ }],
156
+ parent: injector
157
+ });
158
+ }
159
+ buttonClick(result) {
160
+ this.dialogRef.close({ data: this.data, result });
161
+ }
162
+ }
163
+ DialogAlertComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: DialogAlertComponent, deps: [{ token: i1$1.MatDialogRef }, { token: MAT_DIALOG_DATA }], target: i0.ɵɵFactoryTarget.Component });
164
+ DialogAlertComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: DialogAlertComponent, selector: "dialog-alert", viewQueries: [{ propertyName: "appDynamic", predicate: DynamicDirective, descendants: true }], ngImport: i0, template: "<ng-template craftsjsDynamic name=\"alert-icon\"></ng-template>\n<div *ngIf=\"data?.title\" class=\"alert-title\">\n <span>\n {{data.title | translate}}\n </span>\n</div>\n<div *ngIf=\"data?.text\" class=\"alert-text\">\n <span>\n {{data.text | translate}}\n </span>\n</div>\n<ng-template craftsjsDynamic name=\"alert-body\"></ng-template>\n<div class=\"alert-footer\" *ngIf=\"!data?.hiddenButtons\">\n <alert-ok-button *ngIf=\"!data?.customButtonComponent\" (click)=\"buttonClick('ok')\">\n </alert-ok-button>\n <alert-cancel-button *ngIf=\"!data?.customButtonComponent && data?.showCancelButton\"\n (click)=\"buttonClick('cancel')\">\n </alert-cancel-button>\n</div>\n<ng-template craftsjsDynamic name=\"alert-buttons\"></ng-template>", styles: [".alert-icon{width:80px;height:80px;border-width:4px;border-style:solid;border-radius:50%;padding:0;position:relative;box-sizing:content-box;margin:20px auto}.alert-icon-custom{width:auto;height:auto;max-width:100%;border:none;border-radius:0}.alert-icon img{max-width:100%;max-height:100%}.alert-title{color:#000000a6;font-weight:600;text-transform:none;position:relative;display:block;font-size:27px;line-height:normal;text-align:center;margin-bottom:0}.alert-title:first-child{margin-top:26px}.alert-title:not(:first-child){padding-bottom:0}.alert-title:not(:last-child){margin-bottom:13px}.alert-text{font-size:16px;position:relative;float:none;line-height:normal;vertical-align:top;text-align:center;display:inline-block;margin:0;padding:0 10px;font-weight:400;color:#000000a3;overflow-wrap:break-word;box-sizing:border-box;width:100%}.alert-text:first-child{margin-top:45px}.alert-text:last-child{margin-bottom:45px}.alert-footer{text-align:right;margin-top:13px;padding:13px 16px;border-radius:inherit;border-top-left-radius:0;border-top-right-radius:0}.alert-footer-button-container{margin:5px;display:inline-block;position:relative}.alert-footer>*{display:inline-block;margin-right:.5em}.alert-footer>:last-child{margin-right:inherit}\n"], dependencies: [{ kind: "directive", type: i2$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i3.DynamicDirective, selector: "[craftsjsDynamic]", inputs: ["name"] }, { kind: "component", type: AlertOkButtonComponent, selector: "alert-ok-button", outputs: ["click"] }, { kind: "component", type: AlertCancelButtonComponent, selector: "alert-cancel-button", outputs: ["click"] }, { kind: "pipe", type: i2.TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
165
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: DialogAlertComponent, decorators: [{
166
+ type: Component,
167
+ args: [{ selector: 'dialog-alert', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: "<ng-template craftsjsDynamic name=\"alert-icon\"></ng-template>\n<div *ngIf=\"data?.title\" class=\"alert-title\">\n <span>\n {{data.title | translate}}\n </span>\n</div>\n<div *ngIf=\"data?.text\" class=\"alert-text\">\n <span>\n {{data.text | translate}}\n </span>\n</div>\n<ng-template craftsjsDynamic name=\"alert-body\"></ng-template>\n<div class=\"alert-footer\" *ngIf=\"!data?.hiddenButtons\">\n <alert-ok-button *ngIf=\"!data?.customButtonComponent\" (click)=\"buttonClick('ok')\">\n </alert-ok-button>\n <alert-cancel-button *ngIf=\"!data?.customButtonComponent && data?.showCancelButton\"\n (click)=\"buttonClick('cancel')\">\n </alert-cancel-button>\n</div>\n<ng-template craftsjsDynamic name=\"alert-buttons\"></ng-template>", styles: [".alert-icon{width:80px;height:80px;border-width:4px;border-style:solid;border-radius:50%;padding:0;position:relative;box-sizing:content-box;margin:20px auto}.alert-icon-custom{width:auto;height:auto;max-width:100%;border:none;border-radius:0}.alert-icon img{max-width:100%;max-height:100%}.alert-title{color:#000000a6;font-weight:600;text-transform:none;position:relative;display:block;font-size:27px;line-height:normal;text-align:center;margin-bottom:0}.alert-title:first-child{margin-top:26px}.alert-title:not(:first-child){padding-bottom:0}.alert-title:not(:last-child){margin-bottom:13px}.alert-text{font-size:16px;position:relative;float:none;line-height:normal;vertical-align:top;text-align:center;display:inline-block;margin:0;padding:0 10px;font-weight:400;color:#000000a3;overflow-wrap:break-word;box-sizing:border-box;width:100%}.alert-text:first-child{margin-top:45px}.alert-text:last-child{margin-bottom:45px}.alert-footer{text-align:right;margin-top:13px;padding:13px 16px;border-radius:inherit;border-top-left-radius:0;border-top-right-radius:0}.alert-footer-button-container{margin:5px;display:inline-block;position:relative}.alert-footer>*{display:inline-block;margin-right:.5em}.alert-footer>:last-child{margin-right:inherit}\n"] }]
168
+ }], ctorParameters: function () { return [{ type: i1$1.MatDialogRef }, { type: undefined, decorators: [{
169
+ type: Inject,
170
+ args: [MAT_DIALOG_DATA]
171
+ }] }]; }, propDecorators: { appDynamic: [{
172
+ type: ViewChildren,
173
+ args: [DynamicDirective]
174
174
  }] } });
175
175
 
176
- class AlertService {
177
- constructor(_dialog) {
178
- this._dialog = _dialog;
179
- }
180
- showSimple(title, message) {
181
- return this._open({
182
- title,
183
- text: message
184
- });
185
- }
186
- showSuccess(title, message) {
187
- return this._open({
188
- title,
189
- text: message,
190
- type: AlertEnum.success
191
- });
192
- }
193
- showError(title, message) {
194
- return this._open({
195
- title,
196
- text: message,
197
- type: AlertEnum.error
198
- });
199
- }
200
- showInfo(title, message) {
201
- return this._open({
202
- title,
203
- text: message,
204
- type: AlertEnum.info
205
- });
206
- }
207
- showWarning(title, message) {
208
- return this._open({
209
- title,
210
- text: message,
211
- type: AlertEnum.warning
212
- });
213
- }
214
- showConfirmation(title, message) {
215
- return this._open({
216
- title,
217
- text: message,
218
- type: AlertEnum.warning,
219
- showCancelButton: true
220
- });
221
- }
222
- _open(alertModel) {
223
- return this._dialog.open(DialogAlertComponent, {
224
- width: '500px',
225
- data: alertModel
226
- });
227
- }
228
- }
229
- AlertService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.7", ngImport: i0, type: AlertService, deps: [{ token: i1$1.MatDialog }], target: i0.ɵɵFactoryTarget.Injectable });
230
- AlertService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.7", ngImport: i0, type: AlertService });
231
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.7", ngImport: i0, type: AlertService, decorators: [{
232
- type: Injectable
176
+ class AlertService {
177
+ constructor(_dialog) {
178
+ this._dialog = _dialog;
179
+ }
180
+ showSimple(title, message) {
181
+ return this._open({
182
+ title,
183
+ text: message
184
+ });
185
+ }
186
+ showSuccess(title, message) {
187
+ return this._open({
188
+ title,
189
+ text: message,
190
+ type: AlertEnum.success
191
+ });
192
+ }
193
+ showError(title, message) {
194
+ return this._open({
195
+ title,
196
+ text: message,
197
+ type: AlertEnum.error
198
+ });
199
+ }
200
+ showInfo(title, message) {
201
+ return this._open({
202
+ title,
203
+ text: message,
204
+ type: AlertEnum.info
205
+ });
206
+ }
207
+ showWarning(title, message) {
208
+ return this._open({
209
+ title,
210
+ text: message,
211
+ type: AlertEnum.warning
212
+ });
213
+ }
214
+ showConfirmation(title, message) {
215
+ return this._open({
216
+ title,
217
+ text: message,
218
+ type: AlertEnum.warning,
219
+ showCancelButton: true
220
+ });
221
+ }
222
+ _open(alertModel) {
223
+ return this._dialog.open(DialogAlertComponent, {
224
+ width: '500px',
225
+ data: alertModel
226
+ });
227
+ }
228
+ }
229
+ AlertService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AlertService, deps: [{ token: i1$1.MatDialog }], target: i0.ɵɵFactoryTarget.Injectable });
230
+ AlertService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AlertService });
231
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AlertService, decorators: [{
232
+ type: Injectable
233
233
  }], ctorParameters: function () { return [{ type: i1$1.MatDialog }]; } });
234
234
 
235
- class AlertModule {
236
- static forRoot() {
237
- return {
238
- ngModule: AlertModule,
239
- providers: [
240
- AlertService
241
- ]
242
- };
243
- }
244
- }
245
- AlertModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.7", ngImport: i0, type: AlertModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
246
- AlertModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.7", ngImport: i0, type: AlertModule, declarations: [DialogAlertComponent,
247
- AlertSuccessComponent,
248
- AlertInfoComponent,
249
- WarningComponent,
250
- ErrorComponent,
251
- AlertOkButtonComponent,
252
- AlertCancelButtonComponent], imports: [CommonModule,
253
- TranslateModule,
254
- MatButtonModule,
255
- CoreModule,
256
- MatDialogModule], exports: [DialogAlertComponent] });
257
- AlertModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.7", ngImport: i0, type: AlertModule, imports: [[
258
- CommonModule,
259
- TranslateModule,
260
- MatButtonModule,
261
- CoreModule,
262
- MatDialogModule
263
- ]] });
264
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.7", ngImport: i0, type: AlertModule, decorators: [{
265
- type: NgModule,
266
- args: [{
267
- imports: [
268
- CommonModule,
269
- TranslateModule,
270
- MatButtonModule,
271
- CoreModule,
272
- MatDialogModule
273
- ],
274
- declarations: [
275
- DialogAlertComponent,
276
- AlertSuccessComponent,
277
- AlertInfoComponent,
278
- WarningComponent,
279
- ErrorComponent,
280
- AlertOkButtonComponent,
281
- AlertCancelButtonComponent
282
- ],
283
- exports: [
284
- DialogAlertComponent
285
- ]
286
- }]
235
+ class AlertModule {
236
+ static forRoot() {
237
+ return {
238
+ ngModule: AlertModule,
239
+ providers: [
240
+ AlertService
241
+ ]
242
+ };
243
+ }
244
+ }
245
+ AlertModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AlertModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
246
+ AlertModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.4", ngImport: i0, type: AlertModule, declarations: [DialogAlertComponent,
247
+ AlertSuccessComponent,
248
+ AlertInfoComponent,
249
+ WarningComponent,
250
+ ErrorComponent,
251
+ AlertOkButtonComponent,
252
+ AlertCancelButtonComponent], imports: [CommonModule,
253
+ TranslateModule,
254
+ MatButtonModule,
255
+ CoreModule,
256
+ MatDialogModule], exports: [DialogAlertComponent] });
257
+ AlertModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AlertModule, imports: [CommonModule,
258
+ TranslateModule,
259
+ MatButtonModule,
260
+ CoreModule,
261
+ MatDialogModule] });
262
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AlertModule, decorators: [{
263
+ type: NgModule,
264
+ args: [{
265
+ imports: [
266
+ CommonModule,
267
+ TranslateModule,
268
+ MatButtonModule,
269
+ CoreModule,
270
+ MatDialogModule
271
+ ],
272
+ declarations: [
273
+ DialogAlertComponent,
274
+ AlertSuccessComponent,
275
+ AlertInfoComponent,
276
+ WarningComponent,
277
+ ErrorComponent,
278
+ AlertOkButtonComponent,
279
+ AlertCancelButtonComponent
280
+ ],
281
+ exports: [
282
+ DialogAlertComponent
283
+ ]
284
+ }]
287
285
  }] });
288
286
 
289
- /*
290
- * Public API Surface of alert
287
+ /*
288
+ * Public API Surface of alert
291
289
  */
292
290
 
293
- /**
294
- * Generated bundle index. Do not edit.
291
+ /**
292
+ * Generated bundle index. Do not edit.
295
293
  */
296
294
 
297
295
  export { AlertCancelButtonComponent, AlertEnum, AlertInfoComponent, AlertModule, AlertOkButtonComponent, AlertService, AlertSuccessComponent, CRAFTSJS_ALERT_DATA, DialogAlertComponent, ErrorComponent, WarningComponent, alertComponents };
298
296
  //# sourceMappingURL=craftsjs-alert.mjs.map
297
+ //# sourceMappingURL=craftsjs-alert.mjs.map