import * as i0 from '@angular/core'; import { Injector, OnChanges, SimpleChanges, OnInit, OnDestroy, EventEmitter, ElementRef } from '@angular/core'; import * as i16 from '@sinequa/core/modal'; import { ModalButton, ModalRef, ModalService, ConfirmOptions, PromptOptions } from '@sinequa/core/modal'; import * as i18 from '@sinequa/components/utils'; import { UIService } from '@sinequa/components/utils'; import * as i11 from '@angular/forms'; import { UntypedFormBuilder, UntypedFormControl, UntypedFormGroup, ValidatorFn } from '@angular/forms'; import { Subscription } from 'rxjs'; import { StartConfig } from '@sinequa/core/web-services'; import * as i17 from '@sinequa/core/login'; import { Credentials, AuthenticationService, UserOverride } from '@sinequa/core/login'; import { DomSanitizer, SafeResourceUrl } from '@angular/platform-browser'; import * as i10 from '@angular/common'; import * as i12 from '@angular/cdk/overlay'; import * as i13 from '@angular/cdk/a11y'; import * as i14 from '@sinequa/core/intl'; import * as i15 from '@sinequa/core/validation'; declare class BsModal { title: string; buttons: ModalButton[]; showHeader: boolean; showFooter: boolean; isProcessingState: boolean; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class BsModalHeader { protected modalRef: ModalRef; protected injector: Injector; readonly ui: UIService; title: string; true: any; constructor(modalRef: ModalRef, injector: Injector, ui: UIService); get modalService(): ModalService; cancel(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class BsModalFooter implements OnChanges { protected modalRef: ModalRef; protected injector: Injector; buttons: ModalButton[]; isProcessingState: boolean; true: any; constructor(modalRef: ModalRef, injector: Injector); ngOnChanges(changes: SimpleChanges): void; buttonClick(button: ModalButton): boolean; close(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class BsLogin implements OnInit, OnDestroy { protected model: Credentials; protected modalService: ModalService; protected modalRef: ModalRef; protected formBuilder: UntypedFormBuilder; protected startConfig: StartConfig; protected authenticationService: AuthenticationService; true: any; userNameControl: UntypedFormControl; passwordControl: UntypedFormControl; providerNameControl: UntypedFormControl; form: UntypedFormGroup; formChanges: Subscription; buttons: ModalButton[]; providers: any[]; providerName: string; constructor(model: Credentials, modalService: ModalService, modalRef: ModalRef, formBuilder: UntypedFormBuilder, startConfig: StartConfig, authenticationService: AuthenticationService); ngOnInit(): void; ngOnDestroy(): void; yes(): void; authenticate(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class BsConfirm { model: ConfirmOptions; protected modalRef: ModalRef; true: any; constructor(model: ConfirmOptions, modalRef: ModalRef); get title(): string; getMessageClass(confirmType: any): string; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class BsHelp implements OnInit { startConfig: StartConfig; sanitizer: DomSanitizer; true: any; model: {}; url: SafeResourceUrl; constructor(startConfig: StartConfig, sanitizer: DomSanitizer); ngOnInit(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class BsOverrideUser implements OnInit, OnDestroy { model: UserOverride; private formBuilder; form: UntypedFormGroup; formChanges: Subscription; buttons: ModalButton[]; constructor(model: UserOverride, formBuilder: UntypedFormBuilder); ngOnInit(): void; ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class BsEditable implements OnInit, OnDestroy { private formBuilder; private elementRef; tabindex: string; name: string; value: string; model: any; valueChange: EventEmitter; validators: ValidatorFn[]; editableControl: UntypedFormControl; modelControl: UntypedFormControl; form: UntypedFormGroup; formChanges: Subscription; previousValue: string; editing: boolean; private focusAfterEdit; constructor(formBuilder: UntypedFormBuilder, elementRef: ElementRef); ngOnInit(): void; ngOnDestroy(): void; startEditing(): void; stopEditing(cancel?: boolean): void; inputKeydown(event: KeyboardEvent): false | undefined; hostKeydown(event: KeyboardEvent): false | undefined; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class BsPrompt implements OnInit, OnDestroy { model: PromptOptions; protected modalRef: ModalRef; protected formBuilder: UntypedFormBuilder; inputControl: UntypedFormControl; form: UntypedFormGroup; formChanges: Subscription; buttons: ModalButton[]; constructor(model: PromptOptions, modalRef: ModalRef, formBuilder: UntypedFormBuilder); ngOnInit(): void; ngOnDestroy(): void; get title(): string; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class BsModalModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } declare const _default$2: { help: { title: string; }; overrideUser: { title: string; userName: string; domain: string; }; btnClose: { text: string; }; }; declare const _default$1: { help: { title: string; }; overrideUser: { title: string; userName: string; domain: string; }; btnClose: { text: string; }; }; declare const _default: { help: { title: string; }; overrideUser: { title: string; userName: string; domain: string; }; btnClose: { text: string; }; }; export { BsConfirm, BsEditable, BsHelp, BsLogin, BsModal, BsModalFooter, BsModalHeader, BsModalModule, BsOverrideUser, BsPrompt, _default as deModal, _default$2 as enModal, _default$1 as frModal };