@valtimo/dossier-management 10.0.0 → 10.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.
Files changed (21) hide show
  1. package/esm2020/lib/dossier-management-detail-container/dossier-management-detail-container.component.mjs +30 -13
  2. package/esm2020/lib/dossier-management-detail-container/tabs/dossier-management-list-columns/dossier-management-list-columns.component.mjs +124 -0
  3. package/esm2020/lib/dossier-management-upload/dossier-management-upload.component.mjs +3 -3
  4. package/esm2020/lib/dossier-management.module.mjs +5 -2
  5. package/esm2020/lib/tab.enum.mjs +7 -0
  6. package/esm2020/lib/tab.service.mjs +39 -0
  7. package/fesm2015/valtimo-dossier-management.mjs +175 -11
  8. package/fesm2015/valtimo-dossier-management.mjs.map +1 -1
  9. package/fesm2020/valtimo-dossier-management.mjs +184 -11
  10. package/fesm2020/valtimo-dossier-management.mjs.map +1 -1
  11. package/lib/dossier-management-detail-container/dossier-management-detail-container.component.d.ts +18 -6
  12. package/lib/dossier-management-detail-container/dossier-management-detail-container.component.d.ts.map +1 -1
  13. package/lib/dossier-management-detail-container/tabs/dossier-management-list-columns/dossier-management-list-columns.component.d.ts +20 -0
  14. package/lib/dossier-management-detail-container/tabs/dossier-management-list-columns/dossier-management-list-columns.component.d.ts.map +1 -0
  15. package/lib/dossier-management.module.d.ts +10 -9
  16. package/lib/dossier-management.module.d.ts.map +1 -1
  17. package/lib/tab.enum.d.ts +6 -0
  18. package/lib/tab.enum.d.ts.map +1 -0
  19. package/lib/tab.service.d.ts +11 -0
  20. package/lib/tab.service.d.ts.map +1 -0
  21. package/package.json +1 -1
@@ -1,15 +1,27 @@
1
+ import { OnDestroy, OnInit } from '@angular/core';
1
2
  import { ActivatedRoute } from '@angular/router';
2
3
  import { DocumentService } from '@valtimo/document';
3
4
  import { Observable } from 'rxjs';
5
+ import { ConfigService } from '@valtimo/config';
6
+ import { TabService } from '../tab.service';
7
+ import { TabEnum } from '../tab.enum';
4
8
  import * as i0 from "@angular/core";
5
- export declare class DossierManagementDetailContainerComponent {
6
- private documentService;
7
- private route;
8
- isCase: boolean;
9
+ export declare class DossierManagementDetailContainerComponent implements OnInit, OnDestroy {
10
+ private readonly documentService;
11
+ private readonly route;
12
+ private readonly configService;
13
+ private readonly tabService;
14
+ currentTab: TabEnum;
15
+ caseListColumn: boolean;
16
+ private tabSubscription;
17
+ readonly TabEnum: typeof TabEnum;
9
18
  readonly documentDefinitionName$: Observable<string>;
10
19
  readonly documentDefinition$: Observable<import("@valtimo/document").DocumentDefinition>;
11
- constructor(documentService: DocumentService, route: ActivatedRoute);
12
- displayBodyComponent(tab: string): void;
20
+ constructor(documentService: DocumentService, route: ActivatedRoute, configService: ConfigService, tabService: TabService);
21
+ ngOnInit(): void;
22
+ displayBodyComponent(tab: TabEnum): void;
23
+ openCurrentTabSubscription(): void;
24
+ ngOnDestroy(): void;
13
25
  static ɵfac: i0.ɵɵFactoryDeclaration<DossierManagementDetailContainerComponent, never>;
14
26
  static ɵcmp: i0.ɵɵComponentDeclaration<DossierManagementDetailContainerComponent, "valtimo-dossier-management-detail-container", never, {}, {}, never, never, false>;
15
27
  }
@@ -1 +1 @@
1
- {"version":3,"file":"dossier-management-detail-container.component.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/dossier-management/src/lib/dossier-management-detail-container/dossier-management-detail-container.component.ts"],"names":[],"mappings":"AAiBA,OAAO,EAAC,cAAc,EAAC,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAC,eAAe,EAAC,MAAM,mBAAmB,CAAC;AAClD,OAAO,EAAc,UAAU,EAAY,MAAM,MAAM,CAAC;;AAExD,qBAKa,yCAAyC;IAcxC,OAAO,CAAC,eAAe;IAAmB,OAAO,CAAC,KAAK;IAb5D,MAAM,UAAQ;IAErB,QAAQ,CAAC,uBAAuB,EAAE,UAAU,CAAC,MAAM,CAAC,CAGlD;IAEF,QAAQ,CAAC,mBAAmB,6DAI1B;gBAEkB,eAAe,EAAE,eAAe,EAAU,KAAK,EAAE,cAAc;IAEnF,oBAAoB,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI;yCAhB5B,yCAAyC;2CAAzC,yCAAyC;CAmBrD"}
1
+ {"version":3,"file":"dossier-management-detail-container.component.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/dossier-management/src/lib/dossier-management-detail-container/dossier-management-detail-container.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAY,SAAS,EAAE,MAAM,EAAC,MAAM,eAAe,CAAC;AAC3D,OAAO,EAAC,cAAc,EAAC,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAC,eAAe,EAAC,MAAM,mBAAmB,CAAC;AAClD,OAAO,EAAc,UAAU,EAA0B,MAAM,MAAM,CAAC;AACtE,OAAO,EAAC,aAAa,EAAC,MAAM,iBAAiB,CAAC;AAC9C,OAAO,EAAC,UAAU,EAAC,MAAM,gBAAgB,CAAC;AAC1C,OAAO,EAAC,OAAO,EAAC,MAAM,aAAa,CAAC;;AAEpC,qBAKa,yCAA0C,YAAW,MAAM,EAAE,SAAS;IAoB/E,OAAO,CAAC,QAAQ,CAAC,eAAe;IAChC,OAAO,CAAC,QAAQ,CAAC,KAAK;IACtB,OAAO,CAAC,QAAQ,CAAC,aAAa;IAC9B,OAAO,CAAC,QAAQ,CAAC,UAAU;IAtBtB,UAAU,EAAE,OAAO,CAAC;IACpB,cAAc,EAAG,OAAO,CAAC;IAEhC,OAAO,CAAC,eAAe,CAAe;IAEtC,QAAQ,CAAC,OAAO,iBAAW;IAE3B,QAAQ,CAAC,uBAAuB,EAAE,UAAU,CAAC,MAAM,CAAC,CAGlD;IAEF,QAAQ,CAAC,mBAAmB,6DAI1B;gBAGiB,eAAe,EAAE,eAAe,EAChC,KAAK,EAAE,cAAc,EACrB,aAAa,EAAE,aAAa,EAC5B,UAAU,EAAE,UAAU;IAKzC,QAAQ,IAAI,IAAI;IAIhB,oBAAoB,CAAC,GAAG,EAAE,OAAO,GAAG,IAAI;IAIxC,0BAA0B,IAAI,IAAI;IAMlC,WAAW,IAAI,IAAI;yCA1CR,yCAAyC;2CAAzC,yCAAyC;CA8CrD"}
@@ -0,0 +1,20 @@
1
+ import { ListField } from '@valtimo/components';
2
+ import { Observable } from 'rxjs';
3
+ import { CaseListColumnView, DocumentService } from '@valtimo/document';
4
+ import { ActivatedRoute } from '@angular/router';
5
+ import { TranslateService } from '@ngx-translate/core';
6
+ import * as i0 from "@angular/core";
7
+ export declare class DossierManagementListColumnsComponent {
8
+ private readonly documentService;
9
+ private readonly route;
10
+ private readonly translateService;
11
+ private readonly COLUMNS;
12
+ readonly fields$: Observable<Array<ListField>>;
13
+ readonly documentDefinitionName$: Observable<string>;
14
+ readonly caseListColumns$: Observable<Array<CaseListColumnView>>;
15
+ constructor(documentService: DocumentService, route: ActivatedRoute, translateService: TranslateService);
16
+ private getDisplayTypeParametersView;
17
+ static ɵfac: i0.ɵɵFactoryDeclaration<DossierManagementListColumnsComponent, never>;
18
+ static ɵcmp: i0.ɵɵComponentDeclaration<DossierManagementListColumnsComponent, "valtimo-dossier-management-list-columns", never, {}, {}, never, never, false>;
19
+ }
20
+ //# sourceMappingURL=dossier-management-list-columns.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dossier-management-list-columns.component.d.ts","sourceRoot":"","sources":["../../../../../../../projects/valtimo/dossier-management/src/lib/dossier-management-detail-container/tabs/dossier-management-list-columns/dossier-management-list-columns.component.ts"],"names":[],"mappings":"AAiBA,OAAO,EAAC,SAAS,EAAC,MAAM,qBAAqB,CAAC;AAE9C,OAAO,EAAc,UAAU,EAAY,MAAM,MAAM,CAAC;AACxD,OAAO,EAAC,kBAAkB,EAAyB,eAAe,EAAC,MAAM,mBAAmB,CAAC;AAC7F,OAAO,EAAC,cAAc,EAAC,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAC,gBAAgB,EAAC,MAAM,qBAAqB,CAAC;;AAErD,qBAKa,qCAAqC;IA4F9C,OAAO,CAAC,QAAQ,CAAC,eAAe;IAChC,OAAO,CAAC,QAAQ,CAAC,KAAK;IACtB,OAAO,CAAC,QAAQ,CAAC,gBAAgB;IA7FnC,OAAO,CAAC,QAAQ,CAAC,OAAO,CA2CtB;IAEF,QAAQ,CAAC,OAAO,EAAE,UAAU,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAU5C;IAEF,QAAQ,CAAC,uBAAuB,EAAE,UAAU,CAAC,MAAM,CAAC,CAGlD;IAEF,QAAQ,CAAC,gBAAgB,EAAE,UAAU,CAAC,KAAK,CAAC,kBAAkB,CAAC,CAAC,CA0B5D;gBAGe,eAAe,EAAE,eAAe,EAChC,KAAK,EAAE,cAAc,EACrB,gBAAgB,EAAE,gBAAgB;IAGrD,OAAO,CAAC,4BAA4B;yCAjGzB,qCAAqC;2CAArC,qCAAqC;CAiHjD"}
@@ -9,17 +9,18 @@ import * as i7 from "./dossier-management-link-process/dossier-management-link-p
9
9
  import * as i8 from "./dossier-management-detail-container/tabs/dossier-management-search-fields/dossier-management-search-fields.component";
10
10
  import * as i9 from "./dossier-management-detail-container/dossier-management-detail-container.component";
11
11
  import * as i10 from "./dossier-management-assignee/dossier-management-assignee.component";
12
- import * as i11 from "@angular/common";
13
- import * as i12 from "@valtimo/components";
14
- import * as i13 from "./dossier-management-routing.module";
15
- import * as i14 from "@angular/forms";
16
- import * as i15 from "@ngx-translate/core";
17
- import * as i16 from "@valtimo/config";
18
- import * as i17 from "@ng-bootstrap/ng-bootstrap";
19
- import * as i18 from "@valtimo/user-interface";
12
+ import * as i11 from "./dossier-management-detail-container/tabs/dossier-management-list-columns/dossier-management-list-columns.component";
13
+ import * as i12 from "@angular/common";
14
+ import * as i13 from "@valtimo/components";
15
+ import * as i14 from "./dossier-management-routing.module";
16
+ import * as i15 from "@angular/forms";
17
+ import * as i16 from "@ngx-translate/core";
18
+ import * as i17 from "@valtimo/config";
19
+ import * as i18 from "@ng-bootstrap/ng-bootstrap";
20
+ import * as i19 from "@valtimo/user-interface";
20
21
  export declare class DossierManagementModule {
21
22
  static ɵfac: i0.ɵɵFactoryDeclaration<DossierManagementModule, never>;
22
- static ɵmod: i0.ɵɵNgModuleDeclaration<DossierManagementModule, [typeof i1.DossierManagementListComponent, typeof i2.DossierManagementDetailComponent, typeof i3.DossierManagementConnectModalComponent, typeof i4.DossierManagementRemoveModalComponent, typeof i5.DossierManagementUploadComponent, typeof i6.DossierManagementRolesComponent, typeof i7.DossierManagementLinkProcessComponent, typeof i8.DossierManagementSearchFieldsComponent, typeof i9.DossierManagementDetailContainerComponent, typeof i10.DossierManagementAssigneeComponent], [typeof i11.CommonModule, typeof i12.WidgetModule, typeof i12.DropzoneModule, typeof i12.ListModule, typeof i13.DossierManagementRoutingModule, typeof i14.FormsModule, typeof i15.TranslateModule, typeof i12.ModalModule, typeof i16.ConfigModule, typeof i17.NgbTooltipModule, typeof i12.MultiselectDropdownModule, typeof i18.ParagraphModule, typeof i18.SelectModule, typeof i12.SpinnerModule, typeof i18.InputModule, typeof i18.SelectModule, typeof i18.FormModule], never>;
23
+ static ɵmod: i0.ɵɵNgModuleDeclaration<DossierManagementModule, [typeof i1.DossierManagementListComponent, typeof i2.DossierManagementDetailComponent, typeof i3.DossierManagementConnectModalComponent, typeof i4.DossierManagementRemoveModalComponent, typeof i5.DossierManagementUploadComponent, typeof i6.DossierManagementRolesComponent, typeof i7.DossierManagementLinkProcessComponent, typeof i8.DossierManagementSearchFieldsComponent, typeof i9.DossierManagementDetailContainerComponent, typeof i10.DossierManagementAssigneeComponent, typeof i11.DossierManagementListColumnsComponent], [typeof i12.CommonModule, typeof i13.WidgetModule, typeof i13.DropzoneModule, typeof i13.ListModule, typeof i14.DossierManagementRoutingModule, typeof i15.FormsModule, typeof i16.TranslateModule, typeof i13.ModalModule, typeof i17.ConfigModule, typeof i18.NgbTooltipModule, typeof i13.MultiselectDropdownModule, typeof i19.ParagraphModule, typeof i19.SelectModule, typeof i13.SpinnerModule, typeof i19.InputModule, typeof i19.SelectModule, typeof i19.FormModule], never>;
23
24
  static ɵinj: i0.ɵɵInjectorDeclaration<DossierManagementModule>;
24
25
  }
25
26
  //# sourceMappingURL=dossier-management.module.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"dossier-management.module.d.ts","sourceRoot":"","sources":["../../../../projects/valtimo/dossier-management/src/lib/dossier-management.module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;AA2CA,qBAkCa,uBAAuB;yCAAvB,uBAAuB;0CAAvB,uBAAuB;0CAAvB,uBAAuB;CAAG"}
1
+ {"version":3,"file":"dossier-management.module.d.ts","sourceRoot":"","sources":["../../../../projects/valtimo/dossier-management/src/lib/dossier-management.module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;AA4CA,qBAmCa,uBAAuB;yCAAvB,uBAAuB;0CAAvB,uBAAuB;0CAAvB,uBAAuB;CAAG"}
@@ -0,0 +1,6 @@
1
+ export declare enum TabEnum {
2
+ CASE = "case",
3
+ SEARCH = "search",
4
+ LIST = "list"
5
+ }
6
+ //# sourceMappingURL=tab.enum.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tab.enum.d.ts","sourceRoot":"","sources":["../../../../projects/valtimo/dossier-management/src/lib/tab.enum.ts"],"names":[],"mappings":"AAAA,oBAAY,OAAO;IACjB,IAAI,SAAS;IACb,MAAM,WAAW;IACjB,IAAI,SAAS;CACd"}
@@ -0,0 +1,11 @@
1
+ import { Observable } from 'rxjs';
2
+ import { TabEnum } from './tab.enum';
3
+ import * as i0 from "@angular/core";
4
+ export declare class TabService {
5
+ private _currentTab$;
6
+ get currentTab$(): Observable<TabEnum>;
7
+ set currentTab(tab: TabEnum);
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<TabService, never>;
9
+ static ɵprov: i0.ɵɵInjectableDeclaration<TabService>;
10
+ }
11
+ //# sourceMappingURL=tab.service.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tab.service.d.ts","sourceRoot":"","sources":["../../../../projects/valtimo/dossier-management/src/lib/tab.service.ts"],"names":[],"mappings":"AAiBA,OAAO,EAAkB,UAAU,EAAC,MAAM,MAAM,CAAC;AACjD,OAAO,EAAC,OAAO,EAAC,MAAM,YAAY,CAAC;;AAEnC,qBAGa,UAAU;IACrB,OAAO,CAAC,YAAY,CAA8C;IAElE,IAAW,WAAW,IAAI,UAAU,CAAC,OAAO,CAAC,CAE5C;IAED,IAAW,UAAU,CAAC,GAAG,EAAE,OAAO,EAEjC;yCATU,UAAU;6CAAV,UAAU;CAUtB"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@valtimo/dossier-management",
3
3
  "license": "EUPL-1.2",
4
- "version": "10.0.0",
4
+ "version": "10.1.0",
5
5
  "peerDependencies": {
6
6
  "@angular/common": "^14.2.5",
7
7
  "@angular/core": "^14.2.5"