bruce-models 7.1.92 → 7.1.93

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.
@@ -135,5 +135,5 @@ __exportStar(require("./util/object-utils"), exports);
135
135
  __exportStar(require("./util/path-utils"), exports);
136
136
  __exportStar(require("./util/url-utils"), exports);
137
137
  // This is updated with the package.json version on build.
138
- exports.VERSION = "7.1.92";
138
+ exports.VERSION = "7.1.93";
139
139
  //# sourceMappingURL=bruce-models.js.map
@@ -117,4 +117,4 @@ export * from "./util/math-utils";
117
117
  export * from "./util/object-utils";
118
118
  export * from "./util/path-utils";
119
119
  export * from "./util/url-utils";
120
- export declare const VERSION = "7.1.92";
120
+ export declare const VERSION = "7.1.93";
@@ -17,7 +17,7 @@ export declare namespace CustomFormContent {
17
17
  component: Component;
18
18
  params: StackItemParams;
19
19
  }
20
- type Component = "STATIC_TEXT" | "ENTITY_TEXT" | "IFRAME" | "LINK" | "ENTITY_GALLERY" | "ENTITY_ATTRIBUTES" | "ENTITY_ATTRIBUTE_GROUP" | "ENTITY_COMMENTS" | "BUTTON" | "NUMBER_CHART" | "NUMBER_SERIES_CHART" | "CHART_GALLERY" | "PLUGIN";
20
+ type Component = "STATIC_TEXT" | "ENTITY_TEXT" | "IFRAME" | "LINK" | "ENTITY_GALLERY" | "ENTITY_ATTRIBUTES" | "ENTITY_ATTRIBUTE_GROUP" | "ENTITY_COMMENTS" | "BUTTON" | "BUTTON_GROUP" | "NUMBER_CHART" | "NUMBER_SERIES_CHART" | "CHART_GALLERY" | "PLUGIN";
21
21
  interface IStaticTextParams {
22
22
  text: string;
23
23
  }
@@ -35,14 +35,21 @@ export declare namespace CustomFormContent {
35
35
  /**
36
36
  * The button component is used to perform some sort of navigator or action.
37
37
  * Navigation is between other forms or the default info-view dialog.
38
- * We also allow toggling visible relationship parabolas to accommodate for older versions of these custom forms as they used to have an action like that.
39
38
  */
40
39
  interface IButtonParams {
41
- action: "OPEN_FORM" | "OPEN_INFO_VIEW" | "TOGGLE_VISIBLE_RELATIONS";
40
+ action: "OPEN_FORM" | "OPEN_INFO_VIEW" | "TOGGLE_VISIBLE_RELATIONS" | "START_WORKFLOW_ITEM";
42
41
  formId?: number;
43
42
  buttonText?: string;
44
43
  buttonIcon?: string;
45
44
  buttonIconSide?: "LEFT" | "RIGHT";
45
+ workflowTypeId?: number;
46
+ }
47
+ /**
48
+ * A row of buttons sharing the stack's normal button spacing.
49
+ */
50
+ interface IButtonGroupParams {
51
+ buttons: IButtonParams[];
52
+ align?: "LEFT" | "RIGHT";
46
53
  }
47
54
  interface IAttrRow {
48
55
  attrPath: string;
@@ -111,5 +118,5 @@ export declare namespace CustomFormContent {
111
118
  pluginId: string;
112
119
  height: number;
113
120
  }
114
- type StackItemParams = IStaticTextParams | IEntityTextParams | IIFrameParams | IButtonParams | IEntityAttrGroupParams | INumberChartParams | INumberSeriesChartParams | ILinkParams | IChartGallery | IPluginParams | any;
121
+ type StackItemParams = IStaticTextParams | IEntityTextParams | IIFrameParams | IButtonParams | IButtonGroupParams | IEntityAttrGroupParams | INumberChartParams | INumberSeriesChartParams | ILinkParams | IChartGallery | IPluginParams | any;
115
122
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bruce-models",
3
- "version": "7.1.92",
3
+ "version": "7.1.93",
4
4
  "description": "",
5
5
  "keywords": [],
6
6
  "main": "dist/bruce-models.umd.js",