@vunk/form 0.0.1-alpha.47 → 0.0.1-alpha.49

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 (37) hide show
  1. package/component.d.ts +1 -1
  2. package/components/button/src/ctx.d.ts +4 -3
  3. package/components/button/src/index.vue.d.ts +27 -23
  4. package/components/cascader/src/ctx.d.ts +10 -11
  5. package/components/cascader/src/index.vue.d.ts +46 -48
  6. package/components/checkbox/src/ctx.d.ts +2 -2
  7. package/components/checkbox/src/index.vue.d.ts +12 -12
  8. package/components/color-picker/src/ctx.d.ts +1 -1
  9. package/components/color-picker/src/index.vue.d.ts +11 -11
  10. package/components/date-picker/src/ctx.d.ts +1 -1
  11. package/components/date-picker/src/index.vue.d.ts +22 -22
  12. package/components/form/src/ctx.d.ts +58 -22
  13. package/components/form/src/index.vue.d.ts +166 -63
  14. package/components/form-item/src/ctx.d.ts +1 -1
  15. package/components/form-item/src/index.vue.d.ts +3 -3
  16. package/components/input/src/ctx.d.ts +3 -3
  17. package/components/input/src/index.vue.d.ts +26 -26
  18. package/components/input-number/src/ctx.d.ts +2 -2
  19. package/components/input-number/src/index.vue.d.ts +17 -17
  20. package/components/radio/src/ctx.d.ts +1 -1
  21. package/components/radio/src/index.vue.d.ts +11 -11
  22. package/components/select/src/ctx.d.ts +5 -5
  23. package/components/select/src/index.vue.d.ts +59 -59
  24. package/components/switch/src/ctx.d.ts +1 -1
  25. package/components/switch/src/index.vue.d.ts +12 -12
  26. package/components/upload/index.css +10 -10
  27. package/components/upload/index.js +129 -51
  28. package/components/upload/src/ctx.d.ts +3 -3
  29. package/components/upload/src/file.vue.d.ts +5 -5
  30. package/components/upload/src/index.vue.d.ts +78 -72
  31. package/index.css +10 -10
  32. package/package.json +1 -1
  33. package/shared/element-plus/ctx.d.ts +2 -2
  34. package/shared/element-plus/index.js +34 -16
  35. package/shared/element-plus/instances.d.ts +7 -8
  36. package/shared/progress-it/index.d.ts +16 -0
  37. package/shared/progress-it/index.js +57 -0
@@ -34,7 +34,7 @@ export declare const props: {
34
34
  };
35
35
  error: StringConstructor;
36
36
  validateStatus: {
37
- readonly type: PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "error" | "success" | "validating", unknown>>;
37
+ readonly type: PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "success" | "error" | "validating", unknown>>;
38
38
  readonly required: false;
39
39
  readonly validator: ((val: unknown) => boolean) | undefined;
40
40
  __epPropKey: true;
@@ -124,7 +124,7 @@ export declare const props: {
124
124
  validateEvent: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
125
125
  inputStyle: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("vue").StyleValue & {}) | (() => import("vue").StyleValue) | ((new (...args: any[]) => import("vue").StyleValue & {}) | (() => import("vue").StyleValue))[], unknown, unknown, () => import("element-plus/es/utils").Mutable<{}>, boolean>;
126
126
  };
127
- export declare const createBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"required", keyof T2> | Extract<"type", keyof T2> | Extract<"label", keyof T2> | Extract<"labelWidth", keyof T2> | Extract<"prop", keyof T2> | Extract<"rules", keyof T2> | Extract<"error", keyof T2> | Extract<"validateStatus", keyof T2> | Extract<"for", keyof T2> | Extract<"inlineMessage", keyof T2> | Extract<"showMessage", keyof T2> | Extract<"size", keyof T2> | Extract<"formItemSize", keyof T2> | Extract<"formItemSlots", keyof T2> | Extract<"elRef", keyof T2> | Extract<"inline", keyof T2> | Extract<"readonly", keyof T2> | Extract<"disabled", keyof T2> | Extract<"form", keyof T2> | Extract<"resize", keyof T2> | Extract<"id", keyof T2> | Extract<"tabindex", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"clearable", keyof T2> | Extract<"prefixIcon", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"autosize", keyof T2> | Extract<"autocomplete", keyof T2> | Extract<"formatter", keyof T2> | Extract<"parser", keyof T2> | Extract<"showPassword", keyof T2> | Extract<"showWordLimit", keyof T2> | Extract<"suffixIcon", keyof T2> | Extract<"containerRole", keyof T2> | Extract<"inputStyle", keyof T2> | Extract<"maxlength", keyof T2> | Extract<"minlength", keyof T2> | Extract<"inputSlots", keyof T2> | Extract<"rows", keyof T2>)[] | undefined>(propsArg: T2, excludes?: EX | undefined) => import("vue").ComputedRef<{ [P in EX extends (infer KE)[] ? Exclude<Extract<"required", keyof T2>, KE> | Exclude<Extract<"type", keyof T2>, KE> | Exclude<Extract<"label", keyof T2>, KE> | Exclude<Extract<"labelWidth", keyof T2>, KE> | Exclude<Extract<"prop", keyof T2>, KE> | Exclude<Extract<"rules", keyof T2>, KE> | Exclude<Extract<"error", keyof T2>, KE> | Exclude<Extract<"validateStatus", keyof T2>, KE> | Exclude<Extract<"for", keyof T2>, KE> | Exclude<Extract<"inlineMessage", keyof T2>, KE> | Exclude<Extract<"showMessage", keyof T2>, KE> | Exclude<Extract<"size", keyof T2>, KE> | Exclude<Extract<"formItemSize", keyof T2>, KE> | Exclude<Extract<"formItemSlots", keyof T2>, KE> | Exclude<Extract<"elRef", keyof T2>, KE> | Exclude<Extract<"inline", keyof T2>, KE> | Exclude<Extract<"readonly", keyof T2>, KE> | Exclude<Extract<"disabled", keyof T2>, KE> | Exclude<Extract<"form", keyof T2>, KE> | Exclude<Extract<"resize", keyof T2>, KE> | Exclude<Extract<"id", keyof T2>, KE> | Exclude<Extract<"tabindex", keyof T2>, KE> | Exclude<Extract<"validateEvent", keyof T2>, KE> | Exclude<Extract<"clearable", keyof T2>, KE> | Exclude<Extract<"prefixIcon", keyof T2>, KE> | Exclude<Extract<"placeholder", keyof T2>, KE> | Exclude<Extract<"modelValue", keyof T2>, KE> | Exclude<Extract<"autosize", keyof T2>, KE> | Exclude<Extract<"autocomplete", keyof T2>, KE> | Exclude<Extract<"formatter", keyof T2>, KE> | Exclude<Extract<"parser", keyof T2>, KE> | Exclude<Extract<"showPassword", keyof T2>, KE> | Exclude<Extract<"showWordLimit", keyof T2>, KE> | Exclude<Extract<"suffixIcon", keyof T2>, KE> | Exclude<Extract<"containerRole", keyof T2>, KE> | Exclude<Extract<"inputStyle", keyof T2>, KE> | Exclude<Extract<"maxlength", keyof T2>, KE> | Exclude<Extract<"minlength", keyof T2>, KE> | Exclude<Extract<"inputSlots", keyof T2>, KE> | Exclude<Extract<"rows", keyof T2>, KE> : Extract<"required", keyof T2> | Extract<"type", keyof T2> | Extract<"label", keyof T2> | Extract<"labelWidth", keyof T2> | Extract<"prop", keyof T2> | Extract<"rules", keyof T2> | Extract<"error", keyof T2> | Extract<"validateStatus", keyof T2> | Extract<"for", keyof T2> | Extract<"inlineMessage", keyof T2> | Extract<"showMessage", keyof T2> | Extract<"size", keyof T2> | Extract<"formItemSize", keyof T2> | Extract<"formItemSlots", keyof T2> | Extract<"elRef", keyof T2> | Extract<"inline", keyof T2> | Extract<"readonly", keyof T2> | Extract<"disabled", keyof T2> | Extract<"form", keyof T2> | Extract<"resize", keyof T2> | Extract<"id", keyof T2> | Extract<"tabindex", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"clearable", keyof T2> | Extract<"prefixIcon", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"autosize", keyof T2> | Extract<"autocomplete", keyof T2> | Extract<"formatter", keyof T2> | Extract<"parser", keyof T2> | Extract<"showPassword", keyof T2> | Extract<"showWordLimit", keyof T2> | Extract<"suffixIcon", keyof T2> | Extract<"containerRole", keyof T2> | Extract<"inputStyle", keyof T2> | Extract<"maxlength", keyof T2> | Extract<"minlength", keyof T2> | Extract<"inputSlots", keyof T2> | Extract<"rows", keyof T2>]: { [k in Extract<"required", keyof T2> | Extract<"type", keyof T2> | Extract<"label", keyof T2> | Extract<"labelWidth", keyof T2> | Extract<"prop", keyof T2> | Extract<"rules", keyof T2> | Extract<"error", keyof T2> | Extract<"validateStatus", keyof T2> | Extract<"for", keyof T2> | Extract<"inlineMessage", keyof T2> | Extract<"showMessage", keyof T2> | Extract<"size", keyof T2> | Extract<"formItemSize", keyof T2> | Extract<"formItemSlots", keyof T2> | Extract<"elRef", keyof T2> | Extract<"inline", keyof T2> | Extract<"readonly", keyof T2> | Extract<"disabled", keyof T2> | Extract<"form", keyof T2> | Extract<"resize", keyof T2> | Extract<"id", keyof T2> | Extract<"tabindex", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"clearable", keyof T2> | Extract<"prefixIcon", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"autosize", keyof T2> | Extract<"autocomplete", keyof T2> | Extract<"formatter", keyof T2> | Extract<"parser", keyof T2> | Extract<"showPassword", keyof T2> | Extract<"showWordLimit", keyof T2> | Extract<"suffixIcon", keyof T2> | Extract<"containerRole", keyof T2> | Extract<"inputStyle", keyof T2> | Extract<"maxlength", keyof T2> | Extract<"minlength", keyof T2> | Extract<"inputSlots", keyof T2> | Extract<"rows", keyof T2>]: T2[k]; }[P]; }>;
127
+ export declare const createBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"required", keyof T2> | Extract<"type", keyof T2> | Extract<"size", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"disabled", keyof T2> | Extract<"clearable", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"label", keyof T2> | Extract<"labelWidth", keyof T2> | Extract<"prop", keyof T2> | Extract<"rules", keyof T2> | Extract<"error", keyof T2> | Extract<"validateStatus", keyof T2> | Extract<"for", keyof T2> | Extract<"inlineMessage", keyof T2> | Extract<"showMessage", keyof T2> | Extract<"formItemSize", keyof T2> | Extract<"formItemSlots", keyof T2> | Extract<"elRef", keyof T2> | Extract<"inline", keyof T2> | Extract<"readonly", keyof T2> | Extract<"form", keyof T2> | Extract<"resize", keyof T2> | Extract<"id", keyof T2> | Extract<"tabindex", keyof T2> | Extract<"prefixIcon", keyof T2> | Extract<"autosize", keyof T2> | Extract<"autocomplete", keyof T2> | Extract<"formatter", keyof T2> | Extract<"parser", keyof T2> | Extract<"showPassword", keyof T2> | Extract<"showWordLimit", keyof T2> | Extract<"suffixIcon", keyof T2> | Extract<"containerRole", keyof T2> | Extract<"inputStyle", keyof T2> | Extract<"maxlength", keyof T2> | Extract<"minlength", keyof T2> | Extract<"inputSlots", keyof T2> | Extract<"rows", keyof T2>)[] | undefined>(propsArg: T2, excludes?: EX | undefined) => import("vue").ComputedRef<{ [P in EX extends (infer KE)[] ? Exclude<Extract<"required", keyof T2>, KE> | Exclude<Extract<"type", keyof T2>, KE> | Exclude<Extract<"size", keyof T2>, KE> | Exclude<Extract<"placeholder", keyof T2>, KE> | Exclude<Extract<"disabled", keyof T2>, KE> | Exclude<Extract<"clearable", keyof T2>, KE> | Exclude<Extract<"validateEvent", keyof T2>, KE> | Exclude<Extract<"modelValue", keyof T2>, KE> | Exclude<Extract<"label", keyof T2>, KE> | Exclude<Extract<"labelWidth", keyof T2>, KE> | Exclude<Extract<"prop", keyof T2>, KE> | Exclude<Extract<"rules", keyof T2>, KE> | Exclude<Extract<"error", keyof T2>, KE> | Exclude<Extract<"validateStatus", keyof T2>, KE> | Exclude<Extract<"for", keyof T2>, KE> | Exclude<Extract<"inlineMessage", keyof T2>, KE> | Exclude<Extract<"showMessage", keyof T2>, KE> | Exclude<Extract<"formItemSize", keyof T2>, KE> | Exclude<Extract<"formItemSlots", keyof T2>, KE> | Exclude<Extract<"elRef", keyof T2>, KE> | Exclude<Extract<"inline", keyof T2>, KE> | Exclude<Extract<"readonly", keyof T2>, KE> | Exclude<Extract<"form", keyof T2>, KE> | Exclude<Extract<"resize", keyof T2>, KE> | Exclude<Extract<"id", keyof T2>, KE> | Exclude<Extract<"tabindex", keyof T2>, KE> | Exclude<Extract<"prefixIcon", keyof T2>, KE> | Exclude<Extract<"autosize", keyof T2>, KE> | Exclude<Extract<"autocomplete", keyof T2>, KE> | Exclude<Extract<"formatter", keyof T2>, KE> | Exclude<Extract<"parser", keyof T2>, KE> | Exclude<Extract<"showPassword", keyof T2>, KE> | Exclude<Extract<"showWordLimit", keyof T2>, KE> | Exclude<Extract<"suffixIcon", keyof T2>, KE> | Exclude<Extract<"containerRole", keyof T2>, KE> | Exclude<Extract<"inputStyle", keyof T2>, KE> | Exclude<Extract<"maxlength", keyof T2>, KE> | Exclude<Extract<"minlength", keyof T2>, KE> | Exclude<Extract<"inputSlots", keyof T2>, KE> | Exclude<Extract<"rows", keyof T2>, KE> : Extract<"required", keyof T2> | Extract<"type", keyof T2> | Extract<"size", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"disabled", keyof T2> | Extract<"clearable", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"label", keyof T2> | Extract<"labelWidth", keyof T2> | Extract<"prop", keyof T2> | Extract<"rules", keyof T2> | Extract<"error", keyof T2> | Extract<"validateStatus", keyof T2> | Extract<"for", keyof T2> | Extract<"inlineMessage", keyof T2> | Extract<"showMessage", keyof T2> | Extract<"formItemSize", keyof T2> | Extract<"formItemSlots", keyof T2> | Extract<"elRef", keyof T2> | Extract<"inline", keyof T2> | Extract<"readonly", keyof T2> | Extract<"form", keyof T2> | Extract<"resize", keyof T2> | Extract<"id", keyof T2> | Extract<"tabindex", keyof T2> | Extract<"prefixIcon", keyof T2> | Extract<"autosize", keyof T2> | Extract<"autocomplete", keyof T2> | Extract<"formatter", keyof T2> | Extract<"parser", keyof T2> | Extract<"showPassword", keyof T2> | Extract<"showWordLimit", keyof T2> | Extract<"suffixIcon", keyof T2> | Extract<"containerRole", keyof T2> | Extract<"inputStyle", keyof T2> | Extract<"maxlength", keyof T2> | Extract<"minlength", keyof T2> | Extract<"inputSlots", keyof T2> | Extract<"rows", keyof T2>]: { [k in Extract<"required", keyof T2> | Extract<"type", keyof T2> | Extract<"size", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"disabled", keyof T2> | Extract<"clearable", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"label", keyof T2> | Extract<"labelWidth", keyof T2> | Extract<"prop", keyof T2> | Extract<"rules", keyof T2> | Extract<"error", keyof T2> | Extract<"validateStatus", keyof T2> | Extract<"for", keyof T2> | Extract<"inlineMessage", keyof T2> | Extract<"showMessage", keyof T2> | Extract<"formItemSize", keyof T2> | Extract<"formItemSlots", keyof T2> | Extract<"elRef", keyof T2> | Extract<"inline", keyof T2> | Extract<"readonly", keyof T2> | Extract<"form", keyof T2> | Extract<"resize", keyof T2> | Extract<"id", keyof T2> | Extract<"tabindex", keyof T2> | Extract<"prefixIcon", keyof T2> | Extract<"autosize", keyof T2> | Extract<"autocomplete", keyof T2> | Extract<"formatter", keyof T2> | Extract<"parser", keyof T2> | Extract<"showPassword", keyof T2> | Extract<"showWordLimit", keyof T2> | Extract<"suffixIcon", keyof T2> | Extract<"containerRole", keyof T2> | Extract<"inputStyle", keyof T2> | Extract<"maxlength", keyof T2> | Extract<"minlength", keyof T2> | Extract<"inputSlots", keyof T2> | Extract<"rows", keyof T2>]: T2[k]; }[P]; }>;
128
128
  export declare const emits: {
129
129
  "update:modelValue": (value: string) => boolean;
130
130
  input: (value: string) => boolean;
@@ -139,7 +139,7 @@ export declare const emits: {
139
139
  compositionupdate: (evt: CompositionEvent) => boolean;
140
140
  compositionend: (evt: CompositionEvent) => boolean;
141
141
  };
142
- export declare const createOnEmits: <T2 extends import("@vunk/core").AnyFunc, EX extends ("input" | "blur" | "change" | "compositionend" | "compositionstart" | "compositionupdate" | "focus" | "keydown" | "mouseenter" | "mouseleave" | "clear" | "update:modelValue")[] | undefined>(emit: T2, excludes?: EX | undefined) => { [P in EX extends (infer KE)[] ? Exclude<"input", KE> | Exclude<"blur", KE> | Exclude<"change", KE> | Exclude<"compositionend", KE> | Exclude<"compositionstart", KE> | Exclude<"compositionupdate", KE> | Exclude<"focus", KE> | Exclude<"keydown", KE> | Exclude<"mouseenter", KE> | Exclude<"mouseleave", KE> | Exclude<"clear", KE> | Exclude<"update:modelValue", KE> : "input" | "blur" | "change" | "compositionend" | "compositionstart" | "compositionupdate" | "focus" | "keydown" | "mouseenter" | "mouseleave" | "clear" | "update:modelValue"]: {
142
+ export declare const createOnEmits: <T2 extends import("@vunk/core").AnyFunc, EX extends ("update:modelValue" | "change" | "focus" | "blur" | "input" | "compositionend" | "compositionstart" | "compositionupdate" | "keydown" | "mouseenter" | "mouseleave" | "clear")[] | undefined>(emit: T2, excludes?: EX | undefined) => { [P in EX extends (infer KE)[] ? Exclude<"update:modelValue", KE> | Exclude<"change", KE> | Exclude<"focus", KE> | Exclude<"blur", KE> | Exclude<"input", KE> | Exclude<"compositionend", KE> | Exclude<"compositionstart", KE> | Exclude<"compositionupdate", KE> | Exclude<"keydown", KE> | Exclude<"mouseenter", KE> | Exclude<"mouseleave", KE> | Exclude<"clear", KE> : "update:modelValue" | "change" | "focus" | "blur" | "input" | "compositionend" | "compositionstart" | "compositionupdate" | "keydown" | "mouseenter" | "mouseleave" | "clear"]: {
143
143
  "update:modelValue": (...e: import("@vunk/core").RestParameters<T2>) => void;
144
144
  input: (...e: import("@vunk/core").RestParameters<T2>) => void;
145
145
  change: (...e: import("@vunk/core").RestParameters<T2>) => void;
@@ -32,7 +32,7 @@ declare const _default: import("vue").DefineComponent<{
32
32
  };
33
33
  error: StringConstructor;
34
34
  validateStatus: {
35
- readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "error" | "success" | "validating", unknown>>;
35
+ readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "success" | "error" | "validating", unknown>>;
36
36
  readonly required: false;
37
37
  readonly validator: ((val: unknown) => boolean) | undefined;
38
38
  __epPropKey: true;
@@ -124,18 +124,18 @@ declare const _default: import("vue").DefineComponent<{
124
124
  }, {
125
125
  inputBindProps: import("vue").ComputedRef<{
126
126
  type: string;
127
- label: string | undefined;
128
127
  size: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never> | undefined;
128
+ placeholder: string | undefined;
129
129
  disabled: boolean;
130
+ clearable: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
131
+ validateEvent: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
132
+ modelValue: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | number | null | undefined) & {}) | (() => string | number | null | undefined) | ((new (...args: any[]) => (string | number | null | undefined) & {}) | (() => string | number | null | undefined))[], unknown, unknown>;
133
+ label: string | undefined;
130
134
  form: string | undefined;
131
135
  resize: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "none" | "both" | "horizontal" | "vertical", unknown> | undefined;
132
136
  id: string | undefined;
133
137
  tabindex: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
134
- validateEvent: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
135
- clearable: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
136
138
  prefixIcon: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown> | undefined;
137
- placeholder: string | undefined;
138
- modelValue: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | number | null | undefined) & {}) | (() => string | number | null | undefined) | ((new (...args: any[]) => (string | number | null | undefined) & {}) | (() => string | number | null | undefined))[], unknown, unknown>;
139
139
  autosize: import("element-plus").InputAutoSize;
140
140
  autocomplete: string;
141
141
  formatter: Function | undefined;
@@ -153,7 +153,7 @@ declare const _default: import("vue").DefineComponent<{
153
153
  prop: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => import("element-plus").FormItemProp & {}) | (() => import("element-plus").FormItemProp) | ((new (...args: any[]) => import("element-plus").FormItemProp & {}) | (() => import("element-plus").FormItemProp))[], unknown, unknown> | undefined;
154
154
  rules: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => import("element-plus").FormItemRule | import("element-plus").FormItemRule[]) | (() => import("element-plus/es/utils").Arrayable<import("element-plus").FormItemRule>) | ((new (...args: any[]) => import("element-plus").FormItemRule | import("element-plus").FormItemRule[]) | (() => import("element-plus/es/utils").Arrayable<import("element-plus").FormItemRule>))[], unknown, unknown> | undefined;
155
155
  error: string | undefined;
156
- validateStatus: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "error" | "success" | "validating", unknown> | undefined;
156
+ validateStatus: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "success" | "error" | "validating", unknown> | undefined;
157
157
  for: string | undefined;
158
158
  inlineMessage: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, BooleanConstructor], unknown, unknown>;
159
159
  showMessage: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
@@ -165,18 +165,18 @@ declare const _default: import("vue").DefineComponent<{
165
165
  }>;
166
166
  readonly: import("vue").ComputedRef<boolean>;
167
167
  inputOnEmits: {
168
- input: (value: string) => void;
169
- blur: (value: string) => void;
170
- change: (value: string) => void;
171
- compositionend: (value: string) => void;
172
- compositionstart: (value: string) => void;
173
- compositionupdate: (value: string) => void;
174
- focus: (value: string) => void;
175
- keydown: (value: string) => void;
176
- mouseenter: (value: string) => void;
177
- mouseleave: (value: string) => void;
178
- clear: (value: string) => void;
179
- "update:modelValue": (value: string) => void;
168
+ "update:modelValue": () => void;
169
+ change: () => void;
170
+ focus: () => void;
171
+ blur: () => void;
172
+ input: () => void;
173
+ compositionend: () => void;
174
+ compositionstart: () => void;
175
+ compositionupdate: () => void;
176
+ keydown: () => void;
177
+ mouseenter: () => void;
178
+ mouseleave: () => void;
179
+ clear: () => void;
180
180
  };
181
181
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
182
182
  "update:modelValue": (value: string) => boolean;
@@ -225,7 +225,7 @@ declare const _default: import("vue").DefineComponent<{
225
225
  };
226
226
  error: StringConstructor;
227
227
  validateStatus: {
228
- readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "error" | "success" | "validating", unknown>>;
228
+ readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "success" | "error" | "validating", unknown>>;
229
229
  readonly required: false;
230
230
  readonly validator: ((val: unknown) => boolean) | undefined;
231
231
  __epPropKey: true;
@@ -315,10 +315,10 @@ declare const _default: import("vue").DefineComponent<{
315
315
  validateEvent: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
316
316
  inputStyle: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("vue").StyleValue & {}) | (() => import("vue").StyleValue) | ((new (...args: any[]) => import("vue").StyleValue & {}) | (() => import("vue").StyleValue))[], unknown, unknown, () => import("element-plus/es/utils").Mutable<{}>, boolean>;
317
317
  }>> & {
318
- "onUpdate:modelValue"?: ((value: string) => any) | undefined;
319
- onBlur?: ((evt: FocusEvent) => any) | undefined;
320
318
  onChange?: ((value: string) => any) | undefined;
319
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
321
320
  onFocus?: ((evt: FocusEvent) => any) | undefined;
321
+ onBlur?: ((evt: FocusEvent) => any) | undefined;
322
322
  onKeydown?: ((evt: Event | KeyboardEvent) => any) | undefined;
323
323
  onInput?: ((value: string) => any) | undefined;
324
324
  onClear?: (() => any) | undefined;
@@ -330,6 +330,10 @@ declare const _default: import("vue").DefineComponent<{
330
330
  }, {
331
331
  required: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
332
332
  type: string;
333
+ disabled: boolean;
334
+ clearable: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
335
+ validateEvent: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
336
+ modelValue: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | number | null | undefined) & {}) | (() => string | number | null | undefined) | ((new (...args: any[]) => (string | number | null | undefined) & {}) | (() => string | number | null | undefined))[], unknown, unknown>;
333
337
  labelWidth: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
334
338
  inlineMessage: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, BooleanConstructor], unknown, unknown>;
335
339
  showMessage: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
@@ -337,12 +341,8 @@ declare const _default: import("vue").DefineComponent<{
337
341
  formItemSlots: import("../../form-item/src/types").FormItemSlots;
338
342
  inline: boolean;
339
343
  readonly: boolean;
340
- disabled: boolean;
341
344
  id: string;
342
345
  tabindex: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
343
- validateEvent: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
344
- clearable: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
345
- modelValue: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | number | null | undefined) & {}) | (() => string | number | null | undefined) | ((new (...args: any[]) => (string | number | null | undefined) & {}) | (() => string | number | null | undefined))[], unknown, unknown>;
346
346
  autosize: import("element-plus").InputAutoSize;
347
347
  autocomplete: string;
348
348
  showPassword: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
@@ -49,7 +49,7 @@ export declare const props: {
49
49
  };
50
50
  error: StringConstructor;
51
51
  validateStatus: {
52
- readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "error" | "success" | "validating", unknown>>;
52
+ readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "success" | "error" | "validating", unknown>>;
53
53
  readonly required: false;
54
54
  readonly validator: ((val: unknown) => boolean) | undefined;
55
55
  __epPropKey: true;
@@ -75,7 +75,7 @@ export declare const props: {
75
75
  };
76
76
  };
77
77
  export declare const emits: {
78
- change: (prev: number | undefined, cur: number | undefined) => boolean;
78
+ change: (cur: number | undefined, prev: number | undefined) => boolean;
79
79
  blur: (e: FocusEvent) => boolean;
80
80
  focus: (e: FocusEvent) => boolean;
81
81
  input: (val: number | null | undefined) => boolean;
@@ -49,7 +49,7 @@ declare const _default: import("vue").DefineComponent<{
49
49
  };
50
50
  error: StringConstructor;
51
51
  validateStatus: {
52
- readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "error" | "success" | "validating", unknown>>;
52
+ readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "success" | "error" | "validating", unknown>>;
53
53
  readonly required: false;
54
54
  readonly validator: ((val: unknown) => boolean) | undefined;
55
55
  __epPropKey: true;
@@ -81,7 +81,7 @@ declare const _default: import("vue").DefineComponent<{
81
81
  prop: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => import("element-plus").FormItemProp & {}) | (() => import("element-plus").FormItemProp) | ((new (...args: any[]) => import("element-plus").FormItemProp & {}) | (() => import("element-plus").FormItemProp))[], unknown, unknown> | undefined;
82
82
  rules: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => import("element-plus").FormItemRule | import("element-plus").FormItemRule[]) | (() => import("element-plus/es/utils").Arrayable<import("element-plus").FormItemRule>) | ((new (...args: any[]) => import("element-plus").FormItemRule | import("element-plus").FormItemRule[]) | (() => import("element-plus/es/utils").Arrayable<import("element-plus").FormItemRule>))[], unknown, unknown> | undefined;
83
83
  error: string | undefined;
84
- validateStatus: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "error" | "success" | "validating", unknown> | undefined;
84
+ validateStatus: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "success" | "error" | "validating", unknown> | undefined;
85
85
  for: string | undefined;
86
86
  inlineMessage: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, BooleanConstructor], unknown, unknown>;
87
87
  showMessage: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
@@ -92,13 +92,13 @@ declare const _default: import("vue").DefineComponent<{
92
92
  readonly: boolean | undefined;
93
93
  }>;
94
94
  iBindProps: import("vue").ComputedRef<{
95
- label: string | undefined;
96
95
  size: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never> | undefined;
97
- name: string | undefined;
98
- id: string | undefined;
99
- validateEvent: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
100
96
  placeholder: string | undefined;
97
+ validateEvent: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
101
98
  modelValue: number | undefined;
99
+ label: string | undefined;
100
+ name: string | undefined;
101
+ id: string | undefined;
102
102
  step: number;
103
103
  stepStrictly: boolean;
104
104
  max: number;
@@ -109,15 +109,15 @@ declare const _default: import("vue").DefineComponent<{
109
109
  precision: number | undefined;
110
110
  }>;
111
111
  iOnEmits: {
112
- input: (val: number | undefined) => void;
113
- blur: (val: number | undefined) => void;
114
- change: (val: number | undefined) => void;
115
- focus: (val: number | undefined) => void;
116
- "update:modelValue": (val: number | undefined) => void;
112
+ "update:modelValue": (val: number | null | undefined) => void;
113
+ change: (val: number | null | undefined) => void;
114
+ focus: (val: number | null | undefined) => void;
115
+ blur: (val: number | null | undefined) => void;
116
+ input: (val: number | null | undefined) => void;
117
117
  };
118
118
  readonly: import("vue").ComputedRef<boolean>;
119
119
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
120
- change: (prev: number | undefined, cur: number | undefined) => boolean;
120
+ change: (cur: number | undefined, prev: number | undefined) => boolean;
121
121
  blur: (e: FocusEvent) => boolean;
122
122
  focus: (e: FocusEvent) => boolean;
123
123
  input: (val: number | null | undefined) => boolean;
@@ -173,7 +173,7 @@ declare const _default: import("vue").DefineComponent<{
173
173
  };
174
174
  error: StringConstructor;
175
175
  validateStatus: {
176
- readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "error" | "success" | "validating", unknown>>;
176
+ readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "success" | "error" | "validating", unknown>>;
177
177
  readonly required: false;
178
178
  readonly validator: ((val: unknown) => boolean) | undefined;
179
179
  __epPropKey: true;
@@ -198,13 +198,15 @@ declare const _default: import("vue").DefineComponent<{
198
198
  default: boolean;
199
199
  };
200
200
  }>> & {
201
+ onChange?: ((cur: number | undefined, prev: number | undefined) => any) | undefined;
201
202
  "onUpdate:modelValue"?: ((val: number | undefined) => any) | undefined;
202
- onBlur?: ((e: FocusEvent) => any) | undefined;
203
- onChange?: ((prev: number | undefined, cur: number | undefined) => any) | undefined;
204
203
  onFocus?: ((e: FocusEvent) => any) | undefined;
204
+ onBlur?: ((e: FocusEvent) => any) | undefined;
205
205
  onInput?: ((val: number | null | undefined) => any) | undefined;
206
206
  }, {
207
207
  required: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
208
+ disabled: boolean;
209
+ validateEvent: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
208
210
  labelWidth: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
209
211
  inlineMessage: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, BooleanConstructor], unknown, unknown>;
210
212
  showMessage: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
@@ -212,9 +214,7 @@ declare const _default: import("vue").DefineComponent<{
212
214
  formItemSlots: import("../../form-item/src/types").FormItemSlots;
213
215
  inline: boolean;
214
216
  readonly: boolean;
215
- disabled: boolean;
216
217
  id: string;
217
- validateEvent: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
218
218
  step: number;
219
219
  stepStrictly: boolean;
220
220
  max: number;
@@ -42,7 +42,7 @@ export declare const props: {
42
42
  };
43
43
  error: StringConstructor;
44
44
  validateStatus: {
45
- readonly type: PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "error" | "success" | "validating", unknown>>;
45
+ readonly type: PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "success" | "error" | "validating", unknown>>;
46
46
  readonly required: false;
47
47
  readonly validator: ((val: unknown) => boolean) | undefined;
48
48
  __epPropKey: true;
@@ -40,7 +40,7 @@ declare const _default: import("vue").DefineComponent<{
40
40
  };
41
41
  error: StringConstructor;
42
42
  validateStatus: {
43
- readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "error" | "success" | "validating", unknown>>;
43
+ readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "success" | "error" | "validating", unknown>>;
44
44
  readonly required: false;
45
45
  readonly validator: ((val: unknown) => boolean) | undefined;
46
46
  __epPropKey: true;
@@ -76,7 +76,7 @@ declare const _default: import("vue").DefineComponent<{
76
76
  prop: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => import("element-plus").FormItemProp & {}) | (() => import("element-plus").FormItemProp) | ((new (...args: any[]) => import("element-plus").FormItemProp & {}) | (() => import("element-plus").FormItemProp))[], unknown, unknown> | undefined;
77
77
  rules: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => import("element-plus").FormItemRule | import("element-plus").FormItemRule[]) | (() => import("element-plus/es/utils").Arrayable<import("element-plus").FormItemRule>) | ((new (...args: any[]) => import("element-plus").FormItemRule | import("element-plus").FormItemRule[]) | (() => import("element-plus/es/utils").Arrayable<import("element-plus").FormItemRule>))[], unknown, unknown> | undefined;
78
78
  error: string | undefined;
79
- validateStatus: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "error" | "success" | "validating", unknown> | undefined;
79
+ validateStatus: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "success" | "error" | "validating", unknown> | undefined;
80
80
  for: string | undefined;
81
81
  inlineMessage: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, BooleanConstructor], unknown, unknown>;
82
82
  showMessage: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
@@ -87,18 +87,18 @@ declare const _default: import("vue").DefineComponent<{
87
87
  readonly: boolean | undefined;
88
88
  }>;
89
89
  coreBindProps: import("vue").ComputedRef<{
90
- label: string | undefined;
91
90
  size: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never> | undefined;
91
+ validateEvent: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
92
+ modelValue: string | number | undefined;
93
+ label: string | undefined;
92
94
  fill: string;
93
95
  name: string | undefined;
94
96
  id: string | undefined;
95
- validateEvent: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
96
- modelValue: string | number | undefined;
97
97
  textColor: string;
98
98
  }>;
99
99
  coreOnEmits: {
100
- change: (val: string | number | boolean) => void;
101
100
  "update:modelValue": (val: string | number | boolean) => void;
101
+ change: (val: string | number | boolean) => void;
102
102
  };
103
103
  options: import("vue").ComputedRef<import("../../../shared/types/form").RadioProps[]>;
104
104
  pickObject: <T extends import("@vunk/core").NormalObject, EX extends (keyof T)[] | undefined, KI extends keyof T>(data: T, opts?: {
@@ -151,7 +151,7 @@ declare const _default: import("vue").DefineComponent<{
151
151
  };
152
152
  error: StringConstructor;
153
153
  validateStatus: {
154
- readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "error" | "success" | "validating", unknown>>;
154
+ readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "success" | "error" | "validating", unknown>>;
155
155
  readonly required: false;
156
156
  readonly validator: ((val: unknown) => boolean) | undefined;
157
157
  __epPropKey: true;
@@ -180,11 +180,14 @@ declare const _default: import("vue").DefineComponent<{
180
180
  default: undefined;
181
181
  };
182
182
  }>> & {
183
- "onUpdate:modelValue"?: ((val: string | number | boolean) => any) | undefined;
184
183
  onChange?: ((val: string | number | boolean) => any) | undefined;
184
+ "onUpdate:modelValue"?: ((val: string | number | boolean) => any) | undefined;
185
185
  }, {
186
186
  required: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
187
187
  type: "default" | "button";
188
+ disabled: boolean;
189
+ validateEvent: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
190
+ options: import("../../../shared/types/form").RadioProps[];
188
191
  label: string;
189
192
  labelWidth: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
190
193
  inlineMessage: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, BooleanConstructor], unknown, unknown>;
@@ -195,10 +198,7 @@ declare const _default: import("vue").DefineComponent<{
195
198
  readonly: boolean;
196
199
  fill: string;
197
200
  name: string;
198
- disabled: boolean;
199
201
  id: string;
200
- validateEvent: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
201
- options: import("../../../shared/types/form").RadioProps[];
202
202
  textColor: string;
203
203
  }>;
204
204
  export default _default;
@@ -6,7 +6,7 @@ export declare const props: {
6
6
  type: PropType<VueComponentPropsType<import("element-plus/es/utils").SFCWithInstall<import("vue").DefineComponent<{
7
7
  value: {
8
8
  required: true;
9
- type: (BooleanConstructor | ObjectConstructor | StringConstructor | NumberConstructor)[];
9
+ type: (BooleanConstructor | StringConstructor | ObjectConstructor | NumberConstructor)[];
10
10
  };
11
11
  label: (StringConstructor | NumberConstructor)[];
12
12
  created: BooleanConstructor;
@@ -16,7 +16,7 @@ export declare const props: {
16
16
  };
17
17
  }, {
18
18
  ns: {
19
- namespace: import("vue").Ref<string>;
19
+ namespace: import("vue").ComputedRef<string>;
20
20
  b: (blockSuffix?: string | undefined) => string;
21
21
  e: (element?: string | undefined) => string;
22
22
  m: (modifier?: string | undefined) => string;
@@ -51,7 +51,7 @@ export declare const props: {
51
51
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
52
52
  value: {
53
53
  required: true;
54
- type: (BooleanConstructor | ObjectConstructor | StringConstructor | NumberConstructor)[];
54
+ type: (BooleanConstructor | StringConstructor | ObjectConstructor | NumberConstructor)[];
55
55
  };
56
56
  label: (StringConstructor | NumberConstructor)[];
57
57
  created: BooleanConstructor;
@@ -76,7 +76,7 @@ export declare const props: {
76
76
  name: StringConstructor;
77
77
  id: StringConstructor;
78
78
  modelValue: {
79
- type: (BooleanConstructor | ObjectConstructor | StringConstructor | NumberConstructor | ArrayConstructor)[];
79
+ type: (BooleanConstructor | StringConstructor | ObjectConstructor | NumberConstructor | ArrayConstructor)[];
80
80
  default: undefined;
81
81
  };
82
82
  autocomplete: {
@@ -169,7 +169,7 @@ export declare const props: {
169
169
  };
170
170
  error: StringConstructor;
171
171
  validateStatus: {
172
- readonly type: PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "error" | "success" | "validating", unknown>>;
172
+ readonly type: PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "success" | "error" | "validating", unknown>>;
173
173
  readonly required: false;
174
174
  readonly validator: ((val: unknown) => boolean) | undefined;
175
175
  __epPropKey: true;