@vunk/form 2.13.1 → 2.14.0

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 (209) hide show
  1. package/components/fieldset/index.cjs +6 -2
  2. package/components/fieldset/index.mjs +6 -2
  3. package/components/form-item/index.cjs +8 -7
  4. package/components/form-item/index.css +6 -0
  5. package/components/form-item/index.mjs +8 -7
  6. package/components/input-array/index.cjs +287 -0
  7. package/components/input-array/index.css +14 -0
  8. package/components/input-array/index.mjs +280 -0
  9. package/index.css +21 -0
  10. package/package.json +9 -1
  11. package/components/api-tables-select/index.d.ts +0 -4
  12. package/components/api-tables-select/src/ctx.d.ts +0 -374
  13. package/components/api-tables-select/src/index.vue.d.ts +0 -1335
  14. package/components/api-tables-select/src/types.d.ts +0 -19
  15. package/components/button/index.d.ts +0 -4
  16. package/components/button/src/ctx.d.ts +0 -185
  17. package/components/button/src/index.vue.d.ts +0 -813
  18. package/components/button/src/types.d.ts +0 -13
  19. package/components/card-input-collection/index.d.ts +0 -4
  20. package/components/card-input-collection/src/ctx.d.ts +0 -114
  21. package/components/card-input-collection/src/index.vue.d.ts +0 -1029
  22. package/components/card-input-collection/src/types.d.ts +0 -10
  23. package/components/cascader/index.d.ts +0 -6
  24. package/components/cascader/src/ctx.d.ts +0 -285
  25. package/components/cascader/src/index.vue.d.ts +0 -627
  26. package/components/cascader/src/types.d.ts +0 -19
  27. package/components/cascader/src/use.d.ts +0 -5
  28. package/components/checkbox/index.d.ts +0 -5
  29. package/components/checkbox/src/ctx.d.ts +0 -146
  30. package/components/checkbox/src/index.vue.d.ts +0 -1353
  31. package/components/checkbox/src/types.d.ts +0 -8
  32. package/components/color-picker/index.d.ts +0 -4
  33. package/components/color-picker/src/ctx.d.ts +0 -164
  34. package/components/color-picker/src/index.vue.d.ts +0 -366
  35. package/components/color-picker/src/types.d.ts +0 -7
  36. package/components/date-picker/index.d.ts +0 -5
  37. package/components/date-picker/src/ctx.d.ts +0 -321
  38. package/components/date-picker/src/index.vue.d.ts +0 -1423
  39. package/components/date-picker/src/types.d.ts +0 -20
  40. package/components/date-picker-range/index.d.ts +0 -4
  41. package/components/date-picker-range/src/ctx.d.ts +0 -329
  42. package/components/date-picker-range/src/index.vue.d.ts +0 -720
  43. package/components/date-picker-range/src/types.d.ts +0 -12
  44. package/components/dialog-input-collection/index.d.ts +0 -4
  45. package/components/dialog-input-collection/src/ctx.d.ts +0 -140
  46. package/components/dialog-input-collection/src/dialog-form.vue.d.ts +0 -1782
  47. package/components/dialog-input-collection/src/index.vue.d.ts +0 -3100
  48. package/components/dialog-input-collection/src/layout.vue.d.ts +0 -85
  49. package/components/dialog-input-collection/src/types.d.ts +0 -28
  50. package/components/download-plus/index.d.ts +0 -4
  51. package/components/download-plus/src/api.d.ts +0 -13
  52. package/components/download-plus/src/const.d.ts +0 -9
  53. package/components/download-plus/src/ctx.d.ts +0 -124
  54. package/components/download-plus/src/index.vue.d.ts +0 -1453
  55. package/components/download-plus/src/types.d.ts +0 -17
  56. package/components/editable-text/index.d.ts +0 -4
  57. package/components/editable-text/src/ctx.d.ts +0 -127
  58. package/components/editable-text/src/index.vue.d.ts +0 -3385
  59. package/components/editable-text/src/types.d.ts +0 -1
  60. package/components/esri-input-geojson/index.d.ts +0 -6
  61. package/components/esri-input-geojson/src/append.vue.d.ts +0 -1179
  62. package/components/esri-input-geojson/src/const.d.ts +0 -12
  63. package/components/esri-input-geojson/src/ctx.d.ts +0 -344
  64. package/components/esri-input-geojson/src/default-view.vue.d.ts +0 -133
  65. package/components/esri-input-geojson/src/index.vue.d.ts +0 -1471
  66. package/components/esri-input-geojson/src/types.d.ts +0 -22
  67. package/components/esri-input-geojson/src/viewer.vue.d.ts +0 -427
  68. package/components/fieldset/index.d.ts +0 -4
  69. package/components/fieldset/src/ctx.d.ts +0 -12
  70. package/components/fieldset/src/index.vue.d.ts +0 -23
  71. package/components/fieldset/src/types.d.ts +0 -1
  72. package/components/fieldset/src/use.d.ts +0 -5
  73. package/components/form/index.d.ts +0 -5
  74. package/components/form/src/ctx.d.ts +0 -139
  75. package/components/form/src/index.vue.d.ts +0 -1182
  76. package/components/form/src/types.d.ts +0 -25
  77. package/components/form/src/utils.d.ts +0 -15
  78. package/components/form-item/index.d.ts +0 -5
  79. package/components/form-item/src/core.vue.d.ts +0 -1847
  80. package/components/form-item/src/ctx.d.ts +0 -102
  81. package/components/form-item/src/index.vue.d.ts +0 -211
  82. package/components/form-item/src/types.d.ts +0 -10
  83. package/components/form-item-renderer/index.d.ts +0 -4
  84. package/components/form-item-renderer/src/core.vue.d.ts +0 -38
  85. package/components/form-item-renderer/src/ctx.d.ts +0 -16
  86. package/components/form-item-renderer/src/index.vue.d.ts +0 -93
  87. package/components/form-item-renderer/src/types.d.ts +0 -5
  88. package/components/form-item-renderer/src/utils.d.ts +0 -5
  89. package/components/form-item-renderer-template/index.d.ts +0 -4
  90. package/components/form-item-renderer-template/src/ctx.d.ts +0 -7
  91. package/components/form-item-renderer-template/src/index.vue.d.ts +0 -16
  92. package/components/form-item-renderer-template/src/types.d.ts +0 -55
  93. package/components/forms-provider/index.d.ts +0 -6
  94. package/components/forms-provider/src/core.d.ts +0 -6
  95. package/components/forms-provider/src/index.vue.d.ts +0 -2
  96. package/components/forms-provider/src/segment.vue.d.ts +0 -9
  97. package/components/forms-provider/src/types.d.ts +0 -10
  98. package/components/forms-provider/src/view.vue.d.ts +0 -7
  99. package/components/information/index.d.ts +0 -4
  100. package/components/information/src/ctx.d.ts +0 -13
  101. package/components/information/src/index.vue.d.ts +0 -23
  102. package/components/information/src/types.d.ts +0 -3
  103. package/components/information-collection/index.d.ts +0 -4
  104. package/components/information-collection/src/ctx.d.ts +0 -142
  105. package/components/information-collection/src/index.vue.d.ts +0 -293
  106. package/components/information-collection/src/types.d.ts +0 -6
  107. package/components/information-renderer/index.d.ts +0 -73
  108. package/components/information-tag/index.d.ts +0 -4
  109. package/components/information-tag/src/ctx.d.ts +0 -64
  110. package/components/information-tag/src/index.vue.d.ts +0 -134
  111. package/components/information-tag/src/types.d.ts +0 -1
  112. package/components/information-templates-default/index.d.ts +0 -4
  113. package/components/information-templates-default/src/ctx.d.ts +0 -2
  114. package/components/information-templates-default/src/index.vue.d.ts +0 -2
  115. package/components/information-templates-default/src/types.d.ts +0 -1
  116. package/components/input/index.d.ts +0 -5
  117. package/components/input/src/ctx.d.ts +0 -273
  118. package/components/input/src/index.vue.d.ts +0 -1234
  119. package/components/input/src/types.d.ts +0 -13
  120. package/components/input-collection/index.d.ts +0 -4
  121. package/components/input-collection/src/ctx.d.ts +0 -132
  122. package/components/input-collection/src/index.vue.d.ts +0 -1127
  123. package/components/input-collection/src/types.d.ts +0 -29
  124. package/components/input-link/index.d.ts +0 -4
  125. package/components/input-link/src/ctx.d.ts +0 -277
  126. package/components/input-link/src/index.vue.d.ts +0 -587
  127. package/components/input-link/src/types.d.ts +0 -7
  128. package/components/input-number/index.d.ts +0 -4
  129. package/components/input-number/src/ctx.d.ts +0 -211
  130. package/components/input-number/src/index.vue.d.ts +0 -852
  131. package/components/input-number/src/types.d.ts +0 -12
  132. package/components/input-tag/index.d.ts +0 -5
  133. package/components/input-tag/src/ctx.d.ts +0 -227
  134. package/components/input-tag/src/index.vue.d.ts +0 -947
  135. package/components/input-tag/src/types.d.ts +0 -22
  136. package/components/monaco-editor/index.d.ts +0 -4
  137. package/components/monaco-editor/src/ctx.d.ts +0 -110
  138. package/components/monaco-editor/src/index.vue.d.ts +0 -294
  139. package/components/monaco-editor/src/types.d.ts +0 -7
  140. package/components/radio/index.d.ts +0 -4
  141. package/components/radio/src/ctx.d.ts +0 -157
  142. package/components/radio/src/index.vue.d.ts +0 -1302
  143. package/components/radio/src/types.d.ts +0 -8
  144. package/components/renderer-data/index.d.ts +0 -4
  145. package/components/renderer-data/src/ctx.d.ts +0 -12
  146. package/components/renderer-data/src/index.vue.d.ts +0 -20
  147. package/components/renderer-data/src/types.d.ts +0 -1
  148. package/components/select/index.d.ts +0 -5
  149. package/components/select/src/ctx.d.ts +0 -220
  150. package/components/select/src/index.vue.d.ts +0 -1034
  151. package/components/select/src/types.d.ts +0 -11
  152. package/components/slider/index.d.ts +0 -4
  153. package/components/slider/src/ctx.d.ts +0 -248
  154. package/components/slider/src/index.vue.d.ts +0 -579
  155. package/components/slider/src/types.d.ts +0 -7
  156. package/components/switch/index.d.ts +0 -4
  157. package/components/switch/src/ctx.d.ts +0 -203
  158. package/components/switch/src/index.vue.d.ts +0 -886
  159. package/components/switch/src/types.d.ts +0 -8
  160. package/components/tables-select/index.d.ts +0 -5
  161. package/components/tables-select/src/ctx.d.ts +0 -420
  162. package/components/tables-select/src/index.vue.d.ts +0 -5411
  163. package/components/tables-select/src/types.d.ts +0 -9
  164. package/components/template-instances-provider/index.d.ts +0 -3
  165. package/components/template-instances-provider/src/index.vue.d.ts +0 -6
  166. package/components/templates-default/index.d.ts +0 -4
  167. package/components/templates-default/src/ctx.d.ts +0 -19
  168. package/components/templates-default/src/index.vue.d.ts +0 -187
  169. package/components/templates-default/src/types.d.ts +0 -55
  170. package/components/templates-element-plus/index.d.ts +0 -4
  171. package/components/templates-element-plus/src/ctx.d.ts +0 -9
  172. package/components/templates-element-plus/src/index.vue.d.ts +0 -301
  173. package/components/templates-element-plus/src/types.d.ts +0 -13
  174. package/components/templates-esri/index.d.ts +0 -4
  175. package/components/templates-esri/src/ctx.d.ts +0 -11
  176. package/components/templates-esri/src/index.vue.d.ts +0 -43
  177. package/components/templates-esri/src/types.d.ts +0 -2
  178. package/components/templates-layout/index.d.ts +0 -4
  179. package/components/templates-layout/src/ctx.d.ts +0 -9
  180. package/components/templates-layout/src/index.vue.d.ts +0 -446
  181. package/components/templates-layout/src/types.d.ts +0 -32
  182. package/components/templates-variant/index.d.ts +0 -4
  183. package/components/templates-variant/src/ctx.d.ts +0 -11
  184. package/components/templates-variant/src/index.vue.d.ts +0 -43
  185. package/components/templates-variant/src/types.d.ts +0 -2
  186. package/components/upload/index.d.ts +0 -5
  187. package/components/upload/src/ctx.d.ts +0 -289
  188. package/components/upload/src/file.vue.d.ts +0 -492
  189. package/components/upload/src/index.vue.d.ts +0 -1926
  190. package/components/upload/src/types.d.ts +0 -13
  191. package/components/upload-plus/index.d.ts +0 -6
  192. package/components/upload-plus/src/api.d.ts +0 -38
  193. package/components/upload-plus/src/const.d.ts +0 -9
  194. package/components/upload-plus/src/ctx.d.ts +0 -143
  195. package/components/upload-plus/src/index.vue.d.ts +0 -1770
  196. package/components/upload-plus/src/types.d.ts +0 -32
  197. package/components/van-cascader/index.d.ts +0 -4
  198. package/components/van-cascader/src/ctx.d.ts +0 -272
  199. package/components/van-cascader/src/index.vue.d.ts +0 -2093
  200. package/components/van-cascader/src/types.d.ts +0 -1
  201. package/components/var-datetime-picker/index.d.ts +0 -4
  202. package/components/var-datetime-picker/src/const.d.ts +0 -10
  203. package/components/var-datetime-picker/src/ctx.d.ts +0 -107
  204. package/components/var-datetime-picker/src/index.vue.d.ts +0 -1485
  205. package/components/var-datetime-picker/src/types.d.ts +0 -22
  206. package/components/vditor/index.d.ts +0 -4
  207. package/components/vditor/src/ctx.d.ts +0 -117
  208. package/components/vditor/src/index.vue.d.ts +0 -409
  209. 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,117 +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
- 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
- };
@@ -1,409 +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
- 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;
@@ -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
- }