UNPKG

@koalarx/ui

Version:

Koala UI is a modern and accessible component library designed to speed up interface development in Angular projects. With simple integration and clear documentation, you can easily build robust and visually appealing applications.

30 lines (26 loc) 877 B
import * as i0 from '@angular/core'; declare class ConfirmContent { readonly translations: { btnLabelYes: string; btnLabelNo: string; askAreYouSureMessage: string; }; private readonly dialogRef; message: string; close(type: 'yes' | 'no'): void; static ɵfac: i0.ɵɵFactoryDeclaration<ConfirmContent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<ConfirmContent, "kl-confirm-content", never, {}, {}, never, never, true, never>; } interface ConfirmConfig { message: string; yesCallback?: () => void; noCallback?: () => void; } declare class Confirm { private readonly dialog; open(config: ConfirmConfig): void; static ɵfac: i0.ɵɵFactoryDeclaration<Confirm, never>; static ɵprov: i0.ɵɵInjectableDeclaration<Confirm>; } export { Confirm, ConfirmContent }; export type { ConfirmConfig };