@vunk/form 1.1.64 → 1.1.66

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 (282) hide show
  1. package/component.d.ts +1 -1
  2. package/components/button/index.css +1 -0
  3. package/components/button/index.d.ts +1 -1
  4. package/components/button/index.js +43 -57
  5. package/components/button/src/ctx.d.ts +13 -13
  6. package/components/button/src/ctx.js +1 -39
  7. package/components/button/src/index.css +1 -0
  8. package/components/button/src/index.vue.d.ts +37 -73
  9. package/components/button/src/types.d.ts +1 -1
  10. package/components/cascader/index.css +1 -0
  11. package/components/cascader/index.d.ts +1 -1
  12. package/components/cascader/index.js +34 -49
  13. package/components/cascader/src/ctx.d.ts +15 -15
  14. package/components/cascader/src/ctx.js +1 -38
  15. package/components/cascader/src/index.css +1 -0
  16. package/components/cascader/src/index.vue.d.ts +45 -70
  17. package/components/cascader/src/use.d.ts +1 -1
  18. package/components/cascader/src/use.js +1 -28
  19. package/components/checkbox/index.css +1 -0
  20. package/components/checkbox/index.d.ts +1 -1
  21. package/components/checkbox/index.js +48 -53
  22. package/components/checkbox/src/ctx.d.ts +14 -14
  23. package/components/checkbox/src/ctx.js +1 -46
  24. package/components/checkbox/src/index.css +1 -0
  25. package/components/checkbox/src/index.vue.d.ts +43 -63
  26. package/components/color-picker/index.css +1 -0
  27. package/components/color-picker/index.d.ts +1 -1
  28. package/components/color-picker/index.js +38 -42
  29. package/components/color-picker/src/ctx.d.ts +15 -13
  30. package/components/color-picker/src/ctx.js +1 -23
  31. package/components/color-picker/src/index.css +1 -0
  32. package/components/color-picker/src/index.vue.d.ts +36 -65
  33. package/components/date-picker/index.css +1 -0
  34. package/components/date-picker/index.d.ts +1 -1
  35. package/components/date-picker/index.js +42 -55
  36. package/components/date-picker/src/ctx.d.ts +41 -34
  37. package/components/date-picker/src/ctx.js +1 -31
  38. package/components/date-picker/src/index.css +1 -0
  39. package/components/date-picker/src/index.vue.d.ts +122 -133
  40. package/components/date-picker/src/types.d.ts +9 -9
  41. package/components/date-picker/src/types.js +1 -11
  42. package/components/esri-input-geojson/index.css +8 -6
  43. package/components/esri-input-geojson/index.d.ts +1 -1
  44. package/components/esri-input-geojson/index.js +417 -535
  45. package/components/esri-input-geojson/src/append.vue.d.ts +7 -7
  46. package/components/esri-input-geojson/src/const.d.ts +1 -1
  47. package/components/esri-input-geojson/src/const.js +1 -33
  48. package/components/esri-input-geojson/src/ctx.d.ts +44 -35
  49. package/components/esri-input-geojson/src/ctx.js +1 -128
  50. package/components/esri-input-geojson/src/default-view.vue.d.ts +9 -9
  51. package/components/esri-input-geojson/src/index.css +1 -0
  52. package/components/esri-input-geojson/src/index.vue.d.ts +142 -119
  53. package/components/esri-input-geojson/src/types.d.ts +1 -0
  54. package/components/esri-input-geojson/src/viewer.vue.d.ts +23 -22
  55. package/components/form/index.css +1 -0
  56. package/components/form/index.d.ts +1 -1
  57. package/components/form/index.js +57 -87
  58. package/components/form/src/ctx.d.ts +176 -204
  59. package/components/form/src/ctx.js +1 -61
  60. package/components/form/src/index.css +1 -0
  61. package/components/form/src/index.vue.d.ts +515 -601
  62. package/components/form/src/types.d.ts +3 -3
  63. package/components/form/src/utils.d.ts +1 -1
  64. package/components/form/src/utils.js +1 -55
  65. package/components/form-item/index.css +1 -0
  66. package/components/form-item/index.d.ts +1 -1
  67. package/components/form-item/index.js +22 -50
  68. package/components/form-item/src/ctx.d.ts +9 -9
  69. package/components/form-item/src/ctx.js +1 -53
  70. package/components/form-item/src/index.css +1 -0
  71. package/components/form-item/src/index.vue.d.ts +26 -26
  72. package/components/form-item/src/types.d.ts +1 -1
  73. package/components/form-item-renderer/index.css +1 -0
  74. package/components/form-item-renderer/index.d.ts +1 -1
  75. package/components/form-item-renderer/index.js +10 -18
  76. package/components/form-item-renderer/src/ctx.d.ts +3 -3
  77. package/components/form-item-renderer/src/ctx.js +1 -16
  78. package/components/form-item-renderer/src/index.css +1 -0
  79. package/components/form-item-renderer/src/index.vue.d.ts +9 -9
  80. package/components/form-item-renderer/src/symbols.js +1 -3
  81. package/components/form-item-renderer-template/index.css +1 -0
  82. package/components/form-item-renderer-template/index.d.ts +1 -1
  83. package/components/form-item-renderer-template/index.js +6 -13
  84. package/components/form-item-renderer-template/src/ctx.js +1 -9
  85. package/components/form-item-renderer-template/src/index.css +1 -0
  86. package/components/form-item-renderer-template/src/index.vue.d.ts +2 -2
  87. package/components/geoinput/index.css +1 -0
  88. package/components/geoinput/index.d.ts +1 -1
  89. package/components/geoinput/index.js +45 -43
  90. package/components/geoinput/src/ctx.d.ts +42 -28
  91. package/components/geoinput/src/ctx.js +1 -39
  92. package/components/geoinput/src/index.css +1 -0
  93. package/components/geoinput/src/index.vue.d.ts +111 -223
  94. package/components/geoinput/src/types.d.ts +3 -3
  95. package/components/geoinput-read/index.css +1 -0
  96. package/components/geoinput-read/index.d.ts +1 -1
  97. package/components/geoinput-read/index.js +120 -160
  98. package/components/geoinput-read/src/append.vue.d.ts +4 -4
  99. package/components/geoinput-read/src/core.vue.d.ts +130 -104
  100. package/components/geoinput-read/src/ctx.d.ts +42 -30
  101. package/components/geoinput-read/src/ctx.js +1 -66
  102. package/components/geoinput-read/src/index.css +1 -0
  103. package/components/geoinput-read/src/index.vue.d.ts +108 -151
  104. package/components/geoinput-read/src/types.d.ts +1 -1
  105. package/components/geoinput-update/index.css +9 -7
  106. package/components/geoinput-update/index.d.ts +1 -1
  107. package/components/geoinput-update/index.js +335 -366
  108. package/components/geoinput-update/src/append.vue.d.ts +5 -5
  109. package/components/geoinput-update/src/ctx.d.ts +38 -28
  110. package/components/geoinput-update/src/ctx.js +1 -85
  111. package/components/geoinput-update/src/index.css +1 -0
  112. package/components/geoinput-update/src/index.vue.d.ts +120 -98
  113. package/components/geoinput-update/src/types.d.ts +2 -2
  114. package/components/input/index.css +1 -0
  115. package/components/input/index.d.ts +1 -1
  116. package/components/input/index.js +43 -60
  117. package/components/input/src/ctx.d.ts +31 -25
  118. package/components/input/src/ctx.js +1 -46
  119. package/components/input/src/index.css +1 -0
  120. package/components/input/src/index.vue.d.ts +94 -110
  121. package/components/input/src/types.d.ts +2 -2
  122. package/components/input-link/index.css +1 -0
  123. package/components/input-link/index.d.ts +1 -1
  124. package/components/input-link/index.js +71 -92
  125. package/components/input-link/src/ctx.d.ts +26 -20
  126. package/components/input-link/src/ctx.js +1 -66
  127. package/components/input-link/src/index.css +1 -0
  128. package/components/input-link/src/index.vue.d.ts +72 -116
  129. package/components/input-number/index.css +1 -0
  130. package/components/input-number/index.d.ts +1 -1
  131. package/components/input-number/index.js +37 -45
  132. package/components/input-number/src/ctx.d.ts +15 -15
  133. package/components/input-number/src/ctx.js +1 -38
  134. package/components/input-number/src/index.css +1 -0
  135. package/components/input-number/src/index.vue.d.ts +42 -65
  136. package/components/input-number/src/types.d.ts +1 -1
  137. package/components/radio/index.css +1 -0
  138. package/components/radio/index.d.ts +1 -1
  139. package/components/radio/index.js +45 -50
  140. package/components/radio/src/ctx.d.ts +11 -11
  141. package/components/radio/src/ctx.js +1 -39
  142. package/components/radio/src/index.css +1 -0
  143. package/components/radio/src/index.vue.d.ts +41 -60
  144. package/components/radio/src/types.d.ts +1 -1
  145. package/components/select/index.css +1 -0
  146. package/components/select/index.d.ts +1 -1
  147. package/components/select/index.js +59 -64
  148. package/components/select/src/ctx.d.ts +39 -41
  149. package/components/select/src/ctx.js +1 -40
  150. package/components/select/src/index.css +1 -0
  151. package/components/select/src/index.vue.d.ts +130 -162
  152. package/components/select/src/types.d.ts +2 -2
  153. package/components/slider/index.css +1 -0
  154. package/components/slider/index.d.ts +1 -1
  155. package/components/slider/index.js +33 -50
  156. package/components/slider/src/ctx.d.ts +18 -18
  157. package/components/slider/src/ctx.js +1 -29
  158. package/components/slider/src/index.css +1 -0
  159. package/components/slider/src/index.vue.d.ts +62 -81
  160. package/components/switch/index.css +1 -0
  161. package/components/switch/index.d.ts +1 -1
  162. package/components/switch/index.js +33 -50
  163. package/components/switch/src/ctx.d.ts +22 -22
  164. package/components/switch/src/ctx.js +1 -31
  165. package/components/switch/src/index.css +1 -0
  166. package/components/switch/src/index.vue.d.ts +65 -83
  167. package/components/switch/src/types.d.ts +1 -1
  168. package/components/templates-default/index.css +1 -0
  169. package/components/templates-default/index.d.ts +1 -1
  170. package/components/templates-default/index.js +243 -172
  171. package/components/templates-default/src/ctx.d.ts +1 -1
  172. package/components/templates-default/src/ctx.js +1 -18
  173. package/components/templates-default/src/index.css +1 -0
  174. package/components/templates-default/src/index.vue.d.ts +9 -9
  175. package/components/templates-default/src/types.d.ts +16 -16
  176. package/components/templates-element-plus/index.css +1 -0
  177. package/components/templates-element-plus/index.d.ts +1 -1
  178. package/components/templates-element-plus/index.js +66 -36
  179. package/components/templates-element-plus/src/ctx.js +1 -9
  180. package/components/templates-element-plus/src/index.css +1 -0
  181. package/components/templates-element-plus/src/index.vue.d.ts +7 -7
  182. package/components/templates-element-plus/src/types.d.ts +1 -1
  183. package/components/templates-esri/index.css +1 -0
  184. package/components/templates-esri/index.d.ts +1 -1
  185. package/components/templates-esri/index.js +25 -24
  186. package/components/templates-esri/src/ctx.d.ts +1 -1
  187. package/components/templates-esri/src/ctx.js +1 -11
  188. package/components/templates-esri/src/index.css +1 -0
  189. package/components/templates-esri/src/index.vue.d.ts +6 -6
  190. package/components/templates-esri/src/types.d.ts +1 -1
  191. package/components/templates-layout/index.css +1 -0
  192. package/components/templates-layout/index.d.ts +1 -1
  193. package/components/templates-layout/index.js +96 -63
  194. package/components/templates-layout/src/ctx.js +1 -9
  195. package/components/templates-layout/src/index.css +1 -0
  196. package/components/templates-layout/src/index.vue.d.ts +7 -7
  197. package/components/templates-layout/src/types.d.ts +3 -3
  198. package/components/templates-mapbox/index.css +1 -0
  199. package/components/templates-mapbox/index.d.ts +1 -1
  200. package/components/templates-mapbox/index.js +25 -24
  201. package/components/templates-mapbox/src/ctx.d.ts +1 -1
  202. package/components/templates-mapbox/src/ctx.js +1 -11
  203. package/components/templates-mapbox/src/index.css +1 -0
  204. package/components/templates-mapbox/src/index.vue.d.ts +6 -6
  205. package/components/templates-mapbox/src/types.d.ts +1 -1
  206. package/components/upload/index.css +11 -9
  207. package/components/upload/index.d.ts +1 -1
  208. package/components/upload/index.js +264 -289
  209. package/components/upload/src/ctx.d.ts +21 -16
  210. package/components/upload/src/ctx.js +1 -45
  211. package/components/upload/src/file.vue.d.ts +19 -19
  212. package/components/upload/src/index.css +1 -0
  213. package/components/upload/src/index.vue.d.ts +54 -62
  214. package/components/upload-plus/index.css +1 -0
  215. package/components/upload-plus/index.d.ts +1 -1
  216. package/components/upload-plus/index.js +912 -9540
  217. package/components/upload-plus/src/api.d.ts +3 -3
  218. package/components/upload-plus/src/api.js +21 -18114
  219. package/components/upload-plus/src/const.js +1 -12
  220. package/components/upload-plus/src/ctx.d.ts +13 -13
  221. package/components/upload-plus/src/ctx.js +1 -58
  222. package/components/upload-plus/src/index.css +1 -0
  223. package/components/upload-plus/src/index.vue.d.ts +31 -48
  224. package/components/upload-plus/src/types.d.ts +1 -1
  225. package/components/van-cascader/index.css +1 -0
  226. package/components/van-cascader/index.d.ts +1 -1
  227. package/components/van-cascader/index.js +47 -55
  228. package/components/van-cascader/src/ctx.d.ts +13 -13
  229. package/components/van-cascader/src/ctx.js +1 -22
  230. package/components/van-cascader/src/index.css +1 -0
  231. package/components/van-cascader/src/index.vue.d.ts +40 -57
  232. package/components/var-datetime-picker/index.css +1 -0
  233. package/components/var-datetime-picker/index.d.ts +1 -1
  234. package/components/var-datetime-picker/index.js +137 -168
  235. package/components/var-datetime-picker/src/const.js +1 -91
  236. package/components/var-datetime-picker/src/ctx.d.ts +10 -10
  237. package/components/var-datetime-picker/src/ctx.js +1 -43
  238. package/components/var-datetime-picker/src/index.css +1 -0
  239. package/components/var-datetime-picker/src/index.vue.d.ts +26 -42
  240. package/components/var-datetime-picker/src/types.d.ts +1 -1
  241. package/components/vditor/index.css +1 -0
  242. package/components/vditor/index.d.ts +1 -1
  243. package/components/vditor/index.js +22 -17
  244. package/components/vditor/src/ctx.js +1 -15
  245. package/components/vditor/src/index.css +1 -0
  246. package/components/vditor/src/index.vue.d.ts +4 -3
  247. package/components/vditor/src/types.d.ts +1 -1
  248. package/composables/index.css +1 -0
  249. package/composables/index.js +1 -104
  250. package/composables/useForm.d.ts +2 -2
  251. package/composables/useSourceManager.d.ts +1 -1
  252. package/index.css +127 -20
  253. package/index.esm.js +1 -44
  254. package/package.json +1 -1
  255. package/shared/const/index.css +1 -0
  256. package/shared/const/index.d.ts +1 -1
  257. package/shared/const/index.js +1 -56
  258. package/shared/element-plus/ctx.d.ts +28 -26
  259. package/shared/element-plus/index.css +1 -0
  260. package/shared/element-plus/index.js +1 -220
  261. package/shared/element-plus/instances.d.ts +45 -38
  262. package/shared/form/index.css +1 -0
  263. package/shared/form/index.js +1 -30
  264. package/shared/helper/index.css +1 -0
  265. package/shared/helper/index.js +1 -9
  266. package/shared/index.css +1 -0
  267. package/shared/index.js +1 -56
  268. package/shared/infer-prop/index.css +1 -0
  269. package/shared/infer-prop/index.d.ts +1 -1
  270. package/shared/infer-prop/index.js +1 -34
  271. package/shared/progress-it/index.css +1 -0
  272. package/shared/progress-it/index.d.ts +4 -4
  273. package/shared/progress-it/index.js +1 -57
  274. package/shared/rules/index.css +1 -0
  275. package/shared/rules/index.js +1 -32
  276. package/shared/types/form/index.css +1 -0
  277. package/shared/types/index.css +1 -0
  278. package/shared/types/source/index.css +1 -0
  279. package/shared/types/source/index.d.ts +2 -2
  280. package/shared/types/source-manager/index.css +1 -0
  281. package/shared/upload/index.css +1 -0
  282. package/shared/upload/index.js +1 -767
@@ -6,7 +6,7 @@ export declare const props: {
6
6
  type: PropType<VueComponentPropsType<import("element-plus/es/utils").SFCWithInstall<import("vue").DefineComponent<{
7
7
  value: {
8
8
  required: true;
9
- type: (BooleanConstructor | ObjectConstructor | StringConstructor | NumberConstructor)[];
9
+ type: (BooleanConstructor | StringConstructor | NumberConstructor | ObjectConstructor)[];
10
10
  };
11
11
  label: (StringConstructor | NumberConstructor)[];
12
12
  created: BooleanConstructor;
@@ -14,15 +14,15 @@ export declare const props: {
14
14
  }, {
15
15
  ns: {
16
16
  namespace: import("vue").ComputedRef<string>;
17
- b: (blockSuffix?: string | undefined) => string;
18
- e: (element?: string | undefined) => string;
19
- m: (modifier?: string | undefined) => string;
20
- be: (blockSuffix?: string | undefined, element?: string | undefined) => string;
21
- em: (element?: string | undefined, modifier?: string | undefined) => string;
22
- bm: (blockSuffix?: string | undefined, modifier?: string | undefined) => string;
23
- bem: (blockSuffix?: string | undefined, element?: string | undefined, modifier?: string | undefined) => string;
17
+ b: (blockSuffix?: string) => string;
18
+ e: (element?: string) => string;
19
+ m: (modifier?: string) => string;
20
+ be: (blockSuffix?: string, element?: string) => string;
21
+ em: (element?: string, modifier?: string) => string;
22
+ bm: (blockSuffix?: string, modifier?: string) => string;
23
+ bem: (blockSuffix?: string, element?: string, modifier?: string) => string;
24
24
  is: {
25
- (name: string, state: boolean | undefined): string;
25
+ (name: string, state: boolean): string;
26
26
  (name: string): string;
27
27
  };
28
28
  cssVar: (object: Record<string, string>) => Record<string, string>;
@@ -30,15 +30,14 @@ export declare const props: {
30
30
  cssVarBlock: (object: Record<string, string>) => Record<string, string>;
31
31
  cssVarBlockName: (name: string) => string;
32
32
  };
33
- containerKls: import("vue").ComputedRef<(string | {
34
- selected: boolean;
35
- hover: boolean;
36
- })[]>;
33
+ id: import("vue").Ref<string>;
34
+ containerKls: import("vue").ComputedRef<string[]>;
37
35
  currentLabel: import("vue").ComputedRef<any>;
38
36
  itemSelected: import("vue").ComputedRef<boolean>;
39
37
  isDisabled: import("vue").ComputedRef<any>;
40
- select: import("element-plus").SelectContext | undefined;
38
+ select: import("element-plus").SelectContext;
41
39
  hoverItem: () => void;
40
+ updateOption: (query: string) => void;
42
41
  visible: import("vue").Ref<boolean>;
43
42
  hover: import("vue").Ref<boolean>;
44
43
  selectOptionClick: () => void;
@@ -46,13 +45,12 @@ export declare const props: {
46
45
  index: number;
47
46
  groupDisabled: boolean;
48
47
  visible: boolean;
49
- hitState: boolean;
50
48
  hover: boolean;
51
49
  };
52
50
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
53
51
  value: {
54
52
  required: true;
55
- type: (BooleanConstructor | ObjectConstructor | StringConstructor | NumberConstructor)[];
53
+ type: (BooleanConstructor | StringConstructor | NumberConstructor | ObjectConstructor)[];
56
54
  };
57
55
  label: (StringConstructor | NumberConstructor)[];
58
56
  created: BooleanConstructor;
@@ -60,23 +58,23 @@ export declare const props: {
60
58
  }>>, {
61
59
  disabled: boolean;
62
60
  created: boolean;
63
- }>>>[]>;
64
- default: () => never[];
61
+ }, {}>>>[]>;
62
+ default: () => any[];
65
63
  };
66
64
  selectSlots: {
67
65
  type: PropType<SelectSlots>;
68
- default: undefined;
66
+ default: any;
69
67
  };
70
68
  optionsUrl: {
71
69
  type: StringConstructor;
72
70
  default: string;
73
71
  };
74
- defaultModelValue: null;
72
+ defaultModelValue: any;
75
73
  name: StringConstructor;
76
74
  id: StringConstructor;
77
75
  modelValue: {
78
- type: (BooleanConstructor | ObjectConstructor | StringConstructor | NumberConstructor | ArrayConstructor)[];
79
- default: undefined;
76
+ type: (BooleanConstructor | StringConstructor | NumberConstructor | ObjectConstructor | ArrayConstructor)[];
77
+ default: any;
80
78
  };
81
79
  autocomplete: {
82
80
  type: StringConstructor;
@@ -133,7 +131,7 @@ export declare const props: {
133
131
  default: boolean;
134
132
  };
135
133
  clearIcon: {
136
- type: PropType<string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>>;
134
+ type: PropType<string | import("vue").Component>;
137
135
  default: import("vue").DefineComponent<{}, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
138
136
  };
139
137
  fitInputWidth: {
@@ -141,36 +139,36 @@ export declare const props: {
141
139
  default: boolean;
142
140
  };
143
141
  suffixIcon: {
144
- type: PropType<string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>>;
142
+ type: PropType<string | import("vue").Component>;
145
143
  default: import("vue").DefineComponent<{}, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
146
144
  };
147
145
  tagType: {
148
146
  default: string;
149
- type: PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "success" | "warning" | "info" | "danger", unknown>>;
147
+ type: PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "success" | "warning" | "info" | "primary" | "danger", unknown>>;
150
148
  required: false;
151
- validator: ((val: unknown) => boolean) | undefined;
149
+ validator: (val: unknown) => boolean;
152
150
  __epPropKey: true;
153
151
  };
154
- required: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
155
152
  label: StringConstructor;
156
153
  labelWidth: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
157
154
  prop: {
158
- readonly type: PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => import("element-plus").FormItemProp & {}) | (() => import("element-plus").FormItemProp) | ((new (...args: any[]) => import("element-plus").FormItemProp & {}) | (() => import("element-plus").FormItemProp))[], unknown, unknown>>;
155
+ readonly type: PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => string | string[]) | (() => import("element-plus").FormItemProp) | ((new (...args: any[]) => string | string[]) | (() => import("element-plus").FormItemProp))[], unknown, unknown>>;
159
156
  readonly required: false;
160
- readonly validator: ((val: unknown) => boolean) | undefined;
157
+ readonly validator: (val: unknown) => boolean;
161
158
  __epPropKey: true;
162
159
  };
160
+ required: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
163
161
  rules: {
164
- readonly type: PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => import("element-plus").FormItemRule | import("element-plus").FormItemRule[]) | (() => import("element-plus/es/utils").Arrayable<import("element-plus").FormItemRule>) | ((new (...args: any[]) => import("element-plus").FormItemRule | import("element-plus").FormItemRule[]) | (() => import("element-plus/es/utils").Arrayable<import("element-plus").FormItemRule>))[], unknown, unknown>>;
162
+ readonly type: PropType<unknown>;
165
163
  readonly required: false;
166
- readonly validator: ((val: unknown) => boolean) | undefined;
164
+ readonly validator: (val: unknown) => boolean;
167
165
  __epPropKey: true;
168
166
  };
169
167
  error: StringConstructor;
170
168
  validateStatus: {
171
169
  readonly type: PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "error" | "success" | "validating", unknown>>;
172
170
  readonly required: false;
173
- readonly validator: ((val: unknown) => boolean) | undefined;
171
+ readonly validator: (val: unknown) => boolean;
174
172
  __epPropKey: true;
175
173
  };
176
174
  for: StringConstructor;
@@ -182,7 +180,7 @@ export declare const props: {
182
180
  };
183
181
  formItemSlots: {
184
182
  type: PropType<import("../../form-item/src/types").FormItemSlots>;
185
- default: undefined;
183
+ default: any;
186
184
  };
187
185
  elRef: {
188
186
  type: PropType<any>;
@@ -194,7 +192,7 @@ export declare const props: {
194
192
  };
195
193
  readonly: {
196
194
  type: BooleanConstructor;
197
- default: undefined;
195
+ default: any;
198
196
  };
199
197
  labelPosition: {
200
198
  type: PropType<"right">;
@@ -202,11 +200,11 @@ export declare const props: {
202
200
  };
203
201
  };
204
202
  export declare const emits: {
205
- 'update:modelValue': null;
206
- change: null;
207
- 'remove-tag': null;
208
- clear: null;
209
- 'visible-change': null;
210
- focus: null;
211
- blur: null;
203
+ 'update:modelValue': any;
204
+ change: any;
205
+ 'remove-tag': any;
206
+ clear: any;
207
+ 'visible-change': any;
208
+ focus: any;
209
+ blur: any;
212
210
  };
@@ -1,40 +1 @@
1
- import { _VkfFormItemCtx } from '@vunk/form/components/form-item';
2
- import { selectProps, selectEmits } from '@vunk/form/shared/element-plus';
3
-
4
- var __defProp = Object.defineProperty;
5
- var __defProps = Object.defineProperties;
6
- var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
7
- var __getOwnPropSymbols = Object.getOwnPropertySymbols;
8
- var __hasOwnProp = Object.prototype.hasOwnProperty;
9
- var __propIsEnum = Object.prototype.propertyIsEnumerable;
10
- var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
11
- var __spreadValues = (a, b) => {
12
- for (var prop in b || (b = {}))
13
- if (__hasOwnProp.call(b, prop))
14
- __defNormalProp(a, prop, b[prop]);
15
- if (__getOwnPropSymbols)
16
- for (var prop of __getOwnPropSymbols(b)) {
17
- if (__propIsEnum.call(b, prop))
18
- __defNormalProp(a, prop, b[prop]);
19
- }
20
- return a;
21
- };
22
- var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
23
- const props = __spreadProps(__spreadValues(__spreadValues({}, _VkfFormItemCtx.props), selectProps), {
24
- options: {
25
- type: Array,
26
- default: () => []
27
- },
28
- selectSlots: {
29
- type: Object,
30
- default: void 0
31
- },
32
- optionsUrl: {
33
- type: String,
34
- default: ""
35
- },
36
- defaultModelValue: null
37
- });
38
- const emits = __spreadValues({}, selectEmits);
39
-
40
- export { emits, props };
1
+ import{_VkfFormItemCtx as t}from"@vunk/form/components/form-item";import{selectProps as e,selectEmits as o}from"@vunk/form/shared/element-plus";const l={...t.props,...e,options:{type:Array,default:()=>[]},selectSlots:{type:Object,default:void 0},optionsUrl:{type:String,default:""},defaultModelValue:null},p={...o};export{p as emits,l as props};
@@ -0,0 +1 @@
1
+