jamespot-front-business 1.2.55 → 1.2.57
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 +30 -1
- package/dist/cjs.js.map +1 -1
- package/dist/esm.js +30 -1
- package/dist/esm.js.map +1 -1
- package/dist/types.d.ts +78 -21
- package/package.json +2 -2
package/dist/esm.js
CHANGED
|
@@ -2754,6 +2754,8 @@ const getModelFontAwesomeIcon = (icon) => {
|
|
|
2754
2754
|
lab: 'flask',
|
|
2755
2755
|
magicpad: 'draftio',
|
|
2756
2756
|
boardCard: 'square-list',
|
|
2757
|
+
boardList: 'square-list',
|
|
2758
|
+
board: 'square-list',
|
|
2757
2759
|
meeting: 'calendar-days',
|
|
2758
2760
|
news: 'newspaper',
|
|
2759
2761
|
platform: 'hammer',
|
|
@@ -3317,6 +3319,9 @@ const WIDGET_CHECK_LIST_DESCRIPTION = 'WIDGET_Check_List_Description';
|
|
|
3317
3319
|
const WIDGET_QUICK_SURVEY = 'widget-quick-survey';
|
|
3318
3320
|
const WIDGET_QUICK_SURVEY_LABEL = 'WIDGET_Quick_Survey';
|
|
3319
3321
|
const WIDGET_QUICK_SURVEY_DESCRIPTION = 'WIDGET_Quick_Survey_Text';
|
|
3322
|
+
const WIDGET_USER_PROFILE = 'widget-user-profil';
|
|
3323
|
+
const WIDGET_USER_PROFILE_LABEL = 'WIDGET_User_Profil';
|
|
3324
|
+
const WIDGET_USER_PROFILE_DESCRIPTION = 'WIDGET_User_Profil_Text';
|
|
3320
3325
|
|
|
3321
3326
|
var WIDGETS = /*#__PURE__*/Object.freeze({
|
|
3322
3327
|
__proto__: null,
|
|
@@ -3331,7 +3336,10 @@ var WIDGETS = /*#__PURE__*/Object.freeze({
|
|
|
3331
3336
|
WIDGET_CHECK_LIST_LABEL: WIDGET_CHECK_LIST_LABEL,
|
|
3332
3337
|
WIDGET_QUICK_SURVEY: WIDGET_QUICK_SURVEY,
|
|
3333
3338
|
WIDGET_QUICK_SURVEY_DESCRIPTION: WIDGET_QUICK_SURVEY_DESCRIPTION,
|
|
3334
|
-
WIDGET_QUICK_SURVEY_LABEL: WIDGET_QUICK_SURVEY_LABEL
|
|
3339
|
+
WIDGET_QUICK_SURVEY_LABEL: WIDGET_QUICK_SURVEY_LABEL,
|
|
3340
|
+
WIDGET_USER_PROFILE: WIDGET_USER_PROFILE,
|
|
3341
|
+
WIDGET_USER_PROFILE_DESCRIPTION: WIDGET_USER_PROFILE_DESCRIPTION,
|
|
3342
|
+
WIDGET_USER_PROFILE_LABEL: WIDGET_USER_PROFILE_LABEL
|
|
3335
3343
|
});
|
|
3336
3344
|
|
|
3337
3345
|
const widgetArticleAttachmentDefinition = {
|
|
@@ -3651,6 +3659,21 @@ const widgetLuccaAbsenceContent = {
|
|
|
3651
3659
|
url: '',
|
|
3652
3660
|
};
|
|
3653
3661
|
|
|
3662
|
+
const widgetUserProfileDefinition = {
|
|
3663
|
+
label: WIDGET_USER_PROFILE,
|
|
3664
|
+
description: WIDGET_USER_PROFILE,
|
|
3665
|
+
name: WidgetsName.UserProfile,
|
|
3666
|
+
img: '/img/fast-intranet/widget-user-profile.png',
|
|
3667
|
+
available: true,
|
|
3668
|
+
panel: {
|
|
3669
|
+
useWrapper: true,
|
|
3670
|
+
useEditor: true,
|
|
3671
|
+
useSelection: true,
|
|
3672
|
+
useWidgets: false,
|
|
3673
|
+
},
|
|
3674
|
+
};
|
|
3675
|
+
const widgetUserProfileContent = {};
|
|
3676
|
+
|
|
3654
3677
|
function widgetDefinition(name) {
|
|
3655
3678
|
switch (name) {
|
|
3656
3679
|
default:
|
|
@@ -3687,6 +3710,8 @@ function widgetDefinition(name) {
|
|
|
3687
3710
|
return widgetLuccaAbsenceDefinition;
|
|
3688
3711
|
case 'widget-emails-imap':
|
|
3689
3712
|
return widgetEmailsImapDefinition;
|
|
3713
|
+
case 'widget-user-profil':
|
|
3714
|
+
return widgetUserProfileDefinition;
|
|
3690
3715
|
}
|
|
3691
3716
|
}
|
|
3692
3717
|
|
|
@@ -3771,6 +3796,10 @@ function content(name) {
|
|
|
3771
3796
|
return {
|
|
3772
3797
|
...widgetEmailsImapContent,
|
|
3773
3798
|
};
|
|
3799
|
+
case 'widget-user-profil':
|
|
3800
|
+
return {
|
|
3801
|
+
...widgetUserProfileContent,
|
|
3802
|
+
};
|
|
3774
3803
|
}
|
|
3775
3804
|
}
|
|
3776
3805
|
|