@valtimo/case-management 13.22.0 → 13.24.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-management.mjs +1064 -257
- package/fesm2022/valtimo-case-management.mjs.map +1 -1
- package/lib/case-management-routing.module.d.ts.map +1 -1
- package/lib/case-management.module.d.ts +3 -2
- package/lib/case-management.module.d.ts.map +1 -1
- package/lib/components/case-management-deployment/case-management-deployment.component.d.ts +4 -0
- package/lib/components/case-management-deployment/case-management-deployment.component.d.ts.map +1 -1
- package/lib/components/case-management-detail/tabs/case-management-actions/case-management-actions-modal/case-management-actions-modal.component.d.ts +54 -0
- package/lib/components/case-management-detail/tabs/case-management-actions/case-management-actions-modal/case-management-actions-modal.component.d.ts.map +1 -0
- package/lib/components/case-management-detail/tabs/case-management-actions/case-management-actions.component.d.ts +55 -0
- package/lib/components/case-management-detail/tabs/case-management-actions/case-management-actions.component.d.ts.map +1 -0
- package/lib/components/case-management-upload/case-management-upload.component.d.ts +17 -20
- package/lib/components/case-management-upload/case-management-upload.component.d.ts.map +1 -1
- package/lib/components/case-management-upload/case-management-upload.constants.d.ts +8 -1
- package/lib/components/case-management-upload/case-management-upload.constants.d.ts.map +1 -1
- package/lib/constants/case-management.test-ids.d.ts +3 -2
- package/lib/constants/case-management.test-ids.d.ts.map +1 -1
- package/lib/models/case-deployment.model.d.ts +9 -0
- package/lib/models/case-deployment.model.d.ts.map +1 -1
- package/lib/models/case-management-actions-modal.model.d.ts +13 -0
- package/lib/models/case-management-actions-modal.model.d.ts.map +1 -0
- package/lib/models/index.d.ts +2 -0
- package/lib/models/index.d.ts.map +1 -1
- package/lib/models/startable-item.model.d.ts +39 -0
- package/lib/models/startable-item.model.d.ts.map +1 -0
- package/lib/models/tab.model.d.ts +1 -0
- package/lib/models/tab.model.d.ts.map +1 -1
- package/lib/services/case-management.service.d.ts +3 -2
- package/lib/services/case-management.service.d.ts.map +1 -1
- package/lib/services/index.d.ts +2 -0
- package/lib/services/index.d.ts.map +1 -1
- package/lib/services/startable-item-api.service.d.ts +21 -0
- package/lib/services/startable-item-api.service.d.ts.map +1 -0
- package/lib/services/startable-item-management.service.d.ts +45 -0
- package/lib/services/startable-item-management.service.d.ts.map +1 -0
- package/package.json +3 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"case-management-routing.module.d.ts","sourceRoot":"","sources":["../../../../projects/valtimo/case-management/src/lib/case-management-routing.module.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAQ,MAAM,EAAuB,MAAM,iBAAiB,CAAC;AAoBpE,OAAO,EAA4B,uBAAuB,EAAa,MAAM,iBAAiB,CAAC;;;
|
|
1
|
+
{"version":3,"file":"case-management-routing.module.d.ts","sourceRoot":"","sources":["../../../../projects/valtimo/case-management/src/lib/case-management-routing.module.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAQ,MAAM,EAAuB,MAAM,iBAAiB,CAAC;AAoBpE,OAAO,EAA4B,uBAAuB,EAAa,MAAM,iBAAiB,CAAC;;;AAoI/F,qBACa,2BAA2B;IAIpC,OAAO,CAAC,QAAQ,CAAC,uBAAuB;IACxC,OAAO,CAAC,QAAQ,CAAC,MAAM;gBADN,uBAAuB,EAAE,uBAAuB,EAAE,EAClD,MAAM,EAAE,MAAM;yCALtB,2BAA2B;0CAA3B,2BAA2B;0CAA3B,2BAA2B;CAoBvC"}
|
|
@@ -36,10 +36,11 @@ import * as i34 from "@ng-bootstrap/ng-bootstrap";
|
|
|
36
36
|
import * as i35 from "carbon-components-angular";
|
|
37
37
|
import * as i36 from "@valtimo/form-management";
|
|
38
38
|
import * as i37 from "./components/case-management-draft-warning/case-management-draft-warning.component";
|
|
39
|
-
import * as i38 from "./components/case-management-detail/tabs/case-management-
|
|
39
|
+
import * as i38 from "./components/case-management-detail/tabs/case-management-actions/case-management-actions.component";
|
|
40
|
+
import * as i39 from "./components/case-management-detail/tabs/case-management-header/case-management-header.component";
|
|
40
41
|
export declare class CaseManagementModule {
|
|
41
42
|
static ɵfac: i0.ɵɵFactoryDeclaration<CaseManagementModule, never>;
|
|
42
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<CaseManagementModule, [typeof i1.CaseManagementListComponent, typeof i2.CaseManagementConnectModalComponent, typeof i3.CaseManagementSelectVersionModalComponent, typeof i4.CaseManagementUploadComponent, typeof i5.CaseManagementSearchFieldsComponent, typeof i6.CaseManagementDetailComponent, typeof i7.CaseManagementAssigneeComponent, typeof i8.CaseManagementListColumnsComponent, typeof i9.CaseManagementTabsComponent, typeof i10.CaseManagementAddTabModalComponent, typeof i11.TabFormComponent, typeof i12.CaseManagementEditTabModalComponent, typeof i13.CaseManagementDetailActionsComponent, typeof i14.CaseManagementDocumentDefinitionComponent, typeof i15.CaseManagementUploadStepComponent, typeof i16.CaseManagementStatusesComponent, typeof i17.CaseManagementStatusModalComponent, typeof i18.CaseManagementCreateComponent, typeof i19.CaseManagementGeneralComponent, typeof i20.CaseManagementCaseHandlerComponent, typeof i21.CaseManagementExternalStartFormComponent, typeof i22.CaseManagementDeploymentComponent, typeof i23.CaseManagementTagsComponent, typeof i24.CaseManagementTagsModalComponent, typeof i25.CaseManagementCreateDraftVersionComponent, typeof i26.CaseManagementCaseListComponent, typeof i27.CaseManagementCaseDetailComponent], [typeof i28.CommonModule, typeof i29.WidgetModule, typeof i29.DropzoneModule, typeof i30.CaseManagementRoutingModule, typeof i31.FormsModule, typeof i32.TranslateModule, typeof i29.ModalModule, typeof i33.ConfigModule, typeof i34.NgbTooltipModule, typeof i29.MultiselectDropdownModule, typeof i29.ParagraphModule, typeof i29.SelectModule, typeof i29.SpinnerModule, typeof i29.InputModule, typeof i29.SelectModule, typeof i29.FormModule, typeof i35.NotificationModule, typeof i35.ButtonModule, typeof i35.IconModule, typeof i35.ModalModule, typeof i35.InputModule, typeof i31.ReactiveFormsModule, typeof i35.DropdownModule, typeof i35.CheckboxModule, typeof i29.TooltipIconModule, typeof i29.CarbonMultiInputModule, typeof i35.LoadingModule, typeof i35.LinkModule, typeof i29.ConfirmationModalModule, typeof i29.TableModule, typeof i29.ValtimoCdsModalDirective, typeof i29.CarbonListModule, typeof i35.ComboBoxModule, typeof i29.RenderInPageHeaderDirective, typeof i35.DialogModule, typeof i29.
|
|
43
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<CaseManagementModule, [typeof i1.CaseManagementListComponent, typeof i2.CaseManagementConnectModalComponent, typeof i3.CaseManagementSelectVersionModalComponent, typeof i4.CaseManagementUploadComponent, typeof i5.CaseManagementSearchFieldsComponent, typeof i6.CaseManagementDetailComponent, typeof i7.CaseManagementAssigneeComponent, typeof i8.CaseManagementListColumnsComponent, typeof i9.CaseManagementTabsComponent, typeof i10.CaseManagementAddTabModalComponent, typeof i11.TabFormComponent, typeof i12.CaseManagementEditTabModalComponent, typeof i13.CaseManagementDetailActionsComponent, typeof i14.CaseManagementDocumentDefinitionComponent, typeof i15.CaseManagementUploadStepComponent, typeof i16.CaseManagementStatusesComponent, typeof i17.CaseManagementStatusModalComponent, typeof i18.CaseManagementCreateComponent, typeof i19.CaseManagementGeneralComponent, typeof i20.CaseManagementCaseHandlerComponent, typeof i21.CaseManagementExternalStartFormComponent, typeof i22.CaseManagementDeploymentComponent, typeof i23.CaseManagementTagsComponent, typeof i24.CaseManagementTagsModalComponent, typeof i25.CaseManagementCreateDraftVersionComponent, typeof i26.CaseManagementCaseListComponent, typeof i27.CaseManagementCaseDetailComponent], [typeof i28.CommonModule, typeof i29.WidgetModule, typeof i29.DropzoneModule, typeof i30.CaseManagementRoutingModule, typeof i31.FormsModule, typeof i32.TranslateModule, typeof i29.ModalModule, typeof i33.ConfigModule, typeof i34.NgbTooltipModule, typeof i29.MultiselectDropdownModule, typeof i29.ParagraphModule, typeof i29.SelectModule, typeof i29.SpinnerModule, typeof i29.InputModule, typeof i29.SelectModule, typeof i29.FormModule, typeof i35.NotificationModule, typeof i35.ButtonModule, typeof i35.IconModule, typeof i35.ModalModule, typeof i35.InputModule, typeof i31.ReactiveFormsModule, typeof i35.DropdownModule, typeof i35.CheckboxModule, typeof i29.TooltipIconModule, typeof i29.CarbonMultiInputModule, typeof i35.LoadingModule, typeof i35.LinkModule, typeof i29.ConfirmationModalModule, typeof i29.TableModule, typeof i29.ValtimoCdsModalDirective, typeof i29.CarbonListModule, typeof i35.ComboBoxModule, typeof i29.RenderInPageHeaderDirective, typeof i35.DialogModule, typeof i29.OverflowMenuComponent, typeof i29.OverflowMenuOptionComponent, typeof i29.EditorModule, typeof i29.CarbonListModule, typeof i35.TabsModule, typeof i35.TagModule, typeof i35.FileUploaderModule, typeof i35.ProgressBarModule, typeof i29.ConfirmationModalModule, typeof i35.ToggleModule, typeof i35.TooltipModule, typeof i29.ValuePathSelectorComponent, typeof i35.LayerModule, typeof i36.FormManagementComponent, typeof i29.EllipsisPipe, typeof i29.MuuriDirectiveModule, typeof i35.NumberModule, typeof i29.ReadOnlyDirective, typeof i37.CaseManagementDraftWarningComponent, typeof i29.JsonEditorComponent, typeof i38.CaseManagementActionsComponent, typeof i39.CaseManagementHeaderComponent, typeof i29.AutoKeyInputComponent], never>;
|
|
43
44
|
static ɵinj: i0.ɵɵInjectorDeclaration<CaseManagementModule>;
|
|
44
45
|
}
|
|
45
46
|
//# sourceMappingURL=case-management.module.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"case-management.module.d.ts","sourceRoot":"","sources":["../../../../projects/valtimo/case-management/src/lib/case-management.module.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"case-management.module.d.ts","sourceRoot":"","sources":["../../../../projects/valtimo/case-management/src/lib/case-management.module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAuGA,qBA4Fa,oBAAoB;yCAApB,oBAAoB;0CAApB,oBAAoB;0CAApB,oBAAoB;CAAG"}
|
|
@@ -63,6 +63,10 @@ export declare class CaseManagementDeploymentComponent implements OnInit, AfterV
|
|
|
63
63
|
key: string;
|
|
64
64
|
value: string;
|
|
65
65
|
}[]>;
|
|
66
|
+
readonly importOriginEntries$: Observable<{
|
|
67
|
+
key: string;
|
|
68
|
+
value: string;
|
|
69
|
+
}[]>;
|
|
66
70
|
readonly releaseInformationDataEntries$: Observable<{
|
|
67
71
|
key: string;
|
|
68
72
|
value: string | Date;
|
package/lib/components/case-management-deployment/case-management-deployment.component.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"case-management-deployment.component.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/case-management/src/lib/components/case-management-deployment/case-management-deployment.component.ts"],"names":[],"mappings":"AAeA,OAAO,EAAC,QAAQ,EAAE,QAAQ,IAAI,eAAe,EAAC,MAAM,iBAAiB,CAAC;AACtE,OAAO,EAAC,aAAa,EAAa,SAAS,EAAE,MAAM,EAAyB,MAAM,eAAe,CAAC;AAClG,OAAO,EAAC,cAAc,EAAE,MAAM,EAAC,MAAM,iBAAiB,CAAC;AAEvD,OAAO,EAAC,gBAAgB,EAAC,MAAM,qBAAqB,CAAC;AACrD,OAAO,EAAC,iBAAiB,EAAC,MAAM,qBAAqB,CAAC;AACtD,OAAO,EAAC,kBAAkB,EAAE,yBAAyB,EAAC,MAAM,iBAAiB,CAAC;AAC9E,OAAO,EAAC,UAAU,EAAC,MAAM,cAAc,CAAC;AACxC,OAAO,EAAC,WAAW,EAAgB,mBAAmB,EAAC,MAAM,2BAA2B,CAAC;AACzF,OAAO,EACL,eAAe,EAKf,UAAU,EAIX,MAAM,MAAM,CAAC;AAGd,OAAO,EACL,cAAc,EACd,qCAAqC,EAEtC,MAAM,cAAc,CAAC;AACtB,OAAO,EAAC,qBAAqB,EAAC,MAAM,gBAAgB,CAAC;;AAErD,qBAKa,iCAAkC,YAAW,MAAM,EAAE,aAAa,EAAE,SAAS;
|
|
1
|
+
{"version":3,"file":"case-management-deployment.component.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/case-management/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,IAAI;IAO9C,sBAAsB,IAAI,IAAI;IAiD9B,wBAAwB,IAAI,IAAI;IAiDhC,kBAAkB,CAAC,OAAO,KAAA,GAAG,IAAI;IA0BxC,OAAO,CAAC,eAAe;IAkBvB,OAAO,CAAC,wBAAwB;IAMhC,OAAO,CAAC,oBAAoB;IAU5B,OAAO,CAAC,uBAAuB;IAS/B,OAAO,CAAC,qBAAqB;yCA1dlB,iCAAiC;2CAAjC,iCAAiC;CAme7C"}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { EventEmitter, OnDestroy } from '@angular/core';
|
|
2
|
+
import { FormBuilder, FormControl } from '@angular/forms';
|
|
3
|
+
import { TranslateService } from '@ngx-translate/core';
|
|
4
|
+
import { ProcessLinkBuildingBlockApiService } from '@valtimo/process-link';
|
|
5
|
+
import { IconService } from 'carbon-components-angular';
|
|
6
|
+
import { Observable } from 'rxjs';
|
|
7
|
+
import { BuildingBlockConfigRequest, ListItem, ManagementStartableItem, ModalStep, StartableItemType } from '../../../../../models';
|
|
8
|
+
import { StartableItemManagementService } from '../../../../../services';
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
10
|
+
export declare class CaseManagementActionsModalComponent implements OnDestroy {
|
|
11
|
+
private readonly stateService;
|
|
12
|
+
private readonly buildingBlockApiService;
|
|
13
|
+
private readonly fb;
|
|
14
|
+
private readonly translateService;
|
|
15
|
+
private readonly iconService;
|
|
16
|
+
readonly configureBuildingBlockEvent: EventEmitter<BuildingBlockConfigRequest>;
|
|
17
|
+
readonly showModal$: Observable<boolean>;
|
|
18
|
+
readonly editingItem$: Observable<ManagementStartableItem>;
|
|
19
|
+
readonly $step: import("@angular/core").WritableSignal<ModalStep>;
|
|
20
|
+
readonly $selectedType: import("@angular/core").WritableSignal<StartableItemType>;
|
|
21
|
+
readonly $saving: import("@angular/core").WritableSignal<boolean>;
|
|
22
|
+
readonly $loading: import("@angular/core").WritableSignal<boolean>;
|
|
23
|
+
readonly $processItemsEmpty: import("@angular/core").WritableSignal<boolean>;
|
|
24
|
+
readonly $buildingBlockItemsEmpty: import("@angular/core").WritableSignal<boolean>;
|
|
25
|
+
readonly StartableItemType: typeof StartableItemType;
|
|
26
|
+
readonly formGroup: import("@angular/forms").FormGroup<{
|
|
27
|
+
selectedItem: FormControl<string>;
|
|
28
|
+
}>;
|
|
29
|
+
get selectedItemControl(): FormControl<string | null>;
|
|
30
|
+
readonly availableProcessItems$: Observable<ListItem[]>;
|
|
31
|
+
readonly availableBuildingBlockItems$: Observable<ListItem[]>;
|
|
32
|
+
private _buildingBlockItems;
|
|
33
|
+
private _editingItem;
|
|
34
|
+
private readonly _subscriptions;
|
|
35
|
+
constructor(stateService: StartableItemManagementService, buildingBlockApiService: ProcessLinkBuildingBlockApiService, fb: FormBuilder, translateService: TranslateService, iconService: IconService);
|
|
36
|
+
ngOnDestroy(): void;
|
|
37
|
+
get isEditMode(): boolean;
|
|
38
|
+
get isBuildingBlockEdit(): boolean;
|
|
39
|
+
get modalTitle(): string;
|
|
40
|
+
get modalDescription(): string;
|
|
41
|
+
get primaryButtonLabel(): string;
|
|
42
|
+
onSelectType(type: StartableItemType): void;
|
|
43
|
+
onComboBoxSelected(event: ListItem | null): void;
|
|
44
|
+
onSubmit(): void;
|
|
45
|
+
onCloseModal(): void;
|
|
46
|
+
onBack(): void;
|
|
47
|
+
private handleCreate;
|
|
48
|
+
private handleEdit;
|
|
49
|
+
private getSelectedBuildingBlockVersionTag;
|
|
50
|
+
private resetState;
|
|
51
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CaseManagementActionsModalComponent, never>;
|
|
52
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CaseManagementActionsModalComponent, "valtimo-case-management-actions-modal", never, {}, { "configureBuildingBlockEvent": "configureBuildingBlockEvent"; }, never, never, true, never>;
|
|
53
|
+
}
|
|
54
|
+
//# sourceMappingURL=case-management-actions-modal.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"case-management-actions-modal.component.d.ts","sourceRoot":"","sources":["../../../../../../../../../projects/valtimo/case-management/src/lib/components/case-management-detail/tabs/case-management-actions/case-management-actions-modal/case-management-actions-modal.component.ts"],"names":[],"mappings":"AAiBA,OAAO,EAAqC,YAAY,EAAE,SAAS,EAAiB,MAAM,eAAe,CAAC;AAC1G,OAAO,EAAC,WAAW,EAAE,WAAW,EAAkC,MAAM,gBAAgB,CAAC;AACzF,OAAO,EAAkB,gBAAgB,EAAC,MAAM,qBAAqB,CAAC;AAGtE,OAAO,EAAC,kCAAkC,EAAC,MAAM,uBAAuB,CAAC;AAEzE,OAAO,EAIL,WAAW,EAKZ,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAwC,UAAU,EAAmB,MAAM,MAAM,CAAC;AACzF,OAAO,EACL,0BAA0B,EAE1B,QAAQ,EACR,uBAAuB,EACvB,SAAS,EACT,iBAAiB,EAClB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAC,8BAA8B,EAAC,MAAM,yBAAyB,CAAC;;AAEvE,qBAqBa,mCAAoC,YAAW,SAAS;IAiFjE,OAAO,CAAC,QAAQ,CAAC,YAAY;IAC7B,OAAO,CAAC,QAAQ,CAAC,uBAAuB;IACxC,OAAO,CAAC,QAAQ,CAAC,EAAE;IACnB,OAAO,CAAC,QAAQ,CAAC,gBAAgB;IACjC,OAAO,CAAC,QAAQ,CAAC,WAAW;IApF9B,SAA0B,2BAA2B,2CAAkD;IAEvG,SAAgB,UAAU,sBAAgC;IAC1D,SAAgB,YAAY,sCAAkC;IAE9D,SAAgB,KAAK,oDAAmC;IACxD,SAAgB,aAAa,4DAA0C;IACvE,SAAgB,OAAO,kDAAiB;IACxC,SAAgB,QAAQ,kDAAiB;IACzC,SAAgB,kBAAkB,kDAAiB;IACnD,SAAgB,wBAAwB,kDAAiB;IAEzD,SAAgB,iBAAiB,2BAAqB;IAEtD,SAAgB,SAAS;;OAEtB;IAEH,IAAW,mBAAmB,IAAI,WAAW,CAAC,MAAM,GAAG,IAAI,CAAC,CAE3D;IAED,SAAgB,sBAAsB,EAAE,UAAU,CAAC,QAAQ,EAAE,CAAC,CAuB5D;IAEF,SAAgB,4BAA4B,EAAE,UAAU,CAAC,QAAQ,EAAE,CAAC,CA0BlE;IAEF,OAAO,CAAC,mBAAmB,CAAkB;IAC7C,OAAO,CAAC,YAAY,CAAwC;IAC5D,OAAO,CAAC,QAAQ,CAAC,cAAc,CAAsB;gBAGlC,YAAY,EAAE,8BAA8B,EAC5C,uBAAuB,EAAE,kCAAkC,EAC3D,EAAE,EAAE,WAAW,EACf,gBAAgB,EAAE,gBAAgB,EAClC,WAAW,EAAE,WAAW;IA8BpC,WAAW,IAAI,IAAI;IAI1B,IAAW,UAAU,IAAI,OAAO,CAE/B;IAED,IAAW,mBAAmB,IAAI,OAAO,CAIxC;IAED,IAAW,UAAU,IAAI,MAAM,CAgB9B;IAED,IAAW,gBAAgB,IAAI,MAAM,CAUpC;IAED,IAAW,kBAAkB,IAAI,MAAM,CAStC;IAEM,YAAY,CAAC,IAAI,EAAE,iBAAiB,GAAG,IAAI;IAM3C,kBAAkB,CAAC,KAAK,EAAE,QAAQ,GAAG,IAAI,GAAG,IAAI;IAQhD,QAAQ,IAAI,IAAI;IAwBhB,YAAY,IAAI,IAAI;IAKpB,MAAM,IAAI,IAAI;IAQrB,OAAO,CAAC,YAAY;IA4BpB,OAAO,CAAC,UAAU;IAsClB,OAAO,CAAC,kCAAkC;IAI1C,OAAO,CAAC,UAAU;yCAnSP,mCAAmC;2CAAnC,mCAAmC;CA4S/C"}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { AfterViewInit, ChangeDetectorRef, OnDestroy, TemplateRef } from '@angular/core';
|
|
2
|
+
import { ActivatedRoute } from '@angular/router';
|
|
3
|
+
import { ActionItem, ColumnConfig } from '@valtimo/components';
|
|
4
|
+
import { EditPermissionsService } from '@valtimo/shared';
|
|
5
|
+
import { BuildingBlockStateService, ProcessLinkStateService, ProcessLinkStepService } from '@valtimo/process-link';
|
|
6
|
+
import { BehaviorSubject, Observable } from 'rxjs';
|
|
7
|
+
import { BuildingBlockConfigRequest, ManagementStartableItem, StartableItemType } from '../../../../models';
|
|
8
|
+
import { StartableItemManagementService } from '../../../../services';
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
10
|
+
export declare class CaseManagementActionsComponent implements AfterViewInit, OnDestroy {
|
|
11
|
+
private readonly cd;
|
|
12
|
+
private readonly route;
|
|
13
|
+
private readonly startableItemManagementService;
|
|
14
|
+
private readonly editPermissionsService;
|
|
15
|
+
private readonly processLinkStateService;
|
|
16
|
+
private readonly processLinkStepService;
|
|
17
|
+
private readonly buildingBlockStateService;
|
|
18
|
+
typeColumnTemplate: TemplateRef<any>;
|
|
19
|
+
readonly StartableItemType: typeof StartableItemType;
|
|
20
|
+
readonly caseManagementRouteParams$: Observable<import("@valtimo/shared").CaseManagementParams>;
|
|
21
|
+
readonly fields$: BehaviorSubject<ColumnConfig[]>;
|
|
22
|
+
readonly loading$: Observable<boolean>;
|
|
23
|
+
readonly dragAndDropDisabled: import("@angular/core").WritableSignal<boolean>;
|
|
24
|
+
readonly items$: Observable<ManagementStartableItem[]>;
|
|
25
|
+
readonly hasEditPermissions$: Observable<boolean>;
|
|
26
|
+
readonly showDeleteModal$: Observable<boolean>;
|
|
27
|
+
readonly itemToDelete$: Observable<ManagementStartableItem>;
|
|
28
|
+
readonly ACTION_ITEMS: ActionItem[];
|
|
29
|
+
private readonly _subscriptions;
|
|
30
|
+
constructor(cd: ChangeDetectorRef, route: ActivatedRoute, startableItemManagementService: StartableItemManagementService, editPermissionsService: EditPermissionsService, processLinkStateService: ProcessLinkStateService, processLinkStepService: ProcessLinkStepService, buildingBlockStateService: BuildingBlockStateService);
|
|
31
|
+
ngAfterViewInit(): void;
|
|
32
|
+
ngOnDestroy(): void;
|
|
33
|
+
onRowClicked(item: ManagementStartableItem): void;
|
|
34
|
+
onAddItemClick(): void;
|
|
35
|
+
onItemsReorderedEvent(reorderedItems: ManagementStartableItem[]): void;
|
|
36
|
+
onDeleteConfirm(item: ManagementStartableItem): void;
|
|
37
|
+
onConfigureBuildingBlock(request: BuildingBlockConfigRequest): void;
|
|
38
|
+
private onEditItem;
|
|
39
|
+
private onDeleteItem;
|
|
40
|
+
private openProcessLinkModalForBuildingBlock;
|
|
41
|
+
private openProcessLinkModalForBuildingBlockEdit;
|
|
42
|
+
private subscribeToProcessLinkEvents;
|
|
43
|
+
private saveBuildingBlockStartableItem;
|
|
44
|
+
private updateBuildingBlockStartableItem;
|
|
45
|
+
/**
|
|
46
|
+
* Ensures building block field references have the `doc:/` prefix for the backend value resolver.
|
|
47
|
+
* For input mappings, the target is a building block field (needs prefix).
|
|
48
|
+
* For output mappings, the source is a building block field (needs prefix).
|
|
49
|
+
*/
|
|
50
|
+
private normalizeMappingsForSave;
|
|
51
|
+
private setFields;
|
|
52
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CaseManagementActionsComponent, never>;
|
|
53
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CaseManagementActionsComponent, "valtimo-case-management-actions", never, {}, {}, never, never, true, never>;
|
|
54
|
+
}
|
|
55
|
+
//# sourceMappingURL=case-management-actions.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"case-management-actions.component.d.ts","sourceRoot":"","sources":["../../../../../../../../projects/valtimo/case-management/src/lib/components/case-management-detail/tabs/case-management-actions/case-management-actions.component.ts"],"names":[],"mappings":"AAiBA,OAAO,EACL,aAAa,EAEb,iBAAiB,EAEjB,SAAS,EAET,WAAW,EAEZ,MAAM,eAAe,CAAC;AACvB,OAAO,EAAC,cAAc,EAAC,MAAM,iBAAiB,CAAC;AAE/C,OAAO,EACL,UAAU,EAEV,YAAY,EAGb,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,sBAAsB,EAEvB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAGL,yBAAyB,EAIzB,uBAAuB,EACvB,sBAAsB,E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yBAAyB,EAAE,yBAAyB;IAUhE,eAAe,IAAI,IAAI;IAKvB,WAAW,IAAI,IAAI;IAInB,YAAY,CAAC,IAAI,EAAE,uBAAuB,GAAG,IAAI;IAWjD,cAAc,IAAI,IAAI;IAItB,qBAAqB,CAAC,cAAc,EAAE,uBAAuB,EAAE,GAAG,IAAI;IAOtE,eAAe,CAAC,IAAI,EAAE,uBAAuB,GAAG,IAAI;IAapD,wBAAwB,CAAC,OAAO,EAAE,0BAA0B,GAAG,IAAI;IAO1E,OAAO,CAAC,UAAU;IAQlB,OAAO,CAAC,YAAY;IAIpB,OAAO,CAAC,oCAAoC;IAsB5C,OAAO,CAAC,wCAAwC;IA+BhD,OAAO,CAAC,4BAA4B;IAkBpC,OAAO,CAAC,8BAA8B;IAoBtC,OAAO,CAAC,gCAAgC;IAuBxC;;;;OAIG;IACH,OAAO,CAAC,wBAAwB;IAYhC,OAAO,CAAC,SAAS;yCAjQN,8BAA8B;2CAA9B,8BAA8B;CAgR1C"}
|
|
@@ -1,58 +1,55 @@
|
|
|
1
1
|
import { EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { FormBuilder, FormGroup } from '@angular/forms';
|
|
2
|
+
import { AbstractControl, FormBuilder, FormGroup } from '@angular/forms';
|
|
3
3
|
import { TranslateService } from '@ngx-translate/core';
|
|
4
|
-
import { DocumentService } from '@valtimo/document';
|
|
5
|
-
import { IconService, NotificationContent } from 'carbon-components-angular';
|
|
6
4
|
import { BehaviorSubject, Observable } from 'rxjs';
|
|
7
|
-
import { UPLOAD_STATUS, UPLOAD_STEP } from './case-management-upload.constants';
|
|
5
|
+
import { IMPORT_WARNING, UPLOAD_STATUS, UPLOAD_STEP } from './case-management-upload.constants';
|
|
8
6
|
import { CaseManagementService } from '../../services';
|
|
7
|
+
import { CaseDefinitionImportPreview } from '../../models/case-deployment.model';
|
|
9
8
|
import * as i0 from "@angular/core";
|
|
10
9
|
export declare class CaseManagementUploadComponent implements OnInit, OnDestroy {
|
|
11
|
-
private readonly documentService;
|
|
12
10
|
private readonly caseManagementService;
|
|
13
11
|
private readonly fb;
|
|
14
|
-
private readonly iconService;
|
|
15
12
|
private readonly translateService;
|
|
16
13
|
open: boolean;
|
|
17
14
|
closeModal: EventEmitter<boolean>;
|
|
18
15
|
protected readonly testIds: {
|
|
19
16
|
readonly fileUploader: "caseFileUploader";
|
|
20
|
-
readonly uploadWarningNotification: "uploadWarningNotification";
|
|
21
|
-
readonly uploadWarningCheckbox: "uploadWarningCheckbox";
|
|
22
17
|
readonly cancelButton: "uploadWizardCancelButton";
|
|
23
18
|
readonly nextButton: "uploadWizardNextButton";
|
|
24
19
|
readonly finishButton: "uploadWizardFinishButton";
|
|
20
|
+
readonly nameInput: "importConfigureNameInput";
|
|
21
|
+
readonly versionTag: "importConfigureVersionTag";
|
|
22
|
+
readonly overrideCheckbox: "importConfigureOverrideCheckbox";
|
|
25
23
|
};
|
|
26
24
|
acceptedFiles: string[];
|
|
27
|
-
selectedFile: File | null;
|
|
28
|
-
private readonly _disabled$;
|
|
29
25
|
readonly UPLOAD_STEP: typeof UPLOAD_STEP;
|
|
30
26
|
readonly UPLOAD_STATUS: typeof UPLOAD_STATUS;
|
|
27
|
+
readonly IMPORT_WARNING: typeof IMPORT_WARNING;
|
|
28
|
+
private readonly _disabled$;
|
|
31
29
|
readonly activeStep$: BehaviorSubject<UPLOAD_STEP>;
|
|
30
|
+
readonly uploadStatus$: BehaviorSubject<UPLOAD_STATUS>;
|
|
31
|
+
readonly preview$: BehaviorSubject<CaseDefinitionImportPreview>;
|
|
32
|
+
readonly importWarning$: BehaviorSubject<IMPORT_WARNING>;
|
|
33
|
+
readonly overrideConfirmed$: BehaviorSubject<boolean>;
|
|
32
34
|
readonly backButtonEnabled$: Observable<boolean>;
|
|
33
35
|
readonly isStepAfterUpload$: Observable<boolean>;
|
|
34
36
|
readonly showCloseButton$: Observable<boolean>;
|
|
35
|
-
readonly $warningChecked: import("@angular/core").WritableSignal<boolean>;
|
|
36
37
|
readonly nextButtonDisabled$: Observable<boolean>;
|
|
37
|
-
readonly notificationObj$: Observable<NotificationContent>;
|
|
38
|
-
readonly showCheckboxError$: BehaviorSubject<boolean>;
|
|
39
|
-
readonly uploadStatus$: BehaviorSubject<UPLOAD_STATUS>;
|
|
40
38
|
form: FormGroup;
|
|
39
|
+
configureForm: FormGroup;
|
|
40
|
+
get nameControl(): AbstractControl;
|
|
41
41
|
private readonly _importFile$;
|
|
42
42
|
private readonly _subscriptions;
|
|
43
|
-
constructor(
|
|
43
|
+
constructor(caseManagementService: CaseManagementService, fb: FormBuilder, translateService: TranslateService);
|
|
44
44
|
ngOnInit(): void;
|
|
45
45
|
ngOnDestroy(): void;
|
|
46
46
|
onCloseModal(definitionUploaded?: boolean): void;
|
|
47
47
|
onBackClick(activeStep: UPLOAD_STEP): void;
|
|
48
48
|
onNextClick(activeStep: UPLOAD_STEP): void;
|
|
49
|
-
onCheckedChange(checked: boolean): void;
|
|
50
|
-
private setJsonFile;
|
|
51
49
|
private setZipFile;
|
|
50
|
+
private checkExistingVersions;
|
|
51
|
+
private determineWarning;
|
|
52
52
|
private uploadDefinition;
|
|
53
|
-
private clearJsonString;
|
|
54
|
-
private stringIsValidJson;
|
|
55
|
-
private setErrorState;
|
|
56
53
|
private resetModal;
|
|
57
54
|
static ɵfac: i0.ɵɵFactoryDeclaration<CaseManagementUploadComponent, never>;
|
|
58
55
|
static ɵcmp: i0.ɵɵComponentDeclaration<CaseManagementUploadComponent, "valtimo-case-management-upload", never, { "open": { "alias": "open"; "required": false; }; }, { "closeModal": "closeModal"; }, never, never, false, never>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"case-management-upload.component.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/case-management/src/lib/components/case-management-upload/case-management-upload.component.ts"],"names":[],"mappings":"AAeA,OAAO,EAGL,YAAY,EAEZ,SAAS,EACT,MAAM,
|
|
1
|
+
{"version":3,"file":"case-management-upload.component.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/case-management/src/lib/components/case-management-upload/case-management-upload.component.ts"],"names":[],"mappings":"AAeA,OAAO,EAGL,YAAY,EAEZ,SAAS,EACT,MAAM,EAEP,MAAM,eAAe,CAAC;AACvB,OAAO,EAAC,eAAe,EAAE,WAAW,EAAE,SAAS,EAAa,MAAM,gBAAgB,CAAC;AACnF,OAAO,EAAC,gBAAgB,EAAC,MAAM,qBAAqB,CAAC;AAGrD,OAAO,EACL,eAAe,EAKf,UAAU,EAGX,MAAM,MAAM,CAAC;AACd,OAAO,EACL,cAAc,EAEd,aAAa,EACb,WAAW,EACZ,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EAAC,qBAAqB,EAAC,MAAM,gBAAgB,CAAC;AAErD,OAAO,EAAC,2BAA2B,EAAC,MAAM,oCAAoC,CAAC;;AAE/E,qBAOa,6BAA8B,YAAW,MAAM,EAAE,SAAS;IAkFnE,OAAO,CAAC,QAAQ,CAAC,qBAAqB;IACtC,OAAO,CAAC,QAAQ,CAAC,EAAE;IACnB,OAAO,CAAC,QAAQ,CAAC,gBAAgB;IAnF1B,IAAI,UAAS;IACZ,UAAU,wBAA+B;IAEnD,SAAS,CAAC,QAAQ,CAAC,OAAO;;;;;;;;MAAmC;IAEtD,aAAa,EAAE,MAAM,EAAE,CAAY;IAE1C,SAAgB,WAAW,qBAAe;IAC1C,SAAgB,aAAa,uBAAiB;IAC9C,SAAgB,cAAc,wBAAkB;IAEhD,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAsC;IAEjE,SAAgB,WAAW,+BAAyD;IACpF,SAAgB,aAAa,iCAA4D;IACzF,SAAgB,QAAQ,+CAAiE;IACzF,SAAgB,cAAc,kCAA4D;IAC1F,SAAgB,kBAAkB,2BAAuC;IAEzE,SAAgB,kBAAkB,EAAE,UAAU,CAAC,OAAO,CAAC,CASrD;IAEF,SAAgB,kBAAkB,EAAE,UAAU,CAAC,OAAO,CAAC,CAKrD;IAEF,SAAgB,gBAAgB,EAAE,UAAU,CAAC,OAAO,CAAC,CASnD;IAEF,SAAgB,mBAAmB,EAAE,UAAU,CAAC,OAAO,CAAC,CActD;IAEK,IAAI,EAAE,SAAS,CAEnB;IAEI,aAAa,EAAE,SAAS,CAG5B;IAEH,IAAW,WAAW,IAAI,eAAe,CAExC;IAED,OAAO,CAAC,QAAQ,CAAC,YAAY,CAA8C;IAC3E,OAAO,CAAC,QAAQ,CAAC,cAAc,CAAsB;gBAGlC,qBAAqB,EAAE,qBAAqB,EAC5C,EAAE,EAAE,WAAW,EACf,gBAAgB,EAAE,gBAAgB;IAG9C,QAAQ,IAAI,IAAI;IA+BhB,WAAW,IAAI,IAAI;IAKnB,YAAY,CAAC,kBAAkB,CAAC,EAAE,OAAO,GAAG,IAAI;IAKhD,WAAW,CAAC,UAAU,EAAE,WAAW,GAAG,IAAI;IAS1C,WAAW,CAAC,UAAU,EAAE,WAAW,GAAG,IAAI;IAcjD,OAAO,CAAC,UAAU;IAwClB,OAAO,CAAC,qBAAqB;IAe7B,OAAO,CAAC,gBAAgB;IAsBxB,OAAO,CAAC,gBAAgB;IA+BxB,OAAO,CAAC,UAAU;yCAnQP,6BAA6B;2CAA7B,6BAA6B;CAgRzC"}
|
|
@@ -5,11 +5,18 @@ declare enum UPLOAD_STATUS {
|
|
|
5
5
|
}
|
|
6
6
|
declare enum UPLOAD_STEP {
|
|
7
7
|
ACCESS_CONTROL = "accessControl",
|
|
8
|
+
CONFIGURE = "configure",
|
|
8
9
|
DASHBOARD = "dashboard",
|
|
9
10
|
FILE_SELECT = "fileSelect",
|
|
10
11
|
FILE_UPLOAD = "fileUpload",
|
|
11
12
|
PLUGINS = "plugins"
|
|
12
13
|
}
|
|
14
|
+
declare enum IMPORT_WARNING {
|
|
15
|
+
NONE = "none",
|
|
16
|
+
NEW_VERSION = "newVersion",
|
|
17
|
+
EXISTING_DRAFT = "existingDraft",
|
|
18
|
+
EXISTING_FINAL = "existingFinal"
|
|
19
|
+
}
|
|
13
20
|
declare const STEPS: UPLOAD_STEP[];
|
|
14
|
-
export { STEPS, UPLOAD_STATUS, UPLOAD_STEP };
|
|
21
|
+
export { STEPS, UPLOAD_STATUS, UPLOAD_STEP, IMPORT_WARNING };
|
|
15
22
|
//# sourceMappingURL=case-management-upload.constants.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"case-management-upload.constants.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/case-management/src/lib/components/case-management-upload/case-management-upload.constants.ts"],"names":[],"mappings":"AAgBA,aAAK,aAAa;IAChB,MAAM,WAAW;IACjB,KAAK,UAAU;IACf,QAAQ,aAAa;CACtB;AAED,aAAK,WAAW;IACd,cAAc,kBAAkB;IAChC,SAAS,cAAc;IACvB,WAAW,eAAe;IAC1B,WAAW,eAAe;IAC1B,OAAO,YAAY;CACpB;AAED,QAAA,MAAM,KAAK,
|
|
1
|
+
{"version":3,"file":"case-management-upload.constants.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/case-management/src/lib/components/case-management-upload/case-management-upload.constants.ts"],"names":[],"mappings":"AAgBA,aAAK,aAAa;IAChB,MAAM,WAAW;IACjB,KAAK,UAAU;IACf,QAAQ,aAAa;CACtB;AAED,aAAK,WAAW;IACd,cAAc,kBAAkB;IAChC,SAAS,cAAc;IACvB,SAAS,cAAc;IACvB,WAAW,eAAe;IAC1B,WAAW,eAAe;IAC1B,OAAO,YAAY;CACpB;AAED,aAAK,cAAc;IACjB,IAAI,SAAS;IACb,WAAW,eAAe;IAC1B,cAAc,kBAAkB;IAChC,cAAc,kBAAkB;CACjC;AAED,QAAA,MAAM,KAAK,eAOV,CAAC;AAEF,OAAO,EAAC,KAAK,EAAE,aAAa,EAAE,WAAW,EAAE,cAAc,EAAC,CAAC"}
|
|
@@ -7,11 +7,12 @@ export declare const CASE_MANAGEMENT_DETAIL_TEST_IDS: {
|
|
|
7
7
|
};
|
|
8
8
|
export declare const CASE_MANAGEMENT_UPLOAD_TEST_IDS: {
|
|
9
9
|
readonly fileUploader: "caseFileUploader";
|
|
10
|
-
readonly uploadWarningNotification: "uploadWarningNotification";
|
|
11
|
-
readonly uploadWarningCheckbox: "uploadWarningCheckbox";
|
|
12
10
|
readonly cancelButton: "uploadWizardCancelButton";
|
|
13
11
|
readonly nextButton: "uploadWizardNextButton";
|
|
14
12
|
readonly finishButton: "uploadWizardFinishButton";
|
|
13
|
+
readonly nameInput: "importConfigureNameInput";
|
|
14
|
+
readonly versionTag: "importConfigureVersionTag";
|
|
15
|
+
readonly overrideCheckbox: "importConfigureOverrideCheckbox";
|
|
15
16
|
};
|
|
16
17
|
export declare const CASE_MANAGEMENT_DETAIL_ACTIONS_TEST_IDS: {
|
|
17
18
|
readonly versionSelectDropdown: "caseVersionSelectDropdown";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"case-management.test-ids.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/case-management/src/lib/constants/case-management.test-ids.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"case-management.test-ids.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/case-management/src/lib/constants/case-management.test-ids.ts"],"names":[],"mappings":"AAgBA,eAAO,MAAM,6BAA6B;;;CAGhC,CAAC;AAEX,eAAO,MAAM,+BAA+B;;CAElC,CAAC;AAEX,eAAO,MAAM,+BAA+B;;;;;;;;CAQlC,CAAC;AAEX,eAAO,MAAM,uCAAuC;;;;;;;CAO1C,CAAC;AAEX,eAAO,MAAM,+BAA+B;;;;;;;;CAQlC,CAAC;AAEX,eAAO,MAAM,iCAAiC;;CAEpC,CAAC;AAEX,eAAO,MAAM,4CAA4C;;;;;CAK/C,CAAC;AAEX,eAAO,MAAM,qCAAqC;;;;;;;;;CASxC,CAAC;AAEX,eAAO,MAAM,qCAAqC;;;;;;;;;;;;;;;;;;;CAmBxC,CAAC;AAEX,eAAO,MAAM,qCAAqC;;;CAGxC,CAAC;AAEX,eAAO,MAAM,mCAAmC;;;;;;;;CAQtC,CAAC;AAEX,eAAO,MAAM,6BAA6B;;CAEhC,CAAC"}
|
|
@@ -11,6 +11,9 @@ export declare class CaseDefinition {
|
|
|
11
11
|
autoAssignTasks: boolean;
|
|
12
12
|
active: boolean;
|
|
13
13
|
conflictingVersions: string;
|
|
14
|
+
originalKey?: string;
|
|
15
|
+
originalName?: string;
|
|
16
|
+
originalVersionTag?: string;
|
|
14
17
|
}
|
|
15
18
|
export declare class ReleaseVersionData {
|
|
16
19
|
caseDefinitionVersionTag: string;
|
|
@@ -39,6 +42,12 @@ export interface CaseDefinitionConfigurationIssue {
|
|
|
39
42
|
createdAt: string;
|
|
40
43
|
resolvedAt: string | null;
|
|
41
44
|
}
|
|
45
|
+
export interface CaseDefinitionImportPreview {
|
|
46
|
+
key: string;
|
|
47
|
+
name: string;
|
|
48
|
+
versionTag: string;
|
|
49
|
+
isFinal: boolean;
|
|
50
|
+
}
|
|
42
51
|
export interface ConfigurationIssueUpdatedSseEvent {
|
|
43
52
|
eventType?: string;
|
|
44
53
|
caseDefinitionKey: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"case-deployment.model.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/case-management/src/lib/models/case-deployment.model.ts"],"names":[],"mappings":"AAgBA,qBAAa,cAAc;IACzB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,wBAAwB,EAAE,MAAM,CAAC;IACjC,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,IAAI,CAAC;IAClB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,KAAK,EAAE,OAAO,CAAC;IACf,eAAe,EAAE,OAAO,CAAC;IACzB,eAAe,EAAE,OAAO,CAAC;IACzB,MAAM,EAAE,OAAO,CAAC;IAChB,mBAAmB,EAAE,MAAM,CAAC;CAC7B;AAED,qBAAa,kBAAkB;IAC7B,wBAAwB,EAAE,MAAM,CAAC;IACjC,iBAAiB,EAAE,MAAM,CAAC;CAC3B;AAED,qBAAa,sBAAsB;IACjC,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,IAAI,CAAC;IAClB,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,qBAAa,YAAY;IACvB,IAAI,EAAE,MAAM,CAAC;IACb,iBAAiB,EAAE,MAAM,CAAC;IAC1B,qBAAqB,EAAE,MAAM,CAAC;IAC9B,WAAW,EAAE,MAAM,CAAC;IACpB,4BAA4B,CAAC,EAAE,MAAM,CAAC;CACvC;AAED,MAAM,WAAW,qCAAqC;IACpD,WAAW,EAAE,OAAO,CAAC;IACrB,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,gCAAgC;IAC/C,EAAE,EAAE,MAAM,CAAC;IACX,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,OAAO,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;CAC3B;AAED,MAAM,WAAW,iCAAiC;IAChD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,wBAAwB,EAAE,MAAM,CAAC;CAClC"}
|
|
1
|
+
{"version":3,"file":"case-deployment.model.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/case-management/src/lib/models/case-deployment.model.ts"],"names":[],"mappings":"AAgBA,qBAAa,cAAc;IACzB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,wBAAwB,EAAE,MAAM,CAAC;IACjC,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,IAAI,CAAC;IAClB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,KAAK,EAAE,OAAO,CAAC;IACf,eAAe,EAAE,OAAO,CAAC;IACzB,eAAe,EAAE,OAAO,CAAC;IACzB,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itionKey: string;
|
|
3
|
+
buildingBlockDefinitionVersionTag: string;
|
|
4
|
+
}
|
|
5
|
+
export interface ListItem {
|
|
6
|
+
content: string;
|
|
7
|
+
key: string;
|
|
8
|
+
id: string;
|
|
9
|
+
selected: boolean;
|
|
10
|
+
versionTag?: string;
|
|
11
|
+
}
|
|
12
|
+
export type ModalStep = 'selectType' | 'selectItem' | 'configureBuildingBlock';
|
|
13
|
+
//# sourceMappingURL=case-management-actions-modal.model.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"case-management-actions-modal.model.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/case-management/src/lib/models/case-management-actions-modal.model.ts"],"names":[],"mappings":"AAgBA,MAAM,WAAW,0BAA0B;IACzC,0BAA0B,EAAE,MAAM,CAAC;IACnC,iCAAiC,EAAE,MAAM,CAAC;CAC3C;AAED,MAAM,WAAW,QAAQ;IACvB,OAAO,EAAE,MAAM,CAAC;IAChB,GAAG,EAAE,MAAM,CAAC;IACZ,EAAE,EAAE,MAAM,CAAC;IACX,QAAQ,EAAE,OAAO,CAAC;IAClB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,MAAM,SAAS,GAAG,YAAY,GAAG,YAAY,GAAG,wBAAwB,CAAC"}
|
package/lib/models/index.d.ts
CHANGED
|
@@ -3,4 +3,6 @@ export * from './status.model';
|
|
|
3
3
|
export * from './tab.model';
|
|
4
4
|
export * from './case-list.model';
|
|
5
5
|
export * from './case-deployment.model';
|
|
6
|
+
export * from './startable-item.model';
|
|
7
|
+
export * from './case-management-actions-modal.model';
|
|
6
8
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/case-management/src/lib/models/index.ts"],"names":[],"mappings":"AAgBA,cAAc,qBAAqB,CAAC;AACpC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,aAAa,CAAC;AAC5B,cAAc,mBAAmB,CAAC;AAClC,cAAc,yBAAyB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/case-management/src/lib/models/index.ts"],"names":[],"mappings":"AAgBA,cAAc,qBAAqB,CAAC;AACpC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,aAAa,CAAC;AAC5B,cAAc,mBAAmB,CAAC;AAClC,cAAc,yBAAyB,CAAC;AACxC,cAAc,wBAAwB,CAAC;AACvC,cAAc,uCAAuC,CAAC"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { BuildingBlockInputMapping, BuildingBlockOutputMapping } from '@valtimo/process-link';
|
|
2
|
+
export declare enum StartableItemType {
|
|
3
|
+
PROCESS = "PROCESS",
|
|
4
|
+
BUILDING_BLOCK = "BUILDING_BLOCK"
|
|
5
|
+
}
|
|
6
|
+
export interface ManagementStartableItem {
|
|
7
|
+
type: StartableItemType;
|
|
8
|
+
name: string | null;
|
|
9
|
+
key: string;
|
|
10
|
+
versionTag: string | null;
|
|
11
|
+
processDefinitionId: string | null;
|
|
12
|
+
sortOrder: number | null;
|
|
13
|
+
}
|
|
14
|
+
export interface StartableItemOrderEntry {
|
|
15
|
+
key: string;
|
|
16
|
+
type: StartableItemType;
|
|
17
|
+
versionTag: string | null;
|
|
18
|
+
sortOrder: number;
|
|
19
|
+
}
|
|
20
|
+
export interface UpdateStartableItemOrderRequest {
|
|
21
|
+
items: StartableItemOrderEntry[];
|
|
22
|
+
}
|
|
23
|
+
export interface CreateStartableItemRequest {
|
|
24
|
+
type: StartableItemType;
|
|
25
|
+
properties: CreateStartableItemProcessProperties | CreateStartableItemBuildingBlockProperties;
|
|
26
|
+
}
|
|
27
|
+
export interface CreateStartableItemProcessProperties {
|
|
28
|
+
processDefinitionId: string;
|
|
29
|
+
}
|
|
30
|
+
export interface CreateStartableItemBuildingBlockProperties {
|
|
31
|
+
buildingBlockDefinitionKey: string;
|
|
32
|
+
buildingBlockDefinitionVersionTag: string;
|
|
33
|
+
}
|
|
34
|
+
export interface BuildingBlockItemProperties {
|
|
35
|
+
inputMappings: Array<BuildingBlockInputMapping>;
|
|
36
|
+
outputMappings: Array<BuildingBlockOutputMapping>;
|
|
37
|
+
pluginConfigurationMappings: Record<string, string>;
|
|
38
|
+
}
|
|
39
|
+
//# sourceMappingURL=startable-item.model.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"startable-item.model.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/case-management/src/lib/models/startable-item.model.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAC,yBAAyB,EAAE,0BAA0B,EAAC,MAAM,uBAAuB,CAAC;AAE5F,oBAAY,iBAAiB;IAC3B,OAAO,YAAY;IACnB,cAAc,mBAAmB;CAClC;AAED,MAAM,WAAW,uBAAuB;IACtC,IAAI,EAAE,iBAAiB,CAAC;IACxB,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB,GAAG,EAAE,MAAM,CAAC;IACZ,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,mBAAmB,EAAE,MAAM,GAAG,IAAI,CAAC;IACnC,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;CAC1B;AAED,MAAM,WAAW,uBAAuB;IACtC,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,iBAAiB,CAAC;IACxB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,+BAA+B;IAC9C,KAAK,EAAE,uBAAuB,EAAE,CAAC;CAClC;AAED,MAAM,WAAW,0BAA0B;IACzC,IAAI,EAAE,iBAAiB,CAAC;IACxB,UAAU,EAAE,oCAAoC,GAAG,0CAA0C,CAAC;CAC/F;AAED,MAAM,WAAW,oCAAoC;IACnD,mBAAmB,EAAE,MAAM,CAAC;CAC7B;AAED,MAAM,WAAW,0CAA0C;IACzD,0BAA0B,EAAE,MAAM,CAAC;IACnC,iCAAiC,EAAE,MAAM,CAAC;CAC3C;AAED,MAAM,WAAW,2BAA2B;IAC1C,aAAa,EAAE,KAAK,CAAC,yBAAyB,CAAC,CAAC;IAChD,cAAc,EAAE,KAAK,CAAC,0BAA0B,CAAC,CAAC;IAClD,2BAA2B,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CACrD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tab.model.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/case-management/src/lib/models/tab.model.ts"],"names":[],"mappings":"AAgBA,oBAAY,OAAO;IACjB,OAAO,YAAY;IACnB,QAAQ,aAAa;IACrB,IAAI,SAAS;IACb,SAAS,cAAc;IACvB,MAAM,WAAW;IACjB,IAAI,SAAS;IACb,IAAI,SAAS;IACb,QAAQ,aAAa;IACrB,KAAK,UAAU;IACf,UAAU,eAAe;IACzB,IAAI,SAAS;IACb,SAAS,cAAc;IACvB,SAAS,cAAc;IACvB,YAAY,iBAAiB;IAC7B,KAAK,UAAU;IACf,MAAM,WAAW;CAClB"}
|
|
1
|
+
{"version":3,"file":"tab.model.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/case-management/src/lib/models/tab.model.ts"],"names":[],"mappings":"AAgBA,oBAAY,OAAO;IACjB,OAAO,YAAY;IACnB,QAAQ,aAAa;IACrB,IAAI,SAAS;IACb,SAAS,cAAc;IACvB,OAAO,YAAY;IACnB,MAAM,WAAW;IACjB,IAAI,SAAS;IACb,IAAI,SAAS;IACb,QAAQ,aAAa;IACrB,KAAK,UAAU;IACf,UAAU,eAAe;IACzB,IAAI,SAAS;IACb,SAAS,cAAc;IACvB,SAAS,cAAc;IACvB,YAAY,iBAAiB;IAC7B,KAAK,UAAU;IACf,MAAM,WAAW;CAClB"}
|
|
@@ -4,7 +4,7 @@ import { Page } from '@valtimo/document';
|
|
|
4
4
|
import { Observable } from 'rxjs';
|
|
5
5
|
import { CaseListItem } from '../models';
|
|
6
6
|
import { CaseVersionListItem } from '../models/case-version-list.model';
|
|
7
|
-
import { CaseDefinition, CaseDefinitionConfigurationIssue, CaseDefinitionFinalizationCheckResult, DraftVersion } from '../models/case-deployment.model';
|
|
7
|
+
import { CaseDefinition, CaseDefinitionConfigurationIssue, CaseDefinitionFinalizationCheckResult, CaseDefinitionImportPreview, DraftVersion } from '../models/case-deployment.model';
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
9
|
export declare class CaseManagementService extends BaseApiService {
|
|
10
10
|
protected readonly httpClient: HttpClient;
|
|
@@ -20,7 +20,8 @@ export declare class CaseManagementService extends BaseApiService {
|
|
|
20
20
|
finalizeDraftCaseVersion(caseDefinitionKey: string, caseDefinitionVersionTag: string): Observable<any[]>;
|
|
21
21
|
deleteDraftCaseVersion(caseDefinitionKey: string, caseDefinitionVersionTag: string): Observable<null>;
|
|
22
22
|
getCaseDefinition(caseDefinitionKey: string, caseDefinitionVersionTag: string): Observable<CaseDefinition>;
|
|
23
|
-
|
|
23
|
+
previewImport(file: FormData): Observable<CaseDefinitionImportPreview>;
|
|
24
|
+
importDocumentDefinitionZip(file: FormData, key?: string, name?: string): Observable<HttpResponse<Blob>>;
|
|
24
25
|
exportDocumentDefinition(caseDefinitionKey: string, caseDefinitionVersionTag?: string): Observable<HttpResponse<Blob>>;
|
|
25
26
|
getConfigurationIssues(caseDefinitionKey: string, caseDefinitionVersionTag: string): Observable<CaseDefinitionConfigurationIssue[]>;
|
|
26
27
|
getCaseDefinitionFinalizationCheck(caseDefinitionKey: string, caseDefinitionVersionTag: string): Observable<CaseDefinitionFinalizationCheckResult>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"case-management.service.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/case-management/src/lib/services/case-management.service.ts"],"names":[],"mappings":"AAeA,OAAO,EAAC,UAAU,
|
|
1
|
+
{"version":3,"file":"case-management.service.d.ts","sourceRoot":"","sources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AAU,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC;IAOtE,wBAAwB,CAC7B,iBAAiB,EAAE,MAAM,EACzB,wBAAwB,EAAE,MAAM,GAC/B,UAAU,CAAC,GAAG,EAAE,CAAC;IASb,sBAAsB,CAC3B,iBAAiB,EAAE,MAAM,EACzB,wBAAwB,EAAE,MAAM,GAC/B,UAAU,CAAC,IAAI,CAAC;IAQZ,iBAAiB,CACtB,iBAAiB,EAAE,MAAM,EACzB,wBAAwB,EAAE,MAAM,GAC/B,UAAU,CAAC,cAAc,CAAC;IAWtB,aAAa,CAAC,IAAI,EAAE,QAAQ,GAAG,UAAU,CAAC,2BAA2B,CAAC;IAQtE,2BAA2B,CAChC,IAAI,EAAE,QAAQ,EACd,GAAG,CAAC,EAAE,MAAM,EACZ,IAAI,CAAC,EAAE,MAAM,GACZ,UAAU,CAAC,YAAY,CAAC,IAAI,CAAC,CAAC;IAW1B,wBAAwB,CAC7B,iBAAiB,EAAE,MAAM,EACzB,wBAAwB,SAAM,GAC7B,UAAU,CAAC,YAAY,CAAC,IAAI,CAAC,CAAC;IAS1B,sBAAsB,CAC3B,iBAAiB,EAAE,MAAM,EACzB,wBAAwB,EAAE,MAAM,GAC/B,UAAU,CAAC,gCAAgC,EAAE,CAAC;IAQ1C,kCAAkC,CACvC,iBAAiB,EAAE,MAAM,EACzB,wBAAwB,EAAE,MAAM,GAC/B,UAAU,CAAC,qCAAqC,CAAC;yCA/JzC,qBAAqB;6CAArB,qBAAqB;CAsKjC"}
|
package/lib/services/index.d.ts
CHANGED
|
@@ -3,4 +3,6 @@ export * from './tab-management.service';
|
|
|
3
3
|
export * from './tab.service';
|
|
4
4
|
export * from './widget-tab-management.service';
|
|
5
5
|
export * from './case-management.service';
|
|
6
|
+
export * from './startable-item-api.service';
|
|
7
|
+
export * from './startable-item-management.service';
|
|
6
8
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/case-management/src/lib/services/index.ts"],"names":[],"mappings":"AAgBA,cAAc,uBAAuB,CAAC;AACtC,cAAc,0BAA0B,CAAC;AACzC,cAAc,eAAe,CAAC;AAC9B,cAAc,iCAAiC,CAAC;AAChD,cAAc,2BAA2B,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/case-management/src/lib/services/index.ts"],"names":[],"mappings":"AAgBA,cAAc,uBAAuB,CAAC;AACtC,cAAc,0BAA0B,CAAC;AACzC,cAAc,eAAe,CAAC;AAC9B,cAAc,iCAAiC,CAAC;AAChD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,qCAAqC,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { HttpClient } from '@angular/common/http';
|
|
2
|
+
import { BaseApiService, CaseManagementParams, CaseProcessDefinitionResponseDto, ConfigService } from '@valtimo/shared';
|
|
3
|
+
import { Observable } from 'rxjs';
|
|
4
|
+
import { BuildingBlockItemProperties, CreateStartableItemRequest, ManagementStartableItem, StartableItemType, UpdateStartableItemOrderRequest } from '../models';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class StartableItemApiService extends BaseApiService {
|
|
7
|
+
protected readonly configService: ConfigService;
|
|
8
|
+
protected readonly httpClient: HttpClient;
|
|
9
|
+
constructor(configService: ConfigService, httpClient: HttpClient);
|
|
10
|
+
private getCaseDefinitionUrl;
|
|
11
|
+
getItems(params: CaseManagementParams): Observable<ManagementStartableItem[]>;
|
|
12
|
+
createItem(params: CaseManagementParams, request: CreateStartableItemRequest): Observable<ManagementStartableItem>;
|
|
13
|
+
deleteItem(params: CaseManagementParams, itemKey: string, versionTag: string | null): Observable<void>;
|
|
14
|
+
updateItem(params: CaseManagementParams, itemKey: string, versionTag: string | null, request: CreateStartableItemRequest): Observable<ManagementStartableItem>;
|
|
15
|
+
updateOrder(params: CaseManagementParams, request: UpdateStartableItemOrderRequest): Observable<ManagementStartableItem[]>;
|
|
16
|
+
getItemProperties(params: CaseManagementParams, itemKey: string, versionTag: string | null, type: StartableItemType): Observable<BuildingBlockItemProperties>;
|
|
17
|
+
getLinkedProcessDefinitions(params: CaseManagementParams): Observable<CaseProcessDefinitionResponseDto[]>;
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<StartableItemApiService, never>;
|
|
19
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<StartableItemApiService>;
|
|
20
|
+
}
|
|
21
|
+
//# sourceMappingURL=startable-item-api.service.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"startable-item-api.service.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/case-management/src/lib/services/startable-item-api.service.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAC,UAAU,EAAC,MAAM,sBAAsB,CAAC;AAEhD,OAAO,EACL,cAAc,EACd,oBAAoB,EACpB,gCAAgC,EAChC,aAAa,EACd,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAC,UAAU,EAAC,MAAM,MAAM,CAAC;AAChC,OAAO,EACL,2BAA2B,EAC3B,0BAA0B,EAC1B,uBAAuB,EACvB,iBAAiB,EACjB,+BAA+B,EAChC,MAAM,WAAW,CAAC;;AAEnB,qBAGa,uBAAwB,SAAQ,cAAc;IAEvD,SAAS,CAAC,QAAQ,CAAC,aAAa,EAAE,aAAa;IAC/C,SAAS,CAAC,QAAQ,CAAC,UAAU,EAAE,UAAU;gBADtB,aAAa,EAAE,aAAa,EAC5B,UAAU,EAAE,UAAU;IAK3C,OAAO,CAAC,oBAAoB;IAMrB,QAAQ,CAAC,MAAM,EAAE,oBAAoB,GAAG,UAAU,CAAC,uBAAuB,EAAE,CAAC;IAI7E,UAAU,CACf,MAAM,EAAE,oBAAoB,EAC5B,OAAO,EAAE,0BAA0B,GAClC,UAAU,CAAC,uBAAuB,CAAC;IAO/B,UAAU,CACf,MAAM,EAAE,oBAAoB,EAC5B,OAAO,EAAE,MAAM,EACf,UAAU,EAAE,MAAM,GAAG,IAAI,GACxB,UAAU,CAAC,IAAI,CAAC;IAOZ,UAAU,CACf,MAAM,EAAE,oBAAoB,EAC5B,OAAO,EAAE,MAAM,EACf,UAAU,EAAE,MAAM,GAAG,IAAI,EACzB,OAAO,EAAE,0BAA0B,GAClC,UAAU,CAAC,uBAAuB,CAAC;IAQ/B,WAAW,CAChB,MAAM,EAAE,oBAAoB,EAC5B,OAAO,EAAE,+BAA+B,GACvC,UAAU,CAAC,uBAAuB,EAAE,CAAC;IAOjC,iBAAiB,CACtB,MAAM,EAAE,oBAAoB,EAC5B,OAAO,EAAE,MAAM,EACf,UAAU,EAAE,MAAM,GAAG,IAAI,EACzB,IAAI,EAAE,iBAAiB,GACtB,UAAU,CAAC,2BAA2B,CAAC;IAQnC,2BAA2B,CAChC,MAAM,EAAE,oBAAoB,GAC3B,UAAU,CAAC,gCAAgC,EAAE,CAAC;yCA7EtC,uBAAuB;6CAAvB,uBAAuB;CAoFnC"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { NGXLogger } from 'ngx-logger';
|
|
2
|
+
import { CaseManagementParams, CaseProcessDefinitionResponseDto } from '@valtimo/shared';
|
|
3
|
+
import { Observable } from 'rxjs';
|
|
4
|
+
import { BuildingBlockItemProperties, CreateStartableItemRequest, ManagementStartableItem, StartableItemType } from '../models';
|
|
5
|
+
import { StartableItemApiService } from './startable-item-api.service';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class StartableItemManagementService {
|
|
8
|
+
private readonly startableItemApiService;
|
|
9
|
+
private readonly logger;
|
|
10
|
+
private readonly _params$;
|
|
11
|
+
private readonly _items$;
|
|
12
|
+
readonly items$: Observable<ManagementStartableItem[]>;
|
|
13
|
+
private readonly _loading$;
|
|
14
|
+
readonly loading$: Observable<boolean>;
|
|
15
|
+
private readonly _showModal$;
|
|
16
|
+
readonly showModal$: Observable<boolean>;
|
|
17
|
+
private readonly _editingItem$;
|
|
18
|
+
readonly editingItem$: Observable<ManagementStartableItem>;
|
|
19
|
+
private readonly _showDeleteModal$;
|
|
20
|
+
readonly showDeleteModal$: Observable<boolean>;
|
|
21
|
+
private readonly _itemToDelete$;
|
|
22
|
+
readonly itemToDelete$: Observable<ManagementStartableItem>;
|
|
23
|
+
private readonly _reorderComplete$;
|
|
24
|
+
readonly reorderComplete$: Observable<void>;
|
|
25
|
+
readonly usedProcessDefinitionIds$: Observable<string[]>;
|
|
26
|
+
readonly usedBuildingBlockKeys$: Observable<string[]>;
|
|
27
|
+
readonly linkedProcessDefinitions$: Observable<CaseProcessDefinitionResponseDto[]>;
|
|
28
|
+
constructor(startableItemApiService: StartableItemApiService, logger: NGXLogger);
|
|
29
|
+
setParams(params: CaseManagementParams): void;
|
|
30
|
+
getParams(): CaseManagementParams;
|
|
31
|
+
loadItems(): void;
|
|
32
|
+
showCreateModal(): void;
|
|
33
|
+
showEditModal(item: ManagementStartableItem): void;
|
|
34
|
+
hideModal(): void;
|
|
35
|
+
showDeleteConfirmation(item: ManagementStartableItem): void;
|
|
36
|
+
hideDeleteModal(): void;
|
|
37
|
+
createItem(request: CreateStartableItemRequest): Observable<ManagementStartableItem>;
|
|
38
|
+
updateItem(key: string, versionTag: string | null, request: CreateStartableItemRequest): Observable<ManagementStartableItem>;
|
|
39
|
+
getItemProperties(itemKey: string, versionTag: string | null, type: StartableItemType): Observable<BuildingBlockItemProperties>;
|
|
40
|
+
deleteItem(item: ManagementStartableItem): Observable<void>;
|
|
41
|
+
updateOrder(items: ManagementStartableItem[]): void;
|
|
42
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<StartableItemManagementService, never>;
|
|
43
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<StartableItemManagementService>;
|
|
44
|
+
}
|
|
45
|
+
//# sourceMappingURL=startable-item-management.service.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"startable-item-management.service.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/case-management/src/lib/services/startable-item-management.service.ts"],"names":[],"mappings":"AAiBA,OAAO,EAAC,SAAS,EAAC,MAAM,YAAY,CAAC;AACrC,OAAO,EAAC,oBAAoB,EAAE,gCAAgC,EAAC,MAAM,iBAAiB,CAAC;AAEvF,OAAO,EAAkB,UAAU,EAAc,MAAM,MAAM,CAAC;AAE9D,OAAO,EACL,2BAA2B,EAC3B,0BAA0B,EAC1B,uBAAuB,EAEvB,iBAAiB,EAElB,MAAM,WAAW,CAAC;AACnB,OAAO,EAAC,uBAAuB,EAAC,MAAM,8BAA8B,CAAC;;AAErE,qBACa,8BAA8B;IA+CvC,OAAO,CAAC,QAAQ,CAAC,uBAAuB;IACxC,OAAO,CAAC,QAAQ,CAAC,MAAM;IA/CzB,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAA0D;IAEnF,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAsD;IAC9E,SAAgB,MAAM,wCAA+B;IAErD,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAuC;IACjE,SAAgB,QAAQ,sBAAiC;IAEzD,OAAO,CAAC,QAAQ,CAAC,WAAW,CAAuC;IACnE,SAAgB,UAAU,sBAAmC;IAE7D,OAAO,CAAC,QAAQ,CAAC,aAAa,CAA6D;IAC3F,SAAgB,YAAY,sCAAqC;IAEjE,OAAO,CAAC,QAAQ,CAAC,iBAAiB,CAAuC;IACzE,SAAgB,gBAAgB,sBAAyC;IAEzE,OAAO,CAAC,QAAQ,CAAC,cAAc,CAA6D;IAC5F,SAAgB,aAAa,sCAAsC;IAEnE,OAAO,CAAC,QAAQ,CAAC,iBAAiB,CAAuB;IACzD,SAAgB,gBAAgB,mBAAyC;IAEzE,SAAgB,yBAAyB,EAAE,UAAU,CAAC,MAAM,EAAE,CAAC,CAM7D;IAEF,SAAgB,sBAAsB,EAAE,UAAU,CAAC,MAAM,EAAE,CAAC,CAI1D;IAEF,SAAgB,yBAAyB,EAAE,UAAU,CAAC,gCAAgC,EAAE,CAAC,CAMrF;gBAGe,uBAAuB,EAAE,uBAAuB,EAChD,MAAM,EAAE,SAAS;IAG7B,SAAS,CAAC,MAAM,EAAE,oBAAoB,GAAG,IAAI;IAI7C,SAAS,IAAI,oBAAoB;IAQjC,SAAS,IAAI,IAAI;IAiBjB,eAAe,IAAI,IAAI;IAKvB,aAAa,CAAC,IAAI,EAAE,uBAAuB,GAAG,IAAI;IAKlD,SAAS,IAAI,IAAI;IAKjB,sBAAsB,CAAC,IAAI,EAAE,uBAAuB,GAAG,IAAI;IAK3D,eAAe,IAAI,IAAI;IAKvB,UAAU,CAAC,OAAO,EAAE,0BAA0B,GAAG,UAAU,CAAC,uBAAuB,CAAC;IAIpF,UAAU,CACf,GAAG,EAAE,MAAM,EACX,UAAU,EAAE,MAAM,GAAG,IAAI,EACzB,OAAO,EAAE,0BAA0B,GAClC,UAAU,CAAC,uBAAuB,CAAC;IAS/B,iBAAiB,CACtB,OAAO,EAAE,MAAM,EACf,UAAU,EAAE,MAAM,GAAG,IAAI,EACzB,IAAI,EAAE,iBAAiB,GACtB,UAAU,CAAC,2BAA2B,CAAC;IASnC,UAAU,CAAC,IAAI,EAAE,uBAAuB,GAAG,UAAU,CAAC,IAAI,CAAC;IAQ3D,WAAW,CAAC,KAAK,EAAE,uBAAuB,EAAE,GAAG,IAAI;yCA/I/C,8BAA8B;6CAA9B,8BAA8B;CA+K1C"}
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@valtimo/case-management",
|
|
3
3
|
"license": "EUPL-1.2",
|
|
4
|
-
"version": "13.
|
|
4
|
+
"version": "13.24.0",
|
|
5
5
|
"peerDependencies": {
|
|
6
|
-
"@angular/common": "
|
|
7
|
-
"@angular/core": "
|
|
6
|
+
"@angular/common": "19.2.20",
|
|
7
|
+
"@angular/core": "19.2.20"
|
|
8
8
|
},
|
|
9
9
|
"dependencies": {
|
|
10
10
|
"tslib": "2.8.1"
|