{"version":3,"file":"valtimo-config.mjs","sources":["../../../../projects/valtimo/config/src/lib/models/config.ts","../../../../projects/valtimo/config/src/lib/models/email-notification-settings.model.ts","../../../../projects/valtimo/config/src/lib/models/menu-item.model.ts","../../../../projects/valtimo/config/src/lib/models/menu.config.ts","../../../../projects/valtimo/config/src/lib/models/security.config.ts","../../../../projects/valtimo/config/src/lib/models/extension.model.ts","../../../../projects/valtimo/config/src/lib/models/http-loader.ts","../../../../projects/valtimo/config/src/lib/models/roles.ts","../../../../projects/valtimo/config/src/lib/models/user-management.model.ts","../../../../projects/valtimo/config/src/lib/models/page.ts","../../../../projects/valtimo/config/src/lib/models/connector.model.ts","../../../../projects/valtimo/config/src/lib/models/search.model.ts","../../../../projects/valtimo/config/src/lib/models/versions.model.ts","../../../../projects/valtimo/config/src/lib/models/user-settings.model.ts","../../../../projects/valtimo/config/src/lib/models/translation.model.ts","../../../../projects/valtimo/config/src/lib/models/localization.model.ts","../../../../projects/valtimo/config/src/lib/models/case-management-tab.model.ts","../../../../projects/valtimo/config/src/lib/models/form-view-model.model.ts","../../../../projects/valtimo/config/src/lib/models/window.model.ts","../../../../projects/valtimo/config/src/lib/models/tag-color.model.ts","../../../../projects/valtimo/config/src/lib/models/index.ts","../../../../projects/valtimo/config/src/lib/utils/router.utils.ts","../../../../projects/valtimo/config/src/lib/utils/url.utils.ts","../../../../projects/valtimo/config/src/lib/utils/index.ts","../../../../projects/valtimo/config/src/lib/services/config.service.ts","../../../../projects/valtimo/config/src/lib/extension/extension.component.ts","../../../../projects/valtimo/config/src/lib/extension/extension.component.html","../../../../projects/valtimo/config/src/lib/config.module.ts","../../../../projects/valtimo/config/src/lib/constants/versions.ts","../../../../projects/valtimo/config/src/lib/constants/case-management-tab-token.ts","../../../../projects/valtimo/config/src/lib/constants/form-view-model-token.ts","../../../../projects/valtimo/config/src/lib/constants/index.ts","../../../../projects/valtimo/config/src/lib/services/base-api.service.ts","../../../../projects/valtimo/config/src/lib/services/localization.service.ts","../../../../projects/valtimo/config/src/lib/services/menu-include.service.ts","../../../../projects/valtimo/config/src/lib/services/user-settings.service.ts","../../../../projects/valtimo/config/src/lib/services/index.ts","../../../../projects/valtimo/config/src/lib/translation/custom-multi-translate-http-loader.ts","../../../../projects/valtimo/config/src/lib/translation/custom-multi-translate-http-loader-factory.ts","../../../../projects/valtimo/config/src/lib/translation/multi-translate-http-loader-factory.ts","../../../../projects/valtimo/config/src/lib/translation/index.ts","../../../../projects/valtimo/config/src/lib/testing/services/mock-translate.service.ts","../../../../projects/valtimo/config/src/lib/testing/services/mock-keycloak.service.ts","../../../../projects/valtimo/config/src/lib/testing/services/mock-icon.service.ts","../../../../projects/valtimo/config/src/lib/testing/services/index.ts","../../../../projects/valtimo/config/src/lib/testing/index.ts","../../../../projects/valtimo/config/src/lib/zgw/constants/zgw-object-type-component-token.ts","../../../../projects/valtimo/config/src/lib/zgw/constants/zgw-documenten-api-documents-component-token.ts","../../../../projects/valtimo/config/src/lib/zgw/constants/zgw-case-configuration-extensions-token.ts","../../../../projects/valtimo/config/src/lib/zgw/constants/index.ts","../../../../projects/valtimo/config/src/lib/zgw/index.ts","../../../../projects/valtimo/config/src/public-api.ts","../../../../projects/valtimo/config/src/valtimo-config.ts"],"sourcesContent":["/*\n * Copyright 2015-2024 Ritense BV, the Netherlands.\n *\n * Licensed under EUPL, Version 1.2 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" basis,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport {InjectionToken, Injector} from '@angular/core';\nimport {Auth} from './security.config';\nimport {MenuConfig} from './menu.config';\nimport {CSPHeaderParams} from 'csp-header';\nimport {FormioOptions} from '@formio/angular';\n\nconst VALTIMO_CONFIG = new InjectionToken<ValtimoConfig>('valtimoConfig');\n\n// eslint-disable-next-line\nconst INITIALIZERS = new InjectionToken<(() => Function)[]>('initializers');\n\ndeclare type Direction = 'ASC' | 'DESC';\n\ninterface DefinitionColumn {\n  propertyName: string;\n  translationKey: string;\n  sortable?: boolean;\n  viewType?: string;\n  default?: boolean | string;\n  enum?: Array<string> | {[key: string]: string};\n  title?: string;\n  format?: string;\n  key?: string;\n  tagAmount?: number;\n}\n\ninterface CustomDossierHeaderItem {\n  labelTranslationKey?: string;\n  propertyPaths?: Array<string>;\n  columnSize?: number;\n  textSize?: string;\n  noValueText?: string;\n  customClass?: string;\n  modifier?: string;\n}\n\ninterface CustomTaskList {\n  fields: Array<DefinitionColumn>;\n  defaultSortedColumn?: SortState;\n}\n\ninterface CustomLeftSidebar {\n  defaultMenuWidth?: number;\n  maxMenuWidth?: number;\n  minMenuWidth?: number;\n}\n\ninterface Sort {\n  name: string;\n  direction: Direction;\n}\n\ninterface SortState {\n  state: Sort;\n  isSorting: boolean;\n}\n\ninterface OverrideFormioOptions extends FormioOptions {\n  [key: string]: any;\n}\n\ninterface ValtimoConfigFeatureToggles {\n  applicationTitleAsSuffix?: boolean;\n  enableHackathonCasesPage?: boolean;\n  showUserNameInTopBar?: boolean;\n  showPlantATreeButton?: boolean;\n  experimentalDmnEditing?: boolean;\n  disableCaseCount?: boolean;\n  caseListColumn?: boolean;\n  enableObjectManagement?: boolean;\n  largeLogoMargin?: boolean;\n  sortFilesByDate?: boolean;\n  returnToLastUrlAfterTokenExpiration?: boolean;\n  enableTabManagement?: boolean;\n  hideValtimoVersionsForNonAdmins?: boolean;\n  useStartEventNameAsStartFormTitle?: boolean;\n  allowUserThemeSwitching?: boolean;\n  enableCompactModeToggle?: boolean;\n  compactModeOnByDefault?: boolean;\n  enableUserNameInTopBarToggle?: boolean;\n  enableFormViewModel?: boolean;\n  enableIntermediateSave?: boolean;\n  enableTaskPanel?: boolean;\n  enableFormFlowBreadcrumbs?: boolean;\n  enablePbacDocumentenApiDocuments?: boolean;\n  enableSuppressDocumentError?: boolean;\n}\n\ninterface ValtimoConfig {\n  // eslint-disable-next-line\n  logoSvgBase64?: string;\n  darkModeLogoSvgBase64?: string;\n  logoPngBase64?: string;\n  darkModeLogoPngBase64?: string;\n  applicationTitle?: string;\n  /**@deprecated Initializers will be removed in the future. */\n  initializers?: ((injector: Injector) => () => void)[];\n  menu: MenuConfig;\n  authentication: Auth;\n  production: boolean;\n  whitelistedDomains: string[];\n  langKey?: Language;\n  valtimoApi: {\n    endpointUri: string;\n  };\n  changePasswordUrl?: {\n    endpointUri: string;\n  };\n  swagger: {\n    endpointUri: string;\n  };\n  mockApi: {\n    endpointUri: string;\n  };\n  logger: any;\n  definitions: any;\n  openZaak: {\n    catalogus: string;\n  };\n  uploadProvider: UploadProvider;\n  caseFileSizeUploadLimitMB?: number;\n  caseFileUploadAcceptedFiles?: string;\n  supportedDocumentFileTypesToViewInBrowser?: string[];\n  defaultDefinitionTable: Array<DefinitionColumn>;\n  customDefinitionTables: {\n    [definitionNameId: string]: Array<DefinitionColumn>;\n  };\n  customDossierHeader?: {\n    [definitionNameId: string]: Array<CustomDossierHeaderItem>;\n  };\n  translationResources?: Array<string>;\n  featureToggles?: ValtimoConfigFeatureToggles;\n  visibleTaskListTabs?: Array<TaskListTab>;\n  visibleDossierListTabs?: Array<DossierListTab>;\n  customTaskList?: CustomTaskList;\n  customLeftSidebar?: CustomLeftSidebar;\n  caseObjectTypes?: {\n    [definitionNameId: string]: Array<string>;\n  };\n  overrideFeedbackMenuItemToMailTo?: FeedbackMailTo;\n  csp?: CSPHeaderParams;\n  formioOptions?: OverrideFormioOptions;\n}\n\ninterface FeedbackMailTo {\n  email?: string;\n  subjectTranslationKey: string;\n  bodyTranslationKey: string;\n}\n\nenum UploadProvider {\n  S3,\n  /**@deprecated This upload provider will be removed in the future. */\n  OPEN_ZAAK,\n  DOCUMENTEN_API,\n}\n\nenum TaskListTab {\n  MINE = 'mine',\n  OPEN = 'open',\n  ALL = 'all',\n}\n\nenum DossierListTab {\n  MINE = 'MINE',\n  OPEN = 'OPEN',\n  ALL = 'ALL',\n}\n\nenum Language {\n  NL = 'nl',\n  EN = 'en',\n  DE = 'de',\n}\n\nexport {\n  VALTIMO_CONFIG,\n  INITIALIZERS,\n  Direction,\n  DefinitionColumn,\n  CustomDossierHeaderItem,\n  CustomTaskList,\n  CustomLeftSidebar,\n  Sort,\n  SortState,\n  OverrideFormioOptions,\n  ValtimoConfigFeatureToggles,\n  ValtimoConfig,\n  FeedbackMailTo,\n  UploadProvider,\n  TaskListTab,\n  DossierListTab,\n  Language,\n};\n","/*\n * Copyright 2015-2024 Ritense BV, the Netherlands.\n *\n * Licensed under EUPL, Version 1.2 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" basis,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nexport interface EmailNotificationSettings {\n  emailNotifications: boolean;\n  taskNotifications: boolean;\n  emailNotificationOnMonday: boolean;\n  emailNotificationOnTuesday: boolean;\n  emailNotificationOnWednesday: boolean;\n  emailNotificationOnThursday: boolean;\n  emailNotificationOnFriday: boolean;\n  emailNotificationOnSaturday: boolean;\n  emailNotificationOnSunday: boolean;\n}\n","/*\n * Copyright 2015-2024 Ritense BV, the Netherlands.\n *\n * Licensed under EUPL, Version 1.2 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" basis,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport {Subject} from 'rxjs';\n\nenum IncludeFunction {\n  HaalcentraalConnectorConfigured,\n  ObjectManagementEnabled,\n}\n\ninterface MenuItem {\n  title: string;\n  sequence: number;\n  id?: string;\n  link?: string[] | null;\n  textClass?: string;\n  iconClass?: string;\n  children?: MenuItem[];\n  roles?: string[];\n  show?: boolean;\n  count$?: Subject<number>;\n  includeFunction?: IncludeFunction;\n}\n\nexport {MenuItem, IncludeFunction};\n","/*\n * Copyright 2015-2024 Ritense BV, the Netherlands.\n *\n * Licensed under EUPL, Version 1.2 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" basis,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport {MenuItem} from './menu-item.model';\n\nexport interface MenuConfig {\n  menuItems: MenuItem[];\n}\n","/*\n * Copyright 2015-2024 Ritense BV, the Netherlands.\n *\n * Licensed under EUPL, Version 1.2 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" basis,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport {Observable, ReplaySubject} from 'rxjs';\nimport {EmailNotificationSettings} from './email-notification-settings.model';\nimport {Injector} from '@angular/core';\n\nexport interface UserIdentity {\n  email: string;\n  firstName: string;\n  lastName: string;\n  roles: Array<string>;\n  username?: string;\n  id?: string;\n}\n\nexport class ValtimoUserIdentity implements UserIdentity {\n  private readonly _email: string;\n  private readonly _firstName: string;\n  private readonly _lastName: string;\n  private readonly _roles: string[];\n  private readonly _username?: string;\n  private readonly _id?: string;\n\n  constructor(\n    email: string,\n    firstName: string,\n    lastName: string,\n    roles: Array<string>,\n    username?: string,\n    id?: string\n  ) {\n    this._email = email;\n    this._firstName = firstName;\n    this._lastName = lastName;\n    this._roles = roles;\n    this._username = username;\n    this._id = id;\n  }\n\n  get email(): string {\n    return this._email;\n  }\n\n  get firstName(): string {\n    return this._firstName;\n  }\n\n  get lastName(): string {\n    return this._lastName;\n  }\n\n  get roles(): string[] {\n    return this._roles;\n  }\n\n  get username(): string | undefined {\n    return this._username;\n  }\n\n  get id(): string | undefined {\n    return this._id;\n  }\n}\n\nexport interface UserService {\n  getUserSubject(): ReplaySubject<UserIdentity>;\n\n  logout(): void;\n\n  getToken(): Promise<string>;\n\n  updateToken?(minValidity: number): Promise<boolean>;\n}\n\nexport interface EmailNotificationService {\n  getEmailNotificationSettings(): Observable<EmailNotificationSettings>;\n\n  updateEmailNotificationSettings(\n    settings: EmailNotificationSettings\n  ): Observable<EmailNotificationSettings>;\n}\n\nexport interface AuthProviders {\n  guardServiceProvider: any;\n  userServiceProvider: any;\n}\n\nexport interface Auth {\n  module: any;\n  // eslint-disable-next-line\n  initializer: (injector: Injector) => Function;\n  authProviders: AuthProviders;\n  options: any;\n}\n","/*\n * Copyright 2015-2024 Ritense BV, the Netherlands.\n *\n * Licensed under EUPL, Version 1.2 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" basis,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport {ComponentFactoryResolver, ComponentRef, ViewContainerRef} from '@angular/core';\n\nexport interface ExtensionPoint {\n  module: string;\n  page: string;\n  section: string;\n  component: any;\n}\n\nexport class ExtensionLoader {\n  private readonly componentFactoryResolver: ComponentFactoryResolver = null;\n  private componentRef: ComponentRef<any> = null;\n\n  constructor(componentFactoryResolver: ComponentFactoryResolver) {\n    this.componentFactoryResolver = componentFactoryResolver;\n  }\n\n  loadExtensionPoint(viewContainerRef: ViewContainerRef, extensionPoint: ExtensionPoint) {\n    const componentFactory = this.componentFactoryResolver.resolveComponentFactory(\n      extensionPoint.component\n    );\n    this.componentRef = viewContainerRef.createComponent(componentFactory);\n  }\n\n  loadAndClearExtensionPoint(viewContainerRef: ViewContainerRef, extensionPoint: ExtensionPoint) {\n    const componentFactory = this.componentFactoryResolver.resolveComponentFactory(\n      extensionPoint.component\n    );\n    viewContainerRef.clear();\n    return (this.componentRef = viewContainerRef.createComponent(componentFactory));\n  }\n}\n\nexport class Extension {\n  public readonly _name: string;\n  public readonly _extensionPoint: BasicExtensionPoint;\n\n  constructor(name: string, extensionPoint: BasicExtensionPoint) {\n    this._name = name;\n    this._extensionPoint = extensionPoint;\n  }\n\n  get extensionPoint(): BasicExtensionPoint {\n    return this._extensionPoint;\n  }\n}\n\nexport class BasicExtensionPoint implements ExtensionPoint {\n  private readonly _module: string;\n  private readonly _page: string;\n  private readonly _section: string;\n  private readonly _component: any;\n\n  constructor(module: string, page: string, section: string, component: any) {\n    this._module = module;\n    this._page = page;\n    this._section = section;\n    this._component = component;\n  }\n\n  supports(module: string, page: string, section: string): boolean {\n    return this._module === module && this._page === page && this._section === section;\n  }\n\n  get module(): string {\n    return this._module;\n  }\n\n  get page(): string {\n    return this._page;\n  }\n\n  get section(): string {\n    return this._section;\n  }\n\n  get component(): any {\n    return this._component;\n  }\n}\n","/*\n * Copyright 2015-2024 Ritense BV, the Netherlands.\n *\n * Licensed under EUPL, Version 1.2 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" basis,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport {TranslateHttpLoader} from '@ngx-translate/http-loader';\nimport {HttpClient} from '@angular/common/http';\n\nexport function HttpLoaderFactory(httpClient: HttpClient) {\n  return new TranslateHttpLoader(httpClient);\n}\n","/*\n * Copyright 2015-2024 Ritense BV, the Netherlands.\n *\n * Licensed under EUPL, Version 1.2 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" basis,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nexport const ROLE_ADMIN = 'ROLE_ADMIN';\nexport const ROLE_USER = 'ROLE_USER';\nexport const ROLE_DEVELOPER = 'ROLE_DEVELOPER';\n","/*\n * Copyright 2015-2024 Ritense BV, the Netherlands.\n *\n * Licensed under EUPL, Version 1.2 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" basis,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nexport interface User {\n  id: string;\n  fullName: string;\n  firstName: string;\n  lastName: string;\n  email: string;\n  roles: Array<string>;\n  langKey: string;\n  activated: boolean;\n  emailVerified: boolean;\n  verified: string;\n  status: string;\n}\n\nexport interface NamedUser {\n  id: string;\n  email: string;\n  firstName: string;\n  lastName: string;\n  label: string;\n  userName: string;\n}\n","/*\n * Copyright 2015-2024 Ritense BV, the Netherlands.\n *\n * Licensed under EUPL, Version 1.2 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" basis,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\ninterface SortResult {\n  sorted: boolean;\n  unsorted: boolean;\n}\n\ninterface Pageable {\n  sort: SortResult;\n  pageSize: number;\n  pageNumber: number;\n  offset: number;\n  unpaged: boolean;\n  paged: boolean;\n}\n\ninterface Page<T> {\n  content: Array<T>;\n  pageable: Pageable;\n  last: boolean;\n  totalPages: number;\n  totalElements: number;\n  first: boolean;\n  sort: SortResult;\n  numberOfElements: number;\n  size: number;\n  number: number;\n}\n\nexport {SortResult, Pageable, Page};\n","/*\n * Copyright 2015-2024 Ritense BV, the Netherlands.\n *\n * Licensed under EUPL, Version 1.2 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" basis,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\ntype ConnectorPropertyEditType = 'string' | 'number' | 'string[]' | 'number[]';\ntype ConnectorPropertyValueType = string | number | Array<number> | Array<string>;\n\ninterface ConnectorProperties {\n  className: string;\n  [key: string]: ConnectorPropertyValueType | ConnectorProperties;\n}\n\ninterface ConnectorPropertyEditField {\n  key: string;\n  editType: ConnectorPropertyEditType;\n  defaultValue?: ConnectorPropertyValueType;\n}\n\ninterface ConnectorInstance {\n  id: string;\n  name: string;\n  type: ConnectorType;\n  properties: ConnectorProperties;\n}\n\ninterface ConnectorInstanceCreateRequest {\n  name: string;\n  typeId: string;\n  connectorProperties: ConnectorProperties;\n}\n\ninterface ConnectorInstanceUpdateRequest {\n  name: string;\n  typeId: string;\n  id: string;\n  connectorProperties: ConnectorProperties;\n}\n\ninterface ConnectorType {\n  className: string;\n  id: string;\n  name: string;\n  properties: ConnectorProperties;\n}\n\ntype ConnectorModal = 'add' | 'modify';\n\nexport {\n  ConnectorProperties,\n  ConnectorInstance,\n  ConnectorType,\n  ConnectorModal,\n  ConnectorPropertyEditField,\n  ConnectorPropertyEditType,\n  ConnectorInstanceCreateRequest,\n  ConnectorInstanceUpdateRequest,\n  ConnectorPropertyValueType,\n};\n","/*\n * Copyright 2015-2024 Ritense BV, the Netherlands.\n *\n * Licensed under EUPL, Version 1.2 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" basis,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\ntype SearchFieldDataType = 'text' | 'number' | 'date' | 'datetime' | 'boolean';\n\ntype SearchFieldFieldType =\n  | 'single'\n  | 'multiple'\n  | 'range'\n  | 'single-select-dropdown'\n  | 'multi-select-dropdown';\n\ntype SearchFieldMatchType = 'exact' | 'like';\n\ntype SearchFieldBoolean = 'booleanPositive' | 'booleanNegative';\n\ntype BooleanValueSingle = boolean;\n\ntype TextValueSingle = string;\ntype ValueMultiple = Array<\n  BooleanValueSingle | TextValueSingle | NumberValueSingle | NumberValueRange\n>;\n\ntype NumberValueSingle = number;\n\ninterface NumberValueRange {\n  start: NumberValueSingle;\n  end: NumberValueSingle;\n}\n\ntype SearchFieldValue =\n  | BooleanValueSingle\n  | TextValueSingle\n  | ValueMultiple\n  | NumberValueSingle\n  | NumberValueRange;\n\ninterface SearchField {\n  ownerId?: string;\n  title?: string;\n  key: string;\n  path?: string;\n  order?: number;\n  dataType: SearchFieldDataType;\n  fieldType: SearchFieldFieldType;\n  matchType?: SearchFieldMatchType;\n  dropdownDataProvider?: string;\n}\n\ninterface SearchFieldWithValue extends SearchField {\n  value: SearchFieldValue;\n}\n\ninterface SearchFieldValues {\n  [searchFieldKey: string]: SearchFieldValue;\n}\n\ninterface SearchFieldColumnView {\n  title: string;\n  key: string;\n  path: string;\n  dataType: string;\n  fieldType: string;\n}\n\ntype SearchOperator = 'AND' | 'OR';\n\ntype AssigneeFilter = 'OPEN' | 'MINE' | 'ALL';\n\ninterface SearchFilter {\n  key: string;\n  values: Array<string>;\n  multiValue?: boolean;\n}\n\ninterface SearchFilterRange {\n  key: string;\n  rangeFrom: string;\n  rangeTo: string;\n}\n\nexport {\n  SearchFieldDataType,\n  SearchFieldFieldType,\n  SearchFieldMatchType,\n  SearchFieldBoolean,\n  SearchField,\n  SearchFieldValue,\n  SearchFieldWithValue,\n  SearchFieldValues,\n  SearchFieldColumnView,\n  SearchOperator,\n  SearchFilter,\n  SearchFilterRange,\n  AssigneeFilter,\n};\n","/*\n * Copyright 2015-2024 Ritense BV, the Netherlands.\n *\n * Licensed under EUPL, Version 1.2 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" basis,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\ninterface Versions {\n  frontendLibraries: string;\n}\n\nexport {Versions};\n","/*\n * Copyright 2015-2024 Ritense BV, the Netherlands.\n *\n * Licensed under EUPL, Version 1.2 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" basis,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\ninterface UserSettings {\n  collapsibleWidescreenMenu?: boolean;\n  languageCode?: string;\n  compactMode?: boolean;\n  showUserNameInTopBar?: boolean;\n  preferredTheme?: string;\n}\n\nexport {UserSettings};\n","/*\n * Copyright 2015-2024 Ritense BV, the Netherlands.\n *\n * Licensed under EUPL, Version 1.2 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" basis,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\ninterface ITranslationResource {\n  prefix: string;\n  suffix?: string;\n  optional?: boolean;\n}\n\nexport {ITranslationResource};\n","/*\n * Copyright 2015-2024 Ritense BV, the Netherlands.\n *\n * Licensed under EUPL, Version 1.2 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" basis,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\ntype LocalizationContent = object;\n\ninterface Localization {\n  languageKey: string;\n  content: LocalizationContent;\n}\n\ninterface MergedLocalizations {\n  [languageKey: string]: LocalizationContent;\n}\n\nexport {Localization, LocalizationContent, MergedLocalizations};\n","/*\n * Copyright 2015-2024 Ritense BV, the Netherlands.\n *\n * Licensed under EUPL, Version 1.2 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" basis,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport {Type} from '@angular/core';\n\ninterface CaseManagementTabConfig {\n  translationKey: string;\n  component: Type<any>;\n}\n\nexport {CaseManagementTabConfig};\n","/*\n * Copyright 2015-2024 Ritense BV, the Netherlands.\n *\n * Licensed under EUPL, Version 1.2 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" basis,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport {Type} from '@angular/core';\n\ninterface FormViewModel {\n  component: Type<any>;\n}\n\nexport {FormViewModel};\n","/*\n * Copyright 2015-2024 Ritense BV, the Netherlands.\n *\n * Licensed under EUPL, Version 1.2 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" basis,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport {editor} from 'monaco-editor';\n\ntype MonacoEditor = typeof editor;\n\ninterface ValtimoWindow extends Window {\n  monaco?: {\n    editor?: MonacoEditor;\n  };\n  flags?: {\n    formioValueResolverSelectorComponentRegistered: boolean;\n  };\n}\n\nexport {ValtimoWindow};\n","export enum TagColor {\n  WarmGray = 'WARMGRAY',\n  Red = 'RED',\n  Magenta = 'MAGENTA',\n  Purple = 'PURPLE',\n  Blue = 'BLUE',\n  Cyan = 'CYAN',\n  Teal = 'TEAL',\n  Green = 'GREEN',\n  Gray = 'GRAY',\n  CoolGray = 'COOLGRAY',\n  HighContrast = 'HIGHCONTRAST',\n  Outline = 'OUTLINE',\n}\n","/*\n * Copyright 2015-2024 Ritense BV, the Netherlands.\n *\n * Licensed under EUPL, Version 1.2 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" basis,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nexport * from './config';\nexport * from './email-notification-settings.model';\nexport * from './menu-item.model';\nexport * from './menu.config';\nexport * from './security.config';\nexport * from './extension.model';\nexport * from './http-loader';\nexport * from './roles';\nexport * from './user-management.model';\nexport * from './page';\nexport * from './connector.model';\nexport * from './search.model';\nexport * from './versions.model';\nexport * from './user-settings.model';\nexport * from './translation.model';\nexport * from './localization.model';\nexport * from './case-management-tab.model';\nexport * from './form-view-model.model';\nexport * from './window.model';\nexport * from './tag-color.model';\n","/*\n * Copyright 2015-2024 Ritense BV, the Netherlands.\n *\n * Licensed under EUPL, Version 1.2 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" basis,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport {ExtraOptions} from '@angular/router';\n\nclass RouterUtils {\n  public static getRouterExtraOptions(): ExtraOptions {\n    return {canceledNavigationResolution: 'computed'};\n  }\n}\n\nexport {RouterUtils};\n","/*\n * Copyright 2015-2024 Ritense BV, the Netherlands.\n *\n * Licensed under EUPL, Version 1.2 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" basis,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nclass UrlUtils {\n  static formatUrlTrailingSlash(url: string, returnWithTrailingSlash: boolean): string {\n    if (url && typeof url === 'string') {\n      const urlLastCharacter = url[url.length - 1];\n      const urlLastCharacterIsSlash = urlLastCharacter === '/';\n\n      if (!returnWithTrailingSlash && urlLastCharacterIsSlash) {\n        return url.slice(0, -1);\n      } else if (returnWithTrailingSlash && !urlLastCharacterIsSlash) {\n        return `${url}/`;\n      }\n    }\n\n    return url;\n  }\n\n  static formatUrlStartWithSlash(url: string): string {\n    if (url && typeof url === 'string' && url.length > 0 && url[0] !== '/') {\n      return `/${url}`;\n    }\n\n    return `${url}`;\n  }\n\n  static getUrlHost(urlString: string): string {\n    let url!: URL;\n\n    try {\n      url = new URL(urlString);\n    } catch (_) {}\n\n    return url ? url.host : '';\n  }\n}\n\nexport {UrlUtils};\n","/*\n * Copyright 2015-2024 Ritense BV, the Netherlands.\n *\n * Licensed under EUPL, Version 1.2 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" basis,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nexport * from './router.utils';\nexport * from './url.utils';\n","/*\n * Copyright 2015-2024 Ritense BV, the Netherlands.\n *\n * Licensed under EUPL, Version 1.2 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" basis,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport {ComponentFactoryResolver, Inject, Injectable, ViewContainerRef} from '@angular/core';\nimport {\n  Extension,\n  ExtensionLoader,\n  ExtensionPoint,\n  VALTIMO_CONFIG,\n  ValtimoConfig,\n  ValtimoConfigFeatureToggles,\n} from '../models';\nimport {UrlUtils} from '../utils';\nimport {map, Observable, of} from 'rxjs';\n\n@Injectable({\n  providedIn: 'root',\n})\nexport class ConfigService {\n  private readonly extensionLoader: ExtensionLoader;\n  private readonly extensions: Array<Extension> = [];\n  private readonly DEFAULT_APPLICATION_TITLE = 'Valtimo';\n\n  constructor(\n    @Inject(VALTIMO_CONFIG) private valtimoConfig: ValtimoConfig,\n    private componentFactoryResolver: ComponentFactoryResolver\n  ) {\n    this.extensionLoader = new ExtensionLoader(componentFactoryResolver);\n  }\n\n  public get config(): ValtimoConfig {\n    const config = this.valtimoConfig;\n    const translationResourcesConfig = config.translationResources;\n\n    return {\n      ...config,\n      initializers: config.initializers || [],\n      whitelistedDomains: config.whitelistedDomains.map(domain =>\n        UrlUtils.formatUrlTrailingSlash(domain, false)\n      ),\n      mockApi: {\n        ...config.mockApi,\n        endpointUri: UrlUtils.formatUrlTrailingSlash(config.mockApi.endpointUri, true),\n      },\n      swagger: {\n        ...config.swagger,\n        endpointUri: UrlUtils.formatUrlTrailingSlash(config.swagger.endpointUri, false),\n      },\n      valtimoApi: {\n        ...config.valtimoApi,\n        endpointUri: UrlUtils.formatUrlTrailingSlash(config.valtimoApi.endpointUri, true),\n      },\n      ...(translationResourcesConfig && {\n        translationResources: translationResourcesConfig.map(resource =>\n          UrlUtils.formatUrlTrailingSlash(resource, true)\n        ),\n      }),\n      applicationTitle: config.applicationTitle || this.DEFAULT_APPLICATION_TITLE,\n    };\n  }\n\n  public get featureToggles(): ValtimoConfig['featureToggles'] {\n    return this.config.featureToggles;\n  }\n\n  public get config$(): Observable<ValtimoConfig> {\n    return of(this.config);\n  }\n\n  public get featureToggles$(): Observable<ValtimoConfig['featureToggles']> {\n    return of(this.config.featureToggles);\n  }\n\n  public get initializers() {\n    return this.valtimoConfig?.initializers || [];\n  }\n\n  public addExtension(extension: Extension) {\n    return this.extensions.push(extension);\n  }\n\n  public getSupportedExtensionPoint(module: string, page: string, section: string) {\n    return this.extensions.find(extension =>\n      extension.extensionPoint.supports(module, page, section)\n    );\n  }\n\n  public getSupportedExtensionPoints(module: string, page: string, section: string) {\n    return this.extensions.filter(extension =>\n      extension.extensionPoint.supports(module, page, section)\n    );\n  }\n\n  public loadExtensionPoint(viewContainerRef: ViewContainerRef, extensionPoint: ExtensionPoint) {\n    this.extensionLoader.loadExtensionPoint(viewContainerRef, extensionPoint);\n  }\n\n  public loadAndReturnExtensionPoint(\n    viewContainerRef: ViewContainerRef,\n    extensionPoint: ExtensionPoint\n  ) {\n    return this.extensionLoader.loadAndClearExtensionPoint(viewContainerRef, extensionPoint);\n  }\n\n  public getFeatureToggleObservable(\n    featureToggle: keyof ValtimoConfigFeatureToggles\n  ): Observable<boolean> {\n    return this.featureToggles$.pipe(\n      map(featureToggles => !!(featureToggles && featureToggles[featureToggle]))\n    );\n  }\n\n  public getFeatureToggle(featureToggle: keyof ValtimoConfigFeatureToggles): boolean {\n    return !!(this.featureToggles && this.featureToggles[featureToggle]);\n  }\n}\n","/*\n * Copyright 2015-2024 Ritense BV, the Netherlands.\n *\n * Licensed under EUPL, Version 1.2 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" basis,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport {Component, Input, OnInit, ViewChild, ViewContainerRef} from '@angular/core';\nimport {ConfigService} from '../services/config.service';\nimport {Extension, ExtensionLoader, ExtensionPoint} from '../models';\n\n@Component({\n  selector: 'valtimo-extension',\n  templateUrl: './extension.component.html',\n  styleUrls: ['./extension.component.css'],\n})\nexport class ExtensionComponent implements OnInit {\n  public extensionLoader: ExtensionLoader = null;\n  public selectedExtensionPoint: ExtensionPoint;\n  public supportedExtensions: Array<Extension>;\n  @Input() public module: string;\n  @Input() public page: string;\n  @Input() public section: string;\n  @ViewChild('injectExtension', {read: ViewContainerRef, static: true})\n  viewContainerRef: ViewContainerRef;\n\n  constructor(private configService: ConfigService) {}\n\n  ngOnInit() {\n    this.configService\n      .getSupportedExtensionPoints(this.module, this.page, this.section)\n      .forEach(extension => {\n        this.configService.loadExtensionPoint(this.viewContainerRef, extension.extensionPoint);\n      });\n  }\n}\n","<!--\n  ~ Copyright 2015-2024 Ritense BV, the Netherlands.\n  ~\n  ~ Licensed under EUPL, Version 1.2 (the \"License\");\n  ~ you may not use this file except in compliance with the License.\n  ~ You may obtain a copy of the License at\n  ~\n  ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n  ~\n  ~ Unless required by applicable law or agreed to in writing, software\n  ~ distributed under the License is distributed on an \"AS IS\" basis,\n  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n  ~ See the License for the specific language governing permissions and\n  ~ limitations under the License.\n  -->\n\n<ng-template #injectExtension></ng-template>\n","/*\n * Copyright 2015-2024 Ritense BV, the Netherlands.\n *\n * Licensed under EUPL, Version 1.2 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" basis,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport {ModuleWithProviders, NgModule} from '@angular/core';\nimport {ConfigService} from './services/config.service';\nimport {VALTIMO_CONFIG, ValtimoConfig} from './models';\nimport {ExtensionComponent} from './extension/extension.component';\n\n@NgModule({\n  declarations: [ExtensionComponent],\n  imports: [],\n  exports: [ExtensionComponent],\n})\nexport class ConfigModule {\n  static forRoot(config: ValtimoConfig): ModuleWithProviders<ConfigModule> {\n    return {\n      ngModule: ConfigModule,\n      providers: [\n        ConfigService,\n        {\n          provide: VALTIMO_CONFIG,\n          useValue: config,\n        },\n      ],\n    };\n  }\n}\n","/*\n * Copyright 2015-2024 Ritense BV, the Netherlands.\n *\n * Licensed under EUPL, Version 1.2 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" basis,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport {Versions} from '../models';\n\nconst VERSIONS: Versions = {\n  frontendLibraries: '12.40.0',\n};\n\nexport {VERSIONS};\n","/*\n * Copyright 2015-2024 Ritense BV, the Netherlands.\n *\n * Licensed under EUPL, Version 1.2 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" basis,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport {InjectionToken} from '@angular/core';\nimport {CaseManagementTabConfig} from '../models';\n\nconst CASE_MANAGEMENT_TAB_TOKEN = new InjectionToken<CaseManagementTabConfig>(\n  'Specify a component to display per configured tab translation key.'\n);\n\nexport {CASE_MANAGEMENT_TAB_TOKEN};\n","/*\n * Copyright 2015-2024 Ritense BV, the Netherlands.\n *\n * Licensed under EUPL, Version 1.2 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" basis,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport {InjectionToken} from '@angular/core';\nimport {FormViewModel} from '../models';\n\nconst FORM_VIEW_MODEL_TOKEN = new InjectionToken<FormViewModel>(\n  'Specify the form view model component.'\n);\n\nexport {FORM_VIEW_MODEL_TOKEN};\n","/*\n * Copyright 2015-2024 Ritense BV, the Netherlands.\n *\n * Licensed under EUPL, Version 1.2 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" basis,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nexport * from './versions';\nexport * from './case-management-tab-token';\nexport * from './form-view-model-token';\n","/*\n * Copyright 2015-2024 Ritense BV, the Netherlands.\n *\n * Licensed under EUPL, Version 1.2 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" basis,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport {HttpClient} from '@angular/common/http';\nimport {ConfigService} from './config.service';\nimport {UrlUtils} from '../utils';\n\nexport abstract class BaseApiService {\n  private readonly _valtimoEndpointUri!: string;\n\n  constructor(\n    protected readonly httpClient: HttpClient,\n    protected readonly configService: ConfigService\n  ) {\n    this._valtimoEndpointUri = configService.config.valtimoApi.endpointUri;\n  }\n\n  public getApiUrl(urlPart: string): string {\n    const urlWithStartSlash = UrlUtils.formatUrlStartWithSlash(urlPart);\n    const urlFormattedWithTrailingSlash = `${UrlUtils.formatUrlTrailingSlash(this._valtimoEndpointUri, false)}${urlWithStartSlash}`;\n    return urlFormattedWithTrailingSlash;\n  }\n}\n","/*\n * Copyright 2015-2024 Ritense BV, the Netherlands.\n *\n * Licensed under EUPL, Version 1.2 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" basis,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport {Injectable} from '@angular/core';\nimport {Localization, LocalizationContent, MergedLocalizations} from '../models';\nimport {HttpClient, HttpHeaders} from '@angular/common/http';\nimport {ConfigService} from './config.service';\nimport {map, Observable, of} from 'rxjs';\nimport {catchError} from 'rxjs/operators';\n\n@Injectable({\n  providedIn: 'root',\n})\nexport class LocalizationService {\n  private readonly valtimoApiUri!: string;\n\n  constructor(\n    private readonly http: HttpClient,\n    private readonly configService: ConfigService\n  ) {\n    this.valtimoApiUri = configService?.config?.valtimoApi?.endpointUri;\n  }\n\n  public getLocalization(languageKey: string): Observable<LocalizationContent> {\n    return this.http\n      .get<LocalizationContent>(`${this.valtimoApiUri}v1/localization/${languageKey}`, {\n        headers: new HttpHeaders().set('X-Skip-Interceptor', '403'),\n      })\n      .pipe(catchError(() => of({})));\n  }\n\n  public getLocalizations(): Observable<Localization[]> {\n    return this.http.get<Localization[]>(`${this.valtimoApiUri}v1/localization`);\n  }\n\n  public getMergedLocalizations(): Observable<MergedLocalizations> {\n    return this.getLocalizations().pipe(\n      map(res => res.reduce((acc, curr) => ({...acc, [curr.languageKey]: curr.content}), {}))\n    );\n  }\n\n  public updateLocalization(\n    languageKey: string,\n    updatedLocalizationContent: LocalizationContent\n  ): Observable<LocalizationContent> {\n    return this.http.put<LocalizationContent>(\n      `${this.valtimoApiUri}management/v1/localization/${languageKey}`,\n      updatedLocalizationContent\n    );\n  }\n\n  public updateLocalizations(updatedLocalizations: Localization[]): Observable<Localization[]> {\n    return this.http.put<Localization[]>(\n      `${this.valtimoApiUri}management/v1/localization`,\n      updatedLocalizations\n    );\n  }\n}\n","/*\n * Copyright 2015-2024 Ritense BV, the Netherlands.\n *\n * Licensed under EUPL, Version 1.2 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" basis,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport {Injectable} from '@angular/core';\nimport {ConnectorInstance, IncludeFunction, Page, ValtimoConfig} from '../models';\nimport {HttpClient} from '@angular/common/http';\nimport {ConfigService} from './config.service';\nimport {Observable, of} from 'rxjs';\nimport {map} from 'rxjs/operators';\n\n@Injectable({\n  providedIn: 'root',\n})\nexport class MenuIncludeService {\n  private valtimoConfig!: ValtimoConfig;\n\n  constructor(\n    private readonly http: HttpClient,\n    private readonly configService: ConfigService\n  ) {\n    this.valtimoConfig = configService.config;\n  }\n\n  getIncludeFunction(includeFunction: IncludeFunction): Observable<boolean> {\n    switch (includeFunction) {\n      case IncludeFunction.HaalcentraalConnectorConfigured:\n        return this.isHaalCentraalConnectorConfigured();\n      case IncludeFunction.ObjectManagementEnabled:\n        return of(this.valtimoConfig?.featureToggles?.enableObjectManagement ?? true);\n      default:\n        return of(true);\n    }\n  }\n\n  private isHaalCentraalConnectorConfigured(): Observable<boolean> {\n    return this.getHaalCentraalConnectorInstances().pipe(\n      map(haalcentraalConnectorInstances => haalcentraalConnectorInstances?.content?.length > 0)\n    );\n  }\n\n  private getHaalCentraalConnectorInstances(): Observable<Page<ConnectorInstance>> {\n    return this.http.get<Page<ConnectorInstance>>(\n      `${this.valtimoConfig.valtimoApi.endpointUri}v1/connector/instance?typeName=HaalCentraalBrp`\n    );\n  }\n}\n","/*\n * Copyright 2015-2024 Ritense BV, the Netherlands.\n *\n * Licensed under EUPL, Version 1.2 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" basis,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport {Injectable} from '@angular/core';\nimport {UserSettings} from '../models';\nimport {HttpClient} from '@angular/common/http';\nimport {ConfigService} from './config.service';\nimport {Observable} from 'rxjs';\n\n@Injectable({\n  providedIn: 'root',\n})\nexport class UserSettingsService {\n  private readonly valtimoApiUri!: string;\n\n  constructor(\n    private readonly http: HttpClient,\n    private readonly configService: ConfigService\n  ) {\n    this.valtimoApiUri = configService?.config?.valtimoApi?.endpointUri;\n  }\n\n  getUserSettings(): Observable<UserSettings> {\n    return this.http.get<UserSettings>(`${this.valtimoApiUri}v1/user/settings`);\n  }\n\n  saveUserSettings(settings: UserSettings): Observable<any> {\n    return this.http.put(`${this.valtimoApiUri}v1/user/settings`, settings);\n  }\n}\n","/*\n * Copyright 2015-2024 Ritense BV, the Netherlands.\n *\n * Licensed under EUPL, Version 1.2 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" basis,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nexport * from './base-api.service';\nexport * from './config.service';\nexport * from './localization.service';\nexport * from './menu-include.service';\nexport * from './user-settings.service';\n","/*\n * Copyright 2015-2024 Ritense BV, the Netherlands.\n *\n * Licensed under EUPL, Version 1.2 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" basis,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport {HttpBackend, HttpClient} from '@angular/common/http';\nimport {catchError, map, switchMap} from 'rxjs/operators';\nimport {combineLatest, forkJoin, Observable, of} from 'rxjs';\nimport {deepmerge} from 'deepmerge-ts';\nimport {ITranslationResource} from '../models';\nimport {TranslateLoader} from '@ngx-translate/core';\nimport {LocalizationService} from '../services/localization.service';\n\nexport class CustomMultiTranslateHttpLoader implements TranslateLoader {\n  private readonly _handler: HttpBackend;\n  private readonly _httpClient: HttpClient;\n  private readonly _resourcesPrefix: Array<string> | ITranslationResource[];\n  private readonly _localizationService: LocalizationService;\n  constructor(\n    _handler: HttpBackend,\n    _httpClient: HttpClient,\n    _localizationService: LocalizationService,\n    _resourcesPrefix: Array<string> | ITranslationResource[]\n  ) {\n    this._handler = _handler;\n    this._httpClient = _httpClient;\n    this._resourcesPrefix = _resourcesPrefix;\n    this._localizationService = _localizationService;\n  }\n  getTranslation(lang: string): Observable<any> {\n    const requests = this._resourcesPrefix.map(resource => {\n      let path;\n      if (resource.prefix) path = `${resource.prefix}${lang}${resource.suffix || '.json'}`;\n      else path = `${resource}${lang}.json`;\n      return new HttpClient(this._handler).get(path).pipe(\n        catchError(res => {\n          if (!resource.optional) {\n            console.group();\n            console.error('Something went wrong for the following translation file:', path);\n            console.error(res);\n            console.groupEnd();\n          }\n          return of({});\n        })\n      );\n    });\n\n    return forkJoin(requests).pipe(\n      switchMap(localResourcesResponse =>\n        combineLatest([of(localResourcesResponse), this._localizationService.getLocalization(lang)])\n      ),\n      map(([localResourcesResponse, localizationResponse]) =>\n        deepmerge(...[...localResourcesResponse, localizationResponse])\n      )\n    );\n  }\n}\n","/*\n * Copyright 2015-2024 Ritense BV, the Netherlands.\n *\n * Licensed under EUPL, Version 1.2 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" basis,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport {HttpBackend, HttpClient} from '@angular/common/http';\nimport {ConfigService} from '../services/config.service';\nimport {CustomMultiTranslateHttpLoader} from './custom-multi-translate-http-loader';\nimport {LocalizationService} from '../services/localization.service';\n\nexport function CustomMultiTranslateHttpLoaderFactory(\n  http: HttpBackend,\n  httpClient: HttpClient,\n  configService: ConfigService,\n  localizationService: LocalizationService\n) {\n  const translationResources = configService?.config?.translationResources;\n\n  return new CustomMultiTranslateHttpLoader(http, httpClient, localizationService, [\n    './valtimo-translation/core/',\n    ...(translationResources &&\n    Array.isArray(translationResources) &&\n    translationResources.length > 0\n      ? translationResources\n      : []),\n  ]);\n}\n","/*\n * Copyright 2015-2024 Ritense BV, the Netherlands.\n *\n * Licensed under EUPL, Version 1.2 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" basis,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport {HttpBackend} from '@angular/common/http';\nimport {MultiTranslateHttpLoader} from 'ngx-translate-multi-http-loader';\nimport {ConfigService} from '../services/config.service';\n\nexport function MultiTranslateHttpLoaderFactory(http: HttpBackend, configService: ConfigService) {\n  const translationResources = configService.config.translationResources;\n\n  return new MultiTranslateHttpLoader(http, [\n    './valtimo-translation/core/',\n    ...(translationResources &&\n    Array.isArray(translationResources) &&\n    translationResources.length > 0\n      ? translationResources\n      : []),\n  ]);\n}\n","/*\n * Copyright 2015-2024 Ritense BV, the Netherlands.\n *\n * Licensed under EUPL, Version 1.2 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" basis,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nexport * from './custom-multi-translate-http-loader';\nexport * from './custom-multi-translate-http-loader-factory';\nexport * from './multi-translate-http-loader-factory';\n","/*\n * Copyright 2015-2024 Ritense BV, the Netherlands.\n *\n * Licensed under EUPL, Version 1.2 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" basis,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport {Injectable} from '@angular/core';\nimport {Observable, of} from 'rxjs';\n\n@Injectable({\n  providedIn: 'root',\n})\nexport class MockTranslateService {\n  public stream(key: string): Observable<any> {\n    return of(null);\n  }\n\n  public instant(key: string): string {\n    return '';\n  }\n}\n","/*\n * Copyright 2015-2024 Ritense BV, the Netherlands.\n *\n * Licensed under EUPL, Version 1.2 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" basis,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport {Injectable} from '@angular/core';\nimport {Observable, of} from 'rxjs';\nimport {KeycloakProfile} from 'keycloak-js';\n\n@Injectable({\n  providedIn: 'root',\n})\nexport class MockKeycloakService {\n  public get keycloakEvents$(): Observable<{type: string}> {\n    return of({type: ''});\n  }\n\n  public isLoggedIn(): Observable<boolean> {\n    return of(true);\n  }\n\n  private readonly MOCK_USER_PROFILE: KeycloakProfile = {\n    id: '',\n    username: '',\n    email: '',\n    firstName: '',\n    lastName: '',\n    enabled: true,\n    emailVerified: true,\n    totp: true,\n    createdTimestamp: 0,\n  };\n\n  public async loadUserProfile(): Promise<KeycloakProfile> {\n    return this.MOCK_USER_PROFILE;\n  }\n}\n","/*\n * Copyright 2015-2024 Ritense BV, the Netherlands.\n *\n * Licensed under EUPL, Version 1.2 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" basis,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport {Injectable} from '@angular/core';\n\n@Injectable({\n  providedIn: 'root',\n})\nexport class MockIconService {\n  public registerAll(value: Array<any>): void {\n    return;\n  }\n}\n","/*\n * Copyright 2015-2024 Ritense BV, the Netherlands.\n *\n * Licensed under EUPL, Version 1.2 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" basis,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nexport * from './mock-translate.service';\nexport * from './mock-keycloak.service';\nexport * from './mock-icon.service';\n","/*\n * Copyright 2015-2024 Ritense BV, the Netherlands.\n *\n * Licensed under EUPL, Version 1.2 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" basis,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nexport * from './services';\n","/*\n * Copyright 2015-2024 Ritense BV, the Netherlands.\n *\n * Licensed under EUPL, Version 1.2 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" basis,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport {InjectionToken, Type} from '@angular/core';\n\nconst ZGW_OBJECT_TYPE_COMPONENT_TOKEN = new InjectionToken<Type<any>>(\n  'Specify a component to display ZGW object types.'\n);\n\nexport {ZGW_OBJECT_TYPE_COMPONENT_TOKEN};\n","/*\n * Copyright 2015-2024 Ritense BV, the Netherlands.\n *\n * Licensed under EUPL, Version 1.2 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" basis,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport {InjectionToken, Type} from '@angular/core';\n\nconst ZGW_DOCUMENTEN_API_DOCUMENTS_COMPONENT_TOKEN = new InjectionToken<Type<any>>(\n  'Specify a component to display on documents tab when Documenten API is set as the upload provider in the environment file.'\n);\n\nexport {ZGW_DOCUMENTEN_API_DOCUMENTS_COMPONENT_TOKEN};\n","import {InjectionToken, Type} from '@angular/core';\n\nconst ZGW_CASE_CONFIGURATION_EXTENSIONS_TOKEN = new InjectionToken<Type<any>[]>(\n  'Specify components to display on on the case management configuration page.'\n);\n\nexport {ZGW_CASE_CONFIGURATION_EXTENSIONS_TOKEN};\n","/*\n * Copyright 2015-2024 Ritense BV, the Netherlands.\n *\n * Licensed under EUPL, Version 1.2 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" basis,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nexport * from './zgw-object-type-component-token';\nexport * from './zgw-documenten-api-documents-component-token';\nexport * from './zgw-case-configuration-extensions-token';\n","/*\n * Copyright 2015-2024 Ritense BV, the Netherlands.\n *\n * Licensed under EUPL, Version 1.2 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" basis,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nexport * from './constants';\n","/*\n * Copyright 2015-2024 Ritense BV, the Netherlands.\n *\n * Licensed under EUPL, Version 1.2 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" basis,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/*\n * Public API Surface of config\n */\n\nexport * from './lib/config.module';\nexport * from './lib/constants';\nexport * from './lib/extension/extension.component';\nexport * from './lib/models';\nexport * from './lib/services';\nexport * from './lib/translation';\nexport * from './lib/utils';\nexport * from './lib/testing';\nexport * from './lib/zgw';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["i1.ConfigService","i2.ConfigService","map"],"mappings":";;;;;;;;;;AAAA;;;;;;;;;;;;;;AAcG;AAQH,MAAM,cAAc,GAAG,IAAI,cAAc,CAAgB,eAAe;AAExE;AACA,MAAM,YAAY,GAAG,IAAI,cAAc,CAAqB,cAAc;AA6I1E,IAAK;AAAL,CAAA,UAAK,cAAc,EAAA;AACjB,IAAA,cAAA,CAAA,cAAA,CAAA,IAAA,CAAA,GAAA,CAAA,CAAA,GAAA,IAAE;;AAEF,IAAA,cAAA,CAAA,cAAA,CAAA,WAAA,CAAA,GAAA,CAAA,CAAA,GAAA,WAAS;AACT,IAAA,cAAA,CAAA,cAAA,CAAA,gBAAA,CAAA,GAAA,CAAA,CAAA,GAAA,gBAAc;AAChB,CAAC,EALI,cAAc,KAAd,cAAc,GAAA,EAAA,CAAA,CAAA;AAOnB,IAAK;AAAL,CAAA,UAAK,WAAW,EAAA;AACd,IAAA,WAAA,CAAA,MAAA,CAAA,GAAA,MAAa;AACb,IAAA,WAAA,CAAA,MAAA,CAAA,GAAA,MAAa;AACb,IAAA,WAAA,CAAA,KAAA,CAAA,GAAA,KAAW;AACb,CAAC,EAJI,WAAW,KAAX,WAAW,GAAA,EAAA,CAAA,CAAA;AAMhB,IAAK;AA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