@ningboyz/vue 1.0.45 → 1.0.46

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": "@ningboyz/vue",
3
- "version": "1.0.45",
3
+ "version": "1.0.46",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "description": "宁波甬政vue-ui库",
package/types/all.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import { type App } from "vue";
2
2
  import YzDesginer from "./components/stimulsoft/desginer/desginer";
3
3
  import YzMessage from "./components/message/message";
4
- import { YzLayout } from "./components/layout/layout";
4
+ import YzLayout from "./components/layout/layout";
5
5
  interface AllComponents {
6
6
  YzDesginer: typeof YzDesginer;
7
7
  YzMessage: typeof YzMessage;
@@ -1,6 +1,7 @@
1
1
  import { TWldy } from "@ningboyz/types";
2
2
  import { YzComponent } from "../../core/core";
3
3
  import { VxeLayoutAsideProps } from "vxe-pc-ui";
4
+ import { VNode } from "vue";
4
5
 
5
6
  export declare const YzLayout: YzComponent<YzLayoutProps, {}, YzLayoutSlots, YzLayoutEmits, YzLayoutInstance>;
6
7
 
@@ -11,9 +12,9 @@ export type YzLayoutProps = {
11
12
  export type YzLayoutEmits = {};
12
13
 
13
14
  export type YzLayoutSlots = {
14
- header?: () => void;
15
- aside?: () => void;
16
- body?: () => void;
15
+ header?: () => VNode | string;
16
+ aside?: () => VNode | string;
17
+ body?: () => VNode | string;
17
18
  };
18
19
 
19
20
  export type YzLayoutInstance = {};