@omnia/management-system 7.1.67-preview → 7.1.69-preview
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.
@@ -1,6 +1,6 @@
|
|
1
1
|
import { GuidValue, MultilingualString } from "@omnia/fx/models";
|
2
|
-
import { IProcessData } from "./ProcessCustomButtonProvider";
|
3
2
|
import { DrawingShapeDefinition } from "../data";
|
3
|
+
import { ProcessDesignerStore } from "internal/processdesigner/stores";
|
4
4
|
export declare enum ProcessButtonType {
|
5
5
|
ShapeButton = 0,
|
6
6
|
ProcessButton = 1
|
@@ -17,8 +17,14 @@ export interface IProcessButtonRenderer {
|
|
17
17
|
displayType: DisplayProcessButtonType;
|
18
18
|
tooltip?: string;
|
19
19
|
icon?: string;
|
20
|
-
|
21
|
-
|
20
|
+
/**
|
21
|
+
* If you set this value the modelContentManifest will be opened in a dialog
|
22
|
+
*/
|
23
|
+
modelContentManifestId?: GuidValue;
|
24
|
+
/**
|
25
|
+
* @param currentStore From this you can get the current state of the process and shapes when the button is clicked
|
26
|
+
*/
|
27
|
+
onTriggered?: (currentStore?: ProcessDesignerStore) => void;
|
22
28
|
}
|
23
29
|
export interface IProcessButtonGroupRenderer extends IProcessButtonRenderer {
|
24
30
|
buttons: Array<IProcessButtonRenderer>;
|
@@ -1,7 +1,5 @@
|
|
1
1
|
import { ApiPath } from "@omnia/fx/models";
|
2
2
|
import { IProcessButtonRenderer } from "./ProcessCustomButton";
|
3
|
-
export interface IProcessData {
|
4
|
-
}
|
5
3
|
export interface IProcessCustomButtonConfigurationApi {
|
6
4
|
addCustomButton: (items: IProcessButtonRenderer | IProcessButtonRenderer[]) => void;
|
7
5
|
getAllButtons: () => IProcessButtonRenderer[];
|
package/package.json
CHANGED