import * as i0 from '@angular/core'; import { InjectionToken, NgZone, ChangeDetectorRef, ElementRef, EventEmitter, AfterViewInit, OnChanges, SimpleChanges, AfterContentInit, OnInit, ModuleWithProviders } from '@angular/core'; import * as _haiilo_catalyst from '@haiilo/catalyst'; import { CatI18nRegistry, CatIconRegistry, CatNotificationService, Components, CatDateViewRange, CatSelectValue, CatSelectConnector } from '@haiilo/catalyst'; import log from 'loglevel'; import { ControlValueAccessor, NgControl, ControlContainer } from '@angular/forms'; import * as i15 from '@angular/common'; import * as i16 from '@angular/cdk/dialog'; import { DialogConfig, DialogRef } from '@angular/cdk/dialog'; import { ComponentType } from '@angular/cdk/portal'; import { Observable } from 'rxjs'; declare const CAT_LOG_TOKEN: InjectionToken; declare const CAT_I18N_REGISTRY_TOKEN: InjectionToken; declare const CAT_ICON_REGISTRY_TOKEN: InjectionToken; declare const CAT_NOTIFICATION_SERVICE_TOKEN: InjectionToken; declare class CatAlert { protected z: NgZone; protected el: HTMLCatAlertElement; constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone); static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare interface CatAlert extends Components.CatAlert { } declare class CatAvatar { protected z: NgZone; protected el: HTMLCatAvatarElement; constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone); static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare interface CatAvatar extends Components.CatAvatar { } declare class CatBadge { protected z: NgZone; protected el: HTMLCatBadgeElement; constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone); static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare interface CatBadge extends Components.CatBadge { } declare class CatButton { protected z: NgZone; protected el: HTMLCatButtonElement; catClick: EventEmitter>; catFocus: EventEmitter>; catBlur: EventEmitter>; constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone); static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare interface CatButton extends Components.CatButton { /** * Emitted when the button is clicked. */ catClick: EventEmitter>; /** * Emitted when the button received focus. */ catFocus: EventEmitter>; /** * Emitted when the button loses focus. */ catBlur: EventEmitter>; } declare class CatButtonGroup { protected z: NgZone; protected el: HTMLCatButtonGroupElement; constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone); static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare interface CatButtonGroup extends Components.CatButtonGroup { } declare class CatCard { protected z: NgZone; protected el: HTMLCatCardElement; catLoad: EventEmitter>; constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone); static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare interface CatCard extends Components.CatCard { /** * Emitted when the card and all the children are fully loaded. */ catLoad: EventEmitter>; } declare class CatCheckbox { protected z: NgZone; protected el: HTMLCatCheckboxElement; catChange: EventEmitter>; catFocus: EventEmitter>; catBlur: EventEmitter>; constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone); static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare interface CatCheckbox extends Components.CatCheckbox { /** * Emitted when the checked status of the checkbox is changed. */ catChange: EventEmitter>; /** * Emitted when the checkbox received focus. */ catFocus: EventEmitter>; /** * Emitted when the checkbox loses focus. */ catBlur: EventEmitter>; } declare class CatDate { protected z: NgZone; protected el: HTMLCatDateElement; catChange: EventEmitter>; catDateViewChange: EventEmitter>; catFocus: EventEmitter>; catBlur: EventEmitter>; constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone); static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare interface CatDate extends Components.CatDate { /** * Emitted when the value is changed. */ catChange: EventEmitter>; /** * Emitted with the visible inclusive calendar range and whenever that range changes. */ catDateViewChange: EventEmitter>; /** * Emitted when the input received focus. */ catFocus: EventEmitter>; /** * Emitted when the input loses focus. */ catBlur: EventEmitter>; } declare class CatDateInline { protected z: NgZone; protected el: HTMLCatDateInlineElement; catChange: EventEmitter>; catDateViewChange: EventEmitter>; constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone); static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare interface CatDateInline extends Components.CatDateInline { /** * Emitted when the value is changed. */ catChange: EventEmitter>; /** * Emitted with the visible inclusive calendar range and whenever that range changes. */ catDateViewChange: EventEmitter>; } declare class CatDatepicker { protected z: NgZone; protected el: HTMLCatDatepickerElement; catChange: EventEmitter>; catFocus: EventEmitter>; catBlur: EventEmitter>; constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone); static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare interface CatDatepicker extends Components.CatDatepicker { /** * Emitted when the value is changed. */ catChange: EventEmitter>; /** * Emitted when the input received focus. */ catFocus: EventEmitter>; /** * Emitted when the input loses focus. */ catBlur: EventEmitter>; } declare class CatDatepickerInline { protected z: NgZone; protected el: HTMLCatDatepickerInlineElement; catChange: EventEmitter>; constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone); static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare interface CatDatepickerInline extends Components.CatDatepickerInline { /** * Emitted when the value is changed. */ catChange: EventEmitter>; } declare class CatDropdown { protected z: NgZone; protected el: HTMLCatDropdownElement; catOpen: EventEmitter>; catClose: EventEmitter>; constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone); static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare interface CatDropdown extends Components.CatDropdown { /** * Emitted when the dropdown is opened. */ catOpen: EventEmitter>; /** * Emitted when the dropdown is closed. */ catClose: EventEmitter>; } declare class CatFormGroup { protected z: NgZone; protected el: HTMLCatFormGroupElement; constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone); static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare interface CatFormGroup extends Components.CatFormGroup { } declare class CatIcon { protected z: NgZone; protected el: HTMLCatIconElement; constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone); static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare interface CatIcon extends Components.CatIcon { } declare class CatInput { protected z: NgZone; protected el: HTMLCatInputElement; catChange: EventEmitter>; catFocus: EventEmitter>; catBlur: EventEmitter>; catChangeFiles: EventEmitter>; constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone); static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare interface CatInput extends Components.CatInput { /** * Emitted when the value is changed. */ catChange: EventEmitter>; /** * Emitted when the input received focus. */ catFocus: EventEmitter>; /** * Emitted when the input loses focus. */ catBlur: EventEmitter>; /** * Emitted if the input type is "file" and files are selected. */ catChangeFiles: EventEmitter>; } declare class CatMenu { protected z: NgZone; protected el: HTMLCatMenuElement; catOpen: EventEmitter>; catClose: EventEmitter>; catTriggerClick: EventEmitter>; constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone); static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare interface CatMenu extends Components.CatMenu { /** * Emitted when the dropdown is opened. */ catOpen: EventEmitter>; /** * Emitted when the dropdown is closed. */ catClose: EventEmitter>; /** * Emitted when the trigger button is clicked. */ catTriggerClick: EventEmitter>; } declare class CatMenuItem { protected z: NgZone; protected el: HTMLCatMenuItemElement; catClick: EventEmitter>; constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone); static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare interface CatMenuItem extends Components.CatMenuItem { /** * Emitted when the trigger button is clicked. */ catClick: EventEmitter>; } declare class CatPagination { protected z: NgZone; protected el: HTMLCatPaginationElement; catChange: EventEmitter>; constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone); static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare interface CatPagination extends Components.CatPagination { /** * Emitted when the page of the pagination has changed. */ catChange: EventEmitter>; } declare class CatRadio { protected z: NgZone; protected el: HTMLCatRadioElement; catChange: EventEmitter>; catFocus: EventEmitter>; catBlur: EventEmitter>; constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone); static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare interface CatRadio extends Components.CatRadio { /** * Emitted when the radio is changed. */ catChange: EventEmitter>; /** * Emitted when the radio received focus. */ catFocus: EventEmitter>; /** * Emitted when the radio loses focus. */ catBlur: EventEmitter>; } declare class CatRadioGroup { protected z: NgZone; protected el: HTMLCatRadioGroupElement; catChange: EventEmitter>; catFocus: EventEmitter>; catBlur: EventEmitter>; constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone); static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare interface CatRadioGroup extends Components.CatRadioGroup { /** * Emitted when the value is changed. */ catChange: EventEmitter>; /** * Emitted when the radio group received focus. */ catFocus: EventEmitter>; /** * Emitted when the radio group loses focus. */ catBlur: EventEmitter>; } declare class CatScrollable { protected z: NgZone; protected el: HTMLCatScrollableElement; scrolledTop: EventEmitter>; scrolledLeft: EventEmitter>; scrolledRight: EventEmitter>; scrolledBottom: EventEmitter>; constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone); static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare interface CatScrollable extends Components.CatScrollable { /** * Emitted when the content is fully scrolled to the top. */ scrolledTop: EventEmitter>; /** * Emitted when the content is fully scrolled to the left. */ scrolledLeft: EventEmitter>; /** * Emitted when the content is fully scrolled to the right. */ scrolledRight: EventEmitter>; /** * Emitted when the content is fully scrolled to the bottom. */ scrolledBottom: EventEmitter>; } declare class CatSegment { protected z: NgZone; protected el: HTMLCatSegmentElement; constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone); static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare interface CatSegment extends Components.CatSegment { } declare class CatSegmentedControl { protected z: NgZone; protected el: HTMLCatSegmentedControlElement; catChange: EventEmitter>; catFocus: EventEmitter>; catBlur: EventEmitter>; constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone); static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare interface CatSegmentedControl extends Components.CatSegmentedControl { /** * Emitted when the selected segment changes. Payload is the new segment value. */ catChange: EventEmitter>; /** * Emitted when a segment gains focus. Payload is the segment value. */ catFocus: EventEmitter>; /** * Emitted when a segment loses focus. Payload is the segment value. */ catBlur: EventEmitter>; } declare class CatSelect { protected z: NgZone; protected el: HTMLCatSelectElement; catOpen: EventEmitter>; catClose: EventEmitter>; catChange: EventEmitter>; catBlur: EventEmitter>; constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone); static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare interface CatSelect extends Components.CatSelect { /** * Emitted when the select dropdown is opened. */ catOpen: EventEmitter>; /** * Emitted when the select dropdown is closed. */ catClose: EventEmitter>; /** * Emitted when the value is changed. */ catChange: EventEmitter>; /** * Emitted when the select loses the focus. */ catBlur: EventEmitter>; } declare class CatSelectDemo { protected z: NgZone; protected el: HTMLCatSelectDemoElement; constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone); static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare interface CatSelectDemo extends Components.CatSelectDemo { } declare class CatSkeleton { protected z: NgZone; protected el: HTMLCatSkeletonElement; constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone); static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare interface CatSkeleton extends Components.CatSkeleton { } declare class CatSpinner { protected z: NgZone; protected el: HTMLCatSpinnerElement; constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone); static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare interface CatSpinner extends Components.CatSpinner { } declare class CatTab { protected z: NgZone; protected el: HTMLCatTabElement; catClick: EventEmitter>; constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone); static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare interface CatTab extends Components.CatTab { /** * Emitted when tab is clicked. */ catClick: EventEmitter>; } declare class CatTabs { protected z: NgZone; protected el: HTMLCatTabsElement; catChange: EventEmitter>; constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone); static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare interface CatTabs extends Components.CatTabs { /** * Emitted when active tab is changed. */ catChange: EventEmitter>; } declare class CatTag { protected z: NgZone; protected el: HTMLCatTagElement; catChange: EventEmitter>; catFocus: EventEmitter>; catBlur: EventEmitter>; constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone); static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare interface CatTag extends Components.CatTag { /** * Emitted when the value is changed. */ catChange: EventEmitter>; /** * Emitted when the input received focus. */ catFocus: EventEmitter>; /** * Emitted when the input loses focus. */ catBlur: EventEmitter>; } declare class CatTextarea { protected z: NgZone; protected el: HTMLCatTextareaElement; catChange: EventEmitter>; catFocus: EventEmitter>; catBlur: EventEmitter>; constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone); static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare interface CatTextarea extends Components.CatTextarea { /** * Emitted when the value is changed. */ catChange: EventEmitter>; /** * Emitted when the textarea received focus. */ catFocus: EventEmitter>; /** * Emitted when the textarea loses focus. */ catBlur: EventEmitter>; } declare class CatTime { protected z: NgZone; protected el: HTMLCatTimeElement; catChange: EventEmitter>; catFocus: EventEmitter>; catBlur: EventEmitter>; constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone); static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare interface CatTime extends Components.CatTime { /** * Emitted when the value is changed. */ catChange: EventEmitter>; /** * Emitted when the input received focus. */ catFocus: EventEmitter>; /** * Emitted when the input loses focus. */ catBlur: EventEmitter>; } declare class CatToggle { protected z: NgZone; protected el: HTMLCatToggleElement; catChange: EventEmitter>; catFocus: EventEmitter>; catBlur: EventEmitter>; constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone); static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare interface CatToggle extends Components.CatToggle { /** * Emitted when the checked status of the toggle is changed. */ catChange: EventEmitter>; /** * Emitted when the toggle received focus. */ catFocus: EventEmitter>; /** * Emitted when the toggle loses focus. */ catBlur: EventEmitter>; } declare class CatTooltip { protected z: NgZone; protected el: HTMLCatTooltipElement; constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone); static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare interface CatTooltip extends Components.CatTooltip { } declare class ValueAccessor implements ControlValueAccessor { protected el: ElementRef; private onChange; private onTouched; protected lastValue: any; constructor(el: ElementRef); writeValue(value: any): void; handleChangeEvent(value: any): void; _handleBlurEvent(): void; registerOnChange(fn: (value: any) => void): void; registerOnTouched(fn: () => void): void; setDisabledState(isDisabled: boolean): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } declare class BooleanValueAccessor extends ValueAccessor { constructor(el: ElementRef); writeValue(value: any): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } declare class DateValueAccessor extends ValueAccessor implements AfterViewInit { private readonly ngControl?; constructor(el: ElementRef, ngControl?: NgControl | undefined); get nativeElement(): any; ngAfterViewInit(): void; writeValue(value: any): void; handleChangeEvent(value: any): void; updateErrors(): void; private toISO; private toDate; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } declare class RadioValueAccessor extends ValueAccessor { constructor(el: ElementRef); static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } declare class SelectValueAccessor extends ValueAccessor { constructor(el: ElementRef); static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } declare class SelectValueAccessorDecorator implements OnChanges { private readonly el; /** * The connector to use for the select. */ connector?: CatSelectConnector; constructor(el: ElementRef); ngOnChanges({ connector }: SimpleChanges): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } declare class TextValueAccessor extends ValueAccessor { constructor(el: ElementRef); static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } declare class TimeValueAccessor extends ValueAccessor implements AfterViewInit { private readonly ngControl?; constructor(el: ElementRef, ngControl?: NgControl | undefined); get nativeElement(): any; ngAfterViewInit(): void; writeValue(value: any): void; handleChangeEvent(value: any): void; updateErrors(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } declare class ValueAccessorDecorator implements AfterViewInit { private readonly el; private readonly controlDirective?; private controlContainer?; /** * Whether to show errors directly after initialization * (i.e. before the user has interacted with the input). */ errorInit: boolean; constructor(el: ElementRef, controlDirective?: NgControl | undefined, controlContainer?: ControlContainer | undefined); ngAfterViewInit(): void; updateErrors(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } declare class DatetimeComponent implements AfterContentInit, ControlValueAccessor { protected lastValue: any; protected lastDateValue: any; protected lastTimeValue: any; dateInput?: DateValueAccessor; timeInput?: TimeValueAccessor; private _min?; get min(): Date | null; set min(value: Date | null | undefined); private _max?; get max(): Date | null; set max(value: Date | null | undefined); ngAfterContentInit(): void; writeValue(value: any): void; registerOnChange(fn: (value: any) => void): void; registerOnTouched(fn: () => void): void; setDisabledState?(isDisabled: boolean): void; private get value(); private limitTime; private toLocalISODate; private toLocalISOTime; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } /** * A modal dialog. */ declare class CatDialogComponent implements AfterContentInit { /** * Flag to disable scrolling behavior of dialog content. Default is false. If set to true the * using component is responsible for not overflowing the viewport. */ noScroll: boolean; /** * Flag to disable/enable overscroll behavior. */ noOverscroll: boolean; /** * Flag to not fire an initial scroll event after content initialization. */ noScrolledInit: boolean; /** * Buffer to be used to calculate the content scroll distance. */ scrolledBuffer: number; /** * Emitted when the dialog content is fully scrolled to the bottom. */ scrolledBottom: EventEmitter; private header?; private readonly dialogRef; ngAfterContentInit(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } /** * The header of a dialog. */ declare class CatDialogHeaderComponent { protected readonly closeTxt: string; protected readonly i18n: _haiilo_catalyst.CatI18nRegistry; constructor(); /** * The title of the dialog. */ headline?: string; /** * The subtitle of the dialog. */ subline?: string; /** * Whether the dialog can be closed via a close button. */ closable: boolean; /** * Emits when the close button is clicked. */ close: EventEmitter; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } /** * The bottom actions of a dialog. */ declare class CatDialogActionsComponent { /** * Horizontal alignment of action buttons. */ align: 'start' | 'center' | 'end' | 'space-between'; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } /** * A directive that can be used to add a Catalyst tooltip to an element. */ declare class CatTooltipDirective implements OnInit, OnChanges { catTooltip: string; private component?; private readonly templateRef; private readonly viewContainer; ngOnInit(): void; ngOnChanges(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } declare class CatalystModule { static forRoot(): ModuleWithProviders; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } /** * Injection token for custom dialog sizes. The map should contain a key-value * pair of size names and their corresponding CSS width values. The key `default` * is used as the default size when no size is specified. */ declare const CAT_DIALOG_SIZE_TOKEN: InjectionToken<{ [key: string]: string; }>; /** * Configuration options for modal dialogs. */ type CatDialogConfig = Pick, 'data' | 'disableClose' | 'height' | 'role' | 'width' | 'panelClass' | 'restoreFocus'>; /** * A service for managing modal dialogs. */ declare class CatDialogService { private readonly dialog; private readonly size; /** * Opens a modal dialog containing the given component. * * @param component The component to render as dialog content. * @param config The dialog configuration. * @returns The return value of the dialog. */ open(component: ComponentType, config?: CatDialogConfig): Observable; /** * Opens a modal dialog containing the given component and returns a reference to the dialog. * * @param component - The component to render as dialog content. * @param config - The dialog configuration. * @returns A reference to the just opened dialog. */ openWithRef(component: ComponentType, config?: CatDialogConfig): DialogRef; /** * Closes all open dialogs. */ closeAll(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } export { BooleanValueAccessor, CAT_DIALOG_SIZE_TOKEN, CAT_I18N_REGISTRY_TOKEN, CAT_ICON_REGISTRY_TOKEN, CAT_LOG_TOKEN, CAT_NOTIFICATION_SERVICE_TOKEN, CatAlert, CatAvatar, CatBadge, CatButton, CatButtonGroup, CatCard, CatCheckbox, CatDate, CatDateInline, CatDatepicker, CatDatepickerInline, CatDialogActionsComponent, CatDialogComponent, CatDialogHeaderComponent, CatDialogService, CatDropdown, CatFormGroup, CatIcon, CatInput, CatMenu, CatMenuItem, CatPagination, CatRadio, CatRadioGroup, CatScrollable, CatSegment, CatSegmentedControl, CatSelect, CatSelectDemo, CatSkeleton, CatSpinner, CatTab, CatTabs, CatTag, CatTextarea, CatTime, CatToggle, CatTooltip, CatTooltipDirective, CatalystModule, DateValueAccessor, DatetimeComponent, RadioValueAccessor, SelectValueAccessor, SelectValueAccessorDecorator, TextValueAccessor, TimeValueAccessor, ValueAccessor, ValueAccessorDecorator }; export type { CatDialogConfig };