@skedulo/mex-types 1.28.1 → 1.28.3

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.
@@ -64,10 +64,26 @@ type MexBaseMetadata = {
64
64
  * @hidden true
65
65
  */
66
66
  staticResourcesId?: string;
67
+ /**
68
+ * @label Select a form submission option
69
+ * @required true
70
+ * @options [{
71
+ * label: 'Single submission',
72
+ * value: 'single-submission',
73
+ * description: 'This allows users to review and edit their response'
74
+ * },
75
+ * {
76
+ * label: 'Multiple form submission',
77
+ * value: 'multiple-submission',
78
+ * description: 'Users can submit multiple responses, however cannot edit or review their responses'}]
79
+ * @dataType radioInput
80
+ */
81
+ submissionOption?: string;
67
82
  [key: string]: any;
68
83
  };
69
84
  /**
70
85
  * @area Metadata
86
+ * @fieldOrders ['contextObject', 'submissionOption', 'showIf', 'mandatoryIf', 'summary', 'displayOrder']
71
87
  */
72
88
  interface MexMetadataForJob extends MexBaseMetadata {
73
89
  /**
@@ -97,6 +113,7 @@ interface MexMetadataForJob extends MexBaseMetadata {
97
113
  }
98
114
  /**
99
115
  * @area Metadata
116
+ * @fieldOrders ['contextObject', 'submissionOption', 'showIf', 'summary', 'displayOrder']
100
117
  */
101
118
  interface MexMetadataForResource extends MexBaseMetadata {
102
119
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"MexDefs.js","sourceRoot":"","sources":["../../src/common/MexDefs.ts"],"names":[],"mappings":";AAAA,iDAAiD;;;AAIjD;;;;;GAKG;AACH,IAAY,SA6BX;AA7BD,WAAY,SAAS;IACnB;;OAEG;IACH,4BAAe,CAAA;IACf;;OAEG;IACH,oCAAuB,CAAA;IACvB;;OAEG;IACH,oCAAuB,CAAA;IACvB;;OAEG;IACH,wCAA2B,CAAA;IAC3B;;OAEG;IACH,gDAAmC,CAAA;IACnC;;OAEG;IACH,oDAAuC,CAAA;IACvC;;OAEG;IACH,8BAAiB,CAAA;AACnB,CAAC,EA7BW,SAAS,yBAAT,SAAS,QA6BpB;AA+OD,IAAY,gBAGX;AAHD,WAAY,gBAAgB;IAC1B,uCAAmB,CAAA;IACnB,qCAAiB,CAAA;AACnB,CAAC,EAHW,gBAAgB,gCAAhB,gBAAgB,QAG3B"}
1
+ {"version":3,"file":"MexDefs.js","sourceRoot":"","sources":["../../src/common/MexDefs.ts"],"names":[],"mappings":";AAAA,iDAAiD;;;AAIjD;;;;;GAKG;AACH,IAAY,SA6BX;AA7BD,WAAY,SAAS;IACnB;;OAEG;IACH,4BAAe,CAAA;IACf;;OAEG;IACH,oCAAuB,CAAA;IACvB;;OAEG;IACH,oCAAuB,CAAA;IACvB;;OAEG;IACH,wCAA2B,CAAA;IAC3B;;OAEG;IACH,gDAAmC,CAAA;IACnC;;OAEG;IACH,oDAAuC,CAAA;IACvC;;OAEG;IACH,8BAAiB,CAAA;AACnB,CAAC,EA7BW,SAAS,yBAAT,SAAS,QA6BpB;AAgQD,IAAY,gBAGX;AAHD,WAAY,gBAAgB;IAC1B,uCAAmB,CAAA;IACnB,qCAAiB,CAAA;AACnB,CAAC,EAHW,gBAAgB,gCAAhB,gBAAgB,QAG3B"}
@@ -14,8 +14,9 @@ export type UIDefinition = {
14
14
  */
15
15
  firstPage: string;
16
16
  /**
17
- * @label Readonly
18
- * @tooltip If true, the entire form will be shown in read-only mode within the mobile app
17
+ * @label Prevent form submission on job statuses
18
+ * @placeholder Select job statuses
19
+ * @tooltip Users will not be able to submit this form when the job is in any of the chosen job statuses
19
20
  */
20
21
  readonly?: boolean;
21
22
  pages: AllPageComponentModel[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skedulo/mex-types",
3
- "version": "1.28.1",
3
+ "version": "1.28.3",
4
4
  "engines": {
5
5
  "node": "18"
6
6
  },