jamespot-react-core 1.1.52 → 1.1.56
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/81.bundle.js +1 -1
- package/build/App.d.ts +2 -2
- package/build/app.bundle.js +849 -824
- package/build/app.bundle.js.map +1 -1
- package/build/utils/router.d.ts +1 -0
- package/build/utils/types.d.ts +18 -1
- package/ext-component-list.json +4 -0
- package/package.json +4 -3
package/build/utils/router.d.ts
CHANGED
package/build/utils/types.d.ts
CHANGED
|
@@ -101,10 +101,26 @@ export interface JComponent {
|
|
|
101
101
|
export interface JConfig {
|
|
102
102
|
resourceShowKey?: boolean;
|
|
103
103
|
}
|
|
104
|
+
declare type WindowJNG = {
|
|
105
|
+
html5: boolean;
|
|
106
|
+
addState: (stateName: string, options: any) => void;
|
|
107
|
+
transitionTo: (stateName: string, args: {}, options?: {
|
|
108
|
+
reload: boolean;
|
|
109
|
+
notify?: boolean;
|
|
110
|
+
callback?: () => void;
|
|
111
|
+
event?: React.MouseEvent<HTMLElement>;
|
|
112
|
+
}) => void;
|
|
113
|
+
scrollTop: () => void;
|
|
114
|
+
messengerOpenDiscussion: (options: {
|
|
115
|
+
idUser: number;
|
|
116
|
+
idDiscussion?: string;
|
|
117
|
+
type?: string;
|
|
118
|
+
}) => void;
|
|
119
|
+
};
|
|
104
120
|
export interface WindowJ {
|
|
105
121
|
react: ReactCore;
|
|
106
122
|
revision: string;
|
|
107
|
-
ng:
|
|
123
|
+
ng: WindowJNG;
|
|
108
124
|
locale: SupportedLanguages;
|
|
109
125
|
config: JConfig;
|
|
110
126
|
resources: TranslationKeys;
|
|
@@ -114,6 +130,7 @@ export interface WindowJ {
|
|
|
114
130
|
applications: Application[];
|
|
115
131
|
models: Model<string>[];
|
|
116
132
|
debug: any;
|
|
133
|
+
urlBase: string;
|
|
117
134
|
}
|
|
118
135
|
export interface Application {
|
|
119
136
|
name: string;
|
package/ext-component-list.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "jamespot-react-core",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.56",
|
|
4
4
|
"description": "Jamespot React Core",
|
|
5
5
|
"main": "./build/app.bundle.js",
|
|
6
6
|
"types": "./build/App.d.ts",
|
|
@@ -64,8 +64,9 @@
|
|
|
64
64
|
"worker-loader": "^3.0.8"
|
|
65
65
|
},
|
|
66
66
|
"dependencies": {
|
|
67
|
-
"
|
|
68
|
-
"jamespot-
|
|
67
|
+
"history": "^5.3.0",
|
|
68
|
+
"jamespot-react-components": "^1.0.78",
|
|
69
|
+
"jamespot-user-api": "^1.0.48",
|
|
69
70
|
"pkg.json": "^2.0.8",
|
|
70
71
|
"react": "^17.0.2",
|
|
71
72
|
"react-dom": "^17.0.2",
|