jamespot-front-business 1.1.80 → 1.1.81

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/types.d.ts CHANGED
@@ -3102,7 +3102,109 @@ declare const Comment: {
3102
3102
  }>;
3103
3103
  };
3104
3104
  selectors: {
3105
- commentList: (state: CommentRootState, idArticle: number) => CommentsList | undefined;
3105
+ commentList: (state: CommentRootState, idArticle: number, limit?: number) => {
3106
+ type: string;
3107
+ id: number;
3108
+ mainType: string;
3109
+ uri: string;
3110
+ dateCreation: string;
3111
+ dateModified: string | null;
3112
+ description: string | null;
3113
+ _user: jamespot_user_api.jObjectBase & {
3114
+ title: string;
3115
+ _url: string;
3116
+ } & {
3117
+ [key: string]: string | number | null;
3118
+ level: 0 | 3 | 5 | 9;
3119
+ dateCreation: string;
3120
+ dateModified: string;
3121
+ };
3122
+ _right: jamespot_user_api.Rights;
3123
+ _attachedFiles?: {
3124
+ type: string;
3125
+ id: number;
3126
+ mainType: string;
3127
+ uri: string;
3128
+ dateCreation: string;
3129
+ dateModified: string | null;
3130
+ title: string;
3131
+ _url: string;
3132
+ mimetype: string;
3133
+ size: number;
3134
+ path?: string | undefined;
3135
+ }[] | undefined;
3136
+ _actions?: Record<string, {
3137
+ type: string;
3138
+ class: string;
3139
+ label: string;
3140
+ stats: {
3141
+ total: number;
3142
+ };
3143
+ cssClass: string;
3144
+ cssColor: string;
3145
+ isActive: boolean;
3146
+ struct: {
3147
+ type: string;
3148
+ targetId: number;
3149
+ targetType: string;
3150
+ action: string;
3151
+ do: string;
3152
+ };
3153
+ }> | undefined;
3154
+ _widgets?: jamespot_user_api.WidgetWrapperGeneric<({
3155
+ layers?: string[] | undefined;
3156
+ } & jamespot_user_api.WidgetArticleAttachmentType) | ({
3157
+ layers?: string[] | undefined;
3158
+ } & jamespot_user_api.WidgetArticleButtonType) | ({
3159
+ layers?: string[] | undefined;
3160
+ } & jamespot_user_api.WidgetArticleGalleryType) | ({
3161
+ layers?: string[] | undefined;
3162
+ } & jamespot_user_api.WidgetArticleImageType) | ({
3163
+ layers?: string[] | undefined;
3164
+ } & jamespot_user_api.WidgetArticleTitleType) | ({
3165
+ layers?: string[] | undefined;
3166
+ } & jamespot_user_api.WidgetArticleTextType) | ({
3167
+ layers?: string[] | undefined;
3168
+ } & jamespot_user_api.WidgetArticleSliderType) | ({
3169
+ layers?: string[] | undefined;
3170
+ } & jamespot_user_api.WidgetType<{
3171
+ widgets?: jamespot_user_api.WidgetBaseType[] | undefined;
3172
+ arr?: jamespot_user_api.WidgetCheckListContentArr[] | undefined;
3173
+ css?: Record<string, string> | undefined;
3174
+ edit?: boolean | undefined;
3175
+ }>) | ({
3176
+ layers?: string[] | undefined;
3177
+ } & jamespot_user_api.WidgetDatasourceTableType) | ({
3178
+ layers?: string[] | undefined;
3179
+ } & {
3180
+ name: jamespot_user_api.WidgetsName.ExcelDatasourceTable;
3181
+ uniqid: string;
3182
+ content: {
3183
+ uri?: string | undefined;
3184
+ limit?: number | boolean | undefined;
3185
+ tableColumnsData?: {
3186
+ name?: string | undefined;
3187
+ label?: string | undefined;
3188
+ isVisible?: boolean | undefined;
3189
+ textEllipsis?: boolean | undefined;
3190
+ dateFormat?: "date" | "time" | "date-time" | "date-time-sec" | "time-sec" | undefined;
3191
+ numberFormat?: "fr-FR" | "en-EN" | "filesize" | undefined;
3192
+ }[] | undefined;
3193
+ tableHeadColor?: string | undefined;
3194
+ tableHeadTextColor?: string | undefined;
3195
+ tableHeadIconColor?: string | undefined;
3196
+ tableRowColor?: string | undefined;
3197
+ tableRowTextColor?: string | undefined;
3198
+ tableBorderRadius?: number | undefined;
3199
+ tableSizedColumns?: boolean | undefined;
3200
+ tableSizedColumnsWidth?: number | undefined;
3201
+ };
3202
+ }) | ({
3203
+ layers?: string[] | undefined;
3204
+ } & jamespot_user_api.WidgetPresenceType) | ({
3205
+ layers?: string[] | undefined;
3206
+ } & jamespot_user_api.WidgetQuickSurveyType)>[] | undefined;
3207
+ }[];
3106
3208
  };
3107
3209
  getCommentRTHandlers: (dispatch: RTDispatch, idArticle: number) => jamespot_user_api.RTMessageHandler<"JAMESPOT", "comment-create" | "comment-delete" | "comment-update" | "article-create" | "article-delete" | "article-update">[];
3108
3210
  getCommentsLikeRTHandlers: (dispatch: RTDispatch, idComments: number[] | undefined, idArticle: number) => jamespot_user_api.RTMessageHandler<"CUSTOM-ACTION", "update" | "add" | "remove">[];
@@ -12037,6 +12139,7 @@ declare const TinyMCE: {
12037
12139
  paste_data_images: boolean;
12038
12140
  browser_spellcheck: boolean;
12039
12141
  quickbars_insert_toolbar: boolean;
12142
+ license_key: "gpl";
12040
12143
  } | undefined;
12041
12144
  selectTinyMCEExtendedOptions: (state: TinyMCERootState) => {
12042
12145
  commentsToolbar: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jamespot-front-business",
3
- "version": "1.1.80",
3
+ "version": "1.1.81",
4
4
  "description": "typescript utils",
5
5
  "main": "dist/cjs.js",
6
6
  "module": "dist/esm.js",
@@ -43,7 +43,7 @@
43
43
  "dependencies": {
44
44
  "@reduxjs/toolkit": "1.9.0",
45
45
  "@types/uuid": "^10.0.0",
46
- "jamespot-user-api": "^1.0.203",
46
+ "jamespot-user-api": "^1.0.205",
47
47
  "react-redux": "7.2.9",
48
48
  "redux": "4.2.0",
49
49
  "uuid": "^10.0.0"