@anguless/angulux 22.0.0-rc.0 → 22.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.
- package/README.md +284 -0
- package/fesm2022/anguless-angulux-api.mjs +20 -62
- package/fesm2022/anguless-angulux-api.mjs.map +1 -1
- package/fesm2022/anguless-angulux-button.mjs +25 -56
- package/fesm2022/anguless-angulux-button.mjs.map +1 -1
- package/fesm2022/anguless-angulux-card.mjs +33 -93
- package/fesm2022/anguless-angulux-card.mjs.map +1 -1
- package/fesm2022/anguless-angulux-checkbox.mjs +9 -29
- package/fesm2022/anguless-angulux-checkbox.mjs.map +1 -1
- package/fesm2022/anguless-angulux-chip.mjs +11 -31
- package/fesm2022/anguless-angulux-chip.mjs.map +1 -1
- package/fesm2022/anguless-angulux-confirmdialog.mjs +43 -108
- package/fesm2022/anguless-angulux-confirmdialog.mjs.map +1 -1
- package/fesm2022/anguless-angulux-datepicker.mjs +95 -203
- package/fesm2022/anguless-angulux-datepicker.mjs.map +1 -1
- package/fesm2022/anguless-angulux-dialog.mjs +41 -105
- package/fesm2022/anguless-angulux-dialog.mjs.map +1 -1
- package/fesm2022/anguless-angulux-drawer.mjs +25 -73
- package/fesm2022/anguless-angulux-drawer.mjs.map +1 -1
- package/fesm2022/anguless-angulux-fileupload.mjs +71 -147
- package/fesm2022/anguless-angulux-fileupload.mjs.map +1 -1
- package/fesm2022/anguless-angulux-inputnumber.mjs +29 -60
- package/fesm2022/anguless-angulux-inputnumber.mjs.map +1 -1
- package/fesm2022/anguless-angulux-menu.mjs +24 -74
- package/fesm2022/anguless-angulux-menu.mjs.map +1 -1
- package/fesm2022/anguless-angulux-message.mjs +21 -52
- package/fesm2022/anguless-angulux-message.mjs.map +1 -1
- package/fesm2022/anguless-angulux-multiselect.mjs +91 -236
- package/fesm2022/anguless-angulux-multiselect.mjs.map +1 -1
- package/fesm2022/anguless-angulux-overlay.mjs +9 -30
- package/fesm2022/anguless-angulux-overlay.mjs.map +1 -1
- package/fesm2022/anguless-angulux-paginator.mjs +48 -94
- package/fesm2022/anguless-angulux-paginator.mjs.map +1 -1
- package/fesm2022/anguless-angulux-password.mjs +34 -89
- package/fesm2022/anguless-angulux-password.mjs.map +1 -1
- package/fesm2022/anguless-angulux-popover.mjs +7 -24
- package/fesm2022/anguless-angulux-popover.mjs.map +1 -1
- package/fesm2022/anguless-angulux-progressbar.mjs +9 -28
- package/fesm2022/anguless-angulux-progressbar.mjs.map +1 -1
- package/fesm2022/anguless-angulux-scroller.mjs +27 -68
- package/fesm2022/anguless-angulux-scroller.mjs.map +1 -1
- package/fesm2022/anguless-angulux-select.mjs +73 -213
- package/fesm2022/anguless-angulux-select.mjs.map +1 -1
- package/fesm2022/anguless-angulux-selectbutton.mjs +9 -26
- package/fesm2022/anguless-angulux-selectbutton.mjs.map +1 -1
- package/fesm2022/anguless-angulux-splitbutton.mjs +14 -41
- package/fesm2022/anguless-angulux-splitbutton.mjs.map +1 -1
- package/fesm2022/anguless-angulux-table.mjs +251 -557
- package/fesm2022/anguless-angulux-table.mjs.map +1 -1
- package/fesm2022/anguless-angulux-tabs.mjs +14 -38
- package/fesm2022/anguless-angulux-tabs.mjs.map +1 -1
- package/fesm2022/anguless-angulux-tag.mjs +11 -28
- package/fesm2022/anguless-angulux-tag.mjs.map +1 -1
- package/fesm2022/anguless-angulux-tieredmenu.mjs +16 -43
- package/fesm2022/anguless-angulux-tieredmenu.mjs.map +1 -1
- package/fesm2022/anguless-angulux-timeline.mjs +15 -46
- package/fesm2022/anguless-angulux-timeline.mjs.map +1 -1
- package/fesm2022/anguless-angulux-toast.mjs +12 -37
- package/fesm2022/anguless-angulux-toast.mjs.map +1 -1
- package/fesm2022/anguless-angulux-togglebutton.mjs +14 -41
- package/fesm2022/anguless-angulux-togglebutton.mjs.map +1 -1
- package/fesm2022/anguless-angulux-toggleswitch.mjs +9 -29
- package/fesm2022/anguless-angulux-toggleswitch.mjs.map +1 -1
- package/fesm2022/anguless-angulux-treetable.mjs +173 -372
- package/fesm2022/anguless-angulux-treetable.mjs.map +1 -1
- package/package.json +5 -5
- package/types/anguless-angulux-api.d.ts +17 -21
- package/types/anguless-angulux-button.d.ts +6 -12
- package/types/anguless-angulux-card.d.ts +8 -17
- package/types/anguless-angulux-checkbox.d.ts +4 -8
- package/types/anguless-angulux-chip.d.ts +4 -8
- package/types/anguless-angulux-confirmdialog.d.ts +19 -29
- package/types/anguless-angulux-datepicker.d.ts +27 -42
- package/types/anguless-angulux-dialog.d.ts +10 -20
- package/types/anguless-angulux-drawer.d.ts +8 -16
- package/types/anguless-angulux-fileupload.d.ts +27 -38
- package/types/anguless-angulux-inputnumber.d.ts +6 -12
- package/types/anguless-angulux-menu.d.ts +27 -39
- package/types/anguless-angulux-message.d.ts +6 -12
- package/types/anguless-angulux-multiselect.d.ts +20 -41
- package/types/anguless-angulux-overlay.d.ts +4 -7
- package/types/anguless-angulux-paginator.d.ts +17 -25
- package/types/anguless-angulux-password.d.ts +30 -38
- package/types/anguless-angulux-popover.d.ts +4 -7
- package/types/anguless-angulux-progressbar.d.ts +4 -8
- package/types/anguless-angulux-scroller.d.ts +7 -13
- package/types/anguless-angulux-select.d.ts +16 -49
- package/types/anguless-angulux-selectbutton.d.ts +4 -8
- package/types/anguless-angulux-splitbutton.d.ts +17 -21
- package/types/anguless-angulux-table.d.ts +42 -93
- package/types/anguless-angulux-tabs.d.ts +4 -9
- package/types/anguless-angulux-tag.d.ts +4 -8
- package/types/anguless-angulux-tieredmenu.d.ts +5 -9
- package/types/anguless-angulux-timeline.d.ts +5 -11
- package/types/anguless-angulux-toast.d.ts +22 -26
- package/types/anguless-angulux-togglebutton.d.ts +5 -11
- package/types/anguless-angulux-toggleswitch.d.ts +4 -8
- package/types/anguless-angulux-treetable.d.ts +40 -62
|
@@ -2,8 +2,8 @@ export * from '@anguless/angulux/types/timeline';
|
|
|
2
2
|
import * as i2 from '@angular/common';
|
|
3
3
|
import { CommonModule } from '@angular/common';
|
|
4
4
|
import * as i0 from '@angular/core';
|
|
5
|
-
import { Injectable, InjectionToken, inject,
|
|
6
|
-
import { SharedModule
|
|
5
|
+
import { Injectable, InjectionToken, inject, contentChild, Input, ViewEncapsulation, ChangeDetectionStrategy, Component, NgModule } from '@angular/core';
|
|
6
|
+
import { SharedModule } from '@anguless/angulux/api';
|
|
7
7
|
import { BaseComponent, PARENT_INSTANCE } from '@anguless/angulux/basecomponent';
|
|
8
8
|
import * as i1 from '@anguless/angulux/bind';
|
|
9
9
|
import { Bind } from '@anguless/angulux/bind';
|
|
@@ -107,44 +107,25 @@ class Timeline extends BaseComponent {
|
|
|
107
107
|
* @see {@link TimelineItemTemplateContext}
|
|
108
108
|
* @group Templates
|
|
109
109
|
*/
|
|
110
|
-
contentTemplate;
|
|
110
|
+
contentTemplate = contentChild('content', { ...(ngDevMode ? { debugName: "contentTemplate" } : /* istanbul ignore next */ {}), descendants: false });
|
|
111
111
|
/**
|
|
112
112
|
* Custom opposite item template.
|
|
113
113
|
* @param {TimelineItemTemplateContext} context - item context.
|
|
114
114
|
* @see {@link TimelineItemTemplateContext}
|
|
115
115
|
* @group Templates
|
|
116
116
|
*/
|
|
117
|
-
oppositeTemplate;
|
|
117
|
+
oppositeTemplate = contentChild('opposite', { ...(ngDevMode ? { debugName: "oppositeTemplate" } : /* istanbul ignore next */ {}), descendants: false });
|
|
118
118
|
/**
|
|
119
119
|
* Custom marker template.
|
|
120
120
|
* @param {TimelineItemTemplateContext} context - item context.
|
|
121
121
|
* @see {@link TimelineItemTemplateContext}
|
|
122
122
|
* @group Templates
|
|
123
123
|
*/
|
|
124
|
-
markerTemplate;
|
|
125
|
-
templates;
|
|
126
|
-
_contentTemplate;
|
|
127
|
-
_oppositeTemplate;
|
|
128
|
-
_markerTemplate;
|
|
124
|
+
markerTemplate = contentChild('marker', { ...(ngDevMode ? { debugName: "markerTemplate" } : /* istanbul ignore next */ {}), descendants: false });
|
|
129
125
|
_componentStyle = inject(TimelineStyle);
|
|
130
126
|
getBlockableElement() {
|
|
131
127
|
return this.el.nativeElement.children[0];
|
|
132
128
|
}
|
|
133
|
-
onAfterContentInit() {
|
|
134
|
-
this.templates.forEach((item) => {
|
|
135
|
-
switch (item.getType()) {
|
|
136
|
-
case 'content':
|
|
137
|
-
this._contentTemplate = item.template;
|
|
138
|
-
break;
|
|
139
|
-
case 'opposite':
|
|
140
|
-
this._oppositeTemplate = item.template;
|
|
141
|
-
break;
|
|
142
|
-
case 'marker':
|
|
143
|
-
this._markerTemplate = item.template;
|
|
144
|
-
break;
|
|
145
|
-
}
|
|
146
|
-
});
|
|
147
|
-
}
|
|
148
129
|
get dataP() {
|
|
149
130
|
return this.cn({
|
|
150
131
|
[this.layout]: this.layout,
|
|
@@ -152,14 +133,14 @@ class Timeline extends BaseComponent {
|
|
|
152
133
|
});
|
|
153
134
|
}
|
|
154
135
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: Timeline, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
155
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
136
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "22.0.8", type: Timeline, isStandalone: true, selector: "agl-timeline", inputs: { value: "value", styleClass: "styleClass", align: "align", layout: "layout" }, host: { properties: { "class": "cn(cx('root'), styleClass)", "attr.data-p": "dataP" } }, providers: [TimelineStyle, { provide: TIMELINE_INSTANCE, useExisting: Timeline }, { provide: PARENT_INSTANCE, useExisting: Timeline }], queries: [{ propertyName: "contentTemplate", first: true, predicate: ["content"], isSignal: true }, { propertyName: "oppositeTemplate", first: true, predicate: ["opposite"], isSignal: true }, { propertyName: "markerTemplate", first: true, predicate: ["marker"], isSignal: true }], usesInheritance: true, hostDirectives: [{ directive: i1.Bind }], ngImport: i0, template: `
|
|
156
137
|
<div [aglBind]="ptm('event')" *ngFor="let event of value; let last = last" [class]="cx('event')" [attr.data-p]="dataP">
|
|
157
138
|
<div [aglBind]="ptm('eventOpposite')" [class]="cx('eventOpposite')" [attr.data-p]="dataP">
|
|
158
|
-
<ng-container *ngTemplateOutlet="oppositeTemplate
|
|
139
|
+
<ng-container *ngTemplateOutlet="oppositeTemplate(); context: { $implicit: event }"></ng-container>
|
|
159
140
|
</div>
|
|
160
141
|
<div [aglBind]="ptm('eventSeparator')" [class]="cx('eventSeparator')" [attr.data-p]="dataP">
|
|
161
|
-
<ng-container *ngIf="markerTemplate
|
|
162
|
-
<ng-container *ngTemplateOutlet="markerTemplate
|
|
142
|
+
<ng-container *ngIf="markerTemplate(); else marker">
|
|
143
|
+
<ng-container *ngTemplateOutlet="markerTemplate(); context: { $implicit: event }"></ng-container>
|
|
163
144
|
</ng-container>
|
|
164
145
|
<ng-template #marker>
|
|
165
146
|
<div [aglBind]="ptm('eventMarker')" [class]="cx('eventMarker')" [attr.data-p]="dataP"></div>
|
|
@@ -167,7 +148,7 @@ class Timeline extends BaseComponent {
|
|
|
167
148
|
<div [aglBind]="ptm('eventConnector')" *ngIf="!last" [class]="cx('eventConnector')" [attr.data-p]="dataP"></div>
|
|
168
149
|
</div>
|
|
169
150
|
<div [aglBind]="ptm('eventContent')" [class]="cx('eventContent')" [attr.data-p]="dataP">
|
|
170
|
-
<ng-container *ngTemplateOutlet="contentTemplate
|
|
151
|
+
<ng-container *ngTemplateOutlet="contentTemplate(); context: { $implicit: event }"></ng-container>
|
|
171
152
|
</div>
|
|
172
153
|
</div>
|
|
173
154
|
`, isInline: true, 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: "directive", type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "ngmodule", type: SharedModule }, { kind: "directive", type: Bind, selector: "[aglBind]", inputs: ["aglBind"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
@@ -181,11 +162,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
|
|
|
181
162
|
template: `
|
|
182
163
|
<div [aglBind]="ptm('event')" *ngFor="let event of value; let last = last" [class]="cx('event')" [attr.data-p]="dataP">
|
|
183
164
|
<div [aglBind]="ptm('eventOpposite')" [class]="cx('eventOpposite')" [attr.data-p]="dataP">
|
|
184
|
-
<ng-container *ngTemplateOutlet="oppositeTemplate
|
|
165
|
+
<ng-container *ngTemplateOutlet="oppositeTemplate(); context: { $implicit: event }"></ng-container>
|
|
185
166
|
</div>
|
|
186
167
|
<div [aglBind]="ptm('eventSeparator')" [class]="cx('eventSeparator')" [attr.data-p]="dataP">
|
|
187
|
-
<ng-container *ngIf="markerTemplate
|
|
188
|
-
<ng-container *ngTemplateOutlet="markerTemplate
|
|
168
|
+
<ng-container *ngIf="markerTemplate(); else marker">
|
|
169
|
+
<ng-container *ngTemplateOutlet="markerTemplate(); context: { $implicit: event }"></ng-container>
|
|
189
170
|
</ng-container>
|
|
190
171
|
<ng-template #marker>
|
|
191
172
|
<div [aglBind]="ptm('eventMarker')" [class]="cx('eventMarker')" [attr.data-p]="dataP"></div>
|
|
@@ -193,7 +174,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
|
|
|
193
174
|
<div [aglBind]="ptm('eventConnector')" *ngIf="!last" [class]="cx('eventConnector')" [attr.data-p]="dataP"></div>
|
|
194
175
|
</div>
|
|
195
176
|
<div [aglBind]="ptm('eventContent')" [class]="cx('eventContent')" [attr.data-p]="dataP">
|
|
196
|
-
<ng-container *ngTemplateOutlet="contentTemplate
|
|
177
|
+
<ng-container *ngTemplateOutlet="contentTemplate(); context: { $implicit: event }"></ng-container>
|
|
197
178
|
</div>
|
|
198
179
|
</div>
|
|
199
180
|
`,
|
|
@@ -214,19 +195,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
|
|
|
214
195
|
type: Input
|
|
215
196
|
}], layout: [{
|
|
216
197
|
type: Input
|
|
217
|
-
}], contentTemplate: [{
|
|
218
|
-
type: ContentChild,
|
|
219
|
-
args: ['content', { descendants: false }]
|
|
220
|
-
}], oppositeTemplate: [{
|
|
221
|
-
type: ContentChild,
|
|
222
|
-
args: ['opposite', { descendants: false }]
|
|
223
|
-
}], markerTemplate: [{
|
|
224
|
-
type: ContentChild,
|
|
225
|
-
args: ['marker', { descendants: false }]
|
|
226
|
-
}], templates: [{
|
|
227
|
-
type: ContentChildren,
|
|
228
|
-
args: [AglTemplate]
|
|
229
|
-
}] } });
|
|
198
|
+
}], contentTemplate: [{ type: i0.ContentChild, args: ['content', { ...{ descendants: false }, isSignal: true }] }], oppositeTemplate: [{ type: i0.ContentChild, args: ['opposite', { ...{ descendants: false }, isSignal: true }] }], markerTemplate: [{ type: i0.ContentChild, args: ['marker', { ...{ descendants: false }, isSignal: true }] }] } });
|
|
230
199
|
class TimelineModule {
|
|
231
200
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: TimelineModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
232
201
|
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.0.8", ngImport: i0, type: TimelineModule, imports: [Timeline, SharedModule], exports: [Timeline, SharedModule] });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"anguless-angulux-timeline.mjs","sources":["../../src/timeline/style/timelinestyle.ts","../../src/timeline/timeline.ts","../../src/timeline/anguless-angulux-timeline.ts"],"sourcesContent":["import { Injectable } from '@angular/core';\nimport { style } from '@anguless/angulux-styles/timeline';\nimport { BaseStyle } from '@anguless/angulux/base';\n\nconst classes = {\n root: ({ instance }) => ['p-timeline p-component', 'p-timeline-' + instance.align, 'p-timeline-' + instance.layout],\n event: 'p-timeline-event',\n eventOpposite: 'p-timeline-event-opposite',\n eventSeparator: 'p-timeline-event-separator',\n eventMarker: 'p-timeline-event-marker',\n eventConnector: 'p-timeline-event-connector',\n eventContent: 'p-timeline-event-content'\n};\n\n@Injectable()\nexport class TimelineStyle extends BaseStyle {\n name = 'timeline';\n\n style = style;\n\n classes = classes;\n}\n\n/**\n *\n * Timeline visualizes a series of chained events.\n *\n * @module timelinestyle\n *\n */\nexport enum TimelineClasses {\n /**\n * Class name of the root element\n */\n root = 'p-timeline',\n /**\n * Class name of the event element\n */\n event = 'p-timeline-event',\n /**\n * Class name of the event opposite element\n */\n eventOpposite = 'p-timeline-event-opposite',\n /**\n * Class name of the event separator element\n */\n eventSeparator = 'p-timeline-event-separator',\n /**\n * Class name of the event marker element\n */\n eventMarker = 'p-timeline-event-marker',\n /**\n * Class name of the event connector element\n */\n eventConnector = 'p-timeline-event-connector',\n /**\n * Class name of the event content element\n */\n eventContent = 'p-timeline-event-content'\n}\n\nexport interface TimelineStyle extends BaseStyle {}\n","import { CommonModule } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, ContentChild, ContentChildren, inject, InjectionToken, Input, NgModule, QueryList, TemplateRef, ViewEncapsulation } from '@angular/core';\nimport { BlockableUI, AglTemplate, SharedModule } from '@anguless/angulux/api';\nimport { BaseComponent, PARENT_INSTANCE } from '@anguless/angulux/basecomponent';\nimport { Bind } from '@anguless/angulux/bind';\nimport { Nullable } from '@anguless/angulux/ts-helpers';\nimport { TimelineItemTemplateContext, TimelinePassThrough } from '@anguless/angulux/types/timeline';\nimport { TimelineStyle } from './style/timelinestyle';\n\nconst TIMELINE_INSTANCE = new InjectionToken<Timeline>('TIMELINE_INSTANCE');\n\n/**\n * Timeline visualizes a series of chained events.\n * @group Components\n */\n@Component({\n selector: 'agl-timeline',\n standalone: true,\n imports: [CommonModule, SharedModule, Bind],\n template: `\n <div [aglBind]=\"ptm('event')\" *ngFor=\"let event of value; let last = last\" [class]=\"cx('event')\" [attr.data-p]=\"dataP\">\n <div [aglBind]=\"ptm('eventOpposite')\" [class]=\"cx('eventOpposite')\" [attr.data-p]=\"dataP\">\n <ng-container *ngTemplateOutlet=\"oppositeTemplate || _oppositeTemplate; context: { $implicit: event }\"></ng-container>\n </div>\n <div [aglBind]=\"ptm('eventSeparator')\" [class]=\"cx('eventSeparator')\" [attr.data-p]=\"dataP\">\n <ng-container *ngIf=\"markerTemplate || _markerTemplate; else marker\">\n <ng-container *ngTemplateOutlet=\"markerTemplate || _markerTemplate; context: { $implicit: event }\"></ng-container>\n </ng-container>\n <ng-template #marker>\n <div [aglBind]=\"ptm('eventMarker')\" [class]=\"cx('eventMarker')\" [attr.data-p]=\"dataP\"></div>\n </ng-template>\n <div [aglBind]=\"ptm('eventConnector')\" *ngIf=\"!last\" [class]=\"cx('eventConnector')\" [attr.data-p]=\"dataP\"></div>\n </div>\n <div [aglBind]=\"ptm('eventContent')\" [class]=\"cx('eventContent')\" [attr.data-p]=\"dataP\">\n <ng-container *ngTemplateOutlet=\"contentTemplate || _contentTemplate; context: { $implicit: event }\"></ng-container>\n </div>\n </div>\n `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n providers: [TimelineStyle, { provide: TIMELINE_INSTANCE, useExisting: Timeline }, { provide: PARENT_INSTANCE, useExisting: Timeline }],\n host: {\n '[class]': \"cn(cx('root'), styleClass)\",\n '[attr.data-p]': 'dataP'\n },\n hostDirectives: [Bind]\n})\nexport class Timeline extends BaseComponent<TimelinePassThrough> implements BlockableUI {\n componentName = 'Timeline';\n\n bindDirectiveInstance = inject(Bind, { self: true });\n\n $pcTimeline: Timeline | undefined = inject(TIMELINE_INSTANCE, { optional: true, skipSelf: true }) ?? undefined;\n\n onAfterViewChecked(): void {\n this.bindDirectiveInstance.setAttrs(this.ptms(['host', 'root']));\n }\n /**\n * An array of events to display.\n * @group Props\n */\n @Input() value: any[] | undefined;\n /**\n * Style class of the component.\n * @deprecated since v20.0.0, use `class` instead.\n * @group Props\n */\n @Input() styleClass: string | undefined;\n /**\n * Position of the timeline bar relative to the content. Valid values are \"left\", \"right\" for vertical layout and \"top\", \"bottom\" for horizontal layout.\n * @group Props\n */\n @Input() align: string = 'left';\n /**\n * Orientation of the timeline.\n * @group Props\n */\n @Input() layout: 'vertical' | 'horizontal' = 'vertical';\n /**\n * Custom content template.\n * @param {TimelineItemTemplateContext} context - item context.\n * @see {@link TimelineItemTemplateContext}\n * @group Templates\n */\n @ContentChild('content', { descendants: false }) contentTemplate: Nullable<TemplateRef<TimelineItemTemplateContext>>;\n\n /**\n * Custom opposite item template.\n * @param {TimelineItemTemplateContext} context - item context.\n * @see {@link TimelineItemTemplateContext}\n * @group Templates\n */\n @ContentChild('opposite', { descendants: false }) oppositeTemplate: Nullable<TemplateRef<TimelineItemTemplateContext>>;\n\n /**\n * Custom marker template.\n * @param {TimelineItemTemplateContext} context - item context.\n * @see {@link TimelineItemTemplateContext}\n * @group Templates\n */\n @ContentChild('marker', { descendants: false }) markerTemplate: Nullable<TemplateRef<TimelineItemTemplateContext>>;\n\n @ContentChildren(AglTemplate) templates: Nullable<QueryList<any>>;\n\n _contentTemplate: TemplateRef<TimelineItemTemplateContext> | undefined;\n\n _oppositeTemplate: TemplateRef<TimelineItemTemplateContext> | undefined;\n\n _markerTemplate: TemplateRef<TimelineItemTemplateContext> | undefined;\n\n _componentStyle = inject(TimelineStyle);\n\n getBlockableElement(): HTMLElement {\n return this.el.nativeElement.children[0];\n }\n\n onAfterContentInit() {\n (this.templates as QueryList<AglTemplate>).forEach((item) => {\n switch (item.getType()) {\n case 'content':\n this._contentTemplate = item.template;\n break;\n\n case 'opposite':\n this._oppositeTemplate = item.template;\n break;\n\n case 'marker':\n this._markerTemplate = item.template;\n break;\n }\n });\n }\n\n get dataP() {\n return this.cn({\n [this.layout]: this.layout,\n [this.align]: this.align\n });\n }\n}\n\n@NgModule({\n imports: [Timeline, SharedModule],\n exports: [Timeline, SharedModule]\n})\nexport class TimelineModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;;;;;;;AAIA,MAAM,OAAO,GAAG;IACZ,IAAI,EAAE,CAAC,EAAE,QAAQ,EAAE,KAAK,CAAC,wBAAwB,EAAE,aAAa,GAAG,QAAQ,CAAC,KAAK,EAAE,aAAa,GAAG,QAAQ,CAAC,MAAM,CAAC;AACnH,IAAA,KAAK,EAAE,kBAAkB;AACzB,IAAA,aAAa,EAAE,2BAA2B;AAC1C,IAAA,cAAc,EAAE,4BAA4B;AAC5C,IAAA,WAAW,EAAE,yBAAyB;AACtC,IAAA,cAAc,EAAE,4BAA4B;AAC5C,IAAA,YAAY,EAAE;CACjB;AAGK,MAAO,aAAc,SAAQ,SAAS,CAAA;IACxC,IAAI,GAAG,UAAU;IAEjB,KAAK,GAAG,KAAK;IAEb,OAAO,GAAG,OAAO;uGALR,aAAa,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA;2GAAb,aAAa,EAAA,CAAA;;2FAAb,aAAa,EAAA,UAAA,EAAA,CAAA;kBADzB;;AASD;;;;;;AAMG;IACS;AAAZ,CAAA,UAAY,eAAe,EAAA;AACvB;;AAEG;AACH,IAAA,eAAA,CAAA,MAAA,CAAA,GAAA,YAAmB;AACnB;;AAEG;AACH,IAAA,eAAA,CAAA,OAAA,CAAA,GAAA,kBAA0B;AAC1B;;AAEG;AACH,IAAA,eAAA,CAAA,eAAA,CAAA,GAAA,2BAA2C;AAC3C;;AAEG;AACH,IAAA,eAAA,CAAA,gBAAA,CAAA,GAAA,4BAA6C;AAC7C;;AAEG;AACH,IAAA,eAAA,CAAA,aAAA,CAAA,GAAA,yBAAuC;AACvC;;AAEG;AACH,IAAA,eAAA,CAAA,gBAAA,C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AA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,cAAc,YAnGd,QAAQ,EAgGG,YAAY,CAAA,EAAA,OAAA,EAAA,CAhGvB,QAAQ,EAiGG,YAAY,CAAA,EAAA,CAAA;AAEvB,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,cAAc,EAAA,OAAA,EAAA,CAHb,QAAQ,EAAE,YAAY,EACZ,YAAY,CAAA,EAAA,CAAA;;2FAEvB,cAAc,EAAA,UAAA,EAAA,CAAA;kBAJ1B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACN,oBAAA,OAAO,EAAE,CAAC,QAAQ,EAAE,YAAY,CAAC;AACjC,oBAAA,OAAO,EAAE,CAAC,QAAQ,EAAE,YAAY;AACnC,iBAAA;;;ACjJD;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"anguless-angulux-timeline.mjs","sources":["../../src/timeline/style/timelinestyle.ts","../../src/timeline/timeline.ts","../../src/timeline/anguless-angulux-timeline.ts"],"sourcesContent":["import { Injectable } from '@angular/core';\nimport { style } from '@anguless/angulux-styles/timeline';\nimport { BaseStyle } from '@anguless/angulux/base';\n\nconst classes = {\n root: ({ instance }) => ['p-timeline p-component', 'p-timeline-' + instance.align, 'p-timeline-' + instance.layout],\n event: 'p-timeline-event',\n eventOpposite: 'p-timeline-event-opposite',\n eventSeparator: 'p-timeline-event-separator',\n eventMarker: 'p-timeline-event-marker',\n eventConnector: 'p-timeline-event-connector',\n eventContent: 'p-timeline-event-content'\n};\n\n@Injectable()\nexport class TimelineStyle extends BaseStyle {\n name = 'timeline';\n\n style = style;\n\n classes = classes;\n}\n\n/**\n *\n * Timeline visualizes a series of chained events.\n *\n * @module timelinestyle\n *\n */\nexport enum TimelineClasses {\n /**\n * Class name of the root element\n */\n root = 'p-timeline',\n /**\n * Class name of the event element\n */\n event = 'p-timeline-event',\n /**\n * Class name of the event opposite element\n */\n eventOpposite = 'p-timeline-event-opposite',\n /**\n * Class name of the event separator element\n */\n eventSeparator = 'p-timeline-event-separator',\n /**\n * Class name of the event marker element\n */\n eventMarker = 'p-timeline-event-marker',\n /**\n * Class name of the event connector element\n */\n eventConnector = 'p-timeline-event-connector',\n /**\n * Class name of the event content element\n */\n eventContent = 'p-timeline-event-content'\n}\n\nexport interface TimelineStyle extends BaseStyle {}\n","import { CommonModule } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, contentChild, inject, InjectionToken, Input, NgModule, TemplateRef, ViewEncapsulation } from '@angular/core';\nimport { BlockableUI, SharedModule } from '@anguless/angulux/api';\nimport { BaseComponent, PARENT_INSTANCE } from '@anguless/angulux/basecomponent';\nimport { Bind } from '@anguless/angulux/bind';\nimport { Nullable } from '@anguless/angulux/ts-helpers';\nimport { TimelineItemTemplateContext, TimelinePassThrough } from '@anguless/angulux/types/timeline';\nimport { TimelineStyle } from './style/timelinestyle';\n\nconst TIMELINE_INSTANCE = new InjectionToken<Timeline>('TIMELINE_INSTANCE');\n\n/**\n * Timeline visualizes a series of chained events.\n * @group Components\n */\n@Component({\n selector: 'agl-timeline',\n standalone: true,\n imports: [CommonModule, SharedModule, Bind],\n template: `\n <div [aglBind]=\"ptm('event')\" *ngFor=\"let event of value; let last = last\" [class]=\"cx('event')\" [attr.data-p]=\"dataP\">\n <div [aglBind]=\"ptm('eventOpposite')\" [class]=\"cx('eventOpposite')\" [attr.data-p]=\"dataP\">\n <ng-container *ngTemplateOutlet=\"oppositeTemplate(); context: { $implicit: event }\"></ng-container>\n </div>\n <div [aglBind]=\"ptm('eventSeparator')\" [class]=\"cx('eventSeparator')\" [attr.data-p]=\"dataP\">\n <ng-container *ngIf=\"markerTemplate(); else marker\">\n <ng-container *ngTemplateOutlet=\"markerTemplate(); context: { $implicit: event }\"></ng-container>\n </ng-container>\n <ng-template #marker>\n <div [aglBind]=\"ptm('eventMarker')\" [class]=\"cx('eventMarker')\" [attr.data-p]=\"dataP\"></div>\n </ng-template>\n <div [aglBind]=\"ptm('eventConnector')\" *ngIf=\"!last\" [class]=\"cx('eventConnector')\" [attr.data-p]=\"dataP\"></div>\n </div>\n <div [aglBind]=\"ptm('eventContent')\" [class]=\"cx('eventContent')\" [attr.data-p]=\"dataP\">\n <ng-container *ngTemplateOutlet=\"contentTemplate(); context: { $implicit: event }\"></ng-container>\n </div>\n </div>\n `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n providers: [TimelineStyle, { provide: TIMELINE_INSTANCE, useExisting: Timeline }, { provide: PARENT_INSTANCE, useExisting: Timeline }],\n host: {\n '[class]': \"cn(cx('root'), styleClass)\",\n '[attr.data-p]': 'dataP'\n },\n hostDirectives: [Bind]\n})\nexport class Timeline extends BaseComponent<TimelinePassThrough> implements BlockableUI {\n componentName = 'Timeline';\n\n bindDirectiveInstance = inject(Bind, { self: true });\n\n $pcTimeline: Timeline | undefined = inject(TIMELINE_INSTANCE, { optional: true, skipSelf: true }) ?? undefined;\n\n onAfterViewChecked(): void {\n this.bindDirectiveInstance.setAttrs(this.ptms(['host', 'root']));\n }\n /**\n * An array of events to display.\n * @group Props\n */\n @Input() value: any[] | undefined;\n /**\n * Style class of the component.\n * @deprecated since v20.0.0, use `class` instead.\n * @group Props\n */\n @Input() styleClass: string | undefined;\n /**\n * Position of the timeline bar relative to the content. Valid values are \"left\", \"right\" for vertical layout and \"top\", \"bottom\" for horizontal layout.\n * @group Props\n */\n @Input() align: string = 'left';\n /**\n * Orientation of the timeline.\n * @group Props\n */\n @Input() layout: 'vertical' | 'horizontal' = 'vertical';\n /**\n * Custom content template.\n * @param {TimelineItemTemplateContext} context - item context.\n * @see {@link TimelineItemTemplateContext}\n * @group Templates\n */\n contentTemplate = contentChild<TemplateRef<TimelineItemTemplateContext>>('content', { descendants: false });\n\n /**\n * Custom opposite item template.\n * @param {TimelineItemTemplateContext} context - item context.\n * @see {@link TimelineItemTemplateContext}\n * @group Templates\n */\n oppositeTemplate = contentChild<TemplateRef<TimelineItemTemplateContext>>('opposite', { descendants: false });\n\n /**\n * Custom marker template.\n * @param {TimelineItemTemplateContext} context - item context.\n * @see {@link TimelineItemTemplateContext}\n * @group Templates\n */\n markerTemplate = contentChild<TemplateRef<TimelineItemTemplateContext>>('marker', { descendants: false });\n\n\n\n _componentStyle = inject(TimelineStyle);\n\n getBlockableElement(): HTMLElement {\n return this.el.nativeElement.children[0];\n }\n\n get dataP() {\n return this.cn({\n [this.layout]: this.layout,\n [this.align]: this.align\n });\n }\n}\n\n@NgModule({\n imports: [Timeline, SharedModule],\n exports: [Timeline, SharedModule]\n})\nexport class TimelineModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;;;;;;;AAIA,MAAM,OAAO,GAAG;IACZ,IAAI,EAAE,CAAC,EAAE,QAAQ,EAAE,KAAK,CAAC,wBAAwB,EAAE,aAAa,GAAG,QAAQ,CAAC,KAAK,EAAE,aAAa,GAAG,QAAQ,CAAC,MAAM,CAAC;AACnH,IAAA,KAAK,EAAE,kBAAkB;AACzB,IAAA,aAAa,EAAE,2BAA2B;AAC1C,IAAA,cAAc,EAAE,4BAA4B;AAC5C,IAAA,WAAW,EAAE,yBAAyB;AACtC,IAAA,cAAc,EAAE,4BAA4B;AAC5C,IAAA,YAAY,EAAE;CACjB;AAGK,MAAO,aAAc,SAAQ,SAAS,CAAA;IACxC,IAAI,GAAG,UAAU;IAEjB,KAAK,GAAG,KAAK;IAEb,OAAO,GAAG,OAAO;uGALR,aAAa,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA;2GAAb,aAAa,EAAA,CAAA;;2FAAb,aAAa,EAAA,UAAA,EAAA,CAAA;kBADzB;;AASD;;;;;;AAMG;IACS;AAAZ,CAAA,UAAY,e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CAAA,EAAA,EAAA,CAAA;MAsB/F,cAAc,CAAA;uGAAd,cAAc,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA;AAAd,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,cAAc,YA3Ed,QAAQ,EAwEG,YAAY,CAAA,EAAA,OAAA,EAAA,CAxEvB,QAAQ,EAyEG,YAAY,CAAA,EAAA,CAAA;AAEvB,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,cAAc,EAAA,OAAA,EAAA,CAHb,QAAQ,EAAE,YAAY,EACZ,YAAY,CAAA,EAAA,CAAA;;2FAEvB,cAAc,EAAA,UAAA,EAAA,CAAA;kBAJ1B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACN,oBAAA,OAAO,EAAE,CAAC,QAAQ,EAAE,YAAY,CAAC;AACjC,oBAAA,OAAO,EAAE,CAAC,QAAQ,EAAE,YAAY;AACnC,iBAAA;;;ACzHD;;AAEG;;;;"}
|
|
@@ -2,9 +2,9 @@ export * from '@anguless/angulux/types/toast';
|
|
|
2
2
|
import * as i1 from '@angular/common';
|
|
3
3
|
import { CommonModule } from '@angular/common';
|
|
4
4
|
import * as i0 from '@angular/core';
|
|
5
|
-
import { Injectable, InjectionToken, input, output, EventEmitter, inject, signal, effect, numberAttribute, Output, Input, ChangeDetectionStrategy, ViewEncapsulation, Component, computed,
|
|
5
|
+
import { Injectable, InjectionToken, input, output, EventEmitter, inject, signal, effect, numberAttribute, Output, Input, ChangeDetectionStrategy, ViewEncapsulation, Component, computed, contentChild, booleanAttribute, NgModule } from '@angular/core';
|
|
6
6
|
import { uuid, isEmpty, setAttribute } from '@anguless/angulux-utils';
|
|
7
|
-
import { SharedModule, MessageService
|
|
7
|
+
import { SharedModule, MessageService } from '@anguless/angulux/api';
|
|
8
8
|
import { BaseComponent, PARENT_INSTANCE } from '@anguless/angulux/basecomponent';
|
|
9
9
|
import * as i3 from '@anguless/angulux/bind';
|
|
10
10
|
import { Bind } from '@anguless/angulux/bind';
|
|
@@ -508,14 +508,16 @@ class Toast extends BaseComponent {
|
|
|
508
508
|
* @see {@link ToastMessageTemplateContext}
|
|
509
509
|
* @group Templates
|
|
510
510
|
*/
|
|
511
|
-
template
|
|
511
|
+
template = contentChild('message', /* @ts-ignore */
|
|
512
|
+
...(ngDevMode ? [{ debugName: "template" }] : /* istanbul ignore next */ []));
|
|
512
513
|
/**
|
|
513
514
|
* Custom headless template.
|
|
514
515
|
* @param {ToastHeadlessTemplateContext} context - headless context.
|
|
515
516
|
* @see {@link ToastHeadlessTemplateContext}
|
|
516
517
|
* @group Templates
|
|
517
518
|
*/
|
|
518
|
-
headlessTemplate
|
|
519
|
+
headlessTemplate = contentChild('headless', /* @ts-ignore */
|
|
520
|
+
...(ngDevMode ? [{ debugName: "headlessTemplate" }] : /* istanbul ignore next */ []));
|
|
519
521
|
messageSubscription;
|
|
520
522
|
clearSubscription;
|
|
521
523
|
messages;
|
|
@@ -525,7 +527,6 @@ class Toast extends BaseComponent {
|
|
|
525
527
|
_componentStyle = inject(ToastStyle);
|
|
526
528
|
styleElement;
|
|
527
529
|
id = uuid('pn_id_');
|
|
528
|
-
templates;
|
|
529
530
|
clearAllTrigger = signal(null, /* @ts-ignore */
|
|
530
531
|
...(ngDevMode ? [{ debugName: "clearAllTrigger" }] : /* istanbul ignore next */ []));
|
|
531
532
|
constructor() {
|
|
@@ -559,23 +560,6 @@ class Toast extends BaseComponent {
|
|
|
559
560
|
// trigger signal to clear all messages
|
|
560
561
|
this.clearAllTrigger.set({});
|
|
561
562
|
}
|
|
562
|
-
_template;
|
|
563
|
-
_headlessTemplate;
|
|
564
|
-
onAfterContentInit() {
|
|
565
|
-
this.templates?.forEach((item) => {
|
|
566
|
-
switch (item.getType()) {
|
|
567
|
-
case 'message':
|
|
568
|
-
this._template = item.template;
|
|
569
|
-
break;
|
|
570
|
-
case 'headless':
|
|
571
|
-
this._headlessTemplate = item.template;
|
|
572
|
-
break;
|
|
573
|
-
default:
|
|
574
|
-
this._template = item.template;
|
|
575
|
-
break;
|
|
576
|
-
}
|
|
577
|
-
});
|
|
578
|
-
}
|
|
579
563
|
onAfterViewInit() {
|
|
580
564
|
if (this.breakpoints) {
|
|
581
565
|
this.createStyle();
|
|
@@ -673,7 +657,7 @@ class Toast extends BaseComponent {
|
|
|
673
657
|
});
|
|
674
658
|
}
|
|
675
659
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: Toast, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
676
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.
|
|
660
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "22.0.8", type: Toast, isStandalone: true, selector: "agl-toast", inputs: { key: { classPropertyName: "key", publicName: "key", isSignal: false, isRequired: false, transformFunction: null }, autoZIndex: { classPropertyName: "autoZIndex", publicName: "autoZIndex", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, baseZIndex: { classPropertyName: "baseZIndex", publicName: "baseZIndex", isSignal: false, isRequired: false, transformFunction: numberAttribute }, life: { classPropertyName: "life", publicName: "life", isSignal: false, isRequired: false, transformFunction: numberAttribute }, styleClass: { classPropertyName: "styleClass", publicName: "styleClass", isSignal: false, isRequired: false, transformFunction: null }, position: { classPropertyName: "position", publicName: "position", isSignal: false, isRequired: false, transformFunction: null }, preventOpenDuplicates: { classPropertyName: "preventOpenDuplicates", publicName: "preventOpenDuplicates", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, preventDuplicates: { classPropertyName: "preventDuplicates", publicName: "preventDuplicates", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, showTransformOptions: { classPropertyName: "showTransformOptions", publicName: "showTransformOptions", isSignal: false, isRequired: false, transformFunction: null }, hideTransformOptions: { classPropertyName: "hideTransformOptions", publicName: "hideTransformOptions", isSignal: false, isRequired: false, transformFunction: null }, showTransitionOptions: { classPropertyName: "showTransitionOptions", publicName: "showTransitionOptions", isSignal: false, isRequired: false, transformFunction: null }, hideTransitionOptions: { classPropertyName: "hideTransitionOptions", publicName: "hideTransitionOptions", isSignal: false, isRequired: false, transformFunction: null }, motionOptions: { classPropertyName: "motionOptions", publicName: "motionOptions", isSignal: true, isRequired: false, transformFunction: null }, breakpoints: { classPropertyName: "breakpoints", publicName: "breakpoints", isSignal: false, isRequired: false, transformFunction: null } }, outputs: { onClose: "onClose" }, host: { properties: { "class": "cn(cx('root'), styleClass)", "style": "sx('root')", "attr.data-p": "dataP" } }, providers: [ToastStyle, { provide: TOAST_INSTANCE, useExisting: Toast }, { provide: PARENT_INSTANCE, useExisting: Toast }], queries: [{ propertyName: "template", first: true, predicate: ["message"], descendants: true, isSignal: true }, { propertyName: "headlessTemplate", first: true, predicate: ["headless"], descendants: true, isSignal: true }], usesInheritance: true, hostDirectives: [{ directive: i3.Bind }], ngImport: i0, template: `
|
|
677
661
|
<agl-toastItem
|
|
678
662
|
*ngFor="let msg of messages; let i = index"
|
|
679
663
|
[message]="msg"
|
|
@@ -683,8 +667,8 @@ class Toast extends BaseComponent {
|
|
|
683
667
|
(onClose)="onMessageClose($event)"
|
|
684
668
|
(onAnimationEnd)="onAnimationEnd()"
|
|
685
669
|
(onAnimationStart)="onAnimationStart()"
|
|
686
|
-
[template]="template
|
|
687
|
-
[headlessTemplate]="headlessTemplate
|
|
670
|
+
[template]="template()"
|
|
671
|
+
[headlessTemplate]="headlessTemplate()"
|
|
688
672
|
[pt]="pt"
|
|
689
673
|
[unstyled]="unstyled()"
|
|
690
674
|
[motionOptions]="computedMotionOptions()"
|
|
@@ -707,8 +691,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
|
|
|
707
691
|
(onClose)="onMessageClose($event)"
|
|
708
692
|
(onAnimationEnd)="onAnimationEnd()"
|
|
709
693
|
(onAnimationStart)="onAnimationStart()"
|
|
710
|
-
[template]="template
|
|
711
|
-
[headlessTemplate]="headlessTemplate
|
|
694
|
+
[template]="template()"
|
|
695
|
+
[headlessTemplate]="headlessTemplate()"
|
|
712
696
|
[pt]="pt"
|
|
713
697
|
[unstyled]="unstyled()"
|
|
714
698
|
[motionOptions]="computedMotionOptions()"
|
|
@@ -757,16 +741,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
|
|
|
757
741
|
type: Input
|
|
758
742
|
}], onClose: [{
|
|
759
743
|
type: Output
|
|
760
|
-
}], template: [{
|
|
761
|
-
type: ContentChild,
|
|
762
|
-
args: ['message']
|
|
763
|
-
}], headlessTemplate: [{
|
|
764
|
-
type: ContentChild,
|
|
765
|
-
args: ['headless']
|
|
766
|
-
}], templates: [{
|
|
767
|
-
type: ContentChildren,
|
|
768
|
-
args: [AglTemplate]
|
|
769
|
-
}] } });
|
|
744
|
+
}], template: [{ type: i0.ContentChild, args: ['message', { isSignal: true }] }], headlessTemplate: [{ type: i0.ContentChild, args: ['headless', { isSignal: true }] }] } });
|
|
770
745
|
class ToastModule {
|
|
771
746
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: ToastModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
772
747
|
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.0.8", ngImport: i0, type: ToastModule, imports: [Toast, SharedModule], exports: [Toast, SharedModule] });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"anguless-angulux-toast.mjs","sources":["../../src/toast/style/toaststyle.ts","../../src/toast/toast.ts","../../src/toast/anguless-angulux-toast.ts"],"sourcesContent":["import { Injectable } from '@angular/core';\nimport { style } from '@anguless/angulux-styles/toast';\nimport { BaseStyle } from '@anguless/angulux/base';\n\n// Position\nconst inlineStyles = {\n root: ({ instance }) => {\n const { _position } = instance;\n\n return {\n position: 'fixed',\n top: _position === 'top-right' || _position === 'top-left' || _position === 'top-center' ? '20px' : _position === 'center' ? '50%' : null,\n right: (_position === 'top-right' || _position === 'bottom-right') && '20px',\n bottom: (_position === 'bottom-left' || _position === 'bottom-right' || _position === 'bottom-center') && '20px',\n left: _position === 'top-left' || _position === 'bottom-left' ? '20px' : _position === 'center' || _position === 'top-center' || _position === 'bottom-center' ? '50%' : null\n };\n }\n};\n\nconst classes = {\n root: ({ instance }) => ['p-toast p-component', `p-toast-${instance._position}`],\n\n message: ({ instance }) => ({\n 'p-toast-message': true,\n 'p-toast-message-info': instance.message.severity === 'info' || instance.message.severity === undefined,\n 'p-toast-message-warn': instance.message.severity === 'warn',\n 'p-toast-message-error': instance.message.severity === 'error',\n 'p-toast-message-success': instance.message.severity === 'success',\n 'p-toast-message-secondary': instance.message.severity === 'secondary',\n 'p-toast-message-contrast': instance.message.severity === 'contrast'\n }),\n messageContent: 'p-toast-message-content',\n messageIcon: ({ instance }) => ({\n 'p-toast-message-icon': true,\n [`pi ${instance.message.icon}`]: !!instance.message.icon\n }),\n messageText: 'p-toast-message-text',\n summary: 'p-toast-summary',\n detail: 'p-toast-detail',\n closeButton: 'p-toast-close-button',\n closeIcon: ({ instance }) => ({\n 'p-toast-close-icon': true,\n [`pi ${instance.message.closeIcon}`]: !!instance.message.closeIcon\n })\n};\n\n@Injectable()\nexport class ToastStyle extends BaseStyle {\n name = 'toast';\n\n style = style;\n\n classes = classes;\n\n inlineStyles = inlineStyles;\n}\n\n/**\n *\n * Toast is used to display messages in an overlay.\n *\n * @module toaststyle\n *\n */\nexport enum ToastClasses {\n /**\n * Class name of the root element\n */\n root = 'p-toast',\n /**\n * Class name of the message element\n */\n message = 'p-toast-message',\n /**\n * Class name of the message content element\n */\n messageContent = 'p-toast-message-content',\n /**\n * Class name of the message icon element\n */\n messageIcon = 'p-toast-message-icon',\n /**\n * Class name of the message text element\n */\n messageText = 'p-toast-message-text',\n /**\n * Class name of the summary element\n */\n summary = 'p-toast-summary',\n /**\n * Class name of the detail element\n */\n detail = 'p-toast-detail',\n /**\n * Class name of the close button element\n */\n closeButton = 'p-toast-close-button',\n /**\n * Class name of the close icon element\n */\n closeIcon = 'p-toast-close-icon'\n}\n\nexport interface ToastStyle extends BaseStyle {}\n","import { CommonModule } from '@angular/common';\nimport {\n booleanAttribute,\n ChangeDetectionStrategy,\n Component,\n computed,\n ContentChild,\n ContentChildren,\n effect,\n EventEmitter,\n inject,\n InjectionToken,\n input,\n Input,\n NgModule,\n NgZone,\n numberAttribute,\n output,\n Output,\n QueryList,\n signal,\n TemplateRef,\n ViewEncapsulation\n} from '@angular/core';\nimport { MotionEvent, MotionOptions } from '@anguless/angulux-motion';\nimport { isEmpty, setAttribute, uuid } from '@anguless/angulux-utils';\nimport { MessageService, AglTemplate, SharedModule, ToastMessageOptions } from '@anguless/angulux/api';\nimport { BaseComponent, PARENT_INSTANCE } from '@anguless/angulux/basecomponent';\nimport { Bind } from '@anguless/angulux/bind';\nimport { CheckIcon, ExclamationTriangleIcon, InfoCircleIcon, TimesCircleIcon, TimesIcon } from '@anguless/angulux/icons';\nimport { MotionModule } from '@anguless/angulux/motion';\nimport { ToastCloseEvent, ToastHeadlessTemplateContext, ToastItemCloseEvent, ToastMessageTemplateContext, ToastPassThrough, ToastPositionType } from '@anguless/angulux/types/toast';\nimport { ZIndexUtils } from '@anguless/angulux/utils';\nimport { Subscription } from 'rxjs';\nimport { ToastStyle } from './style/toaststyle';\n\nconst TOAST_INSTANCE = new InjectionToken<Toast>('TOAST_INSTANCE');\n\n@Component({\n selector: 'agl-toastItem',\n standalone: true,\n imports: [CommonModule, CheckIcon, ExclamationTriangleIcon, InfoCircleIcon, TimesIcon, TimesCircleIcon, SharedModule, Bind, MotionModule],\n template: `\n <div\n #container\n [aglMotion]=\"visible()\"\n [aglMotionAppear]=\"true\"\n [aglMotionName]=\"'p-toast-message'\"\n [aglMotionOptions]=\"motionOptions()\"\n (aglMotionOnBeforeEnter)=\"onBeforeEnter($event)\"\n (aglMotionOnAfterLeave)=\"onAfterLeave($event)\"\n [attr.id]=\"message?.id\"\n [aglBind]=\"ptm('message')\"\n [class]=\"cn(cx('message'), message?.styleClass)\"\n (mouseenter)=\"onMouseEnter()\"\n (mouseleave)=\"onMouseLeave()\"\n role=\"alert\"\n aria-live=\"assertive\"\n aria-atomic=\"true\"\n [attr.data-p]=\"dataP\"\n >\n @if (headlessTemplate) {\n <ng-container *ngTemplateOutlet=\"headlessTemplate; context: { $implicit: message, closeFn: onCloseIconClick }\"></ng-container>\n } @else {\n <div [aglBind]=\"ptm('messageContent')\" [class]=\"cn(cx('messageContent'), message?.contentStyleClass)\">\n <ng-container *ngIf=\"!template\">\n @if (message.icon) {\n <span [aglBind]=\"ptm('messageIcon')\" [class]=\"cn(cx('messageIcon'), message?.icon)\"></span>\n } @else {\n @switch (message.severity) {\n @case ('success') {\n <svg [aglBind]=\"ptm('messageIcon')\" data-p-icon=\"check\" [class]=\"cx('messageIcon')\" [attr.aria-hidden]=\"true\" />\n }\n @case ('info') {\n <svg [aglBind]=\"ptm('messageIcon')\" data-p-icon=\"info-circle\" [class]=\"cx('messageIcon')\" [attr.aria-hidden]=\"true\" />\n }\n @case ('error') {\n <svg [aglBind]=\"ptm('messageIcon')\" data-p-icon=\"times-circle\" [class]=\"cx('messageIcon')\" [attr.aria-hidden]=\"true\" />\n }\n @case ('warn') {\n <svg [aglBind]=\"ptm('messageIcon')\" data-p-icon=\"exclamation-triangle\" [class]=\"cx('messageIcon')\" [attr.aria-hidden]=\"true\" />\n }\n @default {\n <svg [aglBind]=\"ptm('messageIcon')\" data-p-icon=\"info-circle\" [class]=\"cx('messageIcon')\" [attr.aria-hidden]=\"true\" />\n }\n }\n }\n <div [aglBind]=\"ptm('messageText')\" [ngClass]=\"cx('messageText')\" [attr.data-p]=\"dataP\">\n <div [aglBind]=\"ptm('summary')\" [ngClass]=\"cx('summary')\" [attr.data-p]=\"dataP\">\n {{ message.summary }}\n </div>\n <div [aglBind]=\"ptm('detail')\" [ngClass]=\"cx('detail')\" [attr.data-p]=\"dataP\">{{ message.detail }}</div>\n </div>\n </ng-container>\n <ng-container *ngTemplateOutlet=\"template; context: { $implicit: message }\"></ng-container>\n @if (message?.closable !== false) {\n <div>\n <button\n [aglBind]=\"ptm('closeButton')\"\n type=\"button\"\n [attr.class]=\"cx('closeButton')\"\n (click)=\"onCloseIconClick($event)\"\n (keydown.enter)=\"onCloseIconClick($event)\"\n [attr.aria-label]=\"closeAriaLabel\"\n autofocus\n [attr.data-p]=\"dataP\"\n >\n @if (message.closeIcon) {\n <span [aglBind]=\"ptm('closeIcon')\" *ngIf=\"message.closeIcon\" [class]=\"cn(cx('closeIcon'), message?.closeIcon)\"></span>\n } @else {\n <svg [aglBind]=\"ptm('closeIcon')\" data-p-icon=\"times\" [class]=\"cx('closeIcon')\" [attr.aria-hidden]=\"true\" />\n }\n </button>\n </div>\n }\n </div>\n }\n </div>\n `,\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [ToastStyle]\n})\nexport class ToastItem extends BaseComponent<ToastPassThrough> {\n @Input() message: ToastMessageOptions | null | undefined;\n\n @Input({ transform: numberAttribute }) index: number | null | undefined;\n\n @Input({ transform: numberAttribute }) life: number;\n\n @Input() template: TemplateRef<ToastMessageTemplateContext> | undefined;\n\n @Input() headlessTemplate: TemplateRef<ToastHeadlessTemplateContext> | undefined;\n\n @Input() showTransformOptions: string | undefined;\n\n @Input() hideTransformOptions: string | undefined;\n\n @Input() showTransitionOptions: string | undefined;\n\n @Input() hideTransitionOptions: string | undefined;\n\n motionOptions = input<MotionOptions>();\n\n clearAll = input<any>(null);\n\n onAnimationStart = output<HTMLElement>();\n\n onAnimationEnd = output<HTMLElement>();\n\n onBeforeEnter(event: MotionEvent) {\n this.onAnimationStart.emit(event.element as HTMLElement);\n }\n\n onAfterLeave(event: MotionEvent) {\n if (!this.visible() && !this.isDestroyed) {\n this.onClose.emit({\n index: <number>this.index,\n message: <ToastMessageOptions>this.message\n });\n\n if (!this.isDestroyed) {\n this.onAnimationEnd.emit(event.element as HTMLElement);\n }\n }\n }\n\n @Output() onClose: EventEmitter<ToastItemCloseEvent> = new EventEmitter();\n\n _componentStyle = inject(ToastStyle);\n\n timeout: any;\n\n visible = signal<boolean | undefined>(undefined);\n\n private isDestroyed = false;\n\n private isClosing = false;\n\n constructor(private zone: NgZone) {\n super();\n\n effect(() => {\n if (this.clearAll()) {\n this.visible.set(false);\n }\n });\n }\n\n onAfterViewInit() {\n this.message?.sticky && this.visible.set(true);\n this.initTimeout();\n }\n\n initTimeout() {\n if (!this.message?.sticky) {\n this.clearTimeout();\n this.zone.runOutsideAngular(() => {\n this.visible.set(true);\n this.timeout = setTimeout(\n () => {\n this.visible.set(false);\n },\n this.message?.life || this.life || 3000\n );\n });\n }\n }\n\n clearTimeout() {\n if (this.timeout) {\n clearTimeout(this.timeout);\n this.timeout = null;\n }\n }\n\n onMouseEnter() {\n this.clearTimeout();\n }\n\n onMouseLeave() {\n if (!this.isClosing) {\n this.initTimeout();\n }\n }\n\n onCloseIconClick = (event: Event) => {\n this.isClosing = true;\n this.clearTimeout();\n this.visible.set(false);\n event.preventDefault();\n };\n\n get closeAriaLabel() {\n return this.config.translation.aria ? this.config.translation.aria.close : undefined;\n }\n\n onDestroy() {\n this.isDestroyed = true;\n this.clearTimeout();\n this.visible.set(false);\n }\n\n get dataP() {\n return this.cn({\n [this.message?.severity as string]: this.message?.severity\n });\n }\n}\n\n/**\n * Toast is used to display messages in an overlay.\n * @group Components\n */\n@Component({\n selector: 'agl-toast',\n standalone: true,\n imports: [CommonModule, ToastItem, SharedModule],\n template: `\n <agl-toastItem\n *ngFor=\"let msg of messages; let i = index\"\n [message]=\"msg\"\n [index]=\"i\"\n [life]=\"life\"\n [clearAll]=\"clearAllTrigger()\"\n (onClose)=\"onMessageClose($event)\"\n (onAnimationEnd)=\"onAnimationEnd()\"\n (onAnimationStart)=\"onAnimationStart()\"\n [template]=\"template || _template\"\n [headlessTemplate]=\"headlessTemplate || _headlessTemplate\"\n [pt]=\"pt\"\n [unstyled]=\"unstyled()\"\n [motionOptions]=\"computedMotionOptions()\"\n ></agl-toastItem>\n `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n providers: [ToastStyle, { provide: TOAST_INSTANCE, useExisting: Toast }, { provide: PARENT_INSTANCE, useExisting: Toast }],\n host: {\n '[class]': \"cn(cx('root'), styleClass)\",\n '[style]': \"sx('root')\",\n '[attr.data-p]': 'dataP'\n },\n hostDirectives: [Bind]\n})\nexport class Toast extends BaseComponent<ToastPassThrough> {\n componentName = 'Toast';\n\n $pcToast: Toast | undefined = inject(TOAST_INSTANCE, { optional: true, skipSelf: true }) ?? undefined;\n\n bindDirectiveInstance = inject(Bind, { self: true });\n\n onAfterViewChecked(): void {\n this.bindDirectiveInstance.setAttrs(this.ptms(['host', 'root']));\n }\n /**\n * Key of the message in case message is targeted to a specific toast component.\n * @group Props\n */\n @Input() key: string | undefined;\n /**\n * Whether to automatically manage layering.\n * @group Props\n */\n @Input({ transform: booleanAttribute }) autoZIndex: boolean = true;\n /**\n * Base zIndex value to use in layering.\n * @group Props\n */\n @Input({ transform: numberAttribute }) baseZIndex: number = 0;\n /**\n * The default time to display messages for in milliseconds.\n * @group Props\n */\n @Input({ transform: numberAttribute }) life: number = 3000;\n /**\n * Inline class of the component.\n * @deprecated since v20.0.0, use `class` instead.\n * @group Props\n */\n @Input() styleClass: string | undefined;\n /**\n * Position of the toast in viewport.\n * @group Props\n */\n @Input() get position(): ToastPositionType {\n return this._position;\n }\n\n set position(value: ToastPositionType) {\n this._position = value;\n this.cd.markForCheck();\n }\n\n /**\n * It does not add the new message if there is already a toast displayed with the same content\n * @group Props\n */\n @Input({ transform: booleanAttribute }) preventOpenDuplicates: boolean = false;\n /**\n * Displays only once a message with the same content.\n * @group Props\n */\n @Input({ transform: booleanAttribute }) preventDuplicates: boolean = false;\n /**\n * Transform options of the show animation.\n * @group Props\n * @deprecated since v21.0.0. Use `motionOptions` instead.\n */\n @Input() showTransformOptions: string = 'translateY(100%)';\n /**\n * Transform options of the hide animation.\n * @group Props\n * @deprecated since v21.0.0. Use `motionOptions` instead.\n */\n @Input() hideTransformOptions: string = 'translateY(-100%)';\n /**\n * Transition options of the show animation.\n * @group Props\n * @deprecated since v21.0.0. Use `motionOptions` instead.\n */\n @Input() showTransitionOptions: string = '300ms ease-out';\n /**\n * Transition options of the hide animation.\n * @group Props\n * @deprecated since v21.0.0. Use `motionOptions` instead.\n */\n @Input() hideTransitionOptions: string = '250ms ease-in';\n /**\n * The motion options.\n * @group Props\n */\n motionOptions = input<MotionOptions | undefined>(undefined);\n\n computedMotionOptions = computed<MotionOptions>(() => {\n return {\n ...this.ptm('motion'),\n ...this.motionOptions()\n };\n });\n /**\n * Object literal to define styles per screen size.\n * @group Props\n */\n @Input() breakpoints: { [key: string]: any } | undefined;\n /**\n * Callback to invoke when a message is closed.\n * @param {ToastCloseEvent} event - custom close event.\n * @group Emits\n */\n @Output() onClose: EventEmitter<ToastCloseEvent> = new EventEmitter<ToastCloseEvent>();\n /**\n * Custom message template.\n * @param {ToastMessageTemplateContext} context - message context.\n * @see {@link ToastMessageTemplateContext}\n * @group Templates\n */\n @ContentChild('message') template: TemplateRef<ToastMessageTemplateContext> | undefined;\n /**\n * Custom headless template.\n * @param {ToastHeadlessTemplateContext} context - headless context.\n * @see {@link ToastHeadlessTemplateContext}\n * @group Templates\n */\n @ContentChild('headless') headlessTemplate: TemplateRef<ToastHeadlessTemplateContext> | undefined;\n\n messageSubscription: Subscription | undefined;\n\n clearSubscription: Subscription | undefined;\n\n messages: ToastMessageOptions[] | null | undefined;\n\n messagesArchieve: ToastMessageOptions[] | undefined;\n\n _position: ToastPositionType = 'top-right';\n\n messageService: MessageService = inject(MessageService);\n\n _componentStyle = inject(ToastStyle);\n\n styleElement: any;\n\n id: string = uuid('pn_id_');\n\n @ContentChildren(AglTemplate) templates: QueryList<AglTemplate> | undefined;\n\n clearAllTrigger = signal<{} | null>(null);\n\n constructor() {\n super();\n }\n\n onInit() {\n this.messageSubscription = this.messageService.messageObserver.subscribe((messages) => {\n if (messages) {\n if (Array.isArray(messages)) {\n const filteredMessages = messages.filter((m) => this.canAdd(m));\n this.add(filteredMessages);\n } else if (this.canAdd(messages)) {\n this.add([messages]);\n }\n }\n });\n\n this.clearSubscription = this.messageService.clearObserver.subscribe((key) => {\n if (key) {\n if (this.key === key) {\n this.clearAll();\n }\n } else {\n this.clearAll();\n }\n\n this.cd.markForCheck();\n });\n }\n\n clearAll() {\n // trigger signal to clear all messages\n this.clearAllTrigger.set({});\n }\n\n _template: TemplateRef<ToastMessageTemplateContext> | undefined;\n\n _headlessTemplate: TemplateRef<ToastHeadlessTemplateContext> | undefined;\n\n onAfterContentInit() {\n this.templates?.forEach((item) => {\n switch (item.getType()) {\n case 'message':\n this._template = item.template;\n break;\n case 'headless':\n this._headlessTemplate = item.template;\n break;\n\n default:\n this._template = item.template;\n break;\n }\n });\n }\n\n onAfterViewInit() {\n if (this.breakpoints) {\n this.createStyle();\n }\n }\n\n add(messages: ToastMessageOptions[]): void {\n this.messages = this.messages ? [...this.messages, ...messages] : [...messages];\n\n if (this.preventDuplicates) {\n this.messagesArchieve = this.messagesArchieve ? [...this.messagesArchieve, ...messages] : [...messages];\n }\n\n this.cd.markForCheck();\n }\n\n canAdd(message: ToastMessageOptions): boolean {\n let allow = this.key === message.key;\n\n if (allow && this.preventOpenDuplicates) {\n allow = !this.containsMessage(this.messages!, message);\n }\n\n if (allow && this.preventDuplicates) {\n allow = !this.containsMessage(this.messagesArchieve!, message);\n }\n\n return allow;\n }\n\n containsMessage(collection: ToastMessageOptions[], message: ToastMessageOptions): boolean {\n if (!collection) {\n return false;\n }\n\n return (\n collection.find((m) => {\n return m.summary === message.summary && m.detail == message.detail && m.severity === message.severity;\n }) != null\n );\n }\n\n onMessageClose(event: ToastItemCloseEvent) {\n this.messages?.splice(event.index, 1);\n\n this.onClose.emit({\n message: event.message\n });\n this.onAnimationEnd();\n this.cd.detectChanges();\n }\n\n onAnimationStart() {\n this.renderer.setAttribute(this.el?.nativeElement, this.id, '');\n if (this.autoZIndex && this.el?.nativeElement.style.zIndex === '') {\n ZIndexUtils.set('modal', this.el?.nativeElement, this.baseZIndex || this.config.zIndex.modal);\n }\n }\n\n onAnimationEnd() {\n if (this.autoZIndex && isEmpty(this.messages)) {\n ZIndexUtils.clear(this.el?.nativeElement);\n }\n }\n\n createStyle() {\n if (!this.styleElement) {\n this.styleElement = this.renderer.createElement('style');\n this.styleElement.type = 'text/css';\n setAttribute(this.styleElement, 'nonce', this.config?.csp()?.nonce);\n this.renderer.appendChild(this.document.head, this.styleElement);\n let innerHTML = '';\n for (let breakpoint in this.breakpoints) {\n let breakpointStyle = '';\n for (let styleProp in this.breakpoints[breakpoint]) {\n breakpointStyle += styleProp + ':' + this.breakpoints[breakpoint][styleProp] + ' !important;';\n }\n innerHTML += `\n @media screen and (max-width: ${breakpoint}) {\n .p-toast[${this.id}] {\n ${breakpointStyle}\n }\n }\n `;\n }\n\n this.renderer.setProperty(this.styleElement, 'innerHTML', innerHTML);\n setAttribute(this.styleElement, 'nonce', this.config?.csp()?.nonce);\n }\n }\n\n destroyStyle() {\n if (this.styleElement) {\n this.renderer.removeChild(this.document.head, this.styleElement);\n this.styleElement = null;\n }\n }\n\n onDestroy() {\n if (this.messageSubscription) {\n this.messageSubscription.unsubscribe();\n }\n\n if (this.el && this.autoZIndex) {\n ZIndexUtils.clear(this.el.nativeElement);\n }\n\n if (this.clearSubscription) {\n this.clearSubscription.unsubscribe();\n }\n\n this.destroyStyle();\n }\n\n get dataP() {\n return this.cn({\n [this.position]: this.position\n });\n }\n}\n\n@NgModule({\n imports: [Toast, SharedModule],\n exports: [Toast, SharedModule]\n})\nexport class ToastModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAIA;AACA,MAAM,YAAY,GAAG;AACjB,IAAA,IAAI,EAAE,CAAC,EAAE,QAAQ,EAAE,KAAI;AACnB,QAAA,MAAM,EAAE,SAAS,EAAE,GAAG,QAAQ;QAE9B,OAAO;AACH,YAAA,QAAQ,EAAE,OAAO;AACjB,YAAA,GAAG,EAAE,SAAS,KAAK,WAAW,IAAI,SAAS,KAAK,UAAU,IAAI,SAAS,KAAK,YAAY,GAAG,MAAM,GAAG,SAAS,KAAK,QAAQ,GAAG,KAAK,GAAG,IAAI;YACzI,KAAK,EAAE,CAAC,SAAS,KAAK,WAAW,IAAI,SAAS,KAAK,cAAc,KAAK,MAAM;AAC5E,YAAA,MAAM,EAAE,CAAC,SAAS,KAAK,aAAa,IAAI,SAAS,KAAK,cAAc,IAAI,SAAS,KAAK,eAAe,KAAK,MAAM;AAChH,YAAA,IAAI,EAAE,SAAS,KAAK,UAAU,IAAI,SAAS,KAAK,aAAa,GAAG,MAAM,GAAG,SAAS,KAAK,QAAQ,IAAI,SAAS,KAAK,YAAY,IAAI,SAAS,KAAK,eAAe,GAAG,KAAK,GAAG;SAC5K;IACL;CACH;AAED,MAAM,OAAO,GAAG;AACZ,IAAA,IAAI,EAAE,CAAC,EAAE,QAAQ,EAAE,KAAK,CAAC,qBAAqB,EAAE,CAAA,QAAA,EAAW,QAAQ,CAAC,SAAS,EAAE,CAAC;IAEhF,OAAO,EAAE,CAAC,EAAE,QAAQ,EAAE,MAAM;AACxB,QAAA,iBAAiB,EAAE,IAAI;AACvB,QAAA,sBAAsB,EAAE,QAAQ,CAAC,OAAO,CAAC,QAAQ,KAAK,MAAM,IAAI,QAAQ,CAAC,OAAO,CAAC,QAAQ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,OAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAW,EAAA,OAAA,EAAA,CAHV,KAAK,EAAE,YAAY,EACZ,YAAY,CAAA,EAAA,CAAA;;2FAEpB,WAAW,EAAA,UAAA,EAAA,CAAA;kBAJvB,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACN,oBAAA,OAAO,EAAE,CAAC,KAAK,EAAE,YAAY,CAAC;AAC9B,oBAAA,OAAO,EAAE,CAAC,KAAK,EAAE,YAAY;AAChC,iBAAA;;;AC/lBD;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"anguless-angulux-toast.mjs","sources":["../../src/toast/style/toaststyle.ts","../../src/toast/toast.ts","../../src/toast/anguless-angulux-toast.ts"],"sourcesContent":["import { Injectable } from '@angular/core';\nimport { style } from '@anguless/angulux-styles/toast';\nimport { BaseStyle } from '@anguless/angulux/base';\n\n// Position\nconst inlineStyles = {\n root: ({ instance }) => {\n const { _position } = instance;\n\n return {\n position: 'fixed',\n top: _position === 'top-right' || _position === 'top-left' || _position === 'top-center' ? '20px' : _position === 'center' ? '50%' : null,\n right: (_position === 'top-right' || _position === 'bottom-right') && '20px',\n bottom: (_position === 'bottom-left' || _position === 'bottom-right' || _position === 'bottom-center') && '20px',\n left: _position === 'top-left' || _position === 'bottom-left' ? '20px' : _position === 'center' || _position === 'top-center' || _position === 'bottom-center' ? '50%' : null\n };\n }\n};\n\nconst classes = {\n root: ({ instance }) => ['p-toast p-component', `p-toast-${instance._position}`],\n\n message: ({ instance }) => ({\n 'p-toast-message': true,\n 'p-toast-message-info': instance.message.severity === 'info' || instance.message.severity === undefined,\n 'p-toast-message-warn': instance.message.severity === 'warn',\n 'p-toast-message-error': instance.message.severity === 'error',\n 'p-toast-message-success': instance.message.severity === 'success',\n 'p-toast-message-secondary': instance.message.severity === 'secondary',\n 'p-toast-message-contrast': instance.message.severity === 'contrast'\n }),\n messageContent: 'p-toast-message-content',\n messageIcon: ({ instance }) => ({\n 'p-toast-message-icon': true,\n [`pi ${instance.message.icon}`]: !!instance.message.icon\n }),\n messageText: 'p-toast-message-text',\n summary: 'p-toast-summary',\n detail: 'p-toast-detail',\n closeButton: 'p-toast-close-button',\n closeIcon: ({ instance }) => ({\n 'p-toast-close-icon': true,\n [`pi ${instance.message.closeIcon}`]: !!instance.message.closeIcon\n })\n};\n\n@Injectable()\nexport class ToastStyle extends BaseStyle {\n name = 'toast';\n\n style = style;\n\n classes = classes;\n\n inlineStyles = inlineStyles;\n}\n\n/**\n *\n * Toast is used to display messages in an overlay.\n *\n * @module toaststyle\n *\n */\nexport enum ToastClasses {\n /**\n * Class name of the root element\n */\n root = 'p-toast',\n /**\n * Class name of the message element\n */\n message = 'p-toast-message',\n /**\n * Class name of the message content element\n */\n messageContent = 'p-toast-message-content',\n /**\n * Class name of the message icon element\n */\n messageIcon = 'p-toast-message-icon',\n /**\n * Class name of the message text element\n */\n messageText = 'p-toast-message-text',\n /**\n * Class name of the summary element\n */\n summary = 'p-toast-summary',\n /**\n * Class name of the detail element\n */\n detail = 'p-toast-detail',\n /**\n * Class name of the close button element\n */\n closeButton = 'p-toast-close-button',\n /**\n * Class name of the close icon element\n */\n closeIcon = 'p-toast-close-icon'\n}\n\nexport interface ToastStyle extends BaseStyle {}\n","import { CommonModule } from '@angular/common';\nimport {\n booleanAttribute,\n ChangeDetectionStrategy,\n Component,\n computed,\n contentChild, effect,\n EventEmitter,\n inject,\n InjectionToken,\n input,\n Input,\n NgModule,\n NgZone,\n numberAttribute,\n output,\n Output,\n signal,\n TemplateRef,\n ViewEncapsulation\n} from '@angular/core';\nimport { MotionEvent, MotionOptions } from '@anguless/angulux-motion';\nimport { isEmpty, setAttribute, uuid } from '@anguless/angulux-utils';\nimport { MessageService, SharedModule, ToastMessageOptions } from '@anguless/angulux/api';\nimport { BaseComponent, PARENT_INSTANCE } from '@anguless/angulux/basecomponent';\nimport { Bind } from '@anguless/angulux/bind';\nimport { CheckIcon, ExclamationTriangleIcon, InfoCircleIcon, TimesCircleIcon, TimesIcon } from '@anguless/angulux/icons';\nimport { MotionModule } from '@anguless/angulux/motion';\nimport { ToastCloseEvent, ToastHeadlessTemplateContext, ToastItemCloseEvent, ToastMessageTemplateContext, ToastPassThrough, ToastPositionType } from '@anguless/angulux/types/toast';\nimport { ZIndexUtils } from '@anguless/angulux/utils';\nimport { Subscription } from 'rxjs';\nimport { ToastStyle } from './style/toaststyle';\n\nconst TOAST_INSTANCE = new InjectionToken<Toast>('TOAST_INSTANCE');\n\n@Component({\n selector: 'agl-toastItem',\n standalone: true,\n imports: [CommonModule, CheckIcon, ExclamationTriangleIcon, InfoCircleIcon, TimesIcon, TimesCircleIcon, SharedModule, Bind, MotionModule],\n template: `\n <div\n #container\n [aglMotion]=\"visible()\"\n [aglMotionAppear]=\"true\"\n [aglMotionName]=\"'p-toast-message'\"\n [aglMotionOptions]=\"motionOptions()\"\n (aglMotionOnBeforeEnter)=\"onBeforeEnter($event)\"\n (aglMotionOnAfterLeave)=\"onAfterLeave($event)\"\n [attr.id]=\"message?.id\"\n [aglBind]=\"ptm('message')\"\n [class]=\"cn(cx('message'), message?.styleClass)\"\n (mouseenter)=\"onMouseEnter()\"\n (mouseleave)=\"onMouseLeave()\"\n role=\"alert\"\n aria-live=\"assertive\"\n aria-atomic=\"true\"\n [attr.data-p]=\"dataP\"\n >\n @if (headlessTemplate) {\n <ng-container *ngTemplateOutlet=\"headlessTemplate; context: { $implicit: message, closeFn: onCloseIconClick }\"></ng-container>\n } @else {\n <div [aglBind]=\"ptm('messageContent')\" [class]=\"cn(cx('messageContent'), message?.contentStyleClass)\">\n <ng-container *ngIf=\"!template\">\n @if (message.icon) {\n <span [aglBind]=\"ptm('messageIcon')\" [class]=\"cn(cx('messageIcon'), message?.icon)\"></span>\n } @else {\n @switch (message.severity) {\n @case ('success') {\n <svg [aglBind]=\"ptm('messageIcon')\" data-p-icon=\"check\" [class]=\"cx('messageIcon')\" [attr.aria-hidden]=\"true\" />\n }\n @case ('info') {\n <svg [aglBind]=\"ptm('messageIcon')\" data-p-icon=\"info-circle\" [class]=\"cx('messageIcon')\" [attr.aria-hidden]=\"true\" />\n }\n @case ('error') {\n <svg [aglBind]=\"ptm('messageIcon')\" data-p-icon=\"times-circle\" [class]=\"cx('messageIcon')\" [attr.aria-hidden]=\"true\" />\n }\n @case ('warn') {\n <svg [aglBind]=\"ptm('messageIcon')\" data-p-icon=\"exclamation-triangle\" [class]=\"cx('messageIcon')\" [attr.aria-hidden]=\"true\" />\n }\n @default {\n <svg [aglBind]=\"ptm('messageIcon')\" data-p-icon=\"info-circle\" [class]=\"cx('messageIcon')\" [attr.aria-hidden]=\"true\" />\n }\n }\n }\n <div [aglBind]=\"ptm('messageText')\" [ngClass]=\"cx('messageText')\" [attr.data-p]=\"dataP\">\n <div [aglBind]=\"ptm('summary')\" [ngClass]=\"cx('summary')\" [attr.data-p]=\"dataP\">\n {{ message.summary }}\n </div>\n <div [aglBind]=\"ptm('detail')\" [ngClass]=\"cx('detail')\" [attr.data-p]=\"dataP\">{{ message.detail }}</div>\n </div>\n </ng-container>\n <ng-container *ngTemplateOutlet=\"template; context: { $implicit: message }\"></ng-container>\n @if (message?.closable !== false) {\n <div>\n <button\n [aglBind]=\"ptm('closeButton')\"\n type=\"button\"\n [attr.class]=\"cx('closeButton')\"\n (click)=\"onCloseIconClick($event)\"\n (keydown.enter)=\"onCloseIconClick($event)\"\n [attr.aria-label]=\"closeAriaLabel\"\n autofocus\n [attr.data-p]=\"dataP\"\n >\n @if (message.closeIcon) {\n <span [aglBind]=\"ptm('closeIcon')\" *ngIf=\"message.closeIcon\" [class]=\"cn(cx('closeIcon'), message?.closeIcon)\"></span>\n } @else {\n <svg [aglBind]=\"ptm('closeIcon')\" data-p-icon=\"times\" [class]=\"cx('closeIcon')\" [attr.aria-hidden]=\"true\" />\n }\n </button>\n </div>\n }\n </div>\n }\n </div>\n `,\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [ToastStyle]\n})\nexport class ToastItem extends BaseComponent<ToastPassThrough> {\n @Input() message: ToastMessageOptions | null | undefined;\n\n @Input({ transform: numberAttribute }) index: number | null | undefined;\n\n @Input({ transform: numberAttribute }) life: number;\n\n @Input() template: TemplateRef<ToastMessageTemplateContext> | undefined;\n\n @Input() headlessTemplate: TemplateRef<ToastHeadlessTemplateContext> | undefined;\n\n @Input() showTransformOptions: string | undefined;\n\n @Input() hideTransformOptions: string | undefined;\n\n @Input() showTransitionOptions: string | undefined;\n\n @Input() hideTransitionOptions: string | undefined;\n\n motionOptions = input<MotionOptions>();\n\n clearAll = input<any>(null);\n\n onAnimationStart = output<HTMLElement>();\n\n onAnimationEnd = output<HTMLElement>();\n\n onBeforeEnter(event: MotionEvent) {\n this.onAnimationStart.emit(event.element as HTMLElement);\n }\n\n onAfterLeave(event: MotionEvent) {\n if (!this.visible() && !this.isDestroyed) {\n this.onClose.emit({\n index: <number>this.index,\n message: <ToastMessageOptions>this.message\n });\n\n if (!this.isDestroyed) {\n this.onAnimationEnd.emit(event.element as HTMLElement);\n }\n }\n }\n\n @Output() onClose: EventEmitter<ToastItemCloseEvent> = new EventEmitter();\n\n _componentStyle = inject(ToastStyle);\n\n timeout: any;\n\n visible = signal<boolean | undefined>(undefined);\n\n private isDestroyed = false;\n\n private isClosing = false;\n\n constructor(private zone: NgZone) {\n super();\n\n effect(() => {\n if (this.clearAll()) {\n this.visible.set(false);\n }\n });\n }\n\n onAfterViewInit() {\n this.message?.sticky && this.visible.set(true);\n this.initTimeout();\n }\n\n initTimeout() {\n if (!this.message?.sticky) {\n this.clearTimeout();\n this.zone.runOutsideAngular(() => {\n this.visible.set(true);\n this.timeout = setTimeout(\n () => {\n this.visible.set(false);\n },\n this.message?.life || this.life || 3000\n );\n });\n }\n }\n\n clearTimeout() {\n if (this.timeout) {\n clearTimeout(this.timeout);\n this.timeout = null;\n }\n }\n\n onMouseEnter() {\n this.clearTimeout();\n }\n\n onMouseLeave() {\n if (!this.isClosing) {\n this.initTimeout();\n }\n }\n\n onCloseIconClick = (event: Event) => {\n this.isClosing = true;\n this.clearTimeout();\n this.visible.set(false);\n event.preventDefault();\n };\n\n get closeAriaLabel() {\n return this.config.translation.aria ? this.config.translation.aria.close : undefined;\n }\n\n onDestroy() {\n this.isDestroyed = true;\n this.clearTimeout();\n this.visible.set(false);\n }\n\n get dataP() {\n return this.cn({\n [this.message?.severity as string]: this.message?.severity\n });\n }\n}\n\n/**\n * Toast is used to display messages in an overlay.\n * @group Components\n */\n@Component({\n selector: 'agl-toast',\n standalone: true,\n imports: [CommonModule, ToastItem, SharedModule],\n template: `\n <agl-toastItem\n *ngFor=\"let msg of messages; let i = index\"\n [message]=\"msg\"\n [index]=\"i\"\n [life]=\"life\"\n [clearAll]=\"clearAllTrigger()\"\n (onClose)=\"onMessageClose($event)\"\n (onAnimationEnd)=\"onAnimationEnd()\"\n (onAnimationStart)=\"onAnimationStart()\"\n [template]=\"template()\"\n [headlessTemplate]=\"headlessTemplate()\"\n [pt]=\"pt\"\n [unstyled]=\"unstyled()\"\n [motionOptions]=\"computedMotionOptions()\"\n ></agl-toastItem>\n `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n providers: [ToastStyle, { provide: TOAST_INSTANCE, useExisting: Toast }, { provide: PARENT_INSTANCE, useExisting: Toast }],\n host: {\n '[class]': \"cn(cx('root'), styleClass)\",\n '[style]': \"sx('root')\",\n '[attr.data-p]': 'dataP'\n },\n hostDirectives: [Bind]\n})\nexport class Toast extends BaseComponent<ToastPassThrough> {\n componentName = 'Toast';\n\n $pcToast: Toast | undefined = inject(TOAST_INSTANCE, { optional: true, skipSelf: true }) ?? undefined;\n\n bindDirectiveInstance = inject(Bind, { self: true });\n\n onAfterViewChecked(): void {\n this.bindDirectiveInstance.setAttrs(this.ptms(['host', 'root']));\n }\n /**\n * Key of the message in case message is targeted to a specific toast component.\n * @group Props\n */\n @Input() key: string | undefined;\n /**\n * Whether to automatically manage layering.\n * @group Props\n */\n @Input({ transform: booleanAttribute }) autoZIndex: boolean = true;\n /**\n * Base zIndex value to use in layering.\n * @group Props\n */\n @Input({ transform: numberAttribute }) baseZIndex: number = 0;\n /**\n * The default time to display messages for in milliseconds.\n * @group Props\n */\n @Input({ transform: numberAttribute }) life: number = 3000;\n /**\n * Inline class of the component.\n * @deprecated since v20.0.0, use `class` instead.\n * @group Props\n */\n @Input() styleClass: string | undefined;\n /**\n * Position of the toast in viewport.\n * @group Props\n */\n @Input() get position(): ToastPositionType {\n return this._position;\n }\n\n set position(value: ToastPositionType) {\n this._position = value;\n this.cd.markForCheck();\n }\n\n /**\n * It does not add the new message if there is already a toast displayed with the same content\n * @group Props\n */\n @Input({ transform: booleanAttribute }) preventOpenDuplicates: boolean = false;\n /**\n * Displays only once a message with the same content.\n * @group Props\n */\n @Input({ transform: booleanAttribute }) preventDuplicates: boolean = false;\n /**\n * Transform options of the show animation.\n * @group Props\n * @deprecated since v21.0.0. Use `motionOptions` instead.\n */\n @Input() showTransformOptions: string = 'translateY(100%)';\n /**\n * Transform options of the hide animation.\n * @group Props\n * @deprecated since v21.0.0. Use `motionOptions` instead.\n */\n @Input() hideTransformOptions: string = 'translateY(-100%)';\n /**\n * Transition options of the show animation.\n * @group Props\n * @deprecated since v21.0.0. Use `motionOptions` instead.\n */\n @Input() showTransitionOptions: string = '300ms ease-out';\n /**\n * Transition options of the hide animation.\n * @group Props\n * @deprecated since v21.0.0. Use `motionOptions` instead.\n */\n @Input() hideTransitionOptions: string = '250ms ease-in';\n /**\n * The motion options.\n * @group Props\n */\n motionOptions = input<MotionOptions | undefined>(undefined);\n\n computedMotionOptions = computed<MotionOptions>(() => {\n return {\n ...this.ptm('motion'),\n ...this.motionOptions()\n };\n });\n /**\n * Object literal to define styles per screen size.\n * @group Props\n */\n @Input() breakpoints: { [key: string]: any } | undefined;\n /**\n * Callback to invoke when a message is closed.\n * @param {ToastCloseEvent} event - custom close event.\n * @group Emits\n */\n @Output() onClose: EventEmitter<ToastCloseEvent> = new EventEmitter<ToastCloseEvent>();\n /**\n * Custom message template.\n * @param {ToastMessageTemplateContext} context - message context.\n * @see {@link ToastMessageTemplateContext}\n * @group Templates\n */\n template = contentChild<TemplateRef<ToastMessageTemplateContext>>('message');\n /**\n * Custom headless template.\n * @param {ToastHeadlessTemplateContext} context - headless context.\n * @see {@link ToastHeadlessTemplateContext}\n * @group Templates\n */\n headlessTemplate = contentChild<TemplateRef<ToastHeadlessTemplateContext>>('headless');\n\n messageSubscription: Subscription | undefined;\n\n clearSubscription: Subscription | undefined;\n\n messages: ToastMessageOptions[] | null | undefined;\n\n messagesArchieve: ToastMessageOptions[] | undefined;\n\n _position: ToastPositionType = 'top-right';\n\n messageService: MessageService = inject(MessageService);\n\n _componentStyle = inject(ToastStyle);\n\n styleElement: any;\n\n id: string = uuid('pn_id_');\n\n clearAllTrigger = signal<{} | null>(null);\n\n constructor() {\n super();\n }\n\n onInit() {\n this.messageSubscription = this.messageService.messageObserver.subscribe((messages) => {\n if (messages) {\n if (Array.isArray(messages)) {\n const filteredMessages = messages.filter((m) => this.canAdd(m));\n this.add(filteredMessages);\n } else if (this.canAdd(messages)) {\n this.add([messages]);\n }\n }\n });\n\n this.clearSubscription = this.messageService.clearObserver.subscribe((key) => {\n if (key) {\n if (this.key === key) {\n this.clearAll();\n }\n } else {\n this.clearAll();\n }\n\n this.cd.markForCheck();\n });\n }\n\n clearAll() {\n // trigger signal to clear all messages\n this.clearAllTrigger.set({});\n }\n\n onAfterViewInit() {\n if (this.breakpoints) {\n this.createStyle();\n }\n }\n\n add(messages: ToastMessageOptions[]): void {\n this.messages = this.messages ? [...this.messages, ...messages] : [...messages];\n\n if (this.preventDuplicates) {\n this.messagesArchieve = this.messagesArchieve ? [...this.messagesArchieve, ...messages] : [...messages];\n }\n\n this.cd.markForCheck();\n }\n\n canAdd(message: ToastMessageOptions): boolean {\n let allow = this.key === message.key;\n\n if (allow && this.preventOpenDuplicates) {\n allow = !this.containsMessage(this.messages!, message);\n }\n\n if (allow && this.preventDuplicates) {\n allow = !this.containsMessage(this.messagesArchieve!, message);\n }\n\n return allow;\n }\n\n containsMessage(collection: ToastMessageOptions[], message: ToastMessageOptions): boolean {\n if (!collection) {\n return false;\n }\n\n return (\n collection.find((m) => {\n return m.summary === message.summary && m.detail == message.detail && m.severity === message.severity;\n }) != null\n );\n }\n\n onMessageClose(event: ToastItemCloseEvent) {\n this.messages?.splice(event.index, 1);\n\n this.onClose.emit({\n message: event.message\n });\n this.onAnimationEnd();\n this.cd.detectChanges();\n }\n\n onAnimationStart() {\n this.renderer.setAttribute(this.el?.nativeElement, this.id, '');\n if (this.autoZIndex && this.el?.nativeElement.style.zIndex === '') {\n ZIndexUtils.set('modal', this.el?.nativeElement, this.baseZIndex || this.config.zIndex.modal);\n }\n }\n\n onAnimationEnd() {\n if (this.autoZIndex && isEmpty(this.messages)) {\n ZIndexUtils.clear(this.el?.nativeElement);\n }\n }\n\n createStyle() {\n if (!this.styleElement) {\n this.styleElement = this.renderer.createElement('style');\n this.styleElement.type = 'text/css';\n setAttribute(this.styleElement, 'nonce', this.config?.csp()?.nonce);\n this.renderer.appendChild(this.document.head, this.styleElement);\n let innerHTML = '';\n for (let breakpoint in this.breakpoints) {\n let breakpointStyle = '';\n for (let styleProp in this.breakpoints[breakpoint]) {\n breakpointStyle += styleProp + ':' + this.breakpoints[breakpoint][styleProp] + ' !important;';\n }\n innerHTML += `\n @media screen and (max-width: ${breakpoint}) {\n .p-toast[${this.id}] {\n ${breakpointStyle}\n }\n }\n `;\n }\n\n this.renderer.setProperty(this.styleElement, 'innerHTML', innerHTML);\n setAttribute(this.styleElement, 'nonce', this.config?.csp()?.nonce);\n }\n }\n\n destroyStyle() {\n if (this.styleElement) {\n this.renderer.removeChild(this.document.head, this.styleElement);\n this.styleElement = null;\n }\n }\n\n onDestroy() {\n if (this.messageSubscription) {\n this.messageSubscription.unsubscribe();\n }\n\n if (this.el && this.autoZIndex) {\n ZIndexUtils.clear(this.el.nativeElement);\n }\n\n if (this.clearSubscription) {\n this.clearSubscription.unsubscribe();\n }\n\n this.destroyStyle();\n }\n\n get dataP() {\n return this.cn({\n [this.position]: this.position\n });\n }\n}\n\n@NgModule({\n imports: [Toast, SharedModule],\n exports: [Toast, SharedModule]\n})\nexport class ToastModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAIA;AACA,MAAM,YAAY,GAAG;AACjB,IAAA,IAAI,EAAE,CAAC,EAAE,QAAQ,EAAE,KAAI;AACnB,QAAA,MAAM,EAAE,SAAS,EAAE,GAAG,QAAQ;QAE9B,OAAO;AACH,YAAA,QAAQ,EAAE,OAAO;AACjB,YAAA,GAAG,EAAE,SAAS,KAAK,WAAW,IAAI,SAAS,KAAK,UAAU,IAAI,SAAS,KAAK,YAAY,GAAG,MAAM,GAAG,SAAS,KAAK,QAAQ,GAAG,KAAK,GAAG,IAAI;YACzI,KAAK,EAAE,CAAC,SAAS,KAAK,WAAW,IAAI,SAAS,KAAK,cAAc,KAAK,MAAM;AAC5E,YAAA,MAAM,EAAE,CAAC,SAAS,KAAK,aAAa,IAAI,SAAS,KAAK,cAAc,IAAI,SAAS,KAAK,eAAe,KAAK,MAAM;AAChH,YAAA,IAAI,EAAE,SAAS,KAAK,UAAU,IAAI,SAAS,KAAK,aAAa,GAAG,MAAM,GAAG,SAAS,KAAK,QAAQ,IAAI,SAAS,KAAK,YAAY,IAAI,SAAS,KAAK,eAAe,GAAG,KAAK,GAAG;SAC5K;IACL;CACH;AAED,MAAM,OAAO,GAAG;AACZ,IAAA,IAAI,EAAE,CAAC,EAAE,QAAQ,EAAE,KAAK,CAAC,qBAAqB,EAAE,CAAA,QAAA,EAAW,QAAQ,CAAC,SAAS,EAAE,CAAC;IAEhF,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