@plusscommunities/pluss-maintenance-web-a 1.1.26 → 1.1.27
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/index.cjs.js
CHANGED
|
@@ -6017,8 +6017,8 @@ var AddJobType = /*#__PURE__*/function (_Component) {
|
|
|
6017
6017
|
jobTypeEmail: email,
|
|
6018
6018
|
jobTypeDescription: description,
|
|
6019
6019
|
jobTypeLevel: level,
|
|
6020
|
-
hasCustomFields: hasCustomFields,
|
|
6021
|
-
customFields: customFields
|
|
6020
|
+
hasCustomFields: !!hasCustomFields,
|
|
6021
|
+
customFields: customFields || [___default['default'].cloneDeep(DEFAULT_FIELD)]
|
|
6022
6022
|
});
|
|
6023
6023
|
|
|
6024
6024
|
_context.next = 11;
|
|
@@ -6301,10 +6301,11 @@ var AddJobType = /*#__PURE__*/function (_Component) {
|
|
|
6301
6301
|
}, {
|
|
6302
6302
|
Title: 'Image Input',
|
|
6303
6303
|
Key: 'image'
|
|
6304
|
-
}, {
|
|
6305
|
-
|
|
6306
|
-
|
|
6307
|
-
},
|
|
6304
|
+
}, // {
|
|
6305
|
+
// Title: 'Document Input',
|
|
6306
|
+
// Key: 'document',
|
|
6307
|
+
// },
|
|
6308
|
+
{
|
|
6308
6309
|
Title: 'Yes/No Question',
|
|
6309
6310
|
Key: 'yn'
|
|
6310
6311
|
}, {
|
package/dist/index.esm.js
CHANGED
|
@@ -5974,8 +5974,8 @@ var AddJobType = /*#__PURE__*/function (_Component) {
|
|
|
5974
5974
|
jobTypeEmail: email,
|
|
5975
5975
|
jobTypeDescription: description,
|
|
5976
5976
|
jobTypeLevel: level,
|
|
5977
|
-
hasCustomFields: hasCustomFields,
|
|
5978
|
-
customFields: customFields
|
|
5977
|
+
hasCustomFields: !!hasCustomFields,
|
|
5978
|
+
customFields: customFields || [_.cloneDeep(DEFAULT_FIELD)]
|
|
5979
5979
|
});
|
|
5980
5980
|
|
|
5981
5981
|
_context.next = 11;
|
|
@@ -6258,10 +6258,11 @@ var AddJobType = /*#__PURE__*/function (_Component) {
|
|
|
6258
6258
|
}, {
|
|
6259
6259
|
Title: 'Image Input',
|
|
6260
6260
|
Key: 'image'
|
|
6261
|
-
}, {
|
|
6262
|
-
|
|
6263
|
-
|
|
6264
|
-
},
|
|
6261
|
+
}, // {
|
|
6262
|
+
// Title: 'Document Input',
|
|
6263
|
+
// Key: 'document',
|
|
6264
|
+
// },
|
|
6265
|
+
{
|
|
6265
6266
|
Title: 'Yes/No Question',
|
|
6266
6267
|
Key: 'yn'
|
|
6267
6268
|
}, {
|
package/dist/index.umd.js
CHANGED
|
@@ -5996,8 +5996,8 @@
|
|
|
5996
5996
|
jobTypeEmail: email,
|
|
5997
5997
|
jobTypeDescription: description,
|
|
5998
5998
|
jobTypeLevel: level,
|
|
5999
|
-
hasCustomFields: hasCustomFields,
|
|
6000
|
-
customFields: customFields
|
|
5999
|
+
hasCustomFields: !!hasCustomFields,
|
|
6000
|
+
customFields: customFields || [___default['default'].cloneDeep(DEFAULT_FIELD)]
|
|
6001
6001
|
});
|
|
6002
6002
|
|
|
6003
6003
|
_context.next = 11;
|
|
@@ -6280,10 +6280,11 @@
|
|
|
6280
6280
|
}, {
|
|
6281
6281
|
Title: 'Image Input',
|
|
6282
6282
|
Key: 'image'
|
|
6283
|
-
}, {
|
|
6284
|
-
|
|
6285
|
-
|
|
6286
|
-
},
|
|
6283
|
+
}, // {
|
|
6284
|
+
// Title: 'Document Input',
|
|
6285
|
+
// Key: 'document',
|
|
6286
|
+
// },
|
|
6287
|
+
{
|
|
6287
6288
|
Title: 'Yes/No Question',
|
|
6288
6289
|
Key: 'yn'
|
|
6289
6290
|
}, {
|
package/package.json
CHANGED
|
@@ -42,10 +42,10 @@ class AddJobType extends Component {
|
|
|
42
42
|
Title: 'Image Input',
|
|
43
43
|
Key: 'image',
|
|
44
44
|
},
|
|
45
|
-
{
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
},
|
|
45
|
+
// {
|
|
46
|
+
// Title: 'Document Input',
|
|
47
|
+
// Key: 'document',
|
|
48
|
+
// },
|
|
49
49
|
{
|
|
50
50
|
Title: 'Yes/No Question',
|
|
51
51
|
Key: 'yn',
|
|
@@ -92,14 +92,15 @@ class AddJobType extends Component {
|
|
|
92
92
|
getJobType = async () => {
|
|
93
93
|
try {
|
|
94
94
|
const res = await maintenanceActions.getJobType(this.props.auth.site, this.state.jobTypeId);
|
|
95
|
+
|
|
95
96
|
const { typeName, email, description, level, hasCustomFields, customFields } = res.data;
|
|
96
97
|
this.setState({
|
|
97
98
|
jobTypeName: typeName,
|
|
98
99
|
jobTypeEmail: email,
|
|
99
100
|
jobTypeDescription: description,
|
|
100
101
|
jobTypeLevel: level,
|
|
101
|
-
hasCustomFields,
|
|
102
|
-
customFields,
|
|
102
|
+
hasCustomFields: !!hasCustomFields,
|
|
103
|
+
customFields: customFields || [_.cloneDeep(DEFAULT_FIELD)],
|
|
103
104
|
});
|
|
104
105
|
} catch (error) {
|
|
105
106
|
console.error('getJobType', error);
|
|
@@ -51,14 +51,14 @@ const values = {
|
|
|
51
51
|
textSingularName: 'Feedback Submission',
|
|
52
52
|
textYourRequestHere: 'Your Feedback Submissions will show here',
|
|
53
53
|
textTitleRequests: 'Feedback Submissions',
|
|
54
|
-
textMenuTitle: '
|
|
54
|
+
textMenuTitle: 'Feedback',
|
|
55
55
|
textPermissionMaintenanceTracking: 'Manage Feedback Submissions',
|
|
56
56
|
textPermissionManageMaintenanceTypes: 'Manage and Set Up Feedback Forms',
|
|
57
57
|
textPermissionManageAssignedMaintenance: 'Manage Assigned Feedback Submissions',
|
|
58
58
|
textHiddenSectionMaintenanceRequests: 'Feedback Submissions',
|
|
59
59
|
keyHiddenSectionMaintenanceRequests: 'maintenanceRequestFeedback',
|
|
60
60
|
hasMoreSection: false,
|
|
61
|
-
textMoreSectionMaintenance: '
|
|
61
|
+
textMoreSectionMaintenance: 'Feedback',
|
|
62
62
|
featureKeyMoreSectionMaintenance: 'maintenanceFeedback',
|
|
63
63
|
optionKeyMoreSectionMaintenance: 'maintenanceRequestFeedback',
|
|
64
64
|
hiddenKeyMoreSectionMaintenance: 'maintenanceRequestFeedback',
|