@vunk/form 1.2.2 → 1.3.1

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 (85) hide show
  1. package/components/button/src/index.vue.d.ts +282 -6
  2. package/components/cascader/src/ctx.d.ts +1 -1
  3. package/components/cascader/src/index.vue.d.ts +13672 -8
  4. package/components/checkbox/src/ctx.d.ts +1 -1
  5. package/components/checkbox/src/index.vue.d.ts +906 -10
  6. package/components/color-picker/src/index.vue.d.ts +10950 -7
  7. package/components/date-picker/src/ctx.d.ts +1 -1
  8. package/components/date-picker/src/index.vue.d.ts +225 -11
  9. package/components/date-picker-range/src/ctx.d.ts +1 -1
  10. package/components/date-picker-range/src/index.vue.d.ts +24 -12
  11. package/components/download-plus/index.cjs +4 -4
  12. package/components/download-plus/index.mjs +4 -4
  13. package/components/download-plus/src/index.vue.d.ts +822 -8
  14. package/components/esri-input-geojson/src/append.vue.d.ts +2232 -5
  15. package/components/esri-input-geojson/src/ctx.d.ts +1 -1
  16. package/components/esri-input-geojson/src/default-view.vue.d.ts +3 -3
  17. package/components/esri-input-geojson/src/index.vue.d.ts +723 -23
  18. package/components/esri-input-geojson/src/viewer.vue.d.ts +141 -10
  19. package/components/form/src/ctx.d.ts +1 -1
  20. package/components/form/src/index.vue.d.ts +373 -39
  21. package/components/form-item/index.cjs +3 -4
  22. package/components/form-item/index.mjs +3 -4
  23. package/components/form-item/src/index.vue.d.ts +185 -5
  24. package/components/form-item-renderer/src/index.vue.d.ts +5 -5
  25. package/components/form-item-renderer-template/src/index.vue.d.ts +4 -4
  26. package/components/geoinput/src/index.vue.d.ts +40 -17
  27. package/components/geoinput-read/src/append.vue.d.ts +379 -2
  28. package/components/geoinput-read/src/core.vue.d.ts +176 -14
  29. package/components/geoinput-read/src/ctx.d.ts +1 -1
  30. package/components/geoinput-read/src/index.vue.d.ts +743 -15
  31. package/components/geoinput-update/src/append.vue.d.ts +2231 -5
  32. package/components/geoinput-update/src/ctx.d.ts +1 -1
  33. package/components/geoinput-update/src/index.vue.d.ts +814 -20
  34. package/components/input/index.cjs +2 -2
  35. package/components/input/index.mjs +2 -2
  36. package/components/input/src/index.vue.d.ts +479 -13
  37. package/components/input-link/src/index.vue.d.ts +25 -13
  38. package/components/input-number/src/ctx.d.ts +1 -1
  39. package/components/input-number/src/index.vue.d.ts +1579 -12
  40. package/components/monaco-editor/index.cjs +83 -0
  41. package/components/monaco-editor/index.css +3 -0
  42. package/components/monaco-editor/index.d.ts +4 -0
  43. package/components/monaco-editor/index.mjs +77 -0
  44. package/components/monaco-editor/src/ctx.d.ts +70 -0
  45. package/components/monaco-editor/src/index.vue.d.ts +209 -0
  46. package/components/monaco-editor/src/types.d.ts +7 -0
  47. package/components/radio/src/index.vue.d.ts +444 -10
  48. package/components/select/src/ctx.d.ts +3 -3
  49. package/components/select/src/index.vue.d.ts +12944 -31
  50. package/components/slider/index.cjs +3 -3
  51. package/components/slider/index.mjs +3 -3
  52. package/components/slider/src/index.vue.d.ts +25 -12
  53. package/components/switch/src/index.vue.d.ts +319 -8
  54. package/components/templates-default/index.cjs +41 -26
  55. package/components/templates-default/index.mjs +41 -26
  56. package/components/templates-default/src/index.vue.d.ts +162 -7
  57. package/components/templates-element-plus/src/index.vue.d.ts +193 -6
  58. package/components/templates-esri/src/index.vue.d.ts +30 -7
  59. package/components/templates-layout/src/index.vue.d.ts +148 -6
  60. package/components/templates-mapbox/src/index.vue.d.ts +30 -7
  61. package/components/templates-variant/src/index.vue.d.ts +30 -7
  62. package/components/upload/index.cjs +2 -2
  63. package/components/upload/index.mjs +2 -2
  64. package/components/upload/src/ctx.d.ts +1 -1
  65. package/components/upload/src/file.vue.d.ts +263 -6
  66. package/components/upload/src/index.vue.d.ts +2366 -9
  67. package/components/upload-plus/index.cjs +19 -20
  68. package/components/upload-plus/index.mjs +19 -20
  69. package/components/upload-plus/src/index.vue.d.ts +874 -12
  70. package/components/van-cascader/src/index.vue.d.ts +13048 -11
  71. package/components/var-datetime-picker/src/index.vue.d.ts +624 -10
  72. package/components/vditor/index.cjs +43 -408
  73. package/components/vditor/index.mjs +44 -409
  74. package/components/vditor/src/ctx.d.ts +52 -6
  75. package/components/vditor/src/index.vue.d.ts +274 -16
  76. package/components/vditor/src/types.d.ts +7 -9
  77. package/composables/useSourceManager.d.ts +1 -1
  78. package/index.css +4 -13
  79. package/package.json +9 -4
  80. package/shared/element-plus/ctx.d.ts +3 -3
  81. package/shared/element-plus/instances.d.ts +2 -2
  82. package/components/vditor/index.css +0 -12
  83. package/components/vditor/src/handle-fullscreen.vue.d.ts +0 -18
  84. package/components/vditor/src/handle-value.vue.d.ts +0 -18
  85. package/components/vditor/src/use.d.ts +0 -4
@@ -55,8 +55,8 @@ var _sfc_main = vue.defineComponent({
55
55
  VkfInputLink: inputLink.VkfInputLink,
56
56
  VkfSlider: slider.VkfSlider
57
57
  },
58
- emits,
59
58
  props,
59
+ emits,
60
60
  setup(props2) {
61
61
  const getFormDataValue = (raw) => {
62
62
  const prop = raw.prop;
@@ -109,12 +109,13 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
109
109
  default: vue.withCtx(({ data: sourceData, templateIf, raw }) => [
110
110
  templateIf(_ctx.data) ? (vue.openBlock(), vue.createBlock(_component_VkfColorPicker, vue.mergeProps({
111
111
  key: 0,
112
- modelValue: _ctx.getFormDataValue(raw),
112
+ "model-value": _ctx.getFormDataValue(raw)
113
+ }, sourceData, {
113
114
  "onUpdate:modelValue": ($event) => _ctx.$emit("setData", {
114
115
  k: sourceData.prop,
115
116
  v: $event
116
117
  })
117
- }, sourceData), null, 16, ["modelValue", "onUpdate:modelValue"])) : vue.createCommentVNode("v-if", true)
118
+ }), null, 16, ["model-value", "onUpdate:modelValue"])) : vue.createCommentVNode("v-if", true)
118
119
  ]),
119
120
  _: 1
120
121
  /* STABLE */
@@ -123,12 +124,13 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
123
124
  default: vue.withCtx(({ data: sourceData, templateIf, raw }) => [
124
125
  templateIf(_ctx.data) ? (vue.openBlock(), vue.createBlock(_component_VkfUpload, vue.mergeProps({
125
126
  key: 0,
126
- fileList: _ctx.getFormDataValue(raw),
127
+ "file-list": _ctx.getFormDataValue(raw)
128
+ }, sourceData, {
127
129
  "onUpdate:fileList": ($event) => _ctx.$emit("setData", {
128
130
  k: sourceData.prop,
129
131
  v: $event
130
132
  })
131
- }, sourceData), null, 16, ["fileList", "onUpdate:fileList"])) : vue.createCommentVNode("v-if", true)
133
+ }), null, 16, ["file-list", "onUpdate:fileList"])) : vue.createCommentVNode("v-if", true)
132
134
  ]),
133
135
  _: 1
134
136
  /* STABLE */
@@ -137,12 +139,13 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
137
139
  default: vue.withCtx(({ data: sourceData, templateIf, raw }) => [
138
140
  templateIf(_ctx.data) ? (vue.openBlock(), vue.createBlock(_component_VkfCheckbox, vue.mergeProps({
139
141
  key: 0,
140
- modelValue: _ctx.getFormDataValue(raw),
142
+ "model-value": _ctx.getFormDataValue(raw)
143
+ }, sourceData, {
141
144
  "onUpdate:modelValue": ($event) => _ctx.$emit("setData", {
142
145
  k: sourceData.prop,
143
146
  v: $event
144
147
  })
145
- }, sourceData), null, 16, ["modelValue", "onUpdate:modelValue"])) : vue.createCommentVNode("v-if", true)
148
+ }), null, 16, ["model-value", "onUpdate:modelValue"])) : vue.createCommentVNode("v-if", true)
146
149
  ]),
147
150
  _: 1
148
151
  /* STABLE */
@@ -151,12 +154,13 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
151
154
  default: vue.withCtx(({ data: sourceData, templateIf, raw }) => [
152
155
  templateIf(_ctx.data) ? (vue.openBlock(), vue.createBlock(_component_VkfRadio, vue.mergeProps({
153
156
  key: 0,
154
- modelValue: _ctx.getFormDataValue(raw),
157
+ "model-value": _ctx.getFormDataValue(raw)
158
+ }, sourceData, {
155
159
  "onUpdate:modelValue": ($event) => _ctx.$emit("setData", {
156
160
  k: sourceData.prop,
157
161
  v: $event
158
162
  })
159
- }, sourceData), null, 16, ["modelValue", "onUpdate:modelValue"])) : vue.createCommentVNode("v-if", true)
163
+ }), null, 16, ["model-value", "onUpdate:modelValue"])) : vue.createCommentVNode("v-if", true)
160
164
  ]),
161
165
  _: 1
162
166
  /* STABLE */
@@ -165,12 +169,13 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
165
169
  default: vue.withCtx(({ data: sourceData, templateIf, raw }) => [
166
170
  templateIf(_ctx.data) ? (vue.openBlock(), vue.createBlock(_component_VkfInput, vue.mergeProps({
167
171
  key: 0,
168
- modelValue: _ctx.getFormDataValue(raw),
172
+ "model-value": _ctx.getFormDataValue(raw)
173
+ }, sourceData, {
169
174
  "onUpdate:modelValue": ($event) => _ctx.$emit("setData", {
170
175
  k: sourceData.prop,
171
176
  v: $event
172
177
  })
173
- }, sourceData), null, 16, ["modelValue", "onUpdate:modelValue"])) : vue.createCommentVNode("v-if", true)
178
+ }), null, 16, ["model-value", "onUpdate:modelValue"])) : vue.createCommentVNode("v-if", true)
174
179
  ]),
175
180
  _: 1
176
181
  /* STABLE */
@@ -179,12 +184,13 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
179
184
  default: vue.withCtx(({ data: sourceData, templateIf, raw }) => [
180
185
  templateIf(_ctx.data) ? (vue.openBlock(), vue.createBlock(_component_VkfSwitch, vue.mergeProps({
181
186
  key: 0,
182
- modelValue: _ctx.getFormDataValue(raw),
187
+ "model-value": _ctx.getFormDataValue(raw)
188
+ }, sourceData, {
183
189
  "onUpdate:modelValue": ($event) => _ctx.$emit("setData", {
184
190
  k: sourceData.prop,
185
191
  v: $event
186
192
  })
187
- }, sourceData), null, 16, ["modelValue", "onUpdate:modelValue"])) : vue.createCommentVNode("v-if", true)
193
+ }), null, 16, ["model-value", "onUpdate:modelValue"])) : vue.createCommentVNode("v-if", true)
188
194
  ]),
189
195
  _: 1
190
196
  /* STABLE */
@@ -193,12 +199,13 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
193
199
  default: vue.withCtx(({ data: sourceData, templateIf, raw }) => [
194
200
  templateIf(_ctx.data) ? (vue.openBlock(), vue.createBlock(_component_VkfSelect, vue.mergeProps({
195
201
  key: 0,
196
- modelValue: _ctx.getFormDataValue(raw),
202
+ "model-value": _ctx.getFormDataValue(raw)
203
+ }, sourceData, {
197
204
  "onUpdate:modelValue": ($event) => _ctx.$emit("setData", {
198
205
  k: sourceData.prop,
199
206
  v: $event
200
207
  })
201
- }, sourceData), null, 16, ["modelValue", "onUpdate:modelValue"])) : vue.createCommentVNode("v-if", true)
208
+ }), null, 16, ["model-value", "onUpdate:modelValue"])) : vue.createCommentVNode("v-if", true)
202
209
  ]),
203
210
  _: 1
204
211
  /* STABLE */
@@ -207,12 +214,13 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
207
214
  default: vue.withCtx(({ data: sourceData, templateIf, raw }) => [
208
215
  templateIf(_ctx.data) ? (vue.openBlock(), vue.createBlock(_component_VkfDatePicker, vue.mergeProps({
209
216
  key: 0,
210
- modelValue: _ctx.getFormDataValue(raw),
217
+ "model-value": _ctx.getFormDataValue(raw)
218
+ }, sourceData, {
211
219
  "onUpdate:modelValue": ($event) => _ctx.$emit("setData", {
212
220
  k: sourceData.prop,
213
221
  v: $event
214
222
  })
215
- }, sourceData), null, 16, ["modelValue", "onUpdate:modelValue"])) : vue.createCommentVNode("v-if", true)
223
+ }), null, 16, ["model-value", "onUpdate:modelValue"])) : vue.createCommentVNode("v-if", true)
216
224
  ]),
217
225
  _: 1
218
226
  /* STABLE */
@@ -221,12 +229,13 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
221
229
  default: vue.withCtx(({ data: sourceData, templateIf, raw }) => [
222
230
  templateIf(_ctx.data) ? (vue.openBlock(), vue.createBlock(_component_VkfInputNumber, vue.mergeProps({
223
231
  key: 0,
224
- modelValue: _ctx.getFormDataValue(raw),
232
+ "model-value": _ctx.getFormDataValue(raw)
233
+ }, sourceData, {
225
234
  "onUpdate:modelValue": ($event) => _ctx.$emit("setData", {
226
235
  k: sourceData.prop,
227
236
  v: $event
228
237
  })
229
- }, sourceData), null, 16, ["modelValue", "onUpdate:modelValue"])) : vue.createCommentVNode("v-if", true)
238
+ }), null, 16, ["model-value", "onUpdate:modelValue"])) : vue.createCommentVNode("v-if", true)
230
239
  ]),
231
240
  _: 1
232
241
  /* STABLE */
@@ -235,12 +244,13 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
235
244
  default: vue.withCtx(({ data: sourceData, templateIf, raw }) => [
236
245
  templateIf(_ctx.data) ? (vue.openBlock(), vue.createBlock(_component_VkfCascader, vue.mergeProps({
237
246
  key: 0,
238
- modelValue: _ctx.getFormDataValue(raw),
247
+ "model-value": _ctx.getFormDataValue(raw)
248
+ }, sourceData, {
239
249
  "onUpdate:modelValue": ($event) => _ctx.$emit("setData", {
240
250
  k: sourceData.prop,
241
251
  v: $event
242
252
  })
243
- }, sourceData), null, 16, ["modelValue", "onUpdate:modelValue"])) : vue.createCommentVNode("v-if", true)
253
+ }), null, 16, ["model-value", "onUpdate:modelValue"])) : vue.createCommentVNode("v-if", true)
244
254
  ]),
245
255
  _: 1
246
256
  /* STABLE */
@@ -250,12 +260,13 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
250
260
  default: vue.withCtx(({ data: sourceData, templateIf, raw }) => [
251
261
  templateIf(_ctx.data) ? (vue.openBlock(), vue.createBlock(_component_VkfInputLink, vue.mergeProps({
252
262
  key: 0,
253
- modelValue: _ctx.getFormDataValue(raw),
263
+ "model-value": _ctx.getFormDataValue(raw)
264
+ }, sourceData, {
254
265
  "onUpdate:modelValue": ($event) => _ctx.$emit("setData", {
255
266
  k: sourceData.prop,
256
267
  v: $event
257
268
  })
258
- }, sourceData), null, 16, ["modelValue", "onUpdate:modelValue"])) : vue.createCommentVNode("v-if", true)
269
+ }), null, 16, ["model-value", "onUpdate:modelValue"])) : vue.createCommentVNode("v-if", true)
259
270
  ]),
260
271
  _: 1
261
272
  /* STABLE */
@@ -265,12 +276,13 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
265
276
  default: vue.withCtx(({ data: sourceData, templateIf, raw }) => [
266
277
  templateIf(_ctx.data) ? (vue.openBlock(), vue.createBlock(_component_VkfSlider, vue.mergeProps({
267
278
  key: 0,
268
- modelValue: _ctx.getFormDataValue(raw),
279
+ "model-value": _ctx.getFormDataValue(raw)
280
+ }, sourceData, {
269
281
  "onUpdate:modelValue": ($event) => _ctx.$emit("setData", {
270
282
  k: sourceData.prop,
271
283
  v: $event
272
284
  })
273
- }, sourceData), null, 16, ["modelValue", "onUpdate:modelValue"])) : vue.createCommentVNode("v-if", true)
285
+ }), null, 16, ["model-value", "onUpdate:modelValue"])) : vue.createCommentVNode("v-if", true)
274
286
  ]),
275
287
  _: 1
276
288
  /* STABLE */
@@ -300,7 +312,10 @@ var types = /*#__PURE__*/Object.freeze({
300
312
  });
301
313
 
302
314
  VkfTemplatesDefault.install = (app) => {
303
- app.component(VkfTemplatesDefault.name, VkfTemplatesDefault);
315
+ app.component(
316
+ VkfTemplatesDefault.name || "VkfTemplatesDefault",
317
+ VkfTemplatesDefault
318
+ );
304
319
  };
305
320
 
306
321
  exports.VkfTemplatesDefault = VkfTemplatesDefault;
@@ -51,8 +51,8 @@ var _sfc_main = defineComponent({
51
51
  VkfInputLink,
52
52
  VkfSlider
53
53
  },
54
- emits,
55
54
  props,
55
+ emits,
56
56
  setup(props2) {
57
57
  const getFormDataValue = (raw) => {
58
58
  const prop = raw.prop;
@@ -105,12 +105,13 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
105
105
  default: withCtx(({ data: sourceData, templateIf, raw }) => [
106
106
  templateIf(_ctx.data) ? (openBlock(), createBlock(_component_VkfColorPicker, mergeProps({
107
107
  key: 0,
108
- modelValue: _ctx.getFormDataValue(raw),
108
+ "model-value": _ctx.getFormDataValue(raw)
109
+ }, sourceData, {
109
110
  "onUpdate:modelValue": ($event) => _ctx.$emit("setData", {
110
111
  k: sourceData.prop,
111
112
  v: $event
112
113
  })
113
- }, sourceData), null, 16, ["modelValue", "onUpdate:modelValue"])) : createCommentVNode("v-if", true)
114
+ }), null, 16, ["model-value", "onUpdate:modelValue"])) : createCommentVNode("v-if", true)
114
115
  ]),
115
116
  _: 1
116
117
  /* STABLE */
@@ -119,12 +120,13 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
119
120
  default: withCtx(({ data: sourceData, templateIf, raw }) => [
120
121
  templateIf(_ctx.data) ? (openBlock(), createBlock(_component_VkfUpload, mergeProps({
121
122
  key: 0,
122
- fileList: _ctx.getFormDataValue(raw),
123
+ "file-list": _ctx.getFormDataValue(raw)
124
+ }, sourceData, {
123
125
  "onUpdate:fileList": ($event) => _ctx.$emit("setData", {
124
126
  k: sourceData.prop,
125
127
  v: $event
126
128
  })
127
- }, sourceData), null, 16, ["fileList", "onUpdate:fileList"])) : createCommentVNode("v-if", true)
129
+ }), null, 16, ["file-list", "onUpdate:fileList"])) : createCommentVNode("v-if", true)
128
130
  ]),
129
131
  _: 1
130
132
  /* STABLE */
@@ -133,12 +135,13 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
133
135
  default: withCtx(({ data: sourceData, templateIf, raw }) => [
134
136
  templateIf(_ctx.data) ? (openBlock(), createBlock(_component_VkfCheckbox, mergeProps({
135
137
  key: 0,
136
- modelValue: _ctx.getFormDataValue(raw),
138
+ "model-value": _ctx.getFormDataValue(raw)
139
+ }, sourceData, {
137
140
  "onUpdate:modelValue": ($event) => _ctx.$emit("setData", {
138
141
  k: sourceData.prop,
139
142
  v: $event
140
143
  })
141
- }, sourceData), null, 16, ["modelValue", "onUpdate:modelValue"])) : createCommentVNode("v-if", true)
144
+ }), null, 16, ["model-value", "onUpdate:modelValue"])) : createCommentVNode("v-if", true)
142
145
  ]),
143
146
  _: 1
144
147
  /* STABLE */
@@ -147,12 +150,13 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
147
150
  default: withCtx(({ data: sourceData, templateIf, raw }) => [
148
151
  templateIf(_ctx.data) ? (openBlock(), createBlock(_component_VkfRadio, mergeProps({
149
152
  key: 0,
150
- modelValue: _ctx.getFormDataValue(raw),
153
+ "model-value": _ctx.getFormDataValue(raw)
154
+ }, sourceData, {
151
155
  "onUpdate:modelValue": ($event) => _ctx.$emit("setData", {
152
156
  k: sourceData.prop,
153
157
  v: $event
154
158
  })
155
- }, sourceData), null, 16, ["modelValue", "onUpdate:modelValue"])) : createCommentVNode("v-if", true)
159
+ }), null, 16, ["model-value", "onUpdate:modelValue"])) : createCommentVNode("v-if", true)
156
160
  ]),
157
161
  _: 1
158
162
  /* STABLE */
@@ -161,12 +165,13 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
161
165
  default: withCtx(({ data: sourceData, templateIf, raw }) => [
162
166
  templateIf(_ctx.data) ? (openBlock(), createBlock(_component_VkfInput, mergeProps({
163
167
  key: 0,
164
- modelValue: _ctx.getFormDataValue(raw),
168
+ "model-value": _ctx.getFormDataValue(raw)
169
+ }, sourceData, {
165
170
  "onUpdate:modelValue": ($event) => _ctx.$emit("setData", {
166
171
  k: sourceData.prop,
167
172
  v: $event
168
173
  })
169
- }, sourceData), null, 16, ["modelValue", "onUpdate:modelValue"])) : createCommentVNode("v-if", true)
174
+ }), null, 16, ["model-value", "onUpdate:modelValue"])) : createCommentVNode("v-if", true)
170
175
  ]),
171
176
  _: 1
172
177
  /* STABLE */
@@ -175,12 +180,13 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
175
180
  default: withCtx(({ data: sourceData, templateIf, raw }) => [
176
181
  templateIf(_ctx.data) ? (openBlock(), createBlock(_component_VkfSwitch, mergeProps({
177
182
  key: 0,
178
- modelValue: _ctx.getFormDataValue(raw),
183
+ "model-value": _ctx.getFormDataValue(raw)
184
+ }, sourceData, {
179
185
  "onUpdate:modelValue": ($event) => _ctx.$emit("setData", {
180
186
  k: sourceData.prop,
181
187
  v: $event
182
188
  })
183
- }, sourceData), null, 16, ["modelValue", "onUpdate:modelValue"])) : createCommentVNode("v-if", true)
189
+ }), null, 16, ["model-value", "onUpdate:modelValue"])) : createCommentVNode("v-if", true)
184
190
  ]),
185
191
  _: 1
186
192
  /* STABLE */
@@ -189,12 +195,13 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
189
195
  default: withCtx(({ data: sourceData, templateIf, raw }) => [
190
196
  templateIf(_ctx.data) ? (openBlock(), createBlock(_component_VkfSelect, mergeProps({
191
197
  key: 0,
192
- modelValue: _ctx.getFormDataValue(raw),
198
+ "model-value": _ctx.getFormDataValue(raw)
199
+ }, sourceData, {
193
200
  "onUpdate:modelValue": ($event) => _ctx.$emit("setData", {
194
201
  k: sourceData.prop,
195
202
  v: $event
196
203
  })
197
- }, sourceData), null, 16, ["modelValue", "onUpdate:modelValue"])) : createCommentVNode("v-if", true)
204
+ }), null, 16, ["model-value", "onUpdate:modelValue"])) : createCommentVNode("v-if", true)
198
205
  ]),
199
206
  _: 1
200
207
  /* STABLE */
@@ -203,12 +210,13 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
203
210
  default: withCtx(({ data: sourceData, templateIf, raw }) => [
204
211
  templateIf(_ctx.data) ? (openBlock(), createBlock(_component_VkfDatePicker, mergeProps({
205
212
  key: 0,
206
- modelValue: _ctx.getFormDataValue(raw),
213
+ "model-value": _ctx.getFormDataValue(raw)
214
+ }, sourceData, {
207
215
  "onUpdate:modelValue": ($event) => _ctx.$emit("setData", {
208
216
  k: sourceData.prop,
209
217
  v: $event
210
218
  })
211
- }, sourceData), null, 16, ["modelValue", "onUpdate:modelValue"])) : createCommentVNode("v-if", true)
219
+ }), null, 16, ["model-value", "onUpdate:modelValue"])) : createCommentVNode("v-if", true)
212
220
  ]),
213
221
  _: 1
214
222
  /* STABLE */
@@ -217,12 +225,13 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
217
225
  default: withCtx(({ data: sourceData, templateIf, raw }) => [
218
226
  templateIf(_ctx.data) ? (openBlock(), createBlock(_component_VkfInputNumber, mergeProps({
219
227
  key: 0,
220
- modelValue: _ctx.getFormDataValue(raw),
228
+ "model-value": _ctx.getFormDataValue(raw)
229
+ }, sourceData, {
221
230
  "onUpdate:modelValue": ($event) => _ctx.$emit("setData", {
222
231
  k: sourceData.prop,
223
232
  v: $event
224
233
  })
225
- }, sourceData), null, 16, ["modelValue", "onUpdate:modelValue"])) : createCommentVNode("v-if", true)
234
+ }), null, 16, ["model-value", "onUpdate:modelValue"])) : createCommentVNode("v-if", true)
226
235
  ]),
227
236
  _: 1
228
237
  /* STABLE */
@@ -231,12 +240,13 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
231
240
  default: withCtx(({ data: sourceData, templateIf, raw }) => [
232
241
  templateIf(_ctx.data) ? (openBlock(), createBlock(_component_VkfCascader, mergeProps({
233
242
  key: 0,
234
- modelValue: _ctx.getFormDataValue(raw),
243
+ "model-value": _ctx.getFormDataValue(raw)
244
+ }, sourceData, {
235
245
  "onUpdate:modelValue": ($event) => _ctx.$emit("setData", {
236
246
  k: sourceData.prop,
237
247
  v: $event
238
248
  })
239
- }, sourceData), null, 16, ["modelValue", "onUpdate:modelValue"])) : createCommentVNode("v-if", true)
249
+ }), null, 16, ["model-value", "onUpdate:modelValue"])) : createCommentVNode("v-if", true)
240
250
  ]),
241
251
  _: 1
242
252
  /* STABLE */
@@ -246,12 +256,13 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
246
256
  default: withCtx(({ data: sourceData, templateIf, raw }) => [
247
257
  templateIf(_ctx.data) ? (openBlock(), createBlock(_component_VkfInputLink, mergeProps({
248
258
  key: 0,
249
- modelValue: _ctx.getFormDataValue(raw),
259
+ "model-value": _ctx.getFormDataValue(raw)
260
+ }, sourceData, {
250
261
  "onUpdate:modelValue": ($event) => _ctx.$emit("setData", {
251
262
  k: sourceData.prop,
252
263
  v: $event
253
264
  })
254
- }, sourceData), null, 16, ["modelValue", "onUpdate:modelValue"])) : createCommentVNode("v-if", true)
265
+ }), null, 16, ["model-value", "onUpdate:modelValue"])) : createCommentVNode("v-if", true)
255
266
  ]),
256
267
  _: 1
257
268
  /* STABLE */
@@ -261,12 +272,13 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
261
272
  default: withCtx(({ data: sourceData, templateIf, raw }) => [
262
273
  templateIf(_ctx.data) ? (openBlock(), createBlock(_component_VkfSlider, mergeProps({
263
274
  key: 0,
264
- modelValue: _ctx.getFormDataValue(raw),
275
+ "model-value": _ctx.getFormDataValue(raw)
276
+ }, sourceData, {
265
277
  "onUpdate:modelValue": ($event) => _ctx.$emit("setData", {
266
278
  k: sourceData.prop,
267
279
  v: $event
268
280
  })
269
- }, sourceData), null, 16, ["modelValue", "onUpdate:modelValue"])) : createCommentVNode("v-if", true)
281
+ }), null, 16, ["model-value", "onUpdate:modelValue"])) : createCommentVNode("v-if", true)
270
282
  ]),
271
283
  _: 1
272
284
  /* STABLE */
@@ -296,7 +308,10 @@ var types = /*#__PURE__*/Object.freeze({
296
308
  });
297
309
 
298
310
  VkfTemplatesDefault.install = (app) => {
299
- app.component(VkfTemplatesDefault.name, VkfTemplatesDefault);
311
+ app.component(
312
+ VkfTemplatesDefault.name || "VkfTemplatesDefault",
313
+ VkfTemplatesDefault
314
+ );
300
315
  };
301
316
 
302
317
  export { VkfTemplatesDefault, types as __VkfTemplatesDefault, VkfTemplatesDefault as default };
@@ -1,5 +1,5 @@
1
1
  import { CoreSource } from './types';
2
- declare const _default: import("vue").DefineComponent<{
2
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
3
3
  data: {
4
4
  type: import("vue").PropType<Record<string, any>>;
5
5
  default: () => {};
@@ -11,13 +11,13 @@ declare const _default: import("vue").DefineComponent<{
11
11
  data: Record<string, any>;
12
12
  }) => import("@vunk/core").IntoUndefined;
13
13
  };
14
- }, {
14
+ }>, {
15
15
  pickObject: <T extends import("@vunk/core").NormalObject, EX extends (keyof T)[], KI extends keyof T>(data: T, opts?: {
16
16
  excludes?: EX;
17
17
  includes?: KI[];
18
18
  }) => { [P in EX extends (infer KE)[] ? Exclude<KI, KE> : KI]: T[P]; };
19
19
  getFormDataValue: (raw: CoreSource) => any;
20
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
20
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
21
21
  setData: (e: import("@vunk/core").SetDataEvent) => import("@vunk/core").SetDataEvent;
22
22
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
23
23
  data: {
@@ -31,13 +31,168 @@ declare const _default: import("vue").DefineComponent<{
31
31
  data: Record<string, any>;
32
32
  }) => import("@vunk/core").IntoUndefined;
33
33
  };
34
- }>> & {
34
+ }>> & Readonly<{
35
35
  onSetData?: (e: import("@vunk/core").SetDataEvent) => any;
36
- }, {
37
- data: {};
36
+ }>, {
37
+ data: Record<string, any>;
38
38
  createIntoUndefined: (arg: {
39
39
  raw: any;
40
40
  data: Record<string, any>;
41
41
  }) => import("@vunk/core").IntoUndefined;
42
- }, {}>;
42
+ }, {}, {
43
+ VkfFormItemRendererTemplate: {
44
+ new (...args: any[]): any;
45
+ __isFragment?: never;
46
+ __isTeleport?: never;
47
+ __isSuspense?: never;
48
+ } & 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, {
49
+ [x: string]: any;
50
+ [x: symbol]: any;
51
+ }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
52
+ install(app: import("vue").App): void;
53
+ };
54
+ VkfInput: {
55
+ new (...args: any[]): any;
56
+ __isFragment?: never;
57
+ __isTeleport?: never;
58
+ __isSuspense?: never;
59
+ } & 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, {
60
+ [x: string]: any;
61
+ [x: symbol]: any;
62
+ }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
63
+ install(app: import("vue").App): void;
64
+ };
65
+ VkfSwitch: {
66
+ new (...args: any[]): any;
67
+ __isFragment?: never;
68
+ __isTeleport?: never;
69
+ __isSuspense?: never;
70
+ } & 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, {
71
+ [x: string]: any;
72
+ [x: symbol]: any;
73
+ }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
74
+ install(app: import("vue").App): void;
75
+ };
76
+ VkfSelect: {
77
+ new (...args: any[]): any;
78
+ __isFragment?: never;
79
+ __isTeleport?: never;
80
+ __isSuspense?: never;
81
+ } & 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, {
82
+ [x: string]: any;
83
+ [x: symbol]: any;
84
+ }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
85
+ install(app: import("vue").App): void;
86
+ };
87
+ VkfDatePicker: {
88
+ new (...args: any[]): any;
89
+ __isFragment?: never;
90
+ __isTeleport?: never;
91
+ __isSuspense?: never;
92
+ } & 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, {
93
+ [x: string]: any;
94
+ [x: symbol]: any;
95
+ }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
96
+ install(app: import("vue").App): void;
97
+ };
98
+ VkfInputNumber: {
99
+ new (...args: any[]): any;
100
+ __isFragment?: never;
101
+ __isTeleport?: never;
102
+ __isSuspense?: never;
103
+ } & 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, {
104
+ [x: string]: any;
105
+ [x: symbol]: any;
106
+ }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
107
+ install(app: import("vue").App): void;
108
+ };
109
+ VkfRadio: {
110
+ new (...args: any[]): any;
111
+ __isFragment?: never;
112
+ __isTeleport?: never;
113
+ __isSuspense?: never;
114
+ } & 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, {
115
+ [x: string]: any;
116
+ [x: symbol]: any;
117
+ }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
118
+ install(app: import("vue").App): void;
119
+ };
120
+ VkfCheckbox: {
121
+ new (...args: any[]): any;
122
+ __isFragment?: never;
123
+ __isTeleport?: never;
124
+ __isSuspense?: never;
125
+ } & 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, {
126
+ [x: string]: any;
127
+ [x: symbol]: any;
128
+ }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
129
+ install(app: import("vue").App): void;
130
+ };
131
+ VkfUpload: {
132
+ new (...args: any[]): any;
133
+ __isFragment?: never;
134
+ __isTeleport?: never;
135
+ __isSuspense?: never;
136
+ } & 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, {
137
+ [x: string]: any;
138
+ [x: symbol]: any;
139
+ }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
140
+ install(app: import("vue").App): void;
141
+ };
142
+ VkfColorPicker: {
143
+ new (...args: any[]): any;
144
+ __isFragment?: never;
145
+ __isTeleport?: never;
146
+ __isSuspense?: never;
147
+ } & 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, {
148
+ [x: string]: any;
149
+ [x: symbol]: any;
150
+ }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
151
+ install(app: import("vue").App): void;
152
+ };
153
+ VkfButton: {
154
+ new (...args: any[]): any;
155
+ __isFragment?: never;
156
+ __isTeleport?: never;
157
+ __isSuspense?: never;
158
+ } & 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, {
159
+ [x: string]: any;
160
+ [x: symbol]: any;
161
+ }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
162
+ install(app: import("vue").App): void;
163
+ };
164
+ VkfCascader: {
165
+ new (...args: any[]): any;
166
+ __isFragment?: never;
167
+ __isTeleport?: never;
168
+ __isSuspense?: never;
169
+ } & 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, {
170
+ [x: string]: any;
171
+ [x: symbol]: any;
172
+ }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
173
+ install(app: import("vue").App): void;
174
+ };
175
+ VkfInputLink: {
176
+ new (...args: any[]): any;
177
+ __isFragment?: never;
178
+ __isTeleport?: never;
179
+ __isSuspense?: never;
180
+ } & 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, {
181
+ [x: string]: any;
182
+ [x: symbol]: any;
183
+ }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
184
+ install(app: import("vue").App): void;
185
+ };
186
+ VkfSlider: {
187
+ new (...args: any[]): any;
188
+ __isFragment?: never;
189
+ __isTeleport?: never;
190
+ __isSuspense?: never;
191
+ } & 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, {
192
+ [x: string]: any;
193
+ [x: symbol]: any;
194
+ }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
195
+ install(app: import("vue").App): void;
196
+ };
197
+ }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
43
198
  export default _default;