@valtimo/dossier 10.5.1 → 10.7.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/components/note-modal/note-modal.component.mjs +30 -12
- package/esm2020/lib/dossier-assign-user/dossier-assign-user.component.mjs +8 -5
- package/esm2020/lib/dossier-detail/dossier-detail.component.mjs +19 -6
- package/esm2020/lib/dossier-detail/tab/audit/audit.component.mjs +4 -4
- package/esm2020/lib/dossier-detail/tab/contact-moments/contact-moments.component.mjs +4 -4
- package/esm2020/lib/dossier-detail/tab/documenten-api-documents/documenten-api-documents.component.mjs +18 -14
- package/esm2020/lib/dossier-detail/tab/documents/documents.component.mjs +4 -4
- package/esm2020/lib/dossier-detail/tab/notes/notes.component.mjs +63 -12
- package/esm2020/lib/dossier-detail/tab/object-type/object-type.component.mjs +4 -4
- package/esm2020/lib/dossier-detail/tab/progress/progress.component.mjs +4 -4
- package/esm2020/lib/dossier-detail/tab/s3-documents/s3-documents.component.mjs +4 -4
- package/esm2020/lib/dossier-detail/tab/summary/summary.component.mjs +4 -4
- package/esm2020/lib/dossier-detail/tab/zaakobjecten/zaakobjecten.component.mjs +4 -4
- package/esm2020/lib/dossier-list/dossier-list.component.mjs +165 -287
- package/esm2020/lib/dossier-list-actions/dossier-list-actions.component.mjs +86 -0
- package/esm2020/lib/dossier-process-start-modal/dossier-process-start-modal.component.mjs +114 -46
- package/esm2020/lib/dossier-routing.module.mjs +12 -8
- package/esm2020/lib/dossier-supporting-process-start-modal/dossier-supporting-process-start-modal.component.mjs +108 -51
- package/esm2020/lib/dossier-update/dossier-update.component.mjs +4 -4
- package/esm2020/lib/dossier.module.mjs +21 -8
- package/esm2020/lib/dossier.service.mjs +4 -4
- package/esm2020/lib/models/dossier-parameters.model.mjs +1 -1
- package/esm2020/lib/models/notes.model.mjs +1 -1
- package/esm2020/lib/services/dossier-column.service.mjs +25 -10
- package/esm2020/lib/services/dossier-list-assignee.service.mjs +82 -0
- package/esm2020/lib/services/dossier-list-pagination.service.mjs +116 -0
- package/esm2020/lib/services/dossier-list-search.service.mjs +66 -0
- package/esm2020/lib/services/dossier-list.service.mjs +56 -0
- package/esm2020/lib/services/dossier-parameter.service.mjs +74 -34
- package/esm2020/lib/services/file-sort.service.mjs +4 -4
- package/esm2020/lib/services/index.mjs +5 -1
- package/esm2020/lib/services/notes.service.mjs +10 -4
- package/esm2020/lib/services/zaakobjecten.service.mjs +4 -4
- package/esm2020/lib/tab.service.mjs +4 -4
- package/fesm2015/valtimo-dossier.mjs +1074 -529
- package/fesm2015/valtimo-dossier.mjs.map +1 -1
- package/fesm2020/valtimo-dossier.mjs +1083 -542
- package/fesm2020/valtimo-dossier.mjs.map +1 -1
- package/lib/components/note-modal/note-modal.component.d.ts +6 -2
- package/lib/components/note-modal/note-modal.component.d.ts.map +1 -1
- package/lib/dossier-assign-user/dossier-assign-user.component.d.ts +2 -1
- package/lib/dossier-assign-user/dossier-assign-user.component.d.ts.map +1 -1
- package/lib/dossier-detail/dossier-detail.component.d.ts +8 -3
- package/lib/dossier-detail/dossier-detail.component.d.ts.map +1 -1
- package/lib/dossier-detail/tab/documenten-api-documents/documenten-api-documents.component.d.ts +3 -6
- package/lib/dossier-detail/tab/documenten-api-documents/documenten-api-documents.component.d.ts.map +1 -1
- package/lib/dossier-detail/tab/notes/notes.component.d.ts +10 -1
- package/lib/dossier-detail/tab/notes/notes.component.d.ts.map +1 -1
- package/lib/dossier-detail/tab/summary/summary.component.d.ts +9 -9
- package/lib/dossier-detail/tab/summary/summary.component.d.ts.map +1 -1
- package/lib/dossier-list/dossier-list.component.d.ts +47 -56
- package/lib/dossier-list/dossier-list.component.d.ts.map +1 -1
- package/lib/dossier-list-actions/dossier-list-actions.component.d.ts +28 -0
- package/lib/dossier-list-actions/dossier-list-actions.component.d.ts.map +1 -0
- package/lib/dossier-process-start-modal/dossier-process-start-modal.component.d.ts +14 -5
- package/lib/dossier-process-start-modal/dossier-process-start-modal.component.d.ts.map +1 -1
- package/lib/dossier-routing.module.d.ts.map +1 -1
- package/lib/dossier-supporting-process-start-modal/dossier-supporting-process-start-modal.component.d.ts +12 -5
- package/lib/dossier-supporting-process-start-modal/dossier-supporting-process-start-modal.component.d.ts.map +1 -1
- package/lib/dossier.module.d.ts +31 -29
- package/lib/dossier.module.d.ts.map +1 -1
- package/lib/models/dossier-parameters.model.d.ts +1 -0
- package/lib/models/dossier-parameters.model.d.ts.map +1 -1
- package/lib/models/notes.model.d.ts +4 -1
- package/lib/models/notes.model.d.ts.map +1 -1
- package/lib/services/dossier-column.service.d.ts +5 -1
- package/lib/services/dossier-column.service.d.ts.map +1 -1
- package/lib/services/dossier-list-assignee.service.d.ts +27 -0
- package/lib/services/dossier-list-assignee.service.d.ts.map +1 -0
- package/lib/services/dossier-list-pagination.service.d.ts +30 -0
- package/lib/services/dossier-list-pagination.service.d.ts.map +1 -0
- package/lib/services/dossier-list-search.service.d.ts +22 -0
- package/lib/services/dossier-list-search.service.d.ts.map +1 -0
- package/lib/services/dossier-list.service.d.ts +17 -0
- package/lib/services/dossier-list.service.d.ts.map +1 -0
- package/lib/services/dossier-parameter.service.d.ts +9 -1
- package/lib/services/dossier-parameter.service.d.ts.map +1 -1
- package/lib/services/index.d.ts +4 -0
- package/lib/services/index.d.ts.map +1 -1
- package/lib/services/notes.service.d.ts +3 -1
- package/lib/services/notes.service.d.ts.map +1 -1
- package/package.json +6 -6
|
@@ -6,12 +6,15 @@ import * as i0 from "@angular/core";
|
|
|
6
6
|
export declare class NoteModalComponent implements AfterViewInit, OnDestroy {
|
|
7
7
|
private readonly notesService;
|
|
8
8
|
private readonly modalService;
|
|
9
|
-
|
|
9
|
+
noteModal: vModalComponent;
|
|
10
|
+
customData: any;
|
|
10
11
|
createNoteEvent: EventEmitter<any>;
|
|
12
|
+
editNoteEvent: EventEmitter<any>;
|
|
11
13
|
readonly disabled$: Observable<boolean>;
|
|
12
14
|
readonly valid$: BehaviorSubject<boolean>;
|
|
13
15
|
readonly showForm$: Observable<boolean>;
|
|
14
16
|
readonly formData$: BehaviorSubject<any>;
|
|
17
|
+
readonly modalType$: Observable<string>;
|
|
15
18
|
showSubscription: Subscription;
|
|
16
19
|
hideSubscription: Subscription;
|
|
17
20
|
readonly returnToFirstStepSubject$: Subject<boolean>;
|
|
@@ -21,12 +24,13 @@ export declare class NoteModalComponent implements AfterViewInit, OnDestroy {
|
|
|
21
24
|
hide(): void;
|
|
22
25
|
cancel(): void;
|
|
23
26
|
save(): void;
|
|
27
|
+
emitNoteData(): void;
|
|
24
28
|
private openShowSubscription;
|
|
25
29
|
private openHideSubscription;
|
|
26
30
|
private show;
|
|
27
31
|
formValueChange(data: any): void;
|
|
28
32
|
private setValid;
|
|
29
33
|
static ɵfac: i0.ɵɵFactoryDeclaration<NoteModalComponent, never>;
|
|
30
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NoteModalComponent, "valtimo-note-modal", never, {}, { "createNoteEvent": "createNoteEvent"; }, never, never, false>;
|
|
34
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NoteModalComponent, "valtimo-note-modal", never, { "customData": "customData"; }, { "createNoteEvent": "createNoteEvent"; "editNoteEvent": "editNoteEvent"; }, never, never, false>;
|
|
31
35
|
}
|
|
32
36
|
//# sourceMappingURL=note-modal.component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"note-modal.component.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/dossier/src/lib/components/note-modal/note-modal.component.ts"],"names":[],"mappings":"AAgBA,OAAO,
|
|
1
|
+
{"version":3,"file":"note-modal.component.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/dossier/src/lib/components/note-modal/note-modal.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EACL,aAAa,EAEb,YAAY,EAEZ,SAAS,EAGV,MAAM,eAAe,CAAC;AACvB,OAAO,EAAC,cAAc,IAAI,eAAe,EAAE,YAAY,EAAC,MAAM,yBAAyB,CA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ges, On
|
|
|
9
9
|
documentId: string;
|
|
10
10
|
assigneeId: string;
|
|
11
11
|
assigneeFullName: string;
|
|
12
|
+
hasPermission: boolean;
|
|
12
13
|
assignmentOfDocumentChanged: EventEmitter<any>;
|
|
13
14
|
userIdToAssign: string | null;
|
|
14
15
|
readonly candidateUsersForDocument$: BehaviorSubject<User[]>;
|
|
@@ -28,6 +29,6 @@ export declare class DossierAssignUserComponent implements OnInit, OnChanges, On
|
|
|
28
29
|
private enable;
|
|
29
30
|
private disable;
|
|
30
31
|
static ɵfac: i0.ɵɵFactoryDeclaration<DossierAssignUserComponent, never>;
|
|
31
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DossierAssignUserComponent, "valtimo-dossier-assign-user", never, { "documentId": "documentId"; "assigneeId": "assigneeId"; "assigneeFullName": "assigneeFullName"; }, { "assignmentOfDocumentChanged": "assignmentOfDocumentChanged"; }, never, never, false>;
|
|
32
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DossierAssignUserComponent, "valtimo-dossier-assign-user", never, { "documentId": "documentId"; "assigneeId": "assigneeId"; "assigneeFullName": "assigneeFullName"; "hasPermission": "hasPermission"; }, { "assignmentOfDocumentChanged": "assignmentOfDocumentChanged"; }, never, never, false>;
|
|
32
33
|
}
|
|
33
34
|
//# sourceMappingURL=dossier-assign-user.component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dossier-assign-user.component.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/dossier/src/lib/dossier-assign-user/dossier-assign-user.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EAEL,YAAY,EAEZ,SAAS,EACT,SAAS,EACT,MAAM,EAEN,aAAa,EACd,MAAM,eAAe,CAAC;AACvB,OAAO,EAAC,YAAY,EAAC,MAAM,qBAAqB,CAAC;AACjD,OAAO,EAAC,eAAe,EAAe,MAAM,MAAM,CAAC;AAEnD,OAAO,EAAC,IAAI,EAAC,MAAM,iBAAiB,CAAC;AACrC,OAAO,EAAC,eAAe,EAAC,MAAM,mBAAmB,CAAC;;AAElD,qBAKa,0BAA2B,YAAW,MAAM,EAAE,SAAS,EAAE,SAAS;
|
|
1
|
+
{"version":3,"file":"dossier-assign-user.component.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/dossier/src/lib/dossier-assign-user/dossier-assign-user.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EAEL,YAAY,EAEZ,SAAS,EACT,SAAS,EACT,MAAM,EAEN,aAAa,EACd,MAAM,eAAe,CAAC;AACvB,OAAO,EAAC,YAAY,EAAC,MAAM,qBAAqB,CAAC;AACjD,OAAO,EAAC,eAAe,EAAe,MAAM,MAAM,CAAC;AAEnD,OAAO,EAAC,IAAI,EAAC,MAAM,iBAAiB,CAAC;AACrC,OAAO,EAAC,eAAe,EAAC,MAAM,mBAAmB,CAAC;;AAElD,qBAKa,0BAA2B,YAAW,MAAM,EAAE,SAAS,EAAE,SAAS;IAiBjE,OAAO,CAAC,QAAQ,CAAC,eAAe;IAhBnC,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,gBAAgB,EAAE,MAAM,CAAC;IACzB,aAAa,UAAQ;IAEpB,2BAA2B,oBAAsB;IAE3D,cAAc,EAAE,MAAM,GAAG,IAAI,CAAQ;IAErC,QAAQ,CAAC,0BAA0B,0BAA0C;IAC7E,QAAQ,CAAC,SAAS,2BAAsC;IACxD,QAAQ,CAAC,mBAAmB,0BAAqC;IACjE,QAAQ,CAAC,qBAAqB,0BAAqC;IAEnE,OAAO,CAAC,cAAc,CAAsB;gBAEf,eAAe,EAAE,eAAe;IAE7D,QAAQ,IAAI,IAAI;IAchB,WAAW,CAAC,OAAO,EAAE,aAAa,GAAG,IAAI;IAazC,WAAW,IAAI,IAAI;IAInB,cAAc,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI;IAiBpC,gBAAgB,IAAI,IAAI;IAcxB,mBAAmB,CAAC,KAAK,EAAE,IAAI,EAAE,GAAG,YAAY,EAAE;IAalD,OAAO,CAAC,KAAK;IAKb,OAAO,CAAC,UAAU;IAIlB,OAAO,CAAC,MAAM;IAId,OAAO,CAAC,OAAO;yCA3GJ,0BAA0B;2CAA1B,0BAA0B;CA8GtC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ComponentFactoryResolver, OnInit, ViewContainerRef } from '@angular/core';
|
|
1
|
+
import { ComponentFactoryResolver, OnDestroy, OnInit, ViewContainerRef } from '@angular/core';
|
|
2
2
|
import { ActivatedRoute, Router } from '@angular/router';
|
|
3
3
|
import { Document, DocumentService, ProcessDocumentDefinition } from '@valtimo/document';
|
|
4
4
|
import { TabLoaderImpl } from '../models';
|
|
@@ -11,8 +11,9 @@ import { ConfigService, DossierListTab } from '@valtimo/config';
|
|
|
11
11
|
import { BehaviorSubject, Observable } from 'rxjs';
|
|
12
12
|
import { KeycloakService } from 'keycloak-angular';
|
|
13
13
|
import { NGXLogger } from 'ngx-logger';
|
|
14
|
+
import { BreadcrumbService, PageTitleService } from '@valtimo/components';
|
|
14
15
|
import * as i0 from "@angular/core";
|
|
15
|
-
export declare class DossierDetailComponent implements OnInit {
|
|
16
|
+
export declare class DossierDetailComponent implements OnInit, OnDestroy {
|
|
16
17
|
private readonly componentFactoryResolver;
|
|
17
18
|
private readonly translateService;
|
|
18
19
|
private readonly documentService;
|
|
@@ -24,6 +25,8 @@ export declare class DossierDetailComponent implements OnInit {
|
|
|
24
25
|
private readonly configService;
|
|
25
26
|
private readonly keyCloakService;
|
|
26
27
|
private readonly logger;
|
|
28
|
+
private readonly breadcrumbService;
|
|
29
|
+
private readonly pageTitleService;
|
|
27
30
|
viewContainerRef: ViewContainerRef;
|
|
28
31
|
documentDefinitionName: string;
|
|
29
32
|
documentDefinitionNameTitle: string;
|
|
@@ -45,14 +48,16 @@ export declare class DossierDetailComponent implements OnInit {
|
|
|
45
48
|
readonly isAssignedToCurrentUser$: Observable<boolean>;
|
|
46
49
|
readonly documentDefinitionName$: Observable<string>;
|
|
47
50
|
readonly canHaveAssignee$: Observable<boolean>;
|
|
48
|
-
constructor(componentFactoryResolver: ComponentFactoryResolver, translateService: TranslateService, documentService: DocumentService, processService: ProcessService, route: ActivatedRoute, router: Router, location: Location, tabService: TabService, configService: ConfigService, keyCloakService: KeycloakService, logger: NGXLogger);
|
|
51
|
+
constructor(componentFactoryResolver: ComponentFactoryResolver, translateService: TranslateService, documentService: DocumentService, processService: ProcessService, route: ActivatedRoute, router: Router, location: Location, tabService: TabService, configService: ConfigService, keyCloakService: KeycloakService, logger: NGXLogger, breadcrumbService: BreadcrumbService, pageTitleService: PageTitleService);
|
|
49
52
|
ngOnInit(): void;
|
|
53
|
+
ngOnDestroy(): void;
|
|
50
54
|
getAllAssociatedProcessDefinitions(): void;
|
|
51
55
|
startProcess(processDocumentDefinition: ProcessDocumentDefinition): void;
|
|
52
56
|
claimAssignee(): void;
|
|
53
57
|
assignmentOfDocumentChanged(): void;
|
|
54
58
|
private getCustomDossierHeaderItem;
|
|
55
59
|
private getStringFromDocumentPath;
|
|
60
|
+
private setBreadcrumb;
|
|
56
61
|
static ɵfac: i0.ɵɵFactoryDeclaration<DossierDetailComponent, never>;
|
|
57
62
|
static ɵcmp: i0.ɵɵComponentDeclaration<DossierDetailComponent, "valtimo-dossier-detail", never, {}, {}, never, never, false>;
|
|
58
63
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dossier-detail.component.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/dossier/src/lib/dossier-detail/dossier-detail.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EAEL,wBAAwB,EACxB,MAAM,EAEN,gBAAgB,EACjB,MAAM,eAAe,CAAC;AACvB,OAAO,EAAC,cAAc,EAAY,MAAM,EAAC,MAAM,iBAAiB,CAAC;AACjE,OAAO,EAAC,QAAQ,EAAE,eAAe,EAAE,yBAAyB,EAAC,MAAM,mBAAmB,CAAC;AACvF,OAAO,EAAC,aAAa,EAAC,MAAM,WAAW,CAAC;AACxC,OAAO,EAAC,gBAAgB,EAAC,MAAM,qBAAqB,CAAC;AACrD,OAAO,EAAC,QAAQ,EAAC,MAAM,iBAAiB,CAAC;AACzC,OAAO,EAAC,UAAU,EAAC,MAAM,gBAAgB,CAAC;AAC1C,OAAO,EAAC,cAAc,EAAC,MAAM,kBAAkB,CAAC;AAChD,OAAO,EAAC,2CAA2C,EAAC,MAAM,4FAA4F,CAAC;AACvJ,OAAO,EAAC,aAAa,EAAE,cAAc,EAAC,MAAM,iBAAiB,CAAC;AAE9D,OAAO,EACL,eAAe,EAIf,UAAU,EAMX,MAAM,MAAM,CAAC;AACd,OAAO,EAAC,eAAe,EAAC,MAAM,kBAAkB,CAAC;AACjD,OAAO,EAAC,SAAS,EAAC,MAAM,YAAY,CAAC;;
|
|
1
|
+
{"version":3,"file":"dossier-detail.component.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/dossier/src/lib/dossier-detail/dossier-detail.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EAEL,wBAAwB,EACxB,SAAS,EACT,MAAM,EAEN,gBAAgB,EACjB,MAAM,eAAe,CAAC;AACvB,OAAO,EAAC,cAAc,EAAY,MAAM,EAAC,MAAM,iBAAiB,CAAC;AACjE,OAAO,EAAC,QAAQ,EAAE,eAAe,EAAE,yBAAyB,EAAC,MAAM,mBAAmB,CAAC;AACvF,OAAO,EAAC,aAAa,EAAC,MAAM,WAAW,CAAC;AACxC,OAAO,EAAC,gBAAgB,EAAC,MAAM,qBAAqB,CAAC;AACrD,OAAO,EAAC,QAAQ,EAAC,MAAM,iBAAiB,CAAC;AACzC,OAAO,EAAC,UAAU,EAAC,MAAM,gBAAgB,CAAC;AAC1C,OAAO,EAAC,cAAc,EAAC,MAAM,kBAAkB,CAAC;AAChD,OAAO,EAAC,2CAA2C,EAAC,MAAM,4FAA4F,CAAC;AACvJ,OAAO,EAAC,aAAa,EAAE,cAAc,EAAC,MAAM,iBAAiB,CAAC;AAE9D,O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ApiDocumentsComponent implements
|
|
|
30
30
|
key: string;
|
|
31
31
|
label: string;
|
|
32
32
|
}[];
|
|
33
|
-
actions: {
|
|
34
|
-
columnName: string;
|
|
35
|
-
iconClass: string;
|
|
36
|
-
callback: any;
|
|
37
|
-
}[];
|
|
38
33
|
showZaakLinkWarning: boolean;
|
|
39
34
|
isAdmin: boolean;
|
|
40
35
|
uploadProcessLinkedSet: boolean;
|
|
@@ -47,11 +42,13 @@ export declare class DossierDetailTabDocumentenApiDocumentsComponent implements
|
|
|
47
42
|
readonly loading$: BehaviorSubject<boolean>;
|
|
48
43
|
private readonly refetch$;
|
|
49
44
|
relatedFiles$: Observable<Array<RelatedFileListItem>>;
|
|
45
|
+
readonly downloadingFileIndexes$: BehaviorSubject<number[]>;
|
|
50
46
|
constructor(route: ActivatedRoute, documentService: DocumentService, toastrService: ToastrService, uploadProviderService: UploadProviderService, downloadService: DownloadService, promptService: PromptService, translateService: TranslateService, configService: ConfigService, userProviderService: UserProviderService, fileSortService: FileSortService);
|
|
51
47
|
ngOnInit(): void;
|
|
52
48
|
fileSelected(file: File): void;
|
|
53
|
-
downloadDocument(relatedFile: RelatedFile): void;
|
|
49
|
+
downloadDocument(relatedFile: RelatedFile, index: number): void;
|
|
54
50
|
metadataSet(metadata: DocumentenApiMetadata): void;
|
|
51
|
+
indexesIncludeIndex(indexes: Array<number>, index: number): boolean;
|
|
55
52
|
isUserAdmin(): void;
|
|
56
53
|
private refetchDocuments;
|
|
57
54
|
private setUploadProcessLinked;
|
package/lib/dossier-detail/tab/documenten-api-documents/documenten-api-documents.component.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"documenten-api-documents.component.d.ts","sourceRoot":"","sources":["../../../../../../../projects/valtimo/dossier/src/lib/dossier-detail/tab/documenten-api-documents/documenten-api-documents.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAY,MAAM,EAAC,MAAM,eAAe,CAAC;AAChD,OAAO,EAAC,cAAc,EAAC,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAC,eAAe,EAAE,WAAW,EAAE,mBAAmB,EAAC,MAAM,mBAAmB,CAAC;AACpF,OAAO,EAAC,eAAe,EAAE,qBAAqB,EAAC,MAAM,mBAAmB,CAAC;AACzE,OAAO,EAAC,aAAa,EAAC,MAAM,YAAY,CAAC;AAEzC,OAAO,EAAC,eAAe,EAAiB,UAAU,EAAM,OAAO,EAAC,MAAM,MAAM,CAAC;AAC7E,OAAO,EAAC,gBAAgB,EAAC,MAAM,qBAAqB,CAAC;AACrD,OAAO,EAAC,aAAa,EAAC,MAAM,iBAAiB,CAAC;AAC9C,OAAO,EAAC,qBAAqB,EAAC,MAAM,qBAAqB,CAAC;AAC1D,OAAO,EAAC,mBAAmB,EAAC,MAAM,mBAAmB,CAAC;AACtD,OAAO,EAAC,aAAa,EAAC,MAAM,yBAAyB,CAAC;AACtD,OAAO,EAAC,eAAe,EAAC,MAAM,mBAAmB,CAAC;;AAGlD,qBAKa,+CAAgD,YAAW,MAAM;
|
|
1
|
+
{"version":3,"file":"documenten-api-documents.component.d.ts","sourceRoot":"","sources":["../../../../../../../projects/valtimo/dossier/src/lib/dossier-detail/tab/documenten-api-documents/documenten-api-documents.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAY,MAAM,EAAC,MAAM,eAAe,CAAC;AAChD,OAAO,EAAC,cAAc,EAAC,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAC,eAAe,EAAE,WAAW,EAAE,mBAAmB,EAAC,MAAM,mBAAmB,CAAC;AACpF,OAAO,EAAC,eAAe,EAAE,qBAAqB,EAAC,MAAM,mBAAmB,CAAC;AACzE,OAAO,EAAC,aAAa,EAAC,MAAM,YAAY,CAAC;AAEzC,OAAO,EAAC,eAAe,EAAiB,UAAU,EAAM,OAAO,EAAC,MAAM,MAAM,CAAC;AAC7E,OAAO,EAAC,gBAAgB,EAAC,MAAM,qBAAqB,CAAC;AACrD,OAAO,EAAC,aAAa,EAAC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AC,KAAK,CAAC,mBAAmB,CAAC,CAAC,CA6B1D;IAEF,QAAQ,CAAC,uBAAuB,4BAA0C;gBAGvD,KAAK,EAAE,cAAc,EACrB,eAAe,EAAE,eAAe,EAChC,aAAa,EAAE,aAAa,EAC5B,qBAAqB,EAAE,qBAAqB,EAC5C,eAAe,EAAE,eAAe,EAChC,aAAa,EAAE,aAAa,EAC5B,gBAAgB,EAAE,gBAAgB,EAClC,aAAa,EAAE,aAAa,EAC5B,mBAAmB,EAAE,mBAAmB,EACxC,eAAe,EAAE,eAAe;IAOnD,QAAQ,IAAI,IAAI;IAMhB,YAAY,CAAC,IAAI,EAAE,IAAI,GAAG,IAAI;IAK9B,gBAAgB,CAAC,WAAW,EAAE,WAAW,EAAE,KAAK,EAAE,MAAM,GAAG,IAAI;IAiB/D,WAAW,CAAC,QAAQ,EAAE,qBAAqB,GAAG,IAAI;IAoBlD,mBAAmB,CAAC,OAAO,EAAE,KAAK,CAAC,MAAM,CAAC,EAAE,KAAK,EAAE,MAAM,GAAG,OAAO;IAI5D,WAAW;IAWlB,OAAO,CAAC,gBAAgB;IAIxB,OAAO,CAAC,sBAAsB;yCA9InB,+CAA+C;2CAA/C,+CAA+C;CAyJ3D"}
|
|
@@ -5,27 +5,36 @@ import { Note } from '../../../models/notes.model';
|
|
|
5
5
|
import { ActivatedRoute } from '@angular/router';
|
|
6
6
|
import { Pagination, TimelineItem } from '@valtimo/components';
|
|
7
7
|
import { TranslateService } from '@ngx-translate/core';
|
|
8
|
+
import { PromptService } from '@valtimo/user-interface';
|
|
9
|
+
import { ToastrService } from 'ngx-toastr';
|
|
8
10
|
import * as i0 from "@angular/core";
|
|
9
11
|
export declare class DossierDetailTabNotesComponent implements OnInit {
|
|
10
12
|
private readonly route;
|
|
11
13
|
private notesService;
|
|
12
14
|
private translateService;
|
|
15
|
+
private promptService;
|
|
16
|
+
private toastrService;
|
|
13
17
|
timelineItems: TimelineItem[];
|
|
18
|
+
actions: any[];
|
|
14
19
|
readonly loading$: BehaviorSubject<boolean>;
|
|
15
20
|
readonly fields$: BehaviorSubject<{
|
|
16
21
|
key: string;
|
|
17
22
|
label: string;
|
|
18
23
|
}[]>;
|
|
24
|
+
readonly customData$: BehaviorSubject<object>;
|
|
19
25
|
private readonly documentId$;
|
|
20
26
|
readonly currentPageAndSize$: BehaviorSubject<Partial<Pagination>>;
|
|
21
27
|
readonly pageSizes$: BehaviorSubject<Partial<Pagination>>;
|
|
22
28
|
readonly pagination$: Observable<Pagination>;
|
|
23
29
|
readonly notes$: Observable<Array<Note>>;
|
|
24
|
-
constructor(route: ActivatedRoute, notesService: NotesService, translateService: TranslateService);
|
|
30
|
+
constructor(route: ActivatedRoute, notesService: NotesService, translateService: TranslateService, promptService: PromptService, toastrService: ToastrService);
|
|
25
31
|
ngOnInit(): void;
|
|
26
32
|
paginationClicked(newPageNumber: any): void;
|
|
27
33
|
showAddModal(): void;
|
|
28
34
|
createNewNote(content: any): void;
|
|
35
|
+
editNoteEvent(content: any): void;
|
|
36
|
+
editNote(data: any): void;
|
|
37
|
+
deleteNote(data: any): void;
|
|
29
38
|
static ɵfac: i0.ɵɵFactoryDeclaration<DossierDetailTabNotesComponent, never>;
|
|
30
39
|
static ɵcmp: i0.ɵɵComponentDeclaration<DossierDetailTabNotesComponent, "valtimo-dossier-detail-tab-notes", never, {}, {}, never, never, false>;
|
|
31
40
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"notes.component.d.ts","sourceRoot":"","sources":["../../../../../../../projects/valtimo/dossier/src/lib/dossier-detail/tab/notes/notes.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAY,MAAM,EAAC,MAAM,eAAe,CAAC;AAChD,OAAO,EAAC,YAAY,EAAC,MAAM,iCAAiC,CAAC;AAC7D,OAAO,EAAC,eAAe,EAAsB,UAAU,EAAC,MAAM,MAAM,CAAC;AACrE,OAAO,EAAC,IAAI,EAAC,MAAM,6BAA6B,CAAC;AAEjD,OAAO,EAAC,cAAc,EAAC,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAC,UAAU,EAAE,YAAY,EAAmB,MAAM,qBAAqB,CAAC;AAG/E,OAAO,
|
|
1
|
+
{"version":3,"file":"notes.component.d.ts","sourceRoot":"","sources":["../../../../../../../projects/valtimo/dossier/src/lib/dossier-detail/tab/notes/notes.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAY,MAAM,EAAC,MAAM,eAAe,CAAC;AAChD,OAAO,EAAC,YAAY,EAAC,MAAM,iCAAiC,CAAC;AAC7D,OAAO,EAAC,eAAe,EAAsB,UAAU,EAAC,MAAM,MAAM,CAAC;AACrE,OAAO,EAAC,IAAI,EAAC,MAAM,6BAA6B,CAAC;AAEjD,OAAO,EAAC,cAAc,EAAC,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAC,UAAU,EAAE,YAAY,EAAmB,MAAM,qBAAqB,CAAC;AAG/E,OAAO,EAAC,gBAAgB,EAAC,MAAM,qBAAqB,CAAC;AACrD,OAAO,EAAC,aAAa,EAAC,MAAM,yBAAyB,CAAC;AACtD,OAAO,EAAC,aAAa,EAAC,MAAM,YAAY,CAAC;;AAEzC,qBAKa,8BAA+B,YAAW,MAAM;IAiFzD,OAAO,CAAC,QAAQ,CAAC,KAAK;IACtB,OAAO,CAAC,YAAY;IACpB,OAAO,CAAC,gBAAgB;IACxB,OAAO,CAAC,aAAa;IACrB,OAAO,CAAC,aAAa;IApFhB,aAAa,EAAE,YAAY,EAAE,CAAM;IACnC,OAAO,EAAE,GAAG,EAAE,CAWnB;IACF,QAAQ,CAAC,QAAQ,2BAAsC;IACvD,QAAQ,CAAC,OAAO;aAAmC,MAAM;eAAS,MAAM;SAAQ;IAChF,QAAQ,CAAC,WAAW,0BAAmC;IACvD,OAAO,CAAC,QAAQ,CAAC,WAAW,CAA4D;IAExF,QAAQ,CAAC,mBAAmB,uCAGzB;IAEH,QAAQ,CAAC,UAAU,uCAGhB;IAEH,QAAQ,CAAC,WAAW,EAAE,UAAU,CAAC,UAAU,CAAC,CAQ1C;IAEF,QAAQ,CAAC,MAAM,EAAE,UAAU,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAuCtC;gBAGiB,KAAK,EAAE,cAAc,EAC9B,YAAY,EAAE,YAAY,EAC1B,gBAAgB,EAAE,gBAAgB,EAClC,aAAa,EAAE,aAAa,EAC5B,aAAa,EAAE,aAAa;IAGtC,QAAQ;IAMR,iBAAiB,CAAC,aAAa,KAAA,GAAG,IAAI;IAMtC,YAAY,IAAI,IAAI;IAMpB,aAAa,CAAC,OAAO,KAAA;IAcrB,aAAa,CAAC,OAAO,KAAA;IAQrB,QAAQ,CAAC,IAAI,KAAA;IAMb,UAAU,CAAC,IAAI,KAAA;yCAtIJ,8BAA8B;2CAA9B,8BAA8B;CA4J1C"}
|
|
@@ -9,15 +9,15 @@ import { FormioForm } from '@formio/angular';
|
|
|
9
9
|
import { UserProviderService } from '@valtimo/security';
|
|
10
10
|
import * as i0 from "@angular/core";
|
|
11
11
|
export declare class DossierDetailTabSummaryComponent implements OnInit, OnDestroy {
|
|
12
|
-
private router;
|
|
13
|
-
private documentService;
|
|
14
|
-
private taskService;
|
|
15
|
-
private processService;
|
|
16
|
-
private el;
|
|
17
|
-
private renderer;
|
|
18
|
-
private route;
|
|
19
|
-
private formService;
|
|
20
|
-
private userProviderService;
|
|
12
|
+
private readonly router;
|
|
13
|
+
private readonly documentService;
|
|
14
|
+
private readonly taskService;
|
|
15
|
+
private readonly processService;
|
|
16
|
+
private readonly el;
|
|
17
|
+
private readonly renderer;
|
|
18
|
+
private readonly route;
|
|
19
|
+
private readonly formService;
|
|
20
|
+
private readonly userProviderService;
|
|
21
21
|
readonly documentDefinitionName: string;
|
|
22
22
|
document: Document;
|
|
23
23
|
documentId: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"summary.component.d.ts","sourceRoot":"","sources":["../../../../../../../projects/valtimo/dossier/src/lib/dossier-detail/tab/summary/summary.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EAEL,UAAU,EACV,SAAS,EACT,MAAM,EACN,SAAS,EAGV,MAAM,eAAe,CAAC;AACvB,OAAO,EAAC,mBAAmB,EAAE,cAAc,EAAC,MAAM,kBAAkB,CAAC;AACrE,OAAO,EAAC,cAAc,EAAY,MAAM,EAAC,MAAM,iBAAiB,CAAC;AACjE,OAAO,EAAC,QAAQ,EAAE,eAAe,EAAE,uBAAuB,EAAC,MAAM,mBAAmB,CAAC;AACrF,OAAO,EAAC,wBAAwB,EAAE,WAAW,EAAC,MAAM,eAAe,CAAC;AACpE,OAAO,EAAC,WAAW,EAAC,MAAM,eAAe,CAAC;AAC1C,OAAO,EAAoB,oBAAoB,EAAC,MAAM,qBAAqB,CAAC;AAE5E,OAAO,EAAC,UAAU,EAAC,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAC,mBAAmB,EAAC,MAAM,mBAAmB,CAAC;;AAMtD,qBAMa,gCAAiC,YAAW,MAAM,EAAE,SAAS;IAetE,OAAO,CAAC,MAAM;
|
|
1
|
+
{"version":3,"file":"summary.component.d.ts","sourceRoot":"","sources":["../../../../../../../projects/valtimo/dossier/src/lib/dossier-detail/tab/summary/summary.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EAEL,UAAU,EACV,SAAS,EACT,MAAM,EACN,SAAS,EAGV,MAAM,eAAe,CAAC;AACvB,OAAO,EAAC,mBAAmB,EAAE,cAAc,EAAC,MAAM,kBAAkB,CAAC;AACrE,OAAO,EAAC,cAAc,EAAY,MAAM,EAAC,MAAM,iBAAiB,CAAC;AACjE,OAAO,EAAC,QAAQ,EAAE,eAAe,EAAE,uBAAuB,EAAC,MAAM,mBAAmB,CAAC;AACrF,OAAO,EAAC,wBAAwB,EAAE,WAAW,EAAC,MAAM,eAAe,CAAC;AACpE,OAAO,EAAC,WAAW,EAAC,MAAM,eAAe,CAAC;AAC1C,OAAO,EAAoB,oBAAoB,EAAC,MAAM,qBAAqB,CAAC;AAE5E,OAAO,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AAI,EAAE,GAAG;yCAzGlB,gCAAgC;2CAAhC,gCAAgC;CA4G5C"}
|
|
@@ -1,74 +1,65 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
1
|
+
import { OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
2
3
|
import { ActivatedRoute, Router } from '@angular/router';
|
|
4
|
+
import { DossierColumnService, DossierListAssigneeService, DossierListPaginationService, DossierListSearchService, DossierListService, DossierParameterService } from '../services';
|
|
5
|
+
import { AssigneeFilter, ConfigService, DossierListTab, SearchField, SearchFieldValues, SortState } from '@valtimo/config';
|
|
6
|
+
import { BreadcrumbService, ListField, PageTitleService, Pagination } from '@valtimo/components';
|
|
3
7
|
import { TranslateService } from '@ngx-translate/core';
|
|
4
|
-
import {
|
|
5
|
-
import { DocumentService, ProcessDocumentDefinition, SortState } from '@valtimo/document';
|
|
6
|
-
import { BehaviorSubject, Observable, Subject } from 'rxjs';
|
|
7
|
-
import { DossierProcessStartModalComponent } from '../dossier-process-start-modal/dossier-process-start-modal.component';
|
|
8
|
-
import { DossierService } from '../dossier.service';
|
|
9
|
-
import { ListField } from '@valtimo/components';
|
|
10
|
-
import { NGXLogger } from 'ngx-logger';
|
|
8
|
+
import { DocumentService } from '@valtimo/document';
|
|
11
9
|
import { NgbNavChangeEvent } from '@ng-bootstrap/ng-bootstrap';
|
|
12
|
-
import { DossierColumnService, DossierParameterService } from '../services';
|
|
13
10
|
import * as i0 from "@angular/core";
|
|
14
|
-
export declare class DossierListComponent implements OnInit {
|
|
11
|
+
export declare class DossierListComponent implements OnInit, OnDestroy {
|
|
15
12
|
private readonly route;
|
|
16
|
-
private readonly router;
|
|
17
|
-
private readonly documentService;
|
|
18
13
|
private readonly translateService;
|
|
19
|
-
private readonly
|
|
20
|
-
private readonly
|
|
14
|
+
private readonly listService;
|
|
15
|
+
private readonly columnService;
|
|
16
|
+
private readonly assigneeService;
|
|
17
|
+
private readonly paginationService;
|
|
18
|
+
private readonly searchService;
|
|
19
|
+
private readonly parameterService;
|
|
20
|
+
private readonly documentService;
|
|
21
|
+
private readonly router;
|
|
21
22
|
private readonly configService;
|
|
22
|
-
private readonly
|
|
23
|
-
private readonly
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
23
|
+
private readonly pageTitleService;
|
|
24
|
+
private readonly breadcrumbService;
|
|
25
|
+
loadingFields: boolean;
|
|
26
|
+
loadingPagination: boolean;
|
|
27
|
+
loadingSearchFields: boolean;
|
|
28
|
+
loadingAssigneeFilter: boolean;
|
|
29
|
+
loadingDocumentItems: boolean;
|
|
30
|
+
pagination: Pagination;
|
|
31
|
+
canHaveAssignee: boolean;
|
|
32
|
+
visibleDossierTabs: Array<DossierListTab> | null;
|
|
33
|
+
readonly searchFields$: Observable<Array<SearchField> | null>;
|
|
32
34
|
readonly documentDefinitionName$: Observable<string>;
|
|
33
|
-
readonly hasEnvColumnConfig$: Observable<boolean>;
|
|
34
|
-
readonly canHaveAssignee$: Observable<boolean>;
|
|
35
|
-
readonly documentSearchFields$: Observable<Array<SearchField> | null>;
|
|
36
|
-
readonly associatedProcessDocumentDefinitions$: Observable<Array<ProcessDocumentDefinition>>;
|
|
37
35
|
readonly schema$: Observable<any>;
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
private readonly
|
|
41
|
-
private readonly
|
|
42
|
-
private readonly
|
|
36
|
+
readonly searchFieldValues$: Observable<SearchFieldValues>;
|
|
37
|
+
readonly assigneeFilter$: Observable<AssigneeFilter>;
|
|
38
|
+
private readonly _pagination$;
|
|
39
|
+
private readonly _hasEnvColumnConfig$;
|
|
40
|
+
private readonly _hasApiColumnConfig$;
|
|
41
|
+
private readonly _canHaveAssignee$;
|
|
42
|
+
private readonly _searchSwitch$;
|
|
43
|
+
private readonly _columns$;
|
|
43
44
|
readonly fields$: Observable<Array<ListField>>;
|
|
44
|
-
private readonly
|
|
45
|
-
private readonly
|
|
46
|
-
|
|
47
|
-
private
|
|
48
|
-
private
|
|
49
|
-
|
|
50
|
-
private readonly documentsRequest$;
|
|
51
|
-
readonly documentItems$: Observable<any[]>;
|
|
52
|
-
readonly setSearchFieldValuesSubject$: Subject<SearchFieldValues>;
|
|
53
|
-
constructor(route: ActivatedRoute, router: Router, documentService: DocumentService, translateService: TranslateService, dossierService: DossierService, logger: NGXLogger, configService: ConfigService, dossierColumnService: DossierColumnService, dossierParameterService: DossierParameterService);
|
|
45
|
+
private readonly _documentSearchRequest$;
|
|
46
|
+
private readonly _documentsRequest$;
|
|
47
|
+
documentItems$: Observable<any[]>;
|
|
48
|
+
private _previousDocumentDefinitionName;
|
|
49
|
+
private _documentDefinitionNameSubscription;
|
|
50
|
+
constructor(route: ActivatedRoute, translateService: TranslateService, listService: DossierListService, columnService: DossierColumnService, assigneeService: DossierListAssigneeService, paginationService: DossierListPaginationService, searchService: DossierListSearchService, parameterService: DossierParameterService, documentService: DocumentService, router: Router, configService: ConfigService, pageTitleService: PageTitleService, breadcrumbService: BreadcrumbService);
|
|
54
51
|
ngOnInit(): void;
|
|
52
|
+
ngOnDestroy(): void;
|
|
53
|
+
search(searchFieldValues: SearchFieldValues): void;
|
|
54
|
+
rowClick(document: any): void;
|
|
55
55
|
pageChange(newPage: number): void;
|
|
56
56
|
pageSizeChange(newPageSize: number): void;
|
|
57
57
|
sortChanged(newSortState: SortState): void;
|
|
58
|
-
rowClick(document: any): void;
|
|
59
|
-
startDossier(): void;
|
|
60
|
-
selectProcess(processDocumentDefinition: ProcessDocumentDefinition): void;
|
|
61
|
-
search(searchFieldValues: SearchFieldValues): void;
|
|
62
58
|
tabChange(tab: NgbNavChangeEvent<any>): void;
|
|
63
|
-
|
|
64
|
-
private
|
|
65
|
-
private
|
|
66
|
-
private
|
|
67
|
-
private getStoredPagination;
|
|
68
|
-
private setCollectionSize;
|
|
69
|
-
private showStartProcessModal;
|
|
70
|
-
private checkPage;
|
|
71
|
-
private setSearchFieldParametersInComponent;
|
|
59
|
+
refresh(): void;
|
|
60
|
+
private openDocumentDefinitionNameSubscription;
|
|
61
|
+
private setLoading;
|
|
62
|
+
private setVisibleTabs;
|
|
72
63
|
static ɵfac: i0.ɵɵFactoryDeclaration<DossierListComponent, never>;
|
|
73
64
|
static ɵcmp: i0.ɵɵComponentDeclaration<DossierListComponent, "valtimo-dossier-list", never, {}, {}, never, never, false>;
|
|
74
65
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dossier-list.component.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/dossier/src/lib/dossier-list/dossier-list.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAY,MAAM,
|
|
1
|
+
{"version":3,"file":"dossier-list.component.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/dossier/src/lib/dossier-list/dossier-list.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAY,SAAS,EAAE,MAAM,EAAC,MAAM,eAAe,CAAC;AAC3D,OAAO,EAML,UAAU,EAKX,MAAM,MAAM,CAAC;AACd,OAAO,EAAC,cAAc,EAAE,MAAM,EAAC,MAAM,iBAAiB,CAAC;AACvD,OAAO,EACL,oBAAoB,EACpB,0BAA0B,EAC1B,4BAA4B,EAC5B,wBAAwB,EACxB,kBAAkB,EAClB,uBAAuB,EACxB,MAAM,aAAa,CAAC;AACrB,OAAO,EACL,cAAc,EACd,aAAa,EAGb,cAAc,EACd,WAAW,EACX,iBAAiB,EACjB,SAAS,EACV,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAC,iBAAiB,EAAE,SAAS,EAAE,gBAAgB,EAAE,UAAU,EAAC,MAAM,qBAAqB,CAAC;AAC/F,OAAO,EAAC,gBAAgB,EAAC,MAAM,qBAAqB,CAAC;AACrD,OAAO,EAIL,eAAe,EAEhB,MAAM,mBAAmB,CAAC;AAE3B,OAAO,EAAC,iBAAiB,EAAC,MAAM,4BAA4B,CAAC;;AAE7D,qBA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EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { DocumentService, ProcessDocumentDefinition } from '@valtimo/document';
|
|
4
|
+
import { DossierProcessStartModalComponent } from '../dossier-process-start-modal/dossier-process-start-modal.component';
|
|
5
|
+
import { ActivatedRoute } from '@angular/router';
|
|
6
|
+
import { DossierListService } from '../services';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare class DossierListActionsComponent implements OnInit {
|
|
9
|
+
private readonly documentService;
|
|
10
|
+
private readonly route;
|
|
11
|
+
private readonly listService;
|
|
12
|
+
processStart: DossierProcessStartModalComponent;
|
|
13
|
+
loading: boolean;
|
|
14
|
+
formFlowComplete: EventEmitter<any>;
|
|
15
|
+
private selectedProcessDocumentDefinition;
|
|
16
|
+
private modalListenerAdded;
|
|
17
|
+
private _cachedAssociatedProcessDocumentDefinitions;
|
|
18
|
+
readonly associatedProcessDocumentDefinitions$: Observable<Array<ProcessDocumentDefinition>>;
|
|
19
|
+
constructor(documentService: DocumentService, route: ActivatedRoute, listService: DossierListService);
|
|
20
|
+
ngOnInit(): void;
|
|
21
|
+
startDossier(): void;
|
|
22
|
+
selectProcess(processDocumentDefinition: ProcessDocumentDefinition): void;
|
|
23
|
+
onFormFlowComplete(): void;
|
|
24
|
+
private showStartProcessModal;
|
|
25
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DossierListActionsComponent, never>;
|
|
26
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DossierListActionsComponent, "valtimo-dossier-list-actions", never, { "loading": "loading"; }, { "formFlowComplete": "formFlowComplete"; }, never, never, false>;
|
|
27
|
+
}
|
|
28
|
+
//# sourceMappingURL=dossier-list-actions.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dossier-list-actions.component.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/dossier/src/lib/dossier-list-actions/dossier-list-actions.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAY,YAAY,EAAS,MAAM,EAAoB,MAAM,eAAe,CAAC;AACxF,OAAO,EAAM,UAAU,EAAqB,MAAM,MAAM,CAAC;AACzD,OAAO,EAAC,eAAe,EAAE,yBAAyB,EAAC,MAAM,mBAAmB,CAAC;AAC7E,OAAO,EAAC,iCAAiC,EAAC,MAAM,sEAAsE,CAAC;AACvH,OAAO,EAAC,cAAc,EAAC,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAC,kBAAkB,EAAC,MAAM,aAAa,CAAC;;AAI/C,qBAKa,2BAA4B,YAAW,MAAM;IA6BtD,OAAO,CAAC,QAAQ,CAAC,eAAe;IAChC,OAAO,CAAC,QAAQ,CAAC,KAAK;IACtB,OAAO,CAAC,QAAQ,CAAC,WAAW;IA9BE,YAAY,EAAE,iCAAiC,CAAC;IAEvE,OAAO,EAAG,OAAO,CAAC;IAEjB,gBAAgB,oBAAsB;IAEhD,OAAO,CAAC,iCAAiC,CAA0C;IAEnF,OAAO,CAAC,kBAAkB,CAAS;IAEnC,OAAO,CAAC,2CAA2C,CAAwC;IAE3F,QAAQ,CAAC,qCAAqC,EAAE,UAAU,CAAC,KAAK,CAAC,yBAAyB,CAAC,CAAC,CAaxF;gBAGe,eAAe,EAAE,eAAe,EAChC,KAAK,EAAE,cAAc,EACrB,WAAW,EAAE,kBAAkB;IAGlD,QAAQ,IAAI,IAAI;IAIhB,YAAY,IAAI,IAAI;IAWpB,aAAa,CAAC,yBAAyB,EAAE,yBAAyB,GAAG,IAAI;IAUzE,kBAAkB;IAIlB,OAAO,CAAC,qBAAqB;yCA/DlB,2BAA2B;2CAA3B,2BAA2B;CAqEvC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
2
|
import { DocumentService, ProcessDocumentDefinition } from '@valtimo/document';
|
|
3
|
-
import { FormLinkService } from '@valtimo/form-link';
|
|
3
|
+
import { FormFlowService, FormLinkService, ProcessLinkService } from '@valtimo/form-link';
|
|
4
4
|
import { ActivatedRoute, Router } from '@angular/router';
|
|
5
5
|
import { ProcessService } from '@valtimo/process';
|
|
6
6
|
import { FormioComponent, FormioSubmission, ModalComponent, ValtimoFormioOptions } from '@valtimo/components';
|
|
@@ -14,27 +14,36 @@ export declare class DossierProcessStartModalComponent implements OnInit {
|
|
|
14
14
|
private processService;
|
|
15
15
|
private documentService;
|
|
16
16
|
private formLinkService;
|
|
17
|
+
private processLinkService;
|
|
18
|
+
private formFlowService;
|
|
17
19
|
private userProviderService;
|
|
18
20
|
private logger;
|
|
19
21
|
processDefinitionKey: string;
|
|
22
|
+
processDefinitionId: string;
|
|
20
23
|
documentDefinitionName: string;
|
|
21
24
|
processName: string;
|
|
22
25
|
formDefinition: FormioForm;
|
|
26
|
+
formFlowInstanceId: string;
|
|
23
27
|
formioSubmission: FormioSubmission;
|
|
24
28
|
private formAssociation;
|
|
29
|
+
private processLinkId;
|
|
25
30
|
options: ValtimoFormioOptions;
|
|
26
31
|
isAdmin: boolean;
|
|
27
32
|
form: FormioComponent;
|
|
28
33
|
modal: ModalComponent;
|
|
29
|
-
|
|
34
|
+
formFlowComplete: EventEmitter<any>;
|
|
35
|
+
constructor(route: ActivatedRoute, router: Router, processService: ProcessService, documentService: DocumentService, formLinkService: FormLinkService, processLinkService: ProcessLinkService, formFlowService: FormFlowService, userProviderService: UserProviderService, logger: NGXLogger);
|
|
30
36
|
ngOnInit(): void;
|
|
31
|
-
private
|
|
37
|
+
private loadProcessLink;
|
|
38
|
+
private openFormAssociation;
|
|
32
39
|
gotoFormLinkScreen(): void;
|
|
33
40
|
get modalTitle(): string;
|
|
34
41
|
openModal(processDocumentDefinition: ProcessDocumentDefinition): void;
|
|
35
42
|
onSubmit(submission: FormioSubmission): void;
|
|
43
|
+
formFlowSubmitted(): void;
|
|
36
44
|
isUserAdmin(): void;
|
|
45
|
+
private submitCompleted;
|
|
37
46
|
static ɵfac: i0.ɵɵFactoryDeclaration<DossierProcessStartModalComponent, never>;
|
|
38
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DossierProcessStartModalComponent, "valtimo-dossier-process-start-modal", never, {}, {}, never, never, false>;
|
|
47
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DossierProcessStartModalComponent, "valtimo-dossier-process-start-modal", never, {}, { "formFlowComplete": "formFlowComplete"; }, never, never, false>;
|
|
39
48
|
}
|
|
40
49
|
//# sourceMappingURL=dossier-process-start-modal.component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dossier-process-start-modal.component.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/dossier/src/lib/dossier-process-start-modal/dossier-process-start-modal.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAY,MAAM,
|
|
1
|
+
{"version":3,"file":"dossier-process-start-modal.component.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/dossier/src/lib/dossier-process-start-modal/dossier-process-start-modal.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAY,YAAY,EAAE,MAAM,EAAuC,MAAM,eAAe,CAAC;AACpG,OAAO,EAAC,eAAe,EAAE,yBAAyB,EAAC,MAAM,mBAAmB,CAAC;AAC7E,OAAO,EAEL,eAAe,EACf,eAAe,EAEf,kBAAkB,EACnB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAC,cAAc,EAAE,MAAM,EAAC,MAAM,iBAAiB,CAAC;AACvD,OAAO,EAAC,cAAc,EAAC,MAAM,kBAAkB,CAAC;AAChD,OAAO,EACL,eAAe,EAEf,gBAAgB,EAChB,cAAc,EACd,oBAAoB,EACrB,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAC,UAAU,EAAC,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAC,SAAS,EAAC,MAAM,YAAY,CAAC;AACrC,OAAO,EAAC,mBAAmB,EAAC,MAAM,mBAAmB,CAAC;;AAGtD,qBAMa,iCAAkC,YAAW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@@
|
|
|
1
|
-
{"version":3,"file":"dossier-routing.module.d.ts","sourceRoot":"","sources":["../../../../projects/valtimo/dossier/src/lib/dossier-routing.module.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"dossier-routing.module.d.ts","sourceRoot":"","sources":["../../../../projects/valtimo/dossier/src/lib/dossier-routing.module.ts"],"names":[],"mappings":";;;AAsDA,qBAIa,oBAAoB;yCAApB,oBAAoB;0CAApB,oBAAoB;0CAApB,oBAAoB;CAAG"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
2
|
import { FormioForm } from '@formio/angular';
|
|
3
|
-
import { FormioComponent,
|
|
3
|
+
import { FormioComponent, FormioSubmission, ModalComponent, ValtimoFormioOptions } from '@valtimo/components';
|
|
4
4
|
import { ActivatedRoute, Router } from '@angular/router';
|
|
5
5
|
import { ProcessService } from '@valtimo/process';
|
|
6
6
|
import { DocumentService, ProcessDocumentDefinition } from '@valtimo/document';
|
|
7
|
-
import { FormLinkService } from '@valtimo/form-link';
|
|
7
|
+
import { FormFlowService, FormLinkService, ProcessLinkService } from '@valtimo/form-link';
|
|
8
8
|
import { NGXLogger } from 'ngx-logger';
|
|
9
9
|
import { Observable } from 'rxjs';
|
|
10
10
|
import { UserProviderService } from '@valtimo/security';
|
|
@@ -13,8 +13,10 @@ export declare class DossierSupportingProcessStartModalComponent {
|
|
|
13
13
|
private route;
|
|
14
14
|
private router;
|
|
15
15
|
private processService;
|
|
16
|
+
private processLinkService;
|
|
16
17
|
private documentService;
|
|
17
18
|
private formLinkService;
|
|
19
|
+
private formFlowService;
|
|
18
20
|
private logger;
|
|
19
21
|
private readonly userProviderService;
|
|
20
22
|
processDefinitionKey: string;
|
|
@@ -23,17 +25,22 @@ export declare class DossierSupportingProcessStartModalComponent {
|
|
|
23
25
|
formDefinition: FormioForm;
|
|
24
26
|
formioSubmission: FormioSubmission;
|
|
25
27
|
private formAssociation;
|
|
28
|
+
private processLinkId;
|
|
26
29
|
options: ValtimoFormioOptions;
|
|
27
30
|
submission: object;
|
|
31
|
+
processDefinitionId: string;
|
|
32
|
+
formFlowInstanceId: string;
|
|
28
33
|
readonly isAdmin$: Observable<boolean>;
|
|
29
34
|
form: FormioComponent;
|
|
30
35
|
modal: ModalComponent;
|
|
31
|
-
private documentId;
|
|
32
36
|
formSubmit: EventEmitter<any>;
|
|
33
|
-
|
|
34
|
-
|
|
37
|
+
private documentId;
|
|
38
|
+
constructor(route: ActivatedRoute, router: Router, processService: ProcessService, processLinkService: ProcessLinkService, documentService: DocumentService, formLinkService: FormLinkService, formFlowService: FormFlowService, logger: NGXLogger, userProviderService: UserProviderService);
|
|
39
|
+
private loadProcessLink;
|
|
40
|
+
private openFormAssociation;
|
|
35
41
|
openModal(processDocumentDefinition: ProcessDocumentDefinition, documentId: string): void;
|
|
36
42
|
onSubmit(submission: FormioSubmission): void;
|
|
43
|
+
formSubmitted(): void;
|
|
37
44
|
gotoFormLinkScreen(): void;
|
|
38
45
|
static ɵfac: i0.ɵɵFactoryDeclaration<DossierSupportingProcessStartModalComponent, never>;
|
|
39
46
|
static ɵcmp: i0.ɵɵComponentDeclaration<DossierSupportingProcessStartModalComponent, "valtimo-dossier-supporting-process-start-modal", never, {}, { "formSubmit": "formSubmit"; }, never, never, false>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dossier-supporting-process-start-modal.component.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/dossier/src/lib/dossier-supporting-process-start-modal/dossier-supporting-process-start-modal.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAY,YAAY,EAAuC,MAAM,eAAe,CAAC;AAC5F,OAAO,EAAqB,UAAU,EAAC,MAAM,iBAAiB,CAAC;AAC/D,OAAO,EACL,eAAe,
|
|
1
|
+
{"version":3,"file":"dossier-supporting-process-start-modal.component.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/dossier/src/lib/dossier-supporting-process-start-modal/dossier-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