@vunk/form 2.14.0 → 2.14.1

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