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,6 +1,6 @@
|
|
1
1
|
import { isPlatformBrowser } from '@angular/common';
|
2
2
|
import * as i0 from '@angular/core';
|
3
|
-
import { EventEmitter, inject, ViewContainerRef, TemplateRef, Directive,
|
3
|
+
import { EventEmitter, inject, ViewContainerRef, TemplateRef, Directive, ContentChild, Output, NgModule } from '@angular/core';
|
4
4
|
import { BaseComponent } from 'primeng/basecomponent';
|
5
5
|
|
6
6
|
/**
|
@@ -2,9 +2,9 @@ import { animation, style, animate, trigger, transition, useAnimation } from '@a
|
|
2
2
|
import * as i1 from '@angular/common';
|
3
3
|
import { isPlatformBrowser, CommonModule } from '@angular/common';
|
4
4
|
import * as i0 from '@angular/core';
|
5
|
-
import { Injectable, EventEmitter, inject, NgZone, booleanAttribute, numberAttribute,
|
5
|
+
import { Injectable, EventEmitter, inject, NgZone, booleanAttribute, numberAttribute, ViewEncapsulation, ChangeDetectionStrategy, Component, ContentChildren, ContentChild, Input, ViewChild, Output, NgModule } from '@angular/core';
|
6
6
|
import { uuid, blockBodyScroll, unblockBodyScroll, setAttribute, hasClass, addClass, getOuterWidth, getOuterHeight, getViewport, removeClass, appendChild } from '@primeuix/utils';
|
7
|
-
import { TranslationKeys,
|
7
|
+
import { TranslationKeys, SharedModule, PrimeTemplate } from 'primeng/api';
|
8
8
|
import { BaseComponent } from 'primeng/basecomponent';
|
9
9
|
import { Button } from 'primeng/button';
|
10
10
|
import { DomHandler } from 'primeng/dom';
|
@@ -321,84 +321,84 @@ function Dialog_div_0_div_1_ng_container_2_Template(rf, ctx) { if (rf & 1) {
|
|
321
321
|
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1._headlessTemplate || ctx_r1.headlessTemplate || ctx_r1.headlessT);
|
322
322
|
} }
|
323
323
|
function Dialog_div_0_div_1_ng_template_3_div_0_Template(rf, ctx) { if (rf & 1) {
|
324
|
-
const
|
325
|
-
i0.ɵɵelementStart(0, "div",
|
326
|
-
i0.ɵɵlistener("mousedown", function Dialog_div_0_div_1_ng_template_3_div_0_Template_div_mousedown_0_listener($event) { i0.ɵɵrestoreView(
|
324
|
+
const _r3 = i0.ɵɵgetCurrentView();
|
325
|
+
i0.ɵɵelementStart(0, "div", 15);
|
326
|
+
i0.ɵɵlistener("mousedown", function Dialog_div_0_div_1_ng_template_3_div_0_Template_div_mousedown_0_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r1.initResize($event)); });
|
327
327
|
i0.ɵɵelementEnd();
|
328
328
|
} if (rf & 2) {
|
329
329
|
const ctx_r1 = i0.ɵɵnextContext(4);
|
330
330
|
i0.ɵɵproperty("ngClass", ctx_r1.cx("resizeHandle"));
|
331
331
|
} }
|
332
|
-
function
|
333
|
-
i0.ɵɵelementStart(0, "span",
|
332
|
+
function Dialog_div_0_div_1_ng_template_3_div_1_span_2_Template(rf, ctx) { if (rf & 1) {
|
333
|
+
i0.ɵɵelementStart(0, "span", 21);
|
334
334
|
i0.ɵɵtext(1);
|
335
335
|
i0.ɵɵelementEnd();
|
336
336
|
} if (rf & 2) {
|
337
|
-
const ctx_r1 = i0.ɵɵnextContext(
|
337
|
+
const ctx_r1 = i0.ɵɵnextContext(5);
|
338
338
|
i0.ɵɵproperty("id", ctx_r1.ariaLabelledBy)("ngClass", ctx_r1.cx("title"));
|
339
339
|
i0.ɵɵadvance();
|
340
340
|
i0.ɵɵtextInterpolate(ctx_r1.header);
|
341
341
|
} }
|
342
|
-
function
|
342
|
+
function Dialog_div_0_div_1_ng_template_3_div_1_ng_container_3_Template(rf, ctx) { if (rf & 1) {
|
343
343
|
i0.ɵɵelementContainer(0);
|
344
344
|
} }
|
345
|
-
function
|
346
|
-
i0.ɵɵelement(0, "span",
|
345
|
+
function Dialog_div_0_div_1_ng_template_3_div_1_p_button_5_span_1_Template(rf, ctx) { if (rf & 1) {
|
346
|
+
i0.ɵɵelement(0, "span", 18);
|
347
347
|
} if (rf & 2) {
|
348
|
-
const ctx_r1 = i0.ɵɵnextContext(
|
348
|
+
const ctx_r1 = i0.ɵɵnextContext(6);
|
349
349
|
i0.ɵɵproperty("ngClass", ctx_r1.maximized ? ctx_r1.minimizeIcon : ctx_r1.maximizeIcon);
|
350
350
|
} }
|
351
|
-
function
|
351
|
+
function Dialog_div_0_div_1_ng_template_3_div_1_p_button_5_ng_container_2_WindowMaximizeIcon_1_Template(rf, ctx) { if (rf & 1) {
|
352
352
|
i0.ɵɵelement(0, "WindowMaximizeIcon");
|
353
353
|
} }
|
354
|
-
function
|
354
|
+
function Dialog_div_0_div_1_ng_template_3_div_1_p_button_5_ng_container_2_WindowMinimizeIcon_2_Template(rf, ctx) { if (rf & 1) {
|
355
355
|
i0.ɵɵelement(0, "WindowMinimizeIcon");
|
356
356
|
} }
|
357
|
-
function
|
357
|
+
function Dialog_div_0_div_1_ng_template_3_div_1_p_button_5_ng_container_2_Template(rf, ctx) { if (rf & 1) {
|
358
358
|
i0.ɵɵelementContainerStart(0);
|
359
|
-
i0.ɵɵtemplate(1,
|
359
|
+
i0.ɵɵtemplate(1, Dialog_div_0_div_1_ng_template_3_div_1_p_button_5_ng_container_2_WindowMaximizeIcon_1_Template, 1, 0, "WindowMaximizeIcon", 23)(2, Dialog_div_0_div_1_ng_template_3_div_1_p_button_5_ng_container_2_WindowMinimizeIcon_2_Template, 1, 0, "WindowMinimizeIcon", 23);
|
360
360
|
i0.ɵɵelementContainerEnd();
|
361
361
|
} if (rf & 2) {
|
362
|
-
const ctx_r1 = i0.ɵɵnextContext(
|
362
|
+
const ctx_r1 = i0.ɵɵnextContext(6);
|
363
363
|
i0.ɵɵadvance();
|
364
364
|
i0.ɵɵproperty("ngIf", !ctx_r1.maximized && !ctx_r1._maximizeiconTemplate && !ctx_r1.maximizeIconTemplate && !ctx_r1.maximizeIconT);
|
365
365
|
i0.ɵɵadvance();
|
366
366
|
i0.ɵɵproperty("ngIf", ctx_r1.maximized && !ctx_r1._minimizeiconTemplate && !ctx_r1.minimizeIconTemplate && !ctx_r1.minimizeIconT);
|
367
367
|
} }
|
368
|
-
function
|
369
|
-
function
|
370
|
-
i0.ɵɵtemplate(0,
|
368
|
+
function Dialog_div_0_div_1_ng_template_3_div_1_p_button_5_ng_container_3_1_ng_template_0_Template(rf, ctx) { }
|
369
|
+
function Dialog_div_0_div_1_ng_template_3_div_1_p_button_5_ng_container_3_1_Template(rf, ctx) { if (rf & 1) {
|
370
|
+
i0.ɵɵtemplate(0, Dialog_div_0_div_1_ng_template_3_div_1_p_button_5_ng_container_3_1_ng_template_0_Template, 0, 0, "ng-template");
|
371
371
|
} }
|
372
|
-
function
|
372
|
+
function Dialog_div_0_div_1_ng_template_3_div_1_p_button_5_ng_container_3_Template(rf, ctx) { if (rf & 1) {
|
373
373
|
i0.ɵɵelementContainerStart(0);
|
374
|
-
i0.ɵɵtemplate(1,
|
374
|
+
i0.ɵɵtemplate(1, Dialog_div_0_div_1_ng_template_3_div_1_p_button_5_ng_container_3_1_Template, 1, 0, null, 11);
|
375
375
|
i0.ɵɵelementContainerEnd();
|
376
376
|
} if (rf & 2) {
|
377
|
-
const ctx_r1 = i0.ɵɵnextContext(
|
377
|
+
const ctx_r1 = i0.ɵɵnextContext(6);
|
378
378
|
i0.ɵɵadvance();
|
379
379
|
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1._maximizeiconTemplate || ctx_r1.maximizeIconTemplate || ctx_r1.maximizeIconT);
|
380
380
|
} }
|
381
|
-
function
|
382
|
-
function
|
383
|
-
i0.ɵɵtemplate(0,
|
381
|
+
function Dialog_div_0_div_1_ng_template_3_div_1_p_button_5_ng_container_4_1_ng_template_0_Template(rf, ctx) { }
|
382
|
+
function Dialog_div_0_div_1_ng_template_3_div_1_p_button_5_ng_container_4_1_Template(rf, ctx) { if (rf & 1) {
|
383
|
+
i0.ɵɵtemplate(0, Dialog_div_0_div_1_ng_template_3_div_1_p_button_5_ng_container_4_1_ng_template_0_Template, 0, 0, "ng-template");
|
384
384
|
} }
|
385
|
-
function
|
385
|
+
function Dialog_div_0_div_1_ng_template_3_div_1_p_button_5_ng_container_4_Template(rf, ctx) { if (rf & 1) {
|
386
386
|
i0.ɵɵelementContainerStart(0);
|
387
|
-
i0.ɵɵtemplate(1,
|
387
|
+
i0.ɵɵtemplate(1, Dialog_div_0_div_1_ng_template_3_div_1_p_button_5_ng_container_4_1_Template, 1, 0, null, 11);
|
388
388
|
i0.ɵɵelementContainerEnd();
|
389
389
|
} if (rf & 2) {
|
390
|
-
const ctx_r1 = i0.ɵɵnextContext(
|
390
|
+
const ctx_r1 = i0.ɵɵnextContext(6);
|
391
391
|
i0.ɵɵadvance();
|
392
392
|
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1._minimizeiconTemplate || ctx_r1.minimizeIconTemplate || ctx_r1.minimizeIconT);
|
393
393
|
} }
|
394
|
-
function
|
394
|
+
function Dialog_div_0_div_1_ng_template_3_div_1_p_button_5_Template(rf, ctx) { if (rf & 1) {
|
395
395
|
const _r5 = i0.ɵɵgetCurrentView();
|
396
|
-
i0.ɵɵelementStart(0, "p-button",
|
397
|
-
i0.ɵɵlistener("onClick", function
|
398
|
-
i0.ɵɵtemplate(1,
|
396
|
+
i0.ɵɵelementStart(0, "p-button", 22);
|
397
|
+
i0.ɵɵlistener("onClick", function Dialog_div_0_div_1_ng_template_3_div_1_p_button_5_Template_p_button_onClick_0_listener() { i0.ɵɵrestoreView(_r5); const ctx_r1 = i0.ɵɵnextContext(5); return i0.ɵɵresetView(ctx_r1.maximize()); })("keydown.enter", function Dialog_div_0_div_1_ng_template_3_div_1_p_button_5_Template_p_button_keydown_enter_0_listener() { i0.ɵɵrestoreView(_r5); const ctx_r1 = i0.ɵɵnextContext(5); return i0.ɵɵresetView(ctx_r1.maximize()); });
|
398
|
+
i0.ɵɵtemplate(1, Dialog_div_0_div_1_ng_template_3_div_1_p_button_5_span_1_Template, 1, 1, "span", 14)(2, Dialog_div_0_div_1_ng_template_3_div_1_p_button_5_ng_container_2_Template, 3, 2, "ng-container", 23)(3, Dialog_div_0_div_1_ng_template_3_div_1_p_button_5_ng_container_3_Template, 2, 1, "ng-container", 23)(4, Dialog_div_0_div_1_ng_template_3_div_1_p_button_5_ng_container_4_Template, 2, 1, "ng-container", 23);
|
399
399
|
i0.ɵɵelementEnd();
|
400
400
|
} if (rf & 2) {
|
401
|
-
const ctx_r1 = i0.ɵɵnextContext(
|
401
|
+
const ctx_r1 = i0.ɵɵnextContext(5);
|
402
402
|
i0.ɵɵproperty("styleClass", ctx_r1.cx("pcMaximizeButton"))("tabindex", ctx_r1.maximizable ? "0" : "-1")("ariaLabel", ctx_r1.maximizeLabel)("buttonProps", ctx_r1.maximizeButtonProps);
|
403
403
|
i0.ɵɵadvance();
|
404
404
|
i0.ɵɵproperty("ngIf", ctx_r1.maximizeIcon && !ctx_r1._maximizeiconTemplate && !ctx_r1._minimizeiconTemplate);
|
@@ -409,67 +409,89 @@ function Dialog_div_0_div_1_ng_template_3_p_button_6_Template(rf, ctx) { if (rf
|
|
409
409
|
i0.ɵɵadvance();
|
410
410
|
i0.ɵɵproperty("ngIf", ctx_r1.maximized);
|
411
411
|
} }
|
412
|
-
function
|
413
|
-
i0.ɵɵelement(0, "span",
|
412
|
+
function Dialog_div_0_div_1_ng_template_3_div_1_p_button_6_ng_template_1_ng_container_0_span_1_Template(rf, ctx) { if (rf & 1) {
|
413
|
+
i0.ɵɵelement(0, "span", 18);
|
414
414
|
} if (rf & 2) {
|
415
|
-
const ctx_r1 = i0.ɵɵnextContext(
|
415
|
+
const ctx_r1 = i0.ɵɵnextContext(8);
|
416
416
|
i0.ɵɵproperty("ngClass", ctx_r1.closeIcon);
|
417
417
|
} }
|
418
|
-
function
|
418
|
+
function Dialog_div_0_div_1_ng_template_3_div_1_p_button_6_ng_template_1_ng_container_0_TimesIcon_2_Template(rf, ctx) { if (rf & 1) {
|
419
419
|
i0.ɵɵelement(0, "TimesIcon");
|
420
420
|
} }
|
421
|
-
function
|
421
|
+
function Dialog_div_0_div_1_ng_template_3_div_1_p_button_6_ng_template_1_ng_container_0_Template(rf, ctx) { if (rf & 1) {
|
422
422
|
i0.ɵɵelementContainerStart(0);
|
423
|
-
i0.ɵɵtemplate(1,
|
423
|
+
i0.ɵɵtemplate(1, Dialog_div_0_div_1_ng_template_3_div_1_p_button_6_ng_template_1_ng_container_0_span_1_Template, 1, 1, "span", 14)(2, Dialog_div_0_div_1_ng_template_3_div_1_p_button_6_ng_template_1_ng_container_0_TimesIcon_2_Template, 1, 0, "TimesIcon", 23);
|
424
424
|
i0.ɵɵelementContainerEnd();
|
425
425
|
} if (rf & 2) {
|
426
|
-
const ctx_r1 = i0.ɵɵnextContext(
|
426
|
+
const ctx_r1 = i0.ɵɵnextContext(7);
|
427
427
|
i0.ɵɵadvance();
|
428
428
|
i0.ɵɵproperty("ngIf", ctx_r1.closeIcon);
|
429
429
|
i0.ɵɵadvance();
|
430
430
|
i0.ɵɵproperty("ngIf", !ctx_r1.closeIcon);
|
431
431
|
} }
|
432
|
-
function
|
433
|
-
function
|
434
|
-
i0.ɵɵtemplate(0,
|
432
|
+
function Dialog_div_0_div_1_ng_template_3_div_1_p_button_6_ng_template_1_span_1_1_ng_template_0_Template(rf, ctx) { }
|
433
|
+
function Dialog_div_0_div_1_ng_template_3_div_1_p_button_6_ng_template_1_span_1_1_Template(rf, ctx) { if (rf & 1) {
|
434
|
+
i0.ɵɵtemplate(0, Dialog_div_0_div_1_ng_template_3_div_1_p_button_6_ng_template_1_span_1_1_ng_template_0_Template, 0, 0, "ng-template");
|
435
435
|
} }
|
436
|
-
function
|
436
|
+
function Dialog_div_0_div_1_ng_template_3_div_1_p_button_6_ng_template_1_span_1_Template(rf, ctx) { if (rf & 1) {
|
437
437
|
i0.ɵɵelementStart(0, "span");
|
438
|
-
i0.ɵɵtemplate(1,
|
438
|
+
i0.ɵɵtemplate(1, Dialog_div_0_div_1_ng_template_3_div_1_p_button_6_ng_template_1_span_1_1_Template, 1, 0, null, 11);
|
439
439
|
i0.ɵɵelementEnd();
|
440
440
|
} if (rf & 2) {
|
441
|
-
const ctx_r1 = i0.ɵɵnextContext(
|
441
|
+
const ctx_r1 = i0.ɵɵnextContext(7);
|
442
442
|
i0.ɵɵadvance();
|
443
443
|
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1._closeiconTemplate || ctx_r1.closeIconTemplate || ctx_r1.closeIconT);
|
444
444
|
} }
|
445
|
-
function
|
446
|
-
i0.ɵɵtemplate(0,
|
445
|
+
function Dialog_div_0_div_1_ng_template_3_div_1_p_button_6_ng_template_1_Template(rf, ctx) { if (rf & 1) {
|
446
|
+
i0.ɵɵtemplate(0, Dialog_div_0_div_1_ng_template_3_div_1_p_button_6_ng_template_1_ng_container_0_Template, 3, 2, "ng-container", 23)(1, Dialog_div_0_div_1_ng_template_3_div_1_p_button_6_ng_template_1_span_1_Template, 2, 1, "span", 23);
|
447
447
|
} if (rf & 2) {
|
448
|
-
const ctx_r1 = i0.ɵɵnextContext(
|
448
|
+
const ctx_r1 = i0.ɵɵnextContext(6);
|
449
449
|
i0.ɵɵproperty("ngIf", !ctx_r1._closeiconTemplate && !ctx_r1.closeIconTemplate && !ctx_r1.closeIconT && !(ctx_r1.closeButtonProps == null ? null : ctx_r1.closeButtonProps.icon));
|
450
450
|
i0.ɵɵadvance();
|
451
451
|
i0.ɵɵproperty("ngIf", ctx_r1._closeiconTemplate || ctx_r1.closeIconTemplate || ctx_r1.closeIconT);
|
452
452
|
} }
|
453
|
-
function
|
453
|
+
function Dialog_div_0_div_1_ng_template_3_div_1_p_button_6_Template(rf, ctx) { if (rf & 1) {
|
454
454
|
const _r6 = i0.ɵɵgetCurrentView();
|
455
|
-
i0.ɵɵelementStart(0, "p-button",
|
456
|
-
i0.ɵɵlistener("onClick", function
|
457
|
-
i0.ɵɵtemplate(1,
|
455
|
+
i0.ɵɵelementStart(0, "p-button", 24);
|
456
|
+
i0.ɵɵlistener("onClick", function Dialog_div_0_div_1_ng_template_3_div_1_p_button_6_Template_p_button_onClick_0_listener($event) { i0.ɵɵrestoreView(_r6); const ctx_r1 = i0.ɵɵnextContext(5); return i0.ɵɵresetView(ctx_r1.close($event)); })("keydown.enter", function Dialog_div_0_div_1_ng_template_3_div_1_p_button_6_Template_p_button_keydown_enter_0_listener($event) { i0.ɵɵrestoreView(_r6); const ctx_r1 = i0.ɵɵnextContext(5); return i0.ɵɵresetView(ctx_r1.close($event)); });
|
457
|
+
i0.ɵɵtemplate(1, Dialog_div_0_div_1_ng_template_3_div_1_p_button_6_ng_template_1_Template, 2, 2, "ng-template", null, 4, i0.ɵɵtemplateRefExtractor);
|
458
458
|
i0.ɵɵelementEnd();
|
459
459
|
} if (rf & 2) {
|
460
|
-
const ctx_r1 = i0.ɵɵnextContext(
|
460
|
+
const ctx_r1 = i0.ɵɵnextContext(5);
|
461
461
|
i0.ɵɵproperty("styleClass", ctx_r1.cx("pcCloseButton"))("ariaLabel", ctx_r1.closeAriaLabel)("tabindex", ctx_r1.closeTabindex)("buttonProps", ctx_r1.closeButtonProps);
|
462
462
|
} }
|
463
|
-
function
|
463
|
+
function Dialog_div_0_div_1_ng_template_3_div_1_Template(rf, ctx) { if (rf & 1) {
|
464
|
+
const _r4 = i0.ɵɵgetCurrentView();
|
465
|
+
i0.ɵɵelementStart(0, "div", 16, 3);
|
466
|
+
i0.ɵɵlistener("mousedown", function Dialog_div_0_div_1_ng_template_3_div_1_Template_div_mousedown_0_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r1 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r1.initDrag($event)); });
|
467
|
+
i0.ɵɵtemplate(2, Dialog_div_0_div_1_ng_template_3_div_1_span_2_Template, 2, 3, "span", 17)(3, Dialog_div_0_div_1_ng_template_3_div_1_ng_container_3_Template, 1, 0, "ng-container", 11);
|
468
|
+
i0.ɵɵelementStart(4, "div", 18);
|
469
|
+
i0.ɵɵtemplate(5, Dialog_div_0_div_1_ng_template_3_div_1_p_button_5_Template, 5, 8, "p-button", 19)(6, Dialog_div_0_div_1_ng_template_3_div_1_p_button_6_Template, 3, 4, "p-button", 20);
|
470
|
+
i0.ɵɵelementEnd()();
|
471
|
+
} if (rf & 2) {
|
472
|
+
const ctx_r1 = i0.ɵɵnextContext(4);
|
473
|
+
i0.ɵɵproperty("ngClass", ctx_r1.cx("header"));
|
474
|
+
i0.ɵɵadvance(2);
|
475
|
+
i0.ɵɵproperty("ngIf", !ctx_r1._headerTemplate && !ctx_r1.headerTemplate && !ctx_r1.headerT);
|
476
|
+
i0.ɵɵadvance();
|
477
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1._headerTemplate || ctx_r1.headerTemplate || ctx_r1.headerT);
|
478
|
+
i0.ɵɵadvance();
|
479
|
+
i0.ɵɵproperty("ngClass", ctx_r1.cx("headerActions"));
|
480
|
+
i0.ɵɵadvance();
|
481
|
+
i0.ɵɵproperty("ngIf", ctx_r1.maximizable);
|
482
|
+
i0.ɵɵadvance();
|
483
|
+
i0.ɵɵproperty("ngIf", ctx_r1.closable);
|
484
|
+
} }
|
485
|
+
function Dialog_div_0_div_1_ng_template_3_ng_container_5_Template(rf, ctx) { if (rf & 1) {
|
464
486
|
i0.ɵɵelementContainer(0);
|
465
487
|
} }
|
466
|
-
function
|
488
|
+
function Dialog_div_0_div_1_ng_template_3_div_6_ng_container_3_Template(rf, ctx) { if (rf & 1) {
|
467
489
|
i0.ɵɵelementContainer(0);
|
468
490
|
} }
|
469
|
-
function
|
470
|
-
i0.ɵɵelementStart(0, "div",
|
491
|
+
function Dialog_div_0_div_1_ng_template_3_div_6_Template(rf, ctx) { if (rf & 1) {
|
492
|
+
i0.ɵɵelementStart(0, "div", 18, 5);
|
471
493
|
i0.ɵɵprojection(2, 1);
|
472
|
-
i0.ɵɵtemplate(3,
|
494
|
+
i0.ɵɵtemplate(3, Dialog_div_0_div_1_ng_template_3_div_6_ng_container_3_Template, 1, 0, "ng-container", 11);
|
473
495
|
i0.ɵɵelementEnd();
|
474
496
|
} if (rf & 2) {
|
475
497
|
const ctx_r1 = i0.ɵɵnextContext(4);
|
@@ -478,34 +500,17 @@ function Dialog_div_0_div_1_ng_template_3_div_12_Template(rf, ctx) { if (rf & 1)
|
|
478
500
|
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1._footerTemplate || ctx_r1.footerTemplate || ctx_r1.footerT);
|
479
501
|
} }
|
480
502
|
function Dialog_div_0_div_1_ng_template_3_Template(rf, ctx) { if (rf & 1) {
|
481
|
-
|
482
|
-
i0.ɵɵ
|
483
|
-
i0.ɵɵ
|
484
|
-
i0.ɵɵ
|
485
|
-
i0.ɵɵtemplate(3, Dialog_div_0_div_1_ng_template_3_span_3_Template, 2, 3, "span", 14)(4, Dialog_div_0_div_1_ng_template_3_ng_container_4_Template, 1, 0, "ng-container", 11);
|
486
|
-
i0.ɵɵelementStart(5, "div", 15);
|
487
|
-
i0.ɵɵtemplate(6, Dialog_div_0_div_1_ng_template_3_p_button_6_Template, 5, 8, "p-button", 16)(7, Dialog_div_0_div_1_ng_template_3_p_button_7_Template, 3, 4, "p-button", 17);
|
488
|
-
i0.ɵɵelementEnd()();
|
489
|
-
i0.ɵɵelementStart(8, "div", 7, 3);
|
490
|
-
i0.ɵɵprojection(10);
|
491
|
-
i0.ɵɵtemplate(11, Dialog_div_0_div_1_ng_template_3_ng_container_11_Template, 1, 0, "ng-container", 11);
|
503
|
+
i0.ɵɵtemplate(0, Dialog_div_0_div_1_ng_template_3_div_0_Template, 1, 1, "div", 12)(1, Dialog_div_0_div_1_ng_template_3_div_1_Template, 7, 6, "div", 13);
|
504
|
+
i0.ɵɵelementStart(2, "div", 7, 2);
|
505
|
+
i0.ɵɵprojection(4);
|
506
|
+
i0.ɵɵtemplate(5, Dialog_div_0_div_1_ng_template_3_ng_container_5_Template, 1, 0, "ng-container", 11);
|
492
507
|
i0.ɵɵelementEnd();
|
493
|
-
i0.ɵɵtemplate(
|
508
|
+
i0.ɵɵtemplate(6, Dialog_div_0_div_1_ng_template_3_div_6_Template, 4, 2, "div", 14);
|
494
509
|
} if (rf & 2) {
|
495
510
|
const ctx_r1 = i0.ɵɵnextContext(3);
|
496
511
|
i0.ɵɵproperty("ngIf", ctx_r1.resizable);
|
497
512
|
i0.ɵɵadvance();
|
498
|
-
i0.ɵɵproperty("
|
499
|
-
i0.ɵɵadvance(2);
|
500
|
-
i0.ɵɵproperty("ngIf", !ctx_r1._headerTemplate && !ctx_r1.headerTemplate && !ctx_r1.headerT);
|
501
|
-
i0.ɵɵadvance();
|
502
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1._headerTemplate || ctx_r1.headerTemplate || ctx_r1.headerT);
|
503
|
-
i0.ɵɵadvance();
|
504
|
-
i0.ɵɵproperty("ngClass", ctx_r1.cx("headerActions"));
|
505
|
-
i0.ɵɵadvance();
|
506
|
-
i0.ɵɵproperty("ngIf", ctx_r1.maximizable);
|
507
|
-
i0.ɵɵadvance();
|
508
|
-
i0.ɵɵproperty("ngIf", ctx_r1.closable);
|
513
|
+
i0.ɵɵproperty("ngIf", ctx_r1.showHeader);
|
509
514
|
i0.ɵɵadvance();
|
510
515
|
i0.ɵɵclassMap(ctx_r1.contentStyleClass);
|
511
516
|
i0.ɵɵproperty("ngClass", ctx_r1.cx("content"))("ngStyle", ctx_r1.contentStyle);
|
@@ -519,7 +524,7 @@ function Dialog_div_0_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
519
524
|
const _r1 = i0.ɵɵgetCurrentView();
|
520
525
|
i0.ɵɵelementStart(0, "div", 9, 0);
|
521
526
|
i0.ɵɵlistener("@animation.start", function Dialog_div_0_div_1_Template_div_animation_animation_start_0_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.onAnimationStart($event)); })("@animation.done", function Dialog_div_0_div_1_Template_div_animation_animation_done_0_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.onAnimationEnd($event)); });
|
522
|
-
i0.ɵɵtemplate(2, Dialog_div_0_div_1_ng_container_2_Template, 2, 1, "ng-container", 10)(3, Dialog_div_0_div_1_ng_template_3_Template,
|
527
|
+
i0.ɵɵtemplate(2, Dialog_div_0_div_1_ng_container_2_Template, 2, 1, "ng-container", 10)(3, Dialog_div_0_div_1_ng_template_3_Template, 7, 9, "ng-template", null, 1, i0.ɵɵtemplateRefExtractor);
|
523
528
|
i0.ɵɵelementEnd();
|
524
529
|
} if (rf & 2) {
|
525
530
|
const notHeadless_r7 = i0.ɵɵreference(4);
|
@@ -753,20 +758,12 @@ class Dialog extends BaseComponent {
|
|
753
758
|
* Used to pass all properties of the ButtonProps to the Button component.
|
754
759
|
* @group Props
|
755
760
|
*/
|
756
|
-
closeButtonProps = {
|
757
|
-
severity: 'secondary',
|
758
|
-
text: true,
|
759
|
-
rounded: true
|
760
|
-
};
|
761
|
+
closeButtonProps = { severity: 'secondary', text: true, rounded: true };
|
761
762
|
/**
|
762
763
|
* Used to pass all properties of the ButtonProps to the Button component.
|
763
764
|
* @group Props
|
764
765
|
*/
|
765
|
-
maximizeButtonProps = {
|
766
|
-
severity: 'secondary',
|
767
|
-
text: true,
|
768
|
-
rounded: true
|
769
|
-
};
|
766
|
+
maximizeButtonProps = { severity: 'secondary', text: true, rounded: true };
|
770
767
|
/**
|
771
768
|
* Specifies the visibility of the dialog.
|
772
769
|
* @group Props
|
@@ -957,11 +954,7 @@ class Dialog extends BaseComponent {
|
|
957
954
|
get maskClass() {
|
958
955
|
const positions = ['left', 'right', 'top', 'topleft', 'topright', 'bottom', 'bottomleft', 'bottomright'];
|
959
956
|
const pos = positions.find((item) => item === this.position);
|
960
|
-
return {
|
961
|
-
'p-dialog-mask': true,
|
962
|
-
'p-overlay-mask p-overlay-mask-enter': this.modal || this.dismissableMask,
|
963
|
-
[`p-dialog-${pos}`]: pos
|
964
|
-
};
|
957
|
+
return { 'p-dialog-mask': true, 'p-overlay-mask p-overlay-mask-enter': this.modal || this.dismissableMask, [`p-dialog-${pos}`]: pos };
|
965
958
|
}
|
966
959
|
ngOnInit() {
|
967
960
|
super.ngOnInit();
|
@@ -1355,6 +1348,9 @@ class Dialog extends BaseComponent {
|
|
1355
1348
|
this.onContainerDestroy();
|
1356
1349
|
this.onHide.emit({});
|
1357
1350
|
this.cd.markForCheck();
|
1351
|
+
if (this.maskVisible !== this.visible) {
|
1352
|
+
this.maskVisible = this.visible;
|
1353
|
+
}
|
1358
1354
|
break;
|
1359
1355
|
case 'visible':
|
1360
1356
|
this.onShow.emit({});
|
@@ -1429,7 +1425,7 @@ class Dialog extends BaseComponent {
|
|
1429
1425
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.headerViewChild = _t.first);
|
1430
1426
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.contentViewChild = _t.first);
|
1431
1427
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.footerViewChild = _t.first);
|
1432
|
-
} }, inputs: { header: "header", draggable: [2, "draggable", "draggable", booleanAttribute], resizable: [2, "resizable", "resizable", booleanAttribute], positionLeft: "positionLeft", positionTop: "positionTop", contentStyle: "contentStyle", contentStyleClass: "contentStyleClass", modal: [2, "modal", "modal", booleanAttribute], closeOnEscape: [2, "closeOnEscape", "closeOnEscape", booleanAttribute], dismissableMask: [2, "dismissableMask", "dismissableMask", booleanAttribute], rtl: [2, "rtl", "rtl", booleanAttribute], closable: [2, "closable", "closable", booleanAttribute], responsive: "responsive", appendTo: "appendTo", breakpoints: "breakpoints", styleClass: "styleClass", maskStyleClass: "maskStyleClass", maskStyle: "maskStyle", showHeader: [2, "showHeader", "showHeader", booleanAttribute], breakpoint: "breakpoint", blockScroll: [2, "blockScroll", "blockScroll", booleanAttribute], autoZIndex: [2, "autoZIndex", "autoZIndex", booleanAttribute], baseZIndex: [2, "baseZIndex", "baseZIndex", numberAttribute], minX: [2, "minX", "minX", numberAttribute], minY: [2, "minY", "minY", numberAttribute], focusOnShow: [2, "focusOnShow", "focusOnShow", booleanAttribute], maximizable: [2, "maximizable", "maximizable", booleanAttribute], keepInViewport: [2, "keepInViewport", "keepInViewport", booleanAttribute], focusTrap: [2, "focusTrap", "focusTrap", booleanAttribute], transitionOptions: "transitionOptions", closeIcon: "closeIcon", closeAriaLabel: "closeAriaLabel", closeTabindex: "closeTabindex", minimizeIcon: "minimizeIcon", maximizeIcon: "maximizeIcon", closeButtonProps: "closeButtonProps", maximizeButtonProps: "maximizeButtonProps", visible: "visible", style: "style", position: "position", role: "role", headerTemplate: [0, "content", "headerTemplate"], contentTemplate: "contentTemplate", footerTemplate: "footerTemplate", closeIconTemplate: "closeIconTemplate", maximizeIconTemplate: "maximizeIconTemplate", minimizeIconTemplate: "minimizeIconTemplate", headlessTemplate: "headlessTemplate" }, outputs: { onShow: "onShow", onHide: "onHide", visibleChange: "visibleChange", onResizeInit: "onResizeInit", onResizeEnd: "onResizeEnd", onDragEnd: "onDragEnd", onMaximize: "onMaximize" }, standalone: true, features: [i0.ɵɵProvidersFeature([DialogStyle]), i0.ɵɵInputTransformsFeature, i0.ɵɵInheritDefinitionFeature, i0.ɵɵStandaloneFeature], ngContentSelectors: _c9, decls: 1, vars: 1, consts: [["container", ""], ["notHeadless", ""], ["
|
1428
|
+
} }, inputs: { header: "header", draggable: [2, "draggable", "draggable", booleanAttribute], resizable: [2, "resizable", "resizable", booleanAttribute], positionLeft: "positionLeft", positionTop: "positionTop", contentStyle: "contentStyle", contentStyleClass: "contentStyleClass", modal: [2, "modal", "modal", booleanAttribute], closeOnEscape: [2, "closeOnEscape", "closeOnEscape", booleanAttribute], dismissableMask: [2, "dismissableMask", "dismissableMask", booleanAttribute], rtl: [2, "rtl", "rtl", booleanAttribute], closable: [2, "closable", "closable", booleanAttribute], responsive: "responsive", appendTo: "appendTo", breakpoints: "breakpoints", styleClass: "styleClass", maskStyleClass: "maskStyleClass", maskStyle: "maskStyle", showHeader: [2, "showHeader", "showHeader", booleanAttribute], breakpoint: "breakpoint", blockScroll: [2, "blockScroll", "blockScroll", booleanAttribute], autoZIndex: [2, "autoZIndex", "autoZIndex", booleanAttribute], baseZIndex: [2, "baseZIndex", "baseZIndex", numberAttribute], minX: [2, "minX", "minX", numberAttribute], minY: [2, "minY", "minY", numberAttribute], focusOnShow: [2, "focusOnShow", "focusOnShow", booleanAttribute], maximizable: [2, "maximizable", "maximizable", booleanAttribute], keepInViewport: [2, "keepInViewport", "keepInViewport", booleanAttribute], focusTrap: [2, "focusTrap", "focusTrap", booleanAttribute], transitionOptions: "transitionOptions", closeIcon: "closeIcon", closeAriaLabel: "closeAriaLabel", closeTabindex: "closeTabindex", minimizeIcon: "minimizeIcon", maximizeIcon: "maximizeIcon", closeButtonProps: "closeButtonProps", maximizeButtonProps: "maximizeButtonProps", visible: "visible", style: "style", position: "position", role: "role", headerTemplate: [0, "content", "headerTemplate"], contentTemplate: "contentTemplate", footerTemplate: "footerTemplate", closeIconTemplate: "closeIconTemplate", maximizeIconTemplate: "maximizeIconTemplate", minimizeIconTemplate: "minimizeIconTemplate", headlessTemplate: "headlessTemplate" }, outputs: { onShow: "onShow", onHide: "onHide", visibleChange: "visibleChange", onResizeInit: "onResizeInit", onResizeEnd: "onResizeEnd", onDragEnd: "onDragEnd", onMaximize: "onMaximize" }, standalone: true, features: [i0.ɵɵProvidersFeature([DialogStyle]), i0.ɵɵInputTransformsFeature, i0.ɵɵInheritDefinitionFeature, i0.ɵɵStandaloneFeature], ngContentSelectors: _c9, decls: 1, vars: 1, consts: [["container", ""], ["notHeadless", ""], ["content", ""], ["titlebar", ""], ["icon", ""], ["footer", ""], [3, "ngClass", "class", "ngStyle", "style", 4, "ngIf"], [3, "ngClass", "ngStyle"], ["pFocusTrap", "", 3, "class", "ngClass", "ngStyle", "style", "pFocusTrapDisabled", 4, "ngIf"], ["pFocusTrap", "", 3, "ngClass", "ngStyle", "pFocusTrapDisabled"], [4, "ngIf", "ngIfElse"], [4, "ngTemplateOutlet"], ["style", "z-index: 90;", 3, "ngClass", "mousedown", 4, "ngIf"], [3, "ngClass", "mousedown", 4, "ngIf"], [3, "ngClass", 4, "ngIf"], [2, "z-index", "90", 3, "mousedown", "ngClass"], [3, "mousedown", "ngClass"], [3, "id", "ngClass", 4, "ngIf"], [3, "ngClass"], [3, "styleClass", "tabindex", "ariaLabel", "buttonProps", "onClick", "keydown.enter", 4, "ngIf"], [3, "styleClass", "ariaLabel", "tabindex", "buttonProps", "onClick", "keydown.enter", 4, "ngIf"], [3, "id", "ngClass"], [3, "onClick", "keydown.enter", "styleClass", "tabindex", "ariaLabel", "buttonProps"], [4, "ngIf"], [3, "onClick", "keydown.enter", "styleClass", "ariaLabel", "tabindex", "buttonProps"]], template: function Dialog_Template(rf, ctx) { if (rf & 1) {
|
1433
1429
|
i0.ɵɵprojectionDef(_c8);
|
1434
1430
|
i0.ɵɵtemplate(0, Dialog_div_0_Template, 2, 11, "div", 6);
|
1435
1431
|
} if (rf & 2) {
|
@@ -1469,10 +1465,7 @@ class Dialog extends BaseComponent {
|
|
1469
1465
|
[style]="style"
|
1470
1466
|
pFocusTrap
|
1471
1467
|
[pFocusTrapDisabled]="focusTrap === false"
|
1472
|
-
[@animation]="{
|
1473
|
-
value: 'visible',
|
1474
|
-
params: { transform: transformOptions, transition: transitionOptions }
|
1475
|
-
}"
|
1468
|
+
[@animation]="{ value: 'visible', params: { transform: transformOptions, transition: transitionOptions } }"
|
1476
1469
|
(@animation.start)="onAnimationStart($event)"
|
1477
1470
|
(@animation.done)="onAnimationEnd($event)"
|
1478
1471
|
[attr.role]="role"
|
@@ -1485,7 +1478,7 @@ class Dialog extends BaseComponent {
|
|
1485
1478
|
|
1486
1479
|
<ng-template #notHeadless>
|
1487
1480
|
<div *ngIf="resizable" [ngClass]="cx('resizeHandle')" style="z-index: 90;" (mousedown)="initResize($event)"></div>
|
1488
|
-
<div #titlebar [ngClass]="cx('header')" (mousedown)="initDrag($event)">
|
1481
|
+
<div #titlebar [ngClass]="cx('header')" (mousedown)="initDrag($event)" *ngIf="showHeader">
|
1489
1482
|
<span [id]="ariaLabelledBy" [ngClass]="cx('title')" *ngIf="!_headerTemplate && !headerTemplate && !headerT">{{ header }}</span>
|
1490
1483
|
<ng-container *ngTemplateOutlet="_headerTemplate || headerTemplate || headerT"></ng-container>
|
1491
1484
|
<div [ngClass]="cx('headerActions')">
|
@@ -1702,10 +1695,7 @@ class DialogModule {
|
|
1702
1695
|
}
|
1703
1696
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DialogModule, [{
|
1704
1697
|
type: NgModule,
|
1705
|
-
args: [{
|
1706
|
-
imports: [Dialog, SharedModule],
|
1707
|
-
exports: [Dialog, SharedModule]
|
1708
|
-
}]
|
1698
|
+
args: [{ imports: [Dialog, SharedModule], exports: [Dialog, SharedModule] }]
|
1709
1699
|
}], null, null); })();
|
1710
1700
|
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(DialogModule, { imports: [Dialog, SharedModule], exports: [Dialog, SharedModule] }); })();
|
1711
1701
|
|