jamespot-front-business 1.1.93 → 1.1.95

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 CHANGED
@@ -3124,6 +3124,24 @@ const widgetEmailsImapContent = {
3124
3124
  emailsPromptStatus: 'shared',
3125
3125
  };
3126
3126
 
3127
+ const widgetLuccaAbsenceDefinition = {
3128
+ label: 'WIDGET_Lucca_Absence',
3129
+ description: 'WIDGET_Lucca_Absence_Text',
3130
+ name: jamespot.WidgetsName.LuccaAbsence,
3131
+ img: '/img/fast-intranet/widget-lucca-absence.png',
3132
+ available: true,
3133
+ displayLevel: [1, 2, 3],
3134
+ panel: {
3135
+ useWrapper: true,
3136
+ useEditor: true,
3137
+ useSelection: true,
3138
+ useWidgets: false,
3139
+ },
3140
+ };
3141
+ const widgetLuccaAbsenceContent = {
3142
+ url: '',
3143
+ };
3144
+
3127
3145
  function widgetDefinition(name) {
3128
3146
  switch (name) {
3129
3147
  default:
@@ -3156,6 +3174,8 @@ function widgetDefinition(name) {
3156
3174
  return widgetCalendarCalDavDefinition;
3157
3175
  case 'widget-contact-cardDav':
3158
3176
  return widgetContactCardDavDefinition;
3177
+ case 'widget-lucca-absence':
3178
+ return widgetLuccaAbsenceDefinition;
3159
3179
  case 'widget-emails-imap':
3160
3180
  return widgetEmailsImapDefinition;
3161
3181
  }
@@ -3178,6 +3198,8 @@ function widget(name) {
3178
3198
  function content(name) {
3179
3199
  switch (name) {
3180
3200
  default:
3201
+ case 'widget-lucca-absence':
3202
+ return Object.assign({}, widgetLuccaAbsenceContent);
3181
3203
  case 'widget-article-attachment':
3182
3204
  return Object.assign({}, widgetArticleAttachmentContent);
3183
3205
  case 'widget-presence':