@valtimo/case 13.2.0 → 13.3.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/fesm2022/valtimo-case.mjs +637 -968
- package/fesm2022/valtimo-case.mjs.map +1 -1
- package/lib/case.module.d.ts +6 -1
- package/lib/case.module.d.ts.map +1 -1
- package/lib/components/case-detail/case-detail.component.d.ts +1 -1
- package/lib/components/case-detail/case-detail.component.d.ts.map +1 -1
- package/lib/components/case-detail/tab/formio/formio.component.d.ts +3 -1
- package/lib/components/case-detail/tab/formio/formio.component.d.ts.map +1 -1
- package/lib/components/case-detail/tab/summary/summary.component.d.ts +3 -1
- package/lib/components/case-detail/tab/summary/summary.component.d.ts.map +1 -1
- package/lib/components/case-detail/tab/widgets/components/collection/case-widget-collection.component.d.ts +37 -0
- package/lib/components/case-detail/tab/widgets/components/collection/case-widget-collection.component.d.ts.map +1 -0
- package/lib/components/case-detail/tab/widgets/components/custom/case-widget-custom.component.d.ts +22 -0
- package/lib/components/case-detail/tab/widgets/components/custom/case-widget-custom.component.d.ts.map +1 -0
- package/lib/components/case-detail/tab/widgets/components/field/case-widget-field.component.d.ts +29 -0
- package/lib/components/case-detail/tab/widgets/components/field/case-widget-field.component.d.ts.map +1 -0
- package/lib/components/case-detail/tab/widgets/components/formio/case-widget-formio.component.d.ts +29 -0
- package/lib/components/case-detail/tab/widgets/components/formio/case-widget-formio.component.d.ts.map +1 -0
- package/lib/components/case-detail/tab/widgets/components/table/case-widget-table.component.d.ts +38 -0
- package/lib/components/case-detail/tab/widgets/components/table/case-widget-table.component.d.ts.map +1 -0
- package/lib/components/case-detail/tab/widgets/components/widget-process/widget-process.d.ts +2 -2
- package/lib/components/case-detail/tab/widgets/components/widget-process/widget-process.d.ts.map +1 -1
- package/lib/components/case-detail/tab/widgets/widgets.component.d.ts +14 -7
- package/lib/components/case-detail/tab/widgets/widgets.component.d.ts.map +1 -1
- package/lib/components/case-detail/tab/widgets/widgets.service.d.ts +3 -0
- package/lib/components/case-detail/tab/widgets/widgets.service.d.ts.map +1 -1
- package/lib/components/case-list/case-list.component.d.ts +13 -7
- package/lib/components/case-list/case-list.component.d.ts.map +1 -1
- package/lib/constants/index.d.ts +0 -1
- package/lib/constants/index.d.ts.map +1 -1
- package/lib/models/case-list-quick-search.model.d.ts +4 -0
- package/lib/models/case-list-quick-search.model.d.ts.map +1 -0
- package/lib/models/case-sse-event.model.d.ts +7 -0
- package/lib/models/case-sse-event.model.d.ts.map +1 -0
- package/lib/models/case-widget.model.d.ts +2 -0
- package/lib/models/case-widget.model.d.ts.map +1 -1
- package/lib/models/index.d.ts +2 -0
- package/lib/models/index.d.ts.map +1 -1
- package/lib/services/case-list-case-tag.service.d.ts +3 -3
- package/lib/services/case-list-case-tag.service.d.ts.map +1 -1
- package/lib/services/case-list-quick-search.service.d.ts +23 -0
- package/lib/services/case-list-quick-search.service.d.ts.map +1 -0
- package/lib/services/case-list-status.service.d.ts +3 -3
- package/lib/services/case-list-status.service.d.ts.map +1 -1
- package/lib/services/case-menu.service.d.ts +21 -0
- package/lib/services/case-menu.service.d.ts.map +1 -0
- package/lib/services/case-parameter.service.d.ts +9 -4
- package/lib/services/case-parameter.service.d.ts.map +1 -1
- package/lib/services/case-tab.service.d.ts +2 -2
- package/lib/services/case-tab.service.d.ts.map +1 -1
- package/lib/services/case-widgets-api.service.d.ts +3 -2
- package/lib/services/case-widgets-api.service.d.ts.map +1 -1
- package/lib/services/index.d.ts +2 -1
- package/lib/services/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/lib/components/case-detail/tab/widgets/components/collection/widget-collection.component.d.ts +0 -57
- package/lib/components/case-detail/tab/widgets/components/collection/widget-collection.component.d.ts.map +0 -1
- package/lib/components/case-detail/tab/widgets/components/custom/widget-custom.component.d.ts +0 -31
- package/lib/components/case-detail/tab/widgets/components/custom/widget-custom.component.d.ts.map +0 -1
- package/lib/components/case-detail/tab/widgets/components/field/widget-field.component.d.ts +0 -47
- package/lib/components/case-detail/tab/widgets/components/field/widget-field.component.d.ts.map +0 -1
- package/lib/components/case-detail/tab/widgets/components/formio/widget-formio.component.d.ts +0 -29
- package/lib/components/case-detail/tab/widgets/components/formio/widget-formio.component.d.ts.map +0 -1
- package/lib/components/case-detail/tab/widgets/components/table/widget-table.component.d.ts +0 -39
- package/lib/components/case-detail/tab/widgets/components/table/widget-table.component.d.ts.map +0 -1
- package/lib/components/case-detail/tab/widgets/components/widget-block/widget-block.component.d.ts +0 -42
- package/lib/components/case-detail/tab/widgets/components/widget-block/widget-block.component.d.ts.map +0 -1
- package/lib/components/case-detail/tab/widgets/components/widgets-container/widgets-container.component.d.ts +0 -20
- package/lib/components/case-detail/tab/widgets/components/widgets-container/widgets-container.component.d.ts.map +0 -1
- package/lib/constants/custom-case-widget-token.d.ts +0 -5
- package/lib/constants/custom-case-widget-token.d.ts.map +0 -1
- package/lib/services/case-widgets-layout.service.d.ts +0 -35
- package/lib/services/case-widgets-layout.service.d.ts.map +0 -1
package/lib/case.module.d.ts
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import { ModuleWithProviders } from '@angular/core';
|
|
2
|
+
import { MenuService } from '@valtimo/components';
|
|
3
|
+
import { CaseMenuService } from './services';
|
|
2
4
|
import * as i0 from "@angular/core";
|
|
3
5
|
import * as i1 from "./components/case-bulk-assign-modal/case-bulk-assign-modal.component";
|
|
4
6
|
import * as i2 from "./components/case-list/case-list.component";
|
|
@@ -36,9 +38,12 @@ import * as i33 from "./components/case-detail-task-detail/case-detail-task-deta
|
|
|
36
38
|
import * as i34 from "angular-split";
|
|
37
39
|
export type TabsFactory = () => Map<string, object>;
|
|
38
40
|
export declare class CaseModule {
|
|
41
|
+
private readonly caseMenuService;
|
|
42
|
+
private readonly menuService;
|
|
39
43
|
static forRoot(tabsFactory: TabsFactory): ModuleWithProviders<CaseModule>;
|
|
44
|
+
constructor(caseMenuService: CaseMenuService, menuService: MenuService);
|
|
40
45
|
static ɵfac: i0.ɵɵFactoryDeclaration<CaseModule, never>;
|
|
41
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<CaseModule, [typeof i1.CaseBulkAssignModalComponent, typeof i2.CaseListComponent, typeof i3.CaseListActionsComponent, typeof i4.CaseDetailComponent, typeof i5.CaseDetailTabSummaryComponent, typeof i6.CaseDetailTabProgressComponent, typeof i7.CaseDetailTabAuditComponent, typeof i8.CaseDetailTabDocumentsComponent, typeof i9.CaseDetailTabNotesComponent, typeof i10.CaseUpdateComponent, typeof i11.CaseProcessStartModalComponent, typeof i12.CaseSupportingProcessStartModalComponent, typeof i13.CaseDetailTabS3DocumentsComponent, typeof i14.CaseDetailTabNotFoundComponent, typeof i15.CaseAssignUserComponent, typeof i16.NoteModalComponent, typeof i17.CaseDetailTabFormioComponent], [typeof i18.CommonModule, typeof i19.CaseRoutingModule, 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.SearchableDropdownSelectModule, typeof i20.SearchFieldsModule, 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.RenderInPageHeaderDirective, typeof i28.TagModule, typeof i28.DialogModule, typeof i20.ValtimoCdsOverflowButtonDirective, typeof i31.CaseDetailWidgetsComponent, typeof i32.CaseDetailTaskListComponent, typeof i33.CaseDetailsTaskDetailComponent, typeof i34.AngularSplitModule, typeof i20.CaseTagsSelectorComponent, typeof i20.ValtimoCdsModalDirective, typeof i28.TilesModule, typeof i28.LayerModule, typeof i28.NotificationModule, typeof i28.InputModule, typeof i28.TooltipModule], [typeof i2.CaseListComponent, typeof i4.CaseDetailComponent, typeof i11.CaseProcessStartModalComponent]>;
|
|
46
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<CaseModule, [typeof i1.CaseBulkAssignModalComponent, typeof i2.CaseListComponent, typeof i3.CaseListActionsComponent, typeof i4.CaseDetailComponent, typeof i5.CaseDetailTabSummaryComponent, typeof i6.CaseDetailTabProgressComponent, typeof i7.CaseDetailTabAuditComponent, typeof i8.CaseDetailTabDocumentsComponent, typeof i9.CaseDetailTabNotesComponent, typeof i10.CaseUpdateComponent, typeof i11.CaseProcessStartModalComponent, typeof i12.CaseSupportingProcessStartModalComponent, typeof i13.CaseDetailTabS3DocumentsComponent, typeof i14.CaseDetailTabNotFoundComponent, typeof i15.CaseAssignUserComponent, typeof i16.NoteModalComponent, typeof i17.CaseDetailTabFormioComponent], [typeof i18.CommonModule, typeof i19.CaseRoutingModule, 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.SearchableDropdownSelectModule, typeof i20.SearchFieldsModule, 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.RenderInPageHeaderDirective, typeof i28.TagModule, typeof i28.DialogModule, typeof i20.ValtimoCdsOverflowButtonDirective, typeof i31.CaseDetailWidgetsComponent, typeof i32.CaseDetailTaskListComponent, typeof i33.CaseDetailsTaskDetailComponent, typeof i34.AngularSplitModule, typeof i20.CaseTagsSelectorComponent, typeof i20.ValtimoCdsModalDirective, typeof i28.TilesModule, typeof i28.LayerModule, typeof i28.NotificationModule, typeof i28.InputModule, typeof i28.TooltipModule, typeof i20.QuickSearchComponent], [typeof i2.CaseListComponent, typeof i4.CaseDetailComponent, typeof i11.CaseProcessStartModalComponent]>;
|
|
42
47
|
static ɵinj: i0.ɵɵInjectorDeclaration<CaseModule>;
|
|
43
48
|
}
|
|
44
49
|
//# sourceMappingURL=case.module.d.ts.map
|
package/lib/case.module.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"case.module.d.ts","sourceRoot":"","sources":["../../../../projects/valtimo/case/src/lib/case.module.ts"],"names":[],"mappings":"AAiBA,OAAO,EAAC,mBAAmB,EAAW,MAAM,eAAe,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"case.module.d.ts","sourceRoot":"","sources":["../../../../projects/valtimo/case/src/lib/case.module.ts"],"names":[],"mappings":"AAiBA,OAAO,EAAC,mBAAmB,EAAW,MAAM,eAAe,CAAC;AAS5D,OAAO,EAcL,WAAW,EAiBZ,MAAM,qBAAqB,CAAC;AAyC7B,OAAO,EAAwB,eAAe,EAAc,MAAM,YAAY,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAS/E,MAAM,MAAM,WAAW,GAAG,MAAM,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;AAEpD,qBA4Fa,UAAU;IASnB,OAAO,CAAC,QAAQ,CAAC,eAAe;IAChC,OAAO,CAAC,QAAQ,CAAC,WAAW;IAT9B,MAAM,CAAC,OAAO,CAAC,WAAW,EAAE,WAAW,GAAG,mBAAmB,CAAC,UAAU,CAAC;gBAQtD,eAAe,EAAE,eAAe,EAChC,WAAW,EAAE,WAAW;yCAVhC,UAAU;0CAAV,UAAU;0CAAV,UAAU;CActB"}
|
|
@@ -81,7 +81,7 @@ export declare class CaseDetailComponent extends PendingChangesComponent impleme
|
|
|
81
81
|
readonly showNoAccess$: BehaviorSubject<boolean>;
|
|
82
82
|
activeTab$: Observable<TabImpl>;
|
|
83
83
|
readonly compactMode$: Observable<boolean>;
|
|
84
|
-
readonly tabHorizontalOverflowDisabled: import("@angular/core").Signal<boolean>;
|
|
84
|
+
readonly $tabHorizontalOverflowDisabled: import("@angular/core").Signal<boolean>;
|
|
85
85
|
readonly smallTitle$: Observable<boolean>;
|
|
86
86
|
readonly showTaskList$: Observable<boolean>;
|
|
87
87
|
private readonly _activeTabName$;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"case-detail.component.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/case/src/lib/components/case-detail/case-detail.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EACL,aAAa,EAEb,wBAAwB,EAGxB,SAAS,EACT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ceRoot":"","sources":["../../../../../../projects/valtimo/case/src/lib/components/case-detail/case-detail.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EACL,aAAa,EAEb,wBAAwB,EAGxB,SAAS,EACT,SAAS,EAET,gBAAgB,EACjB,MAAM,eAAe,CAAC;AACvB,OAAO,EAAC,cAAc,EAAqC,MAAM,EAAC,MAAM,iBAAiB,CAAC;AAE1F,OAAO,EAAC,gBAAgB,EAAC,MAAM,qBAAqB,CAAC;AACrD,OAAO,EAAC,iBAAiB,EAAC,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EACL,iBAAiB,EACjB,eAAe,EAEf,iBAAiB,EACjB,gBAAgB,EAChB,uBAAuB,EACxB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAC,yBAAyB,EAAC,MAAM,iBAAiB,CAAC;AAC1D,OAAO,EACL,iBAAiB,EACjB,OAAO,EAEP,QAAQ,IAAI,eAAe,EAC3B,eAAe,EACf,kBAAkB,EAElB,+BAA+B,EAChC,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAC,mBAAmB,EAAC,MAAM,uBAAuB,CAAC;AAC1D,OAAO,EAAC,mBAAmB,EAAC,MAAM,mBAAmB,CAAC;AACtD,OAAO,EAAC,sBAAsB,EAAC,MAAM,eAAe,CAAC;AACrD,OAAO,EAAC,WAAW,EAAC,MAAM,2BAA2B,CAAC;AACtD,OAAO,EAAC,eAAe,EAAC,MAAM,kBAAkB,CAAC;AACjD,OAAO,EAAC,SAAS,EAAC,MAAM,YAAY,CAAC;AACrC,OAAO,EACL,eAAe,EAIf,UAAU,EAGV,OAAO,EAKR,MAAM,MAAM,CAAC;AAOd,OAAO,EAAC,OAAO,EAAE,aAAa,EAAC,MAAM,cAAc,CAAC;AAQpD,OAAO,EAAC,uBAAuB,EAAE,WAAW,EAAE,cAAc,EAAC,MAAM,gBAAgB,CAAC;AACpF,OAAO,EAAC,wCAAwC,EAAC,MAAM,sFAAsF,CAAC;AAC9I,OAAO,EAAC,cAAc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AAmB;CAmlB/B"}
|
|
@@ -3,17 +3,19 @@ import { ActivatedRoute } from '@angular/router';
|
|
|
3
3
|
import { FormService } from '@valtimo/form';
|
|
4
4
|
import { BehaviorSubject, Observable } from 'rxjs';
|
|
5
5
|
import { FormioForm } from '@formio/angular';
|
|
6
|
+
import { SseService } from '@valtimo/sse';
|
|
6
7
|
import * as i0 from "@angular/core";
|
|
7
8
|
export declare class CaseDetailTabFormioComponent {
|
|
8
9
|
private readonly tabService;
|
|
9
10
|
private readonly route;
|
|
10
11
|
private readonly formService;
|
|
12
|
+
private readonly sseService;
|
|
11
13
|
readonly loading$: BehaviorSubject<boolean>;
|
|
12
14
|
readonly formNotFound$: BehaviorSubject<string>;
|
|
13
15
|
readonly noFormSpecified$: BehaviorSubject<boolean>;
|
|
14
16
|
private _formDefinitionName;
|
|
15
17
|
readonly prefilledForm$: Observable<FormioForm | null>;
|
|
16
|
-
constructor(tabService: CaseTabService, route: ActivatedRoute, formService: FormService);
|
|
18
|
+
constructor(tabService: CaseTabService, route: ActivatedRoute, formService: FormService, sseService: SseService);
|
|
17
19
|
static ɵfac: i0.ɵɵFactoryDeclaration<CaseDetailTabFormioComponent, never>;
|
|
18
20
|
static ɵcmp: i0.ɵɵComponentDeclaration<CaseDetailTabFormioComponent, "ng-component", never, {}, {}, never, never, false, never>;
|
|
19
21
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"formio.component.d.ts","sourceRoot":"","sources":["../../../../../../../../projects/valtimo/case/src/lib/components/case-detail/tab/formio/formio.component.ts"],"names":[],"mappings":"AAiBA,OAAO,EAAC,cAAc,EAAC,MAAM,sBAAsB,CAAC;AACpD,OAAO,EAAC,cAAc,EAAC,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAC,WAAW,EAAC,MAAM,eAAe,CAAC;AAC1C,OAAO,
|
|
1
|
+
{"version":3,"file":"formio.component.d.ts","sourceRoot":"","sources":["../../../../../../../../projects/valtimo/case/src/lib/components/case-detail/tab/formio/formio.component.ts"],"names":[],"mappings":"AAiBA,OAAO,EAAC,cAAc,EAAC,MAAM,sBAAsB,CAAC;AACpD,OAAO,EAAC,cAAc,EAAC,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAC,WAAW,EAAC,MAAM,eAAe,CAAC;AAC1C,OAAO,EACL,eAAe,EAGf,UAAU,EAKX,MAAM,MAAM,CAAC;AACd,OAAO,EAAC,UAAU,EAAC,MAAM,iBAAiB,CAAC;AAG3C,OAAO,EAAC,UAAU,EAAC,MAAM,cAAc,CAAC;;AAExC,qBAMa,4BAA4B;IAmCrC,OAAO,CAAC,QAAQ,CAAC,UAAU;IAC3B,OAAO,CAAC,QAAQ,CAAC,KAAK;IACtB,OAAO,CAAC,QAAQ,CAAC,WAAW;IAC5B,OAAO,CAAC,QAAQ,CAAC,UAAU;IArC7B,SAAgB,QAAQ,2BAAsC;IAC9D,SAAgB,aAAa,0BAAmC;IAChE,SAAgB,gBAAgB,2BAAuC;IACvE,OAAO,CAAC,mBAAmB,CAAU;IACrC,SAAgB,cAAc,EAAE,UAAU,CAAC,UAAU,GAAG,IAAI,CAAC,CA2B3D;gBAGiB,UAAU,EAAE,cAAc,EAC1B,KAAK,EAAE,cAAc,EACrB,WAAW,EAAE,WAAW,EACxB,UAAU,EAAE,UAAU;yCAtC9B,4BAA4B;2CAA5B,4BAA4B;CAwCxC"}
|
|
@@ -8,12 +8,14 @@ import { FormioForm } from '@formio/angular';
|
|
|
8
8
|
import { BehaviorSubject } from 'rxjs';
|
|
9
9
|
import { NotificationContent } from 'carbon-components-angular';
|
|
10
10
|
import { TranslateService } from '@ngx-translate/core';
|
|
11
|
+
import { SseService } from '@valtimo/sse';
|
|
11
12
|
import * as i0 from "@angular/core";
|
|
12
13
|
export declare class CaseDetailTabSummaryComponent implements OnInit, OnDestroy {
|
|
13
14
|
private readonly documentService;
|
|
14
15
|
private readonly route;
|
|
15
16
|
private readonly formService;
|
|
16
17
|
private readonly translateService;
|
|
18
|
+
private readonly sseService;
|
|
17
19
|
readonly caseDefinitionKey: string;
|
|
18
20
|
readonly documentId: string;
|
|
19
21
|
private snapshot;
|
|
@@ -24,7 +26,7 @@ export declare class CaseDetailTabSummaryComponent implements OnInit, OnDestroy
|
|
|
24
26
|
options: ValtimoFormioOptions;
|
|
25
27
|
notificationObj$: BehaviorSubject<NotificationContent>;
|
|
26
28
|
private _subscriptions;
|
|
27
|
-
constructor(documentService: DocumentService, route: ActivatedRoute, formService: FormService, translateService: TranslateService);
|
|
29
|
+
constructor(documentService: DocumentService, route: ActivatedRoute, formService: FormService, translateService: TranslateService, sseService: SseService);
|
|
28
30
|
ngOnInit(): void;
|
|
29
31
|
ngOnDestroy(): void;
|
|
30
32
|
init(): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"summary.component.d.ts","sourceRoot":"","sources":["../../../../../../../../projects/valtimo/case/src/lib/components/case-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;AAC3C,OAAO,
|
|
1
|
+
{"version":3,"file":"summary.component.d.ts","sourceRoot":"","sources":["../../../../../../../../projects/valtimo/case/src/lib/components/case-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,E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;2CAA7B,6BAA6B;CAyFzC"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { PaginationModel } from 'carbon-components-angular';
|
|
2
|
+
import { CaseWidgetAction } from '../../../../../../models';
|
|
3
|
+
import { BehaviorSubject, Observable } from 'rxjs';
|
|
4
|
+
import { Page } from '@valtimo/shared';
|
|
5
|
+
import { CaseTabService, CaseWidgetsApiService } from '../../../../../../services';
|
|
6
|
+
import { WidgetProcess } from '../widget-process/widget-process';
|
|
7
|
+
import { DocumentService } from '@valtimo/document';
|
|
8
|
+
import { PermissionService } from '@valtimo/access-control';
|
|
9
|
+
import { WidgetsService } from '../../widgets.service';
|
|
10
|
+
import { CollectionWidget, CollectionWidgetCardData, WidgetLayoutService } from '@valtimo/layout';
|
|
11
|
+
import * as i0 from "@angular/core";
|
|
12
|
+
export declare class CaseWidgetCollectionComponent extends WidgetProcess {
|
|
13
|
+
protected readonly documentService: DocumentService;
|
|
14
|
+
protected readonly permissionService: PermissionService;
|
|
15
|
+
private readonly widgetApiService;
|
|
16
|
+
private readonly widgetsService;
|
|
17
|
+
private readonly widgetLayoutService;
|
|
18
|
+
private readonly caseTabService;
|
|
19
|
+
private readonly caseWidgetsApiService;
|
|
20
|
+
private readonly _documentId$;
|
|
21
|
+
set documentId(value: string);
|
|
22
|
+
set widgetConfiguration(value: CollectionWidget);
|
|
23
|
+
readonly widgetUuid: string;
|
|
24
|
+
readonly widgetConfiguration$: BehaviorSubject<CollectionWidget>;
|
|
25
|
+
private readonly _queryParams$;
|
|
26
|
+
readonly tabKey$: Observable<string>;
|
|
27
|
+
private readonly _refresh$;
|
|
28
|
+
private readonly _initialWidgetData$;
|
|
29
|
+
readonly widgetData$: Observable<Page<import("@valtimo/components").CarbonListItem> | Page<CollectionWidgetCardData>>;
|
|
30
|
+
constructor(documentService: DocumentService, permissionService: PermissionService, widgetApiService: CaseWidgetsApiService, widgetsService: WidgetsService, widgetLayoutService: WidgetLayoutService, caseTabService: CaseTabService, caseWidgetsApiService: CaseWidgetsApiService);
|
|
31
|
+
onPaginationEvent(event: PaginationModel): void;
|
|
32
|
+
onProcessStartClick(process: CaseWidgetAction): void;
|
|
33
|
+
private getPageSizeParam;
|
|
34
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CaseWidgetCollectionComponent, never>;
|
|
35
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CaseWidgetCollectionComponent, "valtimo-case-widget-collection", never, { "documentId": { "alias": "documentId"; "required": true; }; "widgetConfiguration": { "alias": "widgetConfiguration"; "required": false; }; "widgetUuid": { "alias": "widgetUuid"; "required": false; }; }, {}, never, never, true, never>;
|
|
36
|
+
}
|
|
37
|
+
//# sourceMappingURL=case-widget-collection.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"case-widget-collection.component.d.ts","sourceRoot":"","sources":["../../../../../../../../../../projects/valtimo/case/src/lib/components/case-detail/tab/widgets/components/collection/case-widget-collection.component.ts"],"names":[],"mappings":"AAkBA,OAAO,EAGL,eAAe,EAGhB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAC,gBAAgB,EAA0B,MAAM,0BAA0B,CAAC;AACnF,OAAO,EACL,eAAe,EAKf,UAAU,EAKX,MAAM,MAAM,CAAC;AAGd,OAAO,EAAC,IAAI,EAAC,MAAM,iBAAiB,CAAC;AACrC,OAAO,EAAC,cAAc,EAAE,qBAAqB,EAAC,MAAM,4BAA4B,CAAC;AACjF,OAAO,EAAC,aAAa,EAAC,MAAM,kCAAkC,CAAC;AAC/D,OAAO,EAAC,eAAe,EAAC,MAAM,mBAAmB,CAAC;AAClD,OAAO,EAAC,iBAAiB,EAAC,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EAAC,cAAc,EAAC,MAAM,uBAAuB,CAAC;AACrD,OAAO,EACL,gBAAgB,EAChB,wBAAwB,EAExB,mBAAmB,EAEpB,MAAM,iBAAiB,CAAC;;AAGzB,qBAiBa,6BAA8B,SAAQ,aAAa;IAgE5D,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umentService } from '@valtimo/document';
|
|
3
|
+
import { PermissionService } from '@valtimo/access-control';
|
|
4
|
+
import { WidgetProcess } from '../widget-process/widget-process';
|
|
5
|
+
import { WidgetsService } from '../../widgets.service';
|
|
6
|
+
import { CustomWidget, WidgetAction } from '@valtimo/layout';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare class CaseWidgetCustomComponent extends WidgetProcess {
|
|
9
|
+
private readonly widgetsService;
|
|
10
|
+
protected readonly documentService: DocumentService;
|
|
11
|
+
protected readonly permissionService: PermissionService;
|
|
12
|
+
set documentId(value: string);
|
|
13
|
+
set widgetConfiguration(value: CustomWidget);
|
|
14
|
+
readonly widgetUuid: string;
|
|
15
|
+
private readonly _widgetConfigSubject$;
|
|
16
|
+
get widgetConfig$(): Observable<CustomWidget>;
|
|
17
|
+
constructor(widgetsService: WidgetsService, documentService: DocumentService, permissionService: PermissionService);
|
|
18
|
+
onProcessStartClick(process: WidgetAction): void;
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CaseWidgetCustomComponent, never>;
|
|
20
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CaseWidgetCustomComponent, "valtimo-case-widget-custom", never, { "documentId": { "alias": "documentId"; "required": true; }; "widgetConfiguration": { "alias": "widgetConfiguration"; "required": false; }; "widgetUuid": { "alias": "widgetUuid"; "required": false; }; }, {}, never, never, true, never>;
|
|
21
|
+
}
|
|
22
|
+
//# sourceMappingURL=case-widget-custom.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"case-widget-custom.component.d.ts","sourceRoot":"","sources":["../../../../../../../../../../projects/valtimo/case/src/lib/components/case-detail/tab/widgets/components/custom/case-widget-custom.component.ts"],"names":[],"mappings":"AAkBA,OAAO,EAA0B,UAAU,EAAC,MAAM,MAAM,CAAC;AAGzD,OAAO,EAAC,eAAe,EAAC,MAAM,mBAAmB,CAAC;AAClD,OAAO,EAAC,iBAAiB,EAAC,MAAM,yBAAyB,CAAC;AAE1D,OAAO,EAAC,aAAa,EAAC,MAAM,kCAAkC,CAAC;AAC/D,OAAO,EAAC,cAAc,EAAC,MAAM,uBAAuB,CAAC;AACrD,OAAO,EAAC,YAAY,EAAE,YAAY,EAAwB,MAAM,iBAAiB,CAAC;;AAElF,qBAOa,yBAA0B,SAAQ,aAAa;IAkBxD,OAAO,CAAC,QAAQ,CAAC,cAAc;IAC/B,SAAS,CAAC,QAAQ,CAAC,eAAe,EAAE,eAAe;IACnD,SAAS,CAAC,QAAQ,CAAC,iBAAiB,EAAE,iBAAiB;IAnBzD,IAAoC,UAAU,CAAC,KAAK,EAAE,MAAM,EAE3D;IACD,IAAoB,mBAAmB,CAAC,KAAK,EAAE,YAAY,EAI1D;IACD,SAAyB,UAAU,EAAE,MAAM,CAAC;IAE5C,OAAO,CAAC,QAAQ,CAAC,qBAAqB,CAAkD;IAExF,IAAW,aAAa,IAAI,UAAU,CAAC,YAAY,CAAC,CAEnD;gBAGkB,cAAc,EAAE,cAAc,EAC5B,eAAe,EAAE,eAAe,EAChC,iBAAiB,EAAE,iBAAiB;IAKlD,mBAAmB,CAAC,OAAO,EAAE,YAAY,GAAG,IAAI;yCAzB5C,yBAAyB;2CAAzB,yBAAyB;CA4BrC"}
|
package/lib/components/case-detail/tab/widgets/components/field/case-widget-field.component.d.ts
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { BehaviorSubject, Observable } from 'rxjs';
|
|
2
|
+
import { WidgetsService } from '../../widgets.service';
|
|
3
|
+
import { PermissionService } from '@valtimo/access-control';
|
|
4
|
+
import { WidgetProcess } from '../widget-process/widget-process';
|
|
5
|
+
import { DocumentService } from '@valtimo/document';
|
|
6
|
+
import { FieldsWidget, WidgetAction, WidgetLayoutService } from '@valtimo/layout';
|
|
7
|
+
import { CaseTabService, CaseWidgetsApiService } from '../../../../../../services';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export declare class CaseWidgetFieldComponent extends WidgetProcess {
|
|
10
|
+
protected readonly documentService: DocumentService;
|
|
11
|
+
protected readonly permissionService: PermissionService;
|
|
12
|
+
private readonly widgetsService;
|
|
13
|
+
private readonly caseTabService;
|
|
14
|
+
private readonly caseWidgetApiService;
|
|
15
|
+
private readonly widgetLayoutService;
|
|
16
|
+
private readonly _documentId$;
|
|
17
|
+
set documentId(value: string);
|
|
18
|
+
set widgetConfiguration(value: FieldsWidget);
|
|
19
|
+
readonly widgetUuid: string;
|
|
20
|
+
readonly widgetConfiguration$: BehaviorSubject<FieldsWidget>;
|
|
21
|
+
readonly tabKey$: Observable<string>;
|
|
22
|
+
private readonly _refresh$;
|
|
23
|
+
readonly widgetData$: Observable<any[] | {} | null>;
|
|
24
|
+
constructor(documentService: DocumentService, permissionService: PermissionService, widgetsService: WidgetsService, caseTabService: CaseTabService, caseWidgetApiService: CaseWidgetsApiService, widgetLayoutService: WidgetLayoutService);
|
|
25
|
+
onProcessStartClick(process: WidgetAction): void;
|
|
26
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CaseWidgetFieldComponent, never>;
|
|
27
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CaseWidgetFieldComponent, "valtimo-case-widget-field", never, { "documentId": { "alias": "documentId"; "required": true; }; "widgetConfiguration": { "alias": "widgetConfiguration"; "required": false; }; "widgetUuid": { "alias": "widgetUuid"; "required": false; }; }, {}, never, never, true, never>;
|
|
28
|
+
}
|
|
29
|
+
//# sourceMappingURL=case-widget-field.component.d.ts.map
|
package/lib/components/case-detail/tab/widgets/components/field/case-widget-field.component.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"case-widget-field.component.d.ts","sourceRoot":"","sources":["../../../../../../../../../../projects/valtimo/case/src/lib/components/case-detail/tab/widgets/components/field/case-widget-field.component.ts"],"names":[],"mappings":"AAoBA,OAAO,EAAC,eAAe,EAA6B,UAAU,EAAgC,MAAM,MAAM,CAAC;AAC3G,OAAO,EAAC,cAAc,EAAC,MA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,IAAI;yCAlD5C,wBAAwB;2CAAxB,wBAAwB;CAqDpC"}
|
package/lib/components/case-detail/tab/widgets/components/formio/case-widget-formio.component.d.ts
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { EventEmitter, OnInit, DestroyRef } from '@angular/core';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { WidgetProcess } from '../widget-process/widget-process';
|
|
4
|
+
import { PermissionService } from '@valtimo/access-control';
|
|
5
|
+
import { DocumentService } from '@valtimo/document';
|
|
6
|
+
import { WidgetsService } from '../../widgets.service';
|
|
7
|
+
import { FormioWidgetWidgetWithUuid, WidgetAction, WidgetLayoutService } from '@valtimo/layout';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export declare class CaseWidgetFormioComponent extends WidgetProcess implements OnInit {
|
|
10
|
+
protected readonly documentService: DocumentService;
|
|
11
|
+
protected readonly permissionService: PermissionService;
|
|
12
|
+
private readonly layoutService;
|
|
13
|
+
private readonly widgetsService;
|
|
14
|
+
private readonly destroyRef;
|
|
15
|
+
set documentId(value: string);
|
|
16
|
+
set widgetConfiguration(value: FormioWidgetWidgetWithUuid);
|
|
17
|
+
readonly widgetUuid: string;
|
|
18
|
+
private readonly _widgetConfigurationSubject$;
|
|
19
|
+
get widgetConfiguration$(): Observable<FormioWidgetWidgetWithUuid>;
|
|
20
|
+
readonly refreshForm: EventEmitter<void>;
|
|
21
|
+
private readonly _documentIdSubject$;
|
|
22
|
+
get documentId$(): Observable<string>;
|
|
23
|
+
constructor(documentService: DocumentService, permissionService: PermissionService, layoutService: WidgetLayoutService, widgetsService: WidgetsService, destroyRef: DestroyRef);
|
|
24
|
+
ngOnInit(): void;
|
|
25
|
+
onProcessStartClick(process: WidgetAction): void;
|
|
26
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CaseWidgetFormioComponent, never>;
|
|
27
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CaseWidgetFormioComponent, "valtimo-case-widget-formio", never, { "documentId": { "alias": "documentId"; "required": false; }; "widgetConfiguration": { "alias": "widgetConfiguration"; "required": false; }; "widgetUuid": { "alias": "widgetUuid"; "required": false; }; }, {}, never, never, true, never>;
|
|
28
|
+
}
|
|
29
|
+
//# sourceMappingURL=case-widget-formio.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"case-widget-formio.component.d.ts","sourceRoot":"","sources":["../../../../../../../../../../projects/valtimo/case/src/lib/components/case-detail/tab/widgets/components/formio/case-widget-formio.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EAGL,YAAY,EAEZ,MAAM,EACN,UAAU,EACX,MAAM,eAAe,CAAC;AAGvB,OAAO,EAA0B,UAAU,EAAC,MAAM,MAAM,CAAC;AAEzD,OAAO,EAAC,aAAa,EAAC,MAAM,kCAAkC,CAAC;AAC/D,OAAO,EAAC,iBAAiB,EAAC,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EAAC,eAAe,EAAC,MAAM,mBAAmB,CAAC;AAElD,OAAO,EAAC,cAAc,EAAC,MAAM,uBAAuB,CAAC;AAErD,OAAO,EACL,0BAA0B,EAC1B,YAAY,EAEZ,mBAAmB,EACpB,MAAM,iBAAiB,CAAC;;AAEzB,qBAOa,yBAA0B,SAAQ,aAAc,YAAW,MAAM;IA2B1E,SAAS,CAAC,QAAQ,CAAC,eAAe,EAAE,eAAe;IACnD,SAAS,CAAC,QAAQ,CAAC,iBAAiB,EAAE,iBAAiB;IACvD,OAAO,CAAC,QAAQ,CAAC,aAAa;IAC9B,OAAO,CAAC,QAAQ,CAAC,cAAc;IAC/B,OAAO,CAAC,QAAQ,CAAC,UAAU;IA9B7B,IAAoB,UAAU,CAAC,KAAK,EAAE,MAAM,EAG3C;IACD,IAAoB,mBAAmB,CAAC,KAAK,EAAE,0BAA0B,EAIxE;IACD,SAAyB,UAAU,EAAE,MAAM,CAAC;IAE5C,OAAO,CAAC,QAAQ,CAAC,4BAA4B,CACkB;IAC/D,IAAW,oBAAoB,IAAI,UAAU,CAAC,0BAA0B,CAAC,CAExE;IAED,SAAgB,WAAW,qBAA4B;IAEvD,OAAO,CAAC,QAAQ,CAAC,mBAAmB,CAAmC;IAEvE,IAAW,WAAW,IAAI,UAAU,CAAC,MAAM,CAAC,CAE3C;gBAGoB,eAAe,EAAE,eAAe,EAChC,iBAAiB,EAAE,iBAAiB,EACtC,aAAa,EAAE,mBAAmB,EAClC,cAAc,EAAE,cAAc,EAC9B,UAAU,EAAE,UAAU;IAKlC,QAAQ,IAAI,IAAI;IAMhB,mBAAmB,CAAC,OAAO,EAAE,YAAY,GAAG,IAAI;yCA1C5C,yBAAyB;2CAAzB,yBAAyB;CA6CrC"}
|
package/lib/components/case-detail/tab/widgets/components/table/case-widget-table.component.d.ts
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { CarbonListItem } from '@valtimo/components';
|
|
2
|
+
import { Page } from '@valtimo/shared';
|
|
3
|
+
import { PaginationModel } from 'carbon-components-angular';
|
|
4
|
+
import { BehaviorSubject, Observable } from 'rxjs';
|
|
5
|
+
import { CaseTabService, CaseWidgetsApiService } from '../../../../../../services';
|
|
6
|
+
import { WidgetProcess } from '../widget-process/widget-process';
|
|
7
|
+
import { DocumentService } from '@valtimo/document';
|
|
8
|
+
import { PermissionService } from '@valtimo/access-control';
|
|
9
|
+
import { WidgetsService } from '../../widgets.service';
|
|
10
|
+
import { TableWidget, WidgetAction, WidgetLayoutService } from '@valtimo/layout';
|
|
11
|
+
import * as i0 from "@angular/core";
|
|
12
|
+
export declare class CaseWidgetTableComponent extends WidgetProcess {
|
|
13
|
+
protected readonly documentService: DocumentService;
|
|
14
|
+
protected readonly permissionService: PermissionService;
|
|
15
|
+
private readonly caseWidgetsApiService;
|
|
16
|
+
private readonly widgetsService;
|
|
17
|
+
private readonly caseTabService;
|
|
18
|
+
private readonly widgetLayoutService;
|
|
19
|
+
private readonly _documentId$;
|
|
20
|
+
set documentId(value: string);
|
|
21
|
+
private _widgetConfiguration;
|
|
22
|
+
readonly widgetConfiguration$: BehaviorSubject<TableWidget>;
|
|
23
|
+
set widgetConfiguration(value: TableWidget);
|
|
24
|
+
get widgetConfiguration(): TableWidget;
|
|
25
|
+
readonly widgetUuid: string;
|
|
26
|
+
private readonly _queryParams$;
|
|
27
|
+
readonly tabKey$: Observable<string>;
|
|
28
|
+
private readonly _refresh$;
|
|
29
|
+
private readonly _initialWidgetData$;
|
|
30
|
+
readonly widgetData$: Observable<Page<CarbonListItem>>;
|
|
31
|
+
constructor(documentService: DocumentService, permissionService: PermissionService, caseWidgetsApiService: CaseWidgetsApiService, widgetsService: WidgetsService, caseTabService: CaseTabService, widgetLayoutService: WidgetLayoutService);
|
|
32
|
+
onPaginationEvent(event: PaginationModel): void;
|
|
33
|
+
onProcessStartClick(process: WidgetAction): void;
|
|
34
|
+
private getPageSizeParam;
|
|
35
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CaseWidgetTableComponent, never>;
|
|
36
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CaseWidgetTableComponent, "valtimo-case-widget-table", never, { "documentId": { "alias": "documentId"; "required": true; }; "widgetConfiguration": { "alias": "widgetConfiguration"; "required": true; }; "widgetUuid": { "alias": "widgetUuid"; "required": false; }; }, {}, never, never, true, never>;
|
|
37
|
+
}
|
|
38
|
+
//# sourceMappingURL=case-widget-table.component.d.ts.map
|
package/lib/components/case-detail/tab/widgets/components/table/case-widget-table.component.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"case-widget-table.component.d.ts","sourceRoot":"","sources":["../../../../../../../../../../projects/valtimo/case/src/lib/components/case-detail/tab/widgets/components/table/case-widget-table.component.ts"],"names":[],"mappings":"AAkBA,OAAO,EAAC,cAAc,EAAmB,MAAM,qBAAqB,CAAC;AACrE,OAAO,EAAC,IAAI,EAAC,MAAM,iBAAiB,CAAC;AACrC,OAAO,EAEL,eAAe,EAGhB,MAAM,2BAA2B,CAAC;AACnC,O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C,cAAc,CAAC,CAAC,CAgB3D;gBAGmB,eAAe,EAAE,eAAe,EAChC,iBAAiB,EAAE,iBAAiB,EACtC,qBAAqB,EAAE,qBAAqB,EAC5C,cAAc,EAAE,cAAc,EAC9B,cAAc,EAAE,cAAc,EAC9B,mBAAmB,EAAE,mBAAmB;IAKpD,iBAAiB,CAAC,KAAK,EAAE,eAAe,GAAG,IAAI;IAI/C,mBAAmB,CAAC,OAAO,EAAE,YAAY,GAAG,IAAI;IAIvD,OAAO,CAAC,gBAAgB;yCAvFb,wBAAwB;2CAAxB,wBAAwB;CA0FpC"}
|
package/lib/components/case-detail/tab/widgets/components/widget-process/widget-process.d.ts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { BasicCaseWidget } from '../../../../../../models';
|
|
2
1
|
import { Observable } from 'rxjs';
|
|
3
2
|
import { PermissionService } from '@valtimo/access-control';
|
|
4
3
|
import { DocumentService } from '@valtimo/document';
|
|
4
|
+
import { BasicWidget } from '@valtimo/layout';
|
|
5
5
|
export declare class WidgetProcess {
|
|
6
6
|
protected readonly documentService: DocumentService;
|
|
7
7
|
protected readonly permissionService: PermissionService;
|
|
8
8
|
private readonly _baseDocumentId$;
|
|
9
9
|
private readonly _baseWidgetConfiguration$;
|
|
10
10
|
protected set baseDocumentId(value: string);
|
|
11
|
-
protected set baseWidgetConfiguration(value:
|
|
11
|
+
protected set baseWidgetConfiguration(value: BasicWidget);
|
|
12
12
|
protected get baseDocumentId(): string;
|
|
13
13
|
private readonly _processDefinitionCaseDefinition$;
|
|
14
14
|
readonly canCreateCamundaExecution$: Observable<boolean>;
|
package/lib/components/case-detail/tab/widgets/components/widget-process/widget-process.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"widget-process.d.ts","sourceRoot":"","sources":["../../../../../../../../../../projects/valtimo/case/src/lib/components/case-detail/tab/widgets/components/widget-process/widget-process.ts"],"names":[],"mappings":"AAgBA,OAAO,
|
|
1
|
+
{"version":3,"file":"widget-process.d.ts","sourceRoot":"","sources":["../../../../../../../../../../projects/valtimo/case/src/lib/components/case-detail/tab/widgets/components/widget-process/widget-process.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAiC,UAAU,EAAgB,MAAM,MAAM,CAAC;AAC/E,OAAO,EAAC,iBAAiB,EAAC,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EAAC,eAAe,EAAkC,MAAM,mBAAmB,CAAC;AAKnF,OAAO,EAAC,WAAW,EAAC,MAAM,iBAAiB,CAAC;AAE5C,qBAAa,aAAa;IAuDtB,SAAS,CAAC,QAAQ,CAAC,eAAe,EAAE,eAAe;IACnD,SAAS,CAAC,QAAQ,CAAC,iBAAiB,EAAE,iBAAiB;IAvDzD,OAAO,CAAC,QAAQ,CAAC,gBAAgB,CAA4C;IAC7E,OAAO,CAAC,QAAQ,CAAC,yBAAyB,CAAiD;IAC3F,SAAS,KAAK,cAAc,CAAC,KAAK,EAAE,MAAM,EAEzC;IACD,SAAS,KAAK,uBAAuB,CAAC,KAAK,EAAE,WAAW,EAEvD;IACD,SAAS,KAAK,cAAc,IAAI,MAAM,CAErC;IAED,OAAO,CAAC,QAAQ,CAAC,iCAAiC,CAiBhD;IAEF,SAAgB,0BAA0B,EAAE,UAAU,CAAC,OAAO,CAAC,CAoB7D;gBAGmB,eAAe,EAAE,eAAe,EAChC,iBAAiB,EAAE,iBAAiB;CAE1D"}
|
|
@@ -1,24 +1,31 @@
|
|
|
1
1
|
import { OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { ActivatedRoute } from '@angular/router';
|
|
3
|
-
import {
|
|
4
|
-
import { CaseTabService, CaseWidgetsApiService
|
|
3
|
+
import { Observable } from 'rxjs';
|
|
4
|
+
import { CaseTabService, CaseWidgetsApiService } from '../../../../services';
|
|
5
|
+
import { WidgetComponentMap } from '@valtimo/layout';
|
|
6
|
+
import { CaseWidgetsRes } from '../../../../models';
|
|
7
|
+
import { SseService } from '@valtimo/sse';
|
|
8
|
+
import { WidgetsService } from './widgets.service';
|
|
5
9
|
import * as i0 from "@angular/core";
|
|
6
10
|
export declare class CaseDetailWidgetsComponent implements OnInit, OnDestroy {
|
|
7
11
|
private readonly route;
|
|
8
12
|
private readonly caseTabService;
|
|
9
13
|
private readonly widgetsApiService;
|
|
10
|
-
private readonly
|
|
14
|
+
private readonly sseService;
|
|
15
|
+
private readonly widgetsService;
|
|
11
16
|
private readonly _noMargin;
|
|
12
17
|
private readonly _noBackground;
|
|
13
18
|
private readonly _noMinHeight;
|
|
14
19
|
private readonly _documentId$;
|
|
15
20
|
private readonly _tabKey$;
|
|
16
|
-
readonly
|
|
17
|
-
|
|
18
|
-
readonly
|
|
19
|
-
|
|
21
|
+
private readonly _documentUpdates$;
|
|
22
|
+
private _previousWidgetConfiguration;
|
|
23
|
+
readonly widgetConfiguration$: Observable<CaseWidgetsRes>;
|
|
24
|
+
readonly widgetComponentMap: WidgetComponentMap;
|
|
25
|
+
constructor(route: ActivatedRoute, caseTabService: CaseTabService, widgetsApiService: CaseWidgetsApiService, sseService: SseService, widgetsService: WidgetsService);
|
|
20
26
|
ngOnInit(): void;
|
|
21
27
|
ngOnDestroy(): void;
|
|
28
|
+
private filterDuplicateConfigurations;
|
|
22
29
|
static ɵfac: i0.ɵɵFactoryDeclaration<CaseDetailWidgetsComponent, never>;
|
|
23
30
|
static ɵcmp: i0.ɵɵComponentDeclaration<CaseDetailWidgetsComponent, "ng-component", never, {}, {}, never, never, true, never>;
|
|
24
31
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"widgets.component.d.ts","sourceRoot":"","sources":["../../../../../../../../projects/valtimo/case/src/lib/components/case-detail/tab/widgets/widgets.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAkD,SAAS,EAAE,MAAM,EAAC,MAAM,eAAe,CAAC;AACjG,OAAO,EAAC,cAAc,EAAC,MAAM,iBAAiB,CAAC;AAI/C,OAAO,EAAC,
|
|
1
|
+
{"version":3,"file":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AE,qBAAqB,EACxC,UAAU,EAAE,UAAU,EACtB,cAAc,EAAE,cAAc;IAG1C,QAAQ,IAAI,IAAI;IAIhB,WAAW,IAAI,IAAI;IAI1B,OAAO,CAAC,6BAA6B;yCA7D1B,0BAA0B;2CAA1B,0BAA0B;CAsFtC"}
|
|
@@ -6,13 +6,16 @@ export declare class WidgetsService {
|
|
|
6
6
|
private readonly documentService;
|
|
7
7
|
private readonly _documentId$;
|
|
8
8
|
private readonly _activeProcessKey$;
|
|
9
|
+
private readonly _refreshWidgets$;
|
|
9
10
|
readonly startProcessEvent: EventEmitter<any>;
|
|
11
|
+
readonly refreshWidgets$: Observable<void>;
|
|
10
12
|
set documentId(value: string);
|
|
11
13
|
readonly documentProcesses$: Observable<ProcessDefinitionCaseDefinition[]>;
|
|
12
14
|
get activeProcess$(): Observable<ProcessDefinitionCaseDefinition>;
|
|
13
15
|
constructor(documentService: DocumentService);
|
|
14
16
|
startProcess(processDocumentDefinitionKey: string): void;
|
|
15
17
|
finishProcess(): void;
|
|
18
|
+
refreshWidgets(): void;
|
|
16
19
|
static ɵfac: i0.ɵɵFactoryDeclaration<WidgetsService, never>;
|
|
17
20
|
static ɵprov: i0.ɵɵInjectableDeclaration<WidgetsService>;
|
|
18
21
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"widgets.service.d.ts","sourceRoot":"","sources":["../../../../../../../../projects/valtimo/case/src/lib/components/case-detail/tab/widgets/widgets.service.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAC,YAAY,EAAa,MAAM,eAAe,CAAC;AACvD,OAAO,EAAC,eAAe,EAAE,+BAA+B,EAAC,MAAM,mBAAmB,CAAC;AACnF,OAAO,
|
|
1
|
+
{"version":3,"file":"widgets.service.d.ts","sourceRoot":"","sources":["../../../../../../../../projects/valtimo/case/src/lib/components/case-detail/tab/widgets/widgets.service.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAC,YAAY,EAAa,MAAM,eAAe,CAAC;AACvD,OAAO,EAAC,eAAe,EAAE,+BAA+B,EAAC,MAAM,mBAAmB,CAAC;AACnF,OAAO,EAOL,UAAU,EAEX,MAAM,MAAM,CAAC;;AAEd,qBAGa,cAAc;IAiCb,OAAO,CAAC,QAAQ,CAAC,eAAe;IAhC5C,OAAO,CAAC,QAAQ,CAAC,YAAY,CAA4C;IACzE,OAAO,CAAC,QAAQ,CAAC,kBAAkB,CAA4C;IAC/E,OAAO,CAAC,QAAQ,CAAC,gBAAgB,CAAuB;IACxD,SAAgB,iBAAiB,oBAAsB;IAEvD,SAAgB,eAAe,mBAAwC;IAEvE,IAAW,UAAU,CAAC,KAAK,EAAE,MAAM,EAElC;IAED,SAAgB,kBAAkB,gDAQhC;IAEF,IAAW,cAAc,IAAI,UAAU,CAAC,+BAA+B,CAAC,CASvE;gBAE4B,eAAe,EAAE,eAAe;IAEtD,YAAY,CAAC,4BAA4B,EAAE,MAAM,GAAG,IAAI;IAKxD,aAAa,IAAI,IAAI;IAIrB,cAAc,IAAI,IAAI;yCA5ClB,cAAc;6CAAd,cAAc;CA+C1B"}
|
|
@@ -2,11 +2,12 @@ import { OnDestroy, OnInit } from '@angular/core';
|
|
|
2
2
|
import { ActivatedRoute, Router } from '@angular/router';
|
|
3
3
|
import { TranslateService } from '@ngx-translate/core';
|
|
4
4
|
import { PermissionService } from '@valtimo/access-control';
|
|
5
|
-
import { BreadcrumbService, CarbonListComponent, CarbonListNoResultsMessage, CarbonPaginationSelection, ListField, PageTitleService, Pagination } from '@valtimo/components';
|
|
6
|
-
import { AssigneeFilter, CaseListTab, ConfigService, SearchField, SearchFieldValues, SortState } from '@valtimo/shared';
|
|
5
|
+
import { BreadcrumbService, CarbonListComponent, CarbonListNoResultsMessage, CarbonPaginationSelection, IQuickSearchService, ListField, PageTitleService, Pagination, QuickSearchStateService } from '@valtimo/components';
|
|
7
6
|
import { CaseTag, DocumentService, InternalCaseStatus } from '@valtimo/document';
|
|
7
|
+
import { AssigneeFilter, CaseListTab, ConfigService, SearchField, SearchFieldValues, SortState } from '@valtimo/shared';
|
|
8
8
|
import { Tabs } from 'carbon-components-angular';
|
|
9
9
|
import { BehaviorSubject, Observable } from 'rxjs';
|
|
10
|
+
import { CaseListQuickSearchParams } from '../../models';
|
|
10
11
|
import { CaseBulkAssignService, CaseColumnService, CaseExportService, CaseListAssigneeService, CaseListCaseTagService, CaseListPaginationService, CaseListSearchService, CaseListService, CaseListStatusService, CaseParameterService } from '../../services';
|
|
11
12
|
import { CaseListActionsComponent } from '../case-list-actions/case-list-actions.component';
|
|
12
13
|
import * as i0 from "@angular/core";
|
|
@@ -29,6 +30,8 @@ export declare class CaseListComponent implements OnInit, OnDestroy {
|
|
|
29
30
|
private readonly statusService;
|
|
30
31
|
private readonly caseListCaseTagService;
|
|
31
32
|
private readonly caseExportService;
|
|
33
|
+
private readonly quickSearchStateService;
|
|
34
|
+
private readonly caseListQuickSearchService;
|
|
32
35
|
carbonList: CarbonListComponent;
|
|
33
36
|
listActionsComponent: CaseListActionsComponent;
|
|
34
37
|
tabsComponent: Tabs;
|
|
@@ -54,8 +57,8 @@ export declare class CaseListComponent implements OnInit, OnDestroy {
|
|
|
54
57
|
readonly searchFields$: Observable<Array<SearchField> | null>;
|
|
55
58
|
readonly statuses$: Observable<InternalCaseStatus[]>;
|
|
56
59
|
readonly caseTags$: Observable<CaseTag[]>;
|
|
57
|
-
readonly
|
|
58
|
-
readonly
|
|
60
|
+
readonly selectedStatusKeys$: Observable<string[]>;
|
|
61
|
+
readonly selectedCaseTagKeys$: Observable<string[]>;
|
|
59
62
|
readonly caseDefinitionKey$: Observable<string>;
|
|
60
63
|
readonly selectedCaseIds$: BehaviorSubject<string[]>;
|
|
61
64
|
readonly schema$: Observable<any>;
|
|
@@ -81,7 +84,7 @@ export declare class CaseListComponent implements OnInit, OnDestroy {
|
|
|
81
84
|
readonly documentItems$: Observable<any[]>;
|
|
82
85
|
private _previousCaseDefinitionKey;
|
|
83
86
|
private _caseDefinitionKeySubscription;
|
|
84
|
-
constructor(assigneeService: CaseListAssigneeService, breadcrumbService: BreadcrumbService, bulkAssignService: CaseBulkAssignService, columnService: CaseColumnService, configService: ConfigService, documentService: DocumentService, listService: CaseListService, pageTitleService: PageTitleService, paginationService: CaseListPaginationService, parameterService: CaseParameterService, route: ActivatedRoute, router: Router, searchService: CaseListSearchService, translateService: TranslateService, permissionService: PermissionService, statusService: CaseListStatusService, caseListCaseTagService: CaseListCaseTagService, caseExportService: CaseExportService);
|
|
87
|
+
constructor(assigneeService: CaseListAssigneeService, breadcrumbService: BreadcrumbService, bulkAssignService: CaseBulkAssignService, columnService: CaseColumnService, configService: ConfigService, documentService: DocumentService, listService: CaseListService, pageTitleService: PageTitleService, paginationService: CaseListPaginationService, parameterService: CaseParameterService, route: ActivatedRoute, router: Router, searchService: CaseListSearchService, translateService: TranslateService, permissionService: PermissionService, statusService: CaseListStatusService, caseListCaseTagService: CaseListCaseTagService, caseExportService: CaseExportService, quickSearchStateService: QuickSearchStateService, caseListQuickSearchService: IQuickSearchService<CaseListQuickSearchParams>);
|
|
85
88
|
ngOnInit(): void;
|
|
86
89
|
ngOnDestroy(): void;
|
|
87
90
|
trackByIndex(index: number): number;
|
|
@@ -99,9 +102,12 @@ export declare class CaseListComponent implements OnInit, OnDestroy {
|
|
|
99
102
|
startCase(): void;
|
|
100
103
|
export(): void;
|
|
101
104
|
forceRefresh(): void;
|
|
102
|
-
onSelectedStatusesChange(
|
|
103
|
-
onSelectedCaseTagsChange(
|
|
105
|
+
onSelectedStatusesChange(statusKeys: string[]): void;
|
|
106
|
+
onSelectedCaseTagsChange(caseTagKeys: string[]): void;
|
|
104
107
|
onStartButtonDisableEvent(disabled: boolean): void;
|
|
108
|
+
onSaveSearchEvent(event: any): void;
|
|
109
|
+
onQuickSearchEvent(queryPath: string): void;
|
|
110
|
+
onClearEvent(): void;
|
|
105
111
|
private openCaseDefinitionKeySubscription;
|
|
106
112
|
private setLoading;
|
|
107
113
|
private setVisibleTabs;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"case-list.component.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/case/src/lib/components/case-list/case-list.component.ts"],"names":[],"mappings":"AAeA,OAAO,
|
|
1
|
+
{"version":3,"file":"case-list.component.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/case/src/lib/components/case-list/case-list.component.ts"],"names":[],"mappings":"AAeA,OAAO,EAAoB,SAAS,EAAE,MAAM,EAAY,MAAM,eAAe,CAAC;AAC9E,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,EAEnB,0BAA0B,EAC1B,yBAAyB,EAEzB,mBAAmB,EACnB,SAAS,EACT,gBAAgB,EAChB,UAAU,EAEV,uBAAuB,EAExB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAGL,OAAO,EAGP,eAAe,EACf,kBAAkB,EAGnB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,cAAc,EACd,WAAW,EACX,aAAa,EAGb,WAAW,EACX,iBAAiB,EACjB,SAAS,EACV,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAM,IAAI,EAAC,MAAM,2BAA2B,CAAC;AAEpD,OAAO,EACL,eAAe,EAQf,UAAU,EAMX,MAAM,MAAM,CAAC;AAMd,OAAO,EAAC,yBAAyB,EAAC,MAAM,cAAc,CAAC;AAOvD,OAAO,EACL,qBAAqB,EACrB,iBAAiB,EACjB,iBAAiB,EACjB,uBAAuB,EACvB,sBAAsB,EACtB,yBAAyB,EAEzB,qBAAqB,EACrB,eAAe,EACf,qBAAqB,EACrB,oBAAoB,EACrB,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAC,wBAAwB,EAAC,MAAM,kDAAkD,CAAC;;AAE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AAI;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,SAAS,IAAI,IAAI;IAIjB,MAAM,IAAI,IAAI;IAMd,YAAY,IAAI,IAAI;IAIpB,wBAAwB,CAAC,UAAU,EAAE,MAAM,EAAE,GAAG,IAAI;IAIpD,wBAAwB,CAAC,WAAW,EAAE,MAAM,EAAE,GAAG,IAAI;IAIrD,yBAAyB,CAAC,QAAQ,EAAE,OAAO,GAAG,IAAI;IAIlD,iBAAiB,CAAC,KAAK,KAAA,GAAG,IAAI;IAe9B,kBAAkB,CAAC,SAAS,EAAE,MAAM,GAAG,IAAI;IAuB3C,YAAY,IAAI,IAAI;IAK3B,OAAO,CAAC,iCAAiC;IAoBzC,OAAO,CAAC,UAAU;IASlB,OAAO,CAAC,cAAc;IAItB,OAAO,CAAC,sBAAsB;yCAxqBnB,iBAAiB;2CAAjB,iBAAiB;CAurB7B"}
|
package/lib/constants/index.d.ts
CHANGED
|
@@ -3,6 +3,5 @@ export * from './case-tab-token';
|
|
|
3
3
|
export * from './case-list.constants';
|
|
4
4
|
export * from './case-status.constants';
|
|
5
5
|
export * from './case-widget.constants';
|
|
6
|
-
export * from './custom-case-widget-token';
|
|
7
6
|
export * from './case-detail-layout.constants';
|
|
8
7
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/case/src/lib/constants/index.ts"],"names":[],"mappings":"AAgBA,cAAc,OAAO,CAAC;AACtB,cAAc,kBAAkB,CAAC;AACjC,cAAc,uBAAuB,CAAC;AACtC,cAAc,yBAAyB,CAAC;AACxC,cAAc,yBAAyB,CAAC;AACxC,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/case/src/lib/constants/index.ts"],"names":[],"mappings":"AAgBA,cAAc,OAAO,CAAC;AACtB,cAAc,kBAAkB,CAAC;AACjC,cAAc,uBAAuB,CAAC;AACtC,cAAc,yBAAyB,CAAC;AACxC,cAAc,yBAAyB,CAAC;AACxC,cAAc,gCAAgC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"case-list-quick-search.model.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/case/src/lib/models/case-list-quick-search.model.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,yBAAyB;IACxC,iBAAiB,EAAE,MAAM,CAAC;CAC3B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"case-sse-event.model.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/case/src/lib/models/case-sse-event.model.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAC,YAAY,EAAC,MAAM,cAAc,CAAC;AAE1C,UAAU,uBAAwB,SAAQ,YAAY;IACpD,UAAU,EAAE,MAAM,CAAC;IACnB,iBAAiB,EAAE,MAAM,CAAC;CAC3B;AAED,OAAO,EAAC,uBAAuB,EAAC,CAAC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Type } from '@angular/core';
|
|
2
2
|
import { WidgetCollectionContent, WidgetContentProperties, WidgetCustomContent, WidgetFieldsContent, WidgetTableContent } from './case-widget-content.model';
|
|
3
3
|
import { CaseWidgetDisplayType } from './case-widget-display.model';
|
|
4
|
+
import { Condition } from '@valtimo/shared';
|
|
4
5
|
declare enum CaseWidgetType {
|
|
5
6
|
FIELDS = "fields",
|
|
6
7
|
TABLE = "table",
|
|
@@ -22,6 +23,7 @@ interface BasicCaseWidget {
|
|
|
22
23
|
key: string;
|
|
23
24
|
properties: WidgetContentProperties;
|
|
24
25
|
actions?: CaseWidgetAction[];
|
|
26
|
+
displayConditions: Array<Condition>;
|
|
25
27
|
}
|
|
26
28
|
interface FieldsCaseWidgetValue {
|
|
27
29
|
key: string;
|