yc-vep-ui 0.2.0 → 0.2.1

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.
@@ -3,7 +3,8 @@ declare const _default: <T extends Record<string, any>>(__VLS_props: NonNullable
3
3
  props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
4
4
  readonly onReset?: ((...args: any[]) => any) | undefined;
5
5
  readonly onSubmit?: ((...args: any[]) => any) | undefined;
6
- } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onReset" | "onSubmit"> & IFormProps<T> & Partial<{}>> & import('vue').PublicProps;
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
8
  expose(exposed: import('vue').ShallowUnwrapRef<IFormInstance>): void;
8
9
  attrs: any;
9
10
  slots: {
@@ -14,7 +15,7 @@ declare const _default: <T extends Record<string, any>>(__VLS_props: NonNullable
14
15
  form: import('@vue/reactivity').DistributeRef<import('vue').Reactive<T>>;
15
16
  }): any;
16
17
  };
17
- emit: (event: "reset" | "submit", ...args: any[]) => void;
18
+ emit: (event: "reset" | "submit" | "update:model", ...args: any[]) => void;
18
19
  }>) => import('vue').VNode & {
19
20
  __ctx?: Awaited<typeof __VLS_setup>;
20
21
  };
@@ -16,8 +16,8 @@ export interface IFormProps<T> {
16
16
  column?: number
17
17
  /** 默认值 */
18
18
  defaultValues?: Record<string, any>
19
- /** 表单双向绑定 (配合 v-model:form 使用) */
20
- form?: Record<string, any>
19
+ /** 表单数据对象 ( el-form 的 model) */
20
+ model?: Record<string, any>
21
21
  valueModel?: 'default' | 'underline'
22
22
  /** 按钮尺寸 */
23
23
  size?: '' | 'small' | 'default' | 'large'
@@ -36,7 +36,9 @@ declare function text(props: TextProps & {
36
36
  prop: string;
37
37
  }): any;
38
38
  declare function staffSelect(props: any): any;
39
- declare function upload(props: IUploadProps): any;
39
+ declare function upload(props: IUploadProps & {
40
+ modelValue?: any[];
41
+ }): any;
40
42
  declare const _default: {
41
43
  button: typeof button;
42
44
  link: typeof link;