@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.
@@ -71,7 +71,9 @@ const props = {
71
71
  default: true
72
72
  }
73
73
  };
74
- const emits = {};
74
+ const emits = {
75
+ "update:modelValue": null
76
+ };
75
77
 
76
78
  var _sfc_main = /* @__PURE__ */ vue.defineComponent({
77
79
  ...{
@@ -67,7 +67,9 @@ const props = {
67
67
  default: true
68
68
  }
69
69
  };
70
- const emits = {};
70
+ const emits = {
71
+ "update:modelValue": null
72
+ };
71
73
 
72
74
  var _sfc_main = /* @__PURE__ */ defineComponent({
73
75
  ...{
@@ -139,4 +139,6 @@ export declare const props: {
139
139
  readonly default: true;
140
140
  };
141
141
  };
142
- export declare const emits: {};
142
+ export declare const emits: {
143
+ 'update:modelValue': any;
144
+ };
@@ -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
- emit: (event: string, ...args: any[]) => void;
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, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
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
- ref: props2.elRef,
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
- ref: props2.elRef,
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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vunk/form",
3
- "version": "2.14.3",
3
+ "version": "2.14.5",
4
4
  "description": "",
5
5
  "main": "index.esm.js",
6
6
  "scripts": {