@valtimo/zgw 12.1.1 → 12.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2022/lib/components/dossier-management-zgw/dossier-management-zgw.component.mjs +4 -4
- package/esm2022/lib/modules/contactmomenten/components/contact-moments/contact-moments.component.mjs +4 -4
- package/esm2022/lib/modules/contactmomenten/services/contact-moment.service.mjs +4 -4
- package/esm2022/lib/modules/documenten-api/components/documenten-api-column-modal/documenten-api-column-modal.component.mjs +4 -4
- package/esm2022/lib/modules/documenten-api/components/documenten-api-columns/documenten-api-columns.component.mjs +4 -4
- package/esm2022/lib/modules/documenten-api/components/documenten-api-documents/documenten-api-documents.component.mjs +20 -26
- package/esm2022/lib/modules/documenten-api/components/documenten-api-filter/documenten-api-filter.component.mjs +4 -4
- package/esm2022/lib/modules/documenten-api/components/documenten-api-link-upload-process/dossier-management-link-process.component.mjs +4 -4
- package/esm2022/lib/modules/documenten-api/components/documenten-api-metadata-modal/documenten-api-metadata-modal.component.mjs +157 -36
- package/esm2022/lib/modules/documenten-api/components/documenten-api-tag-modal/documenten-api-tag-modal.component.mjs +4 -4
- package/esm2022/lib/modules/documenten-api/components/documenten-api-tags/documenten-api-tags.component.mjs +4 -4
- package/esm2022/lib/modules/documenten-api/components/documenten-api-version/documenten-api-version.component.mjs +4 -4
- package/esm2022/lib/modules/documenten-api/formio/documenten-api-uploader/documenten-api-uploader.component.mjs +22 -16
- package/esm2022/lib/modules/documenten-api/services/documenten-api-column.service.mjs +4 -4
- package/esm2022/lib/modules/documenten-api/services/documenten-api-document.service.mjs +4 -4
- package/esm2022/lib/modules/documenten-api/services/documenten-api-link-process.service.mjs +4 -4
- package/esm2022/lib/modules/documenten-api/services/documenten-api-tag.service.mjs +4 -4
- package/esm2022/lib/modules/documenten-api/services/documenten-api-version.service.mjs +4 -4
- package/esm2022/lib/modules/haalcentraal-brp/components/cases-list/cases-list.component.mjs +4 -4
- package/esm2022/lib/modules/haalcentraal-brp/components/customer-list/customer-list.component.mjs +4 -4
- package/esm2022/lib/modules/haalcentraal-brp/customer-routing.module.mjs +5 -5
- package/esm2022/lib/modules/haalcentraal-brp/customer.module.mjs +5 -5
- package/esm2022/lib/modules/haalcentraal-brp/services/customer.service.mjs +4 -4
- package/esm2022/lib/modules/objecten-api/components/object-type/object-type.component.mjs +4 -4
- package/esm2022/lib/modules/objecten-api/components/zaakobjecten/zaakobjecten.component.mjs +4 -4
- package/esm2022/lib/modules/objecten-api/services/zaakobjecten.service.mjs +4 -4
- package/esm2022/lib/modules/zaakdetails/components/document-objecten-api-sync/document-objecten-api-sync.component.mjs +4 -4
- package/esm2022/lib/modules/zaakdetails/services/document-objecten-api-sync.service.mjs +4 -4
- package/esm2022/lib/modules/zaken-api/components/zaken-api-zaaktype-link/zaken-api-zaaktype-link.component.mjs +4 -4
- package/esm2022/lib/modules/zaken-api/services/zaken-api-zaaktype-link.service.mjs +4 -4
- package/esm2022/lib/services/dossier-management-zgw.service.mjs +4 -4
- package/esm2022/lib/zgw.module.mjs +5 -5
- package/fesm2022/valtimo-zgw.mjs +295 -174
- package/fesm2022/valtimo-zgw.mjs.map +1 -1
- package/lib/modules/documenten-api/components/documenten-api-documents/documenten-api-documents.component.d.ts +4 -3
- package/lib/modules/documenten-api/components/documenten-api-documents/documenten-api-documents.component.d.ts.map +1 -1
- package/lib/modules/documenten-api/components/documenten-api-metadata-modal/documenten-api-metadata-modal.component.d.ts +24 -16
- package/lib/modules/documenten-api/components/documenten-api-metadata-modal/documenten-api-metadata-modal.component.d.ts.map +1 -1
- package/lib/modules/documenten-api/formio/documenten-api-uploader/documenten-api-uploader.component.d.ts +9 -5
- package/lib/modules/documenten-api/formio/documenten-api-uploader/documenten-api-uploader.component.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ElementRef, OnInit, TemplateRef } from '@angular/core';
|
|
1
|
+
import { ElementRef, OnDestroy, OnInit, TemplateRef } from '@angular/core';
|
|
2
2
|
import { ActivatedRoute, Router } from '@angular/router';
|
|
3
3
|
import { TranslateService } from '@ngx-translate/core';
|
|
4
4
|
import { ActionItem, ColumnConfig, DocumentenApiMetadata, SortState } from '@valtimo/components';
|
|
@@ -11,7 +11,7 @@ import { DocumentenApiFilterModel, DocumentenApiRelatedFile, SupportedDocumenten
|
|
|
11
11
|
import { DocumentenApiColumnService, DocumentenApiVersionService } from '../../services';
|
|
12
12
|
import { DocumentenApiDocumentService } from '../../services/documenten-api-document.service';
|
|
13
13
|
import * as i0 from "@angular/core";
|
|
14
|
-
export declare class DossierDetailTabDocumentenApiDocumentsComponent implements OnInit {
|
|
14
|
+
export declare class DossierDetailTabDocumentenApiDocumentsComponent implements OnInit, OnDestroy {
|
|
15
15
|
private readonly route;
|
|
16
16
|
private readonly router;
|
|
17
17
|
private readonly uploadProviderService;
|
|
@@ -33,7 +33,6 @@ export declare class DossierDetailTabDocumentenApiDocumentsComponent implements
|
|
|
33
33
|
actionItems: ActionItem[];
|
|
34
34
|
readonly documentDefinitionName$: Observable<string>;
|
|
35
35
|
readonly documentId$: Observable<string>;
|
|
36
|
-
readonly initialSortState$: Observable<SortState | null>;
|
|
37
36
|
isAdmin: boolean;
|
|
38
37
|
showZaakLinkWarning: boolean;
|
|
39
38
|
uploadProcessLinkedSet: boolean;
|
|
@@ -54,8 +53,10 @@ export declare class DossierDetailTabDocumentenApiDocumentsComponent implements
|
|
|
54
53
|
private readonly _refetch$;
|
|
55
54
|
private readonly _sort$;
|
|
56
55
|
relatedFiles$: Observable<Array<DocumentenApiRelatedFile>>;
|
|
56
|
+
private readonly _subscriptions;
|
|
57
57
|
constructor(route: ActivatedRoute, router: Router, uploadProviderService: UploadProviderService, downloadService: DownloadService, translateService: TranslateService, configService: ConfigService, userProviderService: UserProviderService, iconService: IconService, documentenApiDocumentService: DocumentenApiDocumentService, documentenApiColumnService: DocumentenApiColumnService, documentenApiVersionService: DocumentenApiVersionService);
|
|
58
58
|
ngOnInit(): void;
|
|
59
|
+
ngOnDestroy(): void;
|
|
59
60
|
onDeleteActionClick(item: DocumentenApiRelatedFile): void;
|
|
60
61
|
deleteDocument(): void;
|
|
61
62
|
bytesToMegabytes(bytes: number | undefined): string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"documenten-api-documents.component.d.ts","sourceRoot":"","sources":["../../../../../../../../projects/valtimo/zgw/src/lib/modules/documenten-api/components/documenten-api-documents/documenten-api-documents.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAY,UAAU,EAAE,MAAM,EAAE,WAAW,EAAY,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"documenten-api-documents.component.d.ts","sourceRoot":"","sources":["../../../../../../../../projects/valtimo/zgw/src/lib/modules/documenten-api/components/documenten-api-documents/documenten-api-documents.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAY,UAAU,EAAE,SAAS,EAAE,MAAM,EAAE,WAAW,EAAY,MAAM,eAAe,CAAC;AAC/F,OAAO,EAAC,cAAc,EAAE,MAAM,EAAC,MAAM,iBAAiB,CAAC;AAEvD,OAAO,EAAkB,gBAAgB,EAAC,MAAM,qBAAqB,CAAC;AACtE,OAAO,EACL,UAAU,EAEV,YAAY,EAEZ,qBAAqB,EACrB,SAAS,EAEV,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAC,aAAa,EAAC,MAAM,iBAAiB,CAAC;AAC9C,OAAO,EAAC,eAAe,EAAE,qBAAqB,EAAC,MAAM,mBAAmB,CAAC;AACzE,OAAO,EAAC,mBAAmB,EAAC,MAAM,mBAAmB,CAAC;AACtD,OAAO,EAAyC,WAAW,EAAC,MAAM,2BAA2B,CAAC;AAC9F,OAAO,EACL,eAAe,EAEf,UAAU,EAEV,aAAa,EACb,OAAO,EAER,MAAM,MAAM,CAAC;AAEd,OAAO,EAIL,wBAAwB,EACxB,wBAAwB,EACxB,8BAA8B,EAC/B,MAAM,cAAc,CAAC;AACtB,OAAO,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AI,GAAG,IAAI;IAMhC,kBAAkB,IAAI,IAAI;IAI1B,cAAc,CAAC,KAAK,EAAE,GAAG,GAAG,IAAI;IAOhC,0BAA0B,IAAI,IAAI;IAMlC,UAAU,CAAC,KAAK,EAAE,GAAG,GAAG,IAAI;IAI5B,mBAAmB,IAAI,IAAI;IAI3B,aAAa,CAAC,MAAM,EAAE,wBAAwB,GAAG,IAAI,GAAG,IAAI;IAI5D,aAAa,CAAC,SAAS,EAAE,SAAS,GAAG,IAAI;IAUzC,gBAAgB,IAAI,IAAI;IAI/B,OAAO,CAAC,YAAY;IAIpB,OAAO,CAAC,gBAAgB;IAQxB,OAAO,CAAC,2BAA2B;IAenC,OAAO,CAAC,cAAc;IAItB,OAAO,CAAC,sBAAsB;IAgB9B,OAAO,CAAC,uBAAuB;yCAlWpB,+CAA+C;2CAA/C,+CAA+C;CAiX3D"}
|
|
@@ -6,51 +6,59 @@ import { ActivatedRoute } from '@angular/router';
|
|
|
6
6
|
import { DocumentService } from '@valtimo/document';
|
|
7
7
|
import { KeycloakService } from 'keycloak-angular';
|
|
8
8
|
import { AbstractControl, FormBuilder, FormGroup } from '@angular/forms';
|
|
9
|
-
import { ModalService, ValtimoModalService } from '@valtimo/components';
|
|
9
|
+
import { ModalService, ValtimoModalService, VModalComponent } from '@valtimo/components';
|
|
10
10
|
import { ListItem } from 'carbon-components-angular';
|
|
11
|
-
import { DocumentenApiDocumentService } from '../../services';
|
|
12
11
|
import { DocumentenApiTagService } from '../../services/documenten-api-tag.service';
|
|
13
12
|
import * as i0 from "@angular/core";
|
|
14
13
|
export declare class DocumentenApiMetadataModalComponent implements OnInit, OnChanges, OnDestroy {
|
|
15
14
|
private readonly route;
|
|
16
15
|
private readonly documentService;
|
|
17
|
-
private readonly documentenApiDocumentService;
|
|
18
16
|
private readonly documentenApiTagService;
|
|
19
17
|
private readonly fb;
|
|
20
18
|
private readonly keycloakService;
|
|
21
19
|
private readonly modalService;
|
|
22
20
|
private readonly translateService;
|
|
23
21
|
private readonly valtimoModalService;
|
|
22
|
+
metadataModal: VModalComponent;
|
|
24
23
|
disabled$: Observable<boolean>;
|
|
25
24
|
file$: Observable<any>;
|
|
26
25
|
author: string;
|
|
27
26
|
confidentialityLevel: string;
|
|
28
27
|
description: string;
|
|
29
|
-
disableAuthor: boolean;
|
|
30
|
-
disableConfidentialityLevel: boolean;
|
|
31
|
-
disableDescription: boolean;
|
|
32
|
-
disableDocumentTitle: boolean;
|
|
33
|
-
disableDocumentType: boolean;
|
|
34
|
-
disableFilename: boolean;
|
|
35
|
-
disableLanguage: boolean;
|
|
36
|
-
disableStatus: boolean;
|
|
28
|
+
set disableAuthor(value: boolean);
|
|
29
|
+
set disableConfidentialityLevel(value: boolean);
|
|
30
|
+
set disableDescription(value: boolean);
|
|
31
|
+
set disableDocumentTitle(value: boolean);
|
|
32
|
+
set disableDocumentType(value: boolean);
|
|
33
|
+
set disableFilename(value: boolean);
|
|
34
|
+
set disableLanguage(value: boolean);
|
|
35
|
+
set disableStatus(value: boolean);
|
|
36
|
+
set disableTrefwoorden(value: boolean);
|
|
37
37
|
documentTitle: string;
|
|
38
38
|
documentType: string;
|
|
39
|
-
disableTrefwoorden: boolean;
|
|
40
39
|
filename: string;
|
|
41
40
|
isEditMode: boolean;
|
|
42
41
|
language: string;
|
|
43
|
-
open
|
|
42
|
+
readonly open$: BehaviorSubject<boolean>;
|
|
43
|
+
set open(value: boolean);
|
|
44
44
|
status: string;
|
|
45
45
|
supportsTrefwoorden: boolean;
|
|
46
46
|
metadata: EventEmitter<DocumentenApiMetadata>;
|
|
47
47
|
modalClose: EventEmitter<boolean>;
|
|
48
48
|
documentenApiMetadataForm: FormGroup;
|
|
49
49
|
get confidentialityLevelFormControl(): AbstractControl<string>;
|
|
50
|
+
get confidentialityLevelDisabled$(): Observable<boolean>;
|
|
50
51
|
get informatieobjecttypeFormControl(): AbstractControl<string>;
|
|
52
|
+
get informatieobjecttypeDisabled$(): Observable<boolean>;
|
|
51
53
|
get languageFormControl(): AbstractControl<string>;
|
|
54
|
+
get languageDisabled$(): Observable<boolean>;
|
|
52
55
|
get statusFormControl(): AbstractControl<string>;
|
|
56
|
+
get statusDisabled$(): Observable<boolean>;
|
|
53
57
|
get tagFormControl(): AbstractControl<string[]>;
|
|
58
|
+
get titel(): AbstractControl<string>;
|
|
59
|
+
get beschrijving(): AbstractControl<string>;
|
|
60
|
+
get auteur(): AbstractControl<string>;
|
|
61
|
+
get bestandsnaam(): AbstractControl<string>;
|
|
54
62
|
readonly isDefinitiveStatus$: BehaviorSubject<boolean>;
|
|
55
63
|
readonly CONFIDENTIALITY_LEVELS: Array<ConfidentialityLevel>;
|
|
56
64
|
readonly confidentialityLevelItems$: Observable<Array<ListItem>>;
|
|
@@ -70,10 +78,9 @@ export declare class DocumentenApiMetadataModalComponent implements OnInit, OnCh
|
|
|
70
78
|
languageItems$: Observable<Array<ListItem>>;
|
|
71
79
|
readonly documentTypeItems$: Observable<Array<ListItem>>;
|
|
72
80
|
readonly userEmail$: Observable<string>;
|
|
73
|
-
private readonly modalSize;
|
|
74
81
|
private _subscriptions;
|
|
75
82
|
private _fileSubscription;
|
|
76
|
-
constructor(route: ActivatedRoute, documentService: DocumentService,
|
|
83
|
+
constructor(route: ActivatedRoute, documentService: DocumentService, documentenApiTagService: DocumentenApiTagService, fb: FormBuilder, keycloakService: KeycloakService, modalService: ModalService, translateService: TranslateService, valtimoModalService: ValtimoModalService);
|
|
77
84
|
ngOnInit(): void;
|
|
78
85
|
ngOnChanges(): void;
|
|
79
86
|
ngOnDestroy(): void;
|
|
@@ -105,8 +112,9 @@ export declare class DocumentenApiMetadataModalComponent implements OnInit, OnCh
|
|
|
105
112
|
private prefillFilenameAndAuthor;
|
|
106
113
|
private formatDate;
|
|
107
114
|
private openFileSubscription;
|
|
115
|
+
openDisabledSubscription(): void;
|
|
108
116
|
private setAdditionalDate;
|
|
109
117
|
static ɵfac: i0.ɵɵFactoryDeclaration<DocumentenApiMetadataModalComponent, never>;
|
|
110
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DocumentenApiMetadataModalComponent, "valtimo-documenten-api-metadata-modal", never, { "disabled$": { "alias": "disabled$"; "required": false; }; "file$": { "alias": "file$"; "required": false; }; "author": { "alias": "author"; "required": false; }; "confidentialityLevel": { "alias": "confidentialityLevel"; "required": false; }; "description": { "alias": "description"; "required": false; }; "disableAuthor": { "alias": "disableAuthor"; "required": false; }; "disableConfidentialityLevel": { "alias": "disableConfidentialityLevel"; "required": false; }; "disableDescription": { "alias": "disableDescription"; "required": false; }; "disableDocumentTitle": { "alias": "disableDocumentTitle"; "required": false; }; "disableDocumentType": { "alias": "disableDocumentType"; "required": false; }; "disableFilename": { "alias": "disableFilename"; "required": false; }; "disableLanguage": { "alias": "disableLanguage"; "required": false; }; "disableStatus": { "alias": "disableStatus"; "required": false; }; "
|
|
118
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DocumentenApiMetadataModalComponent, "valtimo-documenten-api-metadata-modal", never, { "disabled$": { "alias": "disabled$"; "required": false; }; "file$": { "alias": "file$"; "required": false; }; "author": { "alias": "author"; "required": false; }; "confidentialityLevel": { "alias": "confidentialityLevel"; "required": false; }; "description": { "alias": "description"; "required": false; }; "disableAuthor": { "alias": "disableAuthor"; "required": false; }; "disableConfidentialityLevel": { "alias": "disableConfidentialityLevel"; "required": false; }; "disableDescription": { "alias": "disableDescription"; "required": false; }; "disableDocumentTitle": { "alias": "disableDocumentTitle"; "required": false; }; "disableDocumentType": { "alias": "disableDocumentType"; "required": false; }; "disableFilename": { "alias": "disableFilename"; "required": false; }; "disableLanguage": { "alias": "disableLanguage"; "required": false; }; "disableStatus": { "alias": "disableStatus"; "required": false; }; "disableTrefwoorden": { "alias": "disableTrefwoorden"; "required": false; }; "documentTitle": { "alias": "documentTitle"; "required": false; }; "documentType": { "alias": "documentType"; "required": false; }; "filename": { "alias": "filename"; "required": false; }; "isEditMode": { "alias": "isEditMode"; "required": false; }; "language": { "alias": "language"; "required": false; }; "open": { "alias": "open"; "required": false; }; "status": { "alias": "status"; "required": false; }; "supportsTrefwoorden": { "alias": "supportsTrefwoorden"; "required": false; }; }, { "metadata": "metadata"; "modalClose": "modalClose"; }, never, never, true, never>;
|
|
111
119
|
}
|
|
112
120
|
//# sourceMappingURL=documenten-api-metadata-modal.component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"documenten-api-metadata-modal.component.d.ts","sourceRoot":"","sources":["../../../../../../../../projects/valtimo/zgw/src/lib/modules/documenten-api/components/documenten-api-metadata-modal/documenten-api-metadata-modal.component.ts"],"names":[],"mappings":"AAgBA,OAAO,
|
|
1
|
+
{"version":3,"file":"documenten-api-metadata-modal.component.d.ts","sourceRoot":"","sources":["../../../../../../../../projects/valtimo/zgw/src/lib/modules/documenten-api/components/documenten-api-metadata-modal/documenten-api-metadata-modal.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EAEL,YAAY,EAEZ,SAAS,EACT,SAAS,EACT,MAAM,EAGP,MAAM,eAAe,CAAC;AAEvB,OAAO,EACL,sBAAsB,EACtB,oBAAoB,EACpB,qBAAqB,EACrB,gBAAgB,EAChB,cAAc,EACf,MAAM,cAAc,CAAC;AACtB,OAAO,EACL,eAAe,EAKf,UAAU,EAGV,OAAO,EAIR,MAAM,MAAM,CAAC;AACd,OAAO,EAAkB,gBAAgB,EAAC,MAAM,qBAAqB,CAAC;AACtE,OAAO,EAAC,cAAc,EAAC,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAC,eAAe,EAAC,MAAM,mBAAmB,CAAC;AAClD,OAAO,EAAC,eAAe,EAAC,MAAM,kBAAkB,CAAC;AAGjD,OAAO,EACL,eAAe,EACf,WAAW,EACX,SAAS,EAGV,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAGL,YAAY,EAEZ,mBAAmB,EACnB,eAAe,EAEhB,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAOL,QAAQ,EAKT,MAAM,2BAA2B,CAAC;AACnC,O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AAC,IAAI,EAAE;YAAC,EAAE,EAAE,MAAM,CAAA;SAAC,CAAA;KAAC;IAQxD,cAAc,CAAC,KAAK,EAAE;QAAC,IAAI,EAAE;YAAC,EAAE,EAAE,MAAM,CAAA;SAAC,CAAA;KAAC;IAQ1C,4BAA4B,CAAC,KAAK,EAAE;QAAC,IAAI,EAAE;YAAC,EAAE,EAAE,MAAM,CAAA;SAAC,CAAA;KAAC;IAQxD,WAAW,CAAC,IAAI,KAAA;IAuChB,IAAI,IAAI,IAAI;IAiBZ,UAAU,IAAI,IAAI;IAQzB,OAAO,CAAC,SAAS;IAIjB,OAAO,CAAC,wBAAwB;IAehC,OAAO,CAAC,UAAU;IAUlB,OAAO,CAAC,oBAAoB;IAcrB,wBAAwB,IAAI,IAAI;IAYvC,OAAO,CAAC,iBAAiB;yCAlgBd,mCAAmC;2CAAnC,mCAAmC;CAqgB/C"}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
2
|
import { FormioCustomComponent, FormIoDomService, FormIoStateService, ValtimoModalService } from '@valtimo/components';
|
|
3
|
-
import { BehaviorSubject, Observable
|
|
3
|
+
import { BehaviorSubject, Observable } from 'rxjs';
|
|
4
4
|
import { DocumentenApiFileReference, DownloadService, UploadProviderService } from '@valtimo/resource';
|
|
5
|
-
import { DocumentenApiMetadata } from '../../models';
|
|
5
|
+
import { DocumentenApiMetadata, SupportedDocumentenApiFeatures } from '../../models';
|
|
6
6
|
import { UserProviderService } from '@valtimo/security';
|
|
7
7
|
import { ActivatedRoute } from '@angular/router';
|
|
8
|
+
import { DocumentenApiVersionService } from '../../services';
|
|
8
9
|
import * as i0 from "@angular/core";
|
|
9
10
|
export declare class DocumentenApiUploaderComponent implements FormioCustomComponent<Array<DocumentenApiFileReference>> {
|
|
10
11
|
private readonly uploadProviderService;
|
|
@@ -14,6 +15,7 @@ export declare class DocumentenApiUploaderComponent implements FormioCustomCompo
|
|
|
14
15
|
private readonly modalService;
|
|
15
16
|
private readonly userProviderService;
|
|
16
17
|
private readonly route;
|
|
18
|
+
private readonly documentenApiVersionService;
|
|
17
19
|
disabled: boolean;
|
|
18
20
|
title: string;
|
|
19
21
|
hideTitle: boolean;
|
|
@@ -41,16 +43,18 @@ export declare class DocumentenApiUploaderComponent implements FormioCustomCompo
|
|
|
41
43
|
readonly uploading$: BehaviorSubject<boolean>;
|
|
42
44
|
readonly fileToBeUploaded$: BehaviorSubject<File>;
|
|
43
45
|
readonly modalDisabled$: BehaviorSubject<boolean>;
|
|
44
|
-
readonly showModal
|
|
45
|
-
readonly hideModal$: Subject<null>;
|
|
46
|
+
readonly showModal: import("@angular/core").WritableSignal<boolean>;
|
|
46
47
|
readonly uploadProcessLinked$: Observable<boolean | string>;
|
|
47
48
|
readonly isAdmin$: Observable<boolean>;
|
|
48
|
-
|
|
49
|
+
private readonly _documentDefinitionName$;
|
|
50
|
+
readonly supportedDocumentenApiFeatures$: Observable<SupportedDocumentenApiFeatures>;
|
|
51
|
+
constructor(uploadProviderService: UploadProviderService, stateService: FormIoStateService, domService: FormIoDomService, downloadService: DownloadService, modalService: ValtimoModalService, userProviderService: UserProviderService, route: ActivatedRoute, documentenApiVersionService: DocumentenApiVersionService);
|
|
49
52
|
_value: Array<DocumentenApiFileReference>;
|
|
50
53
|
get value(): Array<DocumentenApiFileReference>;
|
|
51
54
|
set value(value: Array<DocumentenApiFileReference>);
|
|
52
55
|
fileSelected(file: File): void;
|
|
53
56
|
deleteFile(id: string): void;
|
|
57
|
+
closeMetadataModal(): void;
|
|
54
58
|
metadataSet(metadata: DocumentenApiMetadata): void;
|
|
55
59
|
static ɵfac: i0.ɵɵFactoryDeclaration<DocumentenApiUploaderComponent, never>;
|
|
56
60
|
static ɵcmp: i0.ɵɵComponentDeclaration<DocumentenApiUploaderComponent, "valtimo-documenten-api-formio-uploader", never, { "disabled": { "alias": "disabled"; "required": false; }; "title": { "alias": "title"; "required": false; }; "hideTitle": { "alias": "hideTitle"; "required": false; }; "subtitle": { "alias": "subtitle"; "required": false; }; "maxFileSize": { "alias": "maxFileSize"; "required": false; }; "hideMaxFileSize": { "alias": "hideMaxFileSize"; "required": false; }; "camera": { "alias": "camera"; "required": false; }; "documentTitle": { "alias": "documentTitle"; "required": false; }; "disableDocumentTitle": { "alias": "disableDocumentTitle"; "required": false; }; "filename": { "alias": "filename"; "required": false; }; "disableFilename": { "alias": "disableFilename"; "required": false; }; "author": { "alias": "author"; "required": false; }; "disableAuthor": { "alias": "disableAuthor"; "required": false; }; "status": { "alias": "status"; "required": false; }; "disableStatus": { "alias": "disableStatus"; "required": false; }; "language": { "alias": "language"; "required": false; }; "disableLanguage": { "alias": "disableLanguage"; "required": false; }; "documentType": { "alias": "documentType"; "required": false; }; "disableDocumentType": { "alias": "disableDocumentType"; "required": false; }; "description": { "alias": "description"; "required": false; }; "disableDescription": { "alias": "disableDescription"; "required": false; }; "confidentialityLevel": { "alias": "confidentialityLevel"; "required": false; }; "disableConfidentialityLevel": { "alias": "disableConfidentialityLevel"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, false, never>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"documenten-api-uploader.component.d.ts","sourceRoot":"","sources":["../../../../../../../../projects/valtimo/zgw/src/lib/modules/documenten-api/formio/documenten-api-uploader/documenten-api-uploader.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAY,YAAY,
|
|
1
|
+
{"version":3,"file":"documenten-api-uploader.component.d.ts","sourceRoot":"","sources":["../../../../../../../../projects/valtimo/zgw/src/lib/modules/documenten-api/formio/documenten-api-uploader/documenten-api-uploader.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAY,YAAY,EAAwB,MAAM,eAAe,CAAC;AAC7E,OAAO,EACL,qBAAqB,EACrB,gBAAgB,EAChB,kBAAkB,EAClB,mBAAmB,EACpB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAC,eAAe,EAAiB,UAAU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