jamespot-front-business 1.1.97 → 1.1.99
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/cjs.js +2 -3
- package/dist/cjs.js.map +1 -1
- package/dist/esm.js +2 -3
- package/dist/esm.js.map +1 -1
- package/package.json +1 -1
package/dist/cjs.js
CHANGED
|
@@ -3130,7 +3130,6 @@ const widgetLuccaAbsenceDefinition = {
|
|
|
3130
3130
|
name: jamespot.WidgetsName.LuccaAbsence,
|
|
3131
3131
|
img: '/img/fast-intranet/widget-lucca-absence.png',
|
|
3132
3132
|
available: true,
|
|
3133
|
-
displayLevel: [1, 2, 3],
|
|
3134
3133
|
panel: {
|
|
3135
3134
|
useWrapper: true,
|
|
3136
3135
|
useEditor: true,
|
|
@@ -4360,7 +4359,7 @@ function fieldType(fieldType) {
|
|
|
4360
4359
|
return fieldType;
|
|
4361
4360
|
}
|
|
4362
4361
|
function getAttrNameFormItem(field, fieldId) {
|
|
4363
|
-
return
|
|
4362
|
+
return AppColumnsDefaultTypes.includes(field.type) ? fieldType(field.type) : uuid2Alpha(fieldId).toLowerCase();
|
|
4364
4363
|
}
|
|
4365
4364
|
function renderAudience(audience, installFor) {
|
|
4366
4365
|
if (audience === AUDIENCE.ALL)
|
|
@@ -4403,7 +4402,7 @@ function formItem2xml(field) {
|
|
|
4403
4402
|
sqlname="${renderSqlName(field.type, field.id)}"
|
|
4404
4403
|
${field.properties && renderProperty(field.properties, AppFieldFormPropertyTypes.LABEL)}
|
|
4405
4404
|
${field.properties && renderProperty(field.properties, AppFieldFormPropertyTypes.DESCRIPTION)}
|
|
4406
|
-
mandatory="${field.mandatory}"
|
|
4405
|
+
mandatory="${field.type === AppFormItemTypes.TOGGLE ? 'false' : field.mandatory}"
|
|
4407
4406
|
solr.type="${renderSolrType(field.type)}"
|
|
4408
4407
|
solr.used="true"
|
|
4409
4408
|
solr.indexed="true"
|