jamespot-react-core 1.3.57 → 1.3.59
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/app.bundle.js +1112 -1112
- package/build/app.bundle.js.map +1 -1
- package/build/src/ReactCore.d.ts +3 -5
- package/build/src/redux/store.d.ts +5 -1
- package/build/src/utils/types.d.ts +5 -0
- package/package.json +4 -4
package/build/src/ReactCore.d.ts
CHANGED
|
@@ -5,13 +5,10 @@ import { GlobalRegistry } from './registry/GlobalRegistry';
|
|
|
5
5
|
import { ReactCommonRegistry } from './registry/ReactCommonRegistry';
|
|
6
6
|
import { ReactCoreRegistry } from './registry/ReactCoreRegistry';
|
|
7
7
|
import { ReactTranslation, SupportedLanguages } from './utils/translation';
|
|
8
|
-
import { Gabarit, ReactCore, ReactExtensions, ReactLoadedExtensions, ReactRouter } from './utils/types';
|
|
8
|
+
import { Gabarit, ReactCore, ReactDisplayExtensions, ReactExtensions, ReactLoadedExtensions, ReactRouter } from './utils/types';
|
|
9
9
|
import { ReactSocket } from './utils/types.socket';
|
|
10
10
|
declare class App implements ReactCore {
|
|
11
|
-
displayExtensions: Map<string,
|
|
12
|
-
name: string;
|
|
13
|
-
args?: any;
|
|
14
|
-
}>;
|
|
11
|
+
displayExtensions: Map<string, ReactDisplayExtensions>;
|
|
15
12
|
callbacks: Record<string, ((...args: any[]) => void)[]>;
|
|
16
13
|
extensions: ReactExtensions;
|
|
17
14
|
loadedExtensions: ReactLoadedExtensions;
|
|
@@ -29,6 +26,7 @@ declare class App implements ReactCore {
|
|
|
29
26
|
coreComponentsRegistry: ReactCoreRegistry;
|
|
30
27
|
}, locale: SupportedLanguages, translation: ReactTranslation, socket: ReactSocket);
|
|
31
28
|
on: (name: string, cb: (...args: any[]) => void) => void;
|
|
29
|
+
off: (name: string, cb: (...args: any[]) => void) => void;
|
|
32
30
|
require: (extensionName: string, args?: {
|
|
33
31
|
anchorId: string;
|
|
34
32
|
}) => void;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Reducer } from '@reduxjs/toolkit';
|
|
2
|
-
import { AdminLogs, Animations, Application, AssetReservation, Bookmark, Calendar, ContentReport, ExtraBot, Faq, FileIntegrity, Hook, jland, MagicPad, MediaLibrary, Model, Share, studio, TeamWork, TVDisplay, UserCurrent, VisioConnect, Wall, WedocApp, Widget, WidgetEditor } from 'jamespot-front-business';
|
|
2
|
+
import { AdminLogs, AIProfile, Animations, Application, AssetReservation, Bookmark, Calendar, ContentReport, ExtraBot, Faq, FileIntegrity, Hook, jland, MagicPad, MediaLibrary, Model, Share, studio, TeamWork, TVDisplay, UserCurrent, VisioConnect, Wall, 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';
|
|
@@ -29,6 +29,7 @@ export interface JInjectStore extends ReturnType<typeof createStore> {
|
|
|
29
29
|
}
|
|
30
30
|
export type AsyncReducers = {
|
|
31
31
|
[AdminLogs.slice.name]: typeof AdminLogs.slice.reducer;
|
|
32
|
+
[AIProfile.slice.name]: typeof AIProfile.slice.reducer;
|
|
32
33
|
[Animations.slice.name]: typeof Animations.slice.reducer;
|
|
33
34
|
[AssetReservation.slice.name]: typeof AssetReservation.slice.reducer;
|
|
34
35
|
[Bookmark.slice.name]: typeof Bookmark.slice.reducer;
|
|
@@ -99,6 +100,7 @@ declare function createStore(initialAsyncReducers: AsyncReducers): import("@redu
|
|
|
99
100
|
logsObjects: import("jamespot-front-business/dist/src/store/admin/logs/types").AdminLogsObjectsSliceState;
|
|
100
101
|
logsSearch: import("jamespot-front-business/dist/src/store/admin/logs/types").AdminLogsSearchSliceState;
|
|
101
102
|
};
|
|
103
|
+
aiProfile: import("jamespot-front-business/dist/src/store/aiProfile/aiProfile.types").AIProfileSliceRootState;
|
|
102
104
|
animations: {
|
|
103
105
|
animationsList: import("jamespot-front-business").AnimationSliceListState;
|
|
104
106
|
animationStats: import("jamespot-front-business").AnimationStatsSliceState;
|
|
@@ -190,6 +192,7 @@ declare function createStore(initialAsyncReducers: AsyncReducers): import("@redu
|
|
|
190
192
|
logsObjects: import("jamespot-front-business/dist/src/store/admin/logs/types").AdminLogsObjectsSliceState;
|
|
191
193
|
logsSearch: import("jamespot-front-business/dist/src/store/admin/logs/types").AdminLogsSearchSliceState;
|
|
192
194
|
};
|
|
195
|
+
aiProfile: import("jamespot-front-business/dist/src/store/aiProfile/aiProfile.types").AIProfileSliceRootState;
|
|
193
196
|
animations: {
|
|
194
197
|
animationsList: import("jamespot-front-business").AnimationSliceListState;
|
|
195
198
|
animationStats: import("jamespot-front-business").AnimationStatsSliceState;
|
|
@@ -286,6 +289,7 @@ export declare const useAppDispatch: () => import("@reduxjs/toolkit").ThunkDispa
|
|
|
286
289
|
logsObjects: import("jamespot-front-business/dist/src/store/admin/logs/types").AdminLogsObjectsSliceState;
|
|
287
290
|
logsSearch: import("jamespot-front-business/dist/src/store/admin/logs/types").AdminLogsSearchSliceState;
|
|
288
291
|
};
|
|
292
|
+
aiProfile: import("jamespot-front-business/dist/src/store/aiProfile/aiProfile.types").AIProfileSliceRootState;
|
|
289
293
|
animations: {
|
|
290
294
|
animationsList: import("jamespot-front-business").AnimationSliceListState;
|
|
291
295
|
animationStats: import("jamespot-front-business").AnimationStatsSliceState;
|
|
@@ -23,6 +23,7 @@ export interface ReactCore {
|
|
|
23
23
|
socket?: ReactSocket;
|
|
24
24
|
router: ReactRouter;
|
|
25
25
|
on: (name: string, cb: (...args: any[]) => void) => void;
|
|
26
|
+
off: (name: string, cb: (...args: any[]) => void) => void;
|
|
26
27
|
require: (extensionName: string, args?: any) => void;
|
|
27
28
|
unmountExtension: (extensionName: string, args?: any) => void;
|
|
28
29
|
extensionAdd: (extensionName: string, load: () => void) => void;
|
|
@@ -40,6 +41,10 @@ export interface ReactCore {
|
|
|
40
41
|
export interface ReactExtensions {
|
|
41
42
|
[key: string]: any;
|
|
42
43
|
}
|
|
44
|
+
export type ReactDisplayExtensions = {
|
|
45
|
+
name: string;
|
|
46
|
+
args?: any;
|
|
47
|
+
};
|
|
43
48
|
export type ReactLoadedExtensions = {
|
|
44
49
|
[key: string]: ReactExtensionContainer | undefined;
|
|
45
50
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "jamespot-react-core",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.59",
|
|
4
4
|
"description": "Jamespot React Core",
|
|
5
5
|
"main": "./build/app.bundle.js",
|
|
6
6
|
"types": "./build/src/App.d.ts",
|
|
@@ -38,9 +38,9 @@
|
|
|
38
38
|
"fork-ts-checker-webpack-plugin": "^9.1.0",
|
|
39
39
|
"history": "^5.3.0",
|
|
40
40
|
"husky": "^9.1.7",
|
|
41
|
-
"jamespot-front-business": "^1.3.
|
|
42
|
-
"jamespot-react-components": "^1.3.
|
|
43
|
-
"jamespot-user-api": "^1.3.
|
|
41
|
+
"jamespot-front-business": "^1.3.59",
|
|
42
|
+
"jamespot-react-components": "^1.3.58",
|
|
43
|
+
"jamespot-user-api": "^1.3.59",
|
|
44
44
|
"jest": "^30.2.0",
|
|
45
45
|
"jest-environment-jsdom": "^30.2.0",
|
|
46
46
|
"knip": "^5.82.1",
|