jamespot-react-core 1.2.49 → 1.2.50
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/build/{664.676eb1085a2af9e136da.chunk.js → 400.9e0b5339a5df358173f9.chunk.js} +24 -24
- package/build/400.9e0b5339a5df358173f9.chunk.js.map +1 -0
- package/build/app.bundle.js +118 -114
- package/build/app.bundle.js.map +1 -1
- package/build/src/components/calendar/CalendarWrapper.d.ts +4 -8
- package/build/src/hooks/useCalendarRT.d.ts +2 -0
- package/build/src/redux/store.d.ts +59 -1
- package/package.json +4 -4
- package/build/664.676eb1085a2af9e136da.chunk.js.map +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { CalendarEvent, JRCCalendarProps } from 'jamespot-react-components';
|
|
2
1
|
import { ReactNode } from 'react';
|
|
2
|
+
import { CalendarEvent, JRCCalendarProps } from 'jamespot-react-components';
|
|
3
3
|
export declare const CalendarWrapper: ({ views, mode, withPadding, withHeader, withToolbar, fluid, children, }: {
|
|
4
4
|
views: Array<"dayGridMonth" | "timeGridWeek" | "timeGridDay" | "list">;
|
|
5
5
|
mode?: JRCCalendarProps["mode"];
|
|
@@ -7,18 +7,14 @@ export declare const CalendarWrapper: ({ views, mode, withPadding, withHeader, w
|
|
|
7
7
|
withPadding?: boolean;
|
|
8
8
|
withHeader?: boolean;
|
|
9
9
|
withToolbar?: boolean;
|
|
10
|
-
children({ dates, eventToUpdate, creationType, isExportModalOpen,
|
|
10
|
+
children?({ dates, eventToUpdate, creationType, isExportModalOpen, setCreationType, setEventToUpdate, setExportModalOpen, }: {
|
|
11
11
|
dates?: {
|
|
12
|
-
start:
|
|
13
|
-
end:
|
|
12
|
+
start: string;
|
|
13
|
+
end: string;
|
|
14
14
|
};
|
|
15
15
|
eventToUpdate?: CalendarEvent | null;
|
|
16
16
|
creationType: string | null;
|
|
17
17
|
isExportModalOpen: boolean;
|
|
18
|
-
fetchEvents: (dates?: {
|
|
19
|
-
start: Date;
|
|
20
|
-
end: Date;
|
|
21
|
-
}, uri?: string) => void;
|
|
22
18
|
setEventToUpdate: React.Dispatch<React.SetStateAction<CalendarEvent | null>>;
|
|
23
19
|
setCreationType: React.Dispatch<React.SetStateAction<"socialEvent" | "meeting" | "animatedMeeting" | null>>;
|
|
24
20
|
setExportModalOpen: React.Dispatch<React.SetStateAction<boolean>>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Reducer } from '@reduxjs/toolkit';
|
|
2
|
-
import { AdminLogs, Animations, Application, AssetReservation, Bookmark, ContentReport, ExtraBot, Faq, Hook, jland, MagicPad, MediaLibrary, Model, Share, studio, TeamWork, TVDisplay, UserCurrent, WedocApp, Widget, WidgetEditor } from 'jamespot-front-business';
|
|
2
|
+
import { AdminLogs, Animations, Application, AssetReservation, Bookmark, Calendar, ContentReport, ExtraBot, Faq, Hook, jland, MagicPad, MediaLibrary, Model, Share, studio, TeamWork, TVDisplay, UserCurrent, WedocApp, Widget, WidgetEditor } from 'jamespot-front-business';
|
|
3
3
|
import { ApplicationType, HookListType, jUserList, Model as ModelType, NetworkType, TinyMCECommonOptions, TinyMCEExtendedOptions } from 'jamespot-user-api';
|
|
4
4
|
import { TypedUseSelectorHook } from 'react-redux';
|
|
5
5
|
import { ArticleActionsType, ArticleSelectorType } from './slice/Article.slice';
|
|
@@ -32,6 +32,7 @@ export type AsyncReducers = {
|
|
|
32
32
|
[Animations.slice.name]: typeof Animations.slice.reducer;
|
|
33
33
|
[AssetReservation.slice.name]: typeof AssetReservation.slice.reducer;
|
|
34
34
|
[Bookmark.slice.name]: typeof Bookmark.slice.reducer;
|
|
35
|
+
[Calendar.slice.name]: typeof Calendar.slice.reducer;
|
|
35
36
|
[ExtraBot.slice.name]: typeof ExtraBot.slice.reducer;
|
|
36
37
|
[ContentReport.slice.name]: typeof ContentReport.slice.reducer;
|
|
37
38
|
[Faq.slice.name]: typeof Faq.slice.reducer;
|
|
@@ -180,6 +181,25 @@ declare function createStore(initialAsyncReducers: AsyncReducers): import("@redu
|
|
|
180
181
|
bookmarkList: import("jamespot-front-business").bookmarkListState;
|
|
181
182
|
bookmarkEdit: import("jamespot-front-business").bookmarkEditState;
|
|
182
183
|
}>;
|
|
184
|
+
calendar: import("redux").CombinedState<{
|
|
185
|
+
events: {
|
|
186
|
+
loading: "idle" | "pending";
|
|
187
|
+
} & {
|
|
188
|
+
list: import("jamespot-user-api").CalendarEventWithExtensions<import("jamespot-user-api").CalendarEventViewAbstractType, ["socialEventRecord"]>[];
|
|
189
|
+
statuses: import("jamespot-user-api").EventStatusFilter[];
|
|
190
|
+
types: Array<"socialEvent" | "meeting" | "animatedMeeting" | "boardCard">;
|
|
191
|
+
dates?: {
|
|
192
|
+
start: string;
|
|
193
|
+
end: string;
|
|
194
|
+
};
|
|
195
|
+
pendingStatusChanges: {
|
|
196
|
+
requestId: string;
|
|
197
|
+
prevStatus: import("jamespot-user-api").UserResponseStatus;
|
|
198
|
+
prevSubscribersTotal: number;
|
|
199
|
+
eventId: number;
|
|
200
|
+
}[];
|
|
201
|
+
};
|
|
202
|
+
}>;
|
|
183
203
|
extraBot: import("jamespot-front-business").ExtraBotState;
|
|
184
204
|
contentReport: import("jamespot-front-business").ContentReportSliceRootState;
|
|
185
205
|
faq: import("redux").CombinedState<{
|
|
@@ -615,6 +635,25 @@ declare function createStore(initialAsyncReducers: AsyncReducers): import("@redu
|
|
|
615
635
|
bookmarkList: import("jamespot-front-business").bookmarkListState;
|
|
616
636
|
bookmarkEdit: import("jamespot-front-business").bookmarkEditState;
|
|
617
637
|
}>;
|
|
638
|
+
calendar: import("redux").CombinedState<{
|
|
639
|
+
events: {
|
|
640
|
+
loading: "idle" | "pending";
|
|
641
|
+
} & {
|
|
642
|
+
list: import("jamespot-user-api").CalendarEventWithExtensions<import("jamespot-user-api").CalendarEventViewAbstractType, ["socialEventRecord"]>[];
|
|
643
|
+
statuses: import("jamespot-user-api").EventStatusFilter[];
|
|
644
|
+
types: Array<"socialEvent" | "meeting" | "animatedMeeting" | "boardCard">;
|
|
645
|
+
dates?: {
|
|
646
|
+
start: string;
|
|
647
|
+
end: string;
|
|
648
|
+
};
|
|
649
|
+
pendingStatusChanges: {
|
|
650
|
+
requestId: string;
|
|
651
|
+
prevStatus: import("jamespot-user-api").UserResponseStatus;
|
|
652
|
+
prevSubscribersTotal: number;
|
|
653
|
+
eventId: number;
|
|
654
|
+
}[];
|
|
655
|
+
};
|
|
656
|
+
}>;
|
|
618
657
|
extraBot: import("jamespot-front-business").ExtraBotState;
|
|
619
658
|
contentReport: import("jamespot-front-business").ContentReportSliceRootState;
|
|
620
659
|
faq: import("redux").CombinedState<{
|
|
@@ -1055,6 +1094,25 @@ export declare const useAppDispatch: () => import("@reduxjs/toolkit").ThunkDispa
|
|
|
1055
1094
|
bookmarkList: import("jamespot-front-business").bookmarkListState;
|
|
1056
1095
|
bookmarkEdit: import("jamespot-front-business").bookmarkEditState;
|
|
1057
1096
|
}>;
|
|
1097
|
+
calendar: import("redux").CombinedState<{
|
|
1098
|
+
events: {
|
|
1099
|
+
loading: "idle" | "pending";
|
|
1100
|
+
} & {
|
|
1101
|
+
list: import("jamespot-user-api").CalendarEventWithExtensions<import("jamespot-user-api").CalendarEventViewAbstractType, ["socialEventRecord"]>[];
|
|
1102
|
+
statuses: import("jamespot-user-api").EventStatusFilter[];
|
|
1103
|
+
types: Array<"socialEvent" | "meeting" | "animatedMeeting" | "boardCard">;
|
|
1104
|
+
dates?: {
|
|
1105
|
+
start: string;
|
|
1106
|
+
end: string;
|
|
1107
|
+
};
|
|
1108
|
+
pendingStatusChanges: {
|
|
1109
|
+
requestId: string;
|
|
1110
|
+
prevStatus: import("jamespot-user-api").UserResponseStatus;
|
|
1111
|
+
prevSubscribersTotal: number;
|
|
1112
|
+
eventId: number;
|
|
1113
|
+
}[];
|
|
1114
|
+
};
|
|
1115
|
+
}>;
|
|
1058
1116
|
extraBot: import("jamespot-front-business").ExtraBotState;
|
|
1059
1117
|
contentReport: import("jamespot-front-business").ContentReportSliceRootState;
|
|
1060
1118
|
faq: import("redux").CombinedState<{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "jamespot-react-core",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.50",
|
|
4
4
|
"description": "Jamespot React Core",
|
|
5
5
|
"main": "./build/app.bundle.js",
|
|
6
6
|
"types": "./build/src/App.d.ts",
|
|
@@ -32,9 +32,9 @@
|
|
|
32
32
|
"fork-ts-checker-webpack-plugin": "^9.1.0",
|
|
33
33
|
"history": "^5.3.0",
|
|
34
34
|
"husky": "^7.0.4",
|
|
35
|
-
"jamespot-front-business": "^1.2.
|
|
36
|
-
"jamespot-react-components": "^1.2.
|
|
37
|
-
"jamespot-user-api": "^1.2.
|
|
35
|
+
"jamespot-front-business": "^1.2.50",
|
|
36
|
+
"jamespot-react-components": "^1.2.50",
|
|
37
|
+
"jamespot-user-api": "^1.2.50",
|
|
38
38
|
"jest": "^30.1.2",
|
|
39
39
|
"jest-environment-jsdom": "^30.1.2",
|
|
40
40
|
"lint-staged": "^12.5.0",
|