@valtimo/dossier 4.15.3-next-main.16 → 4.17.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.
Files changed (48) hide show
  1. package/bundles/valtimo-dossier.umd.js +1820 -1675
  2. package/bundles/valtimo-dossier.umd.js.map +1 -1
  3. package/bundles/valtimo-dossier.umd.min.js +1 -15
  4. package/bundles/valtimo-dossier.umd.min.js.map +1 -1
  5. package/esm2015/lib/dossier-detail/dossier-detail.component.js +92 -92
  6. package/esm2015/lib/dossier-detail/tab/audit/audit.component.js +79 -79
  7. package/esm2015/lib/dossier-detail/tab/contact-moments/contact-moments.component.js +90 -91
  8. package/esm2015/lib/dossier-detail/tab/documents/documents.component.js +122 -119
  9. package/esm2015/lib/dossier-detail/tab/progress/progress.component.js +49 -49
  10. package/esm2015/lib/dossier-detail/tab/summary/summary.component.js +126 -126
  11. package/esm2015/lib/dossier-detail-tab-enum.js +24 -24
  12. package/esm2015/lib/dossier-list/dossier-list.component.js +216 -216
  13. package/esm2015/lib/dossier-process-start-modal/dossier-process-start-modal.component.js +130 -131
  14. package/esm2015/lib/dossier-routing.module.js +58 -58
  15. package/esm2015/lib/dossier-supporting-process-start-modal/dossier-supporting-process-start-modal.component.js +125 -126
  16. package/esm2015/lib/dossier-update/dossier-update.component.js +121 -121
  17. package/esm2015/lib/dossier.config.js +29 -29
  18. package/esm2015/lib/dossier.module.js +121 -121
  19. package/esm2015/lib/dossier.service.js +53 -53
  20. package/esm2015/lib/models/index.js +19 -0
  21. package/esm2015/lib/models/tabs.model.js +104 -0
  22. package/esm2015/lib/tab.service.js +44 -44
  23. package/esm2015/public_api.js +32 -31
  24. package/esm2015/valtimo-dossier.js +9 -9
  25. package/fesm2015/valtimo-dossier.js +1457 -1333
  26. package/fesm2015/valtimo-dossier.js.map +1 -1
  27. package/lib/dossier-detail/dossier-detail.component.d.ts +34 -34
  28. package/lib/dossier-detail/tab/audit/audit.component.d.ts +21 -21
  29. package/lib/dossier-detail/tab/contact-moments/contact-moments.component.d.ts +26 -27
  30. package/lib/dossier-detail/tab/documents/documents.component.d.ts +43 -44
  31. package/lib/dossier-detail/tab/progress/progress.component.d.ts +14 -14
  32. package/lib/dossier-detail/tab/summary/summary.component.d.ts +37 -37
  33. package/lib/dossier-detail-tab-enum.d.ts +7 -7
  34. package/lib/dossier-list/dossier-list.component.d.ts +64 -65
  35. package/lib/dossier-process-start-modal/dossier-process-start-modal.component.d.ts +36 -37
  36. package/lib/dossier-routing.module.d.ts +2 -2
  37. package/lib/dossier-supporting-process-start-modal/dossier-supporting-process-start-modal.component.d.ts +34 -35
  38. package/lib/dossier-update/dossier-update.component.d.ts +33 -33
  39. package/lib/dossier.config.d.ts +3 -3
  40. package/lib/dossier.module.d.ts +5 -5
  41. package/lib/dossier.service.d.ts +10 -10
  42. package/lib/models/index.d.ts +1 -0
  43. package/lib/models/tabs.model.d.ts +50 -0
  44. package/lib/tab.service.d.ts +7 -7
  45. package/package.json +1 -1
  46. package/public_api.d.ts +13 -12
  47. package/valtimo-dossier.d.ts +8 -8
  48. package/valtimo-dossier.metadata.json +1 -1
@@ -1,27 +1,26 @@
1
- import { ContactMomentService } from '@valtimo/contact-moment';
2
- import { TimelineItem } from '@valtimo/contract';
3
- import { BehaviorSubject, Observable } from 'rxjs';
4
- import { ModalComponent } from '@valtimo/components';
5
- import { AlertService } from '@valtimo/components';
6
- import { TranslateService } from '@ngx-translate/core';
7
- export declare class DossierDetailTabContactMomentsComponent {
8
- private readonly contactMomentService;
9
- private readonly alertService;
10
- private readonly translateService;
11
- modal: ModalComponent;
12
- readonly refetchContactMoments$: BehaviorSubject<string>;
13
- readonly contactMoments$: Observable<Array<TimelineItem>>;
14
- readonly text$: BehaviorSubject<string>;
15
- readonly channel$: BehaviorSubject<string>;
16
- readonly requestData$: Observable<Array<string>>;
17
- readonly valid$: Observable<boolean>;
18
- readonly disabled$: BehaviorSubject<boolean>;
19
- constructor(contactMomentService: ContactMomentService, alertService: AlertService, translateService: TranslateService);
20
- textChange(text: string): void;
21
- buttonClick(): void;
22
- saveNote(): void;
23
- private disable;
24
- private enable;
25
- private clear;
26
- private refetchContactMoments;
27
- }
1
+ import { ContactMomentService } from '@valtimo/contact-moment';
2
+ import { BehaviorSubject, Observable } from 'rxjs';
3
+ import { ModalComponent, TimelineItem } from '@valtimo/components';
4
+ import { AlertService } from '@valtimo/components';
5
+ import { TranslateService } from '@ngx-translate/core';
6
+ export declare class DossierDetailTabContactMomentsComponent {
7
+ private readonly contactMomentService;
8
+ private readonly alertService;
9
+ private readonly translateService;
10
+ modal: ModalComponent;
11
+ readonly refetchContactMoments$: BehaviorSubject<string>;
12
+ readonly contactMoments$: Observable<Array<TimelineItem>>;
13
+ readonly text$: BehaviorSubject<string>;
14
+ readonly channel$: BehaviorSubject<string>;
15
+ readonly requestData$: Observable<Array<string>>;
16
+ readonly valid$: Observable<boolean>;
17
+ readonly disabled$: BehaviorSubject<boolean>;
18
+ constructor(contactMomentService: ContactMomentService, alertService: AlertService, translateService: TranslateService);
19
+ textChange(text: string): void;
20
+ buttonClick(): void;
21
+ saveNote(): void;
22
+ private disable;
23
+ private enable;
24
+ private clear;
25
+ private refetchContactMoments;
26
+ }
@@ -1,44 +1,43 @@
1
- import { OnInit } from '@angular/core';
2
- import { ActivatedRoute } from '@angular/router';
3
- import { DocumentService } from '@valtimo/document';
4
- import { RelatedFile } from '@valtimo/contract';
5
- import { ToastrService } from 'ngx-toastr';
6
- import { DownloadService, UploadProviderService } from '@valtimo/resource';
7
- import { BehaviorSubject, Observable } from 'rxjs';
8
- import { TranslateService } from '@ngx-translate/core';
9
- import { ConfigService } from '@valtimo/config';
10
- export declare class DossierDetailTabDocumentsComponent implements OnInit {
11
- private readonly route;
12
- private readonly documentService;
13
- private readonly toastrService;
14
- private readonly uploadProviderService;
15
- private readonly downloadService;
16
- private readonly translateService;
17
- private readonly configService;
18
- readonly documentId: string;
19
- readonly documentDefinitionName: string;
20
- readonly maxFileSize: number;
21
- private readonly refetch$;
22
- relatedFiles$: Observable<Array<RelatedFile>>;
23
- fields: ({
24
- key: string;
25
- label: string;
26
- viewType?: undefined;
27
- } | {
28
- key: string;
29
- label: string;
30
- viewType: string;
31
- })[];
32
- actions: {
33
- columnName: string;
34
- iconClass: string;
35
- callback: any;
36
- }[];
37
- readonly uploading$: BehaviorSubject<boolean>;
38
- constructor(route: ActivatedRoute, documentService: DocumentService, toastrService: ToastrService, uploadProviderService: UploadProviderService, downloadService: DownloadService, translateService: TranslateService, configService: ConfigService);
39
- ngOnInit(): void;
40
- fileSelected(file: File): void;
41
- downloadDocument(relatedFile: RelatedFile): void;
42
- removeRelatedFile(relatedFile: RelatedFile): void;
43
- private refetchDocuments;
44
- }
1
+ import { OnInit } from '@angular/core';
2
+ import { ActivatedRoute } from '@angular/router';
3
+ import { DocumentService, RelatedFile } from '@valtimo/document';
4
+ import { ToastrService } from 'ngx-toastr';
5
+ import { DownloadService, UploadProviderService } from '@valtimo/resource';
6
+ import { BehaviorSubject, Observable } from 'rxjs';
7
+ import { TranslateService } from '@ngx-translate/core';
8
+ import { ConfigService } from '@valtimo/config';
9
+ export declare class DossierDetailTabDocumentsComponent implements OnInit {
10
+ private readonly route;
11
+ private readonly documentService;
12
+ private readonly toastrService;
13
+ private readonly uploadProviderService;
14
+ private readonly downloadService;
15
+ private readonly translateService;
16
+ private readonly configService;
17
+ readonly documentId: string;
18
+ readonly documentDefinitionName: string;
19
+ readonly maxFileSize: number;
20
+ private readonly refetch$;
21
+ relatedFiles$: Observable<Array<RelatedFile>>;
22
+ fields: ({
23
+ key: string;
24
+ label: string;
25
+ viewType?: undefined;
26
+ } | {
27
+ key: string;
28
+ label: string;
29
+ viewType: string;
30
+ })[];
31
+ actions: {
32
+ columnName: string;
33
+ iconClass: string;
34
+ callback: any;
35
+ }[];
36
+ readonly uploading$: BehaviorSubject<boolean>;
37
+ constructor(route: ActivatedRoute, documentService: DocumentService, toastrService: ToastrService, uploadProviderService: UploadProviderService, downloadService: DownloadService, translateService: TranslateService, configService: ConfigService);
38
+ ngOnInit(): void;
39
+ fileSelected(file: File): void;
40
+ downloadDocument(relatedFile: RelatedFile): void;
41
+ removeRelatedFile(relatedFile: RelatedFile): void;
42
+ private refetchDocuments;
43
+ }
@@ -1,14 +1,14 @@
1
- import { OnInit } from '@angular/core';
2
- import { ActivatedRoute } from '@angular/router';
3
- import { DocumentService } from '@valtimo/document';
4
- import { ProcessDocumentInstance } from '@valtimo/contract';
5
- export declare class DossierDetailTabProgressComponent implements OnInit {
6
- private route;
7
- private documentService;
8
- processDocumentInstances: ProcessDocumentInstance[];
9
- selectedProcessInstanceId: string;
10
- readonly documentId: string;
11
- constructor(route: ActivatedRoute, documentService: DocumentService);
12
- ngOnInit(): void;
13
- loadProcessInstance(processInstanceId: string): void;
14
- }
1
+ import { OnInit } from '@angular/core';
2
+ import { ActivatedRoute } from '@angular/router';
3
+ import { DocumentService } from '@valtimo/document';
4
+ import { ProcessDocumentInstance } from '@valtimo/document';
5
+ export declare class DossierDetailTabProgressComponent implements OnInit {
6
+ private route;
7
+ private documentService;
8
+ processDocumentInstances: ProcessDocumentInstance[];
9
+ selectedProcessInstanceId: string;
10
+ readonly documentId: string;
11
+ constructor(route: ActivatedRoute, documentService: DocumentService);
12
+ ngOnInit(): void;
13
+ loadProcessInstance(processInstanceId: string): void;
14
+ }
@@ -1,37 +1,37 @@
1
- import { ElementRef, OnInit, Renderer2 } from '@angular/core';
2
- import { ProcessService } from '@valtimo/process';
3
- import { ActivatedRoute, Router } from '@angular/router';
4
- import { DocumentService } from '@valtimo/document';
5
- import { TaskDetailModalComponent, TaskService } from '@valtimo/task';
6
- import { FormService } from '@valtimo/form';
7
- import { Document, ProcessDocumentInstance, ProcessInstanceTask, ValtimoFormioOptions } from '@valtimo/contract';
8
- import { FormioForm } from 'angular-formio';
9
- import { UserProviderService } from '@valtimo/security';
10
- export declare class DossierDetailTabSummaryComponent implements OnInit {
11
- private router;
12
- private documentService;
13
- private taskService;
14
- private processService;
15
- private el;
16
- private renderer;
17
- private route;
18
- private formService;
19
- private userProviderService;
20
- readonly documentDefinitionName: string;
21
- document: Document;
22
- documentId: string;
23
- processDocumentInstances: ProcessDocumentInstance[];
24
- private snapshot;
25
- tasks: ProcessInstanceTask[];
26
- moment: any;
27
- formDefinition: FormioForm;
28
- options: ValtimoFormioOptions;
29
- roles: string[];
30
- taskDetail: TaskDetailModalComponent;
31
- constructor(router: Router, documentService: DocumentService, taskService: TaskService, processService: ProcessService, el: ElementRef, renderer: Renderer2, route: ActivatedRoute, formService: FormService, userProviderService: UserProviderService);
32
- ngOnInit(): void;
33
- init(): void;
34
- loadProcessDocumentInstances(documentId: string): void;
35
- private loadProcessInstanceTasks;
36
- rowTaskClick(task: any): void;
37
- }
1
+ import { ElementRef, OnInit, Renderer2 } from '@angular/core';
2
+ import { ProcessService, ProcessInstanceTask } from '@valtimo/process';
3
+ import { ActivatedRoute, Router } from '@angular/router';
4
+ import { DocumentService, Document, ProcessDocumentInstance } from '@valtimo/document';
5
+ import { TaskDetailModalComponent, TaskService } from '@valtimo/task';
6
+ import { FormService } from '@valtimo/form';
7
+ import { ValtimoFormioOptions } from '@valtimo/components';
8
+ import { FormioForm } from 'angular-formio';
9
+ import { UserProviderService } from '@valtimo/security';
10
+ export declare class DossierDetailTabSummaryComponent implements OnInit {
11
+ private router;
12
+ private documentService;
13
+ private taskService;
14
+ private processService;
15
+ private el;
16
+ private renderer;
17
+ private route;
18
+ private formService;
19
+ private userProviderService;
20
+ readonly documentDefinitionName: string;
21
+ document: Document;
22
+ documentId: string;
23
+ processDocumentInstances: ProcessDocumentInstance[];
24
+ private snapshot;
25
+ tasks: ProcessInstanceTask[];
26
+ moment: any;
27
+ formDefinition: FormioForm;
28
+ options: ValtimoFormioOptions;
29
+ roles: string[];
30
+ taskDetail: TaskDetailModalComponent;
31
+ constructor(router: Router, documentService: DocumentService, taskService: TaskService, processService: ProcessService, el: ElementRef, renderer: Renderer2, route: ActivatedRoute, formService: FormService, userProviderService: UserProviderService);
32
+ ngOnInit(): void;
33
+ init(): void;
34
+ loadProcessDocumentInstances(documentId: string): void;
35
+ private loadProcessInstanceTasks;
36
+ rowTaskClick(task: any): void;
37
+ }
@@ -1,7 +1,7 @@
1
- export declare enum DefaultTabs {
2
- summary = "summary",
3
- progress = "progress",
4
- audit = "audit",
5
- documents = "documents",
6
- contactMoments = "contact-moments"
7
- }
1
+ export declare enum DefaultTabs {
2
+ summary = "summary",
3
+ progress = "progress",
4
+ audit = "audit",
5
+ documents = "documents",
6
+ contactMoments = "contact-moments"
7
+ }
@@ -1,65 +1,64 @@
1
- import { OnDestroy, OnInit } from '@angular/core';
2
- import { ActivatedRoute, Router } from '@angular/router';
3
- import { TranslateService } from '@ngx-translate/core';
4
- import { ProcessDocumentDefinition, SortState } from '@valtimo/contract';
5
- import { DocumentSearchRequest, DocumentService } from '@valtimo/document';
6
- import { DossierProcessStartModalComponent } from '../dossier-process-start-modal/dossier-process-start-modal.component';
7
- import { DossierService } from '../dossier.service';
8
- export declare class DossierListComponent implements OnInit, OnDestroy {
9
- private route;
10
- private router;
11
- private documentService;
12
- private readonly translateService;
13
- private readonly dossierService;
14
- documentDefinitionName: string;
15
- implementationDefinitions: any;
16
- showCreateDocument: boolean;
17
- schema: any;
18
- documents: any;
19
- items: Array<any>;
20
- fields: Array<any>;
21
- processDefinitionListFields: Array<any>;
22
- processDocumentDefinitions: ProcessDocumentDefinition[];
23
- pagination: {
24
- collectionSize: number;
25
- page: number;
26
- size: number;
27
- maxPaginationItemSize: number;
28
- sort: any;
29
- };
30
- globalSearchFilter: string | undefined;
31
- sequence: number | undefined;
32
- createdBy: string | undefined;
33
- private selectedProcessDocumentDefinition;
34
- private modalListenerAdded;
35
- processStart: DossierProcessStartModalComponent;
36
- private routerSubscription;
37
- private translationSubscription;
38
- initialSortState: SortState;
39
- constructor(route: ActivatedRoute, router: Router, documentService: DocumentService, translateService: TranslateService, dossierService: DossierService);
40
- ngOnInit(): void;
41
- ngOnDestroy(): void;
42
- paginationSet(): void;
43
- private routeEvent;
44
- doInit(): void;
45
- private openTranslationSubscription;
46
- getData(): void;
47
- doSearch(): void;
48
- private findDocuments;
49
- getAllAssociatedProcessDefinitions(): void;
50
- getCachedSearch(): DocumentSearchRequest;
51
- private buildDocumentSearchRequest;
52
- private storeSearch;
53
- private getCachedDocumentSearchRequest;
54
- private hasCachedSearchRequest;
55
- private getCachedKey;
56
- rowClick(document: any): void;
57
- startDossier(): void;
58
- private showStartProcessModal;
59
- selectProcess(processDocumentDefinition: ProcessDocumentDefinition): void;
60
- private findDocumentDefinition;
61
- private transformDocuments;
62
- paginationClicked(page: number): void;
63
- sortChanged(sortState: SortState): void;
64
- getInitialSortState(): SortState;
65
- }
1
+ import { OnDestroy, OnInit } from '@angular/core';
2
+ import { ActivatedRoute, Router } from '@angular/router';
3
+ import { TranslateService } from '@ngx-translate/core';
4
+ import { DocumentSearchRequest, DocumentService, SortState, ProcessDocumentDefinition } from '@valtimo/document';
5
+ import { DossierProcessStartModalComponent } from '../dossier-process-start-modal/dossier-process-start-modal.component';
6
+ import { DossierService } from '../dossier.service';
7
+ export declare class DossierListComponent implements OnInit, OnDestroy {
8
+ private route;
9
+ private router;
10
+ private documentService;
11
+ private readonly translateService;
12
+ private readonly dossierService;
13
+ documentDefinitionName: string;
14
+ implementationDefinitions: any;
15
+ showCreateDocument: boolean;
16
+ schema: any;
17
+ documents: any;
18
+ items: Array<any>;
19
+ fields: Array<any>;
20
+ processDefinitionListFields: Array<any>;
21
+ processDocumentDefinitions: ProcessDocumentDefinition[];
22
+ pagination: {
23
+ collectionSize: number;
24
+ page: number;
25
+ size: number;
26
+ maxPaginationItemSize: number;
27
+ sort: any;
28
+ };
29
+ globalSearchFilter: string | undefined;
30
+ sequence: number | undefined;
31
+ createdBy: string | undefined;
32
+ private selectedProcessDocumentDefinition;
33
+ private modalListenerAdded;
34
+ processStart: DossierProcessStartModalComponent;
35
+ private routerSubscription;
36
+ private translationSubscription;
37
+ initialSortState: SortState;
38
+ constructor(route: ActivatedRoute, router: Router, documentService: DocumentService, translateService: TranslateService, dossierService: DossierService);
39
+ ngOnInit(): void;
40
+ ngOnDestroy(): void;
41
+ paginationSet(): void;
42
+ private routeEvent;
43
+ doInit(): void;
44
+ private openTranslationSubscription;
45
+ getData(): void;
46
+ doSearch(): void;
47
+ private findDocuments;
48
+ getAllAssociatedProcessDefinitions(): void;
49
+ getCachedSearch(): DocumentSearchRequest;
50
+ private buildDocumentSearchRequest;
51
+ private storeSearch;
52
+ private getCachedDocumentSearchRequest;
53
+ private hasCachedSearchRequest;
54
+ private getCachedKey;
55
+ rowClick(document: any): void;
56
+ startDossier(): void;
57
+ private showStartProcessModal;
58
+ selectProcess(processDocumentDefinition: ProcessDocumentDefinition): void;
59
+ private findDocumentDefinition;
60
+ private transformDocuments;
61
+ paginationClicked(page: number): void;
62
+ sortChanged(sortState: SortState): void;
63
+ getInitialSortState(): SortState;
64
+ }
@@ -1,37 +1,36 @@
1
- import { OnInit } from '@angular/core';
2
- import { DocumentService } from '@valtimo/document';
3
- import { FormioSubmission, ProcessDocumentDefinition, ValtimoFormioOptions } from '@valtimo/contract';
4
- import { ActivatedRoute, Router } from '@angular/router';
5
- import { ProcessService } from '@valtimo/process';
6
- import { FormioComponent, ModalComponent } from '@valtimo/components';
7
- import { FormioForm } from 'angular-formio';
8
- import { FormLinkService } from '@valtimo/form-link';
9
- import { NGXLogger } from 'ngx-logger';
10
- import { UserProviderService } from '@valtimo/security';
11
- export declare class DossierProcessStartModalComponent implements OnInit {
12
- private route;
13
- private router;
14
- private processService;
15
- private documentService;
16
- private formLinkService;
17
- private userProviderService;
18
- private logger;
19
- processDefinitionKey: string;
20
- documentDefinitionName: string;
21
- processName: string;
22
- formDefinition: FormioForm;
23
- formioSubmission: FormioSubmission;
24
- private formAssociation;
25
- options: ValtimoFormioOptions;
26
- isAdmin: boolean;
27
- form: FormioComponent;
28
- modal: ModalComponent;
29
- constructor(route: ActivatedRoute, router: Router, processService: ProcessService, documentService: DocumentService, formLinkService: FormLinkService, userProviderService: UserProviderService, logger: NGXLogger);
30
- ngOnInit(): void;
31
- private loadFormDefinition;
32
- gotoFormLinkScreen(): void;
33
- get modalTitle(): string;
34
- openModal(processDocumentDefinition: ProcessDocumentDefinition): void;
35
- onSubmit(submission: FormioSubmission): void;
36
- isUserAdmin(): void;
37
- }
1
+ import { OnInit } from '@angular/core';
2
+ import { DocumentService, ProcessDocumentDefinition } from '@valtimo/document';
3
+ import { ActivatedRoute, Router } from '@angular/router';
4
+ import { ProcessService } from '@valtimo/process';
5
+ import { FormioComponent, ModalComponent, FormioSubmission, ValtimoFormioOptions } from '@valtimo/components';
6
+ import { FormioForm } from 'angular-formio';
7
+ import { FormLinkService } from '@valtimo/form-link';
8
+ import { NGXLogger } from 'ngx-logger';
9
+ import { UserProviderService } from '@valtimo/security';
10
+ export declare class DossierProcessStartModalComponent implements OnInit {
11
+ private route;
12
+ private router;
13
+ private processService;
14
+ private documentService;
15
+ private formLinkService;
16
+ private userProviderService;
17
+ private logger;
18
+ processDefinitionKey: string;
19
+ documentDefinitionName: string;
20
+ processName: string;
21
+ formDefinition: FormioForm;
22
+ formioSubmission: FormioSubmission;
23
+ private formAssociation;
24
+ options: ValtimoFormioOptions;
25
+ isAdmin: boolean;
26
+ form: FormioComponent;
27
+ modal: ModalComponent;
28
+ constructor(route: ActivatedRoute, router: Router, processService: ProcessService, documentService: DocumentService, formLinkService: FormLinkService, userProviderService: UserProviderService, logger: NGXLogger);
29
+ ngOnInit(): void;
30
+ private loadFormDefinition;
31
+ gotoFormLinkScreen(): void;
32
+ get modalTitle(): string;
33
+ openModal(processDocumentDefinition: ProcessDocumentDefinition): void;
34
+ onSubmit(submission: FormioSubmission): void;
35
+ isUserAdmin(): void;
36
+ }
@@ -1,2 +1,2 @@
1
- export declare class DossierRoutingModule {
2
- }
1
+ export declare class DossierRoutingModule {
2
+ }
@@ -1,35 +1,34 @@
1
- import { EventEmitter } from '@angular/core';
2
- import { FormioForm } from 'angular-formio';
3
- import { FormioComponent, ModalComponent } from '@valtimo/components';
4
- import { ActivatedRoute, Router } from '@angular/router';
5
- import { ProcessService } from '@valtimo/process';
6
- import { DocumentService } from '@valtimo/document';
7
- import { FormLinkService } from '@valtimo/form-link';
8
- import { NGXLogger } from 'ngx-logger';
9
- import { FormioSubmission, ProcessDocumentDefinition, ValtimoFormioOptions } from '@valtimo/contract';
10
- export declare class DossierSupportingProcessStartModalComponent {
11
- private route;
12
- private router;
13
- private processService;
14
- private documentService;
15
- private formLinkService;
16
- private logger;
17
- processDefinitionKey: string;
18
- documentDefinitionName: string;
19
- processName: string;
20
- formDefinition: FormioForm;
21
- formioSubmission: FormioSubmission;
22
- private formAssociation;
23
- options: ValtimoFormioOptions;
24
- submission: object;
25
- form: FormioComponent;
26
- modal: ModalComponent;
27
- private documentId;
28
- formSubmit: EventEmitter<any>;
29
- constructor(route: ActivatedRoute, router: Router, processService: ProcessService, documentService: DocumentService, formLinkService: FormLinkService, logger: NGXLogger);
30
- private loadFormDefinition;
31
- get modalTitle(): string;
32
- openModal(processDocumentDefinition: ProcessDocumentDefinition, documentId: string): void;
33
- onSubmit(submission: FormioSubmission): void;
34
- gotoFormLinkScreen(): void;
35
- }
1
+ import { EventEmitter } from '@angular/core';
2
+ import { FormioForm } from 'angular-formio';
3
+ import { FormioComponent, ModalComponent, FormioSubmission, ValtimoFormioOptions } from '@valtimo/components';
4
+ import { ActivatedRoute, Router } from '@angular/router';
5
+ import { ProcessService } from '@valtimo/process';
6
+ import { DocumentService, ProcessDocumentDefinition } from '@valtimo/document';
7
+ import { FormLinkService } from '@valtimo/form-link';
8
+ import { NGXLogger } from 'ngx-logger';
9
+ export declare class DossierSupportingProcessStartModalComponent {
10
+ private route;
11
+ private router;
12
+ private processService;
13
+ private documentService;
14
+ private formLinkService;
15
+ private logger;
16
+ processDefinitionKey: string;
17
+ documentDefinitionName: string;
18
+ processName: string;
19
+ formDefinition: FormioForm;
20
+ formioSubmission: FormioSubmission;
21
+ private formAssociation;
22
+ options: ValtimoFormioOptions;
23
+ submission: object;
24
+ form: FormioComponent;
25
+ modal: ModalComponent;
26
+ private documentId;
27
+ formSubmit: EventEmitter<any>;
28
+ constructor(route: ActivatedRoute, router: Router, processService: ProcessService, documentService: DocumentService, formLinkService: FormLinkService, logger: NGXLogger);
29
+ private loadFormDefinition;
30
+ get modalTitle(): string;
31
+ openModal(processDocumentDefinition: ProcessDocumentDefinition, documentId: string): void;
32
+ onSubmit(submission: FormioSubmission): void;
33
+ gotoFormLinkScreen(): void;
34
+ }
@@ -1,33 +1,33 @@
1
- import { OnInit } from '@angular/core';
2
- import { TaskService } from '@valtimo/task';
3
- import { ActivatedRoute } from '@angular/router';
4
- import { ToastrService } from 'ngx-toastr';
5
- import { Location } from '@angular/common';
6
- import { DocumentService } from '@valtimo/document';
7
- import { DossierService } from '../dossier.service';
8
- export declare class DossierUpdateComponent implements OnInit {
9
- private taskService;
10
- private documentService;
11
- private route;
12
- private toastr;
13
- private location;
14
- task: any;
15
- taskId: string;
16
- schema: any;
17
- documentId: string;
18
- document: any;
19
- page: any;
20
- documentDefinitionName: string;
21
- implementationDefinitions: any;
22
- customDefinitions: any;
23
- constructor(taskService: TaskService, documentService: DocumentService, route: ActivatedRoute, toastr: ToastrService, location: Location, dossierService: DossierService);
24
- ngOnInit(): void;
25
- private loadDocumentDefinition;
26
- private loadDocument;
27
- getTask(id: string): void;
28
- reset(): void;
29
- back(): void;
30
- save(): void;
31
- submit(data: object): void;
32
- returnZero(): number;
33
- }
1
+ import { OnInit } from '@angular/core';
2
+ import { TaskService } from '@valtimo/task';
3
+ import { ActivatedRoute } from '@angular/router';
4
+ import { ToastrService } from 'ngx-toastr';
5
+ import { Location } from '@angular/common';
6
+ import { DocumentService } from '@valtimo/document';
7
+ import { DossierService } from '../dossier.service';
8
+ export declare class DossierUpdateComponent implements OnInit {
9
+ private taskService;
10
+ private documentService;
11
+ private route;
12
+ private toastr;
13
+ private location;
14
+ task: any;
15
+ taskId: string;
16
+ schema: any;
17
+ documentId: string;
18
+ document: any;
19
+ page: any;
20
+ documentDefinitionName: string;
21
+ implementationDefinitions: any;
22
+ customDefinitions: any;
23
+ constructor(taskService: TaskService, documentService: DocumentService, route: ActivatedRoute, toastr: ToastrService, location: Location, dossierService: DossierService);
24
+ ngOnInit(): void;
25
+ private loadDocumentDefinition;
26
+ private loadDocument;
27
+ getTask(id: string): void;
28
+ reset(): void;
29
+ back(): void;
30
+ save(): void;
31
+ submit(data: object): void;
32
+ returnZero(): number;
33
+ }
@@ -1,3 +1,3 @@
1
- import { InjectionToken } from '@angular/core';
2
- export declare const TAB_MAP: InjectionToken<Map<string, object>>;
3
- export declare const DEFAULT_TABS: Map<string, object>;
1
+ import { InjectionToken } from '@angular/core';
2
+ export declare const TAB_MAP: InjectionToken<Map<string, object>>;
3
+ export declare const DEFAULT_TABS: Map<string, object>;