@dazhicheng/ui 1.5.78 → 1.5.80

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.
@@ -124,7 +124,7 @@ export declare class FormApi {
124
124
  * 子类(如分组表单)可覆盖以同步清理虚拟校验缓存等。
125
125
  * @param {string[]} removedFieldNames 已从 schema 中移除的字段名
126
126
  */
127
- protected onRemovedSchemaFields(_removedFieldNames: string[]): void;
127
+ protected onRemovedSchemaFields(fieldNames: string[]): void;
128
128
  /**
129
129
  * store 更新后对比前后 `schema` 的 fieldName 集合,对已从 schema 中移除的字段清空 vee-validate 值与错误,
130
130
  * 避免 `removeFields` / 删项后 `getValues` 仍带出旧字段。
@@ -27,11 +27,11 @@ export declare const TtUpload: import('../../../../utils/src').SFCWithInstall<im
27
27
  };
28
28
  readonly uploadOssApi: {
29
29
  readonly type: import('vue').PropType<(file: File) => Promise<any>>;
30
- readonly default: undefined;
30
+ readonly default: ((file: File) => Promise<import('.').OssSignatureResult>) | undefined;
31
31
  };
32
32
  readonly uploadOssViewApi: {
33
33
  readonly type: import('vue').PropType<(key: string) => Promise<any>>;
34
- readonly default: undefined;
34
+ readonly default: ((key: string) => Promise<string>) | undefined;
35
35
  };
36
36
  readonly uploadTip: {
37
37
  readonly type: import('vue').PropType<string>;
@@ -213,11 +213,11 @@ export declare const TtUpload: import('../../../../utils/src').SFCWithInstall<im
213
213
  };
214
214
  readonly uploadOssApi: {
215
215
  readonly type: import('vue').PropType<(file: File) => Promise<any>>;
216
- readonly default: undefined;
216
+ readonly default: ((file: File) => Promise<import('.').OssSignatureResult>) | undefined;
217
217
  };
218
218
  readonly uploadOssViewApi: {
219
219
  readonly type: import('vue').PropType<(key: string) => Promise<any>>;
220
- readonly default: undefined;
220
+ readonly default: ((key: string) => Promise<string>) | undefined;
221
221
  };
222
222
  readonly uploadTip: {
223
223
  readonly type: import('vue').PropType<string>;
@@ -1,5 +1,5 @@
1
1
  import { SlotsType, VNode } from 'vue';
2
- import { TtUploadFileItem } from './typing';
2
+ import { OssSignatureResult, TtUploadFileItem } from './typing';
3
3
  declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
4
4
  readonly action: {
5
5
  readonly type: import('vue').PropType<string>;
@@ -27,11 +27,11 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
27
27
  };
28
28
  readonly uploadOssApi: {
29
29
  readonly type: import('vue').PropType<(file: File) => Promise<any>>;
30
- readonly default: undefined;
30
+ readonly default: ((file: File) => Promise<OssSignatureResult>) | undefined;
31
31
  };
32
32
  readonly uploadOssViewApi: {
33
33
  readonly type: import('vue').PropType<(key: string) => Promise<any>>;
34
- readonly default: undefined;
34
+ readonly default: ((key: string) => Promise<string>) | undefined;
35
35
  };
36
36
  readonly uploadTip: {
37
37
  readonly type: import('vue').PropType<string>;
@@ -213,11 +213,11 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
213
213
  };
214
214
  readonly uploadOssApi: {
215
215
  readonly type: import('vue').PropType<(file: File) => Promise<any>>;
216
- readonly default: undefined;
216
+ readonly default: ((file: File) => Promise<OssSignatureResult>) | undefined;
217
217
  };
218
218
  readonly uploadOssViewApi: {
219
219
  readonly type: import('vue').PropType<(key: string) => Promise<any>>;
220
- readonly default: undefined;
220
+ readonly default: ((key: string) => Promise<string>) | undefined;
221
221
  };
222
222
  readonly uploadTip: {
223
223
  readonly type: import('vue').PropType<string>;
@@ -75,12 +75,12 @@ export declare const ttUploadProps: {
75
75
  /** 获取 OSS 签名信息的接口(服务端签名直传),不传则使用全局 setup 的 uploadOssApi */
76
76
  readonly uploadOssApi: {
77
77
  readonly type: PropType<(file: File) => Promise<any>>;
78
- readonly default: undefined;
78
+ readonly default: ((file: File) => Promise<OssSignatureResult>) | undefined;
79
79
  };
80
80
  /** 根据 ossKey 获取文件预览/下载 URL 的接口,不传则使用全局 setup 的 uploadOssViewApi */
81
81
  readonly uploadOssViewApi: {
82
82
  readonly type: PropType<(key: string) => Promise<any>>;
83
- readonly default: undefined;
83
+ readonly default: ((key: string) => Promise<string>) | undefined;
84
84
  };
85
85
  /** 上传提示文字 */
86
86
  readonly uploadTip: {