zova-ui-empty 5.0.129 → 5.0.130
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 +6 -6
- package/src/suite/a-home/modules/a-home/src/typings.ts +3 -0
- package/src/suite/a-home/modules/home-style/package.json +27 -0
- package/src/suite/a-home/modules/home-style/src/assets/css/module.scss +1 -0
- package/src/suite/a-home/modules/home-style/src/bean/style.default.ts +13 -0
- package/src/suite/a-home/modules/home-style/src/component/.gitkeep +0 -0
- package/src/suite/a-home/modules/home-style/src/config/config.ts +5 -0
- package/src/suite/a-home/modules/home-style/src/config/constants.ts +1 -0
- package/src/suite/a-home/modules/home-style/src/config/errors.ts +1 -0
- package/src/suite/a-home/modules/home-style/src/config/index.ts +4 -0
- package/src/suite/a-home/modules/home-style/src/config/locale/en-us.ts +1 -0
- package/src/suite/a-home/modules/home-style/src/config/locale/zh-cn.ts +1 -0
- package/src/suite/a-home/modules/home-style/src/config/locales.ts +7 -0
- package/src/suite/a-home/modules/home-style/src/index.ts +7 -0
- package/src/suite/a-home/modules/home-style/src/page/.gitkeep +0 -0
- package/src/suite/a-home/modules/home-style/src/resource/beans.ts +8 -0
- package/src/suite/a-home/modules/home-style/src/resource/components.ts +1 -0
- package/src/suite/a-home/modules/home-style/src/resource/index.ts +3 -0
- package/src/suite/a-home/modules/home-style/src/resource/scope.ts +30 -0
- package/src/suite/a-home/modules/home-style/src/resource/this.ts +4 -0
- package/src/suite/a-home/modules/home-style/src/routes.ts +3 -0
- package/src/suite/a-home/modules/home-style/src/types.ts +7 -0
- package/src/suite/a-home/modules/home-style/src/typings.ts +1 -0
- package/src/suite/a-home/modules/home-style/tsconfig.json +5 -0
- package/src/suite/a-home/modules/home-theme/package.json +27 -0
- package/src/suite/a-home/modules/home-theme/src/assets/css/module.scss +1 -0
- package/src/suite/a-home/modules/home-theme/src/bean/theme.default.ts +10 -0
- package/src/suite/a-home/modules/home-theme/src/component/.gitkeep +0 -0
- package/src/suite/a-home/modules/home-theme/src/config/config.ts +5 -0
- package/src/suite/a-home/modules/home-theme/src/config/constants.ts +1 -0
- package/src/suite/a-home/modules/home-theme/src/config/errors.ts +1 -0
- package/src/suite/a-home/modules/home-theme/src/config/index.ts +4 -0
- package/src/suite/a-home/modules/home-theme/src/config/locale/en-us.ts +1 -0
- package/src/suite/a-home/modules/home-theme/src/config/locale/zh-cn.ts +1 -0
- package/src/suite/a-home/modules/home-theme/src/config/locales.ts +7 -0
- package/src/suite/a-home/modules/home-theme/src/index.ts +7 -0
- package/src/suite/a-home/modules/home-theme/src/page/.gitkeep +0 -0
- package/src/suite/a-home/modules/home-theme/src/resource/beans.ts +8 -0
- package/src/suite/a-home/modules/home-theme/src/resource/components.ts +1 -0
- package/src/suite/a-home/modules/home-theme/src/resource/index.ts +3 -0
- package/src/suite/a-home/modules/home-theme/src/resource/scope.ts +30 -0
- package/src/suite/a-home/modules/home-theme/src/resource/this.ts +4 -0
- package/src/suite/a-home/modules/home-theme/src/routes.ts +3 -0
- package/src/suite/a-home/modules/home-theme/src/types.ts +1 -0
- package/src/suite/a-home/modules/home-theme/src/typings.ts +1 -0
- package/src/suite/a-home/modules/home-theme/tsconfig.json +5 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "zova-ui-empty",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.130",
|
|
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
|
"typestyle": "^2.4.0",
|
|
35
35
|
"vue": "^3.4.27",
|
|
36
|
-
"vue-router": "^4.3.
|
|
36
|
+
"vue-router": "^4.3.3",
|
|
37
37
|
"zod": "^3.23.8",
|
|
38
38
|
"zova": "^5.0.94"
|
|
39
39
|
},
|
|
@@ -41,12 +41,12 @@
|
|
|
41
41
|
"@cabloy/lint": "^4.0.10",
|
|
42
42
|
"@types/node": "^20.14.2",
|
|
43
43
|
"@vitejs/plugin-vue": "^5.0.5",
|
|
44
|
-
"sass": "^1.77.
|
|
44
|
+
"sass": "^1.77.5",
|
|
45
45
|
"typescript": "^5.4.5",
|
|
46
|
-
"vite": "^5.
|
|
47
|
-
"vue-tsc": "^2.0.
|
|
46
|
+
"vite": "^5.3.0",
|
|
47
|
+
"vue-tsc": "^2.0.21",
|
|
48
48
|
"zova-vite": "^1.0.100"
|
|
49
49
|
},
|
|
50
50
|
"license": "MIT",
|
|
51
|
-
"gitHead": "
|
|
51
|
+
"gitHead": "81512453a827eb14e575869faae5bdeb429f266f"
|
|
52
52
|
}
|
|
@@ -2,3 +2,6 @@ export type * as ACore from 'zova-module-a-core';
|
|
|
2
2
|
export type * as HomeApi from 'zova-module-home-api';
|
|
3
3
|
export type * as HomeIcon from 'zova-module-home-icon';
|
|
4
4
|
export type * as HomeRouter from 'zova-module-home-router';
|
|
5
|
+
export type * as HomeLayout from 'zova-module-home-layout';
|
|
6
|
+
export type * as HomeStyle from 'zova-module-home-style';
|
|
7
|
+
export type * as HomeTheme from 'zova-module-home-theme';
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "zova-module-home-style",
|
|
3
|
+
"version": "5.0.0",
|
|
4
|
+
"title": "home-style",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"exports": {
|
|
7
|
+
".": {
|
|
8
|
+
"types": [
|
|
9
|
+
"./src/index.ts",
|
|
10
|
+
"./dist/index.d.ts"
|
|
11
|
+
],
|
|
12
|
+
"import": "./src/index.ts",
|
|
13
|
+
"default": "./dist/index.js"
|
|
14
|
+
},
|
|
15
|
+
"./*": "./*"
|
|
16
|
+
},
|
|
17
|
+
"description": "style",
|
|
18
|
+
"keywords": [
|
|
19
|
+
"Zova Module"
|
|
20
|
+
],
|
|
21
|
+
"author": "zhennann",
|
|
22
|
+
"files": [
|
|
23
|
+
"dist"
|
|
24
|
+
],
|
|
25
|
+
"scripts": {},
|
|
26
|
+
"dependencies": {}
|
|
27
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { BeanBase, Style } from 'zova';
|
|
2
|
+
import { ScopeModule } from '../resource/this.js';
|
|
3
|
+
|
|
4
|
+
@Style()
|
|
5
|
+
export class StyleDefault extends BeanBase<ScopeModule> {
|
|
6
|
+
textCenter: string;
|
|
7
|
+
|
|
8
|
+
protected async __init__() {
|
|
9
|
+
this.textCenter = this.$style({ textAlign: 'center' });
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
protected __dispose__() {}
|
|
13
|
+
}
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export const constants = null;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export enum Errors {}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default {};
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export const components = {};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { BeanScopeBase, Scope, TypeLocaleBase, TypeModuleResource } from 'zova';
|
|
2
|
+
import { config, Errors, locales, constants } from '../config/index.js';
|
|
3
|
+
import { components } from './components.js';
|
|
4
|
+
|
|
5
|
+
@Scope()
|
|
6
|
+
export class ScopeModuleHomeStyle extends BeanScopeBase {}
|
|
7
|
+
|
|
8
|
+
export interface ScopeModuleHomeStyle
|
|
9
|
+
extends TypeModuleResource<
|
|
10
|
+
typeof components,
|
|
11
|
+
typeof config,
|
|
12
|
+
typeof Errors,
|
|
13
|
+
(typeof locales)[TypeLocaleBase],
|
|
14
|
+
typeof constants
|
|
15
|
+
> {}
|
|
16
|
+
|
|
17
|
+
import 'zova';
|
|
18
|
+
declare module 'zova' {
|
|
19
|
+
export interface IBeanScopeRecord {
|
|
20
|
+
'home-style': ScopeModuleHomeStyle;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
export interface IBeanScopeConfig {
|
|
24
|
+
'home-style': ReturnType<typeof config>;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export interface IBeanScopeLocale {
|
|
28
|
+
'home-style': (typeof locales)[TypeLocaleBase];
|
|
29
|
+
}
|
|
30
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type * as AHome from 'zova-module-a-home';
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "zova-module-home-theme",
|
|
3
|
+
"version": "5.0.0",
|
|
4
|
+
"title": "home-theme",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"exports": {
|
|
7
|
+
".": {
|
|
8
|
+
"types": [
|
|
9
|
+
"./src/index.ts",
|
|
10
|
+
"./dist/index.d.ts"
|
|
11
|
+
],
|
|
12
|
+
"import": "./src/index.ts",
|
|
13
|
+
"default": "./dist/index.js"
|
|
14
|
+
},
|
|
15
|
+
"./*": "./*"
|
|
16
|
+
},
|
|
17
|
+
"description": "theme",
|
|
18
|
+
"keywords": [
|
|
19
|
+
"Zova Module"
|
|
20
|
+
],
|
|
21
|
+
"author": "zhennann",
|
|
22
|
+
"files": [
|
|
23
|
+
"dist"
|
|
24
|
+
],
|
|
25
|
+
"scripts": {},
|
|
26
|
+
"dependencies": {}
|
|
27
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { BeanBase, Theme } from 'zova';
|
|
2
|
+
import { ScopeModule } from '../resource/this.js';
|
|
3
|
+
import { ThemeApplyParams, ThemeApplyResult, ThemeBase } from 'zova-module-a-style';
|
|
4
|
+
|
|
5
|
+
@Theme()
|
|
6
|
+
export class ThemeDefault extends BeanBase<ScopeModule> implements ThemeBase {
|
|
7
|
+
async apply({ name: _name, dark: _dark }: ThemeApplyParams): Promise<ThemeApplyResult> {
|
|
8
|
+
return {};
|
|
9
|
+
}
|
|
10
|
+
}
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export const constants = null;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export enum Errors {}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default {};
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export const components = {};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { BeanScopeBase, Scope, TypeLocaleBase, TypeModuleResource } from 'zova';
|
|
2
|
+
import { config, Errors, locales, constants } from '../config/index.js';
|
|
3
|
+
import { components } from './components.js';
|
|
4
|
+
|
|
5
|
+
@Scope()
|
|
6
|
+
export class ScopeModuleHomeTheme extends BeanScopeBase {}
|
|
7
|
+
|
|
8
|
+
export interface ScopeModuleHomeTheme
|
|
9
|
+
extends TypeModuleResource<
|
|
10
|
+
typeof components,
|
|
11
|
+
typeof config,
|
|
12
|
+
typeof Errors,
|
|
13
|
+
(typeof locales)[TypeLocaleBase],
|
|
14
|
+
typeof constants
|
|
15
|
+
> {}
|
|
16
|
+
|
|
17
|
+
import 'zova';
|
|
18
|
+
declare module 'zova' {
|
|
19
|
+
export interface IBeanScopeRecord {
|
|
20
|
+
'home-theme': ScopeModuleHomeTheme;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
export interface IBeanScopeConfig {
|
|
24
|
+
'home-theme': ReturnType<typeof config>;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export interface IBeanScopeLocale {
|
|
28
|
+
'home-theme': (typeof locales)[TypeLocaleBase];
|
|
29
|
+
}
|
|
30
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type * as AHome from 'zova-module-a-home';
|