zova-ui-vuetify 5.1.78 → 5.1.80
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 +32 -32
- package/src/suite/a-demo/modules/demo-basic/package.json +0 -1
- package/src/suite/a-demo/modules/demo-basic/src/page/state/controller.tsx +2 -2
- package/src/suite/a-demo/modules/demo-basic/src/page/style/controller.tsx +3 -3
- package/src/suite/a-home/modules/home-api/package.json +1 -2
- package/src/suite/a-home/modules/home-base/package.json +0 -1
- package/src/suite/a-home/modules/home-icon/package.json +0 -1
- package/src/suite/a-home/modules/home-index/package.json +0 -1
- package/src/suite/a-home/modules/home-layoutempty/package.json +0 -1
- package/src/suite/a-home/modules/home-layouttabs/package.json +0 -1
- package/src/suite/a-home/modules/home-layouttabs/src/component/layoutTabs/controller.tsx +2 -2
- package/src/suite/a-home/modules/home-layouttabs/src/model/menu.ts +2 -2
- package/src/suite/a-home/modules/home-login/package.json +0 -1
- package/src/suite/a-home/modules/home-passport/package.json +1 -2
- package/src/suite/a-home/modules/home-theme/package.json +1 -2
- package/src/suite/a-home/modules/home-theme/src/.metadata/index.ts +10 -10
- package/src/suite/a-home/modules/home-theme/src/bean/css.base.ts +15 -0
- package/src/suite/a-home/modules/home-theme/src/types/style.ts +2 -2
- package/src/suite/a-vuetify/modules/vuetify-adapter/package.json +1 -2
- package/src/suite/a-vuetify/modules/vuetify-form/package.json +0 -1
- package/src/suite/a-home/modules/home-theme/src/bean/css.default.ts +0 -15
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "zova-ui-vuetify",
|
|
3
|
-
"version": "5.1.
|
|
4
|
-
"gitHead": "
|
|
3
|
+
"version": "5.1.80",
|
|
4
|
+
"gitHead": "ddec2a32e5fd0e85af5967caa29e4d0e5e0f6117",
|
|
5
5
|
"description": "A vue3 vuetify framework with ioc",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"ioc",
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
"@cabloy/json5": "^1.1.5",
|
|
61
61
|
"@cabloy/logger": "^1.1.10",
|
|
62
62
|
"@cabloy/module-info": "^2.0.0",
|
|
63
|
-
"@cabloy/utils": "^2.1.
|
|
63
|
+
"@cabloy/utils": "^2.1.16",
|
|
64
64
|
"@cabloy/vue-router": "^4.4.16",
|
|
65
65
|
"@cabloy/word-utils": "^2.1.9",
|
|
66
66
|
"@cabloy/zod-openapi": "^1.1.5",
|
|
@@ -88,33 +88,33 @@
|
|
|
88
88
|
"vue-router": "npm:@cabloy/vue-router@^4.4.16",
|
|
89
89
|
"vuetify": "^4.0.5",
|
|
90
90
|
"zod": "^4.3.6",
|
|
91
|
-
"zova": "^5.1.
|
|
92
|
-
"zova-jsx": "^1.1.
|
|
93
|
-
"zova-module-a-action": "^5.1.
|
|
94
|
-
"zova-module-a-api": "^5.1.
|
|
95
|
-
"zova-module-a-app": "^5.1.
|
|
96
|
-
"zova-module-a-bean": "^5.1.
|
|
97
|
-
"zova-module-a-behavior": "^5.1.
|
|
98
|
-
"zova-module-a-behaviors": "^5.1.
|
|
99
|
-
"zova-module-a-boundary": "^5.1.
|
|
100
|
-
"zova-module-a-fetch": "^5.1.
|
|
101
|
-
"zova-module-a-form": "^5.1.
|
|
102
|
-
"zova-module-a-icon": "^5.1.
|
|
103
|
-
"zova-module-a-interceptor": "^5.1.
|
|
104
|
-
"zova-module-a-logger": "^5.1.
|
|
105
|
-
"zova-module-a-meta": "^5.1.
|
|
106
|
-
"zova-module-a-model": "^5.1.
|
|
107
|
-
"zova-module-a-openapi": "^5.1.
|
|
108
|
-
"zova-module-a-router": "^5.1.
|
|
109
|
-
"zova-module-a-routerstack": "^5.1.
|
|
110
|
-
"zova-module-a-routertabs": "^5.1.
|
|
111
|
-
"zova-module-a-ssr": "^5.1.
|
|
112
|
-
"zova-module-a-ssrhmr": "^5.1.
|
|
113
|
-
"zova-module-a-ssrserver": "^5.1.
|
|
114
|
-
"zova-module-a-style": "^5.1.
|
|
115
|
-
"zova-module-a-table": "^5.1.
|
|
116
|
-
"zova-module-a-zod": "^5.1.
|
|
117
|
-
"zova-module-a-zova": "^5.1.
|
|
91
|
+
"zova": "^5.1.56",
|
|
92
|
+
"zova-jsx": "^1.1.34",
|
|
93
|
+
"zova-module-a-action": "^5.1.16",
|
|
94
|
+
"zova-module-a-api": "^5.1.10",
|
|
95
|
+
"zova-module-a-app": "^5.1.12",
|
|
96
|
+
"zova-module-a-bean": "^5.1.17",
|
|
97
|
+
"zova-module-a-behavior": "^5.1.13",
|
|
98
|
+
"zova-module-a-behaviors": "^5.1.10",
|
|
99
|
+
"zova-module-a-boundary": "^5.1.10",
|
|
100
|
+
"zova-module-a-fetch": "^5.1.10",
|
|
101
|
+
"zova-module-a-form": "^5.1.19",
|
|
102
|
+
"zova-module-a-icon": "^5.1.14",
|
|
103
|
+
"zova-module-a-interceptor": "^5.1.16",
|
|
104
|
+
"zova-module-a-logger": "^5.1.11",
|
|
105
|
+
"zova-module-a-meta": "^5.1.10",
|
|
106
|
+
"zova-module-a-model": "^5.1.16",
|
|
107
|
+
"zova-module-a-openapi": "^5.1.21",
|
|
108
|
+
"zova-module-a-router": "^5.1.15",
|
|
109
|
+
"zova-module-a-routerstack": "^5.1.13",
|
|
110
|
+
"zova-module-a-routertabs": "^5.1.17",
|
|
111
|
+
"zova-module-a-ssr": "^5.1.12",
|
|
112
|
+
"zova-module-a-ssrhmr": "^5.1.11",
|
|
113
|
+
"zova-module-a-ssrserver": "^5.1.10",
|
|
114
|
+
"zova-module-a-style": "^5.1.18",
|
|
115
|
+
"zova-module-a-table": "^5.1.18",
|
|
116
|
+
"zova-module-a-zod": "^5.1.13",
|
|
117
|
+
"zova-module-a-zova": "^5.1.38",
|
|
118
118
|
"zova-module-basic-actions": "^5.1.10",
|
|
119
119
|
"zova-module-demo-basic": "workspace:^",
|
|
120
120
|
"zova-module-home-api": "workspace:^",
|
|
@@ -126,10 +126,10 @@
|
|
|
126
126
|
"zova-module-home-login": "workspace:^",
|
|
127
127
|
"zova-module-home-passport": "workspace:^",
|
|
128
128
|
"zova-module-home-theme": "workspace:^",
|
|
129
|
-
"zova-module-rest-resource": "^5.1.
|
|
129
|
+
"zova-module-rest-resource": "^5.1.19",
|
|
130
130
|
"zova-module-vuetify-adapter": "workspace:^",
|
|
131
131
|
"zova-module-vuetify-form": "workspace:^",
|
|
132
|
-
"zova-suite-a-cabloy": "^5.1.
|
|
132
|
+
"zova-suite-a-cabloy": "^5.1.20"
|
|
133
133
|
},
|
|
134
134
|
"devDependencies": {
|
|
135
135
|
"@cabloy/cli": "^3.1.9",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { VBtn, VBtnGroup, VDivider, VIcon } from 'vuetify/components';
|
|
2
|
-
import { BeanControllerPageBase
|
|
2
|
+
import { BeanControllerPageBase } from 'zova';
|
|
3
3
|
import { Controller } from 'zova-module-a-bean';
|
|
4
4
|
import { IIconRecord } from 'zova-module-a-icon';
|
|
5
5
|
import { ZPage } from 'zova-module-home-base';
|
|
@@ -11,7 +11,7 @@ export class ControllerPageState extends BeanControllerPageBase {
|
|
|
11
11
|
icon: keyof IIconRecord;
|
|
12
12
|
|
|
13
13
|
protected async __init__() {
|
|
14
|
-
this.count2 =
|
|
14
|
+
this.count2 = this.$computed(() => {
|
|
15
15
|
return `=== ${this.count} ===`;
|
|
16
16
|
});
|
|
17
17
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { VBtn } from 'vuetify/components';
|
|
2
2
|
import { VRadio } from 'vuetify/components';
|
|
3
3
|
import { VRadioGroup } from 'vuetify/components';
|
|
4
|
-
import { BeanControllerPageBase
|
|
4
|
+
import { BeanControllerPageBase } from 'zova';
|
|
5
5
|
import { Controller } from 'zova-module-a-bean';
|
|
6
6
|
import { $getThemeName } from 'zova-module-a-style';
|
|
7
7
|
import { ZPage } from 'zova-module-home-base';
|
|
@@ -25,14 +25,14 @@ export class ControllerPageStyle extends BeanControllerPageBase {
|
|
|
25
25
|
];
|
|
26
26
|
|
|
27
27
|
protected async __init__() {
|
|
28
|
-
this.cTextColor =
|
|
28
|
+
this.cTextColor = this.$computed(() => {
|
|
29
29
|
return this.$style({ color: this.active ? this.$token.colors.primary : '' });
|
|
30
30
|
});
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
protected render() {
|
|
34
34
|
return (
|
|
35
|
-
<ZPage class={this.$
|
|
35
|
+
<ZPage class={this.$cssBase.cTextCenter}>
|
|
36
36
|
<div class={this.cTextColor}>Hello World</div>
|
|
37
37
|
<VBtn
|
|
38
38
|
nativeOnClick={() => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { ModelTabs, ModelTabsOptions } from 'zova-module-a-routertabs';
|
|
2
2
|
|
|
3
3
|
import { provide, ref } from 'vue';
|
|
4
|
-
import { BeanControllerBase, Use,
|
|
4
|
+
import { BeanControllerBase, Use, useCustomRef, UseScope } from 'zova';
|
|
5
5
|
import { Controller } from 'zova-module-a-bean';
|
|
6
6
|
import { $QueryAutoLoad } from 'zova-module-a-model';
|
|
7
7
|
import { ScopeModuleASsr } from 'zova-module-a-ssr';
|
|
@@ -43,7 +43,7 @@ export class ControllerLayoutTabs extends BeanControllerBase {
|
|
|
43
43
|
|
|
44
44
|
protected async __init__() {
|
|
45
45
|
// belowBreakpoint
|
|
46
|
-
this.belowBreakpoint =
|
|
46
|
+
this.belowBreakpoint = this.$computed(() => {
|
|
47
47
|
let width;
|
|
48
48
|
if (process.env.SERVER) {
|
|
49
49
|
width = 0;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { IDecoratorModelOptions } from 'zova-module-a-model';
|
|
2
2
|
import type { ApiSchemaAMenuDtoMenuGroup, ApiSchemaAMenuDtoMenuItem, ApiSchemaAMenuDtoMenus } from 'zova-module-home-api';
|
|
3
3
|
|
|
4
|
-
import { TypeEventOff
|
|
4
|
+
import { TypeEventOff } from 'zova';
|
|
5
5
|
import { BeanModelBase, Model } from 'zova-module-a-model';
|
|
6
6
|
|
|
7
7
|
export type TypeMenuGroup = ApiSchemaAMenuDtoMenuGroup & { folder: true; children: TypeMenuItem[] };
|
|
@@ -16,7 +16,7 @@ export class ModelMenu extends BeanModelBase {
|
|
|
16
16
|
private _eventSsrHmrReload: TypeEventOff;
|
|
17
17
|
|
|
18
18
|
protected async __init__() {
|
|
19
|
-
this.menuTree =
|
|
19
|
+
this.menuTree = this.$computed(() => {
|
|
20
20
|
const queryMenus = this.retrieveMenus();
|
|
21
21
|
if (!queryMenus.data) return;
|
|
22
22
|
return this._prepareMenuTree(queryMenus.data);
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
// eslint-disable
|
|
2
2
|
/** css: begin */
|
|
3
|
-
export * from '../bean/css.
|
|
4
|
-
import {
|
|
3
|
+
export * from '../bean/css.base.js';
|
|
4
|
+
import { ICssOptionsBase } from '../bean/css.base.js';
|
|
5
5
|
import 'zova-module-a-style';
|
|
6
6
|
declare module 'zova-module-a-style' {
|
|
7
7
|
|
|
8
8
|
export interface ICssRecord {
|
|
9
|
-
'home-theme:
|
|
9
|
+
'home-theme:base': ICssOptionsBase;
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
}
|
|
14
14
|
declare module 'zova-module-home-theme' {
|
|
15
15
|
|
|
16
|
-
export interface
|
|
16
|
+
export interface CssBase {
|
|
17
17
|
/** @internal */
|
|
18
18
|
get scope(): ScopeModuleHomeTheme;
|
|
19
19
|
}
|
|
20
20
|
|
|
21
|
-
export interface
|
|
22
|
-
get $beanFullName(): 'home-theme.css.
|
|
23
|
-
get $onionName(): 'home-theme:
|
|
24
|
-
get $onionOptions():
|
|
21
|
+
export interface CssBase {
|
|
22
|
+
get $beanFullName(): 'home-theme.css.base';
|
|
23
|
+
get $onionName(): 'home-theme:base';
|
|
24
|
+
get $onionOptions(): ICssOptionsBase;
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
27
|
/** css: end */
|
|
28
28
|
/** css: begin */
|
|
29
|
-
import {
|
|
29
|
+
import { CssBase } from '../bean/css.base.js';
|
|
30
30
|
import 'zova';
|
|
31
31
|
declare module 'zova' {
|
|
32
32
|
export interface IBeanRecordLocal {
|
|
33
|
-
'home-theme.css.
|
|
33
|
+
'home-theme.css.base': CssBase;
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
/** css: end */
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { IDecoratorCssOptions } from 'zova-module-a-style';
|
|
2
|
+
|
|
3
|
+
import { BeanBase } from 'zova';
|
|
4
|
+
import { Css } from 'zova-module-a-style';
|
|
5
|
+
|
|
6
|
+
export interface ICssOptionsBase extends IDecoratorCssOptions {}
|
|
7
|
+
|
|
8
|
+
@Css<ICssOptionsBase>()
|
|
9
|
+
export class CssBase extends BeanBase {
|
|
10
|
+
cTextCenter: string;
|
|
11
|
+
|
|
12
|
+
protected async __init__() {
|
|
13
|
+
this.cTextCenter = this.$style({ textAlign: 'center' });
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import type { IDecoratorCssOptions } from 'zova-module-a-style';
|
|
2
|
-
|
|
3
|
-
import { BeanBase } from 'zova';
|
|
4
|
-
import { Css } from 'zova-module-a-style';
|
|
5
|
-
|
|
6
|
-
export interface ICssOptionsDefault extends IDecoratorCssOptions {}
|
|
7
|
-
|
|
8
|
-
@Css<ICssOptionsDefault>()
|
|
9
|
-
export class CssDefault extends BeanBase {
|
|
10
|
-
textCenter: string;
|
|
11
|
-
|
|
12
|
-
protected async __init__() {
|
|
13
|
-
this.textCenter = this.$style({ textAlign: 'center' });
|
|
14
|
-
}
|
|
15
|
-
}
|