@vunk/form 1.1.65 → 1.1.67

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 +283 -296
  209. package/components/upload/src/ctx.d.ts +32 -22
  210. package/components/upload/src/ctx.js +1 -45
  211. package/components/upload/src/file.vue.d.ts +28 -19
  212. package/components/upload/src/index.css +1 -0
  213. package/components/upload/src/index.vue.d.ts +63 -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 +911 -9539
  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
package/index.css CHANGED
@@ -1,4 +1,6 @@
1
1
 
2
+
3
+
2
4
  .el-cascader.is-readonly{
3
5
  --el-readonly-cursor: text;
4
6
  --el-disabled-bg-color: initial;
@@ -10,6 +12,7 @@
10
12
  }
11
13
 
12
14
 
15
+
13
16
  .el-checkbox-group.is-readonly .el-checkbox,
14
17
  .el-checkbox-group.is-readonly{
15
18
  --el-readonly-cursor: auto;
@@ -49,6 +52,19 @@
49
52
  }
50
53
 
51
54
 
55
+
56
+
57
+
58
+
59
+
60
+ .el-button.vkf-esri-input-geojson__upload{
61
+ border-color: transparent;
62
+ background-color: transparent;
63
+ color: inherit;
64
+ }
65
+
66
+
67
+
52
68
  .vkf-esri-input-geojson__map {
53
69
  height: 350px;
54
70
  }
@@ -82,11 +98,7 @@
82
98
  flex: 1;
83
99
  }
84
100
 
85
- .el-button.vkf-esri-input-geojson__upload{
86
- border-color: transparent;
87
- background-color: transparent;
88
- color: inherit;
89
- }
101
+
90
102
 
91
103
 
92
104
 
@@ -112,6 +124,13 @@
112
124
  }
113
125
 
114
126
 
127
+
128
+
129
+
130
+
131
+
132
+
133
+
115
134
  .vk-geoinput-read-x{
116
135
  display: flex;
117
136
  flex-direction: column-reverse;
@@ -122,6 +141,16 @@
122
141
  }
123
142
 
124
143
 
144
+
145
+ .vk-geoinput-upload-x.vk-geoinput-upload-x{
146
+ padding: 0;
147
+ }
148
+ .vk-geoinput-upload .el-upload{
149
+ padding: 8px 15px;
150
+ }
151
+
152
+
153
+
125
154
  .geoinput-map-x{
126
155
  margin-bottom: 18px;
127
156
  height: 300px;
@@ -158,12 +187,7 @@
158
187
  flex: 1;
159
188
  }
160
189
 
161
- .vk-geoinput-upload-x.vk-geoinput-upload-x{
162
- padding: 0;
163
- }
164
- .vk-geoinput-upload .el-upload{
165
- padding: 8px 15px;
166
- }
190
+
167
191
 
168
192
 
169
193
 
@@ -173,6 +197,7 @@
173
197
  }
174
198
 
175
199
 
200
+
176
201
  .vkf-input-number-unit{
177
202
  margin-left: 6px;
178
203
  }
@@ -191,6 +216,7 @@
191
216
  }
192
217
 
193
218
 
219
+
194
220
  .el-radio-group.is-readonly,
195
221
  .el-radio-group.is-readonly .el-radio-button{
196
222
  --el-readonly-cursor: auto;
@@ -221,6 +247,7 @@
221
247
 
222
248
 
223
249
 
250
+
224
251
  .el-select.is-readonly{
225
252
  --el-readonly-cursor: text;
226
253
  --el-disabled-bg-color: initial;
@@ -233,6 +260,9 @@
233
260
  }
234
261
 
235
262
 
263
+
264
+
265
+
236
266
  .el-switch.is-readonly{
237
267
  --el-readonly-cursor: auto;
238
268
  }
@@ -245,12 +275,33 @@
245
275
  }
246
276
 
247
277
 
278
+
279
+
280
+
281
+
282
+
283
+
284
+
248
285
  .vkf-flex {
249
286
  display: flex;
250
287
  }
251
288
 
252
289
 
253
290
 
291
+
292
+
293
+
294
+ .el-upload-list__item-status-label{
295
+ z-index: 1;
296
+ }
297
+ .el-upload-list__item .el-icon--close{
298
+ z-index: 1;
299
+ }
300
+ .el-upload-list__item-name .el-icon.el-icon--download-primary{
301
+ color: var(--el-color-primary);
302
+ }
303
+
304
+
254
305
  .vkf-upload {
255
306
  width: 100%;
256
307
  }
@@ -277,15 +328,6 @@
277
328
  }
278
329
 
279
330
 
280
- .el-upload-list__item-status-label{
281
- z-index: 1;
282
- }
283
- .el-upload-list__item .el-icon--close{
284
- z-index: 1;
285
- }
286
- .el-upload-list__item-name .el-icon.el-icon--download-primary{
287
- color: var(--el-color-primary);
288
- }
289
331
 
290
332
 
291
333
  @keyframes hide {
@@ -374,6 +416,7 @@
374
416
  }
375
417
 
376
418
 
419
+
377
420
  .vkf-van-cascader .el-select{
378
421
  --el-readonly-cursor: pointer;
379
422
  }
@@ -382,6 +425,7 @@
382
425
  }
383
426
 
384
427
 
428
+
385
429
  :root{
386
430
  --color-primary: var(--el-color-primary);
387
431
  }
@@ -399,3 +443,66 @@
399
443
  padding-left: var(--date-picker-title-padding);
400
444
  padding-right: var(--date-picker-title-padding);
401
445
  }
446
+
447
+
448
+
449
+
450
+
451
+
452
+
453
+
454
+
455
+
456
+
457
+
458
+
459
+
460
+
461
+
462
+
463
+
464
+
465
+
466
+
467
+
468
+
469
+
470
+
471
+
472
+
473
+
474
+
475
+
476
+
477
+
478
+
479
+
480
+
481
+
482
+
483
+
484
+
485
+
486
+
487
+
488
+
489
+
490
+
491
+
492
+
493
+
494
+
495
+
496
+
497
+
498
+
499
+
500
+
501
+
502
+
503
+
504
+
505
+
506
+
507
+
508
+
package/index.esm.js CHANGED
@@ -1,44 +1 @@
1
- import { VkfForm } from '@vunk/form/components/form';
2
- export * from '@vunk/form/components/form';
3
- import { VkfFormItemRenderer } from '@vunk/form/components/form-item-renderer';
4
- export * from '@vunk/form/components/form-item-renderer';
5
- import { VkfFormItemRendererTemplate } from '@vunk/form/components/form-item-renderer-template';
6
- export * from '@vunk/form/components/form-item-renderer-template';
7
- import { VkfTemplatesLayout } from '@vunk/form/components/templates-layout';
8
- export * from '@vunk/form/components/templates-layout';
9
- export * from '@vunk/form/shared';
10
- export * from '@vunk/form/composables';
11
- export * from '@vunk/form/components/templates-default';
12
- export * from '@vunk/form/components/input';
13
- export * from '@vunk/form/components/input-number';
14
- export * from '@vunk/form/components/select';
15
- export * from '@vunk/form/components/radio';
16
- export * from '@vunk/form/components/checkbox';
17
- export * from '@vunk/form/components/switch';
18
- export * from '@vunk/form/components/color-picker';
19
- export * from '@vunk/form/components/upload';
20
- export * from '@vunk/form/components/date-picker';
21
- export * from '@vunk/form/components/button';
22
- export * from '@vunk/form/components/cascader';
23
- export * from '@vunk/form/components/input-link';
24
-
25
- var Components = [
26
- VkfForm,
27
- VkfFormItemRenderer,
28
- VkfFormItemRendererTemplate,
29
- VkfTemplatesLayout
30
- ];
31
-
32
- const makeInstaller = (components = []) => {
33
- const install = (app) => {
34
- components.forEach((c) => app.use(c));
35
- };
36
- return {
37
- install
38
- };
39
- };
40
- var installer = makeInstaller(Components);
41
-
42
- const install = installer.install;
43
-
44
- export { installer as default, install };
1
+ import{VkfForm as m}from"@vunk/form/components/form";export*from"@vunk/form/components/form";import{VkfFormItemRenderer as f}from"@vunk/form/components/form-item-renderer";export*from"@vunk/form/components/form-item-renderer";import{VkfFormItemRendererTemplate as p}from"@vunk/form/components/form-item-renderer-template";export*from"@vunk/form/components/form-item-renderer-template";import{VkfTemplatesLayout as x}from"@vunk/form/components/templates-layout";export*from"@vunk/form/components/templates-layout";export*from"@vunk/form/shared";export*from"@vunk/form/composables";export*from"@vunk/form/components/templates-default";export*from"@vunk/form/components/input";export*from"@vunk/form/components/input-number";export*from"@vunk/form/components/select";export*from"@vunk/form/components/radio";export*from"@vunk/form/components/checkbox";export*from"@vunk/form/components/switch";export*from"@vunk/form/components/color-picker";export*from"@vunk/form/components/upload";export*from"@vunk/form/components/date-picker";export*from"@vunk/form/components/button";export*from"@vunk/form/components/cascader";export*from"@vunk/form/components/input-link";var a=[m,f,p,x];const l=(o=[])=>({install:t=>{o.forEach(e=>t.use(e))}});var r=l(a);const n=r.install;export{r as default,n as install};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vunk/form",
3
- "version": "1.1.65",
3
+ "version": "1.1.67",
4
4
  "description": "",
5
5
  "main": "index.esm.js",
6
6
  "scripts": {
@@ -0,0 +1 @@
1
+
@@ -1,4 +1,4 @@
1
1
  import { Media } from '@vunk/core';
2
2
  import { AllTemplatesSource } from '@vunk/form/shared';
3
3
  export declare const CORE_FORM_TEMPLATE_OPTIONS: Media<AllTemplatesSource['templateType']>[];
4
- export declare const CORE_FORM_TEMPLATE_REFLECT: Record<string, Media<"VkfButton" | "VkfInput" | "VkfDatePicker" | "VkfSelect" | "VkfSwitch" | "VkfInputNumber" | "VkfRadio" | "VkfCheckbox" | "VkfUpload" | "VkfColorPicker" | "VkfCascader" | "VkfInputLink" | "VkfSlider" | "Component" | "ElRow" | "ElCol" | "VkfFlex" | "ElDivider" | "ElLink" | "VkfGeoinput" | "VkfEsriInputGeojson">>;
4
+ export declare const CORE_FORM_TEMPLATE_REFLECT: Record<string, Media<"VkfInput" | "VkfSwitch" | "VkfSelect" | "VkfDatePicker" | "VkfInputNumber" | "VkfRadio" | "VkfCheckbox" | "VkfUpload" | "ElLink" | "VkfColorPicker" | "VkfButton" | "VkfCascader" | "VkfInputLink" | "VkfSlider" | "VkfGeoinput" | "VkfEsriInputGeojson" | "Component" | "ElDivider" | "ElRow" | "ElCol" | "VkfFlex">>;
@@ -1,56 +1 @@
1
- const CORE_FORM_TEMPLATE_OPTIONS = [
2
- {
3
- value: "VkfInput",
4
- label: "\u8F93\u5165\u6846"
5
- },
6
- {
7
- value: "VkfSelect",
8
- label: "\u4E0B\u62C9\u6846"
9
- },
10
- {
11
- value: "VkfCheckbox",
12
- label: "\u591A\u9009\u6846"
13
- },
14
- {
15
- value: "VkfRadio",
16
- label: "\u5355\u9009\u6846"
17
- },
18
- {
19
- value: "VkfDatePicker",
20
- label: "\u65E5\u671F\u9009\u62E9\u5668"
21
- },
22
- {
23
- value: "VkfInputNumber",
24
- label: "\u6570\u5B57\u8F93\u5165\u6846"
25
- },
26
- {
27
- value: "VkfSwitch",
28
- label: "\u5F00\u5173"
29
- },
30
- {
31
- value: "VkfSlider",
32
- label: "\u6ED1\u5757"
33
- },
34
- {
35
- value: "VkfInputLink",
36
- label: "\u94FE\u63A5\u8F93\u5165\u6846"
37
- },
38
- {
39
- value: "VkfEsriInputGeojson",
40
- label: "\u5730\u4FE1\u8F93\u5165\u6846"
41
- },
42
- {
43
- value: "VkfCascader",
44
- label: "\u7EA7\u8054\u9009\u62E9\u5668"
45
- },
46
- {
47
- value: "VkfUpload",
48
- label: "\u4E0A\u4F20"
49
- }
50
- ];
51
- const CORE_FORM_TEMPLATE_REFLECT = CORE_FORM_TEMPLATE_OPTIONS.reduce((acc, cur) => {
52
- acc[cur.value] = cur;
53
- return acc;
54
- }, {});
55
-
56
- export { CORE_FORM_TEMPLATE_OPTIONS, CORE_FORM_TEMPLATE_REFLECT };
1
+ const e=[{value:"VkfInput",label:"\u8F93\u5165\u6846"},{value:"VkfSelect",label:"\u4E0B\u62C9\u6846"},{value:"VkfCheckbox",label:"\u591A\u9009\u6846"},{value:"VkfRadio",label:"\u5355\u9009\u6846"},{value:"VkfDatePicker",label:"\u65E5\u671F\u9009\u62E9\u5668"},{value:"VkfInputNumber",label:"\u6570\u5B57\u8F93\u5165\u6846"},{value:"VkfSwitch",label:"\u5F00\u5173"},{value:"VkfSlider",label:"\u6ED1\u5757"},{value:"VkfInputLink",label:"\u94FE\u63A5\u8F93\u5165\u6846"},{value:"VkfEsriInputGeojson",label:"\u5730\u4FE1\u8F93\u5165\u6846"},{value:"VkfCascader",label:"\u7EA7\u8054\u9009\u62E9\u5668"},{value:"VkfUpload",label:"\u4E0A\u4F20"}],a=e.reduce((u,l)=>(u[l.value]=l,u),{});export{e as CORE_FORM_TEMPLATE_OPTIONS,a as CORE_FORM_TEMPLATE_REFLECT};