import * as _angular_core from '@angular/core'; import { OnInit, EventEmitter, OnChanges, SimpleChanges, OnDestroy, PipeTransform, EnvironmentProviders, NgZone, InjectionToken } from '@angular/core'; import { ActionSheetButton } from '@ionic/core'; import { AppStatus, Attachment, AttachmentSections, AttachmentSection, Check, Languages, Label, CustomBlockMeta, CustomFieldTypes, CustomFieldMeta, CustomSectionMeta, EmailData, StringVariable, Suggestion, Ionicons, LabelVariable, PDFTemplateBlueprint, PDFTemplateSection, PDFTemplateSectionBlueprint, PDFTemplateSectionTypes, PDFTemplateSimpleField, PDFTemplateComplexField, Signature, epochDateTime } from 'idea-toolbox'; import { Routes } from '@angular/router'; import { IonSearchbar, IonPopover } from '@ionic/angular/standalone'; import SignaturePad from 'signature_pad'; /** * It's an alternative for desktop devices to the traditional ActionSheet. * It shares (almost) the same inputs so they are interchangeable. */ declare class IDEAActionSheetComponent implements OnInit { private _popover; /** * An array of buttons for the actions panel. */ buttons: ActionSheetButton[]; /** * Additional classes to apply for custom CSS. If multiple classes are provided they should be separated by spaces. */ cssClass?: string; /** * Title for the actions panel. */ header?: string; /** * Subtitle for the actions panel. */ subHeader?: string; withIcons: boolean; ngOnInit(): void; buttonClicked(button: ActionSheetButton): void; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } /** * It's an alternative to the traditional ActionSheetController. * It shares (almost) the same inputs, so they are interchangeable. */ declare class IDEAActionSheetController { private _platform; private _actions; private _popover; /** * Based on the platform, open the traditional or the customised ActionSheet. */ create(options: IDEAActionSheetOptions, forceCustom?: boolean): Promise; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵprov: _angular_core.ɵɵInjectableDeclaration; } /** * The options for the ActionSheet. */ interface IDEAActionSheetOptions { /** * If true, the action sheet will be dismissed when the backdrop is clicked. */ backdropDismiss?: boolean; /** * An array of buttons for the action sheet. */ buttons: ActionSheetButton[]; /** * Additional classes to apply for custom CSS. If multiple classes are provided they should be separated by spaces. */ cssClass?: string; /** * Title for the action sheet. */ header?: string; /** * Subtitle for the action sheet. */ subHeader?: string; } /** * Handle blocking status messaging for the app. */ declare class IDEAAppStatusPage { protected _env: any; private _platform; private _translate; private _appStatus; status: AppStatus; htmlContent: string; appleStoreURL: string; googleStoreURL: string; appIconURI: string; constructor(); ionViewWillEnter(): Promise; getTitle(): string; isAndroid(): boolean; isIOS(): boolean; openGoogleStoreLink(): Promise; opeAppleStoreLink(): Promise; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } declare const ideaAppStatusRoutes: Routes; /** * Check whether the app has some status message or update to handle. */ declare class IDEAAppStatusService { protected _env: any; private _nav; private _toast; private _translate; private _api; private _storage; private _appRef; appStatus: AppStatus; storageKey: string; statusFileURL: string; constructor(); /** * Check the app's status and take according actions. */ check(options?: { viaApi?: boolean; toastColor?: string; toastPosition?: string; }): Promise; private getStatus; private getStatusFromApi; private getStatusFromAsset; private presentToast; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵprov: _angular_core.ɵɵInjectableDeclaration; } declare class IDEAAttachmentsComponent { protected _env: any; private _loading; private _message; private _translate; private _attachments; /** * The array of attachments to display and manage. */ readonly attachments: _angular_core.ModelSignal; /** * The API path to the entity for which we want to manage the attachments. */ readonly entityPath: _angular_core.InputSignal; /** * The list of accepted formats. */ readonly acceptedFormats: _angular_core.InputSignal; /** * Whether to accept multiple files as target for the browse function. */ readonly multiple: _angular_core.InputSignal; /** * Whether we are viewing or editing the attachments. */ readonly disabled: _angular_core.InputSignal; /** * The background color of the component. */ readonly color: _angular_core.InputSignal; /** * Trigger to download a file by URL. */ readonly download: _angular_core.OutputEmitterRef; readonly attachmentPicker: _angular_core.Signal; uploadErrors: _angular_core.WritableSignal; maxSize: any; browseFiles(): Promise; addAttachmentsFromPicker(target: HTMLInputElement): void; private addAttachmentToListAndUpload; removeAttachment(attachment: Attachment): void; removeErrorFromList(err: UploadError): void; reorderAttachments(ev: any): void; downloadAttachment(attachment: Attachment): Promise; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } interface UploadError { file: string; error: string; } declare class IDEAAttachmentSectionsComponent { private _modal; private _alert; private _message; private _translate; /** * The attachment sections to display and manage. */ readonly attachmentSections: _angular_core.InputSignal; /** * The API path to the entity for which we want to manage the attachments. */ readonly entityPath: _angular_core.InputSignal; /** * The list of accepted formats. */ readonly acceptedFormats: _angular_core.InputSignal; /** * Whether to accept multiple files as target for the browse function. */ readonly multiple: _angular_core.InputSignal; /** * Whether the component is disabled or not. */ readonly disabled: _angular_core.InputSignal; /** * Lines preferences for the component. */ readonly lines: _angular_core.InputSignal; /** * The background color of the component. */ readonly color: _angular_core.InputSignal; /** * Trigger to download a file by URL. */ readonly download: _angular_core.OutputEmitterRef; reorderSectionsLegend(ev: any): void; manageSection(s: string): Promise; removeSection(sectionKey: string, event: Event): Promise; addNewSection(): Promise; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } declare class IDEAManageAttachmentsSectionComponent implements OnInit { private _modal; private _translate; /** * The attachments section to manage. */ section?: AttachmentSection; /** * The API path to the entity for which we want to manage the attachments. */ entityPath?: string | string[]; /** * The list of accepted formats. */ acceptedFormats: string[]; /** * Whether to accept multiple files as target for the browse function. */ multiple: boolean; /** * Lines preferences for the component. */ lines?: string; /** * The background color of the component. */ color?: string; /** * Trigger a callback in the parent component to download a file by URL. */ downloadCallback?: (url: string) => void; _section: AttachmentSection; errors: Set; ngOnInit(): void; hasFieldAnError(field: string): boolean; editName(): Promise; editDescription(): Promise; private editLabel; save(): void; close(): void; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } /** * To communicate with an AWS API Gateway istance. * Lighter, alternative version of _IDEAAWSAPIService_. */ declare class IDEAApiService { protected _env: any; private _platform; private _appRef; /** * The base URL to which to make requests. */ baseURL: string; /** * A reference to the current's app version. */ appVersion: string; /** * A reference to the current's app package (bundle). * It can be `undefined` in case the app doesn't have a (mobile) app bundle. */ appBundle: string; /** * Passed as `Authorization` header. */ authToken: string | (() => Promise); /** * Passed as `X-API-Key` header. */ apiKey: string; /** * Some custom headers to set so that they are used in any API request. */ defaultHeaders: Record; constructor(); /** * Execute an online API request. * @param path resource path (e.g. `['users', userId]`) * @param method HTTP method * @param options the request options */ protected request(path: string[] | string, method: 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE', options?: ApiRequestOptions): Promise; /** * GET request. */ getResource(path: string[] | string, options?: ApiRequestOptions): Promise; /** * POST request. */ postResource(path: string[] | string, options?: ApiRequestOptions): Promise; /** * PUT request. */ putResource(path: string[] | string, options?: ApiRequestOptions): Promise; /** * PATCH request. */ patchResource(path: string[] | string, options?: ApiRequestOptions): Promise; /** * DELETE request. */ deleteResource(path: string[] | string, options?: ApiRequestOptions): Promise; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵprov: _angular_core.ɵɵInjectableDeclaration; } /** * The options of an API request. */ interface ApiRequestOptions { /** * The additional headers of the request. * The headers "Authorization" and "X-API-Key" are included by default, if set. * The headers set in `defaultHeaders` are always added to any API request. */ headers?: { [key: string]: string | number | boolean; }; /** * The query parameters of the request. */ params?: { [key: string]: string | number | boolean; }; /** * The body of the request. */ body?: any; } declare class IDEAAttachmentsService { protected _env: any; protected _api: IDEAApiService; private _appRef; /** * Upload a new attachment related to an entity and return the `attachmentId`. */ uploadAndGetId(file: File, entityPath: string | string[], options?: { customAction?: string; }): Promise; /** * Get the URL to download an attachment related to an entity. */ getDownloadURL(attachment: Attachment | string, entityPath: string | string[], options?: { customAction?: string; }): Promise; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵprov: _angular_core.ɵɵInjectableDeclaration; } /** * Approximate conversion of bytes in MB. */ declare const bytesToMegaBytes: (bytes: number) => number; declare class IDEAChecksComponent implements OnInit { private _modal; /** * It should be read only until the component closure. */ data?: Check[]; /** * If true, sort alphabetically the data (by name or, fallback, by value). */ sortData?: boolean; /** * A placeholder for the searchbar. */ searchPlaceholder?: string; /** * The text to show in case no element is found after a search. */ noElementsFoundText?: string; /** * Whether to show an avatar aside each element. */ showAvatars?: boolean; /** * Limit the number of selectable elements to the value provided. * Note: if this attribute is active, `allowSelectDeselectAll` will be ignored. */ limitSelectionToNum: number; /** * Whether to allow the select/deselect-all buttons. */ allowSelectDeselectAll?: boolean; /** * A pre-filter for the category1. */ category1?: string; /** * A pre-filter for the category2. */ category2?: string; /** * Whether tho show the categories filters. */ showCategoriesFilters: boolean; /** * The translation key to get the preview text; it has a `num` variable available. */ previewTextKey: string; workingData: Check[]; filteredChecks: _angular_core.WritableSignal; currentPage: number; activeCategories1: Set; activeCategories2: Set; readonly searchbar: _angular_core.Signal; ngOnInit(): void; ionViewDidEnter(): void; private loadActiveCategories; private mapIntoSuggestions; search(toSearch?: string, scrollToNextPage?: HTMLIonInfiniteScrollElement): void; setFilterCategoryN(whichCategory: number): Promise; resetFilterCategoryN(whichCategory: number): void; getNumChecked(): number; checkAll(check: boolean): void; cancel(): void; confirm(): void; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } declare class IDEACheckerComponent { private _modal; private _translate; /** * The checks to show. */ readonly data: _angular_core.ModelSignal; /** * @deprecated Alternative to the case above; function that returns a Promise>. */ readonly dataProvider: _angular_core.InputSignal; /** * The label for the field. */ label: string; /** * The icon for the field. */ icon: string; /** * The color of the icon. */ readonly iconColor: _angular_core.InputSignal; /** * A placeholder for the searchbar. */ readonly searchPlaceholder: _angular_core.InputSignal; /** * If true, show the string instead of the preview text. */ readonly noPreviewText: _angular_core.InputSignal; /** * The text to show in case no element is found after a search. */ readonly noElementsFoundText: _angular_core.InputSignal; /** * If true, no elements selected equals all the elements selected. */ readonly noneEqualsAll: _angular_core.InputSignal; /** * If no element is selected, set this custom text. */ readonly noneText: _angular_core.InputSignal; /** * If all the elements are selected, set this custom text. */ readonly allText: _angular_core.InputSignal; /** * The translation key to get the preview text; it has a `num` variable available. */ readonly previewTextKey: _angular_core.InputSignal; /** * Lines preferences for the item. */ readonly lines: _angular_core.InputSignal; /** * The color for the component. */ readonly color: _angular_core.InputSignal; /** * If true, the component is disabled. */ disabled: boolean; /** * If true, the field has a tappable effect when disabled. */ readonly tappableWhenDisabled: _angular_core.InputSignal; /** * If true, the obligatory dot is shown. */ readonly obligatory: _angular_core.InputSignal; /** * If true, sort alphabetically the data. */ readonly sortData: _angular_core.InputSignal; /** * How many elements to show in the preview before to generalize on the number. */ readonly numMaxElementsInPreview: _angular_core.InputSignal; /** * Whether to show an avatar aside each element. */ readonly showAvatars: _angular_core.InputSignal; /** * Limit the number of selectable elements to the value provided. * Note: if this attribute is active, `allowSelectDeselectAll` will be ignored. */ readonly limitSelectionToNum: _angular_core.InputSignal; /** * Whether to allow the select/deselect-all buttons. */ readonly allowSelectDeselectAll: _angular_core.InputSignal; /** * A pre-filter for the category1. */ readonly category1: _angular_core.InputSignal; /** * A pre-filter for the category2. */ readonly category2: _angular_core.InputSignal; /** * Whether tho show the categories filters. */ readonly showCategoriesFilters: _angular_core.InputSignal; /** * On change event. */ readonly change: _angular_core.OutputEmitterRef; /** * Icon select. */ readonly iconSelect: _angular_core.OutputEmitterRef; isOpening: _angular_core.WritableSignal; fetchDataAndOpenModal(): Promise; private openChecker; getPreview(): string; doIconSelect(event: any): void; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } declare class IDEAChipCheckerComponent { private _popover; private _modal; private _translate; /** * The checks to show. */ readonly data: _angular_core.InputSignal; /** * The label for the field. */ readonly label: _angular_core.InputSignal; /** * The icon for the field. */ icon: string; /** * The color of the icon. */ readonly iconColor: _angular_core.InputSignal; /** * A placeholder for the searchbar. */ readonly searchPlaceholder: _angular_core.InputSignal; /** * If true, show the string instead of the preview text. */ readonly noPreviewText: _angular_core.InputSignal; /** * The text to show in case no element is found after a search. */ readonly noElementsFoundText: _angular_core.InputSignal; /** * If true, no elements selected equals all the elements selected. */ readonly noneEqualsAll: _angular_core.InputSignal; /** * If no element is selected, set this custom text. */ readonly noneText: _angular_core.InputSignal; /** * If all the elements are selected, set this custom text. */ readonly allText: _angular_core.InputSignal; /** * The translation key to get the preview text; it has a `num` variable available. */ readonly previewTextKey: _angular_core.InputSignal; /** * The color for the component. */ readonly color: _angular_core.InputSignal; /** * The color for the inactive component. */ readonly inactiveColor: _angular_core.InputSignal; /** * If true, the component is disabled. */ readonly disabled: _angular_core.InputSignal; /** * If true, sort alphabetically the data. */ readonly sortData: _angular_core.InputSignal; /** * Whether to always show the `value`, even when the `name` is set. */ readonly alwaysShowValue: _angular_core.InputSignal; /** * How many elements to show in the preview before to generalize on the number. */ readonly numMaxElementsInPreview: _angular_core.InputSignal; /** * Limit the number of selectable elements to the value provided. */ readonly limitSelectionToNum: _angular_core.InputSignal; /** * Whether to allow the select/deselect-all buttons. */ readonly allowSelectDeselectAll: _angular_core.InputSignal; /** * Whether to show the reset button. */ readonly resetButton: _angular_core.InputSignal; /** * Whether to show the check list as a popover. * If false, we show a centered modal. */ readonly showAsPopover: _angular_core.InputSignal; /** * On change event. */ readonly change: _angular_core.OutputEmitterRef; isOpening: _angular_core.WritableSignal; openChecker(event: Event): Promise; getPreview(): string; private allChecked; someChecked(): boolean; resetChecks(event: Event): void; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } declare class IDEAInlineCheckerComponent { private _popover; private _translate; /** * The options to show and sort. */ readonly data: _angular_core.InputSignal; /** * The label for the component. */ readonly label: _angular_core.InputSignal; /** * The label placement. */ readonly labelPlacement: _angular_core.InputSignal; /** * The placeholder for the component. */ readonly placeholder: _angular_core.InputSignal; /** * A placeholder for the searchbar. */ readonly searchPlaceholder: _angular_core.InputSignal; /** * The text to show in case no element is found after a search. */ readonly noElementsFoundText: _angular_core.InputSignal; /** * The lines of the component. */ readonly lines: _angular_core.InputSignal; /** * The color of the component. */ readonly color: _angular_core.InputSignal; /** * Whether the component is disabled. */ readonly disabled: _angular_core.InputSignal; /** * Whether the checklist is reorderable or not. */ readonly reorder: _angular_core.InputSignal; /** * If true, sort the checklist alphabetically. */ readonly sortData: _angular_core.InputSignal; /** * How many elements to show in the preview before to generalize on the number. */ readonly numMaxElementsInPreview: _angular_core.InputSignal; /** * The translation key to get the preview text; it has a `num` variable available. */ readonly previewTextKey: _angular_core.InputSignal; /** * Limit the number of selectable elements to the value provided. * If this number is forced to `1`, the component turns into a single selection. */ readonly limitSelectionToNum: _angular_core.InputSignal; /** * If true, render the child component centered in the screen and show a header with a searchbar. */ readonly withSearchbar: _angular_core.InputSignal; /** * On change event. */ readonly change: _angular_core.OutputEmitterRef; isOpening: _angular_core.WritableSignal; openChecker(theEvent: Event): Promise; getPreview(): string; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } /** * Translations service. */ declare class IDEATranslationsService { protected _env: any; private _appRef; /** * Base folder containing the translations. */ protected basePath: string; /** * The modules for which to load the translations. */ protected modulesPath: string[]; /** * Template matcher to interpolate complex strings (e.g. `{{user}}`). */ private templateMatcher; /** * The available languages. */ private langs; /** * The current language. */ private currentLang; /** * The fallback language. */ private defaultLang; /** * The translations. */ private translations; /** * Some default interpolation parameters to add to istant translations. */ private defaultInterpolations; /** * To subscribe to language changes. */ onLangChange: EventEmitter; constructor(); /** * Initialize the service. */ init(languages?: string[], defaultLang?: string): Promise; /** * Set the available languages. */ setLangs(langs: string[]): void; /** * Returns an array of currently available languages. */ getLangs(): string[]; /** * Get the fallback language. */ getDefaultLang(): string; /** * Sets the default language to use as a fallback. */ setDefaultLang(lang: string): void; /** * Get the languages in IdeaX format. */ languages(): Languages; /** * Returns the language code name from the browser, e.g. "it" */ getBrowserLang(): string; /** * The lang currently used. */ getCurrentLang(): string; /** * Set a language to use. */ use(lang: string, force?: boolean): Promise; /** * Set some parameters to automatically provide to translation actions. */ setDefaultInterpolations(defaultParams: Record): void; /** * Get a translated term by key in the current language, optionally interpolating variables (e.g. `{{user}}`). * If the term doesn't exist in the current language, it is searched in the default language. */ instant(key: string, interpolateParams?: any): string; /** * Get a translated term by key in the selected language, optionally interpolating variables (e.g. `{{user}}`). * If the term doesn't exist in the current language, it is searched in the default language. */ instantInLanguage(language: string, key: string, interpolateParams?: any): string; /** * Shortcut to instant. */ _(key: string, interpolateParams?: any): string; /** * Translate (instant) and transform an expected markdown string into HTML. */ _md(key: string, interpolateParams?: any): string; /** * Return a Label containing all the available translations of a key. */ getLabelByKey(key: string, interpolateParams?: any): Label; /** * Return the translation in the current language of a label. */ translateLabel(label: Label): string; /** * Shortcut to translateLabel. */ _label(label: Label): string; /** * Load the translations from the files. */ private loadTranlations; /** * Load a file into the translations. */ private loadTranslationFileHelper; /** * Interpolates a string to replace parameters. * "This is a {{ key }}" ==> "This is a value", with params = { key: "value" } */ private interpolate; /** * Gets a value from an object by composed key. * getValue({ key1: { keyA: 'valueI' }}, 'key1.keyA') ==> 'valueI' */ private getValue; /** * Helper to quicly check if the value is defined. */ private isDefined; /** * Format a date in the current locale (optionally forcing a timeZone). */ formatDate(value: any, pattern?: string, timeZone?: string): string; /** * Get a readable string to represent the current language (standard ISO639). */ getLanguageNameByKey(lang?: string): string; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵprov: _angular_core.ɵɵInjectableDeclaration; } declare class IDEACustomBlockComponent { private _alert; _translate: IDEATranslationsService; /** * The custom sections to manage. */ readonly sections: _angular_core.InputSignal; /** * The CustomBlockMeta that describe the custom sections. */ readonly blockMeta: _angular_core.InputSignal; /** * Whether the component is enabled or not. */ readonly disabled: _angular_core.InputSignal; /** * Lines preferences for the component. */ readonly lines: _angular_core.InputSignal; /** * Whether to hide the descriptions (buttons). */ readonly hideDescriptions: _angular_core.InputSignal; /** * Show errors as reported from the parent component. */ readonly errors: _angular_core.InputSignal>; /** * Add a custom prefix to the error string identifier. */ readonly errorPrefix: _angular_core.InputSignal; CFT: typeof CustomFieldTypes; hasFieldAnError(field: string): boolean; hasDescription(sectionKey: string, fieldKey: string): boolean; openDescription(sectionKey: string, fieldKey: string, event: any): Promise; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } declare class IDEACustomBlockMetaComponent { private _modal; private _alert; private _message; private _translate; /** * The CustomBlockMeta to manage. */ readonly block: _angular_core.InputSignal; /** * Whether the custom sections should manage the display template or it should be hidden. */ readonly useDisplayTemplate: _angular_core.InputSignal; /** * Whether the component is enabled or not. */ readonly disabled: _angular_core.InputSignal; /** * Lines preferences for the component. */ readonly lines: _angular_core.InputSignal; reorderSectionsLegend(ev: any): void; openSection(s: string): Promise; removeSection(s: string, ev: any): Promise; addNewSection(): Promise; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } declare class IDEACustomFieldMetaComponent implements OnInit { private _alert; private _modal; private _message; _translate: IDEATranslationsService; /** * The CustomFieldMeta to manage. */ field?: CustomFieldMeta; /** * Whether the component is enabled or not. */ disabled: boolean; /** * Lines preferences for the component. */ lines?: string; _field: _angular_core.WritableSignal; errors: Set; FIELD_TYPES: string[]; CFT: typeof CustomFieldTypes; ngOnInit(): void; hasFieldAnError(field: string): boolean; editLabel(title: string, label: Label): Promise; editIcon(): Promise; reorderOptions(ev: any): void; removeOptionByIndex(index: number): Promise; addOption(): Promise; editEnumLabel(theEnum: string): void; save(): Promise; close(somethingChanged?: boolean): void; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } declare class IDEACustomSectionComponent { private _alert; _translate: IDEATranslationsService; /** * The custom fields to manage. */ readonly fields: _angular_core.InputSignal; /** * The CustomSectionMeta that describe the custom fields. */ readonly sectionMeta: _angular_core.InputSignal; /** * Whether the component is enabled or not. */ readonly disabled: _angular_core.InputSignal; /** * Lines preferences for the component. */ readonly lines: _angular_core.InputSignal; /** * Whether to hide the descriptions (buttons). */ readonly hideDescriptions: _angular_core.InputSignal; /** * Show errors as reported from the parent component. */ readonly errors: _angular_core.InputSignal>; /** * Add a custom prefix to the error string identifier. */ readonly errorPrefix: _angular_core.InputSignal; CFT: typeof CustomFieldTypes; hasFieldAnError(field: string): boolean; openDescription(fieldKey: string, event: any): Promise; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } declare class IDEACustomSectionMetaComponent implements OnInit { private _modal; private _alert; private _message; private _translate; /** * The CustomSectionMeta to manage. */ section?: CustomSectionMeta; /** * Whether to hide the headers of the section (in case we just want to display/manage the fields). */ hideHeaders: boolean; /** * Whether the CustomSectionMeta should manage the display template or it should be hidden. */ useDisplayTemplate: boolean; /** * Whether the compoent is enabled or not. */ disabled: boolean; /** * Lines preferences for the component. */ lines?: string; _section: _angular_core.WritableSignal; errors: Set; DISPLAY_TEMPLATE_MAX_NUM_FIELD_PER_ROW: number; ngOnInit(): void; hasFieldAnError(field: string): boolean; editName(): Promise; editDescription(): Promise; private editLabel; reorderFieldsLegend(ev: any): void; openField(f: string): Promise; removeField(f: string, ev: any): Promise; addNewField(): Promise; reorderDisplayTemplateRows(ev: any): void; isDisplayTemplateRowFull(row: number): boolean; addNewDisplayTemplateRow(): void; addFieldToDisplayTemplateRow(row: number): Promise; removeFieldToDisplayTemplateRow(row: number, field: string): void; private cleanEmptyDisplayTemplateRows; save(): Promise; close(): void; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } /** * Configurator of EmailData. */ declare class IDEAEmailDataComponent implements OnInit { private _modal; /** * The email data to manage. */ readonly emailData: _angular_core.InputSignal; /** * The variables the user can use for subject and content. */ readonly variables: _angular_core.InputSignal; /** * The label for the field. */ readonly label: _angular_core.InputSignal; /** * The icon for the field. */ readonly icon: _angular_core.InputSignal; /** * The color of the icon. */ readonly iconColor: _angular_core.InputSignal; /** * A placeholder for the field. */ readonly placeholder: _angular_core.InputSignal; /** * Lines preferences for the item. */ readonly lines: _angular_core.InputSignal; /** * The color for the component. */ readonly color: _angular_core.InputSignal; /** * If true, the component is disabled. */ readonly disabled: _angular_core.InputSignal; /** * On change event. */ readonly change: _angular_core.OutputEmitterRef; /** * Icon select. */ readonly iconSelect: _angular_core.OutputEmitterRef; /** * The list of variables codes to use for substitutions. */ variablesPlain: string[]; isOpening: _angular_core.WritableSignal; ngOnInit(): void; openEmailDataConfiguration(): Promise; doIconSelect(event: any): void; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } declare class IDEAEmailDataConfigurationComponent implements OnInit { private _modal; /** * The emailData to configure. */ emailData?: EmailData; /** * The variables the user can use for subject and content. */ variables?: StringVariable[]; /** * The title for the component. */ title?: string; /** * Lines preferences for the item. */ lines?: string; /** * If true, the component is disabled. */ disabled?: boolean; emailDataWC: EmailData; variablesPlain: string[]; ngOnInit(): void; mdToHtml(content: string): string; save(): void; close(): void; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } declare class IDEASendEmailComponent implements OnInit { private _modal; private _translate; /** * The content and receivers of the email. */ readonly email: _angular_core.InputSignal; /** * Visual indicators of the attachments that will be sent. */ readonly attachments: _angular_core.InputSignal; /** * The variables the user can use for subject and content. */ variables: StringVariable[]; /** * A map of the values to substitute to the variables. */ values: { [variable: string]: string | number; }; /** * The suggested contacts for the email composer. */ readonly contacts: _angular_core.InputSignal; /** * Lines preferences for the items. */ readonly lines: _angular_core.InputSignal; /** * Whether we want to prevent the user to change the addresses pre-set. */ readonly disableChangeOfAddresses: _angular_core.InputSignal; emailWC: _angular_core.WritableSignal; ngOnInit(): void; addAddressToList(list: string[]): Promise; removeAddressFromList(list: string[], address: string): void; canSend(): boolean; send(): void; close(): void; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } declare class IDEAIconsComponent implements OnInit { private _modal; /** * A placeholder for the searchbar. */ readonly searchPlaceholder: _angular_core.InputSignal; icons: Ionicons[]; /** * Which icons to show, based on the current search. Note: this method is used instead of the usual, because the * icons take a lot to redraw (so it's better to just hide them when not needed). */ shouldShowIcon: { [icon: string]: boolean; }; ngOnInit(): void; search(toSearch?: string): void; select(selection: Ionicons): void; close(): void; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } /** * Manage the content of a Label. */ declare class IDEALabelComponent implements OnInit { private _modal; private _translate; /** * The label to manage. * Note: the name is set to not overlap with IDEA's components typical use of the attribute `label`. */ readonly content: _angular_core.InputSignal