primeng 18.0.3-lts → 18.0.5-lts
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/datepicker/datepicker.d.ts +1 -1
- package/esm2022/api/licensemanager.mjs +2 -2
- package/esm2022/autocomplete/style/autocompletestyle.mjs +19 -6
- package/esm2022/button/button.mjs +11 -43
- package/esm2022/calendar/calendar.mjs +4 -4
- package/esm2022/confirmdialog/confirmdialog.mjs +34 -41
- package/esm2022/dataview/dataview.mjs +10 -35
- package/esm2022/datepicker/datepicker.mjs +60 -44
- package/esm2022/datepicker/style/datepickerstyle.mjs +14 -1
- package/esm2022/dialog/dialog.mjs +98 -108
- package/esm2022/drawer/drawer.mjs +2 -2
- package/esm2022/fieldset/style/fieldsetstyle.mjs +2 -1
- package/esm2022/iftalabel/style/iftalabelstyle.mjs +10 -4
- package/esm2022/inputnumber/style/inputnumberstyle.mjs +10 -1
- package/esm2022/multiselect/multiselect.mjs +20 -75
- package/esm2022/password/style/passwordstyle.mjs +2 -1
- package/esm2022/picklist/picklist.mjs +3 -1
- package/esm2022/splitter/splitter.mjs +3 -3
- package/esm2022/stepper/stepper.mjs +29 -57
- package/esm2022/table/table.interface.mjs +1 -1
- package/esm2022/table/table.mjs +81 -450
- package/esm2022/tree/tree.mjs +18 -88
- package/fesm2022/primeng-accordion.mjs +2 -2
- package/fesm2022/primeng-animateonscroll.mjs +1 -1
- package/fesm2022/primeng-api.mjs +2 -2
- package/fesm2022/primeng-api.mjs.map +1 -1
- package/fesm2022/primeng-autocomplete.mjs +20 -7
- package/fesm2022/primeng-autocomplete.mjs.map +1 -1
- package/fesm2022/primeng-avatar.mjs +1 -1
- package/fesm2022/primeng-avatargroup.mjs +1 -1
- package/fesm2022/primeng-badge.mjs +2 -2
- package/fesm2022/primeng-blockui.mjs +2 -2
- package/fesm2022/primeng-breadcrumb.mjs +2 -2
- package/fesm2022/primeng-button.mjs +12 -44
- package/fesm2022/primeng-button.mjs.map +1 -1
- package/fesm2022/primeng-buttongroup.mjs +1 -1
- package/fesm2022/primeng-calendar.mjs +6 -6
- package/fesm2022/primeng-calendar.mjs.map +1 -1
- package/fesm2022/primeng-card.mjs +2 -2
- package/fesm2022/primeng-carousel.mjs +2 -2
- package/fesm2022/primeng-cascadeselect.mjs +1 -1
- package/fesm2022/primeng-chart.mjs +1 -1
- package/fesm2022/primeng-checkbox.mjs +2 -2
- package/fesm2022/primeng-chip.mjs +2 -2
- package/fesm2022/primeng-colorpicker.mjs +1 -1
- package/fesm2022/primeng-confirmdialog.mjs +35 -42
- package/fesm2022/primeng-confirmdialog.mjs.map +1 -1
- package/fesm2022/primeng-confirmpopup.mjs +3 -3
- package/fesm2022/primeng-contextmenu.mjs +1 -1
- package/fesm2022/primeng-dataview.mjs +11 -36
- package/fesm2022/primeng-dataview.mjs.map +1 -1
- package/fesm2022/primeng-datepicker.mjs +75 -46
- package/fesm2022/primeng-datepicker.mjs.map +1 -1
- package/fesm2022/primeng-defer.mjs +1 -1
- package/fesm2022/primeng-dialog.mjs +99 -109
- package/fesm2022/primeng-dialog.mjs.map +1 -1
- package/fesm2022/primeng-divider.mjs +1 -1
- package/fesm2022/primeng-dock.mjs +2 -2
- package/fesm2022/primeng-dragdrop.mjs +1 -1
- package/fesm2022/primeng-drawer.mjs +3 -3
- package/fesm2022/primeng-drawer.mjs.map +1 -1
- package/fesm2022/primeng-dropdown.mjs +1 -1
- package/fesm2022/primeng-dynamicdialog.mjs +1 -1
- package/fesm2022/primeng-editor.mjs +2 -2
- package/fesm2022/primeng-fieldset.mjs +4 -3
- package/fesm2022/primeng-fieldset.mjs.map +1 -1
- package/fesm2022/primeng-fileupload.mjs +2 -2
- package/fesm2022/primeng-floatlabel.mjs +1 -1
- package/fesm2022/primeng-fluid.mjs +1 -1
- package/fesm2022/primeng-galleria.mjs +1 -1
- package/fesm2022/primeng-iconfield.mjs +1 -1
- package/fesm2022/primeng-icons-baseicon.mjs +1 -1
- package/fesm2022/primeng-iftalabel.mjs +10 -4
- package/fesm2022/primeng-iftalabel.mjs.map +1 -1
- package/fesm2022/primeng-image.mjs +2 -2
- package/fesm2022/primeng-imagecompare.mjs +2 -2
- package/fesm2022/primeng-inplace.mjs +2 -2
- package/fesm2022/primeng-inputgroupaddon.mjs +1 -1
- package/fesm2022/primeng-inputicon.mjs +1 -1
- package/fesm2022/primeng-inputmask.mjs +2 -2
- package/fesm2022/primeng-inputnumber.mjs +11 -2
- package/fesm2022/primeng-inputnumber.mjs.map +1 -1
- package/fesm2022/primeng-inputotp.mjs +2 -2
- package/fesm2022/primeng-inputswitch.mjs +1 -1
- package/fesm2022/primeng-inputtext.mjs +1 -1
- package/fesm2022/primeng-inputtextarea.mjs +1 -1
- package/fesm2022/primeng-keyfilter.mjs +1 -1
- package/fesm2022/primeng-knob.mjs +1 -1
- package/fesm2022/primeng-listbox.mjs +2 -2
- package/fesm2022/primeng-megamenu.mjs +1 -1
- package/fesm2022/primeng-menu.mjs +1 -1
- package/fesm2022/primeng-menubar.mjs +1 -1
- package/fesm2022/primeng-message.mjs +2 -2
- package/fesm2022/primeng-messages.mjs +1 -1
- package/fesm2022/primeng-metergroup.mjs +1 -1
- package/fesm2022/primeng-multiselect.mjs +20 -75
- package/fesm2022/primeng-multiselect.mjs.map +1 -1
- package/fesm2022/primeng-orderlist.mjs +2 -2
- package/fesm2022/primeng-organizationchart.mjs +2 -2
- package/fesm2022/primeng-overlay.mjs +2 -2
- package/fesm2022/primeng-overlaybadge.mjs +1 -1
- package/fesm2022/primeng-overlaypanel.mjs +2 -2
- package/fesm2022/primeng-paginator.mjs +2 -2
- package/fesm2022/primeng-panel.mjs +3 -3
- package/fesm2022/primeng-panelmenu.mjs +2 -2
- package/fesm2022/primeng-password.mjs +3 -2
- package/fesm2022/primeng-password.mjs.map +1 -1
- package/fesm2022/primeng-picklist.mjs +4 -2
- package/fesm2022/primeng-picklist.mjs.map +1 -1
- package/fesm2022/primeng-popover.mjs +3 -3
- package/fesm2022/primeng-progressbar.mjs +2 -2
- package/fesm2022/primeng-progressspinner.mjs +1 -1
- package/fesm2022/primeng-radiobutton.mjs +1 -1
- package/fesm2022/primeng-rating.mjs +2 -2
- package/fesm2022/primeng-scroller.mjs +2 -2
- package/fesm2022/primeng-scrollpanel.mjs +2 -2
- package/fesm2022/primeng-scrolltop.mjs +3 -3
- package/fesm2022/primeng-select.mjs +1 -1
- package/fesm2022/primeng-selectbutton.mjs +2 -2
- package/fesm2022/primeng-sidebar.mjs +2 -2
- package/fesm2022/primeng-skeleton.mjs +1 -1
- package/fesm2022/primeng-slider.mjs +1 -1
- package/fesm2022/primeng-speeddial.mjs +2 -2
- package/fesm2022/primeng-splitbutton.mjs +2 -2
- package/fesm2022/primeng-splitter.mjs +3 -3
- package/fesm2022/primeng-splitter.mjs.map +1 -1
- package/fesm2022/primeng-stepper.mjs +32 -60
- package/fesm2022/primeng-stepper.mjs.map +1 -1
- package/fesm2022/primeng-steps.mjs +1 -1
- package/fesm2022/primeng-styleclass.mjs +1 -1
- package/fesm2022/primeng-table.mjs +81 -450
- package/fesm2022/primeng-table.mjs.map +1 -1
- package/fesm2022/primeng-tabmenu.mjs +2 -2
- package/fesm2022/primeng-tabs.mjs +2 -2
- package/fesm2022/primeng-tabview.mjs +2 -2
- package/fesm2022/primeng-tag.mjs +2 -2
- package/fesm2022/primeng-terminal.mjs +1 -1
- package/fesm2022/primeng-textarea.mjs +1 -1
- package/fesm2022/primeng-tieredmenu.mjs +1 -1
- package/fesm2022/primeng-timeline.mjs +2 -2
- package/fesm2022/primeng-toast.mjs +2 -2
- package/fesm2022/primeng-togglebutton.mjs +2 -2
- package/fesm2022/primeng-toggleswitch.mjs +2 -2
- package/fesm2022/primeng-toolbar.mjs +2 -2
- package/fesm2022/primeng-tree.mjs +18 -88
- package/fesm2022/primeng-tree.mjs.map +1 -1
- package/fesm2022/primeng-treeselect.mjs +2 -2
- package/fesm2022/primeng-treetable.mjs +1 -1
- package/package.json +315 -315
- package/splitter/splitter.d.ts +2 -2
- package/stepper/stepper.d.ts +4 -3
- package/table/table.d.ts +11 -11
- package/table/table.interface.d.ts +13 -13
@@ -1,9 +1,9 @@
|
|
1
1
|
import * as i1 from '@angular/common';
|
2
2
|
import { CommonModule } from '@angular/common';
|
3
3
|
import * as i0 from '@angular/core';
|
4
|
-
import { Injectable, signal, inject,
|
4
|
+
import { Injectable, signal, inject, ViewEncapsulation, ChangeDetectionStrategy, Component, ContentChildren, ContentChild, Input, NgModule } from '@angular/core';
|
5
5
|
import { equals } from '@primeuix/utils';
|
6
|
-
import { Header, Footer, PrimeTemplate
|
6
|
+
import { SharedModule, Header, Footer, PrimeTemplate } from 'primeng/api';
|
7
7
|
import { BaseComponent } from 'primeng/basecomponent';
|
8
8
|
import { BaseStyle } from 'primeng/base';
|
9
9
|
|
@@ -1,9 +1,9 @@
|
|
1
1
|
import * as i1 from '@angular/common';
|
2
2
|
import { isPlatformBrowser, CommonModule } from '@angular/common';
|
3
3
|
import * as i0 from '@angular/core';
|
4
|
-
import { Injectable, EventEmitter, inject,
|
4
|
+
import { Injectable, EventEmitter, inject, numberAttribute, booleanAttribute, ViewEncapsulation, ChangeDetectionStrategy, Component, ContentChildren, ContentChild, ViewChild, Output, Input, NgModule } from '@angular/core';
|
5
5
|
import { uuid, setAttribute, find, getAttribute, findSingle } from '@primeuix/utils';
|
6
|
-
import { Header, Footer, PrimeTemplate
|
6
|
+
import { SharedModule, Header, Footer, PrimeTemplate } from 'primeng/api';
|
7
7
|
import { BaseComponent } from 'primeng/basecomponent';
|
8
8
|
import { Button } from 'primeng/button';
|
9
9
|
import { ChevronRightIcon, ChevronLeftIcon, ChevronDownIcon, ChevronUpIcon } from 'primeng/icons';
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import * as i1 from '@angular/common';
|
2
2
|
import { CommonModule } from '@angular/common';
|
3
3
|
import * as i0 from '@angular/core';
|
4
|
-
import { Injectable, forwardRef, EventEmitter,
|
4
|
+
import { Injectable, forwardRef, EventEmitter, booleanAttribute, numberAttribute, ChangeDetectionStrategy, ViewEncapsulation, Component, Output, Input, signal, inject, computed, effect, ContentChildren, ContentChild, ViewChild, NgModule } from '@angular/core';
|
5
5
|
import { NG_VALUE_ACCESSOR } from '@angular/forms';
|
6
6
|
import { resolveFieldData, isNotEmpty, equals, getOffset, getViewport, getHiddenElementOuterWidth, getOuterWidth, calculateScrollbarWidth, isPrintableCharacter, isEmpty, findSingle, findLastIndex, focus, uuid } from '@primeuix/utils';
|
7
7
|
import * as i2 from 'primeng/api';
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { isPlatformBrowser, CommonModule } from '@angular/common';
|
2
2
|
import * as i0 from '@angular/core';
|
3
|
-
import { EventEmitter, PLATFORM_ID, booleanAttribute,
|
3
|
+
import { EventEmitter, PLATFORM_ID, booleanAttribute, ViewEncapsulation, ChangeDetectionStrategy, Component, Inject, Output, Input, NgModule, Injectable } from '@angular/core';
|
4
4
|
import Chart from 'chart.js/auto';
|
5
5
|
import { SharedModule } from 'primeng/api';
|
6
6
|
import { BaseStyle } from 'primeng/base';
|
@@ -1,10 +1,10 @@
|
|
1
1
|
import * as i1 from '@angular/common';
|
2
2
|
import { CommonModule } from '@angular/common';
|
3
3
|
import * as i0 from '@angular/core';
|
4
|
-
import { Injectable, forwardRef, EventEmitter, signal, inject, booleanAttribute, numberAttribute,
|
4
|
+
import { Injectable, forwardRef, EventEmitter, signal, inject, booleanAttribute, numberAttribute, ViewEncapsulation, ChangeDetectionStrategy, Component, ContentChildren, ContentChild, ViewChild, Output, Input, NgModule } from '@angular/core';
|
5
5
|
import { NG_VALUE_ACCESSOR, NgControl } from '@angular/forms';
|
6
6
|
import { contains, equals } from '@primeuix/utils';
|
7
|
-
import {
|
7
|
+
import { SharedModule, PrimeTemplate } from 'primeng/api';
|
8
8
|
import { BaseComponent } from 'primeng/basecomponent';
|
9
9
|
import { CheckIcon, MinusIcon } from 'primeng/icons';
|
10
10
|
import { BaseStyle } from 'primeng/base';
|
@@ -1,8 +1,8 @@
|
|
1
1
|
import * as i1 from '@angular/common';
|
2
2
|
import { CommonModule } from '@angular/common';
|
3
3
|
import * as i0 from '@angular/core';
|
4
|
-
import { Injectable, EventEmitter, inject, booleanAttribute,
|
5
|
-
import { TranslationKeys,
|
4
|
+
import { Injectable, EventEmitter, inject, booleanAttribute, ViewEncapsulation, ChangeDetectionStrategy, Component, ContentChildren, ContentChild, Input, Output, NgModule } from '@angular/core';
|
5
|
+
import { TranslationKeys, SharedModule, PrimeTemplate } from 'primeng/api';
|
6
6
|
import { BaseComponent } from 'primeng/basecomponent';
|
7
7
|
import { TimesCircleIcon } from 'primeng/icons';
|
8
8
|
import { BaseStyle } from 'primeng/base';
|
@@ -2,7 +2,7 @@ import { trigger, transition, style, animate } from '@angular/animations';
|
|
2
2
|
import * as i2 from '@angular/common';
|
3
3
|
import { isPlatformBrowser, CommonModule } from '@angular/common';
|
4
4
|
import * as i0 from '@angular/core';
|
5
|
-
import { Injectable, forwardRef, EventEmitter, inject, booleanAttribute, numberAttribute,
|
5
|
+
import { Injectable, forwardRef, EventEmitter, inject, booleanAttribute, numberAttribute, ViewEncapsulation, ChangeDetectionStrategy, Component, ViewChild, Output, Input, NgModule } from '@angular/core';
|
6
6
|
import { NG_VALUE_ACCESSOR } from '@angular/forms';
|
7
7
|
import { appendChild, absolutePosition, relativePosition, isTouchDevice } from '@primeuix/utils';
|
8
8
|
import * as i1 from 'primeng/api';
|
@@ -2,10 +2,10 @@ import { animation, style, animate, trigger, transition, useAnimation } from '@a
|
|
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, EventEmitter, inject, booleanAttribute, numberAttribute,
|
5
|
+
import { Injectable, EventEmitter, inject, booleanAttribute, numberAttribute, ViewEncapsulation, ChangeDetectionStrategy, Component, ContentChildren, ContentChild, Output, Input, NgModule } from '@angular/core';
|
6
6
|
import { uuid, findSingle, setAttribute } from '@primeuix/utils';
|
7
7
|
import * as i1 from 'primeng/api';
|
8
|
-
import { ConfirmEventType, TranslationKeys, Footer, PrimeTemplate
|
8
|
+
import { ConfirmEventType, TranslationKeys, SharedModule, Footer, PrimeTemplate } from 'primeng/api';
|
9
9
|
import { BaseComponent } from 'primeng/basecomponent';
|
10
10
|
import { Button } from 'primeng/button';
|
11
11
|
import { Dialog } from 'primeng/dialog';
|
@@ -92,7 +92,7 @@ function ConfirmDialog_Conditional_2_ng_template_0_ng_container_0_Template(rf, c
|
|
92
92
|
i0.ɵɵelementContainer(0);
|
93
93
|
} }
|
94
94
|
function ConfirmDialog_Conditional_2_ng_template_0_Template(rf, ctx) { if (rf & 1) {
|
95
|
-
i0.ɵɵtemplate(0, ConfirmDialog_Conditional_2_ng_template_0_ng_container_0_Template, 1, 0, "ng-container",
|
95
|
+
i0.ɵɵtemplate(0, ConfirmDialog_Conditional_2_ng_template_0_ng_container_0_Template, 1, 0, "ng-container", 6);
|
96
96
|
} if (rf & 2) {
|
97
97
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
98
98
|
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.headlessTemplate || ctx_r1._headlessTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction3(2, _c9, ctx_r1.confirmation, ctx_r1.onAccept.bind(ctx_r1), ctx_r1.onReject.bind(ctx_r1)));
|
@@ -100,38 +100,41 @@ function ConfirmDialog_Conditional_2_ng_template_0_Template(rf, ctx) { if (rf &
|
|
100
100
|
function ConfirmDialog_Conditional_2_Template(rf, ctx) { if (rf & 1) {
|
101
101
|
i0.ɵɵtemplate(0, ConfirmDialog_Conditional_2_ng_template_0_Template, 1, 6, "ng-template", null, 2, i0.ɵɵtemplateRefExtractor);
|
102
102
|
} }
|
103
|
-
function
|
103
|
+
function ConfirmDialog_Conditional_3_Conditional_0_ng_template_0_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
104
104
|
i0.ɵɵelementContainer(0);
|
105
105
|
} }
|
106
|
-
function
|
107
|
-
i0.ɵɵelementStart(0, "div",
|
108
|
-
i0.ɵɵtemplate(1,
|
106
|
+
function ConfirmDialog_Conditional_3_Conditional_0_ng_template_0_Template(rf, ctx) { if (rf & 1) {
|
107
|
+
i0.ɵɵelementStart(0, "div", 7);
|
108
|
+
i0.ɵɵtemplate(1, ConfirmDialog_Conditional_3_Conditional_0_ng_template_0_ng_container_1_Template, 1, 0, "ng-container", 8);
|
109
109
|
i0.ɵɵelementEnd();
|
110
110
|
} if (rf & 2) {
|
111
|
-
const ctx_r1 = i0.ɵɵnextContext(
|
111
|
+
const ctx_r1 = i0.ɵɵnextContext(3);
|
112
112
|
i0.ɵɵproperty("ngClass", ctx_r1.cx("header"));
|
113
113
|
i0.ɵɵadvance();
|
114
114
|
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.headerTemplate || ctx_r1._headerTemplate);
|
115
115
|
} }
|
116
|
+
function ConfirmDialog_Conditional_3_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
117
|
+
i0.ɵɵtemplate(0, ConfirmDialog_Conditional_3_Conditional_0_ng_template_0_Template, 2, 2, "ng-template", null, 4, i0.ɵɵtemplateRefExtractor);
|
118
|
+
} }
|
116
119
|
function ConfirmDialog_Conditional_3_ng_template_1_Conditional_0_0_ng_template_0_Template(rf, ctx) { }
|
117
120
|
function ConfirmDialog_Conditional_3_ng_template_1_Conditional_0_0_Template(rf, ctx) { if (rf & 1) {
|
118
121
|
i0.ɵɵtemplate(0, ConfirmDialog_Conditional_3_ng_template_1_Conditional_0_0_ng_template_0_Template, 0, 0, "ng-template");
|
119
122
|
} }
|
120
123
|
function ConfirmDialog_Conditional_3_ng_template_1_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
121
|
-
i0.ɵɵtemplate(0, ConfirmDialog_Conditional_3_ng_template_1_Conditional_0_0_Template, 1, 0, null,
|
124
|
+
i0.ɵɵtemplate(0, ConfirmDialog_Conditional_3_ng_template_1_Conditional_0_0_Template, 1, 0, null, 8);
|
122
125
|
} if (rf & 2) {
|
123
126
|
const ctx_r1 = i0.ɵɵnextContext(3);
|
124
127
|
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.iconTemplate || ctx_r1._iconTemplate);
|
125
128
|
} }
|
126
129
|
function ConfirmDialog_Conditional_3_ng_template_1_Conditional_1_i_0_Template(rf, ctx) { if (rf & 1) {
|
127
|
-
i0.ɵɵelement(0, "i",
|
130
|
+
i0.ɵɵelement(0, "i", 7);
|
128
131
|
} if (rf & 2) {
|
129
132
|
const ctx_r1 = i0.ɵɵnextContext(4);
|
130
133
|
i0.ɵɵclassMap(ctx_r1.option("icon"));
|
131
134
|
i0.ɵɵproperty("ngClass", ctx_r1.cx("icon"));
|
132
135
|
} }
|
133
136
|
function ConfirmDialog_Conditional_3_ng_template_1_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
134
|
-
i0.ɵɵtemplate(0, ConfirmDialog_Conditional_3_ng_template_1_Conditional_1_i_0_Template, 1, 3, "i",
|
137
|
+
i0.ɵɵtemplate(0, ConfirmDialog_Conditional_3_ng_template_1_Conditional_1_i_0_Template, 1, 3, "i", 11);
|
135
138
|
} if (rf & 2) {
|
136
139
|
const ctx_r1 = i0.ɵɵnextContext(3);
|
137
140
|
i0.ɵɵproperty("ngIf", ctx_r1.option("icon"));
|
@@ -141,19 +144,19 @@ function ConfirmDialog_Conditional_3_ng_template_1_Conditional_2_0_Template(rf,
|
|
141
144
|
i0.ɵɵtemplate(0, ConfirmDialog_Conditional_3_ng_template_1_Conditional_2_0_ng_template_0_Template, 0, 0, "ng-template");
|
142
145
|
} }
|
143
146
|
function ConfirmDialog_Conditional_3_ng_template_1_Conditional_2_Template(rf, ctx) { if (rf & 1) {
|
144
|
-
i0.ɵɵtemplate(0, ConfirmDialog_Conditional_3_ng_template_1_Conditional_2_0_Template, 1, 0, null,
|
147
|
+
i0.ɵɵtemplate(0, ConfirmDialog_Conditional_3_ng_template_1_Conditional_2_0_Template, 1, 0, null, 6);
|
145
148
|
} if (rf & 2) {
|
146
149
|
const ctx_r1 = i0.ɵɵnextContext(3);
|
147
150
|
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.messageTemplate || ctx_r1._messageTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c10, ctx_r1.confirmation));
|
148
151
|
} }
|
149
152
|
function ConfirmDialog_Conditional_3_ng_template_1_Conditional_3_Template(rf, ctx) { if (rf & 1) {
|
150
|
-
i0.ɵɵelement(0, "span",
|
153
|
+
i0.ɵɵelement(0, "span", 10);
|
151
154
|
} if (rf & 2) {
|
152
155
|
const ctx_r1 = i0.ɵɵnextContext(3);
|
153
156
|
i0.ɵɵproperty("ngClass", ctx_r1.cx("message"))("innerHTML", ctx_r1.option("message"), i0.ɵɵsanitizeHtml);
|
154
157
|
} }
|
155
158
|
function ConfirmDialog_Conditional_3_ng_template_1_Template(rf, ctx) { if (rf & 1) {
|
156
|
-
i0.ɵɵtemplate(0, ConfirmDialog_Conditional_3_ng_template_1_Conditional_0_Template, 1, 1)(1, ConfirmDialog_Conditional_3_ng_template_1_Conditional_1_Template, 1, 1, "i",
|
159
|
+
i0.ɵɵtemplate(0, ConfirmDialog_Conditional_3_ng_template_1_Conditional_0_Template, 1, 1)(1, ConfirmDialog_Conditional_3_ng_template_1_Conditional_1_Template, 1, 1, "i", 9)(2, ConfirmDialog_Conditional_3_ng_template_1_Conditional_2_Template, 1, 4)(3, ConfirmDialog_Conditional_3_ng_template_1_Conditional_3_Template, 1, 2, "span", 10);
|
157
160
|
} if (rf & 2) {
|
158
161
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
159
162
|
i0.ɵɵconditional(ctx_r1.iconTemplate || ctx_r1._iconTemplate ? 0 : !ctx_r1.iconTemplate && !ctx_r1._iconTemplate && !ctx_r1._messageTemplate && !ctx_r1.messageTemplate ? 1 : -1);
|
@@ -161,7 +164,7 @@ function ConfirmDialog_Conditional_3_ng_template_1_Template(rf, ctx) { if (rf &
|
|
161
164
|
i0.ɵɵconditional(ctx_r1.messageTemplate || ctx_r1._messageTemplate ? 2 : 3);
|
162
165
|
} }
|
163
166
|
function ConfirmDialog_Conditional_3_Template(rf, ctx) { if (rf & 1) {
|
164
|
-
i0.ɵɵtemplate(0, ConfirmDialog_Conditional_3_Conditional_0_Template, 2,
|
167
|
+
i0.ɵɵtemplate(0, ConfirmDialog_Conditional_3_Conditional_0_Template, 2, 0)(1, ConfirmDialog_Conditional_3_ng_template_1_Template, 4, 2, "ng-template", null, 3, i0.ɵɵtemplateRefExtractor);
|
165
168
|
} if (rf & 2) {
|
166
169
|
const ctx_r1 = i0.ɵɵnextContext();
|
167
170
|
i0.ɵɵconditional(ctx_r1.headerTemplate || ctx_r1._headerTemplate ? 0 : -1);
|
@@ -171,7 +174,7 @@ function ConfirmDialog_ng_template_4_Conditional_0_ng_container_1_Template(rf, c
|
|
171
174
|
} }
|
172
175
|
function ConfirmDialog_ng_template_4_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
173
176
|
i0.ɵɵprojection(0);
|
174
|
-
i0.ɵɵtemplate(1, ConfirmDialog_ng_template_4_Conditional_0_ng_container_1_Template, 1, 0, "ng-container",
|
177
|
+
i0.ɵɵtemplate(1, ConfirmDialog_ng_template_4_Conditional_0_ng_container_1_Template, 1, 0, "ng-container", 8);
|
175
178
|
} if (rf & 2) {
|
176
179
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
177
180
|
i0.ɵɵadvance();
|
@@ -184,7 +187,7 @@ function ConfirmDialog_ng_template_4_Conditional_1_p_button_0_Conditional_1_i_0_
|
|
184
187
|
i0.ɵɵclassMap(ctx_r1.option("rejectIcon"));
|
185
188
|
} }
|
186
189
|
function ConfirmDialog_ng_template_4_Conditional_1_p_button_0_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
187
|
-
i0.ɵɵtemplate(0, ConfirmDialog_ng_template_4_Conditional_1_p_button_0_Conditional_1_i_0_Template, 1, 2, "i",
|
190
|
+
i0.ɵɵtemplate(0, ConfirmDialog_ng_template_4_Conditional_1_p_button_0_Conditional_1_i_0_Template, 1, 2, "i", 15);
|
188
191
|
} if (rf & 2) {
|
189
192
|
const ctx_r1 = i0.ɵɵnextContext(4);
|
190
193
|
i0.ɵɵproperty("ngIf", ctx_r1.option("rejectIcon"));
|
@@ -195,9 +198,9 @@ function ConfirmDialog_ng_template_4_Conditional_1_p_button_0_2_Template(rf, ctx
|
|
195
198
|
} }
|
196
199
|
function ConfirmDialog_ng_template_4_Conditional_1_p_button_0_Template(rf, ctx) { if (rf & 1) {
|
197
200
|
const _r3 = i0.ɵɵgetCurrentView();
|
198
|
-
i0.ɵɵelementStart(0, "p-button",
|
201
|
+
i0.ɵɵelementStart(0, "p-button", 13);
|
199
202
|
i0.ɵɵlistener("onClick", function ConfirmDialog_ng_template_4_Conditional_1_p_button_0_Template_p_button_onClick_0_listener() { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.onReject()); });
|
200
|
-
i0.ɵɵtemplate(1, ConfirmDialog_ng_template_4_Conditional_1_p_button_0_Conditional_1_Template, 1, 1, "i",
|
203
|
+
i0.ɵɵtemplate(1, ConfirmDialog_ng_template_4_Conditional_1_p_button_0_Conditional_1_Template, 1, 1, "i", 14)(2, ConfirmDialog_ng_template_4_Conditional_1_p_button_0_2_Template, 1, 0, null, 8);
|
201
204
|
i0.ɵɵelementEnd();
|
202
205
|
} if (rf & 2) {
|
203
206
|
const ctx_r1 = i0.ɵɵnextContext(3);
|
@@ -214,7 +217,7 @@ function ConfirmDialog_ng_template_4_Conditional_1_p_button_1_Conditional_1_i_0_
|
|
214
217
|
i0.ɵɵclassMap(ctx_r1.option("acceptIcon"));
|
215
218
|
} }
|
216
219
|
function ConfirmDialog_ng_template_4_Conditional_1_p_button_1_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
217
|
-
i0.ɵɵtemplate(0, ConfirmDialog_ng_template_4_Conditional_1_p_button_1_Conditional_1_i_0_Template, 1, 2, "i",
|
220
|
+
i0.ɵɵtemplate(0, ConfirmDialog_ng_template_4_Conditional_1_p_button_1_Conditional_1_i_0_Template, 1, 2, "i", 15);
|
218
221
|
} if (rf & 2) {
|
219
222
|
const ctx_r1 = i0.ɵɵnextContext(4);
|
220
223
|
i0.ɵɵproperty("ngIf", ctx_r1.option("acceptIcon"));
|
@@ -225,9 +228,9 @@ function ConfirmDialog_ng_template_4_Conditional_1_p_button_1_2_Template(rf, ctx
|
|
225
228
|
} }
|
226
229
|
function ConfirmDialog_ng_template_4_Conditional_1_p_button_1_Template(rf, ctx) { if (rf & 1) {
|
227
230
|
const _r4 = i0.ɵɵgetCurrentView();
|
228
|
-
i0.ɵɵelementStart(0, "p-button",
|
231
|
+
i0.ɵɵelementStart(0, "p-button", 13);
|
229
232
|
i0.ɵɵlistener("onClick", function ConfirmDialog_ng_template_4_Conditional_1_p_button_1_Template_p_button_onClick_0_listener() { i0.ɵɵrestoreView(_r4); const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.onAccept()); });
|
230
|
-
i0.ɵɵtemplate(1, ConfirmDialog_ng_template_4_Conditional_1_p_button_1_Conditional_1_Template, 1, 1, "i",
|
233
|
+
i0.ɵɵtemplate(1, ConfirmDialog_ng_template_4_Conditional_1_p_button_1_Conditional_1_Template, 1, 1, "i", 14)(2, ConfirmDialog_ng_template_4_Conditional_1_p_button_1_2_Template, 1, 0, null, 8);
|
231
234
|
i0.ɵɵelementEnd();
|
232
235
|
} if (rf & 2) {
|
233
236
|
const ctx_r1 = i0.ɵɵnextContext(3);
|
@@ -238,7 +241,7 @@ function ConfirmDialog_ng_template_4_Conditional_1_p_button_1_Template(rf, ctx)
|
|
238
241
|
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.acceptIconTemplate || ctx_r1._acceptIconTemplate);
|
239
242
|
} }
|
240
243
|
function ConfirmDialog_ng_template_4_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
241
|
-
i0.ɵɵtemplate(0, ConfirmDialog_ng_template_4_Conditional_1_p_button_0_Template, 3, 6, "p-button",
|
244
|
+
i0.ɵɵtemplate(0, ConfirmDialog_ng_template_4_Conditional_1_p_button_0_Template, 3, 6, "p-button", 12)(1, ConfirmDialog_ng_template_4_Conditional_1_p_button_1_Template, 3, 6, "p-button", 12);
|
242
245
|
} if (rf & 2) {
|
243
246
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
244
247
|
i0.ɵɵproperty("ngIf", ctx_r1.option("rejectVisible"));
|
@@ -690,10 +693,10 @@ class ConfirmDialog extends BaseComponent {
|
|
690
693
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.iconTemplate = _t.first);
|
691
694
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.headlessTemplate = _t.first);
|
692
695
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.templates = _t);
|
693
|
-
} }, inputs: { header: "header", icon: "icon", message: "message", style: "style", styleClass: "styleClass", maskStyleClass: "maskStyleClass", acceptIcon: "acceptIcon", acceptLabel: "acceptLabel", closeAriaLabel: "closeAriaLabel", acceptAriaLabel: "acceptAriaLabel", acceptVisible: [2, "acceptVisible", "acceptVisible", booleanAttribute], rejectIcon: "rejectIcon", rejectLabel: "rejectLabel", rejectAriaLabel: "rejectAriaLabel", rejectVisible: [2, "rejectVisible", "rejectVisible", booleanAttribute], acceptButtonStyleClass: "acceptButtonStyleClass", rejectButtonStyleClass: "rejectButtonStyleClass", closeOnEscape: [2, "closeOnEscape", "closeOnEscape", booleanAttribute], dismissableMask: [2, "dismissableMask", "dismissableMask", booleanAttribute], blockScroll: [2, "blockScroll", "blockScroll", booleanAttribute], rtl: [2, "rtl", "rtl", booleanAttribute], closable: [2, "closable", "closable", booleanAttribute], appendTo: "appendTo", key: "key", autoZIndex: [2, "autoZIndex", "autoZIndex", booleanAttribute], baseZIndex: [2, "baseZIndex", "baseZIndex", numberAttribute], transitionOptions: "transitionOptions", focusTrap: [2, "focusTrap", "focusTrap", booleanAttribute], defaultFocus: "defaultFocus", breakpoints: "breakpoints", visible: "visible", position: "position" }, outputs: { onHide: "onHide" }, standalone: true, features: [i0.ɵɵProvidersFeature([ConfirmDialogStyle]), i0.ɵɵInputTransformsFeature, i0.ɵɵInheritDefinitionFeature, i0.ɵɵStandaloneFeature], ngContentSelectors: _c8, decls: 6, vars: 10, consts: [["dialog", ""], ["footer", ""], ["headless", ""], ["content", ""], ["role", "alertdialog", 3, "visibleChange", "visible", "closable", "styleClass", "modal", "header", "closeOnEscape", "blockScroll", "appendTo", "position"], [4, "ngTemplateOutlet", "ngTemplateOutletContext"], [3, "ngClass"], [4, "ngTemplateOutlet"], [3, "ngClass", "class"], [3, "ngClass", "innerHTML"], [3, "ngClass", "class", 4, "ngIf"], [3, "label", "styleClass", "ariaLabel", "buttonProps", "onClick", 4, "ngIf"], [3, "onClick", "label", "styleClass", "ariaLabel", "buttonProps"], [3, "class"], [3, "class", 4, "ngIf"]], template: function ConfirmDialog_Template(rf, ctx) { if (rf & 1) {
|
696
|
+
} }, inputs: { header: "header", icon: "icon", message: "message", style: "style", styleClass: "styleClass", maskStyleClass: "maskStyleClass", acceptIcon: "acceptIcon", acceptLabel: "acceptLabel", closeAriaLabel: "closeAriaLabel", acceptAriaLabel: "acceptAriaLabel", acceptVisible: [2, "acceptVisible", "acceptVisible", booleanAttribute], rejectIcon: "rejectIcon", rejectLabel: "rejectLabel", rejectAriaLabel: "rejectAriaLabel", rejectVisible: [2, "rejectVisible", "rejectVisible", booleanAttribute], acceptButtonStyleClass: "acceptButtonStyleClass", rejectButtonStyleClass: "rejectButtonStyleClass", closeOnEscape: [2, "closeOnEscape", "closeOnEscape", booleanAttribute], dismissableMask: [2, "dismissableMask", "dismissableMask", booleanAttribute], blockScroll: [2, "blockScroll", "blockScroll", booleanAttribute], rtl: [2, "rtl", "rtl", booleanAttribute], closable: [2, "closable", "closable", booleanAttribute], appendTo: "appendTo", key: "key", autoZIndex: [2, "autoZIndex", "autoZIndex", booleanAttribute], baseZIndex: [2, "baseZIndex", "baseZIndex", numberAttribute], transitionOptions: "transitionOptions", focusTrap: [2, "focusTrap", "focusTrap", booleanAttribute], defaultFocus: "defaultFocus", breakpoints: "breakpoints", visible: "visible", position: "position" }, outputs: { onHide: "onHide" }, standalone: true, features: [i0.ɵɵProvidersFeature([ConfirmDialogStyle]), i0.ɵɵInputTransformsFeature, i0.ɵɵInheritDefinitionFeature, i0.ɵɵStandaloneFeature], ngContentSelectors: _c8, decls: 6, vars: 10, consts: [["dialog", ""], ["footer", ""], ["headless", ""], ["content", ""], ["header", ""], ["role", "alertdialog", 3, "visibleChange", "visible", "closable", "styleClass", "modal", "header", "closeOnEscape", "blockScroll", "appendTo", "position"], [4, "ngTemplateOutlet", "ngTemplateOutletContext"], [3, "ngClass"], [4, "ngTemplateOutlet"], [3, "ngClass", "class"], [3, "ngClass", "innerHTML"], [3, "ngClass", "class", 4, "ngIf"], [3, "label", "styleClass", "ariaLabel", "buttonProps", "onClick", 4, "ngIf"], [3, "onClick", "label", "styleClass", "ariaLabel", "buttonProps"], [3, "class"], [3, "class", 4, "ngIf"]], template: function ConfirmDialog_Template(rf, ctx) { if (rf & 1) {
|
694
697
|
const _r1 = i0.ɵɵgetCurrentView();
|
695
698
|
i0.ɵɵprojectionDef(_c7);
|
696
|
-
i0.ɵɵelementStart(0, "p-dialog",
|
699
|
+
i0.ɵɵelementStart(0, "p-dialog", 5, 0);
|
697
700
|
i0.ɵɵtwoWayListener("visibleChange", function ConfirmDialog_Template_p_dialog_visibleChange_0_listener($event) { i0.ɵɵrestoreView(_r1); i0.ɵɵtwoWayBindingSet(ctx.visible, $event) || (ctx.visible = $event); return i0.ɵɵresetView($event); });
|
698
701
|
i0.ɵɵtemplate(2, ConfirmDialog_Conditional_2_Template, 2, 0)(3, ConfirmDialog_Conditional_3_Template, 3, 1)(4, ConfirmDialog_ng_template_4_Template, 2, 2, "ng-template", null, 1, i0.ɵɵtemplateRefExtractor);
|
699
702
|
i0.ɵɵelementEnd();
|
@@ -726,22 +729,15 @@ class ConfirmDialog extends BaseComponent {
|
|
726
729
|
>
|
727
730
|
@if (headlessTemplate || _headlessTemplate) {
|
728
731
|
<ng-template #headless>
|
729
|
-
<ng-container
|
730
|
-
*ngTemplateOutlet="
|
731
|
-
headlessTemplate || _headlessTemplate;
|
732
|
-
context: {
|
733
|
-
$implicit: confirmation,
|
734
|
-
onAccept: onAccept.bind(this),
|
735
|
-
onReject: onReject.bind(this)
|
736
|
-
}
|
737
|
-
"
|
738
|
-
></ng-container>
|
732
|
+
<ng-container *ngTemplateOutlet="headlessTemplate || _headlessTemplate; context: { $implicit: confirmation, onAccept: onAccept.bind(this), onReject: onReject.bind(this) }"></ng-container>
|
739
733
|
</ng-template>
|
740
734
|
} @else {
|
741
735
|
@if (headerTemplate || _headerTemplate) {
|
742
|
-
<
|
743
|
-
<
|
744
|
-
|
736
|
+
<ng-template #header>
|
737
|
+
<div [ngClass]="cx('header')">
|
738
|
+
<ng-container *ngTemplateOutlet="headerTemplate || _headerTemplate"></ng-container>
|
739
|
+
</div>
|
740
|
+
</ng-template>
|
745
741
|
}
|
746
742
|
|
747
743
|
<ng-template #content>
|
@@ -910,10 +906,7 @@ class ConfirmDialogModule {
|
|
910
906
|
}
|
911
907
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ConfirmDialogModule, [{
|
912
908
|
type: NgModule,
|
913
|
-
args: [{
|
914
|
-
imports: [ConfirmDialog, SharedModule],
|
915
|
-
exports: [ConfirmDialog, SharedModule]
|
916
|
-
}]
|
909
|
+
args: [{ imports: [ConfirmDialog, SharedModule], exports: [ConfirmDialog, SharedModule] }]
|
917
910
|
}], null, null); })();
|
918
911
|
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(ConfirmDialogModule, { imports: [ConfirmDialog, SharedModule], exports: [ConfirmDialog, SharedModule] }); })();
|
919
912
|
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"primeng-confirmdialog.mjs","sources":["../../src/confirmdialog/style/confirmdialogstyle.ts","../../src/confirmdialog/confirmdialog.ts","../../src/confirmdialog/primeng-confirmdialog.ts"],"sourcesContent":["import { Injectable } from '@angular/core';\nimport { BaseStyle } from 'primeng/base';\n\nconst theme = ({ dt }) => `\n.p-confirmdialog .p-dialog-content {\n display: flex;\n align-items: center;\n gap: ${dt('confirmdialog.content.gap')};\n}\n\n.p-confirmdialog-icon {\n color: ${dt('confirmdialog.icon.color')};\n font-size: ${dt('confirmdialog.icon.size')};\n width: ${dt('confirmdialog.icon.size')};\n height: ${dt('confirmdialog.icon.size')};\n}\n`;\n\nconst classes = {\n root: 'p-confirmdialog',\n icon: 'p-confirmdialog-icon',\n message: 'p-confirmdialog-message',\n pcRejectButton: 'p-confirmdialog-reject-button',\n pcAcceptButton: 'p-confirmdialog-accept-button'\n};\n\n@Injectable()\nexport class ConfirmDialogStyle extends BaseStyle {\n name = 'confirmdialog';\n\n theme = theme;\n\n classes = classes;\n}\n\n/**\n *\n * ConfirmDialog uses a Dialog UI with confirmDialog method or <ConfirmDialog> tag.\n *\n * [Live Demo](https://www.primeng.org/confirmdialog)\n *\n * @module confirmdialogstyle\n *\n */\nexport enum ConfirmDialogClasses {\n /**\n * Class name of the root element\n */\n root = 'p-confirmdialog',\n /**\n * Class name of the icon element\n */\n icon = 'p-confirmdialog-icon',\n /**\n * Class name of the message element\n */\n message = 'p-confirmdialog-message',\n /**\n * Class name of the reject button element\n */\n pcRejectButton = 'p-confirmdialog-reject-button',\n /**\n * Class name of the accept button element\n */\n pcAcceptButton = 'p-confirmdialog-accept-button'\n}\n\nexport interface ConfirmDialogStyle extends BaseStyle {}\n","import { animate, animation, style, transition, trigger, useAnimation } from '@angular/animations';\nimport { CommonModule } from '@angular/common';\nimport {\n booleanAttribute,\n ChangeDetectionStrategy,\n Component,\n ContentChild,\n ContentChildren,\n ElementRef,\n EventEmitter,\n inject,\n Input,\n NgModule,\n NgZone,\n numberAttribute,\n OnDestroy,\n OnInit,\n Output,\n QueryList,\n TemplateRef,\n ViewEncapsulation\n} from '@angular/core';\nimport { findSingle, setAttribute, uuid } from '@primeuix/utils';\nimport { Confirmation, ConfirmationService, ConfirmEventType, Footer, PrimeTemplate, SharedModule, TranslationKeys } from 'primeng/api';\nimport { BaseComponent } from 'primeng/basecomponent';\nimport { Button } from 'primeng/button';\nimport { Dialog } from 'primeng/dialog';\nimport { CheckIcon, TimesIcon } from 'primeng/icons';\nimport { Ripple } from 'primeng/ripple';\nimport { Nullable } from 'primeng/ts-helpers';\nimport { Subscription } from 'rxjs';\nimport { ConfirmDialogStyle } from './style/confirmdialogstyle';\n\nconst showAnimation = animation([style({ transform: '{{transform}}', opacity: 0 }), animate('{{transition}}', style({ transform: 'none', opacity: 1 }))]);\n\nconst hideAnimation = animation([animate('{{transition}}', style({ transform: '{{transform}}', opacity: 0 }))]);\n/**\n * ConfirmDialog uses a Dialog UI that is integrated with the Confirmation API.\n * @group Components\n */\n@Component({\n selector: 'p-confirmDialog, p-confirmdialog, p-confirm-dialog',\n standalone: true,\n imports: [CommonModule, Button, Ripple, TimesIcon, CheckIcon, Dialog, SharedModule],\n template: `\n <p-dialog\n #dialog\n [(visible)]=\"visible\"\n role=\"alertdialog\"\n [closable]=\"option('closable')\"\n [styleClass]=\"cx('root')\"\n [modal]=\"true\"\n [header]=\"option('header')\"\n [closeOnEscape]=\"option('closeOnEscape')\"\n [blockScroll]=\"option('blockScroll')\"\n [appendTo]=\"option('appendTo')\"\n [position]=\"position\"\n >\n @if (headlessTemplate || _headlessTemplate) {\n <ng-template #headless>\n <ng-container\n *ngTemplateOutlet=\"\n headlessTemplate || _headlessTemplate;\n context: {\n $implicit: confirmation,\n onAccept: onAccept.bind(this),\n onReject: onReject.bind(this)\n }\n \"\n ></ng-container>\n </ng-template>\n } @else {\n @if (headerTemplate || _headerTemplate) {\n <div [ngClass]=\"cx('header')\">\n <ng-container *ngTemplateOutlet=\"headerTemplate || _headerTemplate\"></ng-container>\n </div>\n }\n\n <ng-template #content>\n @if (iconTemplate || _iconTemplate) {\n <ng-template *ngTemplateOutlet=\"iconTemplate || _iconTemplate\"></ng-template>\n } @else if (!iconTemplate && !_iconTemplate && !_messageTemplate && !messageTemplate) {\n <i [ngClass]=\"cx('icon')\" [class]=\"option('icon')\" *ngIf=\"option('icon')\"></i>\n }\n @if (messageTemplate || _messageTemplate) {\n <ng-template *ngTemplateOutlet=\"messageTemplate || _messageTemplate; context: { $implicit: confirmation }\"></ng-template>\n } @else {\n <span [ngClass]=\"cx('message')\" [innerHTML]=\"option('message')\"> </span>\n }\n </ng-template>\n }\n <ng-template #footer>\n @if (footerTemplate || _footerTemplate) {\n <ng-content select=\"p-footer\"></ng-content>\n <ng-container *ngTemplateOutlet=\"footerTemplate || _footerTemplate\"></ng-container>\n }\n @if (!footerTemplate && !_footerTemplate) {\n <p-button\n *ngIf=\"option('rejectVisible')\"\n [label]=\"rejectButtonLabel\"\n (onClick)=\"onReject()\"\n [styleClass]=\"getButtonStyleClass('pcRejectButton', 'rejectButtonStyleClass')\"\n [ariaLabel]=\"option('rejectButtonProps', 'ariaLabel')\"\n [buttonProps]=\"getRejectButtonProps()\"\n >\n @if (rejectIcon && !rejectIconTemplate && !_rejectIconTemplate) {\n <i *ngIf=\"option('rejectIcon')\" [class]=\"option('rejectIcon')\"></i>\n }\n <ng-template *ngTemplateOutlet=\"rejectIconTemplate || _rejectIconTemplate\"></ng-template>\n </p-button>\n <p-button\n [label]=\"acceptButtonLabel\"\n (onClick)=\"onAccept()\"\n [styleClass]=\"getButtonStyleClass('pcAcceptButton', 'acceptButtonStyleClass')\"\n *ngIf=\"option('acceptVisible')\"\n [ariaLabel]=\"option('acceptButtonProps', 'ariaLabel')\"\n [buttonProps]=\"getAcceptButtonProps()\"\n >\n @if (acceptIcon && !_acceptIconTemplate && !acceptIconTemplate) {\n <i *ngIf=\"option('acceptIcon')\" [class]=\"option('acceptIcon')\"></i>\n }\n <ng-template *ngTemplateOutlet=\"acceptIconTemplate || _acceptIconTemplate\"></ng-template>\n </p-button>\n }\n </ng-template>\n </p-dialog>\n `,\n animations: [trigger('animation', [transition('void => visible', [useAnimation(showAnimation)]), transition('visible => void', [useAnimation(hideAnimation)])])],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n providers: [ConfirmDialogStyle]\n})\nexport class ConfirmDialog extends BaseComponent implements OnInit, OnDestroy {\n /**\n * Title text of the dialog.\n * @group Props\n */\n @Input() header: string | undefined;\n /**\n * Icon to display next to message.\n * @group Props\n */\n @Input() icon: string | undefined;\n /**\n * Message of the confirmation.\n * @group Props\n */\n @Input() message: string | undefined;\n /**\n * Inline style of the element.\n * @group Props\n */\n @Input() get style(): { [klass: string]: any } | null | undefined {\n return this._style;\n }\n set style(value: { [klass: string]: any } | null | undefined) {\n this._style = value;\n this.cd.markForCheck();\n }\n /**\n * Class of the element.\n * @group Props\n */\n @Input() styleClass: string | undefined;\n /**\n * Specify the CSS class(es) for styling the mask element\n * @group Props\n */\n @Input() maskStyleClass: string | undefined;\n /**\n * Icon of the accept button.\n * @group Props\n */\n @Input() acceptIcon: string | undefined;\n /**\n * Label of the accept button.\n * @group Props\n */\n @Input() acceptLabel: string | undefined;\n /**\n * Defines a string that labels the close button for accessibility.\n * @group Props\n */\n @Input() closeAriaLabel: string | undefined;\n /**\n * Defines a string that labels the accept button for accessibility.\n * @group Props\n */\n @Input() acceptAriaLabel: string | undefined;\n /**\n * Visibility of the accept button.\n * @group Props\n */\n @Input({ transform: booleanAttribute }) acceptVisible: boolean = true;\n /**\n * Icon of the reject button.\n * @group Props\n */\n @Input() rejectIcon: string | undefined;\n /**\n * Label of the reject button.\n * @group Props\n */\n @Input() rejectLabel: string | undefined;\n /**\n * Defines a string that labels the reject button for accessibility.\n * @group Props\n */\n @Input() rejectAriaLabel: string | undefined;\n /**\n * Visibility of the reject button.\n * @group Props\n */\n @Input({ transform: booleanAttribute }) rejectVisible: boolean = true;\n /**\n * Style class of the accept button.\n * @group Props\n */\n @Input() acceptButtonStyleClass: string | undefined;\n /**\n * Style class of the reject button.\n * @group Props\n */\n @Input() rejectButtonStyleClass: string | undefined;\n /**\n * Specifies if pressing escape key should hide the dialog.\n * @group Props\n */\n @Input({ transform: booleanAttribute }) closeOnEscape: boolean = true;\n /**\n * Specifies if clicking the modal background should hide the dialog.\n * @group Props\n */\n @Input({ transform: booleanAttribute }) dismissableMask: boolean | undefined;\n /**\n * Determines whether scrolling behavior should be blocked within the component.\n * @group Props\n */\n @Input({ transform: booleanAttribute }) blockScroll: boolean = true;\n /**\n * When enabled dialog is displayed in RTL direction.\n * @group Props\n */\n @Input({ transform: booleanAttribute }) rtl: boolean = false;\n /**\n * Adds a close icon to the header to hide the dialog.\n * @group Props\n */\n @Input({ transform: booleanAttribute }) closable: boolean = true;\n /**\n * Target element to attach the dialog, valid values are \"body\" or a local ng-template variable of another element (note: use binding with brackets for template variables, e.g. [appendTo]=\"mydiv\" for a div element having #mydiv as variable name).\n * @group Props\n */\n @Input() appendTo: HTMLElement | ElementRef | TemplateRef<any> | string | null | undefined | any = 'body';\n /**\n * Optional key to match the key of confirm object, necessary to use when component tree has multiple confirm dialogs.\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 * Transition options of the animation.\n * @group Props\n */\n @Input() transitionOptions: string = '150ms cubic-bezier(0, 0, 0.2, 1)';\n /**\n * When enabled, can only focus on elements inside the confirm dialog.\n * @group Props\n */\n @Input({ transform: booleanAttribute }) focusTrap: boolean = true;\n /**\n * Element to receive the focus when the dialog gets visible.\n * @group Props\n */\n @Input() defaultFocus: 'accept' | 'reject' | 'close' | 'none' = 'accept';\n /**\n * Object literal to define widths per screen size.\n * @group Props\n */\n @Input() breakpoints: any;\n /**\n * Current visible state as a boolean.\n * @group Props\n */\n @Input() get visible(): any {\n return this._visible;\n }\n\n set visible(value: any) {\n this._visible = value;\n\n if (this._visible && !this.maskVisible) {\n this.maskVisible = true;\n }\n\n this.cd.markForCheck();\n }\n /**\n * Allows getting the position of the component.\n * @group Props\n */\n @Input() get position(): string {\n return this._position;\n }\n set position(value: string) {\n this._position = value;\n\n switch (value) {\n case 'topleft':\n case 'bottomleft':\n case 'left':\n this.transformOptions = 'translate3d(-100%, 0px, 0px)';\n break;\n case 'topright':\n case 'bottomright':\n case 'right':\n this.transformOptions = 'translate3d(100%, 0px, 0px)';\n break;\n case 'bottom':\n this.transformOptions = 'translate3d(0px, 100%, 0px)';\n break;\n case 'top':\n this.transformOptions = 'translate3d(0px, -100%, 0px)';\n break;\n default:\n this.transformOptions = 'scale(0.7)';\n break;\n }\n }\n /**\n * Callback to invoke when dialog is hidden.\n * @param {ConfirmEventType} enum - Custom confirm event.\n * @group Emits\n */\n @Output() onHide: EventEmitter<ConfirmEventType> = new EventEmitter<ConfirmEventType>();\n\n @ContentChild(Footer) footer: Nullable<TemplateRef<any>>;\n\n _componentStyle = inject(ConfirmDialogStyle);\n\n @ContentChild('header', { descendants: false }) headerTemplate: Nullable<TemplateRef<any>>;\n\n @ContentChild('footer', { descendants: false }) footerTemplate: Nullable<TemplateRef<any>>;\n\n @ContentChild('rejecticon', { descendants: false }) rejectIconTemplate: Nullable<TemplateRef<any>>;\n\n @ContentChild('accepticon', { descendants: false }) acceptIconTemplate: Nullable<TemplateRef<any>>;\n\n @ContentChild('message', { descendants: false }) messageTemplate: Nullable<TemplateRef<any>>;\n\n @ContentChild('icon', { descendants: false }) iconTemplate: Nullable<TemplateRef<any>>;\n\n @ContentChild('headless', { descendants: false }) headlessTemplate: Nullable<TemplateRef<any>>;\n\n @ContentChildren(PrimeTemplate) templates: QueryList<PrimeTemplate> | undefined;\n\n _headerTemplate: TemplateRef<any> | undefined;\n\n _footerTemplate: TemplateRef<any> | undefined;\n\n _rejectIconTemplate: TemplateRef<any> | undefined;\n\n _acceptIconTemplate: TemplateRef<any> | undefined;\n\n _messageTemplate: TemplateRef<any> | undefined;\n\n _iconTemplate: TemplateRef<any> | undefined;\n\n _headlessTemplate: TemplateRef<any> | undefined;\n\n confirmation: Nullable<Confirmation>;\n\n _visible: boolean | undefined;\n\n _style: { [klass: string]: any } | null | undefined;\n\n maskVisible: boolean | undefined;\n\n dialog: Nullable<Dialog>;\n\n wrapper: Nullable<HTMLElement>;\n\n contentContainer: Nullable<HTMLDivElement>;\n\n subscription: Subscription;\n\n preWidth: number | undefined;\n\n _position: string = 'center';\n\n transformOptions: any = 'scale(0.7)';\n\n styleElement: any;\n\n id = uuid('pn_id_');\n\n ariaLabelledBy: string = this.getAriaLabelledBy();\n\n translationSubscription: Subscription | undefined;\n\n constructor(\n private confirmationService: ConfirmationService,\n public zone: NgZone\n ) {\n super();\n this.subscription = this.confirmationService.requireConfirmation$.subscribe((confirmation) => {\n if (!confirmation) {\n this.hide();\n return;\n }\n if (confirmation.key === this.key) {\n this.confirmation = confirmation;\n\n const keys = Object.keys(confirmation);\n\n keys.forEach((key) => {\n this[key] = confirmation[key];\n });\n\n if (this.confirmation.accept) {\n this.confirmation.acceptEvent = new EventEmitter();\n this.confirmation.acceptEvent.subscribe(this.confirmation.accept);\n }\n\n if (this.confirmation.reject) {\n this.confirmation.rejectEvent = new EventEmitter();\n this.confirmation.rejectEvent.subscribe(this.confirmation.reject);\n }\n\n this.visible = true;\n }\n });\n }\n\n ngOnInit() {\n super.ngOnInit();\n if (this.breakpoints) {\n this.createStyle();\n }\n\n this.translationSubscription = this.config.translationObserver.subscribe(() => {\n if (this.visible) {\n this.cd.markForCheck();\n }\n });\n }\n\n ngAfterContentInit() {\n this.templates?.forEach((item) => {\n switch (item.getType()) {\n case 'header':\n this._headerTemplate = item.template;\n break;\n\n case 'footer':\n this._footerTemplate = item.template;\n break;\n\n case 'message':\n this._messageTemplate = item.template;\n break;\n\n case 'icon':\n this._iconTemplate = item.template;\n break;\n\n case 'rejecticon':\n this._rejectIconTemplate = item.template;\n break;\n\n case 'accepticon':\n this._acceptIconTemplate = item.template;\n break;\n\n case 'headless':\n this._headlessTemplate = item.template;\n break;\n }\n });\n }\n\n getAriaLabelledBy() {\n return this.header !== null ? uuid('pn_id_') + '_header' : null;\n }\n\n option(name: string, k?: string) {\n const source: { [key: string]: any } = this || this;\n if (source.hasOwnProperty(name)) {\n if (k) {\n return source[k];\n }\n return source[name];\n }\n\n return undefined;\n }\n\n getButtonStyleClass(cx: string, opt: string): string {\n const cxClass = this.cx(cx);\n const optionClass = this.option(opt);\n\n return [cxClass, optionClass].filter(Boolean).join(' ');\n }\n\n getElementToFocus() {\n switch (this.option('defaultFocus')) {\n case 'accept':\n return findSingle(this.dialog.el.nativeElement, '.p-confirm-dialog-accept');\n\n case 'reject':\n return findSingle(this.dialog.el.nativeElement, '.p-confirm-dialog-reject');\n\n case 'close':\n return findSingle(this.dialog.el.nativeElement, '.p-dialog-header-close');\n\n case 'none':\n return null;\n\n //backward compatibility\n default:\n return findSingle(this.dialog.el.nativeElement, '.p-confirm-dialog-accept');\n }\n }\n\n createStyle() {\n if (!this.styleElement) {\n this.styleElement = this.document.createElement('style');\n this.styleElement.type = 'text/css';\n this.document.head.appendChild(this.styleElement);\n let innerHTML = '';\n for (let breakpoint in this.breakpoints) {\n innerHTML += `\n @media screen and (max-width: ${breakpoint}) {\n .p-dialog[${this.id}] {\n width: ${this.breakpoints[breakpoint]} !important;\n }\n }\n `;\n }\n\n this.styleElement.innerHTML = innerHTML;\n setAttribute(this.styleElement, 'nonce', this.config?.csp()?.nonce);\n }\n }\n\n close(event: Event) {\n if (this.confirmation?.rejectEvent) {\n this.confirmation.rejectEvent.emit(ConfirmEventType.CANCEL);\n }\n\n this.hide(ConfirmEventType.CANCEL);\n event.preventDefault();\n }\n\n hide(type?: ConfirmEventType) {\n this.onHide.emit(type);\n this.visible = false;\n this.confirmation = null;\n }\n\n destroyStyle() {\n if (this.styleElement) {\n this.document.head.removeChild(this.styleElement);\n this.styleElement = null;\n }\n }\n\n ngOnDestroy() {\n this.subscription.unsubscribe();\n\n if (this.translationSubscription) {\n this.translationSubscription.unsubscribe();\n }\n\n this.destroyStyle();\n super.ngOnDestroy();\n }\n\n onAccept() {\n if (this.confirmation && this.confirmation.acceptEvent) {\n this.confirmation.acceptEvent.emit();\n }\n this.hide(ConfirmEventType.ACCEPT);\n }\n\n onReject() {\n if (this.confirmation && this.confirmation.rejectEvent) {\n this.confirmation.rejectEvent.emit(ConfirmEventType.REJECT);\n }\n\n this.hide(ConfirmEventType.REJECT);\n }\n\n get acceptButtonLabel(): string {\n return this.option('acceptLabel') || this.config.getTranslation(TranslationKeys.ACCEPT);\n }\n\n get rejectButtonLabel(): string {\n return this.option('rejectLabel') || this.config.getTranslation(TranslationKeys.REJECT);\n }\n\n getAcceptButtonProps() {\n return this.option('acceptButtonProps');\n }\n\n getRejectButtonProps() {\n return this.option('rejectButtonProps');\n }\n}\n\n@NgModule({\n imports: [ConfirmDialog, SharedModule],\n exports: [ConfirmDialog, SharedModule]\n})\nexport class ConfirmDialogModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;AAGA,MAAM,KAAK,GAAG,CAAC,EAAE,EAAE,EAAE,KAAK;;;;YAId,EAAE,CAAC,2BAA2B,CAAC,CAAA;;;;aAI9B,EAAE,CAAC,0BAA0B,CAAC,CAAA;iBAC1B,EAAE,CAAC,yBAAyB,CAAC,CAAA;aACjC,EAAE,CAAC,yBAAyB,CAAC,CAAA;cAC5B,EAAE,CAAC,yBAAyB,CAAC,CAAA;;CAE1C;AAED,MAAM,OAAO,GAAG;AACZ,IAAA,IAAI,EAAE,iBAAiB;AACvB,IAAA,IAAI,EAAE,sBAAsB;AAC5B,IAAA,OAAO,EA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AAA,CAAA;kBAAzD,YAAY;AAAC,YAAA,IAAA,EAAA,CAAA,MAAM,EAAE,EAAE,WAAW,EAAE,KAAK,EAAE;YAEM,gBAAgB,EAAA,CAAA;kBAAjE,YAAY;AAAC,YAAA,IAAA,EAAA,CAAA,UAAU,EAAE,EAAE,WAAW,EAAE,KAAK,EAAE;YAEhB,SAAS,EAAA,CAAA;kBAAxC,eAAe;mBAAC,aAAa;;kFAvOrB,aAAa,EAAA,EAAA,SAAA,EAAA,eAAA,EAAA,CAAA,CAAA,EAAA,GAAA;MA2eb,mBAAmB,CAAA;6GAAnB,mBAAmB,GAAA,CAAA,EAAA;4DAAnB,mBAAmB,EAAA,CAAA;gEAHlB,aAAa,EAAE,YAAY,EACZ,YAAY,CAAA,EAAA,CAAA;;iFAE5B,mBAAmB,EAAA,CAAA;cAJ/B,QAAQ;AAAC,QAAA,IAAA,EAAA,CAAA;AACN,gBAAA,OAAO,EAAE,CAAC,aAAa,EAAE,YAAY,CAAC;AACtC,gBAAA,OAAO,EAAE,CAAC,aAAa,EAAE,YAAY;AACxC,aAAA;;AACY,CAAA,YAAA,EAAA,CAAA,OAAA,SAAA,KAAA,WAAA,IAAA,SAAA,KAAA,EAAA,CAAA,kBAAA,CAAA,mBAAmB,cA3enB,aAAa,EAweG,YAAY,CAxe5B,EAAA,OAAA,EAAA,CAAA,aAAa,EAyeG,YAAY,CAAA,EAAA,CAAA,CAAA,EAAA,GAAA;;AC7mBzC;;AAEG;;;;"}
|
1
|
+
{"version":3,"file":"primeng-confirmdialog.mjs","sources":["../../src/confirmdialog/style/confirmdialogstyle.ts","../../src/confirmdialog/confirmdialog.ts","../../src/confirmdialog/primeng-confirmdialog.ts"],"sourcesContent":["import { Injectable } from '@angular/core';\nimport { BaseStyle } from 'primeng/base';\n\nconst theme = ({ dt }) => `\n.p-confirmdialog .p-dialog-content {\n display: flex;\n align-items: center;\n gap: ${dt('confirmdialog.content.gap')};\n}\n\n.p-confirmdialog-icon {\n color: ${dt('confirmdialog.icon.color')};\n font-size: ${dt('confirmdialog.icon.size')};\n width: ${dt('confirmdialog.icon.size')};\n height: ${dt('confirmdialog.icon.size')};\n}\n`;\n\nconst classes = {\n root: 'p-confirmdialog',\n icon: 'p-confirmdialog-icon',\n message: 'p-confirmdialog-message',\n pcRejectButton: 'p-confirmdialog-reject-button',\n pcAcceptButton: 'p-confirmdialog-accept-button'\n};\n\n@Injectable()\nexport class ConfirmDialogStyle extends BaseStyle {\n name = 'confirmdialog';\n\n theme = theme;\n\n classes = classes;\n}\n\n/**\n *\n * ConfirmDialog uses a Dialog UI with confirmDialog method or <ConfirmDialog> tag.\n *\n * [Live Demo](https://www.primeng.org/confirmdialog)\n *\n * @module confirmdialogstyle\n *\n */\nexport enum ConfirmDialogClasses {\n /**\n * Class name of the root element\n */\n root = 'p-confirmdialog',\n /**\n * Class name of the icon element\n */\n icon = 'p-confirmdialog-icon',\n /**\n * Class name of the message element\n */\n message = 'p-confirmdialog-message',\n /**\n * Class name of the reject button element\n */\n pcRejectButton = 'p-confirmdialog-reject-button',\n /**\n * Class name of the accept button element\n */\n pcAcceptButton = 'p-confirmdialog-accept-button'\n}\n\nexport interface ConfirmDialogStyle extends BaseStyle {}\n","import { animate, animation, style, transition, trigger, useAnimation } from '@angular/animations';\nimport { CommonModule } from '@angular/common';\nimport {\n booleanAttribute,\n ChangeDetectionStrategy,\n Component,\n ContentChild,\n ContentChildren,\n ElementRef,\n EventEmitter,\n inject,\n Input,\n NgModule,\n NgZone,\n numberAttribute,\n OnDestroy,\n OnInit,\n Output,\n QueryList,\n TemplateRef,\n ViewEncapsulation\n} from '@angular/core';\nimport { findSingle, setAttribute, uuid } from '@primeuix/utils';\nimport { Confirmation, ConfirmationService, ConfirmEventType, Footer, PrimeTemplate, SharedModule, TranslationKeys } from 'primeng/api';\nimport { BaseComponent } from 'primeng/basecomponent';\nimport { Button } from 'primeng/button';\nimport { Dialog } from 'primeng/dialog';\nimport { CheckIcon, TimesIcon } from 'primeng/icons';\nimport { Ripple } from 'primeng/ripple';\nimport { Nullable } from 'primeng/ts-helpers';\nimport { Subscription } from 'rxjs';\nimport { ConfirmDialogStyle } from './style/confirmdialogstyle';\n\nconst showAnimation = animation([style({ transform: '{{transform}}', opacity: 0 }), animate('{{transition}}', style({ transform: 'none', opacity: 1 }))]);\n\nconst hideAnimation = animation([animate('{{transition}}', style({ transform: '{{transform}}', opacity: 0 }))]);\n/**\n * ConfirmDialog uses a Dialog UI that is integrated with the Confirmation API.\n * @group Components\n */\n@Component({\n selector: 'p-confirmDialog, p-confirmdialog, p-confirm-dialog',\n standalone: true,\n imports: [CommonModule, Button, Ripple, TimesIcon, CheckIcon, Dialog, SharedModule],\n template: `\n <p-dialog\n #dialog\n [(visible)]=\"visible\"\n role=\"alertdialog\"\n [closable]=\"option('closable')\"\n [styleClass]=\"cx('root')\"\n [modal]=\"true\"\n [header]=\"option('header')\"\n [closeOnEscape]=\"option('closeOnEscape')\"\n [blockScroll]=\"option('blockScroll')\"\n [appendTo]=\"option('appendTo')\"\n [position]=\"position\"\n >\n @if (headlessTemplate || _headlessTemplate) {\n <ng-template #headless>\n <ng-container *ngTemplateOutlet=\"headlessTemplate || _headlessTemplate; context: { $implicit: confirmation, onAccept: onAccept.bind(this), onReject: onReject.bind(this) }\"></ng-container>\n </ng-template>\n } @else {\n @if (headerTemplate || _headerTemplate) {\n <ng-template #header>\n <div [ngClass]=\"cx('header')\">\n <ng-container *ngTemplateOutlet=\"headerTemplate || _headerTemplate\"></ng-container>\n </div>\n </ng-template>\n }\n\n <ng-template #content>\n @if (iconTemplate || _iconTemplate) {\n <ng-template *ngTemplateOutlet=\"iconTemplate || _iconTemplate\"></ng-template>\n } @else if (!iconTemplate && !_iconTemplate && !_messageTemplate && !messageTemplate) {\n <i [ngClass]=\"cx('icon')\" [class]=\"option('icon')\" *ngIf=\"option('icon')\"></i>\n }\n @if (messageTemplate || _messageTemplate) {\n <ng-template *ngTemplateOutlet=\"messageTemplate || _messageTemplate; context: { $implicit: confirmation }\"></ng-template>\n } @else {\n <span [ngClass]=\"cx('message')\" [innerHTML]=\"option('message')\"> </span>\n }\n </ng-template>\n }\n <ng-template #footer>\n @if (footerTemplate || _footerTemplate) {\n <ng-content select=\"p-footer\"></ng-content>\n <ng-container *ngTemplateOutlet=\"footerTemplate || _footerTemplate\"></ng-container>\n }\n @if (!footerTemplate && !_footerTemplate) {\n <p-button\n *ngIf=\"option('rejectVisible')\"\n [label]=\"rejectButtonLabel\"\n (onClick)=\"onReject()\"\n [styleClass]=\"getButtonStyleClass('pcRejectButton', 'rejectButtonStyleClass')\"\n [ariaLabel]=\"option('rejectButtonProps', 'ariaLabel')\"\n [buttonProps]=\"getRejectButtonProps()\"\n >\n @if (rejectIcon && !rejectIconTemplate && !_rejectIconTemplate) {\n <i *ngIf=\"option('rejectIcon')\" [class]=\"option('rejectIcon')\"></i>\n }\n <ng-template *ngTemplateOutlet=\"rejectIconTemplate || _rejectIconTemplate\"></ng-template>\n </p-button>\n <p-button\n [label]=\"acceptButtonLabel\"\n (onClick)=\"onAccept()\"\n [styleClass]=\"getButtonStyleClass('pcAcceptButton', 'acceptButtonStyleClass')\"\n *ngIf=\"option('acceptVisible')\"\n [ariaLabel]=\"option('acceptButtonProps', 'ariaLabel')\"\n [buttonProps]=\"getAcceptButtonProps()\"\n >\n @if (acceptIcon && !_acceptIconTemplate && !acceptIconTemplate) {\n <i *ngIf=\"option('acceptIcon')\" [class]=\"option('acceptIcon')\"></i>\n }\n <ng-template *ngTemplateOutlet=\"acceptIconTemplate || _acceptIconTemplate\"></ng-template>\n </p-button>\n }\n </ng-template>\n </p-dialog>\n `,\n animations: [trigger('animation', [transition('void => visible', [useAnimation(showAnimation)]), transition('visible => void', [useAnimation(hideAnimation)])])],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n providers: [ConfirmDialogStyle]\n})\nexport class ConfirmDialog extends BaseComponent implements OnInit, OnDestroy {\n /**\n * Title text of the dialog.\n * @group Props\n */\n @Input() header: string | undefined;\n /**\n * Icon to display next to message.\n * @group Props\n */\n @Input() icon: string | undefined;\n /**\n * Message of the confirmation.\n * @group Props\n */\n @Input() message: string | undefined;\n /**\n * Inline style of the element.\n * @group Props\n */\n @Input() get style(): { [klass: string]: any } | null | undefined {\n return this._style;\n }\n set style(value: { [klass: string]: any } | null | undefined) {\n this._style = value;\n this.cd.markForCheck();\n }\n /**\n * Class of the element.\n * @group Props\n */\n @Input() styleClass: string | undefined;\n /**\n * Specify the CSS class(es) for styling the mask element\n * @group Props\n */\n @Input() maskStyleClass: string | undefined;\n /**\n * Icon of the accept button.\n * @group Props\n */\n @Input() acceptIcon: string | undefined;\n /**\n * Label of the accept button.\n * @group Props\n */\n @Input() acceptLabel: string | undefined;\n /**\n * Defines a string that labels the close button for accessibility.\n * @group Props\n */\n @Input() closeAriaLabel: string | undefined;\n /**\n * Defines a string that labels the accept button for accessibility.\n * @group Props\n */\n @Input() acceptAriaLabel: string | undefined;\n /**\n * Visibility of the accept button.\n * @group Props\n */\n @Input({ transform: booleanAttribute }) acceptVisible: boolean = true;\n /**\n * Icon of the reject button.\n * @group Props\n */\n @Input() rejectIcon: string | undefined;\n /**\n * Label of the reject button.\n * @group Props\n */\n @Input() rejectLabel: string | undefined;\n /**\n * Defines a string that labels the reject button for accessibility.\n * @group Props\n */\n @Input() rejectAriaLabel: string | undefined;\n /**\n * Visibility of the reject button.\n * @group Props\n */\n @Input({ transform: booleanAttribute }) rejectVisible: boolean = true;\n /**\n * Style class of the accept button.\n * @group Props\n */\n @Input() acceptButtonStyleClass: string | undefined;\n /**\n * Style class of the reject button.\n * @group Props\n */\n @Input() rejectButtonStyleClass: string | undefined;\n /**\n * Specifies if pressing escape key should hide the dialog.\n * @group Props\n */\n @Input({ transform: booleanAttribute }) closeOnEscape: boolean = true;\n /**\n * Specifies if clicking the modal background should hide the dialog.\n * @group Props\n */\n @Input({ transform: booleanAttribute }) dismissableMask: boolean | undefined;\n /**\n * Determines whether scrolling behavior should be blocked within the component.\n * @group Props\n */\n @Input({ transform: booleanAttribute }) blockScroll: boolean = true;\n /**\n * When enabled dialog is displayed in RTL direction.\n * @group Props\n */\n @Input({ transform: booleanAttribute }) rtl: boolean = false;\n /**\n * Adds a close icon to the header to hide the dialog.\n * @group Props\n */\n @Input({ transform: booleanAttribute }) closable: boolean = true;\n /**\n * Target element to attach the dialog, valid values are \"body\" or a local ng-template variable of another element (note: use binding with brackets for template variables, e.g. [appendTo]=\"mydiv\" for a div element having #mydiv as variable name).\n * @group Props\n */\n @Input() appendTo: HTMLElement | ElementRef | TemplateRef<any> | string | null | undefined | any = 'body';\n /**\n * Optional key to match the key of confirm object, necessary to use when component tree has multiple confirm dialogs.\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 * Transition options of the animation.\n * @group Props\n */\n @Input() transitionOptions: string = '150ms cubic-bezier(0, 0, 0.2, 1)';\n /**\n * When enabled, can only focus on elements inside the confirm dialog.\n * @group Props\n */\n @Input({ transform: booleanAttribute }) focusTrap: boolean = true;\n /**\n * Element to receive the focus when the dialog gets visible.\n * @group Props\n */\n @Input() defaultFocus: 'accept' | 'reject' | 'close' | 'none' = 'accept';\n /**\n * Object literal to define widths per screen size.\n * @group Props\n */\n @Input() breakpoints: any;\n /**\n * Current visible state as a boolean.\n * @group Props\n */\n @Input() get visible(): any {\n return this._visible;\n }\n\n set visible(value: any) {\n this._visible = value;\n\n if (this._visible && !this.maskVisible) {\n this.maskVisible = true;\n }\n\n this.cd.markForCheck();\n }\n /**\n * Allows getting the position of the component.\n * @group Props\n */\n @Input() get position(): string {\n return this._position;\n }\n set position(value: string) {\n this._position = value;\n\n switch (value) {\n case 'topleft':\n case 'bottomleft':\n case 'left':\n this.transformOptions = 'translate3d(-100%, 0px, 0px)';\n break;\n case 'topright':\n case 'bottomright':\n case 'right':\n this.transformOptions = 'translate3d(100%, 0px, 0px)';\n break;\n case 'bottom':\n this.transformOptions = 'translate3d(0px, 100%, 0px)';\n break;\n case 'top':\n this.transformOptions = 'translate3d(0px, -100%, 0px)';\n break;\n default:\n this.transformOptions = 'scale(0.7)';\n break;\n }\n }\n /**\n * Callback to invoke when dialog is hidden.\n * @param {ConfirmEventType} enum - Custom confirm event.\n * @group Emits\n */\n @Output() onHide: EventEmitter<ConfirmEventType> = new EventEmitter<ConfirmEventType>();\n\n @ContentChild(Footer) footer: Nullable<TemplateRef<any>>;\n\n _componentStyle = inject(ConfirmDialogStyle);\n\n @ContentChild('header', { descendants: false }) headerTemplate: Nullable<TemplateRef<any>>;\n\n @ContentChild('footer', { descendants: false }) footerTemplate: Nullable<TemplateRef<any>>;\n\n @ContentChild('rejecticon', { descendants: false }) rejectIconTemplate: Nullable<TemplateRef<any>>;\n\n @ContentChild('accepticon', { descendants: false }) acceptIconTemplate: Nullable<TemplateRef<any>>;\n\n @ContentChild('message', { descendants: false }) messageTemplate: Nullable<TemplateRef<any>>;\n\n @ContentChild('icon', { descendants: false }) iconTemplate: Nullable<TemplateRef<any>>;\n\n @ContentChild('headless', { descendants: false }) headlessTemplate: Nullable<TemplateRef<any>>;\n\n @ContentChildren(PrimeTemplate) templates: QueryList<PrimeTemplate> | undefined;\n\n _headerTemplate: TemplateRef<any> | undefined;\n\n _footerTemplate: TemplateRef<any> | undefined;\n\n _rejectIconTemplate: TemplateRef<any> | undefined;\n\n _acceptIconTemplate: TemplateRef<any> | undefined;\n\n _messageTemplate: TemplateRef<any> | undefined;\n\n _iconTemplate: TemplateRef<any> | undefined;\n\n _headlessTemplate: TemplateRef<any> | undefined;\n\n confirmation: Nullable<Confirmation>;\n\n _visible: boolean | undefined;\n\n _style: { [klass: string]: any } | null | undefined;\n\n maskVisible: boolean | undefined;\n\n dialog: Nullable<Dialog>;\n\n wrapper: Nullable<HTMLElement>;\n\n contentContainer: Nullable<HTMLDivElement>;\n\n subscription: Subscription;\n\n preWidth: number | undefined;\n\n _position: string = 'center';\n\n transformOptions: any = 'scale(0.7)';\n\n styleElement: any;\n\n id = uuid('pn_id_');\n\n ariaLabelledBy: string = this.getAriaLabelledBy();\n\n translationSubscription: Subscription | undefined;\n\n constructor(\n private confirmationService: ConfirmationService,\n public zone: NgZone\n ) {\n super();\n this.subscription = this.confirmationService.requireConfirmation$.subscribe((confirmation) => {\n if (!confirmation) {\n this.hide();\n return;\n }\n if (confirmation.key === this.key) {\n this.confirmation = confirmation;\n\n const keys = Object.keys(confirmation);\n\n keys.forEach((key) => {\n this[key] = confirmation[key];\n });\n\n if (this.confirmation.accept) {\n this.confirmation.acceptEvent = new EventEmitter();\n this.confirmation.acceptEvent.subscribe(this.confirmation.accept);\n }\n\n if (this.confirmation.reject) {\n this.confirmation.rejectEvent = new EventEmitter();\n this.confirmation.rejectEvent.subscribe(this.confirmation.reject);\n }\n\n this.visible = true;\n }\n });\n }\n\n ngOnInit() {\n super.ngOnInit();\n if (this.breakpoints) {\n this.createStyle();\n }\n\n this.translationSubscription = this.config.translationObserver.subscribe(() => {\n if (this.visible) {\n this.cd.markForCheck();\n }\n });\n }\n\n ngAfterContentInit() {\n this.templates?.forEach((item) => {\n switch (item.getType()) {\n case 'header':\n this._headerTemplate = item.template;\n break;\n\n case 'footer':\n this._footerTemplate = item.template;\n break;\n\n case 'message':\n this._messageTemplate = item.template;\n break;\n\n case 'icon':\n this._iconTemplate = item.template;\n break;\n\n case 'rejecticon':\n this._rejectIconTemplate = item.template;\n break;\n\n case 'accepticon':\n this._acceptIconTemplate = item.template;\n break;\n\n case 'headless':\n this._headlessTemplate = item.template;\n break;\n }\n });\n }\n\n getAriaLabelledBy() {\n return this.header !== null ? uuid('pn_id_') + '_header' : null;\n }\n\n option(name: string, k?: string) {\n const source: { [key: string]: any } = this || this;\n if (source.hasOwnProperty(name)) {\n if (k) {\n return source[k];\n }\n return source[name];\n }\n\n return undefined;\n }\n\n getButtonStyleClass(cx: string, opt: string): string {\n const cxClass = this.cx(cx);\n const optionClass = this.option(opt);\n\n return [cxClass, optionClass].filter(Boolean).join(' ');\n }\n\n getElementToFocus() {\n switch (this.option('defaultFocus')) {\n case 'accept':\n return findSingle(this.dialog.el.nativeElement, '.p-confirm-dialog-accept');\n\n case 'reject':\n return findSingle(this.dialog.el.nativeElement, '.p-confirm-dialog-reject');\n\n case 'close':\n return findSingle(this.dialog.el.nativeElement, '.p-dialog-header-close');\n\n case 'none':\n return null;\n\n //backward compatibility\n default:\n return findSingle(this.dialog.el.nativeElement, '.p-confirm-dialog-accept');\n }\n }\n\n createStyle() {\n if (!this.styleElement) {\n this.styleElement = this.document.createElement('style');\n this.styleElement.type = 'text/css';\n this.document.head.appendChild(this.styleElement);\n let innerHTML = '';\n for (let breakpoint in this.breakpoints) {\n innerHTML += `\n @media screen and (max-width: ${breakpoint}) {\n .p-dialog[${this.id}] {\n width: ${this.breakpoints[breakpoint]} !important;\n }\n }\n `;\n }\n\n this.styleElement.innerHTML = innerHTML;\n setAttribute(this.styleElement, 'nonce', this.config?.csp()?.nonce);\n }\n }\n\n close(event: Event) {\n if (this.confirmation?.rejectEvent) {\n this.confirmation.rejectEvent.emit(ConfirmEventType.CANCEL);\n }\n\n this.hide(ConfirmEventType.CANCEL);\n event.preventDefault();\n }\n\n hide(type?: ConfirmEventType) {\n this.onHide.emit(type);\n this.visible = false;\n this.confirmation = null;\n }\n\n destroyStyle() {\n if (this.styleElement) {\n this.document.head.removeChild(this.styleElement);\n this.styleElement = null;\n }\n }\n\n ngOnDestroy() {\n this.subscription.unsubscribe();\n\n if (this.translationSubscription) {\n this.translationSubscription.unsubscribe();\n }\n\n this.destroyStyle();\n super.ngOnDestroy();\n }\n\n onAccept() {\n if (this.confirmation && this.confirmation.acceptEvent) {\n this.confirmation.acceptEvent.emit();\n }\n this.hide(ConfirmEventType.ACCEPT);\n }\n\n onReject() {\n if (this.confirmation && this.confirmation.rejectEvent) {\n this.confirmation.rejectEvent.emit(ConfirmEventType.REJECT);\n }\n\n this.hide(ConfirmEventType.REJECT);\n }\n\n get acceptButtonLabel(): string {\n return this.option('acceptLabel') || this.config.getTranslation(TranslationKeys.ACCEPT);\n }\n\n get rejectButtonLabel(): string {\n return this.option('rejectLabel') || this.config.getTranslation(TranslationKeys.REJECT);\n }\n\n getAcceptButtonProps() {\n return this.option('acceptButtonProps');\n }\n\n getRejectButtonProps() {\n return this.option('rejectButtonProps');\n }\n}\n\n@NgModule({ imports: [ConfirmDialog, SharedModule], exports: [ConfirmDialog, SharedModule] })\nexport class ConfirmDialogModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;AAGA,MAAM,KAAK,GAAG,CAAC,EAAE,EAAE,EAAE,KAAK;;;;YAId,EAAE,CAAC,2BAA2B,CAAC,CAAA;;;;aAI9B,EAAE,CAAC,0BAA0B,CAAC,CAAA;iBAC1B,EAAE,CAAC,yBAAyB,CAAC,CAAA;aACjC,EAAE,CAAC,yBAAyB,CAAC,CAAA;cAC5B,EAAE,CAAC,yBAAyB,CAAC,CAAA;;CAE1C;AAED,MAAM,OAAO,GAAG;AACZ,IAAA,IAAI,EAAE,iBAAiB;AACvB,IAAA,IAAI,EAAE,sBAAsB;AAC5B,IAAA,OAAO,EAAE,yBAAyB;AAClC,IAAA,cAAc,EAAE,+BAA+B;AAC/C,IAAA,cAAc,EAAE;CACnB;AAGK,MAAO,kBAAmB,SAAQ,SAAS,CAAA;IAC7C,IAAI,GAAG,eAAe;IAEtB,KAAK,GAAG,KAAK;IAEb,OAAO,GAAG,OAAO;AALR,IAAA,OAAA,IAAA,iBAAA,CAAA,MAAA,EAAA,IAAA,+BAAA,CAAA,CAAA,OAAA,SAAA,0BAAA,CAAA,iBAAA,EAAA,EAAA,OAAA,CAAA,+BAAA,KAAA,+BAAA,GAAA,EAAA,CAAA,qBAA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,EAAE,WAAW,EAAE,KAAK,EAAE;YAEhB,SAAS,EAAA,CAAA;kBAAxC,eAAe;mBAAC,aAAa;;kFAvOrB,aAAa,EAAA,EAAA,SAAA,EAAA,eAAA,EAAA,CAAA,CAAA,EAAA,GAAA;MAweb,mBAAmB,CAAA;6GAAnB,mBAAmB,GAAA,CAAA,EAAA;4DAAnB,mBAAmB,EAAA,CAAA;gEADV,aAAa,EAAE,YAAY,EAA4B,YAAY,CAAA,EAAA,CAAA;;iFAC5E,mBAAmB,EAAA,CAAA;cAD/B,QAAQ;AAAC,QAAA,IAAA,EAAA,CAAA,EAAE,OAAO,EAAE,CAAC,aAAa,EAAE,YAAY,CAAC,EAAE,OAAO,EAAE,CAAC,aAAa,EAAE,YAAY,CAAC,EAAE;;AAC/E,CAAA,YAAA,EAAA,CAAA,OAAA,SAAA,KAAA,WAAA,IAAA,SAAA,KAAA,EAAA,CAAA,kBAAA,CAAA,mBAAmB,cAxenB,aAAa,EAueW,YAAY,CAvepC,EAAA,OAAA,EAAA,CAAA,aAAa,EAuemD,YAAY,CAAA,EAAA,CAAA,CAAA,EAAA,GAAA;;ACpmBzF;;AAEG;;;;"}
|
@@ -1,11 +1,11 @@
|
|
1
|
-
import { trigger, state,
|
1
|
+
import { trigger, state, transition, style, animate } from '@angular/animations';
|
2
2
|
import * as i2 from '@angular/common';
|
3
3
|
import { DOCUMENT, CommonModule } from '@angular/common';
|
4
4
|
import * as i0 from '@angular/core';
|
5
|
-
import { Injectable, inject, EventEmitter,
|
5
|
+
import { Injectable, inject, EventEmitter, numberAttribute, booleanAttribute, ViewEncapsulation, ChangeDetectionStrategy, Component, Inject, HostListener, ContentChildren, ContentChild, Input, NgModule } from '@angular/core';
|
6
6
|
import { findSingle, absolutePosition, getOffset, addClass, isIOS, isTouchDevice } from '@primeuix/utils';
|
7
7
|
import * as i1 from 'primeng/api';
|
8
|
-
import { TranslationKeys,
|
8
|
+
import { TranslationKeys, SharedModule, PrimeTemplate } from 'primeng/api';
|
9
9
|
import { BaseComponent } from 'primeng/basecomponent';
|
10
10
|
import * as i3 from 'primeng/button';
|
11
11
|
import { ButtonModule } from 'primeng/button';
|
@@ -2,7 +2,7 @@ import { trigger, transition, style, animate } from '@angular/animations';
|
|
2
2
|
import * as i1 from '@angular/common';
|
3
3
|
import { CommonModule, isPlatformBrowser } from '@angular/common';
|
4
4
|
import * as i0 from '@angular/core';
|
5
|
-
import { Injectable, EventEmitter, forwardRef, booleanAttribute,
|
5
|
+
import { Injectable, EventEmitter, forwardRef, numberAttribute, booleanAttribute, ViewEncapsulation, Component, Inject, ViewChild, Output, Input, signal, inject, effect, ChangeDetectionStrategy, ContentChildren, ContentChild, NgModule } from '@angular/core';
|
6
6
|
import * as i2 from '@angular/router';
|
7
7
|
import { RouterModule } from '@angular/router';
|
8
8
|
import { resolve, isNotEmpty, getOffset, getViewport, getHiddenElementOuterWidth, getOuterWidth, calculateScrollbarWidth, uuid, isIOS, isAndroid, focus, isPrintableCharacter, isEmpty, findSingle, appendChild, getHiddenElementOuterHeight, findLastIndex, removeChild } from '@primeuix/utils';
|