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