jamespot-front-business 1.1.98 → 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/esm.js CHANGED
@@ -3122,7 +3122,6 @@ const widgetLuccaAbsenceDefinition = {
3122
3122
  name: WidgetsName.LuccaAbsence,
3123
3123
  img: '/img/fast-intranet/widget-lucca-absence.png',
3124
3124
  available: true,
3125
- displayLevel: [1, 2, 3],
3126
3125
  panel: {
3127
3126
  useWrapper: true,
3128
3127
  useEditor: true,
@@ -4395,7 +4394,7 @@ function formItem2xml(field) {
4395
4394
  sqlname="${renderSqlName(field.type, field.id)}"
4396
4395
  ${field.properties && renderProperty(field.properties, AppFieldFormPropertyTypes.LABEL)}
4397
4396
  ${field.properties && renderProperty(field.properties, AppFieldFormPropertyTypes.DESCRIPTION)}
4398
- mandatory="${field.mandatory}"
4397
+ mandatory="${field.type === AppFormItemTypes.TOGGLE ? 'false' : field.mandatory}"
4399
4398
  solr.type="${renderSolrType(field.type)}"
4400
4399
  solr.used="true"
4401
4400
  solr.indexed="true"