@skedulo/mex-types 1.21.0 → 1.22.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.
@@ -14,7 +14,7 @@ export interface BaseFlatPageViewComponentModel extends BaseComponentModel {
14
14
  * @value textView
15
15
  * @description Content for users to read
16
16
  * @label Read-only
17
- * @fieldOrders ['title', 'text', 'showIfExpression']
17
+ * @fieldOrders ['title', 'caption', 'text', 'showIfExpression']
18
18
  */
19
19
  export interface TextViewComponentModel extends BaseFlatPageViewComponentModel {
20
20
  /**
@@ -55,6 +55,12 @@ export interface CommonEditorViewComponentModel extends BaseFlatPageViewComponen
55
55
  * @label Editor events
56
56
  */
57
57
  editorEvents?: CommonEditorEvents;
58
+ /**
59
+ * @label Caption
60
+ * @typeAdhoc textarea
61
+ * @maxLength 1000
62
+ * @tooltip Enter a description or guideline to provide more context. This text will display under the component label
63
+ */
58
64
  caption?: LocalizedKey;
59
65
  }
60
66
  export interface CommonEditorEvents {
@@ -76,7 +82,7 @@ export interface CommonEditorWithPlaceholder {
76
82
  * @value textEditor
77
83
  * @description Enable users to input data from mobile app
78
84
  * @label Text input
79
- * @fieldOrders ['title', 'keyboardType', 'placeholder', 'mandatory', 'multiline', 'showIfExpression']
85
+ * @fieldOrders ['title', 'caption', 'keyboardType', 'placeholder', 'mandatory', 'multiline', 'showIfExpression']
80
86
  */
81
87
  export interface TextEditorViewComponentModel extends CommonEditorViewComponentModel, CommonEditorWithPlaceholder {
82
88
  /**
@@ -122,7 +128,7 @@ export interface TextEditorFeaturesModel {
122
128
  * @value readonlyTextView
123
129
  * @description Content for users to read
124
130
  * @label Read-only label
125
- * @fieldOrders ['title', 'text', 'showIfExpression']
131
+ * @fieldOrders ['title', 'text', 'caption', 'showIfExpression']
126
132
  */
127
133
  export interface ReadonlyTextViewComponentModel extends CommonEditorViewComponentModel, CommonEditorWithPlaceholder {
128
134
  /**
@@ -185,7 +191,7 @@ export interface SubListEditorViewComponentModel extends CommonEditorViewCompone
185
191
  * @value attachmentsEditor
186
192
  * @description Add a file or photo from a mobile device
187
193
  * @label Attachment
188
- * @fieldOrders ['title', 'mandatory', 'showIfExpression']
194
+ * @fieldOrders ['title', 'caption', 'mandatory', 'showIfExpression']
189
195
  */
190
196
  export interface AttachmentsEditorViewComponentModel extends CommonEditorViewComponentModel {
191
197
  /**
@@ -231,7 +237,7 @@ export interface BodyMapViewComponentModel extends CommonEditorViewComponentMode
231
237
  * @value signatureEditor
232
238
  * @description Capture a signature on a mobile device
233
239
  * @label Signature
234
- * @fieldOrders ['title', 'mandatory', 'enableFullName', 'showIfExpression']
240
+ * @fieldOrders ['title', 'caption', 'mandatory', 'enableFullName', 'showIfExpression']
235
241
  */
236
242
  export interface SignatureEditorViewComponentModel extends CommonEditorViewComponentModel {
237
243
  /**
@@ -259,7 +265,7 @@ export interface SignatureEditorViewComponentModel extends CommonEditorViewCompo
259
265
  * @value toggleEditor
260
266
  * @description Switch between two opposing states
261
267
  * @label Toggle
262
- * @fieldOrders ['showIfExpression']
268
+ * @fieldOrders ['caption', 'showIfExpression']
263
269
  */
264
270
  export interface ToggleEditorViewComponentModel extends CommonEditorViewComponentModel {
265
271
  /**
@@ -304,7 +310,7 @@ export interface ToggleEditorItemModel {
304
310
  * @value dateTimeEditor
305
311
  * @description Allow selecting date and time
306
312
  * @label Date & time
307
- * @fieldOrders ['title' ,'mandatory', 'showIfExpression']
313
+ * @fieldOrders ['title', 'caption', 'mandatory', 'showIfExpression']
308
314
  */
309
315
  export interface DateTimePickerViewComponentModel extends CommonEditorViewComponentModel, CommonEditorWithPlaceholder {
310
316
  /**
@@ -357,6 +363,9 @@ export interface SectionViewComponentModel extends BaseFlatPageViewComponentMode
357
363
  body: LocalizedKey;
358
364
  /**
359
365
  * @label Caption
366
+ * @typeAdhoc textarea
367
+ * @maxLength 1000
368
+ * @tooltip Enter a description or guideline to provide more context. This text will display under the component label
360
369
  */
361
370
  caption: LocalizedKey;
362
371
  /**
@@ -380,6 +389,9 @@ export interface MenuListItem extends BaseFlatPageViewComponentModel {
380
389
  text: LocalizedKey;
381
390
  /**
382
391
  * @label Caption
392
+ * @typeAdhoc textarea
393
+ * @maxLength 1000
394
+ * @tooltip Enter a description or guideline to provide more context. This text will display under the component label
383
395
  */
384
396
  caption: LocalizedKey;
385
397
  /**
@@ -472,7 +484,7 @@ export interface BaseSelectEditor {
472
484
  * @value selectEditor
473
485
  * @description Select a single item from a list
474
486
  * @label Drop-down
475
- * @fieldOrders ['title', 'placeholder', 'mandatory', 'options', 'showIfExpression']
487
+ * @fieldOrders ['title', 'caption', 'placeholder', 'mandatory', 'options', 'showIfExpression']
476
488
  */
477
489
  export interface SelectEditorViewComponentModel extends CommonEditorViewComponentModel, CommonEditorWithPlaceholder, BaseSelectEditor {
478
490
  /**
@@ -496,7 +508,7 @@ export interface SelectEditorViewComponentModel extends CommonEditorViewComponen
496
508
  * @value multiSelectEditor
497
509
  * @description Select one or more items from a list
498
510
  * @label Multi-select drop-down
499
- * @fieldOrders ['title', 'placeholder', 'mandatory', 'options', 'showIfExpression']
511
+ * @fieldOrders ['title', 'caption', 'placeholder', 'mandatory', 'options', 'showIfExpression']
500
512
  */
501
513
  export interface MultiSelectEditorViewComponentModel extends CommonEditorViewComponentModel, CommonEditorWithPlaceholder, BaseSelectEditor {
502
514
  /**
@@ -521,7 +533,7 @@ export interface MultiSelectEditorViewComponentModel extends CommonEditorViewCom
521
533
  * @value numberEditor
522
534
  * @description Standard number input field
523
535
  * @label Number input
524
- * @fieldOrders ['title', 'placeholder', 'mandatory', 'showIfExpression']
536
+ * @fieldOrders ['title', 'caption', 'placeholder', 'mandatory', 'showIfExpression']
525
537
  */
526
538
  export interface NumberEditorViewComponentModel extends CommonEditorViewComponentModel, CommonEditorWithPlaceholder {
527
539
  /**
@@ -554,6 +566,9 @@ export interface ContactDetailsLayoutComponentModel extends BaseFlatPageViewComp
554
566
  title: LocalizedKey;
555
567
  /**
556
568
  * @label Caption
569
+ * @typeAdhoc textarea
570
+ * @maxLength 1000
571
+ * @tooltip Enter a description or guideline to provide more context. This text will display under the component label
557
572
  */
558
573
  caption: LocalizedKey;
559
574
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skedulo/mex-types",
3
- "version": "1.21.0",
3
+ "version": "1.22.0",
4
4
  "engines": {
5
5
  "node": "18"
6
6
  },