import * as i0 from '@angular/core'; import { AfterViewInit, ChangeDetectorRef, ElementRef, ViewContainerRef, Renderer2, InjectionToken } from '@angular/core'; import { ILuTree, ILuOnOpenSubscriber, LuTranslation } from '@lucca-front/ng/core'; import { ALuTreeOptionOperator, ILuTreeOptionOperator, ILuTreeOptionPickerPanel, LuOptionComparer } from '@lucca-front/ng/option'; import * as rxjs from 'rxjs'; import { Observable, Subject } from 'rxjs'; import { HttpClient } from '@angular/common/http'; import * as _lucca_front_ng_department from '@lucca-front/ng/department'; import { Overlay } from '@angular/cdk/overlay'; import { ControlValueAccessor } from '@angular/forms'; import { ILuInputWithPicker } from '@lucca-front/ng/picker'; import { ALuSelectInputComponent } from '@lucca-front/ng/select'; import { ALuApiService, ILuApiService, LuApiV3Service } from '@lucca-front/ng/api'; interface ILuDepartment { id: number; name: string; } interface ILuDepartmentService extends ILuApiService { getTrees(): Observable[]>; } declare abstract class ALuDepartmentService extends ALuApiService implements ILuDepartmentService { abstract getTrees(): Observable[]>; } interface IApiDepartment { node: ILuDepartment; children: IApiDepartment[]; } /** * @deprecated use {LuDepartmentService} instead. */ declare class LuDepartmentV3Service extends LuApiV3Service implements ILuDepartmentService { protected _http: HttpClient; protected _api: string; protected _appInstanceId: number | string; set appInstanceId(appInstanceId: number | string); protected _operations: number[]; set operations(operations: number[]); constructor(_http: HttpClient); getTrees(): Observable[]>; private format; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare class LuDepartmentV4Service { private _http; api: string; protected _filters: string[]; set filters(filters: string[]); protected _appInstanceId: number | string; set appInstanceId(appInstanceId: number | string); protected _operations: number[]; set operations(operations: number[]); protected _uniqueOperation: number; set uniqueOperation(uniqueOperation: number); constructor(_http: HttpClient); getTrees(): rxjs.Observable[]>; private format; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } /** * @deprecated */ declare class LuDepartmentFeederComponent extends ALuTreeOptionOperator implements ILuTreeOptionOperator, ILuOnOpenSubscriber { inOptions$: Observable[]>; outOptions$: Observable[]>; protected _out$: Subject[]>; protected _service: LuDepartmentV4Service; set appInstanceId(appInstanceId: number | string); set operations(operations: number[]); set filters(filters: string[]); set uniqueOperation(uniqueOperation: number); constructor(hostService: LuDepartmentV4Service, selfService: LuDepartmentV4Service); onOpen(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } /** * @deprecated */ declare class LuDepartmentSelectInputComponent = ILuTreeOptionPickerPanel> extends ALuSelectInputComponent implements ControlValueAccessor, ILuInputWithPicker, AfterViewInit { protected _changeDetectorRef: ChangeDetectorRef; protected _overlay: Overlay; protected _elementRef: ElementRef; protected _viewContainerRef: ViewContainerRef; protected _renderer: Renderer2; byId: LuOptionComparer; appInstanceId: number | string; operations: number[]; filters: string[]; uniqueOperation: number; intl: i0.InputSignalWithTransform<_lucca_front_ng_department.ILuDepartmentSelectInputLabel, Partial<_lucca_front_ng_department.ILuDepartmentSelectInputLabel>>; constructor(_changeDetectorRef: ChangeDetectorRef, _overlay: Overlay, _elementRef: ElementRef, _viewContainerRef: ViewContainerRef, _renderer: Renderer2); searchFn(o: D, c: string): boolean; static ɵfac: i0.ɵɵFactoryDeclaration, never>; static ɵcmp: i0.ɵɵComponentDeclaration, "lu-department-select", never, { "appInstanceId": { "alias": "appInstanceId"; "required": false; }; "operations": { "alias": "operations"; "required": false; }; "filters": { "alias": "filters"; "required": false; }; "uniqueOperation": { "alias": "uniqueOperation"; "required": false; }; "intl": { "alias": "intl"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>; } /** * @deprecated use `LuDepartmentFeederComponent, LuDepartmentSelectInputComponent` instead */ declare class LuDepartmentSelectModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } /** * @deprecated use `LuDepartmentFeederComponent, LuDepartmentSelectInputComponent` instead */ declare class LuDepartmentModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } /** * @deprecated use `LuDepartmentSelectInputComponent` instead */ declare class LuDepartmentSelectInputModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } declare const LU_DEPARTMENT_SELECT_INPUT_TRANSLATIONS: InjectionToken>; interface ILuDepartmentSelectInputLabel { departments: string; } declare const luDepartmentSelectInputTranslations: LuTranslation; export { ALuDepartmentService, LU_DEPARTMENT_SELECT_INPUT_TRANSLATIONS, LuDepartmentFeederComponent, LuDepartmentModule, LuDepartmentSelectInputComponent, LuDepartmentSelectInputModule, LuDepartmentSelectModule, LuDepartmentV3Service, LuDepartmentV4Service, luDepartmentSelectInputTranslations }; export type { IApiDepartment, ILuDepartment, ILuDepartmentSelectInputLabel, ILuDepartmentService };