@anguless/angulux 22.2.1 → 22.2.3

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.
@@ -22,8 +22,13 @@ const inlineStyles = {
22
22
  return {
23
23
  position: 'fixed',
24
24
  top: _position === 'top-right' || _position === 'top-left' || _position === 'top-center' ? '20px' : _position === 'center' ? '50%' : null,
25
- right: (_position === 'top-right' || _position === 'bottom-right') && '20px',
26
- bottom: (_position === 'bottom-left' || _position === 'bottom-right' || _position === 'bottom-center') && '20px',
25
+ // `&&` yields `false`, not `null`, when the position does not match, and
26
+ // Angular 22 rejects `false` as a style value: NG0318, once per style per
27
+ // change detection. A single toast on screen was enough to put dozens of
28
+ // warnings into a consuming app's console on every navigation. The two
29
+ // neighbouring lines already do this correctly with a ternary.
30
+ right: _position === 'top-right' || _position === 'bottom-right' ? '20px' : null,
31
+ bottom: _position === 'bottom-left' || _position === 'bottom-right' || _position === 'bottom-center' ? '20px' : null,
27
32
  left: _position === 'top-left' || _position === 'bottom-left' ? '20px' : _position === 'center' || _position === 'top-center' || _position === 'bottom-center' ? '50%' : null
28
33
  };
29
34
  }
@@ -1 +1 @@
1
- {"version":3,"file":"anguless-angulux-toast.mjs","sources":["../../src/toast/style/toaststyle.ts","../../src/toast/toast.ts","../../src/toast/anguless-angulux-toast.ts"],"sourcesContent":["import { Injectable } from '@angular/core';\nimport { style } from '@anguless/angulux-styles/toast';\nimport { BaseStyle } from '@anguless/angulux/base';\n\n// Position\nconst inlineStyles = {\n root: ({ instance }) => {\n const { _position } = instance;\n\n return {\n position: 'fixed',\n top: _position === 'top-right' || _position === 'top-left' || _position === 'top-center' ? '20px' : _position === 'center' ? '50%' : null,\n right: (_position === 'top-right' || _position === 'bottom-right') && '20px',\n bottom: (_position === 'bottom-left' || _position === 'bottom-right' || _position === 'bottom-center') && '20px',\n left: _position === 'top-left' || _position === 'bottom-left' ? '20px' : _position === 'center' || _position === 'top-center' || _position === 'bottom-center' ? '50%' : null\n };\n }\n};\n\nconst classes = {\n root: ({ instance }) => ['p-toast p-component', `p-toast-${instance._position}`],\n\n message: ({ instance }) => ({\n 'p-toast-message': true,\n 'p-toast-message-info': instance.message.severity === 'info' || instance.message.severity === undefined,\n 'p-toast-message-warn': instance.message.severity === 'warn',\n 'p-toast-message-error': instance.message.severity === 'error',\n 'p-toast-message-success': instance.message.severity === 'success',\n 'p-toast-message-secondary': instance.message.severity === 'secondary',\n 'p-toast-message-contrast': instance.message.severity === 'contrast'\n }),\n messageContent: 'p-toast-message-content',\n messageIcon: ({ instance }) => ({\n 'p-toast-message-icon': true,\n [`pi ${instance.message.icon}`]: !!instance.message.icon\n }),\n messageText: 'p-toast-message-text',\n summary: 'p-toast-summary',\n detail: 'p-toast-detail',\n closeButton: 'p-toast-close-button',\n closeIcon: ({ instance }) => ({\n 'p-toast-close-icon': true,\n [`pi ${instance.message.closeIcon}`]: !!instance.message.closeIcon\n })\n};\n\n@Injectable()\nexport class ToastStyle extends BaseStyle {\n name = 'toast';\n\n style = style;\n\n classes = classes;\n\n inlineStyles = inlineStyles;\n}\n\n/**\n *\n * Toast is used to display messages in an overlay.\n *\n * @module toaststyle\n *\n */\nexport enum ToastClasses {\n /**\n * Class name of the root element\n */\n root = 'p-toast',\n /**\n * Class name of the message element\n */\n message = 'p-toast-message',\n /**\n * Class name of the message content element\n */\n messageContent = 'p-toast-message-content',\n /**\n * Class name of the message icon element\n */\n messageIcon = 'p-toast-message-icon',\n /**\n * Class name of the message text element\n */\n messageText = 'p-toast-message-text',\n /**\n * Class name of the summary element\n */\n summary = 'p-toast-summary',\n /**\n * Class name of the detail element\n */\n detail = 'p-toast-detail',\n /**\n * Class name of the close button element\n */\n closeButton = 'p-toast-close-button',\n /**\n * Class name of the close icon element\n */\n closeIcon = 'p-toast-close-icon'\n}\n\nexport interface ToastStyle extends BaseStyle {}\n","import { CommonModule } from '@angular/common';\nimport {\n booleanAttribute,\n ChangeDetectionStrategy,\n Component,\n computed,\n contentChild, effect,\n EventEmitter,\n inject,\n InjectionToken,\n input,\n Input,\n NgModule,\n NgZone,\n numberAttribute,\n output,\n Output,\n signal,\n TemplateRef,\n ViewEncapsulation\n} from '@angular/core';\nimport { MotionEvent, MotionOptions } from '@anguless/angulux-motion';\nimport { isEmpty, setAttribute, uuid } from '@anguless/angulux-utils';\nimport { MessageService, SharedModule, ToastMessageOptions } from '@anguless/angulux/api';\nimport { BaseComponent, PARENT_INSTANCE } from '@anguless/angulux/basecomponent';\nimport { Bind } from '@anguless/angulux/bind';\nimport { CheckIcon, ExclamationTriangleIcon, InfoCircleIcon, TimesCircleIcon, TimesIcon } from '@anguless/angulux/icons';\nimport { MotionModule } from '@anguless/angulux/motion';\nimport { ToastCloseEvent, ToastHeadlessTemplateContext, ToastItemCloseEvent, ToastMessageTemplateContext, ToastPassThrough, ToastPositionType } from '@anguless/angulux/types/toast';\nimport { ZIndexUtils } from '@anguless/angulux/utils';\nimport { Subscription } from 'rxjs';\nimport { ToastStyle } from './style/toaststyle';\n\nconst TOAST_INSTANCE = new InjectionToken<Toast>('TOAST_INSTANCE');\n\n@Component({\n selector: 'agl-toastItem',\n standalone: true,\n imports: [CommonModule, CheckIcon, ExclamationTriangleIcon, InfoCircleIcon, TimesIcon, TimesCircleIcon, SharedModule, Bind, MotionModule],\n template: `\n <div\n #container\n [aglMotion]=\"visible()\"\n [aglMotionAppear]=\"true\"\n [aglMotionName]=\"'p-toast-message'\"\n [aglMotionOptions]=\"motionOptions()\"\n (aglMotionOnBeforeEnter)=\"onBeforeEnter($event)\"\n (aglMotionOnAfterLeave)=\"onAfterLeave($event)\"\n [attr.id]=\"message?.id\"\n [aglBind]=\"ptm('message')\"\n [class]=\"cn(cx('message'), message?.styleClass)\"\n (mouseenter)=\"onMouseEnter()\"\n (mouseleave)=\"onMouseLeave()\"\n role=\"alert\"\n aria-live=\"assertive\"\n aria-atomic=\"true\"\n [attr.data-p]=\"dataP\"\n >\n @if (headlessTemplate) {\n <ng-container *ngTemplateOutlet=\"headlessTemplate; context: { $implicit: message, closeFn: onCloseIconClick }\"></ng-container>\n } @else {\n <div [aglBind]=\"ptm('messageContent')\" [class]=\"cn(cx('messageContent'), message?.contentStyleClass)\">\n <ng-container *ngIf=\"!template\">\n @if (message.icon) {\n <span [aglBind]=\"ptm('messageIcon')\" [class]=\"cn(cx('messageIcon'), message?.icon)\"></span>\n } @else {\n @switch (message.severity) {\n @case ('success') {\n <svg [aglBind]=\"ptm('messageIcon')\" data-p-icon=\"check\" [class]=\"cx('messageIcon')\" [attr.aria-hidden]=\"true\" />\n }\n @case ('info') {\n <svg [aglBind]=\"ptm('messageIcon')\" data-p-icon=\"info-circle\" [class]=\"cx('messageIcon')\" [attr.aria-hidden]=\"true\" />\n }\n @case ('error') {\n <svg [aglBind]=\"ptm('messageIcon')\" data-p-icon=\"times-circle\" [class]=\"cx('messageIcon')\" [attr.aria-hidden]=\"true\" />\n }\n @case ('warn') {\n <svg [aglBind]=\"ptm('messageIcon')\" data-p-icon=\"exclamation-triangle\" [class]=\"cx('messageIcon')\" [attr.aria-hidden]=\"true\" />\n }\n @default {\n <svg [aglBind]=\"ptm('messageIcon')\" data-p-icon=\"info-circle\" [class]=\"cx('messageIcon')\" [attr.aria-hidden]=\"true\" />\n }\n }\n }\n <div [aglBind]=\"ptm('messageText')\" [ngClass]=\"cx('messageText')\" [attr.data-p]=\"dataP\">\n <div [aglBind]=\"ptm('summary')\" [ngClass]=\"cx('summary')\" [attr.data-p]=\"dataP\">\n {{ message.summary }}\n </div>\n <div [aglBind]=\"ptm('detail')\" [ngClass]=\"cx('detail')\" [attr.data-p]=\"dataP\">{{ message.detail }}</div>\n </div>\n </ng-container>\n <ng-container *ngTemplateOutlet=\"template; context: { $implicit: message }\"></ng-container>\n @if (message?.closable !== false) {\n <div>\n <button\n [aglBind]=\"ptm('closeButton')\"\n type=\"button\"\n [attr.class]=\"cx('closeButton')\"\n (click)=\"onCloseIconClick($event)\"\n (keydown.enter)=\"onCloseIconClick($event)\"\n [attr.aria-label]=\"closeAriaLabel\"\n autofocus\n [attr.data-p]=\"dataP\"\n >\n @if (message.closeIcon) {\n <span [aglBind]=\"ptm('closeIcon')\" *ngIf=\"message.closeIcon\" [class]=\"cn(cx('closeIcon'), message?.closeIcon)\"></span>\n } @else {\n <svg [aglBind]=\"ptm('closeIcon')\" data-p-icon=\"times\" [class]=\"cx('closeIcon')\" [attr.aria-hidden]=\"true\" />\n }\n </button>\n </div>\n }\n </div>\n }\n </div>\n `,\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [ToastStyle]\n})\nexport class ToastItem extends BaseComponent<ToastPassThrough> {\n @Input() message: ToastMessageOptions | null | undefined;\n\n @Input({ transform: numberAttribute }) index: number | null | undefined;\n\n @Input({ transform: numberAttribute }) life: number;\n\n @Input() template: TemplateRef<ToastMessageTemplateContext> | undefined;\n\n @Input() headlessTemplate: TemplateRef<ToastHeadlessTemplateContext> | undefined;\n\n @Input() showTransformOptions: string | undefined;\n\n @Input() hideTransformOptions: string | undefined;\n\n @Input() showTransitionOptions: string | undefined;\n\n @Input() hideTransitionOptions: string | undefined;\n\n motionOptions = input<MotionOptions>();\n\n clearAll = input<any>(null);\n\n onAnimationStart = output<HTMLElement>();\n\n onAnimationEnd = output<HTMLElement>();\n\n onBeforeEnter(event: MotionEvent) {\n this.onAnimationStart.emit(event.element as HTMLElement);\n }\n\n onAfterLeave(event: MotionEvent) {\n if (!this.visible() && !this.isDestroyed) {\n this.onClose.emit({\n index: <number>this.index,\n message: <ToastMessageOptions>this.message\n });\n\n if (!this.isDestroyed) {\n this.onAnimationEnd.emit(event.element as HTMLElement);\n }\n }\n }\n\n @Output() onClose: EventEmitter<ToastItemCloseEvent> = new EventEmitter();\n\n _componentStyle = inject(ToastStyle);\n\n timeout: any;\n\n visible = signal<boolean | undefined>(undefined);\n\n private isDestroyed = false;\n\n private isClosing = false;\n\n constructor(private zone: NgZone) {\n super();\n\n effect(() => {\n if (this.clearAll()) {\n this.visible.set(false);\n }\n });\n }\n\n onAfterViewInit() {\n this.message?.sticky && this.visible.set(true);\n this.initTimeout();\n }\n\n initTimeout() {\n if (!this.message?.sticky) {\n this.clearTimeout();\n this.zone.runOutsideAngular(() => {\n this.visible.set(true);\n this.timeout = setTimeout(\n () => {\n this.visible.set(false);\n },\n this.message?.life || this.life || 3000\n );\n });\n }\n }\n\n clearTimeout() {\n if (this.timeout) {\n clearTimeout(this.timeout);\n this.timeout = null;\n }\n }\n\n onMouseEnter() {\n this.clearTimeout();\n }\n\n onMouseLeave() {\n if (!this.isClosing) {\n this.initTimeout();\n }\n }\n\n onCloseIconClick = (event: Event) => {\n this.isClosing = true;\n this.clearTimeout();\n this.visible.set(false);\n event.preventDefault();\n };\n\n get closeAriaLabel() {\n return this.config.translation.aria ? this.config.translation.aria.close : undefined;\n }\n\n onDestroy() {\n this.isDestroyed = true;\n this.clearTimeout();\n this.visible.set(false);\n }\n\n get dataP() {\n return this.cn({\n [this.message?.severity as string]: this.message?.severity\n });\n }\n}\n\n/**\n * Toast is used to display messages in an overlay.\n * @group Components\n */\n@Component({\n selector: 'agl-toast',\n standalone: true,\n imports: [CommonModule, ToastItem, SharedModule],\n template: `\n <agl-toastItem\n *ngFor=\"let msg of messages; let i = index\"\n [message]=\"msg\"\n [index]=\"i\"\n [life]=\"life\"\n [clearAll]=\"clearAllTrigger()\"\n (onClose)=\"onMessageClose($event)\"\n (onAnimationEnd)=\"onAnimationEnd()\"\n (onAnimationStart)=\"onAnimationStart()\"\n [template]=\"template()\"\n [headlessTemplate]=\"headlessTemplate()\"\n [pt]=\"pt\"\n [unstyled]=\"unstyled()\"\n [motionOptions]=\"computedMotionOptions()\"\n ></agl-toastItem>\n `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n providers: [ToastStyle, { provide: TOAST_INSTANCE, useExisting: Toast }, { provide: PARENT_INSTANCE, useExisting: Toast }],\n host: {\n '[class]': \"cn(cx('root'), styleClass)\",\n '[style]': \"sx('root')\",\n '[attr.data-p]': 'dataP'\n },\n hostDirectives: [Bind]\n})\nexport class Toast extends BaseComponent<ToastPassThrough> {\n componentName = 'Toast';\n\n $pcToast: Toast | undefined = inject(TOAST_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 * Key of the message in case message is targeted to a specific toast component.\n * @group Props\n */\n @Input() key: string | undefined;\n /**\n * Whether to automatically manage layering.\n * @group Props\n */\n @Input({ transform: booleanAttribute }) autoZIndex: boolean = true;\n /**\n * Base zIndex value to use in layering.\n * @group Props\n */\n @Input({ transform: numberAttribute }) baseZIndex: number = 0;\n /**\n * The default time to display messages for in milliseconds.\n * @group Props\n */\n @Input({ transform: numberAttribute }) life: number = 3000;\n /**\n * Inline class of the component.\n * @deprecated since v20.0.0, use `class` instead.\n * @group Props\n */\n @Input() styleClass: string | undefined;\n /**\n * Position of the toast in viewport.\n * @group Props\n */\n @Input() get position(): ToastPositionType {\n return this._position;\n }\n\n set position(value: ToastPositionType) {\n this._position = value;\n this.cd.markForCheck();\n }\n\n /**\n * It does not add the new message if there is already a toast displayed with the same content\n * @group Props\n */\n @Input({ transform: booleanAttribute }) preventOpenDuplicates: boolean = false;\n /**\n * Displays only once a message with the same content.\n * @group Props\n */\n @Input({ transform: booleanAttribute }) preventDuplicates: boolean = false;\n /**\n * Transform options of the show animation.\n * @group Props\n * @deprecated since v21.0.0. Use `motionOptions` instead.\n */\n @Input() showTransformOptions: string = 'translateY(100%)';\n /**\n * Transform options of the hide animation.\n * @group Props\n * @deprecated since v21.0.0. Use `motionOptions` instead.\n */\n @Input() hideTransformOptions: string = 'translateY(-100%)';\n /**\n * Transition options of the show animation.\n * @group Props\n * @deprecated since v21.0.0. Use `motionOptions` instead.\n */\n @Input() showTransitionOptions: string = '300ms ease-out';\n /**\n * Transition options of the hide animation.\n * @group Props\n * @deprecated since v21.0.0. Use `motionOptions` instead.\n */\n @Input() hideTransitionOptions: string = '250ms ease-in';\n /**\n * The motion options.\n * @group Props\n */\n motionOptions = input<MotionOptions | undefined>(undefined);\n\n computedMotionOptions = computed<MotionOptions>(() => {\n return {\n ...this.ptm('motion'),\n ...this.motionOptions()\n };\n });\n /**\n * Object literal to define styles per screen size.\n * @group Props\n */\n @Input() breakpoints: { [key: string]: any } | undefined;\n /**\n * Callback to invoke when a message is closed.\n * @param {ToastCloseEvent} event - custom close event.\n * @group Emits\n */\n @Output() onClose: EventEmitter<ToastCloseEvent> = new EventEmitter<ToastCloseEvent>();\n /**\n * Custom message template.\n * @param {ToastMessageTemplateContext} context - message context.\n * @see {@link ToastMessageTemplateContext}\n * @group Templates\n */\n template = contentChild<TemplateRef<ToastMessageTemplateContext>>('message');\n /**\n * Custom headless template.\n * @param {ToastHeadlessTemplateContext} context - headless context.\n * @see {@link ToastHeadlessTemplateContext}\n * @group Templates\n */\n headlessTemplate = contentChild<TemplateRef<ToastHeadlessTemplateContext>>('headless');\n\n messageSubscription: Subscription | undefined;\n\n clearSubscription: Subscription | undefined;\n\n messages: ToastMessageOptions[] | null | undefined;\n\n messagesArchieve: ToastMessageOptions[] | undefined;\n\n _position: ToastPositionType = 'top-right';\n\n messageService: MessageService = inject(MessageService);\n\n _componentStyle = inject(ToastStyle);\n\n styleElement: any;\n\n id: string = uuid('pn_id_');\n\n clearAllTrigger = signal<{} | null>(null);\n\n constructor() {\n super();\n }\n\n onInit() {\n this.messageSubscription = this.messageService.messageObserver.subscribe((messages) => {\n if (messages) {\n if (Array.isArray(messages)) {\n const filteredMessages = messages.filter((m) => this.canAdd(m));\n this.add(filteredMessages);\n } else if (this.canAdd(messages)) {\n this.add([messages]);\n }\n }\n });\n\n this.clearSubscription = this.messageService.clearObserver.subscribe((key) => {\n if (key) {\n if (this.key === key) {\n this.clearAll();\n }\n } else {\n this.clearAll();\n }\n\n this.cd.markForCheck();\n });\n }\n\n clearAll() {\n // trigger signal to clear all messages\n this.clearAllTrigger.set({});\n }\n\n onAfterViewInit() {\n if (this.breakpoints) {\n this.createStyle();\n }\n }\n\n add(messages: ToastMessageOptions[]): void {\n this.messages = this.messages ? [...this.messages, ...messages] : [...messages];\n\n if (this.preventDuplicates) {\n this.messagesArchieve = this.messagesArchieve ? [...this.messagesArchieve, ...messages] : [...messages];\n }\n\n this.cd.markForCheck();\n }\n\n canAdd(message: ToastMessageOptions): boolean {\n let allow = this.key === message.key;\n\n if (allow && this.preventOpenDuplicates) {\n allow = !this.containsMessage(this.messages!, message);\n }\n\n if (allow && this.preventDuplicates) {\n allow = !this.containsMessage(this.messagesArchieve!, message);\n }\n\n return allow;\n }\n\n containsMessage(collection: ToastMessageOptions[], message: ToastMessageOptions): boolean {\n if (!collection) {\n return false;\n }\n\n return (\n collection.find((m) => {\n return m.summary === message.summary && m.detail == message.detail && m.severity === message.severity;\n }) != null\n );\n }\n\n onMessageClose(event: ToastItemCloseEvent) {\n this.messages?.splice(event.index, 1);\n\n this.onClose.emit({\n message: event.message\n });\n this.onAnimationEnd();\n this.cd.detectChanges();\n }\n\n onAnimationStart() {\n this.renderer.setAttribute(this.el?.nativeElement, this.id, '');\n if (this.autoZIndex && this.el?.nativeElement.style.zIndex === '') {\n ZIndexUtils.set('modal', this.el?.nativeElement, this.baseZIndex || this.config.zIndex.modal);\n }\n }\n\n onAnimationEnd() {\n if (this.autoZIndex && isEmpty(this.messages)) {\n ZIndexUtils.clear(this.el?.nativeElement);\n }\n }\n\n createStyle() {\n if (!this.styleElement) {\n this.styleElement = this.renderer.createElement('style');\n this.styleElement.type = 'text/css';\n setAttribute(this.styleElement, 'nonce', this.config?.csp()?.nonce);\n this.renderer.appendChild(this.document.head, this.styleElement);\n let innerHTML = '';\n for (let breakpoint in this.breakpoints) {\n let breakpointStyle = '';\n for (let styleProp in this.breakpoints[breakpoint]) {\n breakpointStyle += styleProp + ':' + this.breakpoints[breakpoint][styleProp] + ' !important;';\n }\n innerHTML += `\n @media screen and (max-width: ${breakpoint}) {\n .p-toast[${this.id}] {\n ${breakpointStyle}\n }\n }\n `;\n }\n\n this.renderer.setProperty(this.styleElement, 'innerHTML', innerHTML);\n setAttribute(this.styleElement, 'nonce', this.config?.csp()?.nonce);\n }\n }\n\n destroyStyle() {\n if (this.styleElement) {\n this.renderer.removeChild(this.document.head, this.styleElement);\n this.styleElement = null;\n }\n }\n\n onDestroy() {\n if (this.messageSubscription) {\n this.messageSubscription.unsubscribe();\n }\n\n if (this.el && this.autoZIndex) {\n ZIndexUtils.clear(this.el.nativeElement);\n }\n\n if (this.clearSubscription) {\n this.clearSubscription.unsubscribe();\n }\n\n this.destroyStyle();\n }\n\n get dataP() {\n return this.cn({\n [this.position]: this.position\n });\n }\n}\n\n@NgModule({\n imports: [Toast, SharedModule],\n exports: [Toast, SharedModule]\n})\nexport class ToastModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAIA;AACA,MAAM,YAAY,GAAG;AACjB,IAAA,IAAI,EAAE,CAAC,EAAE,QAAQ,EAAE,KAAI;AACnB,QAAA,MAAM,EAAE,SAAS,EAAE,GAAG,QAAQ;QAE9B,OAAO;AACH,YAAA,QAAQ,EAAE,OAAO;AACjB,YAAA,GAAG,EAAE,SAAS,KAAK,WAAW,IAAI,SAAS,KAAK,UAAU,IAAI,SAAS,KAAK,YAAY,GAAG,MAAM,GAAG,SAAS,KAAK,QAAQ,GAAG,KAAK,GAAG,IAAI;YACzI,KAAK,EAAE,CAAC,SAAS,KAAK,WAAW,IAAI,SAAS,KAAK,cAAc,KAAK,MAAM;AAC5E,YAAA,MAAM,EAAE,CAAC,SAAS,KAAK,aAAa,IAAI,SAAS,KAAK,cAAc,IAAI,SAAS,KAAK,eAAe,KAAK,MAAM;AAChH,YAAA,IAAI,EAAE,SAAS,KAAK,UAAU,IAAI,SAAS,KAAK,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,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAW,YA5SX,KAAK,EAySG,YAAY,CAAA,EAAA,OAAA,EAAA,CAzSpB,KAAK,EA0SG,YAAY,CAAA,EAAA,CAAA;AAEpB,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAW,EAAA,OAAA,EAAA,CAHV,KAAK,EAAE,YAAY,EACZ,YAAY,CAAA,EAAA,CAAA;;2FAEpB,WAAW,EAAA,UAAA,EAAA,CAAA;kBAJvB,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACN,oBAAA,OAAO,EAAE,CAAC,KAAK,EAAE,YAAY,CAAC;AAC9B,oBAAA,OAAO,EAAE,CAAC,KAAK,EAAE,YAAY;AAChC,iBAAA;;;ACrkBD;;AAEG;;;;"}
1
+ {"version":3,"file":"anguless-angulux-toast.mjs","sources":["../../src/toast/style/toaststyle.ts","../../src/toast/toast.ts","../../src/toast/anguless-angulux-toast.ts"],"sourcesContent":["import { Injectable } from '@angular/core';\nimport { style } from '@anguless/angulux-styles/toast';\nimport { BaseStyle } from '@anguless/angulux/base';\n\n// Position\nconst inlineStyles = {\n root: ({ instance }) => {\n const { _position } = instance;\n\n return {\n position: 'fixed',\n top: _position === 'top-right' || _position === 'top-left' || _position === 'top-center' ? '20px' : _position === 'center' ? '50%' : null,\n // `&&` yields `false`, not `null`, when the position does not match, and\n // Angular 22 rejects `false` as a style value: NG0318, once per style per\n // change detection. A single toast on screen was enough to put dozens of\n // warnings into a consuming app's console on every navigation. The two\n // neighbouring lines already do this correctly with a ternary.\n right: _position === 'top-right' || _position === 'bottom-right' ? '20px' : null,\n bottom: _position === 'bottom-left' || _position === 'bottom-right' || _position === 'bottom-center' ? '20px' : null,\n left: _position === 'top-left' || _position === 'bottom-left' ? '20px' : _position === 'center' || _position === 'top-center' || _position === 'bottom-center' ? '50%' : null\n };\n }\n};\n\nconst classes = {\n root: ({ instance }) => ['p-toast p-component', `p-toast-${instance._position}`],\n\n message: ({ instance }) => ({\n 'p-toast-message': true,\n 'p-toast-message-info': instance.message.severity === 'info' || instance.message.severity === undefined,\n 'p-toast-message-warn': instance.message.severity === 'warn',\n 'p-toast-message-error': instance.message.severity === 'error',\n 'p-toast-message-success': instance.message.severity === 'success',\n 'p-toast-message-secondary': instance.message.severity === 'secondary',\n 'p-toast-message-contrast': instance.message.severity === 'contrast'\n }),\n messageContent: 'p-toast-message-content',\n messageIcon: ({ instance }) => ({\n 'p-toast-message-icon': true,\n [`pi ${instance.message.icon}`]: !!instance.message.icon\n }),\n messageText: 'p-toast-message-text',\n summary: 'p-toast-summary',\n detail: 'p-toast-detail',\n closeButton: 'p-toast-close-button',\n closeIcon: ({ instance }) => ({\n 'p-toast-close-icon': true,\n [`pi ${instance.message.closeIcon}`]: !!instance.message.closeIcon\n })\n};\n\n@Injectable()\nexport class ToastStyle extends BaseStyle {\n name = 'toast';\n\n style = style;\n\n classes = classes;\n\n inlineStyles = inlineStyles;\n}\n\n/**\n *\n * Toast is used to display messages in an overlay.\n *\n * @module toaststyle\n *\n */\nexport enum ToastClasses {\n /**\n * Class name of the root element\n */\n root = 'p-toast',\n /**\n * Class name of the message element\n */\n message = 'p-toast-message',\n /**\n * Class name of the message content element\n */\n messageContent = 'p-toast-message-content',\n /**\n * Class name of the message icon element\n */\n messageIcon = 'p-toast-message-icon',\n /**\n * Class name of the message text element\n */\n messageText = 'p-toast-message-text',\n /**\n * Class name of the summary element\n */\n summary = 'p-toast-summary',\n /**\n * Class name of the detail element\n */\n detail = 'p-toast-detail',\n /**\n * Class name of the close button element\n */\n closeButton = 'p-toast-close-button',\n /**\n * Class name of the close icon element\n */\n closeIcon = 'p-toast-close-icon'\n}\n\nexport interface ToastStyle extends BaseStyle {}\n","import { CommonModule } from '@angular/common';\nimport {\n booleanAttribute,\n ChangeDetectionStrategy,\n Component,\n computed,\n contentChild, effect,\n EventEmitter,\n inject,\n InjectionToken,\n input,\n Input,\n NgModule,\n NgZone,\n numberAttribute,\n output,\n Output,\n signal,\n TemplateRef,\n ViewEncapsulation\n} from '@angular/core';\nimport { MotionEvent, MotionOptions } from '@anguless/angulux-motion';\nimport { isEmpty, setAttribute, uuid } from '@anguless/angulux-utils';\nimport { MessageService, SharedModule, ToastMessageOptions } from '@anguless/angulux/api';\nimport { BaseComponent, PARENT_INSTANCE } from '@anguless/angulux/basecomponent';\nimport { Bind } from '@anguless/angulux/bind';\nimport { CheckIcon, ExclamationTriangleIcon, InfoCircleIcon, TimesCircleIcon, TimesIcon } from '@anguless/angulux/icons';\nimport { MotionModule } from '@anguless/angulux/motion';\nimport { ToastCloseEvent, ToastHeadlessTemplateContext, ToastItemCloseEvent, ToastMessageTemplateContext, ToastPassThrough, ToastPositionType } from '@anguless/angulux/types/toast';\nimport { ZIndexUtils } from '@anguless/angulux/utils';\nimport { Subscription } from 'rxjs';\nimport { ToastStyle } from './style/toaststyle';\n\nconst TOAST_INSTANCE = new InjectionToken<Toast>('TOAST_INSTANCE');\n\n@Component({\n selector: 'agl-toastItem',\n standalone: true,\n imports: [CommonModule, CheckIcon, ExclamationTriangleIcon, InfoCircleIcon, TimesIcon, TimesCircleIcon, SharedModule, Bind, MotionModule],\n template: `\n <div\n #container\n [aglMotion]=\"visible()\"\n [aglMotionAppear]=\"true\"\n [aglMotionName]=\"'p-toast-message'\"\n [aglMotionOptions]=\"motionOptions()\"\n (aglMotionOnBeforeEnter)=\"onBeforeEnter($event)\"\n (aglMotionOnAfterLeave)=\"onAfterLeave($event)\"\n [attr.id]=\"message?.id\"\n [aglBind]=\"ptm('message')\"\n [class]=\"cn(cx('message'), message?.styleClass)\"\n (mouseenter)=\"onMouseEnter()\"\n (mouseleave)=\"onMouseLeave()\"\n role=\"alert\"\n aria-live=\"assertive\"\n aria-atomic=\"true\"\n [attr.data-p]=\"dataP\"\n >\n @if (headlessTemplate) {\n <ng-container *ngTemplateOutlet=\"headlessTemplate; context: { $implicit: message, closeFn: onCloseIconClick }\"></ng-container>\n } @else {\n <div [aglBind]=\"ptm('messageContent')\" [class]=\"cn(cx('messageContent'), message?.contentStyleClass)\">\n <ng-container *ngIf=\"!template\">\n @if (message.icon) {\n <span [aglBind]=\"ptm('messageIcon')\" [class]=\"cn(cx('messageIcon'), message?.icon)\"></span>\n } @else {\n @switch (message.severity) {\n @case ('success') {\n <svg [aglBind]=\"ptm('messageIcon')\" data-p-icon=\"check\" [class]=\"cx('messageIcon')\" [attr.aria-hidden]=\"true\" />\n }\n @case ('info') {\n <svg [aglBind]=\"ptm('messageIcon')\" data-p-icon=\"info-circle\" [class]=\"cx('messageIcon')\" [attr.aria-hidden]=\"true\" />\n }\n @case ('error') {\n <svg [aglBind]=\"ptm('messageIcon')\" data-p-icon=\"times-circle\" [class]=\"cx('messageIcon')\" [attr.aria-hidden]=\"true\" />\n }\n @case ('warn') {\n <svg [aglBind]=\"ptm('messageIcon')\" data-p-icon=\"exclamation-triangle\" [class]=\"cx('messageIcon')\" [attr.aria-hidden]=\"true\" />\n }\n @default {\n <svg [aglBind]=\"ptm('messageIcon')\" data-p-icon=\"info-circle\" [class]=\"cx('messageIcon')\" [attr.aria-hidden]=\"true\" />\n }\n }\n }\n <div [aglBind]=\"ptm('messageText')\" [ngClass]=\"cx('messageText')\" [attr.data-p]=\"dataP\">\n <div [aglBind]=\"ptm('summary')\" [ngClass]=\"cx('summary')\" [attr.data-p]=\"dataP\">\n {{ message.summary }}\n </div>\n <div [aglBind]=\"ptm('detail')\" [ngClass]=\"cx('detail')\" [attr.data-p]=\"dataP\">{{ message.detail }}</div>\n </div>\n </ng-container>\n <ng-container *ngTemplateOutlet=\"template; context: { $implicit: message }\"></ng-container>\n @if (message?.closable !== false) {\n <div>\n <button\n [aglBind]=\"ptm('closeButton')\"\n type=\"button\"\n [attr.class]=\"cx('closeButton')\"\n (click)=\"onCloseIconClick($event)\"\n (keydown.enter)=\"onCloseIconClick($event)\"\n [attr.aria-label]=\"closeAriaLabel\"\n autofocus\n [attr.data-p]=\"dataP\"\n >\n @if (message.closeIcon) {\n <span [aglBind]=\"ptm('closeIcon')\" *ngIf=\"message.closeIcon\" [class]=\"cn(cx('closeIcon'), message?.closeIcon)\"></span>\n } @else {\n <svg [aglBind]=\"ptm('closeIcon')\" data-p-icon=\"times\" [class]=\"cx('closeIcon')\" [attr.aria-hidden]=\"true\" />\n }\n </button>\n </div>\n }\n </div>\n }\n </div>\n `,\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [ToastStyle]\n})\nexport class ToastItem extends BaseComponent<ToastPassThrough> {\n @Input() message: ToastMessageOptions | null | undefined;\n\n @Input({ transform: numberAttribute }) index: number | null | undefined;\n\n @Input({ transform: numberAttribute }) life: number;\n\n @Input() template: TemplateRef<ToastMessageTemplateContext> | undefined;\n\n @Input() headlessTemplate: TemplateRef<ToastHeadlessTemplateContext> | undefined;\n\n @Input() showTransformOptions: string | undefined;\n\n @Input() hideTransformOptions: string | undefined;\n\n @Input() showTransitionOptions: string | undefined;\n\n @Input() hideTransitionOptions: string | undefined;\n\n motionOptions = input<MotionOptions>();\n\n clearAll = input<any>(null);\n\n onAnimationStart = output<HTMLElement>();\n\n onAnimationEnd = output<HTMLElement>();\n\n onBeforeEnter(event: MotionEvent) {\n this.onAnimationStart.emit(event.element as HTMLElement);\n }\n\n onAfterLeave(event: MotionEvent) {\n if (!this.visible() && !this.isDestroyed) {\n this.onClose.emit({\n index: <number>this.index,\n message: <ToastMessageOptions>this.message\n });\n\n if (!this.isDestroyed) {\n this.onAnimationEnd.emit(event.element as HTMLElement);\n }\n }\n }\n\n @Output() onClose: EventEmitter<ToastItemCloseEvent> = new EventEmitter();\n\n _componentStyle = inject(ToastStyle);\n\n timeout: any;\n\n visible = signal<boolean | undefined>(undefined);\n\n private isDestroyed = false;\n\n private isClosing = false;\n\n constructor(private zone: NgZone) {\n super();\n\n effect(() => {\n if (this.clearAll()) {\n this.visible.set(false);\n }\n });\n }\n\n onAfterViewInit() {\n this.message?.sticky && this.visible.set(true);\n this.initTimeout();\n }\n\n initTimeout() {\n if (!this.message?.sticky) {\n this.clearTimeout();\n this.zone.runOutsideAngular(() => {\n this.visible.set(true);\n this.timeout = setTimeout(\n () => {\n this.visible.set(false);\n },\n this.message?.life || this.life || 3000\n );\n });\n }\n }\n\n clearTimeout() {\n if (this.timeout) {\n clearTimeout(this.timeout);\n this.timeout = null;\n }\n }\n\n onMouseEnter() {\n this.clearTimeout();\n }\n\n onMouseLeave() {\n if (!this.isClosing) {\n this.initTimeout();\n }\n }\n\n onCloseIconClick = (event: Event) => {\n this.isClosing = true;\n this.clearTimeout();\n this.visible.set(false);\n event.preventDefault();\n };\n\n get closeAriaLabel() {\n return this.config.translation.aria ? this.config.translation.aria.close : undefined;\n }\n\n onDestroy() {\n this.isDestroyed = true;\n this.clearTimeout();\n this.visible.set(false);\n }\n\n get dataP() {\n return this.cn({\n [this.message?.severity as string]: this.message?.severity\n });\n }\n}\n\n/**\n * Toast is used to display messages in an overlay.\n * @group Components\n */\n@Component({\n selector: 'agl-toast',\n standalone: true,\n imports: [CommonModule, ToastItem, SharedModule],\n template: `\n <agl-toastItem\n *ngFor=\"let msg of messages; let i = index\"\n [message]=\"msg\"\n [index]=\"i\"\n [life]=\"life\"\n [clearAll]=\"clearAllTrigger()\"\n (onClose)=\"onMessageClose($event)\"\n (onAnimationEnd)=\"onAnimationEnd()\"\n (onAnimationStart)=\"onAnimationStart()\"\n [template]=\"template()\"\n [headlessTemplate]=\"headlessTemplate()\"\n [pt]=\"pt\"\n [unstyled]=\"unstyled()\"\n [motionOptions]=\"computedMotionOptions()\"\n ></agl-toastItem>\n `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n providers: [ToastStyle, { provide: TOAST_INSTANCE, useExisting: Toast }, { provide: PARENT_INSTANCE, useExisting: Toast }],\n host: {\n '[class]': \"cn(cx('root'), styleClass)\",\n '[style]': \"sx('root')\",\n '[attr.data-p]': 'dataP'\n },\n hostDirectives: [Bind]\n})\nexport class Toast extends BaseComponent<ToastPassThrough> {\n componentName = 'Toast';\n\n $pcToast: Toast | undefined = inject(TOAST_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 * Key of the message in case message is targeted to a specific toast component.\n * @group Props\n */\n @Input() key: string | undefined;\n /**\n * Whether to automatically manage layering.\n * @group Props\n */\n @Input({ transform: booleanAttribute }) autoZIndex: boolean = true;\n /**\n * Base zIndex value to use in layering.\n * @group Props\n */\n @Input({ transform: numberAttribute }) baseZIndex: number = 0;\n /**\n * The default time to display messages for in milliseconds.\n * @group Props\n */\n @Input({ transform: numberAttribute }) life: number = 3000;\n /**\n * Inline class of the component.\n * @deprecated since v20.0.0, use `class` instead.\n * @group Props\n */\n @Input() styleClass: string | undefined;\n /**\n * Position of the toast in viewport.\n * @group Props\n */\n @Input() get position(): ToastPositionType {\n return this._position;\n }\n\n set position(value: ToastPositionType) {\n this._position = value;\n this.cd.markForCheck();\n }\n\n /**\n * It does not add the new message if there is already a toast displayed with the same content\n * @group Props\n */\n @Input({ transform: booleanAttribute }) preventOpenDuplicates: boolean = false;\n /**\n * Displays only once a message with the same content.\n * @group Props\n */\n @Input({ transform: booleanAttribute }) preventDuplicates: boolean = false;\n /**\n * Transform options of the show animation.\n * @group Props\n * @deprecated since v21.0.0. Use `motionOptions` instead.\n */\n @Input() showTransformOptions: string = 'translateY(100%)';\n /**\n * Transform options of the hide animation.\n * @group Props\n * @deprecated since v21.0.0. Use `motionOptions` instead.\n */\n @Input() hideTransformOptions: string = 'translateY(-100%)';\n /**\n * Transition options of the show animation.\n * @group Props\n * @deprecated since v21.0.0. Use `motionOptions` instead.\n */\n @Input() showTransitionOptions: string = '300ms ease-out';\n /**\n * Transition options of the hide animation.\n * @group Props\n * @deprecated since v21.0.0. Use `motionOptions` instead.\n */\n @Input() hideTransitionOptions: string = '250ms ease-in';\n /**\n * The motion options.\n * @group Props\n */\n motionOptions = input<MotionOptions | undefined>(undefined);\n\n computedMotionOptions = computed<MotionOptions>(() => {\n return {\n ...this.ptm('motion'),\n ...this.motionOptions()\n };\n });\n /**\n * Object literal to define styles per screen size.\n * @group Props\n */\n @Input() breakpoints: { [key: string]: any } | undefined;\n /**\n * Callback to invoke when a message is closed.\n * @param {ToastCloseEvent} event - custom close event.\n * @group Emits\n */\n @Output() onClose: EventEmitter<ToastCloseEvent> = new EventEmitter<ToastCloseEvent>();\n /**\n * Custom message template.\n * @param {ToastMessageTemplateContext} context - message context.\n * @see {@link ToastMessageTemplateContext}\n * @group Templates\n */\n template = contentChild<TemplateRef<ToastMessageTemplateContext>>('message');\n /**\n * Custom headless template.\n * @param {ToastHeadlessTemplateContext} context - headless context.\n * @see {@link ToastHeadlessTemplateContext}\n * @group Templates\n */\n headlessTemplate = contentChild<TemplateRef<ToastHeadlessTemplateContext>>('headless');\n\n messageSubscription: Subscription | undefined;\n\n clearSubscription: Subscription | undefined;\n\n messages: ToastMessageOptions[] | null | undefined;\n\n messagesArchieve: ToastMessageOptions[] | undefined;\n\n _position: ToastPositionType = 'top-right';\n\n messageService: MessageService = inject(MessageService);\n\n _componentStyle = inject(ToastStyle);\n\n styleElement: any;\n\n id: string = uuid('pn_id_');\n\n clearAllTrigger = signal<{} | null>(null);\n\n constructor() {\n super();\n }\n\n onInit() {\n this.messageSubscription = this.messageService.messageObserver.subscribe((messages) => {\n if (messages) {\n if (Array.isArray(messages)) {\n const filteredMessages = messages.filter((m) => this.canAdd(m));\n this.add(filteredMessages);\n } else if (this.canAdd(messages)) {\n this.add([messages]);\n }\n }\n });\n\n this.clearSubscription = this.messageService.clearObserver.subscribe((key) => {\n if (key) {\n if (this.key === key) {\n this.clearAll();\n }\n } else {\n this.clearAll();\n }\n\n this.cd.markForCheck();\n });\n }\n\n clearAll() {\n // trigger signal to clear all messages\n this.clearAllTrigger.set({});\n }\n\n onAfterViewInit() {\n if (this.breakpoints) {\n this.createStyle();\n }\n }\n\n add(messages: ToastMessageOptions[]): void {\n this.messages = this.messages ? [...this.messages, ...messages] : [...messages];\n\n if (this.preventDuplicates) {\n this.messagesArchieve = this.messagesArchieve ? [...this.messagesArchieve, ...messages] : [...messages];\n }\n\n this.cd.markForCheck();\n }\n\n canAdd(message: ToastMessageOptions): boolean {\n let allow = this.key === message.key;\n\n if (allow && this.preventOpenDuplicates) {\n allow = !this.containsMessage(this.messages!, message);\n }\n\n if (allow && this.preventDuplicates) {\n allow = !this.containsMessage(this.messagesArchieve!, message);\n }\n\n return allow;\n }\n\n containsMessage(collection: ToastMessageOptions[], message: ToastMessageOptions): boolean {\n if (!collection) {\n return false;\n }\n\n return (\n collection.find((m) => {\n return m.summary === message.summary && m.detail == message.detail && m.severity === message.severity;\n }) != null\n );\n }\n\n onMessageClose(event: ToastItemCloseEvent) {\n this.messages?.splice(event.index, 1);\n\n this.onClose.emit({\n message: event.message\n });\n this.onAnimationEnd();\n this.cd.detectChanges();\n }\n\n onAnimationStart() {\n this.renderer.setAttribute(this.el?.nativeElement, this.id, '');\n if (this.autoZIndex && this.el?.nativeElement.style.zIndex === '') {\n ZIndexUtils.set('modal', this.el?.nativeElement, this.baseZIndex || this.config.zIndex.modal);\n }\n }\n\n onAnimationEnd() {\n if (this.autoZIndex && isEmpty(this.messages)) {\n ZIndexUtils.clear(this.el?.nativeElement);\n }\n }\n\n createStyle() {\n if (!this.styleElement) {\n this.styleElement = this.renderer.createElement('style');\n this.styleElement.type = 'text/css';\n setAttribute(this.styleElement, 'nonce', this.config?.csp()?.nonce);\n this.renderer.appendChild(this.document.head, this.styleElement);\n let innerHTML = '';\n for (let breakpoint in this.breakpoints) {\n let breakpointStyle = '';\n for (let styleProp in this.breakpoints[breakpoint]) {\n breakpointStyle += styleProp + ':' + this.breakpoints[breakpoint][styleProp] + ' !important;';\n }\n innerHTML += `\n @media screen and (max-width: ${breakpoint}) {\n .p-toast[${this.id}] {\n ${breakpointStyle}\n }\n }\n `;\n }\n\n this.renderer.setProperty(this.styleElement, 'innerHTML', innerHTML);\n setAttribute(this.styleElement, 'nonce', this.config?.csp()?.nonce);\n }\n }\n\n destroyStyle() {\n if (this.styleElement) {\n this.renderer.removeChild(this.document.head, this.styleElement);\n this.styleElement = null;\n }\n }\n\n onDestroy() {\n if (this.messageSubscription) {\n this.messageSubscription.unsubscribe();\n }\n\n if (this.el && this.autoZIndex) {\n ZIndexUtils.clear(this.el.nativeElement);\n }\n\n if (this.clearSubscription) {\n this.clearSubscription.unsubscribe();\n }\n\n this.destroyStyle();\n }\n\n get dataP() {\n return this.cn({\n [this.position]: this.position\n });\n }\n}\n\n@NgModule({\n imports: [Toast, SharedModule],\n exports: [Toast, SharedModule]\n})\nexport class ToastModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAIA;AACA,MAAM,YAAY,GAAG;AACjB,IAAA,IAAI,EAAE,CAAC,EAAE,QAAQ,EAAE,KAAI;AACnB,QAAA,MAAM,EAAE,SAAS,EAAE,GAAG,QAAQ;QAE9B,OAAO;AACH,YAAA,QAAQ,EAAE,OAAO;AACjB,YAAA,GAAG,EAAE,SAAS,KAAK,WAAW,IAAI,SAAS,KAAK,UAAU,IAAI,SAAS,KAAK,YAAY,GAAG,MAAM,GAAG,SAAS,KAAK,QAAQ,GAAG,KAAK,GAAG,IAAI;;;;;;AAMzI,YAAA,KAAK,EAAE,SAAS,KAAK,WAAW,IAAI,SAAS,KAAK,cAAc,GAAG,MAAM,GAAG,IAAI;AAChF,YAAA,MAAM,EAAE,SAAS,KAAK,aAAa,IAAI,SAAS,KAAK,cAAc,IAAI,SAAS,KAAK,eA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AA,CAAA,QAAA,EAAA,CAAA;AAAX,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAW,YA5SX,KAAK,EAySG,YAAY,CAAA,EAAA,OAAA,EAAA,CAzSpB,KAAK,EA0SG,YAAY,CAAA,EAAA,CAAA;AAEpB,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAW,EAAA,OAAA,EAAA,CAHV,KAAK,EAAE,YAAY,EACZ,YAAY,CAAA,EAAA,CAAA;;2FAEpB,WAAW,EAAA,UAAA,EAAA,CAAA;kBAJvB,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACN,oBAAA,OAAO,EAAE,CAAC,KAAK,EAAE,YAAY,CAAC;AAC9B,oBAAA,OAAO,EAAE,CAAC,KAAK,EAAE,YAAY;AAChC,iBAAA;;;ACrkBD;;AAEG;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anguless/angulux",
3
- "version": "22.2.1",
3
+ "version": "22.2.3",
4
4
  "description": "Angular 22 UI component library — a curated community fork of the last MIT release of PrimeNG.",
5
5
  "license": "MIT",
6
6
  "private": false,
@@ -28,10 +28,10 @@
28
28
  "@primeuix/themes": "^2.0.0"
29
29
  },
30
30
  "dependencies": {
31
- "@anguless/angulux-styled": "^1.2.0",
32
- "@anguless/angulux-utils": "^1.2.0",
33
- "@anguless/angulux-styles": "^1.2.0",
34
- "@anguless/angulux-motion": "^1.2.0",
31
+ "@anguless/angulux-styled": "^1.2.1",
32
+ "@anguless/angulux-utils": "^1.2.1",
33
+ "@anguless/angulux-styles": "^1.2.1",
34
+ "@anguless/angulux-motion": "^1.2.1",
35
35
  "tslib": "^2.3.0"
36
36
  },
37
37
  "repository": {
@@ -114,6 +114,37 @@ declare class BadgeDirective extends BaseComponent {
114
114
  private id;
115
115
  badgeEl: HTMLElement;
116
116
  _componentStyle: BadgeStyle;
117
+ /**
118
+ * The element the badge is pinned to — the one whose top-inline-end corner it must sit on.
119
+ *
120
+ * A plain host (`<i>`, `<div>`, `<button>`) is that element. A custom element is not
121
+ * necessarily, and the two shapes in this library disagree:
122
+ *
123
+ * <agl-button> leaves its own host bare and puts .p-button on an inner <button>, so the
124
+ * badge belongs on the child. Anchoring to the wrapper would be wrong twice over: the
125
+ * containing block an inline box offers an absolutely positioned descendant comes from its
126
+ * line boxes, not from the inline-block button inside it, so `top: 0` would land on the
127
+ * text strut rather than on the button's edge.
128
+ *
129
+ * <agl-togglebutton> wears .p-togglebutton on the host itself and renders
130
+ * <span class="p-togglebutton-content"> inside it. Anchoring to firstChild there put the
131
+ * badge 5px into the control on both axes — the same directive, the same markup, a
132
+ * different corner. And 5 is not a constant to subtract: it is the host's border width plus
133
+ * dt('togglebutton.padding'), so it moves with whatever theme is loaded.
134
+ *
135
+ * So the one thing this getter decides is: a custom element is the anchor when it already
136
+ * wears its OWN component's root class. That is derivable from the element alone, with no
137
+ * table to keep in sync — once both sides are compared with the dashes removed, because the
138
+ * library gives most components three spellings of the selector
139
+ * (`agl-toggleButton, agl-togglebutton, agl-toggle-button`) and the root class picks one of
140
+ * them arbitrarily: .p-avatar-group keeps its dash, .p-togglebutton does not.
141
+ *
142
+ * Deliberately one-directional. This directive goes on arbitrary elements, and most hosts it
143
+ * will ever see are not ours, so anything it cannot positively identify keeps the old anchor:
144
+ * a third-party <my-widget>, or one of ours whose class does not derive from its tag
145
+ * (agl-table wears .p-datatable), behaves exactly as it did. Tailwind cannot trip it either —
146
+ * `p-4` and `p-px` both fail the comparison against the tag.
147
+ */
117
148
  private get activeElement();
118
149
  private get canUpdateBadge();
119
150
  constructor();
@@ -45,6 +45,12 @@ declare class BaseComponent<PT = any> implements Lifecycle {
45
45
  unstyled: _angular_core.InputSignal<boolean | undefined>;
46
46
  /**
47
47
  * Used to pass attributes to DOM elements inside the component.
48
+ *
49
+ * TRUSTED INPUT ONLY. Whatever you put here is applied to the DOM as given: keys become
50
+ * attributes, and a key that names a DOM property is assigned to that property directly,
51
+ * with no sanitizer in between. That is what makes the API useful, and it means a value
52
+ * reaching it from a user, a database or a CMS can execute script. Treat it like markup
53
+ * you wrote yourself, not like data you received.
48
54
  * @defaultValue undefined
49
55
  * @group Props
50
56
  */
@@ -10,6 +10,12 @@ declare class Bind {
10
10
  private renderer;
11
11
  /**
12
12
  * Dynamic attributes, properties, and event listeners to be applied to the host element.
13
+ *
14
+ * TRUSTED INPUT ONLY. Every key is applied to the DOM as given — set as an attribute, and
15
+ * additionally assigned to the element property of the same name when one exists. No
16
+ * sanitizer runs on either path, so a key such as `innerHTML` writes markup and an `on*`
17
+ * key can install a handler. This is the mechanism the passthrough API is built on; it is
18
+ * safe only for values you control, and never for values that reached you from a user.
13
19
  * @group Props
14
20
  */
15
21
  aglBind: i0.InputSignal<{
@@ -56,7 +56,7 @@ declare class ChipStyle extends BaseStyle {
56
56
  root: ({ instance }: {
57
57
  instance: any;
58
58
  }) => {
59
- display: string | false;
59
+ display: string | null;
60
60
  };
61
61
  };
62
62
  static ɵfac: i0.ɵɵFactoryDeclaration<ChipStyle, never>;
@@ -644,6 +644,23 @@ declare class Table<RowData = any> extends BaseComponent<TablePassThrough> imple
644
644
  * @group Props
645
645
  */
646
646
  exportFilename: string;
647
+ /**
648
+ * Whether to neutralise spreadsheet formulas in the exported CSV.
649
+ *
650
+ * A cell whose first character is `=`, `+`, `-`, `@`, a tab or a carriage return is a
651
+ * FORMULA to Excel, LibreOffice and Google Sheets — quoting does not stop it, because the
652
+ * quotes are removed by CSV parsing before the formula is detected. Exporting a table of
653
+ * user-submitted values therefore hands whoever wrote those values a way to run a formula
654
+ * in the reader's spreadsheet, which can read the surrounding cells and send them out
655
+ * (CWE-1236). Nothing appears wrong at export time; the damage happens in another
656
+ * application entirely.
657
+ *
658
+ * When true, such a cell is prefixed with an apostrophe, which every major spreadsheet
659
+ * reads as "this is text" and does not display. Set it to false only if you are exporting
660
+ * formulas on purpose AND you control every value in the table.
661
+ * @group Props
662
+ */
663
+ exportEscapeFormulas: boolean;
647
664
  /**
648
665
  * An array of FilterMetadata objects to provide external filters.
649
666
  * @group Props
@@ -1170,6 +1187,19 @@ declare class Table<RowData = any> extends BaseComponent<TablePassThrough> imple
1170
1187
  clearFilterValues(): void;
1171
1188
  reset(): void;
1172
1189
  getExportHeader(column: any): any;
1190
+ /**
1191
+ * One CSV field, escaped once.
1192
+ *
1193
+ * Both the header row and every body cell go through here, because they used to be
1194
+ * escaped differently and that is how the two drifted: the header was wrapped in quotes
1195
+ * with NO escaping at all, and a cell produced by `exportFunction` was returned raw —
1196
+ * quote-doubling only ever ran in the `else` branch. A `"` in either one broke the field
1197
+ * structure, quite apart from the formula question.
1198
+ *
1199
+ * Order matters. The formula prefix is added BEFORE quote-doubling, so a value that is
1200
+ * both a formula and contains a quote is still a single well-formed field.
1201
+ */
1202
+ private escapeCsvField;
1173
1203
  /**
1174
1204
  * Data export method.
1175
1205
  * @param {ExportCSVOptions} object - Export options.
@@ -1246,7 +1276,7 @@ declare class Table<RowData = any> extends BaseComponent<TablePassThrough> imple
1246
1276
  onDestroy(): void;
1247
1277
  get dataP(): string | undefined;
1248
1278
  static ɵfac: i0.ɵɵFactoryDeclaration<Table<any>, never>;
1249
- static ɵcmp: i0.ɵɵComponentDeclaration<Table<any>, "agl-table", never, { "frozenColumns": { "alias": "frozenColumns"; "required": false; }; "frozenValue": { "alias": "frozenValue"; "required": false; }; "styleClass": { "alias": "styleClass"; "required": false; }; "tableStyle": { "alias": "tableStyle"; "required": false; }; "tableStyleClass": { "alias": "tableStyleClass"; "required": false; }; "paginator": { "alias": "paginator"; "required": false; }; "pageLinks": { "alias": "pageLinks"; "required": false; }; "rowsPerPageOptions": { "alias": "rowsPerPageOptions"; "required": false; }; "alwaysShowPaginator": { "alias": "alwaysShowPaginator"; "required": false; }; "paginatorPosition": { "alias": "paginatorPosition"; "required": false; }; "paginatorStyleClass": { "alias": "paginatorStyleClass"; "required": false; }; "paginatorDropdownAppendTo": { "alias": "paginatorDropdownAppendTo"; "required": false; }; "paginatorDropdownScrollHeight": { "alias": "paginatorDropdownScrollHeight"; "required": false; }; "currentPageReportTemplate": { "alias": "currentPageReportTemplate"; "required": false; }; "showCurrentPageReport": { "alias": "showCurrentPageReport"; "required": false; }; "showJumpToPageDropdown": { "alias": "showJumpToPageDropdown"; "required": false; }; "showJumpToPageInput": { "alias": "showJumpToPageInput"; "required": false; }; "showFirstLastIcon": { "alias": "showFirstLastIcon"; "required": false; }; "showPageLinks": { "alias": "showPageLinks"; "required": false; }; "defaultSortOrder": { "alias": "defaultSortOrder"; "required": false; }; "sortMode": { "alias": "sortMode"; "required": false; }; "resetPageOnSort": { "alias": "resetPageOnSort"; "required": false; }; "selectionMode": { "alias": "selectionMode"; "required": false; }; "selectionPageOnly": { "alias": "selectionPageOnly"; "required": false; }; "contextMenuSelection": { "alias": "contextMenuSelection"; "required": false; }; "contextMenuSelectionMode": { "alias": "contextMenuSelectionMode"; "required": false; }; "dataKey": { "alias": "dataKey"; "required": false; }; "metaKeySelection": { "alias": "metaKeySelection"; "required": false; }; "rowSelectable": { "alias": "rowSelectable"; "required": false; }; "rowTrackBy": { "alias": "rowTrackBy"; "required": false; }; "lazy": { "alias": "lazy"; "required": false; }; "lazyLoadOnInit": { "alias": "lazyLoadOnInit"; "required": false; }; "compareSelectionBy": { "alias": "compareSelectionBy"; "required": false; }; "csvSeparator": { "alias": "csvSeparator"; "required": false; }; "exportFilename": { "alias": "exportFilename"; "required": false; }; "filters": { "alias": "filters"; "required": false; }; "globalFilterFields": { "alias": "globalFilterFields"; "required": false; }; "filterDelay": { "alias": "filterDelay"; "required": false; }; "filterLocale": { "alias": "filterLocale"; "required": false; }; "expandedRowKeys": { "alias": "expandedRowKeys"; "required": false; }; "editingRowKeys": { "alias": "editingRowKeys"; "required": false; }; "rowExpandMode": { "alias": "rowExpandMode"; "required": false; }; "scrollable": { "alias": "scrollable"; "required": false; }; "rowGroupMode": { "alias": "rowGroupMode"; "required": false; }; "scrollHeight": { "alias": "scrollHeight"; "required": false; }; "virtualScroll": { "alias": "virtualScroll"; "required": false; }; "virtualScrollItemSize": { "alias": "virtualScrollItemSize"; "required": false; }; "virtualScrollOptions": { "alias": "virtualScrollOptions"; "required": false; }; "virtualScrollDelay": { "alias": "virtualScrollDelay"; "required": false; }; "frozenWidth": { "alias": "frozenWidth"; "required": false; }; "contextMenu": { "alias": "contextMenu"; "required": false; }; "resizableColumns": { "alias": "resizableColumns"; "required": false; }; "columnResizeMode": { "alias": "columnResizeMode"; "required": false; }; "reorderableColumns": { "alias": "reorderableColumns"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "loadingIcon": { "alias": "loadingIcon"; "required": false; }; "showLoader": { "alias": "showLoader"; "required": false; }; "rowHover": { "alias": "rowHover"; "required": false; }; "customSort": { "alias": "customSort"; "required": false; }; "showInitialSortBadge": { "alias": "showInitialSortBadge"; "required": false; }; "exportFunction": { "alias": "exportFunction"; "required": false; }; "exportHeader": { "alias": "exportHeader"; "required": false; }; "stateKey": { "alias": "stateKey"; "required": false; }; "stateStorage": { "alias": "stateStorage"; "required": false; }; "editMode": { "alias": "editMode"; "required": false; }; "groupRowsBy": { "alias": "groupRowsBy"; "required": false; }; "size": { "alias": "size"; "required": false; }; "showGridlines": { "alias": "showGridlines"; "required": false; }; "stripedRows": { "alias": "stripedRows"; "required": false; }; "groupRowsByOrder": { "alias": "groupRowsByOrder"; "required": false; }; "responsiveLayout": { "alias": "responsiveLayout"; "required": false; }; "breakpoint": { "alias": "breakpoint"; "required": false; }; "paginatorLocale": { "alias": "paginatorLocale"; "required": false; }; "value": { "alias": "value"; "required": false; }; "columns": { "alias": "columns"; "required": false; }; "first": { "alias": "first"; "required": false; }; "rows": { "alias": "rows"; "required": false; }; "totalRecords": { "alias": "totalRecords"; "required": false; }; "sortField": { "alias": "sortField"; "required": false; }; "sortOrder": { "alias": "sortOrder"; "required": false; }; "multiSortMeta": { "alias": "multiSortMeta"; "required": false; }; "selection": { "alias": "selection"; "required": false; }; "selectAll": { "alias": "selectAll"; "required": false; }; }, { "contextMenuSelectionChange": "contextMenuSelectionChange"; "selectAllChange": "selectAllChange"; "selectionChange": "selectionChange"; "onRowSelect": "onRowSelect"; "onRowUnselect": "onRowUnselect"; "onPage": "onPage"; "onSort": "onSort"; "onFilter": "onFilter"; "onLazyLoad": "onLazyLoad"; "onRowExpand": "onRowExpand"; "onRowCollapse": "onRowCollapse"; "onContextMenuSelect": "onContextMenuSelect"; "onColResize": "onColResize"; "onColReorder": "onColReorder"; "onRowReorder": "onRowReorder"; "onEditInit": "onEditInit"; "onEditComplete": "onEditComplete"; "onEditCancel": "onEditCancel"; "onHeaderCheckboxToggle": "onHeaderCheckboxToggle"; "sortFunction": "sortFunction"; "firstChange": "firstChange"; "rowsChange": "rowsChange"; "onStateSave": "onStateSave"; "onStateRestore": "onStateRestore"; }, ["_headerTemplate", "_headerGroupedTemplate", "_bodyTemplate", "_loadingBodyTemplate", "_captionTemplate", "_footerTemplate", "_footerGroupedTemplate", "_summaryTemplate", "_colGroupTemplate", "_expandedRowTemplate", "_groupHeaderTemplate", "_groupFooterTemplate", "_frozenExpandedRowTemplate", "_frozenBodyTemplate", "_emptyMessageTemplate", "_paginatorLeftTemplate", "_paginatorRightTemplate", "_paginatorDropdownItemTemplate", "_loadingIconTemplate", "_reorderIndicatorUpIconTemplate", "_reorderIndicatorDownIconTemplate", "_sortIconTemplate", "_checkboxIconTemplate", "_headerCheckboxIconTemplate", "_paginatorDropdownIconTemplate", "_paginatorFirstPageLinkIconTemplate", "_paginatorLastPageLinkIconTemplate", "_paginatorPreviousPageLinkIconTemplate", "_paginatorNextPageLinkIconTemplate"], never, false, [{ directive: typeof i1.Bind; inputs: {}; outputs: {}; }]>;
1279
+ static ɵcmp: i0.ɵɵComponentDeclaration<Table<any>, "agl-table", never, { "frozenColumns": { "alias": "frozenColumns"; "required": false; }; "frozenValue": { "alias": "frozenValue"; "required": false; }; "styleClass": { "alias": "styleClass"; "required": false; }; "tableStyle": { "alias": "tableStyle"; "required": false; }; "tableStyleClass": { "alias": "tableStyleClass"; "required": false; }; "paginator": { "alias": "paginator"; "required": false; }; "pageLinks": { "alias": "pageLinks"; "required": false; }; "rowsPerPageOptions": { "alias": "rowsPerPageOptions"; "required": false; }; "alwaysShowPaginator": { "alias": "alwaysShowPaginator"; "required": false; }; "paginatorPosition": { "alias": "paginatorPosition"; "required": false; }; "paginatorStyleClass": { "alias": "paginatorStyleClass"; "required": false; }; "paginatorDropdownAppendTo": { "alias": "paginatorDropdownAppendTo"; "required": false; }; "paginatorDropdownScrollHeight": { "alias": "paginatorDropdownScrollHeight"; "required": false; }; "currentPageReportTemplate": { "alias": "currentPageReportTemplate"; "required": false; }; "showCurrentPageReport": { "alias": "showCurrentPageReport"; "required": false; }; "showJumpToPageDropdown": { "alias": "showJumpToPageDropdown"; "required": false; }; "showJumpToPageInput": { "alias": "showJumpToPageInput"; "required": false; }; "showFirstLastIcon": { "alias": "showFirstLastIcon"; "required": false; }; "showPageLinks": { "alias": "showPageLinks"; "required": false; }; "defaultSortOrder": { "alias": "defaultSortOrder"; "required": false; }; "sortMode": { "alias": "sortMode"; "required": false; }; "resetPageOnSort": { "alias": "resetPageOnSort"; "required": false; }; "selectionMode": { "alias": "selectionMode"; "required": false; }; "selectionPageOnly": { "alias": "selectionPageOnly"; "required": false; }; "contextMenuSelection": { "alias": "contextMenuSelection"; "required": false; }; "contextMenuSelectionMode": { "alias": "contextMenuSelectionMode"; "required": false; }; "dataKey": { "alias": "dataKey"; "required": false; }; "metaKeySelection": { "alias": "metaKeySelection"; "required": false; }; "rowSelectable": { "alias": "rowSelectable"; "required": false; }; "rowTrackBy": { "alias": "rowTrackBy"; "required": false; }; "lazy": { "alias": "lazy"; "required": false; }; "lazyLoadOnInit": { "alias": "lazyLoadOnInit"; "required": false; }; "compareSelectionBy": { "alias": "compareSelectionBy"; "required": false; }; "csvSeparator": { "alias": "csvSeparator"; "required": false; }; "exportFilename": { "alias": "exportFilename"; "required": false; }; "exportEscapeFormulas": { "alias": "exportEscapeFormulas"; "required": false; }; "filters": { "alias": "filters"; "required": false; }; "globalFilterFields": { "alias": "globalFilterFields"; "required": false; }; "filterDelay": { "alias": "filterDelay"; "required": false; }; "filterLocale": { "alias": "filterLocale"; "required": false; }; "expandedRowKeys": { "alias": "expandedRowKeys"; "required": false; }; "editingRowKeys": { "alias": "editingRowKeys"; "required": false; }; "rowExpandMode": { "alias": "rowExpandMode"; "required": false; }; "scrollable": { "alias": "scrollable"; "required": false; }; "rowGroupMode": { "alias": "rowGroupMode"; "required": false; }; "scrollHeight": { "alias": "scrollHeight"; "required": false; }; "virtualScroll": { "alias": "virtualScroll"; "required": false; }; "virtualScrollItemSize": { "alias": "virtualScrollItemSize"; "required": false; }; "virtualScrollOptions": { "alias": "virtualScrollOptions"; "required": false; }; "virtualScrollDelay": { "alias": "virtualScrollDelay"; "required": false; }; "frozenWidth": { "alias": "frozenWidth"; "required": false; }; "contextMenu": { "alias": "contextMenu"; "required": false; }; "resizableColumns": { "alias": "resizableColumns"; "required": false; }; "columnResizeMode": { "alias": "columnResizeMode"; "required": false; }; "reorderableColumns": { "alias": "reorderableColumns"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "loadingIcon": { "alias": "loadingIcon"; "required": false; }; "showLoader": { "alias": "showLoader"; "required": false; }; "rowHover": { "alias": "rowHover"; "required": false; }; "customSort": { "alias": "customSort"; "required": false; }; "showInitialSortBadge": { "alias": "showInitialSortBadge"; "required": false; }; "exportFunction": { "alias": "exportFunction"; "required": false; }; "exportHeader": { "alias": "exportHeader"; "required": false; }; "stateKey": { "alias": "stateKey"; "required": false; }; "stateStorage": { "alias": "stateStorage"; "required": false; }; "editMode": { "alias": "editMode"; "required": false; }; "groupRowsBy": { "alias": "groupRowsBy"; "required": false; }; "size": { "alias": "size"; "required": false; }; "showGridlines": { "alias": "showGridlines"; "required": false; }; "stripedRows": { "alias": "stripedRows"; "required": false; }; "groupRowsByOrder": { "alias": "groupRowsByOrder"; "required": false; }; "responsiveLayout": { "alias": "responsiveLayout"; "required": false; }; "breakpoint": { "alias": "breakpoint"; "required": false; }; "paginatorLocale": { "alias": "paginatorLocale"; "required": false; }; "value": { "alias": "value"; "required": false; }; "columns": { "alias": "columns"; "required": false; }; "first": { "alias": "first"; "required": false; }; "rows": { "alias": "rows"; "required": false; }; "totalRecords": { "alias": "totalRecords"; "required": false; }; "sortField": { "alias": "sortField"; "required": false; }; "sortOrder": { "alias": "sortOrder"; "required": false; }; "multiSortMeta": { "alias": "multiSortMeta"; "required": false; }; "selection": { "alias": "selection"; "required": false; }; "selectAll": { "alias": "selectAll"; "required": false; }; }, { "contextMenuSelectionChange": "contextMenuSelectionChange"; "selectAllChange": "selectAllChange"; "selectionChange": "selectionChange"; "onRowSelect": "onRowSelect"; "onRowUnselect": "onRowUnselect"; "onPage": "onPage"; "onSort": "onSort"; "onFilter": "onFilter"; "onLazyLoad": "onLazyLoad"; "onRowExpand": "onRowExpand"; "onRowCollapse": "onRowCollapse"; "onContextMenuSelect": "onContextMenuSelect"; "onColResize": "onColResize"; "onColReorder": "onColReorder"; "onRowReorder": "onRowReorder"; "onEditInit": "onEditInit"; "onEditComplete": "onEditComplete"; "onEditCancel": "onEditCancel"; "onHeaderCheckboxToggle": "onHeaderCheckboxToggle"; "sortFunction": "sortFunction"; "firstChange": "firstChange"; "rowsChange": "rowsChange"; "onStateSave": "onStateSave"; "onStateRestore": "onStateRestore"; }, ["_headerTemplate", "_headerGroupedTemplate", "_bodyTemplate", "_loadingBodyTemplate", "_captionTemplate", "_footerTemplate", "_footerGroupedTemplate", "_summaryTemplate", "_colGroupTemplate", "_expandedRowTemplate", "_groupHeaderTemplate", "_groupFooterTemplate", "_frozenExpandedRowTemplate", "_frozenBodyTemplate", "_emptyMessageTemplate", "_paginatorLeftTemplate", "_paginatorRightTemplate", "_paginatorDropdownItemTemplate", "_loadingIconTemplate", "_reorderIndicatorUpIconTemplate", "_reorderIndicatorDownIconTemplate", "_sortIconTemplate", "_checkboxIconTemplate", "_headerCheckboxIconTemplate", "_paginatorDropdownIconTemplate", "_paginatorFirstPageLinkIconTemplate", "_paginatorLastPageLinkIconTemplate", "_paginatorPreviousPageLinkIconTemplate", "_paginatorNextPageLinkIconTemplate"], never, false, [{ directive: typeof i1.Bind; inputs: {}; outputs: {}; }]>;
1250
1280
  static ngAcceptInputType_paginator: unknown;
1251
1281
  static ngAcceptInputType_pageLinks: unknown;
1252
1282
  static ngAcceptInputType_alwaysShowPaginator: unknown;
@@ -1261,6 +1291,7 @@ declare class Table<RowData = any> extends BaseComponent<TablePassThrough> imple
1261
1291
  static ngAcceptInputType_metaKeySelection: unknown;
1262
1292
  static ngAcceptInputType_lazy: unknown;
1263
1293
  static ngAcceptInputType_lazyLoadOnInit: unknown;
1294
+ static ngAcceptInputType_exportEscapeFormulas: unknown;
1264
1295
  static ngAcceptInputType_filterDelay: unknown;
1265
1296
  static ngAcceptInputType_scrollable: unknown;
1266
1297
  static ngAcceptInputType_virtualScroll: unknown;
@@ -99,8 +99,8 @@ declare class ToastStyle extends BaseStyle {
99
99
  }) => {
100
100
  position: string;
101
101
  top: string | null;
102
- right: string | false;
103
- bottom: string | false;
102
+ right: string | null;
103
+ bottom: string | null;
104
104
  left: string | null;
105
105
  };
106
106
  };