primeng 21.0.0-rc.1 → 21.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.md +1 -1
- package/fesm2022/primeng-accordion.mjs +34 -34
- package/fesm2022/primeng-accordion.mjs.map +1 -1
- package/fesm2022/primeng-animateonscroll.mjs +7 -7
- package/fesm2022/primeng-api.mjs +31 -31
- package/fesm2022/primeng-autocomplete.mjs +18 -18
- 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 +21 -21
- package/fesm2022/primeng-badge.mjs.map +1 -1
- package/fesm2022/primeng-base.mjs +3 -3
- package/fesm2022/primeng-basecomponent.mjs +14 -14
- package/fesm2022/primeng-basecomponent.mjs.map +1 -1
- package/fesm2022/primeng-baseeditableholder.mjs +6 -6
- package/fesm2022/primeng-baseeditableholder.mjs.map +1 -1
- package/fesm2022/primeng-baseinput.mjs +13 -13
- package/fesm2022/primeng-baseinput.mjs.map +1 -1
- package/fesm2022/primeng-basemodelholder.mjs +5 -5
- package/fesm2022/primeng-basemodelholder.mjs.map +1 -1
- package/fesm2022/primeng-bind.mjs +12 -12
- package/fesm2022/primeng-bind.mjs.map +1 -1
- package/fesm2022/primeng-blockui.mjs +10 -10
- package/fesm2022/primeng-breadcrumb.mjs +10 -10
- package/fesm2022/primeng-button.mjs +32 -32
- package/fesm2022/primeng-button.mjs.map +1 -1
- package/fesm2022/primeng-buttongroup.mjs +10 -10
- package/fesm2022/primeng-card.mjs +11 -11
- package/fesm2022/primeng-card.mjs.map +1 -1
- package/fesm2022/primeng-carousel.mjs +10 -10
- package/fesm2022/primeng-cascadeselect.mjs +25 -25
- package/fesm2022/primeng-cascadeselect.mjs.map +1 -1
- package/fesm2022/primeng-chart.mjs +10 -10
- package/fesm2022/primeng-checkbox.mjs +14 -14
- package/fesm2022/primeng-checkbox.mjs.map +1 -1
- package/fesm2022/primeng-chip.mjs +10 -10
- package/fesm2022/primeng-classnames.mjs +8 -8
- package/fesm2022/primeng-classnames.mjs.map +1 -1
- package/fesm2022/primeng-colorpicker.mjs +14 -14
- package/fesm2022/primeng-colorpicker.mjs.map +1 -1
- package/fesm2022/primeng-config.mjs +16 -16
- package/fesm2022/primeng-config.mjs.map +1 -1
- package/fesm2022/primeng-confirmdialog.mjs +12 -12
- package/fesm2022/primeng-confirmdialog.mjs.map +1 -1
- package/fesm2022/primeng-confirmpopup.mjs +18 -18
- package/fesm2022/primeng-confirmpopup.mjs.map +1 -1
- package/fesm2022/primeng-contextmenu.mjs +24 -24
- package/fesm2022/primeng-contextmenu.mjs.map +1 -1
- package/fesm2022/primeng-dataview.mjs +10 -10
- package/fesm2022/primeng-datepicker.mjs +14 -14
- package/fesm2022/primeng-datepicker.mjs.map +1 -1
- package/fesm2022/primeng-dialog.mjs +19 -19
- package/fesm2022/primeng-dialog.mjs.map +1 -1
- package/fesm2022/primeng-divider.mjs +10 -10
- package/fesm2022/primeng-dock.mjs +12 -12
- package/fesm2022/primeng-dock.mjs.map +1 -1
- package/fesm2022/primeng-dragdrop.mjs +10 -10
- package/fesm2022/primeng-drawer.mjs +18 -18
- package/fesm2022/primeng-drawer.mjs.map +1 -1
- package/fesm2022/primeng-dynamicdialog.mjs +16 -16
- package/fesm2022/primeng-editor.mjs +10 -10
- package/fesm2022/primeng-fieldset.mjs +12 -12
- package/fesm2022/primeng-fieldset.mjs.map +1 -1
- package/fesm2022/primeng-fileupload.mjs +18 -18
- package/fesm2022/primeng-fileupload.mjs.map +1 -1
- 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 +28 -28
- package/fesm2022/primeng-galleria.mjs.map +1 -1
- 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 +20 -20
- package/fesm2022/primeng-image.mjs.map +1 -1
- 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 +11 -11
- package/fesm2022/primeng-inputmask.mjs.map +1 -1
- package/fesm2022/primeng-inputnumber.mjs +10 -10
- package/fesm2022/primeng-inputotp.mjs +14 -14
- package/fesm2022/primeng-inputotp.mjs.map +1 -1
- package/fesm2022/primeng-inputtext.mjs +15 -15
- package/fesm2022/primeng-inputtext.mjs.map +1 -1
- package/fesm2022/primeng-keyfilter.mjs +7 -7
- package/fesm2022/primeng-knob.mjs +11 -11
- package/fesm2022/primeng-knob.mjs.map +1 -1
- package/fesm2022/primeng-listbox.mjs +19 -19
- package/fesm2022/primeng-listbox.mjs.map +1 -1
- package/fesm2022/primeng-megamenu.mjs +16 -16
- package/fesm2022/primeng-megamenu.mjs.map +1 -1
- package/fesm2022/primeng-menu.mjs +25 -25
- package/fesm2022/primeng-menu.mjs.map +1 -1
- package/fesm2022/primeng-menubar.mjs +20 -20
- package/fesm2022/primeng-menubar.mjs.map +1 -1
- package/fesm2022/primeng-message.mjs +13 -13
- package/fesm2022/primeng-message.mjs.map +1 -1
- package/fesm2022/primeng-metergroup.mjs +13 -13
- package/fesm2022/primeng-motion.mjs +35 -35
- package/fesm2022/primeng-motion.mjs.map +1 -1
- package/fesm2022/primeng-multiselect.mjs +28 -28
- package/fesm2022/primeng-multiselect.mjs.map +1 -1
- package/fesm2022/primeng-orderlist.mjs +10 -10
- package/fesm2022/primeng-organizationchart.mjs +13 -13
- package/fesm2022/primeng-overlay.mjs +17 -17
- package/fesm2022/primeng-overlay.mjs.map +1 -1
- package/fesm2022/primeng-overlaybadge.mjs +10 -10
- package/fesm2022/primeng-paginator.mjs +12 -12
- package/fesm2022/primeng-paginator.mjs.map +1 -1
- package/fesm2022/primeng-panel.mjs +12 -12
- package/fesm2022/primeng-panel.mjs.map +1 -1
- package/fesm2022/primeng-panelmenu.mjs +25 -25
- package/fesm2022/primeng-panelmenu.mjs.map +1 -1
- package/fesm2022/primeng-password.mjs +24 -24
- package/fesm2022/primeng-password.mjs.map +1 -1
- package/fesm2022/primeng-picklist.mjs +12 -12
- package/fesm2022/primeng-picklist.mjs.map +1 -1
- package/fesm2022/primeng-popover.mjs +14 -14
- package/fesm2022/primeng-popover.mjs.map +1 -1
- package/fesm2022/primeng-progressbar.mjs +10 -10
- package/fesm2022/primeng-progressspinner.mjs +10 -10
- package/fesm2022/primeng-radiobutton.mjs +16 -16
- package/fesm2022/primeng-radiobutton.mjs.map +1 -1
- package/fesm2022/primeng-rating.mjs +11 -11
- package/fesm2022/primeng-rating.mjs.map +1 -1
- package/fesm2022/primeng-ripple.mjs +10 -10
- package/fesm2022/primeng-scroller.mjs +10 -10
- package/fesm2022/primeng-scrollpanel.mjs +10 -10
- package/fesm2022/primeng-scrolltop.mjs +14 -14
- package/fesm2022/primeng-scrolltop.mjs.map +1 -1
- package/fesm2022/primeng-select.mjs +23 -23
- package/fesm2022/primeng-select.mjs.map +1 -1
- package/fesm2022/primeng-selectbutton.mjs +11 -11
- package/fesm2022/primeng-selectbutton.mjs.map +1 -1
- package/fesm2022/primeng-skeleton.mjs +10 -10
- package/fesm2022/primeng-slider.mjs +10 -10
- package/fesm2022/primeng-speeddial.mjs +11 -11
- package/fesm2022/primeng-speeddial.mjs.map +1 -1
- package/fesm2022/primeng-splitbutton.mjs +15 -15
- package/fesm2022/primeng-splitbutton.mjs.map +1 -1
- package/fesm2022/primeng-splitter.mjs +12 -12
- package/fesm2022/primeng-splitter.mjs.map +1 -1
- package/fesm2022/primeng-stepper.mjs +69 -69
- package/fesm2022/primeng-stepper.mjs.map +1 -1
- package/fesm2022/primeng-steps.mjs +10 -10
- package/fesm2022/primeng-styleclass.mjs +7 -7
- package/fesm2022/primeng-table.mjs +94 -94
- package/fesm2022/primeng-table.mjs.map +1 -1
- package/fesm2022/primeng-tabs.mjs +54 -54
- package/fesm2022/primeng-tabs.mjs.map +1 -1
- package/fesm2022/primeng-tag.mjs +10 -10
- package/fesm2022/primeng-terminal.mjs +13 -13
- package/fesm2022/primeng-textarea.mjs +14 -14
- package/fesm2022/primeng-textarea.mjs.map +1 -1
- package/fesm2022/primeng-tieredmenu.mjs +24 -24
- package/fesm2022/primeng-tieredmenu.mjs.map +1 -1
- package/fesm2022/primeng-timeline.mjs +10 -10
- package/fesm2022/primeng-toast.mjs +19 -19
- package/fesm2022/primeng-toast.mjs.map +1 -1
- package/fesm2022/primeng-togglebutton.mjs +10 -10
- package/fesm2022/primeng-toggleswitch.mjs +11 -11
- package/fesm2022/primeng-toggleswitch.mjs.map +1 -1
- package/fesm2022/primeng-toolbar.mjs +10 -10
- package/fesm2022/primeng-tooltip.mjs +15 -15
- package/fesm2022/primeng-tooltip.mjs.map +1 -1
- package/fesm2022/primeng-tree.mjs +24 -24
- package/fesm2022/primeng-tree.mjs.map +1 -1
- package/fesm2022/primeng-treeselect.mjs +16 -16
- package/fesm2022/primeng-treeselect.mjs.map +1 -1
- package/fesm2022/primeng-treetable.mjs +58 -58
- package/fesm2022/primeng-usestyle.mjs +3 -3
- package/package.json +1 -1
|
@@ -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 this.bindDirectiveInstance.setAttrs(this.ptms(['host', 'root']));\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.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 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,CAAC,KAAK,CAAC,OAAO;AAC9B,YAAA,UAAU,EAAE,OAAO,CAAC,KAAK,CAAC,UAAU;AACpC,YAAA,SAAS,EAAE,OAAO,CAAC,KAAK,CAAC;AAC5B,SAAA,CAAC;IACN;IAEA,QAAQ,QAAQ;AACZ,QAAA,KAAK,SAAS;AACV,YAAA,OAAO,CAAC,KAAK,CAAC,OAAO,GAAG,MAAM;YAC9B;AACJ,QAAA,KAAK,YAAY;AACb,YAAA,OAAO,CAAC,KAAK,CAAC,UAAU,GAAG,QAAQ;AACnC,YAAA,OAAO,CAAC,KAAK,CAAC,SAAS,GAAG,GAAG;YAC7B;;AAEZ;AAEM,SAAU,WAAW,CAAC,OAAoB,EAAE,QAAkC,EAAA;AAChF,IAAA,IAAI,CAAC,OAAO;QAAE;AAEd,IAAA,MAAM,QAAQ,GAAG,cAAc,CAAC,GAAG,CAAC,OAAO,CAAC,IAAI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AC5J,iBAAA;;;MCLY,YAAY,CAAA;uGAAZ,YAAY,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA;AAAZ,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,YAAY,YAHX,MAAM,EAAE,eAAe,CAAA,EAAA,OAAA,EAAA,CACvB,MAAM,EAAE,eAAe,CAAA,EAAA,CAAA;AAExB,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,YAAY,YAHX,MAAM,CAAA,EAAA,CAAA;;2FAGP,YAAY,EAAA,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 } 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 this.bindDirectiveInstance.setAttrs(this.ptms(['host', 'root']));\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.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 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,CAAC,KAAK,CAAC,OAAO;AAC9B,YAAA,UAAU,EAAE,OAAO,CAAC,KAAK,CAAC,UAAU;AACpC,YAAA,SAAS,EAAE,OAAO,CAAC,KAAK,CAAC;AAC5B,SAAA,CAAC;IACN;IAEA,QAAQ,QAAQ;AACZ,QAAA,KAAK,SAAS;AACV,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|
|
97
97
|
inlineStyles = inlineStyles;
|
|
98
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.
|
|
99
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.
|
|
98
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: MultiSelectStyle, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
99
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: MultiSelectStyle });
|
|
100
100
|
}
|
|
101
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.
|
|
101
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.3", 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.0.
|
|
245
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "21.0.
|
|
244
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: MultiSelectItem, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
245
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "21.0.3", 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.0.
|
|
257
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: MultiSelectItem, decorators: [{
|
|
258
258
|
type: Component,
|
|
259
259
|
args: [{
|
|
260
260
|
selector: 'li[pMultiSelectItem]',
|
|
@@ -674,13 +674,13 @@ class MultiSelect extends BaseEditableHolder {
|
|
|
674
674
|
* @defaultValue undefined
|
|
675
675
|
* @group Props
|
|
676
676
|
*/
|
|
677
|
-
size = input(
|
|
677
|
+
size = input(...(ngDevMode ? [undefined, { debugName: "size" }] : []));
|
|
678
678
|
/**
|
|
679
679
|
* Specifies the input variant of the component.
|
|
680
680
|
* @defaultValue undefined
|
|
681
681
|
* @group Props
|
|
682
682
|
*/
|
|
683
|
-
variant = input(
|
|
683
|
+
variant = input(...(ngDevMode ? [undefined, { debugName: "variant" }] : []));
|
|
684
684
|
/**
|
|
685
685
|
* Spans 100% width of the container when enabled.
|
|
686
686
|
* @defaultValue undefined
|
|
@@ -692,12 +692,12 @@ class MultiSelect extends BaseEditableHolder {
|
|
|
692
692
|
* @defaultValue 'self'
|
|
693
693
|
* @group Props
|
|
694
694
|
*/
|
|
695
|
-
appendTo = input(undefined,
|
|
695
|
+
appendTo = input(undefined, ...(ngDevMode ? [{ debugName: "appendTo" }] : []));
|
|
696
696
|
/**
|
|
697
697
|
* The motion options.
|
|
698
698
|
* @group Props
|
|
699
699
|
*/
|
|
700
|
-
motionOptions = input(undefined,
|
|
700
|
+
motionOptions = input(undefined, ...(ngDevMode ? [{ debugName: "motionOptions" }] : []));
|
|
701
701
|
/**
|
|
702
702
|
* Callback to invoke when value changes.
|
|
703
703
|
* @param {MultiSelectChangeEvent} event - Custom change event.
|
|
@@ -778,7 +778,7 @@ class MultiSelect extends BaseEditableHolder {
|
|
|
778
778
|
searchValue;
|
|
779
779
|
searchTimeout;
|
|
780
780
|
_selectAll = null;
|
|
781
|
-
_placeholder = signal(undefined,
|
|
781
|
+
_placeholder = signal(undefined, ...(ngDevMode ? [{ debugName: "_placeholder" }] : []));
|
|
782
782
|
_disableTooltip = false;
|
|
783
783
|
value;
|
|
784
784
|
_filteredOptions;
|
|
@@ -887,8 +887,8 @@ class MultiSelect extends BaseEditableHolder {
|
|
|
887
887
|
_dropdownIconTemplate;
|
|
888
888
|
_itemCheckboxIconTemplate;
|
|
889
889
|
_headerCheckboxIconTemplate;
|
|
890
|
-
$variant = computed(() => this.variant() || this.config.inputStyle() || this.config.inputVariant(),
|
|
891
|
-
$appendTo = computed(() => this.appendTo() || this.config.overlayAppendTo(),
|
|
890
|
+
$variant = computed(() => this.variant() || this.config.inputStyle() || this.config.inputVariant(), ...(ngDevMode ? [{ debugName: "$variant" }] : []));
|
|
891
|
+
$appendTo = computed(() => this.appendTo() || this.config.overlayAppendTo(), ...(ngDevMode ? [{ debugName: "$appendTo" }] : []));
|
|
892
892
|
$pcMultiSelect = inject(MULTISELECT_INSTANCE, { optional: true, skipSelf: true }) ?? undefined;
|
|
893
893
|
pcFluid = inject(Fluid, { optional: true, host: true, skipSelf: true });
|
|
894
894
|
get hasFluid() {
|
|
@@ -962,11 +962,11 @@ class MultiSelect extends BaseEditableHolder {
|
|
|
962
962
|
itemsWrapper;
|
|
963
963
|
_displaySelectedLabel = true;
|
|
964
964
|
_maxSelectedLabels = 3;
|
|
965
|
-
modelValue = signal(null,
|
|
966
|
-
_filterValue = signal(null,
|
|
967
|
-
_options = signal([],
|
|
968
|
-
startRangeIndex = signal(-1,
|
|
969
|
-
focusedOptionIndex = signal(-1,
|
|
965
|
+
modelValue = signal(null, ...(ngDevMode ? [{ debugName: "modelValue" }] : []));
|
|
966
|
+
_filterValue = signal(null, ...(ngDevMode ? [{ debugName: "_filterValue" }] : []));
|
|
967
|
+
_options = signal([], ...(ngDevMode ? [{ debugName: "_options" }] : []));
|
|
968
|
+
startRangeIndex = signal(-1, ...(ngDevMode ? [{ debugName: "startRangeIndex" }] : []));
|
|
969
|
+
focusedOptionIndex = signal(-1, ...(ngDevMode ? [{ debugName: "focusedOptionIndex" }] : []));
|
|
970
970
|
selectedOptions;
|
|
971
971
|
clickInProgress = false;
|
|
972
972
|
get emptyMessageLabel() {
|
|
@@ -1015,7 +1015,7 @@ class MultiSelect extends BaseEditableHolder {
|
|
|
1015
1015
|
return filteredOptions;
|
|
1016
1016
|
}
|
|
1017
1017
|
return options;
|
|
1018
|
-
},
|
|
1018
|
+
}, ...(ngDevMode ? [{ debugName: "visibleOptions" }] : []));
|
|
1019
1019
|
label = computed(() => {
|
|
1020
1020
|
let label;
|
|
1021
1021
|
const modelValue = this.modelValue();
|
|
@@ -1037,10 +1037,10 @@ class MultiSelect extends BaseEditableHolder {
|
|
|
1037
1037
|
label = this.placeholder() || '';
|
|
1038
1038
|
}
|
|
1039
1039
|
return label;
|
|
1040
|
-
},
|
|
1040
|
+
}, ...(ngDevMode ? [{ debugName: "label" }] : []));
|
|
1041
1041
|
chipSelectedItems = computed(() => {
|
|
1042
1042
|
return isNotEmpty(this.maxSelectedLabels) && this.modelValue() && this.modelValue()?.length > (this.maxSelectedLabels || 0) ? this.modelValue()?.slice(0, this.maxSelectedLabels) : this.modelValue();
|
|
1043
|
-
},
|
|
1043
|
+
}, ...(ngDevMode ? [{ debugName: "chipSelectedItems" }] : []));
|
|
1044
1044
|
constructor(zone, filterService, overlayService) {
|
|
1045
1045
|
super();
|
|
1046
1046
|
this.zone = zone;
|
|
@@ -1825,8 +1825,8 @@ class MultiSelect extends BaseEditableHolder {
|
|
|
1825
1825
|
}
|
|
1826
1826
|
});
|
|
1827
1827
|
}
|
|
1828
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.
|
|
1829
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.0.1", 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: `
|
|
1828
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: MultiSelect, deps: [{ token: i0.NgZone }, { token: i3.FilterService }, { token: i3.OverlayService }], target: i0.ɵɵFactoryTarget.Component });
|
|
1829
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.0.3", 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: `
|
|
1830
1830
|
<div class="p-hidden-accessible" [attr.data-p-hidden-accessible]="true" [pBind]="ptm('hiddenInputContainer')">
|
|
1831
1831
|
<input
|
|
1832
1832
|
#focusInput
|
|
@@ -2119,7 +2119,7 @@ class MultiSelect extends BaseEditableHolder {
|
|
|
2119
2119
|
</p-overlay>
|
|
2120
2120
|
`, 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", "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 });
|
|
2121
2121
|
}
|
|
2122
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.
|
|
2122
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: MultiSelect, decorators: [{
|
|
2123
2123
|
type: Component,
|
|
2124
2124
|
args: [{
|
|
2125
2125
|
selector: 'p-multiSelect, p-multiselect, p-multi-select',
|
|
@@ -2677,11 +2677,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.1", ngImpor
|
|
|
2677
2677
|
args: [PrimeTemplate]
|
|
2678
2678
|
}] } });
|
|
2679
2679
|
class MultiSelectModule {
|
|
2680
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.
|
|
2681
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.0.
|
|
2682
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.0.
|
|
2680
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: MultiSelectModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2681
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.0.3", ngImport: i0, type: MultiSelectModule, imports: [MultiSelect, SharedModule], exports: [MultiSelect, SharedModule] });
|
|
2682
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: MultiSelectModule, imports: [MultiSelect, SharedModule, SharedModule] });
|
|
2683
2683
|
}
|
|
2684
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.
|
|
2684
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: MultiSelectModule, decorators: [{
|
|
2685
2685
|
type: NgModule,
|
|
2686
2686
|
args: [{
|
|
2687
2687
|
imports: [MultiSelect, SharedModule],
|