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 CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "zova-ui-vuetify",
3
- "version": "5.1.78",
4
- "gitHead": "f4325de33feafb49e59d1fdcb32d6e223892e931",
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.15",
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.54",
92
- "zova-jsx": "^1.1.32",
93
- "zova-module-a-action": "^5.1.15",
94
- "zova-module-a-api": "^5.1.9",
95
- "zova-module-a-app": "^5.1.11",
96
- "zova-module-a-bean": "^5.1.16",
97
- "zova-module-a-behavior": "^5.1.12",
98
- "zova-module-a-behaviors": "^5.1.9",
99
- "zova-module-a-boundary": "^5.1.9",
100
- "zova-module-a-fetch": "^5.1.9",
101
- "zova-module-a-form": "^5.1.18",
102
- "zova-module-a-icon": "^5.1.13",
103
- "zova-module-a-interceptor": "^5.1.15",
104
- "zova-module-a-logger": "^5.1.10",
105
- "zova-module-a-meta": "^5.1.9",
106
- "zova-module-a-model": "^5.1.15",
107
- "zova-module-a-openapi": "^5.1.20",
108
- "zova-module-a-router": "^5.1.14",
109
- "zova-module-a-routerstack": "^5.1.11",
110
- "zova-module-a-routertabs": "^5.1.15",
111
- "zova-module-a-ssr": "^5.1.11",
112
- "zova-module-a-ssrhmr": "^5.1.10",
113
- "zova-module-a-ssrserver": "^5.1.9",
114
- "zova-module-a-style": "^5.1.16",
115
- "zova-module-a-table": "^5.1.17",
116
- "zova-module-a-zod": "^5.1.12",
117
- "zova-module-a-zova": "^5.1.36",
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.18",
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.19"
132
+ "zova-suite-a-cabloy": "^5.1.20"
133
133
  },
134
134
  "devDependencies": {
135
135
  "@cabloy/cli": "^3.1.9",
@@ -9,7 +9,6 @@
9
9
  "files": [
10
10
  "dist",
11
11
  "mock",
12
- "rest",
13
12
  "src",
14
13
  "icons",
15
14
  "assets"
@@ -1,5 +1,5 @@
1
1
  import { VBtn, VBtnGroup, VDivider, VIcon } from 'vuetify/components';
2
- import { BeanControllerPageBase, useComputed } from 'zova';
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 = useComputed(() => {
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, useComputed } from 'zova';
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 = useComputed(() => {
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.$css.textCenter}>
35
+ <ZPage class={this.$cssBase.cTextCenter}>
36
36
  <div class={this.cTextColor}>Hello World</div>
37
37
  <VBtn
38
38
  nativeOnClick={() => {
@@ -12,8 +12,7 @@
12
12
  "mock",
13
13
  "src",
14
14
  "icons",
15
- "assets",
16
- "rest"
15
+ "assets"
17
16
  ],
18
17
  "type": "module",
19
18
  "exports": {
@@ -9,7 +9,6 @@
9
9
  "files": [
10
10
  "dist",
11
11
  "mock",
12
- "rest",
13
12
  "src",
14
13
  "icons",
15
14
  "assets"
@@ -10,7 +10,6 @@
10
10
  "dist",
11
11
  "icons",
12
12
  "mock",
13
- "rest",
14
13
  "src",
15
14
  "assets"
16
15
  ],
@@ -8,7 +8,6 @@
8
8
  "files": [
9
9
  "dist",
10
10
  "mock",
11
- "rest",
12
11
  "src",
13
12
  "icons",
14
13
  "assets"
@@ -9,7 +9,6 @@
9
9
  "files": [
10
10
  "dist",
11
11
  "mock",
12
- "rest",
13
12
  "src",
14
13
  "icons",
15
14
  "assets"
@@ -9,7 +9,6 @@
9
9
  "files": [
10
10
  "dist",
11
11
  "mock",
12
- "rest",
13
12
  "src",
14
13
  "icons",
15
14
  "assets"
@@ -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, useComputed, useCustomRef, UseScope } from 'zova';
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 = useComputed(() => {
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, useComputed } from 'zova';
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 = useComputed(() => {
19
+ this.menuTree = this.$computed(() => {
20
20
  const queryMenus = this.retrieveMenus();
21
21
  if (!queryMenus.data) return;
22
22
  return this._prepareMenuTree(queryMenus.data);
@@ -9,7 +9,6 @@
9
9
  "files": [
10
10
  "dist",
11
11
  "mock",
12
- "rest",
13
12
  "src",
14
13
  "icons",
15
14
  "assets"
@@ -11,8 +11,7 @@
11
11
  "mock",
12
12
  "src",
13
13
  "icons",
14
- "assets",
15
- "rest"
14
+ "assets"
16
15
  ],
17
16
  "type": "module",
18
17
  "exports": {
@@ -11,8 +11,7 @@
11
11
  "dist",
12
12
  "src",
13
13
  "icons",
14
- "assets",
15
- "rest"
14
+ "assets"
16
15
  ],
17
16
  "type": "module",
18
17
  "exports": {
@@ -1,36 +1,36 @@
1
1
  // eslint-disable
2
2
  /** css: begin */
3
- export * from '../bean/css.default.js';
4
- import { ICssOptionsDefault } from '../bean/css.default.js';
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:default': ICssOptionsDefault;
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 CssDefault {
16
+ export interface CssBase {
17
17
  /** @internal */
18
18
  get scope(): ScopeModuleHomeTheme;
19
19
  }
20
20
 
21
- export interface CssDefault {
22
- get $beanFullName(): 'home-theme.css.default';
23
- get $onionName(): 'home-theme:default';
24
- get $onionOptions(): ICssOptionsDefault;
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 { CssDefault } from '../bean/css.default.js';
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.default': CssDefault;
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,8 +1,8 @@
1
- import type { CssDefault } from '../bean/css.default.js';
1
+ import type { CssBase } from '../bean/css.base.js';
2
2
  import 'zova';
3
3
 
4
4
  declare module 'zova' {
5
5
  export interface BeanBase {
6
- $css: CssDefault;
6
+ $cssBase: CssBase;
7
7
  }
8
8
  }
@@ -10,8 +10,7 @@
10
10
  "dist",
11
11
  "src",
12
12
  "icons",
13
- "assets",
14
- "rest"
13
+ "assets"
15
14
  ],
16
15
  "type": "module",
17
16
  "exports": {
@@ -9,7 +9,6 @@
9
9
  "files": [
10
10
  "dist",
11
11
  "mock",
12
- "rest",
13
12
  "src",
14
13
  "icons",
15
14
  "assets"
@@ -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
- }