@zyui/components 0.0.58 → 0.0.59

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.
@@ -3,7 +3,9 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
3
3
  type: BooleanConstructor;
4
4
  default: boolean;
5
5
  };
6
- }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
6
+ }>, {
7
+ renderHtml: () => void;
8
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
7
9
  hasContextMenu: {
8
10
  type: BooleanConstructor;
9
11
  default: boolean;
@@ -3,7 +3,28 @@ declare function __VLS_template(): {
3
3
  node: import('./type').WrappedNode;
4
4
  }): any;
5
5
  };
6
- declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
6
+ declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
7
+ pagesize: {
8
+ type: StringConstructor;
9
+ default: string;
10
+ };
11
+ renderType: {
12
+ type: StringConstructor;
13
+ default: string;
14
+ };
15
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
16
+ pagesize: {
17
+ type: StringConstructor;
18
+ default: string;
19
+ };
20
+ renderType: {
21
+ type: StringConstructor;
22
+ default: string;
23
+ };
24
+ }>> & Readonly<{}>, {
25
+ renderType: string;
26
+ pagesize: string;
27
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
7
28
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
8
29
  export default _default;
9
30
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -43,9 +43,9 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
43
43
  };
44
44
  }>> & Readonly<{}>, {
45
45
  modelValue: string;
46
+ renderType: RenderType;
46
47
  editorId: string;
47
48
  inputTypes: unknown[];
48
- renderType: RenderType;
49
49
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
50
50
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
51
51
  export default _default;
@@ -18,6 +18,10 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
18
18
  type: StringConstructor;
19
19
  default: string;
20
20
  };
21
+ htmlRenderRef: {
22
+ type: any;
23
+ default: () => void;
24
+ };
21
25
  }>, {
22
26
  setSelectedNodes: (values: any) => void;
23
27
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
@@ -40,6 +44,10 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
40
44
  type: StringConstructor;
41
45
  default: string;
42
46
  };
47
+ htmlRenderRef: {
48
+ type: any;
49
+ default: () => void;
50
+ };
43
51
  }>> & Readonly<{
44
52
  onOnSelectedNodes?: ((...args: any[]) => any) | undefined;
45
53
  "onUpdate:selectedNodes"?: ((...args: any[]) => any) | undefined;
@@ -47,6 +55,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
47
55
  nodes: unknown[];
48
56
  selectedNodes: unknown[];
49
57
  editorId: string;
58
+ htmlRenderRef: any;
50
59
  nodesGroups: unknown[];
51
60
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
52
61
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
@@ -6,6 +6,8 @@ export type NodesUIContext = {
6
6
  shadowHost?: Ref<HTMLElement | null>;
7
7
  /**富文本的dom */
8
8
  containerRef: Ref<HTMLElement | null>;
9
+ /**渲染组件ref */
10
+ htmlRenderRef: Ref<any>;
9
11
  /**选中的元素 */
10
12
  selectedNodes: Ref<NodeItem[]>;
11
13
  /**更新选中的元素 */
@@ -91,9 +91,9 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
91
91
  id: string;
92
92
  nodes: unknown[];
93
93
  formData: Record<string, any>;
94
+ renderType: RenderType;
94
95
  inputTypes: unknown[];
95
96
  nodesGroups: unknown[];
96
- renderType: RenderType;
97
97
  pagesize: string;
98
98
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
99
99
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
@@ -3,7 +3,9 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
3
3
  type: BooleanConstructor;
4
4
  default: boolean;
5
5
  };
6
- }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
6
+ }>, {
7
+ renderHtml: () => void;
8
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
7
9
  hasContextMenu: {
8
10
  type: BooleanConstructor;
9
11
  default: boolean;
@@ -3,7 +3,28 @@ declare function __VLS_template(): {
3
3
  node: import('./type').WrappedNode;
4
4
  }): any;
5
5
  };
6
- declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
6
+ declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
7
+ pagesize: {
8
+ type: StringConstructor;
9
+ default: string;
10
+ };
11
+ renderType: {
12
+ type: StringConstructor;
13
+ default: string;
14
+ };
15
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
16
+ pagesize: {
17
+ type: StringConstructor;
18
+ default: string;
19
+ };
20
+ renderType: {
21
+ type: StringConstructor;
22
+ default: string;
23
+ };
24
+ }>> & Readonly<{}>, {
25
+ renderType: string;
26
+ pagesize: string;
27
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
7
28
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
8
29
  export default _default;
9
30
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -43,9 +43,9 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
43
43
  };
44
44
  }>> & Readonly<{}>, {
45
45
  modelValue: string;
46
+ renderType: RenderType;
46
47
  editorId: string;
47
48
  inputTypes: unknown[];
48
- renderType: RenderType;
49
49
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
50
50
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
51
51
  export default _default;
@@ -18,6 +18,10 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
18
18
  type: StringConstructor;
19
19
  default: string;
20
20
  };
21
+ htmlRenderRef: {
22
+ type: any;
23
+ default: () => void;
24
+ };
21
25
  }>, {
22
26
  setSelectedNodes: (values: any) => void;
23
27
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
@@ -40,6 +44,10 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
40
44
  type: StringConstructor;
41
45
  default: string;
42
46
  };
47
+ htmlRenderRef: {
48
+ type: any;
49
+ default: () => void;
50
+ };
43
51
  }>> & Readonly<{
44
52
  onOnSelectedNodes?: ((...args: any[]) => any) | undefined;
45
53
  "onUpdate:selectedNodes"?: ((...args: any[]) => any) | undefined;
@@ -47,6 +55,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
47
55
  nodes: unknown[];
48
56
  selectedNodes: unknown[];
49
57
  editorId: string;
58
+ htmlRenderRef: any;
50
59
  nodesGroups: unknown[];
51
60
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
52
61
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
@@ -6,6 +6,8 @@ export type NodesUIContext = {
6
6
  shadowHost?: Ref<HTMLElement | null>;
7
7
  /**富文本的dom */
8
8
  containerRef: Ref<HTMLElement | null>;
9
+ /**渲染组件ref */
10
+ htmlRenderRef: Ref<any>;
9
11
  /**选中的元素 */
10
12
  selectedNodes: Ref<NodeItem[]>;
11
13
  /**更新选中的元素 */
@@ -91,9 +91,9 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
91
91
  id: string;
92
92
  nodes: unknown[];
93
93
  formData: Record<string, any>;
94
+ renderType: RenderType;
94
95
  inputTypes: unknown[];
95
96
  nodesGroups: unknown[];
96
- renderType: RenderType;
97
97
  pagesize: string;
98
98
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
99
99
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zyui/components",
3
- "version": "0.0.58",
3
+ "version": "0.0.59",
4
4
  "main": "./lib/index.js",
5
5
  "module": "./es/index.mjs",
6
6
  "types": "./es/index.d.ts",