import * as _angular_core from '@angular/core'; import { OnInit, AfterViewInit, Signal, ElementRef, DestroyRef, OnDestroy, OnChanges, SimpleChanges, EnvironmentProviders, SimpleChange, AfterViewChecked, PipeTransform, TemplateRef, TrackByFunction, InjectionToken, ErrorHandler, NgZone } from '@angular/core'; import { Params, Route, ActivatedRoute, ActivatedRouteSnapshot, CanActivateFn, Router, QueryParamsHandling } from '@angular/router'; import { Observable, Subject, BehaviorSubject } from 'rxjs'; import { NgModel, NgForm } from '@angular/forms'; import { Location } from '@angular/common'; import dayjs from 'dayjs'; import { CdkVirtualScrollViewport } from '@angular/cdk/scrolling'; import { HttpClient, HttpEvent } from '@angular/common/http'; import * as _fortawesome_fontawesome_common_types from '@fortawesome/fontawesome-common-types'; import { IconDefinition } from '@fortawesome/fontawesome-common-types'; import { ImageCroppedEvent } from 'ngx-image-cropper'; declare class BreadcrumbItem { url: string; routerLink: string; label: string; skipLeavingAlert?: boolean; routerLinkQueryParams?: Params; urlTarget?: '_blank' | '_self' | '_parent' | '_top'; } declare class Breadcrumb { breadcrumbItems: BreadcrumbItem[]; current: BreadcrumbItem; } interface BreadcrumbConfiguration { prestationCode?: string; vdChUrl?: string; descriptionPageBaseUrl?: string; espaceSecuriseUrl?: string; allPrestationsUrl?: string; } declare class BreadcrumbEventService { private readonly sessionInfo; private readonly applicationInfoService; private _breadcrumbOverride; private _breadcrumbConfiguration; private _currentBreadcrumbItem; private readonly _breadcrumbObservable; private readonly _neverConnectedBreadcrumbObservable; private _skipLeavingAlertBecauseDemandIsTransmitted; constructor(); get skipLeavingAlertBecauseDemandIsTransmitted(): boolean; set skipLeavingAlertBecauseDemandIsTransmitted(value: boolean); /** * Set the breadcrumb. This value will override any configuration injected with * `setConfiguration`. Only use if you want to handle the breadcrumb manually. * @param breadcrumb as Breadcrumb */ setBreadcrumb(breadcrumb: Breadcrumb): void; /** * The breadcrumb value. * @returns Observable */ breadcrumbObservable(): Observable; /** * The breadcrumb value if never connected. * @returns Observable */ neverConnectedBreadcrumbObservable(): Observable; /** * Set the current item. Used for accessibility purposes. * @param currentItem as BreadcrumbItem */ setCurrentBreadcrumb(currentItem: BreadcrumbItem): void; /** * Set the current breadcrumb configuration. * * Set to `null` to disable the breadcrumb. * @param configuration as BreadcrumbConfiguration */ setConfiguration(configuration: BreadcrumbConfiguration): void; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵprov: _angular_core.ɵɵInjectableDeclaration; } interface HelpModal { buttonTitle?: string; title: string; body?: string; images?: Image[]; modalSize?: string; } interface Image { src?: string; alt?: string; width?: string; height?: string; } interface FormError { name: string; code: string; message: string; } /** * Interface representing a component that has custom error messages. * Used to break the dependency cycle between ValidationHandlerService and FoehnInputComponent. */ interface HasCustomErrors { customErrors: Record | (() => Record); } declare class ValidationHandlerService { private _validationErrorsSubject; private _validationDisplaySubject; get validationErrorsSubject(): Observable; get validationDisplaySubject(): Observable; updateErrors(errors: FormError[]): void; shouldDisplayErrors(display: boolean): void; getMessage(component: HasCustomErrors, error: FormError): string; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵprov: _angular_core.ɵɵInjectableDeclaration; } declare const GESDEM_MAX_DATA_LENGTH = 10000; declare abstract class FoehnInputComponent implements OnInit, AfterViewInit { readonly model: _angular_core.ModelSignal; readonly pattern: _angular_core.ModelSignal; readonly helpModal: _angular_core.ModelSignal; readonly standardHelpText: _angular_core.ModelSignal; readonly helpText: _angular_core.ModelSignal; readonly disabled: _angular_core.ModelSignal; readonly hidden: _angular_core.ModelSignal; readonly id: _angular_core.InputSignal; readonly name: _angular_core.InputSignal; readonly overrideGesdemMaxlength: _angular_core.InputSignal; readonly min: _angular_core.InputSignal; readonly max: _angular_core.InputSignal; readonly preventPaste: _angular_core.InputSignal; /** * The autocapitalize attribute never causes autocapitalization to be enabled for * an element with a type attribute whose value is url, email, or password. * https://developer.mozilla.org/fr/docs/Web/HTML/Global_attributes/autocapitalize */ readonly autocapitalize: _angular_core.InputSignal; /** * When set to TRUE: Allows model update to be emitted */ readonly updateModelWhenDisabled: _angular_core.InputSignal; /** * When set to TRUE: Shows error even if input is disabled */ readonly showErrorWhenDisabled: _angular_core.InputSignal; readonly labelStyleModifier: _angular_core.InputSignal; readonly customErrors: _angular_core.InputSignal>; /** * Hide the 'facultatif' extra label. */ readonly hideNotRequiredExtraLabel: _angular_core.InputSignal; readonly isErrorInherited: _angular_core.InputSignal; readonly maxlength: _angular_core.InputSignal; /** * The attribute must take one of the following values: * See https://developer.mozilla.org/fr/docs/Web/HTML/Attributes/autocomplete */ readonly autocomplete: _angular_core.InputSignal; readonly clearButton: _angular_core.InputSignal; /** * Exclude the component from the error summary if the component has an error. */ readonly excludeFromErrorSummary: _angular_core.InputSignal; /** * When TRUE, adds class 'visually-hidden' (only for screen readers) on tag