@valtimo/dossier 11.3.2 → 12.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2022/lib/components/dossier-assign-user/dossier-assign-user.component.mjs +7 -7
- package/esm2022/lib/components/dossier-bulk-assign-modal/dossier-bulk-assign-modal.component.mjs +7 -7
- package/esm2022/lib/components/dossier-detail/dossier-detail.component.mjs +55 -16
- package/esm2022/lib/components/dossier-detail/tab/audit/audit.component.mjs +7 -7
- package/esm2022/lib/components/dossier-detail/tab/documents/documents.component.mjs +52 -16
- package/esm2022/lib/components/dossier-detail/tab/formio/formio.component.mjs +7 -7
- package/esm2022/lib/components/dossier-detail/tab/not-found/not-found.component.mjs +28 -0
- package/esm2022/lib/components/dossier-detail/tab/notes/notes.component.mjs +14 -9
- package/esm2022/lib/components/dossier-detail/tab/progress/progress.component.mjs +8 -12
- package/esm2022/lib/components/dossier-detail/tab/s3-documents/s3-documents.component.mjs +8 -9
- package/esm2022/lib/components/dossier-detail/tab/summary/summary.component.mjs +15 -80
- package/esm2022/lib/components/dossier-detail/tab/widgets/components/collection/widget-collection.component.mjs +192 -0
- package/esm2022/lib/components/dossier-detail/tab/widgets/components/custom/widget-custom.component.mjs +80 -0
- package/esm2022/lib/components/dossier-detail/tab/widgets/components/field/widget-field.component.mjs +116 -0
- package/esm2022/lib/components/dossier-detail/tab/widgets/components/formio/widget-formio.component.mjs +67 -0
- package/esm2022/lib/components/dossier-detail/tab/widgets/components/table/widget-table.component.mjs +126 -0
- package/esm2022/lib/components/dossier-detail/tab/widgets/components/widget-block/widget-block.component.mjs +154 -0
- package/esm2022/lib/components/dossier-detail/tab/widgets/components/widgets-container/widgets-container.component.mjs +74 -0
- package/esm2022/lib/components/dossier-detail/tab/widgets/widgets.component.mjs +74 -0
- package/esm2022/lib/components/dossier-detail-task-list/dossier-detail-task-list.component.mjs +131 -0
- package/esm2022/lib/components/dossier-list/dossier-list.component.mjs +80 -55
- package/esm2022/lib/components/dossier-list-actions/dossier-list-actions.component.mjs +7 -7
- package/esm2022/lib/components/dossier-process-start-modal/dossier-process-start-modal.component.mjs +60 -18
- package/esm2022/lib/components/dossier-supporting-process-start-modal/dossier-supporting-process-start-modal.component.mjs +9 -9
- package/esm2022/lib/components/dossier-update/dossier-update.component.mjs +7 -7
- package/esm2022/lib/components/note-modal/note-modal.component.mjs +7 -7
- package/esm2022/lib/constants/case-status.constants.mjs +26 -0
- package/esm2022/lib/constants/case-tab-token.mjs +2 -2
- package/esm2022/lib/constants/case-widget.constants.mjs +19 -0
- package/esm2022/lib/{models/zaakobjecten.model.mjs → constants/custom-case-widget-token.mjs} +5 -3
- package/esm2022/lib/constants/dossier-list.constants.mjs +39 -0
- package/esm2022/lib/constants/index.mjs +20 -1
- package/esm2022/lib/constants/tab.mjs +2 -6
- package/esm2022/lib/dossier-routing.module.mjs +6 -6
- package/esm2022/lib/dossier.module.mjs +40 -29
- package/esm2022/lib/models/candidate-user.model.mjs +2 -2
- package/esm2022/lib/models/case-widget-content.model.mjs +17 -0
- package/esm2022/lib/models/case-widget-display.model.mjs +13 -0
- package/esm2022/lib/models/case-widget.model.mjs +25 -0
- package/esm2022/lib/models/dossier-detail-tab.model.mjs +2 -4
- package/esm2022/lib/models/dossier-parameters.model.mjs +2 -2
- package/esm2022/lib/models/index.mjs +7 -5
- package/esm2022/lib/models/notes.model.mjs +2 -2
- package/esm2022/lib/models/search.model.mjs +2 -2
- package/esm2022/lib/models/tab-api.model.mjs +3 -2
- package/esm2022/lib/models/tabs.model.mjs +17 -8
- package/esm2022/lib/permissions/dossier-detail.permissions.mjs +2 -2
- package/esm2022/lib/permissions/index.mjs +2 -2
- package/esm2022/lib/pipes/index.mjs +2 -2
- package/esm2022/lib/pipes/tab-translate/index.mjs +2 -2
- package/esm2022/lib/pipes/tab-translate/tab-translate-pipe.module.mjs +6 -6
- package/esm2022/lib/pipes/tab-translate/tab-translate.pipe.mjs +6 -6
- package/esm2022/lib/services/dossier-bulk-assign.service.mjs +5 -5
- package/esm2022/lib/services/dossier-column.service.mjs +7 -7
- package/esm2022/lib/services/dossier-list-assignee.service.mjs +6 -6
- package/esm2022/lib/services/dossier-list-pagination.service.mjs +6 -6
- package/esm2022/lib/services/dossier-list-search.service.mjs +6 -6
- package/esm2022/lib/services/dossier-list-status.service.mjs +62 -0
- package/esm2022/lib/services/dossier-list.service.mjs +6 -6
- package/esm2022/lib/services/dossier-parameter.service.mjs +44 -18
- package/esm2022/lib/services/dossier-tab-api.service.mjs +34 -13
- package/esm2022/lib/services/dossier-tab.service.mjs +57 -21
- package/esm2022/lib/services/dossier-widgets-api.service.mjs +46 -0
- package/esm2022/lib/services/dossier-widgets-layout.service.mjs +97 -0
- package/esm2022/lib/services/dossier.service.mjs +6 -6
- package/esm2022/lib/services/index.mjs +6 -3
- package/esm2022/lib/services/notes.service.mjs +6 -6
- package/esm2022/lib/services/start-modal.service.mjs +23 -8
- package/esm2022/public_api.mjs +2 -4
- package/fesm2022/valtimo-dossier.mjs +1941 -985
- package/fesm2022/valtimo-dossier.mjs.map +1 -1
- package/lib/components/dossier-detail/dossier-detail.component.d.ts +15 -3
- package/lib/components/dossier-detail/dossier-detail.component.d.ts.map +1 -1
- package/lib/components/dossier-detail/tab/documents/documents.component.d.ts +16 -6
- package/lib/components/dossier-detail/tab/documents/documents.component.d.ts.map +1 -1
- package/lib/components/dossier-detail/tab/not-found/not-found.component.d.ts +6 -0
- package/lib/components/dossier-detail/tab/not-found/not-found.component.d.ts.map +1 -0
- package/lib/components/dossier-detail/tab/notes/notes.component.d.ts +2 -1
- package/lib/components/dossier-detail/tab/notes/notes.component.d.ts.map +1 -1
- package/lib/components/dossier-detail/tab/progress/progress.component.d.ts.map +1 -1
- package/lib/components/dossier-detail/tab/s3-documents/s3-documents.component.d.ts +1 -2
- package/lib/components/dossier-detail/tab/s3-documents/s3-documents.component.d.ts.map +1 -1
- package/lib/components/dossier-detail/tab/summary/summary.component.d.ts +7 -26
- package/lib/components/dossier-detail/tab/summary/summary.component.d.ts.map +1 -1
- package/lib/components/dossier-detail/tab/widgets/components/collection/widget-collection.component.d.ts +47 -0
- package/lib/components/dossier-detail/tab/widgets/components/collection/widget-collection.component.d.ts.map +1 -0
- package/lib/components/dossier-detail/tab/widgets/components/custom/widget-custom.component.d.ts +22 -0
- package/lib/components/dossier-detail/tab/widgets/components/custom/widget-custom.component.d.ts.map +1 -0
- package/lib/components/dossier-detail/tab/widgets/components/field/widget-field.component.d.ts +31 -0
- package/lib/components/dossier-detail/tab/widgets/components/field/widget-field.component.d.ts.map +1 -0
- package/lib/components/dossier-detail/tab/widgets/components/formio/widget-formio.component.d.ts +21 -0
- package/lib/components/dossier-detail/tab/widgets/components/formio/widget-formio.component.d.ts.map +1 -0
- package/lib/components/dossier-detail/tab/widgets/components/table/widget-table.component.d.ts +31 -0
- package/lib/components/dossier-detail/tab/widgets/components/table/widget-table.component.d.ts.map +1 -0
- package/lib/components/dossier-detail/tab/widgets/components/widget-block/widget-block.component.d.ts +43 -0
- package/lib/components/dossier-detail/tab/widgets/components/widget-block/widget-block.component.d.ts.map +1 -0
- package/lib/components/dossier-detail/tab/widgets/components/widgets-container/widgets-container.component.d.ts +20 -0
- package/lib/components/dossier-detail/tab/widgets/components/widgets-container/widgets-container.component.d.ts.map +1 -0
- package/lib/components/dossier-detail/tab/widgets/widgets.component.d.ts +25 -0
- package/lib/components/dossier-detail/tab/widgets/widgets.component.d.ts.map +1 -0
- package/lib/components/dossier-detail-task-list/dossier-detail-task-list.component.d.ts +26 -0
- package/lib/components/dossier-detail-task-list/dossier-detail-task-list.component.d.ts.map +1 -0
- package/lib/components/dossier-list/dossier-list.component.d.ts +15 -16
- package/lib/components/dossier-list/dossier-list.component.d.ts.map +1 -1
- package/lib/components/dossier-process-start-modal/dossier-process-start-modal.component.d.ts +14 -7
- package/lib/components/dossier-process-start-modal/dossier-process-start-modal.component.d.ts.map +1 -1
- package/lib/components/dossier-supporting-process-start-modal/dossier-supporting-process-start-modal.component.d.ts +1 -1
- package/lib/components/dossier-supporting-process-start-modal/dossier-supporting-process-start-modal.component.d.ts.map +1 -1
- package/lib/constants/case-status.constants.d.ts +5 -0
- package/lib/constants/case-status.constants.d.ts.map +1 -0
- package/lib/constants/case-widget.constants.d.ts +4 -0
- package/lib/constants/case-widget.constants.d.ts.map +1 -0
- package/lib/constants/custom-case-widget-token.d.ts +5 -0
- package/lib/constants/custom-case-widget-token.d.ts.map +1 -0
- package/lib/constants/dossier-list.constants.d.ts +7 -0
- package/lib/constants/dossier-list.constants.d.ts.map +1 -0
- package/lib/constants/index.d.ts +4 -0
- package/lib/constants/index.d.ts.map +1 -1
- package/lib/constants/tab.d.ts.map +1 -1
- package/lib/dossier.module.d.ts +25 -26
- package/lib/dossier.module.d.ts.map +1 -1
- package/lib/models/case-widget-content.model.d.ts +51 -0
- package/lib/models/case-widget-content.model.d.ts.map +1 -0
- package/lib/models/case-widget-display.model.d.ts +44 -0
- package/lib/models/case-widget-display.model.d.ts.map +1 -0
- package/lib/models/case-widget.model.d.ts +105 -0
- package/lib/models/case-widget.model.d.ts.map +1 -0
- package/lib/models/dossier-detail-tab.model.d.ts +0 -2
- package/lib/models/dossier-detail-tab.model.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/index.d.ts +5 -3
- package/lib/models/index.d.ts.map +1 -1
- package/lib/models/tab-api.model.d.ts +13 -2
- package/lib/models/tab-api.model.d.ts.map +1 -1
- package/lib/models/tabs.model.d.ts +6 -1
- package/lib/models/tabs.model.d.ts.map +1 -1
- package/lib/services/dossier-list-status.service.d.ts +21 -0
- package/lib/services/dossier-list-status.service.d.ts.map +1 -0
- package/lib/services/dossier-list.service.d.ts +1 -1
- package/lib/services/dossier-list.service.d.ts.map +1 -1
- package/lib/services/dossier-parameter.service.d.ts +4 -2
- package/lib/services/dossier-parameter.service.d.ts.map +1 -1
- package/lib/services/dossier-tab-api.service.d.ts +6 -7
- package/lib/services/dossier-tab-api.service.d.ts.map +1 -1
- package/lib/services/dossier-tab.service.d.ts +15 -4
- package/lib/services/dossier-tab.service.d.ts.map +1 -1
- package/lib/services/dossier-widgets-api.service.d.ts +15 -0
- package/lib/services/dossier-widgets-api.service.d.ts.map +1 -0
- package/lib/services/dossier-widgets-layout.service.d.ts +35 -0
- package/lib/services/dossier-widgets-layout.service.d.ts.map +1 -0
- package/lib/services/index.d.ts +4 -1
- package/lib/services/index.d.ts.map +1 -1
- package/lib/services/start-modal.service.d.ts.map +1 -1
- package/package.json +8 -6
- package/public_api.d.ts +0 -2
- package/public_api.d.ts.map +1 -1
- package/esm2022/lib/components/dossier-detail/tab/contact-moments/contact-moments.component.mjs +0 -86
- package/esm2022/lib/components/dossier-detail/tab/documenten-api-documents/documenten-api-documents.component.mjs +0 -144
- package/esm2022/lib/components/dossier-detail/tab/object-type/object-type.component.mjs +0 -121
- package/esm2022/lib/components/dossier-detail/tab/zaakobjecten/zaakobjecten.component.mjs +0 -112
- package/esm2022/lib/services/file-sort.service.mjs +0 -39
- package/esm2022/lib/services/zaakobjecten.service.mjs +0 -44
- package/lib/components/dossier-detail/tab/contact-moments/contact-moments.component.d.ts +0 -30
- package/lib/components/dossier-detail/tab/contact-moments/contact-moments.component.d.ts.map +0 -1
- package/lib/components/dossier-detail/tab/documenten-api-documents/documenten-api-documents.component.d.ts +0 -55
- package/lib/components/dossier-detail/tab/documenten-api-documents/documenten-api-documents.component.d.ts.map +0 -1
- package/lib/components/dossier-detail/tab/object-type/object-type.component.d.ts +0 -32
- package/lib/components/dossier-detail/tab/object-type/object-type.component.d.ts.map +0 -1
- package/lib/components/dossier-detail/tab/zaakobjecten/zaakobjecten.component.d.ts +0 -32
- package/lib/components/dossier-detail/tab/zaakobjecten/zaakobjecten.component.d.ts.map +0 -1
- package/lib/models/zaakobjecten.model.d.ts +0 -26
- package/lib/models/zaakobjecten.model.d.ts.map +0 -1
- package/lib/services/file-sort.service.d.ts +0 -11
- package/lib/services/file-sort.service.d.ts.map +0 -1
- package/lib/services/zaakobjecten.service.d.ts +0 -17
- package/lib/services/zaakobjecten.service.d.ts.map +0 -1
|
@@ -2,13 +2,13 @@ import { OnDestroy, OnInit } from '@angular/core';
|
|
|
2
2
|
import { ActivatedRoute, Router } from '@angular/router';
|
|
3
3
|
import { TranslateService } from '@ngx-translate/core';
|
|
4
4
|
import { PermissionService } from '@valtimo/access-control';
|
|
5
|
-
import { BreadcrumbService, CarbonListComponent,
|
|
5
|
+
import { BreadcrumbService, CarbonListComponent, CarbonListNoResultsMessage, CarbonPaginationSelection, ListField, PageTitleService, Pagination } from '@valtimo/components';
|
|
6
6
|
import { AssigneeFilter, ConfigService, DossierListTab, SearchField, SearchFieldValues, SortState } from '@valtimo/config';
|
|
7
|
-
import { DocumentService } from '@valtimo/document';
|
|
7
|
+
import { DocumentService, InternalCaseStatus } from '@valtimo/document';
|
|
8
8
|
import { Tabs } from 'carbon-components-angular';
|
|
9
9
|
import { BehaviorSubject, Observable } from 'rxjs';
|
|
10
|
+
import { DossierBulkAssignService, DossierColumnService, DossierListAssigneeService, DossierListPaginationService, DossierListSearchService, DossierListService, DossierListStatusService, DossierParameterService } from '../../services';
|
|
10
11
|
import { DossierListActionsComponent } from '../dossier-list-actions/dossier-list-actions.component';
|
|
11
|
-
import { DossierBulkAssignService, DossierColumnService, DossierListAssigneeService, DossierListPaginationService, DossierListSearchService, DossierListService, DossierParameterService } from '../../services';
|
|
12
12
|
import * as i0 from "@angular/core";
|
|
13
13
|
export declare class DossierListComponent implements OnInit, OnDestroy {
|
|
14
14
|
private readonly assigneeService;
|
|
@@ -26,6 +26,7 @@ export declare class DossierListComponent implements OnInit, OnDestroy {
|
|
|
26
26
|
private readonly searchService;
|
|
27
27
|
private readonly translateService;
|
|
28
28
|
private readonly permissionService;
|
|
29
|
+
private readonly statusService;
|
|
29
30
|
carbonList: CarbonListComponent;
|
|
30
31
|
listActionsComponent: DossierListActionsComponent;
|
|
31
32
|
tabsComponent: Tabs;
|
|
@@ -35,24 +36,23 @@ export declare class DossierListComponent implements OnInit, OnDestroy {
|
|
|
35
36
|
loadingSearchFields: boolean;
|
|
36
37
|
loadingAssigneeFilter: boolean;
|
|
37
38
|
loadingDocumentItems: boolean;
|
|
39
|
+
loadingStatuses: boolean;
|
|
38
40
|
pagination: Pagination;
|
|
39
41
|
canHaveAssignee: boolean;
|
|
40
42
|
visibleDossierTabs: Array<DossierListTab> | null;
|
|
41
43
|
readonly defaultTabs: DossierListTab[];
|
|
42
|
-
readonly tableTranslations: CarbonListTranslations;
|
|
43
|
-
readonly noResultsMessage$: BehaviorSubject<
|
|
44
|
-
description: string;
|
|
45
|
-
isSearchResult: boolean;
|
|
46
|
-
title: string;
|
|
47
|
-
}>;
|
|
44
|
+
readonly tableTranslations: import("@valtimo/components/lib/models/carbon-list.model").CarbonListTranslations;
|
|
45
|
+
readonly noResultsMessage$: BehaviorSubject<CarbonListNoResultsMessage>;
|
|
48
46
|
readonly showAssignModal$: BehaviorSubject<boolean>;
|
|
49
47
|
readonly showChangePageModal$: BehaviorSubject<boolean>;
|
|
50
48
|
readonly showChangeTabModal$: BehaviorSubject<boolean>;
|
|
51
49
|
readonly searchFields$: Observable<Array<SearchField> | null>;
|
|
50
|
+
readonly statuses$: Observable<InternalCaseStatus[]>;
|
|
51
|
+
readonly selectedStatuses$: Observable<InternalCaseStatus[]>;
|
|
52
52
|
readonly documentDefinitionName$: Observable<string>;
|
|
53
|
-
readonly canCreateDocument$: Observable<boolean>;
|
|
54
53
|
readonly selectedDocumentIds$: BehaviorSubject<string[]>;
|
|
55
54
|
readonly schema$: Observable<any>;
|
|
55
|
+
readonly canCreateDocument$: Observable<boolean>;
|
|
56
56
|
readonly searchFieldValues$: Observable<SearchFieldValues>;
|
|
57
57
|
readonly assigneeFilter$: Observable<AssigneeFilter>;
|
|
58
58
|
readonly paginationChange$: BehaviorSubject<CarbonPaginationSelection>;
|
|
@@ -62,21 +62,19 @@ export declare class DossierListComponent implements OnInit, OnDestroy {
|
|
|
62
62
|
private readonly _hasApiColumnConfig$;
|
|
63
63
|
private readonly _canHaveAssignee$;
|
|
64
64
|
private readonly _columns$;
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
showPageInput?: boolean;
|
|
68
|
-
};
|
|
65
|
+
readonly showStatusSelector$: Observable<boolean>;
|
|
66
|
+
private readonly _statusField;
|
|
69
67
|
readonly fields$: Observable<Array<ListField>>;
|
|
70
68
|
private readonly _documentSearchRequest$;
|
|
71
69
|
readonly documentItems$: Observable<any[]>;
|
|
72
70
|
private _previousDocumentDefinitionName;
|
|
73
71
|
private _documentDefinitionNameSubscription;
|
|
74
|
-
constructor(assigneeService: DossierListAssigneeService, breadcrumbService: BreadcrumbService, bulkAssignService: DossierBulkAssignService, columnService: DossierColumnService, configService: ConfigService, documentService: DocumentService, listService: DossierListService, pageTitleService: PageTitleService, paginationService: DossierListPaginationService, parameterService: DossierParameterService, route: ActivatedRoute, router: Router, searchService: DossierListSearchService, translateService: TranslateService, permissionService: PermissionService);
|
|
72
|
+
constructor(assigneeService: DossierListAssigneeService, breadcrumbService: BreadcrumbService, bulkAssignService: DossierBulkAssignService, columnService: DossierColumnService, configService: ConfigService, documentService: DocumentService, listService: DossierListService, pageTitleService: PageTitleService, paginationService: DossierListPaginationService, parameterService: DossierParameterService, route: ActivatedRoute, router: Router, searchService: DossierListSearchService, translateService: TranslateService, permissionService: PermissionService, statusService: DossierListStatusService);
|
|
75
73
|
ngOnInit(): void;
|
|
76
74
|
ngOnDestroy(): void;
|
|
77
75
|
trackByIndex(index: number): number;
|
|
78
76
|
search(searchFieldValues: SearchFieldValues): void;
|
|
79
|
-
rowClick(
|
|
77
|
+
rowClick(item: any): void;
|
|
80
78
|
tabChange(tab: DossierListTab): void;
|
|
81
79
|
onChangeTabCancel(): void;
|
|
82
80
|
pageChange(page: number): void;
|
|
@@ -88,6 +86,7 @@ export declare class DossierListComponent implements OnInit, OnDestroy {
|
|
|
88
86
|
onChangePageConfirm(pagination: CarbonPaginationSelection): void;
|
|
89
87
|
startDossier(): void;
|
|
90
88
|
forceRefresh(): void;
|
|
89
|
+
onSelectedStatusesChange(statuses: InternalCaseStatus[]): void;
|
|
91
90
|
private openDocumentDefinitionNameSubscription;
|
|
92
91
|
private setLoading;
|
|
93
92
|
private setVisibleTabs;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dossier-list.component.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/dossier/src/lib/components/dossier-list/dossier-list.component.ts"],"names":[],"mappings":"AAeA,OAAO,EAAY,SAAS,EAAE,MAAM,EAAY,MAAM,eAAe,CAAC;AACtE,OAAO,EAAC,cAAc,EAAU,MAAM,EAAC,MAAM,iBAAiB,CAAC;AAC/D,OAAO,EAAC,gBAAgB,EAAC,MAAM,qBAAqB,CAAC;AACrD,OAAO,EAAC,iBAAiB,EAAC,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EACL,iBAAiB,EACjB,mBAAmB,EACnB,
|
|
1
|
+
{"version":3,"file":"dossier-list.component.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/dossier/src/lib/components/dossier-list/dossier-list.component.ts"],"names":[],"mappings":"AAeA,OAAO,EAAY,SAAS,EAAE,MAAM,EAAY,MAAM,eAAe,CAAC;AACtE,OAAO,EAAC,cAAc,EAAU,MAAM,EAAC,MAAM,iBAAiB,CAAC;AAC/D,OAAO,EAAC,gBAAgB,EAAC,MAAM,qBAAqB,CAAC;AACrD,OAAO,EAAC,iBAAiB,EAAC,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EACL,iBAAiB,EACjB,mBAAmB,EACnB,0BAA0B,EAC1B,yBAAyB,EAEzB,SAAS,EACT,gBAAgB,EAChB,UAAU,EAEX,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,cAAc,EACd,aAAa,EAGb,cAAc,EACd,WAAW,EACX,iBAAiB,EACjB,SAAS,EACV,MAAM,iBAAi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,YAAY,IAAI,IAAI;IAIpB,YAAY,IAAI,IAAI;IAIpB,wBAAwB,CAAC,QAAQ,EAAE,kBAAkB,EAAE,GAAG,IAAI;IAIrE,OAAO,CAAC,sCAAsC;IAoB9C,OAAO,CAAC,UAAU;IASlB,OAAO,CAAC,cAAc;IAItB,OAAO,CAAC,sBAAsB;yCA5hBnB,oBAAoB;2CAApB,oBAAoB;CA2iBhC"}
|
package/lib/components/dossier-process-start-modal/dossier-process-start-modal.component.d.ts
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { EventEmitter, OnInit } from '@angular/core';
|
|
1
|
+
import { EventEmitter, OnDestroy, OnInit, ViewContainerRef } from '@angular/core';
|
|
2
2
|
import { PermissionService } from '@valtimo/access-control';
|
|
3
3
|
import { DocumentService, ProcessDocumentDefinition } from '@valtimo/document';
|
|
4
|
-
import { FormFlowService, ProcessLinkService } from '@valtimo/
|
|
4
|
+
import { FormFlowService, ProcessLinkService } from '@valtimo/process-link';
|
|
5
5
|
import { ActivatedRoute, Router } from '@angular/router';
|
|
6
6
|
import { ProcessService } from '@valtimo/process';
|
|
7
7
|
import { FormioComponent, FormioSubmission, ModalComponent, ValtimoFormioOptions } from '@valtimo/components';
|
|
8
8
|
import { FormioForm } from '@formio/angular';
|
|
9
9
|
import { UserProviderService } from '@valtimo/security';
|
|
10
|
-
import { DossierListService } from '../../services';
|
|
11
|
-
import { StartModalService } from '../../services/start-modal.service';
|
|
10
|
+
import { DossierListService, StartModalService } from '../../services';
|
|
12
11
|
import { ConfigService } from '@valtimo/config';
|
|
12
|
+
import { FormViewModel } from '@valtimo/config';
|
|
13
13
|
import * as i0 from "@angular/core";
|
|
14
|
-
export declare class DossierProcessStartModalComponent implements OnInit {
|
|
14
|
+
export declare class DossierProcessStartModalComponent implements OnInit, OnDestroy {
|
|
15
15
|
private route;
|
|
16
16
|
private router;
|
|
17
17
|
private processService;
|
|
@@ -23,6 +23,7 @@ export declare class DossierProcessStartModalComponent implements OnInit {
|
|
|
23
23
|
private listService;
|
|
24
24
|
private startModalService;
|
|
25
25
|
private configService;
|
|
26
|
+
private readonly formViewModel;
|
|
26
27
|
processDefinitionKey: string;
|
|
27
28
|
processDefinitionId: string;
|
|
28
29
|
documentDefinitionName: string;
|
|
@@ -30,16 +31,21 @@ export declare class DossierProcessStartModalComponent implements OnInit {
|
|
|
30
31
|
private _startEventName;
|
|
31
32
|
private readonly _useStartEventNameAsStartFormTitle;
|
|
32
33
|
formDefinition: FormioForm;
|
|
34
|
+
formName: string;
|
|
33
35
|
formFlowInstanceId: string;
|
|
34
36
|
formioSubmission: FormioSubmission;
|
|
35
37
|
private processLinkId;
|
|
36
38
|
options: ValtimoFormioOptions;
|
|
37
39
|
isAdmin: boolean;
|
|
40
|
+
isFormViewModel: boolean;
|
|
38
41
|
form: FormioComponent;
|
|
39
42
|
modal: ModalComponent;
|
|
43
|
+
formViewModelDynamicContainer: ViewContainerRef;
|
|
40
44
|
formFlowComplete: EventEmitter<any>;
|
|
41
|
-
|
|
45
|
+
private _subscriptions;
|
|
46
|
+
constructor(route: ActivatedRoute, router: Router, processService: ProcessService, documentService: DocumentService, processLinkService: ProcessLinkService, formFlowService: FormFlowService, userProviderService: UserProviderService, permissionService: PermissionService, listService: DossierListService, startModalService: StartModalService, configService: ConfigService, formViewModel: FormViewModel);
|
|
42
47
|
ngOnInit(): void;
|
|
48
|
+
ngOnDestroy(): void;
|
|
43
49
|
private loadProcessLink;
|
|
44
50
|
gotoProcessLinkScreen(): void;
|
|
45
51
|
get modalTitle(): string;
|
|
@@ -48,7 +54,8 @@ export declare class DossierProcessStartModalComponent implements OnInit {
|
|
|
48
54
|
formFlowSubmitted(): void;
|
|
49
55
|
isUserAdmin(): void;
|
|
50
56
|
private submitCompleted;
|
|
51
|
-
|
|
57
|
+
private setFormViewModelComponent;
|
|
58
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DossierProcessStartModalComponent, [null, null, null, null, null, null, null, null, null, null, null, { optional: true; }]>;
|
|
52
59
|
static ɵcmp: i0.ɵɵComponentDeclaration<DossierProcessStartModalComponent, "valtimo-dossier-process-start-modal", never, {}, { "formFlowComplete": "formFlowComplete"; }, never, never, false, never>;
|
|
53
60
|
}
|
|
54
61
|
//# sourceMappingURL=dossier-process-start-modal.component.d.ts.map
|
package/lib/components/dossier-process-start-modal/dossier-process-start-modal.component.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dossier-process-start-modal.component.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/dossier/src/lib/components/dossier-process-start-modal/dossier-process-start-modal.component.ts"],"names":[],"mappings":"AAgBA,OAAO,
|
|
1
|
+
{"version":3,"file":"dossier-process-start-modal.component.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/dossier/src/lib/components/dossier-process-start-modal/dossier-process-start-modal.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EAEL,YAAY,EAEZ,SAAS,EACT,MAAM,EAIN,gBAAgB,EAEjB,MAAM,eAAe,CAAC;AACvB,OAAO,EAAC,iBAAiB,EAAC,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EAAC,eAAe,EAAE,yBAAyB,EAAC,MAAM,mBAAmB,CAAC;AAC7E,OAAO,EAAC,eAAe,EAAwB,kBAAkB,EAAC,MAAM,uBAAuB,CAAC;AAChG,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,mBAAmB,EAAC,MAAM,mBAAmB,CAAC;AAGtD,OAAO,EAAC,kBAAkB,EAAE,iBAAiB,EAAC,MAAM,gBAAgB,CAAC;AACrE,OAAO,EAAC,aAAa,E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BAAiB,EAAE,iBAAiB,EACpC,WAAW,EAAE,kBAAkB,EAC/B,iBAAiB,EAAE,iBAAiB,EACpC,aAAa,EAAE,aAAa,EACwB,aAAa,EAAE,aAAa;IAM1F,QAAQ;IAIR,WAAW;IAIX,OAAO,CAAC,eAAe;IAyChB,qBAAqB,IAAI,IAAI;IAKpC,IAAW,UAAU,WAKpB;IAED,SAAS,CAAC,yBAAyB,EAAE,yBAAyB;IAcvD,QAAQ,CAAC,UAAU,EAAE,gBAAgB;IAarC,iBAAiB,IAAI,IAAI;IAKzB,WAAW,IAAI,IAAI;IAW1B,OAAO,CAAC,eAAe;IAqBvB,OAAO,CAAC,yBAAyB;yCAtKtB,iCAAiC;2CAAjC,iCAAiC;CAwL7C"}
|
|
@@ -4,7 +4,7 @@ import { FormioComponent, FormioSubmission, ModalComponent, ValtimoFormioOptions
|
|
|
4
4
|
import { Router } from '@angular/router';
|
|
5
5
|
import { ProcessService } from '@valtimo/process';
|
|
6
6
|
import { ProcessDocumentDefinition } from '@valtimo/document';
|
|
7
|
-
import { ProcessLinkService } from '@valtimo/
|
|
7
|
+
import { ProcessLinkService } from '@valtimo/process-link';
|
|
8
8
|
import { BehaviorSubject, Observable } from 'rxjs';
|
|
9
9
|
import { UserProviderService } from '@valtimo/security';
|
|
10
10
|
import * as i0 from "@angular/core";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dossier-supporting-process-start-modal.component.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/dossier/src/lib/components/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,EAEf,gBAAgB,EAChB,cAAc,EACd,oBAAoB,EACrB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAC,MAAM,EAAC,MAAM,iBAAiB,CAAC;AACvC,OAAO,EAAC,cAAc,EAAC,MAAM,kBAAkB,CAAC;AAChD,OAAO,EAAC,yBAAyB,EAAC,MAAM,mBAAmB,CAAC;AAC5D,OAAO,EAAuB,kBAAkB,EAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"dossier-supporting-process-start-modal.component.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/dossier/src/lib/components/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,EAEf,gBAAgB,EAChB,cAAc,EACd,oBAAoB,EACrB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAC,MAAM,EAAC,MAAM,iBAAiB,CAAC;AACvC,OAAO,EAAC,cAAc,EAAC,MAAM,kBAAkB,CAAC;AAChD,OAAO,EAAC,yBAAyB,EAAC,MAAM,mBAAmB,CAAC;AAC5D,OAAO,EAAuB,kBAAkB,EAAC,MAAM,uBAAuB,CAAC;AAC/E,OAAO,EAAC,eAAe,EAAiB,UAAU,EAAY,MAAM,MAAM,CAAC;AAE3E,OAAO,EAAC,mBAAmB,EAAC,MAAM,mBAAmB,CAAC;;AAEtD,qBAMa,2CAA2C;IAuBpD,OAAO,CAAC,QAAQ,CAAC,MAAM;IACvB,OAAO,CAAC,QAAQ,CAAC,cAAc;IAC/B,OAAO,CAAC,QAAQ,CAAC,kBAAkB;IACnC,OAAO,CAAC,QAAQ,CAAC,mBAAmB;IAzBF,IAAI,EAAE,eAAe,CAAC;IACC,KAAK,EAAE,cAAc,CAAC;IAEvE,UAAU,oBAAsB;IAE1C,SAAgB,qBAAqB,0BAAmC;IACxE,SAAgB,uBAAuB,0BAAmC;IAC1E,SAAgB,YAAY,0BAAmC;IAC/D,SAAgB,eAAe,8BAA8C;IAC7E,SAAgB,iBAAiB,oCAAoD;IACrF,SAAgB,cAAc,0BAAmC;IACjE,SAAgB,QAAQ,wCAAwD;IAChF,SAAgB,WAAW,0BAA0C;IACrE,SAAgB,oBAAoB,0BAA0C;IAC9E,SAAgB,mBAAmB,0BAA0C;IAC7E,SAAgB,WAAW,0BAA0C;IAErE,SAAgB,QAAQ,EAAE,UAAU,CAAC,OAAO,CAAC,CAE6B;gBAGvD,MAAM,EAAE,MAAM,EACd,cAAc,EAAE,cAAc,EAC9B,kBAAkB,EAAE,kBAAkB,EACtC,mBAAmB,EAAE,mBAAmB;IAG3D,OAAO,CAAC,eAAe;IA4BhB,SAAS,CAAC,yBAAyB,EAAE,yBAAyB,EAAE,UAAU,EAAE,MAAM,GAAG,IAAI;IAoBzF,QAAQ,CAAC,UAAU,EAAE,gBAAgB,GAAG,IAAI;IAsB5C,aAAa,IAAI,IAAI;IAKrB,kBAAkB,IAAI,IAAI;yCAxGtB,2CAA2C;2CAA3C,2CAA2C;CA8GvD"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { CASES_WITHOUT_STATUS_KEY } from '@valtimo/components';
|
|
2
|
+
import { InternalCaseStatus } from '@valtimo/document';
|
|
3
|
+
declare const CASE_WITHOUT_STATUS_STATUS: InternalCaseStatus;
|
|
4
|
+
export { CASES_WITHOUT_STATUS_KEY, CASE_WITHOUT_STATUS_STATUS };
|
|
5
|
+
//# sourceMappingURL=case-status.constants.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"case-status.constants.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/dossier/src/lib/constants/case-status.constants.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAC,wBAAwB,EAAC,MAAM,qBAAqB,CAAC;AAC7D,OAAO,EAAC,kBAAkB,EAA0B,MAAM,mBAAmB,CAAC;AAE9E,QAAA,MAAM,0BAA0B,EAAE,kBAMjC,CAAC;AAEF,OAAO,EAAC,wBAAwB,EAAE,0BAA0B,EAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"case-widget.constants.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/dossier/src/lib/constants/case-widget.constants.ts"],"names":[],"mappings":"AAgBA,QAAA,MAAM,eAAe,MAAM,CAAC;AAC5B,QAAA,MAAM,gBAAgB,MAAM,CAAC;AAE7B,OAAO,EAAC,eAAe,EAAE,gBAAgB,EAAC,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { InjectionToken } from '@angular/core';
|
|
2
|
+
import { CustomCaseWidgetConfig } from '../models';
|
|
3
|
+
declare const CUSTOM_CASE_WIDGET_TOKEN: InjectionToken<CustomCaseWidgetConfig>;
|
|
4
|
+
export { CUSTOM_CASE_WIDGET_TOKEN };
|
|
5
|
+
//# sourceMappingURL=custom-case-widget-token.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"custom-case-widget-token.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/dossier/src/lib/constants/custom-case-widget-token.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAC,cAAc,EAAC,MAAM,eAAe,CAAC;AAC7C,OAAO,EAAC,sBAAsB,EAAC,MAAM,WAAW,CAAC;AAEjD,QAAA,MAAM,wBAAwB,wCAE7B,CAAC;AAEF,OAAO,EAAC,wBAAwB,EAAC,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { DossierListTab } from '@valtimo/config';
|
|
2
|
+
import { CarbonListNoResultsMessage, CarbonListTranslations } from '@valtimo/components';
|
|
3
|
+
declare const DEFAULT_DOSSIER_LIST_TABS: DossierListTab[];
|
|
4
|
+
declare const DOSSIER_LIST_TABLE_TRANSLATIONS: CarbonListTranslations;
|
|
5
|
+
declare const DOSSIER_LIST_NO_RESULTS_MESSAGE: CarbonListNoResultsMessage;
|
|
6
|
+
export { DEFAULT_DOSSIER_LIST_TABS, DOSSIER_LIST_TABLE_TRANSLATIONS, DOSSIER_LIST_NO_RESULTS_MESSAGE, };
|
|
7
|
+
//# sourceMappingURL=dossier-list.constants.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dossier-list.constants.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/dossier/src/lib/constants/dossier-list.constants.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAC,cAAc,EAAC,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAC,0BAA0B,EAAE,sBAAsB,EAAC,MAAM,qBAAqB,CAAC;AAEvF,QAAA,MAAM,yBAAyB,EAAE,cAAc,EAI9C,CAAC;AAEF,QAAA,MAAM,+BAA+B,EAAE,sBAUtC,CAAC;AAEF,QAAA,MAAM,+BAA+B,EAAE,0BAItC,CAAC;AAEF,OAAO,EACL,yBAAyB,EACzB,+BAA+B,EAC/B,+BAA+B,GAChC,CAAC"}
|
package/lib/constants/index.d.ts
CHANGED
|
@@ -1,3 +1,7 @@
|
|
|
1
1
|
export * from './tab';
|
|
2
2
|
export * from './case-tab-token';
|
|
3
|
+
export * from './dossier-list.constants';
|
|
4
|
+
export * from './case-status.constants';
|
|
5
|
+
export * from './case-widget.constants';
|
|
6
|
+
export * from './custom-case-widget-token';
|
|
3
7
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/dossier/src/lib/constants/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/dossier/src/lib/constants/index.ts"],"names":[],"mappings":"AAgBA,cAAc,OAAO,CAAC;AACtB,cAAc,kBAAkB,CAAC;AACjC,cAAc,0BAA0B,CAAC;AACzC,cAAc,yBAAyB,CAAC;AACxC,cAAc,yBAAyB,CAAC;AACxC,cAAc,4BAA4B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tab.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/dossier/src/lib/constants/tab.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAC,cAAc,EAAC,MAAM,eAAe,CAAC;AAK7C,OAAO,EAAC,oBAAoB,EAAc,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"tab.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/dossier/src/lib/constants/tab.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAC,cAAc,EAAC,MAAM,eAAe,CAAC;AAK7C,OAAO,EAAC,oBAAoB,EAAc,MAAM,WAAW,CAAC;AAG5D,QAAA,MAAM,OAAO,qCAAoD,CAAC;AAElE,QAAA,MAAM,YAAY,qBAKhB,CAAC;AAEH,QAAA,MAAM,sBAAsB,EAAE,oBAM7B,CAAC;AAEF,OAAO,EAAC,OAAO,EAAE,YAAY,EAAE,sBAAsB,EAAC,CAAC"}
|
package/lib/dossier.module.d.ts
CHANGED
|
@@ -8,36 +8,35 @@ import * as i5 from "./components/dossier-detail/tab/summary/summary.component";
|
|
|
8
8
|
import * as i6 from "./components/dossier-detail/tab/progress/progress.component";
|
|
9
9
|
import * as i7 from "./components/dossier-detail/tab/audit/audit.component";
|
|
10
10
|
import * as i8 from "./components/dossier-detail/tab/documents/documents.component";
|
|
11
|
-
import * as i9 from "./components/dossier-detail/tab/
|
|
12
|
-
import * as i10 from "./components/dossier-
|
|
13
|
-
import * as i11 from "./components/dossier-
|
|
14
|
-
import * as i12 from "./components/dossier-
|
|
15
|
-
import * as i13 from "./components/dossier-
|
|
16
|
-
import * as i14 from "./components/dossier-
|
|
17
|
-
import * as i15 from "./components/dossier-
|
|
18
|
-
import * as i16 from "./components/
|
|
19
|
-
import * as i17 from "./components/dossier-detail/tab/
|
|
20
|
-
import * as i18 from "
|
|
21
|
-
import * as i19 from "./
|
|
22
|
-
import * as i20 from "
|
|
23
|
-
import * as i21 from "@
|
|
24
|
-
import * as i22 from "
|
|
25
|
-
import * as i23 from "@
|
|
26
|
-
import * as i24 from "@valtimo/
|
|
27
|
-
import * as i25 from "@
|
|
28
|
-
import * as i26 from "@
|
|
29
|
-
import * as i27 from "@valtimo/
|
|
30
|
-
import * as i28 from "
|
|
31
|
-
import * as i29 from "@valtimo/
|
|
32
|
-
import * as i30 from "
|
|
33
|
-
import * as i31 from "
|
|
34
|
-
import * as i32 from "
|
|
35
|
-
import * as i33 from "./pipes/tab-translate/tab-translate-pipe.module";
|
|
11
|
+
import * as i9 from "./components/dossier-detail/tab/notes/notes.component";
|
|
12
|
+
import * as i10 from "./components/dossier-update/dossier-update.component";
|
|
13
|
+
import * as i11 from "./components/dossier-process-start-modal/dossier-process-start-modal.component";
|
|
14
|
+
import * as i12 from "./components/dossier-supporting-process-start-modal/dossier-supporting-process-start-modal.component";
|
|
15
|
+
import * as i13 from "./components/dossier-detail/tab/s3-documents/s3-documents.component";
|
|
16
|
+
import * as i14 from "./components/dossier-detail/tab/not-found/not-found.component";
|
|
17
|
+
import * as i15 from "./components/dossier-assign-user/dossier-assign-user.component";
|
|
18
|
+
import * as i16 from "./components/note-modal/note-modal.component";
|
|
19
|
+
import * as i17 from "./components/dossier-detail/tab/formio/formio.component";
|
|
20
|
+
import * as i18 from "@angular/common";
|
|
21
|
+
import * as i19 from "./dossier-routing.module";
|
|
22
|
+
import * as i20 from "@valtimo/components";
|
|
23
|
+
import * as i21 from "@valtimo/process";
|
|
24
|
+
import * as i22 from "@ng-bootstrap/ng-bootstrap";
|
|
25
|
+
import * as i23 from "@angular/forms";
|
|
26
|
+
import * as i24 from "@valtimo/form";
|
|
27
|
+
import * as i25 from "@ngx-translate/core";
|
|
28
|
+
import * as i26 from "@valtimo/task";
|
|
29
|
+
import * as i27 from "@valtimo/config";
|
|
30
|
+
import * as i28 from "carbon-components-angular";
|
|
31
|
+
import * as i29 from "@valtimo/process-link";
|
|
32
|
+
import * as i30 from "./pipes/tab-translate/tab-translate-pipe.module";
|
|
33
|
+
import * as i31 from "./components/dossier-detail/tab/widgets/widgets.component";
|
|
34
|
+
import * as i32 from "./components/dossier-detail-task-list/dossier-detail-task-list.component";
|
|
36
35
|
export type TabsFactory = () => Map<string, object>;
|
|
37
36
|
export declare class DossierModule {
|
|
38
37
|
static forRoot(tabsFactory: TabsFactory): ModuleWithProviders<DossierModule>;
|
|
39
38
|
static ɵfac: i0.ɵɵFactoryDeclaration<DossierModule, never>;
|
|
40
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<DossierModule, [typeof i1.DossierBulkAssignModalComponent, typeof i2.DossierListComponent, typeof i3.DossierListActionsComponent, typeof i4.DossierDetailComponent, typeof i5.DossierDetailTabSummaryComponent, typeof i6.DossierDetailTabProgressComponent, typeof i7.DossierDetailTabAuditComponent, typeof i8.DossierDetailTabDocumentsComponent, typeof i9.
|
|
39
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DossierModule, [typeof i1.DossierBulkAssignModalComponent, typeof i2.DossierListComponent, typeof i3.DossierListActionsComponent, typeof i4.DossierDetailComponent, typeof i5.DossierDetailTabSummaryComponent, typeof i6.DossierDetailTabProgressComponent, typeof i7.DossierDetailTabAuditComponent, typeof i8.DossierDetailTabDocumentsComponent, typeof i9.DossierDetailTabNotesComponent, typeof i10.DossierUpdateComponent, typeof i11.DossierProcessStartModalComponent, typeof i12.DossierSupportingProcessStartModalComponent, typeof i13.DossierDetailTabS3DocumentsComponent, typeof i14.DossierDetailTabNotFoundComponent, typeof i15.DossierAssignUserComponent, typeof i16.NoteModalComponent, typeof i17.DossierDetailTabFormioComponent], [typeof i18.CommonModule, typeof i19.DossierRoutingModule, typeof i20.ListModule, typeof i20.WidgetModule, typeof i20.BpmnJsDiagramModule, typeof i20.TimelineModule, typeof i20.CamundaFormModule, typeof i21.ProcessModule, typeof i20.FilterSidebarModule, typeof i22.NgbButtonsModule, typeof i20.DataListModule, typeof i23.FormsModule, typeof i23.ReactiveFormsModule, typeof i24.FormModule, typeof i20.FormIoModule, typeof i20.ModalModule, typeof i20.SpinnerModule, typeof i25.TranslateModule, typeof i26.TaskModule, typeof i20.ModalModule, typeof i22.NgbTooltipModule, typeof i20.UploaderModule, typeof i20.DropzoneModule, typeof i22.NgbPaginationModule, typeof i27.ConfigModule, typeof i20.SelectModule, typeof i20.InputLabelModule, typeof i20.ParagraphModule, typeof i20.TableModule, typeof i20.VModalModule, typeof i20.TitleModule, typeof i20.ButtonModule, typeof i20.SearchableDropdownSelectModule, typeof i20.SearchFieldsModule, typeof i20.PageModule, typeof i24.FormModule, typeof i20.InputModule, typeof i20.FormModule, typeof i22.NgbModule, typeof i28.LoadingModule, typeof i28.ButtonModule, typeof i28.IconModule, typeof i29.ProcessLinkModule, typeof i28.ModalModule, typeof i28.SelectModule, typeof i20.ConfirmationModalModule, typeof i28.DropdownModule, typeof i28.TabsModule, typeof i28.ComboBoxModule, typeof i30.TabTranslatePipeModule, typeof i20.CarbonListModule, typeof i20.IsArrayPipe, typeof i28.SkeletonModule, typeof i20.StatusSelectorComponent, typeof i20.RenderInPageHeaderDirectiveModule, typeof i28.TagModule, typeof i28.DialogModule, typeof i20.ValtimoCdsOverflowButtonDirectiveModule, typeof i31.DossierDetailWidgetsComponent, typeof i32.DossierDetailTaskListComponent], [typeof i2.DossierListComponent, typeof i4.DossierDetailComponent]>;
|
|
41
40
|
static ɵinj: i0.ɵɵInjectorDeclaration<DossierModule>;
|
|
42
41
|
}
|
|
43
42
|
//# sourceMappingURL=dossier.module.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dossier.module.d.ts","sourceRoot":"","sources":["../../../../projects/valtimo/dossier/src/lib/dossier.module.ts"],"names":[],"mappings":"AAiBA,OAAO,EAAC,mBAAmB,EAAW,MAAM,eAAe,CAAC
|
|
1
|
+
{"version":3,"file":"dossier.module.d.ts","sourceRoot":"","sources":["../../../../projects/valtimo/dossier/src/lib/dossier.module.ts"],"names":[],"mappings":"AAiBA,OAAO,EAAC,mBAAmB,EAAW,MAAM,eAAe,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAmF5D,MAAM,MAAM,WAAW,GAAG,MAAM,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;AAEpD,qBA0Fa,aAAa;IACxB,MAAM,CAAC,OAAO,CAAC,WAAW,EAAE,WAAW,GAAG,mBAAmB,CAAC,aAAa,CAAC;yCADjE,aAAa;0CAAb,aAAa;0CAAb,aAAa;CAczB"}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { CaseWidgetDisplayType } from './case-widget-display.model';
|
|
2
|
+
import { FieldsCaseWidgetValue } from './case-widget.model';
|
|
3
|
+
interface WidgetFieldsContent {
|
|
4
|
+
columns: FieldsCaseWidgetValue[][];
|
|
5
|
+
}
|
|
6
|
+
type CollectionCaseWidgetFieldWidth = 'full' | 'half';
|
|
7
|
+
interface CollectionCaseWidgetField {
|
|
8
|
+
key: string;
|
|
9
|
+
title: string;
|
|
10
|
+
value: string;
|
|
11
|
+
width: CollectionCaseWidgetFieldWidth;
|
|
12
|
+
displayProperties?: CaseWidgetDisplayType;
|
|
13
|
+
}
|
|
14
|
+
interface CollectionCaseWidgetTitle {
|
|
15
|
+
value: string;
|
|
16
|
+
displayProperties?: CaseWidgetDisplayType;
|
|
17
|
+
}
|
|
18
|
+
interface WidgetCollectionContent {
|
|
19
|
+
collection: string;
|
|
20
|
+
defaultPageSize: number;
|
|
21
|
+
title: CollectionCaseWidgetTitle;
|
|
22
|
+
fields: CollectionCaseWidgetField[];
|
|
23
|
+
}
|
|
24
|
+
interface CollectionWidgetResolvedField {
|
|
25
|
+
key: string;
|
|
26
|
+
title: string;
|
|
27
|
+
value: string;
|
|
28
|
+
width: CollectionCaseWidgetFieldWidth;
|
|
29
|
+
}
|
|
30
|
+
interface CollectionCaseWidgetCardData {
|
|
31
|
+
title: string;
|
|
32
|
+
fields: {
|
|
33
|
+
[key: string]: string;
|
|
34
|
+
};
|
|
35
|
+
hidden?: boolean;
|
|
36
|
+
}
|
|
37
|
+
interface WidgetTableContent {
|
|
38
|
+
columns: FieldsCaseWidgetValue[];
|
|
39
|
+
collection: string;
|
|
40
|
+
firstColumnAsTitle: boolean;
|
|
41
|
+
defaultPageSize: number;
|
|
42
|
+
}
|
|
43
|
+
interface WidgetCustomContent {
|
|
44
|
+
componentKey: string;
|
|
45
|
+
}
|
|
46
|
+
interface WidgetFormioContent {
|
|
47
|
+
formDefinitionName: string;
|
|
48
|
+
}
|
|
49
|
+
type WidgetContentProperties = WidgetFieldsContent | WidgetTableContent | WidgetCustomContent | WidgetFormioContent | WidgetCollectionContent;
|
|
50
|
+
export { WidgetContentProperties, WidgetCustomContent, WidgetFieldsContent, WidgetFormioContent, WidgetTableContent, WidgetCollectionContent, CollectionCaseWidgetField, CollectionCaseWidgetFieldWidth, CollectionWidgetResolvedField, CollectionCaseWidgetTitle, CollectionCaseWidgetCardData, };
|
|
51
|
+
//# sourceMappingURL=case-widget-content.model.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"case-widget-content.model.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/dossier/src/lib/models/case-widget-content.model.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAC,qBAAqB,EAAC,MAAM,6BAA6B,CAAC;AAClE,OAAO,EAAuB,qBAAqB,EAAC,MAAM,qBAAqB,CAAC;AAEhF,UAAU,mBAAmB;IAC3B,OAAO,EAAE,qBAAqB,EAAE,EAAE,CAAC;CACpC;AAED,KAAK,8BAA8B,GAAG,MAAM,GAAG,MAAM,CAAC;AAEtD,UAAU,yBAAyB;IACjC,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,8BAA8B,CAAC;IACtC,iBAAiB,CAAC,EAAE,qBAAqB,CAAC;CAC3C;AAED,UAAU,yBAAyB;IACjC,KAAK,EAAE,MAAM,CAAC;IACd,iBAAiB,CAAC,EAAE,qBAAqB,CA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datetime",
|
|
7
|
+
ENUM = "enum",
|
|
8
|
+
NUMBER = "number",
|
|
9
|
+
PERCENT = "percent"
|
|
10
|
+
}
|
|
11
|
+
interface CaseWidgetBooleanDisplayType {
|
|
12
|
+
type: CaseWidgetDisplayTypeKey.BOOLEAN;
|
|
13
|
+
}
|
|
14
|
+
interface CaseWidgetCurrencyDisplayType {
|
|
15
|
+
type: CaseWidgetDisplayTypeKey.CURRENCY;
|
|
16
|
+
currencyCode?: string;
|
|
17
|
+
display?: string;
|
|
18
|
+
digitsInfo?: string;
|
|
19
|
+
}
|
|
20
|
+
interface CaseWidgetDateDisplayType {
|
|
21
|
+
type: CaseWidgetDisplayTypeKey.DATE;
|
|
22
|
+
format?: string;
|
|
23
|
+
}
|
|
24
|
+
interface CaseWidgetDateTimeDisplayType {
|
|
25
|
+
type: CaseWidgetDisplayTypeKey.DATE_TIME;
|
|
26
|
+
format?: string;
|
|
27
|
+
}
|
|
28
|
+
interface CaseWidgetEnumDisplayType {
|
|
29
|
+
type: CaseWidgetDisplayTypeKey.ENUM;
|
|
30
|
+
values: {
|
|
31
|
+
[key: string]: string;
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
interface CaseWidgetNumberDisplayType {
|
|
35
|
+
type: CaseWidgetDisplayTypeKey.NUMBER;
|
|
36
|
+
digitsInfo?: string;
|
|
37
|
+
}
|
|
38
|
+
interface CaseWidgetPercentDisplayType {
|
|
39
|
+
type: CaseWidgetDisplayTypeKey.PERCENT;
|
|
40
|
+
digitsInfo?: string;
|
|
41
|
+
}
|
|
42
|
+
type CaseWidgetDisplayType = CaseWidgetBooleanDisplayType | CaseWidgetCurrencyDisplayType | CaseWidgetDateDisplayType | CaseWidgetDateTimeDisplayType | CaseWidgetEnumDisplayType | CaseWidgetNumberDisplayType | CaseWidgetPercentDisplayType;
|
|
43
|
+
export { CaseWidgetDisplayTypeKey, CaseWidgetDisplayType, CaseWidgetBooleanDisplayType, CaseWidgetCurrencyDisplayType, CaseWidgetDateDisplayType, CaseWidgetDateTimeDisplayType, CaseWidgetEnumDisplayType, CaseWidgetNumberDisplayType, CaseWidgetPercentDisplayType, };
|
|
44
|
+
//# sourceMappingURL=case-widget-display.model.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"case-widget-display.model.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/dossier/src/lib/models/case-widget-display.model.ts"],"names":[],"mappings":"AAAA,aAAK,wBAAwB;IAC3B,IAAI,SAAS;IACb,OAAO,YAAY;IACnB,QAAQ,aAAa;IACrB,IAAI,SAAS;IACb,SAAS,aAAa;IACtB,IAAI,SAAS;IACb,MAAM,WAAW;IACjB,OAAO,YAAY;CACpB;AAED,UAAU,4BAA4B;IACpC,IAAI,EAAE,wBAAwB,CAAC,OAAO,CAAC;CACxC;AAED,UAAU,6BAA6B;IACrC,IAAI,EAAE,wBAAwB,CAAC,QAAQ,CAAC;IACxC,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,UAAU,yBAAyB;IACjC,IAAI,EAAE,wBAAwB,CAAC,IAAI,CAAC;IACpC,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,UAAU,6BAA6B;IACrC,IAAI,EAAE,wBAAwB,CAAC,SAAS,CAAC;IACzC,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,UAAU,yBAAyB;IACjC,IAAI,EAAE,wBAAwB,CAAC,IAAI,CAAC;IACpC,MAAM,EAAE;QACN,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;KACvB,CAAC;CACH;AAED,UAAU,2BAA2B;IACnC,IAAI,EAAE,wBAAwB,CAAC,MAAM,CAAC;IACtC,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,UAAU,4BAA4B;IACpC,IAAI,EAAE,wBAAwB,CAAC,OAAO,CAAC;IACvC,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,KAAK,qBAAqB,GACtB,4BAA4B,GAC5B,6BAA6B,GAC7B,yBAAyB,GACzB,6BAA6B,GAC7B,yBAAyB,GACzB,2BAA2B,GAC3B,4BAA4B,CAAC;AAEjC,OAAO,EACL,wBAAwB,EACxB,qBAAqB,EACrB,4BAA4B,EAC5B,6BAA6B,EAC7B,yBAAyB,EACzB,6BAA6B,EAC7B,yBAAyB,EACzB,2BAA2B,EAC3B,4BAA4B,GAC7B,CAAC"}
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
import { CaseWidgetDisplayType } from '.';
|
|
2
|
+
import { Type } from '@angular/core';
|
|
3
|
+
import { WidgetCollectionContent, WidgetContentProperties, WidgetCustomContent, WidgetFieldsContent, WidgetTableContent } from './case-widget-content.model';
|
|
4
|
+
declare enum CaseWidgetType {
|
|
5
|
+
FIELDS = "fields",
|
|
6
|
+
TABLE = "table",
|
|
7
|
+
CUSTOM = "custom",
|
|
8
|
+
COLLECTION = "collection",
|
|
9
|
+
FORMIO = "formio"
|
|
10
|
+
}
|
|
11
|
+
type CaseWidgetWidth = 1 | 2 | 3 | 4;
|
|
12
|
+
type CollectionFieldWidth = 'half' | 'full';
|
|
13
|
+
interface BasicCaseWidget {
|
|
14
|
+
type: CaseWidgetType;
|
|
15
|
+
title: string;
|
|
16
|
+
width: CaseWidgetWidth;
|
|
17
|
+
highContrast: boolean;
|
|
18
|
+
key: string;
|
|
19
|
+
properties: WidgetContentProperties;
|
|
20
|
+
}
|
|
21
|
+
interface FieldsCaseWidgetValue {
|
|
22
|
+
key: string;
|
|
23
|
+
title: string;
|
|
24
|
+
value: string;
|
|
25
|
+
displayProperties?: CaseWidgetDisplayType;
|
|
26
|
+
}
|
|
27
|
+
interface FieldsCaseWidget extends BasicCaseWidget {
|
|
28
|
+
type: CaseWidgetType.FIELDS;
|
|
29
|
+
properties: WidgetFieldsContent;
|
|
30
|
+
}
|
|
31
|
+
interface CollectionCaseWidget extends BasicCaseWidget {
|
|
32
|
+
type: CaseWidgetType.COLLECTION;
|
|
33
|
+
properties: WidgetCollectionContent;
|
|
34
|
+
}
|
|
35
|
+
interface TableCaseWidget extends BasicCaseWidget {
|
|
36
|
+
type: CaseWidgetType.TABLE;
|
|
37
|
+
properties: WidgetTableContent;
|
|
38
|
+
}
|
|
39
|
+
interface CustomCaseWidget extends BasicCaseWidget {
|
|
40
|
+
type: CaseWidgetType.CUSTOM;
|
|
41
|
+
properties: WidgetCustomContent;
|
|
42
|
+
}
|
|
43
|
+
interface FormioCaseWidget extends BasicCaseWidget {
|
|
44
|
+
type: CaseWidgetType.FORMIO;
|
|
45
|
+
properties: {
|
|
46
|
+
formDefinitionName: string;
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
type CaseWidget = FieldsCaseWidget | CollectionCaseWidget | CustomCaseWidget | TableCaseWidget | FormioCaseWidget;
|
|
50
|
+
type CaseWidgetWithUuid = CaseWidget & {
|
|
51
|
+
uuid: string;
|
|
52
|
+
};
|
|
53
|
+
type FormioCaseWidgetWidgetWithUuid = FormioCaseWidget & {
|
|
54
|
+
uuid: string;
|
|
55
|
+
};
|
|
56
|
+
interface CaseWidgetsRes {
|
|
57
|
+
caseDefinitionName: string;
|
|
58
|
+
key: string;
|
|
59
|
+
widgets: BasicCaseWidget[];
|
|
60
|
+
}
|
|
61
|
+
interface CaseWidgetWidthsPx {
|
|
62
|
+
[uuid: string]: number;
|
|
63
|
+
}
|
|
64
|
+
interface CaseWidgetContentHeightsPx {
|
|
65
|
+
[uuid: string]: number;
|
|
66
|
+
}
|
|
67
|
+
interface CaseWidgetContentHeightsPxWithContainerWidth {
|
|
68
|
+
[uuid: string]: {
|
|
69
|
+
containerWidth: number;
|
|
70
|
+
height: number;
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
interface CaseWidgetConfigurationBin {
|
|
74
|
+
configurationKey: string;
|
|
75
|
+
width: number;
|
|
76
|
+
height: number;
|
|
77
|
+
}
|
|
78
|
+
interface CaseWidgetPackResultItem {
|
|
79
|
+
width: number;
|
|
80
|
+
height: number;
|
|
81
|
+
x: number;
|
|
82
|
+
y: number;
|
|
83
|
+
item: CaseWidgetConfigurationBin;
|
|
84
|
+
}
|
|
85
|
+
interface CaseWidgetPackResult {
|
|
86
|
+
height: number;
|
|
87
|
+
width: number;
|
|
88
|
+
items: CaseWidgetPackResultItem[];
|
|
89
|
+
}
|
|
90
|
+
interface MaxRectsResult extends CaseWidgetConfigurationBin {
|
|
91
|
+
x: number;
|
|
92
|
+
y: number;
|
|
93
|
+
}
|
|
94
|
+
interface CaseWidgetPackResultItemsByRow {
|
|
95
|
+
[rowY: string]: CaseWidgetPackResultItem[];
|
|
96
|
+
}
|
|
97
|
+
interface CaseWidgetXY {
|
|
98
|
+
x: number;
|
|
99
|
+
y: number;
|
|
100
|
+
}
|
|
101
|
+
interface CustomCaseWidgetConfig {
|
|
102
|
+
[componentKey: string]: Type<any>;
|
|
103
|
+
}
|
|
104
|
+
export { BasicCaseWidget, CaseWidget, CaseWidgetConfigurationBin, CaseWidgetContentHeightsPx, CaseWidgetContentHeightsPxWithContainerWidth, CaseWidgetPackResult, CaseWidgetsRes, CaseWidgetType, CaseWidgetWidth, CaseWidgetWidthsPx, CaseWidgetWithUuid, CaseWidgetXY, CollectionFieldWidth, FieldsCaseWidget, FieldsCaseWidgetValue, CollectionCaseWidget, CustomCaseWidgetConfig, CustomCaseWidget, TableCaseWidget, CaseWidgetPackResultItem, CaseWidgetPackResultItemsByRow, FormioCaseWidgetWidgetWithUuid, MaxRectsResult, };
|
|
105
|
+
//# sourceMappingURL=case-widget.model.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"case-widget.model.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/dossier/src/lib/models/case-widget.model.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAC,qBAAqB,EAAC,MAAM,GAAG,CAAC;AACxC,OAAO,EAAC,IAAI,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V,CAAC,EAAE,MAAM,CAAC;CACX;AAED,UAAU,8BAA8B;IACtC,CAAC,IAAI,EAAE,MAAM,GAAG,wBAAwB,EAAE,CAAC;CAC5C;AAED,UAAU,YAAY;IACpB,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;CACX;AAED,UAAU,sBAAsB;IAC9B,CAAC,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC,GAAG,CAAC,CAAC;CACnC;AAED,OAAO,EACL,eAAe,EACf,UAAU,EACV,0BAA0B,EAC1B,0BAA0B,EAC1B,4CAA4C,EAC5C,oBAAoB,EACpB,cAAc,EACd,cAAc,EACd,eAAe,EACf,kBAAkB,EAClB,kBAAkB,EAClB,YAAY,EACZ,oBAAoB,EACpB,gBAAgB,EAChB,qBAAqB,EACrB,oBAAoB,EACpB,sBAAsB,EACtB,gBAAgB,EAChB,eAAe,EACf,wBAAwB,EACxB,8BAA8B,EAC9B,8BAA8B,EAC9B,cAAc,GACf,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dossier-detail-tab.model.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/dossier/src/lib/models/dossier-detail-tab.model.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAC,IAAI,EAAC,MAAM,eAAe,CAAC;AAEnC,aAAK,WAAW;IACd,OAAO,YAAY;IACnB,QAAQ,aAAa;IACrB,KAAK,UAAU;IACf,SAAS,cAAc;IACvB,
|
|
1
|
+
{"version":3,"file":"dossier-detail-tab.model.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/dossier/src/lib/models/dossier-detail-tab.model.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAC,IAAI,EAAC,MAAM,eAAe,CAAC;AAEnC,aAAK,WAAW;IACd,OAAO,YAAY;IACnB,QAAQ,aAAa;IACrB,KAAK,UAAU;IACf,SAAS,cAAc;IACvB,KAAK,UAAU;CAChB;AAED,KAAK,oBAAoB,GAAG;KACzB,GAAG,IAAI,WAAW,GAAG,IAAI,CAAC,GAAG,CAAC;CAChC,CAAC;AAEF,UAAU,aAAa;IACrB,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC,GAAG,CAAC,CAAC;CAC7B;AAED,OAAO,EAAC,WAAW,EAAE,oBAAoB,EAAE,aAAa,EAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dossier-parameters.model.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/dossier/src/lib/models/dossier-parameters.model.ts"],"names":[],"mappings":"AAgBA,UAAU,oBAAoB;IAC5B,cAAc,EAAE,MAAM,CAAC;IACvB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,aAAa,EAAE,MAAM,CAAC;IACtB,kBAAkB,EAAE,MAAM,CAAC;IAC3B,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC;CAC7B;AAED,UAAU,iBAAkB,SAAQ,oBAAoB;IACtD,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"dossier-parameters.model.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/dossier/src/lib/models/dossier-parameters.model.ts"],"names":[],"mappings":"AAgBA,UAAU,oBAAoB;IAC5B,cAAc,EAAE,MAAM,CAAC;IACvB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,aAAa,EAAE,MAAM,CAAC;IACtB,kBAAkB,EAAE,MAAM,CAAC;IAC3B,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC;CAC7B;AAED,UAAU,iBAAkB,SAAQ,oBAAoB;IACtD,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,OAAO,EAAC,iBAAiB,EAAC,CAAC"}
|