verben-workflow-ui 0.5.45 → 0.5.47

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (43) hide show
  1. package/esm2022/public-api.mjs +3 -1
  2. package/esm2022/src/lib/components/flowable-status/flowable-status.columns.mjs +21 -0
  3. package/esm2022/src/lib/components/flowable-status/flowable-status.component.mjs +122 -0
  4. package/esm2022/src/lib/components/flowable-status/flowable-status.facade.mjs +207 -0
  5. package/esm2022/src/lib/components/flowable-status/flowable-status.form.component.mjs +52 -0
  6. package/esm2022/src/lib/components/flowable-status/flowable-status.module.mjs +21 -0
  7. package/esm2022/src/lib/components/flowable-status/flowable-status.service.mjs +55 -0
  8. package/esm2022/src/lib/components/flowable-status/flowable-status.state.mjs +85 -0
  9. package/esm2022/src/lib/components/flowable-status/index.mjs +2 -0
  10. package/esm2022/src/lib/components/flowable-status/public-api.mjs +3 -0
  11. package/esm2022/src/lib/components/flowable-status/verben-workflow-ui-src-lib-components-flowable-status.mjs +5 -0
  12. package/esm2022/src/lib/components/workflow-designer/action-dialog/action-dialog.component.mjs +14 -4
  13. package/esm2022/src/lib/components/workflow-designer/designer-canvas/designer-canvas.component.mjs +3 -1
  14. package/esm2022/src/lib/components/workflow-designer/workflow-data.service.mjs +6 -1
  15. package/esm2022/src/lib/components/workflow-designer/workflow-designer.component.mjs +2 -1
  16. package/esm2022/src/lib/components/workflow-designer/workflow-designer.state.mjs +5 -1
  17. package/esm2022/src/lib/components/workflow-designer/workflow-designer.types.mjs +1 -1
  18. package/esm2022/src/lib/models/FlowableStatus.mjs +2 -0
  19. package/esm2022/src/lib/models/WorkflowAction.mjs +1 -1
  20. package/esm2022/src/lib/models/public-api.mjs +2 -1
  21. package/fesm2022/verben-workflow-ui-src-lib-components-flowable-status.mjs +545 -0
  22. package/fesm2022/verben-workflow-ui-src-lib-components-flowable-status.mjs.map +1 -0
  23. package/fesm2022/verben-workflow-ui-src-lib-components-workflow-designer.mjs +25 -3
  24. package/fesm2022/verben-workflow-ui-src-lib-components-workflow-designer.mjs.map +1 -1
  25. package/fesm2022/verben-workflow-ui.mjs +1 -3
  26. package/fesm2022/verben-workflow-ui.mjs.map +1 -1
  27. package/package.json +18 -12
  28. package/public-api.d.ts +1 -0
  29. package/src/lib/components/flowable-status/flowable-status.columns.d.ts +3 -0
  30. package/src/lib/components/flowable-status/flowable-status.component.d.ts +34 -0
  31. package/src/lib/components/flowable-status/flowable-status.facade.d.ts +32 -0
  32. package/src/lib/components/flowable-status/flowable-status.form.component.d.ts +18 -0
  33. package/src/lib/components/flowable-status/flowable-status.module.d.ts +11 -0
  34. package/src/lib/components/flowable-status/flowable-status.service.d.ts +36 -0
  35. package/src/lib/components/flowable-status/flowable-status.state.d.ts +30 -0
  36. package/src/lib/components/flowable-status/index.d.ts +1 -0
  37. package/src/lib/components/flowable-status/public-api.d.ts +2 -0
  38. package/src/lib/components/workflow-designer/action-dialog/action-dialog.component.d.ts +3 -1
  39. package/src/lib/components/workflow-designer/workflow-data.service.d.ts +3 -1
  40. package/src/lib/components/workflow-designer/workflow-designer.types.d.ts +2 -2
  41. package/src/lib/models/FlowableStatus.d.ts +5 -0
  42. package/src/lib/models/WorkflowAction.d.ts +1 -0
  43. package/src/lib/models/public-api.d.ts +1 -0
@@ -17,6 +17,7 @@ export * from 'verben-workflow-ui/src/lib/components/expiration';
17
17
  export * from 'verben-workflow-ui/src/lib/components/journal';
18
18
  export * from 'verben-workflow-ui/src/lib/components/task-notification';
19
19
  export * from 'verben-workflow-ui/src/lib/components/actors';
20
+ export * from 'verben-workflow-ui/src/lib/components/flowable-status';
20
21
 
21
22
  /*
22
23
  * Public API Surface of verben-ng-ui
@@ -24,9 +25,6 @@ export * from 'verben-workflow-ui/src/lib/components/actors';
24
25
  // export * from './lib/verben-ng-ui.service';
25
26
  // export * from './lib/verben-ng-ui.component';
26
27
  // Exporting modules
27
- // export * from 'verben-workflow-ui/src/lib/components/actors-v2';
28
- // export * from 'verben-workflow-ui/src/lib/components/actors-v3';
29
- // export * from 'verben-workflow-ui/src/lib/components/actors-readonly';
30
28
 
31
29
  /**
32
30
  * Generated bundle index. Do not edit.
@@ -1 +1 @@
1
- {"version":3,"file":"verben-workflow-ui.mjs","sources":["../../../projects/verben-workflow-ui/src/public-api.ts","../../../projects/verben-workflow-ui/src/verben-workflow-ui.ts"],"sourcesContent":["/*\n * Public API Surface of verben-ng-ui\n */\n\n// export * from './lib/verben-ng-ui.service';\n// export * from './lib/verben-ng-ui.component';\n\n// Exporting modules\n\nexport * from 'verben-workflow-ui/src/lib/services';\n\nexport * from 'verben-workflow-ui/src/lib/models';\n\nexport * from 'verben-workflow-ui/src/lib/shared';\n\nexport * from 'verben-workflow-ui/src/lib/components/tasks';\n\nexport * from 'verben-workflow-ui/src/lib/components/my-queue';\n\nexport * from 'verben-workflow-ui/src/lib/components/workflow';\nexport * from 'verben-workflow-ui/src/lib/components/workflows';\n\nexport * from 'verben-workflow-ui/src/lib/components/wf';\n\nexport * from 'verben-workflow-ui/src/lib/components/workflow-designer';\n\nexport * from 'verben-workflow-ui/src/lib/components/designer';\n\n//task history\nexport * from 'verben-workflow-ui/src/lib/components/task-history';\n//forms\nexport * from 'verben-workflow-ui/src/lib/components/forms';\n//form group\nexport * from 'verben-workflow-ui/src/lib/components/form-group';\n//form response\nexport * from 'verben-workflow-ui/src/lib/components/form-response';\n//stage details\nexport * from 'verben-workflow-ui/src/lib/components/stage-details';\n//expiration\nexport * from 'verben-workflow-ui/src/lib/components/expiration';\n\n//journal\nexport * from 'verben-workflow-ui/src/lib/components/journal';\n\nexport * from 'verben-workflow-ui/src/lib/components/task-notification';\n\n//actors\nexport * from 'verben-workflow-ui/src/lib/components/actors';\n// export * from 'verben-workflow-ui/src/lib/components/actors-v2';\n// export * from 'verben-workflow-ui/src/lib/components/actors-v3';\n// export * from 'verben-workflow-ui/src/lib/components/actors-readonly';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;;AAEG;AAEH;AACA;AAEA;AAyCA;AACA;AACA;;AClDA;;AAEG"}
1
+ {"version":3,"file":"verben-workflow-ui.mjs","sources":["../../../projects/verben-workflow-ui/src/public-api.ts","../../../projects/verben-workflow-ui/src/verben-workflow-ui.ts"],"sourcesContent":["/*\n * Public API Surface of verben-ng-ui\n */\n\n// export * from './lib/verben-ng-ui.service';\n// export * from './lib/verben-ng-ui.component';\n\n// Exporting modules\n\nexport * from 'verben-workflow-ui/src/lib/services';\n\nexport * from 'verben-workflow-ui/src/lib/models';\n\nexport * from 'verben-workflow-ui/src/lib/shared';\n\nexport * from 'verben-workflow-ui/src/lib/components/tasks';\n\nexport * from 'verben-workflow-ui/src/lib/components/my-queue';\n\nexport * from 'verben-workflow-ui/src/lib/components/workflow';\nexport * from 'verben-workflow-ui/src/lib/components/workflows';\n\nexport * from 'verben-workflow-ui/src/lib/components/wf';\n\nexport * from 'verben-workflow-ui/src/lib/components/workflow-designer';\n\nexport * from 'verben-workflow-ui/src/lib/components/designer';\n\n//task history\nexport * from 'verben-workflow-ui/src/lib/components/task-history';\n//forms\nexport * from 'verben-workflow-ui/src/lib/components/forms';\n//form group\nexport * from 'verben-workflow-ui/src/lib/components/form-group';\n//form response\nexport * from 'verben-workflow-ui/src/lib/components/form-response';\n//stage details\nexport * from 'verben-workflow-ui/src/lib/components/stage-details';\n//expiration\nexport * from 'verben-workflow-ui/src/lib/components/expiration';\n\n//journal\nexport * from 'verben-workflow-ui/src/lib/components/journal';\n\nexport * from 'verben-workflow-ui/src/lib/components/task-notification';\n\n//actors\nexport * from 'verben-workflow-ui/src/lib/components/actors';\n// export * from 'verben-workflow-ui/src/lib/components/actors-v2';\n// export * from 'verben-workflow-ui/src/lib/components/actors-v3';\n// export * from 'verben-workflow-ui/src/lib/components/actors-readonly';\n\n//flowable-status\nexport * from 'verben-workflow-ui/src/lib/components/flowable-status';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA;;AAEG;AAEH;AACA;AAEA;;ACPA;;AAEG"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "verben-workflow-ui",
3
- "version": "0.5.45",
3
+ "version": "0.5.47",
4
4
  "style": "styles/styles.css",
5
5
  "exports": {
6
6
  "./styles": {
@@ -21,12 +21,6 @@
21
21
  "esm": "./esm2022/src/lib/pipes/verben-workflow-ui-src-lib-pipes.mjs",
22
22
  "default": "./fesm2022/verben-workflow-ui-src-lib-pipes.mjs"
23
23
  },
24
- "./src/lib/services": {
25
- "types": "./src/lib/services/index.d.ts",
26
- "esm2022": "./esm2022/src/lib/services/verben-workflow-ui-src-lib-services.mjs",
27
- "esm": "./esm2022/src/lib/services/verben-workflow-ui-src-lib-services.mjs",
28
- "default": "./fesm2022/verben-workflow-ui-src-lib-services.mjs"
29
- },
30
24
  "./src/lib/models": {
31
25
  "types": "./src/lib/models/index.d.ts",
32
26
  "esm2022": "./esm2022/src/lib/models/verben-workflow-ui-src-lib-models.mjs",
@@ -39,6 +33,12 @@
39
33
  "esm": "./esm2022/src/lib/shared/verben-workflow-ui-src-lib-shared.mjs",
40
34
  "default": "./fesm2022/verben-workflow-ui-src-lib-shared.mjs"
41
35
  },
36
+ "./src/lib/services": {
37
+ "types": "./src/lib/services/index.d.ts",
38
+ "esm2022": "./esm2022/src/lib/services/verben-workflow-ui-src-lib-services.mjs",
39
+ "esm": "./esm2022/src/lib/services/verben-workflow-ui-src-lib-services.mjs",
40
+ "default": "./fesm2022/verben-workflow-ui-src-lib-services.mjs"
41
+ },
42
42
  "./src/lib/components/actors": {
43
43
  "types": "./src/lib/components/actors/index.d.ts",
44
44
  "esm2022": "./esm2022/src/lib/components/actors/verben-workflow-ui-src-lib-components-actors.mjs",
@@ -57,11 +57,11 @@
57
57
  "esm": "./esm2022/src/lib/components/expiration/verben-workflow-ui-src-lib-components-expiration.mjs",
58
58
  "default": "./fesm2022/verben-workflow-ui-src-lib-components-expiration.mjs"
59
59
  },
60
- "./src/lib/components/form-control": {
61
- "types": "./src/lib/components/form-control/index.d.ts",
62
- "esm2022": "./esm2022/src/lib/components/form-control/verben-workflow-ui-src-lib-components-form-control.mjs",
63
- "esm": "./esm2022/src/lib/components/form-control/verben-workflow-ui-src-lib-components-form-control.mjs",
64
- "default": "./fesm2022/verben-workflow-ui-src-lib-components-form-control.mjs"
60
+ "./src/lib/components/flowable-status": {
61
+ "types": "./src/lib/components/flowable-status/index.d.ts",
62
+ "esm2022": "./esm2022/src/lib/components/flowable-status/verben-workflow-ui-src-lib-components-flowable-status.mjs",
63
+ "esm": "./esm2022/src/lib/components/flowable-status/verben-workflow-ui-src-lib-components-flowable-status.mjs",
64
+ "default": "./fesm2022/verben-workflow-ui-src-lib-components-flowable-status.mjs"
65
65
  },
66
66
  "./src/lib/components/file-upload": {
67
67
  "types": "./src/lib/components/file-upload/index.d.ts",
@@ -69,6 +69,12 @@
69
69
  "esm": "./esm2022/src/lib/components/file-upload/verben-workflow-ui-src-lib-components-file-upload.mjs",
70
70
  "default": "./fesm2022/verben-workflow-ui-src-lib-components-file-upload.mjs"
71
71
  },
72
+ "./src/lib/components/form-control": {
73
+ "types": "./src/lib/components/form-control/index.d.ts",
74
+ "esm2022": "./esm2022/src/lib/components/form-control/verben-workflow-ui-src-lib-components-form-control.mjs",
75
+ "esm": "./esm2022/src/lib/components/form-control/verben-workflow-ui-src-lib-components-form-control.mjs",
76
+ "default": "./fesm2022/verben-workflow-ui-src-lib-components-form-control.mjs"
77
+ },
72
78
  "./src/lib/components/form-group": {
73
79
  "types": "./src/lib/components/form-group/index.d.ts",
74
80
  "esm2022": "./esm2022/src/lib/components/form-group/verben-workflow-ui-src-lib-components-form-group.mjs",
package/public-api.d.ts CHANGED
@@ -17,3 +17,4 @@ export * from 'verben-workflow-ui/src/lib/components/expiration';
17
17
  export * from 'verben-workflow-ui/src/lib/components/journal';
18
18
  export * from 'verben-workflow-ui/src/lib/components/task-notification';
19
19
  export * from 'verben-workflow-ui/src/lib/components/actors';
20
+ export * from 'verben-workflow-ui/src/lib/components/flowable-status';
@@ -0,0 +1,3 @@
1
+ import { ColumnDefinition } from "verben-ng-ui";
2
+ import { FlowableStatus } from "verben-workflow-ui/src/lib/models";
3
+ export declare const columns: ColumnDefinition<FlowableStatus>[];
@@ -0,0 +1,34 @@
1
+ import { ChangeDetectorRef, WritableSignal } from '@angular/core';
2
+ import { FormBuilder } from '@angular/forms';
3
+ import { CardData, FormGroupConfig } from 'verben-ng-ui';
4
+ import { FlowableStatus } from 'verben-workflow-ui/src/lib/models';
5
+ import { BaseDataViewComponent, DataViewConfig } from 'verben-workflow-ui/src/lib/shared';
6
+ import { FlowableStatusFacade } from './flowable-status.facade';
7
+ import * as i0 from "@angular/core";
8
+ export declare class FlowableStatusComponent extends BaseDataViewComponent<FlowableStatus> {
9
+ private cdr;
10
+ private facade;
11
+ private fb;
12
+ config: DataViewConfig<FlowableStatus>;
13
+ formGroupConfig: WritableSignal<FormGroupConfig<any>>;
14
+ constructor(cdr: ChangeDetectorRef, facade: FlowableStatusFacade, fb: FormBuilder);
15
+ loadInitialData(): void;
16
+ protected getCardDataByIdentifier(code: string): CardData | undefined;
17
+ loadMore(): Promise<void>;
18
+ onSave(data: Partial<FlowableStatus>): Promise<void>;
19
+ handleSearch(event: {
20
+ key: string;
21
+ value: string;
22
+ }): void;
23
+ handleFetchedExport({ skip, limit }: any): void;
24
+ loadData(range: {
25
+ skip: number;
26
+ limit: number;
27
+ }): Promise<FlowableStatus[]>;
28
+ onStateChange(event: {
29
+ key: string;
30
+ value: boolean;
31
+ }): void;
32
+ static ɵfac: i0.ɵɵFactoryDeclaration<FlowableStatusComponent, never>;
33
+ static ɵcmp: i0.ɵɵComponentDeclaration<FlowableStatusComponent, "lib-flowable-status", never, {}, {}, never, never, false, never>;
34
+ }
@@ -0,0 +1,32 @@
1
+ import { Observable } from 'rxjs';
2
+ import { IDataFilter } from 'verben-ng-ui';
3
+ import { FlowableStatus, QueryParams } from 'verben-workflow-ui/src/lib/models';
4
+ import { UtilService } from 'verben-workflow-ui/src/lib/services';
5
+ import { FlowableStatusService } from './flowable-status.service';
6
+ import { FlowableStatusState } from './flowable-status.state';
7
+ import * as i0 from "@angular/core";
8
+ export declare class FlowableStatusFacade {
9
+ private service;
10
+ private state;
11
+ private utilService;
12
+ private searchSubject;
13
+ private destroy$;
14
+ constructor(service: FlowableStatusService, state: FlowableStatusState, utilService: UtilService);
15
+ isUpdating$(): Observable<boolean>;
16
+ getRequests$(): Observable<FlowableStatus[]>;
17
+ getQueryParams$(): Observable<QueryParams<FlowableStatus>>;
18
+ getSearchTerm$(): Observable<string>;
19
+ search(term: string): void;
20
+ private handleSearch;
21
+ filter(filterParams: IDataFilter[]): Promise<void>;
22
+ addNewRequest(task: FlowableStatus): void;
23
+ loadRequests(): Promise<void>;
24
+ loadRequestsWithParam(param: string): Promise<void>;
25
+ updateQueryParams(params: Partial<QueryParams<FlowableStatus>>): void;
26
+ addRequest(request: Partial<FlowableStatus>): Promise<void>;
27
+ updateRequest(request: FlowableStatus): Promise<void>;
28
+ loadMore(queue?: boolean): Promise<void>;
29
+ loadData(skip: number, limit: number): Promise<FlowableStatus[] | void>;
30
+ static ɵfac: i0.ɵɵFactoryDeclaration<FlowableStatusFacade, never>;
31
+ static ɵprov: i0.ɵɵInjectableDeclaration<FlowableStatusFacade>;
32
+ }
@@ -0,0 +1,18 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import { FormBuilder, FormGroup } from '@angular/forms';
3
+ import { CardData } from 'verben-ng-ui';
4
+ import { FlowableStatus } from 'verben-workflow-ui/src/lib/models';
5
+ import * as i0 from "@angular/core";
6
+ export declare class FlowableStatusFormComponent {
7
+ private fb;
8
+ onSave: EventEmitter<Partial<FlowableStatus>>;
9
+ switchView: EventEmitter<undefined>;
10
+ get currentData(): CardData | null;
11
+ set currentData(value: CardData | null);
12
+ private _currentData;
13
+ form: FormGroup;
14
+ constructor(fb: FormBuilder);
15
+ handleSubmit(): void;
16
+ static ɵfac: i0.ɵɵFactoryDeclaration<FlowableStatusFormComponent, never>;
17
+ static ɵcmp: i0.ɵɵComponentDeclaration<FlowableStatusFormComponent, "flowable-status-form", never, { "currentData": { "alias": "currentData"; "required": false; }; }, { "onSave": "onSave"; "switchView": "switchView"; }, never, never, false, never>;
18
+ }
@@ -0,0 +1,11 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./flowable-status.component";
3
+ import * as i2 from "./flowable-status.form.component";
4
+ import * as i3 from "@angular/common";
5
+ import * as i4 from "verben-workflow-ui/src/lib/shared";
6
+ import * as i5 from "@angular/router";
7
+ export declare class FlowableStatusModule {
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<FlowableStatusModule, never>;
9
+ static ɵmod: i0.ɵɵNgModuleDeclaration<FlowableStatusModule, [typeof i1.FlowableStatusComponent, typeof i2.FlowableStatusFormComponent], [typeof i3.CommonModule, typeof i4.SharedModule, typeof i5.RouterLink], [typeof i1.FlowableStatusComponent]>;
10
+ static ɵinj: i0.ɵɵInjectorDeclaration<FlowableStatusModule>;
11
+ }
@@ -0,0 +1,36 @@
1
+ import { ErrorResponse, FlowableStatus, Paged } from 'verben-workflow-ui/src/lib/models';
2
+ import { EnvironmentService, HttpWebRequestService } from 'verben-workflow-ui/src/lib/services';
3
+ import * as i0 from "@angular/core";
4
+ export declare class FlowableStatusService {
5
+ private httpService;
6
+ private envSvc;
7
+ private readonly BASE_URL;
8
+ constructor(httpService: HttpWebRequestService, envSvc: EnvironmentService);
9
+ /**
10
+ * Get data with pagination and sorting
11
+ * @param skip Number of records to skip
12
+ * @param limit Number of records to take
13
+ * @param sortParam Sort parameter
14
+ * @param sortOrder Sort order ('asc' or 'desc')
15
+ * @returns Promise containing the data
16
+ */
17
+ getData(skip: number, limit: number, sortParam: string, sortOrder: string): Promise<Paged<FlowableStatus> | ErrorResponse>;
18
+ /**
19
+ * Get data with additional parameter, pagination and sorting
20
+ * @param param Search parameter
21
+ * @param skip Number of records to skip
22
+ * @param limit Number of records to take
23
+ * @param sortParam Sort parameter
24
+ * @param sortOrder Sort order ('asc' or 'desc')
25
+ * @returns Promise containing the filtered data
26
+ */
27
+ getFlowableStatusWithParam(param: string, skip: number, limit: number, sortParam: string, sortOrder: string): Promise<Paged<FlowableStatus> | ErrorResponse>;
28
+ /**
29
+ * Save multiple data
30
+ * @param requests Array of data to save
31
+ * @returns Promise containing the save operation result
32
+ */
33
+ saveFlowableStatuses(requests: FlowableStatus[]): Promise<any | ErrorResponse>;
34
+ static ɵfac: i0.ɵɵFactoryDeclaration<FlowableStatusService, never>;
35
+ static ɵprov: i0.ɵɵInjectableDeclaration<FlowableStatusService>;
36
+ }
@@ -0,0 +1,30 @@
1
+ import { Observable } from 'rxjs';
2
+ import { IDataFilter } from 'verben-ng-ui';
3
+ import { FlowableStatus, QueryParams } from 'verben-workflow-ui/src/lib/models';
4
+ import * as i0 from "@angular/core";
5
+ export declare class FlowableStatusState {
6
+ private updating$;
7
+ private data$;
8
+ private searchTerm$;
9
+ private queryParams$;
10
+ private filterParams$;
11
+ isUpdating$(): Observable<boolean>;
12
+ setUpdating(isUpdating: boolean): void;
13
+ getRequests$(): Observable<FlowableStatus[]>;
14
+ setRequests(data: FlowableStatus[]): void;
15
+ getSearchTerm$(): Observable<string>;
16
+ getSearchTermValue(): string;
17
+ setSearchTerm(term: string): void;
18
+ getFilterParams$(): Observable<IDataFilter[]>;
19
+ setFilterParams(params: IDataFilter[]): void;
20
+ getQueryParams$(): Observable<QueryParams<FlowableStatus>>;
21
+ getQueryParamsValue(): QueryParams<FlowableStatus>;
22
+ updateQueryParams(params: Partial<QueryParams<FlowableStatus>>): void;
23
+ addRequest(task: FlowableStatus): void;
24
+ resetPagination(): void;
25
+ updateRequest(updatedRequest: FlowableStatus): void;
26
+ removeRequest(code: string): void;
27
+ appendRequests(newRequests: FlowableStatus[]): void;
28
+ static ɵfac: i0.ɵɵFactoryDeclaration<FlowableStatusState, never>;
29
+ static ɵprov: i0.ɵɵInjectableDeclaration<FlowableStatusState>;
30
+ }
@@ -0,0 +1 @@
1
+ export * from './public-api';
@@ -0,0 +1,2 @@
1
+ export * from './flowable-status.component';
2
+ export * from './flowable-status.module';
@@ -1,6 +1,6 @@
1
1
  import { EventEmitter, OnInit, WritableSignal } from '@angular/core';
2
2
  import { FormBuilder, FormGroup } from '@angular/forms';
3
- import { OperationAction } from 'verben-workflow-ui/src/lib/models';
3
+ import { FlowableStatus, OperationAction } from 'verben-workflow-ui/src/lib/models';
4
4
  import { WorkflowDataService } from '../workflow-data.service';
5
5
  import { Connection } from '../workflow-designer.types';
6
6
  import * as i0 from "@angular/core";
@@ -13,10 +13,12 @@ export declare class ActionDialogComponent implements OnInit {
13
13
  saved: EventEmitter<Connection>;
14
14
  actionForm: FormGroup;
15
15
  operationActions: WritableSignal<OperationAction[]>;
16
+ flowableStatuses: WritableSignal<FlowableStatus[]>;
16
17
  constructor(fb: FormBuilder, dataService: WorkflowDataService);
17
18
  ngOnInit(): void;
18
19
  saveAction(): void;
19
20
  private loadOperationActions;
21
+ private loadFlowableStatuses;
20
22
  onDialogClose(eventData: any): void;
21
23
  onDialogOpen(eventData: any): void;
22
24
  static ɵfac: i0.ɵɵFactoryDeclaration<ActionDialogComponent, never>;
@@ -1,4 +1,4 @@
1
- import { ActorTag, Escalation, Form, OperationAction, Paged, ReportSchedule, Tag, Workflow, WorkflowStage } from 'verben-workflow-ui/src/lib/models';
1
+ import { ActorTag, Escalation, FlowableStatus, Form, OperationAction, Paged, ReportSchedule, Tag, Workflow, WorkflowStage } from 'verben-workflow-ui/src/lib/models';
2
2
  import { EnvironmentService, HttpWebRequestService } from 'verben-workflow-ui/src/lib/services';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class WorkflowDataService {
@@ -11,6 +11,7 @@ export declare class WorkflowDataService {
11
11
  private readonly RS_MODEL_BASE_PATH;
12
12
  private readonly UTIL_BASE_PATH;
13
13
  private readonly ACTOR_MODEL_BASE_PATH;
14
+ private readonly FLOWABLE_STATUS_MODEL_BASE_PATH;
14
15
  constructor(httpService: HttpWebRequestService, envSvc: EnvironmentService);
15
16
  getWorkflowWithParam(param: string, skip?: number, limit?: number, sortParam?: string, sortOrder?: string): Promise<Paged<Workflow>>;
16
17
  getWorkflows(skip?: number, limit?: number): Promise<Paged<Workflow>>;
@@ -24,6 +25,7 @@ export declare class WorkflowDataService {
24
25
  getReportSchedules(skip?: number, limit?: number): Promise<Paged<ReportSchedule>>;
25
26
  getOperationActions(skip?: number, limit?: number): Promise<Paged<OperationAction>>;
26
27
  saveActorTags(requests: ActorTag[]): Promise<any>;
28
+ getFlowableStatuses(skip?: number, limit?: number): Promise<Paged<FlowableStatus>>;
27
29
  private createMockWorkflow;
28
30
  static ɵfac: i0.ɵɵFactoryDeclaration<WorkflowDataService, never>;
29
31
  static ɵprov: i0.ɵɵInjectableDeclaration<WorkflowDataService>;
@@ -1,5 +1,4 @@
1
- import { Tag } from 'verben-workflow-ui/src/lib/models';
2
- import { WorkflowStage } from 'verben-workflow-ui/src/lib/models';
1
+ import { Tag, WorkflowStage } from 'verben-workflow-ui/src/lib/models';
3
2
  export type ToolType = 'swimlane' | 'stage' | 'action' | 'form' | 'decision' | 'subflow' | null;
4
3
  export interface SwimlaneItem {
5
4
  order: number;
@@ -46,4 +45,5 @@ export interface Connection {
46
45
  condition?: string;
47
46
  label: string;
48
47
  action: string | null;
48
+ targetStatus?: string;
49
49
  }
@@ -0,0 +1,5 @@
1
+ import { BaseModel } from './base';
2
+ export interface FlowableStatus extends BaseModel {
3
+ Name: string;
4
+ Description: string;
5
+ }
@@ -9,4 +9,5 @@ export interface WorkflowAction extends BaseModel {
9
9
  OperationAction: string | null;
10
10
  SourcePointType?: 'top' | 'right' | 'bottom' | 'left';
11
11
  TargetPointType?: 'top' | 'right' | 'bottom' | 'left';
12
+ TargetStatus?: string;
12
13
  }
@@ -59,3 +59,4 @@ export * from './WorkflowAction';
59
59
  export * from './WorkflowOperation';
60
60
  export * from './WorkflowStage';
61
61
  export * from './File';
62
+ export * from './FlowableStatus';