import { InjectionToken, Injector } from '@angular/core'; import { Auth } from './security.config'; import { MenuConfig } from './menu.config'; import { CSPHeaderParams } from 'csp-header'; declare const VALTIMO_CONFIG: InjectionToken; declare const INITIALIZERS: InjectionToken<(() => Function)[]>; declare type Direction = 'ASC' | 'DESC'; interface DefinitionColumn { propertyName: string; translationKey: string; sortable?: boolean; viewType?: string; default?: boolean | string; enum?: Array | { [key: string]: string; }; title?: string; format?: string; key?: string; tagAmount?: number; } interface CustomTaskList { fields: Array; defaultSortedColumn?: SortState; } interface CustomLeftSidebar { defaultMenuWidth?: number; maxMenuWidth?: number; minMenuWidth?: number; } interface Sort { name: string; direction: Direction; } interface SortState { state: Sort; isSorting: boolean; } interface FormioOptions { [key: string]: any; } interface OverrideFormioOptions extends FormioOptions { [key: string]: any; } interface ValtimoConfigFeatureToggles { applicationTitleAsSuffix?: boolean; showUserNameInTopBar?: boolean; showPlantATreeButton?: boolean; disableCaseCount?: boolean; caseListColumn?: boolean; enableObjectManagement?: boolean; largeLogoMargin?: boolean; sortFilesByDate?: boolean; returnToLastUrlAfterTokenExpiration?: boolean; enableTabManagement?: boolean; hideValtimoVersionsForNonAdmins?: boolean; useStartEventNameAsStartFormTitle?: boolean; allowUserThemeSwitching?: boolean; enableCompactModeToggle?: boolean; compactModeOnByDefault?: boolean; enableUserNameInTopBarToggle?: boolean; enableFormViewModel?: boolean; enableIntermediateSave?: boolean; enableTaskPanel?: boolean; enableFormFlowBreadcrumbs?: boolean; enablePbacDocumentenApiDocuments?: boolean; enableSuppressDocumentError?: boolean; enableIkoType?: boolean; enableGenericCaseList?: boolean; enableManualTaskListRefresh?: boolean; menuCollapsedByDefault?: boolean; enableOpenSearch?: boolean; /** * @deprecated DMN decision table editing is always enabled and is no longer gated by a * feature toggle. This option is ignored and will be removed in a future major release. */ experimentalDmnEditing?: boolean; enableZgwFeatures?: boolean; /** * When enabled, the form.io token is kept in memory only and is no longer persisted to * localStorage. Enable this when your forms rely solely on the Keycloak token (attached * via the HTTP interceptor) and do not depend on form.io's own token-authenticated requests. */ disableFormioTokenInLocalStorage?: boolean; } interface ValtimoConfig { logoSvgBase64?: string; darkModeLogoSvgBase64?: string; logoPngBase64?: string; darkModeLogoPngBase64?: string; applicationTitle?: string; /**@deprecated Initializers will be removed in the future. */ initializers?: ((injector: Injector) => () => void)[]; menu: MenuConfig; authentication: Auth; production: boolean; whitelistedDomains: string[]; langKey?: Language; valtimoApi: { endpointUri: string; }; changePasswordUrl?: { endpointUri: string; }; swagger: { endpointUri: string; }; mockApi: { endpointUri: string; }; logger: any; definitions: any; openZaak: { catalogus: string; }; uploadProvider: UploadProvider; caseFileSizeUploadLimitMB?: number; caseFileUploadAcceptedFiles?: string; supportedDocumentFileTypesToViewInBrowser?: string[]; defaultDefinitionTable: Array; translationResources?: Array; featureToggles?: ValtimoConfigFeatureToggles; visibleTaskListTabs?: Array; visibleCaseListTabs?: Array; customTaskList?: CustomTaskList; customLeftSidebar?: CustomLeftSidebar; caseObjectTypes?: { [definitionNameId: string]: Array; }; overrideFeedbackMenuItemToMailTo?: FeedbackMailTo; csp?: CSPHeaderParams; formioOptions?: OverrideFormioOptions; } interface FeedbackMailTo { email?: string; subjectTranslationKey: string; bodyTranslationKey: string; } declare enum UploadProvider { S3 = 0, /**@deprecated This upload provider will be removed in the future. */ OPEN_ZAAK = 1, DOCUMENTEN_API = 2 } declare enum TaskListTab { MINE = "mine", OPEN = "open", ALL = "all", TEAM = "team" } declare enum CaseListTab { MINE = "MINE", OPEN = "OPEN", ALL = "ALL", TEAM = "TEAM" } declare enum Language { NL = "nl", EN = "en" } export { VALTIMO_CONFIG, INITIALIZERS, Direction, DefinitionColumn, CustomTaskList, CustomLeftSidebar, Sort, SortState, OverrideFormioOptions, ValtimoConfigFeatureToggles, ValtimoConfig, FeedbackMailTo, UploadProvider, TaskListTab, CaseListTab, Language, }; //# sourceMappingURL=config.d.ts.map