@skedulo/mex-types 1.19.0 → 1.19.1
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/common/CommonTypes.d.ts +17 -2
- package/package.json +1 -1
|
@@ -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 = {
|