@valtimo/process-management 13.42.0 → 13.44.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-process-management.mjs +1688 -278
- package/fesm2022/valtimo-process-management.mjs.map +1 -1
- package/lib/components/process-management-builder/panel/expression-autocomplete.d.ts +37 -0
- package/lib/components/process-management-builder/panel/expression-autocomplete.d.ts.map +1 -0
- package/lib/components/process-management-builder/panel/index.d.ts +2 -0
- package/lib/components/process-management-builder/panel/index.d.ts.map +1 -1
- package/lib/components/process-management-builder/panel/read-only-properties-panel.d.ts +17 -0
- package/lib/components/process-management-builder/panel/read-only-properties-panel.d.ts.map +1 -0
- package/lib/components/process-management-builder/panel/valtimo-properties-provider.d.ts +3 -1
- package/lib/components/process-management-builder/panel/valtimo-properties-provider.d.ts.map +1 -1
- package/lib/components/process-management-builder/process-management-builder.component.d.ts +45 -3
- package/lib/components/process-management-builder/process-management-builder.component.d.ts.map +1 -1
- package/lib/components/process-management-list/process-management-list.component.d.ts +1 -0
- package/lib/components/process-management-list/process-management-list.component.d.ts.map +1 -1
- package/lib/components/process-management-upload/process-management-upload.component.d.ts +46 -1
- package/lib/components/process-management-upload/process-management-upload.component.d.ts.map +1 -1
- package/lib/constants/process-management.test-ids.d.ts +26 -0
- package/lib/constants/process-management.test-ids.d.ts.map +1 -1
- package/lib/models/index.d.ts +2 -0
- package/lib/models/index.d.ts.map +1 -1
- package/lib/models/process-bean.model.d.ts +19 -0
- package/lib/models/process-bean.model.d.ts.map +1 -0
- package/lib/models/process-definition-import.model.d.ts +37 -0
- package/lib/models/process-definition-import.model.d.ts.map +1 -0
- package/lib/models/process-management.model.d.ts +11 -11
- package/lib/models/process-management.model.d.ts.map +1 -1
- package/lib/models/process.model.d.ts +2 -0
- package/lib/models/process.model.d.ts.map +1 -1
- package/lib/models/window.model.d.ts +2 -0
- package/lib/models/window.model.d.ts.map +1 -1
- package/lib/services/index.d.ts +1 -0
- package/lib/services/index.d.ts.map +1 -1
- package/lib/services/process-bean.service.d.ts +15 -0
- package/lib/services/process-bean.service.d.ts.map +1 -0
- package/lib/services/process-management-editor.service.d.ts +15 -0
- package/lib/services/process-management-editor.service.d.ts.map +1 -1
- package/lib/services/process-management.service.d.ts +5 -2
- package/lib/services/process-management.service.d.ts.map +1 -1
- package/lib/utils/process-management-builder.utils.d.ts +8 -0
- package/lib/utils/process-management-builder.utils.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { ProcessBeanDto } from '../../../models';
|
|
2
|
+
declare class ExpressionAutocomplete {
|
|
3
|
+
static $inject: string[];
|
|
4
|
+
private processBeans;
|
|
5
|
+
private panelContainer;
|
|
6
|
+
private stylesInjected;
|
|
7
|
+
private observer;
|
|
8
|
+
private documentClickHandlers;
|
|
9
|
+
constructor(eventBus: any);
|
|
10
|
+
private dispose;
|
|
11
|
+
private cleanupClickHandlers;
|
|
12
|
+
setProcessBeans(beans: ProcessBeanDto[]): void;
|
|
13
|
+
setPanelContainer(container: HTMLElement): void;
|
|
14
|
+
private startObserving;
|
|
15
|
+
private scanAndAttach;
|
|
16
|
+
private isExpressionField;
|
|
17
|
+
private attachAutocomplete;
|
|
18
|
+
private wrapWithEditor;
|
|
19
|
+
private setEditorMode;
|
|
20
|
+
private renderSimpleMode;
|
|
21
|
+
private renderCustomSelect;
|
|
22
|
+
private renderMethodDropdown;
|
|
23
|
+
private renderParameterInputs;
|
|
24
|
+
private buildAndSetExpression;
|
|
25
|
+
private parseExpression;
|
|
26
|
+
private parseParameters;
|
|
27
|
+
private escapeHtml;
|
|
28
|
+
private escapeAttr;
|
|
29
|
+
private camelCaseToReadable;
|
|
30
|
+
private injectStyles;
|
|
31
|
+
}
|
|
32
|
+
declare const ExpressionAutocompleteModule: {
|
|
33
|
+
__init__: string[];
|
|
34
|
+
expressionAutocomplete: (string | typeof ExpressionAutocomplete)[];
|
|
35
|
+
};
|
|
36
|
+
export { ExpressionAutocompleteModule, ExpressionAutocomplete };
|
|
37
|
+
//# sourceMappingURL=expression-autocomplete.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"expression-autocomplete.d.ts","sourceRoot":"","sources":["../../../../../../../projects/valtimo/process-management/src/lib/components/process-management-builder/panel/expression-autocomplete.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAC,cAAc,EAAC,MAAM,iBAAiB,CAAC;AAQ/C,cAAM,sBAAsB;IAC1B,MAAM,CAAC,OAAO,WAAgB;IAE9B,OAAO,CAAC,YAAY,CAAwB;IAC5C,OAAO,CAAC,cAAc,CAA4B;IAClD,OAAO,CAAC,cAAc,CAAS;IAC/B,OAAO,CAAC,QAAQ,CAAiC;IACjD,OAAO,CAAC,qBAAqB,CAAsC;gBAEvD,QAAQ,EAAE,GAAG;IAQzB,OAAO,CAAC,OAAO;IASf,OAAO,CAAC,oBAAoB;IAOrB,eAAe,CAAC,KAAK,EAAE,cAAc,EAAE,GAAG,IAAI;IAI9C,iBAAiB,CAAC,SAAS,EAAE,WAAW,GAAG,IAAI;IAMtD,OAAO,CAAC,cAAc;IAatB,OAAO,CAAC,aAAa;IAgBrB,OAAO,CAAC,iBAAiB;IAiDzB,OAAO,CAAC,kBAAkB;IAM1B,OAAO,CAAC,cAAc;IA2CtB,OAAO,CAAC,aAAa;IA4CrB,OAAO,CAAC,gBAAgB;IAwCxB,OAAO,CAAC,kBAAkB;IAkH1B,OAAO,CAAC,oBAAoB;IAkC5B,OAAO,CAAC,qBAAqB;IAyC7B,OAAO,CAAC,qBAAqB;IAwB7B,OAAO,CAAC,eAAe;IAUvB,OAAO,CAAC,eAAe;IAgCvB,OAAO,CAAC,UAAU;IAMlB,OAAO,CAAC,UAAU;IASlB,OAAO,CAAC,mBAAmB;IAM3B,OAAO,CAAC,YAAY;CA4JrB;AAED,QAAA,MAAM,4BAA4B;;;CAGjC,CAAC;AAEF,OAAO,EAAC,4BAA4B,EAAE,sBAAsB,EAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../projects/valtimo/process-management/src/lib/components/process-management-builder/panel/index.ts"],"names":[],"mappings":"AAgBA,cAAc,+BAA+B,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../projects/valtimo/process-management/src/lib/components/process-management-builder/panel/index.ts"],"names":[],"mappings":"AAgBA,cAAc,+BAA+B,CAAC;AAC9C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,2BAA2B,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
declare class ReadOnlyPropertiesProvider {
|
|
2
|
+
static $inject: string[];
|
|
3
|
+
constructor(propertiesPanel: any);
|
|
4
|
+
getGroups(): (groups: any[]) => any[];
|
|
5
|
+
}
|
|
6
|
+
declare class ReadOnlyPropertiesPanel {
|
|
7
|
+
static $inject: string[];
|
|
8
|
+
private _observer;
|
|
9
|
+
constructor(config: any, eventBus: any);
|
|
10
|
+
}
|
|
11
|
+
declare const ReadOnlyPropertiesPanelModule: {
|
|
12
|
+
__init__: string[];
|
|
13
|
+
readOnlyPropertiesProvider: (string | typeof ReadOnlyPropertiesProvider)[];
|
|
14
|
+
readOnlyPropertiesPanel: (string | typeof ReadOnlyPropertiesPanel)[];
|
|
15
|
+
};
|
|
16
|
+
export { ReadOnlyPropertiesPanel, ReadOnlyPropertiesPanelModule, ReadOnlyPropertiesProvider };
|
|
17
|
+
//# sourceMappingURL=read-only-properties-panel.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"read-only-properties-panel.d.ts","sourceRoot":"","sources":["../../../../../../../projects/valtimo/process-management/src/lib/components/process-management-builder/panel/read-only-properties-panel.ts"],"names":[],"mappings":"AAkCA,cAAM,0BAA0B;IAC9B,MAAM,CAAC,OAAO,WAAuB;gBAEzB,eAAe,EAAE,GAAG;IAIzB,SAAS,IAAI,CAAC,MAAM,EAAE,GAAG,EAAE,KAAK,GAAG,EAAE;CAM7C;AA4BD,cAAM,uBAAuB;IAC3B,MAAM,CAAC,OAAO,WAA0C;IAExD,OAAO,CAAC,SAAS,CAAiC;gBAEtC,MAAM,EAAE,GAAG,EAAE,QAAQ,EAAE,GAAG;CAUvC;AAED,QAAA,MAAM,6BAA6B;;;;CAIlC,CAAC;AAEF,OAAO,EAAC,uBAAuB,EAAE,6BAA6B,EAAE,0BAA0B,EAAC,CAAC"}
|
|
@@ -5,10 +5,12 @@ declare class ValtimoPropertiesProvider {
|
|
|
5
5
|
private get processManagementEditorService();
|
|
6
6
|
private get translateService();
|
|
7
7
|
private get pluginTranslationService();
|
|
8
|
+
private get processLinkService();
|
|
8
9
|
constructor(propertiesPanel: any);
|
|
9
10
|
private addAsSecondOrFirst;
|
|
10
11
|
getGroups(element: BpmnElement): (groups: any[]) => any[];
|
|
11
|
-
|
|
12
|
+
private getGroupIdForModificationType;
|
|
13
|
+
createCustomRootElement(element: any, processLink: ProcessLink | null, editingAllowed: boolean): any;
|
|
12
14
|
}
|
|
13
15
|
declare const ValtimoPropertiesProviderModule: {
|
|
14
16
|
__init__: string[];
|
package/lib/components/process-management-builder/panel/valtimo-properties-provider.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"valtimo-properties-provider.d.ts","sourceRoot":"","sources":["../../../../../../../projects/valtimo/process-management/src/lib/components/process-management-builder/panel/valtimo-properties-provider.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"valtimo-properties-provider.d.ts","sourceRoot":"","sources":["../../../../../../../projects/valtimo/process-management/src/lib/components/process-management-builder/panel/valtimo-properties-provider.ts"],"names":[],"mappings":"AAqBA,OAAO,EACL,WAAW,EAIZ,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAc,WAAW,EAAqB,MAAM,uBAAuB,CAAC;AAMnF,cAAM,yBAAyB;IAC7B,MAAM,CAAC,OAAO,WAAoC;IAElD,OAAO,KAAK,8BAA8B,GAEzC;IAED,OAAO,KAAK,gBAAgB,GAE3B;IAED,OAAO,KAAK,wBAAwB,GAEnC;IAED,OAAO,KAAK,kBAAkB,GAE7B;gBAEW,eAAe,EAAE,GAAG;IAIhC,OAAO,CAAC,kBAAkB;IASnB,SAAS,CAAC,OAAO,EAAE,WAAW,GAAG,CAAC,MAAM,EAAE,GAAG,EAAE,KAAK,GAAG,EAAE;IAkFhE,OAAO,CAAC,6BAA6B;IAW9B,uBAAuB,CAC5B,OAAO,EAAE,GAAG,EACZ,WAAW,EAAE,WAAW,GAAG,IAAI,EAC/B,cAAc,EAAE,OAAO,GACtB,GAAG;CAaP;AA8TD,QAAA,MAAM,+BAA+B;;;CAGpC,CAAC;AAEF,OAAO,EAAC,+BAA+B,EAAC,CAAC"}
|
|
@@ -11,6 +11,7 @@ import { BehaviorSubject, Observable } from 'rxjs';
|
|
|
11
11
|
import { ProcessDefinitionValidationError, UpdateProcessDefinitionCaseDefinitionRequest } from '../../models';
|
|
12
12
|
import { ProcessManagementEditorService, ProcessManagementService } from '../../services';
|
|
13
13
|
import { PluginTranslationService } from '@valtimo/plugin';
|
|
14
|
+
import { ProcessBeanService } from '../../services';
|
|
14
15
|
import * as i0 from "@angular/core";
|
|
15
16
|
export declare class ProcessManagementBuilderComponent implements AfterViewInit, OnDestroy {
|
|
16
17
|
private readonly breadcrumbService;
|
|
@@ -31,6 +32,7 @@ export declare class ProcessManagementBuilderComponent implements AfterViewInit,
|
|
|
31
32
|
private readonly pluginTranslationService;
|
|
32
33
|
private readonly editPermissionsService;
|
|
33
34
|
private readonly processLinkBuildingBlockApiService;
|
|
35
|
+
private readonly processBeanService;
|
|
34
36
|
modelerElementRef: ElementRef;
|
|
35
37
|
modelerPanelElementRef: ElementRef;
|
|
36
38
|
viewerElementRef: ElementRef;
|
|
@@ -42,17 +44,36 @@ export declare class ProcessManagementBuilderComponent implements AfterViewInit,
|
|
|
42
44
|
private _validationErrorElementIds;
|
|
43
45
|
private _validationHoverHandler;
|
|
44
46
|
private _validationOutHandler;
|
|
47
|
+
private _selectionChangedHandler;
|
|
48
|
+
private _fieldInputCleanupFns;
|
|
49
|
+
private _expressionAutocomplete;
|
|
50
|
+
private _activityMarkerElementIds;
|
|
51
|
+
private _activityMarkerUpdateTimeout;
|
|
52
|
+
private _autofilledElements;
|
|
53
|
+
private _autofilledElementIds;
|
|
54
|
+
private _viewerActive;
|
|
55
|
+
private get activeEditor();
|
|
56
|
+
private get loadedEditors();
|
|
45
57
|
readonly isReadOnlyProcess$: BehaviorSubject<boolean>;
|
|
46
58
|
readonly isSystemProcess$: BehaviorSubject<boolean>;
|
|
47
59
|
readonly draft$: BehaviorSubject<boolean>;
|
|
48
60
|
readonly canInitializeDocument$: BehaviorSubject<boolean>;
|
|
49
61
|
readonly startableByUser$: BehaviorSubject<boolean>;
|
|
50
62
|
readonly validationErrors$: Observable<ProcessDefinitionValidationError[]>;
|
|
63
|
+
readonly $markersVisible: import("@angular/core").WritableSignal<boolean>;
|
|
51
64
|
protected readonly testIds: {
|
|
52
65
|
readonly draftToggle: "processManagementBuilderDraftToggle";
|
|
53
66
|
readonly startsCaseToggle: "processManagementBuilderStartsCaseToggle";
|
|
54
67
|
readonly startableByUserToggle: "processManagementBuilderStartableByUserToggle";
|
|
55
68
|
readonly deployButton: "processManagementBuilderDeployButton";
|
|
69
|
+
readonly exportOption: "processManagementBuilderExportOption";
|
|
70
|
+
readonly markersVisibilityToggle: "processManagementBuilderMarkersVisibilityToggle";
|
|
71
|
+
readonly versionDropdown: "processManagementBuilderVersionDropdown";
|
|
72
|
+
readonly validateButton: "processManagementBuilderValidateButton";
|
|
73
|
+
readonly moreButton: "processManagementBuilderMoreButton";
|
|
74
|
+
readonly readOnlyTag: "processManagementBuilderReadOnlyTag";
|
|
75
|
+
readonly systemProcessTag: "processManagementBuilderSystemProcessTag";
|
|
76
|
+
readonly validationErrors: "processManagementBuilderValidationErrors";
|
|
56
77
|
};
|
|
57
78
|
readonly selectedProcessDefinitionXml$: Observable<import("@valtimo/process").ProcessDefinitionXml>;
|
|
58
79
|
readonly changesPending$: BehaviorSubject<boolean>;
|
|
@@ -60,6 +81,7 @@ export declare class ProcessManagementBuilderComponent implements AfterViewInit,
|
|
|
60
81
|
readonly context$: Observable<ManagementContext>;
|
|
61
82
|
readonly managementParams$: Observable<CaseManagementParams | BuildingBlockManagementParams>;
|
|
62
83
|
readonly hasEditPermissions$: Observable<boolean>;
|
|
84
|
+
readonly viewerActive$: Observable<boolean>;
|
|
63
85
|
private readonly _reload$;
|
|
64
86
|
readonly processDefinitionVersions$: Observable<ProcessDefinitionWithPropertiesDto[]>;
|
|
65
87
|
readonly processDefinitionVersionsListItems$: Observable<ListItem[]>;
|
|
@@ -69,10 +91,13 @@ export declare class ProcessManagementBuilderComponent implements AfterViewInit,
|
|
|
69
91
|
readonly showWarningConfirmationModal$: BehaviorSubject<boolean>;
|
|
70
92
|
private _pendingDeployAction;
|
|
71
93
|
private readonly _subscriptions;
|
|
72
|
-
constructor(breadcrumbService: BreadcrumbService, iconService: IconService, logger: NGXLogger, modalService: ModalService, notificationService: GlobalNotificationService, pageHeaderService: PageHeaderService, pageTitleService: PageTitleService, processLinkService: ProcessLinkService, processLinkStateService: ProcessLinkStateService, processManagementEditorService: ProcessManagementEditorService, processManagementService: ProcessManagementService, processService: ProcessService, route: ActivatedRoute, router: Router, translateService: TranslateService, pluginTranslationService: PluginTranslationService, editPermissionsService: EditPermissionsService, processLinkBuildingBlockApiService: ProcessLinkBuildingBlockApiService);
|
|
94
|
+
constructor(breadcrumbService: BreadcrumbService, iconService: IconService, logger: NGXLogger, modalService: ModalService, notificationService: GlobalNotificationService, pageHeaderService: PageHeaderService, pageTitleService: PageTitleService, processLinkService: ProcessLinkService, processLinkStateService: ProcessLinkStateService, processManagementEditorService: ProcessManagementEditorService, processManagementService: ProcessManagementService, processService: ProcessService, route: ActivatedRoute, router: Router, translateService: TranslateService, pluginTranslationService: PluginTranslationService, editPermissionsService: EditPermissionsService, processLinkBuildingBlockApiService: ProcessLinkBuildingBlockApiService, processBeanService: ProcessBeanService);
|
|
73
95
|
ngAfterViewInit(): void;
|
|
74
96
|
ngOnDestroy(): void;
|
|
75
|
-
|
|
97
|
+
exportBpmn(isReadOnlyProcess: boolean): void;
|
|
98
|
+
export(): void;
|
|
99
|
+
private getFileName;
|
|
100
|
+
private downloadFile;
|
|
76
101
|
validateProcessDefinition(isReadOnlyProcess: boolean): void;
|
|
77
102
|
deployChanges(isReadOnlyProcess: boolean): void;
|
|
78
103
|
private executeDeployChanges;
|
|
@@ -84,7 +109,6 @@ export declare class ProcessManagementBuilderComponent implements AfterViewInit,
|
|
|
84
109
|
};
|
|
85
110
|
}): void;
|
|
86
111
|
navigateBack(notification: null | 'success' | 'error'): void;
|
|
87
|
-
onValidationErrorClick(elementId: string): void;
|
|
88
112
|
onProcessToggleChange(field: keyof UpdateProcessDefinitionCaseDefinitionRequest | 'draft', value: boolean): void;
|
|
89
113
|
onWarningConfirmationConfirm(): void;
|
|
90
114
|
onWarningConfirmationCancel(): void;
|
|
@@ -96,9 +120,23 @@ export declare class ProcessManagementBuilderComponent implements AfterViewInit,
|
|
|
96
120
|
private parseDraftFromXml;
|
|
97
121
|
private isValidationError;
|
|
98
122
|
private highlightValidationErrors;
|
|
123
|
+
private highlightInvalidFieldsInPropertiesPanel;
|
|
99
124
|
private clearValidationErrors;
|
|
125
|
+
private highlightAutofilledElements;
|
|
126
|
+
private clearAutofilledHighlights;
|
|
127
|
+
private buildAutofilledOverlayElement;
|
|
128
|
+
private getAutofilledTooltip;
|
|
129
|
+
private getElementListeners;
|
|
130
|
+
toggleMarkerVisibility(): void;
|
|
131
|
+
private updateActivityMarkers;
|
|
132
|
+
private calculateMarkerPosition;
|
|
133
|
+
private buildActivityMarkerBadges;
|
|
134
|
+
private buildMarkerBadge;
|
|
135
|
+
private clearActivityMarkers;
|
|
136
|
+
private scheduleActivityMarkerUpdate;
|
|
100
137
|
private setSelectedProcessDefinitionToLatest;
|
|
101
138
|
private initModeler;
|
|
139
|
+
private loadProcessBeansForAutocomplete;
|
|
102
140
|
private initViewer;
|
|
103
141
|
private reload;
|
|
104
142
|
private handleUpdateEvent;
|
|
@@ -107,6 +145,9 @@ export declare class ProcessManagementBuilderComponent implements AfterViewInit,
|
|
|
107
145
|
private subscribeToProcessLinkUpdateEvents;
|
|
108
146
|
private subscribeToProcessLinkCreateEvents;
|
|
109
147
|
private subscribeToProcessLinkDeleteEvents;
|
|
148
|
+
private subscribeToViewerActive;
|
|
149
|
+
private subscribeToAutofillDismissEvents;
|
|
150
|
+
private removeAutofillOverlay;
|
|
110
151
|
private initIfCreate;
|
|
111
152
|
private shapeAddedHandler;
|
|
112
153
|
private shapeRemovedHandler;
|
|
@@ -118,6 +159,7 @@ export declare class ProcessManagementBuilderComponent implements AfterViewInit,
|
|
|
118
159
|
private initEditing;
|
|
119
160
|
private setCalledElementForBuildingBlockProcessLink;
|
|
120
161
|
private unsetCalledElementForBuildingBlockProcessLink;
|
|
162
|
+
onValidationErrorClick(elementId: string): void;
|
|
121
163
|
getValidationErrorMessage(error: {
|
|
122
164
|
reason: string;
|
|
123
165
|
errorCode?: string;
|
package/lib/components/process-management-builder/process-management-builder.component.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"process-management-builder.component.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/process-management/src/lib/components/process-management-builder/process-management-builder.component.ts"],"names":[],"mappings":"AAkBA,OAAO,EAAC,aAAa,EAAa,UAAU,EAAE,SAAS,
|
|
1
|
+
{"version":3,"file":"process-management-builder.component.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/process-management/src/lib/components/process-management-builder/process-management-builder.component.ts"],"names":[],"mappings":"AAkBA,OAAO,EAAC,aAAa,EAAa,UAAU,EAAE,SAAS,EAAoB,MAAM,eAAe,CAAC;AAEjG,OAAO,EAAC,cAAc,EAAE,MAAM,EAAC,M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 -39,6 +39,7 @@ export declare class ProcessManagementListComponent {
|
|
|
39
39
|
processDefinition: ProcessDefinitionWithPropertiesDto;
|
|
40
40
|
processLinks: import("@valtimo/process-link").ProcessLink[];
|
|
41
41
|
draft?: boolean;
|
|
42
|
+
autofilledElements?: import("@valtimo/process").AutofilledElement[];
|
|
42
43
|
}[]>;
|
|
43
44
|
readonly hasEditPermissions$: Observable<boolean>;
|
|
44
45
|
readonly FIELDS: ColumnConfig[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"process-management-list.component.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/process-management/src/lib/components/process-management-list/process-management-list.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAqC,YAAY,EAAS,MAAM,eAAe,CAAC;AAEvF,OAAO,EAAkB,gBAAgB,EAAC,MAAM,qBAAqB,CAAC;AACtE,OAAO,EACL,UAAU,EAEV,YAAY,EAGb,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,sBAAsB,EACtB,kBAAkB,EAElB,yBAAyB,EACzB,kCAAkC,EACnC,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAC,iBAAiB,EAAC,MAAM,kBAAkB,CAAC;AACnD,OAAO,EAA2B,WAAW,EAAC,MAAM,2BAA2B,CAAC;AAChF,OAAO,EAAC,eAAe,EAAsB,UAAU,EAAiB,MAAM,MAAM,CAAC;AACrF,OAAO,EAAC,uBAAuB,EAAC,MAAM,cAAc,CAAC;AACrD,OAAO,EAAC,wBAAwB,EAAE,6BAA6B,EAAC,MAAM,gBAAgB,CAAC;AACvF,OAAO,EAAC,cAAc,EAAC,MAAM,iBAAiB,CAAC;;AAI/C,qBAgBa,8BAA8B;IA4EvC,OAAO,CAAC,QAAQ,CAAC,WAAW;IAC5B,OAAO,CAAC,QAAQ,CAAC,mBAAmB;IACpC,OAAO,CAAC,QAAQ,CAAC,wBAAwB;IACzC,OAAO,CAAC,QAAQ,CAAC,6BAA6B;IAC9C,OAAO,CAAC,QAAQ,CAAC,gBAAgB;IACjC,OAAO,CAAC,QAAQ,CAAC,kBAAkB;IACnC,OAAO,CAAC,QAAQ,CAAC,KAAK;IACtB,OAAO,CAAC,QAAQ,CAAC,sBAAsB;IAlFzC,SAA0B,eAAe,mDAErC;IAEJ,SAAgB,QAAQ,8EAA0C;IAClE,SAAgB,gBAAgB,sDAE9B;IACF,SAAgB,gBAAgB,2BAAuC;IACvE,SAAgB,QAAQ,2BAAsC;IAC9D,SAAgB,OAAO;;;MAAoC;IAE3D,SAAgB,YAAY,EAAE,UAAU,EAAE,CAExC;IAEF,SAAgB,QAAQ,0DAAoC;IAE5D,SAAgB,mBAAmB;;qBAUD,MAAM;kBAAQ,MAAM
|
|
1
|
+
{"version":3,"file":"process-management-list.component.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/process-management/src/lib/components/process-management-list/process-management-list.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAqC,YAAY,EAAS,MAAM,eAAe,CAAC;AAEvF,OAAO,EAAkB,gBAAgB,EAAC,MAAM,qBAAqB,CAAC;AACtE,OAAO,EACL,UAAU,EAEV,YAAY,EAGb,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,sBAAsB,EACtB,kBAAkB,EAElB,yBAAyB,EACzB,kCAAkC,EACnC,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAC,iBAAiB,EAAC,MAAM,kBAAkB,CAAC;AACnD,OAAO,EAA2B,WAAW,EAAC,MAAM,2BAA2B,CAAC;AAChF,OAAO,EAAC,eAAe,EAAsB,UAAU,EAAiB,MAAM,MAAM,CAAC;AACrF,OAAO,EAAC,uBAAuB,EAAC,MAAM,cAAc,CAAC;AACrD,OAAO,EAAC,wBAAwB,EAAE,6BAA6B,EAAC,MAAM,gBAAgB,CAAC;AACvF,OAAO,EAAC,cAAc,EAAC,MAAM,iBAAiB,CAAC;;AAI/C,qBAgBa,8BAA8B;IA4EvC,OAAO,CAAC,QAAQ,CAAC,WAAW;IAC5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ef } from '@angular/core';
|
|
1
2
|
import { FormBuilder } from '@angular/forms';
|
|
2
3
|
import { TranslateService } from '@ngx-translate/core';
|
|
3
4
|
import { GlobalNotificationService } from '@valtimo/shared';
|
|
4
5
|
import { ProcessLinkService } from '@valtimo/process-link';
|
|
5
6
|
import { BehaviorSubject } from 'rxjs';
|
|
7
|
+
import { MissingReference, MissingReferenceType, ProcessDefinitionImportPreview, ReplacedElement, ReplacedElementType } from '../../models';
|
|
6
8
|
import { ProcessManagementService, ProcessManagementStateService } from '../../services';
|
|
7
9
|
import * as i0 from "@angular/core";
|
|
10
|
+
declare enum UPLOAD_STEP {
|
|
11
|
+
FILE_SELECT = "fileSelect",
|
|
12
|
+
REVIEW = "review",
|
|
13
|
+
SUMMARY = "summary"
|
|
14
|
+
}
|
|
8
15
|
export declare class ProcessManagementUploadComponent {
|
|
9
16
|
private readonly formBuilder;
|
|
10
17
|
private readonly notificationService;
|
|
@@ -12,18 +19,55 @@ export declare class ProcessManagementUploadComponent {
|
|
|
12
19
|
private readonly processManagementStateService;
|
|
13
20
|
private readonly processLinkService;
|
|
14
21
|
private readonly translateService;
|
|
22
|
+
private readonly changeDetectorRef;
|
|
15
23
|
readonly modalOpen$: import("rxjs").Observable<boolean>;
|
|
16
24
|
readonly showReplaceConfirmationModal$: BehaviorSubject<boolean>;
|
|
17
25
|
replaceModalContent: string;
|
|
18
26
|
private _conflictingProcessDefinitionId;
|
|
19
27
|
readonly ACCEPTED_FILES: string[];
|
|
28
|
+
readonly UPLOAD_STEP: typeof UPLOAD_STEP;
|
|
29
|
+
readonly testIds: {
|
|
30
|
+
readonly fileUploader: "processManagementUploadFileUploader";
|
|
31
|
+
readonly cancelButton: "processManagementUploadCancelButton";
|
|
32
|
+
readonly submitButton: "processManagementUploadSubmitButton";
|
|
33
|
+
readonly backButton: "processManagementUploadBackButton";
|
|
34
|
+
readonly importButton: "processManagementUploadImportButton";
|
|
35
|
+
readonly closeButton: "processManagementUploadCloseButton";
|
|
36
|
+
};
|
|
20
37
|
readonly form: import("@angular/forms").FormGroup<{
|
|
21
38
|
file: import("@angular/forms").FormControl<Set<any>>;
|
|
22
39
|
}>;
|
|
23
40
|
readonly fileSelected$: import("rxjs").Observable<boolean>;
|
|
24
|
-
|
|
41
|
+
readonly activeStep$: BehaviorSubject<UPLOAD_STEP>;
|
|
42
|
+
readonly preview$: BehaviorSubject<ProcessDefinitionImportPreview>;
|
|
43
|
+
readonly missingReferences$: BehaviorSubject<MissingReference[]>;
|
|
44
|
+
readonly importing$: BehaviorSubject<boolean>;
|
|
45
|
+
private _pluginConfigurationMapping?;
|
|
46
|
+
/**
|
|
47
|
+
* Leaving the file select step destroys cds-file-uploader, which empties the form control: every
|
|
48
|
+
* cds-file emits (remove) from its own ngOnDestroy. So the selection is kept here to import it
|
|
49
|
+
* afterwards, and to restore it when the user goes back.
|
|
50
|
+
*/
|
|
51
|
+
private _selectedFile;
|
|
52
|
+
private _selectedFileItems;
|
|
53
|
+
constructor(formBuilder: FormBuilder, notificationService: GlobalNotificationService, processManagementService: ProcessManagementService, processManagementStateService: ProcessManagementStateService, processLinkService: ProcessLinkService, translateService: TranslateService, changeDetectorRef: ChangeDetectorRef);
|
|
25
54
|
closeModal(): void;
|
|
26
55
|
uploadProcessBpmn(): void;
|
|
56
|
+
importProcessPackage(): void;
|
|
57
|
+
private showReplaceConfirmation;
|
|
58
|
+
private executeImportProcessPackage;
|
|
59
|
+
onBackClick(): void;
|
|
60
|
+
getMissingReferenceGroups(missingReferences: MissingReference[]): {
|
|
61
|
+
type: MissingReferenceType;
|
|
62
|
+
references: string[];
|
|
63
|
+
}[];
|
|
64
|
+
getReplacedElementGroups(elementsToReplace: ReplacedElement[]): {
|
|
65
|
+
type: ReplacedElementType;
|
|
66
|
+
keys: string[];
|
|
67
|
+
}[];
|
|
68
|
+
private previewProcessPackage;
|
|
69
|
+
private isZip;
|
|
70
|
+
private toFormData;
|
|
27
71
|
confirmReplace(): void;
|
|
28
72
|
clearReplaceModal(): void;
|
|
29
73
|
private uploadForCase;
|
|
@@ -32,4 +76,5 @@ export declare class ProcessManagementUploadComponent {
|
|
|
32
76
|
static ɵfac: i0.ɵɵFactoryDeclaration<ProcessManagementUploadComponent, never>;
|
|
33
77
|
static ɵcmp: i0.ɵɵComponentDeclaration<ProcessManagementUploadComponent, "valtimo-process-management-upload", never, {}, {}, never, never, true, never>;
|
|
34
78
|
}
|
|
79
|
+
export {};
|
|
35
80
|
//# sourceMappingURL=process-management-upload.component.d.ts.map
|
package/lib/components/process-management-upload/process-management-upload.component.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"process-management-upload.component.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/process-management/src/lib/components/process-management-upload/process-management-upload.component.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"process-management-upload.component.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/process-management/src/lib/components/process-management-upload/process-management-upload.component.ts"],"names":[],"mappings":"AAiBA,OAAO,EAA0B,iBAAiB,EAAuB,MAAM,eAAe,CAAC;AAC/F,OAAO,EAAC,WAAW,EAAkC,MAAM,gBAAgB,CAAC;AAC5E,OAAO,EAAkB,gBAAgB,EAAC,MAAM,qBAAqB,CAAC;AAOtE,OAAO,EAAC,yBAAyB,EAAC,MAAM,iBAAiB,CAAC;AAE1D,OAAO,EAAoC,kBAAkB,EAAC,MAAM,uBAAuB,CAAC;AAS5F,OAAO,EAAC,eAAe,EAAwC,MAAM,MAAM,CAAC;AAC5E,OAAO,EACL,gBAAgB,EAChB,oBAAoB,EACpB,8BAA8B,EAC9B,eAAe,EACf,mBAAmB,EACpB,MAAM,cAAc,CAAC;AAEtB,OAAO,EAAC,wBAAwB,EAAE,6BAA6B,EAAC,MAAM,gBAAgB,CAAC;;AAEvF,aAAK,WAAW;IACd,WAAW,eAAe;IAC1B,MAAM,WAAW;IACjB,OAAO,YAAY;CACpB;AAED,qBAqBa,gCAAgC;IA8CzC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AAE,oBAAoB,CAAC;QAAC,UAAU,EAAE,MAAM,EAAE,CAAA;KAAC,EAAE;IAchD,wBAAwB,CAC7B,iBAAiB,EAAE,eAAe,EAAE,GACnC;QAAC,IAAI,EAAE,mBAAmB,CAAC;QAAC,IAAI,EAAE,MAAM,EAAE,CAAA;KAAC,EAAE;IAchD,OAAO,CAAC,qBAAqB;IAwC7B,OAAO,CAAC,KAAK;IAIb,OAAO,CAAC,UAAU;IAMX,cAAc,IAAI,IAAI;IAwDtB,iBAAiB,IAAI,IAAI;IAIhC,OAAO,CAAC,aAAa;IAsCrB,OAAO,CAAC,iBAAiB;IA6BzB,OAAO,CAAC,wBAAwB;yCAlXrB,gCAAgC;2CAAhC,gCAAgC;CA+X5C"}
|
|
@@ -2,10 +2,36 @@ export declare const PROCESS_MANAGEMENT_LIST_TEST_IDS: {
|
|
|
2
2
|
readonly uploadButton: "processManagementUploadButton";
|
|
3
3
|
readonly createProcessButton: "processManagementCreateProcessButton";
|
|
4
4
|
};
|
|
5
|
+
export declare const PROCESS_MANAGEMENT_UPLOAD_TEST_IDS: {
|
|
6
|
+
readonly fileUploader: "processManagementUploadFileUploader";
|
|
7
|
+
readonly cancelButton: "processManagementUploadCancelButton";
|
|
8
|
+
readonly submitButton: "processManagementUploadSubmitButton";
|
|
9
|
+
readonly backButton: "processManagementUploadBackButton";
|
|
10
|
+
readonly importButton: "processManagementUploadImportButton";
|
|
11
|
+
readonly closeButton: "processManagementUploadCloseButton";
|
|
12
|
+
};
|
|
13
|
+
/**
|
|
14
|
+
* The "Process link" group the Valtimo properties provider adds to the bpmn-js
|
|
15
|
+
* properties panel. The surrounding panel is rendered by bpmn-js itself and
|
|
16
|
+
* cannot carry test ids — only this group is ours.
|
|
17
|
+
*/
|
|
18
|
+
export declare const PROCESS_LINK_PANEL_TEST_IDS: {
|
|
19
|
+
readonly createButton: "processLinkPanelCreateButton";
|
|
20
|
+
readonly editButton: "processLinkPanelEditButton";
|
|
21
|
+
readonly unlinkButton: "processLinkPanelUnlinkButton";
|
|
22
|
+
};
|
|
5
23
|
export declare const PROCESS_MANAGEMENT_BUILDER_TEST_IDS: {
|
|
6
24
|
readonly draftToggle: "processManagementBuilderDraftToggle";
|
|
7
25
|
readonly startsCaseToggle: "processManagementBuilderStartsCaseToggle";
|
|
8
26
|
readonly startableByUserToggle: "processManagementBuilderStartableByUserToggle";
|
|
9
27
|
readonly deployButton: "processManagementBuilderDeployButton";
|
|
28
|
+
readonly exportOption: "processManagementBuilderExportOption";
|
|
29
|
+
readonly markersVisibilityToggle: "processManagementBuilderMarkersVisibilityToggle";
|
|
30
|
+
readonly versionDropdown: "processManagementBuilderVersionDropdown";
|
|
31
|
+
readonly validateButton: "processManagementBuilderValidateButton";
|
|
32
|
+
readonly moreButton: "processManagementBuilderMoreButton";
|
|
33
|
+
readonly readOnlyTag: "processManagementBuilderReadOnlyTag";
|
|
34
|
+
readonly systemProcessTag: "processManagementBuilderSystemProcessTag";
|
|
35
|
+
readonly validationErrors: "processManagementBuilderValidationErrors";
|
|
10
36
|
};
|
|
11
37
|
//# sourceMappingURL=process-management.test-ids.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"process-management.test-ids.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/process-management/src/lib/constants/process-management.test-ids.ts"],"names":[],"mappings":"AAgBA,eAAO,MAAM,gCAAgC;;;CAGnC,CAAC;AAEX,eAAO,MAAM,mCAAmC
|
|
1
|
+
{"version":3,"file":"process-management.test-ids.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/process-management/src/lib/constants/process-management.test-ids.ts"],"names":[],"mappings":"AAgBA,eAAO,MAAM,gCAAgC;;;CAGnC,CAAC;AAEX,eAAO,MAAM,kCAAkC;;;;;;;CAOrC,CAAC;AAEX;;;;GAIG;AACH,eAAO,MAAM,2BAA2B;;;;CAI9B,CAAC;AAEX,eAAO,MAAM,mCAAmC;;;;;;;;;;;;;CAatC,CAAC"}
|
package/lib/models/index.d.ts
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
export * from './window.model';
|
|
2
2
|
export * from './bpmn.model';
|
|
3
|
+
export * from './process-bean.model';
|
|
4
|
+
export * from './process-definition-import.model';
|
|
3
5
|
export * from './process-management.model';
|
|
4
6
|
export * from './process.model';
|
|
5
7
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/process-management/src/lib/models/index.ts"],"names":[],"mappings":"AAgBA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,cAAc,CAAC;AAC7B,cAAc,4BAA4B,CAAC;AAC3C,cAAc,iBAAiB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/process-management/src/lib/models/index.ts"],"names":[],"mappings":"AAgBA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,cAAc,CAAC;AAC7B,cAAc,sBAAsB,CAAC;AACrC,cAAc,mCAAmC,CAAC;AAClD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,iBAAiB,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
interface ProcessBeanMethodParameterDto {
|
|
2
|
+
name: string;
|
|
3
|
+
type: string;
|
|
4
|
+
}
|
|
5
|
+
interface ProcessBeanMethodDto {
|
|
6
|
+
name: string;
|
|
7
|
+
description: string | null;
|
|
8
|
+
example: string | null;
|
|
9
|
+
returnType: string;
|
|
10
|
+
parameters: ProcessBeanMethodParameterDto[];
|
|
11
|
+
}
|
|
12
|
+
interface ProcessBeanDto {
|
|
13
|
+
name: string;
|
|
14
|
+
className: string;
|
|
15
|
+
description: string | null;
|
|
16
|
+
methods: ProcessBeanMethodDto[];
|
|
17
|
+
}
|
|
18
|
+
export { ProcessBeanDto, ProcessBeanMethodDto, ProcessBeanMethodParameterDto };
|
|
19
|
+
//# sourceMappingURL=process-bean.model.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"process-bean.model.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/process-management/src/lib/models/process-bean.model.ts"],"names":[],"mappings":"AAgBA,UAAU,6BAA6B;IACrC,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;CACd;AAED,UAAU,oBAAoB;IAC5B,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,6BAA6B,EAAE,CAAC;CAC7C;AAED,UAAU,cAAc;IACtB,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,OAAO,EAAE,oBAAoB,EAAE,CAAC;CACjC;AAED,OAAO,EAAC,cAAc,EAAE,oBAAoB,EAAE,6BAA6B,EAAC,CAAC"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
type MissingReferenceType = 'SUB_PROCESS' | 'DECISION_DEFINITION' | 'FORM' | 'FORM_FLOW' | 'READ_ONLY_SYSTEM_PROCESS';
|
|
2
|
+
interface MissingReference {
|
|
3
|
+
type: MissingReferenceType;
|
|
4
|
+
reference: string;
|
|
5
|
+
activityId: string | null;
|
|
6
|
+
processDefinitionKey: string | null;
|
|
7
|
+
blocksImport: boolean;
|
|
8
|
+
}
|
|
9
|
+
interface ProcessDefinitionPluginConfigurationPreview {
|
|
10
|
+
pluginConfigurationId: string;
|
|
11
|
+
pluginDefinitionKey: string | null;
|
|
12
|
+
pluginActionDefinitionKey: string;
|
|
13
|
+
processDefinitionKey: string;
|
|
14
|
+
activityId: string;
|
|
15
|
+
existsInTargetEnvironment: boolean;
|
|
16
|
+
}
|
|
17
|
+
type ReplacedElementType = 'PROCESS_DEFINITION' | 'DECISION_DEFINITION' | 'FORM';
|
|
18
|
+
interface ReplacedElement {
|
|
19
|
+
type: ReplacedElementType;
|
|
20
|
+
key: string;
|
|
21
|
+
}
|
|
22
|
+
interface ProcessDefinitionImportPreview {
|
|
23
|
+
processDefinitionKeys: string[];
|
|
24
|
+
/** The processes of the package that already exist here and will be replaced by the import. */
|
|
25
|
+
existingProcessDefinitionKeys: string[];
|
|
26
|
+
pluginConfigurations: ProcessDefinitionPluginConfigurationPreview[];
|
|
27
|
+
missingReferences: MissingReference[];
|
|
28
|
+
/** Elements bundled in the package that already exist here and will be replaced by the import. */
|
|
29
|
+
elementsToReplace: ReplacedElement[];
|
|
30
|
+
canImport: boolean;
|
|
31
|
+
}
|
|
32
|
+
interface ProcessDefinitionImportResult {
|
|
33
|
+
processDefinitionKeys: string[];
|
|
34
|
+
missingReferences: MissingReference[];
|
|
35
|
+
}
|
|
36
|
+
export { MissingReference, MissingReferenceType, ProcessDefinitionImportPreview, ProcessDefinitionImportResult, ProcessDefinitionPluginConfigurationPreview, ReplacedElement, ReplacedElementType, };
|
|
37
|
+
//# sourceMappingURL=process-definition-import.model.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"process-definition-import.model.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/process-management/src/lib/models/process-definition-import.model.ts"],"names":[],"mappings":"AAgBA,KAAK,oBAAoB,GACrB,aAAa,GACb,qBAAqB,GACrB,MAAM,GACN,WAAW,GACX,0BAA0B,CAAC;AAE/B,UAAU,gBAAgB;IACxB,IAAI,EAAE,oBAAoB,CAAC;IAC3B,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,oBAAoB,EAAE,MAAM,GAAG,IAAI,CAAC;IACpC,YAAY,EAAE,OAAO,CAAC;CACvB;AAED,UAAU,2CAA2C;IACnD,qBAAqB,EAAE,MAAM,CAAC;IAC9B,mBAAmB,EAAE,MAAM,GAAG,IAAI,CAAC;IACnC,yBAAyB,EAAE,MAAM,CAAC;IAClC,oBAAoB,EAAE,MAAM,CAAC;IAC7B,UAAU,EAAE,MAAM,CAAC;IACnB,yBAAyB,EAAE,OAAO,CAAC;CACpC;AAED,KAAK,mBAAmB,GAAG,oBAAoB,GAAG,qBAAqB,GAAG,MAAM,CAAC;AAEjF,UAAU,eAAe;IACvB,IAAI,EAAE,mBAAmB,CAAC;IAC1B,GAAG,EAAE,MAAM,CAAC;CACb;AAED,UAAU,8BAA8B;IACtC,qBAAqB,EAAE,MAAM,EAAE,CAAC;IAChC,+FAA+F;IAC/F,6BAA6B,EAAE,MAAM,EAAE,CAAC;IACxC,oBAAoB,EAAE,2CAA2C,EAAE,CAAC;IACpE,iBAAiB,EAAE,gBAAgB,EAAE,CAAC;IACtC,kGAAkG;IAClG,iBAAiB,EAAE,eAAe,EAAE,CAAC;IACrC,SAAS,EAAE,OAAO,CAAC;CACpB;AAED,UAAU,6BAA6B;IACrC,qBAAqB,EAAE,MAAM,EAAE,CAAC;IAChC,iBAAiB,EAAE,gBAAgB,EAAE,CAAC;CACvC;AAED,OAAO,EACL,gBAAgB,EAChB,oBAAoB,EACpB,8BAA8B,EAC9B,6BAA6B,EAC7B,2CAA2C,EAC3C,eAAe,EACf,mBAAmB,GACpB,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ModalParams, ProcessLink } from '@valtimo/process-link';
|
|
2
|
-
import { ManagementContext } from '@valtimo/shared';
|
|
2
|
+
import { ManagementContext, ProcessDefinitionValidationError } from '@valtimo/shared';
|
|
3
3
|
interface OpenProcessLinkModalEvent {
|
|
4
4
|
modalParams: ModalParams;
|
|
5
5
|
processLink?: ProcessLink;
|
|
@@ -18,15 +18,6 @@ interface UpdateProcessDefinitionCaseDefinitionRequest {
|
|
|
18
18
|
canInitializeDocument?: boolean;
|
|
19
19
|
startableByUser?: boolean;
|
|
20
20
|
}
|
|
21
|
-
interface ProcessDefinitionValidationError {
|
|
22
|
-
elementId: string;
|
|
23
|
-
elementType: string;
|
|
24
|
-
elementName?: string;
|
|
25
|
-
reason: string;
|
|
26
|
-
errorCode?: string;
|
|
27
|
-
expression?: string;
|
|
28
|
-
severity?: 'ERROR' | 'WARNING';
|
|
29
|
-
}
|
|
30
21
|
interface ProcessDefinitionValidationResult {
|
|
31
22
|
isValid: boolean;
|
|
32
23
|
hasWarnings: boolean;
|
|
@@ -35,6 +26,15 @@ interface ProcessDefinitionValidationResult {
|
|
|
35
26
|
interface ProcessDefinitionValidateRequest {
|
|
36
27
|
bpmnXml: string;
|
|
37
28
|
processLinks: any[];
|
|
29
|
+
canInitializeDocument?: boolean;
|
|
30
|
+
startableByUser?: boolean;
|
|
31
|
+
}
|
|
32
|
+
interface ActivityMarkerInfo {
|
|
33
|
+
hasExecutionListener: boolean;
|
|
34
|
+
hasTaskListener: boolean;
|
|
35
|
+
hasProcessLink: boolean;
|
|
36
|
+
executionListenerCount: number;
|
|
37
|
+
taskListenerCount: number;
|
|
38
38
|
}
|
|
39
|
-
export { OpenProcessLinkModalEvent, PROCESS_MANAGEMENT_ENDPOINTS, ProcessManagementRouteData, UpdateProcessDefinitionCaseDefinitionRequest, DeleteProcessLinkEvent, ProcessDefinitionValidationError, ProcessDefinitionValidationResult, ProcessDefinitionValidateRequest, };
|
|
39
|
+
export { OpenProcessLinkModalEvent, PROCESS_MANAGEMENT_ENDPOINTS, ProcessManagementRouteData, UpdateProcessDefinitionCaseDefinitionRequest, DeleteProcessLinkEvent, ProcessDefinitionValidationError, ProcessDefinitionValidationResult, ProcessDefinitionValidateRequest, ActivityMarkerInfo, };
|
|
40
40
|
//# sourceMappingURL=process-management.model.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"process-management.model.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/process-management/src/lib/models/process-management.model.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAC,WAAW,EAAE,WAAW,EAAC,MAAM,uBAAuB,CAAC;AAC/D,OAAO,EAAC,iBAAiB,EAAC,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"process-management.model.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/process-management/src/lib/models/process-management.model.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAC,WAAW,EAAE,WAAW,EAAC,MAAM,uBAAuB,CAAC;AAC/D,OAAO,EAAC,iBAAiB,EAAE,gCAAgC,EAAC,MAAM,iBAAiB,CAAC;AAEpF,UAAU,yBAAyB;IACjC,WAAW,EAAE,WAAW,CAAC;IACzB,WAAW,CAAC,EAAE,WAAW,CAAC;CAC3B;AAED,UAAU,sBAAsB;IAC9B,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,QAAA,MAAM,4BAA4B;;;CAGjC,CAAC;AAEF,UAAU,0BAA0B;IAClC,OAAO,EAAE,iBAAiB,CAAC;CAC5B;AAED,UAAU,4CAA4C;IACpD,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC,eAAe,CAAC,EAAE,OAAO,CAAC;CAC3B;AAED,UAAU,iCAAiC;IACzC,OAAO,EAAE,OAAO,CAAC;IACjB,WAAW,EAAE,OAAO,CAAC;IACrB,MAAM,EAAE,gCAAgC,EAAE,CAAC;CAC5C;AAED,UAAU,gCAAgC;IACxC,OAAO,EAAE,MAAM,CAAC;IAChB,YAAY,EAAE,GAAG,EAAE,CAAC;IACpB,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC,eAAe,CAAC,EAAE,OAAO,CAAC;CAC3B;AAED,UAAU,kBAAkB;IAC1B,oBAAoB,EAAE,OAAO,CAAC;IAC9B,eAAe,EAAE,OAAO,CAAC;IACzB,cAAc,EAAE,OAAO,CAAC;IACxB,sBAAsB,EAAE,MAAM,CAAC;IAC/B,iBAAiB,EAAE,MAAM,CAAC;CAC3B;AAED,OAAO,EACL,yBAAyB,EACzB,4BAA4B,EAC5B,0BAA0B,EAC1B,4CAA4C,EAC5C,sBAAsB,EACtB,gCAAgC,EAChC,iCAAiC,EACjC,gCAAgC,EAChC,kBAAkB,GACnB,CAAC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { ProcessDocumentDefinition } from '@valtimo/document';
|
|
2
2
|
import { ProcessLink } from '@valtimo/process-link';
|
|
3
|
+
import { AutofilledElement } from '@valtimo/process';
|
|
3
4
|
import { ProcessDefinitionWithPropertiesDto } from '@valtimo/shared';
|
|
4
5
|
interface ProcessDefinitionResult {
|
|
5
6
|
bpmn20Xml: string;
|
|
@@ -7,6 +8,7 @@ interface ProcessDefinitionResult {
|
|
|
7
8
|
processDefinition: ProcessDefinitionWithPropertiesDto;
|
|
8
9
|
processLinks: ProcessLink[];
|
|
9
10
|
draft?: boolean;
|
|
11
|
+
autofilledElements?: AutofilledElement[];
|
|
10
12
|
}
|
|
11
13
|
export { ProcessDefinitionResult };
|
|
12
14
|
//# sourceMappingURL=process.model.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"process.model.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/process-management/src/lib/models/process.model.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAC,yBAAyB,EAAC,MAAM,mBAAmB,CAAC;AAC5D,OAAO,EAAC,WAAW,EAAC,MAAM,uBAAuB,CAAC;AAClD,OAAO,EAAC,kCAAkC,EAAC,MAAM,iBAAiB,CAAC;AAEnE,UAAU,uBAAuB;IAC/B,SAAS,EAAE,MAAM,CAAC;IAClB,eAAe,CAAC,EAAE,yBAAyB,CAAC;IAC5C,iBAAiB,EAAE,kCAAkC,CAAC;IACtD,YAAY,EAAE,WAAW,EAAE,CAAC;IAC5B,KAAK,CAAC,EAAE,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"process.model.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/process-management/src/lib/models/process.model.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAC,yBAAyB,EAAC,MAAM,mBAAmB,CAAC;AAC5D,OAAO,EAAC,WAAW,EAAC,MAAM,uBAAuB,CAAC;AAClD,OAAO,EAAC,iBAAiB,EAAC,MAAM,kBAAkB,CAAC;AACnD,OAAO,EAAC,kCAAkC,EAAC,MAAM,iBAAiB,CAAC;AAEnE,UAAU,uBAAuB;IAC/B,SAAS,EAAE,MAAM,CAAC;IAClB,eAAe,CAAC,EAAE,yBAAyB,CAAC;IAC5C,iBAAiB,EAAE,kCAAkC,CAAC;IACtD,YAAY,EAAE,WAAW,EAAE,CAAC;IAC5B,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,kBAAkB,CAAC,EAAE,iBAAiB,EAAE,CAAC;CAC1C;AAED,OAAO,EAAC,uBAAuB,EAAC,CAAC"}
|
|
@@ -2,10 +2,12 @@ import { ValtimoWindow } from '@valtimo/shared';
|
|
|
2
2
|
import { ProcessManagementEditorService } from '../services';
|
|
3
3
|
import { TranslateService } from '@ngx-translate/core';
|
|
4
4
|
import { PluginTranslationService } from '@valtimo/plugin';
|
|
5
|
+
import { ProcessLinkService } from '@valtimo/process-link';
|
|
5
6
|
interface ProcessManagementWindow extends ValtimoWindow {
|
|
6
7
|
processManagementEditorService: ProcessManagementEditorService;
|
|
7
8
|
translateService: TranslateService;
|
|
8
9
|
pluginTranslationService: PluginTranslationService;
|
|
10
|
+
processLinkService: ProcessLinkService;
|
|
9
11
|
}
|
|
10
12
|
export { ProcessManagementWindow };
|
|
11
13
|
//# sourceMappingURL=window.model.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"window.model.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/process-management/src/lib/models/window.model.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAC,aAAa,EAAC,MAAM,iBAAiB,CAAC;AAC9C,OAAO,EAAC,8BAA8B,EAAC,MAAM,aAAa,CAAC;AAC3D,OAAO,EAAC,gBAAgB,EAAC,MAAM,qBAAqB,CAAC;AACrD,OAAO,EAAC,wBAAwB,EAAC,MAAM,iBAAiB,CAAC;AAEzD,UAAU,uBAAwB,SAAQ,aAAa;IACrD,8BAA8B,EAAE,8BAA8B,CAAC;IAC/D,gBAAgB,EAAE,gBAAgB,CAAC;IACnC,wBAAwB,EAAE,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"window.model.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/process-management/src/lib/models/window.model.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAC,aAAa,EAAC,MAAM,iBAAiB,CAAC;AAC9C,OAAO,EAAC,8BAA8B,EAAC,MAAM,aAAa,CAAC;AAC3D,OAAO,EAAC,gBAAgB,EAAC,MAAM,qBAAqB,CAAC;AACrD,OAAO,EAAC,wBAAwB,EAAC,MAAM,iBAAiB,CAAC;AACzD,OAAO,EAAC,kBAAkB,EAAC,MAAM,uBAAuB,CAAC;AAEzD,UAAU,uBAAwB,SAAQ,aAAa;IACrD,8BAA8B,EAAE,8BAA8B,CAAC;IAC/D,gBAAgB,EAAE,gBAAgB,CAAC;IACnC,wBAAwB,EAAE,wBAAwB,CAAC;IACnD,kBAAkB,EAAE,kBAAkB,CAAC;CACxC;AAED,OAAO,EAAC,uBAAuB,EAAC,CAAC"}
|
package/lib/services/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/process-management/src/lib/services/index.ts"],"names":[],"mappings":"AAgBA,cAAc,qCAAqC,CAAC;AACpD,cAAc,oCAAoC,CAAC;AACnD,cAAc,8BAA8B,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/process-management/src/lib/services/index.ts"],"names":[],"mappings":"AAgBA,cAAc,wBAAwB,CAAC;AACvC,cAAc,qCAAqC,CAAC;AACpD,cAAc,oCAAoC,CAAC;AACnD,cAAc,8BAA8B,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { HttpClient } from '@angular/common/http';
|
|
2
|
+
import { BaseApiService, ConfigService } from '@valtimo/shared';
|
|
3
|
+
import { Observable } from 'rxjs';
|
|
4
|
+
import { ProcessBeanDto } from '../models';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class ProcessBeanService extends BaseApiService {
|
|
7
|
+
protected readonly httpClient: HttpClient;
|
|
8
|
+
protected readonly configService: ConfigService;
|
|
9
|
+
constructor(httpClient: HttpClient, configService: ConfigService);
|
|
10
|
+
getProcessBeans(): Observable<ProcessBeanDto[]>;
|
|
11
|
+
getProcessBean(beanName: string): Observable<ProcessBeanDto>;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProcessBeanService, never>;
|
|
13
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ProcessBeanService>;
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=process-bean.service.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"process-bean.service.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/process-management/src/lib/services/process-bean.service.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAC,UAAU,EAAC,MAAM,sBAAsB,CAAC;AAEhD,OAAO,EAAC,cAAc,EAAE,aAAa,EAAC,MAAM,iBAAiB,CAAC;AAC9D,OAAO,EAAC,UAAU,EAAC,MAAM,MAAM,CAAC;AAChC,OAAO,EAAC,cAAc,EAAC,MAAM,WAAW,CAAC;;AAEzC,qBAGa,kBAAmB,SAAQ,cAAc;IAElD,SAAS,CAAC,QAAQ,CAAC,UAAU,EAAE,UAAU;IACzC,SAAS,CAAC,QAAQ,CAAC,aAAa,EAAE,aAAa;gBAD5B,UAAU,EAAE,UAAU,EACtB,aAAa,EAAE,aAAa;IAK1C,eAAe,IAAI,UAAU,CAAC,cAAc,EAAE,CAAC;IAM/C,cAAc,CAAC,QAAQ,EAAE,MAAM,GAAG,UAAU,CAAC,cAAc,CAAC;yCAdxD,kBAAkB;6CAAlB,kBAAkB;CAmB9B"}
|