@skedulo/mex-types 1.8.0 → 1.9.0
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.
|
@@ -66,6 +66,7 @@ export interface ButtonGroupItemComponentModel {
|
|
|
66
66
|
* ]
|
|
67
67
|
*/
|
|
68
68
|
behavior: ButtonBehaviorComponentModel;
|
|
69
|
+
disabled?: DataExpressionType;
|
|
69
70
|
}
|
|
70
71
|
export interface ButtonBehaviorComponentModel {
|
|
71
72
|
type: 'custom' | 'sms' | 'phone' | 'openUrl' | 'email' | 'openSelector';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ButtonGroupItemComponentModel, DataExpressionType, FunctionExpressionType, GroupByFeatureModel, ListPageAddNewDefaultDataType, LocalizedKey, OneLevelBindingObject, OrderByModel, RoutingType } from '../common/CommonTypes';
|
|
1
|
+
import { ButtonGroupItemComponentModel, DataExpressionType, FunctionExpressionType, GroupByFeatureModel, ListPageAddNewDefaultDataType, LocalizedKey, OneLevelBindingObject, OrderByModel, RoutingType, ValueExpressionType } from '../common/CommonTypes';
|
|
2
2
|
import { BaseListPageViewComponentModel } from '../view/ListPageViewComponentModel';
|
|
3
3
|
import { BaseComponentModel } from '../common/BaseComponentModel';
|
|
4
4
|
import { BaseFlatPageViewComponentModel } from '../view/FlatPageViewComponentModel';
|
|
@@ -75,6 +75,20 @@ export type AddNewButtonData = {
|
|
|
75
75
|
*/
|
|
76
76
|
showIfExpression: DataExpressionType;
|
|
77
77
|
};
|
|
78
|
+
export interface TagModel {
|
|
79
|
+
/**
|
|
80
|
+
* @label Type
|
|
81
|
+
*/
|
|
82
|
+
type: 'fixed' | 'dynamic';
|
|
83
|
+
/**
|
|
84
|
+
* @label Items
|
|
85
|
+
*/
|
|
86
|
+
items: TagItemModel[];
|
|
87
|
+
}
|
|
88
|
+
export interface TagItemModel {
|
|
89
|
+
themeValueExpression: ValueExpressionType;
|
|
90
|
+
text: LocalizedKey;
|
|
91
|
+
}
|
|
78
92
|
/**
|
|
79
93
|
* @area Pages
|
|
80
94
|
* @label List
|
|
@@ -222,11 +236,17 @@ export interface FlatPageComponentModel extends BasePageComponentModel {
|
|
|
222
236
|
/**
|
|
223
237
|
* @label Description
|
|
224
238
|
*/
|
|
239
|
+
header?: FlatPageHeaderModel;
|
|
225
240
|
description?: LocalizedKey;
|
|
226
241
|
flatPageEvents?: {
|
|
227
242
|
onSubmitted?: FunctionExpressionType;
|
|
228
243
|
onRemoved?: FunctionExpressionType;
|
|
229
244
|
};
|
|
230
245
|
}
|
|
246
|
+
export type FlatPageHeaderModel = {
|
|
247
|
+
title?: LocalizedKey;
|
|
248
|
+
description?: LocalizedKey;
|
|
249
|
+
tags?: TagModel;
|
|
250
|
+
};
|
|
231
251
|
export type AllPageComponentModel = ListPageComponentModel | FlatPageComponentModel;
|
|
232
252
|
export {};
|
|
@@ -23,6 +23,7 @@ export interface CommonEditorViewComponentModel extends BaseFlatPageViewComponen
|
|
|
23
23
|
/**
|
|
24
24
|
* @label Mandatory
|
|
25
25
|
* @typeAdhoc boolean
|
|
26
|
+
* @placeholder Select true or false
|
|
26
27
|
*/
|
|
27
28
|
mandatory?: boolean | DataExpressionType;
|
|
28
29
|
/**
|
|
@@ -195,9 +196,9 @@ export interface BodyMapViewComponentModel extends CommonEditorViewComponentMode
|
|
|
195
196
|
/**
|
|
196
197
|
* @area Components
|
|
197
198
|
* @value signatureEditor
|
|
198
|
-
* @description
|
|
199
|
+
* @description Capture a signature on a mobile device
|
|
199
200
|
* @label Signature
|
|
200
|
-
* @fieldOrders ['title', 'enableFullName'
|
|
201
|
+
* @fieldOrders ['title', 'enableFullName']
|
|
201
202
|
*/
|
|
202
203
|
export interface SignatureEditorViewComponentModel extends CommonEditorViewComponentModel {
|
|
203
204
|
/**
|
|
@@ -214,6 +215,7 @@ export interface SignatureEditorViewComponentModel extends CommonEditorViewCompo
|
|
|
214
215
|
attachmentCategoryName: string;
|
|
215
216
|
/**
|
|
216
217
|
* @label Enable “Full name” text field
|
|
218
|
+
* @placeholder Select true or false
|
|
217
219
|
* @tooltip Enables a text field for users to add their full name with their signature
|
|
218
220
|
*/
|
|
219
221
|
enableFullName: boolean;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { BaseComponentModel } from '../common/BaseComponentModel';
|
|
2
|
-
import {
|
|
2
|
+
import { LocalizedKey } from '../common/CommonTypes';
|
|
3
|
+
import { TagModel } from '../page';
|
|
3
4
|
export interface BaseListPageViewComponentModel extends BaseComponentModel {
|
|
4
5
|
/**
|
|
5
6
|
* @label Use attachments
|
|
@@ -8,21 +9,7 @@ export interface BaseListPageViewComponentModel extends BaseComponentModel {
|
|
|
8
9
|
/**
|
|
9
10
|
* @label Tags
|
|
10
11
|
*/
|
|
11
|
-
tags
|
|
12
|
-
}
|
|
13
|
-
export interface ListItemTagModel {
|
|
14
|
-
/**
|
|
15
|
-
* @label Type
|
|
16
|
-
*/
|
|
17
|
-
type: 'fixed' | 'dynamic';
|
|
18
|
-
/**
|
|
19
|
-
* @label Items
|
|
20
|
-
*/
|
|
21
|
-
items: ListItemTagItemModel[];
|
|
22
|
-
}
|
|
23
|
-
export interface ListItemTagItemModel {
|
|
24
|
-
themeValueExpression: ValueExpressionType;
|
|
25
|
-
text: LocalizedKey;
|
|
12
|
+
tags?: TagModel;
|
|
26
13
|
}
|
|
27
14
|
export interface TitleAndCaptionViewComponentModel extends BaseListPageViewComponentModel {
|
|
28
15
|
title: LocalizedKey;
|