import * as _qualcomm_ui_angular_core_machine from '@qualcomm-ui/angular-core/machine'; import { ApiContextDirective, BaseApiContextService } from '@qualcomm-ui/angular-core/machine'; import * as _qualcomm_ui_qds_core_dialog from '@qualcomm-ui/qds-core/dialog'; import { QdsDialogApi, QdsDialogApiProps, QdsDialogEmphasis, QdsDialogPlacement, QdsDialogScrollBehavior, QdsDialogSize } from '@qualcomm-ui/qds-core/dialog'; import { CoreDialogBackdropDirective, CoreDialogBodyDirective, CoreDialogCloseTriggerDirective, CoreDialogContentDirective, CoreDialogDescriptionDirective, CoreDialogFooterDirective, CoreDialogHeadingDirective, CoreDialogPositionerDirective, CoreDialogRootDirective, CoreDialogTriggerDirective } from '@qualcomm-ui/angular-core/dialog'; import * as i0 from '@angular/core'; import { ElementRef, OnInit } from '@angular/core'; import * as lucide_angular from 'lucide-angular'; import { Booleanish } from '@qualcomm-ui/utils/coercion'; import * as _qualcomm_ui_qds_core_inline_icon_button from '@qualcomm-ui/qds-core/inline-icon-button'; import { DialogApi } from '@qualcomm-ui/core/dialog'; import { SignalifyInput } from '@qualcomm-ui/angular-core/signals'; import * as i16 from '@qualcomm-ui/angular/icon'; import * as i17 from '@angular/common'; import * as i18 from '@qualcomm-ui/angular-core/portal'; /** * The backdrop that overlays the content behind the dialog. */ declare class DialogBackdropDirective extends CoreDialogBackdropDirective { protected readonly qdsContext: () => _qualcomm_ui_qds_core_dialog.QdsDialogApi; protected readonly trackBindings: ((opts?: _qualcomm_ui_angular_core_machine.TrackBindingsConfig) => void) & { extendWith: (computedProps: () => _qualcomm_ui_angular_core_machine.Dict) => void; setDisabled: (disabled: boolean) => void; }; ngOnInit(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } /** * The main content of the dialog. Container for the heading, description, * indicator, and primary content of the dialog. */ declare class DialogBodyComponent extends CoreDialogBodyDirective { protected readonly qdsContext: () => _qualcomm_ui_qds_core_dialog.QdsDialogApi; /** * Hides the indicator icon. */ readonly hideIndicatorIcon: i0.InputSignalWithTransform; readonly indicatorIcon: i0.Signal; constructor(); static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } /** * A button that closes the dialog. */ declare class DialogCloseButtonComponent extends CoreDialogCloseTriggerDirective { protected readonly qdsContext: () => _qualcomm_ui_qds_core_dialog.QdsDialogApi; protected readonly buttonApi: i0.Signal<_qualcomm_ui_qds_core_inline_icon_button.QdsInlineIconButtonApi>; constructor(); static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } /** * A trigger element that closes the dialog when activated. */ declare class DialogCloseTriggerDirective extends CoreDialogCloseTriggerDirective { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } /** * A container for the dialog contents. */ declare class DialogContentDirective extends CoreDialogContentDirective { protected readonly qdsContext: () => _qualcomm_ui_qds_core_dialog.QdsDialogApi; constructor(); static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } declare class DialogContextDirective extends ApiContextDirective { constructor(); /** * Provides intellisense for the context in the template. */ static ngTemplateContextGuard(dir: DialogContextDirective, ctx: unknown): ctx is { $implicit: DialogApi; }; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } /** * A description that provides additional context about the dialog. */ declare class DialogDescriptionDirective extends CoreDialogDescriptionDirective { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } /** * A helper component that combines the portal, positioner, and content * components. */ declare class DialogFloatingPortalComponent { /** * Set this to true to disable portalling behavior, causing the children to be * rendered as-is. */ readonly disabled: i0.InputSignalWithTransform; /** * Override the element that the portal is attached to. */ readonly container: i0.InputSignal | null>; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } /** * The footer section of the dialog. Typically contains action buttons. */ declare class DialogFooterDirective extends CoreDialogFooterDirective { protected readonly qdsContext: () => _qualcomm_ui_qds_core_dialog.QdsDialogApi; constructor(); static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } /** * A heading that labels the dialog. */ declare class DialogHeadingDirective extends CoreDialogHeadingDirective { protected readonly qdsContext: () => _qualcomm_ui_qds_core_dialog.QdsDialogApi; constructor(); static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } /** * An icon that indicates the dialog's status. */ declare class DialogIndicatorIconDirective implements OnInit { protected readonly qdsContext: () => _qualcomm_ui_qds_core_dialog.QdsDialogApi; protected trackBindings: ((opts?: _qualcomm_ui_angular_core_machine.TrackBindingsConfig) => void) & { extendWith: (computedProps: () => _qualcomm_ui_angular_core_machine.Dict) => void; setDisabled: (disabled: boolean) => void; }; ngOnInit(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } /** * A container for the dialog content that handles positioning. */ declare class DialogPositionerComponent extends CoreDialogPositionerDirective { protected readonly qdsContext: () => _qualcomm_ui_qds_core_dialog.QdsDialogApi; constructor(); static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } declare class QdsDialogContextService extends BaseApiContextService { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare const QDS_DIALOG_CONTEXT: i0.InjectionToken<() => QdsDialogApi>; declare const useQdsDialogContext: (opts?: _qualcomm_ui_angular_core_machine.UseContextOpts | undefined) => Optional extends true ? (() => QdsDialogApi) | null : () => QdsDialogApi; declare const provideQdsDialogContext: () => i0.Provider[]; /** * The root component that provides context for the dialog and its parts. */ declare class DialogRootDirective extends CoreDialogRootDirective implements SignalifyInput, OnInit { /** * The style variant of the dialog's indicator. * * @default 'neutral' */ readonly emphasis: i0.InputSignal; /** * The vertical placement of the dialog within the viewport. * * @option `'top'`: The dialog is positioned at the top of the viewport. * @option `'center'`: The dialog is positioned at the center of the viewport. * @option `'bottom'`: The dialog is positioned at the bottom of the viewport. * * @default 'top' */ readonly placement: i0.InputSignal; /** * Defines the scroll behavior of the dialog content when modal content exceeds * viewport height. * * @option `'inside'`: The modal and backdrop create an internal scroll area within the modal. * @option `'outside'`: The modal and backdrop move with the page scroll instead of creating an internal scroll area within the modal. * * @default 'outside' */ readonly scrollBehavior: i0.InputSignal; /** * The size of the dialog's content area and fonts. A smaller size uses less * horizontal space. * * @default 'sm' */ readonly size: i0.InputSignal; protected readonly qdsDialogService: QdsDialogContextService; ngOnInit(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } /** * A trigger element that opens the dialog when activated. */ declare class DialogTriggerDirective extends CoreDialogTriggerDirective { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } declare class DialogModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } export { DialogBackdropDirective, DialogBodyComponent, DialogCloseButtonComponent, DialogCloseTriggerDirective, DialogContentDirective, DialogContextDirective, DialogDescriptionDirective, DialogFloatingPortalComponent, DialogFooterDirective, DialogHeadingDirective, DialogIndicatorIconDirective, DialogModule, DialogPositionerComponent, DialogRootDirective, DialogTriggerDirective, QDS_DIALOG_CONTEXT, QdsDialogContextService, provideQdsDialogContext, useQdsDialogContext }; //# sourceMappingURL=qualcomm-ui-angular-dialog.d.ts.map