@vunk/form 1.1.75 → 1.1.76

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 (63) hide show
  1. package/components/cascader/src/ctx.d.ts +5 -3
  2. package/components/cascader/src/index.vue.d.ts +11 -4
  3. package/components/checkbox/index.js +18 -8
  4. package/components/checkbox/src/ctx.d.ts +2 -1
  5. package/components/checkbox/src/index.vue.d.ts +9 -9
  6. package/components/color-picker/src/ctx.d.ts +2 -0
  7. package/components/color-picker/src/index.vue.d.ts +5 -0
  8. package/components/date-picker/index.js +1 -1
  9. package/components/date-picker/src/ctx.d.ts +4 -1
  10. package/components/date-picker/src/index.vue.d.ts +13 -4
  11. package/components/download-plus/index.js +33 -46
  12. package/components/download-plus/src/index.vue.d.ts +9 -2
  13. package/components/esri-input-geojson/index.js +72 -96
  14. package/components/esri-input-geojson/src/ctx.d.ts +3 -2
  15. package/components/esri-input-geojson/src/default-view.vue.d.ts +2 -2
  16. package/components/esri-input-geojson/src/index.vue.d.ts +13 -5
  17. package/components/esri-input-geojson/src/viewer.vue.d.ts +4 -4
  18. package/components/geoinput/src/ctx.d.ts +2 -1
  19. package/components/geoinput/src/index.vue.d.ts +4 -2
  20. package/components/geoinput-read/index.js +22 -34
  21. package/components/geoinput-read/src/core.vue.d.ts +7 -3
  22. package/components/geoinput-read/src/ctx.d.ts +3 -2
  23. package/components/geoinput-read/src/index.vue.d.ts +4 -2
  24. package/components/geoinput-update/index.js +52 -71
  25. package/components/geoinput-update/src/ctx.d.ts +3 -2
  26. package/components/geoinput-update/src/index.vue.d.ts +7 -3
  27. package/components/input/index.js +1 -1
  28. package/components/input/src/ctx.d.ts +3 -2
  29. package/components/input/src/index.vue.d.ts +6 -4
  30. package/components/input-link/index.js +17 -27
  31. package/components/input-link/src/ctx.d.ts +8 -3
  32. package/components/input-link/src/index.vue.d.ts +4 -2
  33. package/components/input-number/index.js +1 -1
  34. package/components/input-number/src/ctx.d.ts +2 -1
  35. package/components/input-number/src/index.vue.d.ts +5 -3
  36. package/components/radio/index.js +33 -18
  37. package/components/radio/src/ctx.d.ts +1 -0
  38. package/components/radio/src/index.vue.d.ts +9 -9
  39. package/components/select/index.js +3 -1
  40. package/components/select/src/ctx.d.ts +2 -2
  41. package/components/select/src/index.vue.d.ts +8 -8
  42. package/components/slider/src/ctx.d.ts +1 -0
  43. package/components/slider/src/index.vue.d.ts +3 -0
  44. package/components/switch/index.js +1 -1
  45. package/components/switch/src/ctx.d.ts +1 -4
  46. package/components/switch/src/index.vue.d.ts +3 -17
  47. package/components/upload/index.js +110 -140
  48. package/components/upload-plus/index.js +48 -64
  49. package/components/upload-plus/src/index.vue.d.ts +9 -2
  50. package/components/van-cascader/src/ctx.d.ts +4 -2
  51. package/components/van-cascader/src/index.vue.d.ts +9 -4
  52. package/components/var-datetime-picker/src/const.d.ts +1 -1
  53. package/components/var-datetime-picker/src/ctx.d.ts +1 -1
  54. package/components/var-datetime-picker/src/index.vue.d.ts +3 -3
  55. package/package.json +1 -1
  56. package/shared/element-plus/ctx.d.ts +9 -9
  57. package/shared/element-plus/index.d.ts +1 -0
  58. package/shared/element-plus/index.js +1 -1
  59. package/shared/element-plus/instances.d.ts +6 -3
  60. package/shared/element-plus/version.d.ts +1 -0
  61. package/shared/rules/index.d.ts +1 -1
  62. package/shared/rules/index.js +1 -1
  63. package/shared/upload/index.js +1 -1
@@ -1,7 +1,7 @@
1
1
  import { _VkfFormItemCtx, VkfFormItem } from '@vunk/form/components/form-item';
2
2
  import { bindPropsFactory, onEmitsFactory } from '@vunk/core/shared/utils-vue';
3
3
  import { uploadProps, ElProgress, ElIcon, useNamespace, useLocale, ElUpload, ElLink } from 'element-plus';
4
- import { openBlock, createElementBlock, createElementVNode, defineComponent, resolveComponent, Fragment, createCommentVNode, normalizeClass, createBlock, withModifiers, createVNode, withCtx, toDisplayString, normalizeStyle, shallowRef, normalizeProps, guardReactiveProps, mergeProps, createSlots, renderSlot, createTextVNode } from 'vue';
4
+ import { defineComponent, openBlock, createElementBlock, createElementVNode, resolveComponent, Fragment, createCommentVNode, normalizeClass, createBlock, withModifiers, createVNode, withCtx, toDisplayString, normalizeStyle, shallowRef, normalizeProps, guardReactiveProps, mergeProps, createSlots, renderSlot, createTextVNode } from 'vue';
5
5
  import { pickObject } from '@vunk/core/shared/utils-object';
6
6
  import { createUploadBindProps } from '@vunk/form/shared/element-plus';
7
7
  import { NOOP } from '@vunk/core/shared/utils-function';
@@ -44,153 +44,123 @@ var ctx = /*#__PURE__*/Object.freeze({
44
44
  props: props
45
45
  });
46
46
 
47
- /*! Element Plus Icons Vue v2.1.0 */
47
+ /*! Element Plus Icons Vue v2.3.1 */
48
48
 
49
+ var check_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */defineComponent({
50
+ name: "Check",
51
+ __name: "check",
52
+ setup(__props) {
53
+ return (_ctx, _cache) => (openBlock(), createElementBlock("svg", {
54
+ xmlns: "http://www.w3.org/2000/svg",
55
+ viewBox: "0 0 1024 1024"
56
+ }, [createElementVNode("path", {
57
+ fill: "currentColor",
58
+ d: "M406.656 706.944 195.84 496.256a32 32 0 1 0-45.248 45.248l256 256 512-512a32 32 0 0 0-45.248-45.248L406.592 706.944z"
59
+ })]));
60
+ }
61
+ });
49
62
 
50
- // unplugin-vue:/plugin-vue/export-helper
51
- var export_helper_default = (sfc, props) => {
52
- let target = sfc.__vccOpts || sfc;
53
- for (let [key, val] of props) target[key] = val;
54
- return target;
55
- };
56
-
57
- // unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/check.vue?vue&type=script&lang.ts
58
- var check_vue_vue_type_script_lang_default = {
59
- name: "Check"
60
- };
61
- var _hoisted_143 = {
62
- xmlns: "http://www.w3.org/2000/svg",
63
- viewBox: "0 0 1024 1024"
64
- },
65
- _hoisted_243 = /* @__PURE__ */createElementVNode("path", {
66
- fill: "currentColor",
67
- d: "M406.656 706.944 195.84 496.256a32 32 0 1 0-45.248 45.248l256 256 512-512a32 32 0 0 0-45.248-45.248L406.592 706.944z"
68
- }, null, -1
69
- /* HOISTED */),
70
- _hoisted_342 = [_hoisted_243];
71
- function _sfc_render43(_ctx, _cache, $props, $setup, $data, $options) {
72
- return openBlock(), createElementBlock("svg", _hoisted_143, _hoisted_342);
73
- }
74
- var check_default = /* @__PURE__ */export_helper_default(check_vue_vue_type_script_lang_default, [["render", _sfc_render43], ["__file", "check.vue"]]);
63
+ // src/components/check.vue
64
+ var check_default = check_vue_vue_type_script_setup_true_lang_default;
65
+ var circle_check_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */defineComponent({
66
+ name: "CircleCheck",
67
+ __name: "circle-check",
68
+ setup(__props) {
69
+ return (_ctx, _cache) => (openBlock(), createElementBlock("svg", {
70
+ xmlns: "http://www.w3.org/2000/svg",
71
+ viewBox: "0 0 1024 1024"
72
+ }, [createElementVNode("path", {
73
+ fill: "currentColor",
74
+ d: "M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"
75
+ }), createElementVNode("path", {
76
+ fill: "currentColor",
77
+ d: "M745.344 361.344a32 32 0 0 1 45.312 45.312l-288 288a32 32 0 0 1-45.312 0l-160-160a32 32 0 1 1 45.312-45.312L480 626.752l265.344-265.408z"
78
+ })]));
79
+ }
80
+ });
75
81
 
76
- // unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/circle-check.vue?vue&type=script&lang.ts
77
- var circle_check_vue_vue_type_script_lang_default = {
78
- name: "CircleCheck"
79
- };
80
- var _hoisted_149 = {
81
- xmlns: "http://www.w3.org/2000/svg",
82
- viewBox: "0 0 1024 1024"
83
- },
84
- _hoisted_249 = /* @__PURE__ */createElementVNode("path", {
85
- fill: "currentColor",
86
- d: "M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768zm0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896z"
87
- }, null, -1
88
- /* HOISTED */),
89
- _hoisted_348 = /* @__PURE__ */createElementVNode("path", {
90
- fill: "currentColor",
91
- d: "M745.344 361.344a32 32 0 0 1 45.312 45.312l-288 288a32 32 0 0 1-45.312 0l-160-160a32 32 0 1 1 45.312-45.312L480 626.752l265.344-265.408z"
92
- }, null, -1
93
- /* HOISTED */),
94
- _hoisted_415 = [_hoisted_249, _hoisted_348];
95
- function _sfc_render49(_ctx, _cache, $props, $setup, $data, $options) {
96
- return openBlock(), createElementBlock("svg", _hoisted_149, _hoisted_415);
97
- }
98
- var circle_check_default = /* @__PURE__ */export_helper_default(circle_check_vue_vue_type_script_lang_default, [["render", _sfc_render49], ["__file", "circle-check.vue"]]);
82
+ // src/components/circle-check.vue
83
+ var circle_check_default = circle_check_vue_vue_type_script_setup_true_lang_default;
84
+ var close_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */defineComponent({
85
+ name: "Close",
86
+ __name: "close",
87
+ setup(__props) {
88
+ return (_ctx, _cache) => (openBlock(), createElementBlock("svg", {
89
+ xmlns: "http://www.w3.org/2000/svg",
90
+ viewBox: "0 0 1024 1024"
91
+ }, [createElementVNode("path", {
92
+ fill: "currentColor",
93
+ d: "M764.288 214.592 512 466.88 259.712 214.592a31.936 31.936 0 0 0-45.12 45.12L466.752 512 214.528 764.224a31.936 31.936 0 1 0 45.12 45.184L512 557.184l252.288 252.288a31.936 31.936 0 0 0 45.12-45.12L557.12 512.064l252.288-252.352a31.936 31.936 0 1 0-45.12-45.184z"
94
+ })]));
95
+ }
96
+ });
99
97
 
100
- // unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/close.vue?vue&type=script&lang.ts
101
- var close_vue_vue_type_script_lang_default = {
102
- name: "Close"
103
- };
104
- var _hoisted_156 = {
105
- xmlns: "http://www.w3.org/2000/svg",
106
- viewBox: "0 0 1024 1024"
107
- },
108
- _hoisted_256 = /* @__PURE__ */createElementVNode("path", {
109
- fill: "currentColor",
110
- d: "M764.288 214.592 512 466.88 259.712 214.592a31.936 31.936 0 0 0-45.12 45.12L466.752 512 214.528 764.224a31.936 31.936 0 1 0 45.12 45.184L512 557.184l252.288 252.288a31.936 31.936 0 0 0 45.12-45.12L557.12 512.064l252.288-252.352a31.936 31.936 0 1 0-45.12-45.184z"
111
- }, null, -1
112
- /* HOISTED */),
113
- _hoisted_355 = [_hoisted_256];
114
- function _sfc_render56(_ctx, _cache, $props, $setup, $data, $options) {
115
- return openBlock(), createElementBlock("svg", _hoisted_156, _hoisted_355);
116
- }
117
- var close_default = /* @__PURE__ */export_helper_default(close_vue_vue_type_script_lang_default, [["render", _sfc_render56], ["__file", "close.vue"]]);
98
+ // src/components/close.vue
99
+ var close_default = close_vue_vue_type_script_setup_true_lang_default;
100
+ var delete_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */defineComponent({
101
+ name: "Delete",
102
+ __name: "delete",
103
+ setup(__props) {
104
+ return (_ctx, _cache) => (openBlock(), createElementBlock("svg", {
105
+ xmlns: "http://www.w3.org/2000/svg",
106
+ viewBox: "0 0 1024 1024"
107
+ }, [createElementVNode("path", {
108
+ fill: "currentColor",
109
+ d: "M160 256H96a32 32 0 0 1 0-64h256V95.936a32 32 0 0 1 32-32h256a32 32 0 0 1 32 32V192h256a32 32 0 1 1 0 64h-64v672a32 32 0 0 1-32 32H192a32 32 0 0 1-32-32zm448-64v-64H416v64zM224 896h576V256H224zm192-128a32 32 0 0 1-32-32V416a32 32 0 0 1 64 0v320a32 32 0 0 1-32 32m192 0a32 32 0 0 1-32-32V416a32 32 0 0 1 64 0v320a32 32 0 0 1-32 32"
110
+ })]));
111
+ }
112
+ });
118
113
 
119
- // unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/delete.vue?vue&type=script&lang.ts
120
- var delete_vue_vue_type_script_lang_default = {
121
- name: "Delete"
122
- };
123
- var _hoisted_180 = {
124
- xmlns: "http://www.w3.org/2000/svg",
125
- viewBox: "0 0 1024 1024"
126
- },
127
- _hoisted_280 = /* @__PURE__ */createElementVNode("path", {
128
- fill: "currentColor",
129
- d: "M160 256H96a32 32 0 0 1 0-64h256V95.936a32 32 0 0 1 32-32h256a32 32 0 0 1 32 32V192h256a32 32 0 1 1 0 64h-64v672a32 32 0 0 1-32 32H192a32 32 0 0 1-32-32V256zm448-64v-64H416v64h192zM224 896h576V256H224v640zm192-128a32 32 0 0 1-32-32V416a32 32 0 0 1 64 0v320a32 32 0 0 1-32 32zm192 0a32 32 0 0 1-32-32V416a32 32 0 0 1 64 0v320a32 32 0 0 1-32 32z"
130
- }, null, -1
131
- /* HOISTED */),
132
- _hoisted_379 = [_hoisted_280];
133
- function _sfc_render80(_ctx, _cache, $props, $setup, $data, $options) {
134
- return openBlock(), createElementBlock("svg", _hoisted_180, _hoisted_379);
135
- }
136
- var delete_default = /* @__PURE__ */export_helper_default(delete_vue_vue_type_script_lang_default, [["render", _sfc_render80], ["__file", "delete.vue"]]);
114
+ // src/components/delete.vue
115
+ var delete_default = delete_vue_vue_type_script_setup_true_lang_default;
116
+ var document_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */defineComponent({
117
+ name: "Document",
118
+ __name: "document",
119
+ setup(__props) {
120
+ return (_ctx, _cache) => (openBlock(), createElementBlock("svg", {
121
+ xmlns: "http://www.w3.org/2000/svg",
122
+ viewBox: "0 0 1024 1024"
123
+ }, [createElementVNode("path", {
124
+ fill: "currentColor",
125
+ d: "M832 384H576V128H192v768h640zm-26.496-64L640 154.496V320zM160 64h480l256 256v608a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32m160 448h384v64H320zm0-192h160v64H320zm0 384h384v64H320z"
126
+ })]));
127
+ }
128
+ });
137
129
 
138
- // unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/document.vue?vue&type=script&lang.ts
139
- var document_vue_vue_type_script_lang_default = {
140
- name: "Document"
141
- };
142
- var _hoisted_190 = {
143
- xmlns: "http://www.w3.org/2000/svg",
144
- viewBox: "0 0 1024 1024"
145
- },
146
- _hoisted_290 = /* @__PURE__ */createElementVNode("path", {
147
- fill: "currentColor",
148
- d: "M832 384H576V128H192v768h640V384zm-26.496-64L640 154.496V320h165.504zM160 64h480l256 256v608a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32zm160 448h384v64H320v-64zm0-192h160v64H320v-64zm0 384h384v64H320v-64z"
149
- }, null, -1
150
- /* HOISTED */),
151
- _hoisted_389 = [_hoisted_290];
152
- function _sfc_render90(_ctx, _cache, $props, $setup, $data, $options) {
153
- return openBlock(), createElementBlock("svg", _hoisted_190, _hoisted_389);
154
- }
155
- var document_default = /* @__PURE__ */export_helper_default(document_vue_vue_type_script_lang_default, [["render", _sfc_render90], ["__file", "document.vue"]]);
130
+ // src/components/document.vue
131
+ var document_default = document_vue_vue_type_script_setup_true_lang_default;
132
+ var download_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */defineComponent({
133
+ name: "Download",
134
+ __name: "download",
135
+ setup(__props) {
136
+ return (_ctx, _cache) => (openBlock(), createElementBlock("svg", {
137
+ xmlns: "http://www.w3.org/2000/svg",
138
+ viewBox: "0 0 1024 1024"
139
+ }, [createElementVNode("path", {
140
+ fill: "currentColor",
141
+ d: "M160 832h704a32 32 0 1 1 0 64H160a32 32 0 1 1 0-64m384-253.696 236.288-236.352 45.248 45.248L508.8 704 192 387.2l45.248-45.248L480 584.704V128h64z"
142
+ })]));
143
+ }
144
+ });
156
145
 
157
- // unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/download.vue?vue&type=script&lang.ts
158
- var download_vue_vue_type_script_lang_default = {
159
- name: "Download"
160
- };
161
- var _hoisted_191 = {
162
- xmlns: "http://www.w3.org/2000/svg",
163
- viewBox: "0 0 1024 1024"
164
- },
165
- _hoisted_291 = /* @__PURE__ */createElementVNode("path", {
166
- fill: "currentColor",
167
- d: "M160 832h704a32 32 0 1 1 0 64H160a32 32 0 1 1 0-64zm384-253.696 236.288-236.352 45.248 45.248L508.8 704 192 387.2l45.248-45.248L480 584.704V128h64v450.304z"
168
- }, null, -1
169
- /* HOISTED */),
170
- _hoisted_390 = [_hoisted_291];
171
- function _sfc_render91(_ctx, _cache, $props, $setup, $data, $options) {
172
- return openBlock(), createElementBlock("svg", _hoisted_191, _hoisted_390);
173
- }
174
- var download_default = /* @__PURE__ */export_helper_default(download_vue_vue_type_script_lang_default, [["render", _sfc_render91], ["__file", "download.vue"]]);
146
+ // src/components/download.vue
147
+ var download_default = download_vue_vue_type_script_setup_true_lang_default;
148
+ var zoom_in_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */defineComponent({
149
+ name: "ZoomIn",
150
+ __name: "zoom-in",
151
+ setup(__props) {
152
+ return (_ctx, _cache) => (openBlock(), createElementBlock("svg", {
153
+ xmlns: "http://www.w3.org/2000/svg",
154
+ viewBox: "0 0 1024 1024"
155
+ }, [createElementVNode("path", {
156
+ fill: "currentColor",
157
+ d: "m795.904 750.72 124.992 124.928a32 32 0 0 1-45.248 45.248L750.656 795.904a416 416 0 1 1 45.248-45.248zM480 832a352 352 0 1 0 0-704 352 352 0 0 0 0 704m-32-384v-96a32 32 0 0 1 64 0v96h96a32 32 0 0 1 0 64h-96v96a32 32 0 0 1-64 0v-96h-96a32 32 0 0 1 0-64z"
158
+ })]));
159
+ }
160
+ });
175
161
 
176
- // unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/zoom-in.vue?vue&type=script&lang.ts
177
- var zoom_in_vue_vue_type_script_lang_default = {
178
- name: "ZoomIn"
179
- };
180
- var _hoisted_1292 = {
181
- xmlns: "http://www.w3.org/2000/svg",
182
- viewBox: "0 0 1024 1024"
183
- },
184
- _hoisted_2292 = /* @__PURE__ */createElementVNode("path", {
185
- fill: "currentColor",
186
- d: "m795.904 750.72 124.992 124.928a32 32 0 0 1-45.248 45.248L750.656 795.904a416 416 0 1 1 45.248-45.248zM480 832a352 352 0 1 0 0-704 352 352 0 0 0 0 704zm-32-384v-96a32 32 0 0 1 64 0v96h96a32 32 0 0 1 0 64h-96v96a32 32 0 0 1-64 0v-96h-96a32 32 0 0 1 0-64h96z"
187
- }, null, -1
188
- /* HOISTED */),
189
- _hoisted_3291 = [_hoisted_2292];
190
- function _sfc_render292(_ctx, _cache, $props, $setup, $data, $options) {
191
- return openBlock(), createElementBlock("svg", _hoisted_1292, _hoisted_3291);
192
- }
193
- var zoom_in_default = /* @__PURE__ */export_helper_default(zoom_in_vue_vue_type_script_lang_default, [["render", _sfc_render292], ["__file", "zoom-in.vue"]]);
162
+ // src/components/zoom-in.vue
163
+ var zoom_in_default = zoom_in_vue_vue_type_script_setup_true_lang_default;
194
164
 
195
165
  const restFetch = new RestFetch({
196
166
  baseURL: ""
@@ -1,5 +1,5 @@
1
1
  import { _VkfFormItemCtx, VkfFormItem } from '@vunk/form/components/form-item';
2
- import { openBlock, createElementBlock, createElementVNode, defineComponent, watchEffect, watch, ref, computed, onBeforeUnmount, resolveComponent, resolveDirective, createBlock, mergeProps, withCtx, createVNode, normalizeClass, createCommentVNode, Fragment, renderList, normalizeStyle, withDirectives, createTextVNode } from 'vue';
2
+ import { defineComponent, openBlock, createElementBlock, createElementVNode, watchEffect, watch, ref, computed, onBeforeUnmount, resolveComponent, resolveDirective, createBlock, mergeProps, withCtx, createVNode, normalizeClass, createCommentVNode, Fragment, renderList, normalizeStyle, withDirectives, createTextVNode } from 'vue';
3
3
  import { ElMessage, ElInput, ElButtonGroup, ElButton, ElIcon, vLoading } from 'element-plus';
4
4
  import { createFileChunk, calculateFileHashSample } from '@vunk/form/shared/upload';
5
5
  import { RestFetch } from '@vunk/core/shared/utils-fetch';
@@ -9617,77 +9617,61 @@ var api = /*#__PURE__*/Object.freeze({
9617
9617
  verify: verify
9618
9618
  });
9619
9619
 
9620
- /*! Element Plus Icons Vue v2.1.0 */
9620
+ /*! Element Plus Icons Vue v2.3.1 */
9621
9621
 
9622
+ var circle_close_filled_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */defineComponent({
9623
+ name: "CircleCloseFilled",
9624
+ __name: "circle-close-filled",
9625
+ setup(__props) {
9626
+ return (_ctx, _cache) => (openBlock(), createElementBlock("svg", {
9627
+ xmlns: "http://www.w3.org/2000/svg",
9628
+ viewBox: "0 0 1024 1024"
9629
+ }, [createElementVNode("path", {
9630
+ fill: "currentColor",
9631
+ d: "M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 393.664L407.936 353.6a38.4 38.4 0 1 0-54.336 54.336L457.664 512 353.6 616.064a38.4 38.4 0 1 0 54.336 54.336L512 566.336 616.064 670.4a38.4 38.4 0 1 0 54.336-54.336L566.336 512 670.4 407.936a38.4 38.4 0 1 0-54.336-54.336z"
9632
+ })]));
9633
+ }
9634
+ });
9622
9635
 
9623
- // unplugin-vue:/plugin-vue/export-helper
9624
- var export_helper_default = (sfc, props) => {
9625
- let target = sfc.__vccOpts || sfc;
9626
- for (let [key, val] of props) target[key] = val;
9627
- return target;
9628
- };
9629
-
9630
- // unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/circle-close-filled.vue?vue&type=script&lang.ts
9631
- var circle_close_filled_vue_vue_type_script_lang_default = {
9632
- name: "CircleCloseFilled"
9633
- };
9634
- var _hoisted_150 = {
9635
- xmlns: "http://www.w3.org/2000/svg",
9636
- viewBox: "0 0 1024 1024"
9637
- },
9638
- _hoisted_250 = /* @__PURE__ */createElementVNode("path", {
9639
- fill: "currentColor",
9640
- d: "M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896zm0 393.664L407.936 353.6a38.4 38.4 0 1 0-54.336 54.336L457.664 512 353.6 616.064a38.4 38.4 0 1 0 54.336 54.336L512 566.336 616.064 670.4a38.4 38.4 0 1 0 54.336-54.336L566.336 512 670.4 407.936a38.4 38.4 0 1 0-54.336-54.336L512 457.664z"
9641
- }, null, -1
9642
- /* HOISTED */),
9643
- _hoisted_349 = [_hoisted_250];
9644
- function _sfc_render50(_ctx, _cache, $props, $setup, $data, $options) {
9645
- return openBlock(), createElementBlock("svg", _hoisted_150, _hoisted_349);
9646
- }
9647
- var circle_close_filled_default = /* @__PURE__ */export_helper_default(circle_close_filled_vue_vue_type_script_lang_default, [["render", _sfc_render50], ["__file", "circle-close-filled.vue"]]);
9636
+ // src/components/circle-close-filled.vue
9637
+ var circle_close_filled_default = circle_close_filled_vue_vue_type_script_setup_true_lang_default;
9638
+ var success_filled_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */defineComponent({
9639
+ name: "SuccessFilled",
9640
+ __name: "success-filled",
9641
+ setup(__props) {
9642
+ return (_ctx, _cache) => (openBlock(), createElementBlock("svg", {
9643
+ xmlns: "http://www.w3.org/2000/svg",
9644
+ viewBox: "0 0 1024 1024"
9645
+ }, [createElementVNode("path", {
9646
+ fill: "currentColor",
9647
+ d: "M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m-55.808 536.384-99.52-99.584a38.4 38.4 0 1 0-54.336 54.336l126.72 126.72a38.272 38.272 0 0 0 54.336 0l262.4-262.464a38.4 38.4 0 1 0-54.272-54.336z"
9648
+ })]));
9649
+ }
9650
+ });
9648
9651
 
9649
- // unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/success-filled.vue?vue&type=script&lang.ts
9650
- var success_filled_vue_vue_type_script_lang_default = {
9651
- name: "SuccessFilled"
9652
- };
9653
- var _hoisted_1249 = {
9654
- xmlns: "http://www.w3.org/2000/svg",
9655
- viewBox: "0 0 1024 1024"
9656
- },
9657
- _hoisted_2249 = /* @__PURE__ */createElementVNode("path", {
9658
- fill: "currentColor",
9659
- d: "M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896zm-55.808 536.384-99.52-99.584a38.4 38.4 0 1 0-54.336 54.336l126.72 126.72a38.272 38.272 0 0 0 54.336 0l262.4-262.464a38.4 38.4 0 1 0-54.272-54.336L456.192 600.384z"
9660
- }, null, -1
9661
- /* HOISTED */),
9662
- _hoisted_3248 = [_hoisted_2249];
9663
- function _sfc_render249(_ctx, _cache, $props, $setup, $data, $options) {
9664
- return openBlock(), createElementBlock("svg", _hoisted_1249, _hoisted_3248);
9665
- }
9666
- var success_filled_default = /* @__PURE__ */export_helper_default(success_filled_vue_vue_type_script_lang_default, [["render", _sfc_render249], ["__file", "success-filled.vue"]]);
9652
+ // src/components/success-filled.vue
9653
+ var success_filled_default = success_filled_vue_vue_type_script_setup_true_lang_default;
9654
+ var upload_filled_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */defineComponent({
9655
+ name: "UploadFilled",
9656
+ __name: "upload-filled",
9657
+ setup(__props) {
9658
+ return (_ctx, _cache) => (openBlock(), createElementBlock("svg", {
9659
+ xmlns: "http://www.w3.org/2000/svg",
9660
+ viewBox: "0 0 1024 1024"
9661
+ }, [createElementVNode("path", {
9662
+ fill: "currentColor",
9663
+ d: "M544 864V672h128L512 480 352 672h128v192H320v-1.6c-5.376.32-10.496 1.6-16 1.6A240 240 0 0 1 64 624c0-123.136 93.12-223.488 212.608-237.248A239.808 239.808 0 0 1 512 192a239.872 239.872 0 0 1 235.456 194.752c119.488 13.76 212.48 114.112 212.48 237.248a240 240 0 0 1-240 240c-5.376 0-10.56-1.28-16-1.6v1.6z"
9664
+ })]));
9665
+ }
9666
+ });
9667
9667
 
9668
- // unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/upload-filled.vue?vue&type=script&lang.ts
9669
- var upload_filled_vue_vue_type_script_lang_default = {
9670
- name: "UploadFilled"
9671
- };
9672
- var _hoisted_1274 = {
9673
- xmlns: "http://www.w3.org/2000/svg",
9674
- viewBox: "0 0 1024 1024"
9675
- },
9676
- _hoisted_2274 = /* @__PURE__ */createElementVNode("path", {
9677
- fill: "currentColor",
9678
- d: "M544 864V672h128L512 480 352 672h128v192H320v-1.6c-5.376.32-10.496 1.6-16 1.6A240 240 0 0 1 64 624c0-123.136 93.12-223.488 212.608-237.248A239.808 239.808 0 0 1 512 192a239.872 239.872 0 0 1 235.456 194.752c119.488 13.76 212.48 114.112 212.48 237.248a240 240 0 0 1-240 240c-5.376 0-10.56-1.28-16-1.6v1.6H544z"
9679
- }, null, -1
9680
- /* HOISTED */),
9681
- _hoisted_3273 = [_hoisted_2274];
9682
- function _sfc_render274(_ctx, _cache, $props, $setup, $data, $options) {
9683
- return openBlock(), createElementBlock("svg", _hoisted_1274, _hoisted_3273);
9684
- }
9685
- var upload_filled_default = /* @__PURE__ */export_helper_default(upload_filled_vue_vue_type_script_lang_default, [["render", _sfc_render274], ["__file", "upload-filled.vue"]]);
9668
+ // src/components/upload-filled.vue
9669
+ var upload_filled_default = upload_filled_vue_vue_type_script_setup_true_lang_default;
9686
9670
 
9687
9671
  var __defProp = Object.defineProperty;
9688
9672
  var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
9689
9673
  var __publicField = (obj, key, value) => {
9690
- __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
9674
+ __defNormalProp(obj, key + "" , value);
9691
9675
  return value;
9692
9676
  };
9693
9677
  var script = defineComponent({
@@ -89,7 +89,14 @@ declare const _default: import("vue").DefineComponent<{
89
89
  fileName: string;
90
90
  fileHash: string;
91
91
  fileSize: number;
92
- chunk: Blob;
92
+ chunk: {
93
+ readonly size: number;
94
+ readonly type: string;
95
+ arrayBuffer: () => Promise<ArrayBuffer>;
96
+ slice: (start?: number, end?: number, contentType?: string) => Blob;
97
+ stream: () => ReadableStream<Uint8Array>;
98
+ text: () => Promise<string>;
99
+ };
93
100
  hash: string;
94
101
  chunksLength: number;
95
102
  index: number;
@@ -98,7 +105,7 @@ declare const _default: import("vue").DefineComponent<{
98
105
  status: Status;
99
106
  }[]>;
100
107
  Status: typeof Status;
101
- filePrefixIcon: import("vue").ComputedRef<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<{}>>, {}>>;
108
+ filePrefixIcon: import("vue").ComputedRef<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>>;
102
109
  handlePause: () => void;
103
110
  merging: import("vue").Ref<boolean>;
104
111
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
@@ -52,6 +52,8 @@ export declare const props: {
52
52
  type: import("vue").PropType<"right">;
53
53
  default: string;
54
54
  };
55
+ emptyValues: ArrayConstructor;
56
+ valueOnClear: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor, BooleanConstructor, FunctionConstructor], unknown, unknown, undefined, boolean>;
55
57
  size: {
56
58
  readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
57
59
  readonly required: false;
@@ -106,8 +108,8 @@ export declare const props: {
106
108
  props: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("element-plus").CascaderProps) | (() => import("element-plus").CascaderProps) | ((new (...args: any[]) => import("element-plus").CascaderProps) | (() => import("element-plus").CascaderProps))[], unknown, unknown, () => import("element-plus").CascaderProps, boolean>;
107
109
  };
108
110
  export declare const emits: {
109
- "update:modelValue": (val: import("element-plus").CascaderValue) => boolean;
110
- change: (val: import("element-plus").CascaderValue) => boolean;
111
+ "update:modelValue": (_: import("element-plus").CascaderValue) => boolean;
112
+ change: (_: import("element-plus").CascaderValue) => boolean;
111
113
  focus: (evt: FocusEvent) => boolean;
112
114
  blur: (evt: FocusEvent) => boolean;
113
115
  visibleChange: (val: boolean) => boolean;
@@ -54,6 +54,8 @@ declare const _default: import("vue").DefineComponent<{
54
54
  type: import("vue").PropType<"right">;
55
55
  default: string;
56
56
  };
57
+ emptyValues: ArrayConstructor;
58
+ valueOnClear: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor, BooleanConstructor, FunctionConstructor], unknown, unknown, undefined, boolean>;
57
59
  size: {
58
60
  readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
59
61
  readonly required: false;
@@ -117,8 +119,8 @@ declare const _default: import("vue").DefineComponent<{
117
119
  options: import("vue").ComputedRef<import("element-plus").CascaderOption[]>;
118
120
  preInput: () => void;
119
121
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
120
- "update:modelValue": (val: import("element-plus").CascaderValue) => boolean;
121
- change: (val: import("element-plus").CascaderValue) => boolean;
122
+ "update:modelValue": (_: import("element-plus").CascaderValue) => boolean;
123
+ change: (_: import("element-plus").CascaderValue) => boolean;
122
124
  focus: (evt: FocusEvent) => boolean;
123
125
  blur: (evt: FocusEvent) => boolean;
124
126
  visibleChange: (val: boolean) => boolean;
@@ -178,6 +180,8 @@ declare const _default: import("vue").DefineComponent<{
178
180
  type: import("vue").PropType<"right">;
179
181
  default: string;
180
182
  };
183
+ emptyValues: ArrayConstructor;
184
+ valueOnClear: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor, BooleanConstructor, FunctionConstructor], unknown, unknown, undefined, boolean>;
181
185
  size: {
182
186
  readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
183
187
  readonly required: false;
@@ -231,8 +235,8 @@ declare const _default: import("vue").DefineComponent<{
231
235
  options: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("element-plus").CascaderOption[]) | (() => import("element-plus").CascaderOption[]) | ((new (...args: any[]) => import("element-plus").CascaderOption[]) | (() => import("element-plus").CascaderOption[]))[], unknown, unknown, () => import("element-plus").CascaderOption[], boolean>;
232
236
  props: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("element-plus").CascaderProps) | (() => import("element-plus").CascaderProps) | ((new (...args: any[]) => import("element-plus").CascaderProps) | (() => import("element-plus").CascaderProps))[], unknown, unknown, () => import("element-plus").CascaderProps, boolean>;
233
237
  }>> & {
234
- onChange?: (val: import("element-plus").CascaderValue) => any;
235
- "onUpdate:modelValue"?: (val: import("element-plus").CascaderValue) => any;
238
+ onChange?: (_: import("element-plus").CascaderValue) => any;
239
+ "onUpdate:modelValue"?: (_: import("element-plus").CascaderValue) => any;
236
240
  onFocus?: (evt: FocusEvent) => any;
237
241
  onBlur?: (evt: FocusEvent) => any;
238
242
  onVisibleChange?: (val: boolean) => any;
@@ -249,6 +253,7 @@ declare const _default: import("vue").DefineComponent<{
249
253
  inline: boolean;
250
254
  readonly: boolean;
251
255
  labelPosition: "right";
256
+ valueOnClear: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor, BooleanConstructor, FunctionConstructor], unknown, unknown>;
252
257
  disabled: boolean;
253
258
  clearable: boolean;
254
259
  validateEvent: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
@@ -7,4 +7,4 @@ export declare enum VarDatePickerType {
7
7
  export declare const VarDatePickerTypeOptions: VarDatePickerTypeMedia[];
8
8
  export declare const VarDatePickerTypeReflect: Record<VarDatePickerType, VarDatePickerTypeMedia>;
9
9
  export declare const ElDatePickerTypeOptions: ElDatePickerTypeMedia[];
10
- export declare const ElDatePickerTypeReflect: Record<"year" | "month" | "date" | "dates" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange", ElDatePickerTypeMedia>;
10
+ export declare const ElDatePickerTypeReflect: Record<"year" | "years" | "month" | "date" | "dates" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange", ElDatePickerTypeMedia>;
@@ -3,7 +3,7 @@ export declare const props: {
3
3
  modelValue: any;
4
4
  readonly: BooleanConstructor;
5
5
  type: {
6
- type: PropType<"year" | "month" | "date" | "dates" | "week" | "datetime" | "daterange" | "monthrange">;
6
+ type: PropType<"year" | "years" | "month" | "date" | "dates" | "week" | "datetime" | "daterange" | "monthrange">;
7
7
  default: string;
8
8
  };
9
9
  allowedDates: {
@@ -5,7 +5,7 @@ declare const _default: import("vue").DefineComponent<{
5
5
  modelValue: any;
6
6
  readonly: BooleanConstructor;
7
7
  type: {
8
- type: import("vue").PropType<"year" | "month" | "date" | "dates" | "week" | "datetime" | "daterange" | "monthrange">;
8
+ type: import("vue").PropType<"year" | "years" | "month" | "date" | "dates" | "week" | "datetime" | "daterange" | "monthrange">;
9
9
  default: string;
10
10
  };
11
11
  allowedDates: {
@@ -79,7 +79,7 @@ declare const _default: import("vue").DefineComponent<{
79
79
  modelValue: any;
80
80
  readonly: BooleanConstructor;
81
81
  type: {
82
- type: import("vue").PropType<"year" | "month" | "date" | "dates" | "week" | "datetime" | "daterange" | "monthrange">;
82
+ type: import("vue").PropType<"year" | "years" | "month" | "date" | "dates" | "week" | "datetime" | "daterange" | "monthrange">;
83
83
  default: string;
84
84
  };
85
85
  allowedDates: {
@@ -143,7 +143,7 @@ declare const _default: import("vue").DefineComponent<{
143
143
  required: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
144
144
  inlineMessage: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, BooleanConstructor], unknown, unknown>;
145
145
  showMessage: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
146
- type: "year" | "month" | "date" | "dates" | "week" | "datetime" | "daterange" | "monthrange";
146
+ type: "year" | "years" | "month" | "date" | "dates" | "week" | "datetime" | "daterange" | "monthrange";
147
147
  formItemSize: "default" | "small" | "large";
148
148
  formItemSlots: import("../../form-item/src/types").FormItemSlots;
149
149
  inline: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vunk/form",
3
- "version": "1.1.75",
3
+ "version": "1.1.76",
4
4
  "description": "",
5
5
  "main": "index.esm.js",
6
6
  "scripts": {