@vunk/form 2.10.1 → 2.10.4

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.
Files changed (205) hide show
  1. package/components/api-tables-select/index.cjs +37 -36
  2. package/components/api-tables-select/index.d.ts +4 -0
  3. package/components/api-tables-select/index.mjs +37 -36
  4. package/components/api-tables-select/src/ctx.d.ts +374 -0
  5. package/components/api-tables-select/src/index.vue.d.ts +1335 -0
  6. package/components/api-tables-select/src/types.d.ts +19 -0
  7. package/components/button/index.d.ts +4 -0
  8. package/components/button/src/ctx.d.ts +190 -0
  9. package/components/button/src/index.vue.d.ts +822 -0
  10. package/components/button/src/types.d.ts +13 -0
  11. package/components/card-input-collection/index.cjs +67 -70
  12. package/components/card-input-collection/index.d.ts +4 -0
  13. package/components/card-input-collection/index.mjs +68 -71
  14. package/components/card-input-collection/src/ctx.d.ts +119 -0
  15. package/components/card-input-collection/src/index.vue.d.ts +1043 -0
  16. package/components/card-input-collection/src/types.d.ts +10 -0
  17. package/components/cascader/index.d.ts +6 -0
  18. package/components/cascader/src/ctx.d.ts +297 -0
  19. package/components/cascader/src/index.vue.d.ts +650 -0
  20. package/components/cascader/src/types.d.ts +19 -0
  21. package/components/cascader/src/use.d.ts +5 -0
  22. package/components/checkbox/index.cjs +2 -3
  23. package/components/checkbox/index.d.ts +5 -0
  24. package/components/checkbox/index.mjs +2 -3
  25. package/components/checkbox/src/ctx.d.ts +151 -0
  26. package/components/checkbox/src/index.vue.d.ts +1362 -0
  27. package/components/checkbox/src/types.d.ts +8 -0
  28. package/components/color-picker/index.d.ts +4 -0
  29. package/components/color-picker/src/ctx.d.ts +153 -0
  30. package/components/color-picker/src/index.vue.d.ts +341 -0
  31. package/components/color-picker/src/types.d.ts +7 -0
  32. package/components/date-picker/index.d.ts +5 -0
  33. package/components/date-picker/src/ctx.d.ts +325 -0
  34. package/components/date-picker/src/index.vue.d.ts +1422 -0
  35. package/components/date-picker/src/types.d.ts +20 -0
  36. package/components/date-picker-range/index.d.ts +4 -0
  37. package/components/date-picker-range/src/ctx.d.ts +328 -0
  38. package/components/date-picker-range/src/index.vue.d.ts +717 -0
  39. package/components/date-picker-range/src/types.d.ts +12 -0
  40. package/components/download-plus/index.cjs +4 -4
  41. package/components/download-plus/index.d.ts +4 -0
  42. package/components/download-plus/index.mjs +4 -4
  43. package/components/download-plus/src/api.d.ts +13 -0
  44. package/components/download-plus/src/const.d.ts +9 -0
  45. package/components/download-plus/src/ctx.d.ts +129 -0
  46. package/components/download-plus/src/index.vue.d.ts +1432 -0
  47. package/components/download-plus/src/types.d.ts +17 -0
  48. package/components/editable-text/index.cjs +9 -0
  49. package/components/editable-text/index.d.ts +4 -0
  50. package/components/editable-text/index.mjs +9 -0
  51. package/components/editable-text/src/ctx.d.ts +132 -0
  52. package/components/editable-text/src/index.vue.d.ts +3399 -0
  53. package/components/editable-text/src/types.d.ts +1 -0
  54. package/components/esri-input-geojson/index.d.ts +6 -0
  55. package/components/esri-input-geojson/src/append.vue.d.ts +1179 -0
  56. package/components/esri-input-geojson/src/const.d.ts +12 -0
  57. package/components/esri-input-geojson/src/ctx.d.ts +340 -0
  58. package/components/esri-input-geojson/src/default-view.vue.d.ts +133 -0
  59. package/components/esri-input-geojson/src/index.vue.d.ts +1459 -0
  60. package/components/esri-input-geojson/src/types.d.ts +22 -0
  61. package/components/esri-input-geojson/src/viewer.vue.d.ts +427 -0
  62. package/components/fieldset/index.d.ts +4 -0
  63. package/components/fieldset/src/ctx.d.ts +12 -0
  64. package/components/fieldset/src/index.vue.d.ts +23 -0
  65. package/components/fieldset/src/types.d.ts +1 -0
  66. package/components/fieldset/src/use.d.ts +5 -0
  67. package/components/form/index.d.ts +5 -0
  68. package/components/form/src/ctx.d.ts +132 -0
  69. package/components/form/src/index.vue.d.ts +4007 -0
  70. package/components/form/src/types.d.ts +25 -0
  71. package/components/form/src/utils.d.ts +15 -0
  72. package/components/form-item/index.d.ts +5 -0
  73. package/components/form-item/src/ctx.d.ts +107 -0
  74. package/components/form-item/src/index.vue.d.ts +961 -0
  75. package/components/form-item/src/types.d.ts +9 -0
  76. package/components/form-item-renderer/index.d.ts +4 -0
  77. package/components/form-item-renderer/src/core.vue.d.ts +38 -0
  78. package/components/form-item-renderer/src/ctx.d.ts +16 -0
  79. package/components/form-item-renderer/src/index.vue.d.ts +93 -0
  80. package/components/form-item-renderer/src/types.d.ts +5 -0
  81. package/components/form-item-renderer/src/utils.d.ts +5 -0
  82. package/components/form-item-renderer-template/index.d.ts +4 -0
  83. package/components/form-item-renderer-template/src/ctx.d.ts +7 -0
  84. package/components/form-item-renderer-template/src/index.vue.d.ts +16 -0
  85. package/components/form-item-renderer-template/src/types.d.ts +55 -0
  86. package/components/information/index.d.ts +4 -0
  87. package/components/information/src/ctx.d.ts +13 -0
  88. package/components/information/src/index.vue.d.ts +23 -0
  89. package/components/information/src/types.d.ts +3 -0
  90. package/components/information-collection/index.d.ts +4 -0
  91. package/components/information-collection/src/ctx.d.ts +147 -0
  92. package/components/information-collection/src/index.vue.d.ts +302 -0
  93. package/components/information-collection/src/types.d.ts +6 -0
  94. package/components/information-tag/index.d.ts +4 -0
  95. package/components/information-tag/src/ctx.d.ts +64 -0
  96. package/components/information-tag/src/index.vue.d.ts +134 -0
  97. package/components/information-tag/src/types.d.ts +1 -0
  98. package/components/information-templates-default/index.d.ts +4 -0
  99. package/components/information-templates-default/src/ctx.d.ts +2 -0
  100. package/components/information-templates-default/src/index.vue.d.ts +2 -0
  101. package/components/information-templates-default/src/types.d.ts +1 -0
  102. package/components/input/index.d.ts +5 -0
  103. package/components/input/src/ctx.d.ts +269 -0
  104. package/components/input/src/index.vue.d.ts +1192 -0
  105. package/components/input/src/types.d.ts +13 -0
  106. package/components/input-collection/index.cjs +105 -74
  107. package/components/input-collection/index.d.ts +4 -0
  108. package/components/input-collection/index.mjs +107 -76
  109. package/components/input-collection/src/ctx.d.ts +137 -0
  110. package/components/input-collection/src/index.vue.d.ts +1141 -0
  111. package/components/input-collection/src/types.d.ts +29 -0
  112. package/components/input-link/index.d.ts +4 -0
  113. package/components/input-link/src/ctx.d.ts +273 -0
  114. package/components/input-link/src/index.vue.d.ts +577 -0
  115. package/components/input-link/src/types.d.ts +7 -0
  116. package/components/input-number/index.d.ts +4 -0
  117. package/components/input-number/src/ctx.d.ts +208 -0
  118. package/components/input-number/src/index.vue.d.ts +816 -0
  119. package/components/input-number/src/types.d.ts +12 -0
  120. package/components/input-tag/index.d.ts +5 -0
  121. package/components/input-tag/src/ctx.d.ts +239 -0
  122. package/components/input-tag/src/index.vue.d.ts +991 -0
  123. package/components/input-tag/src/types.d.ts +22 -0
  124. package/components/monaco-editor/index.d.ts +4 -0
  125. package/components/monaco-editor/src/ctx.d.ts +115 -0
  126. package/components/monaco-editor/src/index.vue.d.ts +303 -0
  127. package/components/monaco-editor/src/types.d.ts +7 -0
  128. package/components/radio/index.cjs +2 -3
  129. package/components/radio/index.d.ts +4 -0
  130. package/components/radio/index.mjs +2 -3
  131. package/components/radio/src/ctx.d.ts +162 -0
  132. package/components/radio/src/index.vue.d.ts +1311 -0
  133. package/components/radio/src/types.d.ts +8 -0
  134. package/components/renderer-data/index.d.ts +4 -0
  135. package/components/renderer-data/src/ctx.d.ts +12 -0
  136. package/components/renderer-data/src/index.vue.d.ts +20 -0
  137. package/components/renderer-data/src/types.d.ts +1 -0
  138. package/components/select/index.d.ts +5 -0
  139. package/components/select/src/ctx.d.ts +225 -0
  140. package/components/select/src/index.vue.d.ts +1043 -0
  141. package/components/select/src/types.d.ts +11 -0
  142. package/components/slider/index.d.ts +4 -0
  143. package/components/slider/src/ctx.d.ts +253 -0
  144. package/components/slider/src/index.vue.d.ts +588 -0
  145. package/components/slider/src/types.d.ts +7 -0
  146. package/components/switch/index.d.ts +4 -0
  147. package/components/switch/src/ctx.d.ts +208 -0
  148. package/components/switch/src/index.vue.d.ts +895 -0
  149. package/components/switch/src/types.d.ts +8 -0
  150. package/components/tables-select/index.d.ts +5 -0
  151. package/components/tables-select/src/ctx.d.ts +420 -0
  152. package/components/tables-select/src/index.vue.d.ts +5411 -0
  153. package/components/tables-select/src/types.d.ts +9 -0
  154. package/components/template-instances-provider/index.d.ts +3 -0
  155. package/components/template-instances-provider/src/index.vue.d.ts +6 -0
  156. package/components/templates-default/index.d.ts +4 -0
  157. package/components/templates-default/src/ctx.d.ts +19 -0
  158. package/components/templates-default/src/index.vue.d.ts +187 -0
  159. package/components/templates-default/src/types.d.ts +55 -0
  160. package/components/templates-element-plus/index.d.ts +4 -0
  161. package/components/templates-element-plus/src/ctx.d.ts +9 -0
  162. package/components/templates-element-plus/src/index.vue.d.ts +301 -0
  163. package/components/templates-element-plus/src/types.d.ts +13 -0
  164. package/components/templates-esri/index.d.ts +4 -0
  165. package/components/templates-esri/src/ctx.d.ts +11 -0
  166. package/components/templates-esri/src/index.vue.d.ts +43 -0
  167. package/components/templates-esri/src/types.d.ts +2 -0
  168. package/components/templates-layout/index.d.ts +4 -0
  169. package/components/templates-layout/src/ctx.d.ts +9 -0
  170. package/components/templates-layout/src/index.vue.d.ts +446 -0
  171. package/components/templates-layout/src/types.d.ts +32 -0
  172. package/components/templates-variant/index.d.ts +4 -0
  173. package/components/templates-variant/src/ctx.d.ts +11 -0
  174. package/components/templates-variant/src/index.vue.d.ts +43 -0
  175. package/components/templates-variant/src/types.d.ts +2 -0
  176. package/components/upload/index.cjs +2 -2
  177. package/components/upload/index.d.ts +5 -0
  178. package/components/upload/index.mjs +2 -2
  179. package/components/upload/src/ctx.d.ts +294 -0
  180. package/components/upload/src/file.vue.d.ts +492 -0
  181. package/components/upload/src/index.vue.d.ts +1935 -0
  182. package/components/upload/src/types.d.ts +13 -0
  183. package/components/upload-plus/index.cjs +79 -86
  184. package/components/upload-plus/index.d.ts +6 -0
  185. package/components/upload-plus/index.mjs +79 -86
  186. package/components/upload-plus/src/api.d.ts +38 -0
  187. package/components/upload-plus/src/const.d.ts +9 -0
  188. package/components/upload-plus/src/ctx.d.ts +148 -0
  189. package/components/upload-plus/src/index.vue.d.ts +1754 -0
  190. package/components/upload-plus/src/types.d.ts +32 -0
  191. package/components/van-cascader/index.d.ts +4 -0
  192. package/components/van-cascader/src/ctx.d.ts +284 -0
  193. package/components/van-cascader/src/index.vue.d.ts +2116 -0
  194. package/components/van-cascader/src/types.d.ts +1 -0
  195. package/components/var-datetime-picker/index.d.ts +4 -0
  196. package/components/var-datetime-picker/src/const.d.ts +10 -0
  197. package/components/var-datetime-picker/src/ctx.d.ts +112 -0
  198. package/components/var-datetime-picker/src/index.vue.d.ts +1482 -0
  199. package/components/var-datetime-picker/src/types.d.ts +22 -0
  200. package/components/vditor/index.d.ts +4 -0
  201. package/components/vditor/src/ctx.d.ts +122 -0
  202. package/components/vditor/src/index.vue.d.ts +418 -0
  203. package/components/vditor/src/types.d.ts +7 -0
  204. package/package.json +1 -1
  205. package/shared/element-plus/ctx.d.ts +111 -30
@@ -0,0 +1,22 @@
1
+ import { DatePickType } from 'element-plus';
2
+ import { VarDatePickerType } from './const';
3
+ import { VueComponentPropsType } from '@vunk/core';
4
+ import { BasicSource } from '@vunk/form';
5
+ import type CoreVue from './index.vue';
6
+ export interface VarDatePickerTypeMedia {
7
+ label: string;
8
+ value: VarDatePickerType;
9
+ format: string;
10
+ }
11
+ export interface ElDatePickerTypeMedia {
12
+ label: string;
13
+ value: DatePickType;
14
+ varDatePickerType: VarDatePickerType;
15
+ isRange?: boolean;
16
+ hasTime?: boolean;
17
+ }
18
+ export interface Source<P extends string = string> extends VueComponentPropsType<typeof CoreVue>, BasicSource {
19
+ prop?: P | P[];
20
+ templateType: 'VkfVarDatetimePicker';
21
+ }
22
+ export {};
@@ -0,0 +1,4 @@
1
+ import VkfVditor from './src/index.vue';
2
+ export * as __VkfVditor from './src/types';
3
+ export { VkfVditor, };
4
+ export default VkfVditor;
@@ -0,0 +1,122 @@
1
+ export declare const props: {
2
+ readonly: {
3
+ type: BooleanConstructor;
4
+ default: any;
5
+ };
6
+ modelValue: {
7
+ type: StringConstructor;
8
+ default: string;
9
+ };
10
+ defaultOptions: {
11
+ type: import("vue").PropType<IOptions>;
12
+ default: () => IOptions;
13
+ };
14
+ placeholder: {
15
+ type: StringConstructor;
16
+ default: string;
17
+ };
18
+ toolbar: {
19
+ type: import("vue").PropType<string[]>;
20
+ default: () => string[];
21
+ };
22
+ fullscreen: {
23
+ type: BooleanConstructor;
24
+ default: boolean;
25
+ };
26
+ required: {
27
+ readonly type: import("vue").PropType<boolean>;
28
+ readonly required: false;
29
+ readonly validator: ((val: unknown) => boolean) | undefined;
30
+ __epPropKey: true;
31
+ } & {
32
+ readonly default: undefined;
33
+ };
34
+ formItemSize: {
35
+ type: import("vue").PropType<"default" | "small" | "large">;
36
+ default: "default" | "small" | "large";
37
+ };
38
+ formItemSlots: {
39
+ type: import("vue").PropType<import("@vunk/form/components/form-item/src/types").FormItemSlots>;
40
+ default: any;
41
+ };
42
+ elRef: {
43
+ type: import("vue").PropType<any>;
44
+ required: boolean;
45
+ };
46
+ inline: {
47
+ type: BooleanConstructor;
48
+ default: boolean;
49
+ };
50
+ formItemTip: {
51
+ type: StringConstructor;
52
+ default: any;
53
+ };
54
+ formItemTipClass: any;
55
+ labelTip: {
56
+ type: StringConstructor;
57
+ default: any;
58
+ };
59
+ information: {
60
+ type: BooleanConstructor;
61
+ default: boolean;
62
+ };
63
+ label: StringConstructor;
64
+ labelWidth: {
65
+ readonly type: import("vue").PropType<string | number>;
66
+ readonly required: false;
67
+ readonly validator: ((val: unknown) => boolean) | undefined;
68
+ __epPropKey: true;
69
+ } & {
70
+ readonly default: "";
71
+ };
72
+ labelPosition: {
73
+ readonly type: import("vue").PropType<"" | "top" | "left" | "right">;
74
+ readonly required: false;
75
+ readonly validator: ((val: unknown) => boolean) | undefined;
76
+ __epPropKey: true;
77
+ } & {
78
+ readonly default: "";
79
+ };
80
+ prop: {
81
+ readonly type: import("vue").PropType<import("element-plus").FormItemProp>;
82
+ readonly required: false;
83
+ readonly validator: ((val: unknown) => boolean) | undefined;
84
+ __epPropKey: true;
85
+ };
86
+ rules: {
87
+ readonly type: import("vue").PropType<unknown>;
88
+ readonly required: false;
89
+ readonly validator: ((val: unknown) => boolean) | undefined;
90
+ __epPropKey: true;
91
+ };
92
+ error: StringConstructor;
93
+ validateStatus: {
94
+ readonly type: import("vue").PropType<"" | "error" | "success" | "validating">;
95
+ readonly required: false;
96
+ readonly validator: ((val: unknown) => boolean) | undefined;
97
+ __epPropKey: true;
98
+ };
99
+ for: StringConstructor;
100
+ inlineMessage: {
101
+ readonly type: import("vue").PropType<string | boolean>;
102
+ readonly required: false;
103
+ readonly validator: ((val: unknown) => boolean) | undefined;
104
+ __epPropKey: true;
105
+ } & {
106
+ readonly default: "";
107
+ };
108
+ showMessage: {
109
+ readonly type: import("vue").PropType<boolean>;
110
+ readonly required: false;
111
+ readonly validator: ((val: unknown) => boolean) | undefined;
112
+ __epPropKey: true;
113
+ } & {
114
+ readonly default: true;
115
+ };
116
+ };
117
+ export declare const emits: {
118
+ load: (e: import("vditor").default) => import("vditor").default;
119
+ 'update:modelValue': (e: string) => string;
120
+ ctrlEnter: (e: string) => string;
121
+ 'update:fullscreen': (e: boolean) => boolean;
122
+ };
@@ -0,0 +1,418 @@
1
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
+ readonly: {
3
+ type: BooleanConstructor;
4
+ default: any;
5
+ };
6
+ modelValue: {
7
+ type: StringConstructor;
8
+ default: string;
9
+ };
10
+ defaultOptions: {
11
+ type: import("vue").PropType<IOptions>;
12
+ default: () => IOptions;
13
+ };
14
+ placeholder: {
15
+ type: StringConstructor;
16
+ default: string;
17
+ };
18
+ toolbar: {
19
+ type: import("vue").PropType<string[]>;
20
+ default: () => string[];
21
+ };
22
+ fullscreen: {
23
+ type: BooleanConstructor;
24
+ default: boolean;
25
+ };
26
+ required: {
27
+ readonly type: import("vue").PropType<boolean>;
28
+ readonly required: false;
29
+ readonly validator: ((val: unknown) => boolean) | undefined;
30
+ __epPropKey: true;
31
+ } & {
32
+ readonly default: undefined;
33
+ };
34
+ formItemSize: {
35
+ type: import("vue").PropType<"default" | "small" | "large">;
36
+ default: "default" | "small" | "large";
37
+ };
38
+ formItemSlots: {
39
+ type: import("vue").PropType<import("@vunk/form/components/form-item/src/types").FormItemSlots>;
40
+ default: any;
41
+ };
42
+ elRef: {
43
+ type: import("vue").PropType<any>;
44
+ required: boolean;
45
+ };
46
+ inline: {
47
+ type: BooleanConstructor;
48
+ default: boolean;
49
+ };
50
+ formItemTip: {
51
+ type: StringConstructor;
52
+ default: any;
53
+ };
54
+ formItemTipClass: any;
55
+ labelTip: {
56
+ type: StringConstructor;
57
+ default: any;
58
+ };
59
+ information: {
60
+ type: BooleanConstructor;
61
+ default: boolean;
62
+ };
63
+ label: StringConstructor;
64
+ labelWidth: {
65
+ readonly type: import("vue").PropType<string | number>;
66
+ readonly required: false;
67
+ readonly validator: ((val: unknown) => boolean) | undefined;
68
+ __epPropKey: true;
69
+ } & {
70
+ readonly default: "";
71
+ };
72
+ labelPosition: {
73
+ readonly type: import("vue").PropType<"" | "top" | "left" | "right">;
74
+ readonly required: false;
75
+ readonly validator: ((val: unknown) => boolean) | undefined;
76
+ __epPropKey: true;
77
+ } & {
78
+ readonly default: "";
79
+ };
80
+ prop: {
81
+ readonly type: import("vue").PropType<import("element-plus").FormItemProp>;
82
+ readonly required: false;
83
+ readonly validator: ((val: unknown) => boolean) | undefined;
84
+ __epPropKey: true;
85
+ };
86
+ rules: {
87
+ readonly type: import("vue").PropType<unknown>;
88
+ readonly required: false;
89
+ readonly validator: ((val: unknown) => boolean) | undefined;
90
+ __epPropKey: true;
91
+ };
92
+ error: StringConstructor;
93
+ validateStatus: {
94
+ readonly type: import("vue").PropType<"" | "error" | "success" | "validating">;
95
+ readonly required: false;
96
+ readonly validator: ((val: unknown) => boolean) | undefined;
97
+ __epPropKey: true;
98
+ };
99
+ for: StringConstructor;
100
+ inlineMessage: {
101
+ readonly type: import("vue").PropType<string | boolean>;
102
+ readonly required: false;
103
+ readonly validator: ((val: unknown) => boolean) | undefined;
104
+ __epPropKey: true;
105
+ } & {
106
+ readonly default: "";
107
+ };
108
+ showMessage: {
109
+ readonly type: import("vue").PropType<boolean>;
110
+ readonly required: false;
111
+ readonly validator: ((val: unknown) => boolean) | undefined;
112
+ __epPropKey: true;
113
+ } & {
114
+ readonly default: true;
115
+ };
116
+ }>, {
117
+ formItemBindProps: import("vue").ComputedRef<{}>;
118
+ coreProps: import("vue").ComputedRef<{}>;
119
+ coreEmits: {};
120
+ readonly: import("vue").ComputedRef<boolean>;
121
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
122
+ load: (e: import("vditor").default) => import("vditor").default;
123
+ 'update:modelValue': (e: string) => string;
124
+ ctrlEnter: (e: string) => string;
125
+ 'update:fullscreen': (e: boolean) => boolean;
126
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
127
+ readonly: {
128
+ type: BooleanConstructor;
129
+ default: any;
130
+ };
131
+ modelValue: {
132
+ type: StringConstructor;
133
+ default: string;
134
+ };
135
+ defaultOptions: {
136
+ type: import("vue").PropType<IOptions>;
137
+ default: () => IOptions;
138
+ };
139
+ placeholder: {
140
+ type: StringConstructor;
141
+ default: string;
142
+ };
143
+ toolbar: {
144
+ type: import("vue").PropType<string[]>;
145
+ default: () => string[];
146
+ };
147
+ fullscreen: {
148
+ type: BooleanConstructor;
149
+ default: boolean;
150
+ };
151
+ required: {
152
+ readonly type: import("vue").PropType<boolean>;
153
+ readonly required: false;
154
+ readonly validator: ((val: unknown) => boolean) | undefined;
155
+ __epPropKey: true;
156
+ } & {
157
+ readonly default: undefined;
158
+ };
159
+ formItemSize: {
160
+ type: import("vue").PropType<"default" | "small" | "large">;
161
+ default: "default" | "small" | "large";
162
+ };
163
+ formItemSlots: {
164
+ type: import("vue").PropType<import("@vunk/form/components/form-item/src/types").FormItemSlots>;
165
+ default: any;
166
+ };
167
+ elRef: {
168
+ type: import("vue").PropType<any>;
169
+ required: boolean;
170
+ };
171
+ inline: {
172
+ type: BooleanConstructor;
173
+ default: boolean;
174
+ };
175
+ formItemTip: {
176
+ type: StringConstructor;
177
+ default: any;
178
+ };
179
+ formItemTipClass: any;
180
+ labelTip: {
181
+ type: StringConstructor;
182
+ default: any;
183
+ };
184
+ information: {
185
+ type: BooleanConstructor;
186
+ default: boolean;
187
+ };
188
+ label: StringConstructor;
189
+ labelWidth: {
190
+ readonly type: import("vue").PropType<string | number>;
191
+ readonly required: false;
192
+ readonly validator: ((val: unknown) => boolean) | undefined;
193
+ __epPropKey: true;
194
+ } & {
195
+ readonly default: "";
196
+ };
197
+ labelPosition: {
198
+ readonly type: import("vue").PropType<"" | "top" | "left" | "right">;
199
+ readonly required: false;
200
+ readonly validator: ((val: unknown) => boolean) | undefined;
201
+ __epPropKey: true;
202
+ } & {
203
+ readonly default: "";
204
+ };
205
+ prop: {
206
+ readonly type: import("vue").PropType<import("element-plus").FormItemProp>;
207
+ readonly required: false;
208
+ readonly validator: ((val: unknown) => boolean) | undefined;
209
+ __epPropKey: true;
210
+ };
211
+ rules: {
212
+ readonly type: import("vue").PropType<unknown>;
213
+ readonly required: false;
214
+ readonly validator: ((val: unknown) => boolean) | undefined;
215
+ __epPropKey: true;
216
+ };
217
+ error: StringConstructor;
218
+ validateStatus: {
219
+ readonly type: import("vue").PropType<"" | "error" | "success" | "validating">;
220
+ readonly required: false;
221
+ readonly validator: ((val: unknown) => boolean) | undefined;
222
+ __epPropKey: true;
223
+ };
224
+ for: StringConstructor;
225
+ inlineMessage: {
226
+ readonly type: import("vue").PropType<string | boolean>;
227
+ readonly required: false;
228
+ readonly validator: ((val: unknown) => boolean) | undefined;
229
+ __epPropKey: true;
230
+ } & {
231
+ readonly default: "";
232
+ };
233
+ showMessage: {
234
+ readonly type: import("vue").PropType<boolean>;
235
+ readonly required: false;
236
+ readonly validator: ((val: unknown) => boolean) | undefined;
237
+ __epPropKey: true;
238
+ } & {
239
+ readonly default: true;
240
+ };
241
+ }>> & Readonly<{
242
+ onLoad?: (e: import("vditor").default) => any;
243
+ "onUpdate:modelValue"?: (e: string) => any;
244
+ onCtrlEnter?: (e: string) => any;
245
+ "onUpdate:fullscreen"?: (e: boolean) => any;
246
+ }>, {
247
+ required: boolean;
248
+ formItemSize: "default" | "small" | "large";
249
+ formItemSlots: import("@vunk/form/components/form-item/src/types").FormItemSlots;
250
+ inline: boolean;
251
+ readonly: boolean;
252
+ formItemTip: string;
253
+ formItemTipClass: any;
254
+ labelTip: string;
255
+ information: boolean;
256
+ labelWidth: string | number;
257
+ labelPosition: "" | "top" | "left" | "right";
258
+ inlineMessage: string | boolean;
259
+ showMessage: boolean;
260
+ modelValue: string;
261
+ placeholder: string;
262
+ defaultOptions: IOptions;
263
+ fullscreen: boolean;
264
+ toolbar: string[];
265
+ }, {}, {
266
+ VkfFormItem: {
267
+ new (...args: any[]): any;
268
+ __isFragment?: never;
269
+ __isTeleport?: never;
270
+ __isSuspense?: never;
271
+ } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<Record<string | symbol, any>>>, Record<string | symbol, any>, any, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
272
+ [x: string]: any;
273
+ [x: symbol]: any;
274
+ }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
275
+ install(app: import("vue").App): void;
276
+ };
277
+ VkVditor: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
278
+ modelValue: {
279
+ type: StringConstructor;
280
+ default: string;
281
+ };
282
+ defaultOptions: {
283
+ type: import("vue").PropType<IOptions>;
284
+ default: () => IOptions;
285
+ };
286
+ placeholder: {
287
+ type: StringConstructor;
288
+ default: string;
289
+ };
290
+ toolbar: {
291
+ type: import("vue").PropType<string[]>;
292
+ default: () => string[];
293
+ };
294
+ fullscreen: {
295
+ type: BooleanConstructor;
296
+ default: boolean;
297
+ };
298
+ }>, {
299
+ vditorNode: import("vue").Ref<HTMLDivElement, HTMLDivElement>;
300
+ isTextareaFocus: import("vue").Ref<boolean, boolean>;
301
+ ready: import("vue").Ref<boolean, boolean>;
302
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
303
+ load: (e: import("vditor").default) => import("vditor").default;
304
+ 'update:modelValue': (e: string) => string;
305
+ ctrlEnter: (e: string) => string;
306
+ 'update:fullscreen': (e: boolean) => boolean;
307
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
308
+ modelValue: {
309
+ type: StringConstructor;
310
+ default: string;
311
+ };
312
+ defaultOptions: {
313
+ type: import("vue").PropType<IOptions>;
314
+ default: () => IOptions;
315
+ };
316
+ placeholder: {
317
+ type: StringConstructor;
318
+ default: string;
319
+ };
320
+ toolbar: {
321
+ type: import("vue").PropType<string[]>;
322
+ default: () => string[];
323
+ };
324
+ fullscreen: {
325
+ type: BooleanConstructor;
326
+ default: boolean;
327
+ };
328
+ }>> & Readonly<{
329
+ onLoad?: ((e: import("vditor").default) => any) | undefined;
330
+ "onUpdate:modelValue"?: ((e: string) => any) | undefined;
331
+ "onUpdate:fullscreen"?: ((e: boolean) => any) | undefined;
332
+ onCtrlEnter?: ((e: string) => any) | undefined;
333
+ }>, {
334
+ modelValue: string;
335
+ placeholder: string;
336
+ defaultOptions: IOptions;
337
+ toolbar: string[];
338
+ fullscreen: boolean;
339
+ }, {}, {
340
+ HandleValue: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
341
+ modelValue: {
342
+ type: StringConstructor;
343
+ default: string;
344
+ };
345
+ }>, () => null, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
346
+ "update:modelValue": null;
347
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
348
+ modelValue: {
349
+ type: StringConstructor;
350
+ default: string;
351
+ };
352
+ }>> & Readonly<{
353
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
354
+ }>, {
355
+ modelValue: string;
356
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
357
+ HandleFullscreen: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
358
+ fullscreen: {
359
+ type: BooleanConstructor;
360
+ default: boolean;
361
+ };
362
+ }>, () => null, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
363
+ "update:fullscreen": null;
364
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
365
+ fullscreen: {
366
+ type: BooleanConstructor;
367
+ default: boolean;
368
+ };
369
+ }>> & Readonly<{
370
+ "onUpdate:fullscreen"?: ((...args: any[]) => any) | undefined;
371
+ }>, {
372
+ fullscreen: boolean;
373
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
374
+ VkAsyncTeleport: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
375
+ to: {
376
+ type: import("vue").PropType<string | import("vue").RendererElement>;
377
+ default: any;
378
+ };
379
+ sleep: {
380
+ type: NumberConstructor;
381
+ default: number;
382
+ };
383
+ await: {
384
+ type: PromiseConstructor;
385
+ default: any;
386
+ };
387
+ teleport: {
388
+ type: BooleanConstructor;
389
+ default: boolean;
390
+ };
391
+ }>, {
392
+ ready: import("vue").Ref<boolean, boolean>;
393
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
394
+ to: {
395
+ type: import("vue").PropType<string | import("vue").RendererElement>;
396
+ default: any;
397
+ };
398
+ sleep: {
399
+ type: NumberConstructor;
400
+ default: number;
401
+ };
402
+ await: {
403
+ type: PromiseConstructor;
404
+ default: any;
405
+ };
406
+ teleport: {
407
+ type: BooleanConstructor;
408
+ default: boolean;
409
+ };
410
+ }>> & Readonly<{}>, {
411
+ to: string | import("vue").RendererElement;
412
+ sleep: number;
413
+ await: Promise<unknown>;
414
+ teleport: boolean;
415
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
416
+ }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
417
+ }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
418
+ export default _default;
@@ -0,0 +1,7 @@
1
+ import { VueComponentPropsType } from '@vunk/shared';
2
+ import Core from './index.vue';
3
+ import { BasicSource } from '@vunk/form/shared';
4
+ export interface Source<P extends string = string> extends VueComponentPropsType<typeof Core>, BasicSource {
5
+ prop?: P | P[];
6
+ templateType: 'VkfVditor';
7
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vunk/form",
3
- "version": "2.10.1",
3
+ "version": "2.10.4",
4
4
  "description": "",
5
5
  "main": "index.esm.js",
6
6
  "scripts": {