@valtimo/case 13.2.0 → 13.2.1
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 +389 -888
- package/fesm2022/valtimo-case.mjs.map +1 -1
- package/lib/case.module.d.ts +5 -0
- 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/widgets/components/collection/case-widget-collection.component.d.ts +36 -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 +28 -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 +25 -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 +37 -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 +5 -6
- package/lib/components/case-detail/tab/widgets/widgets.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/services/case-menu.service.d.ts +21 -0
- package/lib/services/case-menu.service.d.ts.map +1 -0
- 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 +1 -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,7 +38,10 @@ 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
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 i2.CaseListComponent, typeof i4.CaseDetailComponent, typeof i11.CaseProcessStartModalComponent]>;
|
|
42
47
|
static ɵinj: i0.ɵɵInjectorDeclaration<CaseModule>;
|
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,EAgBZ,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,qBA2Fa,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,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,EAAC,MAAM,+BAA+B,CAAC;;AAE7D,qBAMa,mBACX,SAAQ,uBACR,YAAW,aAAa,EAAE,SAAS;
|
|
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,EAG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../../../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 _initialWidgetData$;
|
|
28
|
+
readonly widgetData$: Observable<Page<import("@valtimo/components").CarbonListItem> | Page<CollectionWidgetCardData>>;
|
|
29
|
+
constructor(documentService: DocumentService, permissionService: PermissionService, widgetApiService: CaseWidgetsApiService, widgetsService: WidgetsService, widgetLayoutService: WidgetLayoutService, caseTabService: CaseTabService, caseWidgetsApiService: CaseWidgetsApiService);
|
|
30
|
+
onPaginationEvent(event: PaginationModel): void;
|
|
31
|
+
onProcessStartClick(process: CaseWidgetAction): void;
|
|
32
|
+
private getPageSizeParam;
|
|
33
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CaseWidgetCollectionComponent, never>;
|
|
34
|
+
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>;
|
|
35
|
+
}
|
|
36
|
+
//# 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,EAIX,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;IA8D5D,SAAS,CAAC,QAAQ,CAAC,eAAe,EAAE,eAAe;IACnD,SAAS,CAAC,QAAQ,CAAC,iBAAiB,EAAE,iBAAiB;IACvD,OAAO,CAAC,QAAQ,CAAC,gBAAgB;IACjC,OAAO,CAAC,QAAQ,CAAC,cAAc;IAC/B,OAAO,CAAC,QAAQ,CAAC,mBAAmB;IACpC,OAAO,CAAC,QAAQ,CAAC,cAAc;IAC/B,OAAO,CAAC,QAAQ,CAAC,qBAAqB;IAnExC,OAAO,CAAC,QAAQ,CAAC,YAAY,CAAmC;IAEhE,IAAoC,UAAU,CAAC,KAAK,EAAE,MAAM,EAG3D;IAED,IAAoB,mBAAmB,CAAC,KAAK,EAAE,gBAAgB,EAI9D;IAED,SAAyB,UAAU,EAAE,MAAM,CAAC;IAE5C,SAAgB,oBAAoB,oCAAsD;IAE1F,OAAO,CAAC,QAAQ,CAAC,aAAa,CAA4C;IAE1E,SAAgB,OAAO,EAAE,UAAU,CAAC,MAAM,CAAC,CAAqC;IAEhF,OAAO,CAAC,QAAQ,CAAC,mBAAmB,CAqBlC;IAEF,SAAgB,WAAW,kGAczB;gBAGmB,eAAe,EAAE,eAAe,EAChC,iBAAiB,EAAE,iBAAiB,EACtC,gBAAgB,EAAE,qBAAqB,EACvC,cAAc,EAAE,cAAc,EAC9B,mBAAmB,EAAE,mBAAmB,EACxC,cAAc,EAAE,cAAc,EAC9B,qBAAqB,EAAE,qBAAqB;IAKxD,iBAAiB,CAAC,KAAK,EAAE,eAAe,GAAG,IAAI;IAI/C,mBAAmB,CAAC,OAAO,EAAE,gBAAgB,GAAG,IAAI;IAI3D,OAAO,CAAC,gBAAgB;yCAjFb,6BAA6B;2CAA7B,6BAA6B;CAoFzC"}
|
package/lib/components/case-detail/tab/widgets/components/custom/case-widget-custom.component.d.ts
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { Observable } from 'rxjs';
|
|
2
|
+
import { DocumentService } 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,28 @@
|
|
|
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
|
+
readonly widgetData$: Observable<any[] | {} | null>;
|
|
23
|
+
constructor(documentService: DocumentService, permissionService: PermissionService, widgetsService: WidgetsService, caseTabService: CaseTabService, caseWidgetApiService: CaseWidgetsApiService, widgetLayoutService: WidgetLayoutService);
|
|
24
|
+
onProcessStartClick(process: WidgetAction): void;
|
|
25
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CaseWidgetFieldComponent, never>;
|
|
26
|
+
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>;
|
|
27
|
+
}
|
|
28
|
+
//# 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,EAAqB,MAAM,MAAM,CAAC;AAChG,OAAO,EAAC,cAAc,EAAC,MAAM,uBAAuB,CAAC;AACrD,OAAO,EAAC,iBAAiB,EAAC,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EAAC,aAAa,EAAC,MAAM,kCAAkC,CAAC;AAC/D,OAAO,EAAC,eAAe,EAAC,MAAM,mBAAmB,CAAC;AAClD,OAAO,EACL,YAAY,EACZ,YAAY,EAEZ,mBAAmB,EACpB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAC,cAAc,EAAE,qBAAqB,EAAC,MAAM,4BAA4B,CAAC;;AAGjF,qBAea,wBAAyB,SAAQ,aAAa;IAsCvD,SAAS,CAAC,QAAQ,CAAC,eAAe,EAAE,eAAe;IACnD,SAAS,CAAC,QAAQ,CAAC,iBAAiB,EAAE,iBAAiB;IACvD,OAAO,CAAC,QAAQ,CAAC,cAAc;IAC/B,OAAO,CAAC,QAAQ,CAAC,cAAc;IAC/B,OAAO,CAAC,QAAQ,CAAC,oBAAoB;IACrC,OAAO,CAAC,QAAQ,CAAC,mBAAmB;IA1CtC,OAAO,CAAC,QAAQ,CAAC,YAAY,CAAmC;IAEhE,IAAoC,UAAU,CAAC,KAAK,EAAE,MAAM,EAG3D;IAED,IAAoB,mBAAmB,CAAC,KAAK,EAAE,YAAY,EAI1D;IAED,SAAyB,UAAU,EAAE,MAAM,CAAC;IAE5C,SAAgB,oBAAoB,gCAAkD;IACtF,SAAgB,OAAO,EAAE,UAAU,CAAC,MAAM,CAAC,CAAqC;IAEhF,SAAgB,WAAW,EAAE,UAAU,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,IAAI,CAAC,CAgBxD;gBAGmB,eAAe,EAAE,eAAe,EAChC,iBAAiB,EAAE,iBAAiB,EACtC,cAAc,EAAE,cAAc,EAC9B,cAAc,EAAE,cAAc,EAC9B,oBAAoB,EAAE,qBAAqB,EAC3C,mBAAmB,EAAE,mBAAmB;IAKpD,mBAAmB,CAAC,OAAO,EAAE,YAAY,GAAG,IAAI;yCAhD5C,wBAAwB;2CAAxB,wBAAwB;CAmDpC"}
|
package/lib/components/case-detail/tab/widgets/components/formio/case-widget-formio.component.d.ts
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { Observable } from 'rxjs';
|
|
2
|
+
import { WidgetProcess } from '../widget-process/widget-process';
|
|
3
|
+
import { PermissionService } from '@valtimo/access-control';
|
|
4
|
+
import { DocumentService } from '@valtimo/document';
|
|
5
|
+
import { WidgetsService } from '../../widgets.service';
|
|
6
|
+
import { FormioWidgetWidgetWithUuid, WidgetAction, WidgetLayoutService } from '@valtimo/layout';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare class CaseWidgetFormioComponent extends WidgetProcess {
|
|
9
|
+
protected readonly documentService: DocumentService;
|
|
10
|
+
protected readonly permissionService: PermissionService;
|
|
11
|
+
private readonly layoutService;
|
|
12
|
+
private readonly widgetsService;
|
|
13
|
+
set documentId(value: string);
|
|
14
|
+
set widgetConfiguration(value: FormioWidgetWidgetWithUuid);
|
|
15
|
+
readonly widgetUuid: string;
|
|
16
|
+
private readonly _widgetConfigurationSubject$;
|
|
17
|
+
get widgetConfiguration$(): Observable<FormioWidgetWidgetWithUuid>;
|
|
18
|
+
private readonly _documentIdSubject$;
|
|
19
|
+
get documentId$(): Observable<string>;
|
|
20
|
+
constructor(documentService: DocumentService, permissionService: PermissionService, layoutService: WidgetLayoutService, widgetsService: WidgetsService);
|
|
21
|
+
onProcessStartClick(process: WidgetAction): void;
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CaseWidgetFormioComponent, never>;
|
|
23
|
+
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>;
|
|
24
|
+
}
|
|
25
|
+
//# 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":"AAmBA,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;AACrD,OAAO,EACL,0BAA0B,EAC1B,YAAY,EAEZ,mBAAmB,EACpB,MAAM,iBAAiB,CAAC;;AAEzB,qBAOa,yBAA0B,SAAQ,aAAa;IA0BxD,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;IA5BjC,IAAoB,UAAU,CAAC,KAAK,EAAE,MAAM,EAG3C;IACD,IAAoB,mBAAmB,CAAC,KAAK,EAAE,0BAA0B,EAKxE;IACD,SAAyB,UAAU,EAAE,MAAM,CAAC;IAE5C,OAAO,CAAC,QAAQ,CAAC,4BAA4B,CACkB;IAC/D,IAAW,oBAAoB,IAAI,UAAU,CAAC,0BAA0B,CAAC,CAExE;IAED,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;IAK1C,mBAAmB,CAAC,OAAO,EAAE,YAAY,GAAG,IAAI;yCAlC5C,yBAAyB;2CAAzB,yBAAyB;CAqCrC"}
|
package/lib/components/case-detail/tab/widgets/components/table/case-widget-table.component.d.ts
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
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 _initialWidgetData$;
|
|
29
|
+
readonly widgetData$: Observable<Page<CarbonListItem>>;
|
|
30
|
+
constructor(documentService: DocumentService, permissionService: PermissionService, caseWidgetsApiService: CaseWidgetsApiService, widgetsService: WidgetsService, caseTabService: CaseTabService, widgetLayoutService: WidgetLayoutService);
|
|
31
|
+
onPaginationEvent(event: PaginationModel): void;
|
|
32
|
+
onProcessStartClick(process: WidgetAction): void;
|
|
33
|
+
private getPageSizeParam;
|
|
34
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CaseWidgetTableComponent, never>;
|
|
35
|
+
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>;
|
|
36
|
+
}
|
|
37
|
+
//# 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,OAAO,EACL,eAAe,EAIf,UAAU,EAIX,MAAM,MAAM,CAAC;AACd,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,WAAW,EACX,YAAY,EACZ,mBAAmB,EAIpB,MAAM,iBAAiB,CAAC;;AAGzB,qBAgBa,wBAAyB,SAAQ,aAAa;IAmEvD,SAAS,CAAC,QAAQ,CAAC,eAAe,EAAE,eAAe;IACnD,SAAS,CAAC,QAAQ,CAAC,iBAAiB,EAAE,iBAAiB;IACvD,OAAO,CAAC,QAAQ,CAAC,qBAAqB;IACtC,OAAO,CAAC,QAAQ,CAAC,cAAc;IAC/B,OAAO,CAAC,QAAQ,CAAC,cAAc;IAC/B,OAAO,CAAC,QAAQ,CAAC,mBAAmB;IAvEtC,OAAO,CAAC,QAAQ,CAAC,YAAY,CAAmC;IAEhE,IAAoC,UAAU,CAAC,KAAK,EAAE,MAAM,EAG3D;IAED,OAAO,CAAC,oBAAoB,CAAc;IAC1C,SAAgB,oBAAoB,+BAAiD;IACrF,IAAoC,mBAAmB,CAAC,KAAK,EAAE,WAAW,EAIzE;IACD,IAAW,mBAAmB,IAAI,WAAW,CAE5C;IAED,SAAyB,UAAU,EAAE,MAAM,CAAC;IAE5C,OAAO,CAAC,QAAQ,CAAC,aAAa,CAA4C;IAE1E,SAAgB,OAAO,EAAE,UAAU,CAAC,MAAM,CAAC,CAAqC;IAEhF,OAAO,CAAC,QAAQ,CAAC,mBAAmB,CAqBlC;IAEF,SAAgB,WAAW,EAAE,UAAU,CAAC,IAAI,CAAC,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;yCArFb,wBAAwB;2CAAxB,wBAAwB;CAwFpC"}
|
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,22 +1,21 @@
|
|
|
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';
|
|
5
6
|
import * as i0 from "@angular/core";
|
|
6
7
|
export declare class CaseDetailWidgetsComponent implements OnInit, OnDestroy {
|
|
7
8
|
private readonly route;
|
|
8
9
|
private readonly caseTabService;
|
|
9
10
|
private readonly widgetsApiService;
|
|
10
|
-
private readonly caseWidgetsLayoutService;
|
|
11
11
|
private readonly _noMargin;
|
|
12
12
|
private readonly _noBackground;
|
|
13
13
|
private readonly _noMinHeight;
|
|
14
14
|
private readonly _documentId$;
|
|
15
15
|
private readonly _tabKey$;
|
|
16
|
-
readonly loadingWidgetConfiguration$: BehaviorSubject<boolean>;
|
|
17
16
|
readonly widgetConfiguration$: Observable<import("@valtimo/case").CaseWidgetsRes>;
|
|
18
|
-
readonly
|
|
19
|
-
constructor(route: ActivatedRoute, caseTabService: CaseTabService, widgetsApiService: CaseWidgetsApiService
|
|
17
|
+
readonly widgetComponentMap: WidgetComponentMap;
|
|
18
|
+
constructor(route: ActivatedRoute, caseTabService: CaseTabService, widgetsApiService: CaseWidgetsApiService);
|
|
20
19
|
ngOnInit(): void;
|
|
21
20
|
ngOnDestroy(): void;
|
|
22
21
|
static ɵfac: i0.ɵɵFactoryDeclaration<CaseDetailWidgetsComponent, never>;
|
|
@@ -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,
|
|
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,EAA6B,UAAU,EAAY,MAAM,MAAM,CAAC;AACvE,OAAO,EAAC,cAAc,EAAE,qBAAqB,EAAC,MAAM,sBAAsB,CAAC;AAC3E,OAAO,EAAC,kBAAkB,EAAuC,MAAM,iBAAiB,CAAC;;AAOzF,qBAaa,0BAA2B,YAAW,MAAM,EAAE,SAAS;IA2BhE,OAAO,CAAC,QAAQ,CAAC,KAAK;IACtB,OAAO,CAAC,QAAQ,CAAC,cAAc;IAC/B,OAAO,CAAC,QAAQ,CAAC,iBAAiB;IA5BC,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,CAAyD;IAElF,SAAgB,oBAAoB,qDAIlC;IAEF,SAAgB,kBAAkB,EAAE,kBAAkB,CAMpD;gBAGiB,KAAK,EAAE,cAAc,EACrB,cAAc,EAAE,cAAc,EAC9B,iBAAiB,EAAE,qBAAqB;IAGpD,QAAQ,IAAI,IAAI;IAIhB,WAAW,IAAI,IAAI;yCApCf,0BAA0B;2CAA1B,0BAA0B;CAuCtC"}
|
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,21 @@
|
|
|
1
|
+
import { OnDestroy } from '@angular/core';
|
|
2
|
+
import { DocumentService } from '@valtimo/document';
|
|
3
|
+
import { MenuItem } from '@valtimo/shared';
|
|
4
|
+
import { Observable } from 'rxjs';
|
|
5
|
+
import { SseService } from '@valtimo/sse';
|
|
6
|
+
import { MenuService } from '@valtimo/components';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare class CaseMenuService implements OnDestroy {
|
|
9
|
+
private readonly documentService;
|
|
10
|
+
private readonly sseService;
|
|
11
|
+
private readonly menuService;
|
|
12
|
+
private readonly _subscriptions;
|
|
13
|
+
constructor(documentService: DocumentService, sseService: SseService, menuService: MenuService);
|
|
14
|
+
ngOnDestroy(): void;
|
|
15
|
+
appendCaseMenuItems: (menuItems: MenuItem[]) => Observable<MenuItem[]>;
|
|
16
|
+
private getCountMap;
|
|
17
|
+
private updateCounts;
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CaseMenuService, never>;
|
|
19
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<CaseMenuService>;
|
|
20
|
+
}
|
|
21
|
+
//# sourceMappingURL=case-menu.service.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"case-menu.service.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/case/src/lib/services/case-menu.service.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAa,SAAS,EAAC,MAAM,eAAe,CAAC;AACpD,OAAO,EAAiB,eAAe,EAAC,MAAM,mBAAmB,CAAC;AAClE,OAAO,EAAC,QAAQ,EAAC,MAAM,iBAAiB,CAAC;AACzC,OAAO,EAAO,UAAU,EAA4B,MAAM,MAAM,CAAC;AAEjE,OAAO,EAAC,UAAU,EAAC,MAAM,cAAc,CAAC;AACxC,OAAO,EAAC,WAAW,EAAC,MAAM,qBAAqB,CAAC;;AAEhD,qBACa,eAAgB,YAAW,SAAS;IAI7C,OAAO,CAAC,QAAQ,CAAC,eAAe;IAChC,OAAO,CAAC,QAAQ,CAAC,UAAU;IAC3B,OAAO,CAAC,QAAQ,CAAC,WAAW;IAL9B,OAAO,CAAC,QAAQ,CAAC,cAAc,CAAsB;gBAGlC,eAAe,EAAE,eAAe,EAChC,UAAU,EAAE,UAAU,EACtB,WAAW,EAAE,WAAW;IAKpC,WAAW,IAAI,IAAI;IAInB,mBAAmB,GAAI,WAAW,QAAQ,EAAE,KAAG,UAAU,CAAC,QAAQ,EAAE,CAAC,CAuB1E;IAEF,OAAO,CAAC,WAAW;IAiBnB,OAAO,CAAC,YAAY;yCAzDT,eAAe;6CAAf,eAAe;CAmE3B"}
|
|
@@ -18,8 +18,8 @@ export declare class CaseTabService implements OnDestroy {
|
|
|
18
18
|
private readonly _tabs$;
|
|
19
19
|
private readonly _subscriptions;
|
|
20
20
|
private readonly _tabLoader$;
|
|
21
|
-
private readonly
|
|
22
|
-
get tabHorizontalOverflowDisabled(): Signal<boolean>;
|
|
21
|
+
private readonly _$tabHorizontalOverflowDisabled;
|
|
22
|
+
get $tabHorizontalOverflowDisabled(): Signal<boolean>;
|
|
23
23
|
get tabs$(): Observable<Array<TabImpl>>;
|
|
24
24
|
get activeTab$(): Observable<TabImpl>;
|
|
25
25
|
get activeTabKey$(): Observable<string>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"case-tab.service.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/case/src/lib/services/case-tab.service.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAqB,SAAS,EAAY,MAAM,EAAU,IAAI,EAAC,MAAM,eAAe,CAAC;AAC5F,OAAO,EAGL,aAAa,EAEb,OAAO,EACP,aAAa,EACd,MAAM,WAAW,CAAC;AAEnB,OAAO,EAAC,aAAa,EAAkC,MAAM,iBAAiB,CAAC;AAC/E,OAAO,EAAC,cAAc,EAAC,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAC,iBAAiB,EAAC,MAAM,wBAAwB,CAAC;AACzD,OAAO,EAKL,UAAU,EAGX,MAAM,MAAM,CAAC;;AAKd,qBACa,cAAe,YAAW,SAAS;IA2C3B,OAAO,CAAC,QAAQ,CAAC,MAAM;IACJ,OAAO,CAAC,QAAQ,CAAC,aAAa;IAGlE,OAAO,CAAC,QAAQ,CAAC,sBAAsB;IACvC,OAAO,CAAC,QAAQ,CAAC,aAAa;IAC9B,OAAO,CAAC,QAAQ,CAAC,KAAK;IACtB,OAAO,CAAC,QAAQ,CAAC,iBAAiB;IAjDpC,OAAO,CAAC,QAAQ,CAAC,qBAAqB,CAAW;IACjD,OAAO,CAAC,QAAQ,CAAC,mBAAmB,CAGlC;IACF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AC,+BAA+B,CAAiB;IAEjE,IAAW,8BAA8B,IAAI,MAAM,CAAC,OAAO,CAAC,CAE3D;IAED,IAAW,KAAK,IAAI,UAAU,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAE7C;IAED,IAAW,UAAU,IAAI,UAAU,CAAC,OAAO,CAAC,CAK3C;IAED,IAAW,aAAa,IAAI,UAAU,CAAC,MAAM,CAAC,CAE7C;IAED,IAAW,aAAa,IAAI,UAAU,CAAC,OAAO,CAAC,CAM9C;gBAGmC,MAAM,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAgB,EACvB,aAAa,EAAE,aAAa,EAGhE,sBAAsB,EAAE,IAAI,CAAC,GAAG,CAAC,EACjC,aAAa,EAAE,aAAa,EAC5B,KAAK,EAAE,cAAc,EACrB,iBAAiB,EAAE,iBAAiB;IAOhD,WAAW,IAAI,IAAI;IAInB,YAAY,CAAC,SAAS,EAAE,aAAa,GAAG,IAAI;IAI5C,4BAA4B,IAAI,IAAI;IAIpC,2BAA2B,IAAI,IAAI;IAI1C,OAAO,CAAC,mBAAmB;IAc3B,OAAO,CAAC,qBAAqB;IAe7B,OAAO,CAAC,iCAAiC;IAczC,OAAO,CAAC,kBAAkB;IAM1B,OAAO,CAAC,UAAU;IAalB,OAAO,CAAC,SAAS;IAWjB,OAAO,CAAC,MAAM;yCAlJH,cAAc;6CAAd,cAAc;CA4L1B"}
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
import { HttpClient } from '@angular/common/http';
|
|
2
|
-
import { BaseApiService, ConfigService } from '@valtimo/shared';
|
|
2
|
+
import { BaseApiService, ConfigService, Page } from '@valtimo/shared';
|
|
3
3
|
import { Observable } from 'rxjs';
|
|
4
4
|
import { CaseWidgetsRes } from '../models';
|
|
5
|
+
import { CarbonListItem } from '@valtimo/components';
|
|
5
6
|
import * as i0 from "@angular/core";
|
|
6
7
|
export declare class CaseWidgetsApiService extends BaseApiService {
|
|
7
8
|
protected readonly httpClient: HttpClient;
|
|
8
9
|
protected readonly configService: ConfigService;
|
|
9
10
|
constructor(httpClient: HttpClient, configService: ConfigService);
|
|
10
11
|
getWidgetTabConfiguration(documentId: string, tabKey: string): Observable<CaseWidgetsRes>;
|
|
11
|
-
getWidgetData(documentId: string, tabKey: string, widgetKey: string, queryParams?: string): Observable<
|
|
12
|
+
getWidgetData(documentId: string, tabKey: string, widgetKey: string, queryParams?: string): Observable<Page<CarbonListItem>>;
|
|
12
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<CaseWidgetsApiService, never>;
|
|
13
14
|
static ɵprov: i0.ɵɵInjectableDeclaration<CaseWidgetsApiService>;
|
|
14
15
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"case-widgets-api.service.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/case/src/lib/services/case-widgets-api.service.ts"],"names":[],"mappings":"AAeA,OAAO,EAAC,UAAU,EAAc,MAAM,sBAAsB,CAAC;AAE7D,OAAO,EAAC,cAAc,EAAE,aAAa,
|
|
1
|
+
{"version":3,"file":"case-widgets-api.service.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/case/src/lib/services/case-widgets-api.service.ts"],"names":[],"mappings":"AAeA,OAAO,EAAC,UAAU,EAAc,MAAM,sBAAsB,CAAC;AAE7D,OAAO,EAAC,cAAc,EAAE,aAAa,EAAmB,IAAI,EAAC,MAAM,iBAAiB,CAAC;AACrF,OAAO,EAAC,UAAU,EAAC,MAAM,MAAM,CAAC;AAChC,OAAO,EAAC,cAAc,EAAC,MAAM,WAAW,CAAC;AACzC,OAAO,EAAC,cAAc,EAAC,MAAM,qBAAqB,CAAC;;AAEnD,qBAGa,qBAAsB,SAAQ,cAAc;IAErD,SAAS,CAAC,QAAQ,CAAC,UAAU,EAAE,UAAU;IACzC,SAAS,CAAC,QAAQ,CAAC,aAAa,EAAE,aAAa;gBAD5B,UAAU,EAAE,UAAU,EACtB,aAAa,EAAE,aAAa;IAK1C,yBAAyB,CAAC,UAAU,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,UAAU,CAAC,cAAc,CAAC;IAMzF,aAAa,CAClB,UAAU,EAAE,MAAM,EAClB,MAAM,EAAE,MAAM,EACd,SAAS,EAAE,MAAM,EACjB,WAAW,CAAC,EAAE,MAAM,GACnB,UAAU,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;yCAnBxB,qBAAqB;6CAArB,qBAAqB;CA6BjC"}
|
package/lib/services/index.d.ts
CHANGED
|
@@ -11,8 +11,8 @@ export * from './case-tab-api.service';
|
|
|
11
11
|
export * from './case-list-status.service';
|
|
12
12
|
export * from './start-modal.service';
|
|
13
13
|
export * from './case-widgets-api.service';
|
|
14
|
-
export * from './case-widgets-layout.service';
|
|
15
14
|
export * from './case-detail-layout.service';
|
|
16
15
|
export * from './case-list-case-tag.service';
|
|
17
16
|
export * from './case-export.service';
|
|
17
|
+
export * from './case-menu.service';
|
|
18
18
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/case/src/lib/services/index.ts"],"names":[],"mappings":"AAgBA,cAAc,4BAA4B,CAAC;AAC3C,cAAc,uBAAuB,CAAC;AACtC,cAAc,0BAA0B,CAAC;AACzC,cAAc,qBAAqB,CAAC;AACpC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,oBAAoB,CAAC;AACnC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,wBAAwB,CAAC;AACvC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,uBAAuB,CAAC;AACtC,cAAc,4BAA4B,CAAC;AAC3C,cAAc
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/case/src/lib/services/index.ts"],"names":[],"mappings":"AAgBA,cAAc,4BAA4B,CAAC;AAC3C,cAAc,uBAAuB,CAAC;AACtC,cAAc,0BAA0B,CAAC;AACzC,cAAc,qBAAqB,CAAC;AACpC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,oBAAoB,CAAC;AACnC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,wBAAwB,CAAC;AACvC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,uBAAuB,CAAC;AACtC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,uBAAuB,CAAC;AACtC,cAAc,qBAAqB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
import { AfterViewInit, ChangeDetectorRef, OnDestroy } from '@angular/core';
|
|
2
|
-
import { PaginationModel } from 'carbon-components-angular';
|
|
3
|
-
import { CaseWidgetAction, CollectionCaseWidget, CollectionCaseWidgetCardData, CollectionWidgetResolvedField } from '../../../../../../models';
|
|
4
|
-
import { BehaviorSubject, Observable } from 'rxjs';
|
|
5
|
-
import { ViewContentService } from '@valtimo/components';
|
|
6
|
-
import { Page } from '@valtimo/shared';
|
|
7
|
-
import { CaseWidgetsApiService } from '../../../../../../services';
|
|
8
|
-
import { WidgetProcess } from '../widget-process/widget-process';
|
|
9
|
-
import { DocumentService } from '@valtimo/document';
|
|
10
|
-
import { PermissionService } from '@valtimo/access-control';
|
|
11
|
-
import { WidgetsService } from '../../widgets.service';
|
|
12
|
-
import * as i0 from "@angular/core";
|
|
13
|
-
export declare class WidgetCollectionComponent extends WidgetProcess implements AfterViewInit, OnDestroy {
|
|
14
|
-
protected readonly documentService: DocumentService;
|
|
15
|
-
protected readonly permissionService: PermissionService;
|
|
16
|
-
private readonly viewContentService;
|
|
17
|
-
private readonly cdr;
|
|
18
|
-
private readonly widgetApiService;
|
|
19
|
-
private readonly widgetsService;
|
|
20
|
-
readonly class = "valtimo-widget-collection";
|
|
21
|
-
private _widgetCollectionRef;
|
|
22
|
-
set documentId(value: string);
|
|
23
|
-
tabKey: string;
|
|
24
|
-
set widgetConfiguration(value: CollectionCaseWidget);
|
|
25
|
-
readonly showPagination$: BehaviorSubject<boolean>;
|
|
26
|
-
private readonly _initialNumberOfElementsSubject$;
|
|
27
|
-
private get _initialNumberOfElements$();
|
|
28
|
-
set widgetData(value: Page<CollectionCaseWidgetCardData> | null);
|
|
29
|
-
readonly noVisibleFields$: BehaviorSubject<boolean>;
|
|
30
|
-
readonly widgetTitle: import("@angular/core").WritableSignal<string>;
|
|
31
|
-
readonly widgetConfiguration$: BehaviorSubject<CollectionCaseWidget>;
|
|
32
|
-
readonly paginationModel: import("@angular/core").WritableSignal<PaginationModel>;
|
|
33
|
-
readonly amountOfColumns: import("@angular/core").WritableSignal<number>;
|
|
34
|
-
private readonly _widgetDataSubject$;
|
|
35
|
-
private readonly _queryParams$;
|
|
36
|
-
private readonly _widgetData$;
|
|
37
|
-
readonly collectionWidgetCards$: Observable<{
|
|
38
|
-
title: string;
|
|
39
|
-
fields: CollectionWidgetResolvedField[];
|
|
40
|
-
key: number;
|
|
41
|
-
hidden: boolean;
|
|
42
|
-
}[]>;
|
|
43
|
-
private _observer;
|
|
44
|
-
constructor(documentService: DocumentService, permissionService: PermissionService, viewContentService: ViewContentService, cdr: ChangeDetectorRef, widgetApiService: CaseWidgetsApiService, widgetsService: WidgetsService);
|
|
45
|
-
ngAfterViewInit(): void;
|
|
46
|
-
ngOnDestroy(): void;
|
|
47
|
-
onSelectPage(page: number): void;
|
|
48
|
-
onProcessStartClick(process: CaseWidgetAction): void;
|
|
49
|
-
private getCardField;
|
|
50
|
-
private openWidthObserver;
|
|
51
|
-
private observerMutation;
|
|
52
|
-
private getCardTitle;
|
|
53
|
-
private checkEmptyFields;
|
|
54
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<WidgetCollectionComponent, never>;
|
|
55
|
-
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>;
|
|
56
|
-
}
|
|
57
|
-
//# sourceMappingURL=widget-collection.component.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"widget-collection.component.d.ts","sourceRoot":"","sources":["../../../../../../../../../../projects/valtimo/case/src/lib/components/case-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,EAGL,eAAe,EAGhB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EACL,gBAAgB,EAEhB,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,qBAAqB,EAAC,MAAM,4BAA4B,CAAC;AACjE,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;;AAErD,qBAiBa,yBAA0B,SAAQ,aAAc,YAAW,aAAa,EAAE,SAAS;IA+G5F,SAAS,CAAC,QAAQ,CAAC,eAAe,EAAE,eAAe;IACnD,SAAS,CAAC,QAAQ,CAAC,iBAAiB,EAAE,iBAAiB;IACvD,OAAO,CAA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IvB,WAAW,IAAI,IAAI;IAInB,YAAY,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI;IAQhC,mBAAmB,CAAC,OAAO,EAAE,gBAAgB,GAAG,IAAI;IAI3D,OAAO,CAAC,YAAY;IAkBpB,OAAO,CAAC,iBAAiB;IAOzB,OAAO,CAAC,gBAAgB;IAgBxB,OAAO,CAAC,YAAY;IAmBpB,OAAO,CAAC,gBAAgB;yCAzMb,yBAAyB;2CAAzB,yBAAyB;CAiNrC"}
|
package/lib/components/case-detail/tab/widgets/components/custom/widget-custom.component.d.ts
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { AfterViewInit, ChangeDetectorRef, OnDestroy } from '@angular/core';
|
|
2
|
-
import { CaseWidgetAction, CustomCaseWidget, CustomCaseWidgetConfig } from '../../../../../../models';
|
|
3
|
-
import { Observable } from 'rxjs';
|
|
4
|
-
import { DocumentService } from '@valtimo/document';
|
|
5
|
-
import { PermissionService } from '@valtimo/access-control';
|
|
6
|
-
import { WidgetProcess } from '../widget-process/widget-process';
|
|
7
|
-
import { WidgetsService } from '../../widgets.service';
|
|
8
|
-
import * as i0 from "@angular/core";
|
|
9
|
-
export declare class WidgetCustomComponent extends WidgetProcess implements AfterViewInit, OnDestroy {
|
|
10
|
-
private readonly customCaseWidgetConfig;
|
|
11
|
-
private readonly cdr;
|
|
12
|
-
private readonly widgetsService;
|
|
13
|
-
protected readonly documentService: DocumentService;
|
|
14
|
-
protected readonly permissionService: PermissionService;
|
|
15
|
-
private readonly _customWidgetContainerRef;
|
|
16
|
-
set documentId(value: string);
|
|
17
|
-
set widgetConfig(value: CustomCaseWidget);
|
|
18
|
-
private readonly _customCaseWidgetConfig$;
|
|
19
|
-
private readonly _widgetConfigSubject$;
|
|
20
|
-
get widgetConfig$(): Observable<CustomCaseWidget>;
|
|
21
|
-
readonly noCustomComponentAvailable: import("@angular/core").WritableSignal<boolean>;
|
|
22
|
-
private readonly _subscriptions;
|
|
23
|
-
constructor(customCaseWidgetConfig: CustomCaseWidgetConfig, cdr: ChangeDetectorRef, widgetsService: WidgetsService, documentService: DocumentService, permissionService: PermissionService);
|
|
24
|
-
ngAfterViewInit(): void;
|
|
25
|
-
ngOnDestroy(): void;
|
|
26
|
-
onProcessStartClick(process: CaseWidgetAction): void;
|
|
27
|
-
private openCustomWidgetSubscription;
|
|
28
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<WidgetCustomComponent, [{ optional: true; }, null, null, null, null]>;
|
|
29
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<WidgetCustomComponent, "valtimo-widget-custom", never, { "documentId": { "alias": "documentId"; "required": true; }; "widgetConfig": { "alias": "widgetConfig"; "required": false; }; }, {}, never, never, true, never>;
|
|
30
|
-
}
|
|
31
|
-
//# sourceMappingURL=widget-custom.component.d.ts.map
|
package/lib/components/case-detail/tab/widgets/components/custom/widget-custom.component.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"widget-custom.component.d.ts","sourceRoot":"","sources":["../../../../../../../../../../projects/valtimo/case/src/lib/components/case-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,gBAAgB,EAAE,sBAAsB,EAAC,MAAM,0BAA0B,CAAC;AAEpG,OAAO,EAAyC,UAAU,EAAe,MAAM,MAAM,CAAC;AAGtF,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;;AAErD,qBAQa,qBAAsB,SAAQ,aAAc,YAAW,aAAa,EAAE,SAAS;IA4BxF,OAAO,CAAC,QAAQ,CAAC,sBAAsB;IACvC,OAAO,CAAC,QAAQ,CAAC,GAAG;IACpB,OAAO,CAAC,QAAQ,CAAC,cAAc;IAC/B,SAAS,CAAC,QAAQ,CAAC,eAAe,EAAE,eAAe;IACnD,SAAS,CAAC,QAAQ,CAAC,iBAAiB,EAAE,iBAAiB;IA9BzD,OAAO,CAAC,QAAQ,CAAC,yBAAyB,CAAmB;IAE7D,IAAoC,UAAU,CAAC,KAAK,EAAE,MAAM,EAE3D;IACD,IAAoB,YAAY,CAAC,KAAK,EAAE,gBAAgB,EAIvD;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,EACtB,cAAc,EAAE,cAAc,EAC5B,eAAe,EAAE,eAAe,EAChC,iBAAiB,EAAE,iBAAiB;IAMlD,eAAe,IAAI,IAAI;IAIvB,WAAW,IAAI,IAAI;IAInB,mBAAmB,CAAC,OAAO,EAAE,gBAAgB,GAAG,IAAI;IAI3D,OAAO,CAAC,4BAA4B;yCAlDzB,qBAAqB;2CAArB,qBAAqB;CAsEjC"}
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import { AfterViewInit, OnDestroy } from '@angular/core';
|
|
2
|
-
import { ViewContentService } from '@valtimo/components';
|
|
3
|
-
import { BehaviorSubject, Observable } from 'rxjs';
|
|
4
|
-
import { CaseWidgetAction, FieldsCaseWidget } from '../../../../../../models';
|
|
5
|
-
import { WidgetsService } from '../../widgets.service';
|
|
6
|
-
import { PermissionService } from '@valtimo/access-control';
|
|
7
|
-
import { ActivatedRoute } from '@angular/router';
|
|
8
|
-
import { WidgetProcess } from '../widget-process/widget-process';
|
|
9
|
-
import { DocumentService } from '@valtimo/document';
|
|
10
|
-
import * as i0 from "@angular/core";
|
|
11
|
-
export declare class WidgetFieldComponent extends WidgetProcess implements AfterViewInit, OnDestroy {
|
|
12
|
-
protected readonly documentService: DocumentService;
|
|
13
|
-
protected readonly permissionService: PermissionService;
|
|
14
|
-
private readonly route;
|
|
15
|
-
private readonly viewContentService;
|
|
16
|
-
private readonly widgetsService;
|
|
17
|
-
readonly class = "widget-field";
|
|
18
|
-
private _widgetFieldRef;
|
|
19
|
-
set documentId(value: string);
|
|
20
|
-
collapseVertically: boolean;
|
|
21
|
-
set widgetConfiguration(value: FieldsCaseWidget);
|
|
22
|
-
readonly isEmptyWidgetData$: BehaviorSubject<boolean>;
|
|
23
|
-
readonly noVisibleFields$: BehaviorSubject<boolean>;
|
|
24
|
-
set widgetData(value: object);
|
|
25
|
-
readonly renderVertically: import("@angular/core").WritableSignal<number>;
|
|
26
|
-
readonly widgetConfiguration$: BehaviorSubject<FieldsCaseWidget>;
|
|
27
|
-
readonly widgetData$: BehaviorSubject<object>;
|
|
28
|
-
readonly widgetPropertyValue$: Observable<{
|
|
29
|
-
title: string;
|
|
30
|
-
value: string;
|
|
31
|
-
ellipsisCharacterLimit: number | null;
|
|
32
|
-
hideWhenEmpty: boolean | false;
|
|
33
|
-
isRawValue: boolean | false;
|
|
34
|
-
}[][]>;
|
|
35
|
-
private _observer;
|
|
36
|
-
constructor(documentService: DocumentService, permissionService: PermissionService, route: ActivatedRoute, viewContentService: ViewContentService, widgetsService: WidgetsService);
|
|
37
|
-
ngAfterViewInit(): void;
|
|
38
|
-
ngOnDestroy(): void;
|
|
39
|
-
onProcessStartClick(process: CaseWidgetAction): void;
|
|
40
|
-
private openWidthObserver;
|
|
41
|
-
private observerMutation;
|
|
42
|
-
private checkEmptyWidgetData;
|
|
43
|
-
private checkEmptyFields;
|
|
44
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<WidgetFieldComponent, never>;
|
|
45
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<WidgetFieldComponent, "valtimo-widget-field", never, { "documentId": { "alias": "documentId"; "required": true; }; "collapseVertically": { "alias": "collapseVertically"; "required": false; }; "widgetConfiguration": { "alias": "widgetConfiguration"; "required": false; }; "widgetData": { "alias": "widgetData"; "required": false; }; }, {}, never, never, true, never>;
|
|
46
|
-
}
|
|
47
|
-
//# sourceMappingURL=widget-field.component.d.ts.map
|
package/lib/components/case-detail/tab/widgets/components/field/widget-field.component.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"widget-field.component.d.ts","sourceRoot":"","sources":["../../../../../../../../../../projects/valtimo/case/src/lib/components/case-detail/tab/widgets/components/field/widget-field.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EACL,aAAa,EAMb,SAAS,EAIV,MAAM,eAAe,CAAC;AAEvB,OAAO,EAAiC,kBAAkB,EAAW,MAAM,qBAAqB,CAAC;AAEjG,OAAO,EAAC,eAAe,EAAsB,UAAU,EAAM,MAAM,MAAM,CAAC;AAC1E,OAAO,EACL,gBAAgB,EAEhB,gBAAgB,EACjB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAC,cAAc,EAAC,MAAM,uBAAuB,CAAC;AACrD,OAAO,EAAC,iBAAiB,EAAC,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EAAC,cAAc,EAAC,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAC,aAAa,EAAC,MAAM,kCAAkC,CAAC;AAC/D,OAAO,EAAC,eAAe,EAAC,MAAM,mBAAmB,CAAC;;AAElD,qBAgBa,oBAAqB,SAAQ,aAAc,YAAW,aAAa,EAAE,SAAS;IAyEvF,SAAS,CAAC,QAAQ,CAAC,eAAe,EAAE,eAAe;IACnD,SAAS,CAAC,QAAQ,CAAC,iBAAiB,EAAE,iBAAiB;IACvD,OAAO,CAAC,QAAQ,CAAC,KAAK;IACtB,OAAO,CAAC,QAAQ,CAAC,kBAAkB;IACnC,OAAO,CAAC,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