jamespot-front-business 1.1.67 → 1.1.68
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 -0
- package/dist/cjs.js.map +1 -1
- package/dist/esm.js +30 -0
- package/dist/esm.js.map +1 -1
- package/dist/types.d.ts +111 -0
- package/package.json +2 -2
package/dist/types.d.ts
CHANGED
|
@@ -2679,6 +2679,117 @@ declare const Comment: {
|
|
|
2679
2679
|
discardComments: _reduxjs_toolkit.ActionCreatorWithPayload<{
|
|
2680
2680
|
idArticle: number;
|
|
2681
2681
|
}, "commentList/discardComments">;
|
|
2682
|
+
hydrateComment: _reduxjs_toolkit.ActionCreatorWithPayload<{
|
|
2683
|
+
idArticle: number;
|
|
2684
|
+
list: {
|
|
2685
|
+
type: string;
|
|
2686
|
+
id: number;
|
|
2687
|
+
mainType: string;
|
|
2688
|
+
uri: string;
|
|
2689
|
+
dateCreation: string;
|
|
2690
|
+
dateModified: string | null;
|
|
2691
|
+
description: string | null;
|
|
2692
|
+
_user: jamespot_user_api.jObjectBase & {
|
|
2693
|
+
title: string;
|
|
2694
|
+
_url: string;
|
|
2695
|
+
} & {
|
|
2696
|
+
[key: string]: string | number | null;
|
|
2697
|
+
level: 0 | 3 | 5 | 9;
|
|
2698
|
+
dateCreation: string;
|
|
2699
|
+
dateModified: string;
|
|
2700
|
+
};
|
|
2701
|
+
_right: jamespot_user_api.Rights;
|
|
2702
|
+
_attachedFiles?: {
|
|
2703
|
+
type: string;
|
|
2704
|
+
id: number;
|
|
2705
|
+
mainType: string;
|
|
2706
|
+
uri: string;
|
|
2707
|
+
dateCreation: string;
|
|
2708
|
+
dateModified: string | null;
|
|
2709
|
+
title: string;
|
|
2710
|
+
_url: string;
|
|
2711
|
+
mimetype: string;
|
|
2712
|
+
size: number;
|
|
2713
|
+
path?: string | undefined;
|
|
2714
|
+
}[] | undefined;
|
|
2715
|
+
_actions?: Record<string, {
|
|
2716
|
+
type: string;
|
|
2717
|
+
class: string;
|
|
2718
|
+
label: string;
|
|
2719
|
+
stats: {
|
|
2720
|
+
total: number;
|
|
2721
|
+
};
|
|
2722
|
+
cssClass: string;
|
|
2723
|
+
cssColor: string;
|
|
2724
|
+
isActive: boolean;
|
|
2725
|
+
struct: {
|
|
2726
|
+
type: string;
|
|
2727
|
+
targetId: number;
|
|
2728
|
+
targetType: string;
|
|
2729
|
+
action: string;
|
|
2730
|
+
do: string;
|
|
2731
|
+
};
|
|
2732
|
+
}> | undefined;
|
|
2733
|
+
_widgets?: jamespot_user_api.WidgetWrapperGeneric<({
|
|
2734
|
+
layers?: string[] | undefined;
|
|
2735
|
+
} & jamespot_user_api.WidgetArticleAttachmentType) | ({
|
|
2736
|
+
layers?: string[] | undefined;
|
|
2737
|
+
} & jamespot_user_api.WidgetArticleButtonType) | ({
|
|
2738
|
+
layers?: string[] | undefined;
|
|
2739
|
+
} & jamespot_user_api.WidgetArticleGalleryType) | ({
|
|
2740
|
+
layers?: string[] | undefined;
|
|
2741
|
+
} & jamespot_user_api.WidgetArticleImageType) | ({
|
|
2742
|
+
layers?: string[] | undefined;
|
|
2743
|
+
} & jamespot_user_api.WidgetArticleTitleType) | ({
|
|
2744
|
+
layers?: string[] | undefined;
|
|
2745
|
+
} & jamespot_user_api.WidgetArticleTextType) | ({
|
|
2746
|
+
layers?: string[] | undefined;
|
|
2747
|
+
} & jamespot_user_api.WidgetArticleSliderType) | ({
|
|
2748
|
+
layers?: string[] | undefined;
|
|
2749
|
+
} & jamespot_user_api.WidgetType<{
|
|
2750
|
+
widgets?: jamespot_user_api.WidgetBaseType[] | undefined;
|
|
2751
|
+
arr?: jamespot_user_api.WidgetCheckListContentArr[] | undefined;
|
|
2752
|
+
css?: Record<string, string> | undefined;
|
|
2753
|
+
edit?: boolean | undefined;
|
|
2754
|
+
}>) | ({
|
|
2755
|
+
layers?: string[] | undefined;
|
|
2756
|
+
} & jamespot_user_api.WidgetDatasourceTableType) | ({
|
|
2757
|
+
layers?: string[] | undefined;
|
|
2758
|
+
} & {
|
|
2759
|
+
name: jamespot_user_api.WidgetsName.ExcelDatasourceTable;
|
|
2760
|
+
uniqid: string;
|
|
2761
|
+
content: {
|
|
2762
|
+
uri?: string | undefined;
|
|
2763
|
+
limit?: number | boolean | undefined;
|
|
2764
|
+
tableColumnsData?: {
|
|
2765
|
+
name?: string | undefined;
|
|
2766
|
+
label?: string | undefined;
|
|
2767
|
+
isVisible?: boolean | undefined;
|
|
2768
|
+
textEllipsis?: boolean | undefined;
|
|
2769
|
+
dateFormat?: "date" | "time" | "date-time" | "date-time-sec" | "time-sec" | undefined;
|
|
2770
|
+
numberFormat?: "fr-FR" | "en-EN" | "filesize" | undefined;
|
|
2771
|
+
}[] | undefined;
|
|
2772
|
+
tableHeadColor?: string | undefined;
|
|
2773
|
+
tableHeadTextColor?: string | undefined;
|
|
2774
|
+
tableHeadIconColor?: string | undefined;
|
|
2775
|
+
tableRowColor?: string | undefined;
|
|
2776
|
+
tableRowTextColor?: string | undefined;
|
|
2777
|
+
tableBorderRadius?: number | undefined;
|
|
2778
|
+
tableSizedColumns?: boolean | undefined;
|
|
2779
|
+
tableSizedColumnsWidth?: number | undefined;
|
|
2780
|
+
};
|
|
2781
|
+
}) | ({
|
|
2782
|
+
layers?: string[] | undefined;
|
|
2783
|
+
} & jamespot_user_api.WidgetPresenceType)>[] | undefined;
|
|
2784
|
+
}[];
|
|
2785
|
+
}, "commentList/hydrateComment">;
|
|
2786
|
+
updateComment: _reduxjs_toolkit.ActionCreatorWithPayload<{
|
|
2787
|
+
idArticle: number;
|
|
2788
|
+
idComment: number;
|
|
2789
|
+
data: {
|
|
2790
|
+
description: string;
|
|
2791
|
+
};
|
|
2792
|
+
}, "commentList/updateComment">;
|
|
2682
2793
|
fetchComments: _reduxjs_toolkit.AsyncThunk<CommentsList, {
|
|
2683
2794
|
idArticle: number;
|
|
2684
2795
|
attachment?: boolean | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "jamespot-front-business",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.68",
|
|
4
4
|
"description": "typescript utils",
|
|
5
5
|
"main": "dist/cjs.js",
|
|
6
6
|
"module": "dist/esm.js",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"dependencies": {
|
|
40
40
|
"@reduxjs/toolkit": "1.9.0",
|
|
41
41
|
"@types/uuid": "^10.0.0",
|
|
42
|
-
"jamespot-user-api": "^1.0.
|
|
42
|
+
"jamespot-user-api": "^1.0.190",
|
|
43
43
|
"react-redux": "7.2.9",
|
|
44
44
|
"redux": "4.2.0",
|
|
45
45
|
"uuid": "^10.0.0"
|