@skedulo/mex-types 1.19.0 → 1.19.2
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.
|
@@ -28,6 +28,16 @@ export type RoutingType = string | RoutingPageDef;
|
|
|
28
28
|
export type RoutingPageDef = {
|
|
29
29
|
ui?: RoutingPageUI;
|
|
30
30
|
routing: Routing[];
|
|
31
|
+
/**
|
|
32
|
+
* @version 1.10.15
|
|
33
|
+
*/
|
|
34
|
+
defaultSourceExpression?: any;
|
|
35
|
+
/**
|
|
36
|
+
* @version 1.10.15
|
|
37
|
+
*/
|
|
38
|
+
events?: {
|
|
39
|
+
onNavigateBack?: FunctionExpressionType;
|
|
40
|
+
};
|
|
31
41
|
};
|
|
32
42
|
export type RoutingPageUI = {
|
|
33
43
|
items: BaseFlatPageViewComponentModel[];
|
|
@@ -38,6 +48,10 @@ export type Routing = {
|
|
|
38
48
|
page: string;
|
|
39
49
|
condition: DataExpressionType;
|
|
40
50
|
transferData?: any;
|
|
51
|
+
/**
|
|
52
|
+
* @version 1.10.15
|
|
53
|
+
*/
|
|
54
|
+
sourceExpression?: any;
|
|
41
55
|
};
|
|
42
56
|
export interface ButtonGroupItemComponentModel {
|
|
43
57
|
/**
|
|
@@ -71,8 +85,9 @@ export interface ButtonGroupItemComponentModel {
|
|
|
71
85
|
icon?: IconName;
|
|
72
86
|
}
|
|
73
87
|
export interface ButtonBehaviorComponentModel {
|
|
74
|
-
type:
|
|
88
|
+
type: ButtonBehaviorType;
|
|
75
89
|
}
|
|
90
|
+
export type ButtonBehaviorType = 'custom' | 'sms' | 'phone' | 'openUrl' | 'email' | 'openSelector' | 'routing';
|
|
76
91
|
export interface CustomFunctionButtonBehaviorComponentModel extends ButtonBehaviorComponentModel {
|
|
77
92
|
functionExpression: DataExpressionType;
|
|
78
93
|
type: 'custom';
|
|
@@ -97,7 +112,7 @@ export interface EmailButtonBehaviorComponentModel extends ButtonBehaviorCompone
|
|
|
97
112
|
* @version: 1.10.15
|
|
98
113
|
*/
|
|
99
114
|
export interface RoutingBehaviorComponentModel extends ButtonBehaviorComponentModel {
|
|
100
|
-
|
|
115
|
+
destination: RoutingType;
|
|
101
116
|
type: 'routing';
|
|
102
117
|
}
|
|
103
118
|
export type SelectPageConfig = {
|
|
@@ -218,7 +218,7 @@ export interface BodyMapViewComponentModel extends CommonEditorViewComponentMode
|
|
|
218
218
|
* @value signatureEditor
|
|
219
219
|
* @description Capture a signature on a mobile device
|
|
220
220
|
* @label Signature
|
|
221
|
-
* @fieldOrders ['title', 'enableFullName', 'showIfExpression']
|
|
221
|
+
* @fieldOrders ['title', 'mandatory', 'enableFullName', 'showIfExpression']
|
|
222
222
|
*/
|
|
223
223
|
export interface SignatureEditorViewComponentModel extends CommonEditorViewComponentModel {
|
|
224
224
|
/**
|