jamespot-react-core 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.
@@ -0,0 +1,8 @@
1
+ import { WidgetUserProfileType, WidgetDisplayMode } from 'jamespot-user-api';
2
+ type JRCWidgetUserProfileWrapperProps = {
3
+ widget: WidgetUserProfileType;
4
+ inplace: boolean;
5
+ mode?: WidgetDisplayMode;
6
+ };
7
+ export declare const JRCWidgetUserProfileWrapper: ({ widget, mode }: JRCWidgetUserProfileWrapperProps) => import("react/jsx-runtime").JSX.Element;
8
+ export {};
@@ -121,8 +121,8 @@ declare function createStore(initialAsyncReducers: AsyncReducers): import("@redu
121
121
  level: number;
122
122
  pseudo: string;
123
123
  idUser: number;
124
- ip: string;
125
124
  action: string;
125
+ ip: string;
126
126
  extended?: string | undefined;
127
127
  }[];
128
128
  page: number;
@@ -296,7 +296,7 @@ declare function createStore(initialAsyncReducers: AsyncReducers): import("@redu
296
296
  } & import("jamespot-user-api").WidgetType<{
297
297
  widgets?: import("jamespot-user-api").WidgetBaseType[] | undefined;
298
298
  arr?: import("jamespot-user-api").WidgetCheckListContentArr[] | undefined;
299
- css?: Record<string, string> | undefined;
299
+ css?: Record<string, string | number> | undefined;
300
300
  edit?: boolean | undefined;
301
301
  }>) | ({
302
302
  layers?: string[] | undefined;
@@ -313,7 +313,7 @@ declare function createStore(initialAsyncReducers: AsyncReducers): import("@redu
313
313
  label?: string | undefined;
314
314
  isVisible?: boolean | undefined;
315
315
  textEllipsis?: boolean | undefined;
316
- dateFormat?: "date" | "time" | "date-time" | "date-time-sec" | "time-sec" | undefined;
316
+ dateFormat?: "date" | "date-time" | "date-time-sec" | "time" | "time-sec" | undefined;
317
317
  numberFormat?: "fr-FR" | "en-EN" | "filesize" | undefined;
318
318
  }[] | undefined;
319
319
  tableHeadColor?: string | undefined;
@@ -351,6 +351,12 @@ declare function createStore(initialAsyncReducers: AsyncReducers): import("@redu
351
351
  layers?: string[] | undefined;
352
352
  } & import("jamespot-user-api").WidgetType<{
353
353
  url?: string | undefined;
354
+ }>) | ({
355
+ layers?: string[] | undefined;
356
+ } & import("jamespot-user-api").WidgetType<{
357
+ css?: Record<string, string | number> | undefined;
358
+ buttonName?: string | undefined;
359
+ pictureSize?: string | undefined;
354
360
  }>)>[];
355
361
  visible: boolean;
356
362
  uniqid: string;
@@ -379,7 +385,7 @@ declare function createStore(initialAsyncReducers: AsyncReducers): import("@redu
379
385
  } & import("jamespot-user-api").WidgetType<{
380
386
  widgets?: import("jamespot-user-api").WidgetBaseType[] | undefined;
381
387
  arr?: import("jamespot-user-api").WidgetCheckListContentArr[] | undefined;
382
- css?: Record<string, string> | undefined;
388
+ css?: Record<string, string | number> | undefined;
383
389
  edit?: boolean | undefined;
384
390
  }>) | ({
385
391
  layers?: string[] | undefined;
@@ -396,7 +402,7 @@ declare function createStore(initialAsyncReducers: AsyncReducers): import("@redu
396
402
  label?: string | undefined;
397
403
  isVisible?: boolean | undefined;
398
404
  textEllipsis?: boolean | undefined;
399
- dateFormat?: "date" | "time" | "date-time" | "date-time-sec" | "time-sec" | undefined;
405
+ dateFormat?: "date" | "date-time" | "date-time-sec" | "time" | "time-sec" | undefined;
400
406
  numberFormat?: "fr-FR" | "en-EN" | "filesize" | undefined;
401
407
  }[] | undefined;
402
408
  tableHeadColor?: string | undefined;
@@ -434,6 +440,12 @@ declare function createStore(initialAsyncReducers: AsyncReducers): import("@redu
434
440
  layers?: string[] | undefined;
435
441
  } & import("jamespot-user-api").WidgetType<{
436
442
  url?: string | undefined;
443
+ }>) | ({
444
+ layers?: string[] | undefined;
445
+ } & import("jamespot-user-api").WidgetType<{
446
+ css?: Record<string, string | number> | undefined;
447
+ buttonName?: string | undefined;
448
+ pictureSize?: string | undefined;
437
449
  }>)>>;
438
450
  states: Record<string, {
439
451
  busy?: boolean | undefined;
@@ -575,8 +587,8 @@ declare function createStore(initialAsyncReducers: AsyncReducers): import("@redu
575
587
  level: number;
576
588
  pseudo: string;
577
589
  idUser: number;
578
- ip: string;
579
590
  action: string;
591
+ ip: string;
580
592
  extended?: string | undefined;
581
593
  }[];
582
594
  page: number;
@@ -750,7 +762,7 @@ declare function createStore(initialAsyncReducers: AsyncReducers): import("@redu
750
762
  } & import("jamespot-user-api").WidgetType<{
751
763
  widgets?: import("jamespot-user-api").WidgetBaseType[] | undefined;
752
764
  arr?: import("jamespot-user-api").WidgetCheckListContentArr[] | undefined;
753
- css?: Record<string, string> | undefined;
765
+ css?: Record<string, string | number> | undefined;
754
766
  edit?: boolean | undefined;
755
767
  }>) | ({
756
768
  layers?: string[] | undefined;
@@ -767,7 +779,7 @@ declare function createStore(initialAsyncReducers: AsyncReducers): import("@redu
767
779
  label?: string | undefined;
768
780
  isVisible?: boolean | undefined;
769
781
  textEllipsis?: boolean | undefined;
770
- dateFormat?: "date" | "time" | "date-time" | "date-time-sec" | "time-sec" | undefined;
782
+ dateFormat?: "date" | "date-time" | "date-time-sec" | "time" | "time-sec" | undefined;
771
783
  numberFormat?: "fr-FR" | "en-EN" | "filesize" | undefined;
772
784
  }[] | undefined;
773
785
  tableHeadColor?: string | undefined;
@@ -805,6 +817,12 @@ declare function createStore(initialAsyncReducers: AsyncReducers): import("@redu
805
817
  layers?: string[] | undefined;
806
818
  } & import("jamespot-user-api").WidgetType<{
807
819
  url?: string | undefined;
820
+ }>) | ({
821
+ layers?: string[] | undefined;
822
+ } & import("jamespot-user-api").WidgetType<{
823
+ css?: Record<string, string | number> | undefined;
824
+ buttonName?: string | undefined;
825
+ pictureSize?: string | undefined;
808
826
  }>)>[];
809
827
  visible: boolean;
810
828
  uniqid: string;
@@ -833,7 +851,7 @@ declare function createStore(initialAsyncReducers: AsyncReducers): import("@redu
833
851
  } & import("jamespot-user-api").WidgetType<{
834
852
  widgets?: import("jamespot-user-api").WidgetBaseType[] | undefined;
835
853
  arr?: import("jamespot-user-api").WidgetCheckListContentArr[] | undefined;
836
- css?: Record<string, string> | undefined;
854
+ css?: Record<string, string | number> | undefined;
837
855
  edit?: boolean | undefined;
838
856
  }>) | ({
839
857
  layers?: string[] | undefined;
@@ -850,7 +868,7 @@ declare function createStore(initialAsyncReducers: AsyncReducers): import("@redu
850
868
  label?: string | undefined;
851
869
  isVisible?: boolean | undefined;
852
870
  textEllipsis?: boolean | undefined;
853
- dateFormat?: "date" | "time" | "date-time" | "date-time-sec" | "time-sec" | undefined;
871
+ dateFormat?: "date" | "date-time" | "date-time-sec" | "time" | "time-sec" | undefined;
854
872
  numberFormat?: "fr-FR" | "en-EN" | "filesize" | undefined;
855
873
  }[] | undefined;
856
874
  tableHeadColor?: string | undefined;
@@ -888,6 +906,12 @@ declare function createStore(initialAsyncReducers: AsyncReducers): import("@redu
888
906
  layers?: string[] | undefined;
889
907
  } & import("jamespot-user-api").WidgetType<{
890
908
  url?: string | undefined;
909
+ }>) | ({
910
+ layers?: string[] | undefined;
911
+ } & import("jamespot-user-api").WidgetType<{
912
+ css?: Record<string, string | number> | undefined;
913
+ buttonName?: string | undefined;
914
+ pictureSize?: string | undefined;
891
915
  }>)>>;
892
916
  states: Record<string, {
893
917
  busy?: boolean | undefined;
@@ -1034,8 +1058,8 @@ export declare const useAppDispatch: () => import("@reduxjs/toolkit").ThunkDispa
1034
1058
  level: number;
1035
1059
  pseudo: string;
1036
1060
  idUser: number;
1037
- ip: string;
1038
1061
  action: string;
1062
+ ip: string;
1039
1063
  extended?: string | undefined;
1040
1064
  }[];
1041
1065
  page: number;
@@ -1209,7 +1233,7 @@ export declare const useAppDispatch: () => import("@reduxjs/toolkit").ThunkDispa
1209
1233
  } & import("jamespot-user-api").WidgetType<{
1210
1234
  widgets?: import("jamespot-user-api").WidgetBaseType[] | undefined;
1211
1235
  arr?: import("jamespot-user-api").WidgetCheckListContentArr[] | undefined;
1212
- css?: Record<string, string> | undefined;
1236
+ css?: Record<string, string | number> | undefined;
1213
1237
  edit?: boolean | undefined;
1214
1238
  }>) | ({
1215
1239
  layers?: string[] | undefined;
@@ -1226,7 +1250,7 @@ export declare const useAppDispatch: () => import("@reduxjs/toolkit").ThunkDispa
1226
1250
  label?: string | undefined;
1227
1251
  isVisible?: boolean | undefined;
1228
1252
  textEllipsis?: boolean | undefined;
1229
- dateFormat?: "date" | "time" | "date-time" | "date-time-sec" | "time-sec" | undefined;
1253
+ dateFormat?: "date" | "date-time" | "date-time-sec" | "time" | "time-sec" | undefined;
1230
1254
  numberFormat?: "fr-FR" | "en-EN" | "filesize" | undefined;
1231
1255
  }[] | undefined;
1232
1256
  tableHeadColor?: string | undefined;
@@ -1264,6 +1288,12 @@ export declare const useAppDispatch: () => import("@reduxjs/toolkit").ThunkDispa
1264
1288
  layers?: string[] | undefined;
1265
1289
  } & import("jamespot-user-api").WidgetType<{
1266
1290
  url?: string | undefined;
1291
+ }>) | ({
1292
+ layers?: string[] | undefined;
1293
+ } & import("jamespot-user-api").WidgetType<{
1294
+ css?: Record<string, string | number> | undefined;
1295
+ buttonName?: string | undefined;
1296
+ pictureSize?: string | undefined;
1267
1297
  }>)>[];
1268
1298
  visible: boolean;
1269
1299
  uniqid: string;
@@ -1292,7 +1322,7 @@ export declare const useAppDispatch: () => import("@reduxjs/toolkit").ThunkDispa
1292
1322
  } & import("jamespot-user-api").WidgetType<{
1293
1323
  widgets?: import("jamespot-user-api").WidgetBaseType[] | undefined;
1294
1324
  arr?: import("jamespot-user-api").WidgetCheckListContentArr[] | undefined;
1295
- css?: Record<string, string> | undefined;
1325
+ css?: Record<string, string | number> | undefined;
1296
1326
  edit?: boolean | undefined;
1297
1327
  }>) | ({
1298
1328
  layers?: string[] | undefined;
@@ -1309,7 +1339,7 @@ export declare const useAppDispatch: () => import("@reduxjs/toolkit").ThunkDispa
1309
1339
  label?: string | undefined;
1310
1340
  isVisible?: boolean | undefined;
1311
1341
  textEllipsis?: boolean | undefined;
1312
- dateFormat?: "date" | "time" | "date-time" | "date-time-sec" | "time-sec" | undefined;
1342
+ dateFormat?: "date" | "date-time" | "date-time-sec" | "time" | "time-sec" | undefined;
1313
1343
  numberFormat?: "fr-FR" | "en-EN" | "filesize" | undefined;
1314
1344
  }[] | undefined;
1315
1345
  tableHeadColor?: string | undefined;
@@ -1347,6 +1377,12 @@ export declare const useAppDispatch: () => import("@reduxjs/toolkit").ThunkDispa
1347
1377
  layers?: string[] | undefined;
1348
1378
  } & import("jamespot-user-api").WidgetType<{
1349
1379
  url?: string | undefined;
1380
+ }>) | ({
1381
+ layers?: string[] | undefined;
1382
+ } & import("jamespot-user-api").WidgetType<{
1383
+ css?: Record<string, string | number> | undefined;
1384
+ buttonName?: string | undefined;
1385
+ pictureSize?: string | undefined;
1350
1386
  }>)>>;
1351
1387
  states: Record<string, {
1352
1388
  busy?: boolean | undefined;
@@ -171,5 +171,7 @@ declare const mapping: {
171
171
  WidgetSlider: "JRCWidgetSlider";
172
172
  WidgetTable: "JRCWidgetTable";
173
173
  WidgetTableEditor: "JRCWidgetTableEditor";
174
+ WidgetUserProfile: "JRCWidgetUserProfile";
175
+ WidgetUserProfileEditor: "JRCWidgetUserProfileEditor";
174
176
  };
175
177
  export default mapping;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jamespot-react-core",
3
- "version": "1.2.55",
3
+ "version": "1.2.57",
4
4
  "description": "Jamespot React Core",
5
5
  "main": "./build/app.bundle.js",
6
6
  "types": "./build/src/App.d.ts",
@@ -31,9 +31,9 @@
31
31
  "fork-ts-checker-webpack-plugin": "^9.1.0",
32
32
  "history": "^5.3.0",
33
33
  "husky": "^7.0.4",
34
- "jamespot-front-business": "^1.2.55",
35
- "jamespot-react-components": "^1.2.55",
36
- "jamespot-user-api": "^1.2.55",
34
+ "jamespot-front-business": "^1.2.57",
35
+ "jamespot-react-components": "^1.2.57",
36
+ "jamespot-user-api": "^1.2.57",
37
37
  "jest": "^30.2.0",
38
38
  "jest-environment-jsdom": "^30.2.0",
39
39
  "knip": "^5.65.0",