@valtimo/components 5.9.1 → 5.11.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 (47) hide show
  1. package/esm2020/lib/components/documenten-api-metadata-modal/documenten-api-metadata-modal.component.mjs +213 -0
  2. package/esm2020/lib/components/documenten-api-metadata-modal/documenten-api-metadata-modal.module.mjs +69 -0
  3. package/esm2020/lib/components/dropzone/dropzone.component.mjs +5 -2
  4. package/esm2020/lib/components/form-io/documenten-api-uploader/documenten-api-uploader-edit-form.mjs +295 -0
  5. package/esm2020/lib/components/form-io/documenten-api-uploader/documenten-api-uploader.component.mjs +147 -0
  6. package/esm2020/lib/components/form-io/documenten-api-uploader/documenten-api-uploader.formio.mjs +43 -0
  7. package/esm2020/lib/components/form-io/form-io-uploader/form-io-uploader.component.mjs +1 -1
  8. package/esm2020/lib/components/form-io/form-io.module.mjs +26 -5
  9. package/esm2020/lib/components/view-content/type-converters/dateTypeConverter.mjs +2 -2
  10. package/esm2020/lib/components/view-content/view-content.service.mjs +11 -1
  11. package/esm2020/lib/models/documenten-api-metadata.model.mjs +17 -0
  12. package/esm2020/lib/models/form-io.model.mjs +1 -1
  13. package/esm2020/lib/models/index.mjs +2 -1
  14. package/esm2020/lib/services/valtimo-modal.service.mjs +9 -2
  15. package/esm2020/public_api.mjs +5 -1
  16. package/fesm2015/valtimo-components.mjs +788 -24
  17. package/fesm2015/valtimo-components.mjs.map +1 -1
  18. package/fesm2020/valtimo-components.mjs +800 -13
  19. package/fesm2020/valtimo-components.mjs.map +1 -1
  20. package/lib/components/documenten-api-metadata-modal/documenten-api-metadata-modal.component.d.ts +74 -0
  21. package/lib/components/documenten-api-metadata-modal/documenten-api-metadata-modal.component.d.ts.map +1 -0
  22. package/lib/components/documenten-api-metadata-modal/documenten-api-metadata-modal.module.d.ts +11 -0
  23. package/lib/components/documenten-api-metadata-modal/documenten-api-metadata-modal.module.d.ts.map +1 -0
  24. package/lib/components/dropzone/dropzone.component.d.ts +4 -3
  25. package/lib/components/dropzone/dropzone.component.d.ts.map +1 -1
  26. package/lib/components/form-io/documenten-api-uploader/documenten-api-uploader-edit-form.d.ts +105 -0
  27. package/lib/components/form-io/documenten-api-uploader/documenten-api-uploader-edit-form.d.ts.map +1 -0
  28. package/lib/components/form-io/documenten-api-uploader/documenten-api-uploader.component.d.ts +61 -0
  29. package/lib/components/form-io/documenten-api-uploader/documenten-api-uploader.component.d.ts.map +1 -0
  30. package/lib/components/form-io/documenten-api-uploader/documenten-api-uploader.formio.d.ts +4 -0
  31. package/lib/components/form-io/documenten-api-uploader/documenten-api-uploader.formio.d.ts.map +1 -0
  32. package/lib/components/form-io/form-io.module.d.ts +11 -9
  33. package/lib/components/form-io/form-io.module.d.ts.map +1 -1
  34. package/lib/components/view-content/type-converters/dateTypeConverter.d.ts.map +1 -1
  35. package/lib/components/view-content/view-content.service.d.ts +1 -0
  36. package/lib/components/view-content/view-content.service.d.ts.map +1 -1
  37. package/lib/models/documenten-api-metadata.model.d.ts +19 -0
  38. package/lib/models/documenten-api-metadata.model.d.ts.map +1 -0
  39. package/lib/models/form-io.model.d.ts +3 -0
  40. package/lib/models/form-io.model.d.ts.map +1 -1
  41. package/lib/models/index.d.ts +1 -0
  42. package/lib/models/index.d.ts.map +1 -1
  43. package/lib/services/valtimo-modal.service.d.ts +3 -0
  44. package/lib/services/valtimo-modal.service.d.ts.map +1 -1
  45. package/package.json +1 -1
  46. package/public_api.d.ts +4 -0
  47. package/public_api.d.ts.map +1 -1
@@ -0,0 +1,74 @@
1
+ import { EventEmitter, OnDestroy, OnInit } from '@angular/core';
2
+ import { ModalComponent, ModalService, SelectItem } from '@valtimo/user-interface';
3
+ import { BehaviorSubject, Observable, Subject } from 'rxjs';
4
+ import { AdditionalDocumentDate, ConfidentialityLevel, DocumentenApiMetadata, DocumentLanguage, DocumentStatus } from '../../models';
5
+ import { TranslateService } from '@ngx-translate/core';
6
+ import { ActivatedRoute } from '@angular/router';
7
+ import { DocumentService } from '@valtimo/document';
8
+ import { KeycloakService } from 'keycloak-angular';
9
+ import { ValtimoModalService } from '../../services/valtimo-modal.service';
10
+ import * as i0 from "@angular/core";
11
+ export declare class DocumentenApiMetadataModalComponent implements OnInit, OnDestroy {
12
+ private readonly modalService;
13
+ private readonly translateService;
14
+ private readonly route;
15
+ private readonly documentService;
16
+ private readonly keycloakService;
17
+ private readonly valtimoModalService;
18
+ documentenApiMetadataModal: ModalComponent;
19
+ show$: Observable<null>;
20
+ hide$: Observable<null>;
21
+ disabled$: Observable<boolean>;
22
+ file$: Observable<File>;
23
+ documentTitle: string;
24
+ disableDocumentTitle: boolean;
25
+ filename: string;
26
+ disableFilename: boolean;
27
+ author: string;
28
+ disableAuthor: boolean;
29
+ status: string;
30
+ disableStatus: boolean;
31
+ language: string;
32
+ disableLanguage: boolean;
33
+ documentType: string;
34
+ disableDocumentType: boolean;
35
+ description: string;
36
+ disableDescription: boolean;
37
+ confidentialityLevel: string;
38
+ disableConfidentialityLevel: boolean;
39
+ metadata: EventEmitter<DocumentenApiMetadata>;
40
+ readonly CONFIDENTIALITY_LEVELS: Array<ConfidentialityLevel>;
41
+ readonly confidentialityLevelItems$: Observable<Array<SelectItem>>;
42
+ readonly ADDITONAL_DOCUMENT_DATE_OPTIONS: Array<{
43
+ value: AdditionalDocumentDate;
44
+ translationKey: string;
45
+ }>;
46
+ readonly clearStatusSelection$: Subject<null>;
47
+ readonly additionalDocumentDate$: BehaviorSubject<AdditionalDocumentDate>;
48
+ readonly STATUSES: Array<DocumentStatus>;
49
+ readonly RECEIPT_STATUSES: Array<DocumentStatus>;
50
+ readonly formData$: BehaviorSubject<DocumentenApiMetadata>;
51
+ readonly statusItems$: Observable<Array<SelectItem>>;
52
+ readonly LANGUAGES: Array<DocumentLanguage>;
53
+ readonly languageItems$: Observable<Array<SelectItem>>;
54
+ readonly documentTypeItems$: Observable<Array<SelectItem>>;
55
+ readonly showForm$: Observable<boolean>;
56
+ readonly valid$: BehaviorSubject<boolean>;
57
+ readonly userEmail$: Observable<string>;
58
+ private showSubscription;
59
+ private hideSubscription;
60
+ constructor(modalService: ModalService, translateService: TranslateService, route: ActivatedRoute, documentService: DocumentService, keycloakService: KeycloakService, valtimoModalService: ValtimoModalService);
61
+ ngOnInit(): void;
62
+ ngOnDestroy(): void;
63
+ hide(): void;
64
+ cancel(): void;
65
+ save(): void;
66
+ formValueChange(data: DocumentenApiMetadata): void;
67
+ setAdditionalDate(value: AdditionalDocumentDate): void;
68
+ private setValid;
69
+ private openShowSubscription;
70
+ private openHideSubscription;
71
+ static ɵfac: i0.ɵɵFactoryDeclaration<DocumentenApiMetadataModalComponent, never>;
72
+ static ɵcmp: i0.ɵɵComponentDeclaration<DocumentenApiMetadataModalComponent, "valtimo-documenten-api-metadata-modal", never, { "show$": "show$"; "hide$": "hide$"; "disabled$": "disabled$"; "file$": "file$"; "documentTitle": "documentTitle"; "disableDocumentTitle": "disableDocumentTitle"; "filename": "filename"; "disableFilename": "disableFilename"; "author": "author"; "disableAuthor": "disableAuthor"; "status": "status"; "disableStatus": "disableStatus"; "language": "language"; "disableLanguage": "disableLanguage"; "documentType": "documentType"; "disableDocumentType": "disableDocumentType"; "description": "description"; "disableDescription": "disableDescription"; "confidentialityLevel": "confidentialityLevel"; "disableConfidentialityLevel": "disableConfidentialityLevel"; }, { "metadata": "metadata"; }, never, never>;
73
+ }
74
+ //# sourceMappingURL=documenten-api-metadata-modal.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"documenten-api-metadata-modal.component.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/components/src/lib/components/documenten-api-metadata-modal/documenten-api-metadata-modal.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAY,YAAY,EAAS,SAAS,EAAE,MAAM,EAAoB,MAAM,eAAe,CAAC;AACnG,OAAO,EAAC,cAAc,EAAE,YAAY,EAAE,UAAU,EAAC,MAAM,yBAAyB,CAAC;AACjF,OAAO,EACL,eAAe,E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AgB,CAAgB;gBAGrB,YAAY,EAAE,YAAY,EAC1B,gBAAgB,EAAE,gBAAgB,EAClC,KAAK,EAAE,cAAc,EACrB,eAAe,EAAE,eAAe,EAChC,eAAe,EAAE,eAAe,EAChC,mBAAmB,EAAE,mBAAmB;IAG3D,QAAQ,IAAI,IAAI;IAKhB,WAAW,IAAI,IAAI;IAKnB,IAAI,IAAI,IAAI;IAOZ,MAAM,IAAI,IAAI;IAId,IAAI,IAAI,IAAI;IAUZ,eAAe,CAAC,IAAI,EAAE,qBAAqB,GAAG,IAAI;IAKlD,iBAAiB,CAAC,KAAK,EAAE,sBAAsB,GAAG,IAAI;IAItD,OAAO,CAAC,QAAQ;IAchB,OAAO,CAAC,oBAAoB;IAM5B,OAAO,CAAC,oBAAoB;yCA9MjB,mCAAmC;2CAAnC,mCAAmC;CAmN/C"}
@@ -0,0 +1,11 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./documenten-api-metadata-modal.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "@ngx-translate/core";
5
+ import * as i4 from "@valtimo/user-interface";
6
+ export declare class DocumentenApiMetadataModalModule {
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<DocumentenApiMetadataModalModule, never>;
8
+ static ɵmod: i0.ɵɵNgModuleDeclaration<DocumentenApiMetadataModalModule, [typeof i1.DocumentenApiMetadataModalComponent], [typeof i2.CommonModule, typeof i3.TranslateModule, typeof i4.ModalModule, typeof i4.TitleModule, typeof i4.ButtonModule, typeof i3.TranslateModule, typeof i4.FormModule, typeof i4.InputModule, typeof i4.SelectModule, typeof i4.DatePickerModule, typeof i4.InputLabelModule], [typeof i1.DocumentenApiMetadataModalComponent]>;
9
+ static ɵinj: i0.ɵɵInjectorDeclaration<DocumentenApiMetadataModalModule>;
10
+ }
11
+ //# sourceMappingURL=documenten-api-metadata-modal.module.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"documenten-api-metadata-modal.module.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/components/src/lib/components/documenten-api-metadata-modal/documenten-api-metadata-modal.module.ts"],"names":[],"mappings":";;;;;AA+BA,qBAiBa,gCAAgC;yCAAhC,gCAAgC;0CAAhC,gCAAgC;0CAAhC,gCAAgC;CAAG"}
@@ -17,11 +17,12 @@ export declare class DropzoneComponent implements OnInit, AfterViewInit, OnDestr
17
17
  hideFilePreview: boolean;
18
18
  uploading: boolean;
19
19
  camera: boolean;
20
+ maxFiles: number;
20
21
  fileSelected: EventEmitter<File>;
21
- private clearSubscription;
22
- private dropzone;
23
22
  readonly file$: BehaviorSubject<File>;
24
23
  readonly showingCamera$: BehaviorSubject<boolean>;
24
+ private clearSubscription;
25
+ private dropzone;
25
26
  private readonly error$;
26
27
  private readonly errorMessagesStrings;
27
28
  readonly errorMessage$: Observable<string>;
@@ -37,6 +38,6 @@ export declare class DropzoneComponent implements OnInit, AfterViewInit, OnDestr
37
38
  private clearError;
38
39
  private setFile;
39
40
  static ɵfac: i0.ɵɵFactoryDeclaration<DropzoneComponent, never>;
40
- static ɵcmp: i0.ɵɵComponentDeclaration<DropzoneComponent, "valtimo-dropzone", never, { "title": "title"; "hideTitle": "hideTitle"; "subtitle": "subtitle"; "externalError$": "externalError$"; "maxFileSize": "maxFileSize"; "showMaxFileSize": "showMaxFileSize"; "acceptedFiles": "acceptedFiles"; "clear$": "clear$"; "disabled": "disabled"; "hideFilePreview": "hideFilePreview"; "uploading": "uploading"; "camera": "camera"; }, { "fileSelected": "fileSelected"; }, never, never>;
41
+ static ɵcmp: i0.ɵɵComponentDeclaration<DropzoneComponent, "valtimo-dropzone", never, { "title": "title"; "hideTitle": "hideTitle"; "subtitle": "subtitle"; "externalError$": "externalError$"; "maxFileSize": "maxFileSize"; "showMaxFileSize": "showMaxFileSize"; "acceptedFiles": "acceptedFiles"; "clear$": "clear$"; "disabled": "disabled"; "hideFilePreview": "hideFilePreview"; "uploading": "uploading"; "camera": "camera"; "maxFiles": "maxFiles"; }, { "fileSelected": "fileSelected"; }, never, never>;
41
42
  }
42
43
  //# sourceMappingURL=dropzone.component.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"dropzone.component.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/components/src/lib/components/dropzone/dropzone.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EACL,aAAa,EAEb,UAAU,EACV,YAAY,EAEZ,SAAS,EACT,MAAM,EAGP,MAAM,eAAe,CAAC;AACvB,OAAO,EAAC,gBAAgB,EAAC,MAAM,qBAAqB,CAAC;AAErD,OAAO,EAAC,eAAe,EAAiB,UAAU,EAAE,OAAO,EAAe,MAAM,MAAM,CAAC;;AAGvF,qBAKa,iBAAkB,YAAW,MAAM,EAAE,aAAa,EAAE,SAAS;IAwD5D,OAAO,CAAC,QAAQ,CAAC,gBAAgB;IAvDtB,WAAW,EAAE,UAAU,CAAC,GAAG,CAAC,CAAC;IAE3C,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,OAAO,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,cAAc,EAAE,eAAe,CAAC,MAAM,CAAC,CAAmC;IAC1E,WAAW,SAAK;IAChB,eAAe,UAAQ;IACvB,aAAa,SAAW;IACxB,MAAM,EAAE,OAAO,CAAC,GAAG,CAAC,CAAiB;IACrC,QAAQ,EAAE,OAAO,CAAC;IAClB,eAAe,EAAE,OAAO,CAAC;IACzB,SAAS,EAAE,OAAO,CAAC;IACnB,MAAM,UAAS;IAEd,YAAY,EAAE,YAAY,CAAC,IAAI,CAAC,CAAsB;IAEhE,OAAO,CAAC,iBAAiB,CAAe;IAExC,OAAO,CAAC,QAAQ,CAAW;IAE3B,QAAQ,CAAC,KAAK,wBAAwC;IAEtD,QAAQ,CAAC,cAAc,2BAAuC;IAE9D,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAmC;IAE1D,OAAO,CAAC,QAAQ,CAAC,oBAAoB,CAGnC;IAEF,QAAQ,CAAC,aAAa,EAAE,UAAU,CAAC,MAAM,CAAC,CAqBxC;gBAE2B,gBAAgB,EAAE,gBAAgB;IAE/D,QAAQ,IAAI,IAAI;IAOhB,eAAe;IAIf,WAAW,IAAI,IAAI;IAInB,UAAU,IAAI,IAAI;IAIlB,gBAAgB,CAAC,KAAK,EAAE,IAAI,GAAG,IAAI;IAQnC,OAAO,CAAC,YAAY;IAkBpB,OAAO,CAAC,iBAAiB;IAOzB,OAAO,CAAC,SAAS;IAIjB,OAAO,CAAC,UAAU;IAIlB,OAAO,CAAC,OAAO;yCAtHJ,iBAAiB;2CAAjB,iBAAiB;CA2H7B"}
1
+ {"version":3,"file":"dropzone.component.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/components/src/lib/components/dropzone/dropzone.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EACL,aAAa,EAEb,UAAU,EACV,YAAY,EAEZ,SAAS,EACT,MAAM,EAGP,MAAM,eAAe,CAAC;AACvB,OAAO,EAAC,gBAAgB,EAAC,MAAM,qBAAqB,CAAC;AAErD,OAAO,EAAC,eAAe,EAAiB,UAAU,EAAE,OAAO,EAAe,MAAM,MAAM,CAAC;;AAGvF,qBAKa,iBAAkB,YAAW,MAAM,EAAE,aAAa,EAAE,SAAS;IAoD5D,OAAO,CAAC,QAAQ,CAAC,gBAAgB;IAnDtB,WAAW,EAAE,UAAU,CAAC,GAAG,CAAC,CAAC;IAE3C,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,OAAO,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,cAAc,EAAE,eAAe,CAAC,MAAM,CAAC,CAAmC;IAC1E,WAAW,SAAK;IAChB,eAAe,UAAQ;IACvB,aAAa,SAAW;IACxB,MAAM,EAAE,OAAO,CAAC,GAAG,CAAC,CAAiB;IACrC,QAAQ,EAAE,OAAO,CAAC;IAClB,eAAe,EAAE,OAAO,CAAC;IACzB,SAAS,EAAE,OAAO,CAAC;IACnB,MAAM,UAAS;IACf,QAAQ,EAAG,MAAM,CAAC;IAEjB,YAAY,EAAE,YAAY,CAAC,IAAI,CAAC,CAAsB;IAChE,QAAQ,CAAC,KAAK,wBAAwC;IACtD,QAAQ,CAAC,cAAc,2BAAuC;IAC9D,OAAO,CAAC,iBAAiB,CAAe;IACxC,OAAO,CAAC,QAAQ,CAAW;IAC3B,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAmC;IAE1D,OAAO,CAAC,QAAQ,CAAC,oBAAoB,CAGnC;IAEF,QAAQ,CAAC,aAAa,EAAE,UAAU,CAAC,MAAM,CAAC,CAqBxC;gBAE2B,gBAAgB,EAAE,gBAAgB;IAE/D,QAAQ,IAAI,IAAI;IAOhB,eAAe;IAIf,WAAW,IAAI,IAAI;IAInB,UAAU,IAAI,IAAI;IAIlB,gBAAgB,CAAC,KAAK,EAAE,IAAI,GAAG,IAAI;IAQnC,OAAO,CAAC,YAAY;IAmBpB,OAAO,CAAC,iBAAiB;IAOzB,OAAO,CAAC,SAAS;IAIjB,OAAO,CAAC,UAAU;IAIlB,OAAO,CAAC,OAAO;yCAnHJ,iBAAiB;2CAAjB,iBAAiB;CAwH7B"}
@@ -0,0 +1,105 @@
1
+ export declare const documentenApiUploaderEditForm: () => {
2
+ components: ({
3
+ key: string;
4
+ type: string;
5
+ input?: undefined;
6
+ label?: undefined;
7
+ placeholder?: undefined;
8
+ validate?: undefined;
9
+ tooltip?: undefined;
10
+ inputType?: undefined;
11
+ defaultValue?: undefined;
12
+ data?: undefined;
13
+ dataSrc?: undefined;
14
+ } | {
15
+ type: string;
16
+ input: boolean;
17
+ key: string;
18
+ label: string;
19
+ placeholder: string;
20
+ validate: {
21
+ required: boolean;
22
+ };
23
+ tooltip?: undefined;
24
+ inputType?: undefined;
25
+ defaultValue?: undefined;
26
+ data?: undefined;
27
+ dataSrc?: undefined;
28
+ } | {
29
+ type: string;
30
+ input: boolean;
31
+ key: string;
32
+ label: string;
33
+ placeholder: string;
34
+ tooltip: string;
35
+ validate: {
36
+ required: boolean;
37
+ };
38
+ inputType?: undefined;
39
+ defaultValue?: undefined;
40
+ data?: undefined;
41
+ dataSrc?: undefined;
42
+ } | {
43
+ type: string;
44
+ input: boolean;
45
+ inputType: string;
46
+ key: string;
47
+ label: string;
48
+ validate: {
49
+ required: boolean;
50
+ };
51
+ placeholder?: undefined;
52
+ tooltip?: undefined;
53
+ defaultValue?: undefined;
54
+ data?: undefined;
55
+ dataSrc?: undefined;
56
+ } | {
57
+ type: string;
58
+ input: boolean;
59
+ key: string;
60
+ label: string;
61
+ placeholder: string;
62
+ defaultValue: number;
63
+ validate: {
64
+ required: boolean;
65
+ };
66
+ tooltip?: undefined;
67
+ inputType?: undefined;
68
+ data?: undefined;
69
+ dataSrc?: undefined;
70
+ } | {
71
+ type: string;
72
+ input: boolean;
73
+ key: string;
74
+ label: string;
75
+ tooltip: string;
76
+ validate: {
77
+ required: boolean;
78
+ };
79
+ placeholder?: undefined;
80
+ inputType?: undefined;
81
+ defaultValue?: undefined;
82
+ data?: undefined;
83
+ dataSrc?: undefined;
84
+ } | {
85
+ type: string;
86
+ label: string;
87
+ key: string;
88
+ placeholder: string;
89
+ data: {
90
+ values: {
91
+ value: string;
92
+ label: string;
93
+ }[];
94
+ };
95
+ dataSrc: string;
96
+ input: boolean;
97
+ validate: {
98
+ required: boolean;
99
+ };
100
+ tooltip?: undefined;
101
+ inputType?: undefined;
102
+ defaultValue?: undefined;
103
+ })[];
104
+ };
105
+ //# sourceMappingURL=documenten-api-uploader-edit-form.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"documenten-api-uploader-edit-form.d.ts","sourceRoot":"","sources":["../../../../../../../projects/valtimo/components/src/lib/components/form-io/documenten-api-uploader/documenten-api-uploader-edit-form.ts"],"names":[],"mappings":"AAgBA,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuRxC,CAAC"}
@@ -0,0 +1,61 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import { FormioCustomComponent } from '@formio/angular';
3
+ import { BehaviorSubject, Observable, Subject } from 'rxjs';
4
+ import { DocumentenApiFileReference, DownloadService, UploadProviderService } from '@valtimo/resource';
5
+ import { FormIoStateService } from '../services/form-io-state.service';
6
+ import { FormIoDomService } from '../services/form-io-dom.service';
7
+ import { DocumentenApiMetadata } from '../../../models';
8
+ import { ValtimoModalService } from '../../../services/valtimo-modal.service';
9
+ import { UserProviderService } from '@valtimo/security';
10
+ import { ActivatedRoute } from '@angular/router';
11
+ import * as i0 from "@angular/core";
12
+ export declare class DocumentenApiUploaderComponent implements FormioCustomComponent<Array<DocumentenApiFileReference>> {
13
+ private readonly uploadProviderService;
14
+ private readonly stateService;
15
+ private readonly domService;
16
+ private readonly downloadService;
17
+ private readonly modalService;
18
+ private readonly userProviderService;
19
+ private readonly route;
20
+ disabled: boolean;
21
+ title: string;
22
+ hideTitle: boolean;
23
+ subtitle: string;
24
+ maxFileSize: number;
25
+ hideMaxFileSize: boolean;
26
+ camera: boolean;
27
+ documentTitle: string;
28
+ disableDocumentTitle: boolean;
29
+ filename: string;
30
+ disableFilename: boolean;
31
+ author: string;
32
+ disableAuthor: boolean;
33
+ status: string;
34
+ disableStatus: boolean;
35
+ language: string;
36
+ disableLanguage: boolean;
37
+ documentType: string;
38
+ disableDocumentType: boolean;
39
+ description: string;
40
+ disableDescription: boolean;
41
+ confidentialityLevel: string;
42
+ disableConfidentialityLevel: boolean;
43
+ valueChange: EventEmitter<DocumentenApiFileReference[]>;
44
+ readonly uploading$: BehaviorSubject<boolean>;
45
+ readonly fileToBeUploaded$: BehaviorSubject<File>;
46
+ readonly modalDisabled$: BehaviorSubject<boolean>;
47
+ readonly showModal$: Subject<null>;
48
+ readonly hideModal$: Subject<null>;
49
+ readonly uploadProcessLinked$: Observable<boolean | string>;
50
+ readonly isAdmin$: Observable<boolean>;
51
+ constructor(uploadProviderService: UploadProviderService, stateService: FormIoStateService, domService: FormIoDomService, downloadService: DownloadService, modalService: ValtimoModalService, userProviderService: UserProviderService, route: ActivatedRoute);
52
+ _value: Array<DocumentenApiFileReference>;
53
+ get value(): Array<DocumentenApiFileReference>;
54
+ set value(value: Array<DocumentenApiFileReference>);
55
+ fileSelected(file: File): void;
56
+ deleteFile(id: string): void;
57
+ metadataSet(metadata: DocumentenApiMetadata): void;
58
+ static ɵfac: i0.ɵɵFactoryDeclaration<DocumentenApiUploaderComponent, never>;
59
+ static ɵcmp: i0.ɵɵComponentDeclaration<DocumentenApiUploaderComponent, "valtimo-documenten-api-formio-uploader", never, { "disabled": "disabled"; "title": "title"; "hideTitle": "hideTitle"; "subtitle": "subtitle"; "maxFileSize": "maxFileSize"; "hideMaxFileSize": "hideMaxFileSize"; "camera": "camera"; "documentTitle": "documentTitle"; "disableDocumentTitle": "disableDocumentTitle"; "filename": "filename"; "disableFilename": "disableFilename"; "author": "author"; "disableAuthor": "disableAuthor"; "status": "status"; "disableStatus": "disableStatus"; "language": "language"; "disableLanguage": "disableLanguage"; "documentType": "documentType"; "disableDocumentType": "disableDocumentType"; "description": "description"; "disableDescription": "disableDescription"; "confidentialityLevel": "confidentialityLevel"; "disableConfidentialityLevel": "disableConfidentialityLevel"; "value": "value"; }, { "valueChange": "valueChange"; }, never, never>;
60
+ }
61
+ //# sourceMappingURL=documenten-api-uploader.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"documenten-api-uploader.component.d.ts","sourceRoot":"","sources":["../../../../../../../projects/valtimo/components/src/lib/components/form-io/documenten-api-uploader/documenten-api-uploader.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAY,YAAY,EAAgB,MAAM,eAAe,CAAC;AACrE,OAAO,EAAC,qBAAqB,EAAC,MAAM,iBAAiB,CAAC;AACtD,OAAO,EAAC,eAAe,EAAiB,UAAU,EAAiB,OAAO,EAAY,MAAM,MAAM,CAAC;AACnG,OAAO,EACL,0BAA0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,CAAC;IACzB,YAAY,EAAE,MAAM,CAAC;IACrB,mBAAmB,EAAE,OAAO,CAAC;IAC7B,WAAW,EAAE,MAAM,CAAC;IACpB,kBAAkB,EAAE,OAAO,CAAC;IAC5B,oBAAoB,EAAE,MAAM,CAAC;IAC7B,2BAA2B,EAAE,OAAO,CAAC;IAEpC,WAAW,6CAAyD;IAE9E,QAAQ,CAAC,UAAU,2BAAuC;IAC1D,QAAQ,CAAC,iBAAiB,wBAA0C;IACpE,QAAQ,CAAC,cAAc,2BAAuC;IAC9D,QAAQ,CAAC,UAAU,gBAAuB;IAC1C,QAAQ,CAAC,UAAU,gBAAuB;IAC1C,QAAQ,CAAC,oBAAoB,EAAE,UAAU,CAAC,OAAO,GAAG,MAAM,CAAC,CAqBzD;IACF,QAAQ,CAAC,QAAQ,EAAE,UAAU,CAAC,OAAO,CAAC,CAEmC;gBAGtD,qBAAqB,EAAE,qBAAqB,EAC5C,YAAY,EAAE,kBAAkB,EAChC,UAAU,EAAE,gBAAgB,EAC5B,eAAe,EAAE,eAAe,EAChC,YAAY,EAAE,mBAAmB,EACjC,mBAAmB,EAAE,mBAAmB,EACxC,KAAK,EAAE,cAAc;IAGxC,MAAM,EAAE,KAAK,CAAC,0BAA0B,CAAC,CAAM;IAE/C,IAAW,KAAK,IAAI,KAAK,CAAC,0BAA0B,CAAC,CAEpD;IAED,IACW,KAAK,CAAC,KAAK,EAAE,KAAK,CAAC,0BAA0B,CAAC,EAIxD;IAED,YAAY,CAAC,IAAI,EAAE,IAAI,GAAG,IAAI;IAK9B,UAAU,CAAC,EAAE,EAAE,MAAM,GAAG,IAAI;IAQ5B,WAAW,CAAC,QAAQ,EAAE,qBAAqB,GAAG,IAAI;yCAjGvC,8BAA8B;2CAA9B,8BAA8B;CAmH1C"}
@@ -0,0 +1,4 @@
1
+ import { Injector } from '@angular/core';
2
+ export declare const customDocumentApiUploaderType = "documenten-api-file";
3
+ export declare function registerDocumentenApiFormioUploadComponent(injector: Injector): void;
4
+ //# sourceMappingURL=documenten-api-uploader.formio.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"documenten-api-uploader.formio.d.ts","sourceRoot":"","sources":["../../../../../../../projects/valtimo/components/src/lib/components/form-io/documenten-api-uploader/documenten-api-uploader.formio.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAC,QAAQ,EAAC,MAAM,eAAe,CAAC;AASvC,eAAO,MAAM,6BAA6B,wBAAwB,CAAC;AAanE,wBAAgB,0CAA0C,CAAC,QAAQ,EAAE,QAAQ,QAmB5E"}
@@ -2,17 +2,19 @@ import * as i0 from "@angular/core";
2
2
  import * as i1 from "./form-io.component";
3
3
  import * as i2 from "./form-io-builder.component";
4
4
  import * as i3 from "./form-io-uploader/form-io-uploader.component";
5
- import * as i4 from "@angular/common";
6
- import * as i5 from "@formio/angular";
7
- import * as i6 from "../dropzone/dropzone.module";
8
- import * as i7 from "@ngx-translate/core";
9
- import * as i8 from "@valtimo/document";
10
- import * as i9 from "../file-size/file-size.module";
11
- import * as i10 from "@valtimo/resource";
12
- import * as i11 from "@angular/router";
5
+ import * as i4 from "./documenten-api-uploader/documenten-api-uploader.component";
6
+ import * as i5 from "@angular/common";
7
+ import * as i6 from "@formio/angular";
8
+ import * as i7 from "../dropzone/dropzone.module";
9
+ import * as i8 from "@ngx-translate/core";
10
+ import * as i9 from "@valtimo/document";
11
+ import * as i10 from "../file-size/file-size.module";
12
+ import * as i11 from "@valtimo/resource";
13
+ import * as i12 from "@angular/router";
14
+ import * as i13 from "../documenten-api-metadata-modal/documenten-api-metadata-modal.module";
13
15
  export declare class FormIoModule {
14
16
  static ɵfac: i0.ɵɵFactoryDeclaration<FormIoModule, never>;
15
- static ɵmod: i0.ɵɵNgModuleDeclaration<FormIoModule, [typeof i1.FormioComponent, typeof i2.FormioBuilderComponent, typeof i3.FormIoUploaderComponent], [typeof i4.CommonModule, typeof i5.FormioModule, typeof i6.DropzoneModule, typeof i7.TranslateModule, typeof i8.DocumentModule, typeof i9.FileSizeModule, typeof i10.ResourceModule, typeof i11.RouterModule], [typeof i1.FormioComponent, typeof i2.FormioBuilderComponent, typeof i3.FormIoUploaderComponent]>;
17
+ static ɵmod: i0.ɵɵNgModuleDeclaration<FormIoModule, [typeof i1.FormioComponent, typeof i2.FormioBuilderComponent, typeof i3.FormIoUploaderComponent, typeof i4.DocumentenApiUploaderComponent], [typeof i5.CommonModule, typeof i6.FormioModule, typeof i7.DropzoneModule, typeof i8.TranslateModule, typeof i9.DocumentModule, typeof i10.FileSizeModule, typeof i11.ResourceModule, typeof i12.RouterModule, typeof i13.DocumentenApiMetadataModalModule], [typeof i1.FormioComponent, typeof i2.FormioBuilderComponent, typeof i3.FormIoUploaderComponent, typeof i4.DocumentenApiUploaderComponent]>;
16
18
  static ɵinj: i0.ɵɵInjectorDeclaration<FormIoModule>;
17
19
  }
18
20
  //# sourceMappingURL=form-io.module.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"form-io.module.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/components/src/lib/components/form-io/form-io.module.ts"],"names":[],"mappings":";;;;;;;;;;;;AA+BA,qBAea,YAAY;yCAAZ,YAAY;0CAAZ,YAAY;0CAAZ,YAAY;CAAG"}
1
+ {"version":3,"file":"form-io.module.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/components/src/lib/components/form-io/form-io.module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAiCA,qBA0Ba,YAAY;yCAAZ,YAAY;0CAAZ,YAAY;0CAAZ,YAAY;CAAG"}
@@ -1 +1 @@
1
- {"version":3,"file":"dateTypeConverter.d.ts","sourceRoot":"","sources":["../../../../../../../projects/valtimo/components/src/lib/components/view-content/type-converters/dateTypeConverter.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAC,aAAa,EAAC,MAAM,yBAAyB,CAAC;AAKtD,qBAAa,iBAAkB,YAAW,aAAa;IACrD,aAAa,IAAI,MAAM;IAIvB,OAAO,CAAC,KAAK,EAAE,GAAG,EAAE,UAAU,EAAE,GAAG,GAAG,MAAM;CAM7C"}
1
+ {"version":3,"file":"dateTypeConverter.d.ts","sourceRoot":"","sources":["../../../../../../../projects/valtimo/components/src/lib/components/view-content/type-converters/dateTypeConverter.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAC,aAAa,EAAC,MAAM,yBAAyB,CAAC;AAKtD,qBAAa,iBAAkB,YAAW,aAAa;IACrD,aAAa,IAAI,MAAM;IAIvB,OAAO,CAAC,KAAK,EAAE,GAAG,EAAE,UAAU,EAAE,GAAG,GAAG,MAAM;CAO7C"}
@@ -6,6 +6,7 @@ export declare class ViewContentService {
6
6
  constructor();
7
7
  get(value: any, definition: any): string;
8
8
  addConverter(converter: TypeConverter): void;
9
+ getSeparatorIndex(definition: any, separator: any): any;
9
10
  static ɵfac: i0.ɵɵFactoryDeclaration<ViewContentService, never>;
10
11
  static ɵprov: i0.ɵɵInjectableDeclaration<ViewContentService>;
11
12
  }
@@ -1 +1 @@
1
- {"version":3,"file":"view-content.service.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/components/src/lib/components/view-content/view-content.service.ts"],"names":[],"mappings":"AAkBA,OAAO,EAAkB,aAAa,EAAC,MAAM,yCAAyC,CAAC;;AAEvF,qBAGa,kBAAkB;IAC7B,OAAO,CAAC,UAAU,CAAsC;IACxD,OAAO,CAAC,gBAAgB,CAAgB;;IAQjC,GAAG,CAAC,KAAK,EAAE,GAAG,EAAE,UAAU,EAAE,GAAG;IAY/B,YAAY,CAAC,SAAS,EAAE,aAAa;yCAtBjC,kBAAkB;6CAAlB,kBAAkB;CA6B9B"}
1
+ {"version":3,"file":"view-content.service.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/components/src/lib/components/view-content/view-content.service.ts"],"names":[],"mappings":"AAkBA,OAAO,EAAkB,aAAa,EAAC,MAAM,yCAAyC,CAAC;;AAEvF,qBAGa,kBAAkB;IAC7B,OAAO,CAAC,UAAU,CAAsC;IACxD,OAAO,CAAC,gBAAgB,CAAgB;;IAQjC,GAAG,CAAC,KAAK,EAAE,GAAG,EAAE,UAAU,EAAE,GAAG;IAqB/B,YAAY,CAAC,SAAS,EAAE,aAAa;IAQ5C,iBAAiB,CAAC,UAAU,KAAA,EAAE,SAAS,KAAA;yCAvC5B,kBAAkB;6CAAlB,kBAAkB;CA0C9B"}
@@ -0,0 +1,19 @@
1
+ declare type ConfidentialityLevel = 'openbaar' | 'beperkt_openbaar' | 'intern' | 'zaakvertrouwelijk' | 'vertrouwelijk' | 'confidentieel' | 'geheim' | 'zeer_geheim';
2
+ declare type DocumentStatus = 'in_bewerking' | 'ter_vaststelling' | 'definitief' | 'gearchiveerd';
3
+ declare type DocumentLanguage = 'nld' | 'eng' | 'deu';
4
+ interface DocumentenApiMetadata {
5
+ title: string;
6
+ description: string;
7
+ filename: string;
8
+ confidentialityLevel: ConfidentialityLevel;
9
+ author: string;
10
+ status: DocumentStatus;
11
+ creationDate: string;
12
+ receiptDate: string;
13
+ sendDate: string;
14
+ language: DocumentLanguage;
15
+ informatieobjecttype: string;
16
+ }
17
+ declare type AdditionalDocumentDate = 'sent' | 'received' | 'neither';
18
+ export { DocumentenApiMetadata, ConfidentialityLevel, DocumentStatus, DocumentLanguage, AdditionalDocumentDate, };
19
+ //# sourceMappingURL=documenten-api-metadata.model.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"documenten-api-metadata.model.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/components/src/lib/models/documenten-api-metadata.model.ts"],"names":[],"mappings":"AAgBA,aAAK,oBAAoB,GACrB,UAAU,GACV,kBAAkB,GAClB,QAAQ,GACR,mBAAmB,GACnB,eAAe,GACf,eAAe,GACf,QAAQ,GACR,aAAa,CAAC;AAElB,aAAK,cAAc,GAAG,cAAc,GAAG,kBAAkB,GAAG,YAAY,GAAG,cAAc,CAAC;AAE1F,aAAK,gBAAgB,GAAG,KAAK,GAAG,KAAK,GAAG,KAAK,CAAC;AAE9C,UAAU,qBAAqB;IAC7B,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,MAAM,CAAC;IACjB,oBAAoB,EAAE,oBAAoB,CAAC;IAC3C,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,cAAc,CAAC;IACvB,YAAY,EAAE,MAAM,CAAC;IACrB,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,gBAAgB,CAAC;IAC3B,oBAAoB,EAAE,MAAM,CAAC;CAC9B;AAED,aAAK,sBAAsB,GAAG,MAAM,GAAG,UAAU,GAAG,SAAS,CAAC;AAE9D,OAAO,EACL,qBAAqB,EACrB,oBAAoB,EACpB,cAAc,EACd,gBAAgB,EAChB,sBAAsB,GACvB,CAAC"}
@@ -25,6 +25,9 @@ export declare class FormioOptionsImpl implements ValtimoFormioOptions {
25
25
  i18n?: object;
26
26
  fileService?: object;
27
27
  hooks?: FormioHookOptions;
28
+ readonly?: boolean;
29
+ decimalSeparator?: string;
30
+ thousandsSeparator?: string;
28
31
  constructor();
29
32
  setAlertMessage(submitMessage: string): void;
30
33
  setHooks(beforeSubmit: FormioBeforeSubmit): void;
@@ -1 +1 @@
1
- {"version":3,"file":"form-io.model.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/components/src/lib/models/form-io.model.ts"],"names":[],"mappings":"AAgBA,OAAO,EACL,aAAa,EACb,aAAa,EACb,kBAAkB,EAClB,iBAAiB,EACjB,aAAa,EACd,MAAM,+BAA+B,CAAC;AAEvC,MAAM,WAAW,gBAAgB;IAC/B,IAAI,EAAE;QACJ,MAAM,EAAE,OAAO,CAAC;KACjB,CAAC;IACF,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,cAAc;IAC7B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;CACf;AAED,qBAAa,iBAAkB,YAAW,aAAa;IACrD,aAAa,EAAE,MAAM,CAAC;gBAEV,aAAa,EAAE,MAAM;CAGlC;AAED,MAAM,WAAW,oBAAqB,SAAQ,aAAa;IACzD,eAAe,CAAC,aAAa,EAAE,MAAM,OAAE;IACvC,QAAQ,CAAC,cAAc,EAAE,kBAAkB,OAAE;CAC9C;AAED,qBAAa,iBAAkB,YAAW,oBAAoB;IAC5D,MAAM,CAAC,EAAE,aAAa,CAAC;IACvB,MAAM,CAAC,EAAE,aAAa,CAAC;IACvB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,iBAAiB,CAAC;;IAI1B,eAAe,CAAC,aAAa,EAAE,MAAM;IAIrC,QAAQ,CAAC,YAAY,EAAE,kBAAkB;CAG1C"}
1
+ {"version":3,"file":"form-io.model.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/components/src/lib/models/form-io.model.ts"],"names":[],"mappings":"AAgBA,OAAO,EACL,aAAa,EACb,aAAa,EACb,kBAAkB,EAClB,iBAAiB,EACjB,aAAa,EACd,MAAM,+BAA+B,CAAC;AAEvC,MAAM,WAAW,gBAAgB;IAC/B,IAAI,EAAE;QACJ,MAAM,EAAE,OAAO,CAAC;KACjB,CAAC;IACF,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,cAAc;IAC7B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;CACf;AAED,qBAAa,iBAAkB,YAAW,aAAa;IACrD,aAAa,EAAE,MAAM,CAAC;gBAEV,aAAa,EAAE,MAAM;CAGlC;AAED,MAAM,WAAW,oBAAqB,SAAQ,aAAa;IACzD,eAAe,CAAC,aAAa,EAAE,MAAM,OAAE;IACvC,QAAQ,CAAC,cAAc,EAAE,kBAAkB,OAAE;CAC9C;AAED,qBAAa,iBAAkB,YAAW,oBAAoB;IAC5D,MAAM,CAAC,EAAE,aAAa,CAAC;IACvB,MAAM,CAAC,EAAE,aAAa,CAAC;IACvB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,iBAAiB,CAAC;IAC1B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,kBAAkB,CAAC,EAAE,MAAM,CAAC;;IAI5B,eAAe,CAAC,aAAa,EAAE,MAAM;IAIrC,QAAQ,CAAC,YAAY,EAAE,kBAAkB;CAG1C"}
@@ -5,4 +5,5 @@ export * from './searchable-dropdown.model';
5
5
  export * from './timeline.model';
6
6
  export * from './version.model';
7
7
  export * from './list.model';
8
+ export * from './documenten-api-metadata.model';
8
9
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/components/src/lib/models/index.ts"],"names":[],"mappings":"AAgBA,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC;AAChC,cAAc,oBAAoB,CAAC;AACnC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,kBAAkB,CAAC;AACjC,cAAc,iBAAiB,CAAC;AAChC,cAAc,cAAc,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/components/src/lib/models/index.ts"],"names":[],"mappings":"AAgBA,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC;AAChC,cAAc,oBAAoB,CAAC;AACnC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,kBAAkB,CAAC;AACjC,cAAc,iBAAiB,CAAC;AAChC,cAAc,cAAc,CAAC;AAC7B,cAAc,iCAAiC,CAAC"}
@@ -2,8 +2,11 @@ import { Observable } from 'rxjs';
2
2
  import * as i0 from "@angular/core";
3
3
  export declare class ValtimoModalService {
4
4
  private readonly _scrollToTop$;
5
+ private readonly _documentDefinitionName$;
5
6
  get scrollToTop$(): Observable<null>;
7
+ get documentDefinitionName$(): Observable<string>;
6
8
  scrollToTop(): void;
9
+ setDocumentDefinitionName(documentDefinitionName: string): void;
7
10
  static ɵfac: i0.ɵɵFactoryDeclaration<ValtimoModalService, never>;
8
11
  static ɵprov: i0.ɵɵInjectableDeclaration<ValtimoModalService>;
9
12
  }
@@ -1 +1 @@
1
- {"version":3,"file":"valtimo-modal.service.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/components/src/lib/services/valtimo-modal.service.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,UAAU,EAAU,MAAM,MAAM,CAAC;;AAEzC,qBAGa,mBAAmB;IAC9B,OAAO,CAAC,QAAQ,CAAC,aAAa,CAAuB;IAErD,IAAI,YAAY,IAAI,UAAU,CAAC,IAAI,CAAC,CAEnC;IAED,WAAW,IAAI,IAAI;yCAPR,mBAAmB;6CAAnB,mBAAmB;CAU/B"}
1
+ {"version":3,"file":"valtimo-modal.service.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/components/src/lib/services/valtimo-modal.service.ts"],"names":[],"mappings":"AACA,OAAO,EAAkB,UAAU,EAAU,MAAM,MAAM,CAAC;;AAE1D,qBAGa,mBAAmB;IAC9B,OAAO,CAAC,QAAQ,CAAC,aAAa,CAAuB;IACrD,OAAO,CAAC,QAAQ,CAAC,wBAAwB,CAAmC;IAE5E,IAAI,YAAY,IAAI,UAAU,CAAC,IAAI,CAAC,CAEnC;IAED,IAAI,uBAAuB,IAAI,UAAU,CAAC,MAAM,CAAC,CAEhD;IAED,WAAW,IAAI,IAAI;IAInB,yBAAyB,CAAC,sBAAsB,EAAE,MAAM,GAAG,IAAI;yCAhBpD,mBAAmB;6CAAnB,mBAAmB;CAmB/B"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@valtimo/components",
3
3
  "license": "EUPL-1.2",
4
- "version": "5.9.1",
4
+ "version": "5.11.0",
5
5
  "peerDependencies": {
6
6
  "@angular/common": "^13.2.3",
7
7
  "@angular/core": "^13.2.3",
package/public_api.d.ts CHANGED
@@ -61,6 +61,8 @@ export * from './lib/components/dropzone/dropzone.module';
61
61
  export * from './lib/components/dropzone/dropzone.component';
62
62
  export * from './lib/components/form-io/form-io-uploader/form-io-uploader.component';
63
63
  export * from './lib/components/form-io/form-io-uploader/form-io-uploader.formio';
64
+ export * from './lib/components/form-io/documenten-api-uploader/documenten-api-uploader.component';
65
+ export * from './lib/components/form-io/documenten-api-uploader/documenten-api-uploader.formio';
64
66
  export * from './lib/components/form-io/form-io-resource-selector/form-io-resource-selector.formio';
65
67
  export * from './lib/components/form-io/services/form-io-state.service';
66
68
  export * from './lib/components/webcam/webcam.module';
@@ -71,4 +73,6 @@ export * from './lib/components/searchable-dropdown-select/searchable-dropdown-s
71
73
  export * from './lib/components/searchable-dropdown-select/searchable-dropdown-select.component';
72
74
  export * from './lib/components/multiselect-dropdown/multiselect-dropdown.module';
73
75
  export * from './lib/components/multiselect-dropdown/multiselect-dropdown.component';
76
+ export * from './lib/components/documenten-api-metadata-modal/documenten-api-metadata-modal.module';
77
+ export * from './lib/components/documenten-api-metadata-modal/documenten-api-metadata-modal.component';
74
78
  //# sourceMappingURL=public_api.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"public_api.d.ts","sourceRoot":"","sources":["../../../projects/valtimo/components/src/public_api.ts"],"names":[],"mappings":"AAoBA,cAAc,cAAc,CAAC;AAC7B,cAAc,sCAAsC,CAAC;AAErD,cAAc,uDAAuD,CAAC;AACtE,cAAc,mDAAmD,CAAC;AAElE,cAAc,0CAA0C,CAAC;AACzD,cAAc,uCAAuC,CAAC;AAEtD,cAAc,oCAAoC,CAAC;AACnD,cAAc,2CAA2C,CAAC;AAC1D,cAAc,mCAAmC,CAAC;AAClD,cAAc,iCAAiC,CAAC;AAChD,cAAc,sCAAs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D,cAAc,4CAA4C,CAAC;AAE3D,cAAc,iEAAiE,CAAC;AAChF,cAAc,oEAAoE,CAAC;AAEnF,cAAc,2CAA2C,CAAC;AAC1D,cAAc,8CAA8C,CAAC;AAE7D,cAAc,sEAAsE,CAAC;AACrF,cAAc,mEAAmE,CAAC;AAElF,cAAc,qFAAqF,CAAC;AAEpG,cAAc,yDAAyD,CAAC;AAExE,cAAc,uCAAuC,CAAC;AACtD,cAAc,0CAA0C,CAAC;AAEzD,cAAc,mDAAmD,CAAC;AAClE,cAAc,sDAAsD,CAAC;AAErE,cAAc,+EAA+E,CAAC;AAC9F,cAAc,kFAAkF,CAAC;AAEjG,cAAc,mEAAmE,CAAC;AAClF,cAAc,sEAAsE,CAAC"}
1
+ {"version":3,"file":"public_api.d.ts","sourceRoot":"","sources":["../../../projects/valtimo/components/src/public_api.ts"],"names":[],"mappings":"AAoBA,cAAc,cAAc,CAAC;AAC7B,cAAc,sCAAsC,CAAC;AAErD,cAAc,uDAAuD,CAAC;AACtE,cAAc,mDAAmD,CAAC;AAElE,cAAc,0CAA0C,CAAC;AACzD,cAAc,uCAAuC,CAAC;AAEtD,cAAc,oCAAoC,CAAC;AACnD,cAAc,2CAA2C,CAAC;AAC1D,cAAc,mCAAmC,CAAC;AAClD,cAAc,iCAAiC,CAAC;AAChD,cAAc,sCAAsC,CAAC;AAErD,cAAc,wDAAwD,CAAC;AACvE,cAAc,qDAAqD,CAAC;AAEpE,cAAc,sDAAsD,CAAC;AACrE,cAAc,mDAAmD,CAAC;AAElE,cAAc,sCAAsC,CAAC;AACrD,cAAc,gDAAgD,CAAC;AAC/D,cAAc,mCAAmC,CAAC;AAElD,cAAc,oDAAoD,CAAC;AACnE,cAAc,iDAAiD,CAAC;AAEhE,cAAc,kDAAkD,CAAC;AACjE,cAAc,+CAA+C,CAAC;AAE9D,cAAc,wEAAwE,CAAC;AACvF,cAAc,qEAAqE,CAAC;AAEpF,cAAc,wEAAwE,CAAC;AACvF,cAAc,qEAAqE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