import { SnackbarOptions, SnackbarHandle, SnackbarDismissReason } from '@lmvz-ds/components'; export { SnackbarController, SnackbarDismissReason, SnackbarHandle, SnackbarOptions, SnackbarPriority, SnackbarStatus } from '@lmvz-ds/components'; import * as i0 from '@angular/core'; import { ElementRef, NgZone, EventEmitter, ChangeDetectorRef } from '@angular/core'; import { ControlValueAccessor } from '@angular/forms'; import { LmvzActionCustomEvent, Components, LmvzButtonCustomEvent, LmvzCardCustomEvent, LmvzCheckboxCustomEvent, LmvzDatepickerCustomEvent, IsoDateString, IsoYearMonthString, LmvzInputCustomEvent, LmvzMenuitemCustomEvent, LmvzMessageCustomEvent, LmvzModalCustomEvent, LmvzPopoverCustomEvent, LmvzRadioCustomEvent, LmvzSelectCustomEvent, LmvzSnackbarCustomEvent, Snackbar, LmvzTabsCustomEvent, LmvzToggleCustomEvent } from '@lmvz-ds/components/components'; import { Observable } from 'rxjs'; declare abstract class ValueAccessor implements ControlValueAccessor { protected el: ElementRef; private onChange; private onTouched; protected lastValue: T | undefined; constructor(el: ElementRef); abstract writeValue(value: T | undefined): void; handleChangeEvent(value: T | undefined): void; _handleBlurEvent(): void; registerOnChange(fn: (value: T | undefined) => void): void; registerOnTouched(fn: () => void): void; setDisabledState(isDisabled: boolean): void; static ɵfac: i0.ɵɵFactoryDeclaration, never>; static ɵdir: i0.ɵɵDirectiveDeclaration, never, never, {}, {}, never, never, true, never>; } declare abstract class BooleanValueAccessor extends ValueAccessor { writeValue: (this: ValueAccessor, value: boolean | undefined) => void; constructor(el: ElementRef); static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } declare abstract class StringValueAccessor extends ValueAccessor { writeValue: (this: ValueAccessor, value: string | undefined) => void; constructor(el: ElementRef); static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } declare class LmvzInputValueChangeHelper extends StringValueAccessor { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } declare class LmvzCheckboxValueChangeHelper extends BooleanValueAccessor { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } declare class LmvzSelectValueChangeHelper extends ValueAccessor { writeValue(value: string | string[] | undefined): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } declare class LmvzToggleValueChangeHelper extends BooleanValueAccessor { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } declare class LmvzRadioValueChangeHelper extends BooleanValueAccessor { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } declare class LmvzDatepickerValueChangeHelper extends StringValueAccessor { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } declare const FORM_INPUT_HELPER_DIRECTIVES: readonly [typeof LmvzInputValueChangeHelper, typeof LmvzCheckboxValueChangeHelper, typeof LmvzToggleValueChangeHelper, typeof LmvzRadioValueChangeHelper, typeof LmvzDatepickerValueChangeHelper, typeof LmvzSelectValueChangeHelper]; declare class LmvzAction { protected z: NgZone; protected el: HTMLLmvzActionElement; actionClick: EventEmitter>; constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone); static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare interface LmvzAction extends Components.LmvzAction { actionClick: EventEmitter>; } declare class LmvzActionList { protected z: NgZone; protected el: HTMLLmvzActionListElement; constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone); static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare interface LmvzActionList extends Components.LmvzActionList { } declare class LmvzButton { protected z: NgZone; protected el: HTMLLmvzButtonElement; lmvzActivation: EventEmitter>; constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone); static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare interface LmvzButton extends Components.LmvzButton { /** * Event emitted when the button is activated, either by a click or by pressing "Enter" when the button is focused. */ lmvzActivation: EventEmitter>; } declare class LmvzButtonGroup { protected z: NgZone; protected el: HTMLLmvzButtonGroupElement; constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone); static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare interface LmvzButtonGroup extends Components.LmvzButtonGroup { } declare class LmvzCard { protected z: NgZone; protected el: HTMLLmvzCardElement; primaryAction: EventEmitter>; constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone); static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare interface LmvzCard extends Components.LmvzCard { /** * Event emitted when primary button is clicked */ primaryAction: EventEmitter>; } declare class LmvzCheckbox { protected z: NgZone; protected el: HTMLLmvzCheckboxElement; lmvzChange: EventEmitter>; constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone); static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare interface LmvzCheckbox extends Components.LmvzCheckbox { /** * Emitted whenever the checkbox checked state changes. Event detail contains the new checked boolean value. */ lmvzChange: EventEmitter>; } declare class LmvzChip { protected z: NgZone; protected el: HTMLLmvzChipElement; constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone); static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare interface LmvzChip extends Components.LmvzChip { } declare class LmvzDatepicker { protected z: NgZone; protected el: HTMLLmvzDatepickerElement; lmvzChange: EventEmitter>; lmvzMonthChange: EventEmitter>; lmvzOpen: EventEmitter>; lmvzClose: EventEmitter>; constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone); static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare interface LmvzDatepicker extends Components.LmvzDatepicker { /** * Emitted when the user selects a date (via the calendar grid or by typing a complete valid date). The `value` field carries an IsoDateString representing the selected date. */ lmvzChange: EventEmitter>; /** * Emitted when the displayed month changes via prev/next navigation. The `visibleMonth` field carries an IsoYearMonthString representing the new month. */ lmvzMonthChange: EventEmitter>; /** * Forwarded from the internal popover: fired after the calendar panel opens. */ lmvzOpen: EventEmitter>; /** * Forwarded from the internal popover: fired after the calendar panel closes. */ lmvzClose: EventEmitter>; } declare class LmvzHeader { protected z: NgZone; protected el: HTMLLmvzHeaderElement; constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone); static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare interface LmvzHeader extends Components.LmvzHeader { } declare class LmvzIcon { protected z: NgZone; protected el: HTMLLmvzIconElement; constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone); static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare interface LmvzIcon extends Components.LmvzIcon { } declare class LmvzInput { protected z: NgZone; protected el: HTMLLmvzInputElement; lmvzInput: EventEmitter>; constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone); static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare interface LmvzInput extends Components.LmvzInput { /** * Emitted whenever the input value changes. Event detail contains the current value. */ lmvzInput: EventEmitter>; } declare class LmvzLink { protected z: NgZone; protected el: HTMLLmvzLinkElement; constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone); static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare interface LmvzLink extends Components.LmvzLink { } declare class LmvzMenuitem { protected z: NgZone; protected el: HTMLLmvzMenuitemElement; lmvzActivation: EventEmitter>; constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone); static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare interface LmvzMenuitem extends Components.LmvzMenuitem { /** * Event emitted when the menu item is activated, either by a click or by pressing "Enter" or "Space" while the menu item is focused. */ lmvzActivation: EventEmitter>; } declare class LmvzMessage { protected z: NgZone; protected el: HTMLLmvzMessageElement; lmvzDismiss: EventEmitter>; lmvzAction: EventEmitter>; constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone); static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare interface LmvzMessage extends Components.LmvzMessage { lmvzDismiss: EventEmitter>; lmvzAction: EventEmitter>; } declare class LmvzModal { protected z: NgZone; protected el: HTMLLmvzModalElement; close: EventEmitter>; cancel: EventEmitter>; constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone); static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare interface LmvzModal extends Components.LmvzModal { /** * Re-emitted from the host whenever the native dialog closes so framework wrappers can synchronize bound state. */ close: EventEmitter>; /** * Re-emitted from the host whenever the native dialog receives a `cancel` event (e.g. Escape key). Call `event.preventDefault()` to keep the dialog open. */ cancel: EventEmitter>; } declare class LmvzPopover { protected z: NgZone; protected el: HTMLLmvzPopoverElement; lmvzOpen: EventEmitter>; lmvzClose: EventEmitter>; lmvzCancel: EventEmitter>; constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone); static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare interface LmvzPopover extends Components.LmvzPopover { /** * Fired after the popover opens. */ lmvzOpen: EventEmitter>; /** * Fired after the popover closes. */ lmvzClose: EventEmitter>; /** * Fired before light-dismiss or Escape close. Call `event.preventDefault()` to veto the close. */ lmvzCancel: EventEmitter>; } declare class LmvzRadio { protected z: NgZone; protected el: HTMLLmvzRadioElement; lmvzChange: EventEmitter>; lmvzActivation: EventEmitter>; constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone); static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare interface LmvzRadio extends Components.LmvzRadio { /** * Emitted whenever the radio checked state changes. Event detail contains the new checked boolean value. Emission contract: - Fires `true` on user selection (native `change` event). - Fires on programmatic external prop transitions: `true → false` (emits `false`) and `false → true` (emits `true`), e.g. `element.checked = false` or `element.checked = true`. - Does NOT fire during browser-driven form lifecycle callbacks: `formResetCallback` and `formStateRestoreCallback` (autofill / session restore). This matches native `` behaviour, which does not fire `change` on form reset. Note that internal form state (`ElementInternals.setFormValue`) is always updated regardless of suppression — only the event channel is silenced. - Does NOT re-fire from the `@Watch('checked')` watcher during the same tick as the native `change` handler, preventing a double-emission when the user clicks the radio. */ lmvzChange: EventEmitter>; /** * Fired on every explicit user activation of this radio — via click or Space key on the native input. Fires even when the radio is already checked (re-activation). Use this event to react to user intent; use `lmvzChange` to react to state transitions. */ lmvzActivation: EventEmitter>; } declare class LmvzSelect { protected z: NgZone; protected el: HTMLLmvzSelectElement; lmvzChange: EventEmitter>; constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone); static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare interface LmvzSelect extends Components.LmvzSelect { /** * Emitted when the user changes the selection. Detail contains the new value: a `string` in single-select mode (`multiple` false/unset — same shape as before), or the full updated `string[]` of selected values in multiselect mode (`multiple` true). */ lmvzChange: EventEmitter>; } declare class LmvzSnackbar { protected z: NgZone; protected el: HTMLLmvzSnackbarElement; lmvzClose: EventEmitter>; constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone); static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare interface LmvzSnackbar extends Components.LmvzSnackbar { lmvzClose: EventEmitter>; } declare class LmvzSpinner { protected z: NgZone; protected el: HTMLLmvzSpinnerElement; constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone); static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare interface LmvzSpinner extends Components.LmvzSpinner { } declare class LmvzTab { protected z: NgZone; protected el: HTMLLmvzTabElement; constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone); static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare interface LmvzTab extends Components.LmvzTab { } declare class LmvzTabs { protected z: NgZone; protected el: HTMLLmvzTabsElement; lmvzChange: EventEmitter>; constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone); static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare interface LmvzTabs extends Components.LmvzTabs { /** * Emitted when a tab is activated. Detail: `{ value: string }`. */ lmvzChange: EventEmitter>; } declare class LmvzToggle { protected z: NgZone; protected el: HTMLLmvzToggleElement; lmvzChange: EventEmitter>; constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone); static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare interface LmvzToggle extends Components.LmvzToggle { /** * Emitted when the toggle is switched. Event detail is the new checked state. */ lmvzChange: EventEmitter>; } declare const DIRECTIVES: (typeof LmvzAction | typeof LmvzActionList | typeof LmvzButton | typeof LmvzButtonGroup | typeof LmvzCard | typeof LmvzCheckbox | typeof LmvzChip | typeof LmvzDatepicker | typeof LmvzHeader | typeof LmvzIcon | typeof LmvzInput | typeof LmvzLink | typeof LmvzMenuitem | typeof LmvzMessage | typeof LmvzModal | typeof LmvzPopover | typeof LmvzRadio | typeof LmvzSelect | typeof LmvzSnackbar | typeof LmvzSpinner | typeof LmvzTab | typeof LmvzTabs | typeof LmvzToggle)[]; declare class SnackbarService { private readonly controller; open(options: SnackbarOptions): SnackbarHandle; dismiss(id?: string): void; openSuccess(message: string, options?: Omit): SnackbarHandle; openWarning(message: string, options?: Omit): SnackbarHandle; openError(message: string, options?: Omit): SnackbarHandle; openAndObserve(options: SnackbarOptions): { handle: SnackbarHandle; closed$: Observable<{ reason: SnackbarDismissReason; }>; }; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } export { BooleanValueAccessor, DIRECTIVES, FORM_INPUT_HELPER_DIRECTIVES, LmvzAction, LmvzActionList, LmvzButton, LmvzButtonGroup, LmvzCard, LmvzCheckbox, LmvzCheckboxValueChangeHelper, LmvzChip, LmvzDatepicker, LmvzDatepickerValueChangeHelper, LmvzHeader, LmvzIcon, LmvzInput, LmvzInputValueChangeHelper, LmvzLink, LmvzMenuitem, LmvzMessage, LmvzModal, LmvzPopover, LmvzRadio, LmvzRadioValueChangeHelper, LmvzSelect, LmvzSelectValueChangeHelper, LmvzSnackbar, LmvzSpinner, LmvzTab, LmvzTabs, LmvzToggle, LmvzToggleValueChangeHelper, SnackbarService, StringValueAccessor, ValueAccessor };