jamespot-front-business 1.3.3 → 1.3.5
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 +45 -5
- package/dist/cjs.js.map +1 -1
- package/dist/esm.js +45 -5
- package/dist/esm.js.map +1 -1
- package/dist/types.d.ts +5 -8
- package/package.json +2 -2
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 = {
|
|
@@ -3659,8 +3657,8 @@ const widgetQuickSurveyContent = {
|
|
|
3659
3657
|
};
|
|
3660
3658
|
|
|
3661
3659
|
const widgetUserProfileDefinition = {
|
|
3662
|
-
label:
|
|
3663
|
-
description:
|
|
3660
|
+
label: 'WIDGET_User_Profil',
|
|
3661
|
+
description: 'WIDGET_User_Profil_Text',
|
|
3664
3662
|
name: jamespot.WidgetsName.UserProfile,
|
|
3665
3663
|
img: '/img/fast-intranet/widget-user-profile.png',
|
|
3666
3664
|
available: true,
|
|
@@ -3673,6 +3671,36 @@ const widgetUserProfileDefinition = {
|
|
|
3673
3671
|
};
|
|
3674
3672
|
const widgetUserProfileContent = {};
|
|
3675
3673
|
|
|
3674
|
+
const widgetColorDefinition = {
|
|
3675
|
+
label: 'WIDGET_Color',
|
|
3676
|
+
description: 'WIDGET_Color_Text',
|
|
3677
|
+
name: jamespot.WidgetsName.Color,
|
|
3678
|
+
img: '/img/fast-intranet/widget-color.png',
|
|
3679
|
+
available: true,
|
|
3680
|
+
panel: {
|
|
3681
|
+
useWrapper: true,
|
|
3682
|
+
useEditor: true,
|
|
3683
|
+
useSelection: true,
|
|
3684
|
+
useWidgets: false,
|
|
3685
|
+
},
|
|
3686
|
+
};
|
|
3687
|
+
const widgetColorContent = {};
|
|
3688
|
+
|
|
3689
|
+
const widgetWelcomeDefinition = {
|
|
3690
|
+
label: 'WIDGET_Welcome',
|
|
3691
|
+
description: 'WIDGET_Welcome_Text',
|
|
3692
|
+
name: jamespot.WidgetsName.Welcome,
|
|
3693
|
+
img: '/img/fast-intranet/widget-welcome.png',
|
|
3694
|
+
available: true,
|
|
3695
|
+
panel: {
|
|
3696
|
+
useWrapper: true,
|
|
3697
|
+
useEditor: true,
|
|
3698
|
+
useSelection: true,
|
|
3699
|
+
useWidgets: false,
|
|
3700
|
+
},
|
|
3701
|
+
};
|
|
3702
|
+
const widgetWelcomeContent = {};
|
|
3703
|
+
|
|
3676
3704
|
function widgetDefinition(name) {
|
|
3677
3705
|
switch (name) {
|
|
3678
3706
|
default:
|
|
@@ -3709,10 +3737,14 @@ function widgetDefinition(name) {
|
|
|
3709
3737
|
return widgetLuccaAbsenceDefinition;
|
|
3710
3738
|
case 'widget-emails-imap':
|
|
3711
3739
|
return widgetEmailsImapDefinition;
|
|
3740
|
+
case 'widget-welcome':
|
|
3741
|
+
return widgetWelcomeDefinition;
|
|
3712
3742
|
case 'widget-user-profil':
|
|
3713
3743
|
return widgetUserProfileDefinition;
|
|
3714
3744
|
case 'widget-extension':
|
|
3715
3745
|
return widgetExtensionDefinition;
|
|
3746
|
+
case 'widget-color':
|
|
3747
|
+
return widgetColorDefinition;
|
|
3716
3748
|
}
|
|
3717
3749
|
}
|
|
3718
3750
|
|
|
@@ -3797,6 +3829,10 @@ function content(name) {
|
|
|
3797
3829
|
return {
|
|
3798
3830
|
...widgetEmailsImapContent,
|
|
3799
3831
|
};
|
|
3832
|
+
case 'widget-welcome':
|
|
3833
|
+
return {
|
|
3834
|
+
...widgetWelcomeContent,
|
|
3835
|
+
};
|
|
3800
3836
|
case 'widget-user-profil':
|
|
3801
3837
|
return {
|
|
3802
3838
|
...widgetUserProfileContent,
|
|
@@ -3805,6 +3841,10 @@ function content(name) {
|
|
|
3805
3841
|
return {
|
|
3806
3842
|
...widgetExtensionContent,
|
|
3807
3843
|
};
|
|
3844
|
+
case 'widget-color':
|
|
3845
|
+
return {
|
|
3846
|
+
...widgetColorContent,
|
|
3847
|
+
};
|
|
3808
3848
|
}
|
|
3809
3849
|
}
|
|
3810
3850
|
|