@vunk/form 2.16.4 → 2.16.6

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 (227) hide show
  1. package/components/select/index.cjs +14 -9
  2. package/components/select/index.mjs +8 -3
  3. package/package.json +1 -1
  4. package/shared/element-plus/ctx.d.ts +12 -11
  5. package/shared/element-plus/index.cjs +2 -132
  6. package/shared/element-plus/index.mjs +2 -130
  7. package/shared/element-plus/instances.d.ts +2 -99
  8. package/components/api-tables-select/index.d.ts +0 -4
  9. package/components/api-tables-select/src/ctx.d.ts +0 -375
  10. package/components/api-tables-select/src/index.vue.d.ts +0 -1340
  11. package/components/api-tables-select/src/types.d.ts +0 -19
  12. package/components/button/index.d.ts +0 -4
  13. package/components/button/src/ctx.d.ts +0 -193
  14. package/components/button/src/index.vue.d.ts +0 -851
  15. package/components/button/src/types.d.ts +0 -13
  16. package/components/card-input-collection/index.d.ts +0 -4
  17. package/components/card-input-collection/src/core.vue.d.ts +0 -1125
  18. package/components/card-input-collection/src/ctx.d.ts +0 -154
  19. package/components/card-input-collection/src/index.vue.d.ts +0 -287
  20. package/components/card-input-collection/src/types.d.ts +0 -17
  21. package/components/cascader/index.d.ts +0 -6
  22. package/components/cascader/src/ctx.d.ts +0 -343
  23. package/components/cascader/src/index.vue.d.ts +0 -775
  24. package/components/cascader/src/types.d.ts +0 -19
  25. package/components/cascader/src/use.d.ts +0 -5
  26. package/components/checkbox/index.d.ts +0 -5
  27. package/components/checkbox/src/ctx.d.ts +0 -146
  28. package/components/checkbox/src/index.vue.d.ts +0 -1353
  29. package/components/checkbox/src/types.d.ts +0 -8
  30. package/components/color-picker/index.d.ts +0 -4
  31. package/components/color-picker/src/ctx.d.ts +0 -179
  32. package/components/color-picker/src/index.vue.d.ts +0 -398
  33. package/components/color-picker/src/types.d.ts +0 -7
  34. package/components/date-picker/index.d.ts +0 -5
  35. package/components/date-picker/src/ctx.d.ts +0 -364
  36. package/components/date-picker/src/index.vue.d.ts +0 -1665
  37. package/components/date-picker/src/types.d.ts +0 -20
  38. package/components/date-picker-range/index.d.ts +0 -4
  39. package/components/date-picker-range/src/ctx.d.ts +0 -372
  40. package/components/date-picker-range/src/index.vue.d.ts +0 -808
  41. package/components/date-picker-range/src/types.d.ts +0 -12
  42. package/components/dialog/index.d.ts +0 -4
  43. package/components/dialog/src/ctx.d.ts +0 -174
  44. package/components/dialog/src/index.vue.d.ts +0 -1180
  45. package/components/dialog/src/types.d.ts +0 -1
  46. package/components/dialog-input-collection/index.d.ts +0 -4
  47. package/components/dialog-input-collection/src/ctx.d.ts +0 -141
  48. package/components/dialog-input-collection/src/dialog-form.vue.d.ts +0 -6430
  49. package/components/dialog-input-collection/src/index.vue.d.ts +0 -7773
  50. package/components/dialog-input-collection/src/layout.vue.d.ts +0 -85
  51. package/components/dialog-input-collection/src/types.d.ts +0 -28
  52. package/components/download-plus/index.d.ts +0 -4
  53. package/components/download-plus/src/api.d.ts +0 -13
  54. package/components/download-plus/src/const.d.ts +0 -9
  55. package/components/download-plus/src/ctx.d.ts +0 -125
  56. package/components/download-plus/src/index.vue.d.ts +0 -1495
  57. package/components/download-plus/src/types.d.ts +0 -17
  58. package/components/editable-text/index.d.ts +0 -4
  59. package/components/editable-text/src/ctx.d.ts +0 -128
  60. package/components/editable-text/src/index.vue.d.ts +0 -3389
  61. package/components/editable-text/src/types.d.ts +0 -1
  62. package/components/esri-input-geojson/index.d.ts +0 -6
  63. package/components/esri-input-geojson/src/append.vue.d.ts +0 -1200
  64. package/components/esri-input-geojson/src/const.d.ts +0 -12
  65. package/components/esri-input-geojson/src/ctx.d.ts +0 -351
  66. package/components/esri-input-geojson/src/default-view.vue.d.ts +0 -133
  67. package/components/esri-input-geojson/src/index.vue.d.ts +0 -1488
  68. package/components/esri-input-geojson/src/types.d.ts +0 -22
  69. package/components/esri-input-geojson/src/viewer.vue.d.ts +0 -427
  70. package/components/fieldset/index.d.ts +0 -4
  71. package/components/fieldset/src/ctx.d.ts +0 -16
  72. package/components/fieldset/src/index.vue.d.ts +0 -32
  73. package/components/fieldset/src/types.d.ts +0 -1
  74. package/components/fieldset/src/use.d.ts +0 -5
  75. package/components/form/index.d.ts +0 -5
  76. package/components/form/src/ctx.d.ts +0 -139
  77. package/components/form/src/index.vue.d.ts +0 -4027
  78. package/components/form/src/types.d.ts +0 -25
  79. package/components/form/src/utils.d.ts +0 -15
  80. package/components/form-item/index.d.ts +0 -5
  81. package/components/form-item/src/core.vue.d.ts +0 -1874
  82. package/components/form-item/src/ctx.d.ts +0 -103
  83. package/components/form-item/src/index.vue.d.ts +0 -214
  84. package/components/form-item/src/types.d.ts +0 -10
  85. package/components/form-item-renderer/index.d.ts +0 -4
  86. package/components/form-item-renderer/src/core.vue.d.ts +0 -38
  87. package/components/form-item-renderer/src/ctx.d.ts +0 -16
  88. package/components/form-item-renderer/src/index.vue.d.ts +0 -93
  89. package/components/form-item-renderer/src/types.d.ts +0 -5
  90. package/components/form-item-renderer/src/utils.d.ts +0 -5
  91. package/components/form-item-renderer-template/index.d.ts +0 -4
  92. package/components/form-item-renderer-template/src/ctx.d.ts +0 -7
  93. package/components/form-item-renderer-template/src/index.vue.d.ts +0 -16
  94. package/components/form-item-renderer-template/src/types.d.ts +0 -55
  95. package/components/forms-provider/index.d.ts +0 -6
  96. package/components/forms-provider/src/core.d.ts +0 -6
  97. package/components/forms-provider/src/index.vue.d.ts +0 -2
  98. package/components/forms-provider/src/segment.vue.d.ts +0 -9
  99. package/components/forms-provider/src/types.d.ts +0 -10
  100. package/components/forms-provider/src/view.vue.d.ts +0 -7
  101. package/components/information/index.d.ts +0 -4
  102. package/components/information/src/ctx.d.ts +0 -16
  103. package/components/information/src/index.vue.d.ts +0 -27
  104. package/components/information/src/types.d.ts +0 -3
  105. package/components/information-collection/index.d.ts +0 -4
  106. package/components/information-collection/src/ctx.d.ts +0 -143
  107. package/components/information-collection/src/index.vue.d.ts +0 -296
  108. package/components/information-collection/src/types.d.ts +0 -6
  109. package/components/information-renderer/index.d.ts +0 -73
  110. package/components/information-tag/index.d.ts +0 -4
  111. package/components/information-tag/src/ctx.d.ts +0 -64
  112. package/components/information-tag/src/index.vue.d.ts +0 -134
  113. package/components/information-tag/src/types.d.ts +0 -1
  114. package/components/information-templates-default/index.d.ts +0 -4
  115. package/components/information-templates-default/src/ctx.d.ts +0 -2
  116. package/components/information-templates-default/src/index.vue.d.ts +0 -2
  117. package/components/information-templates-default/src/types.d.ts +0 -1
  118. package/components/input/index.d.ts +0 -5
  119. package/components/input/src/ctx.d.ts +0 -280
  120. package/components/input/src/index.vue.d.ts +0 -1268
  121. package/components/input/src/types.d.ts +0 -13
  122. package/components/input-array/index.d.ts +0 -5
  123. package/components/input-array/src/ctx.d.ts +0 -136
  124. package/components/input-array/src/form-template.vue.d.ts +0 -901
  125. package/components/input-array/src/index.vue.d.ts +0 -889
  126. package/components/input-array/src/types.d.ts +0 -7
  127. package/components/input-collection/index.d.ts +0 -4
  128. package/components/input-collection/src/core.vue.d.ts +0 -1203
  129. package/components/input-collection/src/ctx.d.ts +0 -154
  130. package/components/input-collection/src/index.vue.d.ts +0 -296
  131. package/components/input-collection/src/types.d.ts +0 -29
  132. package/components/input-file/index.d.ts +0 -5
  133. package/components/input-file/src/ctx.d.ts +0 -46
  134. package/components/input-file/src/index.vue.d.ts +0 -112
  135. package/components/input-file/src/template.vue.d.ts +0 -125
  136. package/components/input-file/src/types.d.ts +0 -8
  137. package/components/input-link/index.d.ts +0 -4
  138. package/components/input-link/src/ctx.d.ts +0 -284
  139. package/components/input-link/src/index.vue.d.ts +0 -602
  140. package/components/input-link/src/types.d.ts +0 -7
  141. package/components/input-number/index.d.ts +0 -4
  142. package/components/input-number/src/ctx.d.ts +0 -221
  143. package/components/input-number/src/index.vue.d.ts +0 -910
  144. package/components/input-number/src/types.d.ts +0 -12
  145. package/components/input-tag/index.d.ts +0 -5
  146. package/components/input-tag/src/ctx.d.ts +0 -244
  147. package/components/input-tag/src/index.vue.d.ts +0 -1050
  148. package/components/input-tag/src/types.d.ts +0 -22
  149. package/components/monaco-editor/index.d.ts +0 -4
  150. package/components/monaco-editor/src/ctx.d.ts +0 -111
  151. package/components/monaco-editor/src/index.vue.d.ts +0 -297
  152. package/components/monaco-editor/src/types.d.ts +0 -7
  153. package/components/radio/index.d.ts +0 -4
  154. package/components/radio/src/ctx.d.ts +0 -165
  155. package/components/radio/src/index.vue.d.ts +0 -1488
  156. package/components/radio/src/option.vue.d.ts +0 -901
  157. package/components/radio/src/types.d.ts +0 -8
  158. package/components/radio/src/wraper.vue.d.ts +0 -337
  159. package/components/renderer-data/index.d.ts +0 -4
  160. package/components/renderer-data/src/ctx.d.ts +0 -12
  161. package/components/renderer-data/src/index.vue.d.ts +0 -20
  162. package/components/renderer-data/src/types.d.ts +0 -1
  163. package/components/select/index.d.ts +0 -5
  164. package/components/select/src/core.vue.d.ts +0 -1070
  165. package/components/select/src/ctx.d.ts +0 -238
  166. package/components/select/src/index.vue.d.ts +0 -639
  167. package/components/select/src/options.vue.d.ts +0 -24
  168. package/components/select/src/types.d.ts +0 -13
  169. package/components/slider/index.d.ts +0 -4
  170. package/components/slider/src/ctx.d.ts +0 -248
  171. package/components/slider/src/index.vue.d.ts +0 -579
  172. package/components/slider/src/types.d.ts +0 -7
  173. package/components/switch/index.d.ts +0 -4
  174. package/components/switch/src/ctx.d.ts +0 -201
  175. package/components/switch/src/index.vue.d.ts +0 -882
  176. package/components/switch/src/types.d.ts +0 -7
  177. package/components/tables-select/index.d.ts +0 -5
  178. package/components/tables-select/src/ctx.d.ts +0 -421
  179. package/components/tables-select/src/index.vue.d.ts +0 -5510
  180. package/components/tables-select/src/types.d.ts +0 -9
  181. package/components/template-instances-provider/index.d.ts +0 -3
  182. package/components/template-instances-provider/src/index.vue.d.ts +0 -6
  183. package/components/templates-default/index.d.ts +0 -4
  184. package/components/templates-default/src/ctx.d.ts +0 -19
  185. package/components/templates-default/src/index.vue.d.ts +0 -187
  186. package/components/templates-default/src/types.d.ts +0 -55
  187. package/components/templates-element-plus/index.d.ts +0 -4
  188. package/components/templates-element-plus/src/ctx.d.ts +0 -9
  189. package/components/templates-element-plus/src/index.vue.d.ts +0 -301
  190. package/components/templates-element-plus/src/types.d.ts +0 -13
  191. package/components/templates-esri/index.d.ts +0 -4
  192. package/components/templates-esri/src/ctx.d.ts +0 -11
  193. package/components/templates-esri/src/index.vue.d.ts +0 -43
  194. package/components/templates-esri/src/types.d.ts +0 -2
  195. package/components/templates-layout/index.d.ts +0 -4
  196. package/components/templates-layout/src/ctx.d.ts +0 -9
  197. package/components/templates-layout/src/index.vue.d.ts +0 -446
  198. package/components/templates-layout/src/types.d.ts +0 -32
  199. package/components/templates-variant/index.d.ts +0 -4
  200. package/components/templates-variant/src/ctx.d.ts +0 -11
  201. package/components/templates-variant/src/index.vue.d.ts +0 -43
  202. package/components/templates-variant/src/types.d.ts +0 -2
  203. package/components/upload/index.d.ts +0 -5
  204. package/components/upload/src/ctx.d.ts +0 -291
  205. package/components/upload/src/file.vue.d.ts +0 -913
  206. package/components/upload/src/index.vue.d.ts +0 -2347
  207. package/components/upload/src/types.d.ts +0 -13
  208. package/components/upload/src/wraper.vue.d.ts +0 -590
  209. package/components/upload-plus/index.d.ts +0 -6
  210. package/components/upload-plus/src/api.d.ts +0 -38
  211. package/components/upload-plus/src/const.d.ts +0 -9
  212. package/components/upload-plus/src/ctx.d.ts +0 -144
  213. package/components/upload-plus/src/index.vue.d.ts +0 -1813
  214. package/components/upload-plus/src/types.d.ts +0 -32
  215. package/components/van-cascader/index.d.ts +0 -4
  216. package/components/van-cascader/src/ctx.d.ts +0 -330
  217. package/components/van-cascader/src/index.vue.d.ts +0 -1241
  218. package/components/van-cascader/src/types.d.ts +0 -1
  219. package/components/var-datetime-picker/index.d.ts +0 -4
  220. package/components/var-datetime-picker/src/const.d.ts +0 -10
  221. package/components/var-datetime-picker/src/ctx.d.ts +0 -108
  222. package/components/var-datetime-picker/src/index.vue.d.ts +0 -1622
  223. package/components/var-datetime-picker/src/types.d.ts +0 -22
  224. package/components/vditor/index.d.ts +0 -4
  225. package/components/vditor/src/ctx.d.ts +0 -118
  226. package/components/vditor/src/index.vue.d.ts +0 -412
  227. package/components/vditor/src/types.d.ts +0 -7
@@ -1,22 +0,0 @@
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 {};
@@ -1,4 +0,0 @@
1
- import VkfVditor from './src/index.vue';
2
- export * as __VkfVditor from './src/types';
3
- export { VkfVditor, };
4
- export default VkfVditor;
@@ -1,118 +0,0 @@
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
- };
@@ -1,412 +0,0 @@
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;
@@ -1,7 +0,0 @@
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
- }