@valtimo/dossier 10.1.0 → 10.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2020/lib/components/note-modal/note-modal.component.mjs +95 -0
- package/esm2020/lib/dossier-assign-user/dossier-assign-user.component.mjs +6 -2
- package/esm2020/lib/dossier-detail/dossier-detail.component.mjs +3 -3
- package/esm2020/lib/dossier-detail/tab/notes/notes.component.mjs +100 -0
- package/esm2020/lib/dossier-detail-tab-enum.mjs +2 -1
- package/esm2020/lib/dossier-list/dossier-list.component.mjs +43 -11
- package/esm2020/lib/dossier.module.mjs +22 -4
- package/esm2020/lib/dossier.service.mjs +3 -3
- package/esm2020/lib/models/notes.model.mjs +17 -0
- package/esm2020/lib/services/dossier-column.service.mjs +8 -2
- package/esm2020/lib/services/notes.service.mjs +70 -0
- package/esm2020/public_api.mjs +2 -1
- package/fesm2015/valtimo-dossier.mjs +318 -20
- package/fesm2015/valtimo-dossier.mjs.map +1 -1
- package/fesm2020/valtimo-dossier.mjs +318 -20
- package/fesm2020/valtimo-dossier.mjs.map +1 -1
- package/lib/components/note-modal/note-modal.component.d.ts +32 -0
- package/lib/components/note-modal/note-modal.component.d.ts.map +1 -0
- package/lib/dossier-assign-user/dossier-assign-user.component.d.ts.map +1 -1
- package/lib/dossier-detail/tab/notes/notes.component.d.ts +32 -0
- package/lib/dossier-detail/tab/notes/notes.component.d.ts.map +1 -0
- package/lib/dossier-detail-tab-enum.d.ts +2 -1
- package/lib/dossier-detail-tab-enum.d.ts.map +1 -1
- package/lib/dossier-list/dossier-list.component.d.ts +3 -13
- package/lib/dossier-list/dossier-list.component.d.ts.map +1 -1
- package/lib/dossier.module.d.ts +21 -19
- package/lib/dossier.module.d.ts.map +1 -1
- package/lib/models/notes.model.d.ts +13 -0
- package/lib/models/notes.model.d.ts.map +1 -0
- package/lib/services/dossier-column.service.d.ts +5 -1
- package/lib/services/dossier-column.service.d.ts.map +1 -1
- package/lib/services/notes.service.d.ts +28 -0
- package/lib/services/notes.service.d.ts.map +1 -0
- package/package.json +1 -1
- package/public_api.d.ts +1 -0
- package/public_api.d.ts.map +1 -1
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { AfterViewInit, EventEmitter, OnDestroy } from '@angular/core';
|
|
2
|
+
import { ModalComponent as vModalComponent, ModalService } from '@valtimo/user-interface';
|
|
3
|
+
import { BehaviorSubject, Observable, Subject, Subscription } from 'rxjs';
|
|
4
|
+
import { NotesService } from '../../services/notes.service';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class NoteModalComponent implements AfterViewInit, OnDestroy {
|
|
7
|
+
private readonly notesService;
|
|
8
|
+
private readonly modalService;
|
|
9
|
+
addNoteModal: vModalComponent;
|
|
10
|
+
createNoteEvent: EventEmitter<any>;
|
|
11
|
+
readonly disabled$: Observable<boolean>;
|
|
12
|
+
readonly valid$: BehaviorSubject<boolean>;
|
|
13
|
+
readonly showForm$: Observable<boolean>;
|
|
14
|
+
readonly formData$: BehaviorSubject<any>;
|
|
15
|
+
showSubscription: Subscription;
|
|
16
|
+
hideSubscription: Subscription;
|
|
17
|
+
readonly returnToFirstStepSubject$: Subject<boolean>;
|
|
18
|
+
constructor(notesService: NotesService, modalService: ModalService);
|
|
19
|
+
ngAfterViewInit(): void;
|
|
20
|
+
ngOnDestroy(): void;
|
|
21
|
+
hide(): void;
|
|
22
|
+
cancel(): void;
|
|
23
|
+
save(): void;
|
|
24
|
+
private openShowSubscription;
|
|
25
|
+
private openHideSubscription;
|
|
26
|
+
private show;
|
|
27
|
+
formValueChange(data: any): void;
|
|
28
|
+
private setValid;
|
|
29
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NoteModalComponent, never>;
|
|
30
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NoteModalComponent, "valtimo-note-modal", never, {}, { "createNoteEvent": "createNoteEvent"; }, never, never, false>;
|
|
31
|
+
}
|
|
32
|
+
//# sourceMappingURL=note-modal.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"note-modal.component.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/dossier/src/lib/components/note-modal/note-modal.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAC,aAAa,EAAa,YAAY,EAAE,SAAS,EAAoB,MAAM,eAAe,CAAC;AACnG,OAAO,EAAC,cAAc,IAAI,eAAe,EAAE,YAAY,EAAC,MAAM,yBAAyB,CAAC;AACxF,OAAO,EAAC,eAAe,EAAiB,UAAU,EAAE,OAAO,EAAE,YAAY,EAAC,MAAM,MAAM,CAAC;AAEvF,OAAO,EAAC,YAAY,EAAC,MAAM,8BAA8B,CAAC;;AAE1D,qBAKa,kBAAmB,YAAW,aAAa,EAAE,SAAS;IAe/D,OAAO,CAAC,QAAQ,CAAC,YAAY;IAC7B,OAAO,CAAC,QAAQ,CAAC,YAAY;IAfJ,YAAY,EAAE,eAAe,CAAC;IAC/C,eAAe,EAAE,YAAY,CAAC,GAAG,CAAC,CAAsB;IAElE,QAAQ,CAAC,SAAS,EAAG,UAAU,CAAC,OAAO,CAAC,CAAC;IACzC,QAAQ,CAAC,MAAM,2BAAuC;IACtD,QAAQ,CAAC,SAAS,EAAE,UAAU,CAAC,OAAO,CAAC,CAAmC;IAC1E,QAAQ,CAAC,SAAS,uBAAkC;IAEpD,gBAAgB,EAAG,YAAY,CAAC;IAChC,gBAAgB,EAAG,YAAY,CAAC;IAEhC,QAAQ,CAAC,yBAAyB,mBAA0B;gBAGzC,YAAY,EAAE,YAAY,EAC1B,YAAY,EAAE,YAAY;IAG7C,eAAe,IAAI,IAAI;IAKvB,WAAW,IAAI,IAAI;IAKnB,IAAI,IAAI,IAAI;IAMZ,MAAM,IAAI,IAAI;IAId,IAAI,IAAI,IAAI;IAUZ,OAAO,CAAC,oBAAoB;IAM5B,OAAO,CAAC,oBAAoB;IAM5B,OAAO,CAAC,IAAI;IAQZ,eAAe,CAAC,IAAI,EAAE,GAAG,GAAG,IAAI;IAKhC,OAAO,CAAC,QAAQ;yCA1EL,kBAAkB;2CAAlB,kBAAkB;CAgF9B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dossier-assign-user.component.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/dossier/src/lib/dossier-assign-user/dossier-assign-user.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EAEL,YAAY,EAEZ,SAAS,EACT,SAAS,EACT,MAAM,EAEN,aAAa,EACd,MAAM,eAAe,CAAC;AACvB,OAAO,EAAC,YAAY,EAAC,MAAM,qBAAqB,CAAC;AACjD,OAAO,EAAC,eAAe,EAAe,MAAM,MAAM,CAAC;AAEnD,OAAO,EAAC,IAAI,EAAC,MAAM,iBAAiB,CAAC;AACrC,OAAO,EAAC,eAAe,EAAC,MAAM,mBAAmB,CAAC;;AAElD,qBAKa,0BAA2B,YAAW,MAAM,EAAE,SAAS,EAAE,SAAS;IAgBjE,OAAO,CAAC,QAAQ,CAAC,eAAe;IAfnC,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,gBAAgB,EAAE,MAAM,CAAC;IAExB,2BAA2B,oBAAsB;IAE3D,cAAc,EAAE,MAAM,GAAG,IAAI,CAAQ;IAErC,QAAQ,CAAC,0BAA0B,0BAA0C;IAC7E,QAAQ,CAAC,SAAS,2BAAsC;IACxD,QAAQ,CAAC,mBAAmB,0BAAqC;IACjE,QAAQ,CAAC,qBAAqB,0BAAqC;IAEnE,OAAO,CAAC,cAAc,CAAsB;gBAEf,eAAe,EAAE,eAAe;IAE7D,QAAQ,IAAI,IAAI;IAchB,WAAW,CAAC,OAAO,EAAE,aAAa,GAAG,IAAI;IAazC,WAAW,IAAI,IAAI;IAInB,cAAc,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI;IAiBpC,gBAAgB,IAAI,IAAI;IAcxB,mBAAmB,CAAC,KAAK,EAAE,IAAI,EAAE,GAAG,YAAY,EAAE;
|
|
1
|
+
{"version":3,"file":"dossier-assign-user.component.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/dossier/src/lib/dossier-assign-user/dossier-assign-user.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EAEL,YAAY,EAEZ,SAAS,EACT,SAAS,EACT,MAAM,EAEN,aAAa,EACd,MAAM,eAAe,CAAC;AACvB,OAAO,EAAC,YAAY,EAAC,MAAM,qBAAqB,CAAC;AACjD,OAAO,EAAC,eAAe,EAAe,MAAM,MAAM,CAAC;AAEnD,OAAO,EAAC,IAAI,EAAC,MAAM,iBAAiB,CAAC;AACrC,OAAO,EAAC,eAAe,EAAC,MAAM,mBAAmB,CAAC;;AAElD,qBAKa,0BAA2B,YAAW,MAAM,EAAE,SAAS,EAAE,SAAS;IAgBjE,OAAO,CAAC,QAAQ,CAAC,eAAe;IAfnC,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,gBAAgB,EAAE,MAAM,CAAC;IAExB,2BAA2B,oBAAsB;IAE3D,cAAc,EAAE,MAAM,GAAG,IAAI,CAAQ;IAErC,QAAQ,CAAC,0BAA0B,0BAA0C;IAC7E,QAAQ,CAAC,SAAS,2BAAsC;IACxD,QAAQ,CAAC,mBAAmB,0BAAqC;IACjE,QAAQ,CAAC,qBAAqB,0BAAqC;IAEnE,OAAO,CAAC,cAAc,CAAsB;gBAEf,eAAe,EAAE,eAAe;IAE7D,QAAQ,IAAI,IAAI;IAchB,WAAW,CAAC,OAAO,EAAE,aAAa,GAAG,IAAI;IAazC,WAAW,IAAI,IAAI;IAInB,cAAc,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI;IAiBpC,gBAAgB,IAAI,IAAI;IAcxB,mBAAmB,CAAC,KAAK,EAAE,IAAI,EAAE,GAAG,YAAY,EAAE;IAalD,OAAO,CAAC,KAAK;IAKb,OAAO,CAAC,UAAU;IAIlB,OAAO,CAAC,MAAM;IAId,OAAO,CAAC,OAAO;yCA1GJ,0BAA0B;2CAA1B,0BAA0B;CA6GtC"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { NotesService } from '../../../services/notes.service';
|
|
3
|
+
import { BehaviorSubject, Observable } from 'rxjs';
|
|
4
|
+
import { Note } from '../../../models/notes.model';
|
|
5
|
+
import { ActivatedRoute } from '@angular/router';
|
|
6
|
+
import { Pagination, TimelineItem } from '@valtimo/components';
|
|
7
|
+
import { TranslateService } from '@ngx-translate/core';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export declare class DossierDetailTabNotesComponent implements OnInit {
|
|
10
|
+
private readonly route;
|
|
11
|
+
private notesService;
|
|
12
|
+
private translateService;
|
|
13
|
+
timelineItems: TimelineItem[];
|
|
14
|
+
readonly loading$: BehaviorSubject<boolean>;
|
|
15
|
+
readonly fields$: BehaviorSubject<{
|
|
16
|
+
key: string;
|
|
17
|
+
label: string;
|
|
18
|
+
}[]>;
|
|
19
|
+
private readonly documentId$;
|
|
20
|
+
readonly currentPageAndSize$: BehaviorSubject<Partial<Pagination>>;
|
|
21
|
+
readonly pageSizes$: BehaviorSubject<Partial<Pagination>>;
|
|
22
|
+
readonly pagination$: Observable<Pagination>;
|
|
23
|
+
readonly notes$: Observable<Array<Note>>;
|
|
24
|
+
constructor(route: ActivatedRoute, notesService: NotesService, translateService: TranslateService);
|
|
25
|
+
ngOnInit(): void;
|
|
26
|
+
paginationClicked(newPageNumber: any): void;
|
|
27
|
+
showAddModal(): void;
|
|
28
|
+
createNewNote(content: any): void;
|
|
29
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DossierDetailTabNotesComponent, never>;
|
|
30
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DossierDetailTabNotesComponent, "valtimo-dossier-detail-tab-notes", never, {}, {}, never, never, false>;
|
|
31
|
+
}
|
|
32
|
+
//# sourceMappingURL=notes.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"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8BAA8B;CAoG1C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dossier-detail-tab-enum.d.ts","sourceRoot":"","sources":["../../../../projects/valtimo/dossier/src/lib/dossier-detail-tab-enum.ts"],"names":[],"mappings":"AAgBA,oBAAY,WAAW;IACrB,OAAO,YAAY;IACnB,QAAQ,aAAa;IACrB,KAAK,UAAU;IACf,SAAS,cAAc;IACvB,cAAc,oBAAoB;IAClC,YAAY,iBAAiB;
|
|
1
|
+
{"version":3,"file":"dossier-detail-tab-enum.d.ts","sourceRoot":"","sources":["../../../../projects/valtimo/dossier/src/lib/dossier-detail-tab-enum.ts"],"names":[],"mappings":"AAgBA,oBAAY,WAAW;IACrB,OAAO,YAAY;IACnB,QAAQ,aAAa;IACrB,KAAK,UAAU;IACf,SAAS,cAAc;IACvB,cAAc,oBAAoB;IAClC,YAAY,iBAAiB;IAC7B,KAAK,UAAU;CAChB"}
|
|
@@ -28,12 +28,14 @@ export declare class DossierListComponent implements OnInit {
|
|
|
28
28
|
readonly loading$: BehaviorSubject<boolean>;
|
|
29
29
|
readonly loadingDocumentSearchFields$: BehaviorSubject<boolean>;
|
|
30
30
|
readonly documentDefinitionName$: Observable<string>;
|
|
31
|
+
readonly hasEnvColumnConfig$: Observable<boolean>;
|
|
31
32
|
readonly canHaveAssignee$: Observable<boolean>;
|
|
32
33
|
readonly documentSearchFields$: Observable<Array<SearchField> | null>;
|
|
33
34
|
readonly associatedProcessDocumentDefinitions$: Observable<Array<ProcessDocumentDefinition>>;
|
|
34
35
|
readonly schema$: Observable<any>;
|
|
35
36
|
private readonly storedSearchRequestKey$;
|
|
36
37
|
private readonly hasStoredSearchRequest$;
|
|
38
|
+
private readonly hasApiColumnConfig$;
|
|
37
39
|
private readonly columns$;
|
|
38
40
|
private readonly ASSIGNEE_KEY;
|
|
39
41
|
readonly fields$: Observable<Array<ListField>>;
|
|
@@ -44,19 +46,7 @@ export declare class DossierListComponent implements OnInit {
|
|
|
44
46
|
private readonly searchFieldValues$;
|
|
45
47
|
private readonly assigneeFilter$;
|
|
46
48
|
private readonly documentsRequest$;
|
|
47
|
-
readonly documentItems$: Observable<
|
|
48
|
-
id: string;
|
|
49
|
-
version: string;
|
|
50
|
-
createdOn: Date;
|
|
51
|
-
modifiedOn: Date;
|
|
52
|
-
createdBy: string;
|
|
53
|
-
sequence: number;
|
|
54
|
-
definitionName: string;
|
|
55
|
-
relations: string[];
|
|
56
|
-
relatedFiles: import("@valtimo/document").RelatedFile[];
|
|
57
|
-
assigneeFullName: string;
|
|
58
|
-
assigneeId: string;
|
|
59
|
-
}[]>;
|
|
49
|
+
readonly documentItems$: Observable<any[]>;
|
|
60
50
|
constructor(route: ActivatedRoute, router: Router, documentService: DocumentService, translateService: TranslateService, dossierService: DossierService, logger: NGXLogger, configService: ConfigService, dossierColumnService: DossierColumnService);
|
|
61
51
|
ngOnInit(): void;
|
|
62
52
|
pageChange(newPage: number): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dossier-list.component.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/dossier/src/lib/dossier-list/dossier-list.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAY,MAAM,EAAY,MAAM,eAAe,CAAC;AAC3D,OAAO,EAAC,cAAc,EAAE,MAAM,EAAC,MAAM,iBAAiB,CAAC;AACvD,OAAO,EAAC,gBAAgB,EAAC,MAAM,qBAAqB,CAAC;AACrD,OAAO,EAEL,aAAa,EAEb,cAAc,EACd,WAAW,EACX,iBAAiB,EAGlB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAIL,eAAe,EACf,yBAAyB,EACzB,SAAS,
|
|
1
|
+
{"version":3,"file":"dossier-list.component.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/dossier/src/lib/dossier-list/dossier-list.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAY,MAAM,EAAY,MAAM,eAAe,CAAC;AAC3D,OAAO,EAAC,cAAc,EAAE,MAAM,E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AS,EACjB,aAAa,EAAE,aAAa,EAC5B,oBAAoB,EAAE,oBAAoB;IAK7D,QAAQ,IAAI,IAAI;IAIhB,UAAU,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI;IASjC,cAAc,CAAC,WAAW,EAAE,MAAM,GAAG,IAAI;IAazC,WAAW,CAAC,YAAY,EAAE,SAAS,GAAG,IAAI;IAS1C,QAAQ,CAAC,QAAQ,EAAE,GAAG,GAAG,IAAI;IAQ7B,YAAY,IAAI,IAAI;IAapB,aAAa,CAAC,yBAAyB,EAAE,yBAAyB,GAAG,IAAI;IAUzE,MAAM,CAAC,iBAAiB,EAAE,iBAAiB,GAAG,IAAI;IAIlD,OAAO,CAAC,wBAAwB;IAiBhC,OAAO,CAAC,eAAe;IAWvB,OAAO,CAAC,aAAa;IAiBrB,OAAO,CAAC,oBAAoB;IAS5B,OAAO,CAAC,mBAAmB;IAiB3B,OAAO,CAAC,iBAAiB;IAQzB,OAAO,CAAC,qBAAqB;IAO7B,OAAO,CAAC,SAAS;IAYjB,SAAS,CAAC,GAAG,EAAE,iBAAiB,CAAC,GAAG,CAAC,GAAG,IAAI;yCAlbjC,oBAAoB;2CAApB,oBAAoB;CAwbhC"}
|
package/lib/dossier.module.d.ts
CHANGED
|
@@ -8,29 +8,31 @@ import * as i5 from "./dossier-detail/tab/audit/audit.component";
|
|
|
8
8
|
import * as i6 from "./dossier-detail/tab/documents/documents.component";
|
|
9
9
|
import * as i7 from "./dossier-detail/tab/contact-moments/contact-moments.component";
|
|
10
10
|
import * as i8 from "./dossier-detail/tab/zaakobjecten/zaakobjecten.component";
|
|
11
|
-
import * as i9 from "./dossier-
|
|
12
|
-
import * as i10 from "./dossier-
|
|
13
|
-
import * as i11 from "./dossier-
|
|
14
|
-
import * as i12 from "./dossier-
|
|
15
|
-
import * as i13 from "./dossier-detail/tab/
|
|
16
|
-
import * as i14 from "./dossier-detail/tab/
|
|
17
|
-
import * as i15 from "./dossier-
|
|
18
|
-
import * as i16 from "
|
|
19
|
-
import * as i17 from "./
|
|
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 "@valtimo/
|
|
11
|
+
import * as i9 from "./dossier-detail/tab/notes/notes.component";
|
|
12
|
+
import * as i10 from "./dossier-update/dossier-update.component";
|
|
13
|
+
import * as i11 from "./dossier-process-start-modal/dossier-process-start-modal.component";
|
|
14
|
+
import * as i12 from "./dossier-supporting-process-start-modal/dossier-supporting-process-start-modal.component";
|
|
15
|
+
import * as i13 from "./dossier-detail/tab/object-type/object-type.component";
|
|
16
|
+
import * as i14 from "./dossier-detail/tab/documenten-api-documents/documenten-api-documents.component";
|
|
17
|
+
import * as i15 from "./dossier-detail/tab/s3-documents/s3-documents.component";
|
|
18
|
+
import * as i16 from "./dossier-assign-user/dossier-assign-user.component";
|
|
19
|
+
import * as i17 from "./components/note-modal/note-modal.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 "@valtimo/user-interface";
|
|
29
31
|
export declare type TabsFactory = () => Map<string, object>;
|
|
30
32
|
export declare class DossierModule {
|
|
31
33
|
static forRoot(tabsFactory: TabsFactory): ModuleWithProviders<DossierModule>;
|
|
32
34
|
static ɵfac: i0.ɵɵFactoryDeclaration<DossierModule, never>;
|
|
33
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<DossierModule, [typeof i1.DossierListComponent, typeof i2.DossierDetailComponent, typeof i3.DossierDetailTabSummaryComponent, typeof i4.DossierDetailTabProgressComponent, typeof i5.DossierDetailTabAuditComponent, typeof i6.DossierDetailTabDocumentsComponent, typeof i7.DossierDetailTabContactMomentsComponent, typeof i8.DossierDetailTabZaakobjectenComponent, typeof i9.
|
|
35
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DossierModule, [typeof i1.DossierListComponent, typeof i2.DossierDetailComponent, typeof i3.DossierDetailTabSummaryComponent, typeof i4.DossierDetailTabProgressComponent, typeof i5.DossierDetailTabAuditComponent, typeof i6.DossierDetailTabDocumentsComponent, typeof i7.DossierDetailTabContactMomentsComponent, typeof i8.DossierDetailTabZaakobjectenComponent, typeof i9.DossierDetailTabNotesComponent, typeof i10.DossierUpdateComponent, typeof i11.DossierProcessStartModalComponent, typeof i12.DossierSupportingProcessStartModalComponent, typeof i13.DossierDetailTabObjectTypeComponent, typeof i14.DossierDetailTabDocumentenApiDocumentsComponent, typeof i15.DossierDetailTabS3DocumentsComponent, typeof i16.DossierAssignUserComponent, typeof i17.NoteModalComponent], [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 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 i28.SelectModule, typeof i28.InputLabelModule, typeof i28.ParagraphModule, typeof i28.TableModule, typeof i28.ModalModule, typeof i28.TitleModule, typeof i28.ButtonModule, typeof i20.DocumentenApiMetadataModalModule, typeof i20.SearchableDropdownSelectModule, typeof i20.SearchFieldsModule, typeof i28.PageModule, typeof i24.FormModule, typeof i28.InputModule, typeof i28.FormModule, typeof i22.NgbModule], [typeof i1.DossierListComponent, typeof i2.DossierDetailComponent]>;
|
|
34
36
|
static ɵinj: i0.ɵɵInjectorDeclaration<DossierModule>;
|
|
35
37
|
}
|
|
36
38
|
//# 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":"AAgBA,OAAO,EAA+B,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":"AAgBA,OAAO,EAA+B,mBAAmB,EAAW,MAAM,eAAe,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkE1F,oBAAY,WAAW,GAAG,MAAM,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;AAEpD,qBAqEa,aAAa;IACxB,MAAM,CAAC,OAAO,CAAC,WAAW,EAAE,WAAW,GAAG,mBAAmB,CAAC,aAAa,CAAC;yCADjE,aAAa;0CAAb,aAAa;0CAAb,aAAa;CAmBzB"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
interface Note {
|
|
2
|
+
id: string;
|
|
3
|
+
createdByUserId: string;
|
|
4
|
+
createdByUserFullName: string;
|
|
5
|
+
createdDate: string;
|
|
6
|
+
content: string;
|
|
7
|
+
documentId: string;
|
|
8
|
+
}
|
|
9
|
+
interface NoteCreateRequest {
|
|
10
|
+
content: string;
|
|
11
|
+
}
|
|
12
|
+
export { Note, NoteCreateRequest };
|
|
13
|
+
//# sourceMappingURL=notes.model.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"notes.model.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/dossier/src/lib/models/notes.model.ts"],"names":[],"mappings":"AAgBA,UAAU,IAAI;IACZ,EAAE,EAAE,MAAM,CAAC;IACX,eAAe,EAAE,MAAM,CAAC;IACxB,qBAAqB,EAAE,MAAM,CAAC;IAC9B,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,UAAU,iBAAiB;IACzB,OAAO,EAAE,MAAM,CAAA;CAChB;AAED,OAAO,EAAC,IAAI,EAAE,iBAAiB,EAAC,CAAC"}
|
|
@@ -6,7 +6,11 @@ export declare class DossierColumnService {
|
|
|
6
6
|
private readonly configService;
|
|
7
7
|
private readonly documentService;
|
|
8
8
|
constructor(configService: ConfigService, documentService: DocumentService);
|
|
9
|
-
getDefinitionColumns(documentDefinitionName: string): Observable<
|
|
9
|
+
getDefinitionColumns(documentDefinitionName: string): Observable<{
|
|
10
|
+
columns: Array<DefinitionColumn>;
|
|
11
|
+
hasApiConfig: boolean;
|
|
12
|
+
}>;
|
|
13
|
+
hasEnvironmentConfig(documentDefinitionName: string): boolean;
|
|
10
14
|
private mapCaseListColumnsToDefinitionColumns;
|
|
11
15
|
private getViewType;
|
|
12
16
|
private getPropertyName;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dossier-column.service.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/dossier/src/lib/services/dossier-column.service.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,aAAa,EAAE,gBAAgB,EAAC,MAAM,iBAAiB,CAAC;AAChE,OAAO,EAAM,UAAU,EAAC,MAAM,MAAM,CAAC;AACrC,OAAO,EAAiB,eAAe,EAAC,MAAM,mBAAmB,CAAC;;AAElE,qBAGa,oBAAoB;IAE7B,OAAO,CAAC,QAAQ,CAAC,aAAa;IAC9B,OAAO,CAAC,QAAQ,CAAC,eAAe;gBADf,aAAa,EAAE,aAAa,EAC5B,eAAe,EAAE,eAAe;IAGnD,oBAAoB,
|
|
1
|
+
{"version":3,"file":"dossier-column.service.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/dossier/src/lib/services/dossier-column.service.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,aAAa,EAAE,gBAAgB,EAAC,MAAM,iBAAiB,CAAC;AAChE,OAAO,EAAM,UAAU,EAAC,MAAM,MAAM,CAAC;AACrC,OAAO,EAAiB,eAAe,EAAC,MAAM,mBAAmB,CAAC;;AAElE,qBAGa,oBAAoB;IAE7B,OAAO,CAAC,QAAQ,CAAC,aAAa;IAC9B,OAAO,CAAC,QAAQ,CAAC,eAAe;gBADf,aAAa,EAAE,aAAa,EAC5B,eAAe,EAAE,eAAe;IAGnD,oBAAoB,CAClB,sBAAsB,EAAE,MAAM,GAC7B,UAAU,CAAC;QAAC,OAAO,EAAE,KAAK,CAAC,gBAAgB,CAAC,CAAC;QAAC,YAAY,EAAE,OAAO,CAAA;KAAC,CAAC;IAsBxE,oBAAoB,CAAC,sBAAsB,EAAE,MAAM,GAAG,OAAO;IAI7D,OAAO,CAAC,qCAAqC;IAmB7C,OAAO,CAAC,WAAW;IAanB,OAAO,CAAC,eAAe;yCAlEZ,oBAAoB;6CAApB,oBAAoB;CAqEhC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { ConfigService, ConnectorModal, Page } from '@valtimo/config';
|
|
2
|
+
import { HttpClient } from '@angular/common/http';
|
|
3
|
+
import { Observable } from 'rxjs';
|
|
4
|
+
import { Note, NoteCreateRequest } from '../models/notes.model';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class NotesService {
|
|
7
|
+
private readonly configService;
|
|
8
|
+
private readonly http;
|
|
9
|
+
private readonly VALTIMO_API_ENDPOINT_URI;
|
|
10
|
+
private readonly _showModal$;
|
|
11
|
+
private readonly _hideModal$;
|
|
12
|
+
private readonly _refresh$;
|
|
13
|
+
private readonly _modalType$;
|
|
14
|
+
constructor(configService: ConfigService, http: HttpClient);
|
|
15
|
+
getDocumentNotes(documentId: string, params?: any): Observable<Page<Note>>;
|
|
16
|
+
createDocumentNote(documentId: string, request: NoteCreateRequest): Observable<Note>;
|
|
17
|
+
get showModal$(): Observable<any>;
|
|
18
|
+
get hideModal$(): Observable<any>;
|
|
19
|
+
get refresh$(): Observable<any>;
|
|
20
|
+
get modalType$(): Observable<ConnectorModal>;
|
|
21
|
+
showModal(): void;
|
|
22
|
+
hideModal(): void;
|
|
23
|
+
refresh(): void;
|
|
24
|
+
setModalType(type: ConnectorModal): void;
|
|
25
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NotesService, never>;
|
|
26
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<NotesService>;
|
|
27
|
+
}
|
|
28
|
+
//# sourceMappingURL=notes.service.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"notes.service.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/dossier/src/lib/services/notes.service.ts"],"names":[],"mappings":"AAiBA,OAAO,EAAC,aAAa,EAAE,cAAc,EAAE,IAAI,EAAC,MAAM,iBAAiB,CAAC;AACpE,OAAO,EAAC,UAAU,EAAC,MAAM,sBAAsB,CAAC;AAChD,OAAO,EAAkB,UAAU,EAAU,MAAM,MAAM,CAAC;AAC1D,OAAO,EAAC,IAAI,EAAE,iBAAiB,EAAC,MAAM,uBAAuB,CAAC;;AAG9D,qBAGa,YAAY;IAOX,OAAO,CAAC,QAAQ,CAAC,aAAa;IAAiB,OAAO,CAAC,QAAQ,CAAC,IAAI;IANhF,OAAO,CAAC,QAAQ,CAAC,wBAAwB,CAAoD;IAC7F,OAAO,CAAC,QAAQ,CAAC,WAAW,CAAiB;IAC7C,OAAO,CAAC,QAAQ,CAAC,WAAW,CAAiB;IAC7C,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAmC;IAC7D,OAAO,CAAC,QAAQ,CAAC,WAAW,CAA8C;gBAE7C,aAAa,EAAE,aAAa,EAAmB,IAAI,EAAE,UAAU;IAE5F,gBAAgB,CAAC,UAAU,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,GAAG,GAAG,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IAO1E,kBAAkB,CAAC,UAAU,EAAE,MAAM,EAAE,OAAO,EAAE,iBAAiB,GAAG,UAAU,CAAC,IAAI,CAAC;IAOpF,IAAI,UAAU,IAAI,UAAU,CAAC,GAAG,CAAC,CAEhC;IAED,IAAI,UAAU,IAAI,UAAU,CAAC,GAAG,CAAC,CAEhC;IAED,IAAI,QAAQ,IAAI,UAAU,CAAC,GAAG,CAAC,CAE9B;IAED,IAAI,UAAU,IAAI,UAAU,CAAC,cAAc,CAAC,CAE3C;IAGD,SAAS,IAAI,IAAI;IAIjB,SAAS,IAAI,IAAI;IAIjB,OAAO,IAAI,IAAI;IAIf,YAAY,CAAC,IAAI,EAAE,cAAc,GAAG,IAAI;yCApD7B,YAAY;6CAAZ,YAAY;CAuDxB"}
|
package/package.json
CHANGED
package/public_api.d.ts
CHANGED
|
@@ -8,6 +8,7 @@ export * from './lib/dossier-detail/tab/audit/audit.component';
|
|
|
8
8
|
export * from './lib/dossier-detail/tab/documents/documents.component';
|
|
9
9
|
export * from './lib/dossier-detail/tab/contact-moments/contact-moments.component';
|
|
10
10
|
export * from './lib/dossier-detail/tab/zaakobjecten/zaakobjecten.component';
|
|
11
|
+
export * from './lib/dossier-detail/tab/notes/notes.component';
|
|
11
12
|
export * from './lib/dossier.config';
|
|
12
13
|
export * from './lib/dossier.service';
|
|
13
14
|
export * from './lib/dossier.module';
|
package/public_api.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"public_api.d.ts","sourceRoot":"","sources":["../../../projects/valtimo/dossier/src/public_api.ts"],"names":[],"mappings":"AAoBA,cAAc,cAAc,CAAC;AAC7B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,2CAA2C,CAAC;AAC1D,cAAc,+CAA+C,CAAC;AAC9D,cAAc,oDAAoD,CAAC;AACnE,cAAc,sDAAsD,CAAC;AACrE,cAAc,gDAAgD,CAAC;AAC/D,cAAc,wDAAwD,CAAC;AACvE,cAAc,oEAAoE,CAAC;AACnF,cAAc,8DAA8D,CAAC;AAC7E,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC;AACtC,cAAc,sBAAsB,CAAC;AACrC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,mBAAmB,CAAC"}
|
|
1
|
+
{"version":3,"file":"public_api.d.ts","sourceRoot":"","sources":["../../../projects/valtimo/dossier/src/public_api.ts"],"names":[],"mappings":"AAoBA,cAAc,cAAc,CAAC;AAC7B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,2CAA2C,CAAC;AAC1D,cAAc,+CAA+C,CAAC;AAC9D,cAAc,oDAAoD,CAAC;AACnE,cAAc,sDAAsD,CAAC;AACrE,cAAc,gDAAgD,CAAC;AAC/D,cAAc,wDAAwD,CAAC;AACvE,cAAc,oEAAoE,CAAC;AACnF,cAAc,8DAA8D,CAAC;AAC7E,cAAc,gDAAgD,CAAC;AAC/D,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC;AACtC,cAAc,sBAAsB,CAAC;AACrC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,mBAAmB,CAAC"}
|