yc-vep-ui 0.3.6 → 0.3.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.
@@ -8,11 +8,7 @@ declare function __VLS_template(): {
8
8
  rootEl: any;
9
9
  };
10
10
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
11
- declare const __VLS_component: import('vue').DefineComponent<IUploadProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
12
- change: (...args: any[]) => void;
13
- }, string, import('vue').PublicProps, Readonly<IUploadProps> & Readonly<{
14
- onChange?: ((...args: any[]) => any) | undefined;
15
- }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
11
+ declare const __VLS_component: import('vue').DefineComponent<IUploadProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<IUploadProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
16
12
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
17
13
  export default _default;
18
14
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -1,3 +1,7 @@
1
1
  import { IUploadProps } from './type';
2
- declare const _default: import('vue').DefineComponent<IUploadProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<IUploadProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
2
+ declare const _default: import('vue').DefineComponent<IUploadProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
3
+ "update:fileList": (...args: any[]) => void;
4
+ }, string, import('vue').PublicProps, Readonly<IUploadProps> & Readonly<{
5
+ "onUpdate:fileList"?: ((...args: any[]) => any) | undefined;
6
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
3
7
  export default _default;
@@ -16,14 +16,20 @@ declare const _default: import('vue').DefineComponent<IUploadProps, {}, {}, {},
16
16
  onExceed?: ((...args: any[]) => any) | undefined;
17
17
  onRemove?: ((...args: any[]) => any) | undefined;
18
18
  }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
19
- uploadInstance: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<IUploadProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
19
+ uploadInstance: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<IUploadProps> & Readonly<{
20
+ "onUpdate:fileList"?: ((...args: any[]) => any) | undefined;
21
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
22
+ "update:fileList": (...args: any[]) => void;
23
+ }, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
20
24
  P: {};
21
25
  B: {};
22
26
  D: {};
23
27
  C: {};
24
28
  M: {};
25
29
  Defaults: {};
26
- }, Readonly<IUploadProps> & Readonly<{}>, {}, {}, {}, {}, {}> | ({
30
+ }, Readonly<IUploadProps> & Readonly<{
31
+ "onUpdate:fileList"?: ((...args: any[]) => any) | undefined;
32
+ }>, {}, {}, {}, {}, {}> | ({
27
33
  $: import('vue').ComponentInternalInstance;
28
34
  $data: {};
29
35
  $props: {
@@ -31,12 +37,13 @@ declare const _default: import('vue').DefineComponent<IUploadProps, {}, {}, {},
31
37
  readonly limit?: number | undefined;
32
38
  readonly size?: EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never> | undefined;
33
39
  readonly prop?: string | undefined;
40
+ readonly data?: Record<string, any> | undefined;
34
41
  readonly text?: string | undefined;
35
42
  readonly type?: "file" | "image" | "dialog:image" | undefined;
36
43
  readonly defaultValue?: import('./type').IUploadRawFile[] | undefined;
37
44
  readonly fileList: import('./type').IUploadRawFile[];
38
45
  readonly action?: string | undefined;
39
- readonly onChange?: (((file: any, files: import('./type').IUploadRawFile[]) => void) & ((...args: any[]) => any)) | undefined;
46
+ readonly onChange?: ((file: any, files: import('./type').IUploadRawFile[]) => void) | undefined;
40
47
  } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
41
48
  $attrs: import('vue').Attrs;
42
49
  $refs: {
@@ -48,13 +55,9 @@ declare const _default: import('vue').DefineComponent<IUploadProps, {}, {}, {},
48
55
  $root: import('vue').ComponentPublicInstance | null;
49
56
  $parent: import('vue').ComponentPublicInstance | null;
50
57
  $host: Element | null;
51
- $emit: (event: "change", ...args: any[]) => void;
58
+ $emit: (event: string, ...args: any[]) => void;
52
59
  $el: any;
53
- $options: import('vue').ComponentOptionsBase<Readonly<IUploadProps> & Readonly<{
54
- onChange?: ((...args: any[]) => any) | undefined;
55
- }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
56
- change: (...args: any[]) => void;
57
- }, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
60
+ $options: import('vue').ComponentOptionsBase<Readonly<IUploadProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
58
61
  beforeCreate?: (() => void) | (() => void)[];
59
62
  created?: (() => void) | (() => void)[];
60
63
  beforeMount?: (() => void) | (() => void)[];
@@ -74,9 +77,7 @@ declare const _default: import('vue').DefineComponent<IUploadProps, {}, {}, {},
74
77
  $forceUpdate: () => void;
75
78
  $nextTick: typeof import('vue').nextTick;
76
79
  $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
77
- } & Readonly<{}> & Omit<Readonly<IUploadProps> & Readonly<{
78
- onChange?: ((...args: any[]) => any) | undefined;
79
- }>, never> & {} & import('vue').ComponentCustomProperties & {} & {
80
+ } & Readonly<{}> & Omit<Readonly<IUploadProps> & Readonly<{}>, never> & {} & import('vue').ComponentCustomProperties & {} & {
80
81
  $slots: {
81
82
  tip?(_: {}): any;
82
83
  };
@@ -38,6 +38,8 @@ declare function text(props: TextProps & {
38
38
  declare function staffSelect(props: any): any;
39
39
  declare function upload(props: IUploadProps & {
40
40
  modelValue?: any[];
41
+ data?: any;
42
+ prop?: string;
41
43
  }): any;
42
44
  declare const _default: {
43
45
  button: typeof button;
@@ -2,4 +2,4 @@ import { IField } from '../type';
2
2
  export declare function getLabelWidth(width?: string | number): string;
3
3
  export declare function getValueWidth(width: number | string): string;
4
4
  export declare function getRenderAttr<T>(field: IField<T>, data: T): any;
5
- export declare function renderNode<T>(field: IField<T>, data: T, prop?: string): any;
5
+ export declare function renderNode<T>(field: IField<T>, data: T): any;