@aeris-ui/core 22.0.0-alpha.11 → 22.0.0-alpha.12

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.
Files changed (112) hide show
  1. package/README.md +2 -2
  2. package/fesm2022/aeris-ui-core-accordion.mjs +12 -12
  3. package/fesm2022/aeris-ui-core-animate-on-scroll.mjs +3 -3
  4. package/fesm2022/aeris-ui-core-auto-complete.mjs +15 -15
  5. package/fesm2022/aeris-ui-core-auto-focus.mjs +3 -3
  6. package/fesm2022/aeris-ui-core-avatar.mjs +6 -6
  7. package/fesm2022/aeris-ui-core-badge.mjs +6 -6
  8. package/fesm2022/aeris-ui-core-block-ui.mjs +3 -3
  9. package/fesm2022/aeris-ui-core-breadcrumb.mjs +12 -12
  10. package/fesm2022/aeris-ui-core-button-forms.mjs +3 -3
  11. package/fesm2022/aeris-ui-core-button-group.mjs +6 -6
  12. package/fesm2022/aeris-ui-core-button.mjs +9 -9
  13. package/fesm2022/aeris-ui-core-card.mjs +18 -18
  14. package/fesm2022/aeris-ui-core-carousel.mjs +12 -12
  15. package/fesm2022/aeris-ui-core-cascade-select.mjs +9 -9
  16. package/fesm2022/aeris-ui-core-chart.mjs +3 -3
  17. package/fesm2022/aeris-ui-core-checkbox.mjs +3 -3
  18. package/fesm2022/aeris-ui-core-chip.mjs +12 -12
  19. package/fesm2022/aeris-ui-core-class-names.mjs +3 -3
  20. package/fesm2022/aeris-ui-core-code-block.mjs +3 -3
  21. package/fesm2022/aeris-ui-core-color-picker.mjs +3 -3
  22. package/fesm2022/aeris-ui-core-command-palette.mjs +18 -18
  23. package/fesm2022/aeris-ui-core-compare.mjs +12 -12
  24. package/fesm2022/aeris-ui-core-confirm-dialog.mjs +18 -18
  25. package/fesm2022/aeris-ui-core-confirm-dialog.mjs.map +1 -1
  26. package/fesm2022/aeris-ui-core-confirm-popup.mjs +18 -18
  27. package/fesm2022/aeris-ui-core-confirm-popup.mjs.map +1 -1
  28. package/fesm2022/aeris-ui-core-context-menu.mjs +6 -6
  29. package/fesm2022/{aeris-ui-core-date-picker-aeris-date-picker-input-jAhzMzLQ.mjs → aeris-ui-core-date-picker-aeris-date-picker-input-66V2U8rC.mjs} +4 -4
  30. package/fesm2022/{aeris-ui-core-date-picker-aeris-date-picker-input-jAhzMzLQ.mjs.map → aeris-ui-core-date-picker-aeris-date-picker-input-66V2U8rC.mjs.map} +1 -1
  31. package/fesm2022/aeris-ui-core-date-picker.mjs +5 -5
  32. package/fesm2022/aeris-ui-core-date-picker.mjs.map +1 -1
  33. package/fesm2022/aeris-ui-core-dialog.mjs +15 -15
  34. package/fesm2022/aeris-ui-core-divider.mjs +3 -3
  35. package/fesm2022/aeris-ui-core-drawer.mjs +15 -15
  36. package/fesm2022/aeris-ui-core-dynamic-dialog.mjs +6 -6
  37. package/fesm2022/aeris-ui-core-dynamic-dialog.mjs.map +1 -1
  38. package/fesm2022/aeris-ui-core-editor.mjs +3 -3
  39. package/fesm2022/aeris-ui-core-file-upload.mjs +24 -24
  40. package/fesm2022/aeris-ui-core-filter-service.mjs +3 -3
  41. package/fesm2022/aeris-ui-core-filter-service.mjs.map +1 -1
  42. package/fesm2022/aeris-ui-core-fluid.mjs +3 -3
  43. package/fesm2022/aeris-ui-core-focus-trap.mjs +3 -3
  44. package/fesm2022/aeris-ui-core-form-field.mjs +15 -15
  45. package/fesm2022/aeris-ui-core-galleria.mjs +27 -27
  46. package/fesm2022/aeris-ui-core-glass.mjs +3 -3
  47. package/fesm2022/aeris-ui-core-icon-field.mjs +12 -12
  48. package/fesm2022/aeris-ui-core-inplace.mjs +9 -9
  49. package/fesm2022/aeris-ui-core-input-group.mjs +15 -15
  50. package/fesm2022/aeris-ui-core-input-mask.mjs +3 -3
  51. package/fesm2022/aeris-ui-core-input-number.mjs +3 -3
  52. package/fesm2022/aeris-ui-core-input-otp.mjs +6 -6
  53. package/fesm2022/aeris-ui-core-input-text.mjs +6 -6
  54. package/fesm2022/aeris-ui-core-kbd.mjs +9 -9
  55. package/fesm2022/aeris-ui-core-key-filter.mjs +3 -3
  56. package/fesm2022/aeris-ui-core-listbox.mjs +15 -15
  57. package/fesm2022/aeris-ui-core-mega-menu.mjs +6 -6
  58. package/fesm2022/aeris-ui-core-menu.mjs +15 -15
  59. package/fesm2022/aeris-ui-core-menubar.mjs +12 -12
  60. package/fesm2022/aeris-ui-core-message.mjs +9 -9
  61. package/fesm2022/aeris-ui-core-meter-group.mjs +15 -15
  62. package/fesm2022/aeris-ui-core-multi-select.mjs +20 -20
  63. package/fesm2022/aeris-ui-core-multi-select.mjs.map +1 -1
  64. package/fesm2022/aeris-ui-core-navbar.mjs +24 -24
  65. package/fesm2022/aeris-ui-core-order-list.mjs +9 -9
  66. package/fesm2022/aeris-ui-core-organization-chart.mjs +9 -9
  67. package/fesm2022/aeris-ui-core-paginator.mjs +3 -3
  68. package/fesm2022/aeris-ui-core-panel.mjs +15 -15
  69. package/fesm2022/aeris-ui-core-password.mjs +12 -12
  70. package/fesm2022/aeris-ui-core-pick-list.mjs +9 -9
  71. package/fesm2022/aeris-ui-core-popover.mjs +15 -15
  72. package/fesm2022/aeris-ui-core-progress-bar.mjs +9 -9
  73. package/fesm2022/aeris-ui-core-progress-spinner.mjs +6 -6
  74. package/fesm2022/aeris-ui-core-radio-button.mjs +3 -3
  75. package/fesm2022/aeris-ui-core-rating.mjs +3 -3
  76. package/fesm2022/aeris-ui-core-scroll-panel.mjs +3 -3
  77. package/fesm2022/aeris-ui-core-scroll-top.mjs +3 -3
  78. package/fesm2022/aeris-ui-core-select-native.mjs +3 -3
  79. package/fesm2022/aeris-ui-core-select.mjs +36 -36
  80. package/fesm2022/aeris-ui-core-select.mjs.map +1 -1
  81. package/fesm2022/aeris-ui-core-sidebar.mjs +24 -24
  82. package/fesm2022/aeris-ui-core-skeleton.mjs +3 -3
  83. package/fesm2022/aeris-ui-core-slider.mjs +3 -3
  84. package/fesm2022/aeris-ui-core-speed-dial.mjs +3 -3
  85. package/fesm2022/aeris-ui-core-split-button.mjs +6 -6
  86. package/fesm2022/aeris-ui-core-splitter.mjs +6 -6
  87. package/fesm2022/aeris-ui-core-stepper.mjs +12 -12
  88. package/fesm2022/aeris-ui-core-style-class.mjs +3 -3
  89. package/fesm2022/aeris-ui-core-table.mjs +21 -21
  90. package/fesm2022/aeris-ui-core-tabs.mjs +12 -12
  91. package/fesm2022/aeris-ui-core-textarea.mjs +6 -6
  92. package/fesm2022/aeris-ui-core-theme-builder.mjs.map +1 -1
  93. package/fesm2022/aeris-ui-core-theming.mjs +3 -3
  94. package/fesm2022/aeris-ui-core-theming.mjs.map +1 -1
  95. package/fesm2022/aeris-ui-core-tiered-menu.mjs +6 -6
  96. package/fesm2022/aeris-ui-core-timeline.mjs +15 -15
  97. package/fesm2022/aeris-ui-core-toast.mjs +36 -40
  98. package/fesm2022/aeris-ui-core-toast.mjs.map +1 -1
  99. package/fesm2022/aeris-ui-core-toggle-switch.mjs +3 -3
  100. package/fesm2022/aeris-ui-core-toolbar.mjs +30 -30
  101. package/fesm2022/aeris-ui-core-tooltip.mjs +6 -6
  102. package/fesm2022/aeris-ui-core-tree-select.mjs +18 -18
  103. package/fesm2022/aeris-ui-core-tree-table.mjs +18 -18
  104. package/fesm2022/aeris-ui-core-tree.mjs +12 -12
  105. package/fesm2022/aeris-ui-core.mjs +13 -13
  106. package/fesm2022/aeris-ui-core.mjs.map +1 -1
  107. package/package.json +1 -1
  108. package/types/aeris-ui-core-code-block.d.ts +0 -4
  109. package/types/aeris-ui-core-date-picker.d.ts +0 -33
  110. package/types/aeris-ui-core-drawer.d.ts +0 -6
  111. package/types/aeris-ui-core-toast.d.ts +2 -2
  112. package/types/aeris-ui-core.d.ts +1 -3
@@ -1 +1 @@
1
- {"version":3,"file":"aeris-ui-core-confirm-popup.mjs","names":[],"sources":["../../../projects/aeris-ui/confirm-popup/aeris-confirm-popup.ts"],"sourcesContent":["import { DOCUMENT, NgTemplateOutlet } from '@angular/common';\nimport {\n ApplicationRef,\n Component,\n ComponentRef,\n Directive,\n ElementRef,\n EmbeddedViewRef,\n EnvironmentInjector,\n TemplateRef,\n booleanAttribute,\n computed,\n createComponent,\n contentChild,\n effect,\n inject,\n input,\n model,\n output,\n signal,\n viewChild,\n Service,\n} from '@angular/core';\nimport { AerisButtonDirective, type AerisButtonSeverity } from '@aeris-ui/core/button';\nimport {\n ɵAerisAppendTo,\n aerisInternalFocusInitialElement,\n aerisInternalCreateFrameScheduler,\n aerisInternalPositionAnchoredOverlay,\n aerisInternalTrapTabFocus,\n type AerisAppendTo,\n} from '@aeris-ui/core';\n\nexport type AerisConfirmPopupSeverity =\n 'primary' | 'secondary' | 'success' | 'info' | 'warning' | 'danger' | 'neutral';\nexport type AerisConfirmPopupIcon = 'question' | 'info' | 'warning' | 'danger' | 'success' | 'none';\nexport type AerisConfirmPopupPlacement = 'auto' | 'top' | 'right' | 'bottom' | 'left';\nexport type AerisConfirmPopupAlignment = 'start' | 'center' | 'end';\nexport type AerisConfirmPopupDefaultFocus = 'accept' | 'reject' | 'popup' | 'none';\nexport type AerisConfirmPopupResult = 'accept' | 'reject' | 'dismiss';\nexport type AerisConfirmPopupCloseReason = 'api' | 'accept' | 'reject' | 'escape' | 'outside';\nexport type AerisConfirmPopupTarget = Element | EventTarget | Event | null | undefined;\n\nexport interface AerisConfirmPopupConfig<TData = unknown> {\n readonly key?: string;\n readonly target: AerisConfirmPopupTarget;\n readonly appendTo?: AerisAppendTo;\n readonly header?: string;\n readonly message?: string;\n readonly data?: TData;\n readonly icon?: AerisConfirmPopupIcon;\n readonly severity?: AerisConfirmPopupSeverity;\n readonly acceptLabel?: string;\n readonly rejectLabel?: string;\n readonly acceptVisible?: boolean;\n readonly rejectVisible?: boolean;\n readonly acceptDisabled?: boolean;\n readonly rejectDisabled?: boolean;\n readonly acceptAriaLabel?: string;\n readonly rejectAriaLabel?: string;\n readonly defaultFocus?: AerisConfirmPopupDefaultFocus;\n readonly placement?: AerisConfirmPopupPlacement;\n readonly alignment?: AerisConfirmPopupAlignment;\n readonly width?: string;\n readonly maxWidth?: string;\n readonly offset?: number;\n readonly viewportMargin?: number;\n readonly closeOnOutsideClick?: boolean;\n readonly closeOnEscape?: boolean;\n readonly focusTrap?: boolean;\n readonly restoreFocus?: boolean;\n readonly autoFocus?: boolean;\n readonly initialFocus?: string;\n readonly showArrow?: boolean;\n readonly ariaLabel?: string;\n readonly ariaLabelledBy?: string;\n readonly ariaDescribedBy?: string;\n readonly accept?: (event: AerisConfirmPopupActionEvent<TData>) => void;\n readonly reject?: (event: AerisConfirmPopupActionEvent<TData>) => void;\n}\n\nexport interface AerisConfirmPopupResolvedConfig<TData = unknown> {\n readonly key: string;\n readonly target: Element;\n readonly appendTo: AerisAppendTo;\n readonly header: string;\n readonly message: string;\n readonly data: TData | undefined;\n readonly icon: AerisConfirmPopupIcon;\n readonly severity: AerisConfirmPopupSeverity;\n readonly acceptLabel: string;\n readonly rejectLabel: string;\n readonly acceptVisible: boolean;\n readonly rejectVisible: boolean;\n readonly acceptDisabled: boolean;\n readonly rejectDisabled: boolean;\n readonly acceptAriaLabel: string;\n readonly rejectAriaLabel: string;\n readonly defaultFocus: AerisConfirmPopupDefaultFocus;\n readonly placement: AerisConfirmPopupPlacement;\n readonly alignment: AerisConfirmPopupAlignment;\n readonly width: string;\n readonly maxWidth: string;\n readonly offset: number;\n readonly viewportMargin: number;\n readonly closeOnOutsideClick: boolean;\n readonly closeOnEscape: boolean;\n readonly focusTrap: boolean;\n readonly restoreFocus: boolean;\n readonly autoFocus: boolean;\n readonly initialFocus: string;\n readonly showArrow: boolean;\n readonly ariaLabel: string;\n readonly ariaLabelledBy: string;\n readonly ariaDescribedBy: string;\n readonly accept?: (event: AerisConfirmPopupActionEvent<TData>) => void;\n readonly reject?: (event: AerisConfirmPopupActionEvent<TData>) => void;\n}\n\nexport interface AerisConfirmPopupActionEvent<TData = unknown> {\n readonly originalEvent: Event | null;\n readonly data: TData | undefined;\n readonly config: AerisConfirmPopupResolvedConfig<TData>;\n}\n\nexport interface AerisConfirmPopupCloseEvent<\n TData = unknown,\n> extends AerisConfirmPopupActionEvent<TData> {\n readonly result: AerisConfirmPopupResult;\n readonly reason: AerisConfirmPopupCloseReason;\n}\n\nexport interface AerisConfirmPopupSubscription {\n unsubscribe(): void;\n}\n\nexport interface AerisConfirmPopupSubscribable<T> {\n subscribe(next: (event: T) => void): AerisConfirmPopupSubscription;\n}\n\nexport interface AerisConfirmPopupTemplateContext<TData = unknown> {\n readonly $implicit: AerisConfirmPopup;\n readonly config: AerisConfirmPopupResolvedConfig<TData>;\n readonly data: TData | undefined;\n readonly accept: (event?: Event) => void;\n readonly reject: (event?: Event) => void;\n readonly close: (event?: Event) => void;\n}\n\ninterface AerisConfirmPopupRequest<TData = unknown> {\n readonly id: number;\n readonly config: AerisConfirmPopupResolvedConfig<TData>;\n readonly ref: AerisConfirmPopupRef<TData>;\n}\n\ninterface AerisConfirmPopupRefController {\n readonly accept: (originalEvent: Event | null) => void;\n readonly reject: (originalEvent: Event | null) => void;\n readonly close: (originalEvent: Event | null) => void;\n readonly focus: (options?: FocusOptions) => void;\n readonly reposition: () => void;\n}\n\nclass AerisConfirmPopupEventStream<T> implements AerisConfirmPopupSubscribable<T> {\n private readonly listeners = new Set<(event: T) => void>();\n private completed = false;\n\n subscribe(next: (event: T) => void): AerisConfirmPopupSubscription {\n if (this.completed) return { unsubscribe: () => undefined };\n this.listeners.add(next);\n return {\n unsubscribe: () => {\n this.listeners.delete(next);\n },\n };\n }\n\n next(event: T): void {\n if (this.completed) return;\n for (const listener of [...this.listeners]) listener(event);\n }\n\n complete(): void {\n this.completed = true;\n this.listeners.clear();\n }\n}\n\n@Directive({ selector: 'ng-template[aerisConfirmPopupIcon]' })\nexport class AerisConfirmPopupIconTemplate {\n readonly template = inject<TemplateRef<AerisConfirmPopupTemplateContext>>(TemplateRef);\n}\n\n@Directive({ selector: 'ng-template[aerisConfirmPopupMessage]' })\nexport class AerisConfirmPopupMessageTemplate {\n readonly template = inject<TemplateRef<AerisConfirmPopupTemplateContext>>(TemplateRef);\n}\n\n@Directive({ selector: 'ng-template[aerisConfirmPopupFooter]' })\nexport class AerisConfirmPopupFooterTemplate {\n readonly template = inject<TemplateRef<AerisConfirmPopupTemplateContext>>(TemplateRef);\n}\n\n@Directive({ selector: 'ng-template[aerisConfirmPopupHeadless]' })\nexport class AerisConfirmPopupHeadlessTemplate {\n readonly template = inject<TemplateRef<AerisConfirmPopupTemplateContext>>(TemplateRef);\n}\n\nexport class AerisConfirmPopupRef<TData = unknown> {\n private readonly acceptedStream = new AerisConfirmPopupEventStream<\n AerisConfirmPopupActionEvent<TData>\n >();\n private readonly rejectedStream = new AerisConfirmPopupEventStream<\n AerisConfirmPopupActionEvent<TData>\n >();\n private readonly closedStream = new AerisConfirmPopupEventStream<\n AerisConfirmPopupCloseEvent<TData>\n >();\n private readonly openedStream = new AerisConfirmPopupEventStream<\n AerisConfirmPopupActionEvent<TData>\n >();\n private controller: AerisConfirmPopupRefController | null = null;\n private closedOnce = false;\n\n readonly accepted: AerisConfirmPopupSubscribable<AerisConfirmPopupActionEvent<TData>> =\n this.acceptedStream;\n readonly rejected: AerisConfirmPopupSubscribable<AerisConfirmPopupActionEvent<TData>> =\n this.rejectedStream;\n readonly closed: AerisConfirmPopupSubscribable<AerisConfirmPopupCloseEvent<TData>> =\n this.closedStream;\n readonly opened: AerisConfirmPopupSubscribable<AerisConfirmPopupActionEvent<TData>> =\n this.openedStream;\n\n accept(originalEvent: Event | null = null): void {\n if (this.closedOnce) return;\n this.controller?.accept(originalEvent);\n }\n\n reject(originalEvent: Event | null = null): void {\n if (this.closedOnce) return;\n this.controller?.reject(originalEvent);\n }\n\n close(originalEvent: Event | null = null): void {\n if (this.closedOnce) return;\n this.controller?.close(originalEvent);\n }\n\n focus(options?: FocusOptions): void {\n this.controller?.focus(options);\n }\n\n reposition(): void {\n this.controller?.reposition();\n }\n\n attach(controller: AerisConfirmPopupRefController): void {\n this.controller = controller;\n }\n\n notifyOpened(event: AerisConfirmPopupActionEvent<TData>): void {\n if (this.closedOnce) return;\n this.openedStream.next(event);\n }\n\n notifyAccepted(event: AerisConfirmPopupActionEvent<TData>): void {\n if (this.closedOnce) return;\n this.acceptedStream.next(event);\n }\n\n notifyRejected(event: AerisConfirmPopupActionEvent<TData>): void {\n if (this.closedOnce) return;\n this.rejectedStream.next(event);\n }\n\n notifyClosed(event: AerisConfirmPopupCloseEvent<TData>): void {\n if (this.closedOnce) return;\n this.closedOnce = true;\n this.closedStream.next(event);\n this.acceptedStream.complete();\n this.rejectedStream.complete();\n this.closedStream.complete();\n this.openedStream.complete();\n this.controller = null;\n }\n}\n\n@Service()\nexport class AerisConfirmPopupService {\n private readonly appRef = inject(ApplicationRef);\n private readonly document = inject(DOCUMENT);\n private readonly environmentInjector = inject(EnvironmentInjector);\n private readonly requestState = signal<AerisConfirmPopupRequest | null>(null);\n private readonly closeState = signal(0);\n private readonly activeRefs = new Set<AerisConfirmPopupRef>();\n private readonly dynamicHosts = new Map<AerisConfirmPopupRef, ComponentRef<AerisConfirmPopup>>();\n private nextId = 0;\n\n readonly request = this.requestState.asReadonly();\n readonly closeSignal = this.closeState.asReadonly();\n\n confirm<TData = unknown>(config: AerisConfirmPopupConfig<TData>): AerisConfirmPopupRef<TData> {\n const ref = new AerisConfirmPopupRef<TData>();\n const resolvedConfig = this.resolveConfig(config);\n\n if (!resolvedConfig.key) {\n this.openDynamicHost(resolvedConfig, ref);\n return ref;\n }\n\n const request: AerisConfirmPopupRequest<TData> = {\n id: ++this.nextId,\n config: resolvedConfig,\n ref,\n };\n this.activeRefs.add(ref as AerisConfirmPopupRef);\n ref.closed.subscribe(() => this.activeRefs.delete(ref as AerisConfirmPopupRef));\n this.requestState.set(request as AerisConfirmPopupRequest);\n return ref;\n }\n\n closeAll(): void {\n for (const ref of [...this.activeRefs]) ref.close();\n this.closeState.update((value) => value + 1);\n }\n\n private openDynamicHost<TData>(\n config: AerisConfirmPopupResolvedConfig<TData>,\n ref: AerisConfirmPopupRef<TData>,\n ): void {\n const hostRef = createComponent(AerisConfirmPopup, {\n environmentInjector: this.environmentInjector,\n });\n const cleanup = (): void => {\n if (!this.activeRefs.delete(ref as AerisConfirmPopupRef)) return;\n this.dynamicHosts.delete(ref as AerisConfirmPopupRef);\n this.appRef.detachView(hostRef.hostView);\n hostRef.destroy();\n };\n\n this.activeRefs.add(ref as AerisConfirmPopupRef);\n this.dynamicHosts.set(ref as AerisConfirmPopupRef, hostRef);\n ref.closed.subscribe(() => queueMicrotask(cleanup));\n this.appRef.attachView(hostRef.hostView);\n this.document.body.appendChild(this.rootNode(hostRef));\n hostRef.changeDetectorRef.detectChanges();\n hostRef.instance.openWithConfig(config, ref);\n ref.attach({\n accept: (originalEvent) => {\n hostRef.instance.accept(originalEvent);\n hostRef.changeDetectorRef.detectChanges();\n },\n reject: (originalEvent) => {\n hostRef.instance.reject(originalEvent);\n hostRef.changeDetectorRef.detectChanges();\n },\n close: (originalEvent) => {\n hostRef.instance.close(originalEvent);\n hostRef.changeDetectorRef.detectChanges();\n },\n focus: (options) => hostRef.instance.focus(options),\n reposition: () => hostRef.instance.reposition(),\n });\n hostRef.changeDetectorRef.detectChanges();\n }\n\n private rootNode(hostRef: ComponentRef<AerisConfirmPopup>): Node {\n const [node] = (hostRef.hostView as EmbeddedViewRef<unknown>).rootNodes;\n return node instanceof Node ? node : this.document.createTextNode('');\n }\n\n private resolveConfig<TData>(\n config: AerisConfirmPopupConfig<TData>,\n ): AerisConfirmPopupResolvedConfig<TData> {\n return {\n key: config.key ?? '',\n target: this.resolveTarget(config.target),\n appendTo: config.appendTo,\n header: config.header ?? 'Confirm action',\n message: config.message ?? '',\n data: config.data,\n icon: config.icon ?? 'question',\n severity: config.severity ?? 'primary',\n acceptLabel: config.acceptLabel ?? 'Confirm',\n rejectLabel: config.rejectLabel ?? 'Cancel',\n acceptVisible: config.acceptVisible ?? true,\n rejectVisible: config.rejectVisible ?? true,\n acceptDisabled: config.acceptDisabled ?? false,\n rejectDisabled: config.rejectDisabled ?? false,\n acceptAriaLabel: config.acceptAriaLabel ?? config.acceptLabel ?? 'Confirm',\n rejectAriaLabel: config.rejectAriaLabel ?? config.rejectLabel ?? 'Cancel',\n defaultFocus: config.defaultFocus ?? 'accept',\n placement: config.placement ?? 'auto',\n alignment: config.alignment ?? 'center',\n width: config.width ?? '',\n maxWidth: config.maxWidth ?? '',\n offset: config.offset ?? 10,\n viewportMargin: config.viewportMargin ?? 8,\n closeOnOutsideClick: config.closeOnOutsideClick ?? true,\n closeOnEscape: config.closeOnEscape ?? true,\n focusTrap: config.focusTrap ?? true,\n restoreFocus: config.restoreFocus ?? true,\n autoFocus: config.autoFocus ?? true,\n initialFocus: config.initialFocus ?? '',\n showArrow: config.showArrow ?? true,\n ariaLabel: config.ariaLabel ?? '',\n ariaLabelledBy: config.ariaLabelledBy ?? '',\n ariaDescribedBy: config.ariaDescribedBy ?? '',\n accept: config.accept,\n reject: config.reject,\n };\n }\n\n private resolveTarget(target: AerisConfirmPopupTarget): Element {\n const element = this.targetElement(target);\n if (!element) {\n throw new Error('AerisConfirmPopup requires a target Element or trigger Event.');\n }\n return element;\n }\n\n private targetElement(target: AerisConfirmPopupTarget): Element | null {\n if (target instanceof Element) return target;\n if (target instanceof Event) {\n return this.targetElement(target.currentTarget ?? target.target);\n }\n return target instanceof Element ? target : null;\n }\n}\n\nlet nextPopupId = 0;\n\n@Component({\n selector: 'aeris-confirm-popup',\n imports: [AerisButtonDirective, NgTemplateOutlet, ɵAerisAppendTo],\n template: `\n @if (visible()) {\n <div\n class=\"aeris-confirm-popup__layer\"\n [aerisInternalAppendTo]=\"settings().appendTo\"\n [aerisInternalAppendToDismiss]=\"dismissOverlay\"\n aerisInternalAppendToDefault=\"body\"\n [attr.data-positioned]=\"positioned() || null\"\n >\n <section\n #popupPanel\n class=\"aeris-confirm-popup__panel\"\n role=\"alertdialog\"\n tabindex=\"-1\"\n [id]=\"popupId\"\n [attr.aria-modal]=\"true\"\n [attr.aria-label]=\"settings().ariaLabel || null\"\n [attr.aria-labelledby]=\"computedAriaLabelledBy()\"\n [attr.aria-describedby]=\"computedAriaDescribedBy()\"\n [attr.data-placement]=\"actualPlacement()\"\n [attr.data-severity]=\"settings().severity\"\n [attr.data-headless]=\"headlessTemplate() ? true : null\"\n [style.left.px]=\"coordinates().x\"\n [style.top.px]=\"coordinates().y\"\n [style.--aeris-confirm-popup-width]=\"settings().width || null\"\n [style.--aeris-confirm-popup-max-width]=\"settings().maxWidth || null\"\n (keydown)=\"handlePanelKeydown($event)\"\n >\n @if (settings().showArrow) {\n <span class=\"aeris-confirm-popup__arrow\" aria-hidden=\"true\"></span>\n }\n\n @if (headlessTemplate(); as headlessTemplateRef) {\n <ng-container\n [ngTemplateOutlet]=\"headlessTemplateRef.template\"\n [ngTemplateOutletContext]=\"templateContext()\"\n />\n } @else {\n <div class=\"aeris-confirm-popup__body\">\n @if (iconTemplate(); as iconTemplateRef) {\n <div class=\"aeris-confirm-popup__icon\" aria-hidden=\"true\">\n <ng-container\n [ngTemplateOutlet]=\"iconTemplateRef.template\"\n [ngTemplateOutletContext]=\"templateContext()\"\n />\n </div>\n } @else if (settings().icon !== 'none') {\n <span\n class=\"aeris-confirm-popup__icon\"\n [attr.data-icon]=\"settings().icon\"\n aria-hidden=\"true\"\n >\n <svg viewBox=\"0 0 24 24\" focusable=\"false\">\n @switch (settings().icon) {\n @case ('info') {\n <circle cx=\"12\" cy=\"12\" r=\"10\" />\n <path d=\"M12 16v-4\" />\n <path d=\"M12 8h.01\" />\n }\n @case ('warning') {\n <path\n d=\"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3\"\n />\n <path d=\"M12 9v4\" />\n <path d=\"M12 17h.01\" />\n }\n @case ('danger') {\n <path\n d=\"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3\"\n />\n <path d=\"M12 9v4\" />\n <path d=\"M12 17h.01\" />\n }\n @case ('success') {\n <path d=\"M20 6 9 17l-5-5\" />\n }\n @default {\n <circle cx=\"12\" cy=\"12\" r=\"10\" />\n <path d=\"M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3\" />\n <path d=\"M12 17h.01\" />\n }\n }\n </svg>\n </span>\n }\n\n <div class=\"aeris-confirm-popup__copy\">\n @if (settings().header) {\n <div class=\"aeris-confirm-popup__title\" [id]=\"titleId\">\n {{ settings().header }}\n </div>\n }\n <div class=\"aeris-confirm-popup__message\" [id]=\"messageId\">\n @if (messageTemplate(); as messageTemplateRef) {\n <ng-container\n [ngTemplateOutlet]=\"messageTemplateRef.template\"\n [ngTemplateOutletContext]=\"templateContext()\"\n />\n } @else {\n {{ settings().message }}\n }\n </div>\n </div>\n </div>\n\n @if (footerTemplate(); as footerTemplateRef) {\n <ng-container\n [ngTemplateOutlet]=\"footerTemplateRef.template\"\n [ngTemplateOutletContext]=\"templateContext()\"\n />\n } @else {\n <div class=\"aeris-confirm-popup__actions\">\n @if (settings().rejectVisible) {\n <button\n aerisButton\n type=\"button\"\n variant=\"solid\"\n severity=\"secondary\"\n class=\"aeris-confirm-popup__button aeris-confirm-popup__reject\"\n [disabled]=\"settings().rejectDisabled\"\n [attr.aria-label]=\"settings().rejectAriaLabel\"\n (click)=\"reject($event)\"\n >\n {{ settings().rejectLabel }}\n </button>\n }\n\n @if (settings().acceptVisible) {\n <button\n aerisButton\n type=\"button\"\n class=\"aeris-confirm-popup__button aeris-confirm-popup__accept\"\n [severity]=\"acceptButtonSeverity()\"\n [attr.data-severity]=\"settings().severity\"\n [disabled]=\"settings().acceptDisabled\"\n [attr.aria-label]=\"settings().acceptAriaLabel\"\n (click)=\"accept($event)\"\n >\n {{ settings().acceptLabel }}\n </button>\n }\n </div>\n }\n }\n </section>\n </div>\n }\n `,\n styleUrl: './aeris-confirm-popup.scss',\n host: {\n class: 'aeris-confirm-popup',\n '[attr.data-open]': 'visible() || null',\n },\n})\nexport class AerisConfirmPopup {\n protected readonly dismissOverlay = (): boolean => {\n if (!this.settings().closeOnEscape) return false;\n this.close();\n return true;\n };\n private readonly service = inject(AerisConfirmPopupService);\n private readonly document = inject(DOCUMENT);\n private readonly repositionFrame = aerisInternalCreateFrameScheduler(() => this.reposition());\n private readonly activeRequest = signal<AerisConfirmPopupRequest | null>(null);\n readonly target = input<AerisConfirmPopupTarget>(null);\n private readonly localConfig = computed<AerisConfirmPopupResolvedConfig>(() => ({\n key: this.key(),\n target: this.localTarget(),\n appendTo: this.appendTo(),\n header: this.header(),\n message: this.message(),\n data: this.data(),\n icon: this.icon(),\n severity: this.severity(),\n acceptLabel: this.acceptLabel(),\n rejectLabel: this.rejectLabel(),\n acceptVisible: this.acceptVisible(),\n rejectVisible: this.rejectVisible(),\n acceptDisabled: this.acceptDisabled(),\n rejectDisabled: this.rejectDisabled(),\n acceptAriaLabel: this.acceptAriaLabel() || this.acceptLabel(),\n rejectAriaLabel: this.rejectAriaLabel() || this.rejectLabel(),\n defaultFocus: this.defaultFocus(),\n placement: this.placement(),\n alignment: this.alignment(),\n width: this.width(),\n maxWidth: this.maxWidth(),\n offset: this.offset(),\n viewportMargin: this.viewportMargin(),\n closeOnOutsideClick: this.closeOnOutsideClick(),\n closeOnEscape: this.closeOnEscape(),\n focusTrap: this.focusTrap(),\n restoreFocus: this.restoreFocus(),\n autoFocus: this.autoFocus(),\n initialFocus: this.initialFocus(),\n showArrow: this.showArrow(),\n ariaLabel: this.ariaLabel(),\n ariaLabelledBy: this.ariaLabelledBy(),\n ariaDescribedBy: this.ariaDescribedBy(),\n }));\n private readonly triggerAttributes = signal<{\n readonly target: Element;\n readonly expanded: string | null;\n readonly controls: string | null;\n readonly haspopup: string | null;\n } | null>(null);\n private lastRequestId = 0;\n private lastCloseSignal = 0;\n private previousVisible = false;\n private pendingResult: AerisConfirmPopupResult | null = null;\n private pendingReason: AerisConfirmPopupCloseReason = 'api';\n private pendingOriginalEvent: Event | null = null;\n\n protected readonly popupPanel = viewChild<ElementRef<HTMLElement>>('popupPanel');\n private readonly panelPortal = viewChild(ɵAerisAppendTo);\n protected readonly iconTemplate = contentChild(AerisConfirmPopupIconTemplate);\n protected readonly messageTemplate = contentChild(AerisConfirmPopupMessageTemplate);\n protected readonly footerTemplate = contentChild(AerisConfirmPopupFooterTemplate);\n protected readonly headlessTemplate = contentChild(AerisConfirmPopupHeadlessTemplate);\n protected readonly positioned = signal(false);\n protected readonly actualPlacement =\n signal<Exclude<AerisConfirmPopupPlacement, 'auto'>>('bottom');\n protected readonly coordinates = signal({ x: 0, y: 0 });\n protected readonly settings = computed(() => this.activeRequest()?.config ?? this.localConfig());\n protected readonly acceptButtonSeverity = computed<AerisButtonSeverity>(() => {\n const severity = this.settings().severity;\n return severity === 'neutral' ? 'secondary' : severity;\n });\n protected readonly templateContext = computed<AerisConfirmPopupTemplateContext>(() => ({\n $implicit: this,\n config: this.settings(),\n data: this.settings().data,\n accept: (event?: Event) => this.accept(event ?? null),\n reject: (event?: Event) => this.reject(event ?? null),\n close: (event?: Event) => this.close(event ?? null),\n }));\n protected readonly computedAriaLabelledBy = computed(() => {\n const labelledBy = this.settings().ariaLabelledBy;\n if (labelledBy) return labelledBy;\n if (this.settings().ariaLabel) return null;\n return this.settings().header && !this.headlessTemplate() ? this.titleId : null;\n });\n protected readonly computedAriaDescribedBy = computed(() => {\n const describedBy = this.settings().ariaDescribedBy;\n if (describedBy) return describedBy;\n return this.settings().message || this.messageTemplate() ? this.messageId : null;\n });\n protected readonly initialFocusTarget = computed(() => {\n const settings = this.settings();\n if (settings.initialFocus) return settings.initialFocus;\n switch (settings.defaultFocus) {\n case 'accept':\n return '.aeris-confirm-popup__accept';\n case 'reject':\n return '.aeris-confirm-popup__reject';\n case 'popup':\n return '.aeris-confirm-popup__panel';\n case 'none':\n return '';\n default:\n return '';\n }\n });\n protected readonly autoFocusTarget = computed(\n () => this.settings().autoFocus && this.settings().defaultFocus !== 'none',\n );\n\n readonly visible = model(false);\n\n readonly key = input('');\n readonly appendTo = input<AerisAppendTo>();\n readonly header = input('Confirm action');\n readonly message = input('');\n readonly data = input<unknown>();\n readonly icon = input<AerisConfirmPopupIcon>('question');\n readonly severity = input<AerisConfirmPopupSeverity>('primary');\n readonly acceptLabel = input('Confirm');\n readonly rejectLabel = input('Cancel');\n readonly acceptVisible = input(true, { transform: booleanAttribute });\n readonly rejectVisible = input(true, { transform: booleanAttribute });\n readonly acceptDisabled = input(false, { transform: booleanAttribute });\n readonly rejectDisabled = input(false, { transform: booleanAttribute });\n readonly acceptAriaLabel = input('');\n readonly rejectAriaLabel = input('');\n readonly defaultFocus = input<AerisConfirmPopupDefaultFocus>('accept');\n readonly placement = input<AerisConfirmPopupPlacement>('auto');\n readonly alignment = input<AerisConfirmPopupAlignment>('center');\n readonly width = input('');\n readonly maxWidth = input('');\n readonly offset = input(10);\n readonly viewportMargin = input(8);\n readonly closeOnOutsideClick = input(true, { transform: booleanAttribute });\n readonly closeOnEscape = input(true, { transform: booleanAttribute });\n readonly focusTrap = input(true, { transform: booleanAttribute });\n readonly restoreFocus = input(true, { transform: booleanAttribute });\n readonly autoFocus = input(true, { transform: booleanAttribute });\n readonly initialFocus = input('');\n readonly showArrow = input(true, { transform: booleanAttribute });\n readonly ariaLabel = input('');\n readonly ariaLabelledBy = input('');\n readonly ariaDescribedBy = input('');\n\n readonly opened = output<AerisConfirmPopupActionEvent>();\n readonly accepted = output<AerisConfirmPopupActionEvent>();\n readonly rejected = output<AerisConfirmPopupActionEvent>();\n readonly closed = output<AerisConfirmPopupCloseEvent>();\n\n readonly popupId = `aeris-confirm-popup-${nextPopupId++}`;\n readonly titleId = `${this.popupId}-title`;\n readonly messageId = `${this.popupId}-message`;\n\n constructor() {\n effect(() => {\n const request = this.service.request();\n if (!request || request.id === this.lastRequestId) return;\n if (request.config.key !== this.key()) return;\n this.lastRequestId = request.id;\n this.openRequest(request);\n });\n\n effect(() => {\n const closeSignal = this.service.closeSignal();\n if (closeSignal === this.lastCloseSignal) return;\n this.lastCloseSignal = closeSignal;\n this.close();\n });\n\n effect(() => {\n const visible = this.visible();\n if (visible === this.previousVisible) return;\n if (visible) {\n this.handleOpened();\n } else {\n this.handleHidden();\n }\n this.previousVisible = visible;\n });\n\n effect((onCleanup) => {\n if (!this.visible()) return;\n const keydown = (event: KeyboardEvent) => this.handleDocumentKeydown(event);\n const pointerdown = (event: PointerEvent) => this.handleDocumentPointerdown(event);\n const reposition = this.repositionFrame.schedule;\n const view = this.document.defaultView;\n this.document.addEventListener('keydown', keydown);\n this.document.addEventListener('pointerdown', pointerdown);\n view?.addEventListener('resize', reposition);\n view?.addEventListener('scroll', reposition);\n onCleanup(() => {\n this.document.removeEventListener('keydown', keydown);\n this.document.removeEventListener('pointerdown', pointerdown);\n view?.removeEventListener('resize', reposition);\n view?.removeEventListener('scroll', reposition);\n this.repositionFrame.cancel();\n });\n });\n }\n\n openWithConfig<TData>(\n config: AerisConfirmPopupResolvedConfig<TData>,\n ref: AerisConfirmPopupRef<TData>,\n ): void {\n this.openRequest({\n id: ++this.lastRequestId,\n config,\n ref,\n } as unknown as AerisConfirmPopupRequest);\n }\n\n accept(originalEvent: Event | null = null): void {\n const settings = this.settings();\n if (!this.visible() || settings.acceptDisabled || !settings.acceptVisible) return;\n const event = this.actionEvent(originalEvent);\n settings.accept?.(event);\n this.accepted.emit(event);\n this.activeRequest()?.ref.notifyAccepted(event);\n this.closeWithResult('accept', 'accept', originalEvent);\n }\n\n reject(originalEvent: Event | null = null): void {\n const settings = this.settings();\n if (!this.visible() || settings.rejectDisabled || !settings.rejectVisible) return;\n const event = this.actionEvent(originalEvent);\n settings.reject?.(event);\n this.rejected.emit(event);\n this.activeRequest()?.ref.notifyRejected(event);\n this.closeWithResult('reject', 'reject', originalEvent);\n }\n\n close(originalEvent: Event | null = null): void {\n if (!this.visible()) return;\n this.closeWithResult('dismiss', 'api', originalEvent);\n }\n\n focus(options?: FocusOptions): void {\n this.focusInitial(options);\n }\n\n reposition(): void {\n if (!this.visible()) return;\n const panel = this.popupPanel()?.nativeElement;\n const target = this.settings().target;\n const view = target.ownerDocument.defaultView;\n if (!panel || !view) return;\n\n const targetRect = target.getBoundingClientRect();\n const panelRect = panel.getBoundingClientRect();\n const width = panelRect.width || panel.offsetWidth || 320;\n const height = panelRect.height || panel.offsetHeight || 160;\n const settings = this.settings();\n const { placement, x, y } = aerisInternalPositionAnchoredOverlay({\n target: targetRect,\n width,\n height,\n placement: settings.placement,\n alignment: settings.alignment,\n offset: settings.offset,\n margin: settings.viewportMargin,\n viewportWidth: view.innerWidth,\n viewportHeight: view.innerHeight,\n });\n\n this.actualPlacement.set(placement);\n this.coordinates.set({ x, y });\n this.positioned.set(true);\n panel.style.left = `${x}px`;\n panel.style.top = `${y}px`;\n panel.setAttribute('data-placement', placement);\n panel.parentElement?.setAttribute('data-positioned', 'true');\n }\n\n protected handlePanelKeydown(event: KeyboardEvent): void {\n if (event.key !== 'Tab' || !this.settings().focusTrap) return;\n this.trapTab(event);\n }\n\n protected handleDocumentKeydown(event: KeyboardEvent): void {\n if (!this.visible() || event.key !== 'Escape' || !this.settings().closeOnEscape) return;\n event.preventDefault();\n this.closeWithResult('dismiss', 'escape', event);\n }\n\n protected handleDocumentPointerdown(event: PointerEvent): void {\n if (!this.visible() || !this.settings().closeOnOutsideClick) return;\n const target = event.target;\n if (!(target instanceof Node)) return;\n const panel = this.popupPanel()?.nativeElement;\n if (panel?.contains(target) || this.settings().target.contains(target)) return;\n this.closeWithResult('dismiss', 'outside', event);\n }\n\n private handleOpened(): void {\n this.positioned.set(false);\n this.updateTriggerAttributes(true);\n const event = this.actionEvent(null);\n this.opened.emit(event);\n this.activeRequest()?.ref.notifyOpened(event);\n queueMicrotask(() => {\n this.reposition();\n if (this.autoFocusTarget()) this.focusInitial();\n });\n }\n\n private handleHidden(): void {\n this.panelPortal()?.restore();\n const restoreFocus = this.settings().restoreFocus;\n const focusTarget = this.settings().target;\n const result = this.pendingResult ?? 'dismiss';\n const reason = this.pendingReason;\n const originalEvent = this.pendingOriginalEvent;\n const closeEvent: AerisConfirmPopupCloseEvent = {\n ...this.actionEvent(originalEvent),\n result,\n reason,\n };\n const ref = this.activeRequest()?.ref;\n\n this.updateTriggerAttributes(false);\n this.visible.set(false);\n this.positioned.set(false);\n this.pendingResult = null;\n this.pendingReason = 'api';\n this.pendingOriginalEvent = null;\n this.activeRequest.set(null);\n this.closed.emit(closeEvent);\n ref?.notifyClosed(closeEvent);\n\n if (restoreFocus) {\n queueMicrotask(() => this.focusTarget(focusTarget));\n }\n }\n\n private openRequest(request: AerisConfirmPopupRequest): void {\n this.pendingResult = null;\n this.pendingReason = 'api';\n this.pendingOriginalEvent = null;\n this.activeRequest.set(request);\n request.ref.attach({\n accept: (originalEvent) => this.accept(originalEvent),\n reject: (originalEvent) => this.reject(originalEvent),\n close: (originalEvent) => this.close(originalEvent),\n focus: (options) => this.focus(options),\n reposition: () => this.reposition(),\n });\n this.visible.set(true);\n }\n\n private closeWithResult(\n result: AerisConfirmPopupResult,\n reason: AerisConfirmPopupCloseReason,\n originalEvent: Event | null,\n ): void {\n this.pendingResult = result;\n this.pendingReason = reason;\n this.pendingOriginalEvent = originalEvent;\n this.panelPortal()?.restore();\n this.visible.set(false);\n }\n\n private actionEvent(originalEvent: Event | null): AerisConfirmPopupActionEvent {\n const settings = this.settings();\n return {\n originalEvent,\n data: settings.data,\n config: settings,\n };\n }\n\n private updateTriggerAttributes(open: boolean): void {\n const target = this.settings().target;\n if (open) {\n this.triggerAttributes.set({\n target,\n expanded: target.getAttribute('aria-expanded'),\n controls: target.getAttribute('aria-controls'),\n haspopup: target.getAttribute('aria-haspopup'),\n });\n target.setAttribute('aria-haspopup', 'dialog');\n target.setAttribute('aria-expanded', 'true');\n target.setAttribute('aria-controls', this.popupId);\n return;\n }\n\n const previous = this.triggerAttributes();\n if (!previous) return;\n if (previous.expanded === null) {\n previous.target.removeAttribute('aria-expanded');\n } else {\n previous.target.setAttribute('aria-expanded', previous.expanded);\n }\n if (previous.controls === null) {\n previous.target.removeAttribute('aria-controls');\n } else {\n previous.target.setAttribute('aria-controls', previous.controls);\n }\n if (previous.haspopup === null) {\n previous.target.removeAttribute('aria-haspopup');\n } else {\n previous.target.setAttribute('aria-haspopup', previous.haspopup);\n }\n this.triggerAttributes.set(null);\n }\n\n private focusInitial(options?: FocusOptions): void {\n const panel = this.popupPanel()?.nativeElement;\n if (!panel) return;\n aerisInternalFocusInitialElement(panel, this.initialFocusTarget(), options);\n }\n\n private trapTab(event: KeyboardEvent): void {\n const panel = this.popupPanel()?.nativeElement;\n if (!panel) return;\n aerisInternalTrapTabFocus(event, panel, this.activeHtmlElement());\n }\n\n private activeHtmlElement(): HTMLElement | null {\n const active = this.settings().target.ownerDocument.activeElement;\n return active instanceof HTMLElement ? active : null;\n }\n\n private focusTarget(target: Element): void {\n if (target instanceof HTMLElement) target.focus();\n }\n\n private localTarget(): Element {\n const target = this.target();\n if (target instanceof Element) return target;\n if (target instanceof Event) {\n const eventTarget = target.currentTarget ?? target.target;\n if (eventTarget instanceof Element) return eventTarget;\n }\n throw new Error('AerisConfirmPopup requires a target Element or trigger Event.');\n }\n}\n\nexport const AerisConfirmPopupModule = [\n AerisConfirmPopup,\n AerisConfirmPopupIconTemplate,\n AerisConfirmPopupMessageTemplate,\n AerisConfirmPopupFooterTemplate,\n AerisConfirmPopupHeadlessTemplate,\n] as const;\n"],"mappings":";;;;;AAmKA,IAAM,+BAAN,MAAkC;CACf,4BAAY,IAAI,IAAG;CAC5B,YAAY;CAEpB,UAAU,MAAwB;EAChC,IAAI,KAAK,WAAW,OAAO,EAAE,mBAAmB,OAAS;EACzD,KAAK,UAAU,IAAI,IAAI;EACvB,OAAO,EACL,mBAAkB;GAChB,KAAK,UAAU,OAAO,IAAI;EAC5B,EACD;CACH;CAEA,KAAK,OAAQ;EACX,IAAI,KAAK,WAAW;EACpB,KAAK,MAAM,YAAY,CAAC,GAAG,KAAK,SAAS,GA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A,CAAA;EAAA,CAAA;EAAA,QAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA,QAAA;EAAA,CAAA;EAAA,UAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA,UAAA;EAAA,CAAA;EAAA,UAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA,UAAA;EAAA,CAAA;EAAA,QAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA,QAAA;EAAA,CAAA;CAAA;AAAA,CAAA;AAyXtF,MAAa,0BAA0B;CACrC;CACA;CACA;CACA;CACA;AACQ"}
1
+ {"version":3,"file":"aeris-ui-core-confirm-popup.mjs","names":[],"sources":["../../../projects/aeris-ui/confirm-popup/aeris-confirm-popup.ts"],"sourcesContent":["import { DOCUMENT, NgTemplateOutlet } from '@angular/common';\nimport {\n ApplicationRef,\n Component,\n ComponentRef,\n Directive,\n ElementRef,\n EmbeddedViewRef,\n EnvironmentInjector,\n TemplateRef,\n booleanAttribute,\n computed,\n createComponent,\n contentChild,\n effect,\n inject,\n input,\n model,\n output,\n signal,\n viewChild,\n Service,\n} from '@angular/core';\nimport { AerisButtonDirective, type AerisButtonSeverity } from '@aeris-ui/core/button';\nimport {\n ɵAerisAppendTo,\n aerisInternalFocusInitialElement,\n aerisInternalCreateFrameScheduler,\n aerisInternalPositionAnchoredOverlay,\n aerisInternalTrapTabFocus,\n type AerisAppendTo,\n} from '@aeris-ui/core';\n\nexport type AerisConfirmPopupSeverity =\n 'primary' | 'secondary' | 'success' | 'info' | 'warning' | 'danger' | 'neutral';\nexport type AerisConfirmPopupIcon = 'question' | 'info' | 'warning' | 'danger' | 'success' | 'none';\nexport type AerisConfirmPopupPlacement = 'auto' | 'top' | 'right' | 'bottom' | 'left';\nexport type AerisConfirmPopupAlignment = 'start' | 'center' | 'end';\nexport type AerisConfirmPopupDefaultFocus = 'accept' | 'reject' | 'popup' | 'none';\nexport type AerisConfirmPopupResult = 'accept' | 'reject' | 'dismiss';\nexport type AerisConfirmPopupCloseReason = 'api' | 'accept' | 'reject' | 'escape' | 'outside';\nexport type AerisConfirmPopupTarget = Element | EventTarget | Event | null | undefined;\n\nexport interface AerisConfirmPopupConfig<TData = unknown> {\n readonly key?: string;\n readonly target: AerisConfirmPopupTarget;\n readonly appendTo?: AerisAppendTo;\n readonly header?: string;\n readonly message?: string;\n readonly data?: TData;\n readonly icon?: AerisConfirmPopupIcon;\n readonly severity?: AerisConfirmPopupSeverity;\n readonly acceptLabel?: string;\n readonly rejectLabel?: string;\n readonly acceptVisible?: boolean;\n readonly rejectVisible?: boolean;\n readonly acceptDisabled?: boolean;\n readonly rejectDisabled?: boolean;\n readonly acceptAriaLabel?: string;\n readonly rejectAriaLabel?: string;\n readonly defaultFocus?: AerisConfirmPopupDefaultFocus;\n readonly placement?: AerisConfirmPopupPlacement;\n readonly alignment?: AerisConfirmPopupAlignment;\n readonly width?: string;\n readonly maxWidth?: string;\n readonly offset?: number;\n readonly viewportMargin?: number;\n readonly closeOnOutsideClick?: boolean;\n readonly closeOnEscape?: boolean;\n readonly focusTrap?: boolean;\n readonly restoreFocus?: boolean;\n readonly autoFocus?: boolean;\n readonly initialFocus?: string;\n readonly showArrow?: boolean;\n readonly ariaLabel?: string;\n readonly ariaLabelledBy?: string;\n readonly ariaDescribedBy?: string;\n readonly accept?: (event: AerisConfirmPopupActionEvent<TData>) => void;\n readonly reject?: (event: AerisConfirmPopupActionEvent<TData>) => void;\n}\n\nexport interface AerisConfirmPopupResolvedConfig<TData = unknown> {\n readonly key: string;\n readonly target: Element;\n readonly appendTo: AerisAppendTo;\n readonly header: string;\n readonly message: string;\n readonly data: TData | undefined;\n readonly icon: AerisConfirmPopupIcon;\n readonly severity: AerisConfirmPopupSeverity;\n readonly acceptLabel: string;\n readonly rejectLabel: string;\n readonly acceptVisible: boolean;\n readonly rejectVisible: boolean;\n readonly acceptDisabled: boolean;\n readonly rejectDisabled: boolean;\n readonly acceptAriaLabel: string;\n readonly rejectAriaLabel: string;\n readonly defaultFocus: AerisConfirmPopupDefaultFocus;\n readonly placement: AerisConfirmPopupPlacement;\n readonly alignment: AerisConfirmPopupAlignment;\n readonly width: string;\n readonly maxWidth: string;\n readonly offset: number;\n readonly viewportMargin: number;\n readonly closeOnOutsideClick: boolean;\n readonly closeOnEscape: boolean;\n readonly focusTrap: boolean;\n readonly restoreFocus: boolean;\n readonly autoFocus: boolean;\n readonly initialFocus: string;\n readonly showArrow: boolean;\n readonly ariaLabel: string;\n readonly ariaLabelledBy: string;\n readonly ariaDescribedBy: string;\n readonly accept?: (event: AerisConfirmPopupActionEvent<TData>) => void;\n readonly reject?: (event: AerisConfirmPopupActionEvent<TData>) => void;\n}\n\nexport interface AerisConfirmPopupActionEvent<TData = unknown> {\n readonly originalEvent: Event | null;\n readonly data: TData | undefined;\n readonly config: AerisConfirmPopupResolvedConfig<TData>;\n}\n\nexport interface AerisConfirmPopupCloseEvent<\n TData = unknown,\n> extends AerisConfirmPopupActionEvent<TData> {\n readonly result: AerisConfirmPopupResult;\n readonly reason: AerisConfirmPopupCloseReason;\n}\n\nexport interface AerisConfirmPopupSubscription {\n unsubscribe(): void;\n}\n\nexport interface AerisConfirmPopupSubscribable<T> {\n subscribe(next: (event: T) => void): AerisConfirmPopupSubscription;\n}\n\nexport interface AerisConfirmPopupTemplateContext<TData = unknown> {\n readonly $implicit: AerisConfirmPopup;\n readonly config: AerisConfirmPopupResolvedConfig<TData>;\n readonly data: TData | undefined;\n readonly accept: (event?: Event) => void;\n readonly reject: (event?: Event) => void;\n readonly close: (event?: Event) => void;\n}\n\ninterface AerisConfirmPopupRequest<TData = unknown> {\n readonly id: number;\n readonly config: AerisConfirmPopupResolvedConfig<TData>;\n readonly ref: AerisConfirmPopupRef<TData>;\n}\n\ninterface AerisConfirmPopupRefController {\n readonly accept: (originalEvent: Event | null) => void;\n readonly reject: (originalEvent: Event | null) => void;\n readonly close: (originalEvent: Event | null) => void;\n readonly focus: (options?: FocusOptions) => void;\n readonly reposition: () => void;\n}\n\nclass AerisConfirmPopupEventStream<T> implements AerisConfirmPopupSubscribable<T> {\n private readonly listeners = new Set<(event: T) => void>();\n private completed = false;\n\n subscribe(next: (event: T) => void): AerisConfirmPopupSubscription {\n if (this.completed) return { unsubscribe: () => undefined };\n this.listeners.add(next);\n return {\n unsubscribe: () => {\n this.listeners.delete(next);\n },\n };\n }\n\n next(event: T): void {\n if (this.completed) return;\n for (const listener of [...this.listeners]) listener(event);\n }\n\n complete(): void {\n this.completed = true;\n this.listeners.clear();\n }\n}\n\n@Directive({ selector: 'ng-template[aerisConfirmPopupIcon]' })\nexport class AerisConfirmPopupIconTemplate {\n readonly template = inject<TemplateRef<AerisConfirmPopupTemplateContext>>(TemplateRef);\n}\n\n@Directive({ selector: 'ng-template[aerisConfirmPopupMessage]' })\nexport class AerisConfirmPopupMessageTemplate {\n readonly template = inject<TemplateRef<AerisConfirmPopupTemplateContext>>(TemplateRef);\n}\n\n@Directive({ selector: 'ng-template[aerisConfirmPopupFooter]' })\nexport class AerisConfirmPopupFooterTemplate {\n readonly template = inject<TemplateRef<AerisConfirmPopupTemplateContext>>(TemplateRef);\n}\n\n@Directive({ selector: 'ng-template[aerisConfirmPopupHeadless]' })\nexport class AerisConfirmPopupHeadlessTemplate {\n readonly template = inject<TemplateRef<AerisConfirmPopupTemplateContext>>(TemplateRef);\n}\n\nexport class AerisConfirmPopupRef<TData = unknown> {\n private readonly acceptedStream = new AerisConfirmPopupEventStream<\n AerisConfirmPopupActionEvent<TData>\n >();\n private readonly rejectedStream = new AerisConfirmPopupEventStream<\n AerisConfirmPopupActionEvent<TData>\n >();\n private readonly closedStream = new AerisConfirmPopupEventStream<\n AerisConfirmPopupCloseEvent<TData>\n >();\n private readonly openedStream = new AerisConfirmPopupEventStream<\n AerisConfirmPopupActionEvent<TData>\n >();\n private controller: AerisConfirmPopupRefController | null = null;\n private closedOnce = false;\n\n readonly accepted: AerisConfirmPopupSubscribable<AerisConfirmPopupActionEvent<TData>> =\n this.acceptedStream;\n readonly rejected: AerisConfirmPopupSubscribable<AerisConfirmPopupActionEvent<TData>> =\n this.rejectedStream;\n readonly closed: AerisConfirmPopupSubscribable<AerisConfirmPopupCloseEvent<TData>> =\n this.closedStream;\n readonly opened: AerisConfirmPopupSubscribable<AerisConfirmPopupActionEvent<TData>> =\n this.openedStream;\n\n accept(originalEvent: Event | null = null): void {\n if (this.closedOnce) return;\n this.controller?.accept(originalEvent);\n }\n\n reject(originalEvent: Event | null = null): void {\n if (this.closedOnce) return;\n this.controller?.reject(originalEvent);\n }\n\n close(originalEvent: Event | null = null): void {\n if (this.closedOnce) return;\n this.controller?.close(originalEvent);\n }\n\n focus(options?: FocusOptions): void {\n this.controller?.focus(options);\n }\n\n reposition(): void {\n this.controller?.reposition();\n }\n\n attach(controller: AerisConfirmPopupRefController): void {\n this.controller = controller;\n }\n\n notifyOpened(event: AerisConfirmPopupActionEvent<TData>): void {\n if (this.closedOnce) return;\n this.openedStream.next(event);\n }\n\n notifyAccepted(event: AerisConfirmPopupActionEvent<TData>): void {\n if (this.closedOnce) return;\n this.acceptedStream.next(event);\n }\n\n notifyRejected(event: AerisConfirmPopupActionEvent<TData>): void {\n if (this.closedOnce) return;\n this.rejectedStream.next(event);\n }\n\n notifyClosed(event: AerisConfirmPopupCloseEvent<TData>): void {\n if (this.closedOnce) return;\n this.closedOnce = true;\n this.closedStream.next(event);\n this.acceptedStream.complete();\n this.rejectedStream.complete();\n this.closedStream.complete();\n this.openedStream.complete();\n this.controller = null;\n }\n}\n\n@Service()\nexport class AerisConfirmPopupService {\n private readonly appRef = inject(ApplicationRef);\n private readonly document = inject(DOCUMENT);\n private readonly environmentInjector = inject(EnvironmentInjector);\n private readonly requestState = signal<AerisConfirmPopupRequest | null>(null);\n private readonly closeState = signal(0);\n private readonly activeRefs = new Set<AerisConfirmPopupRef>();\n private readonly dynamicHosts = new Map<AerisConfirmPopupRef, ComponentRef<AerisConfirmPopup>>();\n private nextId = 0;\n\n readonly request = this.requestState.asReadonly();\n readonly closeSignal = this.closeState.asReadonly();\n\n confirm<TData = unknown>(config: AerisConfirmPopupConfig<TData>): AerisConfirmPopupRef<TData> {\n const ref = new AerisConfirmPopupRef<TData>();\n const resolvedConfig = this.resolveConfig(config);\n\n if (!resolvedConfig.key) {\n this.openDynamicHost(resolvedConfig, ref);\n return ref;\n }\n\n const request: AerisConfirmPopupRequest<TData> = {\n id: ++this.nextId,\n config: resolvedConfig,\n ref,\n };\n this.activeRefs.add(ref as AerisConfirmPopupRef);\n ref.closed.subscribe(() => this.activeRefs.delete(ref as AerisConfirmPopupRef));\n this.requestState.set(request as AerisConfirmPopupRequest);\n return ref;\n }\n\n closeAll(): void {\n for (const ref of [...this.activeRefs]) ref.close();\n this.closeState.update((value) => value + 1);\n }\n\n private openDynamicHost<TData>(\n config: AerisConfirmPopupResolvedConfig<TData>,\n ref: AerisConfirmPopupRef<TData>,\n ): void {\n const hostRef = createComponent(AerisConfirmPopup, {\n environmentInjector: this.environmentInjector,\n });\n const cleanup = (): void => {\n if (!this.activeRefs.delete(ref as AerisConfirmPopupRef)) return;\n this.dynamicHosts.delete(ref as AerisConfirmPopupRef);\n this.appRef.detachView(hostRef.hostView);\n hostRef.destroy();\n };\n\n this.activeRefs.add(ref as AerisConfirmPopupRef);\n this.dynamicHosts.set(ref as AerisConfirmPopupRef, hostRef);\n ref.closed.subscribe(() => queueMicrotask(cleanup));\n this.appRef.attachView(hostRef.hostView);\n this.document.body.appendChild(this.rootNode(hostRef));\n hostRef.changeDetectorRef.detectChanges();\n hostRef.instance.openWithConfig(config, ref);\n ref.attach({\n accept: (originalEvent) => {\n hostRef.instance.accept(originalEvent);\n hostRef.changeDetectorRef.detectChanges();\n },\n reject: (originalEvent) => {\n hostRef.instance.reject(originalEvent);\n hostRef.changeDetectorRef.detectChanges();\n },\n close: (originalEvent) => {\n hostRef.instance.close(originalEvent);\n hostRef.changeDetectorRef.detectChanges();\n },\n focus: (options) => hostRef.instance.focus(options),\n reposition: () => hostRef.instance.reposition(),\n });\n hostRef.changeDetectorRef.detectChanges();\n }\n\n private rootNode(hostRef: ComponentRef<AerisConfirmPopup>): Node {\n const [node] = (hostRef.hostView as EmbeddedViewRef<unknown>).rootNodes;\n return node instanceof Node ? node : this.document.createTextNode('');\n }\n\n private resolveConfig<TData>(\n config: AerisConfirmPopupConfig<TData>,\n ): AerisConfirmPopupResolvedConfig<TData> {\n return {\n key: config.key ?? '',\n target: this.resolveTarget(config.target),\n appendTo: config.appendTo,\n header: config.header ?? 'Confirm action',\n message: config.message ?? '',\n data: config.data,\n icon: config.icon ?? 'question',\n severity: config.severity ?? 'primary',\n acceptLabel: config.acceptLabel ?? 'Confirm',\n rejectLabel: config.rejectLabel ?? 'Cancel',\n acceptVisible: config.acceptVisible ?? true,\n rejectVisible: config.rejectVisible ?? true,\n acceptDisabled: config.acceptDisabled ?? false,\n rejectDisabled: config.rejectDisabled ?? false,\n acceptAriaLabel: config.acceptAriaLabel ?? config.acceptLabel ?? 'Confirm',\n rejectAriaLabel: config.rejectAriaLabel ?? config.rejectLabel ?? 'Cancel',\n defaultFocus: config.defaultFocus ?? 'accept',\n placement: config.placement ?? 'auto',\n alignment: config.alignment ?? 'center',\n width: config.width ?? '',\n maxWidth: config.maxWidth ?? '',\n offset: config.offset ?? 10,\n viewportMargin: config.viewportMargin ?? 8,\n closeOnOutsideClick: config.closeOnOutsideClick ?? true,\n closeOnEscape: config.closeOnEscape ?? true,\n focusTrap: config.focusTrap ?? true,\n restoreFocus: config.restoreFocus ?? true,\n autoFocus: config.autoFocus ?? true,\n initialFocus: config.initialFocus ?? '',\n showArrow: config.showArrow ?? true,\n ariaLabel: config.ariaLabel ?? '',\n ariaLabelledBy: config.ariaLabelledBy ?? '',\n ariaDescribedBy: config.ariaDescribedBy ?? '',\n accept: config.accept,\n reject: config.reject,\n };\n }\n\n private resolveTarget(target: AerisConfirmPopupTarget): Element {\n const element = this.targetElement(target);\n if (!element) {\n throw new Error('AerisConfirmPopup requires a target Element or trigger Event.');\n }\n return element;\n }\n\n private targetElement(target: AerisConfirmPopupTarget): Element | null {\n if (target instanceof Element) return target;\n if (target instanceof Event) {\n return this.targetElement(target.currentTarget ?? target.target);\n }\n return target instanceof Element ? target : null;\n }\n}\n\nlet nextPopupId = 0;\n\n@Component({\n selector: 'aeris-confirm-popup',\n imports: [AerisButtonDirective, NgTemplateOutlet, ɵAerisAppendTo],\n template: `\n @if (visible()) {\n <div\n class=\"aeris-confirm-popup__layer\"\n [aerisInternalAppendTo]=\"settings().appendTo\"\n [aerisInternalAppendToDismiss]=\"dismissOverlay\"\n aerisInternalAppendToDefault=\"body\"\n [attr.data-positioned]=\"positioned() || null\"\n >\n <section\n #popupPanel\n class=\"aeris-confirm-popup__panel\"\n role=\"alertdialog\"\n tabindex=\"-1\"\n [id]=\"popupId\"\n [attr.aria-modal]=\"true\"\n [attr.aria-label]=\"settings().ariaLabel || null\"\n [attr.aria-labelledby]=\"computedAriaLabelledBy()\"\n [attr.aria-describedby]=\"computedAriaDescribedBy()\"\n [attr.data-placement]=\"actualPlacement()\"\n [attr.data-severity]=\"settings().severity\"\n [attr.data-headless]=\"headlessTemplate() ? true : null\"\n [style.left.px]=\"coordinates().x\"\n [style.top.px]=\"coordinates().y\"\n [style.--aeris-confirm-popup-width]=\"settings().width || null\"\n [style.--aeris-confirm-popup-max-width]=\"settings().maxWidth || null\"\n (keydown)=\"handlePanelKeydown($event)\"\n >\n @if (settings().showArrow) {\n <span class=\"aeris-confirm-popup__arrow\" aria-hidden=\"true\"></span>\n }\n\n @if (headlessTemplate(); as headlessTemplateRef) {\n <ng-container\n [ngTemplateOutlet]=\"headlessTemplateRef.template\"\n [ngTemplateOutletContext]=\"templateContext()\"\n />\n } @else {\n <div class=\"aeris-confirm-popup__body\">\n @if (iconTemplate(); as iconTemplateRef) {\n <div class=\"aeris-confirm-popup__icon\" aria-hidden=\"true\">\n <ng-container\n [ngTemplateOutlet]=\"iconTemplateRef.template\"\n [ngTemplateOutletContext]=\"templateContext()\"\n />\n </div>\n } @else if (settings().icon !== 'none') {\n <span\n class=\"aeris-confirm-popup__icon\"\n [attr.data-icon]=\"settings().icon\"\n aria-hidden=\"true\"\n >\n <svg viewBox=\"0 0 24 24\" focusable=\"false\">\n @switch (settings().icon) {\n @case ('info') {\n <circle cx=\"12\" cy=\"12\" r=\"10\" />\n <path d=\"M12 16v-4\" />\n <path d=\"M12 8h.01\" />\n }\n @case ('warning') {\n <path\n d=\"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3\"\n />\n <path d=\"M12 9v4\" />\n <path d=\"M12 17h.01\" />\n }\n @case ('danger') {\n <path\n d=\"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3\"\n />\n <path d=\"M12 9v4\" />\n <path d=\"M12 17h.01\" />\n }\n @case ('success') {\n <path d=\"M20 6 9 17l-5-5\" />\n }\n @default {\n <circle cx=\"12\" cy=\"12\" r=\"10\" />\n <path d=\"M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3\" />\n <path d=\"M12 17h.01\" />\n }\n }\n </svg>\n </span>\n }\n\n <div class=\"aeris-confirm-popup__copy\">\n @if (settings().header) {\n <div class=\"aeris-confirm-popup__title\" [id]=\"titleId\">\n {{ settings().header }}\n </div>\n }\n <div class=\"aeris-confirm-popup__message\" [id]=\"messageId\">\n @if (messageTemplate(); as messageTemplateRef) {\n <ng-container\n [ngTemplateOutlet]=\"messageTemplateRef.template\"\n [ngTemplateOutletContext]=\"templateContext()\"\n />\n } @else {\n {{ settings().message }}\n }\n </div>\n </div>\n </div>\n\n @if (footerTemplate(); as footerTemplateRef) {\n <ng-container\n [ngTemplateOutlet]=\"footerTemplateRef.template\"\n [ngTemplateOutletContext]=\"templateContext()\"\n />\n } @else {\n <div class=\"aeris-confirm-popup__actions\">\n @if (settings().rejectVisible) {\n <button\n aerisButton\n type=\"button\"\n variant=\"solid\"\n severity=\"secondary\"\n class=\"aeris-confirm-popup__button aeris-confirm-popup__reject\"\n [disabled]=\"settings().rejectDisabled\"\n [attr.aria-label]=\"settings().rejectAriaLabel\"\n (click)=\"reject($event)\"\n >\n {{ settings().rejectLabel }}\n </button>\n }\n\n @if (settings().acceptVisible) {\n <button\n aerisButton\n type=\"button\"\n class=\"aeris-confirm-popup__button aeris-confirm-popup__accept\"\n [severity]=\"acceptButtonSeverity()\"\n [attr.data-severity]=\"settings().severity\"\n [disabled]=\"settings().acceptDisabled\"\n [attr.aria-label]=\"settings().acceptAriaLabel\"\n (click)=\"accept($event)\"\n >\n {{ settings().acceptLabel }}\n </button>\n }\n </div>\n }\n }\n </section>\n </div>\n }\n `,\n styleUrl: './aeris-confirm-popup.scss',\n host: {\n class: 'aeris-confirm-popup',\n '[attr.data-open]': 'visible() || null',\n },\n})\nexport class AerisConfirmPopup {\n protected readonly dismissOverlay = (): boolean => {\n if (!this.settings().closeOnEscape) return false;\n this.close();\n return true;\n };\n private readonly service = inject(AerisConfirmPopupService);\n private readonly document = inject(DOCUMENT);\n private readonly repositionFrame = aerisInternalCreateFrameScheduler(() => this.reposition());\n private readonly activeRequest = signal<AerisConfirmPopupRequest | null>(null);\n readonly target = input<AerisConfirmPopupTarget>(null);\n private readonly localConfig = computed<AerisConfirmPopupResolvedConfig>(() => ({\n key: this.key(),\n target: this.localTarget(),\n appendTo: this.appendTo(),\n header: this.header(),\n message: this.message(),\n data: this.data(),\n icon: this.icon(),\n severity: this.severity(),\n acceptLabel: this.acceptLabel(),\n rejectLabel: this.rejectLabel(),\n acceptVisible: this.acceptVisible(),\n rejectVisible: this.rejectVisible(),\n acceptDisabled: this.acceptDisabled(),\n rejectDisabled: this.rejectDisabled(),\n acceptAriaLabel: this.acceptAriaLabel() || this.acceptLabel(),\n rejectAriaLabel: this.rejectAriaLabel() || this.rejectLabel(),\n defaultFocus: this.defaultFocus(),\n placement: this.placement(),\n alignment: this.alignment(),\n width: this.width(),\n maxWidth: this.maxWidth(),\n offset: this.offset(),\n viewportMargin: this.viewportMargin(),\n closeOnOutsideClick: this.closeOnOutsideClick(),\n closeOnEscape: this.closeOnEscape(),\n focusTrap: this.focusTrap(),\n restoreFocus: this.restoreFocus(),\n autoFocus: this.autoFocus(),\n initialFocus: this.initialFocus(),\n showArrow: this.showArrow(),\n ariaLabel: this.ariaLabel(),\n ariaLabelledBy: this.ariaLabelledBy(),\n ariaDescribedBy: this.ariaDescribedBy(),\n }));\n private readonly triggerAttributes = signal<{\n readonly target: Element;\n readonly expanded: string | null;\n readonly controls: string | null;\n readonly haspopup: string | null;\n } | null>(null);\n private lastRequestId = 0;\n private lastCloseSignal = 0;\n private previousVisible = false;\n private pendingResult: AerisConfirmPopupResult | null = null;\n private pendingReason: AerisConfirmPopupCloseReason = 'api';\n private pendingOriginalEvent: Event | null = null;\n\n protected readonly popupPanel = viewChild<ElementRef<HTMLElement>>('popupPanel');\n private readonly panelPortal = viewChild(ɵAerisAppendTo);\n protected readonly iconTemplate = contentChild(AerisConfirmPopupIconTemplate);\n protected readonly messageTemplate = contentChild(AerisConfirmPopupMessageTemplate);\n protected readonly footerTemplate = contentChild(AerisConfirmPopupFooterTemplate);\n protected readonly headlessTemplate = contentChild(AerisConfirmPopupHeadlessTemplate);\n protected readonly positioned = signal(false);\n protected readonly actualPlacement =\n signal<Exclude<AerisConfirmPopupPlacement, 'auto'>>('bottom');\n protected readonly coordinates = signal({ x: 0, y: 0 });\n protected readonly settings = computed(() => this.activeRequest()?.config ?? this.localConfig());\n protected readonly acceptButtonSeverity = computed<AerisButtonSeverity>(() => {\n const severity = this.settings().severity;\n return severity === 'neutral' ? 'secondary' : severity;\n });\n protected readonly templateContext = computed<AerisConfirmPopupTemplateContext>(() => ({\n $implicit: this,\n config: this.settings(),\n data: this.settings().data,\n accept: (event?: Event) => this.accept(event ?? null),\n reject: (event?: Event) => this.reject(event ?? null),\n close: (event?: Event) => this.close(event ?? null),\n }));\n protected readonly computedAriaLabelledBy = computed(() => {\n const labelledBy = this.settings().ariaLabelledBy;\n if (labelledBy) return labelledBy;\n if (this.settings().ariaLabel) return null;\n return this.settings().header && !this.headlessTemplate() ? this.titleId : null;\n });\n protected readonly computedAriaDescribedBy = computed(() => {\n const describedBy = this.settings().ariaDescribedBy;\n if (describedBy) return describedBy;\n return this.settings().message || this.messageTemplate() ? this.messageId : null;\n });\n protected readonly initialFocusTarget = computed(() => {\n const settings = this.settings();\n if (settings.initialFocus) return settings.initialFocus;\n switch (settings.defaultFocus) {\n case 'accept':\n return '.aeris-confirm-popup__accept';\n case 'reject':\n return '.aeris-confirm-popup__reject';\n case 'popup':\n return '.aeris-confirm-popup__panel';\n case 'none':\n return '';\n default:\n return '';\n }\n });\n protected readonly autoFocusTarget = computed(\n () => this.settings().autoFocus && this.settings().defaultFocus !== 'none',\n );\n\n readonly visible = model(false);\n\n readonly key = input('');\n readonly appendTo = input<AerisAppendTo>();\n readonly header = input('Confirm action');\n readonly message = input('');\n readonly data = input<unknown>();\n readonly icon = input<AerisConfirmPopupIcon>('question');\n readonly severity = input<AerisConfirmPopupSeverity>('primary');\n readonly acceptLabel = input('Confirm');\n readonly rejectLabel = input('Cancel');\n readonly acceptVisible = input(true, { transform: booleanAttribute });\n readonly rejectVisible = input(true, { transform: booleanAttribute });\n readonly acceptDisabled = input(false, { transform: booleanAttribute });\n readonly rejectDisabled = input(false, { transform: booleanAttribute });\n readonly acceptAriaLabel = input('');\n readonly rejectAriaLabel = input('');\n readonly defaultFocus = input<AerisConfirmPopupDefaultFocus>('accept');\n readonly placement = input<AerisConfirmPopupPlacement>('auto');\n readonly alignment = input<AerisConfirmPopupAlignment>('center');\n readonly width = input('');\n readonly maxWidth = input('');\n readonly offset = input(10);\n readonly viewportMargin = input(8);\n readonly closeOnOutsideClick = input(true, { transform: booleanAttribute });\n readonly closeOnEscape = input(true, { transform: booleanAttribute });\n readonly focusTrap = input(true, { transform: booleanAttribute });\n readonly restoreFocus = input(true, { transform: booleanAttribute });\n readonly autoFocus = input(true, { transform: booleanAttribute });\n readonly initialFocus = input('');\n readonly showArrow = input(true, { transform: booleanAttribute });\n readonly ariaLabel = input('');\n readonly ariaLabelledBy = input('');\n readonly ariaDescribedBy = input('');\n\n readonly opened = output<AerisConfirmPopupActionEvent>();\n readonly accepted = output<AerisConfirmPopupActionEvent>();\n readonly rejected = output<AerisConfirmPopupActionEvent>();\n readonly closed = output<AerisConfirmPopupCloseEvent>();\n\n readonly popupId = `aeris-confirm-popup-${nextPopupId++}`;\n readonly titleId = `${this.popupId}-title`;\n readonly messageId = `${this.popupId}-message`;\n\n constructor() {\n effect(() => {\n const request = this.service.request();\n if (!request || request.id === this.lastRequestId) return;\n if (request.config.key !== this.key()) return;\n this.lastRequestId = request.id;\n this.openRequest(request);\n });\n\n effect(() => {\n const closeSignal = this.service.closeSignal();\n if (closeSignal === this.lastCloseSignal) return;\n this.lastCloseSignal = closeSignal;\n this.close();\n });\n\n effect(() => {\n const visible = this.visible();\n if (visible === this.previousVisible) return;\n if (visible) {\n this.handleOpened();\n } else {\n this.handleHidden();\n }\n this.previousVisible = visible;\n });\n\n effect((onCleanup) => {\n if (!this.visible()) return;\n const keydown = (event: KeyboardEvent) => this.handleDocumentKeydown(event);\n const pointerdown = (event: PointerEvent) => this.handleDocumentPointerdown(event);\n const reposition = this.repositionFrame.schedule;\n const view = this.document.defaultView;\n this.document.addEventListener('keydown', keydown);\n this.document.addEventListener('pointerdown', pointerdown);\n view?.addEventListener('resize', reposition);\n view?.addEventListener('scroll', reposition);\n onCleanup(() => {\n this.document.removeEventListener('keydown', keydown);\n this.document.removeEventListener('pointerdown', pointerdown);\n view?.removeEventListener('resize', reposition);\n view?.removeEventListener('scroll', reposition);\n this.repositionFrame.cancel();\n });\n });\n }\n\n openWithConfig<TData>(\n config: AerisConfirmPopupResolvedConfig<TData>,\n ref: AerisConfirmPopupRef<TData>,\n ): void {\n this.openRequest({\n id: ++this.lastRequestId,\n config,\n ref,\n } as unknown as AerisConfirmPopupRequest);\n }\n\n accept(originalEvent: Event | null = null): void {\n const settings = this.settings();\n if (!this.visible() || settings.acceptDisabled || !settings.acceptVisible) return;\n const event = this.actionEvent(originalEvent);\n settings.accept?.(event);\n this.accepted.emit(event);\n this.activeRequest()?.ref.notifyAccepted(event);\n this.closeWithResult('accept', 'accept', originalEvent);\n }\n\n reject(originalEvent: Event | null = null): void {\n const settings = this.settings();\n if (!this.visible() || settings.rejectDisabled || !settings.rejectVisible) return;\n const event = this.actionEvent(originalEvent);\n settings.reject?.(event);\n this.rejected.emit(event);\n this.activeRequest()?.ref.notifyRejected(event);\n this.closeWithResult('reject', 'reject', originalEvent);\n }\n\n close(originalEvent: Event | null = null): void {\n if (!this.visible()) return;\n this.closeWithResult('dismiss', 'api', originalEvent);\n }\n\n focus(options?: FocusOptions): void {\n this.focusInitial(options);\n }\n\n reposition(): void {\n if (!this.visible()) return;\n const panel = this.popupPanel()?.nativeElement;\n const target = this.settings().target;\n const view = target.ownerDocument.defaultView;\n if (!panel || !view) return;\n\n const targetRect = target.getBoundingClientRect();\n const panelRect = panel.getBoundingClientRect();\n const width = panelRect.width || panel.offsetWidth || 320;\n const height = panelRect.height || panel.offsetHeight || 160;\n const settings = this.settings();\n const { placement, x, y } = aerisInternalPositionAnchoredOverlay({\n target: targetRect,\n width,\n height,\n placement: settings.placement,\n alignment: settings.alignment,\n offset: settings.offset,\n margin: settings.viewportMargin,\n viewportWidth: view.innerWidth,\n viewportHeight: view.innerHeight,\n });\n\n this.actualPlacement.set(placement);\n this.coordinates.set({ x, y });\n this.positioned.set(true);\n panel.style.left = `${x}px`;\n panel.style.top = `${y}px`;\n panel.setAttribute('data-placement', placement);\n panel.parentElement?.setAttribute('data-positioned', 'true');\n }\n\n protected handlePanelKeydown(event: KeyboardEvent): void {\n if (event.key !== 'Tab' || !this.settings().focusTrap) return;\n this.trapTab(event);\n }\n\n protected handleDocumentKeydown(event: KeyboardEvent): void {\n if (!this.visible() || event.key !== 'Escape' || !this.settings().closeOnEscape) return;\n event.preventDefault();\n this.closeWithResult('dismiss', 'escape', event);\n }\n\n protected handleDocumentPointerdown(event: PointerEvent): void {\n if (!this.visible() || !this.settings().closeOnOutsideClick) return;\n const target = event.target;\n if (!(target instanceof Node)) return;\n const panel = this.popupPanel()?.nativeElement;\n if (panel?.contains(target) || this.settings().target.contains(target)) return;\n this.closeWithResult('dismiss', 'outside', event);\n }\n\n private handleOpened(): void {\n this.positioned.set(false);\n this.updateTriggerAttributes(true);\n const event = this.actionEvent(null);\n this.opened.emit(event);\n this.activeRequest()?.ref.notifyOpened(event);\n queueMicrotask(() => {\n this.reposition();\n if (this.autoFocusTarget()) this.focusInitial();\n });\n }\n\n private handleHidden(): void {\n this.panelPortal()?.restore();\n const restoreFocus = this.settings().restoreFocus;\n const focusTarget = this.settings().target;\n const result = this.pendingResult ?? 'dismiss';\n const reason = this.pendingReason;\n const originalEvent = this.pendingOriginalEvent;\n const closeEvent: AerisConfirmPopupCloseEvent = {\n ...this.actionEvent(originalEvent),\n result,\n reason,\n };\n const ref = this.activeRequest()?.ref;\n\n this.updateTriggerAttributes(false);\n this.visible.set(false);\n this.positioned.set(false);\n this.pendingResult = null;\n this.pendingReason = 'api';\n this.pendingOriginalEvent = null;\n this.activeRequest.set(null);\n this.closed.emit(closeEvent);\n ref?.notifyClosed(closeEvent);\n\n if (restoreFocus) {\n queueMicrotask(() => this.focusTarget(focusTarget));\n }\n }\n\n private openRequest(request: AerisConfirmPopupRequest): void {\n this.pendingResult = null;\n this.pendingReason = 'api';\n this.pendingOriginalEvent = null;\n this.activeRequest.set(request);\n request.ref.attach({\n accept: (originalEvent) => this.accept(originalEvent),\n reject: (originalEvent) => this.reject(originalEvent),\n close: (originalEvent) => this.close(originalEvent),\n focus: (options) => this.focus(options),\n reposition: () => this.reposition(),\n });\n this.visible.set(true);\n }\n\n private closeWithResult(\n result: AerisConfirmPopupResult,\n reason: AerisConfirmPopupCloseReason,\n originalEvent: Event | null,\n ): void {\n this.pendingResult = result;\n this.pendingReason = reason;\n this.pendingOriginalEvent = originalEvent;\n this.panelPortal()?.restore();\n this.visible.set(false);\n }\n\n private actionEvent(originalEvent: Event | null): AerisConfirmPopupActionEvent {\n const settings = this.settings();\n return {\n originalEvent,\n data: settings.data,\n config: settings,\n };\n }\n\n private updateTriggerAttributes(open: boolean): void {\n const target = this.settings().target;\n if (open) {\n this.triggerAttributes.set({\n target,\n expanded: target.getAttribute('aria-expanded'),\n controls: target.getAttribute('aria-controls'),\n haspopup: target.getAttribute('aria-haspopup'),\n });\n target.setAttribute('aria-haspopup', 'dialog');\n target.setAttribute('aria-expanded', 'true');\n target.setAttribute('aria-controls', this.popupId);\n return;\n }\n\n const previous = this.triggerAttributes();\n if (!previous) return;\n if (previous.expanded === null) {\n previous.target.removeAttribute('aria-expanded');\n } else {\n previous.target.setAttribute('aria-expanded', previous.expanded);\n }\n if (previous.controls === null) {\n previous.target.removeAttribute('aria-controls');\n } else {\n previous.target.setAttribute('aria-controls', previous.controls);\n }\n if (previous.haspopup === null) {\n previous.target.removeAttribute('aria-haspopup');\n } else {\n previous.target.setAttribute('aria-haspopup', previous.haspopup);\n }\n this.triggerAttributes.set(null);\n }\n\n private focusInitial(options?: FocusOptions): void {\n const panel = this.popupPanel()?.nativeElement;\n if (!panel) return;\n aerisInternalFocusInitialElement(panel, this.initialFocusTarget(), options);\n }\n\n private trapTab(event: KeyboardEvent): void {\n const panel = this.popupPanel()?.nativeElement;\n if (!panel) return;\n aerisInternalTrapTabFocus(event, panel, this.activeHtmlElement());\n }\n\n private activeHtmlElement(): HTMLElement | null {\n const active = this.settings().target.ownerDocument.activeElement;\n return active instanceof HTMLElement ? active : null;\n }\n\n private focusTarget(target: Element): void {\n if (target instanceof HTMLElement) target.focus();\n }\n\n private localTarget(): Element {\n const target = this.target();\n if (target instanceof Element) return target;\n if (target instanceof Event) {\n const eventTarget = target.currentTarget ?? target.target;\n if (eventTarget instanceof Element) return eventTarget;\n }\n throw new Error('AerisConfirmPopup requires a target Element or trigger Event.');\n }\n}\n\nexport const AerisConfirmPopupModule = [\n AerisConfirmPopup,\n AerisConfirmPopupIconTemplate,\n AerisConfirmPopupMessageTemplate,\n AerisConfirmPopupFooterTemplate,\n AerisConfirmPopupHeadlessTemplate,\n] as const;\n"],"mappings":";;;;;AAmKA,IAAM,+BAAN,MAAkC;CACf,4BAAY,IAAI,IAAG;CAC5B,YAAY;CAEpB,UAAU,MAAwB;EAChC,IAAI,KAAK,WAAW,OAAO,EAAE,mBAAmB,OAAS;EACzD,KAAK,UAAU,IAAI,IAAI;EACvB,OAAO,EACL,mBAAkB;GAChB,KAAK,UAAU,OAAO,IAAI;EAC5B,EACD;CACH;CAEA,KAAK,OAAQ;EACX,IAAI,KAAK,WAAW;EACpB,KAAK,MAAM,YAAY,CAAC,GAAG,KAAK,SAAS,GAAG,SAAS,KAAK;CAC5D;CAEA,WAAQ;EACN,KAAK,YAAY;EACjB,KAAK,UAAU,MAAK;CACtB;AACD;AAGD,IAAa,gCAAb,MAAa,8BAA6B;CAC/B,WAAW,OAAsD,WAAW;CAD1E,OAAA,OAAA,GAAA,mBAAA;EAAA,YAAA;EAAA,SAAA;EAAA,UAAA;EAAA,MAAA;EAA6B,MAAA,CAAA;EAAA,QAAA,GAAA,gBAAA;CAAA,CAAA;CAA7B,OAAA,OAAA,GAAA,qBAAA;EAAA,YAAA;EAAA,SAAA;EAAA,MAAA;EAA6B,cAAA;EAAA,UAAA;EAAA,UAAA;CAAA,CAAA;;AAA7B,GAAA,yBAAA;CAAA,YAAA;CAAA,SAAA;CAAA,UAAA;CAAA,MAAA;CAA6B,YAAA,CAAA;EADzC,MAAA;EAAU,MAAA,CAAA,EAAE,UAAU,qCAAoC,CAAE;;;AAM7D,IAAa,mCAAb,MAAa,iCAAgC;CAClC,WAAW,OAAsD,WAAW;CAD1E,OAAA,OAAA,GAAA,mBAAA;EAAA,YAAA;EAAA,SAAA;EAAA,UAAA;EAAA,MAAA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AA,MAAA,GAAA;GAAA,MAAA,CAAA;IAAA,UAAA;IAAA,OAAA;IAAA,UAAA;GAAA,CAAA;EAAA,CAAA;EAAA,WAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA;IAAA,UAAA;IAAA,OAAA;IAAA,UAAA;GAAA,CAAA;EAAA,CAAA;EAAA,WAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA;IAAA,UAAA;IAAA,OAAA;IAAA,UAAA;GAAA,CAAA;EAAA,CAAA;EAAA,gBAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA;IAAA,UAAA;IAAA,OAAA;IAAA,UAAA;GAAA,CAAA;EAAA,CAAA;EAAA,iBAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA;IAAA,UAAA;IAAA,OAAA;IAAA,UAAA;GAAA,CAAA;EAAA,CAAA;EAAA,QAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA,QAAA;EAAA,CAAA;EAAA,UAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA,UAAA;EAAA,CAAA;EAAA,UAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA,UAAA;EAAA,CAAA;EAAA,QAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA,QAAA;EAAA,CAAA;CAAA;AAAA,CAAA;AAyXtF,MAAa,0BAA0B;CACrC;CACA;CACA;CACA;CACA;AACQ"}
@@ -6,7 +6,7 @@ var AerisContextMenuItemTemplate = class AerisContextMenuItemTemplate {
6
6
  template = inject(TemplateRef);
7
7
  static ɵfac = i0.ɵɵngDeclareFactory({
8
8
  minVersion: "12.0.0",
9
- version: "22.2.3",
9
+ version: "22.2.4",
10
10
  ngImport: i0,
11
11
  type: AerisContextMenuItemTemplate,
12
12
  deps: [],
@@ -14,7 +14,7 @@ var AerisContextMenuItemTemplate = class AerisContextMenuItemTemplate {
14
14
  });
15
15
  static ɵdir = i0.ɵɵngDeclareDirective({
16
16
  minVersion: "14.0.0",
17
- version: "22.2.3",
17
+ version: "22.2.4",
18
18
  type: AerisContextMenuItemTemplate,
19
19
  isStandalone: true,
20
20
  selector: "ng-template[aerisContextMenuItem]",
@@ -23,7 +23,7 @@ var AerisContextMenuItemTemplate = class AerisContextMenuItemTemplate {
23
23
  };
24
24
  i0.ɵɵngDeclareClassMetadata({
25
25
  minVersion: "12.0.0",
26
- version: "22.2.3",
26
+ version: "22.2.4",
27
27
  ngImport: i0,
28
28
  type: AerisContextMenuItemTemplate,
29
29
  decorators: [{
@@ -429,7 +429,7 @@ var AerisContextMenu = class AerisContextMenu {
429
429
  }
430
430
  static ɵfac = i0.ɵɵngDeclareFactory({
431
431
  minVersion: "12.0.0",
432
- version: "22.2.3",
432
+ version: "22.2.4",
433
433
  ngImport: i0,
434
434
  type: AerisContextMenu,
435
435
  deps: [],
@@ -437,7 +437,7 @@ var AerisContextMenu = class AerisContextMenu {
437
437
  });
438
438
  static ɵcmp = i0.ɵɵngDeclareComponent({
439
439
  minVersion: "17.0.0",
440
- version: "22.2.3",
440
+ version: "22.2.4",
441
441
  type: AerisContextMenu,
442
442
  isStandalone: true,
443
443
  selector: "aeris-context-menu",
@@ -842,7 +842,7 @@ var AerisContextMenu = class AerisContextMenu {
842
842
  };
843
843
  i0.ɵɵngDeclareClassMetadata({
844
844
  minVersion: "12.0.0",
845
- version: "22.2.3",
845
+ version: "22.2.4",
846
846
  ngImport: i0,
847
847
  type: AerisContextMenu,
848
848
  decorators: [{
@@ -517,7 +517,7 @@ var ɵAerisDatePickerInput = class ɵAerisDatePickerInput {
517
517
  }
518
518
  static ɵfac = i0.ɵɵngDeclareFactory({
519
519
  minVersion: "12.0.0",
520
- version: "22.2.3",
520
+ version: "22.2.4",
521
521
  ngImport: i0,
522
522
  type: ɵAerisDatePickerInput,
523
523
  deps: [],
@@ -525,7 +525,7 @@ var ɵAerisDatePickerInput = class ɵAerisDatePickerInput {
525
525
  });
526
526
  static ɵcmp = i0.ɵɵngDeclareComponent({
527
527
  minVersion: "17.0.0",
528
- version: "22.2.3",
528
+ version: "22.2.4",
529
529
  type: ɵAerisDatePickerInput,
530
530
  isStandalone: true,
531
531
  selector: "aeris-internal-date-picker-input",
@@ -717,7 +717,7 @@ var ɵAerisDatePickerInput = class ɵAerisDatePickerInput {
717
717
  };
718
718
  i0.ɵɵngDeclareClassMetadata({
719
719
  minVersion: "12.0.0",
720
- version: "22.2.3",
720
+ version: "22.2.4",
721
721
  ngImport: i0,
722
722
  type: ɵAerisDatePickerInput,
723
723
  decorators: [{
@@ -943,4 +943,4 @@ i0.ɵɵngDeclareClassMetadata({
943
943
  });
944
944
  export { ɵAerisDatePickerInput };
945
945
 
946
- //# sourceMappingURL=aeris-ui-core-date-picker-aeris-date-picker-input-jAhzMzLQ.mjs.map
946
+ //# sourceMappingURL=aeris-ui-core-date-picker-aeris-date-picker-input-66V2U8rC.mjs.map