primeng 21.1.0 → 21.1.2
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/fesm2022/primeng-accordion.mjs +19 -19
- package/fesm2022/primeng-animateonscroll.mjs +7 -7
- package/fesm2022/primeng-api.mjs +36 -31
- package/fesm2022/primeng-api.mjs.map +1 -1
- package/fesm2022/primeng-autocomplete.mjs +13 -12
- package/fesm2022/primeng-autocomplete.mjs.map +1 -1
- package/fesm2022/primeng-autofocus.mjs +7 -7
- package/fesm2022/primeng-avatar.mjs +10 -10
- package/fesm2022/primeng-avatargroup.mjs +10 -10
- package/fesm2022/primeng-badge.mjs +13 -13
- package/fesm2022/primeng-base.mjs +3 -3
- package/fesm2022/primeng-basecomponent.mjs +7 -7
- package/fesm2022/primeng-baseeditableholder.mjs +3 -3
- package/fesm2022/primeng-baseinput.mjs +3 -3
- package/fesm2022/primeng-basemodelholder.mjs +3 -3
- package/fesm2022/primeng-bind.mjs +7 -7
- package/fesm2022/primeng-blockui.mjs +10 -10
- package/fesm2022/primeng-breadcrumb.mjs +10 -10
- package/fesm2022/primeng-button.mjs +22 -19
- package/fesm2022/primeng-button.mjs.map +1 -1
- package/fesm2022/primeng-buttongroup.mjs +10 -10
- package/fesm2022/primeng-card.mjs +10 -10
- package/fesm2022/primeng-carousel.mjs +10 -10
- package/fesm2022/primeng-cascadeselect.mjs +13 -13
- package/fesm2022/primeng-chart.mjs +10 -10
- package/fesm2022/primeng-checkbox.mjs +10 -10
- package/fesm2022/primeng-chip.mjs +10 -10
- package/fesm2022/primeng-classnames.mjs +7 -7
- package/fesm2022/primeng-colorpicker.mjs +10 -10
- package/fesm2022/primeng-config.mjs +6 -6
- package/fesm2022/primeng-confirmdialog.mjs +10 -10
- package/fesm2022/primeng-confirmpopup.mjs +10 -10
- package/fesm2022/primeng-contextmenu.mjs +13 -13
- package/fesm2022/primeng-dataview.mjs +10 -10
- package/fesm2022/primeng-datepicker.mjs +10 -10
- package/fesm2022/primeng-dialog.mjs +13 -11
- package/fesm2022/primeng-dialog.mjs.map +1 -1
- package/fesm2022/primeng-divider.mjs +10 -10
- package/fesm2022/primeng-dock.mjs +10 -10
- package/fesm2022/primeng-dragdrop.mjs +10 -10
- package/fesm2022/primeng-drawer.mjs +10 -10
- package/fesm2022/primeng-dynamicdialog.mjs +17 -17
- package/fesm2022/primeng-dynamicdialog.mjs.map +1 -1
- package/fesm2022/primeng-editor.mjs +10 -10
- package/fesm2022/primeng-fieldset.mjs +10 -10
- package/fesm2022/primeng-fileupload.mjs +13 -13
- package/fesm2022/primeng-floatlabel.mjs +10 -10
- package/fesm2022/primeng-fluid.mjs +10 -10
- package/fesm2022/primeng-focustrap.mjs +7 -7
- package/fesm2022/primeng-galleria.mjs +22 -22
- package/fesm2022/primeng-iconfield.mjs +10 -10
- package/fesm2022/primeng-icons-angledoubledown.mjs +3 -3
- package/fesm2022/primeng-icons-angledoubleleft.mjs +3 -3
- package/fesm2022/primeng-icons-angledoubleright.mjs +3 -3
- package/fesm2022/primeng-icons-angledoubleup.mjs +3 -3
- package/fesm2022/primeng-icons-angledown.mjs +3 -3
- package/fesm2022/primeng-icons-angleleft.mjs +3 -3
- package/fesm2022/primeng-icons-angleright.mjs +3 -3
- package/fesm2022/primeng-icons-angleup.mjs +3 -3
- package/fesm2022/primeng-icons-arrowdown.mjs +3 -3
- package/fesm2022/primeng-icons-arrowdownleft.mjs +3 -3
- package/fesm2022/primeng-icons-arrowdownright.mjs +3 -3
- package/fesm2022/primeng-icons-arrowleft.mjs +3 -3
- package/fesm2022/primeng-icons-arrowright.mjs +3 -3
- package/fesm2022/primeng-icons-arrowup.mjs +3 -3
- package/fesm2022/primeng-icons-ban.mjs +3 -3
- package/fesm2022/primeng-icons-bars.mjs +3 -3
- package/fesm2022/primeng-icons-baseicon.mjs +6 -6
- package/fesm2022/primeng-icons-blank.mjs +3 -3
- package/fesm2022/primeng-icons-calendar.mjs +3 -3
- package/fesm2022/primeng-icons-caretleft.mjs +3 -3
- package/fesm2022/primeng-icons-caretright.mjs +3 -3
- package/fesm2022/primeng-icons-check.mjs +3 -3
- package/fesm2022/primeng-icons-chevrondown.mjs +3 -3
- package/fesm2022/primeng-icons-chevronleft.mjs +3 -3
- package/fesm2022/primeng-icons-chevronright.mjs +3 -3
- package/fesm2022/primeng-icons-chevronup.mjs +3 -3
- package/fesm2022/primeng-icons-exclamationtriangle.mjs +3 -3
- package/fesm2022/primeng-icons-eye.mjs +3 -3
- package/fesm2022/primeng-icons-eyeslash.mjs +3 -3
- package/fesm2022/primeng-icons-filter.mjs +3 -3
- package/fesm2022/primeng-icons-filterfill.mjs +3 -3
- package/fesm2022/primeng-icons-filterslash.mjs +3 -3
- package/fesm2022/primeng-icons-home.mjs +3 -3
- package/fesm2022/primeng-icons-infocircle.mjs +3 -3
- package/fesm2022/primeng-icons-minus.mjs +3 -3
- package/fesm2022/primeng-icons-pencil.mjs +3 -3
- package/fesm2022/primeng-icons-plus.mjs +3 -3
- package/fesm2022/primeng-icons-refresh.mjs +3 -3
- package/fesm2022/primeng-icons-search.mjs +3 -3
- package/fesm2022/primeng-icons-searchminus.mjs +3 -3
- package/fesm2022/primeng-icons-searchplus.mjs +3 -3
- package/fesm2022/primeng-icons-sortalt.mjs +3 -3
- package/fesm2022/primeng-icons-sortamountdown.mjs +3 -3
- package/fesm2022/primeng-icons-sortamountupalt.mjs +3 -3
- package/fesm2022/primeng-icons-spinner.mjs +3 -3
- package/fesm2022/primeng-icons-star.mjs +3 -3
- package/fesm2022/primeng-icons-starfill.mjs +3 -3
- package/fesm2022/primeng-icons-thlarge.mjs +3 -3
- package/fesm2022/primeng-icons-times.mjs +3 -3
- package/fesm2022/primeng-icons-timescircle.mjs +3 -3
- package/fesm2022/primeng-icons-trash.mjs +3 -3
- package/fesm2022/primeng-icons-undo.mjs +3 -3
- package/fesm2022/primeng-icons-upload.mjs +3 -3
- package/fesm2022/primeng-icons-windowmaximize.mjs +3 -3
- package/fesm2022/primeng-icons-windowminimize.mjs +3 -3
- package/fesm2022/primeng-iftalabel.mjs +10 -10
- package/fesm2022/primeng-image.mjs +10 -10
- package/fesm2022/primeng-imagecompare.mjs +10 -10
- package/fesm2022/primeng-inplace.mjs +16 -16
- package/fesm2022/primeng-inputgroup.mjs +10 -10
- package/fesm2022/primeng-inputgroupaddon.mjs +10 -10
- package/fesm2022/primeng-inputicon.mjs +10 -10
- package/fesm2022/primeng-inputmask.mjs +13 -14
- package/fesm2022/primeng-inputmask.mjs.map +1 -1
- package/fesm2022/primeng-inputnumber.mjs +10 -10
- package/fesm2022/primeng-inputotp.mjs +10 -10
- package/fesm2022/primeng-inputtext.mjs +10 -10
- package/fesm2022/primeng-keyfilter.mjs +7 -7
- package/fesm2022/primeng-knob.mjs +10 -10
- package/fesm2022/primeng-listbox.mjs +10 -10
- package/fesm2022/primeng-megamenu.mjs +13 -13
- package/fesm2022/primeng-menu.mjs +57 -41
- package/fesm2022/primeng-menu.mjs.map +1 -1
- package/fesm2022/primeng-menubar.mjs +16 -16
- package/fesm2022/primeng-message.mjs +10 -10
- package/fesm2022/primeng-metergroup.mjs +13 -13
- package/fesm2022/primeng-motion.mjs +47 -15
- package/fesm2022/primeng-motion.mjs.map +1 -1
- package/fesm2022/primeng-multiselect.mjs +13 -13
- package/fesm2022/primeng-orderlist.mjs +10 -10
- package/fesm2022/primeng-organizationchart.mjs +14 -14
- package/fesm2022/primeng-organizationchart.mjs.map +1 -1
- package/fesm2022/primeng-overlay.mjs +28 -10
- package/fesm2022/primeng-overlay.mjs.map +1 -1
- package/fesm2022/primeng-overlaybadge.mjs +10 -10
- package/fesm2022/primeng-paginator.mjs +10 -10
- package/fesm2022/primeng-panel.mjs +18 -18
- package/fesm2022/primeng-panel.mjs.map +1 -1
- package/fesm2022/primeng-panelmenu.mjs +16 -16
- package/fesm2022/primeng-password.mjs +16 -16
- package/fesm2022/primeng-picklist.mjs +10 -10
- package/fesm2022/primeng-popover.mjs +10 -10
- package/fesm2022/primeng-progressbar.mjs +10 -10
- package/fesm2022/primeng-progressspinner.mjs +10 -10
- package/fesm2022/primeng-radiobutton.mjs +13 -13
- package/fesm2022/primeng-rating.mjs +10 -10
- package/fesm2022/primeng-ripple.mjs +10 -10
- package/fesm2022/primeng-scroller.mjs +12 -12
- package/fesm2022/primeng-scroller.mjs.map +1 -1
- package/fesm2022/primeng-scrollpanel.mjs +10 -10
- package/fesm2022/primeng-scrolltop.mjs +10 -10
- package/fesm2022/primeng-select.mjs +13 -13
- package/fesm2022/primeng-selectbutton.mjs +10 -10
- package/fesm2022/primeng-skeleton.mjs +10 -10
- package/fesm2022/primeng-slider.mjs +10 -10
- package/fesm2022/primeng-speeddial.mjs +10 -10
- package/fesm2022/primeng-splitbutton.mjs +10 -10
- package/fesm2022/primeng-splitter.mjs +10 -10
- package/fesm2022/primeng-stepper.mjs +43 -43
- package/fesm2022/primeng-steps.mjs +10 -10
- package/fesm2022/primeng-styleclass.mjs +7 -7
- package/fesm2022/primeng-table.mjs +87 -87
- package/fesm2022/primeng-table.mjs.map +1 -1
- package/fesm2022/primeng-tabs.mjs +34 -34
- package/fesm2022/primeng-tag.mjs +10 -10
- package/fesm2022/primeng-terminal.mjs +13 -13
- package/fesm2022/primeng-textarea.mjs +10 -10
- package/fesm2022/primeng-tieredmenu.mjs +15 -15
- package/fesm2022/primeng-tieredmenu.mjs.map +1 -1
- package/fesm2022/primeng-timeline.mjs +10 -10
- package/fesm2022/primeng-toast.mjs +13 -13
- package/fesm2022/primeng-togglebutton.mjs +10 -10
- package/fesm2022/primeng-toggleswitch.mjs +10 -10
- package/fesm2022/primeng-toolbar.mjs +10 -10
- package/fesm2022/primeng-tooltip.mjs +10 -10
- package/fesm2022/primeng-tree.mjs +13 -13
- package/fesm2022/primeng-treeselect.mjs +10 -10
- package/fesm2022/primeng-treetable.mjs +58 -58
- package/fesm2022/primeng-usestyle.mjs +3 -3
- package/package.json +1 -1
- package/types/primeng-accordion.d.ts +2 -2
- package/types/primeng-api.d.ts +3 -0
- package/types/primeng-basecomponent.d.ts +1 -1
- package/types/primeng-button.d.ts +4 -1
- package/types/primeng-contextmenu.d.ts +1 -1
- package/types/primeng-dialog.d.ts +1 -0
- package/types/primeng-inputmask.d.ts +0 -1
- package/types/primeng-menu.d.ts +2 -2
- package/types/primeng-menubar.d.ts +2 -2
- package/types/primeng-metergroup.d.ts +1 -1
- package/types/primeng-motion.d.ts +2 -0
- package/types/primeng-multiselect.d.ts +2 -2
- package/types/primeng-organizationchart.d.ts +1 -1
- package/types/primeng-overlay.d.ts +3 -0
- package/types/primeng-panel.d.ts +5 -5
- package/types/primeng-panelmenu.d.ts +2 -2
- package/types/primeng-password.d.ts +1 -1
- package/types/primeng-stepper.d.ts +1 -1
- package/types/primeng-table.d.ts +1 -1
- package/types/primeng-tieredmenu.d.ts +1 -1
- package/types/primeng-toast.d.ts +2 -2
- package/types/primeng-tree.d.ts +1 -1
- package/types/primeng-treetable.d.ts +1 -1
- package/types/primeng-types-accordion.d.ts +1 -1
- package/types/primeng-types-autocomplete.d.ts +1 -1
- package/types/primeng-types-avatar.d.ts +1 -1
- package/types/primeng-types-avatargroup.d.ts +1 -1
- package/types/primeng-types-badge.d.ts +1 -1
- package/types/primeng-types-blockui.d.ts +1 -1
- package/types/primeng-types-breadcrumb.d.ts +1 -1
- package/types/primeng-types-button.d.ts +1 -1
- package/types/primeng-types-card.d.ts +1 -1
- package/types/primeng-types-carousel.d.ts +1 -1
- package/types/primeng-types-cascadeselect.d.ts +1 -1
- package/types/primeng-types-chart.d.ts +1 -1
- package/types/primeng-types-checkbox.d.ts +1 -1
- package/types/primeng-types-chip.d.ts +1 -1
- package/types/primeng-types-colorpicker.d.ts +1 -1
- package/types/primeng-types-confirmdialog.d.ts +1 -1
- package/types/primeng-types-confirmpopup.d.ts +1 -1
- package/types/primeng-types-contextmenu.d.ts +1 -1
- package/types/primeng-types-dataview.d.ts +1 -1
- package/types/primeng-types-datepicker.d.ts +1 -1
- package/types/primeng-types-dialog.d.ts +1 -1
- package/types/primeng-types-divider.d.ts +1 -1
- package/types/primeng-types-dock.d.ts +1 -1
- package/types/primeng-types-drawer.d.ts +1 -1
- package/types/primeng-types-editor.d.ts +1 -1
- package/types/primeng-types-fieldset.d.ts +1 -1
- package/types/primeng-types-fileupload.d.ts +1 -1
- package/types/primeng-types-floatlabel.d.ts +1 -1
- package/types/primeng-types-fluid.d.ts +1 -1
- package/types/primeng-types-galleria.d.ts +1 -1
- package/types/primeng-types-iconfield.d.ts +1 -1
- package/types/primeng-types-iftalabel.d.ts +1 -1
- package/types/primeng-types-image.d.ts +1 -1
- package/types/primeng-types-imagecompare.d.ts +1 -1
- package/types/primeng-types-inplace.d.ts +1 -1
- package/types/primeng-types-inputgroup.d.ts +1 -1
- package/types/primeng-types-inputgroupaddon.d.ts +1 -1
- package/types/primeng-types-inputicon.d.ts +1 -1
- package/types/primeng-types-inputmask.d.ts +1 -1
- package/types/primeng-types-inputnumber.d.ts +1 -1
- package/types/primeng-types-inputotp.d.ts +1 -1
- package/types/primeng-types-inputtext.d.ts +1 -1
- package/types/primeng-types-knob.d.ts +1 -1
- package/types/primeng-types-listbox.d.ts +1 -1
- package/types/primeng-types-megamenu.d.ts +1 -1
- package/types/primeng-types-menu.d.ts +1 -1
- package/types/primeng-types-menubar.d.ts +1 -1
- package/types/primeng-types-message.d.ts +1 -1
- package/types/primeng-types-metergroup.d.ts +1 -1
- package/types/primeng-types-motion.d.ts +1 -1
- package/types/primeng-types-multiselect.d.ts +1 -1
- package/types/primeng-types-orderlist.d.ts +1 -1
- package/types/primeng-types-organizationchart.d.ts +1 -1
- package/types/primeng-types-overlay.d.ts +1 -1
- package/types/primeng-types-overlaybadge.d.ts +1 -1
- package/types/primeng-types-paginator.d.ts +1 -1
- package/types/primeng-types-panel.d.ts +1 -1
- package/types/primeng-types-panelmenu.d.ts +1 -1
- package/types/primeng-types-password.d.ts +1 -1
- package/types/primeng-types-picklist.d.ts +1 -1
- package/types/primeng-types-popover.d.ts +1 -1
- package/types/primeng-types-progressbar.d.ts +1 -1
- package/types/primeng-types-progressspinner.d.ts +1 -1
- package/types/primeng-types-radiobutton.d.ts +1 -1
- package/types/primeng-types-rating.d.ts +1 -1
- package/types/primeng-types-scroller.d.ts +1 -1
- package/types/primeng-types-scrollpanel.d.ts +1 -1
- package/types/primeng-types-scrolltop.d.ts +1 -1
- package/types/primeng-types-select.d.ts +1 -1
- package/types/primeng-types-selectbutton.d.ts +1 -1
- package/types/primeng-types-skeleton.d.ts +1 -1
- package/types/primeng-types-slider.d.ts +1 -1
- package/types/primeng-types-speeddial.d.ts +1 -1
- package/types/primeng-types-splitbutton.d.ts +1 -1
- package/types/primeng-types-splitter.d.ts +1 -1
- package/types/primeng-types-stepper.d.ts +1 -1
- package/types/primeng-types-table.d.ts +1 -1
- package/types/primeng-types-tabs.d.ts +1 -1
- package/types/primeng-types-tag.d.ts +1 -1
- package/types/primeng-types-terminal.d.ts +1 -1
- package/types/primeng-types-textarea.d.ts +1 -1
- package/types/primeng-types-tieredmenu.d.ts +1 -1
- package/types/primeng-types-timeline.d.ts +1 -1
- package/types/primeng-types-toast.d.ts +1 -1
- package/types/primeng-types-togglebutton.d.ts +1 -1
- package/types/primeng-types-toggleswitch.d.ts +1 -1
- package/types/primeng-types-toolbar.d.ts +1 -1
- package/types/primeng-types-tooltip.d.ts +1 -1
- package/types/primeng-types-tree.d.ts +1 -1
- package/types/primeng-types-treeselect.d.ts +1 -1
- package/types/primeng-types-treetable.d.ts +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { Injectable, InjectionToken, inject, input, output, computed, signal, effect, afterRenderEffect, Component, Directive, NgModule } from '@angular/core';
|
|
2
|
+
import { Injectable, InjectionToken, inject, input, output, computed, signal, effect, afterRenderEffect, untracked, Component, Directive, NgModule } from '@angular/core';
|
|
3
3
|
import { CommonModule } from '@angular/common';
|
|
4
|
-
import { createMotion } from '@primeuix/motion';
|
|
4
|
+
import { createMotion, resolveDuration } from '@primeuix/motion';
|
|
5
5
|
import { nextFrame } from '@primeuix/utils';
|
|
6
6
|
import { BaseComponent, PARENT_INSTANCE } from 'primeng/basecomponent';
|
|
7
7
|
import * as i1 from 'primeng/bind';
|
|
@@ -57,10 +57,10 @@ class MotionStyle extends BaseStyle {
|
|
|
57
57
|
name = 'motion';
|
|
58
58
|
style = style;
|
|
59
59
|
classes = classes;
|
|
60
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
61
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.
|
|
60
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: MotionStyle, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
61
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: MotionStyle });
|
|
62
62
|
}
|
|
63
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
63
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: MotionStyle, decorators: [{
|
|
64
64
|
type: Injectable
|
|
65
65
|
}] });
|
|
66
66
|
/**
|
|
@@ -331,11 +331,13 @@ class Motion extends BaseComponent {
|
|
|
331
331
|
await nextFrame();
|
|
332
332
|
resetStyles(this.$el, hideStrategy);
|
|
333
333
|
if (shouldAppear || !this.isInitialMount) {
|
|
334
|
+
this.applyMotionDuration('enter');
|
|
334
335
|
this.motion?.enter();
|
|
335
336
|
}
|
|
336
337
|
}
|
|
337
338
|
else if (!this.isInitialMount) {
|
|
338
339
|
await nextFrame();
|
|
340
|
+
this.applyMotionDuration('leave');
|
|
339
341
|
this.motion?.leave()?.then(async () => {
|
|
340
342
|
if (this.$el && !this.cancelled && !this.visible()) {
|
|
341
343
|
applyHiddenStyles(this.$el, hideStrategy);
|
|
@@ -351,6 +353,20 @@ class Motion extends BaseComponent {
|
|
|
351
353
|
this.isInitialMount = false;
|
|
352
354
|
});
|
|
353
355
|
}
|
|
356
|
+
applyMotionDuration(phase) {
|
|
357
|
+
const options = untracked(this.motionOptions);
|
|
358
|
+
const ms = resolveDuration(options.duration, phase);
|
|
359
|
+
if (ms == null || !this.$el)
|
|
360
|
+
return;
|
|
361
|
+
const el = this.$el;
|
|
362
|
+
const durationValue = `${ms}ms`;
|
|
363
|
+
if (options.type === 'transition') {
|
|
364
|
+
el.style.transitionDuration = durationValue;
|
|
365
|
+
}
|
|
366
|
+
else {
|
|
367
|
+
el.style.animationDuration = durationValue;
|
|
368
|
+
}
|
|
369
|
+
}
|
|
354
370
|
onDestroy() {
|
|
355
371
|
this.destroyed = true;
|
|
356
372
|
this.cancelled = true;
|
|
@@ -360,14 +376,14 @@ class Motion extends BaseComponent {
|
|
|
360
376
|
this.$el?.remove();
|
|
361
377
|
this.isInitialMount = true;
|
|
362
378
|
}
|
|
363
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
364
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.
|
|
379
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: Motion, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
380
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.0", type: Motion, isStandalone: true, selector: "p-motion", inputs: { visible: { classPropertyName: "visible", publicName: "visible", isSignal: true, isRequired: false, transformFunction: null }, mountOnEnter: { classPropertyName: "mountOnEnter", publicName: "mountOnEnter", isSignal: true, isRequired: false, transformFunction: null }, unmountOnLeave: { classPropertyName: "unmountOnLeave", publicName: "unmountOnLeave", isSignal: true, isRequired: false, transformFunction: null }, name: { classPropertyName: "name", publicName: "name", isSignal: true, isRequired: false, transformFunction: null }, type: { classPropertyName: "type", publicName: "type", isSignal: true, isRequired: false, transformFunction: null }, safe: { classPropertyName: "safe", publicName: "safe", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, appear: { classPropertyName: "appear", publicName: "appear", isSignal: true, isRequired: false, transformFunction: null }, enter: { classPropertyName: "enter", publicName: "enter", isSignal: true, isRequired: false, transformFunction: null }, leave: { classPropertyName: "leave", publicName: "leave", isSignal: true, isRequired: false, transformFunction: null }, duration: { classPropertyName: "duration", publicName: "duration", isSignal: true, isRequired: false, transformFunction: null }, hideStrategy: { classPropertyName: "hideStrategy", publicName: "hideStrategy", isSignal: true, isRequired: false, transformFunction: null }, enterFromClass: { classPropertyName: "enterFromClass", publicName: "enterFromClass", isSignal: true, isRequired: false, transformFunction: null }, enterToClass: { classPropertyName: "enterToClass", publicName: "enterToClass", isSignal: true, isRequired: false, transformFunction: null }, enterActiveClass: { classPropertyName: "enterActiveClass", publicName: "enterActiveClass", isSignal: true, isRequired: false, transformFunction: null }, leaveFromClass: { classPropertyName: "leaveFromClass", publicName: "leaveFromClass", isSignal: true, isRequired: false, transformFunction: null }, leaveToClass: { classPropertyName: "leaveToClass", publicName: "leaveToClass", isSignal: true, isRequired: false, transformFunction: null }, leaveActiveClass: { classPropertyName: "leaveActiveClass", publicName: "leaveActiveClass", isSignal: true, isRequired: false, transformFunction: null }, options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { onBeforeEnter: "onBeforeEnter", onEnter: "onEnter", onAfterEnter: "onAfterEnter", onEnterCancelled: "onEnterCancelled", onBeforeLeave: "onBeforeLeave", onLeave: "onLeave", onAfterLeave: "onAfterLeave", onLeaveCancelled: "onLeaveCancelled" }, host: { properties: { "class": "cx('root')" } }, providers: [MotionStyle, { provide: MOTION_INSTANCE, useExisting: Motion }, { provide: PARENT_INSTANCE, useExisting: Motion }], usesInheritance: true, hostDirectives: [{ directive: i1.Bind }], ngImport: i0, template: `
|
|
365
381
|
@if (rendered()) {
|
|
366
382
|
<ng-content />
|
|
367
383
|
}
|
|
368
384
|
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: BindModule }] });
|
|
369
385
|
}
|
|
370
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
386
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: Motion, decorators: [{
|
|
371
387
|
type: Component,
|
|
372
388
|
args: [{
|
|
373
389
|
selector: 'p-motion',
|
|
@@ -607,10 +623,12 @@ class MotionDirective extends BaseComponent {
|
|
|
607
623
|
if (this.visible()) {
|
|
608
624
|
resetStyles(this.$el, hideStrategy);
|
|
609
625
|
if (shouldAppear || !this.isInitialMount) {
|
|
626
|
+
this.applyMotionDuration('enter');
|
|
610
627
|
this.motion?.enter();
|
|
611
628
|
}
|
|
612
629
|
}
|
|
613
630
|
else if (!this.isInitialMount) {
|
|
631
|
+
this.applyMotionDuration('leave');
|
|
614
632
|
this.motion?.leave()?.then(() => {
|
|
615
633
|
if (this.$el && !this.cancelled && !this.visible()) {
|
|
616
634
|
applyHiddenStyles(this.$el, hideStrategy);
|
|
@@ -623,6 +641,20 @@ class MotionDirective extends BaseComponent {
|
|
|
623
641
|
this.isInitialMount = false;
|
|
624
642
|
});
|
|
625
643
|
}
|
|
644
|
+
applyMotionDuration(phase) {
|
|
645
|
+
const options = untracked(this.motionOptions);
|
|
646
|
+
const ms = resolveDuration(options.duration, phase);
|
|
647
|
+
if (ms == null || !this.$el)
|
|
648
|
+
return;
|
|
649
|
+
const el = this.$el;
|
|
650
|
+
const durationValue = `${ms}ms`;
|
|
651
|
+
if (options.type === 'transition') {
|
|
652
|
+
el.style.transitionDuration = durationValue;
|
|
653
|
+
}
|
|
654
|
+
else {
|
|
655
|
+
el.style.animationDuration = durationValue;
|
|
656
|
+
}
|
|
657
|
+
}
|
|
626
658
|
onDestroy() {
|
|
627
659
|
this.destroyed = true;
|
|
628
660
|
this.cancelled = true;
|
|
@@ -631,10 +663,10 @@ class MotionDirective extends BaseComponent {
|
|
|
631
663
|
resetStyles(this.$el, this.hideStrategy());
|
|
632
664
|
this.isInitialMount = true;
|
|
633
665
|
}
|
|
634
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
635
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.
|
|
666
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: MotionDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
667
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.0", type: MotionDirective, isStandalone: true, selector: "[pMotion]", inputs: { visible: { classPropertyName: "visible", publicName: "pMotion", isSignal: true, isRequired: false, transformFunction: null }, name: { classPropertyName: "name", publicName: "pMotionName", isSignal: true, isRequired: false, transformFunction: null }, type: { classPropertyName: "type", publicName: "pMotionType", isSignal: true, isRequired: false, transformFunction: null }, safe: { classPropertyName: "safe", publicName: "pMotionSafe", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "pMotionDisabled", isSignal: true, isRequired: false, transformFunction: null }, appear: { classPropertyName: "appear", publicName: "pMotionAppear", isSignal: true, isRequired: false, transformFunction: null }, enter: { classPropertyName: "enter", publicName: "pMotionEnter", isSignal: true, isRequired: false, transformFunction: null }, leave: { classPropertyName: "leave", publicName: "pMotionLeave", isSignal: true, isRequired: false, transformFunction: null }, duration: { classPropertyName: "duration", publicName: "pMotionDuration", isSignal: true, isRequired: false, transformFunction: null }, hideStrategy: { classPropertyName: "hideStrategy", publicName: "pMotionHideStrategy", isSignal: true, isRequired: false, transformFunction: null }, enterFromClass: { classPropertyName: "enterFromClass", publicName: "pMotionEnterFromClass", isSignal: true, isRequired: false, transformFunction: null }, enterToClass: { classPropertyName: "enterToClass", publicName: "pMotionEnterToClass", isSignal: true, isRequired: false, transformFunction: null }, enterActiveClass: { classPropertyName: "enterActiveClass", publicName: "pMotionEnterActiveClass", isSignal: true, isRequired: false, transformFunction: null }, leaveFromClass: { classPropertyName: "leaveFromClass", publicName: "pMotionLeaveFromClass", isSignal: true, isRequired: false, transformFunction: null }, leaveToClass: { classPropertyName: "leaveToClass", publicName: "pMotionLeaveToClass", isSignal: true, isRequired: false, transformFunction: null }, leaveActiveClass: { classPropertyName: "leaveActiveClass", publicName: "pMotionLeaveActiveClass", isSignal: true, isRequired: false, transformFunction: null }, options: { classPropertyName: "options", publicName: "pMotionOptions", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { onBeforeEnter: "pMotionOnBeforeEnter", onEnter: "pMotionOnEnter", onAfterEnter: "pMotionOnAfterEnter", onEnterCancelled: "pMotionOnEnterCancelled", onBeforeLeave: "pMotionOnBeforeLeave", onLeave: "pMotionOnLeave", onAfterLeave: "pMotionOnAfterLeave", onLeaveCancelled: "pMotionOnLeaveCancelled" }, providers: [MotionStyle, { provide: MOTION_DIRECTIVE_INSTANCE, useExisting: MotionDirective }, { provide: PARENT_INSTANCE, useExisting: MotionDirective }], usesInheritance: true, ngImport: i0 });
|
|
636
668
|
}
|
|
637
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
669
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: MotionDirective, decorators: [{
|
|
638
670
|
type: Directive,
|
|
639
671
|
args: [{
|
|
640
672
|
selector: '[pMotion]',
|
|
@@ -644,11 +676,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImpor
|
|
|
644
676
|
}], ctorParameters: () => [], propDecorators: { visible: [{ type: i0.Input, args: [{ isSignal: true, alias: "pMotion", required: false }] }], name: [{ type: i0.Input, args: [{ isSignal: true, alias: "pMotionName", required: false }] }], type: [{ type: i0.Input, args: [{ isSignal: true, alias: "pMotionType", required: false }] }], safe: [{ type: i0.Input, args: [{ isSignal: true, alias: "pMotionSafe", required: false }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "pMotionDisabled", required: false }] }], appear: [{ type: i0.Input, args: [{ isSignal: true, alias: "pMotionAppear", required: false }] }], enter: [{ type: i0.Input, args: [{ isSignal: true, alias: "pMotionEnter", required: false }] }], leave: [{ type: i0.Input, args: [{ isSignal: true, alias: "pMotionLeave", required: false }] }], duration: [{ type: i0.Input, args: [{ isSignal: true, alias: "pMotionDuration", required: false }] }], hideStrategy: [{ type: i0.Input, args: [{ isSignal: true, alias: "pMotionHideStrategy", required: false }] }], enterFromClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "pMotionEnterFromClass", required: false }] }], enterToClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "pMotionEnterToClass", required: false }] }], enterActiveClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "pMotionEnterActiveClass", required: false }] }], leaveFromClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "pMotionLeaveFromClass", required: false }] }], leaveToClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "pMotionLeaveToClass", required: false }] }], leaveActiveClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "pMotionLeaveActiveClass", required: false }] }], options: [{ type: i0.Input, args: [{ isSignal: true, alias: "pMotionOptions", required: false }] }], onBeforeEnter: [{ type: i0.Output, args: ["pMotionOnBeforeEnter"] }], onEnter: [{ type: i0.Output, args: ["pMotionOnEnter"] }], onAfterEnter: [{ type: i0.Output, args: ["pMotionOnAfterEnter"] }], onEnterCancelled: [{ type: i0.Output, args: ["pMotionOnEnterCancelled"] }], onBeforeLeave: [{ type: i0.Output, args: ["pMotionOnBeforeLeave"] }], onLeave: [{ type: i0.Output, args: ["pMotionOnLeave"] }], onAfterLeave: [{ type: i0.Output, args: ["pMotionOnAfterLeave"] }], onLeaveCancelled: [{ type: i0.Output, args: ["pMotionOnLeaveCancelled"] }] } });
|
|
645
677
|
|
|
646
678
|
class MotionModule {
|
|
647
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
648
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.
|
|
649
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.
|
|
679
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: MotionModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
680
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.0", ngImport: i0, type: MotionModule, imports: [Motion, MotionDirective], exports: [Motion, MotionDirective] });
|
|
681
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: MotionModule, imports: [Motion] });
|
|
650
682
|
}
|
|
651
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
683
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: MotionModule, decorators: [{
|
|
652
684
|
type: NgModule,
|
|
653
685
|
args: [{
|
|
654
686
|
imports: [Motion, MotionDirective],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"primeng-motion.mjs","sources":["../../src/motion/motion.utils.ts","../../src/motion/style/motion.style.ts","../../src/motion/motion.component.ts","../../src/motion/motion.directive.ts","../../src/motion/motion.module.ts","../../src/motion/primeng-motion.ts"],"sourcesContent":["const originalStyles = new WeakMap<HTMLElement, { display?: string; visibility?: string; maxHeight?: string }>();\n\nexport function applyHiddenStyles(element: HTMLElement, strategy: 'display' | 'visibility') {\n if (!element) return;\n\n if (!originalStyles.has(element)) {\n originalStyles.set(element, {\n display: element.style.display,\n visibility: element.style.visibility,\n maxHeight: element.style.maxHeight\n });\n }\n\n switch (strategy) {\n case 'display':\n element.style.display = 'none';\n break;\n case 'visibility':\n element.style.visibility = 'hidden';\n element.style.maxHeight = '0';\n break;\n }\n}\n\nexport function resetStyles(element: HTMLElement, strategy: 'display' | 'visibility') {\n if (!element) return;\n\n const original = originalStyles.get(element) ?? element.style;\n\n switch (strategy) {\n case 'display':\n element.style.display = original?.display || '';\n break;\n case 'visibility':\n element.style.visibility = original?.visibility || '';\n element.style.maxHeight = original?.maxHeight || '';\n break;\n }\n\n originalStyles.delete(element);\n}\n","import { Injectable } from '@angular/core';\nimport { BaseStyle } from 'primeng/base';\n\nconst style = /*css*/ `\n .p-motion {\n display: block;\n }\n`;\n\nconst classes = {\n root: 'p-motion'\n};\n\n@Injectable()\nexport class MotionStyle extends BaseStyle {\n name = 'motion';\n\n style = style;\n\n classes = classes;\n}\n\n/**\n *\n * Motion and MotionDirective provide an easy way to add motion effects to Angular applications.\n *\n * [Live Demo](https://www.primeng.org/motion)\n *\n * @module motionstyle\n *\n */\nexport enum MotionClasses {\n /**\n * Class name of the root element\n */\n root = 'p-motion'\n}\n\nexport interface MotionStyle extends BaseStyle {}\n","import { CommonModule } from '@angular/common';\nimport { afterRenderEffect, Component, computed, effect, inject, InjectionToken, input, output, signal } from '@angular/core';\nimport { type ClassNameOptions, createMotion, type MotionEvent, type MotionInstance, type MotionOptions } from '@primeuix/motion';\nimport { nextFrame } from '@primeuix/utils';\nimport { BaseComponent, PARENT_INSTANCE } from 'primeng/basecomponent';\nimport { Bind, BindModule } from 'primeng/bind';\nimport type { MotionPassThrough } from 'primeng/types/motion';\nimport { applyHiddenStyles, resetStyles } from './motion.utils';\nimport { MotionStyle } from './style/motion.style';\n\nconst MOTION_INSTANCE = new InjectionToken<Motion>('MOTION_INSTANCE');\n\n/**\n * Motion component is a container to apply motion effects to its content.\n * @group Components\n */\n@Component({\n selector: 'p-motion',\n standalone: true,\n imports: [CommonModule, BindModule],\n template: `\n @if (rendered()) {\n <ng-content />\n }\n `,\n providers: [MotionStyle, { provide: MOTION_INSTANCE, useExisting: Motion }, { provide: PARENT_INSTANCE, useExisting: Motion }],\n host: {\n '[class]': \"cx('root')\"\n },\n hostDirectives: [Bind]\n})\nexport class Motion extends BaseComponent<MotionPassThrough> {\n $pcMotion: Motion | undefined = inject(MOTION_INSTANCE, { optional: true, skipSelf: true }) ?? undefined;\n\n bindDirectiveInstance = inject(Bind, { self: true });\n\n onAfterViewChecked(): void {\n const options = this.options() as any;\n const optionsAttrs = options?.root || {};\n this.bindDirectiveInstance.setAttrs({ ...this.ptms(['host', 'root']), ...optionsAttrs });\n }\n\n _componentStyle = inject(MotionStyle);\n\n /******************** Inputs ********************/\n\n /**\n * Whether the element is visible or not.\n * @group Props\n */\n visible = input<boolean>(false);\n /**\n * Whether to mount the element on enter.\n * @group Props\n */\n mountOnEnter = input<boolean>(true);\n /**\n * Whether to unmount the element on leave.\n * @group Props\n */\n unmountOnLeave = input<boolean>(true);\n /**\n * The name of the motion. It can be a predefined motion name or a custom one.\n * phases:\n * [name]-enter\n * [name]-enter-active\n * [name]-enter-to\n * [name]-leave\n * [name]-leave-active\n * [name]-leave-to\n * @group Props\n */\n name = input<MotionOptions['name']>(undefined);\n /**\n * The type of the motion, valid values 'transition' and 'animation'.\n * @group Props\n */\n type = input<MotionOptions['type']>(undefined);\n /**\n * Whether the motion is safe.\n * @group Props\n */\n safe = input<MotionOptions['safe']>(undefined);\n /**\n * Whether the motion is disabled.\n * @group Props\n */\n disabled = input<MotionOptions['disabled']>(false);\n /**\n * Whether the motion should appear.\n * @group Props\n */\n appear = input<MotionOptions['appear']>(false);\n /**\n * Whether the motion should enter.\n * @group Props\n */\n enter = input<MotionOptions['enter']>(true);\n /**\n * Whether the motion should leave.\n * @group Props\n */\n leave = input<MotionOptions['leave']>(true);\n /**\n * The duration of the motion.\n * @group Props\n */\n duration = input<MotionOptions['duration']>(undefined);\n /**\n * The hide strategy of the motion, valid values 'display' and 'visibility'.\n * @group Props\n */\n hideStrategy = input<'display' | 'visibility'>('display');\n /**\n * The enter from class of the motion.\n * @group Props\n */\n enterFromClass = input<ClassNameOptions['from']>(undefined);\n /**\n * The enter to class of the motion.\n * @group Props\n */\n enterToClass = input<ClassNameOptions['to']>(undefined);\n /**\n * The enter active class of the motion.\n * @group Props\n */\n enterActiveClass = input<ClassNameOptions['active']>(undefined);\n /**\n * The leave from class of the motion.\n * @group Props\n */\n leaveFromClass = input<ClassNameOptions['from']>(undefined);\n /**\n * The leave to class of the motion.\n * @group Props\n */\n leaveToClass = input<ClassNameOptions['to']>(undefined);\n /**\n * The leave active class of the motion.\n * @group Props\n */\n leaveActiveClass = input<ClassNameOptions['active']>(undefined);\n\n /******************** All Inputs ********************/\n\n /**\n * The motion options.\n * @group Props\n */\n options = input<MotionOptions>({});\n\n /******************** Outputs ********************/\n\n /**\n * Callback fired before the enter transition/animation starts.\n * @param {MotionEvent} [event] - The event object containing details about the motion.\n * @param {Element} event.element - The element being transitioned/animated.\n * @group Emits\n */\n onBeforeEnter = output<MotionEvent | undefined>();\n /**\n * Callback fired when the enter transition/animation starts.\n * @param {MotionEvent} [event] - The event object containing details about the motion.\n * @param {Element} event.element - The element being transitioned/animated.\n * @group Emits\n */\n onEnter = output<MotionEvent | undefined>();\n /**\n * Callback fired after the enter transition/animation ends.\n * @param {MotionEvent} [event] - The event object containing details about the motion.\n * @param {Element} event.element - The element being transitioned/animated.\n * @group Emits\n */\n onAfterEnter = output<MotionEvent | undefined>();\n /**\n * Callback fired when the enter transition/animation is cancelled.\n * @param {MotionEvent} [event] - The event object containing details about the motion.\n * @param {Element} event.element - The element being transitioned/animated.\n * @group Emits\n */\n onEnterCancelled = output<MotionEvent | undefined>();\n /**\n * Callback fired before the leave transition/animation starts.\n * @param {MotionEvent} [event] - The event object containing details about the motion.\n * @param {Element} event.element - The element being transitioned/animated.\n * @group Emits\n */\n onBeforeLeave = output<MotionEvent | undefined>();\n /**\n * Callback fired when the leave transition/animation starts.\n * @param {MotionEvent} [event] - The event object containing details about the motion.\n * @param {Element} event.element - The element being transitioned/animated.\n * @group Emits\n */\n onLeave = output<MotionEvent | undefined>();\n /**\n * Callback fired after the leave transition/animation ends.\n * @param {MotionEvent} [event] - The event object containing details about the motion.\n * @param {Element} event.element - The element being transitioned/animated.\n * @group Emits\n */\n onAfterLeave = output<MotionEvent | undefined>();\n /**\n * Callback fired when the leave transition/animation is cancelled.\n * @param {MotionEvent} [event] - The event object containing details about the motion.\n * @param {Element} event.element - The element being transitioned/animated.\n * @group Emits\n */\n onLeaveCancelled = output<MotionEvent | undefined>();\n\n /******************** Computed ********************/\n\n private motionOptions = computed<MotionOptions>(() => {\n const options = this.options();\n\n return {\n name: options.name ?? this.name(),\n type: options.type ?? this.type(),\n safe: options.safe ?? this.safe(),\n disabled: options.disabled ?? this.disabled(),\n appear: false,\n enter: options.enter ?? this.enter(),\n leave: options.leave ?? this.leave(),\n duration: options.duration ?? this.duration(),\n enterClass: {\n from: options.enterClass?.from ?? (!options.name ? this.enterFromClass() : undefined),\n to: options.enterClass?.to ?? (!options.name ? this.enterToClass() : undefined),\n active: options.enterClass?.active ?? (!options.name ? this.enterActiveClass() : undefined)\n },\n leaveClass: {\n from: options.leaveClass?.from ?? (!options.name ? this.leaveFromClass() : undefined),\n to: options.leaveClass?.to ?? (!options.name ? this.leaveToClass() : undefined),\n active: options.leaveClass?.active ?? (!options.name ? this.leaveActiveClass() : undefined)\n },\n onBeforeEnter: options.onBeforeEnter ?? this.handleBeforeEnter,\n onEnter: options.onEnter ?? this.handleEnter,\n onAfterEnter: options.onAfterEnter ?? this.handleAfterEnter,\n onEnterCancelled: options.onEnterCancelled ?? this.handleEnterCancelled,\n onBeforeLeave: options.onBeforeLeave ?? this.handleBeforeLeave,\n onLeave: options.onLeave ?? this.handleLeave,\n onAfterLeave: options.onAfterLeave ?? this.handleAfterLeave,\n onLeaveCancelled: options.onLeaveCancelled ?? this.handleLeaveCancelled\n };\n });\n\n private motion: MotionInstance | undefined;\n private isInitialMount = true;\n private cancelled = false;\n private destroyed = false;\n\n rendered = signal(false);\n\n private readonly handleBeforeEnter = (event?: MotionEvent) => !this.destroyed && this.onBeforeEnter.emit(event);\n private readonly handleEnter = (event?: MotionEvent) => !this.destroyed && this.onEnter.emit(event);\n private readonly handleAfterEnter = (event?: MotionEvent) => !this.destroyed && this.onAfterEnter.emit(event);\n private readonly handleEnterCancelled = (event?: MotionEvent) => !this.destroyed && this.onEnterCancelled.emit(event);\n private readonly handleBeforeLeave = (event?: MotionEvent) => !this.destroyed && this.onBeforeLeave.emit(event);\n private readonly handleLeave = (event?: MotionEvent) => !this.destroyed && this.onLeave.emit(event);\n private readonly handleAfterLeave = (event?: MotionEvent) => !this.destroyed && this.onAfterLeave.emit(event);\n private readonly handleLeaveCancelled = (event?: MotionEvent) => !this.destroyed && this.onLeaveCancelled.emit(event);\n\n constructor() {\n super();\n\n effect(() => {\n const hideStrategy = this.hideStrategy();\n\n if (this.isInitialMount) {\n applyHiddenStyles(this.$el, hideStrategy);\n this.rendered.set((this.visible() && this.mountOnEnter()) || !this.mountOnEnter());\n } else if (this.visible() && !this.rendered()) {\n applyHiddenStyles(this.$el, hideStrategy);\n this.rendered.set(true);\n }\n });\n\n effect(() => {\n if (!this.motion) {\n this.motion = createMotion(this.$el, this.motionOptions());\n } else {\n // @todo: Update motion options method to update options dynamically\n //this.motion.update(this.$el, this.motionOptions());\n }\n });\n\n afterRenderEffect(async () => {\n if (!this.$el) return;\n\n const shouldAppear = this.isInitialMount && this.visible() && this.appear();\n const hideStrategy = this.hideStrategy();\n\n if (this.visible()) {\n await nextFrame();\n resetStyles(this.$el, hideStrategy);\n\n if (shouldAppear || !this.isInitialMount) {\n this.motion?.enter();\n }\n } else if (!this.isInitialMount) {\n await nextFrame();\n this.motion?.leave()?.then(async () => {\n if (this.$el && !this.cancelled && !this.visible()) {\n applyHiddenStyles(this.$el, hideStrategy);\n\n if (this.unmountOnLeave()) {\n await nextFrame();\n if (!this.cancelled) {\n this.rendered.set(false);\n }\n }\n }\n });\n }\n\n this.isInitialMount = false;\n });\n }\n\n onDestroy(): void {\n this.destroyed = true;\n this.cancelled = true;\n\n this.motion?.cancel();\n this.motion = undefined;\n\n resetStyles(this.$el, this.hideStrategy());\n\n this.$el?.remove();\n\n this.isInitialMount = true;\n }\n}\n","import { afterRenderEffect, computed, Directive, effect, inject, InjectionToken, input, output } from '@angular/core';\nimport { createMotion, type ClassNameOptions, type MotionEvent, type MotionInstance, type MotionOptions } from '@primeuix/motion';\nimport { BaseComponent, PARENT_INSTANCE } from 'primeng/basecomponent';\nimport { applyHiddenStyles, resetStyles } from './motion.utils';\nimport { MotionStyle } from './style/motion.style';\n\nconst MOTION_DIRECTIVE_INSTANCE = new InjectionToken<MotionDirective>('MOTION_DIRECTIVE_INSTANCE');\n\n/**\n * Motion Directive is directive to apply motion effects to elements.\n * @group Components\n */\n@Directive({\n selector: '[pMotion]',\n standalone: true,\n providers: [MotionStyle, { provide: MOTION_DIRECTIVE_INSTANCE, useExisting: MotionDirective }, { provide: PARENT_INSTANCE, useExisting: MotionDirective }]\n})\nexport class MotionDirective extends BaseComponent {\n $pcMotionDirective: MotionDirective | undefined = inject(MOTION_DIRECTIVE_INSTANCE, { optional: true, skipSelf: true }) ?? undefined;\n\n /******************** Inputs ********************/\n\n /**\n * Whether the element is visible or not.\n * @group Props\n */\n visible = input<boolean>(false, { alias: 'pMotion' });\n /**\n * The name of the motion. It can be a predefined motion name or a custom one.\n * phases:\n * [name]-enter\n * [name]-enter-active\n * [name]-enter-to\n * [name]-leave\n * [name]-leave-active\n * [name]-leave-to\n * @group Props\n */\n name = input<MotionOptions['name']>(undefined, { alias: 'pMotionName' });\n /**\n * The type of the motion, valid values 'transition' and 'animation'.\n * @group Props\n */\n type = input<MotionOptions['type']>(undefined, { alias: 'pMotionType' });\n /**\n * Whether the motion is safe.\n * @group Props\n */\n safe = input<MotionOptions['safe']>(undefined, { alias: 'pMotionSafe' });\n /**\n * Whether the motion is disabled.\n * @group Props\n */\n disabled = input<MotionOptions['disabled']>(false, { alias: 'pMotionDisabled' });\n /**\n * Whether the motion should appear.\n * @group Props\n */\n appear = input<MotionOptions['appear']>(false, { alias: 'pMotionAppear' });\n /**\n * Whether the motion should enter.\n * @group Props\n */\n enter = input<MotionOptions['enter']>(true, { alias: 'pMotionEnter' });\n /**\n * Whether the motion should leave.\n * @group Props\n */\n leave = input<MotionOptions['leave']>(true, { alias: 'pMotionLeave' });\n /**\n * The duration of the motion.\n * @group Props\n */\n duration = input<MotionOptions['duration']>(undefined, { alias: 'pMotionDuration' });\n /**\n * The hide strategy of the motion, valid values 'display' and 'visibility'.\n * @group Props\n */\n hideStrategy = input<'display' | 'visibility'>('display', { alias: 'pMotionHideStrategy' });\n /**\n * The enter from class of the motion.\n * @group Props\n */\n enterFromClass = input<ClassNameOptions['from']>(undefined, { alias: 'pMotionEnterFromClass' });\n /**\n * The enter to class of the motion.\n * @group Props\n */\n enterToClass = input<ClassNameOptions['to']>(undefined, { alias: 'pMotionEnterToClass' });\n /**\n * The enter active class of the motion.\n * @group Props\n */\n enterActiveClass = input<ClassNameOptions['active']>(undefined, { alias: 'pMotionEnterActiveClass' });\n /**\n * The leave from class of the motion.\n * @group Props\n */\n leaveFromClass = input<ClassNameOptions['from']>(undefined, { alias: 'pMotionLeaveFromClass' });\n /**\n * The leave to class of the motion.\n * @group Props\n */\n leaveToClass = input<ClassNameOptions['to']>(undefined, { alias: 'pMotionLeaveToClass' });\n /**\n * The leave active class of the motion.\n * @group Props\n */\n leaveActiveClass = input<ClassNameOptions['active']>(undefined, { alias: 'pMotionLeaveActiveClass' });\n\n /******************** All Inputs ********************/\n\n /**\n * The motion options.\n * @group Props\n */\n options = input<MotionOptions>({}, { alias: 'pMotionOptions' });\n\n /******************** Outputs ********************/\n\n /**\n * Callback fired before the enter transition/animation starts.\n * @param {MotionEvent} [event] - The event object containing details about the motion.\n * @param {Element} event.element - The element being transitioned/animated.\n * @group Emits\n */\n onBeforeEnter = output<MotionEvent | undefined>({ alias: 'pMotionOnBeforeEnter' });\n /**\n * Callback fired when the enter transition/animation starts.\n * @param {MotionEvent} [event] - The event object containing details about the motion.\n * @param {Element} event.element - The element being transitioned/animated.\n * @group Emits\n */\n onEnter = output<MotionEvent | undefined>({ alias: 'pMotionOnEnter' });\n /**\n * Callback fired after the enter transition/animation ends.\n * @param {MotionEvent} [event] - The event object containing details about the motion.\n * @param {Element} event.element - The element being transitioned/animated.\n * @group Emits\n */\n onAfterEnter = output<MotionEvent | undefined>({ alias: 'pMotionOnAfterEnter' });\n /**\n * Callback fired when the enter transition/animation is cancelled.\n * @param {MotionEvent} [event] - The event object containing details about the motion.\n * @param {Element} event.element - The element being transitioned/animated.\n * @group Emits\n */\n onEnterCancelled = output<MotionEvent | undefined>({ alias: 'pMotionOnEnterCancelled' });\n /**\n * Callback fired before the leave transition/animation starts.\n * @param {MotionEvent} [event] - The event object containing details about the motion.\n * @param {Element} event.element - The element being transitioned/animated.\n * @group Emits\n */\n onBeforeLeave = output<MotionEvent | undefined>({ alias: 'pMotionOnBeforeLeave' });\n /**\n * Callback fired when the leave transition/animation starts.\n * @param {MotionEvent} [event] - The event object containing details about the motion.\n * @param {Element} event.element - The element being transitioned/animated.\n * @group Emits\n */\n onLeave = output<MotionEvent | undefined>({ alias: 'pMotionOnLeave' });\n /**\n * Callback fired after the leave transition/animation ends.\n * @param {MotionEvent} [event] - The event object containing details about the motion.\n * @param {Element} event.element - The element being transitioned/animated.\n * @group Emits\n */\n onAfterLeave = output<MotionEvent | undefined>({ alias: 'pMotionOnAfterLeave' });\n /**\n * Callback fired when the leave transition/animation is cancelled.\n * @param {MotionEvent} [event] - The event object containing details about the motion.\n * @param {Element} event.element - The element being transitioned/animated.\n * @group Emits\n */\n onLeaveCancelled = output<MotionEvent | undefined>({ alias: 'pMotionOnLeaveCancelled' });\n\n /******************** Computed ********************/\n\n private motionOptions = computed<MotionOptions>(() => {\n const options = this.options() ?? {};\n\n return {\n name: options.name ?? this.name(),\n type: options.type ?? this.type(),\n safe: options.safe ?? this.safe(),\n disabled: options.disabled ?? this.disabled(),\n appear: false,\n enter: options.enter ?? this.enter(),\n leave: options.leave ?? this.leave(),\n duration: options.duration ?? this.duration(),\n enterClass: {\n from: options.enterClass?.from ?? (!options.name ? this.enterFromClass() : undefined),\n to: options.enterClass?.to ?? (!options.name ? this.enterToClass() : undefined),\n active: options.enterClass?.active ?? (!options.name ? this.enterActiveClass() : undefined)\n },\n leaveClass: {\n from: options.leaveClass?.from ?? (!options.name ? this.leaveFromClass() : undefined),\n to: options.leaveClass?.to ?? (!options.name ? this.leaveToClass() : undefined),\n active: options.leaveClass?.active ?? (!options.name ? this.leaveActiveClass() : undefined)\n },\n onBeforeEnter: options.onBeforeEnter ?? this.handleBeforeEnter,\n onEnter: options.onEnter ?? this.handleEnter,\n onAfterEnter: options.onAfterEnter ?? this.handleAfterEnter,\n onEnterCancelled: options.onEnterCancelled ?? this.handleEnterCancelled,\n onBeforeLeave: options.onBeforeLeave ?? this.handleBeforeLeave,\n onLeave: options.onLeave ?? this.handleLeave,\n onAfterLeave: options.onAfterLeave ?? this.handleAfterLeave,\n onLeaveCancelled: options.onLeaveCancelled ?? this.handleLeaveCancelled\n };\n });\n\n private motion: MotionInstance | undefined;\n private isInitialMount = true;\n private cancelled = false;\n private destroyed = false;\n\n private readonly handleBeforeEnter = (event?: MotionEvent) => !this.destroyed && this.onBeforeEnter.emit(event);\n private readonly handleEnter = (event?: MotionEvent) => !this.destroyed && this.onEnter.emit(event);\n private readonly handleAfterEnter = (event?: MotionEvent) => !this.destroyed && this.onAfterEnter.emit(event);\n private readonly handleEnterCancelled = (event?: MotionEvent) => !this.destroyed && this.onEnterCancelled.emit(event);\n private readonly handleBeforeLeave = (event?: MotionEvent) => !this.destroyed && this.onBeforeLeave.emit(event);\n private readonly handleLeave = (event?: MotionEvent) => !this.destroyed && this.onLeave.emit(event);\n private readonly handleAfterLeave = (event?: MotionEvent) => !this.destroyed && this.onAfterLeave.emit(event);\n private readonly handleLeaveCancelled = (event?: MotionEvent) => !this.destroyed && this.onLeaveCancelled.emit(event);\n\n constructor() {\n super();\n\n effect(() => {\n if (!this.motion) {\n this.motion = createMotion(this.$el, this.motionOptions());\n } else {\n // @todo: Update motion options method to update options dynamically\n //this.motion.update(this.$el, this.motionOptions());\n }\n });\n\n afterRenderEffect(() => {\n if (!this.$el) return;\n\n const shouldAppear = this.isInitialMount && this.visible() && this.appear();\n const hideStrategy = this.hideStrategy();\n\n if (this.visible()) {\n resetStyles(this.$el, hideStrategy);\n\n if (shouldAppear || !this.isInitialMount) {\n this.motion?.enter();\n }\n } else if (!this.isInitialMount) {\n this.motion?.leave()?.then(() => {\n if (this.$el && !this.cancelled && !this.visible()) {\n applyHiddenStyles(this.$el, hideStrategy);\n }\n });\n } else {\n applyHiddenStyles(this.$el, hideStrategy);\n }\n\n this.isInitialMount = false;\n });\n }\n\n onDestroy(): void {\n this.destroyed = true;\n this.cancelled = true;\n\n this.motion?.cancel();\n this.motion = undefined;\n\n resetStyles(this.$el, this.hideStrategy());\n\n this.isInitialMount = true;\n }\n}\n","import { NgModule } from '@angular/core';\nimport { Motion } from './motion.component';\nimport { MotionDirective } from './motion.directive';\n\nexport * from './motion.component';\nexport * from './motion.directive';\n\n@NgModule({\n imports: [Motion, MotionDirective],\n exports: [Motion, MotionDirective]\n})\nexport class MotionModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;;;;;AAAA,MAAM,cAAc,GAAG,IAAI,OAAO,EAA8E;AAE1G,SAAU,iBAAiB,CAAC,OAAoB,EAAE,QAAkC,EAAA;AACtF,IAAA,IAAI,CAAC,OAAO;QAAE;IAEd,IAAI,CAAC,cAAc,CAAC,GAAG,CAAC,OAAO,CAAC,EAAE;AAC9B,QAAA,cAAc,CAAC,GAAG,CAAC,OAAO,EAAE;AACxB,YAAA,OAAO,EAAE,OAAO,CA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UAAA,EAAA,CAAA;kBAJxB,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACN,oBAAA,OAAO,EAAE,CAAC,MAAM,EAAE,eAAe,CAAC;AAClC,oBAAA,OAAO,EAAE,CAAC,MAAM,EAAE,eAAe;AACpC,iBAAA;;;ACVD;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"primeng-motion.mjs","sources":["../../src/motion/motion.utils.ts","../../src/motion/style/motion.style.ts","../../src/motion/motion.component.ts","../../src/motion/motion.directive.ts","../../src/motion/motion.module.ts","../../src/motion/primeng-motion.ts"],"sourcesContent":["const originalStyles = new WeakMap<HTMLElement, { display?: string; visibility?: string; maxHeight?: string }>();\n\nexport function applyHiddenStyles(element: HTMLElement, strategy: 'display' | 'visibility') {\n if (!element) return;\n\n if (!originalStyles.has(element)) {\n originalStyles.set(element, {\n display: element.style.display,\n visibility: element.style.visibility,\n maxHeight: element.style.maxHeight\n });\n }\n\n switch (strategy) {\n case 'display':\n element.style.display = 'none';\n break;\n case 'visibility':\n element.style.visibility = 'hidden';\n element.style.maxHeight = '0';\n break;\n }\n}\n\nexport function resetStyles(element: HTMLElement, strategy: 'display' | 'visibility') {\n if (!element) return;\n\n const original = originalStyles.get(element) ?? element.style;\n\n switch (strategy) {\n case 'display':\n element.style.display = original?.display || '';\n break;\n case 'visibility':\n element.style.visibility = original?.visibility || '';\n element.style.maxHeight = original?.maxHeight || '';\n break;\n }\n\n originalStyles.delete(element);\n}\n","import { Injectable } from '@angular/core';\nimport { BaseStyle } from 'primeng/base';\n\nconst style = /*css*/ `\n .p-motion {\n display: block;\n }\n`;\n\nconst classes = {\n root: 'p-motion'\n};\n\n@Injectable()\nexport class MotionStyle extends BaseStyle {\n name = 'motion';\n\n style = style;\n\n classes = classes;\n}\n\n/**\n *\n * Motion and MotionDirective provide an easy way to add motion effects to Angular applications.\n *\n * [Live Demo](https://www.primeng.org/motion)\n *\n * @module motionstyle\n *\n */\nexport enum MotionClasses {\n /**\n * Class name of the root element\n */\n root = 'p-motion'\n}\n\nexport interface MotionStyle extends BaseStyle {}\n","import { CommonModule } from '@angular/common';\nimport { afterRenderEffect, Component, computed, effect, inject, InjectionToken, input, output, signal, untracked } from '@angular/core';\nimport { type ClassNameOptions, createMotion, resolveDuration, type MotionEvent, type MotionInstance, type MotionOptions, type MotionPhase } from '@primeuix/motion';\nimport { nextFrame } from '@primeuix/utils';\nimport { BaseComponent, PARENT_INSTANCE } from 'primeng/basecomponent';\nimport { Bind, BindModule } from 'primeng/bind';\nimport type { MotionPassThrough } from 'primeng/types/motion';\nimport { applyHiddenStyles, resetStyles } from './motion.utils';\nimport { MotionStyle } from './style/motion.style';\n\nconst MOTION_INSTANCE = new InjectionToken<Motion>('MOTION_INSTANCE');\n\n/**\n * Motion component is a container to apply motion effects to its content.\n * @group Components\n */\n@Component({\n selector: 'p-motion',\n standalone: true,\n imports: [CommonModule, BindModule],\n template: `\n @if (rendered()) {\n <ng-content />\n }\n `,\n providers: [MotionStyle, { provide: MOTION_INSTANCE, useExisting: Motion }, { provide: PARENT_INSTANCE, useExisting: Motion }],\n host: {\n '[class]': \"cx('root')\"\n },\n hostDirectives: [Bind]\n})\nexport class Motion extends BaseComponent<MotionPassThrough> {\n $pcMotion: Motion | undefined = inject(MOTION_INSTANCE, { optional: true, skipSelf: true }) ?? undefined;\n\n bindDirectiveInstance = inject(Bind, { self: true });\n\n onAfterViewChecked(): void {\n const options = this.options() as any;\n const optionsAttrs = options?.root || {};\n this.bindDirectiveInstance.setAttrs({ ...this.ptms(['host', 'root']), ...optionsAttrs });\n }\n\n _componentStyle = inject(MotionStyle);\n\n /******************** Inputs ********************/\n\n /**\n * Whether the element is visible or not.\n * @group Props\n */\n visible = input<boolean>(false);\n /**\n * Whether to mount the element on enter.\n * @group Props\n */\n mountOnEnter = input<boolean>(true);\n /**\n * Whether to unmount the element on leave.\n * @group Props\n */\n unmountOnLeave = input<boolean>(true);\n /**\n * The name of the motion. It can be a predefined motion name or a custom one.\n * phases:\n * [name]-enter\n * [name]-enter-active\n * [name]-enter-to\n * [name]-leave\n * [name]-leave-active\n * [name]-leave-to\n * @group Props\n */\n name = input<MotionOptions['name']>(undefined);\n /**\n * The type of the motion, valid values 'transition' and 'animation'.\n * @group Props\n */\n type = input<MotionOptions['type']>(undefined);\n /**\n * Whether the motion is safe.\n * @group Props\n */\n safe = input<MotionOptions['safe']>(undefined);\n /**\n * Whether the motion is disabled.\n * @group Props\n */\n disabled = input<MotionOptions['disabled']>(false);\n /**\n * Whether the motion should appear.\n * @group Props\n */\n appear = input<MotionOptions['appear']>(false);\n /**\n * Whether the motion should enter.\n * @group Props\n */\n enter = input<MotionOptions['enter']>(true);\n /**\n * Whether the motion should leave.\n * @group Props\n */\n leave = input<MotionOptions['leave']>(true);\n /**\n * The duration of the motion.\n * @group Props\n */\n duration = input<MotionOptions['duration']>(undefined);\n /**\n * The hide strategy of the motion, valid values 'display' and 'visibility'.\n * @group Props\n */\n hideStrategy = input<'display' | 'visibility'>('display');\n /**\n * The enter from class of the motion.\n * @group Props\n */\n enterFromClass = input<ClassNameOptions['from']>(undefined);\n /**\n * The enter to class of the motion.\n * @group Props\n */\n enterToClass = input<ClassNameOptions['to']>(undefined);\n /**\n * The enter active class of the motion.\n * @group Props\n */\n enterActiveClass = input<ClassNameOptions['active']>(undefined);\n /**\n * The leave from class of the motion.\n * @group Props\n */\n leaveFromClass = input<ClassNameOptions['from']>(undefined);\n /**\n * The leave to class of the motion.\n * @group Props\n */\n leaveToClass = input<ClassNameOptions['to']>(undefined);\n /**\n * The leave active class of the motion.\n * @group Props\n */\n leaveActiveClass = input<ClassNameOptions['active']>(undefined);\n\n /******************** All Inputs ********************/\n\n /**\n * The motion options.\n * @group Props\n */\n options = input<MotionOptions>({});\n\n /******************** Outputs ********************/\n\n /**\n * Callback fired before the enter transition/animation starts.\n * @param {MotionEvent} [event] - The event object containing details about the motion.\n * @param {Element} event.element - The element being transitioned/animated.\n * @group Emits\n */\n onBeforeEnter = output<MotionEvent | undefined>();\n /**\n * Callback fired when the enter transition/animation starts.\n * @param {MotionEvent} [event] - The event object containing details about the motion.\n * @param {Element} event.element - The element being transitioned/animated.\n * @group Emits\n */\n onEnter = output<MotionEvent | undefined>();\n /**\n * Callback fired after the enter transition/animation ends.\n * @param {MotionEvent} [event] - The event object containing details about the motion.\n * @param {Element} event.element - The element being transitioned/animated.\n * @group Emits\n */\n onAfterEnter = output<MotionEvent | undefined>();\n /**\n * Callback fired when the enter transition/animation is cancelled.\n * @param {MotionEvent} [event] - The event object containing details about the motion.\n * @param {Element} event.element - The element being transitioned/animated.\n * @group Emits\n */\n onEnterCancelled = output<MotionEvent | undefined>();\n /**\n * Callback fired before the leave transition/animation starts.\n * @param {MotionEvent} [event] - The event object containing details about the motion.\n * @param {Element} event.element - The element being transitioned/animated.\n * @group Emits\n */\n onBeforeLeave = output<MotionEvent | undefined>();\n /**\n * Callback fired when the leave transition/animation starts.\n * @param {MotionEvent} [event] - The event object containing details about the motion.\n * @param {Element} event.element - The element being transitioned/animated.\n * @group Emits\n */\n onLeave = output<MotionEvent | undefined>();\n /**\n * Callback fired after the leave transition/animation ends.\n * @param {MotionEvent} [event] - The event object containing details about the motion.\n * @param {Element} event.element - The element being transitioned/animated.\n * @group Emits\n */\n onAfterLeave = output<MotionEvent | undefined>();\n /**\n * Callback fired when the leave transition/animation is cancelled.\n * @param {MotionEvent} [event] - The event object containing details about the motion.\n * @param {Element} event.element - The element being transitioned/animated.\n * @group Emits\n */\n onLeaveCancelled = output<MotionEvent | undefined>();\n\n /******************** Computed ********************/\n\n private motionOptions = computed<MotionOptions>(() => {\n const options = this.options();\n\n return {\n name: options.name ?? this.name(),\n type: options.type ?? this.type(),\n safe: options.safe ?? this.safe(),\n disabled: options.disabled ?? this.disabled(),\n appear: false,\n enter: options.enter ?? this.enter(),\n leave: options.leave ?? this.leave(),\n duration: options.duration ?? this.duration(),\n enterClass: {\n from: options.enterClass?.from ?? (!options.name ? this.enterFromClass() : undefined),\n to: options.enterClass?.to ?? (!options.name ? this.enterToClass() : undefined),\n active: options.enterClass?.active ?? (!options.name ? this.enterActiveClass() : undefined)\n },\n leaveClass: {\n from: options.leaveClass?.from ?? (!options.name ? this.leaveFromClass() : undefined),\n to: options.leaveClass?.to ?? (!options.name ? this.leaveToClass() : undefined),\n active: options.leaveClass?.active ?? (!options.name ? this.leaveActiveClass() : undefined)\n },\n onBeforeEnter: options.onBeforeEnter ?? this.handleBeforeEnter,\n onEnter: options.onEnter ?? this.handleEnter,\n onAfterEnter: options.onAfterEnter ?? this.handleAfterEnter,\n onEnterCancelled: options.onEnterCancelled ?? this.handleEnterCancelled,\n onBeforeLeave: options.onBeforeLeave ?? this.handleBeforeLeave,\n onLeave: options.onLeave ?? this.handleLeave,\n onAfterLeave: options.onAfterLeave ?? this.handleAfterLeave,\n onLeaveCancelled: options.onLeaveCancelled ?? this.handleLeaveCancelled\n };\n });\n\n private motion: MotionInstance | undefined;\n private isInitialMount = true;\n private cancelled = false;\n private destroyed = false;\n\n rendered = signal(false);\n\n private readonly handleBeforeEnter = (event?: MotionEvent) => !this.destroyed && this.onBeforeEnter.emit(event);\n private readonly handleEnter = (event?: MotionEvent) => !this.destroyed && this.onEnter.emit(event);\n private readonly handleAfterEnter = (event?: MotionEvent) => !this.destroyed && this.onAfterEnter.emit(event);\n private readonly handleEnterCancelled = (event?: MotionEvent) => !this.destroyed && this.onEnterCancelled.emit(event);\n private readonly handleBeforeLeave = (event?: MotionEvent) => !this.destroyed && this.onBeforeLeave.emit(event);\n private readonly handleLeave = (event?: MotionEvent) => !this.destroyed && this.onLeave.emit(event);\n private readonly handleAfterLeave = (event?: MotionEvent) => !this.destroyed && this.onAfterLeave.emit(event);\n private readonly handleLeaveCancelled = (event?: MotionEvent) => !this.destroyed && this.onLeaveCancelled.emit(event);\n\n constructor() {\n super();\n\n effect(() => {\n const hideStrategy = this.hideStrategy();\n\n if (this.isInitialMount) {\n applyHiddenStyles(this.$el, hideStrategy);\n this.rendered.set((this.visible() && this.mountOnEnter()) || !this.mountOnEnter());\n } else if (this.visible() && !this.rendered()) {\n applyHiddenStyles(this.$el, hideStrategy);\n this.rendered.set(true);\n }\n });\n\n effect(() => {\n if (!this.motion) {\n this.motion = createMotion(this.$el, this.motionOptions());\n } else {\n // @todo: Update motion options method to update options dynamically\n //this.motion.update(this.$el, this.motionOptions());\n }\n });\n\n afterRenderEffect(async () => {\n if (!this.$el) return;\n\n const shouldAppear = this.isInitialMount && this.visible() && this.appear();\n const hideStrategy = this.hideStrategy();\n\n if (this.visible()) {\n await nextFrame();\n resetStyles(this.$el, hideStrategy);\n\n if (shouldAppear || !this.isInitialMount) {\n this.applyMotionDuration('enter');\n this.motion?.enter();\n }\n } else if (!this.isInitialMount) {\n await nextFrame();\n this.applyMotionDuration('leave');\n this.motion?.leave()?.then(async () => {\n if (this.$el && !this.cancelled && !this.visible()) {\n applyHiddenStyles(this.$el, hideStrategy);\n\n if (this.unmountOnLeave()) {\n await nextFrame();\n if (!this.cancelled) {\n this.rendered.set(false);\n }\n }\n }\n });\n }\n\n this.isInitialMount = false;\n });\n }\n\n private applyMotionDuration(phase: MotionPhase): void {\n const options = untracked(this.motionOptions);\n const ms = resolveDuration(options.duration, phase);\n\n if (ms == null || !this.$el) return;\n\n const el = this.$el as HTMLElement;\n const durationValue = `${ms}ms`;\n\n if (options.type === 'transition') {\n el.style.transitionDuration = durationValue;\n } else {\n el.style.animationDuration = durationValue;\n }\n }\n\n onDestroy(): void {\n this.destroyed = true;\n this.cancelled = true;\n\n this.motion?.cancel();\n this.motion = undefined;\n\n resetStyles(this.$el, this.hideStrategy());\n\n this.$el?.remove();\n\n this.isInitialMount = true;\n }\n}\n","import { afterRenderEffect, computed, Directive, effect, inject, InjectionToken, input, output, untracked } from '@angular/core';\nimport { createMotion, resolveDuration, type ClassNameOptions, type MotionEvent, type MotionInstance, type MotionOptions, type MotionPhase } from '@primeuix/motion';\nimport { BaseComponent, PARENT_INSTANCE } from 'primeng/basecomponent';\nimport { applyHiddenStyles, resetStyles } from './motion.utils';\nimport { MotionStyle } from './style/motion.style';\n\nconst MOTION_DIRECTIVE_INSTANCE = new InjectionToken<MotionDirective>('MOTION_DIRECTIVE_INSTANCE');\n\n/**\n * Motion Directive is directive to apply motion effects to elements.\n * @group Components\n */\n@Directive({\n selector: '[pMotion]',\n standalone: true,\n providers: [MotionStyle, { provide: MOTION_DIRECTIVE_INSTANCE, useExisting: MotionDirective }, { provide: PARENT_INSTANCE, useExisting: MotionDirective }]\n})\nexport class MotionDirective extends BaseComponent {\n $pcMotionDirective: MotionDirective | undefined = inject(MOTION_DIRECTIVE_INSTANCE, { optional: true, skipSelf: true }) ?? undefined;\n\n /******************** Inputs ********************/\n\n /**\n * Whether the element is visible or not.\n * @group Props\n */\n visible = input<boolean>(false, { alias: 'pMotion' });\n /**\n * The name of the motion. It can be a predefined motion name or a custom one.\n * phases:\n * [name]-enter\n * [name]-enter-active\n * [name]-enter-to\n * [name]-leave\n * [name]-leave-active\n * [name]-leave-to\n * @group Props\n */\n name = input<MotionOptions['name']>(undefined, { alias: 'pMotionName' });\n /**\n * The type of the motion, valid values 'transition' and 'animation'.\n * @group Props\n */\n type = input<MotionOptions['type']>(undefined, { alias: 'pMotionType' });\n /**\n * Whether the motion is safe.\n * @group Props\n */\n safe = input<MotionOptions['safe']>(undefined, { alias: 'pMotionSafe' });\n /**\n * Whether the motion is disabled.\n * @group Props\n */\n disabled = input<MotionOptions['disabled']>(false, { alias: 'pMotionDisabled' });\n /**\n * Whether the motion should appear.\n * @group Props\n */\n appear = input<MotionOptions['appear']>(false, { alias: 'pMotionAppear' });\n /**\n * Whether the motion should enter.\n * @group Props\n */\n enter = input<MotionOptions['enter']>(true, { alias: 'pMotionEnter' });\n /**\n * Whether the motion should leave.\n * @group Props\n */\n leave = input<MotionOptions['leave']>(true, { alias: 'pMotionLeave' });\n /**\n * The duration of the motion.\n * @group Props\n */\n duration = input<MotionOptions['duration']>(undefined, { alias: 'pMotionDuration' });\n /**\n * The hide strategy of the motion, valid values 'display' and 'visibility'.\n * @group Props\n */\n hideStrategy = input<'display' | 'visibility'>('display', { alias: 'pMotionHideStrategy' });\n /**\n * The enter from class of the motion.\n * @group Props\n */\n enterFromClass = input<ClassNameOptions['from']>(undefined, { alias: 'pMotionEnterFromClass' });\n /**\n * The enter to class of the motion.\n * @group Props\n */\n enterToClass = input<ClassNameOptions['to']>(undefined, { alias: 'pMotionEnterToClass' });\n /**\n * The enter active class of the motion.\n * @group Props\n */\n enterActiveClass = input<ClassNameOptions['active']>(undefined, { alias: 'pMotionEnterActiveClass' });\n /**\n * The leave from class of the motion.\n * @group Props\n */\n leaveFromClass = input<ClassNameOptions['from']>(undefined, { alias: 'pMotionLeaveFromClass' });\n /**\n * The leave to class of the motion.\n * @group Props\n */\n leaveToClass = input<ClassNameOptions['to']>(undefined, { alias: 'pMotionLeaveToClass' });\n /**\n * The leave active class of the motion.\n * @group Props\n */\n leaveActiveClass = input<ClassNameOptions['active']>(undefined, { alias: 'pMotionLeaveActiveClass' });\n\n /******************** All Inputs ********************/\n\n /**\n * The motion options.\n * @group Props\n */\n options = input<MotionOptions>({}, { alias: 'pMotionOptions' });\n\n /******************** Outputs ********************/\n\n /**\n * Callback fired before the enter transition/animation starts.\n * @param {MotionEvent} [event] - The event object containing details about the motion.\n * @param {Element} event.element - The element being transitioned/animated.\n * @group Emits\n */\n onBeforeEnter = output<MotionEvent | undefined>({ alias: 'pMotionOnBeforeEnter' });\n /**\n * Callback fired when the enter transition/animation starts.\n * @param {MotionEvent} [event] - The event object containing details about the motion.\n * @param {Element} event.element - The element being transitioned/animated.\n * @group Emits\n */\n onEnter = output<MotionEvent | undefined>({ alias: 'pMotionOnEnter' });\n /**\n * Callback fired after the enter transition/animation ends.\n * @param {MotionEvent} [event] - The event object containing details about the motion.\n * @param {Element} event.element - The element being transitioned/animated.\n * @group Emits\n */\n onAfterEnter = output<MotionEvent | undefined>({ alias: 'pMotionOnAfterEnter' });\n /**\n * Callback fired when the enter transition/animation is cancelled.\n * @param {MotionEvent} [event] - The event object containing details about the motion.\n * @param {Element} event.element - The element being transitioned/animated.\n * @group Emits\n */\n onEnterCancelled = output<MotionEvent | undefined>({ alias: 'pMotionOnEnterCancelled' });\n /**\n * Callback fired before the leave transition/animation starts.\n * @param {MotionEvent} [event] - The event object containing details about the motion.\n * @param {Element} event.element - The element being transitioned/animated.\n * @group Emits\n */\n onBeforeLeave = output<MotionEvent | undefined>({ alias: 'pMotionOnBeforeLeave' });\n /**\n * Callback fired when the leave transition/animation starts.\n * @param {MotionEvent} [event] - The event object containing details about the motion.\n * @param {Element} event.element - The element being transitioned/animated.\n * @group Emits\n */\n onLeave = output<MotionEvent | undefined>({ alias: 'pMotionOnLeave' });\n /**\n * Callback fired after the leave transition/animation ends.\n * @param {MotionEvent} [event] - The event object containing details about the motion.\n * @param {Element} event.element - The element being transitioned/animated.\n * @group Emits\n */\n onAfterLeave = output<MotionEvent | undefined>({ alias: 'pMotionOnAfterLeave' });\n /**\n * Callback fired when the leave transition/animation is cancelled.\n * @param {MotionEvent} [event] - The event object containing details about the motion.\n * @param {Element} event.element - The element being transitioned/animated.\n * @group Emits\n */\n onLeaveCancelled = output<MotionEvent | undefined>({ alias: 'pMotionOnLeaveCancelled' });\n\n /******************** Computed ********************/\n\n private motionOptions = computed<MotionOptions>(() => {\n const options = this.options() ?? {};\n\n return {\n name: options.name ?? this.name(),\n type: options.type ?? this.type(),\n safe: options.safe ?? this.safe(),\n disabled: options.disabled ?? this.disabled(),\n appear: false,\n enter: options.enter ?? this.enter(),\n leave: options.leave ?? this.leave(),\n duration: options.duration ?? this.duration(),\n enterClass: {\n from: options.enterClass?.from ?? (!options.name ? this.enterFromClass() : undefined),\n to: options.enterClass?.to ?? (!options.name ? this.enterToClass() : undefined),\n active: options.enterClass?.active ?? (!options.name ? this.enterActiveClass() : undefined)\n },\n leaveClass: {\n from: options.leaveClass?.from ?? (!options.name ? this.leaveFromClass() : undefined),\n to: options.leaveClass?.to ?? (!options.name ? this.leaveToClass() : undefined),\n active: options.leaveClass?.active ?? (!options.name ? this.leaveActiveClass() : undefined)\n },\n onBeforeEnter: options.onBeforeEnter ?? this.handleBeforeEnter,\n onEnter: options.onEnter ?? this.handleEnter,\n onAfterEnter: options.onAfterEnter ?? this.handleAfterEnter,\n onEnterCancelled: options.onEnterCancelled ?? this.handleEnterCancelled,\n onBeforeLeave: options.onBeforeLeave ?? this.handleBeforeLeave,\n onLeave: options.onLeave ?? this.handleLeave,\n onAfterLeave: options.onAfterLeave ?? this.handleAfterLeave,\n onLeaveCancelled: options.onLeaveCancelled ?? this.handleLeaveCancelled\n };\n });\n\n private motion: MotionInstance | undefined;\n private isInitialMount = true;\n private cancelled = false;\n private destroyed = false;\n\n private readonly handleBeforeEnter = (event?: MotionEvent) => !this.destroyed && this.onBeforeEnter.emit(event);\n private readonly handleEnter = (event?: MotionEvent) => !this.destroyed && this.onEnter.emit(event);\n private readonly handleAfterEnter = (event?: MotionEvent) => !this.destroyed && this.onAfterEnter.emit(event);\n private readonly handleEnterCancelled = (event?: MotionEvent) => !this.destroyed && this.onEnterCancelled.emit(event);\n private readonly handleBeforeLeave = (event?: MotionEvent) => !this.destroyed && this.onBeforeLeave.emit(event);\n private readonly handleLeave = (event?: MotionEvent) => !this.destroyed && this.onLeave.emit(event);\n private readonly handleAfterLeave = (event?: MotionEvent) => !this.destroyed && this.onAfterLeave.emit(event);\n private readonly handleLeaveCancelled = (event?: MotionEvent) => !this.destroyed && this.onLeaveCancelled.emit(event);\n\n constructor() {\n super();\n\n effect(() => {\n if (!this.motion) {\n this.motion = createMotion(this.$el, this.motionOptions());\n } else {\n // @todo: Update motion options method to update options dynamically\n //this.motion.update(this.$el, this.motionOptions());\n }\n });\n\n afterRenderEffect(() => {\n if (!this.$el) return;\n\n const shouldAppear = this.isInitialMount && this.visible() && this.appear();\n const hideStrategy = this.hideStrategy();\n\n if (this.visible()) {\n resetStyles(this.$el, hideStrategy);\n\n if (shouldAppear || !this.isInitialMount) {\n this.applyMotionDuration('enter');\n this.motion?.enter();\n }\n } else if (!this.isInitialMount) {\n this.applyMotionDuration('leave');\n this.motion?.leave()?.then(() => {\n if (this.$el && !this.cancelled && !this.visible()) {\n applyHiddenStyles(this.$el, hideStrategy);\n }\n });\n } else {\n applyHiddenStyles(this.$el, hideStrategy);\n }\n\n this.isInitialMount = false;\n });\n }\n\n private applyMotionDuration(phase: MotionPhase): void {\n const options = untracked(this.motionOptions);\n const ms = resolveDuration(options.duration, phase);\n\n if (ms == null || !this.$el) return;\n\n const el = this.$el as HTMLElement;\n const durationValue = `${ms}ms`;\n\n if (options.type === 'transition') {\n el.style.transitionDuration = durationValue;\n } else {\n el.style.animationDuration = durationValue;\n }\n }\n\n onDestroy(): void {\n this.destroyed = true;\n this.cancelled = true;\n\n this.motion?.cancel();\n this.motion = undefined;\n\n resetStyles(this.$el, this.hideStrategy());\n\n this.isInitialMount = true;\n }\n}\n","import { NgModule } from '@angular/core';\nimport { Motion } from './motion.component';\nimport { MotionDirective } from './motion.directive';\n\nexport * from './motion.component';\nexport * from './motion.directive';\n\n@NgModule({\n imports: [Motion, MotionDirective],\n exports: [Motion, MotionDirective]\n})\nexport class MotionModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;;;;;AAAA,MAAM,cAAc,GAAG,IAAI,OAAO,EAA8E;AAE1G,SAAU,iBAAiB,CAAC,OAAoB,EAAE,QAAkC,EAAA;AACtF,IAAA,IAAI,CAAC,OAAO;QAAE;IAEd,IAAI,CAAC,cAAc,CAAC,GAAG,CAAC,OAAO,CAAC,EAAE;AAC9B,QAAA,cAAc,CAAC,GAAG,CAAC,OAAO,EAAE;AACxB,YAAA,OAAO,EAAE,OAAO,CAAC,KAAK,CAAC,OAAO;AAC9B,YAAA,UAAU,EAAE,OAAO,CAAC,KAAK,CAAC,UAAU;AACpC,YAAA,SAAS,EAAE,OAAO,CAAC,KAAK,CAAC;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,EAAA,CAAA;AACN,oBAAA,OAAO,EAAE,CAAC,MAAM,EAAE,eAAe,CAAC;AAClC,oBAAA,OAAO,EAAE,CAAC,MAAM,EAAE,eAAe;AACpC,iBAAA;;;ACVD;;AAEG;;;;"}
|
|
@@ -95,10 +95,10 @@ class MultiSelectStyle extends BaseStyle {
|
|
|
95
95
|
style = style;
|
|
96
96
|
classes = classes;
|
|
97
97
|
inlineStyles = inlineStyles;
|
|
98
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
99
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.
|
|
98
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: MultiSelectStyle, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
99
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: MultiSelectStyle });
|
|
100
100
|
}
|
|
101
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
101
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: MultiSelectStyle, decorators: [{
|
|
102
102
|
type: Injectable
|
|
103
103
|
}] });
|
|
104
104
|
/**
|
|
@@ -241,8 +241,8 @@ class MultiSelectItem extends BaseComponent {
|
|
|
241
241
|
selected: this.selected
|
|
242
242
|
});
|
|
243
243
|
}
|
|
244
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
245
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "21.
|
|
244
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: MultiSelectItem, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
245
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "21.2.0", type: MultiSelectItem, isStandalone: true, selector: "li[pMultiSelectItem]", inputs: { option: "option", selected: ["selected", "selected", booleanAttribute], label: "label", disabled: ["disabled", "disabled", booleanAttribute], itemSize: ["itemSize", "itemSize", numberAttribute], focused: ["focused", "focused", booleanAttribute], ariaPosInset: "ariaPosInset", ariaSetSize: "ariaSetSize", variant: "variant", template: "template", checkIconTemplate: "checkIconTemplate", itemCheckboxIconTemplate: "itemCheckboxIconTemplate", highlightOnSelect: ["highlightOnSelect", "highlightOnSelect", booleanAttribute] }, outputs: { onClick: "onClick", onMouseEnter: "onMouseEnter" }, host: { attributes: { "role": "option" }, listeners: { "click": "onOptionClick($event)", "mouseenter": "onOptionMouseEnter($event)" }, properties: { "style.height.px": "itemSize", "attr.aria-label": "label", "attr.aria-setsize": "ariaSetSize", "attr.aria-posinset": "ariaPosInset", "attr.aria-selected": "selected", "attr.data-p-selected": "selected", "attr.data-p-focused": "focused", "attr.data-p-highlight": "selected", "attr.data-p-disabled": "disabled", "attr.aria-checked": "selected", "class": "cx('option')" } }, providers: [MultiSelectStyle], usesInheritance: true, ngImport: i0, template: `
|
|
246
246
|
<p-checkbox [ngModel]="selected" [binary]="true" [tabindex]="-1" [variant]="variant" [ariaLabel]="label" [pt]="getPTOptions('pcOptionCheckbox')" [unstyled]="unstyled()">
|
|
247
247
|
<ng-container *ngIf="itemCheckboxIconTemplate">
|
|
248
248
|
<ng-template #icon let-klass="class">
|
|
@@ -254,7 +254,7 @@ class MultiSelectItem extends BaseComponent {
|
|
|
254
254
|
<ng-container *ngTemplateOutlet="template; context: { $implicit: option }"></ng-container>
|
|
255
255
|
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: Checkbox, selector: "p-checkbox, p-checkBox, p-check-box", inputs: ["hostName", "value", "binary", "ariaLabelledBy", "ariaLabel", "tabindex", "inputId", "inputStyle", "styleClass", "inputClass", "indeterminate", "formControl", "checkboxIcon", "readonly", "autofocus", "trueValue", "falseValue", "variant", "size"], outputs: ["onChange", "onFocus", "onBlur"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: SharedModule }], encapsulation: i0.ViewEncapsulation.None });
|
|
256
256
|
}
|
|
257
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
257
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: MultiSelectItem, decorators: [{
|
|
258
258
|
type: Component,
|
|
259
259
|
args: [{
|
|
260
260
|
selector: 'li[pMultiSelectItem]',
|
|
@@ -1826,8 +1826,8 @@ class MultiSelect extends BaseEditableHolder {
|
|
|
1826
1826
|
}
|
|
1827
1827
|
});
|
|
1828
1828
|
}
|
|
1829
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
1830
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.1.0", type: MultiSelect, isStandalone: true, selector: "p-multiSelect, p-multiselect, p-multi-select", inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: false, isRequired: false, transformFunction: null }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: false, isRequired: false, transformFunction: null }, styleClass: { classPropertyName: "styleClass", publicName: "styleClass", isSignal: false, isRequired: false, transformFunction: null }, panelStyle: { classPropertyName: "panelStyle", publicName: "panelStyle", isSignal: false, isRequired: false, transformFunction: null }, panelStyleClass: { classPropertyName: "panelStyleClass", publicName: "panelStyleClass", isSignal: false, isRequired: false, transformFunction: null }, inputId: { classPropertyName: "inputId", publicName: "inputId", isSignal: false, isRequired: false, transformFunction: null }, readonly: { classPropertyName: "readonly", publicName: "readonly", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, group: { classPropertyName: "group", publicName: "group", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, filter: { classPropertyName: "filter", publicName: "filter", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, filterPlaceHolder: { classPropertyName: "filterPlaceHolder", publicName: "filterPlaceHolder", isSignal: false, isRequired: false, transformFunction: null }, filterLocale: { classPropertyName: "filterLocale", publicName: "filterLocale", isSignal: false, isRequired: false, transformFunction: null }, overlayVisible: { classPropertyName: "overlayVisible", publicName: "overlayVisible", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, tabindex: { classPropertyName: "tabindex", publicName: "tabindex", isSignal: false, isRequired: false, transformFunction: numberAttribute }, dataKey: { classPropertyName: "dataKey", publicName: "dataKey", isSignal: false, isRequired: false, transformFunction: null }, ariaLabelledBy: { classPropertyName: "ariaLabelledBy", publicName: "ariaLabelledBy", isSignal: false, isRequired: false, transformFunction: null }, displaySelectedLabel: { classPropertyName: "displaySelectedLabel", publicName: "displaySelectedLabel", isSignal: false, isRequired: false, transformFunction: null }, maxSelectedLabels: { classPropertyName: "maxSelectedLabels", publicName: "maxSelectedLabels", isSignal: false, isRequired: false, transformFunction: null }, selectionLimit: { classPropertyName: "selectionLimit", publicName: "selectionLimit", isSignal: false, isRequired: false, transformFunction: numberAttribute }, selectedItemsLabel: { classPropertyName: "selectedItemsLabel", publicName: "selectedItemsLabel", isSignal: false, isRequired: false, transformFunction: null }, showToggleAll: { classPropertyName: "showToggleAll", publicName: "showToggleAll", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, emptyFilterMessage: { classPropertyName: "emptyFilterMessage", publicName: "emptyFilterMessage", isSignal: false, isRequired: false, transformFunction: null }, emptyMessage: { classPropertyName: "emptyMessage", publicName: "emptyMessage", isSignal: false, isRequired: false, transformFunction: null }, resetFilterOnHide: { classPropertyName: "resetFilterOnHide", publicName: "resetFilterOnHide", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, dropdownIcon: { classPropertyName: "dropdownIcon", publicName: "dropdownIcon", isSignal: false, isRequired: false, transformFunction: null }, chipIcon: { classPropertyName: "chipIcon", publicName: "chipIcon", isSignal: false, isRequired: false, transformFunction: null }, optionLabel: { classPropertyName: "optionLabel", publicName: "optionLabel", isSignal: false, isRequired: false, transformFunction: null }, optionValue: { classPropertyName: "optionValue", publicName: "optionValue", isSignal: false, isRequired: false, transformFunction: null }, optionDisabled: { classPropertyName: "optionDisabled", publicName: "optionDisabled", isSignal: false, isRequired: false, transformFunction: null }, optionGroupLabel: { classPropertyName: "optionGroupLabel", publicName: "optionGroupLabel", isSignal: false, isRequired: false, transformFunction: null }, optionGroupChildren: { classPropertyName: "optionGroupChildren", publicName: "optionGroupChildren", isSignal: false, isRequired: false, transformFunction: null }, showHeader: { classPropertyName: "showHeader", publicName: "showHeader", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, filterBy: { classPropertyName: "filterBy", publicName: "filterBy", isSignal: false, isRequired: false, transformFunction: null }, scrollHeight: { classPropertyName: "scrollHeight", publicName: "scrollHeight", isSignal: false, isRequired: false, transformFunction: null }, lazy: { classPropertyName: "lazy", publicName: "lazy", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, virtualScroll: { classPropertyName: "virtualScroll", publicName: "virtualScroll", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, loading: { classPropertyName: "loading", publicName: "loading", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, virtualScrollItemSize: { classPropertyName: "virtualScrollItemSize", publicName: "virtualScrollItemSize", isSignal: false, isRequired: false, transformFunction: numberAttribute }, loadingIcon: { classPropertyName: "loadingIcon", publicName: "loadingIcon", isSignal: false, isRequired: false, transformFunction: null }, virtualScrollOptions: { classPropertyName: "virtualScrollOptions", publicName: "virtualScrollOptions", isSignal: false, isRequired: false, transformFunction: null }, overlayOptions: { classPropertyName: "overlayOptions", publicName: "overlayOptions", isSignal: false, isRequired: false, transformFunction: null }, ariaFilterLabel: { classPropertyName: "ariaFilterLabel", publicName: "ariaFilterLabel", isSignal: false, isRequired: false, transformFunction: null }, filterMatchMode: { classPropertyName: "filterMatchMode", publicName: "filterMatchMode", isSignal: false, isRequired: false, transformFunction: null }, tooltip: { classPropertyName: "tooltip", publicName: "tooltip", isSignal: false, isRequired: false, transformFunction: null }, tooltipPosition: { classPropertyName: "tooltipPosition", publicName: "tooltipPosition", isSignal: false, isRequired: false, transformFunction: null }, tooltipPositionStyle: { classPropertyName: "tooltipPositionStyle", publicName: "tooltipPositionStyle", isSignal: false, isRequired: false, transformFunction: null }, tooltipStyleClass: { classPropertyName: "tooltipStyleClass", publicName: "tooltipStyleClass", isSignal: false, isRequired: false, transformFunction: null }, autofocusFilter: { classPropertyName: "autofocusFilter", publicName: "autofocusFilter", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, display: { classPropertyName: "display", publicName: "display", isSignal: false, isRequired: false, transformFunction: null }, autocomplete: { classPropertyName: "autocomplete", publicName: "autocomplete", isSignal: false, isRequired: false, transformFunction: null }, showClear: { classPropertyName: "showClear", publicName: "showClear", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, autofocus: { classPropertyName: "autofocus", publicName: "autofocus", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: false, isRequired: false, transformFunction: null }, options: { classPropertyName: "options", publicName: "options", isSignal: false, isRequired: false, transformFunction: null }, filterValue: { classPropertyName: "filterValue", publicName: "filterValue", isSignal: false, isRequired: false, transformFunction: null }, selectAll: { classPropertyName: "selectAll", publicName: "selectAll", isSignal: false, isRequired: false, transformFunction: null }, focusOnHover: { classPropertyName: "focusOnHover", publicName: "focusOnHover", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, filterFields: { classPropertyName: "filterFields", publicName: "filterFields", isSignal: false, isRequired: false, transformFunction: null }, selectOnFocus: { classPropertyName: "selectOnFocus", publicName: "selectOnFocus", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, autoOptionFocus: { classPropertyName: "autoOptionFocus", publicName: "autoOptionFocus", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, highlightOnSelect: { classPropertyName: "highlightOnSelect", publicName: "highlightOnSelect", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null }, fluid: { classPropertyName: "fluid", publicName: "fluid", isSignal: true, isRequired: false, transformFunction: null }, appendTo: { classPropertyName: "appendTo", publicName: "appendTo", isSignal: true, isRequired: false, transformFunction: null }, motionOptions: { classPropertyName: "motionOptions", publicName: "motionOptions", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { onChange: "onChange", onFilter: "onFilter", onFocus: "onFocus", onBlur: "onBlur", onClick: "onClick", onClear: "onClear", onPanelShow: "onPanelShow", onPanelHide: "onPanelHide", onLazyLoad: "onLazyLoad", onRemove: "onRemove", onSelectAllChange: "onSelectAllChange" }, host: { listeners: { "click": "onContainerClick($event)" }, properties: { "attr.id": "id", "attr.data-p": "containerDataP", "class": "cn(cx('root'), styleClass)", "style": "sx('root')" } }, providers: [MULTISELECT_VALUE_ACCESSOR, MultiSelectStyle, { provide: MULTISELECT_INSTANCE, useExisting: MultiSelect }, { provide: PARENT_INSTANCE, useExisting: MultiSelect }], queries: [{ propertyName: "footerFacet", first: true, predicate: Footer, descendants: true }, { propertyName: "headerFacet", first: true, predicate: Header, descendants: true }, { propertyName: "itemTemplate", first: true, predicate: ["item"] }, { propertyName: "groupTemplate", first: true, predicate: ["group"] }, { propertyName: "loaderTemplate", first: true, predicate: ["loader"] }, { propertyName: "headerTemplate", first: true, predicate: ["header"] }, { propertyName: "filterTemplate", first: true, predicate: ["filter"] }, { propertyName: "footerTemplate", first: true, predicate: ["footer"] }, { propertyName: "emptyFilterTemplate", first: true, predicate: ["emptyfilter"] }, { propertyName: "emptyTemplate", first: true, predicate: ["empty"] }, { propertyName: "selectedItemsTemplate", first: true, predicate: ["selecteditems"] }, { propertyName: "loadingIconTemplate", first: true, predicate: ["loadingicon"] }, { propertyName: "filterIconTemplate", first: true, predicate: ["filtericon"] }, { propertyName: "removeTokenIconTemplate", first: true, predicate: ["removetokenicon"] }, { propertyName: "chipIconTemplate", first: true, predicate: ["chipicon"] }, { propertyName: "clearIconTemplate", first: true, predicate: ["clearicon"] }, { propertyName: "dropdownIconTemplate", first: true, predicate: ["dropdownicon"] }, { propertyName: "itemCheckboxIconTemplate", first: true, predicate: ["itemcheckboxicon"] }, { propertyName: "headerCheckboxIconTemplate", first: true, predicate: ["headercheckboxicon"] }, { propertyName: "templates", predicate: PrimeTemplate }], viewQueries: [{ propertyName: "overlayViewChild", first: true, predicate: ["overlay"], descendants: true }, { propertyName: "filterInputChild", first: true, predicate: ["filterInput"], descendants: true }, { propertyName: "focusInputViewChild", first: true, predicate: ["focusInput"], descendants: true }, { propertyName: "itemsViewChild", first: true, predicate: ["items"], descendants: true }, { propertyName: "scroller", first: true, predicate: ["scroller"], descendants: true }, { propertyName: "lastHiddenFocusableElementOnOverlay", first: true, predicate: ["lastHiddenFocusableEl"], descendants: true }, { propertyName: "firstHiddenFocusableElementOnOverlay", first: true, predicate: ["firstHiddenFocusableEl"], descendants: true }, { propertyName: "headerCheckboxViewChild", first: true, predicate: ["headerCheckbox"], descendants: true }], usesInheritance: true, hostDirectives: [{ directive: i4.Bind }], ngImport: i0, template: `
|
|
1829
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: MultiSelect, deps: [{ token: i0.NgZone }, { token: i3.FilterService }, { token: i3.OverlayService }], target: i0.ɵɵFactoryTarget.Component });
|
|
1830
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.0", type: MultiSelect, isStandalone: true, selector: "p-multiSelect, p-multiselect, p-multi-select", inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: false, isRequired: false, transformFunction: null }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: false, isRequired: false, transformFunction: null }, styleClass: { classPropertyName: "styleClass", publicName: "styleClass", isSignal: false, isRequired: false, transformFunction: null }, panelStyle: { classPropertyName: "panelStyle", publicName: "panelStyle", isSignal: false, isRequired: false, transformFunction: null }, panelStyleClass: { classPropertyName: "panelStyleClass", publicName: "panelStyleClass", isSignal: false, isRequired: false, transformFunction: null }, inputId: { classPropertyName: "inputId", publicName: "inputId", isSignal: false, isRequired: false, transformFunction: null }, readonly: { classPropertyName: "readonly", publicName: "readonly", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, group: { classPropertyName: "group", publicName: "group", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, filter: { classPropertyName: "filter", publicName: "filter", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, filterPlaceHolder: { classPropertyName: "filterPlaceHolder", publicName: "filterPlaceHolder", isSignal: false, isRequired: false, transformFunction: null }, filterLocale: { classPropertyName: "filterLocale", publicName: "filterLocale", isSignal: false, isRequired: false, transformFunction: null }, overlayVisible: { classPropertyName: "overlayVisible", publicName: "overlayVisible", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, tabindex: { classPropertyName: "tabindex", publicName: "tabindex", isSignal: false, isRequired: false, transformFunction: numberAttribute }, dataKey: { classPropertyName: "dataKey", publicName: "dataKey", isSignal: false, isRequired: false, transformFunction: null }, ariaLabelledBy: { classPropertyName: "ariaLabelledBy", publicName: "ariaLabelledBy", isSignal: false, isRequired: false, transformFunction: null }, displaySelectedLabel: { classPropertyName: "displaySelectedLabel", publicName: "displaySelectedLabel", isSignal: false, isRequired: false, transformFunction: null }, maxSelectedLabels: { classPropertyName: "maxSelectedLabels", publicName: "maxSelectedLabels", isSignal: false, isRequired: false, transformFunction: null }, selectionLimit: { classPropertyName: "selectionLimit", publicName: "selectionLimit", isSignal: false, isRequired: false, transformFunction: numberAttribute }, selectedItemsLabel: { classPropertyName: "selectedItemsLabel", publicName: "selectedItemsLabel", isSignal: false, isRequired: false, transformFunction: null }, showToggleAll: { classPropertyName: "showToggleAll", publicName: "showToggleAll", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, emptyFilterMessage: { classPropertyName: "emptyFilterMessage", publicName: "emptyFilterMessage", isSignal: false, isRequired: false, transformFunction: null }, emptyMessage: { classPropertyName: "emptyMessage", publicName: "emptyMessage", isSignal: false, isRequired: false, transformFunction: null }, resetFilterOnHide: { classPropertyName: "resetFilterOnHide", publicName: "resetFilterOnHide", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, dropdownIcon: { classPropertyName: "dropdownIcon", publicName: "dropdownIcon", isSignal: false, isRequired: false, transformFunction: null }, chipIcon: { classPropertyName: "chipIcon", publicName: "chipIcon", isSignal: false, isRequired: false, transformFunction: null }, optionLabel: { classPropertyName: "optionLabel", publicName: "optionLabel", isSignal: false, isRequired: false, transformFunction: null }, optionValue: { classPropertyName: "optionValue", publicName: "optionValue", isSignal: false, isRequired: false, transformFunction: null }, optionDisabled: { classPropertyName: "optionDisabled", publicName: "optionDisabled", isSignal: false, isRequired: false, transformFunction: null }, optionGroupLabel: { classPropertyName: "optionGroupLabel", publicName: "optionGroupLabel", isSignal: false, isRequired: false, transformFunction: null }, optionGroupChildren: { classPropertyName: "optionGroupChildren", publicName: "optionGroupChildren", isSignal: false, isRequired: false, transformFunction: null }, showHeader: { classPropertyName: "showHeader", publicName: "showHeader", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, filterBy: { classPropertyName: "filterBy", publicName: "filterBy", isSignal: false, isRequired: false, transformFunction: null }, scrollHeight: { classPropertyName: "scrollHeight", publicName: "scrollHeight", isSignal: false, isRequired: false, transformFunction: null }, lazy: { classPropertyName: "lazy", publicName: "lazy", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, virtualScroll: { classPropertyName: "virtualScroll", publicName: "virtualScroll", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, loading: { classPropertyName: "loading", publicName: "loading", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, virtualScrollItemSize: { classPropertyName: "virtualScrollItemSize", publicName: "virtualScrollItemSize", isSignal: false, isRequired: false, transformFunction: numberAttribute }, loadingIcon: { classPropertyName: "loadingIcon", publicName: "loadingIcon", isSignal: false, isRequired: false, transformFunction: null }, virtualScrollOptions: { classPropertyName: "virtualScrollOptions", publicName: "virtualScrollOptions", isSignal: false, isRequired: false, transformFunction: null }, overlayOptions: { classPropertyName: "overlayOptions", publicName: "overlayOptions", isSignal: false, isRequired: false, transformFunction: null }, ariaFilterLabel: { classPropertyName: "ariaFilterLabel", publicName: "ariaFilterLabel", isSignal: false, isRequired: false, transformFunction: null }, filterMatchMode: { classPropertyName: "filterMatchMode", publicName: "filterMatchMode", isSignal: false, isRequired: false, transformFunction: null }, tooltip: { classPropertyName: "tooltip", publicName: "tooltip", isSignal: false, isRequired: false, transformFunction: null }, tooltipPosition: { classPropertyName: "tooltipPosition", publicName: "tooltipPosition", isSignal: false, isRequired: false, transformFunction: null }, tooltipPositionStyle: { classPropertyName: "tooltipPositionStyle", publicName: "tooltipPositionStyle", isSignal: false, isRequired: false, transformFunction: null }, tooltipStyleClass: { classPropertyName: "tooltipStyleClass", publicName: "tooltipStyleClass", isSignal: false, isRequired: false, transformFunction: null }, autofocusFilter: { classPropertyName: "autofocusFilter", publicName: "autofocusFilter", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, display: { classPropertyName: "display", publicName: "display", isSignal: false, isRequired: false, transformFunction: null }, autocomplete: { classPropertyName: "autocomplete", publicName: "autocomplete", isSignal: false, isRequired: false, transformFunction: null }, showClear: { classPropertyName: "showClear", publicName: "showClear", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, autofocus: { classPropertyName: "autofocus", publicName: "autofocus", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: false, isRequired: false, transformFunction: null }, options: { classPropertyName: "options", publicName: "options", isSignal: false, isRequired: false, transformFunction: null }, filterValue: { classPropertyName: "filterValue", publicName: "filterValue", isSignal: false, isRequired: false, transformFunction: null }, selectAll: { classPropertyName: "selectAll", publicName: "selectAll", isSignal: false, isRequired: false, transformFunction: null }, focusOnHover: { classPropertyName: "focusOnHover", publicName: "focusOnHover", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, filterFields: { classPropertyName: "filterFields", publicName: "filterFields", isSignal: false, isRequired: false, transformFunction: null }, selectOnFocus: { classPropertyName: "selectOnFocus", publicName: "selectOnFocus", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, autoOptionFocus: { classPropertyName: "autoOptionFocus", publicName: "autoOptionFocus", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, highlightOnSelect: { classPropertyName: "highlightOnSelect", publicName: "highlightOnSelect", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null }, fluid: { classPropertyName: "fluid", publicName: "fluid", isSignal: true, isRequired: false, transformFunction: null }, appendTo: { classPropertyName: "appendTo", publicName: "appendTo", isSignal: true, isRequired: false, transformFunction: null }, motionOptions: { classPropertyName: "motionOptions", publicName: "motionOptions", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { onChange: "onChange", onFilter: "onFilter", onFocus: "onFocus", onBlur: "onBlur", onClick: "onClick", onClear: "onClear", onPanelShow: "onPanelShow", onPanelHide: "onPanelHide", onLazyLoad: "onLazyLoad", onRemove: "onRemove", onSelectAllChange: "onSelectAllChange" }, host: { listeners: { "click": "onContainerClick($event)" }, properties: { "attr.id": "id", "attr.data-p": "containerDataP", "class": "cn(cx('root'), styleClass)", "style": "sx('root')" } }, providers: [MULTISELECT_VALUE_ACCESSOR, MultiSelectStyle, { provide: MULTISELECT_INSTANCE, useExisting: MultiSelect }, { provide: PARENT_INSTANCE, useExisting: MultiSelect }], queries: [{ propertyName: "footerFacet", first: true, predicate: Footer, descendants: true }, { propertyName: "headerFacet", first: true, predicate: Header, descendants: true }, { propertyName: "itemTemplate", first: true, predicate: ["item"] }, { propertyName: "groupTemplate", first: true, predicate: ["group"] }, { propertyName: "loaderTemplate", first: true, predicate: ["loader"] }, { propertyName: "headerTemplate", first: true, predicate: ["header"] }, { propertyName: "filterTemplate", first: true, predicate: ["filter"] }, { propertyName: "footerTemplate", first: true, predicate: ["footer"] }, { propertyName: "emptyFilterTemplate", first: true, predicate: ["emptyfilter"] }, { propertyName: "emptyTemplate", first: true, predicate: ["empty"] }, { propertyName: "selectedItemsTemplate", first: true, predicate: ["selecteditems"] }, { propertyName: "loadingIconTemplate", first: true, predicate: ["loadingicon"] }, { propertyName: "filterIconTemplate", first: true, predicate: ["filtericon"] }, { propertyName: "removeTokenIconTemplate", first: true, predicate: ["removetokenicon"] }, { propertyName: "chipIconTemplate", first: true, predicate: ["chipicon"] }, { propertyName: "clearIconTemplate", first: true, predicate: ["clearicon"] }, { propertyName: "dropdownIconTemplate", first: true, predicate: ["dropdownicon"] }, { propertyName: "itemCheckboxIconTemplate", first: true, predicate: ["itemcheckboxicon"] }, { propertyName: "headerCheckboxIconTemplate", first: true, predicate: ["headercheckboxicon"] }, { propertyName: "templates", predicate: PrimeTemplate }], viewQueries: [{ propertyName: "overlayViewChild", first: true, predicate: ["overlay"], descendants: true }, { propertyName: "filterInputChild", first: true, predicate: ["filterInput"], descendants: true }, { propertyName: "focusInputViewChild", first: true, predicate: ["focusInput"], descendants: true }, { propertyName: "itemsViewChild", first: true, predicate: ["items"], descendants: true }, { propertyName: "scroller", first: true, predicate: ["scroller"], descendants: true }, { propertyName: "lastHiddenFocusableElementOnOverlay", first: true, predicate: ["lastHiddenFocusableEl"], descendants: true }, { propertyName: "firstHiddenFocusableElementOnOverlay", first: true, predicate: ["firstHiddenFocusableEl"], descendants: true }, { propertyName: "headerCheckboxViewChild", first: true, predicate: ["headerCheckbox"], descendants: true }], usesInheritance: true, hostDirectives: [{ directive: i4.Bind }], ngImport: i0, template: `
|
|
1831
1831
|
<div class="p-hidden-accessible" [attr.data-p-hidden-accessible]="true" [pBind]="ptm('hiddenInputContainer')">
|
|
1832
1832
|
<input
|
|
1833
1833
|
#focusInput
|
|
@@ -2120,7 +2120,7 @@ class MultiSelect extends BaseEditableHolder {
|
|
|
2120
2120
|
</p-overlay>
|
|
2121
2121
|
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: MultiSelectItem, selector: "li[pMultiSelectItem]", inputs: ["option", "selected", "label", "disabled", "itemSize", "focused", "ariaPosInset", "ariaSetSize", "variant", "template", "checkIconTemplate", "itemCheckboxIconTemplate", "highlightOnSelect"], outputs: ["onClick", "onMouseEnter"] }, { kind: "component", type: Overlay, selector: "p-overlay", inputs: ["hostName", "visible", "mode", "style", "styleClass", "contentStyle", "contentStyleClass", "target", "autoZIndex", "baseZIndex", "showTransitionOptions", "hideTransitionOptions", "listener", "responsive", "options", "appendTo", "inline", "motionOptions", "hostAttrSelector"], outputs: ["visibleChange", "onBeforeShow", "onShow", "onBeforeHide", "onHide", "onAnimationStart", "onAnimationDone", "onBeforeEnter", "onEnter", "onAfterEnter", "onBeforeLeave", "onLeave", "onAfterLeave"] }, { kind: "ngmodule", type: SharedModule }, { kind: "directive", type: Tooltip, selector: "[pTooltip]", inputs: ["tooltipPosition", "tooltipEvent", "positionStyle", "tooltipStyleClass", "tooltipZIndex", "escape", "showDelay", "hideDelay", "life", "positionTop", "positionLeft", "autoHide", "fitContent", "hideOnEscape", "showOnEllipsis", "pTooltip", "tooltipDisabled", "tooltipOptions", "appendTo", "ptTooltip", "pTooltipPT", "pTooltipUnstyled"] }, { kind: "component", type: Scroller, selector: "p-scroller, p-virtualscroller, p-virtual-scroller, p-virtualScroller", inputs: ["hostName", "id", "style", "styleClass", "tabindex", "items", "itemSize", "scrollHeight", "scrollWidth", "orientation", "step", "delay", "resizeDelay", "appendOnly", "inline", "lazy", "disabled", "loaderDisabled", "columns", "showSpacer", "showLoader", "numToleratedItems", "loading", "autoSize", "trackBy", "options"], outputs: ["onLazyLoad", "onScroll", "onScrollIndexChange"] }, { kind: "directive", type: AutoFocus, selector: "[pAutoFocus]", inputs: ["pAutoFocus"] }, { kind: "component", type: CheckIcon, selector: "[data-p-icon=\"check\"]" }, { kind: "component", type: SearchIcon, selector: "[data-p-icon=\"search\"]" }, { kind: "component", type: TimesIcon, selector: "[data-p-icon=\"times\"]" }, { kind: "component", type: ChevronDownIcon, selector: "[data-p-icon=\"chevron-down\"]" }, { kind: "component", type: IconField, selector: "p-iconfield, p-iconField, p-icon-field", inputs: ["hostName", "iconPosition", "styleClass"] }, { kind: "component", type: InputIcon, selector: "p-inputicon, p-inputIcon", inputs: ["hostName", "styleClass"] }, { kind: "directive", type: InputText, selector: "[pInputText]", inputs: ["hostName", "ptInputText", "pInputTextPT", "pInputTextUnstyled", "pSize", "variant", "fluid", "invalid"] }, { kind: "component", type: Chip, selector: "p-chip", inputs: ["label", "icon", "image", "alt", "styleClass", "disabled", "removable", "removeIcon", "chipProps"], outputs: ["onRemove", "onImageError"] }, { kind: "component", type: Checkbox, selector: "p-checkbox, p-checkBox, p-check-box", inputs: ["hostName", "value", "binary", "ariaLabelledBy", "ariaLabel", "tabindex", "inputId", "inputStyle", "styleClass", "inputClass", "indeterminate", "formControl", "checkboxIcon", "readonly", "autofocus", "trueValue", "falseValue", "variant", "size"], outputs: ["onChange", "onFocus", "onBlur"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: BindModule }, { kind: "directive", type: i4.Bind, selector: "[pBind]", inputs: ["pBind"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
2122
2122
|
}
|
|
2123
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
2123
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: MultiSelect, decorators: [{
|
|
2124
2124
|
type: Component,
|
|
2125
2125
|
args: [{
|
|
2126
2126
|
selector: 'p-multiSelect, p-multiselect, p-multi-select',
|
|
@@ -2678,11 +2678,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImpor
|
|
|
2678
2678
|
args: [PrimeTemplate]
|
|
2679
2679
|
}] } });
|
|
2680
2680
|
class MultiSelectModule {
|
|
2681
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
2682
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.
|
|
2683
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.
|
|
2681
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: MultiSelectModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2682
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.0", ngImport: i0, type: MultiSelectModule, imports: [MultiSelect, SharedModule], exports: [MultiSelect, SharedModule] });
|
|
2683
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: MultiSelectModule, imports: [MultiSelect, SharedModule, SharedModule] });
|
|
2684
2684
|
}
|
|
2685
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
2685
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: MultiSelectModule, decorators: [{
|
|
2686
2686
|
type: NgModule,
|
|
2687
2687
|
args: [{
|
|
2688
2688
|
imports: [MultiSelect, SharedModule],
|