@vunk/form 2.14.3 → 2.14.5
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 +3 -1
- package/components/card-input-collection/index.mjs +3 -1
- package/components/card-input-collection/src/ctx.d.ts +3 -1
- package/components/card-input-collection/src/index.vue.d.ts +10 -4
- package/components/form-item/index.cjs +4 -2
- package/components/form-item/index.mjs +4 -2
- package/components/form-item/src/core.vue.d.ts +3 -0
- package/package.json +1 -1
|
@@ -245,8 +245,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
245
245
|
} & {
|
|
246
246
|
readonly default: true;
|
|
247
247
|
};
|
|
248
|
-
}>> & Readonly<{
|
|
249
|
-
|
|
248
|
+
}>> & Readonly<{
|
|
249
|
+
"onUpdate:modelValue"?: (...args: any[] | unknown[]) => any;
|
|
250
|
+
}> & {}>;
|
|
251
|
+
emit: ((event: "update:modelValue", ...args: unknown[]) => void) & ((event: "update:modelValue", ...args: any) => void) & ((event: "update:modelValue", ...args: any[]) => void);
|
|
250
252
|
formItemBindProps: import("vue").ComputedRef<{}>;
|
|
251
253
|
readonly: import("vue").ComputedRef<boolean>;
|
|
252
254
|
formData: import("vue").ComputedRef<NormalObject | NormalObject[]>;
|
|
@@ -932,7 +934,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
932
934
|
install(app: import("vue").App): void;
|
|
933
935
|
};
|
|
934
936
|
readonly Plus: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
935
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
937
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
938
|
+
'update:modelValue': any;
|
|
939
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
936
940
|
columns: {
|
|
937
941
|
type: import("vue").PropType<any[]>;
|
|
938
942
|
default: () => any[];
|
|
@@ -1054,7 +1058,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1054
1058
|
} & {
|
|
1055
1059
|
readonly default: true;
|
|
1056
1060
|
};
|
|
1057
|
-
}>> & Readonly<{
|
|
1061
|
+
}>> & Readonly<{
|
|
1062
|
+
"onUpdate:modelValue"?: (...args: any[] | unknown[]) => any;
|
|
1063
|
+
}>, {
|
|
1058
1064
|
required: boolean;
|
|
1059
1065
|
formItemSize: "default" | "small" | "large";
|
|
1060
1066
|
formItemSlots: import("@vunk/form/components/form-item/src/types").FormItemSlots;
|
|
@@ -73,7 +73,8 @@ var _sfc_main$1 = /* @__PURE__ */ vue.defineComponent({
|
|
|
73
73
|
type: String,
|
|
74
74
|
default: ""
|
|
75
75
|
},
|
|
76
|
-
formItemTipClass: null
|
|
76
|
+
formItemTipClass: null,
|
|
77
|
+
elRef: null
|
|
77
78
|
},
|
|
78
79
|
setup(__props, { expose: __expose }) {
|
|
79
80
|
__expose();
|
|
@@ -100,6 +101,7 @@ const _hoisted_2 = {
|
|
|
100
101
|
};
|
|
101
102
|
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
102
103
|
return vue.openBlock(), vue.createBlock($setup["ElFormItem"], vue.mergeProps(_ctx.$attrs, {
|
|
104
|
+
ref: $props.elRef,
|
|
103
105
|
class: ["vkf-form-item", {
|
|
104
106
|
"has-label-actions": _ctx.$slots.labelActions
|
|
105
107
|
}]
|
|
@@ -232,7 +234,7 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
232
234
|
});
|
|
233
235
|
return () => vue.h(FormItemCore, {
|
|
234
236
|
...formItemBindProps.value,
|
|
235
|
-
|
|
237
|
+
elRef: props2.elRef,
|
|
236
238
|
class: {
|
|
237
239
|
"is-readonly": readonly.value,
|
|
238
240
|
"vkf-form-item--inline": props2.inline,
|
|
@@ -69,7 +69,8 @@ var _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
69
69
|
type: String,
|
|
70
70
|
default: ""
|
|
71
71
|
},
|
|
72
|
-
formItemTipClass: null
|
|
72
|
+
formItemTipClass: null,
|
|
73
|
+
elRef: null
|
|
73
74
|
},
|
|
74
75
|
setup(__props, { expose: __expose }) {
|
|
75
76
|
__expose();
|
|
@@ -96,6 +97,7 @@ const _hoisted_2 = {
|
|
|
96
97
|
};
|
|
97
98
|
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
98
99
|
return openBlock(), createBlock($setup["ElFormItem"], mergeProps(_ctx.$attrs, {
|
|
100
|
+
ref: $props.elRef,
|
|
99
101
|
class: ["vkf-form-item", {
|
|
100
102
|
"has-label-actions": _ctx.$slots.labelActions
|
|
101
103
|
}]
|
|
@@ -228,7 +230,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
228
230
|
});
|
|
229
231
|
return () => h(FormItemCore, {
|
|
230
232
|
...formItemBindProps.value,
|
|
231
|
-
|
|
233
|
+
elRef: props2.elRef,
|
|
232
234
|
class: {
|
|
233
235
|
"is-readonly": readonly.value,
|
|
234
236
|
"vkf-form-item--inline": props2.inline,
|
|
@@ -8,6 +8,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
8
8
|
default: string;
|
|
9
9
|
};
|
|
10
10
|
formItemTipClass: any;
|
|
11
|
+
elRef: any;
|
|
11
12
|
}>, {
|
|
12
13
|
readonly ElFormItem: {
|
|
13
14
|
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -1839,7 +1840,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1839
1840
|
default: string;
|
|
1840
1841
|
};
|
|
1841
1842
|
formItemTipClass: any;
|
|
1843
|
+
elRef: any;
|
|
1842
1844
|
}>> & Readonly<{}>, {
|
|
1845
|
+
elRef: any;
|
|
1843
1846
|
formItemTip: string;
|
|
1844
1847
|
formItemTipClass: any;
|
|
1845
1848
|
labelTip: string;
|