zova-ui-empty 5.1.74 → 5.1.76

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-empty",
3
- "version": "5.1.74",
4
- "gitHead": "343c61ad189fe3f0fc997ee9f4c710567657e05c",
3
+ "version": "5.1.76",
4
+ "gitHead": "106d9830a06a019121adf3af44e0ae22063aed55",
5
5
  "description": "A vue3 empty framework with ioc",
6
6
  "keywords": [
7
7
  "ioc",
@@ -74,8 +74,8 @@
74
74
  "vue": "^3.5.6",
75
75
  "vue-router": "^4.4.5",
76
76
  "zod": "^4.3.6",
77
- "zova": "^5.1.55",
78
- "zova-jsx": "^1.1.33",
77
+ "zova": "^5.1.57",
78
+ "zova-jsx": "^1.1.35",
79
79
  "zova-module-a-action": "^5.1.16",
80
80
  "zova-module-a-api": "^5.1.10",
81
81
  "zova-module-a-app": "^5.1.12",
@@ -84,7 +84,7 @@
84
84
  "zova-module-a-behaviors": "^5.1.10",
85
85
  "zova-module-a-boundary": "^5.1.10",
86
86
  "zova-module-a-fetch": "^5.1.10",
87
- "zova-module-a-form": "^5.1.19",
87
+ "zova-module-a-form": "^5.1.20",
88
88
  "zova-module-a-icon": "^5.1.14",
89
89
  "zova-module-a-interceptor": "^5.1.16",
90
90
  "zova-module-a-logger": "^5.1.11",
@@ -92,15 +92,15 @@
92
92
  "zova-module-a-model": "^5.1.16",
93
93
  "zova-module-a-openapi": "^5.1.21",
94
94
  "zova-module-a-router": "^5.1.15",
95
- "zova-module-a-routerstack": "^5.1.12",
96
- "zova-module-a-routertabs": "^5.1.16",
95
+ "zova-module-a-routerstack": "^5.1.13",
96
+ "zova-module-a-routertabs": "^5.1.17",
97
97
  "zova-module-a-ssr": "^5.1.12",
98
98
  "zova-module-a-ssrhmr": "^5.1.11",
99
99
  "zova-module-a-ssrserver": "^5.1.10",
100
- "zova-module-a-style": "^5.1.17",
101
- "zova-module-a-table": "^5.1.18",
100
+ "zova-module-a-style": "^5.1.19",
101
+ "zova-module-a-table": "^5.1.19",
102
102
  "zova-module-a-zod": "^5.1.13",
103
- "zova-module-a-zova": "^5.1.37",
103
+ "zova-module-a-zova": "^5.1.39",
104
104
  "zova-module-demo-basic": "workspace:^",
105
105
  "zova-module-home-api": "workspace:^",
106
106
  "zova-module-home-base": "workspace:^",
@@ -1,4 +1,4 @@
1
- import { BeanControllerPageBase, useComputed } from 'zova';
1
+ import { BeanControllerPageBase } from 'zova';
2
2
  import { Controller } from 'zova-module-a-bean';
3
3
  import { ZPage } from 'zova-module-home-base';
4
4
 
@@ -8,7 +8,7 @@ export class ControllerPageState extends BeanControllerPageBase {
8
8
  count2: string;
9
9
 
10
10
  protected async __init__() {
11
- this.count2 = useComputed(() => {
11
+ this.count2 = this.$computed(() => {
12
12
  return `=== ${this.count} ===`;
13
13
  });
14
14
  }
@@ -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);
@@ -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
  }
@@ -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
- }