xframelib 0.3.9 → 0.4.3

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 (60) hide show
  1. package/README.md +5 -1
  2. package/dist/api/Token.d.ts +20 -0
  3. package/dist/api/User.d.ts +45 -0
  4. package/dist/api/index.d.ts +2 -0
  5. package/dist/controls/collapsepanel/VCollapsiblePanel.vue.d.ts +26 -0
  6. package/dist/controls/collapsepanel/VCollapsiblePanelGroup.vue.d.ts +30 -0
  7. package/dist/controls/collapsepanel/color.util.d.ts +1 -0
  8. package/dist/controls/collapsepanel/composables/store.d.ts +7 -0
  9. package/dist/controls/collapsepanel/constant.d.ts +1 -0
  10. package/dist/controls/collapsepanel/index.d.ts +3 -0
  11. package/dist/controls/layoutcontainer/LayoutManager.d.ts +107 -0
  12. package/dist/controls/layoutcontainer/index.d.ts +3 -0
  13. package/dist/controls/layoutcontainer/layout.vue.d.ts +37 -0
  14. package/dist/controls/splitpanes/index.d.ts +3 -0
  15. package/dist/controls/vuewindow/SinglePointerEvent.d.ts +23 -0
  16. package/dist/controls/vuewindow/dom.d.ts +16 -0
  17. package/dist/controls/vuewindow/draggable_helper.d.ts +20 -0
  18. package/dist/controls/vuewindow/index.d.ts +6 -0
  19. package/dist/controls/vuewindow/resizable_helper.d.ts +16 -0
  20. package/dist/controls/vuewindow/style.d.ts +110 -0
  21. package/dist/controls/vuewindow/window/Button.vue.d.ts +26 -0
  22. package/dist/controls/vuewindow/window/index.vue.d.ts +160 -0
  23. package/dist/controls/vuewindow/window/utils.d.ts +17 -0
  24. package/dist/controls/vuewindow/z_element.d.ts +11 -0
  25. package/dist/core/Global.d.ts +26 -0
  26. package/dist/core/IModel.d.ts +34 -0
  27. package/dist/core/MsgHelper.d.ts +12 -0
  28. package/dist/core/SysEvents.d.ts +16 -0
  29. package/dist/core/index.d.ts +3 -0
  30. package/dist/hprose/HproseClient.d.ts +20 -0
  31. package/dist/hprose/ProxyClient.d.ts +22 -0
  32. package/dist/hprose/index.d.ts +11 -0
  33. package/dist/index.cjs +8 -3
  34. package/dist/index.css +69 -0
  35. package/dist/index.d.ts +10 -832
  36. package/dist/index.js +8 -3
  37. package/dist/mitt/index.d.ts +25 -0
  38. package/dist/model/Config.d.ts +94 -0
  39. package/dist/model/Constants.d.ts +15 -0
  40. package/dist/model/Layout.d.ts +75 -0
  41. package/dist/model/Token.d.ts +66 -0
  42. package/dist/model/index.d.ts +4 -0
  43. package/dist/utils/AxiosHelper.d.ts +51 -0
  44. package/dist/utils/BigFileDownload.d.ts +106 -0
  45. package/dist/utils/Color.d.ts +74 -0
  46. package/dist/utils/FileDownload.d.ts +36 -0
  47. package/dist/utils/FileUpload.d.ts +90 -0
  48. package/dist/utils/H5Tool.d.ts +98 -0
  49. package/dist/utils/IsTool.d.ts +101 -0
  50. package/dist/utils/JQuery.d.ts +35 -0
  51. package/dist/utils/LockHelper.d.ts +17 -0
  52. package/dist/utils/Storage.d.ts +57 -0
  53. package/dist/utils/StringUtils.d.ts +15 -0
  54. package/dist/utils/Time.d.ts +1 -0
  55. package/dist/utils/TokenHelper.d.ts +18 -0
  56. package/dist/utils/URLTool.d.ts +18 -0
  57. package/dist/utils/index.d.ts +16 -0
  58. package/dist/utils/uuid.d.ts +3 -0
  59. package/package.json +14 -15
  60. package/dist/index.cjs.css +0 -237
@@ -0,0 +1,25 @@
1
+ export declare type EventType = string | symbol;
2
+ export declare type Handler<T = any> = (event?: T) => void;
3
+ export declare type WildcardHandler = (type: EventType, event?: any) => void;
4
+ export declare type EventHandlerList = Array<Handler>;
5
+ export declare type WildCardEventHandlerList = Array<WildcardHandler>;
6
+ export declare type EventHandlerMap = Map<EventType, EventHandlerList | WildCardEventHandlerList>;
7
+ export interface Emitter {
8
+ all: EventHandlerMap;
9
+ on<T = any>(type: EventType, handler: Handler<T>): void;
10
+ on(type: '*', handler: WildcardHandler): void;
11
+ off<T = any>(type: EventType, handler: Handler<T>): void;
12
+ off(type: '*', handler: WildcardHandler): void;
13
+ emit<T = any>(type: EventType, event?: T): void;
14
+ emit(type: '*', event?: any): void;
15
+ }
16
+ /**
17
+ * Mitt: Tiny (~200b) functional event emitter / pubsub.
18
+ * @name mitt
19
+ * @returns {Mitt}
20
+ */
21
+ export default function mitt(all?: EventHandlerMap): Emitter;
22
+ /**
23
+ * 默认全局总线对象
24
+ */
25
+ export declare const GlobalMitt: Emitter;
@@ -0,0 +1,94 @@
1
+ /**
2
+ * UI界面相关
3
+ */
4
+ export interface IUIObject {
5
+ /**
6
+ * 网站标题
7
+ */
8
+ SiteTitle: string;
9
+ /**
10
+ * 版权
11
+ */
12
+ CopyRight: string;
13
+ /**
14
+ * 官方链接
15
+ */
16
+ WebSite?: string;
17
+ /**
18
+ * 超时锁屏时间(单位:秒s)
19
+ */
20
+ LockTime?: number;
21
+ /**
22
+ * 其他扩展的属性
23
+ */
24
+ [props: string]: any;
25
+ }
26
+ /**
27
+ * 服务URL
28
+ */
29
+ export interface IServiceURL {
30
+ /**
31
+ * 用户登录(统一用户登录)
32
+ */
33
+ LoginAuthURL: string;
34
+ /**
35
+ * Axios普通WebAPI的BaseURL
36
+ * 全局默认的http请求地址(一般与主hprose相同或不同);文件上传地址
37
+ */
38
+ DefaultWebAPI?: string;
39
+ /**
40
+ * 默认HproseAPI的服务地址
41
+ */
42
+ DefaultHproseAPI?: string;
43
+ /**
44
+ * 其他扩展的URL属性
45
+ */
46
+ [props: string]: any;
47
+ }
48
+ /**
49
+ * 地图相关Keys
50
+ */
51
+ export interface IMapKeys {
52
+ /**
53
+ * 天地图Key
54
+ */
55
+ TDTKey?: string;
56
+ /**
57
+ * MapboxKey
58
+ */
59
+ MapboxKey?: string;
60
+ /**
61
+ * Cesium Key
62
+ */
63
+ CesiumKey?: string;
64
+ /**
65
+ * Google地图Key
66
+ */
67
+ GoogleKey?: string;
68
+ /**
69
+ * 其他扩展的Key属性
70
+ */
71
+ [props: string]: any;
72
+ }
73
+ /**
74
+ * 系统配置信息
75
+ */
76
+ export interface ISystemConfig {
77
+ /**
78
+ * 用户界面配置
79
+ */
80
+ UI?: IUIObject;
81
+ /**
82
+ * 服务URL
83
+ */
84
+ ServiceURL: IServiceURL;
85
+ /**
86
+ * 地图相关Keys
87
+ */
88
+ MapKeys?: IMapKeys;
89
+ /**
90
+ * API服务路径
91
+ */
92
+ APIPath?: object;
93
+ [props: string]: any;
94
+ }
@@ -0,0 +1,15 @@
1
+ /**
2
+ * 刷新提前量(毫秒,ms)
3
+ */
4
+ export declare const TOKEN_REFRESH_TIME: number;
5
+ /**
6
+ * 用户和Token相关服务API
7
+ */
8
+ export declare const USER_TOKEN_API: {
9
+ Login: string;
10
+ CheckLogin: string;
11
+ Logout: string;
12
+ ChangePWD: string;
13
+ RefreshToken: string;
14
+ CheckToken: string;
15
+ };
@@ -0,0 +1,75 @@
1
+ import { Component } from 'vue';
2
+ export declare type Lazy<T> = () => Promise<T>;
3
+ /**
4
+ *布局枚举类型
5
+ */
6
+ export declare enum LayoutContainerEnum {
7
+ top = 0,
8
+ bottom = 1,
9
+ centerBack = 2,
10
+ centerMain = 3,
11
+ centerFront = 4,
12
+ left = 5,
13
+ right = 6
14
+ }
15
+ /**
16
+ * 组件布局
17
+ */
18
+ export interface IWidgetLayout {
19
+ top?: number;
20
+ left?: number;
21
+ right?: number;
22
+ bottom?: number;
23
+ width?: string;
24
+ height?: string;
25
+ }
26
+ export interface IWidgetConfig {
27
+ /**
28
+ * 唯一ID,与组件名一致
29
+ */
30
+ id: string;
31
+ /**
32
+ * 标题或说明
33
+ */
34
+ label?: string;
35
+ /**
36
+ * 图标路径(备用)
37
+ */
38
+ icon?: string;
39
+ /**
40
+ * 所属容器,top/bottom/left/right等
41
+ */
42
+ container: LayoutContainerEnum;
43
+ /**
44
+ * 外部组件js url(备用)
45
+ */
46
+ jsURL?: string;
47
+ /**
48
+ * 外部组件css url(备用)
49
+ */
50
+ cssURL?: string;
51
+ /**
52
+ * 动态加载的组件
53
+ */
54
+ component: Lazy<Component>;
55
+ /**
56
+ * 是否初始化时,预加载
57
+ */
58
+ preload?: boolean;
59
+ /**
60
+ * 前置容器ID,一般也就是bindid
61
+ */
62
+ afterid?: string;
63
+ /**
64
+ * 绑定依赖容器ID,不一定有afterid
65
+ */
66
+ bindid?: string;
67
+ /**
68
+ * 所属组,用于业务分类
69
+ */
70
+ group?: string;
71
+ /**
72
+ * 外部定义布局(备用)
73
+ */
74
+ layout?: IWidgetLayout;
75
+ }
@@ -0,0 +1,66 @@
1
+ /**
2
+ * 当前存储的token对象
3
+ */
4
+ export interface ITokenInfo {
5
+ id: string;
6
+ name: string;
7
+ token: string;
8
+ expire: string;
9
+ refresh: string;
10
+ }
11
+ /**
12
+ * 单个token对象内容
13
+ * 与后台相匹配
14
+ */
15
+ export interface IToken {
16
+ /**
17
+ * token内容
18
+ */
19
+ tokenContent: string;
20
+ /**
21
+ * 超时时间
22
+ */
23
+ expires: string;
24
+ }
25
+ /**
26
+ * 双Token接口定义
27
+ */
28
+ export interface IDoubleToken {
29
+ /**
30
+ * 当前有效token
31
+ */
32
+ accessToken: IToken;
33
+ /**
34
+ * 用于刷新的token
35
+ */
36
+ refreshToken: IToken;
37
+ }
38
+ /**
39
+ * 系统用户
40
+ */
41
+ export interface ISystemUser {
42
+ /**
43
+ * 用户ID
44
+ */
45
+ id: string;
46
+ /**
47
+ * 用户名
48
+ */
49
+ name: string;
50
+ /**
51
+ * 用户组ID
52
+ */
53
+ groupid?: string;
54
+ photo?: string;
55
+ mobile?: string;
56
+ qq?: string;
57
+ email?: string;
58
+ img?: string;
59
+ issystem?: boolean;
60
+ createtime?: string;
61
+ updatetime?: string;
62
+ issecurity?: boolean;
63
+ appkey?: string;
64
+ role?: string;
65
+ doubleToken?: IDoubleToken;
66
+ }
@@ -0,0 +1,4 @@
1
+ export * from './Config';
2
+ export * from './Token';
3
+ export * from './Constants';
4
+ export * from './Layout';
@@ -0,0 +1,51 @@
1
+ export declare type ResponseType = 'arraybuffer' | 'blob' | 'document' | 'json' | 'text' | 'stream';
2
+ /**
3
+ * Get服务请求
4
+ * @param apiUrl API接口路径
5
+ * @param baseUrl 基础服务路径
6
+ * @param _params 参数
7
+ * @param headers headers参数
8
+ * @param responseType 响应类型,默认为json
9
+ * @param cancelToken 取消标识
10
+ * @returns 返回Promise对象
11
+ */
12
+ declare function requestGet(apiUrl: string, baseUrl?: string, _params?: any, headers?: any, responseType?: ResponseType, cancelToken?: any): Promise<any>;
13
+ /**
14
+ * Post服务请求-FormData
15
+ * @param apiUrl API接口路径
16
+ * @param baseUrl 基础服务路径
17
+ * @param _params 参数
18
+ * @param headers headers参数
19
+ * @returns 返回Promise对象
20
+ */
21
+ declare function requestPost(apiUrl: string, baseUrl?: string, _bodyParams?: any, _queryParams?: any, headers?: any, responseType?: ResponseType): Promise<any>;
22
+ /**
23
+ * Post服务请求-Body方式
24
+ * @param apiUrl API接口路径
25
+ * @param baseUrl 基础服务路径
26
+ * @param _params 参数
27
+ * @returns 返回Promise对象
28
+ */
29
+ declare function requestPostBody(apiUrl: string, baseUrl?: string, _bodyParams?: any, _queryParams?: any, headers?: any, responseType?: ResponseType): Promise<any>;
30
+ /**
31
+ * 业务服务Get请求
32
+ * @param apiUrl API接口路径
33
+ * @param _params 参数
34
+ * @returns 返回Promise对象
35
+ */
36
+ declare function get(apiUrl: string, _params?: any): Promise<any>;
37
+ /**
38
+ * 业务服务Post请求
39
+ * @param apiUrl API接口路径
40
+ * @param _params 参数
41
+ * @returns 返回Promise对象
42
+ */
43
+ declare function post(apiUrl: string, _params?: any): Promise<any>;
44
+ /**
45
+ * 独立的外部Get请求(无token验证信息)
46
+ * @param fullRequestURL 完整请求路径
47
+ * @param _params 请求参数
48
+ * @returns 返回Promise对象
49
+ */
50
+ declare function getData(fullRequestURL: string, _params?: any): Promise<any>;
51
+ export { get, post, requestPost, requestGet, getData, requestPostBody };
@@ -0,0 +1,106 @@
1
+ /**
2
+ * 下载文件信息模型
3
+ */
4
+ export interface IFileMeta {
5
+ id?: string;
6
+ name: string;
7
+ length: number;
8
+ downloadID: string;
9
+ chunkSize?: number;
10
+ }
11
+ /**
12
+ * 文件下载事件
13
+ */
14
+ export declare type FileDownloadEvent = 'init' | 'info' | 'error' | 'downloadProgress' | 'saveProgress' | 'success';
15
+ /**
16
+ * 大文件分片/断点续传下载
17
+ */
18
+ export declare class BigFileDownload {
19
+ private fileID;
20
+ private downloadURL;
21
+ ChunkUnitM: number;
22
+ private chunkByteSize;
23
+ private totalChunks;
24
+ private currentDB?;
25
+ private keys?;
26
+ private fileMetaData;
27
+ private finishNum;
28
+ private eventTarget;
29
+ private cancelSource;
30
+ private isStarting;
31
+ private fileName?;
32
+ constructor(fileID: string, downloadURL: string, chunkSizeM?: number);
33
+ /**
34
+ * 订阅事件
35
+ */
36
+ on(eventName: FileDownloadEvent, fn: (event: any) => void): void;
37
+ /**
38
+ * 发送消息
39
+ */
40
+ private dispatch;
41
+ /**
42
+ * 抛出异常信息
43
+ * @param data 异常描述
44
+ */
45
+ private dispatchError;
46
+ /**
47
+ * 推送文字进度
48
+ * @param data 文字消息
49
+ */
50
+ private dispatchInfo;
51
+ /**
52
+ * Get请求获取文件元数据信息
53
+ * @param baseURL 根URL路径
54
+ * @param apiPath 方法路径
55
+ * @param queryParams 请求参数
56
+ * @returns IFileMeta
57
+ */
58
+ queryDownloadFileMeta(baseURL: string, apiPath?: string, queryParams?: any): Promise<IFileMeta | null>;
59
+ /**
60
+ *获取本地的File元数据信息
61
+ */
62
+ getIFileMeta(): Promise<IFileMeta | null>;
63
+ /**
64
+ * 初始化信息
65
+ */
66
+ private initIndexDB;
67
+ /**
68
+ * 初始化要下载的文件元数据
69
+ * @param url 下载路径
70
+ * @returns
71
+ */
72
+ init(fileMeta: IFileMeta): Promise<void>;
73
+ /**
74
+ * 获取分片大小
75
+ * @returns
76
+ */
77
+ getTotalChunks(): number;
78
+ /**
79
+ * 暂停下载
80
+ */
81
+ pause(): void;
82
+ /**
83
+ * 重新开始
84
+ */
85
+ restart(): void;
86
+ /**
87
+ * 删除下载任务
88
+ */
89
+ delete(): void;
90
+ /**
91
+ * 开始分段下载
92
+ */
93
+ download(downURL?: string): void;
94
+ /**
95
+ * 下载完成进度
96
+ */
97
+ private downloadProgress;
98
+ /**
99
+ * 输出保存文件进度-分片统计
100
+ */
101
+ private outputProgress;
102
+ /**
103
+ * 保存文件
104
+ */
105
+ private savefile;
106
+ }
@@ -0,0 +1,74 @@
1
+ /**
2
+ * rgb转十六进制
3
+ * @param colorRGB rgb颜色值
4
+ * @returns
5
+ */
6
+ export declare function getHexColor(colorRGB: string): string;
7
+ /**
8
+ * 十六进制转RGB
9
+ * @param color16 十六进制颜色值
10
+ * @returns
11
+ */
12
+ export declare function getRGBColor(color16: string): string;
13
+ /**
14
+ * 解决十六进制短颜色问题
15
+ * @param colorHex 十六进制颜色
16
+ * @returns
17
+ */
18
+ export declare function getLongHexColor(colorHex: string): string;
19
+ export declare enum EnumColor {
20
+ RGBA = 0,
21
+ Hex = 1,
22
+ Hsla = 2
23
+ }
24
+ /**
25
+ * 判断是否是16进制颜色
26
+ * @param colorStr 颜色字符串
27
+ * @returns
28
+ */
29
+ export declare function isEnumColor(colorStr: string): EnumColor | undefined;
30
+ export declare function getRGBColorFromHSLA(colorHSLA: string): string | undefined;
31
+ /**
32
+ * 判断是否 十六进制颜色值.
33
+ * 输入形式可为 #fff000 #f00
34
+ *
35
+ * @param String color 十六进制颜色值
36
+ * @return Boolean
37
+ */
38
+ export declare function isHexColor(color: string): boolean;
39
+ /**
40
+ * RGB 颜色值转换为 十六进制颜色值.
41
+ * r, g, 和 b 需要在 [0, 255] 范围内
42
+ *
43
+ * @return String 类似#ff00ff
44
+ * @param r
45
+ * @param g
46
+ * @param b
47
+ */
48
+ export declare function rgbToHex(r: number, g: number, b: number): string;
49
+ /**
50
+ * Transform a HEX color to its RGB representation
51
+ * @param {string} hex The color to transform
52
+ * @returns The RGB representation of the passed color
53
+ */
54
+ export declare function hexToRGB(hex: string): string;
55
+ export declare function colorIsDark(color: string): boolean | undefined;
56
+ /**
57
+ * Darkens a HEX color given the passed percentage
58
+ * @param {string} color The color to process
59
+ * @param {number} amount The amount to change the color by
60
+ * @returns {string} The HEX representation of the processed color
61
+ */
62
+ export declare function darken(color: string, amount: number): string;
63
+ /**
64
+ * Lightens a 6 char HEX color according to the passed percentage
65
+ * @param {string} color The color to change
66
+ * @param {number} amount The amount to change the color by
67
+ * @returns {string} The processed color represented as HEX
68
+ */
69
+ export declare function lighten(color: string, amount: number): string;
70
+ /**
71
+ * Determines what the best text color is (black or white) based con the contrast with the background
72
+ * @param hexColor - Last selected color by the user
73
+ */
74
+ export declare function calculateBestTextColor(hexColor: string): "#000000" | "#FFFFFF";
@@ -0,0 +1,36 @@
1
+ /**
2
+ * 下载文件
3
+ * @param content 文本或二进制文件
4
+ * @param filename 文件名
5
+ */
6
+ declare const Download: (content: string | any, filename: string) => void;
7
+ /**
8
+ * URL方式保存文件到本地
9
+ * @param data 文件的blob数据
10
+ * @param name 文件名
11
+ */
12
+ declare function SaveAs(data: string | any, name: string): void;
13
+ /**
14
+ * JSON对象下载为.json文件
15
+ * @param jsonObject Json对象
16
+ * @param jsonID 名称(不需要后缀名)
17
+ */
18
+ declare const JsonDownload: (jsonObject: object, jsonID: string) => void;
19
+ /**
20
+ * 从Web上下载文件
21
+ * (通过axios下载)
22
+ * @param requestUrl URL下载地址
23
+ * @param fileName 文件名
24
+ */
25
+ declare const HttpDownload: (axios: any, requestUrl: string, fileName: string) => void;
26
+ /**
27
+ * 根据文件地址下载文件
28
+ * (网站内部文件或外部图片地址)
29
+ * @param {*} sUrl
30
+ */
31
+ declare function DownloadByUrl({ url, target, fileName }: {
32
+ url: string;
33
+ target?: '_self' | '_blank';
34
+ fileName?: string;
35
+ }): Promise<boolean>;
36
+ export { Download, SaveAs, JsonDownload, HttpDownload, DownloadByUrl };
@@ -0,0 +1,90 @@
1
+ import { XhrHeaders } from 'xhr';
2
+ export declare type FileEventName = 'attempt' | 'attemptFailure' | 'chunkSuccess' | 'error' | 'offline' | 'online' | 'progress' | 'success';
3
+ export declare type AllowedMethods = 'PUT' | 'POST' | 'PATCH';
4
+ /**
5
+ * 文件上传配置
6
+ */
7
+ export interface FileUploadOptions {
8
+ endpoint: string | ((file?: File) => Promise<string>);
9
+ file: File;
10
+ method?: AllowedMethods;
11
+ headers?: XhrHeaders;
12
+ maxFileSize?: number;
13
+ chunkSize?: number;
14
+ attempts?: number;
15
+ /**
16
+ * 单位:秒
17
+ */
18
+ delayBeforeAttempt?: number;
19
+ md5?: string;
20
+ }
21
+ /**
22
+ * 文件上传类
23
+ */
24
+ export default class FileUpload {
25
+ endpoint: string | ((file?: File) => Promise<string>);
26
+ file: File;
27
+ headers: XhrHeaders;
28
+ method: AllowedMethods;
29
+ chunkSize: number;
30
+ attempts: number;
31
+ delayBeforeAttempt: number;
32
+ md5: string;
33
+ private chunk?;
34
+ private chunkCount;
35
+ private chunkByteSize;
36
+ private maxFileBytes;
37
+ private endpointValue?;
38
+ private totalChunks;
39
+ private attemptCount;
40
+ private offline;
41
+ private paused;
42
+ private success;
43
+ private currentXhr?;
44
+ private reader;
45
+ private eventTarget;
46
+ private fileName;
47
+ constructor(options: FileUploadOptions);
48
+ /**
49
+ * 订阅事件
50
+ */
51
+ on(FileEventName: FileEventName, fn: (event: any) => void): void;
52
+ abort(): void;
53
+ pause(): void;
54
+ resume(): void;
55
+ /**
56
+ * 发送消息
57
+ */
58
+ private dispatch;
59
+ /**
60
+ *验证参数的正确性
61
+ */
62
+ private validateOptions;
63
+ /**
64
+ * Endpoint can either be a URL or a function that returns a promise that resolves to a string.
65
+ */
66
+ private getEndpoint;
67
+ /**
68
+ * Get portion of the file of x bytes corresponding to chunkSize
69
+ */
70
+ private getChunk;
71
+ private xhrPromise;
72
+ /**
73
+ * Send chunk of the file with appropriate headers and add post parameters if it's last chunk
74
+ */
75
+ private sendChunk;
76
+ /**
77
+ * 失败处理和尝试
78
+ */
79
+ private manageRetries;
80
+ /**
81
+ * 进行分片上传,并处理错误和重试
82
+ */
83
+ private sendChunks;
84
+ }
85
+ /**
86
+ * 创建文件上传对象方法
87
+ * @param options
88
+ * @returns
89
+ */
90
+ export declare const createFileUpload: (options: FileUploadOptions) => FileUpload;