import { DBase } from "./d-base"; import { DButton } from "./d-button"; import { DLayoutHorizontal, DLayoutHorizontalOptions, DThemeLayoutHorizontal } from "./d-layout-horizontal"; import { DLayoutSpace } from "./d-layout-space"; export interface DDialogLayeredFooterButtonSpaceOptions { /** * True to make the left space. */ left?: boolean; /** * True to make the right space. */ right?: boolean; } export interface DDialogLayeredFooterButtonOptions { /** * A ok button label. */ ok?: string | null; /** * A cancel button label. */ cancel?: string | null; /** * A button spacer options. */ space?: DDialogLayeredFooterButtonSpaceOptions; } export interface DDialogLayeredFooterOptions extends DLayoutHorizontalOptions { button?: DDialogLayeredFooterButtonOptions; } export interface DThemeDialogLayeredFooter extends DThemeLayoutHorizontal { getButtonOk(): string | null; getButtonCancel(): string | null; isButtonSpaceLeftEnabled(): boolean; isButtonSpaceRightEnabled(): boolean; } export interface DDialogLayeredFooterParent { ok(): void; cancel(): void; } export declare class DDialogLayeredFooter = DDialogLayeredFooterOptions> extends DLayoutHorizontal { protected _parent: DDialogLayeredFooterParent; protected _buttonSpaceLeft?: DLayoutSpace | null; protected _buttonSpaceRight?: DLayoutSpace | null; protected _buttonOk?: DButton | null; protected _buttonReset?: DButton | null; protected _buttonCancel?: DButton | null; constructor(parent: DDialogLayeredFooterParent, options?: OPTIONS); protected init(options?: OPTIONS | undefined): void; protected newChildren(): Array; get buttonSpaceLeft(): DLayoutSpace | null; protected newButtonSpaceLeft(): DLayoutSpace | null; get buttonSpaceRight(): DLayoutSpace | null; protected newButtonSpaceRight(): DLayoutSpace | null; get buttonCancel(): DButton | null; protected newButtonCancel(): DButton | null; get buttonOk(): DButton | null; protected newButtonOk(): DButton | null; protected getType(): string; }