@cloud-app-dev/vidc 2.1.0-alpha.2 → 2.1.0-alpha.5
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/es/AppRouter/index.d.ts +8 -0
- package/es/AppRouter/index.js +17 -0
- package/es/InitialConfig/utils.js +4 -4
- package/es/index.d.ts +1 -0
- package/es/index.js +1 -0
- package/package.json +2 -3
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { __rest } from "tslib";
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { Router, Routes } from 'react-router-dom';
|
|
4
|
+
import InstanceHistory from '../InstanceHistory';
|
|
5
|
+
|
|
6
|
+
function AppRouter(_a) {
|
|
7
|
+
var children = _a.children,
|
|
8
|
+
props = __rest(_a, ["children"]);
|
|
9
|
+
|
|
10
|
+
return /*#__PURE__*/React.createElement(Router, Object.assign({}, props, {
|
|
11
|
+
navigator: InstanceHistory,
|
|
12
|
+
navigationType: InstanceHistory.action,
|
|
13
|
+
location: InstanceHistory.location
|
|
14
|
+
}), /*#__PURE__*/React.createElement(Routes, null, children));
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export default AppRouter;
|
|
@@ -13,7 +13,7 @@ export function queryBSConfig() {
|
|
|
13
13
|
case 0:
|
|
14
14
|
_context.next = 2;
|
|
15
15
|
return Service.http({
|
|
16
|
-
url: "/config/web.conf.json?".concat(Date.now())
|
|
16
|
+
url: "/statics/config/web.conf.json?".concat(Date.now())
|
|
17
17
|
});
|
|
18
18
|
|
|
19
19
|
case 2:
|
|
@@ -40,7 +40,7 @@ export function queryMicroApplicationList() {
|
|
|
40
40
|
case 0:
|
|
41
41
|
_context2.next = 2;
|
|
42
42
|
return Service.http({
|
|
43
|
-
url: "/config/app.conf.json?".concat(Date.now())
|
|
43
|
+
url: "/statics/config/app.conf.json?".concat(Date.now())
|
|
44
44
|
});
|
|
45
45
|
|
|
46
46
|
case 2:
|
|
@@ -66,7 +66,7 @@ export function querySystemUpdate() {
|
|
|
66
66
|
switch (_context3.prev = _context3.next) {
|
|
67
67
|
case 0:
|
|
68
68
|
return _context3.abrupt("return", Service.http({
|
|
69
|
-
url: "/config/update.status.conf.json?".concat(Date.now())
|
|
69
|
+
url: "/statics/config/update.status.conf.json?".concat(Date.now())
|
|
70
70
|
}));
|
|
71
71
|
|
|
72
72
|
case 1:
|
|
@@ -90,7 +90,7 @@ export function queryDefaultTheme() {
|
|
|
90
90
|
case 0:
|
|
91
91
|
_context4.next = 2;
|
|
92
92
|
return Service.http({
|
|
93
|
-
url: "/config/theme.info.json?".concat(Date.now())
|
|
93
|
+
url: "/statics/config/theme.info.json?".concat(Date.now())
|
|
94
94
|
});
|
|
95
95
|
|
|
96
96
|
case 2:
|
package/es/index.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export { default as Api } from './Api';
|
|
2
2
|
export { default as AppContext } from './AppContext';
|
|
3
3
|
export { default as AppRedirect } from './AppRedirect';
|
|
4
|
+
export { default as AppRouter } from './AppRouter';
|
|
4
5
|
export { default as Auth } from './Auth';
|
|
5
6
|
export { default as AutoExit } from './AutoExit';
|
|
6
7
|
export { default as Box } from './Box';
|
package/es/index.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export { default as Api } from './Api';
|
|
2
2
|
export { default as AppContext } from './AppContext';
|
|
3
3
|
export { default as AppRedirect } from './AppRedirect';
|
|
4
|
+
export { default as AppRouter } from './AppRouter';
|
|
4
5
|
export { default as Auth } from './Auth';
|
|
5
6
|
export { default as AutoExit } from './AutoExit';
|
|
6
7
|
export { default as Box } from './Box';
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"private": false,
|
|
3
3
|
"name": "@cloud-app-dev/vidc",
|
|
4
4
|
"description": "Video Image Data Componennts",
|
|
5
|
-
"version": "2.1.0-alpha.
|
|
5
|
+
"version": "2.1.0-alpha.5",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"start": "dumi dev",
|
|
8
8
|
"docs:build": "dumi build",
|
|
@@ -36,8 +36,7 @@
|
|
|
36
36
|
"fetch-like-axios": "^0.0.5",
|
|
37
37
|
"immer": "^9.0.5",
|
|
38
38
|
"lodash": "^4.17.21",
|
|
39
|
-
"rc-queue-anim": "^2.0.0"
|
|
40
|
-
"react-activation": "^0.9.12"
|
|
39
|
+
"rc-queue-anim": "^2.0.0"
|
|
41
40
|
},
|
|
42
41
|
"devDependencies": {
|
|
43
42
|
"@cloud-app-dev/utils": "^3.0.3",
|