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.
- package/dist/bruce-models.es5.js +1 -1
- package/dist/bruce-models.es5.js.map +1 -1
- package/dist/bruce-models.umd.js +1 -1
- package/dist/bruce-models.umd.js.map +1 -1
- package/dist/lib/bruce-models.js +1 -1
- package/dist/types/bruce-models.d.ts +1 -1
- package/dist/types/custom-form/custom-form-content.d.ts +11 -4
- package/package.json +1 -1
package/dist/lib/bruce-models.js
CHANGED
|
@@ -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.
|
|
138
|
+
exports.VERSION = "7.1.93";
|
|
139
139
|
//# sourceMappingURL=bruce-models.js.map
|
|
@@ -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
|
}
|