zova-ui-empty 5.0.313 → 5.0.314
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 +4 -4
- package/src/suite/a-demo/modules/demo-basic/src/component/card/controller.ts +7 -2
- package/src/suite/a-demo/modules/demo-basic/src/component/card/index.vue +2 -5
- package/src/suite/a-home/modules/home-base/src/component/page/controller.ts +7 -2
- package/src/suite/a-home/modules/home-base/src/component/page/index.vue +2 -5
- package/src/suite/a-home/modules/home-layout/src/component/essentialLink/controller.ts +7 -2
- package/src/suite/a-home/modules/home-layout/src/component/essentialLink/index.vue +2 -5
- package/src/suite/a-home/modules/home-layout/src/component/layoutDefault/controller.ts +7 -2
- package/src/suite/a-home/modules/home-layout/src/component/layoutDefault/index.vue +2 -5
- package/src/suite/a-home/modules/home-layout/src/component/layoutEmpty/controller.ts +7 -2
- package/src/suite/a-home/modules/home-layout/src/component/layoutEmpty/index.vue +2 -5
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "zova-ui-empty",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.314",
|
|
4
4
|
"description": "A vue3 empty framework with ioc",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -48,13 +48,13 @@
|
|
|
48
48
|
"vue": "^3.5.6",
|
|
49
49
|
"vue-router": "^4.4.5",
|
|
50
50
|
"zod": "^3.23.8",
|
|
51
|
-
"zova": "^5.0.
|
|
51
|
+
"zova": "^5.0.219",
|
|
52
52
|
"zova-module-a-core": "^5.0.46",
|
|
53
53
|
"zova-module-a-model": "^5.0.33",
|
|
54
54
|
"zova-module-a-pinia": "^5.0.32",
|
|
55
55
|
"zova-module-a-router": "^5.0.67",
|
|
56
56
|
"zova-module-a-style": "^5.0.44",
|
|
57
|
-
"zova-module-a-tabs": "^5.0.
|
|
57
|
+
"zova-module-a-tabs": "^5.0.25",
|
|
58
58
|
"zova-module-demo-basic": "workspace:^",
|
|
59
59
|
"zova-module-home-base": "workspace:^",
|
|
60
60
|
"zova-module-home-icon": "workspace:^",
|
|
@@ -75,5 +75,5 @@
|
|
|
75
75
|
"zova-vite": "^1.0.176"
|
|
76
76
|
},
|
|
77
77
|
"license": "MIT",
|
|
78
|
-
"gitHead": "
|
|
78
|
+
"gitHead": "e9e4c722b0aa3d259dd1d3d89a5868171154de43"
|
|
79
79
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BeanControllerBase, Local, PropsBase } from 'zova';
|
|
1
|
+
import { BeanControllerBase, Local, PropsBase, RequiredSome } from 'zova';
|
|
2
2
|
import { JSX } from 'vue/jsx-runtime';
|
|
3
3
|
|
|
4
4
|
export interface Props extends PropsBase<ControllerCard, Slots> {
|
|
@@ -18,7 +18,12 @@ export interface Slots {
|
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
@Local()
|
|
21
|
-
export class ControllerCard extends BeanControllerBase<
|
|
21
|
+
export class ControllerCard extends BeanControllerBase<
|
|
22
|
+
unknown,
|
|
23
|
+
RequiredSome<Props, keyof typeof ControllerCard.$propsDefault>,
|
|
24
|
+
Emits,
|
|
25
|
+
Slots
|
|
26
|
+
> {
|
|
22
27
|
static $propsDefault = {
|
|
23
28
|
header: 'default header',
|
|
24
29
|
};
|
|
@@ -3,13 +3,10 @@
|
|
|
3
3
|
</template>
|
|
4
4
|
|
|
5
5
|
<script setup lang="ts">
|
|
6
|
-
import {
|
|
6
|
+
import { useController } from 'zova';
|
|
7
7
|
import { ControllerCard, Props, Emits } from './controller.js';
|
|
8
8
|
import { RenderCard } from './render.jsx';
|
|
9
|
-
const props = withDefaults(
|
|
10
|
-
defineProps<PartialSome<Props, keyof typeof ControllerCard.$propsDefault>>(),
|
|
11
|
-
ControllerCard.$propsDefault,
|
|
12
|
-
);
|
|
9
|
+
const props = withDefaults(defineProps<Props>(), ControllerCard.$propsDefault);
|
|
13
10
|
const emit = defineEmits<Emits>();
|
|
14
11
|
useController(props, emit, ControllerCard, RenderCard);
|
|
15
12
|
</script>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BeanControllerBase, Local, PropsBase } from 'zova';
|
|
1
|
+
import { BeanControllerBase, Local, PropsBase, RequiredSome } from 'zova';
|
|
2
2
|
import { ScopeModule } from '../../.metadata/this.js';
|
|
3
3
|
import { JSX } from 'vue/jsx-runtime';
|
|
4
4
|
|
|
@@ -11,7 +11,12 @@ export interface Slots {
|
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
@Local()
|
|
14
|
-
export class ControllerPage extends BeanControllerBase<
|
|
14
|
+
export class ControllerPage extends BeanControllerBase<
|
|
15
|
+
ScopeModule,
|
|
16
|
+
RequiredSome<Props, keyof typeof ControllerPage.$propsDefault>,
|
|
17
|
+
Emits,
|
|
18
|
+
Slots
|
|
19
|
+
> {
|
|
15
20
|
static $propsDefault = {};
|
|
16
21
|
|
|
17
22
|
protected async __init__() {}
|
|
@@ -3,14 +3,11 @@
|
|
|
3
3
|
</template>
|
|
4
4
|
|
|
5
5
|
<script setup lang="ts">
|
|
6
|
-
import {
|
|
6
|
+
import { useController } from 'zova';
|
|
7
7
|
import { ControllerPage, Props, Emits } from './controller.js';
|
|
8
8
|
import { RenderPage } from './render.jsx';
|
|
9
9
|
import { StylePage } from './style.js';
|
|
10
|
-
const props = withDefaults(
|
|
11
|
-
defineProps<PartialSome<Props, keyof typeof ControllerPage.$propsDefault>>(),
|
|
12
|
-
ControllerPage.$propsDefault,
|
|
13
|
-
);
|
|
10
|
+
const props = withDefaults(defineProps<Props>(), ControllerPage.$propsDefault);
|
|
14
11
|
const emit = defineEmits<Emits>();
|
|
15
12
|
useController(props, emit, ControllerPage, RenderPage, StylePage);
|
|
16
13
|
</script>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BeanControllerBase, Local, PropsBase } from 'zova';
|
|
1
|
+
import { BeanControllerBase, Local, PropsBase, RequiredSome } from 'zova';
|
|
2
2
|
|
|
3
3
|
export interface Props extends PropsBase<ControllerEssentialLink, Slots> {
|
|
4
4
|
title: string;
|
|
@@ -13,7 +13,12 @@ export type Emits = {};
|
|
|
13
13
|
export interface Slots {}
|
|
14
14
|
|
|
15
15
|
@Local()
|
|
16
|
-
export class ControllerEssentialLink extends BeanControllerBase<
|
|
16
|
+
export class ControllerEssentialLink extends BeanControllerBase<
|
|
17
|
+
unknown,
|
|
18
|
+
RequiredSome<Props, keyof typeof ControllerEssentialLink.$propsDefault>,
|
|
19
|
+
Emits,
|
|
20
|
+
Slots
|
|
21
|
+
> {
|
|
17
22
|
static $propsDefault = {
|
|
18
23
|
caption: '',
|
|
19
24
|
icon: '',
|
|
@@ -3,13 +3,10 @@
|
|
|
3
3
|
</template>
|
|
4
4
|
|
|
5
5
|
<script setup lang="ts">
|
|
6
|
-
import {
|
|
6
|
+
import { useController } from 'zova';
|
|
7
7
|
import { ControllerEssentialLink, Props, Emits } from './controller.js';
|
|
8
8
|
import { RenderEssentialLink } from './render.jsx';
|
|
9
|
-
const props = withDefaults(
|
|
10
|
-
defineProps<PartialSome<Props, keyof typeof ControllerEssentialLink.$propsDefault>>(),
|
|
11
|
-
ControllerEssentialLink.$propsDefault,
|
|
12
|
-
);
|
|
9
|
+
const props = withDefaults(defineProps<Props>(), ControllerEssentialLink.$propsDefault);
|
|
13
10
|
const emit = defineEmits<Emits>();
|
|
14
11
|
useController(props, emit, ControllerEssentialLink, RenderEssentialLink);
|
|
15
12
|
</script>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BeanControllerBase, Local, Use, PropsBase } from 'zova';
|
|
1
|
+
import { BeanControllerBase, Local, Use, PropsBase, RequiredSome } from 'zova';
|
|
2
2
|
import { ScopeModule } from '../../.metadata/this.js';
|
|
3
3
|
import { ModelMenu } from '../../bean/model.menu.js';
|
|
4
4
|
|
|
@@ -9,7 +9,12 @@ export type Emits = {};
|
|
|
9
9
|
export interface Slots {}
|
|
10
10
|
|
|
11
11
|
@Local()
|
|
12
|
-
export class ControllerLayoutDefault extends BeanControllerBase<
|
|
12
|
+
export class ControllerLayoutDefault extends BeanControllerBase<
|
|
13
|
+
ScopeModule,
|
|
14
|
+
RequiredSome<Props, keyof typeof ControllerLayoutDefault.$propsDefault>,
|
|
15
|
+
Emits,
|
|
16
|
+
Slots
|
|
17
|
+
> {
|
|
13
18
|
static $propsDefault = {};
|
|
14
19
|
|
|
15
20
|
@Use()
|
|
@@ -3,14 +3,11 @@
|
|
|
3
3
|
</template>
|
|
4
4
|
|
|
5
5
|
<script setup lang="ts">
|
|
6
|
-
import {
|
|
6
|
+
import { useController } from 'zova';
|
|
7
7
|
import { ControllerLayoutDefault, Props, Emits } from './controller.js';
|
|
8
8
|
import { RenderLayoutDefault } from './render.jsx';
|
|
9
9
|
import { StyleLayoutDefault } from './style.js';
|
|
10
|
-
const props = withDefaults(
|
|
11
|
-
defineProps<PartialSome<Props, keyof typeof ControllerLayoutDefault.$propsDefault>>(),
|
|
12
|
-
ControllerLayoutDefault.$propsDefault,
|
|
13
|
-
);
|
|
10
|
+
const props = withDefaults(defineProps<Props>(), ControllerLayoutDefault.$propsDefault);
|
|
14
11
|
const emit = defineEmits<Emits>();
|
|
15
12
|
useController(props, emit, ControllerLayoutDefault, RenderLayoutDefault, StyleLayoutDefault);
|
|
16
13
|
</script>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BeanControllerBase, Local, PropsBase } from 'zova';
|
|
1
|
+
import { BeanControllerBase, Local, PropsBase, RequiredSome } from 'zova';
|
|
2
2
|
|
|
3
3
|
export interface Props extends PropsBase<ControllerLayoutEmpty, Slots> {}
|
|
4
4
|
|
|
@@ -7,6 +7,11 @@ export type Emits = {};
|
|
|
7
7
|
export interface Slots {}
|
|
8
8
|
|
|
9
9
|
@Local()
|
|
10
|
-
export class ControllerLayoutEmpty extends BeanControllerBase<
|
|
10
|
+
export class ControllerLayoutEmpty extends BeanControllerBase<
|
|
11
|
+
unknown,
|
|
12
|
+
RequiredSome<Props, keyof typeof ControllerLayoutEmpty.$propsDefault>,
|
|
13
|
+
Emits,
|
|
14
|
+
Slots
|
|
15
|
+
> {
|
|
11
16
|
static $propsDefault = {};
|
|
12
17
|
}
|
|
@@ -3,13 +3,10 @@
|
|
|
3
3
|
</template>
|
|
4
4
|
|
|
5
5
|
<script setup lang="ts">
|
|
6
|
-
import {
|
|
6
|
+
import { useController } from 'zova';
|
|
7
7
|
import { ControllerLayoutEmpty, Props, Emits } from './controller.js';
|
|
8
8
|
import { RenderLayoutEmpty } from './render.jsx';
|
|
9
|
-
const props = withDefaults(
|
|
10
|
-
defineProps<PartialSome<Props, keyof typeof ControllerLayoutEmpty.$propsDefault>>(),
|
|
11
|
-
ControllerLayoutEmpty.$propsDefault,
|
|
12
|
-
);
|
|
9
|
+
const props = withDefaults(defineProps<Props>(), ControllerLayoutEmpty.$propsDefault);
|
|
13
10
|
const emit = defineEmits<Emits>();
|
|
14
11
|
useController(props, emit, ControllerLayoutEmpty, RenderLayoutEmpty);
|
|
15
12
|
</script>
|