@vunk/form 2.16.6 → 2.16.8

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