@skedulo/mex-types 1.44.0 → 1.45.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.
|
@@ -9,7 +9,7 @@ export interface BaseFlatPageViewComponentModel extends BaseComponentModel {
|
|
|
9
9
|
*/
|
|
10
10
|
showIfExpression?: DataExpressionType;
|
|
11
11
|
}
|
|
12
|
-
export type FlatPageViewComponentTypes = TextViewComponentModel | TextEditorViewComponentModel | TextAreaEditorViewComponentModel | ReadonlyTextViewComponentModel | ButtonGroupViewComponentModel | AttachmentsEditorViewComponentModel | SignatureEditorViewComponentModel | ToggleEditorViewComponentModel | DateTimePickerViewComponentModel | SectionViewComponentModel | MenuListViewComponentModel | SelectEditorViewComponentModel | MultiSelectEditorViewComponentModel | ChartViewComponentTypes | AddressSelectEditorViewComponentModel | ImageViewComponentModel;
|
|
12
|
+
export type FlatPageViewComponentTypes = TextViewComponentModel | TextEditorViewComponentModel | TextAreaEditorViewComponentModel | ReadonlyTextViewComponentModel | ButtonGroupViewComponentModel | AttachmentsEditorViewComponentModel | SignatureEditorViewComponentModel | ToggleEditorViewComponentModel | DateTimePickerViewComponentModel | SectionViewComponentModel | MenuListViewComponentModel | SelectEditorViewComponentModel | MultiSelectEditorViewComponentModel | ChartViewComponentTypes | AddressSelectEditorViewComponentModel | ImageViewComponentModel | ImageAnnotationEditorViewComponentModel;
|
|
13
13
|
/**
|
|
14
14
|
* @area Components
|
|
15
15
|
* @value textView
|
|
@@ -230,25 +230,24 @@ export interface SubListEditorViewComponentModel extends CommonEditorViewCompone
|
|
|
230
230
|
* @label Attachment
|
|
231
231
|
* @fieldOrders ['title', 'caption', 'mandatory', 'showIfExpression']
|
|
232
232
|
*/
|
|
233
|
-
export interface AttachmentsEditorViewComponentModel extends CommonEditorViewComponentModel, WithTitle {
|
|
233
|
+
export interface AttachmentsEditorViewComponentModel extends CommonEditorViewComponentModel, WithHasAttachments, WithTitle {
|
|
234
234
|
type: 'attachmentsEditor';
|
|
235
|
-
/**
|
|
236
|
-
* @label Source expression
|
|
237
|
-
*/
|
|
238
|
-
sourceExpression: DataExpressionType;
|
|
239
|
-
/**
|
|
240
|
-
* @label Title
|
|
241
|
-
*/
|
|
242
|
-
title: LocalizedKey;
|
|
243
|
-
/**
|
|
244
|
-
* @label Attachment category name
|
|
245
|
-
*/
|
|
246
|
-
attachmentCategoryName?: string;
|
|
247
235
|
/**
|
|
248
236
|
* @version 1.10.0
|
|
249
237
|
*/
|
|
250
238
|
addFilesOptions?: AttachmentsEditorViewAddFilesOptionsModel;
|
|
251
239
|
}
|
|
240
|
+
/**
|
|
241
|
+
* @version 1.20.0
|
|
242
|
+
*/
|
|
243
|
+
export interface ImageAnnotationEditorViewComponentModel extends CommonEditorViewComponentModel, WithHasAttachments, WithTitle {
|
|
244
|
+
type: 'imageAnnotationEditor';
|
|
245
|
+
templateImages: string[];
|
|
246
|
+
}
|
|
247
|
+
export interface WithHasAttachments {
|
|
248
|
+
sourceExpression: DataExpressionType;
|
|
249
|
+
attachmentCategoryName?: string;
|
|
250
|
+
}
|
|
252
251
|
/**
|
|
253
252
|
* @version 1.10.0
|
|
254
253
|
*/
|
|
@@ -277,20 +276,8 @@ export interface BodyMapViewComponentModel extends CommonEditorViewComponentMode
|
|
|
277
276
|
* @label Signature
|
|
278
277
|
* @fieldOrders ['title', 'caption', 'mandatory', 'enableFullName', 'showIfExpression']
|
|
279
278
|
*/
|
|
280
|
-
export interface SignatureEditorViewComponentModel extends CommonEditorViewComponentModel, WithTitle {
|
|
279
|
+
export interface SignatureEditorViewComponentModel extends CommonEditorViewComponentModel, WithHasAttachments, WithTitle {
|
|
281
280
|
type: 'signatureEditor';
|
|
282
|
-
/**
|
|
283
|
-
* @label Source expression
|
|
284
|
-
*/
|
|
285
|
-
sourceExpression: DataExpressionType;
|
|
286
|
-
/**
|
|
287
|
-
* @label Title
|
|
288
|
-
*/
|
|
289
|
-
title: LocalizedKey;
|
|
290
|
-
/**
|
|
291
|
-
* @label Attachment category name
|
|
292
|
-
*/
|
|
293
|
-
attachmentCategoryName: string;
|
|
294
281
|
/**
|
|
295
282
|
* @label Display "Full name" input
|
|
296
283
|
* @placeholder Select true or false
|