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/types.d.ts CHANGED
@@ -450,7 +450,7 @@ type JType = {
450
450
  mainType: string;
451
451
  };
452
452
  type ContentTypePropertyValue = Pick<JType, 'type' | 'label'>;
453
- declare const AppFormFixedList: ("TITLE" | "USER" | "PUBLISHTO" | "SENDALERTTOSUBSCRIBERS" | "RECEIVEACOPY" | "CREATIONDATE")[];
453
+ declare const AppFormFixedList: ("USER" | "TITLE" | "PUBLISHTO" | "SENDALERTTOSUBSCRIBERS" | "RECEIVEACOPY" | "CREATIONDATE")[];
454
454
  declare const AppFormNoAsFieldList: Array<ExtraAppFieldsItemViewsValues | AppFormItemTypesValues>;
455
455
  declare const AppFormFieldOnlyInView: "CODEHTML"[];
456
456
  declare const AppFormNonPrimaryList: (AppFormItemTypesValues | ExtraAppFieldsItemViewsValues)[];
@@ -1043,8 +1043,8 @@ declare const AdminLogs: {
1043
1043
  level: number;
1044
1044
  pseudo: string;
1045
1045
  idUser: number;
1046
- ip: string;
1047
1046
  action: string;
1047
+ ip: string;
1048
1048
  extended?: string | undefined;
1049
1049
  }>, jamespot_user_api.ListQueryParameters, {
1050
1050
  dispatch: AppDispatch;
@@ -2009,7 +2009,7 @@ declare const Calendar: {
2009
2009
  } & jamespot_user_api.WidgetType<{
2010
2010
  widgets?: jamespot_user_api.WidgetBaseType[] | undefined;
2011
2011
  arr?: jamespot_user_api.WidgetCheckListContentArr[] | undefined;
2012
- css?: Record<string, string> | undefined;
2012
+ css?: Record<string, string | number> | undefined;
2013
2013
  edit?: boolean | undefined;
2014
2014
  }>) | ({
2015
2015
  layers?: string[] | undefined;
@@ -2026,7 +2026,7 @@ declare const Calendar: {
2026
2026
  label?: string | undefined;
2027
2027
  isVisible?: boolean | undefined;
2028
2028
  textEllipsis?: boolean | undefined;
2029
- dateFormat?: "date" | "time" | "date-time" | "date-time-sec" | "time-sec" | undefined;
2029
+ dateFormat?: "date" | "date-time" | "date-time-sec" | "time" | "time-sec" | undefined;
2030
2030
  numberFormat?: "fr-FR" | "en-EN" | "filesize" | undefined;
2031
2031
  }[] | undefined;
2032
2032
  tableHeadColor?: string | undefined;
@@ -2064,6 +2064,12 @@ declare const Calendar: {
2064
2064
  layers?: string[] | undefined;
2065
2065
  } & jamespot_user_api.WidgetType<{
2066
2066
  url?: string | undefined;
2067
+ }>) | ({
2068
+ layers?: string[] | undefined;
2069
+ } & jamespot_user_api.WidgetType<{
2070
+ css?: Record<string, string | number> | undefined;
2071
+ buttonName?: string | undefined;
2072
+ pictureSize?: string | undefined;
2067
2073
  }>)>[] | undefined;
2068
2074
  tags?: {
2069
2075
  id: string;
@@ -2173,7 +2179,7 @@ declare const Calendar: {
2173
2179
  } & jamespot_user_api.WidgetType<{
2174
2180
  widgets?: jamespot_user_api.WidgetBaseType[] | undefined;
2175
2181
  arr?: jamespot_user_api.WidgetCheckListContentArr[] | undefined;
2176
- css?: Record<string, string> | undefined;
2182
+ css?: Record<string, string | number> | undefined;
2177
2183
  edit?: boolean | undefined;
2178
2184
  }>) | ({
2179
2185
  layers?: string[] | undefined;
@@ -2190,7 +2196,7 @@ declare const Calendar: {
2190
2196
  label?: string | undefined;
2191
2197
  isVisible?: boolean | undefined;
2192
2198
  textEllipsis?: boolean | undefined;
2193
- dateFormat?: "date" | "time" | "date-time" | "date-time-sec" | "time-sec" | undefined;
2199
+ dateFormat?: "date" | "date-time" | "date-time-sec" | "time" | "time-sec" | undefined;
2194
2200
  numberFormat?: "fr-FR" | "en-EN" | "filesize" | undefined;
2195
2201
  }[] | undefined;
2196
2202
  tableHeadColor?: string | undefined;
@@ -2228,6 +2234,12 @@ declare const Calendar: {
2228
2234
  layers?: string[] | undefined;
2229
2235
  } & jamespot_user_api.WidgetType<{
2230
2236
  url?: string | undefined;
2237
+ }>) | ({
2238
+ layers?: string[] | undefined;
2239
+ } & jamespot_user_api.WidgetType<{
2240
+ css?: Record<string, string | number> | undefined;
2241
+ buttonName?: string | undefined;
2242
+ pictureSize?: string | undefined;
2231
2243
  }>)>[] | undefined;
2232
2244
  tags?: {
2233
2245
  id: string;
@@ -2335,7 +2347,7 @@ declare const Calendar: {
2335
2347
  } & jamespot_user_api.WidgetType<{
2336
2348
  widgets?: jamespot_user_api.WidgetBaseType[] | undefined;
2337
2349
  arr?: jamespot_user_api.WidgetCheckListContentArr[] | undefined;
2338
- css?: Record<string, string> | undefined;
2350
+ css?: Record<string, string | number> | undefined;
2339
2351
  edit?: boolean | undefined;
2340
2352
  }>) | ({
2341
2353
  layers?: string[] | undefined;
@@ -2352,7 +2364,7 @@ declare const Calendar: {
2352
2364
  label?: string | undefined;
2353
2365
  isVisible?: boolean | undefined;
2354
2366
  textEllipsis?: boolean | undefined;
2355
- dateFormat?: "date" | "time" | "date-time" | "date-time-sec" | "time-sec" | undefined;
2367
+ dateFormat?: "date" | "date-time" | "date-time-sec" | "time" | "time-sec" | undefined;
2356
2368
  numberFormat?: "fr-FR" | "en-EN" | "filesize" | undefined;
2357
2369
  }[] | undefined;
2358
2370
  tableHeadColor?: string | undefined;
@@ -2390,6 +2402,12 @@ declare const Calendar: {
2390
2402
  layers?: string[] | undefined;
2391
2403
  } & jamespot_user_api.WidgetType<{
2392
2404
  url?: string | undefined;
2405
+ }>) | ({
2406
+ layers?: string[] | undefined;
2407
+ } & jamespot_user_api.WidgetType<{
2408
+ css?: Record<string, string | number> | undefined;
2409
+ buttonName?: string | undefined;
2410
+ pictureSize?: string | undefined;
2393
2411
  }>)>[] | undefined;
2394
2412
  tags?: {
2395
2413
  id: string;
@@ -2744,7 +2762,7 @@ declare const Comment: {
2744
2762
  } & jamespot_user_api.WidgetType<{
2745
2763
  widgets?: jamespot_user_api.WidgetBaseType[] | undefined;
2746
2764
  arr?: jamespot_user_api.WidgetCheckListContentArr[] | undefined;
2747
- css?: Record<string, string> | undefined;
2765
+ css?: Record<string, string | number> | undefined;
2748
2766
  edit?: boolean | undefined;
2749
2767
  }>) | ({
2750
2768
  layers?: string[] | undefined;
@@ -2761,7 +2779,7 @@ declare const Comment: {
2761
2779
  label?: string | undefined;
2762
2780
  isVisible?: boolean | undefined;
2763
2781
  textEllipsis?: boolean | undefined;
2764
- dateFormat?: "date" | "time" | "date-time" | "date-time-sec" | "time-sec" | undefined;
2782
+ dateFormat?: "date" | "date-time" | "date-time-sec" | "time" | "time-sec" | undefined;
2765
2783
  numberFormat?: "fr-FR" | "en-EN" | "filesize" | undefined;
2766
2784
  }[] | undefined;
2767
2785
  tableHeadColor?: string | undefined;
@@ -2799,6 +2817,12 @@ declare const Comment: {
2799
2817
  layers?: string[] | undefined;
2800
2818
  } & jamespot_user_api.WidgetType<{
2801
2819
  url?: string | undefined;
2820
+ }>) | ({
2821
+ layers?: string[] | undefined;
2822
+ } & jamespot_user_api.WidgetType<{
2823
+ css?: Record<string, string | number> | undefined;
2824
+ buttonName?: string | undefined;
2825
+ pictureSize?: string | undefined;
2802
2826
  }>)>[] | undefined;
2803
2827
  }[] | undefined;
2804
2828
  attachments?: {
@@ -3055,7 +3079,7 @@ declare const Faq: {
3055
3079
  };
3056
3080
  actions: {
3057
3081
  fetchFaqConfig: _reduxjs_toolkit.AsyncThunk<{
3058
- _web: "" | "1" | "0" | undefined;
3082
+ _web: "" | "0" | "1" | undefined;
3059
3083
  appImage: string | {
3060
3084
  image: {
3061
3085
  id: string;
@@ -3066,7 +3090,7 @@ declare const Faq: {
3066
3090
  access: {
3067
3091
  createCategory: boolean;
3068
3092
  };
3069
- _displayComment: "" | "1" | "0" | undefined;
3093
+ _displayComment: "" | "0" | "1" | undefined;
3070
3094
  } | {
3071
3095
  _web: string;
3072
3096
  appImage?: never;
@@ -4675,6 +4699,9 @@ declare const WIDGET_CHECK_LIST_DESCRIPTION = "WIDGET_Check_List_Description";
4675
4699
  declare const WIDGET_QUICK_SURVEY = "widget-quick-survey";
4676
4700
  declare const WIDGET_QUICK_SURVEY_LABEL = "WIDGET_Quick_Survey";
4677
4701
  declare const WIDGET_QUICK_SURVEY_DESCRIPTION = "WIDGET_Quick_Survey_Text";
4702
+ declare const WIDGET_USER_PROFILE = "widget-user-profil";
4703
+ declare const WIDGET_USER_PROFILE_LABEL = "WIDGET_User_Profil";
4704
+ declare const WIDGET_USER_PROFILE_DESCRIPTION = "WIDGET_User_Profil_Text";
4678
4705
 
4679
4706
  declare const WIDGETS_WIDGET_ARTICLE_ATTACHMENT: typeof WIDGET_ARTICLE_ATTACHMENT;
4680
4707
  declare const WIDGETS_WIDGET_ARTICLE_BUTTON: typeof WIDGET_ARTICLE_BUTTON;
@@ -4688,6 +4715,9 @@ declare const WIDGETS_WIDGET_CHECK_LIST_LABEL: typeof WIDGET_CHECK_LIST_LABEL;
4688
4715
  declare const WIDGETS_WIDGET_QUICK_SURVEY: typeof WIDGET_QUICK_SURVEY;
4689
4716
  declare const WIDGETS_WIDGET_QUICK_SURVEY_DESCRIPTION: typeof WIDGET_QUICK_SURVEY_DESCRIPTION;
4690
4717
  declare const WIDGETS_WIDGET_QUICK_SURVEY_LABEL: typeof WIDGET_QUICK_SURVEY_LABEL;
4718
+ declare const WIDGETS_WIDGET_USER_PROFILE: typeof WIDGET_USER_PROFILE;
4719
+ declare const WIDGETS_WIDGET_USER_PROFILE_DESCRIPTION: typeof WIDGET_USER_PROFILE_DESCRIPTION;
4720
+ declare const WIDGETS_WIDGET_USER_PROFILE_LABEL: typeof WIDGET_USER_PROFILE_LABEL;
4691
4721
  declare namespace WIDGETS {
4692
4722
  export {
4693
4723
  WIDGETS_WIDGET_ARTICLE_ATTACHMENT as WIDGET_ARTICLE_ATTACHMENT,
@@ -4702,6 +4732,9 @@ declare namespace WIDGETS {
4702
4732
  WIDGETS_WIDGET_QUICK_SURVEY as WIDGET_QUICK_SURVEY,
4703
4733
  WIDGETS_WIDGET_QUICK_SURVEY_DESCRIPTION as WIDGET_QUICK_SURVEY_DESCRIPTION,
4704
4734
  WIDGETS_WIDGET_QUICK_SURVEY_LABEL as WIDGET_QUICK_SURVEY_LABEL,
4735
+ WIDGETS_WIDGET_USER_PROFILE as WIDGET_USER_PROFILE,
4736
+ WIDGETS_WIDGET_USER_PROFILE_DESCRIPTION as WIDGET_USER_PROFILE_DESCRIPTION,
4737
+ WIDGETS_WIDGET_USER_PROFILE_LABEL as WIDGET_USER_PROFILE_LABEL,
4705
4738
  };
4706
4739
  }
4707
4740
 
@@ -4746,7 +4779,7 @@ declare const Widget: {
4746
4779
  } & jamespot_user_api.WidgetType<{
4747
4780
  widgets?: jamespot_user_api.WidgetBaseType[] | undefined;
4748
4781
  arr?: jamespot_user_api.WidgetCheckListContentArr[] | undefined;
4749
- css?: Record<string, string> | undefined;
4782
+ css?: Record<string, string | number> | undefined;
4750
4783
  edit?: boolean | undefined;
4751
4784
  }>) | ({
4752
4785
  layers?: string[] | undefined;
@@ -4763,7 +4796,7 @@ declare const Widget: {
4763
4796
  label?: string | undefined;
4764
4797
  isVisible?: boolean | undefined;
4765
4798
  textEllipsis?: boolean | undefined;
4766
- dateFormat?: "date" | "time" | "date-time" | "date-time-sec" | "time-sec" | undefined;
4799
+ dateFormat?: "date" | "date-time" | "date-time-sec" | "time" | "time-sec" | undefined;
4767
4800
  numberFormat?: "fr-FR" | "en-EN" | "filesize" | undefined;
4768
4801
  }[] | undefined;
4769
4802
  tableHeadColor?: string | undefined;
@@ -4801,6 +4834,12 @@ declare const Widget: {
4801
4834
  layers?: string[] | undefined;
4802
4835
  } & jamespot_user_api.WidgetType<{
4803
4836
  url?: string | undefined;
4837
+ }>) | ({
4838
+ layers?: string[] | undefined;
4839
+ } & jamespot_user_api.WidgetType<{
4840
+ css?: Record<string, string | number> | undefined;
4841
+ buttonName?: string | undefined;
4842
+ pictureSize?: string | undefined;
4804
4843
  }>)>[];
4805
4844
  visible: boolean;
4806
4845
  uniqid: string;
@@ -4829,7 +4868,7 @@ declare const Widget: {
4829
4868
  } & jamespot_user_api.WidgetType<{
4830
4869
  widgets?: jamespot_user_api.WidgetBaseType[] | undefined;
4831
4870
  arr?: jamespot_user_api.WidgetCheckListContentArr[] | undefined;
4832
- css?: Record<string, string> | undefined;
4871
+ css?: Record<string, string | number> | undefined;
4833
4872
  edit?: boolean | undefined;
4834
4873
  }>) | ({
4835
4874
  layers?: string[] | undefined;
@@ -4846,7 +4885,7 @@ declare const Widget: {
4846
4885
  label?: string | undefined;
4847
4886
  isVisible?: boolean | undefined;
4848
4887
  textEllipsis?: boolean | undefined;
4849
- dateFormat?: "date" | "time" | "date-time" | "date-time-sec" | "time-sec" | undefined;
4888
+ dateFormat?: "date" | "date-time" | "date-time-sec" | "time" | "time-sec" | undefined;
4850
4889
  numberFormat?: "fr-FR" | "en-EN" | "filesize" | undefined;
4851
4890
  }[] | undefined;
4852
4891
  tableHeadColor?: string | undefined;
@@ -4884,6 +4923,12 @@ declare const Widget: {
4884
4923
  layers?: string[] | undefined;
4885
4924
  } & jamespot_user_api.WidgetType<{
4886
4925
  url?: string | undefined;
4926
+ }>) | ({
4927
+ layers?: string[] | undefined;
4928
+ } & jamespot_user_api.WidgetType<{
4929
+ css?: Record<string, string | number> | undefined;
4930
+ buttonName?: string | undefined;
4931
+ pictureSize?: string | undefined;
4887
4932
  }>)>>;
4888
4933
  states: Record<string, {
4889
4934
  busy?: boolean | undefined;
@@ -5055,7 +5100,7 @@ declare const Widget: {
5055
5100
  } & jamespot_user_api.WidgetType<{
5056
5101
  widgets?: jamespot_user_api.WidgetBaseType[] | undefined;
5057
5102
  arr?: jamespot_user_api.WidgetCheckListContentArr[] | undefined;
5058
- css?: Record<string, string> | undefined;
5103
+ css?: Record<string, string | number> | undefined;
5059
5104
  edit?: boolean | undefined;
5060
5105
  }>) | ({
5061
5106
  layers?: string[] | undefined;
@@ -5072,7 +5117,7 @@ declare const Widget: {
5072
5117
  label?: string | undefined;
5073
5118
  isVisible?: boolean | undefined;
5074
5119
  textEllipsis?: boolean | undefined;
5075
- dateFormat?: "date" | "time" | "date-time" | "date-time-sec" | "time-sec" | undefined;
5120
+ dateFormat?: "date" | "date-time" | "date-time-sec" | "time" | "time-sec" | undefined;
5076
5121
  numberFormat?: "fr-FR" | "en-EN" | "filesize" | undefined;
5077
5122
  }[] | undefined;
5078
5123
  tableHeadColor?: string | undefined;
@@ -5110,6 +5155,12 @@ declare const Widget: {
5110
5155
  layers?: string[] | undefined;
5111
5156
  } & jamespot_user_api.WidgetType<{
5112
5157
  url?: string | undefined;
5158
+ }>) | ({
5159
+ layers?: string[] | undefined;
5160
+ } & jamespot_user_api.WidgetType<{
5161
+ css?: Record<string, string | number> | undefined;
5162
+ buttonName?: string | undefined;
5163
+ pictureSize?: string | undefined;
5113
5164
  }>)>>;
5114
5165
  selectWidget: (state: RootState$1, uniqid: string) => jamespot_user_api.WidgetWrapperGeneric<({
5115
5166
  layers?: string[] | undefined;
@@ -5130,7 +5181,7 @@ declare const Widget: {
5130
5181
  } & jamespot_user_api.WidgetType<{
5131
5182
  widgets?: jamespot_user_api.WidgetBaseType[] | undefined;
5132
5183
  arr?: jamespot_user_api.WidgetCheckListContentArr[] | undefined;
5133
- css?: Record<string, string> | undefined;
5184
+ css?: Record<string, string | number> | undefined;
5134
5185
  edit?: boolean | undefined;
5135
5186
  }>) | ({
5136
5187
  layers?: string[] | undefined;
@@ -5147,7 +5198,7 @@ declare const Widget: {
5147
5198
  label?: string | undefined;
5148
5199
  isVisible?: boolean | undefined;
5149
5200
  textEllipsis?: boolean | undefined;
5150
- dateFormat?: "date" | "time" | "date-time" | "date-time-sec" | "time-sec" | undefined;
5201
+ dateFormat?: "date" | "date-time" | "date-time-sec" | "time" | "time-sec" | undefined;
5151
5202
  numberFormat?: "fr-FR" | "en-EN" | "filesize" | undefined;
5152
5203
  }[] | undefined;
5153
5204
  tableHeadColor?: string | undefined;
@@ -5185,6 +5236,12 @@ declare const Widget: {
5185
5236
  layers?: string[] | undefined;
5186
5237
  } & jamespot_user_api.WidgetType<{
5187
5238
  url?: string | undefined;
5239
+ }>) | ({
5240
+ layers?: string[] | undefined;
5241
+ } & jamespot_user_api.WidgetType<{
5242
+ css?: Record<string, string | number> | undefined;
5243
+ buttonName?: string | undefined;
5244
+ pictureSize?: string | undefined;
5188
5245
  }>)> | undefined;
5189
5246
  selectWidgetState: (state: RootState$1, uniqid: string) => {
5190
5247
  busy?: boolean | undefined;
@@ -5233,7 +5290,7 @@ declare const Widget: {
5233
5290
  }[];
5234
5291
  selectFlushedWidgets: (state: RootState$1) => string[];
5235
5292
  selectWidgetContext: (state: RootState$1, uniqid: string) => "article" | "comment" | undefined;
5236
- selectWidgetLevel: (state: RootState$1, uniqid: string) => 1 | 3 | 2 | 4 | undefined;
5293
+ selectWidgetLevel: (state: RootState$1, uniqid: string) => 1 | 2 | 3 | 4 | undefined;
5237
5294
  selectWidgetWrapperStyle: (state: RootState$1, uniqid: string) => Record<string, string | number>;
5238
5295
  selectWidgetTitleStyle: (state: RootState$1, uniqid: string) => Record<string, string | number>;
5239
5296
  selectWidgetChipCount: (state: RootState$1, uniqid: string) => number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jamespot-front-business",
3
- "version": "1.2.55",
3
+ "version": "1.2.57",
4
4
  "description": "typescript utils",
5
5
  "main": "dist/cjs.js",
6
6
  "module": "dist/esm.js",
@@ -31,7 +31,7 @@
31
31
  "eslint-config-prettier": "^8.10.2",
32
32
  "eslint-import-resolver-typescript": "^4.4.4",
33
33
  "eslint-plugin-import": "^2.32.0",
34
- "jamespot-user-api": "^1.2.55",
34
+ "jamespot-user-api": "^1.2.57",
35
35
  "jest": "^30.2.0",
36
36
  "jest-environment-jsdom": "^30.2.0",
37
37
  "prettier": "^3.6.2",