yc-vep-ui 0.2.4 → 0.2.7

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.
@@ -28,7 +28,6 @@ export interface IField<T> {
28
28
  type IFilterRenderProps<T> = {
29
29
  h: IRender
30
30
  data: T
31
- modelValue?: any
32
31
  }
33
32
 
34
33
  export interface IFilterProps<T> {
@@ -4,18 +4,19 @@ declare const _default: <T extends Record<string, any>>(__VLS_props: NonNullable
4
4
  readonly onReset?: ((...args: any[]) => any) | undefined;
5
5
  readonly onSubmit?: ((...args: any[]) => any) | undefined;
6
6
  readonly "onUpdate:model"?: ((...args: any[]) => any) | undefined;
7
- } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onReset" | "onSubmit" | "onUpdate:model"> & IFormProps<T> & Partial<{}>> & import('vue').PublicProps;
7
+ readonly "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
8
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onReset" | "onSubmit" | "onUpdate:model" | "onUpdate:modelValue"> & IFormProps<T> & Partial<{}>> & import('vue').PublicProps;
8
9
  expose(exposed: import('vue').ShallowUnwrapRef<IFormInstance>): void;
9
10
  attrs: any;
10
11
  slots: {
11
12
  default?(_: {
12
- form: import('@vue/reactivity').DistributeRef<import('vue').Reactive<T>>;
13
+ form: T;
13
14
  }): any;
14
15
  handle?(_: {
15
- form: import('@vue/reactivity').DistributeRef<import('vue').Reactive<T>>;
16
+ form: T;
16
17
  }): any;
17
18
  };
18
- emit: (event: "reset" | "submit" | "update:model", ...args: any[]) => void;
19
+ emit: (event: "reset" | "submit" | "update:model" | "update:modelValue", ...args: any[]) => void;
19
20
  }>) => import('vue').VNode & {
20
21
  __ctx?: Awaited<typeof __VLS_setup>;
21
22
  };
@@ -18,6 +18,8 @@ export interface IFormProps<T> {
18
18
  defaultValues?: Record<string, any>
19
19
  /** 表单数据对象 (同 el-form 的 model) */
20
20
  model?: Record<string, any>
21
+ /** v-model 绑定值 (双向绑定) */
22
+ modelValue?: Record<string, any>
21
23
  valueModel?: 'default' | 'underline'
22
24
  /** 按钮尺寸 */
23
25
  size?: '' | 'small' | 'default' | 'large'