zova-ui-empty 5.0.170 → 5.0.172

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.170",
3
+ "version": "5.0.172",
4
4
  "description": "A vue3 empty framework with ioc",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -35,11 +35,12 @@
35
35
  "vue": "^3.4.29",
36
36
  "vue-router": "^4.3.3",
37
37
  "zod": "^3.23.8",
38
- "zova": "^5.0.125",
39
- "zova-module-a-model": "^5.0.13",
38
+ "zova": "^5.0.127",
39
+ "zova-module-a-model": "^5.0.15",
40
40
  "zova-module-a-pinia": "^5.0.20",
41
- "zova-module-a-router": "^5.0.44",
42
- "zova-module-a-style": "^5.0.21"
41
+ "zova-module-a-router": "^5.0.46",
42
+ "zova-module-a-style": "^5.0.21",
43
+ "zova-module-a-tabs": "^5.0.2"
43
44
  },
44
45
  "devDependencies": {
45
46
  "@cabloy/lint": "^4.0.10",
@@ -49,8 +50,8 @@
49
50
  "typescript": "^5.4.5",
50
51
  "vite": "^5.3.1",
51
52
  "vue-tsc": "^2.0.21",
52
- "zova-vite": "^1.0.119"
53
+ "zova-vite": "^1.0.121"
53
54
  },
54
55
  "license": "MIT",
55
- "gitHead": "52507fb67514312436767045448d36480a77502c"
56
+ "gitHead": "d665ca824d3f3ef980565eaba2d5d530bd32e64f"
56
57
  }
@@ -1,7 +1,7 @@
1
- import { BeanControllerBase, Local } from 'zova';
1
+ import { BeanControllerBase, Local, PropsBase } from 'zova';
2
2
  import { JSX } from 'vue/jsx-runtime';
3
3
 
4
- export interface Props {
4
+ export interface Props extends PropsBase<ControllerCard, Slots> {
5
5
  header?: string;
6
6
  content?: string;
7
7
  footer?: string;
@@ -1,28 +1,16 @@
1
1
  import { BeanRenderBase, Local } from 'zova';
2
2
  import type { ControllerPageComponent } from './controller.js';
3
3
  import { ScopeModule } from '../../resource/this.js';
4
- import { NSControllerCard } from '../../resource/components.js';
5
4
 
6
5
  export interface RenderComponent extends ControllerPageComponent {}
7
6
 
8
7
  @Local()
9
8
  export class RenderComponent extends BeanRenderBase<ScopeModule> {
10
9
  render() {
11
- const slots: NSControllerCard.Slots = {
12
- header: () => {
13
- return <div>this is a header slot from parent</div>;
14
- },
15
- default: () => {
16
- return <div>this is a default slot from parent</div>;
17
- },
18
- footer: () => {
19
- return <div>this is a footer slot from parent</div>;
20
- },
21
- };
22
10
  return (
23
11
  <div>
24
12
  <this.scope.component.card
25
- onControllerRef={ref => {
13
+ controllerRef={ref => {
26
14
  this.cardRef = ref;
27
15
  }}
28
16
  header="header"
@@ -31,7 +19,17 @@ export class RenderComponent extends BeanRenderBase<ScopeModule> {
31
19
  onReset={time => {
32
20
  this.resetTime = time;
33
21
  }}
34
- v-slots={slots}
22
+ slots={{
23
+ header: () => {
24
+ return <div>this is a header slot from parent</div>;
25
+ },
26
+ default: () => {
27
+ return <div>this is a default slot from parent</div>;
28
+ },
29
+ footer: () => {
30
+ return <div>this is a footer slot from parent</div>;
31
+ },
32
+ }}
35
33
  ></this.scope.component.card>
36
34
  </div>
37
35
  );
@@ -1,10 +1,8 @@
1
- import { BeanControllerBase, Local } from 'zova';
1
+ import { BeanControllerBase, Local, PropsBase } from 'zova';
2
2
  import { ScopeModule } from '../../resource/this.js';
3
3
  import { JSX } from 'vue/jsx-runtime';
4
4
 
5
- export interface Props {
6
- name?: string;
7
- }
5
+ export interface Props extends PropsBase<ControllerPage, Slots> {}
8
6
 
9
7
  export type Emits = {};
10
8
 
@@ -14,9 +12,7 @@ export interface Slots {
14
12
 
15
13
  @Local()
16
14
  export class ControllerPage extends BeanControllerBase<ScopeModule, Props, Emits, Slots> {
17
- static $propsDefault = {
18
- name: '',
19
- };
15
+ static $propsDefault = {};
20
16
 
21
17
  protected async __init__() {}
22
18
 
@@ -1,6 +1,6 @@
1
- import { BeanControllerBase, Local } from 'zova';
1
+ import { BeanControllerBase, Local, PropsBase } from 'zova';
2
2
 
3
- export interface Props {
3
+ export interface Props extends PropsBase<ControllerEssentialLink, Slots> {
4
4
  title: string;
5
5
  caption?: string;
6
6
  icon?: string;
@@ -1,7 +1,7 @@
1
- import { BeanControllerBase, Local, Use } from 'zova';
1
+ import { BeanControllerBase, Local, Use, PropsBase } from 'zova';
2
2
  import { ModelMenu } from '../../bean/model.menu.js';
3
3
 
4
- export interface Props {}
4
+ export interface Props extends PropsBase<ControllerLayoutDefault, Slots> {}
5
5
 
6
6
  export type Emits = {};
7
7
 
@@ -1,8 +1,6 @@
1
- import { BeanControllerBase, Local } from 'zova';
1
+ import { BeanControllerBase, Local, PropsBase } from 'zova';
2
2
 
3
- export interface Props {
4
- name?: string;
5
- }
3
+ export interface Props extends PropsBase<ControllerLayoutEmpty, Slots> {}
6
4
 
7
5
  export type Emits = {};
8
6
 
@@ -10,7 +8,5 @@ export interface Slots {}
10
8
 
11
9
  @Local()
12
10
  export class ControllerLayoutEmpty extends BeanControllerBase<unknown, Props, Emits, Slots> {
13
- static $propsDefault = {
14
- name: '',
15
- };
11
+ static $propsDefault = {};
16
12
  }