@zyui/components 0.0.122 → 0.0.124

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.
@@ -12,7 +12,9 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
12
12
  type: StringConstructor;
13
13
  default: string;
14
14
  };
15
- }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
15
+ }>, {
16
+ initNodes: () => Promise<any[]>;
17
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
16
18
  pagesize: {
17
19
  type: StringConstructor;
18
20
  default: string;
@@ -5,4 +5,4 @@
5
5
  * 3. 设置默认节点都为text
6
6
  * @param value 富文本内容
7
7
  */
8
- export declare function useInitNode(): void;
8
+ export declare function useInitNode(): () => Promise<any[]>;
@@ -64,6 +64,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
64
64
  validate: () => any;
65
65
  };
66
66
  setSelectedNodes: (nodes: NodeItem[]) => void;
67
+ initNodes: () => any;
67
68
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
68
69
  "update:modelValue": (...args: any[]) => void;
69
70
  onSelectedNodes: (...args: any[]) => void;
@@ -12,7 +12,9 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
12
12
  type: StringConstructor;
13
13
  default: string;
14
14
  };
15
- }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
15
+ }>, {
16
+ initNodes: () => Promise<any[]>;
17
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
16
18
  pagesize: {
17
19
  type: StringConstructor;
18
20
  default: string;
@@ -5,4 +5,4 @@
5
5
  * 3. 设置默认节点都为text
6
6
  * @param value 富文本内容
7
7
  */
8
- export declare function useInitNode(): void;
8
+ export declare function useInitNode(): () => Promise<any[]>;
@@ -64,6 +64,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
64
64
  validate: () => any;
65
65
  };
66
66
  setSelectedNodes: (nodes: NodeItem[]) => void;
67
+ initNodes: () => any;
67
68
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
68
69
  "update:modelValue": (...args: any[]) => void;
69
70
  onSelectedNodes: (...args: any[]) => void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zyui/components",
3
- "version": "0.0.122",
3
+ "version": "0.0.124",
4
4
  "main": "./lib/index.js",
5
5
  "module": "./es/index.mjs",
6
6
  "types": "./es/index.d.ts",