@valtimo/dossier-management 11.3.2 → 12.0.1
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/esm2022/lib/components/dossier-management-assignee/dossier-management-assignee.component.mjs +7 -7
- package/esm2022/lib/components/dossier-management-connect-modal/dossier-management-connect-modal.component.mjs +7 -7
- package/esm2022/lib/components/dossier-management-create/dossier-management-create.component.mjs +119 -0
- package/esm2022/lib/components/dossier-management-detail/dossier-management-detail.component.mjs +34 -12
- package/esm2022/lib/components/dossier-management-detail-container/dossier-management-detail-container.component.mjs +111 -36
- package/esm2022/lib/components/dossier-management-detail-container-actions/dossier-management-detail-container-actions.component.mjs +159 -0
- package/esm2022/lib/components/dossier-management-document-definition/dossier-management-document-definition.component.mjs +147 -0
- package/esm2022/lib/components/dossier-management-list/dossier-management-list.component.mjs +33 -16
- package/esm2022/lib/components/dossier-management-list-columns/dossier-management-list-columns.component.mjs +12 -11
- package/esm2022/lib/components/dossier-management-processes/dossier-management-processes.component.mjs +7 -7
- package/esm2022/lib/components/dossier-management-remove-modal/dossier-management-remove-modal.component.mjs +7 -7
- package/esm2022/lib/components/dossier-management-search-fields/dossier-management-search-fields.component.mjs +50 -29
- package/esm2022/lib/components/dossier-management-statuses/dossier-management-status-modal/dossier-management-status-modal.component.mjs +285 -0
- package/esm2022/lib/components/dossier-management-statuses/dossier-management-statuses.component.mjs +154 -0
- package/esm2022/lib/components/dossier-management-tabs/dossier-management-add-tab-modal/dossier-management-add-tab-modal.component.mjs +10 -9
- package/esm2022/lib/components/dossier-management-tabs/dossier-management-edit-tab-modal/dossier-management-edit-tab-modal.component.mjs +10 -9
- package/esm2022/lib/components/dossier-management-tabs/dossier-management-tabs.component.mjs +7 -7
- package/esm2022/lib/components/dossier-management-tabs/tab-form/tab-form.component.mjs +7 -7
- package/esm2022/lib/components/dossier-management-upload/dossier-management-upload.component.mjs +14 -17
- package/esm2022/lib/components/dossier-management-upload/dossier-management-upload.constants.mjs +16 -1
- package/esm2022/lib/components/dossier-management-upload/step/dossier-management-upload-step.component.mjs +20 -5
- package/esm2022/lib/dossier-management-routing.module.mjs +10 -8
- package/esm2022/lib/dossier-management.module.mjs +33 -18
- package/esm2022/lib/models/index.mjs +3 -2
- package/esm2022/lib/models/list-column.model.mjs +2 -2
- package/esm2022/lib/models/status.model.mjs +17 -0
- package/esm2022/lib/models/tab.enum.mjs +3 -2
- package/esm2022/lib/services/dossier-detail.service.mjs +18 -11
- package/esm2022/lib/services/dossier-export.service.mjs +7 -7
- package/esm2022/lib/services/dossier-management.service.mjs +38 -0
- package/esm2022/lib/services/index.mjs +2 -2
- package/esm2022/lib/services/tab-management.service.mjs +5 -5
- package/esm2022/lib/services/tab.service.mjs +25 -8
- package/esm2022/public-api.mjs +2 -2
- package/fesm2022/valtimo-dossier-management.mjs +1238 -473
- package/fesm2022/valtimo-dossier-management.mjs.map +1 -1
- package/lib/components/dossier-management-create/dossier-management-create.component.d.ts +26 -0
- package/lib/components/dossier-management-create/dossier-management-create.component.d.ts.map +1 -0
- package/lib/components/dossier-management-detail/dossier-management-detail.component.d.ts +9 -3
- package/lib/components/dossier-management-detail/dossier-management-detail.component.d.ts.map +1 -1
- package/lib/components/dossier-management-detail-container/dossier-management-detail-container.component.d.ts +27 -14
- package/lib/components/dossier-management-detail-container/dossier-management-detail-container.component.d.ts.map +1 -1
- package/lib/components/dossier-management-detail-container-actions/{dossier-management-detail-container-actions.d.ts → dossier-management-detail-container-actions.component.d.ts} +9 -3
- package/lib/components/dossier-management-detail-container-actions/dossier-management-detail-container-actions.component.d.ts.map +1 -0
- package/lib/components/dossier-management-document-definition/dossier-management-document-definition.component.d.ts +48 -0
- package/lib/components/dossier-management-document-definition/dossier-management-document-definition.component.d.ts.map +1 -0
- package/lib/components/dossier-management-list/dossier-management-list.component.d.ts +7 -4
- package/lib/components/dossier-management-list/dossier-management-list.component.d.ts.map +1 -1
- package/lib/components/dossier-management-list-columns/dossier-management-list-columns.component.d.ts +2 -2
- package/lib/components/dossier-management-list-columns/dossier-management-list-columns.component.d.ts.map +1 -1
- package/lib/components/dossier-management-search-fields/dossier-management-search-fields.component.d.ts +10 -4
- package/lib/components/dossier-management-search-fields/dossier-management-search-fields.component.d.ts.map +1 -1
- package/lib/components/dossier-management-statuses/dossier-management-status-modal/dossier-management-status-modal.component.d.ts +77 -0
- package/lib/components/dossier-management-statuses/dossier-management-status-modal/dossier-management-status-modal.component.d.ts.map +1 -0
- package/lib/components/dossier-management-statuses/dossier-management-statuses.component.d.ts +47 -0
- package/lib/components/dossier-management-statuses/dossier-management-statuses.component.d.ts.map +1 -0
- package/lib/components/dossier-management-upload/dossier-management-upload.component.d.ts +3 -5
- package/lib/components/dossier-management-upload/dossier-management-upload.component.d.ts.map +1 -1
- package/lib/components/dossier-management-upload/dossier-management-upload.constants.d.ts.map +1 -1
- package/lib/components/dossier-management-upload/step/dossier-management-upload-step.component.d.ts.map +1 -1
- package/lib/dossier-management-routing.module.d.ts.map +1 -1
- package/lib/dossier-management.module.d.ts +24 -22
- package/lib/dossier-management.module.d.ts.map +1 -1
- package/lib/models/index.d.ts +1 -0
- package/lib/models/index.d.ts.map +1 -1
- package/lib/models/status.model.d.ts +4 -0
- package/lib/models/status.model.d.ts.map +1 -0
- package/lib/models/tab.enum.d.ts +2 -1
- package/lib/models/tab.enum.d.ts.map +1 -1
- package/lib/services/dossier-detail.service.d.ts +4 -1
- package/lib/services/dossier-detail.service.d.ts.map +1 -1
- package/lib/services/{dossier-import.service.d.ts → dossier-management.service.d.ts} +4 -4
- package/lib/services/dossier-management.service.d.ts.map +1 -0
- package/lib/services/tab.service.d.ts +9 -4
- package/lib/services/tab.service.d.ts.map +1 -1
- package/package.json +3 -3
- package/esm2022/lib/components/dossier-management-detail-container-actions/dossier-management-detail-container-actions.mjs +0 -152
- package/esm2022/lib/components/dossier-management-document-definition/dossier-management-document-definition.mjs +0 -48
- package/esm2022/lib/components/dossier-management-link-process/dossier-management-link-process.component.mjs +0 -84
- package/esm2022/lib/services/dossier-import.service.mjs +0 -38
- package/lib/components/dossier-management-detail-container-actions/dossier-management-detail-container-actions.d.ts.map +0 -1
- package/lib/components/dossier-management-document-definition/dossier-management-document-definition.d.ts +0 -15
- package/lib/components/dossier-management-document-definition/dossier-management-document-definition.d.ts.map +0 -1
- package/lib/components/dossier-management-link-process/dossier-management-link-process.component.d.ts +0 -27
- package/lib/components/dossier-management-link-process/dossier-management-link-process.component.d.ts.map +0 -1
- package/lib/services/dossier-import.service.d.ts.map +0 -1
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright 2015-2023 Ritense BV, the Netherlands.
|
|
3
|
-
*
|
|
4
|
-
* Licensed under EUPL, Version 1.2 (the "License");
|
|
5
|
-
* you may not use this file except in compliance with the License.
|
|
6
|
-
* You may obtain a copy of the License at
|
|
7
|
-
*
|
|
8
|
-
* https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
|
|
9
|
-
*
|
|
10
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
-
* distributed under the License is distributed on an "AS IS" basis,
|
|
12
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
-
* See the License for the specific language governing permissions and
|
|
14
|
-
* limitations under the License.
|
|
15
|
-
*/
|
|
16
|
-
import { Component } from '@angular/core';
|
|
17
|
-
import { UploadProvider } from '@valtimo/config';
|
|
18
|
-
import { BehaviorSubject, map } from 'rxjs';
|
|
19
|
-
import * as i0 from "@angular/core";
|
|
20
|
-
import * as i1 from "@valtimo/config";
|
|
21
|
-
import * as i2 from "@valtimo/process";
|
|
22
|
-
import * as i3 from "@angular/router";
|
|
23
|
-
import * as i4 from "@valtimo/document";
|
|
24
|
-
import * as i5 from "@angular/common";
|
|
25
|
-
import * as i6 from "@valtimo/components";
|
|
26
|
-
import * as i7 from "@ngx-translate/core";
|
|
27
|
-
export class DossierManagementLinkProcessComponent {
|
|
28
|
-
constructor(configService, processService, route, documentService) {
|
|
29
|
-
this.configService = configService;
|
|
30
|
-
this.processService = processService;
|
|
31
|
-
this.route = route;
|
|
32
|
-
this.documentService = documentService;
|
|
33
|
-
this.documentDefinitionName = null;
|
|
34
|
-
this.selectionId$ = new BehaviorSubject('');
|
|
35
|
-
this.processItems$ = this.processService
|
|
36
|
-
.getProcessDefinitions()
|
|
37
|
-
.pipe(map(definitions => definitions.filter(definition => !!definition?.key) || []), map(processes => processes.map(process => ({ text: process?.name || '-', id: process.key }))));
|
|
38
|
-
this.disabled$ = new BehaviorSubject(false);
|
|
39
|
-
this.setDocumentenApiUploaderProvider(configService.config);
|
|
40
|
-
this.documentDefinitionName = this.route.snapshot.paramMap.get('name');
|
|
41
|
-
}
|
|
42
|
-
ngOnInit() {
|
|
43
|
-
if (this.documentenApiUploadProvider) {
|
|
44
|
-
this.getDefaultSelection();
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
selectProcess(processDefinitionKey) {
|
|
48
|
-
this.disabled$.next(true);
|
|
49
|
-
const currentSelectionId = this.selectionId$.getValue();
|
|
50
|
-
if (processDefinitionKey && processDefinitionKey !== currentSelectionId) {
|
|
51
|
-
this.disabled$.next(true);
|
|
52
|
-
this.documentService
|
|
53
|
-
.updateLinkedUploadProcess(this.documentDefinitionName, processDefinitionKey)
|
|
54
|
-
.subscribe(processLink => {
|
|
55
|
-
this.selectionId$.next(processLink.processDefinitionKey);
|
|
56
|
-
this.disabled$.next(false);
|
|
57
|
-
});
|
|
58
|
-
}
|
|
59
|
-
else if (!processDefinitionKey) {
|
|
60
|
-
this.documentService.deleteLinkedUploadProcess(this.documentDefinitionName).subscribe(() => {
|
|
61
|
-
this.disabled$.next(false);
|
|
62
|
-
});
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
setDocumentenApiUploaderProvider(config) {
|
|
66
|
-
this.documentenApiUploadProvider = config.uploadProvider === UploadProvider.DOCUMENTEN_API;
|
|
67
|
-
}
|
|
68
|
-
getDefaultSelection() {
|
|
69
|
-
this.documentService
|
|
70
|
-
.getLinkedUploadProcess(this.documentDefinitionName)
|
|
71
|
-
.subscribe(linkedUploadProcess => {
|
|
72
|
-
if (linkedUploadProcess) {
|
|
73
|
-
this.selectionId$.next(linkedUploadProcess.processDefinitionKey);
|
|
74
|
-
}
|
|
75
|
-
});
|
|
76
|
-
}
|
|
77
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DossierManagementLinkProcessComponent, deps: [{ token: i1.ConfigService }, { token: i2.ProcessService }, { token: i3.ActivatedRoute }, { token: i4.DocumentService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
78
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: DossierManagementLinkProcessComponent, selector: "valtimo-dossier-management-link-process", ngImport: i0, template: "<!--\n ~ Copyright 2015-2023 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 *ngIf=\"documentenApiUploadProvider\">\n <h2 class=\"mb-4\">{{ 'dossierManagement.linkProcess.title' | translate }}</h2>\n <v-paragraph [margin]=\"true\">{{\n 'dossierManagement.linkProcess.description' | translate\n }}</v-paragraph>\n <ng-container\n *ngIf=\"{\n processItems: processItems$ | async,\n disabled: disabled$ | async,\n defaultSelectionId: selectionId$ | async\n } as obs\"\n >\n <v-select\n *ngIf=\"obs.processItems\"\n (selectedChange)=\"selectProcess($event)\"\n [defaultSelectionId]=\"obs.defaultSelectionId\"\n [disabled]=\"obs.disabled\"\n [items]=\"obs.processItems\"\n [loading]=\"!obs.processItems\"\n [margin]=\"true\"\n [required]=\"false\"\n ></v-select>\n </ng-container>\n</ng-container>\n", styles: ["/*!\n * Copyright 2015-2023 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"], dependencies: [{ kind: "directive", type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i6.ParagraphComponent, selector: "v-paragraph", inputs: ["center", "fullWidth", "margin", "italic", "loading"] }, { kind: "component", type: i6.SelectComponent, selector: "v-select", inputs: ["items", "defaultSelection", "defaultSelectionId", "defaultSelectionIds", "disabled", "multiple", "margin", "widthInPx", "notFoundText", "clearAllText", "clearText", "name", "title", "titleTranslationKey", "clearSelectionSubject$", "tooltip", "required", "loading", "loadingText", "placeholder", "smallMargin", "carbonTheme"], outputs: ["selectedChange"] }, { kind: "pipe", type: i5.AsyncPipe, name: "async" }, { kind: "pipe", type: i7.TranslatePipe, name: "translate" }] }); }
|
|
79
|
-
}
|
|
80
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DossierManagementLinkProcessComponent, decorators: [{
|
|
81
|
-
type: Component,
|
|
82
|
-
args: [{ selector: 'valtimo-dossier-management-link-process', template: "<!--\n ~ Copyright 2015-2023 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 *ngIf=\"documentenApiUploadProvider\">\n <h2 class=\"mb-4\">{{ 'dossierManagement.linkProcess.title' | translate }}</h2>\n <v-paragraph [margin]=\"true\">{{\n 'dossierManagement.linkProcess.description' | translate\n }}</v-paragraph>\n <ng-container\n *ngIf=\"{\n processItems: processItems$ | async,\n disabled: disabled$ | async,\n defaultSelectionId: selectionId$ | async\n } as obs\"\n >\n <v-select\n *ngIf=\"obs.processItems\"\n (selectedChange)=\"selectProcess($event)\"\n [defaultSelectionId]=\"obs.defaultSelectionId\"\n [disabled]=\"obs.disabled\"\n [items]=\"obs.processItems\"\n [loading]=\"!obs.processItems\"\n [margin]=\"true\"\n [required]=\"false\"\n ></v-select>\n </ng-container>\n</ng-container>\n", styles: ["/*!\n * Copyright 2015-2023 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"] }]
|
|
83
|
-
}], ctorParameters: function () { return [{ type: i1.ConfigService }, { type: i2.ProcessService }, { type: i3.ActivatedRoute }, { type: i4.DocumentService }]; } });
|
|
84
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZG9zc2llci1tYW5hZ2VtZW50LWxpbmstcHJvY2Vzcy5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6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iAgICA8di1zZWxlY3RcbiAgICAgICpuZ0lmPVwib2JzLnByb2Nlc3NJdGVtc1wiXG4gICAgICAoc2VsZWN0ZWRDaGFuZ2UpPVwic2VsZWN0UHJvY2VzcygkZXZlbnQpXCJcbiAgICAgIFtkZWZhdWx0U2VsZWN0aW9uSWRdPVwib2JzLmRlZmF1bHRTZWxlY3Rpb25JZFwiXG4gICAgICBbZGlzYWJsZWRdPVwib2JzLmRpc2FibGVkXCJcbiAgICAgIFtpdGVtc109XCJvYnMucHJvY2Vzc0l0ZW1zXCJcbiAgICAgIFtsb2FkaW5nXT1cIiFvYnMucHJvY2Vzc0l0ZW1zXCJcbiAgICAgIFttYXJnaW5dPVwidHJ1ZVwiXG4gICAgICBbcmVxdWlyZWRdPVwiZmFsc2VcIlxuICAgID48L3Ytc2VsZWN0PlxuICA8L25nLWNvbnRhaW5lcj5cbjwvbmctY29udGFpbmVyPlxuIl19
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright 2015-2023 Ritense BV, the Netherlands.
|
|
3
|
-
*
|
|
4
|
-
* Licensed under EUPL, Version 1.2 (the "License");
|
|
5
|
-
* you may not use this file except in compliance with the License.
|
|
6
|
-
*
|
|
7
|
-
* You may obtain a copy of the License at
|
|
8
|
-
* https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
|
|
9
|
-
*
|
|
10
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
-
* distributed under the License is distributed on an "AS IS" basis,
|
|
12
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
-
* See the License for the specific language governing permissions and
|
|
14
|
-
* limitations under the License.
|
|
15
|
-
*/
|
|
16
|
-
import { Injectable } from '@angular/core';
|
|
17
|
-
import * as i0 from "@angular/core";
|
|
18
|
-
import * as i1 from "@angular/common/http";
|
|
19
|
-
import * as i2 from "@valtimo/config";
|
|
20
|
-
export class DossierImportService {
|
|
21
|
-
constructor(http, configService) {
|
|
22
|
-
this.http = http;
|
|
23
|
-
this.configService = configService;
|
|
24
|
-
this.valtimoEndpointUri = this.configService.config.valtimoApi.endpointUri;
|
|
25
|
-
}
|
|
26
|
-
importDocumentDefinitionZip(file) {
|
|
27
|
-
return this.http.post(`${this.valtimoEndpointUri}management/v1/case/import`, file);
|
|
28
|
-
}
|
|
29
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DossierImportService, deps: [{ token: i1.HttpClient }, { token: i2.ConfigService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
30
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DossierImportService, providedIn: 'root' }); }
|
|
31
|
-
}
|
|
32
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DossierImportService, decorators: [{
|
|
33
|
-
type: Injectable,
|
|
34
|
-
args: [{
|
|
35
|
-
providedIn: 'root',
|
|
36
|
-
}]
|
|
37
|
-
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: i2.ConfigService }]; } });
|
|
38
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZG9zc2llci1pbXBvcnQuc2VydmljZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3ZhbHRpbW8vZG9zc2llci1tYW5hZ2VtZW50L3NyYy9saWIvc2VydmljZXMvZG9zc2llci1pbXBvcnQuc2VydmljZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7Ozs7Ozs7Ozs7Ozs7R0FjRztBQUVILE9BQU8sRUFBQyxVQUFVLEVBQUMsTUFBTSxlQUFlLENBQUM7Ozs7QUFRekMsTUFBTSxPQUFPLG9CQUFvQjtJQUcvQixZQUN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m9ybURhdGEpOiBPYnNlcnZhYmxlPEh0dHBSZXNwb25zZTxCbG9iPj4ge1xuICAgIHJldHVybiB0aGlzLmh0dHAucG9zdDxIdHRwUmVzcG9uc2U8QmxvYj4+KFxuICAgICAgYCR7dGhpcy52YWx0aW1vRW5kcG9pbnRVcml9bWFuYWdlbWVudC92MS9jYXNlL2ltcG9ydGAsXG4gICAgICBmaWxlXG4gICAgKTtcbiAgfVxufVxuIl19
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"dossier-management-detail-container-actions.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/dossier-management/src/lib/components/dossier-management-detail-container-actions/dossier-management-detail-container-actions.ts"],"names":[],"mappings":"AAwBA,OAAO,EAAC,eAAe,EAAsB,UAAU,EAAiB,MAAM,MAAM,CAAC;AACrF,OAAO,EAAC,QAAQ,EAAgB,mBAAmB,EAAC,MAAM,2BAA2B,CAAC;AACtF,OAAO,EAAC,oBAAoB,EAAE,oBAAoB,EAAC,MAAM,gBAAgB,CAAC;AAC1E,OAAO,EAAC,gBAAgB,EAAC,MAAM,qBAAqB,CAAC;AAGrD,OAAO,EAAC,eAAe,EAAC,MAAM,mBAAmB,CAAC;;AAIlD,qBAOa,gDAAgD;IAkDvC,OAAO,CAAC,QAAQ;IAClC,OAAO,CAAC,QAAQ,CAAC,mBAAmB;IACpC,OAAO,CAAC,QAAQ,CAAC,oBAAoB;IACrC,OAAO,CAAC,QAAQ,CAAC,gBAAgB;IACjC,OAAO,CAAC,QAAQ,CAAC,eAAe;IAChC,OAAO,CAAC,QAAQ,CAAC,oBAAoB;IArDvC,OAAO,CAAC,QAAQ,CAAC,yBAAyB,CAA8B;IAExE,OAAO,CAAC,QAAQ,CAAC,mBAAmB,CAAwC;IAE5D,uBAAuB,SAAM;IAC7C,IAAoB,sBAAsB,CAAC,KAAK,EAAE,MAAM,EAEvD;IAED,SAAgB,YAAY,SAAS;IAErC,SAAgB,UAAU,2BAAuC;IACjE,SAAgB,sBAAsB,qBAAoD;IAC1F,OAAO,CAAC,QAAQ,CAAC,wBAAwB,CACmB;IAC5D,SAAgB,eAAe,2BAAsC;IACrE,OAAO,CAAC,QAAQ,CAAC,4BAA4B,CAQ3C;IAEF,SAAgB,iBAAiB,EAAE,UAAU,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAa5D;IACF,SAAgB,2BAA2B,uFAAiD;IAE5F,SAAgB,qCAAqC,sBACa;IAElE,OAAO,CAAC,oBAAoB,CAAgB;gBAGhB,QAAQ,EAAE,QAAQ,EAC3B,mBAAmB,EAAE,mBAAmB,EACxC,oBAAoB,EAAE,oBAAoB,EAC1C,gBAAgB,EAAE,gBAAgB,EAClC,eAAe,EAAE,eAAe,EAChC,oBAAoB,EAAE,oBAAoB;IAGtD,MAAM,IAAI,IAAI;IAgDd,UAAU,CAAC,OAAO,EAAE,GAAG,GAAG,IAAI;IAI9B,sBAAsB,IAAI,IAAI;IAMrC,OAAO,CAAC,cAAc;IAItB,OAAO,CAAC,aAAa;IAIrB,OAAO,CAAC,WAAW;IAanB,OAAO,CAAC,wBAAwB;IAMhC,OAAO,CAAC,kBAAkB;yCA/If,gDAAgD;2CAAhD,gDAAgD;CAoJ5D"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { DossierDetailService } from '../../services';
|
|
2
|
-
import { Observable } from 'rxjs';
|
|
3
|
-
import { EditorModel } from '@valtimo/components';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class DossierManagementDocumentDefinitionComponent {
|
|
6
|
-
private readonly dossierDetailService;
|
|
7
|
-
readonly loadingDocumentDefinition$: Observable<boolean>;
|
|
8
|
-
readonly documentDefinitionModel$: Observable<EditorModel>;
|
|
9
|
-
readonly selectedDocumentDefinition$: Observable<import("@valtimo/document/lib/models/document.model").DocumentDefinition>;
|
|
10
|
-
constructor(dossierDetailService: DossierDetailService);
|
|
11
|
-
downloadDefinition(): void;
|
|
12
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DossierManagementDocumentDefinitionComponent, never>;
|
|
13
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DossierManagementDocumentDefinitionComponent, "valtimo-dossier-management-document-definition", never, {}, {}, never, never, false, never>;
|
|
14
|
-
}
|
|
15
|
-
//# sourceMappingURL=dossier-management-document-definition.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"dossier-management-document-definition.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/dossier-management/src/lib/components/dossier-management-document-definition/dossier-management-document-definition.ts"],"names":[],"mappings":"AAiBA,OAAO,EAAC,oBAAoB,EAAC,MAAM,gBAAgB,CAAC;AACpD,OAAO,EAAC,UAAU,EAAC,MAAM,MAAM,CAAC;AAChC,OAAO,EAAC,WAAW,EAAC,MAAM,qBAAqB,CAAC;;AAGhD,qBAMa,4CAA4C;IAM3C,OAAO,CAAC,QAAQ,CAAC,oBAAoB;IALjD,SAAgB,0BAA0B,sBAAwD;IAClG,SAAgB,wBAAwB,EAAE,UAAU,CAAC,WAAW,CAAC,CACZ;IACrD,SAAgB,2BAA2B,uFAAiD;gBAE/D,oBAAoB,EAAE,oBAAoB;IAEhE,kBAAkB,IAAI,IAAI;yCARtB,4CAA4C;2CAA5C,4CAA4C;CAsBxD"}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
|
-
import { ConfigService } from '@valtimo/config';
|
|
3
|
-
import { BehaviorSubject, Observable } from 'rxjs';
|
|
4
|
-
import { SelectItem } from '@valtimo/components';
|
|
5
|
-
import { ProcessService } from '@valtimo/process';
|
|
6
|
-
import { ActivatedRoute } from '@angular/router';
|
|
7
|
-
import { DocumentService } from '@valtimo/document';
|
|
8
|
-
import * as i0 from "@angular/core";
|
|
9
|
-
export declare class DossierManagementLinkProcessComponent implements OnInit {
|
|
10
|
-
private readonly configService;
|
|
11
|
-
private readonly processService;
|
|
12
|
-
private readonly route;
|
|
13
|
-
private readonly documentService;
|
|
14
|
-
documentenApiUploadProvider: boolean;
|
|
15
|
-
documentDefinitionName: string | null;
|
|
16
|
-
readonly selectionId$: BehaviorSubject<string>;
|
|
17
|
-
readonly processItems$: Observable<Array<SelectItem>>;
|
|
18
|
-
readonly disabled$: BehaviorSubject<boolean>;
|
|
19
|
-
constructor(configService: ConfigService, processService: ProcessService, route: ActivatedRoute, documentService: DocumentService);
|
|
20
|
-
ngOnInit(): void;
|
|
21
|
-
selectProcess(processDefinitionKey: string): void;
|
|
22
|
-
private setDocumentenApiUploaderProvider;
|
|
23
|
-
private getDefaultSelection;
|
|
24
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DossierManagementLinkProcessComponent, never>;
|
|
25
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DossierManagementLinkProcessComponent, "valtimo-dossier-management-link-process", never, {}, {}, never, never, false, never>;
|
|
26
|
-
}
|
|
27
|
-
//# sourceMappingURL=dossier-management-link-process.component.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"dossier-management-link-process.component.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/dossier-management/src/lib/components/dossier-management-link-process/dossier-management-link-process.component.ts"],"names":[],"mappings":"AAeA,OAAO,EAAY,MAAM,EAAC,MAAM,eAAe,CAAC;AAChD,OAAO,EAAC,aAAa,EAAgC,MAAM,iBAAiB,CAAC;AAC7E,OAAO,EAAC,eAAe,EAAO,UAAU,EAAC,MAAM,MAAM,CAAC;AACtD,OAAO,EAAC,UAAU,EAAC,MAAM,qBAAqB,CAAC;AAC/C,OAAO,EAAC,cAAc,EAAC,MAAM,kBAAkB,CAAC;AAChD,OAAO,EAAC,cAAc,EAAC,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAC,eAAe,EAAC,MAAM,mBAAmB,CAAC;;AAElD,qBAKa,qCAAsC,YAAW,MAAM;IAehE,OAAO,CAAC,QAAQ,CAAC,aAAa;IAC9B,OAAO,CAAC,QAAQ,CAAC,cAAc;IAC/B,OAAO,CAAC,QAAQ,CAAC,KAAK;IACtB,OAAO,CAAC,QAAQ,CAAC,eAAe;IAjBlC,2BAA2B,EAAG,OAAO,CAAC;IACtC,sBAAsB,EAAE,MAAM,GAAG,IAAI,CAAQ;IAE7C,QAAQ,CAAC,YAAY,0BAAmC;IACxD,QAAQ,CAAC,aAAa,EAAE,UAAU,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,CAKjD;IAEJ,QAAQ,CAAC,SAAS,2BAAuC;gBAGtC,aAAa,EAAE,aAAa,EAC5B,cAAc,EAAE,cAAc,EAC9B,KAAK,EAAE,cAAc,EACrB,eAAe,EAAE,eAAe;IAMnD,QAAQ,IAAI,IAAI;IAMhB,aAAa,CAAC,oBAAoB,EAAE,MAAM,GAAG,IAAI;IAkBjD,OAAO,CAAC,gCAAgC;IAIxC,OAAO,CAAC,mBAAmB;yCApDhB,qCAAqC;2CAArC,qCAAqC;CA6DjD"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"dossier-import.service.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/dossier-management/src/lib/services/dossier-import.service.ts"],"names":[],"mappings":"AAiBA,OAAO,EAAC,UAAU,EAAE,YAAY,EAAC,MAAM,sBAAsB,CAAC;AAC9D,OAAO,EAAC,aAAa,EAAC,MAAM,iBAAiB,CAAC;AAC9C,OAAO,EAAC,UAAU,EAAC,MAAM,MAAM,CAAC;;AAEhC,qBAGa,oBAAoB;IAI7B,OAAO,CAAC,QAAQ,CAAC,IAAI;IACrB,OAAO,CAAC,QAAQ,CAAC,aAAa;IAJhC,OAAO,CAAC,QAAQ,CAAC,kBAAkB,CAAS;gBAGzB,IAAI,EAAE,UAAU,EAChB,aAAa,EAAE,aAAa;IAKxC,2BAA2B,CAAC,IAAI,EAAE,QAAQ,GAAG,UAAU,CAAC,YAAY,CAAC,IAAI,CAAC,CAAC;yCAVvE,oBAAoB;6CAApB,oBAAoB;CAgBhC"}
|