jamespot-front-business 1.3.2 → 1.3.4

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
@@ -3313,15 +3313,13 @@ const WIDGET_CHECK_LIST_LABEL = 'WIDGET_Check_List';
3313
3313
  const WIDGET_CHECK_LIST_DESCRIPTION = 'WIDGET_Check_List_Description';
3314
3314
  const WIDGET_QUICK_SURVEY_LABEL = 'WIDGET_Quick_Survey';
3315
3315
  const WIDGET_QUICK_SURVEY_DESCRIPTION = 'WIDGET_Quick_Survey_Text';
3316
- const WIDGET_USER_PROFILE = 'widget-user-profil';
3317
3316
 
3318
3317
  var WIDGETS = /*#__PURE__*/Object.freeze({
3319
3318
  __proto__: null,
3320
3319
  WIDGET_CHECK_LIST_DESCRIPTION: WIDGET_CHECK_LIST_DESCRIPTION,
3321
3320
  WIDGET_CHECK_LIST_LABEL: WIDGET_CHECK_LIST_LABEL,
3322
3321
  WIDGET_QUICK_SURVEY_DESCRIPTION: WIDGET_QUICK_SURVEY_DESCRIPTION,
3323
- WIDGET_QUICK_SURVEY_LABEL: WIDGET_QUICK_SURVEY_LABEL,
3324
- WIDGET_USER_PROFILE: WIDGET_USER_PROFILE
3322
+ WIDGET_QUICK_SURVEY_LABEL: WIDGET_QUICK_SURVEY_LABEL
3325
3323
  });
3326
3324
 
3327
3325
  const widgetArticleAttachmentDefinition = {
@@ -3460,6 +3458,26 @@ const widgetArticleTitleContent = {
3460
3458
  backgroundColor: 'transparent',
3461
3459
  };
3462
3460
 
3461
+ const widgetCalendarCalDavDefinition = {
3462
+ label: 'WIDGET_Calendar_CalDav',
3463
+ description: 'WIDGET_Calendar_CalDav_Text',
3464
+ name: jamespot.WidgetsName.CalendarCalDav,
3465
+ img: '/img/fast-intranet/widget-calendar-calDav.png',
3466
+ available: true,
3467
+ displayLevel: [1, 3],
3468
+ panel: {
3469
+ useWrapper: true,
3470
+ useEditor: true,
3471
+ useSelection: true,
3472
+ useWidgets: false,
3473
+ },
3474
+ };
3475
+ const widgetCalendarCalDavContent = {
3476
+ calEventsLimit: false,
3477
+ calEventsLimitValue: 10,
3478
+ calEventsPromptStatus: 'shared',
3479
+ };
3480
+
3463
3481
  const widgetCheckListDefinition = {
3464
3482
  label: WIDGET_CHECK_LIST_LABEL,
3465
3483
  description: WIDGET_CHECK_LIST_DESCRIPTION,
@@ -3478,6 +3496,26 @@ const widgetCheckListContent = {
3478
3496
  edit: false,
3479
3497
  };
3480
3498
 
3499
+ const widgetContactCardDavDefinition = {
3500
+ label: 'WIDGET_Contact_CardDav',
3501
+ description: 'WIDGET_Contact_CardDav_Text',
3502
+ name: jamespot.WidgetsName.ContactCardDav,
3503
+ img: '/img/fast-intranet/widget-contact-cardDav.png',
3504
+ available: true,
3505
+ displayLevel: [1, 3],
3506
+ panel: {
3507
+ useWrapper: true,
3508
+ useEditor: true,
3509
+ useSelection: true,
3510
+ useWidgets: false,
3511
+ },
3512
+ };
3513
+ const widgetContactCardDavContent = {
3514
+ contactLimit: false,
3515
+ contactLimitValue: 10,
3516
+ contactPromptStatus: 'shared',
3517
+ };
3518
+
3481
3519
  const widgetDatasourceTableDefinition = {
3482
3520
  label: 'WIDGET_Datasource_Table',
3483
3521
  description: 'WIDGET_Datasource_Table_Description',
@@ -3500,6 +3538,26 @@ const widgetDatasourceTaleContent = {
3500
3538
  limit: 20,
3501
3539
  };
3502
3540
 
3541
+ const widgetEmailsImapDefinition = {
3542
+ label: 'WIDGET_Email_IMAP',
3543
+ description: 'WIDGET_Email_IMAP_Text',
3544
+ name: jamespot.WidgetsName.EmailsImap,
3545
+ img: '/img/fast-intranet/widget-emails-imap.png',
3546
+ available: true,
3547
+ displayLevel: [1, 2, 3],
3548
+ panel: {
3549
+ useWrapper: true,
3550
+ useEditor: true,
3551
+ useSelection: true,
3552
+ useWidgets: false,
3553
+ },
3554
+ };
3555
+ const widgetEmailsImapContent = {
3556
+ emailsLimit: false,
3557
+ emailsLimitValue: 10,
3558
+ emailsPromptStatus: 'shared',
3559
+ };
3560
+
3503
3561
  const widgetExcelDatasourceTableDefinition = {
3504
3562
  label: 'WIDGET_Excel_Datasource_Table',
3505
3563
  description: 'WIDGET_Excel_Datasource_Table_Text',
@@ -3522,6 +3580,40 @@ const widgetExcelDatasourceTaleContent = {
3522
3580
  limit: 20,
3523
3581
  };
3524
3582
 
3583
+ const widgetExtensionDefinition = {
3584
+ label: 'WIDGET_Extension',
3585
+ description: 'WIDGET_Extension_Description',
3586
+ name: jamespot.WidgetsName.Extension,
3587
+ img: '/img/article-widget-thumbnail/widget-extension.png',
3588
+ available: true,
3589
+ panel: {
3590
+ useWrapper: false,
3591
+ useEditor: true,
3592
+ useSelection: false,
3593
+ useWidgets: false,
3594
+ },
3595
+ };
3596
+ const widgetExtensionContent = {
3597
+ extensionName: '',
3598
+ };
3599
+
3600
+ const widgetLuccaAbsenceDefinition = {
3601
+ label: 'WIDGET_Lucca_Absence',
3602
+ description: 'WIDGET_Lucca_Absence_Text',
3603
+ name: jamespot.WidgetsName.LuccaAbsence,
3604
+ img: '/img/fast-intranet/widget-lucca-absence.png',
3605
+ available: true,
3606
+ panel: {
3607
+ useWrapper: true,
3608
+ useEditor: true,
3609
+ useSelection: true,
3610
+ useWidgets: false,
3611
+ },
3612
+ };
3613
+ const widgetLuccaAbsenceContent = {
3614
+ url: '',
3615
+ };
3616
+
3525
3617
  const widgetPresenceDefinition = {
3526
3618
  label: 'WIDGET_Presence',
3527
3619
  description: 'WIDGET_Presence_Text',
@@ -3564,33 +3656,12 @@ const widgetQuickSurveyContent = {
3564
3656
  isNotDisabled: false,
3565
3657
  };
3566
3658
 
3567
- const widgetCalendarCalDavDefinition = {
3568
- label: 'WIDGET_Calendar_CalDav',
3569
- description: 'WIDGET_Calendar_CalDav_Text',
3570
- name: jamespot.WidgetsName.CalendarCalDav,
3571
- img: '/img/fast-intranet/widget-calendar-calDav.png',
3572
- available: true,
3573
- displayLevel: [1, 3],
3574
- panel: {
3575
- useWrapper: true,
3576
- useEditor: true,
3577
- useSelection: true,
3578
- useWidgets: false,
3579
- },
3580
- };
3581
- const widgetCalendarCalDavContent = {
3582
- calEventsLimit: false,
3583
- calEventsLimitValue: 10,
3584
- calEventsPromptStatus: 'shared',
3585
- };
3586
-
3587
- const widgetContactCardDavDefinition = {
3588
- label: 'WIDGET_Contact_CardDav',
3589
- description: 'WIDGET_Contact_CardDav_Text',
3590
- name: jamespot.WidgetsName.ContactCardDav,
3591
- img: '/img/fast-intranet/widget-contact-cardDav.png',
3659
+ const widgetWelcomeDefinition = {
3660
+ label: 'WIDGET_Welcome',
3661
+ description: 'WIDGET_Welcome_Text',
3662
+ name: jamespot.WidgetsName.Welcome,
3663
+ img: '/img/fast-intranet/widget-welcome.png',
3592
3664
  available: true,
3593
- displayLevel: [1, 3],
3594
3665
  panel: {
3595
3666
  useWrapper: true,
3596
3667
  useEditor: true,
@@ -3598,52 +3669,11 @@ const widgetContactCardDavDefinition = {
3598
3669
  useWidgets: false,
3599
3670
  },
3600
3671
  };
3601
- const widgetContactCardDavContent = {
3602
- contactLimit: false,
3603
- contactLimitValue: 10,
3604
- contactPromptStatus: 'shared',
3605
- };
3606
-
3607
- const widgetEmailsImapDefinition = {
3608
- label: 'WIDGET_Email_IMAP',
3609
- description: 'WIDGET_Email_IMAP_Text',
3610
- name: jamespot.WidgetsName.EmailsImap,
3611
- img: '/img/fast-intranet/widget-emails-imap.png',
3612
- available: true,
3613
- displayLevel: [1, 2, 3],
3614
- panel: {
3615
- useWrapper: true,
3616
- useEditor: true,
3617
- useSelection: true,
3618
- useWidgets: false,
3619
- },
3620
- };
3621
- const widgetEmailsImapContent = {
3622
- emailsLimit: false,
3623
- emailsLimitValue: 10,
3624
- emailsPromptStatus: 'shared',
3625
- };
3626
-
3627
- const widgetLuccaAbsenceDefinition = {
3628
- label: 'WIDGET_Lucca_Absence',
3629
- description: 'WIDGET_Lucca_Absence_Text',
3630
- name: jamespot.WidgetsName.LuccaAbsence,
3631
- img: '/img/fast-intranet/widget-lucca-absence.png',
3632
- available: true,
3633
- panel: {
3634
- useWrapper: true,
3635
- useEditor: true,
3636
- useSelection: true,
3637
- useWidgets: false,
3638
- },
3639
- };
3640
- const widgetLuccaAbsenceContent = {
3641
- url: '',
3642
- };
3672
+ const widgetWelcomeContent = {};
3643
3673
 
3644
3674
  const widgetUserProfileDefinition = {
3645
- label: WIDGET_USER_PROFILE,
3646
- description: WIDGET_USER_PROFILE,
3675
+ label: 'WIDGET_User_Profil',
3676
+ description: 'WIDGET_User_Profil_Text',
3647
3677
  name: jamespot.WidgetsName.UserProfile,
3648
3678
  img: '/img/fast-intranet/widget-user-profile.png',
3649
3679
  available: true,
@@ -3692,8 +3722,12 @@ function widgetDefinition(name) {
3692
3722
  return widgetLuccaAbsenceDefinition;
3693
3723
  case 'widget-emails-imap':
3694
3724
  return widgetEmailsImapDefinition;
3725
+ case 'widget-welcome':
3726
+ return widgetWelcomeDefinition;
3695
3727
  case 'widget-user-profil':
3696
3728
  return widgetUserProfileDefinition;
3729
+ case 'widget-extension':
3730
+ return widgetExtensionDefinition;
3697
3731
  }
3698
3732
  }
3699
3733
 
@@ -3778,10 +3812,18 @@ function content(name) {
3778
3812
  return {
3779
3813
  ...widgetEmailsImapContent,
3780
3814
  };
3815
+ case 'widget-welcome':
3816
+ return {
3817
+ ...widgetWelcomeContent,
3818
+ };
3781
3819
  case 'widget-user-profil':
3782
3820
  return {
3783
3821
  ...widgetUserProfileContent,
3784
3822
  };
3823
+ case 'widget-extension':
3824
+ return {
3825
+ ...widgetExtensionContent,
3826
+ };
3785
3827
  }
3786
3828
  }
3787
3829