primeng 19.0.5 → 19.0.6
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/badge/badge.d.ts +2 -2
- package/base/style/basestyle.d.ts +4 -6
- package/config/primeng.d.ts +3 -0
- package/datepicker/datepicker.d.ts +1 -0
- package/datepicker/style/datepickerstyle.d.ts +1 -0
- package/dynamicdialog/dynamicdialog-config.d.ts +1 -1
- package/dynamicdialog/dynamicdialog.d.ts +1 -0
- package/fesm2022/primeng-autocomplete.mjs +2 -2
- package/fesm2022/primeng-autocomplete.mjs.map +1 -1
- package/fesm2022/primeng-avatar.mjs +2 -0
- package/fesm2022/primeng-avatar.mjs.map +1 -1
- package/fesm2022/primeng-badge.mjs.map +1 -1
- package/fesm2022/primeng-base.mjs +8 -2
- package/fesm2022/primeng-base.mjs.map +1 -1
- package/fesm2022/primeng-basecomponent.mjs +2 -2
- package/fesm2022/primeng-basecomponent.mjs.map +1 -1
- package/fesm2022/primeng-card.mjs +2 -2
- package/fesm2022/primeng-card.mjs.map +1 -1
- package/fesm2022/primeng-carousel.mjs +40 -36
- package/fesm2022/primeng-carousel.mjs.map +1 -1
- package/fesm2022/primeng-cascadeselect.mjs +1 -1
- package/fesm2022/primeng-cascadeselect.mjs.map +1 -1
- package/fesm2022/primeng-checkbox.mjs +2 -2
- package/fesm2022/primeng-checkbox.mjs.map +1 -1
- package/fesm2022/primeng-config.mjs +6 -4
- package/fesm2022/primeng-config.mjs.map +1 -1
- package/fesm2022/primeng-datepicker.mjs +20 -17
- package/fesm2022/primeng-datepicker.mjs.map +1 -1
- package/fesm2022/primeng-drawer.mjs +1 -1
- package/fesm2022/primeng-drawer.mjs.map +1 -1
- package/fesm2022/primeng-dropdown.mjs +2 -2
- package/fesm2022/primeng-dropdown.mjs.map +1 -1
- package/fesm2022/primeng-dynamicdialog.mjs +12 -4
- package/fesm2022/primeng-dynamicdialog.mjs.map +1 -1
- package/fesm2022/primeng-fileupload.mjs +0 -3
- package/fesm2022/primeng-fileupload.mjs.map +1 -1
- package/fesm2022/primeng-inputmask.mjs +1 -1
- package/fesm2022/primeng-inputmask.mjs.map +1 -1
- package/fesm2022/primeng-inputnumber.mjs +4 -4
- package/fesm2022/primeng-inputnumber.mjs.map +1 -1
- package/fesm2022/primeng-inputotp.mjs +2 -2
- package/fesm2022/primeng-inputotp.mjs.map +1 -1
- package/fesm2022/primeng-inputtext.mjs +8 -3
- package/fesm2022/primeng-inputtext.mjs.map +1 -1
- package/fesm2022/primeng-inputtextarea.mjs +1 -1
- package/fesm2022/primeng-inputtextarea.mjs.map +1 -1
- package/fesm2022/primeng-listbox.mjs +77 -40
- package/fesm2022/primeng-listbox.mjs.map +1 -1
- package/fesm2022/primeng-menu.mjs +9 -20
- package/fesm2022/primeng-menu.mjs.map +1 -1
- package/fesm2022/primeng-message.mjs +6 -2
- package/fesm2022/primeng-message.mjs.map +1 -1
- package/fesm2022/primeng-multiselect.mjs +17 -15
- package/fesm2022/primeng-multiselect.mjs.map +1 -1
- package/fesm2022/primeng-overlaybadge.mjs.map +1 -1
- package/fesm2022/primeng-password.mjs +3 -2
- package/fesm2022/primeng-password.mjs.map +1 -1
- package/fesm2022/primeng-picklist.mjs +15 -11
- package/fesm2022/primeng-picklist.mjs.map +1 -1
- package/fesm2022/primeng-radiobutton.mjs +2 -2
- package/fesm2022/primeng-radiobutton.mjs.map +1 -1
- package/fesm2022/primeng-rating.mjs +14 -10
- package/fesm2022/primeng-rating.mjs.map +1 -1
- package/fesm2022/primeng-select.mjs +2 -2
- package/fesm2022/primeng-select.mjs.map +1 -1
- package/fesm2022/primeng-selectbutton.mjs +2 -2
- package/fesm2022/primeng-selectbutton.mjs.map +1 -1
- package/fesm2022/primeng-stepper.mjs +20 -11
- package/fesm2022/primeng-stepper.mjs.map +1 -1
- package/fesm2022/primeng-table.mjs +55 -38
- package/fesm2022/primeng-table.mjs.map +1 -1
- package/fesm2022/primeng-tabs.mjs +10 -10
- package/fesm2022/primeng-tabs.mjs.map +1 -1
- package/fesm2022/primeng-textarea.mjs +3 -3
- package/fesm2022/primeng-textarea.mjs.map +1 -1
- package/fesm2022/primeng-toast.mjs +28 -26
- package/fesm2022/primeng-toast.mjs.map +1 -1
- package/fesm2022/primeng-togglebutton.mjs +4 -0
- package/fesm2022/primeng-togglebutton.mjs.map +1 -1
- package/fesm2022/primeng-tooltip.mjs +1 -1
- package/fesm2022/primeng-tooltip.mjs.map +1 -1
- package/fesm2022/primeng-tree.mjs +22 -7
- package/fesm2022/primeng-tree.mjs.map +1 -1
- package/fesm2022/primeng-treeselect.mjs +2 -2
- package/fesm2022/primeng-treeselect.mjs.map +1 -1
- package/fesm2022/primeng-treetable.mjs +3 -3
- package/fesm2022/primeng-treetable.mjs.map +1 -1
- package/fesm2022/primeng-utils.mjs +3 -1
- package/fesm2022/primeng-utils.mjs.map +1 -1
- package/listbox/listbox.d.ts +15 -1
- package/message/message.d.ts +1 -0
- package/overlaybadge/overlaybadge.d.ts +1 -1
- package/package.json +120 -120
- package/password/password.d.ts +1 -0
- package/password/style/passwordstyle.d.ts +1 -0
- package/stepper/stepper.d.ts +2 -1
- package/table/table.d.ts +1 -1
- package/table/table.interface.d.ts +2 -2
- package/tabs/tablist.d.ts +1 -1
- package/toast/toast.d.ts +1 -1
- package/tree/tree.d.ts +10 -2
- package/tree/tree.interface.d.ts +8 -0
- package/utils/zindexutils.d.ts +2 -0
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"primeng-message.mjs","sources":["../../src/message/style/messagestyle.ts","../../src/message/message.ts","../../src/message/primeng-message.ts"],"sourcesContent":["import { Injectable } from '@angular/core';\nimport { BaseStyle } from 'primeng/base';\n\nconst theme = ({ dt }) => `\n.p-message {\n border-radius: ${dt('message.border.radius')};\n outline-width: ${dt('message.border.width')};\n outline-style: solid;\n}\n\n.p-message-content {\n display: flex;\n align-items: center;\n padding: ${dt('message.content.padding')};\n gap: ${dt('message.content.gap')};\n height: 100%;\n}\n\n.p-message-icon {\n flex-shrink: 0;\n}\n\n.p-message-close-button {\n display: flex;\n align-items: center;\n justify-content: center;\n flex-shrink: 0;\n margin-inline-start: auto;\n overflow: hidden;\n position: relative;\n width: ${dt('message.close.button.width')};\n height: ${dt('message.close.button.height')};\n border-radius: ${dt('message.close.button.border.radius')};\n background: transparent;\n transition: background ${dt('message.transition.duration')}, color ${dt('message.transition.duration')}, outline-color ${dt('message.transition.duration')}, box-shadow ${dt('message.transition.duration')}, opacity 0.3s;\n outline-color: transparent;\n color: inherit;\n padding: 0;\n border: none;\n cursor: pointer;\n user-select: none;\n}\n\n.p-message-close-icon {\n font-size: ${dt('message.close.icon.size')};\n width: ${dt('message.close.icon.size')};\n height: ${dt('message.close.icon.size')};\n}\n\n.p-message-close-button:focus-visible {\n outline-width: ${dt('message.close.button.focus.ring.width')};\n outline-style: ${dt('message.close.button.focus.ring.style')};\n outline-offset: ${dt('message.close.button.focus.ring.offset')};\n}\n\n.p-message-info {\n background: ${dt('message.info.background')};\n outline-color: ${dt('message.info.border.color')};\n color: ${dt('message.info.color')};\n box-shadow: ${dt('message.info.shadow')};\n}\n\n.p-message-info .p-message-close-button:focus-visible {\n outline-color: ${dt('message.info.close.button.focus.ring.color')};\n box-shadow: ${dt('message.info.close.button.focus.ring.shadow')};\n}\n\n.p-message-info .p-message-close-button:hover {\n background: ${dt('message.info.close.button.hover.background')};\n}\n\n.p-message-info.p-message-outlined {\n color: ${dt('message.info.outlined.color')};\n outline-color: ${dt('message.info.outlined.border.color')};\n}\n\n.p-message-info.p-message-simple {\n color: ${dt('message.info.simple.color')};\n}\n\n.p-message-success {\n background: ${dt('message.success.background')};\n outline-color: ${dt('message.success.border.color')};\n color: ${dt('message.success.color')};\n box-shadow: ${dt('message.success.shadow')};\n}\n\n.p-message-success .p-message-close-button:focus-visible {\n outline-color: ${dt('message.success.close.button.focus.ring.color')};\n box-shadow: ${dt('message.success.close.button.focus.ring.shadow')};\n}\n\n.p-message-success .p-message-close-button:hover {\n background: ${dt('message.success.close.button.hover.background')};\n}\n\n.p-message-success.p-message-outlined {\n color: ${dt('message.success.outlined.color')};\n outline-color: ${dt('message.success.outlined.border.color')};\n}\n\n.p-message-success.p-message-simple {\n color: ${dt('message.success.simple.color')};\n}\n\n.p-message-warn {\n background: ${dt('message.warn.background')};\n outline-color: ${dt('message.warn.border.color')};\n color: ${dt('message.warn.color')};\n box-shadow: ${dt('message.warn.shadow')};\n}\n\n.p-message-warn .p-message-close-button:focus-visible {\n outline-color: ${dt('message.warn.close.button.focus.ring.color')};\n box-shadow: ${dt('message.warn.close.button.focus.ring.shadow')};\n}\n\n.p-message-warn .p-message-close-button:hover {\n background: ${dt('message.warn.close.button.hover.background')};\n}\n\n.p-message-warn.p-message-outlined {\n color: ${dt('message.warn.outlined.color')};\n outline-color: ${dt('message.warn.outlined.border.color')};\n}\n\n.p-message-warn.p-message-simple {\n color: ${dt('message.warn.simple.color')};\n}\n\n.p-message-error {\n background: ${dt('message.error.background')};\n outline-color: ${dt('message.error.border.color')};\n color: ${dt('message.error.color')};\n box-shadow: ${dt('message.error.shadow')};\n}\n\n.p-message-error .p-message-close-button:focus-visible {\n outline-color: ${dt('message.error.close.button.focus.ring.color')};\n box-shadow: ${dt('message.error.close.button.focus.ring.shadow')};\n}\n\n.p-message-error .p-message-close-button:hover {\n background: ${dt('message.error.close.button.hover.background')};\n}\n\n.p-message-error.p-message-outlined {\n color: ${dt('message.error.outlined.color')};\n outline-color: ${dt('message.error.outlined.border.color')};\n}\n\n.p-message-error.p-message-simple {\n color: ${dt('message.error.simple.color')};\n}\n\n.p-message-secondary {\n background: ${dt('message.secondary.background')};\n outline-color: ${dt('message.secondary.border.color')};\n color: ${dt('message.secondary.color')};\n box-shadow: ${dt('message.secondary.shadow')};\n}\n\n.p-message-secondary .p-message-close-button:focus-visible {\n outline-color: ${dt('message.secondary.close.button.focus.ring.color')};\n box-shadow: ${dt('message.secondary.close.button.focus.ring.shadow')};\n}\n\n.p-message-secondary .p-message-close-button:hover {\n background: ${dt('message.secondary.close.button.hover.background')};\n}\n\n.p-message-secondary.p-message-outlined {\n color: ${dt('message.secondary.outlined.color')};\n outline-color: ${dt('message.secondary.outlined.border.color')};\n}\n\n.p-message-secondary.p-message-simple {\n color: ${dt('message.secondary.simple.color')};\n}\n\n.p-message-contrast {\n background: ${dt('message.contrast.background')};\n outline-color: ${dt('message.contrast.border.color')};\n color: ${dt('message.contrast.color')};\n box-shadow: ${dt('message.contrast.shadow')};\n}\n\n.p-message-contrast .p-message-close-button:focus-visible {\n outline-color: ${dt('message.contrast.close.button.focus.ring.color')};\n box-shadow: ${dt('message.contrast.close.button.focus.ring.shadow')};\n}\n\n.p-message-contrast .p-message-close-button:hover {\n background: ${dt('message.contrast.close.button.hover.background')};\n}\n\n.p-message-contrast.p-message-outlined {\n color: ${dt('message.contrast.outlined.color')};\n outline-color: ${dt('message.contrast.outlined.border.color')};\n}\n\n.p-message-contrast.p-message-simple {\n color: ${dt('message.contrast.simple.color')};\n}\n\n.p-message-text {\n font-size: ${dt('message.text.font.size')};\n font-weight: ${dt('message.text.font.weight')};\n}\n\n.p-message-icon {\n font-size: ${dt('message.icon.size')};\n width: ${dt('message.icon.size')};\n height: ${dt('message.icon.size')};\n}\n\n.p-message-enter-from {\n opacity: 0;\n}\n\n.p-message-enter-active {\n transition: opacity 0.3s;\n}\n\n.p-message.p-message-leave-from {\n max-height: 1000px;\n}\n\n.p-message.p-message-leave-to {\n max-height: 0;\n opacity: 0;\n margin: 0;\n}\n\n.p-message-leave-active {\n overflow: hidden;\n transition: max-height 0.45s cubic-bezier(0, 1, 0, 1), opacity 0.3s, margin 0.3s;\n}\n\n.p-message-leave-active .p-message-close-button {\n opacity: 0;\n}\n\n.p-message-sm .p-message-content {\n padding: ${dt('message.content.sm.padding')};\n}\n\n.p-message-sm .p-message-text {\n font-size: ${dt('message.text.sm.font.size')};\n}\n\n.p-message-sm .p-message-icon {\n font-size: ${dt('message.icon.sm.size')};\n width: ${dt('message.icon.sm.size')};\n height: ${dt('message.icon.sm.size')};\n}\n\n.p-message-sm .p-message-close-icon {\n font-size: ${dt('message.close.icon.sm.size')};\n width: ${dt('message.close.icon.sm.size')};\n height: ${dt('message.close.icon.sm.size')};\n}\n\n.p-message-lg .p-message-content {\n padding: ${dt('message.content.lg.padding')};\n}\n\n.p-message-lg .p-message-text {\n font-size: ${dt('message.text.lg.font.size')};\n}\n\n.p-message-lg .p-message-icon {\n font-size: ${dt('message.icon.lg.size')};\n width: ${dt('message.icon.lg.size')};\n height: ${dt('message.icon.lg.size')};\n}\n\n.p-message-lg .p-message-close-icon {\n font-size: ${dt('message.close.icon.lg.size')};\n width: ${dt('message.close.icon.lg.size')};\n height: ${dt('message.close.icon.lg.size')};\n}\n\n.p-message-outlined {\n background: transparent;\n outline-width: ${dt('message.outlined.border.width')};\n}\n\n.p-message-simple {\n background: transparent;\n outline-color: transparent;\n box-shadow: none;\n}\n\n.p-message-simple .p-message-content {\n padding: ${dt('message.simple.content.padding')};\n}\n\n.p-message-outlined .p-message-close-button:hover,\n.p-message-simple .p-message-close-button:hover {\n background: transparent;\n}`;\n\nconst classes = {\n root: ({ props }) => ['p-message p-component p-message-' + props.severity, { 'p-message-simple': props.variant === 'simple' }],\n content: 'p-message-content',\n icon: 'p-message-icon',\n text: 'p-message-text',\n closeButton: 'p-message-close-button',\n closeIcon: 'p-message-close-icon'\n};\n\n@Injectable()\nexport class MessageStyle extends BaseStyle {\n name = 'message';\n\n theme = theme;\n\n classes = classes;\n}\n\n/**\n *\n * Message groups a collection of contents in tabs.\n *\n * [Live Demo](https://www.primeng.org/message/)\n *\n * @module messagestyle\n *\n */\n\nexport enum MessageClasses {\n /**\n * Class name of the root element\n */\n root = 'p-message',\n /**\n * Class name of the content element\n */\n content = 'p-message-content',\n /**\n * Class name of the icon element\n */\n icon = 'p-message-icon',\n /**\n * Class name of the text element\n */\n text = 'p-message-text',\n /**\n * Class name of the close button element\n */\n closeButton = 'p-message-close-button',\n /**\n * Class name of the close icon element\n */\n closeIcon = 'p-message-close-icon'\n}\n\nexport interface MessageStyle extends BaseStyle {}\n","import { animate, style, transition, trigger } from '@angular/animations';\nimport { CommonModule } from '@angular/common';\nimport { AfterContentInit, booleanAttribute, ChangeDetectionStrategy, Component, ContentChild, ContentChildren, EventEmitter, inject, Input, NgModule, Output, QueryList, signal, TemplateRef, ViewEncapsulation } from '@angular/core';\nimport { PrimeTemplate, SharedModule } from 'primeng/api';\nimport { BaseComponent } from 'primeng/basecomponent';\nimport { TimesIcon } from 'primeng/icons';\nimport { Ripple } from 'primeng/ripple';\nimport { MessageStyle } from './style/messagestyle';\n\n/**\n * Message groups a collection of contents in tabs.\n * @group Components\n */\n@Component({\n selector: 'p-message',\n standalone: true,\n imports: [CommonModule, TimesIcon, Ripple, SharedModule],\n template: `\n @if (visible()) {\n <div\n class=\"p-message p-component\"\n [attr.aria-live]=\"'polite'\"\n [ngClass]=\"containerClass\"\n [attr.role]=\"'alert'\"\n [@messageAnimation]=\"{\n value: 'visible()',\n params: {\n showTransitionParams: showTransitionOptions,\n hideTransitionParams: hideTransitionOptions\n }\n }\"\n >\n <div class=\"p-message-content\">\n @if (iconTemplate || _iconTemplate) {\n <ng-container *ngTemplateOutlet=\"iconTemplate || iconTemplate\"></ng-container>\n }\n @if (icon) {\n <i class=\"p-message-icon\" [ngClass]=\"icon\"></i>\n }\n\n <div *ngIf=\"!escape; else escapeOut\">\n <span *ngIf=\"!escape\" [ngClass]=\"cx('text')\" [innerHTML]=\"text\"></span>\n </div>\n\n <ng-template #escapeOut>\n <span *ngIf=\"escape && text\" [ngClass]=\"cx('text')\">{{ text }}</span>\n </ng-template>\n\n @if (containerTemplate || _containerTemplate) {\n <ng-container *ngTemplateOutlet=\"containerTemplate || containerTemplate; context: { closeCallback: close.bind(this) }\"></ng-container>\n } @else {\n <span [ngClass]=\"cx('text')\">\n <ng-content></ng-content>\n </span>\n }\n @if (closable) {\n <button pRipple type=\"button\" class=\"p-message-close-button\" (click)=\"close($event)\">\n @if (closeIcon) {\n <i class=\"p-message-close-icon\" [ngClass]=\"closeIcon\"></i>\n }\n @if (closeIconTemplate || _closeIconTemplate) {\n <ng-container *ngTemplateOutlet=\"closeIconTemplate || _closeIconTemplate\"></ng-container>\n }\n @if (!closeIconTemplate && !_closeIconTemplate && !closeIcon) {\n <TimesIcon styleClass=\"p-message-close-icon\" />\n }\n </button>\n }\n </div>\n </div>\n }\n `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n providers: [MessageStyle],\n animations: [\n trigger('messageAnimation', [\n transition(':enter', [style({ opacity: 0, transform: 'translateY(-25%)' }), animate('{{showTransitionParams}}')]),\n transition(':leave', [\n animate(\n '{{hideTransitionParams}}',\n style({\n height: 0,\n marginTop: 0,\n marginBottom: 0,\n marginLeft: 0,\n marginRight: 0,\n opacity: 0\n })\n )\n ])\n ])\n ]\n})\nexport class Message extends BaseComponent implements AfterContentInit {\n /**\n * Severity level of the message.\n * @defaultValue 'info'\n * @group Props\n */\n @Input() severity: string | 'success' | 'info' | 'warn' | 'error' | 'secondary' | 'contrast' | undefined | null = 'info';\n /**\n * Text content.\n * @group Props\n */\n @Input() text: string | undefined;\n /**\n * Whether displaying messages would be escaped or not.\n * @deprecated Use content projection instead '<p-message>Content</p-message>'.\n * @group Props\n */\n @Input({ transform: booleanAttribute }) escape: boolean = true;\n /**\n * Inline style of the component.\n * @group Props\n */\n @Input() style: { [klass: string]: any } | null | undefined;\n /**\n * Style class of the component.\n * @group Props\n */\n @Input() styleClass: string | undefined;\n /**\n * Whether the message can be closed manually using the close icon.\n * @group Props\n * @defaultValue false\n */\n @Input({ transform: booleanAttribute }) closable: boolean = false;\n /**\n * Icon to display in the message.\n * @group Props\n * @defaultValue undefined\n */\n @Input() icon: string | undefined;\n /**\n * Icon to display in the message close button.\n * @group Props\n * @defaultValue undefined\n */\n @Input() closeIcon: string | undefined;\n /**\n * Delay in milliseconds to close the message automatically.\n * @defaultValue undefined\n */\n @Input() life: number | undefined;\n /**\n * Transition options of the show animation.\n * @defaultValue '300ms ease-out'\n * @group Props\n */\n @Input() showTransitionOptions: string = '300ms ease-out';\n /**\n * Transition options of the hide animation.\n * @defaultValue '200ms cubic-bezier(0.86, 0, 0.07, 1)'\n * @group Props\n */\n @Input() hideTransitionOptions: string = '200ms cubic-bezier(0.86, 0, 0.07, 1)';\n /**\n * Defines the size of the component.\n * @group Props\n */\n @Input() size: 'large' | 'small' | undefined;\n /**\n * Specifies the input variant of the component.\n * @group Props\n */\n @Input() variant: 'outlined' | 'text' | 'simple' | undefined;\n /**\n * Emits when the message is closed.\n * @param {{ originalEvent: Event }} event - The event object containing the original event.\n * @group Emits\n */\n @Output() onClose: EventEmitter<{ originalEvent: Event }> = new EventEmitter<{ originalEvent: Event }>();\n\n get containerClass(): string {\n const variantClass = this.variant === 'outlined' ? 'p-message-outlined' : this.variant === 'simple' ? 'p-message-simple' : '';\n const sizeClass = this.size === 'small' ? 'p-message-sm' : this.size === 'large' ? 'p-message-lg' : '';\n\n return `p-message-${this.severity} ${variantClass} ${sizeClass}`.trim() + (this.styleClass ? ' ' + this.styleClass : '');\n }\n visible = signal<boolean>(true);\n\n _componentStyle = inject(MessageStyle);\n\n /**\n * Custom template of the message container.\n * @group Templates\n */\n @ContentChild('container', { descendants: false }) containerTemplate: TemplateRef<any> | undefined;\n\n /**\n * Custom template of the message icon.\n * @group Templates\n */\n @ContentChild('icon', { descendants: false }) iconTemplate: TemplateRef<any> | undefined;\n\n /**\n * Custom template of the close icon.\n * @group Templates\n */\n @ContentChild('closeicon', { descendants: false }) closeIconTemplate: TemplateRef<any> | undefined;\n\n @ContentChildren(PrimeTemplate) templates: QueryList<PrimeTemplate> | undefined;\n\n _containerTemplate: TemplateRef<any> | undefined;\n\n _iconTemplate: TemplateRef<any> | undefined;\n\n _closeIconTemplate: TemplateRef<any> | undefined;\n\n ngOnInit() {\n super.ngOnInit();\n if (this.life) {\n setTimeout(() => {\n this.visible.set(false);\n }, this.life);\n }\n }\n\n ngAfterContentInit() {\n this.templates?.forEach((item) => {\n switch (item.getType()) {\n case 'container':\n this._containerTemplate = item.template;\n break;\n\n case 'icon':\n this._iconTemplate = item.template;\n break;\n\n case 'closeicon':\n this._closeIconTemplate = item.template;\n break;\n }\n });\n }\n\n /**\n * Closes the message.\n * @param {Event} event - Browser event.\n * @group Method\n */\n public close(event: Event) {\n this.visible.set(false);\n this.onClose.emit({ originalEvent: event });\n }\n}\n\n@NgModule({\n imports: [Message, SharedModule],\n exports: [Message, SharedModule]\n})\nexport class MessageModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;;;;;;AAGA,MAAM,KAAK,GAAG,CAAC,EAAE,EAAE,EAAE,KAAK;;qBAEL,EAAE,CAAC,uBAAuB,CAAC,CAAA;qBAC3B,EAAE,CAAC,sBAAsB,CAAC,CAAA;;;;;;;eAOhC,EAAE,CAAC,yBAAyB,CAAC,CAAA;WACjC,EAAE,CAAC,qBAAqB,CAAC,CAAA;;;;;;;;;;;;;;;;aAgBvB,EAAE,CAAC,4BAA4B,CAAC,CAAA;cAC/B,EAAE,CAAC,6BAA6B,CAAC,CAAA;qBAC1B,EAAE,CAAC,oCAAoC,CAAC,CAAA;;AAEhC,2BAAA,EAAA,EAAE,CAAC,6BAA6B,CAAC,CAAW,QAAA,EAAA,EAAE,CAAC,6BAA6B,CAAC,CAAmB,gBAAA,EAAA,EAAE,CAAC,6BAA6B,CAAC,gBAAgB,EAAE,CAAC,6BAA6B,CAAC,CAAA;;;;;;;;;;iBAU9L,EAAE,CAAC,yBAAyB,CAAC,CAAA;aACjC,EAAE,CAAC,yBAAyB,CAAC,CAAA;cAC5B,EAAE,CAAC,yBAAyB,CAAC,CAAA;;;;qBAItB,EAAE,CAAC,uCAAuC,CAAC,CAAA;qBAC3C,EAAE,CAAC,uCAAuC,CAAC,CAAA;sBAC1C,EAAE,CAAC,wCAAwC,CAAC,CAAA;;;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B,aAAa,EAAA,CAAA;cAJzB,QAAQ;AAAC,QAAA,IAAA,EAAA,CAAA;AACN,gBAAA,OAAO,EAAE,CAAC,OAAO,EAAE,YAAY,CAAC;AAChC,gBAAA,OAAO,EAAE,CAAC,OAAO,EAAE,YAAY;AAClC,aAAA;;AACY,CAAA,YAAA,EAAA,CAAA,OAAA,SAAA,KAAA,WAAA,IAAA,SAAA,KAAA,EAAA,CAAA,kBAAA,CAAA,aAAa,cA9Jb,OAAO,EA2JG,YAAY,CA3JtB,EAAA,OAAA,EAAA,CAAA,OAAO,EA4JG,YAAY,CAAA,EAAA,CAAA,CAAA,EAAA,GAAA;;AC1PnC;;AAEG;;;;"}
|
1
|
+
{"version":3,"file":"primeng-message.mjs","sources":["../../src/message/style/messagestyle.ts","../../src/message/message.ts","../../src/message/primeng-message.ts"],"sourcesContent":["import { Injectable } from '@angular/core';\nimport { BaseStyle } from 'primeng/base';\n\nconst theme = ({ dt }) => `\n.p-message {\n border-radius: ${dt('message.border.radius')};\n outline-width: ${dt('message.border.width')};\n outline-style: solid;\n}\n\n.p-message-content {\n display: flex;\n align-items: center;\n padding: ${dt('message.content.padding')};\n gap: ${dt('message.content.gap')};\n height: 100%;\n}\n\n.p-message-icon {\n flex-shrink: 0;\n}\n\n.p-message-close-button {\n display: flex;\n align-items: center;\n justify-content: center;\n flex-shrink: 0;\n margin-inline-start: auto;\n overflow: hidden;\n position: relative;\n width: ${dt('message.close.button.width')};\n height: ${dt('message.close.button.height')};\n border-radius: ${dt('message.close.button.border.radius')};\n background: transparent;\n transition: background ${dt('message.transition.duration')}, color ${dt('message.transition.duration')}, outline-color ${dt('message.transition.duration')}, box-shadow ${dt('message.transition.duration')}, opacity 0.3s;\n outline-color: transparent;\n color: inherit;\n padding: 0;\n border: none;\n cursor: pointer;\n user-select: none;\n}\n\n.p-message-close-icon {\n font-size: ${dt('message.close.icon.size')};\n width: ${dt('message.close.icon.size')};\n height: ${dt('message.close.icon.size')};\n}\n\n.p-message-close-button:focus-visible {\n outline-width: ${dt('message.close.button.focus.ring.width')};\n outline-style: ${dt('message.close.button.focus.ring.style')};\n outline-offset: ${dt('message.close.button.focus.ring.offset')};\n}\n\n.p-message-info {\n background: ${dt('message.info.background')};\n outline-color: ${dt('message.info.border.color')};\n color: ${dt('message.info.color')};\n box-shadow: ${dt('message.info.shadow')};\n}\n\n.p-message-info .p-message-close-button:focus-visible {\n outline-color: ${dt('message.info.close.button.focus.ring.color')};\n box-shadow: ${dt('message.info.close.button.focus.ring.shadow')};\n}\n\n.p-message-info .p-message-close-button:hover {\n background: ${dt('message.info.close.button.hover.background')};\n}\n\n.p-message-info.p-message-outlined {\n color: ${dt('message.info.outlined.color')};\n outline-color: ${dt('message.info.outlined.border.color')};\n}\n\n.p-message-info.p-message-simple {\n color: ${dt('message.info.simple.color')};\n}\n\n.p-message-success {\n background: ${dt('message.success.background')};\n outline-color: ${dt('message.success.border.color')};\n color: ${dt('message.success.color')};\n box-shadow: ${dt('message.success.shadow')};\n}\n\n.p-message-success .p-message-close-button:focus-visible {\n outline-color: ${dt('message.success.close.button.focus.ring.color')};\n box-shadow: ${dt('message.success.close.button.focus.ring.shadow')};\n}\n\n.p-message-success .p-message-close-button:hover {\n background: ${dt('message.success.close.button.hover.background')};\n}\n\n.p-message-success.p-message-outlined {\n color: ${dt('message.success.outlined.color')};\n outline-color: ${dt('message.success.outlined.border.color')};\n}\n\n.p-message-success.p-message-simple {\n color: ${dt('message.success.simple.color')};\n}\n\n.p-message-warn {\n background: ${dt('message.warn.background')};\n outline-color: ${dt('message.warn.border.color')};\n color: ${dt('message.warn.color')};\n box-shadow: ${dt('message.warn.shadow')};\n}\n\n.p-message-warn .p-message-close-button:focus-visible {\n outline-color: ${dt('message.warn.close.button.focus.ring.color')};\n box-shadow: ${dt('message.warn.close.button.focus.ring.shadow')};\n}\n\n.p-message-warn .p-message-close-button:hover {\n background: ${dt('message.warn.close.button.hover.background')};\n}\n\n.p-message-warn.p-message-outlined {\n color: ${dt('message.warn.outlined.color')};\n outline-color: ${dt('message.warn.outlined.border.color')};\n}\n\n.p-message-warn.p-message-simple {\n color: ${dt('message.warn.simple.color')};\n}\n\n.p-message-error {\n background: ${dt('message.error.background')};\n outline-color: ${dt('message.error.border.color')};\n color: ${dt('message.error.color')};\n box-shadow: ${dt('message.error.shadow')};\n}\n\n.p-message-error .p-message-close-button:focus-visible {\n outline-color: ${dt('message.error.close.button.focus.ring.color')};\n box-shadow: ${dt('message.error.close.button.focus.ring.shadow')};\n}\n\n.p-message-error .p-message-close-button:hover {\n background: ${dt('message.error.close.button.hover.background')};\n}\n\n.p-message-error.p-message-outlined {\n color: ${dt('message.error.outlined.color')};\n outline-color: ${dt('message.error.outlined.border.color')};\n}\n\n.p-message-error.p-message-simple {\n color: ${dt('message.error.simple.color')};\n}\n\n.p-message-secondary {\n background: ${dt('message.secondary.background')};\n outline-color: ${dt('message.secondary.border.color')};\n color: ${dt('message.secondary.color')};\n box-shadow: ${dt('message.secondary.shadow')};\n}\n\n.p-message-secondary .p-message-close-button:focus-visible {\n outline-color: ${dt('message.secondary.close.button.focus.ring.color')};\n box-shadow: ${dt('message.secondary.close.button.focus.ring.shadow')};\n}\n\n.p-message-secondary .p-message-close-button:hover {\n background: ${dt('message.secondary.close.button.hover.background')};\n}\n\n.p-message-secondary.p-message-outlined {\n color: ${dt('message.secondary.outlined.color')};\n outline-color: ${dt('message.secondary.outlined.border.color')};\n}\n\n.p-message-secondary.p-message-simple {\n color: ${dt('message.secondary.simple.color')};\n}\n\n.p-message-contrast {\n background: ${dt('message.contrast.background')};\n outline-color: ${dt('message.contrast.border.color')};\n color: ${dt('message.contrast.color')};\n box-shadow: ${dt('message.contrast.shadow')};\n}\n\n.p-message-contrast .p-message-close-button:focus-visible {\n outline-color: ${dt('message.contrast.close.button.focus.ring.color')};\n box-shadow: ${dt('message.contrast.close.button.focus.ring.shadow')};\n}\n\n.p-message-contrast .p-message-close-button:hover {\n background: ${dt('message.contrast.close.button.hover.background')};\n}\n\n.p-message-contrast.p-message-outlined {\n color: ${dt('message.contrast.outlined.color')};\n outline-color: ${dt('message.contrast.outlined.border.color')};\n}\n\n.p-message-contrast.p-message-simple {\n color: ${dt('message.contrast.simple.color')};\n}\n\n.p-message-text {\n font-size: ${dt('message.text.font.size')};\n font-weight: ${dt('message.text.font.weight')};\n}\n\n.p-message-icon {\n font-size: ${dt('message.icon.size')};\n width: ${dt('message.icon.size')};\n height: ${dt('message.icon.size')};\n}\n\n.p-message-enter-from {\n opacity: 0;\n}\n\n.p-message-enter-active {\n transition: opacity 0.3s;\n}\n\n.p-message.p-message-leave-from {\n max-height: 1000px;\n}\n\n.p-message.p-message-leave-to {\n max-height: 0;\n opacity: 0;\n margin: 0;\n}\n\n.p-message-leave-active {\n overflow: hidden;\n transition: max-height 0.45s cubic-bezier(0, 1, 0, 1), opacity 0.3s, margin 0.3s;\n}\n\n.p-message-leave-active .p-message-close-button {\n opacity: 0;\n}\n\n.p-message-sm .p-message-content {\n padding: ${dt('message.content.sm.padding')};\n}\n\n.p-message-sm .p-message-text {\n font-size: ${dt('message.text.sm.font.size')};\n}\n\n.p-message-sm .p-message-icon {\n font-size: ${dt('message.icon.sm.size')};\n width: ${dt('message.icon.sm.size')};\n height: ${dt('message.icon.sm.size')};\n}\n\n.p-message-sm .p-message-close-icon {\n font-size: ${dt('message.close.icon.sm.size')};\n width: ${dt('message.close.icon.sm.size')};\n height: ${dt('message.close.icon.sm.size')};\n}\n\n.p-message-lg .p-message-content {\n padding: ${dt('message.content.lg.padding')};\n}\n\n.p-message-lg .p-message-text {\n font-size: ${dt('message.text.lg.font.size')};\n}\n\n.p-message-lg .p-message-icon {\n font-size: ${dt('message.icon.lg.size')};\n width: ${dt('message.icon.lg.size')};\n height: ${dt('message.icon.lg.size')};\n}\n\n.p-message-lg .p-message-close-icon {\n font-size: ${dt('message.close.icon.lg.size')};\n width: ${dt('message.close.icon.lg.size')};\n height: ${dt('message.close.icon.lg.size')};\n}\n\n.p-message-outlined {\n background: transparent;\n outline-width: ${dt('message.outlined.border.width')};\n}\n\n.p-message-simple {\n background: transparent;\n outline-color: transparent;\n box-shadow: none;\n}\n\n.p-message-simple .p-message-content {\n padding: ${dt('message.simple.content.padding')};\n}\n\n.p-message-outlined .p-message-close-button:hover,\n.p-message-simple .p-message-close-button:hover {\n background: transparent;\n}`;\n\nconst classes = {\n root: ({ props }) => ['p-message p-component p-message-' + props.severity, { 'p-message-simple': props.variant === 'simple' }],\n content: 'p-message-content',\n icon: 'p-message-icon',\n text: 'p-message-text',\n closeButton: 'p-message-close-button',\n closeIcon: 'p-message-close-icon'\n};\n\n@Injectable()\nexport class MessageStyle extends BaseStyle {\n name = 'message';\n\n theme = theme;\n\n classes = classes;\n}\n\n/**\n *\n * Message groups a collection of contents in tabs.\n *\n * [Live Demo](https://www.primeng.org/message/)\n *\n * @module messagestyle\n *\n */\n\nexport enum MessageClasses {\n /**\n * Class name of the root element\n */\n root = 'p-message',\n /**\n * Class name of the content element\n */\n content = 'p-message-content',\n /**\n * Class name of the icon element\n */\n icon = 'p-message-icon',\n /**\n * Class name of the text element\n */\n text = 'p-message-text',\n /**\n * Class name of the close button element\n */\n closeButton = 'p-message-close-button',\n /**\n * Class name of the close icon element\n */\n closeIcon = 'p-message-close-icon'\n}\n\nexport interface MessageStyle extends BaseStyle {}\n","import { animate, style, transition, trigger } from '@angular/animations';\nimport { CommonModule } from '@angular/common';\nimport { AfterContentInit, booleanAttribute, ChangeDetectionStrategy, Component, ContentChild, ContentChildren, EventEmitter, inject, Input, NgModule, Output, QueryList, signal, TemplateRef, ViewEncapsulation } from '@angular/core';\nimport { PrimeTemplate, SharedModule } from 'primeng/api';\nimport { BaseComponent } from 'primeng/basecomponent';\nimport { TimesIcon } from 'primeng/icons';\nimport { Ripple } from 'primeng/ripple';\nimport { MessageStyle } from './style/messagestyle';\n\n/**\n * Message groups a collection of contents in tabs.\n * @group Components\n */\n@Component({\n selector: 'p-message',\n standalone: true,\n imports: [CommonModule, TimesIcon, Ripple, SharedModule],\n template: `\n @if (visible()) {\n <div\n class=\"p-message p-component\"\n [attr.aria-live]=\"'polite'\"\n [ngClass]=\"containerClass\"\n [attr.role]=\"'alert'\"\n [@messageAnimation]=\"{\n value: 'visible()',\n params: {\n showTransitionParams: showTransitionOptions,\n hideTransitionParams: hideTransitionOptions\n }\n }\"\n >\n <div class=\"p-message-content\">\n @if (iconTemplate || _iconTemplate) {\n <ng-container *ngTemplateOutlet=\"iconTemplate || iconTemplate\"></ng-container>\n }\n @if (icon) {\n <i class=\"p-message-icon\" [ngClass]=\"icon\"></i>\n }\n\n <div *ngIf=\"!escape; else escapeOut\">\n <span *ngIf=\"!escape\" [ngClass]=\"cx('text')\" [innerHTML]=\"text\"></span>\n </div>\n\n <ng-template #escapeOut>\n <span *ngIf=\"escape && text\" [ngClass]=\"cx('text')\">{{ text }}</span>\n </ng-template>\n\n @if (containerTemplate || _containerTemplate) {\n <ng-container *ngTemplateOutlet=\"containerTemplate || containerTemplate; context: { closeCallback: close.bind(this) }\"></ng-container>\n } @else {\n <span [ngClass]=\"cx('text')\">\n <ng-content></ng-content>\n </span>\n }\n @if (closable) {\n <button pRipple type=\"button\" class=\"p-message-close-button\" (click)=\"close($event)\" [attr.aria-label]=\"closeAriaLabel\">\n @if (closeIcon) {\n <i class=\"p-message-close-icon\" [ngClass]=\"closeIcon\"></i>\n }\n @if (closeIconTemplate || _closeIconTemplate) {\n <ng-container *ngTemplateOutlet=\"closeIconTemplate || _closeIconTemplate\"></ng-container>\n }\n @if (!closeIconTemplate && !_closeIconTemplate && !closeIcon) {\n <TimesIcon styleClass=\"p-message-close-icon\" />\n }\n </button>\n }\n </div>\n </div>\n }\n `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n providers: [MessageStyle],\n animations: [\n trigger('messageAnimation', [\n transition(':enter', [style({ opacity: 0, transform: 'translateY(-25%)' }), animate('{{showTransitionParams}}')]),\n transition(':leave', [\n animate(\n '{{hideTransitionParams}}',\n style({\n height: 0,\n marginTop: 0,\n marginBottom: 0,\n marginLeft: 0,\n marginRight: 0,\n opacity: 0\n })\n )\n ])\n ])\n ]\n})\nexport class Message extends BaseComponent implements AfterContentInit {\n /**\n * Severity level of the message.\n * @defaultValue 'info'\n * @group Props\n */\n @Input() severity: string | 'success' | 'info' | 'warn' | 'error' | 'secondary' | 'contrast' | undefined | null = 'info';\n /**\n * Text content.\n * @group Props\n */\n @Input() text: string | undefined;\n /**\n * Whether displaying messages would be escaped or not.\n * @deprecated Use content projection instead '<p-message>Content</p-message>'.\n * @group Props\n */\n @Input({ transform: booleanAttribute }) escape: boolean = true;\n /**\n * Inline style of the component.\n * @group Props\n */\n @Input() style: { [klass: string]: any } | null | undefined;\n /**\n * Style class of the component.\n * @group Props\n */\n @Input() styleClass: string | undefined;\n /**\n * Whether the message can be closed manually using the close icon.\n * @group Props\n * @defaultValue false\n */\n @Input({ transform: booleanAttribute }) closable: boolean = false;\n /**\n * Icon to display in the message.\n * @group Props\n * @defaultValue undefined\n */\n @Input() icon: string | undefined;\n /**\n * Icon to display in the message close button.\n * @group Props\n * @defaultValue undefined\n */\n @Input() closeIcon: string | undefined;\n /**\n * Delay in milliseconds to close the message automatically.\n * @defaultValue undefined\n */\n @Input() life: number | undefined;\n /**\n * Transition options of the show animation.\n * @defaultValue '300ms ease-out'\n * @group Props\n */\n @Input() showTransitionOptions: string = '300ms ease-out';\n /**\n * Transition options of the hide animation.\n * @defaultValue '200ms cubic-bezier(0.86, 0, 0.07, 1)'\n * @group Props\n */\n @Input() hideTransitionOptions: string = '200ms cubic-bezier(0.86, 0, 0.07, 1)';\n /**\n * Defines the size of the component.\n * @group Props\n */\n @Input() size: 'large' | 'small' | undefined;\n /**\n * Specifies the input variant of the component.\n * @group Props\n */\n @Input() variant: 'outlined' | 'text' | 'simple' | undefined;\n /**\n * Emits when the message is closed.\n * @param {{ originalEvent: Event }} event - The event object containing the original event.\n * @group Emits\n */\n @Output() onClose: EventEmitter<{ originalEvent: Event }> = new EventEmitter<{ originalEvent: Event }>();\n\n get closeAriaLabel() {\n return this.config.translation.aria ? this.config.translation.aria.close : undefined;\n }\n\n get containerClass(): string {\n const variantClass = this.variant === 'outlined' ? 'p-message-outlined' : this.variant === 'simple' ? 'p-message-simple' : '';\n const sizeClass = this.size === 'small' ? 'p-message-sm' : this.size === 'large' ? 'p-message-lg' : '';\n\n return `p-message-${this.severity} ${variantClass} ${sizeClass}`.trim() + (this.styleClass ? ' ' + this.styleClass : '');\n }\n visible = signal<boolean>(true);\n\n _componentStyle = inject(MessageStyle);\n\n /**\n * Custom template of the message container.\n * @group Templates\n */\n @ContentChild('container', { descendants: false }) containerTemplate: TemplateRef<any> | undefined;\n\n /**\n * Custom template of the message icon.\n * @group Templates\n */\n @ContentChild('icon', { descendants: false }) iconTemplate: TemplateRef<any> | undefined;\n\n /**\n * Custom template of the close icon.\n * @group Templates\n */\n @ContentChild('closeicon', { descendants: false }) closeIconTemplate: TemplateRef<any> | undefined;\n\n @ContentChildren(PrimeTemplate) templates: QueryList<PrimeTemplate> | undefined;\n\n _containerTemplate: TemplateRef<any> | undefined;\n\n _iconTemplate: TemplateRef<any> | undefined;\n\n _closeIconTemplate: TemplateRef<any> | undefined;\n\n ngOnInit() {\n super.ngOnInit();\n if (this.life) {\n setTimeout(() => {\n this.visible.set(false);\n }, this.life);\n }\n }\n\n ngAfterContentInit() {\n this.templates?.forEach((item) => {\n switch (item.getType()) {\n case 'container':\n this._containerTemplate = item.template;\n break;\n\n case 'icon':\n this._iconTemplate = item.template;\n break;\n\n case 'closeicon':\n this._closeIconTemplate = item.template;\n break;\n }\n });\n }\n\n /**\n * Closes the message.\n * @param {Event} event - Browser event.\n * @group Method\n */\n public close(event: Event) {\n this.visible.set(false);\n this.onClose.emit({ originalEvent: event });\n }\n}\n\n@NgModule({\n imports: [Message, SharedModule],\n exports: [Message, SharedModule]\n})\nexport class MessageModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\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A,IAAA,SAAA,KAAA,EAAA,CAAA,kBAAA,CAAA,aAAa,cAlKb,OAAO,EA+JG,YAAY,CA/JtB,EAAA,OAAA,EAAA,CAAA,OAAO,EAgKG,YAAY,CAAA,EAAA,CAAA,CAAA,EAAA,GAAA;;AC9PnC;;AAEG;;;;"}
|
@@ -740,7 +740,7 @@ function MultiSelect_ng_template_14_div_4_ng_template_3_p_checkbox_0_Template(rf
|
|
740
740
|
i0.ɵɵelementEnd();
|
741
741
|
} if (rf & 2) {
|
742
742
|
const ctx_r1 = i0.ɵɵnextContext(4);
|
743
|
-
i0.ɵɵproperty("ngModel", ctx_r1.allSelected())("binary", true)("variant", ctx_r1.variant)("disabled", ctx_r1.disabled);
|
743
|
+
i0.ɵɵproperty("ngModel", ctx_r1.allSelected())("ariaLabel", ctx_r1.toggleAllAriaLabel)("binary", true)("variant", ctx_r1.variant)("disabled", ctx_r1.disabled);
|
744
744
|
} }
|
745
745
|
function MultiSelect_ng_template_14_div_4_ng_template_3_div_1_SearchIcon_5_Template(rf, ctx) { if (rf & 1) {
|
746
746
|
i0.ɵɵelement(0, "SearchIcon", 41);
|
@@ -779,7 +779,7 @@ function MultiSelect_ng_template_14_div_4_ng_template_3_div_1_Template(rf, ctx)
|
|
779
779
|
i0.ɵɵproperty("ngIf", ctx_r1.filterIconTemplate || ctx_r1._filterIconTemplate);
|
780
780
|
} }
|
781
781
|
function MultiSelect_ng_template_14_div_4_ng_template_3_Template(rf, ctx) { if (rf & 1) {
|
782
|
-
i0.ɵɵtemplate(0, MultiSelect_ng_template_14_div_4_ng_template_3_p_checkbox_0_Template, 4,
|
782
|
+
i0.ɵɵtemplate(0, MultiSelect_ng_template_14_div_4_ng_template_3_p_checkbox_0_Template, 4, 5, "p-checkbox", 49)(1, MultiSelect_ng_template_14_div_4_ng_template_3_div_1_Template, 7, 10, "div", 50);
|
783
783
|
} if (rf & 2) {
|
784
784
|
const ctx_r1 = i0.ɵɵnextContext(3);
|
785
785
|
i0.ɵɵproperty("ngIf", ctx_r1.showToggleAll && !ctx_r1.selectionLimit);
|
@@ -1065,7 +1065,7 @@ class MultiSelectItem extends BaseComponent {
|
|
1065
1065
|
});
|
1066
1066
|
}
|
1067
1067
|
static ɵfac = /*@__PURE__*/ (() => { let ɵMultiSelectItem_BaseFactory; return function MultiSelectItem_Factory(__ngFactoryType__) { return (ɵMultiSelectItem_BaseFactory || (ɵMultiSelectItem_BaseFactory = i0.ɵɵgetInheritedFactory(MultiSelectItem)))(__ngFactoryType__ || MultiSelectItem); }; })();
|
1068
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MultiSelectItem, selectors: [["p-multiSelectItem"], ["p-multiselect-item"]], inputs: { id: "id", option: "option", selected: [2, "selected", "selected", booleanAttribute], label: "label", disabled: [2, "disabled", "disabled", booleanAttribute], itemSize: [2, "itemSize", "itemSize", numberAttribute], focused: [2, "focused", "focused", booleanAttribute], ariaPosInset: "ariaPosInset", ariaSetSize: "ariaSetSize", variant: "variant", template: "template", checkIconTemplate: "checkIconTemplate", itemCheckboxIconTemplate: "itemCheckboxIconTemplate" }, outputs: { onClick: "onClick", onMouseEnter: "onMouseEnter" }, features: [i0.ɵɵInputTransformsFeature, i0.ɵɵInheritDefinitionFeature], decls: 5, vars:
|
1068
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MultiSelectItem, selectors: [["p-multiSelectItem"], ["p-multiselect-item"]], inputs: { id: "id", option: "option", selected: [2, "selected", "selected", booleanAttribute], label: "label", disabled: [2, "disabled", "disabled", booleanAttribute], itemSize: [2, "itemSize", "itemSize", numberAttribute], focused: [2, "focused", "focused", booleanAttribute], ariaPosInset: "ariaPosInset", ariaSetSize: "ariaSetSize", variant: "variant", template: "template", checkIconTemplate: "checkIconTemplate", itemCheckboxIconTemplate: "itemCheckboxIconTemplate" }, outputs: { onClick: "onClick", onMouseEnter: "onMouseEnter" }, features: [i0.ɵɵInputTransformsFeature, i0.ɵɵInheritDefinitionFeature], decls: 5, vars: 27, consts: [["icon", ""], ["pRipple", "", "role", "option", 3, "click", "mouseenter", "ngStyle", "ngClass", "id"], [3, "ngModel", "binary", "tabindex", "variant", "ariaLabel"], [4, "ngIf"], [4, "ngTemplateOutlet", "ngTemplateOutletContext"]], template: function MultiSelectItem_Template(rf, ctx) { if (rf & 1) {
|
1069
1069
|
i0.ɵɵelementStart(0, "li", 1);
|
1070
1070
|
i0.ɵɵlistener("click", function MultiSelectItem_Template_li_click_0_listener($event) { return ctx.onOptionClick($event); })("mouseenter", function MultiSelectItem_Template_li_mouseenter_0_listener($event) { return ctx.onOptionMouseEnter($event); });
|
1071
1071
|
i0.ɵɵelementStart(1, "p-checkbox", 2);
|
@@ -1074,16 +1074,16 @@ class MultiSelectItem extends BaseComponent {
|
|
1074
1074
|
i0.ɵɵtemplate(3, MultiSelectItem_span_3_Template, 2, 1, "span", 3)(4, MultiSelectItem_ng_container_4_Template, 1, 0, "ng-container", 4);
|
1075
1075
|
i0.ɵɵelementEnd();
|
1076
1076
|
} if (rf & 2) {
|
1077
|
-
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(
|
1077
|
+
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(20, _c0, ctx.itemSize + "px"))("ngClass", i0.ɵɵpureFunction2(22, _c1, ctx.disabled, ctx.focused))("id", ctx.id);
|
1078
1078
|
i0.ɵɵattribute("aria-label", ctx.label)("aria-setsize", ctx.ariaSetSize)("aria-posinset", ctx.ariaPosInset)("aria-selected", ctx.selected)("data-p-focused", ctx.focused)("data-p-highlight", ctx.selected)("data-p-disabled", ctx.disabled)("aria-checked", ctx.selected);
|
1079
1079
|
i0.ɵɵadvance();
|
1080
|
-
i0.ɵɵproperty("ngModel", ctx.selected)("binary", true)("tabindex", -1)("variant", ctx.variant);
|
1080
|
+
i0.ɵɵproperty("ngModel", ctx.selected)("binary", true)("tabindex", -1)("variant", ctx.variant)("ariaLabel", ctx.label);
|
1081
1081
|
i0.ɵɵadvance();
|
1082
1082
|
i0.ɵɵproperty("ngIf", ctx.itemCheckboxIconTemplate);
|
1083
1083
|
i0.ɵɵadvance();
|
1084
1084
|
i0.ɵɵproperty("ngIf", !ctx.template);
|
1085
1085
|
i0.ɵɵadvance();
|
1086
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx.template)("ngTemplateOutletContext", i0.ɵɵpureFunction1(
|
1086
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx.template)("ngTemplateOutletContext", i0.ɵɵpureFunction1(25, _c2, ctx.option));
|
1087
1087
|
} }, dependencies: [CommonModule, i1.NgClass, i1.NgIf, i1.NgTemplateOutlet, i1.NgStyle, Checkbox, FormsModule, i2.NgControlStatus, i2.NgModel, Ripple, SharedModule], encapsulation: 2 });
|
1088
1088
|
}
|
1089
1089
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MultiSelectItem, [{
|
@@ -1114,7 +1114,7 @@ class MultiSelectItem extends BaseComponent {
|
|
1114
1114
|
(click)="onOptionClick($event)"
|
1115
1115
|
(mouseenter)="onOptionMouseEnter($event)"
|
1116
1116
|
>
|
1117
|
-
<p-checkbox [ngModel]="selected" [binary]="true" [tabindex]="-1" [variant]="variant">
|
1117
|
+
<p-checkbox [ngModel]="selected" [binary]="true" [tabindex]="-1" [variant]="variant" [ariaLabel]="label">
|
1118
1118
|
<ng-container *ngIf="itemCheckboxIconTemplate">
|
1119
1119
|
<ng-template #icon let-klass="class">
|
1120
1120
|
<ng-template *ngTemplateOutlet="itemCheckboxIconTemplate; context: { checked: selected, class: klass }"></ng-template>
|
@@ -1256,7 +1256,7 @@ class MultiSelect extends BaseComponent {
|
|
1256
1256
|
* Specifies the input variant of the component.
|
1257
1257
|
* @group Props
|
1258
1258
|
*/
|
1259
|
-
variant
|
1259
|
+
variant;
|
1260
1260
|
/**
|
1261
1261
|
* Target element to attach the overlay, valid values are "body" or a local ng-template variable of another element (note: use binding with brackets for template variables, e.g. [appendTo]="mydiv" for a div element having #mydiv as variable name).
|
1262
1262
|
* @group Props
|
@@ -1962,7 +1962,7 @@ class MultiSelect extends BaseComponent {
|
|
1962
1962
|
return this.selectionLimit && this.modelValue() && this.modelValue().length === this.selectionLimit;
|
1963
1963
|
}
|
1964
1964
|
ngAfterViewInit() {
|
1965
|
-
super.
|
1965
|
+
super.ngAfterViewInit();
|
1966
1966
|
if (this.overlayVisible) {
|
1967
1967
|
this.show();
|
1968
1968
|
}
|
@@ -2558,7 +2558,7 @@ class MultiSelect extends BaseComponent {
|
|
2558
2558
|
onOverlayAnimationStart(event) {
|
2559
2559
|
switch (event.toState) {
|
2560
2560
|
case 'visible':
|
2561
|
-
this.itemsWrapper = findSingle(this.overlayViewChild?.overlayViewChild?.nativeElement, this.virtualScroll ? '.p-scroller' : '.p-multiselect-
|
2561
|
+
this.itemsWrapper = findSingle(this.overlayViewChild?.overlayViewChild?.nativeElement, this.virtualScroll ? '.p-scroller' : '.p-multiselect-list-container');
|
2562
2562
|
this.virtualScroll && this.scroller?.setContentEl(this.itemsViewChild?.nativeElement);
|
2563
2563
|
if (this._options() && this._options().length) {
|
2564
2564
|
if (this.virtualScroll) {
|
@@ -2788,13 +2788,14 @@ class MultiSelect extends BaseComponent {
|
|
2788
2788
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.lastHiddenFocusableElementOnOverlay = _t.first);
|
2789
2789
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.firstHiddenFocusableElementOnOverlay = _t.first);
|
2790
2790
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.headerCheckboxViewChild = _t.first);
|
2791
|
-
} }, hostVars:
|
2791
|
+
} }, hostVars: 7, hostBindings: function MultiSelect_HostBindings(rf, ctx) { if (rf & 1) {
|
2792
2792
|
i0.ɵɵlistener("click", function MultiSelect_click_HostBindingHandler($event) { return ctx.onContainerClick($event); });
|
2793
2793
|
} if (rf & 2) {
|
2794
2794
|
i0.ɵɵattribute("id", ctx.id);
|
2795
2795
|
i0.ɵɵstyleMap(ctx.style);
|
2796
2796
|
i0.ɵɵclassMap(ctx.hostClasses);
|
2797
|
-
|
2797
|
+
i0.ɵɵclassProp("p-variant-filled", ctx.variant === "filled" || ctx.config.inputVariant() === "filled" || ctx.config.inputStyle() === "filled");
|
2798
|
+
} }, inputs: { id: "id", ariaLabel: "ariaLabel", style: "style", styleClass: "styleClass", panelStyle: "panelStyle", panelStyleClass: "panelStyleClass", inputId: "inputId", disabled: [2, "disabled", "disabled", booleanAttribute], fluid: [2, "fluid", "fluid", booleanAttribute], readonly: [2, "readonly", "readonly", booleanAttribute], group: [2, "group", "group", booleanAttribute], filter: [2, "filter", "filter", booleanAttribute], filterPlaceHolder: "filterPlaceHolder", filterLocale: "filterLocale", overlayVisible: [2, "overlayVisible", "overlayVisible", booleanAttribute], tabindex: [2, "tabindex", "tabindex", numberAttribute], variant: "variant", appendTo: "appendTo", dataKey: "dataKey", name: "name", ariaLabelledBy: "ariaLabelledBy", displaySelectedLabel: "displaySelectedLabel", maxSelectedLabels: "maxSelectedLabels", selectionLimit: [2, "selectionLimit", "selectionLimit", numberAttribute], selectedItemsLabel: "selectedItemsLabel", showToggleAll: [2, "showToggleAll", "showToggleAll", booleanAttribute], emptyFilterMessage: "emptyFilterMessage", emptyMessage: "emptyMessage", resetFilterOnHide: [2, "resetFilterOnHide", "resetFilterOnHide", booleanAttribute], dropdownIcon: "dropdownIcon", chipIcon: "chipIcon", optionLabel: "optionLabel", optionValue: "optionValue", optionDisabled: "optionDisabled", optionGroupLabel: "optionGroupLabel", optionGroupChildren: "optionGroupChildren", showHeader: [2, "showHeader", "showHeader", booleanAttribute], filterBy: "filterBy", scrollHeight: "scrollHeight", lazy: [2, "lazy", "lazy", booleanAttribute], virtualScroll: [2, "virtualScroll", "virtualScroll", booleanAttribute], loading: [2, "loading", "loading", booleanAttribute], virtualScrollItemSize: [2, "virtualScrollItemSize", "virtualScrollItemSize", numberAttribute], loadingIcon: "loadingIcon", virtualScrollOptions: "virtualScrollOptions", overlayOptions: "overlayOptions", ariaFilterLabel: "ariaFilterLabel", filterMatchMode: "filterMatchMode", tooltip: "tooltip", tooltipPosition: "tooltipPosition", tooltipPositionStyle: "tooltipPositionStyle", tooltipStyleClass: "tooltipStyleClass", autofocusFilter: [2, "autofocusFilter", "autofocusFilter", booleanAttribute], display: "display", autocomplete: "autocomplete", size: "size", showClear: [2, "showClear", "showClear", booleanAttribute], autofocus: [2, "autofocus", "autofocus", booleanAttribute], autoZIndex: "autoZIndex", baseZIndex: "baseZIndex", showTransitionOptions: "showTransitionOptions", hideTransitionOptions: "hideTransitionOptions", defaultLabel: "defaultLabel", placeholder: "placeholder", options: "options", filterValue: "filterValue", itemSize: "itemSize", selectAll: "selectAll", focusOnHover: [2, "focusOnHover", "focusOnHover", booleanAttribute], filterFields: "filterFields", selectOnFocus: [2, "selectOnFocus", "selectOnFocus", booleanAttribute], autoOptionFocus: [2, "autoOptionFocus", "autoOptionFocus", booleanAttribute] }, outputs: { onChange: "onChange", onFilter: "onFilter", onFocus: "onFocus", onBlur: "onBlur", onClick: "onClick", onClear: "onClear", onPanelShow: "onPanelShow", onPanelHide: "onPanelHide", onLazyLoad: "onLazyLoad", onRemove: "onRemove", onSelectAllChange: "onSelectAllChange" }, features: [i0.ɵɵProvidersFeature([MULTISELECT_VALUE_ACCESSOR, MultiSelectStyle]), i0.ɵɵInputTransformsFeature, i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c31, decls: 16, vars: 35, consts: [["focusInput", ""], ["elseBlock", ""], ["overlay", ""], ["content", ""], ["token", ""], ["removeicon", ""], ["firstHiddenFocusableEl", ""], ["buildInItems", ""], ["lastHiddenFocusableEl", ""], ["builtInFilterElement", ""], ["headerCheckbox", ""], ["checkboxicon", ""], ["filterInput", ""], ["scroller", ""], ["loader", ""], ["items", ""], [1, "p-hidden-accessible"], ["role", "combobox", 3, "focus", "blur", "keydown", "pTooltip", "tooltipPosition", "positionStyle", "tooltipStyleClass", "pAutoFocus"], [1, "p-multiselect-label-container", 3, "mouseleave", "pTooltip", "tooltipDisabled", "tooltipPosition", "positionStyle", "tooltipStyleClass"], [3, "ngClass"], [4, "ngIf"], [1, "p-multiselect-dropdown"], [4, "ngIf", "ngIfElse"], [3, "visibleChange", "onAnimationStart", "onHide", "visible", "options", "target", "appendTo", "autoZIndex", "baseZIndex", "showTransitionOptions", "hideTransitionOptions"], ["class", "p-multiselect-chip-item", 4, "ngFor", "ngForOf"], [1, "p-multiselect-chip-item"], ["styleClass", "p-multiselect-chip", 3, "onRemove", "label", "removable", "removeIcon"], ["class", "p-multiselect-chip-icon", 3, "click", 4, "ngIf"], [1, "p-multiselect-chip-icon", 3, "click"], [4, "ngTemplateOutlet", "ngTemplateOutletContext"], ["class", "p-multiselect-clear-icon", 3, "click", 4, "ngIf"], [1, "p-multiselect-clear-icon", 3, "click"], [4, "ngTemplateOutlet"], ["aria-hidden", "true", 3, "ngClass", 4, "ngIf"], ["aria-hidden", "true", 3, "class", 4, "ngIf"], ["aria-hidden", "true", 3, "ngClass"], ["aria-hidden", "true"], ["class", "p-multiselect-dropdown-icon", 4, "ngIf"], ["class", "p-multiselect-dropdown-icon", 3, "ngClass", 4, "ngIf"], [3, "styleClass", 4, "ngIf"], [1, "p-multiselect-dropdown-icon", 3, "ngClass"], [3, "styleClass"], [1, "p-multiselect-dropdown-icon"], [3, "ngClass", "ngStyle"], ["role", "presentation", 1, "p-hidden-accessible", "p-hidden-focusable", 3, "focus"], ["class", "p-multiselect-header", 4, "ngIf"], [1, "p-multiselect-list-container"], [3, "items", "style", "itemSize", "autoSize", "tabindex", "lazy", "options", "onLazyLoad", 4, "ngIf"], [1, "p-multiselect-header"], [3, "ngModel", "ariaLabel", "binary", "variant", "disabled", "onChange", 4, "ngIf"], ["class", "p-multiselect-filter-container", 4, "ngIf"], [3, "onChange", "ngModel", "ariaLabel", "binary", "variant", "disabled"], [1, "p-multiselect-filter-container"], ["pInputText", "", "type", "text", "role", "searchbox", 1, "p-multiselect-filter", 3, "input", "keydown", "click", "blur", "variant", "value", "disabled"], ["class", "p-multiselect-filter-icon", 4, "ngIf"], [1, "p-multiselect-filter-icon"], [3, "onLazyLoad", "items", "itemSize", "autoSize", "tabindex", "lazy", "options"], ["role", "listbox", "aria-multiselectable", "true", 1, "p-multiselect-list", 3, "ngClass"], ["ngFor", "", 3, "ngForOf"], ["class", "p-multiselect-empty-message", "role", "option", 3, "ngStyle", 4, "ngIf"], ["role", "option", 1, "p-multiselect-option-group", 3, "ngStyle"], [3, "onClick", "onMouseEnter", "id", "option", "selected", "label", "disabled", "template", "checkIconTemplate", "itemCheckboxIconTemplate", "itemSize", "focused", "ariaPosInset", "ariaSetSize", "variant"], ["role", "option", 1, "p-multiselect-empty-message", 3, "ngStyle"]], template: function MultiSelect_Template(rf, ctx) { if (rf & 1) {
|
2798
2799
|
const _r1 = i0.ɵɵgetCurrentView();
|
2799
2800
|
i0.ɵɵprojectionDef(_c30);
|
2800
2801
|
i0.ɵɵelementStart(0, "div", 16)(1, "input", 17, 0);
|
@@ -2968,7 +2969,7 @@ class MultiSelect extends BaseComponent {
|
|
2968
2969
|
<ng-container *ngTemplateOutlet="filterTemplate || _filterTemplate; context: { options: filterOptions }"></ng-container>
|
2969
2970
|
</ng-container>
|
2970
2971
|
<ng-template #builtInFilterElement>
|
2971
|
-
<p-checkbox [ngModel]="allSelected()" [binary]="true" (onChange)="onToggleAll($event)" *ngIf="showToggleAll && !selectionLimit" [variant]="variant" [disabled]="disabled" #headerCheckbox>
|
2972
|
+
<p-checkbox [ngModel]="allSelected()" [ariaLabel]="toggleAllAriaLabel" [binary]="true" (onChange)="onToggleAll($event)" *ngIf="showToggleAll && !selectionLimit" [variant]="variant" [disabled]="disabled" #headerCheckbox>
|
2972
2973
|
<ng-template #checkboxicon let-klass="class">
|
2973
2974
|
<CheckIcon *ngIf="!headerCheckboxIconTemplate && !_headerCheckboxIconTemplate && allSelected()" [styleClass]="klass" [attr.data-pc-section]="'icon'" />
|
2974
2975
|
<ng-template
|
@@ -3112,7 +3113,8 @@ class MultiSelect extends BaseComponent {
|
|
3112
3113
|
host: {
|
3113
3114
|
'[attr.id]': 'id',
|
3114
3115
|
'[style]': 'style',
|
3115
|
-
'(click)': 'onContainerClick($event)'
|
3116
|
+
'(click)': 'onContainerClick($event)',
|
3117
|
+
'[class.p-variant-filled]': 'variant === "filled" || config.inputVariant() === "filled" || config.inputStyle() === "filled" '
|
3116
3118
|
}
|
3117
3119
|
}]
|
3118
3120
|
}], () => [{ type: i0.NgZone }, { type: i3.FilterService }, { type: i3.OverlayService }], { id: [{
|
@@ -3393,7 +3395,7 @@ class MultiSelect extends BaseComponent {
|
|
3393
3395
|
type: HostBinding,
|
3394
3396
|
args: ['class']
|
3395
3397
|
}] }); })();
|
3396
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(MultiSelect, { className: "MultiSelect", filePath: "multiselect.ts", lineNumber:
|
3398
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(MultiSelect, { className: "MultiSelect", filePath: "multiselect.ts", lineNumber: 445 }); })();
|
3397
3399
|
class MultiSelectModule {
|
3398
3400
|
static ɵfac = function MultiSelectModule_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || MultiSelectModule)(); };
|
3399
3401
|
static ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: MultiSelectModule });
|