@valtimo/dossier 4.22.0 → 5.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2020/lib/dossier-detail/dossier-detail.component.mjs +115 -0
- package/esm2020/lib/dossier-detail/tab/audit/audit.component.mjs +76 -0
- package/esm2020/lib/dossier-detail/tab/contact-moments/contact-moments.component.mjs +86 -0
- package/esm2020/lib/dossier-detail/tab/documents/documents.component.mjs +115 -0
- package/esm2020/lib/dossier-detail/tab/progress/progress.component.mjs +48 -0
- package/esm2020/lib/dossier-detail/tab/summary/summary.component.mjs +117 -0
- package/esm2020/lib/dossier-detail-tab-enum.mjs +24 -0
- package/esm2020/lib/dossier-list/dossier-list.component.mjs +218 -0
- package/esm2020/lib/dossier-process-start-modal/dossier-process-start-modal.component.mjs +125 -0
- package/esm2020/lib/dossier-routing.module.mjs +62 -0
- package/esm2020/lib/dossier-supporting-process-start-modal/dossier-supporting-process-start-modal.component.mjs +122 -0
- package/esm2020/lib/dossier-update/dossier-update.component.mjs +113 -0
- package/esm2020/lib/dossier.config.mjs +29 -0
- package/esm2020/lib/dossier.module.mjs +179 -0
- package/esm2020/lib/dossier.service.mjs +51 -0
- package/esm2020/lib/models/index.mjs +19 -0
- package/esm2020/lib/models/tabs.model.mjs +104 -0
- package/esm2020/lib/tab.service.mjs +45 -0
- package/esm2020/public_api.mjs +32 -0
- package/esm2020/valtimo-dossier.mjs +5 -0
- package/fesm2015/valtimo-dossier.mjs +1519 -0
- package/fesm2015/valtimo-dossier.mjs.map +1 -0
- package/fesm2020/valtimo-dossier.mjs +1535 -0
- package/fesm2020/valtimo-dossier.mjs.map +1 -0
- package/lib/dossier-detail/dossier-detail.component.d.ts +4 -0
- package/lib/dossier-detail/dossier-detail.component.d.ts.map +1 -0
- package/lib/dossier-detail/tab/audit/audit.component.d.ts +4 -0
- package/lib/dossier-detail/tab/audit/audit.component.d.ts.map +1 -0
- package/lib/dossier-detail/tab/contact-moments/contact-moments.component.d.ts +4 -0
- package/lib/dossier-detail/tab/contact-moments/contact-moments.component.d.ts.map +1 -0
- package/lib/dossier-detail/tab/documents/documents.component.d.ts +4 -0
- package/lib/dossier-detail/tab/documents/documents.component.d.ts.map +1 -0
- package/lib/dossier-detail/tab/progress/progress.component.d.ts +4 -0
- package/lib/dossier-detail/tab/progress/progress.component.d.ts.map +1 -0
- package/lib/dossier-detail/tab/summary/summary.component.d.ts +4 -0
- package/lib/dossier-detail/tab/summary/summary.component.d.ts.map +1 -0
- package/lib/dossier-detail-tab-enum.d.ts +1 -0
- package/lib/dossier-detail-tab-enum.d.ts.map +1 -0
- package/lib/dossier-list/dossier-list.component.d.ts +4 -0
- package/lib/dossier-list/dossier-list.component.d.ts.map +1 -0
- package/lib/dossier-process-start-modal/dossier-process-start-modal.component.d.ts +4 -0
- package/lib/dossier-process-start-modal/dossier-process-start-modal.component.d.ts.map +1 -0
- package/lib/dossier-routing.module.d.ts +7 -0
- package/lib/dossier-routing.module.d.ts.map +1 -0
- package/lib/dossier-supporting-process-start-modal/dossier-supporting-process-start-modal.component.d.ts +4 -0
- package/lib/dossier-supporting-process-start-modal/dossier-supporting-process-start-modal.component.d.ts.map +1 -0
- package/lib/dossier-update/dossier-update.component.d.ts +4 -0
- package/lib/dossier-update/dossier-update.component.d.ts.map +1 -0
- package/lib/dossier.config.d.ts +1 -0
- package/lib/dossier.config.d.ts.map +1 -0
- package/lib/dossier.module.d.ts +25 -0
- package/lib/dossier.module.d.ts.map +1 -0
- package/lib/dossier.service.d.ts +4 -0
- package/lib/dossier.service.d.ts.map +1 -0
- package/lib/models/index.d.ts +1 -0
- package/lib/models/index.d.ts.map +1 -0
- package/lib/models/tabs.model.d.ts +1 -0
- package/lib/models/tabs.model.d.ts.map +1 -0
- package/lib/tab.service.d.ts +4 -0
- package/lib/tab.service.d.ts.map +1 -0
- package/package.json +23 -11
- package/public_api.d.ts +1 -0
- package/public_api.d.ts.map +1 -0
- package/valtimo-dossier.d.ts +2 -4
- package/valtimo-dossier.d.ts.map +1 -0
- package/bundles/valtimo-dossier.umd.js +0 -1915
- package/bundles/valtimo-dossier.umd.js.map +0 -1
- package/bundles/valtimo-dossier.umd.min.js +0 -2
- package/bundles/valtimo-dossier.umd.min.js.map +0 -1
- package/esm2015/lib/dossier-detail/dossier-detail.component.js +0 -125
- package/esm2015/lib/dossier-detail/tab/audit/audit.component.js +0 -79
- package/esm2015/lib/dossier-detail/tab/contact-moments/contact-moments.component.js +0 -90
- package/esm2015/lib/dossier-detail/tab/documents/documents.component.js +0 -122
- package/esm2015/lib/dossier-detail/tab/progress/progress.component.js +0 -49
- package/esm2015/lib/dossier-detail/tab/summary/summary.component.js +0 -126
- package/esm2015/lib/dossier-detail-tab-enum.js +0 -24
- package/esm2015/lib/dossier-list/dossier-list.component.js +0 -216
- package/esm2015/lib/dossier-process-start-modal/dossier-process-start-modal.component.js +0 -130
- package/esm2015/lib/dossier-routing.module.js +0 -58
- package/esm2015/lib/dossier-supporting-process-start-modal/dossier-supporting-process-start-modal.component.js +0 -125
- package/esm2015/lib/dossier-update/dossier-update.component.js +0 -121
- package/esm2015/lib/dossier.config.js +0 -29
- package/esm2015/lib/dossier.module.js +0 -121
- package/esm2015/lib/dossier.service.js +0 -53
- package/esm2015/lib/models/index.js +0 -19
- package/esm2015/lib/models/tabs.model.js +0 -104
- package/esm2015/lib/tab.service.js +0 -44
- package/esm2015/public_api.js +0 -32
- package/esm2015/valtimo-dossier.js +0 -9
- package/fesm2015/valtimo-dossier.js +0 -1548
- package/fesm2015/valtimo-dossier.js.map +0 -1
- package/valtimo-dossier.metadata.json +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"valtimo-dossier.js","sources":["../../../../projects/valtimo/dossier/src/lib/models/tabs.model.ts","../../../../projects/valtimo/dossier/src/lib/models/index.ts","../../../../projects/valtimo/dossier/src/lib/dossier-detail-tab-enum.ts","../../../../projects/valtimo/dossier/src/lib/dossier-process-start-modal/dossier-process-start-modal.component.ts","../../../../projects/valtimo/dossier/src/lib/dossier.service.ts","../../../../projects/valtimo/dossier/src/lib/dossier-list/dossier-list.component.ts","../../../../projects/valtimo/dossier/src/lib/dossier-detail/tab/summary/summary.component.ts","../../../../projects/valtimo/dossier/src/lib/dossier-detail/tab/progress/progress.component.ts","../../../../projects/valtimo/dossier/src/lib/dossier-detail/tab/audit/audit.component.ts","../../../../projects/valtimo/dossier/src/lib/dossier-detail/tab/documents/documents.component.ts","../../../../projects/valtimo/dossier/src/lib/dossier.config.ts","../../../../projects/valtimo/dossier/src/lib/tab.service.ts","../../../../projects/valtimo/dossier/src/lib/dossier-supporting-process-start-modal/dossier-supporting-process-start-modal.component.ts","../../../../projects/valtimo/dossier/src/lib/dossier-detail/dossier-detail.component.ts","../../../../projects/valtimo/dossier/src/lib/dossier-detail/tab/contact-moments/contact-moments.component.ts","../../../../projects/valtimo/dossier/src/lib/dossier-update/dossier-update.component.ts","../../../../projects/valtimo/dossier/src/lib/dossier-routing.module.ts","../../../../projects/valtimo/dossier/src/lib/dossier.module.ts","../../../../projects/valtimo/dossier/src/public_api.ts","../../../../projects/valtimo/dossier/src/valtimo-dossier.ts"],"sourcesContent":["/*\n * Copyright 2015-2020 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';\nimport {TranslateService} from '@ngx-translate/core';\nimport {Router} from '@angular/router';\nimport {Location} from '@angular/common';\n\nexport interface TabLoader<T_TAB extends Tab> {\n tabs: T_TAB[];\n\n initial(tabName?: string): void;\n\n load(tabToLoad: T_TAB): void;\n\n translateTabName(tab: T_TAB): string;\n}\n\nexport class TabLoaderImpl implements TabLoader<TabImpl> {\n private readonly _tabs: TabImpl[] = null;\n private readonly _componentFactoryResolver: ComponentFactoryResolver = null;\n private readonly _viewContainerRef: ViewContainerRef = null;\n private _activeComponent: ComponentRef<any> = null;\n private _activeTab: TabImpl = null;\n private _translateService: TranslateService = null;\n private _router: Router;\n private _location: Location;\n\n constructor(\n tabs: TabImpl[],\n componentFactoryResolver: ComponentFactoryResolver,\n viewContainerRef: ViewContainerRef,\n translateService: TranslateService,\n router: Router,\n location: Location\n ) {\n this._tabs = tabs;\n this._componentFactoryResolver = componentFactoryResolver;\n this._viewContainerRef = viewContainerRef;\n this._translateService = translateService;\n this._router = router;\n this._location = location;\n }\n\n initial(tabName?: string): void {\n let initialTab;\n if (tabName) {\n initialTab = this._tabs.find(tab => tab.name === tabName);\n } else {\n initialTab = this._tabs[0] || null;\n }\n this.load(initialTab);\n }\n\n load(newTab: TabImpl): void {\n if (newTab !== this._activeTab) {\n this._tabs.forEach(tab => tab.deactivate());\n this.replaceView(newTab);\n this.replaceUrlState(newTab);\n this.setActive(newTab);\n }\n }\n\n refreshView() {\n this.replaceView(this._activeTab);\n }\n\n private replaceView(tab: TabImpl): void {\n const componentFactory = this._componentFactoryResolver.resolveComponentFactory(tab.component);\n this._viewContainerRef.clear();\n if (this._activeTab !== null) {\n this._activeComponent.destroy();\n }\n this._activeComponent = this._viewContainerRef.createComponent(componentFactory);\n }\n\n private replaceUrlState(tab: TabImpl): void {\n const currentUrl = this._router.url;\n const urlParts = currentUrl.split('/');\n urlParts.splice(urlParts.length - 1, 1, tab.name);\n const newUrl = urlParts.join('/');\n this._location.replaceState(newUrl);\n }\n\n private setActive(tab: TabImpl): void {\n tab.activate();\n this._activeTab = tab;\n }\n\n get tabs(): TabImpl[] {\n return this._tabs;\n }\n\n translateTabName(tab: TabImpl): string {\n return this._translateService.instant('dossier.tabs.' + tab.name);\n }\n}\n\nexport interface Tab {\n name: string;\n sequence: number;\n component: any;\n\n activate(): void;\n\n deactivate(): void;\n\n isActive(): boolean;\n}\n\nexport class TabImpl implements Tab {\n private readonly _name: string;\n private readonly _sequence: number;\n private readonly _component: any;\n private _active = false;\n\n constructor(name: string, sequence: number, component: any) {\n this._name = name;\n this._sequence = sequence;\n this._component = component;\n }\n\n get name(): string {\n return this._name;\n }\n\n get sequence(): number {\n return this._sequence;\n }\n\n get component(): any {\n return this._component;\n }\n\n activate(): void {\n this._active = true;\n }\n\n deactivate(): void {\n this._active = false;\n }\n\n isActive(): boolean {\n return this._active;\n }\n}\n","/*\n *\n * * Copyright 2015-2020 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\nexport * from './tabs.model';\n","/*\n * Copyright 2015-2020 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 enum DefaultTabs {\n summary = 'summary',\n progress = 'progress',\n audit = 'audit',\n documents = 'documents',\n contactMoments = 'contact-moments',\n}\n","/*\n * Copyright 2015-2020 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, OnInit, ViewChild, ViewEncapsulation} from '@angular/core';\nimport {DocumentService, ProcessDocumentDefinition} from '@valtimo/document';\nimport {FormAssociation, FormSubmissionResult} from '@valtimo/form-link';\nimport {ActivatedRoute, Router} from '@angular/router';\nimport {ProcessService} from '@valtimo/process';\nimport {\n FormioComponent,\n ModalComponent,\n FormioOptionsImpl,\n FormioSubmission,\n ValtimoFormioOptions,\n} from '@valtimo/components';\nimport {FormioBeforeSubmit} from 'angular-formio/formio.common';\nimport {FormioForm} from 'angular-formio';\nimport {FormLinkService} from '@valtimo/form-link';\nimport {NGXLogger} from 'ngx-logger';\nimport {UserProviderService} from '@valtimo/security';\n\n@Component({\n selector: 'valtimo-dossier-process-start-modal',\n templateUrl: './dossier-process-start-modal.component.html',\n styleUrls: ['./dossier-process-start-modal.component.scss'],\n encapsulation: ViewEncapsulation.None,\n})\nexport class DossierProcessStartModalComponent implements OnInit {\n public processDefinitionKey: string;\n public documentDefinitionName: string;\n public processName: string;\n public formDefinition: FormioForm;\n public formioSubmission: FormioSubmission;\n private formAssociation: FormAssociation;\n public options: ValtimoFormioOptions;\n public isAdmin: boolean;\n @ViewChild('form', {static: false}) form: FormioComponent;\n @ViewChild('processStartModal', {static: false}) modal: ModalComponent;\n\n constructor(\n private route: ActivatedRoute,\n private router: Router,\n private processService: ProcessService,\n private documentService: DocumentService,\n private formLinkService: FormLinkService,\n private userProviderService: UserProviderService,\n private logger: NGXLogger\n ) {}\n\n ngOnInit() {\n this.isUserAdmin();\n }\n\n private loadFormDefinition() {\n this.formDefinition = null;\n this.formLinkService\n .getStartEventFormDefinitionByProcessDefinitionKey(this.processDefinitionKey)\n .subscribe(\n formDefinition => {\n this.formAssociation = formDefinition.formAssociation;\n const className = this.formAssociation.formLink.className.split('.');\n const linkType = className[className.length - 1];\n switch (linkType) {\n case 'BpmnElementFormIdLink':\n this.formDefinition = formDefinition;\n this.modal.show();\n break;\n case 'BpmnElementUrlLink':\n const url = this.router.serializeUrl(\n this.router.createUrlTree([formDefinition.formAssociation.formLink.url])\n );\n window.open(url, '_blank');\n break;\n case 'BpmnElementAngularStateUrlLink':\n this.router.navigate([formDefinition.formAssociation.formLink.url]);\n break;\n default:\n this.logger.fatal('Unsupported class name');\n }\n },\n errors => {\n this.modal.show();\n }\n );\n }\n\n public gotoFormLinkScreen() {\n this.modal.hide();\n this.router.navigate(['form-links'], {queryParams: {process: this.processDefinitionKey}});\n }\n\n public get modalTitle() {\n return `Start - ${this.processName}`;\n }\n\n openModal(processDocumentDefinition: ProcessDocumentDefinition) {\n this.processDefinitionKey = processDocumentDefinition.id.processDefinitionKey;\n this.documentDefinitionName = processDocumentDefinition.id.documentDefinitionId.name;\n this.processName = processDocumentDefinition.processName;\n this.options = new FormioOptionsImpl();\n this.options.disableAlerts = true;\n const formioBeforeSubmit: FormioBeforeSubmit = function (submission, callback) {\n callback(null, submission);\n };\n this.options.setHooks(formioBeforeSubmit);\n this.loadFormDefinition();\n }\n\n public onSubmit(submission: FormioSubmission) {\n this.formioSubmission = submission;\n this.formLinkService\n .onSubmit(this.processDefinitionKey, this.formAssociation.formLink.id, submission.data)\n .subscribe(\n (formSubmissionResult: FormSubmissionResult) => {\n this.modal.hide();\n this.router.navigate([\n 'dossiers',\n this.documentDefinitionName,\n 'document',\n formSubmissionResult.documentId,\n 'summary',\n ]);\n },\n errors => {\n this.form.showErrors(errors);\n }\n );\n }\n\n public isUserAdmin() {\n this.userProviderService.getUserSubject().subscribe(\n userIdentity => {\n this.isAdmin = userIdentity.roles.includes('ROLE_ADMIN');\n },\n error => {\n this.logger.error('Failed to retrieve user identity', error);\n this.isAdmin = false;\n }\n );\n }\n}\n","/*\n * Copyright 2015-2020 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 {ConfigService, DefinitionColumn} from '@valtimo/config';\nimport {SortState} from '@valtimo/document';\n\n@Injectable({\n providedIn: 'root',\n})\nexport class DossierService {\n private readonly definitions: any;\n\n constructor(private readonly configService: ConfigService) {\n this.definitions = configService.config.definitions;\n }\n\n getImplementationEnvironmentDefinitions(name: string) {\n return this.definitions.dossiers.find(definition => definition.name === name);\n }\n\n getDefinitionColumns(definitionNameId: string): Array<DefinitionColumn> {\n const config = this.configService.config;\n const customDefinitionTable = config.customDefinitionTables[definitionNameId];\n return customDefinitionTable || config.defaultDefinitionTable;\n }\n\n getInitialSortState(columns: Array<DefinitionColumn>): SortState {\n const defaultColumn = columns.find(column => column.default);\n return {\n isSorting: false,\n state: {\n name: defaultColumn ? defaultColumn.propertyName : columns[0].propertyName,\n direction: 'DESC',\n },\n };\n }\n}\n","/*\n * Copyright 2015-2020 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, OnDestroy, OnInit, ViewChild} from '@angular/core';\nimport {ActivatedRoute, NavigationEnd, Router} from '@angular/router';\nimport {TranslateService} from '@ngx-translate/core';\nimport {DefinitionColumn} from '@valtimo/config';\nimport {\n DocumentSearchRequest,\n DocumentSearchRequestImpl,\n DocumentService,\n SortState,\n ProcessDocumentDefinition,\n} from '@valtimo/document';\nimport * as momentImported from 'moment';\nimport {combineLatest, Subscription} from 'rxjs';\nimport {DefaultTabs} from '../dossier-detail-tab-enum';\nimport {DossierProcessStartModalComponent} from '../dossier-process-start-modal/dossier-process-start-modal.component';\nimport {DossierService} from '../dossier.service';\n\ndeclare var $;\n\nconst moment = momentImported;\nmoment.locale(localStorage.getItem('langKey') || '');\n\n@Component({\n selector: 'valtimo-dossier-list',\n templateUrl: './dossier-list.component.html',\n styleUrls: ['./dossier-list.component.css'],\n})\nexport class DossierListComponent implements OnInit, OnDestroy {\n public documentDefinitionName = '';\n public implementationDefinitions: any;\n public showCreateDocument = false;\n public schema: any;\n public documents: any;\n public items: Array<any> = [];\n public fields: Array<any> = [];\n public processDefinitionListFields: Array<any> = [];\n public processDocumentDefinitions: ProcessDocumentDefinition[] = [];\n public pagination = {\n collectionSize: 0,\n page: 1,\n size: 10,\n maxPaginationItemSize: 5,\n sort: undefined,\n };\n public globalSearchFilter: string | undefined;\n public sequence: number | undefined;\n public createdBy: string | undefined;\n private selectedProcessDocumentDefinition: ProcessDocumentDefinition | null = null;\n private modalListenerAdded = false;\n @ViewChild('processStartModal') processStart: DossierProcessStartModalComponent;\n\n private routerSubscription: Subscription;\n\n private translationSubscription: Subscription;\n\n initialSortState: SortState;\n\n constructor(\n private route: ActivatedRoute,\n private router: Router,\n private documentService: DocumentService,\n private readonly translateService: TranslateService,\n private readonly dossierService: DossierService\n ) {}\n\n ngOnInit(): void {\n this.doInit();\n this.routeEvent(this.router);\n this.modalListenerAdded = false;\n }\n\n ngOnDestroy(): void {\n this.routerSubscription.unsubscribe();\n this.translationSubscription.unsubscribe();\n }\n\n paginationSet() {\n this.getData();\n }\n\n private routeEvent(router: Router) {\n this.routerSubscription = router.events.subscribe(e => {\n if (e instanceof NavigationEnd) {\n this.doInit();\n this.getData();\n }\n });\n }\n\n public doInit() {\n const documentDefinitionName = this.route.snapshot.paramMap.get('documentDefinitionName') || '';\n const columns: Array<DefinitionColumn> =\n this.dossierService.getDefinitionColumns(documentDefinitionName);\n\n this.documentDefinitionName = documentDefinitionName;\n this.initialSortState = this.dossierService.getInitialSortState(columns);\n\n this.openTranslationSubscription(columns);\n }\n\n private openTranslationSubscription(columns: Array<DefinitionColumn>): void {\n this.translationSubscription = combineLatest(\n columns.map(column => this.translateService.stream(`fieldLabels.${column.translationKey}`))\n ).subscribe(labels => {\n this.fields = columns.map((column, index) => ({\n key: column.propertyName,\n label: labels[index],\n sortable: column.sortable,\n ...(column.viewType && {viewType: column.viewType}),\n }));\n });\n }\n\n public getData() {\n this.findDocumentDefinition(this.documentDefinitionName);\n\n if (this.hasCachedSearchRequest()) {\n const documentSearchRequest = this.getCachedSearch();\n this.globalSearchFilter = documentSearchRequest.globalSearchFilter;\n this.sequence = documentSearchRequest.sequence;\n this.createdBy = documentSearchRequest.createdBy;\n this.findDocuments(documentSearchRequest);\n } else {\n this.doSearch();\n }\n\n this.getAllAssociatedProcessDefinitions();\n }\n\n public doSearch() {\n const documentSearchRequest = this.buildDocumentSearchRequest();\n this.findDocuments(documentSearchRequest);\n }\n\n private findDocuments(documentSearchRequest: DocumentSearchRequest) {\n return this.documentService.getDocuments(documentSearchRequest).subscribe(documents => {\n this.documents = documents;\n this.transformDocuments(this.documents.content);\n this.pagination.collectionSize = this.documents.totalElements;\n this.storeSearch(documentSearchRequest);\n });\n }\n\n public getAllAssociatedProcessDefinitions() {\n this.documentService\n .findProcessDocumentDefinitions(this.documentDefinitionName)\n .subscribe(processDocumentDefinitions => {\n this.processDocumentDefinitions = processDocumentDefinitions.filter(\n processDocumentDefinition => processDocumentDefinition.canInitializeDocument\n );\n this.processDefinitionListFields = [\n {\n key: 'processName',\n label: 'Proces',\n },\n ];\n });\n }\n\n public getCachedSearch(): DocumentSearchRequest {\n const json = JSON.parse(this.getCachedDocumentSearchRequest());\n return new DocumentSearchRequestImpl(\n json.definitionName,\n this.pagination.page - 1,\n this.pagination.size,\n json.sequence,\n json.createdBy,\n json.globalSearchFilter,\n json.sort\n );\n }\n\n private buildDocumentSearchRequest(): DocumentSearchRequest {\n return new DocumentSearchRequestImpl(\n this.documentDefinitionName,\n this.pagination.page - 1,\n this.pagination.size,\n this.sequence,\n this.createdBy,\n this.globalSearchFilter,\n this.pagination.sort && this.pagination.sort.isSorting\n ? this.pagination.sort\n : this.initialSortState\n );\n }\n\n private storeSearch(documentSearchRequest: DocumentSearchRequest) {\n localStorage.setItem(this.getCachedKey(), JSON.stringify(documentSearchRequest));\n }\n\n private getCachedDocumentSearchRequest(): string {\n return localStorage.getItem(this.getCachedKey()) || '';\n }\n\n private hasCachedSearchRequest(): boolean {\n return localStorage.getItem(this.getCachedKey()) !== null;\n }\n\n private getCachedKey(): string {\n return 'list-search-' + this.documentDefinitionName;\n }\n\n public rowClick(document: any) {\n this.router.navigate([\n `/dossiers/${this.documentDefinitionName}/document/${document.id}/${DefaultTabs.summary}`,\n ]);\n }\n\n public startDossier() {\n if (this.processDocumentDefinitions.length > 1) {\n $('#startProcess').modal('show');\n } else {\n this.selectedProcessDocumentDefinition = this.processDocumentDefinitions[0];\n this.showStartProcessModal();\n }\n }\n\n private showStartProcessModal() {\n if (this.selectedProcessDocumentDefinition !== null) {\n this.processStart.openModal(this.selectedProcessDocumentDefinition);\n this.selectedProcessDocumentDefinition = null;\n }\n }\n\n public selectProcess(processDocumentDefinition: ProcessDocumentDefinition) {\n const modal = $('#startProcess');\n if (!this.modalListenerAdded) {\n modal.on('hidden.bs.modal', this.showStartProcessModal.bind(this));\n this.modalListenerAdded = true;\n }\n this.selectedProcessDocumentDefinition = processDocumentDefinition;\n modal.modal('hide');\n }\n\n private findDocumentDefinition(documentDefinitionName: string) {\n this.documentService.getDocumentDefinition(documentDefinitionName).subscribe(definition => {\n this.schema = definition.schema;\n });\n }\n\n private transformDocuments(documentsContent: Array<any>) {\n this.items = documentsContent.map(document => {\n const {content, ...others} = document;\n return {...content, ...others};\n });\n }\n\n public paginationClicked(page: number) {\n this.pagination.page = page;\n this.doSearch();\n }\n\n public sortChanged(sortState: SortState) {\n this.pagination.sort = sortState;\n this.doSearch();\n }\n\n public getInitialSortState(): SortState {\n if (this.hasCachedSearchRequest()) {\n const cachedRequest = JSON.parse(this.getCachedDocumentSearchRequest());\n return cachedRequest.sort ? cachedRequest.sort : this.initialSortState;\n }\n return this.initialSortState;\n }\n}\n","/*\n * Copyright 2015-2020 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 {\n Component,\n ElementRef,\n OnInit,\n Renderer2,\n ViewChild,\n ViewEncapsulation,\n} from '@angular/core';\nimport {ProcessService, ProcessInstanceTask} from '@valtimo/process';\nimport {ActivatedRoute, ParamMap, Router} from '@angular/router';\nimport {DocumentService, Document, ProcessDocumentInstance} from '@valtimo/document';\nimport {TaskDetailModalComponent, TaskService} from '@valtimo/task';\nimport {FormService} from '@valtimo/form';\nimport {FormioOptionsImpl, ValtimoFormioOptions} from '@valtimo/components';\n\nimport * as moment_ from 'moment';\nimport {FormioForm} from 'angular-formio';\nimport {UserProviderService} from '@valtimo/security';\n\nconst moment = moment_;\nmoment.locale(localStorage.getItem('langKey') || '');\nmoment.defaultFormat = 'DD MMM YYYY HH:mm';\n\n@Component({\n selector: 'valtimo-dossier-detail-tab-summary',\n templateUrl: './summary.component.html',\n styleUrls: ['./summary.component.scss'],\n encapsulation: ViewEncapsulation.None,\n})\nexport class DossierDetailTabSummaryComponent implements OnInit {\n public readonly documentDefinitionName: string;\n public document: Document;\n public documentId: string;\n public processDocumentInstances: ProcessDocumentInstance[] = [];\n private snapshot: ParamMap;\n public tasks: ProcessInstanceTask[] = [];\n public moment;\n public formDefinition: FormioForm = null;\n public options: ValtimoFormioOptions;\n public roles: string[] = [];\n @ViewChild('taskDetail') taskDetail: TaskDetailModalComponent;\n\n constructor(\n private router: Router,\n private documentService: DocumentService,\n private taskService: TaskService,\n private processService: ProcessService,\n private el: ElementRef,\n private renderer: Renderer2,\n private route: ActivatedRoute,\n private formService: FormService,\n private userProviderService: UserProviderService\n ) {\n this.snapshot = this.route.snapshot.paramMap;\n this.documentDefinitionName = this.snapshot.get('documentDefinitionName') || '';\n this.documentId = this.snapshot.get('documentId') || '';\n this.options = new FormioOptionsImpl();\n this.options.disableAlerts = true;\n }\n\n ngOnInit() {\n this.moment = moment;\n this.init();\n }\n\n init() {\n this.documentService.getDocument(this.documentId).subscribe(document => {\n this.document = document;\n });\n this.formService\n .getFormDefinitionByNamePreFilled(`${this.documentDefinitionName}.summary`, this.documentId)\n .subscribe(formDefinition => {\n this.formDefinition = formDefinition;\n });\n this.userProviderService.getUserSubject().subscribe(user => {\n this.roles = user.roles;\n this.tasks = [];\n this.loadProcessDocumentInstances(this.documentId);\n });\n }\n\n public loadProcessDocumentInstances(documentId: string) {\n this.documentService\n .findProcessDocumentInstances(documentId)\n .subscribe(processDocumentInstances => {\n this.processDocumentInstances = processDocumentInstances;\n this.processDocumentInstances.forEach(instance => {\n this.loadProcessInstanceTasks(instance.id.processInstanceId);\n });\n });\n }\n\n private loadProcessInstanceTasks(processInstanceId: string) {\n this.processService.getProcessInstanceTasks(processInstanceId).subscribe(tasks => {\n tasks.forEach(task => {\n task.createdUnix = this.moment(task.created).unix();\n task.created = this.moment(task.created).format('DD MMM YYYY HH:mm');\n task.isLocked = () => {\n let locked = true;\n for (const link of task.identityLinks) {\n if (link.type === 'candidate' && link.groupId) {\n if (this.roles.includes(link.groupId)) {\n locked = false;\n break;\n }\n }\n }\n return locked;\n };\n });\n this.tasks = this.tasks.concat(tasks);\n this.tasks.sort((t1, t2) => t2.createdUnix - t1.createdUnix);\n });\n }\n\n public rowTaskClick(task: any) {\n this.taskDetail.openTaskDetails(task);\n }\n}\n","/*\n * Copyright 2015-2020 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, OnInit} from '@angular/core';\nimport {ActivatedRoute} from '@angular/router';\nimport {DocumentService} from '@valtimo/document';\nimport {ProcessDocumentInstance} from '@valtimo/document';\n\n@Component({\n selector: 'valtimo-dossier-detail-tab-progress',\n templateUrl: './progress.component.html',\n styleUrls: ['./progress.component.css'],\n})\nexport class DossierDetailTabProgressComponent implements OnInit {\n public processDocumentInstances: ProcessDocumentInstance[];\n public selectedProcessInstanceId: string;\n public readonly documentId: string;\n\n constructor(private route: ActivatedRoute, private documentService: DocumentService) {\n const snapshot = this.route.snapshot.paramMap;\n this.documentId = snapshot.get('documentId') || '';\n }\n\n ngOnInit() {\n this.documentService\n .findProcessDocumentInstances(this.documentId)\n .subscribe(processDocumentInstances => {\n this.processDocumentInstances = processDocumentInstances;\n this.selectedProcessInstanceId = processDocumentInstances[0].id.processInstanceId;\n });\n }\n\n public loadProcessInstance(processInstanceId: string) {\n this.selectedProcessInstanceId = processInstanceId;\n }\n}\n","/*\n * Copyright 2015-2020 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, EventEmitter, OnInit, Output} from '@angular/core';\nimport {TimelineItem, TimelineItemImpl} from '@valtimo/components';\nimport * as moment_ from 'moment';\nimport {ActivatedRoute} from '@angular/router';\nimport {DocumentService, AuditEvent} from '@valtimo/document';\nimport {NgxSpinnerService} from 'ngx-spinner';\n\nconst moment = moment_;\nmoment.locale(localStorage.getItem('langKey') || '');\nmoment.defaultFormat = 'DD MMM YYYY HH:mm';\n\n@Component({\n selector: 'valtimo-dossier-detail-tab-audit',\n templateUrl: './audit.component.html',\n styleUrls: ['./audit.component.css'],\n})\nexport class DossierDetailTabAuditComponent implements OnInit {\n @Output() paginationClicked: EventEmitter<any> = new EventEmitter();\n\n public timelineItems: TimelineItem[];\n private readonly documentId: string;\n public pagination: any;\n private defaultAuditPage = 0;\n private currentAuditPage: number;\n\n constructor(\n private route: ActivatedRoute,\n private documentService: DocumentService,\n private spinnerService: NgxSpinnerService\n ) {\n this.spinnerService.show('auditSpinner');\n const snapshot = this.route.snapshot.paramMap;\n this.documentId = snapshot.get('documentId') || '';\n }\n\n private static getTranslationKey(auditEvent: AuditEvent) {\n const classNameArray = auditEvent.className.split('.');\n const eventName = classNameArray[classNameArray.length - 1];\n return 'events.' + eventName;\n }\n\n ngOnInit() {\n this.loadAuditPage(this.defaultAuditPage);\n }\n\n public loadAuditPage(pageNumber: number) {\n this.documentService.getAuditLog(this.documentId, pageNumber).subscribe(page => {\n const timelineItems = [];\n page.content.forEach(auditRecord => {\n const occurredOn = moment(auditRecord.metaData.occurredOn);\n const fromNow = occurredOn.fromNow();\n timelineItems.push(\n new TimelineItemImpl(\n occurredOn.format('DD MMM YYYY'),\n occurredOn.format('HH:mm'),\n auditRecord.metaData.user,\n fromNow,\n DossierDetailTabAuditComponent.getTranslationKey(auditRecord.auditEvent),\n auditRecord.auditEvent\n )\n );\n });\n this.timelineItems = timelineItems;\n this.spinnerService.hide('auditSpinner');\n this.pagination = page;\n this.pagination.number += 1;\n });\n }\n\n public onChangePagination(page) {\n this.paginationClicked.emit(page);\n this.currentAuditPage = page - 1;\n this.loadAuditPage(this.currentAuditPage);\n }\n}\n","/*\n * Copyright 2015-2020 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, OnInit} from '@angular/core';\nimport {ActivatedRoute} from '@angular/router';\nimport {DocumentService, RelatedFile} from '@valtimo/document';\nimport {ResourceDto} from '@valtimo/resource';\nimport {ToastrService} from 'ngx-toastr';\nimport {DownloadService, UploadProviderService} from '@valtimo/resource';\nimport {map, switchMap} from 'rxjs/operators';\nimport {BehaviorSubject, combineLatest, Observable} from 'rxjs';\nimport {TranslateService} from '@ngx-translate/core';\nimport {ConfigService} from '@valtimo/config';\n\n@Component({\n selector: 'valtimo-dossier-detail-tab-documents',\n templateUrl: './documents.component.html',\n styleUrls: ['./documents.component.css'],\n})\nexport class DossierDetailTabDocumentsComponent implements OnInit {\n public readonly documentId: string;\n public readonly documentDefinitionName: string;\n public readonly maxFileSize: number = this.configService?.config?.caseFileSizeUploadLimitMB || 5;\n private readonly refetch$ = new BehaviorSubject<null>(null);\n public relatedFiles$: Observable<Array<RelatedFile>> = this.refetch$.pipe(\n switchMap(() =>\n combineLatest([\n this.documentService.getDocument(this.documentId),\n this.translateService.stream('key'),\n ])\n ),\n map(([document]) => {\n const relatedFiles = document?.relatedFiles || [];\n const translatedFiles = relatedFiles.map(file => {\n return {\n ...file,\n createdBy: file.createdBy || this.translateService.instant('list.automaticallyGenerated'),\n };\n });\n\n return translatedFiles || [];\n })\n );\n\n public fields = [\n {key: 'fileName', label: 'File name'},\n {key: 'sizeInBytes', label: 'Size in bytes'},\n {key: 'createdOn', label: 'Created on', viewType: 'date'},\n {key: 'createdBy', label: 'Created by'},\n ];\n public actions = [\n {\n columnName: '',\n iconClass: 'mdi mdi-open-in-new',\n callback: this.downloadDocument.bind(this),\n },\n {\n columnName: '',\n iconClass: 'mdi mdi-delete',\n callback: this.removeRelatedFile.bind(this),\n },\n ];\n\n readonly uploading$ = new BehaviorSubject<boolean>(false);\n\n constructor(\n private readonly route: ActivatedRoute,\n private readonly documentService: DocumentService,\n private readonly toastrService: ToastrService,\n private readonly uploadProviderService: UploadProviderService,\n private readonly downloadService: DownloadService,\n private readonly translateService: TranslateService,\n private readonly configService: ConfigService\n ) {\n const snapshot = this.route.snapshot.paramMap;\n this.documentId = snapshot.get('documentId') || '';\n this.documentDefinitionName = snapshot.get('documentDefinitionName') || '';\n }\n\n ngOnInit(): void {\n this.refetchDocuments();\n }\n\n fileSelected(file: File): void {\n this.uploading$.next(true);\n\n this.uploadProviderService\n .uploadFile(file, this.documentDefinitionName)\n .pipe(\n switchMap(resourceFile =>\n this.documentService.assignResource(this.documentId, resourceFile.data.resourceId)\n )\n )\n .subscribe(\n () => {\n this.toastrService.success('Successfully uploaded document to dossier');\n this.refetchDocuments();\n this.uploading$.next(false);\n },\n () => {\n this.toastrService.error('Failed to upload document to dossier');\n this.uploading$.next(false);\n }\n );\n }\n\n downloadDocument(relatedFile: RelatedFile): void {\n this.uploadProviderService\n .getResource(relatedFile.fileId)\n .subscribe((resource: ResourceDto) => {\n this.downloadService.downloadFile(resource.url, resource.resource.name);\n });\n }\n\n removeRelatedFile(relatedFile: RelatedFile): void {\n this.documentService.removeResource(this.documentId, relatedFile.fileId).subscribe(\n () => {\n this.toastrService.success('Successfully removed document from dossier');\n this.refetchDocuments();\n },\n () => {\n this.toastrService.error('Failed to remove document from dossier');\n }\n );\n }\n\n private refetchDocuments(): void {\n this.refetch$.next(null);\n }\n}\n","/*\n * Copyright 2015-2020 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 {DossierDetailTabSummaryComponent} from './dossier-detail/tab/summary/summary.component';\nimport {DossierDetailTabProgressComponent} from './dossier-detail/tab/progress/progress.component';\nimport {DossierDetailTabAuditComponent} from './dossier-detail/tab/audit/audit.component';\nimport {DossierDetailTabDocumentsComponent} from './dossier-detail/tab/documents/documents.component';\nimport {DefaultTabs} from './dossier-detail-tab-enum';\n\nexport const TAB_MAP = new InjectionToken<Map<string, object>>('TabMap');\nexport const DEFAULT_TABS = new Map<string, object>([\n [DefaultTabs.summary, DossierDetailTabSummaryComponent],\n [DefaultTabs.progress, DossierDetailTabProgressComponent],\n [DefaultTabs.audit, DossierDetailTabAuditComponent],\n [DefaultTabs.documents, DossierDetailTabDocumentsComponent],\n]);\n","/*\n * Copyright 2015-2020 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 {Inject, Injectable} from '@angular/core';\nimport {TabImpl} from './models';\nimport {DEFAULT_TABS, TAB_MAP} from './dossier.config';\n\n@Injectable({\n providedIn: 'root',\n})\nexport class TabService {\n private readonly tabMap: Map<string, object>;\n private readonly tabs: TabImpl[] = [];\n\n constructor(@Inject(TAB_MAP) tabMap: Map<string, object> = DEFAULT_TABS) {\n this.tabMap = tabMap;\n let i = 0;\n this.tabMap.forEach((component, name, map) => {\n this.tabs.push(new TabImpl(name, i, component));\n i++;\n });\n }\n\n public getTabs(): TabImpl[] {\n return this.tabs;\n }\n}\n","/*\n * Copyright 2015-2020 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, EventEmitter, Output, ViewChild, ViewEncapsulation} from '@angular/core';\nimport {FormioBeforeSubmit, FormioForm} from 'angular-formio';\nimport {\n FormioComponent,\n ModalComponent,\n FormioOptionsImpl,\n FormioSubmission,\n ValtimoFormioOptions,\n} from '@valtimo/components';\nimport {ActivatedRoute, Router} from '@angular/router';\nimport {ProcessService} from '@valtimo/process';\nimport {DocumentService, ProcessDocumentDefinition} from '@valtimo/document';\nimport {FormLinkService} from '@valtimo/form-link';\nimport {NGXLogger} from 'ngx-logger';\nimport {FormAssociation, FormSubmissionResult} from '@valtimo/form-link';\nimport {noop} from 'rxjs';\nimport {take} from 'rxjs/operators';\n\n@Component({\n selector: 'valtimo-dossier-supporting-process-start-modal',\n templateUrl: './dossier-supporting-process-start-modal.component.html',\n styleUrls: ['./dossier-supporting-process-start-modal.component.scss'],\n encapsulation: ViewEncapsulation.None,\n})\nexport class DossierSupportingProcessStartModalComponent {\n public processDefinitionKey: string;\n public documentDefinitionName: string;\n public processName: string;\n public formDefinition: FormioForm;\n public formioSubmission: FormioSubmission;\n private formAssociation: FormAssociation;\n public options: ValtimoFormioOptions;\n public submission: object;\n\n @ViewChild('form', {static: false}) form: FormioComponent;\n @ViewChild('supportingProcessStartModal', {static: false}) modal: ModalComponent;\n private documentId: string;\n @Output() formSubmit = new EventEmitter();\n\n constructor(\n private route: ActivatedRoute,\n private router: Router,\n private processService: ProcessService,\n private documentService: DocumentService,\n private formLinkService: FormLinkService,\n private logger: NGXLogger\n ) {}\n\n private loadFormDefinition() {\n this.formDefinition = null;\n this.formLinkService\n .getStartEventFormDefinitionByProcessDefinitionKey(this.processDefinitionKey)\n .subscribe(\n formDefinition => {\n this.formAssociation = formDefinition.formAssociation;\n const className = this.formAssociation.formLink.className.split('.');\n const linkType = className[className.length - 1];\n switch (linkType) {\n case 'BpmnElementFormIdLink':\n this.formDefinition = formDefinition;\n this.documentService.getDocument(this.documentId).subscribe(\n document => {\n this.submission = {\n data: document.content,\n };\n },\n () => noop()\n );\n this.modal.show();\n break;\n case 'BpmnElementUrlLink':\n const url = this.router.serializeUrl(\n this.router.createUrlTree([formDefinition.formAssociation.formLink.url])\n );\n window.open(url, '_blank');\n break;\n case 'BpmnElementAngularStateUrlLink':\n this.route.params.pipe(take(1)).subscribe(params => {\n const documentId = params?.documentId;\n\n this.router.navigate([formDefinition.formAssociation.formLink.url], {\n state: {...(documentId && {documentId})},\n });\n });\n break;\n default:\n this.logger.fatal('Unsupported class name');\n }\n },\n errors => {\n this.modal.show();\n }\n );\n }\n\n public get modalTitle() {\n return `Start - ${this.processName}`;\n }\n\n openModal(processDocumentDefinition: ProcessDocumentDefinition, documentId: string) {\n this.documentId = documentId;\n this.documentDefinitionName = processDocumentDefinition.id.documentDefinitionId.name;\n this.processDefinitionKey = processDocumentDefinition.id.processDefinitionKey;\n this.processName = processDocumentDefinition.processName;\n this.options = new FormioOptionsImpl();\n this.options.disableAlerts = true;\n const formioBeforeSubmit: FormioBeforeSubmit = function (submission, callback) {\n callback(null, submission);\n };\n this.options.setHooks(formioBeforeSubmit);\n this.loadFormDefinition();\n }\n\n public onSubmit(submission: FormioSubmission) {\n this.formioSubmission = submission;\n this.formLinkService\n .onSubmit(\n this.processDefinitionKey,\n this.formAssociation.formLink.id,\n submission.data,\n this.documentId\n )\n .subscribe(\n (formSubmissionResult: FormSubmissionResult) => {\n this.modal.hide();\n this.formSubmit.emit();\n },\n errors => {\n this.form.showErrors(errors);\n }\n );\n }\n\n public gotoFormLinkScreen() {\n this.modal.hide();\n this.router.navigate(['form-links'], {queryParams: {process: this.processDefinitionKey}});\n }\n}\n","/*\n * Copyright 2015-2020 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 {\n Component,\n ComponentFactoryResolver,\n OnInit,\n ViewChild,\n ViewContainerRef,\n} from '@angular/core';\nimport {ActivatedRoute, ParamMap, Router} from '@angular/router';\nimport {DocumentService, Document, ProcessDocumentDefinition} from '@valtimo/document';\nimport {TabLoaderImpl} from '../models';\nimport {TranslateService} from '@ngx-translate/core';\nimport {Location} from '@angular/common';\nimport {TabService} from '../tab.service';\nimport {ProcessService} from '@valtimo/process';\nimport {DossierSupportingProcessStartModalComponent} from '../dossier-supporting-process-start-modal/dossier-supporting-process-start-modal.component';\nimport {ConfigService} from '@valtimo/config';\nimport * as moment from 'moment';\n\n@Component({\n selector: 'valtimo-dossier-detail',\n templateUrl: './dossier-detail.component.html',\n styleUrls: ['./dossier-detail.component.css'],\n})\nexport class DossierDetailComponent implements OnInit {\n @ViewChild('tabContainer', {read: ViewContainerRef, static: true})\n viewContainerRef: ViewContainerRef;\n\n public documentDefinitionName: string;\n public documentDefinitionNameTitle: string;\n public documentId: string;\n public document: Document = null;\n public tabLoader: TabLoaderImpl = null;\n private snapshot: ParamMap;\n public processDefinitionListFields: Array<any> = [];\n public processDocumentDefinitions: ProcessDocumentDefinition[] = [];\n private initialTabName: string;\n public customDossierHeaderItems: Array<any> = [];\n @ViewChild('supportingProcessStartModal')\n supportingProcessStart: DossierSupportingProcessStartModalComponent;\n\n constructor(\n private componentFactoryResolver: ComponentFactoryResolver,\n private translateService: TranslateService,\n private documentService: DocumentService,\n private processService: ProcessService,\n private route: ActivatedRoute,\n private router: Router,\n private location: Location,\n private tabService: TabService,\n private configService: ConfigService\n ) {\n this.snapshot = this.route.snapshot.paramMap;\n this.documentDefinitionName = this.snapshot.get('documentDefinitionName') || '';\n this.documentId = this.snapshot.get('documentId') || '';\n }\n\n ngOnInit() {\n this.tabLoader = new TabLoaderImpl(\n this.tabService.getTabs(),\n this.componentFactoryResolver,\n this.viewContainerRef,\n this.translateService,\n this.router,\n this.location\n );\n this.documentService\n .getDocumentDefinition(this.documentDefinitionName)\n .subscribe(definition => {\n this.documentDefinitionNameTitle = definition.schema.title;\n });\n this.getCustomDossierHeader();\n this.initialTabName = this.snapshot.get('tab');\n this.tabLoader.initial(this.initialTabName);\n this.getAllAssociatedProcessDefinitions();\n }\n\n public getAllAssociatedProcessDefinitions() {\n this.documentService\n .findProcessDocumentDefinitions(this.documentDefinitionName)\n .subscribe(processDocumentDefinitions => {\n this.processDocumentDefinitions = processDocumentDefinitions.filter(\n processDocumentDefinition => processDocumentDefinition.startableByUser\n );\n this.processDefinitionListFields = [\n {\n key: 'processName',\n label: 'Proces',\n },\n ];\n });\n }\n\n startProcess(processDocumentDefinition: ProcessDocumentDefinition) {\n this.supportingProcessStart.openModal(processDocumentDefinition, this.documentId);\n }\n\n private getCustomDossierHeader() {\n if (\n this.configService.config.customDossierHeader?.hasOwnProperty(\n this.documentDefinitionName.toLowerCase()\n )\n ) {\n this.documentService.getDocument(this.documentId).subscribe(document => {\n this.document = document;\n this.configService.config.customDossierHeader[\n this.documentDefinitionName.toLowerCase()\n ]?.forEach(item => this.getCustomDossierHeaderItem(item));\n });\n }\n }\n\n private getCustomDossierHeaderItem(item) {\n this.customDossierHeaderItems.push({\n label: item['labelTranslationKey'] || '',\n columnSize: item['columnSize'] || 3,\n textSize: item['textSize'] || 'md',\n customClass: item['customClass'] || '',\n value: item['propertyPaths']?.reduce(\n (prev, curr) => prev + this.getStringFromDocumentPath(item, curr),\n ''\n ),\n });\n }\n\n private getStringFromDocumentPath(item, path) {\n const prefix = item['propertyPaths'].indexOf(path) > 0 ? ' ' : '';\n const string =\n path.split('.').reduce((o, i) => o[i], this.document.content) || item['noValueText'] || '';\n const regex = new RegExp('(T\\\\d\\\\d:\\\\d\\\\d:\\\\d\\\\d[+-])');\n const formattedString = regex.test(string) ? moment(string).format('DD-MM-YYYY') : string;\n return prefix + formattedString;\n }\n}\n","/*\n * Copyright 2015-2021 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, ViewChild} from '@angular/core';\nimport {ContactMomentService} from '@valtimo/contact-moment';\nimport * as moment_ from 'moment';\nimport {BehaviorSubject, combineLatest, Observable, Subject} from 'rxjs';\nimport {ModalComponent, TimelineItem, TimelineItemImpl} from '@valtimo/components';\nimport {map, switchMap, take} from 'rxjs/operators';\nimport {AlertService} from '@valtimo/components';\nimport {TranslateService} from '@ngx-translate/core';\n\nconst moment = moment_;\nmoment.locale(localStorage.getItem('langKey') || '');\n\n@Component({\n selector: 'valtimo-dossier-detail-tab-contact-moments',\n templateUrl: './contact-moments.component.html',\n styleUrls: ['./contact-moments.component.scss'],\n})\nexport class DossierDetailTabContactMomentsComponent {\n @ViewChild('contactMomentsNoteModal') modal: ModalComponent;\n\n readonly refetchContactMoments$ = new BehaviorSubject('');\n readonly contactMoments$: Observable<Array<TimelineItem>> = this.refetchContactMoments$.pipe(\n switchMap(() => this.contactMomentService.getContactMoments()),\n map(contactMoments =>\n contactMoments.map(contactMoment => {\n const registratieDatum = moment(contactMoment.registratiedatum);\n return new TimelineItemImpl(\n registratieDatum.format('DD MMM YYYY'),\n registratieDatum.format('HH:mm'),\n contactMoment.medewerkerIdentificatie.achternaam,\n contactMoment.kanaal,\n contactMoment.tekst,\n null\n );\n })\n )\n );\n\n readonly text$ = new BehaviorSubject<string>('');\n readonly channel$ = new BehaviorSubject<string>('MAIL');\n readonly requestData$: Observable<Array<string>> = combineLatest([this.text$, this.channel$]);\n readonly valid$: Observable<boolean> = this.requestData$.pipe(\n map(([text, channel]) => !!(text && channel))\n );\n readonly disabled$ = new BehaviorSubject<boolean>(false);\n\n constructor(\n private readonly contactMomentService: ContactMomentService,\n private readonly alertService: AlertService,\n private readonly translateService: TranslateService\n ) {}\n\n textChange(text: string): void {\n this.text$.next(text);\n }\n\n buttonClick(): void {\n this.modal.show();\n }\n\n saveNote(): void {\n this.disable();\n\n this.requestData$.pipe(take(1)).subscribe(([text, channel]) => {\n this.contactMomentService.saveContactMoment({kanaal: channel, tekst: text}).subscribe(\n () => {\n this.alertService.success(\n this.translateService.instant('dossier.contactMoments.saveSuccess')\n );\n this.enable();\n this.clear();\n this.modal.hide();\n this.refetchContactMoments();\n },\n () => {\n this.enable();\n }\n );\n });\n }\n\n private disable(): void {\n this.disabled$.next(true);\n }\n\n private enable(): void {\n this.disabled$.next(false);\n }\n\n private clear(): void {\n this.text$.next('');\n }\n\n private refetchContactMoments(): void {\n this.refetchContactMoments$.next('');\n }\n}\n","/*\n * Copyright 2015-2020 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, OnInit} from '@angular/core';\nimport {TaskService} from '@valtimo/task';\nimport {ActivatedRoute} from '@angular/router';\nimport {ToastrService} from 'ngx-toastr';\nimport {Location} from '@angular/common';\nimport * as momentImported from 'moment';\nimport {DocumentService} from '@valtimo/document';\nimport {DossierService} from '../dossier.service';\n\nconst moment = momentImported;\nmoment.locale(localStorage.getItem('langKey') || '');\n\n@Component({\n selector: 'valtimo-dossier-update',\n templateUrl: './dossier-update.component.html',\n styleUrls: ['./dossier-update.component.css'],\n})\nexport class DossierUpdateComponent implements OnInit {\n public task: any;\n public taskId: string;\n public schema: any;\n public documentId: string;\n public document: any;\n public page: any;\n public documentDefinitionName: string;\n public implementationDefinitions: any;\n public customDefinitions: any = {};\n\n constructor(\n private taskService: TaskService,\n private documentService: DocumentService,\n private route: ActivatedRoute,\n private toastr: ToastrService,\n private location: Location,\n dossierService: DossierService\n ) {\n const snapshot = this.route.snapshot.paramMap;\n this.documentDefinitionName = snapshot.get('documentDefinitionName') || '';\n this.documentId = snapshot.get('documentId') || '';\n this.taskId = snapshot.get('taskId') || '';\n this.implementationDefinitions = dossierService.getImplementationEnvironmentDefinitions(\n this.documentDefinitionName\n );\n this.loadDocumentDefinition(this.documentDefinitionName);\n this.loadDocument(this.documentId);\n }\n\n ngOnInit() {\n this.getTask(this.taskId);\n if (this.implementationDefinitions.definitions.detail.summary) {\n this.customDefinitions = this.implementationDefinitions.definitions.detail.summary;\n }\n }\n\n private loadDocumentDefinition(name: string) {\n this.documentService.getDocumentDefinition(name).subscribe(definition => {\n this.schema = definition.schema;\n });\n }\n\n private loadDocument(id: string) {\n this.documentService.getDocument(id).subscribe(document => {\n this.document = document;\n });\n }\n\n public getTask(id: string) {\n this.taskService.getTask(id).subscribe(task => {\n this.task = task;\n this.task.task.created = moment(this.task.task.created).format('DD MMM YYYY HH:mm');\n this.page = {\n title: this.task.task.name,\n subtitle: `Created ${moment(this.task.task.created).fromNow()}`,\n };\n });\n }\n\n public reset() {\n this.loadDocument(this.documentId);\n }\n\n public back() {\n this.location.back();\n }\n\n public save() {\n const document = {\n documentId: this.document.id,\n content: this.document.content,\n versionBasedOn: this.document.version,\n };\n this.documentService.modifyDocument(document).subscribe(result => {\n this.document = result.document;\n this.toastr.success('Document aangepast');\n this.location.back();\n });\n }\n\n public submit(data: object) {\n // merge document content with formdata\n const mergedData = Object.assign({}, this.document.content, data);\n const documentData = {\n request: {\n documentId: this.document.id,\n content: mergedData,\n versionBasedOn: this.document.version,\n },\n taskId: this.task.task.id,\n };\n\n this.documentService.modifyDocumentAndCompleteTask(documentData).subscribe(result => {\n this.toastr.success(this.task.task.name + ' has successfully been completed');\n this.location.back();\n });\n }\n\n public returnZero() {\n return 0;\n }\n}\n","/*\n * Copyright 2015-2020 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 {NgModule} from '@angular/core';\nimport {RouterModule, Routes} from '@angular/router';\nimport {CommonModule} from '@angular/common';\nimport {AuthGuardService} from '@valtimo/security';\nimport {DossierListComponent} from './dossier-list/dossier-list.component';\nimport {DossierDetailComponent} from './dossier-detail/dossier-detail.component';\nimport {DossierUpdateComponent} from './dossier-update/dossier-update.component';\nimport {ROLE_USER} from '@valtimo/config';\n\nconst routes: Routes = [\n {\n path: 'dossiers/:documentDefinitionName',\n component: DossierListComponent,\n canActivate: [AuthGuardService],\n data: {title: 'Dossiers', roles: [ROLE_USER]},\n },\n {\n path: 'dossiers/:documentDefinitionName/document/:documentId/:tab',\n component: DossierDetailComponent,\n canActivate: [AuthGuardService],\n data: {title: 'Dossiers', parentPath: 'dossiers/:documentDefinitionName', roles: [ROLE_USER]},\n },\n {\n path: 'dossiers/:documentDefinitionName/document/:documentId/:tab/tasks/:taskId',\n component: DossierUpdateComponent,\n canActivate: [AuthGuardService],\n data: {\n title: 'Task details',\n parentPath: 'dossiers/:documentDefinitionName/document/:documentId/:tab',\n roles: [ROLE_USER],\n },\n },\n];\n\n@NgModule({\n imports: [CommonModule, RouterModule.forChild(routes)],\n exports: [RouterModule],\n})\nexport class DossierRoutingModule {}\n","/*\n * Copyright 2015-2020 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 {ANALYZE_FOR_ENTRY_COMPONENTS, ModuleWithProviders, NgModule} from '@angular/core';\nimport {CommonModule} from '@angular/common';\nimport {DossierRoutingModule} from './dossier-routing.module';\nimport {DossierListComponent} from './dossier-list/dossier-list.component';\nimport {DossierService} from './dossier.service';\nimport {TAB_MAP} from './dossier.config';\nimport {HttpLoaderFactory} from '@valtimo/config';\nimport {\n BpmnJsDiagramModule,\n CamundaFormModule,\n DataListModule,\n FilterSidebarModule,\n FormIoModule,\n ListModule,\n ModalModule,\n SpinnerModule,\n TimelineModule,\n UploaderModule,\n WidgetModule,\n DropzoneModule,\n} from '@valtimo/components';\nimport {DossierDetailComponent} from './dossier-detail/dossier-detail.component';\nimport {DossierDetailTabSummaryComponent} from './dossier-detail/tab/summary/summary.component';\nimport {DossierUpdateComponent} from './dossier-update/dossier-update.component';\nimport {DossierDetailTabProgressComponent} from './dossier-detail/tab/progress/progress.component';\nimport {ProcessModule} from '@valtimo/process';\nimport {DossierDetailTabAuditComponent} from './dossier-detail/tab/audit/audit.component';\nimport {DossierDetailTabContactMomentsComponent} from './dossier-detail/tab/contact-moments/contact-moments.component';\nimport {DossierDetailTabDocumentsComponent} from './dossier-detail/tab/documents/documents.component';\nimport {NgbButtonsModule, NgbTooltipModule} from '@ng-bootstrap/ng-bootstrap';\nimport {DossierProcessStartModalComponent} from './dossier-process-start-modal/dossier-process-start-modal.component';\nimport {FormModule} from '@valtimo/form';\nimport {FormsModule} from '@angular/forms';\nimport {TranslateLoader, TranslateModule} from '@ngx-translate/core';\nimport {HttpClient} from '@angular/common/http';\nimport {TabService} from './tab.service';\nimport {TaskModule} from '@valtimo/task';\nimport {DossierSupportingProcessStartModalComponent} from './dossier-supporting-process-start-modal/dossier-supporting-process-start-modal.component';\nimport {NgbPaginationModule} from '@ng-bootstrap/ng-bootstrap';\nimport {ConfigModule} from '@valtimo/config';\n\nexport type TabsFactory = () => Map<string, object>;\n\n@NgModule({\n declarations: [\n DossierListComponent,\n DossierDetailComponent,\n DossierDetailTabSummaryComponent,\n DossierDetailTabProgressComponent,\n DossierDetailTabAuditComponent,\n DossierDetailTabDocumentsComponent,\n DossierDetailTabContactMomentsComponent,\n DossierUpdateComponent,\n DossierProcessStartModalComponent,\n DossierSupportingProcessStartModalComponent,\n ],\n imports: [\n CommonModule,\n DossierRoutingModule,\n ListModule,\n WidgetModule,\n BpmnJsDiagramModule,\n TimelineModule,\n CamundaFormModule,\n ProcessModule,\n FilterSidebarModule,\n NgbButtonsModule,\n DataListModule,\n FormsModule,\n FormModule,\n FormIoModule,\n ModalModule,\n SpinnerModule,\n TranslateModule.forRoot({\n loader: {\n provide: TranslateLoader,\n useFactory: HttpLoaderFactory,\n deps: [HttpClient],\n },\n }),\n TaskModule,\n ModalModule,\n NgbTooltipModule,\n UploaderModule,\n DropzoneModule,\n NgbPaginationModule,\n ConfigModule,\n ],\n exports: [DossierListComponent, DossierDetailComponent],\n entryComponents: [\n DossierDetailTabSummaryComponent,\n DossierDetailTabProgressComponent,\n DossierDetailTabAuditComponent,\n DossierDetailTabDocumentsComponent,\n DossierDetailTabContactMomentsComponent,\n ],\n})\nexport class DossierModule {\n static forRoot(tabsFactory: TabsFactory): ModuleWithProviders<DossierModule> {\n return {\n ngModule: DossierModule,\n providers: [\n DossierService,\n TabService,\n {\n provide: TAB_MAP,\n useFactory: tabsFactory,\n },\n {\n provide: ANALYZE_FOR_ENTRY_COMPONENTS,\n useValue: Array.from(tabsFactory().values()),\n multi: true,\n },\n ],\n };\n }\n}\n","/*\n * Copyright 2015-2020 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 dossier\n */\n\nexport * from './lib/models';\nexport * from './lib/dossier-list/dossier-list.component';\nexport * from './lib/dossier-detail/dossier-detail.component';\nexport * from './lib/dossier-detail/tab/summary/summary.component';\nexport * from './lib/dossier-detail/tab/progress/progress.component';\nexport * from './lib/dossier-detail/tab/audit/audit.component';\nexport * from './lib/dossier-detail/tab/documents/documents.component';\nexport * from './lib/dossier-detail/tab/contact-moments/contact-moments.component';\nexport * from './lib/dossier.config';\nexport * from './lib/dossier.service';\nexport * from './lib/dossier.module';\nexport * from './lib/dossier-detail-tab-enum';\nexport * from './lib/tab.service';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n\nexport {DossierProcessStartModalComponent as ɵb} from './lib/dossier-process-start-modal/dossier-process-start-modal.component';\nexport {DossierRoutingModule as ɵd} from './lib/dossier-routing.module';\nexport {DossierSupportingProcessStartModalComponent as ɵc} from './lib/dossier-supporting-process-start-modal/dossier-supporting-process-start-modal.component';\nexport {DossierUpdateComponent as ɵa} from './lib/dossier-update/dossier-update.component';"],"names":["momentImported","moment"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;;;;;;;;;;;;;;MA+Ba,aAAa;IAUxB,YACE,IAAe,EACf,wBAAkD,EAClD,gBAAkC,EAClC,gBAAkC,EAClC,MAAc,EACd,QAAkB;QAfH,UAAK,GAAc,IAAI,CAAC;QACxB,8BAAyB,GAA6B,IAAI,CAAC;QAC3D,sBAAiB,GAAqB,IAAI,CAAC;QACpD,qBAAgB,GAAsB,IAAI,CAAC;QAC3C,eAAU,GAAY,IAAI,CAAC;QAC3B,sBAAiB,GAAqB,IAAI,CAAC;QAYjD,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC;QAClB,IAAI,CAAC,yBAAyB,GAAG,wBAAwB,CAAC;QAC1D,IAAI,CAAC,iBAAiB,GAAG,gBAAgB,CAAC;QAC1C,IAAI,CAAC,iBAAiB,GAAG,gBAAgB,CAAC;QAC1C,IAAI,CAAC,OAAO,GAAG,MAAM,CAAC;QACtB,IAAI,CAAC,SAAS,GAAG,QAAQ,CAAC;KAC3B;IAED,OAAO,CAAC,OAAgB;QACtB,IAAI,UAAU,CAAC;QACf,IAAI,OAAO,EAAE;YACX,UAAU,GAAG,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,GAAG,IAAI,GAAG,CAAC,IAAI,KAAK,OAAO,CAAC,CAAC;SAC3D;aAAM;YACL,UAAU,GAAG,IAAI,CAAC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,CAAC;yBACnB;qBACF,CAAC;oBACF,UAAU;oBACV,WAAW;oBACX,gBAAgB;oBAChB,cAAc;oBACd,cAAc;oBACd,mBAAmB;oBACnB,YAAY;iBACb;gBACD,OAAO,EAAE,CAAC,oBAAoB,EAAE,sBAAsB,CAAC;gBACvD,eAAe,EAAE;oBACf,gCAAgC;oBAChC,iCAAiC;oBACjC,8BAA8B;oBAC9B,kCAAkC;oBAClC,uCAAuC;iBACxC;aACF;;;AChHD;;;;;;;;;;;;;;;;ACAA;;;;;;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"__symbolic":"module","version":4,"exports":[{"from":"./lib/tabs.model"}],"metadata":{"DossierListComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":38,"character":1},"arguments":[{"selector":"valtimo-dossier-list","template":"<!--\n ~ Copyright 2015-2020 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-container *ngTemplateOutlet=\"sidebar\"></ng-container>\n\n<div class=\"main-content pt-0\">\n <div class=\"container-fluid\">\n <div class=\"col-12 px-0 mb-5\">\n <div>\n <div class=\"text-right mt-m3px mb-3\">\n <button\n type=\"button\"\n class=\"btn btn-space btn-primary mr-0\"\n (click)=\"startDossier()\"\n [ngbTooltip]=\"processDocumentDefinitions.length === 0 ? 'No action' : null\"\n placement=\"bottom\"\n [disabled]=\"processDocumentDefinitions.length === 0\"\n >\n <i class=\"icon mdi mdi-plus mr-1\"></i>\n {{ 'Start Dossier' | translate }}\n </button>\n </div>\n\n <div\n class=\"modal fade\"\n id=\"startProcess\"\n tabindex=\"-1\"\n role=\"dialog\"\n aria-labelledby=\"startProcessLabel\"\n aria-hidden=\"true\"\n >\n <div class=\"modal-dialog modal-dialog-centered\" role=\"document\">\n <div class=\"modal-content\">\n <div class=\"modal-header\">\n <h3 class=\"modal-title\" id=\"startProcessLabel\">\n {{ 'dashboard.startProcess.title' | translate }}\n </h3>\n <button type=\"button\" class=\"close\" data-dismiss=\"modal\" aria-label=\"Close\">\n <span aria-hidden=\"true\">×</span>\n </button>\n </div>\n <div class=\"modal-body\">\n <div class=\"table-responsive\">\n <table class=\"table m-0\">\n <tr\n *ngFor=\"let processDocumentDefinition of processDocumentDefinitions\"\n (click)=\"selectProcess(processDocumentDefinition)\"\n style=\"cursor: pointer\"\n >\n <td>{{ processDocumentDefinition.processName }}</td>\n </tr>\n </table>\n </div>\n </div>\n <div class=\"modal-footer\">\n <button type=\"button\" class=\"btn btn-secondary\" data-dismiss=\"modal\">\n {{ 'cta.close' | translate }}\n </button>\n </div>\n </div>\n </div>\n </div>\n </div>\n <valtimo-widget>\n <valtimo-list\n [items]=\"items\"\n [fields]=\"fields\"\n (rowClicked)=\"rowClick($event)\"\n [pagination]=\"pagination\"\n [viewMode]=\"true\"\n [header]=\"true\"\n paginationIdentifier=\"dossierList\"\n (paginationClicked)=\"paginationClicked($event)\"\n (paginationSet)=\"paginationSet()\"\n [initialSortState]=\"getInitialSortState()\"\n (sortChanged)=\"sortChanged($event)\"\n >\n <div header>\n <h3 class=\"list-header-title\">\n {{ schema?.title }}\n <sup class=\"ml-1 badge badge-pill badge-primary\">{{\n documents?.content.length || 0\n }}</sup>\n </h3>\n </div>\n </valtimo-list>\n </valtimo-widget>\n </div>\n </div>\n <valtimo-dossier-process-start-modal #processStartModal></valtimo-dossier-process-start-modal>\n</div>\n\n<ng-template #sidebar>\n <valtimo-filter-sidebar>\n <h4 class=\"title\">Search</h4>\n <div class=\"mb-4\">\n <input\n type=\"text\"\n class=\"form-control\"\n placeholder=\"{{ 'dossier.forms.globalSearchPlaceHolder' | translate }}\"\n [(ngModel)]=\"globalSearchFilter\"\n (blur)=\"doSearch()\"\n (keyup.enter)=\"doSearch()\"\n />\n </div>\n\n <div class=\"mb-4\">\n <input\n type=\"number\"\n class=\"form-control\"\n placeholder=\"{{ 'dossier.forms.referenceNumberPlaceHolder' | translate }}\"\n [(ngModel)]=\"sequence\"\n (blur)=\"doSearch()\"\n (keyup.enter)=\"doSearch()\"\n />\n </div>\n </valtimo-filter-sidebar>\n</ng-template>\n","styles":[""]}]}],"members":{"processStart":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":65,"character":3},"arguments":["processStartModal"]}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/router","name":"ActivatedRoute","line":74,"character":19},{"__symbolic":"reference","module":"@angular/router","name":"Router","line":75,"character":20},{"__symbolic":"reference","module":"@valtimo/document","name":"DocumentService","line":76,"character":29},{"__symbolic":"reference","module":"@ngx-translate/core","name":"TranslateService","line":77,"character":39},{"__symbolic":"reference","name":"DossierService"}]}],"ngOnInit":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}],"paginationSet":[{"__symbolic":"method"}],"routeEvent":[{"__symbolic":"method"}],"doInit":[{"__symbolic":"method"}],"openTranslationSubscription":[{"__symbolic":"method"}],"getData":[{"__symbolic":"method"}],"doSearch":[{"__symbolic":"method"}],"findDocuments":[{"__symbolic":"method"}],"getAllAssociatedProcessDefinitions":[{"__symbolic":"method"}],"getCachedSearch":[{"__symbolic":"method"}],"buildDocumentSearchRequest":[{"__symbolic":"method"}],"storeSearch":[{"__symbolic":"method"}],"getCachedDocumentSearchRequest":[{"__symbolic":"method"}],"hasCachedSearchRequest":[{"__symbolic":"method"}],"getCachedKey":[{"__symbolic":"method"}],"rowClick":[{"__symbolic":"method"}],"startDossier":[{"__symbolic":"method"}],"showStartProcessModal":[{"__symbolic":"method"}],"selectProcess":[{"__symbolic":"method"}],"findDocumentDefinition":[{"__symbolic":"method"}],"transformDocuments":[{"__symbolic":"method"}],"paginationClicked":[{"__symbolic":"method"}],"sortChanged":[{"__symbolic":"method"}],"getInitialSortState":[{"__symbolic":"method"}]}},"DossierDetailComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":34,"character":1},"arguments":[{"selector":"valtimo-dossier-detail","template":"<!--\n ~ Copyright 2015-2020 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<div class=\"main-content\">\n <div class=\"container-fluid\">\n <div class=\"col-12 px-0 mb-5\">\n <valtimo-widget>\n <div class=\"card-header bg-light card-header-divider pb-2\">\n <div class=\"row\">\n <div class=\"col\">\n <div class=\"row\" *ngIf=\"customDossierHeaderItems.length > 0; else defaultTitle\">\n <span\n class=\"mb-0 mt-0 pb-2 align-self-end col-xl-{{ item.columnSize }} col-lg-{{\n item.columnSize * 2\n }} {{ item.customClass }}\"\n [ngClass]=\"{\n h1: item.textSize === 'xl',\n h2: item.textSize === 'lg',\n h3: item.textSize === 'md',\n h4: item.textSize === 'sm',\n h5: item.textSize === 'xs'\n }\"\n *ngFor=\"let item of customDossierHeaderItems\"\n >\n <span *ngIf=\"item.label != ''\">{{ item.label | translate }}</span>\n <span *ngIf=\"item.label != '' && item.value != '' && item.value != null\">: </span>\n <strong>{{ item.value }}</strong>\n </span>\n </div>\n <ng-template #defaultTitle>\n {{ documentDefinitionNameTitle }}\n </ng-template>\n </div>\n <div class=\"btn-group mt-m3px mb-3 col-auto\">\n <valtimo-extension\n module=\"dossier\"\n page=\"dossier-detail\"\n section=\"card-header\"\n ></valtimo-extension>\n <div class=\"dropdown\">\n <button\n class=\"btn btn-primary dropdown-toggle\"\n type=\"button\"\n id=\"startProcessDropdown\"\n placement=\"bottom\"\n [ngbTooltip]=\"processDocumentDefinitions.length === 0 ? 'No action' : null\"\n [disabled]=\"processDocumentDefinitions.length === 0\"\n data-toggle=\"dropdown\"\n aria-haspopup=\"true\"\n aria-expanded=\"false\"\n >\n <span>Start</span>\n <i class=\"ml-1 mdi mdi-chevron-down\"></i>\n </button>\n <div\n class=\"dropdown-menu dropdown-menu-right\"\n aria-labelledby=\"startProcessDropdown\"\n >\n <button\n *ngFor=\"let processDocumentDefinition of processDocumentDefinitions\"\n class=\"dropdown-item p\"\n href=\"#\"\n (click)=\"startProcess(processDocumentDefinition)\"\n >\n {{ processDocumentDefinition.processName }}\n </button>\n </div>\n </div>\n </div>\n </div>\n </div>\n <ul class=\"nav nav-tabs\">\n <li class=\"nav-item\" *ngFor=\"let tab of tabLoader.tabs\">\n <a\n id=\"{{ tab.name }}-tab\"\n class=\"nav-link clickable\"\n [ngClass]=\"{active: tab.isActive()}\"\n data-toggle=\"tab\"\n (click)=\"tabLoader.load(tab)\"\n >\n {{ tabLoader.translateTabName(tab) }}\n </a>\n </li>\n </ul>\n <div class=\"card-body bg-white p-5 position-relative tab-container\">\n <ng-template #tabContainer>Loading...</ng-template>\n <div class=\"clearfix\"></div>\n </div>\n </valtimo-widget>\n </div>\n <valtimo-dossier-supporting-process-start-modal\n (formSubmit)=\"tabLoader.refreshView()\"\n #supportingProcessStartModal\n ></valtimo-dossier-supporting-process-start-modal>\n </div>\n</div>\n","styles":[".tab-container{min-height:300px}"]}]}],"members":{"viewContainerRef":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":40,"character":3},"arguments":["tabContainer",{"read":{"__symbolic":"reference","module":"@angular/core","name":"ViewContainerRef","line":40,"character":36},"static":true}]}]}],"supportingProcessStart":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":53,"character":3},"arguments":["supportingProcessStartModal"]}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ComponentFactoryResolver","line":57,"character":38},{"__symbolic":"reference","module":"@ngx-translate/core","name":"TranslateService","line":58,"character":30},{"__symbolic":"reference","module":"@valtimo/document","name":"DocumentService","line":59,"character":29},{"__symbolic":"reference","module":"@valtimo/process","name":"ProcessService","line":60,"character":28},{"__symbolic":"reference","module":"@angular/router","name":"ActivatedRoute","line":61,"character":19},{"__symbolic":"reference","module":"@angular/router","name":"Router","line":62,"character":20},{"__symbolic":"reference","module":"@angular/common","name":"Location","line":63,"character":22},{"__symbolic":"reference","name":"TabService"},{"__symbolic":"reference","module":"@valtimo/config","name":"ConfigService","line":65,"character":27}]}],"ngOnInit":[{"__symbolic":"method"}],"getAllAssociatedProcessDefinitions":[{"__symbolic":"method"}],"startProcess":[{"__symbolic":"method"}],"getCustomDossierHeader":[{"__symbolic":"method"}],"getCustomDossierHeaderItem":[{"__symbolic":"method"}],"getStringFromDocumentPath":[{"__symbolic":"method"}]}},"DossierDetailTabSummaryComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":39,"character":1},"arguments":[{"selector":"valtimo-dossier-detail-tab-summary","encapsulation":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewEncapsulation","line":43,"character":17},"member":"None"},"template":"<!--\n ~ Copyright 2015-2020 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<div class=\"container-fluid\">\n <div class=\"row py-4\">\n <div class=\"col-sm-12 col-md-8 col-xl-9\">\n <div *ngIf=\"document\">\n <div *ngIf=\"formDefinition\" class=\"summaryForm\">\n <div class=\"mb-4\">\n <valtimo-form-io [form]=\"formDefinition\" [options]=\"options\"></valtimo-form-io>\n </div>\n </div>\n </div>\n </div>\n\n <!--Current user tasks right side-->\n <div class=\"col-sm-12 col-md-4 col-xl-3\">\n <h4 class=\"user-tasks-title\">User tasks</h4>\n <ng-container *ngIf=\"!tasks.length\">\n <valtimo-widget>\n <div class=\"p-3\">\n <img class=\"float-left\" src=\"assets/audit-2.png\" height=\"25\" />\n <span class=\"float-right\">{{ 'summary.userTasksDoneState' | translate }}</span>\n <div class=\"clearfix\"></div>\n </div>\n </valtimo-widget>\n </ng-container>\n <ng-container *ngFor=\"let task of tasks\">\n <valtimo-widget>\n <div\n class=\"p-3 clickable hoverable\"\n (click)=\"rowTaskClick(task)\"\n *ngIf=\"!task.isLocked()\"\n >\n <span class=\"float-right badge badge-pill badge-primary\">Open</span>\n <strong>{{ task.name }}</strong>\n <div>Created {{ task.created }}</div>\n </div>\n <div class=\"p-3 hoverable\" *ngIf=\"task.isLocked()\">\n <span\n class=\"float-right badge badge-pill badge-secondary bg-grey\"\n ngbTooltip=\"{{ 'summary.taskLocked' | translate }}\"\n >\n <i class=\"icon mdi mdi-lock\"></i>\n </span>\n <strong>{{ task.name }}</strong>\n <div>Created {{ task.created }}</div>\n </div>\n </valtimo-widget>\n </ng-container>\n <valtimo-task-detail-modal\n #taskDetail\n (formSubmit)=\"init()\"\n (assignmentOfTaskChanged)=\"init()\"\n ></valtimo-task-detail-modal>\n </div>\n </div>\n</div>\n","styles":["/*!\n * Copyright 2015-2020 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 */.hoverable:hover{background-color:#eee}.summaryForm .formio-component{margin-bottom:0!important}.summaryForm .formio-component div[ref=element] .form-control{background-color:#fff;border:0;font-size:13px;height:24px!important;margin:0;padding:0!important}.summaryForm .formio-field div[ref=element] .form-control{font-weight:400}.summaryForm .formio-value div[ref=element] .form-control{font-weight:700}.user-tasks-title{color:#000;font-weight:400;height:20px;margin-bottom:12px;margin-top:0}"]}]}],"members":{"taskDetail":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":56,"character":3},"arguments":["taskDetail"]}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/router","name":"Router","line":59,"character":20},{"__symbolic":"reference","module":"@valtimo/document","name":"DocumentService","line":60,"character":29},{"__symbolic":"reference","module":"@valtimo/task","name":"TaskService","line":61,"character":25},{"__symbolic":"reference","module":"@valtimo/process","name":"ProcessService","line":62,"character":28},{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":63,"character":16},{"__symbolic":"reference","module":"@angular/core","name":"Renderer2","line":64,"character":22},{"__symbolic":"reference","module":"@angular/router","name":"ActivatedRoute","line":65,"character":19},{"__symbolic":"reference","module":"@valtimo/form","name":"FormService","line":66,"character":25},{"__symbolic":"reference","module":"@valtimo/security","name":"UserProviderService","line":67,"character":33}]}],"ngOnInit":[{"__symbolic":"method"}],"init":[{"__symbolic":"method"}],"loadProcessDocumentInstances":[{"__symbolic":"method"}],"loadProcessInstanceTasks":[{"__symbolic":"method"}],"rowTaskClick":[{"__symbolic":"method"}]}},"DossierDetailTabProgressComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":21,"character":1},"arguments":[{"selector":"valtimo-dossier-detail-tab-progress","template":"<!--\n ~ Copyright 2015-2020 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<div class=\"full-height-tab-content\" *ngIf=\"processDocumentInstances\">\n <div class=\"col-3\">\n <label><strong>Process</strong></label\n ><br />\n <select class=\"form-control\" (change)=\"loadProcessInstance($event.target.value)\">\n <option\n *ngFor=\"let processDocumentInstance of processDocumentInstances\"\n [value]=\"processDocumentInstance.id.processInstanceId\"\n [selected]=\"selectedProcessInstanceId === processDocumentInstance.id.processInstanceId\"\n >\n {{ processDocumentInstance.processName }}\n </option>\n </select>\n </div>\n <valtimo-process-diagram\n [processInstanceId]=\"selectedProcessInstanceId\"\n ></valtimo-process-diagram>\n</div>\n","styles":[".full-height-tab-content{height:calc(100vh - 380px);width:100%}"]}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/router","name":"ActivatedRoute","line":31,"character":29},{"__symbolic":"reference","module":"@valtimo/document","name":"DocumentService","line":31,"character":70}]}],"ngOnInit":[{"__symbolic":"method"}],"loadProcessInstance":[{"__symbolic":"method"}]}},"DossierDetailTabAuditComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":27,"character":1},"arguments":[{"selector":"valtimo-dossier-detail-tab-audit","template":"<!--\n ~ Copyright 2015-2020 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<div *ngIf=\"timelineItems\">\n <valtimo-timeline [items]=\"timelineItems\"></valtimo-timeline>\n</div>\n<valtimo-spinner\n [useBootstrapSpinner]=\"false\"\n name=\"auditSpinner\"\n bdColor=\"rgba(125, 125, 125, 0.35)\"\n color=\"#264251\"\n type=\"square-jelly-box\"\n>\n</valtimo-spinner>\n<div\n class=\"pagination-holder audit-pagination bg-light px-4 pt-4 pb-2 overflow-auto row mr-0 ml-0\"\n *ngIf=\"pagination && pagination.totalElements > pagination.size\"\n>\n <div class=\"float-left page-count col-4\">\n <strong>{{\n 'list.currentPage' | translate: {current: pagination.number, total: pagination.totalPages}\n }}</strong>\n <br />\n {{\n pagination.totalElements === 1\n ? ('list.showingResult' | translate: {number: pagination.content.length})\n : ('list.showingResults'\n | translate: {number: pagination.content.length, total: pagination.totalElements})\n }}\n </div>\n <div class=\"col-8\">\n <ngb-pagination\n *ngIf=\"pagination.totalElements > pagination.size\"\n class=\"float-right\"\n [collectionSize]=\"pagination.totalElements\"\n [(page)]=\"pagination.number\"\n [pageSize]=\"pagination.size\"\n [maxSize]=\"pagination.size\"\n [rotate]=\"true\"\n (pageChange)=\"onChangePagination(pagination.number)\"\n ></ngb-pagination>\n </div>\n</div>\n","styles":[".audit-pagination{border-top:1px solid #dee2e6;margin:0 -1.923rem -1.923rem!important}"]}]}],"members":{"paginationClicked":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":33,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/router","name":"ActivatedRoute","line":42,"character":19},{"__symbolic":"reference","module":"@valtimo/document","name":"DocumentService","line":43,"character":29},{"__symbolic":"reference","module":"ngx-spinner","name":"NgxSpinnerService","line":44,"character":28}]}],"ngOnInit":[{"__symbolic":"method"}],"loadAuditPage":[{"__symbolic":"method"}],"onChangePagination":[{"__symbolic":"method"}]}},"DossierDetailTabDocumentsComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":27,"character":1},"arguments":[{"selector":"valtimo-dossier-detail-tab-documents","template":"<!--\n ~ Copyright 2015-2020 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<valtimo-dropzone\n (fileSelected)=\"fileSelected($event)\"\n [acceptedFiles]=\"null\"\n [hideFilePreview]=\"true\"\n [hideTitle]=\"true\"\n [maxFileSize]=\"maxFileSize\"\n [showMaxFileSize]=\"true\"\n [camera]=\"false\"\n [uploading]=\"uploading$ | async\"\n></valtimo-dropzone>\n\n<valtimo-widget>\n <valtimo-list\n [fields]=\"fields\"\n [items]=\"relatedFiles$ | async\"\n [header]=\"true\"\n [isSearchable]=\"true\"\n [viewMode]=\"true\"\n [actions]=\"actions\"\n >\n <div header>\n <h3 class=\"list-header-title\">{{ 'Related documents' | translate }}</h3>\n <h5 class=\"list-header-description\">\n {{ 'Overview of all documents in this dossier' | translate }}\n </h5>\n </div>\n </valtimo-list>\n</valtimo-widget>\n","styles":[""]}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/router","name":"ActivatedRoute","line":79,"character":28},{"__symbolic":"reference","module":"@valtimo/document","name":"DocumentService","line":80,"character":38},{"__symbolic":"reference","module":"ngx-toastr","name":"ToastrService","line":81,"character":36},{"__symbolic":"reference","module":"@valtimo/resource","name":"UploadProviderService","line":82,"character":44},{"__symbolic":"reference","module":"@valtimo/resource","name":"DownloadService","line":83,"character":38},{"__symbolic":"reference","module":"@ngx-translate/core","name":"TranslateService","line":84,"character":39},{"__symbolic":"reference","module":"@valtimo/config","name":"ConfigService","line":85,"character":36}]}],"ngOnInit":[{"__symbolic":"method"}],"fileSelected":[{"__symbolic":"method"}],"downloadDocument":[{"__symbolic":"method"}],"removeRelatedFile":[{"__symbolic":"method"}],"refetchDocuments":[{"__symbolic":"method"}]}},"DossierDetailTabContactMomentsComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":28,"character":1},"arguments":[{"selector":"valtimo-dossier-detail-tab-contact-moments","template":"<!--\n ~ Copyright 2015-2021 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<div class=\"contact-moments-container\">\n <ng-container *ngTemplateOutlet=\"buttons\"></ng-container>\n <ng-container *ngTemplateOutlet=\"moments\"></ng-container>\n</div>\n\n<valtimo-modal\n #contactMomentsNoteModal\n [title]=\"'dossier.contactMoments.popupTitle' | translate\"\n [showFooter]=\"true\"\n [elementId]=\"'contact-moments-modal'\"\n>\n <div class=\"mt-2\" body>\n <ng-container *ngTemplateOutlet=\"body\"></ng-container>\n </div>\n <div footer>\n <ng-container *ngTemplateOutlet=\"footer\"></ng-container>\n </div>\n</valtimo-modal>\n\n<ng-template #body>\n <form>\n <div class=\"form-group row\">\n <label class=\"col-12 col-sm-3 col-form-label text-sm-right\" for=\"body\">\n {{ 'dossier.contactMoments.noteText' | translate }}\n </label>\n <div class=\"col-12 col-sm-8 col-lg-6\">\n <textarea\n [disabled]=\"disabled$ | async\"\n class=\"form-control\"\n id=\"body\"\n name=\"body\"\n [ngModel]=\"text$ | async\"\n (ngModelChange)=\"textChange($event)\"\n ></textarea>\n </div>\n </div>\n </form>\n</ng-template>\n\n<ng-template #footer>\n <button\n *ngIf=\"(disabled$ | async) === false; else loading\"\n class=\"btn btn-primary\"\n [disabled]=\"(valid$ | async) === false || (disabled$ | async)\"\n (click)=\"saveNote()\"\n >\n {{ 'dossier.contactMoments.saveButtonText' | translate }}\n </button>\n</ng-template>\n\n<ng-template #loading>\n <valtimo-spinner [noMarginTop]=\"true\"></valtimo-spinner>\n</ng-template>\n\n<ng-template #buttons>\n <div class=\"btn-group mt-m3px mb-3 button-container\">\n <button class=\"btn btn-primary btn-space\" (click)=\"buttonClick()\">\n <i class=\"icon mdi mdi-calendar-note\"></i>\n {{ 'dossier.contactMoments.makeNoteButton' | translate }}\n </button>\n </div>\n</ng-template>\n\n<ng-template #moments>\n <div *ngIf=\"contactMoments$ | async as contactMoments; else loading\">\n <valtimo-timeline [items]=\"contactMoments\"></valtimo-timeline>\n </div>\n</ng-template>\n","styles":["/*!\n * Copyright 2015-2021 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 */.contact-moments-container{display:flex;flex-direction:column}.button-container{align-self:flex-end;display:inline}"]}]}],"members":{"modal":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":34,"character":3},"arguments":["contactMomentsNoteModal"]}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@valtimo/contact-moment","name":"ContactMomentService","line":63,"character":43},{"__symbolic":"reference","module":"@valtimo/components","name":"AlertService","line":64,"character":35},{"__symbolic":"reference","module":"@ngx-translate/core","name":"TranslateService","line":65,"character":39}]}],"textChange":[{"__symbolic":"method"}],"buttonClick":[{"__symbolic":"method"}],"saveNote":[{"__symbolic":"method"}],"disable":[{"__symbolic":"method"}],"enable":[{"__symbolic":"method"}],"clear":[{"__symbolic":"method"}],"refetchContactMoments":[{"__symbolic":"method"}]}},"TAB_MAP":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":23,"character":27},"arguments":["TabMap"]},"DEFAULT_TABS":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"Map"},"arguments":[[[{"__symbolic":"select","expression":{"__symbolic":"reference","name":"DefaultTabs"},"member":"summary"},{"__symbolic":"reference","name":"DossierDetailTabSummaryComponent"}],[{"__symbolic":"select","expression":{"__symbolic":"reference","name":"DefaultTabs"},"member":"progress"},{"__symbolic":"reference","name":"DossierDetailTabProgressComponent"}],[{"__symbolic":"select","expression":{"__symbolic":"reference","name":"DefaultTabs"},"member":"audit"},{"__symbolic":"reference","name":"DossierDetailTabAuditComponent"}],[{"__symbolic":"select","expression":{"__symbolic":"reference","name":"DefaultTabs"},"member":"documents"},{"__symbolic":"reference","name":"DossierDetailTabDocumentsComponent"}]]]},"DossierService":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":20,"character":1},"arguments":[{"providedIn":"root"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@valtimo/config","name":"ConfigService","line":26,"character":46}]}],"getImplementationEnvironmentDefinitions":[{"__symbolic":"method"}],"getDefinitionColumns":[{"__symbolic":"method"}],"getInitialSortState":[{"__symbolic":"method"}]},"statics":{"ɵprov":{}}},"TabsFactory":{"__symbolic":"interface"},"DossierModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":59,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","name":"DossierListComponent"},{"__symbolic":"reference","name":"DossierDetailComponent"},{"__symbolic":"reference","name":"DossierDetailTabSummaryComponent"},{"__symbolic":"reference","name":"DossierDetailTabProgressComponent"},{"__symbolic":"reference","name":"DossierDetailTabAuditComponent"},{"__symbolic":"reference","name":"DossierDetailTabDocumentsComponent"},{"__symbolic":"reference","name":"DossierDetailTabContactMomentsComponent"},{"__symbolic":"reference","name":"ɵa"},{"__symbolic":"reference","name":"ɵb"},{"__symbolic":"reference","name":"ɵc"}],"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":73,"character":4},{"__symbolic":"reference","name":"ɵd"},{"__symbolic":"reference","module":"@valtimo/components","name":"ListModule","line":75,"character":4},{"__symbolic":"reference","module":"@valtimo/components","name":"WidgetModule","line":76,"character":4},{"__symbolic":"reference","module":"@valtimo/components","name":"BpmnJsDiagramModule","line":77,"character":4},{"__symbolic":"reference","module":"@valtimo/components","name":"TimelineModule","line":78,"character":4},{"__symbolic":"reference","module":"@valtimo/components","name":"CamundaFormModule","line":79,"character":4},{"__symbolic":"reference","module":"@valtimo/process","name":"ProcessModule","line":80,"character":4},{"__symbolic":"reference","module":"@valtimo/components","name":"FilterSidebarModule","line":81,"character":4},{"__symbolic":"reference","module":"@ng-bootstrap/ng-bootstrap","name":"NgbButtonsModule","line":82,"character":4},{"__symbolic":"reference","module":"@valtimo/components","name":"DataListModule","line":83,"character":4},{"__symbolic":"reference","module":"@angular/forms","name":"FormsModule","line":84,"character":4},{"__symbolic":"reference","module":"@valtimo/form","name":"FormModule","line":85,"character":4},{"__symbolic":"reference","module":"@valtimo/components","name":"FormIoModule","line":86,"character":4},{"__symbolic":"reference","module":"@valtimo/components","name":"ModalModule","line":87,"character":4},{"__symbolic":"reference","module":"@valtimo/components","name":"SpinnerModule","line":88,"character":4},{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@ngx-translate/core","name":"TranslateModule","line":89,"character":4},"member":"forRoot"},"arguments":[{"loader":{"provide":{"__symbolic":"reference","module":"@ngx-translate/core","name":"TranslateLoader","line":91,"character":17},"useFactory":{"__symbolic":"reference","module":"@valtimo/config","name":"HttpLoaderFactory","line":92,"character":20},"deps":[{"__symbolic":"reference","module":"@angular/common/http","name":"HttpClient","line":93,"character":15}]}}]},{"__symbolic":"reference","module":"@valtimo/task","name":"TaskModule","line":96,"character":4},{"__symbolic":"reference","module":"@valtimo/components","name":"ModalModule","line":97,"character":4},{"__symbolic":"reference","module":"@ng-bootstrap/ng-bootstrap","name":"NgbTooltipModule","line":98,"character":4},{"__symbolic":"reference","module":"@valtimo/components","name":"UploaderModule","line":99,"character":4},{"__symbolic":"reference","module":"@valtimo/components","name":"DropzoneModule","line":100,"character":4},{"__symbolic":"reference","module":"@ng-bootstrap/ng-bootstrap","name":"NgbPaginationModule","line":101,"character":4},{"__symbolic":"reference","module":"@valtimo/config","name":"ConfigModule","line":102,"character":4}],"exports":[{"__symbolic":"reference","name":"DossierListComponent"},{"__symbolic":"reference","name":"DossierDetailComponent"}],"entryComponents":[{"__symbolic":"reference","name":"DossierDetailTabSummaryComponent"},{"__symbolic":"reference","name":"DossierDetailTabProgressComponent"},{"__symbolic":"reference","name":"DossierDetailTabAuditComponent"},{"__symbolic":"reference","name":"DossierDetailTabDocumentsComponent"},{"__symbolic":"reference","name":"DossierDetailTabContactMomentsComponent"}]}]}],"members":{},"statics":{"forRoot":{"__symbolic":"function","parameters":["tabsFactory"],"value":{"ngModule":{"__symbolic":"reference","name":"DossierModule"},"providers":[{"__symbolic":"reference","name":"DossierService"},{"__symbolic":"reference","name":"TabService"},{"provide":{"__symbolic":"reference","name":"TAB_MAP"},"useFactory":{"__symbolic":"reference","name":"tabsFactory"}},{"provide":{"__symbolic":"reference","module":"@angular/core","name":"ANALYZE_FOR_ENTRY_COMPONENTS","line":125,"character":19},"useValue":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"Array"},"member":"from"},"arguments":[{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"call","expression":{"__symbolic":"reference","name":"tabsFactory"}},"member":"values"}}]},"multi":true}]}}}},"DefaultTabs":{"summary":"summary","progress":"progress","audit":"audit","documents":"documents","contactMoments":"contact-moments"},"TabService":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":20,"character":1},"arguments":[{"providedIn":"root"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":27,"character":15},"arguments":[{"__symbolic":"reference","name":"TAB_MAP"}]}]],"parameters":[{"__symbolic":"reference","name":"Map","arguments":[{"__symbolic":"reference","name":"string"},{"__symbolic":"error","message":"Expression form not supported","line":27,"character":51,"module":"./lib/tab.service"}]}]}],"getTabs":[{"__symbolic":"method"}]},"statics":{"ɵprov":{}}},"ɵa":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":28,"character":1},"arguments":[{"selector":"valtimo-dossier-update","template":"<!--\n ~ Copyright 2015-2020 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<div class=\"main-content\">\n <div class=\"container-fluid\">\n <div class=\"col-12 px-0 mb-5\">\n <valtimo-widget [title]=\"page?.title\" [subtitle]=\"page?.subtitle\" [divider]=\"true\">\n <div class=\"card-body\">\n <!--view with custom definitions-->\n <div *ngIf=\"this.customDefinitions\">\n <div\n class=\"mb-4\"\n *ngFor=\"let definition of this.customDefinitions | keyvalue: returnZero\"\n ></div>\n <div class=\"row pt-3 mt-1\">\n <div class=\"col-sm-12\">\n <div class=\"text-right\">\n <button\n class=\"btn btn-space btn-default float-left\"\n type=\"button\"\n (click)=\"back()\"\n id=\"back-button\"\n >\n Back\n </button>\n <button\n class=\"btn btn-space btn-secondary\"\n type=\"button\"\n (click)=\"reset()\"\n id=\"reset-button\"\n >\n Reset\n </button>\n <button\n class=\"btn btn-space btn-primary\"\n type=\"button\"\n (click)=\"save()\"\n id=\"save-button\"\n >\n Save\n </button>\n <button\n class=\"btn btn-space btn-primary\"\n type=\"submit\"\n (click)=\"submit({})\"\n id=\"submit-button\"\n >\n Submit\n </button>\n </div>\n </div>\n </div>\n </div>\n\n <valtimo-camunda-form\n *ngIf=\"task?.formFields && !this.customDefinitions\"\n (submitted)=\"submit($event)\"\n [formFields]=\"task.formFields\"\n [componentName]=\"task.formLocation\"\n ></valtimo-camunda-form>\n </div>\n </valtimo-widget>\n </div>\n </div>\n</div>\n","styles":[""]}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@valtimo/task","name":"TaskService","line":45,"character":25},{"__symbolic":"reference","module":"@valtimo/document","name":"DocumentService","line":46,"character":29},{"__symbolic":"reference","module":"@angular/router","name":"ActivatedRoute","line":47,"character":19},{"__symbolic":"reference","module":"ngx-toastr","name":"ToastrService","line":48,"character":20},{"__symbolic":"reference","module":"@angular/common","name":"Location","line":49,"character":22},{"__symbolic":"reference","name":"DossierService"}]}],"ngOnInit":[{"__symbolic":"method"}],"loadDocumentDefinition":[{"__symbolic":"method"}],"loadDocument":[{"__symbolic":"method"}],"getTask":[{"__symbolic":"method"}],"reset":[{"__symbolic":"method"}],"back":[{"__symbolic":"method"}],"save":[{"__symbolic":"method"}],"submit":[{"__symbolic":"method"}],"returnZero":[{"__symbolic":"method"}]}},"ɵb":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":34,"character":1},"arguments":[{"selector":"valtimo-dossier-process-start-modal","encapsulation":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewEncapsulation","line":38,"character":17},"member":"None"},"template":"<!--\n ~ Copyright 2015-2020 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<valtimo-modal #processStartModal elementId=\"processStartModal\" [title]=\"modalTitle\">\n <div body *ngIf=\"formDefinition\">\n <valtimo-form-io #form [form]=\"formDefinition\" [options]=\"options\" (submit)=\"onSubmit($event)\">\n </valtimo-form-io>\n </div>\n <div body *ngIf=\"!formDefinition && isAdmin\">\n <div\n class=\"bg-warning text-black mb-0 p-3 text-center\"\n [translate]=\"'formManagement.noFormDefinitionFoundAdmin'\"\n ></div>\n <div class=\"mb-0 mt-4 p-3 text-center\">\n <button\n class=\"btn btn-secondary btn-space\"\n type=\"button\"\n (click)=\"gotoFormLinkScreen()\"\n id=\"form-link-button\"\n >\n {{ 'formManagement.gotoFormLinksButton' | translate }}\n </button>\n </div>\n </div>\n <div body *ngIf=\"!formDefinition && !isAdmin\">\n <div\n class=\"bg-warning text-black mb-0 p-3 text-center\"\n [translate]=\"'formManagement.noFormDefinitionFoundUser'\"\n ></div>\n </div>\n</valtimo-modal>\n","styles":["/*!\n * Copyright 2015-2020 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 */#processStartModal .formio-component-submit{text-align:right}"]}]}],"members":{"form":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":49,"character":3},"arguments":["form",{"static":false}]}]}],"modal":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":50,"character":3},"arguments":["processStartModal",{"static":false}]}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/router","name":"ActivatedRoute","line":53,"character":19},{"__symbolic":"reference","module":"@angular/router","name":"Router","line":54,"character":20},{"__symbolic":"reference","module":"@valtimo/process","name":"ProcessService","line":55,"character":28},{"__symbolic":"reference","module":"@valtimo/document","name":"DocumentService","line":56,"character":29},{"__symbolic":"reference","module":"@valtimo/form-link","name":"FormLinkService","line":57,"character":29},{"__symbolic":"reference","module":"@valtimo/security","name":"UserProviderService","line":58,"character":33},{"__symbolic":"reference","module":"ngx-logger","name":"NGXLogger","line":59,"character":20}]}],"ngOnInit":[{"__symbolic":"method"}],"loadFormDefinition":[{"__symbolic":"method"}],"gotoFormLinkScreen":[{"__symbolic":"method"}],"openModal":[{"__symbolic":"method"}],"onSubmit":[{"__symbolic":"method"}],"isUserAdmin":[{"__symbolic":"method"}]}},"ɵc":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":34,"character":1},"arguments":[{"selector":"valtimo-dossier-supporting-process-start-modal","encapsulation":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewEncapsulation","line":38,"character":17},"member":"None"},"template":"<!--\n ~ Copyright 2015-2020 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<valtimo-modal\n #supportingProcessStartModal\n elementId=\"supportingProcessStartModal\"\n [title]=\"modalTitle\"\n>\n <div body *ngIf=\"formDefinition\">\n <valtimo-form-io\n #form\n [submission]=\"submission\"\n [form]=\"formDefinition\"\n [options]=\"options\"\n (submit)=\"onSubmit($event)\"\n >\n </valtimo-form-io>\n </div>\n <div body *ngIf=\"!formDefinition\">\n <div\n class=\"bg-warning text-black mb-0 p-3 text-center\"\n [translate]=\"'formManagement.noFormDefinitionFound'\"\n ></div>\n <div class=\"mb-0 mt-4 p-3 text-center\">\n <button\n class=\"btn btn-secondary btn-space\"\n type=\"button\"\n (click)=\"gotoFormLinkScreen()\"\n id=\"form-link-button\"\n >\n {{ 'formManagement.gotoFormLinksButton' | translate }}\n </button>\n </div>\n </div>\n</valtimo-modal>\n","styles":["/*!\n * Copyright 2015-2020 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 */#supportingProcessStartModal .formio-component-submit{text-align:right}"]}]}],"members":{"form":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":50,"character":3},"arguments":["form",{"static":false}]}]}],"modal":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":51,"character":3},"arguments":["supportingProcessStartModal",{"static":false}]}]}],"formSubmit":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":53,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/router","name":"ActivatedRoute","line":56,"character":19},{"__symbolic":"reference","module":"@angular/router","name":"Router","line":57,"character":20},{"__symbolic":"reference","module":"@valtimo/process","name":"ProcessService","line":58,"character":28},{"__symbolic":"reference","module":"@valtimo/document","name":"DocumentService","line":59,"character":29},{"__symbolic":"reference","module":"@valtimo/form-link","name":"FormLinkService","line":60,"character":29},{"__symbolic":"reference","module":"ngx-logger","name":"NGXLogger","line":61,"character":20}]}],"loadFormDefinition":[{"__symbolic":"method"}],"openModal":[{"__symbolic":"method"}],"onSubmit":[{"__symbolic":"method"}],"gotoFormLinkScreen":[{"__symbolic":"method"}]}},"ɵd":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":50,"character":1},"arguments":[{"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":51,"character":12},{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/router","name":"RouterModule","line":51,"character":26},"member":"forChild"},"arguments":[[{"path":"dossiers/:documentDefinitionName","component":{"__symbolic":"reference","name":"DossierListComponent"},"canActivate":[{"__symbolic":"reference","module":"@valtimo/security","name":"AuthGuardService","line":29,"character":18}],"data":{"title":"Dossiers","roles":[{"__symbolic":"reference","module":"@valtimo/config","name":"ROLE_USER","line":30,"character":38}]}},{"path":"dossiers/:documentDefinitionName/document/:documentId/:tab","component":{"__symbolic":"reference","name":"DossierDetailComponent"},"canActivate":[{"__symbolic":"reference","module":"@valtimo/security","name":"AuthGuardService","line":35,"character":18}],"data":{"title":"Dossiers","parentPath":"dossiers/:documentDefinitionName","roles":[{"__symbolic":"reference","module":"@valtimo/config","name":"ROLE_USER","line":36,"character":86}]}},{"path":"dossiers/:documentDefinitionName/document/:documentId/:tab/tasks/:taskId","component":{"__symbolic":"reference","name":"ɵa"},"canActivate":[{"__symbolic":"reference","module":"@valtimo/security","name":"AuthGuardService","line":41,"character":18}],"data":{"title":"Task details","parentPath":"dossiers/:documentDefinitionName/document/:documentId/:tab","roles":[{"__symbolic":"reference","module":"@valtimo/config","name":"ROLE_USER","line":45,"character":14}]}}]]}],"exports":[{"__symbolic":"reference","module":"@angular/router","name":"RouterModule","line":52,"character":12}]}]}],"members":{}}},"origins":{"DossierListComponent":"./lib/dossier-list/dossier-list.component","DossierDetailComponent":"./lib/dossier-detail/dossier-detail.component","DossierDetailTabSummaryComponent":"./lib/dossier-detail/tab/summary/summary.component","DossierDetailTabProgressComponent":"./lib/dossier-detail/tab/progress/progress.component","DossierDetailTabAuditComponent":"./lib/dossier-detail/tab/audit/audit.component","DossierDetailTabDocumentsComponent":"./lib/dossier-detail/tab/documents/documents.component","DossierDetailTabContactMomentsComponent":"./lib/dossier-detail/tab/contact-moments/contact-moments.component","TAB_MAP":"./lib/dossier.config","DEFAULT_TABS":"./lib/dossier.config","DossierService":"./lib/dossier.service","TabsFactory":"./lib/dossier.module","DossierModule":"./lib/dossier.module","DefaultTabs":"./lib/dossier-detail-tab-enum","TabService":"./lib/tab.service","ɵa":"./lib/dossier-update/dossier-update.component","ɵb":"./lib/dossier-process-start-modal/dossier-process-start-modal.component","ɵc":"./lib/dossier-supporting-process-start-modal/dossier-supporting-process-start-modal.component","ɵd":"./lib/dossier-routing.module"},"importAs":"@valtimo/dossier"}
|