@vunk/form 2.14.13 → 2.14.15
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.
- package/components/card-input-collection/index.cjs +27 -11
- package/components/card-input-collection/index.mjs +28 -12
- package/components/card-input-collection/src/core.vue.d.ts +1100 -0
- package/components/card-input-collection/src/ctx.d.ts +7 -7
- package/components/card-input-collection/src/index.vue.d.ts +17 -833
- package/components/card-input-collection/src/types.d.ts +1 -1
- package/components/dialog-input-collection/src/dialog-form.vue.d.ts +1 -1
- package/components/dialog-input-collection/src/index.vue.d.ts +1 -1
- package/components/form-item/index.cjs +4 -1
- package/components/form-item/index.css +3 -0
- package/components/form-item/index.mjs +4 -1
- package/components/input-collection/index.cjs +47 -8
- package/components/input-collection/index.mjs +48 -9
- package/components/input-collection/src/core.vue.d.ts +1178 -0
- package/components/input-collection/src/ctx.d.ts +22 -1
- package/components/input-collection/src/index.vue.d.ts +45 -879
- package/index.css +3 -0
- package/package.json +1 -1
|
@@ -42,13 +42,6 @@ const props = {
|
|
|
42
42
|
type: Object,
|
|
43
43
|
default: () => ({})
|
|
44
44
|
},
|
|
45
|
-
/**
|
|
46
|
-
* @description 保留最后一个不被删除
|
|
47
|
-
*/
|
|
48
|
-
keepLast: {
|
|
49
|
-
type: Boolean,
|
|
50
|
-
default: false
|
|
51
|
-
},
|
|
52
45
|
/**
|
|
53
46
|
* @description 开启 form-item 的 label 上的操作区域, 在labelPosition为top时生效
|
|
54
47
|
*/
|
|
@@ -63,6 +56,13 @@ const props = {
|
|
|
63
56
|
type: Object,
|
|
64
57
|
default: () => ({})
|
|
65
58
|
},
|
|
59
|
+
/**
|
|
60
|
+
* @description 保留最后一个不被删除
|
|
61
|
+
*/
|
|
62
|
+
keepLast: {
|
|
63
|
+
type: Boolean,
|
|
64
|
+
default: false
|
|
65
|
+
},
|
|
66
66
|
/**
|
|
67
67
|
* @description 是否开启顶部的添加按钮
|
|
68
68
|
*/
|
|
@@ -83,12 +83,11 @@ const emits = {
|
|
|
83
83
|
"update:modelValue": null
|
|
84
84
|
};
|
|
85
85
|
|
|
86
|
-
var _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
86
|
+
var _sfc_main$1 = /* @__PURE__ */ vue.defineComponent({
|
|
87
87
|
...{
|
|
88
|
-
name: "VkfCardInputCollection",
|
|
89
88
|
inheritAttrs: false
|
|
90
89
|
},
|
|
91
|
-
__name: "
|
|
90
|
+
__name: "core",
|
|
92
91
|
props: props,
|
|
93
92
|
emits,
|
|
94
93
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
@@ -320,7 +319,24 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
320
319
|
/* FORWARDED */
|
|
321
320
|
});
|
|
322
321
|
}
|
|
323
|
-
var
|
|
322
|
+
var Core = /* @__PURE__ */ _pluginVue_exportHelper._export_sfc(_sfc_main$1, [["render", _sfc_render], ["__file", "/home/runner/work/private-vunk-form/private-vunk-form/packages/components/card-input-collection/src/core.vue"]]);
|
|
323
|
+
|
|
324
|
+
var _sfc_main = vue.defineComponent({
|
|
325
|
+
name: "VkfCardInputCollection",
|
|
326
|
+
props,
|
|
327
|
+
emits,
|
|
328
|
+
setup(props2, { slots, emit }) {
|
|
329
|
+
return () => vue.h(Core, {
|
|
330
|
+
...props2,
|
|
331
|
+
"onUpdate:modelValue": (e) => emit("update:modelValue", e)
|
|
332
|
+
}, {
|
|
333
|
+
...props2.slots,
|
|
334
|
+
...slots
|
|
335
|
+
});
|
|
336
|
+
}
|
|
337
|
+
});
|
|
338
|
+
|
|
339
|
+
var VkfCardInputCollection = /* @__PURE__ */ _pluginVue_exportHelper._export_sfc(_sfc_main, [["__file", "/home/runner/work/private-vunk-form/private-vunk-form/packages/components/card-input-collection/src/index.vue"]]);
|
|
324
340
|
|
|
325
341
|
var types = /*#__PURE__*/Object.freeze({
|
|
326
342
|
__proto__: null
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, computed, openBlock, createBlock, withCtx, createVNode, mergeProps, createSlots, createElementBlock, createTextVNode, createCommentVNode, toDisplayString, Fragment, renderList, createElementVNode, renderSlot } from 'vue';
|
|
1
|
+
import { defineComponent, computed, openBlock, createBlock, withCtx, createVNode, mergeProps, createSlots, createElementBlock, createTextVNode, createCommentVNode, toDisplayString, Fragment, renderList, createElementVNode, renderSlot, h } from 'vue';
|
|
2
2
|
import { _VkfFormItemCtx, VkfFormItem } from '@vunk/form/components/form-item';
|
|
3
3
|
import { useComputedReadonly } from '@vunk/form/composables';
|
|
4
4
|
import { ElButton, ElCard, ElEmpty } from 'element-plus';
|
|
@@ -38,13 +38,6 @@ const props = {
|
|
|
38
38
|
type: Object,
|
|
39
39
|
default: () => ({})
|
|
40
40
|
},
|
|
41
|
-
/**
|
|
42
|
-
* @description 保留最后一个不被删除
|
|
43
|
-
*/
|
|
44
|
-
keepLast: {
|
|
45
|
-
type: Boolean,
|
|
46
|
-
default: false
|
|
47
|
-
},
|
|
48
41
|
/**
|
|
49
42
|
* @description 开启 form-item 的 label 上的操作区域, 在labelPosition为top时生效
|
|
50
43
|
*/
|
|
@@ -59,6 +52,13 @@ const props = {
|
|
|
59
52
|
type: Object,
|
|
60
53
|
default: () => ({})
|
|
61
54
|
},
|
|
55
|
+
/**
|
|
56
|
+
* @description 保留最后一个不被删除
|
|
57
|
+
*/
|
|
58
|
+
keepLast: {
|
|
59
|
+
type: Boolean,
|
|
60
|
+
default: false
|
|
61
|
+
},
|
|
62
62
|
/**
|
|
63
63
|
* @description 是否开启顶部的添加按钮
|
|
64
64
|
*/
|
|
@@ -79,12 +79,11 @@ const emits = {
|
|
|
79
79
|
"update:modelValue": null
|
|
80
80
|
};
|
|
81
81
|
|
|
82
|
-
var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
82
|
+
var _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
83
83
|
...{
|
|
84
|
-
name: "VkfCardInputCollection",
|
|
85
84
|
inheritAttrs: false
|
|
86
85
|
},
|
|
87
|
-
__name: "
|
|
86
|
+
__name: "core",
|
|
88
87
|
props: props,
|
|
89
88
|
emits,
|
|
90
89
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
@@ -316,7 +315,24 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
316
315
|
/* FORWARDED */
|
|
317
316
|
});
|
|
318
317
|
}
|
|
319
|
-
var
|
|
318
|
+
var Core = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_render], ["__file", "/home/runner/work/private-vunk-form/private-vunk-form/packages/components/card-input-collection/src/core.vue"]]);
|
|
319
|
+
|
|
320
|
+
var _sfc_main = defineComponent({
|
|
321
|
+
name: "VkfCardInputCollection",
|
|
322
|
+
props,
|
|
323
|
+
emits,
|
|
324
|
+
setup(props2, { slots, emit }) {
|
|
325
|
+
return () => h(Core, {
|
|
326
|
+
...props2,
|
|
327
|
+
"onUpdate:modelValue": (e) => emit("update:modelValue", e)
|
|
328
|
+
}, {
|
|
329
|
+
...props2.slots,
|
|
330
|
+
...slots
|
|
331
|
+
});
|
|
332
|
+
}
|
|
333
|
+
});
|
|
334
|
+
|
|
335
|
+
var VkfCardInputCollection = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "/home/runner/work/private-vunk-form/private-vunk-form/packages/components/card-input-collection/src/index.vue"]]);
|
|
320
336
|
|
|
321
337
|
var types = /*#__PURE__*/Object.freeze({
|
|
322
338
|
__proto__: null
|