@valtimo/building-block-management 13.33.0 → 13.35.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-building-block-management.mjs +82 -16
- package/fesm2022/valtimo-building-block-management.mjs.map +1 -1
- package/lib/components/building-block-management-decisions/building-block-management-decisions.component.d.ts +9 -2
- package/lib/components/building-block-management-decisions/building-block-management-decisions.component.d.ts.map +1 -1
- package/lib/components/building-block-management-processes/building-block-management-processes.component.d.ts.map +1 -1
- package/lib/models/building-block-management.model.d.ts +4 -1
- package/lib/models/building-block-management.model.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -2,7 +2,7 @@ import { OnDestroy, OnInit } from '@angular/core';
|
|
|
2
2
|
import { BuildingBlockManagementApiService, BuildingBlockManagementDetailService } from '../../services';
|
|
3
3
|
import { BehaviorSubject, Observable } from 'rxjs';
|
|
4
4
|
import { ActionItem, ColumnConfig } from '@valtimo/components';
|
|
5
|
-
import { Decision, DecisionStateService } from '@valtimo/decision';
|
|
5
|
+
import { Decision, DecisionFormModalComponent, DecisionFormValue, DecisionService, DecisionStateService } from '@valtimo/decision';
|
|
6
6
|
import { GlobalNotificationService } from '@valtimo/shared';
|
|
7
7
|
import { TranslateService } from '@ngx-translate/core';
|
|
8
8
|
import { IconService } from 'carbon-components-angular';
|
|
@@ -12,10 +12,12 @@ export declare class BuildingBlockManagementDecisionsComponent implements OnInit
|
|
|
12
12
|
private readonly buildingBlockManagementDetailService;
|
|
13
13
|
private readonly buildingBlockManagementApiService;
|
|
14
14
|
private readonly decisionStateService;
|
|
15
|
+
private readonly decisionService;
|
|
15
16
|
private readonly translateService;
|
|
16
17
|
private readonly iconService;
|
|
17
18
|
private readonly router;
|
|
18
19
|
private readonly notificationService;
|
|
20
|
+
edit: DecisionFormModalComponent;
|
|
19
21
|
readonly $loading: import("@angular/core").WritableSignal<boolean>;
|
|
20
22
|
private readonly _decisions$;
|
|
21
23
|
readonly decisions$: Observable<Decision[]>;
|
|
@@ -26,11 +28,16 @@ export declare class BuildingBlockManagementDecisionsComponent implements OnInit
|
|
|
26
28
|
readonly showDeleteModal$: BehaviorSubject<boolean>;
|
|
27
29
|
private readonly _subscriptions;
|
|
28
30
|
private _decisionToDelete;
|
|
31
|
+
private _decisionToEdit;
|
|
32
|
+
private _editXml;
|
|
29
33
|
private _isFinal;
|
|
30
|
-
constructor(buildingBlockManagementDetailService: BuildingBlockManagementDetailService, buildingBlockManagementApiService: BuildingBlockManagementApiService, decisionStateService: DecisionStateService, translateService: TranslateService, iconService: IconService, router: Router, notificationService: GlobalNotificationService);
|
|
34
|
+
constructor(buildingBlockManagementDetailService: BuildingBlockManagementDetailService, buildingBlockManagementApiService: BuildingBlockManagementApiService, decisionStateService: DecisionStateService, decisionService: DecisionService, translateService: TranslateService, iconService: IconService, router: Router, notificationService: GlobalNotificationService);
|
|
31
35
|
ngOnInit(): void;
|
|
32
36
|
ngOnDestroy(): void;
|
|
33
37
|
onRowClick(decision: Decision): void;
|
|
38
|
+
onCreateDecision(value: DecisionFormValue): void;
|
|
39
|
+
openEditModal(decision: Decision): void;
|
|
40
|
+
onEditDecision(value: DecisionFormValue): void;
|
|
34
41
|
onDeploySuccessful(): void;
|
|
35
42
|
onDeleteConfirm(): void;
|
|
36
43
|
private deleteDisabled;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"building-block-management-decisions.component.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/building-block-management/src/lib/components/building-block-management-decisions/building-block-management-decisions.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAY,SAAS,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"building-block-management-decisions.component.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/building-block-management/src/lib/components/building-block-management-decisions/building-block-management-decisions.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAY,SAAS,EAAE,MAAM,EAAoB,MAAM,eAAe,CAAC;AAE9E,O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C;IAEvE,OAAO,CAAC,QAAQ,CAAC,cAAc,CAAsB;IACrD,OAAO,CAAC,iBAAiB,CAAY;IACrC,OAAO,CAAC,eAAe,CAAyB;IAChD,OAAO,CAAC,QAAQ,CAAuB;IACvC,OAAO,CAAC,QAAQ,CAAS;gBAGN,oCAAoC,EAAE,oCAAoC,EAC1E,iCAAiC,EAAE,iCAAiC,EACpE,oBAAoB,EAAE,oBAAoB,EAC1C,eAAe,EAAE,eAAe,EAChC,gBAAgB,EAAE,gBAAgB,EAClC,WAAW,EAAE,WAAW,EACxB,MAAM,EAAE,MAAM,EACd,mBAAmB,EAAE,yBAAyB;IAK1D,QAAQ,IAAI,IAAI;IAiChB,WAAW,IAAI,IAAI;IAInB,UAAU,CAAC,QAAQ,EAAE,QAAQ,GAAG,IAAI;IAYpC,gBAAgB,CAAC,KAAK,EAAE,iBAAiB,GAAG,IAAI;IAehD,aAAa,CAAC,QAAQ,EAAE,QAAQ,GAAG,IAAI;IAQvC,cAAc,CAAC,KAAK,EAAE,iBAAiB,GAAG,IAAI;IAiC9C,kBAAkB,IAAI,IAAI;IAI1B,eAAe,IAAI,IAAI;IA6B9B,OAAO,CAAC,cAAc;yCAlMX,yCAAyC;2CAAzC,yCAAyC;CAqMrD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"building-block-management-processes.component.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/building-block-management/src/lib/components/building-block-management-processes/building-block-management-processes.component.ts"],"names":[],"mappings":"AAeA,OAAO,EAAY,SAAS,EAAE,MAAM,EAAS,MAAM,eAAe,CAAC;AAEnE,OAAO,EACL,iCAAiC,EACjC,oCAAoC,EACrC,MAAM,gBAAgB,CAAC;AACxB,OAAO,EACL,eAAe,EAIf,UAAU,EAIX,MAAM,MAAM,CAAC;AAEd,OAAO,EACL,UAAU,EAEV,YAAY,EAGb,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAkB,gBAAgB,EAAC,MAAM,qBAAqB,CAAC;AACtE,OAAO,EAAC,kCAAkC,EAAC,MAAM,cAAc,CAAC;AAChE,OAAO,EAA2B,WAAW,EAAC,MAAM,2BAA2B,CAAC;AAGhF,OAAO,EAAC,MAAM,EAAC,MAAM,iBAAiB,CAAC;;AAGvC,qBAea,yCAA0C,YAAW,MAAM,EAAE,SAAS;
|
|
1
|
+
{"version":3,"file":"building-block-management-processes.component.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/building-block-management/src/lib/components/building-block-management-processes/building-block-management-processes.component.ts"],"names":[],"mappings":"AAeA,OAAO,EAAY,SAAS,EAAE,MAAM,EAAS,MAAM,eAAe,CAAC;AAEnE,OAAO,EACL,iCAAiC,EACjC,oCAAoC,EACrC,MAAM,gBAAgB,CAAC;AACxB,OAAO,EACL,eAAe,EAIf,UAAU,EAIX,MAAM,MAAM,CAAC;AAEd,OAAO,EACL,UAAU,EAEV,YAAY,EAGb,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAkB,gBAAgB,EAAC,MAAM,qBAAqB,CAAC;AACtE,OAAO,EAAC,kCAAkC,EAAC,MAAM,cAAc,CAAC;AAChE,OAAO,EAA2B,WAAW,EAAC,MAAM,2BAA2B,CAAC;AAGhF,OAAO,EAAC,MAAM,EAAC,MAAM,iBAAiB,CAAC;;AAGvC,qBAea,yCAA0C,YAAW,MAAM,EAAE,SAAS;IA2E/E,OAAO,CAAC,QAAQ,CAAC,oCAAoC;IACrD,OAAO,CAAC,QAAQ,CAAC,iCAAiC;IAClD,OAAO,CAAC,QAAQ,CAAC,gBAAgB;IACjC,OAAO,CAAC,QAAQ,CAAC,WAAW;IAC5B,OAAO,CAAC,QAAQ,CAAC,MAAM;IA9EzB,SAAgB,QAAQ,kDAAyB;IAEjD,OAAO,CAAC,QAAQ,CAAC,iCAAiC,CAE5C;IAEN,OAAO,CAAC,oCAAoC,CAA4C;IACxF,SAAgB,oCAAoC,EAAE,UAAU,CAC9D,kCAAkC,EAAE,CACrC,CAuBC;IAEF,SAAgB,MAAM,EAAE,YAAY,EAAE,CASpC;IAEK,aAAa,GAAI,SAAS,kCAAkC,KAAG,IAAI,CAGxE;IAEF,SAAgB,YAAY,EAAE,UAAU,EAAE,CAaxC;IAEF,SAAgB,QAAQ,sBAAsD;IAE9E,SAAgB,gBAAgB,2BAAuC;IAEvE,OAAO,CAAC,QAAQ,CAAC,cAAc,CAAsB;IAErD,OAAO,CAAC,gBAAgB,CAAsC;gBAG3C,oCAAoC,EAAE,oCAAoC,EAC1E,iCAAiC,EAAE,iCAAiC,EACpE,gBAAgB,EAAE,gBAAgB,EAClC,WAAW,EAAE,WAAW,EACxB,MAAM,EAAE,MAAM;IAK1B,QAAQ,IAAI,IAAI;IA6BhB,WAAW,IAAI,IAAI;IAInB,UAAU,CAAC,iBAAiB,EAAE,kCAAkC,GAAG,IAAI;IAYvE,eAAe,IAAI,IAAI;IAIvB,aAAa,IAAI,IAAI;IAYrB,eAAe,IAAI,IAAI;IAqBvB,YAAY,CAAC,OAAO,EAAE,kCAAkC,GAAG,IAAI;IAmBtE,OAAO,CAAC,kBAAkB;IAI1B,OAAO,CAAC,cAAc;yCA7LX,yCAAyC;2CAAzC,yCAAyC;CAgMrD"}
|
|
@@ -3,7 +3,10 @@ import { BuildingBlockFormDefinitionDto, BuildingBlockProcessDefinitionDto } fro
|
|
|
3
3
|
import { ListFormFlowDefinition } from '@valtimo/form-flow-management';
|
|
4
4
|
type BuildingBlockManagementTabKey = (typeof BUILDING_BLOCK_MANAGEMENT_TABS)[keyof typeof BUILDING_BLOCK_MANAGEMENT_TABS] | string;
|
|
5
5
|
interface BuildingBlockProcessDefinitionItem extends BuildingBlockProcessDefinitionDto {
|
|
6
|
-
|
|
6
|
+
statusTags: Array<{
|
|
7
|
+
content: string;
|
|
8
|
+
type: string;
|
|
9
|
+
}>;
|
|
7
10
|
}
|
|
8
11
|
interface BuildingBlockFormDefinitionItem extends BuildingBlockFormDefinitionDto {
|
|
9
12
|
readOnlyText: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"building-block-management.model.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/building-block-management/src/lib/models/building-block-management.model.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAC,8BAA8B,EAAC,MAAM,cAAc,CAAC;AAC5D,OAAO,EAAC,8BAA8B,EAAE,iCAAiC,EAAC,MAAM,iBAAiB,CAAC;AAClG,OAAO,EAAC,sBAAsB,EAAC,MAAM,+BAA+B,CAAC;AAErE,KAAK,6BAA6B,GAC9B,CAAC,OAAO,8BAA8B,CAAC,CAAC,MAAM,OAAO,8BAA8B,CAAC,GACpF,MAAM,CAAC;AAEX,UAAU,kCAAmC,SAAQ,iCAAiC;IACpF,
|
|
1
|
+
{"version":3,"file":"building-block-management.model.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/building-block-management/src/lib/models/building-block-management.model.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAC,8BAA8B,EAAC,MAAM,cAAc,CAAC;AAC5D,OAAO,EAAC,8BAA8B,EAAE,iCAAiC,EAAC,MAAM,iBAAiB,CAAC;AAClG,OAAO,EAAC,sBAAsB,EAAC,MAAM,+BAA+B,CAAC;AAErE,KAAK,6BAA6B,GAC9B,CAAC,OAAO,8BAA8B,CAAC,CAAC,MAAM,OAAO,8BAA8B,CAAC,GACpF,MAAM,CAAC;AAEX,UAAU,kCAAmC,SAAQ,iCAAiC;IACpF,UAAU,EAAE,KAAK,CAAC;QAAC,OAAO,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAC,CAAC,CAAC;CACpD;AAED,UAAU,+BAAgC,SAAQ,8BAA8B;IAC9E,YAAY,EAAE,MAAM,CAAC;CACtB;AAED,UAAU,sBAAuB,SAAQ,sBAAsB;IAC7D,aAAa,EAAE,MAAM,CAAC;CACvB;AAED,OAAO,EACL,6BAA6B,EAC7B,kCAAkC,EAClC,+BAA+B,EAC/B,sBAAsB,GACvB,CAAC"}
|