zova-ui-empty 5.0.110 → 5.0.112
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "zova-ui-empty",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.112",
|
|
4
4
|
"description": "A vue3 empty framework with ioc",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"vue": "^3.4.27",
|
|
35
35
|
"vue-router": "^4.3.2",
|
|
36
|
-
"zova": "^5.0.
|
|
36
|
+
"zova": "^5.0.80"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
39
|
"@cabloy/lint": "^4.0.10",
|
|
@@ -43,8 +43,8 @@
|
|
|
43
43
|
"typescript": "^5.4.5",
|
|
44
44
|
"vite": "^5.2.12",
|
|
45
45
|
"vue-tsc": "^2.0.19",
|
|
46
|
-
"zova-vite": "^1.0.
|
|
46
|
+
"zova-vite": "^1.0.89"
|
|
47
47
|
},
|
|
48
48
|
"license": "MIT",
|
|
49
|
-
"gitHead": "
|
|
49
|
+
"gitHead": "336496a9527c14f709d0b416ce9030732f261b93"
|
|
50
50
|
}
|
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
import { ZovaConfigMeta, ZovaConfigOptional } from 'zova';
|
|
4
4
|
|
|
5
5
|
export default function (_meta: ZovaConfigMeta) {
|
|
6
|
-
const config = {
|
|
6
|
+
const config: ZovaConfigOptional = {
|
|
7
7
|
base: {
|
|
8
8
|
jwt: true,
|
|
9
9
|
},
|
|
10
|
-
}
|
|
10
|
+
};
|
|
11
11
|
|
|
12
12
|
// module config
|
|
13
13
|
config.modules = {};
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { ZovaConfigMeta, ZovaConfigOptional } from 'zova';
|
|
2
2
|
|
|
3
3
|
export default function (_meta: ZovaConfigMeta) {
|
|
4
|
-
const config = {
|
|
4
|
+
const config: ZovaConfigOptional = {
|
|
5
5
|
base: {},
|
|
6
6
|
api: {
|
|
7
7
|
baseURL: process.env.API_BASE_URL,
|
|
8
8
|
prefix: process.env.API_PREFIX,
|
|
9
9
|
},
|
|
10
10
|
layout: {},
|
|
11
|
-
}
|
|
11
|
+
};
|
|
12
12
|
|
|
13
13
|
// module config
|
|
14
14
|
config.modules = {};
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
import { ZovaConfigMeta, ZovaConfigOptional } from 'zova';
|
|
3
3
|
|
|
4
4
|
export default function (_meta: ZovaConfigMeta) {
|
|
5
|
-
const config = {
|
|
5
|
+
const config: ZovaConfigOptional = {
|
|
6
6
|
base: {
|
|
7
7
|
jwt: false,
|
|
8
8
|
},
|
|
9
|
-
}
|
|
9
|
+
};
|
|
10
10
|
|
|
11
11
|
// module config
|
|
12
12
|
config.modules = {};
|
|
@@ -8,7 +8,7 @@ export interface RenderPageComponent extends ControllerPageComponent {}
|
|
|
8
8
|
@Local()
|
|
9
9
|
export class RenderPageComponent extends BeanRenderBase<ScopeModule> {
|
|
10
10
|
render() {
|
|
11
|
-
const slots = {
|
|
11
|
+
const slots: NSControllerCard.Slots = {
|
|
12
12
|
header: () => {
|
|
13
13
|
return <div>this is a header slot from parent</div>;
|
|
14
14
|
},
|
|
@@ -18,7 +18,7 @@ export class RenderPageComponent extends BeanRenderBase<ScopeModule> {
|
|
|
18
18
|
footer: () => {
|
|
19
19
|
return <div>this is a footer slot from parent</div>;
|
|
20
20
|
},
|
|
21
|
-
}
|
|
21
|
+
};
|
|
22
22
|
return (
|
|
23
23
|
<div>
|
|
24
24
|
<this.scope.component.card
|