@valtimo/dossier 12.0.0 → 12.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (90) hide show
  1. package/esm2022/lib/components/dossier-detail/dossier-detail.component.mjs +11 -7
  2. package/esm2022/lib/components/dossier-detail/tab/not-found/not-found.component.mjs +1 -1
  3. package/esm2022/lib/components/dossier-detail/tab/notes/notes.component.mjs +1 -1
  4. package/esm2022/lib/components/dossier-detail/tab/progress/progress.component.mjs +1 -1
  5. package/esm2022/lib/components/dossier-detail/tab/summary/summary.component.mjs +13 -78
  6. package/esm2022/lib/components/dossier-detail/tab/widgets/components/collection/widget-collection.component.mjs +192 -0
  7. package/esm2022/lib/components/dossier-detail/tab/widgets/components/custom/widget-custom.component.mjs +80 -0
  8. package/esm2022/lib/components/dossier-detail/tab/widgets/components/field/widget-field.component.mjs +116 -0
  9. package/esm2022/lib/components/dossier-detail/tab/widgets/components/formio/widget-formio.component.mjs +67 -0
  10. package/esm2022/lib/components/dossier-detail/tab/widgets/components/table/widget-table.component.mjs +126 -0
  11. package/esm2022/lib/components/dossier-detail/tab/widgets/components/widget-block/widget-block.component.mjs +154 -0
  12. package/esm2022/lib/components/dossier-detail/tab/widgets/components/widgets-container/widgets-container.component.mjs +74 -0
  13. package/esm2022/lib/components/dossier-detail/tab/widgets/widgets.component.mjs +74 -0
  14. package/esm2022/lib/components/dossier-detail-task-list/dossier-detail-task-list.component.mjs +131 -0
  15. package/esm2022/lib/components/dossier-list/dossier-list.component.mjs +4 -4
  16. package/esm2022/lib/components/dossier-process-start-modal/dossier-process-start-modal.component.mjs +47 -7
  17. package/esm2022/lib/constants/case-widget.constants.mjs +19 -0
  18. package/esm2022/lib/constants/custom-case-widget-token.mjs +19 -0
  19. package/esm2022/lib/constants/index.mjs +3 -1
  20. package/esm2022/lib/dossier.module.mjs +11 -3
  21. package/esm2022/lib/models/case-widget-content.model.mjs +17 -0
  22. package/esm2022/lib/models/case-widget-display.model.mjs +13 -0
  23. package/esm2022/lib/models/case-widget.model.mjs +25 -0
  24. package/esm2022/lib/models/index.mjs +6 -3
  25. package/esm2022/lib/models/tab-api.model.mjs +2 -1
  26. package/esm2022/lib/models/tabs.model.mjs +16 -7
  27. package/esm2022/lib/services/dossier-tab-api.service.mjs +17 -11
  28. package/esm2022/lib/services/dossier-tab.service.mjs +39 -11
  29. package/esm2022/lib/services/dossier-widgets-api.service.mjs +46 -0
  30. package/esm2022/lib/services/dossier-widgets-layout.service.mjs +97 -0
  31. package/esm2022/lib/services/index.mjs +3 -1
  32. package/fesm2022/valtimo-dossier.mjs +1383 -233
  33. package/fesm2022/valtimo-dossier.mjs.map +1 -1
  34. package/lib/components/dossier-detail/dossier-detail.component.d.ts +2 -0
  35. package/lib/components/dossier-detail/dossier-detail.component.d.ts.map +1 -1
  36. package/lib/components/dossier-detail/tab/summary/summary.component.d.ts +7 -26
  37. package/lib/components/dossier-detail/tab/summary/summary.component.d.ts.map +1 -1
  38. package/lib/components/dossier-detail/tab/widgets/components/collection/widget-collection.component.d.ts +47 -0
  39. package/lib/components/dossier-detail/tab/widgets/components/collection/widget-collection.component.d.ts.map +1 -0
  40. package/lib/components/dossier-detail/tab/widgets/components/custom/widget-custom.component.d.ts +22 -0
  41. package/lib/components/dossier-detail/tab/widgets/components/custom/widget-custom.component.d.ts.map +1 -0
  42. package/lib/components/dossier-detail/tab/widgets/components/field/widget-field.component.d.ts +31 -0
  43. package/lib/components/dossier-detail/tab/widgets/components/field/widget-field.component.d.ts.map +1 -0
  44. package/lib/components/dossier-detail/tab/widgets/components/formio/widget-formio.component.d.ts +21 -0
  45. package/lib/components/dossier-detail/tab/widgets/components/formio/widget-formio.component.d.ts.map +1 -0
  46. package/lib/components/dossier-detail/tab/widgets/components/table/widget-table.component.d.ts +31 -0
  47. package/lib/components/dossier-detail/tab/widgets/components/table/widget-table.component.d.ts.map +1 -0
  48. package/lib/components/dossier-detail/tab/widgets/components/widget-block/widget-block.component.d.ts +43 -0
  49. package/lib/components/dossier-detail/tab/widgets/components/widget-block/widget-block.component.d.ts.map +1 -0
  50. package/lib/components/dossier-detail/tab/widgets/components/widgets-container/widgets-container.component.d.ts +20 -0
  51. package/lib/components/dossier-detail/tab/widgets/components/widgets-container/widgets-container.component.d.ts.map +1 -0
  52. package/lib/components/dossier-detail/tab/widgets/widgets.component.d.ts +25 -0
  53. package/lib/components/dossier-detail/tab/widgets/widgets.component.d.ts.map +1 -0
  54. package/lib/components/dossier-detail-task-list/dossier-detail-task-list.component.d.ts +26 -0
  55. package/lib/components/dossier-detail-task-list/dossier-detail-task-list.component.d.ts.map +1 -0
  56. package/lib/components/dossier-list/dossier-list.component.d.ts +1 -1
  57. package/lib/components/dossier-list/dossier-list.component.d.ts.map +1 -1
  58. package/lib/components/dossier-process-start-modal/dossier-process-start-modal.component.d.ts +12 -4
  59. package/lib/components/dossier-process-start-modal/dossier-process-start-modal.component.d.ts.map +1 -1
  60. package/lib/constants/case-widget.constants.d.ts +4 -0
  61. package/lib/constants/case-widget.constants.d.ts.map +1 -0
  62. package/lib/constants/custom-case-widget-token.d.ts +5 -0
  63. package/lib/constants/custom-case-widget-token.d.ts.map +1 -0
  64. package/lib/constants/index.d.ts +2 -0
  65. package/lib/constants/index.d.ts.map +1 -1
  66. package/lib/dossier.module.d.ts +3 -1
  67. package/lib/dossier.module.d.ts.map +1 -1
  68. package/lib/models/case-widget-content.model.d.ts +51 -0
  69. package/lib/models/case-widget-content.model.d.ts.map +1 -0
  70. package/lib/models/case-widget-display.model.d.ts +44 -0
  71. package/lib/models/case-widget-display.model.d.ts.map +1 -0
  72. package/lib/models/case-widget.model.d.ts +105 -0
  73. package/lib/models/case-widget.model.d.ts.map +1 -0
  74. package/lib/models/index.d.ts +5 -2
  75. package/lib/models/index.d.ts.map +1 -1
  76. package/lib/models/tab-api.model.d.ts +13 -2
  77. package/lib/models/tab-api.model.d.ts.map +1 -1
  78. package/lib/models/tabs.model.d.ts +6 -1
  79. package/lib/models/tabs.model.d.ts.map +1 -1
  80. package/lib/services/dossier-tab-api.service.d.ts +6 -7
  81. package/lib/services/dossier-tab-api.service.d.ts.map +1 -1
  82. package/lib/services/dossier-tab.service.d.ts +12 -2
  83. package/lib/services/dossier-tab.service.d.ts.map +1 -1
  84. package/lib/services/dossier-widgets-api.service.d.ts +15 -0
  85. package/lib/services/dossier-widgets-api.service.d.ts.map +1 -0
  86. package/lib/services/dossier-widgets-layout.service.d.ts +35 -0
  87. package/lib/services/dossier-widgets-layout.service.d.ts.map +1 -0
  88. package/lib/services/index.d.ts +2 -0
  89. package/lib/services/index.d.ts.map +1 -1
  90. package/package.json +4 -2
@@ -56,6 +56,8 @@ export declare class DossierDetailComponent implements AfterViewInit, OnDestroy
56
56
  readonly loadingTabs$: BehaviorSubject<boolean>;
57
57
  readonly noTabsConfigured$: BehaviorSubject<boolean>;
58
58
  readonly compactMode$: Observable<boolean>;
59
+ readonly tabHorizontalOverflowDisabled: import("@angular/core").Signal<boolean>;
60
+ readonly showTaskList$: Observable<boolean>;
59
61
  private _snapshot;
60
62
  private _initialTabName;
61
63
  constructor(breadcrumbService: BreadcrumbService, componentFactoryResolver: ComponentFactoryResolver, configService: ConfigService, documentService: DocumentService, keyCloakService: KeycloakService, location: Location, logger: NGXLogger, permissionService: PermissionService, route: ActivatedRoute, router: Router, dossierTabService: DossierTabService, dossierService: DossierService, caseStatusService: CaseStatusService, pageTitleService: PageTitleService, iconService: IconService, pageHeaderService: PageHeaderService);
@@ -1 +1 @@
1
- {"version":3,"file":"dossier-detail.component.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/dossier/src/lib/components/dossier-detail/dossier-detail.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAC,QAAQ,EAAC,MAAM,iBAAiB,CAAC;AACzC,OAAO,EACL,aAAa,EAEb,wBAAwB,EACxB,SAAS,EAET,gBAAgB,EACjB,MAAM,eAAe,CAAC;AACvB,OAAO,EAAC,cAAc,EAAoB,MAAM,EA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C,CAO5C;IAEF,SAAgB,YAAY,2BAAsC;IAClE,SAAgB,iBAAiB,2BAAuC;IAExE,SAAgB,YAAY,sBAAuC;IAEnE,OAAO,CAAC,SAAS,CAAW;IAC5B,OAAO,CAAC,eAAe,CAAS;gBAGb,iBAAiB,EAAE,iBAAiB,EACpC,wBAAwB,EAAE,wBAAwB,EAClD,aAAa,EAAE,aAAa,EAC5B,eAAe,EAAE,eAAe,EAChC,eAAe,EAAE,eAAe,EAChC,QAAQ,EAAE,QAAQ,EAClB,MAAM,EAAE,SAAS,EACjB,iBAAiB,EAAE,iBAAiB,EACpC,KAAK,EAAE,cAAc,EACrB,MAAM,EAAE,MAAM,EACd,iBAAiB,EAAE,iBAAiB,EACpC,cAAc,EAAE,cAAc,EAC9B,iBAAiB,EAAE,iBAAiB,EACpC,gBAAgB,EAAE,gBAAgB,EAClC,WAAW,EAAE,WAAW,EACxB,iBAAiB,EAAE,iBAAiB;IAOhD,eAAe,IAAI,IAAI;IAQvB,WAAW,IAAI,IAAI;IAKnB,kCAAkC,IAAI,IAAI;IAe1C,YAAY,CAAC,yBAAyB,EAAE,yBAAyB,GAAG,IAAI;IAIxE,aAAa,IAAI,IAAI;IAsBrB,gBAAgB,IAAI,IAAI;IAsB/B,OAAO,CAAC,cAAc;IAStB,OAAO,CAAC,aAAa;IAoBd,2BAA2B,IAAI,IAAI;IAI1C,OAAO,CAAC,0BAA0B;IAclC,OAAO,CAAC,yBAAyB;IAoBjC,OAAO,CAAC,iBAAiB;IAMzB,OAAO,CAAC,aAAa;yCA7SV,sBAAsB;2CAAtB,sBAAsB;CAoTlC"}
1
+ {"version":3,"file":"dossier-detail.component.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/dossier/src/lib/components/dossier-detail/dossier-detail.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAC,QAAQ,EAAC,MAAM,iBAAiB,CAAC;AACzC,OAAO,EACL,aAAa,EAEb,wBAAwB,EACxB,SAAS,EAET,gBAAgB,E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,CAAC,CAU7C;IAEF,SAAgB,SAAS,EAAE,UAAU,CAAC,OAAO,CAAC,CAO5C;IAEF,SAAgB,YAAY,2BAAsC;IAClE,SAAgB,iBAAiB,2BAAuC;IAExE,SAAgB,YAAY,sBAAuC;IAEnE,SAAgB,6BAA6B,0CACU;IAEvD,SAAgB,aAAa,sBAAwC;IAErE,OAAO,CAAC,SAAS,CAAW;IAC5B,OAAO,CAAC,eAAe,CAAS;gBAGb,iBAAiB,EAAE,iBAAiB,EACpC,wBAAwB,EAAE,wBAAwB,EAClD,aAAa,EAAE,aAAa,EAC5B,eAAe,EAAE,eAAe,EAChC,eAAe,EAAE,eAAe,EAChC,QAAQ,EAAE,QAAQ,EAClB,MAAM,EAAE,SAAS,EACjB,iBAAiB,EAAE,iBAAiB,EACpC,KAAK,EAAE,cAAc,EACrB,MAAM,EAAE,MAAM,EACd,iBAAiB,EAAE,iBAAiB,EACpC,cAAc,EAAE,cAAc,EAC9B,iBAAiB,EAAE,iBAAiB,EACpC,gBAAgB,EAAE,gBAAgB,EAClC,WAAW,EAAE,WAAW,EACxB,iBAAiB,EAAE,iBAAiB;IAOhD,eAAe,IAAI,IAAI;IAQvB,WAAW,IAAI,IAAI;IAKnB,kCAAkC,IAAI,IAAI;IAe1C,YAAY,CAAC,yBAAyB,EAAE,yBAAyB,GAAG,IAAI;IAIxE,aAAa,IAAI,IAAI;IAsBrB,gBAAgB,IAAI,IAAI;IAsB/B,OAAO,CAAC,cAAc;IAStB,OAAO,CAAC,aAAa;IAqBd,2BAA2B,IAAI,IAAI;IAI1C,OAAO,CAAC,0BAA0B;IAclC,OAAO,CAAC,yBAAyB;IAoBjC,OAAO,CAAC,iBAAiB;IAMzB,OAAO,CAAC,aAAa;yCAnTV,sBAAsB;2CAAtB,sBAAsB;CA0TlC"}
@@ -1,46 +1,27 @@
1
- import { ElementRef, OnDestroy, OnInit, Renderer2 } from '@angular/core';
2
- import { ProcessInstanceTask, ProcessService } from '@valtimo/process';
3
- import { ActivatedRoute, Router } from '@angular/router';
4
- import { Document, DocumentService, ProcessDocumentInstance } from '@valtimo/document';
5
- import { TaskDetailModalComponent, TaskService } from '@valtimo/task';
1
+ import { OnDestroy, OnInit } from '@angular/core';
2
+ import { ActivatedRoute } from '@angular/router';
3
+ import { Document, DocumentService } from '@valtimo/document';
6
4
  import { FormService } from '@valtimo/form';
7
5
  import { ValtimoFormioOptions } from '@valtimo/components';
6
+ import moment from 'moment';
8
7
  import { FormioForm } from '@formio/angular';
9
- import { UserProviderService } from '@valtimo/security';
10
- import { BehaviorSubject } from 'rxjs';
11
- import { PermissionService } from '@valtimo/access-control';
12
8
  import * as i0 from "@angular/core";
13
9
  export declare class DossierDetailTabSummaryComponent implements OnInit, OnDestroy {
14
- private readonly router;
15
10
  private readonly documentService;
16
- private readonly taskService;
17
- private readonly processService;
18
- private readonly el;
19
- private readonly renderer;
20
11
  private readonly route;
21
12
  private readonly formService;
22
- private readonly userProviderService;
23
- private readonly permissionService;
24
- taskDetail: TaskDetailModalComponent;
25
13
  readonly documentDefinitionName: string;
14
+ readonly documentId: string;
26
15
  document: Document;
27
- documentId: string;
28
- processDocumentInstances: ProcessDocumentInstance[];
29
16
  private snapshot;
30
- tasks: ProcessInstanceTask[];
31
- moment: any;
17
+ moment: typeof moment;
32
18
  formDefinition: FormioForm;
33
19
  options: ValtimoFormioOptions;
34
- roles: string[];
35
- readonly loadingTasks$: BehaviorSubject<boolean>;
36
20
  private _subscriptions;
37
- constructor(router: Router, documentService: DocumentService, taskService: TaskService, processService: ProcessService, el: ElementRef, renderer: Renderer2, route: ActivatedRoute, formService: FormService, userProviderService: UserProviderService, permissionService: PermissionService);
21
+ constructor(documentService: DocumentService, route: ActivatedRoute, formService: FormService);
38
22
  ngOnInit(): void;
39
23
  ngOnDestroy(): void;
40
24
  init(): void;
41
- loadProcessDocumentInstances(documentId: string): void;
42
- rowTaskClick(task: any): void;
43
- private loadProcessInstanceTasks;
44
25
  static ɵfac: i0.ɵɵFactoryDeclaration<DossierDetailTabSummaryComponent, never>;
45
26
  static ɵcmp: i0.ɵɵComponentDeclaration<DossierDetailTabSummaryComponent, "valtimo-dossier-detail-tab-summary", never, {}, {}, never, never, false, never>;
46
27
  }
@@ -1 +1 @@
1
- {"version":3,"file":"summary.component.d.ts","sourceRoot":"","sources":["../../../../../../../../projects/valtimo/dossier/src/lib/components/dossier-detail/tab/summary/summary.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EAEL,UAAU,EACV,SAAS,EACT,MAAM,EACN,SAAS,EAGV,MAAM,eAAe,CAAC;AACvB,OAAO,EAAC,mBAAmB,EAAE,cAAc,EAAC,MAAM,kBAAkB,CAAC;AACrE,OAAO,EAAC,cAAc,EAAY,MAAM,EAAC,MAAM,iBAAiB,CAAC;AACjE,OAAO,EAAC,QAAQ,EAAE,eAAe,EAAE,uBAAuB,EAAC,MAAM,mBAAmB,CAAC;AACrF,OAAO,EAGL,wBAAwB,EACxB,WAAW,EACZ,MAAM,eAAe,CAAC;AACvB,OAAO,EAAC,WAAW,EAAC,MAAM,eAAe,CAAC;AAC1C,OAAO,EAAoB,oBAAoB,EAAC,MAAM,qBAAqB,CAAC;AAE5E,OAAO,EAAC,UAAU,EAAC,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAC,mBAAmB,EAAC,MAAM,mBAAmB,CAAC;AACtD,OAAO,EAAC,eAAe,EAA6C,MAAM,MAAM,CAAC;AACjF,OAAO,EAAC,iBAAiB,EAAC,MAAM,yBAAyB,CAAC;;AAK1D,qBAMa,gCAAiC,YAAW,MAAM,EAAE,SAAS;IAgBtE,OAAO,CAAC,QAAQ,CAAC,MAAM;IACvB,OAAO,CAAC,QAAQ,CAAC,eAAe;IAChC,OAAO,CAAC,QAAQ,CAAC,WAAW;IAC5B,OAAO,CAAC,QAAQ,CAAC,cAAc;IAC/B,OAAO,CAAC,QAAQ,CAAC,EAAE;IACnB,OAAO,CAAC,QAAQ,CAAC,QAAQ;IACzB,OAAO,CAAC,QAAQ,CAAC,KAAK;IACtB,OAAO,CAAC,QAAQ,CAAC,WAAW;IAC5B,OAAO,CAAC,QAAQ,CAAC,mBAAmB;IACpC,OAAO,CAAC,QAAQ,CAAC,iBAAiB;IAxBX,UAAU,EAAE,wBAAwB,CAAC;IAC9D,SAAgB,sBAAsB,EAAE,MAAM,CAAC;IACxC,QAAQ,EAAE,QAAQ,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,wBAAwB,EAAE,uBAAuB,EAAE,CAAM;IAChE,OAAO,CAAC,QAAQ,CAAW;IACpB,KAAK,EAAE,mBAAmB,EAAE,CAAM;IAClC,MAAM,MAAC;IACP,cAAc,EAAE,UAAU,CAAQ;IAClC,OAAO,EAAE,oBAAoB,CAAC;IAC9B,KAAK,EAAE,MAAM,EAAE,CAAM;IAC5B,SAAgB,aAAa,2BAAsC;IACnE,OAAO,CAAC,cAAc,CAAsB;gBAGzB,MAAM,EAAE,MAAM,EACd,eAAe,EAAE,eAAe,EAChC,WAAW,EAAE,WAAW,EACxB,cAAc,EAAE,cAAc,EAC9B,EAAE,EAAE,UAAU,EACd,QAAQ,EAAE,SAAS,EACnB,KAAK,EAAE,cAAc,EACrB,WAAW,EAAE,WAAW,EACxB,mBAAmB,EAAE,mBAAmB,EACxC,iBAAiB,EAAE,iBAAiB;IAShD,QAAQ,IAAI,IAAI;IAKhB,WAAW,IAAI,IAAI;IAGnB,IAAI,IAAI,IAAI;IAwBZ,4BAA4B,CAAC,UAAU,EAAE,MAAM,GAAG,IAAI;IAatD,YAAY,CAAC,IAAI,EAAE,GAAG,GAAG,IAAI;IAIpC,OAAO,CAAC,wBAAwB;yCAnFrB,gCAAgC;2CAAhC,gCAAgC;CAsH5C"}
1
+ {"version":3,"file":"summary.component.d.ts","sourceRoot":"","sources":["../../../../../../../../projects/valtimo/dossier/src/lib/components/dossier-detail/tab/summary/summary.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAY,SAAS,EAAE,MAAM,EAAoB,MAAM,eAAe,CAAC;AAC9E,OAAO,EAAC,cAAc,EAAW,MAAM,iBAAiB,CAAC;AACzD,OAAO,EAAC,QAAQ,EAAE,eAAe,EAAC,MAAM,mBAAmB,CAAC;AAC5D,OAAO,EAAC,WAAW,EAAC,MAAM,eAAe,CAAC;AAC1C,OAAO,EAAoB,oBAAoB,EAAC,MAAM,qBAAqB,CAAC;AAC5E,OAAO,MAAM,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAC,UAAU,EAAC,MAAM,iBAAiB,CAAC;;AAM3C,qBAMa,gCAAiC,YAAW,MAAM,EAAE,SAAS;IAYtE,OAAO,CAAC,QAAQ,CAAC,eAAe;IAChC,OAAO,CAAC,QAAQ,CAAC,KAAK;IACtB,OAAO,CAAC,QAAQ,CAAC,WAAW;IAb9B,SAAgB,sBAAsB,EAAE,MAAM,CAAC;IAC/C,SAAgB,UAAU,EAAG,MAAM,CAAC;IAE7B,QAAQ,EAAG,QAAQ,CAAC;IAC3B,OAAO,CAAC,QAAQ,CAAW;IACpB,MAAM,EAAG,OAAO,MAAM,CAAC;IACvB,cAAc,EAAE,UAAU,CAAQ;IAClC,OAAO,EAAE,oBAAoB,CAAC;IACrC,OAAO,CAAC,cAAc,CAAsB;gBAGzB,eAAe,EAAE,eAAe,EAChC,KAAK,EAAE,cAAc,EACrB,WAAW,EAAE,WAAW;IASpC,QAAQ,IAAI,IAAI;IAKhB,WAAW,IAAI,IAAI;IAGnB,IAAI,IAAI,IAAI;yCA/BR,gCAAgC;2CAAhC,gCAAgC;CA8C5C"}
@@ -0,0 +1,47 @@
1
+ import { AfterViewInit, ChangeDetectorRef, OnDestroy } from '@angular/core';
2
+ import { PaginationModel } from 'carbon-components-angular';
3
+ import { CollectionCaseWidget, CollectionCaseWidgetCardData, CollectionWidgetResolvedField } from '../../../../../../models';
4
+ import { BehaviorSubject, Observable } from 'rxjs';
5
+ import { ViewContentService } from '@valtimo/components';
6
+ import { Page } from '@valtimo/config';
7
+ import { DossierWidgetsApiService } from '../../../../../../services';
8
+ import * as i0 from "@angular/core";
9
+ export declare class WidgetCollectionComponent implements AfterViewInit, OnDestroy {
10
+ private readonly viewContentService;
11
+ private readonly cdr;
12
+ private readonly widgetApiService;
13
+ readonly class = "valtimo-widget-collection";
14
+ private _widgetCollectionRef;
15
+ documentId: string;
16
+ tabKey: string;
17
+ set widgetConfiguration(value: CollectionCaseWidget);
18
+ readonly showPagination$: BehaviorSubject<boolean>;
19
+ private readonly _initialNumberOfElementsSubject$;
20
+ private get _initialNumberOfElements$();
21
+ set widgetData(value: Page<CollectionCaseWidgetCardData> | null);
22
+ readonly widgetTitle: import("@angular/core").WritableSignal<string>;
23
+ readonly widgetConfiguration$: BehaviorSubject<CollectionCaseWidget>;
24
+ readonly paginationModel: import("@angular/core").WritableSignal<PaginationModel>;
25
+ readonly amountOfColumns: import("@angular/core").WritableSignal<number>;
26
+ private readonly _widgetDataSubject$;
27
+ private readonly _queryParams$;
28
+ private readonly _widgetData$;
29
+ readonly collectionWidgetCards$: Observable<{
30
+ title: string;
31
+ fields: CollectionWidgetResolvedField[];
32
+ key: number;
33
+ hidden: boolean;
34
+ }[]>;
35
+ private _observer;
36
+ constructor(viewContentService: ViewContentService, cdr: ChangeDetectorRef, widgetApiService: DossierWidgetsApiService);
37
+ ngAfterViewInit(): void;
38
+ ngOnDestroy(): void;
39
+ onSelectPage(page: number): void;
40
+ private getCardField;
41
+ private openWidthObserver;
42
+ private observerMutation;
43
+ private getCardTitle;
44
+ static ɵfac: i0.ɵɵFactoryDeclaration<WidgetCollectionComponent, never>;
45
+ static ɵcmp: i0.ɵɵComponentDeclaration<WidgetCollectionComponent, "valtimo-widget-collection", never, { "documentId": { "alias": "documentId"; "required": true; }; "tabKey": { "alias": "tabKey"; "required": true; }; "widgetConfiguration": { "alias": "widgetConfiguration"; "required": false; }; "widgetData": { "alias": "widgetData"; "required": false; }; }, {}, never, never, true, never>;
46
+ }
47
+ //# sourceMappingURL=widget-collection.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"widget-collection.component.d.ts","sourceRoot":"","sources":["../../../../../../../../../../projects/valtimo/dossier/src/lib/components/dossier-detail/tab/widgets/components/collection/widget-collection.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EACL,aAAa,EAEb,iBAAiB,EAKjB,SAAS,EAIV,MAAM,eAAe,CAAC;AAEvB,OAAO,EAEL,eAAe,EAGhB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAEL,oBAAoB,EACpB,4BAA4B,EAG5B,6BAA6B,EAC9B,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAC,eAAe,EAA8B,UAAU,EAAqB,MAAM,MAAM,CAAC;AACjG,OAAO,EAAmB,kBAAkB,EAAC,MAAM,qBAAqB,CAAC;AAEzE,OAAO,EAAC,IAAI,EAAC,MAAM,iBAAiB,CAAC;AACrC,OAAO,EAAC,wBAAwB,EAAC,MAAM,4BAA4B,CAAC;;AAEpE,qBAgBa,yBAA0B,YAAW,aAAa,EAAE,SAAS;IAwGtE,OAAO,CAAC,QAAQ,CAAC,kBAAkB;IACnC,OAAO,CAAC,QAAQ,CAAC,GAAG;IACpB,OAAO,CAAC,QAAQ,CAAC,gBAAgB;IAzGnC,SAAsC,KAAK,+BAA+B;IAC3C,OAAO,CAAC,oBAAoB,CAA6B;IAExD,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,EAAE,MAAM,CAAC;IAC/C,IAAoB,mBAAmB,CAAC,KAAK,EAAE,oBAAoB,EAGlE;IACD,SAAgB,eAAe,2BAAuC;IAEtE,OAAO,CAAC,QAAQ,CAAC,gCAAgC,CAAqC;IAEtF,OAAO,KAAK,yBAAyB,GAIpC;IAED,IAAoB,UAAU,CAAC,KAAK,EAAE,IAAI,CAAC,4BAA4B,CAAC,GAAG,IAAI,EAiB9E;IAED,SAAgB,WAAW,iDAAe;IAE1C,SAAgB,oBAAoB,wCAA0D;IAC9F,SAAgB,eAAe,0DAAkD;IACjF,SAAgB,eAAe,iDAAa;IAE5C,OAAO,CAAC,QAAQ,CAAC,mBAAmB,CAA6D;IAEjG,OAAO,CAAC,QAAQ,CAAC,aAAa,CAA4C;IAE1E,OAAO,CAAC,QAAQ,CAAC,YAAY,CA0B3B;IAEF,SAAgB,sBAAsB,EAAE,UAAU,CAChD;QAAC,KAAK,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,6BAA6B,EAAE,CAAC;QAAC,GAAG,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,OAAO,CAAA;KAAC,EAAE,CACzF,CAoBC;IAEF,OAAO,CAAC,SAAS,CAAkB;gBAGhB,kBAAkB,EAAE,kBAAkB,EACtC,GAAG,EAAE,iBAAiB,EACtB,gBAAgB,EAAE,wBAAwB;IAGtD,eAAe,IAAI,IAAI;IAIvB,WAAW,IAAI,IAAI;IAInB,YAAY,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI;IAQvC,OAAO,CAAC,YAAY;IAiBpB,OAAO,CAAC,iBAAiB;IAOzB,OAAO,CAAC,gBAAgB;IAgBxB,OAAO,CAAC,YAAY;yCArKT,yBAAyB;2CAAzB,yBAAyB;CAsLrC"}
@@ -0,0 +1,22 @@
1
+ import { AfterViewInit, ChangeDetectorRef, OnDestroy } from '@angular/core';
2
+ import { CustomCaseWidget, CustomCaseWidgetConfig } from '../../../../../../models';
3
+ import { Observable } from 'rxjs';
4
+ import * as i0 from "@angular/core";
5
+ export declare class WidgetCustomComponent implements AfterViewInit, OnDestroy {
6
+ private readonly customCaseWidgetConfig;
7
+ private readonly cdr;
8
+ private readonly _customWidgetContainerRef;
9
+ set widgetConfig(value: CustomCaseWidget);
10
+ private readonly _customCaseWidgetConfig$;
11
+ private readonly _widgetConfigSubject$;
12
+ get widgetConfig$(): Observable<CustomCaseWidget>;
13
+ readonly noCustomComponentAvailable: import("@angular/core").WritableSignal<boolean>;
14
+ private readonly _subscriptions;
15
+ constructor(customCaseWidgetConfig: CustomCaseWidgetConfig, cdr: ChangeDetectorRef);
16
+ ngAfterViewInit(): void;
17
+ ngOnDestroy(): void;
18
+ private openCustomWidgetSubscription;
19
+ static ɵfac: i0.ɵɵFactoryDeclaration<WidgetCustomComponent, [{ optional: true; }, null]>;
20
+ static ɵcmp: i0.ɵɵComponentDeclaration<WidgetCustomComponent, "valtimo-widget-custom", never, { "widgetConfig": { "alias": "widgetConfig"; "required": false; }; }, {}, never, never, true, never>;
21
+ }
22
+ //# sourceMappingURL=widget-custom.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"widget-custom.component.d.ts","sourceRoot":"","sources":["../../../../../../../../../../projects/valtimo/dossier/src/lib/components/dossier-detail/tab/widgets/components/custom/widget-custom.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EACL,aAAa,EAEb,iBAAiB,EAIjB,SAAS,EAKV,MAAM,eAAe,CAAC;AAEvB,OAAO,EAAC,gBAAgB,EAAE,sBAAsB,EAAC,MAAM,0BAA0B,CAAC;AAElF,OAAO,EAAyC,UAAU,EAAe,MAAM,MAAM,CAAC;;AAItF,qBAQa,qBAAsB,YAAW,aAAa,EAAE,SAAS;IAuBlE,OAAO,CAAC,QAAQ,CAAC,sBAAsB;IACvC,OAAO,CAAC,QAAQ,CAAC,GAAG;IAtBtB,OAAO,CAAC,QAAQ,CAAC,yBAAyB,CAAmB;IAE7D,IAAoB,YAAY,CAAC,KAAK,EAAE,gBAAgB,EAEvD;IAED,OAAO,CAAC,QAAQ,CAAC,wBAAwB,CAAwD;IAEjG,OAAO,CAAC,QAAQ,CAAC,qBAAqB,CAAsD;IAE5F,IAAW,aAAa,IAAI,UAAU,CAAC,gBAAgB,CAAC,CAEvD;IAED,SAAgB,0BAA0B,kDAAiB;IAE3D,OAAO,CAAC,QAAQ,CAAC,cAAc,CAAsB;gBAKlC,sBAAsB,EAAE,sBAAsB,EAC9C,GAAG,EAAE,iBAAiB;IAKlC,eAAe,IAAI,IAAI;IAIvB,WAAW,IAAI,IAAI;IAI1B,OAAO,CAAC,4BAA4B;yCArCzB,qBAAqB;2CAArB,qBAAqB;CAyDjC"}
@@ -0,0 +1,31 @@
1
+ import { AfterViewInit, OnDestroy } from '@angular/core';
2
+ import { ViewContentService } from '@valtimo/components';
3
+ import { BehaviorSubject, Observable } from 'rxjs';
4
+ import { FieldsCaseWidget } from '../../../../../../models';
5
+ import * as i0 from "@angular/core";
6
+ export declare class WidgetFieldComponent implements AfterViewInit, OnDestroy {
7
+ private viewContentService;
8
+ readonly class = "widget-field";
9
+ private _widgetFieldRef;
10
+ collapseVertically: boolean;
11
+ set widgetConfiguration(value: FieldsCaseWidget);
12
+ readonly isEmptyWidgetData$: BehaviorSubject<boolean>;
13
+ set widgetData(value: object);
14
+ readonly renderVertically: import("@angular/core").WritableSignal<number>;
15
+ readonly widgetConfiguration$: BehaviorSubject<FieldsCaseWidget>;
16
+ readonly widgetData$: BehaviorSubject<object>;
17
+ readonly widgetPropertyValue$: Observable<{
18
+ title: string;
19
+ value: string;
20
+ }[][]>;
21
+ private _observer;
22
+ constructor(viewContentService: ViewContentService);
23
+ ngAfterViewInit(): void;
24
+ ngOnDestroy(): void;
25
+ private openWidthObserver;
26
+ private observerMutation;
27
+ private checkEmptyWidgetData;
28
+ static ɵfac: i0.ɵɵFactoryDeclaration<WidgetFieldComponent, never>;
29
+ static ɵcmp: i0.ɵɵComponentDeclaration<WidgetFieldComponent, "valtimo-widget-field", never, { "collapseVertically": { "alias": "collapseVertically"; "required": false; }; "widgetConfiguration": { "alias": "widgetConfiguration"; "required": false; }; "widgetData": { "alias": "widgetData"; "required": false; }; }, {}, never, never, true, never>;
30
+ }
31
+ //# sourceMappingURL=widget-field.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"widget-field.component.d.ts","sourceRoot":"","sources":["../../../../../../../../../../projects/valtimo/dossier/src/lib/components/dossier-detail/tab/widgets/components/field/widget-field.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EACL,aAAa,EAMb,SAAS,EAIV,MAAM,eAAe,CAAC;AACvB,OAAO,EAAmB,kBAAkB,EAAC,MAAM,qBAAqB,CAAC;AAEzE,OAAO,EAAC,eAAe,EAAsB,UAAU,EAAC,MAAM,MAAM,CAAC;AACrE,OAAO,EAAC,gBAAgB,EAAC,MAAM,0BAA0B,CAAC;;AAI1D,qBASa,oBAAqB,YAAW,aAAa,EAAE,SAAS;IAoDvD,OAAO,CAAC,kBAAkB;IAnDtC,SAAsC,KAAK,kBAAkB;IAEnC,OAAO,CAAC,eAAe,CAA6B;IAErE,kBAAkB,UAAS;IACpC,IAAoB,mBAAmB,CAAC,KAAK,EAAE,gBAAgB,EAG9D;IACD,SAAgB,kBAAkB,2BAAuC;IAEzE,IAAoB,UAAU,CAAC,KAAK,EAAE,MAAM,EAI3C;IAED,SAAgB,gBAAgB,iDAAa;IAC7C,SAAgB,oBAAoB,oCAAsD;IAC1F,SAAgB,WAAW,0BAA4C;IAEvE,SAAgB,oBAAoB,EAAE,UAAU,CAAC;QAAC,KAAK,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAC,EAAE,EAAE,CAAC,CA0BhF;IAEJ,OAAO,CAAC,SAAS,CAAkB;gBAEf,kBAAkB,EAAE,kBAAkB;IAEnD,eAAe,IAAI,IAAI;IAIvB,WAAW,IAAI,IAAI;IAI1B,OAAO,CAAC,iBAAiB;IAOzB,OAAO,CAAC,gBAAgB;IAgBxB,OAAO,CAAC,oBAAoB;yCArFjB,oBAAoB;2CAApB,oBAAoB;CAwFhC"}
@@ -0,0 +1,21 @@
1
+ import { FormioCaseWidgetWidgetWithUuid } from '../../../../../../models';
2
+ import { Observable } from 'rxjs';
3
+ import { FormService } from '@valtimo/form';
4
+ import { DossierWidgetsLayoutService } from '../../../../../../services';
5
+ import { FormioForm } from '@formio/angular';
6
+ import * as i0 from "@angular/core";
7
+ export declare class WidgetFormioComponent {
8
+ private readonly formService;
9
+ private readonly layoutService;
10
+ set documentId(value: string);
11
+ set widgetConfiguration(value: FormioCaseWidgetWidgetWithUuid);
12
+ private readonly _widgetConfigurationSubject$;
13
+ get widgetConfiguration$(): Observable<FormioCaseWidgetWidgetWithUuid>;
14
+ private readonly _documentIdSubject$;
15
+ private get _documentId$();
16
+ readonly prefilledFormDefinition$: Observable<FormioForm>;
17
+ constructor(formService: FormService, layoutService: DossierWidgetsLayoutService);
18
+ static ɵfac: i0.ɵɵFactoryDeclaration<WidgetFormioComponent, never>;
19
+ static ɵcmp: i0.ɵɵComponentDeclaration<WidgetFormioComponent, "valtimo-widget-formio", never, { "documentId": { "alias": "documentId"; "required": false; }; "widgetConfiguration": { "alias": "widgetConfiguration"; "required": false; }; }, {}, never, never, true, never>;
20
+ }
21
+ //# sourceMappingURL=widget-formio.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"widget-formio.component.d.ts","sourceRoot":"","sources":["../../../../../../../../../../projects/valtimo/dossier/src/lib/components/dossier-detail/tab/widgets/components/formio/widget-formio.component.ts"],"names":[],"mappings":"AAmBA,OAAO,EAAC,8BAA8B,EAAC,MAAM,0BAA0B,CAAC;AACxE,OAAO,EAA8C,UAAU,EAAqB,MAAM,MAAM,CAAC;AACjG,OAAO,EAAC,WAAW,EAAC,MAAM,eAAe,CAAC;AAC1C,OAAO,EAAC,2BAA2B,EAAC,MAAM,4BAA4B,CAAC;AACvE,OAAO,EAAC,UAAU,EAAC,MAAM,iBAAiB,CAAC;;AAG3C,qBAQa,qBAAqB;IAuC9B,OAAO,CAAC,QAAQ,CAAC,WAAW;IAC5B,OAAO,CAAC,QAAQ,CAAC,aAAa;IAvChC,IAAoB,UAAU,CAAC,KAAK,EAAE,MAAM,EAE3C;IACD,IAAoB,mBAAmB,CAAC,KAAK,EAAE,8BAA8B,EAI5E;IAED,OAAO,CAAC,QAAQ,CAAC,4BAA4B,CACsB;IACnE,IAAW,oBAAoB,IAAI,UAAU,CAAC,8BAA8B,CAAC,CAE5E;IAED,OAAO,CAAC,QAAQ,CAAC,mBAAmB,CAAmC;IACvE,OAAO,KAAK,YAAY,GAEvB;IAED,SAAgB,wBAAwB,EAAE,UAAU,CAAC,UAAU,CAAC,CAe9D;gBAGiB,WAAW,EAAE,WAAW,EACxB,aAAa,EAAE,2BAA2B;yCAxClD,qBAAqB;2CAArB,qBAAqB;CA0CjC"}
@@ -0,0 +1,31 @@
1
+ import { ChangeDetectorRef } from '@angular/core';
2
+ import { CarbonListItem, ColumnConfig } from '@valtimo/components';
3
+ import { Page } from '@valtimo/config';
4
+ import { PaginationModel } from 'carbon-components-angular';
5
+ import { BehaviorSubject, Observable } from 'rxjs';
6
+ import { TableCaseWidget } from '../../../../../../models';
7
+ import { DossierWidgetsApiService } from '../../../../../../services';
8
+ import * as i0 from "@angular/core";
9
+ export declare class WidgetTableComponent {
10
+ private readonly dossierWidgetsApiService;
11
+ private readonly cdr;
12
+ documentId: string;
13
+ tabKey: string;
14
+ private _widgetConfiguration;
15
+ set widgetConfiguration(value: TableCaseWidget);
16
+ get widgetConfiguration(): TableCaseWidget;
17
+ private readonly _initialNumberOfElementsSubject$;
18
+ private get _initialNumberOfElements$();
19
+ readonly showPagination$: BehaviorSubject<boolean>;
20
+ private _widgetData$;
21
+ set widgetData(value: Page<CarbonListItem> | null);
22
+ readonly fields$: BehaviorSubject<ColumnConfig[]>;
23
+ private readonly _queryParams$;
24
+ readonly paginationModel: import("@angular/core").WritableSignal<PaginationModel>;
25
+ readonly widgetData$: Observable<CarbonListItem[]>;
26
+ constructor(dossierWidgetsApiService: DossierWidgetsApiService, cdr: ChangeDetectorRef);
27
+ onSelectPage(page: number): void;
28
+ static ɵfac: i0.ɵɵFactoryDeclaration<WidgetTableComponent, never>;
29
+ static ɵcmp: i0.ɵɵComponentDeclaration<WidgetTableComponent, "valtimo-widget-table", never, { "documentId": { "alias": "documentId"; "required": true; }; "tabKey": { "alias": "tabKey"; "required": true; }; "widgetConfiguration": { "alias": "widgetConfiguration"; "required": true; }; "widgetData": { "alias": "widgetData"; "required": true; }; }, {}, never, never, true, never>;
30
+ }
31
+ //# sourceMappingURL=widget-table.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"widget-table.component.d.ts","sourceRoot":"","sources":["../../../../../../../../../../projects/valtimo/dossier/src/lib/components/dossier-detail/tab/widgets/components/table/widget-table.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EAEL,iBAAiB,EAKlB,MAAM,eAAe,CAAC;AAEvB,OAAO,EAAC,cAAc,EAAoB,YAAY,EAAW,MAAM,qBAAqB,CAAC;AAC7F,OAAO,EAAC,IAAI,EAAC,MAAM,iBAAiB,CAAC;AACrC,OAAO,EAAC,eAAe,EAAgC,MAAM,2BAA2B,CAAC;AACzF,OAAO,EAAC,eAAe,EAA8B,UAAU,EAAgB,MAAM,MAAM,CAAC;AAC5F,OAAO,EAAwB,eAAe,EAAC,MAAM,0BAA0B,CAAC;AAChF,OAAO,EAAC,wBAAwB,EAAC,MAAM,4BAA4B,CAAC;;AAEpE,qBASa,oBAAoB;IAqG7B,OAAO,CAAC,QAAQ,CAAC,wBAAwB;IACzC,OAAO,CAAC,QAAQ,CAAC,GAAG;IArGU,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,EAAE,MAAM,CAAC;IAE/C,OAAO,CAAC,oBAAoB,CAAkB;IAC9C,IAAoC,mBAAmB,CAAC,KAAK,EAAE,eAAe,EAuB7E;IACD,IAAW,mBAAmB,IAAI,eAAe,CAEhD;IAED,OAAO,CAAC,QAAQ,CAAC,gCAAgC,CAAqC;IAEtF,OAAO,KAAK,yBAAyB,GAIpC;IAED,SAAgB,eAAe,2BAAuC;IAEtE,OAAO,CAAC,YAAY,CAAsD;IAC1E,IAA6B,UAAU,CAAC,KAAK,EAAE,IAAI,CAAC,cAAc,CAAC,GAAG,IAAI,EAiBzE;IAED,SAAgB,OAAO,kCAA2C;IAClE,OAAO,CAAC,QAAQ,CAAC,aAAa,CAA4C;IAE1E,SAAgB,eAAe,0DAAkD;IAEjF,SAAgB,WAAW,+BA8BzB;gBAGiB,wBAAwB,EAAE,wBAAwB,EAClD,GAAG,EAAE,iBAAiB;IAGlC,YAAY,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI;yCAzG5B,oBAAoB;2CAApB,oBAAoB;CAgHhC"}
@@ -0,0 +1,43 @@
1
+ import { AfterViewInit, OnDestroy, Renderer2, ViewContainerRef } from '@angular/core';
2
+ import { ActivatedRoute } from '@angular/router';
3
+ import { CARBON_THEME, CdsThemeService } from '@valtimo/components';
4
+ import { Observable } from 'rxjs';
5
+ import { CaseWidgetType, CaseWidgetWithUuid } from '../../../../../../models';
6
+ import { DossierTabService, DossierWidgetsApiService, DossierWidgetsLayoutService } from '../../../../../../services';
7
+ import * as i0 from "@angular/core";
8
+ export declare class WidgetBlockComponent implements AfterViewInit, OnDestroy {
9
+ private readonly dossierWidgetsLayoutService;
10
+ private readonly dossierTabService;
11
+ private readonly route;
12
+ private readonly widgetsApiService;
13
+ private readonly cdsThemeService;
14
+ private readonly renderer;
15
+ private readonly viewRef;
16
+ private _widgetBlockContentRef;
17
+ private _widgetBlockRef;
18
+ set widget(value: CaseWidgetWithUuid);
19
+ private readonly _widget$;
20
+ get widget$(): Observable<CaseWidgetWithUuid>;
21
+ private readonly _viewContainerRefSubject$;
22
+ private get _viewContainerRef$();
23
+ private readonly _contentHeight$;
24
+ readonly blockHeightPx$: Observable<[number, ViewContainerRef]>;
25
+ readonly blockWidthPercentage$: Observable<[number, CaseWidgetWithUuid, ViewContainerRef]>;
26
+ readonly CaseWidgetType: typeof CaseWidgetType;
27
+ readonly documentId$: Observable<any>;
28
+ readonly tabKey$: Observable<string>;
29
+ readonly widgetData$: Observable<any[] | {} | null>;
30
+ readonly theme$: Observable<CARBON_THEME>;
31
+ private readonly _subscriptions;
32
+ private _observer;
33
+ private _widgetUuid;
34
+ constructor(dossierWidgetsLayoutService: DossierWidgetsLayoutService, dossierTabService: DossierTabService, route: ActivatedRoute, widgetsApiService: DossierWidgetsApiService, cdsThemeService: CdsThemeService, renderer: Renderer2, viewRef: ViewContainerRef);
35
+ ngAfterViewInit(): void;
36
+ ngOnDestroy(): void;
37
+ private openContentHeightObserver;
38
+ private observerMutation;
39
+ private getPageSizeParam;
40
+ static ɵfac: i0.ɵɵFactoryDeclaration<WidgetBlockComponent, never>;
41
+ static ɵcmp: i0.ɵɵComponentDeclaration<WidgetBlockComponent, "valtimo-dossier-widget-block", never, { "widget": { "alias": "widget"; "required": false; }; }, {}, never, never, true, never>;
42
+ }
43
+ //# sourceMappingURL=widget-block.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"widget-block.component.d.ts","sourceRoot":"","sources":["../../../../../../../../../../projects/valtimo/dossier/src/lib/components/dossier-detail/tab/widgets/components/widget-block/widget-block.component.ts"],"names":[],"mappings":"AAiBA,OAAO,EACL,aAAa,EAKb,SAAS,EACT,SAAS,EAET,gBAAgB,EACjB,MAAM,eAAe,CAAC;AACvB,OAAO,EAAC,cAAc,EAAC,MAAM,iBAAiB,CAAC;AAE/C,OAAO,EACL,YAAY,EAEZ,eAAe,EAEhB,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAML,UAAU,EAKX,MAAM,MAAM,CAAC;AACd,OAAO,EAAC,cAAc,EAAE,kBAAkB,EAAqB,MAAM,0BAA0B,CAAC;AAChG,OAAO,EACL,iBAAiB,EACjB,wBAAwB,EACxB,2BAA2B,EAC5B,MAAM,4BAA4B,CAAC;;AAQpC,qBAmBa,oBAAqB,YAAW,aAAa,EAAE,SAAS;IA2GjE,OAAO,CAAC,QAAQ,CAAC,2BAA2B;IAC5C,OAAO,CAAC,QAAQ,CAAC,iBAAiB;IAClC,OAAO,CAAC,QAAQ,CAAC,KAAK;IACtB,OAAO,CAAC,QAAQ,CAAC,iBAAiB;IAClC,OAAO,CAAC,QAAQ,CAAC,eAAe;IAChC,OAAO,CAAC,QAAQ,CAAC,QAAQ;IACzB,OAAO,CAAC,QAAQ,CAAC,OAAO;IAhHO,OAAO,CAAC,sBAAsB,CAA6B;IAClE,OAAO,CAAC,eAAe,CAA6B;IAE9E,IAAoB,MAAM,CAAC,KAAK,EAAE,kBAAkB,EAGnD;IAED,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAwD;IAEjF,IAAW,OAAO,IAAI,UAAU,CAAC,kBAAkB,CAAC,CAEnD;IAED,OAAO,CAAC,QAAQ,CAAC,yBAAyB,CAAsD;IAEhG,OAAO,KAAK,kBAAkB,GAE7B;IAED,OAAO,CAAC,QAAQ,CAAC,eAAe,CAAkC;IAElE,SAAgB,cAAc,yCAW5B;IAEF,SAAgB,qBAAqB,6DAYnC;IAEF,SAAgB,cAAc,wBAAkB;IAEhD,SAAgB,WAAW,kBAGzB;IAEF,SAAgB,OAAO,EAAE,UAAU,CAAC,MAAM,CAAC,CAAwC;IAEnF,SAAgB,WAAW,EAAE,UAAU,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,IAAI,CAAC,CA2BxD;IAEF,SAAgB,MAAM,2BAUpB;IAEF,OAAO,CAAC,QAAQ,CAAC,cAAc,CAAsB;IAErD,OAAO,CAAC,SAAS,CAAkB;IAEnC,OAAO,CAAC,WAAW,CAAU;gBAGV,2BAA2B,EAAE,2BAA2B,EACxD,iBAAiB,EAAE,iBAAiB,EACpC,KAAK,EAAE,cAAc,EACrB,iBAAiB,EAAE,wBAAwB,EAC3C,eAAe,EAAE,eAAe,EAChC,QAAQ,EAAE,SAAS,EACnB,OAAO,EAAE,gBAAgB;IAGrC,eAAe,IAAI,IAAI;IAKvB,WAAW,IAAI,IAAI;IAK1B,OAAO,CAAC,yBAAyB;IAOjC,OAAO,CAAC,gBAAgB;IAQxB,OAAO,CAAC,gBAAgB;yCA7Ib,oBAAoB;2CAApB,oBAAoB;CAgJhC"}
@@ -0,0 +1,20 @@
1
+ import { AfterViewInit, OnDestroy } from '@angular/core';
2
+ import { CaseWidget, CaseWidgetWithUuid } from '../../../../../../models';
3
+ import { DossierWidgetsLayoutService } from '../../../../../../services';
4
+ import { BehaviorSubject } from 'rxjs';
5
+ import * as i0 from "@angular/core";
6
+ export declare class WidgetsContainerComponent implements AfterViewInit, OnDestroy {
7
+ private readonly dossierWidgetsLayoutService;
8
+ private _widgetsContainerRef;
9
+ readonly widgetsWithUuids$: BehaviorSubject<CaseWidgetWithUuid[]>;
10
+ set widgets(value: CaseWidget[]);
11
+ private _observer;
12
+ constructor(dossierWidgetsLayoutService: DossierWidgetsLayoutService);
13
+ ngAfterViewInit(): void;
14
+ ngOnDestroy(): void;
15
+ private observerMutation;
16
+ private initMuuri;
17
+ static ɵfac: i0.ɵɵFactoryDeclaration<WidgetsContainerComponent, never>;
18
+ static ɵcmp: i0.ɵɵComponentDeclaration<WidgetsContainerComponent, "valtimo-dossier-widgets-container", never, { "widgets": { "alias": "widgets"; "required": false; }; }, {}, never, never, true, never>;
19
+ }
20
+ //# sourceMappingURL=widgets-container.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"widgets-container.component.d.ts","sourceRoot":"","sources":["../../../../../../../../../../projects/valtimo/dossier/src/lib/components/dossier-detail/tab/widgets/components/widgets-container/widgets-container.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EACL,aAAa,EAKb,SAAS,EAEV,MAAM,eAAe,CAAC;AAEvB,OAAO,EAAC,UAAU,EAAE,kBAAkB,EAAC,MAAM,0BAA0B,CAAC;AAExE,OAAO,EAAC,2BAA2B,EAAC,MAAM,4BAA4B,CAAC;AAEvE,OAAO,EAAC,eAAe,EAAc,MAAM,MAAM,CAAC;;AAGlD,qBAQa,yBAA0B,YAAW,aAAa,EAAE,SAAS;IAa5D,OAAO,CAAC,QAAQ,CAAC,2BAA2B;IAZzB,OAAO,CAAC,oBAAoB,CAA6B;IAExF,SAAgB,iBAAiB,wCAAiD;IAElF,IAAoB,OAAO,CAAC,KAAK,EAAE,UAAU,EAAE,EAI9C;IAED,OAAO,CAAC,SAAS,CAAkB;gBAEN,2BAA2B,EAAE,2BAA2B;IAE9E,eAAe,IAAI,IAAI;IASvB,WAAW,IAAI,IAAI;IAI1B,OAAO,CAAC,gBAAgB;IASxB,OAAO,CAAC,SAAS;yCArCN,yBAAyB;2CAAzB,yBAAyB;CAiDrC"}
@@ -0,0 +1,25 @@
1
+ import { OnDestroy, OnInit } from '@angular/core';
2
+ import { ActivatedRoute } from '@angular/router';
3
+ import { BehaviorSubject, Observable } from 'rxjs';
4
+ import { DossierTabService, DossierWidgetsApiService, DossierWidgetsLayoutService } from '../../../../services';
5
+ import * as i0 from "@angular/core";
6
+ export declare class DossierDetailWidgetsComponent implements OnInit, OnDestroy {
7
+ private readonly route;
8
+ private readonly dossierTabService;
9
+ private readonly widgetsApiService;
10
+ private readonly dossierWidgetsLayoutService;
11
+ private readonly _noMargin;
12
+ private readonly _noBackground;
13
+ private readonly _noMinHeight;
14
+ private readonly _documentId$;
15
+ private readonly _tabKey$;
16
+ readonly loadingWidgetConfiguration$: BehaviorSubject<boolean>;
17
+ readonly widgetConfiguration$: Observable<import("../../../../models/case-widget.model").CaseWidgetsRes>;
18
+ readonly loaded$: Observable<boolean>;
19
+ constructor(route: ActivatedRoute, dossierTabService: DossierTabService, widgetsApiService: DossierWidgetsApiService, dossierWidgetsLayoutService: DossierWidgetsLayoutService);
20
+ ngOnInit(): void;
21
+ ngOnDestroy(): void;
22
+ static ɵfac: i0.ɵɵFactoryDeclaration<DossierDetailWidgetsComponent, never>;
23
+ static ɵcmp: i0.ɵɵComponentDeclaration<DossierDetailWidgetsComponent, "ng-component", never, {}, {}, never, never, true, never>;
24
+ }
25
+ //# sourceMappingURL=widgets.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"widgets.component.d.ts","sourceRoot":"","sources":["../../../../../../../../projects/valtimo/dossier/src/lib/components/dossier-detail/tab/widgets/widgets.component.ts"],"names":[],"mappings":"AAiBA,OAAO,EAAkD,SAAS,EAAE,MAAM,EAAC,MAAM,eAAe,CAAC;AACjG,OAAO,EAAC,cAAc,EAAC,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAC,eAAe,EAAqC,UAAU,EAAiB,MAAM,MAAM,CAAC;AACpG,OAAO,EACL,iBAAiB,EACjB,wBAAwB,EACxB,2BAA2B,EAC5B,MAAM,sBAAsB,CAAC;;AAM9B,qBAaa,6BAA8B,YAAW,MAAM,EAAE,SAAS;IAwBnE,OAAO,CAAC,QAAQ,CAAC,KAAK;IACtB,OAAO,CAAC,QAAQ,CAAC,iBAAiB;IAClC,OAAO,CAAC,QAAQ,CAAC,iBAAiB;IAClC,OAAO,CAAC,QAAQ,CAAC,2BAA2B;IA1BT,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAQ;IAC9B,OAAO,CAAC,QAAQ,CAAC,aAAa,CAAQ;IACtC,OAAO,CAAC,QAAQ,CAAC,YAAY,CAAQ;IAE9E,OAAO,CAAC,QAAQ,CAAC,YAAY,CAG3B;IAEF,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAA4D;IAErF,SAAgB,2BAA2B,2BAAsC;IAEjF,SAAgB,oBAAoB,4EAKlC;IAEF,SAAgB,OAAO,sBAA6D;gBAGjE,KAAK,EAAE,cAAc,EACrB,iBAAiB,EAAE,iBAAiB,EACpC,iBAAiB,EAAE,wBAAwB,EAC3C,2BAA2B,EAAE,2BAA2B;IAGpE,QAAQ,IAAI,IAAI;IAIhB,WAAW,IAAI,IAAI;yCAlCf,6BAA6B;2CAA7B,6BAA6B;CAsCzC"}
@@ -0,0 +1,26 @@
1
+ import { BehaviorSubject, Observable } from 'rxjs';
2
+ import { ProcessInstanceTask, ProcessService } from '@valtimo/process';
3
+ import { ActivatedRoute } from '@angular/router';
4
+ import { DocumentService } from '@valtimo/document';
5
+ import { PermissionService } from '@valtimo/access-control';
6
+ import * as i0 from "@angular/core";
7
+ export declare class DossierDetailTaskListComponent {
8
+ private readonly documentService;
9
+ private readonly processService;
10
+ private readonly route;
11
+ private readonly permissionService;
12
+ private readonly _taskDetailModal;
13
+ readonly loadingTasks$: BehaviorSubject<boolean>;
14
+ private readonly _refresh$;
15
+ private readonly _documentId$;
16
+ readonly processInstanceTasks$: Observable<ProcessInstanceTask[]>;
17
+ constructor(documentService: DocumentService, processService: ProcessService, route: ActivatedRoute, permissionService: PermissionService);
18
+ rowTaskClick(task: ProcessInstanceTask): void;
19
+ refresh(): void;
20
+ private mapTasks;
21
+ private getUniqueTasks;
22
+ private getSortedTasks;
23
+ static ɵfac: i0.ɵɵFactoryDeclaration<DossierDetailTaskListComponent, never>;
24
+ static ɵcmp: i0.ɵɵComponentDeclaration<DossierDetailTaskListComponent, "valtimo-dossier-detail-task-list", never, {}, {}, never, never, true, never>;
25
+ }
26
+ //# sourceMappingURL=dossier-detail-task-list.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dossier-detail-task-list.component.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/dossier/src/lib/components/dossier-detail-task-list/dossier-detail-task-list.component.ts"],"names":[],"mappings":"AAqBA,OAAO,EACL,eAAe,EAIf,UAAU,EAKX,MAAM,MAAM,CAAC;AAEd,OAAO,EAAC,mBAAmB,EAAE,cAAc,EAAC,MAAM,kBAAkB,CAAC;AASrE,OAAO,EAAC,cAAc,EAAC,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAC,eAAe,EAAC,MAAM,mBAAmB,CAAC;AAClD,OAAO,EAAC,iBAAiB,EAAC,MAAM,yBAAyB,CAAC;;AAK1D,qBAkBa,8BAA8B;IAkDvC,OAAO,CAAC,QAAQ,CAAC,eAAe;IAChC,OAAO,CAAC,QAAQ,CAAC,cAAc;IAC/B,OAAO,CAAC,QAAQ,CAAC,KAAK;IACtB,OAAO,CAAC,QAAQ,CAAC,iBAAiB;IApDX,OAAO,CAAC,QAAQ,CAAC,gBAAgB,CAA2B;IAErF,SAAgB,aAAa,2BAAsC;IAEnE,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAmC;IAE7D,OAAO,CAAC,QAAQ,CAAC,YAAY,CAG3B;IAEF,SAAgB,qBAAqB,EAAE,UAAU,CAAC,mBAAmB,EAAE,CAAC,CAmCtE;gBAGiB,eAAe,EAAE,eAAe,EAChC,cAAc,EAAE,cAAc,EAC9B,KAAK,EAAE,cAAc,EACrB,iBAAiB,EAAE,iBAAiB;IAGhD,YAAY,CAAC,IAAI,EAAE,mBAAmB,GAAG,IAAI;IAM7C,OAAO,IAAI,IAAI;IAItB,OAAO,CAAC,QAAQ;IAUhB,OAAO,CAAC,cAAc;IAStB,OAAO,CAAC,cAAc;yCArFX,8BAA8B;2CAA9B,8BAA8B;CA6G1C"}
@@ -74,7 +74,7 @@ export declare class DossierListComponent implements OnInit, OnDestroy {
74
74
  ngOnDestroy(): void;
75
75
  trackByIndex(index: number): number;
76
76
  search(searchFieldValues: SearchFieldValues): void;
77
- rowClick(document: any): void;
77
+ rowClick(item: any): void;
78
78
  tabChange(tab: DossierListTab): void;
79
79
  onChangeTabCancel(): void;
80
80
  pageChange(page: number): void;
@@ -1 +1 @@
1
- {"version":3,"file":"dossier-list.component.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/dossier/src/lib/components/dossier-list/dossier-list.component.ts"],"names":[],"mappings":"AAeA,OAAO,EAAY,SAAS,EAAE,MAAM,EAAY,MAAM,eAAe,CAAC;AACtE,OAAO,EAAC,cAAc,EAAU,MAAM,EAAC,MAAM,iBAAiB,CAAC;AAC/D,OAAO,EAAC,gBAAgB,EAAC,MAAM,qBAAqB,CAAC;AACrD,OAAO,EAAC,iBAAiB,EAAC,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EACL,iBAAiB,EACjB,mBAAmB,EACnB,0BAA0B,EAC1B,yBAAyB,EAEzB,SAAS,EACT,gBAAgB,EAChB,UAAU,EAEX,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,cAAc,EACd,aAAa,EAGb,cAAc,EACd,WAAW,EACX,iBAAiB,EACjB,SAAS,EACV,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAKL,eAAe,EACf,kBAAkB,EAGnB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAM,IAAI,EAAC,MA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IAIrE,OAAO,CAAC,sCAAsC;IAoB9C,OAAO,CAAC,UAAU;IASlB,OAAO,CAAC,cAAc;IAItB,OAAO,CAAC,sBAAsB;yCA5hBnB,oBAAoB;2CAApB,oBAAoB;CA2iBhC"}
1
+ {"version":3,"file":"dossier-list.component.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/dossier/src/lib/components/dossier-list/dossier-list.component.ts"],"names":[],"mappings":"AAeA,OAAO,EAAY,SAAS,EAAE,MAAM,EAAY,MAAM,eAAe,CAAC;AACtE,OAAO,EAAC,cAAc,EAAU,MAAM,EAAC,MAAM,iBAAiB,CAAC;AAC/D,OAAO,EAAC,gBAAgB,EAAC,MAAM,qBAAqB,CAAC;AACrD,OAAO,EAAC,iBAAiB,EAAC,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EACL,iBAAiB,EACjB,mBAAmB,EACnB,0BAA0B,EAC1B,yBAAyB,EAEzB,SAAS,EACT,gBAAgB,EAChB,UAAU,EAEX,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,cAAc,EACd,aAAa,EAGb,cAAc,EACd,WAAW,EACX,iBAAiB,EACjB,SAAS,EACV,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAKL,eAAe,EACf,kBAAkB,EAGnB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAM,IAAI,EAAC,MAAM,2BAA2B,CAAC;AAEpD,OAAO,EACL,eAAe,EAOf,UAAU,EAMX,MAAM,MAAM,CAAC;AAYd,OAAO,EACL,wBAAwB,EACxB,oBAAoB,EACpB,0BAA0B,EAC1B,4BAA4B,EAC5B,wBAAwB,EACxB,kBAAkB,EAClB,wBAAwB,EACxB,uBAAuB,EACxB,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAC,2BAA2B,EAAC,MAAM,wDAAwD,CAAC;;AAEnG,qBAca,oBAAqB,YAAW,MAAM,EAAE,SAAS;IAmW1D,OAAO,CAAC,QAAQ,CAAC,eAAe;IAChC,OAAO,CAAC,QAA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AE,wBAAwB,EACvC,gBAAgB,EAAE,gBAAgB,EAClC,iBAAiB,EAAE,iBAAiB,EACpC,aAAa,EAAE,wBAAwB;IAGnD,QAAQ,IAAI,IAAI;IAKhB,WAAW,IAAI,IAAI;IAKnB,YAAY,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM;IAInC,MAAM,CAAC,iBAAiB,EAAE,iBAAiB,GAAG,IAAI;IAIlD,QAAQ,CAAC,IAAI,EAAE,GAAG,GAAG,IAAI;IAUzB,SAAS,CAAC,GAAG,EAAE,cAAc,GAAG,IAAI;IAoBpC,iBAAiB,IAAI,IAAI;IAiBzB,UAAU,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI;IAS9B,cAAc,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI;IASlC,WAAW,CAAC,YAAY,EAAE,SAAS,GAAG,IAAI;IAIjD,OAAO,CAAC,kBAAkB;IAQnB,eAAe,IAAI,IAAI;IAOvB,YAAY,CAAC,UAAU,EAAE,IAAI,GAAG,MAAM,EAAE,WAAW,EAAE,MAAM,EAAE,GAAG,IAAI;IAWpE,mBAAmB,CAAC,UAAU,EAAE,yBAAyB,GAAG,IAAI;IAShE,YAAY,IAAI,IAAI;IAIpB,YAAY,IAAI,IAAI;IAIpB,wBAAwB,CAAC,QAAQ,EAAE,kBAAkB,EAAE,GAAG,IAAI;IAIrE,OAAO,CAAC,sCAAsC;IAoB9C,OAAO,CAAC,UAAU;IASlB,OAAO,CAAC,cAAc;IAItB,OAAO,CAAC,sBAAsB;yCA5hBnB,oBAAoB;2CAApB,oBAAoB;CA2iBhC"}
@@ -1,4 +1,4 @@
1
- import { EventEmitter, OnInit } from '@angular/core';
1
+ import { EventEmitter, OnDestroy, OnInit, ViewContainerRef } from '@angular/core';
2
2
  import { PermissionService } from '@valtimo/access-control';
3
3
  import { DocumentService, ProcessDocumentDefinition } from '@valtimo/document';
4
4
  import { FormFlowService, ProcessLinkService } from '@valtimo/process-link';
@@ -9,8 +9,9 @@ import { FormioForm } from '@formio/angular';
9
9
  import { UserProviderService } from '@valtimo/security';
10
10
  import { DossierListService, StartModalService } from '../../services';
11
11
  import { ConfigService } from '@valtimo/config';
12
+ import { FormViewModel } from '@valtimo/config';
12
13
  import * as i0 from "@angular/core";
13
- export declare class DossierProcessStartModalComponent implements OnInit {
14
+ export declare class DossierProcessStartModalComponent implements OnInit, OnDestroy {
14
15
  private route;
15
16
  private router;
16
17
  private processService;
@@ -22,6 +23,7 @@ export declare class DossierProcessStartModalComponent implements OnInit {
22
23
  private listService;
23
24
  private startModalService;
24
25
  private configService;
26
+ private readonly formViewModel;
25
27
  processDefinitionKey: string;
26
28
  processDefinitionId: string;
27
29
  documentDefinitionName: string;
@@ -29,16 +31,21 @@ export declare class DossierProcessStartModalComponent implements OnInit {
29
31
  private _startEventName;
30
32
  private readonly _useStartEventNameAsStartFormTitle;
31
33
  formDefinition: FormioForm;
34
+ formName: string;
32
35
  formFlowInstanceId: string;
33
36
  formioSubmission: FormioSubmission;
34
37
  private processLinkId;
35
38
  options: ValtimoFormioOptions;
36
39
  isAdmin: boolean;
40
+ isFormViewModel: boolean;
37
41
  form: FormioComponent;
38
42
  modal: ModalComponent;
43
+ formViewModelDynamicContainer: ViewContainerRef;
39
44
  formFlowComplete: EventEmitter<any>;
40
- constructor(route: ActivatedRoute, router: Router, processService: ProcessService, documentService: DocumentService, processLinkService: ProcessLinkService, formFlowService: FormFlowService, userProviderService: UserProviderService, permissionService: PermissionService, listService: DossierListService, startModalService: StartModalService, configService: ConfigService);
45
+ private _subscriptions;
46
+ constructor(route: ActivatedRoute, router: Router, processService: ProcessService, documentService: DocumentService, processLinkService: ProcessLinkService, formFlowService: FormFlowService, userProviderService: UserProviderService, permissionService: PermissionService, listService: DossierListService, startModalService: StartModalService, configService: ConfigService, formViewModel: FormViewModel);
41
47
  ngOnInit(): void;
48
+ ngOnDestroy(): void;
42
49
  private loadProcessLink;
43
50
  gotoProcessLinkScreen(): void;
44
51
  get modalTitle(): string;
@@ -47,7 +54,8 @@ export declare class DossierProcessStartModalComponent implements OnInit {
47
54
  formFlowSubmitted(): void;
48
55
  isUserAdmin(): void;
49
56
  private submitCompleted;
50
- static ɵfac: i0.ɵɵFactoryDeclaration<DossierProcessStartModalComponent, never>;
57
+ private setFormViewModelComponent;
58
+ static ɵfac: i0.ɵɵFactoryDeclaration<DossierProcessStartModalComponent, [null, null, null, null, null, null, null, null, null, null, null, { optional: true; }]>;
51
59
  static ɵcmp: i0.ɵɵComponentDeclaration<DossierProcessStartModalComponent, "valtimo-dossier-process-start-modal", never, {}, { "formFlowComplete": "formFlowComplete"; }, never, never, false, never>;
52
60
  }
53
61
  //# sourceMappingURL=dossier-process-start-modal.component.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"dossier-process-start-modal.component.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/dossier/src/lib/components/dossier-process-start-modal/dossier-process-start-modal.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAY,YAAY,EAAE,MAAM,EAAuC,MAAM,eAAe,CAAC;AACpG,OAAO,EAAC,iBAAiB,EAAC,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EAAC,eAAe,EAAE,yBAAyB,EAAC,MAAM,mBAAmB,CAAC;AAC7E,OAAO,EAAC,eAAe,EAAwB,kBAAkB,EAAC,MAAM,uBAAuB,CAAC;AAChG,OAAO,EAAC,cAAc,EAAE,MAAM,EAAC,MAAM,iBAAiB,CAAC;AACvD,OAAO,EAAC,cAAc,EAAC,MAAM,kBAAkB,CAAC;AAChD,OAAO,EACL,eAAe,EAEf,gBAAgB,EAChB,cAAc,EACd,oBAAoB,EACrB,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAC,UAAU,EAAC,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAC,mBAAmB,EAAC,MAAM,mBAAmB,CAAC;AAGtD,OAAO,EAAC,kBAAkB,EAAE,iBAAiB,EAAC,MAAM,gBAAgB,CAAC;AACrE,OAAO,EAAC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,yBAAyB,EAAE,yBAAyB;IAcvD,QAAQ,CAAC,UAAU,EAAE,gBAAgB;IAarC,iBAAiB,IAAI,IAAI;IAKzB,WAAW,IAAI,IAAI;IAW1B,OAAO,CAAC,eAAe;yCA7HZ,iCAAiC;2CAAjC,iCAAiC;CAiJ7C"}
1
+ {"version":3,"file":"dossier-process-start-modal.component.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/dossier/src/lib/components/dossier-process-start-modal/dossier-process-start-modal.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EAEL,YAAY,EAEZ,SAAS,EACT,MAAM,EAIN,gBAAgB,EAEjB,MAAM,eAAe,CAAC;AACvB,OAAO,EAAC,iBAAiB,EAAC,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EAAC,eAAe,EAAE,yBAAyB,EAAC,MAAM,mBAAmB,CAAC;AAC7E,OAAO,EAAC,eAAe,EAAwB,kBAAkB,EAAC,MAAM,uBAAuB,CAAC;AAChG,OAAO,EAAC,cAAc,EAAE,MAAM,EAAC,MAAM,iBAAiB,CAAC;AACvD,OAAO,EAAC,cAAc,EAAC,MAAM,kBAAkB,CAAC;AAChD,OAAO,EACL,eAAe,EAEf,gBAAgB,EAChB,cAAc,EACd,oBAAoB,EACrB,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAC,UAAU,EAAC,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAC,mBAAmB,EAAC,MAAM,mBAAmB,CAAC;AAGtD,OAAO,EAAC,kBAAkB,EAAE,iBAAiB,EAAC,MAAM,gBAAgB,CAAC;AACrE,OAAO,EAAC,aAAa,EAAC,MAAM,iBAAiB,CAAC;AAE9C,OAAO,EAAC,aAAa,EAAC,MAAM,iBAAiB,CAAC;;AAG9C,qBAMa,iCAAkC,YAAW,MAAM,EAAE,SAAS;IAwBvE,OAAO,CAAC,KAAK;IACb,OAAO,CAAC,MAAM;IACd,OAAO,CAAC,cAAc;IACtB,OAAO,CAAC,eAAe;IACvB,OAAO,C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,SAAS,CAAC,yBAAyB,EAAE,yBAAyB;IAcvD,QAAQ,CAAC,UAAU,EAAE,gBAAgB;IAarC,iBAAiB,IAAI,IAAI;IAKzB,WAAW,IAAI,IAAI;IAW1B,OAAO,CAAC,eAAe;IAqBvB,OAAO,CAAC,yBAAyB;yCAtKtB,iCAAiC;2CAAjC,iCAAiC;CAwL7C"}
@@ -0,0 +1,4 @@
1
+ declare const WIDGET_WIDTH_1X = 320;
2
+ declare const WIDGET_HEIGHT_1X = 200;
3
+ export { WIDGET_WIDTH_1X, WIDGET_HEIGHT_1X };
4
+ //# sourceMappingURL=case-widget.constants.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"case-widget.constants.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/dossier/src/lib/constants/case-widget.constants.ts"],"names":[],"mappings":"AAgBA,QAAA,MAAM,eAAe,MAAM,CAAC;AAC5B,QAAA,MAAM,gBAAgB,MAAM,CAAC;AAE7B,OAAO,EAAC,eAAe,EAAE,gBAAgB,EAAC,CAAC"}
@@ -0,0 +1,5 @@
1
+ import { InjectionToken } from '@angular/core';
2
+ import { CustomCaseWidgetConfig } from '../models';
3
+ declare const CUSTOM_CASE_WIDGET_TOKEN: InjectionToken<CustomCaseWidgetConfig>;
4
+ export { CUSTOM_CASE_WIDGET_TOKEN };
5
+ //# sourceMappingURL=custom-case-widget-token.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"custom-case-widget-token.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/dossier/src/lib/constants/custom-case-widget-token.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAC,cAAc,EAAC,MAAM,eAAe,CAAC;AAC7C,OAAO,EAAC,sBAAsB,EAAC,MAAM,WAAW,CAAC;AAEjD,QAAA,MAAM,wBAAwB,wCAE7B,CAAC;AAEF,OAAO,EAAC,wBAAwB,EAAC,CAAC"}
@@ -2,4 +2,6 @@ export * from './tab';
2
2
  export * from './case-tab-token';
3
3
  export * from './dossier-list.constants';
4
4
  export * from './case-status.constants';
5
+ export * from './case-widget.constants';
6
+ export * from './custom-case-widget-token';
5
7
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/dossier/src/lib/constants/index.ts"],"names":[],"mappings":"AAgBA,cAAc,OAAO,CAAC;AACtB,cAAc,kBAAkB,CAAC;AACjC,cAAc,0BAA0B,CAAC;AACzC,cAAc,yBAAyB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/dossier/src/lib/constants/index.ts"],"names":[],"mappings":"AAgBA,cAAc,OAAO,CAAC;AACtB,cAAc,kBAAkB,CAAC;AACjC,cAAc,0BAA0B,CAAC;AACzC,cAAc,yBAAyB,CAAC;AACxC,cAAc,yBAAyB,CAAC;AACxC,cAAc,4BAA4B,CAAC"}
@@ -30,11 +30,13 @@ import * as i27 from "@valtimo/config";
30
30
  import * as i28 from "carbon-components-angular";
31
31
  import * as i29 from "@valtimo/process-link";
32
32
  import * as i30 from "./pipes/tab-translate/tab-translate-pipe.module";
33
+ import * as i31 from "./components/dossier-detail/tab/widgets/widgets.component";
34
+ import * as i32 from "./components/dossier-detail-task-list/dossier-detail-task-list.component";
33
35
  export type TabsFactory = () => Map<string, object>;
34
36
  export declare class DossierModule {
35
37
  static forRoot(tabsFactory: TabsFactory): ModuleWithProviders<DossierModule>;
36
38
  static ɵfac: i0.ɵɵFactoryDeclaration<DossierModule, never>;
37
- static ɵmod: i0.ɵɵNgModuleDeclaration<DossierModule, [typeof i1.DossierBulkAssignModalComponent, typeof i2.DossierListComponent, typeof i3.DossierListActionsComponent, typeof i4.DossierDetailComponent, typeof i5.DossierDetailTabSummaryComponent, typeof i6.DossierDetailTabProgressComponent, typeof i7.DossierDetailTabAuditComponent, typeof i8.DossierDetailTabDocumentsComponent, typeof i9.DossierDetailTabNotesComponent, typeof i10.DossierUpdateComponent, typeof i11.DossierProcessStartModalComponent, typeof i12.DossierSupportingProcessStartModalComponent, typeof i13.DossierDetailTabS3DocumentsComponent, typeof i14.DossierDetailTabNotFoundComponent, typeof i15.DossierAssignUserComponent, typeof i16.NoteModalComponent, typeof i17.DossierDetailTabFormioComponent], [typeof i18.CommonModule, typeof i19.DossierRoutingModule, typeof i20.ListModule, typeof i20.WidgetModule, typeof i20.BpmnJsDiagramModule, typeof i20.TimelineModule, typeof i20.CamundaFormModule, typeof i21.ProcessModule, typeof i20.FilterSidebarModule, typeof i22.NgbButtonsModule, typeof i20.DataListModule, typeof i23.FormsModule, typeof i23.ReactiveFormsModule, typeof i24.FormModule, typeof i20.FormIoModule, typeof i20.ModalModule, typeof i20.SpinnerModule, typeof i25.TranslateModule, typeof i26.TaskModule, typeof i20.ModalModule, typeof i22.NgbTooltipModule, typeof i20.UploaderModule, typeof i20.DropzoneModule, typeof i22.NgbPaginationModule, typeof i27.ConfigModule, typeof i20.SelectModule, typeof i20.InputLabelModule, typeof i20.ParagraphModule, typeof i20.TableModule, typeof i20.VModalModule, typeof i20.TitleModule, typeof i20.ButtonModule, typeof i20.SearchableDropdownSelectModule, typeof i20.SearchFieldsModule, typeof i20.PageModule, typeof i24.FormModule, typeof i20.InputModule, typeof i20.FormModule, typeof i22.NgbModule, typeof i28.LoadingModule, typeof i28.ButtonModule, typeof i28.IconModule, typeof i29.ProcessLinkModule, typeof i28.ModalModule, typeof i28.SelectModule, typeof i20.ConfirmationModalModule, typeof i28.DropdownModule, typeof i28.TabsModule, typeof i28.ComboBoxModule, typeof i30.TabTranslatePipeModule, typeof i20.CarbonListModule, typeof i20.IsArrayPipe, typeof i28.SkeletonModule, typeof i20.StatusSelectorComponent, typeof i20.RenderInPageHeaderDirectiveModule, typeof i28.TagModule, typeof i28.DialogModule, typeof i20.ValtimoCdsOverflowButtonDirectiveModule], [typeof i2.DossierListComponent, typeof i4.DossierDetailComponent]>;
39
+ static ɵmod: i0.ɵɵNgModuleDeclaration<DossierModule, [typeof i1.DossierBulkAssignModalComponent, typeof i2.DossierListComponent, typeof i3.DossierListActionsComponent, typeof i4.DossierDetailComponent, typeof i5.DossierDetailTabSummaryComponent, typeof i6.DossierDetailTabProgressComponent, typeof i7.DossierDetailTabAuditComponent, typeof i8.DossierDetailTabDocumentsComponent, typeof i9.DossierDetailTabNotesComponent, typeof i10.DossierUpdateComponent, typeof i11.DossierProcessStartModalComponent, typeof i12.DossierSupportingProcessStartModalComponent, typeof i13.DossierDetailTabS3DocumentsComponent, typeof i14.DossierDetailTabNotFoundComponent, typeof i15.DossierAssignUserComponent, typeof i16.NoteModalComponent, typeof i17.DossierDetailTabFormioComponent], [typeof i18.CommonModule, typeof i19.DossierRoutingModule, typeof i20.ListModule, typeof i20.WidgetModule, typeof i20.BpmnJsDiagramModule, typeof i20.TimelineModule, typeof i20.CamundaFormModule, typeof i21.ProcessModule, typeof i20.FilterSidebarModule, typeof i22.NgbButtonsModule, typeof i20.DataListModule, typeof i23.FormsModule, typeof i23.ReactiveFormsModule, typeof i24.FormModule, typeof i20.FormIoModule, typeof i20.ModalModule, typeof i20.SpinnerModule, typeof i25.TranslateModule, typeof i26.TaskModule, typeof i20.ModalModule, typeof i22.NgbTooltipModule, typeof i20.UploaderModule, typeof i20.DropzoneModule, typeof i22.NgbPaginationModule, typeof i27.ConfigModule, typeof i20.SelectModule, typeof i20.InputLabelModule, typeof i20.ParagraphModule, typeof i20.TableModule, typeof i20.VModalModule, typeof i20.TitleModule, typeof i20.ButtonModule, typeof i20.SearchableDropdownSelectModule, typeof i20.SearchFieldsModule, typeof i20.PageModule, typeof i24.FormModule, typeof i20.InputModule, typeof i20.FormModule, typeof i22.NgbModule, typeof i28.LoadingModule, typeof i28.ButtonModule, typeof i28.IconModule, typeof i29.ProcessLinkModule, typeof i28.ModalModule, typeof i28.SelectModule, typeof i20.ConfirmationModalModule, typeof i28.DropdownModule, typeof i28.TabsModule, typeof i28.ComboBoxModule, typeof i30.TabTranslatePipeModule, typeof i20.CarbonListModule, typeof i20.IsArrayPipe, typeof i28.SkeletonModule, typeof i20.StatusSelectorComponent, typeof i20.RenderInPageHeaderDirectiveModule, typeof i28.TagModule, typeof i28.DialogModule, typeof i20.ValtimoCdsOverflowButtonDirectiveModule, typeof i31.DossierDetailWidgetsComponent, typeof i32.DossierDetailTaskListComponent], [typeof i2.DossierListComponent, typeof i4.DossierDetailComponent]>;
38
40
  static ɵinj: i0.ɵɵInjectorDeclaration<DossierModule>;
39
41
  }
40
42
  //# sourceMappingURL=dossier.module.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"dossier.module.d.ts","sourceRoot":"","sources":["../../../../projects/valtimo/dossier/src/lib/dossier.module.ts"],"names":[],"mappings":"AAiBA,OAAO,EAAC,mBAAmB,EAAW,MAAM,eAAe,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAiF5D,MAAM,MAAM,WAAW,GAAG,MAAM,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;AAEpD,qBAwFa,aAAa;IACxB,MAAM,CAAC,OAAO,CAAC,WAAW,EAAE,WAAW,GAAG,mBAAmB,CAAC,aAAa,CAAC;yCADjE,aAAa;0CAAb,aAAa;0CAAb,aAAa;CAczB"}
1
+ {"version":3,"file":"dossier.module.d.ts","sourceRoot":"","sources":["../../../../projects/valtimo/dossier/src/lib/dossier.module.ts"],"names":[],"mappings":"AAiBA,OAAO,EAAC,mBAAmB,EAAW,MAAM,eAAe,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAmF5D,MAAM,MAAM,WAAW,GAAG,MAAM,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;AAEpD,qBA0Fa,aAAa;IACxB,MAAM,CAAC,OAAO,CAAC,WAAW,EAAE,WAAW,GAAG,mBAAmB,CAAC,aAAa,CAAC;yCADjE,aAAa;0CAAb,aAAa;0CAAb,aAAa;CAczB"}